From f9261254bd9405078ef7acf000df2fdb8510a45e Mon Sep 17 00:00:00 2001 From: HSiddiqui Date: Wed, 24 Jun 2026 16:07:59 -0400 Subject: [PATCH] API-5862: regenerate SDKs, June 17-18, 2026 release --- .speakeasy/workflow.lock | 22 +- cvent-public-spec/openapi.yaml | 8656 ++++++++--------- overlays/public_overlay.yaml | 15 +- packages/csharp/.speakeasy/gen.lock | 3554 +++---- packages/csharp/.speakeasy/gen.yaml | 2 +- packages/csharp/.speakeasy/tests.arazzo.yaml | 97 + packages/csharp/NUGET.md | 8 +- packages/csharp/README.md | 11 +- .../AccountBudgetItemListResponseJson.md | 4 +- .../csharp/docs/Models/Components/Action.md | 19 + .../Models/Components/AdditionalChoice.md | 9 +- .../Models/Components/AdditionalChoice1.md | 10 + .../Models/Components/AdditionalChoiceJson.md | 11 + .../Components/AdditionalChoiceJson1.md | 11 - .../Components/AdditionalChoiceJson2.md | 11 - .../csharp/docs/Models/Components/Address.md | 18 + .../csharp/docs/Models/Components/Address1.md | 12 + .../docs/Models/Components/Address11.md | 15 +- .../docs/Models/Components/Address12.md | 17 - .../csharp/docs/Models/Components/Address2.md | 15 - .../csharp/docs/Models/Components/Address3.md | 6 +- .../csharp/docs/Models/Components/Address4.md | 15 + .../csharp/docs/Models/Components/Address5.md | 18 + .../csharp/docs/Models/Components/Address6.md | 17 + .../docs/Models/Components/AddressInput.md | 16 + .../docs/Models/Components/AddressJson.md | 23 +- .../docs/Models/Components/AddressJson0.md | 12 - .../docs/Models/Components/AddressJson1.md | 17 + .../docs/Models/Components/AddressJson2.md | 21 +- .../docs/Models/Components/AddressJson3.md | 17 - .../docs/Models/Components/AddressJson4.md | 16 - .../docs/Models/Components/AddressJson5.md | 17 - .../Models/Components/AddressJsonInput.md | 16 - .../docs/Models/Components/AddressTypeJson.md | 8 +- .../Models/Components/AddressTypeJson1.md | 19 - .../docs/Models/Components/AgendaItemSetup.md | 43 + .../Models/Components/AgendaItemSetupJson.md | 43 - .../docs/Models/Components/AgendaItemType.md | 36 + .../Models/Components/AgendaItemTypeJson.md | 36 - .../docs/Models/Components/AmenityType.md | 20 + .../docs/Models/Components/AmenityTypeJson.md | 20 - .../Components/AppointmentWithQuestions.md | 2 +- .../docs/Models/Components/AssetLocation.md | 10 + .../Models/Components/AssetLocationInput.md | 9 + .../Models/Components/AssetLocationJson.md | 10 - .../Components/AssetLocationJsonInput.md | 9 - .../Models/Components/AttachmentSource.md | 22 + .../Models/Components/AttachmentSourceJson.md | 22 - .../csharp/docs/Models/Components/Attendee.md | 10 + .../docs/Models/Components/Attendee1.md | 54 - .../docs/Models/Components/Attendee11.md | 52 +- .../docs/Models/Components/Attendee12.md | 4 +- .../docs/Models/Components/Attendee13.md | 10 + .../docs/Models/Components/Attendee1Event.md | 10 + .../docs/Models/Components/Attendee1Lookup.md | 12 + .../docs/Models/Components/Attendee2.md | 6 +- ...tendeeAddBulkItemEventJsonErrorResponse.md | 2 +- .../Components/AttendeeAddBulkItemJsonData.md | 4 +- .../Models/Components/AttendeeContactInfo.md | 4 +- .../Components/AttendeeContactTypeInput.md | 10 + .../Components/AttendeeContactTypeJson.md | 11 - .../AttendeeContactTypeJsonInput.md | 10 - .../docs/Models/Components/AttendeeEvent.md | 10 - .../Models/Components/AttendeeInsights.md | 2 +- .../AttendeeLinkBulkResponseItemJsonData.md | 4 +- .../docs/Models/Components/AttendeeLookup.md | 12 - .../Components/AttendeePaginatedResponse.md | 2 +- .../docs/Models/Components/Attendees.md | 4 +- .../Components/AttendeesPaginatedResponse.md | 11 + .../docs/Models/Components/AudienceSegment.md | 2 +- .../Components/AudienceSegmentCreate.md | 2 +- .../Components/AudienceSegmentResponse.md | 2 +- .../Models/Components/AudioTrackStatus.md | 25 + .../Models/Components/AudioTrackStatusJson.md | 25 - .../docs/Models/Components/AudioTrackType.md | 27 + .../Models/Components/AudioTrackTypeJson.md | 27 - .../Models/Components/AudioTrackVariant.md | 22 + .../Components/AudioTrackVariantJson.md | 22 - .../csharp/docs/Models/Components/Badge.md | 4 +- .../docs/Models/Components/BadgeInput.md | 4 +- .../Models/Components/BidItemStatusType.md | 21 + .../Components/BidItemStatusTypeJson.md | 21 - .../docs/Models/Components/BidStatusType.md | 20 + .../Models/Components/BidStatusTypeJson.md | 20 - .../docs/Models/Components/BidStayType.md | 19 + .../docs/Models/Components/BidStayTypeJson.md | 19 - .../docs/Models/Components/BillingDetails1.md | 14 + .../Models/Components/BillingDetailsJson0.md | 14 - .../Models/Components/BoothStaffRequest.md | 4 +- .../Models/Components/BoothStaffResponse.md | 4 +- .../Models/Components/BounceDetailsJson.md | 2 +- .../Components/BounceDetailsResponse.md | 8 +- .../csharp/docs/Models/Components/Brand.md | 2 +- .../docs/Models/Components/BrideGroomType.md | 19 + .../Models/Components/BrideGroomTypeJson0.md | 19 - .../docs/Models/Components/BusinessType.md | 19 + .../Models/Components/BusinessTypeJson.md | 19 - .../Models/Components/CancellationDetails.md | 12 + .../Components/CancellationDetailsJson.md | 12 - .../Models/Components/CancelledReason1.md | 27 + .../Models/Components/CancelledReasonJson0.md | 27 - .../csharp/docs/Models/Components/Category.md | 13 + .../Models/Components/CategoryIdNameJson.md | 11 - .../Components/CategoryItemsCostJson.md | 10 +- .../docs/Models/Components/CategoryJson.md | 14 +- .../docs/Models/Components/CategoryJson1.md | 14 +- .../docs/Models/Components/CategoryJson2.md | 13 - .../csharp/docs/Models/Components/Chain.md | 2 +- .../csharp/docs/Models/Components/Choice.md | 13 +- .../csharp/docs/Models/Components/Choice1.md | 12 + .../docs/Models/Components/ChoiceJson.md | 13 - .../docs/Models/Components/ChoiceJson1.md | 13 + .../docs/Models/Components/ChoiceJson2.md | 12 +- .../Models/Components/ChoiceJson2Input.md | 10 + .../docs/Models/Components/ChoiceJson3.md | 11 - .../Models/Components/ChoiceJson3Input.md | 10 - .../docs/Models/Components/ChoiceSortOrder.md | 20 + .../Models/Components/ChoiceSortOrderJson.md | 20 - .../csharp/docs/Models/Components/Choices.md | 2 +- .../docs/Models/Components/CommentType.md | 22 + .../docs/Models/Components/CommentTypeJson.md | 22 - .../docs/Models/Components/Compliance.md | 6 +- .../Models/Components/ComplianceAction.md | 19 - .../Components/ComplianceComplianceScope.md | 18 - .../Models/Components/ComplianceCreatedBy.md | 27 - .../docs/Models/Components/ComplianceJson.md | 13 - .../Models/Components/ComplianceJsonAction.md | 19 - .../ComplianceJsonComplianceScope.md | 18 - .../Components/ComplianceJsonCreatedBy.md | 27 - .../docs/Models/Components/ComplianceScope.md | 18 + .../Models/Components/ConflictResolution.md | 6 +- .../csharp/docs/Models/Components/Contact.md | 20 +- .../csharp/docs/Models/Components/Contact1.md | 19 + .../csharp/docs/Models/Components/Contact2.md | 10 + .../Models/Components/ContactBulkItemJson.md | 13 - .../Components/ContactBulkItemJsonData.md | 16 - .../Components/ContactBulkResponseItem.md | 13 + .../Components/ContactBulkResponseItemData.md | 16 + .../docs/Models/Components/ContactCreate.md | 45 + .../Models/Components/ContactCreateEvent.md | 12 + .../Components/ContactCreateRequestJson.md | 45 - .../ContactCreateRequestJsonEvent.md | 12 - .../docs/Models/Components/ContactGroup.md | 4 +- .../Models/Components/ContactGroupInput.md | 4 +- .../ContactGroupPaginatedResponse.md | 2 +- .../Models/Components/ContactGroupType.md | 20 + .../Models/Components/ContactGroupTypeJson.md | 20 - .../docs/Models/Components/ContactHistory.md | 15 + .../Models/Components/ContactHistoryJson.md | 15 - .../ContactHistoryPaginatedResponse.md | 8 +- .../docs/Models/Components/ContactId.md | 10 + .../docs/Models/Components/ContactIdJson.md | 10 - .../Components/ContactIdPaginatedResponse.md | 4 +- .../docs/Models/Components/ContactJson.md | 28 + .../docs/Models/Components/ContactJson0.md | 19 - .../docs/Models/Components/ContactJson1.md | 28 - .../docs/Models/Components/ContactJson2.md | 10 - .../Models/Components/ContactLinksInput.md | 12 + .../Models/Components/ContactLinksJson.md | 13 - .../Components/ContactLinksJsonInput.md | 12 - .../Models/Components/ContactLinksJsonLink.md | 10 - .../Models/Components/ContactMembership.md | 16 + .../Models/Components/ContactMergeField.md | 11 + .../Components/ContactMergeFieldJson.md | 11 - .../docs/Models/Components/ContactMethods.md | 22 + .../Models/Components/ContactMethodsJson.md | 22 - .../Components/ContactObfuscationStatus.md | 4 +- .../ContactObfuscationStatusType.md | 32 + .../ContactObfuscationStatusTypeJson.md | 32 - .../docs/Models/Components/ContactOptOut.md | 12 + .../Models/Components/ContactOptOutInput.md | 10 + .../Components/ContactPaginatedResponse.md | 4 +- .../docs/Models/Components/ContactPatch.md | 10 +- .../docs/Models/Components/ContactType.md | 14 + .../docs/Models/Components/ContactTypeJson.md | 23 +- .../Models/Components/ContactTypeJson1.md | 19 - .../ContactTypePaginatedResponse.md | 8 +- .../docs/Models/Components/ContactUpdate.md | 16 +- .../Components/CreateTransactionResponse.md | 2 +- .../CreateTransactionResponseInput.md | 2 +- .../docs/Models/Components/CreatedBy.md | 27 + .../docs/Models/Components/CurrencyJson1.md | 184 - .../docs/Models/Components/CurrencyJson2.md | 184 + .../docs/Models/Components/CustomField3.md | 2 +- .../Models/Components/CustomFieldAnswers.md | 11 + .../docs/Models/Components/CustomFieldJson.md | 14 + .../Models/Components/CustomFieldJson1.md | 10 +- .../CustomFieldJson1CustomFieldType.md | 32 +- .../Models/Components/CustomFieldJson2.md | 12 +- .../CustomFieldJson2CustomFieldType.md | 32 +- .../Models/Components/CustomFieldJson3.md | 14 - .../CustomFieldJson3CustomFieldType.md | 36 - .../CustomFieldJsonCustomFieldType.md | 36 + .../Models/Components/CustomFieldTypeJson.md | 23 + .../Models/Components/CustomFieldTypeJson1.md | 23 - .../Components/CustomQuestionAnswerJson0.md | 11 - .../CustomQuestionAnswerJson0Question.md | 10 - .../Models/Components/DateAnswerFormat.md | 20 + .../Models/Components/DateAnswerFormatJson.md | 20 - .../docs/Models/Components/DatePattern1.md | 15 + .../Models/Components/DatePatternJson0.md | 15 - .../Models/Components/DateRequirements1.md | 13 + .../Components/DateRequirementsJson0.md | 13 - .../docs/Models/Components/DateTypeJson.md | 30 + .../docs/Models/Components/DateTypeJson1.md | 30 - .../csharp/docs/Models/Components/Dates1.md | 14 + .../docs/Models/Components/DatesJson0.md | 14 - .../docs/Models/Components/DayOfWeek.md | 24 + .../docs/Models/Components/DayOfWeekJson0.md | 24 - .../csharp/docs/Models/Components/Device1.md | 14 + .../docs/Models/Components/DeviceJson.md | 14 - .../docs/Models/Components/DeviceType.md | 20 + .../docs/Models/Components/DeviceTypeJson.md | 20 - .../docs/Models/Components/DisplayType.md | 23 + .../docs/Models/Components/DisplayTypeJson.md | 23 - .../docs/Models/Components/DistanceJson.md | 11 + .../docs/Models/Components/DistanceJson1.md | 11 - .../Models/Components/DistributionListInfo.md | 12 + .../Components/DistributionListInfoInput.md | 11 + .../Components/DistributionListInfoJson.md | 12 - .../DistributionListInfoJsonInput.md | 11 - .../DistributionListSecurityType.md | 20 + .../DistributionListSecurityTypeJson.md | 20 - .../Components/DistributionListStatus.md | 20 + .../Components/DistributionListStatusJson.md | 20 - .../docs/Models/Components/DocumentType1.md | 50 + .../Models/Components/DocumentTypeJson0.md | 50 - .../Models/Components/EmailHistoryJson.md | 2 +- .../docs/Models/Components/EmailJson1.md | 10 +- .../docs/Models/Components/EmailTypeJson.md | 19 + .../docs/Models/Components/EmailTypeJson1.md | 72 +- .../docs/Models/Components/EmailTypeJson3.md | 79 - .../docs/Models/Components/EncodingProfile.md | 19 + .../Models/Components/EncodingProfileJson.md | 19 - .../docs/Models/Components/ErrorResponse1.md | 12 +- .../docs/Models/Components/ErrorResponse2.md | 12 +- .../csharp/docs/Models/Components/Event1.md | 4 +- .../csharp/docs/Models/Components/Event12.md | 10 + .../csharp/docs/Models/Components/Event21.md | 10 - .../csharp/docs/Models/Components/Event3.md | 10 + .../docs/Models/Components/EventAllOf.md | 10 - .../docs/Models/Components/EventContactId.md | 11 + .../Models/Components/EventContactIdJson.md | 11 - .../EventEmailsPaginatedResponse.md | 2 +- .../docs/Models/Components/EventFormatType.md | 20 + .../Models/Components/EventFormatTypeJson0.md | 20 - .../docs/Models/Components/EventInput.md | 2 +- .../docs/Models/Components/EventJson.md | 10 + .../docs/Models/Components/EventJson0.md | 10 - .../docs/Models/Components/EventJson1.md | 4 +- .../docs/Models/Components/EventJson2.md | 10 - .../docs/Models/Components/EventJson3.md | 10 + .../docs/Models/Components/EventJson4.md | 10 - .../docs/Models/Components/EventJson5.md | 10 + .../docs/Models/Components/EventJson6.md | 8 +- .../docs/Models/Components/EventJson8.md | 10 - .../docs/Models/Components/EventLite.md | 10 + .../docs/Models/Components/EventLiteJson.md | 10 - .../Models/Components/EventOrganization1.md | 16 + .../Models/Components/EventQuestionJson.md | 2 +- .../Components/EventSurveyQuestionJson.md | 14 +- .../Components/EventSurveyRespondent.md | 2 +- .../Models/Components/EventSurveyResponse.md | 2 +- .../docs/Models/Components/EventType1.md | 39 + .../docs/Models/Components/EventTypeJson.md | 37 + .../docs/Models/Components/EventTypeJson0.md | 39 - .../docs/Models/Components/EventTypeJson1.md | 37 - .../docs/Models/Components/EventUpdate.md | 4 +- .../Models/Components/EventUpdateInput.md | 2 +- .../Components/ExhibitorCategoryRequest.md | 2 +- .../Components/ExhibitorCategoryResponse.md | 2 +- .../Models/Components/ExhibitorRequest.md | 4 +- .../Models/Components/ExhibitorResponse.md | 4 +- .../Components/ExistingAudienceSegment.md | 2 +- .../Models/Components/ExistingAudioTrack.md | 10 +- .../Models/Components/ExistingCustomField.md | 2 +- .../Components/ExistingCustomFieldDetails.md | 4 +- .../ExistingCustomFieldDetailsInput.md | 4 +- .../Components/ExistingCustomFieldInput.md | 2 +- .../Models/Components/ExistingDurationType.md | 5 +- .../ExistingELiteratureRequestDataForLead.md | 2 +- .../Components/ExistingExhibitorAnswer.md | 2 +- .../ExistingExhibitorAnswerInput.md | 2 +- .../Components/ExistingExhibitorQuestion.md | 6 +- .../docs/Models/Components/ExistingFile.md | 2 +- .../docs/Models/Components/ExistingSpeaker.md | 4 +- .../Models/Components/ExistingSpeakerInput.md | 4 +- .../Components/ExistingSponsorshipLevel.md | 2 +- .../Components/ExistingVideoResponse.md | 20 +- .../Components/ExistingVideoTextTrack.md | 8 +- .../Components/ExistingVideoTextTrackInput.md | 8 +- .../docs/Models/Components/ExistingWeblink.md | 2 +- .../docs/Models/Components/FairSeasonType.md | 19 + .../Models/Components/FairSeasonTypeJson.md | 19 - .../csharp/docs/Models/Components/Field.md | 17 + .../docs/Models/Components/FieldJson.md | 22 +- .../docs/Models/Components/FieldJson2.md | 17 - .../docs/Models/Components/FieldType.md | 22 + .../docs/Models/Components/FieldTypeJson.md | 8 +- .../docs/Models/Components/FieldTypeJson2.md | 22 - .../docs/Models/Components/FileInput.md | 2 +- .../docs/Models/Components/FormatType.md | 19 + .../docs/Models/Components/FormatTypeJson.md | 19 - .../docs/Models/Components/GenderJson.md | 21 - .../docs/Models/Components/GuestJson.md | 2 +- .../Models/Components/GuestRoomOccupancy.md | 21 + .../Components/GuestRoomOccupancyJson.md | 21 - .../GuestRoomOccupancyPerRoomType.md | 11 + .../GuestRoomOccupancyPerRoomTypeJson.md | 11 - .../docs/Models/Components/GuestRoomType.md | 22 + .../Models/Components/GuestRoomTypeJson.md | 22 - .../Models/Components/HlsInputWithClips.md | 11 + .../Components/HlsInputWithClipsJson.md | 11 - .../docs/Models/Components/HotelRequest.md | 2 +- .../Models/Components/HousingEventHotel.md | 2 +- .../Components/HousingEventSummaryList.md | 2 +- .../csharp/docs/Models/Components/IdJson.md | 10 - .../docs/Models/Components/IdOnlyEntity.md | 10 + .../docs/Models/Components/Industry1.md | 36 + .../docs/Models/Components/IndustryJson0.md | 36 - .../InvitationListPaginatedResponse.md | 2 +- .../csharp/docs/Models/Components/Lead.md | 8 +- .../Components/LeadQualificationAnswers.md | 2 +- .../Components/LeadQualificationQuestion.md | 8 +- .../LeadQualifiedQuestionResponseJson.md | 2 +- .../docs/Models/Components/LeadSource.md | 2 +- .../docs/Models/Components/LeadSourceJson.md | 11 - .../Models/Components/LeadSourceSection.md | 10 + .../Components/LeadSourceSectionJson.md | 10 - .../Models/Components/ManagementLevelType1.md | 21 + .../Components/ManagementLevelTypeJson1.md | 21 - .../docs/Models/Components/MeasurementUnit.md | 23 + .../Models/Components/MeasurementUnitJson0.md | 19 - .../Components/MeetingRequestQuestionJson.md | 2 +- .../docs/Models/Components/MembershipJson.md | 16 - .../Components/MessageRecipientResponse.md | 11 + .../MessageRecipientResponseAttendee.md | 12 + .../MessageRecipientsPaginatedResponse.md | 8 +- .../MessageRecipientsResponseJson.md | 11 - .../MessageRecipientsResponseJsonAttendee.md | 12 - .../Models/Components/NumericAnswerFormat.md | 20 + .../Components/NumericAnswerFormatJson.md | 20 - .../Models/Components/OfferingCostType1.md | 79 + .../Components/OfferingCostTypeJson0.md | 79 - packages/csharp/docs/Models/Components/One.md | 14 + .../csharp/docs/Models/Components/OneAllOf.md | 10 - .../csharp/docs/Models/Components/OneOneOf.md | 14 - .../docs/Models/Components/OptOutJson.md | 12 - .../docs/Models/Components/OptOutJsonInput.md | 10 - .../csharp/docs/Models/Components/OptoutBy.md | 29 + .../docs/Models/Components/OrderDetail.md | 2 +- .../Models/Components/OrderItemResponse.md | 2 +- .../docs/Models/Components/Organization.md | 10 + .../Models/Components/OrganizationJson.md | 10 - .../Models/Components/OrganizationType1.md | 26 + .../Components/OrganizationTypeJson0.md | 26 - .../Components/PackagePricingPreference.md | 20 + .../PackagePricingPreferenceJson.md | 20 - .../Components/PaginatedInternalDocuments.md | 8 +- .../Components/PaginatedRfpAgendaItems.md | 8 +- .../PaginatedRfpAgendaItemsSchedule.md | 8 +- .../Components/PaginatedRfpAttachments.md | 8 +- .../Components/PaginatedRfpCustomField.md | 4 +- .../Components/PaginatedRfpQuestions.md | 8 +- .../PaginatedRfpRecipientsHistory.md | 8 +- .../Components/PaginatedRfpSuppliers.md | 8 +- .../docs/Models/Components/PagingJson19.md | 14 - .../docs/Models/Components/PagingJson2.md | 14 + .../Components/PagingNoTotalCountJson.md | 14 + .../Components/PagingNoTotalCountJson2.md | 14 - .../csharp/docs/Models/Components/Passport.md | 12 + .../docs/Models/Components/PassportInput.md | 11 + .../docs/Models/Components/PassportJson.md | 12 - .../Models/Components/PassportJsonInput.md | 11 - .../docs/Models/Components/PaymentInfoJson.md | 2 +- .../docs/Models/Components/PlannerJson2.md | 2 +- .../docs/Models/Components/PolicyValueType.md | 24 + .../Models/Components/PolicyValueTypeJson.md | 24 - .../docs/Models/Components/ProgramItemLite.md | 10 + .../Models/Components/ProgramItemLiteJson.md | 10 - .../ProgramItemSpeakerPaginatedResponse.md | 2 +- .../csharp/docs/Models/Components/Property.md | 2 +- .../docs/Models/Components/PropertyRoom.md | 2 +- .../Models/Components/ProposalDateJson.md | 2 +- .../docs/Models/Components/ProposalRequest.md | 6 +- .../Models/Components/ProposalResponse.md | 6 +- .../Models/Components/ProposalStatusType.md | 30 + .../Components/ProposalStatusTypeJson.md | 30 - .../docs/Models/Components/ProximityJson.md | 8 +- .../csharp/docs/Models/Components/Question.md | 6 +- .../Components/QuestionClassificationType.md | 20 + .../QuestionClassificationTypeJson.md | 20 - .../docs/Models/Components/QuestionJson.md | 14 + .../docs/Models/Components/QuestionJson1.md | 33 +- .../docs/Models/Components/QuestionJson2.md | 31 +- .../docs/Models/Components/QuestionJson3.md | 12 - .../Components/QuestionPaginatedResponse.md | 2 +- .../Components/QuestionResponseDataType.md | 24 + .../QuestionResponseDataTypeJson.md | 24 - .../Components/QuestionResponseFormat.md | 20 + .../Components/QuestionResponseFormatJson.md | 20 - .../Models/Components/QuestionResponseJson.md | 2 +- .../Models/Components/QuestionResponseType.md | 19 + .../Components/QuestionResponseTypeJson.md | 19 - .../docs/Models/Components/QuestionSection.md | 19 + .../Models/Components/QuestionSectionJson.md | 19 - .../docs/Models/Components/QuestionType.md | 39 + .../Models/Components/QuestionTypeJson.md | 49 +- .../Models/Components/QuestionTypeJson1.md | 45 +- .../Models/Components/QuestionTypeJson2.md | 33 +- .../Models/Components/QuestionTypeJson3.md | 26 - .../Components/QuestionWithProgramIdJson.md | 21 - .../QuestionWithProgramIdJsonTravelProgram.md | 10 - .../Components/QuestionsPaginatedResponse.md | 2 +- .../Components/QuestionsPaginatedResponse1.md | 8 +- .../docs/Models/Components/RateLevelType.md | 20 + .../Models/Components/RateLevelTypeJson.md | 20 - .../Models/Components/RateReviewStatusType.md | 21 + .../Components/RateReviewStatusTypeJson.md | 21 - .../csharp/docs/Models/Components/RateType.md | 20 + .../docs/Models/Components/RateTypeJson.md | 20 - .../docs/Models/Components/RebateType.md | 19 + .../docs/Models/Components/RebateTypeJson.md | 19 - .../docs/Models/Components/RecipientInfo.md | 12 + .../Models/Components/RecipientInfoJson0.md | 12 - .../docs/Models/Components/RecipientType.md | 20 + .../Models/Components/RecipientTypeJson0.md | 20 - .../Components/RegistrationPackRequest.md | 2 +- .../Components/RegistrationPackResponse.md | 2 +- .../Components/ReservationGuestJsonInput.md | 2 +- .../Components/ReservationGuestJsonOutput.md | 2 +- .../ReservationPaymentInfoJsonInput.md | 2 +- .../ReservationPaymentInfoJsonOutput.md | 2 +- .../docs/Models/Components/RespondentJson.md | 2 +- packages/csharp/docs/Models/Components/Rfp.md | 30 +- .../docs/Models/Components/RfpAgendaItem.md | 29 + .../Models/Components/RfpAgendaItemJson.md | 29 - .../Components/RfpAgendaItemSchedule.md | 11 + .../Components/RfpAgendaItemScheduleJson.md | 11 - .../Components/RfpAgendaItemScheduleWithId.md | 12 + .../RfpAgendaItemScheduleWithIdJson.md | 12 - .../docs/Models/Components/RfpAttachment.md | 25 + .../Models/Components/RfpAttachmentJson.md | 25 - .../Components/RfpAttachmentJsonSupplier.md | 10 - .../Components/RfpAttachmentSupplier.md | 10 + .../Models/Components/RfpCustomFieldJson.md | 11 - .../docs/Models/Components/RfpDateMode.md | 19 + .../Models/Components/RfpDateModeJson0.md | 19 - .../csharp/docs/Models/Components/RfpEvent.md | 29 + .../docs/Models/Components/RfpEventJson.md | 29 - .../Components/RfpEventOrganizationJson.md | 16 - .../docs/Models/Components/RfpGuestRooms.md | 16 +- .../docs/Models/Components/RfpIdJson.md | 10 + .../docs/Models/Components/RfpIdJson1.md | 10 - .../Models/Components/RfpInternalDocument.md | 17 + .../Components/RfpInternalDocumentJson0.md | 17 - .../csharp/docs/Models/Components/RfpMeal.md | 30 + .../docs/Models/Components/RfpMealJson.md | 30 - .../docs/Models/Components/RfpPastEvent.md | 19 + .../Models/Components/RfpPastEventJson.md | 19 - .../docs/Models/Components/RfpPastEvents.md | 6 +- .../docs/Models/Components/RfpQuestion.md | 50 + .../docs/Models/Components/RfpQuestionJson.md | 50 - .../Models/Components/RfpRecipientLogEntry.md | 16 + .../Components/RfpRecipientLogEntryJson.md | 16 - .../RfpRecipientLogEntryJsonMessage.md | 10 - .../RfpRecipientLogEntryJsonSupplier.md | 10 - .../Components/RfpRecipientLogEntryMessage.md | 10 + .../RfpRecipientLogEntrySupplier.md | 10 + .../Models/Components/RfpResponseReason.md | 58 + .../Components/RfpResponseReasonJson.md | 58 - .../docs/Models/Components/RfpStatus1.md | 24 + .../docs/Models/Components/RfpStatusJson0.md | 24 - .../docs/Models/Components/RfpSupplier.md | 39 + .../docs/Models/Components/RfpSupplierJson.md | 39 - .../Components/RfpSupplierLeadSource.md | 11 + .../csharp/docs/Models/Components/RfpType1.md | 22 + .../docs/Models/Components/RfpTypeJson0.md | 22 - .../docs/Models/Components/RoomBedTypeJson.md | 26 + .../Models/Components/RoomBedTypeJson1.md | 26 - .../docs/Models/Components/RoomBlock.md | 14 + .../Models/Components/RoomBlockDetails.md | 11 + .../Models/Components/RoomBlockDetailsJson.md | 11 - .../docs/Models/Components/RoomBlockJson.md | 14 - .../docs/Models/Components/ScoresJson.md | 2 +- .../Components/SendEmailEventRequest.md | 2 +- .../Components/SendEmailEventResponse.md | 2 +- .../docs/Models/Components/SessionLite.md | 10 + .../docs/Models/Components/SessionLiteJson.md | 10 - .../Models/Components/SessionQaMessage.md | 2 +- .../docs/Models/Components/SessionSpeaker.md | 13 + .../Models/Components/SessionSpeakerJson.md | 13 - .../SessionSpeakerPaginatedResponse.md | 8 +- .../Components/SleepingRoomBlockJson.md | 2 +- .../Models/Components/SleepingRoomJson.md | 2 +- .../csharp/docs/Models/Components/Solution.md | 19 + .../docs/Models/Components/SolutionJson.md | 19 - .../docs/Models/Components/SpaceArea.md | 91 + .../docs/Models/Components/SpaceAreaJson0.md | 91 - .../csharp/docs/Models/Components/Speaker.md | 4 +- .../docs/Models/Components/SpeakerCategory.md | 10 - .../Models/Components/SpeakerCategory1.md | 11 + .../Models/Components/SpeakerCategory2.md | 10 + .../SpeakerCategoryPaginatedResponse.md | 2 +- .../SpeakerDocumentPaginatedResponse.md | 2 +- .../docs/Models/Components/SpeakerLite.md | 6 +- .../docs/Models/Components/SpeakerLite1.md | 10 + .../docs/Models/Components/SpeakerLiteJson.md | 10 - .../Components/SpeakerPaginatedResponse.md | 2 +- .../Models/Components/SpeakerProgramItem.md | 8 +- .../docs/Models/Components/SpeakerSession.md | 2 +- .../docs/Models/Components/StakeholderJson.md | 2 +- .../Models/Components/StandardQuestion.md | 10 + .../Models/Components/StandardQuestionJson.md | 10 - .../Models/Components/StandardSurveyJson.md | 2 +- .../Components/StandardSurveyQuestionJson.md | 14 +- .../Models/Components/SupplierResponse.md | 2 +- .../docs/Models/Components/SupplierType.md | 21 + .../Models/Components/SupplierTypeJson.md | 13 +- .../Models/Components/SupplierTypeJson1.md | 18 - .../docs/Models/Components/SurveyContactId.md | 11 + .../Models/Components/SurveyContactIdJson.md | 11 - .../docs/Models/Components/SurveyJson.md | 2 +- .../docs/Models/Components/TargetType.md | 35 + .../docs/Models/Components/TargetTypeJson.md | 35 - .../csharp/docs/Models/Components/TaxType.md | 26 + .../docs/Models/Components/TaxTypeJson.md | 26 - .../Models/Components/TextAnswerFormat.md | 21 + .../Models/Components/TextAnswerFormatJson.md | 21 - .../docs/Models/Components/TextField.md | 12 + .../docs/Models/Components/TextFieldJson.md | 10 +- .../docs/Models/Components/TextFieldJson1.md | 12 - .../csharp/docs/Models/Components/Three.md | 2 +- .../docs/Models/Components/ThreeInput.md | 2 +- .../docs/Models/Components/ThumbnailStatus.md | 22 + .../Models/Components/ThumbnailStatusJson.md | 22 - .../docs/Models/Components/ThumbnailType.md | 24 + .../Models/Components/ThumbnailTypeJson.md | 24 - .../Components/TransactionDetailResponse.md | 2 +- .../Components/TransactionItemResponse.md | 2 +- .../docs/Models/Components/TravelAccount.md | 4 +- .../TravelAccountPaginatedResponse.md | 2 +- .../TravelAccountSupplierAccount.md | 2 +- ...AccountSupplierAccountPaginatedResponse.md | 2 +- .../Models/Components/TravelAccountType.md | 20 + .../Components/TravelAccountTypeJson.md | 20 - .../Models/Components/TravelAmenityJson.md | 17 - .../Models/Components/TravelBidAmenity.md | 18 + .../Models/Components/TravelBidAmenityJson.md | 18 - .../Models/Components/TravelBidComment.md | 11 + .../Models/Components/TravelBidCommentJson.md | 11 - .../Models/Components/TravelBidDiscount.md | 12 + .../Components/TravelBidDiscountJson.md | 12 - .../TravelBidDiscountJsonPropertyRoom.md | 10 - .../TravelBidDiscountPropertyRoom.md | 10 + .../Models/Components/TravelBidDisposition.md | 12 + .../TravelBidDispositionAcceptedRoom.md | 12 + .../TravelBidDispositionAcceptedRoomJson.md | 12 - ...DispositionAcceptedRoomJsonPropertyRoom.md | 10 - ...lBidDispositionAcceptedRoomPropertyRoom.md | 10 + .../Components/TravelBidDispositionJson.md | 12 - .../Models/Components/TravelBidFairSeason.md | 17 + .../Components/TravelBidFairSeasonJson.md | 17 - .../Components/TravelBidFairSeasonRate.md | 16 + .../Components/TravelBidFairSeasonRateJson.md | 16 - ...TravelBidFairSeasonRateJsonPropertyRoom.md | 10 - .../TravelBidFairSeasonRatePropertyRoom.md | 10 + .../docs/Models/Components/TravelBidPolicy.md | 16 + .../Models/Components/TravelBidPolicyJson.md | 16 - .../Models/Components/TravelBidRateJson.md | 13 - .../docs/Models/Components/TravelBidRoom.md | 13 + .../Models/Components/TravelBidRoomJson.md | 13 - .../TravelBidRoomJsonPropertyRoom.md | 10 - .../Components/TravelBidRoomPropertyRoom.md | 10 + .../docs/Models/Components/TravelBidSeason.md | 17 + .../Models/Components/TravelBidSeasonJson.md | 17 - .../Models/Components/TravelBidSeasonRate.md | 18 + .../Components/TravelBidSeasonRateJson.md | 18 - .../TravelBidSeasonRateJsonPropertyRoom.md | 10 - .../TravelBidSeasonRatePropertyRoom.md | 10 + .../Models/Components/TravelBidTaxAndFee.md | 15 + .../Models/Components/TravelBidTaxFeeJson.md | 15 - .../Components/TravelBidWeekendDayJson.md | 24 - .../Models/Components/TravelBidWeekendDays.md | 24 + .../Components/TravelBreakOutRoomJson.md | 14 - .../Components/TravelDayDelegateRateJson.md | 13 - .../Components/TravelGroupAndMeetingJson.md | 15 - .../TravelMeetingRoomBasicInfoJson.md | 12 - .../docs/Models/Components/TravelProgram.md | 10 +- .../Components/TravelProgramFormatType.md | 19 + .../Components/TravelProgramFormatTypeJson.md | 19 - .../TravelProgramPaginatedResponse.md | 2 +- .../Components/TravelProgramQuestion.md | 21 + .../Components/TravelProgramQuestion1.md | 13 + .../Components/TravelProgramQuestionJson.md | 13 - .../TravelProgramQuestionTravelProgram.md | 10 + .../Models/Components/TravelProgramStatus.md | 20 + .../Components/TravelProgramStatusJson.md | 20 - .../Components/TravelProgramStayType.md | 19 + .../Components/TravelProgramStayTypeJson.md | 19 - .../Models/Components/TravelProgramType.md | 20 + .../Components/TravelProgramTypeJson.md | 20 - .../docs/Models/Components/TravelProposal.md | 16 +- .../Models/Components/TravelProposalBid.md | 31 - .../Models/Components/TravelProposalBid1.md | 10 + .../Models/Components/TravelProposalBid2.md | 31 + .../Components/TravelProposalBidIdJson.md | 10 - .../TravelProposalBidPaginatedResponse.md | 8 +- .../Components/TravelProposalBidRate.md | 13 + .../TravelProposalCustomQuestion.md | 11 + .../TravelProposalCustomQuestionQuestion.md | 10 + .../Components/TravelProposalDisposition.md | 11 + .../TravelProposalDispositionJson.md | 11 - .../TravelProposalGroupAndMeeting.md | 15 + .../TravelProposalGroupAndMeetingAmenity.md | 17 + ...avelProposalGroupAndMeetingBreakOutRoom.md | 14 + ...lProposalGroupAndMeetingDayDelegateRate.md | 13 + ...upAndMeetingMeetingRoomBasicInformation.md | 12 + ...elProposalGroupAndMeetingRunOfHouseRate.md | 19 + ...posalGroupAndMeetingTaxAndServiceCharge.md | 15 + .../TravelProposalPaginatedResponse.md | 2 +- .../Components/TravelRunOfHouseRateJson.md | 19 - .../TravelTaxAndServiceChargeJson.md | 15 - .../docs/Models/Components/UnitPosition.md | 19 + .../Models/Components/UnitPositionJson.md | 19 - .../Components/UpdatedThroughNameProperty.md | 103 + .../UpdatedThroughNamePropertyJson.md | 103 - .../csharp/docs/Models/Components/User.md | 2 +- .../docs/Models/Components/UserInput.md | 2 +- .../csharp/docs/Models/Components/UserJson.md | 2 +- .../docs/Models/Components/VenueSummary.md | 2 +- .../csharp/docs/Models/Components/Video1.md | 10 + .../docs/Models/Components/VideoAssetID.md | 10 + .../Models/Components/VideoAssetIdJson.md | 10 - .../docs/Models/Components/VideoClip.md | 11 + .../docs/Models/Components/VideoClipJson.md | 11 - .../docs/Models/Components/VideoError.md | 11 + .../docs/Models/Components/VideoErrorCode.md | 26 + .../Models/Components/VideoErrorCodeJson.md | 26 - .../docs/Models/Components/VideoErrorJson.md | 11 - .../docs/Models/Components/VideoJson.md | 10 - .../docs/Models/Components/VideoRendition.md | 18 + .../Models/Components/VideoRenditionJson.md | 18 - .../Components/VideoRenditionJsonLink.md | 10 - .../Models/Components/VideoRenditionLink.md | 10 + .../Models/Components/VideoRenditionType.md | 24 + .../Components/VideoRenditionTypeJson.md | 24 - .../Components/VideoRenditionsResponse.md | 6 +- .../docs/Models/Components/VideoSource.md | 11 + .../docs/Models/Components/VideoSourceJson.md | 11 - .../Components/VideoSourceJsonStatus.md | 21 - .../Models/Components/VideoSourceStatus.md | 21 + .../docs/Models/Components/VideoStatus.md | 27 + .../docs/Models/Components/VideoStatusJson.md | 27 - .../docs/Models/Components/VideoTextTrack.md | 6 +- .../Models/Components/VideoTextTrackKind.md | 22 + .../Components/VideoTextTrackKindJson.md | 22 - .../Models/Components/VideoTextTrackStatus.md | 26 + .../Components/VideoTextTrackStatusJson.md | 26 - .../docs/Models/Components/VideoThumbnail.md | 15 + .../Models/Components/VideoThumbnailJson.md | 15 - .../docs/Models/Components/VideoType.md | 28 + .../docs/Models/Components/VideoTypeJson.md | 28 - .../docs/Models/Components/VideoView.md | 17 + .../docs/Models/Components/VideoViewJson.md | 17 - .../Components/VideoViewsPaginatedResponse.md | 4 +- .../docs/Models/Components/VideoWarning.md | 11 + .../Models/Components/VideoWarningCode.md | 18 + .../Models/Components/VideoWarningCodeJson.md | 18 - .../Models/Components/VideoWarningJson.md | 11 - .../Components/VideosPaginatedResponse.md | 2 +- .../docs/Models/Components/ViewType1.md | 19 + .../docs/Models/Components/ViewTypeJson1.md | 19 - .../csharp/docs/Models/Components/Voucher.md | 16 + .../docs/Models/Components/VoucherCapacity.md | 11 + .../Components/VouchersPaginatedResponse.md | 11 + .../csharp/docs/Models/Components/Weblink.md | 2 +- .../docs/Models/Components/WeddingDetails1.md | 15 + .../Models/Components/WeddingDetailsJson0.md | 15 - .../docs/Models/Components/WeddingPartner.md | 11 + .../Models/Components/WeddingPartnerJson.md | 11 - .../docs/Models/Components/ZeroAllOf7.md | 56 +- .../docs/Models/Components/ZeroAllOf8.md | 18 +- .../docs/Models/Components/ZeroAllOf9.md | 17 - .../docs/Models/Errors/ErrorResponse1.md | 12 +- .../docs/Models/Errors/ErrorResponse2.md | 12 +- .../docs/Models/Errors/ErrorResponseJson12.md | 13 + .../docs/Models/Errors/ErrorResponseJson17.md | 13 - .../Models/Requests/CreateContactsRequest.md | 2 +- .../Models/Requests/CreateContactsResponse.md | 8 +- .../Requests/GetAttendeeByIdResponse.md | 2 +- .../GetAttendeeMessagesMembersRequest.md | 12 +- .../Requests/GetTravelProposalBidResponse.md | 8 +- .../Models/Requests/GetVideoViewsRequest.md | 14 +- .../Models/Requests/ListDurationsRequest.md | 16 +- .../ListEventVoucherAttendeesRequest.md | 11 + .../ListEventVoucherAttendeesResponse.md | 9 + .../ListEventVouchersPostFilterRequest.md | 14 + .../ListEventVouchersPostFilterResponse.md | 9 + .../Requests/ListEventVouchersRequest.md | 14 + .../Requests/ListEventVouchersResponse.md | 9 + .../docs/Models/Requests/ListVideosRequest.md | 16 +- .../Models/Requests/PatchContactsResponse.md | 8 +- .../Models/Requests/UpdateAttendeeResponse.md | 2 +- .../Models/Requests/UpdateContactsResponse.md | 8 +- .../csharp/docs/sdks/appointments/README.md | 6 +- packages/csharp/docs/sdks/attendees/README.md | 8 +- .../docs/sdks/audiencesegments/README.md | 13 +- packages/csharp/docs/sdks/bulk/README.md | 18 +- packages/csharp/docs/sdks/contacts/README.md | 76 +- .../csharp/docs/sdks/customfields/README.md | 8 +- packages/csharp/docs/sdks/events/README.md | 186 +- packages/csharp/docs/sdks/exhibitor/README.md | 28 +- .../docs/sdks/exhibitorcontent/README.md | 15 +- .../csharp/docs/sdks/exhibitorteam/README.md | 4 +- packages/csharp/docs/sdks/housing/README.md | 10 +- .../csharp/docs/sdks/meetingrequest/README.md | 3 +- .../csharp/docs/sdks/proposaldraft/README.md | 8 +- packages/csharp/docs/sdks/sessions/README.md | 3 +- packages/csharp/docs/sdks/speakers/README.md | 31 +- packages/csharp/docs/sdks/userscim/README.md | 34 +- packages/csharp/docs/sdks/video/README.md | 12 +- packages/csharp/src/Cvent/SDK/Appointments.cs | 56 +- packages/csharp/src/Cvent/SDK/Attendees.cs | 16 +- .../csharp/src/Cvent/SDK/AudienceSegments.cs | 84 +- packages/csharp/src/Cvent/SDK/Bulk.cs | 108 +- packages/csharp/src/Cvent/SDK/Contacts.cs | 18 +- .../csharp/src/Cvent/SDK/Cvent.SDK.csproj | 2 +- packages/csharp/src/Cvent/SDK/Events.cs | 659 ++ packages/csharp/src/Cvent/SDK/Exhibitor.cs | 56 +- .../csharp/src/Cvent/SDK/ExhibitorContent.cs | 84 +- .../src/Cvent/SDK/Hooks/OAuth2Scopes.cs | 35 + packages/csharp/src/Cvent/SDK/Housing.cs | 56 +- .../csharp/src/Cvent/SDK/MeetingRequest.cs | 28 +- .../AccountBudgetItemListResponseJson.cs | 4 +- .../src/Cvent/SDK/Models/Components/Action.cs | 57 + .../SDK/Models/Components/AdditionalChoice.cs | 10 +- .../Models/Components/AdditionalChoice1.cs | 26 + .../Models/Components/AdditionalChoiceJson.cs | 32 + .../Components/AdditionalChoiceJson1.cs | 32 - .../Components/AdditionalChoiceJson2.cs | 32 - .../Cvent/SDK/Models/Components/Address.cs | 74 + .../Cvent/SDK/Models/Components/Address1.cs | 38 + .../Cvent/SDK/Models/Components/Address11.cs | 38 +- .../Cvent/SDK/Models/Components/Address12.cs | 68 - .../Cvent/SDK/Models/Components/Address2.cs | 56 - .../Cvent/SDK/Models/Components/Address3.cs | 16 +- .../Cvent/SDK/Models/Components/Address4.cs | 56 + .../Cvent/SDK/Models/Components/Address5.cs | 74 + .../Cvent/SDK/Models/Components/Address6.cs | 68 + .../SDK/Models/Components/AddressInput.cs | 62 + .../SDK/Models/Components/AddressJson.cs | 44 +- .../SDK/Models/Components/AddressJson0.cs | 38 - .../SDK/Models/Components/AddressJson1.cs | 68 + .../SDK/Models/Components/AddressJson2.cs | 39 +- .../SDK/Models/Components/AddressJson3.cs | 68 - .../SDK/Models/Components/AddressJson4.cs | 63 - .../SDK/Models/Components/AddressJson5.cs | 68 - .../SDK/Models/Components/AddressJsonInput.cs | 62 - .../SDK/Models/Components/AddressTypeJson.cs | 6 +- .../SDK/Models/Components/AddressTypeJson1.cs | 57 - .../SDK/Models/Components/AgendaItemSetup.cs | 81 + .../Models/Components/AgendaItemSetupJson.cs | 81 - .../SDK/Models/Components/AgendaItemType.cs | 74 + .../Models/Components/AgendaItemTypeJson.cs | 74 - .../SDK/Models/Components/AmenityType.cs | 58 + .../SDK/Models/Components/AmenityTypeJson.cs | 58 - .../Components/AppointmentWithQuestions.cs | 2 +- .../SDK/Models/Components/AssetLocation.cs | 26 + .../Models/Components/AssetLocationInput.cs | 20 + .../Models/Components/AssetLocationJson.cs | 26 - .../Components/AssetLocationJsonInput.cs | 20 - .../SDK/Models/Components/AttachmentSource.cs | 60 + .../Models/Components/AttachmentSourceJson.cs | 60 - .../Cvent/SDK/Models/Components/Attendee.cs | 26 + .../Cvent/SDK/Models/Components/Attendee1.cs | 314 - .../Cvent/SDK/Models/Components/Attendee11.cs | 294 +- .../Cvent/SDK/Models/Components/Attendee12.cs | 4 +- .../Cvent/SDK/Models/Components/Attendee13.cs | 26 + .../SDK/Models/Components/Attendee1Event.cs | 26 + .../SDK/Models/Components/Attendee1Lookup.cs | 38 + .../Cvent/SDK/Models/Components/Attendee2.cs | 2 +- ...tendeeAddBulkItemEventJsonErrorResponse.cs | 2 +- .../Components/AttendeeAddBulkItemJsonData.cs | 26 +- .../Models/Components/AttendeeContactInfo.cs | 4 +- .../Components/AttendeeContactTypeInput.cs | 26 + .../Components/AttendeeContactTypeJson.cs | 32 - .../AttendeeContactTypeJsonInput.cs | 26 - .../SDK/Models/Components/AttendeeEvent.cs | 26 - .../SDK/Models/Components/AttendeeInsights.cs | 2 +- .../AttendeeLinkBulkResponseItemJsonData.cs | 26 +- .../SDK/Models/Components/AttendeeLookup.cs | 38 - .../Components/AttendeePaginatedResponse.cs | 2 +- .../Cvent/SDK/Models/Components/Attendees.cs | 26 +- .../Components/AttendeesPaginatedResponse.cs | 34 + .../SDK/Models/Components/AudienceSegment.cs | 2 +- .../Components/AudienceSegmentCreate.cs | 2 +- .../Components/AudienceSegmentResponse.cs | 2 +- .../SDK/Models/Components/AudioTrackStatus.cs | 63 + .../Models/Components/AudioTrackStatusJson.cs | 63 - .../SDK/Models/Components/AudioTrackType.cs | 65 + .../Models/Components/AudioTrackTypeJson.cs | 65 - .../Models/Components/AudioTrackVariant.cs | 60 + .../Components/AudioTrackVariantJson.cs | 60 - .../src/Cvent/SDK/Models/Components/Badge.cs | 4 +- .../Cvent/SDK/Models/Components/BadgeInput.cs | 4 +- .../Models/Components/BidItemStatusType.cs | 59 + .../Components/BidItemStatusTypeJson.cs | 59 - .../SDK/Models/Components/BidStatusType.cs | 58 + .../Models/Components/BidStatusTypeJson.cs | 58 - .../SDK/Models/Components/BidStayType.cs | 57 + .../SDK/Models/Components/BidStayTypeJson.cs | 57 - .../SDK/Models/Components/BillingDetails1.cs | 51 + .../Models/Components/BillingDetailsJson0.cs | 51 - .../Models/Components/BoothStaffRequest.cs | 4 +- .../Models/Components/BoothStaffResponse.cs | 4 +- .../Models/Components/BounceDetailsJson.cs | 2 +- .../Components/BounceDetailsResponse.cs | 2 +- .../src/Cvent/SDK/Models/Components/Brand.cs | 2 +- .../SDK/Models/Components/BrideGroomType.cs | 57 + .../Models/Components/BrideGroomTypeJson0.cs | 57 - .../SDK/Models/Components/BusinessType.cs | 57 + .../SDK/Models/Components/BusinessTypeJson.cs | 57 - .../Models/Components/CancellationDetails.cs | 40 + .../Components/CancellationDetailsJson.cs | 40 - .../SDK/Models/Components/CancelledReason1.cs | 65 + .../Models/Components/CancelledReasonJson0.cs | 65 - .../Cvent/SDK/Models/Components/Category.cs | 44 + .../Models/Components/CategoryIdNameJson.cs | 32 - .../Components/CategoryItemsCostJson.cs | 2 +- .../SDK/Models/Components/CategoryJson.cs | 28 +- .../SDK/Models/Components/CategoryJson1.cs | 28 +- .../SDK/Models/Components/CategoryJson2.cs | 44 - .../src/Cvent/SDK/Models/Components/Chain.cs | 2 +- .../src/Cvent/SDK/Models/Components/Choice.cs | 12 +- .../Cvent/SDK/Models/Components/Choice1.cs | 38 + .../Cvent/SDK/Models/Components/ChoiceJson.cs | 44 - .../SDK/Models/Components/ChoiceJson1.cs | 44 + .../SDK/Models/Components/ChoiceJson2.cs | 20 +- .../SDK/Models/Components/ChoiceJson2Input.cs | 26 + .../SDK/Models/Components/ChoiceJson3.cs | 32 - .../SDK/Models/Components/ChoiceJson3Input.cs | 26 - .../SDK/Models/Components/ChoiceSortOrder.cs | 58 + .../Models/Components/ChoiceSortOrderJson.cs | 58 - .../Cvent/SDK/Models/Components/Choices.cs | 2 +- .../SDK/Models/Components/CommentType.cs | 60 + .../SDK/Models/Components/CommentTypeJson.cs | 60 - .../Cvent/SDK/Models/Components/Compliance.cs | 6 +- .../SDK/Models/Components/ComplianceAction.cs | 57 - .../Components/ComplianceComplianceScope.cs | 56 - .../Models/Components/ComplianceCreatedBy.cs | 65 - .../SDK/Models/Components/ComplianceJson.cs | 46 - .../Models/Components/ComplianceJsonAction.cs | 57 - .../ComplianceJsonComplianceScope.cs | 56 - .../Components/ComplianceJsonCreatedBy.cs | 65 - .../SDK/Models/Components/ComplianceScope.cs | 56 + .../Models/Components/ConflictResolution.cs | 6 +- .../Cvent/SDK/Models/Components/Contact.cs | 20 +- .../Cvent/SDK/Models/Components/Contact1.cs | 82 + .../Cvent/SDK/Models/Components/Contact2.cs | 26 + .../Models/Components/ContactBulkItemJson.cs | 43 - .../Components/ContactBulkItemJsonData.cs | 211 - .../Components/ContactBulkResponseItem.cs | 43 + .../Components/ContactBulkResponseItemData.cs | 211 + .../SDK/Models/Components/ContactCreate.cs | 249 + .../Models/Components/ContactCreateEvent.cs | 29 + .../Components/ContactCreateRequestJson.cs | 249 - .../ContactCreateRequestJsonEvent.cs | 29 - .../SDK/Models/Components/ContactGroup.cs | 4 +- .../Models/Components/ContactGroupInput.cs | 4 +- .../ContactGroupPaginatedResponse.cs | 2 +- .../SDK/Models/Components/ContactGroupType.cs | 58 + .../Models/Components/ContactGroupTypeJson.cs | 58 - .../SDK/Models/Components/ContactHistory.cs | 58 + .../Models/Components/ContactHistoryJson.cs | 58 - .../ContactHistoryPaginatedResponse.cs | 4 +- .../Cvent/SDK/Models/Components/ContactId.cs | 26 + .../SDK/Models/Components/ContactIdJson.cs | 26 - .../Components/ContactIdPaginatedResponse.cs | 4 +- .../SDK/Models/Components/ContactJson.cs | 135 + .../SDK/Models/Components/ContactJson0.cs | 82 - .../SDK/Models/Components/ContactJson1.cs | 135 - .../SDK/Models/Components/ContactJson2.cs | 26 - .../Models/Components/ContactLinksInput.cs | 39 + .../SDK/Models/Components/ContactLinksJson.cs | 45 - .../Components/ContactLinksJsonInput.cs | 39 - .../Models/Components/ContactLinksJsonLink.cs | 26 - .../Models/Components/ContactMembership.cs | 63 + .../Models/Components/ContactMergeField.cs | 32 + .../Components/ContactMergeFieldJson.cs | 32 - .../SDK/Models/Components/ContactMethods.cs | 60 + .../Models/Components/ContactMethodsJson.cs | 60 - .../Components/ContactObfuscationStatus.cs | 4 +- .../ContactObfuscationStatusType.cs | 70 + .../ContactObfuscationStatusTypeJson.cs | 70 - .../SDK/Models/Components/ContactOptOut.cs | 40 + .../Models/Components/ContactOptOutInput.cs | 26 + .../Components/ContactPaginatedResponse.cs | 4 +- .../SDK/Models/Components/ContactPatch.cs | 10 +- .../SDK/Models/Components/ContactType.cs | 50 + .../SDK/Models/Components/ContactTypeJson.cs | 61 +- .../SDK/Models/Components/ContactTypeJson1.cs | 57 - .../ContactTypePaginatedResponse.cs | 4 +- .../SDK/Models/Components/ContactUpdate.cs | 16 +- .../Components/CreateTransactionResponse.cs | 2 +- .../CreateTransactionResponseInput.cs | 2 +- .../Cvent/SDK/Models/Components/CreatedBy.cs | 65 + .../SDK/Models/Components/CurrencyJson1.cs | 222 - .../SDK/Models/Components/CurrencyJson2.cs | 222 + .../SDK/Models/Components/CustomField3.cs | 2 +- .../Models/Components/CustomFieldAnswers.cs | 38 + .../SDK/Models/Components/CustomFieldJson.cs | 52 + .../SDK/Models/Components/CustomFieldJson1.cs | 21 +- .../CustomFieldJson1CustomFieldType.cs | 26 +- .../SDK/Models/Components/CustomFieldJson2.cs | 23 +- .../CustomFieldJson2CustomFieldType.cs | 26 +- .../SDK/Models/Components/CustomFieldJson3.cs | 52 - .../CustomFieldJson3CustomFieldType.cs | 74 - .../CustomFieldJsonCustomFieldType.cs | 74 + .../Models/Components/CustomFieldTypeJson.cs | 61 + .../Models/Components/CustomFieldTypeJson1.cs | 61 - .../Components/CustomQuestionAnswerJson0.cs | 33 - .../CustomQuestionAnswerJson0Question.cs | 26 - .../SDK/Models/Components/DateAnswerFormat.cs | 58 + .../Models/Components/DateAnswerFormatJson.cs | 58 - .../SDK/Models/Components/DatePattern1.cs | 59 + .../SDK/Models/Components/DatePatternJson0.cs | 59 - .../Models/Components/DateRequirements1.cs | 46 + .../Components/DateRequirementsJson0.cs | 46 - .../SDK/Models/Components/DateTypeJson.cs | 68 + .../SDK/Models/Components/DateTypeJson1.cs | 68 - .../src/Cvent/SDK/Models/Components/Dates1.cs | 51 + .../Cvent/SDK/Models/Components/DatesJson0.cs | 51 - .../Cvent/SDK/Models/Components/DayOfWeek.cs | 62 + .../SDK/Models/Components/DayOfWeekJson0.cs | 62 - .../Cvent/SDK/Models/Components/Device1.cs | 41 + .../Cvent/SDK/Models/Components/DeviceJson.cs | 41 - .../Cvent/SDK/Models/Components/DeviceType.cs | 58 + .../SDK/Models/Components/DeviceTypeJson.cs | 58 - .../SDK/Models/Components/DisplayType.cs | 61 + .../SDK/Models/Components/DisplayTypeJson.cs | 61 - .../SDK/Models/Components/DistanceJson.cs | 33 + .../SDK/Models/Components/DistanceJson1.cs | 33 - .../Models/Components/DistributionListInfo.cs | 39 + .../Components/DistributionListInfoInput.cs | 33 + .../Components/DistributionListInfoJson.cs | 39 - .../DistributionListInfoJsonInput.cs | 33 - .../DistributionListSecurityType.cs | 58 + .../DistributionListSecurityTypeJson.cs | 58 - .../Components/DistributionListStatus.cs | 58 + .../Components/DistributionListStatusJson.cs | 58 - .../SDK/Models/Components/DocumentType1.cs | 88 + .../Models/Components/DocumentTypeJson0.cs | 88 - .../SDK/Models/Components/EmailHistoryJson.cs | 2 +- .../Cvent/SDK/Models/Components/EmailJson1.cs | 2 +- .../SDK/Models/Components/EmailTypeJson.cs | 57 + .../SDK/Models/Components/EmailTypeJson1.cs | 66 +- .../SDK/Models/Components/EmailTypeJson3.cs | 117 - .../SDK/Models/Components/EncodingProfile.cs | 57 + .../Models/Components/EncodingProfileJson.cs | 57 - .../SDK/Models/Components/ErrorResponse1.cs | 2 +- .../SDK/Models/Components/ErrorResponse2.cs | 2 +- .../src/Cvent/SDK/Models/Components/Event1.cs | 4 +- .../Cvent/SDK/Models/Components/Event12.cs | 26 + .../Cvent/SDK/Models/Components/Event21.cs | 26 - .../src/Cvent/SDK/Models/Components/Event3.cs | 26 + .../Cvent/SDK/Models/Components/EventAllOf.cs | 26 - .../SDK/Models/Components/EventContactId.cs | 32 + .../Models/Components/EventContactIdJson.cs | 32 - .../EventEmailsPaginatedResponse.cs | 2 +- .../SDK/Models/Components/EventFormatType.cs | 58 + .../Models/Components/EventFormatTypeJson0.cs | 58 - .../Cvent/SDK/Models/Components/EventInput.cs | 2 +- .../Cvent/SDK/Models/Components/EventJson.cs | 26 + .../Cvent/SDK/Models/Components/EventJson0.cs | 26 - .../Cvent/SDK/Models/Components/EventJson1.cs | 6 +- .../Cvent/SDK/Models/Components/EventJson2.cs | 26 - .../Cvent/SDK/Models/Components/EventJson3.cs | 26 + .../Cvent/SDK/Models/Components/EventJson4.cs | 26 - .../Cvent/SDK/Models/Components/EventJson5.cs | 26 + .../Cvent/SDK/Models/Components/EventJson6.cs | 4 +- .../Cvent/SDK/Models/Components/EventJson8.cs | 26 - .../Cvent/SDK/Models/Components/EventLite.cs | 26 + .../SDK/Models/Components/EventLiteJson.cs | 26 - .../Models/Components/EventOrganization1.cs | 63 + .../Models/Components/EventQuestionJson.cs | 2 +- .../Components/EventSurveyQuestionJson.cs | 14 +- .../Components/EventSurveyRespondent.cs | 2 +- .../Models/Components/EventSurveyResponse.cs | 2 +- .../Cvent/SDK/Models/Components/EventType1.cs | 77 + .../SDK/Models/Components/EventTypeJson.cs | 75 + .../SDK/Models/Components/EventTypeJson0.cs | 77 - .../SDK/Models/Components/EventTypeJson1.cs | 75 - .../SDK/Models/Components/EventUpdate.cs | 4 +- .../SDK/Models/Components/EventUpdateInput.cs | 2 +- .../Components/ExhibitorCategoryRequest.cs | 2 +- .../Components/ExhibitorCategoryResponse.cs | 2 +- .../SDK/Models/Components/ExhibitorRequest.cs | 4 +- .../Models/Components/ExhibitorResponse.cs | 4 +- .../Components/ExistingAudienceSegment.cs | 2 +- .../Models/Components/ExistingAudioTrack.cs | 10 +- .../Models/Components/ExistingCustomField.cs | 2 +- .../Components/ExistingCustomFieldDetails.cs | 26 +- .../ExistingCustomFieldDetailsInput.cs | 26 +- .../Components/ExistingCustomFieldInput.cs | 2 +- .../Models/Components/ExistingDurationType.cs | 3 + .../ExistingELiteratureRequestDataForLead.cs | 2 +- .../Components/ExistingExhibitorAnswer.cs | 2 +- .../ExistingExhibitorAnswerInput.cs | 2 +- .../Components/ExistingExhibitorQuestion.cs | 6 +- .../SDK/Models/Components/ExistingFile.cs | 2 +- .../SDK/Models/Components/ExistingSpeaker.cs | 4 +- .../Models/Components/ExistingSpeakerInput.cs | 4 +- .../Components/ExistingSponsorshipLevel.cs | 2 +- .../Components/ExistingVideoResponse.cs | 20 +- .../Components/ExistingVideoTextTrack.cs | 8 +- .../Components/ExistingVideoTextTrackInput.cs | 8 +- .../SDK/Models/Components/ExistingWeblink.cs | 2 +- .../SDK/Models/Components/FairSeasonType.cs | 57 + .../Models/Components/FairSeasonTypeJson.cs | 57 - .../src/Cvent/SDK/Models/Components/Field.cs | 70 + .../Cvent/SDK/Models/Components/FieldJson.cs | 20 +- .../Cvent/SDK/Models/Components/FieldJson2.cs | 70 - .../Cvent/SDK/Models/Components/FieldType.cs | 60 + .../SDK/Models/Components/FieldTypeJson.cs | 6 +- .../SDK/Models/Components/FieldTypeJson2.cs | 60 - .../Cvent/SDK/Models/Components/FileInput.cs | 2 +- .../Cvent/SDK/Models/Components/FormatType.cs | 57 + .../SDK/Models/Components/FormatTypeJson.cs | 57 - .../Cvent/SDK/Models/Components/GenderJson.cs | 59 - .../Cvent/SDK/Models/Components/GuestJson.cs | 2 +- .../Models/Components/GuestRoomOccupancy.cs | 59 + .../Components/GuestRoomOccupancyJson.cs | 59 - .../GuestRoomOccupancyPerRoomType.cs | 33 + .../GuestRoomOccupancyPerRoomTypeJson.cs | 33 - .../SDK/Models/Components/GuestRoomType.cs | 60 + .../Models/Components/GuestRoomTypeJson.cs | 60 - .../Models/Components/HlsInputWithClips.cs | 34 + .../Components/HlsInputWithClipsJson.cs | 34 - .../SDK/Models/Components/HotelRequest.cs | 2 +- .../Models/Components/HousingEventHotel.cs | 2 +- .../Components/HousingEventSummaryList.cs | 2 +- .../src/Cvent/SDK/Models/Components/IdJson.cs | 26 - .../SDK/Models/Components/IdOnlyEntity.cs | 26 + .../Cvent/SDK/Models/Components/Industry1.cs | 74 + .../SDK/Models/Components/IndustryJson0.cs | 74 - .../InvitationListPaginatedResponse.cs | 2 +- .../src/Cvent/SDK/Models/Components/Lead.cs | 8 +- .../Components/LeadQualificationAnswers.cs | 2 +- .../Components/LeadQualificationQuestion.cs | 8 +- .../LeadQualifiedQuestionResponseJson.cs | 2 +- .../Cvent/SDK/Models/Components/LeadSource.cs | 2 +- .../SDK/Models/Components/LeadSourceJson.cs | 33 - .../Models/Components/LeadSourceSection.cs | 26 + .../Components/LeadSourceSectionJson.cs | 26 - .../Models/Components/ManagementLevelType1.cs | 59 + .../Components/ManagementLevelTypeJson1.cs | 59 - .../SDK/Models/Components/MeasurementUnit.cs | 61 + .../Models/Components/MeasurementUnitJson0.cs | 57 - .../Components/MeetingRequestQuestionJson.cs | 2 +- .../SDK/Models/Components/MembershipJson.cs | 63 - .../Components/MessageRecipientResponse.cs | 33 + .../MessageRecipientResponseAttendee.cs | 39 + .../MessageRecipientsPaginatedResponse.cs | 4 +- .../MessageRecipientsResponseJson.cs | 33 - .../MessageRecipientsResponseJsonAttendee.cs | 39 - .../Models/Components/NumericAnswerFormat.cs | 58 + .../Components/NumericAnswerFormatJson.cs | 58 - .../Models/Components/OfferingCostType1.cs | 117 + .../Components/OfferingCostTypeJson0.cs | 117 - .../src/Cvent/SDK/Models/Components/One.cs | 52 + .../Cvent/SDK/Models/Components/OneAllOf.cs | 26 - .../Cvent/SDK/Models/Components/OneOneOf.cs | 52 - .../Cvent/SDK/Models/Components/OptOutJson.cs | 40 - .../SDK/Models/Components/OptOutJsonInput.cs | 26 - .../Cvent/SDK/Models/Components/OptoutBy.cs | 67 + .../SDK/Models/Components/OrderDetail.cs | 2 +- .../Models/Components/OrderItemResponse.cs | 2 +- .../SDK/Models/Components/Organization.cs | 26 + .../SDK/Models/Components/OrganizationJson.cs | 26 - .../Models/Components/OrganizationType1.cs | 64 + .../Components/OrganizationTypeJson0.cs | 64 - .../Components/PackagePricingPreference.cs | 58 + .../PackagePricingPreferenceJson.cs | 58 - .../Components/PaginatedInternalDocuments.cs | 4 +- .../Components/PaginatedRfpAgendaItems.cs | 4 +- .../PaginatedRfpAgendaItemsSchedule.cs | 4 +- .../Components/PaginatedRfpAttachments.cs | 4 +- .../Components/PaginatedRfpCustomField.cs | 4 +- .../Components/PaginatedRfpQuestions.cs | 4 +- .../PaginatedRfpRecipientsHistory.cs | 4 +- .../Components/PaginatedRfpSuppliers.cs | 4 +- .../SDK/Models/Components/PagingJson19.cs | 51 - .../SDK/Models/Components/PagingJson2.cs | 51 + .../Components/PagingNoTotalCountJson.cs | 51 + .../Components/PagingNoTotalCountJson2.cs | 51 - .../Cvent/SDK/Models/Components/Passport.cs | 40 + .../SDK/Models/Components/PassportInput.cs | 34 + .../SDK/Models/Components/PassportJson.cs | 40 - .../Models/Components/PassportJsonInput.cs | 34 - .../SDK/Models/Components/PaymentInfoJson.cs | 2 +- .../SDK/Models/Components/PlannerJson2.cs | 2 +- .../SDK/Models/Components/PolicyValueType.cs | 62 + .../Models/Components/PolicyValueTypeJson.cs | 62 - .../SDK/Models/Components/ProgramItemLite.cs | 26 + .../Models/Components/ProgramItemLiteJson.cs | 26 - .../ProgramItemSpeakerPaginatedResponse.cs | 2 +- .../Cvent/SDK/Models/Components/Property.cs | 2 +- .../SDK/Models/Components/PropertyRoom.cs | 2 +- .../SDK/Models/Components/ProposalDateJson.cs | 2 +- .../SDK/Models/Components/ProposalRequest.cs | 6 +- .../SDK/Models/Components/ProposalResponse.cs | 6 +- .../Models/Components/ProposalStatusType.cs | 68 + .../Components/ProposalStatusTypeJson.cs | 68 - .../SDK/Models/Components/ProximityJson.cs | 2 +- .../Cvent/SDK/Models/Components/Question.cs | 6 +- .../Components/QuestionClassificationType.cs | 58 + .../QuestionClassificationTypeJson.cs | 58 - .../SDK/Models/Components/QuestionJson.cs | 50 + .../SDK/Models/Components/QuestionJson1.cs | 131 +- .../SDK/Models/Components/QuestionJson2.cs | 125 +- .../SDK/Models/Components/QuestionJson3.cs | 38 - .../Components/QuestionPaginatedResponse.cs | 2 +- .../Components/QuestionResponseDataType.cs | 62 + .../QuestionResponseDataTypeJson.cs | 62 - .../Components/QuestionResponseFormat.cs | 58 + .../Components/QuestionResponseFormatJson.cs | 58 - .../Models/Components/QuestionResponseJson.cs | 2 +- .../Models/Components/QuestionResponseType.cs | 57 + .../Components/QuestionResponseTypeJson.cs | 57 - .../SDK/Models/Components/QuestionSection.cs | 57 + .../Models/Components/QuestionSectionJson.cs | 57 - .../SDK/Models/Components/QuestionType.cs | 77 + .../SDK/Models/Components/QuestionTypeJson.cs | 37 +- .../Models/Components/QuestionTypeJson1.cs | 35 +- .../Models/Components/QuestionTypeJson2.cs | 23 +- .../Models/Components/QuestionTypeJson3.cs | 64 - .../Components/QuestionWithProgramIdJson.cs | 95 - .../QuestionWithProgramIdJsonTravelProgram.cs | 26 - .../Components/QuestionsPaginatedResponse.cs | 2 +- .../Components/QuestionsPaginatedResponse1.cs | 4 +- .../SDK/Models/Components/RateLevelType.cs | 58 + .../Models/Components/RateLevelTypeJson.cs | 58 - .../Models/Components/RateReviewStatusType.cs | 59 + .../Components/RateReviewStatusTypeJson.cs | 59 - .../Cvent/SDK/Models/Components/RateType.cs | 58 + .../SDK/Models/Components/RateTypeJson.cs | 58 - .../Cvent/SDK/Models/Components/RebateType.cs | 57 + .../SDK/Models/Components/RebateTypeJson.cs | 57 - .../SDK/Models/Components/RecipientInfo.cs | 39 + .../Models/Components/RecipientInfoJson0.cs | 39 - .../SDK/Models/Components/RecipientType.cs | 58 + .../Models/Components/RecipientTypeJson0.cs | 58 - .../Components/RegistrationPackRequest.cs | 2 +- .../Components/RegistrationPackResponse.cs | 2 +- .../Components/ReservationGuestJsonInput.cs | 2 +- .../Components/ReservationGuestJsonOutput.cs | 2 +- .../ReservationPaymentInfoJsonInput.cs | 2 +- .../ReservationPaymentInfoJsonOutput.cs | 2 +- .../SDK/Models/Components/RespondentJson.cs | 2 +- .../src/Cvent/SDK/Models/Components/Rfp.cs | 36 +- .../SDK/Models/Components/RfpAgendaItem.cs | 143 + .../Models/Components/RfpAgendaItemJson.cs | 143 - .../Components/RfpAgendaItemSchedule.cs | 33 + .../Components/RfpAgendaItemScheduleJson.cs | 33 - .../Components/RfpAgendaItemScheduleWithId.cs | 39 + .../RfpAgendaItemScheduleWithIdJson.cs | 39 - .../SDK/Models/Components/RfpAttachment.cs | 118 + .../Models/Components/RfpAttachmentJson.cs | 118 - .../Components/RfpAttachmentJsonSupplier.cs | 26 - .../Components/RfpAttachmentSupplier.cs | 26 + .../Models/Components/RfpCustomFieldJson.cs | 38 - .../SDK/Models/Components/RfpDateMode.cs | 57 + .../SDK/Models/Components/RfpDateModeJson0.cs | 57 - .../Cvent/SDK/Models/Components/RfpEvent.cs | 141 + .../SDK/Models/Components/RfpEventJson.cs | 141 - .../Components/RfpEventOrganizationJson.cs | 63 - .../SDK/Models/Components/RfpGuestRooms.cs | 4 +- .../Cvent/SDK/Models/Components/RfpIdJson.cs | 26 + .../Cvent/SDK/Models/Components/RfpIdJson1.cs | 26 - .../Models/Components/RfpInternalDocument.cs | 70 + .../Components/RfpInternalDocumentJson0.cs | 70 - .../Cvent/SDK/Models/Components/RfpMeal.cs | 68 + .../SDK/Models/Components/RfpMealJson.cs | 68 - .../SDK/Models/Components/RfpPastEvent.cs | 80 + .../SDK/Models/Components/RfpPastEventJson.cs | 80 - .../SDK/Models/Components/RfpPastEvents.cs | 2 +- .../SDK/Models/Components/RfpQuestion.cs | 269 + .../SDK/Models/Components/RfpQuestionJson.cs | 269 - .../Models/Components/RfpRecipientLogEntry.cs | 64 + .../Components/RfpRecipientLogEntryJson.cs | 64 - .../RfpRecipientLogEntryJsonMessage.cs | 26 - .../RfpRecipientLogEntryJsonSupplier.cs | 26 - .../Components/RfpRecipientLogEntryMessage.cs | 26 + .../RfpRecipientLogEntrySupplier.cs | 26 + .../Models/Components/RfpResponseReason.cs | 96 + .../Components/RfpResponseReasonJson.cs | 96 - .../Cvent/SDK/Models/Components/RfpStatus1.cs | 62 + .../SDK/Models/Components/RfpStatusJson0.cs | 62 - .../SDK/Models/Components/RfpSupplier.cs | 187 + .../SDK/Models/Components/RfpSupplierJson.cs | 187 - .../Components/RfpSupplierLeadSource.cs | 33 + .../Cvent/SDK/Models/Components/RfpType1.cs | 60 + .../SDK/Models/Components/RfpTypeJson0.cs | 60 - .../SDK/Models/Components/RoomBedTypeJson.cs | 64 + .../SDK/Models/Components/RoomBedTypeJson1.cs | 64 - .../Cvent/SDK/Models/Components/RoomBlock.cs | 53 + .../SDK/Models/Components/RoomBlockDetails.cs | 33 + .../Models/Components/RoomBlockDetailsJson.cs | 33 - .../SDK/Models/Components/RoomBlockJson.cs | 53 - .../Cvent/SDK/Models/Components/ScoresJson.cs | 2 +- .../Components/SendEmailEventRequest.cs | 2 +- .../Components/SendEmailEventResponse.cs | 2 +- .../SDK/Models/Components/SessionLite.cs | 26 + .../SDK/Models/Components/SessionLiteJson.cs | 26 - .../SDK/Models/Components/SessionQaMessage.cs | 2 +- .../SDK/Models/Components/SessionSpeaker.cs | 45 + .../Models/Components/SessionSpeakerJson.cs | 45 - .../SessionSpeakerPaginatedResponse.cs | 4 +- .../Components/SleepingRoomBlockJson.cs | 2 +- .../SDK/Models/Components/SleepingRoomJson.cs | 2 +- .../Cvent/SDK/Models/Components/Solution.cs | 57 + .../SDK/Models/Components/SolutionJson.cs | 57 - .../Cvent/SDK/Models/Components/SpaceArea.cs | 129 + .../SDK/Models/Components/SpaceAreaJson0.cs | 129 - .../Cvent/SDK/Models/Components/Speaker.cs | 4 +- .../SDK/Models/Components/SpeakerCategory.cs | 26 - .../SDK/Models/Components/SpeakerCategory1.cs | 32 + .../SDK/Models/Components/SpeakerCategory2.cs | 26 + .../SpeakerCategoryPaginatedResponse.cs | 2 +- .../SpeakerDocumentPaginatedResponse.cs | 2 +- .../SDK/Models/Components/SpeakerLite1.cs | 26 + .../SDK/Models/Components/SpeakerLiteJson.cs | 26 - .../Components/SpeakerPaginatedResponse.cs | 2 +- .../Models/Components/SpeakerProgramItem.cs | 8 +- .../SDK/Models/Components/SpeakerSession.cs | 2 +- .../SDK/Models/Components/StakeholderJson.cs | 2 +- .../SDK/Models/Components/StandardQuestion.cs | 26 + .../Models/Components/StandardQuestionJson.cs | 26 - .../Models/Components/StandardSurveyJson.cs | 2 +- .../Components/StandardSurveyQuestionJson.cs | 14 +- .../Cvent/SDK/Models/Components/Supplier.cs | 28 +- .../SDK/Models/Components/SupplierResponse.cs | 2 +- .../SDK/Models/Components/SupplierType.cs | 59 + .../SDK/Models/Components/SupplierTypeJson.cs | 7 +- .../Models/Components/SupplierTypeJson1.cs | 56 - .../SDK/Models/Components/SurveyContactId.cs | 32 + .../Models/Components/SurveyContactIdJson.cs | 32 - .../Cvent/SDK/Models/Components/SurveyJson.cs | 2 +- .../Cvent/SDK/Models/Components/TargetType.cs | 73 + .../SDK/Models/Components/TargetTypeJson.cs | 73 - .../Cvent/SDK/Models/Components/TaxType.cs | 64 + .../SDK/Models/Components/TaxTypeJson.cs | 64 - .../SDK/Models/Components/TextAnswerFormat.cs | 59 + .../Models/Components/TextAnswerFormatJson.cs | 59 - .../Cvent/SDK/Models/Components/TextField.cs | 38 + .../SDK/Models/Components/TextFieldJson.cs | 4 +- .../SDK/Models/Components/TextFieldJson1.cs | 38 - .../src/Cvent/SDK/Models/Components/Three.cs | 2 +- .../Cvent/SDK/Models/Components/ThreeInput.cs | 2 +- .../SDK/Models/Components/ThumbnailStatus.cs | 60 + .../Models/Components/ThumbnailStatusJson.cs | 60 - .../SDK/Models/Components/ThumbnailType.cs | 62 + .../Models/Components/ThumbnailTypeJson.cs | 62 - .../Components/TransactionDetailResponse.cs | 2 +- .../Components/TransactionItemResponse.cs | 2 +- .../SDK/Models/Components/TravelAccount.cs | 4 +- .../TravelAccountPaginatedResponse.cs | 2 +- .../TravelAccountSupplierAccount.cs | 2 +- ...AccountSupplierAccountPaginatedResponse.cs | 2 +- .../Models/Components/TravelAccountType.cs | 58 + .../Components/TravelAccountTypeJson.cs | 58 - .../Models/Components/TravelAmenityJson.cs | 68 - .../SDK/Models/Components/TravelBidAmenity.cs | 75 + .../Models/Components/TravelBidAmenityJson.cs | 75 - .../SDK/Models/Components/TravelBidComment.cs | 33 + .../Models/Components/TravelBidCommentJson.cs | 33 - .../Models/Components/TravelBidDiscount.cs | 39 + .../Components/TravelBidDiscountJson.cs | 39 - .../TravelBidDiscountJsonPropertyRoom.cs | 26 - .../TravelBidDiscountPropertyRoom.cs | 26 + .../Models/Components/TravelBidDisposition.cs | 40 + .../TravelBidDispositionAcceptedRoom.cs | 39 + .../TravelBidDispositionAcceptedRoomJson.cs | 39 - ...DispositionAcceptedRoomJsonPropertyRoom.cs | 26 - ...lBidDispositionAcceptedRoomPropertyRoom.cs | 26 + .../Components/TravelBidDispositionJson.cs | 40 - .../Models/Components/TravelBidFairSeason.cs | 71 + .../Components/TravelBidFairSeasonJson.cs | 71 - .../Components/TravelBidFairSeasonRate.cs | 63 + .../Components/TravelBidFairSeasonRateJson.cs | 63 - ...TravelBidFairSeasonRateJsonPropertyRoom.cs | 26 - .../TravelBidFairSeasonRatePropertyRoom.cs | 26 + .../SDK/Models/Components/TravelBidPolicy.cs | 63 + .../Models/Components/TravelBidPolicyJson.cs | 63 - .../Models/Components/TravelBidRateJson.cs | 45 - .../SDK/Models/Components/TravelBidRoom.cs | 45 + .../Models/Components/TravelBidRoomJson.cs | 45 - .../TravelBidRoomJsonPropertyRoom.cs | 26 - .../Components/TravelBidRoomPropertyRoom.cs | 26 + .../SDK/Models/Components/TravelBidSeason.cs | 71 + .../Models/Components/TravelBidSeasonJson.cs | 71 - .../Models/Components/TravelBidSeasonRate.cs | 75 + .../Components/TravelBidSeasonRateJson.cs | 75 - .../TravelBidSeasonRateJsonPropertyRoom.cs | 26 - .../TravelBidSeasonRatePropertyRoom.cs | 26 + .../Models/Components/TravelBidTaxAndFee.cs | 57 + .../Models/Components/TravelBidTaxFeeJson.cs | 57 - .../Components/TravelBidWeekendDayJson.cs | 62 - .../Models/Components/TravelBidWeekendDays.cs | 62 + .../Components/TravelBreakOutRoomJson.cs | 50 - .../Components/TravelDayDelegateRateJson.cs | 44 - .../Components/TravelGroupAndMeetingJson.cs | 57 - .../TravelMeetingRoomBasicInfoJson.cs | 38 - .../SDK/Models/Components/TravelProgram.cs | 10 +- .../Components/TravelProgramFormatType.cs | 57 + .../Components/TravelProgramFormatTypeJson.cs | 57 - .../TravelProgramPaginatedResponse.cs | 2 +- .../Components/TravelProgramQuestion.cs | 95 + .../Components/TravelProgramQuestion1.cs | 45 + .../Components/TravelProgramQuestionJson.cs | 45 - .../TravelProgramQuestionTravelProgram.cs | 26 + .../Models/Components/TravelProgramStatus.cs | 58 + .../Components/TravelProgramStatusJson.cs | 58 - .../Components/TravelProgramStayType.cs | 57 + .../Components/TravelProgramStayTypeJson.cs | 57 - .../Models/Components/TravelProgramType.cs | 58 + .../Components/TravelProgramTypeJson.cs | 58 - .../SDK/Models/Components/TravelProposal.cs | 16 +- .../Models/Components/TravelProposalBid.cs | 154 - .../Models/Components/TravelProposalBid1.cs | 26 + .../Models/Components/TravelProposalBid2.cs | 154 + .../Components/TravelProposalBidIdJson.cs | 26 - .../TravelProposalBidPaginatedResponse.cs | 4 +- .../Components/TravelProposalBidRate.cs | 45 + .../TravelProposalCustomQuestion.cs | 33 + .../TravelProposalCustomQuestionQuestion.cs | 26 + .../Components/TravelProposalDisposition.cs | 34 + .../TravelProposalDispositionJson.cs | 34 - .../TravelProposalGroupAndMeeting.cs | 57 + .../TravelProposalGroupAndMeetingAmenity.cs | 68 + ...avelProposalGroupAndMeetingBreakOutRoom.cs | 50 + ...lProposalGroupAndMeetingDayDelegateRate.cs | 44 + ...upAndMeetingMeetingRoomBasicInformation.cs | 38 + ...elProposalGroupAndMeetingRunOfHouseRate.cs | 80 + ...posalGroupAndMeetingTaxAndServiceCharge.cs | 56 + .../TravelProposalPaginatedResponse.cs | 2 +- .../Components/TravelRunOfHouseRateJson.cs | 80 - .../TravelTaxAndServiceChargeJson.cs | 56 - .../SDK/Models/Components/UnitPosition.cs | 57 + .../SDK/Models/Components/UnitPositionJson.cs | 57 - .../Components/UpdatedThroughNameProperty.cs | 141 + .../UpdatedThroughNamePropertyJson.cs | 141 - .../src/Cvent/SDK/Models/Components/User.cs | 2 +- .../Cvent/SDK/Models/Components/UserInput.cs | 2 +- .../Cvent/SDK/Models/Components/UserJson.cs | 2 +- .../SDK/Models/Components/VenueSummary.cs | 2 +- .../src/Cvent/SDK/Models/Components/Video1.cs | 26 + .../SDK/Models/Components/VideoAssetID.cs | 26 + .../SDK/Models/Components/VideoAssetIdJson.cs | 26 - .../Cvent/SDK/Models/Components/VideoClip.cs | 32 + .../SDK/Models/Components/VideoClipJson.cs | 32 - .../Cvent/SDK/Models/Components/VideoError.cs | 33 + .../SDK/Models/Components/VideoErrorCode.cs | 29 + .../Models/Components/VideoErrorCodeJson.cs | 29 - .../SDK/Models/Components/VideoErrorJson.cs | 33 - .../Cvent/SDK/Models/Components/VideoJson.cs | 26 - .../SDK/Models/Components/VideoRendition.cs | 76 + .../Models/Components/VideoRenditionJson.cs | 76 - .../Components/VideoRenditionJsonLink.cs | 26 - .../Models/Components/VideoRenditionLink.cs | 26 + .../Models/Components/VideoRenditionType.cs | 62 + .../Components/VideoRenditionTypeJson.cs | 62 - .../Components/VideoRenditionsResponse.cs | 2 +- .../SDK/Models/Components/VideoSource.cs | 33 + .../SDK/Models/Components/VideoSourceJson.cs | 33 - .../Components/VideoSourceJsonStatus.cs | 59 - .../Models/Components/VideoSourceStatus.cs | 59 + .../SDK/Models/Components/VideoStatus.cs | 65 + .../SDK/Models/Components/VideoStatusJson.cs | 65 - .../SDK/Models/Components/VideoTextTrack.cs | 6 +- .../Models/Components/VideoTextTrackKind.cs | 60 + .../Components/VideoTextTrackKindJson.cs | 60 - .../Models/Components/VideoTextTrackStatus.cs | 64 + .../Components/VideoTextTrackStatusJson.cs | 64 - .../SDK/Models/Components/VideoThumbnail.cs | 57 + .../Models/Components/VideoThumbnailJson.cs | 57 - .../Cvent/SDK/Models/Components/VideoType.cs | 66 + .../SDK/Models/Components/VideoTypeJson.cs | 66 - .../Cvent/SDK/Models/Components/VideoView.cs | 71 + .../SDK/Models/Components/VideoViewJson.cs | 71 - .../Components/VideoViewsPaginatedResponse.cs | 4 +- .../SDK/Models/Components/VideoWarning.cs | 33 + .../SDK/Models/Components/VideoWarningCode.cs | 21 + .../Models/Components/VideoWarningCodeJson.cs | 21 - .../SDK/Models/Components/VideoWarningJson.cs | 33 - .../Components/VideosPaginatedResponse.cs | 2 +- .../Cvent/SDK/Models/Components/ViewType1.cs | 57 + .../SDK/Models/Components/ViewTypeJson1.cs | 57 - .../Cvent/SDK/Models/Components/Voucher.cs | 64 + .../SDK/Models/Components/VoucherCapacity.cs | 32 + .../Components/VouchersPaginatedResponse.cs | 34 + .../Cvent/SDK/Models/Components/Weblink.cs | 2 +- .../SDK/Models/Components/WeddingDetails1.cs | 57 + .../Models/Components/WeddingDetailsJson0.cs | 57 - .../SDK/Models/Components/WeddingPartner.cs | 33 + .../Models/Components/WeddingPartnerJson.cs | 33 - .../Cvent/SDK/Models/Components/ZeroAllOf7.cs | 290 +- .../Cvent/SDK/Models/Components/ZeroAllOf8.cs | 50 +- .../Cvent/SDK/Models/Components/ZeroAllOf9.cs | 70 - .../Cvent/SDK/Models/Errors/ErrorResponse1.cs | 4 +- .../Cvent/SDK/Models/Errors/ErrorResponse2.cs | 4 +- .../SDK/Models/Errors/ErrorResponseJson12.cs | 85 + .../SDK/Models/Errors/ErrorResponseJson17.cs | 85 - .../Models/Requests/CreateContactsRequest.cs | 2 +- .../Models/Requests/CreateContactsResponse.cs | 2 +- .../Requests/GetAttendeeByIdResponse.cs | 2 +- .../GetAttendeeMessagesMembersRequest.cs | 31 +- .../Requests/GetTravelProposalBidResponse.cs | 2 +- .../Models/Requests/GetVideoViewsRequest.cs | 28 +- .../Models/Requests/ListDurationsRequest.cs | 45 +- .../ListEventVoucherAttendeesRequest.cs | 41 + .../ListEventVoucherAttendeesResponse.cs | 29 + .../ListEventVouchersPostFilterRequest.cs | 70 + .../ListEventVouchersPostFilterResponse.cs | 29 + .../Requests/ListEventVouchersRequest.cs | 79 + .../Requests/ListEventVouchersResponse.cs | 29 + .../SDK/Models/Requests/ListVideosRequest.cs | 40 +- .../Models/Requests/PatchContactsResponse.cs | 2 +- .../Models/Requests/UpdateAttendeeResponse.cs | 2 +- .../Models/Requests/UpdateContactsResponse.cs | 2 +- packages/csharp/src/Cvent/SDK/SDKConfig.cs | 2 +- packages/csharp/src/Cvent/SDK/Sessions.cs | 28 +- packages/csharp/src/Cvent/SDK/Speakers.cs | 32 +- .../csharp/src/Cvent/SDK/TravelAccounts.cs | 4 +- packages/csharp/src/Cvent/SDK/TravelRFPs.cs | 16 +- packages/csharp/src/Cvent/SDK/UserSCIM.cs | 132 +- .../csharp/src/Cvent/SDK/Utils/Constants.cs | 2 +- packages/java/.speakeasy/gen.lock | 3648 +++---- packages/java/.speakeasy/gen.yaml | 2 +- packages/java/.speakeasy/tests.arazzo.yaml | 97 + packages/java/README.md | 15 +- .../AccountBudgetItemListResponseJson.md | 4 +- .../java/docs/models/components/Action.md | 19 + .../models/components/AdditionalChoice.md | 9 +- .../models/components/AdditionalChoice1.md | 10 + .../models/components/AdditionalChoiceJson.md | 11 + .../components/AdditionalChoiceJson1.md | 11 - .../components/AdditionalChoiceJson2.md | 11 - .../java/docs/models/components/Address.md | 18 + .../java/docs/models/components/Address1.md | 12 + .../java/docs/models/components/Address11.md | 15 +- .../java/docs/models/components/Address12.md | 17 - .../java/docs/models/components/Address2.md | 15 - .../java/docs/models/components/Address3.md | 6 +- .../java/docs/models/components/Address4.md | 15 + .../java/docs/models/components/Address5.md | 18 + .../java/docs/models/components/Address6.md | 17 + .../docs/models/components/AddressInput.md | 16 + .../docs/models/components/AddressJson.md | 23 +- .../docs/models/components/AddressJson0.md | 12 - .../docs/models/components/AddressJson1.md | 17 + .../docs/models/components/AddressJson2.md | 21 +- .../docs/models/components/AddressJson3.md | 17 - .../docs/models/components/AddressJson4.md | 16 - .../docs/models/components/AddressJson5.md | 17 - .../models/components/AddressJsonInput.md | 16 - .../docs/models/components/AddressTypeJson.md | 8 +- .../models/components/AddressTypeJson1.md | 19 - .../docs/models/components/AgendaItemSetup.md | 43 + .../models/components/AgendaItemSetupJson.md | 43 - .../docs/models/components/AgendaItemType.md | 36 + .../models/components/AgendaItemTypeJson.md | 36 - .../docs/models/components/AmenityType.md | 20 + .../docs/models/components/AmenityTypeJson.md | 20 - .../components/AppointmentWithQuestions.md | 2 +- .../docs/models/components/AssetLocation.md | 10 + .../models/components/AssetLocationInput.md | 9 + .../models/components/AssetLocationJson.md | 10 - .../components/AssetLocationJsonInput.md | 9 - .../models/components/AttachmentSource.md | 22 + .../models/components/AttachmentSourceJson.md | 22 - .../java/docs/models/components/Attendee.md | 10 + .../java/docs/models/components/Attendee1.md | 54 - .../java/docs/models/components/Attendee11.md | 52 +- .../java/docs/models/components/Attendee12.md | 4 +- .../java/docs/models/components/Attendee13.md | 10 + .../docs/models/components/Attendee1Event.md | 10 + .../docs/models/components/Attendee1Lookup.md | 12 + .../java/docs/models/components/Attendee2.md | 6 +- ...tendeeAddBulkItemEventJsonErrorResponse.md | 2 +- .../models/components/AttendeeContactInfo.md | 4 +- .../components/AttendeeContactTypeInput.md | 10 + .../components/AttendeeContactTypeJson.md | 11 - .../AttendeeContactTypeJsonInput.md | 10 - .../docs/models/components/AttendeeEvent.md | 10 - .../models/components/AttendeeInsights.md | 2 +- .../docs/models/components/AttendeeLookup.md | 12 - .../components/AttendeePaginatedResponse.md | 2 +- .../components/AttendeesPaginatedResponse.md | 11 + .../docs/models/components/AudienceSegment.md | 2 +- .../components/AudienceSegmentCreate.md | 2 +- .../components/AudienceSegmentResponse.md | 2 +- .../models/components/AudioTrackStatus.md | 25 + .../models/components/AudioTrackStatusJson.md | 25 - .../docs/models/components/AudioTrackType.md | 27 + .../models/components/AudioTrackTypeJson.md | 27 - .../models/components/AudioTrackVariant.md | 22 + .../components/AudioTrackVariantJson.md | 22 - packages/java/docs/models/components/Badge.md | 4 +- .../java/docs/models/components/BadgeInput.md | 4 +- .../models/components/BidItemStatusType.md | 21 + .../components/BidItemStatusTypeJson.md | 21 - .../docs/models/components/BidStatusType.md | 20 + .../models/components/BidStatusTypeJson.md | 20 - .../docs/models/components/BidStayType.md | 19 + .../docs/models/components/BidStayTypeJson.md | 19 - .../docs/models/components/BillingDetails1.md | 14 + .../models/components/BillingDetailsJson0.md | 14 - .../models/components/BoothStaffRequest.md | 4 +- .../models/components/BoothStaffResponse.md | 4 +- .../models/components/BounceDetailsJson.md | 2 +- .../components/BounceDetailsResponse.md | 8 +- packages/java/docs/models/components/Brand.md | 2 +- .../docs/models/components/BrideGroomType.md | 19 + .../models/components/BrideGroomTypeJson0.md | 19 - .../docs/models/components/BusinessType.md | 19 + .../models/components/BusinessTypeJson.md | 19 - .../models/components/CancellationDetails.md | 12 + .../components/CancellationDetailsJson.md | 12 - .../models/components/CancelledReason1.md | 27 + .../models/components/CancelledReasonJson0.md | 27 - .../java/docs/models/components/Category.md | 13 + .../models/components/CategoryIdNameJson.md | 11 - .../components/CategoryItemsCostJson.md | 10 +- .../docs/models/components/CategoryJson.md | 14 +- .../docs/models/components/CategoryJson1.md | 14 +- .../docs/models/components/CategoryJson2.md | 13 - packages/java/docs/models/components/Chain.md | 2 +- .../java/docs/models/components/Choice.md | 13 +- .../java/docs/models/components/Choice1.md | 12 + .../java/docs/models/components/ChoiceJson.md | 13 - .../docs/models/components/ChoiceJson1.md | 13 + .../docs/models/components/ChoiceJson2.md | 12 +- .../models/components/ChoiceJson2Input.md | 10 + .../docs/models/components/ChoiceJson3.md | 11 - .../models/components/ChoiceJson3Input.md | 10 - .../docs/models/components/ChoiceSortOrder.md | 20 + .../models/components/ChoiceSortOrderJson.md | 20 - .../java/docs/models/components/Choices.md | 2 +- .../docs/models/components/CommentType.md | 22 + .../docs/models/components/CommentTypeJson.md | 22 - .../java/docs/models/components/Compliance.md | 12 +- .../models/components/ComplianceAction.md | 19 - .../components/ComplianceComplianceScope.md | 18 - .../models/components/ComplianceCreatedBy.md | 27 - .../docs/models/components/ComplianceJson.md | 13 - .../models/components/ComplianceJsonAction.md | 19 - .../ComplianceJsonComplianceScope.md | 18 - .../components/ComplianceJsonCreatedBy.md | 27 - .../docs/models/components/ComplianceScope.md | 18 + .../models/components/ConflictResolution.md | 6 +- .../java/docs/models/components/Contact.md | 20 +- .../java/docs/models/components/Contact1.md | 19 + .../java/docs/models/components/Contact2.md | 10 + .../models/components/ContactBulkItemJson.md | 13 - .../components/ContactBulkItemJsonData.md | 2 - .../components/ContactBulkResponseItem.md | 13 + .../components/ContactBulkResponseItemData.md | 2 + .../docs/models/components/ContactCreate.md | 45 + .../models/components/ContactCreateEvent.md | 12 + .../components/ContactCreateRequestJson.md | 45 - .../ContactCreateRequestJsonEvent.md | 12 - .../docs/models/components/ContactGroup.md | 4 +- .../models/components/ContactGroupInput.md | 4 +- .../ContactGroupPaginatedResponse.md | 2 +- .../models/components/ContactGroupType.md | 20 + .../models/components/ContactGroupTypeJson.md | 20 - .../docs/models/components/ContactHistory.md | 15 + .../models/components/ContactHistoryJson.md | 15 - .../ContactHistoryPaginatedResponse.md | 8 +- .../java/docs/models/components/ContactId.md | 10 + .../docs/models/components/ContactIdJson.md | 10 - .../components/ContactIdPaginatedResponse.md | 4 +- .../docs/models/components/ContactJson.md | 28 + .../docs/models/components/ContactJson0.md | 19 - .../docs/models/components/ContactJson1.md | 28 - .../docs/models/components/ContactJson2.md | 10 - .../models/components/ContactLinksInput.md | 12 + .../models/components/ContactLinksJson.md | 13 - .../components/ContactLinksJsonInput.md | 12 - .../models/components/ContactLinksJsonLink.md | 10 - .../models/components/ContactMembership.md | 16 + .../models/components/ContactMergeField.md | 11 + .../components/ContactMergeFieldJson.md | 11 - .../docs/models/components/ContactMethods.md | 22 + .../models/components/ContactMethodsJson.md | 22 - .../components/ContactObfuscationStatus.md | 4 +- .../ContactObfuscationStatusType.md | 32 + .../ContactObfuscationStatusTypeJson.md | 32 - .../docs/models/components/ContactOptOut.md | 12 + .../models/components/ContactOptOutInput.md | 10 + .../components/ContactPaginatedResponse.md | 4 +- .../docs/models/components/ContactPatch.md | 10 +- .../docs/models/components/ContactType.md | 14 + .../docs/models/components/ContactTypeJson.md | 23 +- .../models/components/ContactTypeJson1.md | 19 - .../ContactTypePaginatedResponse.md | 8 +- .../docs/models/components/ContactUpdate.md | 16 +- .../components/CreateTransactionResponse.md | 2 +- .../CreateTransactionResponseInput.md | 2 +- .../java/docs/models/components/CreatedBy.md | 27 + .../docs/models/components/CurrencyJson1.md | 184 - .../docs/models/components/CurrencyJson2.md | 184 + .../docs/models/components/CustomField3.md | 2 +- .../models/components/CustomFieldAnswers.md | 11 + .../docs/models/components/CustomFieldJson.md | 14 + .../models/components/CustomFieldJson1.md | 10 +- .../CustomFieldJson1CustomFieldType.md | 32 +- .../models/components/CustomFieldJson2.md | 12 +- .../CustomFieldJson2CustomFieldType.md | 32 +- .../models/components/CustomFieldJson3.md | 14 - .../CustomFieldJson3CustomFieldType.md | 36 - .../CustomFieldJsonCustomFieldType.md | 36 + .../models/components/CustomFieldTypeJson.md | 23 + .../models/components/CustomFieldTypeJson1.md | 23 - .../components/CustomQuestionAnswerJson0.md | 11 - .../CustomQuestionAnswerJson0Question.md | 10 - .../models/components/DateAnswerFormat.md | 20 + .../models/components/DateAnswerFormatJson.md | 20 - .../docs/models/components/DatePattern1.md | 15 + .../models/components/DatePatternJson0.md | 15 - .../models/components/DateRequirements1.md | 13 + .../components/DateRequirementsJson0.md | 13 - .../docs/models/components/DateTypeJson.md | 30 + .../docs/models/components/DateTypeJson1.md | 30 - .../java/docs/models/components/Dates1.md | 14 + .../java/docs/models/components/DatesJson0.md | 14 - .../java/docs/models/components/DayOfWeek.md | 24 + .../docs/models/components/DayOfWeekJson0.md | 24 - .../java/docs/models/components/Device1.md | 14 + .../java/docs/models/components/DeviceJson.md | 14 - .../java/docs/models/components/DeviceType.md | 20 + .../docs/models/components/DeviceTypeJson.md | 20 - .../docs/models/components/DisplayType.md | 23 + .../docs/models/components/DisplayTypeJson.md | 23 - .../docs/models/components/DistanceJson.md | 11 + .../docs/models/components/DistanceJson1.md | 11 - .../models/components/DistributionListInfo.md | 12 + .../components/DistributionListInfoInput.md | 11 + .../components/DistributionListInfoJson.md | 12 - .../DistributionListInfoJsonInput.md | 11 - .../DistributionListSecurityType.md | 20 + .../DistributionListSecurityTypeJson.md | 20 - .../components/DistributionListStatus.md | 20 + .../components/DistributionListStatusJson.md | 20 - .../docs/models/components/DocumentType1.md | 50 + .../models/components/DocumentTypeJson0.md | 50 - .../models/components/EmailHistoryJson.md | 2 +- .../java/docs/models/components/EmailJson1.md | 10 +- .../docs/models/components/EmailTypeJson.md | 19 + .../docs/models/components/EmailTypeJson1.md | 72 +- .../docs/models/components/EmailTypeJson3.md | 79 - .../docs/models/components/EncodingProfile.md | 19 + .../models/components/EncodingProfileJson.md | 19 - .../docs/models/components/ErrorResponse1.md | 12 +- .../docs/models/components/ErrorResponse2.md | 12 +- .../java/docs/models/components/Event1.md | 4 +- .../java/docs/models/components/Event12.md | 10 + .../java/docs/models/components/Event21.md | 10 - .../java/docs/models/components/Event3.md | 10 + .../java/docs/models/components/EventAllOf.md | 10 - .../docs/models/components/EventContactId.md | 11 + .../models/components/EventContactIdJson.md | 11 - .../EventEmailsPaginatedResponse.md | 2 +- .../docs/models/components/EventFormatType.md | 20 + .../models/components/EventFormatTypeJson0.md | 20 - .../java/docs/models/components/EventInput.md | 2 +- .../java/docs/models/components/EventJson.md | 10 + .../java/docs/models/components/EventJson0.md | 10 - .../java/docs/models/components/EventJson1.md | 4 +- .../java/docs/models/components/EventJson2.md | 10 - .../java/docs/models/components/EventJson3.md | 10 + .../java/docs/models/components/EventJson4.md | 10 - .../java/docs/models/components/EventJson5.md | 10 + .../java/docs/models/components/EventJson6.md | 8 +- .../java/docs/models/components/EventJson8.md | 10 - .../java/docs/models/components/EventLite.md | 10 + .../docs/models/components/EventLiteJson.md | 10 - .../models/components/EventOrganization1.md | 16 + .../models/components/EventQuestionJson.md | 2 +- .../components/EventSurveyQuestionJson.md | 14 +- .../components/EventSurveyRespondent.md | 2 +- .../models/components/EventSurveyResponse.md | 2 +- .../java/docs/models/components/EventType1.md | 39 + .../docs/models/components/EventTypeJson.md | 37 + .../docs/models/components/EventTypeJson0.md | 39 - .../docs/models/components/EventTypeJson1.md | 37 - .../docs/models/components/EventUpdate.md | 4 +- .../models/components/EventUpdateInput.md | 2 +- .../components/ExhibitorCategoryRequest.md | 2 +- .../components/ExhibitorCategoryResponse.md | 2 +- .../models/components/ExhibitorRequest.md | 4 +- .../models/components/ExhibitorResponse.md | 4 +- .../components/ExistingAudienceSegment.md | 2 +- .../models/components/ExistingAudioTrack.md | 10 +- .../models/components/ExistingCustomField.md | 2 +- .../components/ExistingCustomFieldInput.md | 2 +- .../models/components/ExistingDurationType.md | 5 +- .../ExistingELiteratureRequestDataForLead.md | 2 +- .../components/ExistingExhibitorAnswer.md | 2 +- .../ExistingExhibitorAnswerInput.md | 2 +- .../components/ExistingExhibitorQuestion.md | 6 +- .../docs/models/components/ExistingFile.md | 2 +- .../docs/models/components/ExistingSpeaker.md | 4 +- .../models/components/ExistingSpeakerInput.md | 4 +- .../components/ExistingSponsorshipLevel.md | 2 +- .../components/ExistingVideoResponse.md | 20 +- .../components/ExistingVideoTextTrack.md | 8 +- .../components/ExistingVideoTextTrackInput.md | 8 +- .../docs/models/components/ExistingWeblink.md | 2 +- .../docs/models/components/FairSeasonType.md | 19 + .../models/components/FairSeasonTypeJson.md | 19 - packages/java/docs/models/components/Field.md | 17 + .../java/docs/models/components/FieldJson.md | 22 +- .../java/docs/models/components/FieldJson2.md | 17 - .../java/docs/models/components/FieldType.md | 22 + .../docs/models/components/FieldTypeJson.md | 8 +- .../docs/models/components/FieldTypeJson2.md | 22 - .../java/docs/models/components/FileInput.md | 2 +- .../java/docs/models/components/FormatType.md | 19 + .../docs/models/components/FormatTypeJson.md | 19 - .../java/docs/models/components/GenderJson.md | 21 - .../java/docs/models/components/GuestJson.md | 2 +- .../models/components/GuestRoomOccupancy.md | 21 + .../components/GuestRoomOccupancyJson.md | 21 - .../GuestRoomOccupancyPerRoomType.md | 11 + .../GuestRoomOccupancyPerRoomTypeJson.md | 11 - .../docs/models/components/GuestRoomType.md | 22 + .../models/components/GuestRoomTypeJson.md | 22 - .../models/components/HlsInputWithClips.md | 11 + .../components/HlsInputWithClipsJson.md | 11 - .../docs/models/components/HotelRequest.md | 2 +- .../models/components/HousingEventHotel.md | 2 +- .../components/HousingEventSummaryList.md | 2 +- .../java/docs/models/components/IdJson.md | 10 - .../docs/models/components/IdOnlyEntity.md | 10 + .../java/docs/models/components/Industry1.md | 36 + .../docs/models/components/IndustryJson0.md | 36 - .../InvitationListPaginatedResponse.md | 2 +- packages/java/docs/models/components/Lead.md | 8 +- .../components/LeadQualificationAnswers.md | 2 +- .../components/LeadQualificationQuestion.md | 8 +- .../LeadQualifiedQuestionResponseJson.md | 2 +- .../java/docs/models/components/LeadSource.md | 2 +- .../docs/models/components/LeadSourceJson.md | 11 - .../models/components/LeadSourceSection.md | 10 + .../components/LeadSourceSectionJson.md | 10 - .../models/components/ManagementLevelType1.md | 21 + .../components/ManagementLevelTypeJson1.md | 21 - .../docs/models/components/MeasurementUnit.md | 23 + .../models/components/MeasurementUnitJson0.md | 19 - .../components/MeetingRequestQuestionJson.md | 2 +- .../docs/models/components/MembershipJson.md | 16 - .../components/MessageRecipientResponse.md | 11 + .../MessageRecipientResponseAttendee.md | 12 + .../MessageRecipientsPaginatedResponse.md | 8 +- .../MessageRecipientsResponseJson.md | 11 - .../MessageRecipientsResponseJsonAttendee.md | 12 - .../models/components/NumericAnswerFormat.md | 20 + .../components/NumericAnswerFormatJson.md | 20 - .../models/components/OfferingCostType1.md | 79 + .../components/OfferingCostTypeJson0.md | 79 - packages/java/docs/models/components/One.md | 14 + .../java/docs/models/components/OneAllOf.md | 10 - .../java/docs/models/components/OneOneOf.md | 14 - .../java/docs/models/components/OptOutJson.md | 12 - .../docs/models/components/OptOutJsonInput.md | 10 - .../java/docs/models/components/OptoutBy.md | 29 + .../docs/models/components/OrderDetail.md | 2 +- .../models/components/OrderItemResponse.md | 2 +- .../docs/models/components/Organization.md | 10 + .../models/components/OrganizationJson.md | 10 - .../models/components/OrganizationType1.md | 26 + .../components/OrganizationTypeJson0.md | 26 - .../components/PackagePricingPreference.md | 20 + .../PackagePricingPreferenceJson.md | 20 - .../components/PaginatedInternalDocuments.md | 8 +- .../components/PaginatedRfpAgendaItems.md | 8 +- .../PaginatedRfpAgendaItemsSchedule.md | 8 +- .../components/PaginatedRfpAttachments.md | 8 +- .../components/PaginatedRfpCustomField.md | 4 +- .../components/PaginatedRfpQuestions.md | 8 +- .../PaginatedRfpRecipientsHistory.md | 8 +- .../components/PaginatedRfpSuppliers.md | 8 +- .../docs/models/components/PagingJson19.md | 14 - .../docs/models/components/PagingJson2.md | 14 + .../components/PagingNoTotalCountJson.md | 14 + .../components/PagingNoTotalCountJson2.md | 14 - .../java/docs/models/components/Passport.md | 12 + .../docs/models/components/PassportInput.md | 11 + .../docs/models/components/PassportJson.md | 12 - .../models/components/PassportJsonInput.md | 11 - .../docs/models/components/PaymentInfoJson.md | 2 +- .../docs/models/components/PlannerJson2.md | 2 +- .../docs/models/components/PolicyValueType.md | 24 + .../models/components/PolicyValueTypeJson.md | 24 - .../docs/models/components/ProgramItemLite.md | 10 + .../models/components/ProgramItemLiteJson.md | 10 - .../ProgramItemSpeakerPaginatedResponse.md | 2 +- .../java/docs/models/components/Property.md | 2 +- .../docs/models/components/PropertyRoom.md | 2 +- .../models/components/ProposalDateJson.md | 2 +- .../docs/models/components/ProposalRequest.md | 6 +- .../models/components/ProposalResponse.md | 6 +- .../models/components/ProposalStatusType.md | 30 + .../components/ProposalStatusTypeJson.md | 30 - .../docs/models/components/ProximityJson.md | 8 +- .../java/docs/models/components/Question.md | 6 +- .../components/QuestionClassificationType.md | 20 + .../QuestionClassificationTypeJson.md | 20 - .../docs/models/components/QuestionJson.md | 14 + .../docs/models/components/QuestionJson1.md | 33 +- .../docs/models/components/QuestionJson2.md | 31 +- .../docs/models/components/QuestionJson3.md | 12 - .../components/QuestionPaginatedResponse.md | 2 +- .../components/QuestionResponseDataType.md | 24 + .../QuestionResponseDataTypeJson.md | 24 - .../components/QuestionResponseFormat.md | 20 + .../components/QuestionResponseFormatJson.md | 20 - .../models/components/QuestionResponseJson.md | 2 +- .../models/components/QuestionResponseType.md | 19 + .../components/QuestionResponseTypeJson.md | 19 - .../docs/models/components/QuestionSection.md | 19 + .../models/components/QuestionSectionJson.md | 19 - .../docs/models/components/QuestionType.md | 39 + .../models/components/QuestionTypeJson.md | 49 +- .../models/components/QuestionTypeJson1.md | 45 +- .../models/components/QuestionTypeJson2.md | 33 +- .../models/components/QuestionTypeJson3.md | 26 - .../components/QuestionWithProgramIdJson.md | 21 - .../QuestionWithProgramIdJsonTravelProgram.md | 10 - .../components/QuestionsPaginatedResponse.md | 2 +- .../components/QuestionsPaginatedResponse1.md | 8 +- .../docs/models/components/RateLevelType.md | 20 + .../models/components/RateLevelTypeJson.md | 20 - .../models/components/RateReviewStatusType.md | 21 + .../components/RateReviewStatusTypeJson.md | 21 - .../java/docs/models/components/RateType.md | 20 + .../docs/models/components/RateTypeJson.md | 20 - .../java/docs/models/components/RebateType.md | 19 + .../docs/models/components/RebateTypeJson.md | 19 - .../docs/models/components/RecipientInfo.md | 12 + .../models/components/RecipientInfoJson0.md | 12 - .../docs/models/components/RecipientType.md | 20 + .../models/components/RecipientTypeJson0.md | 20 - .../components/RegistrationPackRequest.md | 2 +- .../components/RegistrationPackResponse.md | 2 +- .../components/ReservationGuestJsonInput.md | 2 +- .../components/ReservationGuestJsonOutput.md | 2 +- .../ReservationPaymentInfoJsonInput.md | 2 +- .../ReservationPaymentInfoJsonOutput.md | 2 +- .../docs/models/components/RespondentJson.md | 2 +- packages/java/docs/models/components/Rfp.md | 30 +- .../docs/models/components/RfpAgendaItem.md | 29 + .../models/components/RfpAgendaItemJson.md | 29 - .../components/RfpAgendaItemSchedule.md | 11 + .../components/RfpAgendaItemScheduleJson.md | 11 - .../components/RfpAgendaItemScheduleWithId.md | 12 + .../RfpAgendaItemScheduleWithIdJson.md | 12 - .../docs/models/components/RfpAttachment.md | 25 + .../models/components/RfpAttachmentJson.md | 25 - .../components/RfpAttachmentJsonSupplier.md | 10 - .../components/RfpAttachmentSupplier.md | 10 + .../models/components/RfpCustomFieldJson.md | 11 - .../docs/models/components/RfpDateMode.md | 19 + .../models/components/RfpDateModeJson0.md | 19 - .../java/docs/models/components/RfpEvent.md | 29 + .../docs/models/components/RfpEventJson.md | 29 - .../components/RfpEventOrganizationJson.md | 16 - .../docs/models/components/RfpGuestRooms.md | 16 +- .../java/docs/models/components/RfpIdJson.md | 10 + .../java/docs/models/components/RfpIdJson1.md | 10 - .../models/components/RfpInternalDocument.md | 17 + .../components/RfpInternalDocumentJson0.md | 17 - .../java/docs/models/components/RfpMeal.md | 30 + .../docs/models/components/RfpMealJson.md | 30 - .../docs/models/components/RfpPastEvent.md | 19 + .../models/components/RfpPastEventJson.md | 19 - .../docs/models/components/RfpPastEvents.md | 6 +- .../docs/models/components/RfpQuestion.md | 50 + .../docs/models/components/RfpQuestionJson.md | 50 - .../models/components/RfpRecipientLogEntry.md | 16 + .../components/RfpRecipientLogEntryJson.md | 16 - .../RfpRecipientLogEntryJsonMessage.md | 10 - .../RfpRecipientLogEntryJsonSupplier.md | 10 - .../components/RfpRecipientLogEntryMessage.md | 10 + .../RfpRecipientLogEntrySupplier.md | 10 + .../models/components/RfpResponseReason.md | 58 + .../components/RfpResponseReasonJson.md | 58 - .../java/docs/models/components/RfpStatus1.md | 24 + .../docs/models/components/RfpStatusJson0.md | 24 - .../docs/models/components/RfpSupplier.md | 39 + .../docs/models/components/RfpSupplierJson.md | 39 - .../components/RfpSupplierLeadSource.md | 11 + .../java/docs/models/components/RfpType1.md | 22 + .../docs/models/components/RfpTypeJson0.md | 22 - .../docs/models/components/RoomBedTypeJson.md | 26 + .../models/components/RoomBedTypeJson1.md | 26 - .../java/docs/models/components/RoomBlock.md | 14 + .../models/components/RoomBlockDetails.md | 11 + .../models/components/RoomBlockDetailsJson.md | 11 - .../docs/models/components/RoomBlockJson.md | 14 - .../java/docs/models/components/ScoresJson.md | 2 +- .../components/SendEmailEventRequest.md | 2 +- .../components/SendEmailEventResponse.md | 2 +- .../docs/models/components/SessionLite.md | 10 + .../docs/models/components/SessionLiteJson.md | 10 - .../models/components/SessionQaMessage.md | 2 +- .../docs/models/components/SessionSpeaker.md | 13 + .../models/components/SessionSpeakerJson.md | 13 - .../SessionSpeakerPaginatedResponse.md | 8 +- .../components/SleepingRoomBlockJson.md | 2 +- .../models/components/SleepingRoomJson.md | 2 +- .../java/docs/models/components/Solution.md | 19 + .../docs/models/components/SolutionJson.md | 19 - .../java/docs/models/components/SpaceArea.md | 91 + .../docs/models/components/SpaceAreaJson0.md | 91 - .../java/docs/models/components/Speaker.md | 4 +- .../docs/models/components/SpeakerCategory.md | 10 - .../models/components/SpeakerCategory1.md | 11 + .../models/components/SpeakerCategory2.md | 10 + .../SpeakerCategoryPaginatedResponse.md | 2 +- .../SpeakerDocumentPaginatedResponse.md | 2 +- .../docs/models/components/SpeakerLite.md | 6 +- .../docs/models/components/SpeakerLite1.md | 10 + .../docs/models/components/SpeakerLiteJson.md | 10 - .../components/SpeakerPaginatedResponse.md | 2 +- .../models/components/SpeakerProgramItem.md | 8 +- .../docs/models/components/SpeakerSession.md | 2 +- .../docs/models/components/StakeholderJson.md | 2 +- .../models/components/StandardQuestion.md | 10 + .../models/components/StandardQuestionJson.md | 10 - .../models/components/StandardSurveyJson.md | 2 +- .../components/StandardSurveyQuestionJson.md | 14 +- .../models/components/SupplierResponse.md | 2 +- .../docs/models/components/SupplierType.md | 21 + .../models/components/SupplierTypeJson.md | 13 +- .../models/components/SupplierTypeJson1.md | 18 - .../docs/models/components/SurveyContactId.md | 11 + .../models/components/SurveyContactIdJson.md | 11 - .../java/docs/models/components/SurveyJson.md | 2 +- .../java/docs/models/components/TargetType.md | 35 + .../docs/models/components/TargetTypeJson.md | 35 - .../java/docs/models/components/TaxType.md | 26 + .../docs/models/components/TaxTypeJson.md | 26 - .../models/components/TextAnswerFormat.md | 21 + .../models/components/TextAnswerFormatJson.md | 21 - .../java/docs/models/components/TextField.md | 12 + .../docs/models/components/TextFieldJson.md | 10 +- .../docs/models/components/TextFieldJson1.md | 12 - packages/java/docs/models/components/Three.md | 2 +- .../java/docs/models/components/ThreeInput.md | 2 +- .../docs/models/components/ThumbnailStatus.md | 22 + .../models/components/ThumbnailStatusJson.md | 22 - .../docs/models/components/ThumbnailType.md | 24 + .../models/components/ThumbnailTypeJson.md | 24 - .../components/TransactionDetailResponse.md | 2 +- .../components/TransactionItemResponse.md | 2 +- .../docs/models/components/TravelAccount.md | 4 +- .../TravelAccountPaginatedResponse.md | 2 +- .../TravelAccountSupplierAccount.md | 2 +- ...AccountSupplierAccountPaginatedResponse.md | 2 +- .../models/components/TravelAccountType.md | 20 + .../components/TravelAccountTypeJson.md | 20 - .../models/components/TravelAmenityJson.md | 17 - .../models/components/TravelBidAmenity.md | 18 + .../models/components/TravelBidAmenityJson.md | 18 - .../models/components/TravelBidComment.md | 11 + .../models/components/TravelBidCommentJson.md | 11 - .../models/components/TravelBidDiscount.md | 12 + .../components/TravelBidDiscountJson.md | 12 - .../TravelBidDiscountJsonPropertyRoom.md | 10 - .../TravelBidDiscountPropertyRoom.md | 10 + .../models/components/TravelBidDisposition.md | 12 + .../TravelBidDispositionAcceptedRoom.md | 12 + .../TravelBidDispositionAcceptedRoomJson.md | 12 - ...DispositionAcceptedRoomJsonPropertyRoom.md | 10 - ...lBidDispositionAcceptedRoomPropertyRoom.md | 10 + .../components/TravelBidDispositionJson.md | 12 - .../models/components/TravelBidFairSeason.md | 17 + .../components/TravelBidFairSeasonJson.md | 17 - .../components/TravelBidFairSeasonRate.md | 16 + .../components/TravelBidFairSeasonRateJson.md | 16 - ...TravelBidFairSeasonRateJsonPropertyRoom.md | 10 - .../TravelBidFairSeasonRatePropertyRoom.md | 10 + .../docs/models/components/TravelBidPolicy.md | 16 + .../models/components/TravelBidPolicyJson.md | 16 - .../models/components/TravelBidRateJson.md | 13 - .../docs/models/components/TravelBidRoom.md | 13 + .../models/components/TravelBidRoomJson.md | 13 - .../TravelBidRoomJsonPropertyRoom.md | 10 - .../components/TravelBidRoomPropertyRoom.md | 10 + .../docs/models/components/TravelBidSeason.md | 17 + .../models/components/TravelBidSeasonJson.md | 17 - .../models/components/TravelBidSeasonRate.md | 18 + .../components/TravelBidSeasonRateJson.md | 18 - .../TravelBidSeasonRateJsonPropertyRoom.md | 10 - .../TravelBidSeasonRatePropertyRoom.md | 10 + .../models/components/TravelBidTaxAndFee.md | 15 + .../models/components/TravelBidTaxFeeJson.md | 15 - .../components/TravelBidWeekendDayJson.md | 24 - .../models/components/TravelBidWeekendDays.md | 24 + .../components/TravelBreakOutRoomJson.md | 14 - .../components/TravelDayDelegateRateJson.md | 13 - .../components/TravelGroupAndMeetingJson.md | 15 - .../TravelMeetingRoomBasicInfoJson.md | 12 - .../docs/models/components/TravelProgram.md | 10 +- .../components/TravelProgramFormatType.md | 19 + .../components/TravelProgramFormatTypeJson.md | 19 - .../TravelProgramPaginatedResponse.md | 2 +- .../components/TravelProgramQuestion.md | 21 + .../components/TravelProgramQuestion1.md | 13 + .../components/TravelProgramQuestionJson.md | 13 - .../TravelProgramQuestionTravelProgram.md | 10 + .../models/components/TravelProgramStatus.md | 20 + .../components/TravelProgramStatusJson.md | 20 - .../components/TravelProgramStayType.md | 19 + .../components/TravelProgramStayTypeJson.md | 19 - .../models/components/TravelProgramType.md | 20 + .../components/TravelProgramTypeJson.md | 20 - .../docs/models/components/TravelProposal.md | 16 +- .../models/components/TravelProposalBid.md | 31 - .../models/components/TravelProposalBid1.md | 10 + .../models/components/TravelProposalBid2.md | 31 + .../components/TravelProposalBidIdJson.md | 10 - .../TravelProposalBidPaginatedResponse.md | 8 +- .../components/TravelProposalBidRate.md | 13 + .../TravelProposalCustomQuestion.md | 11 + .../TravelProposalCustomQuestionQuestion.md | 10 + .../components/TravelProposalDisposition.md | 11 + .../TravelProposalDispositionJson.md | 11 - .../TravelProposalGroupAndMeeting.md | 15 + .../TravelProposalGroupAndMeetingAmenity.md | 17 + ...avelProposalGroupAndMeetingBreakOutRoom.md | 14 + ...lProposalGroupAndMeetingDayDelegateRate.md | 13 + ...upAndMeetingMeetingRoomBasicInformation.md | 12 + ...elProposalGroupAndMeetingRunOfHouseRate.md | 19 + ...posalGroupAndMeetingTaxAndServiceCharge.md | 15 + .../TravelProposalPaginatedResponse.md | 2 +- .../components/TravelRunOfHouseRateJson.md | 19 - .../TravelTaxAndServiceChargeJson.md | 15 - .../docs/models/components/UnitPosition.md | 19 + .../models/components/UnitPositionJson.md | 19 - .../components/UpdatedThroughNameProperty.md | 103 + .../UpdatedThroughNamePropertyJson.md | 103 - packages/java/docs/models/components/User.md | 2 +- .../java/docs/models/components/UserInput.md | 2 +- .../java/docs/models/components/UserJson.md | 2 +- .../docs/models/components/VenueSummary.md | 2 +- .../java/docs/models/components/Video1.md | 10 + .../docs/models/components/VideoAssetID.md | 10 + .../models/components/VideoAssetIdJson.md | 10 - .../java/docs/models/components/VideoClip.md | 11 + .../docs/models/components/VideoClipJson.md | 11 - .../java/docs/models/components/VideoError.md | 11 + .../docs/models/components/VideoErrorCode.md | 26 + .../models/components/VideoErrorCodeJson.md | 26 - .../docs/models/components/VideoErrorJson.md | 11 - .../java/docs/models/components/VideoJson.md | 10 - .../docs/models/components/VideoRendition.md | 18 + .../models/components/VideoRenditionJson.md | 18 - .../components/VideoRenditionJsonLink.md | 10 - .../models/components/VideoRenditionLink.md | 10 + .../models/components/VideoRenditionType.md | 24 + .../components/VideoRenditionTypeJson.md | 24 - .../components/VideoRenditionsResponse.md | 6 +- .../docs/models/components/VideoSource.md | 11 + .../docs/models/components/VideoSourceJson.md | 11 - .../components/VideoSourceJsonStatus.md | 21 - .../models/components/VideoSourceStatus.md | 21 + .../docs/models/components/VideoStatus.md | 27 + .../docs/models/components/VideoStatusJson.md | 27 - .../docs/models/components/VideoTextTrack.md | 6 +- .../models/components/VideoTextTrackKind.md | 22 + .../components/VideoTextTrackKindJson.md | 22 - .../models/components/VideoTextTrackStatus.md | 26 + .../components/VideoTextTrackStatusJson.md | 26 - .../docs/models/components/VideoThumbnail.md | 15 + .../models/components/VideoThumbnailJson.md | 15 - .../java/docs/models/components/VideoType.md | 28 + .../docs/models/components/VideoTypeJson.md | 28 - .../java/docs/models/components/VideoView.md | 17 + .../docs/models/components/VideoViewJson.md | 17 - .../components/VideoViewsPaginatedResponse.md | 4 +- .../docs/models/components/VideoWarning.md | 11 + .../models/components/VideoWarningCode.md | 18 + .../models/components/VideoWarningCodeJson.md | 18 - .../models/components/VideoWarningJson.md | 11 - .../components/VideosPaginatedResponse.md | 2 +- .../java/docs/models/components/ViewType1.md | 19 + .../docs/models/components/ViewTypeJson1.md | 19 - .../java/docs/models/components/Voucher.md | 16 + .../docs/models/components/VoucherCapacity.md | 11 + .../components/VouchersPaginatedResponse.md | 11 + .../java/docs/models/components/Weblink.md | 2 +- .../docs/models/components/WeddingDetails1.md | 15 + .../models/components/WeddingDetailsJson0.md | 15 - .../docs/models/components/WeddingPartner.md | 11 + .../models/components/WeddingPartnerJson.md | 11 - .../java/docs/models/components/ZeroAllOf7.md | 56 +- .../java/docs/models/components/ZeroAllOf8.md | 18 +- .../java/docs/models/components/ZeroAllOf9.md | 17 - .../java/docs/models/errors/ErrorResponse1.md | 12 +- .../java/docs/models/errors/ErrorResponse2.md | 12 +- .../docs/models/errors/ErrorResponseJson12.md | 13 + .../docs/models/errors/ErrorResponseJson17.md | 13 - .../operations/CreateContactsRequest.md | 2 +- .../operations/CreateContactsResponse.md | 2 +- .../operations/GetAttendeeByIdResponse.md | 2 +- .../GetAttendeeMessagesMembersRequest.md | 12 +- .../GetTravelProposalBidResponse.md | 2 +- .../models/operations/GetVideoViewsRequest.md | 14 +- .../models/operations/ListDurationsRequest.md | 16 +- .../ListEventVoucherAttendeesRequest.md | 11 + .../ListEventVoucherAttendeesResponse.md | 11 + .../ListEventVouchersPostFilterRequest.md | 14 + .../ListEventVouchersPostFilterResponse.md | 11 + .../operations/ListEventVouchersRequest.md | 14 + .../operations/ListEventVouchersResponse.md | 11 + .../models/operations/ListVideosRequest.md | 16 +- .../operations/PatchContactsResponse.md | 2 +- .../operations/UpdateAttendeeResponse.md | 2 +- .../operations/UpdateContactsResponse.md | 2 +- .../java/docs/sdks/appointments/README.md | 12 +- packages/java/docs/sdks/attendees/README.md | 16 +- .../java/docs/sdks/audiencesegments/README.md | 26 +- packages/java/docs/sdks/bulk/README.md | 36 +- packages/java/docs/sdks/contacts/README.md | 72 +- .../java/docs/sdks/customfields/README.md | 6 +- packages/java/docs/sdks/events/README.md | 227 +- packages/java/docs/sdks/exhibitor/README.md | 30 +- .../java/docs/sdks/exhibitorcontent/README.md | 24 +- .../java/docs/sdks/exhibitorteam/README.md | 4 +- packages/java/docs/sdks/housing/README.md | 16 +- .../java/docs/sdks/meetingrequest/README.md | 6 +- .../java/docs/sdks/proposaldraft/README.md | 4 +- packages/java/docs/sdks/sessions/README.md | 6 +- packages/java/docs/sdks/speakers/README.md | 34 +- packages/java/docs/sdks/userscim/README.md | 74 +- packages/java/docs/sdks/video/README.md | 12 +- packages/java/gradle.properties | 2 +- .../src/main/java/com/cvent/AsyncEvents.java | 134 + .../main/java/com/cvent/AsyncSpeakers.java | 8 +- .../java/src/main/java/com/cvent/Events.java | 140 + .../main/java/com/cvent/SDKConfiguration.java | 2 +- .../src/main/java/com/cvent/Speakers.java | 8 +- .../java/com/cvent/hooks/OAuth2Scopes.java | 35 + .../AccountBudgetItemListResponseJson.java | 24 +- .../com/cvent/models/components/Action.java | 39 + .../models/components/AdditionalChoice.java | 56 +- .../models/components/AdditionalChoice1.java | 100 + .../components/AdditionalChoiceJson.java | 134 + .../components/AdditionalChoiceJson1.java | 134 - .../components/AdditionalChoiceJson2.java | 134 - .../com/cvent/models/components/Address.java | 402 + .../com/cvent/models/components/Address1.java | 171 + .../cvent/models/components/Address11.java | 256 +- .../cvent/models/components/Address12.java | 363 - .../com/cvent/models/components/Address2.java | 289 - .../com/cvent/models/components/Address3.java | 117 +- .../com/cvent/models/components/Address4.java | 289 + .../com/cvent/models/components/Address5.java | 402 + .../com/cvent/models/components/Address6.java | 363 + .../cvent/models/components/AddressInput.java | 326 + .../cvent/models/components/AddressJson.java | 226 +- .../cvent/models/components/AddressJson0.java | 171 - .../cvent/models/components/AddressJson1.java | 363 + .../cvent/models/components/AddressJson2.java | 224 +- .../cvent/models/components/AddressJson3.java | 363 - .../cvent/models/components/AddressJson4.java | 332 - .../cvent/models/components/AddressJson5.java | 363 - .../models/components/AddressJsonInput.java | 326 - .../models/components/AddressTypeJson.java | 6 +- .../models/components/AddressTypeJson1.java | 39 - .../models/components/AgendaItemSetup.java | 63 + .../components/AgendaItemSetupJson.java | 63 - .../models/components/AgendaItemType.java | 56 + .../models/components/AgendaItemTypeJson.java | 56 - .../cvent/models/components/AmenityType.java | 40 + .../models/components/AmenityTypeJson.java | 40 - .../components/AppointmentWithQuestions.java | 12 +- .../models/components/AssetLocation.java | 93 + .../models/components/AssetLocationInput.java | 56 + .../models/components/AssetLocationJson.java | 93 - .../components/AssetLocationJsonInput.java | 56 - .../models/components/AttachmentSource.java | 42 + .../components/AttachmentSourceJson.java | 42 - .../com/cvent/models/components/Attendee.java | 93 + .../cvent/models/components/Attendee1.java | 2089 ---- .../cvent/models/components/Attendee11.java | 2074 +++- .../cvent/models/components/Attendee12.java | 27 +- .../cvent/models/components/Attendee13.java | 100 + .../models/components/Attendee1Event.java | 100 + .../models/components/Attendee1Lookup.java | 171 + .../cvent/models/components/Attendee2.java | 8 +- ...ndeeAddBulkItemEventJsonErrorResponse.java | 12 +- .../AttendeeAddBulkItemJsonData.java | 6 +- .../components/AttendeeContactInfo.java | 24 +- .../components/AttendeeContactTypeInput.java | 100 + .../components/AttendeeContactTypeJson.java | 134 - .../AttendeeContactTypeJsonInput.java | 100 - .../models/components/AttendeeEvent.java | 100 - .../models/components/AttendeeInsights.java | 14 +- .../AttendeeLinkBulkResponseItemJsonData.java | 6 +- .../models/components/AttendeeLookup.java | 171 - .../components/AttendeePaginatedResponse.java | 12 +- .../cvent/models/components/Attendees.java | 6 +- .../AttendeesPaginatedResponse.java | 128 + .../models/components/AudienceSegment.java | 14 +- .../components/AudienceSegmentCreate.java | 14 +- .../components/AudienceSegmentResponse.java | 14 +- .../models/components/AudioTrackStatus.java | 54 + .../components/AudioTrackStatusJson.java | 54 - .../models/components/AudioTrackType.java | 47 + .../models/components/AudioTrackTypeJson.java | 47 - .../models/components/AudioTrackVariant.java | 48 + .../components/AudioTrackVariantJson.java | 48 - .../com/cvent/models/components/Badge.java | 28 +- .../cvent/models/components/BadgeInput.java | 24 +- .../models/components/BidItemStatusType.java | 42 + .../components/BidItemStatusTypeJson.java | 42 - .../models/components/BidStatusType.java | 40 + .../models/components/BidStatusTypeJson.java | 40 - .../cvent/models/components/BidStayType.java | 39 + .../models/components/BidStayTypeJson.java | 39 - .../models/components/BillingDetails1.java | 278 + .../components/BillingDetailsJson0.java | 278 - .../models/components/BoothStaffRequest.java | 24 +- .../models/components/BoothStaffResponse.java | 26 +- .../models/components/BounceDetailsJson.java | 12 +- .../components/BounceDetailsResponse.java | 12 +- .../com/cvent/models/components/Brand.java | 12 +- .../models/components/BrideGroomType.java | 39 + .../components/BrideGroomTypeJson0.java | 39 - .../cvent/models/components/BusinessType.java | 39 + .../models/components/BusinessTypeJson.java | 39 - .../components/CancellationDetails.java | 172 + .../components/CancellationDetailsJson.java | 173 - .../models/components/CancelledReason1.java | 47 + .../components/CancelledReasonJson0.java | 47 - .../com/cvent/models/components/Category.java | 216 + .../models/components/CategoryIdNameJson.java | 133 - .../components/CategoryItemsCostJson.java | 12 +- .../cvent/models/components/CategoryJson.java | 148 +- .../models/components/CategoryJson1.java | 145 +- .../models/components/CategoryJson2.java | 213 - .../com/cvent/models/components/Chain.java | 12 +- .../com/cvent/models/components/Choice.java | 73 +- .../com/cvent/models/components/Choice1.java | 171 + .../cvent/models/components/ChoiceJson.java | 210 - .../cvent/models/components/ChoiceJson1.java | 206 + .../cvent/models/components/ChoiceJson2.java | 129 +- .../models/components/ChoiceJson2Input.java | 93 + .../cvent/models/components/ChoiceJson3.java | 141 - .../models/components/ChoiceJson3Input.java | 93 - .../models/components/ChoiceSortOrder.java | 43 + .../components/ChoiceSortOrderJson.java | 43 - .../com/cvent/models/components/Choices.java | 12 +- .../cvent/models/components/CommentType.java | 42 + .../models/components/CommentTypeJson.java | 42 - .../cvent/models/components/Compliance.java | 36 +- .../models/components/ComplianceAction.java | 39 - .../components/ComplianceComplianceScope.java | 38 - .../components/ComplianceCreatedBy.java | 47 - .../models/components/ComplianceJson.java | 216 - .../components/ComplianceJsonAction.java | 39 - .../ComplianceJsonComplianceScope.java | 38 - .../components/ComplianceJsonCreatedBy.java | 47 - .../models/components/ComplianceScope.java | 38 + .../models/components/ConflictResolution.java | 36 +- .../com/cvent/models/components/Contact.java | 120 +- .../com/cvent/models/components/Contact1.java | 464 + .../com/cvent/models/components/Contact2.java | 100 + .../components/ContactBulkItemJson.java | 197 - .../components/ContactBulkItemJsonData.java | 93 - .../components/ContactBulkResponseItem.java | 197 + .../ContactBulkResponseItemData.java | 93 + .../models/components/ContactCreate.java | 1616 +++ .../models/components/ContactCreateEvent.java | 125 + .../components/ContactCreateRequestJson.java | 1616 --- .../ContactCreateRequestJsonEvent.java | 125 - .../cvent/models/components/ContactGroup.java | 28 +- .../models/components/ContactGroupInput.java | 28 +- .../ContactGroupPaginatedResponse.java | 13 +- .../models/components/ContactGroupType.java | 43 + .../components/ContactGroupTypeJson.java | 43 - .../models/components/ContactHistory.java | 302 + .../models/components/ContactHistoryJson.java | 303 - .../ContactHistoryPaginatedResponse.java | 24 +- .../cvent/models/components/ContactId.java | 93 + .../models/components/ContactIdJson.java | 93 - .../ContactIdPaginatedResponse.java | 22 +- .../cvent/models/components/ContactJson.java | 832 ++ .../cvent/models/components/ContactJson0.java | 464 - .../cvent/models/components/ContactJson1.java | 832 -- .../cvent/models/components/ContactJson2.java | 100 - .../models/components/ContactLinksInput.java | 178 + .../models/components/ContactLinksJson.java | 215 - .../components/ContactLinksJsonInput.java | 178 - .../components/ContactLinksJsonLink.java | 93 - .../models/components/ContactMembership.java | 329 + .../models/components/ContactMergeField.java | 130 + .../components/ContactMergeFieldJson.java | 130 - .../models/components/ContactMethods.java | 42 + .../models/components/ContactMethodsJson.java | 42 - .../components/ContactObfuscationStatus.java | 24 +- .../ContactObfuscationStatusType.java | 52 + .../ContactObfuscationStatusTypeJson.java | 52 - .../models/components/ContactOptOut.java | 182 + .../models/components/ContactOptOutInput.java | 106 + .../components/ContactPaginatedResponse.java | 22 +- .../cvent/models/components/ContactPatch.java | 60 +- .../cvent/models/components/ContactType.java | 241 + .../models/components/ContactTypeJson.java | 248 +- .../models/components/ContactTypeJson1.java | 39 - .../ContactTypePaginatedResponse.java | 23 +- .../models/components/ContactUpdate.java | 96 +- .../components/CreateTransactionResponse.java | 12 +- .../CreateTransactionResponseInput.java | 12 +- .../cvent/models/components/CreatedBy.java | 47 + .../models/components/CurrencyJson1.java | 204 - .../models/components/CurrencyJson2.java | 204 + .../cvent/models/components/CustomField3.java | 14 +- .../models/components/CustomFieldAnswers.java | 155 + .../models/components/CustomFieldJson.java | 243 + .../models/components/CustomFieldJson1.java | 116 +- .../CustomFieldJson1CustomFieldType.java | 26 +- .../models/components/CustomFieldJson2.java | 122 +- .../CustomFieldJson2CustomFieldType.java | 26 +- .../models/components/CustomFieldJson3.java | 243 - .../CustomFieldJson3CustomFieldType.java | 56 - .../CustomFieldJsonCustomFieldType.java | 56 + .../components/CustomFieldTypeJson.java | 44 + .../components/CustomFieldTypeJson1.java | 44 - .../components/CustomQuestionAnswerJson0.java | 136 - .../CustomQuestionAnswerJson0Question.java | 100 - .../models/components/DateAnswerFormat.java | 43 + .../components/DateAnswerFormatJson.java | 43 - .../cvent/models/components/DatePattern1.java | 295 + .../models/components/DatePatternJson0.java | 295 - .../models/components/DateRequirements1.java | 227 + .../components/DateRequirementsJson0.java | 227 - .../cvent/models/components/DateTypeJson.java | 52 + .../models/components/DateTypeJson1.java | 52 - .../com/cvent/models/components/Dates1.java | 254 + .../cvent/models/components/DatesJson0.java | 254 - .../cvent/models/components/DayOfWeek.java | 44 + .../models/components/DayOfWeekJson0.java | 44 - .../com/cvent/models/components/Device1.java | 175 + .../cvent/models/components/DeviceJson.java | 175 - .../cvent/models/components/DeviceType.java | 40 + .../models/components/DeviceTypeJson.java | 40 - .../cvent/models/components/DisplayType.java | 49 + .../models/components/DisplayTypeJson.java | 49 - .../cvent/models/components/DistanceJson.java | 129 + .../models/components/DistanceJson1.java | 129 - .../components/DistributionListInfo.java | 199 + .../components/DistributionListInfoInput.java | 158 + .../components/DistributionListInfoJson.java | 199 - .../DistributionListInfoJsonInput.java | 158 - .../DistributionListSecurityType.java | 45 + .../DistributionListSecurityTypeJson.java | 45 - .../components/DistributionListStatus.java | 40 + .../DistributionListStatusJson.java | 40 - .../models/components/DocumentType1.java | 70 + .../models/components/DocumentTypeJson0.java | 70 - .../models/components/EmailHistoryJson.java | 12 +- .../cvent/models/components/EmailJson1.java | 16 +- .../models/components/EmailTypeJson.java | 39 + .../models/components/EmailTypeJson1.java | 66 +- .../models/components/EmailTypeJson3.java | 99 - .../models/components/EncodingProfile.java | 41 + .../components/EncodingProfileJson.java | 41 - .../models/components/ErrorResponse1.java | 12 +- .../models/components/ErrorResponse2.java | 12 +- .../com/cvent/models/components/Event1.java | 26 +- .../com/cvent/models/components/Event12.java | 100 + .../com/cvent/models/components/Event21.java | 93 - .../com/cvent/models/components/Event3.java | 93 + .../cvent/models/components/EventAllOf.java | 104 - .../models/components/EventContactId.java | 129 + .../models/components/EventContactIdJson.java | 129 - .../EventEmailsPaginatedResponse.java | 12 +- .../models/components/EventFormatType.java | 40 + .../components/EventFormatTypeJson0.java | 40 - .../cvent/models/components/EventInput.java | 14 +- .../cvent/models/components/EventJson.java | 93 + .../cvent/models/components/EventJson0.java | 100 - .../cvent/models/components/EventJson1.java | 35 +- .../cvent/models/components/EventJson2.java | 100 - .../cvent/models/components/EventJson3.java | 100 + .../cvent/models/components/EventJson4.java | 100 - .../cvent/models/components/EventJson5.java | 93 + .../cvent/models/components/EventJson6.java | 10 +- .../cvent/models/components/EventJson8.java | 93 - .../cvent/models/components/EventLite.java | 93 + .../models/components/EventLiteJson.java | 93 - .../models/components/EventOrganization1.java | 328 + .../models/components/EventQuestionJson.java | 12 +- .../components/EventSurveyQuestionJson.java | 84 +- .../components/EventSurveyRespondent.java | 12 +- .../components/EventSurveyResponse.java | 12 +- .../cvent/models/components/EventType1.java | 59 + .../models/components/EventTypeJson.java | 58 + .../models/components/EventTypeJson0.java | 59 - .../models/components/EventTypeJson1.java | 58 - .../cvent/models/components/EventUpdate.java | 26 +- .../models/components/EventUpdateInput.java | 14 +- .../components/ExhibitorCategoryRequest.java | 14 +- .../components/ExhibitorCategoryResponse.java | 14 +- .../models/components/ExhibitorRequest.java | 26 +- .../models/components/ExhibitorResponse.java | 26 +- .../components/ExistingAudienceSegment.java | 14 +- .../models/components/ExistingAudioTrack.java | 69 +- .../components/ExistingCustomField.java | 14 +- .../ExistingCustomFieldDetails.java | 6 +- .../ExistingCustomFieldDetailsInput.java | 6 +- .../components/ExistingCustomFieldInput.java | 14 +- .../components/ExistingDurationType.java | 5 +- ...ExistingELiteratureRequestDataForLead.java | 14 +- .../components/ExistingExhibitorAnswer.java | 14 +- .../ExistingExhibitorAnswerInput.java | 12 +- .../components/ExistingExhibitorQuestion.java | 38 +- .../cvent/models/components/ExistingFile.java | 14 +- .../models/components/ExistingSpeaker.java | 24 +- .../components/ExistingSpeakerInput.java | 24 +- .../components/ExistingSponsorshipLevel.java | 14 +- .../components/ExistingVideoResponse.java | 124 +- .../components/ExistingVideoTextTrack.java | 52 +- .../ExistingVideoTextTrackInput.java | 50 +- .../models/components/ExistingWeblink.java | 14 +- .../models/components/FairSeasonType.java | 40 + .../models/components/FairSeasonTypeJson.java | 40 - .../com/cvent/models/components/Field.java | 390 + .../cvent/models/components/FieldJson.java | 106 +- .../cvent/models/components/FieldJson2.java | 370 - .../cvent/models/components/FieldType.java | 46 + .../models/components/FieldTypeJson.java | 10 +- .../models/components/FieldTypeJson2.java | 42 - .../cvent/models/components/FileInput.java | 14 +- .../cvent/models/components/FormatType.java | 39 + .../models/components/FormatTypeJson.java | 39 - .../cvent/models/components/GenderJson.java | 41 - .../cvent/models/components/GuestJson.java | 12 +- .../models/components/GuestRoomOccupancy.java | 43 + .../components/GuestRoomOccupancyJson.java | 43 - .../GuestRoomOccupancyPerRoomType.java | 151 + .../GuestRoomOccupancyPerRoomTypeJson.java | 151 - .../models/components/GuestRoomType.java | 44 + .../models/components/GuestRoomTypeJson.java | 44 - .../models/components/HlsInputWithClips.java | 136 + .../components/HlsInputWithClipsJson.java | 136 - .../cvent/models/components/HotelRequest.java | 12 +- .../models/components/HousingEventHotel.java | 12 +- .../components/HousingEventSummaryList.java | 12 +- .../com/cvent/models/components/IdJson.java | 93 - .../cvent/models/components/IdOnlyEntity.java | 93 + .../cvent/models/components/Industry1.java | 56 + .../models/components/IndustryJson0.java | 56 - .../InvitationListPaginatedResponse.java | 12 +- .../com/cvent/models/components/Lead.java | 48 +- .../components/LeadQualificationAnswers.java | 12 +- .../components/LeadQualificationQuestion.java | 48 +- .../LeadQualifiedQuestionResponseJson.java | 12 +- .../cvent/models/components/LeadSource.java | 12 +- .../models/components/LeadSourceJson.java | 138 - .../models/components/LeadSourceSection.java | 108 + .../components/LeadSourceSectionJson.java | 108 - .../components/ManagementLevelType1.java | 41 + .../components/ManagementLevelTypeJson1.java | 41 - .../models/components/MeasurementUnit.java | 43 + .../components/MeasurementUnitJson0.java | 39 - .../MeetingRequestQuestionJson.java | 12 +- .../models/components/MembershipJson.java | 329 - .../components/MessageRecipientResponse.java | 130 + .../MessageRecipientResponseAttendee.java | 173 + .../MessageRecipientsPaginatedResponse.java | 24 +- .../MessageRecipientsResponseJson.java | 130 - ...MessageRecipientsResponseJsonAttendee.java | 179 - .../components/NumericAnswerFormat.java | 40 + .../components/NumericAnswerFormatJson.java | 40 - .../models/components/OfferingCostType1.java | 99 + .../components/OfferingCostTypeJson0.java | 99 - .../java/com/cvent/models/components/One.java | 260 + .../com/cvent/models/components/OneAllOf.java | 93 - .../com/cvent/models/components/OneOneOf.java | 260 - .../cvent/models/components/OptOutJson.java | 182 - .../models/components/OptOutJsonInput.java | 106 - .../com/cvent/models/components/OptoutBy.java | 49 + .../cvent/models/components/OrderDetail.java | 12 +- .../models/components/OrderItemResponse.java | 12 +- .../cvent/models/components/Organization.java | 100 + .../models/components/OrganizationJson.java | 100 - .../models/components/OrganizationType1.java | 46 + .../components/OrganizationTypeJson0.java | 46 - .../components/PackagePricingPreference.java | 43 + .../PackagePricingPreferenceJson.java | 43 - .../PaginatedInternalDocuments.java | 24 +- .../components/PaginatedRfpAgendaItems.java | 23 +- .../PaginatedRfpAgendaItemsSchedule.java | 24 +- .../components/PaginatedRfpAttachments.java | 23 +- .../components/PaginatedRfpCustomField.java | 24 +- .../components/PaginatedRfpQuestions.java | 23 +- .../PaginatedRfpRecipientsHistory.java | 24 +- .../components/PaginatedRfpSuppliers.java | 23 +- .../cvent/models/components/PagingJson19.java | 257 - .../cvent/models/components/PagingJson2.java | 257 + .../components/PagingNoTotalCountJson.java | 261 + .../components/PagingNoTotalCountJson2.java | 261 - .../com/cvent/models/components/Passport.java | 183 + .../models/components/PassportInput.java | 148 + .../cvent/models/components/PassportJson.java | 183 - .../models/components/PassportJsonInput.java | 148 - .../models/components/PaymentInfoJson.java | 12 +- .../cvent/models/components/PlannerJson2.java | 12 +- .../models/components/PolicyValueType.java | 44 + .../components/PolicyValueTypeJson.java | 44 - .../models/components/ProgramItemLite.java | 93 + .../components/ProgramItemLiteJson.java | 93 - .../ProgramItemSpeakerPaginatedResponse.java | 12 +- .../com/cvent/models/components/Property.java | 12 +- .../cvent/models/components/PropertyRoom.java | 12 +- .../models/components/ProposalDateJson.java | 16 +- .../models/components/ProposalRequest.java | 36 +- .../models/components/ProposalResponse.java | 36 +- .../models/components/ProposalStatusType.java | 50 + .../components/ProposalStatusTypeJson.java | 50 - .../models/components/ProximityJson.java | 12 +- .../com/cvent/models/components/Question.java | 36 +- .../QuestionClassificationType.java | 44 + .../QuestionClassificationTypeJson.java | 44 - .../cvent/models/components/QuestionJson.java | 243 + .../models/components/QuestionJson1.java | 858 +- .../models/components/QuestionJson2.java | 826 +- .../models/components/QuestionJson3.java | 171 - .../components/QuestionPaginatedResponse.java | 12 +- .../components/QuestionResponseDataType.java | 44 + .../QuestionResponseDataTypeJson.java | 44 - .../components/QuestionResponseFormat.java | 40 + .../QuestionResponseFormatJson.java | 40 - .../components/QuestionResponseJson.java | 12 +- .../components/QuestionResponseType.java | 40 + .../components/QuestionResponseTypeJson.java | 40 - .../models/components/QuestionSection.java | 40 + .../components/QuestionSectionJson.java | 40 - .../cvent/models/components/QuestionType.java | 61 + .../models/components/QuestionTypeJson.java | 39 +- .../models/components/QuestionTypeJson1.java | 35 +- .../models/components/QuestionTypeJson2.java | 23 +- .../models/components/QuestionTypeJson3.java | 46 - .../components/QuestionWithProgramIdJson.java | 542 -- ...uestionWithProgramIdJsonTravelProgram.java | 100 - .../QuestionsPaginatedResponse.java | 12 +- .../QuestionsPaginatedResponse1.java | 24 +- .../models/components/RateLevelType.java | 40 + .../models/components/RateLevelTypeJson.java | 40 - .../components/RateReviewStatusType.java | 41 + .../components/RateReviewStatusTypeJson.java | 41 - .../com/cvent/models/components/RateType.java | 40 + .../cvent/models/components/RateTypeJson.java | 40 - .../cvent/models/components/RebateType.java | 41 + .../models/components/RebateTypeJson.java | 41 - .../models/components/RecipientInfo.java | 176 + .../models/components/RecipientInfoJson0.java | 176 - .../models/components/RecipientType.java | 40 + .../models/components/RecipientTypeJson0.java | 40 - .../components/RegistrationPackRequest.java | 12 +- .../components/RegistrationPackResponse.java | 12 +- .../components/ReservationGuestJsonInput.java | 12 +- .../ReservationGuestJsonOutput.java | 12 +- .../ReservationPaymentInfoJsonInput.java | 12 +- .../ReservationPaymentInfoJsonOutput.java | 12 +- .../models/components/RespondentJson.java | 12 +- .../java/com/cvent/models/components/Rfp.java | 208 +- .../models/components/RfpAgendaItem.java | 890 ++ .../models/components/RfpAgendaItemJson.java | 890 -- .../components/RfpAgendaItemSchedule.java | 134 + .../components/RfpAgendaItemScheduleJson.java | 134 - .../RfpAgendaItemScheduleWithId.java | 171 + .../RfpAgendaItemScheduleWithIdJson.java | 171 - .../models/components/RfpAttachment.java | 702 ++ .../models/components/RfpAttachmentJson.java | 702 -- .../components/RfpAttachmentJsonSupplier.java | 100 - .../components/RfpAttachmentSupplier.java | 100 + .../models/components/RfpCustomFieldJson.java | 155 - .../cvent/models/components/RfpDateMode.java | 39 + .../models/components/RfpDateModeJson0.java | 39 - .../com/cvent/models/components/RfpEvent.java | 870 ++ .../cvent/models/components/RfpEventJson.java | 870 -- .../components/RfpEventOrganizationJson.java | 328 - .../models/components/RfpGuestRooms.java | 24 +- .../cvent/models/components/RfpIdJson.java | 100 + .../cvent/models/components/RfpIdJson1.java | 100 - .../components/RfpInternalDocument.java | 365 + .../components/RfpInternalDocumentJson0.java | 365 - .../com/cvent/models/components/RfpMeal.java | 50 + .../cvent/models/components/RfpMealJson.java | 50 - .../cvent/models/components/RfpPastEvent.java | 458 + .../models/components/RfpPastEventJson.java | 458 - .../models/components/RfpPastEvents.java | 12 +- .../cvent/models/components/RfpQuestion.java | 1842 ++++ .../models/components/RfpQuestionJson.java | 1842 ---- .../components/RfpRecipientLogEntry.java | 337 + .../components/RfpRecipientLogEntryJson.java | 337 - .../RfpRecipientLogEntryJsonMessage.java | 100 - .../RfpRecipientLogEntryJsonSupplier.java | 100 - .../RfpRecipientLogEntryMessage.java | 100 + .../RfpRecipientLogEntrySupplier.java | 100 + .../models/components/RfpResponseReason.java | 78 + .../components/RfpResponseReasonJson.java | 78 - .../cvent/models/components/RfpStatus1.java | 44 + .../models/components/RfpStatusJson0.java | 44 - .../cvent/models/components/RfpSupplier.java | 1214 +++ .../models/components/RfpSupplierJson.java | 1215 --- .../components/RfpSupplierLeadSource.java | 138 + .../com/cvent/models/components/RfpType1.java | 42 + .../cvent/models/components/RfpTypeJson0.java | 42 - .../models/components/RoomBedTypeJson.java | 46 + .../models/components/RoomBedTypeJson1.java | 46 - .../cvent/models/components/RoomBlock.java | 255 + .../models/components/RoomBlockDetails.java | 143 + .../components/RoomBlockDetailsJson.java | 143 - .../models/components/RoomBlockJson.java | 255 - .../cvent/models/components/ScoresJson.java | 14 +- .../components/SendEmailEventRequest.java | 12 +- .../components/SendEmailEventResponse.java | 14 +- .../cvent/models/components/SessionLite.java | 93 + .../models/components/SessionLiteJson.java | 93 - .../models/components/SessionQaMessage.java | 12 +- .../models/components/SessionSpeaker.java | 207 + .../models/components/SessionSpeakerJson.java | 208 - .../SessionSpeakerPaginatedResponse.java | 23 +- .../components/SleepingRoomBlockJson.java | 16 +- .../models/components/SleepingRoomJson.java | 16 +- .../com/cvent/models/components/Solution.java | 40 + .../cvent/models/components/SolutionJson.java | 40 - .../cvent/models/components/SpaceArea.java | 111 + .../models/components/SpaceAreaJson0.java | 111 - .../com/cvent/models/components/Speaker.java | 24 +- .../models/components/SpeakerCategory.java | 100 - .../models/components/SpeakerCategory1.java | 133 + .../models/components/SpeakerCategory2.java | 100 + .../SpeakerCategoryPaginatedResponse.java | 12 +- .../SpeakerDocumentPaginatedResponse.java | 12 +- .../cvent/models/components/SpeakerLite1.java | 93 + .../models/components/SpeakerLiteJson.java | 93 - .../components/SpeakerPaginatedResponse.java | 13 +- .../models/components/SpeakerProgramItem.java | 56 +- .../models/components/SpeakerSession.java | 12 +- .../models/components/StakeholderJson.java | 12 +- .../models/components/StandardQuestion.java | 101 + .../components/StandardQuestionJson.java | 101 - .../models/components/StandardSurveyJson.java | 12 +- .../StandardSurveyQuestionJson.java | 84 +- .../models/components/SupplierResponse.java | 12 +- .../cvent/models/components/SupplierType.java | 47 + .../models/components/SupplierTypeJson.java | 14 +- .../models/components/SupplierTypeJson1.java | 39 - .../models/components/SurveyContactId.java | 129 + .../components/SurveyContactIdJson.java | 129 - .../cvent/models/components/SurveyJson.java | 12 +- .../cvent/models/components/TargetType.java | 56 + .../models/components/TargetTypeJson.java | 56 - .../com/cvent/models/components/TaxType.java | 46 + .../cvent/models/components/TaxTypeJson.java | 46 - .../models/components/TextAnswerFormat.java | 45 + .../components/TextAnswerFormatJson.java | 45 - .../cvent/models/components/TextField.java | 175 + .../models/components/TextFieldJson.java | 20 +- .../models/components/TextFieldJson1.java | 171 - .../com/cvent/models/components/Three.java | 12 +- .../cvent/models/components/ThreeInput.java | 12 +- .../models/components/ThumbnailStatus.java | 47 + .../components/ThumbnailStatusJson.java | 47 - .../models/components/ThumbnailType.java | 44 + .../models/components/ThumbnailTypeJson.java | 44 - .../components/TransactionDetailResponse.java | 12 +- .../components/TransactionItemResponse.java | 12 +- .../models/components/TravelAccount.java | 24 +- .../TravelAccountPaginatedResponse.java | 13 +- .../TravelAccountSupplierAccount.java | 12 +- ...countSupplierAccountPaginatedResponse.java | 12 +- .../models/components/TravelAccountType.java | 40 + .../components/TravelAccountTypeJson.java | 40 - .../models/components/TravelAmenityJson.java | 381 - .../models/components/TravelBidAmenity.java | 413 + .../components/TravelBidAmenityJson.java | 413 - .../models/components/TravelBidComment.java | 136 + .../components/TravelBidCommentJson.java | 136 - .../models/components/TravelBidDiscount.java | 177 + .../components/TravelBidDiscountJson.java | 177 - .../TravelBidDiscountJsonPropertyRoom.java | 100 - .../TravelBidDiscountPropertyRoom.java | 100 + .../components/TravelBidDisposition.java | 179 + .../TravelBidDispositionAcceptedRoom.java | 180 + .../TravelBidDispositionAcceptedRoomJson.java | 180 - ...spositionAcceptedRoomJsonPropertyRoom.java | 100 - ...idDispositionAcceptedRoomPropertyRoom.java | 100 + .../components/TravelBidDispositionJson.java | 179 - .../components/TravelBidFairSeason.java | 384 + .../components/TravelBidFairSeasonJson.java | 384 - .../components/TravelBidFairSeasonRate.java | 333 + .../TravelBidFairSeasonRateJson.java | 334 - ...avelBidFairSeasonRateJsonPropertyRoom.java | 100 - .../TravelBidFairSeasonRatePropertyRoom.java | 100 + .../models/components/TravelBidPolicy.java | 340 + .../components/TravelBidPolicyJson.java | 340 - .../models/components/TravelBidRateJson.java | 212 - .../models/components/TravelBidRoom.java | 220 + .../models/components/TravelBidRoomJson.java | 220 - .../TravelBidRoomJsonPropertyRoom.java | 100 - .../components/TravelBidRoomPropertyRoom.java | 100 + .../models/components/TravelBidSeason.java | 372 + .../components/TravelBidSeasonJson.java | 372 - .../components/TravelBidSeasonRate.java | 424 + .../components/TravelBidSeasonRateJson.java | 424 - .../TravelBidSeasonRateJsonPropertyRoom.java | 100 - .../TravelBidSeasonRatePropertyRoom.java | 100 + .../models/components/TravelBidTaxAndFee.java | 307 + .../components/TravelBidTaxFeeJson.java | 307 - .../components/TravelBidWeekendDayJson.java | 44 - .../components/TravelBidWeekendDays.java | 44 + .../components/TravelBreakOutRoomJson.java | 264 - .../components/TravelDayDelegateRateJson.java | 218 - .../components/TravelGroupAndMeetingJson.java | 309 - .../TravelMeetingRoomBasicInfoJson.java | 179 - .../models/components/TravelProgram.java | 60 +- .../components/TravelProgramFormatType.java | 39 + .../TravelProgramFormatTypeJson.java | 39 - .../TravelProgramPaginatedResponse.java | 13 +- .../components/TravelProgramQuestion.java | 542 ++ .../components/TravelProgramQuestion1.java | 221 + .../components/TravelProgramQuestionJson.java | 221 - .../TravelProgramQuestionTravelProgram.java | 100 + .../components/TravelProgramStatus.java | 40 + .../components/TravelProgramStatusJson.java | 40 - .../components/TravelProgramStayType.java | 40 + .../components/TravelProgramStayTypeJson.java | 40 - .../models/components/TravelProgramType.java | 40 + .../components/TravelProgramTypeJson.java | 40 - .../models/components/TravelProposal.java | 97 +- .../models/components/TravelProposalBid.java | 978 -- .../models/components/TravelProposalBid1.java | 100 + .../models/components/TravelProposalBid2.java | 978 ++ .../components/TravelProposalBidIdJson.java | 100 - .../TravelProposalBidPaginatedResponse.java | 24 +- .../components/TravelProposalBidRate.java | 212 + .../TravelProposalCustomQuestion.java | 136 + .../TravelProposalCustomQuestionQuestion.java | 100 + .../components/TravelProposalDisposition.java | 143 + .../TravelProposalDispositionJson.java | 143 - .../TravelProposalGroupAndMeeting.java | 314 + .../TravelProposalGroupAndMeetingAmenity.java | 383 + ...elProposalGroupAndMeetingBreakOutRoom.java | 267 + ...roposalGroupAndMeetingDayDelegateRate.java | 220 + ...AndMeetingMeetingRoomBasicInformation.java | 183 + ...ProposalGroupAndMeetingRunOfHouseRate.java | 468 + ...salGroupAndMeetingTaxAndServiceCharge.java | 301 + .../TravelProposalPaginatedResponse.java | 12 +- .../components/TravelRunOfHouseRateJson.java | 458 - .../TravelTaxAndServiceChargeJson.java | 298 - .../cvent/models/components/UnitPosition.java | 39 + .../models/components/UnitPositionJson.java | 39 - .../UpdatedThroughNameProperty.java | 126 + .../UpdatedThroughNamePropertyJson.java | 126 - .../com/cvent/models/components/User.java | 12 +- .../cvent/models/components/UserInput.java | 12 +- .../com/cvent/models/components/UserJson.java | 12 +- .../cvent/models/components/VenueSummary.java | 14 +- .../com/cvent/models/components/Video1.java | 100 + .../cvent/models/components/VideoAssetID.java | 93 + .../models/components/VideoAssetIdJson.java | 93 - .../cvent/models/components/VideoClip.java | 133 + .../models/components/VideoClipJson.java | 133 - .../cvent/models/components/VideoError.java | 131 + .../models/components/VideoErrorCode.java | 45 + .../models/components/VideoErrorCodeJson.java | 45 - .../models/components/VideoErrorJson.java | 131 - .../cvent/models/components/VideoJson.java | 100 - .../models/components/VideoRendition.java | 404 + .../models/components/VideoRenditionJson.java | 404 - .../components/VideoRenditionJsonLink.java | 93 - .../models/components/VideoRenditionLink.java | 93 + .../models/components/VideoRenditionType.java | 44 + .../components/VideoRenditionTypeJson.java | 44 - .../components/VideoRenditionsResponse.java | 12 +- .../cvent/models/components/VideoSource.java | 134 + .../models/components/VideoSourceJson.java | 134 - .../components/VideoSourceJsonStatus.java | 41 - .../models/components/VideoSourceStatus.java | 41 + .../cvent/models/components/VideoStatus.java | 55 + .../models/components/VideoStatusJson.java | 55 - .../models/components/VideoTextTrack.java | 38 +- .../models/components/VideoTextTrackKind.java | 42 + .../components/VideoTextTrackKindJson.java | 42 - .../components/VideoTextTrackStatus.java | 50 + .../components/VideoTextTrackStatusJson.java | 50 - .../models/components/VideoThumbnail.java | 310 + .../models/components/VideoThumbnailJson.java | 310 - .../cvent/models/components/VideoType.java | 48 + .../models/components/VideoTypeJson.java | 48 - .../cvent/models/components/VideoView.java | 384 + .../models/components/VideoViewJson.java | 385 - .../VideoViewsPaginatedResponse.java | 23 +- .../cvent/models/components/VideoWarning.java | 131 + .../models/components/VideoWarningCode.java | 37 + .../components/VideoWarningCodeJson.java | 37 - .../models/components/VideoWarningJson.java | 132 - .../components/VideosPaginatedResponse.java | 12 +- .../cvent/models/components/ViewType1.java | 39 + .../models/components/ViewTypeJson1.java | 39 - .../com/cvent/models/components/Voucher.java | 332 + .../models/components/VoucherCapacity.java | 129 + .../components/VouchersPaginatedResponse.java | 128 + .../com/cvent/models/components/Weblink.java | 14 +- .../models/components/WeddingDetails1.java | 291 + .../components/WeddingDetailsJson0.java | 291 - .../models/components/WeddingPartner.java | 134 + .../models/components/WeddingPartnerJson.java | 134 - .../cvent/models/components/ZeroAllOf7.java | 2007 +--- .../cvent/models/components/ZeroAllOf8.java | 297 +- .../cvent/models/components/ZeroAllOf9.java | 361 - .../cvent/models/errors/ErrorResponse1.java | 16 +- .../cvent/models/errors/ErrorResponse2.java | 16 +- .../models/errors/ErrorResponseJson12.java | 321 + .../models/errors/ErrorResponseJson17.java | 321 - .../AddSpeakerCategoryRequestBuilder.java | 10 +- .../operations/CreateContactsRequest.java | 16 +- .../operations/CreateContactsResponse.java | 14 +- .../operations/GetAttendeeByIdResponse.java | 32 +- .../GetAttendeeMessagesMembersRequest.java | 108 +- .../GetTravelProposalBidResponse.java | 14 +- .../operations/GetVideoViewsRequest.java | 116 +- .../operations/ListDurationsRequest.java | 168 +- .../ListEventVoucherAttendeesRequest.java | 213 + ...stEventVoucherAttendeesRequestBuilder.java | 107 + .../ListEventVoucherAttendeesResponse.java | 209 + .../ListEventVouchersPostFilterRequest.java | 369 + ...EventVouchersPostFilterRequestBuilder.java | 107 + .../ListEventVouchersPostFilterResponse.java | 209 + .../operations/ListEventVouchersRequest.java | 404 + .../ListEventVouchersRequestBuilder.java | 107 + .../operations/ListEventVouchersResponse.java | 208 + .../models/operations/ListVideosRequest.java | 164 +- .../operations/PatchContactsResponse.java | 14 +- .../operations/UpdateAttendeeResponse.java | 32 +- .../operations/UpdateContactsResponse.java | 14 +- .../AddSpeakerCategoryRequestBuilder.java | 10 +- .../async/CreateContactsResponse.java | 14 +- .../async/GetAttendeeByIdResponse.java | 32 +- .../async/GetTravelProposalBidResponse.java | 14 +- ...stEventVoucherAttendeesRequestBuilder.java | 106 + .../ListEventVoucherAttendeesResponse.java | 210 + ...EventVouchersPostFilterRequestBuilder.java | 106 + .../ListEventVouchersPostFilterResponse.java | 210 + .../ListEventVouchersRequestBuilder.java | 105 + .../async/ListEventVouchersResponse.java | 209 + .../async/PatchContactsResponse.java | 14 +- .../async/UpdateAttendeeResponse.java | 32 +- .../async/UpdateContactsResponse.java | 14 +- .../cvent/operations/AddSpeakerCategory.java | 18 +- .../AssociateAttendeeToSegment.java | 19 +- .../com/cvent/operations/CancelBulkJob.java | 6 +- .../operations/CancelReservationRequest.java | 19 +- .../cvent/operations/CreateAppointment.java | 19 +- .../operations/CreateAudienceSegment.java | 19 +- .../com/cvent/operations/CreateBulkJob.java | 8 +- .../com/cvent/operations/CreateContacts.java | 6 +- .../operations/CreateExhibitorWeblink.java | 19 +- .../CreateSessionProgramSpeaker.java | 19 +- .../java/com/cvent/operations/CreateUser.java | 6 +- .../operations/DeleteRegistrationPack.java | 19 +- .../java/com/cvent/operations/DeleteUser.java | 6 +- .../com/cvent/operations/GetAttendeeById.java | 8 +- .../com/cvent/operations/GetBulkJobById.java | 6 +- .../java/com/cvent/operations/GetMRFById.java | 19 +- .../com/cvent/operations/GetResourceType.java | 6 +- .../cvent/operations/GetResourceTypes.java | 6 +- .../java/com/cvent/operations/GetSchema.java | 6 +- .../java/com/cvent/operations/GetSchemas.java | 6 +- .../operations/GetServiceProviderConfig.java | 6 +- .../cvent/operations/GetTravelAccount.java | 9 +- .../cvent/operations/GetTravelProgram.java | 9 +- .../operations/GetTravelProgramQuestion.java | 12 +- .../operations/GetTravelProposalBid.java | 6 +- .../java/com/cvent/operations/GetUser.java | 6 +- .../com/cvent/operations/GetUserGroups.java | 6 +- .../cvent/operations/ListBulkJobResult.java | 6 +- .../operations/ListEventVoucherAttendees.java | 301 + .../cvent/operations/ListEventVouchers.java | 298 + .../ListEventVouchersPostFilter.java | 313 + .../cvent/operations/ListTravelAccounts.java | 9 +- .../ListTravelProgramQuestions.java | 12 +- .../cvent/operations/ListTravelPrograms.java | 9 +- .../ListTravelProgramsQuestions.java | 12 +- .../java/com/cvent/operations/ListUsers.java | 6 +- .../com/cvent/operations/PatchContacts.java | 6 +- .../operations/PostRegistrationPack.java | 19 +- .../RelateProgramItemToSessionDocument.java | 19 +- .../java/com/cvent/operations/RunBulkJob.java | 8 +- .../cvent/operations/UpdateAppointment.java | 19 +- .../com/cvent/operations/UpdateAttendee.java | 8 +- .../operations/UpdateAudienceSegment.java | 19 +- .../com/cvent/operations/UpdateContacts.java | 6 +- .../cvent/operations/UpdateExhibitorFile.java | 19 +- .../operations/UpdateExhibitorWeblink.java | 19 +- .../operations/UpdateReservationRequest.java | 19 +- .../java/com/cvent/operations/UpdateUser.java | 6 +- .../cvent/operations/UploadBulkJobData.java | 8 +- packages/typescript/.speakeasy/gen.lock | 3448 +++---- packages/typescript/.speakeasy/gen.yaml | 2 +- .../typescript/.speakeasy/tests.arazzo.yaml | 97 + packages/typescript/README.md | 16 +- .../accountbudgetitemlistresponsejson.md | 4 +- .../docs/models/components/action.md | 17 + .../models/components/additionalchoice.md | 12 +- .../models/components/additionalchoice1.md | 19 + .../models/components/additionalchoicejson.md | 21 + .../components/additionalchoicejson1.md | 21 - .../components/additionalchoicejson2.md | 21 - .../docs/models/components/address.md | 35 + .../docs/models/components/address1.md | 23 + .../docs/models/components/address11.md | 22 +- .../docs/models/components/address12.md | 33 - .../docs/models/components/address2.md | 29 - .../docs/models/components/address3.md | 8 +- .../docs/models/components/address4.md | 29 + .../docs/models/components/address5.md | 35 + .../docs/models/components/address6.md | 33 + .../docs/models/components/addressinput.md | 31 + .../docs/models/components/addressjson.md | 32 +- .../docs/models/components/addressjson0.md | 23 - .../docs/models/components/addressjson1.md | 33 + .../docs/models/components/addressjson2.md | 36 +- .../docs/models/components/addressjson3.md | 33 - .../docs/models/components/addressjson4.md | 31 - .../docs/models/components/addressjson5.md | 33 - .../models/components/addressjsoninput.md | 31 - .../docs/models/components/addresstypejson.md | 6 +- .../models/components/addresstypejson1.md | 17 - .../docs/models/components/agendaitemsetup.md | 17 + .../models/components/agendaitemsetupjson.md | 17 - .../docs/models/components/agendaitemtype.md | 17 + .../models/components/agendaitemtypejson.md | 17 - .../docs/models/components/amenitytype.md | 17 + .../docs/models/components/amenitytypejson.md | 17 - .../components/appointmentwithquestions.md | 2 +- .../docs/models/components/assetlocation.md | 20 + .../models/components/assetlocationinput.md | 16 + .../models/components/assetlocationjson.md | 20 - .../components/assetlocationjsoninput.md | 16 - .../models/components/attachmentsource.md | 17 + .../models/components/attachmentsourcejson.md | 17 - .../docs/models/components/attendee.md | 19 + .../docs/models/components/attendee1.md | 235 - .../docs/models/components/attendee11.md | 226 +- .../docs/models/components/attendee12.md | 4 +- .../docs/models/components/attendee13.md | 19 + .../docs/models/components/attendee1event.md | 17 + .../docs/models/components/attendee1lookup.md | 23 + .../docs/models/components/attendee2.md | 6 +- ...tendeeaddbulkitemeventjsonerrorresponse.md | 2 +- .../components/attendeeaddbulkitemjsondata.md | 4 +- .../models/components/attendeecontactinfo.md | 4 +- .../components/attendeecontacttypeinput.md | 19 + .../components/attendeecontacttypejson.md | 21 - .../attendeecontacttypejsoninput.md | 19 - .../docs/models/components/attendeeevent.md | 17 - .../models/components/attendeeinsights.md | 2 +- .../attendeelinkbulkresponseitemjsondata.md | 4 +- .../docs/models/components/attendeelookup.md | 23 - .../components/attendeepaginatedresponse.md | 2 +- .../docs/models/components/attendees.md | 4 +- .../components/attendeespaginatedresponse.md | 42 + .../docs/models/components/audiencesegment.md | 2 +- .../components/audiencesegmentcreate.md | 2 +- .../components/audiencesegmentresponse.md | 2 +- .../models/components/audiotrackstatus.md | 17 + .../models/components/audiotrackstatusjson.md | 17 - .../docs/models/components/audiotracktype.md | 17 + .../models/components/audiotracktypejson.md | 17 - .../models/components/audiotrackvariant.md | 17 + .../components/audiotrackvariantjson.md | 17 - .../docs/models/components/badge.md | 4 +- .../docs/models/components/badgeinput.md | 4 +- .../models/components/biditemstatustype.md | 17 + .../components/biditemstatustypejson.md | 17 - .../docs/models/components/bidstatustype.md | 17 + .../models/components/bidstatustypejson.md | 17 - .../docs/models/components/bidstaytype.md | 17 + .../docs/models/components/bidstaytypejson.md | 17 - .../docs/models/components/billingdetails1.md | 26 + .../models/components/billingdetailsjson0.md | 26 - .../models/components/boothstaffrequest.md | 4 +- .../models/components/boothstaffresponse.md | 4 +- .../models/components/bouncedetailsjson.md | 2 +- .../components/bouncedetailsresponse.md | 8 +- .../docs/models/components/brand.md | 2 +- .../docs/models/components/bridegroomtype.md | 17 + .../models/components/bridegroomtypejson0.md | 17 - .../docs/models/components/businesstype.md | 17 + .../models/components/businesstypejson.md | 17 - .../models/components/cancellationdetails.md | 22 + .../components/cancellationdetailsjson.md | 22 - .../models/components/cancelledreason1.md | 17 + .../models/components/cancelledreasonjson0.md | 17 - .../docs/models/components/category.md | 25 + .../models/components/categoryidnamejson.md | 21 - .../components/categoryitemscostjson.md | 10 +- .../docs/models/components/categoryjson.md | 30 +- .../docs/models/components/categoryjson1.md | 29 +- .../docs/models/components/categoryjson2.md | 24 - .../docs/models/components/chain.md | 2 +- .../docs/models/components/choice.md | 17 +- .../docs/models/components/choice1.md | 22 + .../docs/models/components/choicejson.md | 25 - .../docs/models/components/choicejson1.md | 24 + .../docs/models/components/choicejson2.md | 16 +- .../models/components/choicejson2input.md | 19 + .../docs/models/components/choicejson3.md | 20 - .../models/components/choicejson3input.md | 19 - .../docs/models/components/choices.md | 2 +- .../docs/models/components/choicesortorder.md | 17 + .../models/components/choicesortorderjson.md | 17 - .../docs/models/components/commenttype.md | 17 + .../docs/models/components/commenttypejson.md | 17 - .../docs/models/components/compliance.md | 6 +- .../models/components/complianceaction.md | 17 - .../components/compliancecompliancescope.md | 17 - .../models/components/compliancecreatedby.md | 17 - .../docs/models/components/compliancejson.md | 25 - .../models/components/compliancejsonaction.md | 17 - .../compliancejsoncompliancescope.md | 17 - .../components/compliancejsoncreatedby.md | 17 - .../docs/models/components/compliancescope.md | 17 + .../models/components/conflictresolution.md | 6 +- .../docs/models/components/contact.md | 20 +- .../docs/models/components/contact1.md | 41 + .../docs/models/components/contact2.md | 19 + .../models/components/contactbulkitemjson.md | 151 - .../components/contactbulkitemjsondata.md | 140 - .../components/contactbulkresponseitem.md | 151 + .../components/contactbulkresponseitemdata.md | 140 + .../docs/models/components/contactcreate.md | 120 + .../models/components/contactcreateevent.md | 19 + .../components/contactcreaterequestjson.md | 120 - .../contactcreaterequestjsonevent.md | 19 - .../docs/models/components/contactgroup.md | 4 +- .../models/components/contactgroupinput.md | 4 +- .../contactgrouppaginatedresponse.md | 2 +- .../models/components/contactgrouptype.md | 17 + .../models/components/contactgrouptypejson.md | 17 - .../docs/models/components/contacthistory.md | 29 + .../models/components/contacthistoryjson.md | 29 - .../contacthistorypaginatedresponse.md | 8 +- .../docs/models/components/contactid.md | 19 + .../docs/models/components/contactidjson.md | 19 - .../components/contactidpaginatedresponse.md | 8 +- .../docs/models/components/contactjson.md | 52 + .../docs/models/components/contactjson0.md | 41 - .../docs/models/components/contactjson1.md | 52 - .../docs/models/components/contactjson2.md | 19 - .../models/components/contactlinksinput.md | 29 + .../models/components/contactlinksjson.md | 33 - .../components/contactlinksjsoninput.md | 29 - .../models/components/contactlinksjsonlink.md | 19 - .../models/components/contactmembership.md | 32 + .../models/components/contactmergefield.md | 21 + .../components/contactmergefieldjson.md | 21 - .../docs/models/components/contactmethods.md | 17 + .../models/components/contactmethodsjson.md | 17 - .../components/contactobfuscationstatus.md | 4 +- .../contactobfuscationstatustype.md | 27 + .../contactobfuscationstatustypejson.md | 27 - .../docs/models/components/contactoptout.md | 22 + .../models/components/contactoptoutinput.md | 17 + .../components/contactpaginatedresponse.md | 4 +- .../docs/models/components/contactpatch.md | 10 +- .../docs/models/components/contacttype.md | 27 + .../docs/models/components/contacttypejson.md | 22 +- .../models/components/contacttypejson1.md | 17 - .../contacttypepaginatedresponse.md | 8 +- .../docs/models/components/contactupdate.md | 16 +- .../docs/models/components/createdby.md | 17 + .../components/createtransactionresponse.md | 2 +- .../createtransactionresponseinput.md | 2 +- .../docs/models/components/currencyjson1.md | 17 - .../docs/models/components/currencyjson2.md | 17 + .../docs/models/components/customfield3.md | 2 +- .../models/components/customfieldanswers.md | 25 + .../docs/models/components/customfieldjson.md | 30 + .../models/components/customfieldjson1.md | 22 +- .../customfieldjson1customfieldtype.md | 6 +- .../models/components/customfieldjson2.md | 26 +- .../customfieldjson2customfieldtype.md | 6 +- .../models/components/customfieldjson3.md | 30 - .../customfieldjson3customfieldtype.md | 17 - .../customfieldjsoncustomfieldtype.md | 17 + .../models/components/customfieldtypejson.md | 17 + .../models/components/customfieldtypejson1.md | 17 - .../components/customquestionanswerjson0.md | 23 - .../customquestionanswerjson0question.md | 19 - .../models/components/dateanswerformat.md | 17 + .../models/components/dateanswerformatjson.md | 17 - .../docs/models/components/datepattern1.md | 38 + .../models/components/datepatternjson0.md | 40 - .../models/components/daterequirements1.md | 48 + .../components/daterequirementsjson0.md | 48 - .../docs/models/components/dates1.md | 28 + .../docs/models/components/datesjson0.md | 28 - .../docs/models/components/datetypejson.md | 17 + .../docs/models/components/datetypejson1.md | 17 - .../docs/models/components/dayofweek.md | 17 + .../docs/models/components/dayofweekjson0.md | 17 - .../docs/models/components/device1.md | 24 + .../docs/models/components/devicejson.md | 24 - .../docs/models/components/devicetype.md | 17 + .../docs/models/components/devicetypejson.md | 17 - .../docs/models/components/displaytype.md | 17 + .../docs/models/components/displaytypejson.md | 17 - .../docs/models/components/distancejson.md | 21 + .../docs/models/components/distancejson1.md | 21 - .../models/components/distributionlistinfo.md | 22 + .../components/distributionlistinfoinput.md | 20 + .../components/distributionlistinfojson.md | 22 - .../distributionlistinfojsoninput.md | 20 - .../distributionlistsecuritytype.md | 17 + .../distributionlistsecuritytypejson.md | 17 - .../components/distributionliststatus.md | 17 + .../components/distributionliststatusjson.md | 17 - .../docs/models/components/documenttype1.md | 17 + .../models/components/documenttypejson0.md | 17 - .../models/components/emailhistoryjson.md | 2 +- .../docs/models/components/emailjson1.md | 10 +- .../docs/models/components/emailtypejson.md | 17 + .../docs/models/components/emailtypejson1.md | 6 +- .../docs/models/components/emailtypejson3.md | 17 - .../docs/models/components/encodingprofile.md | 17 + .../models/components/encodingprofilejson.md | 17 - .../docs/models/components/errorresponse1.md | 12 +- .../docs/models/components/errorresponse2.md | 12 +- .../docs/models/components/event1.md | 4 +- .../docs/models/components/event12.md | 19 + .../docs/models/components/event21.md | 19 - .../docs/models/components/event3.md | 19 + .../docs/models/components/eventallof.md | 17 - .../docs/models/components/eventcontactid.md | 21 + .../models/components/eventcontactidjson.md | 21 - .../eventemailspaginatedresponse.md | 2 +- .../docs/models/components/eventformattype.md | 17 + .../models/components/eventformattypejson0.md | 17 - .../docs/models/components/eventinput.md | 2 +- .../docs/models/components/eventjson.md | 19 + .../docs/models/components/eventjson0.md | 19 - .../docs/models/components/eventjson1.md | 6 +- .../docs/models/components/eventjson2.md | 19 - .../docs/models/components/eventjson3.md | 19 + .../docs/models/components/eventjson4.md | 19 - .../docs/models/components/eventjson5.md | 19 + .../docs/models/components/eventjson6.md | 10 +- .../docs/models/components/eventjson8.md | 19 - .../docs/models/components/eventlite.md | 19 + .../docs/models/components/eventlitejson.md | 19 - .../models/components/eventorganization1.md | 35 + .../models/components/eventquestionjson.md | 2 +- .../components/eventsurveyquestionjson.md | 14 +- .../components/eventsurveyrespondent.md | 2 +- .../models/components/eventsurveyresponse.md | 2 +- .../docs/models/components/eventtype1.md | 17 + .../docs/models/components/eventtypejson.md | 17 + .../docs/models/components/eventtypejson0.md | 17 - .../docs/models/components/eventtypejson1.md | 17 - .../docs/models/components/eventupdate.md | 4 +- .../models/components/eventupdateinput.md | 2 +- .../components/exhibitorcategoryrequest.md | 2 +- .../components/exhibitorcategoryresponse.md | 2 +- .../models/components/exhibitorrequest.md | 4 +- .../models/components/exhibitorresponse.md | 4 +- .../components/existingaudiencesegment.md | 2 +- .../models/components/existingaudiotrack.md | 10 +- .../models/components/existingcustomfield.md | 2 +- .../components/existingcustomfielddetails.md | 4 +- .../existingcustomfielddetailsinput.md | 4 +- .../components/existingcustomfieldinput.md | 2 +- .../models/components/existingdurationtype.md | 2 +- .../existingeliteraturerequestdataforlead.md | 2 +- .../components/existingexhibitoranswer.md | 2 +- .../existingexhibitoranswerinput.md | 2 +- .../components/existingexhibitorquestion.md | 6 +- .../docs/models/components/existingfile.md | 2 +- .../docs/models/components/existingspeaker.md | 4 +- .../models/components/existingspeakerinput.md | 4 +- .../components/existingsponsorshiplevel.md | 2 +- .../components/existingvideoresponse.md | 20 +- .../components/existingvideotexttrack.md | 8 +- .../components/existingvideotexttrackinput.md | 8 +- .../docs/models/components/existingweblink.md | 2 +- .../docs/models/components/fairseasontype.md | 17 + .../models/components/fairseasontypejson.md | 17 - .../docs/models/components/field.md | 45 + .../docs/models/components/fieldjson.md | 41 +- .../docs/models/components/fieldjson2.md | 44 - .../docs/models/components/fieldtype.md | 17 + .../docs/models/components/fieldtypejson.md | 6 +- .../docs/models/components/fieldtypejson2.md | 17 - .../docs/models/components/fileinput.md | 2 +- .../docs/models/components/formattype.md | 17 + .../docs/models/components/formattypejson.md | 17 - .../docs/models/components/genderjson.md | 17 - .../docs/models/components/guestjson.md | 2 +- .../models/components/guestroomoccupancy.md | 17 + .../components/guestroomoccupancyjson.md | 17 - .../guestroomoccupancyperroomtype.md | 21 + .../guestroomoccupancyperroomtypejson.md | 21 - .../docs/models/components/guestroomtype.md | 17 + .../models/components/guestroomtypejson.md | 17 - .../models/components/hlsinputwithclips.md | 26 + .../components/hlsinputwithclipsjson.md | 26 - .../docs/models/components/hotelrequest.md | 2 +- .../models/components/housingeventhotel.md | 2 +- .../components/housingeventsummarylist.md | 2 +- .../docs/models/components/idjson.md | 19 - .../docs/models/components/idonlyentity.md | 19 + .../docs/models/components/industry1.md | 17 + .../docs/models/components/industryjson0.md | 17 - .../invitationlistpaginatedresponse.md | 2 +- .../typescript/docs/models/components/lead.md | 8 +- .../components/leadqualificationanswers.md | 2 +- .../components/leadqualificationquestion.md | 8 +- .../leadqualifiedquestionresponsejson.md | 2 +- .../docs/models/components/leadsource.md | 2 +- .../docs/models/components/leadsourcejson.md | 23 - .../models/components/leadsourcesection.md | 19 + .../components/leadsourcesectionjson.md | 19 - .../models/components/managementleveltype1.md | 17 + .../components/managementleveltypejson1.md | 17 - .../docs/models/components/measurementunit.md | 21 + .../models/components/measurementunitjson0.md | 17 - .../components/meetingrequestquestionjson.md | 2 +- .../docs/models/components/membershipjson.md | 32 - .../components/messagerecipientresponse.md | 27 + .../messagerecipientresponseattendee.md | 23 + .../messagerecipientspaginatedresponse.md | 8 +- .../messagerecipientsresponsejson.md | 27 - .../messagerecipientsresponsejsonattendee.md | 23 - .../models/components/numericanswerformat.md | 17 + .../components/numericanswerformatjson.md | 17 - .../models/components/offeringcosttype1.md | 17 + .../components/offeringcosttypejson0.md | 17 - .../typescript/docs/models/components/one.md | 26 + .../docs/models/components/oneallof.md | 19 - .../docs/models/components/oneoneof.md | 26 - .../docs/models/components/optoutby.md | 17 + .../docs/models/components/optoutjson.md | 22 - .../docs/models/components/optoutjsoninput.md | 17 - .../docs/models/components/orderdetail.md | 2 +- .../models/components/orderitemresponse.md | 2 +- .../docs/models/components/organization.md | 19 + .../models/components/organizationjson.md | 19 - .../models/components/organizationtype1.md | 17 + .../components/organizationtypejson0.md | 17 - .../components/packagepricingpreference.md | 17 + .../packagepricingpreferencejson.md | 17 - .../components/paginatedinternaldocuments.md | 8 +- .../components/paginatedrfpagendaitems.md | 8 +- .../paginatedrfpagendaitemsschedule.md | 8 +- .../components/paginatedrfpattachments.md | 8 +- .../components/paginatedrfpcustomfield.md | 4 +- .../components/paginatedrfpquestions.md | 8 +- .../paginatedrfprecipientshistory.md | 8 +- .../components/paginatedrfpsuppliers.md | 8 +- .../docs/models/components/pagingjson19.md | 37 - .../docs/models/components/pagingjson2.md | 37 + .../components/pagingnototalcountjson.md | 37 + .../components/pagingnototalcountjson2.md | 37 - .../docs/models/components/passport.md | 23 + .../docs/models/components/passportinput.md | 21 + .../docs/models/components/passportjson.md | 23 - .../models/components/passportjsoninput.md | 21 - .../docs/models/components/paymentinfojson.md | 2 +- .../docs/models/components/plannerjson2.md | 2 +- .../docs/models/components/policyvaluetype.md | 17 + .../models/components/policyvaluetypejson.md | 17 - .../docs/models/components/programitemlite.md | 19 + .../models/components/programitemlitejson.md | 19 - .../programitemspeakerpaginatedresponse.md | 2 +- .../docs/models/components/property.md | 2 +- .../docs/models/components/propertyroom.md | 2 +- .../models/components/proposaldatejson.md | 2 +- .../docs/models/components/proposalrequest.md | 6 +- .../models/components/proposalresponse.md | 6 +- .../models/components/proposalstatustype.md | 17 + .../components/proposalstatustypejson.md | 17 - .../docs/models/components/proximityjson.md | 8 +- .../docs/models/components/question.md | 6 +- .../components/questionclassificationtype.md | 17 + .../questionclassificationtypejson.md | 17 - .../docs/models/components/questionjson.md | 27 + .../docs/models/components/questionjson1.md | 108 +- .../docs/models/components/questionjson2.md | 104 +- .../docs/models/components/questionjson3.md | 23 - .../components/questionpaginatedresponse.md | 2 +- .../components/questionresponsedatatype.md | 17 + .../questionresponsedatatypejson.md | 17 - .../components/questionresponseformat.md | 17 + .../components/questionresponseformatjson.md | 17 - .../models/components/questionresponsejson.md | 2 +- .../models/components/questionresponsetype.md | 17 + .../components/questionresponsetypejson.md | 17 - .../docs/models/components/questionsection.md | 17 + .../models/components/questionsectionjson.md | 17 - .../components/questionspaginatedresponse.md | 2 +- .../components/questionspaginatedresponse1.md | 8 +- .../docs/models/components/questiontype.md | 17 + .../models/components/questiontypejson.md | 6 +- .../models/components/questiontypejson1.md | 6 +- .../models/components/questiontypejson2.md | 6 +- .../models/components/questiontypejson3.md | 17 - .../components/questionwithprogramidjson.md | 48 - .../questionwithprogramidjsontravelprogram.md | 19 - .../docs/models/components/rateleveltype.md | 17 + .../models/components/rateleveltypejson.md | 17 - .../models/components/ratereviewstatustype.md | 17 + .../components/ratereviewstatustypejson.md | 17 - .../docs/models/components/ratetype.md | 17 + .../docs/models/components/ratetypejson.md | 17 - .../docs/models/components/rebatetype.md | 17 + .../docs/models/components/rebatetypejson.md | 17 - .../docs/models/components/recipientinfo.md | 22 + .../models/components/recipientinfojson0.md | 22 - .../docs/models/components/recipienttype.md | 17 + .../models/components/recipienttypejson0.md | 17 - .../components/registrationpackrequest.md | 2 +- .../components/registrationpackresponse.md | 2 +- .../components/reservationguestjsoninput.md | 2 +- .../components/reservationguestjsonoutput.md | 2 +- .../reservationpaymentinfojsoninput.md | 2 +- .../reservationpaymentinfojsonoutput.md | 2 +- .../docs/models/components/respondentjson.md | 2 +- .../typescript/docs/models/components/rfp.md | 30 +- .../docs/models/components/rfpagendaitem.md | 62 + .../models/components/rfpagendaitemjson.md | 62 - .../components/rfpagendaitemschedule.md | 22 + .../components/rfpagendaitemschedulejson.md | 22 - .../components/rfpagendaitemschedulewithid.md | 24 + .../rfpagendaitemschedulewithidjson.md | 24 - .../docs/models/components/rfpattachment.md | 51 + .../models/components/rfpattachmentjson.md | 51 - .../components/rfpattachmentjsonsupplier.md | 19 - .../components/rfpattachmentsupplier.md | 19 + .../models/components/rfpcustomfieldjson.md | 25 - .../docs/models/components/rfpdatemode.md | 17 + .../models/components/rfpdatemodejson0.md | 17 - .../docs/models/components/rfpevent.md | 53 + .../docs/models/components/rfpeventjson.md | 53 - .../components/rfpeventorganizationjson.md | 35 - .../docs/models/components/rfpguestrooms.md | 16 +- .../docs/models/components/rfpidjson.md | 19 + .../docs/models/components/rfpidjson1.md | 19 - .../models/components/rfpinternaldocument.md | 33 + .../components/rfpinternaldocumentjson0.md | 33 - .../docs/models/components/rfpmeal.md | 17 + .../docs/models/components/rfpmealjson.md | 17 - .../docs/models/components/rfppastevent.md | 37 + .../models/components/rfppasteventjson.md | 37 - .../docs/models/components/rfppastevents.md | 6 +- .../docs/models/components/rfpquestion.md | 149 + .../docs/models/components/rfpquestionjson.md | 149 - .../models/components/rfprecipientlogentry.md | 35 + .../components/rfprecipientlogentryjson.md | 35 - .../rfprecipientlogentryjsonmessage.md | 19 - .../rfprecipientlogentryjsonsupplier.md | 19 - .../components/rfprecipientlogentrymessage.md | 19 + .../rfprecipientlogentrysupplier.md | 19 + .../models/components/rfpresponsereason.md | 17 + .../components/rfpresponsereasonjson.md | 17 - .../docs/models/components/rfpstatus1.md | 17 + .../docs/models/components/rfpstatusjson0.md | 17 - .../docs/models/components/rfpsupplier.md | 102 + .../docs/models/components/rfpsupplierjson.md | 102 - .../components/rfpsupplierleadsource.md | 23 + .../docs/models/components/rfptype1.md | 17 + .../docs/models/components/rfptypejson0.md | 17 - .../docs/models/components/roombedtypejson.md | 17 + .../models/components/roombedtypejson1.md | 17 - .../docs/models/components/roomblock.md | 33 + .../models/components/roomblockdetails.md | 21 + .../models/components/roomblockdetailsjson.md | 21 - .../docs/models/components/roomblockjson.md | 33 - .../docs/models/components/scoresjson.md | 2 +- .../components/sendemaileventrequest.md | 2 +- .../components/sendemaileventresponse.md | 2 +- .../docs/models/components/sessionlite.md | 19 + .../docs/models/components/sessionlitejson.md | 19 - .../models/components/sessionqamessage.md | 2 +- .../docs/models/components/sessionspeaker.md | 30 + .../models/components/sessionspeakerjson.md | 30 - .../sessionspeakerpaginatedresponse.md | 8 +- .../components/sleepingroomblockjson.md | 2 +- .../models/components/sleepingroomjson.md | 2 +- .../docs/models/components/solution.md | 17 + .../docs/models/components/solutionjson.md | 17 - .../docs/models/components/spacearea.md | 17 + .../docs/models/components/spaceareajson0.md | 17 - .../docs/models/components/speaker.md | 4 +- .../docs/models/components/speakercategory.md | 19 - .../models/components/speakercategory1.md | 21 + .../models/components/speakercategory2.md | 19 + .../speakercategorypaginatedresponse.md | 2 +- .../speakerdocumentpaginatedresponse.md | 2 +- .../docs/models/components/speakerlite.md | 8 +- .../docs/models/components/speakerlite1.md | 19 + .../docs/models/components/speakerlitejson.md | 19 - .../components/speakerpaginatedresponse.md | 2 +- .../models/components/speakerprogramitem.md | 8 +- .../docs/models/components/speakersession.md | 2 +- .../docs/models/components/stakeholderjson.md | 2 +- .../models/components/standardquestion.md | 19 + .../models/components/standardquestionjson.md | 19 - .../models/components/standardsurveyjson.md | 2 +- .../components/standardsurveyquestionjson.md | 14 +- .../models/components/supplierresponse.md | 2 +- .../docs/models/components/suppliertype.md | 17 + .../models/components/suppliertypejson.md | 17 - .../docs/models/components/surveycontactid.md | 21 + .../models/components/surveycontactidjson.md | 21 - .../docs/models/components/surveyjson.md | 2 +- .../docs/models/components/targettype.md | 17 + .../docs/models/components/targettypejson.md | 17 - .../docs/models/components/taxtype.md | 17 + .../docs/models/components/taxtypejson.md | 17 - .../models/components/textanswerformat.md | 17 + .../models/components/textanswerformatjson.md | 17 - .../docs/models/components/textfield.md | 23 + .../docs/models/components/textfieldjson.md | 15 +- .../docs/models/components/textfieldjson1.md | 22 - .../docs/models/components/three.md | 2 +- .../docs/models/components/threeinput.md | 2 +- .../docs/models/components/thumbnailstatus.md | 17 + .../models/components/thumbnailstatusjson.md | 17 - .../docs/models/components/thumbnailtype.md | 17 + .../models/components/thumbnailtypejson.md | 17 - .../components/transactiondetailresponse.md | 2 +- .../components/transactionitemresponse.md | 2 +- .../docs/models/components/travelaccount.md | 4 +- .../travelaccountpaginatedresponse.md | 2 +- .../travelaccountsupplieraccount.md | 2 +- ...accountsupplieraccountpaginatedresponse.md | 2 +- .../models/components/travelaccounttype.md | 17 + .../components/travelaccounttypejson.md | 17 - .../models/components/travelamenityjson.md | 29 - .../models/components/travelbidamenity.md | 34 + .../models/components/travelbidamenityjson.md | 34 - .../models/components/travelbidcomment.md | 21 + .../models/components/travelbidcommentjson.md | 21 - .../models/components/travelbiddiscount.md | 25 + .../components/travelbiddiscountjson.md | 25 - .../travelbiddiscountjsonpropertyroom.md | 19 - .../travelbiddiscountpropertyroom.md | 19 + .../models/components/travelbiddisposition.md | 32 + .../travelbiddispositionacceptedroom.md | 25 + .../travelbiddispositionacceptedroomjson.md | 25 - ...dispositionacceptedroomjsonpropertyroom.md | 19 - ...lbiddispositionacceptedroompropertyroom.md | 19 + .../components/travelbiddispositionjson.md | 32 - .../models/components/travelbidfairseason.md | 45 + .../components/travelbidfairseasonjson.md | 45 - .../components/travelbidfairseasonrate.md | 33 + .../components/travelbidfairseasonratejson.md | 33 - ...travelbidfairseasonratejsonpropertyroom.md | 19 - .../travelbidfairseasonratepropertyroom.md | 19 + .../docs/models/components/travelbidpolicy.md | 29 + .../models/components/travelbidpolicyjson.md | 29 - .../models/components/travelbidratejson.md | 24 - .../docs/models/components/travelbidroom.md | 27 + .../models/components/travelbidroomjson.md | 27 - .../travelbidroomjsonpropertyroom.md | 19 - .../components/travelbidroompropertyroom.md | 19 + .../docs/models/components/travelbidseason.md | 62 + .../models/components/travelbidseasonjson.md | 62 - .../models/components/travelbidseasonrate.md | 37 + .../components/travelbidseasonratejson.md | 37 - .../travelbidseasonratejsonpropertyroom.md | 19 - .../travelbidseasonratepropertyroom.md | 19 + .../models/components/travelbidtaxandfee.md | 27 + .../models/components/travelbidtaxfeejson.md | 27 - .../components/travelbidweekenddayjson.md | 17 - .../models/components/travelbidweekenddays.md | 17 + .../components/travelbreakoutroomjson.md | 24 - .../components/traveldaydelegateratejson.md | 25 - .../components/travelgroupandmeetingjson.md | 60 - .../travelmeetingroombasicinfojson.md | 23 - .../docs/models/components/travelprogram.md | 10 +- .../components/travelprogramformattype.md | 17 + .../components/travelprogramformattypejson.md | 17 - .../travelprogrampaginatedresponse.md | 2 +- .../components/travelprogramquestion.md | 48 + .../components/travelprogramquestion1.md | 25 + .../components/travelprogramquestionjson.md | 25 - .../travelprogramquestiontravelprogram.md | 19 + .../models/components/travelprogramstatus.md | 17 + .../components/travelprogramstatusjson.md | 17 - .../components/travelprogramstaytype.md | 17 + .../components/travelprogramstaytypejson.md | 17 - .../models/components/travelprogramtype.md | 17 + .../components/travelprogramtypejson.md | 17 - .../docs/models/components/travelproposal.md | 16 +- .../models/components/travelproposalbid.md | 173 - .../models/components/travelproposalbid1.md | 19 + .../models/components/travelproposalbid2.md | 173 + .../components/travelproposalbididjson.md | 19 - .../travelproposalbidpaginatedresponse.md | 8 +- .../components/travelproposalbidrate.md | 24 + .../travelproposalcustomquestion.md | 23 + .../travelproposalcustomquestionquestion.md | 19 + .../components/travelproposaldisposition.md | 36 + .../travelproposaldispositionjson.md | 36 - .../travelproposalgroupandmeeting.md | 60 + .../travelproposalgroupandmeetingamenity.md | 29 + ...avelproposalgroupandmeetingbreakoutroom.md | 24 + ...lproposalgroupandmeetingdaydelegaterate.md | 25 + ...upandmeetingmeetingroombasicinformation.md | 23 + ...elproposalgroupandmeetingrunofhouserate.md | 37 + ...posalgroupandmeetingtaxandservicecharge.md | 25 + .../travelproposalpaginatedresponse.md | 2 +- .../components/travelrunofhouseratejson.md | 37 - .../traveltaxandservicechargejson.md | 25 - .../docs/models/components/unitposition.md | 17 + .../models/components/unitpositionjson.md | 17 - .../components/updatedthroughnameproperty.md | 17 + .../updatedthroughnamepropertyjson.md | 17 - .../typescript/docs/models/components/user.md | 2 +- .../docs/models/components/userinput.md | 2 +- .../docs/models/components/userjson.md | 2 +- .../docs/models/components/video1.md | 19 + .../docs/models/components/videoassetid.md | 19 + .../models/components/videoassetidjson.md | 19 - .../docs/models/components/videoclip.md | 21 + .../docs/models/components/videoclipjson.md | 21 - .../docs/models/components/videoerror.md | 21 + .../docs/models/components/videoerrorcode.md | 17 + .../models/components/videoerrorcodejson.md | 17 - .../docs/models/components/videoerrorjson.md | 21 - .../docs/models/components/videojson.md | 19 - .../docs/models/components/videorendition.md | 40 + .../models/components/videorenditionjson.md | 40 - .../components/videorenditionjsonlink.md | 20 - .../models/components/videorenditionlink.md | 20 + .../components/videorenditionsresponse.md | 6 +- .../models/components/videorenditiontype.md | 17 + .../components/videorenditiontypejson.md | 17 - .../docs/models/components/videosource.md | 21 + .../docs/models/components/videosourcejson.md | 21 - .../components/videosourcejsonstatus.md | 17 - .../models/components/videosourcestatus.md | 17 + .../components/videospaginatedresponse.md | 2 +- .../docs/models/components/videostatus.md | 17 + .../docs/models/components/videostatusjson.md | 17 - .../docs/models/components/videotexttrack.md | 6 +- .../models/components/videotexttrackkind.md | 17 + .../components/videotexttrackkindjson.md | 17 - .../models/components/videotexttrackstatus.md | 17 + .../components/videotexttrackstatusjson.md | 17 - .../docs/models/components/videothumbnail.md | 31 + .../models/components/videothumbnailjson.md | 31 - .../docs/models/components/videotype.md | 17 + .../docs/models/components/videotypejson.md | 17 - .../docs/models/components/videoview.md | 35 + .../docs/models/components/videoviewjson.md | 35 - .../components/videoviewspaginatedresponse.md | 8 +- .../docs/models/components/videowarning.md | 22 + .../models/components/videowarningcode.md | 17 + .../models/components/videowarningcodejson.md | 17 - .../models/components/videowarningjson.md | 22 - .../docs/models/components/viewtype1.md | 17 + .../docs/models/components/viewtypejson1.md | 17 - .../docs/models/components/voucher.md | 34 + .../docs/models/components/vouchercapacity.md | 21 + .../components/voucherspaginatedresponse.md | 51 + .../docs/models/components/weblink.md | 2 +- .../docs/models/components/weddingdetails1.md | 29 + .../models/components/weddingdetailsjson0.md | 29 - .../docs/models/components/weddingpartner.md | 20 + .../models/components/weddingpartnerjson.md | 20 - .../docs/models/components/zeroallof7.md | 172 +- .../docs/models/components/zeroallof8.md | 44 +- .../docs/models/components/zeroallof9.md | 47 - .../docs/models/errors/errorresponse1.md | 12 +- .../docs/models/errors/errorresponse2.md | 12 +- .../docs/models/errors/errorresponsejson12.md | 20 + .../docs/models/errors/errorresponsejson17.md | 20 - .../operations/createcontactsrequest.md | 2 +- .../getattendeemessagesmembersrequest.md | 12 +- .../models/operations/getvideoviewsrequest.md | 14 +- .../models/operations/listdurationsrequest.md | 16 +- .../listeventvoucherattendeesrequest.md | 22 + .../listeventvoucherattendeesresponse.md | 41 + .../listeventvoucherspostfilterrequest.md | 27 + .../listeventvoucherspostfilterresponse.md | 50 + .../operations/listeventvouchersrequest.md | 29 + .../operations/listeventvouchersresponse.md | 50 + .../models/operations/listvideosrequest.md | 16 +- .../docs/sdks/appointments/README.md | 18 +- .../typescript/docs/sdks/attendees/README.md | 4 +- .../docs/sdks/audiencesegments/README.md | 15 +- packages/typescript/docs/sdks/bulk/README.md | 18 +- .../typescript/docs/sdks/contacts/README.md | 6 +- .../typescript/docs/sdks/events/README.md | 310 + .../typescript/docs/sdks/exhibitor/README.md | 18 +- .../docs/sdks/exhibitorcontent/README.md | 27 +- .../typescript/docs/sdks/housing/README.md | 18 +- .../docs/sdks/meetingrequest/README.md | 9 +- .../typescript/docs/sdks/sessions/README.md | 9 +- .../typescript/docs/sdks/speakers/README.md | 11 +- .../typescript/docs/sdks/travelrfps/README.md | 2 +- .../typescript/docs/sdks/userscim/README.md | 22 +- packages/typescript/jsr.json | 2 +- packages/typescript/package.json | 2 +- .../funcs/appointmentsCreateAppointment.ts | 9 +- .../funcs/appointmentsUpdateAppointment.ts | 9 +- .../src/funcs/attendeesGetAttendeeById.ts | 8 +- .../src/funcs/attendeesUpdateAttendee.ts | 8 +- ...ienceSegmentsAssociateAttendeeToSegment.ts | 6 +- .../audienceSegmentsCreateAudienceSegment.ts | 6 +- .../audienceSegmentsUpdateAudienceSegment.ts | 9 +- .../typescript/src/funcs/bulkCancelBulkJob.ts | 8 +- .../typescript/src/funcs/bulkCreateBulkJob.ts | 10 +- .../src/funcs/bulkGetBulkJobById.ts | 8 +- .../src/funcs/bulkListBulkJobResult.ts | 10 +- .../typescript/src/funcs/bulkRunBulkJob.ts | 10 +- .../src/funcs/bulkUploadBulkJobData.ts | 10 +- .../src/funcs/contactsCreateContacts.ts | 8 +- .../src/funcs/contactsPatchContacts.ts | 8 +- .../src/funcs/contactsUpdateContacts.ts | 8 +- .../funcs/eventsListEventVoucherAttendees.ts | 261 + .../src/funcs/eventsListEventVouchers.ts | 258 + .../eventsListEventVouchersPostFilter.ts | 259 + .../exhibitorContentCreateExhibitorWeblink.ts | 9 +- .../exhibitorContentUpdateExhibitorFile.ts | 9 +- .../exhibitorContentUpdateExhibitorWeblink.ts | 9 +- .../funcs/exhibitorDeleteRegistrationPack.ts | 6 +- .../funcs/exhibitorPostRegistrationPack.ts | 9 +- .../funcs/housingCancelReservationRequest.ts | 6 +- .../funcs/housingUpdateReservationRequest.ts | 6 +- .../src/funcs/meetingRequestGetMRFById.ts | 6 +- ...sionsRelateProgramItemToSessionDocument.ts | 6 +- .../src/funcs/speakersAddSpeakerCategory.ts | 6 +- .../speakersCreateSessionProgramSpeaker.ts | 6 +- .../funcs/travelAccountsGetTravelAccount.ts | 5 +- .../funcs/travelAccountsListTravelAccounts.ts | 5 +- .../src/funcs/travelRFPsGetTravelProgram.ts | 5 +- .../travelRFPsGetTravelProgramQuestion.ts | 5 +- .../funcs/travelRFPsGetTravelProposalBid.ts | 8 +- .../travelRFPsListTravelProgramQuestions.ts | 5 +- .../src/funcs/travelRFPsListTravelPrograms.ts | 5 +- .../travelRFPsListTravelProgramsQuestions.ts | 5 +- .../src/funcs/userSCIMCreateUser.ts | 8 +- .../src/funcs/userSCIMDeleteUser.ts | 8 +- .../src/funcs/userSCIMGetResourceType.ts | 8 +- .../src/funcs/userSCIMGetResourceTypes.ts | 8 +- .../typescript/src/funcs/userSCIMGetSchema.ts | 8 +- .../src/funcs/userSCIMGetSchemas.ts | 8 +- .../funcs/userSCIMGetServiceProviderConfig.ts | 8 +- .../typescript/src/funcs/userSCIMGetUser.ts | 8 +- .../src/funcs/userSCIMGetUserGroups.ts | 8 +- .../typescript/src/funcs/userSCIMListUsers.ts | 8 +- .../src/funcs/userSCIMUpdateUser.ts | 8 +- packages/typescript/src/hooks/oauth2scopes.ts | 28 + packages/typescript/src/lib/config.ts | 4 +- .../accountbudgetitemlistresponsejson.ts | 12 +- .../src/models/components/additionalchoice.ts | 9 +- .../models/components/additionalchoice1.ts | 37 + .../models/components/additionalchoicejson.ts | 42 + .../components/additionalchoicejson1.ts | 42 - .../components/additionalchoicejson2.ts | 42 - .../src/models/components/address.ts | 74 + .../src/models/components/address1.ts | 47 + .../src/models/components/address11.ts | 37 +- .../src/models/components/address12.ts | 72 - .../src/models/components/address2.ts | 88 - .../src/models/components/address3.ts | 14 +- .../src/models/components/address4.ts | 88 + .../src/models/components/address5.ts | 77 + .../src/models/components/address6.ts | 72 + .../src/models/components/addressinput.ts | 69 + .../src/models/components/addressjson.ts | 65 +- .../src/models/components/addressjson0.ts | 47 - .../src/models/components/addressjson1.ts | 72 + .../src/models/components/addressjson2.ts | 60 +- .../src/models/components/addressjson3.ts | 72 - .../src/models/components/addressjson4.ts | 100 - .../src/models/components/addressjson5.ts | 72 - .../src/models/components/addressjsoninput.ts | 73 - .../src/models/components/addresstype.ts | 3 + .../src/models/components/addresstypejson.ts | 8 +- .../src/models/components/addresstypejson1.ts | 27 - .../src/models/components/agendaitemsetup.ts | 47 + .../models/components/agendaitemsetupjson.ts | 47 - .../src/models/components/agendaitemtype.ts | 40 + .../models/components/agendaitemtypejson.ts | 40 - .../src/models/components/amenitytype.ts | 23 + .../src/models/components/amenitytypejson.ts | 24 - .../components/appointmentwithquestions.ts | 10 +- .../src/models/components/assetlocation.ts | 37 + .../models/components/assetlocationinput.ts | 28 + .../models/components/assetlocationjson.ts | 37 - .../components/assetlocationjsoninput.ts | 28 - .../src/models/components/attachmentsource.ts | 26 + .../models/components/attachmentsourcejson.ts | 26 - .../src/models/components/attendee.ts | 53 + .../src/models/components/attendee1.ts | 410 - .../src/models/components/attendee11.ts | 389 +- .../src/models/components/attendee12.ts | 22 +- .../src/models/components/attendee13.ts | 37 + .../src/models/components/attendee2.ts | 18 +- .../attendeeaddbulkitemeventjson.ts | 6 +- .../components/attendeeaddbulkitemjson.ts | 14 +- .../models/components/attendeecontactinfo.ts | 10 +- .../components/attendeecontacttypeinput.ts | 37 + .../components/attendeecontacttypejson.ts | 42 - .../attendeecontacttypejsoninput.ts | 39 - .../src/models/components/attendeeinsights.ts | 6 +- .../attendeeinvitesbulkresponseitem.ts | 14 +- .../attendeelinkbulkresponseitemjson.ts | 14 +- .../components/attendeepaginatedresponse.ts | 6 +- .../components/attendeespaginatedresponse.ts | 44 + .../src/models/components/audiencesegment.ts | 14 +- .../components/audiencesegmentcreate.ts | 14 +- .../components/audiencesegmentresponse.ts | 6 +- .../src/models/components/audiotrackstatus.ts | 29 + .../models/components/audiotrackstatusjson.ts | 29 - .../src/models/components/audiotracktype.ts | 31 + .../models/components/audiotracktypejson.ts | 31 - .../models/components/audiotrackvariant.ts | 26 + .../components/audiotrackvariantjson.ts | 26 - .../typescript/src/models/components/badge.ts | 12 +- .../src/models/components/badgeinput.ts | 26 +- .../models/components/biditemstatustype.ts | 25 + .../components/biditemstatustypejson.ts | 25 - .../src/models/components/bidstatustype.ts | 24 + .../models/components/bidstatustypejson.ts | 24 - .../src/models/components/bidstaytype.ts | 22 + .../src/models/components/bidstaytypejson.ts | 23 - .../src/models/components/billingdetails1.ts | 58 + .../models/components/billingdetailsjson0.ts | 61 - .../models/components/boothstaffrequest.ts | 26 +- .../models/components/boothstaffresponse.ts | 12 +- .../models/components/bouncedetailsjson.ts | 10 +- .../components/bouncedetailsresponse.ts | 10 +- .../typescript/src/models/components/brand.ts | 6 +- .../src/models/components/bridegroomtype.ts | 23 + .../models/components/bridegroomtypejson0.ts | 23 - .../src/models/components/businesstype.ts | 22 + .../src/models/components/businesstypejson.ts | 23 - .../models/components/cancellationdetails.ts | 52 + .../components/cancellationdetailsjson.ts | 52 - .../src/models/components/cancelledreason1.ts | 31 + .../models/components/cancelledreasonjson0.ts | 31 - .../src/models/components/category.ts | 52 + .../models/components/categoryidnamejson.ts | 64 - .../components/categoryitemscostjson.ts | 18 +- .../src/models/components/categoryjson.ts | 54 +- .../src/models/components/categoryjson1.ts | 54 +- .../src/models/components/categoryjson2.ts | 52 - .../typescript/src/models/components/chain.ts | 6 +- .../src/models/components/choice.ts | 13 +- .../src/models/components/choice1.ts | 44 + .../src/models/components/choicejson.ts | 52 - .../src/models/components/choicejson1.ts | 52 + .../src/models/components/choicejson2.ts | 20 +- .../src/models/components/choicejson2input.ts | 37 + .../src/models/components/choicejson3.ts | 42 - .../src/models/components/choicejson3input.ts | 37 - .../src/models/components/choicesortorder.ts | 24 + .../models/components/choicesortorderjson.ts | 24 - .../src/models/components/commenttype.ts | 25 + .../src/models/components/commenttypejson.ts | 26 - .../components/communicationlogmessagejson.ts | 6 +- .../src/models/components/compliance.ts | 42 +- .../src/models/components/compliancejson.ts | 117 - .../src/models/components/contact.ts | 75 +- .../src/models/components/contact1.ts | 87 + .../src/models/components/contact2.ts | 37 + .../models/components/contactbulkitemjson.ts | 73 - .../components/contactbulkresponseitem.ts | 73 + .../src/models/components/contactcreate.ts | 334 + .../components/contactcreaterequestjson.ts | 343 - .../src/models/components/contactgroup.ts | 20 +- .../models/components/contactgroupinput.ts | 24 +- .../contactgrouppaginatedresponse.ts | 6 +- .../src/models/components/contactgrouptype.ts | 28 + .../models/components/contactgrouptypejson.ts | 28 - .../src/models/components/contacthistory.ts | 67 + .../models/components/contacthistoryjson.ts | 67 - .../contacthistorypaginatedresponse.ts | 16 +- .../src/models/components/contactid.ts | 37 + .../src/models/components/contactidjson.ts | 37 - .../components/contactidpaginatedresponse.ts | 12 +- .../src/models/components/contactjson.ts | 194 + .../src/models/components/contactjson0.ts | 87 - .../src/models/components/contactjson1.ts | 194 - .../src/models/components/contactjson2.ts | 37 - .../models/components/contactlinksinput.ts | 50 + .../src/models/components/contactlinksjson.ts | 82 - .../components/contactlinksjsoninput.ts | 54 - .../models/components/contactmembership.ts | 68 + .../src/models/components/contactmerge.ts | 42 +- .../models/components/contactmergefield.ts | 43 + .../components/contactmergefieldjson.ts | 43 - .../src/models/components/contactmethods.ts | 26 + .../models/components/contactmethodsjson.ts | 26 - .../components/contactobfuscationstatus.ts | 16 +- .../contactobfuscationstatustype.ts | 52 + .../contactobfuscationstatustypejson.ts | 52 - .../src/models/components/contactoptout.ts | 49 + .../models/components/contactoptoutinput.ts | 37 + .../components/contactpaginatedresponse.ts | 12 +- .../src/models/components/contactpatch.ts | 65 +- .../src/models/components/contacttype.ts | 57 + .../src/models/components/contacttypejson.ts | 64 +- .../src/models/components/contacttypejson1.ts | 27 - .../contacttypepaginatedresponse.ts | 15 +- .../src/models/components/contactupdate.ts | 91 +- .../components/createtransactionresponse.ts | 6 +- .../createtransactionresponseinput.ts | 14 +- .../src/models/components/currencyjson1.ts | 192 - .../src/models/components/currencyjson2.ts | 192 + .../src/models/components/customfield3.ts | 24 +- .../models/components/customfieldanswers.ts | 83 + .../src/models/components/customfieldjson.ts | 94 + .../src/models/components/customfieldjson1.ts | 47 +- .../src/models/components/customfieldjson2.ts | 49 +- .../src/models/components/customfieldjson3.ts | 94 - .../models/components/customfieldtypejson.ts | 31 + .../models/components/customfieldtypejson1.ts | 31 - .../components/customquestionanswerjson0.ts | 72 - .../src/models/components/dateanswerformat.ts | 24 + .../models/components/dateanswerformatjson.ts | 24 - .../src/models/components/datepattern1.ts | 65 + .../src/models/components/datepatternjson0.ts | 68 - .../models/components/daterequirements1.ts | 55 + .../components/daterequirementsjson0.ts | 61 - .../src/models/components/dates1.ts | 55 + .../src/models/components/datesjson0.ts | 58 - .../src/models/components/datetypejson.ts | 36 + .../src/models/components/datetypejson1.ts | 38 - .../src/models/components/dayofweek.ts | 27 + .../src/models/components/dayofweekjson0.ts | 28 - .../src/models/components/device1.ts | 47 + .../src/models/components/devicejson.ts | 53 - .../src/models/components/devicetype.ts | 23 + .../src/models/components/devicetypejson.ts | 24 - .../src/models/components/displaytype.ts | 26 + .../src/models/components/displaytypejson.ts | 27 - .../src/models/components/distancejson.ts | 62 + .../src/models/components/distancejson1.ts | 62 - .../models/components/distributionlistinfo.ts | 55 + .../components/distributionlistinfoinput.ts | 47 + .../components/distributionlistinfojson.ts | 55 - .../distributionlistinfojsoninput.ts | 49 - .../distributionlistsecuritytype.ts | 30 + .../distributionlistsecuritytypejson.ts | 30 - .../components/distributionliststatus.ts | 24 + .../components/distributionliststatusjson.ts | 26 - .../src/models/components/documenttype1.ts | 54 + .../models/components/documenttypejson0.ts | 54 - .../src/models/components/emailhistoryjson.ts | 10 +- .../src/models/components/emailjson1.ts | 14 +- .../src/models/components/emailtypejson.ts | 27 + .../src/models/components/emailtypejson1.ts | 73 +- .../src/models/components/emailtypejson3.ts | 84 - .../src/models/components/encodingprofile.ts | 23 + .../models/components/encodingprofilejson.ts | 23 - .../src/models/components/errorresponse1.ts | 9 +- .../src/models/components/errorresponse2.ts | 9 +- .../src/models/components/event1.ts | 19 +- .../src/models/components/event12.ts | 34 + .../src/models/components/event21.ts | 50 - .../src/models/components/event3.ts | 50 + .../src/models/components/eventcontactid.ts | 39 + .../models/components/eventcontactidjson.ts | 43 - .../eventemailspaginatedresponse.ts | 6 +- .../src/models/components/eventformattype.ts | 24 + .../models/components/eventformattypejson0.ts | 24 - .../src/models/components/eventinput.ts | 10 +- .../src/models/components/eventjson.ts | 53 + .../src/models/components/eventjson0.ts | 37 - .../src/models/components/eventjson1.ts | 24 +- .../src/models/components/eventjson2.ts | 37 - .../src/models/components/eventjson3.ts | 37 + .../src/models/components/eventjson4.ts | 37 - .../src/models/components/eventjson5.ts | 37 + .../src/models/components/eventjson6.ts | 20 +- .../src/models/components/eventjson8.ts | 53 - .../src/models/components/eventlite.ts | 37 + .../src/models/components/eventlitejson.ts | 37 - .../models/components/eventorganization1.ts | 74 + .../models/components/eventquestionjson.ts | 10 +- .../components/eventsurveyquestionjson.ts | 51 +- .../components/eventsurveyrespondent.ts | 6 +- .../models/components/eventsurveyresponse.ts | 6 +- .../src/models/components/eventtype1.ts | 42 + .../src/models/components/eventtypejson.ts | 45 + .../src/models/components/eventtypejson0.ts | 43 - .../src/models/components/eventtypejson1.ts | 45 - .../src/models/components/eventupdate.ts | 19 +- .../src/models/components/eventupdateinput.ts | 10 +- .../components/exhibitorcategoryrequest.ts | 12 +- .../components/exhibitorcategoryresponse.ts | 6 +- .../src/models/components/exhibitorrequest.ts | 26 +- .../models/components/exhibitorresponse.ts | 12 +- .../components/existingaudiencesegment.ts | 6 +- .../models/components/existingaudiotrack.ts | 48 +- .../models/components/existingcustomfield.ts | 20 +- .../components/existingcustomfieldinput.ts | 28 +- .../src/models/components/existingduration.ts | 3 + .../existingeliteraturerequestdataforlead.ts | 6 +- .../components/existingexhibitoranswer.ts | 6 +- .../existingexhibitoranswerinput.ts | 12 +- .../components/existingexhibitorquestion.ts | 20 +- .../src/models/components/existingfile.ts | 6 +- .../src/models/components/existingspeaker.ts | 43 +- .../components/existingsponsorshiplevel.ts | 6 +- .../components/existingvideoresponse.ts | 85 +- .../components/existingvideotexttrack.ts | 38 +- .../components/existingvideotexttrackinput.ts | 48 +- .../src/models/components/existingweblink.ts | 6 +- .../src/models/components/fairseasontype.ts | 23 + .../models/components/fairseasontypejson.ts | 23 - .../typescript/src/models/components/field.ts | 75 + .../src/models/components/fieldjson.ts | 34 +- .../src/models/components/fieldjson2.ts | 81 - .../src/models/components/fieldtype.ts | 25 + .../src/models/components/fieldtypejson.ts | 8 +- .../src/models/components/fieldtypejson2.ts | 26 - .../src/models/components/fileinput.ts | 12 +- .../src/models/components/formattype.ts | 22 + .../src/models/components/formattypejson.ts | 23 - .../src/models/components/gender.ts | 3 + .../src/models/components/genderjson.ts | 27 - .../src/models/components/guestjson.ts | 18 +- .../models/components/guestroomoccupancy.ts | 25 + .../components/guestroomoccupancyjson.ts | 25 - .../guestroomoccupancyperroomtype.ts | 47 + .../guestroomoccupancyperroomtypejson.ts | 50 - .../src/models/components/guestroomtype.ts | 26 + .../models/components/guestroomtypejson.ts | 26 - .../models/components/hlsinputwithclips.ts | 43 + .../components/hlsinputwithclipsjson.ts | 43 - .../src/models/components/hotelrequest.ts | 6 +- .../models/components/housingeventhotel.ts | 6 +- .../components/housingeventsummarylist.ts | 6 +- .../src/models/components/idjson.ts | 34 - .../src/models/components/idonlyentity.ts | 37 + .../typescript/src/models/components/index.ts | 435 +- .../src/models/components/industry1.ts | 39 + .../src/models/components/industryjson0.ts | 40 - .../invitationlistpaginatedresponse.ts | 6 +- .../typescript/src/models/components/lead.ts | 22 +- .../components/leadqualificationanswers.ts | 6 +- .../components/leadqualificationquestion.ts | 26 +- .../leadqualifiedquestionresponsejson.ts | 6 +- .../src/models/components/leadsource.ts | 46 + .../src/models/components/leadsourcejson.ts | 46 - .../models/components/leadsourcesection.ts | 37 + .../components/leadsourcesectionjson.ts | 37 - .../src/models/components/linkjson.ts | 16 - .../models/components/managementleveltype1.ts | 25 + .../components/managementleveltypejson1.ts | 27 - .../src/models/components/measurementunit.ts | 35 + .../models/components/measurementunitjson0.ts | 23 - .../components/meetingrequestquestionjson.ts | 10 +- .../src/models/components/membershipjson.ts | 68 - .../components/messagerecipientresponse.ts | 109 + .../messagerecipientspaginatedresponse.ts | 16 +- .../messagerecipientsresponsejson.ts | 110 - .../models/components/numericanswerformat.ts | 24 + .../components/numericanswerformatjson.ts | 26 - .../models/components/offeringcosttype1.ts | 83 + .../components/offeringcosttypejson0.ts | 83 - .../typescript/src/models/components/one.ts | 82 + .../src/models/components/oneallof.ts | 37 - .../src/models/components/oneoneof.ts | 88 - .../src/models/components/optoutby.ts | 32 + .../src/models/components/optoutjson.ts | 49 - .../src/models/components/optoutjsoninput.ts | 35 - .../src/models/components/orderdetail.ts | 6 +- .../models/components/orderitemresponse.ts | 6 +- .../src/models/components/organization.ts | 37 + .../src/models/components/organizationjson.ts | 37 - .../models/components/organizationtype1.ts | 30 + .../components/organizationtypejson0.ts | 30 - .../components/packagepricingpreference.ts | 26 + .../packagepricingpreferencejson.ts | 26 - .../components/paginatedinternaldocuments.ts | 16 +- .../components/paginatedrfpagendaitems.ts | 15 +- .../paginatedrfpagendaitemsschedule.ts | 16 +- .../components/paginatedrfpattachments.ts | 15 +- .../components/paginatedrfpcustomfield.ts | 16 +- .../components/paginatedrfpquestions.ts | 15 +- .../paginatedrfprecipientshistory.ts | 16 +- .../components/paginatedrfpsuppliers.ts | 15 +- .../src/models/components/pagingjson19.ts | 66 - .../src/models/components/pagingjson2.ts | 66 + .../components/pagingnototalcountjson.ts | 66 + .../components/pagingnototalcountjson2.ts | 66 - .../src/models/components/passport.ts | 51 + .../src/models/components/passportinput.ts | 43 + .../src/models/components/passportjson.ts | 51 - .../models/components/passportjsoninput.ts | 47 - .../src/models/components/paymentinfojson.ts | 18 +- .../src/models/components/plannerjson2.ts | 10 +- .../src/models/components/policyvaluetype.ts | 28 + .../models/components/policyvaluetypejson.ts | 28 - .../src/models/components/programitemlite.ts | 37 + .../models/components/programitemlitejson.ts | 37 - .../programitemspeakerpaginatedresponse.ts | 6 +- .../src/models/components/property.ts | 6 +- .../src/models/components/propertyroom.ts | 10 +- .../src/models/components/proposaldatejson.ts | 14 +- .../src/models/components/proposalrequest.ts | 30 +- .../src/models/components/proposalresponse.ts | 16 +- .../models/components/proposalstatustype.ts | 34 + .../components/proposalstatustypejson.ts | 34 - .../src/models/components/proximityjson.ts | 6 +- .../src/models/components/question.ts | 30 +- .../components/questionclassificationtype.ts | 26 + .../questionclassificationtypejson.ts | 26 - .../src/models/components/questionjson.ts | 57 + .../src/models/components/questionjson1.ts | 129 +- .../src/models/components/questionjson2.ts | 122 +- .../src/models/components/questionjson3.ts | 47 - .../components/questionpaginatedresponse.ts | 6 +- .../components/questionresponsedatatype.ts | 30 + .../questionresponsedatatypejson.ts | 30 - .../components/questionresponseformat.ts | 24 + .../components/questionresponseformatjson.ts | 26 - .../models/components/questionresponsejson.ts | 6 +- .../models/components/questionresponsetype.ts | 23 + .../components/questionresponsetypejson.ts | 25 - .../src/models/components/questionsection.ts | 23 + .../models/components/questionsectionjson.ts | 23 - .../components/questionspaginatedresponse.ts | 6 +- .../components/questionspaginatedresponse1.ts | 16 +- .../src/models/components/questiontype.ts | 42 + .../src/models/components/questiontypejson.ts | 39 +- .../models/components/questiontypejson1.ts | 37 +- .../models/components/questiontypejson2.ts | 25 +- .../models/components/questiontypejson3.ts | 30 - .../components/questionwithprogramidjson.ts | 139 - .../src/models/components/rateleveltype.ts | 24 + .../models/components/rateleveltypejson.ts | 24 - .../models/components/ratereviewstatustype.ts | 25 + .../components/ratereviewstatustypejson.ts | 27 - .../src/models/components/ratetype.ts | 23 + .../src/models/components/ratetypejson.ts | 23 - .../src/models/components/rebatetype.ts | 22 + .../src/models/components/rebatetypejson.ts | 23 - .../src/models/components/recipientinfo.ts | 48 + .../models/components/recipientinfojson0.ts | 51 - .../src/models/components/recipienttype.ts | 24 + .../models/components/recipienttypejson0.ts | 24 - .../components/registrationpackrequest.ts | 12 +- .../components/registrationpackresponse.ts | 6 +- .../components/reservationguestjsonoutput.ts | 20 +- .../reservationpaymentinfojsoninput.ts | 14 +- .../reservationpaymentinfojsonoutput.ts | 6 +- .../src/models/components/respondentjson.ts | 6 +- .../typescript/src/models/components/rfp.ts | 141 +- .../src/models/components/rfpagendaitem.ts | 178 + .../models/components/rfpagendaitemjson.ts | 178 - .../components/rfpagendaitemschedule.ts | 43 + .../components/rfpagendaitemschedulejson.ts | 43 - .../components/rfpagendaitemschedulewithid.ts | 48 + .../rfpagendaitemschedulewithidjson.ts | 48 - .../src/models/components/rfpattachment.ts | 147 + .../models/components/rfpattachmentjson.ts | 150 - .../models/components/rfpcustomfieldjson.ts | 83 - .../src/models/components/rfpdatemode.ts | 22 + .../src/models/components/rfpdatemodejson0.ts | 23 - .../src/models/components/rfpevent.ts | 139 + .../src/models/components/rfpeventjson.ts | 145 - .../components/rfpeventorganizationjson.ts | 77 - .../src/models/components/rfpguestrooms.ts | 17 +- .../src/models/components/rfpidjson.ts | 37 + .../src/models/components/rfpidjson1.ts | 37 - .../models/components/rfpinternaldocument.ts | 74 + .../components/rfpinternaldocumentjson0.ts | 77 - .../src/models/components/rfpmeal.ts | 33 + .../src/models/components/rfpmealjson.ts | 33 - .../src/models/components/rfppastevent.ts | 82 + .../src/models/components/rfppasteventjson.ts | 82 - .../src/models/components/rfppastevents.ts | 9 +- .../src/models/components/rfpquestion.ts | 306 + .../src/models/components/rfpquestionjson.ts | 318 - .../models/components/rfprecipientlogentry.ts | 128 + .../components/rfprecipientlogentryjson.ts | 133 - .../models/components/rfpresponsereason.ts | 63 + .../components/rfpresponsereasonjson.ts | 63 - .../src/models/components/rfpstatus1.ts | 27 + .../src/models/components/rfpstatusjson0.ts | 28 - .../src/models/components/rfpsupplier.ts | 490 + .../src/models/components/rfpsupplierjson.ts | 490 - .../src/models/components/rfptype1.ts | 25 + .../src/models/components/rfptypejson0.ts | 25 - .../src/models/components/roombedtypejson.ts | 30 + .../src/models/components/roombedtypejson1.ts | 30 - .../src/models/components/roomblock.ts | 62 + .../src/models/components/roomblockdetails.ts | 43 + .../models/components/roomblockdetailsjson.ts | 46 - .../src/models/components/roomblockjson.ts | 62 - .../src/models/components/scoresjson.ts | 6 +- .../components/sendemaileventrequest.ts | 14 +- .../components/sendemaileventresponse.ts | 6 +- .../src/models/components/sessionlite.ts | 37 + .../src/models/components/sessionlitejson.ts | 37 - .../src/models/components/sessionspeaker.ts | 57 + .../models/components/sessionspeakerjson.ts | 60 - .../sessionspeakerpaginatedresponse.ts | 16 +- .../components/sleepingroomblockjson.ts | 14 +- .../src/models/components/sleepingroomjson.ts | 14 +- .../src/models/components/solution.ts | 22 + .../src/models/components/solutionjson.ts | 22 - .../src/models/components/spacearea.ts | 94 + .../src/models/components/spaceareajson0.ts | 95 - .../src/models/components/speaker.ts | 28 +- .../src/models/components/speakercategory.ts | 35 - .../src/models/components/speakercategory1.ts | 64 + .../src/models/components/speakercategory2.ts | 37 + .../speakercategorypaginatedresponse.ts | 6 +- .../speakerdocumentpaginatedresponse.ts | 6 +- .../src/models/components/speakerlite1.ts | 37 + .../src/models/components/speakerlitejson.ts | 37 - .../components/speakerpaginatedresponse.ts | 6 +- .../models/components/speakerprogramitem.ts | 34 +- .../src/models/components/speakersession.ts | 6 +- .../src/models/components/stakeholderjson.ts | 10 +- .../src/models/components/standardquestion.ts | 37 + .../models/components/standardquestionjson.ts | 37 - .../models/components/standardsurveyjson.ts | 10 +- .../components/standardsurveyquestionjson.ts | 51 +- .../src/models/components/suppliertype.ts | 24 + .../src/models/components/suppliertypejson.ts | 25 - .../src/models/components/surveycontactid.ts | 41 + .../models/components/surveycontactidjson.ts | 43 - .../src/models/components/surveyjson.ts | 6 +- .../src/models/components/targettype.ts | 38 + .../src/models/components/targettypejson.ts | 39 - .../src/models/components/taxtype.ts | 29 + .../src/models/components/taxtypejson.ts | 29 - .../src/models/components/textanswerformat.ts | 25 + .../models/components/textanswerformatjson.ts | 25 - .../src/models/components/textfield.ts | 47 + .../src/models/components/textfieldjson.ts | 4 +- .../src/models/components/textfieldjson1.ts | 47 - .../typescript/src/models/components/three.ts | 6 +- .../src/models/components/threeinput.ts | 14 +- .../src/models/components/thumbnailstatus.ts | 26 + .../models/components/thumbnailstatusjson.ts | 26 - .../src/models/components/thumbnailtype.ts | 28 + .../models/components/thumbnailtypejson.ts | 28 - .../components/transactiondetailresponse.ts | 6 +- .../components/transactionitemresponse.ts | 6 +- .../src/models/components/travelaccount.ts | 16 +- .../travelaccountpaginatedresponse.ts | 6 +- .../travelaccountsupplieraccount.ts | 10 +- ...accountsupplieraccountpaginatedresponse.ts | 6 +- .../models/components/travelaccounttype.ts | 24 + .../components/travelaccounttypejson.ts | 24 - .../models/components/travelamenityjson.ts | 72 - .../src/models/components/travelbidamenity.ts | 82 + .../models/components/travelbidamenityjson.ts | 85 - .../src/models/components/travelbidcomment.ts | 43 + .../models/components/travelbidcommentjson.ts | 46 - .../models/components/travelbiddiscount.ts | 81 + .../components/travelbiddiscountjson.ts | 81 - .../models/components/travelbiddisposition.ts | 57 + .../travelbiddispositionacceptedroom.ts | 85 + .../travelbiddispositionacceptedroomjson.ts | 86 - .../components/travelbiddispositionjson.ts | 57 - .../models/components/travelbidfairseason.ts | 85 + .../components/travelbidfairseasonjson.ts | 85 - .../components/travelbidfairseasonrate.ts | 102 + .../components/travelbidfairseasonratejson.ts | 108 - .../src/models/components/travelbidpolicy.ts | 75 + .../models/components/travelbidpolicyjson.ts | 75 - .../models/components/travelbidratejson.ts | 57 - .../src/models/components/travelbidroom.ts | 86 + .../models/components/travelbidroomjson.ts | 86 - .../src/models/components/travelbidseason.ts | 81 + .../models/components/travelbidseasonjson.ts | 81 - .../models/components/travelbidseasonrate.ts | 111 + .../components/travelbidseasonratejson.ts | 112 - .../models/components/travelbidtaxandfee.ts | 67 + .../models/components/travelbidtaxfeejson.ts | 67 - .../components/travelbidweekenddayjson.ts | 30 - .../models/components/travelbidweekenddays.ts | 28 + .../components/travelbreakoutroomjson.ts | 63 - .../components/traveldaydelegateratejson.ts | 52 - .../components/travelgroupandmeetingjson.ts | 87 - .../travelmeetingroombasicinfojson.ts | 47 - .../src/models/components/travelprogram.ts | 50 +- .../components/travelprogramformattype.ts | 25 + .../components/travelprogramformattypejson.ts | 25 - .../travelprogrampaginatedresponse.ts | 6 +- .../components/travelprogramquestion.ts | 138 + .../components/travelprogramquestion1.ts | 56 + .../components/travelprogramquestionjson.ts | 56 - .../models/components/travelprogramstatus.ts | 24 + .../components/travelprogramstatusjson.ts | 26 - .../components/travelprogramstaytype.ts | 23 + .../components/travelprogramstaytypejson.ts | 25 - .../models/components/travelprogramtype.ts | 24 + .../components/travelprogramtypejson.ts | 24 - .../src/models/components/travelproposal.ts | 78 +- .../models/components/travelproposalbid.ts | 220 - .../models/components/travelproposalbid1.ts | 37 + .../models/components/travelproposalbid2.ts | 211 + .../components/travelproposalbididjson.ts | 37 - .../travelproposalbidpaginatedresponse.ts | 16 +- .../components/travelproposalbidrate.ts | 54 + .../travelproposalcustomquestion.ts | 73 + .../components/travelproposaldisposition.ts | 46 + .../travelproposaldispositionjson.ts | 46 - .../travelproposalgroupandmeeting.ts | 96 + .../travelproposalgroupandmeetingamenity.ts | 73 + ...avelproposalgroupandmeetingbreakoutroom.ts | 69 + ...lproposalgroupandmeetingdaydelegaterate.ts | 59 + ...upandmeetingmeetingroombasicinformation.ts | 53 + ...elproposalgroupandmeetingrunofhouserate.ts | 89 + ...posalgroupandmeetingtaxandservicecharge.ts | 69 + .../travelproposalpaginatedresponse.ts | 6 +- .../components/travelrunofhouseratejson.ts | 82 - .../traveltaxandservicechargejson.ts | 62 - .../src/models/components/unitposition.ts | 22 + .../src/models/components/unitpositionjson.ts | 23 - .../components/updatedthroughnameproperty.ts | 122 + .../updatedthroughnamepropertyjson.ts | 122 - .../typescript/src/models/components/user.ts | 6 +- .../src/models/components/userinput.ts | 14 +- .../src/models/components/userjson.ts | 6 +- .../src/models/components/video1.ts | 34 + .../src/models/components/videoassetid.ts | 53 + .../src/models/components/videoassetidjson.ts | 57 - .../src/models/components/videoclip.ts | 42 + .../src/models/components/videoclipjson.ts | 42 - .../src/models/components/videoerror.ts | 46 + .../src/models/components/videoerrorcode.ts | 30 + .../models/components/videoerrorcodejson.ts | 30 - .../src/models/components/videoerrorjson.ts | 46 - .../src/models/components/videojson.ts | 37 - .../src/models/components/videorendition.ts | 114 + .../models/components/videorenditionjson.ts | 117 - .../components/videorenditionsresponse.ts | 10 +- .../models/components/videorenditiontype.ts | 28 + .../components/videorenditiontypejson.ts | 28 - .../src/models/components/videosource.ts | 62 + .../src/models/components/videosourcejson.ts | 62 - .../components/videospaginatedresponse.ts | 6 +- .../src/models/components/videostatus.ts | 30 + .../src/models/components/videostatusjson.ts | 31 - .../src/models/components/videotexttrack.ts | 34 +- .../models/components/videotexttrackkind.ts | 30 + .../components/videotexttrackkindjson.ts | 30 - .../models/components/videotexttrackstatus.ts | 34 + .../components/videotexttrackstatusjson.ts | 36 - .../src/models/components/videothumbnail.ts | 68 + .../models/components/videothumbnailjson.ts | 71 - .../src/models/components/videotype.ts | 31 + .../src/models/components/videotypejson.ts | 32 - .../src/models/components/videoview.ts | 79 + .../src/models/components/videoviewjson.ts | 79 - .../components/videoviewspaginatedresponse.ts | 12 +- .../src/models/components/videowarning.ts | 46 + .../src/models/components/videowarningcode.ts | 22 + .../models/components/videowarningcodejson.ts | 22 - .../src/models/components/videowarningjson.ts | 46 - .../src/models/components/viewtype1.ts | 22 + .../src/models/components/viewtypejson1.ts | 23 - .../src/models/components/voucher.ts | 70 + .../src/models/components/vouchercapacity.ts | 42 + .../components/voucherspaginatedresponse.ts | 44 + .../src/models/components/weblink.ts | 12 +- .../src/models/components/weddingdetails1.ts | 66 + .../models/components/weddingdetailsjson0.ts | 66 - .../src/models/components/weddingpartner.ts | 46 + .../models/components/weddingpartnerjson.ts | 46 - .../src/models/components/zeroallof7.ts | 315 +- .../src/models/components/zeroallof8.ts | 51 +- .../src/models/components/zeroallof9.ts | 77 - .../src/models/errors/errorresponse1.ts | 6 +- .../src/models/errors/errorresponse2.ts | 6 +- .../src/models/errors/errorresponsejson12.ts | 93 + .../src/models/errors/errorresponsejson17.ts | 93 - .../typescript/src/models/errors/index.ts | 2 +- .../src/models/operations/createcontacts.ts | 6 +- .../operations/getattendeemessagesmembers.ts | 31 +- .../src/models/operations/getvideoviews.ts | 28 +- .../typescript/src/models/operations/index.ts | 3 + .../src/models/operations/listdurations.ts | 45 +- .../operations/listeventvoucherattendees.ts | 89 + .../models/operations/listeventvouchers.ts | 128 + .../operations/listeventvoucherspostfilter.ts | 121 + .../src/models/operations/listvideos.ts | 40 +- packages/typescript/src/sdk/attendees.ts | 4 +- packages/typescript/src/sdk/contacts.ts | 6 +- packages/typescript/src/sdk/events.ts | 66 + packages/typescript/src/sdk/speakers.ts | 2 +- packages/typescript/src/sdk/travelrfps.ts | 2 +- 4320 files changed, 112203 insertions(+), 110085 deletions(-) create mode 100644 packages/csharp/docs/Models/Components/Action.md create mode 100644 packages/csharp/docs/Models/Components/AdditionalChoice1.md create mode 100644 packages/csharp/docs/Models/Components/AdditionalChoiceJson.md delete mode 100644 packages/csharp/docs/Models/Components/AdditionalChoiceJson1.md delete mode 100644 packages/csharp/docs/Models/Components/AdditionalChoiceJson2.md create mode 100644 packages/csharp/docs/Models/Components/Address.md create mode 100644 packages/csharp/docs/Models/Components/Address1.md delete mode 100644 packages/csharp/docs/Models/Components/Address12.md delete mode 100644 packages/csharp/docs/Models/Components/Address2.md create mode 100644 packages/csharp/docs/Models/Components/Address4.md create mode 100644 packages/csharp/docs/Models/Components/Address5.md create mode 100644 packages/csharp/docs/Models/Components/Address6.md create mode 100644 packages/csharp/docs/Models/Components/AddressInput.md delete mode 100644 packages/csharp/docs/Models/Components/AddressJson0.md create mode 100644 packages/csharp/docs/Models/Components/AddressJson1.md delete mode 100644 packages/csharp/docs/Models/Components/AddressJson3.md delete mode 100644 packages/csharp/docs/Models/Components/AddressJson4.md delete mode 100644 packages/csharp/docs/Models/Components/AddressJson5.md delete mode 100644 packages/csharp/docs/Models/Components/AddressJsonInput.md delete mode 100644 packages/csharp/docs/Models/Components/AddressTypeJson1.md create mode 100644 packages/csharp/docs/Models/Components/AgendaItemSetup.md delete mode 100644 packages/csharp/docs/Models/Components/AgendaItemSetupJson.md create mode 100644 packages/csharp/docs/Models/Components/AgendaItemType.md delete mode 100644 packages/csharp/docs/Models/Components/AgendaItemTypeJson.md create mode 100644 packages/csharp/docs/Models/Components/AmenityType.md delete mode 100644 packages/csharp/docs/Models/Components/AmenityTypeJson.md create mode 100644 packages/csharp/docs/Models/Components/AssetLocation.md create mode 100644 packages/csharp/docs/Models/Components/AssetLocationInput.md delete mode 100644 packages/csharp/docs/Models/Components/AssetLocationJson.md delete mode 100644 packages/csharp/docs/Models/Components/AssetLocationJsonInput.md create mode 100644 packages/csharp/docs/Models/Components/AttachmentSource.md delete mode 100644 packages/csharp/docs/Models/Components/AttachmentSourceJson.md create mode 100644 packages/csharp/docs/Models/Components/Attendee.md delete mode 100644 packages/csharp/docs/Models/Components/Attendee1.md create mode 100644 packages/csharp/docs/Models/Components/Attendee13.md create mode 100644 packages/csharp/docs/Models/Components/Attendee1Event.md create mode 100644 packages/csharp/docs/Models/Components/Attendee1Lookup.md create mode 100644 packages/csharp/docs/Models/Components/AttendeeContactTypeInput.md delete mode 100644 packages/csharp/docs/Models/Components/AttendeeContactTypeJson.md delete mode 100644 packages/csharp/docs/Models/Components/AttendeeContactTypeJsonInput.md delete mode 100644 packages/csharp/docs/Models/Components/AttendeeEvent.md delete mode 100644 packages/csharp/docs/Models/Components/AttendeeLookup.md create mode 100644 packages/csharp/docs/Models/Components/AttendeesPaginatedResponse.md create mode 100644 packages/csharp/docs/Models/Components/AudioTrackStatus.md delete mode 100644 packages/csharp/docs/Models/Components/AudioTrackStatusJson.md create mode 100644 packages/csharp/docs/Models/Components/AudioTrackType.md delete mode 100644 packages/csharp/docs/Models/Components/AudioTrackTypeJson.md create mode 100644 packages/csharp/docs/Models/Components/AudioTrackVariant.md delete mode 100644 packages/csharp/docs/Models/Components/AudioTrackVariantJson.md create mode 100644 packages/csharp/docs/Models/Components/BidItemStatusType.md delete mode 100644 packages/csharp/docs/Models/Components/BidItemStatusTypeJson.md create mode 100644 packages/csharp/docs/Models/Components/BidStatusType.md delete mode 100644 packages/csharp/docs/Models/Components/BidStatusTypeJson.md create mode 100644 packages/csharp/docs/Models/Components/BidStayType.md delete mode 100644 packages/csharp/docs/Models/Components/BidStayTypeJson.md create mode 100644 packages/csharp/docs/Models/Components/BillingDetails1.md delete mode 100644 packages/csharp/docs/Models/Components/BillingDetailsJson0.md create mode 100644 packages/csharp/docs/Models/Components/BrideGroomType.md delete mode 100644 packages/csharp/docs/Models/Components/BrideGroomTypeJson0.md create mode 100644 packages/csharp/docs/Models/Components/BusinessType.md delete mode 100644 packages/csharp/docs/Models/Components/BusinessTypeJson.md create mode 100644 packages/csharp/docs/Models/Components/CancellationDetails.md delete mode 100644 packages/csharp/docs/Models/Components/CancellationDetailsJson.md create mode 100644 packages/csharp/docs/Models/Components/CancelledReason1.md delete mode 100644 packages/csharp/docs/Models/Components/CancelledReasonJson0.md create mode 100644 packages/csharp/docs/Models/Components/Category.md delete mode 100644 packages/csharp/docs/Models/Components/CategoryIdNameJson.md delete mode 100644 packages/csharp/docs/Models/Components/CategoryJson2.md create mode 100644 packages/csharp/docs/Models/Components/Choice1.md delete mode 100644 packages/csharp/docs/Models/Components/ChoiceJson.md create mode 100644 packages/csharp/docs/Models/Components/ChoiceJson1.md create mode 100644 packages/csharp/docs/Models/Components/ChoiceJson2Input.md delete mode 100644 packages/csharp/docs/Models/Components/ChoiceJson3.md delete mode 100644 packages/csharp/docs/Models/Components/ChoiceJson3Input.md create mode 100644 packages/csharp/docs/Models/Components/ChoiceSortOrder.md delete mode 100644 packages/csharp/docs/Models/Components/ChoiceSortOrderJson.md create mode 100644 packages/csharp/docs/Models/Components/CommentType.md delete mode 100644 packages/csharp/docs/Models/Components/CommentTypeJson.md delete mode 100644 packages/csharp/docs/Models/Components/ComplianceAction.md delete mode 100644 packages/csharp/docs/Models/Components/ComplianceComplianceScope.md delete mode 100644 packages/csharp/docs/Models/Components/ComplianceCreatedBy.md delete mode 100644 packages/csharp/docs/Models/Components/ComplianceJson.md delete mode 100644 packages/csharp/docs/Models/Components/ComplianceJsonAction.md delete mode 100644 packages/csharp/docs/Models/Components/ComplianceJsonComplianceScope.md delete mode 100644 packages/csharp/docs/Models/Components/ComplianceJsonCreatedBy.md create mode 100644 packages/csharp/docs/Models/Components/ComplianceScope.md create mode 100644 packages/csharp/docs/Models/Components/Contact1.md create mode 100644 packages/csharp/docs/Models/Components/Contact2.md delete mode 100644 packages/csharp/docs/Models/Components/ContactBulkItemJson.md delete mode 100644 packages/csharp/docs/Models/Components/ContactBulkItemJsonData.md create mode 100644 packages/csharp/docs/Models/Components/ContactBulkResponseItem.md create mode 100644 packages/csharp/docs/Models/Components/ContactBulkResponseItemData.md create mode 100644 packages/csharp/docs/Models/Components/ContactCreate.md create mode 100644 packages/csharp/docs/Models/Components/ContactCreateEvent.md delete mode 100644 packages/csharp/docs/Models/Components/ContactCreateRequestJson.md delete mode 100644 packages/csharp/docs/Models/Components/ContactCreateRequestJsonEvent.md create mode 100644 packages/csharp/docs/Models/Components/ContactGroupType.md delete mode 100644 packages/csharp/docs/Models/Components/ContactGroupTypeJson.md create mode 100644 packages/csharp/docs/Models/Components/ContactHistory.md delete mode 100644 packages/csharp/docs/Models/Components/ContactHistoryJson.md create mode 100644 packages/csharp/docs/Models/Components/ContactId.md delete mode 100644 packages/csharp/docs/Models/Components/ContactIdJson.md create mode 100644 packages/csharp/docs/Models/Components/ContactJson.md delete mode 100644 packages/csharp/docs/Models/Components/ContactJson0.md delete mode 100644 packages/csharp/docs/Models/Components/ContactJson1.md delete mode 100644 packages/csharp/docs/Models/Components/ContactJson2.md create mode 100644 packages/csharp/docs/Models/Components/ContactLinksInput.md delete mode 100644 packages/csharp/docs/Models/Components/ContactLinksJson.md delete mode 100644 packages/csharp/docs/Models/Components/ContactLinksJsonInput.md delete mode 100644 packages/csharp/docs/Models/Components/ContactLinksJsonLink.md create mode 100644 packages/csharp/docs/Models/Components/ContactMembership.md create mode 100644 packages/csharp/docs/Models/Components/ContactMergeField.md delete mode 100644 packages/csharp/docs/Models/Components/ContactMergeFieldJson.md create mode 100644 packages/csharp/docs/Models/Components/ContactMethods.md delete mode 100644 packages/csharp/docs/Models/Components/ContactMethodsJson.md create mode 100644 packages/csharp/docs/Models/Components/ContactObfuscationStatusType.md delete mode 100644 packages/csharp/docs/Models/Components/ContactObfuscationStatusTypeJson.md create mode 100644 packages/csharp/docs/Models/Components/ContactOptOut.md create mode 100644 packages/csharp/docs/Models/Components/ContactOptOutInput.md create mode 100644 packages/csharp/docs/Models/Components/ContactType.md delete mode 100644 packages/csharp/docs/Models/Components/ContactTypeJson1.md create mode 100644 packages/csharp/docs/Models/Components/CreatedBy.md delete mode 100644 packages/csharp/docs/Models/Components/CurrencyJson1.md create mode 100644 packages/csharp/docs/Models/Components/CurrencyJson2.md create mode 100644 packages/csharp/docs/Models/Components/CustomFieldAnswers.md create mode 100644 packages/csharp/docs/Models/Components/CustomFieldJson.md delete mode 100644 packages/csharp/docs/Models/Components/CustomFieldJson3.md delete mode 100644 packages/csharp/docs/Models/Components/CustomFieldJson3CustomFieldType.md create mode 100644 packages/csharp/docs/Models/Components/CustomFieldJsonCustomFieldType.md create mode 100644 packages/csharp/docs/Models/Components/CustomFieldTypeJson.md delete mode 100644 packages/csharp/docs/Models/Components/CustomFieldTypeJson1.md delete mode 100644 packages/csharp/docs/Models/Components/CustomQuestionAnswerJson0.md delete mode 100644 packages/csharp/docs/Models/Components/CustomQuestionAnswerJson0Question.md create mode 100644 packages/csharp/docs/Models/Components/DateAnswerFormat.md delete mode 100644 packages/csharp/docs/Models/Components/DateAnswerFormatJson.md create mode 100644 packages/csharp/docs/Models/Components/DatePattern1.md delete mode 100644 packages/csharp/docs/Models/Components/DatePatternJson0.md create mode 100644 packages/csharp/docs/Models/Components/DateRequirements1.md delete mode 100644 packages/csharp/docs/Models/Components/DateRequirementsJson0.md create mode 100644 packages/csharp/docs/Models/Components/DateTypeJson.md delete mode 100644 packages/csharp/docs/Models/Components/DateTypeJson1.md create mode 100644 packages/csharp/docs/Models/Components/Dates1.md delete mode 100644 packages/csharp/docs/Models/Components/DatesJson0.md create mode 100644 packages/csharp/docs/Models/Components/DayOfWeek.md delete mode 100644 packages/csharp/docs/Models/Components/DayOfWeekJson0.md create mode 100644 packages/csharp/docs/Models/Components/Device1.md delete mode 100644 packages/csharp/docs/Models/Components/DeviceJson.md create mode 100644 packages/csharp/docs/Models/Components/DeviceType.md delete mode 100644 packages/csharp/docs/Models/Components/DeviceTypeJson.md create mode 100644 packages/csharp/docs/Models/Components/DisplayType.md delete mode 100644 packages/csharp/docs/Models/Components/DisplayTypeJson.md create mode 100644 packages/csharp/docs/Models/Components/DistanceJson.md delete mode 100644 packages/csharp/docs/Models/Components/DistanceJson1.md create mode 100644 packages/csharp/docs/Models/Components/DistributionListInfo.md create mode 100644 packages/csharp/docs/Models/Components/DistributionListInfoInput.md delete mode 100644 packages/csharp/docs/Models/Components/DistributionListInfoJson.md delete mode 100644 packages/csharp/docs/Models/Components/DistributionListInfoJsonInput.md create mode 100644 packages/csharp/docs/Models/Components/DistributionListSecurityType.md delete mode 100644 packages/csharp/docs/Models/Components/DistributionListSecurityTypeJson.md create mode 100644 packages/csharp/docs/Models/Components/DistributionListStatus.md delete mode 100644 packages/csharp/docs/Models/Components/DistributionListStatusJson.md create mode 100644 packages/csharp/docs/Models/Components/DocumentType1.md delete mode 100644 packages/csharp/docs/Models/Components/DocumentTypeJson0.md create mode 100644 packages/csharp/docs/Models/Components/EmailTypeJson.md delete mode 100644 packages/csharp/docs/Models/Components/EmailTypeJson3.md create mode 100644 packages/csharp/docs/Models/Components/EncodingProfile.md delete mode 100644 packages/csharp/docs/Models/Components/EncodingProfileJson.md create mode 100644 packages/csharp/docs/Models/Components/Event12.md delete mode 100644 packages/csharp/docs/Models/Components/Event21.md create mode 100644 packages/csharp/docs/Models/Components/Event3.md delete mode 100644 packages/csharp/docs/Models/Components/EventAllOf.md create mode 100644 packages/csharp/docs/Models/Components/EventContactId.md delete mode 100644 packages/csharp/docs/Models/Components/EventContactIdJson.md create mode 100644 packages/csharp/docs/Models/Components/EventFormatType.md delete mode 100644 packages/csharp/docs/Models/Components/EventFormatTypeJson0.md create mode 100644 packages/csharp/docs/Models/Components/EventJson.md delete mode 100644 packages/csharp/docs/Models/Components/EventJson0.md delete mode 100644 packages/csharp/docs/Models/Components/EventJson2.md create mode 100644 packages/csharp/docs/Models/Components/EventJson3.md delete mode 100644 packages/csharp/docs/Models/Components/EventJson4.md create mode 100644 packages/csharp/docs/Models/Components/EventJson5.md delete mode 100644 packages/csharp/docs/Models/Components/EventJson8.md create mode 100644 packages/csharp/docs/Models/Components/EventLite.md delete mode 100644 packages/csharp/docs/Models/Components/EventLiteJson.md create mode 100644 packages/csharp/docs/Models/Components/EventOrganization1.md create mode 100644 packages/csharp/docs/Models/Components/EventType1.md create mode 100644 packages/csharp/docs/Models/Components/EventTypeJson.md delete mode 100644 packages/csharp/docs/Models/Components/EventTypeJson0.md delete mode 100644 packages/csharp/docs/Models/Components/EventTypeJson1.md create mode 100644 packages/csharp/docs/Models/Components/FairSeasonType.md delete mode 100644 packages/csharp/docs/Models/Components/FairSeasonTypeJson.md create mode 100644 packages/csharp/docs/Models/Components/Field.md delete mode 100644 packages/csharp/docs/Models/Components/FieldJson2.md create mode 100644 packages/csharp/docs/Models/Components/FieldType.md delete mode 100644 packages/csharp/docs/Models/Components/FieldTypeJson2.md create mode 100644 packages/csharp/docs/Models/Components/FormatType.md delete mode 100644 packages/csharp/docs/Models/Components/FormatTypeJson.md delete mode 100644 packages/csharp/docs/Models/Components/GenderJson.md create mode 100644 packages/csharp/docs/Models/Components/GuestRoomOccupancy.md delete mode 100644 packages/csharp/docs/Models/Components/GuestRoomOccupancyJson.md create mode 100644 packages/csharp/docs/Models/Components/GuestRoomOccupancyPerRoomType.md delete mode 100644 packages/csharp/docs/Models/Components/GuestRoomOccupancyPerRoomTypeJson.md create mode 100644 packages/csharp/docs/Models/Components/GuestRoomType.md delete mode 100644 packages/csharp/docs/Models/Components/GuestRoomTypeJson.md create mode 100644 packages/csharp/docs/Models/Components/HlsInputWithClips.md delete mode 100644 packages/csharp/docs/Models/Components/HlsInputWithClipsJson.md delete mode 100644 packages/csharp/docs/Models/Components/IdJson.md create mode 100644 packages/csharp/docs/Models/Components/IdOnlyEntity.md create mode 100644 packages/csharp/docs/Models/Components/Industry1.md delete mode 100644 packages/csharp/docs/Models/Components/IndustryJson0.md delete mode 100644 packages/csharp/docs/Models/Components/LeadSourceJson.md create mode 100644 packages/csharp/docs/Models/Components/LeadSourceSection.md delete mode 100644 packages/csharp/docs/Models/Components/LeadSourceSectionJson.md create mode 100644 packages/csharp/docs/Models/Components/ManagementLevelType1.md delete mode 100644 packages/csharp/docs/Models/Components/ManagementLevelTypeJson1.md create mode 100644 packages/csharp/docs/Models/Components/MeasurementUnit.md delete mode 100644 packages/csharp/docs/Models/Components/MeasurementUnitJson0.md delete mode 100644 packages/csharp/docs/Models/Components/MembershipJson.md create mode 100644 packages/csharp/docs/Models/Components/MessageRecipientResponse.md create mode 100644 packages/csharp/docs/Models/Components/MessageRecipientResponseAttendee.md delete mode 100644 packages/csharp/docs/Models/Components/MessageRecipientsResponseJson.md delete mode 100644 packages/csharp/docs/Models/Components/MessageRecipientsResponseJsonAttendee.md create mode 100644 packages/csharp/docs/Models/Components/NumericAnswerFormat.md delete mode 100644 packages/csharp/docs/Models/Components/NumericAnswerFormatJson.md create mode 100644 packages/csharp/docs/Models/Components/OfferingCostType1.md delete mode 100644 packages/csharp/docs/Models/Components/OfferingCostTypeJson0.md create mode 100644 packages/csharp/docs/Models/Components/One.md delete mode 100644 packages/csharp/docs/Models/Components/OneAllOf.md delete mode 100644 packages/csharp/docs/Models/Components/OneOneOf.md delete mode 100644 packages/csharp/docs/Models/Components/OptOutJson.md delete mode 100644 packages/csharp/docs/Models/Components/OptOutJsonInput.md create mode 100644 packages/csharp/docs/Models/Components/OptoutBy.md create mode 100644 packages/csharp/docs/Models/Components/Organization.md delete mode 100644 packages/csharp/docs/Models/Components/OrganizationJson.md create mode 100644 packages/csharp/docs/Models/Components/OrganizationType1.md delete mode 100644 packages/csharp/docs/Models/Components/OrganizationTypeJson0.md create mode 100644 packages/csharp/docs/Models/Components/PackagePricingPreference.md delete mode 100644 packages/csharp/docs/Models/Components/PackagePricingPreferenceJson.md delete mode 100644 packages/csharp/docs/Models/Components/PagingJson19.md create mode 100644 packages/csharp/docs/Models/Components/PagingJson2.md create mode 100644 packages/csharp/docs/Models/Components/PagingNoTotalCountJson.md delete mode 100644 packages/csharp/docs/Models/Components/PagingNoTotalCountJson2.md create mode 100644 packages/csharp/docs/Models/Components/Passport.md create mode 100644 packages/csharp/docs/Models/Components/PassportInput.md delete mode 100644 packages/csharp/docs/Models/Components/PassportJson.md delete mode 100644 packages/csharp/docs/Models/Components/PassportJsonInput.md create mode 100644 packages/csharp/docs/Models/Components/PolicyValueType.md delete mode 100644 packages/csharp/docs/Models/Components/PolicyValueTypeJson.md create mode 100644 packages/csharp/docs/Models/Components/ProgramItemLite.md delete mode 100644 packages/csharp/docs/Models/Components/ProgramItemLiteJson.md create mode 100644 packages/csharp/docs/Models/Components/ProposalStatusType.md delete mode 100644 packages/csharp/docs/Models/Components/ProposalStatusTypeJson.md create mode 100644 packages/csharp/docs/Models/Components/QuestionClassificationType.md delete mode 100644 packages/csharp/docs/Models/Components/QuestionClassificationTypeJson.md create mode 100644 packages/csharp/docs/Models/Components/QuestionJson.md delete mode 100644 packages/csharp/docs/Models/Components/QuestionJson3.md create mode 100644 packages/csharp/docs/Models/Components/QuestionResponseDataType.md delete mode 100644 packages/csharp/docs/Models/Components/QuestionResponseDataTypeJson.md create mode 100644 packages/csharp/docs/Models/Components/QuestionResponseFormat.md delete mode 100644 packages/csharp/docs/Models/Components/QuestionResponseFormatJson.md create mode 100644 packages/csharp/docs/Models/Components/QuestionResponseType.md delete mode 100644 packages/csharp/docs/Models/Components/QuestionResponseTypeJson.md create mode 100644 packages/csharp/docs/Models/Components/QuestionSection.md delete mode 100644 packages/csharp/docs/Models/Components/QuestionSectionJson.md create mode 100644 packages/csharp/docs/Models/Components/QuestionType.md delete mode 100644 packages/csharp/docs/Models/Components/QuestionTypeJson3.md delete mode 100644 packages/csharp/docs/Models/Components/QuestionWithProgramIdJson.md delete mode 100644 packages/csharp/docs/Models/Components/QuestionWithProgramIdJsonTravelProgram.md create mode 100644 packages/csharp/docs/Models/Components/RateLevelType.md delete mode 100644 packages/csharp/docs/Models/Components/RateLevelTypeJson.md create mode 100644 packages/csharp/docs/Models/Components/RateReviewStatusType.md delete mode 100644 packages/csharp/docs/Models/Components/RateReviewStatusTypeJson.md create mode 100644 packages/csharp/docs/Models/Components/RateType.md delete mode 100644 packages/csharp/docs/Models/Components/RateTypeJson.md create mode 100644 packages/csharp/docs/Models/Components/RebateType.md delete mode 100644 packages/csharp/docs/Models/Components/RebateTypeJson.md create mode 100644 packages/csharp/docs/Models/Components/RecipientInfo.md delete mode 100644 packages/csharp/docs/Models/Components/RecipientInfoJson0.md create mode 100644 packages/csharp/docs/Models/Components/RecipientType.md delete mode 100644 packages/csharp/docs/Models/Components/RecipientTypeJson0.md create mode 100644 packages/csharp/docs/Models/Components/RfpAgendaItem.md delete mode 100644 packages/csharp/docs/Models/Components/RfpAgendaItemJson.md create mode 100644 packages/csharp/docs/Models/Components/RfpAgendaItemSchedule.md delete mode 100644 packages/csharp/docs/Models/Components/RfpAgendaItemScheduleJson.md create mode 100644 packages/csharp/docs/Models/Components/RfpAgendaItemScheduleWithId.md delete mode 100644 packages/csharp/docs/Models/Components/RfpAgendaItemScheduleWithIdJson.md create mode 100644 packages/csharp/docs/Models/Components/RfpAttachment.md delete mode 100644 packages/csharp/docs/Models/Components/RfpAttachmentJson.md delete mode 100644 packages/csharp/docs/Models/Components/RfpAttachmentJsonSupplier.md create mode 100644 packages/csharp/docs/Models/Components/RfpAttachmentSupplier.md delete mode 100644 packages/csharp/docs/Models/Components/RfpCustomFieldJson.md create mode 100644 packages/csharp/docs/Models/Components/RfpDateMode.md delete mode 100644 packages/csharp/docs/Models/Components/RfpDateModeJson0.md create mode 100644 packages/csharp/docs/Models/Components/RfpEvent.md delete mode 100644 packages/csharp/docs/Models/Components/RfpEventJson.md delete mode 100644 packages/csharp/docs/Models/Components/RfpEventOrganizationJson.md create mode 100644 packages/csharp/docs/Models/Components/RfpIdJson.md delete mode 100644 packages/csharp/docs/Models/Components/RfpIdJson1.md create mode 100644 packages/csharp/docs/Models/Components/RfpInternalDocument.md delete mode 100644 packages/csharp/docs/Models/Components/RfpInternalDocumentJson0.md create mode 100644 packages/csharp/docs/Models/Components/RfpMeal.md delete mode 100644 packages/csharp/docs/Models/Components/RfpMealJson.md create mode 100644 packages/csharp/docs/Models/Components/RfpPastEvent.md delete mode 100644 packages/csharp/docs/Models/Components/RfpPastEventJson.md create mode 100644 packages/csharp/docs/Models/Components/RfpQuestion.md delete mode 100644 packages/csharp/docs/Models/Components/RfpQuestionJson.md create mode 100644 packages/csharp/docs/Models/Components/RfpRecipientLogEntry.md delete mode 100644 packages/csharp/docs/Models/Components/RfpRecipientLogEntryJson.md delete mode 100644 packages/csharp/docs/Models/Components/RfpRecipientLogEntryJsonMessage.md delete mode 100644 packages/csharp/docs/Models/Components/RfpRecipientLogEntryJsonSupplier.md create mode 100644 packages/csharp/docs/Models/Components/RfpRecipientLogEntryMessage.md create mode 100644 packages/csharp/docs/Models/Components/RfpRecipientLogEntrySupplier.md create mode 100644 packages/csharp/docs/Models/Components/RfpResponseReason.md delete mode 100644 packages/csharp/docs/Models/Components/RfpResponseReasonJson.md create mode 100644 packages/csharp/docs/Models/Components/RfpStatus1.md delete mode 100644 packages/csharp/docs/Models/Components/RfpStatusJson0.md create mode 100644 packages/csharp/docs/Models/Components/RfpSupplier.md delete mode 100644 packages/csharp/docs/Models/Components/RfpSupplierJson.md create mode 100644 packages/csharp/docs/Models/Components/RfpSupplierLeadSource.md create mode 100644 packages/csharp/docs/Models/Components/RfpType1.md delete mode 100644 packages/csharp/docs/Models/Components/RfpTypeJson0.md create mode 100644 packages/csharp/docs/Models/Components/RoomBedTypeJson.md delete mode 100644 packages/csharp/docs/Models/Components/RoomBedTypeJson1.md create mode 100644 packages/csharp/docs/Models/Components/RoomBlock.md create mode 100644 packages/csharp/docs/Models/Components/RoomBlockDetails.md delete mode 100644 packages/csharp/docs/Models/Components/RoomBlockDetailsJson.md delete mode 100644 packages/csharp/docs/Models/Components/RoomBlockJson.md create mode 100644 packages/csharp/docs/Models/Components/SessionLite.md delete mode 100644 packages/csharp/docs/Models/Components/SessionLiteJson.md create mode 100644 packages/csharp/docs/Models/Components/SessionSpeaker.md delete mode 100644 packages/csharp/docs/Models/Components/SessionSpeakerJson.md create mode 100644 packages/csharp/docs/Models/Components/Solution.md delete mode 100644 packages/csharp/docs/Models/Components/SolutionJson.md create mode 100644 packages/csharp/docs/Models/Components/SpaceArea.md delete mode 100644 packages/csharp/docs/Models/Components/SpaceAreaJson0.md delete mode 100644 packages/csharp/docs/Models/Components/SpeakerCategory.md create mode 100644 packages/csharp/docs/Models/Components/SpeakerCategory1.md create mode 100644 packages/csharp/docs/Models/Components/SpeakerCategory2.md create mode 100644 packages/csharp/docs/Models/Components/SpeakerLite1.md delete mode 100644 packages/csharp/docs/Models/Components/SpeakerLiteJson.md create mode 100644 packages/csharp/docs/Models/Components/StandardQuestion.md delete mode 100644 packages/csharp/docs/Models/Components/StandardQuestionJson.md create mode 100644 packages/csharp/docs/Models/Components/SupplierType.md delete mode 100644 packages/csharp/docs/Models/Components/SupplierTypeJson1.md create mode 100644 packages/csharp/docs/Models/Components/SurveyContactId.md delete mode 100644 packages/csharp/docs/Models/Components/SurveyContactIdJson.md create mode 100644 packages/csharp/docs/Models/Components/TargetType.md delete mode 100644 packages/csharp/docs/Models/Components/TargetTypeJson.md create mode 100644 packages/csharp/docs/Models/Components/TaxType.md delete mode 100644 packages/csharp/docs/Models/Components/TaxTypeJson.md create mode 100644 packages/csharp/docs/Models/Components/TextAnswerFormat.md delete mode 100644 packages/csharp/docs/Models/Components/TextAnswerFormatJson.md create mode 100644 packages/csharp/docs/Models/Components/TextField.md delete mode 100644 packages/csharp/docs/Models/Components/TextFieldJson1.md create mode 100644 packages/csharp/docs/Models/Components/ThumbnailStatus.md delete mode 100644 packages/csharp/docs/Models/Components/ThumbnailStatusJson.md create mode 100644 packages/csharp/docs/Models/Components/ThumbnailType.md delete mode 100644 packages/csharp/docs/Models/Components/ThumbnailTypeJson.md create mode 100644 packages/csharp/docs/Models/Components/TravelAccountType.md delete mode 100644 packages/csharp/docs/Models/Components/TravelAccountTypeJson.md delete mode 100644 packages/csharp/docs/Models/Components/TravelAmenityJson.md create mode 100644 packages/csharp/docs/Models/Components/TravelBidAmenity.md delete mode 100644 packages/csharp/docs/Models/Components/TravelBidAmenityJson.md create mode 100644 packages/csharp/docs/Models/Components/TravelBidComment.md delete mode 100644 packages/csharp/docs/Models/Components/TravelBidCommentJson.md create mode 100644 packages/csharp/docs/Models/Components/TravelBidDiscount.md delete mode 100644 packages/csharp/docs/Models/Components/TravelBidDiscountJson.md delete mode 100644 packages/csharp/docs/Models/Components/TravelBidDiscountJsonPropertyRoom.md create mode 100644 packages/csharp/docs/Models/Components/TravelBidDiscountPropertyRoom.md create mode 100644 packages/csharp/docs/Models/Components/TravelBidDisposition.md create mode 100644 packages/csharp/docs/Models/Components/TravelBidDispositionAcceptedRoom.md delete mode 100644 packages/csharp/docs/Models/Components/TravelBidDispositionAcceptedRoomJson.md delete mode 100644 packages/csharp/docs/Models/Components/TravelBidDispositionAcceptedRoomJsonPropertyRoom.md create mode 100644 packages/csharp/docs/Models/Components/TravelBidDispositionAcceptedRoomPropertyRoom.md delete mode 100644 packages/csharp/docs/Models/Components/TravelBidDispositionJson.md create mode 100644 packages/csharp/docs/Models/Components/TravelBidFairSeason.md delete mode 100644 packages/csharp/docs/Models/Components/TravelBidFairSeasonJson.md create mode 100644 packages/csharp/docs/Models/Components/TravelBidFairSeasonRate.md delete mode 100644 packages/csharp/docs/Models/Components/TravelBidFairSeasonRateJson.md delete mode 100644 packages/csharp/docs/Models/Components/TravelBidFairSeasonRateJsonPropertyRoom.md create mode 100644 packages/csharp/docs/Models/Components/TravelBidFairSeasonRatePropertyRoom.md create mode 100644 packages/csharp/docs/Models/Components/TravelBidPolicy.md delete mode 100644 packages/csharp/docs/Models/Components/TravelBidPolicyJson.md delete mode 100644 packages/csharp/docs/Models/Components/TravelBidRateJson.md create mode 100644 packages/csharp/docs/Models/Components/TravelBidRoom.md delete mode 100644 packages/csharp/docs/Models/Components/TravelBidRoomJson.md delete mode 100644 packages/csharp/docs/Models/Components/TravelBidRoomJsonPropertyRoom.md create mode 100644 packages/csharp/docs/Models/Components/TravelBidRoomPropertyRoom.md create mode 100644 packages/csharp/docs/Models/Components/TravelBidSeason.md delete mode 100644 packages/csharp/docs/Models/Components/TravelBidSeasonJson.md create mode 100644 packages/csharp/docs/Models/Components/TravelBidSeasonRate.md delete mode 100644 packages/csharp/docs/Models/Components/TravelBidSeasonRateJson.md delete mode 100644 packages/csharp/docs/Models/Components/TravelBidSeasonRateJsonPropertyRoom.md create mode 100644 packages/csharp/docs/Models/Components/TravelBidSeasonRatePropertyRoom.md create mode 100644 packages/csharp/docs/Models/Components/TravelBidTaxAndFee.md delete mode 100644 packages/csharp/docs/Models/Components/TravelBidTaxFeeJson.md delete mode 100644 packages/csharp/docs/Models/Components/TravelBidWeekendDayJson.md create mode 100644 packages/csharp/docs/Models/Components/TravelBidWeekendDays.md delete mode 100644 packages/csharp/docs/Models/Components/TravelBreakOutRoomJson.md delete mode 100644 packages/csharp/docs/Models/Components/TravelDayDelegateRateJson.md delete mode 100644 packages/csharp/docs/Models/Components/TravelGroupAndMeetingJson.md delete mode 100644 packages/csharp/docs/Models/Components/TravelMeetingRoomBasicInfoJson.md create mode 100644 packages/csharp/docs/Models/Components/TravelProgramFormatType.md delete mode 100644 packages/csharp/docs/Models/Components/TravelProgramFormatTypeJson.md create mode 100644 packages/csharp/docs/Models/Components/TravelProgramQuestion.md create mode 100644 packages/csharp/docs/Models/Components/TravelProgramQuestion1.md delete mode 100644 packages/csharp/docs/Models/Components/TravelProgramQuestionJson.md create mode 100644 packages/csharp/docs/Models/Components/TravelProgramQuestionTravelProgram.md create mode 100644 packages/csharp/docs/Models/Components/TravelProgramStatus.md delete mode 100644 packages/csharp/docs/Models/Components/TravelProgramStatusJson.md create mode 100644 packages/csharp/docs/Models/Components/TravelProgramStayType.md delete mode 100644 packages/csharp/docs/Models/Components/TravelProgramStayTypeJson.md create mode 100644 packages/csharp/docs/Models/Components/TravelProgramType.md delete mode 100644 packages/csharp/docs/Models/Components/TravelProgramTypeJson.md delete mode 100644 packages/csharp/docs/Models/Components/TravelProposalBid.md create mode 100644 packages/csharp/docs/Models/Components/TravelProposalBid1.md create mode 100644 packages/csharp/docs/Models/Components/TravelProposalBid2.md delete mode 100644 packages/csharp/docs/Models/Components/TravelProposalBidIdJson.md create mode 100644 packages/csharp/docs/Models/Components/TravelProposalBidRate.md create mode 100644 packages/csharp/docs/Models/Components/TravelProposalCustomQuestion.md create mode 100644 packages/csharp/docs/Models/Components/TravelProposalCustomQuestionQuestion.md create mode 100644 packages/csharp/docs/Models/Components/TravelProposalDisposition.md delete mode 100644 packages/csharp/docs/Models/Components/TravelProposalDispositionJson.md create mode 100644 packages/csharp/docs/Models/Components/TravelProposalGroupAndMeeting.md create mode 100644 packages/csharp/docs/Models/Components/TravelProposalGroupAndMeetingAmenity.md create mode 100644 packages/csharp/docs/Models/Components/TravelProposalGroupAndMeetingBreakOutRoom.md create mode 100644 packages/csharp/docs/Models/Components/TravelProposalGroupAndMeetingDayDelegateRate.md create mode 100644 packages/csharp/docs/Models/Components/TravelProposalGroupAndMeetingMeetingRoomBasicInformation.md create mode 100644 packages/csharp/docs/Models/Components/TravelProposalGroupAndMeetingRunOfHouseRate.md create mode 100644 packages/csharp/docs/Models/Components/TravelProposalGroupAndMeetingTaxAndServiceCharge.md delete mode 100644 packages/csharp/docs/Models/Components/TravelRunOfHouseRateJson.md delete mode 100644 packages/csharp/docs/Models/Components/TravelTaxAndServiceChargeJson.md create mode 100644 packages/csharp/docs/Models/Components/UnitPosition.md delete mode 100644 packages/csharp/docs/Models/Components/UnitPositionJson.md create mode 100644 packages/csharp/docs/Models/Components/UpdatedThroughNameProperty.md delete mode 100644 packages/csharp/docs/Models/Components/UpdatedThroughNamePropertyJson.md create mode 100644 packages/csharp/docs/Models/Components/Video1.md create mode 100644 packages/csharp/docs/Models/Components/VideoAssetID.md delete mode 100644 packages/csharp/docs/Models/Components/VideoAssetIdJson.md create mode 100644 packages/csharp/docs/Models/Components/VideoClip.md delete mode 100644 packages/csharp/docs/Models/Components/VideoClipJson.md create mode 100644 packages/csharp/docs/Models/Components/VideoError.md create mode 100644 packages/csharp/docs/Models/Components/VideoErrorCode.md delete mode 100644 packages/csharp/docs/Models/Components/VideoErrorCodeJson.md delete mode 100644 packages/csharp/docs/Models/Components/VideoErrorJson.md delete mode 100644 packages/csharp/docs/Models/Components/VideoJson.md create mode 100644 packages/csharp/docs/Models/Components/VideoRendition.md delete mode 100644 packages/csharp/docs/Models/Components/VideoRenditionJson.md delete mode 100644 packages/csharp/docs/Models/Components/VideoRenditionJsonLink.md create mode 100644 packages/csharp/docs/Models/Components/VideoRenditionLink.md create mode 100644 packages/csharp/docs/Models/Components/VideoRenditionType.md delete mode 100644 packages/csharp/docs/Models/Components/VideoRenditionTypeJson.md create mode 100644 packages/csharp/docs/Models/Components/VideoSource.md delete mode 100644 packages/csharp/docs/Models/Components/VideoSourceJson.md delete mode 100644 packages/csharp/docs/Models/Components/VideoSourceJsonStatus.md create mode 100644 packages/csharp/docs/Models/Components/VideoSourceStatus.md create mode 100644 packages/csharp/docs/Models/Components/VideoStatus.md delete mode 100644 packages/csharp/docs/Models/Components/VideoStatusJson.md create mode 100644 packages/csharp/docs/Models/Components/VideoTextTrackKind.md delete mode 100644 packages/csharp/docs/Models/Components/VideoTextTrackKindJson.md create mode 100644 packages/csharp/docs/Models/Components/VideoTextTrackStatus.md delete mode 100644 packages/csharp/docs/Models/Components/VideoTextTrackStatusJson.md create mode 100644 packages/csharp/docs/Models/Components/VideoThumbnail.md delete mode 100644 packages/csharp/docs/Models/Components/VideoThumbnailJson.md create mode 100644 packages/csharp/docs/Models/Components/VideoType.md delete mode 100644 packages/csharp/docs/Models/Components/VideoTypeJson.md create mode 100644 packages/csharp/docs/Models/Components/VideoView.md delete mode 100644 packages/csharp/docs/Models/Components/VideoViewJson.md create mode 100644 packages/csharp/docs/Models/Components/VideoWarning.md create mode 100644 packages/csharp/docs/Models/Components/VideoWarningCode.md delete mode 100644 packages/csharp/docs/Models/Components/VideoWarningCodeJson.md delete mode 100644 packages/csharp/docs/Models/Components/VideoWarningJson.md create mode 100644 packages/csharp/docs/Models/Components/ViewType1.md delete mode 100644 packages/csharp/docs/Models/Components/ViewTypeJson1.md create mode 100644 packages/csharp/docs/Models/Components/Voucher.md create mode 100644 packages/csharp/docs/Models/Components/VoucherCapacity.md create mode 100644 packages/csharp/docs/Models/Components/VouchersPaginatedResponse.md create mode 100644 packages/csharp/docs/Models/Components/WeddingDetails1.md delete mode 100644 packages/csharp/docs/Models/Components/WeddingDetailsJson0.md create mode 100644 packages/csharp/docs/Models/Components/WeddingPartner.md delete mode 100644 packages/csharp/docs/Models/Components/WeddingPartnerJson.md delete mode 100644 packages/csharp/docs/Models/Components/ZeroAllOf9.md create mode 100644 packages/csharp/docs/Models/Errors/ErrorResponseJson12.md delete mode 100644 packages/csharp/docs/Models/Errors/ErrorResponseJson17.md create mode 100644 packages/csharp/docs/Models/Requests/ListEventVoucherAttendeesRequest.md create mode 100644 packages/csharp/docs/Models/Requests/ListEventVoucherAttendeesResponse.md create mode 100644 packages/csharp/docs/Models/Requests/ListEventVouchersPostFilterRequest.md create mode 100644 packages/csharp/docs/Models/Requests/ListEventVouchersPostFilterResponse.md create mode 100644 packages/csharp/docs/Models/Requests/ListEventVouchersRequest.md create mode 100644 packages/csharp/docs/Models/Requests/ListEventVouchersResponse.md create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Action.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AdditionalChoice1.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AdditionalChoiceJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AdditionalChoiceJson1.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AdditionalChoiceJson2.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Address.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Address1.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Address12.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Address2.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Address4.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Address5.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Address6.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AddressInput.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AddressJson0.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AddressJson1.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AddressJson3.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AddressJson4.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AddressJson5.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AddressJsonInput.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AddressTypeJson1.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AgendaItemSetup.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AgendaItemSetupJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AgendaItemType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AgendaItemTypeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AmenityType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AmenityTypeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AssetLocation.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AssetLocationInput.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AssetLocationJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AssetLocationJsonInput.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AttachmentSource.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AttachmentSourceJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Attendee.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Attendee1.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Attendee13.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Attendee1Event.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Attendee1Lookup.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AttendeeContactTypeInput.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AttendeeContactTypeJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AttendeeContactTypeJsonInput.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AttendeeEvent.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AttendeeLookup.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AttendeesPaginatedResponse.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AudioTrackStatus.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AudioTrackStatusJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AudioTrackType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AudioTrackTypeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AudioTrackVariant.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/AudioTrackVariantJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/BidItemStatusType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/BidItemStatusTypeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/BidStatusType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/BidStatusTypeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/BidStayType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/BidStayTypeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/BillingDetails1.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/BillingDetailsJson0.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/BrideGroomType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/BrideGroomTypeJson0.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/BusinessType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/BusinessTypeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/CancellationDetails.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/CancellationDetailsJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/CancelledReason1.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/CancelledReasonJson0.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Category.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/CategoryIdNameJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/CategoryJson2.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Choice1.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ChoiceJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ChoiceJson1.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ChoiceJson2Input.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ChoiceJson3.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ChoiceJson3Input.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ChoiceSortOrder.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ChoiceSortOrderJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/CommentType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/CommentTypeJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ComplianceAction.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ComplianceComplianceScope.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ComplianceCreatedBy.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ComplianceJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ComplianceJsonAction.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ComplianceJsonComplianceScope.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ComplianceJsonCreatedBy.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ComplianceScope.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Contact1.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Contact2.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactBulkItemJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactBulkItemJsonData.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactBulkResponseItem.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactBulkResponseItemData.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactCreate.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactCreateEvent.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactCreateRequestJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactCreateRequestJsonEvent.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactGroupType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactGroupTypeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactHistory.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactHistoryJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactId.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactIdJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactJson0.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactJson1.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactJson2.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactLinksInput.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactLinksJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactLinksJsonInput.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactLinksJsonLink.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactMembership.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactMergeField.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactMergeFieldJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactMethods.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactMethodsJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactObfuscationStatusType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactObfuscationStatusTypeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactOptOut.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactOptOutInput.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactTypeJson1.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/CreatedBy.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/CurrencyJson1.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/CurrencyJson2.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldAnswers.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJson3.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJson3CustomFieldType.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJsonCustomFieldType.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldTypeJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldTypeJson1.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/CustomQuestionAnswerJson0.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/CustomQuestionAnswerJson0Question.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/DateAnswerFormat.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/DateAnswerFormatJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/DatePattern1.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/DatePatternJson0.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/DateRequirements1.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/DateRequirementsJson0.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/DateTypeJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/DateTypeJson1.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Dates1.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/DatesJson0.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/DayOfWeek.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/DayOfWeekJson0.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Device1.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/DeviceJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/DeviceType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/DeviceTypeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/DisplayType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/DisplayTypeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/DistanceJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/DistanceJson1.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/DistributionListInfo.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/DistributionListInfoInput.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/DistributionListInfoJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/DistributionListInfoJsonInput.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/DistributionListSecurityType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/DistributionListSecurityTypeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/DistributionListStatus.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/DistributionListStatusJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/DocumentType1.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/DocumentTypeJson0.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/EmailTypeJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/EmailTypeJson3.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/EncodingProfile.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/EncodingProfileJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Event12.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Event21.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Event3.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/EventAllOf.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/EventContactId.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/EventContactIdJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/EventFormatType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/EventFormatTypeJson0.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/EventJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/EventJson0.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/EventJson2.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/EventJson3.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/EventJson4.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/EventJson5.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/EventJson8.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/EventLite.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/EventLiteJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/EventOrganization1.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/EventType1.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/EventTypeJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/EventTypeJson0.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/EventTypeJson1.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/FairSeasonType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/FairSeasonTypeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Field.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/FieldJson2.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/FieldType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/FieldTypeJson2.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/FormatType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/FormatTypeJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/GenderJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/GuestRoomOccupancy.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/GuestRoomOccupancyJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/GuestRoomOccupancyPerRoomType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/GuestRoomOccupancyPerRoomTypeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/GuestRoomType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/GuestRoomTypeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/HlsInputWithClips.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/HlsInputWithClipsJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/IdJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/IdOnlyEntity.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Industry1.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/IndustryJson0.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/LeadSourceJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/LeadSourceSection.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/LeadSourceSectionJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ManagementLevelType1.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ManagementLevelTypeJson1.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/MeasurementUnit.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/MeasurementUnitJson0.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/MembershipJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/MessageRecipientResponse.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/MessageRecipientResponseAttendee.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/MessageRecipientsResponseJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/MessageRecipientsResponseJsonAttendee.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/NumericAnswerFormat.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/NumericAnswerFormatJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/OfferingCostType1.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/OfferingCostTypeJson0.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/One.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/OneAllOf.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/OneOneOf.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/OptOutJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/OptOutJsonInput.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/OptoutBy.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Organization.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/OrganizationJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/OrganizationType1.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/OrganizationTypeJson0.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/PackagePricingPreference.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/PackagePricingPreferenceJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/PagingJson19.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/PagingJson2.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/PagingNoTotalCountJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/PagingNoTotalCountJson2.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Passport.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/PassportInput.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/PassportJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/PassportJsonInput.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/PolicyValueType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/PolicyValueTypeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ProgramItemLite.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ProgramItemLiteJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ProposalStatusType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ProposalStatusTypeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/QuestionClassificationType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/QuestionClassificationTypeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/QuestionJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/QuestionJson3.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponseDataType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponseDataTypeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponseFormat.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponseFormatJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponseType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponseTypeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/QuestionSection.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/QuestionSectionJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/QuestionType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/QuestionTypeJson3.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/QuestionWithProgramIdJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/QuestionWithProgramIdJsonTravelProgram.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RateLevelType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RateLevelTypeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RateReviewStatusType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RateReviewStatusTypeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RateType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RateTypeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RebateType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RebateTypeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RecipientInfo.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RecipientInfoJson0.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RecipientType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RecipientTypeJson0.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpAgendaItem.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpAgendaItemJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpAgendaItemSchedule.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpAgendaItemScheduleJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpAgendaItemScheduleWithId.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpAgendaItemScheduleWithIdJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpAttachment.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpAttachmentJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpAttachmentJsonSupplier.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpAttachmentSupplier.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpCustomFieldJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpDateMode.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpDateModeJson0.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpEvent.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpEventJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpEventOrganizationJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpIdJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpIdJson1.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpInternalDocument.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpInternalDocumentJson0.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpMeal.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpMealJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpPastEvent.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpPastEventJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpQuestion.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpQuestionJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpRecipientLogEntry.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpRecipientLogEntryJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpRecipientLogEntryJsonMessage.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpRecipientLogEntryJsonSupplier.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpRecipientLogEntryMessage.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpRecipientLogEntrySupplier.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpResponseReason.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpResponseReasonJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpStatus1.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpStatusJson0.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpSupplier.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpSupplierJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpSupplierLeadSource.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpType1.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RfpTypeJson0.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RoomBedTypeJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RoomBedTypeJson1.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RoomBlock.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RoomBlockDetails.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RoomBlockDetailsJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/RoomBlockJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/SessionLite.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/SessionLiteJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/SessionSpeaker.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/SessionSpeakerJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Solution.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/SolutionJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/SpaceArea.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/SpaceAreaJson0.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/SpeakerCategory.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/SpeakerCategory1.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/SpeakerCategory2.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/SpeakerLite1.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/SpeakerLiteJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/StandardQuestion.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/StandardQuestionJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/SupplierType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/SupplierTypeJson1.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/SurveyContactId.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/SurveyContactIdJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TargetType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TargetTypeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TaxType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TaxTypeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TextAnswerFormat.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TextAnswerFormatJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TextField.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TextFieldJson1.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ThumbnailStatus.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ThumbnailStatusJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ThumbnailType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ThumbnailTypeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelAccountType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelAccountTypeJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelAmenityJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidAmenity.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidAmenityJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidComment.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidCommentJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDiscount.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDiscountJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDiscountJsonPropertyRoom.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDiscountPropertyRoom.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDisposition.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDispositionAcceptedRoom.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDispositionAcceptedRoomJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDispositionAcceptedRoomJsonPropertyRoom.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDispositionAcceptedRoomPropertyRoom.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDispositionJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeason.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeasonJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeasonRate.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeasonRateJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeasonRateJsonPropertyRoom.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeasonRatePropertyRoom.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidPolicy.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidPolicyJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidRateJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidRoom.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidRoomJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidRoomJsonPropertyRoom.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidRoomPropertyRoom.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeason.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeasonJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeasonRate.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeasonRateJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeasonRateJsonPropertyRoom.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeasonRatePropertyRoom.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidTaxAndFee.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidTaxFeeJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidWeekendDayJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBidWeekendDays.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelBreakOutRoomJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelDayDelegateRateJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelGroupAndMeetingJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelMeetingRoomBasicInfoJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramFormatType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramFormatTypeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramQuestion.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramQuestion1.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramQuestionJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramQuestionTravelProgram.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramStatus.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramStatusJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramStayType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramStayTypeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramTypeJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalBid.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalBid1.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalBid2.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalBidIdJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalBidRate.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalCustomQuestion.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalCustomQuestionQuestion.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalDisposition.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalDispositionJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeeting.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeetingAmenity.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeetingBreakOutRoom.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeetingDayDelegateRate.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeetingMeetingRoomBasicInformation.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeetingRunOfHouseRate.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeetingTaxAndServiceCharge.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelRunOfHouseRateJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelTaxAndServiceChargeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/UnitPosition.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/UnitPositionJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/UpdatedThroughNameProperty.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/UpdatedThroughNamePropertyJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Video1.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoAssetID.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoAssetIdJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoClip.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoClipJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoError.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoErrorCode.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoErrorCodeJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoErrorJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoRendition.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoRenditionJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoRenditionJsonLink.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoRenditionLink.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoRenditionType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoRenditionTypeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoSource.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoSourceJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoSourceJsonStatus.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoSourceStatus.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoStatus.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoStatusJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoTextTrackKind.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoTextTrackKindJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoTextTrackStatus.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoTextTrackStatusJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoThumbnail.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoThumbnailJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoType.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoTypeJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoView.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoViewJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoWarning.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoWarningCode.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoWarningCodeJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VideoWarningJson.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ViewType1.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ViewTypeJson1.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/Voucher.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VoucherCapacity.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VouchersPaginatedResponse.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/WeddingDetails1.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/WeddingDetailsJson0.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/WeddingPartner.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/WeddingPartnerJson.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf9.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Errors/ErrorResponseJson12.cs delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Errors/ErrorResponseJson17.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Requests/ListEventVoucherAttendeesRequest.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Requests/ListEventVoucherAttendeesResponse.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Requests/ListEventVouchersPostFilterRequest.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Requests/ListEventVouchersPostFilterResponse.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Requests/ListEventVouchersRequest.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Requests/ListEventVouchersResponse.cs create mode 100644 packages/java/docs/models/components/Action.md create mode 100644 packages/java/docs/models/components/AdditionalChoice1.md create mode 100644 packages/java/docs/models/components/AdditionalChoiceJson.md delete mode 100644 packages/java/docs/models/components/AdditionalChoiceJson1.md delete mode 100644 packages/java/docs/models/components/AdditionalChoiceJson2.md create mode 100644 packages/java/docs/models/components/Address.md create mode 100644 packages/java/docs/models/components/Address1.md delete mode 100644 packages/java/docs/models/components/Address12.md delete mode 100644 packages/java/docs/models/components/Address2.md create mode 100644 packages/java/docs/models/components/Address4.md create mode 100644 packages/java/docs/models/components/Address5.md create mode 100644 packages/java/docs/models/components/Address6.md create mode 100644 packages/java/docs/models/components/AddressInput.md delete mode 100644 packages/java/docs/models/components/AddressJson0.md create mode 100644 packages/java/docs/models/components/AddressJson1.md delete mode 100644 packages/java/docs/models/components/AddressJson3.md delete mode 100644 packages/java/docs/models/components/AddressJson4.md delete mode 100644 packages/java/docs/models/components/AddressJson5.md delete mode 100644 packages/java/docs/models/components/AddressJsonInput.md delete mode 100644 packages/java/docs/models/components/AddressTypeJson1.md create mode 100644 packages/java/docs/models/components/AgendaItemSetup.md delete mode 100644 packages/java/docs/models/components/AgendaItemSetupJson.md create mode 100644 packages/java/docs/models/components/AgendaItemType.md delete mode 100644 packages/java/docs/models/components/AgendaItemTypeJson.md create mode 100644 packages/java/docs/models/components/AmenityType.md delete mode 100644 packages/java/docs/models/components/AmenityTypeJson.md create mode 100644 packages/java/docs/models/components/AssetLocation.md create mode 100644 packages/java/docs/models/components/AssetLocationInput.md delete mode 100644 packages/java/docs/models/components/AssetLocationJson.md delete mode 100644 packages/java/docs/models/components/AssetLocationJsonInput.md create mode 100644 packages/java/docs/models/components/AttachmentSource.md delete mode 100644 packages/java/docs/models/components/AttachmentSourceJson.md create mode 100644 packages/java/docs/models/components/Attendee.md delete mode 100644 packages/java/docs/models/components/Attendee1.md create mode 100644 packages/java/docs/models/components/Attendee13.md create mode 100644 packages/java/docs/models/components/Attendee1Event.md create mode 100644 packages/java/docs/models/components/Attendee1Lookup.md create mode 100644 packages/java/docs/models/components/AttendeeContactTypeInput.md delete mode 100644 packages/java/docs/models/components/AttendeeContactTypeJson.md delete mode 100644 packages/java/docs/models/components/AttendeeContactTypeJsonInput.md delete mode 100644 packages/java/docs/models/components/AttendeeEvent.md delete mode 100644 packages/java/docs/models/components/AttendeeLookup.md create mode 100644 packages/java/docs/models/components/AttendeesPaginatedResponse.md create mode 100644 packages/java/docs/models/components/AudioTrackStatus.md delete mode 100644 packages/java/docs/models/components/AudioTrackStatusJson.md create mode 100644 packages/java/docs/models/components/AudioTrackType.md delete mode 100644 packages/java/docs/models/components/AudioTrackTypeJson.md create mode 100644 packages/java/docs/models/components/AudioTrackVariant.md delete mode 100644 packages/java/docs/models/components/AudioTrackVariantJson.md create mode 100644 packages/java/docs/models/components/BidItemStatusType.md delete mode 100644 packages/java/docs/models/components/BidItemStatusTypeJson.md create mode 100644 packages/java/docs/models/components/BidStatusType.md delete mode 100644 packages/java/docs/models/components/BidStatusTypeJson.md create mode 100644 packages/java/docs/models/components/BidStayType.md delete mode 100644 packages/java/docs/models/components/BidStayTypeJson.md create mode 100644 packages/java/docs/models/components/BillingDetails1.md delete mode 100644 packages/java/docs/models/components/BillingDetailsJson0.md create mode 100644 packages/java/docs/models/components/BrideGroomType.md delete mode 100644 packages/java/docs/models/components/BrideGroomTypeJson0.md create mode 100644 packages/java/docs/models/components/BusinessType.md delete mode 100644 packages/java/docs/models/components/BusinessTypeJson.md create mode 100644 packages/java/docs/models/components/CancellationDetails.md delete mode 100644 packages/java/docs/models/components/CancellationDetailsJson.md create mode 100644 packages/java/docs/models/components/CancelledReason1.md delete mode 100644 packages/java/docs/models/components/CancelledReasonJson0.md create mode 100644 packages/java/docs/models/components/Category.md delete mode 100644 packages/java/docs/models/components/CategoryIdNameJson.md delete mode 100644 packages/java/docs/models/components/CategoryJson2.md create mode 100644 packages/java/docs/models/components/Choice1.md delete mode 100644 packages/java/docs/models/components/ChoiceJson.md create mode 100644 packages/java/docs/models/components/ChoiceJson1.md create mode 100644 packages/java/docs/models/components/ChoiceJson2Input.md delete mode 100644 packages/java/docs/models/components/ChoiceJson3.md delete mode 100644 packages/java/docs/models/components/ChoiceJson3Input.md create mode 100644 packages/java/docs/models/components/ChoiceSortOrder.md delete mode 100644 packages/java/docs/models/components/ChoiceSortOrderJson.md create mode 100644 packages/java/docs/models/components/CommentType.md delete mode 100644 packages/java/docs/models/components/CommentTypeJson.md delete mode 100644 packages/java/docs/models/components/ComplianceAction.md delete mode 100644 packages/java/docs/models/components/ComplianceComplianceScope.md delete mode 100644 packages/java/docs/models/components/ComplianceCreatedBy.md delete mode 100644 packages/java/docs/models/components/ComplianceJson.md delete mode 100644 packages/java/docs/models/components/ComplianceJsonAction.md delete mode 100644 packages/java/docs/models/components/ComplianceJsonComplianceScope.md delete mode 100644 packages/java/docs/models/components/ComplianceJsonCreatedBy.md create mode 100644 packages/java/docs/models/components/ComplianceScope.md create mode 100644 packages/java/docs/models/components/Contact1.md create mode 100644 packages/java/docs/models/components/Contact2.md delete mode 100644 packages/java/docs/models/components/ContactBulkItemJson.md delete mode 100644 packages/java/docs/models/components/ContactBulkItemJsonData.md create mode 100644 packages/java/docs/models/components/ContactBulkResponseItem.md create mode 100644 packages/java/docs/models/components/ContactBulkResponseItemData.md create mode 100644 packages/java/docs/models/components/ContactCreate.md create mode 100644 packages/java/docs/models/components/ContactCreateEvent.md delete mode 100644 packages/java/docs/models/components/ContactCreateRequestJson.md delete mode 100644 packages/java/docs/models/components/ContactCreateRequestJsonEvent.md create mode 100644 packages/java/docs/models/components/ContactGroupType.md delete mode 100644 packages/java/docs/models/components/ContactGroupTypeJson.md create mode 100644 packages/java/docs/models/components/ContactHistory.md delete mode 100644 packages/java/docs/models/components/ContactHistoryJson.md create mode 100644 packages/java/docs/models/components/ContactId.md delete mode 100644 packages/java/docs/models/components/ContactIdJson.md create mode 100644 packages/java/docs/models/components/ContactJson.md delete mode 100644 packages/java/docs/models/components/ContactJson0.md delete mode 100644 packages/java/docs/models/components/ContactJson1.md delete mode 100644 packages/java/docs/models/components/ContactJson2.md create mode 100644 packages/java/docs/models/components/ContactLinksInput.md delete mode 100644 packages/java/docs/models/components/ContactLinksJson.md delete mode 100644 packages/java/docs/models/components/ContactLinksJsonInput.md delete mode 100644 packages/java/docs/models/components/ContactLinksJsonLink.md create mode 100644 packages/java/docs/models/components/ContactMembership.md create mode 100644 packages/java/docs/models/components/ContactMergeField.md delete mode 100644 packages/java/docs/models/components/ContactMergeFieldJson.md create mode 100644 packages/java/docs/models/components/ContactMethods.md delete mode 100644 packages/java/docs/models/components/ContactMethodsJson.md create mode 100644 packages/java/docs/models/components/ContactObfuscationStatusType.md delete mode 100644 packages/java/docs/models/components/ContactObfuscationStatusTypeJson.md create mode 100644 packages/java/docs/models/components/ContactOptOut.md create mode 100644 packages/java/docs/models/components/ContactOptOutInput.md create mode 100644 packages/java/docs/models/components/ContactType.md delete mode 100644 packages/java/docs/models/components/ContactTypeJson1.md create mode 100644 packages/java/docs/models/components/CreatedBy.md delete mode 100644 packages/java/docs/models/components/CurrencyJson1.md create mode 100644 packages/java/docs/models/components/CurrencyJson2.md create mode 100644 packages/java/docs/models/components/CustomFieldAnswers.md create mode 100644 packages/java/docs/models/components/CustomFieldJson.md delete mode 100644 packages/java/docs/models/components/CustomFieldJson3.md delete mode 100644 packages/java/docs/models/components/CustomFieldJson3CustomFieldType.md create mode 100644 packages/java/docs/models/components/CustomFieldJsonCustomFieldType.md create mode 100644 packages/java/docs/models/components/CustomFieldTypeJson.md delete mode 100644 packages/java/docs/models/components/CustomFieldTypeJson1.md delete mode 100644 packages/java/docs/models/components/CustomQuestionAnswerJson0.md delete mode 100644 packages/java/docs/models/components/CustomQuestionAnswerJson0Question.md create mode 100644 packages/java/docs/models/components/DateAnswerFormat.md delete mode 100644 packages/java/docs/models/components/DateAnswerFormatJson.md create mode 100644 packages/java/docs/models/components/DatePattern1.md delete mode 100644 packages/java/docs/models/components/DatePatternJson0.md create mode 100644 packages/java/docs/models/components/DateRequirements1.md delete mode 100644 packages/java/docs/models/components/DateRequirementsJson0.md create mode 100644 packages/java/docs/models/components/DateTypeJson.md delete mode 100644 packages/java/docs/models/components/DateTypeJson1.md create mode 100644 packages/java/docs/models/components/Dates1.md delete mode 100644 packages/java/docs/models/components/DatesJson0.md create mode 100644 packages/java/docs/models/components/DayOfWeek.md delete mode 100644 packages/java/docs/models/components/DayOfWeekJson0.md create mode 100644 packages/java/docs/models/components/Device1.md delete mode 100644 packages/java/docs/models/components/DeviceJson.md create mode 100644 packages/java/docs/models/components/DeviceType.md delete mode 100644 packages/java/docs/models/components/DeviceTypeJson.md create mode 100644 packages/java/docs/models/components/DisplayType.md delete mode 100644 packages/java/docs/models/components/DisplayTypeJson.md create mode 100644 packages/java/docs/models/components/DistanceJson.md delete mode 100644 packages/java/docs/models/components/DistanceJson1.md create mode 100644 packages/java/docs/models/components/DistributionListInfo.md create mode 100644 packages/java/docs/models/components/DistributionListInfoInput.md delete mode 100644 packages/java/docs/models/components/DistributionListInfoJson.md delete mode 100644 packages/java/docs/models/components/DistributionListInfoJsonInput.md create mode 100644 packages/java/docs/models/components/DistributionListSecurityType.md delete mode 100644 packages/java/docs/models/components/DistributionListSecurityTypeJson.md create mode 100644 packages/java/docs/models/components/DistributionListStatus.md delete mode 100644 packages/java/docs/models/components/DistributionListStatusJson.md create mode 100644 packages/java/docs/models/components/DocumentType1.md delete mode 100644 packages/java/docs/models/components/DocumentTypeJson0.md create mode 100644 packages/java/docs/models/components/EmailTypeJson.md delete mode 100644 packages/java/docs/models/components/EmailTypeJson3.md create mode 100644 packages/java/docs/models/components/EncodingProfile.md delete mode 100644 packages/java/docs/models/components/EncodingProfileJson.md create mode 100644 packages/java/docs/models/components/Event12.md delete mode 100644 packages/java/docs/models/components/Event21.md create mode 100644 packages/java/docs/models/components/Event3.md delete mode 100644 packages/java/docs/models/components/EventAllOf.md create mode 100644 packages/java/docs/models/components/EventContactId.md delete mode 100644 packages/java/docs/models/components/EventContactIdJson.md create mode 100644 packages/java/docs/models/components/EventFormatType.md delete mode 100644 packages/java/docs/models/components/EventFormatTypeJson0.md create mode 100644 packages/java/docs/models/components/EventJson.md delete mode 100644 packages/java/docs/models/components/EventJson0.md delete mode 100644 packages/java/docs/models/components/EventJson2.md create mode 100644 packages/java/docs/models/components/EventJson3.md delete mode 100644 packages/java/docs/models/components/EventJson4.md create mode 100644 packages/java/docs/models/components/EventJson5.md delete mode 100644 packages/java/docs/models/components/EventJson8.md create mode 100644 packages/java/docs/models/components/EventLite.md delete mode 100644 packages/java/docs/models/components/EventLiteJson.md create mode 100644 packages/java/docs/models/components/EventOrganization1.md create mode 100644 packages/java/docs/models/components/EventType1.md create mode 100644 packages/java/docs/models/components/EventTypeJson.md delete mode 100644 packages/java/docs/models/components/EventTypeJson0.md delete mode 100644 packages/java/docs/models/components/EventTypeJson1.md create mode 100644 packages/java/docs/models/components/FairSeasonType.md delete mode 100644 packages/java/docs/models/components/FairSeasonTypeJson.md create mode 100644 packages/java/docs/models/components/Field.md delete mode 100644 packages/java/docs/models/components/FieldJson2.md create mode 100644 packages/java/docs/models/components/FieldType.md delete mode 100644 packages/java/docs/models/components/FieldTypeJson2.md create mode 100644 packages/java/docs/models/components/FormatType.md delete mode 100644 packages/java/docs/models/components/FormatTypeJson.md delete mode 100644 packages/java/docs/models/components/GenderJson.md create mode 100644 packages/java/docs/models/components/GuestRoomOccupancy.md delete mode 100644 packages/java/docs/models/components/GuestRoomOccupancyJson.md create mode 100644 packages/java/docs/models/components/GuestRoomOccupancyPerRoomType.md delete mode 100644 packages/java/docs/models/components/GuestRoomOccupancyPerRoomTypeJson.md create mode 100644 packages/java/docs/models/components/GuestRoomType.md delete mode 100644 packages/java/docs/models/components/GuestRoomTypeJson.md create mode 100644 packages/java/docs/models/components/HlsInputWithClips.md delete mode 100644 packages/java/docs/models/components/HlsInputWithClipsJson.md delete mode 100644 packages/java/docs/models/components/IdJson.md create mode 100644 packages/java/docs/models/components/IdOnlyEntity.md create mode 100644 packages/java/docs/models/components/Industry1.md delete mode 100644 packages/java/docs/models/components/IndustryJson0.md delete mode 100644 packages/java/docs/models/components/LeadSourceJson.md create mode 100644 packages/java/docs/models/components/LeadSourceSection.md delete mode 100644 packages/java/docs/models/components/LeadSourceSectionJson.md create mode 100644 packages/java/docs/models/components/ManagementLevelType1.md delete mode 100644 packages/java/docs/models/components/ManagementLevelTypeJson1.md create mode 100644 packages/java/docs/models/components/MeasurementUnit.md delete mode 100644 packages/java/docs/models/components/MeasurementUnitJson0.md delete mode 100644 packages/java/docs/models/components/MembershipJson.md create mode 100644 packages/java/docs/models/components/MessageRecipientResponse.md create mode 100644 packages/java/docs/models/components/MessageRecipientResponseAttendee.md delete mode 100644 packages/java/docs/models/components/MessageRecipientsResponseJson.md delete mode 100644 packages/java/docs/models/components/MessageRecipientsResponseJsonAttendee.md create mode 100644 packages/java/docs/models/components/NumericAnswerFormat.md delete mode 100644 packages/java/docs/models/components/NumericAnswerFormatJson.md create mode 100644 packages/java/docs/models/components/OfferingCostType1.md delete mode 100644 packages/java/docs/models/components/OfferingCostTypeJson0.md create mode 100644 packages/java/docs/models/components/One.md delete mode 100644 packages/java/docs/models/components/OneAllOf.md delete mode 100644 packages/java/docs/models/components/OneOneOf.md delete mode 100644 packages/java/docs/models/components/OptOutJson.md delete mode 100644 packages/java/docs/models/components/OptOutJsonInput.md create mode 100644 packages/java/docs/models/components/OptoutBy.md create mode 100644 packages/java/docs/models/components/Organization.md delete mode 100644 packages/java/docs/models/components/OrganizationJson.md create mode 100644 packages/java/docs/models/components/OrganizationType1.md delete mode 100644 packages/java/docs/models/components/OrganizationTypeJson0.md create mode 100644 packages/java/docs/models/components/PackagePricingPreference.md delete mode 100644 packages/java/docs/models/components/PackagePricingPreferenceJson.md delete mode 100644 packages/java/docs/models/components/PagingJson19.md create mode 100644 packages/java/docs/models/components/PagingJson2.md create mode 100644 packages/java/docs/models/components/PagingNoTotalCountJson.md delete mode 100644 packages/java/docs/models/components/PagingNoTotalCountJson2.md create mode 100644 packages/java/docs/models/components/Passport.md create mode 100644 packages/java/docs/models/components/PassportInput.md delete mode 100644 packages/java/docs/models/components/PassportJson.md delete mode 100644 packages/java/docs/models/components/PassportJsonInput.md create mode 100644 packages/java/docs/models/components/PolicyValueType.md delete mode 100644 packages/java/docs/models/components/PolicyValueTypeJson.md create mode 100644 packages/java/docs/models/components/ProgramItemLite.md delete mode 100644 packages/java/docs/models/components/ProgramItemLiteJson.md create mode 100644 packages/java/docs/models/components/ProposalStatusType.md delete mode 100644 packages/java/docs/models/components/ProposalStatusTypeJson.md create mode 100644 packages/java/docs/models/components/QuestionClassificationType.md delete mode 100644 packages/java/docs/models/components/QuestionClassificationTypeJson.md create mode 100644 packages/java/docs/models/components/QuestionJson.md delete mode 100644 packages/java/docs/models/components/QuestionJson3.md create mode 100644 packages/java/docs/models/components/QuestionResponseDataType.md delete mode 100644 packages/java/docs/models/components/QuestionResponseDataTypeJson.md create mode 100644 packages/java/docs/models/components/QuestionResponseFormat.md delete mode 100644 packages/java/docs/models/components/QuestionResponseFormatJson.md create mode 100644 packages/java/docs/models/components/QuestionResponseType.md delete mode 100644 packages/java/docs/models/components/QuestionResponseTypeJson.md create mode 100644 packages/java/docs/models/components/QuestionSection.md delete mode 100644 packages/java/docs/models/components/QuestionSectionJson.md create mode 100644 packages/java/docs/models/components/QuestionType.md delete mode 100644 packages/java/docs/models/components/QuestionTypeJson3.md delete mode 100644 packages/java/docs/models/components/QuestionWithProgramIdJson.md delete mode 100644 packages/java/docs/models/components/QuestionWithProgramIdJsonTravelProgram.md create mode 100644 packages/java/docs/models/components/RateLevelType.md delete mode 100644 packages/java/docs/models/components/RateLevelTypeJson.md create mode 100644 packages/java/docs/models/components/RateReviewStatusType.md delete mode 100644 packages/java/docs/models/components/RateReviewStatusTypeJson.md create mode 100644 packages/java/docs/models/components/RateType.md delete mode 100644 packages/java/docs/models/components/RateTypeJson.md create mode 100644 packages/java/docs/models/components/RebateType.md delete mode 100644 packages/java/docs/models/components/RebateTypeJson.md create mode 100644 packages/java/docs/models/components/RecipientInfo.md delete mode 100644 packages/java/docs/models/components/RecipientInfoJson0.md create mode 100644 packages/java/docs/models/components/RecipientType.md delete mode 100644 packages/java/docs/models/components/RecipientTypeJson0.md create mode 100644 packages/java/docs/models/components/RfpAgendaItem.md delete mode 100644 packages/java/docs/models/components/RfpAgendaItemJson.md create mode 100644 packages/java/docs/models/components/RfpAgendaItemSchedule.md delete mode 100644 packages/java/docs/models/components/RfpAgendaItemScheduleJson.md create mode 100644 packages/java/docs/models/components/RfpAgendaItemScheduleWithId.md delete mode 100644 packages/java/docs/models/components/RfpAgendaItemScheduleWithIdJson.md create mode 100644 packages/java/docs/models/components/RfpAttachment.md delete mode 100644 packages/java/docs/models/components/RfpAttachmentJson.md delete mode 100644 packages/java/docs/models/components/RfpAttachmentJsonSupplier.md create mode 100644 packages/java/docs/models/components/RfpAttachmentSupplier.md delete mode 100644 packages/java/docs/models/components/RfpCustomFieldJson.md create mode 100644 packages/java/docs/models/components/RfpDateMode.md delete mode 100644 packages/java/docs/models/components/RfpDateModeJson0.md create mode 100644 packages/java/docs/models/components/RfpEvent.md delete mode 100644 packages/java/docs/models/components/RfpEventJson.md delete mode 100644 packages/java/docs/models/components/RfpEventOrganizationJson.md create mode 100644 packages/java/docs/models/components/RfpIdJson.md delete mode 100644 packages/java/docs/models/components/RfpIdJson1.md create mode 100644 packages/java/docs/models/components/RfpInternalDocument.md delete mode 100644 packages/java/docs/models/components/RfpInternalDocumentJson0.md create mode 100644 packages/java/docs/models/components/RfpMeal.md delete mode 100644 packages/java/docs/models/components/RfpMealJson.md create mode 100644 packages/java/docs/models/components/RfpPastEvent.md delete mode 100644 packages/java/docs/models/components/RfpPastEventJson.md create mode 100644 packages/java/docs/models/components/RfpQuestion.md delete mode 100644 packages/java/docs/models/components/RfpQuestionJson.md create mode 100644 packages/java/docs/models/components/RfpRecipientLogEntry.md delete mode 100644 packages/java/docs/models/components/RfpRecipientLogEntryJson.md delete mode 100644 packages/java/docs/models/components/RfpRecipientLogEntryJsonMessage.md delete mode 100644 packages/java/docs/models/components/RfpRecipientLogEntryJsonSupplier.md create mode 100644 packages/java/docs/models/components/RfpRecipientLogEntryMessage.md create mode 100644 packages/java/docs/models/components/RfpRecipientLogEntrySupplier.md create mode 100644 packages/java/docs/models/components/RfpResponseReason.md delete mode 100644 packages/java/docs/models/components/RfpResponseReasonJson.md create mode 100644 packages/java/docs/models/components/RfpStatus1.md delete mode 100644 packages/java/docs/models/components/RfpStatusJson0.md create mode 100644 packages/java/docs/models/components/RfpSupplier.md delete mode 100644 packages/java/docs/models/components/RfpSupplierJson.md create mode 100644 packages/java/docs/models/components/RfpSupplierLeadSource.md create mode 100644 packages/java/docs/models/components/RfpType1.md delete mode 100644 packages/java/docs/models/components/RfpTypeJson0.md create mode 100644 packages/java/docs/models/components/RoomBedTypeJson.md delete mode 100644 packages/java/docs/models/components/RoomBedTypeJson1.md create mode 100644 packages/java/docs/models/components/RoomBlock.md create mode 100644 packages/java/docs/models/components/RoomBlockDetails.md delete mode 100644 packages/java/docs/models/components/RoomBlockDetailsJson.md delete mode 100644 packages/java/docs/models/components/RoomBlockJson.md create mode 100644 packages/java/docs/models/components/SessionLite.md delete mode 100644 packages/java/docs/models/components/SessionLiteJson.md create mode 100644 packages/java/docs/models/components/SessionSpeaker.md delete mode 100644 packages/java/docs/models/components/SessionSpeakerJson.md create mode 100644 packages/java/docs/models/components/Solution.md delete mode 100644 packages/java/docs/models/components/SolutionJson.md create mode 100644 packages/java/docs/models/components/SpaceArea.md delete mode 100644 packages/java/docs/models/components/SpaceAreaJson0.md delete mode 100644 packages/java/docs/models/components/SpeakerCategory.md create mode 100644 packages/java/docs/models/components/SpeakerCategory1.md create mode 100644 packages/java/docs/models/components/SpeakerCategory2.md create mode 100644 packages/java/docs/models/components/SpeakerLite1.md delete mode 100644 packages/java/docs/models/components/SpeakerLiteJson.md create mode 100644 packages/java/docs/models/components/StandardQuestion.md delete mode 100644 packages/java/docs/models/components/StandardQuestionJson.md create mode 100644 packages/java/docs/models/components/SupplierType.md delete mode 100644 packages/java/docs/models/components/SupplierTypeJson1.md create mode 100644 packages/java/docs/models/components/SurveyContactId.md delete mode 100644 packages/java/docs/models/components/SurveyContactIdJson.md create mode 100644 packages/java/docs/models/components/TargetType.md delete mode 100644 packages/java/docs/models/components/TargetTypeJson.md create mode 100644 packages/java/docs/models/components/TaxType.md delete mode 100644 packages/java/docs/models/components/TaxTypeJson.md create mode 100644 packages/java/docs/models/components/TextAnswerFormat.md delete mode 100644 packages/java/docs/models/components/TextAnswerFormatJson.md create mode 100644 packages/java/docs/models/components/TextField.md delete mode 100644 packages/java/docs/models/components/TextFieldJson1.md create mode 100644 packages/java/docs/models/components/ThumbnailStatus.md delete mode 100644 packages/java/docs/models/components/ThumbnailStatusJson.md create mode 100644 packages/java/docs/models/components/ThumbnailType.md delete mode 100644 packages/java/docs/models/components/ThumbnailTypeJson.md create mode 100644 packages/java/docs/models/components/TravelAccountType.md delete mode 100644 packages/java/docs/models/components/TravelAccountTypeJson.md delete mode 100644 packages/java/docs/models/components/TravelAmenityJson.md create mode 100644 packages/java/docs/models/components/TravelBidAmenity.md delete mode 100644 packages/java/docs/models/components/TravelBidAmenityJson.md create mode 100644 packages/java/docs/models/components/TravelBidComment.md delete mode 100644 packages/java/docs/models/components/TravelBidCommentJson.md create mode 100644 packages/java/docs/models/components/TravelBidDiscount.md delete mode 100644 packages/java/docs/models/components/TravelBidDiscountJson.md delete mode 100644 packages/java/docs/models/components/TravelBidDiscountJsonPropertyRoom.md create mode 100644 packages/java/docs/models/components/TravelBidDiscountPropertyRoom.md create mode 100644 packages/java/docs/models/components/TravelBidDisposition.md create mode 100644 packages/java/docs/models/components/TravelBidDispositionAcceptedRoom.md delete mode 100644 packages/java/docs/models/components/TravelBidDispositionAcceptedRoomJson.md delete mode 100644 packages/java/docs/models/components/TravelBidDispositionAcceptedRoomJsonPropertyRoom.md create mode 100644 packages/java/docs/models/components/TravelBidDispositionAcceptedRoomPropertyRoom.md delete mode 100644 packages/java/docs/models/components/TravelBidDispositionJson.md create mode 100644 packages/java/docs/models/components/TravelBidFairSeason.md delete mode 100644 packages/java/docs/models/components/TravelBidFairSeasonJson.md create mode 100644 packages/java/docs/models/components/TravelBidFairSeasonRate.md delete mode 100644 packages/java/docs/models/components/TravelBidFairSeasonRateJson.md delete mode 100644 packages/java/docs/models/components/TravelBidFairSeasonRateJsonPropertyRoom.md create mode 100644 packages/java/docs/models/components/TravelBidFairSeasonRatePropertyRoom.md create mode 100644 packages/java/docs/models/components/TravelBidPolicy.md delete mode 100644 packages/java/docs/models/components/TravelBidPolicyJson.md delete mode 100644 packages/java/docs/models/components/TravelBidRateJson.md create mode 100644 packages/java/docs/models/components/TravelBidRoom.md delete mode 100644 packages/java/docs/models/components/TravelBidRoomJson.md delete mode 100644 packages/java/docs/models/components/TravelBidRoomJsonPropertyRoom.md create mode 100644 packages/java/docs/models/components/TravelBidRoomPropertyRoom.md create mode 100644 packages/java/docs/models/components/TravelBidSeason.md delete mode 100644 packages/java/docs/models/components/TravelBidSeasonJson.md create mode 100644 packages/java/docs/models/components/TravelBidSeasonRate.md delete mode 100644 packages/java/docs/models/components/TravelBidSeasonRateJson.md delete mode 100644 packages/java/docs/models/components/TravelBidSeasonRateJsonPropertyRoom.md create mode 100644 packages/java/docs/models/components/TravelBidSeasonRatePropertyRoom.md create mode 100644 packages/java/docs/models/components/TravelBidTaxAndFee.md delete mode 100644 packages/java/docs/models/components/TravelBidTaxFeeJson.md delete mode 100644 packages/java/docs/models/components/TravelBidWeekendDayJson.md create mode 100644 packages/java/docs/models/components/TravelBidWeekendDays.md delete mode 100644 packages/java/docs/models/components/TravelBreakOutRoomJson.md delete mode 100644 packages/java/docs/models/components/TravelDayDelegateRateJson.md delete mode 100644 packages/java/docs/models/components/TravelGroupAndMeetingJson.md delete mode 100644 packages/java/docs/models/components/TravelMeetingRoomBasicInfoJson.md create mode 100644 packages/java/docs/models/components/TravelProgramFormatType.md delete mode 100644 packages/java/docs/models/components/TravelProgramFormatTypeJson.md create mode 100644 packages/java/docs/models/components/TravelProgramQuestion.md create mode 100644 packages/java/docs/models/components/TravelProgramQuestion1.md delete mode 100644 packages/java/docs/models/components/TravelProgramQuestionJson.md create mode 100644 packages/java/docs/models/components/TravelProgramQuestionTravelProgram.md create mode 100644 packages/java/docs/models/components/TravelProgramStatus.md delete mode 100644 packages/java/docs/models/components/TravelProgramStatusJson.md create mode 100644 packages/java/docs/models/components/TravelProgramStayType.md delete mode 100644 packages/java/docs/models/components/TravelProgramStayTypeJson.md create mode 100644 packages/java/docs/models/components/TravelProgramType.md delete mode 100644 packages/java/docs/models/components/TravelProgramTypeJson.md delete mode 100644 packages/java/docs/models/components/TravelProposalBid.md create mode 100644 packages/java/docs/models/components/TravelProposalBid1.md create mode 100644 packages/java/docs/models/components/TravelProposalBid2.md delete mode 100644 packages/java/docs/models/components/TravelProposalBidIdJson.md create mode 100644 packages/java/docs/models/components/TravelProposalBidRate.md create mode 100644 packages/java/docs/models/components/TravelProposalCustomQuestion.md create mode 100644 packages/java/docs/models/components/TravelProposalCustomQuestionQuestion.md create mode 100644 packages/java/docs/models/components/TravelProposalDisposition.md delete mode 100644 packages/java/docs/models/components/TravelProposalDispositionJson.md create mode 100644 packages/java/docs/models/components/TravelProposalGroupAndMeeting.md create mode 100644 packages/java/docs/models/components/TravelProposalGroupAndMeetingAmenity.md create mode 100644 packages/java/docs/models/components/TravelProposalGroupAndMeetingBreakOutRoom.md create mode 100644 packages/java/docs/models/components/TravelProposalGroupAndMeetingDayDelegateRate.md create mode 100644 packages/java/docs/models/components/TravelProposalGroupAndMeetingMeetingRoomBasicInformation.md create mode 100644 packages/java/docs/models/components/TravelProposalGroupAndMeetingRunOfHouseRate.md create mode 100644 packages/java/docs/models/components/TravelProposalGroupAndMeetingTaxAndServiceCharge.md delete mode 100644 packages/java/docs/models/components/TravelRunOfHouseRateJson.md delete mode 100644 packages/java/docs/models/components/TravelTaxAndServiceChargeJson.md create mode 100644 packages/java/docs/models/components/UnitPosition.md delete mode 100644 packages/java/docs/models/components/UnitPositionJson.md create mode 100644 packages/java/docs/models/components/UpdatedThroughNameProperty.md delete mode 100644 packages/java/docs/models/components/UpdatedThroughNamePropertyJson.md create mode 100644 packages/java/docs/models/components/Video1.md create mode 100644 packages/java/docs/models/components/VideoAssetID.md delete mode 100644 packages/java/docs/models/components/VideoAssetIdJson.md create mode 100644 packages/java/docs/models/components/VideoClip.md delete mode 100644 packages/java/docs/models/components/VideoClipJson.md create mode 100644 packages/java/docs/models/components/VideoError.md create mode 100644 packages/java/docs/models/components/VideoErrorCode.md delete mode 100644 packages/java/docs/models/components/VideoErrorCodeJson.md delete mode 100644 packages/java/docs/models/components/VideoErrorJson.md delete mode 100644 packages/java/docs/models/components/VideoJson.md create mode 100644 packages/java/docs/models/components/VideoRendition.md delete mode 100644 packages/java/docs/models/components/VideoRenditionJson.md delete mode 100644 packages/java/docs/models/components/VideoRenditionJsonLink.md create mode 100644 packages/java/docs/models/components/VideoRenditionLink.md create mode 100644 packages/java/docs/models/components/VideoRenditionType.md delete mode 100644 packages/java/docs/models/components/VideoRenditionTypeJson.md create mode 100644 packages/java/docs/models/components/VideoSource.md delete mode 100644 packages/java/docs/models/components/VideoSourceJson.md delete mode 100644 packages/java/docs/models/components/VideoSourceJsonStatus.md create mode 100644 packages/java/docs/models/components/VideoSourceStatus.md create mode 100644 packages/java/docs/models/components/VideoStatus.md delete mode 100644 packages/java/docs/models/components/VideoStatusJson.md create mode 100644 packages/java/docs/models/components/VideoTextTrackKind.md delete mode 100644 packages/java/docs/models/components/VideoTextTrackKindJson.md create mode 100644 packages/java/docs/models/components/VideoTextTrackStatus.md delete mode 100644 packages/java/docs/models/components/VideoTextTrackStatusJson.md create mode 100644 packages/java/docs/models/components/VideoThumbnail.md delete mode 100644 packages/java/docs/models/components/VideoThumbnailJson.md create mode 100644 packages/java/docs/models/components/VideoType.md delete mode 100644 packages/java/docs/models/components/VideoTypeJson.md create mode 100644 packages/java/docs/models/components/VideoView.md delete mode 100644 packages/java/docs/models/components/VideoViewJson.md create mode 100644 packages/java/docs/models/components/VideoWarning.md create mode 100644 packages/java/docs/models/components/VideoWarningCode.md delete mode 100644 packages/java/docs/models/components/VideoWarningCodeJson.md delete mode 100644 packages/java/docs/models/components/VideoWarningJson.md create mode 100644 packages/java/docs/models/components/ViewType1.md delete mode 100644 packages/java/docs/models/components/ViewTypeJson1.md create mode 100644 packages/java/docs/models/components/Voucher.md create mode 100644 packages/java/docs/models/components/VoucherCapacity.md create mode 100644 packages/java/docs/models/components/VouchersPaginatedResponse.md create mode 100644 packages/java/docs/models/components/WeddingDetails1.md delete mode 100644 packages/java/docs/models/components/WeddingDetailsJson0.md create mode 100644 packages/java/docs/models/components/WeddingPartner.md delete mode 100644 packages/java/docs/models/components/WeddingPartnerJson.md delete mode 100644 packages/java/docs/models/components/ZeroAllOf9.md create mode 100644 packages/java/docs/models/errors/ErrorResponseJson12.md delete mode 100644 packages/java/docs/models/errors/ErrorResponseJson17.md create mode 100644 packages/java/docs/models/operations/ListEventVoucherAttendeesRequest.md create mode 100644 packages/java/docs/models/operations/ListEventVoucherAttendeesResponse.md create mode 100644 packages/java/docs/models/operations/ListEventVouchersPostFilterRequest.md create mode 100644 packages/java/docs/models/operations/ListEventVouchersPostFilterResponse.md create mode 100644 packages/java/docs/models/operations/ListEventVouchersRequest.md create mode 100644 packages/java/docs/models/operations/ListEventVouchersResponse.md create mode 100644 packages/java/src/main/java/com/cvent/models/components/Action.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/AdditionalChoice1.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/AdditionalChoiceJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/AdditionalChoiceJson1.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/AdditionalChoiceJson2.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/Address.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/Address1.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/Address12.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/Address2.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/Address4.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/Address5.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/Address6.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/AddressInput.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/AddressJson0.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/AddressJson1.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/AddressJson3.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/AddressJson4.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/AddressJson5.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/AddressJsonInput.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/AddressTypeJson1.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/AgendaItemSetup.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/AgendaItemSetupJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/AgendaItemType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/AgendaItemTypeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/AmenityType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/AmenityTypeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/AssetLocation.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/AssetLocationInput.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/AssetLocationJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/AssetLocationJsonInput.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/AttachmentSource.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/AttachmentSourceJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/Attendee.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/Attendee1.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/Attendee13.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/Attendee1Event.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/Attendee1Lookup.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/AttendeeContactTypeInput.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/AttendeeContactTypeJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/AttendeeContactTypeJsonInput.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/AttendeeEvent.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/AttendeeLookup.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/AttendeesPaginatedResponse.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/AudioTrackStatus.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/AudioTrackStatusJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/AudioTrackType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/AudioTrackTypeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/AudioTrackVariant.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/AudioTrackVariantJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/BidItemStatusType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/BidItemStatusTypeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/BidStatusType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/BidStatusTypeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/BidStayType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/BidStayTypeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/BillingDetails1.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/BillingDetailsJson0.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/BrideGroomType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/BrideGroomTypeJson0.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/BusinessType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/BusinessTypeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/CancellationDetails.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/CancellationDetailsJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/CancelledReason1.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/CancelledReasonJson0.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/Category.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/CategoryIdNameJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/CategoryJson2.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/Choice1.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ChoiceJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/ChoiceJson1.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/ChoiceJson2Input.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ChoiceJson3.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ChoiceJson3Input.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/ChoiceSortOrder.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ChoiceSortOrderJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/CommentType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/CommentTypeJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ComplianceAction.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ComplianceComplianceScope.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ComplianceCreatedBy.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ComplianceJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ComplianceJsonAction.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ComplianceJsonComplianceScope.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ComplianceJsonCreatedBy.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/ComplianceScope.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/Contact1.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/Contact2.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactBulkItemJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactBulkItemJsonData.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactBulkResponseItem.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactBulkResponseItemData.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactCreate.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactCreateEvent.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactCreateRequestJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactCreateRequestJsonEvent.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactGroupType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactGroupTypeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactHistory.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactHistoryJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactId.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactIdJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactJson0.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactJson1.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactJson2.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactLinksInput.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactLinksJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactLinksJsonInput.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactLinksJsonLink.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactMembership.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactMergeField.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactMergeFieldJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactMethods.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactMethodsJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactObfuscationStatusType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactObfuscationStatusTypeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactOptOut.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactOptOutInput.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactTypeJson1.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/CreatedBy.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/CurrencyJson1.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/CurrencyJson2.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/CustomFieldAnswers.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/CustomFieldJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/CustomFieldJson3.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/CustomFieldJson3CustomFieldType.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/CustomFieldJsonCustomFieldType.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/CustomFieldTypeJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/CustomFieldTypeJson1.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/CustomQuestionAnswerJson0.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/CustomQuestionAnswerJson0Question.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/DateAnswerFormat.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/DateAnswerFormatJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/DatePattern1.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/DatePatternJson0.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/DateRequirements1.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/DateRequirementsJson0.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/DateTypeJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/DateTypeJson1.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/Dates1.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/DatesJson0.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/DayOfWeek.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/DayOfWeekJson0.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/Device1.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/DeviceJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/DeviceType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/DeviceTypeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/DisplayType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/DisplayTypeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/DistanceJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/DistanceJson1.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/DistributionListInfo.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/DistributionListInfoInput.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/DistributionListInfoJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/DistributionListInfoJsonInput.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/DistributionListSecurityType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/DistributionListSecurityTypeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/DistributionListStatus.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/DistributionListStatusJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/DocumentType1.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/DocumentTypeJson0.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/EmailTypeJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/EmailTypeJson3.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/EncodingProfile.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/EncodingProfileJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/Event12.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/Event21.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/Event3.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/EventAllOf.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/EventContactId.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/EventContactIdJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/EventFormatType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/EventFormatTypeJson0.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/EventJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/EventJson0.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/EventJson2.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/EventJson3.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/EventJson4.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/EventJson5.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/EventJson8.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/EventLite.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/EventLiteJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/EventOrganization1.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/EventType1.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/EventTypeJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/EventTypeJson0.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/EventTypeJson1.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/FairSeasonType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/FairSeasonTypeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/Field.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/FieldJson2.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/FieldType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/FieldTypeJson2.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/FormatType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/FormatTypeJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/GenderJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/GuestRoomOccupancy.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/GuestRoomOccupancyJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/GuestRoomOccupancyPerRoomType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/GuestRoomOccupancyPerRoomTypeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/GuestRoomType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/GuestRoomTypeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/HlsInputWithClips.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/HlsInputWithClipsJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/IdJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/IdOnlyEntity.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/Industry1.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/IndustryJson0.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/LeadSourceJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/LeadSourceSection.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/LeadSourceSectionJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/ManagementLevelType1.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ManagementLevelTypeJson1.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/MeasurementUnit.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/MeasurementUnitJson0.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/MembershipJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/MessageRecipientResponse.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/MessageRecipientResponseAttendee.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/MessageRecipientsResponseJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/MessageRecipientsResponseJsonAttendee.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/NumericAnswerFormat.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/NumericAnswerFormatJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/OfferingCostType1.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/OfferingCostTypeJson0.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/One.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/OneAllOf.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/OneOneOf.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/OptOutJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/OptOutJsonInput.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/OptoutBy.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/Organization.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/OrganizationJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/OrganizationType1.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/OrganizationTypeJson0.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/PackagePricingPreference.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/PackagePricingPreferenceJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/PagingJson19.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/PagingJson2.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/PagingNoTotalCountJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/PagingNoTotalCountJson2.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/Passport.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/PassportInput.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/PassportJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/PassportJsonInput.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/PolicyValueType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/PolicyValueTypeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/ProgramItemLite.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ProgramItemLiteJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/ProposalStatusType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ProposalStatusTypeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/QuestionClassificationType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/QuestionClassificationTypeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/QuestionJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/QuestionJson3.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/QuestionResponseDataType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/QuestionResponseDataTypeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/QuestionResponseFormat.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/QuestionResponseFormatJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/QuestionResponseType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/QuestionResponseTypeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/QuestionSection.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/QuestionSectionJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/QuestionType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/QuestionTypeJson3.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/QuestionWithProgramIdJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/QuestionWithProgramIdJsonTravelProgram.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/RateLevelType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/RateLevelTypeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/RateReviewStatusType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/RateReviewStatusTypeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/RateType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/RateTypeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/RebateType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/RebateTypeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/RecipientInfo.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/RecipientInfoJson0.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/RecipientType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/RecipientTypeJson0.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpAgendaItem.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpAgendaItemJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpAgendaItemSchedule.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpAgendaItemScheduleJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpAgendaItemScheduleWithId.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpAgendaItemScheduleWithIdJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpAttachment.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpAttachmentJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpAttachmentJsonSupplier.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpAttachmentSupplier.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpCustomFieldJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpDateMode.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpDateModeJson0.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpEvent.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpEventJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpEventOrganizationJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpIdJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpIdJson1.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpInternalDocument.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpInternalDocumentJson0.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpMeal.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpMealJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpPastEvent.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpPastEventJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpQuestion.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpQuestionJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpRecipientLogEntry.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpRecipientLogEntryJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpRecipientLogEntryJsonMessage.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpRecipientLogEntryJsonSupplier.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpRecipientLogEntryMessage.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpRecipientLogEntrySupplier.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpResponseReason.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpResponseReasonJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpStatus1.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpStatusJson0.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpSupplier.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpSupplierJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpSupplierLeadSource.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpType1.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/RfpTypeJson0.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/RoomBedTypeJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/RoomBedTypeJson1.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/RoomBlock.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/RoomBlockDetails.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/RoomBlockDetailsJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/RoomBlockJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/SessionLite.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/SessionLiteJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/SessionSpeaker.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/SessionSpeakerJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/Solution.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/SolutionJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/SpaceArea.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/SpaceAreaJson0.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/SpeakerCategory.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/SpeakerCategory1.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/SpeakerCategory2.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/SpeakerLite1.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/SpeakerLiteJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/StandardQuestion.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/StandardQuestionJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/SupplierType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/SupplierTypeJson1.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/SurveyContactId.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/SurveyContactIdJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TargetType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TargetTypeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TaxType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TaxTypeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TextAnswerFormat.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TextAnswerFormatJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TextField.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TextFieldJson1.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/ThumbnailStatus.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ThumbnailStatusJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/ThumbnailType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ThumbnailTypeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelAccountType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelAccountTypeJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelAmenityJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidAmenity.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidAmenityJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidComment.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidCommentJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidDiscount.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidDiscountJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidDiscountJsonPropertyRoom.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidDiscountPropertyRoom.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidDisposition.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidDispositionAcceptedRoom.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidDispositionAcceptedRoomJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidDispositionAcceptedRoomJsonPropertyRoom.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidDispositionAcceptedRoomPropertyRoom.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidDispositionJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeason.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeasonJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeasonRate.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeasonRateJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeasonRateJsonPropertyRoom.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeasonRatePropertyRoom.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidPolicy.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidPolicyJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidRateJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidRoom.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidRoomJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidRoomJsonPropertyRoom.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidRoomPropertyRoom.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidSeason.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidSeasonJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidSeasonRate.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidSeasonRateJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidSeasonRateJsonPropertyRoom.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidSeasonRatePropertyRoom.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidTaxAndFee.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidTaxFeeJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidWeekendDayJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBidWeekendDays.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelBreakOutRoomJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelDayDelegateRateJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelGroupAndMeetingJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelMeetingRoomBasicInfoJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelProgramFormatType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelProgramFormatTypeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelProgramQuestion.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelProgramQuestion1.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelProgramQuestionJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelProgramQuestionTravelProgram.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelProgramStatus.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelProgramStatusJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelProgramStayType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelProgramStayTypeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelProgramType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelProgramTypeJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelProposalBid.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelProposalBid1.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelProposalBid2.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelProposalBidIdJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelProposalBidRate.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelProposalCustomQuestion.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelProposalCustomQuestionQuestion.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelProposalDisposition.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelProposalDispositionJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelProposalGroupAndMeeting.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelProposalGroupAndMeetingAmenity.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelProposalGroupAndMeetingBreakOutRoom.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelProposalGroupAndMeetingDayDelegateRate.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelProposalGroupAndMeetingMeetingRoomBasicInformation.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelProposalGroupAndMeetingRunOfHouseRate.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelProposalGroupAndMeetingTaxAndServiceCharge.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelRunOfHouseRateJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelTaxAndServiceChargeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/UnitPosition.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/UnitPositionJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/UpdatedThroughNameProperty.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/UpdatedThroughNamePropertyJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/Video1.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoAssetID.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoAssetIdJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoClip.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoClipJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoError.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoErrorCode.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoErrorCodeJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoErrorJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoRendition.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoRenditionJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoRenditionJsonLink.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoRenditionLink.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoRenditionType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoRenditionTypeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoSource.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoSourceJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoSourceJsonStatus.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoSourceStatus.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoStatus.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoStatusJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoTextTrackKind.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoTextTrackKindJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoTextTrackStatus.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoTextTrackStatusJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoThumbnail.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoThumbnailJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoType.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoTypeJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoView.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoViewJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoWarning.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoWarningCode.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoWarningCodeJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/VideoWarningJson.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/ViewType1.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ViewTypeJson1.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/Voucher.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VoucherCapacity.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VouchersPaginatedResponse.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/WeddingDetails1.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/WeddingDetailsJson0.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/WeddingPartner.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/WeddingPartnerJson.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ZeroAllOf9.java create mode 100644 packages/java/src/main/java/com/cvent/models/errors/ErrorResponseJson12.java delete mode 100644 packages/java/src/main/java/com/cvent/models/errors/ErrorResponseJson17.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/ListEventVoucherAttendeesRequest.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/ListEventVoucherAttendeesRequestBuilder.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/ListEventVoucherAttendeesResponse.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/ListEventVouchersPostFilterRequest.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/ListEventVouchersPostFilterRequestBuilder.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/ListEventVouchersPostFilterResponse.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/ListEventVouchersRequest.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/ListEventVouchersRequestBuilder.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/ListEventVouchersResponse.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/async/ListEventVoucherAttendeesRequestBuilder.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/async/ListEventVoucherAttendeesResponse.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/async/ListEventVouchersPostFilterRequestBuilder.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/async/ListEventVouchersPostFilterResponse.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/async/ListEventVouchersRequestBuilder.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/async/ListEventVouchersResponse.java create mode 100644 packages/java/src/main/java/com/cvent/operations/ListEventVoucherAttendees.java create mode 100644 packages/java/src/main/java/com/cvent/operations/ListEventVouchers.java create mode 100644 packages/java/src/main/java/com/cvent/operations/ListEventVouchersPostFilter.java create mode 100644 packages/typescript/docs/models/components/action.md create mode 100644 packages/typescript/docs/models/components/additionalchoice1.md create mode 100644 packages/typescript/docs/models/components/additionalchoicejson.md delete mode 100644 packages/typescript/docs/models/components/additionalchoicejson1.md delete mode 100644 packages/typescript/docs/models/components/additionalchoicejson2.md create mode 100644 packages/typescript/docs/models/components/address.md create mode 100644 packages/typescript/docs/models/components/address1.md delete mode 100644 packages/typescript/docs/models/components/address12.md delete mode 100644 packages/typescript/docs/models/components/address2.md create mode 100644 packages/typescript/docs/models/components/address4.md create mode 100644 packages/typescript/docs/models/components/address5.md create mode 100644 packages/typescript/docs/models/components/address6.md create mode 100644 packages/typescript/docs/models/components/addressinput.md delete mode 100644 packages/typescript/docs/models/components/addressjson0.md create mode 100644 packages/typescript/docs/models/components/addressjson1.md delete mode 100644 packages/typescript/docs/models/components/addressjson3.md delete mode 100644 packages/typescript/docs/models/components/addressjson4.md delete mode 100644 packages/typescript/docs/models/components/addressjson5.md delete mode 100644 packages/typescript/docs/models/components/addressjsoninput.md delete mode 100644 packages/typescript/docs/models/components/addresstypejson1.md create mode 100644 packages/typescript/docs/models/components/agendaitemsetup.md delete mode 100644 packages/typescript/docs/models/components/agendaitemsetupjson.md create mode 100644 packages/typescript/docs/models/components/agendaitemtype.md delete mode 100644 packages/typescript/docs/models/components/agendaitemtypejson.md create mode 100644 packages/typescript/docs/models/components/amenitytype.md delete mode 100644 packages/typescript/docs/models/components/amenitytypejson.md create mode 100644 packages/typescript/docs/models/components/assetlocation.md create mode 100644 packages/typescript/docs/models/components/assetlocationinput.md delete mode 100644 packages/typescript/docs/models/components/assetlocationjson.md delete mode 100644 packages/typescript/docs/models/components/assetlocationjsoninput.md create mode 100644 packages/typescript/docs/models/components/attachmentsource.md delete mode 100644 packages/typescript/docs/models/components/attachmentsourcejson.md create mode 100644 packages/typescript/docs/models/components/attendee.md delete mode 100644 packages/typescript/docs/models/components/attendee1.md create mode 100644 packages/typescript/docs/models/components/attendee13.md create mode 100644 packages/typescript/docs/models/components/attendee1event.md create mode 100644 packages/typescript/docs/models/components/attendee1lookup.md create mode 100644 packages/typescript/docs/models/components/attendeecontacttypeinput.md delete mode 100644 packages/typescript/docs/models/components/attendeecontacttypejson.md delete mode 100644 packages/typescript/docs/models/components/attendeecontacttypejsoninput.md delete mode 100644 packages/typescript/docs/models/components/attendeeevent.md delete mode 100644 packages/typescript/docs/models/components/attendeelookup.md create mode 100644 packages/typescript/docs/models/components/attendeespaginatedresponse.md create mode 100644 packages/typescript/docs/models/components/audiotrackstatus.md delete mode 100644 packages/typescript/docs/models/components/audiotrackstatusjson.md create mode 100644 packages/typescript/docs/models/components/audiotracktype.md delete mode 100644 packages/typescript/docs/models/components/audiotracktypejson.md create mode 100644 packages/typescript/docs/models/components/audiotrackvariant.md delete mode 100644 packages/typescript/docs/models/components/audiotrackvariantjson.md create mode 100644 packages/typescript/docs/models/components/biditemstatustype.md delete mode 100644 packages/typescript/docs/models/components/biditemstatustypejson.md create mode 100644 packages/typescript/docs/models/components/bidstatustype.md delete mode 100644 packages/typescript/docs/models/components/bidstatustypejson.md create mode 100644 packages/typescript/docs/models/components/bidstaytype.md delete mode 100644 packages/typescript/docs/models/components/bidstaytypejson.md create mode 100644 packages/typescript/docs/models/components/billingdetails1.md delete mode 100644 packages/typescript/docs/models/components/billingdetailsjson0.md create mode 100644 packages/typescript/docs/models/components/bridegroomtype.md delete mode 100644 packages/typescript/docs/models/components/bridegroomtypejson0.md create mode 100644 packages/typescript/docs/models/components/businesstype.md delete mode 100644 packages/typescript/docs/models/components/businesstypejson.md create mode 100644 packages/typescript/docs/models/components/cancellationdetails.md delete mode 100644 packages/typescript/docs/models/components/cancellationdetailsjson.md create mode 100644 packages/typescript/docs/models/components/cancelledreason1.md delete mode 100644 packages/typescript/docs/models/components/cancelledreasonjson0.md create mode 100644 packages/typescript/docs/models/components/category.md delete mode 100644 packages/typescript/docs/models/components/categoryidnamejson.md delete mode 100644 packages/typescript/docs/models/components/categoryjson2.md create mode 100644 packages/typescript/docs/models/components/choice1.md delete mode 100644 packages/typescript/docs/models/components/choicejson.md create mode 100644 packages/typescript/docs/models/components/choicejson1.md create mode 100644 packages/typescript/docs/models/components/choicejson2input.md delete mode 100644 packages/typescript/docs/models/components/choicejson3.md delete mode 100644 packages/typescript/docs/models/components/choicejson3input.md create mode 100644 packages/typescript/docs/models/components/choicesortorder.md delete mode 100644 packages/typescript/docs/models/components/choicesortorderjson.md create mode 100644 packages/typescript/docs/models/components/commenttype.md delete mode 100644 packages/typescript/docs/models/components/commenttypejson.md delete mode 100644 packages/typescript/docs/models/components/complianceaction.md delete mode 100644 packages/typescript/docs/models/components/compliancecompliancescope.md delete mode 100644 packages/typescript/docs/models/components/compliancecreatedby.md delete mode 100644 packages/typescript/docs/models/components/compliancejson.md delete mode 100644 packages/typescript/docs/models/components/compliancejsonaction.md delete mode 100644 packages/typescript/docs/models/components/compliancejsoncompliancescope.md delete mode 100644 packages/typescript/docs/models/components/compliancejsoncreatedby.md create mode 100644 packages/typescript/docs/models/components/compliancescope.md create mode 100644 packages/typescript/docs/models/components/contact1.md create mode 100644 packages/typescript/docs/models/components/contact2.md delete mode 100644 packages/typescript/docs/models/components/contactbulkitemjson.md delete mode 100644 packages/typescript/docs/models/components/contactbulkitemjsondata.md create mode 100644 packages/typescript/docs/models/components/contactbulkresponseitem.md create mode 100644 packages/typescript/docs/models/components/contactbulkresponseitemdata.md create mode 100644 packages/typescript/docs/models/components/contactcreate.md create mode 100644 packages/typescript/docs/models/components/contactcreateevent.md delete mode 100644 packages/typescript/docs/models/components/contactcreaterequestjson.md delete mode 100644 packages/typescript/docs/models/components/contactcreaterequestjsonevent.md create mode 100644 packages/typescript/docs/models/components/contactgrouptype.md delete mode 100644 packages/typescript/docs/models/components/contactgrouptypejson.md create mode 100644 packages/typescript/docs/models/components/contacthistory.md delete mode 100644 packages/typescript/docs/models/components/contacthistoryjson.md create mode 100644 packages/typescript/docs/models/components/contactid.md delete mode 100644 packages/typescript/docs/models/components/contactidjson.md create mode 100644 packages/typescript/docs/models/components/contactjson.md delete mode 100644 packages/typescript/docs/models/components/contactjson0.md delete mode 100644 packages/typescript/docs/models/components/contactjson1.md delete mode 100644 packages/typescript/docs/models/components/contactjson2.md create mode 100644 packages/typescript/docs/models/components/contactlinksinput.md delete mode 100644 packages/typescript/docs/models/components/contactlinksjson.md delete mode 100644 packages/typescript/docs/models/components/contactlinksjsoninput.md delete mode 100644 packages/typescript/docs/models/components/contactlinksjsonlink.md create mode 100644 packages/typescript/docs/models/components/contactmembership.md create mode 100644 packages/typescript/docs/models/components/contactmergefield.md delete mode 100644 packages/typescript/docs/models/components/contactmergefieldjson.md create mode 100644 packages/typescript/docs/models/components/contactmethods.md delete mode 100644 packages/typescript/docs/models/components/contactmethodsjson.md create mode 100644 packages/typescript/docs/models/components/contactobfuscationstatustype.md delete mode 100644 packages/typescript/docs/models/components/contactobfuscationstatustypejson.md create mode 100644 packages/typescript/docs/models/components/contactoptout.md create mode 100644 packages/typescript/docs/models/components/contactoptoutinput.md create mode 100644 packages/typescript/docs/models/components/contacttype.md delete mode 100644 packages/typescript/docs/models/components/contacttypejson1.md create mode 100644 packages/typescript/docs/models/components/createdby.md delete mode 100644 packages/typescript/docs/models/components/currencyjson1.md create mode 100644 packages/typescript/docs/models/components/currencyjson2.md create mode 100644 packages/typescript/docs/models/components/customfieldanswers.md create mode 100644 packages/typescript/docs/models/components/customfieldjson.md delete mode 100644 packages/typescript/docs/models/components/customfieldjson3.md delete mode 100644 packages/typescript/docs/models/components/customfieldjson3customfieldtype.md create mode 100644 packages/typescript/docs/models/components/customfieldjsoncustomfieldtype.md create mode 100644 packages/typescript/docs/models/components/customfieldtypejson.md delete mode 100644 packages/typescript/docs/models/components/customfieldtypejson1.md delete mode 100644 packages/typescript/docs/models/components/customquestionanswerjson0.md delete mode 100644 packages/typescript/docs/models/components/customquestionanswerjson0question.md create mode 100644 packages/typescript/docs/models/components/dateanswerformat.md delete mode 100644 packages/typescript/docs/models/components/dateanswerformatjson.md create mode 100644 packages/typescript/docs/models/components/datepattern1.md delete mode 100644 packages/typescript/docs/models/components/datepatternjson0.md create mode 100644 packages/typescript/docs/models/components/daterequirements1.md delete mode 100644 packages/typescript/docs/models/components/daterequirementsjson0.md create mode 100644 packages/typescript/docs/models/components/dates1.md delete mode 100644 packages/typescript/docs/models/components/datesjson0.md create mode 100644 packages/typescript/docs/models/components/datetypejson.md delete mode 100644 packages/typescript/docs/models/components/datetypejson1.md create mode 100644 packages/typescript/docs/models/components/dayofweek.md delete mode 100644 packages/typescript/docs/models/components/dayofweekjson0.md create mode 100644 packages/typescript/docs/models/components/device1.md delete mode 100644 packages/typescript/docs/models/components/devicejson.md create mode 100644 packages/typescript/docs/models/components/devicetype.md delete mode 100644 packages/typescript/docs/models/components/devicetypejson.md create mode 100644 packages/typescript/docs/models/components/displaytype.md delete mode 100644 packages/typescript/docs/models/components/displaytypejson.md create mode 100644 packages/typescript/docs/models/components/distancejson.md delete mode 100644 packages/typescript/docs/models/components/distancejson1.md create mode 100644 packages/typescript/docs/models/components/distributionlistinfo.md create mode 100644 packages/typescript/docs/models/components/distributionlistinfoinput.md delete mode 100644 packages/typescript/docs/models/components/distributionlistinfojson.md delete mode 100644 packages/typescript/docs/models/components/distributionlistinfojsoninput.md create mode 100644 packages/typescript/docs/models/components/distributionlistsecuritytype.md delete mode 100644 packages/typescript/docs/models/components/distributionlistsecuritytypejson.md create mode 100644 packages/typescript/docs/models/components/distributionliststatus.md delete mode 100644 packages/typescript/docs/models/components/distributionliststatusjson.md create mode 100644 packages/typescript/docs/models/components/documenttype1.md delete mode 100644 packages/typescript/docs/models/components/documenttypejson0.md create mode 100644 packages/typescript/docs/models/components/emailtypejson.md delete mode 100644 packages/typescript/docs/models/components/emailtypejson3.md create mode 100644 packages/typescript/docs/models/components/encodingprofile.md delete mode 100644 packages/typescript/docs/models/components/encodingprofilejson.md create mode 100644 packages/typescript/docs/models/components/event12.md delete mode 100644 packages/typescript/docs/models/components/event21.md create mode 100644 packages/typescript/docs/models/components/event3.md delete mode 100644 packages/typescript/docs/models/components/eventallof.md create mode 100644 packages/typescript/docs/models/components/eventcontactid.md delete mode 100644 packages/typescript/docs/models/components/eventcontactidjson.md create mode 100644 packages/typescript/docs/models/components/eventformattype.md delete mode 100644 packages/typescript/docs/models/components/eventformattypejson0.md create mode 100644 packages/typescript/docs/models/components/eventjson.md delete mode 100644 packages/typescript/docs/models/components/eventjson0.md delete mode 100644 packages/typescript/docs/models/components/eventjson2.md create mode 100644 packages/typescript/docs/models/components/eventjson3.md delete mode 100644 packages/typescript/docs/models/components/eventjson4.md create mode 100644 packages/typescript/docs/models/components/eventjson5.md delete mode 100644 packages/typescript/docs/models/components/eventjson8.md create mode 100644 packages/typescript/docs/models/components/eventlite.md delete mode 100644 packages/typescript/docs/models/components/eventlitejson.md create mode 100644 packages/typescript/docs/models/components/eventorganization1.md create mode 100644 packages/typescript/docs/models/components/eventtype1.md create mode 100644 packages/typescript/docs/models/components/eventtypejson.md delete mode 100644 packages/typescript/docs/models/components/eventtypejson0.md delete mode 100644 packages/typescript/docs/models/components/eventtypejson1.md create mode 100644 packages/typescript/docs/models/components/fairseasontype.md delete mode 100644 packages/typescript/docs/models/components/fairseasontypejson.md create mode 100644 packages/typescript/docs/models/components/field.md delete mode 100644 packages/typescript/docs/models/components/fieldjson2.md create mode 100644 packages/typescript/docs/models/components/fieldtype.md delete mode 100644 packages/typescript/docs/models/components/fieldtypejson2.md create mode 100644 packages/typescript/docs/models/components/formattype.md delete mode 100644 packages/typescript/docs/models/components/formattypejson.md delete mode 100644 packages/typescript/docs/models/components/genderjson.md create mode 100644 packages/typescript/docs/models/components/guestroomoccupancy.md delete mode 100644 packages/typescript/docs/models/components/guestroomoccupancyjson.md create mode 100644 packages/typescript/docs/models/components/guestroomoccupancyperroomtype.md delete mode 100644 packages/typescript/docs/models/components/guestroomoccupancyperroomtypejson.md create mode 100644 packages/typescript/docs/models/components/guestroomtype.md delete mode 100644 packages/typescript/docs/models/components/guestroomtypejson.md create mode 100644 packages/typescript/docs/models/components/hlsinputwithclips.md delete mode 100644 packages/typescript/docs/models/components/hlsinputwithclipsjson.md delete mode 100644 packages/typescript/docs/models/components/idjson.md create mode 100644 packages/typescript/docs/models/components/idonlyentity.md create mode 100644 packages/typescript/docs/models/components/industry1.md delete mode 100644 packages/typescript/docs/models/components/industryjson0.md delete mode 100644 packages/typescript/docs/models/components/leadsourcejson.md create mode 100644 packages/typescript/docs/models/components/leadsourcesection.md delete mode 100644 packages/typescript/docs/models/components/leadsourcesectionjson.md create mode 100644 packages/typescript/docs/models/components/managementleveltype1.md delete mode 100644 packages/typescript/docs/models/components/managementleveltypejson1.md create mode 100644 packages/typescript/docs/models/components/measurementunit.md delete mode 100644 packages/typescript/docs/models/components/measurementunitjson0.md delete mode 100644 packages/typescript/docs/models/components/membershipjson.md create mode 100644 packages/typescript/docs/models/components/messagerecipientresponse.md create mode 100644 packages/typescript/docs/models/components/messagerecipientresponseattendee.md delete mode 100644 packages/typescript/docs/models/components/messagerecipientsresponsejson.md delete mode 100644 packages/typescript/docs/models/components/messagerecipientsresponsejsonattendee.md create mode 100644 packages/typescript/docs/models/components/numericanswerformat.md delete mode 100644 packages/typescript/docs/models/components/numericanswerformatjson.md create mode 100644 packages/typescript/docs/models/components/offeringcosttype1.md delete mode 100644 packages/typescript/docs/models/components/offeringcosttypejson0.md create mode 100644 packages/typescript/docs/models/components/one.md delete mode 100644 packages/typescript/docs/models/components/oneallof.md delete mode 100644 packages/typescript/docs/models/components/oneoneof.md create mode 100644 packages/typescript/docs/models/components/optoutby.md delete mode 100644 packages/typescript/docs/models/components/optoutjson.md delete mode 100644 packages/typescript/docs/models/components/optoutjsoninput.md create mode 100644 packages/typescript/docs/models/components/organization.md delete mode 100644 packages/typescript/docs/models/components/organizationjson.md create mode 100644 packages/typescript/docs/models/components/organizationtype1.md delete mode 100644 packages/typescript/docs/models/components/organizationtypejson0.md create mode 100644 packages/typescript/docs/models/components/packagepricingpreference.md delete mode 100644 packages/typescript/docs/models/components/packagepricingpreferencejson.md delete mode 100644 packages/typescript/docs/models/components/pagingjson19.md create mode 100644 packages/typescript/docs/models/components/pagingjson2.md create mode 100644 packages/typescript/docs/models/components/pagingnototalcountjson.md delete mode 100644 packages/typescript/docs/models/components/pagingnototalcountjson2.md create mode 100644 packages/typescript/docs/models/components/passport.md create mode 100644 packages/typescript/docs/models/components/passportinput.md delete mode 100644 packages/typescript/docs/models/components/passportjson.md delete mode 100644 packages/typescript/docs/models/components/passportjsoninput.md create mode 100644 packages/typescript/docs/models/components/policyvaluetype.md delete mode 100644 packages/typescript/docs/models/components/policyvaluetypejson.md create mode 100644 packages/typescript/docs/models/components/programitemlite.md delete mode 100644 packages/typescript/docs/models/components/programitemlitejson.md create mode 100644 packages/typescript/docs/models/components/proposalstatustype.md delete mode 100644 packages/typescript/docs/models/components/proposalstatustypejson.md create mode 100644 packages/typescript/docs/models/components/questionclassificationtype.md delete mode 100644 packages/typescript/docs/models/components/questionclassificationtypejson.md create mode 100644 packages/typescript/docs/models/components/questionjson.md delete mode 100644 packages/typescript/docs/models/components/questionjson3.md create mode 100644 packages/typescript/docs/models/components/questionresponsedatatype.md delete mode 100644 packages/typescript/docs/models/components/questionresponsedatatypejson.md create mode 100644 packages/typescript/docs/models/components/questionresponseformat.md delete mode 100644 packages/typescript/docs/models/components/questionresponseformatjson.md create mode 100644 packages/typescript/docs/models/components/questionresponsetype.md delete mode 100644 packages/typescript/docs/models/components/questionresponsetypejson.md create mode 100644 packages/typescript/docs/models/components/questionsection.md delete mode 100644 packages/typescript/docs/models/components/questionsectionjson.md create mode 100644 packages/typescript/docs/models/components/questiontype.md delete mode 100644 packages/typescript/docs/models/components/questiontypejson3.md delete mode 100644 packages/typescript/docs/models/components/questionwithprogramidjson.md delete mode 100644 packages/typescript/docs/models/components/questionwithprogramidjsontravelprogram.md create mode 100644 packages/typescript/docs/models/components/rateleveltype.md delete mode 100644 packages/typescript/docs/models/components/rateleveltypejson.md create mode 100644 packages/typescript/docs/models/components/ratereviewstatustype.md delete mode 100644 packages/typescript/docs/models/components/ratereviewstatustypejson.md create mode 100644 packages/typescript/docs/models/components/ratetype.md delete mode 100644 packages/typescript/docs/models/components/ratetypejson.md create mode 100644 packages/typescript/docs/models/components/rebatetype.md delete mode 100644 packages/typescript/docs/models/components/rebatetypejson.md create mode 100644 packages/typescript/docs/models/components/recipientinfo.md delete mode 100644 packages/typescript/docs/models/components/recipientinfojson0.md create mode 100644 packages/typescript/docs/models/components/recipienttype.md delete mode 100644 packages/typescript/docs/models/components/recipienttypejson0.md create mode 100644 packages/typescript/docs/models/components/rfpagendaitem.md delete mode 100644 packages/typescript/docs/models/components/rfpagendaitemjson.md create mode 100644 packages/typescript/docs/models/components/rfpagendaitemschedule.md delete mode 100644 packages/typescript/docs/models/components/rfpagendaitemschedulejson.md create mode 100644 packages/typescript/docs/models/components/rfpagendaitemschedulewithid.md delete mode 100644 packages/typescript/docs/models/components/rfpagendaitemschedulewithidjson.md create mode 100644 packages/typescript/docs/models/components/rfpattachment.md delete mode 100644 packages/typescript/docs/models/components/rfpattachmentjson.md delete mode 100644 packages/typescript/docs/models/components/rfpattachmentjsonsupplier.md create mode 100644 packages/typescript/docs/models/components/rfpattachmentsupplier.md delete mode 100644 packages/typescript/docs/models/components/rfpcustomfieldjson.md create mode 100644 packages/typescript/docs/models/components/rfpdatemode.md delete mode 100644 packages/typescript/docs/models/components/rfpdatemodejson0.md create mode 100644 packages/typescript/docs/models/components/rfpevent.md delete mode 100644 packages/typescript/docs/models/components/rfpeventjson.md delete mode 100644 packages/typescript/docs/models/components/rfpeventorganizationjson.md create mode 100644 packages/typescript/docs/models/components/rfpidjson.md delete mode 100644 packages/typescript/docs/models/components/rfpidjson1.md create mode 100644 packages/typescript/docs/models/components/rfpinternaldocument.md delete mode 100644 packages/typescript/docs/models/components/rfpinternaldocumentjson0.md create mode 100644 packages/typescript/docs/models/components/rfpmeal.md delete mode 100644 packages/typescript/docs/models/components/rfpmealjson.md create mode 100644 packages/typescript/docs/models/components/rfppastevent.md delete mode 100644 packages/typescript/docs/models/components/rfppasteventjson.md create mode 100644 packages/typescript/docs/models/components/rfpquestion.md delete mode 100644 packages/typescript/docs/models/components/rfpquestionjson.md create mode 100644 packages/typescript/docs/models/components/rfprecipientlogentry.md delete mode 100644 packages/typescript/docs/models/components/rfprecipientlogentryjson.md delete mode 100644 packages/typescript/docs/models/components/rfprecipientlogentryjsonmessage.md delete mode 100644 packages/typescript/docs/models/components/rfprecipientlogentryjsonsupplier.md create mode 100644 packages/typescript/docs/models/components/rfprecipientlogentrymessage.md create mode 100644 packages/typescript/docs/models/components/rfprecipientlogentrysupplier.md create mode 100644 packages/typescript/docs/models/components/rfpresponsereason.md delete mode 100644 packages/typescript/docs/models/components/rfpresponsereasonjson.md create mode 100644 packages/typescript/docs/models/components/rfpstatus1.md delete mode 100644 packages/typescript/docs/models/components/rfpstatusjson0.md create mode 100644 packages/typescript/docs/models/components/rfpsupplier.md delete mode 100644 packages/typescript/docs/models/components/rfpsupplierjson.md create mode 100644 packages/typescript/docs/models/components/rfpsupplierleadsource.md create mode 100644 packages/typescript/docs/models/components/rfptype1.md delete mode 100644 packages/typescript/docs/models/components/rfptypejson0.md create mode 100644 packages/typescript/docs/models/components/roombedtypejson.md delete mode 100644 packages/typescript/docs/models/components/roombedtypejson1.md create mode 100644 packages/typescript/docs/models/components/roomblock.md create mode 100644 packages/typescript/docs/models/components/roomblockdetails.md delete mode 100644 packages/typescript/docs/models/components/roomblockdetailsjson.md delete mode 100644 packages/typescript/docs/models/components/roomblockjson.md create mode 100644 packages/typescript/docs/models/components/sessionlite.md delete mode 100644 packages/typescript/docs/models/components/sessionlitejson.md create mode 100644 packages/typescript/docs/models/components/sessionspeaker.md delete mode 100644 packages/typescript/docs/models/components/sessionspeakerjson.md create mode 100644 packages/typescript/docs/models/components/solution.md delete mode 100644 packages/typescript/docs/models/components/solutionjson.md create mode 100644 packages/typescript/docs/models/components/spacearea.md delete mode 100644 packages/typescript/docs/models/components/spaceareajson0.md delete mode 100644 packages/typescript/docs/models/components/speakercategory.md create mode 100644 packages/typescript/docs/models/components/speakercategory1.md create mode 100644 packages/typescript/docs/models/components/speakercategory2.md create mode 100644 packages/typescript/docs/models/components/speakerlite1.md delete mode 100644 packages/typescript/docs/models/components/speakerlitejson.md create mode 100644 packages/typescript/docs/models/components/standardquestion.md delete mode 100644 packages/typescript/docs/models/components/standardquestionjson.md create mode 100644 packages/typescript/docs/models/components/suppliertype.md delete mode 100644 packages/typescript/docs/models/components/suppliertypejson.md create mode 100644 packages/typescript/docs/models/components/surveycontactid.md delete mode 100644 packages/typescript/docs/models/components/surveycontactidjson.md create mode 100644 packages/typescript/docs/models/components/targettype.md delete mode 100644 packages/typescript/docs/models/components/targettypejson.md create mode 100644 packages/typescript/docs/models/components/taxtype.md delete mode 100644 packages/typescript/docs/models/components/taxtypejson.md create mode 100644 packages/typescript/docs/models/components/textanswerformat.md delete mode 100644 packages/typescript/docs/models/components/textanswerformatjson.md create mode 100644 packages/typescript/docs/models/components/textfield.md delete mode 100644 packages/typescript/docs/models/components/textfieldjson1.md create mode 100644 packages/typescript/docs/models/components/thumbnailstatus.md delete mode 100644 packages/typescript/docs/models/components/thumbnailstatusjson.md create mode 100644 packages/typescript/docs/models/components/thumbnailtype.md delete mode 100644 packages/typescript/docs/models/components/thumbnailtypejson.md create mode 100644 packages/typescript/docs/models/components/travelaccounttype.md delete mode 100644 packages/typescript/docs/models/components/travelaccounttypejson.md delete mode 100644 packages/typescript/docs/models/components/travelamenityjson.md create mode 100644 packages/typescript/docs/models/components/travelbidamenity.md delete mode 100644 packages/typescript/docs/models/components/travelbidamenityjson.md create mode 100644 packages/typescript/docs/models/components/travelbidcomment.md delete mode 100644 packages/typescript/docs/models/components/travelbidcommentjson.md create mode 100644 packages/typescript/docs/models/components/travelbiddiscount.md delete mode 100644 packages/typescript/docs/models/components/travelbiddiscountjson.md delete mode 100644 packages/typescript/docs/models/components/travelbiddiscountjsonpropertyroom.md create mode 100644 packages/typescript/docs/models/components/travelbiddiscountpropertyroom.md create mode 100644 packages/typescript/docs/models/components/travelbiddisposition.md create mode 100644 packages/typescript/docs/models/components/travelbiddispositionacceptedroom.md delete mode 100644 packages/typescript/docs/models/components/travelbiddispositionacceptedroomjson.md delete mode 100644 packages/typescript/docs/models/components/travelbiddispositionacceptedroomjsonpropertyroom.md create mode 100644 packages/typescript/docs/models/components/travelbiddispositionacceptedroompropertyroom.md delete mode 100644 packages/typescript/docs/models/components/travelbiddispositionjson.md create mode 100644 packages/typescript/docs/models/components/travelbidfairseason.md delete mode 100644 packages/typescript/docs/models/components/travelbidfairseasonjson.md create mode 100644 packages/typescript/docs/models/components/travelbidfairseasonrate.md delete mode 100644 packages/typescript/docs/models/components/travelbidfairseasonratejson.md delete mode 100644 packages/typescript/docs/models/components/travelbidfairseasonratejsonpropertyroom.md create mode 100644 packages/typescript/docs/models/components/travelbidfairseasonratepropertyroom.md create mode 100644 packages/typescript/docs/models/components/travelbidpolicy.md delete mode 100644 packages/typescript/docs/models/components/travelbidpolicyjson.md delete mode 100644 packages/typescript/docs/models/components/travelbidratejson.md create mode 100644 packages/typescript/docs/models/components/travelbidroom.md delete mode 100644 packages/typescript/docs/models/components/travelbidroomjson.md delete mode 100644 packages/typescript/docs/models/components/travelbidroomjsonpropertyroom.md create mode 100644 packages/typescript/docs/models/components/travelbidroompropertyroom.md create mode 100644 packages/typescript/docs/models/components/travelbidseason.md delete mode 100644 packages/typescript/docs/models/components/travelbidseasonjson.md create mode 100644 packages/typescript/docs/models/components/travelbidseasonrate.md delete mode 100644 packages/typescript/docs/models/components/travelbidseasonratejson.md delete mode 100644 packages/typescript/docs/models/components/travelbidseasonratejsonpropertyroom.md create mode 100644 packages/typescript/docs/models/components/travelbidseasonratepropertyroom.md create mode 100644 packages/typescript/docs/models/components/travelbidtaxandfee.md delete mode 100644 packages/typescript/docs/models/components/travelbidtaxfeejson.md delete mode 100644 packages/typescript/docs/models/components/travelbidweekenddayjson.md create mode 100644 packages/typescript/docs/models/components/travelbidweekenddays.md delete mode 100644 packages/typescript/docs/models/components/travelbreakoutroomjson.md delete mode 100644 packages/typescript/docs/models/components/traveldaydelegateratejson.md delete mode 100644 packages/typescript/docs/models/components/travelgroupandmeetingjson.md delete mode 100644 packages/typescript/docs/models/components/travelmeetingroombasicinfojson.md create mode 100644 packages/typescript/docs/models/components/travelprogramformattype.md delete mode 100644 packages/typescript/docs/models/components/travelprogramformattypejson.md create mode 100644 packages/typescript/docs/models/components/travelprogramquestion.md create mode 100644 packages/typescript/docs/models/components/travelprogramquestion1.md delete mode 100644 packages/typescript/docs/models/components/travelprogramquestionjson.md create mode 100644 packages/typescript/docs/models/components/travelprogramquestiontravelprogram.md create mode 100644 packages/typescript/docs/models/components/travelprogramstatus.md delete mode 100644 packages/typescript/docs/models/components/travelprogramstatusjson.md create mode 100644 packages/typescript/docs/models/components/travelprogramstaytype.md delete mode 100644 packages/typescript/docs/models/components/travelprogramstaytypejson.md create mode 100644 packages/typescript/docs/models/components/travelprogramtype.md delete mode 100644 packages/typescript/docs/models/components/travelprogramtypejson.md delete mode 100644 packages/typescript/docs/models/components/travelproposalbid.md create mode 100644 packages/typescript/docs/models/components/travelproposalbid1.md create mode 100644 packages/typescript/docs/models/components/travelproposalbid2.md delete mode 100644 packages/typescript/docs/models/components/travelproposalbididjson.md create mode 100644 packages/typescript/docs/models/components/travelproposalbidrate.md create mode 100644 packages/typescript/docs/models/components/travelproposalcustomquestion.md create mode 100644 packages/typescript/docs/models/components/travelproposalcustomquestionquestion.md create mode 100644 packages/typescript/docs/models/components/travelproposaldisposition.md delete mode 100644 packages/typescript/docs/models/components/travelproposaldispositionjson.md create mode 100644 packages/typescript/docs/models/components/travelproposalgroupandmeeting.md create mode 100644 packages/typescript/docs/models/components/travelproposalgroupandmeetingamenity.md create mode 100644 packages/typescript/docs/models/components/travelproposalgroupandmeetingbreakoutroom.md create mode 100644 packages/typescript/docs/models/components/travelproposalgroupandmeetingdaydelegaterate.md create mode 100644 packages/typescript/docs/models/components/travelproposalgroupandmeetingmeetingroombasicinformation.md create mode 100644 packages/typescript/docs/models/components/travelproposalgroupandmeetingrunofhouserate.md create mode 100644 packages/typescript/docs/models/components/travelproposalgroupandmeetingtaxandservicecharge.md delete mode 100644 packages/typescript/docs/models/components/travelrunofhouseratejson.md delete mode 100644 packages/typescript/docs/models/components/traveltaxandservicechargejson.md create mode 100644 packages/typescript/docs/models/components/unitposition.md delete mode 100644 packages/typescript/docs/models/components/unitpositionjson.md create mode 100644 packages/typescript/docs/models/components/updatedthroughnameproperty.md delete mode 100644 packages/typescript/docs/models/components/updatedthroughnamepropertyjson.md create mode 100644 packages/typescript/docs/models/components/video1.md create mode 100644 packages/typescript/docs/models/components/videoassetid.md delete mode 100644 packages/typescript/docs/models/components/videoassetidjson.md create mode 100644 packages/typescript/docs/models/components/videoclip.md delete mode 100644 packages/typescript/docs/models/components/videoclipjson.md create mode 100644 packages/typescript/docs/models/components/videoerror.md create mode 100644 packages/typescript/docs/models/components/videoerrorcode.md delete mode 100644 packages/typescript/docs/models/components/videoerrorcodejson.md delete mode 100644 packages/typescript/docs/models/components/videoerrorjson.md delete mode 100644 packages/typescript/docs/models/components/videojson.md create mode 100644 packages/typescript/docs/models/components/videorendition.md delete mode 100644 packages/typescript/docs/models/components/videorenditionjson.md delete mode 100644 packages/typescript/docs/models/components/videorenditionjsonlink.md create mode 100644 packages/typescript/docs/models/components/videorenditionlink.md create mode 100644 packages/typescript/docs/models/components/videorenditiontype.md delete mode 100644 packages/typescript/docs/models/components/videorenditiontypejson.md create mode 100644 packages/typescript/docs/models/components/videosource.md delete mode 100644 packages/typescript/docs/models/components/videosourcejson.md delete mode 100644 packages/typescript/docs/models/components/videosourcejsonstatus.md create mode 100644 packages/typescript/docs/models/components/videosourcestatus.md create mode 100644 packages/typescript/docs/models/components/videostatus.md delete mode 100644 packages/typescript/docs/models/components/videostatusjson.md create mode 100644 packages/typescript/docs/models/components/videotexttrackkind.md delete mode 100644 packages/typescript/docs/models/components/videotexttrackkindjson.md create mode 100644 packages/typescript/docs/models/components/videotexttrackstatus.md delete mode 100644 packages/typescript/docs/models/components/videotexttrackstatusjson.md create mode 100644 packages/typescript/docs/models/components/videothumbnail.md delete mode 100644 packages/typescript/docs/models/components/videothumbnailjson.md create mode 100644 packages/typescript/docs/models/components/videotype.md delete mode 100644 packages/typescript/docs/models/components/videotypejson.md create mode 100644 packages/typescript/docs/models/components/videoview.md delete mode 100644 packages/typescript/docs/models/components/videoviewjson.md create mode 100644 packages/typescript/docs/models/components/videowarning.md create mode 100644 packages/typescript/docs/models/components/videowarningcode.md delete mode 100644 packages/typescript/docs/models/components/videowarningcodejson.md delete mode 100644 packages/typescript/docs/models/components/videowarningjson.md create mode 100644 packages/typescript/docs/models/components/viewtype1.md delete mode 100644 packages/typescript/docs/models/components/viewtypejson1.md create mode 100644 packages/typescript/docs/models/components/voucher.md create mode 100644 packages/typescript/docs/models/components/vouchercapacity.md create mode 100644 packages/typescript/docs/models/components/voucherspaginatedresponse.md create mode 100644 packages/typescript/docs/models/components/weddingdetails1.md delete mode 100644 packages/typescript/docs/models/components/weddingdetailsjson0.md create mode 100644 packages/typescript/docs/models/components/weddingpartner.md delete mode 100644 packages/typescript/docs/models/components/weddingpartnerjson.md delete mode 100644 packages/typescript/docs/models/components/zeroallof9.md create mode 100644 packages/typescript/docs/models/errors/errorresponsejson12.md delete mode 100644 packages/typescript/docs/models/errors/errorresponsejson17.md create mode 100644 packages/typescript/docs/models/operations/listeventvoucherattendeesrequest.md create mode 100644 packages/typescript/docs/models/operations/listeventvoucherattendeesresponse.md create mode 100644 packages/typescript/docs/models/operations/listeventvoucherspostfilterrequest.md create mode 100644 packages/typescript/docs/models/operations/listeventvoucherspostfilterresponse.md create mode 100644 packages/typescript/docs/models/operations/listeventvouchersrequest.md create mode 100644 packages/typescript/docs/models/operations/listeventvouchersresponse.md create mode 100644 packages/typescript/src/funcs/eventsListEventVoucherAttendees.ts create mode 100644 packages/typescript/src/funcs/eventsListEventVouchers.ts create mode 100644 packages/typescript/src/funcs/eventsListEventVouchersPostFilter.ts create mode 100644 packages/typescript/src/models/components/additionalchoice1.ts create mode 100644 packages/typescript/src/models/components/additionalchoicejson.ts delete mode 100644 packages/typescript/src/models/components/additionalchoicejson1.ts delete mode 100644 packages/typescript/src/models/components/additionalchoicejson2.ts create mode 100644 packages/typescript/src/models/components/address.ts create mode 100644 packages/typescript/src/models/components/address1.ts delete mode 100644 packages/typescript/src/models/components/address12.ts delete mode 100644 packages/typescript/src/models/components/address2.ts create mode 100644 packages/typescript/src/models/components/address4.ts create mode 100644 packages/typescript/src/models/components/address5.ts create mode 100644 packages/typescript/src/models/components/address6.ts create mode 100644 packages/typescript/src/models/components/addressinput.ts delete mode 100644 packages/typescript/src/models/components/addressjson0.ts create mode 100644 packages/typescript/src/models/components/addressjson1.ts delete mode 100644 packages/typescript/src/models/components/addressjson3.ts delete mode 100644 packages/typescript/src/models/components/addressjson4.ts delete mode 100644 packages/typescript/src/models/components/addressjson5.ts delete mode 100644 packages/typescript/src/models/components/addressjsoninput.ts delete mode 100644 packages/typescript/src/models/components/addresstypejson1.ts create mode 100644 packages/typescript/src/models/components/agendaitemsetup.ts delete mode 100644 packages/typescript/src/models/components/agendaitemsetupjson.ts create mode 100644 packages/typescript/src/models/components/agendaitemtype.ts delete mode 100644 packages/typescript/src/models/components/agendaitemtypejson.ts create mode 100644 packages/typescript/src/models/components/amenitytype.ts delete mode 100644 packages/typescript/src/models/components/amenitytypejson.ts create mode 100644 packages/typescript/src/models/components/assetlocation.ts create mode 100644 packages/typescript/src/models/components/assetlocationinput.ts delete mode 100644 packages/typescript/src/models/components/assetlocationjson.ts delete mode 100644 packages/typescript/src/models/components/assetlocationjsoninput.ts create mode 100644 packages/typescript/src/models/components/attachmentsource.ts delete mode 100644 packages/typescript/src/models/components/attachmentsourcejson.ts create mode 100644 packages/typescript/src/models/components/attendee.ts delete mode 100644 packages/typescript/src/models/components/attendee1.ts create mode 100644 packages/typescript/src/models/components/attendee13.ts create mode 100644 packages/typescript/src/models/components/attendeecontacttypeinput.ts delete mode 100644 packages/typescript/src/models/components/attendeecontacttypejson.ts delete mode 100644 packages/typescript/src/models/components/attendeecontacttypejsoninput.ts create mode 100644 packages/typescript/src/models/components/attendeespaginatedresponse.ts create mode 100644 packages/typescript/src/models/components/audiotrackstatus.ts delete mode 100644 packages/typescript/src/models/components/audiotrackstatusjson.ts create mode 100644 packages/typescript/src/models/components/audiotracktype.ts delete mode 100644 packages/typescript/src/models/components/audiotracktypejson.ts create mode 100644 packages/typescript/src/models/components/audiotrackvariant.ts delete mode 100644 packages/typescript/src/models/components/audiotrackvariantjson.ts create mode 100644 packages/typescript/src/models/components/biditemstatustype.ts delete mode 100644 packages/typescript/src/models/components/biditemstatustypejson.ts create mode 100644 packages/typescript/src/models/components/bidstatustype.ts delete mode 100644 packages/typescript/src/models/components/bidstatustypejson.ts create mode 100644 packages/typescript/src/models/components/bidstaytype.ts delete mode 100644 packages/typescript/src/models/components/bidstaytypejson.ts create mode 100644 packages/typescript/src/models/components/billingdetails1.ts delete mode 100644 packages/typescript/src/models/components/billingdetailsjson0.ts create mode 100644 packages/typescript/src/models/components/bridegroomtype.ts delete mode 100644 packages/typescript/src/models/components/bridegroomtypejson0.ts create mode 100644 packages/typescript/src/models/components/businesstype.ts delete mode 100644 packages/typescript/src/models/components/businesstypejson.ts create mode 100644 packages/typescript/src/models/components/cancellationdetails.ts delete mode 100644 packages/typescript/src/models/components/cancellationdetailsjson.ts create mode 100644 packages/typescript/src/models/components/cancelledreason1.ts delete mode 100644 packages/typescript/src/models/components/cancelledreasonjson0.ts create mode 100644 packages/typescript/src/models/components/category.ts delete mode 100644 packages/typescript/src/models/components/categoryidnamejson.ts delete mode 100644 packages/typescript/src/models/components/categoryjson2.ts create mode 100644 packages/typescript/src/models/components/choice1.ts delete mode 100644 packages/typescript/src/models/components/choicejson.ts create mode 100644 packages/typescript/src/models/components/choicejson1.ts create mode 100644 packages/typescript/src/models/components/choicejson2input.ts delete mode 100644 packages/typescript/src/models/components/choicejson3.ts delete mode 100644 packages/typescript/src/models/components/choicejson3input.ts create mode 100644 packages/typescript/src/models/components/choicesortorder.ts delete mode 100644 packages/typescript/src/models/components/choicesortorderjson.ts create mode 100644 packages/typescript/src/models/components/commenttype.ts delete mode 100644 packages/typescript/src/models/components/commenttypejson.ts delete mode 100644 packages/typescript/src/models/components/compliancejson.ts create mode 100644 packages/typescript/src/models/components/contact1.ts create mode 100644 packages/typescript/src/models/components/contact2.ts delete mode 100644 packages/typescript/src/models/components/contactbulkitemjson.ts create mode 100644 packages/typescript/src/models/components/contactbulkresponseitem.ts create mode 100644 packages/typescript/src/models/components/contactcreate.ts delete mode 100644 packages/typescript/src/models/components/contactcreaterequestjson.ts create mode 100644 packages/typescript/src/models/components/contactgrouptype.ts delete mode 100644 packages/typescript/src/models/components/contactgrouptypejson.ts create mode 100644 packages/typescript/src/models/components/contacthistory.ts delete mode 100644 packages/typescript/src/models/components/contacthistoryjson.ts create mode 100644 packages/typescript/src/models/components/contactid.ts delete mode 100644 packages/typescript/src/models/components/contactidjson.ts create mode 100644 packages/typescript/src/models/components/contactjson.ts delete mode 100644 packages/typescript/src/models/components/contactjson0.ts delete mode 100644 packages/typescript/src/models/components/contactjson1.ts delete mode 100644 packages/typescript/src/models/components/contactjson2.ts create mode 100644 packages/typescript/src/models/components/contactlinksinput.ts delete mode 100644 packages/typescript/src/models/components/contactlinksjson.ts delete mode 100644 packages/typescript/src/models/components/contactlinksjsoninput.ts create mode 100644 packages/typescript/src/models/components/contactmembership.ts create mode 100644 packages/typescript/src/models/components/contactmergefield.ts delete mode 100644 packages/typescript/src/models/components/contactmergefieldjson.ts create mode 100644 packages/typescript/src/models/components/contactmethods.ts delete mode 100644 packages/typescript/src/models/components/contactmethodsjson.ts create mode 100644 packages/typescript/src/models/components/contactobfuscationstatustype.ts delete mode 100644 packages/typescript/src/models/components/contactobfuscationstatustypejson.ts create mode 100644 packages/typescript/src/models/components/contactoptout.ts create mode 100644 packages/typescript/src/models/components/contactoptoutinput.ts create mode 100644 packages/typescript/src/models/components/contacttype.ts delete mode 100644 packages/typescript/src/models/components/contacttypejson1.ts delete mode 100644 packages/typescript/src/models/components/currencyjson1.ts create mode 100644 packages/typescript/src/models/components/currencyjson2.ts create mode 100644 packages/typescript/src/models/components/customfieldanswers.ts create mode 100644 packages/typescript/src/models/components/customfieldjson.ts delete mode 100644 packages/typescript/src/models/components/customfieldjson3.ts create mode 100644 packages/typescript/src/models/components/customfieldtypejson.ts delete mode 100644 packages/typescript/src/models/components/customfieldtypejson1.ts delete mode 100644 packages/typescript/src/models/components/customquestionanswerjson0.ts create mode 100644 packages/typescript/src/models/components/dateanswerformat.ts delete mode 100644 packages/typescript/src/models/components/dateanswerformatjson.ts create mode 100644 packages/typescript/src/models/components/datepattern1.ts delete mode 100644 packages/typescript/src/models/components/datepatternjson0.ts create mode 100644 packages/typescript/src/models/components/daterequirements1.ts delete mode 100644 packages/typescript/src/models/components/daterequirementsjson0.ts create mode 100644 packages/typescript/src/models/components/dates1.ts delete mode 100644 packages/typescript/src/models/components/datesjson0.ts create mode 100644 packages/typescript/src/models/components/datetypejson.ts delete mode 100644 packages/typescript/src/models/components/datetypejson1.ts create mode 100644 packages/typescript/src/models/components/dayofweek.ts delete mode 100644 packages/typescript/src/models/components/dayofweekjson0.ts create mode 100644 packages/typescript/src/models/components/device1.ts delete mode 100644 packages/typescript/src/models/components/devicejson.ts create mode 100644 packages/typescript/src/models/components/devicetype.ts delete mode 100644 packages/typescript/src/models/components/devicetypejson.ts create mode 100644 packages/typescript/src/models/components/displaytype.ts delete mode 100644 packages/typescript/src/models/components/displaytypejson.ts create mode 100644 packages/typescript/src/models/components/distancejson.ts delete mode 100644 packages/typescript/src/models/components/distancejson1.ts create mode 100644 packages/typescript/src/models/components/distributionlistinfo.ts create mode 100644 packages/typescript/src/models/components/distributionlistinfoinput.ts delete mode 100644 packages/typescript/src/models/components/distributionlistinfojson.ts delete mode 100644 packages/typescript/src/models/components/distributionlistinfojsoninput.ts create mode 100644 packages/typescript/src/models/components/distributionlistsecuritytype.ts delete mode 100644 packages/typescript/src/models/components/distributionlistsecuritytypejson.ts create mode 100644 packages/typescript/src/models/components/distributionliststatus.ts delete mode 100644 packages/typescript/src/models/components/distributionliststatusjson.ts create mode 100644 packages/typescript/src/models/components/documenttype1.ts delete mode 100644 packages/typescript/src/models/components/documenttypejson0.ts create mode 100644 packages/typescript/src/models/components/emailtypejson.ts delete mode 100644 packages/typescript/src/models/components/emailtypejson3.ts create mode 100644 packages/typescript/src/models/components/encodingprofile.ts delete mode 100644 packages/typescript/src/models/components/encodingprofilejson.ts create mode 100644 packages/typescript/src/models/components/event12.ts delete mode 100644 packages/typescript/src/models/components/event21.ts create mode 100644 packages/typescript/src/models/components/event3.ts create mode 100644 packages/typescript/src/models/components/eventcontactid.ts delete mode 100644 packages/typescript/src/models/components/eventcontactidjson.ts create mode 100644 packages/typescript/src/models/components/eventformattype.ts delete mode 100644 packages/typescript/src/models/components/eventformattypejson0.ts create mode 100644 packages/typescript/src/models/components/eventjson.ts delete mode 100644 packages/typescript/src/models/components/eventjson0.ts delete mode 100644 packages/typescript/src/models/components/eventjson2.ts create mode 100644 packages/typescript/src/models/components/eventjson3.ts delete mode 100644 packages/typescript/src/models/components/eventjson4.ts create mode 100644 packages/typescript/src/models/components/eventjson5.ts delete mode 100644 packages/typescript/src/models/components/eventjson8.ts create mode 100644 packages/typescript/src/models/components/eventlite.ts delete mode 100644 packages/typescript/src/models/components/eventlitejson.ts create mode 100644 packages/typescript/src/models/components/eventorganization1.ts create mode 100644 packages/typescript/src/models/components/eventtype1.ts create mode 100644 packages/typescript/src/models/components/eventtypejson.ts delete mode 100644 packages/typescript/src/models/components/eventtypejson0.ts delete mode 100644 packages/typescript/src/models/components/eventtypejson1.ts create mode 100644 packages/typescript/src/models/components/fairseasontype.ts delete mode 100644 packages/typescript/src/models/components/fairseasontypejson.ts create mode 100644 packages/typescript/src/models/components/field.ts delete mode 100644 packages/typescript/src/models/components/fieldjson2.ts create mode 100644 packages/typescript/src/models/components/fieldtype.ts delete mode 100644 packages/typescript/src/models/components/fieldtypejson2.ts create mode 100644 packages/typescript/src/models/components/formattype.ts delete mode 100644 packages/typescript/src/models/components/formattypejson.ts delete mode 100644 packages/typescript/src/models/components/genderjson.ts create mode 100644 packages/typescript/src/models/components/guestroomoccupancy.ts delete mode 100644 packages/typescript/src/models/components/guestroomoccupancyjson.ts create mode 100644 packages/typescript/src/models/components/guestroomoccupancyperroomtype.ts delete mode 100644 packages/typescript/src/models/components/guestroomoccupancyperroomtypejson.ts create mode 100644 packages/typescript/src/models/components/guestroomtype.ts delete mode 100644 packages/typescript/src/models/components/guestroomtypejson.ts create mode 100644 packages/typescript/src/models/components/hlsinputwithclips.ts delete mode 100644 packages/typescript/src/models/components/hlsinputwithclipsjson.ts delete mode 100644 packages/typescript/src/models/components/idjson.ts create mode 100644 packages/typescript/src/models/components/idonlyentity.ts create mode 100644 packages/typescript/src/models/components/industry1.ts delete mode 100644 packages/typescript/src/models/components/industryjson0.ts create mode 100644 packages/typescript/src/models/components/leadsource.ts delete mode 100644 packages/typescript/src/models/components/leadsourcejson.ts create mode 100644 packages/typescript/src/models/components/leadsourcesection.ts delete mode 100644 packages/typescript/src/models/components/leadsourcesectionjson.ts create mode 100644 packages/typescript/src/models/components/managementleveltype1.ts delete mode 100644 packages/typescript/src/models/components/managementleveltypejson1.ts create mode 100644 packages/typescript/src/models/components/measurementunit.ts delete mode 100644 packages/typescript/src/models/components/measurementunitjson0.ts delete mode 100644 packages/typescript/src/models/components/membershipjson.ts create mode 100644 packages/typescript/src/models/components/messagerecipientresponse.ts delete mode 100644 packages/typescript/src/models/components/messagerecipientsresponsejson.ts create mode 100644 packages/typescript/src/models/components/numericanswerformat.ts delete mode 100644 packages/typescript/src/models/components/numericanswerformatjson.ts create mode 100644 packages/typescript/src/models/components/offeringcosttype1.ts delete mode 100644 packages/typescript/src/models/components/offeringcosttypejson0.ts create mode 100644 packages/typescript/src/models/components/one.ts delete mode 100644 packages/typescript/src/models/components/oneallof.ts delete mode 100644 packages/typescript/src/models/components/oneoneof.ts create mode 100644 packages/typescript/src/models/components/optoutby.ts delete mode 100644 packages/typescript/src/models/components/optoutjson.ts delete mode 100644 packages/typescript/src/models/components/optoutjsoninput.ts create mode 100644 packages/typescript/src/models/components/organization.ts delete mode 100644 packages/typescript/src/models/components/organizationjson.ts create mode 100644 packages/typescript/src/models/components/organizationtype1.ts delete mode 100644 packages/typescript/src/models/components/organizationtypejson0.ts create mode 100644 packages/typescript/src/models/components/packagepricingpreference.ts delete mode 100644 packages/typescript/src/models/components/packagepricingpreferencejson.ts delete mode 100644 packages/typescript/src/models/components/pagingjson19.ts create mode 100644 packages/typescript/src/models/components/pagingjson2.ts create mode 100644 packages/typescript/src/models/components/pagingnototalcountjson.ts delete mode 100644 packages/typescript/src/models/components/pagingnototalcountjson2.ts create mode 100644 packages/typescript/src/models/components/passport.ts create mode 100644 packages/typescript/src/models/components/passportinput.ts delete mode 100644 packages/typescript/src/models/components/passportjson.ts delete mode 100644 packages/typescript/src/models/components/passportjsoninput.ts create mode 100644 packages/typescript/src/models/components/policyvaluetype.ts delete mode 100644 packages/typescript/src/models/components/policyvaluetypejson.ts create mode 100644 packages/typescript/src/models/components/programitemlite.ts delete mode 100644 packages/typescript/src/models/components/programitemlitejson.ts create mode 100644 packages/typescript/src/models/components/proposalstatustype.ts delete mode 100644 packages/typescript/src/models/components/proposalstatustypejson.ts create mode 100644 packages/typescript/src/models/components/questionclassificationtype.ts delete mode 100644 packages/typescript/src/models/components/questionclassificationtypejson.ts create mode 100644 packages/typescript/src/models/components/questionjson.ts delete mode 100644 packages/typescript/src/models/components/questionjson3.ts create mode 100644 packages/typescript/src/models/components/questionresponsedatatype.ts delete mode 100644 packages/typescript/src/models/components/questionresponsedatatypejson.ts create mode 100644 packages/typescript/src/models/components/questionresponseformat.ts delete mode 100644 packages/typescript/src/models/components/questionresponseformatjson.ts create mode 100644 packages/typescript/src/models/components/questionresponsetype.ts delete mode 100644 packages/typescript/src/models/components/questionresponsetypejson.ts create mode 100644 packages/typescript/src/models/components/questionsection.ts delete mode 100644 packages/typescript/src/models/components/questionsectionjson.ts create mode 100644 packages/typescript/src/models/components/questiontype.ts delete mode 100644 packages/typescript/src/models/components/questiontypejson3.ts delete mode 100644 packages/typescript/src/models/components/questionwithprogramidjson.ts create mode 100644 packages/typescript/src/models/components/rateleveltype.ts delete mode 100644 packages/typescript/src/models/components/rateleveltypejson.ts create mode 100644 packages/typescript/src/models/components/ratereviewstatustype.ts delete mode 100644 packages/typescript/src/models/components/ratereviewstatustypejson.ts create mode 100644 packages/typescript/src/models/components/ratetype.ts delete mode 100644 packages/typescript/src/models/components/ratetypejson.ts create mode 100644 packages/typescript/src/models/components/rebatetype.ts delete mode 100644 packages/typescript/src/models/components/rebatetypejson.ts create mode 100644 packages/typescript/src/models/components/recipientinfo.ts delete mode 100644 packages/typescript/src/models/components/recipientinfojson0.ts create mode 100644 packages/typescript/src/models/components/recipienttype.ts delete mode 100644 packages/typescript/src/models/components/recipienttypejson0.ts create mode 100644 packages/typescript/src/models/components/rfpagendaitem.ts delete mode 100644 packages/typescript/src/models/components/rfpagendaitemjson.ts create mode 100644 packages/typescript/src/models/components/rfpagendaitemschedule.ts delete mode 100644 packages/typescript/src/models/components/rfpagendaitemschedulejson.ts create mode 100644 packages/typescript/src/models/components/rfpagendaitemschedulewithid.ts delete mode 100644 packages/typescript/src/models/components/rfpagendaitemschedulewithidjson.ts create mode 100644 packages/typescript/src/models/components/rfpattachment.ts delete mode 100644 packages/typescript/src/models/components/rfpattachmentjson.ts delete mode 100644 packages/typescript/src/models/components/rfpcustomfieldjson.ts create mode 100644 packages/typescript/src/models/components/rfpdatemode.ts delete mode 100644 packages/typescript/src/models/components/rfpdatemodejson0.ts create mode 100644 packages/typescript/src/models/components/rfpevent.ts delete mode 100644 packages/typescript/src/models/components/rfpeventjson.ts delete mode 100644 packages/typescript/src/models/components/rfpeventorganizationjson.ts create mode 100644 packages/typescript/src/models/components/rfpidjson.ts delete mode 100644 packages/typescript/src/models/components/rfpidjson1.ts create mode 100644 packages/typescript/src/models/components/rfpinternaldocument.ts delete mode 100644 packages/typescript/src/models/components/rfpinternaldocumentjson0.ts create mode 100644 packages/typescript/src/models/components/rfpmeal.ts delete mode 100644 packages/typescript/src/models/components/rfpmealjson.ts create mode 100644 packages/typescript/src/models/components/rfppastevent.ts delete mode 100644 packages/typescript/src/models/components/rfppasteventjson.ts create mode 100644 packages/typescript/src/models/components/rfpquestion.ts delete mode 100644 packages/typescript/src/models/components/rfpquestionjson.ts create mode 100644 packages/typescript/src/models/components/rfprecipientlogentry.ts delete mode 100644 packages/typescript/src/models/components/rfprecipientlogentryjson.ts create mode 100644 packages/typescript/src/models/components/rfpresponsereason.ts delete mode 100644 packages/typescript/src/models/components/rfpresponsereasonjson.ts create mode 100644 packages/typescript/src/models/components/rfpstatus1.ts delete mode 100644 packages/typescript/src/models/components/rfpstatusjson0.ts create mode 100644 packages/typescript/src/models/components/rfpsupplier.ts delete mode 100644 packages/typescript/src/models/components/rfpsupplierjson.ts create mode 100644 packages/typescript/src/models/components/rfptype1.ts delete mode 100644 packages/typescript/src/models/components/rfptypejson0.ts create mode 100644 packages/typescript/src/models/components/roombedtypejson.ts delete mode 100644 packages/typescript/src/models/components/roombedtypejson1.ts create mode 100644 packages/typescript/src/models/components/roomblock.ts create mode 100644 packages/typescript/src/models/components/roomblockdetails.ts delete mode 100644 packages/typescript/src/models/components/roomblockdetailsjson.ts delete mode 100644 packages/typescript/src/models/components/roomblockjson.ts create mode 100644 packages/typescript/src/models/components/sessionlite.ts delete mode 100644 packages/typescript/src/models/components/sessionlitejson.ts create mode 100644 packages/typescript/src/models/components/sessionspeaker.ts delete mode 100644 packages/typescript/src/models/components/sessionspeakerjson.ts create mode 100644 packages/typescript/src/models/components/solution.ts delete mode 100644 packages/typescript/src/models/components/solutionjson.ts create mode 100644 packages/typescript/src/models/components/spacearea.ts delete mode 100644 packages/typescript/src/models/components/spaceareajson0.ts delete mode 100644 packages/typescript/src/models/components/speakercategory.ts create mode 100644 packages/typescript/src/models/components/speakercategory1.ts create mode 100644 packages/typescript/src/models/components/speakercategory2.ts create mode 100644 packages/typescript/src/models/components/speakerlite1.ts delete mode 100644 packages/typescript/src/models/components/speakerlitejson.ts create mode 100644 packages/typescript/src/models/components/standardquestion.ts delete mode 100644 packages/typescript/src/models/components/standardquestionjson.ts create mode 100644 packages/typescript/src/models/components/suppliertype.ts delete mode 100644 packages/typescript/src/models/components/suppliertypejson.ts create mode 100644 packages/typescript/src/models/components/surveycontactid.ts delete mode 100644 packages/typescript/src/models/components/surveycontactidjson.ts create mode 100644 packages/typescript/src/models/components/targettype.ts delete mode 100644 packages/typescript/src/models/components/targettypejson.ts create mode 100644 packages/typescript/src/models/components/taxtype.ts delete mode 100644 packages/typescript/src/models/components/taxtypejson.ts create mode 100644 packages/typescript/src/models/components/textanswerformat.ts delete mode 100644 packages/typescript/src/models/components/textanswerformatjson.ts create mode 100644 packages/typescript/src/models/components/textfield.ts delete mode 100644 packages/typescript/src/models/components/textfieldjson1.ts create mode 100644 packages/typescript/src/models/components/thumbnailstatus.ts delete mode 100644 packages/typescript/src/models/components/thumbnailstatusjson.ts create mode 100644 packages/typescript/src/models/components/thumbnailtype.ts delete mode 100644 packages/typescript/src/models/components/thumbnailtypejson.ts create mode 100644 packages/typescript/src/models/components/travelaccounttype.ts delete mode 100644 packages/typescript/src/models/components/travelaccounttypejson.ts delete mode 100644 packages/typescript/src/models/components/travelamenityjson.ts create mode 100644 packages/typescript/src/models/components/travelbidamenity.ts delete mode 100644 packages/typescript/src/models/components/travelbidamenityjson.ts create mode 100644 packages/typescript/src/models/components/travelbidcomment.ts delete mode 100644 packages/typescript/src/models/components/travelbidcommentjson.ts create mode 100644 packages/typescript/src/models/components/travelbiddiscount.ts delete mode 100644 packages/typescript/src/models/components/travelbiddiscountjson.ts create mode 100644 packages/typescript/src/models/components/travelbiddisposition.ts create mode 100644 packages/typescript/src/models/components/travelbiddispositionacceptedroom.ts delete mode 100644 packages/typescript/src/models/components/travelbiddispositionacceptedroomjson.ts delete mode 100644 packages/typescript/src/models/components/travelbiddispositionjson.ts create mode 100644 packages/typescript/src/models/components/travelbidfairseason.ts delete mode 100644 packages/typescript/src/models/components/travelbidfairseasonjson.ts create mode 100644 packages/typescript/src/models/components/travelbidfairseasonrate.ts delete mode 100644 packages/typescript/src/models/components/travelbidfairseasonratejson.ts create mode 100644 packages/typescript/src/models/components/travelbidpolicy.ts delete mode 100644 packages/typescript/src/models/components/travelbidpolicyjson.ts delete mode 100644 packages/typescript/src/models/components/travelbidratejson.ts create mode 100644 packages/typescript/src/models/components/travelbidroom.ts delete mode 100644 packages/typescript/src/models/components/travelbidroomjson.ts create mode 100644 packages/typescript/src/models/components/travelbidseason.ts delete mode 100644 packages/typescript/src/models/components/travelbidseasonjson.ts create mode 100644 packages/typescript/src/models/components/travelbidseasonrate.ts delete mode 100644 packages/typescript/src/models/components/travelbidseasonratejson.ts create mode 100644 packages/typescript/src/models/components/travelbidtaxandfee.ts delete mode 100644 packages/typescript/src/models/components/travelbidtaxfeejson.ts delete mode 100644 packages/typescript/src/models/components/travelbidweekenddayjson.ts create mode 100644 packages/typescript/src/models/components/travelbidweekenddays.ts delete mode 100644 packages/typescript/src/models/components/travelbreakoutroomjson.ts delete mode 100644 packages/typescript/src/models/components/traveldaydelegateratejson.ts delete mode 100644 packages/typescript/src/models/components/travelgroupandmeetingjson.ts delete mode 100644 packages/typescript/src/models/components/travelmeetingroombasicinfojson.ts create mode 100644 packages/typescript/src/models/components/travelprogramformattype.ts delete mode 100644 packages/typescript/src/models/components/travelprogramformattypejson.ts create mode 100644 packages/typescript/src/models/components/travelprogramquestion.ts create mode 100644 packages/typescript/src/models/components/travelprogramquestion1.ts delete mode 100644 packages/typescript/src/models/components/travelprogramquestionjson.ts create mode 100644 packages/typescript/src/models/components/travelprogramstatus.ts delete mode 100644 packages/typescript/src/models/components/travelprogramstatusjson.ts create mode 100644 packages/typescript/src/models/components/travelprogramstaytype.ts delete mode 100644 packages/typescript/src/models/components/travelprogramstaytypejson.ts create mode 100644 packages/typescript/src/models/components/travelprogramtype.ts delete mode 100644 packages/typescript/src/models/components/travelprogramtypejson.ts delete mode 100644 packages/typescript/src/models/components/travelproposalbid.ts create mode 100644 packages/typescript/src/models/components/travelproposalbid1.ts create mode 100644 packages/typescript/src/models/components/travelproposalbid2.ts delete mode 100644 packages/typescript/src/models/components/travelproposalbididjson.ts create mode 100644 packages/typescript/src/models/components/travelproposalbidrate.ts create mode 100644 packages/typescript/src/models/components/travelproposalcustomquestion.ts create mode 100644 packages/typescript/src/models/components/travelproposaldisposition.ts delete mode 100644 packages/typescript/src/models/components/travelproposaldispositionjson.ts create mode 100644 packages/typescript/src/models/components/travelproposalgroupandmeeting.ts create mode 100644 packages/typescript/src/models/components/travelproposalgroupandmeetingamenity.ts create mode 100644 packages/typescript/src/models/components/travelproposalgroupandmeetingbreakoutroom.ts create mode 100644 packages/typescript/src/models/components/travelproposalgroupandmeetingdaydelegaterate.ts create mode 100644 packages/typescript/src/models/components/travelproposalgroupandmeetingmeetingroombasicinformation.ts create mode 100644 packages/typescript/src/models/components/travelproposalgroupandmeetingrunofhouserate.ts create mode 100644 packages/typescript/src/models/components/travelproposalgroupandmeetingtaxandservicecharge.ts delete mode 100644 packages/typescript/src/models/components/travelrunofhouseratejson.ts delete mode 100644 packages/typescript/src/models/components/traveltaxandservicechargejson.ts create mode 100644 packages/typescript/src/models/components/unitposition.ts delete mode 100644 packages/typescript/src/models/components/unitpositionjson.ts create mode 100644 packages/typescript/src/models/components/updatedthroughnameproperty.ts delete mode 100644 packages/typescript/src/models/components/updatedthroughnamepropertyjson.ts create mode 100644 packages/typescript/src/models/components/video1.ts create mode 100644 packages/typescript/src/models/components/videoassetid.ts delete mode 100644 packages/typescript/src/models/components/videoassetidjson.ts create mode 100644 packages/typescript/src/models/components/videoclip.ts delete mode 100644 packages/typescript/src/models/components/videoclipjson.ts create mode 100644 packages/typescript/src/models/components/videoerror.ts create mode 100644 packages/typescript/src/models/components/videoerrorcode.ts delete mode 100644 packages/typescript/src/models/components/videoerrorcodejson.ts delete mode 100644 packages/typescript/src/models/components/videoerrorjson.ts delete mode 100644 packages/typescript/src/models/components/videojson.ts create mode 100644 packages/typescript/src/models/components/videorendition.ts delete mode 100644 packages/typescript/src/models/components/videorenditionjson.ts create mode 100644 packages/typescript/src/models/components/videorenditiontype.ts delete mode 100644 packages/typescript/src/models/components/videorenditiontypejson.ts create mode 100644 packages/typescript/src/models/components/videosource.ts delete mode 100644 packages/typescript/src/models/components/videosourcejson.ts create mode 100644 packages/typescript/src/models/components/videostatus.ts delete mode 100644 packages/typescript/src/models/components/videostatusjson.ts create mode 100644 packages/typescript/src/models/components/videotexttrackkind.ts delete mode 100644 packages/typescript/src/models/components/videotexttrackkindjson.ts create mode 100644 packages/typescript/src/models/components/videotexttrackstatus.ts delete mode 100644 packages/typescript/src/models/components/videotexttrackstatusjson.ts create mode 100644 packages/typescript/src/models/components/videothumbnail.ts delete mode 100644 packages/typescript/src/models/components/videothumbnailjson.ts create mode 100644 packages/typescript/src/models/components/videotype.ts delete mode 100644 packages/typescript/src/models/components/videotypejson.ts create mode 100644 packages/typescript/src/models/components/videoview.ts delete mode 100644 packages/typescript/src/models/components/videoviewjson.ts create mode 100644 packages/typescript/src/models/components/videowarning.ts create mode 100644 packages/typescript/src/models/components/videowarningcode.ts delete mode 100644 packages/typescript/src/models/components/videowarningcodejson.ts delete mode 100644 packages/typescript/src/models/components/videowarningjson.ts create mode 100644 packages/typescript/src/models/components/viewtype1.ts delete mode 100644 packages/typescript/src/models/components/viewtypejson1.ts create mode 100644 packages/typescript/src/models/components/voucher.ts create mode 100644 packages/typescript/src/models/components/vouchercapacity.ts create mode 100644 packages/typescript/src/models/components/voucherspaginatedresponse.ts create mode 100644 packages/typescript/src/models/components/weddingdetails1.ts delete mode 100644 packages/typescript/src/models/components/weddingdetailsjson0.ts create mode 100644 packages/typescript/src/models/components/weddingpartner.ts delete mode 100644 packages/typescript/src/models/components/weddingpartnerjson.ts delete mode 100644 packages/typescript/src/models/components/zeroallof9.ts create mode 100644 packages/typescript/src/models/errors/errorresponsejson12.ts delete mode 100644 packages/typescript/src/models/errors/errorresponsejson17.ts create mode 100644 packages/typescript/src/models/operations/listeventvoucherattendees.ts create mode 100644 packages/typescript/src/models/operations/listeventvouchers.ts create mode 100644 packages/typescript/src/models/operations/listeventvoucherspostfilter.ts diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 094114c89..5b4ed5076 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,8 +2,8 @@ speakeasyVersion: 1.752.0 sources: Public: sourceNamespace: public - sourceRevisionDigest: sha256:c422cb0b4b22af7921782ebe78e0f17092f7b0f3e4dfe6a1a8367366d72462aa - sourceBlobDigest: sha256:a9f07f00e14f09eb970fb1311cb3b8e3ad95f85a09c6f72b3c938039bb100093 + sourceRevisionDigest: sha256:7ffd2d116e23fc13f4a47363fdb2522a2c3899f632615bfc6bc9f2b2f1f7513d + sourceBlobDigest: sha256:659ff5fb3d3647046a7414ac9019e47613d4967f8a0bf609a09802752a027b02 tags: - latest - ea @@ -11,18 +11,24 @@ targets: public-csharp: source: Public sourceNamespace: public - sourceRevisionDigest: sha256:c422cb0b4b22af7921782ebe78e0f17092f7b0f3e4dfe6a1a8367366d72462aa - sourceBlobDigest: sha256:a9f07f00e14f09eb970fb1311cb3b8e3ad95f85a09c6f72b3c938039bb100093 + sourceRevisionDigest: sha256:7ffd2d116e23fc13f4a47363fdb2522a2c3899f632615bfc6bc9f2b2f1f7513d + sourceBlobDigest: sha256:659ff5fb3d3647046a7414ac9019e47613d4967f8a0bf609a09802752a027b02 + codeSamplesNamespace: csharp + codeSamplesRevisionDigest: sha256:834c3f21a3332342953ee75bb0e38eedf8120cfa77722e723d13a07526d3af71 public-java: source: Public sourceNamespace: public - sourceRevisionDigest: sha256:c422cb0b4b22af7921782ebe78e0f17092f7b0f3e4dfe6a1a8367366d72462aa - sourceBlobDigest: sha256:a9f07f00e14f09eb970fb1311cb3b8e3ad95f85a09c6f72b3c938039bb100093 + sourceRevisionDigest: sha256:7ffd2d116e23fc13f4a47363fdb2522a2c3899f632615bfc6bc9f2b2f1f7513d + sourceBlobDigest: sha256:659ff5fb3d3647046a7414ac9019e47613d4967f8a0bf609a09802752a027b02 + codeSamplesNamespace: java + codeSamplesRevisionDigest: sha256:605d0ed9ef151021de6321c923dc4024fb5875e22bb552dbc474c86763deeb11 public-typescript: source: Public sourceNamespace: public - sourceRevisionDigest: sha256:c422cb0b4b22af7921782ebe78e0f17092f7b0f3e4dfe6a1a8367366d72462aa - sourceBlobDigest: sha256:a9f07f00e14f09eb970fb1311cb3b8e3ad95f85a09c6f72b3c938039bb100093 + sourceRevisionDigest: sha256:7ffd2d116e23fc13f4a47363fdb2522a2c3899f632615bfc6bc9f2b2f1f7513d + sourceBlobDigest: sha256:659ff5fb3d3647046a7414ac9019e47613d4967f8a0bf609a09802752a027b02 + codeSamplesNamespace: typescript + codeSamplesRevisionDigest: sha256:3a3216a4b07624b60abecac693acb09b84d1043dcff9a17c031d9846c47d94d6 workflow: workflowVersion: 1.0.0 speakeasyVersion: 1.752.0 diff --git a/cvent-public-spec/openapi.yaml b/cvent-public-spec/openapi.yaml index 8a3cc5d1e..5522bf3ee 100644 --- a/cvent-public-spec/openapi.yaml +++ b/cvent-public-spec/openapi.yaml @@ -749,7 +749,7 @@ paths: '404': $ref: '#/components/responses/NotFound1' '422': - $ref: '#/components/responses/UnprocessableEntity14' + $ref: '#/components/responses/UnprocessableEntity10' '429': $ref: '#/components/responses/TooManyRequests1' deprecated: false @@ -794,7 +794,7 @@ paths: '404': $ref: '#/components/responses/NotFound1' '422': - $ref: '#/components/responses/UnprocessableEntity14' + $ref: '#/components/responses/UnprocessableEntity10' '429': $ref: '#/components/responses/TooManyRequests1' deprecated: false @@ -1079,35 +1079,28 @@ paths: in: query required: false description: | - A filter string passed in the body of the request, narrows search results and supports the combination of logical and comparison operators. - The filter adheres to the pattern filter='field' comparisonType 'value'. + Use filter query parameters to limit results + to data that matches your criteria. See + [Filters](/docs/rest-api/reference/filters) for details. - There are eight comparison types that can be used in filter expressions: - * equal: eq - * not equal: ne - * greater than: gt - * greater or equal: ge - * less than: lt - * less than or equal: le - * starts with: sw - * contains a value: contains - * includes value(s): in + Supported fields and operators are listed below: - The following fields are filterable: - * id (eq|ne) - * event.id (eq|ne|in) - * session.id (eq|ne|in) - * attendee.id (eq|ne|in) - * type (contains|eq|ne|in) - * deleted (eq|ne) - * firstSeen (eq|ne|lt|le|gt|ge) - * lastSeen (eq|ne|lt|le|gt|ge) - * duration (eq|ne|lt|le|gt|ge) - * created (eq|ne|lt|le|gt|ge) + | Field | Operators | + |-------------|------------------------------------| + | id | `eq`, `ne` | + | event.id | `eq`, `ne`, `in` | + | session.id | `eq`, `ne`, `in` | + | attendee.id | `eq`, `ne`, `in` | + | type | `contains`, `eq`, `ne`, `in` | + | deleted | `eq`, `ne` | + | firstSeen | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | + | lastSeen | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | + | duration | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | + | created | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | - The following operators are available: - * and - * or + The following logical operators are supported for combining filters: + * and + * or schema: type: string example: firstSeen gt '2020-02-07T12:00:00.000Z' and session.id = '0e2f583e-62ae-40d8-9b5c-b8e67a6ba1ab' @@ -2164,7 +2157,7 @@ paths: '403': $ref: '#/components/responses/Forbidden1' '422': - $ref: '#/components/responses/UnprocessableEntity14' + $ref: '#/components/responses/UnprocessableEntity10' '429': $ref: '#/components/responses/TooManyRequests1' externalDocs: @@ -2347,7 +2340,7 @@ paths: '404': $ref: '#/components/responses/NotFound1' '422': - $ref: '#/components/responses/UnprocessableEntity14' + $ref: '#/components/responses/UnprocessableEntity10' '429': $ref: '#/components/responses/TooManyRequests1' externalDocs: @@ -2450,7 +2443,7 @@ paths: '404': $ref: '#/components/responses/NotFound1' '422': - $ref: '#/components/responses/UnprocessableEntity14' + $ref: '#/components/responses/UnprocessableEntity10' '429': $ref: '#/components/responses/TooManyRequests1' externalDocs: @@ -2711,15 +2704,15 @@ paths: schema: $ref: '#/components/schemas/bulk-job-with-data' '400': - $ref: '#/components/responses/BadRequest32' + $ref: '#/components/responses/BadRequest26' '401': - $ref: '#/components/responses/Unauthorized32' + $ref: '#/components/responses/Unauthorized26' '403': - $ref: '#/components/responses/Forbidden32' + $ref: '#/components/responses/Forbidden26' '409': $ref: '#/components/responses/JobLimitExceeded' '429': - $ref: '#/components/responses/TooManyRequests31' + $ref: '#/components/responses/TooManyRequests26' deprecated: false /bulk-jobs/{id}: parameters: @@ -2742,15 +2735,15 @@ paths: schema: $ref: '#/components/schemas/bulk-job' '400': - $ref: '#/components/responses/BadRequest32' + $ref: '#/components/responses/BadRequest26' '401': - $ref: '#/components/responses/Unauthorized32' + $ref: '#/components/responses/Unauthorized26' '403': - $ref: '#/components/responses/Forbidden32' + $ref: '#/components/responses/Forbidden26' '404': - $ref: '#/components/responses/NotFound32' + $ref: '#/components/responses/NotFound26' '429': - $ref: '#/components/responses/TooManyRequests31' + $ref: '#/components/responses/TooManyRequests26' /bulk-jobs/{id}/cancel: parameters: - $ref: '#/components/parameters/uuid1' @@ -2772,15 +2765,15 @@ paths: schema: $ref: '#/components/schemas/bulk-job' '400': - $ref: '#/components/responses/BadRequest32' + $ref: '#/components/responses/BadRequest26' '401': - $ref: '#/components/responses/Unauthorized32' + $ref: '#/components/responses/Unauthorized26' '403': - $ref: '#/components/responses/Forbidden32' + $ref: '#/components/responses/Forbidden26' '404': - $ref: '#/components/responses/NotFound32' + $ref: '#/components/responses/NotFound26' '429': - $ref: '#/components/responses/TooManyRequests31' + $ref: '#/components/responses/TooManyRequests26' /bulk-jobs/{id}/data: parameters: - $ref: '#/components/parameters/uuid1' @@ -2813,17 +2806,17 @@ paths: schema: $ref: '#/components/schemas/bulk-data-upload-response' '400': - $ref: '#/components/responses/BadRequest32' + $ref: '#/components/responses/BadRequest26' '401': - $ref: '#/components/responses/Unauthorized32' + $ref: '#/components/responses/Unauthorized26' '403': - $ref: '#/components/responses/Forbidden32' + $ref: '#/components/responses/Forbidden26' '404': - $ref: '#/components/responses/NotFound32' + $ref: '#/components/responses/NotFound26' '409': $ref: '#/components/responses/DataLimitExceeded' '429': - $ref: '#/components/responses/TooManyRequests31' + $ref: '#/components/responses/TooManyRequests26' /bulk-jobs/{id}/results: parameters: - $ref: '#/components/parameters/uuid1' @@ -2866,15 +2859,15 @@ paths: schema: $ref: '#/components/schemas/bulk-results-paginated-response' '400': - $ref: '#/components/responses/BadRequest32' + $ref: '#/components/responses/BadRequest26' '401': - $ref: '#/components/responses/Unauthorized32' + $ref: '#/components/responses/Unauthorized26' '403': - $ref: '#/components/responses/Forbidden32' + $ref: '#/components/responses/Forbidden26' '404': - $ref: '#/components/responses/NotFound32' + $ref: '#/components/responses/NotFound26' '429': - $ref: '#/components/responses/TooManyRequests31' + $ref: '#/components/responses/TooManyRequests26' /bulk-jobs/{id}/run: parameters: - $ref: '#/components/parameters/uuid1' @@ -2899,17 +2892,17 @@ paths: schema: $ref: '#/components/schemas/bulk-job' '400': - $ref: '#/components/responses/BadRequest32' + $ref: '#/components/responses/BadRequest26' '401': - $ref: '#/components/responses/Unauthorized32' + $ref: '#/components/responses/Unauthorized26' '403': - $ref: '#/components/responses/Forbidden32' + $ref: '#/components/responses/Forbidden26' '404': - $ref: '#/components/responses/NotFound32' + $ref: '#/components/responses/NotFound26' '409': $ref: '#/components/responses/JobLimitExceeded' '429': - $ref: '#/components/responses/TooManyRequests31' + $ref: '#/components/responses/TooManyRequests26' /campaigns: get: summary: List eMarketing Campaigns @@ -5984,25 +5977,28 @@ paths: schema: type: string description: | - Filters are used to narrow the results returned and support a combination of logical and comparison - operators. + Filters narrow results returned based on the criteria you supply. - The filter adheres to the pattern `filter='field' comparisonType 'value'`. + Filters follow the pattern `filter='field' operator 'value'`. - These are the comparison types that can be used in filter expressions: - - equals to: eq - - match any of the values in the list: in + The following comparison operators are supported: + - `eq`: equals to + - `in`: match any of the values in the list - The following operators can be used: - - or + The following fields are supported: - The following fields are filterable: - * `channel.id` (eq/in) + | Field | Operators | + |------------------|------------------------------------| + | channel.id | `eq`, `in` | + + The following logical operators are supported for combining filters: + - `or` + + **Examples:** - Examples: - - Filter channel IDs: - * `filter=channel.id in ('production_group_0cb93bab-32d2-4f82-b430-e1911f2348ac', 'production_group_f6dfb98a-c734-487c-97e1-7c7a09a9125f')` - * `filter=channel.id eq 'production_attendee_616241fd-e97d-48c5-8c4b-4b926f50e8c3' or channel.id eq 'production_group_616241fd-e97d-48c5-8c4b-4b926f50e8c3'` + Filter channel IDs: + * `filter=channel.id in ('production_group_0cb93bab-32d2-4f82-b430-e1911f2348ac', 'production_group_f6dfb98a-c734-487c-97e1-7c7a09a9125f')` + * `filter=channel.id eq 'production_attendee_616241fd-e97d-48c5-8c4b-4b926f50e8c3' or channel.id eq 'production_group_616241fd-e97d-48c5-8c4b-4b926f50e8c3'` responses: '200': description: Successfully retrieved the list of members. @@ -9033,7 +9029,7 @@ paths: '404': $ref: '#/components/responses/NotFound1' '422': - $ref: '#/components/responses/UnprocessableEntity14' + $ref: '#/components/responses/UnprocessableEntity10' '429': $ref: '#/components/responses/TooManyRequests1' externalDocs: @@ -9490,7 +9486,7 @@ paths: '404': $ref: '#/components/responses/NotFound1' '422': - $ref: '#/components/responses/UnprocessableEntity14' + $ref: '#/components/responses/UnprocessableEntity10' '429': $ref: '#/components/responses/TooManyRequests1' externalDocs: @@ -9572,7 +9568,7 @@ paths: '404': $ref: '#/components/responses/NotFound1' '422': - $ref: '#/components/responses/UnprocessableEntity14' + $ref: '#/components/responses/UnprocessableEntity10' '429': $ref: '#/components/responses/TooManyRequests1' externalDocs: @@ -11676,6 +11672,146 @@ paths: externalDocs: description: More about OAuth2 authorization code support for administrators url: '#oauth2-auth-code-planner-admin' + /events/{id}/vouchers: + get: + summary: List Event Vouchers + operationId: listEventVouchers + tags: + - Events + security: + - OAuth2.clientCredentials: + - event/vouchers:read + - OAuth2.authorizationCode: + - event/vouchers:read + description: | + Retrieves a paginated list of vouchers set up for a specific event. + parameters: + - $ref: '#/components/parameters/eventId2' + - $ref: '#/components/parameters/limit' + - $ref: '#/components/parameters/token' + - $ref: '#/components/parameters/before' + - $ref: '#/components/parameters/after' + - $ref: '#/components/parameters/voucherSort' + - name: filter + in: query + required: false + description: | + Use filter query parameters to limit results + to data that matches your criteria. See + [Filters](/docs/rest-api/reference/filters) for details. + + Supported fields and operators are listed below: + + | Field | Operators | + |-------|-----------| + | id | `in` | + + No logical operators are available. + schema: + type: string + example: id in ('1800c9bd-b5f4-438a-a92c-ea1f59553a5c', '2900d8ce-c6f5-449b-b03d-fb2f60664b6d') + responses: + '200': + description: Successfully retrieved a paginated list of vouchers. + headers: {} + content: + application/json: + schema: + $ref: '#/components/schemas/vouchers-paginated-response' + '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' + /events/{id}/vouchers/filter: + post: + summary: List Event Vouchers (Filter) + operationId: listEventVouchersPostFilter + tags: + - Events + security: + - OAuth2.clientCredentials: + - event/vouchers:read + - OAuth2.authorizationCode: + - event/vouchers:read + 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/limit' + - $ref: '#/components/parameters/token' + - $ref: '#/components/parameters/before' + - $ref: '#/components/parameters/after' + - $ref: '#/components/parameters/voucherSort' + requestBody: + description: | + See the `filter` parameter in [List Event Vouchers](#operation/listEventVouchers) for full filtering information. + required: false + content: + application/json: + schema: + $ref: '#/components/schemas/filter' + example: + filter: id in ('1800c9bd-b5f4-438a-a92c-ea1f59553a5c', '2900d8ce-c6f5-449b-b03d-fb2f60664b6d') + responses: + '200': + description: Successfully retrieved a paginated list of vouchers. + headers: {} + content: + application/json: + schema: + $ref: '#/components/schemas/vouchers-paginated-response' + '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' + /events/{id}/vouchers/{voucherId}/attendees: + get: + summary: List Voucher Attendees + operationId: listEventVoucherAttendees + tags: + - Events + security: + - OAuth2.clientCredentials: + - event/vouchers:read + - OAuth2.authorizationCode: + - event/vouchers:read + 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/voucherId' + - $ref: '#/components/parameters/limit' + - $ref: '#/components/parameters/token' + responses: + '200': + description: Successfully retrieved a paginated list of attendees for the voucher. + headers: {} + content: + application/json: + schema: + $ref: '#/components/schemas/attendees-paginated-response' + '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' /events/{id}/weblinks: parameters: - $ref: '#/components/parameters/id10' @@ -12646,7 +12782,7 @@ paths: '404': $ref: '#/components/responses/NotFound1' '422': - $ref: '#/components/responses/UnprocessableEntity14' + $ref: '#/components/responses/UnprocessableEntity10' '429': $ref: '#/components/responses/TooManyRequests1' deprecated: false @@ -14859,13 +14995,13 @@ paths: '200': $ref: '#/components/responses/UsersGroupsResponse' '400': - $ref: '#/components/responses/BadRequest23' + $ref: '#/components/responses/BadRequest18' '401': - $ref: '#/components/responses/Unauthorized23' + $ref: '#/components/responses/Unauthorized18' '403': - $ref: '#/components/responses/Forbidden23' + $ref: '#/components/responses/Forbidden18' '429': - $ref: '#/components/responses/TooManyRequests22' + $ref: '#/components/responses/TooManyRequests18' externalDocs: description: More about OAuth2 authorization code support for administrators url: '#oauth2-auth-code-planner-admin' @@ -14885,11 +15021,11 @@ paths: '200': $ref: '#/components/responses/ResourceTypes' '401': - $ref: '#/components/responses/Unauthorized23' + $ref: '#/components/responses/Unauthorized18' '403': - $ref: '#/components/responses/Forbidden23' + $ref: '#/components/responses/Forbidden18' '429': - $ref: '#/components/responses/TooManyRequests22' + $ref: '#/components/responses/TooManyRequests18' externalDocs: description: More about OAuth2 authorization code support for administrators url: '#oauth2-auth-code-planner-admin' @@ -14915,15 +15051,15 @@ paths: schema: $ref: '#/components/schemas/ResourceType' '400': - $ref: '#/components/responses/BadRequest23' + $ref: '#/components/responses/BadRequest18' '401': - $ref: '#/components/responses/Unauthorized23' + $ref: '#/components/responses/Unauthorized18' '403': - $ref: '#/components/responses/Forbidden23' + $ref: '#/components/responses/Forbidden18' '404': - $ref: '#/components/responses/NotFound23' + $ref: '#/components/responses/NotFound18' '429': - $ref: '#/components/responses/TooManyRequests22' + $ref: '#/components/responses/TooManyRequests18' externalDocs: description: More about OAuth2 authorization code support for administrators url: '#oauth2-auth-code-planner-admin' @@ -14943,11 +15079,11 @@ paths: '200': $ref: '#/components/responses/UsersSchemaResponse' '401': - $ref: '#/components/responses/Unauthorized23' + $ref: '#/components/responses/Unauthorized18' '403': - $ref: '#/components/responses/Forbidden23' + $ref: '#/components/responses/Forbidden18' '429': - $ref: '#/components/responses/TooManyRequests22' + $ref: '#/components/responses/TooManyRequests18' externalDocs: description: More about OAuth2 authorization code support for administrators url: '#oauth2-auth-code-planner-admin' @@ -14973,15 +15109,15 @@ paths: schema: $ref: '#/components/schemas/UsersSchema' '400': - $ref: '#/components/responses/BadRequest23' + $ref: '#/components/responses/BadRequest18' '401': - $ref: '#/components/responses/Unauthorized23' + $ref: '#/components/responses/Unauthorized18' '403': - $ref: '#/components/responses/Forbidden23' + $ref: '#/components/responses/Forbidden18' '404': - $ref: '#/components/responses/NotFound23' + $ref: '#/components/responses/NotFound18' '429': - $ref: '#/components/responses/TooManyRequests22' + $ref: '#/components/responses/TooManyRequests18' externalDocs: description: More about OAuth2 authorization code support for administrators url: '#oauth2-auth-code-planner-admin' @@ -15001,11 +15137,11 @@ paths: '200': $ref: '#/components/responses/ServiceProviderConfig' '401': - $ref: '#/components/responses/Unauthorized23' + $ref: '#/components/responses/Unauthorized18' '403': - $ref: '#/components/responses/Forbidden23' + $ref: '#/components/responses/Forbidden18' '429': - $ref: '#/components/responses/TooManyRequests22' + $ref: '#/components/responses/TooManyRequests18' externalDocs: description: More about OAuth2 authorization code support for administrators url: '#oauth2-auth-code-planner-admin' @@ -15034,15 +15170,15 @@ paths: schema: $ref: '#/components/schemas/User' '400': - $ref: '#/components/responses/BadRequest23' + $ref: '#/components/responses/BadRequest18' '401': - $ref: '#/components/responses/Unauthorized23' + $ref: '#/components/responses/Unauthorized18' '403': - $ref: '#/components/responses/Forbidden23' + $ref: '#/components/responses/Forbidden18' '409': - $ref: '#/components/responses/Conflict14' + $ref: '#/components/responses/Conflict11' '429': - $ref: '#/components/responses/TooManyRequests22' + $ref: '#/components/responses/TooManyRequests18' externalDocs: description: More about OAuth2 authorization code support for administrators url: '#oauth2-auth-code-planner-admin' @@ -15098,13 +15234,13 @@ paths: schema: $ref: '#/components/schemas/Users' '400': - $ref: '#/components/responses/BadRequest23' + $ref: '#/components/responses/BadRequest18' '401': - $ref: '#/components/responses/Unauthorized23' + $ref: '#/components/responses/Unauthorized18' '403': - $ref: '#/components/responses/Forbidden23' + $ref: '#/components/responses/Forbidden18' '429': - $ref: '#/components/responses/TooManyRequests22' + $ref: '#/components/responses/TooManyRequests18' externalDocs: description: More about OAuth2 authorization code support for administrators url: '#oauth2-auth-code-planner-admin' @@ -15130,15 +15266,15 @@ paths: schema: $ref: '#/components/schemas/User' '400': - $ref: '#/components/responses/BadRequest23' + $ref: '#/components/responses/BadRequest18' '401': - $ref: '#/components/responses/Unauthorized23' + $ref: '#/components/responses/Unauthorized18' '403': - $ref: '#/components/responses/Forbidden23' + $ref: '#/components/responses/Forbidden18' '404': - $ref: '#/components/responses/NotFound23' + $ref: '#/components/responses/NotFound18' '429': - $ref: '#/components/responses/TooManyRequests22' + $ref: '#/components/responses/TooManyRequests18' externalDocs: description: More about OAuth2 authorization code support for administrators url: '#oauth2-auth-code-planner-admin' @@ -15168,15 +15304,15 @@ paths: schema: $ref: '#/components/schemas/User' '400': - $ref: '#/components/responses/BadRequest23' + $ref: '#/components/responses/BadRequest18' '401': - $ref: '#/components/responses/Unauthorized23' + $ref: '#/components/responses/Unauthorized18' '403': - $ref: '#/components/responses/Forbidden23' + $ref: '#/components/responses/Forbidden18' '404': - $ref: '#/components/responses/NotFound23' + $ref: '#/components/responses/NotFound18' '429': - $ref: '#/components/responses/TooManyRequests22' + $ref: '#/components/responses/TooManyRequests18' externalDocs: description: More about OAuth2 authorization code support for administrators url: '#oauth2-auth-code-planner-admin' @@ -15198,13 +15334,13 @@ paths: description: Successfully deleted a User. headers: {} '401': - $ref: '#/components/responses/Unauthorized23' + $ref: '#/components/responses/Unauthorized18' '403': - $ref: '#/components/responses/Forbidden23' + $ref: '#/components/responses/Forbidden18' '404': - $ref: '#/components/responses/NotFound23' + $ref: '#/components/responses/NotFound18' '429': - $ref: '#/components/responses/TooManyRequests22' + $ref: '#/components/responses/TooManyRequests18' externalDocs: description: More about OAuth2 authorization code support for administrators url: '#oauth2-auth-code-planner-admin' @@ -17514,6 +17650,7 @@ paths: security: - OAuth2.clientCredentials: - business-transient/travel-accounts:read + - business-travel/travel-accounts:read parameters: - $ref: '#/components/parameters/after' - $ref: '#/components/parameters/before' @@ -17580,6 +17717,7 @@ paths: security: - OAuth2.clientCredentials: - business-transient/travel-accounts:read + - business-travel/travel-accounts:read responses: '200': description: Successfully retrieved a Travel Account. @@ -17638,6 +17776,7 @@ paths: security: - OAuth2.clientCredentials: - business-transient/travel-programs:read + - business-travel/travel-programs:read parameters: - $ref: '#/components/parameters/after' - $ref: '#/components/parameters/before' @@ -17670,6 +17809,7 @@ paths: security: - OAuth2.clientCredentials: - business-transient/travel-program-questions:read + - business-travel/travel-program-questions:read parameters: - $ref: '#/components/parameters/after' - $ref: '#/components/parameters/before' @@ -17705,6 +17845,7 @@ paths: security: - OAuth2.clientCredentials: - business-transient/travel-programs:read + - business-travel/travel-programs:read responses: '200': description: Successfully retrieved a Travel Program. @@ -17735,6 +17876,7 @@ paths: security: - OAuth2.clientCredentials: - business-transient/travel-program-questions:read + - business-travel/travel-program-questions:read parameters: - $ref: '#/components/parameters/after' - $ref: '#/components/parameters/before' @@ -17771,6 +17913,7 @@ paths: security: - OAuth2.clientCredentials: - business-transient/travel-program-questions:read + - business-travel/travel-program-questions:read responses: '200': description: Successfully retrieved a travel program question. @@ -17799,6 +17942,8 @@ paths: security: - OAuth2.clientCredentials: - business-transient/proposals:read + - OAuth2.authorizationCode: + - business-transient/proposals:read parameters: - $ref: '#/components/parameters/after' - $ref: '#/components/parameters/before' @@ -17831,6 +17976,8 @@ paths: security: - OAuth2.clientCredentials: - business-transient/bids:read + - OAuth2.authorizationCode: + - business-transient/bids:read parameters: - $ref: '#/components/parameters/after' - $ref: '#/components/parameters/before' @@ -17895,6 +18042,8 @@ paths: security: - OAuth2.clientCredentials: - business-transient/proposals:read + - OAuth2.authorizationCode: + - business-transient/proposals:read responses: '200': description: Successfully retrieved a travel proposal. @@ -18254,30 +18403,28 @@ paths: in: query required: false description: | - 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'. + Use filter query parameters to limit results + to data that matches your criteria. See + [Filters](/docs/rest-api/reference/filters) for details. - There are six comparison types that can be used in filter expressions: - * equal: eq - * not equal: ne - * greater than: gt - * greater or equal: ge - * less than: lt - * less than or equal: le + Supported fields and operators are listed below: - The following fields are filterable: - * id (eq|ne) - * events (eq|ne) - * sessions (eq|ne) - * exhibitors (eq|ne) - * speakers (eq|ne) - * source.id (eq|ne) - * status (eq|ne) - * tags (eq|ne) - * recording.id (eq|ne) + | Field | Operators | Notes | + |--------------|------------|----------------------------------| + | id | `eq`, `ne` | | + | events | `eq`, `ne` | | + | sessions | `eq`, `ne` | | + | exhibitors | `eq`, `ne` | | + | speakers | `eq`, `ne` | | + | source.id | `eq`, `ne` | | + | status | `eq`, `ne` | | + | tags | `eq`, `ne` | | + | recording.id | `eq`, `ne` | | + | event.id | `eq`, `ne` | deprecated, use `events` instead | - The following filterable fields have been deprecated, use the plural form above: - * event.id (eq|ne) + The following logical operators are supported for combining filters: + * and + * or schema: type: string example: events eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' and source.id ne 'sampleWebcastSystemId' @@ -18327,22 +18474,24 @@ paths: in: query required: false description: | - 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'. - The filter query supports maximum three fields in filter expression. + Use filter query parameters to limit results + to data that matches your criteria. See + [Filters](/docs/rest-api/reference/filters) for details. - There is one comparison type that can be used in filter expressions: - * equal: eq + Supported fields and operators are listed below: - The following fields are filterable: - * contact.id (eq) - * solution (eq) - * device.type (eq) [deprecated] - * device.operatingSystem (eq) [deprecated] - * video.id (eq) - * type (eq) + | Field | Operators | Notes | + |------------------------|-----------|------------| + | contact.id | `eq` | | + | solution | `eq` | | + | device.type | `eq` | deprecated | + | device.operatingSystem | `eq` | deprecated | + | video.id | `eq` | | + | type | `eq` | | - The following operators are available: + The filter query supports maximum three fields in a filter expression. + + The following logical operators are supported for combining filters: * and schema: type: string @@ -20508,7 +20657,7 @@ components: in: path required: true schema: - $ref: '#/components/schemas/uuid-property' + $ref: '#/components/schemas/UUIDProperty' registrationPackId: in: path name: registrationPackId @@ -21046,7 +21195,7 @@ components: description: The identifier of a video text track. required: true schema: - $ref: '#/components/schemas/uuid-property' + $ref: '#/components/schemas/UUIDProperty' token: name: token in: query @@ -21231,7 +21380,7 @@ components: required: true in: path schema: - $ref: '#/components/schemas/uuid-property' + $ref: '#/components/schemas/UUIDProperty' travelProposalId: description: Unique ID of a travel proposal. example: 413c5cc2-cb77-4082-9131-bab73fde5834 @@ -21239,7 +21388,7 @@ components: required: true in: path schema: - $ref: '#/components/schemas/uuid-property' + $ref: '#/components/schemas/UUIDProperty' type: name: type in: path @@ -21316,8 +21465,33 @@ components: name: videoId description: The identifier of a video. required: true + schema: + $ref: '#/components/schemas/UUIDProperty' + voucherId: + in: path + name: voucherId + description: Unique ID of a voucher. + required: true schema: $ref: '#/components/schemas/uuid-property' + voucherSort: + name: sort + in: query + required: false + description: | + The sort order for the results, expressed as a priority-ordered list of field and direction pairs. + + There are two sort directions: + * ascending: ASC + * descending: DESC + + The following fields are sortable: + * code + + When not provided, results are sorted by `code` ascending. + schema: + type: string + example: code:ASC weblinkId: in: path name: weblinkId @@ -21351,23 +21525,23 @@ components: content: application/json: schema: - $ref: '#/components/schemas/error-response' + $ref: '#/components/schemas/ErrorResponse' example: code: 400 message: Bad Request - BadRequest23: + BadRequest18: description: Bad request content: application/json: schema: - $ref: '#/components/schemas/error-response.json17' + $ref: '#/components/schemas/error-response.json12' example: schemas: - urn:ietf:params:scim:api:messages:2.0:Error status: 400 detail: Request is unparsable, syntactically incorrect, or violates schema. scimType: invalidSyntax - BadRequest32: + BadRequest26: description: Bad request content: application/json: @@ -21384,16 +21558,16 @@ components: content: application/json: schema: - $ref: '#/components/schemas/error-response' + $ref: '#/components/schemas/ErrorResponse' example: code: 409 message: Conflict - Conflict14: + Conflict11: description: The request conflicts with current state of the target resource content: application/json: schema: - $ref: '#/components/schemas/error-response.json17' + $ref: '#/components/schemas/error-response.json12' example: schemas: - urn:ietf:params:scim:api:messages:2.0:Error @@ -21426,22 +21600,22 @@ components: content: application/json: schema: - $ref: '#/components/schemas/error-response' + $ref: '#/components/schemas/ErrorResponse' example: code: 403 message: Access Forbidden - Forbidden23: + Forbidden18: description: You do not have access to the resource content: application/json: schema: - $ref: '#/components/schemas/error-response.json17' + $ref: '#/components/schemas/error-response.json12' example: schemas: - urn:ietf:params:scim:api:messages:2.0:Error status: 403 detail: User is Forbidden to make this request - Forbidden32: + Forbidden26: description: You do not have access to the resource content: application/json: @@ -21479,22 +21653,22 @@ components: content: application/json: schema: - $ref: '#/components/schemas/error-response' + $ref: '#/components/schemas/ErrorResponse' example: code: 404 message: Not found - NotFound23: + NotFound18: description: Resource not found content: application/json: schema: - $ref: '#/components/schemas/error-response.json17' + $ref: '#/components/schemas/error-response.json12' example: schemas: - urn:ietf:params:scim:api:messages:2.0:Error status: 404 detail: HTTP 404 Not Found - NotFound32: + NotFound26: description: Resource not found content: application/json: @@ -21529,22 +21703,22 @@ components: content: application/json: schema: - $ref: '#/components/schemas/error-response' + $ref: '#/components/schemas/ErrorResponse' example: code: 429 message: Limit Exceeded - TooManyRequests22: + TooManyRequests18: description: Too Many Requests content: application/json: schema: - $ref: '#/components/schemas/error-response.json17' + $ref: '#/components/schemas/error-response.json12' example: schemas: - urn:ietf:params:scim:api:messages:2.0:Error status: 429 detail: Too Many Requests - TooManyRequests31: + TooManyRequests26: description: Too many requests content: application/json: @@ -21555,29 +21729,29 @@ components: content: application/json: schema: - $ref: '#/components/schemas/error-response' + $ref: '#/components/schemas/ErrorResponse' example: code: 401 message: Unauthorized - Unauthorized23: + Unauthorized18: description: Bad or expired token content: application/json: schema: - $ref: '#/components/schemas/error-response.json17' + $ref: '#/components/schemas/error-response.json12' example: schemas: - urn:ietf:params:scim:api:messages:2.0:Error status: 401 detail: Request failed authentication/authorization process scimType: invalidValue - Unauthorized32: + Unauthorized26: description: Bad or expired token content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' - UnprocessableEntity14: + UnprocessableEntity10: description: Was not able to process the request. content: application/json: @@ -21691,7 +21865,7 @@ components: id: $ref: '#/components/schemas/organization-id.json' stub: - $ref: '#/components/schemas/Organization/properties/stub/allOf/0' + $ref: '#/components/schemas/Organization1/properties/stub/allOf/0' number: $ref: '#/components/schemas/organization-number.json' - readOnly: true @@ -21793,9 +21967,9 @@ components: example: hporter properties: event: - $ref: '#/components/schemas/event.json2' + $ref: '#/components/schemas/event.json1' rfp: - $ref: '#/components/schemas/rfp-id.json1' + $ref: '#/components/schemas/rfp-id.json' budgetVersion: $ref: '#/components/schemas/budget-version-id.json' id: @@ -22860,20 +23034,7 @@ components: type: number example: 15 currency: - $ref: '#/components/schemas/currency.json2' - additional-choice.json: - title: additionalChoice - description: Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. - type: object - properties: - text: - type: string - description: Display text of additional choice. - example: Dietary Restriction - Other - shortText: - type: string - description: Name of additional choice text in reporting. - example: Dietary Preference - Other Allergies + $ref: '#/components/schemas/currency.json1' additional-guest-fees.json: title: AdditionalGuestFees description: Details about additional fees for extra guests. @@ -22893,14 +23054,18 @@ components: type: number example: 20 AdditionalChoice: - title: Additional Choice - description: Contains text of additional choice + title: additionalChoice + description: Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. type: object properties: text: type: string - description: Text Value of additional choice - example: Not Applicable or Other + description: Display text of additional choice. + example: Dietary Restriction - Other + shortText: + type: string + description: Name of additional choice text in reporting. + example: Dietary Preference - Other Allergies additionalChoice.json: title: additionalChoice description: Contains text of additional choice i.e N/A choice or otherAnswer choice @@ -22914,7 +23079,60 @@ components: type: string description: Reporting value of additional choice text example: N/A or Other Reporting value + AdditionalChoice1: + title: Additional Choice + description: Contains text of additional choice + type: object + properties: + text: + type: string + description: Text Value of additional choice + example: Not Applicable or Other + Address: + title: Address + description: Contact address details. + type: object + allOf: + - $ref: '#/components/schemas/BaseAddress' + properties: + region: + type: string + description: The name of the state/province/region of the address. + readOnly: true + example: Texas + regionCode: + type: string + description: The abbreviation of the state/province/region of the address. + minLength: 2 + maxLength: 10 + example: TX + country: + type: string + description: Name of the country of the address. + readOnly: true + example: United States of America Address-1: + type: object + title: Address + description: Address details. + required: + - city + - countryCode + properties: + countryCode: + type: string + description: ISO 3166 code for the country. + example: US + city: + type: string + maxLength: 100 + description: The name of the city. + example: Austin + regionCode: + type: string + description: ISO 3166-2 code for the state/province/region. + example: US-AL + Address-11: title: Address description: Schema for address information type: object @@ -22952,14 +23170,6 @@ components: description: ISO 3166 two-letter (alpha-2) country code example: US address-type.json: - title: AddressType - enum: - - Home - - Work - type: string - description: The type of address. - example: Home - address-type.json1: title: AddressType description: The type of the address. enum: @@ -22968,84 +23178,6 @@ components: type: string example: work address.json: - title: Address - description: Contact address details. - type: object - allOf: - - title: Base Address - description: Base Address Model - type: object - properties: - address1: - type: string - maxLength: 40 - description: The first line of an address. - example: Cvent Inc. - address2: - type: string - maxLength: 40 - description: The second line of an address. - example: 4001 West Parmer Lane - address3: - type: string - maxLength: 40 - description: The third line of an address. - example: PO Box 123 - city: - type: string - maxLength: 40 - description: The name of the city. - example: Austin - countryCode: - type: string - maxLength: 3 - minLength: 2 - description: ISO 3166 two-letter (alpha-2) country code. - example: US - postalCode: - type: string - maxLength: 25 - description: Postal code (also known as zipcode) of the address. - example: '78727' - properties: - region: - type: string - description: The name of the state/province/region of the address. - readOnly: true - example: Texas - regionCode: - type: string - description: The abbreviation of the state/province/region of the address. - minLength: 2 - maxLength: 10 - example: TX - country: - type: string - description: Name of the country of the address. - readOnly: true - example: United States of America - address.json-0: - type: object - title: Address - description: Address details. - required: - - city - - countryCode - properties: - countryCode: - type: string - description: ISO 3166 code for the country. - example: US - city: - type: string - maxLength: 100 - description: The name of the city. - example: Austin - regionCode: - type: string - description: ISO 3166-2 code for the state/province/region. - example: US-AL - address.json2: title: Address description: Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. type: object @@ -23082,7 +23214,7 @@ components: description: ISO 3166 alpha-2 country code. type: string example: US - address.json3: + address.json1: title: Address description: A physical address. type: object @@ -23128,7 +23260,7 @@ components: maxLength: 2 minLength: 2 example: US - address.json4: + address.json2: title: Address description: Address type: object @@ -23137,7 +23269,7 @@ components: - primary properties: type: - $ref: '#/components/schemas/address-type.json1' + $ref: '#/components/schemas/address-type.json' streetAddress: type: string description: The street address of the user. @@ -23165,53 +23297,7 @@ components: description: True indicates the address is primary. example: true default: false - address.json5: - title: Address - description: Address details. - type: object - properties: - address1: - description: Address line 1. - type: string - maxLength: 45 - example: 717 N Harwood St - address2: - description: Address line 2. - type: string - maxLength: 45 - example: Suite 2800 - city: - description: City name. - type: string - maxLength: 50 - example: Dallas - region: - description: Region name. - type: string - maxLength: 50 - example: Texas - regionCode: - description: Region code. - type: string - maxLength: 3 - example: TX - postalCode: - description: Postal code. - type: string - maxLength: 16 - example: '75201' - country: - description: Country name. - type: string - maxLength: 50 - example: United States - countryCode: - description: ISO 3166 alpha-2 country code. - type: string - maxLength: 2 - minLength: 2 - example: US - Address1: + Address3: title: Address description: Address details type: object @@ -23246,7 +23332,7 @@ components: minimum: -180 maximum: 180 example: -97 - Address2: + Address4: title: Address type: object description: An object representing an address with various properties. @@ -23275,7 +23361,7 @@ components: type: string description: Name of the country for example, 'United States' example: United States of America - Address3: + Address5: title: Address description: Address of the hotel. type: object @@ -23298,6 +23384,52 @@ components: description: Name of the country. readOnly: true example: United States of America + Address6: + title: Address + description: Address details. + type: object + properties: + address1: + description: Address line 1. + type: string + maxLength: 45 + example: 717 N Harwood St + address2: + description: Address line 2. + type: string + maxLength: 45 + example: Suite 2800 + city: + description: City name. + type: string + maxLength: 50 + example: Dallas + region: + description: Region name. + type: string + maxLength: 50 + example: Texas + regionCode: + description: Region code. + type: string + maxLength: 3 + example: TX + postalCode: + description: Postal code. + type: string + maxLength: 16 + example: '75201' + country: + description: Country name. + type: string + maxLength: 50 + example: United States + countryCode: + description: ISO 3166 alpha-2 country code. + type: string + maxLength: 2 + minLength: 2 + example: US AddressType: title: AddressType enum: @@ -23366,7 +23498,22 @@ components: description: The choices to display if the associated source custom field choice is selected. Leave empty to have no choices displayed. minItems: 0 maxItems: 100 - agenda-item-setup.json: + AgendaItem1: + title: Agenda Item + description: Represents the associated agenda item of a discount. + type: object + properties: + id: + type: string + format: uuid + description: A unique identifier of the agenda item. + example: 14ca6ae2-0dc3-487b-953e-86d6abbdf6d4 + readOnly: true + type: + $ref: '#/components/schemas/EntityType1' + discount: + $ref: '#/components/schemas/UUID' + AgendaItemSetup: type: string title: AgendaItemSetup description: Setup type for the agenda. @@ -23397,7 +23544,7 @@ components: - THEATER - T_SHAPED - U_SHAPED - agenda-item-type.json: + AgendaItemType: type: string title: AgendaItemType description: Type of the agenda. @@ -23421,21 +23568,6 @@ components: - SPEAKER_ROOM - STORAGE_ROOM - TEARDOWN - AgendaItem1: - title: Agenda Item - description: Represents the associated agenda item of a discount. - type: object - properties: - id: - type: string - format: uuid - description: A unique identifier of the agenda item. - example: 14ca6ae2-0dc3-487b-953e-86d6abbdf6d4 - readOnly: true - type: - $ref: '#/components/schemas/EntityType1' - discount: - $ref: '#/components/schemas/UUID' AGeneralLedgerCodeUsedToCategorizeFinancialDataWhichHelpsBusinessesAnalyzeAndReportOnTheirFinancialActivity: title: A general ledger code. Used to categorize financial data, which helps businesses analyze and report on their financial activity. description: A general ledger code associated to a fee. @@ -23843,7 +23975,7 @@ components: $ref: '#/components/schemas/AlternateQuestion' answer: $ref: '#/components/schemas/AlternateAnswer' - amenity-type.json: + AmenityType: title: Amenity Type enum: - included_amenity @@ -23975,7 +24107,7 @@ components: description: A question answer. type: object allOf: - - $ref: '#/components/schemas/question.json3/allOf/0' + - $ref: '#/components/schemas/question.json2/allOf/0' properties: type: type: string @@ -24534,7 +24666,7 @@ components: questions: type: array items: - $ref: '#/components/schemas/custom-field.json1' + $ref: '#/components/schemas/custom-field.json' description: Collection of custom questions asked to participants of the appointment. Appointment1: title: Appointment @@ -24556,7 +24688,7 @@ components: description: The ID of the appointment group. format: uuid example: bf183d50-56ad-454b-8b9f-06d8e923e1fd - asset-location.json: + AssetLocation: title: Asset Location description: A URL associated with the asset. required: @@ -24579,16 +24711,6 @@ components: type: string description: A unique identifier of the registration path. example: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 - attachment-source.json: - type: string - title: AttachmentSource - description: The source from where the attachment was uploaded. - enum: - - FILE_COPY_ADMIN_LIBRARY - - FILE_UPLOAD_LINK_URL - - FILE_UPLOAD_TO_CUSTOM_DRIVE - - FILE_UPLOAD_TO_TEMP_LOCATION - - USER_DOCUMENT_LINK_URL attachment.json1: title: Attachment description: A message attachment. @@ -24601,6 +24723,16 @@ components: type: string format: uri example: https://foo.com/a/picture/of/a/cat.jpg + AttachmentSource: + type: string + title: AttachmentSource + description: The source from where the attachment was uploaded. + enum: + - FILE_COPY_ADMIN_LIBRARY + - FILE_UPLOAD_LINK_URL + - FILE_UPLOAD_TO_CUSTOM_DRIVE + - FILE_UPLOAD_TO_TEMP_LOCATION + - USER_DOCUMENT_LINK_URL attempt.json: title: Survey Attempt type: integer @@ -25104,21 +25236,6 @@ components: items: $ref: '#/components/schemas/attendee-audience-segment-association.json' description: Collection of audience segment associations for the attendee. - attendee-contact-type.json: - title: AttendeeContactType - type: object - description: Contains details related to the attendee's contact type. - properties: - id: - type: string - format: uuid - description: The unique identifier of the contact type - example: 861B51EC-AA7E-475F-B38D-4C8E35C47D63 - name: - type: string - description: A descriptive name for the contact type - example: VIP Member - readOnly: true attendee-credit-type.json: title: AttendeeCreditType description: 'Represents the entity that granted the credit. Event: This credit was granted by an event. Session: This credit was granted by a session.' @@ -25232,7 +25349,7 @@ components: description: Description of the engagement score. example: A score to capture engagement for general attendees. event: - $ref: '#/components/schemas/event.json6' + $ref: '#/components/schemas/event.json5' default: type: boolean description: True indicates this is the default engagement score in the event. @@ -25652,6 +25769,18 @@ components: format: uuid example: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 description: Attendee id + Attendee2: + type: object + description: The reference to the attendee. Contains only the ID of the attendee. + title: Attendee + required: + - id + properties: + id: + type: string + format: uuid + description: Attendee ID. + example: 5b0e8d1f-8fd6-4ebe-977a-602b4a1f9c43 Attendee3: title: Attendee description: Representation of the attendee @@ -25914,7 +26043,7 @@ components: primaryAddressType: $ref: '#/components/schemas/AddressType' homeAddress: - $ref: '#/components/schemas/Address1' + $ref: '#/components/schemas/Address3' homePhone: type: string description: Home phone number @@ -25926,7 +26055,7 @@ components: maxLength: 30 example: 555-555-5555 workAddress: - $ref: '#/components/schemas/Address1' + $ref: '#/components/schemas/Address3' workPhone: type: string description: Work phone number @@ -26264,6 +26393,22 @@ components: Note: The responseMethod can only be set if the invitee's status is No Response. example: Self-Responded + attendees-paginated-response: + title: Attendees Paginated Response + required: + - data + - paging + type: object + description: A paginated response containing a list of attendees who have redeemed a voucher. + properties: + paging: + $ref: '#/components/schemas/Paging' + data: + maxItems: 200 + type: array + items: + $ref: '#/components/schemas/Attendee2' + description: Collection of attendees who have redeemed the voucher. AttendeeStatus: title: AttendeeStatus enum: @@ -26417,7 +26562,7 @@ components: type: object properties: event: - $ref: '#/components/schemas/event.json1' + $ref: '#/components/schemas/event.json' name: type: string description: Name of the audience segment. Must be unique in the event where the segment exists. @@ -26442,7 +26587,7 @@ components: type: object properties: event: - $ref: '#/components/schemas/event.json1' + $ref: '#/components/schemas/event.json' name: type: string description: Name of the audience segment. Must be unique in the event where the segment exists. @@ -26501,7 +26646,49 @@ components: items: $ref: '#/components/schemas/audience-segment-response' description: Collection of audience segments. - audio-track-status.json: + audio-track: + title: AudioTrack + description: The audio track. + type: object + required: + - video + - type + - language + allOf: + - $ref: '#/components/schemas/Audit' + properties: + video: + $ref: '#/components/schemas/VideoAssetID' + type: + $ref: '#/components/schemas/AudioTrackType' + language: + type: string + description: IETF language tag for the audio track. + maxLength: 35 + example: en-US + variant: + $ref: '#/components/schemas/AudioTrackVariant' + default: + description: True indicates this is the default audio track. + type: boolean + default: false + duration: + type: integer + description: Audio track duration (in milliseconds). + example: 3600000 + status: + $ref: '#/components/schemas/AudioTrackStatus' + audio-tracks-response: + title: AudioTracksResponse + description: The response from a request to get the list of audio tracks. + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/existing-audio-track' + description: Collection of audio tracks. + AudioTrackStatus: title: AudioTrackStatus enum: - Started @@ -26515,7 +26702,7 @@ components: type: string description: Denotes the status of an audio track. Started indicates the request to upload in the API was submitted, and the URL you'll upload an audio track to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the audio track. Available indicates the audio track is available for use. example: Started - audio-track-type.json: + AudioTrackType: title: AudioTrackType enum: - asf @@ -26531,7 +26718,7 @@ components: type: string description: Denotes the file format of the audio track. example: mp3 - audio-track-variant.json: + AudioTrackVariant: title: AudioTrackVariant enum: - Main @@ -26543,16 +26730,6 @@ components: default: Alternate description: Denotes the variant of an audio track. Main is the primary audio track for this video. Alternate is a possible alternative to the main track. Commentary is a commentary on the primary audio or video track, e.g. a director's commentary. Dub is a translated version of the main audio track. Descriptive is an audio description of a video track. example: Alternate - audio-tracks-response: - title: AudioTracksResponse - description: The response from a request to get the list of audio tracks. - type: object - properties: - data: - type: array - items: - $ref: '#/components/schemas/existing-audio-track' - description: Collection of audio tracks. Audit: title: Audit description: Audit information @@ -26682,7 +26859,7 @@ components: taxStructure: $ref: '#/components/schemas/tax-structure.json' currency: - $ref: '#/components/schemas/currency.json2' + $ref: '#/components/schemas/currency.json1' maxGuests: $ref: '#/components/schemas/max-guests.json' minLengthOfStay: @@ -26784,7 +26961,7 @@ components: attendee: $ref: '#/components/schemas/Attendee1' event: - $ref: '#/components/schemas/Event2' + $ref: '#/components/schemas/Event3' badge-paginated-response: title: BadgeListResponse type: object @@ -26984,7 +27161,7 @@ components: type: object properties: question: - $ref: '#/components/schemas/question.json3/allOf/0' + $ref: '#/components/schemas/question.json2/allOf/0' answers: type: array items: @@ -27044,25 +27221,7 @@ components: title: ErrorResponse description: Represents an error response with additional details of cascading error messages. allOf: - - title: ErrorResponseBase - type: object - description: Represents an error response with no additional details. - required: - - code - - message - properties: - code: - type: integer - description: The HTTP status code representing the error. - example: 400 - message: - type: string - description: A brief description of the error. - example: Bad Request - target: - type: string - description: The target resource of the error. - example: example target + - $ref: '#/components/schemas/ErrorResponseBase' type: object required: - code @@ -27071,9 +27230,9 @@ components: details: type: array items: - $ref: '#/components/schemas/baseErrorResponse/allOf/0' + $ref: '#/components/schemas/ErrorResponseBase' description: Additional details of cascading error messages. - bid-item-status-type.json: + BidItemStatusType: title: Bid Item Status Type enum: - requested @@ -27083,7 +27242,7 @@ components: type: string description: The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. example: requested - bid-status-type.json: + BidStatusType: title: Bid Status Type enum: - in_progress @@ -27092,7 +27251,7 @@ components: type: string description: Bid stay type. default: in_progress - bid-stay-type.json: + BidStayType: title: Bid Stay Type enum: - daily @@ -27100,7 +27259,25 @@ components: type: string description: Bid stay type. default: daily - billing-details.json-0: + BillingAddress: + title: Billing Address + description: Billing Address Details + type: object + allOf: + - $ref: '#/components/schemas/BaseAddress' + properties: + region: + type: string + description: The name of the state/province/region of the address. + maxLength: 50 + example: Texas + regionCode: + type: string + description: The abbreviation of the state/province/region of the address. + minLength: 2 + maxLength: 10 + example: TX + BillingDetails-1: title: BillingDetails description: Billing details for RFP. type: object @@ -27118,7 +27295,7 @@ components: maxLength: 2500 example: Request use of LOI or Express Agreement. rebateType: - $ref: '#/components/schemas/rebate-type.json' + $ref: '#/components/schemas/RebateType' acceptingRebatesAndIncentives: type: boolean description: True indicates that rebates and incentives are accepted, applicable only for citywide RFPs. @@ -27129,24 +27306,6 @@ components: minimum: 0 maximum: 999999 example: 10 - BillingAddress: - title: Billing Address - description: Billing Address Details - type: object - allOf: - - $ref: '#/components/schemas/BaseAddress' - properties: - region: - type: string - description: The name of the state/province/region of the address. - maxLength: 50 - example: Texas - regionCode: - type: string - description: The abbreviation of the state/province/region of the address. - minLength: 2 - maxLength: 10 - example: TX booking-website-link.json: type: object title: BookingWebsiteLink @@ -27191,7 +27350,7 @@ components: attendee: $ref: '#/components/schemas/Attendee1' event: - $ref: '#/components/schemas/Event2' + $ref: '#/components/schemas/Event3' exhibitor: $ref: '#/components/schemas/Exhibitor' booth-staff-response: @@ -27226,7 +27385,7 @@ components: type: object properties: paging: - $ref: '#/components/schemas/paging-no-total-count.json2' + $ref: '#/components/schemas/paging-no-total-count.json' data: type: array items: @@ -27272,7 +27431,7 @@ components: description: Unique ID of the product. example: 2A941E55-3367-4C50-B21B-B6A7613DFB23 emailType: - $ref: '#/components/schemas/email-type.json3' + $ref: '#/components/schemas/email-type.json1' emailId: type: string format: uuid @@ -27301,7 +27460,7 @@ components: maxLength: 50 example: Northern Hotel Group address: - $ref: '#/components/schemas/address.json3' + $ref: '#/components/schemas/address.json1' deleted: type: boolean description: True indicates the brand is deleted. @@ -27320,9 +27479,9 @@ components: items: $ref: '#/components/schemas/brand' description: Collection of brands and their related details. - bride-groom-type.json-0: + BrideGroomType: title: BrideGroomType - description: Bride groom type. + description: BrideGroomType type: string enum: - BRIDE @@ -28419,7 +28578,7 @@ components: param2: param2Value additionalProperties: true additionalProperties: false - business-type.json: + business-type: title: Business Type enum: - corporate @@ -28500,7 +28659,7 @@ components: items: $ref: '#/components/schemas/campaign-data.json' description: A list of all campaigns. - cancellation-details.json: + CancellationDetails: title: CancellationDetails description: Information about cancellation of RFP. type: object @@ -28511,7 +28670,7 @@ components: description: The ISO 8601 date time (in UTC) when RFP was cancelled. example: '2021-01-13T14:06:20.080Z' reason: - $ref: '#/components/schemas/cancelled-reason.json-0' + $ref: '#/components/schemas/CancelledReason-1' comments: type: string description: Additional comments while cancelling the RFP. @@ -28533,7 +28692,7 @@ components: - EPIDEMIC_OR_PANDEMIC - NATURAL_DISASTER - POLITICAL_OR_CIVIL_UNREST - cancelled-reason.json-0: + CancelledReason-1: title: CancelledReason description: Reason for cancelling the RFP. type: string @@ -28924,20 +29083,18 @@ components: example: 00000000-0000-0000-0000-000000000000 creditCard: $ref: '#/components/schemas/credit-card-response.json' - category-id-name.json: - title: SpeakerCategory - description: A defined speaker category. + Category: + title: Category + description: A question category. type: object - required: - - id + allOf: + - $ref: '#/components/schemas/TextField' properties: - id: - $ref: '#/components/schemas/uuid-property' - name: - type: string - description: The name of the speaker category - maxLength: 50 - example: Presenters + required: + type: boolean + default: false + description: True indicates the category is mandatory for answer. + example: true category-items-cost.json: type: object title: CategoryItemsCost @@ -28956,20 +29113,8 @@ components: type: array description: List of categories. items: - $ref: '#/components/schemas/category.json1' + $ref: '#/components/schemas/category.json' category.json: - title: Category - description: A question category. - type: object - allOf: - - $ref: '#/components/schemas/text-field.json' - properties: - required: - type: boolean - default: false - description: True indicates the category is mandatory for answer. - example: true - category.json1: type: object title: Category description: A category of items. @@ -28991,12 +29136,12 @@ components: description: List of items in this category. items: $ref: '#/components/schemas/item.json' - category.json2: + category.json1: title: Category description: A survey category. type: object allOf: - - $ref: '#/components/schemas/text-field.json1' + - $ref: '#/components/schemas/text-field.json' properties: required: type: boolean @@ -29043,7 +29188,7 @@ components: type: string example: NorthernHotels address: - $ref: '#/components/schemas/address.json3' + $ref: '#/components/schemas/address.json1' deleted: type: boolean description: True indicates the chain is deleted. @@ -29291,16 +29436,16 @@ components: example: 4000 Choice: title: Choice - description: A schema representing a choice object + description: A question choice. type: object allOf: - - $ref: '#/components/schemas/BaseChoice' + - $ref: '#/components/schemas/TextField' properties: label: type: string - description: Label of choice + description: Label of choice. example: Choice A - choice-sort-order.json: + choice-sort-order: type: string description: 'The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: Sorted in the order they were added, oldest choices first. `Random`: Random sort.' enum: @@ -29331,29 +29476,18 @@ components: description: The type for the event question choice. default: StandardChoice example: StandardChoice - choice.json: - title: Choice - description: A question choice. - type: object - allOf: - - $ref: '#/components/schemas/text-field.json' - properties: - label: - type: string - description: Label of choice. - example: Choice A - choice.json2: + choice.json1: title: Choice description: A survey choice. type: object allOf: - - $ref: '#/components/schemas/text-field.json1' + - $ref: '#/components/schemas/text-field.json' properties: label: type: string description: Label of choice example: Choice A - choice.json3: + choice.json2: title: Choice type: object description: This is used to denote the choice of custom field. @@ -29370,6 +29504,17 @@ components: description: The text for the custom field choice. example: What is your current designation? minLength: 1 + Choice1: + title: Choice + description: A schema representing a choice object + type: object + allOf: + - $ref: '#/components/schemas/BaseChoice' + properties: + label: + type: string + description: Label of choice + example: Choice A choices-display-type.json: title: DisplayType description: Display type indicating how to display the choices on UI. For 'Choice - Single Answer' custom field type, this defaults to Dropdown. For 'Choice - Multiple Answers' custom field type, this defaults to MultiSelectBox. @@ -29379,7 +29524,7 @@ components: - Vertical - Horizontal - MultiSelectBox - comment-type.json: + CommentType: title: Comment Type enum: - promotions @@ -29486,7 +29631,7 @@ components: attendee: $ref: '#/components/schemas/attendee.json' question: - $ref: '#/components/schemas/question.json1' + $ref: '#/components/schemas/question.json' attachments: type: array description: A collection of attachments that are associated with this message. @@ -29558,44 +29703,6 @@ components: - VIDEO_CENTER_MEMBER - RESPONDENT - NOT_SET - compliance.json: - title: Compliance - description: Privacy compliance fields for a contact. - type: object - properties: - creationTime: - type: string - format: date-time - description: Date-time (in GMT) when privacy compliance details were created for the contact. - example: '2021-03-08T17:30:01.727Z' - complianceScope: - type: string - description: Scope of privacy compliance. - example: CCPA - enum: - - CCPA - action: - type: string - description: Action to take for a compliance request. - example: DO_NOT_SELL - enum: - - DO_NOT_SELL - - OK_TO_SELL - createdBy: - type: string - description: Denotes how the compliance request was created. - example: PLANNER - enum: - - ATTENDEE - - PLANNER - - IMPORT - - SOAP_API - - REST_API - - MARKETO - - SALEFORCE - - VIDEO_CENTER_MEMBER - - RESPONDENT - - NOT_SET composite-value.json: title: CompositeValue description: |- @@ -29646,203 +29753,7 @@ components: description: Represents a contact that has been created and has an id. type: object allOf: - - title: Contact - description: Represents a contact and their related information. - type: object - allOf: - - $ref: '#/components/schemas/contact-group/allOf/0' - properties: - firstName: - type: string - description: The first name of the contact. - maxLength: 30 - example: Henry - lastName: - type: string - description: The last name of the contact. - maxLength: 50 - example: Potterfield - middleName: - type: string - description: The middle name of the contact. - maxLength: 30 - example: A - nickname: - type: string - description: The nickname of the contact. - maxLength: 30 - example: Harry - email: - type: string - format: email - description: The email address of the contact. - minLength: 6 - maxLength: 80 - example: h.potterfield@test.com - ccEmail: - type: string - format: email - description: An alternate email address of the contact that can be cc'd on email communications. - minLength: 6 - maxLength: 80 - example: h.porter@tesing.com - gender: - $ref: '#/components/schemas/gender.json' - company: - type: string - description: The company/organization the contact belongs to. - maxLength: 100 - example: Cvent Inc. - designation: - type: string - description: The designation of the contact, typically an award or credential. - maxLength: 30 - example: CPA - title: - type: string - description: The job title of the contact. - maxLength: 100 - example: Event Planner - type: - $ref: '#/components/schemas/attendee-contact-type.json' - membership: - $ref: '#/components/schemas/membership.json' - primaryAddressType: - $ref: '#/components/schemas/address-type.json' - homeAddress: - $ref: '#/components/schemas/address.json' - homePhone: - type: string - description: The phone number of the contact at their place of residence. - maxLength: 30 - example: 555-555-5555 - homeFax: - type: string - description: The fax number of the contact at their place of residence. - maxLength: 30 - example: 555-555-5555 - workAddress: - $ref: '#/components/schemas/address.json' - workPhone: - type: string - description: The phone number of the contact at their place of work. - maxLength: 30 - example: 555-555-5555 - workFax: - type: string - description: The fax number of the contact at their place of work. - maxLength: 30 - example: 555-555-5555 - customFields: - type: array - items: - $ref: '#/components/schemas/custom-field' - description: Collection of custom fields. - readOnly: true - sourceId: - description: 'This is a ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID.' - type: string - maxLength: 50 - example: system-a-00000000-0000-0000-0000-000000000000 - mobilePhone: - type: string - description: The contact's mobile phone number. - maxLength: 30 - example: 555-555-5555 - compliance: - type: array - items: - $ref: '#/components/schemas/compliance.json' - description: Detail related to compliance with the contact's privacy rights under various legislation. - readOnly: true - prefix: - type: string - description: Denotes what is traditionally a title of an individual. - maxLength: 30 - example: Mr. - pager: - type: string - description: The pager number of the contact. - maxLength: 30 - example: 555-555-5555 - deleted: - type: boolean - description: True indicates a contact is deleted. Deleted contacts still have their data retained, but the contact is inactive. - default: false - example: false - readOnly: true - purged: - type: boolean - description: True indicates a contact is purged. Purged contacts have only partial data retained, and will be permanently deleted in 30 days. - default: false - example: false - readOnly: true - optOut: - $ref: '#/components/schemas/opt-out.json' - npi: - type: string - description: Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. - minLength: 10 - maxLength: 10 - example: '5555555555' - _links: - $ref: '#/components/schemas/contact-links.json' - dateOfBirth: - type: string - format: date - description: |- - The date of birth of the contact. - - Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. - example: '1990-01-01' - passportNumber: - type: string - description: |- - The passport number of the contact. - - Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use the passport.number field. - example: '123456789' - maxLength: 100 - deprecated: true - passport: - $ref: '#/components/schemas/passport.json' - socialSecurityNumber: - type: string - description: |- - The social security number of the contact. - - Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. - example: 123-45-6789 - maxLength: 11 - nationalIdentificationNumber: - type: string - example: '123456789' - description: |- - The national identification number of the contact. - - Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. - maxLength: 25 - headline: - type: string - description: The headline of the contact's profile, which summarizes their professional experience and qualities. - example: Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands - maxLength: 2500 - personalWebsite: - type: string - description: A contact's personal website URL. - format: uri - example: https://www.example.com - maxLength: 2500 - biography: - type: string - description: A contact's biographical writeup. - example: I am a marketing professional with experience in event planning and brand strategy. - maxLength: 2500 - pronouns: - type: string - description: Represents the preferred pronouns of a contact. - example: he/him/she/her/they/them - maxLength: 50 + - $ref: '#/components/schemas/Contact' properties: id: type: string @@ -29862,20 +29773,268 @@ components: format: uuid description: ID of the event where the contact was created, applicable when contact snapshot is enabled for an event. readOnly: true + Contact: + title: Contact + description: Represents a contact and their related information. + type: object + allOf: + - $ref: '#/components/schemas/Audit' + properties: + firstName: + type: string + description: The first name of the contact. + maxLength: 30 + example: Henry + lastName: + type: string + description: The last name of the contact. + maxLength: 50 + example: Potterfield + middleName: + type: string + description: The middle name of the contact. + maxLength: 30 + example: A + nickname: + type: string + description: The nickname of the contact. + maxLength: 30 + example: Harry + email: + type: string + format: email + description: The email address of the contact. + minLength: 6 + maxLength: 80 + example: h.potterfield@test.com + ccEmail: + type: string + format: email + description: An alternate email address of the contact that can be cc'd on email communications. + minLength: 6 + maxLength: 80 + example: h.porter@tesing.com + gender: + $ref: '#/components/schemas/Gender' + company: + type: string + description: The company/organization the contact belongs to. + maxLength: 100 + example: Cvent Inc. + designation: + type: string + description: The designation of the contact, typically an award or credential. + maxLength: 30 + example: CPA + title: + type: string + description: The job title of the contact. + maxLength: 100 + example: Event Planner + type: + $ref: '#/components/schemas/AttendeeContactType' + membership: + $ref: '#/components/schemas/ContactMembership' + primaryAddressType: + $ref: '#/components/schemas/AddressType' + homeAddress: + $ref: '#/components/schemas/Address' + homePhone: + type: string + description: The phone number of the contact at their place of residence. + maxLength: 30 + example: 555-555-5555 + homeFax: + type: string + description: The fax number of the contact at their place of residence. + maxLength: 30 + example: 555-555-5555 + workAddress: + $ref: '#/components/schemas/Address' + workPhone: + type: string + description: The phone number of the contact at their place of work. + maxLength: 30 + example: 555-555-5555 + workFax: + type: string + description: The fax number of the contact at their place of work. + maxLength: 30 + example: 555-555-5555 + customFields: + type: array + items: + $ref: '#/components/schemas/custom-field' + description: Collection of custom fields. + readOnly: true + sourceId: + description: 'This is a ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID.' + type: string + maxLength: 50 + example: system-a-00000000-0000-0000-0000-000000000000 + mobilePhone: + type: string + description: The contact's mobile phone number. + maxLength: 30 + example: 555-555-5555 + compliance: + type: array + items: + $ref: '#/components/schemas/Compliance' + description: Detail related to compliance with the contact's privacy rights under various legislation. + readOnly: true + prefix: + type: string + description: Denotes what is traditionally a title of an individual. + maxLength: 30 + example: Mr. + pager: + type: string + description: The pager number of the contact. + maxLength: 30 + example: 555-555-5555 + deleted: + type: boolean + description: True indicates a contact is deleted. Deleted contacts still have their data retained, but the contact is inactive. + default: false + example: false + readOnly: true + purged: + type: boolean + description: True indicates a contact is purged. Purged contacts have only partial data retained, and will be permanently deleted in 30 days. + default: false + example: false + readOnly: true + optOut: + $ref: '#/components/schemas/ContactOptOut' + npi: + type: string + description: Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. + minLength: 10 + maxLength: 10 + example: '5555555555' + _links: + $ref: '#/components/schemas/ContactLinks' + dateOfBirth: + type: string + format: date + description: |- + The date of birth of the contact. + + Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. + example: '1990-01-01' + passportNumber: + type: string + description: |- + The passport number of the contact. + + Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use the passport.number field. + example: '123456789' + maxLength: 100 + deprecated: true + passport: + $ref: '#/components/schemas/Passport' + socialSecurityNumber: + type: string + description: |- + The social security number of the contact. + + Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. + example: 123-45-6789 + maxLength: 11 + nationalIdentificationNumber: + type: string + example: '123456789' + description: |- + The national identification number of the contact. + + Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. + maxLength: 25 + headline: + type: string + description: The headline of the contact's profile, which summarizes their professional experience and qualities. + example: Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands + maxLength: 2500 + personalWebsite: + type: string + description: A contact's personal website URL. + format: uri + example: https://www.example.com + maxLength: 2500 + biography: + type: string + description: A contact's biographical writeup. + example: I am a marketing professional with experience in event planning and brand strategy. + maxLength: 2500 + pronouns: + type: string + description: Represents the preferred pronouns of a contact. + example: he/him/she/her/they/them + maxLength: 50 + Contact-1: + title: Contact + description: Contact details of planner. + type: object + required: + - firstName + - lastName + - email + - phone + - organizationName + properties: + firstName: + type: string + maxLength: 50 + description: The first name of the planner. + example: James + lastName: + type: string + maxLength: 50 + description: The last name of the planner. + example: West + email: + type: string + format: email + maxLength: 80 + description: Email address of the planner. + example: jwest@example.com + address: + $ref: '#/components/schemas/Address-1' + commissionRate: + type: number + description: Rate of commission chargeable by the planner. Precision up to 2 decimal places is accepted. + minimum: 0 + maximum: 100 + example: 10.75 + commissionable: + type: boolean + description: True indicates commission is to be charged from supplier. + phone: + type: string + description: Phone number of the planner. + maxLength: 30 + example: 555-555-5555 + organizationName: + type: string + maxLength: 100 + description: Name of the organization. + example: Five Star Planners Inc. + thirdPartyPlanner: + type: boolean + description: True indicates planner is a third party planner. + preferredContactMethods: + type: array + description: List of preferred contact methods for the planner. + minItems: 1 + maxItems: 5 + items: + $ref: '#/components/schemas/ContactMethods' + example: + - CVENT contact-bulk-create: type: array items: - $ref: '#/components/schemas/contact-create-request.json' - contact-bulk-item.json: - title: ContactBulkResponseItem - description: This entity is used to represent a single item that is returned as part of a Bulk request call. - allOf: - - $ref: '#/components/schemas/custom-field-bulk-item.json/allOf/0' - properties: - data: - anyOf: - - $ref: '#/components/schemas/contact-update/allOf/0' - - $ref: '#/components/schemas/error-response' + $ref: '#/components/schemas/ContactCreate' contact-bulk-patch: type: array items: @@ -29885,7 +30044,7 @@ components: description: List of contacts to create or update. type: array items: - $ref: '#/components/schemas/contact-bulk-item.json' + $ref: '#/components/schemas/ContactBulkResponseItem' contact-bulk-update: type: array items: @@ -29916,31 +30075,6 @@ components: minLength: 6 maxLength: 80 example: h.potterfield@test.com - contact-create-request.json: - title: ContactCreate - description: This entity is used to represent a single item that is posted for a contact create - allOf: - - title: CreateContact - description: Represents a contact to be created. - type: object - allOf: - - $ref: '#/components/schemas/contact/allOf/0' - properties: - parentId: - deprecated: true - type: string - format: uuid - description: ID of the parent contact, applicable with contact snapshot. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be automatically created through the Add attendees API. - event: - deprecated: true - description: Event ID - type: object - properties: - id: - deprecated: true - type: string - format: uuid - description: ID of the event where the contact was created, applicable when contact snapshot is enabled for an event. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be automatically created through the Add attendees API. contact-field.json: title: Contact Field description: Contains contact data. For example, a User's email address. @@ -30021,32 +30155,7 @@ components: - name description: A group of contacts. allOf: - - title: Audit - description: Audit information - type: object - properties: - created: - type: string - format: date-time - description: The ISO 8601 zoned date time when this record was created. - readOnly: true - example: '2017-01-02T02:00:00Z' - createdBy: - type: string - description: The identifier of the user that created this record. - readOnly: true - example: hporter - lastModified: - type: string - format: date-time - description: The ISO 8601 zoned date time when this record was updated. - readOnly: true - example: '2019-02-12T03:00:00Z' - lastModifiedBy: - type: string - description: The identifier of the user that last updated this record. - readOnly: true - example: hporter + - $ref: '#/components/schemas/Audit' type: object properties: id: @@ -30068,14 +30177,14 @@ components: description: Full description of the contact group. example: long description type: - $ref: '#/components/schemas/contact-group-type.json' + $ref: '#/components/schemas/ContactGroupType' note: deprecated: true type: string description: Moved to internalNote in the DistributionListInfo object. The note field only applies to Distribution List. example: Sample internal note distributionListInfo: - $ref: '#/components/schemas/distribution-list-info.json' + $ref: '#/components/schemas/DistributionListInfo' contact-group-paginated-response: title: ContactGroupPaginatedResponse description: The response from a request to get the list of contact groups. This includes the paging object as well as the collection of contact-groups. @@ -30085,62 +30194,24 @@ components: type: object properties: paging: - $ref: '#/components/schemas/paging.json' + $ref: '#/components/schemas/Paging' data: type: array items: $ref: '#/components/schemas/contact-group' description: Collection of contact groups. - contact-group-type.json: - title: ContactGroupType - enum: - - BLACKLIST - - DISTRIBUTION_LIST - - STANDARD - type: string - description: Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. `STANDARD` is a multi-purpose group for organizing contacts. - example: STANDARD - default: STANDARD contact-history-paginated-response: title: ContactHistoryPaginatedResponse description: The response of a request to get the change history for a specific contact. type: object properties: paging: - $ref: '#/components/schemas/paging.json' + $ref: '#/components/schemas/Paging' data: description: Collection of change histories for a specific contact. type: array items: - $ref: '#/components/schemas/contact-history.json' - contact-history.json: - title: ContactHistory - description: A single instance of change for a specific contact in the contact's change history. - type: object - properties: - updatedFieldName: - description: The name of a field that was changed and tracked by this single instance of change in contact change history. - type: string - example: Last Name - oldValue: - description: The old value of a field that was changed. - type: string - example: Wilson - newValue: - description: The new value of a field that was changed. - type: string - example: James - updatedThroughName: - $ref: '#/components/schemas/updated-through-name-property.json' - updatedDate: - description: The ISO 8601 formatted date-time when the associated contact, of this single instance of change in contact change history, was updated. - type: string - format: date-time - example: '2023-08-03T14:51:00.777Z' - updatedBy: - description: The name of a person who updated a contact that is associated with this single instance of change in contact change history. - type: string - example: John Doe + $ref: '#/components/schemas/ContactHistory' contact-id-paginated-response: title: ContactIdPaginatedResponse description: The response from a request to get the ids of contacts in a contact group or relationship. This includes the paging object as well as the collection of contact ids. @@ -30150,23 +30221,12 @@ components: type: object properties: paging: - $ref: '#/components/schemas/paging.json' + $ref: '#/components/schemas/Paging' data: type: array items: - $ref: '#/components/schemas/id.json' + $ref: '#/components/schemas/IdOnlyEntity' description: Collection of contact ids. - contact-id.json: - title: ContactId - description: A contact id. - required: - - id - type: object - properties: - id: - type: string - format: uuid - description: The ID of the contact. contact-information.json: title: ContactInformation description: Primary contact details associated with the entity. @@ -30210,29 +30270,6 @@ components: maxLength: 1000 description: Any additional contact-related notes or instructions. example: Available only during business hours (9 AM – 6 PM IST). - contact-links.json: - title: ContactLinks - type: object - description: Collection of social media links for the contact. - properties: - twitterUrl: - $ref: '#/components/schemas/link.json' - facebookUrl: - $ref: '#/components/schemas/link.json' - linkedInUrl: - $ref: '#/components/schemas/link.json' - profilePicture: - type: object - description: Reference to a profile picture. - title: Link - required: - - href - readOnly: true - properties: - href: - type: string - description: The url of the contact's profile picture - example: https://cvent.com/picture123 contact-merge: title: ContactMergeRequest description: This entity represents a request to merge one or two contacts with another 'main' contact. @@ -30253,12 +30290,12 @@ components: events: type: array items: - $ref: '#/components/schemas/event-contact-id.json' + $ref: '#/components/schemas/EventContactId' description: For each event (designated by event id), choose a contact id whose linked attendee will be associated with the resulting merged contact. Use whenever at least two contacts exist as attendees in a single event. surveys: type: array items: - $ref: '#/components/schemas/survey-contact-id.json' + $ref: '#/components/schemas/SurveyContactId' description: For each survey (designated by survey id), choose a contact id whose linked respondent will be associated with the resulting merged contact. Use whenever at least two contacts exist as respondents in a single survey. relatedContacts: type: string @@ -30267,71 +30304,22 @@ components: contactFields: type: array items: - $ref: '#/components/schemas/contact-merge-field.json' + $ref: '#/components/schemas/ContactMergeField' description: Specify which contact to use values from for any contact field. - contact-merge-field.json: - title: ContactMergeField - description: A pair of a contact field name and a contact id. - required: - - fieldName - - contactId - type: object - properties: - fieldName: - type: string - example: firstName - description: The name of a contact field. - contactId: - type: string - format: uuid - description: ID of the contact. - example: a45a3341-d30f-4bd9-bfd8-fbcdae37f0f2 - contact-methods.json: - title: ContactMethods - description: Medium for contacting the person. - type: string - enum: - - CVENT - - EMAIL - - FAX - - MOBILE - - PHONE contact-obfuscation-status: title: ContactObfuscationStatus description: Model representing an obfuscation status of a contact. type: object properties: status: - $ref: '#/components/schemas/contact-obfuscation-status-type.json' + $ref: '#/components/schemas/ContactObfuscationStatusType' obfuscateId: type: string format: uuid description: The obfuscation job identifier. readOnly: true contact: - $ref: '#/components/schemas/contact-id.json' - contact-obfuscation-status-type.json: - title: ContactObfuscationStatusType - enum: - - INITIATED - - QUEUED - - PROCESSING - - COMPLETED - - FAILED - type: string - description: |- - Status of the request to obfuscate a contact. - - INITIATED - The obfuscation request has been received. - - QUEUED - The obfuscation request is currently waiting in the queue to be executed. - - PROCESSING - The obfuscation request is currently being processed. - - COMPLETED - The obfuscation request is complete. - - FAILED - The obfuscation request failed due to an error. - example: INITIATED + $ref: '#/components/schemas/ContactId' contact-paginated-response: title: ContactPaginatedResponse description: The response from a request to get the list of contacts. This includes the paging object as well as the collection of contacts. @@ -30341,11 +30329,11 @@ components: type: object properties: paging: - $ref: '#/components/schemas/paging.json' + $ref: '#/components/schemas/Paging' data: type: array items: - $ref: '#/components/schemas/contact-update/allOf/0' + $ref: '#/components/schemas/contact' description: Collection of contacts. contact-patch: title: ContactPatch @@ -30353,7 +30341,7 @@ components: required: - id allOf: - - $ref: '#/components/schemas/contact-update/allOf/0' + - $ref: '#/components/schemas/contact' - properties: company: {} title: {} @@ -30405,48 +30393,13 @@ components: type: object properties: paging: - $ref: '#/components/schemas/paging.json' + $ref: '#/components/schemas/Paging' data: type: array items: - $ref: '#/components/schemas/contact-type.json' + $ref: '#/components/schemas/ContactType' description: Collection of contact types. contact-type.json: - title: ContactType - description: This entity represents a contact type at contact level. - required: - - id - - code - - name - type: object - properties: - id: - type: string - format: uuid - description: The ID of the contact type. - readOnly: true - code: - type: string - description: The contact type code. Must be unique in the account. - readOnly: true - maxLength: 30 - example: VIP - name: - type: string - description: Name of the contact type. - maxLength: 50 - example: VIP Attendee - description: - type: string - description: Description of the contact type. - maxLength: 2500 - example: Very important attendee. - active: - type: boolean - description: Indicates whether the contact type is active. - example: true - readOnly: true - contact-type.json1: type: string title: ContactType description: The contact types used for the proposal. @@ -30460,97 +30413,14 @@ components: required: - id allOf: - - title: ExistingContact - description: Represents a contact that has been created and has an id. - type: object - allOf: - - $ref: '#/components/schemas/contact/allOf/0' - properties: - id: - type: string - format: uuid - description: The ID of the contact. - parentId: - type: string - format: uuid - description: ID of the parent contact, applicable with contact snapshot. - readOnly: true - event: - description: Event ID - type: object - properties: - id: - type: string - format: uuid - description: ID of the event where the contact was created, applicable when contact snapshot is enabled for an event. - readOnly: true - contact.json-0: - title: Contact - description: Contact details of planner. - type: object - required: - - firstName - - lastName - - email - - phone - - organizationName - properties: - firstName: - type: string - maxLength: 50 - description: The first name of the planner. - example: James - lastName: - type: string - maxLength: 50 - description: The last name of the planner. - example: West - email: - type: string - format: email - maxLength: 80 - description: Email address of the planner. - example: jwest@example.com - address: - $ref: '#/components/schemas/address.json-0' - commissionRate: - type: number - description: Rate of commission chargeable by the planner. Precision up to 2 decimal places is accepted. - minimum: 0 - maximum: 100 - example: 10.75 - commissionable: - type: boolean - description: True indicates commission is to be charged from supplier. - phone: - type: string - description: Phone number of the planner. - maxLength: 30 - example: 555-555-5555 - organizationName: - type: string - maxLength: 100 - description: Name of the organization. - example: Five Star Planners Inc. - thirdPartyPlanner: - type: boolean - description: True indicates planner is a third party planner. - preferredContactMethods: - type: array - description: List of preferred contact methods for the planner. - minItems: 1 - maxItems: 5 - items: - $ref: '#/components/schemas/contact-methods.json' - example: - - CVENT - contact.json1: + - $ref: '#/components/schemas/contact' + contact.json: title: Contact description: The contact details. type: object properties: contactType: - $ref: '#/components/schemas/contact-type.json1' + $ref: '#/components/schemas/contact-type.json' firstName: type: string maxLength: 50 @@ -30637,7 +30507,7 @@ components: maxLength: 255 description: Additional notes of the contact. example: Available between 8am - 5pm. - contact.json2: + Contact2: title: Contact type: object description: The contact details who watched a video @@ -30647,6 +30517,70 @@ components: format: uuid description: The unique ID of the contact who watched a video. example: 123e4567-e89b-12d3-a456-426614174000 + ContactBulkResponseItem: + title: ContactBulkResponseItem + description: This entity is used to represent a single item that is returned as part of a Bulk request call. + allOf: + - $ref: '#/components/schemas/BulkResponseItem' + properties: + data: + anyOf: + - $ref: '#/components/schemas/contact' + - $ref: '#/components/schemas/ErrorResponse' + ContactCreate: + title: ContactCreate + description: This entity is used to represent a single item that is posted for a contact create + allOf: + - $ref: '#/components/schemas/CreateContact' + ContactGroupType: + title: ContactGroupType + enum: + - BLACKLIST + - DISTRIBUTION_LIST + - STANDARD + type: string + description: Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. `STANDARD` is a multi-purpose group for organizing contacts. + example: STANDARD + default: STANDARD + ContactHistory: + title: ContactHistory + description: A single instance of change for a specific contact in the contact's change history. + type: object + properties: + updatedFieldName: + description: The name of a field that was changed and tracked by this single instance of change in contact change history. + type: string + example: Last Name + oldValue: + description: The old value of a field that was changed. + type: string + example: Wilson + newValue: + description: The new value of a field that was changed. + type: string + example: James + updatedThroughName: + $ref: '#/components/schemas/UpdatedThroughNameProperty' + updatedDate: + description: The ISO 8601 formatted date-time when the associated contact, of this single instance of change in contact change history, was updated. + type: string + format: date-time + example: '2023-08-03T14:51:00.777Z' + updatedBy: + description: The name of a person who updated a contact that is associated with this single instance of change in contact change history. + type: string + example: John Doe + ContactId: + title: ContactId + description: A contact id. + required: + - id + type: object + properties: + id: + type: string + format: uuid + description: The ID of the contact. ContactLinks: title: ContactLinks type: object @@ -30683,6 +30617,152 @@ components: $ref: '#/components/schemas/Link' instagramUrl: $ref: '#/components/schemas/Link' + ContactMembership: + title: ContactMembership + description: Contact Membership information + type: object + readOnly: true + properties: + type: + type: string + description: The type of membership the contact has signed up for. + maxLength: 300 + example: Corporate Sponsor + plan: + type: string + description: Describes the specific plan the contact has signed up for. + maxLength: 300 + example: Gold Level + joined: + type: string + format: date + description: The ISO-8601 formatted date the contact began their membership. + readOnly: true + example: '2017-02-10' + expiration: + type: string + format: date + description: The ISO-8601 formatted date the contact's membership will expire. + readOnly: true + example: '2020-02-09' + lastRenewal: + type: string + format: date + description: The ISO-8601 formatted date the contact last renewed their membership. + readOnly: true + example: '2019-02-08' + amountDue: + type: number + description: The amount currently due for this membership. + readOnly: true + minimum: 0 + example: 50.5 + listInDirectory: + type: boolean + description: Indicates if the member details should be included in the member directory. + example: false + ContactMergeField: + title: ContactMergeField + description: A pair of a contact field name and a contact id. + required: + - fieldName + - contactId + type: object + properties: + fieldName: + type: string + example: firstName + description: The name of a contact field. + contactId: + type: string + format: uuid + description: ID of the contact. + example: a45a3341-d30f-4bd9-bfd8-fbcdae37f0f2 + ContactMethods: + title: ContactMethods + description: Medium for contacting the person. + type: string + enum: + - CVENT + - EMAIL + - FAX + - MOBILE + - PHONE + ContactObfuscationStatusType: + title: ContactObfuscationStatusType + enum: + - INITIATED + - QUEUED + - PROCESSING + - COMPLETED + - FAILED + type: string + description: |- + Status of the request to obfuscate a contact. + + INITIATED - The obfuscation request has been received. + + QUEUED - The obfuscation request is currently waiting in the queue to be executed. + + PROCESSING - The obfuscation request is currently being processed. + + COMPLETED - The obfuscation request is complete. + + FAILED - The obfuscation request failed due to an error. + example: INITIATED + ContactOptOut: + title: ContactOptOut + description: Details of an opt-out for a Contact. + type: object + properties: + optedOut: + type: boolean + default: false + description: Used to denote if a contact has opted-out of receiving system generated emails. + example: false + date: + type: string + format: date-time + description: The ISO 8601 zoned date time when this contact was opted-out. This value can change if the contact opts out multiple times. + readOnly: true + example: '2019-02-12T03:00:00Z' + by: + $ref: '#/components/schemas/OptoutBy' + ContactType: + title: ContactType + description: This entity represents a contact type at contact level. + required: + - id + - code + - name + type: object + properties: + id: + type: string + format: uuid + description: The ID of the contact type. + readOnly: true + code: + type: string + description: The contact type code. Must be unique in the account. + readOnly: true + maxLength: 30 + example: VIP + name: + type: string + description: Name of the contact type. + maxLength: 50 + example: VIP Attendee + description: + type: string + description: Description of the contact type. + maxLength: 2500 + example: Very important attendee. + active: + type: boolean + description: Indicates whether the contact type is active. + example: true + readOnly: true country-code.json: title: Country Code type: string @@ -31129,6 +31209,28 @@ components: mapping: DISCOUNT_CODE: '#/components/schemas/CreateUpdateDiscountCodeResponse' VOLUME_DISCOUNT: '#/components/schemas/ExistingVolumeDiscount' + CreateContact: + title: CreateContact + description: Represents a contact to be created. + type: object + allOf: + - $ref: '#/components/schemas/Contact' + properties: + parentId: + deprecated: true + type: string + format: uuid + description: ID of the parent contact, applicable with contact snapshot. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be automatically created through the Add attendees API. + event: + deprecated: true + description: Event ID + type: object + properties: + id: + deprecated: true + type: string + format: uuid + description: ID of the event where the contact was created, applicable when contact snapshot is enabled for an event. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be automatically created through the Add attendees API. CreateUpdateDiscountCode: title: Create Update Discount Code description: Representation of a discount code to be created or updated. @@ -31506,6 +31608,11 @@ components: example: USD default: USD currency.json1: + description: ISO 4217 currency code. + title: Currency + type: string + example: USD + currency.json2: title: Currency type: string description: The ISO 4217 standard format currency code used for RFPs. @@ -31677,123 +31784,20 @@ components: - SCR - ZMW - ZWL - currency.json2: - description: ISO 4217 currency code. - title: Currency - type: string - example: USD custom-field: title: CustomField description: A Custom Field type: object allOf: - - title: CustomFieldBase - description: Base schema for Custom Field - allows type to be customized by extending schemas - required: - - id - - value - type: object - properties: - id: - type: string - description: The unique ID representing this custom field. - format: uuid - name: - type: string - description: The actual text of the custom field. - example: What is your favorite color? - readOnly: true - value: - type: array - uniqueItems: true - items: - type: string - description: A question answer value - maxLength: 16000 - description: The set of answers or possible answers to a question. - example: - - Choice C - - Choice A - order: - type: integer - description: The order of this question in the bigger list of questions. - example: 1 - readOnly: true + - $ref: '#/components/schemas/CustomFieldBase' properties: type: description: The type of data collected by a custom field. type: string allOf: - - title: CustomFieldType - enum: - - AutoIncrement - - ConsentQuestion - - Currency - - Decimal - - Date - - DateTime - - Email - - FileUpload - - FreeText - - General - - MultiChoice - - MultiSelect - - Number - - OpenEndedDateTime - - OpenEndedText - - SingleChoice - - SingleSelect - - USPhoneNumber - - Unknown - type: string - description: The type of data collected by a custom field. - example: General + - $ref: '#/components/schemas/CustomFieldType' - readOnly: true example: MultiSelect - custom-field-bulk-item.json: - title: CustomFieldBulkResponseItem - description: This entity is used to represent a single item that is returned as part of a Bulk request call. - allOf: - - title: BulkResponseItem - description: Represents a single item that is returned as part of a Bulk request call. - type: object - required: - - status - - data - properties: - data: - type: object - description: The data returned for a single item in the bulk request call. - example: - event_id: 1234 - attendee_count: 50 - additionalProperties: true - status: - type: integer - description: http status code representing processing status of a single item - example: 400 - message: - type: string - description: Quick description of what happened with processing - example: Example error message. - request: - type: object - description: The processed request tied to this response. This field is only sent when processing fails. - example: - operation: PUT - headers: - header1: header1Value - header2: header2Value - queryParams: - param1: param1Value - param2: param2Value - additionalProperties: true - additionalProperties: false - properties: - data: - anyOf: - - $ref: '#/components/schemas/custom-field' - - $ref: '#/components/schemas/error-response' custom-field-category.json: title: CustomFieldCategory enum: @@ -31811,7 +31815,7 @@ components: type: string description: This is used to denote the category of a custom field. example: Contact - custom-field-type.json1: + custom-field-type.json: title: CustomFieldType enum: - Open Ended Text - Date/Time @@ -31823,7 +31827,7 @@ components: type: string description: This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. example: Open Ended Text - One Line - custom-field.json1: + custom-field.json: title: CustomField description: A Custom Field required: @@ -31885,7 +31889,7 @@ components: description: The order of this question in the bigger list of questions. example: 1 readOnly: true - custom-field.json2: + custom-field.json1: title: CustomField description: A survey custom field. required: @@ -31933,7 +31937,7 @@ components: example: - Green - Blue - custom-field.json3: + custom-field.json2: title: CustomField description: A Custom Field type: object @@ -32069,7 +32073,7 @@ components: default: true example: true type: - $ref: '#/components/schemas/custom-field-type.json1' + $ref: '#/components/schemas/custom-field-type.json' details: type: object description: Type-specific details of the custom-field. @@ -32134,7 +32138,7 @@ components: choices: type: array items: - $ref: '#/components/schemas/choice.json3' + $ref: '#/components/schemas/choice.json2' description: Choices of custom fields. displayType: $ref: '#/components/schemas/choices-display-type.json' @@ -32223,28 +32227,6 @@ components: description: Custom field 6. type: string example: CustomField6 - custom-question-answer.json-0: - title: Travel Proposal Custom Question - description: Represents custom question associated with a travel proposal. - type: object - properties: - question: - title: Question - description: Travel account that the proposal is responding to. - type: object - properties: - id: - title: Question ID - description: The unique ID of the question. - type: string - format: uuid - example: 565ceabb-786a-4a6d-8c85-e2fccc867e88 - answer: - title: Answer - description: Hotel's answer to the program's custom question. - type: string - maxLength: 4000 - example: No. Customer: title: Customer description: The definition of a Cvent Customer. This is an independent contractual business unit underneath an Organization. The contractual agreements between different Customers underneath the same Organization can differ. A Customer may associate to 0 to many Cvent Core Accounts. @@ -32409,6 +32391,38 @@ components: - $ref: '#/components/schemas/CustomFieldType' - readOnly: true example: MultiSelect + CustomFieldAnswers: + title: RfpCustomField + description: This object contains RFP custom fields attributes only. + type: object + properties: + customField: + title: ExpandableCustomObject + properties: + id: + type: string + format: uuid + description: Unique identifier for custom field. + example: 50dc08af-24a9-4d01-84be-3d43133dc945 + type: object + readOnly: true + description: |- + An object containing custom field data. By default, contains only the field ID. + + This is an **expandable** object. When requested via the `expand` query parameter with value `customField`, this object expands to include all properties of a custom field definition. + + See the `expand` parameter documentation and refer to the [Get Custom Field](#tag/Custom-Fields/operation/getCustomField) API for the complete expanded schema. + answers: + type: array + description: List of answers for the RFP custom field. + maxItems: 100 + items: + type: string + description: Answer String + example: Choice 1 + required: + - customField + - answers CustomFieldBase: title: CustomFieldBase description: Base schema for Custom Field - allows type to be customized by extending schemas @@ -32467,7 +32481,7 @@ components: type: string description: The type of data collected by a custom field. example: General - date-answer-format.json: + date-answer-format: type: string description: 'The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. `DateTime`: Answer format is stored in DateTime format. `Time`: Answer format is stored in Time format.' enum: @@ -32475,7 +32489,38 @@ components: - DateTime - Time default: DateTime - date-pattern.json-0: + date-time-display-format.json: + title: DateTimeDisplayFormat + enum: + - DateAndTimeMonthFirst12HourTime + - DateAndTimeMonthFirst24HourTime + - DateOnlyMonthFirst + - DateAndTimeDayFirst12HourTime + - DateAndTimeDayFirst24HourTime + - DateOnlyDayFirst + type: string + description: This is used to denote the display format type of date time type custom field. + example: DateOnlyMonthFirst + date-type.json: + type: string + title: DateType + description: The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). + enum: + - PREFERRED + - ALTERNATE_1 + - ALTERNATE_2 + - ALTERNATE_3 + - ALTERNATE_4 + - ALTERNATE_5 + - ALTERNATE_6 + - ALTERNATE_7 + - ALTERNATE_8 + - ALTERNATE_9 + - ALTERNATE_10 + - ALTERNATE_11 + - ALTERNATE_12 + default: PREFERRED + DatePattern-1: title: DatePattern description: Date pattern for days on which event can occur. Used when dateMode is DATE_PATTERN. required: @@ -32509,15 +32554,15 @@ components: type: array description: Days of the week when event can start. items: - $ref: '#/components/schemas/day-of-week.json-0' + $ref: '#/components/schemas/DayOfWeek' generatedDates: type: array maxItems: 200 description: List of dates generated based on the date pattern. readOnly: true items: - $ref: '#/components/schemas/dates.json-0' - date-requirements.json-0: + $ref: '#/components/schemas/Dates-1' + DateRequirements-1: title: DateRequirements description: Date requirements for the event. required: @@ -32525,52 +32570,21 @@ components: type: object properties: mode: - $ref: '#/components/schemas/rfp-date-mode.json-0' + $ref: '#/components/schemas/RfpDateMode' alternateDates: type: array minItems: 1 maxItems: 12 description: List of dates for the event. Can be used to provide set of alternate event dates when mode is ALTERNATE_DATE. items: - $ref: '#/components/schemas/dates.json-0' + $ref: '#/components/schemas/Dates-1' pattern: - $ref: '#/components/schemas/date-pattern.json-0' + $ref: '#/components/schemas/DatePattern-1' availabilityRangeRequired: type: boolean description: True indicates that the event requires a range of availability dates. default: false - date-time-display-format.json: - title: DateTimeDisplayFormat - enum: - - DateAndTimeMonthFirst12HourTime - - DateAndTimeMonthFirst24HourTime - - DateOnlyMonthFirst - - DateAndTimeDayFirst12HourTime - - DateAndTimeDayFirst24HourTime - - DateOnlyDayFirst - type: string - description: This is used to denote the display format type of date time type custom field. - example: DateOnlyMonthFirst - date-type.json1: - type: string - title: DateType - description: The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). - enum: - - PREFERRED - - ALTERNATE_1 - - ALTERNATE_2 - - ALTERNATE_3 - - ALTERNATE_4 - - ALTERNATE_5 - - ALTERNATE_6 - - ALTERNATE_7 - - ALTERNATE_8 - - ALTERNATE_9 - - ALTERNATE_10 - - ALTERNATE_11 - - ALTERNATE_12 - default: PREFERRED - dates.json-0: + Dates-1: title: Dates description: Dates on which event will occur. type: object @@ -32600,9 +32614,9 @@ components: maxLength: 2500 description: A note detailing the requirements for the dates. example: Flexible dates - day-of-week.json-0: + DayOfWeek: title: DayOfWeek - description: Day of week. + description: DayOfWeek type: string enum: - SUNDAY @@ -32647,15 +32661,7 @@ components: type: string description: The name of device used to capture lead example: North Gate - device-type.json: - title: DeviceType - description: The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. - type: string - enum: - - DESKTOP - - MOBILE - - TABLET - device.json: + Device1: title: Device type: object description: The device details used to watched a video. This field has been deprecated. @@ -32667,11 +32673,19 @@ components: maxLength: 100 example: CA1.b4c5061e36fa60ebc5aad0ccea95f900b34794ecad49e965eaa94f7c534dec83 type: - $ref: '#/components/schemas/device-type.json' + $ref: '#/components/schemas/DeviceType' operatingSystem: type: string description: The device's operating system. example: Mac OS + DeviceType: + title: DeviceType + description: The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. + type: string + enum: + - DESKTOP + - MOBILE + - TABLET discount-agenda-items-paginated-response: title: Discount Agenda Items Paginated Response required: @@ -32898,7 +32912,7 @@ components: title: DisplayRate type: number example: 150 - display-type.json: + display-type: type: string description: 'The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: It is associated with drop down type questions. `Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list type questions. `MultiSelectBox`: It is associated with multi select box type questions. `Vertical`: It is associated with vertical type questions.' enum: @@ -32908,7 +32922,7 @@ components: - List - MultiSelectBox - Vertical - distance.json1: + distance.json: description: Distance information. title: Distance type: object @@ -32930,21 +32944,21 @@ components: - Yards - Blocks example: Kilometers - distribution-list-info.json: + DistributionListInfo: title: DistributionListInfo description: Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. type: object properties: securityType: - $ref: '#/components/schemas/distribution-list-security-type.json' + $ref: '#/components/schemas/DistributionListSecurityType' internalNote: description: Internal note for Distribution Lists. type: string maxLength: 300 example: Sample distribution list internal note status: - $ref: '#/components/schemas/distribution-list-status.json' - distribution-list-security-type.json: + $ref: '#/components/schemas/DistributionListStatus' + DistributionListSecurityType: title: DistributionListSecurityType enum: - PRIVATE @@ -32952,7 +32966,7 @@ components: - PUBLIC type: string description: Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. - distribution-list-status.json: + DistributionListStatus: title: DistributionListStatus enum: - PENDING @@ -32962,7 +32976,12 @@ components: description: Type of distribution list status. readOnly: true example: PENDING - document-type.json-0: + DocumentId: + title: DocumentId + description: The unique identifier for a document. + type: string + format: uuid + DocumentType-1: type: string title: DocumentType readOnly: true @@ -33001,11 +33020,6 @@ components: - WMV - XLS - XLSX - DocumentId: - title: DocumentId - description: The unique identifier for a document. - type: string - format: uuid donation-items-paginated-response: title: Donation Items Paginated Response required: @@ -33147,6 +33161,9 @@ components: - LIVE - ON_DEMAND - API + - MANUAL + - IMPORT + - EVENTAPP type: string description: Describes how the duration was obtained. example: API @@ -33254,7 +33271,7 @@ components: - $ref: '#/components/schemas/Audit' properties: event: - $ref: '#/components/schemas/Event2' + $ref: '#/components/schemas/Event3' exhibitor: $ref: '#/components/schemas/Exhibitor' lead: @@ -33329,7 +33346,7 @@ components: description: Recipient address of the email. example: example@example.com type: - $ref: '#/components/schemas/email-type.json3' + $ref: '#/components/schemas/email-type.json1' sent: type: string description: The ISO 8601 zoned date time when this email was sent. @@ -33477,7 +33494,7 @@ components: items: $ref: '#/components/schemas/email-template-data.json' description: A list of all email templates data for an unique campaign that will help the planner to select specific email and send. - email-type.json1: + email-type.json: title: Email Type description: The type of the email. enum: @@ -33486,7 +33503,7 @@ components: type: string example: work default: work - email-type.json3: + email-type.json1: title: EmailType enum: - Invitation @@ -33564,7 +33581,7 @@ components: - primary properties: type: - $ref: '#/components/schemas/email-type.json1' + $ref: '#/components/schemas/email-type.json' value: type: string description: The email of the user. @@ -33588,7 +33605,7 @@ components: format: uuid example: a150f1ee-6c54-4b01-90e6-d701748f0851 description: The unique ID of the email to be sent. - encoding-profile.json: + EncodingProfile: title: EncodingProfile enum: - Planner @@ -33642,7 +33659,7 @@ components: items: $ref: '#/components/schemas/error-response/allOf/0' description: Additional details of cascading error messages. - error-response.json17: + error-response.json12: title: ErrorResponse description: The error response. type: object @@ -33916,7 +33933,7 @@ components: type: array readOnly: true items: - $ref: '#/components/schemas/custom-field.json3' + $ref: '#/components/schemas/custom-field.json2' description: Collection of custom fields. category: type: object @@ -33941,7 +33958,7 @@ components: maxLength: 30 example: Meet up type: - $ref: '#/components/schemas/event-type.json1' + $ref: '#/components/schemas/event-type.json' _links: $ref: '#/components/schemas/event-links.json' created: @@ -33974,6 +33991,16 @@ components: description: The name of the user who last modified the event. readOnly: true example: Jane Doe + Event-1: + title: Event + description: Event details. + type: object + properties: + id: + type: string + format: uuid + description: Unique identifier for the event linked with the RFP, if any. + example: 50dc08af-24a9-4d01-84be-3d43133dc945 event-activity-details.json: title: Event Activity Detail description: Details for an event activity. @@ -34140,22 +34167,6 @@ components: items: $ref: '#/components/schemas/event-budget-cost-detail.json' description: The list of cost details. - event-contact-id.json: - title: EventContactId - description: A pair of event and contact id. - required: - - eventId - - contactId - type: object - properties: - eventId: - type: string - format: uuid - description: ID of the event. - contactId: - type: string - format: uuid - description: ID of the contact. event-copy: title: EventCopy description: Represents directives for the event copy operation. @@ -34291,7 +34302,7 @@ components: type: object properties: paging: - $ref: '#/components/schemas/paging.json19' + $ref: '#/components/schemas/paging.json2' data: type: array items: @@ -34408,14 +34419,6 @@ components: readOnly: true description: URL of the feature's webpage. example: https://cvent.me/XX51b9 - event-format-type.json-0: - title: EventFormatType - description: Event format type. - type: string - enum: - - IN_PERSON - - HYBRID - - VIRTUAL event-format.json: title: Event Format enum: @@ -34431,13 +34434,7 @@ components: description: The related event object. properties: id: - $ref: '#/components/schemas/EventId' - event-id.json: - title: EventId - description: The unique identifier for an event. - type: string - format: uuid - example: 2ef03846-fced-4ce3-a077-d64ca891a4b1 + $ref: '#/components/schemas/EventId1' event-id1: title: Event ID description: The UUID identifier for an Event. @@ -34467,15 +34464,6 @@ components: href: https://cvent.com registration: href: https://cvent.com - event-lite.json: - required: - - id - type: object - title: EventLite - description: The unique identifier of an event. - properties: - id: - $ref: '#/components/schemas/event-id.json' event-paginated-response: title: EventPaginatedResponse description: Represents a paginated collection of event objects. @@ -34578,7 +34566,7 @@ components: format: uuid example: 06ca5ae2-0dc3-487b-953e-86d6abbdf7d3 type: - $ref: '#/components/schemas/question-type.json3' + $ref: '#/components/schemas/question-type.json2' internalNote: type: string description: Optional description to provide additional context of the question. @@ -34726,7 +34714,7 @@ components: description: An event survey question. type: object allOf: - - $ref: '#/components/schemas/question.json2/allOf/0' + - $ref: '#/components/schemas/question.json1/allOf/0' properties: survey: $ref: '#/components/schemas/uuid.json' @@ -34812,7 +34800,7 @@ components: description: Source IDs track respondents in an external system integrated with the Cvent survey. properties: event: - $ref: '#/components/schemas/event.json4' + $ref: '#/components/schemas/event.json3' attendee: description: Associated attendee. type: object @@ -34893,7 +34881,7 @@ components: readOnly: true properties: event: - $ref: '#/components/schemas/event.json4' + $ref: '#/components/schemas/event.json3' survey: $ref: '#/components/schemas/uuid.json' session: @@ -34977,7 +34965,242 @@ components: items: $ref: '#/components/schemas/event-survey.json' description: Collection of event surveys. - event-type.json-0: + event-type.json: + title: EventType + enum: + - Celebration + - Conference + - CventEssentials + - CventWebinar + - Dinner + - Forum + - FundraiserBenefit + - Holiday + - IncentiveTrip + - Meeting + - OtherGeneral + - PoliticalEvent + - Reunion + - SaveTheDate + - Seminar + - SimpleEvent + - SportsEvent + - TradeShow + - TrainingSession + - Webinar + type: string + description: 'Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials.' + example: Conference + event-update: + title: Event Update + description: Represents updates to an event. + type: object + allOf: + - $ref: '#/components/schemas/event' + properties: + closeAfter: + type: string + format: date-time + description: The event will be closed for registration after this ISO 8601 formatted date and time. + example: '2020-02-01T23:59:00.000Z' + readOnly: false + archiveAfter: + type: string + format: date-time + description: The event will be archived after this ISO 8601 formatted date and time. + example: '2020-05-07T12:00:00.000Z' + readOnly: false + capacity: + type: integer + description: The maximum number of individuals that can attend the event. Only used for events with the registration feature. + example: 50 + readOnly: false + event-weblink.json: + title: EventWeblink + description: Metadata for an event weblink. + type: object + properties: + name: + type: string + maxLength: 50 + description: Name of the weblink, used by planners to identify the weblinks in their event. + example: VIP Registration + url: + type: string + format: uri + description: Short URL of the webpage. + example: https://cvent.me/XX51b9 + landingPage: + type: string + description: The name of the webpage attendees will be directed to when using the weblink. + example: Registration + locale: + $ref: '#/components/schemas/locale.json' + event-weblinks-paginated-response: + title: EventWeblinksPaginatedResponse + description: Paginated collection of event weblinks. + required: + - data + - paging + type: object + properties: + paging: + type: object + allOf: + - properties: + limit: + description: The number of records to return on the page, not to exceed 100. + example: 100 + - $ref: '#/components/schemas/paging.json' + data: + type: array + items: + $ref: '#/components/schemas/event-weblink.json' + description: Collection of event weblinks. + event.json: + title: Event + required: + - id + description: ID of the event. + type: object + properties: + id: + type: string + format: uuid + description: UUID of the event. + example: 103097a4-143d-11e5-9f99-d0a637ee0032 + event.json1: + type: object + properties: + id: + type: string + description: Identifier of a particular Event. + format: uuid + example: 3d808ee8-94f8-4f3a-9ad1-6b23f4e4c329 + description: Event ID Information. + event.json3: + title: Event + type: object + description: Detail object of an event which is associated to a survey. + properties: + id: + type: string + format: uuid + example: 9463c74e-18c6-401a-a710-ae0f485bf059 + description: Id of the associated event + readOnly: true + event.json5: + title: Event + description: An event reference used in attendee insights to identify the event context for engagement data + type: object + required: + - id + properties: + id: + type: string + format: uuid + description: A unique identifier (UUID) for the event where the engagement score applies + example: 04cb6ae2-0dc3-487b-953e-86d6abbdf7d3 + event.json6: + title: Event + description: Details of the event. + type: object + required: + - id + properties: + id: + type: string + format: uuid + example: a150f1ee-6c54-4b01-90e6-d701748f0851 + description: The unique ID of the event. + Event3: + description: The Associated Event. + title: Event + type: object + required: + - id + properties: + id: + type: string + format: uuid + example: 3db28cfc-db22-11eb-8d19-0242ac130003 + description: Event id + EventContactId: + title: EventContactId + description: A pair of event and contact id. + required: + - eventId + - contactId + type: object + properties: + eventId: + type: string + format: uuid + description: ID of the event. + contactId: + type: string + format: uuid + description: ID of the contact. + EventFormatType: + title: EventFormatType + description: Event format type. + type: string + enum: + - IN_PERSON + - HYBRID + - VIRTUAL + EventId: + title: EventId + description: The unique identifier for an event. + type: string + format: uuid + example: 2ef03846-fced-4ce3-a077-d64ca891a4b1 + EventId1: + title: EventId + description: The unique identifier for an event + type: string + format: uuid + example: 78842378-5d83-11ee-8c99-0242ac120002 + EventLite: + required: + - id + type: object + title: EventLite + description: The unique identifier of an event. + properties: + id: + $ref: '#/components/schemas/EventId' + EventOrganization-1: + title: EventOrganization + description: Details of organization which is hosting the event. + type: object + required: + - name + - type + properties: + organization: + $ref: '#/components/schemas/Organization' + confidentialProfile: + type: boolean + description: True indicates organization profile has to be kept confidential. + industry: + $ref: '#/components/schemas/Industry-1' + name: + type: string + description: Name of the organization hosting the event. + maxLength: 100 + example: Cvent Inc. + type: + $ref: '#/components/schemas/OrganizationType-1' + address: + $ref: '#/components/schemas/Address-1' + eventsPerYear: + type: integer + description: Number of events per year. + minimum: 0 + maximum: 999999 + example: 450 + EventType-1: title: EventType description: Event type. type: string @@ -35004,182 +35227,6 @@ components: - TRAINING - WEDDING - OTHER - event-type.json1: - title: EventType - enum: - - Celebration - - Conference - - CventEssentials - - CventWebinar - - Dinner - - Forum - - FundraiserBenefit - - Holiday - - IncentiveTrip - - Meeting - - OtherGeneral - - PoliticalEvent - - Reunion - - SaveTheDate - - Seminar - - SimpleEvent - - SportsEvent - - TradeShow - - TrainingSession - - Webinar - type: string - description: 'Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials.' - example: Conference - event-update: - title: Event Update - description: Represents updates to an event. - type: object - allOf: - - $ref: '#/components/schemas/event' - properties: - closeAfter: - type: string - format: date-time - description: The event will be closed for registration after this ISO 8601 formatted date and time. - example: '2020-02-01T23:59:00.000Z' - readOnly: false - archiveAfter: - type: string - format: date-time - description: The event will be archived after this ISO 8601 formatted date and time. - example: '2020-05-07T12:00:00.000Z' - readOnly: false - capacity: - type: integer - description: The maximum number of individuals that can attend the event. Only used for events with the registration feature. - example: 50 - readOnly: false - event-weblink.json: - title: EventWeblink - description: Metadata for an event weblink. - type: object - properties: - name: - type: string - maxLength: 50 - description: Name of the weblink, used by planners to identify the weblinks in their event. - example: VIP Registration - url: - type: string - format: uri - description: Short URL of the webpage. - example: https://cvent.me/XX51b9 - landingPage: - type: string - description: The name of the webpage attendees will be directed to when using the weblink. - example: Registration - locale: - $ref: '#/components/schemas/locale.json' - event-weblinks-paginated-response: - title: EventWeblinksPaginatedResponse - description: Paginated collection of event weblinks. - required: - - data - - paging - type: object - properties: - paging: - type: object - allOf: - - properties: - limit: - description: The number of records to return on the page, not to exceed 100. - example: 100 - - $ref: '#/components/schemas/paging.json' - data: - type: array - items: - $ref: '#/components/schemas/event-weblink.json' - description: Collection of event weblinks. - event.json-0: - title: Event - description: Event details. - type: object - properties: - id: - type: string - format: uuid - description: Unique identifier for the event linked with the RFP, if any. - example: 50dc08af-24a9-4d01-84be-3d43133dc945 - event.json1: - title: Event - required: - - id - description: ID of the event. - type: object - properties: - id: - type: string - format: uuid - description: UUID of the event. - example: 103097a4-143d-11e5-9f99-d0a637ee0032 - event.json2: - type: object - properties: - id: - type: string - description: Identifier of a particular Event. - format: uuid - example: 3d808ee8-94f8-4f3a-9ad1-6b23f4e4c329 - description: Event ID Information. - event.json4: - title: Event - type: object - description: Detail object of an event which is associated to a survey. - properties: - id: - type: string - format: uuid - example: 9463c74e-18c6-401a-a710-ae0f485bf059 - description: Id of the associated event - readOnly: true - event.json6: - title: Event - description: An event reference used in attendee insights to identify the event context for engagement data - type: object - required: - - id - properties: - id: - type: string - format: uuid - description: A unique identifier (UUID) for the event where the engagement score applies - example: 04cb6ae2-0dc3-487b-953e-86d6abbdf7d3 - event.json8: - title: Event - description: Details of the event. - type: object - required: - - id - properties: - id: - type: string - format: uuid - example: a150f1ee-6c54-4b01-90e6-d701748f0851 - description: The unique ID of the event. - Event2: - description: The Associated Event. - title: Event - type: object - required: - - id - properties: - id: - type: string - format: uuid - example: 3db28cfc-db22-11eb-8d19-0242ac130003 - description: Event id - EventId: - title: EventId - description: The unique identifier for an event - type: string - format: uuid - example: 78842378-5d83-11ee-8c99-0242ac120002 Exhibitor: description: The Associated Exhibitor. title: Exhibitor @@ -35350,7 +35397,7 @@ components: - $ref: '#/components/schemas/Audit' properties: event: - $ref: '#/components/schemas/Event2' + $ref: '#/components/schemas/Event3' name: type: string description: Name of the exhibitor category @@ -35424,7 +35471,7 @@ components: - required properties: event: - $ref: '#/components/schemas/Event2' + $ref: '#/components/schemas/Event3' text: type: string description: The actual text of the exhibitor question. @@ -35449,9 +35496,9 @@ components: minItems: 1 maxItems: 100 notApplicableAnswer: - $ref: '#/components/schemas/AdditionalChoice' + $ref: '#/components/schemas/AdditionalChoice1' otherAnswer: - $ref: '#/components/schemas/AdditionalChoice' + $ref: '#/components/schemas/AdditionalChoice1' answerFormat: $ref: '#/components/schemas/exhibitor-answer-format' answerLimits: @@ -35502,7 +35549,7 @@ components: - name properties: event: - $ref: '#/components/schemas/Event2' + $ref: '#/components/schemas/Event3' name: type: string description: Name of the exhibitor. Cvent suggests limiting this to a maximum of 200 characters for optimal results. @@ -35527,7 +35574,7 @@ components: type: string example: Taj Mahal address: - $ref: '#/components/schemas/Address2' + $ref: '#/components/schemas/Address4' email: type: string format: email @@ -35644,7 +35691,7 @@ components: question: $ref: '#/components/schemas/UUID' event: - $ref: '#/components/schemas/Event2' + $ref: '#/components/schemas/Event3' exhibitor: $ref: '#/components/schemas/Exhibitor' answers: @@ -35823,37 +35870,7 @@ components: required: - id allOf: - - title: AudioTrack - description: The audio track. - type: object - required: - - video - - type - - language - allOf: - - $ref: '#/components/schemas/sync-job/allOf/0' - properties: - video: - $ref: '#/components/schemas/video-asset-id.json' - type: - $ref: '#/components/schemas/audio-track-type.json' - language: - type: string - description: IETF language tag for the audio track. - maxLength: 35 - example: en-US - variant: - $ref: '#/components/schemas/audio-track-variant.json' - default: - description: True indicates this is the default audio track. - type: boolean - default: false - duration: - type: integer - description: Audio track duration (in milliseconds). - example: 3600000 - status: - $ref: '#/components/schemas/audio-track-status.json' + - $ref: '#/components/schemas/audio-track' properties: id: title: Audio Track ID @@ -35863,7 +35880,7 @@ components: description: The identifier of an audio track. readOnly: true url: - $ref: '#/components/schemas/asset-location.json' + $ref: '#/components/schemas/AssetLocation' existing-badge-print-job: title: ExistingBadgePrintJob description: Badge Print Job. @@ -35977,7 +35994,7 @@ components: default: true example: true type: - $ref: '#/components/schemas/custom-field-type.json1' + $ref: '#/components/schemas/custom-field-type.json' details: type: object description: Type-specific details of the custom-field. @@ -36099,6 +36116,9 @@ components: - LIVE - ON_DEMAND - API + - MANUAL + - IMPORT + - EVENTAPP type: string description: Describes how the duration was obtained. example: API @@ -36498,7 +36518,7 @@ components: type: number example: 830 currency: - $ref: '#/components/schemas/currency.json2' + $ref: '#/components/schemas/currency.json1' bookingSite: $ref: '#/components/schemas/booking-website-link.json' callCenter: @@ -36688,92 +36708,7 @@ components: description: An existing, event speaker. type: object allOf: - - title: Speaker - description: An event speaker. - type: object - required: - - firstName - - lastName - - event - allOf: - - $ref: '#/components/schemas/speaker/allOf/0' - properties: - event: - type: object - properties: - id: - type: string - format: uuid - description: Event ID. - description: The event the speaker is linked to. - firstName: - type: string - description: The speaker's first name. - maxLength: 30 - example: Barbra - lastName: - type: string - description: The speaker's last name. - maxLength: 50 - example: Smith - code: - type: string - description: The unique code associated with the speaker in an event - maxLength: 30 - example: sbarbra - email: - type: string - format: email - description: The speaker's email address - maxLength: 80 - minLength: 6 - example: barbrasmith@cvent.com - prefix: - type: string - description: Used to denote what is traditionally a title of an individual. For example, Mr., Mrs., Dr., etc. - maxLength: 30 - example: Dr. - designation: - type: string - description: The speaker's Designation - maxLength: 30 - example: PhD - company: - type: string - description: The company to which the speaker is associated - maxLength: 100 - example: Cvent - title: - type: string - description: The speaker's title - maxLength: 100 - example: Lead Engineer - category: - $ref: '#/components/schemas/category-id-name.json' - links: - $ref: '#/components/schemas/contact-links.json' - visibility: - type: boolean - description: Indicates if a given speaker should be displayed on Event Website - default: true - example: false - biography: - type: string - description: The speaker's biography - maxLength: 2500 - example: Presentation and Speaking voice expert, Barbara is a highly regarded coach and facilitator - internalNote: - type: string - description: The Internal Note of the speaker - maxLength: 300 - example: Barbara is multilingual - featured: - type: boolean - description: Indicates if a given speaker is a featured speaker - default: false - example: false - relevance: - $ref: '#/components/schemas/relevance.json' + - $ref: '#/components/schemas/speaker' properties: id: type: string @@ -36803,15 +36738,7 @@ components: description: An existing speaker category. type: object allOf: - - title: SpeakerCategory - description: A speaker category. - type: object - properties: - name: - type: string - description: The name of the speaker category - maxLength: 50 - example: Presenters + - $ref: '#/components/schemas/speaker-category' required: - id properties: @@ -36912,54 +36839,7 @@ components: required: - id allOf: - - title: Video - description: Event video. - type: object - allOf: - - $ref: '#/components/schemas/video/allOf/0' - properties: - type: - $ref: '#/components/schemas/video-type.json' - event: - title: UUID - required: - - id - type: object - properties: - id: - title: UUID Property - description: The ID of an event. - type: string - format: uuid - example: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 - description: Event video asset was created with. This field has been deprecated. Use events instead. - deprecated: true - hlsInputs: - type: array - description: List of locations for HLS recordings that will be combined to form a new video. This field has been deprecated. Use hlsInputsWithClips instead. - items: - type: string - default: [] - deprecated: true - hlsInputsWithClips: - type: array - items: - $ref: '#/components/schemas/hls-input-with-clips.json' - description: A list of input object locations & clip information for HTTP Live Streaming (HLS) recordings. Used to trim & stitch all inputs together to form a new video. - recording: - title: Recording details - description: Recording details of video to be transcoded - required: - - id - type: object - properties: - id: - description: Entity ID of recording. - type: string - format: uuid - example: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 - encodingProfile: - $ref: '#/components/schemas/encoding-profile.json' + - $ref: '#/components/schemas/video' properties: id: title: Video ID @@ -36968,7 +36848,7 @@ components: format: uuid example: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 url: - $ref: '#/components/schemas/asset-location.json' + $ref: '#/components/schemas/AssetLocation' size: type: integer format: int64 @@ -36980,21 +36860,21 @@ components: description: Sessions associated with the video asset. type: array items: - $ref: '#/components/schemas/uuid-property' + $ref: '#/components/schemas/UUIDProperty' maxItems: 50 readOnly: true exhibitors: description: Exhibitors associated with the video asset. type: array items: - $ref: '#/components/schemas/uuid-property' + $ref: '#/components/schemas/UUIDProperty' maxItems: 50 readOnly: true speakers: description: Speakers associated with the video asset. type: array items: - $ref: '#/components/schemas/uuid-property' + $ref: '#/components/schemas/UUIDProperty' maxItems: 50 readOnly: true uploadStarted: @@ -37019,72 +36899,12 @@ components: description: Response schema for GET/List endpoints, extending ExistingVideo and adding errors/warnings. type: object allOf: - - title: ExistingVideo - description: Existing event video. - type: object - required: - - id - allOf: - - $ref: '#/components/schemas/existing-video/allOf/0' - properties: - id: - title: Video ID - description: The identifier of a video. - type: string - format: uuid - example: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 - url: - $ref: '#/components/schemas/asset-location.json' - size: - type: integer - format: int64 - maximum: 10737418240 - description: File size in bytes for the video asset. - example: 32768 - readOnly: true - sessions: - description: Sessions associated with the video asset. - type: array - items: - $ref: '#/components/schemas/uuid-property' - maxItems: 50 - readOnly: true - exhibitors: - description: Exhibitors associated with the video asset. - type: array - items: - $ref: '#/components/schemas/uuid-property' - maxItems: 50 - readOnly: true - speakers: - description: Speakers associated with the video asset. - type: array - items: - $ref: '#/components/schemas/uuid-property' - maxItems: 50 - readOnly: true - uploadStarted: - type: string - format: date-time - description: The ISO 8601 zoned date time when the upload started. - example: '2024-01-05T15:30:00Z' - readOnly: true - uploadCompleted: - type: string - format: date-time - description: The ISO 8601 zoned date time when the uploaded ended. - example: '2024-01-05T15:35:00Z' - readOnly: true - parent: - type: string - format: uuid - description: The ID of the video this was created from. - readOnly: true + - $ref: '#/components/schemas/existing-video' properties: errors: - $ref: '#/components/schemas/video-errors.json' + $ref: '#/components/schemas/VideoErrors' warnings: - $ref: '#/components/schemas/video-warnings.json' + $ref: '#/components/schemas/VideoWarnings' existing-video-text-track: title: ExistingVideoTextTrack description: An existing video text track. @@ -37093,43 +36913,7 @@ components: - id - status allOf: - - title: VideoTextTrack - description: Video text track - type: object - required: - - language - - kind - allOf: - - $ref: '#/components/schemas/sync-job/allOf/0' - properties: - video: - $ref: '#/components/schemas/video-asset-id.json' - label: - type: string - description: Name of the text track. - maxLength: 300 - example: English - language: - type: string - description: IETF language tag for the text track. - maxLength: 35 - example: en-US - kind: - $ref: '#/components/schemas/video-text-track-kind.json' - published: - description: True means that this text track has been published for your client. - type: boolean - default: true - default: - description: True indicates this is the default text track. Each kind of text track can have a separate default assigned. - type: boolean - default: false - status: - $ref: '#/components/schemas/video-text-track-status.json' - autoGenerated: - description: True indicates this text track was generated via machine transcription of the audio. - type: boolean - default: false + - $ref: '#/components/schemas/video-text-track' properties: id: title: Video text track ID @@ -37139,7 +36923,7 @@ components: description: The identifier of a video text track. readOnly: true url: - $ref: '#/components/schemas/asset-location.json' + $ref: '#/components/schemas/AssetLocation' errorMessage: description: A message indicating the error processing the text track, if any. type: string @@ -37212,7 +36996,7 @@ components: description: Unique id of the video example: '6188806885001' status: - $ref: '#/components/schemas/video-status.json1' + $ref: '#/components/schemas/video-status.json' duration: type: integer description: Video duration (milliseconds) @@ -37717,7 +37501,7 @@ components: type: string description: Type of the external system. example: Cvent Salesforce App - fair-season-type.json: + FairSeasonType: title: Fair Season Type enum: - negotiated @@ -37907,67 +37691,57 @@ components: example: - a64b648e-b7b0-4031-8f8a-8d5e0919b936 - f590f1ee-6c54-4b01-90e6-d701748f0851 - field-type.json: - title: FieldType - enum: - - DateTime - - MultiChoice - - Number - - SingleChoice - - Text - type: string - description: 'Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: Data is one or more options from a list. `Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is free-text input.' - field-type.json2: - title: FieldType - enum: - - SingleChoice - - MultiChoice - - DateTime - - Number - - Text - type: string - description: Field Type - example: SingleChoice - readOnly: true - field.json: + Field: title: Field description: A question field. type: object allOf: - - $ref: '#/components/schemas/text-field.json' + - $ref: '#/components/schemas/TextField' properties: type: - $ref: '#/components/schemas/field-type.json' + $ref: '#/components/schemas/FieldType' choices: type: array description: List of choices for this field. items: - $ref: '#/components/schemas/choice.json' + $ref: '#/components/schemas/Choice' minItems: 1 maxItems: 100 notApplicableAnswer: - $ref: '#/components/schemas/additional-choice.json' + $ref: '#/components/schemas/AdditionalChoice' otherAnswer: - $ref: '#/components/schemas/additional-choice.json' + $ref: '#/components/schemas/AdditionalChoice' required: type: boolean default: false description: True indicates this is a mandatory question field. example: true - field.json2: + field-type.json: + title: FieldType + enum: + - SingleChoice + - MultiChoice + - DateTime + - Number + - Text + type: string + description: Field Type + example: SingleChoice + readOnly: true + field.json: title: Field description: A survey field. type: object allOf: - - $ref: '#/components/schemas/text-field.json1' + - $ref: '#/components/schemas/text-field.json' properties: type: - $ref: '#/components/schemas/field-type.json2' + $ref: '#/components/schemas/field-type.json' choices: type: array description: List of choices for this field. items: - $ref: '#/components/schemas/choice.json2' + $ref: '#/components/schemas/choice.json1' notApplicableAnswer: $ref: '#/components/schemas/additionalChoice.json' otherAnswer: @@ -37977,6 +37751,16 @@ components: default: false description: Is this a mandatory field example: true + FieldType: + title: FieldType + enum: + - DateTime + - MultiChoice + - Number + - SingleChoice + - Text + type: string + description: 'Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: Data is one or more options from a list. `Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is free-text input.' file: description: Content of exhibitor file. title: File Request @@ -37985,7 +37769,7 @@ components: - $ref: '#/components/schemas/Audit' properties: event: - $ref: '#/components/schemas/Event2' + $ref: '#/components/schemas/Event3' exhibitor: $ref: '#/components/schemas/Exhibitor' displayName: @@ -38193,7 +37977,7 @@ components: - GoingToEvent - NotApplicable example: LeavingEvent - format-type.json: + format-type: title: Format Type enum: - gbta2013 @@ -38220,16 +38004,6 @@ components: type: string description: The gender of the contact. example: Male - gender.json: - title: Gender - enum: - - Male - - Female - - Non-binary - - Rather not say - type: string - description: The gender of the contact. - example: Male Gender1: title: Gender description: Gender of the requester. @@ -38367,36 +38141,6 @@ components: format: uuid description: Unique identifier of a guest. example: 07c1cf32-a603-4736-8b77-749c3cee3107 - guest-room-occupancy-per-room-type.json: - title: GuestRoomOccupancyPerRoomType - description: Room occupancy for a room type. - type: object - properties: - occupancy: - $ref: '#/components/schemas/guest-room-occupancy.json' - type: - $ref: '#/components/schemas/guest-room-type.json' - guest-room-occupancy.json: - title: GuestRoomOccupancy - description: 'Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. `TRIPLE`: Three occupants. `QUAD`: Four occupants. ' - type: string - enum: - - SINGLE - - DOUBLE - - TRIPLE - - QUAD - example: SINGLE - guest-room-type.json: - title: GuestRoomType - description: '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: string - enum: - - ANY - - SINGLE - - DOUBLE - - SUITE - - STAFF - example: DOUBLE guest.json: description: Guest details. title: Guest @@ -38458,10 +38202,40 @@ components: type: string example: (231)-213-1222 homeAddress: - $ref: '#/components/schemas/address.json2' + $ref: '#/components/schemas/address.json' paymentInfo: $ref: '#/components/schemas/payment-info.json' - hls-input-with-clips.json: + GuestRoomOccupancy: + title: GuestRoomOccupancy + description: 'Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. `TRIPLE`: Three occupants. `QUAD`: Four occupants. ' + type: string + enum: + - SINGLE + - DOUBLE + - TRIPLE + - QUAD + example: SINGLE + GuestRoomOccupancyPerRoomType: + title: GuestRoomOccupancyPerRoomType + description: Room occupancy for a room type. + type: object + properties: + occupancy: + $ref: '#/components/schemas/GuestRoomOccupancy' + type: + $ref: '#/components/schemas/GuestRoomType' + GuestRoomType: + title: GuestRoomType + description: '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: string + enum: + - ANY + - SINGLE + - DOUBLE + - SUITE + - STAFF + example: DOUBLE + HlsInputWithClips: title: HlsInputWithClips description: HTTP Live Streaming input and clips. type: object @@ -38474,7 +38248,7 @@ components: description: Clips for the HLS recording. type: array items: - $ref: '#/components/schemas/video-clip.json' + $ref: '#/components/schemas/VideoClip' hook: title: Hook description: A hook with a callback URI. @@ -38808,7 +38582,7 @@ components: description: Specifies who the hotel will charge incidental (extra) room expenses, like room service or long-distance calling. example: exceptions noted here. hotelAddress: - $ref: '#/components/schemas/Address3' + $ref: '#/components/schemas/Address5' hotelRoomRates: type: array description: Collection of hotel room rates the requester has taken. @@ -39039,7 +38813,7 @@ components: items: $ref: '#/components/schemas/planner.json1' currency: - $ref: '#/components/schemas/currency.json2' + $ref: '#/components/schemas/currency.json1' roomsSortType: $ref: '#/components/schemas/rooms-sort-type.json' housing-event-hotel: @@ -39088,7 +38862,7 @@ components: rating: $ref: '#/components/schemas/hotel-rating.json' address: - $ref: '#/components/schemas/address.json2' + $ref: '#/components/schemas/address.json' housing-event-hotels-list: type: object title: HotelsList @@ -39453,7 +39227,7 @@ components: type: string description: Name of the object example: Sample Object name - id.json: + IdOnlyEntity: title: Id only entity description: An entity which only has an id. required: @@ -39472,7 +39246,7 @@ components: - $ref: '#/components/schemas/booking-website-link.json/allOf/0' example: href: https://example.com/content/example.jpg - industry.json-0: + Industry-1: title: Industry description: Industry type: string @@ -39539,7 +39313,7 @@ components: type: object properties: paging: - $ref: '#/components/schemas/paging.json19' + $ref: '#/components/schemas/paging.json2' data: type: array items: @@ -39775,7 +39549,7 @@ components: - $ref: '#/components/schemas/Audit' properties: event: - $ref: '#/components/schemas/Event2' + $ref: '#/components/schemas/Event3' exhibitor: $ref: '#/components/schemas/Exhibitor' attendee: @@ -39813,13 +39587,13 @@ components: maxLength: 30 example: 555-555-5555 homeAddress: - $ref: '#/components/schemas/Address-1' + $ref: '#/components/schemas/Address-11' homePhone: type: string description: Home phone number of the lead example: 555-555-5555 workAddress: - $ref: '#/components/schemas/Address-1' + $ref: '#/components/schemas/Address-11' workPhone: type: string description: Work Phone number of the lead @@ -39964,7 +39738,7 @@ components: description: A question answer. type: object allOf: - - $ref: '#/components/schemas/question.json3/allOf/0' + - $ref: '#/components/schemas/question.json2/allOf/0' properties: type: type: string @@ -39976,34 +39750,12 @@ components: type: object properties: question: - $ref: '#/components/schemas/question.json3' + $ref: '#/components/schemas/question.json2' answers: type: array description: List of answers. items: $ref: '#/components/schemas/lead-qualified-answer.json' - lead-source-section.json: - title: LeadSourceSection - description: Represents lead source section details, which is a sub area of source generating the RFP. - type: object - properties: - id: - type: string - format: uuid - description: Unique identifier for sub area of source generating the RFP. Details about this lead source section can be fetched using lead source section API. - example: 40dc08af-24a9-4d01-84be-3d43133dc945 - lead-source.json: - title: LeadSource - description: Lead source details. - type: object - properties: - id: - type: string - format: uuid - description: Unique identifier for source generating the RFP. Details about this lead source can be fetched using lead source API. - example: 50dc08af-24a9-4d01-84be-3d43133dc945 - section: - $ref: '#/components/schemas/lead-source-section.json' LeadQualificationAnswers: title: Lead Qualification Answers description: This JSON schema file represents lead qualification answers @@ -40019,7 +39771,7 @@ components: question: $ref: '#/components/schemas/UUID' event: - $ref: '#/components/schemas/Event2' + $ref: '#/components/schemas/Event3' exhibitor: $ref: '#/components/schemas/Exhibitor' lead: @@ -40042,7 +39794,7 @@ components: example: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 description: Lead Qualification Question id event: - $ref: '#/components/schemas/Event2' + $ref: '#/components/schemas/Event3' exhibitor: $ref: '#/components/schemas/Exhibitor' type: @@ -40063,11 +39815,11 @@ components: type: array description: List of available choices for the question items: - $ref: '#/components/schemas/Choice' + $ref: '#/components/schemas/Choice1' notApplicableAnswer: - $ref: '#/components/schemas/AdditionalChoice' + $ref: '#/components/schemas/AdditionalChoice1' otherAnswers: - $ref: '#/components/schemas/AdditionalChoice' + $ref: '#/components/schemas/AdditionalChoice1' required: type: boolean description: A boolean indicating whether the question is mandatory or not @@ -40088,6 +39840,28 @@ components: $ref: '#/components/schemas/Lead' description: Collection of leads. description: A paginated response of leads. + LeadSource: + title: LeadSource + description: Lead source details. + type: object + properties: + id: + type: string + format: uuid + description: Unique identifier for source generating the RFP. Details about this lead source can be fetched using lead source API. + example: 50dc08af-24a9-4d01-84be-3d43133dc945 + section: + $ref: '#/components/schemas/LeadSourceSection' + LeadSourceSection: + title: LeadSourceSection + description: Represents lead source section details, which is a sub area of source generating the RFP. + type: object + properties: + id: + type: string + format: uuid + description: Unique identifier for sub area of source generating the RFP. Details about this lead source section can be fetched using lead source section API. + example: 40dc08af-24a9-4d01-84be-3d43133dc945 LegDetail: title: LegDetail description: Representation of a leg detail in air request. @@ -40320,7 +40094,7 @@ components: format: uuid example: 9463c74e-18c6-401a-a710-ae0f485bf059 description: Loop Choice ID. - management-level-type.json1: + ManagementLevelType1: title: Management Level Type enum: - global @@ -40337,9 +40111,14 @@ components: example: 2 minimum: 1 maximum: 10 - measurement-unit.json-0: + MeasurementUnit: title: MeasurementUnit - description: Measurement unit. + description: |- + Unit of measurement for area or space. + + Values: + - `SQUARE_FEET` — Square Feet + - `SQUARE_METERS` — Square Meters type: string enum: - SQUARE_FEET @@ -40788,7 +40567,7 @@ components: example: What is your favorite color? readOnly: true type: - $ref: '#/components/schemas/question-type.json1' + $ref: '#/components/schemas/question-type.json' value: type: array uniqueItems: true @@ -41149,50 +40928,6 @@ components: Anniversary: '#/components/schemas/Anniversary' Calendar: '#/components/schemas/Calendar' description: Collection of membership items. - membership.json: - title: ContactMembership - description: Contact Membership information - type: object - readOnly: true - properties: - type: - type: string - description: The type of membership the contact has signed up for. - maxLength: 300 - example: Corporate Sponsor - plan: - type: string - description: Describes the specific plan the contact has signed up for. - maxLength: 300 - example: Gold Level - joined: - type: string - format: date - description: The ISO-8601 formatted date the contact began their membership. - readOnly: true - example: '2017-02-10' - expiration: - type: string - format: date - description: The ISO-8601 formatted date the contact's membership will expire. - readOnly: true - example: '2020-02-09' - lastRenewal: - type: string - format: date - description: The ISO-8601 formatted date the contact last renewed their membership. - readOnly: true - example: '2019-02-08' - amountDue: - type: number - description: The amount currently due for this membership. - readOnly: true - minimum: 0 - example: 50.5 - listInDirectory: - type: boolean - description: Indicates if the member details should be included in the member directory. - example: false message-recipients-paginated-response: title: Paginated Channel Members Response description: The response matching the filter criteria for the list of channel members. @@ -41202,13 +40937,13 @@ components: type: object properties: paging: - $ref: '#/components/schemas/paging.json' + $ref: '#/components/schemas/Paging' data: type: array items: - $ref: '#/components/schemas/message-recipients-response.json' + $ref: '#/components/schemas/MessageRecipientResponse' description: Collection of channel members. - message-recipients-response.json: + MessageRecipientResponse: title: Message Recipient Response description: Members of the channel who received a message. type: object @@ -41372,15 +41107,15 @@ components: type: number example: 150 currency: - $ref: '#/components/schemas/currency.json2' - numeric-answer-format.json: + $ref: '#/components/schemas/currency.json1' + numeric-answer-format: type: string description: The answer format that a given number is stored in. enum: - Currency - Decimal - Number - offering-cost-type.json-0: + OfferingCostType-1: title: OfferingCostType description: Cost type associated with organizing and hosting events and meetings. type: string @@ -41447,24 +41182,6 @@ components: - STORAGE - TEARDOWN - TOTAL_FB_MINIMUM - opt-out.json: - title: ContactOptOut - description: Details of an opt-out for a Contact. - type: object - properties: - optedOut: - type: boolean - default: false - description: Used to denote if a contact has opted-out of receiving system generated emails. - example: false - date: - type: string - format: date-time - description: The ISO 8601 zoned date time when this contact was opted-out. This value can change if the contact opts out multiple times. - readOnly: true - example: '2019-02-12T03:00:00Z' - by: - $ref: '#/components/schemas/optout-by.json' optout-by.json: title: OptoutBy enum: @@ -41484,6 +41201,25 @@ components: description: This is used to denote how a contact is opt'd out of Cvent system. example: Account User readOnly: true + OptoutBy: + title: OptoutBy + enum: + - Abuse Complaint + - Account User + - API + - Contact Self Opt-Out + - Cvent Support + - Hard Bounce + - Import + - Invitee Self Unsubscribe + - Multiple Bounce + - Respondent Self Unsubscribe + - Temporary Block + - Cvent Salesforce App + type: string + description: This is used to denote how a contact is opt'd out of Cvent system. + example: Account User + readOnly: true Order: type: object description: Represents an order. Contains only the ID of the order. @@ -41729,6 +41465,30 @@ components: description: This is used to denote the type of order made by an attendee. example: Online Refund Organization: + title: Organization + description: Organization details. + type: object + properties: + id: + type: string + format: uuid + description: Unique identifier for the organization. + example: 50dc08af-24a9-4d01-84be-3d43133dc945 + organization-id.json: + title: Organization Id + type: integer + description: The globally unique numeric identifier which represents this organization. + example: 123 + readOnly: true + organization-number.json: + title: Organization Number + type: string + description: The globally unique numeric identifier represented as a string. + minLength: 1 + maxLength: 100 + example: '1234' + readOnly: true + Organization1: title: Organization description: The definition of a Cvent Organization. This is the overseeing entity representing the entire enterprise Cvent is in business with. An Organization has 1 to many Customers associated to it, which represent different lines of business within the organization. required: @@ -41773,21 +41533,7 @@ components: maxLength: 1000 default: '' example: Additional details about this organization. - organization-id.json: - title: Organization Id - type: integer - description: The globally unique numeric identifier which represents this organization. - example: 123 - readOnly: true - organization-number.json: - title: Organization Number - type: string - description: The globally unique numeric identifier represented as a string. - minLength: 1 - maxLength: 100 - example: '1234' - readOnly: true - organization-type.json-0: + OrganizationType-1: title: OrganizationType description: Organization type. type: string @@ -41801,16 +41547,6 @@ components: - MILITARY - OTHER - NON_PROFIT - organization.json: - title: Organization - description: Organization details. - type: object - properties: - id: - type: string - format: uuid - description: Unique identifier for the organization. - example: 50dc08af-24a9-4d01-84be-3d43133dc945 OSSAudit: title: OSS-Audit description: OSS Audit information @@ -41870,7 +41606,7 @@ components: type: string example: No Comment maxLength: 250 - package-pricing-preference.json: + PackagePricingPreference: title: PackagePricingPreference description: 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. type: string @@ -41922,36 +41658,36 @@ components: type: object properties: paging: - $ref: '#/components/schemas/paging.json' + $ref: '#/components/schemas/Paging' data: description: List of internal documents linked to an RFP. type: array items: - $ref: '#/components/schemas/rfp-internal-document.json-0' + $ref: '#/components/schemas/RfpInternalDocument' PaginatedRfpAgendaItems: title: PaginatedRfpAgendaItems description: Paginated list of agenda items associated with an RFP. type: object properties: paging: - $ref: '#/components/schemas/paging.json' + $ref: '#/components/schemas/Paging' data: description: List of agenda items associated with an RFP. type: array items: - $ref: '#/components/schemas/rfp-agenda-item.json' + $ref: '#/components/schemas/RfpAgendaItem' PaginatedRfpAgendaItemsSchedule: title: PaginatedRfpAgendaItemsSchedule description: Paginated list of agenda items schedule attached to an RFP. type: object properties: paging: - $ref: '#/components/schemas/paging.json' + $ref: '#/components/schemas/Paging' data: description: List of agenda items schedule attached to an RFP. type: array items: - $ref: '#/components/schemas/rfp-agenda-item-schedule-with-id.json' + $ref: '#/components/schemas/RfpAgendaItemScheduleWithId' PaginatedRfpAttachments: title: PaginatedRFPAttachments description: Paginated list of RFP attachments. @@ -41961,11 +41697,11 @@ components: - data properties: paging: - $ref: '#/components/schemas/paging.json' + $ref: '#/components/schemas/Paging' data: type: array items: - $ref: '#/components/schemas/rfp-attachment.json' + $ref: '#/components/schemas/RfpAttachment' description: List of attachments added on an RFP. PaginatedRfpCustomField: title: PaginatedRfpCustomField @@ -41973,24 +41709,24 @@ components: type: object properties: paging: - $ref: '#/components/schemas/paging.json' + $ref: '#/components/schemas/Paging' data: description: List of RFP custom fields linked to an RFP. type: array items: - $ref: '#/components/schemas/rfp-custom-field.json' + $ref: '#/components/schemas/CustomFieldAnswers' PaginatedRfpQuestions: title: PaginatedRfpQuestions description: Paginated response containing questions associated to an RFP. type: object properties: paging: - $ref: '#/components/schemas/paging.json' + $ref: '#/components/schemas/Paging' data: description: List of questions associated to an RFP. type: array items: - $ref: '#/components/schemas/rfp-question.json' + $ref: '#/components/schemas/RfpQuestion' PaginatedRfpRecipientsHistory: title: PaginatedRfpRecipientsHistory description: Paginated response containing logs of all the recipients that were copied on an RFP. @@ -42000,11 +41736,11 @@ components: - data properties: paging: - $ref: '#/components/schemas/paging.json' + $ref: '#/components/schemas/Paging' data: type: array items: - $ref: '#/components/schemas/rfp-recipient-log-entry.json' + $ref: '#/components/schemas/RfpRecipientLogEntry' description: List of RFP recipient logs. PaginatedRfpSuppliers: title: PaginatedRfpSuppliers @@ -42015,11 +41751,11 @@ components: - data properties: paging: - $ref: '#/components/schemas/paging.json' + $ref: '#/components/schemas/Paging' data: type: array items: - $ref: '#/components/schemas/rfp-supplier.json' + $ref: '#/components/schemas/RfpSupplier' description: List of RFP suppliers. pagination-links.json: title: PaginationLinks @@ -42072,7 +41808,7 @@ components: example: 2 _links: $ref: '#/components/schemas/PaginationLinks' - paging-no-total-count.json2: + paging-no-total-count.json: title: Paging required: - _links @@ -42126,7 +41862,7 @@ components: example: 2 _links: $ref: '#/components/schemas/pagination-links.json' - paging.json19: + paging.json2: title: Paging required: - _links @@ -42181,7 +41917,7 @@ components: type: string description: Denotes if a participant is a host or attendee of an appointment. example: Attendee - passport.json: + Passport: title: Passport description: This entity represents a contact's passport information. type: object @@ -42265,7 +42001,7 @@ components: type: string example: Gustav Schultz address: - $ref: '#/components/schemas/address.json2' + $ref: '#/components/schemas/address.json' phone: description: Phone number. type: string @@ -43007,7 +42743,7 @@ components: type: array deprecated: true items: - $ref: '#/components/schemas/custom-field.json3' + $ref: '#/components/schemas/custom-field.json2' description: Collection of custom fields. readOnly: true sourceId: @@ -43191,7 +42927,7 @@ components: type: string description: This is used to denote the type of a video player example: Cvent Video Player - policy-value-type.json: + PolicyValueType: title: Policy Value Type enum: - selection_list @@ -43526,21 +43262,6 @@ components: $ref: '#/components/schemas/program-item-session-document' description: Collection of Session Program Item Documents. maxItems: 200 - program-item-id.json: - title: ProgramItemId - description: The unique identifier for a program item. - type: string - format: uuid - example: 221984b2-9e3e-4c1c-8ef4-306b1b75fa3e - program-item-lite.json: - required: - - id - type: object - title: ProgramItemLite - description: The unique identifier of a program item. - properties: - id: - $ref: '#/components/schemas/program-item-id.json' program-item-paginated-response: title: ProgramItemPaginatedResponse description: The response from a request to get the list of session program items. @@ -43603,7 +43324,7 @@ components: type: object properties: paging: - $ref: '#/components/schemas/paging.json' + $ref: '#/components/schemas/Paging' data: type: array items: @@ -43657,13 +43378,28 @@ components: description: The program item associated with the session. properties: id: - $ref: '#/components/schemas/ProgramItemId' + $ref: '#/components/schemas/ProgramItemId1' ProgramItemId: + title: ProgramItemId + description: The unique identifier for a program item. + type: string + format: uuid + example: 221984b2-9e3e-4c1c-8ef4-306b1b75fa3e + ProgramItemId1: title: ProgramItemId description: The unique identifier for a program item type: string format: uuid example: 788426ac-5d83-11ee-8c99-0242ac120002 + ProgramItemLite: + required: + - id + type: object + title: ProgramItemLite + description: The unique identifier of a program item. + properties: + id: + $ref: '#/components/schemas/ProgramItemId' property: title: property description: Details of the property @@ -43745,7 +43481,7 @@ components: example: USD description: The ISO 4217 standard format currency code specified for the property. address: - $ref: '#/components/schemas/address.json3' + $ref: '#/components/schemas/address.json1' externalCodes: type: array items: @@ -43821,7 +43557,7 @@ components: example: false readOnly: true bedTypeCode: - $ref: '#/components/schemas/room-bed-type.json1' + $ref: '#/components/schemas/room-bed-type.json' numberOfBeds: type: integer description: The number of beds in the room. @@ -43871,7 +43607,7 @@ components: description: The proposal date. properties: dateType: - $ref: '#/components/schemas/date-type.json1' + $ref: '#/components/schemas/date-type.json' startDate: type: string format: date @@ -43882,7 +43618,7 @@ components: format: date description: The end date of the event. example: '2021-01-13' - proposal-status-type.json: + proposal-status-type: title: Proposal Status Type enum: - participation_requested @@ -43985,7 +43721,7 @@ components: example: All invoices must be paid in 30 days. deprecated: true currencyCode: - $ref: '#/components/schemas/currency.json1' + $ref: '#/components/schemas/currency.json2' commissionableBid: type: boolean description: True indicates this is a commissionable bid. @@ -44024,12 +43760,12 @@ components: type: array description: List of all contacts. items: - $ref: '#/components/schemas/contact.json1' + $ref: '#/components/schemas/contact.json' plannerContacts: type: array description: List of all planner contacts. items: - $ref: '#/components/schemas/contact.json1' + $ref: '#/components/schemas/contact.json' meetingRoom: $ref: '#/components/schemas/meeting-room.json' transaction: @@ -44085,7 +43821,7 @@ components: type: object properties: distance: - $ref: '#/components/schemas/distance.json1' + $ref: '#/components/schemas/distance.json' mapMessage: description: Message shown on map. type: string @@ -44214,7 +43950,7 @@ components: description: A question, defined by the program, for the supplier to answer as part of their proposal. type: object allOf: - - $ref: '#/components/schemas/travel-account/allOf/0' + - $ref: '#/components/schemas/Audit' properties: id: title: Question ID @@ -44234,11 +43970,11 @@ components: example: true description: Is this question required by default? responseType: - $ref: '#/components/schemas/question-response-type.json' + $ref: '#/components/schemas/QuestionResponseType' responseDataType: - $ref: '#/components/schemas/question-response-data-type.json' + $ref: '#/components/schemas/QuestionResponseDataType' responseFormat: - $ref: '#/components/schemas/question-response-format.json' + $ref: '#/components/schemas/QuestionResponseFormat' responseChoices: title: Response Choices description: A list of options for the question. This only applies when responseType is 'choice' @@ -44250,14 +43986,6 @@ components: - American - French - Other - question-classification-type.json: - type: string - title: QuestionClassificationType - description: '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.' - enum: - - MEETING_ROOM - - GUEST_ROOM - - ALL_RFPS question-detail.json: title: QuestionDetail description: The question asked in a session. @@ -44286,91 +44014,25 @@ components: type: object properties: paging: - $ref: '#/components/schemas/paging.json' + $ref: '#/components/schemas/Paging' data: type: array items: $ref: '#/components/schemas/question' description: Collection of Questions. - question-response-data-type.json: - title: Question Response Data Type - enum: - - text - - date - - date_time - - time - - number - - email - - boolean - type: string - description: Code representing the expected data type of the question response. - example: text - question-response-format.json: - title: Question Response Format - enum: - - lower_case - - proper_case - - upper_case - type: string - description: Code representing the format the text of the response will be in. - example: proper_case - question-response-type.json: - title: Question Response Type - enum: - - single - - choice - type: string - description: 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. - example: choice question-response.json: title: QuestionResponse description: A Question response. type: object properties: question: - $ref: '#/components/schemas/question.json3' + $ref: '#/components/schemas/question.json2' answers: type: array description: List of answers. items: $ref: '#/components/schemas/answer.json1' - question-section.json: - title: Question Section - enum: - - program_client - - program_g_and_m - type: string - description: Code representing the section where the question belongs. Currently, program_client (client specific) and program_g_and_m (group and meeting) are supported. - example: program_client question-type.json: - title: QuestionType - enum: - - CommentBox - - DateTime - - FileUpload - - Form - - LargeChoices - - MatrixMultiChoice - - MatrixRating - - MatrixSideBySide - - MatrixSingleChoice - - MatrixSpreadSheet - - MultiChoice - - NetPromoter - - Number - - NumberAllocation - - OpenEndedDateTime - - OpenEndedNumeric - - OpenEndedTextCommentBox - - OpenEndedTextOneLine - - RankOrder - - Rating - - SingleChoice - - Text - type: string - description: The type of question. See [this article](https://support.cvent.com/s/communityarticle/Survey-Adding-Questions) for details on each enum. - example: SingleChoice - question-type.json1: title: QuestionType enum: - AutoIncrement @@ -44396,7 +44058,7 @@ components: description: Denotes the type of data collected by a question. example: SingleSelect readOnly: true - question-type.json2: + question-type.json1: title: QuestionType enum: - SingleChoice @@ -44421,7 +44083,7 @@ components: description: Question Type. example: SingleChoice readOnly: true - question-type.json3: + question-type.json2: title: Question Type description: This object represents the type of a question type: string @@ -44435,59 +44097,7 @@ components: - FileUpload - MatrixSinglePerRow - MatrixMultiPerRow - question-with-program-id.json: - 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/travel-account/allOf/0' - 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/question-response-type.json' - responseDataType: - $ref: '#/components/schemas/question-response-data-type.json' - responseFormat: - $ref: '#/components/schemas/question-response-format.json' - 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 - question.json1: + question.json: title: Question description: Question details required: @@ -44514,7 +44124,7 @@ components: type: string description: The answer text. example: Sample answer. - question.json2: + question.json1: title: Question description: A survey question. type: object @@ -44552,22 +44162,22 @@ components: description: Question Code example: 4l6x type: - $ref: '#/components/schemas/question-type.json2' + $ref: '#/components/schemas/question-type.json1' choices: type: array description: List of choices for the question. items: - $ref: '#/components/schemas/choice.json2' + $ref: '#/components/schemas/choice.json1' categories: type: array description: List of categories for the question. items: - $ref: '#/components/schemas/category.json2' + $ref: '#/components/schemas/category.json1' subCategories: type: array description: List of sub categories for matrix side-by-side questions items: - $ref: '#/components/schemas/text-field.json1' + $ref: '#/components/schemas/text-field.json' notApplicableAnswer: $ref: '#/components/schemas/additionalChoice.json' otherAnswer: @@ -44585,7 +44195,7 @@ components: type: array description: List of fields for form/matrix questions items: - $ref: '#/components/schemas/field.json2' + $ref: '#/components/schemas/field.json' maxScore: type: number description: Max possible score @@ -44599,7 +44209,7 @@ components: $ref: '#/components/schemas/uuid.json' chapter: $ref: '#/components/schemas/uuid.json' - question.json3: + question.json2: title: Question type: object description: The question that was answered. @@ -44622,6 +44232,185 @@ components: type: string description: Question code. example: CODE_A + QuestionClassificationType: + type: string + title: QuestionClassificationType + description: '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.' + enum: + - MEETING_ROOM + - GUEST_ROOM + - ALL_RFPS + QuestionCommon: + title: QuestionCommon + description: Base model with common properties for a question. + type: object + allOf: + - $ref: '#/components/schemas/Audit' + properties: + id: + type: string + format: uuid + description: Unique identifier of the question. + readOnly: true + text: + type: string + description: Text value of the question field. Displays to users in the UI. + example: Are you spending any significant time offsite and need transportation? + shortText: + type: string + description: Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. + example: Needs offsite transportation? + htmlText: + type: string + description: Html of the question. + example: Question Html + maxLength: 5000 + code: + type: string + description: Question code is unique identifier for every questions within a survey (can be same across surveys). This code is used in reporting and in question and answer data tags for emails. With every new question a random question code is generated. + example: 4l6x + maxLength: 30 + type: + $ref: '#/components/schemas/QuestionType' + choices: + type: array + description: List of choices for the question. + items: + $ref: '#/components/schemas/Choice' + maxItems: 100 + categories: + type: array + description: List of categories for the question. + items: + $ref: '#/components/schemas/Category' + maxItems: 100 + subCategories: + type: array + description: List of sub categories for matrix side-by-side questions. + items: + $ref: '#/components/schemas/TextField' + maxItems: 100 + notApplicableAnswer: + $ref: '#/components/schemas/AdditionalChoice' + otherAnswer: + $ref: '#/components/schemas/AdditionalChoice' + comments: + type: string + description: Text Value of Comments Input box placeholder. + example: Comments Text + maxLength: 16000 + required: + type: boolean + default: false + description: True indicates this is a mandatory question field. + example: true + fields: + type: array + description: List of fields for form/matrix questions. + items: + $ref: '#/components/schemas/Field' + maxItems: 100 + maxScore: + type: number + description: Max possible score. + example: 20 + minimum: 0 + totalSum: + type: integer + description: Total configured sum of all choices for number allocation question. + example: 45 + choiceSortOrder: + $ref: '#/components/schemas/choice-sort-order' + displayType: + $ref: '#/components/schemas/display-type' + minSelection: + type: integer + description: Minimum number of choices that must be selected. + example: 1 + default: 0 + maxSelection: + type: integer + description: Maximum number of choices that can be selected. + example: 3 + default: 0 + minDate: + type: string + format: date + description: The earliest date that can be selected, starting from or after this date. + example: '2020-01-01' + maxDate: + type: string + format: date + description: The latest date that can be selected, up to or before this date. + example: '2020-12-31' + showDateSelector: + type: boolean + description: Indicates if this is a date range question. + example: true + showCurrentDate: + type: boolean + description: Indicates if the current date should be shown. + example: true + dateAnswerFormat: + $ref: '#/components/schemas/date-answer-format' + numericAnswerFormat: + $ref: '#/components/schemas/numeric-answer-format' + unitLabel: + type: string + description: Label to add before or after textbox. + example: miles + unitPosition: + $ref: '#/components/schemas/unit-position' + minLength: + type: integer + description: Minimum number of characters that must be entered. + example: 5 + default: 0 + maxLength: + type: integer + description: Maximum number of characters that can be entered. + example: 100 + default: 500 + textAnswerFormat: + $ref: '#/components/schemas/text-answer-format' + customAnswerFormat: + type: object + description: An object that contains custom answer format data. + properties: + id: + type: integer + description: The unique identifier of the custom answer format for the account. + example: 104 + QuestionResponseDataType: + title: Question Response Data Type + enum: + - text + - date + - date_time + - time + - number + - email + - boolean + type: string + description: Code representing the expected data type of the question response. + example: text + QuestionResponseFormat: + title: Question Response Format + enum: + - lower_case + - proper_case + - upper_case + type: string + description: Code representing the format the text of the response will be in. + example: proper_case + QuestionResponseType: + title: Question Response Type + enum: + - single + - choice + type: string + description: 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. + example: choice questions-paginated-response: title: SurveyQuestionsPaginatedResponse description: Response include paging and collection of questions of surveys @@ -44635,7 +44424,7 @@ components: data: type: array items: - $ref: '#/components/schemas/question.json2' + $ref: '#/components/schemas/question.json1' description: Collection of questions for surveys. questions-paginated-response1: title: Travel Program Questions Paginated Response @@ -44643,13 +44432,49 @@ components: type: object properties: paging: - $ref: '#/components/schemas/paging.json' + $ref: '#/components/schemas/Paging' data: type: array items: - $ref: '#/components/schemas/question-with-program-id.json' + $ref: '#/components/schemas/TravelProgramQuestion' description: Collection of Questions. - rate-level-type.json: + QuestionSection: + title: Question Section + enum: + - program_client + - program_g_and_m + type: string + description: Code representing the section where the question belongs. Currently, program_client (client specific) and program_g_and_m (group and meeting) are supported. + example: program_client + QuestionType: + title: QuestionType + enum: + - CommentBox + - DateTime + - FileUpload + - Form + - LargeChoices + - MatrixMultiChoice + - MatrixRating + - MatrixSideBySide + - MatrixSingleChoice + - MatrixSpreadSheet + - MultiChoice + - NetPromoter + - Number + - NumberAllocation + - OpenEndedDateTime + - OpenEndedNumeric + - OpenEndedTextCommentBox + - OpenEndedTextOneLine + - RankOrder + - Rating + - SingleChoice + - Text + type: string + description: The type of question. See [this article](https://support.cvent.com/s/communityarticle/Survey-Adding-Questions) for details on each enum. + example: SingleChoice + RateLevelType: title: Rate Level Type enum: - corporate @@ -44658,7 +44483,7 @@ components: type: string description: Rate level example: corporate - rate-review-status-type.json: + RateReviewStatusType: title: Rate Review Status Type enum: - requested @@ -44667,7 +44492,7 @@ components: - rejected type: string description: The rate review status of the proposal - rate-type.json: + RateType: title: Rate Type enum: - fixed @@ -44676,39 +44501,13 @@ components: type: string description: Rate type. default: fixed - rebate-type.json: + RebateType: title: RebateType description: Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will represent a percentage. type: string enum: - BY_AMOUNT - BY_PERCENTAGE - recipient-info.json-0: - title: RecipientInfo - description: Represents the details of the RFP recipient. - type: object - properties: - order: - type: integer - description: The position at which this recipient will be displayed. - maximum: 3 - minimum: 1 - example: 2 - type: - $ref: '#/components/schemas/recipient-type.json-0' - value: - type: string - maxLength: 100 - description: If the recipient is ACCOUNT_USER or ACCOUNT_USER_GROUP, this field holds their unique ID. If the recipient is EMAIL, this field holds the email provided by the user. - example: janeDoe@example.com - recipient-type.json-0: - title: Recipient Type - description: Type of Recipient - type: string - enum: - - EMAIL - - ACCOUNT_USER - - ACCOUNT_USER_GROUP recipient.json: title: Recipient type: object @@ -44731,6 +44530,24 @@ components: type: string description: Email address of the recipient. example: brett.lawler@example.com + RecipientInfo: + title: RecipientInfo + description: Represents the details of the RFP recipient. + type: object + properties: + order: + type: integer + description: The position at which this recipient will be displayed. + maximum: 3 + minimum: 1 + example: 2 + type: + $ref: '#/components/schemas/RecipientType' + value: + type: string + maxLength: 100 + description: If the recipient is ACCOUNT_USER or ACCOUNT_USER_GROUP, this field holds their unique ID. If the recipient is EMAIL, this field holds the email provided by the user. + example: janeDoe@example.com recipients-data.json: title: Recipients Data description: Recipient data contains the recipient's details like ID, name and status of email sent to that recipient. @@ -44778,6 +44595,14 @@ components: type: string description: The error description describes the reason of a failed email. example: Recipient does not exist. + RecipientType: + title: Recipient Type + description: Type of Recipient + type: string + enum: + - EMAIL + - ACCOUNT_USER + - ACCOUNT_USER_GROUP reconciliation-status.json: title: ReconciliationStatus enum: @@ -44786,6 +44611,24 @@ components: type: string description: This is used to denote the reconciliation status for a transaction. example: Reconciled + ReferenceToRFP: + type: object + title: Reference to RFP + description: Reference to an RFP (Request For Proposal) by its ID. + required: + - id + properties: + id: + $ref: '#/components/schemas/RFPID' + ReferenceToSupplier: + type: object + title: Reference to Supplier + description: Reference to a supplier by its ID. + required: + - id + properties: + id: + $ref: '#/components/schemas/SupplierId' RefundPolicy: title: RefundPolicy description: Refund policy associated to a fee. @@ -44845,7 +44688,7 @@ components: description: A registration pack defining the registration type capacity allocations for an exhibitor at an event. properties: event: - $ref: '#/components/schemas/Event2' + $ref: '#/components/schemas/Event3' exhibitor: $ref: '#/components/schemas/Exhibitor' capacities: @@ -44870,7 +44713,7 @@ components: example: 50f4f0df-0c2d-4e6b-8e68-e1413b6917f5 description: Registration pack id event: - $ref: '#/components/schemas/Event2' + $ref: '#/components/schemas/Event3' exhibitor: $ref: '#/components/schemas/Exhibitor' capacities: @@ -45007,13 +44850,6 @@ components: exclusiveMinimum: true example: 2.3 minimum: 0 - relevance.json: - title: Relevance - description: Returned when the `match` filter is applied. Indicates how relevant the `match` filter term is to the search result. Larger numbers represent higher relevance with respect to other search results in the request. Null if no `match` filter is provided. - type: number - exclusiveMinimum: true - example: 2.3 - minimum: 0 reportingField.json: title: Virtual card reporting field and value. description: Reporting fields and values for a virtual card. @@ -45054,7 +44890,7 @@ components: example: What is your favorite color? readOnly: true type: - $ref: '#/components/schemas/question-type.json1' + $ref: '#/components/schemas/question-type.json' value: type: array uniqueItems: true @@ -45545,7 +45381,7 @@ components: - $ref: '#/components/schemas/event-survey-respondent/allOf/0' properties: event: - $ref: '#/components/schemas/event.json4' + $ref: '#/components/schemas/event.json3' contact: $ref: '#/components/schemas/uuid.json' attendee: @@ -45705,152 +45541,7 @@ components: required: - id allOf: - - title: RfpRequest - description: Request body for creating or updating an RFP. - type: object - required: - - needsGuestRooms - - needsMeetingSpace - allOf: - - $ref: '#/components/schemas/RfpRequest/allOf/0' - properties: - needsMeetingSpace: - type: boolean - description: True indicates meeting space is needed for event. - needsGuestRooms: - type: boolean - description: True indicates guest rooms are needed for event. - description: - type: string - description: Description of RFP. - minLength: 0 - maxLength: 2500 - example: Planning to host company's annual event in an outdoor location. - dateRequirements: - $ref: '#/components/schemas/date-requirements.json-0' - rfpEvent: - $ref: '#/components/schemas/rfp-event.json' - agendaStartDate: - type: string - format: date - description: The ISO 8601 date representing the start date of agenda. - example: '2025-10-13' - contact: - $ref: '#/components/schemas/contact.json-0' - rfpEventOrganization: - $ref: '#/components/schemas/rfp-event-organization.json' - decisionFactors: - type: string - description: Decision factors based on which RFP will be awarded. These can be price, location, or quality of service. - minLength: 0 - maxLength: 2500 - example: Price, location, and quality of service. - citywideEvent: - type: boolean - description: True indicates event is city wide and might require multiple venues. - responseDueDate: - type: string - format: date - description: The ISO 8601 date by when the response for RFP is expected from suppliers. - example: '2016-10-13' - decisionDate: - type: string - format: date - description: The ISO 8601 date by which RFP will be awarded. - example: '2016-10-13' - billingDetails: - $ref: '#/components/schemas/billing-details.json-0' - internalNote: - type: string - description: Internal note for planners. This note is not shared with suppliers. - minLength: 0 - maxLength: 300 - example: Don't award this RFP to the same venue as last year. - currencyCode: - type: string - description: The ISO 4217 standard format currency code. - format: ^[A-Z]{3}$ - example: USD - measurementUnit: - $ref: '#/components/schemas/measurement-unit.json-0' - requiredCostItems: - type: array - description: This contains cost items which are marked as required for suppliers in the RFP. - maxItems: 100 - items: - $ref: '#/components/schemas/offering-cost-type.json-0' - example: - - BREAK_AM - - BREAK_PM - hiddenCostItems: - type: array - description: This contains cost items which are marked as not needed for suppliers in the RFP. - maxItems: 100 - items: - $ref: '#/components/schemas/offering-cost-type.json-0' - example: - - BREAK_DRINKS_ONLY - - BREAK_SNACKS_AND_DRINKS - forwardable: - type: boolean - description: True indicates suppliers added on the RFP should be allowed to forward the RFP. - cvbForwardLimit: - type: integer - minimum: 0 - maximum: 99999 - description: Limits the number of venues that a CVB (Convention and Visitors Bureau) can forward an RFP to. - example: 5 - allowEmailNotifications: - type: boolean - description: True indicates email notifications are allowed for this RFP. - notificationRecipients: - type: array - description: This contains recipients who would get notified every time a new response is received back from the suppliers - maxItems: 3 - items: - $ref: '#/components/schemas/recipient-info.json-0' - example: - - 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: - type: boolean - description: True indicates award details can be shared with other suppliers added in RFP. - leadSource: - $ref: '#/components/schemas/lead-source.json' - sourceId: - type: string - minLength: 0 - maxLength: 100 - description: Unique identifier for RFPs originating from outside Cvent network provided by source system where RFP was created. - example: '123456' - showcaseEnabled: - type: boolean - description: True indicates showcase is enabled for this RFP. - autoAddToShowcaseEnabled: - type: boolean - description: True indicates that the RFP will be automatically added to showcase in case there is a low response rate. - destinationExpertsRequiredOnProposal: - type: boolean - description: True indicates suppliers are required to copy the destination experts (i.e. CVB/DMC) on the proposal that is sent back through Cvent. - weddingDetails: - $ref: '#/components/schemas/wedding-details.json-0' - needsCatering: - type: boolean - description: True indicates catering is required. - default: false - packagePricingPreference: - $ref: '#/components/schemas/package-pricing-preference.json' - feeTransparencyEnabled: - type: boolean - description: True indicates RFP was created with fee transparency enabled. - default: false + - $ref: '#/components/schemas/RfpRequest' properties: id: type: string @@ -45864,9 +45555,9 @@ components: description: Unique code of RFP. example: JBNJN7BGJ5J status: - $ref: '#/components/schemas/rfp-status.json-0' + $ref: '#/components/schemas/RfpStatus-1' type: - $ref: '#/components/schemas/rfp-type.json-0' + $ref: '#/components/schemas/RfpType-1' approvedBy: type: string readOnly: true @@ -45886,7 +45577,7 @@ components: description: True indicates RFP is approved. example: true cancellationDetails: - $ref: '#/components/schemas/cancellation-details.json' + $ref: '#/components/schemas/CancellationDetails' lastSentDateTime: type: string format: date-time @@ -45931,44 +45622,33 @@ components: readOnly: true description: Represents the AI generation source for the RFP. This field is set during RFP creation and cannot be modified afterwards. example: MCP-Visual Studio Code/1.107.1 - rfp-agenda-item-schedule-with-id.json: + rfp-id.json: type: object - title: RfpAgendaItemScheduleWithId - description: Contains RFP specific agenda items schedule information with agenda item id. - allOf: - - $ref: '#/components/schemas/rfp-agenda-item-schedule.json' properties: id: type: string + description: Identifier of a particular RFP. format: uuid - readOnly: true - description: Unique ID of the agenda item. - example: 50dc08af-24a9-4d01-84be-3d43133dc945 - rfp-agenda-item-schedule.json: + example: 3d808ee8-94f8-4f3a-9ad1-6b23f4e4c329 + description: RFP ID Information. + rfp-summary.json: + description: Schema for Rfp details associated with this proposal. type: object - title: RfpAgendaItemSchedule - description: Schedule information for an RFP agenda item. - required: - - dayNumber + title: RfpSummary properties: - dayNumber: - type: integer - description: Day number relative to start of event on which the agenda item occurs. - example: 1 - date: + id: type: string - format: date - readOnly: true - description: The ISO 8601 date of the agenda item. - example: '2021-07-03' - rfp-agenda-item.json: + format: uuid + description: The unique ID of the RFP this proposal is associated with. + example: 385b9a4c-3f00-4b67-99ca-8dddc82a95b5 + RfpAgendaItem: type: object title: RfpAgendaItem description: Agenda item associated with an RFP. required: - id allOf: - - $ref: '#/components/schemas/RfpAgendaItem/allOf/0' + - $ref: '#/components/schemas/RfpAgendaItemRequest' properties: id: type: string @@ -45988,7 +45668,109 @@ components: format: uuid description: Unique identifier for the attachment. example: 50dc08af-24a9-4d01-84be-3d43133dc945 - rfp-attachment.json: + RfpAgendaItemRequest: + type: object + title: RfpAgendaItemRequest + description: Request body for creating or updating an RFP agenda item. + required: + - number + - schedules + allOf: + - $ref: '#/components/schemas/Audit' + properties: + name: + type: string + description: The name of the agenda item. + minLength: 0 + maxLength: 50 + example: Agenda Item 1 + type: + $ref: '#/components/schemas/AgendaItemType' + setup: + $ref: '#/components/schemas/AgendaItemSetup' + note: + type: string + description: The note sent along with agenda item. + minLength: 0 + maxLength: 2500 + example: This is a sample comment for this agenda item. + startTime: + type: string + description: The start time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at event location. For RFPs spanning multiple time zones, this time applies uniformly in each location's respective timezone (e.g., 13:00:00 means 1 PM local time at every venue). + example: '10:00:00' + endTime: + type: string + description: The end time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at event location. For RFPs spanning multiple time zones, this time applies uniformly in each location's respective timezone (e.g., 14:00:00 means 2 PM local time at every venue). + example: '10:30:00' + roomSize: + type: integer + minimum: 0 + description: The required room size. It is specified in the default measurement unit of the RFP. Use GET RFP API to get the default measurement unit. + example: 1000 + attendeeCount: + type: integer + minimum: 1 + maximum: 49999 + description: Expected number of people attending the agenda. + example: 10000 + roomInfoRequired: + type: boolean + description: True indicates room information like type, description is required. + example: false + twentyFourHourHold: + type: boolean + description: True indicates that twenty four hour hold is required. + example: true + locatedAtPrimaryEventVenue: + type: boolean + description: True indicates that agenda location is at primary event venue. + example: false + rfpMeal: + $ref: '#/components/schemas/RfpMeal' + number: + type: integer + description: The sequence number of the agenda item. + minimum: 1 + maximum: 49999 + example: 5 + schedules: + type: array + minItems: 1 + maxItems: 150 + description: List of dates when this agenda item is scheduled. + items: + $ref: '#/components/schemas/RfpAgendaItemSchedule' + RfpAgendaItemSchedule: + type: object + title: RfpAgendaItemSchedule + description: Schedule information for an RFP agenda item. + required: + - dayNumber + properties: + dayNumber: + type: integer + description: Day number relative to start of event on which the agenda item occurs. + example: 1 + date: + type: string + format: date + readOnly: true + description: The ISO 8601 date of the agenda item. + example: '2021-07-03' + RfpAgendaItemScheduleWithId: + type: object + title: RfpAgendaItemScheduleWithId + description: Contains RFP specific agenda items schedule information with agenda item id. + allOf: + - $ref: '#/components/schemas/RfpAgendaItemSchedule' + properties: + id: + type: string + format: uuid + readOnly: true + description: Unique ID of the agenda item. + example: 50dc08af-24a9-4d01-84be-3d43133dc945 + RfpAttachment: type: object title: RfpAttachment description: This object contains Rfp specific attachments attributes. @@ -46014,7 +45796,7 @@ components: example: 777835 readOnly: true type: - $ref: '#/components/schemas/document-type.json-0' + $ref: '#/components/schemas/DocumentType-1' secure: type: boolean description: True indicates the attachment is uploaded behind a secured URL. @@ -46036,7 +45818,7 @@ components: example: image/jpeg readOnly: true source: - $ref: '#/components/schemas/attachment-source.json' + $ref: '#/components/schemas/AttachmentSource' relativePath: type: string description: The file path pointing to where the attachment is stored in Cvent. This path is relative to the base URL of the storage system and omits the root address. @@ -46073,82 +45855,20 @@ components: type: boolean description: True indicates the attachment is selected for the supplier whose ID is present in supplier.id field. example: true - rfp-custom-field.json: - title: RfpCustomField - description: This object contains RFP custom fields attributes only. - type: object - properties: - customField: - title: ExpandableCustomObject - properties: - id: - type: string - format: uuid - description: Unique identifier for custom field. - example: 50dc08af-24a9-4d01-84be-3d43133dc945 - type: object - readOnly: true - description: |- - An object containing custom field data. By default, contains only the field ID. - - This is an **expandable** object. When requested via the `expand` query parameter with value `customField`, this object expands to include all properties of a custom field definition. - - See the `expand` parameter documentation and refer to the [Get Custom Field](#tag/Custom-Fields/operation/getCustomField) API for the complete expanded schema. - answers: - type: array - description: List of answers for the RFP custom field. - maxItems: 100 - items: - type: string - description: Answer String - example: Choice 1 - required: - - customField - - answers - rfp-date-mode.json-0: + RfpDateMode: title: RfpDateMode - description: Way of specifying dates for the event. + description: RfpDateMode type: string enum: - ALTERNATE_DATE - DATE_PATTERN - rfp-event-organization.json: - title: EventOrganization - description: Details of organization which is hosting the event. - type: object - required: - - name - - type - properties: - organization: - $ref: '#/components/schemas/organization.json' - confidentialProfile: - type: boolean - description: True indicates organization profile has to be kept confidential. - industry: - $ref: '#/components/schemas/industry.json-0' - name: - type: string - description: Name of the organization hosting the event. - maxLength: 100 - example: Cvent Inc. - type: - $ref: '#/components/schemas/organization-type.json-0' - address: - $ref: '#/components/schemas/address.json-0' - eventsPerYear: - type: integer - description: Number of events per year. - minimum: 0 - maximum: 999999 - example: 450 - rfp-event.json: + RfpEvent: title: RfpEvent description: RFP event details. type: object properties: event: - $ref: '#/components/schemas/event.json-0' + $ref: '#/components/schemas/Event-1' name: type: string description: Name of the event linked with the RFP. @@ -46172,9 +45892,9 @@ components: description: True indicates that the event is associated with an external meeting request. example: true type: - $ref: '#/components/schemas/event-type.json-0' + $ref: '#/components/schemas/EventType-1' totalMeetingSpaceRequired: - $ref: '#/components/schemas/space-area.json-0' + $ref: '#/components/schemas/SpaceArea' audioVisualNeeds: type: string description: Audio visual requirements. @@ -46204,14 +45924,14 @@ components: maxLength: 30 example: XVYMP8970S largestMeetingSpaceRequired: - $ref: '#/components/schemas/space-area.json-0' + $ref: '#/components/schemas/SpaceArea' meetingRequestId: type: string format: uuid description: Unique identifier for meeting request associated with the event. example: 50dc08af-24a9-4d01-84be-3d43133dc945 formatType: - $ref: '#/components/schemas/event-format-type.json-0' + $ref: '#/components/schemas/EventFormatType' virtualAttendeesPerDay: type: integer description: Number of virtual attendees per day. @@ -46236,22 +45956,57 @@ components: maximum: 999999999 description: Budget for food and beverage. example: 1000 - rfp-id.json: + RfpGuestRooms: + title: RfpGuestRooms + description: Guest Room Requirements + type: object + properties: + totalRooms: + description: Sum of the number of rooms required each night across all the nights for the event. + type: integer + readOnly: true + example: 24 + minimum: 0 + maximum: 9999000 + peakRooms: + description: The number of rooms required during peak nights. + type: integer + readOnly: true + example: 24 + minimum: 0 + maximum: 49995 + occupancies: + description: Occupancies for every room type. + type: array + items: + $ref: '#/components/schemas/GuestRoomOccupancyPerRoomType' + minItems: 0 + maxItems: 5 + checkInDate: + type: string + format: date + description: The ISO 8601 check-in date. + example: '2025-10-13' + roomBlocks: + description: List of room blocks required. + type: array + items: + $ref: '#/components/schemas/RoomBlock' + minItems: 0 + maxItems: 200 + additionalInformation: + type: string + description: Additional Info (if any). + example: 2 Executive suites are mandatory. + minLength: 0 + maxLength: 2500 + RFPID: title: RFP ID description: A unique identifier for an RFP type: string format: uuid example: a0f3116a-4dd8-4923-b778-188cbe00a68f - rfp-id.json1: - type: object - properties: - id: - type: string - description: Identifier of a particular RFP. - format: uuid - example: 3d808ee8-94f8-4f3a-9ad1-6b23f4e4c329 - description: RFP ID Information. - rfp-internal-document.json-0: + RfpInternalDocument: type: object title: RfpInternalDocument description: This object contains RFP specific internal documents attributes only. @@ -46289,12 +46044,44 @@ components: description: URL of the document if `secure` is false. This field is null if `secure` is true. example: https://custom.cvent.com/0B7DEF22676A4434982BDAD2D6EC591F/files/supplier/0713cef78d4e4d818899d4522022d5ad/73ab2e3054fd4321a5e0f846a7adb0d7.jpg type: - $ref: '#/components/schemas/document-type.json-0' + $ref: '#/components/schemas/DocumentType-1' mimeType: type: string description: The content type of the document. example: image/jpeg - rfp-meal.json: + RfpLeadSource: + type: object + title: RfpLeadSource + description: Lead source of the RFP. + properties: + id: + type: string + format: uuid + readOnly: true + description: The unique identifier of the lead source. + example: f56a51a4-84b0-46c9-a612-716dc95a1c96 + name: + type: string + description: Name of the lead source. + maxLength: 100 + example: Cvent Supplier Network + RfpLeadSourceSection: + type: object + title: RfpLeadSourceSection + description: Lead source section of the RFP. + properties: + id: + type: string + format: uuid + readOnly: true + description: The unique identifier of the lead source section. + example: f56a51a4-84b0-46c9-a612-716dc95a1c96 + name: + type: string + description: Name of the lead source section. + maxLength: 200 + example: Cvent Supplier Network + RfpMeal: type: string title: RfpMeal description: Meal type offered during the agenda. @@ -46312,14 +46099,14 @@ components: - LUNCH_PLATED - RECEPTION_HEAVY_HORS_D_OEUVRES - RECEPTION_LIGHT_APPETIZERS - rfp-past-event.json: + RfpPastEvent: type: object title: RfpPastEvent description: This object includes information about past events hosted by the planner. required: - id allOf: - - $ref: '#/components/schemas/RfpPastEvent/allOf/0' + - $ref: '#/components/schemas/RfpPastEventRequest' properties: id: type: string @@ -46327,38 +46114,101 @@ components: readOnly: true description: Unique ID for the event detail. example: f56a51a4-84b0-46c9-a612-716dc95a1c96 - rfp-question.json: + RfpPastEventRequest: + type: object + title: RfpPastEventRequest + description: Request body for creating or updating an RFP past event. + properties: + venueName: + type: string + description: Name of the venue where the event was hosted. + maxLength: 100 + example: Delta Inn by Supreme Hotels + city: + type: string + description: Name of the city where the event was hosted. + maxLength: 40 + example: New Delhi + stateProvince: + type: string + description: ISO 3166-2 code for name of the state or province where the event was hosted. + example: US-AL + date: + type: string + description: Free form text field for the planner to provide details on the event date. + maxLength: 100 + example: First week of January 2024 + attendeeCount: + type: integer + description: Number of event attendees. + minimum: 0 + maximum: 999999 + example: 500 + guestRoomsPickedUp: + type: integer + description: Count of rooms picked up by planners for use during the event. + minimum: 0 + maximum: 999999 + example: 500 + guestRoomsBlocked: + type: integer + description: Count of rooms blocked by planner for the event. + minimum: 0 + maximum: 999999 + example: 500 + foodBeverageSpend: + type: string + description: Expenditure on food and beverage. + maxLength: 50 + example: 3,000 dollars + notes: + type: string + description: Any other information about the event. + maxLength: 2500 + example: This was the 25th event hosted by Alpha Planners. + RfpPastEvents: + title: RFP Past Events + description: List of past RFP events. + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/RfpPastEvent' + maxItems: 3 + description: List of past events saved on RFP by planner. + RfpQuestion: title: RfpQuestion description: Question associated with an RFP. type: object allOf: - - $ref: '#/components/schemas/RfpQuestion/allOf/0' + - $ref: '#/components/schemas/QuestionCommon' properties: supplierTypes: type: array description: List of supplier types that can view the question on the RFP. items: - $ref: '#/components/schemas/supplier-type.json' + $ref: '#/components/schemas/SupplierType' uniqueItems: true example: - CVB - HOTEL classificationType: - $ref: '#/components/schemas/question-classification-type.json' + $ref: '#/components/schemas/QuestionClassificationType' order: type: integer description: Determines the display order for questions on the RFP. Questions with smaller values appear first. example: 1 minimum: 1 standardQuestion: - $ref: '#/components/schemas/standard-question.json' + $ref: '#/components/schemas/StandardQuestion' aiQuestionGenerationSource: type: string maxLength: 100 readOnly: true description: Represents the AI generation source for the custom question on RFP. This field is set during question creation and cannot be modified afterwards. example: MCP-Visual Studio Code/1.107.1 - rfp-recipient-log-entry.json: + RfpRecipientLogEntry: type: object title: RfpRecipientLogEntry description: Contains the log entry when the recipient was copied on an RFP. @@ -46386,7 +46236,7 @@ components: description: True indicates that the recipient was added by the National Sales Office. example: false targetType: - $ref: '#/components/schemas/target-type.json' + $ref: '#/components/schemas/TargetType' sendDateTime: type: string format: date-time @@ -46401,7 +46251,154 @@ components: format: uuid description: The unique identifier of the message. example: a1c776ab-51ee-44a7-8720-b3dfc44d689b - rfp-response-reason.json: + RfpRequest: + title: RfpRequest + description: Request body for creating or updating an RFP. + type: object + required: + - needsGuestRooms + - needsMeetingSpace + allOf: + - $ref: '#/components/schemas/Audit' + properties: + needsMeetingSpace: + type: boolean + description: True indicates meeting space is needed for event. + needsGuestRooms: + type: boolean + description: True indicates guest rooms are needed for event. + description: + type: string + description: Description of RFP. + minLength: 0 + maxLength: 2500 + example: Planning to host company's annual event in an outdoor location. + dateRequirements: + $ref: '#/components/schemas/DateRequirements-1' + rfpEvent: + $ref: '#/components/schemas/RfpEvent' + agendaStartDate: + type: string + format: date + description: The ISO 8601 date representing the start date of agenda. + example: '2025-10-13' + contact: + $ref: '#/components/schemas/Contact-1' + rfpEventOrganization: + $ref: '#/components/schemas/EventOrganization-1' + decisionFactors: + type: string + description: Decision factors based on which RFP will be awarded. These can be price, location, or quality of service. + minLength: 0 + maxLength: 2500 + example: Price, location, and quality of service. + citywideEvent: + type: boolean + description: True indicates event is city wide and might require multiple venues. + responseDueDate: + type: string + format: date + description: The ISO 8601 date by when the response for RFP is expected from suppliers. + example: '2016-10-13' + decisionDate: + type: string + format: date + description: The ISO 8601 date by which RFP will be awarded. + example: '2016-10-13' + billingDetails: + $ref: '#/components/schemas/BillingDetails-1' + internalNote: + type: string + description: Internal note for planners. This note is not shared with suppliers. + minLength: 0 + maxLength: 300 + example: Don't award this RFP to the same venue as last year. + currencyCode: + type: string + description: The ISO 4217 standard format currency code. + format: ^[A-Z]{3}$ + example: USD + measurementUnit: + $ref: '#/components/schemas/MeasurementUnit' + requiredCostItems: + type: array + description: This contains cost items which are marked as required for suppliers in the RFP. + maxItems: 100 + items: + $ref: '#/components/schemas/OfferingCostType-1' + example: + - BREAK_AM + - BREAK_PM + hiddenCostItems: + type: array + description: This contains cost items which are marked as not needed for suppliers in the RFP. + maxItems: 100 + items: + $ref: '#/components/schemas/OfferingCostType-1' + example: + - BREAK_DRINKS_ONLY + - BREAK_SNACKS_AND_DRINKS + forwardable: + type: boolean + description: True indicates suppliers added on the RFP should be allowed to forward the RFP. + cvbForwardLimit: + type: integer + minimum: 0 + maximum: 99999 + description: Limits the number of venues that a CVB (Convention and Visitors Bureau) can forward an RFP to. + example: 5 + allowEmailNotifications: + type: boolean + description: True indicates email notifications are allowed for this RFP. + notificationRecipients: + type: array + description: This contains recipients who would get notified every time a new response is received back from the suppliers + maxItems: 3 + items: + $ref: '#/components/schemas/RecipientInfo' + example: + - 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: + type: boolean + description: True indicates award details can be shared with other suppliers added in RFP. + leadSource: + $ref: '#/components/schemas/LeadSource' + sourceId: + type: string + minLength: 0 + maxLength: 100 + description: Unique identifier for RFPs originating from outside Cvent network provided by source system where RFP was created. + example: '123456' + showcaseEnabled: + type: boolean + description: True indicates showcase is enabled for this RFP. + autoAddToShowcaseEnabled: + type: boolean + description: True indicates that the RFP will be automatically added to showcase in case there is a low response rate. + destinationExpertsRequiredOnProposal: + type: boolean + description: True indicates suppliers are required to copy the destination experts (i.e. CVB/DMC) on the proposal that is sent back through Cvent. + weddingDetails: + $ref: '#/components/schemas/WeddingDetails-1' + needsCatering: + type: boolean + description: True indicates catering is required. + default: false + packagePricingPreference: + $ref: '#/components/schemas/PackagePricingPreference' + feeTransparencyEnabled: + type: boolean + description: True indicates RFP was created with fee transparency enabled. + default: false + RfpResponseReason: title: RfpResponseReason description: Reason given for a response to an RFP. type: string @@ -46448,7 +46445,7 @@ components: - VENUE_TEMPORARILY_CLOSED - VENUE_TOO_SMALL example: GUEST_ROOMS_NO_LONGER_AVAILABLE - rfp-status.json-0: + RfpStatus-1: title: RfpStatus readOnly: true description: Represents state of the RFP. @@ -46461,35 +46458,23 @@ components: - HISTORIC - CANCELLED - DELETED - rfp-summary.json: - description: Schema for Rfp details associated with this proposal. - type: object - title: RfpSummary - properties: - id: - type: string - format: uuid - description: The unique ID of the RFP this proposal is associated with. - example: 385b9a4c-3f00-4b67-99ca-8dddc82a95b5 - rfp-supplier.json: + RfpSupplier: type: object title: RfpSupplier description: Supplier data for an RFP. - required: - - supplier allOf: - - $ref: '#/components/schemas/RfpRequest/allOf/0' + - $ref: '#/components/schemas/Audit' properties: supplier: type: object description: The supplier associated with the RFP. allOf: - - $ref: '#/components/schemas/RfpSupplier/properties/supplier/allOf/0' + - $ref: '#/components/schemas/ReferenceToSupplier' readOnly: true rfp: type: object allOf: - - $ref: '#/components/schemas/RfpSupplier/properties/rfp/allOf/0' + - $ref: '#/components/schemas/ReferenceToRFP' readOnly: true externalSupplier: type: object @@ -46500,10 +46485,11 @@ components: maxLength: 100 description: The name of the external supplier. example: ABC Corp + readOnly: true associatedAdvertisements: type: object allOf: - - $ref: '#/components/schemas/RfpSupplier/properties/associatedAdvertisements/allOf/0' + - $ref: '#/components/schemas/SupplierAssociatedAds' readOnly: true proposalInProgress: type: boolean @@ -46515,11 +46501,11 @@ components: description: Internal note by planner for supplier. This is not visible to the supplier. maxLength: 300 example: Don't award this RFP to the same venue as last year. + readOnly: true leadSource: type: object allOf: - - $ref: '#/components/schemas/lead-source.json' - readOnly: true + - $ref: '#/components/schemas/LeadSource' largestMeetingRoomMet: type: boolean description: True indicates the largest meeting room criteria is met. @@ -46549,6 +46535,7 @@ components: maxLength: 300 description: Recommendations added by planner for supplier. example: The staff should be courteous. + readOnly: true shortlistOrder: type: integer description: Shortlisted order for the supplier. @@ -46568,7 +46555,7 @@ components: status: type: string allOf: - - $ref: '#/components/schemas/RfpSupplier/properties/status/allOf/0' + - $ref: '#/components/schemas/RfpSupplierStatus' readOnly: true statusChangedDateTime: type: string @@ -46585,7 +46572,7 @@ components: response: type: object allOf: - - $ref: '#/components/schemas/RfpSupplier/properties/response/allOf/0' + - $ref: '#/components/schemas/SupplierResponse' readOnly: true externalProposalId: type: string @@ -46628,7 +46615,24 @@ components: description: True indicates the RFP was sent to NSO (National Sales Office) associated with supplier. example: false readOnly: true - rfp-type.json-0: + RfpSupplierStatus: + title: RfpSupplierStatus + description: The RFP's current status with respect to the supplier. + type: string + enum: + - AWAITING_PROPOSAL + - AWARDED + - CANCELLED + - DECLINED + - FORWARDED + - NO_RESPONSE + - NOT_SENT + - RECEIPT_CONFIRMED + - SUBMITTED_PROPOSAL + - TURNED_DOWN + - WITHDRAWN + example: AWAITING_PROPOSAL + RfpType-1: title: RfpType description: RFP types based on event requirements. type: string @@ -46638,957 +46642,96 @@ components: - GUEST_ROOMS_ONLY - RESTAURANT_RFP - SERVICE_PROVIDER - RfpAgendaItem: + room-attendee-type.json: + title: RoomAttendeeType + description: Attendee type details specific to room. type: object - title: RfpAgendaItem - description: Agenda item associated with an RFP. - required: - - id allOf: - - type: object - title: RfpAgendaItemRequest - description: Request body for creating or updating an RFP agenda item. - required: - - number - - schedules - allOf: - - $ref: '#/components/schemas/RfpRequest/allOf/0' - properties: - name: - type: string - description: The name of the agenda item. - minLength: 0 - maxLength: 50 - example: Agenda Item 1 - type: - $ref: '#/components/schemas/agenda-item-type.json' - setup: - $ref: '#/components/schemas/agenda-item-setup.json' - note: - type: string - description: The note sent along with agenda item. - minLength: 0 - maxLength: 2500 - example: This is a sample comment for this agenda item. - startTime: - type: string - description: The start time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at event location. For RFPs spanning multiple time zones, this time applies uniformly in each location's respective timezone (e.g., 13:00:00 means 1 PM local time at every venue). - example: '10:00:00' - endTime: - type: string - description: The end time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at event location. For RFPs spanning multiple time zones, this time applies uniformly in each location's respective timezone (e.g., 14:00:00 means 2 PM local time at every venue). - example: '10:30:00' - roomSize: - type: integer - minimum: 0 - description: The required room size. It is specified in the default measurement unit of the RFP. Use GET RFP API to get the default measurement unit. - example: 1000 - attendeeCount: - type: integer - minimum: 1 - maximum: 49999 - description: Expected number of people attending the agenda. - example: 10000 - roomInfoRequired: - type: boolean - description: True indicates room information like type, description is required. - example: false - twentyFourHourHold: - type: boolean - description: True indicates that twenty four hour hold is required. - example: true - locatedAtPrimaryEventVenue: - type: boolean - description: True indicates that agenda location is at primary event venue. - example: false - rfpMeal: - $ref: '#/components/schemas/rfp-meal.json' - number: - type: integer - description: The sequence number of the agenda item. - minimum: 1 - maximum: 49999 - example: 5 - schedules: - type: array - minItems: 1 - maxItems: 150 - description: List of dates when this agenda item is scheduled. - items: - $ref: '#/components/schemas/rfp-agenda-item-schedule.json' - properties: - id: - type: string - format: uuid - readOnly: true - description: Unique ID of the agenda item. - example: f56a51a4-84b0-46c9-a612-716dc95a1c96 - agendaBuilderAttachment: - type: object - description: Attachment whose data was used to create the agenda item. - readOnly: true - required: - - id - properties: - id: - type: string - format: uuid - description: Unique identifier for the attachment. - example: 50dc08af-24a9-4d01-84be-3d43133dc945 - RfpGuestRooms: - title: RfpGuestRooms - description: Guest Room Requirements - type: object + - $ref: '#/components/schemas/attendee-type.json' properties: - totalRooms: - description: Sum of the number of rooms required each night across all the nights for the event. - type: integer - readOnly: true - example: 24 - minimum: 0 - maximum: 9999000 - peakRooms: - description: The number of rooms required during peak nights. - type: integer - readOnly: true - example: 24 - minimum: 0 - maximum: 49995 - occupancies: - description: Occupancies for every room type. - type: array - items: - $ref: '#/components/schemas/guest-room-occupancy-per-room-type.json' - minItems: 0 - maxItems: 5 - checkInDate: + cancelPolicy: + description: Room cancellation policy for the attendee types. type: string - format: date - description: The ISO 8601 check-in date. - example: '2025-10-13' - roomBlocks: - description: List of room blocks required. - type: array - items: - $ref: '#/components/schemas/room-block.json' - minItems: 0 - maxItems: 200 - additionalInformation: + example: If you wish to cancel your reservation, please do so 72 hours prior to your arrival date. + taxPolicy: + description: Room tax policy for the attendee types. type: string - description: Additional Info (if any). - example: 2 Executive suites are mandatory. - minLength: 0 - maxLength: 2500 - RfpLeadSource: + example: New York State Sales Tax is currently 8.875% per night. + room-bed-type.json: + title: Room bed type + enum: + - sofa_bed + - double + - full + - king + - murphy + - queen + - run_of_house + - single + - twin + type: string + description: Code representing the bed type. + example: queen + room-id.json: type: object - title: RfpLeadSource - description: Lead source of the RFP. + title: RoomId + description: Contains unique ID of the room. + required: + - id properties: id: - type: string - format: uuid - readOnly: true - description: The unique identifier of the lead source. - example: f56a51a4-84b0-46c9-a612-716dc95a1c96 - name: - type: string - description: Name of the lead source. - maxLength: 100 - example: Cvent Supplier Network - RfpLeadSourceSection: + description: The unique ID of the room. + type: integer + example: 11549984 + room-info.json: + title: RoomInfo type: object - title: RfpLeadSourceSection - description: Lead source section of the RFP. + description: Room information. + allOf: + - $ref: '#/components/schemas/room-id.json' properties: - id: - type: string - format: uuid - readOnly: true - description: The unique identifier of the lead source section. - example: f56a51a4-84b0-46c9-a612-716dc95a1c96 name: + description: Room name. type: string - description: Name of the lead source section. - maxLength: 200 - example: Cvent Supplier Network - RfpPastEvent: + example: King + readOnly: true + room-inventory.json: + description: Room inventory details for single night. type: object - title: RfpPastEvent - description: This object includes information about past events hosted by the planner. required: - - id + - housingEvent + - hotel + - roomType + - date allOf: - - type: object - title: RfpPastEventRequest - description: Request body for creating or updating an RFP past event. + - description: Inventory details for single night. + type: object + required: + - rate + - currentBlock + - pickup + - available properties: - venueName: - type: string - description: Name of the venue where the event was hosted. - maxLength: 100 - example: Delta Inn by Supreme Hotels - city: - type: string - description: Name of the city where the event was hosted. - maxLength: 40 - example: New Delhi - stateProvince: - type: string - description: ISO 3166-2 code for name of the state or province where the event was hosted. - example: US-AL - date: - type: string - description: Free form text field for the planner to provide details on the event date. - maxLength: 100 - example: First week of January 2024 - attendeeCount: + hideRates: + description: Indicates if rates are hidden on booking site for this night. + type: boolean + example: false + rate: + $ref: '#/components/schemas/night-rate.json' + originalBlock: + description: Number of inventory blocked on event creation. type: integer - description: Number of event attendees. + example: 100 minimum: 0 - maximum: 999999 - example: 500 - guestRoomsPickedUp: + currentBlock: + description: Current inventory number. type: integer - description: Count of rooms picked up by planners for use during the event. + example: 150 minimum: 0 - maximum: 999999 - example: 500 - guestRoomsBlocked: + pickup: + description: Number of rooms sold. type: integer - description: Count of rooms blocked by planner for the event. - minimum: 0 - maximum: 999999 - example: 500 - foodBeverageSpend: - type: string - description: Expenditure on food and beverage. - maxLength: 50 - example: 3,000 dollars - notes: - type: string - description: Any other information about the event. - maxLength: 2500 - example: This was the 25th event hosted by Alpha Planners. - properties: - id: - type: string - format: uuid - readOnly: true - description: Unique ID for the event detail. - example: f56a51a4-84b0-46c9-a612-716dc95a1c96 - RfpPastEvents: - title: RFP Past Events - description: List of past RFP events. - type: object - properties: - data: - type: array - items: - $ref: '#/components/schemas/rfp-past-event.json' - maxItems: 3 - description: List of past events saved on RFP by planner. - RfpQuestion: - title: RfpQuestion - description: Question associated with an RFP. - type: object - allOf: - - title: QuestionCommon - description: Base model with common properties for a question. - type: object - allOf: - - $ref: '#/components/schemas/RfpRequest/allOf/0' - properties: - id: - type: string - format: uuid - description: Unique identifier of the question. - readOnly: true - text: - type: string - description: Text value of the question field. Displays to users in the UI. - example: Are you spending any significant time offsite and need transportation? - shortText: - type: string - description: Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. - example: Needs offsite transportation? - htmlText: - type: string - description: Html of the question. - example: Question Html - maxLength: 5000 - code: - type: string - description: Question code is unique identifier for every questions within a survey (can be same across surveys). This code is used in reporting and in question and answer data tags for emails. With every new question a random question code is generated. - example: 4l6x - maxLength: 30 - type: - $ref: '#/components/schemas/question-type.json' - choices: - type: array - description: List of choices for the question. - items: - $ref: '#/components/schemas/choice.json' - maxItems: 100 - categories: - type: array - description: List of categories for the question. - items: - $ref: '#/components/schemas/category.json' - maxItems: 100 - subCategories: - type: array - description: List of sub categories for matrix side-by-side questions. - items: - $ref: '#/components/schemas/text-field.json' - maxItems: 100 - notApplicableAnswer: - $ref: '#/components/schemas/additional-choice.json' - otherAnswer: - $ref: '#/components/schemas/additional-choice.json' - comments: - type: string - description: Text Value of Comments Input box placeholder. - example: Comments Text - maxLength: 16000 - required: - type: boolean - default: false - description: True indicates this is a mandatory question field. - example: true - fields: - type: array - description: List of fields for form/matrix questions. - items: - $ref: '#/components/schemas/field.json' - maxItems: 100 - maxScore: - type: number - description: Max possible score. - example: 20 - minimum: 0 - totalSum: - type: integer - description: Total configured sum of all choices for number allocation question. - example: 45 - choiceSortOrder: - $ref: '#/components/schemas/choice-sort-order.json' - displayType: - $ref: '#/components/schemas/display-type.json' - minSelection: - type: integer - description: Minimum number of choices that must be selected. - example: 1 - default: 0 - maxSelection: - type: integer - description: Maximum number of choices that can be selected. - example: 3 - default: 0 - minDate: - type: string - format: date - description: The earliest date that can be selected, starting from or after this date. - example: '2020-01-01' - maxDate: - type: string - format: date - description: The latest date that can be selected, up to or before this date. - example: '2020-12-31' - showDateSelector: - type: boolean - description: Indicates if this is a date range question. - example: true - showCurrentDate: - type: boolean - description: Indicates if the current date should be shown. - example: true - dateAnswerFormat: - $ref: '#/components/schemas/date-answer-format.json' - numericAnswerFormat: - $ref: '#/components/schemas/numeric-answer-format.json' - unitLabel: - type: string - description: Label to add before or after textbox. - example: miles - unitPosition: - $ref: '#/components/schemas/unit-position.json' - minLength: - type: integer - description: Minimum number of characters that must be entered. - example: 5 - default: 0 - maxLength: - type: integer - description: Maximum number of characters that can be entered. - example: 100 - default: 500 - textAnswerFormat: - $ref: '#/components/schemas/text-answer-format.json' - customAnswerFormat: - type: object - description: An object that contains custom answer format data. - properties: - id: - type: integer - description: The unique identifier of the custom answer format for the account. - example: 104 - properties: - supplierTypes: - type: array - description: List of supplier types that can view the question on the RFP. - items: - $ref: '#/components/schemas/supplier-type.json' - uniqueItems: true - example: - - CVB - - HOTEL - classificationType: - $ref: '#/components/schemas/question-classification-type.json' - order: - type: integer - description: Determines the display order for questions on the RFP. Questions with smaller values appear first. - example: 1 - minimum: 1 - standardQuestion: - $ref: '#/components/schemas/standard-question.json' - aiQuestionGenerationSource: - type: string - maxLength: 100 - readOnly: true - description: Represents the AI generation source for the custom question on RFP. This field is set during question creation and cannot be modified afterwards. - example: MCP-Visual Studio Code/1.107.1 - RfpRequest: - title: RfpRequest - description: Request body for creating or updating an RFP. - type: object - required: - - needsGuestRooms - - needsMeetingSpace - allOf: - - title: Audit - description: Audit information - type: object - properties: - created: - type: string - format: date-time - description: The ISO 8601 zoned date time when this record was created. - readOnly: true - example: '2017-01-02T02:00:00Z' - createdBy: - type: string - description: The identifier of the user that created this record. - readOnly: true - example: hporter - lastModified: - type: string - format: date-time - description: The ISO 8601 zoned date time when this record was updated. - readOnly: true - example: '2019-02-12T03:00:00Z' - lastModifiedBy: - type: string - description: The identifier of the user that last updated this record. - readOnly: true - example: hporter - properties: - needsMeetingSpace: - type: boolean - description: True indicates meeting space is needed for event. - needsGuestRooms: - type: boolean - description: True indicates guest rooms are needed for event. - description: - type: string - description: Description of RFP. - minLength: 0 - maxLength: 2500 - example: Planning to host company's annual event in an outdoor location. - dateRequirements: - $ref: '#/components/schemas/date-requirements.json-0' - rfpEvent: - $ref: '#/components/schemas/rfp-event.json' - agendaStartDate: - type: string - format: date - description: The ISO 8601 date representing the start date of agenda. - example: '2025-10-13' - contact: - $ref: '#/components/schemas/contact.json-0' - rfpEventOrganization: - $ref: '#/components/schemas/rfp-event-organization.json' - decisionFactors: - type: string - description: Decision factors based on which RFP will be awarded. These can be price, location, or quality of service. - minLength: 0 - maxLength: 2500 - example: Price, location, and quality of service. - citywideEvent: - type: boolean - description: True indicates event is city wide and might require multiple venues. - responseDueDate: - type: string - format: date - description: The ISO 8601 date by when the response for RFP is expected from suppliers. - example: '2016-10-13' - decisionDate: - type: string - format: date - description: The ISO 8601 date by which RFP will be awarded. - example: '2016-10-13' - billingDetails: - $ref: '#/components/schemas/billing-details.json-0' - internalNote: - type: string - description: Internal note for planners. This note is not shared with suppliers. - minLength: 0 - maxLength: 300 - example: Don't award this RFP to the same venue as last year. - currencyCode: - type: string - description: The ISO 4217 standard format currency code. - format: ^[A-Z]{3}$ - example: USD - measurementUnit: - $ref: '#/components/schemas/measurement-unit.json-0' - requiredCostItems: - type: array - description: This contains cost items which are marked as required for suppliers in the RFP. - maxItems: 100 - items: - $ref: '#/components/schemas/offering-cost-type.json-0' - example: - - BREAK_AM - - BREAK_PM - hiddenCostItems: - type: array - description: This contains cost items which are marked as not needed for suppliers in the RFP. - maxItems: 100 - items: - $ref: '#/components/schemas/offering-cost-type.json-0' - example: - - BREAK_DRINKS_ONLY - - BREAK_SNACKS_AND_DRINKS - forwardable: - type: boolean - description: True indicates suppliers added on the RFP should be allowed to forward the RFP. - cvbForwardLimit: - type: integer - minimum: 0 - maximum: 99999 - description: Limits the number of venues that a CVB (Convention and Visitors Bureau) can forward an RFP to. - example: 5 - allowEmailNotifications: - type: boolean - description: True indicates email notifications are allowed for this RFP. - notificationRecipients: - type: array - description: This contains recipients who would get notified every time a new response is received back from the suppliers - maxItems: 3 - items: - $ref: '#/components/schemas/recipient-info.json-0' - example: - - 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: - type: boolean - description: True indicates award details can be shared with other suppliers added in RFP. - leadSource: - $ref: '#/components/schemas/lead-source.json' - sourceId: - type: string - minLength: 0 - maxLength: 100 - description: Unique identifier for RFPs originating from outside Cvent network provided by source system where RFP was created. - example: '123456' - showcaseEnabled: - type: boolean - description: True indicates showcase is enabled for this RFP. - autoAddToShowcaseEnabled: - type: boolean - description: True indicates that the RFP will be automatically added to showcase in case there is a low response rate. - destinationExpertsRequiredOnProposal: - type: boolean - description: True indicates suppliers are required to copy the destination experts (i.e. CVB/DMC) on the proposal that is sent back through Cvent. - weddingDetails: - $ref: '#/components/schemas/wedding-details.json-0' - needsCatering: - type: boolean - description: True indicates catering is required. - default: false - packagePricingPreference: - $ref: '#/components/schemas/package-pricing-preference.json' - feeTransparencyEnabled: - type: boolean - description: True indicates RFP was created with fee transparency enabled. - default: false - RfpSupplier: - type: object - title: RfpSupplier - description: Supplier data for an RFP. - required: - - supplier - allOf: - - $ref: '#/components/schemas/RfpRequest/allOf/0' - properties: - supplier: - type: object - description: The supplier associated with the RFP. - allOf: - - type: object - title: Reference to Supplier - description: Reference to a supplier by its ID. - required: - - id - properties: - id: - $ref: '#/components/schemas/supplier-id.json' - readOnly: true - rfp: - type: object - allOf: - - type: object - title: Reference to RFP - description: Reference to an RFP (Request For Proposal) by its ID. - required: - - id - properties: - id: - $ref: '#/components/schemas/rfp-id.json' - readOnly: true - externalSupplier: - type: object - description: External supplier associated with the RFP. If planners cannot find a supplier in Cvent, they can add the supplier by providing the name when awarding the RFP. - properties: - name: - type: string - maxLength: 100 - description: The name of the external supplier. - example: ABC Corp - associatedAdvertisements: - type: object - allOf: - - title: SupplierAssociatedAds - description: Ads clicked by planner while adding supplier on RFP. - type: object - properties: - firstClicked: - type: object - allOf: - - description: First advertisement for the supplier which planner clicked. - - title: SupplierAd - description: Supplier Advertisement. - type: object - properties: - code: - type: string - maxLength: 30 - description: Unique code generated for the supplier advertisement. - example: RXBMLPSP - lastClicked: - type: object - allOf: - - description: Last advertisement for the supplier which planner clicked. - - $ref: '#/components/schemas/RfpSupplier/properties/associatedAdvertisements/allOf/0/properties/firstClicked/allOf/1' - readOnly: true - proposalInProgress: - type: boolean - description: True indicates that proposal creation is in progress by supplier. - example: true - readOnly: true - internalNote: - type: string - description: Internal note by planner for supplier. This is not visible to the supplier. - maxLength: 300 - example: Don't award this RFP to the same venue as last year. - leadSource: - type: object - allOf: - - $ref: '#/components/schemas/lead-source.json' - readOnly: true - largestMeetingRoomMet: - type: boolean - description: True indicates the largest meeting room criteria is met. - example: true - readOnly: true - numberOfGuestRoomsMet: - type: boolean - description: True indicates the number of guest rooms criteria is met. - example: true - readOnly: true - totalMeetingSpaceMet: - type: boolean - description: True indicates the total meeting space criteria is met. - example: true - readOnly: true - promotion: - type: object - description: Promotion applied by planner while adding supplier on RFP. - properties: - id: - type: string - format: uuid - description: The unique identifier of the promotion. - example: 41cc09ag-61a0-5e21-942e-2d41232dc923 - recommendationNote: - type: string - maxLength: 300 - description: Recommendations added by planner for supplier. - example: The staff should be courteous. - shortlistOrder: - type: integer - description: Shortlisted order for the supplier. - maximum: 50 - example: 45 - readOnly: true - showcase: - type: boolean - description: True indicates the supplier was added by using RFP showcase feature. - example: true - readOnly: true - starred: - type: boolean - description: True indicates the RFP is starred by supplier. This is not visible to the planner. - example: false - readOnly: true - status: - type: string - allOf: - - title: RfpSupplierStatus - description: The RFP's current status with respect to the supplier. - type: string - enum: - - AWAITING_PROPOSAL - - AWARDED - - CANCELLED - - DECLINED - - FORWARDED - - NO_RESPONSE - - NOT_SENT - - RECEIPT_CONFIRMED - - SUBMITTED_PROPOSAL - - TURNED_DOWN - - WITHDRAWN - example: AWAITING_PROPOSAL - readOnly: true - statusChangedDateTime: - type: string - format: date-time - description: The ISO 8601 date time (in UTC) when the status was last changed. - example: '2017-01-02T02:59:59.999Z' - readOnly: true - responder: - type: string - description: Name of the recipient associated with supplier who responded to the RFP. - maxLength: 80 - example: John Doe - readOnly: true - response: - type: object - allOf: - - title: SupplierResponse - description: Contains response from supplier on an RFP. - type: object - properties: - dateTime: - type: string - format: date-time - description: The ISO 8601 date time (in UTC) when the response was sent by supplier. - example: '2017-02-02T03:19:19.991Z' - reason: - $ref: '#/components/schemas/rfp-response-reason.json' - comment: - type: string - description: Comment for the response reason. - maxLength: 2500 - example: We are unable to accommodate the request on the required dates. Please let us know if we can help with any other dates. - readOnly: true - externalProposalId: - type: string - maxLength: 50 - description: Unique identifier for proposal created by supplier in the external system where it originated. - example: '143227' - readOnly: true - externalId: - type: string - maxLength: 50 - description: Unique identifier for RFP in the external system where it originated. - example: '234123' - readOnly: true - forwardId: - type: string - format: uuid - description: The unique identifier generated when supplier forwards the RFP to other suppliers. - example: d024cc04-adf1-443c-854a-97ab9f5a14b2 - readOnly: true - lastSentDateTime: - type: string - format: date-time - description: The ISO 8601 date time (in UTC) when the RFP was last sent to the supplier. - example: '2017-01-02T02:59:59.999Z' - readOnly: true - lastViewedDateTime: - type: string - format: date-time - description: The ISO 8601 date time (in UTC) when the RFP was last viewed by the supplier. - example: '2017-01-02T02:59:59.999Z' - readOnly: true - sentDateTime: - type: string - format: date-time - description: The ISO 8601 date time (in UTC) when the RFP was originally sent to the supplier. - example: '2017-01-02T02:59:59.999Z' - readOnly: true - sentToNso: - type: boolean - description: True indicates the RFP was sent to NSO (National Sales Office) associated with supplier. - example: false - readOnly: true - room-attendee-type.json: - title: RoomAttendeeType - description: Attendee type details specific to room. - type: object - allOf: - - $ref: '#/components/schemas/attendee-type.json' - properties: - cancelPolicy: - description: Room cancellation policy for the attendee types. - type: string - example: If you wish to cancel your reservation, please do so 72 hours prior to your arrival date. - taxPolicy: - description: Room tax policy for the attendee types. - type: string - example: New York State Sales Tax is currently 8.875% per night. - room-bed-type.json1: - title: Room bed type - enum: - - sofa_bed - - double - - full - - king - - murphy - - queen - - run_of_house - - single - - twin - type: string - description: Code representing the bed type. - example: queen - room-block-details.json: - title: RoomBlockDetails - description: Contains details related to room allotment for a room type. - type: object - properties: - quantity: - type: integer - description: Quantity of rooms required. - minimum: 0 - maximum: 9999 - example: 24 - type: - $ref: '#/components/schemas/guest-room-type.json' - room-block.json: - title: RoomBlock - description: Contains details related to room allotment for a day. - type: object - properties: - id: - type: string - format: uuid - description: Unique identifier for the room block. - readOnly: true - example: 1f6193da-e12b-4638-b1e2-13dd60d0adeb - date: - type: string - format: date - description: The ISO 8601 date when the rooms are required. - readOnly: true - example: '2025-10-13' - dayNumber: - type: integer - description: Counter for day number. - example: 3 - totalRooms: - type: integer - description: Total number of rooms required for the day. - readOnly: true - example: 24 - minimum: 0 - maximum: 49995 - details: - type: array - description: Contains detail of quantity required for each room type. - items: - $ref: '#/components/schemas/room-block-details.json' - minItems: 0 - maxItems: 5 - room-id.json: - type: object - title: RoomId - description: Contains unique ID of the room. - required: - - id - properties: - id: - description: The unique ID of the room. - type: integer - example: 11549984 - room-info.json: - title: RoomInfo - type: object - description: Room information. - allOf: - - $ref: '#/components/schemas/room-id.json' - properties: - name: - description: Room name. - type: string - example: King - readOnly: true - room-inventory.json: - description: Room inventory details for single night. - type: object - required: - - housingEvent - - hotel - - roomType - - date - allOf: - - description: Inventory details for single night. - type: object - required: - - rate - - currentBlock - - pickup - - available - properties: - hideRates: - description: Indicates if rates are hidden on booking site for this night. - type: boolean - example: false - rate: - $ref: '#/components/schemas/night-rate.json' - originalBlock: - description: Number of inventory blocked on event creation. - type: integer - example: 100 - minimum: 0 - currentBlock: - description: Current inventory number. - type: integer - example: 150 - minimum: 0 - pickup: - description: Number of rooms sold. - type: integer - example: 50 + example: 50 minimum: 0 finalPickup: description: Reported number of sold rooms. @@ -47692,6 +46835,54 @@ components: description: The unique ID of the room type. type: integer example: 11549984 + RoomBlock: + title: RoomBlock + description: Contains details related to room allotment for a day. + type: object + properties: + id: + type: string + format: uuid + description: Unique identifier for the room block. + readOnly: true + example: 1f6193da-e12b-4638-b1e2-13dd60d0adeb + date: + type: string + format: date + description: The ISO 8601 date when the rooms are required. + readOnly: true + example: '2025-10-13' + dayNumber: + type: integer + description: Counter for day number. + example: 3 + totalRooms: + type: integer + description: Total number of rooms required for the day. + readOnly: true + example: 24 + minimum: 0 + maximum: 49995 + details: + type: array + description: Contains detail of quantity required for each room type. + items: + $ref: '#/components/schemas/RoomBlockDetails' + minItems: 0 + maxItems: 5 + RoomBlockDetails: + title: RoomBlockDetails + description: Contains details related to room allotment for a room type. + type: object + properties: + quantity: + type: integer + description: Quantity of rooms required. + minimum: 0 + maximum: 9999 + example: 24 + type: + $ref: '#/components/schemas/GuestRoomType' rooms-sort-type.json: description: 'Rooms sort type. CustomOrder: A user-defined sort order. PriceAscending: Data sorted with lowest price first. PriceDescending: Data sorted by highest price first.' type: string @@ -47793,7 +46984,7 @@ components: description: Attendee ID description: The attendee with points in this engagement score. event: - $ref: '#/components/schemas/event.json6' + $ref: '#/components/schemas/event.json5' points: type: integer default: 0 @@ -47979,7 +47170,7 @@ components: type: object properties: event: - $ref: '#/components/schemas/event.json8' + $ref: '#/components/schemas/event.json6' email: $ref: '#/components/schemas/email.json2' resendToPreviousRecipients: @@ -48052,7 +47243,7 @@ components: - attendeeResponse properties: event: - $ref: '#/components/schemas/event.json8' + $ref: '#/components/schemas/event.json6' email: $ref: '#/components/schemas/email.json2' resendToPreviousRecipients: @@ -48246,7 +47437,7 @@ components: description: The related session object. properties: id: - $ref: '#/components/schemas/SessionId' + $ref: '#/components/schemas/SessionId1' session-bulk-checkin: title: SessionBulkCheckin description: Represents a list of session check-ins. @@ -48399,21 +47590,6 @@ components: description: Display this file to the public example: true readOnly: true - session-id.json: - title: SessionId - description: The unique identifier for a session. - type: string - format: uuid - example: 832cb481-74c5-4859-ba21-bbb5be8b86e0 - session-lite.json: - required: - - id - type: object - title: SessionLite - description: The unique identifier of a session. - properties: - id: - $ref: '#/components/schemas/session-id.json' session-location: title: SessionLocation type: object @@ -48534,27 +47710,12 @@ components: type: object properties: paging: - $ref: '#/components/schemas/paging.json' + $ref: '#/components/schemas/Paging' data: type: array items: - $ref: '#/components/schemas/session-speaker.json' + $ref: '#/components/schemas/SessionSpeaker' description: Collection of a session's speakers. - session-speaker.json: - title: SessionSpeaker - description: A session speaker - type: object - properties: - id: - $ref: '#/components/schemas/uuid-property' - session: - $ref: '#/components/schemas/session-lite.json' - category: - $ref: '#/components/schemas/category-id-name.json' - order: - type: integer - description: The order of the speaker in a session. - example: 1 session-status.json: title: SessionStatus type: string @@ -48697,7 +47858,7 @@ components: customFields: type: array items: - $ref: '#/components/schemas/custom-field.json3' + $ref: '#/components/schemas/custom-field.json2' description: Collection of custom fields. SessionBase: title: SessionBase @@ -48892,11 +48053,26 @@ components: id: $ref: '#/components/schemas/DocumentId' SessionId: + title: SessionId + description: The unique identifier for a session. + type: string + format: uuid + example: 832cb481-74c5-4859-ba21-bbb5be8b86e0 + SessionId1: title: SessionId description: The unique identifier for a session type: string format: uuid example: 78842aee-5d83-11ee-8c99-0242ac120002 + SessionLite: + required: + - id + type: object + title: SessionLite + description: The unique identifier of a session. + properties: + id: + $ref: '#/components/schemas/SessionId' sessions-attendance-response.json: title: SessionsAttendance description: Represents session attendance details. @@ -49003,6 +48179,21 @@ components: items: $ref: '#/components/schemas/session' description: Collection of sessions. + SessionSpeaker: + title: SessionSpeaker + description: A session speaker + type: object + properties: + id: + $ref: '#/components/schemas/uuid-property' + session: + $ref: '#/components/schemas/SessionLite' + category: + $ref: '#/components/schemas/SpeakerCategory' + order: + type: integer + description: The order of the speaker in a session. + example: 1 SessionStatus: title: SessionStatus enum: @@ -49031,7 +48222,7 @@ components: description: The sleeping room block. properties: proposalDateType: - $ref: '#/components/schemas/date-type.json1' + $ref: '#/components/schemas/date-type.json' sleepingRoomType: $ref: '#/components/schemas/sleeping-room-type.json' date: @@ -49095,7 +48286,7 @@ components: description: The sleeping room. properties: proposalDateType: - $ref: '#/components/schemas/date-type.json1' + $ref: '#/components/schemas/date-type.json' checkInDate: type: string format: date @@ -49171,6 +48362,14 @@ components: $ref: '#/components/schemas/Link' websiteUrl: $ref: '#/components/schemas/Link' + Solution: + title: Solution + description: The solution where the video exists. Attendee Hub and Events+ represent two different solutions where the video can be found. + type: string + enum: + - ATTENDEE_HUB + - EVENTS_PLUS + example: EVENTS_PLUS solution-type.json: title: SolutionType enum: @@ -49184,15 +48383,7 @@ components: description: This is used to denote the solution type to be used for webcast. The 'Cvent Video Conferencing' refers to the video experience which links out the Attendee hub whereas 'Embedded Cvent Video Conferencing' refers to the video experience within the Attendee hub. readOnly: true example: External Platform - solution.json: - title: Solution - description: The solution where the video exists. Attendee Hub and Events+ represent two different solutions where the video can be found. - type: string - enum: - - ATTENDEE_HUB - - EVENTS_PLUS - example: EVENTS_PLUS - space-area.json-0: + SpaceArea: title: SpaceArea description: Space area divisons. type: string @@ -49280,32 +48471,7 @@ components: - lastName - event allOf: - - title: Audit - description: Audit information - type: object - properties: - created: - type: string - format: date-time - description: The ISO 8601 zoned date time when this record was created. - readOnly: true - example: '2017-01-02T02:00:00Z' - createdBy: - type: string - description: The identifier of the user that created this record. - readOnly: true - example: hporter - lastModified: - type: string - format: date-time - description: The ISO 8601 zoned date time when this record was updated. - readOnly: true - example: '2019-02-12T03:00:00Z' - lastModifiedBy: - type: string - description: The identifier of the user that last updated this record. - readOnly: true - example: hporter + - $ref: '#/components/schemas/Audit' properties: event: type: object @@ -49358,9 +48524,9 @@ components: maxLength: 100 example: Lead Engineer category: - $ref: '#/components/schemas/category-id-name.json' + $ref: '#/components/schemas/SpeakerCategory' links: - $ref: '#/components/schemas/contact-links.json' + $ref: '#/components/schemas/ContactLinks' visibility: type: boolean description: Indicates if a given speaker should be displayed on Event Website @@ -49382,7 +48548,7 @@ components: default: false example: false relevance: - $ref: '#/components/schemas/relevance.json' + $ref: '#/components/schemas/Relevance' speaker-category: title: SpeakerCategory description: A speaker category. @@ -49402,7 +48568,7 @@ components: type: object properties: paging: - $ref: '#/components/schemas/paging.json' + $ref: '#/components/schemas/Paging' data: type: array items: @@ -49417,7 +48583,7 @@ components: type: object properties: paging: - $ref: '#/components/schemas/paging.json' + $ref: '#/components/schemas/Paging' data: type: array items: @@ -49460,21 +48626,6 @@ components: description: Display this file to the public example: true readOnly: true - speaker-id.json: - title: SpeakerId - description: The unique identifier for a speaker. - type: string - format: uuid - example: 6077a9f1-a230-40cd-9e32-b493a84aaa80 - speaker-lite.json: - required: - - id - type: object - title: SpeakerLite - description: The unique identifier of a speaker. - properties: - id: - $ref: '#/components/schemas/speaker-id.json' speaker-paginated-response: title: SpeakerPaginatedResponse description: The response from a request to get the list of speakers. This includes the paging object as well as the collection of speakers. @@ -49484,7 +48635,7 @@ components: type: object properties: paging: - $ref: '#/components/schemas/paging.json' + $ref: '#/components/schemas/Paging' data: type: array items: @@ -49500,7 +48651,7 @@ components: - speaker - programItem allOf: - - $ref: '#/components/schemas/speaker/allOf/0' + - $ref: '#/components/schemas/Audit' properties: id: description: ID of the speaker to program item relationship. @@ -49509,13 +48660,13 @@ components: example: 38db6ae2-0dc3-487b-953e-86d6abbdf7d3 readOnly: true event: - $ref: '#/components/schemas/event-lite.json' + $ref: '#/components/schemas/EventLite' session: - $ref: '#/components/schemas/session-lite.json' + $ref: '#/components/schemas/SessionLite' speaker: - $ref: '#/components/schemas/speaker-lite.json' + $ref: '#/components/schemas/SpeakerLite' programItem: - $ref: '#/components/schemas/program-item-lite.json' + $ref: '#/components/schemas/ProgramItemLite' speaker-session-paginated-response: title: SpeakerSessionPaginatedResponse description: The response from a request to get the list of speaker sessions. This includes the paging object as well as the collection of speaker sessions. @@ -49544,11 +48695,31 @@ components: type: string description: Name of the speaker. example: Henry Ford + SpeakerCategory: + title: SpeakerCategory + description: A defined speaker category. + type: object + required: + - id + properties: + id: + $ref: '#/components/schemas/uuid-property' + name: + type: string + description: The name of the speaker category + maxLength: 50 + example: Presenters SpeakerId: title: SpeakerId description: The unique identifier for a speaker. type: string format: uuid + example: 6077a9f1-a230-40cd-9e32-b493a84aaa80 + SpeakerId1: + title: SpeakerId + description: The unique identifier for a speaker. + type: string + format: uuid SpeakerLite: required: - id @@ -49558,6 +48729,15 @@ components: properties: id: $ref: '#/components/schemas/SpeakerId' + SpeakerLite1: + required: + - id + type: object + title: SpeakerLite + description: The unique identifier of a speaker. + properties: + id: + $ref: '#/components/schemas/SpeakerId1' SpeakerSession: title: SpeakerSession type: object @@ -49566,7 +48746,7 @@ components: id: $ref: '#/components/schemas/uuid-property' speaker: - $ref: '#/components/schemas/SpeakerLite' + $ref: '#/components/schemas/SpeakerLite1' category: $ref: '#/components/schemas/NamedObject' sponsorship-level-list-response: @@ -49602,7 +48782,7 @@ components: - $ref: '#/components/schemas/Audit' properties: event: - $ref: '#/components/schemas/Event2' + $ref: '#/components/schemas/Event3' name: type: string description: Name of the sponsorship level @@ -49788,7 +48968,7 @@ components: type: array deprecated: true items: - $ref: '#/components/schemas/custom-field.json3' + $ref: '#/components/schemas/custom-field.json2' description: Collection of custom fields. readOnly: true sourceId: @@ -49824,16 +49004,6 @@ components: description: The identifier of the user that last updated this record. readOnly: true example: hporter - standard-question.json: - title: StandardQuestion - description: Standard questions are selected from a predefined list of Cvent questions that can be used in an RFP. - type: object - properties: - id: - type: string - format: uuid - description: Unique identifier for standard question. - example: 50dc08af-24a9-4d01-84be-3d43133dc945 standard-survey-email-template-response: title: StandardSurveyEmailTemplates description: A standard survey email template @@ -49925,7 +49095,7 @@ components: description: A standard survey question. type: object allOf: - - $ref: '#/components/schemas/question.json2/allOf/0' + - $ref: '#/components/schemas/question.json1/allOf/0' properties: survey: $ref: '#/components/schemas/uuid.json' @@ -50079,7 +49249,7 @@ components: customFields: type: array items: - $ref: '#/components/schemas/custom-field.json2' + $ref: '#/components/schemas/custom-field.json1' description: Collection of survey custom fields. standard-surveys-paginated-response: title: StandardSurveysPaginatedResponse @@ -50096,6 +49266,16 @@ components: required: - paging - data + StandardQuestion: + title: StandardQuestion + description: Standard questions are selected from a predefined list of Cvent questions that can be used in an RFP. + type: object + properties: + id: + type: string + format: uuid + description: Unique identifier for standard question. + example: 50dc08af-24a9-4d01-84be-3d43133dc945 state-province.json: type: string title: StateProvince @@ -50943,12 +50123,6 @@ components: description: In case of Event Survey this represents Survey Status and in case of Standard Survey this represents Chapter Status example: In Progress readOnly: true - supplier-id.json: - title: SupplierId - type: string - format: uuid - description: The unique identifier of a supplier. - example: 50dc08af-24a9-4d01-84be-3d43133dc945 supplier-summary.json: description: Represents a summary of supplier information associated with current proposal. type: object @@ -50966,7 +50140,7 @@ components: title: Supplier properties: type: - $ref: '#/components/schemas/supplier-type.json1' + $ref: '#/components/schemas/supplier-type.json' properties: id: type: string @@ -50981,100 +50155,69 @@ components: mapping: VENUE: '#/components/schemas/supplier-summary.json/properties/supplier/oneOf/0' supplier-type.json: - title: SupplierType - description: 'Type of supplier. `CONVENTION_AND_CONFERENCE_CENTER`: Supplier of large event venues such as convention centers, conference centers, and exposition halls. `CVB`: CVBs (Convention and Visitors Bureau) are suppliers that assist in the promotion and facilitation of tourism, conventions, and events in their respective areas. `HOTEL`: Suppliers that are hotels or resorts. `OTHER`: Suppliers that do not fall under other categories.' - type: string - enum: - - CONVENTION_AND_CONFERENCE_CENTER - - CVB - - HOTEL - - OTHER - supplier-type.json1: title: SupplierType description: "The supplier's type. VENUE: A hotel, convention and visitors bureau (CVB), or other location for an event." type: string enum: - VENUE default: VENUE - SupplierDeleteResponse: - title: SupplierDeleteResponseBulk - description: This entity is used to represent a supplier that was deleted from planner Rfp. - allOf: - - title: BulkResponseItem - description: Represents a single item that is returned as part of a Bulk request call. + SupplierAd: + title: SupplierAd + description: Supplier Advertisement. + type: object + properties: + code: + type: string + maxLength: 30 + description: Unique code generated for the supplier advertisement. + example: RXBMLPSP + SupplierAssociatedAds: + title: SupplierAssociatedAds + description: Ads clicked by planner while adding supplier on RFP. + type: object + properties: + firstClicked: type: object - required: - - status - - data - properties: - data: - type: object - description: The data returned for a single item in the bulk request call. - example: - event_id: 1234 - attendee_count: 50 - additionalProperties: true - status: - type: integer - description: http status code representing processing status of a single item - example: 400 - message: - type: string - description: Quick description of what happened with processing - example: Example error message. - request: - type: object - description: The processed request tied to this response. This field is only sent when processing fails. - example: - operation: PUT - headers: - header1: header1Value - header2: header2Value - queryParams: - param1: param1Value - param2: param2Value - additionalProperties: true - additionalProperties: false + allOf: + - description: First advertisement for the supplier which planner clicked. + - $ref: '#/components/schemas/SupplierAd' + lastClicked: + type: object + allOf: + - description: Last advertisement for the supplier which planner clicked. + - $ref: '#/components/schemas/SupplierAd' + SupplierId: + title: SupplierId + type: string + format: uuid + description: The unique identifier of a supplier. + example: 50dc08af-24a9-4d01-84be-3d43133dc945 + SupplierResponse: + title: SupplierResponse + description: Contains response from supplier on an RFP. + type: object properties: - data: - oneOf: - - title: UUID Property - description: A string that has to be a format matching the industry standard uuid - type: string - format: uuid - example: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 - - title: ErrorResponse - description: Represents an error response with additional details of cascading error messages. - allOf: - - title: ErrorResponseBase - type: object - description: Represents an error response with no additional details. - required: - - code - - message - properties: - code: - type: integer - description: The HTTP status code representing the error. - example: 400 - message: - type: string - description: A brief description of the error. - example: Bad Request - target: - type: string - description: The target resource of the error. - example: example target - type: object - required: - - code - - message - properties: - details: - type: array - items: - $ref: '#/components/schemas/SupplierDeleteResponse/properties/data/oneOf/1/allOf/0' - description: Additional details of cascading error messages. + dateTime: + type: string + format: date-time + description: The ISO 8601 date time (in UTC) when the response was sent by supplier. + example: '2017-02-02T03:19:19.991Z' + reason: + $ref: '#/components/schemas/RfpResponseReason' + comment: + type: string + description: Comment for the response reason. + maxLength: 2500 + example: We are unable to accommodate the request on the required dates. Please let us know if we can help with any other dates. + SupplierType: + title: SupplierType + description: 'Type of supplier. `CONVENTION_AND_CONFERENCE_CENTER`: Supplier of large event venues such as convention centers, conference centers, and exposition halls. `CVB`: CVBs (Convention and Visitors Bureau) are suppliers that assist in the promotion and facilitation of tourism, conventions, and events in their respective areas. `HOTEL`: Suppliers that are hotels or resorts. `OTHER`: Suppliers that do not fall under other categories.' + type: string + enum: + - CONVENTION_AND_CONFERENCE_CENTER + - CVB + - HOTEL + - OTHER survey-author.json: title: SurveyAuthor description: Author of the survey @@ -51103,22 +50246,6 @@ components: minLength: 6 maxLength: 80 example: dummyemail@cvent.com - survey-contact-id.json: - title: SurveyContactId - description: A pair of survey and contact id. - required: - - surveyId - - contactId - type: object - properties: - surveyId: - type: string - format: uuid - description: ID of the survey - contactId: - type: string - format: uuid - description: ID of the contact survey-response.json: title: SurveyResponse description: A survey response. @@ -51218,8 +50345,24 @@ components: type: array uniqueItems: true items: - $ref: '#/components/schemas/event.json4' + $ref: '#/components/schemas/event.json3' description: List of events with which this survey is linked. + SurveyContactId: + title: SurveyContactId + description: A pair of survey and contact id. + required: + - surveyId + - contactId + type: object + properties: + surveyId: + type: string + format: uuid + description: ID of the survey + contactId: + type: string + format: uuid + description: ID of the contact surveys-paginated-response: title: SurveysPaginatedResponse description: The response from a request to get the list of surveys. This includes the paging object as well as the collection of surveys. @@ -51252,49 +50395,6 @@ components: format: date-time description: The date and time when the usage plan is scheduled to revert to a previous plan. This field is only present when the usage plan is scheduled to revert to a previous plan. The date and time cannot be more than 14 days from the current date. example: '2023-10-01T12:00:00Z' - sync-job: - title: SyncJob - description: The model representing a sync job - type: object - allOf: - - title: Audit - description: Audit information - type: object - properties: - created: - type: string - format: date-time - description: The ISO 8601 zoned date time when this record was created. - readOnly: true - example: '2017-01-02T02:00:00Z' - createdBy: - type: string - description: The identifier of the user that created this record. - readOnly: true - example: hporter - lastModified: - type: string - format: date-time - description: The ISO 8601 zoned date time when this record was updated. - readOnly: true - example: '2019-02-12T03:00:00Z' - lastModifiedBy: - type: string - description: The identifier of the user that last updated this record. - readOnly: true - example: hporter - properties: - batchSize: - type: integer - default: 100 - maximum: 100 - description: The number of records that should be synchronized at a time from the source system. - accountNum: - type: string - description: Account Num (alphanumeric) associated with the video asset - example: ABC123 - event: - $ref: '#/components/schemas/uuid.json' table-assignment-paginated-response: title: TableAssignmentPaginatedResponse description: The response from a request to get the table assignment. @@ -51343,7 +50443,7 @@ components: items: $ref: '#/components/schemas/existing-table-with-seats' description: A list of event tables - target-type.json: + TargetType: title: TargetType description: The target type can either refer to the type of recipient or the type of action that made the recipient a participant in the RFP process. type: string @@ -51492,21 +50592,6 @@ components: $ref: '#/components/schemas/tax-and-fee.json' minItems: 0 maxItems: 15 - tax-type.json: - title: Tax Type - enum: - - city_tax - - lodging_tax - - occupancy_tax - - service_fee - - state_tax - - vat_tax - - vatfb_tax - - other_tax - - resort_fee - type: string - description: Bid tax type. - example: city_tax taxes-paginated-response: title: TaxesResponse required: @@ -51544,7 +50629,22 @@ components: type: number description: Default tax rate for the schedule, expressed as a percentage. example: 8.875 - text-answer-format.json: + TaxType: + title: Tax Type + enum: + - city_tax + - lodging_tax + - occupancy_tax + - service_fee + - state_tax + - vat_tax + - vatfb_tax + - other_tax + - resort_fee + type: string + description: Bid tax type. + example: city_tax + text-answer-format: description: '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.' type: string enum: @@ -51564,13 +50664,13 @@ components: readOnly: true text: type: string - description: Text value of the field. Displays to users in the UI. - example: Are you spending any significant time offsite and need transportation? + description: text Value of the Field + example: Field value shortText: type: string - description: Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. - example: Needs offsite transportation? - text-field.json1: + description: Reporting value of the Category, Its like a custom abbreviation + example: Category 1 Reporting value + TextField: title: TextField description: A survey text field. type: object @@ -51582,13 +50682,13 @@ components: readOnly: true text: type: string - description: text Value of the Field - example: Field value + description: Text value of the field. Displays to users in the UI. + example: Are you spending any significant time offsite and need transportation? shortText: type: string - description: Reporting value of the Category, Its like a custom abbreviation - example: Category 1 Reporting value - thumbnail-status.json: + description: Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. + example: Needs offsite transportation? + ThumbnailStatus: title: ThumbnailStatus enum: - Started @@ -51599,7 +50699,7 @@ components: type: string description: Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was completed. Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. example: Started - thumbnail-type.json: + ThumbnailType: title: ThumbnailType enum: - bmp @@ -51946,32 +51046,7 @@ components: description: Travel account details. type: object allOf: - - title: Audit - description: Audit information - type: object - properties: - created: - type: string - format: date-time - description: The ISO 8601 zoned date time when this record was created. - readOnly: true - example: '2017-01-02T02:00:00Z' - createdBy: - type: string - description: The identifier of the user that created this record. - readOnly: true - example: hporter - lastModified: - type: string - format: date-time - description: The ISO 8601 zoned date time when this record was updated. - readOnly: true - example: '2019-02-12T03:00:00Z' - lastModifiedBy: - type: string - description: The identifier of the user that last updated this record. - readOnly: true - example: hporter + - $ref: '#/components/schemas/Audit' properties: id: title: Account ID @@ -51986,7 +51061,7 @@ components: description: The name of the travel account. example: Test Corporation type: - $ref: '#/components/schemas/travel-account-type.json' + $ref: '#/components/schemas/TravelAccountType' certified: title: Certified? description: Is this a certified travel account? @@ -51996,7 +51071,7 @@ components: title: Addresses type: array items: - $ref: '#/components/schemas/address.json5' + $ref: '#/components/schemas/Address6' description: List of addresses associated with the travel account. travel-account-paginated-response: title: Travel account paginated response @@ -52004,7 +51079,7 @@ components: type: object properties: paging: - $ref: '#/components/schemas/paging.json' + $ref: '#/components/schemas/Paging' data: type: array items: @@ -52032,7 +51107,7 @@ components: description: The name of the travel account. example: Test Corporation managementLevel: - $ref: '#/components/schemas/management-level-type.json1' + $ref: '#/components/schemas/ManagementLevelType1' active: title: Active? type: boolean @@ -52061,13 +51136,374 @@ components: type: object properties: paging: - $ref: '#/components/schemas/paging.json' + $ref: '#/components/schemas/Paging' + data: + type: array + items: + $ref: '#/components/schemas/travel-account-supplier-account' + description: Collection of suppliers travel accounts and their related details. + travel-departure-arrival.json: + title: TravelDepartureArrival + type: object + description: Common object that holds travel departure/arrival information. + properties: + time: + description: The ISO 8601 formatted date. + type: string + format: date-time + example: '2024-12-01T00:00:00Z' + carrier: + description: ICAO code. + type: string + example: JBU + maxLength: 3 + carrierNumber: + description: Carrier number. + type: string + example: '12345' + maxLength: 32 + travel-details.json: + title: TravelDetails + type: object + description: Common object that holds travel details information. + properties: + arrival: + $ref: '#/components/schemas/travel-departure-arrival.json' + departure: + $ref: '#/components/schemas/travel-departure-arrival.json' + additionalInformation: + description: Additional information about travel. + type: string + example: Additional Information + maxLength: 1000 + travel-program: + title: Travel Program + description: Travel program details. + type: object + allOf: + - $ref: '#/components/schemas/Audit' + properties: + id: + title: Program ID + description: The unique ID of the travel program. + type: string + format: uuid + example: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 + name: + title: Program Name + type: string + maxLength: 60 + description: The name of the travel program. + example: Test Program + contractPeriod: + title: Originating Contract Period + description: The contract year in which the travel program originated. + type: integer + example: 2023 + type: + $ref: '#/components/schemas/TravelProgramType' + format: + $ref: '#/components/schemas/TravelProgramFormatType' + status: + $ref: '#/components/schemas/TravelProgramStatus' + travelAccount: + title: Travel Account + description: Travel account that the program belongs to. + type: object + properties: + id: + title: Travel Account ID + description: The unique ID of the travel account. + type: string + format: uuid + example: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 + stayType: + $ref: '#/components/schemas/TravelProgramStayType' + startDate: + title: Start Date + description: The ISO 8601 formatted start date (in GMT) of the travel program. + type: string + format: date + example: '2024-01-01' + endDate: + title: End Date + description: The ISO 8601 formatted end date (in GMT) of the travel program. + type: string + format: date + example: '2024-12-31' + dueDate: + title: Due Date + description: The ISO 8601 formatted due date (in GMT) of the travel program. + type: string + format: date + example: '2023-11-13' + closeoutDate: + title: Closeout Date + description: The ISO 8601 formatted decision date (in GMT) of the travel program. + type: string + format: date + example: '2023-11-13' + questions: + title: Questions + 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' + travel-program-paginated-response: + title: Travel program paginated response + description: A paginated list of travel programs. + type: object + properties: + paging: + $ref: '#/components/schemas/Paging' + data: + type: array + items: + $ref: '#/components/schemas/travel-program' + description: Collection of travel programs and their related details. + travel-proposal: + title: Travel Proposal + type: object + description: Represents travel proposals. Travel proposals are created by the travel supplier in response to a travel account's program. + allOf: + - $ref: '#/components/schemas/Audit' + properties: + id: + title: Proposal ID + description: The unique ID of the travel proposal. + type: string + format: uuid + example: 3e2a8614-7d52-442e-8c4f-a6a18ed9ac4d + readOnly: true + supplierProperty: + title: Supplier Property + description: Supplier property that the proposal is tied to. + type: object + properties: + id: + title: Supplier Property ID + description: The unique ID of the supplier property. + type: string + format: uuid + example: a1c79ba8-9553-4fb0-80bd-66adac1b2f5d + travelProgram: + title: Travel Program + description: Travel program that the proposal is in response 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 + contractPeriod: + type: integer + example: 2021 + description: Contract period of the proposal. The year the contract begins. + status: + $ref: '#/components/schemas/proposal-status-type' + deleted: + type: boolean + default: false + description: True indicates the proposal is deleted. + rateReviewStatus: + $ref: '#/components/schemas/RateReviewStatusType' + businessType: + $ref: '#/components/schemas/business-type' + format: + $ref: '#/components/schemas/format-type' + documentRead: + type: boolean + default: false + description: True indicates the documents been read by the supply-side. + rejectReasonCode: + type: string + maxLength: 30 + example: Other + description: Reason the reject/decline action was performed. Used for certain actions/statuses. + rejectComment: + type: string + maxLength: 2000 + example: other reasons + description: Comments regarding the reasoning for the reject/decline action. This only comes into play for certain actions/statuses. + submitDate: + type: string + format: date-time + description: The ISO 8601 datetime when proposal was submitted by the hotel. + example: '2030-02-10T00:00:00.000Z' + negotiationRound: + type: integer + description: The current round of negotiations. + example: 1 + negotiationDueDate: + type: string + format: date-time + description: The ISO 8601 datetime when the negotiation response is due. + example: '2030-02-10T00:00:00.000Z' + roomNightConsumption: + type: integer + description: Client room nights produced at property from January 1 through June 30. + example: 100 + draft: + type: boolean + description: True indicates this proposal is a draft copy that is not sent to the other party. + bids: + type: array + description: Collection of bid IDs attached to the proposal. + items: + $ref: '#/components/schemas/TravelProposalBid' + customQuestionAnswers: + type: array + description: Collection of custom questions. + items: + $ref: '#/components/schemas/TravelProposalCustomQuestion' + groupAndMeeting: + $ref: '#/components/schemas/TravelProposalGroupAndMeeting' + proposalDisposition: + $ref: '#/components/schemas/TravelProposalDisposition' + travel-proposal-bid: + title: Travel Proposal Bid + type: object + description: A travel proposal bid rate plan that is being proposed to a customer. + properties: + travelProposal: + description: The travel proposal that the bid belongs to. + type: object + properties: + id: + title: Travel Proposal ID + description: The ID of the travel proposal. + type: string + format: uuid + example: a91187db-d3c2-4035-b696-1d77fb1ab9d8 + id: + title: Bid ID + description: The unique ID of the bid. + type: string + format: uuid + example: 3e2a8614-7d52-442e-8c4f-a6a18ed9ac4d + readOnly: true + stayType: + $ref: '#/components/schemas/BidStayType' + order: + type: integer + default: 1 + example: 1 + description: The order of the bid compared to other bids of the same stay type. This is used to distinguish between extended stay 1 vs extended stay 2. + status: + $ref: '#/components/schemas/BidStatusType' + name: + type: string + minLength: 3 + maxLength: 60 + description: Name given to the bid. + example: My Corporate Bid + rate: + $ref: '#/components/schemas/TravelProposalBidRate' + marketCode: + type: string + description: The market code given to the rate plan / bid by the supplier. + maxLength: 10 + example: mc12 + currencyCode: + type: string + minLength: 3 + maxLength: 3 + example: USD + description: The ISO 4217 currency code used for the rates and other monetary values in the bid. + weekendDays: + type: array + description: Days of the week that are considered weekend days, to apply weekend rates. Does not apply when format is GBTA2013. + items: + $ref: '#/components/schemas/TravelBidWeekendDays' + lra: + type: boolean + default: true + description: Does the bid include LRA (Last Room Availability) rates? + nlra: + type: boolean + default: true + description: Does the bid include non-LRA rates? + fairDateLra: + type: boolean + default: true + description: Are the fair date rates LRA (Last Room Availability)? + internalNote: + type: string + maxLength: 3000 + example: '' + description: Additional comments passed from the domain-level rate plan. + comments: + type: array + description: Additional Info + items: + $ref: '#/components/schemas/TravelBidComment' + maxItems: 5 + roomTypes: + type: array + description: Room Types associated with the bid + items: + $ref: '#/components/schemas/TravelBidRoom' + maxItems: 99 + seasons: + type: array + description: Seasons associated with the bid + items: + $ref: '#/components/schemas/TravelBidSeason' + maxItems: 99 + discounts: + type: array + description: Dynamic discounts associated with the bid + items: + $ref: '#/components/schemas/TravelBidDiscount' + maxItems: 99 + fairSeasons: + type: array + description: Fair seasons associated with the bid + items: + $ref: '#/components/schemas/TravelBidFairSeason' + maxItems: 99 + amenities: + type: array + description: Amenities associated with the bid + items: + $ref: '#/components/schemas/TravelBidAmenity' + policies: + type: array + description: Policies associated with the bid + items: + $ref: '#/components/schemas/TravelBidPolicy' + taxesAndFees: + type: array + description: Taxes & fees associated with the bid + items: + $ref: '#/components/schemas/TravelBidTaxAndFee' + travel-proposal-bid-paginated-response: + title: Travel Proposal Paginated Response + description: A paginated list of travel proposals. + type: object + properties: + paging: + $ref: '#/components/schemas/Paging' data: type: array items: - $ref: '#/components/schemas/travel-account-supplier-account' - description: Collection of suppliers travel accounts and their related details. - travel-account-type.json: + $ref: '#/components/schemas/travel-proposal-bid' + description: Paginated list of business transient proposal bids. + travel-proposal-paginated-response: + title: Travel Proposal Paginated Response + description: A paginated list of travel proposals. + type: object + properties: + paging: + $ref: '#/components/schemas/Paging' + data: + type: array + items: + $ref: '#/components/schemas/travel-proposal' + description: Paginated list of business transient proposals. + TravelAccountType: title: Travel Account Type enum: - corporate @@ -52076,53 +51512,13 @@ components: type: string description: Code representing the travel account type. example: corporate - travel-amenity.json: - title: Travel Proposal Group And Meeting Amenity - description: Group and meeting amenity info. - type: object - properties: - lcdIncluded: - type: boolean - description: True indicates a liquid crystal display (LCD) is included in the amenity. - lcdPrice: - type: number - minimum: 0.01 - maximum: 9999999999.99 - description: Price of the liquid crystal display (LCD). - example: 100 - screenIncluded: - type: boolean - description: True indicates a screen is included in the amenity. - screenPrice: - type: number - minimum: 0.01 - maximum: 9999999999.99 - description: Price of the screen. - example: 100 - hsiaIncluded: - type: boolean - description: True indicates high speed internet access is included in the amenity. - hsiaPrice: - type: number - minimum: 0.01 - maximum: 9999999999.99 - description: Price of high speed internet access (HSIA). - example: 100 - complementaryParkingIncluded: - type: boolean - description: True indicates parking is included in the amenity. - whatCompanyProvidesAVEquipment: - type: string - maxLength: 100 - description: Name of company providing AV equipment. - example: Some company - travel-bid-amenity.json: + TravelBidAmenity: title: Travel Bid Amenity type: object description: Amenity details for a travel bid. properties: type: - $ref: '#/components/schemas/amenity-type.json' + $ref: '#/components/schemas/AmenityType' code: type: string minLength: 1 @@ -52163,20 +51559,20 @@ components: description: Additional notes on the amenity. example: Valet parking is available for all guests. status: - $ref: '#/components/schemas/bid-item-status-type.json' - travel-bid-comment.json: + $ref: '#/components/schemas/BidItemStatusType' + TravelBidComment: title: Travel Bid Comment type: object description: A comment on a travel bid. properties: commentType: - $ref: '#/components/schemas/comment-type.json' + $ref: '#/components/schemas/CommentType' comment: description: The text of the comment. type: string maxLength: 3000 example: This is a high value client. - travel-bid-discount.json: + TravelBidDiscount: title: Travel Bid Discount type: object description: Discount for a travel bid. @@ -52199,8 +51595,22 @@ components: description: Discount percentage for the dynamic rate. example: 10 status: - $ref: '#/components/schemas/bid-item-status-type.json' - travel-bid-disposition-accepted-room.json: + $ref: '#/components/schemas/BidItemStatusType' + TravelBidDisposition: + title: Travel Bid Disposition + type: object + description: Represents bid disposition details. + properties: + bid: + $ref: '#/components/schemas/TravelProposalBid' + acceptedBidRooms: + type: array + description: List of accepted bid rooms. + items: + $ref: '#/components/schemas/TravelBidDispositionAcceptedRoom' + rateType: + $ref: '#/components/schemas/RateType' + TravelBidDispositionAcceptedRoom: title: Travel Bid Disposition Accepted Room type: object description: Represents bid disposition's accepted room. @@ -52226,21 +51636,48 @@ components: description: Indicates whether the NLRA rates are accepted. type: boolean example: true - travel-bid-disposition.json: - title: Travel Bid Disposition + TravelBidFairSeason: + title: Travel Bid Fair Season type: object - description: Represents bid disposition details. + description: The fair season for a travel bid. properties: - bid: - $ref: '#/components/schemas/travel-proposal-bid-id.json' - acceptedBidRooms: + type: + $ref: '#/components/schemas/FairSeasonType' + name: + type: string + maxLength: 20 + description: Fair season name. + example: Fair season 1 + startDate: + type: string + format: date + description: The ISO 8601 start date of the fair season. + example: '2021-07-13' + endDate: + type: string + format: date + description: The ISO 8601 end date of the fair season. + example: '2021-07-13' + minLengthOfStay: + type: integer + minimum: 1 + maximum: 999 + description: Minimum length of stay for the fair season. + example: 1 + releasePeriod: + type: integer + minimum: 1 + maximum: 999 + description: Release period for the fair season. Release period is the minimum number of days between the booking being made and the earliest arrival date. + example: 1 + rates: type: array - description: List of accepted bid rooms. + description: Collection of rates for the fair season. items: - $ref: '#/components/schemas/travel-bid-disposition-accepted-room.json' - rateType: - $ref: '#/components/schemas/rate-type.json' - travel-bid-fair-season-rate.json: + $ref: '#/components/schemas/TravelBidFairSeasonRate' + status: + $ref: '#/components/schemas/BidItemStatusType' + TravelBidFairSeasonRate: title: Travel Bid Fair Season Rate type: object description: The negotiated rates for a property room during the fair season. @@ -52287,49 +51724,8 @@ components: description: The number of rooms allotted at the negotiated rate. example: 100 status: - $ref: '#/components/schemas/bid-item-status-type.json' - travel-bid-fair-season.json: - title: Travel Bid Fair Season - type: object - description: The fair season for a travel bid. - properties: - type: - $ref: '#/components/schemas/fair-season-type.json' - name: - type: string - maxLength: 20 - description: Fair season name. - example: Fair season 1 - startDate: - type: string - format: date - description: The ISO 8601 start date of the fair season. - example: '2021-07-13' - endDate: - type: string - format: date - description: The ISO 8601 end date of the fair season. - example: '2021-07-13' - minLengthOfStay: - type: integer - minimum: 1 - maximum: 999 - description: Minimum length of stay for the fair season. - example: 1 - releasePeriod: - type: integer - minimum: 1 - maximum: 999 - description: Release period for the fair season. Release period is the minimum number of days between the booking being made and the earliest arrival date. - example: 1 - rates: - type: array - description: Collection of rates for the fair season. - items: - $ref: '#/components/schemas/travel-bid-fair-season-rate.json' - status: - $ref: '#/components/schemas/bid-item-status-type.json' - travel-bid-policy.json: + $ref: '#/components/schemas/BidItemStatusType' + TravelBidPolicy: title: Travel Bid Policy type: object description: A policy that is associated with a travel bid. @@ -52353,7 +51749,7 @@ components: description: The value of the policy. example: 24h valueType: - $ref: '#/components/schemas/policy-value-type.json' + $ref: '#/components/schemas/PolicyValueType' included: type: boolean default: false @@ -52364,27 +51760,8 @@ components: description: Additional notes on the policy. example: The cancellation period is 24 hours. status: - $ref: '#/components/schemas/bid-item-status-type.json' - travel-bid-rate.json: - title: Travel Proposal Bid Rate - type: object - description: The rate (cost) information for a travel bid. - properties: - level: - $ref: '#/components/schemas/rate-level-type.json' - type: - $ref: '#/components/schemas/rate-type.json' - planCode: - type: string - description: The code given to the bid (also called rate plan) by the supplier. - maxLength: 10 - example: rp123 - tier: - type: string - description: The rate tier given to the bid (also called rate plan) by the supplier. - maxLength: 10 - example: tier1 - travel-bid-room.json: + $ref: '#/components/schemas/BidItemStatusType' + TravelBidRoom: title: Travel Bid Room type: object description: A room in a travel bid. @@ -52411,8 +51788,52 @@ components: description: The order of the room in the bid. example: 1 status: - $ref: '#/components/schemas/bid-item-status-type.json' - travel-bid-season-rate.json: + $ref: '#/components/schemas/BidItemStatusType' + TravelBidSeason: + title: Travel Bid Season + type: object + description: Season details for a travel bid. + properties: + name: + type: string + maxLength: 20 + description: Season name. + example: Season 1 + startDate: + type: string + format: date + description: The ISO 8601 start date of the season. + example: '2021-07-13' + endDate: + type: string + format: date + description: The ISO 8601 end date of the season. + example: '2021-07-13' + releasePeriod: + type: integer + minimum: 1 + maximum: 999 + example: 1 + description: Number of release periods. + weekendReleasePeriod: + type: integer + minimum: 1 + maximum: 999 + example: 2 + description: Number of weekend release periods. + rates: + type: array + description: Collection of rates for the season. + items: + $ref: '#/components/schemas/TravelBidSeasonRate' + weekendRates: + type: array + description: Collection of weekend rates for the season. + items: + $ref: '#/components/schemas/TravelBidSeasonRate' + status: + $ref: '#/components/schemas/BidItemStatusType' + TravelBidSeasonRate: title: Travel Bid Season Rate description: The negotiated rates for a property room during a specific season. type: object @@ -52471,58 +51892,14 @@ components: description: The number of rooms allotted at the negotiated rate. example: 100 status: - $ref: '#/components/schemas/bid-item-status-type.json' - travel-bid-season.json: - title: Travel Bid Season - type: object - description: Season details for a travel bid. - properties: - name: - type: string - maxLength: 20 - description: Season name. - example: Season 1 - startDate: - type: string - format: date - description: The ISO 8601 start date of the season. - example: '2021-07-13' - endDate: - type: string - format: date - description: The ISO 8601 end date of the season. - example: '2021-07-13' - releasePeriod: - type: integer - minimum: 1 - maximum: 999 - example: 1 - description: Number of release periods. - weekendReleasePeriod: - type: integer - minimum: 1 - maximum: 999 - example: 2 - description: Number of weekend release periods. - rates: - type: array - description: Collection of rates for the season. - items: - $ref: '#/components/schemas/travel-bid-season-rate.json' - weekendRates: - type: array - description: Collection of weekend rates for the season. - items: - $ref: '#/components/schemas/travel-bid-season-rate.json' - status: - $ref: '#/components/schemas/bid-item-status-type.json' - travel-bid-tax-fee.json: + $ref: '#/components/schemas/BidItemStatusType' + TravelBidTaxAndFee: title: Travel Bid Tax and Fee description: A tax or fee associated with a travel bid. type: object properties: code: - $ref: '#/components/schemas/tax-type.json' + $ref: '#/components/schemas/TaxType' amount: type: number description: The amount of the tax/fee. This may be a percent or monetary value depending on the value in `percent`. @@ -52543,8 +51920,8 @@ components: description: Additional notes on the tax/fee. example: This is a tax status: - $ref: '#/components/schemas/bid-item-status-type.json' - travel-bid-weekend-day.json: + $ref: '#/components/schemas/BidItemStatusType' + TravelBidWeekendDays: title: Travel Bid Weekend Days enum: - Monday @@ -52557,228 +51934,67 @@ components: type: string description: Days considered weekend days for pricing purposes in the travel bid. example: Sunday - travel-break-out-room.json: - title: Travel Proposal Group And Meeting Break Out Room - description: Break-out room information. - type: object - properties: - 10PersonRoomIncluded: - type: boolean - description: True indicates a 10 person room is included. - price10PersonRoom: - type: number - minimum: 0.01 - maximum: 9999999999.99 - description: Price for 10 person room. - example: 100 - 25PersonRoomIncluded: - type: boolean - description: True indicates a 25 person room included. - price25PersonRoom: - type: number - minimum: 0.01 - maximum: 9999999999.99 - description: Price for 25 person room. - example: 100 - permanentBoardRoomSetUp: - type: boolean - description: True indicates there is a permanent board room set up. - travel-day-delegate-rate.json: - title: Travel Proposal Group And Meeting Day Delegate Rate - description: Day delegate rate information. This represents the costs for hosting meeting at the venue for a half or full day. - type: object - properties: - fullDay10To50People: - type: number - minimum: 0.01 - maximum: 9999999999.99 - description: Full day delegate rate for 10 to 50 people. - example: 100 - fullDay51To100People: - type: number - minimum: 0.01 - maximum: 9999999999.99 - description: Full day delegate rate for 51 to 100 people. - example: 200 - halfDay10To50People: - type: number - minimum: 0.01 - maximum: 9999999999.99 - description: Half day delegate rate for 10 to 50 people. - example: 50 - halfDay51To100People: - type: number - minimum: 0.01 - maximum: 9999999999.99 - description: Half day delegate rate for 51 to 100 people. - example: 100 - travel-departure-arrival.json: - title: TravelDepartureArrival - type: object - description: Common object that holds travel departure/arrival information. - properties: - time: - description: The ISO 8601 formatted date. - type: string - format: date-time - example: '2024-12-01T00:00:00Z' - carrier: - description: ICAO code. - type: string - example: JBU - maxLength: 3 - carrierNumber: - description: Carrier number. - type: string - example: '12345' - maxLength: 32 - travel-details.json: - title: TravelDetails - type: object - description: Common object that holds travel details information. - properties: - arrival: - $ref: '#/components/schemas/travel-departure-arrival.json' - departure: - $ref: '#/components/schemas/travel-departure-arrival.json' - additionalInformation: - description: Additional information about travel. - type: string - example: Additional Information - maxLength: 1000 - travel-group-and-meeting.json: - title: Travel Proposal Group and Meeting - description: Group and meeting information. - type: object - properties: - runOfHouseRate: - $ref: '#/components/schemas/travel-run-of-house-rate.json' - dayDelegateRate: - $ref: '#/components/schemas/travel-day-delegate-rate.json' - taxAndServiceCharge: - $ref: '#/components/schemas/travel-tax-and-service-charge.json' - meetingRoomBasicInformation: - $ref: '#/components/schemas/travel-meeting-room-basic-info.json' - amenity: - $ref: '#/components/schemas/travel-amenity.json' - breakOutRoom: - $ref: '#/components/schemas/travel-break-out-room.json' - travel-meeting-room-basic-info.json: - title: Travel Proposal Group And Meeting Meeting Room Basic Information - description: Meeting room basic information. - type: object - properties: - largestMeetingRoom: - type: integer - minimum: 1 - maximum: 9999999999 - description: Size of the largest meeting room. Units of measurement determined by `unitOfMeasurement` field. - example: 1000 - unitOfMeasurement: - type: string - maxLength: 50 - example: sq.ft. - description: Unit of measurement of the `largestMeetingRoom`'s size. - meetingRooms: - type: integer - minimum: 1 - maximum: 9999999999 - description: Total number of meeting rooms. - example: 10 - travel-program: - title: Travel Program - description: Travel program details. + TravelProgramFormatType: + title: Travel Program Format Type + enum: + - gbta2013 + - universal + type: string + 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/travel-account/allOf/0' + - $ref: '#/components/schemas/Audit' properties: - id: - title: Program ID - description: The unique ID of the travel program. - type: string - format: uuid - example: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 - name: - title: Program Name - type: string - maxLength: 60 - description: The name of the travel program. - example: Test Program - contractPeriod: - title: Originating Contract Period - description: The contract year in which the travel program originated. - type: integer - example: 2023 - type: - $ref: '#/components/schemas/travel-program-type.json' - format: - $ref: '#/components/schemas/travel-program-format-type.json' - status: - $ref: '#/components/schemas/travel-program-status.json' - travelAccount: - title: Travel Account - description: Travel account that the program belongs to. + travelProgram: + title: Travel Program + description: Travel program that the question belongs to. type: object properties: id: - title: Travel Account ID - description: The unique ID of the travel account. + title: Travel Program ID + description: The unique ID of the travel program. type: string format: uuid - example: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 - stayType: - $ref: '#/components/schemas/travel-program-stay-type.json' - startDate: - title: Start Date - description: The ISO 8601 formatted start date (in GMT) of the travel program. - type: string - format: date - example: '2024-01-01' - endDate: - title: End Date - description: The ISO 8601 formatted end date (in GMT) of the travel program. - type: string - format: date - example: '2024-12-31' - dueDate: - title: Due Date - description: The ISO 8601 formatted due date (in GMT) of the travel program. + example: ddc61444-45c7-4e1d-9fdd-07713c8baf9b + id: + title: Question ID + description: The unique ID of the question. type: string - format: date - example: '2023-11-13' - closeoutDate: - title: Closeout Date - description: The ISO 8601 formatted decision date (in GMT) of the travel program. + format: uuid + example: 76c461cb-77f6-40b3-acc8-db44452f11c4 + text: + title: Question Text + description: The text of the question. type: string - format: date - example: '2023-11-13' - questions: - title: Questions - description: A list of program specific questions for the supplier to answer as part of their proposal. - type: array - items: - $ref: '#/components/schemas/travel-program-question.json' - travel-program-format-type.json: - title: Travel Program Format Type - enum: - - gbta2013 - - universal - type: string - description: Code representing the format of the travel program. - example: gbta2013 - travel-program-paginated-response: - title: Travel program paginated response - description: A paginated list of travel programs. - type: object - properties: - paging: - $ref: '#/components/schemas/paging.json' - data: + 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: - $ref: '#/components/schemas/travel-program' - description: Collection of travel programs and their related details. - travel-program-question.json: + 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 @@ -52790,7 +52006,7 @@ components: format: uuid example: 76c461cb-77f6-40b3-acc8-db44452f11c4 section: - $ref: '#/components/schemas/question-section.json' + $ref: '#/components/schemas/QuestionSection' required: title: Required? description: Is it required for suppliers to answer this question in their proposal? @@ -52801,7 +52017,7 @@ components: description: The sequence number of the question within the proposal. type: integer example: 1 - travel-program-status.json: + TravelProgramStatus: title: Travel Program Status enum: - in_progress @@ -52810,7 +52026,7 @@ components: type: string description: Code representing the status of the travel program. example: complete - travel-program-stay-type.json: + TravelProgramStayType: title: Travel Program Stay Type enum: - daily @@ -52818,7 +52034,7 @@ components: type: string description: Code representing the stay types requested by the program. Programs can accept daily only, or daily and extended stay proposals. example: daily - travel-program-type.json: + TravelProgramType: title: Travel Program Type enum: - corporate @@ -52827,273 +52043,59 @@ components: type: string description: Code representing the travel program type. example: corporate - travel-proposal: - title: Travel Proposal + TravelProposalBid: + title: Travel Proposal Bid type: object - description: Represents travel proposals. Travel proposals are created by the travel supplier in response to a travel account's program. - allOf: - - title: Audit - description: Audit information - type: object - properties: - created: - type: string - format: date-time - description: The ISO 8601 zoned date time when this record was created. - readOnly: true - example: '2017-01-02T02:00:00Z' - createdBy: - type: string - description: The identifier of the user that created this record. - readOnly: true - example: hporter - lastModified: - type: string - format: date-time - description: The ISO 8601 zoned date time when this record was updated. - readOnly: true - example: '2019-02-12T03:00:00Z' - lastModifiedBy: - type: string - description: The identifier of the user that last updated this record. - readOnly: true - example: hporter + description: A travel proposal bid. properties: id: - title: Proposal ID - description: The unique ID of the travel proposal. + title: Bid ID + description: The ID of the bid. type: string format: uuid - example: 3e2a8614-7d52-442e-8c4f-a6a18ed9ac4d - readOnly: true - supplierProperty: - title: Supplier Property - description: Supplier property that the proposal is tied to. - type: object - properties: - id: - title: Supplier Property ID - description: The unique ID of the supplier property. - type: string - format: uuid - example: a1c79ba8-9553-4fb0-80bd-66adac1b2f5d - travelProgram: - title: Travel Program - description: Travel program that the proposal is in response 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 - contractPeriod: - type: integer - example: 2021 - description: Contract period of the proposal. The year the contract begins. - status: - $ref: '#/components/schemas/proposal-status-type.json' - deleted: - type: boolean - default: false - description: True indicates the proposal is deleted. - rateReviewStatus: - $ref: '#/components/schemas/rate-review-status-type.json' - businessType: - $ref: '#/components/schemas/business-type.json' - format: - $ref: '#/components/schemas/format-type.json' - documentRead: - type: boolean - default: false - description: True indicates the documents been read by the supply-side. - rejectReasonCode: - type: string - maxLength: 30 - example: Other - description: Reason the reject/decline action was performed. Used for certain actions/statuses. - rejectComment: - type: string - maxLength: 2000 - example: other reasons - description: Comments regarding the reasoning for the reject/decline action. This only comes into play for certain actions/statuses. - submitDate: + example: 1c208c0d-cf96-42ec-a2c3-7ab7a5c04825 + TravelProposalBidRate: + title: Travel Proposal Bid Rate + type: object + description: The rate (cost) information for a travel bid. + properties: + level: + $ref: '#/components/schemas/RateLevelType' + type: + $ref: '#/components/schemas/RateType' + planCode: type: string - format: date-time - description: The ISO 8601 datetime when proposal was submitted by the hotel. - example: '2030-02-10T00:00:00.000Z' - negotiationRound: - type: integer - description: The current round of negotiations. - example: 1 - negotiationDueDate: + description: The code given to the bid (also called rate plan) by the supplier. + maxLength: 10 + example: rp123 + tier: type: string - format: date-time - description: The ISO 8601 datetime when the negotiation response is due. - example: '2030-02-10T00:00:00.000Z' - roomNightConsumption: - type: integer - description: Client room nights produced at property from January 1 through June 30. - example: 100 - draft: - type: boolean - description: True indicates this proposal is a draft copy that is not sent to the other party. - bids: - type: array - description: Collection of bid IDs attached to the proposal. - items: - $ref: '#/components/schemas/travel-proposal-bid-id.json' - customQuestionAnswers: - type: array - description: Collection of custom questions. - items: - $ref: '#/components/schemas/custom-question-answer.json-0' - groupAndMeeting: - $ref: '#/components/schemas/travel-group-and-meeting.json' - proposalDisposition: - $ref: '#/components/schemas/travel-proposal-disposition.json' - travel-proposal-bid: - title: Travel Proposal Bid + description: The rate tier given to the bid (also called rate plan) by the supplier. + maxLength: 10 + example: tier1 + TravelProposalCustomQuestion: + title: Travel Proposal Custom Question + description: Represents custom question associated with a travel proposal. type: object - description: A travel proposal bid rate plan that is being proposed to a customer. properties: - travelProposal: - description: The travel proposal that the bid belongs to. + question: + title: Question + description: Travel account that the proposal is responding to. type: object properties: id: - title: Travel Proposal ID - description: The ID of the travel proposal. + title: Question ID + description: The unique ID of the question. type: string format: uuid - example: a91187db-d3c2-4035-b696-1d77fb1ab9d8 - id: - title: Bid ID - description: The unique ID of the bid. - type: string - format: uuid - example: 3e2a8614-7d52-442e-8c4f-a6a18ed9ac4d - readOnly: true - stayType: - $ref: '#/components/schemas/bid-stay-type.json' - order: - type: integer - default: 1 - example: 1 - description: The order of the bid compared to other bids of the same stay type. This is used to distinguish between extended stay 1 vs extended stay 2. - status: - $ref: '#/components/schemas/bid-status-type.json' - name: - type: string - minLength: 3 - maxLength: 60 - description: Name given to the bid. - example: My Corporate Bid - rate: - $ref: '#/components/schemas/travel-bid-rate.json' - marketCode: - type: string - description: The market code given to the rate plan / bid by the supplier. - maxLength: 10 - example: mc12 - currencyCode: - type: string - minLength: 3 - maxLength: 3 - example: USD - description: The ISO 4217 currency code used for the rates and other monetary values in the bid. - weekendDays: - type: array - description: Days of the week that are considered weekend days, to apply weekend rates. Does not apply when format is GBTA2013. - items: - $ref: '#/components/schemas/travel-bid-weekend-day.json' - lra: - type: boolean - default: true - description: Does the bid include LRA (Last Room Availability) rates? - nlra: - type: boolean - default: true - description: Does the bid include non-LRA rates? - fairDateLra: - type: boolean - default: true - description: Are the fair date rates LRA (Last Room Availability)? - internalNote: - type: string - maxLength: 3000 - example: '' - description: Additional comments passed from the domain-level rate plan. - comments: - type: array - description: Additional Info - items: - $ref: '#/components/schemas/travel-bid-comment.json' - maxItems: 5 - roomTypes: - type: array - description: Room Types associated with the bid - items: - $ref: '#/components/schemas/travel-bid-room.json' - maxItems: 99 - seasons: - type: array - description: Seasons associated with the bid - items: - $ref: '#/components/schemas/travel-bid-season.json' - maxItems: 99 - discounts: - type: array - description: Dynamic discounts associated with the bid - items: - $ref: '#/components/schemas/travel-bid-discount.json' - maxItems: 99 - fairSeasons: - type: array - description: Fair seasons associated with the bid - items: - $ref: '#/components/schemas/travel-bid-fair-season.json' - maxItems: 99 - amenities: - type: array - description: Amenities associated with the bid - items: - $ref: '#/components/schemas/travel-bid-amenity.json' - policies: - type: array - description: Policies associated with the bid - items: - $ref: '#/components/schemas/travel-bid-policy.json' - taxesAndFees: - type: array - description: Taxes & fees associated with the bid - items: - $ref: '#/components/schemas/travel-bid-tax-fee.json' - travel-proposal-bid-id.json: - title: Travel Proposal Bid - type: object - description: A travel proposal bid. - properties: - id: - title: Bid ID - description: The ID of the bid. + example: 565ceabb-786a-4a6d-8c85-e2fccc867e88 + answer: + title: Answer + description: Hotel's answer to the program's custom question. type: string - format: uuid - example: 1c208c0d-cf96-42ec-a2c3-7ab7a5c04825 - travel-proposal-bid-paginated-response: - title: Travel Proposal Paginated Response - description: A paginated list of travel proposals. - type: object - properties: - paging: - $ref: '#/components/schemas/paging.json' - data: - type: array - items: - $ref: '#/components/schemas/travel-proposal-bid' - description: Paginated list of business transient proposal bids. - travel-proposal-disposition.json: + maxLength: 4000 + example: No. + TravelProposalDisposition: title: Travel Proposal Disposition type: object description: Represent proposal disposition details. @@ -53102,24 +52104,146 @@ components: type: array description: List of bid dispositions. items: - $ref: '#/components/schemas/travel-bid-disposition.json' + $ref: '#/components/schemas/TravelBidDisposition' groupAndMeetingAccepted: type: boolean description: Indicates if the group and meeting is accepted. example: true - travel-proposal-paginated-response: - title: Travel Proposal Paginated Response - description: A paginated list of travel proposals. + TravelProposalGroupAndMeeting: + title: Travel Proposal Group and Meeting + description: Group and meeting information. type: object properties: - paging: - $ref: '#/components/schemas/paging.json' - data: - type: array - items: - $ref: '#/components/schemas/travel-proposal' - description: Paginated list of business transient proposals. - travel-run-of-house-rate.json: + runOfHouseRate: + $ref: '#/components/schemas/TravelProposalGroupAndMeetingRunOfHouseRate' + dayDelegateRate: + $ref: '#/components/schemas/TravelProposalGroupAndMeetingDayDelegateRate' + taxAndServiceCharge: + $ref: '#/components/schemas/TravelProposalGroupAndMeetingTaxAndServiceCharge' + meetingRoomBasicInformation: + $ref: '#/components/schemas/TravelProposalGroupAndMeetingMeetingRoomBasicInformation' + amenity: + $ref: '#/components/schemas/TravelProposalGroupAndMeetingAmenity' + breakOutRoom: + $ref: '#/components/schemas/TravelProposalGroupAndMeetingBreakOutRoom' + TravelProposalGroupAndMeetingAmenity: + title: Travel Proposal Group And Meeting Amenity + description: Group and meeting amenity info. + type: object + properties: + lcdIncluded: + type: boolean + description: True indicates a liquid crystal display (LCD) is included in the amenity. + lcdPrice: + type: number + minimum: 0.01 + maximum: 9999999999.99 + description: Price of the liquid crystal display (LCD). + example: 100 + screenIncluded: + type: boolean + description: True indicates a screen is included in the amenity. + screenPrice: + type: number + minimum: 0.01 + maximum: 9999999999.99 + description: Price of the screen. + example: 100 + hsiaIncluded: + type: boolean + description: True indicates high speed internet access is included in the amenity. + hsiaPrice: + type: number + minimum: 0.01 + maximum: 9999999999.99 + description: Price of high speed internet access (HSIA). + example: 100 + complementaryParkingIncluded: + type: boolean + description: True indicates parking is included in the amenity. + whatCompanyProvidesAVEquipment: + type: string + maxLength: 100 + description: Name of company providing AV equipment. + example: Some company + TravelProposalGroupAndMeetingBreakOutRoom: + title: Travel Proposal Group And Meeting Break Out Room + description: Break-out room information. + type: object + properties: + 10PersonRoomIncluded: + type: boolean + description: True indicates a 10 person room is included. + price10PersonRoom: + type: number + minimum: 0.01 + maximum: 9999999999.99 + description: Price for 10 person room. + example: 100 + 25PersonRoomIncluded: + type: boolean + description: True indicates a 25 person room included. + price25PersonRoom: + type: number + minimum: 0.01 + maximum: 9999999999.99 + description: Price for 25 person room. + example: 100 + permanentBoardRoomSetUp: + type: boolean + description: True indicates there is a permanent board room set up. + TravelProposalGroupAndMeetingDayDelegateRate: + title: Travel Proposal Group And Meeting Day Delegate Rate + description: Day delegate rate information. This represents the costs for hosting meeting at the venue for a half or full day. + type: object + properties: + fullDay10To50People: + type: number + minimum: 0.01 + maximum: 9999999999.99 + description: Full day delegate rate for 10 to 50 people. + example: 100 + fullDay51To100People: + type: number + minimum: 0.01 + maximum: 9999999999.99 + description: Full day delegate rate for 51 to 100 people. + example: 200 + halfDay10To50People: + type: number + minimum: 0.01 + maximum: 9999999999.99 + description: Half day delegate rate for 10 to 50 people. + example: 50 + halfDay51To100People: + type: number + minimum: 0.01 + maximum: 9999999999.99 + description: Half day delegate rate for 51 to 100 people. + example: 100 + TravelProposalGroupAndMeetingMeetingRoomBasicInformation: + title: Travel Proposal Group And Meeting Meeting Room Basic Information + description: Meeting room basic information. + type: object + properties: + largestMeetingRoom: + type: integer + minimum: 1 + maximum: 9999999999 + description: Size of the largest meeting room. Units of measurement determined by `unitOfMeasurement` field. + example: 1000 + unitOfMeasurement: + type: string + maxLength: 50 + example: sq.ft. + description: Unit of measurement of the `largestMeetingRoom`'s size. + meetingRooms: + type: integer + minimum: 1 + maximum: 9999999999 + description: Total number of meeting rooms. + example: 10 + TravelProposalGroupAndMeetingRunOfHouseRate: title: Travel Proposal Group And Meeting Run of House Rate description: Run of house rate information. type: object @@ -53184,7 +52308,7 @@ components: maximum: 9999999999.99 description: Season five run of house rate for 51-100 people. example: 1000 - travel-tax-and-service-charge.json: + TravelProposalGroupAndMeetingTaxAndServiceCharge: title: Travel Proposal Group And Meeting Tax and Service Charge description: Tax and service charge information. type: object @@ -53229,7 +52353,7 @@ components: type: string description: Status of the travel request done by attendee. example: SUBMITTED - unit-position.json: + unit-position: type: string description: Unit position used for text box question type. enum: @@ -53253,7 +52377,7 @@ components: format: uuid description: Unique identifier of the appointment to be updated. example: a3d77c44-bb4b-41dd-9c37-18230cc66ce4 - updated-through-name-property.json: + UpdatedThroughNameProperty: title: UpdatedThroughNameProperty description: Name of the place where this change was updated through. type: string @@ -53484,7 +52608,7 @@ components: type: array description: 'The address of the user. The user can have only one address.
If multiple addresses are provided, only one is accepted and rest are ignored. One address is selected based on the following sequence of criteria: primary, work type, first in the sequence' items: - $ref: '#/components/schemas/address.json4' + $ref: '#/components/schemas/address.json2' userType: $ref: '#/components/schemas/user-type.json' timezone: @@ -53701,7 +52825,7 @@ components: type: array description: 'The address of the user. The user can have only one address.
If multiple addresses are provided, only one is accepted and rest are ignored. One address is selected based on the following sequence of criteria: primary, work type, first in the sequence' items: - $ref: '#/components/schemas/address.json4' + $ref: '#/components/schemas/address.json2' userType: $ref: '#/components/schemas/user-type.json' timezone: @@ -53970,7 +53094,7 @@ components: title: VenueAddress description: Address details for venue. allOf: - - $ref: '#/components/schemas/address.json2' + - $ref: '#/components/schemas/address.json' properties: latitude: description: Location latitude. @@ -54008,59 +53132,10 @@ components: description: Event video. type: object allOf: - - title: VideoBase - description: Base model for a Video. - type: object - required: - - title - allOf: - - $ref: '#/components/schemas/sync-job/allOf/0' - properties: - title: - type: string - description: The title of the video - maxLength: 500 - example: Cvent 2020 Keynote - description: - type: string - description: Description of the video - example: The video recording of the Cvent 2020 keynote by James Gordon - filename: - type: string - description: Filename associated with the video at time of upload. Cannot be modified. - maxLength: 300 - example: Cvent Keynote Version 5.mp4 - events: - type: array - description: A list of events associated with this video asset - items: - $ref: '#/components/schemas/uuid-property' - maxItems: 50 - default: [] - duration: - type: integer - description: Video duration (milliseconds) - example: 3600000 - thumbnail: - $ref: '#/components/schemas/video-thumbnail.json' - generatedThumbnail: - $ref: '#/components/schemas/video-thumbnail.json' - status: - $ref: '#/components/schemas/video-status.json' - source: - $ref: '#/components/schemas/video-source.json' - tags: - type: array - description: A list of tags associated with this video. This feature is a developer extensability framework to add data to videos. - items: - type: string - default: [] - example: - - edited - - exhibitor + - $ref: '#/components/schemas/VideoBase' properties: type: - $ref: '#/components/schemas/video-type.json' + $ref: '#/components/schemas/VideoType' event: title: UUID required: @@ -54085,7 +53160,7 @@ components: hlsInputsWithClips: type: array items: - $ref: '#/components/schemas/hls-input-with-clips.json' + $ref: '#/components/schemas/HlsInputWithClips' description: A list of input object locations & clip information for HTTP Live Streaming (HLS) recordings. Used to trim & stitch all inputs together to form a new video. recording: title: Recording details @@ -54100,8 +53175,137 @@ components: format: uuid example: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 encodingProfile: - $ref: '#/components/schemas/encoding-profile.json' - video-asset-id.json: + $ref: '#/components/schemas/EncodingProfile' + video-images.json: + title: VideoImages + type: object + description: The images associated with the video + properties: + thumbnail: + type: object + allOf: + - description: URL of the video's thumbnail image. + - $ref: '#/components/schemas/existing-video1/properties/source/allOf/1' + poster: + type: object + allOf: + - description: URL of the video's poster image. + - $ref: '#/components/schemas/existing-video1/properties/source/allOf/1' + video-renditions-response: + title: VideoRenditionsResponse + description: The response from a request to get the list of video renditions. + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/VideoRendition' + maxItems: 11 + description: Collection of video renditions. + video-status.json: + title: VideoStatus + enum: + - Active + - Inactive + - Pending + - Deleted + type: string + description: This is used to denote the status of the video + example: Active + video-text-track: + title: VideoTextTrack + description: Video text track + type: object + required: + - language + - kind + allOf: + - $ref: '#/components/schemas/Audit' + properties: + video: + $ref: '#/components/schemas/VideoAssetID' + label: + type: string + description: Name of the text track. + maxLength: 300 + example: English + language: + type: string + description: IETF language tag for the text track. + maxLength: 35 + example: en-US + kind: + $ref: '#/components/schemas/VideoTextTrackKind' + published: + description: True means that this text track has been published for your client. + type: boolean + default: true + default: + description: True indicates this is the default text track. Each kind of text track can have a separate default assigned. + type: boolean + default: false + status: + $ref: '#/components/schemas/VideoTextTrackStatus' + autoGenerated: + description: True indicates this text track was generated via machine transcription of the audio. + type: boolean + default: false + video-text-tracks-response: + title: VideoTextTracksResponse + description: The response from a request to get the list of video text tracks. + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/existing-video-text-track' + description: Collection of video text tracks. + video-thumbnail: + title: VideoThumbnail + description: Video thumbnail + type: object + properties: + url: + $ref: '#/components/schemas/Link' + size: + type: integer + description: File size in bytes for the thumbnail + example: 4098675830 + height: + type: integer + description: frame height in pixels + example: 400 + width: + type: integer + description: frame width in pixels + example: 300 + type: + $ref: '#/components/schemas/ThumbnailType' + status: + $ref: '#/components/schemas/ThumbnailStatus' + video-views-paginated-response: + title: VideoViewsPaginatedResponse + description: Paginated list of video views. + type: object + properties: + paging: + $ref: '#/components/schemas/Paging' + data: + type: array + items: + $ref: '#/components/schemas/VideoView' + description: List of unique video views. + Video1: + title: Video + type: object + description: The details of a video + properties: + id: + type: string + format: uuid + description: The unique ID of the video. + example: 456e4567-e89b-12d3-a456-426614174000 + VideoAssetID: title: Video Asset ID required: - id @@ -54113,7 +53317,58 @@ components: format: uuid example: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 description: Video that this asset was created with. - video-clip.json: + VideoBase: + title: VideoBase + description: Base model for a Video. + type: object + required: + - title + allOf: + - $ref: '#/components/schemas/Audit' + properties: + title: + type: string + description: The title of the video + maxLength: 500 + example: Cvent 2020 Keynote + description: + type: string + description: Description of the video + example: The video recording of the Cvent 2020 keynote by James Gordon + filename: + type: string + description: Filename associated with the video at time of upload. Cannot be modified. + maxLength: 300 + example: Cvent Keynote Version 5.mp4 + events: + type: array + description: A list of events associated with this video asset + items: + $ref: '#/components/schemas/UUIDProperty' + maxItems: 50 + default: [] + duration: + type: integer + description: Video duration (milliseconds) + example: 3600000 + thumbnail: + $ref: '#/components/schemas/video-thumbnail' + generatedThumbnail: + $ref: '#/components/schemas/video-thumbnail' + status: + $ref: '#/components/schemas/VideoStatus' + source: + $ref: '#/components/schemas/VideoSource' + tags: + type: array + description: A list of tags associated with this video. This feature is a developer extensability framework to add data to videos. + items: + type: string + default: [] + example: + - edited + - exhibitor + VideoClip: title: VideoClip description: Video clip details. type: object @@ -54128,7 +53383,20 @@ components: description: The timecode to end the clip in HH:MM:SS:FF format. example: '00:05:00:00' pattern: ^([01][0-9]|2[0-4]):[0-5][0-9]:[0-5][0-9][:;][0-9]{2}$ - video-error-code.json: + VideoError: + title: VideoError + description: This is used to denote the errors for a video entity. + properties: + code: + $ref: '#/components/schemas/VideoErrorCode' + message: + type: string + description: Error message for the video. Message is a developer convenience never to be used in any context that needs localisation, subject to change at any time. + example: Transcoding failed due to an unsupported video codec. + required: + - code + - message + VideoErrorCode: title: VideoErrorCode description: This is used to denote the error codes for a video entity. enum: @@ -54143,20 +53411,7 @@ components: - 608 type: integer example: 601 - video-error.json: - title: VideoError - description: This is used to denote the errors for a video entity. - properties: - code: - $ref: '#/components/schemas/video-error-code.json' - message: - type: string - description: Error message for the video. Message is a developer convenience never to be used in any context that needs localisation, subject to change at any time. - example: Transcoding failed due to an unsupported video codec. - required: - - code - - message - video-errors.json: + VideoErrors: title: VideoErrors description: This is used to denote the errors for a video entity. type: array @@ -54164,87 +53419,18 @@ components: minItems: 0 maxItems: 100 items: - $ref: '#/components/schemas/video-error.json' - video-images.json: - title: VideoImages - type: object - description: The images associated with the video - properties: - thumbnail: - type: object - allOf: - - description: URL of the video's thumbnail image. - - $ref: '#/components/schemas/existing-video1/properties/source/allOf/1' - poster: - type: object - allOf: - - description: URL of the video's poster image. - - $ref: '#/components/schemas/existing-video1/properties/source/allOf/1' - video-playback: - title: VideoPlayback - description: Video playback details. - type: object - properties: - playbackUrl: - type: object - allOf: - - description: A pre-signed URL to the location of the video - readOnly: true - - title: Link - required: - - href - type: object - description: Represents a link to a related resource. - properties: - href: - type: string - description: A url provided that can be followed for linking - example: '?token=90c5f062-76ad-4ea4-aa53-00eb698d9262' - posterUrl: - type: object - allOf: - - description: A pre-signed URL to the location of the video poster - readOnly: true - - $ref: '#/components/schemas/video-playback/properties/playbackUrl/allOf/1' - previewUrl: - type: object - allOf: - - description: 'A pre-signed URL to the location of preview version of the video ' - readOnly: true - - $ref: '#/components/schemas/video-playback/properties/playbackUrl/allOf/1' - textTracks: - type: array - items: - $ref: '#/components/schemas/existing-video-text-track' - description: Collection of video text tracks. - ttl: - type: integer - description: Time to live (TTL) in seconds for all signed urls in response - example: 86400 - video-rendition-type.json: - title: VideoRenditionType - enum: - - Hls - - HlsMaster - - Mp4 - - Poster - - Mp4Preview - - Mp3 - - Audio - type: string - description: Denotes the type of rendition. - example: Hls - video-rendition.json: + $ref: '#/components/schemas/VideoError' + VideoRendition: title: VideoRendition description: Video rendition type: object allOf: - - $ref: '#/components/schemas/sync-job/allOf/0' + - $ref: '#/components/schemas/Audit' properties: video: - $ref: '#/components/schemas/video-asset-id.json' + $ref: '#/components/schemas/VideoAssetID' type: - $ref: '#/components/schemas/video-rendition-type.json' + $ref: '#/components/schemas/VideoRenditionType' location: title: Link required: @@ -54264,18 +53450,35 @@ components: type: integer description: The video's frame height in pixels. example: 400 - video-renditions-response: - title: VideoRenditionsResponse - description: The response from a request to get the list of video renditions. + VideoRenditionType: + title: VideoRenditionType + enum: + - Hls + - HlsMaster + - Mp4 + - Poster + - Mp4Preview + - Mp3 + - Audio + type: string + description: Denotes the type of rendition. + example: Hls + videos-paginated-response: + title: VideoPaginatedResponse + description: The response from a request to get the list of videos. This includes the paging object as well as the collection of videos. + required: + - paging + - data type: object properties: + paging: + $ref: '#/components/schemas/Paging' data: type: array items: - $ref: '#/components/schemas/video-rendition.json' - maxItems: 11 - description: Collection of video renditions. - video-source.json: + $ref: '#/components/schemas/existing-video-response' + description: Collection of videos. + VideoSource: title: VideoSource description: Source of video. type: object @@ -54294,7 +53497,7 @@ components: - Deleted description: Denotes the status of the video in the third-party system. example: Active - video-status.json: + VideoStatus: title: VideoStatus enum: - Started @@ -54310,55 +53513,7 @@ components: type: string description: Denotes the status of a video. Started indicates the request to upload in the API was submitted, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the video. Available indicates the video is available for use. example: Started - video-status.json1: - title: VideoStatus - enum: - - Active - - Inactive - - Pending - - Deleted - type: string - description: This is used to denote the status of the video - example: Active - video-text-track: - title: VideoTextTrack - description: Video text track - type: object - required: - - language - - kind - allOf: - - $ref: '#/components/schemas/sync-job/allOf/0' - properties: - video: - $ref: '#/components/schemas/video-asset-id.json' - label: - type: string - description: Name of the text track. - maxLength: 300 - example: English - language: - type: string - description: IETF language tag for the text track. - maxLength: 35 - example: en-US - kind: - $ref: '#/components/schemas/video-text-track-kind.json' - published: - description: True means that this text track has been published for your client. - type: boolean - default: true - default: - description: True indicates this is the default text track. Each kind of text track can have a separate default assigned. - type: boolean - default: false - status: - $ref: '#/components/schemas/video-text-track-status.json' - autoGenerated: - description: True indicates this text track was generated via machine transcription of the audio. - type: boolean - default: false - video-text-track-kind.json: + VideoTextTrackKind: title: VideoTextTrackKind enum: - subtitles @@ -54369,7 +53524,7 @@ components: type: string description: Denotes the kind of video text track. Only subtitles are supported. example: subtitles - video-text-track-status.json: + VideoTextTrackStatus: title: VideoTextTrackStatus enum: - Started @@ -54384,40 +53539,7 @@ components: type: string description: Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. example: Started - video-text-tracks-response: - title: VideoTextTracksResponse - description: The response from a request to get the list of video text tracks. - type: object - properties: - data: - type: array - items: - $ref: '#/components/schemas/existing-video-text-track' - description: Collection of video text tracks. - video-thumbnail.json: - title: VideoThumbnail - description: Video thumbnail - type: object - properties: - url: - $ref: '#/components/schemas/video-playback/properties/playbackUrl/allOf/1' - size: - type: integer - description: File size in bytes for the thumbnail - example: 4098675830 - height: - type: integer - description: frame height in pixels - example: 400 - width: - type: integer - description: frame width in pixels - example: 300 - type: - $ref: '#/components/schemas/thumbnail-type.json' - status: - $ref: '#/components/schemas/thumbnail-status.json' - video-type.json: + VideoType: title: VideoType enum: - mpg2 @@ -54434,21 +53556,21 @@ components: type: string description: This is used to denote type of a video example: mp4 - video-view.json: + VideoView: title: VideoView description: Details of a single video view type: object properties: contact: - $ref: '#/components/schemas/contact.json2' + $ref: '#/components/schemas/Contact2' solution: - $ref: '#/components/schemas/solution.json' + $ref: '#/components/schemas/Solution' device: - $ref: '#/components/schemas/device.json' + $ref: '#/components/schemas/Device1' video: - $ref: '#/components/schemas/video.json' + $ref: '#/components/schemas/Video1' type: - $ref: '#/components/schemas/view-type.json1' + $ref: '#/components/schemas/ViewType1' totalDuration: type: integer format: int64 @@ -54463,31 +53585,12 @@ components: type: number description: The percentage of the video watched by the viewer. example: 52 - video-views-paginated-response: - title: VideoViewsPaginatedResponse - description: Paginated list of video views. - type: object - properties: - paging: - $ref: '#/components/schemas/paging.json' - data: - type: array - items: - $ref: '#/components/schemas/video-view.json' - description: List of unique video views. - video-warning-code.json: - title: VideoWarningCode - description: This is used to denote the warning codes for a video entity. - enum: - - 700 - type: integer - example: 700 - video-warning.json: + VideoWarning: title: VideoWarning description: This is used to denote the warnings for a video entity. properties: code: - $ref: '#/components/schemas/video-warning-code.json' + $ref: '#/components/schemas/VideoWarningCode' message: type: string description: Warning message for the video. Message is a developer convenience never to be used in any context that needs localisation, subject to change at any time. @@ -54495,7 +53598,14 @@ components: required: - code - message - video-warnings.json: + VideoWarningCode: + title: VideoWarningCode + description: This is used to denote the warning codes for a video entity. + enum: + - 700 + type: integer + example: 700 + VideoWarnings: title: VideoWarnings description: This is used to denote the warnings for a video entity. type: array @@ -54503,33 +53613,8 @@ components: minItems: 0 maxItems: 100 items: - $ref: '#/components/schemas/video-warning.json' - video.json: - title: Video - type: object - description: The details of a video - properties: - id: - type: string - format: uuid - description: The unique ID of the video. - example: 456e4567-e89b-12d3-a456-426614174000 - videos-paginated-response: - title: VideoPaginatedResponse - description: The response from a request to get the list of videos. This includes the paging object as well as the collection of videos. - required: - - paging - - data - type: object - properties: - paging: - $ref: '#/components/schemas/paging.json' - data: - type: array - items: - $ref: '#/components/schemas/existing-video-response' - description: Collection of videos. - view-type.json1: + $ref: '#/components/schemas/VideoWarning' + ViewType1: title: ViewType description: The view type of the video. Videos can be viewed live or as a recording. type: string @@ -54574,6 +53659,80 @@ components: - EVERY_NTH_REGISTRANT example: ALL default: AFTER_THRESHOLD_LIMIT + voucher: + title: Voucher + description: Represents a voucher configured for an event. Event-level vouchers are special codes that can be assigned to invitees or attendees, enabling benefits such as free registration, discounted pricing, or other promotional entitlements during the registration process. + type: object + required: + - id + - code + properties: + id: + type: string + format: uuid + description: Voucher ID. + example: 1800c9bd-b5f4-438a-a92c-ea1f59553a5c + readOnly: true + code: + type: string + maxLength: 30 + description: The unique planner-defined code that invitees enter during registration to redeem the voucher. + example: VIP-100 + description: + type: string + maxLength: 250 + description: A description of the voucher and its intended use. + example: VIP full-comp voucher for keynote attendees. + alertEmailAddress: + type: string + format: email + description: The email address that receives a notification whenever the voucher is redeemed. + example: planner@example.com + capacity: + $ref: '#/components/schemas/VoucherCapacity' + lastModifiedBy: + type: string + description: The identity of the user or system that last modified the voucher. + example: planner@example.com + lastModifiedDate: + type: string + format: date-time + description: The ISO 8601 formatted date and time when the voucher was last modified, expressed in UTC. + example: '2026-04-08T02:05:12.000Z' + VoucherCapacity: + title: Voucher Capacity + description: Represents the capacity details for a voucher, including the total allowed redemptions and the number already redeemed. + type: object + required: + - total + - redeemedCount + properties: + total: + type: integer + description: The maximum number of times the voucher can be redeemed. Default value of -1 indicates unlimited capacity. + example: 100 + minimum: -1 + maximum: 999999 + redeemedCount: + type: integer + description: The number of times the voucher has already been redeemed. + example: 42 + vouchers-paginated-response: + title: Vouchers Paginated Response + required: + - data + - paging + type: object + description: A paginated response of vouchers. + properties: + paging: + $ref: '#/components/schemas/Paging' + data: + maxItems: 200 + type: array + items: + $ref: '#/components/schemas/voucher' + description: Collection of vouchers. webcast: title: Webcast description: A webcast @@ -54845,7 +54004,7 @@ components: - $ref: '#/components/schemas/Audit' properties: event: - $ref: '#/components/schemas/Event2' + $ref: '#/components/schemas/Event3' exhibitor: $ref: '#/components/schemas/Exhibitor' name: @@ -54884,15 +54043,15 @@ components: items: $ref: '#/components/schemas/existing-weblink' description: List of weblinks associated with an exhibitor. - wedding-details.json-0: + WeddingDetails-1: title: Wedding Details description: Wedding details. type: object properties: firstPartner: - $ref: '#/components/schemas/wedding-partner.json' + $ref: '#/components/schemas/WeddingPartner' secondPartner: - $ref: '#/components/schemas/wedding-partner.json' + $ref: '#/components/schemas/WeddingPartner' ceremony: type: boolean description: True indicates ceremony is planned. @@ -54905,13 +54064,13 @@ components: rehearsalDinner: type: boolean description: True indicates rehearsal dinner is planned. - wedding-partner.json: + WeddingPartner: title: WeddingPartner description: Represents wedding partner. type: object properties: type: - $ref: '#/components/schemas/bride-groom-type.json-0' + $ref: '#/components/schemas/BrideGroomType' name: type: string description: Name of the partner of the wedding couple. @@ -54981,6 +54140,8 @@ components: budget/transactions:delete: Allows delete card transactions. budget/transactions:read: Allows the reading of all card's transactions budget/transactions:write: Allows creation of card transactions. + business-transient/bids:read: Allows the reading of BT Bid data + business-transient/proposals:read: Allows the reading of BT Proposal data compliance/communications:read: Allows the reading of communication compliance compliance/communications:write: Allows the writing of communication compliance email/bounces:read: Allow the reading of email bounces. @@ -55072,6 +54233,7 @@ components: event/video-views:read: Allows reading of video views. event/videos:read: Allows the reading of video data. event/videos:write: Allows the creation/updating of video data. + event/vouchers:read: Allows reading of event vouchers and their associated attendees. event/webcasts:delete: Allows the deletion of webcast event/webcasts:read: Allows the reading of webcasts event/webcasts:write: Allows the creation of webcast @@ -55195,6 +54357,9 @@ components: business-transient/travel-program-questions:read: Allows the reading of business transient travel program question data. business-transient/travel-programs:read: Allows the reading of business transient travel program data. business-transient/travel-supplier-accounts:read: Allows the reading of business transient travel supplier account data. + business-travel/travel-accounts:read: Allows the reading of business travel account data. + business-travel/travel-program-questions:read: Allows the reading of business travel program question data. + business-travel/travel-programs:read: Allows the reading of business travel program data. compliance/communications:read: Allows the reading of communication compliance compliance/communications:write: Allows the writing of communication compliance email/bounces:read: Allow the reading of email bounces. @@ -55286,6 +54451,7 @@ components: event/video-views:read: Allows reading of video views. event/videos:read: Allows the reading of video data. event/videos:write: Allows the creation/updating of video data. + event/vouchers:read: Allows reading of event vouchers. event/webcasts:delete: Allows the deletion of webcast event/webcasts:read: Allows the reading of webcasts event/webcasts:write: Allows the creation of webcast diff --git a/overlays/public_overlay.yaml b/overlays/public_overlay.yaml index b6e8ecbfb..5f109c4f8 100644 --- a/overlays/public_overlay.yaml +++ b/overlays/public_overlay.yaml @@ -89,7 +89,7 @@ actions: title: Supplier properties: type: - $ref: "#/components/schemas/supplier-type.json1" + $ref: "#/components/schemas/supplier-type.json" properties: id: type: string @@ -117,3 +117,16 @@ actions: - target: $["components"]["schemas"]["CustomField"] update: x-speakeasy-name-override: "CustomFieldSchema" + # TypeScript barrel fix: renaming the "Attendee" schema key to "Attendee2" in June 17-18 release + # shifted Speakeasy's collision slot numbering, orphaning attendee1.ts from the barrel index. + # Pinning "attendee" to class "Attendee1" (its prior stable name) restores the barrel entry. + # Safe (class name): "Attendee1" was already the published class name up to SDK Release June 3-4 — + # the collision resolver had naturally assigned it that name. This pin preserves the existing + # name rather than introducing a breaking rename for SDK consumers. + # Safe (no property renames): x-speakeasy-name-override also renames any *property* in a + # parent schema that references this schema via a named $ref (e.g. properties.attendee.$ref). + # Since all refs to "attendee" are response body schemas or array item $refs (not named + # properties), there are no property renames as a side effect — only the class name is affected. + - target: $["components"]["schemas"]["attendee"] + update: + x-speakeasy-name-override: "Attendee1" diff --git a/packages/csharp/.speakeasy/gen.lock b/packages/csharp/.speakeasy/gen.lock index b76536dce..aa19ef8ad 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: 980ec795cdc5cf787611d1872ebac47a + docChecksum: 366f3963ef9a456f6e28208f71114563 docVersion: ea speakeasyVersion: 1.752.0 generationVersion: 2.859.2 - releaseVersion: 1.4.0 - configChecksum: 0e2dc7aeaf6a435bfb33209680431937 + releaseVersion: 1.5.0 + configChecksum: 498c4fb7640986ed72acd2c4d4444a96 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:d0ebbdbca24f98cad8b303c194c2c6dd5f144002 + last_write_checksum: sha1:1ec6f316585957aaaf26058d4d7f8a843c97e7cc pristine_git_object: 7a318ebe39215ade31d133b8f5920eb190ea74e3 USAGE.md: id: 3aed33ce6e6f @@ -68,12 +68,14 @@ trackedFiles: pristine_git_object: 6c637a212603fa79d44b28d4f084cdaa34f59707 docs/Models/Components/AccountBudgetItemListResponseJson.md: id: 820ac3be10e1 - last_write_checksum: sha1:a369564e83a3c6e1e7518f25758466dea6acfa23 + last_write_checksum: sha1:48813a0188996dc15e6bc929bd35debb8a980e1b pristine_git_object: 27811ed7c33113622246467777e61ebe48a27e86 docs/Models/Components/AccountBudgetItemsPaginatedResponse.md: id: d5768916a6fb last_write_checksum: sha1:5481f70173afa8c5f10451011c1960e45b62fb71 pristine_git_object: c796cd3d5b953035f82fdc2452b99d988704f8d4 + docs/Models/Components/Action.md: + last_write_checksum: sha1:987caa3d5a68a6f27955aa3b172585dc9a810983 docs/Models/Components/ActivityAdJson.md: id: 9bb5e5f9295e last_write_checksum: sha1:57696acbef8d107a58ed2ce727db5e00bd04e3be @@ -215,57 +217,45 @@ trackedFiles: last_write_checksum: sha1:fbbf20cabfafa6319088c317a8d3dad9fa834ab5 pristine_git_object: c232eba3e3ae418311f8feadc50fefd9faa360c1 docs/Models/Components/AdditionalChoice.md: - last_write_checksum: sha1:e69509b634644e3bd3adeed509ec3ce429adbb33 - docs/Models/Components/AdditionalChoiceJson1.md: - last_write_checksum: sha1:20f970bfc50f26292d8012f2270e99da13978a21 - docs/Models/Components/AdditionalChoiceJson2.md: - last_write_checksum: sha1:f6e0772cd31610cd16732dea1d0fe38a7e9e5d93 + last_write_checksum: sha1:02ae67058320452c2706355da7ba39cc8bcad210 + docs/Models/Components/AdditionalChoice1.md: + last_write_checksum: sha1:e9226b4e8a691c13b7141c6852d90802954867eb + docs/Models/Components/AdditionalChoiceJson.md: + last_write_checksum: sha1:fccc0686cc2dcd90efe998dfe2897c3dc78103b6 docs/Models/Components/AdditionalGuestFeesJson.md: id: 8056a5291292 last_write_checksum: sha1:38882fd7641ffe58c1844388c6a1e60e0da1d00b pristine_git_object: 8fd3807edf2246549fd6130f5b477760bdbddf58 + docs/Models/Components/Address.md: + last_write_checksum: sha1:938b6604b6e3af16da2ff7c477bad0c7832a734e + docs/Models/Components/Address1.md: + last_write_checksum: sha1:10bcfb21b01ef0d40c5772f1cefde542fd002500 docs/Models/Components/Address11.md: - last_write_checksum: sha1:4203850c7c753474082a2b1b63b8f7d3b601af0c - docs/Models/Components/Address12.md: - last_write_checksum: sha1:b9eea80b3fd81595619cd6b78b533ebcbc6464b5 - docs/Models/Components/Address2.md: - last_write_checksum: sha1:d497227dd692c32e7fdf93e111776b2023b10cf5 + last_write_checksum: sha1:bc88651f27121855f6efa090a04aaf91b53925d8 docs/Models/Components/Address3.md: - last_write_checksum: sha1:d12967334637f1bc1294ef2aa8570eb7ac0bd7d6 + last_write_checksum: sha1:878768709b1fd435ac860db4e527b8e2fa011fb5 + docs/Models/Components/Address4.md: + last_write_checksum: sha1:9d7dabb303131e520135e427065c0fe876284ffa + docs/Models/Components/Address5.md: + last_write_checksum: sha1:1a7ae10057c48e2888b963ddcb2fd0d166604560 + docs/Models/Components/Address6.md: + last_write_checksum: sha1:5bb44c95ec323477eaa18b16bb6c8f33819df2ab + docs/Models/Components/AddressInput.md: + last_write_checksum: sha1:b1d109a712d0b7988c5db3bf0899dfee27bb70bb docs/Models/Components/AddressJson.md: id: 7ecdc2f5de1f - last_write_checksum: sha1:a826695cc69f4d4ace8d3de5c9f2d39d51d8a573 + last_write_checksum: sha1:8461dea4a880bf7f777989ee8db4b7699317ceb9 pristine_git_object: 752704eeccdeff8e20b70cb3b4b35a2f11cb7e4a - docs/Models/Components/AddressJson0.md: - last_write_checksum: sha1:fca1f03411fb0883bcb8f82d4f6b2e863c5ad5b8 + docs/Models/Components/AddressJson1.md: + last_write_checksum: sha1:0915edacf1965ee7891caad8e8760916a0159faa docs/Models/Components/AddressJson2.md: - last_write_checksum: sha1:aacf400393e16ba4174cd92750eb7c646d8ef3e0 - docs/Models/Components/AddressJson3.md: - id: 6481012a7f85 - last_write_checksum: sha1:7b6ad9e2668567b5751430991c959f4195eba851 - pristine_git_object: d159c5c2ff34ed97810336511d8ae26f06a78856 - docs/Models/Components/AddressJson4.md: - id: 790686dbb409 - last_write_checksum: sha1:ed6d4be76c32c5230168a0069d0058f1f2c598d2 - pristine_git_object: 04f417d34993fcaf9ce3fac6e10509b0d5b5b17a - docs/Models/Components/AddressJson5.md: - id: 9048e80b59c9 - last_write_checksum: sha1:7a6707c4f25815d18cccde8677a3c7382b117cf4 - pristine_git_object: df576b36566068495aa957a408dd4028e3415e51 - docs/Models/Components/AddressJsonInput.md: - id: bfd910c54345 - last_write_checksum: sha1:4b350f0ba70a7b754dff9622f47052cefa6180c0 - pristine_git_object: 9d84c2ff81a7a4f6d002573cc9d5a4b24eaf6f64 + last_write_checksum: sha1:517e2bd52ee82e510cfbc2f00cc75d0e53aaec14 docs/Models/Components/AddressType.md: last_write_checksum: sha1:3855df1b1295608c3d92d3cc2520930f693dea83 docs/Models/Components/AddressTypeJson.md: id: 9facc80f19bd - last_write_checksum: sha1:0f65837a936db33710d59f9d8074b023239d9edf + last_write_checksum: sha1:fd5ac1417168e0fa72446bc139769ad746c1fbe2 pristine_git_object: 11b13f12b11a34453cafce4dacfced9ca9e97e02 - docs/Models/Components/AddressTypeJson1.md: - id: e21fd4376418 - last_write_checksum: sha1:cb635132079d68a132e118df5f0fea69a073e01a - pristine_git_object: 35067fb9e71722016bd84b1b81a5ffebb940caf7 docs/Models/Components/AdmissionItemsPaginatedResponse.md: id: b6836e821cf2 last_write_checksum: sha1:e9be1b6182ca69e8b377959ccd4734d8e619a94e @@ -294,10 +284,10 @@ trackedFiles: pristine_git_object: bd5068a48bd89dc03b1a5ce11f3e88833faceeea docs/Models/Components/AgendaItem1.md: last_write_checksum: sha1:2957bcbca844e2e2c9d2707bb9d466407b84361c - docs/Models/Components/AgendaItemSetupJson.md: - last_write_checksum: sha1:36201783e7e5edd082958208a82948c0dfdb64e4 - docs/Models/Components/AgendaItemTypeJson.md: - last_write_checksum: sha1:1d4230426afddf75c5c2a2fafaff14c51d03d5b7 + docs/Models/Components/AgendaItemSetup.md: + last_write_checksum: sha1:f41f6a5191a5d701789699ecfe495ee43c2cba8e + docs/Models/Components/AgendaItemType.md: + last_write_checksum: sha1:92b72aff2b5c8a618728c0998994df3203451eac docs/Models/Components/AggregatedCostJson.md: id: 9060122791fa last_write_checksum: sha1:bcd8af58231172fa1132819e372e24863dc4f9d4 @@ -346,10 +336,8 @@ trackedFiles: last_write_checksum: sha1:1557c1aae121eac67571a7cb1a8c6a05972f19b0 docs/Models/Components/AlternateTravelPaginatedResponsePaging.md: last_write_checksum: sha1:62f1d51c2360105211f8112a9177b71b4d8408dc - docs/Models/Components/AmenityTypeJson.md: - id: 47dc03604d95 - last_write_checksum: sha1:6dec187265ffb22eeb1743996293c3d0eb8c6536 - pristine_git_object: 60989d45775861a84c090958eff65242a0cdf6c6 + docs/Models/Components/AmenityType.md: + last_write_checksum: sha1:bcb23c53ccb1bb6bb8bc83777dd51495f081da57 docs/Models/Components/AmountType.md: id: cb588b3355b7 last_write_checksum: sha1:5931ce290fbb32c0bb94603e92415d9521a82ee3 @@ -501,19 +489,15 @@ trackedFiles: last_write_checksum: sha1:525cc1e3def430f43569b8dd7b457ee78004c23d pristine_git_object: 754dfb685ff274f6c96251a746cb0fd05d1684b3 docs/Models/Components/AppointmentWithQuestions.md: - last_write_checksum: sha1:410422d236ac7fc633d9baa130c10e2b58f286b3 + last_write_checksum: sha1:f63a3bfa72c2e7d7fbe14b740c2432e0710675ef docs/Models/Components/AppointmentWithQuestionsLocation.md: last_write_checksum: sha1:30a1375ee8f37ecaf27f7d428dbe4235e2c5662b docs/Models/Components/AppointmentWithQuestionsType.md: last_write_checksum: sha1:d1b45d4040d2c77ec95e46255f984d984414b0b5 - docs/Models/Components/AssetLocationJson.md: - id: f9b40dec820a - last_write_checksum: sha1:2935cf604a46b3b1a9337533da891051d6984793 - pristine_git_object: ec5e07bf62ea46ccd387f046c619c5003dea44d5 - docs/Models/Components/AssetLocationJsonInput.md: - id: 22dcefd1b753 - last_write_checksum: sha1:3af856cc533b5c0b58adcf6ed13129b997079086 - pristine_git_object: ee14621e98ed6b9913bfc917ca49b5dba62c2efc + docs/Models/Components/AssetLocation.md: + last_write_checksum: sha1:b49f96621685e46b6e8dffe882086e71c3db4ad1 + docs/Models/Components/AssetLocationInput.md: + last_write_checksum: sha1:62d63848a016adbe4c57a70e5b35468d99461ed0 docs/Models/Components/AssociatedRegistrationPathJson.md: id: 2b3233064c09 last_write_checksum: sha1:2248c306e4948ec9e8d91c7eb34372788330ac78 @@ -522,16 +506,22 @@ trackedFiles: id: a09f8f66fe1b last_write_checksum: sha1:9dcc53f67e5678478688c32d1f434e6deb5089f5 pristine_git_object: bff28259740dae8ca324cdfba8a63de4617d1898 - docs/Models/Components/AttachmentSourceJson.md: - last_write_checksum: sha1:b0cb66e2488972df8ab6d1589bf1a6afbed654bc - docs/Models/Components/Attendee1.md: - last_write_checksum: sha1:6a5f761b33602c73ffdacde124747a542d2194ec + docs/Models/Components/AttachmentSource.md: + last_write_checksum: sha1:c9119f8a261adbb58521baa848c6c5f1163e9778 + docs/Models/Components/Attendee.md: + last_write_checksum: sha1:54b8d0cae669a79e41094f5eac3fd3d0450b4171 docs/Models/Components/Attendee11.md: - last_write_checksum: sha1:bf6a4fea06f583dd908b0daa2035019c3e17276d + last_write_checksum: sha1:1bd92491a6adc493f6aadf56021ee2a0c09071b2 docs/Models/Components/Attendee12.md: - last_write_checksum: sha1:edc47b71c683e399e46f281af7f7b81192ae8981 + last_write_checksum: sha1:1a4bd9992b0e9d11fa1e2325130d8e5a0b04efd8 + docs/Models/Components/Attendee13.md: + last_write_checksum: sha1:91a64435f1cdfc29a268f5672060fe306deeefd4 + docs/Models/Components/Attendee1Event.md: + last_write_checksum: sha1:9ff7bafe8cf8b3b6cf94763fa37483cc46c2ef55 + docs/Models/Components/Attendee1Lookup.md: + last_write_checksum: sha1:955648ea9f49debc00d5ec51c9c98f33e3a978d5 docs/Models/Components/Attendee2.md: - last_write_checksum: sha1:9315c04e7c18515225b9aba3850266af4f7cbd6e + last_write_checksum: sha1:edebafffa05026f9ddf6239bb51fd3a76f86f2d4 docs/Models/Components/Attendee3.md: last_write_checksum: sha1:510d6de3aa654b5408b0bf3e5c48b871ffd86d22 docs/Models/Components/AttendeeActivitiesPaginatedResponse.md: @@ -554,12 +544,12 @@ trackedFiles: pristine_git_object: 40ce79e175c8f75ecd663a15370ae906e4139aec docs/Models/Components/AttendeeAddBulkItemEventJsonErrorResponse.md: id: fdb289abf376 - last_write_checksum: sha1:9c26aedc3f25d835dc856e8ac98d0b83bbd41c78 + last_write_checksum: sha1:d3bd0efbed781e1e53a496cea37358cd5de92d50 pristine_git_object: 7a15971e2d3ab1dd4119ab76904fb26455f6d126 docs/Models/Components/AttendeeAddBulkItemJson.md: last_write_checksum: sha1:7035902cdbe4d2fbf3860f0292c0bc6233005417 docs/Models/Components/AttendeeAddBulkItemJsonData.md: - last_write_checksum: sha1:5b4ecc2e057af48f97d95b07ebf0079af3648704 + last_write_checksum: sha1:56fa32c9cde3a5a48361eb76dab7c2e21ea795cd docs/Models/Components/AttendeeAddContact.md: last_write_checksum: sha1:45fa7e65110d441d4b5e23d18766490d60c81295 docs/Models/Components/AttendeeAddEvent.md: @@ -599,19 +589,13 @@ trackedFiles: docs/Models/Components/AttendeeAudienceSegmentAssociationsPaginatedResponse.md: last_write_checksum: sha1:e2576d547b78618e13999af2f0dc242849dab257 docs/Models/Components/AttendeeContactInfo.md: - last_write_checksum: sha1:f9c901a480cc84b39de1ee3b77f7e6b7317cd0c2 + last_write_checksum: sha1:6387640b0b2ef9bc60c9c42966d9839dd06e3c8f docs/Models/Components/AttendeeContactMembership.md: last_write_checksum: sha1:29c241e575eaff535eb3362c8ec596879328f952 docs/Models/Components/AttendeeContactType.md: last_write_checksum: sha1:2e62d165588284e38747b7b2a3b64ca31ca27b6c - docs/Models/Components/AttendeeContactTypeJson.md: - id: a3c1709404dc - last_write_checksum: sha1:2d5b28e60ffa909d663466d869698a2149d9a681 - pristine_git_object: 8a00a699aea9a984b0400538c8787bae30671ca9 - docs/Models/Components/AttendeeContactTypeJsonInput.md: - id: a19e7c8c07f9 - last_write_checksum: sha1:74772a95df3084091329281fb01d2c1f6772d32e - pristine_git_object: 334c56c446fbcb3f3d5f4d086cd6a467482d1865 + docs/Models/Components/AttendeeContactTypeInput.md: + last_write_checksum: sha1:5806746add81d155fddd78d5c4e397fd754ca189 docs/Models/Components/AttendeeCreditJson.md: id: 514f0fc3ad86 last_write_checksum: sha1:cf4c9ebaeb2d15e8232c2dda592de54c85019851 @@ -636,15 +620,11 @@ trackedFiles: id: 23b520ff436c last_write_checksum: sha1:82b7fa615f1376b1e9568b4b7dd8471077f43c61 pristine_git_object: d70ba5c0d0d050d816bd6a15cbda28370c726abe - docs/Models/Components/AttendeeEvent.md: - id: d14564888b8f - last_write_checksum: sha1:12557527770db2e3eba4ed0200a281ea1e04eee5 - pristine_git_object: a45aa9d874745bb749d16a0c6db579ff56450400 docs/Models/Components/AttendeeGroup.md: last_write_checksum: sha1:be15b078e109415c3e266e4965acf9771f871abc docs/Models/Components/AttendeeInsights.md: id: bbcc97a1384e - last_write_checksum: sha1:91fbc0626da8e25b1b179d184ae9ae5ad53128b3 + last_write_checksum: sha1:b41d5fc2b922c7790f47d1079bfb9074add7f028 pristine_git_object: 1e1c53633ddf544aae2aa6ea3f2ba087af797b6c docs/Models/Components/AttendeeInsightsPaginatedResponse.md: id: 11d5d7cd839a @@ -682,19 +662,15 @@ trackedFiles: pristine_git_object: d33259a523c8392cacff2d83a48dd7e11be697a8 docs/Models/Components/AttendeeLinkBulkResponseItemJsonData.md: id: e26d65eb8045 - last_write_checksum: sha1:60292fccbb0839c6d4778c5ab4b15c7fe4fc7653 + last_write_checksum: sha1:c2102bea958122f575151984335f9d15ed634832 pristine_git_object: 5fa534ec59e49237b1034c4b7b2efa81588a98ef docs/Models/Components/AttendeeLinkPaginatedResponse.md: id: 1d28fc183a25 last_write_checksum: sha1:9b816d8c8a5201115ff673811402378a3dd06f4e pristine_git_object: bf16ea5840c7b9fc46a27a34cf4ae8fa508547bc - docs/Models/Components/AttendeeLookup.md: - id: ebc13c626da1 - last_write_checksum: sha1:d451e57598026ea9a9e9a5ebead8959061edfef2 - pristine_git_object: 0fe91ba68a0096dd90d124922d7a96baa0474335 docs/Models/Components/AttendeePaginatedResponse.md: id: 811b815a5ad4 - last_write_checksum: sha1:e183861067c441f4524e69ae2598981ecb5fe353 + last_write_checksum: sha1:9a8e3c3e6adf8b15a315692dc6f63aaf362df39a pristine_git_object: 6fb36c5abc10d2c8120541a340d07397142f8af6 docs/Models/Components/AttendeeResponseJson.md: id: e3715cbec63e @@ -780,8 +756,10 @@ trackedFiles: last_write_checksum: sha1:b922dc1acbb384e018b0645a91f9a0fa970ca1a1 docs/Models/Components/Attendees.md: id: 7f1c8fd8e129 - last_write_checksum: sha1:f57ef986a89c67b59d3c92444190f29c688d2b6f + last_write_checksum: sha1:66152e838738f06c84bea33c12f8e256867e46a5 pristine_git_object: 73a54b4b2d2365abd83b9de737015fe1b32e4e06 + docs/Models/Components/AttendeesPaginatedResponse.md: + last_write_checksum: sha1:aeb117830167fafe4a1d1e3b7d96abcc6ee5e845 docs/Models/Components/AttributeDataTypeJson.md: id: 7b54fff29ca6 last_write_checksum: sha1:caf0075f693eab445cf0284c3b3e2c5479c651fa @@ -808,11 +786,11 @@ trackedFiles: pristine_git_object: 82584043fe13a7e539a7128d57fa67387dddc366 docs/Models/Components/AudienceSegment.md: id: 22bbeb27687e - last_write_checksum: sha1:2b0e2d6a911feefdb9443a8781b694d2addee0a4 + last_write_checksum: sha1:12058c05add4f314f985559eedb389bde227dce1 pristine_git_object: 02fd4a64371215d6d3673bc490b08c9996430d3b docs/Models/Components/AudienceSegmentCreate.md: id: cfb44e8d1f90 - last_write_checksum: sha1:041547ac7fc0c9bd88dd770df2dc348001589c13 + last_write_checksum: sha1:30a84af8557efdf9a47e6b2e8549db9ecaa04585 pristine_git_object: ac41e6db924a0120579909a8aa47add3d38d8003 docs/Models/Components/AudienceSegmentCreationTypeJson.md: id: cfaaad00b208 @@ -820,24 +798,18 @@ trackedFiles: pristine_git_object: 1aaac235e9e44907fac201f985aac0328c80af91 docs/Models/Components/AudienceSegmentResponse.md: id: c9bd889ff9d6 - last_write_checksum: sha1:7a3889630aa12f1b95c4eeec3c59ac5bb786f8ce + last_write_checksum: sha1:2e6530153a8c4391bd8a9ea4dbefc66f1ec9e536 pristine_git_object: b06419136081fddb0dffe2501bb278a308f74c4e docs/Models/Components/AudienceSegmentsPaginatedResponse.md: id: 7b8297ecf1db last_write_checksum: sha1:bdbe1ab1515fe668570607d0b8937804519e76d1 pristine_git_object: bdd2acde5c3a18c1d3f7cfc2288854077fdfb11c - docs/Models/Components/AudioTrackStatusJson.md: - id: e1fea296e150 - last_write_checksum: sha1:f0f405297f246a02564cb6ff6c49ab0d3cf602f9 - pristine_git_object: 9bc14b91fa9ddfec0250df1fad74fd05d6532ce5 - docs/Models/Components/AudioTrackTypeJson.md: - id: 6addb70f88a3 - last_write_checksum: sha1:be6d221e22814fb1a1413218f4608f8ad5a46cc0 - pristine_git_object: 5ea3af0588c578e86a2facd5cef1dc6ee97f3c34 - docs/Models/Components/AudioTrackVariantJson.md: - id: a212badc80c5 - last_write_checksum: sha1:4171b282620656ad9742c2d5c5c0015b720d849a - pristine_git_object: 3291e97ea1e25344b9b551b96c5fb48df23367ee + docs/Models/Components/AudioTrackStatus.md: + last_write_checksum: sha1:008eee0d8950c46b6531086bd1c549aa8b2092d8 + docs/Models/Components/AudioTrackType.md: + last_write_checksum: sha1:4e2f4e7c2d581530d5182a4f2c88ff19d1568ef7 + docs/Models/Components/AudioTrackVariant.md: + last_write_checksum: sha1:0bbcdfcea7328b123f1a82b38ff719909e683efc docs/Models/Components/AudioTracksResponse.md: id: 27c8f51be1c7 last_write_checksum: sha1:17c8b3fa071c9df83c09ebc9dd6d1dc6c646632e @@ -872,11 +844,11 @@ trackedFiles: pristine_git_object: bcba9e34844a0037c2c15a4cc88baba9729c6232 docs/Models/Components/Badge.md: id: 789f28b0ffc6 - last_write_checksum: sha1:133e3bd9b11907984b1bdce36d6f5285d1660815 + last_write_checksum: sha1:7ef36b3a99611b8f03d8edc1c5ba52d02fe12f2d pristine_git_object: c50e92e18e32695c33883cdd06d5ccc42d833ed4 docs/Models/Components/BadgeInput.md: id: 9ac546a08741 - last_write_checksum: sha1:68f675a0042050a952259cd0dd30322f58ee5711 + last_write_checksum: sha1:d2677fb86f7a8ec40d0db93f2b440750800863d6 pristine_git_object: 5637bdb8526623e229720dc4606f6186afe7f38a docs/Models/Components/BadgePaginatedResponse.md: id: 3c09599a7d86 @@ -954,22 +926,16 @@ trackedFiles: id: d312459a43f9 last_write_checksum: sha1:d804ec34ea782770bf2d26f1a415534b01e45d5a pristine_git_object: 38573c95d84b2b4299aec8d72e28ef2be7da4087 - docs/Models/Components/BidItemStatusTypeJson.md: - id: bc4da0bc0a0b - last_write_checksum: sha1:782cefba1791c2616cde3a483dcbf0d4748ffc2b - pristine_git_object: 0f2a6fedf5fd81f3a80da274ed5bc59843186fdb - docs/Models/Components/BidStatusTypeJson.md: - id: a1bb57ea74eb - last_write_checksum: sha1:b3a14571c59ea5d80d08382b4c55c6ba47b241de - pristine_git_object: 815cbe1849845d4cd34696bbe16b825c95ade6e7 - docs/Models/Components/BidStayTypeJson.md: - id: c562fc0adafd - last_write_checksum: sha1:9eae13a279a4d6558546147e6dc3895f03e4d3a1 - pristine_git_object: ad28e976300817c5834d1200a0fdfc753c0d648d + docs/Models/Components/BidItemStatusType.md: + last_write_checksum: sha1:b673840e89e8c7ce5189961c918dcc4259ca60d2 + docs/Models/Components/BidStatusType.md: + last_write_checksum: sha1:6664bbfe901b8a173246b28956df56c8f5e5d2a9 + docs/Models/Components/BidStayType.md: + last_write_checksum: sha1:7d24c8854de985a7bdf59f7639501a467906829e docs/Models/Components/BillingAddress.md: last_write_checksum: sha1:3afcb514a78d7e485ffd376d1b345fbb92143c12 - docs/Models/Components/BillingDetailsJson0.md: - last_write_checksum: sha1:694870fb902b5fcd835b1dba03411e4c5cdbfbf3 + docs/Models/Components/BillingDetails1.md: + last_write_checksum: sha1:ee3b0ecb555b3cbbfc8d694ba159e1892328d35f docs/Models/Components/BookingContact.md: id: b64e52d44170 last_write_checksum: sha1:b0f0b3e16adbd9d50fa2fce801e8327db61ddc3e @@ -986,30 +952,30 @@ trackedFiles: pristine_git_object: 29cef323e9f39ed86fa3fcf5c62e73541a401285 docs/Models/Components/BoothStaffRequest.md: id: 8e3b4565e2a9 - last_write_checksum: sha1:dee368fd076ef471206db52e36cc5d682f30d0e0 + last_write_checksum: sha1:f4bce4c8f22a24743c6f49b21cfa5cb8c05936e8 pristine_git_object: b80b8ea5d4d3e327f14a595a70a5b0a7499bd359 docs/Models/Components/BoothStaffResponse.md: id: 336612e7cbcb - last_write_checksum: sha1:496db2f32c880ed6dd4a60e11ce21839e37194f4 + last_write_checksum: sha1:01441c38296a17fd75c08f6c7def0faa38d572c0 pristine_git_object: e676cb3cfa7de1b726ee256c2d057464d6028767 docs/Models/Components/BounceDetailsJson.md: id: 6758c8a10fd8 - last_write_checksum: sha1:73696245cfe806ca70d0ace5da7d748586ab9952 + last_write_checksum: sha1:1e1dbfd61cf7a1a0201e05b9723b3f0325f04c34 pristine_git_object: 36f17fd068a8d2328755b890d049cfb7b8d24344 docs/Models/Components/BounceDetailsResponse.md: id: 3abb36be9afe - last_write_checksum: sha1:fbceb9a0976d47efe65b7df2839f00e0b95b26fa + last_write_checksum: sha1:84dd88df430e8985a1fe7205554111e3b5321837 pristine_git_object: c124bb1bf6d0fcb54b1a158137b148173e993392 docs/Models/Components/Brand.md: id: 242f0ed4060b - last_write_checksum: sha1:13b1c7b5ec3a17622518d8eea7a3b45bd06bd680 + last_write_checksum: sha1:c01d903cb6dba34bc62aa26c829f4ff9078c0f07 pristine_git_object: 47fb66f5aeb4e06531341e65365322b378743c61 docs/Models/Components/BrandPaginatedResponse.md: id: 198ace0b2bf5 last_write_checksum: sha1:b937efdea66c642481d7fefc6943645ce66ad85b pristine_git_object: 5f5325d29b7c5ae4a86dc86e2a9d508b6eaee318 - docs/Models/Components/BrideGroomTypeJson0.md: - last_write_checksum: sha1:a4d538887342a0a570aa87ac292e33553c47bcf5 + docs/Models/Components/BrideGroomType.md: + last_write_checksum: sha1:ed347294854a47af6284cd0330061d6210d7f56a docs/Models/Components/BudgetAllocatebyJson.md: id: 0bb7ac4aea28 last_write_checksum: sha1:095c8d50bb6173e0fb25fcc5171e44cf2cf57abe @@ -1230,10 +1196,8 @@ trackedFiles: id: 66b9fe3205ca last_write_checksum: sha1:880f876c1f7a78b69df2c61df907d7a12ddf85d6 pristine_git_object: 5163c6806f30276eb6a04f3511c8fa215aebfbc6 - docs/Models/Components/BusinessTypeJson.md: - id: fad6eeed2fd1 - last_write_checksum: sha1:c4973ba592053e0fd71f9c665087c1b0d0ec9dd5 - pristine_git_object: d917d062480f3750e62687a58bdb1f32f614c4a1 + docs/Models/Components/BusinessType.md: + last_write_checksum: sha1:ba74c8675937e033d9c7f805ec76638d41895c12 docs/Models/Components/CalculateBy.md: last_write_checksum: sha1:67d05f4844086fcba309fbf162aaf94551096f84 docs/Models/Components/Calendar.md: @@ -1252,14 +1216,14 @@ trackedFiles: id: c39ded8e5cb7 last_write_checksum: sha1:a2552faf2383e8ba4b5970c0c0dd8ceec16b743a pristine_git_object: 30b37427356790d02f7a76c7feb5dee77cb27fb1 - docs/Models/Components/CancellationDetailsJson.md: - last_write_checksum: sha1:c0843723ef5b5e349cbb50b19da14dd08d060255 + docs/Models/Components/CancellationDetails.md: + last_write_checksum: sha1:14eba89f5c45b73141ac91ac2038cf84393a68c4 docs/Models/Components/CancelledReason.md: id: 6a2785f7e076 last_write_checksum: sha1:4be134bbd955778fb95eb3729f24eba826f8f497 pristine_git_object: 48ed1cb480a2ba28110d10ab71f0e1fc0df1d12f - docs/Models/Components/CancelledReasonJson0.md: - last_write_checksum: sha1:ae1e29766ae6772681beb0011402f7282b69b999 + docs/Models/Components/CancelledReason1.md: + last_write_checksum: sha1:6f2d36c63d23d23e5d6f452a59af0ae35f2384f3 docs/Models/Components/Capacity.md: last_write_checksum: sha1:06c2fe6b6d1b80f3929c0decfab0669906aa80a7 docs/Models/Components/CapacityJson.md: @@ -1322,29 +1286,23 @@ trackedFiles: pristine_git_object: dabee47f89c025fee4addabff0a5a945ffe7cf38 docs/Models/Components/CardTypeJson.md: last_write_checksum: sha1:b6e83e2d2067c17ea15c6c486a736c2054d58438 + docs/Models/Components/Category.md: + last_write_checksum: sha1:af310712bf2484ff58b1e1518e3e378167e13d25 docs/Models/Components/CategoryId.md: last_write_checksum: sha1:ac965ce1ae15eaa73b68a83883010426e37ff303 - docs/Models/Components/CategoryIdNameJson.md: - id: a920fe28ffed - last_write_checksum: sha1:a71d5c449d2c0c798972fd8d92e233368cbf1c93 - pristine_git_object: 93d9818ddae5a8e102ba3bc2c3bff875fa728eaf docs/Models/Components/CategoryItemsCostJson.md: id: fe8c647ddf31 - last_write_checksum: sha1:540d64c2a6e5160132c6ba47b1953564185eba7a + last_write_checksum: sha1:dcdb92166a50d16e1bdd84609c3590102de18b1f pristine_git_object: 42994b72b64ce40035340dbdde43ba45e7054af8 docs/Models/Components/CategoryJson.md: - last_write_checksum: sha1:d68e912174614f5d3762fc1aa3bc6195e46dedc8 + last_write_checksum: sha1:bf9ffdbff394b1114e43d71d8cd8ea4278202bab docs/Models/Components/CategoryJson1.md: id: ec287c7a8d67 - last_write_checksum: sha1:61bd7f3449dce9dcbb0166ffaa4563ea67fc76bb + last_write_checksum: sha1:e25cadf3684000a44faef5f23584441c472a5a99 pristine_git_object: bee5b0b8a4df4d0aef74ddf4e0a069e895949292 - docs/Models/Components/CategoryJson2.md: - id: 8fe18d2a9867 - last_write_checksum: sha1:0f5c9d8c15953f17b0de5dba16684ee8b8331c93 - pristine_git_object: d208b08a3a78b27cfbb46d621043dd4553345557 docs/Models/Components/Chain.md: id: 43249e399385 - last_write_checksum: sha1:4b1f12bb21bf9a06b42b30fc0bc94aa55c372703 + last_write_checksum: sha1:a9fec0cdb14c6fcb1334298f4547259fb0d26eb8 pristine_git_object: 55b8aae55db0e3309cf858e0ade73f396c7c70a1 docs/Models/Components/ChainBrand.md: id: ef796e573861 @@ -1392,22 +1350,20 @@ trackedFiles: pristine_git_object: 64f4057b6b551c9decab585276bd2f84527493d4 docs/Models/Components/Choice.md: id: c39c226c098e - last_write_checksum: sha1:33f6593eab522cb4004e507741b23992f1e2e20d + last_write_checksum: sha1:3d54391e6c34eb74d4d8c6ce268e87666ef8a77c pristine_git_object: 79377a632e3332e4dea6951aecd192eddbfd8ca2 - docs/Models/Components/ChoiceJson.md: - last_write_checksum: sha1:6f6dfbb5041812f6257498fcfab4a3188aca4afd + docs/Models/Components/Choice1.md: + last_write_checksum: sha1:35a494d1edb71f86099120cf35c4009f7a2431e2 + docs/Models/Components/ChoiceJson1.md: + last_write_checksum: sha1:a1347099de4fe856d37f380de254e1928acb7765 docs/Models/Components/ChoiceJson2.md: id: af36e17a0803 - last_write_checksum: sha1:41ce40e66643c8ce88ec02ee4db04104aa774d80 + last_write_checksum: sha1:b0b6a3107ef71ce45eff74ca39c64386e7f56cdd pristine_git_object: caaa3feacc6793d3ccebb7667ada43db544b896b - docs/Models/Components/ChoiceJson3.md: - id: 1c215a609f6a - last_write_checksum: sha1:1a6e0740f31c371cf63f5f02302d3ba673e300c1 - pristine_git_object: 4ae636afc26b4eb42c287cdc20ac60a0cf6c59c0 - docs/Models/Components/ChoiceJson3Input.md: - last_write_checksum: sha1:8cf3e77cb5b3e86170d1f235ae461fe35d3d69ca - docs/Models/Components/ChoiceSortOrderJson.md: - last_write_checksum: sha1:fd8f894e01b172c344ca6fa2877832f518280b5f + docs/Models/Components/ChoiceJson2Input.md: + last_write_checksum: sha1:269d3c4b0d94dc0d7bad282d4ecfd8e37ccb274f + docs/Models/Components/ChoiceSortOrder.md: + last_write_checksum: sha1:6e96b8256e6c463d1dbd644bae149025f257b502 docs/Models/Components/ChoiceTranslationJson.md: id: 40b89e19260f last_write_checksum: sha1:a8eac3cb9281abdc0816a41d8d3b016c841c28f1 @@ -1416,16 +1372,14 @@ trackedFiles: last_write_checksum: sha1:753f7cab9a6bbd72f4f55b2520eb3aefa88d2864 docs/Models/Components/Choices.md: id: 1d10f7fb8042 - last_write_checksum: sha1:faecf6599c4f9fe3943014adc34ccc5246ea3cba + last_write_checksum: sha1:aef51119ed484896b5fd728a98c591d5967181c3 pristine_git_object: ac01c8a5a9b9e055d2740e17eef87acd25d7373b docs/Models/Components/ChoicesDisplayTypeJson.md: id: 09b45a786d79 last_write_checksum: sha1:74414bf030dc58a1d39ca32ec0390473e3943602 pristine_git_object: 32fb6a560d77de36d377787606ef0bf957e0e30f - docs/Models/Components/CommentTypeJson.md: - id: d1b89cddf294 - last_write_checksum: sha1:f70e544284a87fbd8373e10b75dc033a491625d0 - pristine_git_object: d31d20b9d099218862403913018f41143b36a27a + docs/Models/Components/CommentType.md: + last_write_checksum: sha1:fd0df5d943c24f4cf01829035b713c8932b3ef0a docs/Models/Components/CommunicationConfiguration.md: id: 0840819c218d last_write_checksum: sha1:550330df7cada4a4b7351f14ca9adc1d8ae78655 @@ -1443,30 +1397,16 @@ trackedFiles: last_write_checksum: sha1:20d0f970c8ec2efa3aeea981db61e6d3806eedb4 pristine_git_object: a2d07afaf3b3b488a626227f9efb26eb9fb3c984 docs/Models/Components/Compliance.md: - last_write_checksum: sha1:86dfa66f3ed5d2b9ca78608082f228fa55d6f9f8 - docs/Models/Components/ComplianceAction.md: - last_write_checksum: sha1:75ade73ba1d8f2ac8ee99b149c528ce699a1b652 - docs/Models/Components/ComplianceComplianceScope.md: - last_write_checksum: sha1:0ef92bf9e9daf819fcd8f289f190f8f8629b92ab - docs/Models/Components/ComplianceCreatedBy.md: - last_write_checksum: sha1:7ce9dcf5b93c11d165a8673c7c26e89a4400e03e - docs/Models/Components/ComplianceJson.md: - id: 38d461fb15fe - last_write_checksum: sha1:6836bd3a355d6064411b8778546d734b3d91d95e - pristine_git_object: 1ffcd58be8308139c08bc66b63d165ad8b79c4b3 - docs/Models/Components/ComplianceJsonAction.md: - last_write_checksum: sha1:c472de62c683a49539a2e9bf26bb85fe058f322c - docs/Models/Components/ComplianceJsonComplianceScope.md: - last_write_checksum: sha1:659b2d68675b5e32bf58adeeb6df1b763f6b06e3 - docs/Models/Components/ComplianceJsonCreatedBy.md: - last_write_checksum: sha1:82ab403063f463fe410920eed8dc42fd9dc64cfb + last_write_checksum: sha1:ed1979655e12ba87345afb7297962059d10ec07f + docs/Models/Components/ComplianceScope.md: + last_write_checksum: sha1:745ebe0ecb4382b42159ec01fe3aac13442a0feb docs/Models/Components/CompositeValueJson.md: id: 84fe87e7ac46 last_write_checksum: sha1:5ee3dc318c8201cbfaff56c18c9b3fb45a4dc1a9 pristine_git_object: fd73c9a0f25f37442d584f4b02e1e23f850f71d9 docs/Models/Components/ConflictResolution.md: id: af1783aa736c - last_write_checksum: sha1:8f8d266dfa049a1d3024e32e97d5096c515b5062 + last_write_checksum: sha1:e1dde65221945001b23f1b27911fb99da489c43a pristine_git_object: 95482d2f7470c6659807f3defd376c87ddca6893 docs/Models/Components/ConnectionResponse.md: id: d6f3e5c9e526 @@ -1478,28 +1418,24 @@ trackedFiles: pristine_git_object: 15267190dac17ad6ea5d71f5888e513a103923ef docs/Models/Components/Contact.md: id: 66592acc35f7 - last_write_checksum: sha1:1bcdd9517057aa135a23a74828f9bdded0c6515e + last_write_checksum: sha1:fdec52fbe4d0f957a3aa83b7d9f0e56bdf5543c4 pristine_git_object: 869179958f846b7b82f19d0b796d7f23da848af5 - docs/Models/Components/ContactBulkItemJson.md: - id: 0e4f89d62332 - last_write_checksum: sha1:474f1260537f98d64c6f3ae6abe3be2de3c7ccbb - pristine_git_object: 9f3729c4c9924db513dd4eb356213394f24e1dca - docs/Models/Components/ContactBulkItemJsonData.md: - id: 91a664d59a71 - last_write_checksum: sha1:87987edf0f40cf94503e59b6f024fa7ce7aba98f - pristine_git_object: b174f8b6d0a980ef5b2ed31603021cec65e18ce3 + docs/Models/Components/Contact1.md: + last_write_checksum: sha1:cb835394222fc4f4add196bf90bf9a2400145009 + docs/Models/Components/Contact2.md: + last_write_checksum: sha1:7c5099505e8babe9485b5100eb6178445bf86319 + docs/Models/Components/ContactBulkResponseItem.md: + last_write_checksum: sha1:748d188dbd0671629c6104f3c4d490f08df688a6 + docs/Models/Components/ContactBulkResponseItemData.md: + last_write_checksum: sha1:254d65dda9aebd5ed3534b920841027c1cc0f73a docs/Models/Components/ContactCommonJson.md: id: 5cff19f58fd4 last_write_checksum: sha1:a3a10812ac81fdb562ab31d94694b397e75a2870 pristine_git_object: 3abc5d0addb362aef18399222bb00224419e6140 - docs/Models/Components/ContactCreateRequestJson.md: - id: 171a584970c3 - last_write_checksum: sha1:8f12e2ad0143af4edb69458cd605ba2d04c34788 - pristine_git_object: c64a5fb99720bf001eec189fbb0145fc41aa4fbb - docs/Models/Components/ContactCreateRequestJsonEvent.md: - id: 450969eff597 - last_write_checksum: sha1:3cb62b7b1bc7a677b35422982e9709bbdd61f4a4 - pristine_git_object: 9b5e5d24bedb5e32b4486b61cbbc40b2effef426 + docs/Models/Components/ContactCreate.md: + last_write_checksum: sha1:42bec54c8ed518c76bffaa1d7af477905a4cf313 + docs/Models/Components/ContactCreateEvent.md: + last_write_checksum: sha1:d834a3af686bdb3a41608aba60709b0c77e90ea1 docs/Models/Components/ContactEvent.md: id: c14718cf89ea last_write_checksum: sha1:cc08c44e3fc3227f92538eaf13d5d15612ab5c63 @@ -1534,91 +1470,69 @@ trackedFiles: pristine_git_object: 6a6ef19c5b5d7f86ed1583f71a2416a5096be6b1 docs/Models/Components/ContactGroup.md: id: c1ab9545e32a - last_write_checksum: sha1:cb185a25734d374b698c1916197ebc8a3ab8288b + last_write_checksum: sha1:acb268d41c4789c552c9d5548e27e9b093534d97 pristine_git_object: c66eac478360036e2103a7a330322ff3601fc041 docs/Models/Components/ContactGroupInput.md: id: fadc1864b419 - last_write_checksum: sha1:1d750bd1f01eaf74b91a139c116e24465ff77ccc + last_write_checksum: sha1:45184212839bd89b9908cdbb2365d26b67faf0f7 pristine_git_object: b0d50be7b72ae2826861ce4b77dcd2f5ddc7634a docs/Models/Components/ContactGroupPaginatedResponse.md: id: 0a72b156853d - last_write_checksum: sha1:27958d9bcee4179f2d839fae1038ab3bf5538c6a + last_write_checksum: sha1:f8705d35261f6a0df7db851fa42cb294e0cb9570 pristine_git_object: 728cf3b4cd24f6cb87220831aa119e2b6342d955 - docs/Models/Components/ContactGroupTypeJson.md: - id: 084dcdd16902 - last_write_checksum: sha1:368573022a842d7522e6a6043245613fd2a35286 - pristine_git_object: e17e1563d54c2f6ee1bf2c44249b7d6aca05bfbe - docs/Models/Components/ContactHistoryJson.md: - id: 6bd524706e3a - last_write_checksum: sha1:eba6dbe5090dee03b71b700b823e1da53ffbb6e1 - pristine_git_object: 6ad0c541cb1ed084ab792068ceed1d6e239c6cf8 + docs/Models/Components/ContactGroupType.md: + last_write_checksum: sha1:ae8be8008c91c8889bec10315c4a4d6372d8e7ac + docs/Models/Components/ContactHistory.md: + last_write_checksum: sha1:87bb6cdf608cad494859d20c15d1bbfeb5763e80 docs/Models/Components/ContactHistoryPaginatedResponse.md: id: 8708d2dd0e4b - last_write_checksum: sha1:1002d4088717b52e42d12ce98ee080fb5ba9d80f + last_write_checksum: sha1:e29d92234ccd2bcbaf042513ea4dca071b0cd3da pristine_git_object: c67e47ba2b8a174a83f42d2cb5d56fcf899fa162 - docs/Models/Components/ContactIdJson.md: - id: 8cd00dd24719 - last_write_checksum: sha1:2c725fc2e71ff448cc4d6d2c8a65e8969421583d - pristine_git_object: 98202bcadafc56e090bee5f601b3c91b1019fe27 + docs/Models/Components/ContactId.md: + last_write_checksum: sha1:591a07e1d5b9a923f763de300220f2b0abeba633 docs/Models/Components/ContactIdPaginatedResponse.md: id: 02e446828e80 - last_write_checksum: sha1:018701a3a12257db455b560261cda5ee847c32fb + last_write_checksum: sha1:445e445850b4dbafc299ace3c50a6a896ed0324d pristine_git_object: e6cf4245d21295eaf06ee301b7ad5017c1988bad docs/Models/Components/ContactInformationJson.md: last_write_checksum: sha1:e8ded3903a82d1ade373c21eff9035d23ae90484 - docs/Models/Components/ContactJson0.md: - last_write_checksum: sha1:564112620d2197b96b5fd675e869c6e72c45489f - docs/Models/Components/ContactJson1.md: - id: eb2a1b1be690 - last_write_checksum: sha1:b9ca86fd41fc12418a514f27c95ee501d79c8d1f - pristine_git_object: 51b34a785cd199c395436a276a0437d6884f7651 - docs/Models/Components/ContactJson2.md: - id: bcfd9f6a14d7 - last_write_checksum: sha1:6f261ef6406d160b97666f05ce459bf6f1e8c3c7 - pristine_git_object: 78bd82835b59725ed983b85a4981c9d8b238091e + docs/Models/Components/ContactJson.md: + last_write_checksum: sha1:b1a37cb775d03f892f94359d33b5312d459b39ae docs/Models/Components/ContactLinks.md: last_write_checksum: sha1:cabc5e2e8ff822d41fd8774c01cf50fe2bdb9eb1 docs/Models/Components/ContactLinks1.md: last_write_checksum: sha1:26ccc4f841aa1f887e111f4bd639f78b89daccd2 - docs/Models/Components/ContactLinksJson.md: - id: 7bff75635d1a - last_write_checksum: sha1:1a5c3e6b20209cd1e77f7c6affe69f714a0358e4 - pristine_git_object: 273bddad381979353cf5bcbc1a39f39a47b391a3 - docs/Models/Components/ContactLinksJsonInput.md: - id: ae9c2c28d247 - last_write_checksum: sha1:69ec8bf42975b58d35df37229b9568c1301d5659 - pristine_git_object: 7ee68a9a4ac3aff3510bfb5e988a3470883b8a86 - docs/Models/Components/ContactLinksJsonLink.md: - id: 1df80a9cef34 - last_write_checksum: sha1:a129c5dbff606c9298f8cda09240661b38fa6f2f - pristine_git_object: 755c9cffd81e95fcdda5e9e7a88db66d3e224199 + docs/Models/Components/ContactLinksInput.md: + last_write_checksum: sha1:03e5972c5646a2f93667ecf3ce92ed9a50f55749 docs/Models/Components/ContactLinksLink.md: last_write_checksum: sha1:b2405dd8d7dd817f93d3bcfae53cba4f1d9e2f58 + docs/Models/Components/ContactMembership.md: + last_write_checksum: sha1:eaa207f6649b296be5f16ace4426d01c97add83b docs/Models/Components/ContactMerge.md: id: 7f6ea340afe4 last_write_checksum: sha1:48649a71240355d02487daebfb05a12f5f47e247 pristine_git_object: 3199555ab43452c002d3c7fd4baec27e5668ba71 - docs/Models/Components/ContactMergeFieldJson.md: - id: "304350750832" - last_write_checksum: sha1:58cf7cf94ae96898a58296672decaed371a683e4 - pristine_git_object: 99ea338d35494593b9205dffb1eec890103b66e9 - docs/Models/Components/ContactMethodsJson.md: - last_write_checksum: sha1:2b5166665dac66c8690dda518af73b40e351ac19 + docs/Models/Components/ContactMergeField.md: + last_write_checksum: sha1:559325728eca2dd2d998b71e9faf2b26c1658895 + docs/Models/Components/ContactMethods.md: + last_write_checksum: sha1:36522a070b22e828f8069b58ff6da7cd2bf2547c docs/Models/Components/ContactObfuscationStatus.md: id: 385b6533237a - last_write_checksum: sha1:2c82883bb575c973781f8624555fc422a74d6fd6 + last_write_checksum: sha1:30ff3f9aba61cb9406eacb87df8e961a3c8282da pristine_git_object: 71ca2f9e6aad798be5bdb25044fad55b68304b49 - docs/Models/Components/ContactObfuscationStatusTypeJson.md: - id: ac5f6032452c - last_write_checksum: sha1:c16c46892b8321e726bafe41d57c57cf8a90d451 - pristine_git_object: 02de971fa1fe75143b0541d8c900b81f277119a6 + docs/Models/Components/ContactObfuscationStatusType.md: + last_write_checksum: sha1:a428cfc4c17b7c85303327518fe8e0aa08cc1558 + docs/Models/Components/ContactOptOut.md: + last_write_checksum: sha1:c0e1a78fc30dbc9f48a08c6e3386a30e7cc61940 + docs/Models/Components/ContactOptOutInput.md: + last_write_checksum: sha1:6b4f9df874b4114c969f988a14ac903aa0250111 docs/Models/Components/ContactPaginatedResponse.md: id: 9b0e349fd290 - last_write_checksum: sha1:c6fd16401e928d0ae4e25dadc1f5552770484a38 + last_write_checksum: sha1:a56259ba55a3063e7679cdd96578fd4e5e5fe283 pristine_git_object: 8315a26812d8ac2abfe9b35969e9b49ba3c31f0e docs/Models/Components/ContactPatch.md: id: a5e99daaee6a - last_write_checksum: sha1:e3b5f5b73802a85fd6321e6df465f4a2051463d3 + last_write_checksum: sha1:f6a892be972e194d7574362b2196f834c160d7d5 pristine_git_object: f4dd1c559ea7690a79b92c66e26658f9c1250f3e docs/Models/Components/ContactPatchLinks.md: id: df51a15a2a7e @@ -1628,21 +1542,19 @@ trackedFiles: id: 71b128da8660 last_write_checksum: sha1:c3daa4a4a2604cf9462242a908abcafd02cad583 pristine_git_object: ab9ee258038f6150748a916b8122b5463d5722ea + docs/Models/Components/ContactType.md: + last_write_checksum: sha1:9ccb4ffeefbcabd3300f2d3472b5b1f9c413a712 docs/Models/Components/ContactTypeJson.md: id: 1a059b053381 - last_write_checksum: sha1:55c2dfbc8dd6be65010d1a726cc9f638c36966f3 + last_write_checksum: sha1:bd17c774006b6e199e4d18981ae2df8dcc6bd3f1 pristine_git_object: 820af9111e970b544acf6c9e0d328a1e6796a6be - docs/Models/Components/ContactTypeJson1.md: - id: c9dbeba3f1e5 - last_write_checksum: sha1:d4ab2d08fa988effeb3d280842649ab43362554d - pristine_git_object: e6a3b4408e14260af4d5a4caae2de69d883abe8a docs/Models/Components/ContactTypePaginatedResponse.md: id: 17ba61575028 - last_write_checksum: sha1:3e56626a5ee920e233a4bd40f9f353b91eace02e + last_write_checksum: sha1:7f4267b267ee79131779c5eaf056d26190a2bdcf pristine_git_object: 5b968ebb0edcbaf194b0fc0004b4531ab1d75b82 docs/Models/Components/ContactUpdate.md: id: 604df1d2db9e - last_write_checksum: sha1:8b500a3341426d8c0c740596a5fc28446f72cdcf + last_write_checksum: sha1:5f7dab854a9b7905e25d2c689cb388f334a43132 pristine_git_object: ff160872e733403f10d1f3d161261639b507669b docs/Models/Components/CountryJson.md: id: bab1f2c22ac5 @@ -1653,9 +1565,9 @@ trackedFiles: last_write_checksum: sha1:392e8af2f2f5c9ef3f2f0dab799387bbe96a6c1b pristine_git_object: a7d634ac42739bdb8b2db8caadfae10a36017b14 docs/Models/Components/CreateTransactionResponse.md: - last_write_checksum: sha1:024d2faacd0be306fb81672f9af5524860e39c68 + last_write_checksum: sha1:a57d82628e130f199766ced8fbd751376e00ab13 docs/Models/Components/CreateTransactionResponseInput.md: - last_write_checksum: sha1:2f38f693d4dfd09974561f6e5b90bdea16f133b1 + last_write_checksum: sha1:5ebfadb461a19b5351bf59c248b463b9eb624009 docs/Models/Components/CreateUpdateDiscount.md: id: ac930a058632 last_write_checksum: sha1:7d90040762b7409f1cfd05c2931db60038f441b9 @@ -1692,6 +1604,8 @@ trackedFiles: id: cd1563ff397f last_write_checksum: sha1:f36a5081c8c7272917f6a89c330ed9b41474c67d pristine_git_object: bceb471ed6c896ff539c4b163b6a319f45f88806 + docs/Models/Components/CreatedBy.md: + last_write_checksum: sha1:4f8bdd1c9530addd9b87354a73e2fe5bcf5e3082 docs/Models/Components/CreditCardRequestJson.md: id: f09331a7d062 last_write_checksum: sha1:a28bba9562f93e35a00875fba31d05557b902812 @@ -1728,10 +1642,8 @@ trackedFiles: id: e8b703e9b6e6 last_write_checksum: sha1:b37bb3a1f735456b5558ab27e2caccc3bcaff29b pristine_git_object: 4eb65ea9ca424aa2367c5b49cb01542601a428ed - docs/Models/Components/CurrencyJson1.md: - id: c3c48dc6ca2d - last_write_checksum: sha1:876e2d1c1b6afc12815f09cb092f1c27823008cc - pristine_git_object: 7a238f0a620ac8294466b1d09aad085abff3c0b0 + docs/Models/Components/CurrencyJson2.md: + last_write_checksum: sha1:1b2afb614fce9712b962ca6c66c6f69983c6bcde docs/Models/Components/CustomAnswerFormat.md: last_write_checksum: sha1:423e835437404e341b8818215d3be76de39d6f14 docs/Models/Components/CustomDuration.md: @@ -1747,9 +1659,11 @@ trackedFiles: docs/Models/Components/CustomField2Input.md: last_write_checksum: sha1:e70c49a6ebb23a2062d93304ad8d43e918743cee docs/Models/Components/CustomField3.md: - last_write_checksum: sha1:78c41be23d5398991b5363d1f24f1aa4d209f079 + last_write_checksum: sha1:1a86220c84e2e3900f52771b417ed0db43af5fda docs/Models/Components/CustomField3Details.md: last_write_checksum: sha1:1c93c7d06f49dd868d1086cebc759ec36f22e933 + docs/Models/Components/CustomFieldAnswers.md: + last_write_checksum: sha1:460099665b8e400fee3f8fbff492391276bade5b docs/Models/Components/CustomFieldCategoryJson.md: id: 1bbe6f0b4331 last_write_checksum: sha1:c75c80f7805fe6c1bc263d8f6b800baf975e11f9 @@ -1764,26 +1678,24 @@ trackedFiles: id: fc89b1292ad5 last_write_checksum: sha1:0fdeacc68d00e183beec4d1b1b332ca05609eb09 pristine_git_object: 57b2f0968593dbea9259c0a0388e971732cb19d4 + docs/Models/Components/CustomFieldJson.md: + last_write_checksum: sha1:054bb61ebb36d49853d9a32ee1c2ba28e4ec192c docs/Models/Components/CustomFieldJson1.md: - last_write_checksum: sha1:e7be26c19a734849983e936c5fef4342ff63114f + last_write_checksum: sha1:02bd112ebab3e430ba405566a416c59bb165d5bf docs/Models/Components/CustomFieldJson1CustomFieldType.md: - last_write_checksum: sha1:e2c89b133f3ae9720b74ce097424e4540fb97082 + last_write_checksum: sha1:e6bd6ef41da0eefe0e325d7ac9d42d9dbcbd2246 docs/Models/Components/CustomFieldJson2.md: - last_write_checksum: sha1:e784956afe3eb48e43a4762c38fb320dfcaaed38 + last_write_checksum: sha1:46a81c250f03a41dcd6eccbffbfaf9ec8f71c569 docs/Models/Components/CustomFieldJson2CustomFieldType.md: - last_write_checksum: sha1:b40aaa4cd1efd8bb7f9a3dca2e86fc1d9520f4f7 - docs/Models/Components/CustomFieldJson3.md: - last_write_checksum: sha1:357a2b401ee792b929916267bdbb7702ba09a2ce - docs/Models/Components/CustomFieldJson3CustomFieldType.md: - last_write_checksum: sha1:c1c91902ded65e409cfe6d781ead598b70aaa965 + last_write_checksum: sha1:41b7510f6cb92015c3ce8e90efc25927f17540e6 + docs/Models/Components/CustomFieldJsonCustomFieldType.md: + last_write_checksum: sha1:c66807f58883288b73200099076edb186877acf5 docs/Models/Components/CustomFieldSchema.md: last_write_checksum: sha1:7c252dc6c764fad9a4102c49ffb9148ef874b35f docs/Models/Components/CustomFieldSchemaCustomFieldType.md: last_write_checksum: sha1:fa9bae37ac2ed2d833c3aefc604450661c720fb0 - docs/Models/Components/CustomFieldTypeJson1.md: - id: f129e5584775 - last_write_checksum: sha1:9128ac34988e0bbdee38f67d31f9d9063a4a3e32 - pristine_git_object: 7e0d8f1f96bee7eb1558cbaea2da57d32ac2f924 + docs/Models/Components/CustomFieldTypeJson.md: + last_write_checksum: sha1:2fe92cae470a90672797fbffe8621b05248db25e docs/Models/Components/CustomFieldsJson.md: id: 6552a89c0fa6 last_write_checksum: sha1:df7a20a76810c45142420e403489f06feb67f2c3 @@ -1792,46 +1704,32 @@ trackedFiles: id: dbb882b48b7a last_write_checksum: sha1:b4e71176e725b1050f911ac972873124b36c436f pristine_git_object: 25d6b6d6dab925d611afeb48b60d81fa934964e1 - docs/Models/Components/CustomQuestionAnswerJson0.md: - id: a633a48ff340 - last_write_checksum: sha1:33399975f5a0592fa9668271a62a6cf2b051f355 - pristine_git_object: 158f48ec8e3b9dac8791045b3ff590a3505366e3 - docs/Models/Components/CustomQuestionAnswerJson0Question.md: - id: d6e2e64b0c19 - last_write_checksum: sha1:8ef3201c440489478c5224e06466a3a21bdba2b7 - pristine_git_object: dc41dfb8810aefcdd93fc49f119452124516a3a5 - docs/Models/Components/DateAnswerFormatJson.md: - last_write_checksum: sha1:be23939ad11a819bf9207e9979b100482ff80666 - docs/Models/Components/DatePatternJson0.md: - last_write_checksum: sha1:4164c9beec6a6359237e7132fb9a6e582d1770e5 - docs/Models/Components/DateRequirementsJson0.md: - last_write_checksum: sha1:f1832cc68e87ad4481517bf7fa9a6b5d9347b2fd + docs/Models/Components/DateAnswerFormat.md: + last_write_checksum: sha1:c286a155638439663c421c8ddda0f0396644deaf + docs/Models/Components/DatePattern1.md: + last_write_checksum: sha1:4b191e587124b9c8bea424e88b16642c9c431bf1 + docs/Models/Components/DateRequirements1.md: + last_write_checksum: sha1:7a63322fcaea027234c9d8ebe7c36b0b0f0de048 docs/Models/Components/DateTimeDisplayFormatJson.md: id: 8367ee33d1f8 last_write_checksum: sha1:98104aec1bfc7e818dad60a9e8671cfa0130e986 pristine_git_object: b236f4d06a129fe531dd2bb29e0c36e349c8cc18 - docs/Models/Components/DateTypeJson1.md: - id: fe9a44c5b857 - last_write_checksum: sha1:e2d77d24f1aa949c683ff459a05f36d37a3b5213 - pristine_git_object: cf3aab95389a147cd256bda989ecec9876db8172 - docs/Models/Components/DatesJson0.md: - last_write_checksum: sha1:1ac7e4c0fe6aeb9bd841bc868d503c097ecd6484 - docs/Models/Components/DayOfWeekJson0.md: - last_write_checksum: sha1:f08bab622e5299b74e383184b13cfb646018805b + docs/Models/Components/DateTypeJson.md: + last_write_checksum: sha1:df43899ea1b4781f717b186921c971e687eb10e9 + docs/Models/Components/Dates1.md: + last_write_checksum: sha1:061378845ce16906df3d2e879597175747e454ee + docs/Models/Components/DayOfWeek.md: + last_write_checksum: sha1:13a11a97960f17bc3a38dfc6fcb4cb6bbb83c6df docs/Models/Components/DeclinedReason.md: id: 324f5e70e0e7 last_write_checksum: sha1:34d31b4cc630c605d1d9b0877cb5aef0f33a50ca pristine_git_object: e51ad3a3261e72c1460e94e20c2a7cae34985c6b docs/Models/Components/Device.md: last_write_checksum: sha1:1f8233c032340e79aa04d5f6f1c9b7af08e65055 - docs/Models/Components/DeviceJson.md: - id: 8fa25a76ad95 - last_write_checksum: sha1:3056a6b84cd2dbdc90cd59eecda77f4b5ec9c4ea - pristine_git_object: aaa4aa9a339e9f0a131d3ebda493962a552dd11f - docs/Models/Components/DeviceTypeJson.md: - id: a1c2697dac2b - last_write_checksum: sha1:25122921836b50c7c35fa9c097a6ea14388b7a82 - pristine_git_object: e7726fc0f5608fae15608784c737d513e6cdaf7b + docs/Models/Components/Device1.md: + last_write_checksum: sha1:aafc558f288aafb9af585213a949f4abc6631b4a + docs/Models/Components/DeviceType.md: + last_write_checksum: sha1:a147ba37e1218e95cfc10ff6faa85cede884c71e docs/Models/Components/DiscountAgendaItemsPaginatedResponse.md: id: 68258fa9bccd last_write_checksum: sha1:e46aa1bcd675ac511b51b607c4db4834009b6ac6 @@ -1854,32 +1752,24 @@ trackedFiles: id: e5103d0a768c last_write_checksum: sha1:90686b8936774fb8387e63d25fbb66b9a8ca74ea pristine_git_object: 141c94d562af3ec77cf3d769cceb0aebdeca83dc - docs/Models/Components/DisplayTypeJson.md: - last_write_checksum: sha1:054049b207c340661912a0312db547dc1001c1c2 - docs/Models/Components/DistanceJson1.md: - last_write_checksum: sha1:f20b741a36bc6987e024818242f7beb942987900 + docs/Models/Components/DisplayType.md: + last_write_checksum: sha1:389208df9170976cffcd33062d664b7bdb2c1cce + docs/Models/Components/DistanceJson.md: + last_write_checksum: sha1:bb8bb0185e0918541c83df54a7a80bee247c3b07 docs/Models/Components/DistanceUnit.md: id: d9e56675a811 last_write_checksum: sha1:adb5634e902825992eaf475a959f174924d65c09 pristine_git_object: 863505d9886f9c530668c2f98a0d272a685fb3e0 - docs/Models/Components/DistributionListInfoJson.md: - id: 2bf75a0d0f83 - last_write_checksum: sha1:fd508edb2f17bc611770bbfcbc9ef512762513a0 - pristine_git_object: b03dfb8db7ded4b6c4db67704dee214b6837c5f3 - docs/Models/Components/DistributionListInfoJsonInput.md: - id: 0260298c03e2 - last_write_checksum: sha1:c415dfbcc5e1ad91a0c60d0b78fd7171c149c110 - pristine_git_object: 4c4068538a05506ef5a610d1674f4b13b9e1a709 - docs/Models/Components/DistributionListSecurityTypeJson.md: - id: 0ba1e1d2dd91 - last_write_checksum: sha1:37c97439d1d664653d5c71443d6abda745bd04ac - pristine_git_object: 7e512e4b397e7b70dbc9a5f5ece1f5f3f81f0a7b - docs/Models/Components/DistributionListStatusJson.md: - id: b7a1f0183df5 - last_write_checksum: sha1:c9cea916763f65caaf8f8175a16cac2a8db00219 - pristine_git_object: 89014140a7e5cb78d05bd243eedbc05204996535 - docs/Models/Components/DocumentTypeJson0.md: - last_write_checksum: sha1:2997adc8bdf435acfbbc5437609a7680065780de + docs/Models/Components/DistributionListInfo.md: + last_write_checksum: sha1:b98190a15311c205d5f6b1e9584ca6cbd77511e7 + docs/Models/Components/DistributionListInfoInput.md: + last_write_checksum: sha1:29caaf4b613393e1717ee1e0e9859eb6de4bafd2 + docs/Models/Components/DistributionListSecurityType.md: + last_write_checksum: sha1:732c8bd1214cfd70f024f01dceb318962afe92c8 + docs/Models/Components/DistributionListStatus.md: + last_write_checksum: sha1:c35c195befbfc9cdef1a48e39139c3d035ac209d + docs/Models/Components/DocumentType1.md: + last_write_checksum: sha1:2bf063f7d7853772ebe0f0183d5d6ca67327bbbd docs/Models/Components/DonationItem1.md: last_write_checksum: sha1:2cd966bc67e55a8bda8058e21eb01f13a149a612 docs/Models/Components/DonationItemsPaginatedResponse.md: @@ -1916,7 +1806,7 @@ trackedFiles: pristine_git_object: 3386d1e73ae00100f808708a7e0e6b6988132a33 docs/Models/Components/EmailHistoryJson.md: id: 0377e62890d3 - last_write_checksum: sha1:52884a16fbd78d3ab55496e6d55c457bcf83d481 + last_write_checksum: sha1:e1ec8c1b8ca7de6fa78005c1fa8de951a499b586 pristine_git_object: 5923a472a13a97fc83f515439c2c059d9c86db07 docs/Models/Components/EmailHistoryJsonAttendee.md: id: c2c0ddf31d8f @@ -1936,7 +1826,7 @@ trackedFiles: pristine_git_object: 5b22425b7d98ee6f8aa7f10414776bdebcdb8100 docs/Models/Components/EmailJson1.md: id: b50510d82a8c - last_write_checksum: sha1:b4c88a435784770e5f3eef2a148101d296595127 + last_write_checksum: sha1:3ddf38d19776ac6cfcdc95475d986e764f43968c pristine_git_object: 195d7f0e80911932b619a18830508ad3313decb5 docs/Models/Components/EmailJson2.md: id: 9cb383e554d3 @@ -1974,28 +1864,24 @@ trackedFiles: id: d51290e75e6a last_write_checksum: sha1:2dc8494e93fdcc402b78412aa53860f37175cb58 pristine_git_object: 1eec741122f37577b1f8dc17e8362446d4873e9e + docs/Models/Components/EmailTypeJson.md: + last_write_checksum: sha1:b6f3ce76a5264401594072bcbc16481001389d3b docs/Models/Components/EmailTypeJson1.md: id: df1a122d8778 - last_write_checksum: sha1:c55e49468bde61e3bd4def414756e58f46bd5321 + last_write_checksum: sha1:2e7d7df63be8dc1da370cb5b7a5e7a54b8e24b01 pristine_git_object: bb5678414f3ba5d35686872a313ca5d1b5d8ebe4 - docs/Models/Components/EmailTypeJson3.md: - id: 8e101cbe5804 - last_write_checksum: sha1:77b1641a5e8ed55243443384f8584e8956a1bc73 - pristine_git_object: 746c9b3cf53e66b1dd852ad9cb384f948af965ba docs/Models/Components/EmailUndelivered.md: id: f262524bb67d last_write_checksum: sha1:baca9b6800b8da307ddbcea0773b25a0501056a6 pristine_git_object: 230536eb0a4fab7644525b98873b39896ee86193 - docs/Models/Components/EncodingProfileJson.md: - id: 3d16729be957 - last_write_checksum: sha1:885852ab3af40cbd1afd51ae8c2fc9cc6bdef94d - pristine_git_object: 4df6f03cad4a7d968be7bd9810e5334378347cb4 + docs/Models/Components/EncodingProfile.md: + last_write_checksum: sha1:662aa4b698d4ea76daef2b0b28d56c15ba857260 docs/Models/Components/EntityType1.md: last_write_checksum: sha1:b9fb51b3fe6b046cded48fb92bc37e56a6ca24fb docs/Models/Components/ErrorResponse1.md: - last_write_checksum: sha1:83d8917a678de89a5ef5dc86488b76e8cd3d6375 + last_write_checksum: sha1:893316ee04b254020ebddab3d743efa467e1f969 docs/Models/Components/ErrorResponse2.md: - last_write_checksum: sha1:371073feed895ef26e26fbb96869764df7ff8778 + last_write_checksum: sha1:bba5c5c843cccf6faea9aa5e405680c5a517e698 docs/Models/Components/ErrorResponseBase.md: last_write_checksum: sha1:6baf48856c4a32449eeaada7052734c28635866c docs/Models/Components/ErrorScimTypeJson.md: @@ -2015,11 +1901,13 @@ trackedFiles: last_write_checksum: sha1:028b3fad1731054c1c0121eff026592f9365a230 pristine_git_object: 7cf45ae02a691d3135ab911d9d4a4aacfbaa594b docs/Models/Components/Event1.md: - last_write_checksum: sha1:26d4e1a7a111604c76b6d8973f2ad9810f2311e3 + last_write_checksum: sha1:1acb74e0ba218208b694aa4611acaed871ecdfcb + docs/Models/Components/Event12.md: + last_write_checksum: sha1:a3d902fc0fc911a90b6996ab5160766def3c7e41 docs/Models/Components/Event2.md: last_write_checksum: sha1:5d769fb695c55c8356dd84e018ea4c0ef642ee68 - docs/Models/Components/Event21.md: - last_write_checksum: sha1:bc3b1b556015a4bdd1691f69c2b905a99dcd0298 + docs/Models/Components/Event3.md: + last_write_checksum: sha1:a63c4fa6d2556b16fa2e1361016cf194da0545ac docs/Models/Components/EventActivityDetailsJson.md: id: 6d1cce021ecb last_write_checksum: sha1:6e741062c39cd74b6db884e0e473b2f51d15df3b @@ -2036,10 +1924,6 @@ trackedFiles: id: db750561f142 last_write_checksum: sha1:5158fabe8eafa0ce01c438761064e74a365ecdf5 pristine_git_object: 2206ffbf7c6c0c34b177217be325c4808511ad79 - docs/Models/Components/EventAllOf.md: - id: ec2e5ec281ad - last_write_checksum: sha1:f3fe808c6aaf9a0537443c4581b282a76123da4d - pristine_git_object: 04be9ccb7eab739ca9730b65d3ff1bfac438c570 docs/Models/Components/EventAsyncResponse.md: id: 1698ca4ed209 last_write_checksum: sha1:322039b6e59ca12d04cb8a4c1fd0cef920c19372 @@ -2096,10 +1980,8 @@ trackedFiles: id: 978361e03ffc last_write_checksum: sha1:05663ac0a4f211590cc1bfad141c73e336c5a9b8 pristine_git_object: 99f12f1ed21a762474acde6545763e5120be9aef - docs/Models/Components/EventContactIdJson.md: - id: 22dce01d6a50 - last_write_checksum: sha1:5fc3fb4ec2aaa5c694a2b3a625e67fb96189f55c - pristine_git_object: b891cba47c690335199b41f667c365e835ed9c83 + docs/Models/Components/EventContactId.md: + last_write_checksum: sha1:642ef022ca7316bc40d48bb5f118f3ac2648ca41 docs/Models/Components/EventCopy.md: id: 906a07f75d87 last_write_checksum: sha1:0c5a1fb415f2813c5765dd873b0bd42ed1bb2115 @@ -2118,7 +2000,7 @@ trackedFiles: pristine_git_object: b32504791cd399abd24f3ef24d21ef9294dfa510 docs/Models/Components/EventEmailsPaginatedResponse.md: id: 0d8cda0847a9 - last_write_checksum: sha1:c0749024614c9ddf7a40e4586c25d6174f14e2b1 + last_write_checksum: sha1:47f022413aeef7ad2bbc8ce01d4efd3ca2d4f8e5 pristine_git_object: 0a2ad76a85d69bfb393b219a395439204bc2a55c docs/Models/Components/EventFeatureJson.md: id: 4424d928f340 @@ -2152,34 +2034,30 @@ trackedFiles: id: 07a87fd92664 last_write_checksum: sha1:7ed8fba6f39d046bbfd1f7efc544cf199cb72671 pristine_git_object: f3ecb0efb0e4a1ed7e36b81be416b604aef97d03 - docs/Models/Components/EventFormatTypeJson0.md: - last_write_checksum: sha1:94b3cd5bc7be39443c98b2699b13a5d88787876c + docs/Models/Components/EventFormatType.md: + last_write_checksum: sha1:00e9c9affdf8f268263be18210be5031285cd603 docs/Models/Components/EventId.md: last_write_checksum: sha1:c898ad32d40470cccf313e3dde5edec130bbb36f docs/Models/Components/EventInput.md: id: 786ba880c24a - last_write_checksum: sha1:ef708549c0727aaada42c120d76661f65d6fadda + last_write_checksum: sha1:98e394d2d25a32df2b605d6df636e6267606678e pristine_git_object: 8e06f2783f97a7acc147ccd28a966872c0e4ff9d - docs/Models/Components/EventJson0.md: - last_write_checksum: sha1:8fe25b536c81375f86f58118e5d048b670bfcb56 + docs/Models/Components/EventJson.md: + last_write_checksum: sha1:fda4c9ab969b75f5fba39c374b9762f683049bd1 docs/Models/Components/EventJson1.md: - last_write_checksum: sha1:fc0ad4b1b0f14502bdfce9388967c2822b617105 - docs/Models/Components/EventJson2.md: - last_write_checksum: sha1:706637a858ae4fae1a3d5725b9e841697d4d84be - docs/Models/Components/EventJson4.md: - last_write_checksum: sha1:a44a534dda27bbe1ed0bcca02af0db98cbd6fd47 + last_write_checksum: sha1:274d1c3249d8572313fd3d5f02943d04e648b9c5 + docs/Models/Components/EventJson3.md: + last_write_checksum: sha1:9ae2edf0adeffeb290f2e2b5bbce74f0de6e241f + docs/Models/Components/EventJson5.md: + last_write_checksum: sha1:eda5a495ee0accddb9e5a29e784680aef46ae8bd docs/Models/Components/EventJson6.md: - last_write_checksum: sha1:1b14829e8560807afb7d898fd25058ab7dc98dff - docs/Models/Components/EventJson8.md: - last_write_checksum: sha1:da8804a2c73bc7cb769ec8eb57b8fd3cff1abb54 + last_write_checksum: sha1:e1c4013ad7993ae5cbacd8d0d65951a6a3b8b490 docs/Models/Components/EventLinksJson.md: id: 10d087b72bd0 last_write_checksum: sha1:bb6e959c06e87b77345b3c1ee325276f928298ca pristine_git_object: 393e51f4c82dbd8a2ceeaaca35a8d4a58f8f5a3b - docs/Models/Components/EventLiteJson.md: - id: 5a5246609240 - last_write_checksum: sha1:27340b9ed1ce6802da086c657ec14a367540d908 - pristine_git_object: 5a8d39be1e09e750bb2b03541797c3f0c5a3a352 + docs/Models/Components/EventLite.md: + last_write_checksum: sha1:3430f90d05397baa3fb3207ade67b50ad4d1cd52 docs/Models/Components/EventLookup.md: id: f44176ebff6f last_write_checksum: sha1:7ceff35d81a05e80c9db654e6d0e40e92e5988b1 @@ -2188,6 +2066,8 @@ trackedFiles: id: 7450197827ad last_write_checksum: sha1:7723106852dc4a9c80b90ebf4ddc4832220e3881 pristine_git_object: 1c367d0113ed6863ddf0e0c179f8bd0581a3985d + docs/Models/Components/EventOrganization1.md: + last_write_checksum: sha1:2d2fccfc8aab622d55ef7fdcd5abe2aa3355d28f docs/Models/Components/EventPageVisitTracked.md: id: f3dd2583d7c4 last_write_checksum: sha1:c04ed05fe26be82f9f8d23386fc4b78e63512762 @@ -2204,7 +2084,7 @@ trackedFiles: pristine_git_object: c8d3c04230adb6cb27f82a172e723d9ccd6d17f3 docs/Models/Components/EventQuestionJson.md: id: "065801763220" - last_write_checksum: sha1:b8351ba80da06dd0098ddf3c0e5c7a546665ac92 + last_write_checksum: sha1:11dcc60104d09b8fbd68083c73386012e875acd8 pristine_git_object: bd5163402309fe87562fde33dc069f7c43439d47 docs/Models/Components/EventQuestionJsonAdmissionItem.md: id: 1f90abc22de8 @@ -2280,7 +2160,7 @@ trackedFiles: pristine_git_object: c808fabcb046c9d95bf4879ed8a8df8af5ec3143 docs/Models/Components/EventSurveyQuestionJson.md: id: 8b4fdeb88172 - last_write_checksum: sha1:c1f046af7b1925ea0ac016af9383698e9f808bb6 + last_write_checksum: sha1:8d21e25e4a1390642a2786560b8bd10434a04bfd pristine_git_object: 7eaad50803b3d6fd1521b3f409d8898f7ab0f870 docs/Models/Components/EventSurveyQuestionsPaginatedResponse.md: id: 3afea1410f20 @@ -2288,7 +2168,7 @@ trackedFiles: pristine_git_object: 91b77939fd514df05fe3633f6ba9d293d9d7df23 docs/Models/Components/EventSurveyRespondent.md: id: ce08bda9f8ca - last_write_checksum: sha1:4bae6175f0b3e902199e41eaa3f46510d163f1ea + last_write_checksum: sha1:7e78f7bd522181a220a9d6bea6e29e2a5403a3a2 pristine_git_object: 581b5d45b87cd90ff357b0f2739881855bbb51ba docs/Models/Components/EventSurveyRespondentAttendee.md: id: 5f995ac1331f @@ -2312,7 +2192,7 @@ trackedFiles: pristine_git_object: f7d88c4cad8e8a84053ea8e016fa83fd113b9c13 docs/Models/Components/EventSurveyResponse.md: id: 05b78fae1ebf - last_write_checksum: sha1:24ae8daee528491b9b4c3548d8a6474e2654d420 + last_write_checksum: sha1:893467e503d23e6e6c137cdd4c38ab111b332852 pristine_git_object: 4f410a68e7e263552e43eac848be2ba8d0d433af docs/Models/Components/EventSurveyResponseInput.md: id: a69bb5fd8ec1 @@ -2338,19 +2218,17 @@ trackedFiles: id: 5a05874dac56 last_write_checksum: sha1:b725a852ecfb35283c6306b18d57106bc4dcd9cf pristine_git_object: c153fe2b3df0b6fc2d5975e307dea4a3b41d1e56 - docs/Models/Components/EventTypeJson0.md: - last_write_checksum: sha1:9ae2007af3fc40361874d3b7a151b3289a56d278 - docs/Models/Components/EventTypeJson1.md: - id: 61c616693c14 - last_write_checksum: sha1:0f0c6cb5393aeb98435fdf613fc6c66f0d002474 - pristine_git_object: 52ae7370443e67e949875dacc6825b9b19812bf0 + docs/Models/Components/EventType1.md: + last_write_checksum: sha1:34aff2a7dfcbdf1872b5bd0cbd13e7830074b7c3 + docs/Models/Components/EventTypeJson.md: + last_write_checksum: sha1:23f896a4804260bd325d56eb2dcdbe9868ae2478 docs/Models/Components/EventUpdate.md: id: fe7892d3cb73 - last_write_checksum: sha1:0708fd7f75c4392491320e89d283cb1e351b7448 + last_write_checksum: sha1:aa9e31203591727a3265f9f39473b1441dccf652 pristine_git_object: 400764ecaf2d5e9904052e489875278cd295f545 docs/Models/Components/EventUpdateInput.md: id: 4534761ddce5 - last_write_checksum: sha1:29f5e8eb196de088207bf3d20fef45cd14db0153 + last_write_checksum: sha1:1ad78effd661f5852656da145e3ea0a8c5cc3da4 pristine_git_object: 96ec1ce27a79d33130cbd30886808f7d055672fd docs/Models/Components/EventUpdateLookup.md: id: aa6d5cebdadf @@ -2428,7 +2306,7 @@ trackedFiles: pristine_git_object: 8bb95f2a4cf9b6c06f60817378680bdc809f9c69 docs/Models/Components/ExhibitorCategoryRequest.md: id: 8693227891d8 - last_write_checksum: sha1:6bb196d87e7357aa66045f7377a3caf6fc58ab98 + last_write_checksum: sha1:0e97b7d1bd0d906619462b828208b275743763cd pristine_git_object: 909a791815a3e7a579ddd96f20632d67ea39cb6a docs/Models/Components/ExhibitorCategoryRequestType.md: id: 40f0f389bac2 @@ -2436,7 +2314,7 @@ trackedFiles: pristine_git_object: 6c95b4a98b81eeefbb523a85548bd0df9b6955bd docs/Models/Components/ExhibitorCategoryResponse.md: id: d5f621904af8 - last_write_checksum: sha1:57fdb11a732aef908692296589b249f46e44a7f1 + last_write_checksum: sha1:84938e404c328c12f80062c7528542731423a41d pristine_git_object: 5fb5b7e3f9b4689aab11002df02537f14a9ec3a1 docs/Models/Components/ExhibitorCategoryResponseType.md: id: a3624f809a33 @@ -2468,11 +2346,11 @@ trackedFiles: pristine_git_object: 8b27cb16de23fa4fecbf85b70ab29fa25821f6d8 docs/Models/Components/ExhibitorRequest.md: id: 715ca92dd402 - last_write_checksum: sha1:3eb52fc1aaf992575e1164334500117a5686f6c4 + last_write_checksum: sha1:cdb1dce925593daa4ee829e410457ec22d164dc3 pristine_git_object: e7e5e5db90d93c805f20608ff6ec4fcc439e6a29 docs/Models/Components/ExhibitorResponse.md: id: 8270ba4f39f7 - last_write_checksum: sha1:da5d14de52a9f216a690c6fb967940e325645c42 + last_write_checksum: sha1:5c3eb09b52929804772abc3c0d87a8689babe6fd pristine_git_object: d3bfeb7494fa9d3673844926e7a2f1a456639187 docs/Models/Components/ExhibitorSocialLinkOpened.md: id: c4a7a3dac67f @@ -2512,7 +2390,7 @@ trackedFiles: pristine_git_object: 6889314798efd7b4ee565129ecbb5216b5f4c240 docs/Models/Components/ExistingAudienceSegment.md: id: efd3f5d865b8 - last_write_checksum: sha1:bb319aa046dd19bf279388f83aca4b5171b55e1c + last_write_checksum: sha1:0c41f3886b216e298f1fe247b0374f6562f25308 pristine_git_object: 487d032347baa56b67eb9ef3975a79c35322f645 docs/Models/Components/ExistingAudienceSegmentCreationTypeJson.md: id: 053052e28259 @@ -2520,7 +2398,7 @@ trackedFiles: pristine_git_object: ec72ba859dae70c5624d6f97199845258c3df453 docs/Models/Components/ExistingAudioTrack.md: id: ec83bc305850 - last_write_checksum: sha1:8a6267d4288aa50e07acf03741b202644cabeb2b + last_write_checksum: sha1:480f19d31f7e8112ef87642c027e6dba6c8b882c pristine_git_object: 0998f4c53e4d4631787b2f3d5fe0e8545de0f590 docs/Models/Components/ExistingBadgePrintJob.md: id: 07c499dcfa40 @@ -2536,19 +2414,19 @@ trackedFiles: last_write_checksum: sha1:b4f39199ec0e2f3bd0e1461063b00da07883a6dd docs/Models/Components/ExistingCustomField.md: id: bc02edd528b6 - last_write_checksum: sha1:3030b3e47f9be65289e4f3ae2a45526d8fa5e0c3 + last_write_checksum: sha1:146e3e8bb1b8c4ccb3b384ef5724a561be8a4c59 pristine_git_object: 1e35a8721ae44ab72f75d045334dc0e0d1fc2ebc docs/Models/Components/ExistingCustomFieldDetails.md: id: 261684c15347 - last_write_checksum: sha1:ddf561d9b347c1e8a12add4c20467b99d7fdd0a5 + last_write_checksum: sha1:e1d638b93808ca21f2800630522622445a23e5da pristine_git_object: e5e03e5b63eeb81709227a3d7ae3783a0bd432d4 docs/Models/Components/ExistingCustomFieldDetailsInput.md: id: 9b43ac436241 - last_write_checksum: sha1:95d57672b0c1a0f40a65b58c9414f11fb1891456 + last_write_checksum: sha1:b59b216540dcb317639a7c45a3b2ca7eca27b05b pristine_git_object: b9554c35b36a30f985621df2009dc44ee19f5db5 docs/Models/Components/ExistingCustomFieldInput.md: id: 0106a5e43737 - last_write_checksum: sha1:62c2d5636b0c63d112c032e51f71d1a5cc2830cf + last_write_checksum: sha1:4bef3fe9a758c5b152e94ec4696dc6cef6f7f527 pristine_git_object: 06882c7cc178a99d16167d999c501e9ad6cbcd71 docs/Models/Components/ExistingDiscountCode.md: last_write_checksum: sha1:3c42f3143ffc17e0504cb4dd38149c3341e1edb8 @@ -2570,21 +2448,21 @@ trackedFiles: pristine_git_object: b7f111caf51a411b958ef385f121607b25d8f34f docs/Models/Components/ExistingDurationType.md: id: b8f659d2f70f - last_write_checksum: sha1:dc60426a29c3bf457522b1ad149d0f22e8669492 + last_write_checksum: sha1:946b761ce5545b48db27d358fd83383da0a800c5 pristine_git_object: 62f32d4a37237533f5b6d340bf5ae4246d75063c docs/Models/Components/ExistingELiteratureRequestDataForLead.md: - last_write_checksum: sha1:98f9ad638acfaad2a05808924500b43742e0195f + last_write_checksum: sha1:c2ecf3f359f17ad7df2ba6003ee6350fd5cf3d23 docs/Models/Components/ExistingExhibitorAnswer.md: - last_write_checksum: sha1:b0a324170054b05b58e98a3c86eddd843026b1b2 + last_write_checksum: sha1:eaa4971d7b051d11b63a720b5e07a923c48d6f1f docs/Models/Components/ExistingExhibitorAnswerInput.md: - last_write_checksum: sha1:e257c1ea034e04967cd7ccf00746e6d270d44205 + last_write_checksum: sha1:30d9c1d848ecf30e3a60fc5a77dee17db39b219d docs/Models/Components/ExistingExhibitorQuestion.md: id: 4c90a240a21f - last_write_checksum: sha1:17bd233b203d6965edb6f9cdd11ebe78d4f19f51 + last_write_checksum: sha1:ec81f677196659e93177fe458f09f395abfc30a1 pristine_git_object: a821ee772473199954c79569b0d1556b069e03c0 docs/Models/Components/ExistingFile.md: id: d90ad4c474cb - last_write_checksum: sha1:d33ad928e82e645225148473968a3a054df43a7d + last_write_checksum: sha1:1e85b00ed953af7e43ce19b6fde64b79086c5dbe pristine_git_object: c1db46c47bf395113dfc22abb12c7111802229e9 docs/Models/Components/ExistingHub.md: id: 4c2abd932332 @@ -2644,7 +2522,7 @@ trackedFiles: pristine_git_object: 921e2c7bf491a680f414971287b107f8f40db7df docs/Models/Components/ExistingSpeaker.md: id: 1c5295663497 - last_write_checksum: sha1:4edf7a954b32e02f1e6a74129cf44076e4bf0d20 + last_write_checksum: sha1:d867ea5519c5969676428af1922c5a494552ade2 pristine_git_object: aeb2ab5e09df2a75b6223c701699d31bb86ae444 docs/Models/Components/ExistingSpeakerCategory.md: id: af584e8a5155 @@ -2656,11 +2534,11 @@ trackedFiles: pristine_git_object: 2d6f467b0614d33f1b010c5d2409f0347fcd6f05 docs/Models/Components/ExistingSpeakerInput.md: id: 98e1b36f0126 - last_write_checksum: sha1:edf9dfa656646cbaef1fa7bc2041e3034b12fc90 + last_write_checksum: sha1:b8d27acf8e7574c43405c813dea3041b3c7e77f7 pristine_git_object: d5dc3f1559844ef64ec648af7b31ff71a99fa059 docs/Models/Components/ExistingSponsorshipLevel.md: id: eca302273648 - last_write_checksum: sha1:527083fc5dc8d48aa3e9ff5934a4e1d89a75f44d + last_write_checksum: sha1:f33a4e02cb26ee4fb2524c1bb7db6c2dc4af4a5c pristine_git_object: 4e5fb47fb962db3bec4092c61876a663d2d91283 docs/Models/Components/ExistingTableWithSeats.md: id: fd9778f44795 @@ -2668,7 +2546,7 @@ trackedFiles: pristine_git_object: c88c5713511a1f916274938bbc19516ebc9b173f docs/Models/Components/ExistingVideoResponse.md: id: 25f8deb6eac2 - last_write_checksum: sha1:5829ad6f3a781db8610ff6013169ddd9117f9ac0 + last_write_checksum: sha1:b9bac09e3978f20ac57ec27aac425eff71cfa24e pristine_git_object: 500bd16819c6f0f6fd8b1d66e0f8588d3227132b docs/Models/Components/ExistingVideoResponseUUID.md: id: 0af66a57b94e @@ -2676,11 +2554,11 @@ trackedFiles: pristine_git_object: b712eb49e8dd8af3dbc50b387914ff3bd9cbc150 docs/Models/Components/ExistingVideoTextTrack.md: id: 6909ae665fb8 - last_write_checksum: sha1:fc4d84c816948548631866340ff4c0a113808e83 + last_write_checksum: sha1:da95354e66ad3cf64f8658df1d27ec83f09cce08 pristine_git_object: a968528d45e450bf43613a2414c3db066538a8f5 docs/Models/Components/ExistingVideoTextTrackInput.md: id: 293719f41ff2 - last_write_checksum: sha1:611decbc6828d8a700c979f4ba9933e2d5078372 + last_write_checksum: sha1:dc3a3feae47d54722607e74fad7dd2f655e85e9e pristine_git_object: 6d65233b551024b9ae8dccb6d28dcc244a120984 docs/Models/Components/ExistingVolumeDiscount.md: last_write_checksum: sha1:afef9f28580645629cec878097f07e7ffc2f973b @@ -2698,7 +2576,7 @@ trackedFiles: pristine_git_object: 6dc2ea427218c9f9f160d05855ae4557044644d9 docs/Models/Components/ExistingWeblink.md: id: 2ce1aa717cdc - last_write_checksum: sha1:2f77257c60c7df3348004250dd4cf542f17f5c8c + last_write_checksum: sha1:e99118d9ec2c9d0654d482243e03c11c79383fc7 pristine_git_object: 321012164470b2f6ff8665d4af15b7ded8f966e4 docs/Models/Components/Expand.md: id: 8ad164f459ed @@ -2798,10 +2676,8 @@ trackedFiles: id: e55cd873eaeb last_write_checksum: sha1:517687cef89170eb46b2613e192e4af491856c86 pristine_git_object: d5d68fc5c5351476834411b2c6cdf29453495cb6 - docs/Models/Components/FairSeasonTypeJson.md: - id: ccd0e50ebcb5 - last_write_checksum: sha1:10b9713421d523fce46d1b89d06884e4fd749417 - pristine_git_object: 11f3cd0e3f0d09d8d76887b614bc5c149e3d70ca + docs/Models/Components/FairSeasonType.md: + last_write_checksum: sha1:265f203030dbebe84b6d2ffb5452a6e0c5a7e762 docs/Models/Components/FeatureTierJson.md: id: cc562ab3db4e last_write_checksum: sha1:1ab064eab03f782446a12711a0eb390b519893e4 @@ -2826,17 +2702,17 @@ trackedFiles: id: 873fa48169ec last_write_checksum: sha1:bccb1e282f2d3bdf1facdc545e07399b199955d3 pristine_git_object: 48ecfd2dd304d68895d4c6d749fd9ba2e2b0c08b + docs/Models/Components/Field.md: + last_write_checksum: sha1:3bc5ab0fa1490a9fd8bf3de1a58e17372cac19f7 docs/Models/Components/FieldJson.md: - last_write_checksum: sha1:5b53ab9483012a048ad4ee360d2eefcd061a3a90 - docs/Models/Components/FieldJson2.md: - last_write_checksum: sha1:3a2b6c8b964795bf28ee46e785429938d7acf3f0 + last_write_checksum: sha1:7f873da91b163e42cf8e87ff491480ff426b373a + docs/Models/Components/FieldType.md: + last_write_checksum: sha1:11903f4699b16be9e0d8d58797183439678a283e docs/Models/Components/FieldTypeJson.md: - last_write_checksum: sha1:1d58426ba8e42586894ad5c94f16b3548d4cd855 - docs/Models/Components/FieldTypeJson2.md: - last_write_checksum: sha1:6f4a8289ed573d2aab586fbb2d22970c5e07180d + last_write_checksum: sha1:a6138692cbe1cca2d3e983721af0b51ca71c6ef3 docs/Models/Components/FileInput.md: id: c9cb46d07c3e - last_write_checksum: sha1:808c9965875494cd62c6e4d18be24fbbcc74b1b5 + last_write_checksum: sha1:b5a36771b24227db6fb379d3707d4ac0c2f26396 pristine_git_object: 89c2b69701321064f4116c6e8edde4000e9fe70b docs/Models/Components/FileLinkJson.md: id: 0efafa0fb579 @@ -2870,10 +2746,8 @@ trackedFiles: id: 384fb44fb943 last_write_checksum: sha1:dd9cb08fed29571e1e853739334e7903aedca185 pristine_git_object: 7284ab26327db65d88155bd1212b675a5260eebb - docs/Models/Components/FormatTypeJson.md: - id: 8fe6912e5fad - last_write_checksum: sha1:bd52c370b97e1cefff3108e74e12b4615e4fc35e - pristine_git_object: bc1c28bb29dfc313df7b8b882a7a9c2958cdbd30 + docs/Models/Components/FormatType.md: + last_write_checksum: sha1:a7eedc1aaec7db6310ec122de5b8a8210ecd1db1 docs/Models/Components/Frequency.md: id: b96b842e0182 last_write_checksum: sha1:0d6afc4b4e680fcf4274ab09fa8c2ef050cccdc1 @@ -2882,10 +2756,6 @@ trackedFiles: last_write_checksum: sha1:36c5edba2ae8a021db395f8ac55ebd652ace6aa6 docs/Models/Components/Gender1.md: last_write_checksum: sha1:caf9409f026f5e1c12b03731ac516f1d198016c2 - docs/Models/Components/GenderJson.md: - id: edc0466a6db6 - last_write_checksum: sha1:481623a7cc163dc4d878e53524623c0de0a88a75 - pristine_git_object: ebfad038957021902a5f64c48f8a131019ddd5fe docs/Models/Components/GeneralLedger.md: last_write_checksum: sha1:0d09c74c0c0f9c00d1ce4010e7ac9788eb2da3a4 docs/Models/Components/GeneralLedger1.md: @@ -2908,22 +2778,20 @@ trackedFiles: last_write_checksum: sha1:cdfd9143425009db14c9cc56a2109380a111b488 docs/Models/Components/GuestJson.md: id: ded8b94ddaef - last_write_checksum: sha1:1902304601a5b1b4338165ba39f7e65c330255ae + last_write_checksum: sha1:1b661e59d7bfaa4aa849fb5d869b510601b44481 pristine_git_object: a1abac56bf951bf242440c720efd47db778957e2 - docs/Models/Components/GuestRoomOccupancyJson.md: - last_write_checksum: sha1:1346b3f7b84d053775a57daee2d070b4956673c6 - docs/Models/Components/GuestRoomOccupancyPerRoomTypeJson.md: - last_write_checksum: sha1:c22e549b22ac3d385f308a775659baf4d04c7b48 - docs/Models/Components/GuestRoomTypeJson.md: - last_write_checksum: sha1:f19975d69d51f1a3e4a42009ced3ff9ffc3fe0d1 + docs/Models/Components/GuestRoomOccupancy.md: + last_write_checksum: sha1:9538f551654710db86d758a5b88f36ee456554f7 + docs/Models/Components/GuestRoomOccupancyPerRoomType.md: + last_write_checksum: sha1:20083c477ae0a8a7678d786f34bdeb36859229d7 + docs/Models/Components/GuestRoomType.md: + last_write_checksum: sha1:89154d8a5a4c7dc123936f59b3732c81b15002e9 docs/Models/Components/HTTPMetadata.md: id: 05de2fd15279 last_write_checksum: sha1:08fe4d295519e310847d7500b27fd60eb5124293 pristine_git_object: e01c47a3aad01cce33962b089a2a72da72c468df - docs/Models/Components/HlsInputWithClipsJson.md: - id: 0f3882335262 - last_write_checksum: sha1:3ffcd42a3ea92dbb951df25fc4fc564efed1d2dc - pristine_git_object: 721c06a024e8e62745b3c93cd36a0d79af0bbda0 + docs/Models/Components/HlsInputWithClips.md: + last_write_checksum: sha1:1e3b60864c266be488a171f7b928ca4cd5c93fad docs/Models/Components/HomeAddress.md: id: 71b12f3bcc4f last_write_checksum: sha1:c28140e91c8b5bc1d55b11cf1031c7e34ba9bac4 @@ -2969,7 +2837,7 @@ trackedFiles: last_write_checksum: sha1:e17ef5fe6a0975a19f7e382fe32b978bbf9242dc pristine_git_object: a4349fd7957989b3b5f8a94a48ed1622e56d3e29 docs/Models/Components/HotelRequest.md: - last_write_checksum: sha1:7af7045b1e0553b8bda522122586d4087db08d0d + last_write_checksum: sha1:38c83e2445fb361ab097b9ab795ffe808f9cf987 docs/Models/Components/HotelRequestRequesterType.md: last_write_checksum: sha1:b818f4fe3d7bf6c7e26b435c5cdb4bd271fbed49 docs/Models/Components/HotelReservationDetail1.md: @@ -2992,7 +2860,7 @@ trackedFiles: pristine_git_object: 4e521afe93538492feb6403345cc08e731ddfe73 docs/Models/Components/HousingEventHotel.md: id: c121802fdc1a - last_write_checksum: sha1:5d23305540f8d19f7f459495a3e04f493aadc752 + last_write_checksum: sha1:f09d76a788bfde4f4fc5c7d65f73c92a00292906 pristine_git_object: ad2c9ad81532cbb40e505ccc50ef9589ed3572fe docs/Models/Components/HousingEventHotelsList.md: id: 1d6991c52bc8 @@ -3012,7 +2880,7 @@ trackedFiles: pristine_git_object: 80edd94438cbde9ad187ddd68754ca78d74c3a39 docs/Models/Components/HousingEventSummaryList.md: id: ffba20cda426 - last_write_checksum: sha1:81d6b2c0c3206db0a1773247600fe372a6c3cae4 + last_write_checksum: sha1:8655f481971cd005286323b08124f5e426f37ccf pristine_git_object: 9a64dd1dd40e12076aa8be2a5d0862f1d62b2a52 docs/Models/Components/HousingReservation.md: last_write_checksum: sha1:67e06e4503dcf2ee47e9c6fdb332eacc5185d408 @@ -3042,16 +2910,14 @@ trackedFiles: id: 3cdd23488882 last_write_checksum: sha1:a8a67db01fef290924e47c3ff13b18e1a3a3ffd7 pristine_git_object: 8b94627064e717ce9155138bcdfcb9e9839e5208 - docs/Models/Components/IdJson.md: - id: 8cd564c56b0a - last_write_checksum: sha1:b22ab853ebb3a43f863d53e305b4c5ac91d12ba1 - pristine_git_object: 8ce2be00c1fe8812ac012d6d071ff909b5ba6fbe + docs/Models/Components/IdOnlyEntity.md: + last_write_checksum: sha1:49055f8a1e8573b60cab1b50b325fbf8f2f45b4e docs/Models/Components/ImageLinkJson.md: id: f96b30f2a35b last_write_checksum: sha1:eff1bd6efda3b798c4515a2dc315b7438cad4bbb pristine_git_object: 693304ba14b9af471cc5f7f439ecf659ec573c79 - docs/Models/Components/IndustryJson0.md: - last_write_checksum: sha1:d4de9ba02937cc31a9a40e36a32e4a33970f0b30 + docs/Models/Components/Industry1.md: + last_write_checksum: sha1:9b2594bf13c072558f14d2a6ffa3b708f401f67d docs/Models/Components/InventoryDetailsList.md: id: d467e12574f6 last_write_checksum: sha1:c30d28345e0367e4acb1b3bbc8427b36f8852151 @@ -3070,7 +2936,7 @@ trackedFiles: pristine_git_object: b5e568600e0386f3856994504f27bd7c39025eca docs/Models/Components/InvitationListPaginatedResponse.md: id: 5e2dbe9c58a7 - last_write_checksum: sha1:457305bd29582933e4ec540c1951f0d37be0757b + last_write_checksum: sha1:4db70f6382379aa3eba2bdf4f1234b9fd51afc6c pristine_git_object: 46c09bb96faaab969b986df0e984e8570752de27 docs/Models/Components/InvoiceFile.md: id: 072f13b34454 @@ -3119,7 +2985,7 @@ trackedFiles: last_write_checksum: sha1:d84c237a209a35a0069766df0169d6f386fdb428 pristine_git_object: 0b4ea329478383b66b3fe32dc975187ab3d3779e docs/Models/Components/Lead.md: - last_write_checksum: sha1:4cde14aade03a46b441d957698d57b9203acaedc + last_write_checksum: sha1:c301e3f99049666330fbcf9d4b7af3ead7a85a1b docs/Models/Components/Lead2.md: last_write_checksum: sha1:7e6e9da579275a0531131cc6ba3c8a7049a5b75a docs/Models/Components/LeadInboundCreated.md: @@ -3131,13 +2997,13 @@ trackedFiles: last_write_checksum: sha1:dba12fa517a1c3d7d8f07f7659abe2c3c79c52c4 pristine_git_object: 7585072c57a7e779d34132ebe2be65f333eba454 docs/Models/Components/LeadQualificationAnswers.md: - last_write_checksum: sha1:eeba0bc7d71e4601110c57a7280928e1278d541e + last_write_checksum: sha1:d016829eb75cd802686df0f4ba794118fc843b2a docs/Models/Components/LeadQualificationAnswersListResponse.md: id: 0e85fd40562c last_write_checksum: sha1:04efe0b2441f5bacbf3616c85ff28386691b1599 pristine_git_object: a61488ebe50777f1f7be2fd38e001187e9f5d647 docs/Models/Components/LeadQualificationQuestion.md: - last_write_checksum: sha1:c870124a5da647c72de8fc641942352f7b337258 + last_write_checksum: sha1:34cb02ff0120695bacaf300b19ca7ff635878bf3 docs/Models/Components/LeadQualificationQuestionType.md: last_write_checksum: sha1:470810eacafcee5fd67ebd636cb71d87bf2cf2e9 docs/Models/Components/LeadQualificationQuestionsListResponse.md: @@ -3154,20 +3020,18 @@ trackedFiles: pristine_git_object: 316ae09c8dd9c1947c5c309266111c802776bec2 docs/Models/Components/LeadQualifiedQuestionResponseJson.md: id: 264037047ce3 - last_write_checksum: sha1:46eb0a5f02581bc830c16f3614762440272d038c + last_write_checksum: sha1:ac87713012c99ff0e0a9b3c9a870f50eb33a9803 pristine_git_object: 4d98b8c8b75ad23488675c4e3847b6305f6f4d5d docs/Models/Components/LeadScanned.md: id: 0b2b908bf016 last_write_checksum: sha1:858894f6d4409b39e6d00cbafae9e1ed79996e56 pristine_git_object: b40c2664cc2919ccc8714e1aed884a47c9b1ebec docs/Models/Components/LeadSource.md: - last_write_checksum: sha1:4b89ae365bb52e897e9e4fe00f045b5aef098133 + last_write_checksum: sha1:ad467070dd5597ae40d3f2b3466d9f652b1a294c docs/Models/Components/LeadSourceExpand.md: last_write_checksum: sha1:6231032e11e255b23817b5532420d3a2078e44c2 - docs/Models/Components/LeadSourceJson.md: - last_write_checksum: sha1:e666f6f3239e9972b337c8c90697f3aa7b0c8fe2 - docs/Models/Components/LeadSourceSectionJson.md: - last_write_checksum: sha1:48e99b7b605781280e659407347e27508ca1fe30 + docs/Models/Components/LeadSourceSection.md: + last_write_checksum: sha1:5242395f735784c19956905234026d070b44f628 docs/Models/Components/LeadType.md: last_write_checksum: sha1:e11354fc690ef515db1d4c4b998e4e38260755e2 docs/Models/Components/LeadsPaginatedResponse.md: @@ -3226,12 +3090,10 @@ trackedFiles: id: f7c34afe6268 last_write_checksum: sha1:0e400f70328c40901300fec3547de6342de18684 pristine_git_object: 0f2c268ef8d33de72bc91fa7200a6ba178f60b9f - docs/Models/Components/ManagementLevelTypeJson1.md: - id: 566ee0f82251 - last_write_checksum: sha1:d09ea6212377f8b39fce7e04111a3fbd27c75bbe - pristine_git_object: 651460baee2cbcc065d92279d10f689148a42fb2 - docs/Models/Components/MeasurementUnitJson0.md: - last_write_checksum: sha1:3e72c548ce66aef1296db13096de561e23f5d616 + docs/Models/Components/ManagementLevelType1.md: + last_write_checksum: sha1:ec75e3eaf75a2cce4b95690a9f20f3b3b32ba00e + docs/Models/Components/MeasurementUnit.md: + last_write_checksum: sha1:142db0bdfef9f0fe378bf02aebb17332b5e2d4b6 docs/Models/Components/MeetingRequest.md: id: 34f3430e06c3 last_write_checksum: sha1:d05dad1e8fa2a8134c32e5cd0dfda1818f157bd7 @@ -3294,7 +3156,7 @@ trackedFiles: pristine_git_object: 66fd19e52e1c1736316c58844bac6299935052ca docs/Models/Components/MeetingRequestQuestionJson.md: id: 5cc6e242e6d3 - last_write_checksum: sha1:42b688292bae77f5b236ce13831f4bdf292c30d3 + last_write_checksum: sha1:d6fefa7c1ab1eb0941336fd5cd7184b49f88914d pristine_git_object: b3943c14834b32bc05dd9eb8926766d2981e3350 docs/Models/Components/MeetingRequestUpdateJson.md: id: dfff04e34571 @@ -3320,26 +3182,18 @@ trackedFiles: last_write_checksum: sha1:292d13c6f3ad112cc107ae04a21d0274865094bd docs/Models/Components/MembershipItemsPaginatedResponseData.md: last_write_checksum: sha1:55da4063fff81caf94437b1e1af74ce287fb8c06 - docs/Models/Components/MembershipJson.md: - id: 4d1b3f1e147b - last_write_checksum: sha1:14d8c97bd38640a7be0e94a77edf4609567322fa - pristine_git_object: 513a66b696f3f80fe822901d0f5609bec0801679 docs/Models/Components/Message.md: id: 295533f0637d last_write_checksum: sha1:0f0f73048c52cc98ed7a4bee01bf381e189b580c pristine_git_object: e6f3f37f4fe0d3ee76f216c59fefaab58ec160bc + docs/Models/Components/MessageRecipientResponse.md: + last_write_checksum: sha1:6c602dbc598012afd792afc81bdbf73f1cca352d + docs/Models/Components/MessageRecipientResponseAttendee.md: + last_write_checksum: sha1:014bbe9f3fa4f4b886959dd9e078519ae79a67d6 docs/Models/Components/MessageRecipientsPaginatedResponse.md: id: 9fc1c27d2116 - last_write_checksum: sha1:68cbd9b09b43a9f5751436a3aaf5225170c40c70 + last_write_checksum: sha1:f9e58edefe3722aa1d8d5ccb8da31235dcf97921 pristine_git_object: 55ae7e791185256daa738f9548884f472ff03e23 - docs/Models/Components/MessageRecipientsResponseJson.md: - id: 114c508c3223 - last_write_checksum: sha1:585f628891bce94461c3769ba9fb14e1032c304c - pristine_git_object: 3e7cbb06d4ac6a628424c1541968658a70a9e170 - docs/Models/Components/MessageRecipientsResponseJsonAttendee.md: - id: 46d70488ecef - last_write_checksum: sha1:d38a0b204afcdd9b7f8c7511b441af45f49d150b - pristine_git_object: 55df00fbcde653102ef54b69e977b1d9ef43ab53 docs/Models/Components/MetaJson.md: id: 564d6e76be50 last_write_checksum: sha1:b56ed27a4216ae4040ac4b48369d615aa31c54c6 @@ -3374,18 +3228,12 @@ trackedFiles: id: b41f6f3baa3d last_write_checksum: sha1:26c9a4a53377eca54f6e76f94ad2c45def0142f0 pristine_git_object: 9cfdb053d5101ffafe364ac64581e13ffead024b - docs/Models/Components/NumericAnswerFormatJson.md: - last_write_checksum: sha1:9287fbffda34056ad179fe1947b6e386f68ae054 - docs/Models/Components/OfferingCostTypeJson0.md: - last_write_checksum: sha1:0490199b0d90448abfe2ebf4a1788f020fe6e698 - docs/Models/Components/OneAllOf.md: - id: b941d3003892 - last_write_checksum: sha1:c6eb4a47d3b4faad086542f1ce9308b1fbc2bfe2 - pristine_git_object: fb2ce46dd6668ac5a57277c84da134765de51834 - docs/Models/Components/OneOneOf.md: - id: f0cfebe0e6fe - last_write_checksum: sha1:054408826a174a40c003ac1dea84937d0a674d25 - pristine_git_object: a7b39c2e5bd37986afd57b790fa07db894fd8eb6 + docs/Models/Components/NumericAnswerFormat.md: + last_write_checksum: sha1:7186d1f44523fa71e24c123811c708e0a6133584 + docs/Models/Components/OfferingCostType1.md: + last_write_checksum: sha1:a9df28eabe188ab7a7b3505aea6bdc9c7e7b6dae + docs/Models/Components/One.md: + last_write_checksum: sha1:fad4858c905a19729be83bcf98529e16eadd6b08 docs/Models/Components/OpenEndedCommentBox.md: id: a379913fb3e5 last_write_checksum: sha1:c6486bca1bc1484a460e7b49d1974ae292990620 @@ -3402,14 +3250,8 @@ trackedFiles: id: 1e850988fa21 last_write_checksum: sha1:2efc5b2d842c95a7de89da29e1004e38c0b02d2a pristine_git_object: 0f42fb01063c3352cfa5054c4cebb8e0e43a008e - docs/Models/Components/OptOutJson.md: - id: ae4f53b4ed69 - last_write_checksum: sha1:500aa9b3fbf5bfc5bb7b6a0547d4b562221fda2c - pristine_git_object: fc846048dcf3a2219ef5228bc31de90371ac0950 - docs/Models/Components/OptOutJsonInput.md: - id: f93597e2dd85 - last_write_checksum: sha1:aa5598eda5c081d02b669e657025bd3a14c5ee30 - pristine_git_object: 524aa8530013a249dd6871a815c1077bab3968de + docs/Models/Components/OptoutBy.md: + last_write_checksum: sha1:dc6bad2fb24e214c2c3063a79552b36968ee7f2e docs/Models/Components/OptoutByJson.md: id: d1645e7c344b last_write_checksum: sha1:0d3f1767f1a8facd652a1a533f4133c35fef862e @@ -3417,7 +3259,7 @@ trackedFiles: docs/Models/Components/Order.md: last_write_checksum: sha1:c640a7e3432aa4c20e23ae8d7edf024968a9ebf2 docs/Models/Components/OrderDetail.md: - last_write_checksum: sha1:91f1f49cfc59db20e5bd15dabe61e725563623f1 + last_write_checksum: sha1:5a9b9f2b4c251084df22b34bef82acd1631b6837 docs/Models/Components/OrderDetailsPaginatedResponse.md: id: 8d8f5f554041 last_write_checksum: sha1:40ceb83ae0a9aeee69a12669efa35169408cbbc2 @@ -3432,7 +3274,7 @@ trackedFiles: last_write_checksum: sha1:11a5b64548f708c5106dd2de8a9f65dedfeadaf1 docs/Models/Components/OrderItemResponse.md: id: efb799bf96b1 - last_write_checksum: sha1:63ec1c773bdb7fe5520eb1c9630ed7412dcf6ae0 + last_write_checksum: sha1:ae78c35a6029e7d130b94fd81a1bb394c5bd181f pristine_git_object: f91f220b49c08f95c337629095d0341d807569e5 docs/Models/Components/OrderItemsPaginatedResponse.md: id: 0f39767b6c3a @@ -3442,16 +3284,16 @@ trackedFiles: last_write_checksum: sha1:f80b4e7df1724e525884fa0f07a8fe901e194505 docs/Models/Components/OrderType.md: last_write_checksum: sha1:372eb618bb4a43404af5c232ca16c6c0ae256949 - docs/Models/Components/OrganizationJson.md: - last_write_checksum: sha1:f14d6e4041b6d64289b3391ffa596efa707d8bbe - docs/Models/Components/OrganizationTypeJson0.md: - last_write_checksum: sha1:d1463d1abf2cb4016eb961292e8ab881015e84eb + docs/Models/Components/Organization.md: + last_write_checksum: sha1:274a4c16cd1866f064f2dd7de75445916e07646a + docs/Models/Components/OrganizationType1.md: + last_write_checksum: sha1:c65067a6095474b5e280be639d2c106bee5a318f docs/Models/Components/OtherPaymentJson.md: id: d2d91ccdbf9c last_write_checksum: sha1:1621bea23984f4b1649e7f55cbce4a55c442601e pristine_git_object: cc6d032ad329aaba9f4a8e64a1008cc0f3727a37 - docs/Models/Components/PackagePricingPreferenceJson.md: - last_write_checksum: sha1:a8dd170ffd2330d4ff796e25869904cf83635799 + docs/Models/Components/PackagePricingPreference.md: + last_write_checksum: sha1:5aa5a61436a72f4a3b30372a1c1c7821eb0acc8a docs/Models/Components/PageVisibilityJson.md: id: 868dcbc6a8e5 last_write_checksum: sha1:073dc8a66d6cbeaa4ba5edfa9a85eb6c30e334cf @@ -3461,21 +3303,21 @@ trackedFiles: last_write_checksum: sha1:48b30d7ccff1f281c984ab2bdc2e80acb7c67d5e pristine_git_object: cf462033c791f94adda5acefa4c92742e209cc86 docs/Models/Components/PaginatedInternalDocuments.md: - last_write_checksum: sha1:068ad6e4094855d15c193dd3f21e4779c5e54359 + last_write_checksum: sha1:d4eca7d1b27d2f68ef73657e306aed19024b0410 docs/Models/Components/PaginatedRfpAgendaItems.md: - last_write_checksum: sha1:d52e9d2ea435c9f333f2b84b0617e5a2892579d2 + last_write_checksum: sha1:ab3ab7fb2dd4d2c767f5dc78498a884e4ff760bd docs/Models/Components/PaginatedRfpAgendaItemsSchedule.md: - last_write_checksum: sha1:6072fde3417509745eb8217782893d946e99badc + last_write_checksum: sha1:682a42555e0144ab5ef9beafab849885fa5bd4e4 docs/Models/Components/PaginatedRfpAttachments.md: - last_write_checksum: sha1:e6427152d21392b8082699fa9610adf0688938ae + last_write_checksum: sha1:7e07b8b496e07da87150b5ecf91e91496e4e9fa8 docs/Models/Components/PaginatedRfpCustomField.md: - last_write_checksum: sha1:95bb6ceef99e879733131c749b088a675cd3aa6d + last_write_checksum: sha1:b19818abe7ac82da70feb20af247b6852fa657c9 docs/Models/Components/PaginatedRfpQuestions.md: - last_write_checksum: sha1:9b1e6693fc2b9f3082d5db61286ed57e3c448ae3 + last_write_checksum: sha1:fc4067458e696388b3b514932bc61644e526ec65 docs/Models/Components/PaginatedRfpRecipientsHistory.md: - last_write_checksum: sha1:8ef81aa18ddeb67407d77aa3a4ceb7c2eca6ed1d + last_write_checksum: sha1:27cba4dcb6cc56487b537526a79839dbfc5ac64e docs/Models/Components/PaginatedRfpSuppliers.md: - last_write_checksum: sha1:fdeaa9367ef996232c1ff826128ee49f083a4898 + last_write_checksum: sha1:9281448a424a53a6407e4b4e7a0ba6c09b05ad61 docs/Models/Components/PaginationLinks.md: last_write_checksum: sha1:6ef55eb75078aefb3ee0efbcf292616a509aa49a docs/Models/Components/PaginationLinksJson.md: @@ -3488,10 +3330,10 @@ trackedFiles: id: 9c3eaa8ef595 last_write_checksum: sha1:1bdb8b9f09b31b82a3f00bb98a0a9ba79d1cea96 pristine_git_object: 184e341682615d9a5f10b31b3ec16a2a490b62a4 - docs/Models/Components/PagingJson19.md: - last_write_checksum: sha1:b5a5cc10484b07fa79b4e7192df333efe41ff68a - docs/Models/Components/PagingNoTotalCountJson2.md: - last_write_checksum: sha1:93f7e4470b03f4df5a0ea8373f264b747115f1d8 + docs/Models/Components/PagingJson2.md: + last_write_checksum: sha1:6a467a0627713fe313ee33603c741249f339debb + docs/Models/Components/PagingNoTotalCountJson.md: + last_write_checksum: sha1:6c5069b6fc461524218044c67a925dc83b41ffbf docs/Models/Components/ParticipantResponseJson.md: id: af59ea3df42a last_write_checksum: sha1:d1e75a628cb2fcf601ac9b3ceae84e3c3b7c0002 @@ -3508,14 +3350,10 @@ trackedFiles: id: 8229a2aa629c last_write_checksum: sha1:84eaa2d6f7023b71879d27e384386f024e4fe0cf pristine_git_object: 0b4656325d36d2096c58b90ab06d970d3afb53d1 - docs/Models/Components/PassportJson.md: - id: 3cceba1faa7c - last_write_checksum: sha1:0c6f0f3605fc98cca71a8f3212c3615d3bbabb82 - pristine_git_object: f053841ae4c6ab64eadd27811b31b3b35a706b49 - docs/Models/Components/PassportJsonInput.md: - id: 498520a0ff3b - last_write_checksum: sha1:abb4a199975abaf85bd0771eeedeecdf186e4c63 - pristine_git_object: 04cc6ffc07139c4f74ff22f3ed76055c8d2b649e + docs/Models/Components/Passport.md: + last_write_checksum: sha1:ae4111e116059066ded7d1b1818ddbc916ac7c71 + docs/Models/Components/PassportInput.md: + last_write_checksum: sha1:f40c7bdfd78506716ea38d8fd49a6ad2d410faf5 docs/Models/Components/Patch.md: id: 747b7b64377c last_write_checksum: sha1:98347ec891cb0b23ed2f2f4a1dc7d4c5389eafec @@ -3526,7 +3364,7 @@ trackedFiles: pristine_git_object: feea2110a78f7e3c61ae7aed49086a71c1c0cec5 docs/Models/Components/PaymentInfoJson.md: id: e01046e39555 - last_write_checksum: sha1:218556b61e1a86dd61eb4feff2202812c0159da7 + last_write_checksum: sha1:11743102dbc858fa247515bc34ce9f141a2625fb pristine_git_object: f14f95bc0fea709cd12a2f314989a2e0238d5ecf docs/Models/Components/PaymentMethod.md: last_write_checksum: sha1:b1f8888d679df13d5d62666275b0405318b80f2b @@ -3584,7 +3422,7 @@ trackedFiles: pristine_git_object: 1bdb79764d6335a7d5a1a0979de71ac3cc4d5785 docs/Models/Components/PlannerJson2.md: id: 83205ecf3979 - last_write_checksum: sha1:8315d1afe46bf70b85d4cfc8c8217d605578198d + last_write_checksum: sha1:40d7e326e18eec963a7ff016b6c837c2991f9544 pristine_git_object: f7f66cfc238b08fe88d347f9787d5d593a009610 docs/Models/Components/PlannerJson2AddressType.md: id: 520aae824ad2 @@ -3650,10 +3488,8 @@ trackedFiles: id: 910f734f99f1 last_write_checksum: sha1:67b0b55283b53bfd2e7be37aa8763f307c4f2318 pristine_git_object: f366ead90609e09c26aad778c6bf31f3c8de046d - docs/Models/Components/PolicyValueTypeJson.md: - id: eac3a3f22058 - last_write_checksum: sha1:a16f17f1d2cf9403afc98dcc1a6a9a1bcb9cf495 - pristine_git_object: 7bd3e6614651f929aa5c9d90cfdce815777b6355 + docs/Models/Components/PolicyValueType.md: + last_write_checksum: sha1:56153d9df538053b1221165e68da0c371855dc59 docs/Models/Components/PollResponseJson.md: id: 00863ceafa0a last_write_checksum: sha1:4512ba0863d23b233fbde7cfb53ddbc9a584e856 @@ -3716,10 +3552,8 @@ trackedFiles: id: 2a6b33b923c9 last_write_checksum: sha1:0b3b996ae06bfa165fcdc82695f54c1d4e248259 pristine_git_object: 01ce36c09a675559a10e6eb30ef32f00d5ad979a - docs/Models/Components/ProgramItemLiteJson.md: - id: 5749d3ae6463 - last_write_checksum: sha1:9f033c0fccb7b1a2f8f0252d8e6f5ec19db18d4a - pristine_git_object: 28cb13be1a1d80a0f1b3e0f9eeb46848328c4b75 + docs/Models/Components/ProgramItemLite.md: + last_write_checksum: sha1:fee3d88982e43d1c141f632a9587d3978d83b0ed docs/Models/Components/ProgramItemPaginatedResponse.md: id: e5614df7d4c5 last_write_checksum: sha1:fd964d47b89f6741d1c8b89b26e5f30872c36842 @@ -3734,7 +3568,7 @@ trackedFiles: pristine_git_object: 3eb6808319f32f85b083a6fa920267ccd0089ab5 docs/Models/Components/ProgramItemSpeakerPaginatedResponse.md: id: bae78e038224 - last_write_checksum: sha1:0a9047c3e4b2155cebfab4f0afd587d82fbefdfa + last_write_checksum: sha1:3eeadb1a73af4e8e0f807e20e46ff9b5be63ac60 pristine_git_object: 5bf39547a37dafcea70a8b880f526bbfaa8974e1 docs/Models/Components/ProgramItemUpdateRequest.md: id: 2ec980d897ff @@ -3744,7 +3578,7 @@ trackedFiles: last_write_checksum: sha1:aa9aa52ec31d3c61aba114f33ddcffc21dd29778 docs/Models/Components/Property.md: id: e8101e26ed97 - last_write_checksum: sha1:0d4d38e46f8981b64cae2fbbe7a7bf8e0b6fed0b + last_write_checksum: sha1:aa8f578553bc387337ef0837230f5905bdd3cc0e pristine_git_object: 96ca4470ba564ba9e8b381d581e592726ad8a2a4 docs/Models/Components/PropertyBrand.md: id: b4d48041a09a @@ -3764,7 +3598,7 @@ trackedFiles: pristine_git_object: bfc57b9f1642dc659baccf7e8a50c96ef68365b0 docs/Models/Components/PropertyRoom.md: id: 5cf268238bd6 - last_write_checksum: sha1:7cb03383b18c8d1a0c61389a5456f94614bbdfbb + last_write_checksum: sha1:9de5e9f01580607370887b07954426753649beb7 pristine_git_object: c967179362a7311542ee64fbb13d9729a4096038 docs/Models/Components/PropertyRoomExternalCodeJson.md: id: f694b89babbe @@ -3780,31 +3614,29 @@ trackedFiles: pristine_git_object: 894f05457b5fe35a711674ccb3e70c28b56b5e5d docs/Models/Components/ProposalDateJson.md: id: b1d2c04a6cf2 - last_write_checksum: sha1:a985c9a61f9df1dae0dba125ba86eb2463a92b92 + last_write_checksum: sha1:cd1e8408f12f3cc5ed332788866db5e0ceae951f pristine_git_object: 8ca8a7ecdf74220f75584c1e6886cf966d8f5e7f docs/Models/Components/ProposalRequest.md: id: 54618ee28461 - last_write_checksum: sha1:ee4ebf58933f037b43e230bb154b41c603aa7e12 + last_write_checksum: sha1:8ad273c3506ab73964acfe045ad4ecb7997ce997 pristine_git_object: bd5480d8d23631c5eb656fd33d197d7c62e8f762 docs/Models/Components/ProposalResponse.md: id: d75b7b3f798d - last_write_checksum: sha1:77623c1bd13548f4fbc74b6f4fbcd62baae96bc4 + last_write_checksum: sha1:be003ba744f2d0a7d1de8e3d430267054e8dd378 pristine_git_object: c5eaebde280f9cea82e97273a6ec473068f0bf30 docs/Models/Components/ProposalStatusJson.md: id: 165e8ff1538b last_write_checksum: sha1:9a1d6258ce8cf6fd554b301158b25951137df3a7 pristine_git_object: 6ba298f363274713e4b167c3313b78bd2039084d - docs/Models/Components/ProposalStatusTypeJson.md: - id: 80e3c8174834 - last_write_checksum: sha1:06a8fda4e7d9d1d8f7d77afef3c1f8b6ef7d870e - pristine_git_object: e02afb3aa972e0f8eacaea6e3c5ea38dea22dc73 + docs/Models/Components/ProposalStatusType.md: + last_write_checksum: sha1:463c24a20b481e825cba9c0da3c67f226d158d9e docs/Models/Components/ProposalTypeJson.md: id: bde320429941 last_write_checksum: sha1:40f954239cbd1ceabd3eec8bae47c21f1f4e5cf8 pristine_git_object: 006e12c0b2b680064315954591998ab2fc5339ca docs/Models/Components/ProximityJson.md: id: e4ac77fb5200 - last_write_checksum: sha1:72c41b3e652109d049066ba636c50df622874abe + last_write_checksum: sha1:bec78908b5dcfa2ea1be785ed1a78d43714d55c1 pristine_git_object: 751d856be3a8dad5db8f9af2b052c3047be039e7 docs/Models/Components/PublicUsagePlan.md: id: f665b0cfefdf @@ -3832,10 +3664,10 @@ trackedFiles: pristine_git_object: d20b7b292f37958b4ba0edb75ee5881cd848a243 docs/Models/Components/Question.md: id: 696d4285c18a - last_write_checksum: sha1:fd854f2f925313624ace85de58351f22ca137acc + last_write_checksum: sha1:86868edcbe08acecc7092dcb454eb903d66fd098 pristine_git_object: 180da1cb6747062669bb7f48e6b0b5614f490475 - docs/Models/Components/QuestionClassificationTypeJson.md: - last_write_checksum: sha1:f0bedaa521822c2715b0a63b158c3bafd98bf782 + docs/Models/Components/QuestionClassificationType.md: + last_write_checksum: sha1:b69a983cd8e4fd7061ba37f182b9048340a251ff docs/Models/Components/QuestionDetailJson.md: id: 7973b8328a2f last_write_checksum: sha1:8b3a2bf295463bbeb4f12a5ec1e79a6acf7536f9 @@ -3844,98 +3676,72 @@ trackedFiles: id: d6b2969074a4 last_write_checksum: sha1:90babf488a77edbc0764ea800ab7d1ee2aa97142 pristine_git_object: 2a953b929280a8672be092d713803ae5c4d0b352 + docs/Models/Components/QuestionJson.md: + last_write_checksum: sha1:4e910a5d1517fd48d4916d390cf330ac4afc1bad docs/Models/Components/QuestionJson1.md: id: 11919887dff5 - last_write_checksum: sha1:545ca9bf7fead14b681375d2dab89674dab3f477 + last_write_checksum: sha1:04bf6f8a357d9c5cfe2e4965f4b3a46f147d15a0 pristine_git_object: 7e436fd511c924fd0f6634988536341c00a508ff docs/Models/Components/QuestionJson2.md: id: bd5c97e35d21 - last_write_checksum: sha1:f255e047d06df7468d92654329340d3807aac2da + last_write_checksum: sha1:8b0e9daa311ee1f1fdc73f6a915cfe0809d3cd9e pristine_git_object: 48cbe14482da5002f85245ff77a30bf0b6f4311c - docs/Models/Components/QuestionJson3.md: - id: 0f7fa7355dc7 - last_write_checksum: sha1:8ba98d1f0d61b863f4e7871d0194b2765f968f45 - pristine_git_object: a3ad8732da9a3987ddb7f250979216ad72528440 docs/Models/Components/QuestionPaginatedResponse.md: id: b15c62d39927 - last_write_checksum: sha1:345b8c2e468279ebdc54cb891cfb012c65309ba5 + last_write_checksum: sha1:a4f731fa41ba217d1821d212e617b6f517cdea01 pristine_git_object: 9e0cd5ee2c60bb5d28a1bc9e9cf162205cbbc2d0 - docs/Models/Components/QuestionResponseDataTypeJson.md: - id: 3cd9d7dac009 - last_write_checksum: sha1:c913f243e51ab0ef52bf6a1fd99c7736083d4a78 - pristine_git_object: 3414933ed12d57623a7f3d4f9de4ec48f2661a29 - docs/Models/Components/QuestionResponseFormatJson.md: - id: 6885476788c5 - last_write_checksum: sha1:ca53f7e0323b8354fc7704f73523e78ae971f4f9 - pristine_git_object: 4a6365a5544f64b14fdde52c4d2aa2f3f19bb85f + docs/Models/Components/QuestionResponseDataType.md: + last_write_checksum: sha1:e8290ca431e00e9701682ad24fd9c831a12ee29e + docs/Models/Components/QuestionResponseFormat.md: + last_write_checksum: sha1:17c4be784cbda70e0a52a07314d97bbd378a4c69 docs/Models/Components/QuestionResponseJson.md: id: 8287d219f9f4 - last_write_checksum: sha1:8263861e11be070afdb0e2548d73c6b3583229c3 + last_write_checksum: sha1:dfa7aab87edd9e6fb6323ad739f48aaeecbfcb8f pristine_git_object: 01fba7610613f3908208a5a62d5bfba59edc87ca - docs/Models/Components/QuestionResponseTypeJson.md: - id: 1bb9c0b9aa43 - last_write_checksum: sha1:331f4f6c6b5b5bf9553099b0ea9fb8c8affc7c9e - pristine_git_object: 763c29527c6c50ea99485e0e97a75c991599113d - docs/Models/Components/QuestionSectionJson.md: - id: 3fd6ce4df377 - last_write_checksum: sha1:d11001f37e6c893050787deb514777e63b547e3d - pristine_git_object: 455737ddb5117e298da3ba1a869e4b016b89cbef + docs/Models/Components/QuestionResponseType.md: + last_write_checksum: sha1:0e5be9a50d3ecfc2821a6e65a77dada12595c2a9 + docs/Models/Components/QuestionSection.md: + last_write_checksum: sha1:6b7b676da6afca46ef8e722289a20391b522261a + docs/Models/Components/QuestionType.md: + last_write_checksum: sha1:a56e916c6167cf16d18c1a357b44a2f6876dc0e1 docs/Models/Components/QuestionTypeJson.md: - last_write_checksum: sha1:7f2a13bdf48a432ae1844ca4bd3462a8106da9b4 + last_write_checksum: sha1:7b95687d32f30a4da7aa2adc140fc912bda0965b docs/Models/Components/QuestionTypeJson1.md: id: b03f97943a9f - last_write_checksum: sha1:ba0b1ddf41762feb58a72f3041b19815eb988b53 + last_write_checksum: sha1:f1140da620215394b4d588a52d34eab69453654f pristine_git_object: 9fff60165a9881b9c9d9135690f07cf60db9b5e1 docs/Models/Components/QuestionTypeJson2.md: id: 4a1c0c26dff0 - last_write_checksum: sha1:d2110a780ef7f193cf25e560ad8b1c5b031fe409 + last_write_checksum: sha1:53b666450d45b3b6c1c54d35cc90e929dadf6c94 pristine_git_object: 0c1b6d559e08b4c01961520c8988a7b7bedc9219 - docs/Models/Components/QuestionTypeJson3.md: - id: 1f1a7cac78f5 - last_write_checksum: sha1:546a90b41076b8647d2dbfca8737fc0e2acbdb15 - pristine_git_object: b155046661b1d8c5c600aded9303c7ac3bfb338c - docs/Models/Components/QuestionWithProgramIdJson.md: - id: 71460a8b6a2c - last_write_checksum: sha1:2e1c7cafbb6306f31c6ec58cacec5c04025170d2 - pristine_git_object: d4c0bc93caa25c883768db6e64863e7d1261b48e - docs/Models/Components/QuestionWithProgramIdJsonTravelProgram.md: - id: 316438d95107 - last_write_checksum: sha1:882a69aa4dab41a124c4e53661833de8c6d212a3 - pristine_git_object: 8018efea4eb9dacb7b3c128a0b7219787989b014 docs/Models/Components/QuestionsPaginatedResponse.md: id: b4a3d5ce9358 - last_write_checksum: sha1:92e517867521ce2662b7152223728d34f9851936 + last_write_checksum: sha1:c7f53e0c7a0aa6a7178e6109982660123e5ab17c pristine_git_object: 66195d46cdb5dad904b9a8f5dd8e487d587db804 docs/Models/Components/QuestionsPaginatedResponse1.md: id: 8b89d4cde347 - last_write_checksum: sha1:74c5dc4c173ba8b414a9ad40fc50d2ba79e6b7f6 + last_write_checksum: sha1:7d7516698127c1a33452df914e9fd8c369b4ed55 pristine_git_object: de3e3a100b74fcc302f144563abebac46a0f6aeb docs/Models/Components/Rate.md: id: ddc8aee5ad5b last_write_checksum: sha1:64203b957b085622ea99afedec3c7722f9769419 pristine_git_object: 48d56b05368cefb7a589f0e5a4a5c7ffc3134e3c - docs/Models/Components/RateLevelTypeJson.md: - id: eb19586cdca3 - last_write_checksum: sha1:f741a8e2f86e45fdd86e1ec3f6a776d8113cbde7 - pristine_git_object: 5fe1f80b725553534f726cac6b9a9c6a15fa3d0a - docs/Models/Components/RateReviewStatusTypeJson.md: - id: 7505d9ed51ac - last_write_checksum: sha1:660ec28cdfbd440344fc0ca4de17af82ac8b95f1 - pristine_git_object: eaa9e42c526bc2a321be674af48825e6e5e10aed - docs/Models/Components/RateTypeJson.md: - id: 401be5226224 - last_write_checksum: sha1:2300aa9ac3943015e83f12f59361f988d047f1a2 - pristine_git_object: 77a37b383829257161e95f420ea45430c9fa8471 - docs/Models/Components/RebateTypeJson.md: - last_write_checksum: sha1:f25d9ebbd9280ab5ed7464934c97b7fc3ff533ca - docs/Models/Components/RecipientInfoJson0.md: - last_write_checksum: sha1:873926ec5ff35c148eb8e3eb1146148210b12252 + docs/Models/Components/RateLevelType.md: + last_write_checksum: sha1:a40db0de7760a356fca28b63d5a17869b3d84ab9 + docs/Models/Components/RateReviewStatusType.md: + last_write_checksum: sha1:1da998964cd8e44485cbe90048dc922ae9bfa168 + docs/Models/Components/RateType.md: + last_write_checksum: sha1:80572e26f1a5735bfd16365a82e4f5789ac1301c + docs/Models/Components/RebateType.md: + last_write_checksum: sha1:5992566f2edbc8748515198ae9e7696fce7a9601 + docs/Models/Components/RecipientInfo.md: + last_write_checksum: sha1:f9ea2da400df33136dca580ee6e81c6f54c18b24 docs/Models/Components/RecipientJson.md: id: d7b1d1cfd962 last_write_checksum: sha1:94561f464540ea2ab9f74cebb7fdaa2b58914a1b pristine_git_object: 320b432706f1d2680e2d94c4590ec96eab7679a3 - docs/Models/Components/RecipientTypeJson0.md: - last_write_checksum: sha1:2a9e6f4334182ffd3e7d4b11661e9f2acafc8983 + docs/Models/Components/RecipientType.md: + last_write_checksum: sha1:f471eeefcfd9042904a3a046e5b97701eaac920a docs/Models/Components/RecipientsDataJson.md: id: 1c9ee3c102bc last_write_checksum: sha1:4bd5da4926ebe1095ca846610bb7f716e02cf808 @@ -3978,11 +3784,11 @@ trackedFiles: pristine_git_object: 5b5076d39b40de7086aa1e2996777b1e4c2e0df5 docs/Models/Components/RegistrationPackRequest.md: id: 61162104d22c - last_write_checksum: sha1:6f6f5e4782198a86c8c912dc0706e1e20e03601c + last_write_checksum: sha1:73ba81cb6b0c62d5430368d97650377fe62b8e95 pristine_git_object: 7d8f2260e5106670cf01994f07594faf6db0d080 docs/Models/Components/RegistrationPackResponse.md: id: 1f9cfb026e2e - last_write_checksum: sha1:83f146199a68463dea8530b1deaad3060f1c019c + last_write_checksum: sha1:b34afca851e5fe248cc8d0175d5bafc5166b8d51 pristine_git_object: 766f1a3a9c48d7544f0aa5ecdc83c48b3f670fbc docs/Models/Components/RegistrationPath.md: id: c2768dd85ec4 @@ -4034,11 +3840,11 @@ trackedFiles: pristine_git_object: 8e50d8c85c4c09fa240d8092f3331a1832c1feac docs/Models/Components/ReservationGuestJsonInput.md: id: 8d8d96a93f41 - last_write_checksum: sha1:7159f708884442d9c8b91269aa6180fdd54f08d4 + last_write_checksum: sha1:9a1f7adadf2ebe46186555d7bbed1c0da07031d4 pristine_git_object: 94b9a3ea3bf5efffa443ee865a36dd80f13075e9 docs/Models/Components/ReservationGuestJsonOutput.md: id: 3c4bd09d553e - last_write_checksum: sha1:afb206240aa8e38b35bc49869f5fb714e99e1b4c + last_write_checksum: sha1:7a8e0ba6439d8726a996e249b10c57dfa9b2eb93 pristine_git_object: 21e64391abe3a3259d6d3b3a673b7a745a0f8dc1 docs/Models/Components/ReservationNightJson.md: id: 4226739ed83d @@ -4054,11 +3860,11 @@ trackedFiles: pristine_git_object: ecf1530aa62b40dc1622cf140a05cd5fb9230961 docs/Models/Components/ReservationPaymentInfoJsonInput.md: id: a99e1cabb766 - last_write_checksum: sha1:50e1d649a5b409463828c977e08c7a6cb1483bc9 + last_write_checksum: sha1:92cc3e73e980313c590efa2dddeaeb13d427e2e7 pristine_git_object: f6d5642c2b5537f14e5f77743df4d01a0b1b56ba docs/Models/Components/ReservationPaymentInfoJsonOutput.md: id: e301624b67cd - last_write_checksum: sha1:c3543f4ec1c41a156cfd36c093062504b5dc73d7 + last_write_checksum: sha1:eca0b09f791a4168d09259ee33664a5eb5200826 pristine_git_object: d3b58f48d19c448ffc2fc2ff20f7a793382492d5 docs/Models/Components/ReservationRequestBlock.md: id: bce0d5720624 @@ -4134,7 +3940,7 @@ trackedFiles: pristine_git_object: e392f4ee4c4e47f0a1f14ec100f4ae98b89bd2f1 docs/Models/Components/RespondentJson.md: id: e6a92e72262a - last_write_checksum: sha1:1590db70fbe95bcd7274d038cd2a04e07493ae0d + last_write_checksum: sha1:adc9bdcb4c769e297baa9dcc94a9c611bee812ef pristine_git_object: 1fbb2e1bf8085c4e8dd5e389b00a21817f895279 docs/Models/Components/RespondentJsonLinks.md: id: a84a443bdfeb @@ -4169,75 +3975,71 @@ trackedFiles: last_write_checksum: sha1:8add85ce93cc740573170e85ee7a44315df45344 pristine_git_object: 705702a094cddeec825abd7285aeb6bc5d6e6fd8 docs/Models/Components/Rfp.md: - last_write_checksum: sha1:b845d0a261157e5d8439f817aebfc033b65bd498 - docs/Models/Components/RfpAgendaItemJson.md: - last_write_checksum: sha1:a7060ffffbdb7f2e76e545ffed7f19bc63f8abed - docs/Models/Components/RfpAgendaItemScheduleJson.md: - last_write_checksum: sha1:60f0a8cae7c15b4fd7222d24ce574b52d02605d2 - docs/Models/Components/RfpAgendaItemScheduleWithIdJson.md: - last_write_checksum: sha1:8b7eda66e425445d5b491b4899b78cbcfc7648de - docs/Models/Components/RfpAttachmentJson.md: - last_write_checksum: sha1:a7a8e71ed59a00c026ad70d9c624ca8f02fd3f55 - docs/Models/Components/RfpAttachmentJsonSupplier.md: - last_write_checksum: sha1:3d0fc8dc2da5baf11dac0b0802f8600a6e682fca - docs/Models/Components/RfpCustomFieldJson.md: - last_write_checksum: sha1:f95657f26455613ce4354954b4d17948738d681b - docs/Models/Components/RfpDateModeJson0.md: - last_write_checksum: sha1:3be5974cbd839abdaccf1a14ac193f0fbe1bff4e - docs/Models/Components/RfpEventJson.md: - last_write_checksum: sha1:e34a9c87e3a8fb34eb44184b749f07ea912ee5ee - docs/Models/Components/RfpEventOrganizationJson.md: - last_write_checksum: sha1:381a78756df8e49401bc24cf18e01d5e19e661b7 + last_write_checksum: sha1:f785d381f47d1af47df08654893154e8e0bf6de6 + docs/Models/Components/RfpAgendaItem.md: + last_write_checksum: sha1:559a764a17ca09987ff228b56cbaabc1ad662e4a + docs/Models/Components/RfpAgendaItemSchedule.md: + last_write_checksum: sha1:ec8d0a39a65a3589655cb2413c6ddd765a109b9e + docs/Models/Components/RfpAgendaItemScheduleWithId.md: + last_write_checksum: sha1:7ab7a060066d5058fd1d8b5d5c746129f8ff3582 + docs/Models/Components/RfpAttachment.md: + last_write_checksum: sha1:fee878a394da533a63248da07d2420d9444b9fcc + docs/Models/Components/RfpAttachmentSupplier.md: + last_write_checksum: sha1:7c5ca3353c7f84e3a03df9e207e9b84610bc0acd + docs/Models/Components/RfpDateMode.md: + last_write_checksum: sha1:3121c3aac029d18f5c5d915840e6f08bb6950c2a + docs/Models/Components/RfpEvent.md: + last_write_checksum: sha1:dda425794f231ef322b98ec9f9891539cc99b77f docs/Models/Components/RfpGuestRooms.md: - last_write_checksum: sha1:1b7e899f8d0f7f1f713b1f4c947484ab54ac02d6 - docs/Models/Components/RfpIdJson1.md: - last_write_checksum: sha1:6ef7e048edaa0ee49ea1a6cfb910929ed9da93ea - docs/Models/Components/RfpInternalDocumentJson0.md: - last_write_checksum: sha1:bc77a40253b47203445609f34f573aaa5a1cb1bc + last_write_checksum: sha1:df279ece45e8bac75b1f92cbe1b9802d9ca3d17b + docs/Models/Components/RfpIdJson.md: + last_write_checksum: sha1:15fa908e4938db4fcb2998d48663e0ccda3fa1f6 + docs/Models/Components/RfpInternalDocument.md: + last_write_checksum: sha1:deca64fce5ed897883b9380d4484f5c19052be0a docs/Models/Components/RfpLeadSource.md: last_write_checksum: sha1:bea2feeb8ba32bbd171f982ec5f88329227a61e3 docs/Models/Components/RfpLeadSourceSection.md: last_write_checksum: sha1:eabe099f006fbf160202cc4a64cc57d8113d6a6c - docs/Models/Components/RfpMealJson.md: - last_write_checksum: sha1:91fd89904e747bf7f882e444591317921327dfcd - docs/Models/Components/RfpPastEventJson.md: - last_write_checksum: sha1:9d8db41aa1e5833323665a8cb8e8daf37e0aafb0 + docs/Models/Components/RfpMeal.md: + last_write_checksum: sha1:cbdbf8c95e1e70bc0315b5b19f0a7e0493006346 + docs/Models/Components/RfpPastEvent.md: + last_write_checksum: sha1:9911c8ee034cffa89cdd848c56f077ded986d072 docs/Models/Components/RfpPastEvents.md: - last_write_checksum: sha1:cd6750d3c80e52aa79068f5375f00d7094904c2e - docs/Models/Components/RfpQuestionJson.md: - last_write_checksum: sha1:98399d4c5b4bb8d8728e7a1181de88ba162859ec - docs/Models/Components/RfpRecipientLogEntryJson.md: - last_write_checksum: sha1:333133fb83993ad108e4e3798b19dbfee74178d4 - docs/Models/Components/RfpRecipientLogEntryJsonMessage.md: - last_write_checksum: sha1:10ee371f998de9244d2ad8db499b9944f7753722 - docs/Models/Components/RfpRecipientLogEntryJsonSupplier.md: - last_write_checksum: sha1:9d814e88c35a874a3ebc90a34faae156a3511ffb - docs/Models/Components/RfpResponseReasonJson.md: - last_write_checksum: sha1:141581652af4f5ad91613020f47146de019273f8 - docs/Models/Components/RfpStatusJson0.md: - last_write_checksum: sha1:4e4df5e2cfec9c5c5ba7b3d097e2eebea54386a1 + last_write_checksum: sha1:0ea1719afd3937dc0a895f231b239d8834c79b3b + docs/Models/Components/RfpQuestion.md: + last_write_checksum: sha1:69ed8fd26d81922b2b1cdbdff7a031ad963520e0 + docs/Models/Components/RfpRecipientLogEntry.md: + last_write_checksum: sha1:b71859b749da427217414edcda76965d1806fef2 + docs/Models/Components/RfpRecipientLogEntryMessage.md: + last_write_checksum: sha1:66624415075449301236bb7dd66738c0e4878dd5 + docs/Models/Components/RfpRecipientLogEntrySupplier.md: + last_write_checksum: sha1:f031dca4da436f626cec7a21f5266753d5aa9bb2 + docs/Models/Components/RfpResponseReason.md: + last_write_checksum: sha1:898db4d5e6c0acde4dd0b5162855d12733d962bd + docs/Models/Components/RfpStatus1.md: + last_write_checksum: sha1:f1018ce0e53ef122f72bd4c7feec22f8b62a7d54 docs/Models/Components/RfpSummaryJson.md: id: bfb3afa9716e last_write_checksum: sha1:7c9954597877f70b82fbada64d8ad612678a0292 pristine_git_object: 026c666c5b52d4963caba694880af845fbe98a47 - docs/Models/Components/RfpSupplierJson.md: - last_write_checksum: sha1:ea881caf997d10ef524bdfbdecf7e23cde084e05 + docs/Models/Components/RfpSupplier.md: + last_write_checksum: sha1:c4ce9262085c2f62bc6eae291ac5fff4e5946c09 + docs/Models/Components/RfpSupplierLeadSource.md: + last_write_checksum: sha1:ede6a6a6d84ae2627271d22a60248eeea7e5a1f9 docs/Models/Components/RfpSupplierStatus.md: last_write_checksum: sha1:33b0c12473a630eb03c65fe0291c814291718150 - docs/Models/Components/RfpTypeJson0.md: - last_write_checksum: sha1:1b4270f0fb13b82bae48e7e7d42367e2742f2d74 + docs/Models/Components/RfpType1.md: + last_write_checksum: sha1:8d975520b354a0058d622384009083561b43005a docs/Models/Components/RoomAttendeeTypeJson.md: id: f3afb6a2bcfe last_write_checksum: sha1:385aa4a355c6f73cbd38de6259f76476eddcf4d7 pristine_git_object: fcdcbbe3155a415b9d101e2827fc43b961b9683e - docs/Models/Components/RoomBedTypeJson1.md: - id: 135488a927cc - last_write_checksum: sha1:0736d7377e4097232cc1f1f9b2877893bdf0a02e - pristine_git_object: 62fb013f04bc895f7f6b6afa93a7bd566bd19c1d - docs/Models/Components/RoomBlockDetailsJson.md: - last_write_checksum: sha1:9160150e5e2a5571a6f50bfe594dfc6b66ef5525 - docs/Models/Components/RoomBlockJson.md: - last_write_checksum: sha1:e75a1a1b8e96f6499391c60fa0444587d4f68c5a + docs/Models/Components/RoomBedTypeJson.md: + last_write_checksum: sha1:76dfc0babddcefb2fdcab013f5f2fc9f39a39a47 + docs/Models/Components/RoomBlock.md: + last_write_checksum: sha1:71a23e4febd907a3fbefd6887de9b8f08bdfc34b + docs/Models/Components/RoomBlockDetails.md: + last_write_checksum: sha1:ba1113ccc11ae19e58cb4a6884bd3bec36dbc2a5 docs/Models/Components/RoomIdJson.md: id: 016cb992c4b2 last_write_checksum: sha1:b23bd1847d1377d4d71a83914bb3c9f2b6eb5c16 @@ -4284,7 +4086,7 @@ trackedFiles: pristine_git_object: 9fd7e60d8002973e61dfa952f49b57a622dddfcc docs/Models/Components/ScoresJson.md: id: 473d86e2e327 - last_write_checksum: sha1:ecfaf321f5acf99e4bfd1b119157e3e7427d2f04 + last_write_checksum: sha1:beb060d97f8191609cb172a3c8d32067109da625 pristine_git_object: 61265bad15f585b17affca4988839321d6fdf307 docs/Models/Components/ScoresJsonAttendee.md: id: 19e053efe7a2 @@ -4332,11 +4134,11 @@ trackedFiles: pristine_git_object: 9dfd1c68dbef2b76651f33ed86aed62a9a73cbdd docs/Models/Components/SendEmailEventRequest.md: id: bee58ea2789c - last_write_checksum: sha1:17651c02990c45fcc3af29d91fca4654b5e7254e + last_write_checksum: sha1:49bd599956dc55d8fab44a1d5c3d1079635802ae pristine_git_object: 2fefb1bf364e222adf184ff52981bb3bbd81a0ed docs/Models/Components/SendEmailEventResponse.md: id: 582f806b2914 - last_write_checksum: sha1:7854311052aa9fc5d16ea87950d442202b26cd74 + last_write_checksum: sha1:0b194fd82efa5e66fd8485b34dea09cb9dd2085c pristine_git_object: 57b01320e4ecc08b38709d06875497030c06e634 docs/Models/Components/SendEmailRequest.md: id: 0662e7e1547d @@ -4472,10 +4274,8 @@ trackedFiles: id: 12c1ec759cc1 last_write_checksum: sha1:3a22d83507bb67a88f996c16eb82043e4af7f336 pristine_git_object: 054fca144b89c49cea3a837280226908ef0e524f - docs/Models/Components/SessionLiteJson.md: - id: e7b0105679ae - last_write_checksum: sha1:ab9550f13d2749e0eb9ec301598c11381163ee12 - pristine_git_object: 9bc7b18672ae030027a7a15fc7fb96c6734d25b1 + docs/Models/Components/SessionLite.md: + last_write_checksum: sha1:2ad5e9a4c4e7b9a8b12ffc86bee716154f248c54 docs/Models/Components/SessionLocation.md: id: b9845a8959cf last_write_checksum: sha1:fb785fd6f012f42de97a993e413ab5e311643d30 @@ -4506,7 +4306,7 @@ trackedFiles: pristine_git_object: 0296e37495a0676d4751c19ba1d639c536bbc30d docs/Models/Components/SessionQaMessage.md: id: bb2858313bb8 - last_write_checksum: sha1:6e5bbae779bbbc8f7cb3c0ca68c28aac281f4e65 + last_write_checksum: sha1:287837e2c1f09f21dcd71c659f91f0e4005bd307 pristine_git_object: c5b7033c8772676c3fbe5a87be83b2b744d4672f docs/Models/Components/SessionQuestionAsked.md: id: 101cbd2c9503 @@ -4524,17 +4324,15 @@ trackedFiles: id: 86f37a4a6f30 last_write_checksum: sha1:e8343ac0c7b16cbff340d71b8bf649845b256338 pristine_git_object: 1d23f10ff9d8970073fbd9d5dc2c9990697d4a84 + docs/Models/Components/SessionSpeaker.md: + last_write_checksum: sha1:a86c774bcbb56fb693c0cb6814d0f888c63be8a1 docs/Models/Components/SessionSpeakerAssignment.md: id: 45903d4c3380 last_write_checksum: sha1:d9bcc008c00be9a365e6b64d1212770959c4f56b pristine_git_object: 9d10e371dc1d0370a4b285bf2f7e0b7f40658def - docs/Models/Components/SessionSpeakerJson.md: - id: ec022629e9eb - last_write_checksum: sha1:42e43adbb81623c8462cff38a3802e1876a8544a - pristine_git_object: d65e881f11b17ecd94728ec18b31b118ca5aa207 docs/Models/Components/SessionSpeakerPaginatedResponse.md: id: 9618cd2dac8d - last_write_checksum: sha1:508d0aebf8dab9f7fe993749b4cca732c13b6774 + last_write_checksum: sha1:3ef8bbd747414e665d146dc906a87b1923897fd1 pristine_git_object: f2c2c14c39467efa129a59071061b501eac16ace docs/Models/Components/SessionStatus.md: last_write_checksum: sha1:3d6150130f77186359632e11e7dd7db6b152a814 @@ -4582,11 +4380,11 @@ trackedFiles: pristine_git_object: 295055d09f1718e411d553a5a0f245cd2c39b519 docs/Models/Components/SleepingRoomBlockJson.md: id: 0168ea97828b - last_write_checksum: sha1:f9c9c987155f3d51e9bb8271c6e1c76f645ac358 + last_write_checksum: sha1:3a63703f698fb782268240657e28f9a787daf769 pristine_git_object: 89d19c99a06e73c61cda35bb8d55ccfaa127a55f docs/Models/Components/SleepingRoomJson.md: id: 64c53f4112c1 - last_write_checksum: sha1:b2314a7254a0961441d762c1790144c33b13f923 + last_write_checksum: sha1:9e71878fca6e42bc03802262c595dc93b1c36598 pristine_git_object: b432c38e9c3fe02797154bc996d59c7a6ea694d6 docs/Models/Components/SleepingRoomRequirementJson.md: id: 7fa57002e2e0 @@ -4598,10 +4396,8 @@ trackedFiles: pristine_git_object: eb7fc3dff8d6856dd2a1bde78a332eee3490daf2 docs/Models/Components/SocialMediaLinks.md: last_write_checksum: sha1:3e8fb5d9f1a00e4ed4f028f8d1fbfafef6812638 - docs/Models/Components/SolutionJson.md: - id: dbf514528e17 - last_write_checksum: sha1:3f0b9e7d560a94758c6c2d51c505d735b2d56585 - pristine_git_object: 5769221de44888fb9c69c131ae8da55ba074a0fc + docs/Models/Components/Solution.md: + last_write_checksum: sha1:d562abef3f397c71fa9f096a3f9550243d097754 docs/Models/Components/SolutionTypeJson.md: id: 57e9e1e0a0ae last_write_checksum: sha1:6b4c70f528c4df914f86b1e1ca839fac538369f0 @@ -4614,19 +4410,19 @@ trackedFiles: id: def1b71a1b02 last_write_checksum: sha1:35105d0e843660cc7d995f52ccf15b0ce17b3485 pristine_git_object: f653e6f6fa036849152779ff0af082292f987491 - docs/Models/Components/SpaceAreaJson0.md: - last_write_checksum: sha1:8645175858b2b617a23841080a47bcd4d6337b91 + docs/Models/Components/SpaceArea.md: + last_write_checksum: sha1:fc19d2dade95b280f14ce280fe0cc1db13639f91 docs/Models/Components/Speaker.md: id: 32d4d6d3ce16 - last_write_checksum: sha1:6d0abfd2a39b694412ffa1e683580e75e73f7a3d + last_write_checksum: sha1:5c191cf2bbba53ac86ff094ab6bccc6466c7af53 pristine_git_object: 2f82bc9c267436a4e4399c26f376dfd70176ac95 - docs/Models/Components/SpeakerCategory.md: - id: 0da8b4c45614 - last_write_checksum: sha1:4da67cbfb9050dfb1e9e1f3afac920cf28b72d47 - pristine_git_object: 7dd4e9f25b68784b24ab056b0872f1236fade3a6 + docs/Models/Components/SpeakerCategory1.md: + last_write_checksum: sha1:881cb41d5c540206587358f63e3466bc39d1a450 + docs/Models/Components/SpeakerCategory2.md: + last_write_checksum: sha1:8456fb286a1e1719e1349c30517b921668b55807 docs/Models/Components/SpeakerCategoryPaginatedResponse.md: id: eb1ac1aa2d01 - last_write_checksum: sha1:0fae5b6a3f375dbb4962e39e77dc451cda46ab1d + last_write_checksum: sha1:d815c29010d5ce21ae72685961f5cd26d76a798c pristine_git_object: 022b82612e676e722d5db64a924a807169703d72 docs/Models/Components/SpeakerContact.md: id: b08e3684c9f8 @@ -4634,7 +4430,7 @@ trackedFiles: pristine_git_object: 91ef8c063bdac39c4f6d62ca44d7cb12cf7e5648 docs/Models/Components/SpeakerDocumentPaginatedResponse.md: id: c33e61d76dea - last_write_checksum: sha1:a6c7c4459e432aed5f0d5df5a1fb36726abe3898 + last_write_checksum: sha1:24379b325343f840a2449c71d3f3f6c6843c4d55 pristine_git_object: f06f093a29999e4dc54203f2b7869d1a5a2295db docs/Models/Components/SpeakerEvent.md: id: 8fbea2ca7bf3 @@ -4665,21 +4461,19 @@ trackedFiles: last_write_checksum: sha1:e0489e26a66f834ea281fc0c884802be60af65f1 pristine_git_object: 5c573ba1a7b07bc41ecfae47dd8d9241da49afb2 docs/Models/Components/SpeakerLite.md: - last_write_checksum: sha1:276d37ef6fbff76f1bbbe2938b89b395ff74400a - docs/Models/Components/SpeakerLiteJson.md: - id: 0ef839678e1b - last_write_checksum: sha1:5bdc8496f7b363255df7ea20a5efc5933376a78b - pristine_git_object: a330a586c9980db4728d9b3043eb8980cdfb3813 + last_write_checksum: sha1:0d7cf45f2d986d475403f8a6940b0c0e3408b42b + docs/Models/Components/SpeakerLite1.md: + last_write_checksum: sha1:17a358835ed09bee8c0e6be6a62467e54f314474 docs/Models/Components/SpeakerPaginatedResponse.md: id: d715b0ca3616 - last_write_checksum: sha1:257b0b66ae869555a9e78cd9401b8bfba9222ea3 + last_write_checksum: sha1:328d7b591050bc9af22d7bab969e36753ab9403e pristine_git_object: c130071ff0cfc24ffa49f8ccbd37da2ce6f3e1ce docs/Models/Components/SpeakerProgramItem.md: id: 11fe506db00d - last_write_checksum: sha1:c5e01bff085ba485ebb06c32ab9a8b14b6da84ca + last_write_checksum: sha1:77e754cb3d68eb33191bffc160cba35e2f674342 pristine_git_object: c19290c680ce00f2cfe639b5e6c412380e40a93d docs/Models/Components/SpeakerSession.md: - last_write_checksum: sha1:69a853c505894932fc5bb36fc45ffb16fb155d00 + last_write_checksum: sha1:da865820f561838a3b8f973c5dc4a6cfca005621 docs/Models/Components/SpeakerSessionPaginatedResponse.md: id: d196d535e951 last_write_checksum: sha1:a96821a5c07388badb9ddb4283667171f6822aff @@ -4696,7 +4490,7 @@ trackedFiles: pristine_git_object: 32452d8060b6a90294d82b1864baf8cd48467f16 docs/Models/Components/StakeholderJson.md: id: 6449682c7193 - last_write_checksum: sha1:f8522e653193c4df2a628a7079365cdf3253d64e + last_write_checksum: sha1:d47bf6592f0927a27125875599ff166f0ed1eb19 pristine_git_object: e71b082bb99dbf562634db42cdd31ee8801ffb3d docs/Models/Components/StakeholderJsonAddressType.md: id: b32ccc1d34f5 @@ -4734,8 +4528,8 @@ trackedFiles: id: 3327d74f05e5 last_write_checksum: sha1:e0f4e3c3df9ad526705c823f38b1ec2f25faeecf pristine_git_object: 450fbfc2580deb354403ea2f44ce7dedff04bf11 - docs/Models/Components/StandardQuestionJson.md: - last_write_checksum: sha1:c734b7f27104079d691e80261d021b93324b6818 + docs/Models/Components/StandardQuestion.md: + last_write_checksum: sha1:ca207db79a37960f7edb4ca97d8f2fdb952bd0ec docs/Models/Components/StandardSurveyEmailTemplateJson.md: id: 92183bd5edf6 last_write_checksum: sha1:751410d944f5828fe6ae46bb2be4cc2e10ab6439 @@ -4746,11 +4540,11 @@ trackedFiles: pristine_git_object: 3ff87245f73996ab31a2517e381ba90e1a1db68a docs/Models/Components/StandardSurveyJson.md: id: b8104bbf96d4 - last_write_checksum: sha1:27ddf602cafcd8c7418582e4ec599a41fdf83fa8 + last_write_checksum: sha1:1a939dbe41a9a6339fb17fa549238520aa6ebeca pristine_git_object: 06cb63c9bf40c9ef7a978084e93880bb9bc2a606 docs/Models/Components/StandardSurveyQuestionJson.md: id: 5b14f983c090 - last_write_checksum: sha1:ea58ee4c972fea0ea64b1e05bc15bf0c4065bee7 + last_write_checksum: sha1:7cdd7700b8f6bdfc7d31e94cc366aa44b6eaf64b pristine_git_object: dcb66e926cbdcab8d9a7bd04f1af60370883fc28 docs/Models/Components/StandardSurveyQuestionsPaginatedResponse.md: id: ec0d58b2a1a0 @@ -4823,17 +4617,15 @@ trackedFiles: last_write_checksum: sha1:1f7f9607963f51a98adc4f965b8699f08481ce29 pristine_git_object: 11bc5c61313262f7701c7d39364119c2064f6625 docs/Models/Components/SupplierResponse.md: - last_write_checksum: sha1:64f2cf146d2b7f3266e2dbc5aa04b0fc43e078b4 + last_write_checksum: sha1:dc4e38890b16df545f7b508a2bef005a306ca9ad docs/Models/Components/SupplierSummaryJson.md: id: 774dc1483ea7 last_write_checksum: sha1:45c1598f64208ad93b757994f97f5fca8fe903e1 pristine_git_object: 4730076d607510c99e9e7f1e98ea1f2ae6e345f2 + docs/Models/Components/SupplierType.md: + last_write_checksum: sha1:55596bae86f9bdec8c296eb7e3069d2b7a4e169a docs/Models/Components/SupplierTypeJson.md: - last_write_checksum: sha1:7c00997e5bd3efc2f5a72ad6710ef6f154c58cbe - docs/Models/Components/SupplierTypeJson1.md: - id: 88f89028ba2f - last_write_checksum: sha1:e8e0afd5ab46dbc6d96fc1d9025cd6a80b5e8edf - pristine_git_object: da942b6b857c5114e5ba528e005cc1e24000a464 + last_write_checksum: sha1:9eb5170d4c36b6f0d5b01ed76d8805d972c9406e docs/Models/Components/Survey.md: id: d9e9be5d78b0 last_write_checksum: sha1:e49d8affef3fb717bb867387361193cdc82ae592 @@ -4842,13 +4634,11 @@ trackedFiles: id: d9bc41acb543 last_write_checksum: sha1:d914e31283dbc420d1b15238b93fa442673c3605 pristine_git_object: a5b106f86647c254f8dd13608c56c26aa02c63c3 - docs/Models/Components/SurveyContactIdJson.md: - id: e90a6412929a - last_write_checksum: sha1:72220e017af605d29d7f4165bee4c1f61b315a2b - pristine_git_object: 9e7821ffa663dd0883f54ecf9f122df80ac8a257 + docs/Models/Components/SurveyContactId.md: + last_write_checksum: sha1:bc20ade9646d20fd96eff2cbc5f8445be15bfbcd docs/Models/Components/SurveyJson.md: id: f6539e70d313 - last_write_checksum: sha1:05e9c3dbdc852a6531494b1372ccf49cde5ed3d6 + last_write_checksum: sha1:3fc6ad594f0e649a5c45445bfaaf2efe4f56f766 pristine_git_object: 2b0ce1593fb6b24c036152f4274b122cd4497e58 docs/Models/Components/SurveyResponseJson.md: id: a47df21ec58d @@ -4892,8 +4682,8 @@ trackedFiles: id: 1faf0ea4d3e2 last_write_checksum: sha1:414510b0b8f1825b50200bf180205499e76b2f90 pristine_git_object: 694e40516a5ddbf6fc7522d928e509a60410d6f1 - docs/Models/Components/TargetTypeJson.md: - last_write_checksum: sha1:b36f469d937853826c72ee76a2a62cbf5f047d89 + docs/Models/Components/TargetType.md: + last_write_checksum: sha1:bb9b8ed42e427c2f73e9162785f32c05533764ae docs/Models/Components/Tax.md: last_write_checksum: sha1:ed5d569c64853a5a720d583eef5e18c70f609ffd docs/Models/Components/TaxAndFeeJson.md: @@ -4906,36 +4696,28 @@ trackedFiles: id: 2ad5318f34cf last_write_checksum: sha1:998903d8fc580eff68cf207902d6adb13f217745 pristine_git_object: 8449d6ac7e3565efb6b927a3d9a736f896359c11 - docs/Models/Components/TaxTypeJson.md: - id: d46a4e884021 - last_write_checksum: sha1:f988027a92c610c51ab879dee71e333bbde4d1ba - pristine_git_object: b8ab0de40adee1f796209039a3560283b84ddbf1 + docs/Models/Components/TaxType.md: + last_write_checksum: sha1:aa5ea4e5e0e141eaa592353bba4bdb2a65f5c7c6 docs/Models/Components/TaxesPaginatedResponse.md: last_write_checksum: sha1:e5d1f1bd7c9cc9ae4be5c36da9ba6ba6ea4aefe4 - docs/Models/Components/TextAnswerFormatJson.md: - last_write_checksum: sha1:1a2903955c0bd1c4dcdea19883a043ab216f8319 + docs/Models/Components/TextAnswerFormat.md: + last_write_checksum: sha1:e4cb3bab22caf6e20f51137b48d332f97accd4dc + docs/Models/Components/TextField.md: + last_write_checksum: sha1:19dbf3ef871ba76237f90ff724abecc53291e8cc docs/Models/Components/TextFieldJson.md: - last_write_checksum: sha1:4aae77c42500eb8023933504367afac352d68407 - docs/Models/Components/TextFieldJson1.md: - id: 49961d0c03fa - last_write_checksum: sha1:7987ddc9c67612416a255ad2aeeee4988ed0e28f - pristine_git_object: 3ef01a43f6e275780f6ae20a06303dd0bf7f783e + last_write_checksum: sha1:e5aea486ed7be964fbb34dd36b51db2e5b732462 docs/Models/Components/Three.md: id: 3f27362616f5 - last_write_checksum: sha1:4974e77773ad1c4d449be1ed542f6fa2a1bd6ead + last_write_checksum: sha1:6ad109c8843afb343afd6fdc7068f14fc8ccb388 pristine_git_object: ec3670db365c77d1d08759db049fcac31e0978b3 docs/Models/Components/ThreeInput.md: id: 672ba03ab19b - last_write_checksum: sha1:1a966154cfb2cee52a6f9ec06d93df74c1b8978e + last_write_checksum: sha1:49473a74b3e9ba1ceb094369f5bffa8d12acc509 pristine_git_object: 7541815fd5fbe0970fcc06120b962bb3ba234441 - docs/Models/Components/ThumbnailStatusJson.md: - id: b08883ed69c2 - last_write_checksum: sha1:6d005c68b28e9cd2c2cc9d36da8de2f7cefcdc35 - pristine_git_object: d024fc64066ceb52aaeb2962384780e114270f5b - docs/Models/Components/ThumbnailTypeJson.md: - id: cb7dfaf7f155 - last_write_checksum: sha1:896d81ce8b0e16ea299d7ba935ef5269d6f46342 - pristine_git_object: 2d580eebca203e789a8cd5c241f7c8b2945b2af1 + docs/Models/Components/ThumbnailStatus.md: + last_write_checksum: sha1:4759a7b843f1321ad5db55c304933df2d31af31b + docs/Models/Components/ThumbnailType.md: + last_write_checksum: sha1:b808681df77afc1e1fca4288480b842074e47bcb docs/Models/Components/TicketType.md: id: b4d9b251e418 last_write_checksum: sha1:438da52c832abf6aabd25de695a79af9c99bb93d @@ -4961,7 +4743,7 @@ trackedFiles: last_write_checksum: sha1:6b4cf92f464b0b3e3d5374d5cf6fad2d7eb090b1 pristine_git_object: 9e1e4532af8c87a8765a859d98868795a2ab8caf docs/Models/Components/TransactionDetailResponse.md: - last_write_checksum: sha1:d31fe4d695e864bf93db50aae293a34f046a4bf6 + last_write_checksum: sha1:cd93081156a539e65a1bc9e76a5db8b53c72e9ab docs/Models/Components/TransactionDetailsPaginatedResponse.md: id: 8022eb67c515 last_write_checksum: sha1:c01bbdb9b5d94334ce80c641c3bdbc992113c42d @@ -4973,7 +4755,7 @@ trackedFiles: docs/Models/Components/TransactionItemCreateInput.md: last_write_checksum: sha1:b5da3b13663d2a1065319e1712697e7c3a3172f9 docs/Models/Components/TransactionItemResponse.md: - last_write_checksum: sha1:c7c5d8537563dac8e52b8d51222934195f3711fd + last_write_checksum: sha1:34723b332195eb5a6cd69db1ab0ead3408e8d9b7 docs/Models/Components/TransactionItemsPaginatedResponse.md: id: 94de2431441b last_write_checksum: sha1:c1c4f2a47123ed2c979ea24f0ee1fcf38b4b2f42 @@ -5008,116 +4790,62 @@ trackedFiles: pristine_git_object: 9d38ded99a78958962e50ec4824c1ac7638bcf2b docs/Models/Components/TravelAccount.md: id: 0341369b31d5 - last_write_checksum: sha1:272a8277bf07ca03244dc8ba88355bf3b431b018 + last_write_checksum: sha1:231864c62dc191c568c473aaae43b2455accbd66 pristine_git_object: f2c3369de6bcff31b2db0fd5486ecf6053b0f805 docs/Models/Components/TravelAccountPaginatedResponse.md: id: e9b8492e3bd4 - last_write_checksum: sha1:7de9f7613f7562171a3b1945ef4c5cdf4617b441 + last_write_checksum: sha1:c43b3b411a7a52874ec106534a3219c5c70b5f0a pristine_git_object: 634e1b54840f1386bcef854f7034b5c29bed3029 docs/Models/Components/TravelAccountSupplierAccount.md: id: 1a40ea1c5c8e - last_write_checksum: sha1:3554f4cd9e1ab24fd8419fc7654936fe217cfeeb + last_write_checksum: sha1:2e03662f7c8aa4581038bee8bb300f2fd968ddaf pristine_git_object: 73323b48551e975592238c1b7f47744d8c475806 docs/Models/Components/TravelAccountSupplierAccountPaginatedResponse.md: id: 22ce4daf7a4c - last_write_checksum: sha1:4587a4449db086c931b2d7a8468ea4ea5b6d752c + last_write_checksum: sha1:fe2fc1af7fe488865d0781d0528a0b36f5dd17d2 pristine_git_object: ca3caeb78509d990ce34ff36c876cbe0412d2e86 docs/Models/Components/TravelAccountSupplierAccountTravelAccount.md: id: a5c8cea44e73 last_write_checksum: sha1:b33d25935e6b3becd10f13c68575b5761875b09f pristine_git_object: 706d3938c1a5526612a11f43e7953ff3e22b67a1 - docs/Models/Components/TravelAccountTypeJson.md: - id: 3f2cbe603bd3 - last_write_checksum: sha1:b9154ad06e6e480147b0882649fcf25a66f63200 - pristine_git_object: 5bd15a463e682802af952d628c3b876e171de437 - docs/Models/Components/TravelAmenityJson.md: - id: a396920ef28a - last_write_checksum: sha1:ea94f13c7c240e753a20173cd5ab0a54e7daccbd - pristine_git_object: 0b9a915a1223e2532a0a8970b4fb5b1a3e4bea17 - docs/Models/Components/TravelBidAmenityJson.md: - id: d4eda0656aeb - last_write_checksum: sha1:a32864126d09e507498b41ed111388db0dd18440 - pristine_git_object: deda500d2e3a21bd68fb97cba33da79d7d224413 - docs/Models/Components/TravelBidCommentJson.md: - id: c3bd76af8d0d - last_write_checksum: sha1:f5ee6870cda158006df4c92c4d446354fecd7713 - pristine_git_object: 45a853553414f169f36a47be7f0f31d8311172d8 - docs/Models/Components/TravelBidDiscountJson.md: - id: ea6efb7f1d81 - last_write_checksum: sha1:88d60d7655c059961981d5e5e6c0679bebfd45de - pristine_git_object: fa8f6445deede956b05e6b969aa35de661bfb845 - docs/Models/Components/TravelBidDiscountJsonPropertyRoom.md: - id: a7bdaef8bddc - last_write_checksum: sha1:f6b792df53614793d07c951673a23d0a6b4e31a8 - pristine_git_object: c239d87a15973426edb8423bc2a5f42a92128675 - docs/Models/Components/TravelBidDispositionAcceptedRoomJson.md: - id: e936e65a9887 - last_write_checksum: sha1:b2cce817675ece9f3a11df0d92281cc119fb263a - pristine_git_object: dcab38e1b99dd5f892694dec59c0f9d8f84ab585 - docs/Models/Components/TravelBidDispositionAcceptedRoomJsonPropertyRoom.md: - id: 6c0042a4b042 - last_write_checksum: sha1:c3a8c02ae1d266719a0d3ac9d16630ad40ba5624 - pristine_git_object: 48f86a2fd18feba97ddd541a9a38798928e14b92 - docs/Models/Components/TravelBidDispositionJson.md: - id: 26d9cbd04d54 - last_write_checksum: sha1:f76756794ce31db0041d1693542199fc09c42873 - pristine_git_object: a831680151f7269d03bbb649d12a71d7a3da627f - docs/Models/Components/TravelBidFairSeasonJson.md: - id: 40cf6bd54822 - last_write_checksum: sha1:b23df96672324b112d083222c4052008ee52429c - pristine_git_object: 4564b53d774e9749684e75d2802ec362007050bc - docs/Models/Components/TravelBidFairSeasonRateJson.md: - id: 70e2f7561f7b - last_write_checksum: sha1:775f3c0bec2ddcc922d964be7c4346a8b17efa91 - pristine_git_object: 06bd8b2bb1e988215990e15acf5a30ef3dfe1a62 - docs/Models/Components/TravelBidFairSeasonRateJsonPropertyRoom.md: - id: 93033a9b2c3e - last_write_checksum: sha1:8c12aa8685ace724ba6aa03a804161920fb8ebd2 - pristine_git_object: 049f34da77e011cb9de4173555e12b974aea597b - docs/Models/Components/TravelBidPolicyJson.md: - id: c11045ec196c - last_write_checksum: sha1:ae33df7991dde6cf355aa8f778f055ec9ec2de7e - pristine_git_object: 5bd31154a8f596466e50c299933b3ad36c848eef - docs/Models/Components/TravelBidRateJson.md: - id: 58d2ef336ff6 - last_write_checksum: sha1:898ef56633114cfedcc144eaecadbc56222855f5 - pristine_git_object: 4795e8ed9f8d33449901959e701c3ef9bf71f9f7 - docs/Models/Components/TravelBidRoomJson.md: - id: 7e313dea7a5b - last_write_checksum: sha1:c0323a0841087d5b29b48019f814772fca1bb325 - pristine_git_object: 99bcb0a1fbe78f0f2042f7c2136c529429b3d425 - docs/Models/Components/TravelBidRoomJsonPropertyRoom.md: - id: 701dcf7d46ba - last_write_checksum: sha1:807153c46d9d56485e03d18edeed205bba0db1b9 - pristine_git_object: 03cbff21e45bcc979aecafaf04ccef0ecf696330 - docs/Models/Components/TravelBidSeasonJson.md: - id: 2d1e4c67190f - last_write_checksum: sha1:8ae4f5ea1c5fbb957c3c0a31a81d04f633e4b4a1 - pristine_git_object: ee10716a3a2c0095f7a4306d1218e1567b6ead32 - docs/Models/Components/TravelBidSeasonRateJson.md: - id: 9f0348bafa14 - last_write_checksum: sha1:8122bebfb513d59c9eda3f15c35b6e7f54d75a9d - pristine_git_object: be62cf94e20580758d2589a22779f243f3f753a5 - docs/Models/Components/TravelBidSeasonRateJsonPropertyRoom.md: - id: da2114316def - last_write_checksum: sha1:9fb9c591b8f0e12772f68193b6d25ce11051b557 - pristine_git_object: 79ab9937cf8efdbacd32d086b5b1c324cee01283 - docs/Models/Components/TravelBidTaxFeeJson.md: - id: a963bcd051b1 - last_write_checksum: sha1:680f1f87bdfe443f86cb481192e8a28be1c5446f - pristine_git_object: f34fa60f3a1eb9153ecb3c1f83f07197f14ccaad - docs/Models/Components/TravelBidWeekendDayJson.md: - id: ce605e4e42c7 - last_write_checksum: sha1:d18b5b5c43d4e0abac5c37a08180638821621b2c - pristine_git_object: cf8e54dc27205ecd762205f4295c025e2568fa86 - docs/Models/Components/TravelBreakOutRoomJson.md: - id: 1bc4923bcbac - last_write_checksum: sha1:67ac0af0bdd1a81f1973120ae99d3017e6bccb19 - pristine_git_object: 651b5de1c0e1e9c5824404b9ed980bc0702fb768 - docs/Models/Components/TravelDayDelegateRateJson.md: - id: e27fa826b461 - last_write_checksum: sha1:72e375c397bac557ac25bd7ee226280cc79a1ebe - pristine_git_object: 1d8d1bf95bd046a6cf0deab6bf73a18d288f7d6d + docs/Models/Components/TravelAccountType.md: + last_write_checksum: sha1:a7af9a9c5959c3be082ba6c17a988ac63fcea7cb + docs/Models/Components/TravelBidAmenity.md: + last_write_checksum: sha1:6118ef7a1e661c3677e85c115ad633dabe4f402b + docs/Models/Components/TravelBidComment.md: + last_write_checksum: sha1:007e0798bc9447e8d2ea634b89457c49c3478a63 + docs/Models/Components/TravelBidDiscount.md: + last_write_checksum: sha1:10d11e7b2b5748ae9f1635182facd7c98402b676 + docs/Models/Components/TravelBidDiscountPropertyRoom.md: + last_write_checksum: sha1:58169a8d556b6f2f6a44323c43e6535b9dbf9c7a + docs/Models/Components/TravelBidDisposition.md: + last_write_checksum: sha1:a05172ed1f420bc61d601007d670edd9ee26ffa0 + docs/Models/Components/TravelBidDispositionAcceptedRoom.md: + last_write_checksum: sha1:54e84d1dc829c621b037abc830d6d513aa222f2e + docs/Models/Components/TravelBidDispositionAcceptedRoomPropertyRoom.md: + last_write_checksum: sha1:90a1d08d7a55eda5372f81bead42916cc94d1349 + docs/Models/Components/TravelBidFairSeason.md: + last_write_checksum: sha1:249ca365950b470bfbf3f645fb2c7744e258cae6 + docs/Models/Components/TravelBidFairSeasonRate.md: + last_write_checksum: sha1:86f2e82afe46ecf1012cb323645ef3b4b940dc84 + docs/Models/Components/TravelBidFairSeasonRatePropertyRoom.md: + last_write_checksum: sha1:d43f900fae9f45f220a022654cabf1287e8a8d5f + docs/Models/Components/TravelBidPolicy.md: + last_write_checksum: sha1:7940a88d59f1a060980c455893d702015f3f6bfb + docs/Models/Components/TravelBidRoom.md: + last_write_checksum: sha1:c4bf9aa5aff88cd7ad8d20d3c8730b544301b493 + docs/Models/Components/TravelBidRoomPropertyRoom.md: + last_write_checksum: sha1:d8926ebb1f1d8114e7d0f58c87a9229e64c05075 + docs/Models/Components/TravelBidSeason.md: + last_write_checksum: sha1:3d78cbaca153f379ce000e91a4de1b1c5fc34d3d + docs/Models/Components/TravelBidSeasonRate.md: + last_write_checksum: sha1:a3af54fd1e14838e273c2e3acaa2114132073147 + docs/Models/Components/TravelBidSeasonRatePropertyRoom.md: + last_write_checksum: sha1:a72615c744bab9a3ea1feba9f05c9fae17a624b2 + docs/Models/Components/TravelBidTaxAndFee.md: + last_write_checksum: sha1:529af24f3ca2fb60341e44dc7863c8b4746ecf0e + docs/Models/Components/TravelBidWeekendDays.md: + last_write_checksum: sha1:2323eb7b6a9d1873e831a546e1611b53193a9457 docs/Models/Components/TravelDepartureArrivalJson.md: id: 10b2765684d4 last_write_checksum: sha1:b64eac0a919bfb342944243f97d14d88daee46a6 @@ -5130,73 +4858,73 @@ trackedFiles: id: 7d39010091d5 last_write_checksum: sha1:de46e2a54a23f18aff05b0c539b78d612173ea73 pristine_git_object: da68e0fd1935ef7f8e7d2f1554c3f7629c3c100a - docs/Models/Components/TravelGroupAndMeetingJson.md: - id: da786045996d - last_write_checksum: sha1:5227014e02f7e9f56291e03c57d2e024484b9789 - pristine_git_object: 6a2c3d95cebc6d1642eb142ab05d00d88e1b302c - docs/Models/Components/TravelMeetingRoomBasicInfoJson.md: - id: 206b0aa68c41 - last_write_checksum: sha1:ea98a269f7e090ffe9078e3f2900226dc732305d - pristine_git_object: 93bc6040ac2e0eafae8b551de1d9da5a26b087b3 docs/Models/Components/TravelProgram.md: id: 85e9f62afdfb - last_write_checksum: sha1:0535243eafaf1a8069b4af0fe8178493aaf578d7 + last_write_checksum: sha1:9a4484125beb31c795ac18eb6763d8919deef420 pristine_git_object: e95ac6e088d1b53ee8132bc221067a721de4b7de - docs/Models/Components/TravelProgramFormatTypeJson.md: - id: 5aa5fb3967f0 - last_write_checksum: sha1:557b2d0b120ed9497ff1e3245b7a13535dafd52f - pristine_git_object: 654889261b9182b17230fcdbaca9357738cf199e + docs/Models/Components/TravelProgramFormatType.md: + last_write_checksum: sha1:ff70cc3d86a33c668d412e24d2865584fd2db8c2 docs/Models/Components/TravelProgramPaginatedResponse.md: id: fd5bee73241a - last_write_checksum: sha1:4a259bce301a69a1c2efb38b6553b8452b434d2e + last_write_checksum: sha1:1def717ccd0b233f86c30c3171e86d2a5f703d73 pristine_git_object: 46150154a88239488036636f1e7682b4c6fa9938 - docs/Models/Components/TravelProgramQuestionJson.md: - id: fbc4b04981c4 - last_write_checksum: sha1:a2e530b9e0e8919160bf0c01767acf6d9553b9a2 - pristine_git_object: 1c014c51c16404662ea847832f0be91e91bc36ad - docs/Models/Components/TravelProgramStatusJson.md: - id: 0d2a89420196 - last_write_checksum: sha1:b5070ea17ac04a745b9c8f7143e147def757bfb9 - pristine_git_object: 8e96d862f9d0b95d097a31df7c0fd46195a8ea12 - docs/Models/Components/TravelProgramStayTypeJson.md: - id: 09474ba7f5e7 - last_write_checksum: sha1:a4a91b9e3a07fce950fc2664a41dfe77b13e2069 - pristine_git_object: 0f2cc986fc07f18ae50f5389db450e92f7ce4629 + 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 + docs/Models/Components/TravelProgramStatus.md: + last_write_checksum: sha1:a2320feb996116a71c5fce7b5e67ce5d6fe3d0ad + docs/Models/Components/TravelProgramStayType.md: + last_write_checksum: sha1:ff6ca5c3092a88b2d85cd91bbd119ce71e71a921 docs/Models/Components/TravelProgramTravelAccount.md: id: f5b6b04721cd last_write_checksum: sha1:9fe2ab68b4e9163706c38da24bbb7f02d7f9cd22 pristine_git_object: 46447a6f930af1a190c8a4689426e76702b19cee - docs/Models/Components/TravelProgramTypeJson.md: - id: e622a12517ff - last_write_checksum: sha1:c4d2fae1146d21d21b3a12439ffe597ba3fc4489 - pristine_git_object: 5ddf9dbe6352750c4eee58e5daac1126f78d7766 + docs/Models/Components/TravelProgramType.md: + last_write_checksum: sha1:d091e412e03896203eae3bf912277ee625dc4fe0 docs/Models/Components/TravelProposal.md: id: 5f1cf32a8440 - last_write_checksum: sha1:e58b441345398c1e7bb9a03d95a4af0a44ea502b + last_write_checksum: sha1:08b74ce7d8df7d43d853113fc5ced884546fcd0b pristine_git_object: e3a099a1b2a33bbf277d188395a147710e019d53 - docs/Models/Components/TravelProposalBid.md: - id: 54e44bb34cfa - last_write_checksum: sha1:47bfb998e437c1113bb545a4cc1bc8aa62faf0a9 - pristine_git_object: 155a8bedb75fa435afd60a51c2e16698bf4445f2 - docs/Models/Components/TravelProposalBidIdJson.md: - id: 4afd7635d904 - last_write_checksum: sha1:fc592b262778e1e263828a00e915aca6c6decddd - pristine_git_object: dd1172b99351ad115cd3958a3c2ad5b63f139b4b + docs/Models/Components/TravelProposalBid1.md: + last_write_checksum: sha1:39fb129f2db5bd2335ced635dc76392b0118288a + docs/Models/Components/TravelProposalBid2.md: + last_write_checksum: sha1:d2ae3434b4c1980cda2dd9e962c49ac5606ad36d docs/Models/Components/TravelProposalBidPaginatedResponse.md: id: b754d1ede5b8 - last_write_checksum: sha1:8d535d3bcd7dbb40e8da271241e55a9e66bfce8a + last_write_checksum: sha1:b77aa011e2b995bdee94ac1aaa116ddb13d1d9db pristine_git_object: 3f28954050529edb1c29d4643b7cbce10da08937 + docs/Models/Components/TravelProposalBidRate.md: + last_write_checksum: sha1:790f7657d8887d84547d31d82bff65542f24a16f docs/Models/Components/TravelProposalBidTravelProposal.md: id: a205f8cdcdab last_write_checksum: sha1:9759dda5b2150e0dcdcd2d54ed2b9a33cb0f2f01 pristine_git_object: 83db6ac22985f0a26e6c893ebc9df2777d89fe59 - docs/Models/Components/TravelProposalDispositionJson.md: - id: 3c5ec27b5ec7 - last_write_checksum: sha1:48c8bffe1ab4853ed679e63ca8f46cd8ec085d95 - pristine_git_object: 34be05ee83215cc0deb7fff896c9a8936f63a9c6 + docs/Models/Components/TravelProposalCustomQuestion.md: + last_write_checksum: sha1:f3e8754237227a4362fa1d1ebbd525d4c55c3270 + docs/Models/Components/TravelProposalCustomQuestionQuestion.md: + last_write_checksum: sha1:96de33740fca5d34cda84c416de8b0ff01a9f5a4 + docs/Models/Components/TravelProposalDisposition.md: + last_write_checksum: sha1:4f37f9737e4dea9f88c9e53604a59651669c9b59 + docs/Models/Components/TravelProposalGroupAndMeeting.md: + last_write_checksum: sha1:0b001ac81e301d0dc6757d19a4c90fe8fbf8bb88 + docs/Models/Components/TravelProposalGroupAndMeetingAmenity.md: + last_write_checksum: sha1:37b06118c97d8432dadb9f87d3a68559f8baac1e + docs/Models/Components/TravelProposalGroupAndMeetingBreakOutRoom.md: + last_write_checksum: sha1:5ed5d72e66ec6139ca7ab76674dc94be24dcdeb8 + docs/Models/Components/TravelProposalGroupAndMeetingDayDelegateRate.md: + last_write_checksum: sha1:d35d42f8ac19bcbcf5e9af306ffab088b0a1cd6b + docs/Models/Components/TravelProposalGroupAndMeetingMeetingRoomBasicInformation.md: + last_write_checksum: sha1:cf40c2daafe5edc8d17d233f8b9acfd362a75c3d + docs/Models/Components/TravelProposalGroupAndMeetingRunOfHouseRate.md: + last_write_checksum: sha1:1535febb53d05a3d118d05b31edb3c710dc80a44 + docs/Models/Components/TravelProposalGroupAndMeetingTaxAndServiceCharge.md: + last_write_checksum: sha1:02971c978de0143f93a13310d3b6511e69b445be docs/Models/Components/TravelProposalPaginatedResponse.md: id: f214119ba7cf - last_write_checksum: sha1:16e494cdc460de4c4b602384fdb19a6aebcb1cc9 + last_write_checksum: sha1:c75cd9389d3f965ddfa7d97172a17c189e94f525 pristine_git_object: c470452f59dfb26e086aefe0a537502cfeb0865b docs/Models/Components/TravelProposalTravelProgram.md: id: 4c91abe8bb75 @@ -5204,14 +4932,6 @@ trackedFiles: pristine_git_object: 33af777ba6d59c8ddd7c8263771b677e49437f8f docs/Models/Components/TravelRequestStatus.md: last_write_checksum: sha1:2444b12b8f951342675a4cd0004af9ca79e5f7c9 - docs/Models/Components/TravelRunOfHouseRateJson.md: - id: 27746ceee66c - last_write_checksum: sha1:ff601c23795b649ba054396999f2af008c7cda9a - pristine_git_object: c1840c2a243c0da0fb3d731631e6969a099932dc - docs/Models/Components/TravelTaxAndServiceChargeJson.md: - id: a0e654e00ee3 - last_write_checksum: sha1:8b93ab563be6f7484dcec555662fe51e844a61f7 - pristine_git_object: ee2ab1a728466803ed49a87f4f0c518710d58977 docs/Models/Components/TravelType.md: last_write_checksum: sha1:5424e4d3238c6b52afd4e2e3959fdb3eeb1158b4 docs/Models/Components/Two.md: @@ -5226,16 +4946,14 @@ trackedFiles: pristine_git_object: ad0cbfdedf338cde0bf7fad7f22c7a6c57227c03 docs/Models/Components/UTMOverride.md: last_write_checksum: sha1:93dde7329c95602fa01d6b80c436b37150e6f1e2 - docs/Models/Components/UnitPositionJson.md: - last_write_checksum: sha1:2d374284a491ce489d5d9b934718eebd63873975 + docs/Models/Components/UnitPosition.md: + last_write_checksum: sha1:d0cefb809feae8f911aab33aa3431ec58f94a7de docs/Models/Components/UpdateAppointmentRequest.md: id: ddc036d78429 last_write_checksum: sha1:bc6a6653776cfd4a7f91b6b692b90fe20a80c44d pristine_git_object: 8dae1615570b00fe7c2c7368be33aa9d957a9544 - docs/Models/Components/UpdatedThroughNamePropertyJson.md: - id: a512b530cae5 - last_write_checksum: sha1:ee214684dca04b0ed84c615006c5618997cf6a9a - pristine_git_object: 091d4921d1587a78fdbf2cbe12f02373c99b1080 + docs/Models/Components/UpdatedThroughNameProperty.md: + last_write_checksum: sha1:3656e39c81d7ae035b6f02e6131367c936816cff docs/Models/Components/Usage.md: last_write_checksum: sha1:f9afed79a75052ce5cd755339c90eeb334155807 docs/Models/Components/UsagePaginatedResponse.md: @@ -5244,7 +4962,7 @@ trackedFiles: pristine_git_object: 963523d60c2e1add552a9e82457662a2c31f5c21 docs/Models/Components/User.md: id: d91a5ce53244 - last_write_checksum: sha1:41842355d92d7b61ef8fc90afffa1de8a0490fb0 + last_write_checksum: sha1:da396b5fc99511fea98b7e60b21ffb8f7477437c pristine_git_object: 91ca9f23ae3392dff4d98eed98276611fb95d633 docs/Models/Components/UserEnterpriseExtensionJson.md: id: ed6d4eb19044 @@ -5276,11 +4994,11 @@ trackedFiles: pristine_git_object: 638e9fe0d02dfdfbaf844b5ac45d4094e440ada2 docs/Models/Components/UserInput.md: id: b0f6fe1fde88 - last_write_checksum: sha1:9cbe8c0a0afb872ca76832760c6000f38cf1c8a1 + last_write_checksum: sha1:bf0b08d2f7b8c7585fa4ce85250bdd8544f32ce0 pristine_git_object: a0435adc3e85200593fc6b1949ad68dc683939d1 docs/Models/Components/UserJson.md: id: cb4b4b0b2bc7 - last_write_checksum: sha1:b91453ab16fd2e7466119f222353791cf0ea3382 + last_write_checksum: sha1:fc553b437238825018712bd56a332a0f733d9c1f pristine_git_object: 72fc4e26ba943aa6299538dbf92a1324b2138ba0 docs/Models/Components/UserTypeJson.md: id: 5e2470b7dbfb @@ -5334,7 +5052,7 @@ trackedFiles: pristine_git_object: 23ed5495dd7deee16bb7b7141e0c03a53d4da7a7 docs/Models/Components/VenueSummary.md: id: 196d7a837ae5 - last_write_checksum: sha1:8f510afca1656468e7c531e457bc9b15226857d3 + last_write_checksum: sha1:ec2033e2e22917cc265958f34dfee4eace8a06b6 pristine_git_object: c2c5de9894128669389b37a3bec956f5a8ca5f03 docs/Models/Components/Version.md: id: ce182a615ba2 @@ -5344,102 +5062,72 @@ trackedFiles: id: 206be5812215 last_write_checksum: sha1:c0ead949023b2ed391403f1959e4d4b287c0ac53 pristine_git_object: 845335fac166d6dc93a51991c6d7bb28e59b7f7b - docs/Models/Components/VideoAssetIdJson.md: - id: 9d35dff0b951 - last_write_checksum: sha1:41dde0297be85043e52da7dd5b0e9a296777d8b4 - pristine_git_object: 9e191942d283a3dd3244a42c1532d1a2f81d2251 - docs/Models/Components/VideoClipJson.md: - id: b605c52c437d - last_write_checksum: sha1:81187353dc74295a3bc6982c80d594c6a4450b2c - pristine_git_object: 1070684b7434d4455785ebbf739288b83bbb6ec6 - docs/Models/Components/VideoErrorCodeJson.md: - id: 80cc7951a593 - last_write_checksum: sha1:617f3ec5a52388e43f679df7e2024cdf28af7a5d - pristine_git_object: bf2fc9eeb6b7ed4207e44d6fa645525e5c012c9e - docs/Models/Components/VideoErrorJson.md: - id: f8a0f2542915 - last_write_checksum: sha1:19f733f06360357234a605dccbfa890c2696c6af - pristine_git_object: bb3ec2d1ae13ff47ccda14e65c8f6fc5a40fe9cf - docs/Models/Components/VideoJson.md: - last_write_checksum: sha1:82f8cf9f1ad353db0f9a8d6c9720dc8056675c8a - docs/Models/Components/VideoRenditionJson.md: - id: 81d757f830fd - last_write_checksum: sha1:6bdd08aa5ecfe5cde5b30870de4f19ce41d8c10b - pristine_git_object: 7b0912eaf4f8a17d87d6b836a2927fa743576f6b - docs/Models/Components/VideoRenditionJsonLink.md: - id: adf1e837ddc8 - last_write_checksum: sha1:a8463081ecae083c383b84ecd54f527327ae2980 - pristine_git_object: b6a56953ff9f9dfd35d8427bb3afb7d8f143570d - docs/Models/Components/VideoRenditionTypeJson.md: - id: 5a28be9efc6b - last_write_checksum: sha1:65e358e3b5675e4859d1432ce4440569fa68e54e - pristine_git_object: a94fb12777dd07fcef44fab5ad60a79bd0f1bbbf + docs/Models/Components/Video1.md: + last_write_checksum: sha1:477669e201ea0e37a3e5fcefc9e168b5f9d54110 + docs/Models/Components/VideoAssetID.md: + last_write_checksum: sha1:4c44e12789da850a12bcdd696db5d48501cc9095 + docs/Models/Components/VideoClip.md: + last_write_checksum: sha1:158f3683c033a0b1303fd36406d789e5d60fa1d1 + docs/Models/Components/VideoError.md: + last_write_checksum: sha1:686dba906c5a3ed4cda915134213d4b9ee8316f3 + docs/Models/Components/VideoErrorCode.md: + last_write_checksum: sha1:d441133a273f9ae5870ce79656170dc50aef5502 + docs/Models/Components/VideoRendition.md: + last_write_checksum: sha1:800f1105d6e2ec02b6d2fbfe5eb747b7f986392e + docs/Models/Components/VideoRenditionLink.md: + last_write_checksum: sha1:e8a641fd147e9b60a5db52198219079c6c4fe75c + docs/Models/Components/VideoRenditionType.md: + last_write_checksum: sha1:bddf5c9847a63203cdfb32de8619d05c7205fc54 docs/Models/Components/VideoRenditionsResponse.md: id: d8aa8b874505 - last_write_checksum: sha1:8e46a471c0220cadda00ef6e2acf0e0d82570601 + last_write_checksum: sha1:64a5f6479d0e169d949007843a8d5b11ead63cf5 pristine_git_object: 136a417067f831f81c413c59b63e52d2cc8b86fd - docs/Models/Components/VideoSourceJson.md: - id: 5084cbffffc3 - last_write_checksum: sha1:81f58287be5db7c398a94fa63e79e32fc04daf52 - pristine_git_object: 7b476c82a7710da6cf48f04558e830406899bfdb - docs/Models/Components/VideoSourceJsonStatus.md: - id: 8854f9b7a8e7 - last_write_checksum: sha1:3793b08f03201107cea42bfd46a2cc1ab36bf27c - pristine_git_object: d50b129d279b6867be2f1c06b8812f392ab74dd5 - docs/Models/Components/VideoStatusJson.md: - id: 4b24fcc22d99 - last_write_checksum: sha1:d596f1d52cd2d3fceefe374689f4374761f2c888 - pristine_git_object: 0f050b9ab2414f5ecf1be4e2fce0a03bf4bbcf0e + docs/Models/Components/VideoSource.md: + last_write_checksum: sha1:1a696ba5f6584a94ee92d4385d490b1728a5db4e + docs/Models/Components/VideoSourceStatus.md: + last_write_checksum: sha1:5d0ed46642dce3cfb2fe1cd24a420ea5f6b7bff3 + docs/Models/Components/VideoStatus.md: + last_write_checksum: sha1:eccd480ee5206367459ecc71763be7191681cdca docs/Models/Components/VideoTextTrack.md: id: bfa275fa76c9 - last_write_checksum: sha1:bee4fbd3aff90de3733bbc0adfa48eac2f0e13a3 + last_write_checksum: sha1:baaa149572ee03b76f046885c58dab8283b0d202 pristine_git_object: f9c0e5400ec79157ae3ee40d5b6fdaec76bef4a3 - docs/Models/Components/VideoTextTrackKindJson.md: - id: a09c445504d0 - last_write_checksum: sha1:36440e8c2db0f991eaa37a8185289b0853dc5769 - pristine_git_object: 5e8cb03780ecb02db1e8131bed08517698991d24 - docs/Models/Components/VideoTextTrackStatusJson.md: - id: 1d09f2833e4c - last_write_checksum: sha1:0b5201839ee8d90987fa10f4d6092f2f01e46b37 - pristine_git_object: 44b3ed384d9f72df14179739bce7d46d88812c7f + docs/Models/Components/VideoTextTrackKind.md: + last_write_checksum: sha1:c88253f9f3b2b3b2a9386922cb2e456ebef62e27 + docs/Models/Components/VideoTextTrackStatus.md: + last_write_checksum: sha1:102fa4d0a82783d1e8fe1a5684970eb57207c074 docs/Models/Components/VideoTextTracksResponse.md: id: 977dc0b7d703 last_write_checksum: sha1:252f372122ce32dbf0fe3e37aa120c67b72138f4 pristine_git_object: a4e0c9b6e764925d28c9cb607e4031d235a90a13 - docs/Models/Components/VideoThumbnailJson.md: - id: f914bb7ef2c6 - last_write_checksum: sha1:8723130b4afcc92f865467cf453725f7729d5c87 - pristine_git_object: c4ef44a4b509aa76d7157b806296cc1bc56947e3 - docs/Models/Components/VideoTypeJson.md: - id: 2be97ec3ee8c - last_write_checksum: sha1:39e91dc7431b8158401635f09c97570d143188b8 - pristine_git_object: f73dae4744d89a0e31aa0e763483f0d5efa09fa6 - docs/Models/Components/VideoViewJson.md: - id: f70172ad482e - last_write_checksum: sha1:81874c1c26832d658bf2013d4563cea07e589ab0 - pristine_git_object: 8c84c420063307977ea381c6b0fecfb858fe909b + docs/Models/Components/VideoThumbnail.md: + last_write_checksum: sha1:5cda9567319a2f80652e21e09ab6aa324efb2a14 + docs/Models/Components/VideoType.md: + last_write_checksum: sha1:7c45f114b935c189b80bc274d1fe0d6cdc929872 + docs/Models/Components/VideoView.md: + last_write_checksum: sha1:7ea6179e1f09fc4d7750459e9ddc7b17328bc33e docs/Models/Components/VideoViewsPaginatedResponse.md: id: 7ef4ab47de05 - last_write_checksum: sha1:2d325ee2d4335fef036f8fe2fb8917f379fcd209 + last_write_checksum: sha1:72a20e4f4d062e0a47bdd60a5d93666117944acf pristine_git_object: 5d222c62dcedf8ea5bc8d6df14734ff786dfe54c - docs/Models/Components/VideoWarningCodeJson.md: - id: e4035f77802e - last_write_checksum: sha1:d18bfc0b67a2cd5057dc79515e4c56300c06cae0 - pristine_git_object: 266c21ec4a65d0dca56e69c67b58896980f983cb - docs/Models/Components/VideoWarningJson.md: - id: 55a1e36cde7c - last_write_checksum: sha1:44d9b383eeceb77338f51d839ffb950aac6d9f5b - pristine_git_object: a3d988e6dae0dac17dc452aa6191cef159d1b8b9 + docs/Models/Components/VideoWarning.md: + last_write_checksum: sha1:6cf12496e0b1ea53546e0ae62ed3e5ee3ef3a60c + docs/Models/Components/VideoWarningCode.md: + last_write_checksum: sha1:35f9eb292c7b44a40297c91c42a01f9d5a99622a docs/Models/Components/VideosPaginatedResponse.md: id: eeea3e50eec0 - last_write_checksum: sha1:831bc4bfa5a5a6bbcce519b962962b0517f47f63 + last_write_checksum: sha1:e3b1100a66128d5581ca45bc71160fe53c31c02e pristine_git_object: 148f9b2e2c3ad78fdc22e58430fc52437c150e9b - docs/Models/Components/ViewTypeJson1.md: - id: bf5c73fa9a0a - last_write_checksum: sha1:8e7c537b771edf4b9392ac16ee57ec450d13871c - pristine_git_object: ed54ffc573777bc290ca8b0881764c6b83a9c51c + docs/Models/Components/ViewType1.md: + last_write_checksum: sha1:d19f4fe778f0c7d950b872ca28d4fa841ea09341 docs/Models/Components/VolumeDiscountThresholdType.md: last_write_checksum: sha1:0a5130d845898dc84d004b9dfdec99cb024ad87d + docs/Models/Components/Voucher.md: + last_write_checksum: sha1:b19470cd2aa0dcf898aa2e0c4c184f81a688bec6 + docs/Models/Components/VoucherCapacity.md: + last_write_checksum: sha1:f54051b44702e3d84cc71fa41f7c935807aaedeb + docs/Models/Components/VouchersPaginatedResponse.md: + last_write_checksum: sha1:a88061774a8cb8bd4c3216e9264caaf1c9e3d37a docs/Models/Components/Webcast.md: id: 3937c165318b last_write_checksum: sha1:c432d77bf3b5b5eac99bd3c1a89d785895199549 @@ -5474,16 +5162,16 @@ trackedFiles: pristine_git_object: 8513c0df9505f0a43916b52ab527b28a8fe12a52 docs/Models/Components/Weblink.md: id: 437981a9bca0 - last_write_checksum: sha1:4562db4a2373a0ce4538cf028c59fef460961862 + last_write_checksum: sha1:0b70f0fa676c7fd6325e12dc473ad3e35e96b8b5 pristine_git_object: b617a20aafef7baf2e7ae8eb9ca52b8a566e4c2e docs/Models/Components/WeblinkListResponse.md: id: afffb5656797 last_write_checksum: sha1:58191af6fd9505d7c5fb4257b76e28563f3e5734 pristine_git_object: 2a3bdcc228be42abc9b05c2e60cc657760248cde - docs/Models/Components/WeddingDetailsJson0.md: - last_write_checksum: sha1:8a4b8eeb877b46fcd6d6988867200db0fbb59a30 - docs/Models/Components/WeddingPartnerJson.md: - last_write_checksum: sha1:1a07818797e915ed9718db4de177f62b009cc942 + docs/Models/Components/WeddingDetails1.md: + last_write_checksum: sha1:ef4da07917fa81dc99d01b56cdef86a47b92a45c + docs/Models/Components/WeddingPartner.md: + last_write_checksum: sha1:a595fe91b433a94074fa1332c1ea95f57c5cb7b1 docs/Models/Components/WorkAddress.md: last_write_checksum: sha1:465b421682ec6d7772e079e1e150aee66176298b docs/Models/Components/WorkAddressAddressInput.md: @@ -5516,14 +5204,12 @@ trackedFiles: pristine_git_object: 42c20e6339a1120861a0f55df835d948eefad750 docs/Models/Components/ZeroAllOf7.md: id: 45e2985cc6e9 - last_write_checksum: sha1:5ecbb74157d5759e2bc1b3bb499b1777ba0aa109 + last_write_checksum: sha1:1d2450cdc6770a3428715a2a810a741419fc4f1a pristine_git_object: e26e5f6c13cf0826dc2834df612ed184416327f4 docs/Models/Components/ZeroAllOf8.md: id: 4e8a28a70225 - last_write_checksum: sha1:711e6608a4495a112fe552fc4079228ff1cdfc84 + last_write_checksum: sha1:021ba5b54c37a797a68f4b023eee87301bb3edbd pristine_git_object: 424bd7dd87bd3664d47b576e81090c2e3ef9bd6e - docs/Models/Components/ZeroAllOf9.md: - last_write_checksum: sha1:2ae7809024ce16332d7a80fb441964cb6513f5f2 docs/Models/Components/ZeroAnyOf.md: id: d35142c492dc last_write_checksum: sha1:ed331f95c735dc66a695ec50d220f7141e783b5f @@ -5549,11 +5235,11 @@ trackedFiles: last_write_checksum: sha1:32431b377e87d957078fbd4c9d0cb513adecdf19 pristine_git_object: 8950c46543563cafbe7b33498f73e019c74bd23f docs/Models/Errors/ErrorResponse1.md: - last_write_checksum: sha1:83d8917a678de89a5ef5dc86488b76e8cd3d6375 + last_write_checksum: sha1:893316ee04b254020ebddab3d743efa467e1f969 docs/Models/Errors/ErrorResponse2.md: - last_write_checksum: sha1:371073feed895ef26e26fbb96869764df7ff8778 - docs/Models/Errors/ErrorResponseJson17.md: - last_write_checksum: sha1:f049dcf95acebbd366b1c05b7d09f605983ee09a + last_write_checksum: sha1:bba5c5c843cccf6faea9aa5e405680c5a517e698 + docs/Models/Errors/ErrorResponseJson12.md: + last_write_checksum: sha1:c228dcb668ebe9d771b8090d521b0c450a6c78d7 docs/Models/Errors/SegmentsErrorResponse.md: last_write_checksum: sha1:c2bfe94e458bb82fd97d8889de9c28b64d627870 docs/Models/Errors/ValidationCode.md: @@ -5824,11 +5510,11 @@ trackedFiles: pristine_git_object: 3925bd8954dcd953f99dc5377d925a48bb1a0c0f docs/Models/Requests/CreateContactsRequest.md: id: 1e7ce4c5d67c - last_write_checksum: sha1:bb888065d90231c001562a37c27ba670d75382c7 + last_write_checksum: sha1:d8af827969d4ac7b77629cefbe07adccabade605 pristine_git_object: 4141ec8ed6e9b4531e7318c8963206c99fceb6d2 docs/Models/Requests/CreateContactsResponse.md: id: 8926e5357c22 - last_write_checksum: sha1:f70f9d42706f0545db3bf6dd2f04f5f0dca78740 + last_write_checksum: sha1:0491d1873b3166181e54a022724197616f8cb9b6 pristine_git_object: 915441e9336eb1258b9d02c1743a29093085cc9c docs/Models/Requests/CreateCurrencyConversionRateRequest.md: id: ca55a846a301 @@ -6420,7 +6106,7 @@ trackedFiles: pristine_git_object: 7f5220aea75854ee581ed7adfc4c7da35dc0a450 docs/Models/Requests/GetAttendeeByIdResponse.md: id: 6fc63ec7db28 - last_write_checksum: sha1:2b54906a2bae2d0a7602548eedbbfa5b08d12a6a + last_write_checksum: sha1:0ef137ffffaf302bd618e74df8091d5b84319d59 pristine_git_object: 5ff1653fa519797fff42baaaf8803be8f57bef34 docs/Models/Requests/GetAttendeeCreditsRequest.md: id: 14a2e6ccf156 @@ -6440,7 +6126,7 @@ trackedFiles: pristine_git_object: e5154cdb80a9cc6942c2c7765e63498f0b0cfa42 docs/Models/Requests/GetAttendeeMessagesMembersRequest.md: id: 56d7534d6ec5 - last_write_checksum: sha1:ee8f998c7e8b10b47bffd9ca9678e65a29ac2c94 + last_write_checksum: sha1:fd25018491d26a938ed7239036809d9fadfad61e pristine_git_object: ac4bbb69229f2296d0c836037f1bcf24d0460080 docs/Models/Requests/GetAttendeeMessagesMembersResponse.md: id: 7b453e3521fa @@ -7444,7 +7130,7 @@ trackedFiles: pristine_git_object: 49a5ce937ddeb23c0fbfa2266790d8d2fb3ee9c6 docs/Models/Requests/GetTravelProposalBidResponse.md: id: 8681beef46ad - last_write_checksum: sha1:96c5c509a489e1a7795b414b4e3d2c551673470c + last_write_checksum: sha1:5e7d01f92db3e4cca8fd3322220ef89092fbc8d6 pristine_git_object: d6fb57547898c877ed42faff73afebc4bbc10dce docs/Models/Requests/GetTravelProposalRequest.md: id: 6d2422b78789 @@ -7484,7 +7170,7 @@ trackedFiles: pristine_git_object: a511b88725d86767afb0be0f0286c4291a242fc0 docs/Models/Requests/GetVideoViewsRequest.md: id: 14adc10b0769 - last_write_checksum: sha1:83fd4ca39999a0cf10a0aa9f2866eced77a76ce2 + last_write_checksum: sha1:5e0e37ac3d004418c48665616c7848fce680b09c pristine_git_object: 5210668aa0ee518f41dcee4fe3507875cf5c66b8 docs/Models/Requests/GetVideoViewsResponse.md: id: 1dc703322745 @@ -7752,7 +7438,7 @@ trackedFiles: pristine_git_object: 4cd5ce13e34c59f72c578c28de864a585fb0abc0 docs/Models/Requests/ListDurationsRequest.md: id: 367f3271cb55 - last_write_checksum: sha1:694f7edf448812c9fcf874b21040968ecfb819d3 + last_write_checksum: sha1:e72db27128391f2853f091d5dae30d52c2c049e0 pristine_git_object: 0f500808781fd6a601bac9bc63c4b9bba418bde4 docs/Models/Requests/ListDurationsResponse.md: id: c411d4576816 @@ -7790,6 +7476,18 @@ trackedFiles: id: 1f5c7a84e541 last_write_checksum: sha1:8f1f2a62a7eb2eefc63e866ad2d158c13985b4fe pristine_git_object: 7371a263294bf7231f9650e81b6db1f6918ef9d6 + docs/Models/Requests/ListEventVoucherAttendeesRequest.md: + last_write_checksum: sha1:2ff7bffc8624782dde9e12289c58bb745bd1355c + docs/Models/Requests/ListEventVoucherAttendeesResponse.md: + last_write_checksum: sha1:614d9ebccd119a98b3b3e8876ddeff9e04538160 + docs/Models/Requests/ListEventVouchersPostFilterRequest.md: + last_write_checksum: sha1:813e55a45be97666629ed32323eead1327108a34 + docs/Models/Requests/ListEventVouchersPostFilterResponse.md: + last_write_checksum: sha1:980ecf1907135ed711945c0d2fc9094df85760b0 + docs/Models/Requests/ListEventVouchersRequest.md: + last_write_checksum: sha1:e2c831ca608e2de34ed0325f0d8d64a37e8d4e31 + docs/Models/Requests/ListEventVouchersResponse.md: + last_write_checksum: sha1:2ddc7f570e352f44c38bf6890c6ff416b461e9fa docs/Models/Requests/ListEventWeblinksRequest.md: id: 44994d80351d last_write_checksum: sha1:307930aa5bdd8a480da765e779c3ebc9175243c2 @@ -8236,7 +7934,7 @@ trackedFiles: pristine_git_object: 1786898eeeed59ed9a187fb30946aeb6682e4ced docs/Models/Requests/ListVideosRequest.md: id: 4055e7762de1 - last_write_checksum: sha1:2102f57f020df9e9448128cdb865a153a6db6487 + last_write_checksum: sha1:de82d762ad564ef469e7b3af23f983a919fde905 pristine_git_object: 2c3838ee50e3b1cb25ae4b0c307018892e271b91 docs/Models/Requests/ListVideosResponse.md: id: c965fd523ab6 @@ -8308,7 +8006,7 @@ trackedFiles: pristine_git_object: 4b2ece85789b7885b1c90f9162be8bb3ca59c692 docs/Models/Requests/PatchContactsResponse.md: id: be01ca264d7e - last_write_checksum: sha1:b231e37ddbe0519b65fa256a96617691d7e9d4e6 + last_write_checksum: sha1:0c644c0731c3abc19ae055d57d6cf13362b26638 pristine_git_object: cfc8918cff6d94ad23b43890005d5e73bf68823e docs/Models/Requests/PostBadgeRequest.md: id: 1943f1f59804 @@ -8512,7 +8210,7 @@ trackedFiles: pristine_git_object: 3d2a5d831d0a7d898023fc4c4c0d62ceac3d72ae docs/Models/Requests/UpdateAttendeeResponse.md: id: c1ada44c9426 - last_write_checksum: sha1:c230944eafbc2fad159a35aaf5e7d71756300d6e + last_write_checksum: sha1:70e1e2bec3427103c62c472fedb3c0215434337f pristine_git_object: 8cf7313e9555975ae6cdc38c72be59c9bba1089a docs/Models/Requests/UpdateAttendeeSubscriptionStatusRequest.md: last_write_checksum: sha1:4f51cf9e3eea9872296eff04f5846fdfdbb68e0a @@ -8596,7 +8294,7 @@ trackedFiles: pristine_git_object: 744268f742d0ebd29846d910b374873b3ebafd4e docs/Models/Requests/UpdateContactsResponse.md: id: 2d3189328f39 - last_write_checksum: sha1:81b7697fb883b7fe389e5ff5450288b36c8fedb0 + last_write_checksum: sha1:424ec5aabe13d7422c62b7eb1813b0dda8edc506 pristine_git_object: ac23ab8557aeabdb8c0304eab24c442e946f898d docs/Models/Requests/UpdateCurrencyConversionRateRequest.md: id: 375962dd99ba @@ -8912,7 +8610,7 @@ trackedFiles: pristine_git_object: 08cb1a25ddcbc42f372ec5f5b1cc8469803431bc docs/sdks/appointments/README.md: id: f122535fcc9f - last_write_checksum: sha1:3163727f523cb4f88d16f925cd934349a7d43d97 + last_write_checksum: sha1:9b344f98a7f79552fdf617eca2a3f0ea7363eb2d pristine_git_object: 40505f4ea4c5a9f32dbd07df446b6215eadf4dec docs/sdks/attendeeactivities/README.md: id: ffb26672cefc @@ -8928,11 +8626,11 @@ trackedFiles: pristine_git_object: c05b58f290ecf7fb80ec0b61ac47843d61aa0118 docs/sdks/attendees/README.md: id: 99bffbf21091 - last_write_checksum: sha1:0ec2128f0e01583b76dddbfb80ddc94edc39c950 + last_write_checksum: sha1:b9c3795435d7d02c012a5a55130c21a03fe23c7e pristine_git_object: 309b429b5efc21e6dac3eda810410a5db0155fbb docs/sdks/audiencesegments/README.md: id: a2ccf2d6ee02 - last_write_checksum: sha1:355475ad2115bc24ca484291e2cdb01a7d454b94 + last_write_checksum: sha1:1930d87374f23371785f5163d6f040f98c08c2ad pristine_git_object: ca970b43ca92e0cb8eddf9d0f04a072fcdee273b docs/sdks/authentication/README.md: id: 45be241adfc3 @@ -8952,7 +8650,7 @@ trackedFiles: pristine_git_object: 53a91b2b68035039b16cd37290f8d218462eab15 docs/sdks/bulk/README.md: id: fa4bd7a4682a - last_write_checksum: sha1:cd430bcda446b352517f7476a4ceab3b10afdbd9 + last_write_checksum: sha1:0f13df3a85efe4a967994a13750efa618807a0a3 pristine_git_object: 4d706fcb345914cfb1fa370fcb0fec8fae121e10 docs/sdks/campaigns/README.md: id: 18dcc3c717ca @@ -8968,11 +8666,11 @@ trackedFiles: pristine_git_object: 3397ed255bb7354ef7fa94e683e5f44f681ad3c0 docs/sdks/contacts/README.md: id: 4174fb287a81 - last_write_checksum: sha1:36a78752ba340e9e05daf15be3fe53c69bcfbc79 + last_write_checksum: sha1:b23fdf353e96b62d732c609a6bc04ec8f703f6f3 pristine_git_object: e14675ab6c00a66834afb5eac3323003eb2cf9c7 docs/sdks/customfields/README.md: id: a205cef73249 - last_write_checksum: sha1:131bf66fac6ab42147bf71befe652a141788466b + last_write_checksum: sha1:7c42b35978cb707cd88a87dc2011b51f06108f3c pristine_git_object: 3eff273d1ad993bed5df5562e4ebb3b9ba361e0f docs/sdks/discounts/README.md: id: "000723261694" @@ -8996,7 +8694,7 @@ trackedFiles: pristine_git_object: d240e20e73d3bca557fd79bfd19dd14b79beeffc docs/sdks/events/README.md: id: cf45a4390b9b - last_write_checksum: sha1:a8cd0abb506b56020886d6084dcdcc60b359a4b5 + last_write_checksum: sha1:89e8873e59eb4b2def97fe2a8a8841b8a5705d28 pristine_git_object: 850a5f07f1d8f2b7538ae8fa2084170534d7489a docs/sdks/eventsplushub/README.md: id: 5f184d5bdfcc @@ -9008,15 +8706,15 @@ trackedFiles: pristine_git_object: 2c574599b73113a5907f3b8930afa57eff55b6a1 docs/sdks/exhibitor/README.md: id: cb0578099210 - last_write_checksum: sha1:4f00bcb4517aa01be914daf3a7e6976dfe7e5f61 + last_write_checksum: sha1:18e28a88ce40720c0741040bfebf1bc302a7c1bf pristine_git_object: 1074fee30b94d8183c83575f07b3da433ff94a28 docs/sdks/exhibitorcontent/README.md: id: 7cecd37f6b66 - last_write_checksum: sha1:149f4d3250a98f1a6aa11e222167151fd10da532 + last_write_checksum: sha1:dd8456915e0dceb509d41050b475238e963783e7 pristine_git_object: 4dae9b04bb1569fa2a7606b625358fa1530e884b docs/sdks/exhibitorteam/README.md: id: f5b7c80d738e - last_write_checksum: sha1:49f3d2c3d034e342c74e3874f8b55cc1093fb4a4 + last_write_checksum: sha1:288c1323919ec9c78ffce1f3b0b3a96489be1645 pristine_git_object: 370489e7b9590497cefcf4fd8ca3639fd60ffcf9 docs/sdks/file/README.md: id: 2e0e7ec90c9f @@ -9028,7 +8726,7 @@ trackedFiles: pristine_git_object: 226634479fc1c80c5445e0abd3906614f5ca218a docs/sdks/housing/README.md: id: 23d65d817ab8 - last_write_checksum: sha1:d6edc4d43dfda840e970fc0908d8f4484a369a0f + last_write_checksum: sha1:a6914f6206a725d7ca74929f012165376c20b2fc pristine_git_object: 4455010cbde3a3837c5ca2b707afac4aae2ac717 docs/sdks/housinghotels/README.md: id: d04ff5412c59 @@ -9040,7 +8738,7 @@ trackedFiles: pristine_git_object: e22b3188b967a497c5095aff8f03cab0310aaf43 docs/sdks/meetingrequest/README.md: id: 4d8d5f5fd977 - last_write_checksum: sha1:b93a8cda53d3bb4d87d85f8a8f3e88ef411b45d2 + last_write_checksum: sha1:cb1d5e29ca6471d698fa27c89e941577aa13dc3e pristine_git_object: 2b7a21d84cc4510d71685da566e69b4eb2d138b3 docs/sdks/processform/README.md: id: 0d23c161e66c @@ -9048,7 +8746,7 @@ trackedFiles: pristine_git_object: c8bdd1f4a737c50d47cb153624d0aee700aec326 docs/sdks/proposaldraft/README.md: id: 243fdf3f28f8 - last_write_checksum: sha1:433f7090f6a10a8dc48ebe62e66d24532e95cb4a + last_write_checksum: sha1:50f9826704257375e934e826572129bd839721fa pristine_git_object: cee75e84cd623f015d9c3fb549db5d3e12962a49 docs/sdks/rfpadditionaldetails/README.md: last_write_checksum: sha1:b7e6e84974a4d90ec31709c31f9b303a67dfc6d1 @@ -9064,7 +8762,7 @@ trackedFiles: pristine_git_object: 8b49a19b29d465a54b2f3b40e42fd0464fc5c6fc docs/sdks/sessions/README.md: id: 57ad62844f79 - last_write_checksum: sha1:cf4b5ec5d70090e73957dcaa137ccf7a0a2d7d76 + last_write_checksum: sha1:57defb8328640972ee8cf25b792c4a88d7562f53 pristine_git_object: 97a3d69aabea91b5ecf0a65b82762f32760db6c7 docs/sdks/signatures/README.md: id: d0ea24deff8f @@ -9072,7 +8770,7 @@ trackedFiles: pristine_git_object: 883589e206ca36c4776e39c35bbfc6aaa40c40d1 docs/sdks/speakers/README.md: id: 21a0d65de4a5 - last_write_checksum: sha1:e8d3053d6bece9b123e24b65a8d0d3749336eea7 + last_write_checksum: sha1:78b496c94c676de9cb3b529ee6bda51a8d42ecd7 pristine_git_object: 819fb5889b271959f7900ff5435a3be8f8154843 docs/sdks/surveys/README.md: id: b7f48111aedf @@ -9100,11 +8798,11 @@ trackedFiles: pristine_git_object: ae4345de8bbb2321bc1f484c5b5b9f21568a81f3 docs/sdks/userscim/README.md: id: 50529a579425 - last_write_checksum: sha1:2b9b1ced33e75b88d4e98e70ae82a5effac5413b + last_write_checksum: sha1:b3c2b90c715e9b5226a43d0aaad6fc8beef6183b pristine_git_object: 841ab56e8b0a3f4dc1b0143c61e0bf9a005a690c docs/sdks/video/README.md: id: 0b01dca84f9e - last_write_checksum: sha1:68b174659cbd842f17f0038a69b4f0bcd838d313 + last_write_checksum: sha1:509436113dd3c089cca52adfc8c60ed8c606f3d2 pristine_git_object: 52334611d1a78d4915e1491bcc5a5e964a8b0a16 docs/sdks/webcasts/README.md: id: c8f61e26dc11 @@ -9116,7 +8814,7 @@ trackedFiles: pristine_git_object: ef3195af86a7d6ef1e34296c380fd52d85b696fd src/Cvent/SDK/Appointments.cs: id: e0ebdc9e2181 - last_write_checksum: sha1:1a4a1b683d0586da1e7da731454aeeb92a879aa6 + last_write_checksum: sha1:ab07e92116af5e4b01971ff7b55820e42964d5e4 pristine_git_object: 6f5dc4d002c9657af0fadfced083a64502087469 src/Cvent/SDK/AttendeeActivities.cs: id: a940f266c449 @@ -9132,11 +8830,11 @@ trackedFiles: pristine_git_object: bad6c37a004676ea369dedb8042432f0aeee6a00 src/Cvent/SDK/Attendees.cs: id: 32949bd964be - last_write_checksum: sha1:cb0b63096d0218a55cd998042484f93ab14426d4 + last_write_checksum: sha1:e84daad0657fcf0f093fb709d590ad8fd8736cd2 pristine_git_object: a3cd526a9a86ef8600b77fe5700ec9462a16157c src/Cvent/SDK/AudienceSegments.cs: id: 8ea605bfa719 - last_write_checksum: sha1:8b1cd673f8447369893056ca243ff34cb183773a + last_write_checksum: sha1:56af3b9b359a96da50cd689e6d5bc92c6f698d3f pristine_git_object: cd663f188cf769273acee47bf7512632946b0a54 src/Cvent/SDK/Authentication.cs: id: f90a858273bd @@ -9156,7 +8854,7 @@ trackedFiles: pristine_git_object: f3d3768b336679e9ba7578ed51e14fe50a8365de src/Cvent/SDK/Bulk.cs: id: ac2ca01debc8 - last_write_checksum: sha1:9918d7634afbb0d6ccb7e8704b3d4e0620af927e + last_write_checksum: sha1:610336b4a08f3d8e9bcf2326c5c5e5e10150aa41 pristine_git_object: 91dd13b7d76cfc0f4f7cc59a924879f8f92b1d9b src/Cvent/SDK/Campaigns.cs: id: f425e065b945 @@ -9172,7 +8870,7 @@ trackedFiles: pristine_git_object: 79bd35e8a4f89ac9953881c72db586a129c4fd1e src/Cvent/SDK/Contacts.cs: id: 1e49de62cc63 - last_write_checksum: sha1:bfef23b2b50f2f2e19cc60548131d8083eede472 + last_write_checksum: sha1:542ee26a49c09b18e68300d16bf420b1f4355761 pristine_git_object: 6f1612d7adafe2500131816d2e7a9a8b61b1d7ec src/Cvent/SDK/CustomFields.cs: id: a3c3662bd8cf @@ -9180,7 +8878,7 @@ trackedFiles: pristine_git_object: 977cd7381c7598682830d6e4a64a85cb14130b98 src/Cvent/SDK/Cvent.SDK.csproj: id: 7a55759bc2f0 - last_write_checksum: sha1:163df9437f4c0d1b581c881ace5028ea29bbe9b6 + last_write_checksum: sha1:faaeaf32623b25b2712299c1d3f8208c83737f3f pristine_git_object: 711013944bc0505858b0b7cf177f166071b47593 src/Cvent/SDK/CventSDK.cs: id: f7e1ad22cd8f @@ -9212,7 +8910,7 @@ trackedFiles: pristine_git_object: a8b681cf4ef2300fc3896005e04884f778619289 src/Cvent/SDK/Events.cs: id: b96dbb23cc9b - last_write_checksum: sha1:30b4dffe6513833035c33af392e506183921da62 + last_write_checksum: sha1:239f6264fe18a64a4e564a19b513ecc090f7141a pristine_git_object: ff16db101200573206038eda60add74607295adb src/Cvent/SDK/EventsPlusHub.cs: id: cc332d7b024a @@ -9220,11 +8918,11 @@ trackedFiles: pristine_git_object: cbbe461eaabc670bdaad49003db0c00f17112f2d src/Cvent/SDK/Exhibitor.cs: id: 944b91916ecc - last_write_checksum: sha1:a0a9d96138b89366ac48f8251561f43ac70b68bc + last_write_checksum: sha1:8239c02ef8888d7d09bdf9d6fb6f5274f80ef214 pristine_git_object: 72e14329eb7c66548f48d2a2b185314a1c17b368 src/Cvent/SDK/ExhibitorContent.cs: id: bbd1732a6848 - last_write_checksum: sha1:e81d1baf16291d5db3856ff5856ccfe274d350ae + last_write_checksum: sha1:be3cb507c29ca1b21d183ba43cd689d0bb9d2c23 pristine_git_object: 24e681a649a1cff2588a43edda908c0f4e3a27a7 src/Cvent/SDK/ExhibitorTeam.cs: id: 4f989ed020c9 @@ -9244,7 +8942,7 @@ trackedFiles: pristine_git_object: 1937b5a9d23d666c998441dff6dfeb35f548e5a6 src/Cvent/SDK/Hooks/OAuth2Scopes.cs: id: ea272e98d50c - last_write_checksum: sha1:6fc86fad5b2c8ced4ac0034178e69838af5922c1 + last_write_checksum: sha1:fa8990e76a99c3dc086f0df0b71b22ed96e90cc1 pristine_git_object: 55a8b501e50769ad517eb3b3fb5ed1cafcd038cc src/Cvent/SDK/Hooks/SDKHooks.cs: id: 0038e747490d @@ -9256,7 +8954,7 @@ trackedFiles: pristine_git_object: e3ad1ac7b4dd624040e3f30514dfffb4e2b94155 src/Cvent/SDK/Housing.cs: id: a10cf2ffbc7c - last_write_checksum: sha1:3523c232cecd72660e0e71f6dd9b081c0491426a + last_write_checksum: sha1:33bca43217427ce8396e3710312d27507f9e3249 pristine_git_object: 26397f09d75ba9d69843a3b969c292ee2407ae6d src/Cvent/SDK/HousingHotels.cs: id: 9249b2b9a6b5 @@ -9268,7 +8966,7 @@ trackedFiles: pristine_git_object: dfcfb0f9b1c88569e9f6110dbee82dc25ff538ee src/Cvent/SDK/MeetingRequest.cs: id: 5f343c314bf6 - last_write_checksum: sha1:35a8d09af039759f79b6f0b8a631ebfb5fc39ad2 + last_write_checksum: sha1:f9cb63dd3cef4b32d58e4cb02512cab93c542587 pristine_git_object: ab4d871c869ae435b0148438a074c626d5bf7495 src/Cvent/SDK/Models/Callbacks/CreateContactHookContactTransactionCallbackResponse.cs: id: bfa3f73d3233 @@ -9286,12 +8984,14 @@ trackedFiles: pristine_git_object: 5fdb3303ef128d161371aa79f731b5ad7d620b6e src/Cvent/SDK/Models/Components/AccountBudgetItemListResponseJson.cs: id: ac5cd2b61e49 - last_write_checksum: sha1:cace196dd0460c1515ace648506a2618a04c82fd + last_write_checksum: sha1:5a60ea2fc4284070bc7024b322c17ba287534843 pristine_git_object: 5e0f7e114806c5301226eb5443c81b975b44c636 src/Cvent/SDK/Models/Components/AccountBudgetItemsPaginatedResponse.cs: id: a63268c177fa last_write_checksum: sha1:624258bd6b4f2bc64f45eeaafc4edf98ec61bdee pristine_git_object: 464af42f0c8134f898ff68861303d589dfbc7556 + src/Cvent/SDK/Models/Components/Action.cs: + last_write_checksum: sha1:44d416d06cedf8d675d1c93a9562c2fd9f29f137 src/Cvent/SDK/Models/Components/ActivityAdJson.cs: id: 0d0b31605549 last_write_checksum: sha1:a38b7baa576304234d33517acc79ded6a33ffade @@ -9433,57 +9133,45 @@ trackedFiles: last_write_checksum: sha1:930a740839338e3ff6223a7022e95fadad4edb95 pristine_git_object: b60d73f82512f146eb5aa8e3e70fadb5ccd6c696 src/Cvent/SDK/Models/Components/AdditionalChoice.cs: - last_write_checksum: sha1:8f048453efe135bd310d00aadcbfdbed09295760 - src/Cvent/SDK/Models/Components/AdditionalChoiceJson1.cs: - last_write_checksum: sha1:708e874aa94ce1f871c2482121c25b5bd54f5e79 - src/Cvent/SDK/Models/Components/AdditionalChoiceJson2.cs: - last_write_checksum: sha1:9a89d95e45aae295f9df2eff7398a503cb89d7a2 + last_write_checksum: sha1:1f1849b74c2d50c4a11966cc78b7e82716b4c143 + src/Cvent/SDK/Models/Components/AdditionalChoice1.cs: + last_write_checksum: sha1:8e751ae7a9764887ee928b55ccb0cf3bf2c51627 + src/Cvent/SDK/Models/Components/AdditionalChoiceJson.cs: + last_write_checksum: sha1:ae3e0da27459ee6adfd9d9df0ff99b017b7d8bb0 src/Cvent/SDK/Models/Components/AdditionalGuestFeesJson.cs: id: abb97fa92f1d last_write_checksum: sha1:87148f476531182d03d50fbc21bd65a10c460c68 pristine_git_object: c9dd1f4d8d1f92fbee632e7073dd8ed55d5fef3e + src/Cvent/SDK/Models/Components/Address.cs: + last_write_checksum: sha1:361ddb311fa9b2023a5b12e30490efa5ae4aff70 + src/Cvent/SDK/Models/Components/Address1.cs: + last_write_checksum: sha1:e1f666f615bd02839c0a9a6144f5772c9e7927e0 src/Cvent/SDK/Models/Components/Address11.cs: - last_write_checksum: sha1:00fdad615e5a306ae1325fb08e4d3d042717ea80 - src/Cvent/SDK/Models/Components/Address12.cs: - last_write_checksum: sha1:47679629af5e6bd91d972233f04077ff253abd1b - src/Cvent/SDK/Models/Components/Address2.cs: - last_write_checksum: sha1:f80edc9b44b88b975a6a2349776654513c71cd9e + last_write_checksum: sha1:c9e1649375b618a702d2d47d094651b9d1e06332 src/Cvent/SDK/Models/Components/Address3.cs: - last_write_checksum: sha1:ca6b24463e8e84eba155caed94eb836d95f988f1 + last_write_checksum: sha1:e922dbe39b901152e303dc5461270ad73c567bc1 + src/Cvent/SDK/Models/Components/Address4.cs: + last_write_checksum: sha1:cc7b98924adcf258e9291109e6661cd4659870fe + src/Cvent/SDK/Models/Components/Address5.cs: + last_write_checksum: sha1:68c6d6e560de07438f328289d95f05d252b70239 + src/Cvent/SDK/Models/Components/Address6.cs: + last_write_checksum: sha1:51fc2cda3dbf41b76c673646a2e6e12ce976580d + src/Cvent/SDK/Models/Components/AddressInput.cs: + last_write_checksum: sha1:e6b041a60d71e90fa9106aef38bbfa0da4df066c src/Cvent/SDK/Models/Components/AddressJson.cs: id: 880605eb68e0 - last_write_checksum: sha1:212fa5252086a7c088df0b1870e50772b661e5b6 + last_write_checksum: sha1:a2d4b9bf745fa323d4b434d68ca82ee97774e305 pristine_git_object: 1b1a269babf9eaa566f92586f436628005b920be - src/Cvent/SDK/Models/Components/AddressJson0.cs: - last_write_checksum: sha1:b10df0890723c220f63037adbbddfe8528fc9818 + src/Cvent/SDK/Models/Components/AddressJson1.cs: + last_write_checksum: sha1:6b55071cb595ca2568ef27497be5d72f07dc39dd src/Cvent/SDK/Models/Components/AddressJson2.cs: - last_write_checksum: sha1:2d848cdfeec959e3fd77d32d6ca62115bba92977 - src/Cvent/SDK/Models/Components/AddressJson3.cs: - id: 83cfe547726c - last_write_checksum: sha1:b9526eadc57a94ed64a3114395ca44d6910b1eb5 - pristine_git_object: 6a51b135b815417a1000f129954a2a8a58517efb - src/Cvent/SDK/Models/Components/AddressJson4.cs: - id: 2bdc69183d48 - last_write_checksum: sha1:f1d03f965605eae015c97b99ed19bfee5beebb05 - pristine_git_object: 2b7c0435842a75fdf2bb7b5fee0e34ffe285c784 - src/Cvent/SDK/Models/Components/AddressJson5.cs: - id: f2f9793ea05b - last_write_checksum: sha1:9e6ea0cfa8160c14e1ee32c20f7a2437dcc241d6 - pristine_git_object: f0766774e8dc9d171a378e7fdc3cd10caa7e7af1 - src/Cvent/SDK/Models/Components/AddressJsonInput.cs: - id: 6a04c1d4edbe - last_write_checksum: sha1:c2d229ceb423612782de2bccf488843cd9b415e1 - pristine_git_object: 7642d2a6218afae4f0d5dbdf52c6d344a7649d5a + last_write_checksum: sha1:5afbcfcd6a54d6180ecb6464dc459dce0d801be1 src/Cvent/SDK/Models/Components/AddressType.cs: last_write_checksum: sha1:34bc942c12d397f4a0a7da525d7b07106d6c9741 src/Cvent/SDK/Models/Components/AddressTypeJson.cs: id: 23932266cd3e - last_write_checksum: sha1:1ee43df98daaa866e131a1de3e83af4803a64af9 + last_write_checksum: sha1:b138114694cac6a25d2b1adf016a425ec85f8715 pristine_git_object: 8cbc3d161cf59bf756bb239469054e982da9c1f9 - src/Cvent/SDK/Models/Components/AddressTypeJson1.cs: - id: c932537cae33 - last_write_checksum: sha1:1bc03177844239ca8a27bf6695b497b8f54143c9 - pristine_git_object: 6567d06a3b20220bfc71c4f725cd642742cf62d5 src/Cvent/SDK/Models/Components/AdmissionItemsPaginatedResponse.cs: id: 6b440636d000 last_write_checksum: sha1:6606ee24ec4fcea50dafc3834c18f28c0080e5b2 @@ -9512,10 +9200,10 @@ trackedFiles: pristine_git_object: cbdc1175013a2e57665c7b695dd9dc20612981ad src/Cvent/SDK/Models/Components/AgendaItem1.cs: last_write_checksum: sha1:d8663141f255fab10d7d6cf6b2af4c04afa3460b - src/Cvent/SDK/Models/Components/AgendaItemSetupJson.cs: - last_write_checksum: sha1:f6418b7599b1d8072c52f7ad558261a57899310a - src/Cvent/SDK/Models/Components/AgendaItemTypeJson.cs: - last_write_checksum: sha1:c7eeca561c9d94abd49ebfbf3159ce0cf945f00d + src/Cvent/SDK/Models/Components/AgendaItemSetup.cs: + last_write_checksum: sha1:dfe60b090274d5951511a43393400713869b551d + src/Cvent/SDK/Models/Components/AgendaItemType.cs: + last_write_checksum: sha1:25c1cd6604ac1c22d718bcfc86d84b65926aa42c src/Cvent/SDK/Models/Components/AggregatedCostJson.cs: id: 11442745dadc last_write_checksum: sha1:67232b0c1d7d6ab02ff7feb19b56017fcc3a0f67 @@ -9564,10 +9252,8 @@ trackedFiles: last_write_checksum: sha1:bf75ac6ddb441a7f5f2a5d778524831fd686f956 src/Cvent/SDK/Models/Components/AlternateTravelPaginatedResponsePaging.cs: last_write_checksum: sha1:98883c458d29ea1a9a8f1b974b57c5986b0f5c16 - src/Cvent/SDK/Models/Components/AmenityTypeJson.cs: - id: ab3f8e9288b3 - last_write_checksum: sha1:c813bf687f58a99f11479289d9989462f3030d16 - pristine_git_object: f5f599c92f8844a84370d6a46196480e4308d334 + src/Cvent/SDK/Models/Components/AmenityType.cs: + last_write_checksum: sha1:cd975ce8a98952e2b89fd50be4b5b02454ec8c2c src/Cvent/SDK/Models/Components/AmountType.cs: id: e154d452e4a9 last_write_checksum: sha1:f0b4502c887a7b9ba92b71ddea6b5f6272a2c8da @@ -9719,19 +9405,15 @@ trackedFiles: last_write_checksum: sha1:1906f6d6be221708c5bf8c277ba9980f431dd1dd pristine_git_object: 23e3a673e3b19b047bfd2824e6f8a1d965fe6d24 src/Cvent/SDK/Models/Components/AppointmentWithQuestions.cs: - last_write_checksum: sha1:2692cab750f7a326f6b98ab38ac2bb7a30804452 + last_write_checksum: sha1:2f4322a21677367c11faf10fe4e8d2adb1733383 src/Cvent/SDK/Models/Components/AppointmentWithQuestionsLocation.cs: last_write_checksum: sha1:0840db56e4212ecbab9b76ff00f1bae3615b6652 src/Cvent/SDK/Models/Components/AppointmentWithQuestionsType.cs: last_write_checksum: sha1:5d95802259a5ec5dc86cd68aeae1a76e4703d962 - src/Cvent/SDK/Models/Components/AssetLocationJson.cs: - id: cb2a9a351188 - last_write_checksum: sha1:b52900c1c23cca501aa8e05a9116650f831ff3b6 - pristine_git_object: e86d7d9b45512c2c1f149e4aab753bbd4a9a75ff - src/Cvent/SDK/Models/Components/AssetLocationJsonInput.cs: - id: 04c6df199088 - last_write_checksum: sha1:f53ba8dbd6374fd0be693190dd3cf8dc860c1bb2 - pristine_git_object: 5a19bf33a503765dac23c20176c42b5300064e9d + src/Cvent/SDK/Models/Components/AssetLocation.cs: + last_write_checksum: sha1:b9b7ed3c146f495d5238c6a4d75089efe158c667 + src/Cvent/SDK/Models/Components/AssetLocationInput.cs: + last_write_checksum: sha1:91057750994ebd25693ccbbe661d390a31a7a40b src/Cvent/SDK/Models/Components/AssociatedRegistrationPathJson.cs: id: 4d2e418b0412 last_write_checksum: sha1:ebac403249d93b66f9164504290a92e4f6d7c6e3 @@ -9740,16 +9422,22 @@ trackedFiles: id: 1618fd2dc5a2 last_write_checksum: sha1:e5a90b3b7a7ca9819718c24898c4438c9ff339c0 pristine_git_object: c6b4e1ded15d13ab9bb26da03fecc91df773198e - src/Cvent/SDK/Models/Components/AttachmentSourceJson.cs: - last_write_checksum: sha1:cdf239507921c0616c09f8d7f77bc2c27e60696b - src/Cvent/SDK/Models/Components/Attendee1.cs: - last_write_checksum: sha1:3b1fcb24ad5af7559c1c650a5266e9fd1224095a + src/Cvent/SDK/Models/Components/AttachmentSource.cs: + last_write_checksum: sha1:74c3815269008ef5877802527b053cf2c94c6928 + src/Cvent/SDK/Models/Components/Attendee.cs: + last_write_checksum: sha1:fd0c74760b18e7924305b752af7fda7a3a1a40fc src/Cvent/SDK/Models/Components/Attendee11.cs: - last_write_checksum: sha1:aab1f925496031b349744099c701ef81bee4cf59 + last_write_checksum: sha1:49360455825d605af843173e2872829d2f49946a src/Cvent/SDK/Models/Components/Attendee12.cs: - last_write_checksum: sha1:88ec5ea157b015860c5aa8777878c7f1fef45bc5 + last_write_checksum: sha1:25c4d73dee550eb060c50a4054df720a470457b2 + src/Cvent/SDK/Models/Components/Attendee13.cs: + last_write_checksum: sha1:f107293c02f70a99bf76aa865137da79743b18d5 + src/Cvent/SDK/Models/Components/Attendee1Event.cs: + last_write_checksum: sha1:bc95d096847bebd46275a64386a6708bfd1ddb4e + src/Cvent/SDK/Models/Components/Attendee1Lookup.cs: + last_write_checksum: sha1:8e76330d1b00c2fefcd6a179d1e9185fc5859dd3 src/Cvent/SDK/Models/Components/Attendee2.cs: - last_write_checksum: sha1:46b499d654c3bba547b05f21fa1dc49162cfd3ea + last_write_checksum: sha1:02d614b7a191504386e1f047eea5386d930a162f src/Cvent/SDK/Models/Components/Attendee3.cs: last_write_checksum: sha1:d41c5a0a35673765af801af55de9e24abd2df751 src/Cvent/SDK/Models/Components/AttendeeActivitiesPaginatedResponse.cs: @@ -9772,12 +9460,12 @@ trackedFiles: pristine_git_object: 4901b021a5985921defa9defd33cf17950d85c1e src/Cvent/SDK/Models/Components/AttendeeAddBulkItemEventJsonErrorResponse.cs: id: c1030df0b9a5 - last_write_checksum: sha1:df7ac00528be24befbf21efb6124e4c31aadf0ad + last_write_checksum: sha1:efeca3bba849ef07e7f958d221a47381da751cf7 pristine_git_object: c298381c7a75027663f84e4ab1ec0b778c1d60be src/Cvent/SDK/Models/Components/AttendeeAddBulkItemJson.cs: last_write_checksum: sha1:572cc6035342eab798119f46628367b7a70f71f8 src/Cvent/SDK/Models/Components/AttendeeAddBulkItemJsonData.cs: - last_write_checksum: sha1:bd355a9573729819453ef48ec568c89a372af3d6 + last_write_checksum: sha1:b6ef9a90d35942b8f73cc2d0902a30f19b81847b src/Cvent/SDK/Models/Components/AttendeeAddContact.cs: last_write_checksum: sha1:542ca920638992d23ebec81f0c56bf4bcbfd53d3 src/Cvent/SDK/Models/Components/AttendeeAddEvent.cs: @@ -9817,19 +9505,13 @@ trackedFiles: src/Cvent/SDK/Models/Components/AttendeeAudienceSegmentAssociationsPaginatedResponse.cs: last_write_checksum: sha1:33682762521dbe718f4ccc76379d02702d7c9d95 src/Cvent/SDK/Models/Components/AttendeeContactInfo.cs: - last_write_checksum: sha1:ee87fb655bdb14add83b842e46ff8732274dd00e + last_write_checksum: sha1:9d79ed9fc4e71688399ec59b0c8ead6d88170080 src/Cvent/SDK/Models/Components/AttendeeContactMembership.cs: last_write_checksum: sha1:148111409776bbb5cefab2c998f5d0e64665342a src/Cvent/SDK/Models/Components/AttendeeContactType.cs: last_write_checksum: sha1:fa9adb27b0a79e576bb4d5d9ad87090c3e9bd30e - src/Cvent/SDK/Models/Components/AttendeeContactTypeJson.cs: - id: 97d963be50a6 - last_write_checksum: sha1:843fe9cdbca7b6774acf45510342d33575e69da6 - pristine_git_object: ecdcb788bd218740923925fb04399b9e42b55c1f - src/Cvent/SDK/Models/Components/AttendeeContactTypeJsonInput.cs: - id: b939cbfe62f7 - last_write_checksum: sha1:b7c360a1b58c7620db3b99f82ea37c504c70290c - pristine_git_object: 334977c4cd50ee3cc16552e791bf41b10af00048 + src/Cvent/SDK/Models/Components/AttendeeContactTypeInput.cs: + last_write_checksum: sha1:b5491e674cda9d8efea6b72e58d6696938414e53 src/Cvent/SDK/Models/Components/AttendeeCreditJson.cs: id: 62128e0e6de8 last_write_checksum: sha1:ecc9ae57ec0cfac9525f91fddafb2210be862922 @@ -9854,15 +9536,11 @@ trackedFiles: id: 0235a505c80c last_write_checksum: sha1:282d9f78df9201763a25062d6fe7ec33de122d70 pristine_git_object: ec884d06146beb1448c25e6c1ac802ae8c71a94b - src/Cvent/SDK/Models/Components/AttendeeEvent.cs: - id: 164a10783e67 - last_write_checksum: sha1:5517826ba36f09375d0a4205d4a78f3b063c904e - pristine_git_object: eb48b63b57db3b72208d4a2dbdf9a53eb97659cc src/Cvent/SDK/Models/Components/AttendeeGroup.cs: last_write_checksum: sha1:a7654a148f300af2750b55c770d08cc0c7ea3921 src/Cvent/SDK/Models/Components/AttendeeInsights.cs: id: a2602a2ffb19 - last_write_checksum: sha1:698d9c529cca6c716fb2880705ef884371072daa + last_write_checksum: sha1:15fa032dafd74acb287dd6dcbc7e841ad8f5ec93 pristine_git_object: 060905701df32d138cdbb95e982a9bf2f6c8c069 src/Cvent/SDK/Models/Components/AttendeeInsightsPaginatedResponse.cs: id: 2c121c7b10cc @@ -9900,19 +9578,15 @@ trackedFiles: pristine_git_object: f27421bcea30e97bc071033f374e67ee12bf0231 src/Cvent/SDK/Models/Components/AttendeeLinkBulkResponseItemJsonData.cs: id: a4a61ec47df2 - last_write_checksum: sha1:9c0c84ee2003d0ab0d17d382fd2ef17179328dd8 + last_write_checksum: sha1:bccb387924e1e0cb3a5bd515171d493fa111a074 pristine_git_object: 5d8bd214dfdb45cefc55bf4f5cbf63e24db3ad8f src/Cvent/SDK/Models/Components/AttendeeLinkPaginatedResponse.cs: id: 32b734a60582 last_write_checksum: sha1:29e8fb2c26474ae5671aea25c2be1caec5e0145c pristine_git_object: f856ef8ed25965fc095f88642e3b40cb3474ecb4 - src/Cvent/SDK/Models/Components/AttendeeLookup.cs: - id: 5e94e6ade1b7 - last_write_checksum: sha1:1fdae45fe8403b451505ba4ae5a21f25a6e9ef97 - pristine_git_object: 832815709e2f8a971a043b2221165ecccb4b2683 src/Cvent/SDK/Models/Components/AttendeePaginatedResponse.cs: id: c31116796384 - last_write_checksum: sha1:65ce382c69a299be6078eef5e025ae4455bad6a1 + last_write_checksum: sha1:ee6a9bf4704d276dd5ccdd91ad1b924775ff62f0 pristine_git_object: 6948d395ccdbd6a70af958cdb67ee54dc22ddead src/Cvent/SDK/Models/Components/AttendeeResponseJson.cs: id: 3afc5eaf3b56 @@ -9998,8 +9672,10 @@ trackedFiles: last_write_checksum: sha1:2cc25bc2c145597461fe620e0b364a2a4c976435 src/Cvent/SDK/Models/Components/Attendees.cs: id: 03c6eb94774f - last_write_checksum: sha1:b45072c6eb5f5f6c0f361c59d13b23136cf3b15b + last_write_checksum: sha1:07cf8c8d06efed8cebaf0e15f9a1680c5822a697 pristine_git_object: ea4320ba2dc21d6eeae452f817d3b21eb6e5744e + src/Cvent/SDK/Models/Components/AttendeesPaginatedResponse.cs: + last_write_checksum: sha1:16637ff9bc87f48f1bc11a6199415973608e3c04 src/Cvent/SDK/Models/Components/AttributeDataTypeJson.cs: id: d6271d020280 last_write_checksum: sha1:29ef9626e3882a1f293da0e37b658115e1edd60e @@ -10026,11 +9702,11 @@ trackedFiles: pristine_git_object: 300efc69536a579d698b894f4b243dae54e38283 src/Cvent/SDK/Models/Components/AudienceSegment.cs: id: 983fe326d11b - last_write_checksum: sha1:ed56636fe49940ce2411d54d7d6b23a98124d044 + last_write_checksum: sha1:702dfdf742e2992e82f5783226e9f4e9b92fc8ea pristine_git_object: dcbeab42e042102bc8a0edffe2d7cdecb3d79312 src/Cvent/SDK/Models/Components/AudienceSegmentCreate.cs: id: c7e25178e93a - last_write_checksum: sha1:d61d569ee1fc95f6be7901ede44e1a12e0d49d28 + last_write_checksum: sha1:14385bbe74d724b57216ceb1adfd24b9548dc824 pristine_git_object: e3edaf277a106bb9756fd589d1e76adf232c3f40 src/Cvent/SDK/Models/Components/AudienceSegmentCreationTypeJson.cs: id: dd415bf46ffb @@ -10038,24 +9714,18 @@ trackedFiles: pristine_git_object: e95e7dd15ba689428cb4ff8773e6b68c3162f421 src/Cvent/SDK/Models/Components/AudienceSegmentResponse.cs: id: 49a7f587a8f4 - last_write_checksum: sha1:c8a39941dddd2cba22684414c3125870a68a35c3 + last_write_checksum: sha1:93a51ce672bc2f1550367de09c6f605018896a6f pristine_git_object: 95ee0e7126e40b35005463afa25ee2d0650effe4 src/Cvent/SDK/Models/Components/AudienceSegmentsPaginatedResponse.cs: id: b2a389bdc9eb last_write_checksum: sha1:982cdea27b3f6a5f5c3e633e39ea424b321e8051 pristine_git_object: ba0353e493f874a468ef568428b149aafb66276d - src/Cvent/SDK/Models/Components/AudioTrackStatusJson.cs: - id: cef41f40922e - last_write_checksum: sha1:48af413d6cf6c5ebc8a745b217a16ef631d899d7 - pristine_git_object: 2361b983af61ff590e44831b2948a15fcc75b8d6 - src/Cvent/SDK/Models/Components/AudioTrackTypeJson.cs: - id: 887a0f30ca9f - last_write_checksum: sha1:8160d2120ed3af4d9ad3e29df5ee49edfddfd02d - pristine_git_object: d9cc7af351bc098f0ddf2211d3af2633d985a360 - src/Cvent/SDK/Models/Components/AudioTrackVariantJson.cs: - id: c057d30cb3a2 - last_write_checksum: sha1:df223976cbddb8ac5557024ccdd78d0fbe15ab1c - pristine_git_object: a322707664e6749d454a3d36ebef144edf5ae9f7 + src/Cvent/SDK/Models/Components/AudioTrackStatus.cs: + last_write_checksum: sha1:eff366c550737cf7958b54f8d1f45c007c64454e + src/Cvent/SDK/Models/Components/AudioTrackType.cs: + last_write_checksum: sha1:ba61be8dae28cc52b764c526a6e9194beb8e8a15 + src/Cvent/SDK/Models/Components/AudioTrackVariant.cs: + last_write_checksum: sha1:613ac39f4d18b46c9a8d822802d13784fdca155d src/Cvent/SDK/Models/Components/AudioTracksResponse.cs: id: d803b81f635f last_write_checksum: sha1:66daa2deaa8e7b342e6c534e5ceb4958f809593f @@ -10090,11 +9760,11 @@ trackedFiles: pristine_git_object: e3fda04599448619e1ee8140d691c2d996bc3837 src/Cvent/SDK/Models/Components/Badge.cs: id: ae8d432f30fb - last_write_checksum: sha1:dc30009767abc9c8857758fc01de448214836dc4 + last_write_checksum: sha1:250ad87afe3ad9e055a7e7fc91fd0d62033727b7 pristine_git_object: d660189461d866bbc57137d29700e269a42ed1bc src/Cvent/SDK/Models/Components/BadgeInput.cs: id: edc024116c6b - last_write_checksum: sha1:b91f6c74caa85f17f1c89044ff9061aee1d1c5e6 + last_write_checksum: sha1:8cba11fc24f7fd58cb4c30fbb8a6136c9e5c1c52 pristine_git_object: aee2b1fa5dd766d4896777de384562224858126c src/Cvent/SDK/Models/Components/BadgePaginatedResponse.cs: id: d25e91026fb4 @@ -10172,22 +9842,16 @@ trackedFiles: id: d151bbdf27a4 last_write_checksum: sha1:f6c002b2a324da104c03f5929ad5917f94adb414 pristine_git_object: 9f674f6117c7ea9001ed8585b6ea9931de33dd59 - src/Cvent/SDK/Models/Components/BidItemStatusTypeJson.cs: - id: 8b6a8629c88f - last_write_checksum: sha1:643c39f5657ecc08e00d91b7c157304dd29ef6fd - pristine_git_object: 075ccdc43c59d78f8ed28469d02495f659af7925 - src/Cvent/SDK/Models/Components/BidStatusTypeJson.cs: - id: 368118dd70e7 - last_write_checksum: sha1:ca9031a101035bce44b91e9dc47ba156589d8111 - pristine_git_object: 7ccd77764bb77353b8890dcdbb81a52a839c3bfb - src/Cvent/SDK/Models/Components/BidStayTypeJson.cs: - id: d79a7fa795fc - last_write_checksum: sha1:6832ca620421f448c5ff73b0ce84972d691604fe - pristine_git_object: 2564eed7e4fbc17a665674122b65e23a9a68513c + src/Cvent/SDK/Models/Components/BidItemStatusType.cs: + last_write_checksum: sha1:11b82dacb546044db787323b44525b170ce6d152 + src/Cvent/SDK/Models/Components/BidStatusType.cs: + last_write_checksum: sha1:5289d5264d20930c2f4d979a435dfef038d609b2 + src/Cvent/SDK/Models/Components/BidStayType.cs: + last_write_checksum: sha1:a74d14bb339ac57b40516596a5eb7dfbd3caf5b3 src/Cvent/SDK/Models/Components/BillingAddress.cs: last_write_checksum: sha1:b7702be04baa535e70286045470e48cfa549f1aa - src/Cvent/SDK/Models/Components/BillingDetailsJson0.cs: - last_write_checksum: sha1:6132cd1def9a6c538ae7e4fa3b492046032ffc06 + src/Cvent/SDK/Models/Components/BillingDetails1.cs: + last_write_checksum: sha1:098e6aef0410f97314b74f47af440e0235f1e88e src/Cvent/SDK/Models/Components/BookingContact.cs: id: abeccbc9662b last_write_checksum: sha1:a773a7aa54b508817b991ca08c2bf1a4d28e2793 @@ -10204,30 +9868,30 @@ trackedFiles: pristine_git_object: 7cf0add42c435576c317fcf4dd8ca10ff5c44044 src/Cvent/SDK/Models/Components/BoothStaffRequest.cs: id: b41bd3443292 - last_write_checksum: sha1:e1872303a0ffdce9e9bdfc6da383f807bd5ffab6 + last_write_checksum: sha1:b6cc0e28407eb6f2cd89a58c07c3499e48212639 pristine_git_object: e8c1ebf50ecd0fde7a24071c8e198463b4da85c4 src/Cvent/SDK/Models/Components/BoothStaffResponse.cs: id: 2580e0684876 - last_write_checksum: sha1:25aee732fa635e28f691b4a93720da6322d24e21 + last_write_checksum: sha1:d89bf9760197027fdde80d59b3ff47831e62e115 pristine_git_object: 055885654c94d5858f94de5ed6e3d8de424b558e src/Cvent/SDK/Models/Components/BounceDetailsJson.cs: id: f50d12fcd1bf - last_write_checksum: sha1:3f7587e3e92b5c469aea3e49f4b10347dd53e540 + last_write_checksum: sha1:c04dbe899160605eaafe8875326c35ecb9587fd6 pristine_git_object: cb99e7d758a139727dcb5f69f99b45c42673d1ab src/Cvent/SDK/Models/Components/BounceDetailsResponse.cs: id: cbd1ddbcfb73 - last_write_checksum: sha1:329354e4d1042094c3bb4b62995b4e833cd4e86e + last_write_checksum: sha1:913ac289fe6d82b853ad0e89e666d8ad2a70a6ec pristine_git_object: 4631250f885cfb793bbe350efd57e0eee7fd199f src/Cvent/SDK/Models/Components/Brand.cs: id: 28e246c8c762 - last_write_checksum: sha1:77dcf7fa3f50e9e6b1fd2fe23424faef7aa3409a + last_write_checksum: sha1:c94499612ba8c8d761f036b890321e4ab4603b1a pristine_git_object: 8f4e49ff1179723c17781792ca8eafa756f9c16d src/Cvent/SDK/Models/Components/BrandPaginatedResponse.cs: id: 1a0250405f9e last_write_checksum: sha1:d74e5637b83ef4fe71c3050da7f2c5861f7d6c47 pristine_git_object: 00a08dbe5830e75fd8bc4dd7a6a4dbf56045272a - src/Cvent/SDK/Models/Components/BrideGroomTypeJson0.cs: - last_write_checksum: sha1:ec88fd604c54ade0d87f438ce8969dc1ebd1c728 + src/Cvent/SDK/Models/Components/BrideGroomType.cs: + last_write_checksum: sha1:5576fb38e3f31a4cd8836d72a24e223800d25bc5 src/Cvent/SDK/Models/Components/BudgetAllocatebyJson.cs: id: 58d8ead1c72b last_write_checksum: sha1:d810211f94145cfd7cd23d8249735344b4ac745a @@ -10448,10 +10112,8 @@ trackedFiles: id: b24a1c22186f last_write_checksum: sha1:43ac3487824571d183e6d825f0033c2fe9460da4 pristine_git_object: b41f69ffe2dedf9d2e6f7cf87c19389be70cdff0 - src/Cvent/SDK/Models/Components/BusinessTypeJson.cs: - id: a11e42f05494 - last_write_checksum: sha1:c02c2e6a5261ee2f99e045642549641e4fb2b3de - pristine_git_object: 2c9c77161d733d33219cfe325c4d73a1787b65f3 + src/Cvent/SDK/Models/Components/BusinessType.cs: + last_write_checksum: sha1:ee0358f9237db285c7e6278635b29495bf50c16f src/Cvent/SDK/Models/Components/CalculateBy.cs: last_write_checksum: sha1:0ed509fd5bf4d5010653668ca870df2390424dec src/Cvent/SDK/Models/Components/Calendar.cs: @@ -10470,14 +10132,14 @@ trackedFiles: id: b0bb08c66548 last_write_checksum: sha1:72452b5de97b4f8a84abd79e97cf89272c6eb100 pristine_git_object: 45980f7aaffa2015786ccd898820855d0934d93a - src/Cvent/SDK/Models/Components/CancellationDetailsJson.cs: - last_write_checksum: sha1:c3861b049793c7d2ebde5c6a975f91d43c44775d + src/Cvent/SDK/Models/Components/CancellationDetails.cs: + last_write_checksum: sha1:410b8411e8d6945831def771116d925e992dab41 src/Cvent/SDK/Models/Components/CancelledReason.cs: id: a0b17bee0daf last_write_checksum: sha1:27e087dd34f627abff8e83cb344ae4876503423f pristine_git_object: f36f80267b9fbd67674bf348ecff7a63bae3e256 - src/Cvent/SDK/Models/Components/CancelledReasonJson0.cs: - last_write_checksum: sha1:e4ecec35b8b1093c55acbfd545cc097c1c1ec448 + src/Cvent/SDK/Models/Components/CancelledReason1.cs: + last_write_checksum: sha1:f9c7146fd15d65ace185c2e592fd6dc0b66ea21e src/Cvent/SDK/Models/Components/Capacity.cs: last_write_checksum: sha1:df7efb3847103559873cc8192c6f983d41c874d8 src/Cvent/SDK/Models/Components/CapacityJson.cs: @@ -10540,29 +10202,23 @@ trackedFiles: pristine_git_object: 9f6ccaa6bd0f50c486855793cf0d06459d9b752e src/Cvent/SDK/Models/Components/CardTypeJson.cs: last_write_checksum: sha1:36156d4b312e9be7c7a65ff83b9920f0ee08de8e + src/Cvent/SDK/Models/Components/Category.cs: + last_write_checksum: sha1:be79cb7d99be5be595ee80804b94f8f55f02d93f src/Cvent/SDK/Models/Components/CategoryId.cs: last_write_checksum: sha1:b84883a682020800ea1fb6851f872b94a193cf99 - src/Cvent/SDK/Models/Components/CategoryIdNameJson.cs: - id: 1978c9b0911d - last_write_checksum: sha1:31e0b0ea6fe994712b51b4980831955973660c60 - pristine_git_object: b208b60ee86fb7e573b5fb663b7398cef953978e src/Cvent/SDK/Models/Components/CategoryItemsCostJson.cs: id: a4541054e585 - last_write_checksum: sha1:ec5a774264f51995208039c750b642701f91f926 + last_write_checksum: sha1:0d067a0f801826ac5163524f22775d5fe7a8099c pristine_git_object: 10a3727382c982154b320074264c537646de2106 src/Cvent/SDK/Models/Components/CategoryJson.cs: - last_write_checksum: sha1:10e6e11d33983cb43959e3e95235ab77656f87b5 + last_write_checksum: sha1:83ac86db65aa9ec87f7c7945c9ecc95d01eef2c6 src/Cvent/SDK/Models/Components/CategoryJson1.cs: id: 1168a1793993 - last_write_checksum: sha1:dbbf85327f462575a277da58243dc89783b4c811 + last_write_checksum: sha1:6187ca93e5d822338a546c3db0d95b4b7a2ff215 pristine_git_object: f652cfbd9aa2ef96234175fc9fd9a4f496c15b6d - src/Cvent/SDK/Models/Components/CategoryJson2.cs: - id: fea6078754e8 - last_write_checksum: sha1:83870b67ee1815912bdc93cfd3f322fee864ed24 - pristine_git_object: 85df953d584740980de2ff11235573edba998ac0 src/Cvent/SDK/Models/Components/Chain.cs: id: defb8afe8333 - last_write_checksum: sha1:98885c6a7c808867d6f1993d4da8bdbef1ffcd6d + last_write_checksum: sha1:70c267b0dc2d83df2779dc8e16005dd9762e3797 pristine_git_object: 0e579eb10a63d87d50558f5c30e577e5c7801ab6 src/Cvent/SDK/Models/Components/ChainBrand.cs: id: 3d94fdabe1d0 @@ -10610,22 +10266,20 @@ trackedFiles: pristine_git_object: 02a907024c41925f35f72f2c59f77794d3aadc97 src/Cvent/SDK/Models/Components/Choice.cs: id: 344f899a3f06 - last_write_checksum: sha1:5734bdd56969e1c11377d637cccd194721d6ff8c + last_write_checksum: sha1:8d251e5c90ab6898f9ae09694c21a15c1940691c pristine_git_object: d63a02e9fb432871f94ecdfa881fa3fe3c17e233 - src/Cvent/SDK/Models/Components/ChoiceJson.cs: - last_write_checksum: sha1:8c9979cecc84be0ff3810657f733c7b54ed077f0 + src/Cvent/SDK/Models/Components/Choice1.cs: + last_write_checksum: sha1:311578c8bfac6045142a8bba26330d155b273842 + src/Cvent/SDK/Models/Components/ChoiceJson1.cs: + last_write_checksum: sha1:ea273d1f9d4f79643c19492027e42a351e053392 src/Cvent/SDK/Models/Components/ChoiceJson2.cs: id: a117bf7b1539 - last_write_checksum: sha1:8ce6bad0c955ef9e95ea86d7d92ec6899c39b577 + last_write_checksum: sha1:a262c05de1870236cbee28bdff11d8a302313740 pristine_git_object: a0d67792f158432e1f71168f4142ceaba759ddb5 - src/Cvent/SDK/Models/Components/ChoiceJson3.cs: - id: bc4986afb043 - last_write_checksum: sha1:f193752cc75f9595d734fbbad947368df090d3e6 - pristine_git_object: 96adc3039b70b573af643e507090f2eb9fc9ef75 - src/Cvent/SDK/Models/Components/ChoiceJson3Input.cs: - last_write_checksum: sha1:f65bacfe962ed56e873f0ef1799110624c12b117 - src/Cvent/SDK/Models/Components/ChoiceSortOrderJson.cs: - last_write_checksum: sha1:4f67e5dbffef25ee82ea11918b409b99179ae240 + src/Cvent/SDK/Models/Components/ChoiceJson2Input.cs: + last_write_checksum: sha1:1f9ebdad0af2a005c572afdfd3eb511e3a708470 + src/Cvent/SDK/Models/Components/ChoiceSortOrder.cs: + last_write_checksum: sha1:da6de88c9a615f18c90b837e77bbbea932d70ff3 src/Cvent/SDK/Models/Components/ChoiceTranslationJson.cs: id: ad5f550fc9ac last_write_checksum: sha1:d3c7a66c7f22924ab58e6e7192ec8820819b2a28 @@ -10634,16 +10288,14 @@ trackedFiles: last_write_checksum: sha1:8e56b809897d4ce2d566c3f1cadc0287bf694b04 src/Cvent/SDK/Models/Components/Choices.cs: id: afdf64e85049 - last_write_checksum: sha1:74530f10717915a0dc2082f6175fe4dc073a613a + last_write_checksum: sha1:08f03add251a189e39cfc13ab0440c771bc063d0 pristine_git_object: 4702e9f12322c3c41ce09210821083bfc63543cb src/Cvent/SDK/Models/Components/ChoicesDisplayTypeJson.cs: id: 867f257ee1c6 last_write_checksum: sha1:765c1d45008acef3d5cec33a61695c67e9700ac6 pristine_git_object: e278e563198a1ff8b5724245649957863d1e4b12 - src/Cvent/SDK/Models/Components/CommentTypeJson.cs: - id: ff0a82e07fad - last_write_checksum: sha1:06a8f2cbf55ddbfeb55f607615499639a8db95cf - pristine_git_object: 5833bae1adf0d078985c72e6c75f978f713f2b09 + src/Cvent/SDK/Models/Components/CommentType.cs: + last_write_checksum: sha1:1e1512152e1e80bedcc0ff411309c4b7fb90fcaa src/Cvent/SDK/Models/Components/CommunicationConfiguration.cs: id: 8f7c39ec6212 last_write_checksum: sha1:fb3a07adb2e52134cc3736835458e6eaacb612d2 @@ -10661,30 +10313,16 @@ trackedFiles: last_write_checksum: sha1:b87bf37de5d70d572c570eb903e3b6714dda6eaf pristine_git_object: 1af119a89b5e537bf71a64e2805d7465920f5946 src/Cvent/SDK/Models/Components/Compliance.cs: - last_write_checksum: sha1:e9e497a800a23c41f50ee1df11925714563e44b6 - src/Cvent/SDK/Models/Components/ComplianceAction.cs: - last_write_checksum: sha1:4680814e31b1edcc258ebfc0442722b2f2618283 - src/Cvent/SDK/Models/Components/ComplianceComplianceScope.cs: - last_write_checksum: sha1:8a413f02375c1c163eb34449e2c5bf83c3fdd8f5 - src/Cvent/SDK/Models/Components/ComplianceCreatedBy.cs: - last_write_checksum: sha1:4001568e409bff15292540855a1eb6cb37520435 - src/Cvent/SDK/Models/Components/ComplianceJson.cs: - id: a773ef1472f3 - last_write_checksum: sha1:25781cbcbdf6a10045d87f32be130611dd24bd49 - pristine_git_object: 3670e9421ae0d7d354edffa37d26df4ff9161f4c - src/Cvent/SDK/Models/Components/ComplianceJsonAction.cs: - last_write_checksum: sha1:fa80aeeaa467d5713b45ca14940751b23e698f35 - src/Cvent/SDK/Models/Components/ComplianceJsonComplianceScope.cs: - last_write_checksum: sha1:0196acd79a679799ef1fac875cc233b78cf421a1 - src/Cvent/SDK/Models/Components/ComplianceJsonCreatedBy.cs: - last_write_checksum: sha1:9ed7d3aadc73636ef4ea96e7867058a92dac9cf8 + last_write_checksum: sha1:9caa68ed73174e826ac9c4644a023126b687ea1c + src/Cvent/SDK/Models/Components/ComplianceScope.cs: + last_write_checksum: sha1:da529d25616dac1d348045a9cf790f76a3b275e6 src/Cvent/SDK/Models/Components/CompositeValueJson.cs: id: d2fdd79333a7 last_write_checksum: sha1:8da1105c5da6bc8e367719b9b0a6dfe3e3d86e2c pristine_git_object: 2c01935430a8eac22457c89324ea75ddef3d75f3 src/Cvent/SDK/Models/Components/ConflictResolution.cs: id: e82d8f26c2c9 - last_write_checksum: sha1:25369719b6151f04cafb64bad460b7048e022cdb + last_write_checksum: sha1:545c450ebb3dacdbadd715736c8b1a21044948ba pristine_git_object: d58c163d925e7a50513a6609eead06369448ee98 src/Cvent/SDK/Models/Components/ConnectionResponse.cs: id: de5168c90a8f @@ -10696,28 +10334,24 @@ trackedFiles: pristine_git_object: a5ee7962e3b0e90ded10c194285e513b58cefa95 src/Cvent/SDK/Models/Components/Contact.cs: id: ac3d567f7d19 - last_write_checksum: sha1:c0489ab69305ef260de166ac5c7d4700e67264e2 + last_write_checksum: sha1:a47aa393ebf27aeed82940d151ae1d573bb2509d pristine_git_object: 3480e1b79be63129afd616d189c983c1740333f8 - src/Cvent/SDK/Models/Components/ContactBulkItemJson.cs: - id: 0f9b1bdc96c9 - last_write_checksum: sha1:3f12a0c0da531edd72afc99f704beeebba13417d - pristine_git_object: 75826309f0c3ea2ceb0d89d134c9c63d26c01324 - src/Cvent/SDK/Models/Components/ContactBulkItemJsonData.cs: - id: a30ac3bda036 - last_write_checksum: sha1:f2a38c0283227c47644482d9f95166a87974ef34 - pristine_git_object: a736d56ba8faeecdeb6ce9bce019b23de2ee9f02 + src/Cvent/SDK/Models/Components/Contact1.cs: + last_write_checksum: sha1:909fbd2dc5c9cdbf18d2c02e38c3f29fe2d9a953 + src/Cvent/SDK/Models/Components/Contact2.cs: + last_write_checksum: sha1:8b84f2b5826b0377179220ee1b15e79bce51f21e + src/Cvent/SDK/Models/Components/ContactBulkResponseItem.cs: + last_write_checksum: sha1:e775cb96360bae307ea8d5ee868e58157d62c8a1 + src/Cvent/SDK/Models/Components/ContactBulkResponseItemData.cs: + last_write_checksum: sha1:47f132f2a9d731fac524893f0141b9f721ef4363 src/Cvent/SDK/Models/Components/ContactCommonJson.cs: id: 16b41ac55dcc last_write_checksum: sha1:27fd698330fa52310d68113480332c7c3de5486d pristine_git_object: c7bf41ca9ec10e66eb827b1f94db53de91f6f93c - src/Cvent/SDK/Models/Components/ContactCreateRequestJson.cs: - id: fcf518a0c112 - last_write_checksum: sha1:442536582419b71dccf31fc9a5e2bdbfcf987e8b - pristine_git_object: 8d603576b69740cfd223dd3072167a29261f21fa - src/Cvent/SDK/Models/Components/ContactCreateRequestJsonEvent.cs: - id: 89c44bec4c55 - last_write_checksum: sha1:3c86bef8f5712a8e5d659419fd949acc9d595e5b - pristine_git_object: ecce1e8109dd176a3c3d134481fadcc4329900cd + src/Cvent/SDK/Models/Components/ContactCreate.cs: + last_write_checksum: sha1:e8d9ccda424b28b0cf90ed6ef20aa750fbbfc9ed + src/Cvent/SDK/Models/Components/ContactCreateEvent.cs: + last_write_checksum: sha1:57722154454d4cf55876a1565b846232dd63566d src/Cvent/SDK/Models/Components/ContactEvent.cs: id: 1b659dc83787 last_write_checksum: sha1:6159c53ed878fbcc3b9272d858b500205b568f9e @@ -10752,91 +10386,69 @@ trackedFiles: pristine_git_object: a212a57a8b3049c15f6675f94bfcbbdd8d586ee2 src/Cvent/SDK/Models/Components/ContactGroup.cs: id: 59677eec4501 - last_write_checksum: sha1:08e322f2ae7d6e144c7e4579d647708e20c527b5 + last_write_checksum: sha1:3aa0348222bc356237353eb10318eb862f42b3bb pristine_git_object: e39626e09b53677aaf6dd68c40edf2652d9522c8 src/Cvent/SDK/Models/Components/ContactGroupInput.cs: id: cb175f56e7a6 - last_write_checksum: sha1:4bcfc90cc5f4ef4a48ac67d7567bda3870e2c80b + last_write_checksum: sha1:1c639759942bd79583d32329b649b9a10d16f8c9 pristine_git_object: b5c8c301437b55d164fba7ae12d2e48797c2ed58 src/Cvent/SDK/Models/Components/ContactGroupPaginatedResponse.cs: id: 71f509ba96ba - last_write_checksum: sha1:77fbb17ea650bf62811b03e50aafd895da0b082b + last_write_checksum: sha1:5a2bde3f7f407e4c6a7a801ab0e61bed97e02859 pristine_git_object: b258f58f0c080496e330ab3962734ddd5e8149a3 - src/Cvent/SDK/Models/Components/ContactGroupTypeJson.cs: - id: 12a7c0ea1ee5 - last_write_checksum: sha1:62c37f75277e5fac4aadd4e6aa0f8107bb92bf5d - pristine_git_object: 316048ad344c3b9398cc6091ce4ad2a3fe3eeaeb - src/Cvent/SDK/Models/Components/ContactHistoryJson.cs: - id: 496949b74c60 - last_write_checksum: sha1:bdc3a71542b170c132928f3b0d17542bee58c07f - pristine_git_object: d61a7acbb6e67b20fd714cd32d61a0ad3e5470ce + src/Cvent/SDK/Models/Components/ContactGroupType.cs: + last_write_checksum: sha1:5e9e692438d2332276df5c25de05ec009b7966ca + src/Cvent/SDK/Models/Components/ContactHistory.cs: + last_write_checksum: sha1:3e28b9ac0def25f721e12e95b8e0bb6220d6cce1 src/Cvent/SDK/Models/Components/ContactHistoryPaginatedResponse.cs: id: f132fef6a5f5 - last_write_checksum: sha1:a42d62ea671f8bd424596091ce76a42a96aedb3e + last_write_checksum: sha1:016b0ca5d616011c5a7377736c5396dd06b9f9ca pristine_git_object: b8b69ffcca8fdd7357544dcf1c26a6fba2f3e4c0 - src/Cvent/SDK/Models/Components/ContactIdJson.cs: - id: 52cb16c9320c - last_write_checksum: sha1:c99f26f1148b6ea5809fb0a34897f763099dff3a - pristine_git_object: 61da5153dbbee3bdddd69e1ec22c7e97a95f96e9 + src/Cvent/SDK/Models/Components/ContactId.cs: + last_write_checksum: sha1:ef53f36b815ec7a31d1a8da81305bd4cdd1ed96b src/Cvent/SDK/Models/Components/ContactIdPaginatedResponse.cs: id: 52faa4bee69f - last_write_checksum: sha1:366879fa9a75eebba40ea1d8a72a04df51b08d96 + last_write_checksum: sha1:5988adbf8ad90cf16b08a21f8eff8e91b32b4856 pristine_git_object: bf35489f6d43e808cb17d77a898128d3b800e3be src/Cvent/SDK/Models/Components/ContactInformationJson.cs: last_write_checksum: sha1:3f04eae6f9255b89dfd3f2952431da3f112b136e - src/Cvent/SDK/Models/Components/ContactJson0.cs: - last_write_checksum: sha1:f11a712068d25c0fc325780dc6f3fa8c6a388aba - src/Cvent/SDK/Models/Components/ContactJson1.cs: - id: d7fe945c872c - last_write_checksum: sha1:3f0e40907bee1ef86d564c9889e37491482f226e - pristine_git_object: 8203ef84190ef5d6f95dbda1313468e849d6ec41 - src/Cvent/SDK/Models/Components/ContactJson2.cs: - id: 44ef608704ec - last_write_checksum: sha1:38c1ec87cc9ddd1b41b52e5ed9bd20737268a6cf - pristine_git_object: d4774a9f6adbdee4d545d73f83160a189d4ba7e4 + src/Cvent/SDK/Models/Components/ContactJson.cs: + last_write_checksum: sha1:b0dd2c4cecad7650911c3865a1348593d27424ab src/Cvent/SDK/Models/Components/ContactLinks.cs: last_write_checksum: sha1:79643b38dae25397f14c2d7322515d1b1216b904 src/Cvent/SDK/Models/Components/ContactLinks1.cs: last_write_checksum: sha1:f3a23c91e04141f25d61191e94a027546fe4430e - src/Cvent/SDK/Models/Components/ContactLinksJson.cs: - id: 07a4c61e991c - last_write_checksum: sha1:60e202e66f09afc644f9151920bc6d0af6c18365 - pristine_git_object: ec35c0bdaf8752f872858acaf32ad6ccec93a7aa - src/Cvent/SDK/Models/Components/ContactLinksJsonInput.cs: - id: 60deb552952d - last_write_checksum: sha1:7465fe54ec5e1b7139dc4e13c671c9ae7893e53d - pristine_git_object: 1f5fa5674365549d4dae0d44c4a74f4c541316a9 - src/Cvent/SDK/Models/Components/ContactLinksJsonLink.cs: - id: bebca5a7460b - last_write_checksum: sha1:c32109d7b1dab7685ba1cf1c3eda27f14a487f25 - pristine_git_object: 960446fb206cf636bffacfc371a74f33d48a0a67 + src/Cvent/SDK/Models/Components/ContactLinksInput.cs: + last_write_checksum: sha1:c193353bcc394ff24dc5f8fcf3e07ad3b688e37f src/Cvent/SDK/Models/Components/ContactLinksLink.cs: last_write_checksum: sha1:6956533bc4f3916fa50992302cf2da77718ab7b4 + src/Cvent/SDK/Models/Components/ContactMembership.cs: + last_write_checksum: sha1:2057edabd3e76579103291914577c1eb897d7093 src/Cvent/SDK/Models/Components/ContactMerge.cs: id: cfad818f741f last_write_checksum: sha1:f25625ed3982a8796ecd6a8e92e5ec5db254a437 pristine_git_object: 0a69017c97f4d7534599fe98e4931a6d6d931e21 - src/Cvent/SDK/Models/Components/ContactMergeFieldJson.cs: - id: 025b547a7e97 - last_write_checksum: sha1:3295cbc6eda5e62bec2e5b9237efbc25c7ab5972 - pristine_git_object: 71a118d3fb20676f5f3f5879126ebc879962865b - src/Cvent/SDK/Models/Components/ContactMethodsJson.cs: - last_write_checksum: sha1:8a2cf76a051fa8a2c4de7b3e794a1defc155a468 + src/Cvent/SDK/Models/Components/ContactMergeField.cs: + last_write_checksum: sha1:08979bfc5cb53597cecaaa2d1dc791def553c1de + src/Cvent/SDK/Models/Components/ContactMethods.cs: + last_write_checksum: sha1:a2f68072e9fca6d83722d7483d558ecf571bdc51 src/Cvent/SDK/Models/Components/ContactObfuscationStatus.cs: id: 8aaec26b97d8 - last_write_checksum: sha1:d20172e33d13310b7cc16f244b7dd4171571d35a + last_write_checksum: sha1:00f819a41422dbfa62b6733fc619e5401a785960 pristine_git_object: 4753fac7afdb651d6256f5d52b7672f9ff2faaab - src/Cvent/SDK/Models/Components/ContactObfuscationStatusTypeJson.cs: - id: c638aeb0dc30 - last_write_checksum: sha1:28ea2ca80720284b8671bd977f812509563e041a - pristine_git_object: 07d58adb43187893df0e560bd5e8709bf334e6b6 + src/Cvent/SDK/Models/Components/ContactObfuscationStatusType.cs: + last_write_checksum: sha1:77ee1fb24b42d12b69448d86f1cf36272b780899 + src/Cvent/SDK/Models/Components/ContactOptOut.cs: + last_write_checksum: sha1:d96a9841790c1dec2eec1a1028d3c7288fcea471 + src/Cvent/SDK/Models/Components/ContactOptOutInput.cs: + last_write_checksum: sha1:85da0473922f229f8be1052dc6a9800fd4a6f619 src/Cvent/SDK/Models/Components/ContactPaginatedResponse.cs: id: 5fbf918cf6ce - last_write_checksum: sha1:3f09df087c6580a938d846429b8865de2858ec08 + last_write_checksum: sha1:6a3022ad1c8c2bdbf516c5b3236799a3f599082c pristine_git_object: ba53dff83d7fd5fe275e856997efa7a95d410c21 src/Cvent/SDK/Models/Components/ContactPatch.cs: id: 58e3cb774328 - last_write_checksum: sha1:3dd1cdf8be1ed9ab221bdd1ab8c975ec88c380b5 + last_write_checksum: sha1:91305f1c4f614e708b59bee62bd4d71a7b272c5b pristine_git_object: 790d3eecfcd62fab768237d03f8c7f686145cb5b src/Cvent/SDK/Models/Components/ContactPatchLinks.cs: id: eb7926f73d30 @@ -10846,21 +10458,19 @@ trackedFiles: id: 1845a299c760 last_write_checksum: sha1:da3f7f5a95c2e2fc156528db5e4f05ba1ab39b2c pristine_git_object: 7c236d795e41d4817a1a4fc0b5279b6e2bf5f4d5 + src/Cvent/SDK/Models/Components/ContactType.cs: + last_write_checksum: sha1:50fdf348cd55f87b548330404503a2199d7937d4 src/Cvent/SDK/Models/Components/ContactTypeJson.cs: id: b952161ad95f - last_write_checksum: sha1:1a7c3eb0d05de364033b4d93915d6f291e9366a0 + last_write_checksum: sha1:db83c80c60cede745c8e3e3cdb7ff1c00b67abb0 pristine_git_object: 6e40dda9e219df64eab97788b3d24a0fd164469a - src/Cvent/SDK/Models/Components/ContactTypeJson1.cs: - id: e301373a5c2a - last_write_checksum: sha1:3b57ef1ccb5ca01f1f9800cfd171e7517140a760 - pristine_git_object: 4b3f6714fd3d2b421172df425b71dd36cdd36714 src/Cvent/SDK/Models/Components/ContactTypePaginatedResponse.cs: id: f4a82356d67b - last_write_checksum: sha1:a749ef046791a81060c826fc70c96afa2e4e6169 + last_write_checksum: sha1:191fa8adc50be5bec148540440c49ef7c25eb6aa pristine_git_object: dfca70ee5f145843670dbaa549ace63d2363055b src/Cvent/SDK/Models/Components/ContactUpdate.cs: id: e3f39083a701 - last_write_checksum: sha1:6004daa66340002fcc7f573a1fb151f89158bbf3 + last_write_checksum: sha1:3969449bb8b3ea41c13dcddd73589a6a7f9c79dc pristine_git_object: f8f3291c9c022bdf3c49529a17565a8faea4ba3f src/Cvent/SDK/Models/Components/CountryJson.cs: id: 3357ba2b8724 @@ -10871,9 +10481,9 @@ trackedFiles: last_write_checksum: sha1:45c21f4f1c4d2e8874cc81b9a3fb41436d872f38 pristine_git_object: 4de0a84c59789cc1d006258f967a9efa6238e2b9 src/Cvent/SDK/Models/Components/CreateTransactionResponse.cs: - last_write_checksum: sha1:ae402becb27b5bc101b43a0319463be1a723cc41 + last_write_checksum: sha1:4c6d4331e8a480b17ce51c01a8534d04d26d26fc src/Cvent/SDK/Models/Components/CreateTransactionResponseInput.cs: - last_write_checksum: sha1:46f40f326e15acab1673ca7bd67cffa3e2608d32 + last_write_checksum: sha1:388845a9fc48399ca5c2fba747d37b86e69c78f9 src/Cvent/SDK/Models/Components/CreateUpdateDiscount.cs: id: 47f98e744860 last_write_checksum: sha1:6bec7329b656ea292b69220cdca9641640a28998 @@ -10910,6 +10520,8 @@ trackedFiles: id: a26af38a9139 last_write_checksum: sha1:b484322952838a4579686443a296600385bc341a pristine_git_object: 6d3180f7054b7cf603edb689a25ffdb72de07c9a + src/Cvent/SDK/Models/Components/CreatedBy.cs: + last_write_checksum: sha1:2b417db063d4c2d10abcda43ffeac396b41ac1e4 src/Cvent/SDK/Models/Components/CreditCardRequestJson.cs: id: 8714f7d6070c last_write_checksum: sha1:e0b80bec4e6223ea6b2f01f3d379a420e0df73cf @@ -10946,10 +10558,8 @@ trackedFiles: id: 67717a5f183f last_write_checksum: sha1:5c670c17251609e6c808c63072287d5112670eb0 pristine_git_object: fe7093ed0846a655aa36d68221301336208c0661 - src/Cvent/SDK/Models/Components/CurrencyJson1.cs: - id: cce2ee2028c8 - last_write_checksum: sha1:ffc90763678eb98649c74f8228aba4e9527b376e - pristine_git_object: 1ee46f40f609fdd1b5462f89bc248a79c147e606 + src/Cvent/SDK/Models/Components/CurrencyJson2.cs: + last_write_checksum: sha1:b8dce82b111f89803979adc30c9abd51efff742b src/Cvent/SDK/Models/Components/CustomAnswerFormat.cs: last_write_checksum: sha1:237a8641c88556cf5390d0d6a3cff1af517bc5d3 src/Cvent/SDK/Models/Components/CustomDuration.cs: @@ -10965,9 +10575,11 @@ trackedFiles: src/Cvent/SDK/Models/Components/CustomField2Input.cs: last_write_checksum: sha1:4c67a5f49d9d3c97a858ef4f5ff501f4d985b1b0 src/Cvent/SDK/Models/Components/CustomField3.cs: - last_write_checksum: sha1:eb5f02b9076db13da749baf8b8781f08b2d4dd3e + last_write_checksum: sha1:3e44a76bb65237ff598e6684bab98b3a741946fd src/Cvent/SDK/Models/Components/CustomField3Details.cs: last_write_checksum: sha1:7c4b6311e69a6db597d8be5d853be0b601abc567 + src/Cvent/SDK/Models/Components/CustomFieldAnswers.cs: + last_write_checksum: sha1:2faffbd14ac0e6d8e552cf8f239ad8b92d761cc5 src/Cvent/SDK/Models/Components/CustomFieldCategoryJson.cs: id: 0eb220bce8e8 last_write_checksum: sha1:e14a4c2f026d957eb2de8263b8b04e38b78d2ef5 @@ -10982,26 +10594,24 @@ trackedFiles: id: f48961241b6c last_write_checksum: sha1:48aac1f01f8a4202d854d5d55766e3c306e5e1b6 pristine_git_object: f4b2c7f169f1cd11147ecd2d9b964e876dff7508 + src/Cvent/SDK/Models/Components/CustomFieldJson.cs: + last_write_checksum: sha1:24651130fb6184148c996049bacba9d4c4eb2981 src/Cvent/SDK/Models/Components/CustomFieldJson1.cs: - last_write_checksum: sha1:fbefbbad5872dc759b0ca23b333534b069fdaf41 + last_write_checksum: sha1:fa86935d876b62d78fba6faaec0f0c7eb12b02ac src/Cvent/SDK/Models/Components/CustomFieldJson1CustomFieldType.cs: - last_write_checksum: sha1:b467e5bf1a5590c9ff71e1fc9330b4b7b9a77345 + last_write_checksum: sha1:dc5fbd2e90e86efe762e9f1d8b7eeabfbeecd849 src/Cvent/SDK/Models/Components/CustomFieldJson2.cs: - last_write_checksum: sha1:5ca46aca55c1ace6f4cadbd5253b06e82eae314b + last_write_checksum: sha1:60fbf1b1567fef57ab8f1cacaf9b3f3663095bfa src/Cvent/SDK/Models/Components/CustomFieldJson2CustomFieldType.cs: - last_write_checksum: sha1:63279ba4d9039a756b5927112a3f99f2fddc9cc3 - src/Cvent/SDK/Models/Components/CustomFieldJson3.cs: - last_write_checksum: sha1:da67fa48fae26cd6623b96261c7cbf008e29adb7 - src/Cvent/SDK/Models/Components/CustomFieldJson3CustomFieldType.cs: - last_write_checksum: sha1:cf26b205cba058b46cf2a419eaea7dd04be7775f + last_write_checksum: sha1:2381f5115fb201c02746583ccea11ea647df9c4c + src/Cvent/SDK/Models/Components/CustomFieldJsonCustomFieldType.cs: + last_write_checksum: sha1:2c223157d567dbd85625ef0694ca1d90379bbd1d src/Cvent/SDK/Models/Components/CustomFieldSchema.cs: last_write_checksum: sha1:42d256f41bbed5452ef5b721fbe860df5c03af36 src/Cvent/SDK/Models/Components/CustomFieldSchemaCustomFieldType.cs: last_write_checksum: sha1:4b403b9d27d2f8a181b92c88dde5d6280c8db12e - src/Cvent/SDK/Models/Components/CustomFieldTypeJson1.cs: - id: c1197fb2ca15 - last_write_checksum: sha1:0f35eb1616ba133d914c4d3b1b024fa873e627cf - pristine_git_object: 74f5bd09415717c5175e6b4991ab12edd29655dd + src/Cvent/SDK/Models/Components/CustomFieldTypeJson.cs: + last_write_checksum: sha1:cbd05ec3ef4f8ee4eb1ea066487a4b876b83f307 src/Cvent/SDK/Models/Components/CustomFieldsJson.cs: id: 4f73cbd7c139 last_write_checksum: sha1:bc06ca46ad020d01ceabe6e771c22c0ff5945e54 @@ -11010,46 +10620,32 @@ trackedFiles: id: 578c2a75b20f last_write_checksum: sha1:e9da3a08f032da454e311b23ab25d45be55a701b pristine_git_object: 3ba2f458bb241861e4f3e4fc2929c995b41be023 - src/Cvent/SDK/Models/Components/CustomQuestionAnswerJson0.cs: - id: ba4c91dd2793 - last_write_checksum: sha1:5ad39c400a7487c8cfa014858cb5525414f6b29a - pristine_git_object: fb6ff970086dd960f4aeacd238940374d6c8e8fd - src/Cvent/SDK/Models/Components/CustomQuestionAnswerJson0Question.cs: - id: 9bf4d976e8dd - last_write_checksum: sha1:53a773b6250ee421e4903e929ea0a83cc75881cc - pristine_git_object: ca3f729b3e936711571420a1b130464c5d5de694 - src/Cvent/SDK/Models/Components/DateAnswerFormatJson.cs: - last_write_checksum: sha1:25c0e9efc7654d65bd4e70c6f9f56429316623e0 - src/Cvent/SDK/Models/Components/DatePatternJson0.cs: - last_write_checksum: sha1:2bfb0aecaed8f74a0e3bff2bcf47068e4bc85ae2 - src/Cvent/SDK/Models/Components/DateRequirementsJson0.cs: - last_write_checksum: sha1:5ccdbe3f957bb6c430de23a858f7b39d805e6277 + src/Cvent/SDK/Models/Components/DateAnswerFormat.cs: + last_write_checksum: sha1:35fa72702c12f1787043b90356a03f274d4c305a + src/Cvent/SDK/Models/Components/DatePattern1.cs: + last_write_checksum: sha1:86d57be7fbe1562257b7f7a59a2bfc6d92bf6b3b + src/Cvent/SDK/Models/Components/DateRequirements1.cs: + last_write_checksum: sha1:49d3b395fdd7af6d4692eecdf7d92fd16833116b src/Cvent/SDK/Models/Components/DateTimeDisplayFormatJson.cs: id: 4df9b86d64eb last_write_checksum: sha1:b70c51d8b5c064410c866adb24254d6b72d6a63b pristine_git_object: 10cdf34f3d6c067725ed47d33d7a65334755cdd5 - src/Cvent/SDK/Models/Components/DateTypeJson1.cs: - id: 841b1d914206 - last_write_checksum: sha1:a2c2428a885748c8c746b0531307871c6a1c79bf - pristine_git_object: b39ca6443c081616abf75e30ceabe8d625de2ffa - src/Cvent/SDK/Models/Components/DatesJson0.cs: - last_write_checksum: sha1:cb91c754178b7822f646a6c0ca61af21116dd543 - src/Cvent/SDK/Models/Components/DayOfWeekJson0.cs: - last_write_checksum: sha1:a95dd5e06f16d497af49cf61026a0d7fc9aedf7c + src/Cvent/SDK/Models/Components/DateTypeJson.cs: + last_write_checksum: sha1:50608a1ad8e619c6907c32f3a7a46cf559601e46 + src/Cvent/SDK/Models/Components/Dates1.cs: + last_write_checksum: sha1:884ec72e42e7e78e4a8bc495fe4cfd2ac633eae7 + src/Cvent/SDK/Models/Components/DayOfWeek.cs: + last_write_checksum: sha1:32acda67dfdabaf3d90e054fd6bbb6195e69574a src/Cvent/SDK/Models/Components/DeclinedReason.cs: id: f4dcf3cfa52f last_write_checksum: sha1:974fe7388cbec99c4518624289ff9d8c4f306229 pristine_git_object: 2964e087dc3bc56b6be964e5f3fed69d43e395ca src/Cvent/SDK/Models/Components/Device.cs: last_write_checksum: sha1:0bd9b64df0b6d72277820ee1e6b35f6743eb1de5 - src/Cvent/SDK/Models/Components/DeviceJson.cs: - id: 3ab7fe16cd40 - last_write_checksum: sha1:89cfd8baaf692a5d3cdfeb82241561d1704e1dd7 - pristine_git_object: f3cffad38979e14e748d3a9c3aa4820b3640ae16 - src/Cvent/SDK/Models/Components/DeviceTypeJson.cs: - id: 3acfe18973e2 - last_write_checksum: sha1:8aa4a271772bb637eb0d5b223633f49bf02761c3 - pristine_git_object: c8534618d2762d51ebb5701fe6e34a36a8e8fa09 + src/Cvent/SDK/Models/Components/Device1.cs: + last_write_checksum: sha1:497fc71f2c2bb767944ee7ea67e71c6a238c4b97 + src/Cvent/SDK/Models/Components/DeviceType.cs: + last_write_checksum: sha1:9df34fcf189e59099f4e17b517be232121c6774c src/Cvent/SDK/Models/Components/DiscountAgendaItemsPaginatedResponse.cs: id: 6f9891bbb5e8 last_write_checksum: sha1:1814c6718b96ddd01eed295d607f7c736278f2a5 @@ -11072,32 +10668,24 @@ trackedFiles: id: 9e87579469a5 last_write_checksum: sha1:2761e0d177214229f20e7d27e05ee7ee748c0385 pristine_git_object: 9b7d34aeae5ff62b7b393dc69470432db5932569 - src/Cvent/SDK/Models/Components/DisplayTypeJson.cs: - last_write_checksum: sha1:50f56a9ea7b45656c588fafd36975aa09bfa2d73 - src/Cvent/SDK/Models/Components/DistanceJson1.cs: - last_write_checksum: sha1:94d96fbe40060363492e89da529b9cc8c25ceb07 + src/Cvent/SDK/Models/Components/DisplayType.cs: + last_write_checksum: sha1:6d070a5d30554f2c3fa5fe6156d5235e81d77ef9 + src/Cvent/SDK/Models/Components/DistanceJson.cs: + last_write_checksum: sha1:fa845892c4a5f8d6beec86b555ace5b923610952 src/Cvent/SDK/Models/Components/DistanceUnit.cs: id: cab1b23c7c4f last_write_checksum: sha1:d85b808aa492b5471649e69f533a0e1388de5308 pristine_git_object: 6042bb49d17afc240741d48762dcad3f92d36fd9 - src/Cvent/SDK/Models/Components/DistributionListInfoJson.cs: - id: eae98f57df12 - last_write_checksum: sha1:b1e3bd0561c03ab900199be6d46e2f2c1c85f8f0 - pristine_git_object: 21cc947e3a83660b5caee3043dab462f6113de35 - src/Cvent/SDK/Models/Components/DistributionListInfoJsonInput.cs: - id: f14dbd88403e - last_write_checksum: sha1:8bb3be20b9cb18e0902160a02304969f1b01ce8c - pristine_git_object: 335bb3c803b82696d196f6f79c938d3f328486ff - src/Cvent/SDK/Models/Components/DistributionListSecurityTypeJson.cs: - id: dc26acbe0c1e - last_write_checksum: sha1:eaca65dd94cb807ef93937d6b182a6e1c4e54c51 - pristine_git_object: 67333b1f7ba603e78b65fb296b227735ccb0c829 - src/Cvent/SDK/Models/Components/DistributionListStatusJson.cs: - id: 88e90d58eb4b - last_write_checksum: sha1:1e06e7e1a3a5a04c05fe90054335e3def967612b - pristine_git_object: ca4cba709502803e300621a70a989430b9dc374b - src/Cvent/SDK/Models/Components/DocumentTypeJson0.cs: - last_write_checksum: sha1:8f5278fc92bd2bf02c37d77b36b2283f43b8c7f6 + src/Cvent/SDK/Models/Components/DistributionListInfo.cs: + last_write_checksum: sha1:93c6af9c8f23d38e316b2ad19afee56ac42f359f + src/Cvent/SDK/Models/Components/DistributionListInfoInput.cs: + last_write_checksum: sha1:9242cb411c4771144a42a8cda74bfd90f2b5828f + src/Cvent/SDK/Models/Components/DistributionListSecurityType.cs: + last_write_checksum: sha1:6822d7d888fcfd4354740af4aa0b558004062574 + src/Cvent/SDK/Models/Components/DistributionListStatus.cs: + last_write_checksum: sha1:ec66b697157fd3eb3c70a8d54743c4fe09403d75 + src/Cvent/SDK/Models/Components/DocumentType1.cs: + last_write_checksum: sha1:4389de3d3dc0cb6ad435444dcf7cd09c39a9cf61 src/Cvent/SDK/Models/Components/DonationItem1.cs: last_write_checksum: sha1:422dddef3a5346d8a75c4c818ddcf2965413a1ab src/Cvent/SDK/Models/Components/DonationItemsPaginatedResponse.cs: @@ -11134,7 +10722,7 @@ trackedFiles: pristine_git_object: ba2b71585601a13c424b5eb7054ce3a6417b5531 src/Cvent/SDK/Models/Components/EmailHistoryJson.cs: id: d08cf1627811 - last_write_checksum: sha1:01a6356ee4c27b0438b6dacbc12670cff8c4bc39 + last_write_checksum: sha1:93ec6ec403f0855443e9d698e8cf61a9a6270fd2 pristine_git_object: a71fccba7b8256374f932c7c23abdc2a41f2c8bd src/Cvent/SDK/Models/Components/EmailHistoryJsonAttendee.cs: id: c4771c5c4ac7 @@ -11154,7 +10742,7 @@ trackedFiles: pristine_git_object: 67f744857e9b9776489f841da8fb294a8a3f10bc src/Cvent/SDK/Models/Components/EmailJson1.cs: id: ebdcec0b4e15 - last_write_checksum: sha1:454cc68a51e417b9413c1a69aa4466aceaa60407 + last_write_checksum: sha1:e6eecc54de9cb99bd7aaeb5380a1688aee9d8678 pristine_git_object: be7df78b12aa0e944f404f6f0bb9ee9aa8e6a01c src/Cvent/SDK/Models/Components/EmailJson2.cs: id: 053ea3c5ca20 @@ -11192,28 +10780,24 @@ trackedFiles: id: d3cd21b97e5b last_write_checksum: sha1:274c22025e1fb660904099c2adb424f0f6c93587 pristine_git_object: a6aad773d96c504620cc9cbd61ea98dd8d593e21 + src/Cvent/SDK/Models/Components/EmailTypeJson.cs: + last_write_checksum: sha1:3fcf8e83f9d2d09efce9c7606016b5a94c8cad31 src/Cvent/SDK/Models/Components/EmailTypeJson1.cs: id: 1120baa15be4 - last_write_checksum: sha1:0489aa504e50a19083bca53f827d51cb5daed96d + last_write_checksum: sha1:0f0d3a67ac1182f3ca2ad5b8c8f88d153d79ece3 pristine_git_object: 2dfea6e70aebbbbdbc6474bf801974b04762dfaf - src/Cvent/SDK/Models/Components/EmailTypeJson3.cs: - id: f53d5aa95002 - last_write_checksum: sha1:74e83e58822d2a14c76efddee2d04a8689022902 - pristine_git_object: 99532eecaaa2536b1ce7540cdc7ff1fe4308f2cb src/Cvent/SDK/Models/Components/EmailUndelivered.cs: id: d4f44f9abdf8 last_write_checksum: sha1:83cb7987bc33d7d267b71ad0bee1a2083631e02d pristine_git_object: febe34b952b92aa4997dc14ab249957e5779be77 - src/Cvent/SDK/Models/Components/EncodingProfileJson.cs: - id: 39b430bcd2dc - last_write_checksum: sha1:b83727b4f3bdb254b63fd371a3cec724765e1c52 - pristine_git_object: 1229d608db5fc9334b264658ff4f331ca9f258c7 + src/Cvent/SDK/Models/Components/EncodingProfile.cs: + last_write_checksum: sha1:529f1fae761ef71aaaa860b03bfb82fa0898ebac src/Cvent/SDK/Models/Components/EntityType1.cs: last_write_checksum: sha1:3a2da8dc73c47b91c923b6bf6d0e4cae50e0ab87 src/Cvent/SDK/Models/Components/ErrorResponse1.cs: - last_write_checksum: sha1:78d734f98ee3de9fe5b283e12ada816a09560936 + last_write_checksum: sha1:092a91b8d443d2815656a39d6105d00399f052df src/Cvent/SDK/Models/Components/ErrorResponse2.cs: - last_write_checksum: sha1:52b75b68a9e9c070ad8551ccc1728d05581d6a06 + last_write_checksum: sha1:d5343148c326c1181fb9192153375e5df71cd430 src/Cvent/SDK/Models/Components/ErrorResponseBase.cs: last_write_checksum: sha1:5bf83ea33cfece5c78a522f87d3b26edb332f64f src/Cvent/SDK/Models/Components/ErrorScimTypeJson.cs: @@ -11233,11 +10817,13 @@ trackedFiles: last_write_checksum: sha1:14b86fa0474fdf4ad4086deda148aa8b05bee7fe pristine_git_object: f982dc2038682516d9bcff03c4c8531a6b35469e src/Cvent/SDK/Models/Components/Event1.cs: - last_write_checksum: sha1:b4b256d434c3f35b1fe5a9e77493480e1bba3ed4 + last_write_checksum: sha1:5e55866cc6fcef452168cd8a635bb44167ea0469 + src/Cvent/SDK/Models/Components/Event12.cs: + last_write_checksum: sha1:2a80adab8a4d4db88eb5eead0504d980c5b78ac8 src/Cvent/SDK/Models/Components/Event2.cs: last_write_checksum: sha1:02bf3b6248216d93663bbb7dfc0d3d1d4237149d - src/Cvent/SDK/Models/Components/Event21.cs: - last_write_checksum: sha1:afb583a6f7c8dc0c8d4389d569f3c705db7ed322 + src/Cvent/SDK/Models/Components/Event3.cs: + last_write_checksum: sha1:6b6a3464e547405763e427df517600850dcb7688 src/Cvent/SDK/Models/Components/EventActivityDetailsJson.cs: id: 6b2f1b56e3c0 last_write_checksum: sha1:de430e4d1c65d115c9cafd5a0915048a1e7f9410 @@ -11254,10 +10840,6 @@ trackedFiles: id: 8af4f8403fcf last_write_checksum: sha1:827bb867b1f7c707dca631eb0f6c1fa4e267d5b6 pristine_git_object: da8f78f53be3f1dfce6992619b6e08a3f76ed6de - src/Cvent/SDK/Models/Components/EventAllOf.cs: - id: 51da9ed9632a - last_write_checksum: sha1:00373850d3da023ecf1dcd951598daca0297b538 - pristine_git_object: 9620f2e1710cc8013cca3fa2664550203a50273e src/Cvent/SDK/Models/Components/EventAsyncResponse.cs: id: df0219e4f417 last_write_checksum: sha1:36424a375ef39a683af45c018b7b09a4e25fd484 @@ -11314,10 +10896,8 @@ trackedFiles: id: 653a89a611cf last_write_checksum: sha1:c73b0fb524c1b33c2fafc7da4daa88d99fe3bcd4 pristine_git_object: e5adfeb4ee2604e023a2faed2a487c34664b7f9b - src/Cvent/SDK/Models/Components/EventContactIdJson.cs: - id: edbbeff345a6 - last_write_checksum: sha1:2130ea03b601f2aeba295ff76cd8f17168753c8a - pristine_git_object: 0a28a2f5b8e8ab9adef6bec1349802234a276481 + src/Cvent/SDK/Models/Components/EventContactId.cs: + last_write_checksum: sha1:2373638bd70734d3bdf2f5beb3bfc58739230eb2 src/Cvent/SDK/Models/Components/EventCopy.cs: id: dffbd58c80c5 last_write_checksum: sha1:5f03e6b6b36a36f96dc6f11af5373d3b92b38472 @@ -11336,7 +10916,7 @@ trackedFiles: pristine_git_object: d8e2d2d12d2edff5a68a653b6e9cae45ad106e8b src/Cvent/SDK/Models/Components/EventEmailsPaginatedResponse.cs: id: aaa70e2734ee - last_write_checksum: sha1:91cc99a866011ac3b30b9c7575388057b47d4897 + last_write_checksum: sha1:c08f60bacb1fe4b4e9e73634531af81e8cd0c409 pristine_git_object: f58f48ea2e6fcdcbca846c008098171f822cb3d1 src/Cvent/SDK/Models/Components/EventFeatureJson.cs: id: 39abe96ad94a @@ -11370,34 +10950,30 @@ trackedFiles: id: b97a635fc2ff last_write_checksum: sha1:648d87d94683ccadbdc2911cf286d28e82fd3fbc pristine_git_object: b9e840bb2934b338cfc56a736089f9a52e0c829b - src/Cvent/SDK/Models/Components/EventFormatTypeJson0.cs: - last_write_checksum: sha1:71a2d4e80435c4242eaba91ee70595aaeb5817f8 + src/Cvent/SDK/Models/Components/EventFormatType.cs: + last_write_checksum: sha1:3bfc6d0e68fc2a7ca1d13de04f30420a9e95b142 src/Cvent/SDK/Models/Components/EventId.cs: last_write_checksum: sha1:672f680757a8ac030a980f0b47467f06bb797c5d src/Cvent/SDK/Models/Components/EventInput.cs: id: 7fe46952c48b - last_write_checksum: sha1:5931e42bc00b55c43361e2054b6465459cb630ab + last_write_checksum: sha1:8a8b7e18341536783af9ccde671799192c420152 pristine_git_object: 3b581221c6734962cc3acb1c4cd406cdaa5404d1 - src/Cvent/SDK/Models/Components/EventJson0.cs: - last_write_checksum: sha1:06464fc20f392cee9d59b2e21018257f2928a79a + src/Cvent/SDK/Models/Components/EventJson.cs: + last_write_checksum: sha1:1fde40afc94011afdba755e04133054b39f67950 src/Cvent/SDK/Models/Components/EventJson1.cs: - last_write_checksum: sha1:792d8edb836b335c575d5a56f03a9d3feec05732 - src/Cvent/SDK/Models/Components/EventJson2.cs: - last_write_checksum: sha1:647f06a909bdcd83e839cba04526ff27c4cedec3 - src/Cvent/SDK/Models/Components/EventJson4.cs: - last_write_checksum: sha1:cdff0cd2b00c8fe07534ce85393ea23771a7ca29 + last_write_checksum: sha1:3532f306e7a28649ef8c4057089836c901442e42 + src/Cvent/SDK/Models/Components/EventJson3.cs: + last_write_checksum: sha1:59dd51cc86ad3c208c38cd302ba257c19f590a5c + src/Cvent/SDK/Models/Components/EventJson5.cs: + last_write_checksum: sha1:b7168531f84a4c05bf72495034d40247d8fb9a10 src/Cvent/SDK/Models/Components/EventJson6.cs: - last_write_checksum: sha1:03adee7bab2f2daa14097de54df220ba83c35061 - src/Cvent/SDK/Models/Components/EventJson8.cs: - last_write_checksum: sha1:cf50ea96612a33320c47319843b20540c7139fc1 + last_write_checksum: sha1:8d74a28e7734e8cdca78dbe33d3699ec2db71676 src/Cvent/SDK/Models/Components/EventLinksJson.cs: id: c257825bf07a last_write_checksum: sha1:a75b356f65d153cea5b2abee810f9618a2abad8e pristine_git_object: c3b12d2cf18adb0b7bcfa1bbc52b131b5345bfb1 - src/Cvent/SDK/Models/Components/EventLiteJson.cs: - id: ae6ba97c318a - last_write_checksum: sha1:4456bbe43f2392d9a70931758c22d371530f403b - pristine_git_object: 6848d0b58eb8da5112d3eaca145cbe2eb1cf3af9 + src/Cvent/SDK/Models/Components/EventLite.cs: + last_write_checksum: sha1:e2b85b10c33e12a4287564b441d7b76e015273a3 src/Cvent/SDK/Models/Components/EventLookup.cs: id: 5e10182f389b last_write_checksum: sha1:91a533fd348bd79d3718686973152346aaa7430d @@ -11406,6 +10982,8 @@ trackedFiles: id: 5d1025a5b5d1 last_write_checksum: sha1:e8ced55db123bcd39e3877ad1e39bb2cbd066a03 pristine_git_object: 361015e3f9f03221f8ec08f57bc265e573969b0c + src/Cvent/SDK/Models/Components/EventOrganization1.cs: + last_write_checksum: sha1:7f214e6fcbd9a0057b8a49e75ef59644c8e4a742 src/Cvent/SDK/Models/Components/EventPageVisitTracked.cs: id: 5a6a659bfc22 last_write_checksum: sha1:fb36e21a969ac3ec700332323fbc0cd9af41b792 @@ -11422,7 +11000,7 @@ trackedFiles: pristine_git_object: 2b0124d5681c9f15340b1144bdd6807ed327c978 src/Cvent/SDK/Models/Components/EventQuestionJson.cs: id: d6cca10f9c01 - last_write_checksum: sha1:b45fc172e61d5d4bfc9a6b76a3c285b8a67df4d0 + last_write_checksum: sha1:93c66a6fd966e7ea66fab7a08a4345796f9ac1d3 pristine_git_object: 93d5e013b87807be22fadbfc3da5ff830135b9e6 src/Cvent/SDK/Models/Components/EventQuestionJsonAdmissionItem.cs: id: ec301cf3194a @@ -11498,7 +11076,7 @@ trackedFiles: pristine_git_object: e6cc9528e07b9eee9ae21c5579a64611160e31ae src/Cvent/SDK/Models/Components/EventSurveyQuestionJson.cs: id: c403f1c579c2 - last_write_checksum: sha1:10dd56f7aa93fa057d7b7afec4526ae4c8e6a33f + last_write_checksum: sha1:9d6798361e8373d08d769aed7c57f1127ecc5523 pristine_git_object: 592ecf2945aee4d64b42e8b06bcae99f4a9173a4 src/Cvent/SDK/Models/Components/EventSurveyQuestionsPaginatedResponse.cs: id: 2104f002c5de @@ -11506,7 +11084,7 @@ trackedFiles: pristine_git_object: 52b3bd84d543f0c6e4b042055b9b53ed2874a3a0 src/Cvent/SDK/Models/Components/EventSurveyRespondent.cs: id: e00e675b4e0c - last_write_checksum: sha1:9c49bef79330ecdd09e0bd057a14adbfedc1f13b + last_write_checksum: sha1:c3be7371edb5d3adddcdf81f4cbcb7344efd7163 pristine_git_object: ebd2c02b353d118b0d4e3da4699a4f0ce2f5ae1a src/Cvent/SDK/Models/Components/EventSurveyRespondentAttendee.cs: id: dafe508009f2 @@ -11530,7 +11108,7 @@ trackedFiles: pristine_git_object: 9e17421739d9f608acb9d9e4f970bf504a2945ee src/Cvent/SDK/Models/Components/EventSurveyResponse.cs: id: 69b8df579c6e - last_write_checksum: sha1:6fb504e925fc7f393a6f9ae4382c48dda37c1b44 + last_write_checksum: sha1:f8e4c637e2dcf7773646f7f656c76d149f8b13cd pristine_git_object: 046cf4941e33df73ab9e0a99170068320897c913 src/Cvent/SDK/Models/Components/EventSurveyResponseInput.cs: id: f6f26d98387d @@ -11556,19 +11134,17 @@ trackedFiles: id: a7d07771fa87 last_write_checksum: sha1:14f623c0e04169afb11276f566807edaa0104351 pristine_git_object: 220adf6258903c5727f89e4c66e2370667564863 - src/Cvent/SDK/Models/Components/EventTypeJson0.cs: - last_write_checksum: sha1:18e5e40fce66b7a6ff3266c3df74e151a0260564 - src/Cvent/SDK/Models/Components/EventTypeJson1.cs: - id: 06afe15d793d - last_write_checksum: sha1:4a47f2e9f9ba0ae9f41695fa107fdafed94ac6a2 - pristine_git_object: 23cbc9ae9d7559b3ea666ac0bb6f04944cb41ff5 + src/Cvent/SDK/Models/Components/EventType1.cs: + last_write_checksum: sha1:97e075c130158b84ac6653efde07c47a179c8c71 + src/Cvent/SDK/Models/Components/EventTypeJson.cs: + last_write_checksum: sha1:883c295d33d99a9739f8adae6d32a39ffa04da6f src/Cvent/SDK/Models/Components/EventUpdate.cs: id: 81469efd695c - last_write_checksum: sha1:8829d9c509db91356ef779c487e5afd6c562fc9e + last_write_checksum: sha1:ba3f3e7d3b3ee13f6b886e1eff080f4200287859 pristine_git_object: ed47c3f13b5fb02a2a69d392166af8b6fa23e09e src/Cvent/SDK/Models/Components/EventUpdateInput.cs: id: e8ee4482386e - last_write_checksum: sha1:a199af5959dd8c42e00e49dff0a1518fab2298d5 + last_write_checksum: sha1:af8cff7fa7659183d2a6269e6c5425ab7afd5605 pristine_git_object: 29f3a801bc6139fb4f0e763f609c470ab05f78c8 src/Cvent/SDK/Models/Components/EventUpdateLookup.cs: id: 55d320b6e0fe @@ -11646,7 +11222,7 @@ trackedFiles: pristine_git_object: 6b373eda308666a820f0eb513c68b64337fc5854 src/Cvent/SDK/Models/Components/ExhibitorCategoryRequest.cs: id: a2ac410fe099 - last_write_checksum: sha1:ac10e68d6b42d1778583351319ad99c9423768bb + last_write_checksum: sha1:0c63479a6009787fbb78345605a56a34bd088e6e pristine_git_object: 745440274e17593d664edf866f836644b0b160eb src/Cvent/SDK/Models/Components/ExhibitorCategoryRequestType.cs: id: 4ffbc1c8b7f9 @@ -11654,7 +11230,7 @@ trackedFiles: pristine_git_object: e8f50ed7c64b53002e8b048d753b28a940cbf975 src/Cvent/SDK/Models/Components/ExhibitorCategoryResponse.cs: id: bae5aa408e9d - last_write_checksum: sha1:d68d92455de0811d098bf46d0318ebd0ea89a5da + last_write_checksum: sha1:3e62232e3f5b028f533646825f6dcbb8efd82457 pristine_git_object: 242e55375b82c139bb2fa880779737e20e249438 src/Cvent/SDK/Models/Components/ExhibitorCategoryResponseType.cs: id: cf846840e905 @@ -11686,11 +11262,11 @@ trackedFiles: pristine_git_object: 59eebd497e809f65cae3a2f6391eb0425b14123a src/Cvent/SDK/Models/Components/ExhibitorRequest.cs: id: 3098250aec03 - last_write_checksum: sha1:61867a5ac4b166e06fd77cd3f3c6e259f6b90471 + last_write_checksum: sha1:c42d0d37d7be931eeedcf6e83e3bb8848da4e642 pristine_git_object: 972cbe8a3b519ddf720158216131e98801d090fe src/Cvent/SDK/Models/Components/ExhibitorResponse.cs: id: 534de41880d9 - last_write_checksum: sha1:83d67dd853594628137c1c3cadb8373ff277ae45 + last_write_checksum: sha1:634830dd53910a05673b68a1b537cce365aee6a9 pristine_git_object: f605aa98c00a95ba721969836335b16ece306e0a src/Cvent/SDK/Models/Components/ExhibitorSocialLinkOpened.cs: id: c37adb32bd51 @@ -11730,7 +11306,7 @@ trackedFiles: pristine_git_object: dab4ffe1a2f15db3e4c0b5b738e04a6da852d8c7 src/Cvent/SDK/Models/Components/ExistingAudienceSegment.cs: id: 14998b71cf4f - last_write_checksum: sha1:c877392712183c45d0c000f278089087676cd88a + last_write_checksum: sha1:6e2d5531ba9496f0ca9e60fbeb2268f63992ad92 pristine_git_object: bff0b37736670ed7c97e9d5f6a8dce2a08064139 src/Cvent/SDK/Models/Components/ExistingAudienceSegmentCreationTypeJson.cs: id: 50184f7e471e @@ -11738,7 +11314,7 @@ trackedFiles: pristine_git_object: ce2202f7a734f71801d5e6f400037e0456dd9940 src/Cvent/SDK/Models/Components/ExistingAudioTrack.cs: id: dc3dd35e551a - last_write_checksum: sha1:3b17336c12d607bdf1d6890a0b3ed26b378cd615 + last_write_checksum: sha1:4b3f87f198cebeeaf596f3c9301fbe6f97b00c2e pristine_git_object: 2821bf0e549319acd1086c0f7db3708b1a2df6be src/Cvent/SDK/Models/Components/ExistingBadgePrintJob.cs: id: 91e64479831b @@ -11754,19 +11330,19 @@ trackedFiles: last_write_checksum: sha1:c01857b2d9c009bedef08cafb31f72cc849cab22 src/Cvent/SDK/Models/Components/ExistingCustomField.cs: id: 90eb23a61acd - last_write_checksum: sha1:08db44e4a6380ff3727fd95d00a4907160fd3511 + last_write_checksum: sha1:ad4abddc4be84c7f3b7936b8a550969401b0c364 pristine_git_object: 25b4477e7f11de2eb1a6573ce6aa07bd4f6f4e58 src/Cvent/SDK/Models/Components/ExistingCustomFieldDetails.cs: id: 5a90625864fc - last_write_checksum: sha1:132de2bf9bb381123a434f4ff70b9cc9ef5f543d + last_write_checksum: sha1:2e00d8571e21bce012acfd5ccd681f78b3c13e78 pristine_git_object: eea883bf93c6da9c72e5f74b46ddd5c995767270 src/Cvent/SDK/Models/Components/ExistingCustomFieldDetailsInput.cs: id: 181a3b2dd1b2 - last_write_checksum: sha1:bcc09ba547d378477d255a70b7fe700861a8e931 + last_write_checksum: sha1:97c257d2202ba9c2712bad3d713caba5295bc24f pristine_git_object: 227b72277699a0d4e53b109254b08b73e41601dc src/Cvent/SDK/Models/Components/ExistingCustomFieldInput.cs: id: 41c36381a272 - last_write_checksum: sha1:99b860f4faecf370a42ae35193f81d17b9ccb957 + last_write_checksum: sha1:5b651298a2f3125d9cab72df7e52fb5c4c7741ed pristine_git_object: 3685552286d85e0fa658423b35374732f91eaf07 src/Cvent/SDK/Models/Components/ExistingDiscountCode.cs: last_write_checksum: sha1:9a7c254ac436a776d8828767e723f271ab9e9740 @@ -11788,21 +11364,21 @@ trackedFiles: pristine_git_object: 3b83d12fd62699cad43eff4e760eef518f406e4e src/Cvent/SDK/Models/Components/ExistingDurationType.cs: id: 4045def7aa59 - last_write_checksum: sha1:06c60925b2e21413bcb0031a506072156b3a5d9c + last_write_checksum: sha1:26afc224f3941340c82e91a89a6a0b3995ba8d0a pristine_git_object: f15f0d5eace596bd5f1bee82d038e73501206520 src/Cvent/SDK/Models/Components/ExistingELiteratureRequestDataForLead.cs: - last_write_checksum: sha1:b680dbcf99b9ff4b9babbf6849ef5d1c5b313fe8 + last_write_checksum: sha1:021a950d56077b9fff6cfb6a7653c5e4c0ead488 src/Cvent/SDK/Models/Components/ExistingExhibitorAnswer.cs: - last_write_checksum: sha1:fd9a02cb07b14175ff0f875e1f8735fdc91e43c2 + last_write_checksum: sha1:7d58ec407cfd4062b72ced6a1fa21ea7114be9c8 src/Cvent/SDK/Models/Components/ExistingExhibitorAnswerInput.cs: - last_write_checksum: sha1:d81647300fc81bf6c9e6bc4074abd4b9b21c412e + last_write_checksum: sha1:1965f11ce8d11afcf71a5b36dcf171843bdc3f0f src/Cvent/SDK/Models/Components/ExistingExhibitorQuestion.cs: id: 2d3fdf89b04d - last_write_checksum: sha1:a095841c30cab0fd620ae97d1ff815e1b9839ae6 + last_write_checksum: sha1:9b232abc5aa6599023682bd203a0144837a46e9a pristine_git_object: 961eb9676acead24f86d39032db4f8733e998581 src/Cvent/SDK/Models/Components/ExistingFile.cs: id: 4a64f440b155 - last_write_checksum: sha1:b65b2994c819ad8febf26c76e2e72b73eaf102f4 + last_write_checksum: sha1:0b75c1769ea54fff1494245f0850787147ad3246 pristine_git_object: d2240e2220f930ff27a977e2b695971a7ad7e7db src/Cvent/SDK/Models/Components/ExistingHub.cs: id: 887e4731926c @@ -11862,7 +11438,7 @@ trackedFiles: pristine_git_object: 1469c3db41fbbbde1c4ef82b60c3f5cb738f0eb7 src/Cvent/SDK/Models/Components/ExistingSpeaker.cs: id: 33af6f2a6713 - last_write_checksum: sha1:a63ba65c9c122177fefc678e37bac518ce386d22 + last_write_checksum: sha1:f0856a27f641a3c504ed467bc52141604483f36e pristine_git_object: 0450607524e4328ad44bf03b4d745f7663ad6b8b src/Cvent/SDK/Models/Components/ExistingSpeakerCategory.cs: id: eb3db23837e1 @@ -11874,11 +11450,11 @@ trackedFiles: pristine_git_object: 8bdf3fddfba7220b019305a3ee35bac578fb8883 src/Cvent/SDK/Models/Components/ExistingSpeakerInput.cs: id: afe3231bba29 - last_write_checksum: sha1:2ec2ad72e49e22bce74b628abf8c4c20e60a2bb4 + last_write_checksum: sha1:ef357ee14703d7a57843831682df47deee0ca7a3 pristine_git_object: 4ae49f9bc920650bbb1e96553c365e0c1f2ad099 src/Cvent/SDK/Models/Components/ExistingSponsorshipLevel.cs: id: ef69e47710eb - last_write_checksum: sha1:2cb2b131eb9ba082a255c06f98637ea70185882e + last_write_checksum: sha1:86ed8a9ba7831be3dd05c88a91fd94d129e146a8 pristine_git_object: f7307c72852d965a236e3025548d7ea146f4df20 src/Cvent/SDK/Models/Components/ExistingTableWithSeats.cs: id: 93aace9e468e @@ -11886,7 +11462,7 @@ trackedFiles: pristine_git_object: 8447e628f3db64dfde0477784bfdf3f2d744f294 src/Cvent/SDK/Models/Components/ExistingVideoResponse.cs: id: d95fe9d5ade7 - last_write_checksum: sha1:041362d17797944e1dc8623849c384e3f59d221e + last_write_checksum: sha1:85753b7e367ff7b9375aa2a7ab644a0a9362b15c pristine_git_object: 561742328060a5ce905010f8b8b4a9b478db37cf src/Cvent/SDK/Models/Components/ExistingVideoResponseUUID.cs: id: ca1bcdcfd8f9 @@ -11894,11 +11470,11 @@ trackedFiles: pristine_git_object: 208adafef78cc98df5bf1e43e4ee42e2c3b69f51 src/Cvent/SDK/Models/Components/ExistingVideoTextTrack.cs: id: 5c48beeaf18a - last_write_checksum: sha1:580520a9c35e5a0df14853ccf14984378e4e9d59 + last_write_checksum: sha1:e0a483a96a13fac3e439619825623204e181cca7 pristine_git_object: 71aebe8fb65516118a8346163407a9bb36e0c1a9 src/Cvent/SDK/Models/Components/ExistingVideoTextTrackInput.cs: id: 5d29547612ff - last_write_checksum: sha1:f91dcb129c02a93919e004eda137c533582ab907 + last_write_checksum: sha1:0ad04c68ad4cdce02f47c57e4c4cef642116f315 pristine_git_object: 257fa0a066fe07ff1393f912fff838094d24cf31 src/Cvent/SDK/Models/Components/ExistingVolumeDiscount.cs: last_write_checksum: sha1:2d8201b6ef835933eda3f7b112415899daf86997 @@ -11916,7 +11492,7 @@ trackedFiles: pristine_git_object: 21f8fcacd4b97b809c418f0f0d77c8311cd6f65e src/Cvent/SDK/Models/Components/ExistingWeblink.cs: id: 75f7cb372531 - last_write_checksum: sha1:d38cf3bd40d71e8ed57d2a7d510a2196b72218b5 + last_write_checksum: sha1:b33d292902f315a98ee8d7513357d840af3c9ca4 pristine_git_object: 6446f6e24bf21c2db149c7cc7770e8f2dfcd584f src/Cvent/SDK/Models/Components/Expand.cs: id: 01ddd7cd62b3 @@ -12016,10 +11592,8 @@ trackedFiles: id: 42c06048d704 last_write_checksum: sha1:41c24805553664992f3c16f4bbe5d972a04fdc12 pristine_git_object: a27edb49e500c4dde6b82e631a5a40050ab2f25a - src/Cvent/SDK/Models/Components/FairSeasonTypeJson.cs: - id: c02b82d8e2ea - last_write_checksum: sha1:6c4749713e5101ef623272dc3bba28d126e872a3 - pristine_git_object: c8afffd3e22a5fd83b3d53667997afa098ab75c1 + src/Cvent/SDK/Models/Components/FairSeasonType.cs: + last_write_checksum: sha1:710683671896204ff718b22976ade3b39c815753 src/Cvent/SDK/Models/Components/FeatureTierJson.cs: id: 1cc993247415 last_write_checksum: sha1:ba54186e1009f387fa94b5f068f5d7c3cafa0611 @@ -12044,17 +11618,17 @@ trackedFiles: id: 2921d8ebd161 last_write_checksum: sha1:34cbd861ca0cdda0f984c33fe013d662d0ec57b8 pristine_git_object: 7af6071591fa17861d3c684a078c4f8dd569f1ea + src/Cvent/SDK/Models/Components/Field.cs: + last_write_checksum: sha1:5b91c3133f4ee7a081352723368468a382089123 src/Cvent/SDK/Models/Components/FieldJson.cs: - last_write_checksum: sha1:fd8e97868d4f3b368cb0e6863c16fd140d914e28 - src/Cvent/SDK/Models/Components/FieldJson2.cs: - last_write_checksum: sha1:2231b2b40b84f90e06e396949b7244f0ac187e22 + last_write_checksum: sha1:1a4fde87ca5206e7f11e6e73dc6cfb01ff3e1dc8 + src/Cvent/SDK/Models/Components/FieldType.cs: + last_write_checksum: sha1:55fefa4fcce971d2444f4bdad130d02c2954f5f1 src/Cvent/SDK/Models/Components/FieldTypeJson.cs: - last_write_checksum: sha1:ed14ac015cb66dc78f494adca9362d1fd2c3dc3c - src/Cvent/SDK/Models/Components/FieldTypeJson2.cs: - last_write_checksum: sha1:39289760dc63074b57875443d33d112ed6031fde + last_write_checksum: sha1:2eadbf953a6780d134500f69bdb43f94d9516dd1 src/Cvent/SDK/Models/Components/FileInput.cs: id: a8764bcc0052 - last_write_checksum: sha1:940d46ff482eff9592b6124353994379ae957c42 + last_write_checksum: sha1:92eff982a33edc358fddd0fd69f4144ecf897b7a pristine_git_object: 6655f3c69972a51305da4f319ef79d7b68a8fd4e src/Cvent/SDK/Models/Components/FileLinkJson.cs: id: 71c35c2ec0c1 @@ -12088,10 +11662,8 @@ trackedFiles: id: 5d27545dae1c last_write_checksum: sha1:d4e0c722e99b6353af065131ca051302b8216525 pristine_git_object: a77639ae798a1435bb5f981583805bc4f2e238cd - src/Cvent/SDK/Models/Components/FormatTypeJson.cs: - id: 190a4936ef28 - last_write_checksum: sha1:4fb563fa5f085e05483ced7b2c83262b238f20f9 - pristine_git_object: 70f33210b6cedff0ed00333b42518fdcee9b26dd + src/Cvent/SDK/Models/Components/FormatType.cs: + last_write_checksum: sha1:469ba917b4381f25dbc273c0ce967ee78c009763 src/Cvent/SDK/Models/Components/Frequency.cs: id: 8f3e420d24ed last_write_checksum: sha1:d4a8ff2682354af4e14a30dca21b7dc3d00bae8b @@ -12100,10 +11672,6 @@ trackedFiles: last_write_checksum: sha1:3872720ee069e4d67ae9320e3e3f354d7b188a4f src/Cvent/SDK/Models/Components/Gender1.cs: last_write_checksum: sha1:bb9808b5c27c71031b42dcad210bb239f256da7a - src/Cvent/SDK/Models/Components/GenderJson.cs: - id: 6fcc629e7c58 - last_write_checksum: sha1:b624a14f5d585327e422f3844fce482a568ab668 - pristine_git_object: 25702ffb86e87b930da576b67518ffa69368a209 src/Cvent/SDK/Models/Components/GeneralLedger.cs: last_write_checksum: sha1:ccbd6d05dd64e77dc267332ece7be7738457dff1 src/Cvent/SDK/Models/Components/GeneralLedger1.cs: @@ -12126,22 +11694,20 @@ trackedFiles: last_write_checksum: sha1:fcd2030c13de87c602f50b8d8f975f4e4ce0f518 src/Cvent/SDK/Models/Components/GuestJson.cs: id: df372511b10b - last_write_checksum: sha1:71e07425a27c64f6a3fec959b9cb22f5b19d9634 + last_write_checksum: sha1:5afafb14d8c5a1b00fa22dbf3b2a0b4137c91709 pristine_git_object: 3091bad4d24e2784e83cd8ce8a89c92df873e44f - src/Cvent/SDK/Models/Components/GuestRoomOccupancyJson.cs: - last_write_checksum: sha1:c11cb0495fc8833c42fa1df0cd4f01bbf6eabe76 - src/Cvent/SDK/Models/Components/GuestRoomOccupancyPerRoomTypeJson.cs: - last_write_checksum: sha1:86105d422c550202336e12506201a14d55c75459 - src/Cvent/SDK/Models/Components/GuestRoomTypeJson.cs: - last_write_checksum: sha1:9f1a69275b33fb6e0192a88d53f8e087c8a17cf6 + src/Cvent/SDK/Models/Components/GuestRoomOccupancy.cs: + last_write_checksum: sha1:d3609f8c8c3ba91fc7a6627a3a0ac873c262373b + src/Cvent/SDK/Models/Components/GuestRoomOccupancyPerRoomType.cs: + last_write_checksum: sha1:ddb9e42affe02be34b8a0df3639f6e207af78db2 + src/Cvent/SDK/Models/Components/GuestRoomType.cs: + last_write_checksum: sha1:5c745abcd7c15952d868ce82ae4ebdef85638444 src/Cvent/SDK/Models/Components/HTTPMetadata.cs: id: 9b0313abfd1f last_write_checksum: sha1:b0fa7127e935a23df4273ebdc5c41e27f5b8a3b4 pristine_git_object: 7b3201d279021fa55e67e42f2040810095a0aece - src/Cvent/SDK/Models/Components/HlsInputWithClipsJson.cs: - id: 821aba22af64 - last_write_checksum: sha1:91efe55cfa5a8d9c3245b636157c641d50fe6ddc - pristine_git_object: ca0924819d4ad3166062703ec388758c0017e1c1 + src/Cvent/SDK/Models/Components/HlsInputWithClips.cs: + last_write_checksum: sha1:8782856a8504ece732aad0256a71f4c53aa7a136 src/Cvent/SDK/Models/Components/HomeAddress.cs: id: 873d53d7166d last_write_checksum: sha1:0d3a2adda9a817649187f04b1efc394cfb9f6358 @@ -12187,7 +11753,7 @@ trackedFiles: last_write_checksum: sha1:60ad39d585ba6105979b704216187ed36292efc3 pristine_git_object: ac8dc1f94c5e80edaa3ed047ebff7f2f4e29f13f src/Cvent/SDK/Models/Components/HotelRequest.cs: - last_write_checksum: sha1:37d1c268a06f1e95604b1d60bae2e0cc7a7a4dd8 + last_write_checksum: sha1:acf24104e0d9bbc981cbce9840db5002afb735a4 src/Cvent/SDK/Models/Components/HotelRequestRequesterType.cs: last_write_checksum: sha1:ec1b62eae2f38923ea79b5326407dc0a936184a3 src/Cvent/SDK/Models/Components/HotelReservationDetail1.cs: @@ -12210,7 +11776,7 @@ trackedFiles: pristine_git_object: 3a979eb32582484e3bb0bdfb58d954ec5fc4ccfa src/Cvent/SDK/Models/Components/HousingEventHotel.cs: id: b2463a95b9b2 - last_write_checksum: sha1:30074e82da7dcc4fda2bf57cc5878bf631b97a58 + last_write_checksum: sha1:5ab76b5a51b2b94cb5878df5ca5e353482694987 pristine_git_object: 1c490dfde5ec2980fc6ded5fa695fecc85ec7c73 src/Cvent/SDK/Models/Components/HousingEventHotelsList.cs: id: fcf56a41e3d8 @@ -12230,7 +11796,7 @@ trackedFiles: pristine_git_object: 064375264e3e0e6dcc688a5b93cd6e3766752bbf src/Cvent/SDK/Models/Components/HousingEventSummaryList.cs: id: ccecbf0cc408 - last_write_checksum: sha1:2b216e6d978b1fbb41df0edf1f46cd685f1336fd + last_write_checksum: sha1:b67a0177170254f83d3948f519e42288596e61c3 pristine_git_object: 0b62dfe562229f02634080af96e6c8c37b749a02 src/Cvent/SDK/Models/Components/HousingReservation.cs: last_write_checksum: sha1:1fc7b2726b3970c56b80115cda2888a020ddfb83 @@ -12260,16 +11826,14 @@ trackedFiles: id: 32889354e50b last_write_checksum: sha1:ef49f25c7a7f2b17b155f4c5fc5fd598d3b6abeb pristine_git_object: 239546f2d0b228b5dac10ce47f0a23f3bcc4d68b - src/Cvent/SDK/Models/Components/IdJson.cs: - id: 4fed2eb606a8 - last_write_checksum: sha1:133a30725de1e8c8d1d3e6a1018762a101c1605a - pristine_git_object: 7abb0bd14be74dfad59009b9dff5b3a58e269789 + src/Cvent/SDK/Models/Components/IdOnlyEntity.cs: + last_write_checksum: sha1:2d599914f5f4b2fd52bd7bd3a7ee65fc185cb04a src/Cvent/SDK/Models/Components/ImageLinkJson.cs: id: a5d926471cbd last_write_checksum: sha1:8d2f3bb4bf9f24477d37c542d554a64a4e908921 pristine_git_object: d739f51a390f93f9cb7ea3d54394a11eea78dc55 - src/Cvent/SDK/Models/Components/IndustryJson0.cs: - last_write_checksum: sha1:837fe05c4f3c27dfe8d03db5023e4ad5071c4798 + src/Cvent/SDK/Models/Components/Industry1.cs: + last_write_checksum: sha1:736b6d6ac6db5ee65e43a8947df4d6195b5bda98 src/Cvent/SDK/Models/Components/InventoryDetailsList.cs: id: d7f71bc35459 last_write_checksum: sha1:fd29122d51937deeebfac00ea97777bff0cd3da4 @@ -12288,7 +11852,7 @@ trackedFiles: pristine_git_object: f58b0a390ef93b602653829a3ddc430b43fc38ba src/Cvent/SDK/Models/Components/InvitationListPaginatedResponse.cs: id: ab3a4f4ebc94 - last_write_checksum: sha1:98b0ea908f6d3c8b3bb95aecb6b7261f621c1f9c + last_write_checksum: sha1:e28de9300b4c4ad593445e9f41d1503f58bdd31e pristine_git_object: 545a6e90bba086589a2857ceb73eeccfee392464 src/Cvent/SDK/Models/Components/InvoiceFile.cs: id: 3a6aca099fb1 @@ -12337,7 +11901,7 @@ trackedFiles: last_write_checksum: sha1:ed6739b0911576358dfebdbb8218f5367825ef56 pristine_git_object: 75eedb91b8793371c4b3b70bd5ce877b258711fd src/Cvent/SDK/Models/Components/Lead.cs: - last_write_checksum: sha1:4b0952d01bfa04d87edebf65b7e796f27227f273 + last_write_checksum: sha1:7d4622978812814a69e80933d18ed361b69ee68c src/Cvent/SDK/Models/Components/Lead2.cs: last_write_checksum: sha1:9069c569143bed0abf09b876cf1a32d243243cc3 src/Cvent/SDK/Models/Components/LeadInboundCreated.cs: @@ -12349,13 +11913,13 @@ trackedFiles: last_write_checksum: sha1:dbc8f836abe6e8c9d5e3a19ac17c578d015b2b81 pristine_git_object: 4553427bb5bd8cf97a9fff6ae4a94d3ed7c1c747 src/Cvent/SDK/Models/Components/LeadQualificationAnswers.cs: - last_write_checksum: sha1:e214f08e6ce726ad23e897154b7a810b598a6c27 + last_write_checksum: sha1:bd9ae3cd69375953616873f086809ca6575309ed src/Cvent/SDK/Models/Components/LeadQualificationAnswersListResponse.cs: id: 4af96eecb922 last_write_checksum: sha1:779da8479fbf557bb51f283731f05282fbada728 pristine_git_object: 887849881903ed4f53c89add35c38fac2c2de161 src/Cvent/SDK/Models/Components/LeadQualificationQuestion.cs: - last_write_checksum: sha1:5d694472e838e3715aa994d6386b68d3fa03eada + last_write_checksum: sha1:58aaf767771edd1a3b716be7e19447e6b1788d77 src/Cvent/SDK/Models/Components/LeadQualificationQuestionType.cs: last_write_checksum: sha1:5e1db9954809c44a2763f7ddb3888bf26cd6b582 src/Cvent/SDK/Models/Components/LeadQualificationQuestionsListResponse.cs: @@ -12372,20 +11936,18 @@ trackedFiles: pristine_git_object: 3f4e3e84aa86851532f24e2bcfae18432212a3e9 src/Cvent/SDK/Models/Components/LeadQualifiedQuestionResponseJson.cs: id: d9d4853e3f77 - last_write_checksum: sha1:f839ba1fbb4a73553e027f9da6ae63f2643a426c + last_write_checksum: sha1:734376498e01c0bda707cb978209d7ed0ef6ce2f pristine_git_object: e38e7e42829bd7b7663d188fb2dbe7bec7639cec src/Cvent/SDK/Models/Components/LeadScanned.cs: id: b1565d41297f last_write_checksum: sha1:40caeb6a0e82765d3a6e8804d1e45aab858246b8 pristine_git_object: 4221ff324bfb7116db7f6a8a6332b86abed2cce7 src/Cvent/SDK/Models/Components/LeadSource.cs: - last_write_checksum: sha1:ca62e0c4818a03dc805dffa827b59a78d9b0fe5c + last_write_checksum: sha1:ad11bd2e7d049938f36d55fb4a8511c53d908d29 src/Cvent/SDK/Models/Components/LeadSourceExpand.cs: last_write_checksum: sha1:f4bc3aa3fcd1bfe06d3eb17cbc2f16f3a46acb29 - src/Cvent/SDK/Models/Components/LeadSourceJson.cs: - last_write_checksum: sha1:7581f2fffeb51f6611c65f218f1b44c53b6b7960 - src/Cvent/SDK/Models/Components/LeadSourceSectionJson.cs: - last_write_checksum: sha1:ba2cda23f75a76378efe351c1f1a7ee8798773a2 + src/Cvent/SDK/Models/Components/LeadSourceSection.cs: + last_write_checksum: sha1:e283c9a6ab131b5c8c1ce554e9d4de89b332ea7a src/Cvent/SDK/Models/Components/LeadType.cs: last_write_checksum: sha1:203fd7a74370acd51ac81c5f35dc427462f6ce4b src/Cvent/SDK/Models/Components/LeadsPaginatedResponse.cs: @@ -12444,12 +12006,10 @@ trackedFiles: id: ccdb5eef866b last_write_checksum: sha1:9ceec886518b1f27810b517cc9398a224ae7644f pristine_git_object: 322e5e0722d18034bfce54176a4f666025b1ad52 - src/Cvent/SDK/Models/Components/ManagementLevelTypeJson1.cs: - id: 5127d3b8b5e5 - last_write_checksum: sha1:7c6dc20bec96c30d596e9062a3615a6571ed2865 - pristine_git_object: 088f84f0e9e03d0176857ec972bf28075d4184ac - src/Cvent/SDK/Models/Components/MeasurementUnitJson0.cs: - last_write_checksum: sha1:10ff57c99e90be4bc1f1e2b2d08cf35587ef6f32 + src/Cvent/SDK/Models/Components/ManagementLevelType1.cs: + last_write_checksum: sha1:1feda602deda146e8f12336a5222abceb837d161 + src/Cvent/SDK/Models/Components/MeasurementUnit.cs: + last_write_checksum: sha1:473a2d832134a637de50476fadf27159cc2c9fa4 src/Cvent/SDK/Models/Components/MeetingRequest.cs: id: 2ff018e8734c last_write_checksum: sha1:dc73180d01821b1e0c2beee1611e36acac13f722 @@ -12512,7 +12072,7 @@ trackedFiles: pristine_git_object: c34afc7e78fd167cd56530859cf8de4edd9ccb7e src/Cvent/SDK/Models/Components/MeetingRequestQuestionJson.cs: id: 3110877c3f6b - last_write_checksum: sha1:6c895c215e37d3dc23cd1d4216a6fb99aa880ee1 + last_write_checksum: sha1:c44dafb40759b5e8dfc808db17d3c05e86862473 pristine_git_object: 23c7f604d3066b01a6a99415f86afac6f00f1788 src/Cvent/SDK/Models/Components/MeetingRequestUpdateJson.cs: id: 5f011e0e4779 @@ -12538,26 +12098,18 @@ trackedFiles: last_write_checksum: sha1:df57d2607578936ca0a518b916249296691e14ce src/Cvent/SDK/Models/Components/MembershipItemsPaginatedResponseData.cs: last_write_checksum: sha1:b519ce785ae11a9e2c59b90eade33de1c800f5f6 - src/Cvent/SDK/Models/Components/MembershipJson.cs: - id: 5e78dd24b453 - last_write_checksum: sha1:e126bbab4c822313c0d6f7223718f43ca10e593b - pristine_git_object: d8c10f70e5f08cef3db9399f6d2c3def39909e54 src/Cvent/SDK/Models/Components/Message.cs: id: 30b53920f98e last_write_checksum: sha1:7750b0906b79f5e0e8aceda40ce122bed2b1d607 pristine_git_object: 9c7373b0cf97e0b27bb8514e69a51cbe3ddf74ee + src/Cvent/SDK/Models/Components/MessageRecipientResponse.cs: + last_write_checksum: sha1:38b4a8e77bba6ca9593daa7d26766468ec877cb4 + src/Cvent/SDK/Models/Components/MessageRecipientResponseAttendee.cs: + last_write_checksum: sha1:53795d25ec15025cc767e1bcfabf779c62e8a088 src/Cvent/SDK/Models/Components/MessageRecipientsPaginatedResponse.cs: id: 93f41d1b2ba0 - last_write_checksum: sha1:d8b064568ad4b9224a23d640afba5674bcfceb59 + last_write_checksum: sha1:c1499668264c18629671679f4ae94e910ffcbd47 pristine_git_object: 95e6d9d6b2f560eb8156d644aee14adaf1ad36b0 - src/Cvent/SDK/Models/Components/MessageRecipientsResponseJson.cs: - id: cc1b88e8751c - last_write_checksum: sha1:72da975f9ec2acf03d5b2499b90b14b3ea155504 - pristine_git_object: 7cc5575fc9d6452dc086828500d52a8a1761fe01 - src/Cvent/SDK/Models/Components/MessageRecipientsResponseJsonAttendee.cs: - id: 0dbe0c5d7aff - last_write_checksum: sha1:2b07851d23be6e9f0dade10762df138a491c7c5e - pristine_git_object: 9a0ef45e680d480704432ab56f732645b6ba2109 src/Cvent/SDK/Models/Components/MetaJson.cs: id: 2487ab792919 last_write_checksum: sha1:cc42f2f22e2c50c1311d9c1d530d887e5114d316 @@ -12592,18 +12144,12 @@ trackedFiles: id: b1cfe03cd81c last_write_checksum: sha1:2e75d3c821688e055d35fdd4700d7dba564b99df pristine_git_object: 4e9ed76e8f2744ba898307223965e37e1a8ede55 - src/Cvent/SDK/Models/Components/NumericAnswerFormatJson.cs: - last_write_checksum: sha1:9fc586242a8152bef0411afff2920268fd51579b - src/Cvent/SDK/Models/Components/OfferingCostTypeJson0.cs: - last_write_checksum: sha1:bb328e531633ddc89ce2d5fc254f0fd31c3135d9 - src/Cvent/SDK/Models/Components/OneAllOf.cs: - id: e255d3c3682b - last_write_checksum: sha1:2c53244c1557da9f535225fec9d181e8d79a7c66 - pristine_git_object: db8cf29a86044445afa23084a5c1a7aff41ae3bd - src/Cvent/SDK/Models/Components/OneOneOf.cs: - id: a0c1bdade2bb - last_write_checksum: sha1:6c84f28fc0c5becd79f328ffe9449b01871cce53 - pristine_git_object: cffa7c7840c0de88aaeac8428964e1f60723af0e + src/Cvent/SDK/Models/Components/NumericAnswerFormat.cs: + last_write_checksum: sha1:db8e1bf3b12e1b922cdce34301507b09365db496 + src/Cvent/SDK/Models/Components/OfferingCostType1.cs: + last_write_checksum: sha1:7c32dc6c559dec855df0282088e1ff33ae793584 + src/Cvent/SDK/Models/Components/One.cs: + last_write_checksum: sha1:3890cffda4ced5a42c674433b02cfb622d39a4df src/Cvent/SDK/Models/Components/OpenEndedCommentBox.cs: id: 46a1c591ba60 last_write_checksum: sha1:fd542a5886592458d84604b724d71a9caf3b0b01 @@ -12620,14 +12166,8 @@ trackedFiles: id: 676f3a9af118 last_write_checksum: sha1:328f91fbf2396c8a283db8a72ebb71e76dedf1d6 pristine_git_object: 22d023a117478a0f63543a37b1129a27c24fee64 - src/Cvent/SDK/Models/Components/OptOutJson.cs: - id: 3461946e4d2d - last_write_checksum: sha1:1e0aa0817c579f322a204d6c5d78fd64ca67f528 - pristine_git_object: a22d68f5d55f7da29c758719195bcf9083f406dd - src/Cvent/SDK/Models/Components/OptOutJsonInput.cs: - id: ae1b1101c68b - last_write_checksum: sha1:35a0fccae25377d217781de08c3d2d2990ae711f - pristine_git_object: 5dcb72d17b9070d50c66d5c059b3d9a9dd74d633 + src/Cvent/SDK/Models/Components/OptoutBy.cs: + last_write_checksum: sha1:a47bf30c63c00b7d565f4390c600a8e7ae74be8d src/Cvent/SDK/Models/Components/OptoutByJson.cs: id: b0344790a0f2 last_write_checksum: sha1:41de019d1bda5540ab1838d9acf44f009154372c @@ -12635,7 +12175,7 @@ trackedFiles: src/Cvent/SDK/Models/Components/Order.cs: last_write_checksum: sha1:ddb4d1d577523afe5c0ab6b2666fe9f3ce22f97c src/Cvent/SDK/Models/Components/OrderDetail.cs: - last_write_checksum: sha1:03af850c3ea99cef4e86468d9a25f4f2a77ae28d + last_write_checksum: sha1:a308d791e10a07970644139fdfd1adb64bab070c src/Cvent/SDK/Models/Components/OrderDetailsPaginatedResponse.cs: id: 81a4692d54a0 last_write_checksum: sha1:cf0cf1638bc77e71bbafda4483dec2603942a284 @@ -12650,7 +12190,7 @@ trackedFiles: last_write_checksum: sha1:ff133852757b95b3534f485e60af3748bd23799c src/Cvent/SDK/Models/Components/OrderItemResponse.cs: id: 4c07af5fdbaf - last_write_checksum: sha1:750660ce5b7ebacc1f9b44215883bad15319a062 + last_write_checksum: sha1:dd34e42dfbff0be58b8d244d5475ba9cc18f4d54 pristine_git_object: 640b3065cd497967f0abb9fd9fdcccbd14533c1b src/Cvent/SDK/Models/Components/OrderItemsPaginatedResponse.cs: id: ec41b946b165 @@ -12660,16 +12200,16 @@ trackedFiles: last_write_checksum: sha1:9c4eb87425c432e3e4e025d87132e652cc3c22bb src/Cvent/SDK/Models/Components/OrderType.cs: last_write_checksum: sha1:f338ab93ef9afa81882890116419c58b8ef39d27 - src/Cvent/SDK/Models/Components/OrganizationJson.cs: - last_write_checksum: sha1:c072a33e242937fcd73388272ac15e8715cfc3c1 - src/Cvent/SDK/Models/Components/OrganizationTypeJson0.cs: - last_write_checksum: sha1:06b0b5469bb46cca986173247600fdddf2412b77 + src/Cvent/SDK/Models/Components/Organization.cs: + last_write_checksum: sha1:b725b2b88f0b9f33ddaf98fa74381b701c4e7972 + src/Cvent/SDK/Models/Components/OrganizationType1.cs: + last_write_checksum: sha1:661ef52187803d70f051393e3151171b4385ad89 src/Cvent/SDK/Models/Components/OtherPaymentJson.cs: id: ab4ce7e56a3d last_write_checksum: sha1:8f5be96b06ea2b7f72bfde3ac72248bd9a1f3e8b pristine_git_object: b508e8afc8242a0f32cf10daff4222486ef19a0d - src/Cvent/SDK/Models/Components/PackagePricingPreferenceJson.cs: - last_write_checksum: sha1:5c88afbf595b55d6fbb014395fa1760c3b0f8e86 + src/Cvent/SDK/Models/Components/PackagePricingPreference.cs: + last_write_checksum: sha1:ad1ed697449abf0357fb676b9f7cab6d60da7140 src/Cvent/SDK/Models/Components/PageVisibilityJson.cs: id: c73c4d6e9c60 last_write_checksum: sha1:2ab3cfd5672a19d4eee700fa4da96262b771a26b @@ -12679,21 +12219,21 @@ trackedFiles: last_write_checksum: sha1:47d540ab61ae9a7d229011e825be487d50f398ec pristine_git_object: c3d81e45a66ba1cbbb09408036c84bb6fb460c77 src/Cvent/SDK/Models/Components/PaginatedInternalDocuments.cs: - last_write_checksum: sha1:d8d4e48aa23c45e0f85248576d4d144b09ccfbc9 + last_write_checksum: sha1:8783607fe3d96ca1e27d08ffd5d45ae38ef18e35 src/Cvent/SDK/Models/Components/PaginatedRfpAgendaItems.cs: - last_write_checksum: sha1:5377b6277de2f59186a64cdf87edda343508aa66 + last_write_checksum: sha1:8bbaaba38655a897f197f4878df3c91787ab0ca6 src/Cvent/SDK/Models/Components/PaginatedRfpAgendaItemsSchedule.cs: - last_write_checksum: sha1:0b0a99f844ad403b885c088794dbbae131d8a307 + last_write_checksum: sha1:057d46247bd164852e97e0efd4cecac82b24961b src/Cvent/SDK/Models/Components/PaginatedRfpAttachments.cs: - last_write_checksum: sha1:5267acefc6e2526b7f819c206da49b884159d90f + last_write_checksum: sha1:09d09c1891e642606bdc165f59ae2e00ab9b3710 src/Cvent/SDK/Models/Components/PaginatedRfpCustomField.cs: - last_write_checksum: sha1:9b440d9661b3b420aa79e8320e514ce319f22a4c + last_write_checksum: sha1:d4a61bd9f7b5a5344a950b004884f308496e6906 src/Cvent/SDK/Models/Components/PaginatedRfpQuestions.cs: - last_write_checksum: sha1:8c2ccbae24f06589f59258609110c7dda9bbdf2f + last_write_checksum: sha1:64d80c4f882a2f30239685219f57832d395ca1c6 src/Cvent/SDK/Models/Components/PaginatedRfpRecipientsHistory.cs: - last_write_checksum: sha1:42ad64aba8fb8d727e4398aab22faba0f061b5b0 + last_write_checksum: sha1:d9cc7c9ecb912008f546a9b1a1bd352ea4e887d0 src/Cvent/SDK/Models/Components/PaginatedRfpSuppliers.cs: - last_write_checksum: sha1:82f3862dd528c82c63451464df476d4ccf68d6d9 + last_write_checksum: sha1:c5377dfd93a8e5f00caa2754c4e615316d1a1585 src/Cvent/SDK/Models/Components/PaginationLinks.cs: last_write_checksum: sha1:ef7b89b81319d380b864e3544a16b48fc0e45dd7 src/Cvent/SDK/Models/Components/PaginationLinksJson.cs: @@ -12706,10 +12246,10 @@ trackedFiles: id: e1e47986077d last_write_checksum: sha1:63d98dc24bbfced6dba55e5520cbe9d451149288 pristine_git_object: f150723f9c93a5e49ed3b578e37c291127af7d2e - src/Cvent/SDK/Models/Components/PagingJson19.cs: - last_write_checksum: sha1:bbf699c4144fc5b8e2e2556988c946d580b158fb - src/Cvent/SDK/Models/Components/PagingNoTotalCountJson2.cs: - last_write_checksum: sha1:c6d58e3a46871c418815c51a28bdc63bf4d03fa3 + src/Cvent/SDK/Models/Components/PagingJson2.cs: + last_write_checksum: sha1:4d860a147786e7150597a620b51198870ebf6b05 + src/Cvent/SDK/Models/Components/PagingNoTotalCountJson.cs: + last_write_checksum: sha1:78f4c18406f1d36e9cbc0e1bf8603d59af5f44f6 src/Cvent/SDK/Models/Components/ParticipantResponseJson.cs: id: 19a0b900b0bf last_write_checksum: sha1:481e2523987bfc4b336c0da0a0c6e892cf0b8c8b @@ -12726,14 +12266,10 @@ trackedFiles: id: e32a93ba5f60 last_write_checksum: sha1:3a7e745a2c5f1e2cfb7e4f74a1baeafe48c19bab pristine_git_object: 2b5808f90ae060f5b3dbf046e4cd6ca0796980d2 - src/Cvent/SDK/Models/Components/PassportJson.cs: - id: af528d68f1d8 - last_write_checksum: sha1:74cc1006243f4d19550611a162c29e8e1f66f39f - pristine_git_object: 60d20837b3c90ba32fbc883476ddd42eeb197817 - src/Cvent/SDK/Models/Components/PassportJsonInput.cs: - id: 21fc568d2e0a - last_write_checksum: sha1:ce8edd1d984fb6726ca0aa3f22d5f747b1d575cb - pristine_git_object: f33679d7cd172520e410a01dd0cf276f838896ad + src/Cvent/SDK/Models/Components/Passport.cs: + last_write_checksum: sha1:88aa7d2fb8b886a36a242af04f90aafc657987f7 + src/Cvent/SDK/Models/Components/PassportInput.cs: + last_write_checksum: sha1:44397752d0d8e4c1ce3a06186aab83556b75b537 src/Cvent/SDK/Models/Components/Patch.cs: id: d2e3c379e0ee last_write_checksum: sha1:66fa16d2cff8279140a3d73aee486634957a7ef0 @@ -12744,7 +12280,7 @@ trackedFiles: pristine_git_object: d0342a6f8ef551625ade38a03c501770a8a22ecb src/Cvent/SDK/Models/Components/PaymentInfoJson.cs: id: e3591b630eab - last_write_checksum: sha1:a2980f8196338bf64f77f7560a7cbb78993a8ce2 + last_write_checksum: sha1:f7a130d8dcd6288ed69b56bf8d49cad9494822fc pristine_git_object: 2c33f3a52afc094f165ec6e2ff5cc081fa7f8b87 src/Cvent/SDK/Models/Components/PaymentMethod.cs: last_write_checksum: sha1:e9d3b553aae2b1797a287cede38d18d06aaad965 @@ -12802,7 +12338,7 @@ trackedFiles: pristine_git_object: 01b82bf609021f6ff486aae54b25dd4a3cf49920 src/Cvent/SDK/Models/Components/PlannerJson2.cs: id: a432acb03564 - last_write_checksum: sha1:aadfa05a7fb9dc5a8f544ea909cc4e89708013e5 + last_write_checksum: sha1:36fddfc5c27ddb45ac7c35ae37ec54b93463bff2 pristine_git_object: ddf5c944e47a888aa092a5637e9e2f7da4d058cc src/Cvent/SDK/Models/Components/PlannerJson2AddressType.cs: id: 2bfd64fb49ee @@ -12868,10 +12404,8 @@ trackedFiles: id: 335fa16b9fff last_write_checksum: sha1:1f5538a92ff7659a2ca218ccc003cd8ec9db8f00 pristine_git_object: db95e535617265cad44217a1b3901f5d965175ef - src/Cvent/SDK/Models/Components/PolicyValueTypeJson.cs: - id: 3a827c3eaa92 - last_write_checksum: sha1:31df3b206aeb7bdb29d8d568a3bf627198aadd6c - pristine_git_object: fafe77a41a28b1cabbff9bd2d6e28bbea97b2159 + src/Cvent/SDK/Models/Components/PolicyValueType.cs: + last_write_checksum: sha1:402da505148489bc8b683629b2c15259b906d92e src/Cvent/SDK/Models/Components/PollResponseJson.cs: id: 9cb78bfff65c last_write_checksum: sha1:18258b6a318bffb28fbf0277d28f1f67a1de2f4e @@ -12934,10 +12468,8 @@ trackedFiles: id: 1a721be5d197 last_write_checksum: sha1:a4a4ea946aed388fff8287cd42e78dc6aba7946d pristine_git_object: bcbd734393a65ccef9a73a04efe3791740cb0385 - src/Cvent/SDK/Models/Components/ProgramItemLiteJson.cs: - id: f0bcb8bec4b4 - last_write_checksum: sha1:ce8d82b735541d487d46693ad404b1e7ed6acf23 - pristine_git_object: ddcdd94f98ff093c13cc287cebabc7202a726f54 + src/Cvent/SDK/Models/Components/ProgramItemLite.cs: + last_write_checksum: sha1:728f678936dca14edc8a60bde04973717b2002bd src/Cvent/SDK/Models/Components/ProgramItemPaginatedResponse.cs: id: d4bba3232bf6 last_write_checksum: sha1:ab1caa9799d9afc77635c54a022cb00eb928f05b @@ -12952,7 +12484,7 @@ trackedFiles: pristine_git_object: a0abc2af1ce8a710e780fc66ff773f2dcf8c8f9f src/Cvent/SDK/Models/Components/ProgramItemSpeakerPaginatedResponse.cs: id: 3b88ca4e1059 - last_write_checksum: sha1:daf0e26b49d57d93e8c71afcb51f9776545f87df + last_write_checksum: sha1:94d01b9cba8ac33611637401965e486e16a68adb pristine_git_object: dcbd191fdeaa866a930d57752692fc8b91d66903 src/Cvent/SDK/Models/Components/ProgramItemUpdateRequest.cs: id: 85ce1f1e3de1 @@ -12962,7 +12494,7 @@ trackedFiles: last_write_checksum: sha1:36c571edd2f6981cddd2761b0f960cecc88f98bc src/Cvent/SDK/Models/Components/Property.cs: id: 31407b234935 - last_write_checksum: sha1:f0ac4d02be75e89327fbd2d9f131e3e2e928faa6 + last_write_checksum: sha1:ce25c66c07c438c821ba98749b3378e3068da499 pristine_git_object: 440eab46faedb49718aab3d6a6286770528b2c51 src/Cvent/SDK/Models/Components/PropertyBrand.cs: id: 999158e9ee5c @@ -12982,7 +12514,7 @@ trackedFiles: pristine_git_object: 9da1697306faee1423463fb9fb2abeca3c895ee4 src/Cvent/SDK/Models/Components/PropertyRoom.cs: id: dc7330caac7c - last_write_checksum: sha1:f857f40f5ec5974f6d7edb5638ebcbefef13114a + last_write_checksum: sha1:c0c779f6798a521a5969875c8ea76161f4914209 pristine_git_object: d8896e85e0e907af505f38b76e807621d5af9838 src/Cvent/SDK/Models/Components/PropertyRoomExternalCodeJson.cs: id: 873237f76bd3 @@ -12998,31 +12530,29 @@ trackedFiles: pristine_git_object: 42c7f47d917b9cded7ca1ae26baa0546f187cf25 src/Cvent/SDK/Models/Components/ProposalDateJson.cs: id: 65ed12e5ef5f - last_write_checksum: sha1:5c64d0bfcc0024af5c746016a9024b68190b0558 + last_write_checksum: sha1:f8525b135c439e4981cb8f2fe02bbb638f6f77aa pristine_git_object: 3cd92e4fcd4b98b2011923848ea30c8f8fa07beb src/Cvent/SDK/Models/Components/ProposalRequest.cs: id: db103ee9270b - last_write_checksum: sha1:c353e9a1d1a83b175b8fa5e5fb74a754418cc427 + last_write_checksum: sha1:ad9fe5210f90df0425cfb819d0c231aec9bf3bb9 pristine_git_object: 0a6c35b13b10a4390c26790fe5ad8e0ab8df2e11 src/Cvent/SDK/Models/Components/ProposalResponse.cs: id: a5e0a35b5dd8 - last_write_checksum: sha1:98eddbe3be420499edceffef900975ac6cbd6ce8 + last_write_checksum: sha1:bcd0e8bf82e9d43c4f38c9169f529eaad3294a74 pristine_git_object: 9ce95fb9cfba50f5785f9eb9f928bee4a6e87743 src/Cvent/SDK/Models/Components/ProposalStatusJson.cs: id: f432b15c9cc0 last_write_checksum: sha1:7766f77b7e2ba9152ec4c5482ff05cca1012ffe9 pristine_git_object: b9167a5a8e7342d265ae4b53541e5f3d82cc1847 - src/Cvent/SDK/Models/Components/ProposalStatusTypeJson.cs: - id: 1f47f7c45808 - last_write_checksum: sha1:c67aec80b45c7fb7dba652706b42b9bfb2922b57 - pristine_git_object: 66264ab2c95b87caaf5d3f280bb5869eee416ac4 + src/Cvent/SDK/Models/Components/ProposalStatusType.cs: + last_write_checksum: sha1:b6bf0248b0362c844505c1e7c61d4a659d5a3ed9 src/Cvent/SDK/Models/Components/ProposalTypeJson.cs: id: 85a5914bc953 last_write_checksum: sha1:17211ac3f8b9a44d02a48f4b5ec9b1c637ba81e9 pristine_git_object: 723517be27a344f35aae4b64c2de236c7bdbde8f src/Cvent/SDK/Models/Components/ProximityJson.cs: id: 70e5d73df24c - last_write_checksum: sha1:756f1d374c631a977561ad0f86345b02fb66f852 + last_write_checksum: sha1:00f1d79d307545f399a5e5cad3149c44ae1d605f pristine_git_object: 1d41f30e98bf969c09a6e1e5c74718f253345439 src/Cvent/SDK/Models/Components/PublicUsagePlan.cs: id: 4936d6777258 @@ -13050,10 +12580,10 @@ trackedFiles: pristine_git_object: 14a16c911732e665be77363e8086ecbec59e4f15 src/Cvent/SDK/Models/Components/Question.cs: id: cc8a0b64520e - last_write_checksum: sha1:56b4bc8c3be65cf7af619adc2ad1d9180e5b6a73 + last_write_checksum: sha1:9ca7986f50837cf140803fbaa8b2a3a7b0bb32d7 pristine_git_object: 8d3c33fe4847cedbd50f4431954094e2a62fb65b - src/Cvent/SDK/Models/Components/QuestionClassificationTypeJson.cs: - last_write_checksum: sha1:2249bd1b65d4d736de8d92add90ac03b2009a9b0 + src/Cvent/SDK/Models/Components/QuestionClassificationType.cs: + last_write_checksum: sha1:e3c3846ed3c626964cc500ff1388d19f071bdfdc src/Cvent/SDK/Models/Components/QuestionDetailJson.cs: id: 3624c886f35e last_write_checksum: sha1:3efad77bba09243a69f678d435d5f3b5b20ff27f @@ -13062,98 +12592,72 @@ trackedFiles: id: aae349173edf last_write_checksum: sha1:df07e643d75a0a950057fdd43e563ef4537cdb4f pristine_git_object: 405865c2c23117d1be2dbca5a153cc1784855f8c + src/Cvent/SDK/Models/Components/QuestionJson.cs: + last_write_checksum: sha1:9a744265bee4765c1356d65c6401c5f36f9e5857 src/Cvent/SDK/Models/Components/QuestionJson1.cs: id: 0c8c974db2c1 - last_write_checksum: sha1:b5021119f3e3fad8500c5a0d5102a7c8b319da69 + last_write_checksum: sha1:81fb625991af13db2a8b1059417c9d1acc47f631 pristine_git_object: 99250e31668a5d45b7f20b8d30c27cad7238ed65 src/Cvent/SDK/Models/Components/QuestionJson2.cs: id: 19e158124d27 - last_write_checksum: sha1:d34d043992e3c12e8524de7736322eb07e5f54c3 + last_write_checksum: sha1:4ff7b9814cb07a04898b494e622e68022724f907 pristine_git_object: e0cca70630059f54599089a684b0f0d9009d27a2 - src/Cvent/SDK/Models/Components/QuestionJson3.cs: - id: d14528bdd356 - last_write_checksum: sha1:a72c61950ac006c43175451733bb0026863d5a00 - pristine_git_object: bb3eda1af8107ec58056eed77cf2bb5713bd56c8 src/Cvent/SDK/Models/Components/QuestionPaginatedResponse.cs: id: 44969f7a41f4 - last_write_checksum: sha1:7bd816501fc855007b5e3219f854361b286337fd + last_write_checksum: sha1:b85601ef4691e2950bfffc662aa036761112dfc3 pristine_git_object: 803c4cccfee6508d49b2108de4bddc243e06690d - src/Cvent/SDK/Models/Components/QuestionResponseDataTypeJson.cs: - id: f93b5289e4a3 - last_write_checksum: sha1:b7a0f1cb1845ceee38c5a884e71af9a33f404d40 - pristine_git_object: 33ec4cb3911828e1bb5ad2b43b34f898134accc8 - src/Cvent/SDK/Models/Components/QuestionResponseFormatJson.cs: - id: fc2260713092 - last_write_checksum: sha1:336b01dc681e387d97d1b811b9329f32f84b1892 - pristine_git_object: b6836855facdb8933cbea55390c0c7a226c2d2ed + src/Cvent/SDK/Models/Components/QuestionResponseDataType.cs: + last_write_checksum: sha1:49e09bda1a74e27e4224d2ca304e4251785ab2ae + src/Cvent/SDK/Models/Components/QuestionResponseFormat.cs: + last_write_checksum: sha1:485fd3c71adf1ee803c5b44f637a2ece77748f45 src/Cvent/SDK/Models/Components/QuestionResponseJson.cs: id: bbb93ec8630b - last_write_checksum: sha1:065300d7ef519ff099296c57d75a85fd0815b05b + last_write_checksum: sha1:4ae3eb2431a1dbac4abda49600d9cf686de7ecbe pristine_git_object: 9961efb09a1f755900778e586c586008fc9646ae - src/Cvent/SDK/Models/Components/QuestionResponseTypeJson.cs: - id: b51a06bfb4c4 - last_write_checksum: sha1:d2e3f4327302800eaee43c64bfb3341d5435e7a7 - pristine_git_object: c02bd0033d02cb68e0fafb4dd591fe9bac4ead71 - src/Cvent/SDK/Models/Components/QuestionSectionJson.cs: - id: ec8d2326c180 - last_write_checksum: sha1:dc7a486ddd0da1143893ca9e93dec230c8d49b95 - pristine_git_object: 1550516cc2d9759773d3a1dfc004e3677fdc35b1 + src/Cvent/SDK/Models/Components/QuestionResponseType.cs: + last_write_checksum: sha1:258477a1654bcd2a36e632bf7f15b91040bbf047 + src/Cvent/SDK/Models/Components/QuestionSection.cs: + last_write_checksum: sha1:3a2587b0362affe532e8636c5bd1db4171cbce38 + src/Cvent/SDK/Models/Components/QuestionType.cs: + last_write_checksum: sha1:a97d8a6865fb4b4f96013388dbe7172f2380b1c4 src/Cvent/SDK/Models/Components/QuestionTypeJson.cs: - last_write_checksum: sha1:27ed4ab64e544a4a31035903cf83e7992ead6aab + last_write_checksum: sha1:f8c40e9796c3d64addf2d1c45decf9e113421e87 src/Cvent/SDK/Models/Components/QuestionTypeJson1.cs: id: 8a4b77b026ca - last_write_checksum: sha1:4794b5305aaed8787208d3c51067e0ca6798e69d + last_write_checksum: sha1:72f54bde22dd83a45b4ebe25351c7725de003a73 pristine_git_object: 709936b484a25dd3b4b136272a0a153b984065c2 src/Cvent/SDK/Models/Components/QuestionTypeJson2.cs: id: 7d0e325d1b6c - last_write_checksum: sha1:1b779384d28fa21ce6207a2cf2aac060cb33d069 + last_write_checksum: sha1:15b6e3c558e5d134b029b781fd6b6e946dc6f5b9 pristine_git_object: c3b5a8f253b4c78f50dbc6796c96340185856a06 - src/Cvent/SDK/Models/Components/QuestionTypeJson3.cs: - id: 5a890f251c8c - last_write_checksum: sha1:adf6ad2965674d996cc05661571946b50a811261 - pristine_git_object: bbc17e69ed27ef5ea79c9ea6a5d19606db384155 - src/Cvent/SDK/Models/Components/QuestionWithProgramIdJson.cs: - id: 2a90336b6dd2 - last_write_checksum: sha1:c6d24673bd76ed9896c8d652198117365e7dd52f - pristine_git_object: 8db81932e0d088a7e05f8a50ec0c32d0a9dead19 - src/Cvent/SDK/Models/Components/QuestionWithProgramIdJsonTravelProgram.cs: - id: 9eae865d0694 - last_write_checksum: sha1:6458267c487a4b9fda68559a1176847bd36187ad - pristine_git_object: 410265115e32767fb85c62d2710de95c0cce3321 src/Cvent/SDK/Models/Components/QuestionsPaginatedResponse.cs: id: b38bea7454bf - last_write_checksum: sha1:7afc567ed900bf8feb5c890e9cb734707682419a + last_write_checksum: sha1:d1c0bd3f7bc6a4e749d92fd79477b430b07eb9c8 pristine_git_object: 24fc0fbbed2ecf807ad067c9fb5678e63da93322 src/Cvent/SDK/Models/Components/QuestionsPaginatedResponse1.cs: id: 3e7703c05491 - last_write_checksum: sha1:c5c52e19a27efce18eff904fa81a98b645fe8238 + last_write_checksum: sha1:6d034038ecd0856dbb82c030ad997e2b35322b6e pristine_git_object: 3723efbbdfd55a098436ec21edf19d3c9a9b376e src/Cvent/SDK/Models/Components/Rate.cs: id: 7400c0ed57f9 last_write_checksum: sha1:771644f548c9efb98d6e96d9ce79103c1ceb597c pristine_git_object: fafe1dbd5f16fae6f46284adf3c17a4062c74096 - src/Cvent/SDK/Models/Components/RateLevelTypeJson.cs: - id: 31e97939b522 - last_write_checksum: sha1:4f4a0c82e7aa88717d0ea09dfb1b80a14f31054c - pristine_git_object: 28266879ca04b094198be422e50610356c4dca3f - src/Cvent/SDK/Models/Components/RateReviewStatusTypeJson.cs: - id: 3dccf7658f60 - last_write_checksum: sha1:8fdac7d5f846439e576acddbfe49149e6d140527 - pristine_git_object: 27d4c41ed8af835804b2e1ea37478c688991b875 - src/Cvent/SDK/Models/Components/RateTypeJson.cs: - id: d46c11c13e3d - last_write_checksum: sha1:b9715df0520e3cc521afd4b9048db549711044c2 - pristine_git_object: 323dbf19bda0459612abee6b81b91c8a66bef50f - src/Cvent/SDK/Models/Components/RebateTypeJson.cs: - last_write_checksum: sha1:86833a723ed4a79652b1eb4554888d00986f9494 - src/Cvent/SDK/Models/Components/RecipientInfoJson0.cs: - last_write_checksum: sha1:a55a763573d456d89d4bff779363a50b425b2a3a + src/Cvent/SDK/Models/Components/RateLevelType.cs: + last_write_checksum: sha1:d6d47c7175fa4109ad795ca8eced12e15e3f5a2d + src/Cvent/SDK/Models/Components/RateReviewStatusType.cs: + last_write_checksum: sha1:8f56bb72205afb369e98849258e02785c42cc46e + src/Cvent/SDK/Models/Components/RateType.cs: + last_write_checksum: sha1:6710ea39f3e4fd41b6cde009927d07d61cd14815 + src/Cvent/SDK/Models/Components/RebateType.cs: + last_write_checksum: sha1:94687157c348638f41de19e3ff2c3559da21271e + src/Cvent/SDK/Models/Components/RecipientInfo.cs: + last_write_checksum: sha1:b23f8e7420e85d5dc60491f74ecf0914bacc602b src/Cvent/SDK/Models/Components/RecipientJson.cs: id: 4194617a3cca last_write_checksum: sha1:2fd40fb5ef3507782c705e8511be6f9f6b4c4ae1 pristine_git_object: c99c697f693b0d1544e9115ac8e0e947514b3ae1 - src/Cvent/SDK/Models/Components/RecipientTypeJson0.cs: - last_write_checksum: sha1:7e031b9ec99fa25066f2e9e3dfabfb1022af803f + src/Cvent/SDK/Models/Components/RecipientType.cs: + last_write_checksum: sha1:d11eb40dc5ce836924401dc45ef496bce3ae528f src/Cvent/SDK/Models/Components/RecipientsDataJson.cs: id: 17b0c5b2533a last_write_checksum: sha1:86191dae2fb3dfad950237d0e0c9f56b6aa7cf17 @@ -13196,11 +12700,11 @@ trackedFiles: pristine_git_object: 7d4d822f267060e15222f76a6fe3470b96695706 src/Cvent/SDK/Models/Components/RegistrationPackRequest.cs: id: d8a62ef4df74 - last_write_checksum: sha1:36be23c783b647c9afe6e6087ccd9d140b0f0901 + last_write_checksum: sha1:06b6c415f83340dd39e0c8798a775f5324f2fad2 pristine_git_object: 1306287b9ff4b1528388caa7dfef660bf7ef0add src/Cvent/SDK/Models/Components/RegistrationPackResponse.cs: id: f1610dbeca9c - last_write_checksum: sha1:6d0e5eb9f3e4af4aa2d0bfaf141ce9a1edf56c34 + last_write_checksum: sha1:9546215efd10ef511a01f2bc765f8fa944211072 pristine_git_object: 7ee1d16704760667621d82a3d4b66faf584daa80 src/Cvent/SDK/Models/Components/RegistrationPath.cs: id: 5eb628c81651 @@ -13252,11 +12756,11 @@ trackedFiles: pristine_git_object: 897d11c738c8c82b5096c77a2a9da85bae62d1e1 src/Cvent/SDK/Models/Components/ReservationGuestJsonInput.cs: id: 12ba94291f92 - last_write_checksum: sha1:0da9f91ec86c2f3b7f40f8cd9e0bf81015216900 + last_write_checksum: sha1:a6cade9ac209bbcc6bd4a41e11eafdbe1650ed55 pristine_git_object: 6449a37aa37d4415d86a552a8ab3dc2ff82ce914 src/Cvent/SDK/Models/Components/ReservationGuestJsonOutput.cs: id: 58ccfabb0d94 - last_write_checksum: sha1:07572d02922d76f1211b07695603e9f27ce3c49d + last_write_checksum: sha1:f73fffd68ac02b36de39b50dc53827fe69dd4748 pristine_git_object: e5e41c919175d90885b1879c390f5762dabf788f src/Cvent/SDK/Models/Components/ReservationNightJson.cs: id: 3e340d53eff6 @@ -13272,11 +12776,11 @@ trackedFiles: pristine_git_object: 18694f3ba0aaaa246e8c3697ddc0f43240eef5d1 src/Cvent/SDK/Models/Components/ReservationPaymentInfoJsonInput.cs: id: ee9385aea2e8 - last_write_checksum: sha1:56f9466f06af0389a08eb59102176b29efc8da10 + last_write_checksum: sha1:4f8210d982ad292106498fa469d0471fc824d45a pristine_git_object: 6817e008079e95a4e27eac38e77abab6d31e2356 src/Cvent/SDK/Models/Components/ReservationPaymentInfoJsonOutput.cs: id: a8399a1b9353 - last_write_checksum: sha1:dc504e7e8e4c0e7e14d2316ef24ad0db6c3bf006 + last_write_checksum: sha1:44537ed29138153c2ff5bc54a6a1f2308bb398ed pristine_git_object: 1fcea155f09c1a6f43c4557acba9ca62cb994051 src/Cvent/SDK/Models/Components/ReservationRequestBlock.cs: id: "741312672891" @@ -13352,7 +12856,7 @@ trackedFiles: pristine_git_object: 8d5b1bb05a9b37d875451dcebaf47cb207e3010b src/Cvent/SDK/Models/Components/RespondentJson.cs: id: 793833df61f2 - last_write_checksum: sha1:aeeb9c92d9fcf7e2a35d7e87036d363504ab1787 + last_write_checksum: sha1:020ae4097c4bd3e0509e95c1c76a43b9b56afc90 pristine_git_object: 57aad377bcecb1549f246dfe9c3dffd01bc5de0b src/Cvent/SDK/Models/Components/RespondentJsonLinks.cs: id: 1998098089f1 @@ -13387,75 +12891,71 @@ trackedFiles: last_write_checksum: sha1:71e1bf5926ab69d932da41c3b940f5117eae35ac pristine_git_object: 8bad3c8f8ee517ecc478c52087d715603d33edbc src/Cvent/SDK/Models/Components/Rfp.cs: - last_write_checksum: sha1:2a3dad21f5ff5f04f0bb2610ceca14526cea79f0 - src/Cvent/SDK/Models/Components/RfpAgendaItemJson.cs: - last_write_checksum: sha1:7fab1176d91061f9bedc1ceaee69478f88c0c69f - src/Cvent/SDK/Models/Components/RfpAgendaItemScheduleJson.cs: - last_write_checksum: sha1:ea99ba38ca10e93e834c448058bf7a9d9346927d - src/Cvent/SDK/Models/Components/RfpAgendaItemScheduleWithIdJson.cs: - last_write_checksum: sha1:ce9972555e89e969550adcf71268edd1f9d1c3a8 - src/Cvent/SDK/Models/Components/RfpAttachmentJson.cs: - last_write_checksum: sha1:4a97206d7c0331efea00bb91f366498ef37c3f86 - src/Cvent/SDK/Models/Components/RfpAttachmentJsonSupplier.cs: - last_write_checksum: sha1:5846f77e3f87bcb82125054c790ec7a31bf44fd2 - src/Cvent/SDK/Models/Components/RfpCustomFieldJson.cs: - last_write_checksum: sha1:9c97106a1344633e6e250e8c26ee2d03d969a17f - src/Cvent/SDK/Models/Components/RfpDateModeJson0.cs: - last_write_checksum: sha1:4d272ec4ac036a8cf2642addef5c1fd9fd9b3f4c - src/Cvent/SDK/Models/Components/RfpEventJson.cs: - last_write_checksum: sha1:1b1544a064e25022c97e1af82454bbdea49b6e02 - src/Cvent/SDK/Models/Components/RfpEventOrganizationJson.cs: - last_write_checksum: sha1:95656056195f234a2003b67af3861ca69af4df95 + last_write_checksum: sha1:f115346af30a45041af74d22ed2b1ab47678e951 + src/Cvent/SDK/Models/Components/RfpAgendaItem.cs: + last_write_checksum: sha1:3fe0da4b7a3ac4cd2c3dc3c8bc2f09a299c15ce4 + src/Cvent/SDK/Models/Components/RfpAgendaItemSchedule.cs: + last_write_checksum: sha1:88b6df9b0b22dda74dbd00f44fdbbe24dabb99a4 + src/Cvent/SDK/Models/Components/RfpAgendaItemScheduleWithId.cs: + last_write_checksum: sha1:9b73662781a6b902e6cb5682e63a92e34864d122 + src/Cvent/SDK/Models/Components/RfpAttachment.cs: + last_write_checksum: sha1:9ce7825724c4da8d2213b5af179275a3bca0b751 + src/Cvent/SDK/Models/Components/RfpAttachmentSupplier.cs: + last_write_checksum: sha1:84b9f3a73e2ee2432327c0df69ff46a56e9d64b1 + src/Cvent/SDK/Models/Components/RfpDateMode.cs: + last_write_checksum: sha1:4fa4231b821e568837baf298d18650da1603b55f + src/Cvent/SDK/Models/Components/RfpEvent.cs: + last_write_checksum: sha1:54f88e828067a9f81c47da4f70063fc151bc417c src/Cvent/SDK/Models/Components/RfpGuestRooms.cs: - last_write_checksum: sha1:cc6d8a2d66fb93d57f4a8643a22c4b90befd163c - src/Cvent/SDK/Models/Components/RfpIdJson1.cs: - last_write_checksum: sha1:2bc7aee7d986bf38340d847e1d70ad35a4733615 - src/Cvent/SDK/Models/Components/RfpInternalDocumentJson0.cs: - last_write_checksum: sha1:d7f5d66e54789109c36b9f6321f04bf255cd0b07 + last_write_checksum: sha1:243a12c4b0058b04d0b8e2f042c9d5d1d0342784 + src/Cvent/SDK/Models/Components/RfpIdJson.cs: + last_write_checksum: sha1:d2a444b7d177a90e6e111dc6dd2c9ca86423c727 + src/Cvent/SDK/Models/Components/RfpInternalDocument.cs: + last_write_checksum: sha1:b3ab302c8992b11d3e74a55f308a01968d114882 src/Cvent/SDK/Models/Components/RfpLeadSource.cs: last_write_checksum: sha1:afa1bb06b49bae22383523daeb8c1474c16960dc src/Cvent/SDK/Models/Components/RfpLeadSourceSection.cs: last_write_checksum: sha1:94944bcf56b280bfd7e5acf5b95afe3498d4d4e0 - src/Cvent/SDK/Models/Components/RfpMealJson.cs: - last_write_checksum: sha1:51ebc611c6ad7d244f126c090038e342f06a3388 - src/Cvent/SDK/Models/Components/RfpPastEventJson.cs: - last_write_checksum: sha1:4c2db360ca4a8407ea325588507adac14e6d955b + src/Cvent/SDK/Models/Components/RfpMeal.cs: + last_write_checksum: sha1:e8a9bfdab2e9f6153a2276973fc740c8e1cb431a + src/Cvent/SDK/Models/Components/RfpPastEvent.cs: + last_write_checksum: sha1:911140ae9bdc4caa487dbd7e2e3564f9a910d32b src/Cvent/SDK/Models/Components/RfpPastEvents.cs: - last_write_checksum: sha1:e8102dedcbaaae0a1af5e994ab1f3c3393b8564d - src/Cvent/SDK/Models/Components/RfpQuestionJson.cs: - last_write_checksum: sha1:7a42c0cbfcf66f7381fc98e2bd4a81f0487541dd - src/Cvent/SDK/Models/Components/RfpRecipientLogEntryJson.cs: - last_write_checksum: sha1:7bf7a7b50ece63d3f0edb079863b4be489b74fae - src/Cvent/SDK/Models/Components/RfpRecipientLogEntryJsonMessage.cs: - last_write_checksum: sha1:3e9801f510fd1c8f9011c15fe76a10b21080a569 - src/Cvent/SDK/Models/Components/RfpRecipientLogEntryJsonSupplier.cs: - last_write_checksum: sha1:972ef66c4686bacd317bb9113f753d5b7a598ff8 - src/Cvent/SDK/Models/Components/RfpResponseReasonJson.cs: - last_write_checksum: sha1:525c0f4d936c40df3932728e1f90f5490210aa4b - src/Cvent/SDK/Models/Components/RfpStatusJson0.cs: - last_write_checksum: sha1:295b7293bcf0e8a1f4a3ce4eca81cc11439ca1cc + last_write_checksum: sha1:bd41d80834aa9ea81ae9bcc430822eabd189ee8f + src/Cvent/SDK/Models/Components/RfpQuestion.cs: + last_write_checksum: sha1:b7d3c283825b69836c626db5113607f8c68d1b89 + src/Cvent/SDK/Models/Components/RfpRecipientLogEntry.cs: + last_write_checksum: sha1:cc235735e661ef03c4ec85898e19693d853d96bc + src/Cvent/SDK/Models/Components/RfpRecipientLogEntryMessage.cs: + last_write_checksum: sha1:9dd267658267b5c19f5a925552f7f703b6277901 + src/Cvent/SDK/Models/Components/RfpRecipientLogEntrySupplier.cs: + last_write_checksum: sha1:5d89ee99056df4fff8281d145c32a7b3da8a30f9 + src/Cvent/SDK/Models/Components/RfpResponseReason.cs: + last_write_checksum: sha1:6ce29c30d6d04a4711f7041c372e6fa7d6f8c04e + src/Cvent/SDK/Models/Components/RfpStatus1.cs: + last_write_checksum: sha1:dcc9ddd8e595feea821270a22e1619b1776fc7f2 src/Cvent/SDK/Models/Components/RfpSummaryJson.cs: id: 4460b241b8cc last_write_checksum: sha1:52e02dd5afbcb50a44b61056734a8e0797efb990 pristine_git_object: 51df168345ce45555c2ca25e95ba95862e0a5ee5 - src/Cvent/SDK/Models/Components/RfpSupplierJson.cs: - last_write_checksum: sha1:c07998d6a7adac3a0f3b0013d8291b10e62db011 + src/Cvent/SDK/Models/Components/RfpSupplier.cs: + last_write_checksum: sha1:bff1b4017542008bb816d0f81533cc8e5af6d250 + src/Cvent/SDK/Models/Components/RfpSupplierLeadSource.cs: + last_write_checksum: sha1:ef34cc5cf803e752ce09f76f8e0a6d4fb96d8837 src/Cvent/SDK/Models/Components/RfpSupplierStatus.cs: last_write_checksum: sha1:1335fbf46671b782d7c21db0758d9c0d12a9d35d - src/Cvent/SDK/Models/Components/RfpTypeJson0.cs: - last_write_checksum: sha1:ffa345df414990b536a6059a4119e0ba837b415f + src/Cvent/SDK/Models/Components/RfpType1.cs: + last_write_checksum: sha1:5b8471744751d565bca4c8bbf0b05d79971410b1 src/Cvent/SDK/Models/Components/RoomAttendeeTypeJson.cs: id: 8422ac6464ba last_write_checksum: sha1:fa8f527791897da74577c0c2d88716819a7c7214 pristine_git_object: 318a12280a0ffdc53235182a326038e87a82bb6c - src/Cvent/SDK/Models/Components/RoomBedTypeJson1.cs: - id: ab0d9c101ec9 - last_write_checksum: sha1:c93a68207991b7a22cfcf4cd050eb9d864ba38d4 - pristine_git_object: e1220b6ed8a2d49ce867f39773087c441ad915af - src/Cvent/SDK/Models/Components/RoomBlockDetailsJson.cs: - last_write_checksum: sha1:374af7f011a74d2f54b4d477cc012c8b9c263c48 - src/Cvent/SDK/Models/Components/RoomBlockJson.cs: - last_write_checksum: sha1:eb3c04a92844115079d95507d48f3f6323a086e7 + src/Cvent/SDK/Models/Components/RoomBedTypeJson.cs: + last_write_checksum: sha1:efe550e5d4f4fe5737e9e5579df10608df434cc0 + src/Cvent/SDK/Models/Components/RoomBlock.cs: + last_write_checksum: sha1:67a6b10b061cfccdcd29b9a2f1620c4838dfef04 + src/Cvent/SDK/Models/Components/RoomBlockDetails.cs: + last_write_checksum: sha1:9fc202c495b98a85da7b0965fc3b8c02943ae64f src/Cvent/SDK/Models/Components/RoomIdJson.cs: id: a72a0c8901ad last_write_checksum: sha1:158b6ce288ababd2c51028cbd5b78ce1f0742f1e @@ -13502,7 +13002,7 @@ trackedFiles: pristine_git_object: 21143e0a565d97dc8054293c3d452355a1c6280c src/Cvent/SDK/Models/Components/ScoresJson.cs: id: cfa034849620 - last_write_checksum: sha1:d4717cf323f6231cf30eebc4e676b031a5137bdf + last_write_checksum: sha1:4d9aed91aca82c7e2e6f67509fe51a3c475c06ba pristine_git_object: 720ecf93f8f3a10e7655102c6b03914386dd69ac src/Cvent/SDK/Models/Components/ScoresJsonAttendee.cs: id: 53d0ccf078e8 @@ -13550,11 +13050,11 @@ trackedFiles: pristine_git_object: e1687ff624111dc142ead58cf1b773cadf19d5db src/Cvent/SDK/Models/Components/SendEmailEventRequest.cs: id: 8daf10636b66 - last_write_checksum: sha1:be90f4725008043048d07a6e7aa777f0d5b74602 + last_write_checksum: sha1:952be6a40f245e459c22b1ca98b115cd1b86a7e0 pristine_git_object: 853db2572182d9fd372903b1486752b009c34de1 src/Cvent/SDK/Models/Components/SendEmailEventResponse.cs: id: "168350485296" - last_write_checksum: sha1:c4393b72ea1d1c0e73b1297120df44f1cbcc0a4f + last_write_checksum: sha1:83691b79df141db3e05776cce535bf28196d3141 pristine_git_object: e0f39b0034d8d94132ba57fcf356390269fe4c97 src/Cvent/SDK/Models/Components/SendEmailRequest.cs: id: 7a49bf8d57bb @@ -13690,10 +13190,8 @@ trackedFiles: id: bb94a11ed2b4 last_write_checksum: sha1:55e3b356df2f46eb1393f103b8d5d13dd4b24e24 pristine_git_object: 6d8e92903d3be9eb76c4f17f3b9bf95548daf94d - src/Cvent/SDK/Models/Components/SessionLiteJson.cs: - id: 55d4d9b178d4 - last_write_checksum: sha1:abb6e7dc8bdc2dad1bf44bcf1ca2d25f1005fc95 - pristine_git_object: b676f2e99a4c40c03867285834f4da4bdadd83b0 + src/Cvent/SDK/Models/Components/SessionLite.cs: + last_write_checksum: sha1:74ed9e932b2a4a06efdffc2a5ea16ad3da1c9f90 src/Cvent/SDK/Models/Components/SessionLocation.cs: id: 91078f2bcd15 last_write_checksum: sha1:b78eb6f3373a5acf4ade60acce6849c219d91418 @@ -13724,7 +13222,7 @@ trackedFiles: pristine_git_object: 782c7ba1b00af8b48b3800f81d980f9d2a76f4aa src/Cvent/SDK/Models/Components/SessionQaMessage.cs: id: 4ffaf88505cc - last_write_checksum: sha1:a6e64664ebbd8ff3bd3cbf135cf65462ffc0fc02 + last_write_checksum: sha1:bb2444b9a555a03e5ec73dec55cc4c1154731979 pristine_git_object: e229f104727d0ed5623d4524782b77da595579c1 src/Cvent/SDK/Models/Components/SessionQuestionAsked.cs: id: 8494a682305c @@ -13742,17 +13240,15 @@ trackedFiles: id: 4383289e014c last_write_checksum: sha1:6bf91ea59bcece5fd001623f0aecb64e4538390a pristine_git_object: c6687e83b72674d74be9a026fae24d6ef9ac5541 + src/Cvent/SDK/Models/Components/SessionSpeaker.cs: + last_write_checksum: sha1:54a43456b732c59021bc0cf7319c05852185a628 src/Cvent/SDK/Models/Components/SessionSpeakerAssignment.cs: id: 3f8f030dd002 last_write_checksum: sha1:96c96d68fb08ad40e9369cbab7501e91d1a8b741 pristine_git_object: 6fb860632d1fd315b64a43296b221bd2855184c4 - src/Cvent/SDK/Models/Components/SessionSpeakerJson.cs: - id: 25c63452d6fc - last_write_checksum: sha1:4aff55f62b78cecad10eb5cd534086a352ffc913 - pristine_git_object: d326728ddab554ef328f2ce0214e461dddadc589 src/Cvent/SDK/Models/Components/SessionSpeakerPaginatedResponse.cs: id: f0c6202fe4b5 - last_write_checksum: sha1:b6ac58b554bed32bf07ecc4bc724e5147513a544 + last_write_checksum: sha1:6489cc808de2ed7cbcf532408dd558e8369f0b2b pristine_git_object: a44f9906dbc27805cdc71abea7dd317c4451d64f src/Cvent/SDK/Models/Components/SessionStatus.cs: last_write_checksum: sha1:c220f7c60acc55af218c4cdc5722da774decf26d @@ -13800,11 +13296,11 @@ trackedFiles: pristine_git_object: 4477f16af84c4a4c22b6aa835233f76f11e8e25f src/Cvent/SDK/Models/Components/SleepingRoomBlockJson.cs: id: 171f1b82b1e3 - last_write_checksum: sha1:a93074e44bfa6310542437844753a15f076be4f1 + last_write_checksum: sha1:4739c6492c12614f35193ced6f62a8ac65d9b22a pristine_git_object: 8dcdf56aa2eef2a1e4ddc5a42f16ed8e877d2f62 src/Cvent/SDK/Models/Components/SleepingRoomJson.cs: id: 5314b8009879 - last_write_checksum: sha1:4268cdc82be1e61baf2996691647705165c2759f + last_write_checksum: sha1:53fdf65f0cb4d0ed632bf796feed83649d721508 pristine_git_object: b5c522be5910694ace5785645b5761f97faa885d src/Cvent/SDK/Models/Components/SleepingRoomRequirementJson.cs: id: f4d58318bff1 @@ -13816,10 +13312,8 @@ trackedFiles: pristine_git_object: 632f581e7927b4d9a51d87e0ea419038680b73cb src/Cvent/SDK/Models/Components/SocialMediaLinks.cs: last_write_checksum: sha1:07e310736fe9ea80cce97a9b6848e6fdb064169f - src/Cvent/SDK/Models/Components/SolutionJson.cs: - id: a6900e8ba00f - last_write_checksum: sha1:75af6fe3562fb587dbb8faff282ed1657c1e2aac - pristine_git_object: 4388b13be57e4671e62915ffee40ccc7e8adaffe + src/Cvent/SDK/Models/Components/Solution.cs: + last_write_checksum: sha1:db6a4551106a12587ca99ddeb2363b5fb8d157ed src/Cvent/SDK/Models/Components/SolutionTypeJson.cs: id: fd4688d2d3e8 last_write_checksum: sha1:6bde4084b59b7561cea654a1f6d9d5005296af39 @@ -13832,19 +13326,19 @@ trackedFiles: id: d1c8171e3671 last_write_checksum: sha1:583088bd050cd095a83221f8533744c234d0c588 pristine_git_object: 41eb96977abb9161a322910408bae6a0f3f8e656 - src/Cvent/SDK/Models/Components/SpaceAreaJson0.cs: - last_write_checksum: sha1:ee95c79fe82887f71913dcd367710ec4d00b1d4c + src/Cvent/SDK/Models/Components/SpaceArea.cs: + last_write_checksum: sha1:38c4650ccec865942d32631fb5d56fbbdd0e9241 src/Cvent/SDK/Models/Components/Speaker.cs: id: 41528590b836 - last_write_checksum: sha1:75b04c2f4f8ac4b38f33cead133da2949624ee3f + last_write_checksum: sha1:45337d5faebd6289dfe10ed339e26ebcc25f8488 pristine_git_object: 4094b772a940b8e651fb452ae917965741399eeb - src/Cvent/SDK/Models/Components/SpeakerCategory.cs: - id: a8ffcb460c9c - last_write_checksum: sha1:bb96140e81f8080044196f6c2955f0273b289dc8 - pristine_git_object: ff876f1f3ee3d20f7335af420fc6d8ca97ad13ce + src/Cvent/SDK/Models/Components/SpeakerCategory1.cs: + last_write_checksum: sha1:a26f92e0af8f60c9fefb17b3c3e76d01fcf2872b + src/Cvent/SDK/Models/Components/SpeakerCategory2.cs: + last_write_checksum: sha1:cc438ba0f60260788dac70f42f0e6279b2b48f6e src/Cvent/SDK/Models/Components/SpeakerCategoryPaginatedResponse.cs: id: 4328a03c8fc1 - last_write_checksum: sha1:477e05d066afe1895ee1f5d7592d20c828d2262d + last_write_checksum: sha1:b85906202155619fb94797a51a945b2aa004c370 pristine_git_object: e7a96e7d9b3bb83ff7e9cb6e7c551ab09144a71b src/Cvent/SDK/Models/Components/SpeakerContact.cs: id: 10aa1d77fc6f @@ -13852,7 +13346,7 @@ trackedFiles: pristine_git_object: 24a01748563a023e43cba270b318f3dbac0a7647 src/Cvent/SDK/Models/Components/SpeakerDocumentPaginatedResponse.cs: id: 6efe2b663abe - last_write_checksum: sha1:2bd335534d207dd9e23452e4c7940e291dd4f85b + last_write_checksum: sha1:dab03c28e38f3d6019d8f59b5ce436289d4c33b6 pristine_git_object: 2a502e67636464759193a8735f5400df58216691 src/Cvent/SDK/Models/Components/SpeakerEvent.cs: id: 653a4ae8b15e @@ -13884,20 +13378,18 @@ trackedFiles: pristine_git_object: 5a10c3a17cb4a9f6764c8236603217473b174fcd src/Cvent/SDK/Models/Components/SpeakerLite.cs: last_write_checksum: sha1:2a6f05086cfddf2db9bbfe7396db763ce46cc4a7 - src/Cvent/SDK/Models/Components/SpeakerLiteJson.cs: - id: 5c6ce76c7ab4 - last_write_checksum: sha1:bd106cd6ae96fb9aabb05e8cac966d0963e00d0e - pristine_git_object: 133c1ffcb39cfb60900ad61935ba326d3e4bec00 + src/Cvent/SDK/Models/Components/SpeakerLite1.cs: + last_write_checksum: sha1:efdd6f146492d9adb07b27eb7de1ac61f7c7b1ff src/Cvent/SDK/Models/Components/SpeakerPaginatedResponse.cs: id: 60ae2d2d1875 - last_write_checksum: sha1:9bcbaf957478ad806143057fd116621d355cc533 + last_write_checksum: sha1:c0e506805b5ce5b6e39c2810970d3580d45b2067 pristine_git_object: bc6f5de016c27bf7e44d7ac3c9198db805aeacf0 src/Cvent/SDK/Models/Components/SpeakerProgramItem.cs: id: 5f49a29d6a13 - last_write_checksum: sha1:59749277e24ef9ce3bc511db275d9400daecbf82 + last_write_checksum: sha1:8def9b8abbe44aecff0e9fe30af9afb5dc80c851 pristine_git_object: fef7d0ab353b398bca9ad2804aafdd038caea393 src/Cvent/SDK/Models/Components/SpeakerSession.cs: - last_write_checksum: sha1:60d3b23ce8075068c0b81fa8353a90e9d42ad6e4 + last_write_checksum: sha1:327607b4db7f4cc9655494d311a4e93a250ac236 src/Cvent/SDK/Models/Components/SpeakerSessionPaginatedResponse.cs: id: b9d98776ef9b last_write_checksum: sha1:a7a075012154c26c0350d9addcc78e3a53999d9e @@ -13914,7 +13406,7 @@ trackedFiles: pristine_git_object: 24406b7a8d894163269fe636389db5ca0cf653c6 src/Cvent/SDK/Models/Components/StakeholderJson.cs: id: a341f4ce3265 - last_write_checksum: sha1:5fb9a5528990cd461193a107d74a670ca103db77 + last_write_checksum: sha1:78f46baef27d5e26a2366e1da9d5e7bf10b52b09 pristine_git_object: 293de71e5b91c506eb3c22d2ea981e7e9b7ffeb4 src/Cvent/SDK/Models/Components/StakeholderJsonAddressType.cs: id: 3182ad49c7f4 @@ -13952,8 +13444,8 @@ trackedFiles: id: ebceb6d23382 last_write_checksum: sha1:db95c24dba0b15f95a4d93857ed0a4fd2bdf64ae pristine_git_object: 859a1bbd628de9b77beb7be4e3d5d0d53a468fc0 - src/Cvent/SDK/Models/Components/StandardQuestionJson.cs: - last_write_checksum: sha1:30c967275af4e31514ab0f61fdf41e8738f4f36a + src/Cvent/SDK/Models/Components/StandardQuestion.cs: + last_write_checksum: sha1:849380b4ed6235ae275ba2e1ef852898c8de9944 src/Cvent/SDK/Models/Components/StandardSurveyEmailTemplateJson.cs: id: 98e6180dd41c last_write_checksum: sha1:e51d5ed58d95811fdd5ae08bc1c4bafc03e8acfb @@ -13964,11 +13456,11 @@ trackedFiles: pristine_git_object: 6968c6e01970fe9920deb5882285f6ca17947c0e src/Cvent/SDK/Models/Components/StandardSurveyJson.cs: id: edcfbbee704b - last_write_checksum: sha1:da11f14d27f370b680d835ef1e963cfd16c1654e + last_write_checksum: sha1:9b3264788cb7c35f0dd2f6244810815333230b5e pristine_git_object: ebe2e80b8829e56568ed657f9e82f7db5d611734 src/Cvent/SDK/Models/Components/StandardSurveyQuestionJson.cs: id: 2660bf0a864f - last_write_checksum: sha1:744f2f38dc929eeb6c46e132960b0a991c7c29bf + last_write_checksum: sha1:8d555dcd307e5aeb2e442fc95dfb9c8370ac6fab pristine_git_object: 2dfe42af0c050c0bcee91088dc449e351c310a92 src/Cvent/SDK/Models/Components/StandardSurveyQuestionsPaginatedResponse.cs: id: 08a9f02951a9 @@ -14032,7 +13524,7 @@ trackedFiles: pristine_git_object: 606ab653c6a74c2d21169c1e15c6edf8478e6780 src/Cvent/SDK/Models/Components/Supplier.cs: id: 5f40b8f1dabc - last_write_checksum: sha1:1083b4e36dde9219c4514a85e9d0c3a4ff35bd53 + last_write_checksum: sha1:604fdf57ccac6b01716c44fe02d9a9a1415c13a7 pristine_git_object: f785686d6837ee511132a13baafe0e18f8851d4d src/Cvent/SDK/Models/Components/SupplierAssociatedAds.cs: last_write_checksum: sha1:51f50101394ee572a9a9059f6a4b3b507dc58521 @@ -14041,17 +13533,15 @@ trackedFiles: last_write_checksum: sha1:368b5e35868837147baf5bb19b62b9a9dde70812 pristine_git_object: 0d628ca08135012bf50aa1f449edd08756ae6260 src/Cvent/SDK/Models/Components/SupplierResponse.cs: - last_write_checksum: sha1:a48674405ba6731aa11d95870b53507bb5f41803 + last_write_checksum: sha1:44c6f9aeda905197ba0923374fe04d20a78fb333 src/Cvent/SDK/Models/Components/SupplierSummaryJson.cs: id: 775266076abc last_write_checksum: sha1:beb9beda69f014d88c559f5f3b018074377a15aa pristine_git_object: 78ef87bf28c366033ad21678962ba3d09261cf99 + src/Cvent/SDK/Models/Components/SupplierType.cs: + last_write_checksum: sha1:f9e972ebf2f92dc79c787f5c6d71f8520d7a1d68 src/Cvent/SDK/Models/Components/SupplierTypeJson.cs: - last_write_checksum: sha1:4459916df5cdcf7dbc218e7f90adf6526a3ba26e - src/Cvent/SDK/Models/Components/SupplierTypeJson1.cs: - id: 9b4334cb0d61 - last_write_checksum: sha1:bd70633228ddfd4b27e964d74ca95403e0b841a8 - pristine_git_object: ce52569af74bddea996112b555f5d97ddca5a074 + last_write_checksum: sha1:7de44f6c1e345490dcc0a15c5a99e35e8c3d5670 src/Cvent/SDK/Models/Components/Survey.cs: id: e36d03e835d2 last_write_checksum: sha1:63d1a723b0df46e0ced02c101b081641e74c73d2 @@ -14060,13 +13550,11 @@ trackedFiles: id: caefd9ca704d last_write_checksum: sha1:b8ae55381f69b8f9ea3a85e8a0db03733deaaa4b pristine_git_object: ffca6ce35bd7baf55d6d44ba4e252c5a2e89e1a5 - src/Cvent/SDK/Models/Components/SurveyContactIdJson.cs: - id: 37ce0754d391 - last_write_checksum: sha1:a0d3b9764c62d983191474b78290dd47bf995d0f - pristine_git_object: 8664ada66439bf53326efaebe25f9fc5a3053256 + src/Cvent/SDK/Models/Components/SurveyContactId.cs: + last_write_checksum: sha1:5c4c55d36e3b137ab2ee9167573519da0b8a6678 src/Cvent/SDK/Models/Components/SurveyJson.cs: id: 0453b7f475e7 - last_write_checksum: sha1:9ebe082c2bc2e32bfe022808f69796797a1005a6 + last_write_checksum: sha1:445722a11e8c02b7a3ec56b6e607d751ddeaa62c pristine_git_object: ff8eb76b2bf2516dfb881a1f253389ee3317b95e src/Cvent/SDK/Models/Components/SurveyResponseJson.cs: id: 1078e8c3ca1e @@ -14110,8 +13598,8 @@ trackedFiles: id: ed4444f18383 last_write_checksum: sha1:c135283edc408ec2de0e1ff58f282efcd09c4b8d pristine_git_object: 75920e48380f0126db211c7fb7c22e8b401e2a73 - src/Cvent/SDK/Models/Components/TargetTypeJson.cs: - last_write_checksum: sha1:4a3ac5bcb3d9dd760094c172ce04397eafb11ffd + src/Cvent/SDK/Models/Components/TargetType.cs: + last_write_checksum: sha1:0e5ae2b9366bfcc071b8f3cdf66e221b8a76ec08 src/Cvent/SDK/Models/Components/Tax.cs: last_write_checksum: sha1:de564c9f067e4be5dffee6642f9dc2b38f250a9a src/Cvent/SDK/Models/Components/TaxAndFeeJson.cs: @@ -14124,36 +13612,28 @@ trackedFiles: id: 2dda03503520 last_write_checksum: sha1:affef4d2be79fd485ca4205f3d2bb4f649cd5a30 pristine_git_object: 03d7fdc1488ffa1bc8e32853b18e860342657c16 - src/Cvent/SDK/Models/Components/TaxTypeJson.cs: - id: 9ded630880fe - last_write_checksum: sha1:449fdd6f6da1ee1d8900de8b8703f8b56d7ed36c - pristine_git_object: cabb0a48fff15b88aa90ffd6ee48392c27785002 + src/Cvent/SDK/Models/Components/TaxType.cs: + last_write_checksum: sha1:1ba941fa4e1e258950707ad7189b25bd75c743d2 src/Cvent/SDK/Models/Components/TaxesPaginatedResponse.cs: last_write_checksum: sha1:c4c6a9e1e1d60b5d1d4940417dd152345ae27a3f - src/Cvent/SDK/Models/Components/TextAnswerFormatJson.cs: - last_write_checksum: sha1:650079ba33f741392bab29b554fa4130d1f16a73 + src/Cvent/SDK/Models/Components/TextAnswerFormat.cs: + last_write_checksum: sha1:7fc221168f40e63cc7804ea7615643405a1b12a9 + src/Cvent/SDK/Models/Components/TextField.cs: + last_write_checksum: sha1:23e3595124c2402b6bec41f890d595a102cb7787 src/Cvent/SDK/Models/Components/TextFieldJson.cs: - last_write_checksum: sha1:5537b9580ebf217c7979a2d79b0ee74a39eb0638 - src/Cvent/SDK/Models/Components/TextFieldJson1.cs: - id: 0191acdb3c7f - last_write_checksum: sha1:2e5fc5864e3eb71ab10998a128e7db0f19e9723f - pristine_git_object: e3303b93a0fff7108b999dc5d2fe45f5b1ccad33 + last_write_checksum: sha1:43591c17dc9174b6187cf8421eff0a9b548c5216 src/Cvent/SDK/Models/Components/Three.cs: id: d39398f7c8a6 - last_write_checksum: sha1:4304ff851e232f59a89f324cc826a2182a3985c0 + last_write_checksum: sha1:9247dff7d6577af80520e84825cbef5f865611e0 pristine_git_object: 52d7382e394c391ec9030c8077aa913a4aa97a43 src/Cvent/SDK/Models/Components/ThreeInput.cs: id: 3077e4cbd1f6 - last_write_checksum: sha1:2327b5c1a751236bae4fdf8377b17bae4a940af6 + last_write_checksum: sha1:260a5921e09da293364ed5b4dbb1d973e0fc87b1 pristine_git_object: 373424b679f1575e8232a12260cb4ec0bd8889de - src/Cvent/SDK/Models/Components/ThumbnailStatusJson.cs: - id: 5fcbfe05b763 - last_write_checksum: sha1:4f480aabc3caa31a1c736065f55b8a7ad9d0c9cc - pristine_git_object: 036d17742339430a5b3d5b7dc2f5e6e25b0b770c - src/Cvent/SDK/Models/Components/ThumbnailTypeJson.cs: - id: 5ba67972c87f - last_write_checksum: sha1:2c48f9a980474e8c64f04627cb51065d38751996 - pristine_git_object: e551e8b9e70ab7273e308507d3c987d8385b689a + src/Cvent/SDK/Models/Components/ThumbnailStatus.cs: + last_write_checksum: sha1:9a142ef064b4300cf2979fc5a8c9aa03aea990cb + src/Cvent/SDK/Models/Components/ThumbnailType.cs: + last_write_checksum: sha1:0886bebe106b65ac03c67e5e87a09bd1fa378e5b src/Cvent/SDK/Models/Components/TicketType.cs: id: b81283eafc7d last_write_checksum: sha1:465a46f16bf40d392248805f4184f270ff692cbb @@ -14179,7 +13659,7 @@ trackedFiles: last_write_checksum: sha1:c1c1c95d04b83d64041cebe41a2855a4ad6c4d38 pristine_git_object: 869f4680bb73fff936daadebd3df948f443929c9 src/Cvent/SDK/Models/Components/TransactionDetailResponse.cs: - last_write_checksum: sha1:d53749228834d985340213c8aabaab9f04a4a39c + last_write_checksum: sha1:dd96cd2f588f6158b7f8cdd900fb12d01d88adb9 src/Cvent/SDK/Models/Components/TransactionDetailsPaginatedResponse.cs: id: 4bc2388a7cf9 last_write_checksum: sha1:fdbf0f048d98dfbd76474406af6b7714ee1d661e @@ -14191,7 +13671,7 @@ trackedFiles: src/Cvent/SDK/Models/Components/TransactionItemCreateInput.cs: last_write_checksum: sha1:ad6502546c65ae79d7bef8045ee11c16f7356e80 src/Cvent/SDK/Models/Components/TransactionItemResponse.cs: - last_write_checksum: sha1:a9bc7196a6b562a524e21fa1727d706c2404a087 + last_write_checksum: sha1:b58440b645ef62b3c24d5f38b3fe2636baa31c93 src/Cvent/SDK/Models/Components/TransactionItemsPaginatedResponse.cs: id: f9b25552fa33 last_write_checksum: sha1:921d4a7042b9e5f11994236781d8feef34daba1e @@ -14226,116 +13706,62 @@ trackedFiles: pristine_git_object: a6a68cb697816aef4b7122814a56a022bbc435a3 src/Cvent/SDK/Models/Components/TravelAccount.cs: id: b2c6f50970e3 - last_write_checksum: sha1:54ff6a80f0e148625573511e74a390a3f6b61133 + last_write_checksum: sha1:9d5fbb59131778f5dafa7dea9f1951ac228ad0b5 pristine_git_object: 71792b1728787b875dd26b7458894cdaec3aba29 src/Cvent/SDK/Models/Components/TravelAccountPaginatedResponse.cs: id: c99fe60e69ae - last_write_checksum: sha1:194adee2ad691e49d412417620fb457548433ffb + last_write_checksum: sha1:47a0be2135ddcb4fff142b025772057340e0f377 pristine_git_object: 2caabb3f851c3ff1570ff71d89fb70383b2497c0 src/Cvent/SDK/Models/Components/TravelAccountSupplierAccount.cs: id: 7bee52652eb9 - last_write_checksum: sha1:b64b39e676171832714d29e29848199d020cc073 + last_write_checksum: sha1:7fb6f2fa3587585a1ad8399c0f1942bc397a705f pristine_git_object: 102b0919036c2deee13c3936a98282024e9b8b3d src/Cvent/SDK/Models/Components/TravelAccountSupplierAccountPaginatedResponse.cs: id: 02825c0f3039 - last_write_checksum: sha1:5f6d7b2f6d5154553baa56a459f411a5677d2a2e + last_write_checksum: sha1:9c677e05f6e1190f2a9fbfa75662278a62388a76 pristine_git_object: 333bae43056aeffdc973ce10bcda59fd98fbb851 src/Cvent/SDK/Models/Components/TravelAccountSupplierAccountTravelAccount.cs: id: 3fffdec918c1 last_write_checksum: sha1:c7b64cf2a91a2eaca03437303c3dd7dca25afada pristine_git_object: 2f20489f225df06fea85067af54bf9de986952c2 - src/Cvent/SDK/Models/Components/TravelAccountTypeJson.cs: - id: fc7d2b4d8efe - last_write_checksum: sha1:ea02a9b209a6e4be98028b9bef0d9a9c1693b03d - pristine_git_object: b213d601fc1f8ce93e1db55a957f919838115a1b - src/Cvent/SDK/Models/Components/TravelAmenityJson.cs: - id: d4d9acf738ad - last_write_checksum: sha1:07f1a8aeb5a7a72c7e456b181651db7c3008029e - pristine_git_object: f2a6c4444e9b140a46acf15a4df59b630ca17e18 - src/Cvent/SDK/Models/Components/TravelBidAmenityJson.cs: - id: 19b92ee06fa9 - last_write_checksum: sha1:ae368059226faf957ed442179ad4c5e289f88d1f - pristine_git_object: 9be45267f3dff82cc86345e0e19def069c487f5f - src/Cvent/SDK/Models/Components/TravelBidCommentJson.cs: - id: ff6c121e5df8 - last_write_checksum: sha1:259c1b537c1c25f040fe1669ccc4ebb126a9ef9b - pristine_git_object: 8a256e95c8024cd662d9c135e405d51229e9a694 - src/Cvent/SDK/Models/Components/TravelBidDiscountJson.cs: - id: 7978e4006d1b - last_write_checksum: sha1:9c1ec3d44d74e062ee1e5fe741c701a388dcb91d - pristine_git_object: 5d84e4f1fe3266877b265baf9135ddba142ca4c8 - src/Cvent/SDK/Models/Components/TravelBidDiscountJsonPropertyRoom.cs: - id: d1c9d87ba5a6 - last_write_checksum: sha1:ef21d08bf8e3a590829aa419ed1e49d988bdf62f - pristine_git_object: cd29b27e231b7404c0a303582b93c0cee99621b8 - src/Cvent/SDK/Models/Components/TravelBidDispositionAcceptedRoomJson.cs: - id: 73de0d769b13 - last_write_checksum: sha1:1e7284690484bf2b5816ab9c09362d753ed649dc - pristine_git_object: 6a2369dd22be122ce09e7d64a7d296c53fed6421 - src/Cvent/SDK/Models/Components/TravelBidDispositionAcceptedRoomJsonPropertyRoom.cs: - id: 2700d8c0d5a7 - last_write_checksum: sha1:a16ea8d3e663436ee5e35f32f88090d0b67cd10c - pristine_git_object: f4ab3cd58cb54872a41fac6b83f1e4e34c96ec3e - src/Cvent/SDK/Models/Components/TravelBidDispositionJson.cs: - id: 06e096727086 - last_write_checksum: sha1:2b88a6065286821c759ab6dea4f3d9aab703263e - pristine_git_object: adb75ee1f8913773a610a245b140e19bce227d44 - src/Cvent/SDK/Models/Components/TravelBidFairSeasonJson.cs: - id: 1dc8869fe5c0 - last_write_checksum: sha1:fd1f2c98971bc72344a6cf5e23264edbca3c9cdd - pristine_git_object: 0c543f0df445f0e66f5b7c0dd031225305f9d752 - src/Cvent/SDK/Models/Components/TravelBidFairSeasonRateJson.cs: - id: 723434fd1c2f - last_write_checksum: sha1:027134c0bf33c259011dc90b8348ce1bae9c3825 - pristine_git_object: 536c521eaa30a9fbf0525a434bbd32b61baf2c77 - src/Cvent/SDK/Models/Components/TravelBidFairSeasonRateJsonPropertyRoom.cs: - id: f201bf6264d8 - last_write_checksum: sha1:41c37b2ea74e680f8d29774f07e3376b1e9170d9 - pristine_git_object: bdb2d4fe3afa622907e290eb292d991fcbd06ffa - src/Cvent/SDK/Models/Components/TravelBidPolicyJson.cs: - id: f2c99ccebf8f - last_write_checksum: sha1:a8946eedc40c5be32cb26604a30f42fe939e09f1 - pristine_git_object: de6c0c1b56c6fcd97db7d1e7ae21d5917b9ef5eb - src/Cvent/SDK/Models/Components/TravelBidRateJson.cs: - id: e4d838ca2616 - last_write_checksum: sha1:b33e61c765359f9f10afb5a4b0a910db0c990d86 - pristine_git_object: 9ae122dfdd95ca9e61fe577dd26193b99b57882d - src/Cvent/SDK/Models/Components/TravelBidRoomJson.cs: - id: 05936811ae77 - last_write_checksum: sha1:b792ee25747489d56b7159a69150cb39759baf5c - pristine_git_object: 1b1ddfb5b5b63919399e971fc30793ec7592355a - src/Cvent/SDK/Models/Components/TravelBidRoomJsonPropertyRoom.cs: - id: 5f65c5be779f - last_write_checksum: sha1:d64393e3252982b33ba6e89bbc8edb704f98d31d - pristine_git_object: c293a43110b72f9295187d52bc9bcdb0d887bc78 - src/Cvent/SDK/Models/Components/TravelBidSeasonJson.cs: - id: 50f2ae72bf1c - last_write_checksum: sha1:9729e7fa9e5f2625c72a6131b5be82c8ec3ae9ba - pristine_git_object: c4cb557c37f62dde5976757ab032db1bdafa0b22 - src/Cvent/SDK/Models/Components/TravelBidSeasonRateJson.cs: - id: 7090d1517a4d - last_write_checksum: sha1:33aca35b3d7aceabe2019e0e50444dbf12f4fa55 - pristine_git_object: d2ae7649418475dee41101ec66154f67cfb07bc2 - src/Cvent/SDK/Models/Components/TravelBidSeasonRateJsonPropertyRoom.cs: - id: f63a0298b9cd - last_write_checksum: sha1:de7363237c32da341eb552d6f64517885eb829e3 - pristine_git_object: 1dd63a0df56b086fc8cd7edd131fc5c1e2bd0121 - src/Cvent/SDK/Models/Components/TravelBidTaxFeeJson.cs: - id: 9cf212100840 - last_write_checksum: sha1:9de620fc33b9b027f9aca4ccdd920829e48c7339 - pristine_git_object: e16a28519d7a6ae44325203d91a648d0f49a5b48 - src/Cvent/SDK/Models/Components/TravelBidWeekendDayJson.cs: - id: 83db30f7cced - last_write_checksum: sha1:c41659ee1a2f97f529266cd51f851eee5a5c94c8 - pristine_git_object: e45270a4d4fa06662c8bdc798ce883e3ff3518d4 - src/Cvent/SDK/Models/Components/TravelBreakOutRoomJson.cs: - id: 8d45704973bf - last_write_checksum: sha1:dbf4a961a79029de205ab2abdb0179b5660e6ad5 - pristine_git_object: d05b2b3331355a584450251c65a15afdd11b7f88 - src/Cvent/SDK/Models/Components/TravelDayDelegateRateJson.cs: - id: d34d387e6d34 - last_write_checksum: sha1:fe71532e0d13c7ec6408f6297cb006e6ed0f4aba - pristine_git_object: 417356374a31bb63189c8f6af5eb2f620db69aae + src/Cvent/SDK/Models/Components/TravelAccountType.cs: + last_write_checksum: sha1:ee0e928b1f6004b85f0a937f9c3109600afb400d + src/Cvent/SDK/Models/Components/TravelBidAmenity.cs: + last_write_checksum: sha1:2ad369591cbce27220ed3a45346ee34a9ef35e4f + src/Cvent/SDK/Models/Components/TravelBidComment.cs: + last_write_checksum: sha1:3f34b8832e8436f153a609bfbf19144e486cf9a8 + src/Cvent/SDK/Models/Components/TravelBidDiscount.cs: + last_write_checksum: sha1:1a97a00ce3a8bac8db37433d799109bd751ac14b + src/Cvent/SDK/Models/Components/TravelBidDiscountPropertyRoom.cs: + last_write_checksum: sha1:fc4dbc271c718e581cb5a6bee6e72a77fa89012a + src/Cvent/SDK/Models/Components/TravelBidDisposition.cs: + last_write_checksum: sha1:617dde27429aea9445276748b9e7f913cad0d684 + src/Cvent/SDK/Models/Components/TravelBidDispositionAcceptedRoom.cs: + last_write_checksum: sha1:b4855cdaadd574702d8854c26e35a0795a7d87e1 + src/Cvent/SDK/Models/Components/TravelBidDispositionAcceptedRoomPropertyRoom.cs: + last_write_checksum: sha1:95b4ca65a177c52ef87ebfb551bd90bf2fff780e + src/Cvent/SDK/Models/Components/TravelBidFairSeason.cs: + last_write_checksum: sha1:0a1031e17bde44650af0f01368d07cd65ff96835 + src/Cvent/SDK/Models/Components/TravelBidFairSeasonRate.cs: + last_write_checksum: sha1:aaa88ec683f8901b009c8dffa3687d0efbb3f262 + src/Cvent/SDK/Models/Components/TravelBidFairSeasonRatePropertyRoom.cs: + last_write_checksum: sha1:4b555dc98de5406b3fa3a50bd5f194426f43f695 + src/Cvent/SDK/Models/Components/TravelBidPolicy.cs: + last_write_checksum: sha1:e69653ba2442ee6cd53fe319d0c9569681949cf7 + src/Cvent/SDK/Models/Components/TravelBidRoom.cs: + last_write_checksum: sha1:d70647f3c6fe2453812f705d94e444eac440da4f + src/Cvent/SDK/Models/Components/TravelBidRoomPropertyRoom.cs: + last_write_checksum: sha1:d8d7dfb066605a2a7c26e1af6cf409274723bedf + src/Cvent/SDK/Models/Components/TravelBidSeason.cs: + last_write_checksum: sha1:817d83818b565b1393b25dec1455918917734429 + src/Cvent/SDK/Models/Components/TravelBidSeasonRate.cs: + last_write_checksum: sha1:decbe2833ef2ebfd5d972554d28324cf273d8ecb + src/Cvent/SDK/Models/Components/TravelBidSeasonRatePropertyRoom.cs: + last_write_checksum: sha1:57e24092e0bc16673112dbba936b568fc655317b + src/Cvent/SDK/Models/Components/TravelBidTaxAndFee.cs: + last_write_checksum: sha1:2d1e65ea7e7e129b6f055cf1d8e4b4b643550581 + src/Cvent/SDK/Models/Components/TravelBidWeekendDays.cs: + last_write_checksum: sha1:72f07b4bd9e5672e03969fe2a612eeebb6b37b08 src/Cvent/SDK/Models/Components/TravelDepartureArrivalJson.cs: id: 6646ca8e0fbc last_write_checksum: sha1:ca62edcca960323d3e25a14215ebbf828304e7d5 @@ -14348,73 +13774,73 @@ trackedFiles: id: 5cd918a70da6 last_write_checksum: sha1:d835b30150f499b17171b9cd38dac0cc1a46f2f7 pristine_git_object: e73940420b46576413137ed1d7edea56e7b93317 - src/Cvent/SDK/Models/Components/TravelGroupAndMeetingJson.cs: - id: a99e695db8e6 - last_write_checksum: sha1:41f3aee32da04b9416a36d10e4f41126b2688122 - pristine_git_object: 63d0a2909df3c488da695679392dd557ff549a99 - src/Cvent/SDK/Models/Components/TravelMeetingRoomBasicInfoJson.cs: - id: 211be7cad323 - last_write_checksum: sha1:69a9d1f41b5cca1635f844c0c468e0098a649190 - pristine_git_object: 2497082871b1a9f09b4aa0c218ee7d7dbfae1f96 src/Cvent/SDK/Models/Components/TravelProgram.cs: id: d3a3bd558d60 - last_write_checksum: sha1:8806d4ad7ef0b12b7a2f53b7c9d2eae43f0e4d9d + last_write_checksum: sha1:30ce44edcb0510a30c88f1a95fc857aec15cde52 pristine_git_object: a2647e77fe6dee192aaddaaf1250480d83ea1853 - src/Cvent/SDK/Models/Components/TravelProgramFormatTypeJson.cs: - id: b6cc7df17b19 - last_write_checksum: sha1:9e4ed7aa159048220a3c5ad5a7298eccc7eb49e9 - pristine_git_object: 0e5b12d6d3688fe3910666c6ba854cc9d698959f + src/Cvent/SDK/Models/Components/TravelProgramFormatType.cs: + last_write_checksum: sha1:306c11fd6eeb7abefeab675c6818390e032bfb55 src/Cvent/SDK/Models/Components/TravelProgramPaginatedResponse.cs: id: 2d84dd2ec942 - last_write_checksum: sha1:625fbe17b256e15285ab4a392e242524c93cb2f9 + last_write_checksum: sha1:47d8ed6594f4e869b1ea308711b11a2b25b0bc92 pristine_git_object: ccd52a146aaa7ae8e8005b80c4a283cadc44e32f - src/Cvent/SDK/Models/Components/TravelProgramQuestionJson.cs: - id: 00303e44cf0f - last_write_checksum: sha1:40981b00bf90cf03fa82c63681e1149660c33f5f - pristine_git_object: a80d534139ecd08d03c53dbcd7dd7edf84903306 - src/Cvent/SDK/Models/Components/TravelProgramStatusJson.cs: - id: 586f202d8a9b - last_write_checksum: sha1:87193f03be09d5429ea886824d8b94b790da34a8 - pristine_git_object: 2f486af0290c3480f8548b029259e5349b270414 - src/Cvent/SDK/Models/Components/TravelProgramStayTypeJson.cs: - id: d4739e56dd66 - last_write_checksum: sha1:a7ed82211fdd146da2907fa39a5348c513329a9d - pristine_git_object: 4eb0c5abfca856d3ba2683fab5f4f17cf76cf9ef + 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 + src/Cvent/SDK/Models/Components/TravelProgramStatus.cs: + last_write_checksum: sha1:77a0143a7d272a31a6c1618221c000f5d27e5f80 + src/Cvent/SDK/Models/Components/TravelProgramStayType.cs: + last_write_checksum: sha1:d6f945f8975b9975f198434a2c774c917912b142 src/Cvent/SDK/Models/Components/TravelProgramTravelAccount.cs: id: 82b8357a90fb last_write_checksum: sha1:bd5e5db37e9cab10d2f8a33b27d0b92bdb94cb9f pristine_git_object: 42dfa6a7b1a6b5145f4c8b1d81f395d590c650a9 - src/Cvent/SDK/Models/Components/TravelProgramTypeJson.cs: - id: db256bc0bc06 - last_write_checksum: sha1:4ff8e5dc5b4a6415a9e869be7e432f76721da9e8 - pristine_git_object: ef31c98359dfcdbbcfb4769cf1b0ede311360000 + src/Cvent/SDK/Models/Components/TravelProgramType.cs: + last_write_checksum: sha1:254893fec22b464d2d2a27db12c4d3edac6d4732 src/Cvent/SDK/Models/Components/TravelProposal.cs: id: 2af8d62b167c - last_write_checksum: sha1:faf04681f628583d798bfbcc88a1e4dc8d1db640 + last_write_checksum: sha1:312034e27d6951124542719f1a376aa245737b87 pristine_git_object: c1bc52e59acfd6ca45bee48e9136daf00fefd08e - src/Cvent/SDK/Models/Components/TravelProposalBid.cs: - id: 9ac967517368 - last_write_checksum: sha1:ac41b5ba32a6dd7b18d1c718f4ea1b8da585ad16 - pristine_git_object: 7c8ea205606751aee55a4cb166769fbe19261024 - src/Cvent/SDK/Models/Components/TravelProposalBidIdJson.cs: - id: 32a39c8ec4e8 - last_write_checksum: sha1:f124c98efa7b2dea55a1ac726863867d6994d8b9 - pristine_git_object: f83892283d34f3b17f2d2c7774aa410ae0ca6188 + src/Cvent/SDK/Models/Components/TravelProposalBid1.cs: + last_write_checksum: sha1:446c35c090395991e3a90ba30e5d6c74d01ee624 + src/Cvent/SDK/Models/Components/TravelProposalBid2.cs: + last_write_checksum: sha1:72d474606ad02bd6a5bcf77c4e7fcf9c76f2623f src/Cvent/SDK/Models/Components/TravelProposalBidPaginatedResponse.cs: id: f97b6018eed1 - last_write_checksum: sha1:b30408dbcb19cdb1caa6ec2ccc2df6058f02c3c4 + last_write_checksum: sha1:2a2c0b493affb6633ef638a7589b84a8094d3bf9 pristine_git_object: a9e53a13c8ffb20f24a398780c452fdb02f3c30a + src/Cvent/SDK/Models/Components/TravelProposalBidRate.cs: + last_write_checksum: sha1:cb3b623ab0cd62873e5d92ca89d9183fe074608e src/Cvent/SDK/Models/Components/TravelProposalBidTravelProposal.cs: id: 807a6ca806ad last_write_checksum: sha1:993d54334b1088571563c6e0b36a9b17d561fd3a pristine_git_object: d478f76fe014127faf65293f23d97333c85ff7e3 - src/Cvent/SDK/Models/Components/TravelProposalDispositionJson.cs: - id: cf95280b6609 - last_write_checksum: sha1:6f70c076c46d5287fca18e6edede533e1c12bb2e - pristine_git_object: 25279ffd8c74b09bf8edf8b01b317fc7ce428c3d + src/Cvent/SDK/Models/Components/TravelProposalCustomQuestion.cs: + last_write_checksum: sha1:39e9fbcd601b5c47f600f87ce3d9aff1cb3aec38 + src/Cvent/SDK/Models/Components/TravelProposalCustomQuestionQuestion.cs: + last_write_checksum: sha1:e868adbe7465d1821a24be6852cc79f60cb6b78c + src/Cvent/SDK/Models/Components/TravelProposalDisposition.cs: + last_write_checksum: sha1:904599bd9c1dd7f285e805c34a126a944a2e37ce + src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeeting.cs: + last_write_checksum: sha1:0720c9a1a1761e735c6d5f3dfd3fadb504944a6b + src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeetingAmenity.cs: + last_write_checksum: sha1:3e17124e0e7c4cf261020a95416eb6d56a15622d + src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeetingBreakOutRoom.cs: + last_write_checksum: sha1:82e9dce01754f4e8309792c6951ffa63209cf852 + src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeetingDayDelegateRate.cs: + last_write_checksum: sha1:b58ec7917562b08d71009d9283afaf72fa6e9eae + src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeetingMeetingRoomBasicInformation.cs: + last_write_checksum: sha1:d8f58da27a982e8139d46e29eb3c00fc5d4057c2 + src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeetingRunOfHouseRate.cs: + last_write_checksum: sha1:6b202f134cfc212241b81aa6e74c62b621c64984 + src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeetingTaxAndServiceCharge.cs: + last_write_checksum: sha1:4f1cbdc6a10b07e27db80b8ce79ffc4c4d440ea5 src/Cvent/SDK/Models/Components/TravelProposalPaginatedResponse.cs: id: 69875a2aea46 - last_write_checksum: sha1:d29184390b705e0e5f87423a854527031f1a0379 + last_write_checksum: sha1:2026f8be0c28bf659b8ef8b4ecc91dec8626f119 pristine_git_object: 95946787460a68ed7d948bf7d02a9d4c781ba3d1 src/Cvent/SDK/Models/Components/TravelProposalTravelProgram.cs: id: f33b869208f6 @@ -14422,14 +13848,6 @@ trackedFiles: pristine_git_object: a69af6141f94a24d17a9e41f954bfdb92a779875 src/Cvent/SDK/Models/Components/TravelRequestStatus.cs: last_write_checksum: sha1:b6539169df62ea891a26e20a03b904dd5d9dc550 - src/Cvent/SDK/Models/Components/TravelRunOfHouseRateJson.cs: - id: 2f0afdccf877 - last_write_checksum: sha1:a2d93a14eeec16ca8ced2ae70270db51ee4d3d90 - pristine_git_object: 4fb58c8b9fa5a72dc97d3ab7620b78a02a9ca923 - src/Cvent/SDK/Models/Components/TravelTaxAndServiceChargeJson.cs: - id: e49ecf28378b - last_write_checksum: sha1:cee932b6ddf02e2eb17e7d3fe1aba063031b022c - pristine_git_object: 782a39c7cf81e048bb79d9b0e761011db08bcab9 src/Cvent/SDK/Models/Components/TravelType.cs: last_write_checksum: sha1:3f7b5efd8ffab16bd3789cb600f756b9f525477f src/Cvent/SDK/Models/Components/Two.cs: @@ -14444,16 +13862,14 @@ trackedFiles: pristine_git_object: ef29d7c0262d950bf37d85439fb4ef21585f3e2c src/Cvent/SDK/Models/Components/UTMOverride.cs: last_write_checksum: sha1:5b7268040faee2a91cc63fb9fbf55ac531cba404 - src/Cvent/SDK/Models/Components/UnitPositionJson.cs: - last_write_checksum: sha1:ae9c7ffe67e5ad02602cb67b41b30bda671093d9 + src/Cvent/SDK/Models/Components/UnitPosition.cs: + last_write_checksum: sha1:38e8ddf3aecc08bd17a7b242e98e1a471e5b6b3f src/Cvent/SDK/Models/Components/UpdateAppointmentRequest.cs: id: f5b2993ad94a last_write_checksum: sha1:d5d152b9ed93aa6bbdd9b375f5e94925a0f6159f pristine_git_object: 4c50b147f363386e74e3fb03773c408e79c4de2f - src/Cvent/SDK/Models/Components/UpdatedThroughNamePropertyJson.cs: - id: 93ba4723dc3d - last_write_checksum: sha1:447e63132e550c57713663420935f97ceaa112a5 - pristine_git_object: da0986005f3ce44b992c6bc79b315f8ff4acbd9d + src/Cvent/SDK/Models/Components/UpdatedThroughNameProperty.cs: + last_write_checksum: sha1:48aa5322ed9e227ff5871379784a8a08d4572e36 src/Cvent/SDK/Models/Components/Usage.cs: last_write_checksum: sha1:42903d416b754be7959b40b6eda2be923409f8a8 src/Cvent/SDK/Models/Components/UsagePaginatedResponse.cs: @@ -14462,7 +13878,7 @@ trackedFiles: pristine_git_object: 9efbbb2495c6994f6f143ee00cfa0f113ab7afb0 src/Cvent/SDK/Models/Components/User.cs: id: fb149dbb9d85 - last_write_checksum: sha1:3eb5d2ea27ed411af7b591c6d92cabc0320e450e + last_write_checksum: sha1:103362c29079dbc4fcd56e00babe2d62f4320b71 pristine_git_object: 015cf851009a377b2cc8b3f5321a467c99bfbeb2 src/Cvent/SDK/Models/Components/UserEnterpriseExtensionJson.cs: id: 03a9db3848c9 @@ -14494,11 +13910,11 @@ trackedFiles: pristine_git_object: d4efd25ae26ef7ddfa14f092a4cfff2c8f43f039 src/Cvent/SDK/Models/Components/UserInput.cs: id: b962f663b012 - last_write_checksum: sha1:1ffd12def00387cce1214fa88e07017a86602e08 + last_write_checksum: sha1:cc48ea46acf5969a1f93d23e6ff8396207315d87 pristine_git_object: e0de743651359bba8f205117b1367bf31263e2b7 src/Cvent/SDK/Models/Components/UserJson.cs: id: 92529acee91b - last_write_checksum: sha1:07b24ef8372f5098d9b861bcf09cce954c96b211 + last_write_checksum: sha1:f5c92f9847461a2f30fea3bcc8b1d836f7438357 pristine_git_object: 19ecb5a5d6ec2082ecfbfd5a894acf62ceb7e390 src/Cvent/SDK/Models/Components/UserTypeJson.cs: id: 75f942ab3514 @@ -14552,7 +13968,7 @@ trackedFiles: pristine_git_object: 88c1fa4566d8f09b1c7324748c3485f5da32b1e1 src/Cvent/SDK/Models/Components/VenueSummary.cs: id: 94b09b531c04 - last_write_checksum: sha1:1633647f4966806235137fabe277c180fcea4b60 + last_write_checksum: sha1:f1cf6c9f03bd906f8df40e975e79ebd3e1ed440c pristine_git_object: d684fd5745bfe5cf4e4f578b8aa6d8ead72e9bd9 src/Cvent/SDK/Models/Components/Version.cs: id: 8eedf29527d6 @@ -14562,102 +13978,72 @@ trackedFiles: id: 11bd96df84f8 last_write_checksum: sha1:68eef5a03f2c7a4e54424c3ef78e7be8241366f3 pristine_git_object: 499c2920c0ad9125db4f525ac0051be27b9d0976 - src/Cvent/SDK/Models/Components/VideoAssetIdJson.cs: - id: c27d87b9bb3a - last_write_checksum: sha1:bbd5184c29731cea2f86a5c55b1011b0a3ca549b - pristine_git_object: 186fade510158e7841d648b7e2fd62a8cff736ff - src/Cvent/SDK/Models/Components/VideoClipJson.cs: - id: 2b9e2ddc25a1 - last_write_checksum: sha1:0dddc84285f7f28dfe78facae52f2412958de02e - pristine_git_object: 1abc8eec5e3e8a214a91d9aadbfa6ed6e69d0ed8 - src/Cvent/SDK/Models/Components/VideoErrorCodeJson.cs: - id: d7b24a5c53e8 - last_write_checksum: sha1:08bcc88035f819e4beac9884553b98743b50e9bc - pristine_git_object: f9b2861db5e69ae99fc02a1c76f4ad7670b8452f - src/Cvent/SDK/Models/Components/VideoErrorJson.cs: - id: ac72bfc61da9 - last_write_checksum: sha1:8075dc1f19d6fcdd5b5f6e7ccb8b8c7b2a0566f5 - pristine_git_object: 3c849940b450487dde872d42725b08427513e64c - src/Cvent/SDK/Models/Components/VideoJson.cs: - last_write_checksum: sha1:bf5f152cb41db60b27d468a0610d59751755089a - src/Cvent/SDK/Models/Components/VideoRenditionJson.cs: - id: 32cbd84e07a1 - last_write_checksum: sha1:5eb00cfa3c053ad1b1461aa0eed47d4a6ef555e8 - pristine_git_object: a68f95a095fb2eccc6acdf062a0803296bfe6212 - src/Cvent/SDK/Models/Components/VideoRenditionJsonLink.cs: - id: 28849d692d4c - last_write_checksum: sha1:bf85e66bd848e9917a86b684737dfe55f432f1c1 - pristine_git_object: c5a91c3a0857c3d366784650c9c781d81e9ec0f1 - src/Cvent/SDK/Models/Components/VideoRenditionTypeJson.cs: - id: c631be0af85a - last_write_checksum: sha1:c2de1889c90bbeee787355f32d37bd60aeab45e9 - pristine_git_object: eeec1843731222b97cb5de1a97e334a3bfb9be6e + src/Cvent/SDK/Models/Components/Video1.cs: + last_write_checksum: sha1:dc28f2f77e8e9da74f27a231e5512878648a377b + src/Cvent/SDK/Models/Components/VideoAssetID.cs: + last_write_checksum: sha1:e8a6d14eae137fc8ca88e3355e8bdab62a0f0ac9 + src/Cvent/SDK/Models/Components/VideoClip.cs: + last_write_checksum: sha1:23b64177a3fc8dbfe9b2e8e67bab4b33b2fef5af + src/Cvent/SDK/Models/Components/VideoError.cs: + last_write_checksum: sha1:5e952d65070f86e64938e5d0bba8e5c9d2d4599e + src/Cvent/SDK/Models/Components/VideoErrorCode.cs: + last_write_checksum: sha1:e1f2b549c0d355affc7a4ef7f1df44f525fe488e + src/Cvent/SDK/Models/Components/VideoRendition.cs: + last_write_checksum: sha1:391ecf4182696a3c24d6f6e37b0c4f8a1fe59218 + src/Cvent/SDK/Models/Components/VideoRenditionLink.cs: + last_write_checksum: sha1:9bb388dbf3dead0fdcf7cb2c183945d27381a09d + src/Cvent/SDK/Models/Components/VideoRenditionType.cs: + last_write_checksum: sha1:e5df91692ae34b6b8bcd20c0c3156dfe71dbc00a src/Cvent/SDK/Models/Components/VideoRenditionsResponse.cs: id: d2554d83f111 - last_write_checksum: sha1:f6aedcbf8c44839457cf145527ad141c94432f88 + last_write_checksum: sha1:21f342ab4b7074b32146fb7533d88f3151d83ad9 pristine_git_object: b28b04df566879e8c80744c3b17862c83553c67b - src/Cvent/SDK/Models/Components/VideoSourceJson.cs: - id: 409f57c5d9ce - last_write_checksum: sha1:24f68f54d2fbf2b0da4879092361035ff3c7ede9 - pristine_git_object: 211c884375693042ae2480dc13a358001442743a - src/Cvent/SDK/Models/Components/VideoSourceJsonStatus.cs: - id: 7faf073d0452 - last_write_checksum: sha1:3d25160a8f769ce22f8ea11166c3487d61cdb554 - pristine_git_object: 6ea0a1c67748e5cf8d14f8b55ecf29cd4c68245f - src/Cvent/SDK/Models/Components/VideoStatusJson.cs: - id: add618573002 - last_write_checksum: sha1:d3fbd112122b15b08634e0ae4a3ba17de9a12b8c - pristine_git_object: dc2918c1f757ef0d60f53b0c22077f3e99c3c1cc + src/Cvent/SDK/Models/Components/VideoSource.cs: + last_write_checksum: sha1:b1df6e92d139bfdb8f72477323beaf2112099919 + src/Cvent/SDK/Models/Components/VideoSourceStatus.cs: + last_write_checksum: sha1:0827389507e7572760b8f75a83a77ed96a77e7ba + src/Cvent/SDK/Models/Components/VideoStatus.cs: + last_write_checksum: sha1:d3598aa1a086c8da1b495f5d5bb9301f9072c2db src/Cvent/SDK/Models/Components/VideoTextTrack.cs: id: a992363c1d56 - last_write_checksum: sha1:a96d09f7fb61fd22350114361d3039672aa13b71 + last_write_checksum: sha1:63a7283523af1c18ad27fdc48efbad227314df60 pristine_git_object: e79d57c6e0ca5aec969d1e396d17b1793bcb109d - src/Cvent/SDK/Models/Components/VideoTextTrackKindJson.cs: - id: 0a6a4be63669 - last_write_checksum: sha1:69c8d4fc39a99963c5a92600a72891cb6798779a - pristine_git_object: 2328c9e74301e2be79eb42ebef9e1273d26a0503 - src/Cvent/SDK/Models/Components/VideoTextTrackStatusJson.cs: - id: bffce8250726 - last_write_checksum: sha1:b55f671ba2c6725b614621ba29ee314623771ad1 - pristine_git_object: effa58cb5e87842f3c22aaa6bb2a8d3eaa5d7ee8 + src/Cvent/SDK/Models/Components/VideoTextTrackKind.cs: + last_write_checksum: sha1:ef0d1cfc488b094491072eb15446a793d9a2ec63 + src/Cvent/SDK/Models/Components/VideoTextTrackStatus.cs: + last_write_checksum: sha1:20540de38a44949685eb75c10a5d17ef46d2226f src/Cvent/SDK/Models/Components/VideoTextTracksResponse.cs: id: 9d89de57cf3f last_write_checksum: sha1:6b13313f4e9a1ef007d138dd0e292207588cb006 pristine_git_object: 71271e7007eaf1b46679d3766e684087677ebf64 - src/Cvent/SDK/Models/Components/VideoThumbnailJson.cs: - id: 9544ccb9ce39 - last_write_checksum: sha1:c5504d0922844e38f210b2856443d075c214486b - pristine_git_object: be62311ec9eb02c4ee93ecda3b7be308bb0652ea - src/Cvent/SDK/Models/Components/VideoTypeJson.cs: - id: 291ade30e36d - last_write_checksum: sha1:5e156d461c4f1878deb093bd317ed437d30cc223 - pristine_git_object: 653c3bd306b10fa5d9f21d4dad57e4824c185ff3 - src/Cvent/SDK/Models/Components/VideoViewJson.cs: - id: 1d82e67e6475 - last_write_checksum: sha1:f6c4f97d2c2abf7ba76f817bf5feddebc1bb1619 - pristine_git_object: e3c89bf5cfa5fe82a4a21f9c36f7fbbde2dd16d1 + src/Cvent/SDK/Models/Components/VideoThumbnail.cs: + last_write_checksum: sha1:a0c6f721e84bc66ef24c0c86c94e20627a8e995e + src/Cvent/SDK/Models/Components/VideoType.cs: + last_write_checksum: sha1:9b743c311e23be69358b30f760c5604303e9ecf5 + src/Cvent/SDK/Models/Components/VideoView.cs: + last_write_checksum: sha1:5770a991d0569288320c8e5f69c92d82d2f4f84f src/Cvent/SDK/Models/Components/VideoViewsPaginatedResponse.cs: id: 2f8bdec3910d - last_write_checksum: sha1:790c3ab778556e662c2772e77f587cc6ee696abc + last_write_checksum: sha1:abf8d4be43ae64b90e750dc91f861af2cfd91e37 pristine_git_object: 38c52f8459626f73f19bee6128ee60bea27344cc - src/Cvent/SDK/Models/Components/VideoWarningCodeJson.cs: - id: 9bda21ce22b9 - last_write_checksum: sha1:484aa2b1007f5a861a098a973ff791a1d0a7a57a - pristine_git_object: a0430cab2f695ef1ceddf9c86dc9cf808bdefc74 - src/Cvent/SDK/Models/Components/VideoWarningJson.cs: - id: a3d102e7aa19 - last_write_checksum: sha1:d8b3dcd52e1d89fbcad37881299e28ba9b6a2f67 - pristine_git_object: ec027feb269e5624e3a84ba9f5ca0097390d0186 + src/Cvent/SDK/Models/Components/VideoWarning.cs: + last_write_checksum: sha1:3e3acd165892c1e308e7805a863a0aba61285dd6 + src/Cvent/SDK/Models/Components/VideoWarningCode.cs: + last_write_checksum: sha1:4f786e0a9105bccc84d82a3ae2e50677a3a1b084 src/Cvent/SDK/Models/Components/VideosPaginatedResponse.cs: id: d957b9ca1073 - last_write_checksum: sha1:fa641e94ed0704401c906d713a31b2656321c415 + last_write_checksum: sha1:f18ec346ec394495d7957c12180380c5338eeeb9 pristine_git_object: f1fcc79c749c79e319048056ea852f0e81821f5e - src/Cvent/SDK/Models/Components/ViewTypeJson1.cs: - id: 2c0ef2a2cddc - last_write_checksum: sha1:21067fef24bf205a5b17e1036cf5c352a2539419 - pristine_git_object: d14e13dbd4a95f4391963604c94b2dcc21a5f9a2 + src/Cvent/SDK/Models/Components/ViewType1.cs: + last_write_checksum: sha1:1c42ff3b21cc0644ef7fc40e4cabea7d601abb72 src/Cvent/SDK/Models/Components/VolumeDiscountThresholdType.cs: last_write_checksum: sha1:e2174174d0e05463ccd853313bd0ca2c92201fad + src/Cvent/SDK/Models/Components/Voucher.cs: + last_write_checksum: sha1:96df915b2cbadeedd7a2e8380884de0856e8c293 + src/Cvent/SDK/Models/Components/VoucherCapacity.cs: + last_write_checksum: sha1:af9e3d9627e2cf3925157ec0d4abc1c8c2139b97 + src/Cvent/SDK/Models/Components/VouchersPaginatedResponse.cs: + last_write_checksum: sha1:61fb386d793bc7873ad78c6f99bf2329ddd4ed0f src/Cvent/SDK/Models/Components/Webcast.cs: id: c66160273a1f last_write_checksum: sha1:75a1f71946d5b2600789ad4264b94bc14b5fd07f @@ -14692,16 +14078,16 @@ trackedFiles: pristine_git_object: 8a41d54ed3ad570cf35ee636e389e25c170fe9a8 src/Cvent/SDK/Models/Components/Weblink.cs: id: 34baf2e9e66c - last_write_checksum: sha1:a9131fb98524b9cf28497c56365d7d44cf3645b2 + last_write_checksum: sha1:9c4faf52f80feef189ff0322f533f6dfd5c0b160 pristine_git_object: 03370cefb0cabb2564bf11502bcff35c6eadaa10 src/Cvent/SDK/Models/Components/WeblinkListResponse.cs: id: c7e7e456a857 last_write_checksum: sha1:703cd9874444b88265742f5072734ce63cc8828b pristine_git_object: 5e08a266e350e43abd1a1c7d2ac48f16f492064c - src/Cvent/SDK/Models/Components/WeddingDetailsJson0.cs: - last_write_checksum: sha1:b49aedf56059bdb2189082f4662108398cb824d9 - src/Cvent/SDK/Models/Components/WeddingPartnerJson.cs: - last_write_checksum: sha1:c06bc0a47c90a20611b129d761aa58ec0a86f30f + src/Cvent/SDK/Models/Components/WeddingDetails1.cs: + last_write_checksum: sha1:6fe4c62feded937b0abd5dc1e636214752d5b651 + src/Cvent/SDK/Models/Components/WeddingPartner.cs: + last_write_checksum: sha1:bb4c9ef113792e5581418ff34c9167c57e1c649c src/Cvent/SDK/Models/Components/WorkAddress.cs: last_write_checksum: sha1:263ac75a13cb35654a227b8ac64a12191203144f src/Cvent/SDK/Models/Components/WorkAddressAddressInput.cs: @@ -14734,14 +14120,12 @@ trackedFiles: pristine_git_object: aa6ed4ddbc271037dc30caf4a3b173f080e019d3 src/Cvent/SDK/Models/Components/ZeroAllOf7.cs: id: 58d60f4f8670 - last_write_checksum: sha1:5749a8dda1a33c75f6b89ec05bbf23732f78643f + last_write_checksum: sha1:fc9613409f3f44cc9159cbfa136303124cea36c4 pristine_git_object: 003435e1ed88d013ccd45e3a71613cbbe638c2f9 src/Cvent/SDK/Models/Components/ZeroAllOf8.cs: id: 04801f5be6bf - last_write_checksum: sha1:dbf6780dd0c6606ddaedc732d0cb85b20675d929 + last_write_checksum: sha1:c489606f351e0d5f25e1b1d155bd2250c158f28f pristine_git_object: 1715c2fad45c1ead2335e42d068b8cbb4564511d - src/Cvent/SDK/Models/Components/ZeroAllOf9.cs: - last_write_checksum: sha1:2eb3b359440723a8065d925563a47d1df98f2ae8 src/Cvent/SDK/Models/Components/ZeroAnyOf.cs: id: 010dc785fd32 last_write_checksum: sha1:a9fb674c004e1221ccee278c6388c2047d527794 @@ -14775,11 +14159,11 @@ trackedFiles: last_write_checksum: sha1:786914b6edac01cd6879a23ae42dd0da359cce37 pristine_git_object: 6b9b0655f2fcb10a27aaa856c75a2d7070dfc272 src/Cvent/SDK/Models/Errors/ErrorResponse1.cs: - last_write_checksum: sha1:f35a4254d3261378813f8109385aca75d48320d5 + last_write_checksum: sha1:6ac194e97e21b6be7e6ee2e395a12254f2e4005b src/Cvent/SDK/Models/Errors/ErrorResponse2.cs: - last_write_checksum: sha1:44a0c5b33395eb11af37eb6bd238eba7d33a1e50 - src/Cvent/SDK/Models/Errors/ErrorResponseJson17.cs: - last_write_checksum: sha1:35b613b3d5fc6cbf0e48ac70c9837b8bda92c23d + last_write_checksum: sha1:853edd2b8b0e5ffdb3df61cdd97fb814062d64bf + src/Cvent/SDK/Models/Errors/ErrorResponseJson12.cs: + last_write_checksum: sha1:e9b448ef8bde3174c917574da16a393cfd3f2f68 src/Cvent/SDK/Models/Errors/ResponseValidationException.cs: id: 9a7d7eb282bc last_write_checksum: sha1:92bb031902ace1de9c920e4d478146fb938764d4 @@ -15054,11 +14438,11 @@ trackedFiles: pristine_git_object: 4c22ded96e7c79af6a1d7d2655ec3028e6bdd351 src/Cvent/SDK/Models/Requests/CreateContactsRequest.cs: id: 247f60bcd1aa - last_write_checksum: sha1:0467eb0c6391bdf4c128c10670c047de4da15844 + last_write_checksum: sha1:d8f58ad66eba83803e12399f096cef6f8bd56c51 pristine_git_object: a0dba5c0293ad43062c9525582985ddef5ecfcb7 src/Cvent/SDK/Models/Requests/CreateContactsResponse.cs: id: 3b8db2a6c936 - last_write_checksum: sha1:b72a631ca10e4e1e08b77a35e13f7c150f7eb5be + last_write_checksum: sha1:0f5bcfbe6d0d3705319f3ee34a1280db65f7a5d5 pristine_git_object: 8e9352e3d90da3bedfb5ee8a399dc1b5c54a87f5 src/Cvent/SDK/Models/Requests/CreateCurrencyConversionRateRequest.cs: id: aefc0fdbf367 @@ -15650,7 +15034,7 @@ trackedFiles: pristine_git_object: 0cc20a581dfffd56c2f4094d637dc59b6e1d0628 src/Cvent/SDK/Models/Requests/GetAttendeeByIdResponse.cs: id: 56eba94508a4 - last_write_checksum: sha1:9016fc45e904296ff428762cb19878bbd15b0815 + last_write_checksum: sha1:d772dea348f926ed0809173bec8498426c58a2af pristine_git_object: 255df3a2939b5d58ca7dbe4b6aeb19315b09f89f src/Cvent/SDK/Models/Requests/GetAttendeeCreditsRequest.cs: id: 364b7e407425 @@ -15670,7 +15054,7 @@ trackedFiles: pristine_git_object: a5bb5b794fdfde9cd3b2aede5237de1cc4194dee src/Cvent/SDK/Models/Requests/GetAttendeeMessagesMembersRequest.cs: id: 3b921c4448bc - last_write_checksum: sha1:e57eb51d06b923a2c67d071f67c052947a22fb62 + last_write_checksum: sha1:a1383f5dd1ec3611f9625d35983da775453e5659 pristine_git_object: 1e27e7f992d1606adfd7a609b02f46be274128d2 src/Cvent/SDK/Models/Requests/GetAttendeeMessagesMembersResponse.cs: id: 7f6fcf6b1b2b @@ -16674,7 +16058,7 @@ trackedFiles: pristine_git_object: 533f3a446058b0020dd3d69a82413b0620d27167 src/Cvent/SDK/Models/Requests/GetTravelProposalBidResponse.cs: id: 342cba50626c - last_write_checksum: sha1:196cb0456092eb77c5ea29286a53f133130bed7e + last_write_checksum: sha1:042d39ef3a9437b69843b1a39a9c25102be44ce5 pristine_git_object: 24d27b4352926dc14a867d0958b7c1aacb878c12 src/Cvent/SDK/Models/Requests/GetTravelProposalRequest.cs: id: 50513f59dd49 @@ -16714,7 +16098,7 @@ trackedFiles: pristine_git_object: 939beae2f24c66480a6f7821d9a0f726f5e2c32c src/Cvent/SDK/Models/Requests/GetVideoViewsRequest.cs: id: b2f0d27eae9c - last_write_checksum: sha1:9b7f97e1856efdfd8f03851bebe3cedaa1e99e59 + last_write_checksum: sha1:5bb923e49ca1c98e4f694985d85ae1eed8d20dc0 pristine_git_object: 3163dff669045a2cfd05353a253b8a9abf5e7113 src/Cvent/SDK/Models/Requests/GetVideoViewsResponse.cs: id: c2b1d5d1ef49 @@ -16982,7 +16366,7 @@ trackedFiles: pristine_git_object: 0f816e185c54053ec6ad54b21e40616679b823c7 src/Cvent/SDK/Models/Requests/ListDurationsRequest.cs: id: 9e3b764ad998 - last_write_checksum: sha1:93f62db9040c19a37f0f8edd18c25f6f2477844c + last_write_checksum: sha1:8eaf40209f0c84cab5c2efb08e079dd89691d232 pristine_git_object: ed9eaef68cfeaf2d0cfb702a76d499c0a25ce781 src/Cvent/SDK/Models/Requests/ListDurationsResponse.cs: id: 79b0c851bf03 @@ -17020,6 +16404,18 @@ trackedFiles: id: f864cde93cef last_write_checksum: sha1:e5f3ffe1381c03fc648372047fab3988de27c2ec pristine_git_object: 81774a55465e16c9de97cd65039bf4e0c5184c54 + src/Cvent/SDK/Models/Requests/ListEventVoucherAttendeesRequest.cs: + last_write_checksum: sha1:e994fcf6e0706a89614454d80d4b41bdc4a69b1e + src/Cvent/SDK/Models/Requests/ListEventVoucherAttendeesResponse.cs: + last_write_checksum: sha1:598df5a8c0de04f9bb4a49126965fffe0bec61a6 + src/Cvent/SDK/Models/Requests/ListEventVouchersPostFilterRequest.cs: + last_write_checksum: sha1:562afa623af3142b3a236ba97c373bddbdef52c3 + src/Cvent/SDK/Models/Requests/ListEventVouchersPostFilterResponse.cs: + last_write_checksum: sha1:14e4df46d2912dfecbc29bbbdfffa794f5da91c9 + src/Cvent/SDK/Models/Requests/ListEventVouchersRequest.cs: + last_write_checksum: sha1:aa8b0d5989a550db6aee7a519be0ee6fb9365534 + src/Cvent/SDK/Models/Requests/ListEventVouchersResponse.cs: + last_write_checksum: sha1:54b79c6e20d577d920d301b0cb764ad1bc94f666 src/Cvent/SDK/Models/Requests/ListEventWeblinksRequest.cs: id: 9578d46b24cb last_write_checksum: sha1:ceda069d697d8c8617cfeaa3df9bb39d94752d1e @@ -17466,7 +16862,7 @@ trackedFiles: pristine_git_object: 8b395eece91eb2d2514e626a0b3e2034443290c1 src/Cvent/SDK/Models/Requests/ListVideosRequest.cs: id: 7b956f5fafea - last_write_checksum: sha1:12f112f325052ababa3a184ddd0f3187ad6809f3 + last_write_checksum: sha1:f5af6a791fc4430339b1372dbb14e6576a332632 pristine_git_object: 978f29c67f667e301a71cae08a42690fcfcae98d src/Cvent/SDK/Models/Requests/ListVideosResponse.cs: id: f51247d56e10 @@ -17538,7 +16934,7 @@ trackedFiles: pristine_git_object: f9d076eff0bf725c7864a275b177883a4348b758 src/Cvent/SDK/Models/Requests/PatchContactsResponse.cs: id: 8664e03c73c4 - last_write_checksum: sha1:ff3fced8cc8495aef75a2a8f338dd4f487654c42 + last_write_checksum: sha1:d305f82259dd60080243e10ac6ae42b2578c5c49 pristine_git_object: f641b54093c1b925b9c70eb3e47be58fa4781eaf src/Cvent/SDK/Models/Requests/PostBadgeRequest.cs: id: 51f2cd5b64e2 @@ -17742,7 +17138,7 @@ trackedFiles: pristine_git_object: dcddd4057bc3a3670b64793747ddb484366fa8c9 src/Cvent/SDK/Models/Requests/UpdateAttendeeResponse.cs: id: c75ed94ce160 - last_write_checksum: sha1:8e2bca6d1a4d4e64a3bc16f4490a292aeb619aea + last_write_checksum: sha1:d55a152b0aa06ef2986b98b459e417e6f8d8ce74 pristine_git_object: 30bcc1c4696bcb8b0149100effdd1c0f910538c3 src/Cvent/SDK/Models/Requests/UpdateAttendeeSubscriptionStatusRequest.cs: last_write_checksum: sha1:e85cebd2bf72887681b6c3f3f7264f466c257ae8 @@ -17826,7 +17222,7 @@ trackedFiles: pristine_git_object: 5128520aff09ef7520727db8d595972b350479f9 src/Cvent/SDK/Models/Requests/UpdateContactsResponse.cs: id: f8d96e3cce59 - last_write_checksum: sha1:03fdf34ad905d638078d821bb8cd49d372cf3e93 + last_write_checksum: sha1:b62878d2b3d2881027cca506972260fe0a0111d0 pristine_git_object: cc225236befb143faa9c9461494f11973e1a60d7 src/Cvent/SDK/Models/Requests/UpdateCurrencyConversionRateRequest.cs: id: d03fd1fe6693 @@ -18158,7 +17554,7 @@ trackedFiles: last_write_checksum: sha1:a82d3b5c66346b08e9412b70e0c08ff88b6061ad src/Cvent/SDK/SDKConfig.cs: id: 7ad7086454a8 - last_write_checksum: sha1:06c93859202678cbbd5adb697554b7cc051230d3 + last_write_checksum: sha1:42366007a8336632c790a24847989a1a9c5d4357 pristine_git_object: 796c23cd551fbe87f613d89d60ed25ac5fe0c54b src/Cvent/SDK/Seating.cs: id: 01c249fc2746 @@ -18166,7 +17562,7 @@ trackedFiles: pristine_git_object: a06ca860a105970d8ade67f4ac21fbe4883567b7 src/Cvent/SDK/Sessions.cs: id: 327b4808d581 - last_write_checksum: sha1:6cff205addc964d49d75285fd9b7d0bab33ace97 + last_write_checksum: sha1:15b56f35f93a5feb76ae8174d93a01136cab37f6 pristine_git_object: 0f2fec50306482c0afd79e5ba7b08113f788f657 src/Cvent/SDK/Signatures.cs: id: 033fd08fcea8 @@ -18174,7 +17570,7 @@ trackedFiles: pristine_git_object: d765a9f2c97a11db1bedf9991d4dd185f89164fe src/Cvent/SDK/Speakers.cs: id: d426d5d9579c - last_write_checksum: sha1:87fa0d1ea176a6c5280e39ca7449e454bda445fd + last_write_checksum: sha1:83551bf21e4f1dee28a83390f14faa2d22a3b1e9 pristine_git_object: 62b8ecac78252d0ddbf04e1b73995f1009a50756 src/Cvent/SDK/Surveys.cs: id: 5ac9a3db2276 @@ -18182,11 +17578,11 @@ trackedFiles: pristine_git_object: 9d6474ebb10263553e076c5fca597acb9b079883 src/Cvent/SDK/TravelAccounts.cs: id: 61741a8e012d - last_write_checksum: sha1:278f91e369bf3017af08df549b713136bc91195f + last_write_checksum: sha1:a9b314832d6f6d418b8ef7847bba20851a495852 pristine_git_object: 72a96dbfd10e9549f7ead3bc04e6820a8d40db5d src/Cvent/SDK/TravelRFPs.cs: id: 997ae89b25f5 - last_write_checksum: sha1:3eef9ccd68743c0af5c59f90e37726ae5421569e + last_write_checksum: sha1:a5344c5cdc268ed05ca881a5d87663199e5f1ab2 pristine_git_object: 05d1627ed93fecba64acb478906f82d108f7e85a src/Cvent/SDK/TravelSuppliers.cs: id: dd9df70f50c4 @@ -18198,7 +17594,7 @@ trackedFiles: pristine_git_object: 1f0647de7bcf33fcae67414f0bb31c3bbaf91420 src/Cvent/SDK/UserSCIM.cs: id: a3a3ea1a9c7b - last_write_checksum: sha1:c2801b94592cf49471f5d93648e9ce9690349cf1 + last_write_checksum: sha1:0cee20f3f429b817c34d0172a384e018dadb8880 pristine_git_object: 65ecc73aaa7b7e5c08403afc919813034ca19d90 src/Cvent/SDK/Users.cs: id: 9ede83a21d40 @@ -18214,7 +17610,7 @@ trackedFiles: pristine_git_object: a75f770b33edd25c0fa4d4a77ab523da12d269ba src/Cvent/SDK/Utils/Constants.cs: id: 231d94d8a5dc - last_write_checksum: sha1:a98d0d1b3b84c2e606d4d9f247b63ca591f6a23c + last_write_checksum: sha1:df33405bd44b7b2aa92c05498e090e5fdc78f89f pristine_git_object: 0a54932893793a10e459afbc15920803cff3ed1e src/Cvent/SDK/Utils/CventSDKHttpClient.cs: id: 374fee4fdbaf @@ -19051,6 +18447,8 @@ examples: application/json: {"id": "0046e875-79a5-4851-8332-da105d58088a", "code": "APPT-0001", "name": "Meeting with Cvent", "description": "Discuss about marketing.", "start": "2019-04-12T15:20:00.000Z", "end": "2019-04-12T15:30:00.000Z", "status": "CONFIRMED", "location": {"name": "Hynes Convention Center"}, "type": {"name": "Customer Meeting"}, "created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "appointmentEvent": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"}, "participants": [{"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "attendee": {"id": "dd1057b9-a957-4c22-be88-741a29d01471/97f2ca58-0f9e-401f-a6b5-a6f20d3a9568", "contact": {"id": "97f2ca58-0f9e-401f-a6b5-a6f20d3a9568"}}, "type": "Attendee", "response": "CONFIRMED", "participation": {"participated": true}, "questionViewer": false, "privateNoteViewer": false, "deleted": false, "status": "confirmed"}], "autoAcceptAttendees": false, "enforceScheduleRules": false, "deleted": false, "questions": [{"id": "a5c42275-5ffa-4a43-94d3-b2516279122e", "name": "What is a your favorite color?", "type": "General", "value": ["Choice C", "Choice A"], "order": 1}]} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + "422": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} updateAppointment: speakeasy-default-update-appointment: parameters: @@ -19066,6 +18464,8 @@ examples: application/json: {"id": "0046e875-79a5-4851-8332-da105d58088a", "code": "APPT-0001", "name": "Meeting with Cvent", "description": "Discuss about marketing.", "start": "2019-04-12T15:20:00.000Z", "end": "2019-04-12T15:30:00.000Z", "status": "CONFIRMED", "location": {"name": "Hynes Convention Center"}, "type": {"name": "Customer Meeting"}, "created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "appointmentEvent": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"}, "participants": [{"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "attendee": {"id": "dd1057b9-a957-4c22-be88-741a29d01471/97f2ca58-0f9e-401f-a6b5-a6f20d3a9568", "contact": {"id": "97f2ca58-0f9e-401f-a6b5-a6f20d3a9568"}}, "type": "Attendee", "response": "CONFIRMED", "participation": {"participated": true}, "questionViewer": false, "privateNoteViewer": false, "deleted": false, "status": "confirmed"}], "autoAcceptAttendees": false, "enforceScheduleRules": false, "deleted": false, "questions": [{"id": "8e981c48-effb-43fb-b544-9ef8f322c2af", "name": "What is a your favorite color?", "type": "General", "value": ["Choice C", "Choice A"], "order": 1}]} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + "422": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} cancelAppointment: speakeasy-default-cancel-appointment: parameters: @@ -19436,6 +18836,8 @@ examples: application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}], "validationCode": "SEGMENTS_PER_EVENT_LIMIT_REACHED"} + "422": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} listAudienceSegments: speakeasy-default-list-audience-segments: parameters: @@ -19489,6 +18891,8 @@ examples: application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "event": {"id": "103097a4-143d-11e5-9f99-d0a637ee0032"}, "name": "VIP Attendees", "description": "A group of VIP attendees.", "id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "creationType": "MANUAL", "deleted": true} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + "422": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} deleteAudienceSegment: speakeasy-default-delete-audience-segment: parameters: @@ -19525,6 +18929,8 @@ examples: application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}], "validationCode": "SEGMENTS_PER_EVENT_LIMIT_REACHED"} + "422": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} disassociateAttendeeFromAudienceSegment: speakeasy-default-disassociate-attendee-from-audience-segment: parameters: @@ -20176,6 +19582,8 @@ examples: application/json: {"sourceId": "Ext ack number", "attendeeTypeCode": "MVFBES0320484", "confirmationNumber": "327PP24H", "locale": "es-DO", "housingEvent": {"id": 69121314}, "attendeeType": {"id": 34549966}, "roomType": {"id": 11549984}, "hotel": {"id": 49543342}, "sendAcknowledgement": true, "splitFolio": false, "redirectURL": "https://cvent.com", "guests": [{"arrival": "2020-03-05", "departure": "2020-03-07", "firstName": "Gustav", "lastName": "Schultz", "middleName": "Al", "title": "Dr.", "position": "manager", "company": "Test Inc", "homeFax": "9785674321", "email": "guest@cvent.com", "homePhone": "(231)-213-1222", "workPhone": "(231)-213-1222", "homeAddress": {"address1": "West St. 1", "address2": "Apt. 16", "city": "Austin", "region": "Texas", "regionCode": "TX", "postalCode": "23452AB", "country": "United States of America", "countryCode": "US"}, "paymentInfo": {"fullName": "Gustav Schultz", "address": {"address1": "West St. 1", "address2": "Apt. 16", "city": "Austin", "region": "Texas", "regionCode": "TX", "postalCode": "23452AB", "country": "United States of America", "countryCode": "US"}, "phone": "(231)213-1222", "other": {"amount": 0, "paymentDate": "2021-12-31", "referenceItem": "Reference Item", "checkNumber": "Check Num", "received": false, "note": "No Comment"}}}], "customFields": {"customField1": "CustomField1", "customField2": "CustomField2", "customField3": "CustomField3", "customField4": "CustomField4", "customField5": "CustomField5", "customField6": "CustomField6"}, "accessible": false, "specialRequest": "Double bed", "rewardProgram": {"id": 10000, "name": "Test name"}, "membershipId": "1154example", "travelDetails": {"arrival": {"time": "2024-12-01T00:00:00Z", "carrier": "JBU", "carrierNumber": "12345"}, "departure": {"time": "2024-12-01T00:00:00Z", "carrier": "JBU", "carrierNumber": "12345"}, "additionalInformation": "Additional Information"}, "id": "D6A63423-G796", "status": "Cancel", "bookingSite": {"href": "https://book.passkey.com/entry?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXlsb2FkIjp7ImVudHJ5IjoiUkVHSVNUUkFUSU9OIiwicGFyYW1zIjpbeyJuYW1lIjoiYnJpZGdlSWQiLCJ2YWx1ZSI6IlQ3VFdNTEhQLUdFNEQifV19fQ.7sH1gO_1Aambk-SRRlO2c7ac2DOpqLmCB-zsxB71q_A"}, "callCenter": {"href": "https://manage.passkey.com/Login?src=api&redirect=ccbridge®acknumber=WODS7LK4-GA8C"}} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + "401": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} cancelReservationRequest: speakeasy-default-cancel-reservation-request: parameters: @@ -20184,6 +19592,8 @@ examples: responses: "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + "401": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} linkReservation: speakeasy-default-link-reservation: parameters: @@ -21571,6 +20981,8 @@ examples: application/json: {"id": "50f4f0df-0c2d-4e6b-8e68-e1413b6917f5", "event": {"id": "3db28cfc-db22-11eb-8d19-0242ac130003"}, "exhibitor": {"id": "4888db54-db22-11eb-8d19-0242ac130003"}, "capacities": []} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + "409": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} getExhibitorRegistrationPacks: speakeasy-default-get-exhibitor-registration-packs: parameters: @@ -21618,6 +21030,8 @@ examples: responses: "401": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + "409": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} getSponsorshipLevels: speakeasy-default-get-sponsorship-levels: parameters: @@ -21778,6 +21192,8 @@ examples: application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "event": {"id": "3db28cfc-db22-11eb-8d19-0242ac130003"}, "exhibitor": {"id": "4888db54-db22-11eb-8d19-0242ac130003"}, "displayName": "Marketing Page", "hidden": false, "order": 3, "id": "3d44b9e4-8c1a-403d-a20a-0b981f539935"} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + "422": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} disassociateExhibitorFile: speakeasy-default-disassociate-exhibitor-file: parameters: @@ -21812,6 +21228,8 @@ examples: application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "event": {"id": "3db28cfc-db22-11eb-8d19-0242ac130003"}, "exhibitor": {"id": "4888db54-db22-11eb-8d19-0242ac130003"}, "name": "Marketing Page", "url": "http://www.example.com", "hidden": false, "order": 3, "id": "4d44b9e4-8c1a-403d-a20a-0b981f539935"} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + "422": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} getExhibitorWeblink: speakeasy-default-get-exhibitor-weblink: parameters: @@ -21838,6 +21256,8 @@ examples: application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "event": {"id": "3db28cfc-db22-11eb-8d19-0242ac130003"}, "exhibitor": {"id": "4888db54-db22-11eb-8d19-0242ac130003"}, "name": "Marketing Page", "url": "http://www.example.com", "hidden": false, "order": 3, "id": "4d44b9e4-8c1a-403d-a20a-0b981f539935"} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + "422": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} deleteExhibitorWeblink: speakeasy-default-delete-exhibitor-weblink: parameters: @@ -21931,6 +21351,8 @@ examples: application/json: {"id": "9c97eb50-9f88-4972-a603-f617fc3258dd", "name": "Request for Medical Meetups", "statuses": ["Declined"], "active": true, "questions": [{"id": "d43ebfad-493f-486e-b43f-feaafac19378", "name": "What is a your favorite color?", "value": ["Choice C", "Choice A"], "order": 1, "type": "General", "hidden": false, "required": true, "minLength": 0, "maxLength": 100, "minChoice": 0, "maxChoice": 10, "minDate": "1970-12-23", "maxDate": "2100-12-31"}]} "401": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + "422": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} createMeetingRequest: speakeasy-default-create-meeting-request: parameters: @@ -22230,6 +21652,8 @@ examples: application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "id": "38db6ae2-0dc3-487b-953e-86d6abbdf7d3", "event": {"id": "78842378-5d83-11ee-8c99-0242ac120002"}, "session": {"id": "78842aee-5d83-11ee-8c99-0242ac120002"}, "document": {}, "programItem": {"id": "788426ac-5d83-11ee-8c99-0242ac120002"}} "401": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + "409": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} getProgramItemSessionDocument: speakeasy-default-get-program-item-session-document: parameters: @@ -22629,6 +22053,8 @@ examples: application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "id": "38db6ae2-0dc3-487b-953e-86d6abbdf7d3", "event": {"id": "2ef03846-fced-4ce3-a077-d64ca891a4b1"}, "session": {"id": "832cb481-74c5-4859-ba21-bbb5be8b86e0"}, "speaker": {"id": "6077a9f1-a230-40cd-9e32-b493a84aaa80"}, "programItem": {"id": "221984b2-9e3e-4c1c-8ef4-306b1b75fa3e"}} "401": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + "409": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} getSessionProgramSpeaker: speakeasy-default-get-session-program-speaker: parameters: @@ -23711,6 +23137,55 @@ examples: 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", "id": "00fe81ea-70e7-4b18-bff5-43167c5720c0", "name": "Sales Tax", "active": false, "code": "TAX-001", "calculateBy": "PERCENTAGE", "percentage": 8.25, "amount": 5, "taxSchedule": {"id": "5e8df6b2-af0f-4c6f-86f9-e10a0dcb2034", "name": "New York State Tax Schedule", "defaultRate": 8.875}, "generalLedgerCode": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d5", "name": "General Ledger", "code": "General Ledger Code", "allocation": 100}}]} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + listEventVouchers: + speakeasy-default-list-event-vouchers: + parameters: + path: + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3" + query: + limit: 100 + token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a" + before: "2017-01-02T02:00:00Z" + after: "2017-01-02T02:00:00Z" + sort: "code:ASC" + filter: "id in ('1800c9bd-b5f4-438a-a92c-ea1f59553a5c', '2900d8ce-c6f5-449b-b03d-fb2f60664b6d')" + 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": "1800c9bd-b5f4-438a-a92c-ea1f59553a5c", "code": "VIP-100", "description": "VIP full-comp voucher for keynote attendees.", "alertEmailAddress": "planner@example.com", "capacity": {"total": 100, "redeemedCount": 42}, "lastModifiedBy": "planner@example.com", "lastModifiedDate": "2026-04-08T02:05:12.000Z"}]} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + listEventVouchersPostFilter: + speakeasy-default-list-event-vouchers-post-filter: + parameters: + path: + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3" + query: + limit: 100 + token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a" + before: "2017-01-02T02:00:00Z" + after: "2017-01-02T02:00:00Z" + sort: "code:ASC" + requestBody: + application/json: {"filter": "property eq 'value'"} + 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": []} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + listEventVoucherAttendees: + speakeasy-default-list-event-voucher-attendees: + parameters: + path: + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3" + voucherId: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3" + 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": "5b0e8d1f-8fd6-4ebe-977a-602b4a1f9c43"}]} + "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" @@ -24099,3 +23574,6 @@ generatedTests: listAttendeeAudienceSegments: "2026-05-21T12:13:40-06:00" listAssociatedAudienceSegments: "2026-05-21T12:13:40-06:00" listTaxes: "2026-06-05T14:40:10-04:00" + listEventVouchers: "2026-06-24T15:38:54-04:00" + listEventVouchersPostFilter: "2026-06-24T15:38:54-04:00" + listEventVoucherAttendees: "2026-06-24T15:38:54-04:00" diff --git a/packages/csharp/.speakeasy/gen.yaml b/packages/csharp/.speakeasy/gen.yaml index c76751755..e4a9b5aa0 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.4.0 + version: 1.5.0 additionalDependencies: [] author: Cvent baseErrorName: CventSDKException diff --git a/packages/csharp/.speakeasy/tests.arazzo.yaml b/packages/csharp/.speakeasy/tests.arazzo.yaml index df38b88c9..29b788fd9 100644 --- a/packages/csharp/.speakeasy/tests.arazzo.yaml +++ b/packages/csharp/.speakeasy/tests.arazzo.yaml @@ -10719,3 +10719,100 @@ workflows: type: simple x-speakeasy-test-group: Events x-speakeasy-test-rebuild: true + - workflowId: listEventVouchers + steps: + - stepId: test + operationId: listEventVouchers + parameters: + - name: id + in: path + value: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 + - name: limit + in: query + value: 100 + - name: token + in: query + value: 0e28af57-511f-47ab-ae46-46cd1ca51a1a + - name: before + in: query + value: "2017-01-02T02:00:00Z" + - name: after + in: query + value: "2017-01-02T02:00:00Z" + - name: sort + in: query + value: code:ASC + - name: filter + in: query + value: id in ('1800c9bd-b5f4-438a-a92c-ea1f59553a5c', '2900d8ce-c6f5-449b-b03d-fb2f60664b6d') + 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":"1800c9bd-b5f4-438a-a92c-ea1f59553a5c","code":"VIP-100","description":"VIP full-comp voucher for keynote attendees.","alertEmailAddress":"planner@example.com","capacity":{"total":100,"redeemedCount":42},"lastModifiedBy":"planner@example.com","lastModifiedDate":"2026-04-08T02:05:12.000Z"}]} + type: simple + x-speakeasy-test-group: Events + x-speakeasy-test-rebuild: true + - workflowId: listEventVouchersPostFilter + steps: + - stepId: test + operationId: listEventVouchersPostFilter + parameters: + - name: id + in: path + value: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 + - name: limit + in: query + value: 100 + - name: token + in: query + value: 0e28af57-511f-47ab-ae46-46cd1ca51a1a + - name: before + in: query + value: "2017-01-02T02:00:00Z" + - name: after + in: query + value: "2017-01-02T02:00:00Z" + - name: sort + in: query + value: code:ASC + requestBody: + contentType: application/json + payload: + filter: property eq 'value' + 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":[]} + type: simple + x-speakeasy-test-group: Events + x-speakeasy-test-rebuild: true + - workflowId: listEventVoucherAttendees + steps: + - stepId: test + operationId: listEventVoucherAttendees + parameters: + - name: id + in: path + value: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 + - name: voucherId + in: path + value: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 + - 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":"5b0e8d1f-8fd6-4ebe-977a-602b4a1f9c43"}]} + type: simple + x-speakeasy-test-group: Events + x-speakeasy-test-rebuild: true diff --git a/packages/csharp/NUGET.md b/packages/csharp/NUGET.md index 7a4d1b778..dba13786e 100644 --- a/packages/csharp/NUGET.md +++ b/packages/csharp/NUGET.md @@ -325,10 +325,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): - * [`ErrorResponseJson17`](./src/Cvent/SDK/Models/Errors/ErrorResponseJson17.cs): The error response. Applicable to 11 of 445 methods.* - * [`ErrorResponse2`](./src/Cvent/SDK/Models/Errors/ErrorResponse2.cs): Represents an error response with additional details of cascading error messages. Applicable to 6 of 445 methods.* - * [`SegmentsErrorResponse`](./src/Cvent/SDK/Models/Errors/SegmentsErrorResponse.cs): Segments error response details. Status code `400`. Applicable to 2 of 445 methods.* - * [`BadRequestException`](./src/Cvent/SDK/Models/Errors/BadRequestException.cs): A bad token response. Status code `400`. Applicable to 1 of 445 methods.* + * [`ErrorResponse2`](./src/Cvent/SDK/Models/Errors/ErrorResponse2.cs): Represents an error response with additional details of cascading error messages. Applicable to 18 of 448 methods.* + * [`ErrorResponseJson12`](./src/Cvent/SDK/Models/Errors/ErrorResponseJson12.cs): The error response. Applicable to 11 of 448 methods.* + * [`SegmentsErrorResponse`](./src/Cvent/SDK/Models/Errors/SegmentsErrorResponse.cs): Segments error response details. Status code `400`. Applicable to 2 of 448 methods.* + * [`BadRequestException`](./src/Cvent/SDK/Models/Errors/BadRequestException.cs): A bad token response. Status code `400`. Applicable to 1 of 448 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 7d12e65ef..59ec22736 100644 --- a/packages/csharp/README.md +++ b/packages/csharp/README.md @@ -425,6 +425,9 @@ var res = await sdk.Authentication.Oauth2TokenAsync( * [ListEventUserGroups](docs/sdks/events/README.md#listeventusergroups) - List Event User Groups * [AssociateEventUserGroup](docs/sdks/events/README.md#associateeventusergroup) - Associate User Group to Event * [DisassociateEventUserGroup](docs/sdks/events/README.md#disassociateeventusergroup) - Disassociate Group from Event +* [ListEventVouchers](docs/sdks/events/README.md#listeventvouchers) - List Event Vouchers +* [ListEventVouchersPostFilter](docs/sdks/events/README.md#listeventvoucherspostfilter) - List Event Vouchers (Filter) +* [ListEventVoucherAttendees](docs/sdks/events/README.md#listeventvoucherattendees) - List Voucher Attendees * [UpdateQuantityItemRegistrationForAttendee](docs/sdks/events/README.md#updatequantityitemregistrationforattendee) - Update Quantity Item * [ListSessionsAttendance](docs/sdks/events/README.md#listsessionsattendance) - Session Attendance * [ListSessionsEnrollment](docs/sdks/events/README.md#listsessionsenrollment) - List Session Registrants @@ -985,10 +988,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): - * [`ErrorResponseJson17`](./src/Cvent/SDK/Models/Errors/ErrorResponseJson17.cs): The error response. Applicable to 11 of 445 methods.* - * [`ErrorResponse2`](./src/Cvent/SDK/Models/Errors/ErrorResponse2.cs): Represents an error response with additional details of cascading error messages. Applicable to 6 of 445 methods.* - * [`SegmentsErrorResponse`](./src/Cvent/SDK/Models/Errors/SegmentsErrorResponse.cs): Segments error response details. Status code `400`. Applicable to 2 of 445 methods.* - * [`BadRequestException`](./src/Cvent/SDK/Models/Errors/BadRequestException.cs): A bad token response. Status code `400`. Applicable to 1 of 445 methods.* + * [`ErrorResponse2`](./src/Cvent/SDK/Models/Errors/ErrorResponse2.cs): Represents an error response with additional details of cascading error messages. Applicable to 18 of 448 methods.* + * [`ErrorResponseJson12`](./src/Cvent/SDK/Models/Errors/ErrorResponseJson12.cs): The error response. Applicable to 11 of 448 methods.* + * [`SegmentsErrorResponse`](./src/Cvent/SDK/Models/Errors/SegmentsErrorResponse.cs): Segments error response details. Status code `400`. Applicable to 2 of 448 methods.* + * [`BadRequestException`](./src/Cvent/SDK/Models/Errors/BadRequestException.cs): A bad token response. Status code `400`. Applicable to 1 of 448 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/Components/AccountBudgetItemListResponseJson.md b/packages/csharp/docs/Models/Components/AccountBudgetItemListResponseJson.md index 0b7ad3454..72d818142 100644 --- a/packages/csharp/docs/Models/Components/AccountBudgetItemListResponseJson.md +++ b/packages/csharp/docs/Models/Components/AccountBudgetItemListResponseJson.md @@ -11,8 +11,8 @@ The response from a request to retrieve list of budget items across all events l | `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 | -| `Event` | [EventJson2](../../Models/Components/EventJson2.md) | :heavy_minus_sign: | Event ID Information. | | -| `Rfp` | [RfpIdJson1](../../Models/Components/RfpIdJson1.md) | :heavy_minus_sign: | RFP ID Information. | | +| `Event` | [EventJson1](../../Models/Components/EventJson1.md) | :heavy_minus_sign: | Event ID Information. | | +| `Rfp` | [RfpIdJson](../../Models/Components/RfpIdJson.md) | :heavy_minus_sign: | RFP ID Information. | | | `BudgetVersion` | [BudgetVersionIdJson](../../Models/Components/BudgetVersionIdJson.md) | :heavy_minus_sign: | Budget Version ID Information. | | | `Id` | *string* | :heavy_minus_sign: | The identifier of the budget item. | 9463c74e-18c6-401a-a710-ae0f485bf959 | | `Name` | *string* | :heavy_minus_sign: | Name of the budget item. | Airport Transportation | diff --git a/packages/csharp/docs/Models/Components/Action.md b/packages/csharp/docs/Models/Components/Action.md new file mode 100644 index 000000000..e3e0db1d9 --- /dev/null +++ b/packages/csharp/docs/Models/Components/Action.md @@ -0,0 +1,19 @@ +# Action + +Action to take for a compliance request. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = Action.DoNotSell; +``` + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `DoNotSell` | DO_NOT_SELL | +| `OkToSell` | OK_TO_SELL | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AdditionalChoice.md b/packages/csharp/docs/Models/Components/AdditionalChoice.md index 716e2c8e0..5fb92dca1 100644 --- a/packages/csharp/docs/Models/Components/AdditionalChoice.md +++ b/packages/csharp/docs/Models/Components/AdditionalChoice.md @@ -1,10 +1,11 @@ # AdditionalChoice -Contains text of additional choice +Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Text` | *string* | :heavy_minus_sign: | Text Value of additional choice | Not Applicable or Other | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| `Text` | *string* | :heavy_minus_sign: | Display text of additional choice. | Dietary Restriction - Other | +| `ShortText` | *string* | :heavy_minus_sign: | Name of additional choice text in reporting. | Dietary Preference - Other Allergies | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AdditionalChoice1.md b/packages/csharp/docs/Models/Components/AdditionalChoice1.md new file mode 100644 index 000000000..378ffcebc --- /dev/null +++ b/packages/csharp/docs/Models/Components/AdditionalChoice1.md @@ -0,0 +1,10 @@ +# AdditionalChoice1 + +Contains text of additional choice + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Text` | *string* | :heavy_minus_sign: | Text Value of additional choice | Not Applicable or Other | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AdditionalChoiceJson.md b/packages/csharp/docs/Models/Components/AdditionalChoiceJson.md new file mode 100644 index 000000000..876822370 --- /dev/null +++ b/packages/csharp/docs/Models/Components/AdditionalChoiceJson.md @@ -0,0 +1,11 @@ +# AdditionalChoiceJson + +Contains text of additional choice i.e N/A choice or otherAnswer choice + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | +| `Text` | *string* | :heavy_minus_sign: | Text Value of additional choice | N/A or Other | +| `ShortText` | *string* | :heavy_minus_sign: | Reporting value of additional choice text | N/A or Other Reporting value | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AdditionalChoiceJson1.md b/packages/csharp/docs/Models/Components/AdditionalChoiceJson1.md deleted file mode 100644 index 94b0891b7..000000000 --- a/packages/csharp/docs/Models/Components/AdditionalChoiceJson1.md +++ /dev/null @@ -1,11 +0,0 @@ -# AdditionalChoiceJson1 - -Contains text of additional choice i.e N/A choice or otherAnswer choice - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | -| `Text` | *string* | :heavy_minus_sign: | Text Value of additional choice | N/A or Other | -| `ShortText` | *string* | :heavy_minus_sign: | Reporting value of additional choice text | N/A or Other Reporting value | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AdditionalChoiceJson2.md b/packages/csharp/docs/Models/Components/AdditionalChoiceJson2.md deleted file mode 100644 index ea6695968..000000000 --- a/packages/csharp/docs/Models/Components/AdditionalChoiceJson2.md +++ /dev/null @@ -1,11 +0,0 @@ -# AdditionalChoiceJson2 - -Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `Text` | *string* | :heavy_minus_sign: | Display text of additional choice. | Dietary Restriction - Other | -| `ShortText` | *string* | :heavy_minus_sign: | Name of additional choice text in reporting. | Dietary Preference - Other Allergies | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Address.md b/packages/csharp/docs/Models/Components/Address.md new file mode 100644 index 000000000..a06326133 --- /dev/null +++ b/packages/csharp/docs/Models/Components/Address.md @@ -0,0 +1,18 @@ +# Address + +Contact address details. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `Address1` | *string* | :heavy_minus_sign: | The first line of an address. | Cvent Inc. | +| `Address2` | *string* | :heavy_minus_sign: | The second line of an address. | 4001 West Parmer Lane | +| `Address3` | *string* | :heavy_minus_sign: | The third line of an address. | PO Box 123 | +| `City` | *string* | :heavy_minus_sign: | The name of the city. | Austin | +| `CountryCode` | *string* | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country code. | US | +| `PostalCode` | *string* | :heavy_minus_sign: | Postal code (also known as zipcode) of the address. | 78727 | +| `Region` | *string* | :heavy_minus_sign: | The name of the state/province/region of the address. | Texas | +| `RegionCode` | *string* | :heavy_minus_sign: | The abbreviation of the state/province/region of the address. | TX | +| `Country` | *string* | :heavy_minus_sign: | Name of the country of the address. | United States of America | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Address1.md b/packages/csharp/docs/Models/Components/Address1.md new file mode 100644 index 000000000..87b9a26af --- /dev/null +++ b/packages/csharp/docs/Models/Components/Address1.md @@ -0,0 +1,12 @@ +# Address1 + +Address details. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `CountryCode` | *string* | :heavy_check_mark: | ISO 3166 code for the country. | US | +| `City` | *string* | :heavy_check_mark: | The name of the city. | Austin | +| `RegionCode` | *string* | :heavy_minus_sign: | ISO 3166-2 code for the state/province/region. | US-AL | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Address11.md b/packages/csharp/docs/Models/Components/Address11.md index abf3fbfd9..94ebf5590 100644 --- a/packages/csharp/docs/Models/Components/Address11.md +++ b/packages/csharp/docs/Models/Components/Address11.md @@ -1,20 +1,17 @@ # Address11 -Address details +Schema for address information ## Fields | Field | Type | Required | Description | Example | | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| `Address1` | *string* | :heavy_minus_sign: | The first line of an address. | Cvent Inc. | -| `Address2` | *string* | :heavy_minus_sign: | The second line of an address. | 4001 West Parmer Lane | -| `Address3` | *string* | :heavy_minus_sign: | The third line of an address. | PO Box 123 | +| `Address1` | *string* | :heavy_minus_sign: | The first line of an address | Cvent Inc. | +| `Address2` | *string* | :heavy_minus_sign: | The second line of an address | 4001 West Parmer Lane | | `City` | *string* | :heavy_minus_sign: | The name of the city. | Austin | -| `CountryCode` | *string* | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country code. | US | -| `PostalCode` | *string* | :heavy_minus_sign: | Postal code (also known as zipcode) of the address. | 78727 | | `Region` | *string* | :heavy_minus_sign: | The name of the state/province/region of the address. | Texas | | `RegionCode` | *string* | :heavy_minus_sign: | The abbreviation of the state/province/region of the address. | TX | -| `Country` | *string* | :heavy_minus_sign: | Name of the country of the address. | United States of America | -| `Latitude` | *long* | :heavy_minus_sign: | The geo latitude of the address. | 30 | -| `Longitude` | *long* | :heavy_minus_sign: | The geo longitude of the address. | -97 | \ No newline at end of file +| `PostalCode` | *string* | :heavy_minus_sign: | postal code (also known as zipcode) of the address | 78727 | +| `Country` | *string* | :heavy_minus_sign: | Name of the country for example, 'United States' | United States of America | +| `CountryCode` | *string* | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country code | US | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Address12.md b/packages/csharp/docs/Models/Components/Address12.md deleted file mode 100644 index ce2c04839..000000000 --- a/packages/csharp/docs/Models/Components/Address12.md +++ /dev/null @@ -1,17 +0,0 @@ -# Address12 - -Schema for address information - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| `Address1` | *string* | :heavy_minus_sign: | The first line of an address | Cvent Inc. | -| `Address2` | *string* | :heavy_minus_sign: | The second line of an address | 4001 West Parmer Lane | -| `City` | *string* | :heavy_minus_sign: | The name of the city. | Austin | -| `Region` | *string* | :heavy_minus_sign: | The name of the state/province/region of the address. | Texas | -| `RegionCode` | *string* | :heavy_minus_sign: | The abbreviation of the state/province/region of the address. | TX | -| `PostalCode` | *string* | :heavy_minus_sign: | postal code (also known as zipcode) of the address | 78727 | -| `Country` | *string* | :heavy_minus_sign: | Name of the country for example, 'United States' | United States of America | -| `CountryCode` | *string* | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country code | US | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Address2.md b/packages/csharp/docs/Models/Components/Address2.md deleted file mode 100644 index 3c3404b55..000000000 --- a/packages/csharp/docs/Models/Components/Address2.md +++ /dev/null @@ -1,15 +0,0 @@ -# Address2 - -An object representing an address with various properties. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | -| `Address1` | *string* | :heavy_minus_sign: | The first line of an address | Cvent Inc. | -| `Address2Value` | *string* | :heavy_minus_sign: | The second line of an address | 4001 West Parmer Lane | -| `City` | *string* | :heavy_minus_sign: | The name of the city. | Austin | -| `Region` | *string* | :heavy_minus_sign: | The name of the state/province/region of the address. | Texas | -| `PostalCode` | *string* | :heavy_minus_sign: | postal code (also known as zipcode) of the address | 78727 | -| `Country` | *string* | :heavy_minus_sign: | Name of the country for example, 'United States' | United States of America | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Address3.md b/packages/csharp/docs/Models/Components/Address3.md index 6990b0bf9..ffe123694 100644 --- a/packages/csharp/docs/Models/Components/Address3.md +++ b/packages/csharp/docs/Models/Components/Address3.md @@ -1,6 +1,6 @@ # Address3 -Address of the hotel. +Address details ## Fields @@ -15,4 +15,6 @@ Address of the hotel. | `PostalCode` | *string* | :heavy_minus_sign: | Postal code (also known as zipcode) of the address. | 78727 | | `Region` | *string* | :heavy_minus_sign: | The name of the state/province/region of the address. | Texas | | `RegionCode` | *string* | :heavy_minus_sign: | The abbreviation of the state/province/region of the address. | TX | -| `Country` | *string* | :heavy_minus_sign: | Name of the country. | United States of America | \ No newline at end of file +| `Country` | *string* | :heavy_minus_sign: | Name of the country of the address. | United States of America | +| `Latitude` | *long* | :heavy_minus_sign: | The geo latitude of the address. | 30 | +| `Longitude` | *long* | :heavy_minus_sign: | The geo longitude of the address. | -97 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Address4.md b/packages/csharp/docs/Models/Components/Address4.md new file mode 100644 index 000000000..dfaa22129 --- /dev/null +++ b/packages/csharp/docs/Models/Components/Address4.md @@ -0,0 +1,15 @@ +# Address4 + +An object representing an address with various properties. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | +| `Address1` | *string* | :heavy_minus_sign: | The first line of an address | Cvent Inc. | +| `Address2` | *string* | :heavy_minus_sign: | The second line of an address | 4001 West Parmer Lane | +| `City` | *string* | :heavy_minus_sign: | The name of the city. | Austin | +| `Region` | *string* | :heavy_minus_sign: | The name of the state/province/region of the address. | Texas | +| `PostalCode` | *string* | :heavy_minus_sign: | postal code (also known as zipcode) of the address | 78727 | +| `Country` | *string* | :heavy_minus_sign: | Name of the country for example, 'United States' | United States of America | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Address5.md b/packages/csharp/docs/Models/Components/Address5.md new file mode 100644 index 000000000..4c28e5c4c --- /dev/null +++ b/packages/csharp/docs/Models/Components/Address5.md @@ -0,0 +1,18 @@ +# Address5 + +Address of the hotel. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `Address1` | *string* | :heavy_minus_sign: | The first line of an address. | Cvent Inc. | +| `Address2` | *string* | :heavy_minus_sign: | The second line of an address. | 4001 West Parmer Lane | +| `Address3` | *string* | :heavy_minus_sign: | The third line of an address. | PO Box 123 | +| `City` | *string* | :heavy_minus_sign: | The name of the city. | Austin | +| `CountryCode` | *string* | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country code. | US | +| `PostalCode` | *string* | :heavy_minus_sign: | Postal code (also known as zipcode) of the address. | 78727 | +| `Region` | *string* | :heavy_minus_sign: | The name of the state/province/region of the address. | Texas | +| `RegionCode` | *string* | :heavy_minus_sign: | The abbreviation of the state/province/region of the address. | TX | +| `Country` | *string* | :heavy_minus_sign: | Name of the country. | United States of America | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Address6.md b/packages/csharp/docs/Models/Components/Address6.md new file mode 100644 index 000000000..923f80d45 --- /dev/null +++ b/packages/csharp/docs/Models/Components/Address6.md @@ -0,0 +1,17 @@ +# Address6 + +Address details. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | +| `Address1` | *string* | :heavy_minus_sign: | Address line 1. | 717 N Harwood St | +| `Address2` | *string* | :heavy_minus_sign: | Address line 2. | Suite 2800 | +| `City` | *string* | :heavy_minus_sign: | City name. | Dallas | +| `Region` | *string* | :heavy_minus_sign: | Region name. | Texas | +| `RegionCode` | *string* | :heavy_minus_sign: | Region code. | TX | +| `PostalCode` | *string* | :heavy_minus_sign: | Postal code. | 75201 | +| `Country` | *string* | :heavy_minus_sign: | Country name. | United States | +| `CountryCode` | *string* | :heavy_minus_sign: | ISO 3166 alpha-2 country code. | US | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AddressInput.md b/packages/csharp/docs/Models/Components/AddressInput.md new file mode 100644 index 000000000..980c57cab --- /dev/null +++ b/packages/csharp/docs/Models/Components/AddressInput.md @@ -0,0 +1,16 @@ +# AddressInput + +Contact address details. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `Address1` | *string* | :heavy_minus_sign: | The first line of an address. | Cvent Inc. | +| `Address2` | *string* | :heavy_minus_sign: | The second line of an address. | 4001 West Parmer Lane | +| `Address3` | *string* | :heavy_minus_sign: | The third line of an address. | PO Box 123 | +| `City` | *string* | :heavy_minus_sign: | The name of the city. | Austin | +| `CountryCode` | *string* | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country code. | US | +| `PostalCode` | *string* | :heavy_minus_sign: | Postal code (also known as zipcode) of the address. | 78727 | +| `RegionCode` | *string* | :heavy_minus_sign: | The abbreviation of the state/province/region of the address. | TX | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AddressJson.md b/packages/csharp/docs/Models/Components/AddressJson.md index 752704eec..24179ddbe 100644 --- a/packages/csharp/docs/Models/Components/AddressJson.md +++ b/packages/csharp/docs/Models/Components/AddressJson.md @@ -1,18 +1,17 @@ # AddressJson -Contact address details. +Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| `Address1` | *string* | :heavy_minus_sign: | The first line of an address. | Cvent Inc. | -| `Address2` | *string* | :heavy_minus_sign: | The second line of an address. | 4001 West Parmer Lane | -| `Address3` | *string* | :heavy_minus_sign: | The third line of an address. | PO Box 123 | -| `City` | *string* | :heavy_minus_sign: | The name of the city. | Austin | -| `CountryCode` | *string* | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country code. | US | -| `PostalCode` | *string* | :heavy_minus_sign: | Postal code (also known as zipcode) of the address. | 78727 | -| `Region` | *string* | :heavy_minus_sign: | The name of the state/province/region of the address. | Texas | -| `RegionCode` | *string* | :heavy_minus_sign: | The abbreviation of the state/province/region of the address. | TX | -| `Country` | *string* | :heavy_minus_sign: | Name of the country of the address. | United States of America | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | +| `Address1` | *string* | :heavy_minus_sign: | Address line 1. | West St. 1 | +| `Address2` | *string* | :heavy_minus_sign: | Address line 2. | Apt. 16 | +| `City` | *string* | :heavy_minus_sign: | City name. | Austin | +| `Region` | *string* | :heavy_minus_sign: | Region name. | Texas | +| `RegionCode` | *string* | :heavy_minus_sign: | Region code. | TX | +| `PostalCode` | *string* | :heavy_minus_sign: | Postal code. | 23452AB | +| `Country` | *string* | :heavy_minus_sign: | Country name. | United States of America | +| `CountryCode` | *string* | :heavy_minus_sign: | ISO 3166 alpha-2 country code. | US | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AddressJson0.md b/packages/csharp/docs/Models/Components/AddressJson0.md deleted file mode 100644 index dbe10d912..000000000 --- a/packages/csharp/docs/Models/Components/AddressJson0.md +++ /dev/null @@ -1,12 +0,0 @@ -# AddressJson0 - -Address details. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `CountryCode` | *string* | :heavy_check_mark: | ISO 3166 code for the country. | US | -| `City` | *string* | :heavy_check_mark: | The name of the city. | Austin | -| `RegionCode` | *string* | :heavy_minus_sign: | ISO 3166-2 code for the state/province/region. | US-AL | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AddressJson1.md b/packages/csharp/docs/Models/Components/AddressJson1.md new file mode 100644 index 000000000..d6be5090d --- /dev/null +++ b/packages/csharp/docs/Models/Components/AddressJson1.md @@ -0,0 +1,17 @@ +# AddressJson1 + +A physical address. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | +| `Address1` | *string* | :heavy_minus_sign: | Address line 1. | 717 N Harwood St | +| `Address2` | *string* | :heavy_minus_sign: | Address line 2. | Suite 2800 | +| `City` | *string* | :heavy_minus_sign: | City name. | Dallas | +| `Region` | *string* | :heavy_minus_sign: | Region name. | Texas | +| `RegionCode` | *string* | :heavy_minus_sign: | Region code. | TX | +| `PostalCode` | *string* | :heavy_minus_sign: | Postal code. | 75201 | +| `Country` | *string* | :heavy_minus_sign: | Country name. | United States | +| `CountryCode` | *string* | :heavy_minus_sign: | ISO 3166 alpha-2 country code. | US | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AddressJson2.md b/packages/csharp/docs/Models/Components/AddressJson2.md index 184281607..f26511532 100644 --- a/packages/csharp/docs/Models/Components/AddressJson2.md +++ b/packages/csharp/docs/Models/Components/AddressJson2.md @@ -1,17 +1,16 @@ # AddressJson2 -Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. +Address ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | -| `Address1` | *string* | :heavy_minus_sign: | Address line 1. | West St. 1 | -| `Address2` | *string* | :heavy_minus_sign: | Address line 2. | Apt. 16 | -| `City` | *string* | :heavy_minus_sign: | City name. | Austin | -| `Region` | *string* | :heavy_minus_sign: | Region name. | Texas | -| `RegionCode` | *string* | :heavy_minus_sign: | Region code. | TX | -| `PostalCode` | *string* | :heavy_minus_sign: | Postal code. | 23452AB | -| `Country` | *string* | :heavy_minus_sign: | Country name. | United States of America | -| `CountryCode` | *string* | :heavy_minus_sign: | ISO 3166 alpha-2 country code. | US | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `Type` | [AddressTypeJson](../../Models/Components/AddressTypeJson.md) | :heavy_check_mark: | The type of the address. | work | +| `StreetAddress` | *string* | :heavy_minus_sign: | The street address of the user. | 100 Universal City Plaza | +| `Locality` | *string* | :heavy_minus_sign: | The locality/city of the user. | Hollywood | +| `Region` | *string* | :heavy_minus_sign: | The region/state/province of the user. | CA | +| `PostalCode` | *string* | :heavy_minus_sign: | Postal code (also known as zipcode) of the user. | 91608 | +| `Country` | *string* | :heavy_minus_sign: | The country of the user. | USA | +| `Primary` | *bool* | :heavy_minus_sign: | True indicates the address is primary. | true | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AddressJson3.md b/packages/csharp/docs/Models/Components/AddressJson3.md deleted file mode 100644 index a3f1fdce7..000000000 --- a/packages/csharp/docs/Models/Components/AddressJson3.md +++ /dev/null @@ -1,17 +0,0 @@ -# AddressJson3 - -A physical address. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | -| `Address1` | *string* | :heavy_minus_sign: | Address line 1. | 717 N Harwood St | -| `Address2` | *string* | :heavy_minus_sign: | Address line 2. | Suite 2800 | -| `City` | *string* | :heavy_minus_sign: | City name. | Dallas | -| `Region` | *string* | :heavy_minus_sign: | Region name. | Texas | -| `RegionCode` | *string* | :heavy_minus_sign: | Region code. | TX | -| `PostalCode` | *string* | :heavy_minus_sign: | Postal code. | 75201 | -| `Country` | *string* | :heavy_minus_sign: | Country name. | United States | -| `CountryCode` | *string* | :heavy_minus_sign: | ISO 3166 alpha-2 country code. | US | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AddressJson4.md b/packages/csharp/docs/Models/Components/AddressJson4.md deleted file mode 100644 index c50a64576..000000000 --- a/packages/csharp/docs/Models/Components/AddressJson4.md +++ /dev/null @@ -1,16 +0,0 @@ -# AddressJson4 - -Address - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| `Type` | [AddressTypeJson1](../../Models/Components/AddressTypeJson1.md) | :heavy_check_mark: | The type of the address. | work | -| `StreetAddress` | *string* | :heavy_minus_sign: | The street address of the user. | 100 Universal City Plaza | -| `Locality` | *string* | :heavy_minus_sign: | The locality/city of the user. | Hollywood | -| `Region` | *string* | :heavy_minus_sign: | The region/state/province of the user. | CA | -| `PostalCode` | *string* | :heavy_minus_sign: | Postal code (also known as zipcode) of the user. | 91608 | -| `Country` | *string* | :heavy_minus_sign: | The country of the user. | USA | -| `Primary` | *bool* | :heavy_minus_sign: | True indicates the address is primary. | true | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AddressJson5.md b/packages/csharp/docs/Models/Components/AddressJson5.md deleted file mode 100644 index de554f561..000000000 --- a/packages/csharp/docs/Models/Components/AddressJson5.md +++ /dev/null @@ -1,17 +0,0 @@ -# AddressJson5 - -Address details. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | -| `Address1` | *string* | :heavy_minus_sign: | Address line 1. | 717 N Harwood St | -| `Address2` | *string* | :heavy_minus_sign: | Address line 2. | Suite 2800 | -| `City` | *string* | :heavy_minus_sign: | City name. | Dallas | -| `Region` | *string* | :heavy_minus_sign: | Region name. | Texas | -| `RegionCode` | *string* | :heavy_minus_sign: | Region code. | TX | -| `PostalCode` | *string* | :heavy_minus_sign: | Postal code. | 75201 | -| `Country` | *string* | :heavy_minus_sign: | Country name. | United States | -| `CountryCode` | *string* | :heavy_minus_sign: | ISO 3166 alpha-2 country code. | US | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AddressJsonInput.md b/packages/csharp/docs/Models/Components/AddressJsonInput.md deleted file mode 100644 index 9d84c2ff8..000000000 --- a/packages/csharp/docs/Models/Components/AddressJsonInput.md +++ /dev/null @@ -1,16 +0,0 @@ -# AddressJsonInput - -Contact address details. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| `Address1` | *string* | :heavy_minus_sign: | The first line of an address. | Cvent Inc. | -| `Address2` | *string* | :heavy_minus_sign: | The second line of an address. | 4001 West Parmer Lane | -| `Address3` | *string* | :heavy_minus_sign: | The third line of an address. | PO Box 123 | -| `City` | *string* | :heavy_minus_sign: | The name of the city. | Austin | -| `CountryCode` | *string* | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country code. | US | -| `PostalCode` | *string* | :heavy_minus_sign: | Postal code (also known as zipcode) of the address. | 78727 | -| `RegionCode` | *string* | :heavy_minus_sign: | The abbreviation of the state/province/region of the address. | TX | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AddressTypeJson.md b/packages/csharp/docs/Models/Components/AddressTypeJson.md index e62a7e9aa..ff7ed53d3 100644 --- a/packages/csharp/docs/Models/Components/AddressTypeJson.md +++ b/packages/csharp/docs/Models/Components/AddressTypeJson.md @@ -1,13 +1,13 @@ # AddressTypeJson -The type of address. +The type of the address. ## Example Usage ```csharp using Cvent.SDK.Models.Components; -var value = AddressTypeJson.Home; +var value = AddressTypeJson.Work; ``` @@ -15,5 +15,5 @@ var value = AddressTypeJson.Home; | Name | Value | | ------ | ------ | -| `Home` | Home | -| `Work` | Work | \ No newline at end of file +| `Work` | work | +| `Home` | home | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AddressTypeJson1.md b/packages/csharp/docs/Models/Components/AddressTypeJson1.md deleted file mode 100644 index a12f23488..000000000 --- a/packages/csharp/docs/Models/Components/AddressTypeJson1.md +++ /dev/null @@ -1,19 +0,0 @@ -# AddressTypeJson1 - -The type of the address. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = AddressTypeJson1.Work; -``` - - -## Values - -| Name | Value | -| ------ | ------ | -| `Work` | work | -| `Home` | home | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AgendaItemSetup.md b/packages/csharp/docs/Models/Components/AgendaItemSetup.md new file mode 100644 index 000000000..2ceb29eb3 --- /dev/null +++ b/packages/csharp/docs/Models/Components/AgendaItemSetup.md @@ -0,0 +1,43 @@ +# AgendaItemSetup + +Setup type for the agenda. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = AgendaItemSetup.Buffet; +``` + + +## Values + +| Name | Value | +| ---------------- | ---------------- | +| `Buffet` | BUFFET | +| `Cabaret` | CABARET | +| `Chevron` | CHEVRON | +| `Classroom` | CLASSROOM | +| `Conference` | CONFERENCE | +| `CrescentRounds` | CRESCENT_ROUNDS | +| `EightByTen` | EIGHT_BY_TEN | +| `Flow` | FLOW | +| `Herringbone` | HERRINGBONE | +| `HollowSquare` | HOLLOW_SQUARE | +| `Island` | ISLAND | +| `Offsite` | OFFSITE | +| `Other` | OTHER | +| `Peninsula` | PENINSULA | +| `Plated` | PLATED | +| `Reception` | RECEPTION | +| `Rounds` | ROUNDS | +| `RoundsOf10` | ROUNDS_OF_10 | +| `RoundsOf6` | ROUNDS_OF_6 | +| `RoundsOf8` | ROUNDS_OF_8 | +| `SchoolRoom` | SCHOOL_ROOM | +| `Tabletop` | TABLETOP | +| `TenByTen` | TEN_BY_TEN | +| `Theater` | THEATER | +| `TShaped` | T_SHAPED | +| `UShaped` | U_SHAPED | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AgendaItemSetupJson.md b/packages/csharp/docs/Models/Components/AgendaItemSetupJson.md deleted file mode 100644 index e9958b691..000000000 --- a/packages/csharp/docs/Models/Components/AgendaItemSetupJson.md +++ /dev/null @@ -1,43 +0,0 @@ -# AgendaItemSetupJson - -Setup type for the agenda. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = AgendaItemSetupJson.Buffet; -``` - - -## Values - -| Name | Value | -| ---------------- | ---------------- | -| `Buffet` | BUFFET | -| `Cabaret` | CABARET | -| `Chevron` | CHEVRON | -| `Classroom` | CLASSROOM | -| `Conference` | CONFERENCE | -| `CrescentRounds` | CRESCENT_ROUNDS | -| `EightByTen` | EIGHT_BY_TEN | -| `Flow` | FLOW | -| `Herringbone` | HERRINGBONE | -| `HollowSquare` | HOLLOW_SQUARE | -| `Island` | ISLAND | -| `Offsite` | OFFSITE | -| `Other` | OTHER | -| `Peninsula` | PENINSULA | -| `Plated` | PLATED | -| `Reception` | RECEPTION | -| `Rounds` | ROUNDS | -| `RoundsOf10` | ROUNDS_OF_10 | -| `RoundsOf6` | ROUNDS_OF_6 | -| `RoundsOf8` | ROUNDS_OF_8 | -| `SchoolRoom` | SCHOOL_ROOM | -| `Tabletop` | TABLETOP | -| `TenByTen` | TEN_BY_TEN | -| `Theater` | THEATER | -| `TShaped` | T_SHAPED | -| `UShaped` | U_SHAPED | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AgendaItemType.md b/packages/csharp/docs/Models/Components/AgendaItemType.md new file mode 100644 index 000000000..11c9fc9c3 --- /dev/null +++ b/packages/csharp/docs/Models/Components/AgendaItemType.md @@ -0,0 +1,36 @@ +# AgendaItemType + +Type of the agenda. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = AgendaItemType.Break; +``` + + +## Values + +| Name | Value | +| ------------------ | ------------------ | +| `Break` | BREAK | +| `Breakfast` | BREAKFAST | +| `Breakout` | BREAKOUT | +| `Dinner` | DINNER | +| `Exhibit` | EXHIBIT | +| `GeneralSession` | GENERAL_SESSION | +| `HospitalityDesk` | HOSPITALITY_DESK | +| `HospitalitySuite` | HOSPITALITY_SUITE | +| `Lunch` | LUNCH | +| `Meeting` | MEETING | +| `Office` | OFFICE | +| `Other` | OTHER | +| `Reception` | RECEPTION | +| `Registration` | REGISTRATION | +| `Setup` | SETUP | +| `Snack` | SNACK | +| `SpeakerRoom` | SPEAKER_ROOM | +| `StorageRoom` | STORAGE_ROOM | +| `Teardown` | TEARDOWN | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AgendaItemTypeJson.md b/packages/csharp/docs/Models/Components/AgendaItemTypeJson.md deleted file mode 100644 index 2121bb783..000000000 --- a/packages/csharp/docs/Models/Components/AgendaItemTypeJson.md +++ /dev/null @@ -1,36 +0,0 @@ -# AgendaItemTypeJson - -Type of the agenda. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = AgendaItemTypeJson.Break; -``` - - -## Values - -| Name | Value | -| ------------------ | ------------------ | -| `Break` | BREAK | -| `Breakfast` | BREAKFAST | -| `Breakout` | BREAKOUT | -| `Dinner` | DINNER | -| `Exhibit` | EXHIBIT | -| `GeneralSession` | GENERAL_SESSION | -| `HospitalityDesk` | HOSPITALITY_DESK | -| `HospitalitySuite` | HOSPITALITY_SUITE | -| `Lunch` | LUNCH | -| `Meeting` | MEETING | -| `Office` | OFFICE | -| `Other` | OTHER | -| `Reception` | RECEPTION | -| `Registration` | REGISTRATION | -| `Setup` | SETUP | -| `Snack` | SNACK | -| `SpeakerRoom` | SPEAKER_ROOM | -| `StorageRoom` | STORAGE_ROOM | -| `Teardown` | TEARDOWN | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AmenityType.md b/packages/csharp/docs/Models/Components/AmenityType.md new file mode 100644 index 000000000..fa0446344 --- /dev/null +++ b/packages/csharp/docs/Models/Components/AmenityType.md @@ -0,0 +1,20 @@ +# AmenityType + +Amenity type + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = AmenityType.IncludedAmenity; +``` + + +## Values + +| Name | Value | +| ------------------- | ------------------- | +| `IncludedAmenity` | included_amenity | +| `Amenity` | amenity | +| `BundledSupplement` | bundled_supplement | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AmenityTypeJson.md b/packages/csharp/docs/Models/Components/AmenityTypeJson.md deleted file mode 100644 index dbb8ae198..000000000 --- a/packages/csharp/docs/Models/Components/AmenityTypeJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# AmenityTypeJson - -Amenity type - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = AmenityTypeJson.IncludedAmenity; -``` - - -## Values - -| Name | Value | -| ------------------- | ------------------- | -| `IncludedAmenity` | included_amenity | -| `Amenity` | amenity | -| `BundledSupplement` | bundled_supplement | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AppointmentWithQuestions.md b/packages/csharp/docs/Models/Components/AppointmentWithQuestions.md index 5debf0cff..fe3365999 100644 --- a/packages/csharp/docs/Models/Components/AppointmentWithQuestions.md +++ b/packages/csharp/docs/Models/Components/AppointmentWithQuestions.md @@ -26,4 +26,4 @@ Details of an event appointment including questions. | `EnforceScheduleRules` | *bool* | :heavy_minus_sign: | True indicates that existing schedule rules were enforced when the appointment was created. | false | | ~~`Modified`~~ | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated please use - lastModified | 2019-04-12T15:30:00.000Z | | `Deleted` | *bool* | :heavy_minus_sign: | True indicates the appointment has been logically deleted. | false | -| `Questions` | List<[CustomFieldJson1](../../Models/Components/CustomFieldJson1.md)> | :heavy_minus_sign: | Collection of custom questions asked to participants of the appointment. | | \ No newline at end of file +| `Questions` | List<[CustomFieldJson](../../Models/Components/CustomFieldJson.md)> | :heavy_minus_sign: | Collection of custom questions asked to participants of the appointment. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AssetLocation.md b/packages/csharp/docs/Models/Components/AssetLocation.md new file mode 100644 index 000000000..6585b5d05 --- /dev/null +++ b/packages/csharp/docs/Models/Components/AssetLocation.md @@ -0,0 +1,10 @@ +# AssetLocation + +A URL associated with the asset. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | +| `Href` | *string* | :heavy_check_mark: | A pre-signed URL with an expiration of 2 hours to the asset's location. | https://ap-southeast-2.example.com/sign2-bucket-hchq3nwuo8ns/sign-demo.json?X-Exa-Date=20170125T044127Z&X-Exa-Expires=60&X-Exa-Signature=24db05 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AssetLocationInput.md b/packages/csharp/docs/Models/Components/AssetLocationInput.md new file mode 100644 index 000000000..173c72e63 --- /dev/null +++ b/packages/csharp/docs/Models/Components/AssetLocationInput.md @@ -0,0 +1,9 @@ +# AssetLocationInput + +A URL associated with the asset. + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AssetLocationJson.md b/packages/csharp/docs/Models/Components/AssetLocationJson.md deleted file mode 100644 index ec5e07bf6..000000000 --- a/packages/csharp/docs/Models/Components/AssetLocationJson.md +++ /dev/null @@ -1,10 +0,0 @@ -# AssetLocationJson - -A URL associated with the asset. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | -| `Href` | *string* | :heavy_check_mark: | A pre-signed URL with an expiration of 2 hours to the asset's location. | https://ap-southeast-2.example.com/sign2-bucket-hchq3nwuo8ns/sign-demo.json?X-Exa-Date=20170125T044127Z&X-Exa-Expires=60&X-Exa-Signature=24db05 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AssetLocationJsonInput.md b/packages/csharp/docs/Models/Components/AssetLocationJsonInput.md deleted file mode 100644 index ee14621e9..000000000 --- a/packages/csharp/docs/Models/Components/AssetLocationJsonInput.md +++ /dev/null @@ -1,9 +0,0 @@ -# AssetLocationJsonInput - -A URL associated with the asset. - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AttachmentSource.md b/packages/csharp/docs/Models/Components/AttachmentSource.md new file mode 100644 index 000000000..1a8cf9452 --- /dev/null +++ b/packages/csharp/docs/Models/Components/AttachmentSource.md @@ -0,0 +1,22 @@ +# AttachmentSource + +The source from where the attachment was uploaded. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = AttachmentSource.FileCopyAdminLibrary; +``` + + +## Values + +| Name | Value | +| ---------------------------- | ---------------------------- | +| `FileCopyAdminLibrary` | FILE_COPY_ADMIN_LIBRARY | +| `FileUploadLinkUrl` | FILE_UPLOAD_LINK_URL | +| `FileUploadToCustomDrive` | FILE_UPLOAD_TO_CUSTOM_DRIVE | +| `FileUploadToTempLocation` | FILE_UPLOAD_TO_TEMP_LOCATION | +| `UserDocumentLinkUrl` | USER_DOCUMENT_LINK_URL | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AttachmentSourceJson.md b/packages/csharp/docs/Models/Components/AttachmentSourceJson.md deleted file mode 100644 index c44368716..000000000 --- a/packages/csharp/docs/Models/Components/AttachmentSourceJson.md +++ /dev/null @@ -1,22 +0,0 @@ -# AttachmentSourceJson - -The source from where the attachment was uploaded. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = AttachmentSourceJson.FileCopyAdminLibrary; -``` - - -## Values - -| Name | Value | -| ---------------------------- | ---------------------------- | -| `FileCopyAdminLibrary` | FILE_COPY_ADMIN_LIBRARY | -| `FileUploadLinkUrl` | FILE_UPLOAD_LINK_URL | -| `FileUploadToCustomDrive` | FILE_UPLOAD_TO_CUSTOM_DRIVE | -| `FileUploadToTempLocation` | FILE_UPLOAD_TO_TEMP_LOCATION | -| `UserDocumentLinkUrl` | USER_DOCUMENT_LINK_URL | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Attendee.md b/packages/csharp/docs/Models/Components/Attendee.md new file mode 100644 index 000000000..ce13f6863 --- /dev/null +++ b/packages/csharp/docs/Models/Components/Attendee.md @@ -0,0 +1,10 @@ +# Attendee + +The reference to the attendee. Contains only the ID of the attendee. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | Unique identifier of the primary invitee for the current attendee's registration. | 5b0e8d1f-8fd6-4ebe-977a-602b4a1f9c43 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Attendee1.md b/packages/csharp/docs/Models/Components/Attendee1.md deleted file mode 100644 index ba2b16f13..000000000 --- a/packages/csharp/docs/Models/Components/Attendee1.md +++ /dev/null @@ -1,54 +0,0 @@ -# Attendee1 - -An event attendee. - - -## 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 | -| `Id` | *string* | :heavy_minus_sign: | The ID of attendee in the given event. | | -| `Event` | [AttendeeEvent](../../Models/Components/AttendeeEvent.md) | :heavy_minus_sign: | The attendee's associated event. | | -| `ConfirmationNumber` | *string* | :heavy_minus_sign: | The confirmation number is a code unique to each attendee. Cvent assigns one to the attendee upon registration for the event. Serves as proof of registration. | VNNDLJ6DKVK | -| `Contact` | [AttendeeContactInfo](../../Models/Components/AttendeeContactInfo.md) | :heavy_minus_sign: | Information about attendee contact added to an event. | | -| `CheckedIn` | *bool* | :heavy_minus_sign: | True indicates the attendee checked in to the event. | true | -| ~~`Checkin`~~ | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The date time when attendee was checked in to an event. Note: this field is deprecated. Please use the `checkIn` field instead. | 2018-01-13T02:00:00Z | -| `CheckIn` | [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 attendee was checked in to an event. | 2018-01-13T02:00:00Z | -| `CheckOut` | [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 attendee checked out from an event. | 2018-01-13T02:00:00Z | -| `Duration` | *long* | :heavy_minus_sign: | The duration, in milliseconds, the attendee was present at the event. | 4000 | -| `RegistrationPath` | [Lookup](../../Models/Components/Lookup.md) | :heavy_minus_sign: | Lookup response object | | -| `InvitationList` | [NamedObject](../../Models/Components/NamedObject.md) | :heavy_minus_sign: | A Named object | | -| `WebLinks` | [AttendeeWebLinks](../../Models/Components/AttendeeWebLinks.md) | :heavy_minus_sign: | Web links for an attendee. | | -| `RegistrationType` | [Lookup](../../Models/Components/Lookup.md) | :heavy_minus_sign: | Lookup response object | | -| `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-plannerside | -| `ExternalReferences` | List<[ExternalReference](../../Models/Components/ExternalReference.md)> | :heavy_minus_sign: | The details of an attendee in an external systems. | | -| `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. | -| `Guest` | *bool* | :heavy_minus_sign: | True indicates the attendee is a guest of another attendee. | true | -| `DeletedGuest` | *bool* | :heavy_minus_sign: | True indicates this attendee is a deleted guest. | false | -| `PrimaryId` | *string* | :heavy_minus_sign: | The ID of the primary attendee to whom this guest attendee is associated. Only applicable if this attendee is a guest. | | -| `Group` | [AttendeeGroup](../../Models/Components/AttendeeGroup.md) | :heavy_minus_sign: | An attendee group. | | -| `Administrator` | [Uuid](../../Models/Components/Uuid.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | -| ~~`Unsubscribed`~~ | *bool* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

DEPRECATED: True indicates this attendee is unsubscribed from this event's emails. They'll still receive emails triggered by their own actions (like registration modification). This field has been deprecated. Please use PUT /attendees/{id}/email-subscriptions instead. | false | -| `Status` | [AttendeeStatus](../../Models/Components/AttendeeStatus.md) | :heavy_minus_sign: | This is used to denote the status of an attendee. | Accepted | -| `RegisteredAt` | [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 attendee was registered. | 2018-01-13T02:00:00Z | -| `RegistrationLastModified` | [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 attendee's registration was modified. This field is updated when there are changes to the registration, such as adding or removing products. | 2018-01-13T02:00:00Z | -| `RegistrationCancelledAt` | [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 attendee registration was cancelled. | 2018-01-13T02:00:00Z | -| `InvitedBy` | [AttendeeInvitedBy1](../../Models/Components/AttendeeInvitedBy1.md) | :heavy_minus_sign: | Method by which the attendee was invited to the event. | Planner-Invited | -| `ResponseMethod` | [AttendeeResponseMethod1](../../Models/Components/AttendeeResponseMethod1.md) | :heavy_minus_sign: | Represents the method by which an attendee registered for the event.

- Administrator Responded: The invitee was registered by another contact acting as their administrator.
- API-Responded: The invitee was registered through a custom process configured via an API integration.
- Appointments Event Website: The invitee registered via an appointments event website.
- Cvent Salesforce App: The invitee registered through an action in the Cvent Salesforce App.
- External Registration: The attendee was registered through an external integration, such as Marketo.
- Group Leader Responded: The invitee was registered by a group leader and added to a group.
- Historical Import: The invitee's registration was imported into the event as historical data.
- Imported: The invitee's registration was imported into the event.
- No Response: The invitee has not registered.
- On-site Responded: The invitee registered onsite using OnArrival's Kiosk Mode.
- Planner-Imported: An account user imported the invitee's registration into the event.
- Planner-Responded: An account user registered the invitee from the Cvent back-end or the planner-side of the OnArrival app.
- Post Event: The invitee was registered by an account user after the event's end date or while the event was in Completed status.
- Self-Responded: The invitee registered themselves through a weblink or invitation.

Note: The responseMethod can only be set if the invitee's status is No Response. | Self-Responded | -| ~~`Questions`~~ | List<[CustomFieldSchema](../../Models/Components/CustomFieldSchema.md)> | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

A list of answers to contact custom fields. Note: This field is deprecated. Answers to custom contact fields can be found in the 'contact' model, `customFields` field instead. | | -| `Answers` | List<[AttendeeAnswer](../../Models/Components/AttendeeAnswer.md)> | :heavy_minus_sign: | The list of answers to the registration questions. | | -| `AdmissionItem` | [AttendeeLookup](../../Models/Components/AttendeeLookup.md) | :heavy_minus_sign: | Contains details related to the attendee's admission item. | | -| `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 | -| `Bio` | *string* | :heavy_minus_sign: | The attendee's biographical writeup. | In west Philadelphia, born and raised, on the playground is where I spent most of my days. | -| ~~`ShowPopupNotification`~~ | *bool* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Notification setting in the Attendee Hub app or website. Note: This field is deprecated. Use `allowPushNotification` field instead. | false | -| `WebsiteUrl` | *string* | :heavy_minus_sign: | An attendee's website URL, appears on their profile. | https://www.example.com | -| `AllowPushNotifications` | *bool* | :heavy_minus_sign: | True indicates attendee will recieve push notifications for session-schedule changes, promotions and other event activities in the Attendee Hub app. | false | -| `AllowAppointmentPushNotifications` | *bool* | :heavy_minus_sign: | True indicaites attendee will recieve push notifications for appointments related activities in the Attendee Hub app. | false | -| `TestRecord` | *bool* | :heavy_minus_sign: | True indicates this attendee record was created as part of a test scenario. | false | -| `AttendeeLastModified` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 zoned date-time indicates when the attendee's non-contact properties were modified. Updates to the attendee's contact properties do not update this field. This field is updated when planners or attendees make changes to the attendee record, such as flagging as a participant. It is not updated for registration or product changes. | 2018-01-13T02:00:00Z | -| `AppointmentGroups` | List<[AppointmentGroup](../../Models/Components/AppointmentGroup.md)> | :heavy_minus_sign: | List of appointment groups associated with attendee. These control permissions and visibility in appointments associated with the event. | | -| `Credit` | *double* | :heavy_minus_sign: | The amount of credit associated with the attendee. | 10 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Attendee11.md b/packages/csharp/docs/Models/Components/Attendee11.md index 2909cf27b..ba4afd861 100644 --- a/packages/csharp/docs/Models/Components/Attendee11.md +++ b/packages/csharp/docs/Models/Components/Attendee11.md @@ -1,10 +1,54 @@ # Attendee11 -The associated Attendee. +An event attendee. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `Id` | *string* | :heavy_check_mark: | Attendee id | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ 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 | +| `Id` | *string* | :heavy_minus_sign: | The ID of attendee in the given event. | | +| `Event` | [Attendee1Event](../../Models/Components/Attendee1Event.md) | :heavy_minus_sign: | The attendee's associated event. | | +| `ConfirmationNumber` | *string* | :heavy_minus_sign: | The confirmation number is a code unique to each attendee. Cvent assigns one to the attendee upon registration for the event. Serves as proof of registration. | VNNDLJ6DKVK | +| `Contact` | [AttendeeContactInfo](../../Models/Components/AttendeeContactInfo.md) | :heavy_minus_sign: | Information about attendee contact added to an event. | | +| `CheckedIn` | *bool* | :heavy_minus_sign: | True indicates the attendee checked in to the event. | true | +| ~~`Checkin`~~ | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The date time when attendee was checked in to an event. Note: this field is deprecated. Please use the `checkIn` field instead. | 2018-01-13T02:00:00Z | +| `CheckIn` | [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 attendee was checked in to an event. | 2018-01-13T02:00:00Z | +| `CheckOut` | [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 attendee checked out from an event. | 2018-01-13T02:00:00Z | +| `Duration` | *long* | :heavy_minus_sign: | The duration, in milliseconds, the attendee was present at the event. | 4000 | +| `RegistrationPath` | [Lookup](../../Models/Components/Lookup.md) | :heavy_minus_sign: | Lookup response object | | +| `InvitationList` | [NamedObject](../../Models/Components/NamedObject.md) | :heavy_minus_sign: | A Named object | | +| `WebLinks` | [AttendeeWebLinks](../../Models/Components/AttendeeWebLinks.md) | :heavy_minus_sign: | Web links for an attendee. | | +| `RegistrationType` | [Lookup](../../Models/Components/Lookup.md) | :heavy_minus_sign: | Lookup response object | | +| `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-plannerside | +| `ExternalReferences` | List<[ExternalReference](../../Models/Components/ExternalReference.md)> | :heavy_minus_sign: | The details of an attendee in an external systems. | | +| `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. | +| `Guest` | *bool* | :heavy_minus_sign: | True indicates the attendee is a guest of another attendee. | true | +| `DeletedGuest` | *bool* | :heavy_minus_sign: | True indicates this attendee is a deleted guest. | false | +| `PrimaryId` | *string* | :heavy_minus_sign: | The ID of the primary attendee to whom this guest attendee is associated. Only applicable if this attendee is a guest. | | +| `Group` | [AttendeeGroup](../../Models/Components/AttendeeGroup.md) | :heavy_minus_sign: | An attendee group. | | +| `Administrator` | [Uuid](../../Models/Components/Uuid.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | +| ~~`Unsubscribed`~~ | *bool* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

DEPRECATED: True indicates this attendee is unsubscribed from this event's emails. They'll still receive emails triggered by their own actions (like registration modification). This field has been deprecated. Please use PUT /attendees/{id}/email-subscriptions instead. | false | +| `Status` | [AttendeeStatus](../../Models/Components/AttendeeStatus.md) | :heavy_minus_sign: | This is used to denote the status of an attendee. | Accepted | +| `RegisteredAt` | [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 attendee was registered. | 2018-01-13T02:00:00Z | +| `RegistrationLastModified` | [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 attendee's registration was modified. This field is updated when there are changes to the registration, such as adding or removing products. | 2018-01-13T02:00:00Z | +| `RegistrationCancelledAt` | [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 attendee registration was cancelled. | 2018-01-13T02:00:00Z | +| `InvitedBy` | [AttendeeInvitedBy1](../../Models/Components/AttendeeInvitedBy1.md) | :heavy_minus_sign: | Method by which the attendee was invited to the event. | Planner-Invited | +| `ResponseMethod` | [AttendeeResponseMethod1](../../Models/Components/AttendeeResponseMethod1.md) | :heavy_minus_sign: | Represents the method by which an attendee registered for the event.

- Administrator Responded: The invitee was registered by another contact acting as their administrator.
- API-Responded: The invitee was registered through a custom process configured via an API integration.
- Appointments Event Website: The invitee registered via an appointments event website.
- Cvent Salesforce App: The invitee registered through an action in the Cvent Salesforce App.
- External Registration: The attendee was registered through an external integration, such as Marketo.
- Group Leader Responded: The invitee was registered by a group leader and added to a group.
- Historical Import: The invitee's registration was imported into the event as historical data.
- Imported: The invitee's registration was imported into the event.
- No Response: The invitee has not registered.
- On-site Responded: The invitee registered onsite using OnArrival's Kiosk Mode.
- Planner-Imported: An account user imported the invitee's registration into the event.
- Planner-Responded: An account user registered the invitee from the Cvent back-end or the planner-side of the OnArrival app.
- Post Event: The invitee was registered by an account user after the event's end date or while the event was in Completed status.
- Self-Responded: The invitee registered themselves through a weblink or invitation.

Note: The responseMethod can only be set if the invitee's status is No Response. | Self-Responded | +| ~~`Questions`~~ | List<[CustomFieldSchema](../../Models/Components/CustomFieldSchema.md)> | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

A list of answers to contact custom fields. Note: This field is deprecated. Answers to custom contact fields can be found in the 'contact' model, `customFields` field instead. | | +| `Answers` | List<[AttendeeAnswer](../../Models/Components/AttendeeAnswer.md)> | :heavy_minus_sign: | The list of answers to the registration questions. | | +| `AdmissionItem` | [Attendee1Lookup](../../Models/Components/Attendee1Lookup.md) | :heavy_minus_sign: | Contains details related to the attendee's admission item. | | +| `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 | +| `Bio` | *string* | :heavy_minus_sign: | The attendee's biographical writeup. | In west Philadelphia, born and raised, on the playground is where I spent most of my days. | +| ~~`ShowPopupNotification`~~ | *bool* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Notification setting in the Attendee Hub app or website. Note: This field is deprecated. Use `allowPushNotification` field instead. | false | +| `WebsiteUrl` | *string* | :heavy_minus_sign: | An attendee's website URL, appears on their profile. | https://www.example.com | +| `AllowPushNotifications` | *bool* | :heavy_minus_sign: | True indicates attendee will recieve push notifications for session-schedule changes, promotions and other event activities in the Attendee Hub app. | false | +| `AllowAppointmentPushNotifications` | *bool* | :heavy_minus_sign: | True indicaites attendee will recieve push notifications for appointments related activities in the Attendee Hub app. | false | +| `TestRecord` | *bool* | :heavy_minus_sign: | True indicates this attendee record was created as part of a test scenario. | false | +| `AttendeeLastModified` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 zoned date-time indicates when the attendee's non-contact properties were modified. Updates to the attendee's contact properties do not update this field. This field is updated when planners or attendees make changes to the attendee record, such as flagging as a participant. It is not updated for registration or product changes. | 2018-01-13T02:00:00Z | +| `AppointmentGroups` | List<[AppointmentGroup](../../Models/Components/AppointmentGroup.md)> | :heavy_minus_sign: | List of appointment groups associated with attendee. These control permissions and visibility in appointments associated with the event. | | +| `Credit` | *double* | :heavy_minus_sign: | The amount of credit associated with the attendee. | 10 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Attendee12.md b/packages/csharp/docs/Models/Components/Attendee12.md index c59d9cfb1..2ea35ad45 100644 --- a/packages/csharp/docs/Models/Components/Attendee12.md +++ b/packages/csharp/docs/Models/Components/Attendee12.md @@ -1,10 +1,10 @@ # Attendee12 -A JSON schema representing the Attendee object +The associated Attendee. ## Fields | Field | Type | Required | Description | Example | | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `Id` | *string* | :heavy_minus_sign: | Attendee id | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `Id` | *string* | :heavy_check_mark: | Attendee id | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Attendee13.md b/packages/csharp/docs/Models/Components/Attendee13.md new file mode 100644 index 000000000..8a3c9a99a --- /dev/null +++ b/packages/csharp/docs/Models/Components/Attendee13.md @@ -0,0 +1,10 @@ +# Attendee13 + +A JSON schema representing the Attendee object + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `Id` | *string* | :heavy_minus_sign: | Attendee id | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Attendee1Event.md b/packages/csharp/docs/Models/Components/Attendee1Event.md new file mode 100644 index 000000000..a8de272c7 --- /dev/null +++ b/packages/csharp/docs/Models/Components/Attendee1Event.md @@ -0,0 +1,10 @@ +# Attendee1Event + +The attendee's associated event. + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `Id` | *string* | :heavy_minus_sign: | The event ID. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Attendee1Lookup.md b/packages/csharp/docs/Models/Components/Attendee1Lookup.md new file mode 100644 index 000000000..5739beb3a --- /dev/null +++ b/packages/csharp/docs/Models/Components/Attendee1Lookup.md @@ -0,0 +1,12 @@ +# Attendee1Lookup + +Contains details related to the attendee's admission item. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `Code` | *string* | :heavy_minus_sign: | Code / Abbreviation of the lookup item. | MU | +| `Name` | *string* | :heavy_minus_sign: | Name of the lookup item. | Meet up | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Attendee2.md b/packages/csharp/docs/Models/Components/Attendee2.md index b0f89907f..7db463d34 100644 --- a/packages/csharp/docs/Models/Components/Attendee2.md +++ b/packages/csharp/docs/Models/Components/Attendee2.md @@ -5,6 +5,6 @@ The reference to the attendee. Contains only the ID of the attendee. ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | Unique identifier of the primary invitee for the current attendee's registration. | 5b0e8d1f-8fd6-4ebe-977a-602b4a1f9c43 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `Id` | *string* | :heavy_check_mark: | Attendee ID. | 5b0e8d1f-8fd6-4ebe-977a-602b4a1f9c43 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AttendeeAddBulkItemEventJsonErrorResponse.md b/packages/csharp/docs/Models/Components/AttendeeAddBulkItemEventJsonErrorResponse.md index 3b094fd6f..7a15971e2 100644 --- a/packages/csharp/docs/Models/Components/AttendeeAddBulkItemEventJsonErrorResponse.md +++ b/packages/csharp/docs/Models/Components/AttendeeAddBulkItemEventJsonErrorResponse.md @@ -11,4 +11,4 @@ Represents an error response for the checkin APIs with additional details of cas | `Code` | *long* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | | `Message` | *string* | :heavy_check_mark: | A brief description of the error. | Bad Request | | `Target` | *string* | :heavy_minus_sign: | The target resource of the error. | example target | -| `Details` | List<[ZeroAllOf8](../../Models/Components/ZeroAllOf8.md)> | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file +| `Details` | List<[ZeroAllOf7](../../Models/Components/ZeroAllOf7.md)> | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AttendeeAddBulkItemJsonData.md b/packages/csharp/docs/Models/Components/AttendeeAddBulkItemJsonData.md index f8da61b4a..ffe777294 100644 --- a/packages/csharp/docs/Models/Components/AttendeeAddBulkItemJsonData.md +++ b/packages/csharp/docs/Models/Components/AttendeeAddBulkItemJsonData.md @@ -9,8 +9,8 @@ AttendeeAddBulkItemJsonData.CreateZeroOneOf2(/* values here */); ``` -### ErrorResponse1 +### ErrorResponse2 ```csharp -AttendeeAddBulkItemJsonData.CreateErrorResponse1(/* values here */); +AttendeeAddBulkItemJsonData.CreateErrorResponse2(/* values here */); ``` diff --git a/packages/csharp/docs/Models/Components/AttendeeContactInfo.md b/packages/csharp/docs/Models/Components/AttendeeContactInfo.md index 8652e98da..67123c430 100644 --- a/packages/csharp/docs/Models/Components/AttendeeContactInfo.md +++ b/packages/csharp/docs/Models/Components/AttendeeContactInfo.md @@ -25,10 +25,10 @@ Information about attendee contact added to an event. | `Type` | [AttendeeContactType](../../Models/Components/AttendeeContactType.md) | :heavy_minus_sign: | Contains details related to the attendee's contact type. | | | ~~`Membership`~~ | [AttendeeContactMembership](../../Models/Components/AttendeeContactMembership.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Attendee's contact membership information. Note: This field is deprecated. Previous documentation incorrectly listed support for this feature. | | | `PrimaryAddressType` | [AddressType](../../Models/Components/AddressType.md) | :heavy_minus_sign: | The type of address. | Home | -| `HomeAddress` | [Address11](../../Models/Components/Address11.md) | :heavy_minus_sign: | Address details | | +| `HomeAddress` | [Address3](../../Models/Components/Address3.md) | :heavy_minus_sign: | Address details | | | `HomePhone` | *string* | :heavy_minus_sign: | Home phone number | 555-555-5555 | | `HomeFax` | *string* | :heavy_minus_sign: | Home FAX number | 555-555-5555 | -| `WorkAddress` | [Address11](../../Models/Components/Address11.md) | :heavy_minus_sign: | Address details | | +| `WorkAddress` | [Address3](../../Models/Components/Address3.md) | :heavy_minus_sign: | Address details | | | `WorkPhone` | *string* | :heavy_minus_sign: | Work phone number | 555-555-5555 | | `WorkFax` | *string* | :heavy_minus_sign: | Work FAX number | 555-555-5555 | | `OptOut` | [OptOut](../../Models/Components/OptOut.md) | :heavy_minus_sign: | Opt-out choices. | | diff --git a/packages/csharp/docs/Models/Components/AttendeeContactTypeInput.md b/packages/csharp/docs/Models/Components/AttendeeContactTypeInput.md new file mode 100644 index 000000000..11eda6228 --- /dev/null +++ b/packages/csharp/docs/Models/Components/AttendeeContactTypeInput.md @@ -0,0 +1,10 @@ +# AttendeeContactTypeInput + +Contains details related to the attendee's contact type. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the contact type | 861B51EC-AA7E-475F-B38D-4C8E35C47D63 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AttendeeContactTypeJson.md b/packages/csharp/docs/Models/Components/AttendeeContactTypeJson.md deleted file mode 100644 index 8a00a699a..000000000 --- a/packages/csharp/docs/Models/Components/AttendeeContactTypeJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# AttendeeContactTypeJson - -Contains details related to the attendee's contact type. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the contact type | 861B51EC-AA7E-475F-B38D-4C8E35C47D63 | -| `Name` | *string* | :heavy_minus_sign: | A descriptive name for the contact type | VIP Member | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AttendeeContactTypeJsonInput.md b/packages/csharp/docs/Models/Components/AttendeeContactTypeJsonInput.md deleted file mode 100644 index 334c56c44..000000000 --- a/packages/csharp/docs/Models/Components/AttendeeContactTypeJsonInput.md +++ /dev/null @@ -1,10 +0,0 @@ -# AttendeeContactTypeJsonInput - -Contains details related to the attendee's contact type. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the contact type | 861B51EC-AA7E-475F-B38D-4C8E35C47D63 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AttendeeEvent.md b/packages/csharp/docs/Models/Components/AttendeeEvent.md deleted file mode 100644 index a45aa9d87..000000000 --- a/packages/csharp/docs/Models/Components/AttendeeEvent.md +++ /dev/null @@ -1,10 +0,0 @@ -# AttendeeEvent - -The attendee's associated event. - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `Id` | *string* | :heavy_minus_sign: | The event ID. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AttendeeInsights.md b/packages/csharp/docs/Models/Components/AttendeeInsights.md index a6d157bd8..0a22761d8 100644 --- a/packages/csharp/docs/Models/Components/AttendeeInsights.md +++ b/packages/csharp/docs/Models/Components/AttendeeInsights.md @@ -14,5 +14,5 @@ Attendee insights. | `Id` | *string* | :heavy_check_mark: | The identifier of the engagement score. | 3f1b949b-2f69-42e2-b205-3780f9a76eaf | | `Name` | *string* | :heavy_check_mark: | Name of the engagement score. | General Interest | | `Description` | *string* | :heavy_minus_sign: | Description of the engagement score. | A score to capture engagement for general attendees. | -| `Event` | [EventJson6](../../Models/Components/EventJson6.md) | :heavy_check_mark: | An event reference used in attendee insights to identify the event context for engagement data | | +| `Event` | [EventJson5](../../Models/Components/EventJson5.md) | :heavy_check_mark: | An event reference used in attendee insights to identify the event context for engagement data | | | `Default` | *bool* | :heavy_check_mark: | True indicates this is the default engagement score in the event. | false | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AttendeeLinkBulkResponseItemJsonData.md b/packages/csharp/docs/Models/Components/AttendeeLinkBulkResponseItemJsonData.md index ba7ec53d9..375cb64e3 100644 --- a/packages/csharp/docs/Models/Components/AttendeeLinkBulkResponseItemJsonData.md +++ b/packages/csharp/docs/Models/Components/AttendeeLinkBulkResponseItemJsonData.md @@ -9,8 +9,8 @@ AttendeeLinkBulkResponseItemJsonData.CreateExistingAttendeeLink(/* values here */); ``` -### ErrorResponse1 +### ErrorResponse2 ```csharp -AttendeeLinkBulkResponseItemJsonData.CreateErrorResponse1(/* values here */); +AttendeeLinkBulkResponseItemJsonData.CreateErrorResponse2(/* values here */); ``` diff --git a/packages/csharp/docs/Models/Components/AttendeeLookup.md b/packages/csharp/docs/Models/Components/AttendeeLookup.md deleted file mode 100644 index 0fe91ba68..000000000 --- a/packages/csharp/docs/Models/Components/AttendeeLookup.md +++ /dev/null @@ -1,12 +0,0 @@ -# AttendeeLookup - -Contains details related to the attendee's admission item. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `Code` | *string* | :heavy_minus_sign: | Code / Abbreviation of the lookup item. | MU | -| `Name` | *string* | :heavy_minus_sign: | Name of the lookup item. | Meet up | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AttendeePaginatedResponse.md b/packages/csharp/docs/Models/Components/AttendeePaginatedResponse.md index d91ed5c98..4b0e031c1 100644 --- a/packages/csharp/docs/Models/Components/AttendeePaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/AttendeePaginatedResponse.md @@ -8,4 +8,4 @@ The response from a request to get the list of attendees. This includes the pagi | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | | `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `Data` | List<[Attendee1](../../Models/Components/Attendee1.md)> | :heavy_check_mark: | Collection of attendees. | \ No newline at end of file +| `Data` | List<[Attendee11](../../Models/Components/Attendee11.md)> | :heavy_check_mark: | Collection of attendees. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Attendees.md b/packages/csharp/docs/Models/Components/Attendees.md index 6d1ebb8a5..f6f8651b5 100644 --- a/packages/csharp/docs/Models/Components/Attendees.md +++ b/packages/csharp/docs/Models/Components/Attendees.md @@ -9,8 +9,8 @@ Attendees.CreateAttendeeAddResponse(/* values here */); ``` -### ErrorResponse2 +### ErrorResponse1 ```csharp -Attendees.CreateErrorResponse2(/* values here */); +Attendees.CreateErrorResponse1(/* values here */); ``` diff --git a/packages/csharp/docs/Models/Components/AttendeesPaginatedResponse.md b/packages/csharp/docs/Models/Components/AttendeesPaginatedResponse.md new file mode 100644 index 000000000..0404f5827 --- /dev/null +++ b/packages/csharp/docs/Models/Components/AttendeesPaginatedResponse.md @@ -0,0 +1,11 @@ +# AttendeesPaginatedResponse + +A paginated response containing a list of attendees who have redeemed a voucher. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `Data` | List<[Attendee2](../../Models/Components/Attendee2.md)> | :heavy_check_mark: | Collection of attendees who have redeemed the voucher. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AudienceSegment.md b/packages/csharp/docs/Models/Components/AudienceSegment.md index 5484966cc..bae5d4081 100644 --- a/packages/csharp/docs/Models/Components/AudienceSegment.md +++ b/packages/csharp/docs/Models/Components/AudienceSegment.md @@ -7,6 +7,6 @@ Represents an audience segment. Audience segments are assigned to events and pro | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | -| `Event` | [EventJson1](../../Models/Components/EventJson1.md) | :heavy_check_mark: | ID of the event. | | +| `Event` | [EventJson](../../Models/Components/EventJson.md) | :heavy_check_mark: | ID of the event. | | | `Name` | *string* | :heavy_check_mark: | Name of the audience segment. Must be unique in the event where the segment exists. | VIP Attendees | | `Description` | *string* | :heavy_minus_sign: | Description of the audience segment. | A group of VIP attendees. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AudienceSegmentCreate.md b/packages/csharp/docs/Models/Components/AudienceSegmentCreate.md index 026a426cc..aa9b37826 100644 --- a/packages/csharp/docs/Models/Components/AudienceSegmentCreate.md +++ b/packages/csharp/docs/Models/Components/AudienceSegmentCreate.md @@ -7,7 +7,7 @@ Represents a request to create an audience segment. | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `Event` | [EventJson1](../../Models/Components/EventJson1.md) | :heavy_check_mark: | ID of the event. | | +| `Event` | [EventJson](../../Models/Components/EventJson.md) | :heavy_check_mark: | ID of the event. | | | `Name` | *string* | :heavy_check_mark: | Name of the audience segment. Must be unique in the event where the segment exists. | VIP Attendees | | `Description` | *string* | :heavy_minus_sign: | Description of the audience segment. | A group of VIP attendees. | | `CreationType` | [AudienceSegmentCreationTypeJson](../../Models/Components/AudienceSegmentCreationTypeJson.md) | :heavy_minus_sign: | Creation type of the audience segment. | MANUAL | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AudienceSegmentResponse.md b/packages/csharp/docs/Models/Components/AudienceSegmentResponse.md index ad35a4b9b..114f3e260 100644 --- a/packages/csharp/docs/Models/Components/AudienceSegmentResponse.md +++ b/packages/csharp/docs/Models/Components/AudienceSegmentResponse.md @@ -11,7 +11,7 @@ Details of an audience segment. | `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 | -| `Event` | [EventJson1](../../Models/Components/EventJson1.md) | :heavy_check_mark: | ID of the event. | | +| `Event` | [EventJson](../../Models/Components/EventJson.md) | :heavy_check_mark: | ID of the event. | | | `Name` | *string* | :heavy_check_mark: | Name of the audience segment. Must be unique in the event where the segment exists. | VIP Attendees | | `Description` | *string* | :heavy_minus_sign: | Description of the audience segment. | A group of VIP attendees. | | `Id` | *string* | :heavy_minus_sign: | ID of the audience segment. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | diff --git a/packages/csharp/docs/Models/Components/AudioTrackStatus.md b/packages/csharp/docs/Models/Components/AudioTrackStatus.md new file mode 100644 index 000000000..7119a69c7 --- /dev/null +++ b/packages/csharp/docs/Models/Components/AudioTrackStatus.md @@ -0,0 +1,25 @@ +# AudioTrackStatus + +Denotes the status of an audio track. Started indicates the request to upload in the API was submitted, and the URL you'll upload an audio track to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the audio track. Available indicates the audio track is available for use. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = AudioTrackStatus.Started; +``` + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `Started` | Started | +| `Uploaded` | Uploaded | +| `Scanning` | Scanning | +| `Scanned` | Scanned | +| `Syncing` | Syncing | +| `Rejected` | Rejected | +| `Error` | Error | +| `Available` | Available | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AudioTrackStatusJson.md b/packages/csharp/docs/Models/Components/AudioTrackStatusJson.md deleted file mode 100644 index 77c53a2d8..000000000 --- a/packages/csharp/docs/Models/Components/AudioTrackStatusJson.md +++ /dev/null @@ -1,25 +0,0 @@ -# AudioTrackStatusJson - -Denotes the status of an audio track. Started indicates the request to upload in the API was submitted, and the URL you'll upload an audio track to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the audio track. Available indicates the audio track is available for use. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = AudioTrackStatusJson.Started; -``` - - -## Values - -| Name | Value | -| ----------- | ----------- | -| `Started` | Started | -| `Uploaded` | Uploaded | -| `Scanning` | Scanning | -| `Scanned` | Scanned | -| `Syncing` | Syncing | -| `Rejected` | Rejected | -| `Error` | Error | -| `Available` | Available | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AudioTrackType.md b/packages/csharp/docs/Models/Components/AudioTrackType.md new file mode 100644 index 000000000..fb2457450 --- /dev/null +++ b/packages/csharp/docs/Models/Components/AudioTrackType.md @@ -0,0 +1,27 @@ +# AudioTrackType + +Denotes the file format of the audio track. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = AudioTrackType.Asf; +``` + + +## Values + +| Name | Value | +| ----- | ----- | +| `Asf` | asf | +| `Wma` | wma | +| `Wmv` | wmv | +| `Mp3` | mp3 | +| `Ts` | ts | +| `Mp4` | mp4 | +| `Mka` | mka | +| `Oga` | oga | +| `Mov` | mov | +| `Wav` | wav | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AudioTrackTypeJson.md b/packages/csharp/docs/Models/Components/AudioTrackTypeJson.md deleted file mode 100644 index 291da6c07..000000000 --- a/packages/csharp/docs/Models/Components/AudioTrackTypeJson.md +++ /dev/null @@ -1,27 +0,0 @@ -# AudioTrackTypeJson - -Denotes the file format of the audio track. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = AudioTrackTypeJson.Asf; -``` - - -## Values - -| Name | Value | -| ----- | ----- | -| `Asf` | asf | -| `Wma` | wma | -| `Wmv` | wmv | -| `Mp3` | mp3 | -| `Ts` | ts | -| `Mp4` | mp4 | -| `Mka` | mka | -| `Oga` | oga | -| `Mov` | mov | -| `Wav` | wav | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AudioTrackVariant.md b/packages/csharp/docs/Models/Components/AudioTrackVariant.md new file mode 100644 index 000000000..560271cef --- /dev/null +++ b/packages/csharp/docs/Models/Components/AudioTrackVariant.md @@ -0,0 +1,22 @@ +# AudioTrackVariant + +Denotes the variant of an audio track. Main is the primary audio track for this video. Alternate is a possible alternative to the main track. Commentary is a commentary on the primary audio or video track, e.g. a director's commentary. Dub is a translated version of the main audio track. Descriptive is an audio description of a video track. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = AudioTrackVariant.Main; +``` + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `Main` | Main | +| `Alternate` | Alternate | +| `Commentary` | Commentary | +| `Dub` | Dub | +| `Descriptive` | Descriptive | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AudioTrackVariantJson.md b/packages/csharp/docs/Models/Components/AudioTrackVariantJson.md deleted file mode 100644 index 955a11297..000000000 --- a/packages/csharp/docs/Models/Components/AudioTrackVariantJson.md +++ /dev/null @@ -1,22 +0,0 @@ -# AudioTrackVariantJson - -Denotes the variant of an audio track. Main is the primary audio track for this video. Alternate is a possible alternative to the main track. Commentary is a commentary on the primary audio or video track, e.g. a director's commentary. Dub is a translated version of the main audio track. Descriptive is an audio description of a video track. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = AudioTrackVariantJson.Main; -``` - - -## Values - -| Name | Value | -| ------------- | ------------- | -| `Main` | Main | -| `Alternate` | Alternate | -| `Commentary` | Commentary | -| `Dub` | Dub | -| `Descriptive` | Descriptive | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Badge.md b/packages/csharp/docs/Models/Components/Badge.md index da573dbe7..6bee85fe9 100644 --- a/packages/csharp/docs/Models/Components/Badge.md +++ b/packages/csharp/docs/Models/Components/Badge.md @@ -14,5 +14,5 @@ A JSON Schema for Badge object. | `Id` | *string* | :heavy_check_mark: | Id of a badge | abc123 | | `Status` | [BadgeStatus](../../Models/Components/BadgeStatus.md) | :heavy_check_mark: | Badge status | Active | | `Type` | [BadgeType](../../Models/Components/BadgeType.md) | :heavy_check_mark: | Badge type | Epc | -| `Attendee` | [Attendee11](../../Models/Components/Attendee11.md) | :heavy_check_mark: | The associated Attendee. | | -| `Event` | [Event21](../../Models/Components/Event21.md) | :heavy_check_mark: | The Associated Event. | | \ No newline at end of file +| `Attendee` | [Attendee12](../../Models/Components/Attendee12.md) | :heavy_check_mark: | The associated Attendee. | | +| `Event` | [Event3](../../Models/Components/Event3.md) | :heavy_check_mark: | The Associated Event. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BadgeInput.md b/packages/csharp/docs/Models/Components/BadgeInput.md index b8a88e9f2..5d59bb435 100644 --- a/packages/csharp/docs/Models/Components/BadgeInput.md +++ b/packages/csharp/docs/Models/Components/BadgeInput.md @@ -10,5 +10,5 @@ A JSON Schema for Badge object. | `Id` | *string* | :heavy_check_mark: | Id of a badge | abc123 | | `Status` | [BadgeStatus](../../Models/Components/BadgeStatus.md) | :heavy_check_mark: | Badge status | Active | | `Type` | [BadgeType](../../Models/Components/BadgeType.md) | :heavy_check_mark: | Badge type | Epc | -| `Attendee` | [Attendee11](../../Models/Components/Attendee11.md) | :heavy_check_mark: | The associated Attendee. | | -| `Event` | [Event21](../../Models/Components/Event21.md) | :heavy_check_mark: | The Associated Event. | | \ No newline at end of file +| `Attendee` | [Attendee12](../../Models/Components/Attendee12.md) | :heavy_check_mark: | The associated Attendee. | | +| `Event` | [Event3](../../Models/Components/Event3.md) | :heavy_check_mark: | The Associated Event. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BidItemStatusType.md b/packages/csharp/docs/Models/Components/BidItemStatusType.md new file mode 100644 index 000000000..f52fcd724 --- /dev/null +++ b/packages/csharp/docs/Models/Components/BidItemStatusType.md @@ -0,0 +1,21 @@ +# BidItemStatusType + +The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = BidItemStatusType.Requested; +``` + + +## Values + +| Name | Value | +| ----------------- | ----------------- | +| `Requested` | requested | +| `DeleteRequested` | delete_requested | +| `Deleted` | deleted | +| `NotAvailable` | not_available | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BidItemStatusTypeJson.md b/packages/csharp/docs/Models/Components/BidItemStatusTypeJson.md deleted file mode 100644 index 7f60ea97f..000000000 --- a/packages/csharp/docs/Models/Components/BidItemStatusTypeJson.md +++ /dev/null @@ -1,21 +0,0 @@ -# BidItemStatusTypeJson - -The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = BidItemStatusTypeJson.Requested; -``` - - -## Values - -| Name | Value | -| ----------------- | ----------------- | -| `Requested` | requested | -| `DeleteRequested` | delete_requested | -| `Deleted` | deleted | -| `NotAvailable` | not_available | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BidStatusType.md b/packages/csharp/docs/Models/Components/BidStatusType.md new file mode 100644 index 000000000..3049a7483 --- /dev/null +++ b/packages/csharp/docs/Models/Components/BidStatusType.md @@ -0,0 +1,20 @@ +# BidStatusType + +Bid stay type. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = BidStatusType.InProgress; +``` + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `InProgress` | in_progress | +| `Attached` | attached | +| `Deleted` | deleted | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BidStatusTypeJson.md b/packages/csharp/docs/Models/Components/BidStatusTypeJson.md deleted file mode 100644 index 16f483993..000000000 --- a/packages/csharp/docs/Models/Components/BidStatusTypeJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# BidStatusTypeJson - -Bid stay type. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = BidStatusTypeJson.InProgress; -``` - - -## Values - -| Name | Value | -| ------------ | ------------ | -| `InProgress` | in_progress | -| `Attached` | attached | -| `Deleted` | deleted | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BidStayType.md b/packages/csharp/docs/Models/Components/BidStayType.md new file mode 100644 index 000000000..482f54873 --- /dev/null +++ b/packages/csharp/docs/Models/Components/BidStayType.md @@ -0,0 +1,19 @@ +# BidStayType + +Bid stay type. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = BidStayType.Daily; +``` + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `Daily` | daily | +| `Extended` | extended | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BidStayTypeJson.md b/packages/csharp/docs/Models/Components/BidStayTypeJson.md deleted file mode 100644 index 07a8097e9..000000000 --- a/packages/csharp/docs/Models/Components/BidStayTypeJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# BidStayTypeJson - -Bid stay type. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = BidStayTypeJson.Daily; -``` - - -## Values - -| Name | Value | -| ---------- | ---------- | -| `Daily` | daily | -| `Extended` | extended | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BillingDetails1.md b/packages/csharp/docs/Models/Components/BillingDetails1.md new file mode 100644 index 000000000..76a7689c3 --- /dev/null +++ b/packages/csharp/docs/Models/Components/BillingDetails1.md @@ -0,0 +1,14 @@ +# BillingDetails1 + +Billing details for RFP. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `AdditionalInformation` | *string* | :heavy_minus_sign: | Information regarding billing. | Guest rooms will be a mix of IPO and RM&TX to master. Will submit rooming list with billing specified. Credit card will be provided as guarantee. | +| `ConcessionsContractualInfo` | *string* | :heavy_minus_sign: | Concessions and contractual information. | Request use of LOI or Express Agreement. | +| `RebateType` | [RebateType](../../Models/Components/RebateType.md) | :heavy_minus_sign: | Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will represent a percentage. | | +| `AcceptingRebatesAndIncentives` | *bool* | :heavy_minus_sign: | True indicates that rebates and incentives are accepted, applicable only for citywide RFPs. | | +| `RebateValue` | *double* | :heavy_minus_sign: | The value of the rebate. The impact of this value on the price is determined by `RebateType`. | 10 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BillingDetailsJson0.md b/packages/csharp/docs/Models/Components/BillingDetailsJson0.md deleted file mode 100644 index e2504e872..000000000 --- a/packages/csharp/docs/Models/Components/BillingDetailsJson0.md +++ /dev/null @@ -1,14 +0,0 @@ -# BillingDetailsJson0 - -Billing details for RFP. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `AdditionalInformation` | *string* | :heavy_minus_sign: | Information regarding billing. | Guest rooms will be a mix of IPO and RM&TX to master. Will submit rooming list with billing specified. Credit card will be provided as guarantee. | -| `ConcessionsContractualInfo` | *string* | :heavy_minus_sign: | Concessions and contractual information. | Request use of LOI or Express Agreement. | -| `RebateType` | [RebateTypeJson](../../Models/Components/RebateTypeJson.md) | :heavy_minus_sign: | Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will represent a percentage. | | -| `AcceptingRebatesAndIncentives` | *bool* | :heavy_minus_sign: | True indicates that rebates and incentives are accepted, applicable only for citywide RFPs. | | -| `RebateValue` | *double* | :heavy_minus_sign: | The value of the rebate. The impact of this value on the price is determined by `RebateType`. | 10 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BoothStaffRequest.md b/packages/csharp/docs/Models/Components/BoothStaffRequest.md index 0a33d886e..bc3be88e7 100644 --- a/packages/csharp/docs/Models/Components/BoothStaffRequest.md +++ b/packages/csharp/docs/Models/Components/BoothStaffRequest.md @@ -7,6 +7,6 @@ A JSON schema representing booth staff. | Field | Type | Required | Description | | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `Attendee` | [Attendee11](../../Models/Components/Attendee11.md) | :heavy_check_mark: | The associated Attendee. | -| `Event` | [Event21](../../Models/Components/Event21.md) | :heavy_check_mark: | The Associated Event. | +| `Attendee` | [Attendee12](../../Models/Components/Attendee12.md) | :heavy_check_mark: | The associated Attendee. | +| `Event` | [Event3](../../Models/Components/Event3.md) | :heavy_check_mark: | The Associated Event. | | `Exhibitor` | [Models.Components.Exhibitor](../../Models/Components/Exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BoothStaffResponse.md b/packages/csharp/docs/Models/Components/BoothStaffResponse.md index d20556a82..3b5fe3512 100644 --- a/packages/csharp/docs/Models/Components/BoothStaffResponse.md +++ b/packages/csharp/docs/Models/Components/BoothStaffResponse.md @@ -11,7 +11,7 @@ Booth staff with an associated ID. | `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` | [Attendee11](../../Models/Components/Attendee11.md) | :heavy_check_mark: | The associated Attendee. | | -| `Event` | [Event21](../../Models/Components/Event21.md) | :heavy_check_mark: | The Associated Event. | | +| `Attendee` | [Attendee12](../../Models/Components/Attendee12.md) | :heavy_check_mark: | The associated Attendee. | | +| `Event` | [Event3](../../Models/Components/Event3.md) | :heavy_check_mark: | The Associated Event. | | | `Exhibitor` | [Models.Components.Exhibitor](../../Models/Components/Exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | | `Id` | *string* | :heavy_minus_sign: | ID of an exhibitor booth staff member. | 4e0f5152-515e-11ee-be56-0242ac120002 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BounceDetailsJson.md b/packages/csharp/docs/Models/Components/BounceDetailsJson.md index 36f17fd06..a0750e5d2 100644 --- a/packages/csharp/docs/Models/Components/BounceDetailsJson.md +++ b/packages/csharp/docs/Models/Components/BounceDetailsJson.md @@ -16,6 +16,6 @@ Email bounce details. | `Subject` | *string* | :heavy_minus_sign: | Subject of email. | Invitation to the event | | `ProductLine` | [ProductLineJson](../../Models/Components/ProductLineJson.md) | :heavy_minus_sign: | Cvent product lines or additional features. | EVENT | | `ProductId` | *string* | :heavy_minus_sign: | Unique ID of the product. | 2A941E55-3367-4C50-B21B-B6A7613DFB23 | -| `EmailType` | [EmailTypeJson3](../../Models/Components/EmailTypeJson3.md) | :heavy_minus_sign: | Denotes the type of the email. | Invitation | +| `EmailType` | [EmailTypeJson1](../../Models/Components/EmailTypeJson1.md) | :heavy_minus_sign: | Denotes the type of the email. | Invitation | | `EmailId` | *string* | :heavy_minus_sign: | Unique ID of the email. | 2A941E55-3367-4C50-B21B-B6A7613DFB23 | | `Created` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 formatted date time (in UTC) when the email was sent. | 2023-01-01T02:00:00Z | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BounceDetailsResponse.md b/packages/csharp/docs/Models/Components/BounceDetailsResponse.md index 3c478163b..214cc423a 100644 --- a/packages/csharp/docs/Models/Components/BounceDetailsResponse.md +++ b/packages/csharp/docs/Models/Components/BounceDetailsResponse.md @@ -5,7 +5,7 @@ The response from a request to get the bounce details of an email. This includes ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `Paging` | [PagingNoTotalCountJson2](../../Models/Components/PagingNoTotalCountJson2.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `Data` | List<[BounceDetailsJson](../../Models/Components/BounceDetailsJson.md)> | :heavy_check_mark: | Bounce details. | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `Paging` | [PagingNoTotalCountJson](../../Models/Components/PagingNoTotalCountJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `Data` | List<[BounceDetailsJson](../../Models/Components/BounceDetailsJson.md)> | :heavy_check_mark: | Bounce details. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Brand.md b/packages/csharp/docs/Models/Components/Brand.md index 0663ecb81..12d271986 100644 --- a/packages/csharp/docs/Models/Components/Brand.md +++ b/packages/csharp/docs/Models/Components/Brand.md @@ -13,5 +13,5 @@ Brand details. | `LastModifiedBy` | *string* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | | `Id` | *string* | :heavy_minus_sign: | The ID of the travel supplier brand. | NorthernHotels | | `Name` | *string* | :heavy_minus_sign: | The name of the travel supplier brand. | Northern Hotel Group | -| `Address` | [AddressJson3](../../Models/Components/AddressJson3.md) | :heavy_minus_sign: | A physical address. | | +| `Address` | [AddressJson1](../../Models/Components/AddressJson1.md) | :heavy_minus_sign: | A physical address. | | | `Deleted` | *bool* | :heavy_minus_sign: | True indicates the brand is deleted. | false | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BrideGroomType.md b/packages/csharp/docs/Models/Components/BrideGroomType.md new file mode 100644 index 000000000..bcac2ea3a --- /dev/null +++ b/packages/csharp/docs/Models/Components/BrideGroomType.md @@ -0,0 +1,19 @@ +# BrideGroomType + +BrideGroomType + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = BrideGroomType.Bride; +``` + + +## Values + +| Name | Value | +| ------- | ------- | +| `Bride` | BRIDE | +| `Groom` | GROOM | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BrideGroomTypeJson0.md b/packages/csharp/docs/Models/Components/BrideGroomTypeJson0.md deleted file mode 100644 index 825424c50..000000000 --- a/packages/csharp/docs/Models/Components/BrideGroomTypeJson0.md +++ /dev/null @@ -1,19 +0,0 @@ -# BrideGroomTypeJson0 - -Bride groom type. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = BrideGroomTypeJson0.Bride; -``` - - -## Values - -| Name | Value | -| ------- | ------- | -| `Bride` | BRIDE | -| `Groom` | GROOM | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BusinessType.md b/packages/csharp/docs/Models/Components/BusinessType.md new file mode 100644 index 000000000..d07daa7cc --- /dev/null +++ b/packages/csharp/docs/Models/Components/BusinessType.md @@ -0,0 +1,19 @@ +# BusinessType + +Business type. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = BusinessType.Corporate; +``` + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `Corporate` | corporate | +| `Leisure` | leisure | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/BusinessTypeJson.md b/packages/csharp/docs/Models/Components/BusinessTypeJson.md deleted file mode 100644 index ded273097..000000000 --- a/packages/csharp/docs/Models/Components/BusinessTypeJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# BusinessTypeJson - -Business type. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = BusinessTypeJson.Corporate; -``` - - -## Values - -| Name | Value | -| ----------- | ----------- | -| `Corporate` | corporate | -| `Leisure` | leisure | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CancellationDetails.md b/packages/csharp/docs/Models/Components/CancellationDetails.md new file mode 100644 index 000000000..9f9d2ce69 --- /dev/null +++ b/packages/csharp/docs/Models/Components/CancellationDetails.md @@ -0,0 +1,12 @@ +# CancellationDetails + +Information about cancellation of RFP. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `DateTime` | [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 cancelled. | 2021-01-13T14:06:20.080Z | +| `Reason` | [CancelledReason1](../../Models/Components/CancelledReason1.md) | :heavy_minus_sign: | Reason for cancelling the RFP. | | +| `Comments` | *string* | :heavy_minus_sign: | Additional comments while cancelling the RFP. | I am cancelling my event, postponing to Q4. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CancellationDetailsJson.md b/packages/csharp/docs/Models/Components/CancellationDetailsJson.md deleted file mode 100644 index 50d424c71..000000000 --- a/packages/csharp/docs/Models/Components/CancellationDetailsJson.md +++ /dev/null @@ -1,12 +0,0 @@ -# CancellationDetailsJson - -Information about cancellation of RFP. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `DateTime` | [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 cancelled. | 2021-01-13T14:06:20.080Z | -| `Reason` | [CancelledReasonJson0](../../Models/Components/CancelledReasonJson0.md) | :heavy_minus_sign: | Reason for cancelling the RFP. | | -| `Comments` | *string* | :heavy_minus_sign: | Additional comments while cancelling the RFP. | I am cancelling my event, postponing to Q4. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CancelledReason1.md b/packages/csharp/docs/Models/Components/CancelledReason1.md new file mode 100644 index 000000000..a8cad66d4 --- /dev/null +++ b/packages/csharp/docs/Models/Components/CancelledReason1.md @@ -0,0 +1,27 @@ +# CancelledReason1 + +Reason for cancelling the RFP. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = CancelledReason1.BookedAnotherVenueOrDestination; +``` + + +## Values + +| Name | Value | +| ----------------------------------- | ----------------------------------- | +| `BookedAnotherVenueOrDestination` | BOOKED_ANOTHER_VENUE_OR_DESTINATION | +| `ClientBookedDirectly` | CLIENT_BOOKED_DIRECTLY | +| `EpidemicOrPandemic` | EPIDEMIC_OR_PANDEMIC | +| `EventCancelled` | EVENT_CANCELLED | +| `EventPostponed` | EVENT_POSTPONED | +| `MedicalEmergency` | MEDICAL_EMERGENCY | +| `NaturalDisaster` | NATURAL_DISASTER | +| `Other` | OTHER | +| `PoliticalOrCivilUnrest` | POLITICAL_OR_CIVIL_UNREST | +| `RequirementsChanged` | REQUIREMENTS_CHANGED | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CancelledReasonJson0.md b/packages/csharp/docs/Models/Components/CancelledReasonJson0.md deleted file mode 100644 index 198c4dc8e..000000000 --- a/packages/csharp/docs/Models/Components/CancelledReasonJson0.md +++ /dev/null @@ -1,27 +0,0 @@ -# CancelledReasonJson0 - -Reason for cancelling the RFP. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = CancelledReasonJson0.BookedAnotherVenueOrDestination; -``` - - -## Values - -| Name | Value | -| ----------------------------------- | ----------------------------------- | -| `BookedAnotherVenueOrDestination` | BOOKED_ANOTHER_VENUE_OR_DESTINATION | -| `ClientBookedDirectly` | CLIENT_BOOKED_DIRECTLY | -| `EpidemicOrPandemic` | EPIDEMIC_OR_PANDEMIC | -| `EventCancelled` | EVENT_CANCELLED | -| `EventPostponed` | EVENT_POSTPONED | -| `MedicalEmergency` | MEDICAL_EMERGENCY | -| `NaturalDisaster` | NATURAL_DISASTER | -| `Other` | OTHER | -| `PoliticalOrCivilUnrest` | POLITICAL_OR_CIVIL_UNREST | -| `RequirementsChanged` | REQUIREMENTS_CHANGED | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Category.md b/packages/csharp/docs/Models/Components/Category.md new file mode 100644 index 000000000..4ad361cb4 --- /dev/null +++ b/packages/csharp/docs/Models/Components/Category.md @@ -0,0 +1,13 @@ +# Category + +A question category. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | Text field ID. | | +| `Text` | *string* | :heavy_minus_sign: | Text value of the field. Displays to users in the UI. | Are you spending any significant time offsite and need transportation? | +| `ShortText` | *string* | :heavy_minus_sign: | Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. | Needs offsite transportation? | +| `Required` | *bool* | :heavy_minus_sign: | True indicates the category is mandatory for answer. | true | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CategoryIdNameJson.md b/packages/csharp/docs/Models/Components/CategoryIdNameJson.md deleted file mode 100644 index 93d9818dd..000000000 --- a/packages/csharp/docs/Models/Components/CategoryIdNameJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# CategoryIdNameJson - -A defined speaker category. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `Name` | *string* | :heavy_minus_sign: | The name of the speaker category | Presenters | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CategoryItemsCostJson.md b/packages/csharp/docs/Models/Components/CategoryItemsCostJson.md index 42994b72b..0c4f4306c 100644 --- a/packages/csharp/docs/Models/Components/CategoryItemsCostJson.md +++ b/packages/csharp/docs/Models/Components/CategoryItemsCostJson.md @@ -7,8 +7,8 @@ Category items cost. DEPRECATED - This field is deprecated. Only applied to prop ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| `Notes` | *string* | :heavy_minus_sign: | Notes on category items cost from the venue. | We are offering a discount on projectors. | -| `TotalCost` | *double* | :heavy_minus_sign: | Total cost across all categories. | 10000.99 | -| `Categories` | List<[CategoryJson1](../../Models/Components/CategoryJson1.md)> | :heavy_minus_sign: | List of categories. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `Notes` | *string* | :heavy_minus_sign: | Notes on category items cost from the venue. | We are offering a discount on projectors. | +| `TotalCost` | *double* | :heavy_minus_sign: | Total cost across all categories. | 10000.99 | +| `Categories` | List<[CategoryJson](../../Models/Components/CategoryJson.md)> | :heavy_minus_sign: | List of categories. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CategoryJson.md b/packages/csharp/docs/Models/Components/CategoryJson.md index e38373e6f..f0e306a96 100644 --- a/packages/csharp/docs/Models/Components/CategoryJson.md +++ b/packages/csharp/docs/Models/Components/CategoryJson.md @@ -1,13 +1,13 @@ # CategoryJson -A question category. +A category of items. ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | Text field ID. | | -| `Text` | *string* | :heavy_minus_sign: | Text value of the field. Displays to users in the UI. | Are you spending any significant time offsite and need transportation? | -| `ShortText` | *string* | :heavy_minus_sign: | Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. | Needs offsite transportation? | -| `Required` | *bool* | :heavy_minus_sign: | True indicates the category is mandatory for answer. | true | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | +| `Type` | *string* | :heavy_minus_sign: | The category type. | AVProduction | +| `Name` | *string* | :heavy_minus_sign: | The name of the category. | Audio Video Production | +| `TotalCost` | *double* | :heavy_minus_sign: | Total cost for all items within this category. | 10000.99 | +| `Items` | List<[ItemJson](../../Models/Components/ItemJson.md)> | :heavy_minus_sign: | List of items in this category. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CategoryJson1.md b/packages/csharp/docs/Models/Components/CategoryJson1.md index bee5b0b8a..e3233d800 100644 --- a/packages/csharp/docs/Models/Components/CategoryJson1.md +++ b/packages/csharp/docs/Models/Components/CategoryJson1.md @@ -1,13 +1,13 @@ # CategoryJson1 -A category of items. +A survey category. ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | -| `Type` | *string* | :heavy_minus_sign: | The category type. | AVProduction | -| `Name` | *string* | :heavy_minus_sign: | The name of the category. | Audio Video Production | -| `TotalCost` | *double* | :heavy_minus_sign: | Total cost for all items within this category. | 10000.99 | -| `Items` | List<[ItemJson](../../Models/Components/ItemJson.md)> | :heavy_minus_sign: | List of items in this category. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | Text field ID. | | +| `Text` | *string* | :heavy_minus_sign: | text Value of the Field | Field value | +| `ShortText` | *string* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | +| `Required` | *bool* | :heavy_minus_sign: | is the category mandatory for answer | true | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CategoryJson2.md b/packages/csharp/docs/Models/Components/CategoryJson2.md deleted file mode 100644 index d208b08a3..000000000 --- a/packages/csharp/docs/Models/Components/CategoryJson2.md +++ /dev/null @@ -1,13 +0,0 @@ -# CategoryJson2 - -A survey category. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | Text field ID. | | -| `Text` | *string* | :heavy_minus_sign: | text Value of the Field | Field value | -| `ShortText` | *string* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | -| `Required` | *bool* | :heavy_minus_sign: | is the category mandatory for answer | true | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Chain.md b/packages/csharp/docs/Models/Components/Chain.md index 598ef818a..40b041f38 100644 --- a/packages/csharp/docs/Models/Components/Chain.md +++ b/packages/csharp/docs/Models/Components/Chain.md @@ -15,5 +15,5 @@ Chain details. | `Name` | *string* | :heavy_minus_sign: | The name of the travel supplier chain. | Northern Hotels | | `Code` | *string* | :heavy_minus_sign: | The code identifying the travel supplier chain. | NH | | `Brand` | [ChainBrand](../../Models/Components/ChainBrand.md) | :heavy_minus_sign: | The brand that the chain belongs to. | | -| `Address` | [AddressJson3](../../Models/Components/AddressJson3.md) | :heavy_minus_sign: | A physical address. | | +| `Address` | [AddressJson1](../../Models/Components/AddressJson1.md) | :heavy_minus_sign: | A physical address. | | | `Deleted` | *bool* | :heavy_minus_sign: | True indicates the chain is deleted. | false | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Choice.md b/packages/csharp/docs/Models/Components/Choice.md index e94ac7cc7..2d66f9d29 100644 --- a/packages/csharp/docs/Models/Components/Choice.md +++ b/packages/csharp/docs/Models/Components/Choice.md @@ -1,12 +1,13 @@ # Choice -A schema representing a choice object +A question choice. ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | Unique identifier for the choice | | -| `Text` | *string* | :heavy_minus_sign: | Text value of the field | Choice 1 | -| `Label` | *string* | :heavy_minus_sign: | Label of choice | Choice A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | Text field ID. | | +| `Text` | *string* | :heavy_minus_sign: | Text value of the field. Displays to users in the UI. | Are you spending any significant time offsite and need transportation? | +| `ShortText` | *string* | :heavy_minus_sign: | Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. | Needs offsite transportation? | +| `Label` | *string* | :heavy_minus_sign: | Label of choice. | Choice A | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Choice1.md b/packages/csharp/docs/Models/Components/Choice1.md new file mode 100644 index 000000000..877eea848 --- /dev/null +++ b/packages/csharp/docs/Models/Components/Choice1.md @@ -0,0 +1,12 @@ +# Choice1 + +A schema representing a choice object + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | Unique identifier for the choice | | +| `Text` | *string* | :heavy_minus_sign: | Text value of the field | Choice 1 | +| `Label` | *string* | :heavy_minus_sign: | Label of choice | Choice A | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ChoiceJson.md b/packages/csharp/docs/Models/Components/ChoiceJson.md deleted file mode 100644 index de9aa8bfc..000000000 --- a/packages/csharp/docs/Models/Components/ChoiceJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# ChoiceJson - -A question choice. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | Text field ID. | | -| `Text` | *string* | :heavy_minus_sign: | Text value of the field. Displays to users in the UI. | Are you spending any significant time offsite and need transportation? | -| `ShortText` | *string* | :heavy_minus_sign: | Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. | Needs offsite transportation? | -| `Label` | *string* | :heavy_minus_sign: | Label of choice. | Choice A | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ChoiceJson1.md b/packages/csharp/docs/Models/Components/ChoiceJson1.md new file mode 100644 index 000000000..ba7ef5a03 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ChoiceJson1.md @@ -0,0 +1,13 @@ +# ChoiceJson1 + +A survey choice. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | Text field ID. | | +| `Text` | *string* | :heavy_minus_sign: | text Value of the Field | Field value | +| `ShortText` | *string* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | +| `Label` | *string* | :heavy_minus_sign: | Label of choice | Choice A | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ChoiceJson2.md b/packages/csharp/docs/Models/Components/ChoiceJson2.md index 122d169f4..3f7a655ef 100644 --- a/packages/csharp/docs/Models/Components/ChoiceJson2.md +++ b/packages/csharp/docs/Models/Components/ChoiceJson2.md @@ -1,13 +1,11 @@ # ChoiceJson2 -A survey choice. +This is used to denote the choice of custom field. ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | Text field ID. | | -| `Text` | *string* | :heavy_minus_sign: | text Value of the Field | Field value | -| `ShortText` | *string* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | -| `Label` | *string* | :heavy_minus_sign: | Label of choice | Choice A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | The ID of the custom field choice. If you supply the choice's existing ID in a PUT call, the choice keeps its current ID and the choice text is updated. If this `id` field is left blank in a PUT call, this choice text will be replaced with the text supplied, and a new choice ID is created. | | +| `Text` | *string* | :heavy_check_mark: | The text for the custom field choice. | What is your current designation? | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ChoiceJson2Input.md b/packages/csharp/docs/Models/Components/ChoiceJson2Input.md new file mode 100644 index 000000000..ee92d7765 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ChoiceJson2Input.md @@ -0,0 +1,10 @@ +# ChoiceJson2Input + +This is used to denote the choice of custom field. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | +| `Text` | *string* | :heavy_check_mark: | The text for the custom field choice. | What is your current designation? | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ChoiceJson3.md b/packages/csharp/docs/Models/Components/ChoiceJson3.md deleted file mode 100644 index bed120c10..000000000 --- a/packages/csharp/docs/Models/Components/ChoiceJson3.md +++ /dev/null @@ -1,11 +0,0 @@ -# ChoiceJson3 - -This is used to denote the choice of custom field. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | The ID of the custom field choice. If you supply the choice's existing ID in a PUT call, the choice keeps its current ID and the choice text is updated. If this `id` field is left blank in a PUT call, this choice text will be replaced with the text supplied, and a new choice ID is created. | | -| `Text` | *string* | :heavy_check_mark: | The text for the custom field choice. | What is your current designation? | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ChoiceJson3Input.md b/packages/csharp/docs/Models/Components/ChoiceJson3Input.md deleted file mode 100644 index 26f9ebaef..000000000 --- a/packages/csharp/docs/Models/Components/ChoiceJson3Input.md +++ /dev/null @@ -1,10 +0,0 @@ -# ChoiceJson3Input - -This is used to denote the choice of custom field. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | -| `Text` | *string* | :heavy_check_mark: | The text for the custom field choice. | What is your current designation? | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ChoiceSortOrder.md b/packages/csharp/docs/Models/Components/ChoiceSortOrder.md new file mode 100644 index 000000000..a33fedfe4 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ChoiceSortOrder.md @@ -0,0 +1,20 @@ +# ChoiceSortOrder + +The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: Sorted in the order they were added, oldest choices first. `Random`: Random sort. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = ChoiceSortOrder.AToZ; +``` + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `AToZ` | AToZ | +| `AsEntered` | AsEntered | +| `Random` | Random | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ChoiceSortOrderJson.md b/packages/csharp/docs/Models/Components/ChoiceSortOrderJson.md deleted file mode 100644 index 15bfccfc4..000000000 --- a/packages/csharp/docs/Models/Components/ChoiceSortOrderJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# ChoiceSortOrderJson - -The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: Sorted in the order they were added, oldest choices first. `Random`: Random sort. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = ChoiceSortOrderJson.AToZ; -``` - - -## Values - -| Name | Value | -| ----------- | ----------- | -| `AToZ` | AToZ | -| `AsEntered` | AsEntered | -| `Random` | Random | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Choices.md b/packages/csharp/docs/Models/Components/Choices.md index 88c4d7f5e..7a3e986d1 100644 --- a/packages/csharp/docs/Models/Components/Choices.md +++ b/packages/csharp/docs/Models/Components/Choices.md @@ -7,5 +7,5 @@ Choices for a custom field. | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ChoicesValue` | List<[ChoiceJson3Input](../../Models/Components/ChoiceJson3Input.md)> | :heavy_minus_sign: | Choices of custom fields. | +| `ChoicesValue` | List<[ChoiceJson2Input](../../Models/Components/ChoiceJson2Input.md)> | :heavy_minus_sign: | Choices of custom fields. | | `DisplayType` | [ChoicesDisplayTypeJson](../../Models/Components/ChoicesDisplayTypeJson.md) | :heavy_minus_sign: | Display type indicating how to display the choices on UI. For 'Choice - Single Answer' custom field type, this defaults to Dropdown. For 'Choice - Multiple Answers' custom field type, this defaults to MultiSelectBox. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CommentType.md b/packages/csharp/docs/Models/Components/CommentType.md new file mode 100644 index 000000000..94d859a0a --- /dev/null +++ b/packages/csharp/docs/Models/Components/CommentType.md @@ -0,0 +1,22 @@ +# CommentType + +Bid comment type + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = CommentType.Promotions; +``` + + +## Values + +| Name | Value | +| ------------------ | ------------------ | +| `Promotions` | promotions | +| `SpecialOffers` | special_offers | +| `ChildPolicies` | child_policies | +| `OtherInformation` | other_information | +| `InternalComments` | internal_comments | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CommentTypeJson.md b/packages/csharp/docs/Models/Components/CommentTypeJson.md deleted file mode 100644 index 56b4fd99c..000000000 --- a/packages/csharp/docs/Models/Components/CommentTypeJson.md +++ /dev/null @@ -1,22 +0,0 @@ -# CommentTypeJson - -Bid comment type - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = CommentTypeJson.Promotions; -``` - - -## Values - -| Name | Value | -| ------------------ | ------------------ | -| `Promotions` | promotions | -| `SpecialOffers` | special_offers | -| `ChildPolicies` | child_policies | -| `OtherInformation` | other_information | -| `InternalComments` | internal_comments | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Compliance.md b/packages/csharp/docs/Models/Components/Compliance.md index d20f81024..34fdd1f98 100644 --- a/packages/csharp/docs/Models/Components/Compliance.md +++ b/packages/csharp/docs/Models/Components/Compliance.md @@ -8,6 +8,6 @@ Privacy compliance fields for a contact. | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | | `CreationTime` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Date-time (in GMT) when privacy compliance details were created for the contact. | 2021-03-08T17:30:01.727Z | -| `ComplianceScope` | [ComplianceComplianceScope](../../Models/Components/ComplianceComplianceScope.md) | :heavy_minus_sign: | Scope of privacy compliance. | CCPA | -| `Action` | [ComplianceAction](../../Models/Components/ComplianceAction.md) | :heavy_minus_sign: | Action to take for a compliance request. | DO_NOT_SELL | -| `CreatedBy` | [ComplianceCreatedBy](../../Models/Components/ComplianceCreatedBy.md) | :heavy_minus_sign: | Denotes how the compliance request was created. | PLANNER | \ No newline at end of file +| `ComplianceScope` | [ComplianceScope](../../Models/Components/ComplianceScope.md) | :heavy_minus_sign: | Scope of privacy compliance. | CCPA | +| `Action` | [Action](../../Models/Components/Action.md) | :heavy_minus_sign: | Action to take for a compliance request. | DO_NOT_SELL | +| `CreatedBy` | [CreatedBy](../../Models/Components/CreatedBy.md) | :heavy_minus_sign: | Denotes how the compliance request was created. | PLANNER | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ComplianceAction.md b/packages/csharp/docs/Models/Components/ComplianceAction.md deleted file mode 100644 index 00db37a9a..000000000 --- a/packages/csharp/docs/Models/Components/ComplianceAction.md +++ /dev/null @@ -1,19 +0,0 @@ -# ComplianceAction - -Action to take for a compliance request. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = ComplianceAction.DoNotSell; -``` - - -## Values - -| Name | Value | -| ----------- | ----------- | -| `DoNotSell` | DO_NOT_SELL | -| `OkToSell` | OK_TO_SELL | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ComplianceComplianceScope.md b/packages/csharp/docs/Models/Components/ComplianceComplianceScope.md deleted file mode 100644 index 93da2312b..000000000 --- a/packages/csharp/docs/Models/Components/ComplianceComplianceScope.md +++ /dev/null @@ -1,18 +0,0 @@ -# ComplianceComplianceScope - -Scope of privacy compliance. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = ComplianceComplianceScope.Ccpa; -``` - - -## Values - -| Name | Value | -| ------ | ------ | -| `Ccpa` | CCPA | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ComplianceCreatedBy.md b/packages/csharp/docs/Models/Components/ComplianceCreatedBy.md deleted file mode 100644 index a7e894784..000000000 --- a/packages/csharp/docs/Models/Components/ComplianceCreatedBy.md +++ /dev/null @@ -1,27 +0,0 @@ -# ComplianceCreatedBy - -Denotes how the compliance request was created. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = ComplianceCreatedBy.Attendee; -``` - - -## Values - -| Name | Value | -| ------------------- | ------------------- | -| `Attendee` | ATTENDEE | -| `Planner` | PLANNER | -| `Import` | IMPORT | -| `SoapApi` | SOAP_API | -| `RestApi` | REST_API | -| `Marketo` | MARKETO | -| `Saleforce` | SALEFORCE | -| `VideoCenterMember` | VIDEO_CENTER_MEMBER | -| `Respondent` | RESPONDENT | -| `NotSet` | NOT_SET | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ComplianceJson.md b/packages/csharp/docs/Models/Components/ComplianceJson.md deleted file mode 100644 index 1fa381036..000000000 --- a/packages/csharp/docs/Models/Components/ComplianceJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# ComplianceJson - -Privacy compliance fields for a contact. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `CreationTime` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Date-time (in GMT) when privacy compliance details were created for the contact. | 2021-03-08T17:30:01.727Z | -| `ComplianceScope` | [ComplianceJsonComplianceScope](../../Models/Components/ComplianceJsonComplianceScope.md) | :heavy_minus_sign: | Scope of privacy compliance. | CCPA | -| `Action` | [ComplianceJsonAction](../../Models/Components/ComplianceJsonAction.md) | :heavy_minus_sign: | Action to take for a compliance request. | DO_NOT_SELL | -| `CreatedBy` | [ComplianceJsonCreatedBy](../../Models/Components/ComplianceJsonCreatedBy.md) | :heavy_minus_sign: | Denotes how the compliance request was created. | PLANNER | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ComplianceJsonAction.md b/packages/csharp/docs/Models/Components/ComplianceJsonAction.md deleted file mode 100644 index 66a21ae18..000000000 --- a/packages/csharp/docs/Models/Components/ComplianceJsonAction.md +++ /dev/null @@ -1,19 +0,0 @@ -# ComplianceJsonAction - -Action to take for a compliance request. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = ComplianceJsonAction.DoNotSell; -``` - - -## Values - -| Name | Value | -| ----------- | ----------- | -| `DoNotSell` | DO_NOT_SELL | -| `OkToSell` | OK_TO_SELL | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ComplianceJsonComplianceScope.md b/packages/csharp/docs/Models/Components/ComplianceJsonComplianceScope.md deleted file mode 100644 index 295282584..000000000 --- a/packages/csharp/docs/Models/Components/ComplianceJsonComplianceScope.md +++ /dev/null @@ -1,18 +0,0 @@ -# ComplianceJsonComplianceScope - -Scope of privacy compliance. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = ComplianceJsonComplianceScope.Ccpa; -``` - - -## Values - -| Name | Value | -| ------ | ------ | -| `Ccpa` | CCPA | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ComplianceJsonCreatedBy.md b/packages/csharp/docs/Models/Components/ComplianceJsonCreatedBy.md deleted file mode 100644 index 429980704..000000000 --- a/packages/csharp/docs/Models/Components/ComplianceJsonCreatedBy.md +++ /dev/null @@ -1,27 +0,0 @@ -# ComplianceJsonCreatedBy - -Denotes how the compliance request was created. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = ComplianceJsonCreatedBy.Attendee; -``` - - -## Values - -| Name | Value | -| ------------------- | ------------------- | -| `Attendee` | ATTENDEE | -| `Planner` | PLANNER | -| `Import` | IMPORT | -| `SoapApi` | SOAP_API | -| `RestApi` | REST_API | -| `Marketo` | MARKETO | -| `Saleforce` | SALEFORCE | -| `VideoCenterMember` | VIDEO_CENTER_MEMBER | -| `Respondent` | RESPONDENT | -| `NotSet` | NOT_SET | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ComplianceScope.md b/packages/csharp/docs/Models/Components/ComplianceScope.md new file mode 100644 index 000000000..e535b90b5 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ComplianceScope.md @@ -0,0 +1,18 @@ +# ComplianceScope + +Scope of privacy compliance. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = ComplianceScope.Ccpa; +``` + + +## Values + +| Name | Value | +| ------ | ------ | +| `Ccpa` | CCPA | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ConflictResolution.md b/packages/csharp/docs/Models/Components/ConflictResolution.md index 95482d2f7..027fc33fd 100644 --- a/packages/csharp/docs/Models/Components/ConflictResolution.md +++ b/packages/csharp/docs/Models/Components/ConflictResolution.md @@ -7,7 +7,7 @@ Represents choices in resolving conflicts in the contacts to be merged or to opt | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `Events` | List<[EventContactIdJson](../../Models/Components/EventContactIdJson.md)> | :heavy_minus_sign: | For each event (designated by event id), choose a contact id whose linked attendee will be associated with the resulting merged contact. Use whenever at least two contacts exist as attendees in a single event. | -| `Surveys` | List<[SurveyContactIdJson](../../Models/Components/SurveyContactIdJson.md)> | :heavy_minus_sign: | For each survey (designated by survey id), choose a contact id whose linked respondent will be associated with the resulting merged contact. Use whenever at least two contacts exist as respondents in a single survey. | +| `Events` | List<[EventContactId](../../Models/Components/EventContactId.md)> | :heavy_minus_sign: | For each event (designated by event id), choose a contact id whose linked attendee will be associated with the resulting merged contact. Use whenever at least two contacts exist as attendees in a single event. | +| `Surveys` | List<[SurveyContactId](../../Models/Components/SurveyContactId.md)> | :heavy_minus_sign: | For each survey (designated by survey id), choose a contact id whose linked respondent will be associated with the resulting merged contact. Use whenever at least two contacts exist as respondents in a single survey. | | `RelatedContacts` | *string* | :heavy_minus_sign: | The id of the contact to keep the relationships of in the resulting merged contact. Only one contact can be chosen, and relationships of the other contact(s) will be discarded. | -| `ContactFields` | List<[ContactMergeFieldJson](../../Models/Components/ContactMergeFieldJson.md)> | :heavy_minus_sign: | Specify which contact to use values from for any contact field. | \ No newline at end of file +| `ContactFields` | List<[ContactMergeField](../../Models/Components/ContactMergeField.md)> | :heavy_minus_sign: | Specify which contact to use values from for any contact field. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Contact.md b/packages/csharp/docs/Models/Components/Contact.md index 869179958..6b56640cf 100644 --- a/packages/csharp/docs/Models/Components/Contact.md +++ b/packages/csharp/docs/Models/Components/Contact.md @@ -17,33 +17,33 @@ Represents a contact that has been created and has an id. | `Nickname` | *string* | :heavy_minus_sign: | The nickname of the contact. | Harry | | `Email` | *string* | :heavy_minus_sign: | The email address of the contact. | h.potterfield@test.com | | `CcEmail` | *string* | :heavy_minus_sign: | An alternate email address of the contact that can be cc'd on email communications. | h.porter@tesing.com | -| `Gender` | [GenderJson](../../Models/Components/GenderJson.md) | :heavy_minus_sign: | The gender of the contact. | Male | +| `Gender` | [Gender](../../Models/Components/Gender.md) | :heavy_minus_sign: | The gender of the contact. | Male | | `Company` | *string* | :heavy_minus_sign: | The company/organization the contact belongs to. | Cvent Inc. | | `Designation` | *string* | :heavy_minus_sign: | The designation of the contact, typically an award or credential. | CPA | | `Title` | *string* | :heavy_minus_sign: | The job title of the contact. | Event Planner | -| `Type` | [AttendeeContactTypeJson](../../Models/Components/AttendeeContactTypeJson.md) | :heavy_minus_sign: | Contains details related to the attendee's contact type. | | -| `Membership` | [MembershipJson](../../Models/Components/MembershipJson.md) | :heavy_minus_sign: | Contact Membership information | | -| `PrimaryAddressType` | [AddressTypeJson](../../Models/Components/AddressTypeJson.md) | :heavy_minus_sign: | The type of address. | Home | -| `HomeAddress` | [AddressJson](../../Models/Components/AddressJson.md) | :heavy_minus_sign: | Contact address details. | | +| `Type` | [AttendeeContactType](../../Models/Components/AttendeeContactType.md) | :heavy_minus_sign: | Contains details related to the attendee's contact type. | | +| `Membership` | [ContactMembership](../../Models/Components/ContactMembership.md) | :heavy_minus_sign: | Contact Membership information | | +| `PrimaryAddressType` | [AddressType](../../Models/Components/AddressType.md) | :heavy_minus_sign: | The type of address. | Home | +| `HomeAddress` | [Address](../../Models/Components/Address.md) | :heavy_minus_sign: | Contact address details. | | | `HomePhone` | *string* | :heavy_minus_sign: | The phone number of the contact at their place of residence. | 555-555-5555 | | `HomeFax` | *string* | :heavy_minus_sign: | The fax number of the contact at their place of residence. | 555-555-5555 | -| `WorkAddress` | [AddressJson](../../Models/Components/AddressJson.md) | :heavy_minus_sign: | Contact address details. | | +| `WorkAddress` | [Address](../../Models/Components/Address.md) | :heavy_minus_sign: | Contact address details. | | | `WorkPhone` | *string* | :heavy_minus_sign: | The phone number of the contact at their place of work. | 555-555-5555 | | `WorkFax` | *string* | :heavy_minus_sign: | The fax number of the contact at their place of work. | 555-555-5555 | | `CustomFields` | List<[CustomField](../../Models/Components/CustomField.md)> | :heavy_minus_sign: | Collection of custom fields. | | | `SourceId` | *string* | :heavy_minus_sign: | This is a ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. | system-a-00000000-0000-0000-0000-000000000000 | | `MobilePhone` | *string* | :heavy_minus_sign: | The contact's mobile phone number. | 555-555-5555 | -| `Compliance` | List<[ComplianceJson](../../Models/Components/ComplianceJson.md)> | :heavy_minus_sign: | Detail related to compliance with the contact's privacy rights under various legislation. | | +| `Compliance` | List<[Models.Components.Compliance](../../Models/Components/Compliance.md)> | :heavy_minus_sign: | Detail related to compliance with the contact's privacy rights under various legislation. | | | `Prefix` | *string* | :heavy_minus_sign: | Denotes what is traditionally a title of an individual. | Mr. | | `Pager` | *string* | :heavy_minus_sign: | The pager number of the contact. | 555-555-5555 | | `Deleted` | *bool* | :heavy_minus_sign: | True indicates a contact is deleted. Deleted contacts still have their data retained, but the contact is inactive. | false | | `Purged` | *bool* | :heavy_minus_sign: | True indicates a contact is purged. Purged contacts have only partial data retained, and will be permanently deleted in 30 days. | false | -| `OptOut` | [OptOutJson](../../Models/Components/OptOutJson.md) | :heavy_minus_sign: | Details of an opt-out for a Contact. | | +| `OptOut` | [ContactOptOut](../../Models/Components/ContactOptOut.md) | :heavy_minus_sign: | Details of an opt-out for a Contact. | | | `Npi` | *string* | :heavy_minus_sign: | Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. | 5555555555 | -| `Links` | [ContactLinksJson](../../Models/Components/ContactLinksJson.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | +| `Links` | [ContactLinks](../../Models/Components/ContactLinks.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | | `DateOfBirth` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The date of birth of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 1990-01-01 | | ~~`PassportNumber`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The passport number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use the passport.number field. | 123456789 | -| `Passport` | [PassportJson](../../Models/Components/PassportJson.md) | :heavy_minus_sign: | This entity represents a contact's passport information. | | +| `Passport` | [Passport](../../Models/Components/Passport.md) | :heavy_minus_sign: | This entity represents a contact's passport information. | | | `SocialSecurityNumber` | *string* | :heavy_minus_sign: | The social security number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123-45-6789 | | `NationalIdentificationNumber` | *string* | :heavy_minus_sign: | The national identification number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123456789 | | `Headline` | *string* | :heavy_minus_sign: | The headline of the contact's profile, which summarizes their professional experience and qualities. | Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands | diff --git a/packages/csharp/docs/Models/Components/Contact1.md b/packages/csharp/docs/Models/Components/Contact1.md new file mode 100644 index 000000000..3d6ac8637 --- /dev/null +++ b/packages/csharp/docs/Models/Components/Contact1.md @@ -0,0 +1,19 @@ +# Contact1 + +Contact details of planner. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | +| `FirstName` | *string* | :heavy_check_mark: | The first name of the planner. | James | +| `LastName` | *string* | :heavy_check_mark: | The last name of the planner. | West | +| `Email` | *string* | :heavy_check_mark: | Email address of the planner. | jwest@example.com | +| `Address` | [Address1](../../Models/Components/Address1.md) | :heavy_minus_sign: | Address details. | | +| `CommissionRate` | *double* | :heavy_minus_sign: | Rate of commission chargeable by the planner. Precision up to 2 decimal places is accepted. | 10.75 | +| `Commissionable` | *bool* | :heavy_minus_sign: | True indicates commission is to be charged from supplier. | | +| `Phone` | *string* | :heavy_check_mark: | Phone number of the planner. | 555-555-5555 | +| `OrganizationName` | *string* | :heavy_check_mark: | Name of the organization. | Five Star Planners Inc. | +| `ThirdPartyPlanner` | *bool* | :heavy_minus_sign: | True indicates planner is a third party planner. | | +| `PreferredContactMethods` | List<[ContactMethods](../../Models/Components/ContactMethods.md)> | :heavy_minus_sign: | List of preferred contact methods for the planner. | [
"CVENT"
] | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Contact2.md b/packages/csharp/docs/Models/Components/Contact2.md new file mode 100644 index 000000000..d1152a43d --- /dev/null +++ b/packages/csharp/docs/Models/Components/Contact2.md @@ -0,0 +1,10 @@ +# Contact2 + +The contact details who watched a video + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | The unique ID of the contact who watched a video. | 123e4567-e89b-12d3-a456-426614174000 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactBulkItemJson.md b/packages/csharp/docs/Models/Components/ContactBulkItemJson.md deleted file mode 100644 index 9f3729c4c..000000000 --- a/packages/csharp/docs/Models/Components/ContactBulkItemJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# ContactBulkItemJson - -This entity is used to represent a single item that is returned as part of a Bulk request call. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Data` | [ContactBulkItemJsonData](../../Models/Components/ContactBulkItemJsonData.md) | :heavy_check_mark: | N/A | | -| `Status` | *long* | :heavy_check_mark: | http status code representing processing status of a single item | 400 | -| `Message` | *string* | :heavy_minus_sign: | Quick description of what happened with processing | Example error message. | -| `Request` | Dictionary | :heavy_minus_sign: | The processed request tied to this response. This field is only sent when processing fails. | {
"operation": "PUT",
"headers": {
"header1": "header1Value",
"header2": "header2Value"
},
"queryParams": {
"param1": "param1Value",
"param2": "param2Value"
}
} | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactBulkItemJsonData.md b/packages/csharp/docs/Models/Components/ContactBulkItemJsonData.md deleted file mode 100644 index 689682fa5..000000000 --- a/packages/csharp/docs/Models/Components/ContactBulkItemJsonData.md +++ /dev/null @@ -1,16 +0,0 @@ -# ContactBulkItemJsonData - - -## Supported Types - -### ZeroAllOf7 - -```csharp -ContactBulkItemJsonData.CreateZeroAllOf7(/* values here */); -``` - -### ErrorResponse1 - -```csharp -ContactBulkItemJsonData.CreateErrorResponse1(/* values here */); -``` diff --git a/packages/csharp/docs/Models/Components/ContactBulkResponseItem.md b/packages/csharp/docs/Models/Components/ContactBulkResponseItem.md new file mode 100644 index 000000000..e075c1eea --- /dev/null +++ b/packages/csharp/docs/Models/Components/ContactBulkResponseItem.md @@ -0,0 +1,13 @@ +# ContactBulkResponseItem + +This entity is used to represent a single item that is returned as part of a Bulk request call. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Data` | [ContactBulkResponseItemData](../../Models/Components/ContactBulkResponseItemData.md) | :heavy_check_mark: | N/A | | +| `Status` | *long* | :heavy_check_mark: | http status code representing processing status of a single item | 400 | +| `Message` | *string* | :heavy_minus_sign: | Quick description of what happened with processing | Example error message. | +| `Request` | Dictionary | :heavy_minus_sign: | The processed request tied to this response. This field is only sent when processing fails. | {
"operation": "PUT",
"headers": {
"header1": "header1Value",
"header2": "header2Value"
},
"queryParams": {
"param1": "param1Value",
"param2": "param2Value"
}
} | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactBulkResponseItemData.md b/packages/csharp/docs/Models/Components/ContactBulkResponseItemData.md new file mode 100644 index 000000000..2d1788a11 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ContactBulkResponseItemData.md @@ -0,0 +1,16 @@ +# ContactBulkResponseItemData + + +## Supported Types + +### Contact + +```csharp +ContactBulkResponseItemData.CreateContact(/* values here */); +``` + +### ErrorResponse1 + +```csharp +ContactBulkResponseItemData.CreateErrorResponse1(/* values here */); +``` diff --git a/packages/csharp/docs/Models/Components/ContactCreate.md b/packages/csharp/docs/Models/Components/ContactCreate.md new file mode 100644 index 000000000..c3f016177 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ContactCreate.md @@ -0,0 +1,45 @@ +# ContactCreate + +This entity is used to represent a single item that is posted for a contact create + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `FirstName` | *string* | :heavy_minus_sign: | The first name of the contact. | Henry | +| `LastName` | *string* | :heavy_minus_sign: | The last name of the contact. | Potterfield | +| `MiddleName` | *string* | :heavy_minus_sign: | The middle name of the contact. | A | +| `Nickname` | *string* | :heavy_minus_sign: | The nickname of the contact. | Harry | +| `Email` | *string* | :heavy_minus_sign: | The email address of the contact. | h.potterfield@test.com | +| `CcEmail` | *string* | :heavy_minus_sign: | An alternate email address of the contact that can be cc'd on email communications. | h.porter@tesing.com | +| `Gender` | [Gender](../../Models/Components/Gender.md) | :heavy_minus_sign: | The gender of the contact. | Male | +| `Company` | *string* | :heavy_minus_sign: | The company/organization the contact belongs to. | Cvent Inc. | +| `Designation` | *string* | :heavy_minus_sign: | The designation of the contact, typically an award or credential. | CPA | +| `Title` | *string* | :heavy_minus_sign: | The job title of the contact. | Event Planner | +| `Type` | [AttendeeContactTypeInput](../../Models/Components/AttendeeContactTypeInput.md) | :heavy_minus_sign: | Contains details related to the attendee's contact type. | | +| `PrimaryAddressType` | [AddressType](../../Models/Components/AddressType.md) | :heavy_minus_sign: | The type of address. | Home | +| `HomeAddress` | [AddressInput](../../Models/Components/AddressInput.md) | :heavy_minus_sign: | Contact address details. | | +| `HomePhone` | *string* | :heavy_minus_sign: | The phone number of the contact at their place of residence. | 555-555-5555 | +| `HomeFax` | *string* | :heavy_minus_sign: | The fax number of the contact at their place of residence. | 555-555-5555 | +| `WorkAddress` | [AddressInput](../../Models/Components/AddressInput.md) | :heavy_minus_sign: | Contact address details. | | +| `WorkPhone` | *string* | :heavy_minus_sign: | The phone number of the contact at their place of work. | 555-555-5555 | +| `WorkFax` | *string* | :heavy_minus_sign: | The fax number of the contact at their place of work. | 555-555-5555 | +| `SourceId` | *string* | :heavy_minus_sign: | This is a ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. | system-a-00000000-0000-0000-0000-000000000000 | +| `MobilePhone` | *string* | :heavy_minus_sign: | The contact's mobile phone number. | 555-555-5555 | +| `Prefix` | *string* | :heavy_minus_sign: | Denotes what is traditionally a title of an individual. | Mr. | +| `Pager` | *string* | :heavy_minus_sign: | The pager number of the contact. | 555-555-5555 | +| `OptOut` | [ContactOptOutInput](../../Models/Components/ContactOptOutInput.md) | :heavy_minus_sign: | Details of an opt-out for a Contact. | | +| `Npi` | *string* | :heavy_minus_sign: | Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. | 5555555555 | +| `Links` | [ContactLinksInput](../../Models/Components/ContactLinksInput.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | +| `DateOfBirth` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The date of birth of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 1990-01-01 | +| ~~`PassportNumber`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The passport number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use the passport.number field. | 123456789 | +| `Passport` | [PassportInput](../../Models/Components/PassportInput.md) | :heavy_minus_sign: | This entity represents a contact's passport information. | | +| `SocialSecurityNumber` | *string* | :heavy_minus_sign: | The social security number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123-45-6789 | +| `NationalIdentificationNumber` | *string* | :heavy_minus_sign: | The national identification number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123456789 | +| `Headline` | *string* | :heavy_minus_sign: | The headline of the contact's profile, which summarizes their professional experience and qualities. | Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands | +| `PersonalWebsite` | *string* | :heavy_minus_sign: | A contact's personal website URL. | https://www.example.com | +| `Biography` | *string* | :heavy_minus_sign: | A contact's biographical writeup. | I am a marketing professional with experience in event planning and brand strategy. | +| `Pronouns` | *string* | :heavy_minus_sign: | Represents the preferred pronouns of a contact. | he/him/she/her/they/them | +| ~~`ParentId`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

ID of the parent contact, applicable with contact snapshot. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be automatically created through the Add attendees API. | | +| ~~`Event`~~ | [ContactCreateEvent](../../Models/Components/ContactCreateEvent.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Event ID | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactCreateEvent.md b/packages/csharp/docs/Models/Components/ContactCreateEvent.md new file mode 100644 index 000000000..d8b7bacc7 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ContactCreateEvent.md @@ -0,0 +1,12 @@ +# ~~ContactCreateEvent~~ + +Event ID + +> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| ~~`Id`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

ID of the event where the contact was created, applicable when contact snapshot is enabled for an event. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be automatically created through the Add attendees API. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactCreateRequestJson.md b/packages/csharp/docs/Models/Components/ContactCreateRequestJson.md deleted file mode 100644 index c64a5fb99..000000000 --- a/packages/csharp/docs/Models/Components/ContactCreateRequestJson.md +++ /dev/null @@ -1,45 +0,0 @@ -# ContactCreateRequestJson - -This entity is used to represent a single item that is posted for a contact create - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `FirstName` | *string* | :heavy_minus_sign: | The first name of the contact. | Henry | -| `LastName` | *string* | :heavy_minus_sign: | The last name of the contact. | Potterfield | -| `MiddleName` | *string* | :heavy_minus_sign: | The middle name of the contact. | A | -| `Nickname` | *string* | :heavy_minus_sign: | The nickname of the contact. | Harry | -| `Email` | *string* | :heavy_minus_sign: | The email address of the contact. | h.potterfield@test.com | -| `CcEmail` | *string* | :heavy_minus_sign: | An alternate email address of the contact that can be cc'd on email communications. | h.porter@tesing.com | -| `Gender` | [GenderJson](../../Models/Components/GenderJson.md) | :heavy_minus_sign: | The gender of the contact. | Male | -| `Company` | *string* | :heavy_minus_sign: | The company/organization the contact belongs to. | Cvent Inc. | -| `Designation` | *string* | :heavy_minus_sign: | The designation of the contact, typically an award or credential. | CPA | -| `Title` | *string* | :heavy_minus_sign: | The job title of the contact. | Event Planner | -| `Type` | [AttendeeContactTypeJsonInput](../../Models/Components/AttendeeContactTypeJsonInput.md) | :heavy_minus_sign: | Contains details related to the attendee's contact type. | | -| `PrimaryAddressType` | [AddressTypeJson](../../Models/Components/AddressTypeJson.md) | :heavy_minus_sign: | The type of address. | Home | -| `HomeAddress` | [AddressJsonInput](../../Models/Components/AddressJsonInput.md) | :heavy_minus_sign: | Contact address details. | | -| `HomePhone` | *string* | :heavy_minus_sign: | The phone number of the contact at their place of residence. | 555-555-5555 | -| `HomeFax` | *string* | :heavy_minus_sign: | The fax number of the contact at their place of residence. | 555-555-5555 | -| `WorkAddress` | [AddressJsonInput](../../Models/Components/AddressJsonInput.md) | :heavy_minus_sign: | Contact address details. | | -| `WorkPhone` | *string* | :heavy_minus_sign: | The phone number of the contact at their place of work. | 555-555-5555 | -| `WorkFax` | *string* | :heavy_minus_sign: | The fax number of the contact at their place of work. | 555-555-5555 | -| `SourceId` | *string* | :heavy_minus_sign: | This is a ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. | system-a-00000000-0000-0000-0000-000000000000 | -| `MobilePhone` | *string* | :heavy_minus_sign: | The contact's mobile phone number. | 555-555-5555 | -| `Prefix` | *string* | :heavy_minus_sign: | Denotes what is traditionally a title of an individual. | Mr. | -| `Pager` | *string* | :heavy_minus_sign: | The pager number of the contact. | 555-555-5555 | -| `OptOut` | [OptOutJsonInput](../../Models/Components/OptOutJsonInput.md) | :heavy_minus_sign: | Details of an opt-out for a Contact. | | -| `Npi` | *string* | :heavy_minus_sign: | Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. | 5555555555 | -| `Links` | [ContactLinksJsonInput](../../Models/Components/ContactLinksJsonInput.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | -| `DateOfBirth` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The date of birth of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 1990-01-01 | -| ~~`PassportNumber`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The passport number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use the passport.number field. | 123456789 | -| `Passport` | [PassportJsonInput](../../Models/Components/PassportJsonInput.md) | :heavy_minus_sign: | This entity represents a contact's passport information. | | -| `SocialSecurityNumber` | *string* | :heavy_minus_sign: | The social security number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123-45-6789 | -| `NationalIdentificationNumber` | *string* | :heavy_minus_sign: | The national identification number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123456789 | -| `Headline` | *string* | :heavy_minus_sign: | The headline of the contact's profile, which summarizes their professional experience and qualities. | Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands | -| `PersonalWebsite` | *string* | :heavy_minus_sign: | A contact's personal website URL. | https://www.example.com | -| `Biography` | *string* | :heavy_minus_sign: | A contact's biographical writeup. | I am a marketing professional with experience in event planning and brand strategy. | -| `Pronouns` | *string* | :heavy_minus_sign: | Represents the preferred pronouns of a contact. | he/him/she/her/they/them | -| ~~`ParentId`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

ID of the parent contact, applicable with contact snapshot. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be automatically created through the Add attendees API. | | -| ~~`Event`~~ | [ContactCreateRequestJsonEvent](../../Models/Components/ContactCreateRequestJsonEvent.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Event ID | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactCreateRequestJsonEvent.md b/packages/csharp/docs/Models/Components/ContactCreateRequestJsonEvent.md deleted file mode 100644 index 9b5e5d24b..000000000 --- a/packages/csharp/docs/Models/Components/ContactCreateRequestJsonEvent.md +++ /dev/null @@ -1,12 +0,0 @@ -# ~~ContactCreateRequestJsonEvent~~ - -Event ID - -> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| ~~`Id`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

ID of the event where the contact was created, applicable when contact snapshot is enabled for an event. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be automatically created through the Add attendees API. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactGroup.md b/packages/csharp/docs/Models/Components/ContactGroup.md index c66eac478..c7aba9550 100644 --- a/packages/csharp/docs/Models/Components/ContactGroup.md +++ b/packages/csharp/docs/Models/Components/ContactGroup.md @@ -15,6 +15,6 @@ A group of contacts. | `Name` | *string* | :heavy_check_mark: | Name of the contact group. | group name | | `ShortDescription` | *string* | :heavy_minus_sign: | Short description of the contact group. | short description | | `Description` | *string* | :heavy_minus_sign: | Full description of the contact group. | long description | -| `Type` | [ContactGroupTypeJson](../../Models/Components/ContactGroupTypeJson.md) | :heavy_minus_sign: | Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. `STANDARD` is a multi-purpose group for organizing contacts. | STANDARD | +| `Type` | [ContactGroupType](../../Models/Components/ContactGroupType.md) | :heavy_minus_sign: | Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. `STANDARD` is a multi-purpose group for organizing contacts. | STANDARD | | ~~`Note`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Moved to internalNote in the DistributionListInfo object. The note field only applies to Distribution List. | Sample internal note | -| `DistributionListInfo` | [DistributionListInfoJson](../../Models/Components/DistributionListInfoJson.md) | :heavy_minus_sign: | Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. | | \ No newline at end of file +| `DistributionListInfo` | [DistributionListInfo](../../Models/Components/DistributionListInfo.md) | :heavy_minus_sign: | Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactGroupInput.md b/packages/csharp/docs/Models/Components/ContactGroupInput.md index b0d50be7b..4741403d0 100644 --- a/packages/csharp/docs/Models/Components/ContactGroupInput.md +++ b/packages/csharp/docs/Models/Components/ContactGroupInput.md @@ -10,6 +10,6 @@ A group of contacts. | `Name` | *string* | :heavy_check_mark: | Name of the contact group. | group name | | `ShortDescription` | *string* | :heavy_minus_sign: | Short description of the contact group. | short description | | `Description` | *string* | :heavy_minus_sign: | Full description of the contact group. | long description | -| `Type` | [ContactGroupTypeJson](../../Models/Components/ContactGroupTypeJson.md) | :heavy_minus_sign: | Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. `STANDARD` is a multi-purpose group for organizing contacts. | STANDARD | +| `Type` | [ContactGroupType](../../Models/Components/ContactGroupType.md) | :heavy_minus_sign: | Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. `STANDARD` is a multi-purpose group for organizing contacts. | STANDARD | | ~~`Note`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Moved to internalNote in the DistributionListInfo object. The note field only applies to Distribution List. | Sample internal note | -| `DistributionListInfo` | [DistributionListInfoJsonInput](../../Models/Components/DistributionListInfoJsonInput.md) | :heavy_minus_sign: | Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. | | \ No newline at end of file +| `DistributionListInfo` | [DistributionListInfoInput](../../Models/Components/DistributionListInfoInput.md) | :heavy_minus_sign: | Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactGroupPaginatedResponse.md b/packages/csharp/docs/Models/Components/ContactGroupPaginatedResponse.md index 728cf3b4c..866786ffc 100644 --- a/packages/csharp/docs/Models/Components/ContactGroupPaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/ContactGroupPaginatedResponse.md @@ -7,5 +7,5 @@ The response from a request to get the list of contact groups. This includes th | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | | `Data` | List<[ContactGroup](../../Models/Components/ContactGroup.md)> | :heavy_check_mark: | Collection of contact groups. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactGroupType.md b/packages/csharp/docs/Models/Components/ContactGroupType.md new file mode 100644 index 000000000..8cf121836 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ContactGroupType.md @@ -0,0 +1,20 @@ +# ContactGroupType + +Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. `STANDARD` is a multi-purpose group for organizing contacts. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = ContactGroupType.Blacklist; +``` + + +## Values + +| Name | Value | +| ------------------ | ------------------ | +| `Blacklist` | BLACKLIST | +| `DistributionList` | DISTRIBUTION_LIST | +| `Standard` | STANDARD | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactGroupTypeJson.md b/packages/csharp/docs/Models/Components/ContactGroupTypeJson.md deleted file mode 100644 index 554156ed9..000000000 --- a/packages/csharp/docs/Models/Components/ContactGroupTypeJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# ContactGroupTypeJson - -Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. `STANDARD` is a multi-purpose group for organizing contacts. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = ContactGroupTypeJson.Blacklist; -``` - - -## Values - -| Name | Value | -| ------------------ | ------------------ | -| `Blacklist` | BLACKLIST | -| `DistributionList` | DISTRIBUTION_LIST | -| `Standard` | STANDARD | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactHistory.md b/packages/csharp/docs/Models/Components/ContactHistory.md new file mode 100644 index 000000000..dbfdaffdc --- /dev/null +++ b/packages/csharp/docs/Models/Components/ContactHistory.md @@ -0,0 +1,15 @@ +# ContactHistory + +A single instance of change for a specific contact in the contact's change history. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | +| `UpdatedFieldName` | *string* | :heavy_minus_sign: | The name of a field that was changed and tracked by this single instance of change in contact change history. | Last Name | +| `OldValue` | *string* | :heavy_minus_sign: | The old value of a field that was changed. | Wilson | +| `NewValue` | *string* | :heavy_minus_sign: | The new value of a field that was changed. | James | +| `UpdatedThroughName` | [UpdatedThroughNameProperty](../../Models/Components/UpdatedThroughNameProperty.md) | :heavy_minus_sign: | Name of the place where this change was updated through. | Address Book Profile | +| `UpdatedDate` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 formatted date-time when the associated contact, of this single instance of change in contact change history, was updated. | 2023-08-03T14:51:00.777Z | +| `UpdatedBy` | *string* | :heavy_minus_sign: | The name of a person who updated a contact that is associated with this single instance of change in contact change history. | John Doe | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactHistoryJson.md b/packages/csharp/docs/Models/Components/ContactHistoryJson.md deleted file mode 100644 index 6ad0c541c..000000000 --- a/packages/csharp/docs/Models/Components/ContactHistoryJson.md +++ /dev/null @@ -1,15 +0,0 @@ -# ContactHistoryJson - -A single instance of change for a specific contact in the contact's change history. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | -| `UpdatedFieldName` | *string* | :heavy_minus_sign: | The name of a field that was changed and tracked by this single instance of change in contact change history. | Last Name | -| `OldValue` | *string* | :heavy_minus_sign: | The old value of a field that was changed. | Wilson | -| `NewValue` | *string* | :heavy_minus_sign: | The new value of a field that was changed. | James | -| `UpdatedThroughName` | [UpdatedThroughNamePropertyJson](../../Models/Components/UpdatedThroughNamePropertyJson.md) | :heavy_minus_sign: | Name of the place where this change was updated through. | Address Book Profile | -| `UpdatedDate` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 formatted date-time when the associated contact, of this single instance of change in contact change history, was updated. | 2023-08-03T14:51:00.777Z | -| `UpdatedBy` | *string* | :heavy_minus_sign: | The name of a person who updated a contact that is associated with this single instance of change in contact change history. | John Doe | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactHistoryPaginatedResponse.md b/packages/csharp/docs/Models/Components/ContactHistoryPaginatedResponse.md index c67e47ba2..7fcdf7650 100644 --- a/packages/csharp/docs/Models/Components/ContactHistoryPaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/ContactHistoryPaginatedResponse.md @@ -5,7 +5,7 @@ The response of a request to get the change history for a specific contact. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `Data` | List<[ContactHistoryJson](../../Models/Components/ContactHistoryJson.md)> | :heavy_minus_sign: | Collection of change histories for a specific contact. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `Data` | List<[ContactHistory](../../Models/Components/ContactHistory.md)> | :heavy_minus_sign: | Collection of change histories for a specific contact. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactId.md b/packages/csharp/docs/Models/Components/ContactId.md new file mode 100644 index 000000000..0d60ef969 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ContactId.md @@ -0,0 +1,10 @@ +# ContactId + +A contact id. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `Id` | *string* | :heavy_check_mark: | The ID of the contact. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactIdJson.md b/packages/csharp/docs/Models/Components/ContactIdJson.md deleted file mode 100644 index 98202bcad..000000000 --- a/packages/csharp/docs/Models/Components/ContactIdJson.md +++ /dev/null @@ -1,10 +0,0 @@ -# ContactIdJson - -A contact id. - - -## Fields - -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `Id` | *string* | :heavy_check_mark: | The ID of the contact. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactIdPaginatedResponse.md b/packages/csharp/docs/Models/Components/ContactIdPaginatedResponse.md index e6cf4245d..d4ab987fd 100644 --- a/packages/csharp/docs/Models/Components/ContactIdPaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/ContactIdPaginatedResponse.md @@ -7,5 +7,5 @@ The response from a request to get the ids of contacts in a contact group or rel | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `Data` | List<[IdJson](../../Models/Components/IdJson.md)> | :heavy_check_mark: | Collection of contact ids. | \ No newline at end of file +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `Data` | List<[IdOnlyEntity](../../Models/Components/IdOnlyEntity.md)> | :heavy_check_mark: | Collection of contact ids. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactJson.md b/packages/csharp/docs/Models/Components/ContactJson.md new file mode 100644 index 000000000..e2e8e0190 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ContactJson.md @@ -0,0 +1,28 @@ +# ContactJson + +The contact details. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `ContactType` | [ContactTypeJson](../../Models/Components/ContactTypeJson.md) | :heavy_minus_sign: | The contact types used for the proposal. | | +| `FirstName` | *string* | :heavy_minus_sign: | The first name of the contact. | Saurabh | +| `LastName` | *string* | :heavy_minus_sign: | The last name of the contact. | Sachdeva | +| `OrganizationWebsite` | *string* | :heavy_minus_sign: | The URL of the organization's website. | www.cvent.com | +| `Organization` | *string* | :heavy_minus_sign: | The name of the organization. | Cvent | +| `Title` | *string* | :heavy_minus_sign: | Designation of the contact. | Co-founder | +| `Email` | *string* | :heavy_minus_sign: | The email address of the contact. | saurabhsachdeva@xyz.com | +| `CountryCode` | *string* | :heavy_minus_sign: | The country code for the contact's phone number. | 1 | +| `Phone` | *string* | :heavy_minus_sign: | The phone number of the organization. | 198752236 | +| `Fax` | *string* | :heavy_minus_sign: | The organization's fax number. | 2487234567 | +| `Mobile` | *string* | :heavy_minus_sign: | The mobile number of the contact. | 2487649053 | +| `StreetAddress1` | *string* | :heavy_minus_sign: | Address line 1 of contact's street address. | 299 ABC Street | +| `StreetAddress2` | *string* | :heavy_minus_sign: | Address line 2 of contact's street address. | Unit 1A | +| `StreetAddress3` | *string* | :heavy_minus_sign: | Address line 3 of contact's street address. | Seattle, Washington | +| `City` | *string* | :heavy_minus_sign: | The city of the contact. | Seattle | +| `StateProvince` | [StateProvinceJson](../../Models/Components/StateProvinceJson.md) | :heavy_minus_sign: | The state province code used for contact information. | | +| `PostalCode` | *string* | :heavy_minus_sign: | The postal code of the contact. | 110079 | +| `Country` | [CountryJson](../../Models/Components/CountryJson.md) | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. | | +| `Notes` | *string* | :heavy_minus_sign: | Additional notes of the contact. | Available between 8am - 5pm. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactJson0.md b/packages/csharp/docs/Models/Components/ContactJson0.md deleted file mode 100644 index d73199291..000000000 --- a/packages/csharp/docs/Models/Components/ContactJson0.md +++ /dev/null @@ -1,19 +0,0 @@ -# ContactJson0 - -Contact details of planner. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | -| `FirstName` | *string* | :heavy_check_mark: | The first name of the planner. | James | -| `LastName` | *string* | :heavy_check_mark: | The last name of the planner. | West | -| `Email` | *string* | :heavy_check_mark: | Email address of the planner. | jwest@example.com | -| `Address` | [AddressJson0](../../Models/Components/AddressJson0.md) | :heavy_minus_sign: | Address details. | | -| `CommissionRate` | *double* | :heavy_minus_sign: | Rate of commission chargeable by the planner. Precision up to 2 decimal places is accepted. | 10.75 | -| `Commissionable` | *bool* | :heavy_minus_sign: | True indicates commission is to be charged from supplier. | | -| `Phone` | *string* | :heavy_check_mark: | Phone number of the planner. | 555-555-5555 | -| `OrganizationName` | *string* | :heavy_check_mark: | Name of the organization. | Five Star Planners Inc. | -| `ThirdPartyPlanner` | *bool* | :heavy_minus_sign: | True indicates planner is a third party planner. | | -| `PreferredContactMethods` | List<[ContactMethodsJson](../../Models/Components/ContactMethodsJson.md)> | :heavy_minus_sign: | List of preferred contact methods for the planner. | [
"CVENT"
] | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactJson1.md b/packages/csharp/docs/Models/Components/ContactJson1.md deleted file mode 100644 index 51b34a785..000000000 --- a/packages/csharp/docs/Models/Components/ContactJson1.md +++ /dev/null @@ -1,28 +0,0 @@ -# ContactJson1 - -The contact details. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | -| `ContactType` | [ContactTypeJson1](../../Models/Components/ContactTypeJson1.md) | :heavy_minus_sign: | The contact types used for the proposal. | | -| `FirstName` | *string* | :heavy_minus_sign: | The first name of the contact. | Saurabh | -| `LastName` | *string* | :heavy_minus_sign: | The last name of the contact. | Sachdeva | -| `OrganizationWebsite` | *string* | :heavy_minus_sign: | The URL of the organization's website. | www.cvent.com | -| `Organization` | *string* | :heavy_minus_sign: | The name of the organization. | Cvent | -| `Title` | *string* | :heavy_minus_sign: | Designation of the contact. | Co-founder | -| `Email` | *string* | :heavy_minus_sign: | The email address of the contact. | saurabhsachdeva@xyz.com | -| `CountryCode` | *string* | :heavy_minus_sign: | The country code for the contact's phone number. | 1 | -| `Phone` | *string* | :heavy_minus_sign: | The phone number of the organization. | 198752236 | -| `Fax` | *string* | :heavy_minus_sign: | The organization's fax number. | 2487234567 | -| `Mobile` | *string* | :heavy_minus_sign: | The mobile number of the contact. | 2487649053 | -| `StreetAddress1` | *string* | :heavy_minus_sign: | Address line 1 of contact's street address. | 299 ABC Street | -| `StreetAddress2` | *string* | :heavy_minus_sign: | Address line 2 of contact's street address. | Unit 1A | -| `StreetAddress3` | *string* | :heavy_minus_sign: | Address line 3 of contact's street address. | Seattle, Washington | -| `City` | *string* | :heavy_minus_sign: | The city of the contact. | Seattle | -| `StateProvince` | [StateProvinceJson](../../Models/Components/StateProvinceJson.md) | :heavy_minus_sign: | The state province code used for contact information. | | -| `PostalCode` | *string* | :heavy_minus_sign: | The postal code of the contact. | 110079 | -| `Country` | [CountryJson](../../Models/Components/CountryJson.md) | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. | | -| `Notes` | *string* | :heavy_minus_sign: | Additional notes of the contact. | Available between 8am - 5pm. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactJson2.md b/packages/csharp/docs/Models/Components/ContactJson2.md deleted file mode 100644 index 78bd82835..000000000 --- a/packages/csharp/docs/Models/Components/ContactJson2.md +++ /dev/null @@ -1,10 +0,0 @@ -# ContactJson2 - -The contact details who watched a video - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | The unique ID of the contact who watched a video. | 123e4567-e89b-12d3-a456-426614174000 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactLinksInput.md b/packages/csharp/docs/Models/Components/ContactLinksInput.md new file mode 100644 index 000000000..8bc6e3278 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ContactLinksInput.md @@ -0,0 +1,12 @@ +# ContactLinksInput + +Collection of social media links for the contact. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `TwitterUrl` | [Link](../../Models/Components/Link.md) | :heavy_minus_sign: | Represents a link to a related resource. | +| `FacebookUrl` | [Link](../../Models/Components/Link.md) | :heavy_minus_sign: | Represents a link to a related resource. | +| `LinkedInUrl` | [Link](../../Models/Components/Link.md) | :heavy_minus_sign: | Represents a link to a related resource. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactLinksJson.md b/packages/csharp/docs/Models/Components/ContactLinksJson.md deleted file mode 100644 index 273bddad3..000000000 --- a/packages/csharp/docs/Models/Components/ContactLinksJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# ContactLinksJson - -Collection of social media links for the contact. - - -## Fields - -| Field | Type | Required | Description | -| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | -| `TwitterUrl` | [LinkJson](../../Models/Components/LinkJson.md) | :heavy_minus_sign: | Represents a link to a related resource. | -| `FacebookUrl` | [LinkJson](../../Models/Components/LinkJson.md) | :heavy_minus_sign: | Represents a link to a related resource. | -| `LinkedInUrl` | [LinkJson](../../Models/Components/LinkJson.md) | :heavy_minus_sign: | Represents a link to a related resource. | -| `ProfilePicture` | [ContactLinksJsonLink](../../Models/Components/ContactLinksJsonLink.md) | :heavy_minus_sign: | Reference to a profile picture. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactLinksJsonInput.md b/packages/csharp/docs/Models/Components/ContactLinksJsonInput.md deleted file mode 100644 index 7ee68a9a4..000000000 --- a/packages/csharp/docs/Models/Components/ContactLinksJsonInput.md +++ /dev/null @@ -1,12 +0,0 @@ -# ContactLinksJsonInput - -Collection of social media links for the contact. - - -## Fields - -| Field | Type | Required | Description | -| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | -| `TwitterUrl` | [LinkJson](../../Models/Components/LinkJson.md) | :heavy_minus_sign: | Represents a link to a related resource. | -| `FacebookUrl` | [LinkJson](../../Models/Components/LinkJson.md) | :heavy_minus_sign: | Represents a link to a related resource. | -| `LinkedInUrl` | [LinkJson](../../Models/Components/LinkJson.md) | :heavy_minus_sign: | Represents a link to a related resource. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactLinksJsonLink.md b/packages/csharp/docs/Models/Components/ContactLinksJsonLink.md deleted file mode 100644 index 755c9cffd..000000000 --- a/packages/csharp/docs/Models/Components/ContactLinksJsonLink.md +++ /dev/null @@ -1,10 +0,0 @@ -# ContactLinksJsonLink - -Reference to a profile picture. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `Href` | *string* | :heavy_check_mark: | The url of the contact's profile picture | https://cvent.com/picture123 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactMembership.md b/packages/csharp/docs/Models/Components/ContactMembership.md new file mode 100644 index 000000000..bacc24bb1 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ContactMembership.md @@ -0,0 +1,16 @@ +# ContactMembership + +Contact Membership information + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `Type` | *string* | :heavy_minus_sign: | The type of membership the contact has signed up for. | Corporate Sponsor | +| `Plan` | *string* | :heavy_minus_sign: | Describes the specific plan the contact has signed up for. | Gold Level | +| `Joined` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO-8601 formatted date the contact began their membership. | 2017-02-10 | +| `Expiration` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO-8601 formatted date the contact's membership will expire. | 2020-02-09 | +| `LastRenewal` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO-8601 formatted date the contact last renewed their membership. | 2019-02-08 | +| `AmountDue` | *double* | :heavy_minus_sign: | The amount currently due for this membership. | 50.5 | +| `ListInDirectory` | *bool* | :heavy_minus_sign: | Indicates if the member details should be included in the member directory. | false | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactMergeField.md b/packages/csharp/docs/Models/Components/ContactMergeField.md new file mode 100644 index 000000000..e4feeaf35 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ContactMergeField.md @@ -0,0 +1,11 @@ +# ContactMergeField + +A pair of a contact field name and a contact id. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `FieldName` | *string* | :heavy_check_mark: | The name of a contact field. | firstName | +| `ContactId` | *string* | :heavy_check_mark: | ID of the contact. | a45a3341-d30f-4bd9-bfd8-fbcdae37f0f2 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactMergeFieldJson.md b/packages/csharp/docs/Models/Components/ContactMergeFieldJson.md deleted file mode 100644 index 99ea338d3..000000000 --- a/packages/csharp/docs/Models/Components/ContactMergeFieldJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# ContactMergeFieldJson - -A pair of a contact field name and a contact id. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `FieldName` | *string* | :heavy_check_mark: | The name of a contact field. | firstName | -| `ContactId` | *string* | :heavy_check_mark: | ID of the contact. | a45a3341-d30f-4bd9-bfd8-fbcdae37f0f2 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactMethods.md b/packages/csharp/docs/Models/Components/ContactMethods.md new file mode 100644 index 000000000..4afd3aa60 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ContactMethods.md @@ -0,0 +1,22 @@ +# ContactMethods + +Medium for contacting the person. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = ContactMethods.Cvent; +``` + + +## Values + +| Name | Value | +| -------- | -------- | +| `Cvent` | CVENT | +| `Email` | EMAIL | +| `Fax` | FAX | +| `Mobile` | MOBILE | +| `Phone` | PHONE | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactMethodsJson.md b/packages/csharp/docs/Models/Components/ContactMethodsJson.md deleted file mode 100644 index f6add7147..000000000 --- a/packages/csharp/docs/Models/Components/ContactMethodsJson.md +++ /dev/null @@ -1,22 +0,0 @@ -# ContactMethodsJson - -Medium for contacting the person. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = ContactMethodsJson.Cvent; -``` - - -## Values - -| Name | Value | -| -------- | -------- | -| `Cvent` | CVENT | -| `Email` | EMAIL | -| `Fax` | FAX | -| `Mobile` | MOBILE | -| `Phone` | PHONE | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactObfuscationStatus.md b/packages/csharp/docs/Models/Components/ContactObfuscationStatus.md index 71ca2f9e6..39d3816af 100644 --- a/packages/csharp/docs/Models/Components/ContactObfuscationStatus.md +++ b/packages/csharp/docs/Models/Components/ContactObfuscationStatus.md @@ -7,6 +7,6 @@ Model representing an obfuscation status of a contact. | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Status` | [ContactObfuscationStatusTypeJson](../../Models/Components/ContactObfuscationStatusTypeJson.md) | :heavy_minus_sign: | Status of the request to obfuscate a contact.

INITIATED - The obfuscation request has been received.

QUEUED - The obfuscation request is currently waiting in the queue to be executed.

PROCESSING - The obfuscation request is currently being processed.

COMPLETED - The obfuscation request is complete.

FAILED - The obfuscation request failed due to an error. | INITIATED | +| `Status` | [ContactObfuscationStatusType](../../Models/Components/ContactObfuscationStatusType.md) | :heavy_minus_sign: | Status of the request to obfuscate a contact.

INITIATED - The obfuscation request has been received.

QUEUED - The obfuscation request is currently waiting in the queue to be executed.

PROCESSING - The obfuscation request is currently being processed.

COMPLETED - The obfuscation request is complete.

FAILED - The obfuscation request failed due to an error. | INITIATED | | `ObfuscateId` | *string* | :heavy_minus_sign: | The obfuscation job identifier. | | -| `Contact` | [ContactIdJson](../../Models/Components/ContactIdJson.md) | :heavy_minus_sign: | A contact id. | | \ No newline at end of file +| `Contact` | [ContactId](../../Models/Components/ContactId.md) | :heavy_minus_sign: | A contact id. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactObfuscationStatusType.md b/packages/csharp/docs/Models/Components/ContactObfuscationStatusType.md new file mode 100644 index 000000000..bfbc4579f --- /dev/null +++ b/packages/csharp/docs/Models/Components/ContactObfuscationStatusType.md @@ -0,0 +1,32 @@ +# ContactObfuscationStatusType + +Status of the request to obfuscate a contact. + +INITIATED - The obfuscation request has been received. + +QUEUED - The obfuscation request is currently waiting in the queue to be executed. + +PROCESSING - The obfuscation request is currently being processed. + +COMPLETED - The obfuscation request is complete. + +FAILED - The obfuscation request failed due to an error. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = ContactObfuscationStatusType.Initiated; +``` + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `Initiated` | INITIATED | +| `Queued` | QUEUED | +| `Processing` | PROCESSING | +| `Completed` | COMPLETED | +| `Failed` | FAILED | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactObfuscationStatusTypeJson.md b/packages/csharp/docs/Models/Components/ContactObfuscationStatusTypeJson.md deleted file mode 100644 index 5c6984b02..000000000 --- a/packages/csharp/docs/Models/Components/ContactObfuscationStatusTypeJson.md +++ /dev/null @@ -1,32 +0,0 @@ -# ContactObfuscationStatusTypeJson - -Status of the request to obfuscate a contact. - -INITIATED - The obfuscation request has been received. - -QUEUED - The obfuscation request is currently waiting in the queue to be executed. - -PROCESSING - The obfuscation request is currently being processed. - -COMPLETED - The obfuscation request is complete. - -FAILED - The obfuscation request failed due to an error. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = ContactObfuscationStatusTypeJson.Initiated; -``` - - -## Values - -| Name | Value | -| ------------ | ------------ | -| `Initiated` | INITIATED | -| `Queued` | QUEUED | -| `Processing` | PROCESSING | -| `Completed` | COMPLETED | -| `Failed` | FAILED | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactOptOut.md b/packages/csharp/docs/Models/Components/ContactOptOut.md new file mode 100644 index 000000000..95119df12 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ContactOptOut.md @@ -0,0 +1,12 @@ +# ContactOptOut + +Details of an opt-out for a Contact. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | +| `OptedOut` | *bool* | :heavy_minus_sign: | Used to denote if a contact has opted-out of receiving system generated emails. | false | +| `Date` | [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 contact was opted-out. This value can change if the contact opts out multiple times. | 2019-02-12T03:00:00Z | +| `By` | [OptoutBy](../../Models/Components/OptoutBy.md) | :heavy_minus_sign: | This is used to denote how a contact is opt'd out of Cvent system. | Account User | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactOptOutInput.md b/packages/csharp/docs/Models/Components/ContactOptOutInput.md new file mode 100644 index 000000000..08ec510f7 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ContactOptOutInput.md @@ -0,0 +1,10 @@ +# ContactOptOutInput + +Details of an opt-out for a Contact. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `OptedOut` | *bool* | :heavy_minus_sign: | Used to denote if a contact has opted-out of receiving system generated emails. | false | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactPaginatedResponse.md b/packages/csharp/docs/Models/Components/ContactPaginatedResponse.md index 013465b02..75eab90b7 100644 --- a/packages/csharp/docs/Models/Components/ContactPaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/ContactPaginatedResponse.md @@ -7,5 +7,5 @@ The response from a request to get the list of contacts. This includes the pagi | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `Data` | List<[ZeroAllOf7](../../Models/Components/ZeroAllOf7.md)> | :heavy_check_mark: | Collection of contacts. | \ No newline at end of file +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `Data` | List<[Contact](../../Models/Components/Contact.md)> | :heavy_check_mark: | Collection of contacts. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactPatch.md b/packages/csharp/docs/Models/Components/ContactPatch.md index f4dd1c559..9a76984bf 100644 --- a/packages/csharp/docs/Models/Components/ContactPatch.md +++ b/packages/csharp/docs/Models/Components/ContactPatch.md @@ -17,24 +17,24 @@ This entity is used to represent a single item that is requested for a contact p | `Company` | *object* | :heavy_minus_sign: | N/A | | | `Designation` | *string* | :heavy_minus_sign: | The designation of the contact, typically an award or credential. | CPA | | `Title` | *object* | :heavy_minus_sign: | N/A | | -| `Type` | [AttendeeContactTypeJsonInput](../../Models/Components/AttendeeContactTypeJsonInput.md) | :heavy_minus_sign: | Contains details related to the attendee's contact type. | | -| `PrimaryAddressType` | [AddressTypeJson](../../Models/Components/AddressTypeJson.md) | :heavy_minus_sign: | The type of address. | Home | +| `Type` | [AttendeeContactTypeInput](../../Models/Components/AttendeeContactTypeInput.md) | :heavy_minus_sign: | Contains details related to the attendee's contact type. | | +| `PrimaryAddressType` | [AddressType](../../Models/Components/AddressType.md) | :heavy_minus_sign: | The type of address. | Home | | `HomeAddress` | [HomeAddress](../../Models/Components/HomeAddress.md) | :heavy_minus_sign: | N/A | | | `HomePhone` | *object* | :heavy_minus_sign: | N/A | | | `HomeFax` | *string* | :heavy_minus_sign: | The fax number of the contact at their place of residence. | 555-555-5555 | -| `WorkAddress` | [AddressJsonInput](../../Models/Components/AddressJsonInput.md) | :heavy_minus_sign: | Contact address details. | | +| `WorkAddress` | [AddressInput](../../Models/Components/AddressInput.md) | :heavy_minus_sign: | Contact address details. | | | `WorkPhone` | *string* | :heavy_minus_sign: | The phone number of the contact at their place of work. | 555-555-5555 | | `WorkFax` | *string* | :heavy_minus_sign: | The fax number of the contact at their place of work. | 555-555-5555 | | `SourceId` | *string* | :heavy_minus_sign: | This is a ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. | system-a-00000000-0000-0000-0000-000000000000 | | `MobilePhone` | *string* | :heavy_minus_sign: | The contact's mobile phone number. | 555-555-5555 | | `Prefix` | *string* | :heavy_minus_sign: | Denotes what is traditionally a title of an individual. | Mr. | | `Pager` | *string* | :heavy_minus_sign: | The pager number of the contact. | 555-555-5555 | -| `OptOut` | [OptOutJsonInput](../../Models/Components/OptOutJsonInput.md) | :heavy_minus_sign: | Details of an opt-out for a Contact. | | +| `OptOut` | [ContactOptOutInput](../../Models/Components/ContactOptOutInput.md) | :heavy_minus_sign: | Details of an opt-out for a Contact. | | | `Npi` | *string* | :heavy_minus_sign: | Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. | 5555555555 | | `Links` | [ContactPatchLinks](../../Models/Components/ContactPatchLinks.md) | :heavy_minus_sign: | N/A | | | `DateOfBirth` | *object* | :heavy_minus_sign: | N/A | | | ~~`PassportNumber`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The passport number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use the passport.number field. | 123456789 | -| `Passport` | [PassportJsonInput](../../Models/Components/PassportJsonInput.md) | :heavy_minus_sign: | This entity represents a contact's passport information. | | +| `Passport` | [PassportInput](../../Models/Components/PassportInput.md) | :heavy_minus_sign: | This entity represents a contact's passport information. | | | `SocialSecurityNumber` | *object* | :heavy_minus_sign: | N/A | | | `NationalIdentificationNumber` | *string* | :heavy_minus_sign: | The national identification number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123456789 | | `Headline` | *string* | :heavy_minus_sign: | The headline of the contact's profile, which summarizes their professional experience and qualities. | Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands | diff --git a/packages/csharp/docs/Models/Components/ContactType.md b/packages/csharp/docs/Models/Components/ContactType.md new file mode 100644 index 000000000..4999a8fd8 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ContactType.md @@ -0,0 +1,14 @@ +# ContactType + +This entity represents a contact type at contact level. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | The ID of the contact type. | | +| `Code` | *string* | :heavy_check_mark: | The contact type code. Must be unique in the account. | VIP | +| `Name` | *string* | :heavy_check_mark: | Name of the contact type. | VIP Attendee | +| `Description` | *string* | :heavy_minus_sign: | Description of the contact type. | Very important attendee. | +| `Active` | *bool* | :heavy_minus_sign: | Indicates whether the contact type is active. | true | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactTypeJson.md b/packages/csharp/docs/Models/Components/ContactTypeJson.md index 5dc4a1b45..40c90b5df 100644 --- a/packages/csharp/docs/Models/Components/ContactTypeJson.md +++ b/packages/csharp/docs/Models/Components/ContactTypeJson.md @@ -1,14 +1,19 @@ # ContactTypeJson -This entity represents a contact type at contact level. +The contact types used for the proposal. +## Example Usage -## Fields +```csharp +using Cvent.SDK.Models.Components; -| Field | Type | Required | Description | Example | -| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | The ID of the contact type. | | -| `Code` | *string* | :heavy_check_mark: | The contact type code. Must be unique in the account. | VIP | -| `Name` | *string* | :heavy_check_mark: | Name of the contact type. | VIP Attendee | -| `Description` | *string* | :heavy_minus_sign: | Description of the contact type. | Very important attendee. | -| `Active` | *bool* | :heavy_minus_sign: | Indicates whether the contact type is active. | true | \ No newline at end of file +var value = ContactTypeJson.Primary; +``` + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `Primary` | PRIMARY | +| `Secondary` | SECONDARY | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactTypeJson1.md b/packages/csharp/docs/Models/Components/ContactTypeJson1.md deleted file mode 100644 index 26f47837f..000000000 --- a/packages/csharp/docs/Models/Components/ContactTypeJson1.md +++ /dev/null @@ -1,19 +0,0 @@ -# ContactTypeJson1 - -The contact types used for the proposal. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = ContactTypeJson1.Primary; -``` - - -## Values - -| Name | Value | -| ----------- | ----------- | -| `Primary` | PRIMARY | -| `Secondary` | SECONDARY | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactTypePaginatedResponse.md b/packages/csharp/docs/Models/Components/ContactTypePaginatedResponse.md index 5b968ebb0..a839aafe3 100644 --- a/packages/csharp/docs/Models/Components/ContactTypePaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/ContactTypePaginatedResponse.md @@ -5,7 +5,7 @@ The response from a request to get the list of contact types. This includes the ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `Data` | List<[ContactTypeJson](../../Models/Components/ContactTypeJson.md)> | :heavy_check_mark: | Collection of contact types. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `Data` | List<[ContactType](../../Models/Components/ContactType.md)> | :heavy_check_mark: | Collection of contact types. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactUpdate.md b/packages/csharp/docs/Models/Components/ContactUpdate.md index ff160872e..f1a71e950 100644 --- a/packages/csharp/docs/Models/Components/ContactUpdate.md +++ b/packages/csharp/docs/Models/Components/ContactUpdate.md @@ -13,28 +13,28 @@ This entity is used to represent a single item that is requested for a contact u | `Nickname` | *string* | :heavy_minus_sign: | The nickname of the contact. | Harry | | `Email` | *string* | :heavy_minus_sign: | The email address of the contact. | h.potterfield@test.com | | `CcEmail` | *string* | :heavy_minus_sign: | An alternate email address of the contact that can be cc'd on email communications. | h.porter@tesing.com | -| `Gender` | [GenderJson](../../Models/Components/GenderJson.md) | :heavy_minus_sign: | The gender of the contact. | Male | +| `Gender` | [Gender](../../Models/Components/Gender.md) | :heavy_minus_sign: | The gender of the contact. | Male | | `Company` | *string* | :heavy_minus_sign: | The company/organization the contact belongs to. | Cvent Inc. | | `Designation` | *string* | :heavy_minus_sign: | The designation of the contact, typically an award or credential. | CPA | | `Title` | *string* | :heavy_minus_sign: | The job title of the contact. | Event Planner | -| `Type` | [AttendeeContactTypeJsonInput](../../Models/Components/AttendeeContactTypeJsonInput.md) | :heavy_minus_sign: | Contains details related to the attendee's contact type. | | -| `PrimaryAddressType` | [AddressTypeJson](../../Models/Components/AddressTypeJson.md) | :heavy_minus_sign: | The type of address. | Home | -| `HomeAddress` | [AddressJsonInput](../../Models/Components/AddressJsonInput.md) | :heavy_minus_sign: | Contact address details. | | +| `Type` | [AttendeeContactTypeInput](../../Models/Components/AttendeeContactTypeInput.md) | :heavy_minus_sign: | Contains details related to the attendee's contact type. | | +| `PrimaryAddressType` | [AddressType](../../Models/Components/AddressType.md) | :heavy_minus_sign: | The type of address. | Home | +| `HomeAddress` | [AddressInput](../../Models/Components/AddressInput.md) | :heavy_minus_sign: | Contact address details. | | | `HomePhone` | *string* | :heavy_minus_sign: | The phone number of the contact at their place of residence. | 555-555-5555 | | `HomeFax` | *string* | :heavy_minus_sign: | The fax number of the contact at their place of residence. | 555-555-5555 | -| `WorkAddress` | [AddressJsonInput](../../Models/Components/AddressJsonInput.md) | :heavy_minus_sign: | Contact address details. | | +| `WorkAddress` | [AddressInput](../../Models/Components/AddressInput.md) | :heavy_minus_sign: | Contact address details. | | | `WorkPhone` | *string* | :heavy_minus_sign: | The phone number of the contact at their place of work. | 555-555-5555 | | `WorkFax` | *string* | :heavy_minus_sign: | The fax number of the contact at their place of work. | 555-555-5555 | | `SourceId` | *string* | :heavy_minus_sign: | This is a ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. | system-a-00000000-0000-0000-0000-000000000000 | | `MobilePhone` | *string* | :heavy_minus_sign: | The contact's mobile phone number. | 555-555-5555 | | `Prefix` | *string* | :heavy_minus_sign: | Denotes what is traditionally a title of an individual. | Mr. | | `Pager` | *string* | :heavy_minus_sign: | The pager number of the contact. | 555-555-5555 | -| `OptOut` | [OptOutJsonInput](../../Models/Components/OptOutJsonInput.md) | :heavy_minus_sign: | Details of an opt-out for a Contact. | | +| `OptOut` | [ContactOptOutInput](../../Models/Components/ContactOptOutInput.md) | :heavy_minus_sign: | Details of an opt-out for a Contact. | | | `Npi` | *string* | :heavy_minus_sign: | Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. | 5555555555 | -| `Links` | [ContactLinksJsonInput](../../Models/Components/ContactLinksJsonInput.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | +| `Links` | [ContactLinksInput](../../Models/Components/ContactLinksInput.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | | `DateOfBirth` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The date of birth of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 1990-01-01 | | ~~`PassportNumber`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The passport number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use the passport.number field. | 123456789 | -| `Passport` | [PassportJsonInput](../../Models/Components/PassportJsonInput.md) | :heavy_minus_sign: | This entity represents a contact's passport information. | | +| `Passport` | [PassportInput](../../Models/Components/PassportInput.md) | :heavy_minus_sign: | This entity represents a contact's passport information. | | | `SocialSecurityNumber` | *string* | :heavy_minus_sign: | The social security number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123-45-6789 | | `NationalIdentificationNumber` | *string* | :heavy_minus_sign: | The national identification number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123456789 | | `Headline` | *string* | :heavy_minus_sign: | The headline of the contact's profile, which summarizes their professional experience and qualities. | Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands | diff --git a/packages/csharp/docs/Models/Components/CreateTransactionResponse.md b/packages/csharp/docs/Models/Components/CreateTransactionResponse.md index b004e3ea0..df41dc6e8 100644 --- a/packages/csharp/docs/Models/Components/CreateTransactionResponse.md +++ b/packages/csharp/docs/Models/Components/CreateTransactionResponse.md @@ -13,7 +13,7 @@ Denotes the details of the transaction created for an attendee. | `LastModifiedBy` | *string* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | | `Id` | *string* | :heavy_minus_sign: | A unique ID representing the transaction. | 18549806a69f4727a315f2199a08d8b6 | | `Event` | [Event2](../../Models/Components/Event2.md) | :heavy_minus_sign: | The reference to the event. Contains only the ID of the event. | | -| `Attendee` | [Attendee2](../../Models/Components/Attendee2.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | +| `Attendee` | [Attendee](../../Models/Components/Attendee.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | | `Orders` | List<[Order](../../Models/Components/Order.md)> | :heavy_minus_sign: | This denotes the order IDs corresponding to this transaction. | [
{
"id": "7c4a5acd-9610-4c42-bd10-10e279e69ddc"
},
{
"id": "b479e85e-b5b0-49e7-9f11-65bad23350b1"
},
{
"id": "d1c24041-9ca4-4afd-a2f8-a0905d935aa9"
}
] | | `JournalNumber` | *string* | :heavy_minus_sign: | Journal number for this transaction. Represents an identifier for the transaction in your bank or ledger. | PZNK2PKZH4N | | `PaymentType` | [PaymentType](../../Models/Components/PaymentType.md) | :heavy_check_mark: | Denotes the type of transaction you're creating. Offline Charge: The transaction is a payment made to the attendee's order electronically in another system of record, or paid in physical currency. To create an offline charge, the attendee must have a balance owing. Offline Refund: The transaction is a refund issued to the attendee electronically in another system of record, or paid in physical currency. To create an offline refund, the attendee must have a balance due. | Offline Charge | diff --git a/packages/csharp/docs/Models/Components/CreateTransactionResponseInput.md b/packages/csharp/docs/Models/Components/CreateTransactionResponseInput.md index 298570fb6..85938f5b2 100644 --- a/packages/csharp/docs/Models/Components/CreateTransactionResponseInput.md +++ b/packages/csharp/docs/Models/Components/CreateTransactionResponseInput.md @@ -8,7 +8,7 @@ Denotes the details of the transaction created for an attendee. | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `Event` | [Event2](../../Models/Components/Event2.md) | :heavy_minus_sign: | The reference to the event. Contains only the ID of the event. | | -| `Attendee` | [Attendee2](../../Models/Components/Attendee2.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | +| `Attendee` | [Attendee](../../Models/Components/Attendee.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | | `PaymentType` | [PaymentType](../../Models/Components/PaymentType.md) | :heavy_check_mark: | Denotes the type of transaction you're creating. Offline Charge: The transaction is a payment made to the attendee's order electronically in another system of record, or paid in physical currency. To create an offline charge, the attendee must have a balance owing. Offline Refund: The transaction is a refund issued to the attendee electronically in another system of record, or paid in physical currency. To create an offline refund, the attendee must have a balance due. | Offline Charge | | `PaymentMethod` | [PaymentMethod](../../Models/Components/PaymentMethod.md) | :heavy_check_mark: | This denotes the payment method in a transaction. | Mastercard | | `Date` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 zoned date time when attendee made the transaction. | 2018-01-13T02:00:00Z | diff --git a/packages/csharp/docs/Models/Components/CreatedBy.md b/packages/csharp/docs/Models/Components/CreatedBy.md new file mode 100644 index 000000000..b42c5174f --- /dev/null +++ b/packages/csharp/docs/Models/Components/CreatedBy.md @@ -0,0 +1,27 @@ +# CreatedBy + +Denotes how the compliance request was created. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = CreatedBy.Attendee; +``` + + +## Values + +| Name | Value | +| ------------------- | ------------------- | +| `Attendee` | ATTENDEE | +| `Planner` | PLANNER | +| `Import` | IMPORT | +| `SoapApi` | SOAP_API | +| `RestApi` | REST_API | +| `Marketo` | MARKETO | +| `Saleforce` | SALEFORCE | +| `VideoCenterMember` | VIDEO_CENTER_MEMBER | +| `Respondent` | RESPONDENT | +| `NotSet` | NOT_SET | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CurrencyJson1.md b/packages/csharp/docs/Models/Components/CurrencyJson1.md deleted file mode 100644 index f3475ca59..000000000 --- a/packages/csharp/docs/Models/Components/CurrencyJson1.md +++ /dev/null @@ -1,184 +0,0 @@ -# CurrencyJson1 - -The ISO 4217 standard format currency code used for RFPs. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = CurrencyJson1.Usd; -``` - - -## Values - -| Name | Value | -| ----- | ----- | -| `Usd` | USD | -| `Cad` | CAD | -| `Aud` | AUD | -| `Eur` | EUR | -| `Gbp` | GBP | -| `Hkd` | HKD | -| `Nzd` | NZD | -| `Aed` | AED | -| `Nok` | NOK | -| `Inr` | INR | -| `Mxn` | MXN | -| `Sek` | SEK | -| `Dkk` | DKK | -| `Myr` | MYR | -| `Jpy` | JPY | -| `Sgd` | SGD | -| `Thb` | THB | -| `Idr` | IDR | -| `Krw` | KRW | -| `Cny` | CNY | -| `Twd` | TWD | -| `Rub` | RUB | -| `Chf` | CHF | -| `Czk` | CZK | -| `Huf` | HUF | -| `Qar` | QAR | -| `Zar` | ZAR | -| `Ron` | RON | -| `Hrk` | HRK | -| `Try` | TRY | -| `Brl` | BRL | -| `Php` | PHP | -| `Sar` | SAR | -| `Pln` | PLN | -| `Ars` | ARS | -| `Awg` | AWG | -| `Azn` | AZN | -| `Bsd` | BSD | -| `Bbd` | BBD | -| `Bmd` | BMD | -| `Clp` | CLP | -| `Cop` | COP | -| `Crc` | CRC | -| `Dop` | DOP | -| `Xcd` | XCD | -| `Ils` | ILS | -| `Jmd` | JMD | -| `Lvl` | LVL | -| `Ltl` | LTL | -| `Mdl` | MDL | -| `Ang` | ANG | -| `Omr` | OMR | -| `Ttd` | TTD | -| `Uah` | UAH | -| `Uyu` | UYU | -| `Rsd` | RSD | -| `Afn` | AFN | -| `Amd` | AMD | -| `Aoa` | AOA | -| `Bam` | BAM | -| `Bdt` | BDT | -| `Bgn` | BGN | -| `Bhd` | BHD | -| `Bob` | BOB | -| `Dzd` | DZD | -| `Eek` | EEK | -| `Egp` | EGP | -| `Fjd` | FJD | -| `Gtq` | GTQ | -| `Hnl` | HNL | -| `Isk` | ISK | -| `Jod` | JOD | -| `Kyd` | KYD | -| `Kzt` | KZT | -| `Lbp` | LBP | -| `Mad` | MAD | -| `Ngn` | NGN | -| `Nio` | NIO | -| `Esp` | ESP | -| `Frf` | FRF | -| `Pab` | PAB | -| `Pen` | PEN | -| `Pkr` | PKR | -| `Pyg` | PYG | -| `Svc` | SVC | -| `Syp` | SYP | -| `Vef` | VEF | -| `Vnd` | VND | -| `Xpf` | XPF | -| `Gyd` | GYD | -| `Mop` | MOP | -| `Pgk` | PGK | -| `Xof` | XOF | -| `Xaf` | XAF | -| `Bzd` | BZD | -| `Byr` | BYR | -| `Bwp` | BWP | -| `Bnd` | BND | -| `Bif` | BIF | -| `Khr` | KHR | -| `Cve` | CVE | -| `Kmf` | KMF | -| `Cdf` | CDF | -| `Djf` | DJF | -| `Ern` | ERN | -| `Fkp` | FKP | -| `Gmd` | GMD | -| `Gel` | GEL | -| `Ghs` | GHS | -| `Gip` | GIP | -| `Gnf` | GNF | -| `Htg` | HTG | -| `Kes` | KES | -| `Kwd` | KWD | -| `Kgs` | KGS | -| `Lak` | LAK | -| `Lrd` | LRD | -| `Mkd` | MKD | -| `Mga` | MGA | -| `Mwk` | MWK | -| `Mvr` | MVR | -| `Mro` | MRO | -| `Mur` | MUR | -| `Mnt` | MNT | -| `Mzn` | MZN | -| `Mmk` | MMK | -| `Nad` | NAD | -| `Npr` | NPR | -| `Rwf` | RWF | -| `Shp` | SHP | -| `Wst` | WST | -| `Std` | STD | -| `Sll` | SLL | -| `Sbd` | SBD | -| `Sos` | SOS | -| `Lkr` | LKR | -| `Srd` | SRD | -| `Szl` | SZL | -| `Top` | TOP | -| `Tnd` | TND | -| `Ugx` | UGX | -| `Uzs` | UZS | -| `Vuv` | VUV | -| `Yer` | YER | -| `Zmk` | ZMK | -| `Zwd` | ZWD | -| `Sr` | SR | -| `Etb` | ETB | -| `Gh` | GH | -| `Gwp` | GWP | -| `Iqd` | IQD | -| `Irr` | IRR | -| `Kpw` | KPW | -| `Lsl` | LSL | -| `Rol` | ROL | -| `Sdg` | SDG | -| `Skk` | SKK | -| `Tjs` | TJS | -| `Tmt` | TMT | -| `Tzs` | TZS | -| `All` | ALL | -| `Btn` | BTN | -| `Cup` | CUP | -| `Ld` | LD | -| `Scr` | SCR | -| `Zmw` | ZMW | -| `Zwl` | ZWL | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CurrencyJson2.md b/packages/csharp/docs/Models/Components/CurrencyJson2.md new file mode 100644 index 000000000..c500c8358 --- /dev/null +++ b/packages/csharp/docs/Models/Components/CurrencyJson2.md @@ -0,0 +1,184 @@ +# CurrencyJson2 + +The ISO 4217 standard format currency code used for RFPs. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = CurrencyJson2.Usd; +``` + + +## Values + +| Name | Value | +| ----- | ----- | +| `Usd` | USD | +| `Cad` | CAD | +| `Aud` | AUD | +| `Eur` | EUR | +| `Gbp` | GBP | +| `Hkd` | HKD | +| `Nzd` | NZD | +| `Aed` | AED | +| `Nok` | NOK | +| `Inr` | INR | +| `Mxn` | MXN | +| `Sek` | SEK | +| `Dkk` | DKK | +| `Myr` | MYR | +| `Jpy` | JPY | +| `Sgd` | SGD | +| `Thb` | THB | +| `Idr` | IDR | +| `Krw` | KRW | +| `Cny` | CNY | +| `Twd` | TWD | +| `Rub` | RUB | +| `Chf` | CHF | +| `Czk` | CZK | +| `Huf` | HUF | +| `Qar` | QAR | +| `Zar` | ZAR | +| `Ron` | RON | +| `Hrk` | HRK | +| `Try` | TRY | +| `Brl` | BRL | +| `Php` | PHP | +| `Sar` | SAR | +| `Pln` | PLN | +| `Ars` | ARS | +| `Awg` | AWG | +| `Azn` | AZN | +| `Bsd` | BSD | +| `Bbd` | BBD | +| `Bmd` | BMD | +| `Clp` | CLP | +| `Cop` | COP | +| `Crc` | CRC | +| `Dop` | DOP | +| `Xcd` | XCD | +| `Ils` | ILS | +| `Jmd` | JMD | +| `Lvl` | LVL | +| `Ltl` | LTL | +| `Mdl` | MDL | +| `Ang` | ANG | +| `Omr` | OMR | +| `Ttd` | TTD | +| `Uah` | UAH | +| `Uyu` | UYU | +| `Rsd` | RSD | +| `Afn` | AFN | +| `Amd` | AMD | +| `Aoa` | AOA | +| `Bam` | BAM | +| `Bdt` | BDT | +| `Bgn` | BGN | +| `Bhd` | BHD | +| `Bob` | BOB | +| `Dzd` | DZD | +| `Eek` | EEK | +| `Egp` | EGP | +| `Fjd` | FJD | +| `Gtq` | GTQ | +| `Hnl` | HNL | +| `Isk` | ISK | +| `Jod` | JOD | +| `Kyd` | KYD | +| `Kzt` | KZT | +| `Lbp` | LBP | +| `Mad` | MAD | +| `Ngn` | NGN | +| `Nio` | NIO | +| `Esp` | ESP | +| `Frf` | FRF | +| `Pab` | PAB | +| `Pen` | PEN | +| `Pkr` | PKR | +| `Pyg` | PYG | +| `Svc` | SVC | +| `Syp` | SYP | +| `Vef` | VEF | +| `Vnd` | VND | +| `Xpf` | XPF | +| `Gyd` | GYD | +| `Mop` | MOP | +| `Pgk` | PGK | +| `Xof` | XOF | +| `Xaf` | XAF | +| `Bzd` | BZD | +| `Byr` | BYR | +| `Bwp` | BWP | +| `Bnd` | BND | +| `Bif` | BIF | +| `Khr` | KHR | +| `Cve` | CVE | +| `Kmf` | KMF | +| `Cdf` | CDF | +| `Djf` | DJF | +| `Ern` | ERN | +| `Fkp` | FKP | +| `Gmd` | GMD | +| `Gel` | GEL | +| `Ghs` | GHS | +| `Gip` | GIP | +| `Gnf` | GNF | +| `Htg` | HTG | +| `Kes` | KES | +| `Kwd` | KWD | +| `Kgs` | KGS | +| `Lak` | LAK | +| `Lrd` | LRD | +| `Mkd` | MKD | +| `Mga` | MGA | +| `Mwk` | MWK | +| `Mvr` | MVR | +| `Mro` | MRO | +| `Mur` | MUR | +| `Mnt` | MNT | +| `Mzn` | MZN | +| `Mmk` | MMK | +| `Nad` | NAD | +| `Npr` | NPR | +| `Rwf` | RWF | +| `Shp` | SHP | +| `Wst` | WST | +| `Std` | STD | +| `Sll` | SLL | +| `Sbd` | SBD | +| `Sos` | SOS | +| `Lkr` | LKR | +| `Srd` | SRD | +| `Szl` | SZL | +| `Top` | TOP | +| `Tnd` | TND | +| `Ugx` | UGX | +| `Uzs` | UZS | +| `Vuv` | VUV | +| `Yer` | YER | +| `Zmk` | ZMK | +| `Zwd` | ZWD | +| `Sr` | SR | +| `Etb` | ETB | +| `Gh` | GH | +| `Gwp` | GWP | +| `Iqd` | IQD | +| `Irr` | IRR | +| `Kpw` | KPW | +| `Lsl` | LSL | +| `Rol` | ROL | +| `Sdg` | SDG | +| `Skk` | SKK | +| `Tjs` | TJS | +| `Tmt` | TMT | +| `Tzs` | TZS | +| `All` | ALL | +| `Btn` | BTN | +| `Cup` | CUP | +| `Ld` | LD | +| `Scr` | SCR | +| `Zmw` | ZMW | +| `Zwl` | ZWL | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CustomField3.md b/packages/csharp/docs/Models/Components/CustomField3.md index d913a56ee..3c19c3aaf 100644 --- a/packages/csharp/docs/Models/Components/CustomField3.md +++ b/packages/csharp/docs/Models/Components/CustomField3.md @@ -11,7 +11,7 @@ This is used to denote the custom field data. | `Name` | *string* | :heavy_check_mark: | The actual text of the custom field. | What is a your favorite color? | | `Code` | *string* | :heavy_check_mark: | Code to uniquely identify custom field. | FAVORITE_COLOR_CODE | | `Required` | *bool* | :heavy_minus_sign: | Whether answer to custom field is mandatory or not. | true | -| `Type` | [CustomFieldTypeJson1](../../Models/Components/CustomFieldTypeJson1.md) | :heavy_check_mark: | This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. | Open Ended Text - One Line | +| `Type` | [CustomFieldTypeJson](../../Models/Components/CustomFieldTypeJson.md) | :heavy_check_mark: | This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. | Open Ended Text - One Line | | `Details` | [CustomField3Details](../../Models/Components/CustomField3Details.md) | :heavy_minus_sign: | Type-specific details of the custom-field. | | | `HelpText` | *string* | :heavy_minus_sign: | The help text of the custom field. | Enter your favorite color. | | `DisplayInDataTag` | [DisplayInDataTagJson](../../Models/Components/DisplayInDataTagJson.md) | :heavy_minus_sign: | This option allows you to choose whether to display the custom field in emails. The field name and the value entered by the invitee are used in the My Agenda data tag. You can set the custom field to display always or only when answered. Only applicable to session custom fields. | No | diff --git a/packages/csharp/docs/Models/Components/CustomFieldAnswers.md b/packages/csharp/docs/Models/Components/CustomFieldAnswers.md new file mode 100644 index 000000000..a5262f234 --- /dev/null +++ b/packages/csharp/docs/Models/Components/CustomFieldAnswers.md @@ -0,0 +1,11 @@ +# CustomFieldAnswers + +This object contains RFP custom fields attributes only. + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `CustomField` | [ExpandableCustomObject](../../Models/Components/ExpandableCustomObject.md) | :heavy_check_mark: | An object containing custom field data. By default, contains only the field ID.

This is an **expandable** object. When requested via the `expand` query parameter with value `customField`, this object expands to include all properties of a custom field definition.

See the `expand` parameter documentation and refer to the [Get Custom Field](#tag/Custom-Fields/operation/getCustomField) API for the complete expanded schema. | +| `Answers` | List<*string*> | :heavy_check_mark: | List of answers for the RFP custom field. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CustomFieldJson.md b/packages/csharp/docs/Models/Components/CustomFieldJson.md new file mode 100644 index 000000000..fc238aeb6 --- /dev/null +++ b/packages/csharp/docs/Models/Components/CustomFieldJson.md @@ -0,0 +1,14 @@ +# CustomFieldJson + +A Custom Field + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | The unique ID representing this custom field. | | +| `Name` | *string* | :heavy_minus_sign: | The actual text of the custom field. | What is a your favorite color? | +| `Type` | [CustomFieldJsonCustomFieldType](../../Models/Components/CustomFieldJsonCustomFieldType.md) | :heavy_minus_sign: | The type of data collected by a custom field. | MultiSelect | +| `Value` | List<*string*> | :heavy_check_mark: | The set of answers or possible answers to a question. | [
"Choice C",
"Choice A"
] | +| `Order` | *long* | :heavy_minus_sign: | The order of this question in the bigger list of questions. | 1 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CustomFieldJson1.md b/packages/csharp/docs/Models/Components/CustomFieldJson1.md index 3235fb6c1..cf1aba236 100644 --- a/packages/csharp/docs/Models/Components/CustomFieldJson1.md +++ b/packages/csharp/docs/Models/Components/CustomFieldJson1.md @@ -1,14 +1,14 @@ # CustomFieldJson1 -A Custom Field +A survey custom field. ## Fields | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | The unique ID representing this custom field. | | +| `Id` | *string* | :heavy_check_mark: | The unique id representing this custom field. | bd57aeda-3483-4bcf-886e-c976e9f4454a | | `Name` | *string* | :heavy_minus_sign: | The actual text of the custom field. | What is a your favorite color? | -| `Type` | [CustomFieldJson1CustomFieldType](../../Models/Components/CustomFieldJson1CustomFieldType.md) | :heavy_minus_sign: | The type of data collected by a custom field. | MultiSelect | -| `Value` | List<*string*> | :heavy_check_mark: | The set of answers or possible answers to a question. | [
"Choice C",
"Choice A"
] | -| `Order` | *long* | :heavy_minus_sign: | The order of this question in the bigger list of questions. | 1 | \ No newline at end of file +| `Code` | *string* | :heavy_minus_sign: | Code to uniquely identify custom field. | FAVORITE_COLOR_CODE | +| `Type` | [CustomFieldJson1CustomFieldType](../../Models/Components/CustomFieldJson1CustomFieldType.md) | :heavy_minus_sign: | N/A | Choice - Multiple Answers | +| `Values` | List<*string*> | :heavy_check_mark: | The set of values or possible values to a custom field. | [
"Green",
"Blue"
] | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CustomFieldJson1CustomFieldType.md b/packages/csharp/docs/Models/Components/CustomFieldJson1CustomFieldType.md index f92b45906..07199003e 100644 --- a/packages/csharp/docs/Models/Components/CustomFieldJson1CustomFieldType.md +++ b/packages/csharp/docs/Models/Components/CustomFieldJson1CustomFieldType.md @@ -1,36 +1,22 @@ # CustomFieldJson1CustomFieldType -The type of data collected by a custom field. +This is used to denote the type of data collected by a custom field. ## Example Usage ```csharp using Cvent.SDK.Models.Components; -var value = CustomFieldJson1CustomFieldType.AutoIncrement; +var value = CustomFieldJson1CustomFieldType.OpenEndedTextDateTime; ``` ## Values -| Name | Value | -| ------------------- | ------------------- | -| `AutoIncrement` | AutoIncrement | -| `ConsentQuestion` | ConsentQuestion | -| `Currency` | Currency | -| `Decimal` | Decimal | -| `Date` | Date | -| `DateTime` | DateTime | -| `Email` | Email | -| `FileUpload` | FileUpload | -| `FreeText` | FreeText | -| `General` | General | -| `MultiChoice` | MultiChoice | -| `MultiSelect` | MultiSelect | -| `Number` | Number | -| `OpenEndedDateTime` | OpenEndedDateTime | -| `OpenEndedText` | OpenEndedText | -| `SingleChoice` | SingleChoice | -| `SingleSelect` | SingleSelect | -| `USPhoneNumber` | USPhoneNumber | -| `Unknown` | Unknown | \ No newline at end of file +| Name | Value | +| ----------------------------- | ----------------------------- | +| `OpenEndedTextDateTime` | Open Ended Text - Date/Time | +| `OpenEndedTextOneLine` | Open Ended Text - One Line | +| `OpenEndedTextCommentBox` | Open Ended Text - Comment Box | +| `ChoiceSingleAnswer` | Choice - Single Answer | +| `ChoiceMultipleAnswers` | Choice - Multiple Answers | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CustomFieldJson2.md b/packages/csharp/docs/Models/Components/CustomFieldJson2.md index 961366d6b..02817e070 100644 --- a/packages/csharp/docs/Models/Components/CustomFieldJson2.md +++ b/packages/csharp/docs/Models/Components/CustomFieldJson2.md @@ -1,14 +1,14 @@ # CustomFieldJson2 -A survey custom field. +A Custom Field ## Fields | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | The unique id representing this custom field. | bd57aeda-3483-4bcf-886e-c976e9f4454a | -| `Name` | *string* | :heavy_minus_sign: | The actual text of the custom field. | What is a your favorite color? | -| `Code` | *string* | :heavy_minus_sign: | Code to uniquely identify custom field. | FAVORITE_COLOR_CODE | -| `Type` | [CustomFieldJson2CustomFieldType](../../Models/Components/CustomFieldJson2CustomFieldType.md) | :heavy_minus_sign: | N/A | Choice - Multiple Answers | -| `Values` | List<*string*> | :heavy_check_mark: | The set of values or possible values to a custom field. | [
"Green",
"Blue"
] | \ No newline at end of file +| `Id` | *string* | :heavy_check_mark: | The unique ID representing this custom field. | | +| `Name` | *string* | :heavy_minus_sign: | The actual text of the custom field. | What is your favorite color? | +| `Value` | List<*string*> | :heavy_check_mark: | The set of answers or possible answers to a question. | [
"Choice C",
"Choice A"
] | +| `Order` | *long* | :heavy_minus_sign: | The order of this question in the bigger list of questions. | 1 | +| `Type` | [CustomFieldJson2CustomFieldType](../../Models/Components/CustomFieldJson2CustomFieldType.md) | :heavy_minus_sign: | The type of data collected by a custom field. | MultiSelect | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CustomFieldJson2CustomFieldType.md b/packages/csharp/docs/Models/Components/CustomFieldJson2CustomFieldType.md index a3bfd4013..0cc18a270 100644 --- a/packages/csharp/docs/Models/Components/CustomFieldJson2CustomFieldType.md +++ b/packages/csharp/docs/Models/Components/CustomFieldJson2CustomFieldType.md @@ -1,22 +1,36 @@ # CustomFieldJson2CustomFieldType -This is used to denote the type of data collected by a custom field. +The type of data collected by a custom field. ## Example Usage ```csharp using Cvent.SDK.Models.Components; -var value = CustomFieldJson2CustomFieldType.OpenEndedTextDateTime; +var value = CustomFieldJson2CustomFieldType.AutoIncrement; ``` ## Values -| Name | Value | -| ----------------------------- | ----------------------------- | -| `OpenEndedTextDateTime` | Open Ended Text - Date/Time | -| `OpenEndedTextOneLine` | Open Ended Text - One Line | -| `OpenEndedTextCommentBox` | Open Ended Text - Comment Box | -| `ChoiceSingleAnswer` | Choice - Single Answer | -| `ChoiceMultipleAnswers` | Choice - Multiple Answers | \ No newline at end of file +| Name | Value | +| ------------------- | ------------------- | +| `AutoIncrement` | AutoIncrement | +| `ConsentQuestion` | ConsentQuestion | +| `Currency` | Currency | +| `Decimal` | Decimal | +| `Date` | Date | +| `DateTime` | DateTime | +| `Email` | Email | +| `FileUpload` | FileUpload | +| `FreeText` | FreeText | +| `General` | General | +| `MultiChoice` | MultiChoice | +| `MultiSelect` | MultiSelect | +| `Number` | Number | +| `OpenEndedDateTime` | OpenEndedDateTime | +| `OpenEndedText` | OpenEndedText | +| `SingleChoice` | SingleChoice | +| `SingleSelect` | SingleSelect | +| `USPhoneNumber` | USPhoneNumber | +| `Unknown` | Unknown | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CustomFieldJson3.md b/packages/csharp/docs/Models/Components/CustomFieldJson3.md deleted file mode 100644 index eb4147beb..000000000 --- a/packages/csharp/docs/Models/Components/CustomFieldJson3.md +++ /dev/null @@ -1,14 +0,0 @@ -# CustomFieldJson3 - -A Custom Field - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | The unique ID representing this custom field. | | -| `Name` | *string* | :heavy_minus_sign: | The actual text of the custom field. | What is your favorite color? | -| `Value` | List<*string*> | :heavy_check_mark: | The set of answers or possible answers to a question. | [
"Choice C",
"Choice A"
] | -| `Order` | *long* | :heavy_minus_sign: | The order of this question in the bigger list of questions. | 1 | -| `Type` | [CustomFieldJson3CustomFieldType](../../Models/Components/CustomFieldJson3CustomFieldType.md) | :heavy_minus_sign: | The type of data collected by a custom field. | MultiSelect | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CustomFieldJson3CustomFieldType.md b/packages/csharp/docs/Models/Components/CustomFieldJson3CustomFieldType.md deleted file mode 100644 index b3a97f377..000000000 --- a/packages/csharp/docs/Models/Components/CustomFieldJson3CustomFieldType.md +++ /dev/null @@ -1,36 +0,0 @@ -# CustomFieldJson3CustomFieldType - -The type of data collected by a custom field. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = CustomFieldJson3CustomFieldType.AutoIncrement; -``` - - -## Values - -| Name | Value | -| ------------------- | ------------------- | -| `AutoIncrement` | AutoIncrement | -| `ConsentQuestion` | ConsentQuestion | -| `Currency` | Currency | -| `Decimal` | Decimal | -| `Date` | Date | -| `DateTime` | DateTime | -| `Email` | Email | -| `FileUpload` | FileUpload | -| `FreeText` | FreeText | -| `General` | General | -| `MultiChoice` | MultiChoice | -| `MultiSelect` | MultiSelect | -| `Number` | Number | -| `OpenEndedDateTime` | OpenEndedDateTime | -| `OpenEndedText` | OpenEndedText | -| `SingleChoice` | SingleChoice | -| `SingleSelect` | SingleSelect | -| `USPhoneNumber` | USPhoneNumber | -| `Unknown` | Unknown | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CustomFieldJsonCustomFieldType.md b/packages/csharp/docs/Models/Components/CustomFieldJsonCustomFieldType.md new file mode 100644 index 000000000..d42b49005 --- /dev/null +++ b/packages/csharp/docs/Models/Components/CustomFieldJsonCustomFieldType.md @@ -0,0 +1,36 @@ +# CustomFieldJsonCustomFieldType + +The type of data collected by a custom field. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = CustomFieldJsonCustomFieldType.AutoIncrement; +``` + + +## Values + +| Name | Value | +| ------------------- | ------------------- | +| `AutoIncrement` | AutoIncrement | +| `ConsentQuestion` | ConsentQuestion | +| `Currency` | Currency | +| `Decimal` | Decimal | +| `Date` | Date | +| `DateTime` | DateTime | +| `Email` | Email | +| `FileUpload` | FileUpload | +| `FreeText` | FreeText | +| `General` | General | +| `MultiChoice` | MultiChoice | +| `MultiSelect` | MultiSelect | +| `Number` | Number | +| `OpenEndedDateTime` | OpenEndedDateTime | +| `OpenEndedText` | OpenEndedText | +| `SingleChoice` | SingleChoice | +| `SingleSelect` | SingleSelect | +| `USPhoneNumber` | USPhoneNumber | +| `Unknown` | Unknown | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CustomFieldTypeJson.md b/packages/csharp/docs/Models/Components/CustomFieldTypeJson.md new file mode 100644 index 000000000..6ffece5f4 --- /dev/null +++ b/packages/csharp/docs/Models/Components/CustomFieldTypeJson.md @@ -0,0 +1,23 @@ +# CustomFieldTypeJson + +This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = CustomFieldTypeJson.OpenEndedTextDateTime; +``` + + +## Values + +| Name | Value | +| ----------------------------- | ----------------------------- | +| `OpenEndedTextDateTime` | Open Ended Text - Date/Time | +| `OpenEndedTextOneLine` | Open Ended Text - One Line | +| `OpenEndedTextCommentBox` | Open Ended Text - Comment Box | +| `ChoiceSingleAnswer` | Choice - Single Answer | +| `ChoiceMultipleAnswers` | Choice - Multiple Answers | +| `AutoIncrement` | Auto-Increment | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CustomFieldTypeJson1.md b/packages/csharp/docs/Models/Components/CustomFieldTypeJson1.md deleted file mode 100644 index 319b4dd5c..000000000 --- a/packages/csharp/docs/Models/Components/CustomFieldTypeJson1.md +++ /dev/null @@ -1,23 +0,0 @@ -# CustomFieldTypeJson1 - -This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = CustomFieldTypeJson1.OpenEndedTextDateTime; -``` - - -## Values - -| Name | Value | -| ----------------------------- | ----------------------------- | -| `OpenEndedTextDateTime` | Open Ended Text - Date/Time | -| `OpenEndedTextOneLine` | Open Ended Text - One Line | -| `OpenEndedTextCommentBox` | Open Ended Text - Comment Box | -| `ChoiceSingleAnswer` | Choice - Single Answer | -| `ChoiceMultipleAnswers` | Choice - Multiple Answers | -| `AutoIncrement` | Auto-Increment | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CustomQuestionAnswerJson0.md b/packages/csharp/docs/Models/Components/CustomQuestionAnswerJson0.md deleted file mode 100644 index 158f48ec8..000000000 --- a/packages/csharp/docs/Models/Components/CustomQuestionAnswerJson0.md +++ /dev/null @@ -1,11 +0,0 @@ -# CustomQuestionAnswerJson0 - -Represents custom question associated with a travel proposal. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -| `Question` | [CustomQuestionAnswerJson0Question](../../Models/Components/CustomQuestionAnswerJson0Question.md) | :heavy_minus_sign: | Travel account that the proposal is responding to. | | -| `Answer` | *string* | :heavy_minus_sign: | Hotel's answer to the program's custom question. | No. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/CustomQuestionAnswerJson0Question.md b/packages/csharp/docs/Models/Components/CustomQuestionAnswerJson0Question.md deleted file mode 100644 index dc41dfb88..000000000 --- a/packages/csharp/docs/Models/Components/CustomQuestionAnswerJson0Question.md +++ /dev/null @@ -1,10 +0,0 @@ -# CustomQuestionAnswerJson0Question - -Travel account that the proposal is responding to. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `Id` | *string* | :heavy_minus_sign: | The unique ID of the question. | 565ceabb-786a-4a6d-8c85-e2fccc867e88 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/DateAnswerFormat.md b/packages/csharp/docs/Models/Components/DateAnswerFormat.md new file mode 100644 index 000000000..f47f2b7ce --- /dev/null +++ b/packages/csharp/docs/Models/Components/DateAnswerFormat.md @@ -0,0 +1,20 @@ +# DateAnswerFormat + +The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. `DateTime`: Answer format is stored in DateTime format. `Time`: Answer format is stored in Time format. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = DateAnswerFormat.Date; +``` + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `Date` | Date | +| `DateTime` | DateTime | +| `Time` | Time | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/DateAnswerFormatJson.md b/packages/csharp/docs/Models/Components/DateAnswerFormatJson.md deleted file mode 100644 index db2b42033..000000000 --- a/packages/csharp/docs/Models/Components/DateAnswerFormatJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# DateAnswerFormatJson - -The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. `DateTime`: Answer format is stored in DateTime format. `Time`: Answer format is stored in Time format. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = DateAnswerFormatJson.Date; -``` - - -## Values - -| Name | Value | -| ---------- | ---------- | -| `Date` | Date | -| `DateTime` | DateTime | -| `Time` | Time | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/DatePattern1.md b/packages/csharp/docs/Models/Components/DatePattern1.md new file mode 100644 index 000000000..9a8fc2440 --- /dev/null +++ b/packages/csharp/docs/Models/Components/DatePattern1.md @@ -0,0 +1,15 @@ +# DatePattern1 + +Date pattern for days on which event can occur. Used when dateMode is DATE_PATTERN. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `Note` | *string* | :heavy_minus_sign: | Note along with date pattern requirements. | Flexible dates on weekends. | +| `EndDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_check_mark: | The ISO 8601 end date of the event. | 2016-10-15 | +| `StartDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_check_mark: | The ISO 8601 start date of the event. | 2016-10-13 | +| `DurationDays` | *long* | :heavy_check_mark: | Number of days the event will go on. | 3 | +| `StartDays` | List<[DayOfWeek](../../Models/Components/DayOfWeek.md)> | :heavy_check_mark: | Days of the week when event can start. | | +| `GeneratedDates` | List<[Dates1](../../Models/Components/Dates1.md)> | :heavy_minus_sign: | List of dates generated based on the date pattern. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/DatePatternJson0.md b/packages/csharp/docs/Models/Components/DatePatternJson0.md deleted file mode 100644 index 745aba50d..000000000 --- a/packages/csharp/docs/Models/Components/DatePatternJson0.md +++ /dev/null @@ -1,15 +0,0 @@ -# DatePatternJson0 - -Date pattern for days on which event can occur. Used when dateMode is DATE_PATTERN. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `Note` | *string* | :heavy_minus_sign: | Note along with date pattern requirements. | Flexible dates on weekends. | -| `EndDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_check_mark: | The ISO 8601 end date of the event. | 2016-10-15 | -| `StartDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_check_mark: | The ISO 8601 start date of the event. | 2016-10-13 | -| `DurationDays` | *long* | :heavy_check_mark: | Number of days the event will go on. | 3 | -| `StartDays` | List<[DayOfWeekJson0](../../Models/Components/DayOfWeekJson0.md)> | :heavy_check_mark: | Days of the week when event can start. | | -| `GeneratedDates` | List<[DatesJson0](../../Models/Components/DatesJson0.md)> | :heavy_minus_sign: | List of dates generated based on the date pattern. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/DateRequirements1.md b/packages/csharp/docs/Models/Components/DateRequirements1.md new file mode 100644 index 000000000..e03d4eb90 --- /dev/null +++ b/packages/csharp/docs/Models/Components/DateRequirements1.md @@ -0,0 +1,13 @@ +# DateRequirements1 + +Date requirements for the event. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| `Mode` | [RfpDateMode](../../Models/Components/RfpDateMode.md) | :heavy_check_mark: | RfpDateMode | +| `AlternateDates` | List<[Dates1](../../Models/Components/Dates1.md)> | :heavy_minus_sign: | List of dates for the event. Can be used to provide set of alternate event dates when mode is ALTERNATE_DATE. | +| `Pattern` | [DatePattern1](../../Models/Components/DatePattern1.md) | :heavy_minus_sign: | Date pattern for days on which event can occur. Used when dateMode is DATE_PATTERN. | +| `AvailabilityRangeRequired` | *bool* | :heavy_minus_sign: | True indicates that the event requires a range of availability dates. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/DateRequirementsJson0.md b/packages/csharp/docs/Models/Components/DateRequirementsJson0.md deleted file mode 100644 index b2cff60d9..000000000 --- a/packages/csharp/docs/Models/Components/DateRequirementsJson0.md +++ /dev/null @@ -1,13 +0,0 @@ -# DateRequirementsJson0 - -Date requirements for the event. - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | -| `Mode` | [RfpDateModeJson0](../../Models/Components/RfpDateModeJson0.md) | :heavy_check_mark: | Way of specifying dates for the event. | -| `AlternateDates` | List<[DatesJson0](../../Models/Components/DatesJson0.md)> | :heavy_minus_sign: | List of dates for the event. Can be used to provide set of alternate event dates when mode is ALTERNATE_DATE. | -| `Pattern` | [DatePatternJson0](../../Models/Components/DatePatternJson0.md) | :heavy_minus_sign: | Date pattern for days on which event can occur. Used when dateMode is DATE_PATTERN. | -| `AvailabilityRangeRequired` | *bool* | :heavy_minus_sign: | True indicates that the event requires a range of availability dates. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/DateTypeJson.md b/packages/csharp/docs/Models/Components/DateTypeJson.md new file mode 100644 index 000000000..0a15ec764 --- /dev/null +++ b/packages/csharp/docs/Models/Components/DateTypeJson.md @@ -0,0 +1,30 @@ +# DateTypeJson + +The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = DateTypeJson.Preferred; +``` + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `Preferred` | PREFERRED | +| `Alternate1` | ALTERNATE_1 | +| `Alternate2` | ALTERNATE_2 | +| `Alternate3` | ALTERNATE_3 | +| `Alternate4` | ALTERNATE_4 | +| `Alternate5` | ALTERNATE_5 | +| `Alternate6` | ALTERNATE_6 | +| `Alternate7` | ALTERNATE_7 | +| `Alternate8` | ALTERNATE_8 | +| `Alternate9` | ALTERNATE_9 | +| `Alternate10` | ALTERNATE_10 | +| `Alternate11` | ALTERNATE_11 | +| `Alternate12` | ALTERNATE_12 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/DateTypeJson1.md b/packages/csharp/docs/Models/Components/DateTypeJson1.md deleted file mode 100644 index ee7c16e27..000000000 --- a/packages/csharp/docs/Models/Components/DateTypeJson1.md +++ /dev/null @@ -1,30 +0,0 @@ -# DateTypeJson1 - -The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = DateTypeJson1.Preferred; -``` - - -## Values - -| Name | Value | -| ------------- | ------------- | -| `Preferred` | PREFERRED | -| `Alternate1` | ALTERNATE_1 | -| `Alternate2` | ALTERNATE_2 | -| `Alternate3` | ALTERNATE_3 | -| `Alternate4` | ALTERNATE_4 | -| `Alternate5` | ALTERNATE_5 | -| `Alternate6` | ALTERNATE_6 | -| `Alternate7` | ALTERNATE_7 | -| `Alternate8` | ALTERNATE_8 | -| `Alternate9` | ALTERNATE_9 | -| `Alternate10` | ALTERNATE_10 | -| `Alternate11` | ALTERNATE_11 | -| `Alternate12` | ALTERNATE_12 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Dates1.md b/packages/csharp/docs/Models/Components/Dates1.md new file mode 100644 index 000000000..d78ed2960 --- /dev/null +++ b/packages/csharp/docs/Models/Components/Dates1.md @@ -0,0 +1,14 @@ +# Dates1 + +Dates on which event will occur. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `Preferred` | *bool* | :heavy_minus_sign: | True indicates these are preferred dates. | true | +| `Id` | *string* | :heavy_minus_sign: | Unique identifier for dates. | 50dc08af-24a9-4d01-84be-3d43133dc945 | +| `EndDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 end date of the event. | 2016-10-13 | +| `StartDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 start date of the event. | 2016-10-15 | +| `Note` | *string* | :heavy_minus_sign: | A note detailing the requirements for the dates. | Flexible dates | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/DatesJson0.md b/packages/csharp/docs/Models/Components/DatesJson0.md deleted file mode 100644 index 11ad4bbd0..000000000 --- a/packages/csharp/docs/Models/Components/DatesJson0.md +++ /dev/null @@ -1,14 +0,0 @@ -# DatesJson0 - -Dates on which event will occur. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `Preferred` | *bool* | :heavy_minus_sign: | True indicates these are preferred dates. | true | -| `Id` | *string* | :heavy_minus_sign: | Unique identifier for dates. | 50dc08af-24a9-4d01-84be-3d43133dc945 | -| `EndDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 end date of the event. | 2016-10-13 | -| `StartDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 start date of the event. | 2016-10-15 | -| `Note` | *string* | :heavy_minus_sign: | A note detailing the requirements for the dates. | Flexible dates | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/DayOfWeek.md b/packages/csharp/docs/Models/Components/DayOfWeek.md new file mode 100644 index 000000000..1da2b9b23 --- /dev/null +++ b/packages/csharp/docs/Models/Components/DayOfWeek.md @@ -0,0 +1,24 @@ +# DayOfWeek + +DayOfWeek + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = DayOfWeek.Sunday; +``` + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `Sunday` | SUNDAY | +| `Monday` | MONDAY | +| `Tuesday` | TUESDAY | +| `Wednesday` | WEDNESDAY | +| `Thursday` | THURSDAY | +| `Friday` | FRIDAY | +| `Saturday` | SATURDAY | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/DayOfWeekJson0.md b/packages/csharp/docs/Models/Components/DayOfWeekJson0.md deleted file mode 100644 index daa211b12..000000000 --- a/packages/csharp/docs/Models/Components/DayOfWeekJson0.md +++ /dev/null @@ -1,24 +0,0 @@ -# DayOfWeekJson0 - -Day of week. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = DayOfWeekJson0.Sunday; -``` - - -## Values - -| Name | Value | -| ----------- | ----------- | -| `Sunday` | SUNDAY | -| `Monday` | MONDAY | -| `Tuesday` | TUESDAY | -| `Wednesday` | WEDNESDAY | -| `Thursday` | THURSDAY | -| `Friday` | FRIDAY | -| `Saturday` | SATURDAY | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Device1.md b/packages/csharp/docs/Models/Components/Device1.md new file mode 100644 index 000000000..fbae000b7 --- /dev/null +++ b/packages/csharp/docs/Models/Components/Device1.md @@ -0,0 +1,14 @@ +# ~~Device1~~ + +The device details used to watched a video. This field has been deprecated. + +> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | The unique ID of the device the viewer used to watch the video. | CA1.b4c5061e36fa60ebc5aad0ccea95f900b34794ecad49e965eaa94f7c534dec83 | +| `Type` | [DeviceType](../../Models/Components/DeviceType.md) | :heavy_minus_sign: | The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. | | +| `OperatingSystem` | *string* | :heavy_minus_sign: | The device's operating system. | Mac OS | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/DeviceJson.md b/packages/csharp/docs/Models/Components/DeviceJson.md deleted file mode 100644 index aaa4aa9a3..000000000 --- a/packages/csharp/docs/Models/Components/DeviceJson.md +++ /dev/null @@ -1,14 +0,0 @@ -# ~~DeviceJson~~ - -The device details used to watched a video. This field has been deprecated. - -> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | The unique ID of the device the viewer used to watch the video. | CA1.b4c5061e36fa60ebc5aad0ccea95f900b34794ecad49e965eaa94f7c534dec83 | -| `Type` | [DeviceTypeJson](../../Models/Components/DeviceTypeJson.md) | :heavy_minus_sign: | The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. | | -| `OperatingSystem` | *string* | :heavy_minus_sign: | The device's operating system. | Mac OS | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/DeviceType.md b/packages/csharp/docs/Models/Components/DeviceType.md new file mode 100644 index 000000000..558977faf --- /dev/null +++ b/packages/csharp/docs/Models/Components/DeviceType.md @@ -0,0 +1,20 @@ +# DeviceType + +The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = DeviceType.Desktop; +``` + + +## Values + +| Name | Value | +| --------- | --------- | +| `Desktop` | DESKTOP | +| `Mobile` | MOBILE | +| `Tablet` | TABLET | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/DeviceTypeJson.md b/packages/csharp/docs/Models/Components/DeviceTypeJson.md deleted file mode 100644 index 570c6047f..000000000 --- a/packages/csharp/docs/Models/Components/DeviceTypeJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# DeviceTypeJson - -The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = DeviceTypeJson.Desktop; -``` - - -## Values - -| Name | Value | -| --------- | --------- | -| `Desktop` | DESKTOP | -| `Mobile` | MOBILE | -| `Tablet` | TABLET | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/DisplayType.md b/packages/csharp/docs/Models/Components/DisplayType.md new file mode 100644 index 000000000..8eb5a8b24 --- /dev/null +++ b/packages/csharp/docs/Models/Components/DisplayType.md @@ -0,0 +1,23 @@ +# DisplayType + +The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: It is associated with drop down type questions. `Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list type questions. `MultiSelectBox`: It is associated with multi select box type questions. `Vertical`: It is associated with vertical type questions. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = DisplayType.Bar; +``` + + +## Values + +| Name | Value | +| ---------------- | ---------------- | +| `Bar` | Bar | +| `DropDown` | DropDown | +| `Horizontal` | Horizontal | +| `List` | List | +| `MultiSelectBox` | MultiSelectBox | +| `Vertical` | Vertical | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/DisplayTypeJson.md b/packages/csharp/docs/Models/Components/DisplayTypeJson.md deleted file mode 100644 index e5fa09641..000000000 --- a/packages/csharp/docs/Models/Components/DisplayTypeJson.md +++ /dev/null @@ -1,23 +0,0 @@ -# DisplayTypeJson - -The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: It is associated with drop down type questions. `Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list type questions. `MultiSelectBox`: It is associated with multi select box type questions. `Vertical`: It is associated with vertical type questions. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = DisplayTypeJson.Bar; -``` - - -## Values - -| Name | Value | -| ---------------- | ---------------- | -| `Bar` | Bar | -| `DropDown` | DropDown | -| `Horizontal` | Horizontal | -| `List` | List | -| `MultiSelectBox` | MultiSelectBox | -| `Vertical` | Vertical | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/DistanceJson.md b/packages/csharp/docs/Models/Components/DistanceJson.md new file mode 100644 index 000000000..b2e655ea1 --- /dev/null +++ b/packages/csharp/docs/Models/Components/DistanceJson.md @@ -0,0 +1,11 @@ +# DistanceJson + +Distance information. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `Distance` | *double* | :heavy_check_mark: | Distance from the hotel to the venue. | 18.3 | +| `DistanceUnit` | [DistanceUnit](../../Models/Components/DistanceUnit.md) | :heavy_check_mark: | Unit of measurement for the distance. | Kilometers | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/DistanceJson1.md b/packages/csharp/docs/Models/Components/DistanceJson1.md deleted file mode 100644 index 6518aba7e..000000000 --- a/packages/csharp/docs/Models/Components/DistanceJson1.md +++ /dev/null @@ -1,11 +0,0 @@ -# DistanceJson1 - -Distance information. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | -| `Distance` | *double* | :heavy_check_mark: | Distance from the hotel to the venue. | 18.3 | -| `DistanceUnit` | [DistanceUnit](../../Models/Components/DistanceUnit.md) | :heavy_check_mark: | Unit of measurement for the distance. | Kilometers | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/DistributionListInfo.md b/packages/csharp/docs/Models/Components/DistributionListInfo.md new file mode 100644 index 000000000..3a47d5719 --- /dev/null +++ b/packages/csharp/docs/Models/Components/DistributionListInfo.md @@ -0,0 +1,12 @@ +# DistributionListInfo + +Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `SecurityType` | [DistributionListSecurityType](../../Models/Components/DistributionListSecurityType.md) | :heavy_minus_sign: | Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. | | +| `InternalNote` | *string* | :heavy_minus_sign: | Internal note for Distribution Lists. | Sample distribution list internal note | +| `Status` | [DistributionListStatus](../../Models/Components/DistributionListStatus.md) | :heavy_minus_sign: | Type of distribution list status. | PENDING | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/DistributionListInfoInput.md b/packages/csharp/docs/Models/Components/DistributionListInfoInput.md new file mode 100644 index 000000000..77a1ee7e6 --- /dev/null +++ b/packages/csharp/docs/Models/Components/DistributionListInfoInput.md @@ -0,0 +1,11 @@ +# DistributionListInfoInput + +Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `SecurityType` | [DistributionListSecurityType](../../Models/Components/DistributionListSecurityType.md) | :heavy_minus_sign: | Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. | | +| `InternalNote` | *string* | :heavy_minus_sign: | Internal note for Distribution Lists. | Sample distribution list internal note | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/DistributionListInfoJson.md b/packages/csharp/docs/Models/Components/DistributionListInfoJson.md deleted file mode 100644 index b03dfb8db..000000000 --- a/packages/csharp/docs/Models/Components/DistributionListInfoJson.md +++ /dev/null @@ -1,12 +0,0 @@ -# DistributionListInfoJson - -Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `SecurityType` | [DistributionListSecurityTypeJson](../../Models/Components/DistributionListSecurityTypeJson.md) | :heavy_minus_sign: | Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. | | -| `InternalNote` | *string* | :heavy_minus_sign: | Internal note for Distribution Lists. | Sample distribution list internal note | -| `Status` | [DistributionListStatusJson](../../Models/Components/DistributionListStatusJson.md) | :heavy_minus_sign: | Type of distribution list status. | PENDING | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/DistributionListInfoJsonInput.md b/packages/csharp/docs/Models/Components/DistributionListInfoJsonInput.md deleted file mode 100644 index 4c4068538..000000000 --- a/packages/csharp/docs/Models/Components/DistributionListInfoJsonInput.md +++ /dev/null @@ -1,11 +0,0 @@ -# DistributionListInfoJsonInput - -Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `SecurityType` | [DistributionListSecurityTypeJson](../../Models/Components/DistributionListSecurityTypeJson.md) | :heavy_minus_sign: | Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. | | -| `InternalNote` | *string* | :heavy_minus_sign: | Internal note for Distribution Lists. | Sample distribution list internal note | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/DistributionListSecurityType.md b/packages/csharp/docs/Models/Components/DistributionListSecurityType.md new file mode 100644 index 000000000..0b6a1324c --- /dev/null +++ b/packages/csharp/docs/Models/Components/DistributionListSecurityType.md @@ -0,0 +1,20 @@ +# DistributionListSecurityType + +Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = DistributionListSecurityType.Private; +``` + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `Private` | PRIVATE | +| `SemiPrivate` | SEMI_PRIVATE | +| `Public` | PUBLIC | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/DistributionListSecurityTypeJson.md b/packages/csharp/docs/Models/Components/DistributionListSecurityTypeJson.md deleted file mode 100644 index 6a70f4994..000000000 --- a/packages/csharp/docs/Models/Components/DistributionListSecurityTypeJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# DistributionListSecurityTypeJson - -Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = DistributionListSecurityTypeJson.Private; -``` - - -## Values - -| Name | Value | -| ------------- | ------------- | -| `Private` | PRIVATE | -| `SemiPrivate` | SEMI_PRIVATE | -| `Public` | PUBLIC | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/DistributionListStatus.md b/packages/csharp/docs/Models/Components/DistributionListStatus.md new file mode 100644 index 000000000..6b5a5d423 --- /dev/null +++ b/packages/csharp/docs/Models/Components/DistributionListStatus.md @@ -0,0 +1,20 @@ +# DistributionListStatus + +Type of distribution list status. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = DistributionListStatus.Pending; +``` + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `Pending` | PENDING | +| `Processing` | PROCESSING | +| `Complete` | COMPLETE | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/DistributionListStatusJson.md b/packages/csharp/docs/Models/Components/DistributionListStatusJson.md deleted file mode 100644 index f84e19a3b..000000000 --- a/packages/csharp/docs/Models/Components/DistributionListStatusJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# DistributionListStatusJson - -Type of distribution list status. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = DistributionListStatusJson.Pending; -``` - - -## Values - -| Name | Value | -| ------------ | ------------ | -| `Pending` | PENDING | -| `Processing` | PROCESSING | -| `Complete` | COMPLETE | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/DocumentType1.md b/packages/csharp/docs/Models/Components/DocumentType1.md new file mode 100644 index 000000000..776db2aff --- /dev/null +++ b/packages/csharp/docs/Models/Components/DocumentType1.md @@ -0,0 +1,50 @@ +# DocumentType1 + +The document type. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = DocumentType1.Ai; +``` + + +## Values + +| Name | Value | +| ------ | ------ | +| `Ai` | AI | +| `Avi` | AVI | +| `Bmp` | BMP | +| `Doc` | DOC | +| `Docx` | DOCX | +| `Eml` | EML | +| `Eps` | EPS | +| `Flv` | FLV | +| `Gif` | GIF | +| `Htm` | HTM | +| `Html` | HTML | +| `Ics` | ICS | +| `Jfif` | JFIF | +| `Jpeg` | JPEG | +| `Jpg` | JPG | +| `Link` | LINK | +| `Mov` | MOV | +| `Mp4` | MP4 | +| `Msg` | MSG | +| `One` | ONE | +| `Ost` | OST | +| `Pdf` | PDF | +| `Png` | PNG | +| `Ppt` | PPT | +| `Pptx` | PPTX | +| `Pst` | PST | +| `Svg` | SVG | +| `Tif` | TIF | +| `Tiff` | TIFF | +| `Txt` | TXT | +| `Wmv` | WMV | +| `Xls` | XLS | +| `Xlsx` | XLSX | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/DocumentTypeJson0.md b/packages/csharp/docs/Models/Components/DocumentTypeJson0.md deleted file mode 100644 index 3ebf158bb..000000000 --- a/packages/csharp/docs/Models/Components/DocumentTypeJson0.md +++ /dev/null @@ -1,50 +0,0 @@ -# DocumentTypeJson0 - -The document type. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = DocumentTypeJson0.Ai; -``` - - -## Values - -| Name | Value | -| ------ | ------ | -| `Ai` | AI | -| `Avi` | AVI | -| `Bmp` | BMP | -| `Doc` | DOC | -| `Docx` | DOCX | -| `Eml` | EML | -| `Eps` | EPS | -| `Flv` | FLV | -| `Gif` | GIF | -| `Htm` | HTM | -| `Html` | HTML | -| `Ics` | ICS | -| `Jfif` | JFIF | -| `Jpeg` | JPEG | -| `Jpg` | JPG | -| `Link` | LINK | -| `Mov` | MOV | -| `Mp4` | MP4 | -| `Msg` | MSG | -| `One` | ONE | -| `Ost` | OST | -| `Pdf` | PDF | -| `Png` | PNG | -| `Ppt` | PPT | -| `Pptx` | PPTX | -| `Pst` | PST | -| `Svg` | SVG | -| `Tif` | TIF | -| `Tiff` | TIFF | -| `Txt` | TXT | -| `Wmv` | WMV | -| `Xls` | XLS | -| `Xlsx` | XLSX | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EmailHistoryJson.md b/packages/csharp/docs/Models/Components/EmailHistoryJson.md index 5923a472a..2ebff451e 100644 --- a/packages/csharp/docs/Models/Components/EmailHistoryJson.md +++ b/packages/csharp/docs/Models/Components/EmailHistoryJson.md @@ -18,7 +18,7 @@ Email History record. | `Subject` | *string* | :heavy_minus_sign: | Subject of the email. | Event Invitation | | `From` | *string* | :heavy_minus_sign: | From email address of the email. | example@example.com | | `To` | *string* | :heavy_minus_sign: | Recipient address of the email. | example@example.com | -| `Type` | [EmailTypeJson3](../../Models/Components/EmailTypeJson3.md) | :heavy_minus_sign: | Denotes the type of the email. | Invitation | +| `Type` | [EmailTypeJson1](../../Models/Components/EmailTypeJson1.md) | :heavy_minus_sign: | Denotes the type of the email. | Invitation | | `Sent` | [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 email was sent. | 2017-01-02T02:30:00Z | | `Status` | [EmailStatusJson](../../Models/Components/EmailStatusJson.md) | :heavy_minus_sign: | This is used to denote the status of the email sending | Sent | | `Undeliverable` | *bool* | :heavy_minus_sign: | Flag to indicate if email was undelivered. | false | diff --git a/packages/csharp/docs/Models/Components/EmailJson1.md b/packages/csharp/docs/Models/Components/EmailJson1.md index 195d7f0e8..450d4443b 100644 --- a/packages/csharp/docs/Models/Components/EmailJson1.md +++ b/packages/csharp/docs/Models/Components/EmailJson1.md @@ -5,8 +5,8 @@ Email ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `Type` | [EmailTypeJson1](../../Models/Components/EmailTypeJson1.md) | :heavy_minus_sign: | The type of the email. | work | -| `Value` | *string* | :heavy_check_mark: | The email of the user. | support@cvent.com | -| `Primary` | *bool* | :heavy_minus_sign: | True indicates the email is primary. | true | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `Type` | [EmailTypeJson](../../Models/Components/EmailTypeJson.md) | :heavy_minus_sign: | The type of the email. | work | +| `Value` | *string* | :heavy_check_mark: | The email of the user. | support@cvent.com | +| `Primary` | *bool* | :heavy_minus_sign: | True indicates the email is primary. | true | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EmailTypeJson.md b/packages/csharp/docs/Models/Components/EmailTypeJson.md new file mode 100644 index 000000000..71209648e --- /dev/null +++ b/packages/csharp/docs/Models/Components/EmailTypeJson.md @@ -0,0 +1,19 @@ +# EmailTypeJson + +The type of the email. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = EmailTypeJson.Work; +``` + + +## Values + +| Name | Value | +| ------ | ------ | +| `Work` | work | +| `Home` | home | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EmailTypeJson1.md b/packages/csharp/docs/Models/Components/EmailTypeJson1.md index 0173bf439..deb21b1db 100644 --- a/packages/csharp/docs/Models/Components/EmailTypeJson1.md +++ b/packages/csharp/docs/Models/Components/EmailTypeJson1.md @@ -1,19 +1,79 @@ # EmailTypeJson1 -The type of the email. +Denotes the type of the email. ## Example Usage ```csharp using Cvent.SDK.Models.Components; -var value = EmailTypeJson1.Work; +var value = EmailTypeJson1.Invitation; ``` ## Values -| Name | Value | -| ------ | ------ | -| `Work` | work | -| `Home` | home | \ No newline at end of file +| Name | Value | +| --------------------------------------- | --------------------------------------- | +| `Invitation` | Invitation | +| `InvitationReminder` | Invitation Reminder | +| `RegistrationConfirmation` | Registration Confirmation | +| `Regret` | Regret | +| `PostEventFeedback` | Post Event Feedback | +| `CustomInviteeMessage` | Custom Invitee Message | +| `CustomDeclineeMessage` | Custom Declinee Message | +| `EventReminder` | Event Reminder | +| `CustomAttendeeMessage` | Custom Attendee Message | +| `CustomOneTimeMessage` | Custom One-Time Message | +| `PlannerReport` | Planner Report | +| `EventUpdate` | Event Update | +| `CustomUndecidedMessage` | Custom Undecided Message | +| `CustomAttendedMessage` | Custom Attended Message | +| `ModificationConfirmation` | Modification Confirmation | +| `CancellationConfirmation` | Cancellation Confirmation | +| `GuestEventReminder` | Guest Event Reminder | +| `GuestRegistrationNotification` | Guest Registration Notification | +| `CustomGuestMessage` | Custom Guest Message | +| `GuestPostEventFeedback` | Guest Post Event Feedback | +| `InviteeSessionEmail` | Invitee Session Email | +| `GuestSessionEmail` | Guest Session Email | +| `ApprovalPendingNotification` | Approval Pending Notification | +| `ApprovalDeniedNotification` | Approval Denied Notification | +| `AdministratorRegistrationConfirmation` | Administrator Registration Confirmation | +| `CrowdCompassEventGuideInvitation` | CrowdCompass Event Guide Invitation | +| `CrowdCompassAppDownload` | CrowdCompass App Download | +| `WaitlistNotification` | Waitlist Notification | +| `SessionWaitlistNotification` | Session Waitlist Notification | +| `ShoulderDateNotification` | Shoulder Date Notification | +| `SelectedRoommateNotification` | Selected Roommate Notification | +| `MatchedRoommateNotification` | Matched Roommate Notification | +| `DeclinedRoommateNotification` | Declined Roommate Notification | +| `OnArrivalPostEventFeedback` | OnArrival Post Event Feedback | +| `OnArrivalGuestPostEventFeedback` | OnArrival Guest Post Event Feedback | +| `TravelModificationConfirmation` | Travel Modification Confirmation | +| `Custom` | Custom | +| `NewAppointment` | New Appointment | +| `AppointmentAccepted` | Appointment Accepted | +| `AppointmentDeclined` | Appointment Declined | +| `AppointmentCancelled` | Appointment Cancelled | +| `AppointmentEdited` | Appointment Edited | +| `PendingAppointmentReminder` | Pending Appointment Reminder | +| `UpcomingAppointmentReminder` | Upcoming Appointment Reminder | +| `AttendeeRemoved` | Attendee Removed | +| `OptInEmail` | Opt In Email | +| `ResourceCenterInvitation` | Resource Center Invitation | +| `SingleTaskReminder` | Single Task Reminder | +| `MobileAppInvitation` | Mobile App Invitation | +| `LoginVerificationCode` | Login Verification Code | +| `SaveTheDate` | Save The Date | +| `AllTasksReminder` | All Tasks Reminder | +| `ExhibitorAdminInvitation` | Exhibitor Admin Invitation | +| `ExhibitorAdminReminder` | Exhibitor Admin Reminder | +| `ExhibitorDeviceRentalAccessCode` | Exhibitor Device Rental Access Code | +| `ExhibitorAppLicenseAccessCode` | Exhibitor App License Access Code | +| `ExhibitorLeadsExport` | Exhibitor Leads Export | +| `StakeholderFeedbackInvitation` | Stakeholder Feedback Invitation | +| `ExhibitorTaskReminder` | Exhibitor Task Reminder | +| `LeadCaptureRequestedMaterials` | LeadCapture Requested Materials | +| `IntegrationAlerts` | Integration Alerts | +| `Unknown` | Unknown | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EmailTypeJson3.md b/packages/csharp/docs/Models/Components/EmailTypeJson3.md deleted file mode 100644 index 9a5766af4..000000000 --- a/packages/csharp/docs/Models/Components/EmailTypeJson3.md +++ /dev/null @@ -1,79 +0,0 @@ -# EmailTypeJson3 - -Denotes the type of the email. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = EmailTypeJson3.Invitation; -``` - - -## Values - -| Name | Value | -| --------------------------------------- | --------------------------------------- | -| `Invitation` | Invitation | -| `InvitationReminder` | Invitation Reminder | -| `RegistrationConfirmation` | Registration Confirmation | -| `Regret` | Regret | -| `PostEventFeedback` | Post Event Feedback | -| `CustomInviteeMessage` | Custom Invitee Message | -| `CustomDeclineeMessage` | Custom Declinee Message | -| `EventReminder` | Event Reminder | -| `CustomAttendeeMessage` | Custom Attendee Message | -| `CustomOneTimeMessage` | Custom One-Time Message | -| `PlannerReport` | Planner Report | -| `EventUpdate` | Event Update | -| `CustomUndecidedMessage` | Custom Undecided Message | -| `CustomAttendedMessage` | Custom Attended Message | -| `ModificationConfirmation` | Modification Confirmation | -| `CancellationConfirmation` | Cancellation Confirmation | -| `GuestEventReminder` | Guest Event Reminder | -| `GuestRegistrationNotification` | Guest Registration Notification | -| `CustomGuestMessage` | Custom Guest Message | -| `GuestPostEventFeedback` | Guest Post Event Feedback | -| `InviteeSessionEmail` | Invitee Session Email | -| `GuestSessionEmail` | Guest Session Email | -| `ApprovalPendingNotification` | Approval Pending Notification | -| `ApprovalDeniedNotification` | Approval Denied Notification | -| `AdministratorRegistrationConfirmation` | Administrator Registration Confirmation | -| `CrowdCompassEventGuideInvitation` | CrowdCompass Event Guide Invitation | -| `CrowdCompassAppDownload` | CrowdCompass App Download | -| `WaitlistNotification` | Waitlist Notification | -| `SessionWaitlistNotification` | Session Waitlist Notification | -| `ShoulderDateNotification` | Shoulder Date Notification | -| `SelectedRoommateNotification` | Selected Roommate Notification | -| `MatchedRoommateNotification` | Matched Roommate Notification | -| `DeclinedRoommateNotification` | Declined Roommate Notification | -| `OnArrivalPostEventFeedback` | OnArrival Post Event Feedback | -| `OnArrivalGuestPostEventFeedback` | OnArrival Guest Post Event Feedback | -| `TravelModificationConfirmation` | Travel Modification Confirmation | -| `Custom` | Custom | -| `NewAppointment` | New Appointment | -| `AppointmentAccepted` | Appointment Accepted | -| `AppointmentDeclined` | Appointment Declined | -| `AppointmentCancelled` | Appointment Cancelled | -| `AppointmentEdited` | Appointment Edited | -| `PendingAppointmentReminder` | Pending Appointment Reminder | -| `UpcomingAppointmentReminder` | Upcoming Appointment Reminder | -| `AttendeeRemoved` | Attendee Removed | -| `OptInEmail` | Opt In Email | -| `ResourceCenterInvitation` | Resource Center Invitation | -| `SingleTaskReminder` | Single Task Reminder | -| `MobileAppInvitation` | Mobile App Invitation | -| `LoginVerificationCode` | Login Verification Code | -| `SaveTheDate` | Save The Date | -| `AllTasksReminder` | All Tasks Reminder | -| `ExhibitorAdminInvitation` | Exhibitor Admin Invitation | -| `ExhibitorAdminReminder` | Exhibitor Admin Reminder | -| `ExhibitorDeviceRentalAccessCode` | Exhibitor Device Rental Access Code | -| `ExhibitorAppLicenseAccessCode` | Exhibitor App License Access Code | -| `ExhibitorLeadsExport` | Exhibitor Leads Export | -| `StakeholderFeedbackInvitation` | Stakeholder Feedback Invitation | -| `ExhibitorTaskReminder` | Exhibitor Task Reminder | -| `LeadCaptureRequestedMaterials` | LeadCapture Requested Materials | -| `IntegrationAlerts` | Integration Alerts | -| `Unknown` | Unknown | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EncodingProfile.md b/packages/csharp/docs/Models/Components/EncodingProfile.md new file mode 100644 index 000000000..9a35c38cf --- /dev/null +++ b/packages/csharp/docs/Models/Components/EncodingProfile.md @@ -0,0 +1,19 @@ +# EncodingProfile + +Denotes the profile to use when encoding the video. Planner profile is for encoding high-quality event content, like session videos. Attendee profile is for encoding lower-quality content intended to go on attendee profiles and social feeds in the event. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = EncodingProfile.Planner; +``` + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `Planner` | Planner | +| `Attendee` | Attendee | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EncodingProfileJson.md b/packages/csharp/docs/Models/Components/EncodingProfileJson.md deleted file mode 100644 index 827943646..000000000 --- a/packages/csharp/docs/Models/Components/EncodingProfileJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# EncodingProfileJson - -Denotes the profile to use when encoding the video. Planner profile is for encoding high-quality event content, like session videos. Attendee profile is for encoding lower-quality content intended to go on attendee profiles and social feeds in the event. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = EncodingProfileJson.Planner; -``` - - -## Values - -| Name | Value | -| ---------- | ---------- | -| `Planner` | Planner | -| `Attendee` | Attendee | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ErrorResponse1.md b/packages/csharp/docs/Models/Components/ErrorResponse1.md index ec913a9bc..7a570385c 100644 --- a/packages/csharp/docs/Models/Components/ErrorResponse1.md +++ b/packages/csharp/docs/Models/Components/ErrorResponse1.md @@ -5,9 +5,9 @@ Represents an error response with additional details of cascading error messages ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | -| `Code` | *long* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | -| `Message` | *string* | :heavy_check_mark: | A brief description of the error. | Bad Request | -| `Target` | *string* | :heavy_minus_sign: | The target resource of the error. | example target | -| `Details` | List<[ZeroAllOf1](../../Models/Components/ZeroAllOf1.md)> | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `Code` | *long* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | +| `Message` | *string* | :heavy_check_mark: | A brief description of the error. | Bad Request | +| `Target` | *string* | :heavy_minus_sign: | The target resource of the error. | example target | +| `Details` | List<[ErrorResponseBase](../../Models/Components/ErrorResponseBase.md)> | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ErrorResponse2.md b/packages/csharp/docs/Models/Components/ErrorResponse2.md index 073417fb7..3fb426621 100644 --- a/packages/csharp/docs/Models/Components/ErrorResponse2.md +++ b/packages/csharp/docs/Models/Components/ErrorResponse2.md @@ -5,9 +5,9 @@ Represents an error response with additional details of cascading error messages ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | -| `Code` | *long* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | -| `Message` | *string* | :heavy_check_mark: | A brief description of the error. | Bad Request | -| `Target` | *string* | :heavy_minus_sign: | The target resource of the error. | example target | -| `Details` | List<[ErrorResponseBase](../../Models/Components/ErrorResponseBase.md)> | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `Code` | *long* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | +| `Message` | *string* | :heavy_check_mark: | A brief description of the error. | Bad Request | +| `Target` | *string* | :heavy_minus_sign: | The target resource of the error. | example target | +| `Details` | List<[ZeroAllOf1](../../Models/Components/ZeroAllOf1.md)> | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Event1.md b/packages/csharp/docs/Models/Components/Event1.md index c782c1697..0e64f229d 100644 --- a/packages/csharp/docs/Models/Components/Event1.md +++ b/packages/csharp/docs/Models/Components/Event1.md @@ -35,9 +35,9 @@ Represents an event. | `Capacity` | *long* | :heavy_minus_sign: | The maximum amount of attendees that can attend the event. Only used for events with the registration feature. | 50 | | `Planners` | List<[PlannerJson2](../../Models/Components/PlannerJson2.md)> | :heavy_check_mark: | A collection of contacts representing the event planners. | | | `Stakeholders` | List<[StakeholderJson](../../Models/Components/StakeholderJson.md)> | :heavy_minus_sign: | A collection of contacts representing event stakeholders. | | -| `CustomFields` | List<[CustomFieldJson3](../../Models/Components/CustomFieldJson3.md)> | :heavy_minus_sign: | Collection of custom fields. | | +| `CustomFields` | List<[CustomFieldJson2](../../Models/Components/CustomFieldJson2.md)> | :heavy_minus_sign: | Collection of custom fields. | | | ~~`Category`~~ | [EventLookup](../../Models/Components/EventLookup.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The category to which this event belongs (no longer supported). | | -| `Type` | [EventTypeJson1](../../Models/Components/EventTypeJson1.md) | :heavy_check_mark: | Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. | Conference | +| `Type` | [EventTypeJson](../../Models/Components/EventTypeJson.md) | :heavy_check_mark: | Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. | Conference | | `Links` | [EventLinksJson](../../Models/Components/EventLinksJson.md) | :heavy_minus_sign: | Represents the links associated with an event. | {
"invitation": {
"href": "https://cvent.com"
},
"agenda": {
"href": "https://cvent.com"
},
"summary": {
"href": "https://cvent.com"
},
"registration": {
"href": "https://cvent.com"
}
} | | `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 | | `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 | diff --git a/packages/csharp/docs/Models/Components/Event12.md b/packages/csharp/docs/Models/Components/Event12.md new file mode 100644 index 000000000..46ad6c4b9 --- /dev/null +++ b/packages/csharp/docs/Models/Components/Event12.md @@ -0,0 +1,10 @@ +# Event12 + +Event details. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `Id` | *string* | :heavy_minus_sign: | Unique identifier for the event linked with the RFP, if any. | 50dc08af-24a9-4d01-84be-3d43133dc945 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Event21.md b/packages/csharp/docs/Models/Components/Event21.md deleted file mode 100644 index 1320599da..000000000 --- a/packages/csharp/docs/Models/Components/Event21.md +++ /dev/null @@ -1,10 +0,0 @@ -# Event21 - -The Associated Event. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `Id` | *string* | :heavy_check_mark: | Event id | 3db28cfc-db22-11eb-8d19-0242ac130003 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Event3.md b/packages/csharp/docs/Models/Components/Event3.md new file mode 100644 index 000000000..67a3471be --- /dev/null +++ b/packages/csharp/docs/Models/Components/Event3.md @@ -0,0 +1,10 @@ +# Event3 + +The Associated Event. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `Id` | *string* | :heavy_check_mark: | Event id | 3db28cfc-db22-11eb-8d19-0242ac130003 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventAllOf.md b/packages/csharp/docs/Models/Components/EventAllOf.md deleted file mode 100644 index 04be9ccb7..000000000 --- a/packages/csharp/docs/Models/Components/EventAllOf.md +++ /dev/null @@ -1,10 +0,0 @@ -# EventAllOf - -Event ID - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | ID of the event where the contact was created, applicable when contact snapshot is enabled for an event. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventContactId.md b/packages/csharp/docs/Models/Components/EventContactId.md new file mode 100644 index 000000000..19d4d6bb7 --- /dev/null +++ b/packages/csharp/docs/Models/Components/EventContactId.md @@ -0,0 +1,11 @@ +# EventContactId + +A pair of event and contact id. + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `EventId` | *string* | :heavy_check_mark: | ID of the event. | +| `ContactId` | *string* | :heavy_check_mark: | ID of the contact. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventContactIdJson.md b/packages/csharp/docs/Models/Components/EventContactIdJson.md deleted file mode 100644 index b891cba47..000000000 --- a/packages/csharp/docs/Models/Components/EventContactIdJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# EventContactIdJson - -A pair of event and contact id. - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `EventId` | *string* | :heavy_check_mark: | ID of the event. | -| `ContactId` | *string* | :heavy_check_mark: | ID of the contact. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventEmailsPaginatedResponse.md b/packages/csharp/docs/Models/Components/EventEmailsPaginatedResponse.md index ddfb0c5c2..b4ff3f782 100644 --- a/packages/csharp/docs/Models/Components/EventEmailsPaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/EventEmailsPaginatedResponse.md @@ -7,5 +7,5 @@ Paginated response for the collection of emails for a specified event. | Field | Type | Required | Description | | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | -| `Paging` | [PagingJson19](../../Models/Components/PagingJson19.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `Paging` | [PagingJson2](../../Models/Components/PagingJson2.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | | `Data` | List<[EventEmailJson](../../Models/Components/EventEmailJson.md)> | :heavy_check_mark: | Collection of emails for a specific event. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventFormatType.md b/packages/csharp/docs/Models/Components/EventFormatType.md new file mode 100644 index 000000000..6029c1157 --- /dev/null +++ b/packages/csharp/docs/Models/Components/EventFormatType.md @@ -0,0 +1,20 @@ +# EventFormatType + +Event format type. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = EventFormatType.InPerson; +``` + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `InPerson` | IN_PERSON | +| `Hybrid` | HYBRID | +| `Virtual` | VIRTUAL | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventFormatTypeJson0.md b/packages/csharp/docs/Models/Components/EventFormatTypeJson0.md deleted file mode 100644 index 732645fc0..000000000 --- a/packages/csharp/docs/Models/Components/EventFormatTypeJson0.md +++ /dev/null @@ -1,20 +0,0 @@ -# EventFormatTypeJson0 - -Event format type. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = EventFormatTypeJson0.InPerson; -``` - - -## Values - -| Name | Value | -| ---------- | ---------- | -| `InPerson` | IN_PERSON | -| `Hybrid` | HYBRID | -| `Virtual` | VIRTUAL | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventInput.md b/packages/csharp/docs/Models/Components/EventInput.md index 8e06f2783..559980b26 100644 --- a/packages/csharp/docs/Models/Components/EventInput.md +++ b/packages/csharp/docs/Models/Components/EventInput.md @@ -19,4 +19,4 @@ Represents an event. | `Note` | *string* | :heavy_minus_sign: | Event note created by planners for internal use. | This event will need some coordination with external systems. | | `Languages` | List<*string*> | :heavy_check_mark: | List of IETF language tags enabled for the event. This field supports reading multiple language tags but supports writing only one language to an event. | | | `Planners` | List<[PlannerJson2Input](../../Models/Components/PlannerJson2Input.md)> | :heavy_check_mark: | A collection of contacts representing the event planners. | | -| `Type` | [EventTypeJson1](../../Models/Components/EventTypeJson1.md) | :heavy_check_mark: | Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. | Conference | \ No newline at end of file +| `Type` | [EventTypeJson](../../Models/Components/EventTypeJson.md) | :heavy_check_mark: | Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. | Conference | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventJson.md b/packages/csharp/docs/Models/Components/EventJson.md new file mode 100644 index 000000000..366ec1be1 --- /dev/null +++ b/packages/csharp/docs/Models/Components/EventJson.md @@ -0,0 +1,10 @@ +# EventJson + +ID of the event. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `Id` | *string* | :heavy_check_mark: | UUID of the event. | 103097a4-143d-11e5-9f99-d0a637ee0032 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventJson0.md b/packages/csharp/docs/Models/Components/EventJson0.md deleted file mode 100644 index cbb96b988..000000000 --- a/packages/csharp/docs/Models/Components/EventJson0.md +++ /dev/null @@ -1,10 +0,0 @@ -# EventJson0 - -Event details. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `Id` | *string* | :heavy_minus_sign: | Unique identifier for the event linked with the RFP, if any. | 50dc08af-24a9-4d01-84be-3d43133dc945 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventJson1.md b/packages/csharp/docs/Models/Components/EventJson1.md index e4e6833eb..8546bccf3 100644 --- a/packages/csharp/docs/Models/Components/EventJson1.md +++ b/packages/csharp/docs/Models/Components/EventJson1.md @@ -1,10 +1,10 @@ # EventJson1 -ID of the event. +Event ID Information. ## Fields | Field | Type | Required | Description | Example | | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `Id` | *string* | :heavy_check_mark: | UUID of the event. | 103097a4-143d-11e5-9f99-d0a637ee0032 | \ No newline at end of file +| `Id` | *string* | :heavy_minus_sign: | Identifier of a particular Event. | 3d808ee8-94f8-4f3a-9ad1-6b23f4e4c329 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventJson2.md b/packages/csharp/docs/Models/Components/EventJson2.md deleted file mode 100644 index 23f933310..000000000 --- a/packages/csharp/docs/Models/Components/EventJson2.md +++ /dev/null @@ -1,10 +0,0 @@ -# EventJson2 - -Event ID Information. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `Id` | *string* | :heavy_minus_sign: | Identifier of a particular Event. | 3d808ee8-94f8-4f3a-9ad1-6b23f4e4c329 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventJson3.md b/packages/csharp/docs/Models/Components/EventJson3.md new file mode 100644 index 000000000..8fb56dade --- /dev/null +++ b/packages/csharp/docs/Models/Components/EventJson3.md @@ -0,0 +1,10 @@ +# EventJson3 + +Detail object of an event which is associated to a survey. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `Id` | *string* | :heavy_minus_sign: | Id of the associated event | 9463c74e-18c6-401a-a710-ae0f485bf059 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventJson4.md b/packages/csharp/docs/Models/Components/EventJson4.md deleted file mode 100644 index 8cf43a6f3..000000000 --- a/packages/csharp/docs/Models/Components/EventJson4.md +++ /dev/null @@ -1,10 +0,0 @@ -# EventJson4 - -Detail object of an event which is associated to a survey. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `Id` | *string* | :heavy_minus_sign: | Id of the associated event | 9463c74e-18c6-401a-a710-ae0f485bf059 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventJson5.md b/packages/csharp/docs/Models/Components/EventJson5.md new file mode 100644 index 000000000..f69f71d4a --- /dev/null +++ b/packages/csharp/docs/Models/Components/EventJson5.md @@ -0,0 +1,10 @@ +# EventJson5 + +An event reference used in attendee insights to identify the event context for engagement data + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | A unique identifier (UUID) for the event where the engagement score applies | 04cb6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventJson6.md b/packages/csharp/docs/Models/Components/EventJson6.md index ea2ef9827..15156105c 100644 --- a/packages/csharp/docs/Models/Components/EventJson6.md +++ b/packages/csharp/docs/Models/Components/EventJson6.md @@ -1,10 +1,10 @@ # EventJson6 -An event reference used in attendee insights to identify the event context for engagement data +Details of the event. ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | A unique identifier (UUID) for the event where the engagement score applies | 04cb6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `Id` | *string* | :heavy_check_mark: | The unique ID of the event. | a150f1ee-6c54-4b01-90e6-d701748f0851 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventJson8.md b/packages/csharp/docs/Models/Components/EventJson8.md deleted file mode 100644 index efc1420bf..000000000 --- a/packages/csharp/docs/Models/Components/EventJson8.md +++ /dev/null @@ -1,10 +0,0 @@ -# EventJson8 - -Details of the event. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `Id` | *string* | :heavy_check_mark: | The unique ID of the event. | a150f1ee-6c54-4b01-90e6-d701748f0851 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventLite.md b/packages/csharp/docs/Models/Components/EventLite.md new file mode 100644 index 000000000..5bb7b608b --- /dev/null +++ b/packages/csharp/docs/Models/Components/EventLite.md @@ -0,0 +1,10 @@ +# EventLite + +The unique identifier of an event. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `Id` | *string* | :heavy_check_mark: | The unique identifier for an event. | 2ef03846-fced-4ce3-a077-d64ca891a4b1 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventLiteJson.md b/packages/csharp/docs/Models/Components/EventLiteJson.md deleted file mode 100644 index 5a8d39be1..000000000 --- a/packages/csharp/docs/Models/Components/EventLiteJson.md +++ /dev/null @@ -1,10 +0,0 @@ -# EventLiteJson - -The unique identifier of an event. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `Id` | *string* | :heavy_check_mark: | The unique identifier for an event. | 2ef03846-fced-4ce3-a077-d64ca891a4b1 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventOrganization1.md b/packages/csharp/docs/Models/Components/EventOrganization1.md new file mode 100644 index 000000000..c0cb2a859 --- /dev/null +++ b/packages/csharp/docs/Models/Components/EventOrganization1.md @@ -0,0 +1,16 @@ +# EventOrganization1 + +Details of organization which is hosting the event. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `Organization` | [Organization](../../Models/Components/Organization.md) | :heavy_minus_sign: | Organization details. | | +| `ConfidentialProfile` | *bool* | :heavy_minus_sign: | True indicates organization profile has to be kept confidential. | | +| `Industry` | [Industry1](../../Models/Components/Industry1.md) | :heavy_minus_sign: | Industry | | +| `Name` | *string* | :heavy_check_mark: | Name of the organization hosting the event. | Cvent Inc. | +| `Type` | [OrganizationType1](../../Models/Components/OrganizationType1.md) | :heavy_check_mark: | Organization type. | | +| `Address` | [Address1](../../Models/Components/Address1.md) | :heavy_minus_sign: | Address details. | | +| `EventsPerYear` | *long* | :heavy_minus_sign: | Number of events per year. | 450 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventQuestionJson.md b/packages/csharp/docs/Models/Components/EventQuestionJson.md index d0321719e..5095e4c04 100644 --- a/packages/csharp/docs/Models/Components/EventQuestionJson.md +++ b/packages/csharp/docs/Models/Components/EventQuestionJson.md @@ -18,5 +18,5 @@ Represents a question associated with an event. | `Tag` | *string* | :heavy_minus_sign: | Tag of the question. It allows comparison of similar questions across multiple events. | All Admission Items | | `Session` | [EventQuestionJsonSession](../../Models/Components/EventQuestionJsonSession.md) | :heavy_minus_sign: | Represents the session associated to the question, if any. Blank if no session is associated. In addition, only one of the `session` or `admissionItem` object are populated - never both. | | | `AdmissionItem` | [EventQuestionJsonAdmissionItem](../../Models/Components/EventQuestionJsonAdmissionItem.md) | :heavy_minus_sign: | Represents the admission item associated to the question, if any. Blank if no admission item is associated. In addition, only one of the `session` or `admissionItem` object are populated - never both. | | -| `Type` | [QuestionTypeJson3](../../Models/Components/QuestionTypeJson3.md) | :heavy_minus_sign: | This object represents the type of a question | | +| `Type` | [QuestionTypeJson2](../../Models/Components/QuestionTypeJson2.md) | :heavy_minus_sign: | This object represents the type of a question | | | `InternalNote` | *string* | :heavy_minus_sign: | Optional description to provide additional context of the question. | This question is for the event registration form. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventSurveyQuestionJson.md b/packages/csharp/docs/Models/Components/EventSurveyQuestionJson.md index 906e839e9..31b3303e3 100644 --- a/packages/csharp/docs/Models/Components/EventSurveyQuestionJson.md +++ b/packages/csharp/docs/Models/Components/EventSurveyQuestionJson.md @@ -16,15 +16,15 @@ An event survey question. | `ShortText` | *string* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | | `HtmlText` | *string* | :heavy_minus_sign: | Html of the question | Question Html | | `Code` | *string* | :heavy_minus_sign: | Question Code | 4l6x | -| `Type` | [QuestionTypeJson2](../../Models/Components/QuestionTypeJson2.md) | :heavy_minus_sign: | Question Type. | SingleChoice | -| `Choices` | List<[ChoiceJson2](../../Models/Components/ChoiceJson2.md)> | :heavy_minus_sign: | List of choices for the question. | | -| `Categories` | List<[CategoryJson2](../../Models/Components/CategoryJson2.md)> | :heavy_minus_sign: | List of categories for the question. | | -| `SubCategories` | List<[TextFieldJson1](../../Models/Components/TextFieldJson1.md)> | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions | | -| `NotApplicableAnswer` | [AdditionalChoiceJson1](../../Models/Components/AdditionalChoiceJson1.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | -| `OtherAnswer` | [AdditionalChoiceJson1](../../Models/Components/AdditionalChoiceJson1.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | +| `Type` | [QuestionTypeJson1](../../Models/Components/QuestionTypeJson1.md) | :heavy_minus_sign: | Question Type. | SingleChoice | +| `Choices` | List<[ChoiceJson1](../../Models/Components/ChoiceJson1.md)> | :heavy_minus_sign: | List of choices for the question. | | +| `Categories` | List<[CategoryJson1](../../Models/Components/CategoryJson1.md)> | :heavy_minus_sign: | List of categories for the question. | | +| `SubCategories` | List<[TextFieldJson](../../Models/Components/TextFieldJson.md)> | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions | | +| `NotApplicableAnswer` | [AdditionalChoiceJson](../../Models/Components/AdditionalChoiceJson.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | +| `OtherAnswer` | [AdditionalChoiceJson](../../Models/Components/AdditionalChoiceJson.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | | `Comments` | *string* | :heavy_minus_sign: | Text Value of Comments Input box placeholder | Comments Text | | `Required` | *bool* | :heavy_minus_sign: | Is this a mandatory question | true | -| `Fields` | List<[FieldJson2](../../Models/Components/FieldJson2.md)> | :heavy_minus_sign: | List of fields for form/matrix questions | | +| `Fields` | List<[FieldJson](../../Models/Components/FieldJson.md)> | :heavy_minus_sign: | List of fields for form/matrix questions | | | `MaxScore` | *double* | :heavy_minus_sign: | Max possible score | 20 | | `TotalSum` | *long* | :heavy_minus_sign: | Total configured sum of all choices for number allocation question | 45 | | `Survey` | [UuidJson](../../Models/Components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | diff --git a/packages/csharp/docs/Models/Components/EventSurveyRespondent.md b/packages/csharp/docs/Models/Components/EventSurveyRespondent.md index a95641d45..ea8073b0f 100644 --- a/packages/csharp/docs/Models/Components/EventSurveyRespondent.md +++ b/packages/csharp/docs/Models/Components/EventSurveyRespondent.md @@ -22,7 +22,7 @@ Respondent detail object for event survey. | `PercentageScore` | *double* | :heavy_minus_sign: | Respondent Percentage Score | 70 | | `Links` | [EventSurveyRespondentLinks](../../Models/Components/EventSurveyRespondentLinks.md) | :heavy_minus_sign: | Related links. | | | `SourceId` | *string* | :heavy_minus_sign: | Source IDs track respondents in an external system integrated with the Cvent survey. | IN4IDS1 | -| `Event` | [EventJson4](../../Models/Components/EventJson4.md) | :heavy_minus_sign: | Detail object of an event which is associated to a survey. | | +| `Event` | [EventJson3](../../Models/Components/EventJson3.md) | :heavy_minus_sign: | Detail object of an event which is associated to a survey. | | | `Attendee` | [EventSurveyRespondentAttendee](../../Models/Components/EventSurveyRespondentAttendee.md) | :heavy_minus_sign: | Associated attendee. | | | `Contact` | [EventSurveyRespondentContact](../../Models/Components/EventSurveyRespondentContact.md) | :heavy_minus_sign: | Associated contact. | | | `Surveys` | List<[RespondentEventSurveyReferenceJson](../../Models/Components/RespondentEventSurveyReferenceJson.md)> | :heavy_minus_sign: | List of associated surveys. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventSurveyResponse.md b/packages/csharp/docs/Models/Components/EventSurveyResponse.md index edf2ceb4f..b6e8e4d84 100644 --- a/packages/csharp/docs/Models/Components/EventSurveyResponse.md +++ b/packages/csharp/docs/Models/Components/EventSurveyResponse.md @@ -16,7 +16,7 @@ Response object for event survey respondent. | `Question` | [UuidJson](../../Models/Components/UuidJson.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | | | `Answers` | List<[AnswerJson](../../Models/Components/AnswerJson.md)> | :heavy_check_mark: | List of responded survey answers. | | | ~~`Score`~~ | *double* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Answer score (This property is not supported). | 20 | -| `Event` | [EventJson4](../../Models/Components/EventJson4.md) | :heavy_minus_sign: | Detail object of an event which is associated to a survey. | | +| `Event` | [EventJson3](../../Models/Components/EventJson3.md) | :heavy_minus_sign: | Detail object of an event which is associated to a survey. | | | `Survey` | [UuidJson](../../Models/Components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | | `Session` | [UuidJson](../../Models/Components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | | `Speaker` | [UuidJson](../../Models/Components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventType1.md b/packages/csharp/docs/Models/Components/EventType1.md new file mode 100644 index 000000000..48142cd46 --- /dev/null +++ b/packages/csharp/docs/Models/Components/EventType1.md @@ -0,0 +1,39 @@ +# EventType1 + +Event type. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = EventType1.AnniversaryBirthday; +``` + + +## Values + +| Name | Value | +| --------------------------- | --------------------------- | +| `AnniversaryBirthday` | ANNIVERSARY_BIRTHDAY | +| `BachelorBacheloretteParty` | BACHELOR_BACHELORETTE_PARTY | +| `BarBatMitzvah` | BAR_BAT_MITZVAH | +| `BusinessMeeting` | BUSINESS_MEETING | +| `ConferenceConvention` | CONFERENCE_CONVENTION | +| `CorporateEvent` | CORPORATE_EVENT | +| `CustomerEvent` | CUSTOMER_EVENT | +| `EducationalSeminar` | EDUCATIONAL_SEMINAR | +| `FraternitySororityGroup` | FRATERNITY_SORORITY_GROUP | +| `FundraiserCharityEvent` | FUNDRAISER_CHARITY_EVENT | +| `ReceptionHolidayParty` | RECEPTION_HOLIDAY_PARTY | +| `IncentiveTravel` | INCENTIVE_TRAVEL | +| `Reunion` | REUNION | +| `ShareholdersMeeting` | SHAREHOLDERS_MEETING | +| `SpecialEvent` | SPECIAL_EVENT | +| `SportsEvent` | SPORTS_EVENT | +| `TeamBuildingEvent` | TEAM_BUILDING_EVENT | +| `TourGroupVacation` | TOUR_GROUP_VACATION | +| `TradeShowConsumerShow` | TRADE_SHOW_CONSUMER_SHOW | +| `Training` | TRAINING | +| `Wedding` | WEDDING | +| `Other` | OTHER | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventTypeJson.md b/packages/csharp/docs/Models/Components/EventTypeJson.md new file mode 100644 index 000000000..b4326edb2 --- /dev/null +++ b/packages/csharp/docs/Models/Components/EventTypeJson.md @@ -0,0 +1,37 @@ +# EventTypeJson + +Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = EventTypeJson.Celebration; +``` + + +## Values + +| Name | Value | +| ------------------- | ------------------- | +| `Celebration` | Celebration | +| `Conference` | Conference | +| `CventEssentials` | CventEssentials | +| `CventWebinar` | CventWebinar | +| `Dinner` | Dinner | +| `Forum` | Forum | +| `FundraiserBenefit` | FundraiserBenefit | +| `Holiday` | Holiday | +| `IncentiveTrip` | IncentiveTrip | +| `Meeting` | Meeting | +| `OtherGeneral` | OtherGeneral | +| `PoliticalEvent` | PoliticalEvent | +| `Reunion` | Reunion | +| `SaveTheDate` | SaveTheDate | +| `Seminar` | Seminar | +| `SimpleEvent` | SimpleEvent | +| `SportsEvent` | SportsEvent | +| `TradeShow` | TradeShow | +| `TrainingSession` | TrainingSession | +| `Webinar` | Webinar | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventTypeJson0.md b/packages/csharp/docs/Models/Components/EventTypeJson0.md deleted file mode 100644 index e5e7a2417..000000000 --- a/packages/csharp/docs/Models/Components/EventTypeJson0.md +++ /dev/null @@ -1,39 +0,0 @@ -# EventTypeJson0 - -Event type. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = EventTypeJson0.AnniversaryBirthday; -``` - - -## Values - -| Name | Value | -| --------------------------- | --------------------------- | -| `AnniversaryBirthday` | ANNIVERSARY_BIRTHDAY | -| `BachelorBacheloretteParty` | BACHELOR_BACHELORETTE_PARTY | -| `BarBatMitzvah` | BAR_BAT_MITZVAH | -| `BusinessMeeting` | BUSINESS_MEETING | -| `ConferenceConvention` | CONFERENCE_CONVENTION | -| `CorporateEvent` | CORPORATE_EVENT | -| `CustomerEvent` | CUSTOMER_EVENT | -| `EducationalSeminar` | EDUCATIONAL_SEMINAR | -| `FraternitySororityGroup` | FRATERNITY_SORORITY_GROUP | -| `FundraiserCharityEvent` | FUNDRAISER_CHARITY_EVENT | -| `ReceptionHolidayParty` | RECEPTION_HOLIDAY_PARTY | -| `IncentiveTravel` | INCENTIVE_TRAVEL | -| `Reunion` | REUNION | -| `ShareholdersMeeting` | SHAREHOLDERS_MEETING | -| `SpecialEvent` | SPECIAL_EVENT | -| `SportsEvent` | SPORTS_EVENT | -| `TeamBuildingEvent` | TEAM_BUILDING_EVENT | -| `TourGroupVacation` | TOUR_GROUP_VACATION | -| `TradeShowConsumerShow` | TRADE_SHOW_CONSUMER_SHOW | -| `Training` | TRAINING | -| `Wedding` | WEDDING | -| `Other` | OTHER | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventTypeJson1.md b/packages/csharp/docs/Models/Components/EventTypeJson1.md deleted file mode 100644 index f5eb6e2ce..000000000 --- a/packages/csharp/docs/Models/Components/EventTypeJson1.md +++ /dev/null @@ -1,37 +0,0 @@ -# EventTypeJson1 - -Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = EventTypeJson1.Celebration; -``` - - -## Values - -| Name | Value | -| ------------------- | ------------------- | -| `Celebration` | Celebration | -| `Conference` | Conference | -| `CventEssentials` | CventEssentials | -| `CventWebinar` | CventWebinar | -| `Dinner` | Dinner | -| `Forum` | Forum | -| `FundraiserBenefit` | FundraiserBenefit | -| `Holiday` | Holiday | -| `IncentiveTrip` | IncentiveTrip | -| `Meeting` | Meeting | -| `OtherGeneral` | OtherGeneral | -| `PoliticalEvent` | PoliticalEvent | -| `Reunion` | Reunion | -| `SaveTheDate` | SaveTheDate | -| `Seminar` | Seminar | -| `SimpleEvent` | SimpleEvent | -| `SportsEvent` | SportsEvent | -| `TradeShow` | TradeShow | -| `TrainingSession` | TrainingSession | -| `Webinar` | Webinar | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventUpdate.md b/packages/csharp/docs/Models/Components/EventUpdate.md index 7b6a3d169..c35813751 100644 --- a/packages/csharp/docs/Models/Components/EventUpdate.md +++ b/packages/csharp/docs/Models/Components/EventUpdate.md @@ -35,9 +35,9 @@ Represents updates to an event. | `Capacity` | *long* | :heavy_minus_sign: | The maximum number of individuals that can attend the event. Only used for events with the registration feature. | 50 | | `Planners` | List<[PlannerJson2](../../Models/Components/PlannerJson2.md)> | :heavy_check_mark: | A collection of contacts representing the event planners. | | | `Stakeholders` | List<[StakeholderJson](../../Models/Components/StakeholderJson.md)> | :heavy_minus_sign: | A collection of contacts representing event stakeholders. | | -| `CustomFields` | List<[CustomFieldJson3](../../Models/Components/CustomFieldJson3.md)> | :heavy_minus_sign: | Collection of custom fields. | | +| `CustomFields` | List<[CustomFieldJson2](../../Models/Components/CustomFieldJson2.md)> | :heavy_minus_sign: | Collection of custom fields. | | | ~~`Category`~~ | [EventUpdateLookup](../../Models/Components/EventUpdateLookup.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The category to which this event belongs (no longer supported). | | -| `Type` | [EventTypeJson1](../../Models/Components/EventTypeJson1.md) | :heavy_check_mark: | Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. | Conference | +| `Type` | [EventTypeJson](../../Models/Components/EventTypeJson.md) | :heavy_check_mark: | Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. | Conference | | `Links` | [EventLinksJson](../../Models/Components/EventLinksJson.md) | :heavy_minus_sign: | Represents the links associated with an event. | {
"invitation": {
"href": "https://cvent.com"
},
"agenda": {
"href": "https://cvent.com"
},
"summary": {
"href": "https://cvent.com"
},
"registration": {
"href": "https://cvent.com"
}
} | | `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 | | `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 | diff --git a/packages/csharp/docs/Models/Components/EventUpdateInput.md b/packages/csharp/docs/Models/Components/EventUpdateInput.md index 96ec1ce27..2059ed57b 100644 --- a/packages/csharp/docs/Models/Components/EventUpdateInput.md +++ b/packages/csharp/docs/Models/Components/EventUpdateInput.md @@ -22,4 +22,4 @@ Represents updates to an event. | `Languages` | List<*string*> | :heavy_check_mark: | List of IETF language tags enabled for the event. This field supports reading multiple language tags but supports writing only one language to an event. | | | `Capacity` | *long* | :heavy_minus_sign: | The maximum number of individuals that can attend the event. Only used for events with the registration feature. | 50 | | `Planners` | List<[PlannerJson2Input](../../Models/Components/PlannerJson2Input.md)> | :heavy_check_mark: | A collection of contacts representing the event planners. | | -| `Type` | [EventTypeJson1](../../Models/Components/EventTypeJson1.md) | :heavy_check_mark: | Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. | Conference | \ No newline at end of file +| `Type` | [EventTypeJson](../../Models/Components/EventTypeJson.md) | :heavy_check_mark: | Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. | Conference | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExhibitorCategoryRequest.md b/packages/csharp/docs/Models/Components/ExhibitorCategoryRequest.md index 284806b37..ecdd0e932 100644 --- a/packages/csharp/docs/Models/Components/ExhibitorCategoryRequest.md +++ b/packages/csharp/docs/Models/Components/ExhibitorCategoryRequest.md @@ -7,7 +7,7 @@ JSON schema representing an Exhibitor Category object | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | -| `Event` | [Event21](../../Models/Components/Event21.md) | :heavy_check_mark: | The Associated Event. | | +| `Event` | [Event3](../../Models/Components/Event3.md) | :heavy_check_mark: | The Associated Event. | | | `Name` | *string* | :heavy_check_mark: | Name of the exhibitor category | Automobile | | `Description` | *string* | :heavy_minus_sign: | Exhibitor Category description | everything related to automobiles | | `Order` | *long* | :heavy_check_mark: | order for exhibitor category | 3 | diff --git a/packages/csharp/docs/Models/Components/ExhibitorCategoryResponse.md b/packages/csharp/docs/Models/Components/ExhibitorCategoryResponse.md index d810ef67c..8bf48890a 100644 --- a/packages/csharp/docs/Models/Components/ExhibitorCategoryResponse.md +++ b/packages/csharp/docs/Models/Components/ExhibitorCategoryResponse.md @@ -11,7 +11,7 @@ A description of the Existing Exhibitor Category JSON schema | `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 | -| `Event` | [Event21](../../Models/Components/Event21.md) | :heavy_check_mark: | The Associated Event. | | +| `Event` | [Event3](../../Models/Components/Event3.md) | :heavy_check_mark: | The Associated Event. | | | `Name` | *string* | :heavy_check_mark: | Name of the exhibitor category | Automobile | | `Description` | *string* | :heavy_minus_sign: | Exhibitor Category description | everything related to automobiles | | `Order` | *long* | :heavy_check_mark: | order for exhibitor category | 3 | diff --git a/packages/csharp/docs/Models/Components/ExhibitorRequest.md b/packages/csharp/docs/Models/Components/ExhibitorRequest.md index 5bc3d71fd..7ccf0e33d 100644 --- a/packages/csharp/docs/Models/Components/ExhibitorRequest.md +++ b/packages/csharp/docs/Models/Components/ExhibitorRequest.md @@ -7,13 +7,13 @@ A representation of an exhibitor including all relevant information. | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `Event` | [Event21](../../Models/Components/Event21.md) | :heavy_check_mark: | The Associated Event. | | +| `Event` | [Event3](../../Models/Components/Event3.md) | :heavy_check_mark: | The Associated Event. | | | `Name` | *string* | :heavy_check_mark: | Name of the exhibitor. Cvent suggests limiting this to a maximum of 200 characters for optimal results. | Potterfield Harry | | `Description` | *string* | :heavy_minus_sign: | Exhibitor description | A man who sells relatively good hotdogs | | `Code` | *string* | :heavy_minus_sign: | Code used to identify the exhibitor | abc123 | | `SourceId` | *string* | :heavy_minus_sign: | Code used for marketing groupings | software | | `Location` | *string* | :heavy_minus_sign: | Exhibitor location | Taj Mahal | -| `Address` | [Address2](../../Models/Components/Address2.md) | :heavy_minus_sign: | An object representing an address with various properties. | | +| `Address` | [Address4](../../Models/Components/Address4.md) | :heavy_minus_sign: | An object representing an address with various properties. | | | `Email` | *string* | :heavy_minus_sign: | Email address of the exhibitor | h.potterfield@test.com | | `MobilePhone` | *string* | :heavy_minus_sign: | Mobile Phone of the exhibitor | 555-555-5555 | | `WorkPhone` | *string* | :heavy_minus_sign: | Work Phone of the exhibitor | 555-555-5555 | diff --git a/packages/csharp/docs/Models/Components/ExhibitorResponse.md b/packages/csharp/docs/Models/Components/ExhibitorResponse.md index 35ba31fd2..de85e7d0e 100644 --- a/packages/csharp/docs/Models/Components/ExhibitorResponse.md +++ b/packages/csharp/docs/Models/Components/ExhibitorResponse.md @@ -11,13 +11,13 @@ JSON schema for the exhibitor object | `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 | -| `Event` | [Event21](../../Models/Components/Event21.md) | :heavy_check_mark: | The Associated Event. | | +| `Event` | [Event3](../../Models/Components/Event3.md) | :heavy_check_mark: | The Associated Event. | | | `Name` | *string* | :heavy_check_mark: | Name of the exhibitor. Cvent suggests limiting this to a maximum of 200 characters for optimal results. | Potterfield Harry | | `Description` | *string* | :heavy_minus_sign: | Exhibitor description | A man who sells relatively good hotdogs | | `Code` | *string* | :heavy_minus_sign: | Code used to identify the exhibitor | abc123 | | `SourceId` | *string* | :heavy_minus_sign: | Code used for marketing groupings | software | | `Location` | *string* | :heavy_minus_sign: | Exhibitor location | Taj Mahal | -| `Address` | [Address2](../../Models/Components/Address2.md) | :heavy_minus_sign: | An object representing an address with various properties. | | +| `Address` | [Address4](../../Models/Components/Address4.md) | :heavy_minus_sign: | An object representing an address with various properties. | | | `Email` | *string* | :heavy_minus_sign: | Email address of the exhibitor | h.potterfield@test.com | | `MobilePhone` | *string* | :heavy_minus_sign: | Mobile Phone of the exhibitor | 555-555-5555 | | `WorkPhone` | *string* | :heavy_minus_sign: | Work Phone of the exhibitor | 555-555-5555 | diff --git a/packages/csharp/docs/Models/Components/ExistingAudienceSegment.md b/packages/csharp/docs/Models/Components/ExistingAudienceSegment.md index 9a885dc03..4ff54b88b 100644 --- a/packages/csharp/docs/Models/Components/ExistingAudienceSegment.md +++ b/packages/csharp/docs/Models/Components/ExistingAudienceSegment.md @@ -11,7 +11,7 @@ Details of an audience segment. | `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 | -| `Event` | [EventJson1](../../Models/Components/EventJson1.md) | :heavy_check_mark: | ID of the event. | | +| `Event` | [EventJson](../../Models/Components/EventJson.md) | :heavy_check_mark: | ID of the event. | | | `Name` | *string* | :heavy_check_mark: | Name of the audience segment. Must be unique in the event where the segment exists. | VIP Attendees | | `Description` | *string* | :heavy_minus_sign: | Description of the audience segment. | A group of VIP attendees. | | `Id` | *string* | :heavy_minus_sign: | ID of the audience segment. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | diff --git a/packages/csharp/docs/Models/Components/ExistingAudioTrack.md b/packages/csharp/docs/Models/Components/ExistingAudioTrack.md index 0998f4c53..4fd23b8c2 100644 --- a/packages/csharp/docs/Models/Components/ExistingAudioTrack.md +++ b/packages/csharp/docs/Models/Components/ExistingAudioTrack.md @@ -11,12 +11,12 @@ Existing audio track. | `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 | -| `Video` | [VideoAssetIdJson](../../Models/Components/VideoAssetIdJson.md) | :heavy_check_mark: | Video that this asset was created with. | | -| `Type` | [AudioTrackTypeJson](../../Models/Components/AudioTrackTypeJson.md) | :heavy_check_mark: | Denotes the file format of the audio track. | mp3 | +| `Video` | [VideoAssetID](../../Models/Components/VideoAssetID.md) | :heavy_check_mark: | Video that this asset was created with. | | +| `Type` | [AudioTrackType](../../Models/Components/AudioTrackType.md) | :heavy_check_mark: | Denotes the file format of the audio track. | mp3 | | `Language` | *string* | :heavy_check_mark: | IETF language tag for the audio track. | en-US | -| `Variant` | [AudioTrackVariantJson](../../Models/Components/AudioTrackVariantJson.md) | :heavy_minus_sign: | Denotes the variant of an audio track. Main is the primary audio track for this video. Alternate is a possible alternative to the main track. Commentary is a commentary on the primary audio or video track, e.g. a director's commentary. Dub is a translated version of the main audio track. Descriptive is an audio description of a video track. | Alternate | +| `Variant` | [AudioTrackVariant](../../Models/Components/AudioTrackVariant.md) | :heavy_minus_sign: | Denotes the variant of an audio track. Main is the primary audio track for this video. Alternate is a possible alternative to the main track. Commentary is a commentary on the primary audio or video track, e.g. a director's commentary. Dub is a translated version of the main audio track. Descriptive is an audio description of a video track. | Alternate | | `Default` | *bool* | :heavy_minus_sign: | True indicates this is the default audio track. | | | `Duration` | *long* | :heavy_minus_sign: | Audio track duration (in milliseconds). | 3600000 | -| `Status` | [AudioTrackStatusJson](../../Models/Components/AudioTrackStatusJson.md) | :heavy_minus_sign: | Denotes the status of an audio track. Started indicates the request to upload in the API was submitted, and the URL you'll upload an audio track to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the audio track. Available indicates the audio track is available for use. | Started | +| `Status` | [AudioTrackStatus](../../Models/Components/AudioTrackStatus.md) | :heavy_minus_sign: | Denotes the status of an audio track. Started indicates the request to upload in the API was submitted, and the URL you'll upload an audio track to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the audio track. Available indicates the audio track is available for use. | Started | | `Id` | *string* | :heavy_check_mark: | The identifier of an audio track. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `Url` | [AssetLocationJson](../../Models/Components/AssetLocationJson.md) | :heavy_minus_sign: | A URL associated with the asset. | | \ No newline at end of file +| `Url` | [AssetLocation](../../Models/Components/AssetLocation.md) | :heavy_minus_sign: | A URL associated with the asset. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExistingCustomField.md b/packages/csharp/docs/Models/Components/ExistingCustomField.md index 1e35a8721..6b5e3d4a9 100644 --- a/packages/csharp/docs/Models/Components/ExistingCustomField.md +++ b/packages/csharp/docs/Models/Components/ExistingCustomField.md @@ -15,7 +15,7 @@ This is used to denote an existing custom field. | `Name` | *string* | :heavy_check_mark: | The actual text of the custom field. | What is a your favorite color? | | `Code` | *string* | :heavy_check_mark: | Code to uniquely identify custom field. | FAVORITE_COLOR_CODE | | `Required` | *bool* | :heavy_minus_sign: | Whether answer to custom field is mandatory or not. | true | -| `Type` | [CustomFieldTypeJson1](../../Models/Components/CustomFieldTypeJson1.md) | :heavy_check_mark: | This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. | Open Ended Text - One Line | +| `Type` | [CustomFieldTypeJson](../../Models/Components/CustomFieldTypeJson.md) | :heavy_check_mark: | This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. | Open Ended Text - One Line | | `Details` | [ExistingCustomFieldDetails](../../Models/Components/ExistingCustomFieldDetails.md) | :heavy_minus_sign: | Type-specific details of the custom-field. | | | `Order` | *long* | :heavy_minus_sign: | The order of the custom field on the display page. | 1 | | `HelpText` | *string* | :heavy_minus_sign: | The help text of the custom field. | Enter your favorite color. | diff --git a/packages/csharp/docs/Models/Components/ExistingCustomFieldDetails.md b/packages/csharp/docs/Models/Components/ExistingCustomFieldDetails.md index e5e03e5b6..936677172 100644 --- a/packages/csharp/docs/Models/Components/ExistingCustomFieldDetails.md +++ b/packages/csharp/docs/Models/Components/ExistingCustomFieldDetails.md @@ -11,10 +11,10 @@ Type-specific details of the custom-field. ExistingCustomFieldDetails.CreateZeroOneOf1(/* values here */); ``` -### OneOneOf +### One ```csharp -ExistingCustomFieldDetails.CreateOneOneOf(/* values here */); +ExistingCustomFieldDetails.CreateOne(/* values here */); ``` ### Two diff --git a/packages/csharp/docs/Models/Components/ExistingCustomFieldDetailsInput.md b/packages/csharp/docs/Models/Components/ExistingCustomFieldDetailsInput.md index b9554c35b..31e339c58 100644 --- a/packages/csharp/docs/Models/Components/ExistingCustomFieldDetailsInput.md +++ b/packages/csharp/docs/Models/Components/ExistingCustomFieldDetailsInput.md @@ -11,10 +11,10 @@ Type-specific details of the custom-field. ExistingCustomFieldDetailsInput.CreateZeroOneOf1(/* values here */); ``` -### OneOneOf +### One ```csharp -ExistingCustomFieldDetailsInput.CreateOneOneOf(/* values here */); +ExistingCustomFieldDetailsInput.CreateOne(/* values here */); ``` ### Two diff --git a/packages/csharp/docs/Models/Components/ExistingCustomFieldInput.md b/packages/csharp/docs/Models/Components/ExistingCustomFieldInput.md index 06882c7cc..cc98bb7bf 100644 --- a/packages/csharp/docs/Models/Components/ExistingCustomFieldInput.md +++ b/packages/csharp/docs/Models/Components/ExistingCustomFieldInput.md @@ -11,7 +11,7 @@ This is used to denote an existing custom field. | `Name` | *string* | :heavy_check_mark: | The actual text of the custom field. | What is a your favorite color? | | `Code` | *string* | :heavy_check_mark: | Code to uniquely identify custom field. | FAVORITE_COLOR_CODE | | `Required` | *bool* | :heavy_minus_sign: | Whether answer to custom field is mandatory or not. | true | -| `Type` | [CustomFieldTypeJson1](../../Models/Components/CustomFieldTypeJson1.md) | :heavy_check_mark: | This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. | Open Ended Text - One Line | +| `Type` | [CustomFieldTypeJson](../../Models/Components/CustomFieldTypeJson.md) | :heavy_check_mark: | This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. | Open Ended Text - One Line | | `Details` | [ExistingCustomFieldDetailsInput](../../Models/Components/ExistingCustomFieldDetailsInput.md) | :heavy_minus_sign: | Type-specific details of the custom-field. | | | `HelpText` | *string* | :heavy_minus_sign: | The help text of the custom field. | Enter your favorite color. | | `DisplayInDataTag` | [DisplayInDataTagJson](../../Models/Components/DisplayInDataTagJson.md) | :heavy_minus_sign: | This option allows you to choose whether to display the custom field in emails. The field name and the value entered by the invitee are used in the My Agenda data tag. You can set the custom field to display always or only when answered. Only applicable to session custom fields. | No | diff --git a/packages/csharp/docs/Models/Components/ExistingDurationType.md b/packages/csharp/docs/Models/Components/ExistingDurationType.md index 28c36a536..83c09ec60 100644 --- a/packages/csharp/docs/Models/Components/ExistingDurationType.md +++ b/packages/csharp/docs/Models/Components/ExistingDurationType.md @@ -20,4 +20,7 @@ var value = ExistingDurationType.Rfid; | `Edit` | EDIT | | `Live` | LIVE | | `OnDemand` | ON_DEMAND | -| `Api` | API | \ No newline at end of file +| `Api` | API | +| `Manual` | MANUAL | +| `Import` | IMPORT | +| `Eventapp` | EVENTAPP | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExistingELiteratureRequestDataForLead.md b/packages/csharp/docs/Models/Components/ExistingELiteratureRequestDataForLead.md index d3a01355c..f2b79ae2b 100644 --- a/packages/csharp/docs/Models/Components/ExistingELiteratureRequestDataForLead.md +++ b/packages/csharp/docs/Models/Components/ExistingELiteratureRequestDataForLead.md @@ -11,7 +11,7 @@ A JSON Schema for an existing e-literature request data for a lead. | `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 | -| `Event` | [Event21](../../Models/Components/Event21.md) | :heavy_check_mark: | The Associated Event. | | +| `Event` | [Event3](../../Models/Components/Event3.md) | :heavy_check_mark: | The Associated Event. | | | `Exhibitor` | [Models.Components.Exhibitor](../../Models/Components/Exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | | `Lead` | [Lead2](../../Models/Components/Lead2.md) | :heavy_check_mark: | JSON schema for the Lead object | | | `Documents` | List<[ELiteratureDocument](../../Models/Components/ELiteratureDocument.md)> | :heavy_check_mark: | Collection of E-literature documents sent to lead. | | diff --git a/packages/csharp/docs/Models/Components/ExistingExhibitorAnswer.md b/packages/csharp/docs/Models/Components/ExistingExhibitorAnswer.md index c427014b9..3f799d8d9 100644 --- a/packages/csharp/docs/Models/Components/ExistingExhibitorAnswer.md +++ b/packages/csharp/docs/Models/Components/ExistingExhibitorAnswer.md @@ -12,7 +12,7 @@ Existing Exhibitor Answer schema | `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 | | `Question` | [Uuid](../../Models/Components/Uuid.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | | -| `Event` | [Event21](../../Models/Components/Event21.md) | :heavy_check_mark: | The Associated Event. | | +| `Event` | [Event3](../../Models/Components/Event3.md) | :heavy_check_mark: | The Associated Event. | | | `Exhibitor` | [Models.Components.Exhibitor](../../Models/Components/Exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | | `Answers` | List<[Answer2](../../Models/Components/Answer2.md)> | :heavy_check_mark: | List of answers | | | `Id` | *string* | :heavy_check_mark: | Exhibitor Answer id | 06d2bfce-1793-11ec-9621-0242ac130002 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExistingExhibitorAnswerInput.md b/packages/csharp/docs/Models/Components/ExistingExhibitorAnswerInput.md index 46c4f04fc..c4640d1cd 100644 --- a/packages/csharp/docs/Models/Components/ExistingExhibitorAnswerInput.md +++ b/packages/csharp/docs/Models/Components/ExistingExhibitorAnswerInput.md @@ -8,6 +8,6 @@ Existing Exhibitor Answer schema | Field | Type | Required | Description | | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | | `Question` | [Uuid](../../Models/Components/Uuid.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | -| `Event` | [Event21](../../Models/Components/Event21.md) | :heavy_check_mark: | The Associated Event. | +| `Event` | [Event3](../../Models/Components/Event3.md) | :heavy_check_mark: | The Associated Event. | | `Exhibitor` | [Models.Components.Exhibitor](../../Models/Components/Exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | `Answers` | List<[Answer2](../../Models/Components/Answer2.md)> | :heavy_check_mark: | List of answers | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExistingExhibitorQuestion.md b/packages/csharp/docs/Models/Components/ExistingExhibitorQuestion.md index 32a97c913..a15d4ca4e 100644 --- a/packages/csharp/docs/Models/Components/ExistingExhibitorQuestion.md +++ b/packages/csharp/docs/Models/Components/ExistingExhibitorQuestion.md @@ -11,14 +11,14 @@ Schema for an existing exhibitor question | `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 | -| `Event` | [Event21](../../Models/Components/Event21.md) | :heavy_check_mark: | The Associated Event. | | +| `Event` | [Event3](../../Models/Components/Event3.md) | :heavy_check_mark: | The Associated Event. | | | `Text` | *string* | :heavy_check_mark: | The actual text of the exhibitor question. | Is there a business need? | | `Code` | *string* | :heavy_minus_sign: | System or User defined event level unique exhibitor question code. | A001 | | `Type` | [ExhibitorQuestionType](../../Models/Components/ExhibitorQuestionType.md) | :heavy_check_mark: | Enumeration indicating the type of data collected by an exhibitor question. 'MultiChoice': Respondents select multiple options from a list. 'SingleChoice': restricts respondents to a single option from a list, often displayed as a dropdown or radio button. 'OpenEndedTextOneLine': brief text responses, such as names or short answers. 'OpenEndedTextCommentBox': longer text responses for detailed feedback. 'OpenEndedDateTime': captures date and time information from respondents. | SingleChoice | | `Required` | *bool* | :heavy_check_mark: | A boolean indicating whether the question is mandatory or not | true | | `Choices` | List<[BaseChoice](../../Models/Components/BaseChoice.md)> | :heavy_minus_sign: | An array of choices for the exhibitor question. | | -| `NotApplicableAnswer` | [AdditionalChoice](../../Models/Components/AdditionalChoice.md) | :heavy_minus_sign: | Contains text of additional choice | | -| `OtherAnswer` | [AdditionalChoice](../../Models/Components/AdditionalChoice.md) | :heavy_minus_sign: | Contains text of additional choice | | +| `NotApplicableAnswer` | [AdditionalChoice1](../../Models/Components/AdditionalChoice1.md) | :heavy_minus_sign: | Contains text of additional choice | | +| `OtherAnswer` | [AdditionalChoice1](../../Models/Components/AdditionalChoice1.md) | :heavy_minus_sign: | Contains text of additional choice | | | `AnswerFormat` | [ExhibitorAnswerFormat](../../Models/Components/ExhibitorAnswerFormat.md) | :heavy_minus_sign: | Specifies the format for displaying answers based on the question type. For SingleChoice questions, choose between 'Dropdown' or 'RadioButton'. For OpenEndedTextOneLine questions, select 'General', 'EmailAddress', or 'PhoneNumber'. For OpenEndedDateTime questions, use 'DateAndTime' or 'Date'. | RadioButton | | `AnswerLimits` | [ExhibitorAnswerLimits](../../Models/Components/ExhibitorAnswerLimits.md) | :heavy_minus_sign: | Defines the limits for answers to exhibitor questions. | | | `DefaultToCurrentDate` | *bool* | :heavy_minus_sign: | True indicates the current date and time is automatically set as the default value for OpenEndedDateTime questions. | true | diff --git a/packages/csharp/docs/Models/Components/ExistingFile.md b/packages/csharp/docs/Models/Components/ExistingFile.md index 5d304498e..8ce56e88a 100644 --- a/packages/csharp/docs/Models/Components/ExistingFile.md +++ b/packages/csharp/docs/Models/Components/ExistingFile.md @@ -11,7 +11,7 @@ Content of existing exhibitor file | `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 | -| `Event` | [Event21](../../Models/Components/Event21.md) | :heavy_check_mark: | The Associated Event. | | +| `Event` | [Event3](../../Models/Components/Event3.md) | :heavy_check_mark: | The Associated Event. | | | `Exhibitor` | [Models.Components.Exhibitor](../../Models/Components/Exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | | `DisplayName` | *string* | :heavy_check_mark: | Display name of the file. | Marketing Page | | `Hidden` | *bool* | :heavy_minus_sign: | True indicates the file is hidden from attendees. | | diff --git a/packages/csharp/docs/Models/Components/ExistingSpeaker.md b/packages/csharp/docs/Models/Components/ExistingSpeaker.md index aeb2ab5e0..449ee6c6f 100644 --- a/packages/csharp/docs/Models/Components/ExistingSpeaker.md +++ b/packages/csharp/docs/Models/Components/ExistingSpeaker.md @@ -20,8 +20,8 @@ An existing, event speaker. | `Designation` | *string* | :heavy_minus_sign: | The speaker's Designation | PhD | | `Company` | *string* | :heavy_minus_sign: | The company to which the speaker is associated | Cvent | | `Title` | *string* | :heavy_minus_sign: | The speaker's title | Lead Engineer | -| `Category` | [CategoryIdNameJson](../../Models/Components/CategoryIdNameJson.md) | :heavy_minus_sign: | A defined speaker category. | | -| `Links` | [ContactLinksJson](../../Models/Components/ContactLinksJson.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | +| `Category` | [SpeakerCategory1](../../Models/Components/SpeakerCategory1.md) | :heavy_minus_sign: | A defined speaker category. | | +| `Links` | [ContactLinks](../../Models/Components/ContactLinks.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | | `Visibility` | *bool* | :heavy_minus_sign: | Indicates if a given speaker should be displayed on Event Website | false | | `Biography` | *string* | :heavy_minus_sign: | The speaker's biography | Presentation and Speaking voice expert, Barbara is a highly regarded coach and facilitator | | `InternalNote` | *string* | :heavy_minus_sign: | The Internal Note of the speaker | Barbara is multilingual | diff --git a/packages/csharp/docs/Models/Components/ExistingSpeakerInput.md b/packages/csharp/docs/Models/Components/ExistingSpeakerInput.md index d5dc3f155..5b7f05240 100644 --- a/packages/csharp/docs/Models/Components/ExistingSpeakerInput.md +++ b/packages/csharp/docs/Models/Components/ExistingSpeakerInput.md @@ -16,8 +16,8 @@ An existing, event speaker. | `Designation` | *string* | :heavy_minus_sign: | The speaker's Designation | PhD | | `Company` | *string* | :heavy_minus_sign: | The company to which the speaker is associated | Cvent | | `Title` | *string* | :heavy_minus_sign: | The speaker's title | Lead Engineer | -| `Category` | [CategoryIdNameJson](../../Models/Components/CategoryIdNameJson.md) | :heavy_minus_sign: | A defined speaker category. | | -| `Links` | [ContactLinksJsonInput](../../Models/Components/ContactLinksJsonInput.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | +| `Category` | [SpeakerCategory1](../../Models/Components/SpeakerCategory1.md) | :heavy_minus_sign: | A defined speaker category. | | +| `Links` | [ContactLinksInput](../../Models/Components/ContactLinksInput.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | | `Visibility` | *bool* | :heavy_minus_sign: | Indicates if a given speaker should be displayed on Event Website | false | | `Biography` | *string* | :heavy_minus_sign: | The speaker's biography | Presentation and Speaking voice expert, Barbara is a highly regarded coach and facilitator | | `InternalNote` | *string* | :heavy_minus_sign: | The Internal Note of the speaker | Barbara is multilingual | diff --git a/packages/csharp/docs/Models/Components/ExistingSponsorshipLevel.md b/packages/csharp/docs/Models/Components/ExistingSponsorshipLevel.md index 00fb9e7f0..9bf85a2cb 100644 --- a/packages/csharp/docs/Models/Components/ExistingSponsorshipLevel.md +++ b/packages/csharp/docs/Models/Components/ExistingSponsorshipLevel.md @@ -11,7 +11,7 @@ Existing sponsorship level model | `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 | -| `Event` | [Event21](../../Models/Components/Event21.md) | :heavy_check_mark: | The Associated Event. | | +| `Event` | [Event3](../../Models/Components/Event3.md) | :heavy_check_mark: | The Associated Event. | | | `Name` | *string* | :heavy_check_mark: | Name of the sponsorship level | Silver | | `Id` | *string* | :heavy_minus_sign: | ID of event sponsorship level. | 1765848c-2a7f-48d2-85a2-6668b8e64ffb | | `Rank` | *long* | :heavy_minus_sign: | Represents the order sponsors appear in a list. | 3 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExistingVideoResponse.md b/packages/csharp/docs/Models/Components/ExistingVideoResponse.md index 500bd1681..1efa1448f 100644 --- a/packages/csharp/docs/Models/Components/ExistingVideoResponse.md +++ b/packages/csharp/docs/Models/Components/ExistingVideoResponse.md @@ -16,19 +16,19 @@ Response schema for GET/List endpoints, extending ExistingVideo and adding error | `Filename` | *string* | :heavy_minus_sign: | Filename associated with the video at time of upload. Cannot be modified. | Cvent Keynote Version 5.mp4 | | `Events` | List<*string*> | :heavy_minus_sign: | A list of events associated with this video asset | | | `Duration` | *long* | :heavy_minus_sign: | Video duration (milliseconds) | 3600000 | -| `Thumbnail` | [VideoThumbnailJson](../../Models/Components/VideoThumbnailJson.md) | :heavy_minus_sign: | Video thumbnail | | -| `GeneratedThumbnail` | [VideoThumbnailJson](../../Models/Components/VideoThumbnailJson.md) | :heavy_minus_sign: | Video thumbnail | | -| `Status` | [VideoStatusJson](../../Models/Components/VideoStatusJson.md) | :heavy_minus_sign: | Denotes the status of a video. Started indicates the request to upload in the API was submitted, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the video. Available indicates the video is available for use. | Started | -| `Source` | [VideoSourceJson](../../Models/Components/VideoSourceJson.md) | :heavy_minus_sign: | Source of video. | | +| `Thumbnail` | [VideoThumbnail](../../Models/Components/VideoThumbnail.md) | :heavy_minus_sign: | Video thumbnail | | +| `GeneratedThumbnail` | [VideoThumbnail](../../Models/Components/VideoThumbnail.md) | :heavy_minus_sign: | Video thumbnail | | +| `Status` | [VideoStatus](../../Models/Components/VideoStatus.md) | :heavy_minus_sign: | Denotes the status of a video. Started indicates the request to upload in the API was submitted, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the video. Available indicates the video is available for use. | Started | +| `Source` | [VideoSource](../../Models/Components/VideoSource.md) | :heavy_minus_sign: | Source of video. | | | `Tags` | List<*string*> | :heavy_minus_sign: | A list of tags associated with this video. This feature is a developer extensability framework to add data to videos. | [
"edited",
"exhibitor"
] | -| `Type` | [VideoTypeJson](../../Models/Components/VideoTypeJson.md) | :heavy_minus_sign: | This is used to denote type of a video | mp4 | +| `Type` | [VideoType](../../Models/Components/VideoType.md) | :heavy_minus_sign: | This is used to denote type of a video | mp4 | | ~~`Event`~~ | [ExistingVideoResponseUUID](../../Models/Components/ExistingVideoResponseUUID.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Event video asset was created with. This field has been deprecated. Use events instead. | | | ~~`HlsInputs`~~ | List<*string*> | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

List of locations for HLS recordings that will be combined to form a new video. This field has been deprecated. Use hlsInputsWithClips instead. | | -| `HlsInputsWithClips` | List<[HlsInputWithClipsJson](../../Models/Components/HlsInputWithClipsJson.md)> | :heavy_minus_sign: | A list of input object locations & clip information for HTTP Live Streaming (HLS) recordings. Used to trim & stitch all inputs together to form a new video. | | +| `HlsInputsWithClips` | List<[HlsInputWithClips](../../Models/Components/HlsInputWithClips.md)> | :heavy_minus_sign: | A list of input object locations & clip information for HTTP Live Streaming (HLS) recordings. Used to trim & stitch all inputs together to form a new video. | | | `Recording` | [RecordingDetails](../../Models/Components/RecordingDetails.md) | :heavy_minus_sign: | Recording details of video to be transcoded | | -| `EncodingProfile` | [EncodingProfileJson](../../Models/Components/EncodingProfileJson.md) | :heavy_minus_sign: | Denotes the profile to use when encoding the video. Planner profile is for encoding high-quality event content, like session videos. Attendee profile is for encoding lower-quality content intended to go on attendee profiles and social feeds in the event. | Planner | +| `EncodingProfile` | [EncodingProfile](../../Models/Components/EncodingProfile.md) | :heavy_minus_sign: | Denotes the profile to use when encoding the video. Planner profile is for encoding high-quality event content, like session videos. Attendee profile is for encoding lower-quality content intended to go on attendee profiles and social feeds in the event. | Planner | | `Id` | *string* | :heavy_check_mark: | The identifier of a video. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `Url` | [AssetLocationJson](../../Models/Components/AssetLocationJson.md) | :heavy_minus_sign: | A URL associated with the asset. | | +| `Url` | [AssetLocation](../../Models/Components/AssetLocation.md) | :heavy_minus_sign: | A URL associated with the asset. | | | `Size` | *long* | :heavy_minus_sign: | File size in bytes for the video asset. | 32768 | | `Sessions` | List<*string*> | :heavy_minus_sign: | Sessions associated with the video asset. | | | `Exhibitors` | List<*string*> | :heavy_minus_sign: | Exhibitors associated with the video asset. | | @@ -36,5 +36,5 @@ Response schema for GET/List endpoints, extending ExistingVideo and adding error | `UploadStarted` | [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 the upload started. | 2024-01-05T15:30:00Z | | `UploadCompleted` | [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 the uploaded ended. | 2024-01-05T15:35:00Z | | `Parent` | *string* | :heavy_minus_sign: | The ID of the video this was created from. | | -| `Errors` | List<[VideoErrorJson](../../Models/Components/VideoErrorJson.md)> | :heavy_minus_sign: | This is used to denote the errors for a video entity. | | -| `Warnings` | List<[VideoWarningJson](../../Models/Components/VideoWarningJson.md)> | :heavy_minus_sign: | This is used to denote the warnings for a video entity. | | \ No newline at end of file +| `Errors` | List<[VideoError](../../Models/Components/VideoError.md)> | :heavy_minus_sign: | This is used to denote the errors for a video entity. | | +| `Warnings` | List<[VideoWarning](../../Models/Components/VideoWarning.md)> | :heavy_minus_sign: | This is used to denote the warnings for a video entity. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExistingVideoTextTrack.md b/packages/csharp/docs/Models/Components/ExistingVideoTextTrack.md index a968528d4..59ac2d98e 100644 --- a/packages/csharp/docs/Models/Components/ExistingVideoTextTrack.md +++ b/packages/csharp/docs/Models/Components/ExistingVideoTextTrack.md @@ -11,14 +11,14 @@ An existing video text track. | `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 | -| `Video` | [VideoAssetIdJson](../../Models/Components/VideoAssetIdJson.md) | :heavy_minus_sign: | Video that this asset was created with. | | +| `Video` | [VideoAssetID](../../Models/Components/VideoAssetID.md) | :heavy_minus_sign: | Video that this asset was created with. | | | `Label` | *string* | :heavy_minus_sign: | Name of the text track. | English | | `Language` | *string* | :heavy_check_mark: | IETF language tag for the text track. | en-US | -| `Kind` | [VideoTextTrackKindJson](../../Models/Components/VideoTextTrackKindJson.md) | :heavy_check_mark: | Denotes the kind of video text track. Only subtitles are supported. | subtitles | +| `Kind` | [VideoTextTrackKind](../../Models/Components/VideoTextTrackKind.md) | :heavy_check_mark: | Denotes the kind of video text track. Only subtitles are supported. | subtitles | | `Published` | *bool* | :heavy_minus_sign: | True means that this text track has been published for your client. | | | `Default` | *bool* | :heavy_minus_sign: | True indicates this is the default text track. Each kind of text track can have a separate default assigned. | | -| `Status` | [VideoTextTrackStatusJson](../../Models/Components/VideoTextTrackStatusJson.md) | :heavy_check_mark: | Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. | Started | +| `Status` | [VideoTextTrackStatus](../../Models/Components/VideoTextTrackStatus.md) | :heavy_check_mark: | Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. | Started | | `AutoGenerated` | *bool* | :heavy_minus_sign: | True indicates this text track was generated via machine transcription of the audio. | | | `Id` | *string* | :heavy_check_mark: | The identifier of a video text track. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `Url` | [AssetLocationJson](../../Models/Components/AssetLocationJson.md) | :heavy_minus_sign: | A URL associated with the asset. | | +| `Url` | [AssetLocation](../../Models/Components/AssetLocation.md) | :heavy_minus_sign: | A URL associated with the asset. | | | `ErrorMessage` | *string* | :heavy_minus_sign: | A message indicating the error processing the text track, if any. | Input file was empty | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExistingVideoTextTrackInput.md b/packages/csharp/docs/Models/Components/ExistingVideoTextTrackInput.md index 6d65233b5..fb765b0d2 100644 --- a/packages/csharp/docs/Models/Components/ExistingVideoTextTrackInput.md +++ b/packages/csharp/docs/Models/Components/ExistingVideoTextTrackInput.md @@ -7,13 +7,13 @@ An existing video text track. | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Video` | [VideoAssetIdJson](../../Models/Components/VideoAssetIdJson.md) | :heavy_minus_sign: | Video that this asset was created with. | | +| `Video` | [VideoAssetID](../../Models/Components/VideoAssetID.md) | :heavy_minus_sign: | Video that this asset was created with. | | | `Label` | *string* | :heavy_minus_sign: | Name of the text track. | English | | `Language` | *string* | :heavy_check_mark: | IETF language tag for the text track. | en-US | -| `Kind` | [VideoTextTrackKindJson](../../Models/Components/VideoTextTrackKindJson.md) | :heavy_check_mark: | Denotes the kind of video text track. Only subtitles are supported. | subtitles | +| `Kind` | [VideoTextTrackKind](../../Models/Components/VideoTextTrackKind.md) | :heavy_check_mark: | Denotes the kind of video text track. Only subtitles are supported. | subtitles | | `Published` | *bool* | :heavy_minus_sign: | True means that this text track has been published for your client. | | | `Default` | *bool* | :heavy_minus_sign: | True indicates this is the default text track. Each kind of text track can have a separate default assigned. | | -| `Status` | [VideoTextTrackStatusJson](../../Models/Components/VideoTextTrackStatusJson.md) | :heavy_check_mark: | Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. | Started | +| `Status` | [VideoTextTrackStatus](../../Models/Components/VideoTextTrackStatus.md) | :heavy_check_mark: | Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. | Started | | `AutoGenerated` | *bool* | :heavy_minus_sign: | True indicates this text track was generated via machine transcription of the audio. | | -| `Url` | [AssetLocationJsonInput](../../Models/Components/AssetLocationJsonInput.md) | :heavy_minus_sign: | A URL associated with the asset. | | +| `Url` | [AssetLocationInput](../../Models/Components/AssetLocationInput.md) | :heavy_minus_sign: | A URL associated with the asset. | | | `ErrorMessage` | *string* | :heavy_minus_sign: | A message indicating the error processing the text track, if any. | Input file was empty | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExistingWeblink.md b/packages/csharp/docs/Models/Components/ExistingWeblink.md index ea493ce2c..c5b271df9 100644 --- a/packages/csharp/docs/Models/Components/ExistingWeblink.md +++ b/packages/csharp/docs/Models/Components/ExistingWeblink.md @@ -11,7 +11,7 @@ Content of existing exhibitor weblink | `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 | -| `Event` | [Event21](../../Models/Components/Event21.md) | :heavy_check_mark: | The Associated Event. | | +| `Event` | [Event3](../../Models/Components/Event3.md) | :heavy_check_mark: | The Associated Event. | | | `Exhibitor` | [Models.Components.Exhibitor](../../Models/Components/Exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | | `Name` | *string* | :heavy_check_mark: | Display name of the weblink. | Marketing Page | | `Url` | *string* | :heavy_check_mark: | The URL of the weblink. | http://www.example.com | diff --git a/packages/csharp/docs/Models/Components/FairSeasonType.md b/packages/csharp/docs/Models/Components/FairSeasonType.md new file mode 100644 index 000000000..499e8c6f8 --- /dev/null +++ b/packages/csharp/docs/Models/Components/FairSeasonType.md @@ -0,0 +1,19 @@ +# FairSeasonType + +Fair season type. Blackout means that no special rate is negotiated for that date and Best Available Rates will apply + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = FairSeasonType.Negotiated; +``` + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `Negotiated` | negotiated | +| `Blackout` | blackout | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/FairSeasonTypeJson.md b/packages/csharp/docs/Models/Components/FairSeasonTypeJson.md deleted file mode 100644 index bf1a9e6d3..000000000 --- a/packages/csharp/docs/Models/Components/FairSeasonTypeJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# FairSeasonTypeJson - -Fair season type. Blackout means that no special rate is negotiated for that date and Best Available Rates will apply - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = FairSeasonTypeJson.Negotiated; -``` - - -## Values - -| Name | Value | -| ------------ | ------------ | -| `Negotiated` | negotiated | -| `Blackout` | blackout | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Field.md b/packages/csharp/docs/Models/Components/Field.md new file mode 100644 index 000000000..4fd6d31f8 --- /dev/null +++ b/packages/csharp/docs/Models/Components/Field.md @@ -0,0 +1,17 @@ +# Field + +A question field. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | Text field ID. | | +| `Text` | *string* | :heavy_minus_sign: | Text value of the field. Displays to users in the UI. | Are you spending any significant time offsite and need transportation? | +| `ShortText` | *string* | :heavy_minus_sign: | Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. | Needs offsite transportation? | +| `Type` | [FieldType](../../Models/Components/FieldType.md) | :heavy_minus_sign: | Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: Data is one or more options from a list. `Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is free-text input. | | +| `Choices` | List<[Choice](../../Models/Components/Choice.md)> | :heavy_minus_sign: | List of choices for this field. | | +| `NotApplicableAnswer` | [AdditionalChoice](../../Models/Components/AdditionalChoice.md) | :heavy_minus_sign: | Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. | | +| `OtherAnswer` | [AdditionalChoice](../../Models/Components/AdditionalChoice.md) | :heavy_minus_sign: | Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. | | +| `Required` | *bool* | :heavy_minus_sign: | True indicates this is a mandatory question field. | true | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/FieldJson.md b/packages/csharp/docs/Models/Components/FieldJson.md index 3a1f9ec13..fed4bc44e 100644 --- a/packages/csharp/docs/Models/Components/FieldJson.md +++ b/packages/csharp/docs/Models/Components/FieldJson.md @@ -1,17 +1,17 @@ # FieldJson -A question field. +A survey field. ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | Text field ID. | | -| `Text` | *string* | :heavy_minus_sign: | Text value of the field. Displays to users in the UI. | Are you spending any significant time offsite and need transportation? | -| `ShortText` | *string* | :heavy_minus_sign: | Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. | Needs offsite transportation? | -| `Type` | [FieldTypeJson](../../Models/Components/FieldTypeJson.md) | :heavy_minus_sign: | Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: Data is one or more options from a list. `Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is free-text input. | | -| `Choices` | List<[ChoiceJson](../../Models/Components/ChoiceJson.md)> | :heavy_minus_sign: | List of choices for this field. | | -| `NotApplicableAnswer` | [AdditionalChoiceJson2](../../Models/Components/AdditionalChoiceJson2.md) | :heavy_minus_sign: | Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. | | -| `OtherAnswer` | [AdditionalChoiceJson2](../../Models/Components/AdditionalChoiceJson2.md) | :heavy_minus_sign: | Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. | | -| `Required` | *bool* | :heavy_minus_sign: | True indicates this is a mandatory question field. | true | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | Text field ID. | | +| `Text` | *string* | :heavy_minus_sign: | text Value of the Field | Field value | +| `ShortText` | *string* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | +| `Type` | [FieldTypeJson](../../Models/Components/FieldTypeJson.md) | :heavy_minus_sign: | Field Type | SingleChoice | +| `Choices` | List<[ChoiceJson1](../../Models/Components/ChoiceJson1.md)> | :heavy_minus_sign: | List of choices for this field. | | +| `NotApplicableAnswer` | [AdditionalChoiceJson](../../Models/Components/AdditionalChoiceJson.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | +| `OtherAnswer` | [AdditionalChoiceJson](../../Models/Components/AdditionalChoiceJson.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | +| `Required` | *bool* | :heavy_minus_sign: | Is this a mandatory field | true | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/FieldJson2.md b/packages/csharp/docs/Models/Components/FieldJson2.md deleted file mode 100644 index a46df37c4..000000000 --- a/packages/csharp/docs/Models/Components/FieldJson2.md +++ /dev/null @@ -1,17 +0,0 @@ -# FieldJson2 - -A survey field. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | Text field ID. | | -| `Text` | *string* | :heavy_minus_sign: | text Value of the Field | Field value | -| `ShortText` | *string* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | -| `Type` | [FieldTypeJson2](../../Models/Components/FieldTypeJson2.md) | :heavy_minus_sign: | Field Type | SingleChoice | -| `Choices` | List<[ChoiceJson2](../../Models/Components/ChoiceJson2.md)> | :heavy_minus_sign: | List of choices for this field. | | -| `NotApplicableAnswer` | [AdditionalChoiceJson1](../../Models/Components/AdditionalChoiceJson1.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | -| `OtherAnswer` | [AdditionalChoiceJson1](../../Models/Components/AdditionalChoiceJson1.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | -| `Required` | *bool* | :heavy_minus_sign: | Is this a mandatory field | true | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/FieldType.md b/packages/csharp/docs/Models/Components/FieldType.md new file mode 100644 index 000000000..55cb8558b --- /dev/null +++ b/packages/csharp/docs/Models/Components/FieldType.md @@ -0,0 +1,22 @@ +# FieldType + +Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: Data is one or more options from a list. `Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is free-text input. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = FieldType.DateTime; +``` + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `DateTime` | DateTime | +| `MultiChoice` | MultiChoice | +| `Number` | Number | +| `SingleChoice` | SingleChoice | +| `Text` | Text | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/FieldTypeJson.md b/packages/csharp/docs/Models/Components/FieldTypeJson.md index e355cd6da..4772c396a 100644 --- a/packages/csharp/docs/Models/Components/FieldTypeJson.md +++ b/packages/csharp/docs/Models/Components/FieldTypeJson.md @@ -1,13 +1,13 @@ # FieldTypeJson -Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: Data is one or more options from a list. `Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is free-text input. +Field Type ## Example Usage ```csharp using Cvent.SDK.Models.Components; -var value = FieldTypeJson.DateTime; +var value = FieldTypeJson.SingleChoice; ``` @@ -15,8 +15,8 @@ var value = FieldTypeJson.DateTime; | Name | Value | | -------------- | -------------- | -| `DateTime` | DateTime | +| `SingleChoice` | SingleChoice | | `MultiChoice` | MultiChoice | +| `DateTime` | DateTime | | `Number` | Number | -| `SingleChoice` | SingleChoice | | `Text` | Text | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/FieldTypeJson2.md b/packages/csharp/docs/Models/Components/FieldTypeJson2.md deleted file mode 100644 index 35d0a753e..000000000 --- a/packages/csharp/docs/Models/Components/FieldTypeJson2.md +++ /dev/null @@ -1,22 +0,0 @@ -# FieldTypeJson2 - -Field Type - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = FieldTypeJson2.SingleChoice; -``` - - -## Values - -| Name | Value | -| -------------- | -------------- | -| `SingleChoice` | SingleChoice | -| `MultiChoice` | MultiChoice | -| `DateTime` | DateTime | -| `Number` | Number | -| `Text` | Text | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/FileInput.md b/packages/csharp/docs/Models/Components/FileInput.md index 68014dc1f..640ee4f47 100644 --- a/packages/csharp/docs/Models/Components/FileInput.md +++ b/packages/csharp/docs/Models/Components/FileInput.md @@ -7,7 +7,7 @@ Content of exhibitor file. | Field | Type | Required | Description | Example | | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `Event` | [Event21](../../Models/Components/Event21.md) | :heavy_check_mark: | The Associated Event. | | +| `Event` | [Event3](../../Models/Components/Event3.md) | :heavy_check_mark: | The Associated Event. | | | `Exhibitor` | [Models.Components.Exhibitor](../../Models/Components/Exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | | `DisplayName` | *string* | :heavy_check_mark: | Display name of the file. | Marketing Page | | `Hidden` | *bool* | :heavy_minus_sign: | True indicates the file is hidden from attendees. | | diff --git a/packages/csharp/docs/Models/Components/FormatType.md b/packages/csharp/docs/Models/Components/FormatType.md new file mode 100644 index 000000000..2d5987aa5 --- /dev/null +++ b/packages/csharp/docs/Models/Components/FormatType.md @@ -0,0 +1,19 @@ +# FormatType + +Proposal format. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = FormatType.Gbta2013; +``` + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `Gbta2013` | gbta2013 | +| `Universal` | universal | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/FormatTypeJson.md b/packages/csharp/docs/Models/Components/FormatTypeJson.md deleted file mode 100644 index 561c59f59..000000000 --- a/packages/csharp/docs/Models/Components/FormatTypeJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# FormatTypeJson - -Proposal format. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = FormatTypeJson.Gbta2013; -``` - - -## Values - -| Name | Value | -| ----------- | ----------- | -| `Gbta2013` | gbta2013 | -| `Universal` | universal | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/GenderJson.md b/packages/csharp/docs/Models/Components/GenderJson.md deleted file mode 100644 index de1ee3176..000000000 --- a/packages/csharp/docs/Models/Components/GenderJson.md +++ /dev/null @@ -1,21 +0,0 @@ -# GenderJson - -The gender of the contact. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = GenderJson.Male; -``` - - -## Values - -| Name | Value | -| -------------- | -------------- | -| `Male` | Male | -| `Female` | Female | -| `NonBinary` | Non-binary | -| `RatherNotSay` | Rather not say | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/GuestJson.md b/packages/csharp/docs/Models/Components/GuestJson.md index d4172721c..89ca32f19 100644 --- a/packages/csharp/docs/Models/Components/GuestJson.md +++ b/packages/csharp/docs/Models/Components/GuestJson.md @@ -19,5 +19,5 @@ Guest details. | `Email` | *string* | :heavy_minus_sign: | Email address of the guest. | guest@cvent.com | | `HomePhone` | *string* | :heavy_minus_sign: | Home phone number of the guest. Required if the hotel/event requires address in reservations. | (231)-213-1222 | | `WorkPhone` | *string* | :heavy_minus_sign: | Work phone number of the guest. | (231)-213-1222 | -| `HomeAddress` | [AddressJson2](../../Models/Components/AddressJson2.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | +| `HomeAddress` | [AddressJson](../../Models/Components/AddressJson.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | | `PaymentInfo` | [PaymentInfoJson](../../Models/Components/PaymentInfoJson.md) | :heavy_minus_sign: | Payment information. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/GuestRoomOccupancy.md b/packages/csharp/docs/Models/Components/GuestRoomOccupancy.md new file mode 100644 index 000000000..2bc3a6652 --- /dev/null +++ b/packages/csharp/docs/Models/Components/GuestRoomOccupancy.md @@ -0,0 +1,21 @@ +# GuestRoomOccupancy + +Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. `TRIPLE`: Three occupants. `QUAD`: Four occupants. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = GuestRoomOccupancy.Single; +``` + + +## Values + +| Name | Value | +| -------- | -------- | +| `Single` | SINGLE | +| `Double` | DOUBLE | +| `Triple` | TRIPLE | +| `Quad` | QUAD | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/GuestRoomOccupancyJson.md b/packages/csharp/docs/Models/Components/GuestRoomOccupancyJson.md deleted file mode 100644 index d7ba62366..000000000 --- a/packages/csharp/docs/Models/Components/GuestRoomOccupancyJson.md +++ /dev/null @@ -1,21 +0,0 @@ -# GuestRoomOccupancyJson - -Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. `TRIPLE`: Three occupants. `QUAD`: Four occupants. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = GuestRoomOccupancyJson.Single; -``` - - -## Values - -| Name | Value | -| -------- | -------- | -| `Single` | SINGLE | -| `Double` | DOUBLE | -| `Triple` | TRIPLE | -| `Quad` | QUAD | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/GuestRoomOccupancyPerRoomType.md b/packages/csharp/docs/Models/Components/GuestRoomOccupancyPerRoomType.md new file mode 100644 index 000000000..86c402d4a --- /dev/null +++ b/packages/csharp/docs/Models/Components/GuestRoomOccupancyPerRoomType.md @@ -0,0 +1,11 @@ +# GuestRoomOccupancyPerRoomType + +Room occupancy for a room type. + + +## Fields + +| 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 diff --git a/packages/csharp/docs/Models/Components/GuestRoomOccupancyPerRoomTypeJson.md b/packages/csharp/docs/Models/Components/GuestRoomOccupancyPerRoomTypeJson.md deleted file mode 100644 index 2eeb23291..000000000 --- a/packages/csharp/docs/Models/Components/GuestRoomOccupancyPerRoomTypeJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# GuestRoomOccupancyPerRoomTypeJson - -Room occupancy for a room type. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Occupancy` | [GuestRoomOccupancyJson](../../Models/Components/GuestRoomOccupancyJson.md) | :heavy_minus_sign: | Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. `TRIPLE`: Three occupants. `QUAD`: Four occupants. | SINGLE | -| `Type` | [GuestRoomTypeJson](../../Models/Components/GuestRoomTypeJson.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 diff --git a/packages/csharp/docs/Models/Components/GuestRoomType.md b/packages/csharp/docs/Models/Components/GuestRoomType.md new file mode 100644 index 000000000..cd84307e0 --- /dev/null +++ b/packages/csharp/docs/Models/Components/GuestRoomType.md @@ -0,0 +1,22 @@ +# GuestRoomType + +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. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = GuestRoomType.Any; +``` + + +## Values + +| Name | Value | +| -------- | -------- | +| `Any` | ANY | +| `Single` | SINGLE | +| `Double` | DOUBLE | +| `Suite` | SUITE | +| `Staff` | STAFF | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/GuestRoomTypeJson.md b/packages/csharp/docs/Models/Components/GuestRoomTypeJson.md deleted file mode 100644 index 064417f74..000000000 --- a/packages/csharp/docs/Models/Components/GuestRoomTypeJson.md +++ /dev/null @@ -1,22 +0,0 @@ -# GuestRoomTypeJson - -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. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = GuestRoomTypeJson.Any; -``` - - -## Values - -| Name | Value | -| -------- | -------- | -| `Any` | ANY | -| `Single` | SINGLE | -| `Double` | DOUBLE | -| `Suite` | SUITE | -| `Staff` | STAFF | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/HlsInputWithClips.md b/packages/csharp/docs/Models/Components/HlsInputWithClips.md new file mode 100644 index 000000000..b43a2d561 --- /dev/null +++ b/packages/csharp/docs/Models/Components/HlsInputWithClips.md @@ -0,0 +1,11 @@ +# HlsInputWithClips + +HTTP Live Streaming input and clips. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `HlsInput` | *string* | :heavy_minus_sign: | Location for HTTP Live Streaming (HLS) recording. | s3://bucket/path/to/recording/video.m3u8 | +| `Clips` | List<[VideoClip](../../Models/Components/VideoClip.md)> | :heavy_minus_sign: | Clips for the HLS recording. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/HlsInputWithClipsJson.md b/packages/csharp/docs/Models/Components/HlsInputWithClipsJson.md deleted file mode 100644 index 721c06a02..000000000 --- a/packages/csharp/docs/Models/Components/HlsInputWithClipsJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# HlsInputWithClipsJson - -HTTP Live Streaming input and clips. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| `HlsInput` | *string* | :heavy_minus_sign: | Location for HTTP Live Streaming (HLS) recording. | s3://bucket/path/to/recording/video.m3u8 | -| `Clips` | List<[VideoClipJson](../../Models/Components/VideoClipJson.md)> | :heavy_minus_sign: | Clips for the HLS recording. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/HotelRequest.md b/packages/csharp/docs/Models/Components/HotelRequest.md index a200066ac..746db02bb 100644 --- a/packages/csharp/docs/Models/Components/HotelRequest.md +++ b/packages/csharp/docs/Models/Components/HotelRequest.md @@ -44,6 +44,6 @@ Representation of a hotel request. | `LatestShoulderDate` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 zoned date time (in UTC) when the requester is requesting for an latest shoulder date. | 2023-05-19T00:00:00Z | | `RoomTaxBillingExceptions` | *string* | :heavy_minus_sign: | Specifies who the hotel will charge for the room rate's tax. | exceptions noted here. | | `IncidentalBillingExceptions` | *string* | :heavy_minus_sign: | Specifies who the hotel will charge incidental (extra) room expenses, like room service or long-distance calling. | exceptions noted here. | -| `HotelAddress` | [Address3](../../Models/Components/Address3.md) | :heavy_minus_sign: | Address of the hotel. | | +| `HotelAddress` | [Address5](../../Models/Components/Address5.md) | :heavy_minus_sign: | Address of the hotel. | | | `HotelRoomRates` | List<[HotelRoomRate](../../Models/Components/HotelRoomRate.md)> | :heavy_minus_sign: | Collection of hotel room rates the requester has taken. | | | `HotelRequestAnswers` | List<[AttendeeAnswer1](../../Models/Components/AttendeeAnswer1.md)> | :heavy_minus_sign: | Answer provided by requester to the hotel request related question. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/HousingEventHotel.md b/packages/csharp/docs/Models/Components/HousingEventHotel.md index 4e71d9791..ada8f4b33 100644 --- a/packages/csharp/docs/Models/Components/HousingEventHotel.md +++ b/packages/csharp/docs/Models/Components/HousingEventHotel.md @@ -16,4 +16,4 @@ Hotel details including name, description, policies and IDs. | `Proximity` | [ProximityJson](../../Models/Components/ProximityJson.md) | :heavy_minus_sign: | Proximity of the event venue to the hotel. | | | `Amenities` | List<*string*> | :heavy_minus_sign: | List of available amenities at the hotel. | | | `Rating` | [HotelRatingJson](../../Models/Components/HotelRatingJson.md) | :heavy_minus_sign: | The hotel's rating, used to classify the hotel's quality. | 3 Star | -| `Address` | [AddressJson2](../../Models/Components/AddressJson2.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | \ No newline at end of file +| `Address` | [AddressJson](../../Models/Components/AddressJson.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/HousingEventSummaryList.md b/packages/csharp/docs/Models/Components/HousingEventSummaryList.md index dfaae0983..9a64dd1dd 100644 --- a/packages/csharp/docs/Models/Components/HousingEventSummaryList.md +++ b/packages/csharp/docs/Models/Components/HousingEventSummaryList.md @@ -8,4 +8,4 @@ List of housing events with key information, providing a summarized view of each | Field | Type | Required | Description | | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | | `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `Data` | List<[ZeroAllOf9](../../Models/Components/ZeroAllOf9.md)> | :heavy_check_mark: | List of housing events with key information, providing a summarized view of each event. | \ No newline at end of file +| `Data` | List<[ZeroAllOf8](../../Models/Components/ZeroAllOf8.md)> | :heavy_check_mark: | List of housing events with key information, providing a summarized view of each event. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/IdJson.md b/packages/csharp/docs/Models/Components/IdJson.md deleted file mode 100644 index 8ce2be00c..000000000 --- a/packages/csharp/docs/Models/Components/IdJson.md +++ /dev/null @@ -1,10 +0,0 @@ -# IdJson - -An entity which only has an id. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `Id` | *string* | :heavy_check_mark: | The entity's id value. | abc-123 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/IdOnlyEntity.md b/packages/csharp/docs/Models/Components/IdOnlyEntity.md new file mode 100644 index 000000000..986278da1 --- /dev/null +++ b/packages/csharp/docs/Models/Components/IdOnlyEntity.md @@ -0,0 +1,10 @@ +# IdOnlyEntity + +An entity which only has an id. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `Id` | *string* | :heavy_check_mark: | The entity's id value. | abc-123 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Industry1.md b/packages/csharp/docs/Models/Components/Industry1.md new file mode 100644 index 000000000..630b3fbe5 --- /dev/null +++ b/packages/csharp/docs/Models/Components/Industry1.md @@ -0,0 +1,36 @@ +# Industry1 + +Industry + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = Industry1.AgricultureAndMining; +``` + + +## Values + +| Name | Value | +| -------------------------------------- | -------------------------------------- | +| `AgricultureAndMining` | AGRICULTURE_AND_MINING | +| `BusinessServices` | BUSINESS_SERVICES | +| `ComputersAndElectronics` | COMPUTERS_AND_ELECTRONICS | +| `ConsumerServices` | CONSUMER_SERVICES | +| `Education` | EDUCATION | +| `EnergyAndUtilities` | ENERGY_AND_UTILITIES | +| `FinancialServices` | FINANCIAL_SERVICES | +| `Government` | GOVERNMENT | +| `HealthcarePharmaceuticalsAndBiotech` | HEALTHCARE_PHARMACEUTICALS_AND_BIOTECH | +| `Manufacturing` | MANUFACTURING | +| `MediaAndEntertainment` | MEDIA_AND_ENTERTAINMENT | +| `Other` | OTHER | +| `RealEstateAndConstruction` | REAL_ESTATE_AND_CONSTRUCTION | +| `Retail` | RETAIL | +| `SoftwareAndInternet` | SOFTWARE_AND_INTERNET | +| `Telecommunications` | TELECOMMUNICATIONS | +| `TransportationAndStorage` | TRANSPORTATION_AND_STORAGE | +| `TravelRecreationAndLeisure` | TRAVEL_RECREATION_AND_LEISURE | +| `WholesaleAndDistribution` | WHOLESALE_AND_DISTRIBUTION | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/IndustryJson0.md b/packages/csharp/docs/Models/Components/IndustryJson0.md deleted file mode 100644 index 9d4ff2136..000000000 --- a/packages/csharp/docs/Models/Components/IndustryJson0.md +++ /dev/null @@ -1,36 +0,0 @@ -# IndustryJson0 - -Industry - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = IndustryJson0.AgricultureAndMining; -``` - - -## Values - -| Name | Value | -| -------------------------------------- | -------------------------------------- | -| `AgricultureAndMining` | AGRICULTURE_AND_MINING | -| `BusinessServices` | BUSINESS_SERVICES | -| `ComputersAndElectronics` | COMPUTERS_AND_ELECTRONICS | -| `ConsumerServices` | CONSUMER_SERVICES | -| `Education` | EDUCATION | -| `EnergyAndUtilities` | ENERGY_AND_UTILITIES | -| `FinancialServices` | FINANCIAL_SERVICES | -| `Government` | GOVERNMENT | -| `HealthcarePharmaceuticalsAndBiotech` | HEALTHCARE_PHARMACEUTICALS_AND_BIOTECH | -| `Manufacturing` | MANUFACTURING | -| `MediaAndEntertainment` | MEDIA_AND_ENTERTAINMENT | -| `Other` | OTHER | -| `RealEstateAndConstruction` | REAL_ESTATE_AND_CONSTRUCTION | -| `Retail` | RETAIL | -| `SoftwareAndInternet` | SOFTWARE_AND_INTERNET | -| `Telecommunications` | TELECOMMUNICATIONS | -| `TransportationAndStorage` | TRANSPORTATION_AND_STORAGE | -| `TravelRecreationAndLeisure` | TRAVEL_RECREATION_AND_LEISURE | -| `WholesaleAndDistribution` | WHOLESALE_AND_DISTRIBUTION | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/InvitationListPaginatedResponse.md b/packages/csharp/docs/Models/Components/InvitationListPaginatedResponse.md index e46ba7922..ed330561e 100644 --- a/packages/csharp/docs/Models/Components/InvitationListPaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/InvitationListPaginatedResponse.md @@ -7,5 +7,5 @@ Return a response object containing paginated data for the invitation list(s). | Field | Type | Required | Description | | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `Paging` | [PagingJson19](../../Models/Components/PagingJson19.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `Paging` | [PagingJson2](../../Models/Components/PagingJson2.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | | `Data` | List<[InvitationListJson](../../Models/Components/InvitationListJson.md)> | :heavy_check_mark: | Collection of invitation list objects. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Lead.md b/packages/csharp/docs/Models/Components/Lead.md index 337bb447c..e67d844c1 100644 --- a/packages/csharp/docs/Models/Components/Lead.md +++ b/packages/csharp/docs/Models/Components/Lead.md @@ -11,9 +11,9 @@ A JSON Schema file for Lead. | `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 | -| `Event` | [Event21](../../Models/Components/Event21.md) | :heavy_minus_sign: | The Associated Event. | | +| `Event` | [Event3](../../Models/Components/Event3.md) | :heavy_minus_sign: | The Associated Event. | | | `Exhibitor` | [Models.Components.Exhibitor](../../Models/Components/Exhibitor.md) | :heavy_minus_sign: | The Associated Exhibitor. | | -| `Attendee` | [Attendee12](../../Models/Components/Attendee12.md) | :heavy_minus_sign: | A JSON schema representing the Attendee object | | +| `Attendee` | [Attendee13](../../Models/Components/Attendee13.md) | :heavy_minus_sign: | A JSON schema representing the Attendee object | | | `BoothStaff` | [BoothStaff](../../Models/Components/BoothStaff.md) | :heavy_minus_sign: | A JSON schema representing Booth Staff entity | | | `Device` | [Device](../../Models/Components/Device.md) | :heavy_minus_sign: | A JSON object representing an electronic device used to capture leads. | | | `Appointment` | [Appointment1](../../Models/Components/Appointment1.md) | :heavy_minus_sign: | A JSON schema representing the structure of an appointment object. | | @@ -23,9 +23,9 @@ A JSON Schema file for Lead. | `Email` | *string* | :heavy_minus_sign: | The email address of the lead | h.potterfield@test.com | | `Company` | *string* | :heavy_minus_sign: | The company/organization the lead belongs to. | Cvent Inc | | `MobilePhone` | *string* | :heavy_minus_sign: | Mobile phone number of the lead | 555-555-5555 | -| `HomeAddress` | [Address12](../../Models/Components/Address12.md) | :heavy_minus_sign: | Schema for address information | | +| `HomeAddress` | [Address11](../../Models/Components/Address11.md) | :heavy_minus_sign: | Schema for address information | | | `HomePhone` | *string* | :heavy_minus_sign: | Home phone number of the lead | 555-555-5555 | -| `WorkAddress` | [Address12](../../Models/Components/Address12.md) | :heavy_minus_sign: | Schema for address information | | +| `WorkAddress` | [Address11](../../Models/Components/Address11.md) | :heavy_minus_sign: | Schema for address information | | | `WorkPhone` | *string* | :heavy_minus_sign: | Work Phone number of the lead | 555-555-5555 | | `Type` | [LeadType](../../Models/Components/LeadType.md) | :heavy_minus_sign: | The type of lead. | | | `Application` | [Application](../../Models/Components/Application.md) | :heavy_minus_sign: | The application used to capture lead. | | diff --git a/packages/csharp/docs/Models/Components/LeadQualificationAnswers.md b/packages/csharp/docs/Models/Components/LeadQualificationAnswers.md index f82bf972d..e0dc59a52 100644 --- a/packages/csharp/docs/Models/Components/LeadQualificationAnswers.md +++ b/packages/csharp/docs/Models/Components/LeadQualificationAnswers.md @@ -13,7 +13,7 @@ This JSON schema file represents lead qualification answers | `LastModifiedBy` | *string* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | | `Id` | *string* | :heavy_minus_sign: | Lead Qualification Answer id | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `Question` | [Uuid](../../Models/Components/Uuid.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | -| `Event` | [Event21](../../Models/Components/Event21.md) | :heavy_minus_sign: | The Associated Event. | | +| `Event` | [Event3](../../Models/Components/Event3.md) | :heavy_minus_sign: | The Associated Event. | | | `Exhibitor` | [Models.Components.Exhibitor](../../Models/Components/Exhibitor.md) | :heavy_minus_sign: | The Associated Exhibitor. | | | `Lead` | [Lead2](../../Models/Components/Lead2.md) | :heavy_minus_sign: | JSON schema for the Lead object | | | `Answers` | List<[Answer1](../../Models/Components/Answer1.md)> | :heavy_minus_sign: | List of answers | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/LeadQualificationQuestion.md b/packages/csharp/docs/Models/Components/LeadQualificationQuestion.md index c6021f91b..3a9255643 100644 --- a/packages/csharp/docs/Models/Components/LeadQualificationQuestion.md +++ b/packages/csharp/docs/Models/Components/LeadQualificationQuestion.md @@ -12,12 +12,12 @@ A JSON schema representing a Lead Qualification Question model | `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 | | `Id` | *string* | :heavy_minus_sign: | Lead Qualification Question id | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `Event` | [Event21](../../Models/Components/Event21.md) | :heavy_minus_sign: | The Associated Event. | | +| `Event` | [Event3](../../Models/Components/Event3.md) | :heavy_minus_sign: | The Associated Event. | | | `Exhibitor` | [Models.Components.Exhibitor](../../Models/Components/Exhibitor.md) | :heavy_minus_sign: | The Associated Exhibitor. | | | `Type` | [LeadQualificationQuestionType](../../Models/Components/LeadQualificationQuestionType.md) | :heavy_minus_sign: | Type of question | | | `Code` | *string* | :heavy_minus_sign: | question code | cult | -| `Choices` | List<[Choice](../../Models/Components/Choice.md)> | :heavy_minus_sign: | List of available choices for the question | | -| `NotApplicableAnswer` | [AdditionalChoice](../../Models/Components/AdditionalChoice.md) | :heavy_minus_sign: | Contains text of additional choice | | -| `OtherAnswers` | [AdditionalChoice](../../Models/Components/AdditionalChoice.md) | :heavy_minus_sign: | Contains text of additional choice | | +| `Choices` | List<[Choice1](../../Models/Components/Choice1.md)> | :heavy_minus_sign: | List of available choices for the question | | +| `NotApplicableAnswer` | [AdditionalChoice1](../../Models/Components/AdditionalChoice1.md) | :heavy_minus_sign: | Contains text of additional choice | | +| `OtherAnswers` | [AdditionalChoice1](../../Models/Components/AdditionalChoice1.md) | :heavy_minus_sign: | Contains text of additional choice | | | `Required` | *bool* | :heavy_minus_sign: | A boolean indicating whether the question is mandatory or not | true | | `Text` | *string* | :heavy_minus_sign: | text of the question | Is there a business need? | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/LeadQualifiedQuestionResponseJson.md b/packages/csharp/docs/Models/Components/LeadQualifiedQuestionResponseJson.md index 4d98b8c8b..6932e0a9d 100644 --- a/packages/csharp/docs/Models/Components/LeadQualifiedQuestionResponseJson.md +++ b/packages/csharp/docs/Models/Components/LeadQualifiedQuestionResponseJson.md @@ -7,5 +7,5 @@ A Question response. | Field | Type | Required | Description | | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | -| `Question` | [QuestionJson3](../../Models/Components/QuestionJson3.md) | :heavy_minus_sign: | The question that was answered. | +| `Question` | [QuestionJson2](../../Models/Components/QuestionJson2.md) | :heavy_minus_sign: | The question that was answered. | | `Answers` | List<[LeadQualifiedAnswerJson](../../Models/Components/LeadQualifiedAnswerJson.md)> | :heavy_minus_sign: | List of answers. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/LeadSource.md b/packages/csharp/docs/Models/Components/LeadSource.md index 9a9a4d826..78fb269e9 100644 --- a/packages/csharp/docs/Models/Components/LeadSource.md +++ b/packages/csharp/docs/Models/Components/LeadSource.md @@ -8,4 +8,4 @@ Lead source details. | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `Id` | *string* | :heavy_minus_sign: | Unique identifier for source generating the RFP. Details about this lead source can be fetched using lead source API. | 50dc08af-24a9-4d01-84be-3d43133dc945 | -| `Section` | [LeadSourceSectionJson](../../Models/Components/LeadSourceSectionJson.md) | :heavy_minus_sign: | Represents lead source section details, which is a sub area of source generating the RFP. | | \ No newline at end of file +| `Section` | [LeadSourceSection](../../Models/Components/LeadSourceSection.md) | :heavy_minus_sign: | Represents lead source section details, which is a sub area of source generating the RFP. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/LeadSourceJson.md b/packages/csharp/docs/Models/Components/LeadSourceJson.md deleted file mode 100644 index e7ba1779f..000000000 --- a/packages/csharp/docs/Models/Components/LeadSourceJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# LeadSourceJson - -Lead source details. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | Unique identifier for source generating the RFP. Details about this lead source can be fetched using lead source API. | 50dc08af-24a9-4d01-84be-3d43133dc945 | -| `Section` | [LeadSourceSectionJson](../../Models/Components/LeadSourceSectionJson.md) | :heavy_minus_sign: | Represents lead source section details, which is a sub area of source generating the RFP. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/LeadSourceSection.md b/packages/csharp/docs/Models/Components/LeadSourceSection.md new file mode 100644 index 000000000..6d131beba --- /dev/null +++ b/packages/csharp/docs/Models/Components/LeadSourceSection.md @@ -0,0 +1,10 @@ +# LeadSourceSection + +Represents lead source section details, which is a sub area of source generating the RFP. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | Unique identifier for sub area of source generating the RFP. Details about this lead source section can be fetched using lead source section API. | 40dc08af-24a9-4d01-84be-3d43133dc945 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/LeadSourceSectionJson.md b/packages/csharp/docs/Models/Components/LeadSourceSectionJson.md deleted file mode 100644 index 372be6642..000000000 --- a/packages/csharp/docs/Models/Components/LeadSourceSectionJson.md +++ /dev/null @@ -1,10 +0,0 @@ -# LeadSourceSectionJson - -Represents lead source section details, which is a sub area of source generating the RFP. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | Unique identifier for sub area of source generating the RFP. Details about this lead source section can be fetched using lead source section API. | 40dc08af-24a9-4d01-84be-3d43133dc945 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ManagementLevelType1.md b/packages/csharp/docs/Models/Components/ManagementLevelType1.md new file mode 100644 index 000000000..998695e41 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ManagementLevelType1.md @@ -0,0 +1,21 @@ +# ManagementLevelType1 + +The management level of the travel account. Defined by the supply-side. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = ManagementLevelType1.Global; +``` + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `Global` | global | +| `National` | national | +| `Regional` | regional | +| `Local` | local | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ManagementLevelTypeJson1.md b/packages/csharp/docs/Models/Components/ManagementLevelTypeJson1.md deleted file mode 100644 index fbb3d7b2b..000000000 --- a/packages/csharp/docs/Models/Components/ManagementLevelTypeJson1.md +++ /dev/null @@ -1,21 +0,0 @@ -# ManagementLevelTypeJson1 - -The management level of the travel account. Defined by the supply-side. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = ManagementLevelTypeJson1.Global; -``` - - -## Values - -| Name | Value | -| ---------- | ---------- | -| `Global` | global | -| `National` | national | -| `Regional` | regional | -| `Local` | local | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeasurementUnit.md b/packages/csharp/docs/Models/Components/MeasurementUnit.md new file mode 100644 index 000000000..30cafb35e --- /dev/null +++ b/packages/csharp/docs/Models/Components/MeasurementUnit.md @@ -0,0 +1,23 @@ +# MeasurementUnit + +Unit of measurement for area or space. + +Values: +- `SQUARE_FEET` — Square Feet +- `SQUARE_METERS` — Square Meters + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = MeasurementUnit.SquareFeet; +``` + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `SquareFeet` | SQUARE_FEET | +| `SquareMeters` | SQUARE_METERS | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeasurementUnitJson0.md b/packages/csharp/docs/Models/Components/MeasurementUnitJson0.md deleted file mode 100644 index e7a94b0c5..000000000 --- a/packages/csharp/docs/Models/Components/MeasurementUnitJson0.md +++ /dev/null @@ -1,19 +0,0 @@ -# MeasurementUnitJson0 - -Measurement unit. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = MeasurementUnitJson0.SquareFeet; -``` - - -## Values - -| Name | Value | -| -------------- | -------------- | -| `SquareFeet` | SQUARE_FEET | -| `SquareMeters` | SQUARE_METERS | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MeetingRequestQuestionJson.md b/packages/csharp/docs/Models/Components/MeetingRequestQuestionJson.md index 1b48a1b67..de68c8647 100644 --- a/packages/csharp/docs/Models/Components/MeetingRequestQuestionJson.md +++ b/packages/csharp/docs/Models/Components/MeetingRequestQuestionJson.md @@ -9,7 +9,7 @@ A question and its answer for a meeting request. Some questions have fixed, well | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `Id` | *string* | :heavy_check_mark: | The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts:
* Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1`
* Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064`
* Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7`
* Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce`
* Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3`
* Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` | f1ea56cd-6860-4f1a-baf7-973118384384 | | `Name` | *string* | :heavy_minus_sign: | The display text of the question. | What is your favorite color? | -| `Type` | [QuestionTypeJson1](../../Models/Components/QuestionTypeJson1.md) | :heavy_minus_sign: | Denotes the type of data collected by a question. | SingleSelect | +| `Type` | [QuestionTypeJson](../../Models/Components/QuestionTypeJson.md) | :heavy_minus_sign: | Denotes the type of data collected by a question. | SingleSelect | | `Value` | List<*string*> | :heavy_check_mark: | An array of non-null answers to the question. The format of each item depends on the question `type`.

**Standard questions:** Each item is a plain string (for example, `"Green"`).

**Country/Region questions (`type: Country`):** Each item is either a country name (for example, `"Canada"`) or a country code (for example, `"CA"`). Clients should provide either country names or country codes, but not both formats in the same request. See the Country Codes reference for the list of supported country codes and corresponding country names.

**Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or `BudgetEstimates`):** Each item is a JSON-serialized string. See `compositeValue` for the same data in parsed form. | | | `AnswerType` | [AnswerTypeJson](../../Models/Components/AnswerTypeJson.md) | :heavy_minus_sign: | Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are interpreted.

Set to **"Other"** when the question has the **"Other"** choice option enabled, indicating the answer in the **"secondaryValue"** field is a free-text response to that option.

Set to **"NA"** when the question has the **"N/A"** choice option enabled, to indicate an N/A type answer; in this case, `value` is omitted.

In all other cases, `answerType` is not expected to be set. | Other | | `SecondaryValue` | *string* | :heavy_minus_sign: | The secondary value of the question. This can be the other answer of choice questions which have `Other` as an answer type. | The other answer for the question. | diff --git a/packages/csharp/docs/Models/Components/MembershipJson.md b/packages/csharp/docs/Models/Components/MembershipJson.md deleted file mode 100644 index 513a66b69..000000000 --- a/packages/csharp/docs/Models/Components/MembershipJson.md +++ /dev/null @@ -1,16 +0,0 @@ -# MembershipJson - -Contact Membership information - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `Type` | *string* | :heavy_minus_sign: | The type of membership the contact has signed up for. | Corporate Sponsor | -| `Plan` | *string* | :heavy_minus_sign: | Describes the specific plan the contact has signed up for. | Gold Level | -| `Joined` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO-8601 formatted date the contact began their membership. | 2017-02-10 | -| `Expiration` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO-8601 formatted date the contact's membership will expire. | 2020-02-09 | -| `LastRenewal` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO-8601 formatted date the contact last renewed their membership. | 2019-02-08 | -| `AmountDue` | *double* | :heavy_minus_sign: | The amount currently due for this membership. | 50.5 | -| `ListInDirectory` | *bool* | :heavy_minus_sign: | Indicates if the member details should be included in the member directory. | false | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MessageRecipientResponse.md b/packages/csharp/docs/Models/Components/MessageRecipientResponse.md new file mode 100644 index 000000000..d63f8662d --- /dev/null +++ b/packages/csharp/docs/Models/Components/MessageRecipientResponse.md @@ -0,0 +1,11 @@ +# MessageRecipientResponse + +Members of the channel who received a message. + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | +| `Attendee` | [MessageRecipientResponseAttendee](../../Models/Components/MessageRecipientResponseAttendee.md) | :heavy_check_mark: | The attendee object | +| `Channel` | [Channel](../../Models/Components/Channel.md) | :heavy_check_mark: | The channel object | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MessageRecipientResponseAttendee.md b/packages/csharp/docs/Models/Components/MessageRecipientResponseAttendee.md new file mode 100644 index 000000000..a76643d1e --- /dev/null +++ b/packages/csharp/docs/Models/Components/MessageRecipientResponseAttendee.md @@ -0,0 +1,12 @@ +# MessageRecipientResponseAttendee + +The attendee object + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | Unique identifier for the attendee. | 0a459133-1f5e-43b2-8694-7da9541b3f58 | +| `Active` | *bool* | :heavy_check_mark: | True indicates the recipient is active in the channel. | false | +| `LeftChannelAt` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | ISO 8601 formatted timestamp when the attendee left the channel, if applicable. | 2025-03-13T18:00:00.000Z | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MessageRecipientsPaginatedResponse.md b/packages/csharp/docs/Models/Components/MessageRecipientsPaginatedResponse.md index 55ae7e791..c95c955b6 100644 --- a/packages/csharp/docs/Models/Components/MessageRecipientsPaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/MessageRecipientsPaginatedResponse.md @@ -5,7 +5,7 @@ The response matching the filter criteria for the list of channel members. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `Data` | List<[MessageRecipientsResponseJson](../../Models/Components/MessageRecipientsResponseJson.md)> | :heavy_check_mark: | Collection of channel members. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `Data` | List<[MessageRecipientResponse](../../Models/Components/MessageRecipientResponse.md)> | :heavy_check_mark: | Collection of channel members. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MessageRecipientsResponseJson.md b/packages/csharp/docs/Models/Components/MessageRecipientsResponseJson.md deleted file mode 100644 index 3e7cbb06d..000000000 --- a/packages/csharp/docs/Models/Components/MessageRecipientsResponseJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# MessageRecipientsResponseJson - -Members of the channel who received a message. - - -## Fields - -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | -| `Attendee` | [MessageRecipientsResponseJsonAttendee](../../Models/Components/MessageRecipientsResponseJsonAttendee.md) | :heavy_check_mark: | The attendee object | -| `Channel` | [Channel](../../Models/Components/Channel.md) | :heavy_check_mark: | The channel object | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/MessageRecipientsResponseJsonAttendee.md b/packages/csharp/docs/Models/Components/MessageRecipientsResponseJsonAttendee.md deleted file mode 100644 index 55df00fbc..000000000 --- a/packages/csharp/docs/Models/Components/MessageRecipientsResponseJsonAttendee.md +++ /dev/null @@ -1,12 +0,0 @@ -# MessageRecipientsResponseJsonAttendee - -The attendee object - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | Unique identifier for the attendee. | 0a459133-1f5e-43b2-8694-7da9541b3f58 | -| `Active` | *bool* | :heavy_check_mark: | True indicates the recipient is active in the channel. | false | -| `LeftChannelAt` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | ISO 8601 formatted timestamp when the attendee left the channel, if applicable. | 2025-03-13T18:00:00.000Z | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/NumericAnswerFormat.md b/packages/csharp/docs/Models/Components/NumericAnswerFormat.md new file mode 100644 index 000000000..737720441 --- /dev/null +++ b/packages/csharp/docs/Models/Components/NumericAnswerFormat.md @@ -0,0 +1,20 @@ +# NumericAnswerFormat + +The answer format that a given number is stored in. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = NumericAnswerFormat.Currency; +``` + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `Currency` | Currency | +| `Decimal` | Decimal | +| `Number` | Number | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/NumericAnswerFormatJson.md b/packages/csharp/docs/Models/Components/NumericAnswerFormatJson.md deleted file mode 100644 index 81d80eb90..000000000 --- a/packages/csharp/docs/Models/Components/NumericAnswerFormatJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# NumericAnswerFormatJson - -The answer format that a given number is stored in. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = NumericAnswerFormatJson.Currency; -``` - - -## Values - -| Name | Value | -| ---------- | ---------- | -| `Currency` | Currency | -| `Decimal` | Decimal | -| `Number` | Number | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/OfferingCostType1.md b/packages/csharp/docs/Models/Components/OfferingCostType1.md new file mode 100644 index 000000000..5b71ef976 --- /dev/null +++ b/packages/csharp/docs/Models/Components/OfferingCostType1.md @@ -0,0 +1,79 @@ +# OfferingCostType1 + +Cost type associated with organizing and hosting events and meetings. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = OfferingCostType1.AirportTransportation; +``` + + +## Values + +| Name | Value | +| ------------------------------ | ------------------------------ | +| `AirportTransportation` | AIRPORT_TRANSPORTATION | +| `AirConditioningHeating` | AIR_CONDITIONING_HEATING | +| `AudioPatch` | AUDIO_PATCH | +| `AvEquipment` | AV_EQUIPMENT | +| `BellmanDelivery` | BELLMAN_DELIVERY | +| `BreakfastBuffet` | BREAKFAST_BUFFET | +| `BreakfastContinental` | BREAKFAST_CONTINENTAL | +| `BreakfastPlated` | BREAKFAST_PLATED | +| `BreakoutLarge` | BREAKOUT_LARGE | +| `BreakoutMedium` | BREAKOUT_MEDIUM | +| `BreakoutSmall` | BREAKOUT_SMALL | +| `BreakoutTotal` | BREAKOUT_TOTAL | +| `BreakAm` | BREAK_AM | +| `BreakDrinksOnly` | BREAK_DRINKS_ONLY | +| `BreakPm` | BREAK_PM | +| `BreakSnacksAndDrinks` | BREAK_SNACKS_AND_DRINKS | +| `BuildingOvertime` | BUILDING_OVERTIME | +| `BusinessCenter` | BUSINESS_CENTER | +| `Cmp` | CMP | +| `ConferenceConcierge` | CONFERENCE_CONCIERGE | +| `ConferencePlanningManager` | CONFERENCE_PLANNING_MANAGER | +| `DdrFullDay` | DDR_FULL_DAY | +| `DdrHalfDay` | DDR_HALF_DAY | +| `DinnerBuffet` | DINNER_BUFFET | +| `DinnerPlated` | DINNER_PLATED | +| `ExhibitSpace` | EXHIBIT_SPACE | +| `FacilityFee` | FACILITY_FEE | +| `FitnessCenter` | FITNESS_CENTER | +| `GallonCoffee` | GALLON_COFFEE | +| `GeneralSession` | GENERAL_SESSION | +| `Housekeeping` | HOUSEKEEPING | +| `InternetGuestRoom` | INTERNET_GUEST_ROOM | +| `InternetMeetingRoom` | INTERNET_MEETING_ROOM | +| `Labor` | LABOR | +| `Lighting` | LIGHTING | +| `LocalTransportation` | LOCAL_TRANSPORTATION | +| `LunchBoxed` | LUNCH_BOXED | +| `LunchBuffet` | LUNCH_BUFFET | +| `LunchPlated` | LUNCH_PLATED | +| `MeetingRoomsTotal` | MEETING_ROOMS_TOTAL | +| `None` | NONE | +| `Office` | OFFICE | +| `OtherFb` | OTHER_FB | +| `OtherMisc` | OTHER_MISC | +| `OtherRental` | OTHER_RENTAL | +| `OtherTransportation` | OTHER_TRANSPORTATION | +| `ParkingFeeSelf` | PARKING_FEE_SELF | +| `ParkingFeeValet` | PARKING_FEE_VALET | +| `PowerDrop` | POWER_DROP | +| `ReceptionBeverage` | RECEPTION_BEVERAGE | +| `ReceptionFood` | RECEPTION_FOOD | +| `ReceptionHeavyHorsDOeuvres` | RECEPTION_HEAVY_HORS_D_OEUVRES | +| `ReceptionLightAppetizers` | RECEPTION_LIGHT_APPETIZERS | +| `ResortFee` | RESORT_FEE | +| `RoomDrop` | ROOM_DROP | +| `ServiceCharges` | SERVICE_CHARGES | +| `Setup` | SETUP | +| `ShippingReceiving` | SHIPPING_RECEIVING | +| `GuestRooms` | GUEST_ROOMS | +| `Storage` | STORAGE | +| `Teardown` | TEARDOWN | +| `TotalFbMinimum` | TOTAL_FB_MINIMUM | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/OfferingCostTypeJson0.md b/packages/csharp/docs/Models/Components/OfferingCostTypeJson0.md deleted file mode 100644 index bf8afeee5..000000000 --- a/packages/csharp/docs/Models/Components/OfferingCostTypeJson0.md +++ /dev/null @@ -1,79 +0,0 @@ -# OfferingCostTypeJson0 - -Cost type associated with organizing and hosting events and meetings. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = OfferingCostTypeJson0.AirportTransportation; -``` - - -## Values - -| Name | Value | -| ------------------------------ | ------------------------------ | -| `AirportTransportation` | AIRPORT_TRANSPORTATION | -| `AirConditioningHeating` | AIR_CONDITIONING_HEATING | -| `AudioPatch` | AUDIO_PATCH | -| `AvEquipment` | AV_EQUIPMENT | -| `BellmanDelivery` | BELLMAN_DELIVERY | -| `BreakfastBuffet` | BREAKFAST_BUFFET | -| `BreakfastContinental` | BREAKFAST_CONTINENTAL | -| `BreakfastPlated` | BREAKFAST_PLATED | -| `BreakoutLarge` | BREAKOUT_LARGE | -| `BreakoutMedium` | BREAKOUT_MEDIUM | -| `BreakoutSmall` | BREAKOUT_SMALL | -| `BreakoutTotal` | BREAKOUT_TOTAL | -| `BreakAm` | BREAK_AM | -| `BreakDrinksOnly` | BREAK_DRINKS_ONLY | -| `BreakPm` | BREAK_PM | -| `BreakSnacksAndDrinks` | BREAK_SNACKS_AND_DRINKS | -| `BuildingOvertime` | BUILDING_OVERTIME | -| `BusinessCenter` | BUSINESS_CENTER | -| `Cmp` | CMP | -| `ConferenceConcierge` | CONFERENCE_CONCIERGE | -| `ConferencePlanningManager` | CONFERENCE_PLANNING_MANAGER | -| `DdrFullDay` | DDR_FULL_DAY | -| `DdrHalfDay` | DDR_HALF_DAY | -| `DinnerBuffet` | DINNER_BUFFET | -| `DinnerPlated` | DINNER_PLATED | -| `ExhibitSpace` | EXHIBIT_SPACE | -| `FacilityFee` | FACILITY_FEE | -| `FitnessCenter` | FITNESS_CENTER | -| `GallonCoffee` | GALLON_COFFEE | -| `GeneralSession` | GENERAL_SESSION | -| `Housekeeping` | HOUSEKEEPING | -| `InternetGuestRoom` | INTERNET_GUEST_ROOM | -| `InternetMeetingRoom` | INTERNET_MEETING_ROOM | -| `Labor` | LABOR | -| `Lighting` | LIGHTING | -| `LocalTransportation` | LOCAL_TRANSPORTATION | -| `LunchBoxed` | LUNCH_BOXED | -| `LunchBuffet` | LUNCH_BUFFET | -| `LunchPlated` | LUNCH_PLATED | -| `MeetingRoomsTotal` | MEETING_ROOMS_TOTAL | -| `None` | NONE | -| `Office` | OFFICE | -| `OtherFb` | OTHER_FB | -| `OtherMisc` | OTHER_MISC | -| `OtherRental` | OTHER_RENTAL | -| `OtherTransportation` | OTHER_TRANSPORTATION | -| `ParkingFeeSelf` | PARKING_FEE_SELF | -| `ParkingFeeValet` | PARKING_FEE_VALET | -| `PowerDrop` | POWER_DROP | -| `ReceptionBeverage` | RECEPTION_BEVERAGE | -| `ReceptionFood` | RECEPTION_FOOD | -| `ReceptionHeavyHorsDOeuvres` | RECEPTION_HEAVY_HORS_D_OEUVRES | -| `ReceptionLightAppetizers` | RECEPTION_LIGHT_APPETIZERS | -| `ResortFee` | RESORT_FEE | -| `RoomDrop` | ROOM_DROP | -| `ServiceCharges` | SERVICE_CHARGES | -| `Setup` | SETUP | -| `ShippingReceiving` | SHIPPING_RECEIVING | -| `GuestRooms` | GUEST_ROOMS | -| `Storage` | STORAGE | -| `Teardown` | TEARDOWN | -| `TotalFbMinimum` | TOTAL_FB_MINIMUM | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/One.md b/packages/csharp/docs/Models/Components/One.md new file mode 100644 index 000000000..c75e167f0 --- /dev/null +++ b/packages/csharp/docs/Models/Components/One.md @@ -0,0 +1,14 @@ +# One + +This is used to denote the open ended date time type of custom field. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `From` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 zoned minimum date time accepted. | 2021-01-02T02:00:00Z | +| `To` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 zoned maximum date time accepted. | 2021-02-02T02:00:00Z | +| `Format` | [DateTimeDisplayFormatJson](../../Models/Components/DateTimeDisplayFormatJson.md) | :heavy_minus_sign: | This is used to denote the display format type of date time type custom field. | DateOnlyMonthFirst | +| `DefaultToCurrentDate` | *bool* | :heavy_minus_sign: | Whether it needs to be pre populated with current date. | false | +| `DisplayPopUpCalendar` | *bool* | :heavy_minus_sign: | True means that a pop-up calendar will be displayed to assist date selection on UI. | false | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/OneAllOf.md b/packages/csharp/docs/Models/Components/OneAllOf.md deleted file mode 100644 index fb2ce46dd..000000000 --- a/packages/csharp/docs/Models/Components/OneAllOf.md +++ /dev/null @@ -1,10 +0,0 @@ -# OneAllOf - -Represents a link to a related resource. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | -| `Href` | *string* | :heavy_check_mark: | A url provided that can be followed for linking | ?token=90c5f062-76ad-4ea4-aa53-00eb698d9262 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/OneOneOf.md b/packages/csharp/docs/Models/Components/OneOneOf.md deleted file mode 100644 index a7b39c2e5..000000000 --- a/packages/csharp/docs/Models/Components/OneOneOf.md +++ /dev/null @@ -1,14 +0,0 @@ -# OneOneOf - -This is used to denote the open ended date time type of custom field. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `From` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 zoned minimum date time accepted. | 2021-01-02T02:00:00Z | -| `To` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 zoned maximum date time accepted. | 2021-02-02T02:00:00Z | -| `Format` | [DateTimeDisplayFormatJson](../../Models/Components/DateTimeDisplayFormatJson.md) | :heavy_minus_sign: | This is used to denote the display format type of date time type custom field. | DateOnlyMonthFirst | -| `DefaultToCurrentDate` | *bool* | :heavy_minus_sign: | Whether it needs to be pre populated with current date. | false | -| `DisplayPopUpCalendar` | *bool* | :heavy_minus_sign: | True means that a pop-up calendar will be displayed to assist date selection on UI. | false | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/OptOutJson.md b/packages/csharp/docs/Models/Components/OptOutJson.md deleted file mode 100644 index fc846048d..000000000 --- a/packages/csharp/docs/Models/Components/OptOutJson.md +++ /dev/null @@ -1,12 +0,0 @@ -# OptOutJson - -Details of an opt-out for a Contact. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | -| `OptedOut` | *bool* | :heavy_minus_sign: | Used to denote if a contact has opted-out of receiving system generated emails. | false | -| `Date` | [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 contact was opted-out. This value can change if the contact opts out multiple times. | 2019-02-12T03:00:00Z | -| `By` | [OptoutByJson](../../Models/Components/OptoutByJson.md) | :heavy_minus_sign: | This is used to denote how a contact is opt'd out of Cvent system. | Account User | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/OptOutJsonInput.md b/packages/csharp/docs/Models/Components/OptOutJsonInput.md deleted file mode 100644 index 524aa8530..000000000 --- a/packages/csharp/docs/Models/Components/OptOutJsonInput.md +++ /dev/null @@ -1,10 +0,0 @@ -# OptOutJsonInput - -Details of an opt-out for a Contact. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | -| `OptedOut` | *bool* | :heavy_minus_sign: | Used to denote if a contact has opted-out of receiving system generated emails. | false | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/OptoutBy.md b/packages/csharp/docs/Models/Components/OptoutBy.md new file mode 100644 index 000000000..073681196 --- /dev/null +++ b/packages/csharp/docs/Models/Components/OptoutBy.md @@ -0,0 +1,29 @@ +# OptoutBy + +This is used to denote how a contact is opt'd out of Cvent system. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = OptoutBy.AbuseComplaint; +``` + + +## Values + +| Name | Value | +| --------------------------- | --------------------------- | +| `AbuseComplaint` | Abuse Complaint | +| `AccountUser` | Account User | +| `Api` | API | +| `ContactSelfOptOut` | Contact Self Opt-Out | +| `CventSupport` | Cvent Support | +| `HardBounce` | Hard Bounce | +| `Import` | Import | +| `InviteeSelfUnsubscribe` | Invitee Self Unsubscribe | +| `MultipleBounce` | Multiple Bounce | +| `RespondentSelfUnsubscribe` | Respondent Self Unsubscribe | +| `TemporaryBlock` | Temporary Block | +| `CventSalesforceApp` | Cvent Salesforce App | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/OrderDetail.md b/packages/csharp/docs/Models/Components/OrderDetail.md index e0bdec414..fe1d7f0b5 100644 --- a/packages/csharp/docs/Models/Components/OrderDetail.md +++ b/packages/csharp/docs/Models/Components/OrderDetail.md @@ -13,7 +13,7 @@ This is used to denote the details of the order made by an attendee. | `LastModifiedBy` | *string* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | | `Id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `Event` | [Event2](../../Models/Components/Event2.md) | :heavy_minus_sign: | The reference to the event. Contains only the ID of the event. | | -| `Attendee` | [Attendee2](../../Models/Components/Attendee2.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | +| `Attendee` | [Attendee](../../Models/Components/Attendee.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | | `Number` | *string* | :heavy_minus_sign: | Order number for this order | PZNK2PKZH4N | | `Cancelled` | *bool* | :heavy_minus_sign: | This denotes if an order is cancelled or not. | false | | `Type` | [OrderType](../../Models/Components/OrderType.md) | :heavy_minus_sign: | This is used to denote the type of order made by an attendee. | Online Refund | diff --git a/packages/csharp/docs/Models/Components/OrderItemResponse.md b/packages/csharp/docs/Models/Components/OrderItemResponse.md index fc97544e1..76ad0ea8a 100644 --- a/packages/csharp/docs/Models/Components/OrderItemResponse.md +++ b/packages/csharp/docs/Models/Components/OrderItemResponse.md @@ -14,7 +14,7 @@ This is used to denote an item in the order | `Id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `Order` | [OrderRef](../../Models/Components/OrderRef.md) | :heavy_minus_sign: | Represents an order by its ID and includes the order type. | | | `Event` | [Event2](../../Models/Components/Event2.md) | :heavy_minus_sign: | The reference to the event. Contains only the ID of the event. | | -| `Attendee` | [Attendee2](../../Models/Components/Attendee2.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | +| `Attendee` | [Attendee](../../Models/Components/Attendee.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | | `Guest` | *bool* | :heavy_minus_sign: | Indicates if an attendee is a guest | true | | `GuestDetail` | [Guest](../../Models/Components/Guest.md) | :heavy_minus_sign: | The reference to the guest. Contains only the ID of the guest. | | | `Product` | [ProductOrderItem](../../Models/Components/ProductOrderItem.md) | :heavy_minus_sign: | This is used to denote the product details in an order item | | diff --git a/packages/csharp/docs/Models/Components/Organization.md b/packages/csharp/docs/Models/Components/Organization.md new file mode 100644 index 000000000..decf97884 --- /dev/null +++ b/packages/csharp/docs/Models/Components/Organization.md @@ -0,0 +1,10 @@ +# Organization + +Organization details. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | Unique identifier for the organization. | 50dc08af-24a9-4d01-84be-3d43133dc945 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/OrganizationJson.md b/packages/csharp/docs/Models/Components/OrganizationJson.md deleted file mode 100644 index c3b2ae061..000000000 --- a/packages/csharp/docs/Models/Components/OrganizationJson.md +++ /dev/null @@ -1,10 +0,0 @@ -# OrganizationJson - -Organization details. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | Unique identifier for the organization. | 50dc08af-24a9-4d01-84be-3d43133dc945 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/OrganizationType1.md b/packages/csharp/docs/Models/Components/OrganizationType1.md new file mode 100644 index 000000000..d548a5c47 --- /dev/null +++ b/packages/csharp/docs/Models/Components/OrganizationType1.md @@ -0,0 +1,26 @@ +# OrganizationType1 + +Organization type. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = OrganizationType1.Corporate; +``` + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `Corporate` | CORPORATE | +| `Association` | ASSOCIATION | +| `Education` | EDUCATION | +| `Government` | GOVERNMENT | +| `SocialLeisure` | SOCIAL_LEISURE | +| `Religious` | RELIGIOUS | +| `Military` | MILITARY | +| `Other` | OTHER | +| `NonProfit` | NON_PROFIT | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/OrganizationTypeJson0.md b/packages/csharp/docs/Models/Components/OrganizationTypeJson0.md deleted file mode 100644 index 18c597dc9..000000000 --- a/packages/csharp/docs/Models/Components/OrganizationTypeJson0.md +++ /dev/null @@ -1,26 +0,0 @@ -# OrganizationTypeJson0 - -Organization type. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = OrganizationTypeJson0.Corporate; -``` - - -## Values - -| Name | Value | -| --------------- | --------------- | -| `Corporate` | CORPORATE | -| `Association` | ASSOCIATION | -| `Education` | EDUCATION | -| `Government` | GOVERNMENT | -| `SocialLeisure` | SOCIAL_LEISURE | -| `Religious` | RELIGIOUS | -| `Military` | MILITARY | -| `Other` | OTHER | -| `NonProfit` | NON_PROFIT | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/PackagePricingPreference.md b/packages/csharp/docs/Models/Components/PackagePricingPreference.md new file mode 100644 index 000000000..e32146713 --- /dev/null +++ b/packages/csharp/docs/Models/Components/PackagePricingPreference.md @@ -0,0 +1,20 @@ +# PackagePricingPreference + +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. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = PackagePricingPreference.NoPreference; +``` + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `NoPreference` | NO_PREFERENCE | +| `Optional` | OPTIONAL | +| `Required` | REQUIRED | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/PackagePricingPreferenceJson.md b/packages/csharp/docs/Models/Components/PackagePricingPreferenceJson.md deleted file mode 100644 index 63d7e9060..000000000 --- a/packages/csharp/docs/Models/Components/PackagePricingPreferenceJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# PackagePricingPreferenceJson - -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. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = PackagePricingPreferenceJson.NoPreference; -``` - - -## Values - -| Name | Value | -| -------------- | -------------- | -| `NoPreference` | NO_PREFERENCE | -| `Optional` | OPTIONAL | -| `Required` | REQUIRED | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/PaginatedInternalDocuments.md b/packages/csharp/docs/Models/Components/PaginatedInternalDocuments.md index 62e9a049b..e7008f1c6 100644 --- a/packages/csharp/docs/Models/Components/PaginatedInternalDocuments.md +++ b/packages/csharp/docs/Models/Components/PaginatedInternalDocuments.md @@ -5,7 +5,7 @@ Paginated list of internal documents attached to an RFP. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `Data` | List<[RfpInternalDocumentJson0](../../Models/Components/RfpInternalDocumentJson0.md)> | :heavy_minus_sign: | List of internal documents linked to an RFP. | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `Data` | List<[RfpInternalDocument](../../Models/Components/RfpInternalDocument.md)> | :heavy_minus_sign: | List of internal documents linked to an RFP. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/PaginatedRfpAgendaItems.md b/packages/csharp/docs/Models/Components/PaginatedRfpAgendaItems.md index 3408ee2ee..b6773bc53 100644 --- a/packages/csharp/docs/Models/Components/PaginatedRfpAgendaItems.md +++ b/packages/csharp/docs/Models/Components/PaginatedRfpAgendaItems.md @@ -5,7 +5,7 @@ Paginated list of agenda items associated with an RFP. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `Data` | List<[RfpAgendaItemJson](../../Models/Components/RfpAgendaItemJson.md)> | :heavy_minus_sign: | List of agenda items associated with an RFP. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `Data` | List<[RfpAgendaItem](../../Models/Components/RfpAgendaItem.md)> | :heavy_minus_sign: | List of agenda items associated with an RFP. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/PaginatedRfpAgendaItemsSchedule.md b/packages/csharp/docs/Models/Components/PaginatedRfpAgendaItemsSchedule.md index bd40787b5..d54890348 100644 --- a/packages/csharp/docs/Models/Components/PaginatedRfpAgendaItemsSchedule.md +++ b/packages/csharp/docs/Models/Components/PaginatedRfpAgendaItemsSchedule.md @@ -5,7 +5,7 @@ Paginated list of agenda items schedule attached to an RFP. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `Data` | List<[RfpAgendaItemScheduleWithIdJson](../../Models/Components/RfpAgendaItemScheduleWithIdJson.md)> | :heavy_minus_sign: | List of agenda items schedule attached to an RFP. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `Data` | List<[RfpAgendaItemScheduleWithId](../../Models/Components/RfpAgendaItemScheduleWithId.md)> | :heavy_minus_sign: | List of agenda items schedule attached to an RFP. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/PaginatedRfpAttachments.md b/packages/csharp/docs/Models/Components/PaginatedRfpAttachments.md index d568ec0f1..60448ce93 100644 --- a/packages/csharp/docs/Models/Components/PaginatedRfpAttachments.md +++ b/packages/csharp/docs/Models/Components/PaginatedRfpAttachments.md @@ -5,7 +5,7 @@ Paginated list of RFP attachments. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `Data` | List<[RfpAttachmentJson](../../Models/Components/RfpAttachmentJson.md)> | :heavy_check_mark: | List of attachments added on an RFP. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `Data` | List<[RfpAttachment](../../Models/Components/RfpAttachment.md)> | :heavy_check_mark: | List of attachments added on an RFP. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/PaginatedRfpCustomField.md b/packages/csharp/docs/Models/Components/PaginatedRfpCustomField.md index e8de8ae50..0adbf199b 100644 --- a/packages/csharp/docs/Models/Components/PaginatedRfpCustomField.md +++ b/packages/csharp/docs/Models/Components/PaginatedRfpCustomField.md @@ -7,5 +7,5 @@ Paginated list of RFP custom fields associated to a RFP. | Field | Type | Required | Description | | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `Data` | List<[RfpCustomFieldJson](../../Models/Components/RfpCustomFieldJson.md)> | :heavy_minus_sign: | List of RFP custom fields linked to an RFP. | \ No newline at end of file +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `Data` | List<[CustomFieldAnswers](../../Models/Components/CustomFieldAnswers.md)> | :heavy_minus_sign: | List of RFP custom fields linked to an RFP. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/PaginatedRfpQuestions.md b/packages/csharp/docs/Models/Components/PaginatedRfpQuestions.md index dbcab875a..e543c93ad 100644 --- a/packages/csharp/docs/Models/Components/PaginatedRfpQuestions.md +++ b/packages/csharp/docs/Models/Components/PaginatedRfpQuestions.md @@ -5,7 +5,7 @@ Paginated response containing questions associated to an RFP. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `Data` | List<[RfpQuestionJson](../../Models/Components/RfpQuestionJson.md)> | :heavy_minus_sign: | List of questions associated to an RFP. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `Data` | List<[RfpQuestion](../../Models/Components/RfpQuestion.md)> | :heavy_minus_sign: | List of questions associated to an RFP. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/PaginatedRfpRecipientsHistory.md b/packages/csharp/docs/Models/Components/PaginatedRfpRecipientsHistory.md index 275af0847..f04c54c0f 100644 --- a/packages/csharp/docs/Models/Components/PaginatedRfpRecipientsHistory.md +++ b/packages/csharp/docs/Models/Components/PaginatedRfpRecipientsHistory.md @@ -5,7 +5,7 @@ Paginated response containing logs of all the recipients that were copied on an ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `Data` | List<[RfpRecipientLogEntryJson](../../Models/Components/RfpRecipientLogEntryJson.md)> | :heavy_check_mark: | List of RFP recipient logs. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `Data` | List<[RfpRecipientLogEntry](../../Models/Components/RfpRecipientLogEntry.md)> | :heavy_check_mark: | List of RFP recipient logs. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/PaginatedRfpSuppliers.md b/packages/csharp/docs/Models/Components/PaginatedRfpSuppliers.md index 4a6aeb13b..98ed6a267 100644 --- a/packages/csharp/docs/Models/Components/PaginatedRfpSuppliers.md +++ b/packages/csharp/docs/Models/Components/PaginatedRfpSuppliers.md @@ -5,7 +5,7 @@ Paginated response containing suppliers associated with an RFP. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `Data` | List<[RfpSupplierJson](../../Models/Components/RfpSupplierJson.md)> | :heavy_check_mark: | List of RFP suppliers. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `Data` | List<[RfpSupplier](../../Models/Components/RfpSupplier.md)> | :heavy_check_mark: | List of RFP suppliers. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/PagingJson19.md b/packages/csharp/docs/Models/Components/PagingJson19.md deleted file mode 100644 index 26c01289d..000000000 --- a/packages/csharp/docs/Models/Components/PagingJson19.md +++ /dev/null @@ -1,14 +0,0 @@ -# PagingJson19 - -Represents pagination information for a collection of resources. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `NextToken` | *string* | :heavy_minus_sign: | The pagination token for the next page; if available. You can use this to determine if there is additional data to fetch | 3b2359a7-4583-40ed-8afd-67e5f15373d3 | -| `CurrentToken` | *string* | :heavy_minus_sign: | The pagination token for the current page | 90c5f062-76ad-4ea4-aa53-00eb698d9262 | -| `Limit` | *long* | :heavy_minus_sign: | The number of records to return on the page not to exceed 200 | 100 | -| `TotalCount` | *long* | :heavy_minus_sign: | The total number of records available | 2 | -| `Links` | [PaginationLinksJson](../../Models/Components/PaginationLinksJson.md) | :heavy_check_mark: | Represents pagination links for navigating between pages of data. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/PagingJson2.md b/packages/csharp/docs/Models/Components/PagingJson2.md new file mode 100644 index 000000000..8d3bc1b87 --- /dev/null +++ b/packages/csharp/docs/Models/Components/PagingJson2.md @@ -0,0 +1,14 @@ +# PagingJson2 + +Represents pagination information for a collection of resources. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `NextToken` | *string* | :heavy_minus_sign: | The pagination token for the next page; if available. You can use this to determine if there is additional data to fetch | 3b2359a7-4583-40ed-8afd-67e5f15373d3 | +| `CurrentToken` | *string* | :heavy_minus_sign: | The pagination token for the current page | 90c5f062-76ad-4ea4-aa53-00eb698d9262 | +| `Limit` | *long* | :heavy_minus_sign: | The number of records to return on the page not to exceed 200 | 100 | +| `TotalCount` | *long* | :heavy_minus_sign: | The total number of records available | 2 | +| `Links` | [PaginationLinksJson](../../Models/Components/PaginationLinksJson.md) | :heavy_check_mark: | Represents pagination links for navigating between pages of data. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/PagingNoTotalCountJson.md b/packages/csharp/docs/Models/Components/PagingNoTotalCountJson.md new file mode 100644 index 000000000..d07bbb15f --- /dev/null +++ b/packages/csharp/docs/Models/Components/PagingNoTotalCountJson.md @@ -0,0 +1,14 @@ +# PagingNoTotalCountJson + +Represents pagination information for a collection of resources. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `PreviousToken` | *string* | :heavy_minus_sign: | The pagination token for the previous page, if one exists. You can use this token to navigate to the previous page of data. | 1a2b3c4d5e6f7g8h9i10j11k | +| `NextToken` | *string* | :heavy_minus_sign: | The pagination token for the next page. If this value is present in the response, there is another page of data you can fetch. | 1a2b3c4d5e6f7g8h9i10j11k | +| `CurrentToken` | *string* | :heavy_minus_sign: | The pagination token for the current page. | 1a2b3c4d5e6f7g8h9i10j11k | +| `Limit` | *long* | :heavy_minus_sign: | The number of records to return on the page. Not to exceed 200. | 100 | +| `Links` | [PaginationLinksJson](../../Models/Components/PaginationLinksJson.md) | :heavy_check_mark: | Represents pagination links for navigating between pages of data. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/PagingNoTotalCountJson2.md b/packages/csharp/docs/Models/Components/PagingNoTotalCountJson2.md deleted file mode 100644 index 13d69dc46..000000000 --- a/packages/csharp/docs/Models/Components/PagingNoTotalCountJson2.md +++ /dev/null @@ -1,14 +0,0 @@ -# PagingNoTotalCountJson2 - -Represents pagination information for a collection of resources. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `PreviousToken` | *string* | :heavy_minus_sign: | The pagination token for the previous page, if one exists. You can use this token to navigate to the previous page of data. | 1a2b3c4d5e6f7g8h9i10j11k | -| `NextToken` | *string* | :heavy_minus_sign: | The pagination token for the next page. If this value is present in the response, there is another page of data you can fetch. | 1a2b3c4d5e6f7g8h9i10j11k | -| `CurrentToken` | *string* | :heavy_minus_sign: | The pagination token for the current page. | 1a2b3c4d5e6f7g8h9i10j11k | -| `Limit` | *long* | :heavy_minus_sign: | The number of records to return on the page. Not to exceed 200. | 100 | -| `Links` | [PaginationLinksJson](../../Models/Components/PaginationLinksJson.md) | :heavy_check_mark: | Represents pagination links for navigating between pages of data. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Passport.md b/packages/csharp/docs/Models/Components/Passport.md new file mode 100644 index 000000000..41050c1cf --- /dev/null +++ b/packages/csharp/docs/Models/Components/Passport.md @@ -0,0 +1,12 @@ +# Passport + +This entity represents a contact's passport information. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Number` | *string* | :heavy_minus_sign: | The passport number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123456789 | +| `Country` | *string* | :heavy_minus_sign: | The passport country of the contact. | United Kingdom | +| `CountryCode` | *string* | :heavy_minus_sign: | The passport country code of the contact. | GB | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/PassportInput.md b/packages/csharp/docs/Models/Components/PassportInput.md new file mode 100644 index 000000000..a7f0beedd --- /dev/null +++ b/packages/csharp/docs/Models/Components/PassportInput.md @@ -0,0 +1,11 @@ +# PassportInput + +This entity represents a contact's passport information. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Number` | *string* | :heavy_minus_sign: | The passport number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123456789 | +| `CountryCode` | *string* | :heavy_minus_sign: | The passport country code of the contact. | GB | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/PassportJson.md b/packages/csharp/docs/Models/Components/PassportJson.md deleted file mode 100644 index f053841ae..000000000 --- a/packages/csharp/docs/Models/Components/PassportJson.md +++ /dev/null @@ -1,12 +0,0 @@ -# PassportJson - -This entity represents a contact's passport information. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Number` | *string* | :heavy_minus_sign: | The passport number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123456789 | -| `Country` | *string* | :heavy_minus_sign: | The passport country of the contact. | United Kingdom | -| `CountryCode` | *string* | :heavy_minus_sign: | The passport country code of the contact. | GB | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/PassportJsonInput.md b/packages/csharp/docs/Models/Components/PassportJsonInput.md deleted file mode 100644 index 04cc6ffc0..000000000 --- a/packages/csharp/docs/Models/Components/PassportJsonInput.md +++ /dev/null @@ -1,11 +0,0 @@ -# PassportJsonInput - -This entity represents a contact's passport information. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Number` | *string* | :heavy_minus_sign: | The passport number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123456789 | -| `CountryCode` | *string* | :heavy_minus_sign: | The passport country code of the contact. | GB | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/PaymentInfoJson.md b/packages/csharp/docs/Models/Components/PaymentInfoJson.md index 7e9c2c4c0..4838c4b9b 100644 --- a/packages/csharp/docs/Models/Components/PaymentInfoJson.md +++ b/packages/csharp/docs/Models/Components/PaymentInfoJson.md @@ -9,6 +9,6 @@ Payment information. | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | | `PaymentType` | [PaymentTypesJson](../../Models/Components/PaymentTypesJson.md) | :heavy_minus_sign: | Payment type. | | | `FullName` | *string* | :heavy_minus_sign: | Full name. | Gustav Schultz | -| `Address` | [AddressJson2](../../Models/Components/AddressJson2.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | +| `Address` | [AddressJson](../../Models/Components/AddressJson.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | | `Phone` | *string* | :heavy_minus_sign: | Phone number. | (231)213-1222 | | `Other` | [OtherPaymentJson](../../Models/Components/OtherPaymentJson.md) | :heavy_minus_sign: | Other payment details. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/PlannerJson2.md b/packages/csharp/docs/Models/Components/PlannerJson2.md index 9e8ec960c..4f269977d 100644 --- a/packages/csharp/docs/Models/Components/PlannerJson2.md +++ b/packages/csharp/docs/Models/Components/PlannerJson2.md @@ -31,7 +31,7 @@ Represents the planner of an event. | ~~`WorkAddress`~~ | [PlannerJson2WorkAddressAddress](../../Models/Components/PlannerJson2WorkAddressAddress.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | | | ~~`WorkPhone`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Work phone number. | 555-555-5555 | | ~~`WorkFax`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Work fax number. | 555-555-5555 | -| ~~`CustomFields`~~ | List<[CustomFieldJson3](../../Models/Components/CustomFieldJson3.md)> | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Collection of custom fields. | | +| ~~`CustomFields`~~ | List<[CustomFieldJson2](../../Models/Components/CustomFieldJson2.md)> | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Collection of custom fields. | | | ~~`SourceId`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This is an ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. | system-a-00000000-0000-0000-0000-000000000000 | | ~~`MobilePhone`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Mobile phone number. | 555-555-5555 | | ~~`Created`~~ | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The ISO 8601 zoned date time when this record was created. | 2023-12-31T15:00:00Z | diff --git a/packages/csharp/docs/Models/Components/PolicyValueType.md b/packages/csharp/docs/Models/Components/PolicyValueType.md new file mode 100644 index 000000000..169e5dfaa --- /dev/null +++ b/packages/csharp/docs/Models/Components/PolicyValueType.md @@ -0,0 +1,24 @@ +# PolicyValueType + +Value type of the policy + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = PolicyValueType.SelectionList; +``` + + +## Values + +| Name | Value | +| ---------------- | ---------------- | +| `SelectionList` | selection_list | +| `Integer` | integer | +| `Money` | money | +| `Percent` | percent | +| `MultiSelect` | multi_select | +| `TextMultiLine` | text_multi_line | +| `PercentOrMoney` | percent_or_money | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/PolicyValueTypeJson.md b/packages/csharp/docs/Models/Components/PolicyValueTypeJson.md deleted file mode 100644 index 96ec822a4..000000000 --- a/packages/csharp/docs/Models/Components/PolicyValueTypeJson.md +++ /dev/null @@ -1,24 +0,0 @@ -# PolicyValueTypeJson - -Value type of the policy - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = PolicyValueTypeJson.SelectionList; -``` - - -## Values - -| Name | Value | -| ---------------- | ---------------- | -| `SelectionList` | selection_list | -| `Integer` | integer | -| `Money` | money | -| `Percent` | percent | -| `MultiSelect` | multi_select | -| `TextMultiLine` | text_multi_line | -| `PercentOrMoney` | percent_or_money | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ProgramItemLite.md b/packages/csharp/docs/Models/Components/ProgramItemLite.md new file mode 100644 index 000000000..be1bddedb --- /dev/null +++ b/packages/csharp/docs/Models/Components/ProgramItemLite.md @@ -0,0 +1,10 @@ +# ProgramItemLite + +The unique identifier of a program item. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | The unique identifier for a program item. | 221984b2-9e3e-4c1c-8ef4-306b1b75fa3e | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ProgramItemLiteJson.md b/packages/csharp/docs/Models/Components/ProgramItemLiteJson.md deleted file mode 100644 index 28cb13be1..000000000 --- a/packages/csharp/docs/Models/Components/ProgramItemLiteJson.md +++ /dev/null @@ -1,10 +0,0 @@ -# ProgramItemLiteJson - -The unique identifier of a program item. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | The unique identifier for a program item. | 221984b2-9e3e-4c1c-8ef4-306b1b75fa3e | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ProgramItemSpeakerPaginatedResponse.md b/packages/csharp/docs/Models/Components/ProgramItemSpeakerPaginatedResponse.md index 5bf39547a..8c3c50e40 100644 --- a/packages/csharp/docs/Models/Components/ProgramItemSpeakerPaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/ProgramItemSpeakerPaginatedResponse.md @@ -7,5 +7,5 @@ The response from a request to get the list of program item speakers. | Field | Type | Required | Description | | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | | `Data` | List<[SpeakerProgramItem](../../Models/Components/SpeakerProgramItem.md)> | :heavy_check_mark: | Collection of program item speakers. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Property.md b/packages/csharp/docs/Models/Components/Property.md index f1b6e7fb8..c71e3b7cf 100644 --- a/packages/csharp/docs/Models/Components/Property.md +++ b/packages/csharp/docs/Models/Components/Property.md @@ -18,5 +18,5 @@ Details of the property | `Code` | *string* | :heavy_minus_sign: | The property code for the property. | GH101 | | `Deleted` | *bool* | :heavy_minus_sign: | True indicates that the property is deleted. | false | | `CurrencyCode` | *string* | :heavy_minus_sign: | The ISO 4217 standard format currency code specified for the property. | USD | -| `Address` | [AddressJson3](../../Models/Components/AddressJson3.md) | :heavy_minus_sign: | A physical address. | | +| `Address` | [AddressJson1](../../Models/Components/AddressJson1.md) | :heavy_minus_sign: | A physical address. | | | `ExternalCodes` | List<[PropertyExternalCodeJson](../../Models/Components/PropertyExternalCodeJson.md)> | :heavy_minus_sign: | Collection of external codes for a property. This includes GDS nd other codes used to identify a property in external systems. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/PropertyRoom.md b/packages/csharp/docs/Models/Components/PropertyRoom.md index c96717936..ccab8a83c 100644 --- a/packages/csharp/docs/Models/Components/PropertyRoom.md +++ b/packages/csharp/docs/Models/Components/PropertyRoom.md @@ -16,7 +16,7 @@ Property room details. | `Code` | *string* | :heavy_minus_sign: | Room code of the property room. | std | | `Property` | [PropertyRoomProperty](../../Models/Components/PropertyRoomProperty.md) | :heavy_minus_sign: | The property that the room belongs to. | | | `Deleted` | *bool* | :heavy_minus_sign: | True indicates the property room is deleted. | false | -| `BedTypeCode` | [RoomBedTypeJson1](../../Models/Components/RoomBedTypeJson1.md) | :heavy_minus_sign: | Code representing the bed type. | queen | +| `BedTypeCode` | [RoomBedTypeJson](../../Models/Components/RoomBedTypeJson.md) | :heavy_minus_sign: | Code representing the bed type. | queen | | `NumberOfBeds` | *long* | :heavy_minus_sign: | The number of beds in the room. | 2 | | `Capacity` | *long* | :heavy_minus_sign: | Maximum capacity of people that can sleep in the room. | 6 | | `Description` | *string* | :heavy_minus_sign: | A description of the room. | A standard room with two queen beds. | diff --git a/packages/csharp/docs/Models/Components/ProposalDateJson.md b/packages/csharp/docs/Models/Components/ProposalDateJson.md index 8ca8a7ecd..d418d9f58 100644 --- a/packages/csharp/docs/Models/Components/ProposalDateJson.md +++ b/packages/csharp/docs/Models/Components/ProposalDateJson.md @@ -7,6 +7,6 @@ The proposal date. | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `DateType` | [DateTypeJson1](../../Models/Components/DateTypeJson1.md) | :heavy_minus_sign: | The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). | | +| `DateType` | [DateTypeJson](../../Models/Components/DateTypeJson.md) | :heavy_minus_sign: | The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). | | | `StartDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The start date of the event. | 2021-01-13 | | `EndDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The end date of the event. | 2021-01-13 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ProposalRequest.md b/packages/csharp/docs/Models/Components/ProposalRequest.md index bd5480d8d..cd0922aad 100644 --- a/packages/csharp/docs/Models/Components/ProposalRequest.md +++ b/packages/csharp/docs/Models/Components/ProposalRequest.md @@ -15,7 +15,7 @@ Schema for proposal request. | `StatusSummary` | [StatusSummaryJson](../../Models/Components/StatusSummaryJson.md) | :heavy_minus_sign: | Represents a summary of status associated with this proposal. | | | `Introduction` | *string* | :heavy_minus_sign: | Introduction text for the proposal. | Let us design the day of your dreams at our property. | | ~~`BillingContractualResponse`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Details about concessions or contractual requirements from the supplier. DEPRECATED - This field is deprecated. Only applied to proposal made from vendor marketplace, a sunset product. | All invoices must be paid in 30 days. | -| `CurrencyCode` | [CurrencyJson1](../../Models/Components/CurrencyJson1.md) | :heavy_minus_sign: | The ISO 4217 standard format currency code used for RFPs. | | +| `CurrencyCode` | [CurrencyJson2](../../Models/Components/CurrencyJson2.md) | :heavy_minus_sign: | The ISO 4217 standard format currency code used for RFPs. | | | `CommissionableBid` | *bool* | :heavy_minus_sign: | True indicates this is a commissionable bid. | true | | `CommissionRate` | *double* | :heavy_minus_sign: | The proposal's commission rate. | 10.12 | | `Name` | *string* | :heavy_minus_sign: | Name of the proposal. | Proposal for Royal Bank of Spain. | @@ -25,6 +25,6 @@ Schema for proposal request. | ~~`CategoryItemsCost`~~ | [CategoryItemsCostJson](../../Models/Components/CategoryItemsCostJson.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Category items cost. DEPRECATED - This field is deprecated. Only applied to proposals made by vendors, and the vendor marketplace is sunset. | | | `AggregatedCost` | [AggregatedCostJson](../../Models/Components/AggregatedCostJson.md) | :heavy_minus_sign: | The aggregated cost | | | `EstimatedCost` | [EstimatedCostJson](../../Models/Components/EstimatedCostJson.md) | :heavy_minus_sign: | The estimated cost | | -| `Contacts` | List<[ContactJson1](../../Models/Components/ContactJson1.md)> | :heavy_minus_sign: | List of all contacts. | | -| `PlannerContacts` | List<[ContactJson1](../../Models/Components/ContactJson1.md)> | :heavy_minus_sign: | List of all planner contacts. | | +| `Contacts` | List<[ContactJson](../../Models/Components/ContactJson.md)> | :heavy_minus_sign: | List of all contacts. | | +| `PlannerContacts` | List<[ContactJson](../../Models/Components/ContactJson.md)> | :heavy_minus_sign: | List of all planner contacts. | | | `MeetingRoom` | [MeetingRoomJson](../../Models/Components/MeetingRoomJson.md) | :heavy_minus_sign: | The meeting room. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ProposalResponse.md b/packages/csharp/docs/Models/Components/ProposalResponse.md index d0fe2caaf..568d35804 100644 --- a/packages/csharp/docs/Models/Components/ProposalResponse.md +++ b/packages/csharp/docs/Models/Components/ProposalResponse.md @@ -19,7 +19,7 @@ Schema for proposal. | `StatusSummary` | [StatusSummaryJson](../../Models/Components/StatusSummaryJson.md) | :heavy_minus_sign: | Represents a summary of status associated with this proposal. | | | `Introduction` | *string* | :heavy_minus_sign: | Introduction text for the proposal. | Let us design the day of your dreams at our property. | | ~~`BillingContractualResponse`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Details about concessions or contractual requirements from the supplier. DEPRECATED - This field is deprecated. Only applied to proposal made from vendor marketplace, a sunset product. | All invoices must be paid in 30 days. | -| `CurrencyCode` | [CurrencyJson1](../../Models/Components/CurrencyJson1.md) | :heavy_minus_sign: | The ISO 4217 standard format currency code used for RFPs. | | +| `CurrencyCode` | [CurrencyJson2](../../Models/Components/CurrencyJson2.md) | :heavy_minus_sign: | The ISO 4217 standard format currency code used for RFPs. | | | `CommissionableBid` | *bool* | :heavy_minus_sign: | True indicates this is a commissionable bid. | true | | `CommissionRate` | *double* | :heavy_minus_sign: | The proposal's commission rate. | 10.12 | | `Name` | *string* | :heavy_minus_sign: | Name of the proposal. | Proposal for Royal Bank of Spain. | @@ -29,8 +29,8 @@ Schema for proposal. | ~~`CategoryItemsCost`~~ | [CategoryItemsCostJson](../../Models/Components/CategoryItemsCostJson.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Category items cost. DEPRECATED - This field is deprecated. Only applied to proposals made by vendors, and the vendor marketplace is sunset. | | | `AggregatedCost` | [AggregatedCostJson](../../Models/Components/AggregatedCostJson.md) | :heavy_minus_sign: | The aggregated cost | | | `EstimatedCost` | [EstimatedCostJson](../../Models/Components/EstimatedCostJson.md) | :heavy_minus_sign: | The estimated cost | | -| `Contacts` | List<[ContactJson1](../../Models/Components/ContactJson1.md)> | :heavy_minus_sign: | List of all contacts. | | -| `PlannerContacts` | List<[ContactJson1](../../Models/Components/ContactJson1.md)> | :heavy_minus_sign: | List of all planner contacts. | | +| `Contacts` | List<[ContactJson](../../Models/Components/ContactJson.md)> | :heavy_minus_sign: | List of all contacts. | | +| `PlannerContacts` | List<[ContactJson](../../Models/Components/ContactJson.md)> | :heavy_minus_sign: | List of all planner contacts. | | | `MeetingRoom` | [MeetingRoomJson](../../Models/Components/MeetingRoomJson.md) | :heavy_minus_sign: | The meeting room. | | | `Transaction` | [TransactionJson](../../Models/Components/TransactionJson.md) | :heavy_minus_sign: | The latest transaction that took place on a given proposal | | | `Id` | *string* | :heavy_check_mark: | The unique ID of the proposal. | cf5fd2cc-3d09-11ee-be56-0242ac120002 | diff --git a/packages/csharp/docs/Models/Components/ProposalStatusType.md b/packages/csharp/docs/Models/Components/ProposalStatusType.md new file mode 100644 index 000000000..966df2e4c --- /dev/null +++ b/packages/csharp/docs/Models/Components/ProposalStatusType.md @@ -0,0 +1,30 @@ +# ProposalStatusType + +The status of the proposal + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = ProposalStatusType.ParticipationRequested; +``` + + +## Values + +| Name | Value | +| ------------------------ | ------------------------ | +| `ParticipationRequested` | participation_requested | +| `New` | new | +| `Active` | active | +| `Submitted` | submitted | +| `DeclinedParticipation` | declined_participation | +| `Verified` | verified | +| `Approved` | approved | +| `AccountAccepted` | account_accepted | +| `AccountRejected` | account_rejected | +| `InternalRejected` | internal_rejected | +| `RequestRenegotiation` | request_renegotiation | +| `DeclineRenegotiation` | decline_renegotiation | +| `Deleted` | deleted | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ProposalStatusTypeJson.md b/packages/csharp/docs/Models/Components/ProposalStatusTypeJson.md deleted file mode 100644 index 3bb777060..000000000 --- a/packages/csharp/docs/Models/Components/ProposalStatusTypeJson.md +++ /dev/null @@ -1,30 +0,0 @@ -# ProposalStatusTypeJson - -The status of the proposal - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = ProposalStatusTypeJson.ParticipationRequested; -``` - - -## Values - -| Name | Value | -| ------------------------ | ------------------------ | -| `ParticipationRequested` | participation_requested | -| `New` | new | -| `Active` | active | -| `Submitted` | submitted | -| `DeclinedParticipation` | declined_participation | -| `Verified` | verified | -| `Approved` | approved | -| `AccountAccepted` | account_accepted | -| `AccountRejected` | account_rejected | -| `InternalRejected` | internal_rejected | -| `RequestRenegotiation` | request_renegotiation | -| `DeclineRenegotiation` | decline_renegotiation | -| `Deleted` | deleted | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ProximityJson.md b/packages/csharp/docs/Models/Components/ProximityJson.md index adeb8bd6a..751d856be 100644 --- a/packages/csharp/docs/Models/Components/ProximityJson.md +++ b/packages/csharp/docs/Models/Components/ProximityJson.md @@ -5,7 +5,7 @@ Proximity of the event venue to the hotel. ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | -| `Distance` | [DistanceJson1](../../Models/Components/DistanceJson1.md) | :heavy_minus_sign: | Distance information. | | -| `MapMessage` | *string* | :heavy_minus_sign: | Message shown on map. | Your hotel is located here. | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `Distance` | [DistanceJson](../../Models/Components/DistanceJson.md) | :heavy_minus_sign: | Distance information. | | +| `MapMessage` | *string* | :heavy_minus_sign: | Message shown on map. | Your hotel is located here. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Question.md b/packages/csharp/docs/Models/Components/Question.md index 180da1cb6..498d232a7 100644 --- a/packages/csharp/docs/Models/Components/Question.md +++ b/packages/csharp/docs/Models/Components/Question.md @@ -14,7 +14,7 @@ A question, defined by the program, for the supplier to answer as part of their | `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` | [QuestionResponseTypeJson](../../Models/Components/QuestionResponseTypeJson.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` | [QuestionResponseDataTypeJson](../../Models/Components/QuestionResponseDataTypeJson.md) | :heavy_minus_sign: | Code representing the expected data type of the question response. | text | -| `ResponseFormat` | [QuestionResponseFormatJson](../../Models/Components/QuestionResponseFormatJson.md) | :heavy_minus_sign: | Code representing the format the text of the response will be in. | proper_case | +| `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/QuestionClassificationType.md b/packages/csharp/docs/Models/Components/QuestionClassificationType.md new file mode 100644 index 000000000..adca666a1 --- /dev/null +++ b/packages/csharp/docs/Models/Components/QuestionClassificationType.md @@ -0,0 +1,20 @@ +# QuestionClassificationType + +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. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = QuestionClassificationType.MeetingRoom; +``` + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `MeetingRoom` | MEETING_ROOM | +| `GuestRoom` | GUEST_ROOM | +| `AllRfps` | ALL_RFPS | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionClassificationTypeJson.md b/packages/csharp/docs/Models/Components/QuestionClassificationTypeJson.md deleted file mode 100644 index 9e71a54dd..000000000 --- a/packages/csharp/docs/Models/Components/QuestionClassificationTypeJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# QuestionClassificationTypeJson - -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. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = QuestionClassificationTypeJson.MeetingRoom; -``` - - -## Values - -| Name | Value | -| ------------- | ------------- | -| `MeetingRoom` | MEETING_ROOM | -| `GuestRoom` | GUEST_ROOM | -| `AllRfps` | ALL_RFPS | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionJson.md b/packages/csharp/docs/Models/Components/QuestionJson.md new file mode 100644 index 000000000..d0a0ceb99 --- /dev/null +++ b/packages/csharp/docs/Models/Components/QuestionJson.md @@ -0,0 +1,14 @@ +# QuestionJson + +Question details + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | The question ID. | 2385098a-ab4e-4e06-b3b7-487cad288587 | +| `Text` | *string* | :heavy_minus_sign: | The question text. | Sample question? | +| `Status` | *string* | :heavy_minus_sign: | The status of the question. | approved | +| `Anonymous` | *bool* | :heavy_minus_sign: | Whether question is asked anonymously. | true | +| `Answer` | *string* | :heavy_minus_sign: | The answer text. | Sample answer. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionJson1.md b/packages/csharp/docs/Models/Components/QuestionJson1.md index 7e436fd51..2f9e62481 100644 --- a/packages/csharp/docs/Models/Components/QuestionJson1.md +++ b/packages/csharp/docs/Models/Components/QuestionJson1.md @@ -1,14 +1,31 @@ # QuestionJson1 -Question details +A survey question. ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | The question ID. | 2385098a-ab4e-4e06-b3b7-487cad288587 | -| `Text` | *string* | :heavy_minus_sign: | The question text. | Sample question? | -| `Status` | *string* | :heavy_minus_sign: | The status of the question. | approved | -| `Anonymous` | *bool* | :heavy_minus_sign: | Whether question is asked anonymously. | true | -| `Answer` | *string* | :heavy_minus_sign: | The answer text. | Sample answer. | \ 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 | +| `Id` | *string* | :heavy_minus_sign: | Text field ID. | | +| `Text` | *string* | :heavy_minus_sign: | text Value of the Field | Field value | +| `ShortText` | *string* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | +| `HtmlText` | *string* | :heavy_minus_sign: | Html of the question | Question Html | +| `Code` | *string* | :heavy_minus_sign: | Question Code | 4l6x | +| `Type` | [QuestionTypeJson1](../../Models/Components/QuestionTypeJson1.md) | :heavy_minus_sign: | Question Type. | SingleChoice | +| `Choices` | List<[ChoiceJson1](../../Models/Components/ChoiceJson1.md)> | :heavy_minus_sign: | List of choices for the question. | | +| `Categories` | List<[CategoryJson1](../../Models/Components/CategoryJson1.md)> | :heavy_minus_sign: | List of categories for the question. | | +| `SubCategories` | List<[TextFieldJson](../../Models/Components/TextFieldJson.md)> | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions | | +| `NotApplicableAnswer` | [AdditionalChoiceJson](../../Models/Components/AdditionalChoiceJson.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | +| `OtherAnswer` | [AdditionalChoiceJson](../../Models/Components/AdditionalChoiceJson.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | +| `Comments` | *string* | :heavy_minus_sign: | Text Value of Comments Input box placeholder | Comments Text | +| `Required` | *bool* | :heavy_minus_sign: | Is this a mandatory question | true | +| `Fields` | List<[FieldJson](../../Models/Components/FieldJson.md)> | :heavy_minus_sign: | List of fields for form/matrix questions | | +| `MaxScore` | *double* | :heavy_minus_sign: | Max possible score | 20 | +| `TotalSum` | *long* | :heavy_minus_sign: | Total configured sum of all choices for number allocation question | 45 | +| `Survey` | [UuidJson](../../Models/Components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | +| `Chapter` | [UuidJson](../../Models/Components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionJson2.md b/packages/csharp/docs/Models/Components/QuestionJson2.md index 196140a1d..b415fd8ba 100644 --- a/packages/csharp/docs/Models/Components/QuestionJson2.md +++ b/packages/csharp/docs/Models/Components/QuestionJson2.md @@ -1,31 +1,12 @@ # QuestionJson2 -A survey question. +The question that was answered. ## 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 | -| `Id` | *string* | :heavy_minus_sign: | Text field ID. | | -| `Text` | *string* | :heavy_minus_sign: | text Value of the Field | Field value | -| `ShortText` | *string* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | -| `HtmlText` | *string* | :heavy_minus_sign: | Html of the question | Question Html | -| `Code` | *string* | :heavy_minus_sign: | Question Code | 4l6x | -| `Type` | [QuestionTypeJson2](../../Models/Components/QuestionTypeJson2.md) | :heavy_minus_sign: | Question Type. | SingleChoice | -| `Choices` | List<[ChoiceJson2](../../Models/Components/ChoiceJson2.md)> | :heavy_minus_sign: | List of choices for the question. | | -| `Categories` | List<[CategoryJson2](../../Models/Components/CategoryJson2.md)> | :heavy_minus_sign: | List of categories for the question. | | -| `SubCategories` | List<[TextFieldJson1](../../Models/Components/TextFieldJson1.md)> | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions | | -| `NotApplicableAnswer` | [AdditionalChoiceJson1](../../Models/Components/AdditionalChoiceJson1.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | -| `OtherAnswer` | [AdditionalChoiceJson1](../../Models/Components/AdditionalChoiceJson1.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | -| `Comments` | *string* | :heavy_minus_sign: | Text Value of Comments Input box placeholder | Comments Text | -| `Required` | *bool* | :heavy_minus_sign: | Is this a mandatory question | true | -| `Fields` | List<[FieldJson2](../../Models/Components/FieldJson2.md)> | :heavy_minus_sign: | List of fields for form/matrix questions | | -| `MaxScore` | *double* | :heavy_minus_sign: | Max possible score | 20 | -| `TotalSum` | *long* | :heavy_minus_sign: | Total configured sum of all choices for number allocation question | 45 | -| `Survey` | [UuidJson](../../Models/Components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | -| `Chapter` | [UuidJson](../../Models/Components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the question. | 861b51ec-aa7e-475f-b38d-4c8e35c47d63 | +| `Text` | *string* | :heavy_minus_sign: | Question text. | How would you rate this session? | +| `Code` | *string* | :heavy_minus_sign: | Question code. | CODE_A | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionJson3.md b/packages/csharp/docs/Models/Components/QuestionJson3.md deleted file mode 100644 index a3ad8732d..000000000 --- a/packages/csharp/docs/Models/Components/QuestionJson3.md +++ /dev/null @@ -1,12 +0,0 @@ -# QuestionJson3 - -The question that was answered. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the question. | 861b51ec-aa7e-475f-b38d-4c8e35c47d63 | -| `Text` | *string* | :heavy_minus_sign: | Question text. | How would you rate this session? | -| `Code` | *string* | :heavy_minus_sign: | Question code. | CODE_A | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionPaginatedResponse.md b/packages/csharp/docs/Models/Components/QuestionPaginatedResponse.md index 9e0cd5ee2..650510d5b 100644 --- a/packages/csharp/docs/Models/Components/QuestionPaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/QuestionPaginatedResponse.md @@ -7,5 +7,5 @@ A paginated list of Questions. | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | | `Data` | List<[Question](../../Models/Components/Question.md)> | :heavy_minus_sign: | Collection of Questions. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionResponseDataType.md b/packages/csharp/docs/Models/Components/QuestionResponseDataType.md new file mode 100644 index 000000000..83c6d6642 --- /dev/null +++ b/packages/csharp/docs/Models/Components/QuestionResponseDataType.md @@ -0,0 +1,24 @@ +# QuestionResponseDataType + +Code representing the expected data type of the question response. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = QuestionResponseDataType.Text; +``` + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `Text` | text | +| `Date` | date | +| `DateTime` | date_time | +| `Time` | time | +| `Number` | number | +| `Email` | email | +| `Boolean` | boolean | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionResponseDataTypeJson.md b/packages/csharp/docs/Models/Components/QuestionResponseDataTypeJson.md deleted file mode 100644 index fb768ebc7..000000000 --- a/packages/csharp/docs/Models/Components/QuestionResponseDataTypeJson.md +++ /dev/null @@ -1,24 +0,0 @@ -# QuestionResponseDataTypeJson - -Code representing the expected data type of the question response. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = QuestionResponseDataTypeJson.Text; -``` - - -## Values - -| Name | Value | -| ---------- | ---------- | -| `Text` | text | -| `Date` | date | -| `DateTime` | date_time | -| `Time` | time | -| `Number` | number | -| `Email` | email | -| `Boolean` | boolean | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionResponseFormat.md b/packages/csharp/docs/Models/Components/QuestionResponseFormat.md new file mode 100644 index 000000000..414b08582 --- /dev/null +++ b/packages/csharp/docs/Models/Components/QuestionResponseFormat.md @@ -0,0 +1,20 @@ +# QuestionResponseFormat + +Code representing the format the text of the response will be in. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = QuestionResponseFormat.LowerCase; +``` + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `LowerCase` | lower_case | +| `ProperCase` | proper_case | +| `UpperCase` | upper_case | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionResponseFormatJson.md b/packages/csharp/docs/Models/Components/QuestionResponseFormatJson.md deleted file mode 100644 index 77c746507..000000000 --- a/packages/csharp/docs/Models/Components/QuestionResponseFormatJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# QuestionResponseFormatJson - -Code representing the format the text of the response will be in. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = QuestionResponseFormatJson.LowerCase; -``` - - -## Values - -| Name | Value | -| ------------ | ------------ | -| `LowerCase` | lower_case | -| `ProperCase` | proper_case | -| `UpperCase` | upper_case | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionResponseJson.md b/packages/csharp/docs/Models/Components/QuestionResponseJson.md index 3fa914584..d8fb7fb30 100644 --- a/packages/csharp/docs/Models/Components/QuestionResponseJson.md +++ b/packages/csharp/docs/Models/Components/QuestionResponseJson.md @@ -7,5 +7,5 @@ A Question response. | Field | Type | Required | Description | | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `Question` | [QuestionJson3](../../Models/Components/QuestionJson3.md) | :heavy_minus_sign: | The question that was answered. | +| `Question` | [QuestionJson2](../../Models/Components/QuestionJson2.md) | :heavy_minus_sign: | The question that was answered. | | `Answers` | List<[AnswerJson1](../../Models/Components/AnswerJson1.md)> | :heavy_minus_sign: | List of answers. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionResponseType.md b/packages/csharp/docs/Models/Components/QuestionResponseType.md new file mode 100644 index 000000000..a0813ec29 --- /dev/null +++ b/packages/csharp/docs/Models/Components/QuestionResponseType.md @@ -0,0 +1,19 @@ +# QuestionResponseType + +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. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = QuestionResponseType.Single; +``` + + +## Values + +| Name | Value | +| -------- | -------- | +| `Single` | single | +| `Choice` | choice | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionResponseTypeJson.md b/packages/csharp/docs/Models/Components/QuestionResponseTypeJson.md deleted file mode 100644 index 4f645597b..000000000 --- a/packages/csharp/docs/Models/Components/QuestionResponseTypeJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# QuestionResponseTypeJson - -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. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = QuestionResponseTypeJson.Single; -``` - - -## Values - -| Name | Value | -| -------- | -------- | -| `Single` | single | -| `Choice` | choice | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionSection.md b/packages/csharp/docs/Models/Components/QuestionSection.md new file mode 100644 index 000000000..810a15682 --- /dev/null +++ b/packages/csharp/docs/Models/Components/QuestionSection.md @@ -0,0 +1,19 @@ +# QuestionSection + +Code representing the section where the question belongs. Currently, program_client (client specific) and program_g_and_m (group and meeting) are supported. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = QuestionSection.ProgramClient; +``` + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `ProgramClient` | program_client | +| `ProgramGAndM` | program_g_and_m | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionSectionJson.md b/packages/csharp/docs/Models/Components/QuestionSectionJson.md deleted file mode 100644 index 8a005fa87..000000000 --- a/packages/csharp/docs/Models/Components/QuestionSectionJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# QuestionSectionJson - -Code representing the section where the question belongs. Currently, program_client (client specific) and program_g_and_m (group and meeting) are supported. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = QuestionSectionJson.ProgramClient; -``` - - -## Values - -| Name | Value | -| --------------- | --------------- | -| `ProgramClient` | program_client | -| `ProgramGAndM` | program_g_and_m | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionType.md b/packages/csharp/docs/Models/Components/QuestionType.md new file mode 100644 index 000000000..3828b22dc --- /dev/null +++ b/packages/csharp/docs/Models/Components/QuestionType.md @@ -0,0 +1,39 @@ +# QuestionType + +The type of question. See [this article](https://support.cvent.com/s/communityarticle/Survey-Adding-Questions) for details on each enum. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = QuestionType.CommentBox; +``` + + +## Values + +| Name | Value | +| ------------------------- | ------------------------- | +| `CommentBox` | CommentBox | +| `DateTime` | DateTime | +| `FileUpload` | FileUpload | +| `Form` | Form | +| `LargeChoices` | LargeChoices | +| `MatrixMultiChoice` | MatrixMultiChoice | +| `MatrixRating` | MatrixRating | +| `MatrixSideBySide` | MatrixSideBySide | +| `MatrixSingleChoice` | MatrixSingleChoice | +| `MatrixSpreadSheet` | MatrixSpreadSheet | +| `MultiChoice` | MultiChoice | +| `NetPromoter` | NetPromoter | +| `Number` | Number | +| `NumberAllocation` | NumberAllocation | +| `OpenEndedDateTime` | OpenEndedDateTime | +| `OpenEndedNumeric` | OpenEndedNumeric | +| `OpenEndedTextCommentBox` | OpenEndedTextCommentBox | +| `OpenEndedTextOneLine` | OpenEndedTextOneLine | +| `RankOrder` | RankOrder | +| `Rating` | Rating | +| `SingleChoice` | SingleChoice | +| `Text` | Text | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionTypeJson.md b/packages/csharp/docs/Models/Components/QuestionTypeJson.md index cabd84148..20fa17c76 100644 --- a/packages/csharp/docs/Models/Components/QuestionTypeJson.md +++ b/packages/csharp/docs/Models/Components/QuestionTypeJson.md @@ -1,39 +1,36 @@ # QuestionTypeJson -The type of question. See [this article](https://support.cvent.com/s/communityarticle/Survey-Adding-Questions) for details on each enum. +Denotes the type of data collected by a question. ## Example Usage ```csharp using Cvent.SDK.Models.Components; -var value = QuestionTypeJson.CommentBox; +var value = QuestionTypeJson.AutoIncrement; ``` ## Values -| Name | Value | -| ------------------------- | ------------------------- | -| `CommentBox` | CommentBox | -| `DateTime` | DateTime | -| `FileUpload` | FileUpload | -| `Form` | Form | -| `LargeChoices` | LargeChoices | -| `MatrixMultiChoice` | MatrixMultiChoice | -| `MatrixRating` | MatrixRating | -| `MatrixSideBySide` | MatrixSideBySide | -| `MatrixSingleChoice` | MatrixSingleChoice | -| `MatrixSpreadSheet` | MatrixSpreadSheet | -| `MultiChoice` | MultiChoice | -| `NetPromoter` | NetPromoter | -| `Number` | Number | -| `NumberAllocation` | NumberAllocation | -| `OpenEndedDateTime` | OpenEndedDateTime | -| `OpenEndedNumeric` | OpenEndedNumeric | -| `OpenEndedTextCommentBox` | OpenEndedTextCommentBox | -| `OpenEndedTextOneLine` | OpenEndedTextOneLine | -| `RankOrder` | RankOrder | -| `Rating` | Rating | -| `SingleChoice` | SingleChoice | -| `Text` | Text | \ No newline at end of file +| Name | Value | +| -------------------------- | -------------------------- | +| `AutoIncrement` | AutoIncrement | +| `BudgetEstimates` | BudgetEstimates | +| `ConsentQuestion` | ConsentQuestion | +| `Country` | Country | +| `Currency` | Currency | +| `Decimal` | Decimal | +| `Date` | Date | +| `DateTime` | DateTime | +| `Email` | Email | +| `FileUpload` | FileUpload | +| `FreeText` | FreeText | +| `General` | General | +| `Number` | Number | +| `MeetingRoomRequirements` | MeetingRoomRequirements | +| `MultiSelect` | MultiSelect | +| `SingleSelect` | SingleSelect | +| `SleepingRoomRequirements` | SleepingRoomRequirements | +| `USPhoneNumber` | USPhoneNumber | +| `Unknown` | Unknown | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionTypeJson1.md b/packages/csharp/docs/Models/Components/QuestionTypeJson1.md index 81e522933..b121a4caf 100644 --- a/packages/csharp/docs/Models/Components/QuestionTypeJson1.md +++ b/packages/csharp/docs/Models/Components/QuestionTypeJson1.md @@ -1,36 +1,35 @@ # QuestionTypeJson1 -Denotes the type of data collected by a question. +Question Type. ## Example Usage ```csharp using Cvent.SDK.Models.Components; -var value = QuestionTypeJson1.AutoIncrement; +var value = QuestionTypeJson1.SingleChoice; ``` ## Values -| Name | Value | -| -------------------------- | -------------------------- | -| `AutoIncrement` | AutoIncrement | -| `BudgetEstimates` | BudgetEstimates | -| `ConsentQuestion` | ConsentQuestion | -| `Country` | Country | -| `Currency` | Currency | -| `Decimal` | Decimal | -| `Date` | Date | -| `DateTime` | DateTime | -| `Email` | Email | -| `FileUpload` | FileUpload | -| `FreeText` | FreeText | -| `General` | General | -| `Number` | Number | -| `MeetingRoomRequirements` | MeetingRoomRequirements | -| `MultiSelect` | MultiSelect | -| `SingleSelect` | SingleSelect | -| `SleepingRoomRequirements` | SleepingRoomRequirements | -| `USPhoneNumber` | USPhoneNumber | -| `Unknown` | Unknown | \ No newline at end of file +| Name | Value | +| -------------------- | -------------------- | +| `SingleChoice` | SingleChoice | +| `MultiChoice` | MultiChoice | +| `MatrixSingleChoice` | MatrixSingleChoice | +| `MatrixMultiChoice` | MatrixMultiChoice | +| `MatrixSideBySide` | MatrixSideBySide | +| `MatrixSpreadSheet` | MatrixSpreadSheet | +| `DateTime` | DateTime | +| `Number` | Number | +| `Text` | Text | +| `CommentBox` | CommentBox | +| `Form` | Form | +| `RankOrder` | RankOrder | +| `FileUpload` | FileUpload | +| `NetPromoter` | NetPromoter | +| `Rating` | Rating | +| `MatrixRating` | MatrixRating | +| `NumberAllocation` | NumberAllocation | +| `LargeChoices` | LargeChoices | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionTypeJson2.md b/packages/csharp/docs/Models/Components/QuestionTypeJson2.md index 59b2e0254..645427a88 100644 --- a/packages/csharp/docs/Models/Components/QuestionTypeJson2.md +++ b/packages/csharp/docs/Models/Components/QuestionTypeJson2.md @@ -1,6 +1,6 @@ # QuestionTypeJson2 -Question Type. +This object represents the type of a question ## Example Usage @@ -13,23 +13,14 @@ var value = QuestionTypeJson2.SingleChoice; ## Values -| Name | Value | -| -------------------- | -------------------- | -| `SingleChoice` | SingleChoice | -| `MultiChoice` | MultiChoice | -| `MatrixSingleChoice` | MatrixSingleChoice | -| `MatrixMultiChoice` | MatrixMultiChoice | -| `MatrixSideBySide` | MatrixSideBySide | -| `MatrixSpreadSheet` | MatrixSpreadSheet | -| `DateTime` | DateTime | -| `Number` | Number | -| `Text` | Text | -| `CommentBox` | CommentBox | -| `Form` | Form | -| `RankOrder` | RankOrder | -| `FileUpload` | FileUpload | -| `NetPromoter` | NetPromoter | -| `Rating` | Rating | -| `MatrixRating` | MatrixRating | -| `NumberAllocation` | NumberAllocation | -| `LargeChoices` | LargeChoices | \ No newline at end of file +| Name | Value | +| ------------------------- | ------------------------- | +| `SingleChoice` | SingleChoice | +| `MultiChoice` | MultiChoice | +| `OpenEndedDateTime` | OpenEndedDateTime | +| `OpenEndedTextOneLine` | OpenEndedTextOneLine | +| `OpenEndedTextCommentBox` | OpenEndedTextCommentBox | +| `OpenEndedNumeric` | OpenEndedNumeric | +| `FileUpload` | FileUpload | +| `MatrixSinglePerRow` | MatrixSinglePerRow | +| `MatrixMultiPerRow` | MatrixMultiPerRow | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionTypeJson3.md b/packages/csharp/docs/Models/Components/QuestionTypeJson3.md deleted file mode 100644 index 29e0b55fd..000000000 --- a/packages/csharp/docs/Models/Components/QuestionTypeJson3.md +++ /dev/null @@ -1,26 +0,0 @@ -# QuestionTypeJson3 - -This object represents the type of a question - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = QuestionTypeJson3.SingleChoice; -``` - - -## Values - -| Name | Value | -| ------------------------- | ------------------------- | -| `SingleChoice` | SingleChoice | -| `MultiChoice` | MultiChoice | -| `OpenEndedDateTime` | OpenEndedDateTime | -| `OpenEndedTextOneLine` | OpenEndedTextOneLine | -| `OpenEndedTextCommentBox` | OpenEndedTextCommentBox | -| `OpenEndedNumeric` | OpenEndedNumeric | -| `FileUpload` | FileUpload | -| `MatrixSinglePerRow` | MatrixSinglePerRow | -| `MatrixMultiPerRow` | MatrixMultiPerRow | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionWithProgramIdJson.md b/packages/csharp/docs/Models/Components/QuestionWithProgramIdJson.md deleted file mode 100644 index d4c0bc93c..000000000 --- a/packages/csharp/docs/Models/Components/QuestionWithProgramIdJson.md +++ /dev/null @@ -1,21 +0,0 @@ -# QuestionWithProgramIdJson - -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` | [QuestionWithProgramIdJsonTravelProgram](../../Models/Components/QuestionWithProgramIdJsonTravelProgram.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` | [QuestionResponseTypeJson](../../Models/Components/QuestionResponseTypeJson.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` | [QuestionResponseDataTypeJson](../../Models/Components/QuestionResponseDataTypeJson.md) | :heavy_minus_sign: | Code representing the expected data type of the question response. | text | -| `ResponseFormat` | [QuestionResponseFormatJson](../../Models/Components/QuestionResponseFormatJson.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/QuestionWithProgramIdJsonTravelProgram.md b/packages/csharp/docs/Models/Components/QuestionWithProgramIdJsonTravelProgram.md deleted file mode 100644 index 8018efea4..000000000 --- a/packages/csharp/docs/Models/Components/QuestionWithProgramIdJsonTravelProgram.md +++ /dev/null @@ -1,10 +0,0 @@ -# QuestionWithProgramIdJsonTravelProgram - -Travel program that the question belongs to. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `Id` | *string* | :heavy_minus_sign: | The unique ID of the travel program. | ddc61444-45c7-4e1d-9fdd-07713c8baf9b | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionsPaginatedResponse.md b/packages/csharp/docs/Models/Components/QuestionsPaginatedResponse.md index 66195d46c..0654985ef 100644 --- a/packages/csharp/docs/Models/Components/QuestionsPaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/QuestionsPaginatedResponse.md @@ -8,4 +8,4 @@ Response include paging and collection of questions of surveys | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | | `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `Data` | List<[QuestionJson2](../../Models/Components/QuestionJson2.md)> | :heavy_check_mark: | Collection of questions for surveys. | \ No newline at end of file +| `Data` | List<[QuestionJson1](../../Models/Components/QuestionJson1.md)> | :heavy_check_mark: | Collection of questions for surveys. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionsPaginatedResponse1.md b/packages/csharp/docs/Models/Components/QuestionsPaginatedResponse1.md index de3e3a100..ac379392f 100644 --- a/packages/csharp/docs/Models/Components/QuestionsPaginatedResponse1.md +++ b/packages/csharp/docs/Models/Components/QuestionsPaginatedResponse1.md @@ -5,7 +5,7 @@ A paginated list of Questions. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `Data` | List<[QuestionWithProgramIdJson](../../Models/Components/QuestionWithProgramIdJson.md)> | :heavy_minus_sign: | Collection of Questions. | \ No newline at end of file +| 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 diff --git a/packages/csharp/docs/Models/Components/RateLevelType.md b/packages/csharp/docs/Models/Components/RateLevelType.md new file mode 100644 index 000000000..0c4ccfdb1 --- /dev/null +++ b/packages/csharp/docs/Models/Components/RateLevelType.md @@ -0,0 +1,20 @@ +# RateLevelType + +Rate level + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = RateLevelType.Corporate; +``` + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `Corporate` | corporate | +| `Leisure` | leisure | +| `Government` | government | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RateLevelTypeJson.md b/packages/csharp/docs/Models/Components/RateLevelTypeJson.md deleted file mode 100644 index 418f8c2d1..000000000 --- a/packages/csharp/docs/Models/Components/RateLevelTypeJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# RateLevelTypeJson - -Rate level - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = RateLevelTypeJson.Corporate; -``` - - -## Values - -| Name | Value | -| ------------ | ------------ | -| `Corporate` | corporate | -| `Leisure` | leisure | -| `Government` | government | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RateReviewStatusType.md b/packages/csharp/docs/Models/Components/RateReviewStatusType.md new file mode 100644 index 000000000..10572af03 --- /dev/null +++ b/packages/csharp/docs/Models/Components/RateReviewStatusType.md @@ -0,0 +1,21 @@ +# RateReviewStatusType + +The rate review status of the proposal + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = RateReviewStatusType.Requested; +``` + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `Requested` | requested | +| `NotRequired` | not_required | +| `Approved` | approved | +| `Rejected` | rejected | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RateReviewStatusTypeJson.md b/packages/csharp/docs/Models/Components/RateReviewStatusTypeJson.md deleted file mode 100644 index 1be7a618a..000000000 --- a/packages/csharp/docs/Models/Components/RateReviewStatusTypeJson.md +++ /dev/null @@ -1,21 +0,0 @@ -# RateReviewStatusTypeJson - -The rate review status of the proposal - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = RateReviewStatusTypeJson.Requested; -``` - - -## Values - -| Name | Value | -| ------------- | ------------- | -| `Requested` | requested | -| `NotRequired` | not_required | -| `Approved` | approved | -| `Rejected` | rejected | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RateType.md b/packages/csharp/docs/Models/Components/RateType.md new file mode 100644 index 000000000..aaaffaea3 --- /dev/null +++ b/packages/csharp/docs/Models/Components/RateType.md @@ -0,0 +1,20 @@ +# RateType + +Rate type. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = RateType.Fixed; +``` + + +## Values + +| Name | Value | +| -------------------- | -------------------- | +| `Fixed` | fixed | +| `Dynamic` | dynamic | +| `Dynamicwithceiling` | dynamicwithceiling | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RateTypeJson.md b/packages/csharp/docs/Models/Components/RateTypeJson.md deleted file mode 100644 index 6d659150e..000000000 --- a/packages/csharp/docs/Models/Components/RateTypeJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# RateTypeJson - -Rate type. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = RateTypeJson.Fixed; -``` - - -## Values - -| Name | Value | -| -------------------- | -------------------- | -| `Fixed` | fixed | -| `Dynamic` | dynamic | -| `Dynamicwithceiling` | dynamicwithceiling | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RebateType.md b/packages/csharp/docs/Models/Components/RebateType.md new file mode 100644 index 000000000..6ea9f2c33 --- /dev/null +++ b/packages/csharp/docs/Models/Components/RebateType.md @@ -0,0 +1,19 @@ +# RebateType + +Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will represent a percentage. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = RebateType.ByAmount; +``` + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `ByAmount` | BY_AMOUNT | +| `ByPercentage` | BY_PERCENTAGE | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RebateTypeJson.md b/packages/csharp/docs/Models/Components/RebateTypeJson.md deleted file mode 100644 index ee051b542..000000000 --- a/packages/csharp/docs/Models/Components/RebateTypeJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# RebateTypeJson - -Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will represent a percentage. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = RebateTypeJson.ByAmount; -``` - - -## Values - -| Name | Value | -| -------------- | -------------- | -| `ByAmount` | BY_AMOUNT | -| `ByPercentage` | BY_PERCENTAGE | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RecipientInfo.md b/packages/csharp/docs/Models/Components/RecipientInfo.md new file mode 100644 index 000000000..9da0895b7 --- /dev/null +++ b/packages/csharp/docs/Models/Components/RecipientInfo.md @@ -0,0 +1,12 @@ +# RecipientInfo + +Represents the details of the RFP recipient. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Order` | *long* | :heavy_minus_sign: | The position at which this recipient will be displayed. | 2 | +| `Type` | [RecipientType](../../Models/Components/RecipientType.md) | :heavy_minus_sign: | Type of Recipient | | +| `Value` | *string* | :heavy_minus_sign: | If the recipient is ACCOUNT_USER or ACCOUNT_USER_GROUP, this field holds their unique ID. If the recipient is EMAIL, this field holds the email provided by the user. | janeDoe@example.com | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RecipientInfoJson0.md b/packages/csharp/docs/Models/Components/RecipientInfoJson0.md deleted file mode 100644 index 6b3ca16f3..000000000 --- a/packages/csharp/docs/Models/Components/RecipientInfoJson0.md +++ /dev/null @@ -1,12 +0,0 @@ -# RecipientInfoJson0 - -Represents the details of the RFP recipient. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Order` | *long* | :heavy_minus_sign: | The position at which this recipient will be displayed. | 2 | -| `Type` | [RecipientTypeJson0](../../Models/Components/RecipientTypeJson0.md) | :heavy_minus_sign: | Type of Recipient | | -| `Value` | *string* | :heavy_minus_sign: | If the recipient is ACCOUNT_USER or ACCOUNT_USER_GROUP, this field holds their unique ID. If the recipient is EMAIL, this field holds the email provided by the user. | janeDoe@example.com | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RecipientType.md b/packages/csharp/docs/Models/Components/RecipientType.md new file mode 100644 index 000000000..30b050427 --- /dev/null +++ b/packages/csharp/docs/Models/Components/RecipientType.md @@ -0,0 +1,20 @@ +# RecipientType + +Type of Recipient + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = RecipientType.Email; +``` + + +## Values + +| Name | Value | +| ------------------ | ------------------ | +| `Email` | EMAIL | +| `AccountUser` | ACCOUNT_USER | +| `AccountUserGroup` | ACCOUNT_USER_GROUP | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RecipientTypeJson0.md b/packages/csharp/docs/Models/Components/RecipientTypeJson0.md deleted file mode 100644 index 6b1fca9dd..000000000 --- a/packages/csharp/docs/Models/Components/RecipientTypeJson0.md +++ /dev/null @@ -1,20 +0,0 @@ -# RecipientTypeJson0 - -Type of Recipient - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = RecipientTypeJson0.Email; -``` - - -## Values - -| Name | Value | -| ------------------ | ------------------ | -| `Email` | EMAIL | -| `AccountUser` | ACCOUNT_USER | -| `AccountUserGroup` | ACCOUNT_USER_GROUP | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RegistrationPackRequest.md b/packages/csharp/docs/Models/Components/RegistrationPackRequest.md index 3a20051fc..7d5dcbd8a 100644 --- a/packages/csharp/docs/Models/Components/RegistrationPackRequest.md +++ b/packages/csharp/docs/Models/Components/RegistrationPackRequest.md @@ -7,6 +7,6 @@ A registration pack defining the registration type capacity allocations for an e | Field | Type | Required | Description | | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `Event` | [Event21](../../Models/Components/Event21.md) | :heavy_check_mark: | The Associated Event. | +| `Event` | [Event3](../../Models/Components/Event3.md) | :heavy_check_mark: | The Associated Event. | | `Exhibitor` | [Models.Components.Exhibitor](../../Models/Components/Exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | `Capacities` | List<[Capacity](../../Models/Components/Capacity.md)> | :heavy_check_mark: | An array of capacities for the registration pack. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RegistrationPackResponse.md b/packages/csharp/docs/Models/Components/RegistrationPackResponse.md index 4962a5619..648e7eed3 100644 --- a/packages/csharp/docs/Models/Components/RegistrationPackResponse.md +++ b/packages/csharp/docs/Models/Components/RegistrationPackResponse.md @@ -8,6 +8,6 @@ Schema for existing registration pack object | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | | `Id` | *string* | :heavy_check_mark: | Registration pack id | 50f4f0df-0c2d-4e6b-8e68-e1413b6917f5 | -| `Event` | [Event21](../../Models/Components/Event21.md) | :heavy_check_mark: | The Associated Event. | | +| `Event` | [Event3](../../Models/Components/Event3.md) | :heavy_check_mark: | The Associated Event. | | | `Exhibitor` | [Models.Components.Exhibitor](../../Models/Components/Exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | | `Capacities` | List<[ExistingCapacity](../../Models/Components/ExistingCapacity.md)> | :heavy_check_mark: | Capacities allocated per registration type for this exhibitor's registration pack. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ReservationGuestJsonInput.md b/packages/csharp/docs/Models/Components/ReservationGuestJsonInput.md index b0397cbcc..520168780 100644 --- a/packages/csharp/docs/Models/Components/ReservationGuestJsonInput.md +++ b/packages/csharp/docs/Models/Components/ReservationGuestJsonInput.md @@ -19,7 +19,7 @@ Guest details for confirmed reservation. | `Email` | *string* | :heavy_check_mark: | Email address of the guest. | guest@cvent.com | | `HomePhone` | *string* | :heavy_minus_sign: | Home phone number of the guest. Required if the hotel/event requires address in reservations. | (231)-213-1222 | | `WorkPhone` | *string* | :heavy_minus_sign: | Work phone number of the guest. | (231)-213-1222 | -| `HomeAddress` | [AddressJson2](../../Models/Components/AddressJson2.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | +| `HomeAddress` | [AddressJson](../../Models/Components/AddressJson.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | | `PaymentInfo` | [ReservationPaymentInfoJsonInput](../../Models/Components/ReservationPaymentInfoJsonInput.md) | :heavy_minus_sign: | Payment information. | | | `AgeQualifyingCode` | [AgeQualifyingCode](../../Models/Components/AgeQualifyingCode.md) | :heavy_minus_sign: | Code that specifies if the guest is an adult or child. (10 - adult, 8 - child) | | | `Primary` | *bool* | :heavy_minus_sign: | True indicates this guest is the primary guest for the reservation. | true | diff --git a/packages/csharp/docs/Models/Components/ReservationGuestJsonOutput.md b/packages/csharp/docs/Models/Components/ReservationGuestJsonOutput.md index 0e36a0d78..5279ef3e6 100644 --- a/packages/csharp/docs/Models/Components/ReservationGuestJsonOutput.md +++ b/packages/csharp/docs/Models/Components/ReservationGuestJsonOutput.md @@ -19,7 +19,7 @@ Guest details for confirmed reservation. | `Email` | *string* | :heavy_check_mark: | Email address of the guest. | guest@cvent.com | | `HomePhone` | *string* | :heavy_minus_sign: | Home phone number of the guest. Required if the hotel/event requires address in reservations. | (231)-213-1222 | | `WorkPhone` | *string* | :heavy_minus_sign: | Work phone number of the guest. | (231)-213-1222 | -| `HomeAddress` | [AddressJson2](../../Models/Components/AddressJson2.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | +| `HomeAddress` | [AddressJson](../../Models/Components/AddressJson.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | | `PaymentInfo` | [ReservationPaymentInfoJsonOutput](../../Models/Components/ReservationPaymentInfoJsonOutput.md) | :heavy_minus_sign: | Payment information. | | | `AgeQualifyingCode` | [AgeQualifyingCode](../../Models/Components/AgeQualifyingCode.md) | :heavy_minus_sign: | Code that specifies if the guest is an adult or child. (10 - adult, 8 - child) | | | `Primary` | *bool* | :heavy_minus_sign: | True indicates this guest is the primary guest for the reservation. | true | diff --git a/packages/csharp/docs/Models/Components/ReservationPaymentInfoJsonInput.md b/packages/csharp/docs/Models/Components/ReservationPaymentInfoJsonInput.md index 9a44b17ed..d0f3f0800 100644 --- a/packages/csharp/docs/Models/Components/ReservationPaymentInfoJsonInput.md +++ b/packages/csharp/docs/Models/Components/ReservationPaymentInfoJsonInput.md @@ -9,7 +9,7 @@ Payment information. | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | | `PaymentType` | [PaymentTypesJson](../../Models/Components/PaymentTypesJson.md) | :heavy_minus_sign: | Payment type. | | | `FullName` | *string* | :heavy_minus_sign: | Full name. | Gustav Schultz | -| `Address` | [AddressJson2](../../Models/Components/AddressJson2.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | +| `Address` | [AddressJson](../../Models/Components/AddressJson.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | | `Phone` | *string* | :heavy_minus_sign: | Phone number. | (231)213-1222 | | `Other` | [OtherPaymentJson](../../Models/Components/OtherPaymentJson.md) | :heavy_minus_sign: | Other payment details. | | | `CreditCard` | [TokenizedCreditCardJsonInput](../../Models/Components/TokenizedCreditCardJsonInput.md) | :heavy_minus_sign: | Credit card info. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ReservationPaymentInfoJsonOutput.md b/packages/csharp/docs/Models/Components/ReservationPaymentInfoJsonOutput.md index f11d5fa5a..9949d00b2 100644 --- a/packages/csharp/docs/Models/Components/ReservationPaymentInfoJsonOutput.md +++ b/packages/csharp/docs/Models/Components/ReservationPaymentInfoJsonOutput.md @@ -9,7 +9,7 @@ Payment information. | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | | `PaymentType` | [PaymentTypesJson](../../Models/Components/PaymentTypesJson.md) | :heavy_minus_sign: | Payment type. | | | `FullName` | *string* | :heavy_minus_sign: | Full name. | Gustav Schultz | -| `Address` | [AddressJson2](../../Models/Components/AddressJson2.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | +| `Address` | [AddressJson](../../Models/Components/AddressJson.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | | `Phone` | *string* | :heavy_minus_sign: | Phone number. | (231)213-1222 | | `Other` | [OtherPaymentJson](../../Models/Components/OtherPaymentJson.md) | :heavy_minus_sign: | Other payment details. | | | `CreditCard` | [TokenizedCreditCardJsonOutput](../../Models/Components/TokenizedCreditCardJsonOutput.md) | :heavy_minus_sign: | Credit card info. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RespondentJson.md b/packages/csharp/docs/Models/Components/RespondentJson.md index b6dff2fac..5a50067ca 100644 --- a/packages/csharp/docs/Models/Components/RespondentJson.md +++ b/packages/csharp/docs/Models/Components/RespondentJson.md @@ -22,7 +22,7 @@ Respondent object for survey respondents. | `PercentageScore` | *double* | :heavy_minus_sign: | Respondent Percentage Score | 70 | | `Links` | [RespondentJsonLinks](../../Models/Components/RespondentJsonLinks.md) | :heavy_minus_sign: | Related links. | | | `SourceId` | *string* | :heavy_minus_sign: | Source IDs track respondents in an external system integrated with the Cvent survey. | IN4IDS1 | -| `Event` | [EventJson4](../../Models/Components/EventJson4.md) | :heavy_minus_sign: | Detail object of an event which is associated to a survey. | | +| `Event` | [EventJson3](../../Models/Components/EventJson3.md) | :heavy_minus_sign: | Detail object of an event which is associated to a survey. | | | `Contact` | [UuidJson](../../Models/Components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | | `Attendee` | [UuidJson](../../Models/Components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | | `Survey` | [UuidJson](../../Models/Components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | diff --git a/packages/csharp/docs/Models/Components/Rfp.md b/packages/csharp/docs/Models/Components/Rfp.md index 288393497..fa439ca49 100644 --- a/packages/csharp/docs/Models/Components/Rfp.md +++ b/packages/csharp/docs/Models/Components/Rfp.md @@ -14,43 +14,43 @@ Basic RFP details | `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` | [DateRequirementsJson0](../../Models/Components/DateRequirementsJson0.md) | :heavy_minus_sign: | Date requirements for the event. | | -| `RfpEvent` | [RfpEventJson](../../Models/Components/RfpEventJson.md) | :heavy_minus_sign: | RFP event details. | | +| `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` | [ContactJson0](../../Models/Components/ContactJson0.md) | :heavy_minus_sign: | Contact details of planner. | | -| `RfpEventOrganization` | [RfpEventOrganizationJson](../../Models/Components/RfpEventOrganizationJson.md) | :heavy_minus_sign: | Details of organization which is hosting the event. | | +| `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` | [BillingDetailsJson0](../../Models/Components/BillingDetailsJson0.md) | :heavy_minus_sign: | Billing details for RFP. | | +| `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` | [MeasurementUnitJson0](../../Models/Components/MeasurementUnitJson0.md) | :heavy_minus_sign: | Measurement unit. | | -| `RequiredCostItems` | List<[OfferingCostTypeJson0](../../Models/Components/OfferingCostTypeJson0.md)> | :heavy_minus_sign: | This contains cost items which are marked as required for suppliers in the RFP. | [
"BREAK_AM",
"BREAK_PM"
] | -| `HiddenCostItems` | List<[OfferingCostTypeJson0](../../Models/Components/OfferingCostTypeJson0.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"
] | +| `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<[RecipientInfoJson0](../../Models/Components/RecipientInfoJson0.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"
}
] | +| `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` | [LeadSourceJson](../../Models/Components/LeadSourceJson.md) | :heavy_minus_sign: | Lead source details. | | +| `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` | [WeddingDetailsJson0](../../Models/Components/WeddingDetailsJson0.md) | :heavy_minus_sign: | Wedding details. | | +| `WeddingDetails` | [WeddingDetails1](../../Models/Components/WeddingDetails1.md) | :heavy_minus_sign: | Wedding details. | | | `NeedsCatering` | *bool* | :heavy_minus_sign: | True indicates catering is required. | | -| `PackagePricingPreference` | [PackagePricingPreferenceJson](../../Models/Components/PackagePricingPreferenceJson.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 | +| `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. | | | `Id` | *string* | :heavy_check_mark: | Unique identifier for RFP. | 50dc08af-24a9-4d01-84be-3d43133dc945 | | `Code` | *string* | :heavy_minus_sign: | Unique code of RFP. | JBNJN7BGJ5J | -| `Status` | [RfpStatusJson0](../../Models/Components/RfpStatusJson0.md) | :heavy_minus_sign: | Represents state of the RFP. | | -| `Type` | [RfpTypeJson0](../../Models/Components/RfpTypeJson0.md) | :heavy_minus_sign: | RFP types based on event requirements. | | +| `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` | [CancellationDetailsJson](../../Models/Components/CancellationDetailsJson.md) | :heavy_minus_sign: | Information about cancellation of RFP. | | +| `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 | diff --git a/packages/csharp/docs/Models/Components/RfpAgendaItem.md b/packages/csharp/docs/Models/Components/RfpAgendaItem.md new file mode 100644 index 000000000..5b67ecd6f --- /dev/null +++ b/packages/csharp/docs/Models/Components/RfpAgendaItem.md @@ -0,0 +1,29 @@ +# RfpAgendaItem + +Agenda item associated with an RFP. + + +## 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 | +| `Name` | *string* | :heavy_minus_sign: | The name of the agenda item. | Agenda Item 1 | +| `Type` | [AgendaItemType](../../Models/Components/AgendaItemType.md) | :heavy_minus_sign: | Type of the agenda. | | +| `Setup` | [AgendaItemSetup](../../Models/Components/AgendaItemSetup.md) | :heavy_minus_sign: | Setup type for the agenda. | | +| `Note` | *string* | :heavy_minus_sign: | The note sent along with agenda item. | This is a sample comment for this agenda item. | +| `StartTime` | *string* | :heavy_minus_sign: | The start time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at event location. For RFPs spanning multiple time zones, this time applies uniformly in each location's respective timezone (e.g., 13:00:00 means 1 PM local time at every venue). | 10:00:00 | +| `EndTime` | *string* | :heavy_minus_sign: | The end time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at event location. For RFPs spanning multiple time zones, this time applies uniformly in each location's respective timezone (e.g., 14:00:00 means 2 PM local time at every venue). | 10:30:00 | +| `RoomSize` | *long* | :heavy_minus_sign: | The required room size. It is specified in the default measurement unit of the RFP. Use GET RFP API to get the default measurement unit. | 1000 | +| `AttendeeCount` | *long* | :heavy_minus_sign: | Expected number of people attending the agenda. | 10000 | +| `RoomInfoRequired` | *bool* | :heavy_minus_sign: | True indicates room information like type, description is required. | false | +| `TwentyFourHourHold` | *bool* | :heavy_minus_sign: | True indicates that twenty four hour hold is required. | true | +| `LocatedAtPrimaryEventVenue` | *bool* | :heavy_minus_sign: | True indicates that agenda location is at primary event venue. | false | +| `RfpMeal` | [RfpMeal](../../Models/Components/RfpMeal.md) | :heavy_minus_sign: | Meal type offered during the agenda. | | +| `Number` | *long* | :heavy_check_mark: | The sequence number of the agenda item. | 5 | +| `Schedules` | List<[RfpAgendaItemSchedule](../../Models/Components/RfpAgendaItemSchedule.md)> | :heavy_check_mark: | List of dates when this agenda item is scheduled. | | +| `Id` | *string* | :heavy_check_mark: | Unique ID of the agenda item. | f56a51a4-84b0-46c9-a612-716dc95a1c96 | +| `AgendaBuilderAttachment` | [AgendaBuilderAttachment](../../Models/Components/AgendaBuilderAttachment.md) | :heavy_minus_sign: | Attachment whose data was used to create the agenda item. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpAgendaItemJson.md b/packages/csharp/docs/Models/Components/RfpAgendaItemJson.md deleted file mode 100644 index ddeb13215..000000000 --- a/packages/csharp/docs/Models/Components/RfpAgendaItemJson.md +++ /dev/null @@ -1,29 +0,0 @@ -# RfpAgendaItemJson - -Agenda item associated with an RFP. - - -## 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 | -| `Name` | *string* | :heavy_minus_sign: | The name of the agenda item. | Agenda Item 1 | -| `Type` | [AgendaItemTypeJson](../../Models/Components/AgendaItemTypeJson.md) | :heavy_minus_sign: | Type of the agenda. | | -| `Setup` | [AgendaItemSetupJson](../../Models/Components/AgendaItemSetupJson.md) | :heavy_minus_sign: | Setup type for the agenda. | | -| `Note` | *string* | :heavy_minus_sign: | The note sent along with agenda item. | This is a sample comment for this agenda item. | -| `StartTime` | *string* | :heavy_minus_sign: | The start time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at event location. For RFPs spanning multiple time zones, this time applies uniformly in each location's respective timezone (e.g., 13:00:00 means 1 PM local time at every venue). | 10:00:00 | -| `EndTime` | *string* | :heavy_minus_sign: | The end time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at event location. For RFPs spanning multiple time zones, this time applies uniformly in each location's respective timezone (e.g., 14:00:00 means 2 PM local time at every venue). | 10:30:00 | -| `RoomSize` | *long* | :heavy_minus_sign: | The required room size. It is specified in the default measurement unit of the RFP. Use GET RFP API to get the default measurement unit. | 1000 | -| `AttendeeCount` | *long* | :heavy_minus_sign: | Expected number of people attending the agenda. | 10000 | -| `RoomInfoRequired` | *bool* | :heavy_minus_sign: | True indicates room information like type, description is required. | false | -| `TwentyFourHourHold` | *bool* | :heavy_minus_sign: | True indicates that twenty four hour hold is required. | true | -| `LocatedAtPrimaryEventVenue` | *bool* | :heavy_minus_sign: | True indicates that agenda location is at primary event venue. | false | -| `RfpMeal` | [RfpMealJson](../../Models/Components/RfpMealJson.md) | :heavy_minus_sign: | Meal type offered during the agenda. | | -| `Number` | *long* | :heavy_check_mark: | The sequence number of the agenda item. | 5 | -| `Schedules` | List<[RfpAgendaItemScheduleJson](../../Models/Components/RfpAgendaItemScheduleJson.md)> | :heavy_check_mark: | List of dates when this agenda item is scheduled. | | -| `Id` | *string* | :heavy_check_mark: | Unique ID of the agenda item. | f56a51a4-84b0-46c9-a612-716dc95a1c96 | -| `AgendaBuilderAttachment` | [AgendaBuilderAttachment](../../Models/Components/AgendaBuilderAttachment.md) | :heavy_minus_sign: | Attachment whose data was used to create the agenda item. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpAgendaItemSchedule.md b/packages/csharp/docs/Models/Components/RfpAgendaItemSchedule.md new file mode 100644 index 000000000..d080e6e67 --- /dev/null +++ b/packages/csharp/docs/Models/Components/RfpAgendaItemSchedule.md @@ -0,0 +1,11 @@ +# RfpAgendaItemSchedule + +Schedule information for an RFP agenda item. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `DayNumber` | *long* | :heavy_check_mark: | Day number relative to start of event on which the agenda item occurs. | 1 | +| `Date` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 date of the agenda item. | 2021-07-03 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpAgendaItemScheduleJson.md b/packages/csharp/docs/Models/Components/RfpAgendaItemScheduleJson.md deleted file mode 100644 index d1d243f43..000000000 --- a/packages/csharp/docs/Models/Components/RfpAgendaItemScheduleJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# RfpAgendaItemScheduleJson - -Schedule information for an RFP agenda item. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `DayNumber` | *long* | :heavy_check_mark: | Day number relative to start of event on which the agenda item occurs. | 1 | -| `Date` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 date of the agenda item. | 2021-07-03 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpAgendaItemScheduleWithId.md b/packages/csharp/docs/Models/Components/RfpAgendaItemScheduleWithId.md new file mode 100644 index 000000000..785827ae8 --- /dev/null +++ b/packages/csharp/docs/Models/Components/RfpAgendaItemScheduleWithId.md @@ -0,0 +1,12 @@ +# RfpAgendaItemScheduleWithId + +Contains RFP specific agenda items schedule information with agenda item id. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `DayNumber` | *long* | :heavy_check_mark: | Day number relative to start of event on which the agenda item occurs. | 1 | +| `Date` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 date of the agenda item. | 2021-07-03 | +| `Id` | *string* | :heavy_minus_sign: | Unique ID of the agenda item. | 50dc08af-24a9-4d01-84be-3d43133dc945 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpAgendaItemScheduleWithIdJson.md b/packages/csharp/docs/Models/Components/RfpAgendaItemScheduleWithIdJson.md deleted file mode 100644 index c6ca58ec2..000000000 --- a/packages/csharp/docs/Models/Components/RfpAgendaItemScheduleWithIdJson.md +++ /dev/null @@ -1,12 +0,0 @@ -# RfpAgendaItemScheduleWithIdJson - -Contains RFP specific agenda items schedule information with agenda item id. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `DayNumber` | *long* | :heavy_check_mark: | Day number relative to start of event on which the agenda item occurs. | 1 | -| `Date` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 date of the agenda item. | 2021-07-03 | -| `Id` | *string* | :heavy_minus_sign: | Unique ID of the agenda item. | 50dc08af-24a9-4d01-84be-3d43133dc945 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpAttachment.md b/packages/csharp/docs/Models/Components/RfpAttachment.md new file mode 100644 index 000000000..331973828 --- /dev/null +++ b/packages/csharp/docs/Models/Components/RfpAttachment.md @@ -0,0 +1,25 @@ +# RfpAttachment + +This object contains Rfp specific attachments attributes. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | Unique identifier for this attachment record. | f56a51a4-84b0-46c9-a612-716dc95a1c96 | +| `Created` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | ISO 8601 date-time the attachment was uploaded. | 2021-01-13T14:06:20.080Z | +| `Size` | *long* | :heavy_minus_sign: | The size of attachment in bytes. | 777835 | +| `Type` | [DocumentType1](../../Models/Components/DocumentType1.md) | :heavy_minus_sign: | The document type. | | +| `Secure` | *bool* | :heavy_minus_sign: | True indicates the attachment is uploaded behind a secured URL. | true | +| `Name` | *string* | :heavy_minus_sign: | Display name of the attachment. | BudgetCostSavings | +| `UniqueName` | *string* | :heavy_minus_sign: | Name of the attachment. Must be unique in the account. | 183f9efaa4c14070985782ee31abbf3c.jpg | +| `MimeType` | *string* | :heavy_minus_sign: | The content type of the attachment | image/jpeg | +| `Source` | [AttachmentSource](../../Models/Components/AttachmentSource.md) | :heavy_minus_sign: | The source from where the attachment was uploaded. | | +| `RelativePath` | *string* | :heavy_minus_sign: | The file path pointing to where the attachment is stored in Cvent. This path is relative to the base URL of the storage system and omits the root address. | 0B7DEF22676A4434982BDAD2D6EC591F/files/supplier/0713cef78d4e4d818899d4522022d5ad/73ab2e3054fd4321a5e0f846a7adb0d7.jpg | +| `SendInEmail` | *bool* | :heavy_minus_sign: | True indicates the attachment should be sent in emails that notify suppliers about RFPs. | false | +| `DeletionAllowed` | *bool* | :heavy_minus_sign: | True indicates this attachment can be deleted. | true | +| `Url` | *string* | :heavy_minus_sign: | URL of the attachment if `secure` is false. This field is null if `secure` is true. | https://custom.t2.cvent.com/0B7DEF22676A4434982BDAD2D6EC591F/files/supplier/0713cef78d4e4d818899d4522022d5ad/73ab2e3054fd4321a5e0f846a7adb0d7.jpg | +| `Supplier` | [RfpAttachmentSupplier](../../Models/Components/RfpAttachmentSupplier.md) | :heavy_minus_sign: | Supplier associated with the attachment. | | +| `SupplierSpecific` | *bool* | :heavy_minus_sign: | True indicates the attachment is only shown in the UI to the supplier whose ID is present in supplier.id field. | true | +| `SelectedForSupplier` | *bool* | :heavy_minus_sign: | True indicates the attachment is selected for the supplier whose ID is present in supplier.id field. | true | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpAttachmentJson.md b/packages/csharp/docs/Models/Components/RfpAttachmentJson.md deleted file mode 100644 index 4679a22d4..000000000 --- a/packages/csharp/docs/Models/Components/RfpAttachmentJson.md +++ /dev/null @@ -1,25 +0,0 @@ -# RfpAttachmentJson - -This object contains Rfp specific attachments attributes. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | Unique identifier for this attachment record. | f56a51a4-84b0-46c9-a612-716dc95a1c96 | -| `Created` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | ISO 8601 date-time the attachment was uploaded. | 2021-01-13T14:06:20.080Z | -| `Size` | *long* | :heavy_minus_sign: | The size of attachment in bytes. | 777835 | -| `Type` | [DocumentTypeJson0](../../Models/Components/DocumentTypeJson0.md) | :heavy_minus_sign: | The document type. | | -| `Secure` | *bool* | :heavy_minus_sign: | True indicates the attachment is uploaded behind a secured URL. | true | -| `Name` | *string* | :heavy_minus_sign: | Display name of the attachment. | BudgetCostSavings | -| `UniqueName` | *string* | :heavy_minus_sign: | Name of the attachment. Must be unique in the account. | 183f9efaa4c14070985782ee31abbf3c.jpg | -| `MimeType` | *string* | :heavy_minus_sign: | The content type of the attachment | image/jpeg | -| `Source` | [AttachmentSourceJson](../../Models/Components/AttachmentSourceJson.md) | :heavy_minus_sign: | The source from where the attachment was uploaded. | | -| `RelativePath` | *string* | :heavy_minus_sign: | The file path pointing to where the attachment is stored in Cvent. This path is relative to the base URL of the storage system and omits the root address. | 0B7DEF22676A4434982BDAD2D6EC591F/files/supplier/0713cef78d4e4d818899d4522022d5ad/73ab2e3054fd4321a5e0f846a7adb0d7.jpg | -| `SendInEmail` | *bool* | :heavy_minus_sign: | True indicates the attachment should be sent in emails that notify suppliers about RFPs. | false | -| `DeletionAllowed` | *bool* | :heavy_minus_sign: | True indicates this attachment can be deleted. | true | -| `Url` | *string* | :heavy_minus_sign: | URL of the attachment if `secure` is false. This field is null if `secure` is true. | https://custom.t2.cvent.com/0B7DEF22676A4434982BDAD2D6EC591F/files/supplier/0713cef78d4e4d818899d4522022d5ad/73ab2e3054fd4321a5e0f846a7adb0d7.jpg | -| `Supplier` | [RfpAttachmentJsonSupplier](../../Models/Components/RfpAttachmentJsonSupplier.md) | :heavy_minus_sign: | Supplier associated with the attachment. | | -| `SupplierSpecific` | *bool* | :heavy_minus_sign: | True indicates the attachment is only shown in the UI to the supplier whose ID is present in supplier.id field. | true | -| `SelectedForSupplier` | *bool* | :heavy_minus_sign: | True indicates the attachment is selected for the supplier whose ID is present in supplier.id field. | true | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpAttachmentJsonSupplier.md b/packages/csharp/docs/Models/Components/RfpAttachmentJsonSupplier.md deleted file mode 100644 index 58305e538..000000000 --- a/packages/csharp/docs/Models/Components/RfpAttachmentJsonSupplier.md +++ /dev/null @@ -1,10 +0,0 @@ -# RfpAttachmentJsonSupplier - -Supplier associated with the attachment. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `Id` | *string* | :heavy_minus_sign: | ID of the supplier. | C20A0114-2635-48C3-9F59-9386361B517B | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpAttachmentSupplier.md b/packages/csharp/docs/Models/Components/RfpAttachmentSupplier.md new file mode 100644 index 000000000..6fb6a0f00 --- /dev/null +++ b/packages/csharp/docs/Models/Components/RfpAttachmentSupplier.md @@ -0,0 +1,10 @@ +# RfpAttachmentSupplier + +Supplier associated with the attachment. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `Id` | *string* | :heavy_minus_sign: | ID of the supplier. | C20A0114-2635-48C3-9F59-9386361B517B | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpCustomFieldJson.md b/packages/csharp/docs/Models/Components/RfpCustomFieldJson.md deleted file mode 100644 index 721e53a9c..000000000 --- a/packages/csharp/docs/Models/Components/RfpCustomFieldJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# RfpCustomFieldJson - -This object contains RFP custom fields attributes only. - - -## Fields - -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `CustomField` | [ExpandableCustomObject](../../Models/Components/ExpandableCustomObject.md) | :heavy_check_mark: | An object containing custom field data. By default, contains only the field ID.

This is an **expandable** object. When requested via the `expand` query parameter with value `customField`, this object expands to include all properties of a custom field definition.

See the `expand` parameter documentation and refer to the [Get Custom Field](#tag/Custom-Fields/operation/getCustomField) API for the complete expanded schema. | -| `Answers` | List<*string*> | :heavy_check_mark: | List of answers for the RFP custom field. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpDateMode.md b/packages/csharp/docs/Models/Components/RfpDateMode.md new file mode 100644 index 000000000..a25254e07 --- /dev/null +++ b/packages/csharp/docs/Models/Components/RfpDateMode.md @@ -0,0 +1,19 @@ +# RfpDateMode + +RfpDateMode + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = RfpDateMode.AlternateDate; +``` + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `AlternateDate` | ALTERNATE_DATE | +| `DatePattern` | DATE_PATTERN | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpDateModeJson0.md b/packages/csharp/docs/Models/Components/RfpDateModeJson0.md deleted file mode 100644 index fcf37ca2c..000000000 --- a/packages/csharp/docs/Models/Components/RfpDateModeJson0.md +++ /dev/null @@ -1,19 +0,0 @@ -# RfpDateModeJson0 - -Way of specifying dates for the event. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = RfpDateModeJson0.AlternateDate; -``` - - -## Values - -| Name | Value | -| --------------- | --------------- | -| `AlternateDate` | ALTERNATE_DATE | -| `DatePattern` | DATE_PATTERN | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpEvent.md b/packages/csharp/docs/Models/Components/RfpEvent.md new file mode 100644 index 000000000..a14b44102 --- /dev/null +++ b/packages/csharp/docs/Models/Components/RfpEvent.md @@ -0,0 +1,29 @@ +# RfpEvent + +RFP event details. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `Event` | [Event12](../../Models/Components/Event12.md) | :heavy_minus_sign: | Event details. | | +| `Name` | *string* | :heavy_minus_sign: | Name of the event linked with the RFP. | friday event | +| `ContractSignatureLocation` | *string* | :heavy_minus_sign: | Location where the contract will be signed. | Atlanta | +| `DestinationsUnderConsideration` | *string* | :heavy_minus_sign: | Destinations under consideration for the event. | New York | +| `ExternalMeetingRequest` | *bool* | :heavy_minus_sign: | True indicates that the event is associated with an external meeting request. | true | +| `Type` | [EventType1](../../Models/Components/EventType1.md) | :heavy_minus_sign: | Event type. | | +| `TotalMeetingSpaceRequired` | [SpaceArea](../../Models/Components/SpaceArea.md) | :heavy_minus_sign: | Space area divisons. | | +| `AudioVisualNeeds` | *string* | :heavy_minus_sign: | Audio visual requirements. | Need a projector in each meeting room. | +| `PeakMeetingRooms` | *long* | :heavy_minus_sign: | Maximum number of meeting rooms required during the event. | 14 | +| `FlexibleDates` | *bool* | :heavy_minus_sign: | True indicates the event dates are flexible. | | +| `Repeat` | *bool* | :heavy_minus_sign: | True indicates event is a repeat occurrence. | | +| `AttendeesPerDay` | *long* | :heavy_minus_sign: | Number of in-person attendees per day. | 500 | +| `ReferenceNumber` | *string* | :heavy_minus_sign: | Reference number for the event. | XVYMP8970S | +| `LargestMeetingSpaceRequired` | [SpaceArea](../../Models/Components/SpaceArea.md) | :heavy_minus_sign: | Space area divisons. | | +| `MeetingRequestId` | *string* | :heavy_minus_sign: | Unique identifier for meeting request associated with the event. | 50dc08af-24a9-4d01-84be-3d43133dc945 | +| `FormatType` | [EventFormatType](../../Models/Components/EventFormatType.md) | :heavy_minus_sign: | Event format type. | | +| `VirtualAttendeesPerDay` | *long* | :heavy_minus_sign: | Number of virtual attendees per day. | 2000 | +| `Budget` | *double* | :heavy_minus_sign: | Total budget amount. | 10000 | +| `RoomRateBudget` | *double* | :heavy_minus_sign: | Budget for rooms rates. | 200 | +| `FoodBeverageBudget` | *double* | :heavy_minus_sign: | Budget for food and beverage. | 1000 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpEventJson.md b/packages/csharp/docs/Models/Components/RfpEventJson.md deleted file mode 100644 index 5933d73b2..000000000 --- a/packages/csharp/docs/Models/Components/RfpEventJson.md +++ /dev/null @@ -1,29 +0,0 @@ -# RfpEventJson - -RFP event details. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `Event` | [EventJson0](../../Models/Components/EventJson0.md) | :heavy_minus_sign: | Event details. | | -| `Name` | *string* | :heavy_minus_sign: | Name of the event linked with the RFP. | friday event | -| `ContractSignatureLocation` | *string* | :heavy_minus_sign: | Location where the contract will be signed. | Atlanta | -| `DestinationsUnderConsideration` | *string* | :heavy_minus_sign: | Destinations under consideration for the event. | New York | -| `ExternalMeetingRequest` | *bool* | :heavy_minus_sign: | True indicates that the event is associated with an external meeting request. | true | -| `Type` | [EventTypeJson0](../../Models/Components/EventTypeJson0.md) | :heavy_minus_sign: | Event type. | | -| `TotalMeetingSpaceRequired` | [SpaceAreaJson0](../../Models/Components/SpaceAreaJson0.md) | :heavy_minus_sign: | Space area divisons. | | -| `AudioVisualNeeds` | *string* | :heavy_minus_sign: | Audio visual requirements. | Need a projector in each meeting room. | -| `PeakMeetingRooms` | *long* | :heavy_minus_sign: | Maximum number of meeting rooms required during the event. | 14 | -| `FlexibleDates` | *bool* | :heavy_minus_sign: | True indicates the event dates are flexible. | | -| `Repeat` | *bool* | :heavy_minus_sign: | True indicates event is a repeat occurrence. | | -| `AttendeesPerDay` | *long* | :heavy_minus_sign: | Number of in-person attendees per day. | 500 | -| `ReferenceNumber` | *string* | :heavy_minus_sign: | Reference number for the event. | XVYMP8970S | -| `LargestMeetingSpaceRequired` | [SpaceAreaJson0](../../Models/Components/SpaceAreaJson0.md) | :heavy_minus_sign: | Space area divisons. | | -| `MeetingRequestId` | *string* | :heavy_minus_sign: | Unique identifier for meeting request associated with the event. | 50dc08af-24a9-4d01-84be-3d43133dc945 | -| `FormatType` | [EventFormatTypeJson0](../../Models/Components/EventFormatTypeJson0.md) | :heavy_minus_sign: | Event format type. | | -| `VirtualAttendeesPerDay` | *long* | :heavy_minus_sign: | Number of virtual attendees per day. | 2000 | -| `Budget` | *double* | :heavy_minus_sign: | Total budget amount. | 10000 | -| `RoomRateBudget` | *double* | :heavy_minus_sign: | Budget for rooms rates. | 200 | -| `FoodBeverageBudget` | *double* | :heavy_minus_sign: | Budget for food and beverage. | 1000 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpEventOrganizationJson.md b/packages/csharp/docs/Models/Components/RfpEventOrganizationJson.md deleted file mode 100644 index 825375f59..000000000 --- a/packages/csharp/docs/Models/Components/RfpEventOrganizationJson.md +++ /dev/null @@ -1,16 +0,0 @@ -# RfpEventOrganizationJson - -Details of organization which is hosting the event. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `Organization` | [OrganizationJson](../../Models/Components/OrganizationJson.md) | :heavy_minus_sign: | Organization details. | | -| `ConfidentialProfile` | *bool* | :heavy_minus_sign: | True indicates organization profile has to be kept confidential. | | -| `Industry` | [IndustryJson0](../../Models/Components/IndustryJson0.md) | :heavy_minus_sign: | Industry | | -| `Name` | *string* | :heavy_check_mark: | Name of the organization hosting the event. | Cvent Inc. | -| `Type` | [OrganizationTypeJson0](../../Models/Components/OrganizationTypeJson0.md) | :heavy_check_mark: | Organization type. | | -| `Address` | [AddressJson0](../../Models/Components/AddressJson0.md) | :heavy_minus_sign: | Address details. | | -| `EventsPerYear` | *long* | :heavy_minus_sign: | Number of events per year. | 450 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpGuestRooms.md b/packages/csharp/docs/Models/Components/RfpGuestRooms.md index 783254eae..53b64ce64 100644 --- a/packages/csharp/docs/Models/Components/RfpGuestRooms.md +++ b/packages/csharp/docs/Models/Components/RfpGuestRooms.md @@ -5,11 +5,11 @@ Guest Room Requirements ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `TotalRooms` | *long* | :heavy_minus_sign: | Sum of the number of rooms required each night across all the nights for the event. | 24 | -| `PeakRooms` | *long* | :heavy_minus_sign: | The number of rooms required during peak nights. | 24 | -| `Occupancies` | List<[GuestRoomOccupancyPerRoomTypeJson](../../Models/Components/GuestRoomOccupancyPerRoomTypeJson.md)> | :heavy_minus_sign: | Occupancies for every room type. | | -| `CheckInDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 check-in date. | 2025-10-13 | -| `RoomBlocks` | List<[RoomBlockJson](../../Models/Components/RoomBlockJson.md)> | :heavy_minus_sign: | List of room blocks required. | | -| `AdditionalInformation` | *string* | :heavy_minus_sign: | Additional Info (if any). | 2 Executive suites are mandatory. | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | +| `TotalRooms` | *long* | :heavy_minus_sign: | Sum of the number of rooms required each night across all the nights for the event. | 24 | +| `PeakRooms` | *long* | :heavy_minus_sign: | The number of rooms required during peak nights. | 24 | +| `Occupancies` | List<[GuestRoomOccupancyPerRoomType](../../Models/Components/GuestRoomOccupancyPerRoomType.md)> | :heavy_minus_sign: | Occupancies for every room type. | | +| `CheckInDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 check-in date. | 2025-10-13 | +| `RoomBlocks` | List<[RoomBlock](../../Models/Components/RoomBlock.md)> | :heavy_minus_sign: | List of room blocks required. | | +| `AdditionalInformation` | *string* | :heavy_minus_sign: | Additional Info (if any). | 2 Executive suites are mandatory. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpIdJson.md b/packages/csharp/docs/Models/Components/RfpIdJson.md new file mode 100644 index 000000000..3ceaaff16 --- /dev/null +++ b/packages/csharp/docs/Models/Components/RfpIdJson.md @@ -0,0 +1,10 @@ +# RfpIdJson + +RFP ID Information. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `Id` | *string* | :heavy_minus_sign: | Identifier of a particular RFP. | 3d808ee8-94f8-4f3a-9ad1-6b23f4e4c329 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpIdJson1.md b/packages/csharp/docs/Models/Components/RfpIdJson1.md deleted file mode 100644 index adcad608b..000000000 --- a/packages/csharp/docs/Models/Components/RfpIdJson1.md +++ /dev/null @@ -1,10 +0,0 @@ -# RfpIdJson1 - -RFP ID Information. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `Id` | *string* | :heavy_minus_sign: | Identifier of a particular RFP. | 3d808ee8-94f8-4f3a-9ad1-6b23f4e4c329 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpInternalDocument.md b/packages/csharp/docs/Models/Components/RfpInternalDocument.md new file mode 100644 index 000000000..2c0f7b052 --- /dev/null +++ b/packages/csharp/docs/Models/Components/RfpInternalDocument.md @@ -0,0 +1,17 @@ +# RfpInternalDocument + +This object contains RFP specific internal documents attributes only. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | Unique ID of the file. | f56a51a4-84b0-46c9-a612-716dc95a1c96 | +| `Created` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | ISO 8601 date-time the document was uploaded. | 2021-01-13T14:06:20.080Z | +| `Name` | *string* | :heavy_minus_sign: | Display name of the document. | BudgetCostSavings | +| `UniqueName` | *string* | :heavy_minus_sign: | Name of the document. Must be unique in the account. | 183f9efaa4c14070985782ee31abbf3c.jpg | +| `Size` | *long* | :heavy_minus_sign: | The size of document in bytes. | 777835 | +| `Url` | *string* | :heavy_minus_sign: | URL of the document if `secure` is false. This field is null if `secure` is true. | https://custom.cvent.com/0B7DEF22676A4434982BDAD2D6EC591F/files/supplier/0713cef78d4e4d818899d4522022d5ad/73ab2e3054fd4321a5e0f846a7adb0d7.jpg | +| `Type` | [DocumentType1](../../Models/Components/DocumentType1.md) | :heavy_minus_sign: | The document type. | | +| `MimeType` | *string* | :heavy_minus_sign: | The content type of the document. | image/jpeg | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpInternalDocumentJson0.md b/packages/csharp/docs/Models/Components/RfpInternalDocumentJson0.md deleted file mode 100644 index 87479107d..000000000 --- a/packages/csharp/docs/Models/Components/RfpInternalDocumentJson0.md +++ /dev/null @@ -1,17 +0,0 @@ -# RfpInternalDocumentJson0 - -This object contains RFP specific internal documents attributes only. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_check_mark: | Unique ID of the file. | f56a51a4-84b0-46c9-a612-716dc95a1c96 | -| `Created` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | ISO 8601 date-time the document was uploaded. | 2021-01-13T14:06:20.080Z | -| `Name` | *string* | :heavy_minus_sign: | Display name of the document. | BudgetCostSavings | -| `UniqueName` | *string* | :heavy_minus_sign: | Name of the document. Must be unique in the account. | 183f9efaa4c14070985782ee31abbf3c.jpg | -| `Size` | *long* | :heavy_minus_sign: | The size of document in bytes. | 777835 | -| `Url` | *string* | :heavy_minus_sign: | URL of the document if `secure` is false. This field is null if `secure` is true. | https://custom.cvent.com/0B7DEF22676A4434982BDAD2D6EC591F/files/supplier/0713cef78d4e4d818899d4522022d5ad/73ab2e3054fd4321a5e0f846a7adb0d7.jpg | -| `Type` | [DocumentTypeJson0](../../Models/Components/DocumentTypeJson0.md) | :heavy_minus_sign: | The document type. | | -| `MimeType` | *string* | :heavy_minus_sign: | The content type of the document. | image/jpeg | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpMeal.md b/packages/csharp/docs/Models/Components/RfpMeal.md new file mode 100644 index 000000000..da8717378 --- /dev/null +++ b/packages/csharp/docs/Models/Components/RfpMeal.md @@ -0,0 +1,30 @@ +# RfpMeal + +Meal type offered during the agenda. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = RfpMeal.BreakfastBuffet; +``` + + +## Values + +| Name | Value | +| --------------------------------- | --------------------------------- | +| `BreakfastBuffet` | BREAKFAST_BUFFET | +| `BreakfastContinental` | BREAKFAST_CONTINENTAL | +| `BreakfastPlated` | BREAKFAST_PLATED | +| `BreakDrinksOnly` | BREAK_DRINKS_ONLY | +| `BreakSnacksAndDrinks` | BREAK_SNACKS_AND_DRINKS | +| `ContactMeAboutFBRequirements` | CONTACT_ME_ABOUT_F_B_REQUIREMENTS | +| `DinnerBuffet` | DINNER_BUFFET | +| `DinnerPlated` | DINNER_PLATED | +| `LunchBoxed` | LUNCH_BOXED | +| `LunchBuffet` | LUNCH_BUFFET | +| `LunchPlated` | LUNCH_PLATED | +| `ReceptionHeavyHorsDOeuvres` | RECEPTION_HEAVY_HORS_D_OEUVRES | +| `ReceptionLightAppetizers` | RECEPTION_LIGHT_APPETIZERS | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpMealJson.md b/packages/csharp/docs/Models/Components/RfpMealJson.md deleted file mode 100644 index 2e131c91a..000000000 --- a/packages/csharp/docs/Models/Components/RfpMealJson.md +++ /dev/null @@ -1,30 +0,0 @@ -# RfpMealJson - -Meal type offered during the agenda. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = RfpMealJson.BreakfastBuffet; -``` - - -## Values - -| Name | Value | -| --------------------------------- | --------------------------------- | -| `BreakfastBuffet` | BREAKFAST_BUFFET | -| `BreakfastContinental` | BREAKFAST_CONTINENTAL | -| `BreakfastPlated` | BREAKFAST_PLATED | -| `BreakDrinksOnly` | BREAK_DRINKS_ONLY | -| `BreakSnacksAndDrinks` | BREAK_SNACKS_AND_DRINKS | -| `ContactMeAboutFBRequirements` | CONTACT_ME_ABOUT_F_B_REQUIREMENTS | -| `DinnerBuffet` | DINNER_BUFFET | -| `DinnerPlated` | DINNER_PLATED | -| `LunchBoxed` | LUNCH_BOXED | -| `LunchBuffet` | LUNCH_BUFFET | -| `LunchPlated` | LUNCH_PLATED | -| `ReceptionHeavyHorsDOeuvres` | RECEPTION_HEAVY_HORS_D_OEUVRES | -| `ReceptionLightAppetizers` | RECEPTION_LIGHT_APPETIZERS | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpPastEvent.md b/packages/csharp/docs/Models/Components/RfpPastEvent.md new file mode 100644 index 000000000..722c1518a --- /dev/null +++ b/packages/csharp/docs/Models/Components/RfpPastEvent.md @@ -0,0 +1,19 @@ +# RfpPastEvent + +This object includes information about past events hosted by the planner. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `VenueName` | *string* | :heavy_minus_sign: | Name of the venue where the event was hosted. | Delta Inn by Supreme Hotels | +| `City` | *string* | :heavy_minus_sign: | Name of the city where the event was hosted. | New Delhi | +| `StateProvince` | *string* | :heavy_minus_sign: | ISO 3166-2 code for name of the state or province where the event was hosted. | US-AL | +| `Date` | *string* | :heavy_minus_sign: | Free form text field for the planner to provide details on the event date. | First week of January 2024 | +| `AttendeeCount` | *long* | :heavy_minus_sign: | Number of event attendees. | 500 | +| `GuestRoomsPickedUp` | *long* | :heavy_minus_sign: | Count of rooms picked up by planners for use during the event. | 500 | +| `GuestRoomsBlocked` | *long* | :heavy_minus_sign: | Count of rooms blocked by planner for the event. | 500 | +| `FoodBeverageSpend` | *string* | :heavy_minus_sign: | Expenditure on food and beverage. | 3,000 dollars | +| `Notes` | *string* | :heavy_minus_sign: | Any other information about the event. | This was the 25th event hosted by Alpha Planners. | +| `Id` | *string* | :heavy_check_mark: | Unique ID for the event detail. | f56a51a4-84b0-46c9-a612-716dc95a1c96 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpPastEventJson.md b/packages/csharp/docs/Models/Components/RfpPastEventJson.md deleted file mode 100644 index 55d991d89..000000000 --- a/packages/csharp/docs/Models/Components/RfpPastEventJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# RfpPastEventJson - -This object includes information about past events hosted by the planner. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `VenueName` | *string* | :heavy_minus_sign: | Name of the venue where the event was hosted. | Delta Inn by Supreme Hotels | -| `City` | *string* | :heavy_minus_sign: | Name of the city where the event was hosted. | New Delhi | -| `StateProvince` | *string* | :heavy_minus_sign: | ISO 3166-2 code for name of the state or province where the event was hosted. | US-AL | -| `Date` | *string* | :heavy_minus_sign: | Free form text field for the planner to provide details on the event date. | First week of January 2024 | -| `AttendeeCount` | *long* | :heavy_minus_sign: | Number of event attendees. | 500 | -| `GuestRoomsPickedUp` | *long* | :heavy_minus_sign: | Count of rooms picked up by planners for use during the event. | 500 | -| `GuestRoomsBlocked` | *long* | :heavy_minus_sign: | Count of rooms blocked by planner for the event. | 500 | -| `FoodBeverageSpend` | *string* | :heavy_minus_sign: | Expenditure on food and beverage. | 3,000 dollars | -| `Notes` | *string* | :heavy_minus_sign: | Any other information about the event. | This was the 25th event hosted by Alpha Planners. | -| `Id` | *string* | :heavy_check_mark: | Unique ID for the event detail. | f56a51a4-84b0-46c9-a612-716dc95a1c96 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpPastEvents.md b/packages/csharp/docs/Models/Components/RfpPastEvents.md index fbffde742..edc31c90f 100644 --- a/packages/csharp/docs/Models/Components/RfpPastEvents.md +++ b/packages/csharp/docs/Models/Components/RfpPastEvents.md @@ -5,6 +5,6 @@ List of past RFP events. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | -| `Data` | List<[RfpPastEventJson](../../Models/Components/RfpPastEventJson.md)> | :heavy_minus_sign: | List of past events saved on RFP by planner. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `Data` | List<[RfpPastEvent](../../Models/Components/RfpPastEvent.md)> | :heavy_minus_sign: | List of past events saved on RFP by planner. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpQuestion.md b/packages/csharp/docs/Models/Components/RfpQuestion.md new file mode 100644 index 000000000..0062ec2f4 --- /dev/null +++ b/packages/csharp/docs/Models/Components/RfpQuestion.md @@ -0,0 +1,50 @@ +# RfpQuestion + +Question associated with an RFP. + + +## 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 | +| `Id` | *string* | :heavy_minus_sign: | Unique identifier of the question. | | +| `Text` | *string* | :heavy_minus_sign: | Text value of the question field. Displays to users in the UI. | Are you spending any significant time offsite and need transportation? | +| `ShortText` | *string* | :heavy_minus_sign: | Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. | Needs offsite transportation? | +| `HtmlText` | *string* | :heavy_minus_sign: | Html of the question. | Question Html | +| `Code` | *string* | :heavy_minus_sign: | Question code is unique identifier for every questions within a survey (can be same across surveys). This code is used in reporting and in question and answer data tags for emails. With every new question a random question code is generated. | 4l6x | +| `Type` | [QuestionType](../../Models/Components/QuestionType.md) | :heavy_minus_sign: | The type of question. See [this article](https://support.cvent.com/s/communityarticle/Survey-Adding-Questions) for details on each enum. | SingleChoice | +| `Choices` | List<[Choice](../../Models/Components/Choice.md)> | :heavy_minus_sign: | List of choices for the question. | | +| `Categories` | List<[Category](../../Models/Components/Category.md)> | :heavy_minus_sign: | List of categories for the question. | | +| `SubCategories` | List<[TextField](../../Models/Components/TextField.md)> | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions. | | +| `NotApplicableAnswer` | [AdditionalChoice](../../Models/Components/AdditionalChoice.md) | :heavy_minus_sign: | Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. | | +| `OtherAnswer` | [AdditionalChoice](../../Models/Components/AdditionalChoice.md) | :heavy_minus_sign: | Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. | | +| `Comments` | *string* | :heavy_minus_sign: | Text Value of Comments Input box placeholder. | Comments Text | +| `Required` | *bool* | :heavy_minus_sign: | True indicates this is a mandatory question field. | true | +| `Fields` | List<[Field](../../Models/Components/Field.md)> | :heavy_minus_sign: | List of fields for form/matrix questions. | | +| `MaxScore` | *double* | :heavy_minus_sign: | Max possible score. | 20 | +| `TotalSum` | *long* | :heavy_minus_sign: | Total configured sum of all choices for number allocation question. | 45 | +| `ChoiceSortOrder` | [ChoiceSortOrder](../../Models/Components/ChoiceSortOrder.md) | :heavy_minus_sign: | The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: Sorted in the order they were added, oldest choices first. `Random`: Random sort. | | +| `DisplayType` | [DisplayType](../../Models/Components/DisplayType.md) | :heavy_minus_sign: | The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: It is associated with drop down type questions. `Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list type questions. `MultiSelectBox`: It is associated with multi select box type questions. `Vertical`: It is associated with vertical type questions. | | +| `MinSelection` | *long* | :heavy_minus_sign: | Minimum number of choices that must be selected. | 1 | +| `MaxSelection` | *long* | :heavy_minus_sign: | Maximum number of choices that can be selected. | 3 | +| `MinDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The earliest date that can be selected, starting from or after this date. | 2020-01-01 | +| `MaxDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The latest date that can be selected, up to or before this date. | 2020-12-31 | +| `ShowDateSelector` | *bool* | :heavy_minus_sign: | Indicates if this is a date range question. | true | +| `ShowCurrentDate` | *bool* | :heavy_minus_sign: | Indicates if the current date should be shown. | true | +| `DateAnswerFormat` | [DateAnswerFormat](../../Models/Components/DateAnswerFormat.md) | :heavy_minus_sign: | The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. `DateTime`: Answer format is stored in DateTime format. `Time`: Answer format is stored in Time format. | | +| `NumericAnswerFormat` | [NumericAnswerFormat](../../Models/Components/NumericAnswerFormat.md) | :heavy_minus_sign: | The answer format that a given number is stored in. | | +| `UnitLabel` | *string* | :heavy_minus_sign: | Label to add before or after textbox. | miles | +| `UnitPosition` | [UnitPosition](../../Models/Components/UnitPosition.md) | :heavy_minus_sign: | Unit position used for text box question type. | | +| `MinLength` | *long* | :heavy_minus_sign: | Minimum number of characters that must be entered. | 5 | +| `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. | | +| `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/RfpQuestionJson.md b/packages/csharp/docs/Models/Components/RfpQuestionJson.md deleted file mode 100644 index da7219c36..000000000 --- a/packages/csharp/docs/Models/Components/RfpQuestionJson.md +++ /dev/null @@ -1,50 +0,0 @@ -# RfpQuestionJson - -Question associated with an RFP. - - -## 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 | -| `Id` | *string* | :heavy_minus_sign: | Unique identifier of the question. | | -| `Text` | *string* | :heavy_minus_sign: | Text value of the question field. Displays to users in the UI. | Are you spending any significant time offsite and need transportation? | -| `ShortText` | *string* | :heavy_minus_sign: | Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. | Needs offsite transportation? | -| `HtmlText` | *string* | :heavy_minus_sign: | Html of the question. | Question Html | -| `Code` | *string* | :heavy_minus_sign: | Question code is unique identifier for every questions within a survey (can be same across surveys). This code is used in reporting and in question and answer data tags for emails. With every new question a random question code is generated. | 4l6x | -| `Type` | [QuestionTypeJson](../../Models/Components/QuestionTypeJson.md) | :heavy_minus_sign: | The type of question. See [this article](https://support.cvent.com/s/communityarticle/Survey-Adding-Questions) for details on each enum. | SingleChoice | -| `Choices` | List<[ChoiceJson](../../Models/Components/ChoiceJson.md)> | :heavy_minus_sign: | List of choices for the question. | | -| `Categories` | List<[CategoryJson](../../Models/Components/CategoryJson.md)> | :heavy_minus_sign: | List of categories for the question. | | -| `SubCategories` | List<[TextFieldJson](../../Models/Components/TextFieldJson.md)> | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions. | | -| `NotApplicableAnswer` | [AdditionalChoiceJson2](../../Models/Components/AdditionalChoiceJson2.md) | :heavy_minus_sign: | Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. | | -| `OtherAnswer` | [AdditionalChoiceJson2](../../Models/Components/AdditionalChoiceJson2.md) | :heavy_minus_sign: | Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. | | -| `Comments` | *string* | :heavy_minus_sign: | Text Value of Comments Input box placeholder. | Comments Text | -| `Required` | *bool* | :heavy_minus_sign: | True indicates this is a mandatory question field. | true | -| `Fields` | List<[FieldJson](../../Models/Components/FieldJson.md)> | :heavy_minus_sign: | List of fields for form/matrix questions. | | -| `MaxScore` | *double* | :heavy_minus_sign: | Max possible score. | 20 | -| `TotalSum` | *long* | :heavy_minus_sign: | Total configured sum of all choices for number allocation question. | 45 | -| `ChoiceSortOrder` | [ChoiceSortOrderJson](../../Models/Components/ChoiceSortOrderJson.md) | :heavy_minus_sign: | The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: Sorted in the order they were added, oldest choices first. `Random`: Random sort. | | -| `DisplayType` | [DisplayTypeJson](../../Models/Components/DisplayTypeJson.md) | :heavy_minus_sign: | The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: It is associated with drop down type questions. `Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list type questions. `MultiSelectBox`: It is associated with multi select box type questions. `Vertical`: It is associated with vertical type questions. | | -| `MinSelection` | *long* | :heavy_minus_sign: | Minimum number of choices that must be selected. | 1 | -| `MaxSelection` | *long* | :heavy_minus_sign: | Maximum number of choices that can be selected. | 3 | -| `MinDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The earliest date that can be selected, starting from or after this date. | 2020-01-01 | -| `MaxDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The latest date that can be selected, up to or before this date. | 2020-12-31 | -| `ShowDateSelector` | *bool* | :heavy_minus_sign: | Indicates if this is a date range question. | true | -| `ShowCurrentDate` | *bool* | :heavy_minus_sign: | Indicates if the current date should be shown. | true | -| `DateAnswerFormat` | [DateAnswerFormatJson](../../Models/Components/DateAnswerFormatJson.md) | :heavy_minus_sign: | The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. `DateTime`: Answer format is stored in DateTime format. `Time`: Answer format is stored in Time format. | | -| `NumericAnswerFormat` | [NumericAnswerFormatJson](../../Models/Components/NumericAnswerFormatJson.md) | :heavy_minus_sign: | The answer format that a given number is stored in. | | -| `UnitLabel` | *string* | :heavy_minus_sign: | Label to add before or after textbox. | miles | -| `UnitPosition` | [UnitPositionJson](../../Models/Components/UnitPositionJson.md) | :heavy_minus_sign: | Unit position used for text box question type. | | -| `MinLength` | *long* | :heavy_minus_sign: | Minimum number of characters that must be entered. | 5 | -| `MaxLength` | *long* | :heavy_minus_sign: | Maximum number of characters that can be entered. | 100 | -| `TextAnswerFormat` | [TextAnswerFormatJson](../../Models/Components/TextAnswerFormatJson.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<[SupplierTypeJson](../../Models/Components/SupplierTypeJson.md)> | :heavy_minus_sign: | List of supplier types that can view the question on the RFP. | [
"CVB",
"HOTEL"
] | -| `ClassificationType` | [QuestionClassificationTypeJson](../../Models/Components/QuestionClassificationTypeJson.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. | | -| `Order` | *long* | :heavy_minus_sign: | Determines the display order for questions on the RFP. Questions with smaller values appear first. | 1 | -| `StandardQuestion` | [StandardQuestionJson](../../Models/Components/StandardQuestionJson.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/RfpRecipientLogEntry.md b/packages/csharp/docs/Models/Components/RfpRecipientLogEntry.md new file mode 100644 index 000000000..745bb0220 --- /dev/null +++ b/packages/csharp/docs/Models/Components/RfpRecipientLogEntry.md @@ -0,0 +1,16 @@ +# RfpRecipientLogEntry + +Contains the log entry when the recipient was copied on an RFP. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | +| `Supplier` | [RfpRecipientLogEntrySupplier](../../Models/Components/RfpRecipientLogEntrySupplier.md) | :heavy_minus_sign: | The supplier associated with the recipient. | | +| `RecipientIdentifier` | *string* | :heavy_minus_sign: | This can either be the email address or the code of the recipient. This will not be present if the target type is MEETING_BROKER | jwest@example.com | +| `Active` | *bool* | :heavy_minus_sign: | True indicates that the recipient is active for receiving emails. | true | +| `AddedByNso` | *bool* | :heavy_minus_sign: | True indicates that the recipient was added by the National Sales Office. | false | +| `TargetType` | [TargetType](../../Models/Components/TargetType.md) | :heavy_minus_sign: | The target type can either refer to the type of recipient or the type of action that made the recipient a participant in the RFP process. | PUBLIC_NSO | +| `SendDateTime` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 send date and time in UTC. | 2024-08-20T00:00:01Z | +| `Message` | [RfpRecipientLogEntryMessage](../../Models/Components/RfpRecipientLogEntryMessage.md) | :heavy_minus_sign: | Message for the recipient. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpRecipientLogEntryJson.md b/packages/csharp/docs/Models/Components/RfpRecipientLogEntryJson.md deleted file mode 100644 index 716154a83..000000000 --- a/packages/csharp/docs/Models/Components/RfpRecipientLogEntryJson.md +++ /dev/null @@ -1,16 +0,0 @@ -# RfpRecipientLogEntryJson - -Contains the log entry when the recipient was copied on an RFP. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -| `Supplier` | [RfpRecipientLogEntryJsonSupplier](../../Models/Components/RfpRecipientLogEntryJsonSupplier.md) | :heavy_minus_sign: | The supplier associated with the recipient. | | -| `RecipientIdentifier` | *string* | :heavy_minus_sign: | This can either be the email address or the code of the recipient. This will not be present if the target type is MEETING_BROKER | jwest@example.com | -| `Active` | *bool* | :heavy_minus_sign: | True indicates that the recipient is active for receiving emails. | true | -| `AddedByNso` | *bool* | :heavy_minus_sign: | True indicates that the recipient was added by the National Sales Office. | false | -| `TargetType` | [TargetTypeJson](../../Models/Components/TargetTypeJson.md) | :heavy_minus_sign: | The target type can either refer to the type of recipient or the type of action that made the recipient a participant in the RFP process. | PUBLIC_NSO | -| `SendDateTime` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 send date and time in UTC. | 2024-08-20T00:00:01Z | -| `Message` | [RfpRecipientLogEntryJsonMessage](../../Models/Components/RfpRecipientLogEntryJsonMessage.md) | :heavy_minus_sign: | Message for the recipient. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpRecipientLogEntryJsonMessage.md b/packages/csharp/docs/Models/Components/RfpRecipientLogEntryJsonMessage.md deleted file mode 100644 index 41b5185bb..000000000 --- a/packages/csharp/docs/Models/Components/RfpRecipientLogEntryJsonMessage.md +++ /dev/null @@ -1,10 +0,0 @@ -# RfpRecipientLogEntryJsonMessage - -Message for the recipient. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the message. | a1c776ab-51ee-44a7-8720-b3dfc44d689b | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpRecipientLogEntryJsonSupplier.md b/packages/csharp/docs/Models/Components/RfpRecipientLogEntryJsonSupplier.md deleted file mode 100644 index 0833ad032..000000000 --- a/packages/csharp/docs/Models/Components/RfpRecipientLogEntryJsonSupplier.md +++ /dev/null @@ -1,10 +0,0 @@ -# RfpRecipientLogEntryJsonSupplier - -The supplier associated with the recipient. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the supplier. | d024cc04-adf1-443c-854a-97ab9f5a14b2 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpRecipientLogEntryMessage.md b/packages/csharp/docs/Models/Components/RfpRecipientLogEntryMessage.md new file mode 100644 index 000000000..e4492a7f5 --- /dev/null +++ b/packages/csharp/docs/Models/Components/RfpRecipientLogEntryMessage.md @@ -0,0 +1,10 @@ +# RfpRecipientLogEntryMessage + +Message for the recipient. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the message. | a1c776ab-51ee-44a7-8720-b3dfc44d689b | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpRecipientLogEntrySupplier.md b/packages/csharp/docs/Models/Components/RfpRecipientLogEntrySupplier.md new file mode 100644 index 000000000..7cbed9085 --- /dev/null +++ b/packages/csharp/docs/Models/Components/RfpRecipientLogEntrySupplier.md @@ -0,0 +1,10 @@ +# RfpRecipientLogEntrySupplier + +The supplier associated with the recipient. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | The unique identifier of the supplier. | d024cc04-adf1-443c-854a-97ab9f5a14b2 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpResponseReason.md b/packages/csharp/docs/Models/Components/RfpResponseReason.md new file mode 100644 index 000000000..6ee17d250 --- /dev/null +++ b/packages/csharp/docs/Models/Components/RfpResponseReason.md @@ -0,0 +1,58 @@ +# RfpResponseReason + +Reason given for a response to an RFP. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = RfpResponseReason.BookedAnotherVenueOrDestination; +``` + + +## Values + +| Name | Value | +| ---------------------------------------- | ---------------------------------------- | +| `BookedAnotherVenueOrDestination` | BOOKED_ANOTHER_VENUE_OR_DESTINATION | +| `ClientBookedDirectly` | CLIENT_BOOKED_DIRECTLY | +| `CompetitorContractAgreement` | COMPETITOR_CONTRACT_AGREEMENT | +| `DatesOrPattern` | DATES_OR_PATTERN | +| `DecisionDatePassed` | DECISION_DATE_PASSED | +| `DidNotMeetRequirements` | DID_NOT_MEET_REQUIREMENTS | +| `EpidemicOrPandemic` | EPIDEMIC_OR_PANDEMIC | +| `EventCancelled` | EVENT_CANCELLED | +| `EventPostponed` | EVENT_POSTPONED | +| `FoodAndBeverageMinimumTooHigh` | FOOD_AND_BEVERAGE_MINIMUM_TOO_HIGH | +| `FoodAndBeverageTooLow` | FOOD_AND_BEVERAGE_TOO_LOW | +| `IncompleteRfp` | INCOMPLETE_RFP | +| `LateResponse` | LATE_RESPONSE | +| `LowBudget` | LOW_BUDGET | +| `MedicalEmergency` | MEDICAL_EMERGENCY | +| `MeetingRoomRentalTooHigh` | MEETING_ROOM_RENTAL_TOO_HIGH | +| `MeetingSpaceCeilingHeight` | MEETING_SPACE_CEILING_HEIGHT | +| `MeetingSpaceNoLongerAvailable` | MEETING_SPACE_NO_LONGER_AVAILABLE | +| `MeetingSpaceUnavailable` | MEETING_SPACE_UNAVAILABLE | +| `NaturalDisaster` | NATURAL_DISASTER | +| `NoFoodAndBeverage` | NO_FOOD_AND_BEVERAGE | +| `Other` | OTHER | +| `PoliticalOrCivilUnrest` | POLITICAL_OR_CIVIL_UNREST | +| `PreferredOrAlternateDatesUnavailable` | PREFERRED_OR_ALTERNATE_DATES_UNAVAILABLE | +| `PropertyAmenitiesOrServices` | PROPERTY_AMENITIES_OR_SERVICES | +| `PropertyLocation` | PROPERTY_LOCATION | +| `Renovations` | RENOVATIONS | +| `RequestedRoomRateTooLow` | REQUESTED_ROOM_RATE_TOO_LOW | +| `RequirementsChanged` | REQUIREMENTS_CHANGED | +| `RoomsToSpaceRatio` | ROOMS_TO_SPACE_RATIO | +| `SelectedOtherCity` | SELECTED_OTHER_CITY | +| `SelectedOtherHotelOrVenue` | SELECTED_OTHER_HOTEL_OR_VENUE | +| `SizeOfMeetingSpace` | SIZE_OF_MEETING_SPACE | +| `GuestRoomRateTooHigh` | GUEST_ROOM_RATE_TOO_HIGH | +| `GuestRoomsNoLongerAvailable` | GUEST_ROOMS_NO_LONGER_AVAILABLE | +| `GuestRoomsUnavailable` | GUEST_ROOMS_UNAVAILABLE | +| `SuiteAvailability` | SUITE_AVAILABILITY | +| `TooSpaceIntensive` | TOO_SPACE_INTENSIVE | +| `VenuePermanentlyClosed` | VENUE_PERMANENTLY_CLOSED | +| `VenueTemporarilyClosed` | VENUE_TEMPORARILY_CLOSED | +| `VenueTooSmall` | VENUE_TOO_SMALL | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpResponseReasonJson.md b/packages/csharp/docs/Models/Components/RfpResponseReasonJson.md deleted file mode 100644 index ae6a19a7c..000000000 --- a/packages/csharp/docs/Models/Components/RfpResponseReasonJson.md +++ /dev/null @@ -1,58 +0,0 @@ -# RfpResponseReasonJson - -Reason given for a response to an RFP. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = RfpResponseReasonJson.BookedAnotherVenueOrDestination; -``` - - -## Values - -| Name | Value | -| ---------------------------------------- | ---------------------------------------- | -| `BookedAnotherVenueOrDestination` | BOOKED_ANOTHER_VENUE_OR_DESTINATION | -| `ClientBookedDirectly` | CLIENT_BOOKED_DIRECTLY | -| `CompetitorContractAgreement` | COMPETITOR_CONTRACT_AGREEMENT | -| `DatesOrPattern` | DATES_OR_PATTERN | -| `DecisionDatePassed` | DECISION_DATE_PASSED | -| `DidNotMeetRequirements` | DID_NOT_MEET_REQUIREMENTS | -| `EpidemicOrPandemic` | EPIDEMIC_OR_PANDEMIC | -| `EventCancelled` | EVENT_CANCELLED | -| `EventPostponed` | EVENT_POSTPONED | -| `FoodAndBeverageMinimumTooHigh` | FOOD_AND_BEVERAGE_MINIMUM_TOO_HIGH | -| `FoodAndBeverageTooLow` | FOOD_AND_BEVERAGE_TOO_LOW | -| `IncompleteRfp` | INCOMPLETE_RFP | -| `LateResponse` | LATE_RESPONSE | -| `LowBudget` | LOW_BUDGET | -| `MedicalEmergency` | MEDICAL_EMERGENCY | -| `MeetingRoomRentalTooHigh` | MEETING_ROOM_RENTAL_TOO_HIGH | -| `MeetingSpaceCeilingHeight` | MEETING_SPACE_CEILING_HEIGHT | -| `MeetingSpaceNoLongerAvailable` | MEETING_SPACE_NO_LONGER_AVAILABLE | -| `MeetingSpaceUnavailable` | MEETING_SPACE_UNAVAILABLE | -| `NaturalDisaster` | NATURAL_DISASTER | -| `NoFoodAndBeverage` | NO_FOOD_AND_BEVERAGE | -| `Other` | OTHER | -| `PoliticalOrCivilUnrest` | POLITICAL_OR_CIVIL_UNREST | -| `PreferredOrAlternateDatesUnavailable` | PREFERRED_OR_ALTERNATE_DATES_UNAVAILABLE | -| `PropertyAmenitiesOrServices` | PROPERTY_AMENITIES_OR_SERVICES | -| `PropertyLocation` | PROPERTY_LOCATION | -| `Renovations` | RENOVATIONS | -| `RequestedRoomRateTooLow` | REQUESTED_ROOM_RATE_TOO_LOW | -| `RequirementsChanged` | REQUIREMENTS_CHANGED | -| `RoomsToSpaceRatio` | ROOMS_TO_SPACE_RATIO | -| `SelectedOtherCity` | SELECTED_OTHER_CITY | -| `SelectedOtherHotelOrVenue` | SELECTED_OTHER_HOTEL_OR_VENUE | -| `SizeOfMeetingSpace` | SIZE_OF_MEETING_SPACE | -| `GuestRoomRateTooHigh` | GUEST_ROOM_RATE_TOO_HIGH | -| `GuestRoomsNoLongerAvailable` | GUEST_ROOMS_NO_LONGER_AVAILABLE | -| `GuestRoomsUnavailable` | GUEST_ROOMS_UNAVAILABLE | -| `SuiteAvailability` | SUITE_AVAILABILITY | -| `TooSpaceIntensive` | TOO_SPACE_INTENSIVE | -| `VenuePermanentlyClosed` | VENUE_PERMANENTLY_CLOSED | -| `VenueTemporarilyClosed` | VENUE_TEMPORARILY_CLOSED | -| `VenueTooSmall` | VENUE_TOO_SMALL | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpStatus1.md b/packages/csharp/docs/Models/Components/RfpStatus1.md new file mode 100644 index 000000000..e1237d6be --- /dev/null +++ b/packages/csharp/docs/Models/Components/RfpStatus1.md @@ -0,0 +1,24 @@ +# RfpStatus1 + +Represents state of the RFP. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = RfpStatus1.Pending; +``` + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `Pending` | PENDING | +| `Active` | ACTIVE | +| `Awarded` | AWARDED | +| `Draft` | DRAFT | +| `Historic` | HISTORIC | +| `Cancelled` | CANCELLED | +| `Deleted` | DELETED | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpStatusJson0.md b/packages/csharp/docs/Models/Components/RfpStatusJson0.md deleted file mode 100644 index 56db8631b..000000000 --- a/packages/csharp/docs/Models/Components/RfpStatusJson0.md +++ /dev/null @@ -1,24 +0,0 @@ -# RfpStatusJson0 - -Represents state of the RFP. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = RfpStatusJson0.Pending; -``` - - -## Values - -| Name | Value | -| ----------- | ----------- | -| `Pending` | PENDING | -| `Active` | ACTIVE | -| `Awarded` | AWARDED | -| `Draft` | DRAFT | -| `Historic` | HISTORIC | -| `Cancelled` | CANCELLED | -| `Deleted` | DELETED | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpSupplier.md b/packages/csharp/docs/Models/Components/RfpSupplier.md new file mode 100644 index 000000000..35b1c0b10 --- /dev/null +++ b/packages/csharp/docs/Models/Components/RfpSupplier.md @@ -0,0 +1,39 @@ +# RfpSupplier + +Supplier data for an RFP. + + +## 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 | +| `Supplier` | [ReferenceToSupplier](../../Models/Components/ReferenceToSupplier.md) | :heavy_minus_sign: | The supplier associated with the RFP. | | +| `Rfp` | [ReferenceToRFP](../../Models/Components/ReferenceToRFP.md) | :heavy_minus_sign: | N/A | | +| `ExternalSupplier` | [ExternalSupplier](../../Models/Components/ExternalSupplier.md) | :heavy_minus_sign: | External supplier associated with the RFP. If planners cannot find a supplier in Cvent, they can add the supplier by providing the name when awarding the RFP. | | +| `AssociatedAdvertisements` | [SupplierAssociatedAds](../../Models/Components/SupplierAssociatedAds.md) | :heavy_minus_sign: | N/A | | +| `ProposalInProgress` | *bool* | :heavy_minus_sign: | True indicates that proposal creation is in progress by supplier. | true | +| `InternalNote` | *string* | :heavy_minus_sign: | Internal note by planner for supplier. This is not visible to the supplier. | Don't award this RFP to the same venue as last year. | +| `LeadSource` | [RfpSupplierLeadSource](../../Models/Components/RfpSupplierLeadSource.md) | :heavy_minus_sign: | N/A | | +| `LargestMeetingRoomMet` | *bool* | :heavy_minus_sign: | True indicates the largest meeting room criteria is met. | true | +| `NumberOfGuestRoomsMet` | *bool* | :heavy_minus_sign: | True indicates the number of guest rooms criteria is met. | true | +| `TotalMeetingSpaceMet` | *bool* | :heavy_minus_sign: | True indicates the total meeting space criteria is met. | true | +| `Promotion` | [Promotion](../../Models/Components/Promotion.md) | :heavy_minus_sign: | Promotion applied by planner while adding supplier on RFP. | | +| `RecommendationNote` | *string* | :heavy_minus_sign: | Recommendations added by planner for supplier. | The staff should be courteous. | +| `ShortlistOrder` | *long* | :heavy_minus_sign: | Shortlisted order for the supplier. | 45 | +| `Showcase` | *bool* | :heavy_minus_sign: | True indicates the supplier was added by using RFP showcase feature. | true | +| `Starred` | *bool* | :heavy_minus_sign: | True indicates the RFP is starred by supplier. This is not visible to the planner. | false | +| `Status` | [RfpSupplierStatus](../../Models/Components/RfpSupplierStatus.md) | :heavy_minus_sign: | N/A | AWAITING_PROPOSAL | +| `StatusChangedDateTime` | [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 status was last changed. | 2017-01-02T02:59:59.999Z | +| `Responder` | *string* | :heavy_minus_sign: | Name of the recipient associated with supplier who responded to the RFP. | John Doe | +| `Response` | [SupplierResponse](../../Models/Components/SupplierResponse.md) | :heavy_minus_sign: | N/A | | +| `ExternalProposalId` | *string* | :heavy_minus_sign: | Unique identifier for proposal created by supplier in the external system where it originated. | 143227 | +| `ExternalId` | *string* | :heavy_minus_sign: | Unique identifier for RFP in the external system where it originated. | 234123 | +| `ForwardId` | *string* | :heavy_minus_sign: | The unique identifier generated when supplier forwards the RFP to other suppliers. | d024cc04-adf1-443c-854a-97ab9f5a14b2 | +| `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 the RFP was last sent to the supplier. | 2017-01-02T02:59:59.999Z | +| `LastViewedDateTime` | [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 last viewed by the supplier. | 2017-01-02T02:59:59.999Z | +| `SentDateTime` | [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 originally sent to the supplier. | 2017-01-02T02:59:59.999Z | +| `SentToNso` | *bool* | :heavy_minus_sign: | True indicates the RFP was sent to NSO (National Sales Office) associated with supplier. | false | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpSupplierJson.md b/packages/csharp/docs/Models/Components/RfpSupplierJson.md deleted file mode 100644 index bf9c24053..000000000 --- a/packages/csharp/docs/Models/Components/RfpSupplierJson.md +++ /dev/null @@ -1,39 +0,0 @@ -# RfpSupplierJson - -Supplier data for an RFP. - - -## 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 | -| `Supplier` | [ReferenceToSupplier](../../Models/Components/ReferenceToSupplier.md) | :heavy_check_mark: | The supplier associated with the RFP. | | -| `Rfp` | [ReferenceToRFP](../../Models/Components/ReferenceToRFP.md) | :heavy_minus_sign: | N/A | | -| `ExternalSupplier` | [ExternalSupplier](../../Models/Components/ExternalSupplier.md) | :heavy_minus_sign: | External supplier associated with the RFP. If planners cannot find a supplier in Cvent, they can add the supplier by providing the name when awarding the RFP. | | -| `AssociatedAdvertisements` | [SupplierAssociatedAds](../../Models/Components/SupplierAssociatedAds.md) | :heavy_minus_sign: | N/A | | -| `ProposalInProgress` | *bool* | :heavy_minus_sign: | True indicates that proposal creation is in progress by supplier. | true | -| `InternalNote` | *string* | :heavy_minus_sign: | Internal note by planner for supplier. This is not visible to the supplier. | Don't award this RFP to the same venue as last year. | -| `LeadSource` | [LeadSource](../../Models/Components/LeadSource.md) | :heavy_minus_sign: | N/A | | -| `LargestMeetingRoomMet` | *bool* | :heavy_minus_sign: | True indicates the largest meeting room criteria is met. | true | -| `NumberOfGuestRoomsMet` | *bool* | :heavy_minus_sign: | True indicates the number of guest rooms criteria is met. | true | -| `TotalMeetingSpaceMet` | *bool* | :heavy_minus_sign: | True indicates the total meeting space criteria is met. | true | -| `Promotion` | [Promotion](../../Models/Components/Promotion.md) | :heavy_minus_sign: | Promotion applied by planner while adding supplier on RFP. | | -| `RecommendationNote` | *string* | :heavy_minus_sign: | Recommendations added by planner for supplier. | The staff should be courteous. | -| `ShortlistOrder` | *long* | :heavy_minus_sign: | Shortlisted order for the supplier. | 45 | -| `Showcase` | *bool* | :heavy_minus_sign: | True indicates the supplier was added by using RFP showcase feature. | true | -| `Starred` | *bool* | :heavy_minus_sign: | True indicates the RFP is starred by supplier. This is not visible to the planner. | false | -| `Status` | [RfpSupplierStatus](../../Models/Components/RfpSupplierStatus.md) | :heavy_minus_sign: | N/A | AWAITING_PROPOSAL | -| `StatusChangedDateTime` | [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 status was last changed. | 2017-01-02T02:59:59.999Z | -| `Responder` | *string* | :heavy_minus_sign: | Name of the recipient associated with supplier who responded to the RFP. | John Doe | -| `Response` | [SupplierResponse](../../Models/Components/SupplierResponse.md) | :heavy_minus_sign: | N/A | | -| `ExternalProposalId` | *string* | :heavy_minus_sign: | Unique identifier for proposal created by supplier in the external system where it originated. | 143227 | -| `ExternalId` | *string* | :heavy_minus_sign: | Unique identifier for RFP in the external system where it originated. | 234123 | -| `ForwardId` | *string* | :heavy_minus_sign: | The unique identifier generated when supplier forwards the RFP to other suppliers. | d024cc04-adf1-443c-854a-97ab9f5a14b2 | -| `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 the RFP was last sent to the supplier. | 2017-01-02T02:59:59.999Z | -| `LastViewedDateTime` | [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 last viewed by the supplier. | 2017-01-02T02:59:59.999Z | -| `SentDateTime` | [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 originally sent to the supplier. | 2017-01-02T02:59:59.999Z | -| `SentToNso` | *bool* | :heavy_minus_sign: | True indicates the RFP was sent to NSO (National Sales Office) associated with supplier. | false | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpSupplierLeadSource.md b/packages/csharp/docs/Models/Components/RfpSupplierLeadSource.md new file mode 100644 index 000000000..3b29a4dee --- /dev/null +++ b/packages/csharp/docs/Models/Components/RfpSupplierLeadSource.md @@ -0,0 +1,11 @@ +# RfpSupplierLeadSource + +Lead source details. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | Unique identifier for source generating the RFP. Details about this lead source can be fetched using lead source API. | 50dc08af-24a9-4d01-84be-3d43133dc945 | +| `Section` | [LeadSourceSection](../../Models/Components/LeadSourceSection.md) | :heavy_minus_sign: | Represents lead source section details, which is a sub area of source generating the RFP. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpType1.md b/packages/csharp/docs/Models/Components/RfpType1.md new file mode 100644 index 000000000..5a4e574ae --- /dev/null +++ b/packages/csharp/docs/Models/Components/RfpType1.md @@ -0,0 +1,22 @@ +# RfpType1 + +RFP types based on event requirements. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = RfpType1.MeetingSpaceAndGuestRooms; +``` + + +## Values + +| Name | Value | +| ----------------------------- | ----------------------------- | +| `MeetingSpaceAndGuestRooms` | MEETING_SPACE_AND_GUEST_ROOMS | +| `MeetingSpaceOnly` | MEETING_SPACE_ONLY | +| `GuestRoomsOnly` | GUEST_ROOMS_ONLY | +| `RestaurantRfp` | RESTAURANT_RFP | +| `ServiceProvider` | SERVICE_PROVIDER | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpTypeJson0.md b/packages/csharp/docs/Models/Components/RfpTypeJson0.md deleted file mode 100644 index 94c6431f5..000000000 --- a/packages/csharp/docs/Models/Components/RfpTypeJson0.md +++ /dev/null @@ -1,22 +0,0 @@ -# RfpTypeJson0 - -RFP types based on event requirements. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = RfpTypeJson0.MeetingSpaceAndGuestRooms; -``` - - -## Values - -| Name | Value | -| ----------------------------- | ----------------------------- | -| `MeetingSpaceAndGuestRooms` | MEETING_SPACE_AND_GUEST_ROOMS | -| `MeetingSpaceOnly` | MEETING_SPACE_ONLY | -| `GuestRoomsOnly` | GUEST_ROOMS_ONLY | -| `RestaurantRfp` | RESTAURANT_RFP | -| `ServiceProvider` | SERVICE_PROVIDER | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RoomBedTypeJson.md b/packages/csharp/docs/Models/Components/RoomBedTypeJson.md new file mode 100644 index 000000000..3acc5e7b7 --- /dev/null +++ b/packages/csharp/docs/Models/Components/RoomBedTypeJson.md @@ -0,0 +1,26 @@ +# RoomBedTypeJson + +Code representing the bed type. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = RoomBedTypeJson.SofaBed; +``` + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `SofaBed` | sofa_bed | +| `Double` | double | +| `Full` | full | +| `King` | king | +| `Murphy` | murphy | +| `Queen` | queen | +| `RunOfHouse` | run_of_house | +| `Single` | single | +| `Twin` | twin | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RoomBedTypeJson1.md b/packages/csharp/docs/Models/Components/RoomBedTypeJson1.md deleted file mode 100644 index 0739c6926..000000000 --- a/packages/csharp/docs/Models/Components/RoomBedTypeJson1.md +++ /dev/null @@ -1,26 +0,0 @@ -# RoomBedTypeJson1 - -Code representing the bed type. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = RoomBedTypeJson1.SofaBed; -``` - - -## Values - -| Name | Value | -| ------------ | ------------ | -| `SofaBed` | sofa_bed | -| `Double` | double | -| `Full` | full | -| `King` | king | -| `Murphy` | murphy | -| `Queen` | queen | -| `RunOfHouse` | run_of_house | -| `Single` | single | -| `Twin` | twin | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RoomBlock.md b/packages/csharp/docs/Models/Components/RoomBlock.md new file mode 100644 index 000000000..b3d0a921c --- /dev/null +++ b/packages/csharp/docs/Models/Components/RoomBlock.md @@ -0,0 +1,14 @@ +# RoomBlock + +Contains details related to room allotment for a day. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | Unique identifier for the room block. | 1f6193da-e12b-4638-b1e2-13dd60d0adeb | +| `Date` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 date when the rooms are required. | 2025-10-13 | +| `DayNumber` | *long* | :heavy_minus_sign: | Counter for day number. | 3 | +| `TotalRooms` | *long* | :heavy_minus_sign: | Total number of rooms required for the day. | 24 | +| `Details` | List<[RoomBlockDetails](../../Models/Components/RoomBlockDetails.md)> | :heavy_minus_sign: | Contains detail of quantity required for each room type. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RoomBlockDetails.md b/packages/csharp/docs/Models/Components/RoomBlockDetails.md new file mode 100644 index 000000000..d9a7d3182 --- /dev/null +++ b/packages/csharp/docs/Models/Components/RoomBlockDetails.md @@ -0,0 +1,11 @@ +# RoomBlockDetails + +Contains details related to room allotment for a room type. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Quantity` | *long* | :heavy_minus_sign: | Quantity of rooms required. | 24 | +| `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 diff --git a/packages/csharp/docs/Models/Components/RoomBlockDetailsJson.md b/packages/csharp/docs/Models/Components/RoomBlockDetailsJson.md deleted file mode 100644 index 1c35f4822..000000000 --- a/packages/csharp/docs/Models/Components/RoomBlockDetailsJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# RoomBlockDetailsJson - -Contains details related to room allotment for a room type. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Quantity` | *long* | :heavy_minus_sign: | Quantity of rooms required. | 24 | -| `Type` | [GuestRoomTypeJson](../../Models/Components/GuestRoomTypeJson.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 diff --git a/packages/csharp/docs/Models/Components/RoomBlockJson.md b/packages/csharp/docs/Models/Components/RoomBlockJson.md deleted file mode 100644 index 9b63859b9..000000000 --- a/packages/csharp/docs/Models/Components/RoomBlockJson.md +++ /dev/null @@ -1,14 +0,0 @@ -# RoomBlockJson - -Contains details related to room allotment for a day. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | Unique identifier for the room block. | 1f6193da-e12b-4638-b1e2-13dd60d0adeb | -| `Date` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 date when the rooms are required. | 2025-10-13 | -| `DayNumber` | *long* | :heavy_minus_sign: | Counter for day number. | 3 | -| `TotalRooms` | *long* | :heavy_minus_sign: | Total number of rooms required for the day. | 24 | -| `Details` | List<[RoomBlockDetailsJson](../../Models/Components/RoomBlockDetailsJson.md)> | :heavy_minus_sign: | Contains detail of quantity required for each room type. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ScoresJson.md b/packages/csharp/docs/Models/Components/ScoresJson.md index 68cb9dfaf..a2175a473 100644 --- a/packages/csharp/docs/Models/Components/ScoresJson.md +++ b/packages/csharp/docs/Models/Components/ScoresJson.md @@ -12,6 +12,6 @@ Insight score and ranking. | `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` | [ScoresJsonAttendee](../../Models/Components/ScoresJsonAttendee.md) | :heavy_check_mark: | The attendee with points in this engagement score. | | -| `Event` | [EventJson6](../../Models/Components/EventJson6.md) | :heavy_check_mark: | An event reference used in attendee insights to identify the event context for engagement data | | +| `Event` | [EventJson5](../../Models/Components/EventJson5.md) | :heavy_check_mark: | An event reference used in attendee insights to identify the event context for engagement data | | | `Points` | *long* | :heavy_minus_sign: | The number of points earned by an attendee in this engagement score. | 45 | | `Rank` | *long* | :heavy_minus_sign: | Attendees rank amongst other attendees in terms of points scored. | 10 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SendEmailEventRequest.md b/packages/csharp/docs/Models/Components/SendEmailEventRequest.md index b88924698..5ce872f81 100644 --- a/packages/csharp/docs/Models/Components/SendEmailEventRequest.md +++ b/packages/csharp/docs/Models/Components/SendEmailEventRequest.md @@ -7,7 +7,7 @@ Request object to send an email to one or more event attendees. | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `Event` | [EventJson8](../../Models/Components/EventJson8.md) | :heavy_check_mark: | Details of the event. | | +| `Event` | [EventJson6](../../Models/Components/EventJson6.md) | :heavy_check_mark: | Details of the event. | | | `Email` | [EmailJson2](../../Models/Components/EmailJson2.md) | :heavy_check_mark: | Details of an email to be send. | | | `ResendToPreviousRecipients` | *bool* | :heavy_check_mark: | True indicates this email should be resent to attendees who had already received this email previously. | true | | `Attendees` | List<*string*> | :heavy_check_mark: | Array of attendee identifiers to whom email is to be sent. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SendEmailEventResponse.md b/packages/csharp/docs/Models/Components/SendEmailEventResponse.md index 6723ee4a4..adc584ad9 100644 --- a/packages/csharp/docs/Models/Components/SendEmailEventResponse.md +++ b/packages/csharp/docs/Models/Components/SendEmailEventResponse.md @@ -14,7 +14,7 @@ Response object containing a request ID and a list of all email responses sent t | `RequestId` | *string* | :heavy_check_mark: | The request ID for the email send request. | 3A541E55-3367-4C50-B21B-B6A7613DFB23 | | `Status` | [SendEmailRequestStatusJson](../../Models/Components/SendEmailRequestStatusJson.md) | :heavy_minus_sign: | Denotes the status of the send email request. | ERROR | | `Description` | *string* | :heavy_minus_sign: | The description of the response. If the `status` is `ERROR`, this field contains the reason for the failure. | Cannot send an email from deleted event. | -| `Event` | [EventJson8](../../Models/Components/EventJson8.md) | :heavy_check_mark: | Details of the event. | | +| `Event` | [EventJson6](../../Models/Components/EventJson6.md) | :heavy_check_mark: | Details of the event. | | | `Email` | [EmailJson2](../../Models/Components/EmailJson2.md) | :heavy_check_mark: | Details of an email to be send. | | | `ResendToPreviousRecipients` | *bool* | :heavy_check_mark: | True indicates this email should be resent to attendees who had already received this email previously. | true | | `AttendeeResponses` | List<[AttendeeResponseJson](../../Models/Components/AttendeeResponseJson.md)> | :heavy_minus_sign: | List of responses specifying the status of email request for each attendee. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SessionLite.md b/packages/csharp/docs/Models/Components/SessionLite.md new file mode 100644 index 000000000..8016a5801 --- /dev/null +++ b/packages/csharp/docs/Models/Components/SessionLite.md @@ -0,0 +1,10 @@ +# SessionLite + +The unique identifier of a session. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `Id` | *string* | :heavy_check_mark: | The unique identifier for a session. | 832cb481-74c5-4859-ba21-bbb5be8b86e0 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SessionLiteJson.md b/packages/csharp/docs/Models/Components/SessionLiteJson.md deleted file mode 100644 index 9bc7b1867..000000000 --- a/packages/csharp/docs/Models/Components/SessionLiteJson.md +++ /dev/null @@ -1,10 +0,0 @@ -# SessionLiteJson - -The unique identifier of a session. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `Id` | *string* | :heavy_check_mark: | The unique identifier for a session. | 832cb481-74c5-4859-ba21-bbb5be8b86e0 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SessionQaMessage.md b/packages/csharp/docs/Models/Components/SessionQaMessage.md index 87c40c69d..5e0f11275 100644 --- a/packages/csharp/docs/Models/Components/SessionQaMessage.md +++ b/packages/csharp/docs/Models/Components/SessionQaMessage.md @@ -9,4 +9,4 @@ A session question answer message | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `ActionType` | [SessionQaActionTypeJson](../../Models/Components/SessionQaActionTypeJson.md) | :heavy_check_mark: | The user action that just occurred.
`question.asked` - A question was asked.
`question.upvoted` - A question was upvoted.
`question.statusUpdated` - The status of a question was updated.
`question.answered` - Either question was answered or the earlier provided answer was updated.
`answer.deleted` - An answer was deleted. | question.asked | | `Attendee` | [AttendeeJson](../../Models/Components/AttendeeJson.md) | :heavy_check_mark: | Attendee details | | -| `Question` | [QuestionJson1](../../Models/Components/QuestionJson1.md) | :heavy_check_mark: | Question details | | \ No newline at end of file +| `Question` | [QuestionJson](../../Models/Components/QuestionJson.md) | :heavy_check_mark: | Question details | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SessionSpeaker.md b/packages/csharp/docs/Models/Components/SessionSpeaker.md new file mode 100644 index 000000000..a29c1469c --- /dev/null +++ b/packages/csharp/docs/Models/Components/SessionSpeaker.md @@ -0,0 +1,13 @@ +# SessionSpeaker + +A session speaker + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `Session` | [SessionLite](../../Models/Components/SessionLite.md) | :heavy_minus_sign: | The unique identifier of a session. | | +| `Category` | [SpeakerCategory1](../../Models/Components/SpeakerCategory1.md) | :heavy_minus_sign: | A defined speaker category. | | +| `Order` | *long* | :heavy_minus_sign: | The order of the speaker in a session. | 1 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SessionSpeakerJson.md b/packages/csharp/docs/Models/Components/SessionSpeakerJson.md deleted file mode 100644 index d65e881f1..000000000 --- a/packages/csharp/docs/Models/Components/SessionSpeakerJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# SessionSpeakerJson - -A session speaker - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `Session` | [SessionLiteJson](../../Models/Components/SessionLiteJson.md) | :heavy_minus_sign: | The unique identifier of a session. | | -| `Category` | [CategoryIdNameJson](../../Models/Components/CategoryIdNameJson.md) | :heavy_minus_sign: | A defined speaker category. | | -| `Order` | *long* | :heavy_minus_sign: | The order of the speaker in a session. | 1 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SessionSpeakerPaginatedResponse.md b/packages/csharp/docs/Models/Components/SessionSpeakerPaginatedResponse.md index f2c2c14c3..2bc583bb7 100644 --- a/packages/csharp/docs/Models/Components/SessionSpeakerPaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/SessionSpeakerPaginatedResponse.md @@ -5,7 +5,7 @@ The response from a request to get the list of session speakers. This includes ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `Data` | List<[SessionSpeakerJson](../../Models/Components/SessionSpeakerJson.md)> | :heavy_check_mark: | Collection of a session's speakers. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `Data` | List<[SessionSpeaker](../../Models/Components/SessionSpeaker.md)> | :heavy_check_mark: | Collection of a session's speakers. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SleepingRoomBlockJson.md b/packages/csharp/docs/Models/Components/SleepingRoomBlockJson.md index 89d19c99a..a01657e87 100644 --- a/packages/csharp/docs/Models/Components/SleepingRoomBlockJson.md +++ b/packages/csharp/docs/Models/Components/SleepingRoomBlockJson.md @@ -7,7 +7,7 @@ The sleeping room block. | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `ProposalDateType` | [DateTypeJson1](../../Models/Components/DateTypeJson1.md) | :heavy_minus_sign: | The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). | | +| `ProposalDateType` | [DateTypeJson](../../Models/Components/DateTypeJson.md) | :heavy_minus_sign: | The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). | | | `SleepingRoomType` | [SleepingRoomTypeJson](../../Models/Components/SleepingRoomTypeJson.md) | :heavy_minus_sign: | Sleeping room type | | | `Date` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | Date the rooms in the room block are available. | 2021-01-13 | | `Quantity` | *long* | :heavy_minus_sign: | The total number of rooms for this room block. | 20 | diff --git a/packages/csharp/docs/Models/Components/SleepingRoomJson.md b/packages/csharp/docs/Models/Components/SleepingRoomJson.md index b432c38e9..201a2329b 100644 --- a/packages/csharp/docs/Models/Components/SleepingRoomJson.md +++ b/packages/csharp/docs/Models/Components/SleepingRoomJson.md @@ -7,7 +7,7 @@ The sleeping room. | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `ProposalDateType` | [DateTypeJson1](../../Models/Components/DateTypeJson1.md) | :heavy_minus_sign: | The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). | | +| `ProposalDateType` | [DateTypeJson](../../Models/Components/DateTypeJson.md) | :heavy_minus_sign: | The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). | | | `CheckInDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The check in date for attendees. | 2021-01-13 | | `CheckOutDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The check out date for attendees. | 2021-01-13 | | `PeakRoomNights` | *long* | :heavy_minus_sign: | The night during an event when the most sleeping rooms are occupied. | 2 | diff --git a/packages/csharp/docs/Models/Components/Solution.md b/packages/csharp/docs/Models/Components/Solution.md new file mode 100644 index 000000000..eb6cf8a48 --- /dev/null +++ b/packages/csharp/docs/Models/Components/Solution.md @@ -0,0 +1,19 @@ +# Solution + +The solution where the video exists. Attendee Hub and Events+ represent two different solutions where the video can be found. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = Solution.AttendeeHub; +``` + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `AttendeeHub` | ATTENDEE_HUB | +| `EventsPlus` | EVENTS_PLUS | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SolutionJson.md b/packages/csharp/docs/Models/Components/SolutionJson.md deleted file mode 100644 index e8b67237c..000000000 --- a/packages/csharp/docs/Models/Components/SolutionJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# SolutionJson - -The solution where the video exists. Attendee Hub and Events+ represent two different solutions where the video can be found. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = SolutionJson.AttendeeHub; -``` - - -## Values - -| Name | Value | -| ------------- | ------------- | -| `AttendeeHub` | ATTENDEE_HUB | -| `EventsPlus` | EVENTS_PLUS | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SpaceArea.md b/packages/csharp/docs/Models/Components/SpaceArea.md new file mode 100644 index 000000000..530decbd4 --- /dev/null +++ b/packages/csharp/docs/Models/Components/SpaceArea.md @@ -0,0 +1,91 @@ +# SpaceArea + +Space area divisons. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = SpaceArea.LessThanOneThousandSqFt; +``` + + +## Values + +| Name | Value | +| --------------------------------------- | --------------------------------------- | +| `LessThanOneThousandSqFt` | LESS_THAN_ONE_THOUSAND_SQ_FT | +| `OneThousandSqFt` | ONE_THOUSAND_SQ_FT | +| `TwoThousandSqFt` | TWO_THOUSAND_SQ_FT | +| `ThreeThousandSqFt` | THREE_THOUSAND_SQ_FT | +| `FourThousandSqFt` | FOUR_THOUSAND_SQ_FT | +| `FiveThousandSqFt` | FIVE_THOUSAND_SQ_FT | +| `SixThousandSqFt` | SIX_THOUSAND_SQ_FT | +| `SevenThousandSqFt` | SEVEN_THOUSAND_SQ_FT | +| `EightThousandSqFt` | EIGHT_THOUSAND_SQ_FT | +| `NineThousandSqFt` | NINE_THOUSAND_SQ_FT | +| `TenThousandSqFt` | TEN_THOUSAND_SQ_FT | +| `ElevenThousandSqFt` | ELEVEN_THOUSAND_SQ_FT | +| `TwelveThousandSqFt` | TWELVE_THOUSAND_SQ_FT | +| `ThirteenThousandSqFt` | THIRTEEN_THOUSAND_SQ_FT | +| `FourteenThousandSqFt` | FOURTEEN_THOUSAND_SQ_FT | +| `FifteenThousandSqFt` | FIFTEEN_THOUSAND_SQ_FT | +| `SixteenThousandSqFt` | SIXTEEN_THOUSAND_SQ_FT | +| `SeventeenThousandSqFt` | SEVENTEEN_THOUSAND_SQ_FT | +| `EighteenThousandSqFt` | EIGHTEEN_THOUSAND_SQ_FT | +| `NineteenThousandSqFt` | NINETEEN_THOUSAND_SQ_FT | +| `TwentyThousandSqFt` | TWENTY_THOUSAND_SQ_FT | +| `TwentyFiveThousandSqFt` | TWENTY_FIVE_THOUSAND_SQ_FT | +| `ThirtyThousandSqFt` | THIRTY_THOUSAND_SQ_FT | +| `ThirtyFiveThousandSqFt` | THIRTY_FIVE_THOUSAND_SQ_FT | +| `FortyThousandSqFt` | FORTY_THOUSAND_SQ_FT | +| `FortyFiveThousandSqFt` | FORTY_FIVE_THOUSAND_SQ_FT | +| `FiftyThousandSqFt` | FIFTY_THOUSAND_SQ_FT | +| `FiftyFiveThousandSqFt` | FIFTY_FIVE_THOUSAND_SQ_FT | +| `SixtyThousandSqFt` | SIXTY_THOUSAND_SQ_FT | +| `SixtyFiveThousandSqFt` | SIXTY_FIVE_THOUSAND_SQ_FT | +| `SeventyThousandSqFt` | SEVENTY_THOUSAND_SQ_FT | +| `SeventyFiveThousandSqFt` | SEVENTY_FIVE_THOUSAND_SQ_FT | +| `EightyThousandSqFt` | EIGHTY_THOUSAND_SQ_FT | +| `EightyFiveThousandSqFt` | EIGHTY_FIVE_THOUSAND_SQ_FT | +| `NinetyThousandSqFt` | NINETY_THOUSAND_SQ_FT | +| `OneHundredThousandSqFt` | ONE_HUNDRED_THOUSAND_SQ_FT | +| `GreaterThanOneHundredThousandSqFt` | GREATER_THAN_ONE_HUNDRED_THOUSAND_SQ_FT | +| `LessThanOneHundredSqMtr` | LESS_THAN_ONE_HUNDRED_SQ_MTR | +| `OneHundredSqMtr` | ONE_HUNDRED_SQ_MTR | +| `TwoHundredSqMtr` | TWO_HUNDRED_SQ_MTR | +| `ThreeHundredSqMtr` | THREE_HUNDRED_SQ_MTR | +| `FourHundredSqMtr` | FOUR_HUNDRED_SQ_MTR | +| `FiveHundredSqMtr` | FIVE_HUNDRED_SQ_MTR | +| `SixHundredSqMtr` | SIX_HUNDRED_SQ_MTR | +| `SevenHundredSqMtr` | SEVEN_HUNDRED_SQ_MTR | +| `EightHundredSqMtr` | EIGHT_HUNDRED_SQ_MTR | +| `NineHundredSqMtr` | NINE_HUNDRED_SQ_MTR | +| `OneThousandSqMtr` | ONE_THOUSAND_SQ_MTR | +| `ElevenHundredSqMtr` | ELEVEN_HUNDRED_SQ_MTR | +| `TwelveHundredSqMtr` | TWELVE_HUNDRED_SQ_MTR | +| `ThirteenHundredSqMtr` | THIRTEEN_HUNDRED_SQ_MTR | +| `FourteenHundredSqMtr` | FOURTEEN_HUNDRED_SQ_MTR | +| `FifteenHundredSqMtr` | FIFTEEN_HUNDRED_SQ_MTR | +| `SixteenHundredSqMtr` | SIXTEEN_HUNDRED_SQ_MTR | +| `SeventeenHundredSqMtr` | SEVENTEEN_HUNDRED_SQ_MTR | +| `EighteenHundredSqMtr` | EIGHTEEN_HUNDRED_SQ_MTR | +| `NineteenHundredSqMtr` | NINETEEN_HUNDRED_SQ_MTR | +| `TwoThousandSqMtr` | TWO_THOUSAND_SQ_MTR | +| `TwentyFiveHundredSqMtr` | TWENTY_FIVE_HUNDRED_SQ_MTR | +| `ThreeThousandSqMtr` | THREE_THOUSAND_SQ_MTR | +| `ThirtyFiveHundredSqMtr` | THIRTY_FIVE_HUNDRED_SQ_MTR | +| `FourThousandSqMtr` | FOUR_THOUSAND_SQ_MTR | +| `FortyFiveHundredSqMtr` | FORTY_FIVE_HUNDRED_SQ_MTR | +| `FiveThousandSqMtr` | FIVE_THOUSAND_SQ_MTR | +| `FiftyFiveHundredSqMtr` | FIFTY_FIVE_HUNDRED_SQ_MTR | +| `SixThousandSqMtr` | SIX_THOUSAND_SQ_MTR | +| `SixtyFiveHundredSqMtr` | SIXTY_FIVE_HUNDRED_SQ_MTR | +| `SevenThousandSqMtr` | SEVEN_THOUSAND_SQ_MTR | +| `SeventyFiveHundredSqMtr` | SEVENTY_FIVE_HUNDRED_SQ_MTR | +| `EightThousandSqMtr` | EIGHT_THOUSAND_SQ_MTR | +| `EightyFiveHundredSqMtr` | EIGHTY_FIVE_HUNDRED_SQ_MTR | +| `NineThousandSqMtr` | NINE_THOUSAND_SQ_MTR | +| `TenThousandSqMtr` | TEN_THOUSAND_SQ_MTR | +| `GreaterThanTenThousandSqMtr` | GREATER_THAN_TEN_THOUSAND_SQ_MTR | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SpaceAreaJson0.md b/packages/csharp/docs/Models/Components/SpaceAreaJson0.md deleted file mode 100644 index 5fb37802b..000000000 --- a/packages/csharp/docs/Models/Components/SpaceAreaJson0.md +++ /dev/null @@ -1,91 +0,0 @@ -# SpaceAreaJson0 - -Space area divisons. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = SpaceAreaJson0.LessThanOneThousandSqFt; -``` - - -## Values - -| Name | Value | -| --------------------------------------- | --------------------------------------- | -| `LessThanOneThousandSqFt` | LESS_THAN_ONE_THOUSAND_SQ_FT | -| `OneThousandSqFt` | ONE_THOUSAND_SQ_FT | -| `TwoThousandSqFt` | TWO_THOUSAND_SQ_FT | -| `ThreeThousandSqFt` | THREE_THOUSAND_SQ_FT | -| `FourThousandSqFt` | FOUR_THOUSAND_SQ_FT | -| `FiveThousandSqFt` | FIVE_THOUSAND_SQ_FT | -| `SixThousandSqFt` | SIX_THOUSAND_SQ_FT | -| `SevenThousandSqFt` | SEVEN_THOUSAND_SQ_FT | -| `EightThousandSqFt` | EIGHT_THOUSAND_SQ_FT | -| `NineThousandSqFt` | NINE_THOUSAND_SQ_FT | -| `TenThousandSqFt` | TEN_THOUSAND_SQ_FT | -| `ElevenThousandSqFt` | ELEVEN_THOUSAND_SQ_FT | -| `TwelveThousandSqFt` | TWELVE_THOUSAND_SQ_FT | -| `ThirteenThousandSqFt` | THIRTEEN_THOUSAND_SQ_FT | -| `FourteenThousandSqFt` | FOURTEEN_THOUSAND_SQ_FT | -| `FifteenThousandSqFt` | FIFTEEN_THOUSAND_SQ_FT | -| `SixteenThousandSqFt` | SIXTEEN_THOUSAND_SQ_FT | -| `SeventeenThousandSqFt` | SEVENTEEN_THOUSAND_SQ_FT | -| `EighteenThousandSqFt` | EIGHTEEN_THOUSAND_SQ_FT | -| `NineteenThousandSqFt` | NINETEEN_THOUSAND_SQ_FT | -| `TwentyThousandSqFt` | TWENTY_THOUSAND_SQ_FT | -| `TwentyFiveThousandSqFt` | TWENTY_FIVE_THOUSAND_SQ_FT | -| `ThirtyThousandSqFt` | THIRTY_THOUSAND_SQ_FT | -| `ThirtyFiveThousandSqFt` | THIRTY_FIVE_THOUSAND_SQ_FT | -| `FortyThousandSqFt` | FORTY_THOUSAND_SQ_FT | -| `FortyFiveThousandSqFt` | FORTY_FIVE_THOUSAND_SQ_FT | -| `FiftyThousandSqFt` | FIFTY_THOUSAND_SQ_FT | -| `FiftyFiveThousandSqFt` | FIFTY_FIVE_THOUSAND_SQ_FT | -| `SixtyThousandSqFt` | SIXTY_THOUSAND_SQ_FT | -| `SixtyFiveThousandSqFt` | SIXTY_FIVE_THOUSAND_SQ_FT | -| `SeventyThousandSqFt` | SEVENTY_THOUSAND_SQ_FT | -| `SeventyFiveThousandSqFt` | SEVENTY_FIVE_THOUSAND_SQ_FT | -| `EightyThousandSqFt` | EIGHTY_THOUSAND_SQ_FT | -| `EightyFiveThousandSqFt` | EIGHTY_FIVE_THOUSAND_SQ_FT | -| `NinetyThousandSqFt` | NINETY_THOUSAND_SQ_FT | -| `OneHundredThousandSqFt` | ONE_HUNDRED_THOUSAND_SQ_FT | -| `GreaterThanOneHundredThousandSqFt` | GREATER_THAN_ONE_HUNDRED_THOUSAND_SQ_FT | -| `LessThanOneHundredSqMtr` | LESS_THAN_ONE_HUNDRED_SQ_MTR | -| `OneHundredSqMtr` | ONE_HUNDRED_SQ_MTR | -| `TwoHundredSqMtr` | TWO_HUNDRED_SQ_MTR | -| `ThreeHundredSqMtr` | THREE_HUNDRED_SQ_MTR | -| `FourHundredSqMtr` | FOUR_HUNDRED_SQ_MTR | -| `FiveHundredSqMtr` | FIVE_HUNDRED_SQ_MTR | -| `SixHundredSqMtr` | SIX_HUNDRED_SQ_MTR | -| `SevenHundredSqMtr` | SEVEN_HUNDRED_SQ_MTR | -| `EightHundredSqMtr` | EIGHT_HUNDRED_SQ_MTR | -| `NineHundredSqMtr` | NINE_HUNDRED_SQ_MTR | -| `OneThousandSqMtr` | ONE_THOUSAND_SQ_MTR | -| `ElevenHundredSqMtr` | ELEVEN_HUNDRED_SQ_MTR | -| `TwelveHundredSqMtr` | TWELVE_HUNDRED_SQ_MTR | -| `ThirteenHundredSqMtr` | THIRTEEN_HUNDRED_SQ_MTR | -| `FourteenHundredSqMtr` | FOURTEEN_HUNDRED_SQ_MTR | -| `FifteenHundredSqMtr` | FIFTEEN_HUNDRED_SQ_MTR | -| `SixteenHundredSqMtr` | SIXTEEN_HUNDRED_SQ_MTR | -| `SeventeenHundredSqMtr` | SEVENTEEN_HUNDRED_SQ_MTR | -| `EighteenHundredSqMtr` | EIGHTEEN_HUNDRED_SQ_MTR | -| `NineteenHundredSqMtr` | NINETEEN_HUNDRED_SQ_MTR | -| `TwoThousandSqMtr` | TWO_THOUSAND_SQ_MTR | -| `TwentyFiveHundredSqMtr` | TWENTY_FIVE_HUNDRED_SQ_MTR | -| `ThreeThousandSqMtr` | THREE_THOUSAND_SQ_MTR | -| `ThirtyFiveHundredSqMtr` | THIRTY_FIVE_HUNDRED_SQ_MTR | -| `FourThousandSqMtr` | FOUR_THOUSAND_SQ_MTR | -| `FortyFiveHundredSqMtr` | FORTY_FIVE_HUNDRED_SQ_MTR | -| `FiveThousandSqMtr` | FIVE_THOUSAND_SQ_MTR | -| `FiftyFiveHundredSqMtr` | FIFTY_FIVE_HUNDRED_SQ_MTR | -| `SixThousandSqMtr` | SIX_THOUSAND_SQ_MTR | -| `SixtyFiveHundredSqMtr` | SIXTY_FIVE_HUNDRED_SQ_MTR | -| `SevenThousandSqMtr` | SEVEN_THOUSAND_SQ_MTR | -| `SeventyFiveHundredSqMtr` | SEVENTY_FIVE_HUNDRED_SQ_MTR | -| `EightThousandSqMtr` | EIGHT_THOUSAND_SQ_MTR | -| `EightyFiveHundredSqMtr` | EIGHTY_FIVE_HUNDRED_SQ_MTR | -| `NineThousandSqMtr` | NINE_THOUSAND_SQ_MTR | -| `TenThousandSqMtr` | TEN_THOUSAND_SQ_MTR | -| `GreaterThanTenThousandSqMtr` | GREATER_THAN_TEN_THOUSAND_SQ_MTR | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Speaker.md b/packages/csharp/docs/Models/Components/Speaker.md index 2f82bc9c2..da0cab9e5 100644 --- a/packages/csharp/docs/Models/Components/Speaker.md +++ b/packages/csharp/docs/Models/Components/Speaker.md @@ -16,8 +16,8 @@ An event speaker. | `Designation` | *string* | :heavy_minus_sign: | The speaker's Designation | PhD | | `Company` | *string* | :heavy_minus_sign: | The company to which the speaker is associated | Cvent | | `Title` | *string* | :heavy_minus_sign: | The speaker's title | Lead Engineer | -| `Category` | [CategoryIdNameJson](../../Models/Components/CategoryIdNameJson.md) | :heavy_minus_sign: | A defined speaker category. | | -| `Links` | [ContactLinksJsonInput](../../Models/Components/ContactLinksJsonInput.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | +| `Category` | [SpeakerCategory1](../../Models/Components/SpeakerCategory1.md) | :heavy_minus_sign: | A defined speaker category. | | +| `Links` | [ContactLinksInput](../../Models/Components/ContactLinksInput.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | | `Visibility` | *bool* | :heavy_minus_sign: | Indicates if a given speaker should be displayed on Event Website | false | | `Biography` | *string* | :heavy_minus_sign: | The speaker's biography | Presentation and Speaking voice expert, Barbara is a highly regarded coach and facilitator | | `InternalNote` | *string* | :heavy_minus_sign: | The Internal Note of the speaker | Barbara is multilingual | diff --git a/packages/csharp/docs/Models/Components/SpeakerCategory.md b/packages/csharp/docs/Models/Components/SpeakerCategory.md deleted file mode 100644 index 7dd4e9f25..000000000 --- a/packages/csharp/docs/Models/Components/SpeakerCategory.md +++ /dev/null @@ -1,10 +0,0 @@ -# SpeakerCategory - -A speaker category. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -| `Name` | *string* | :heavy_minus_sign: | The name of the speaker category | Presenters | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SpeakerCategory1.md b/packages/csharp/docs/Models/Components/SpeakerCategory1.md new file mode 100644 index 000000000..214b021ee --- /dev/null +++ b/packages/csharp/docs/Models/Components/SpeakerCategory1.md @@ -0,0 +1,11 @@ +# SpeakerCategory1 + +A defined speaker category. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `Name` | *string* | :heavy_minus_sign: | The name of the speaker category | Presenters | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SpeakerCategory2.md b/packages/csharp/docs/Models/Components/SpeakerCategory2.md new file mode 100644 index 000000000..9664676c5 --- /dev/null +++ b/packages/csharp/docs/Models/Components/SpeakerCategory2.md @@ -0,0 +1,10 @@ +# SpeakerCategory2 + +A speaker category. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | +| `Name` | *string* | :heavy_minus_sign: | The name of the speaker category | Presenters | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SpeakerCategoryPaginatedResponse.md b/packages/csharp/docs/Models/Components/SpeakerCategoryPaginatedResponse.md index 022b82612..3059a9084 100644 --- a/packages/csharp/docs/Models/Components/SpeakerCategoryPaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/SpeakerCategoryPaginatedResponse.md @@ -7,5 +7,5 @@ The response from a request to get the list of speaker categories. This include | Field | Type | Required | Description | | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | | `Data` | List<[ExistingSpeakerCategory](../../Models/Components/ExistingSpeakerCategory.md)> | :heavy_check_mark: | Collection of speaker categories. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SpeakerDocumentPaginatedResponse.md b/packages/csharp/docs/Models/Components/SpeakerDocumentPaginatedResponse.md index f06f093a2..9e45871d3 100644 --- a/packages/csharp/docs/Models/Components/SpeakerDocumentPaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/SpeakerDocumentPaginatedResponse.md @@ -7,5 +7,5 @@ The response from a request to get the list of documents for a single speaker. | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | | `Data` | List<[SpeakerFile](../../Models/Components/SpeakerFile.md)> | :heavy_check_mark: | Collection of a speaker's documents. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SpeakerLite.md b/packages/csharp/docs/Models/Components/SpeakerLite.md index 432b1de35..be4521219 100644 --- a/packages/csharp/docs/Models/Components/SpeakerLite.md +++ b/packages/csharp/docs/Models/Components/SpeakerLite.md @@ -5,6 +5,6 @@ The unique identifier of a speaker. ## Fields -| Field | Type | Required | Description | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `Id` | *string* | :heavy_check_mark: | The unique identifier for a speaker. | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `Id` | *string* | :heavy_check_mark: | The unique identifier for a speaker. | 6077a9f1-a230-40cd-9e32-b493a84aaa80 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SpeakerLite1.md b/packages/csharp/docs/Models/Components/SpeakerLite1.md new file mode 100644 index 000000000..5ec2cd719 --- /dev/null +++ b/packages/csharp/docs/Models/Components/SpeakerLite1.md @@ -0,0 +1,10 @@ +# SpeakerLite1 + +The unique identifier of a speaker. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `Id` | *string* | :heavy_check_mark: | The unique identifier for a speaker. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SpeakerLiteJson.md b/packages/csharp/docs/Models/Components/SpeakerLiteJson.md deleted file mode 100644 index a330a586c..000000000 --- a/packages/csharp/docs/Models/Components/SpeakerLiteJson.md +++ /dev/null @@ -1,10 +0,0 @@ -# SpeakerLiteJson - -The unique identifier of a speaker. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `Id` | *string* | :heavy_check_mark: | The unique identifier for a speaker. | 6077a9f1-a230-40cd-9e32-b493a84aaa80 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SpeakerPaginatedResponse.md b/packages/csharp/docs/Models/Components/SpeakerPaginatedResponse.md index c130071ff..a888ed989 100644 --- a/packages/csharp/docs/Models/Components/SpeakerPaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/SpeakerPaginatedResponse.md @@ -7,5 +7,5 @@ The response from a request to get the list of speakers. This includes the pagi | Field | Type | Required | Description | | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | | `Data` | List<[ExistingSpeaker](../../Models/Components/ExistingSpeaker.md)> | :heavy_check_mark: | Collection of speakers. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SpeakerProgramItem.md b/packages/csharp/docs/Models/Components/SpeakerProgramItem.md index c19290c68..db5c583db 100644 --- a/packages/csharp/docs/Models/Components/SpeakerProgramItem.md +++ b/packages/csharp/docs/Models/Components/SpeakerProgramItem.md @@ -12,7 +12,7 @@ Represents a program item object that will be added to a speaker. | `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 | | `Id` | *string* | :heavy_minus_sign: | ID of the speaker to program item relationship. | 38db6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `Event` | [EventLiteJson](../../Models/Components/EventLiteJson.md) | :heavy_check_mark: | The unique identifier of an event. | | -| `Session` | [SessionLiteJson](../../Models/Components/SessionLiteJson.md) | :heavy_check_mark: | The unique identifier of a session. | | -| `Speaker` | [SpeakerLiteJson](../../Models/Components/SpeakerLiteJson.md) | :heavy_check_mark: | The unique identifier of a speaker. | | -| `ProgramItem` | [ProgramItemLiteJson](../../Models/Components/ProgramItemLiteJson.md) | :heavy_check_mark: | The unique identifier of a program item. | | \ No newline at end of file +| `Event` | [EventLite](../../Models/Components/EventLite.md) | :heavy_check_mark: | The unique identifier of an event. | | +| `Session` | [SessionLite](../../Models/Components/SessionLite.md) | :heavy_check_mark: | The unique identifier of a session. | | +| `Speaker` | [SpeakerLite](../../Models/Components/SpeakerLite.md) | :heavy_check_mark: | The unique identifier of a speaker. | | +| `ProgramItem` | [ProgramItemLite](../../Models/Components/ProgramItemLite.md) | :heavy_check_mark: | The unique identifier of a program item. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SpeakerSession.md b/packages/csharp/docs/Models/Components/SpeakerSession.md index 491a9e645..0ef7c16df 100644 --- a/packages/csharp/docs/Models/Components/SpeakerSession.md +++ b/packages/csharp/docs/Models/Components/SpeakerSession.md @@ -8,5 +8,5 @@ A speaker to session relationship. | Field | Type | Required | Description | Example | | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | | `Id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `Speaker` | [SpeakerLite](../../Models/Components/SpeakerLite.md) | :heavy_minus_sign: | The unique identifier of a speaker. | | +| `Speaker` | [SpeakerLite1](../../Models/Components/SpeakerLite1.md) | :heavy_minus_sign: | The unique identifier of a speaker. | | | `Category` | [NamedObject](../../Models/Components/NamedObject.md) | :heavy_minus_sign: | A Named object | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/StakeholderJson.md b/packages/csharp/docs/Models/Components/StakeholderJson.md index 0ba375b0e..62d845f36 100644 --- a/packages/csharp/docs/Models/Components/StakeholderJson.md +++ b/packages/csharp/docs/Models/Components/StakeholderJson.md @@ -31,7 +31,7 @@ Represents an event stakeholder. | ~~`PrimaryAddressType`~~ | [StakeholderJsonAddressType](../../Models/Components/StakeholderJsonAddressType.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | Home | | ~~`HomeAddress`~~ | [StakeholderJsonHomeAddressAddress](../../Models/Components/StakeholderJsonHomeAddressAddress.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | | | ~~`HomeFax`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Home fax number. | 555-555-5555 | -| ~~`CustomFields`~~ | List<[CustomFieldJson3](../../Models/Components/CustomFieldJson3.md)> | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Collection of custom fields. | | +| ~~`CustomFields`~~ | List<[CustomFieldJson2](../../Models/Components/CustomFieldJson2.md)> | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Collection of custom fields. | | | ~~`SourceId`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This is an ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. | system-a-00000000-0000-0000-0000-000000000000 | | ~~`Created`~~ | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The ISO 8601 zoned date time when this record was created. | 2023-12-01T13:00:00Z | | ~~`CreatedBy`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The identifier of the user that created this record. | hporter | diff --git a/packages/csharp/docs/Models/Components/StandardQuestion.md b/packages/csharp/docs/Models/Components/StandardQuestion.md new file mode 100644 index 000000000..18669703e --- /dev/null +++ b/packages/csharp/docs/Models/Components/StandardQuestion.md @@ -0,0 +1,10 @@ +# StandardQuestion + +Standard questions are selected from a predefined list of Cvent questions that can be used in an RFP. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | Unique identifier for standard question. | 50dc08af-24a9-4d01-84be-3d43133dc945 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/StandardQuestionJson.md b/packages/csharp/docs/Models/Components/StandardQuestionJson.md deleted file mode 100644 index 3920c8960..000000000 --- a/packages/csharp/docs/Models/Components/StandardQuestionJson.md +++ /dev/null @@ -1,10 +0,0 @@ -# StandardQuestionJson - -Standard questions are selected from a predefined list of Cvent questions that can be used in an RFP. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | Unique identifier for standard question. | 50dc08af-24a9-4d01-84be-3d43133dc945 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/StandardSurveyJson.md b/packages/csharp/docs/Models/Components/StandardSurveyJson.md index 92a73ba5a..4d8f3d3e7 100644 --- a/packages/csharp/docs/Models/Components/StandardSurveyJson.md +++ b/packages/csharp/docs/Models/Components/StandardSurveyJson.md @@ -21,4 +21,4 @@ A standard survey. | `ResponseCount` | *long* | :heavy_minus_sign: | The count of responses. | 10 | | `Status` | [SurveyStatusJson](../../Models/Components/SurveyStatusJson.md) | :heavy_minus_sign: | Survey Status | Active | | `ArchiveAfter` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The survey will be archived after this ISO 8601 formatted date and time. | 2022-05-07T12:00:00.000Z | -| `CustomFields` | List<[CustomFieldJson2](../../Models/Components/CustomFieldJson2.md)> | :heavy_minus_sign: | Collection of survey custom fields. | | \ No newline at end of file +| `CustomFields` | List<[CustomFieldJson1](../../Models/Components/CustomFieldJson1.md)> | :heavy_minus_sign: | Collection of survey custom fields. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/StandardSurveyQuestionJson.md b/packages/csharp/docs/Models/Components/StandardSurveyQuestionJson.md index dba63d868..64cba74c4 100644 --- a/packages/csharp/docs/Models/Components/StandardSurveyQuestionJson.md +++ b/packages/csharp/docs/Models/Components/StandardSurveyQuestionJson.md @@ -16,15 +16,15 @@ A standard survey question. | `ShortText` | *string* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | | `HtmlText` | *string* | :heavy_minus_sign: | Html of the question | Question Html | | `Code` | *string* | :heavy_minus_sign: | Question Code | 4l6x | -| `Type` | [QuestionTypeJson2](../../Models/Components/QuestionTypeJson2.md) | :heavy_minus_sign: | Question Type. | SingleChoice | -| `Choices` | List<[ChoiceJson2](../../Models/Components/ChoiceJson2.md)> | :heavy_minus_sign: | List of choices for the question. | | -| `Categories` | List<[CategoryJson2](../../Models/Components/CategoryJson2.md)> | :heavy_minus_sign: | List of categories for the question. | | -| `SubCategories` | List<[TextFieldJson1](../../Models/Components/TextFieldJson1.md)> | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions | | -| `NotApplicableAnswer` | [AdditionalChoiceJson1](../../Models/Components/AdditionalChoiceJson1.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | -| `OtherAnswer` | [AdditionalChoiceJson1](../../Models/Components/AdditionalChoiceJson1.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | +| `Type` | [QuestionTypeJson1](../../Models/Components/QuestionTypeJson1.md) | :heavy_minus_sign: | Question Type. | SingleChoice | +| `Choices` | List<[ChoiceJson1](../../Models/Components/ChoiceJson1.md)> | :heavy_minus_sign: | List of choices for the question. | | +| `Categories` | List<[CategoryJson1](../../Models/Components/CategoryJson1.md)> | :heavy_minus_sign: | List of categories for the question. | | +| `SubCategories` | List<[TextFieldJson](../../Models/Components/TextFieldJson.md)> | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions | | +| `NotApplicableAnswer` | [AdditionalChoiceJson](../../Models/Components/AdditionalChoiceJson.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | +| `OtherAnswer` | [AdditionalChoiceJson](../../Models/Components/AdditionalChoiceJson.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | | `Comments` | *string* | :heavy_minus_sign: | Text Value of Comments Input box placeholder | Comments Text | | `Required` | *bool* | :heavy_minus_sign: | Is this a mandatory question | true | -| `Fields` | List<[FieldJson2](../../Models/Components/FieldJson2.md)> | :heavy_minus_sign: | List of fields for form/matrix questions | | +| `Fields` | List<[FieldJson](../../Models/Components/FieldJson.md)> | :heavy_minus_sign: | List of fields for form/matrix questions | | | `MaxScore` | *double* | :heavy_minus_sign: | Max possible score | 20 | | `TotalSum` | *long* | :heavy_minus_sign: | Total configured sum of all choices for number allocation question | 45 | | `Survey` | [UuidJson](../../Models/Components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | diff --git a/packages/csharp/docs/Models/Components/SupplierResponse.md b/packages/csharp/docs/Models/Components/SupplierResponse.md index f67b4a7d6..08b00a551 100644 --- a/packages/csharp/docs/Models/Components/SupplierResponse.md +++ b/packages/csharp/docs/Models/Components/SupplierResponse.md @@ -8,5 +8,5 @@ Contains response from supplier on an RFP. | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | | `DateTime` | [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 response was sent by supplier. | 2017-02-02T03:19:19.991Z | -| `Reason` | [RfpResponseReasonJson](../../Models/Components/RfpResponseReasonJson.md) | :heavy_minus_sign: | Reason given for a response to an RFP. | GUEST_ROOMS_NO_LONGER_AVAILABLE | +| `Reason` | [RfpResponseReason](../../Models/Components/RfpResponseReason.md) | :heavy_minus_sign: | Reason given for a response to an RFP. | GUEST_ROOMS_NO_LONGER_AVAILABLE | | `Comment` | *string* | :heavy_minus_sign: | Comment for the response reason. | We are unable to accommodate the request on the required dates. Please let us know if we can help with any other dates. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SupplierType.md b/packages/csharp/docs/Models/Components/SupplierType.md new file mode 100644 index 000000000..6ab4ec9ef --- /dev/null +++ b/packages/csharp/docs/Models/Components/SupplierType.md @@ -0,0 +1,21 @@ +# SupplierType + +Type of supplier. `CONVENTION_AND_CONFERENCE_CENTER`: Supplier of large event venues such as convention centers, conference centers, and exposition halls. `CVB`: CVBs (Convention and Visitors Bureau) are suppliers that assist in the promotion and facilitation of tourism, conventions, and events in their respective areas. `HOTEL`: Suppliers that are hotels or resorts. `OTHER`: Suppliers that do not fall under other categories. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = SupplierType.ConventionAndConferenceCenter; +``` + + +## Values + +| Name | Value | +| -------------------------------- | -------------------------------- | +| `ConventionAndConferenceCenter` | CONVENTION_AND_CONFERENCE_CENTER | +| `Cvb` | CVB | +| `Hotel` | HOTEL | +| `Other` | OTHER | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SupplierTypeJson.md b/packages/csharp/docs/Models/Components/SupplierTypeJson.md index aea4f9c74..324d6c4ad 100644 --- a/packages/csharp/docs/Models/Components/SupplierTypeJson.md +++ b/packages/csharp/docs/Models/Components/SupplierTypeJson.md @@ -1,21 +1,18 @@ # SupplierTypeJson -Type of supplier. `CONVENTION_AND_CONFERENCE_CENTER`: Supplier of large event venues such as convention centers, conference centers, and exposition halls. `CVB`: CVBs (Convention and Visitors Bureau) are suppliers that assist in the promotion and facilitation of tourism, conventions, and events in their respective areas. `HOTEL`: Suppliers that are hotels or resorts. `OTHER`: Suppliers that do not fall under other categories. +The supplier's type. VENUE: A hotel, convention and visitors bureau (CVB), or other location for an event. ## Example Usage ```csharp using Cvent.SDK.Models.Components; -var value = SupplierTypeJson.ConventionAndConferenceCenter; +var value = SupplierTypeJson.Venue; ``` ## Values -| Name | Value | -| -------------------------------- | -------------------------------- | -| `ConventionAndConferenceCenter` | CONVENTION_AND_CONFERENCE_CENTER | -| `Cvb` | CVB | -| `Hotel` | HOTEL | -| `Other` | OTHER | \ No newline at end of file +| Name | Value | +| ------- | ------- | +| `Venue` | VENUE | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SupplierTypeJson1.md b/packages/csharp/docs/Models/Components/SupplierTypeJson1.md deleted file mode 100644 index 55df168d1..000000000 --- a/packages/csharp/docs/Models/Components/SupplierTypeJson1.md +++ /dev/null @@ -1,18 +0,0 @@ -# SupplierTypeJson1 - -The supplier's type. VENUE: A hotel, convention and visitors bureau (CVB), or other location for an event. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = SupplierTypeJson1.Venue; -``` - - -## Values - -| Name | Value | -| ------- | ------- | -| `Venue` | VENUE | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SurveyContactId.md b/packages/csharp/docs/Models/Components/SurveyContactId.md new file mode 100644 index 000000000..fff87dc57 --- /dev/null +++ b/packages/csharp/docs/Models/Components/SurveyContactId.md @@ -0,0 +1,11 @@ +# SurveyContactId + +A pair of survey and contact id. + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `SurveyId` | *string* | :heavy_check_mark: | ID of the survey | +| `ContactId` | *string* | :heavy_check_mark: | ID of the contact | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SurveyContactIdJson.md b/packages/csharp/docs/Models/Components/SurveyContactIdJson.md deleted file mode 100644 index 9e7821ffa..000000000 --- a/packages/csharp/docs/Models/Components/SurveyContactIdJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# SurveyContactIdJson - -A pair of survey and contact id. - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `SurveyId` | *string* | :heavy_check_mark: | ID of the survey | -| `ContactId` | *string* | :heavy_check_mark: | ID of the contact | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/SurveyJson.md b/packages/csharp/docs/Models/Components/SurveyJson.md index 1d266ceea..6d459bc3d 100644 --- a/packages/csharp/docs/Models/Components/SurveyJson.md +++ b/packages/csharp/docs/Models/Components/SurveyJson.md @@ -22,4 +22,4 @@ Parent survey detail object. It can be of two types namely: 'Event' and 'Standal | `Status` | [SurveyStatusJson](../../Models/Components/SurveyStatusJson.md) | :heavy_minus_sign: | Survey Status | Active | | `Type` | [SurveyTypeJson](../../Models/Components/SurveyTypeJson.md) | :heavy_minus_sign: | Describes the survey's type. `Standalone` indicates the survey exists independent of an event. `Event` indicates the survey is an event or session feedback survey. `Assessment` indicates the survey is associated with an event and is for assessing attendees. | Event | | `ActivateDate` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The survey will be activated on this ISO 8601 formatted date and time. | 2022-02-01T23:59:00.000Z | -| `Events` | List<[EventJson4](../../Models/Components/EventJson4.md)> | :heavy_minus_sign: | List of events with which this survey is linked. | | \ No newline at end of file +| `Events` | List<[EventJson3](../../Models/Components/EventJson3.md)> | :heavy_minus_sign: | List of events with which this survey is linked. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TargetType.md b/packages/csharp/docs/Models/Components/TargetType.md new file mode 100644 index 000000000..c5e51fb2b --- /dev/null +++ b/packages/csharp/docs/Models/Components/TargetType.md @@ -0,0 +1,35 @@ +# TargetType + +The target type can either refer to the type of recipient or the type of action that made the recipient a participant in the RFP process. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = TargetType.Assignee; +``` + + +## Values + +| Name | Value | +| -------------------- | -------------------- | +| `Assignee` | ASSIGNEE | +| `BillingContact` | BILLING_CONTACT | +| `ForwardingNso` | FORWARDING_NSO | +| `ForwardingSupplier` | FORWARDING_SUPPLIER | +| `HyattEnvision` | HYATT_ENVISION | +| `InProgress` | IN_PROGRESS | +| `MarriottSiebel` | MARRIOTT_SIEBEL | +| `MeetingBroker` | MEETING_BROKER | +| `Opera` | OPERA | +| `Planner` | PLANNER | +| `PrivateNso` | PRIVATE_NSO | +| `ProposalCc` | PROPOSAL_CC | +| `Proposal` | PROPOSAL | +| `PublicNso` | PUBLIC_NSO | +| `ReceiptConfirmed` | RECEIPT_CONFIRMED | +| `RfpCcRecipient` | RFP_CC_RECIPIENT | +| `Supplier` | SUPPLIER | +| `TurnDown` | TURN_DOWN | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TargetTypeJson.md b/packages/csharp/docs/Models/Components/TargetTypeJson.md deleted file mode 100644 index 8385fcacd..000000000 --- a/packages/csharp/docs/Models/Components/TargetTypeJson.md +++ /dev/null @@ -1,35 +0,0 @@ -# TargetTypeJson - -The target type can either refer to the type of recipient or the type of action that made the recipient a participant in the RFP process. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = TargetTypeJson.Assignee; -``` - - -## Values - -| Name | Value | -| -------------------- | -------------------- | -| `Assignee` | ASSIGNEE | -| `BillingContact` | BILLING_CONTACT | -| `ForwardingNso` | FORWARDING_NSO | -| `ForwardingSupplier` | FORWARDING_SUPPLIER | -| `HyattEnvision` | HYATT_ENVISION | -| `InProgress` | IN_PROGRESS | -| `MarriottSiebel` | MARRIOTT_SIEBEL | -| `MeetingBroker` | MEETING_BROKER | -| `Opera` | OPERA | -| `Planner` | PLANNER | -| `PrivateNso` | PRIVATE_NSO | -| `ProposalCc` | PROPOSAL_CC | -| `Proposal` | PROPOSAL | -| `PublicNso` | PUBLIC_NSO | -| `ReceiptConfirmed` | RECEIPT_CONFIRMED | -| `RfpCcRecipient` | RFP_CC_RECIPIENT | -| `Supplier` | SUPPLIER | -| `TurnDown` | TURN_DOWN | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TaxType.md b/packages/csharp/docs/Models/Components/TaxType.md new file mode 100644 index 000000000..f85df3167 --- /dev/null +++ b/packages/csharp/docs/Models/Components/TaxType.md @@ -0,0 +1,26 @@ +# TaxType + +Bid tax type. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = TaxType.CityTax; +``` + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `CityTax` | city_tax | +| `LodgingTax` | lodging_tax | +| `OccupancyTax` | occupancy_tax | +| `ServiceFee` | service_fee | +| `StateTax` | state_tax | +| `VatTax` | vat_tax | +| `VatfbTax` | vatfb_tax | +| `OtherTax` | other_tax | +| `ResortFee` | resort_fee | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TaxTypeJson.md b/packages/csharp/docs/Models/Components/TaxTypeJson.md deleted file mode 100644 index 68ba8f5b7..000000000 --- a/packages/csharp/docs/Models/Components/TaxTypeJson.md +++ /dev/null @@ -1,26 +0,0 @@ -# TaxTypeJson - -Bid tax type. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = TaxTypeJson.CityTax; -``` - - -## Values - -| Name | Value | -| -------------- | -------------- | -| `CityTax` | city_tax | -| `LodgingTax` | lodging_tax | -| `OccupancyTax` | occupancy_tax | -| `ServiceFee` | service_fee | -| `StateTax` | state_tax | -| `VatTax` | vat_tax | -| `VatfbTax` | vatfb_tax | -| `OtherTax` | other_tax | -| `ResortFee` | resort_fee | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TextAnswerFormat.md b/packages/csharp/docs/Models/Components/TextAnswerFormat.md new file mode 100644 index 000000000..c13eea2e5 --- /dev/null +++ b/packages/csharp/docs/Models/Components/TextAnswerFormat.md @@ -0,0 +1,21 @@ +# TextAnswerFormat + +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. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = TextAnswerFormat.CustomFormat; +``` + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `CustomFormat` | CustomFormat | +| `EmailAddress` | EmailAddress | +| `General` | General | +| `USPhoneNumber` | USPhoneNumber | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TextAnswerFormatJson.md b/packages/csharp/docs/Models/Components/TextAnswerFormatJson.md deleted file mode 100644 index 88782c21c..000000000 --- a/packages/csharp/docs/Models/Components/TextAnswerFormatJson.md +++ /dev/null @@ -1,21 +0,0 @@ -# TextAnswerFormatJson - -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. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = TextAnswerFormatJson.CustomFormat; -``` - - -## Values - -| Name | Value | -| --------------- | --------------- | -| `CustomFormat` | CustomFormat | -| `EmailAddress` | EmailAddress | -| `General` | General | -| `USPhoneNumber` | USPhoneNumber | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TextField.md b/packages/csharp/docs/Models/Components/TextField.md new file mode 100644 index 000000000..e95ee1eb3 --- /dev/null +++ b/packages/csharp/docs/Models/Components/TextField.md @@ -0,0 +1,12 @@ +# TextField + +A survey text field. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | Text field ID. | | +| `Text` | *string* | :heavy_minus_sign: | Text value of the field. Displays to users in the UI. | Are you spending any significant time offsite and need transportation? | +| `ShortText` | *string* | :heavy_minus_sign: | Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. | Needs offsite transportation? | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TextFieldJson.md b/packages/csharp/docs/Models/Components/TextFieldJson.md index c327edafe..0895dc370 100644 --- a/packages/csharp/docs/Models/Components/TextFieldJson.md +++ b/packages/csharp/docs/Models/Components/TextFieldJson.md @@ -5,8 +5,8 @@ A survey text field. ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | Text field ID. | | -| `Text` | *string* | :heavy_minus_sign: | Text value of the field. Displays to users in the UI. | Are you spending any significant time offsite and need transportation? | -| `ShortText` | *string* | :heavy_minus_sign: | Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. | Needs offsite transportation? | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | Text field ID. | | +| `Text` | *string* | :heavy_minus_sign: | text Value of the Field | Field value | +| `ShortText` | *string* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TextFieldJson1.md b/packages/csharp/docs/Models/Components/TextFieldJson1.md deleted file mode 100644 index 3ef01a43f..000000000 --- a/packages/csharp/docs/Models/Components/TextFieldJson1.md +++ /dev/null @@ -1,12 +0,0 @@ -# TextFieldJson1 - -A survey text field. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | Text field ID. | | -| `Text` | *string* | :heavy_minus_sign: | text Value of the Field | Field value | -| `ShortText` | *string* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Three.md b/packages/csharp/docs/Models/Components/Three.md index 0d48692cb..21540f234 100644 --- a/packages/csharp/docs/Models/Components/Three.md +++ b/packages/csharp/docs/Models/Components/Three.md @@ -7,5 +7,5 @@ Choices for a custom field. | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `Choices` | List<[ChoiceJson3](../../Models/Components/ChoiceJson3.md)> | :heavy_minus_sign: | Choices of custom fields. | +| `Choices` | List<[ChoiceJson2](../../Models/Components/ChoiceJson2.md)> | :heavy_minus_sign: | Choices of custom fields. | | `DisplayType` | [ChoicesDisplayTypeJson](../../Models/Components/ChoicesDisplayTypeJson.md) | :heavy_minus_sign: | Display type indicating how to display the choices on UI. For 'Choice - Single Answer' custom field type, this defaults to Dropdown. For 'Choice - Multiple Answers' custom field type, this defaults to MultiSelectBox. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ThreeInput.md b/packages/csharp/docs/Models/Components/ThreeInput.md index 34d096535..234d44f4b 100644 --- a/packages/csharp/docs/Models/Components/ThreeInput.md +++ b/packages/csharp/docs/Models/Components/ThreeInput.md @@ -7,5 +7,5 @@ Choices for a custom field. | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `Choices` | List<[ChoiceJson3Input](../../Models/Components/ChoiceJson3Input.md)> | :heavy_minus_sign: | Choices of custom fields. | +| `Choices` | List<[ChoiceJson2Input](../../Models/Components/ChoiceJson2Input.md)> | :heavy_minus_sign: | Choices of custom fields. | | `DisplayType` | [ChoicesDisplayTypeJson](../../Models/Components/ChoicesDisplayTypeJson.md) | :heavy_minus_sign: | Display type indicating how to display the choices on UI. For 'Choice - Single Answer' custom field type, this defaults to Dropdown. For 'Choice - Multiple Answers' custom field type, this defaults to MultiSelectBox. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ThumbnailStatus.md b/packages/csharp/docs/Models/Components/ThumbnailStatus.md new file mode 100644 index 000000000..9eb82f5bc --- /dev/null +++ b/packages/csharp/docs/Models/Components/ThumbnailStatus.md @@ -0,0 +1,22 @@ +# ThumbnailStatus + +Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was completed. Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = ThumbnailStatus.Started; +``` + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `Started` | Started | +| `Uploaded` | Uploaded | +| `Processing` | Processing | +| `Available` | Available | +| `Rejected` | Rejected | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ThumbnailStatusJson.md b/packages/csharp/docs/Models/Components/ThumbnailStatusJson.md deleted file mode 100644 index 8d341c4db..000000000 --- a/packages/csharp/docs/Models/Components/ThumbnailStatusJson.md +++ /dev/null @@ -1,22 +0,0 @@ -# ThumbnailStatusJson - -Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was completed. Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = ThumbnailStatusJson.Started; -``` - - -## Values - -| Name | Value | -| ------------ | ------------ | -| `Started` | Started | -| `Uploaded` | Uploaded | -| `Processing` | Processing | -| `Available` | Available | -| `Rejected` | Rejected | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ThumbnailType.md b/packages/csharp/docs/Models/Components/ThumbnailType.md new file mode 100644 index 000000000..0145f21b7 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ThumbnailType.md @@ -0,0 +1,24 @@ +# ThumbnailType + +This is used to denote the file type of a thumbnail + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = ThumbnailType.Bmp; +``` + + +## Values + +| Name | Value | +| ------ | ------ | +| `Bmp` | bmp | +| `Gif` | gif | +| `Jpe` | jpe | +| `Jpeg` | jpeg | +| `Jpg` | jpg | +| `Png` | png | +| `Svg` | svg | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ThumbnailTypeJson.md b/packages/csharp/docs/Models/Components/ThumbnailTypeJson.md deleted file mode 100644 index 5ffdf383b..000000000 --- a/packages/csharp/docs/Models/Components/ThumbnailTypeJson.md +++ /dev/null @@ -1,24 +0,0 @@ -# ThumbnailTypeJson - -This is used to denote the file type of a thumbnail - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = ThumbnailTypeJson.Bmp; -``` - - -## Values - -| Name | Value | -| ------ | ------ | -| `Bmp` | bmp | -| `Gif` | gif | -| `Jpe` | jpe | -| `Jpeg` | jpeg | -| `Jpg` | jpg | -| `Png` | png | -| `Svg` | svg | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TransactionDetailResponse.md b/packages/csharp/docs/Models/Components/TransactionDetailResponse.md index 69d290d2f..2885f02e4 100644 --- a/packages/csharp/docs/Models/Components/TransactionDetailResponse.md +++ b/packages/csharp/docs/Models/Components/TransactionDetailResponse.md @@ -14,7 +14,7 @@ This is used to denote the details of the transaction made by an attendee. | `Id` | *string* | :heavy_minus_sign: | A unique id representing the transaction. | 18549806a69f4727a315f2199a08d8b6 | | `ProcessorTransactionId` | *string* | :heavy_minus_sign: | This denotes the online processor transaction Id for transactions. | ch_3Lrr4TBhiDV0mZz50nZpGx4a | | `Event` | [Event2](../../Models/Components/Event2.md) | :heavy_minus_sign: | The reference to the event. Contains only the ID of the event. | | -| `Attendee` | [Attendee2](../../Models/Components/Attendee2.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | +| `Attendee` | [Attendee](../../Models/Components/Attendee.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | | `Orders` | List<[Order](../../Models/Components/Order.md)> | :heavy_minus_sign: | This denotes the order IDs corresponding to this transaction. | [
{
"id": "7c4a5acd-9610-4c42-bd10-10e279e69ddc"
},
{
"id": "b479e85e-b5b0-49e7-9f11-65bad23350b1"
},
{
"id": "d1c24041-9ca4-4afd-a2f8-a0905d935aa9"
}
] | | `JournalNumber` | *string* | :heavy_minus_sign: | Journal number for this transaction. | PZNK2PKZH4N | | `PaymentType` | [PaymentType1](../../Models/Components/PaymentType1.md) | :heavy_minus_sign: | Denotes the type of payment made by an attendee. Authorization: Online payment that has been approved by the cardholder's bank but has not been executed. Online Charge: Online payment recieved in Cvent. Online Refund: Online refund to attendee processed in Cvent. Offline Charge: The transaction is a payment made to the attendee's order electronically in another system of record, or paid in physical currency. Offline Refund: The transaction is a refund issued to the attendee electronically in another system of record, or paid in physical currency. | Online Refund | diff --git a/packages/csharp/docs/Models/Components/TransactionItemResponse.md b/packages/csharp/docs/Models/Components/TransactionItemResponse.md index 9d78c6bcc..f18b2bd1a 100644 --- a/packages/csharp/docs/Models/Components/TransactionItemResponse.md +++ b/packages/csharp/docs/Models/Components/TransactionItemResponse.md @@ -15,7 +15,7 @@ This is used to denote an item in the transaction. | `UniqueId` | *string* | :heavy_minus_sign: | A unique identifier for the transaction item. | 9a8b7c6d-e5f4-3210-bacd-3456789012de::7f3e2a1b-c4d5-6789-efab-2345678901bc | | `Transaction` | [TransactionId](../../Models/Components/TransactionId.md) | :heavy_minus_sign: | This is used to denote the id and merchant/processor transaction id for transaction items. | | | `Event` | [Event2](../../Models/Components/Event2.md) | :heavy_minus_sign: | The reference to the event. Contains only the ID of the event. | | -| `Attendee` | [Attendee2](../../Models/Components/Attendee2.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | +| `Attendee` | [Attendee](../../Models/Components/Attendee.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | | `Product` | [ProductOrderItem](../../Models/Components/ProductOrderItem.md) | :heavy_minus_sign: | This is used to denote the product details in an order item | | | `OrderItem` | [OrderItemRef](../../Models/Components/OrderItemRef.md) | :heavy_minus_sign: | Represents an order item by its ID. | | | `Name` | *string* | :heavy_minus_sign: | This denotes the name of the item | Dinner Session | diff --git a/packages/csharp/docs/Models/Components/TravelAccount.md b/packages/csharp/docs/Models/Components/TravelAccount.md index fd2d32f7f..7a2751933 100644 --- a/packages/csharp/docs/Models/Components/TravelAccount.md +++ b/packages/csharp/docs/Models/Components/TravelAccount.md @@ -13,6 +13,6 @@ Travel account details. | `LastModifiedBy` | *string* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | | `Id` | *string* | :heavy_minus_sign: | A uuid used to uniquely identify the travel account. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `Name` | *string* | :heavy_minus_sign: | The name of the travel account. | Test Corporation | -| `Type` | [TravelAccountTypeJson](../../Models/Components/TravelAccountTypeJson.md) | :heavy_minus_sign: | Code representing the travel account type. | corporate | +| `Type` | [TravelAccountType](../../Models/Components/TravelAccountType.md) | :heavy_minus_sign: | Code representing the travel account type. | corporate | | `Certified` | *bool* | :heavy_minus_sign: | Is this a certified travel account? | true | -| `Addresses` | List<[AddressJson5](../../Models/Components/AddressJson5.md)> | :heavy_minus_sign: | List of addresses associated with the travel account. | | \ No newline at end of file +| `Addresses` | List<[Address6](../../Models/Components/Address6.md)> | :heavy_minus_sign: | List of addresses associated with the travel account. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelAccountPaginatedResponse.md b/packages/csharp/docs/Models/Components/TravelAccountPaginatedResponse.md index 634e1b548..51197e5fc 100644 --- a/packages/csharp/docs/Models/Components/TravelAccountPaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/TravelAccountPaginatedResponse.md @@ -7,5 +7,5 @@ A paginated list of travel accounts. | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | | `Data` | List<[TravelAccount](../../Models/Components/TravelAccount.md)> | :heavy_minus_sign: | Collection of travel accounts and their related details. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelAccountSupplierAccount.md b/packages/csharp/docs/Models/Components/TravelAccountSupplierAccount.md index 73323b485..8609faf10 100644 --- a/packages/csharp/docs/Models/Components/TravelAccountSupplierAccount.md +++ b/packages/csharp/docs/Models/Components/TravelAccountSupplierAccount.md @@ -9,7 +9,7 @@ Details for the supplier travel account. These details are supplier specific and | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | | `TravelAccount` | [TravelAccountSupplierAccountTravelAccount](../../Models/Components/TravelAccountSupplierAccountTravelAccount.md) | :heavy_minus_sign: | The travel account that the supplier account is associated with. | | | `Name` | *string* | :heavy_minus_sign: | The name of the travel account. | Test Corporation | -| `ManagementLevel` | [ManagementLevelTypeJson1](../../Models/Components/ManagementLevelTypeJson1.md) | :heavy_minus_sign: | The management level of the travel account. Defined by the supply-side. | global | +| `ManagementLevel` | [ManagementLevelType1](../../Models/Components/ManagementLevelType1.md) | :heavy_minus_sign: | The management level of the travel account. Defined by the supply-side. | global | | `Active` | *bool* | :heavy_minus_sign: | Is this account active for the supplier's hotels. | true | | `CrmId` | *string* | :heavy_minus_sign: | ID of the travel account in the suppliers Customer Relationship Management system. Defined by supplier. | ABC123 | | `ChainDefinedId` | *string* | :heavy_minus_sign: | Travel account ID defined at the supplier chain level. | 1000000299 | diff --git a/packages/csharp/docs/Models/Components/TravelAccountSupplierAccountPaginatedResponse.md b/packages/csharp/docs/Models/Components/TravelAccountSupplierAccountPaginatedResponse.md index ca3caeb78..c91b482cd 100644 --- a/packages/csharp/docs/Models/Components/TravelAccountSupplierAccountPaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/TravelAccountSupplierAccountPaginatedResponse.md @@ -7,5 +7,5 @@ A paginated list of supplier travel accounts. | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | | `Data` | List<[TravelAccountSupplierAccount](../../Models/Components/TravelAccountSupplierAccount.md)> | :heavy_minus_sign: | Collection of suppliers travel accounts and their related details. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelAccountType.md b/packages/csharp/docs/Models/Components/TravelAccountType.md new file mode 100644 index 000000000..205b907be --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelAccountType.md @@ -0,0 +1,20 @@ +# TravelAccountType + +Code representing the travel account type. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = TravelAccountType.Corporate; +``` + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `Corporate` | corporate | +| `Leisure` | leisure | +| `Consortia` | consortia | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelAccountTypeJson.md b/packages/csharp/docs/Models/Components/TravelAccountTypeJson.md deleted file mode 100644 index 78138c41f..000000000 --- a/packages/csharp/docs/Models/Components/TravelAccountTypeJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# TravelAccountTypeJson - -Code representing the travel account type. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = TravelAccountTypeJson.Corporate; -``` - - -## Values - -| Name | Value | -| ----------- | ----------- | -| `Corporate` | corporate | -| `Leisure` | leisure | -| `Consortia` | consortia | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelAmenityJson.md b/packages/csharp/docs/Models/Components/TravelAmenityJson.md deleted file mode 100644 index 0b9a915a1..000000000 --- a/packages/csharp/docs/Models/Components/TravelAmenityJson.md +++ /dev/null @@ -1,17 +0,0 @@ -# TravelAmenityJson - -Group and meeting amenity info. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `LcdIncluded` | *bool* | :heavy_minus_sign: | True indicates a liquid crystal display (LCD) is included in the amenity. | | -| `LcdPrice` | *double* | :heavy_minus_sign: | Price of the liquid crystal display (LCD). | 100 | -| `ScreenIncluded` | *bool* | :heavy_minus_sign: | True indicates a screen is included in the amenity. | | -| `ScreenPrice` | *double* | :heavy_minus_sign: | Price of the screen. | 100 | -| `HsiaIncluded` | *bool* | :heavy_minus_sign: | True indicates high speed internet access is included in the amenity. | | -| `HsiaPrice` | *double* | :heavy_minus_sign: | Price of high speed internet access (HSIA). | 100 | -| `ComplementaryParkingIncluded` | *bool* | :heavy_minus_sign: | True indicates parking is included in the amenity. | | -| `WhatCompanyProvidesAVEquipment` | *string* | :heavy_minus_sign: | Name of company providing AV equipment. | Some company | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidAmenity.md b/packages/csharp/docs/Models/Components/TravelBidAmenity.md new file mode 100644 index 000000000..3987f524a --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelBidAmenity.md @@ -0,0 +1,18 @@ +# TravelBidAmenity + +Amenity details for a travel bid. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `Type` | [AmenityType](../../Models/Components/AmenityType.md) | :heavy_minus_sign: | Amenity type | amenity | +| `Code` | *string* | :heavy_minus_sign: | The code representing the amenity. | parking_valet | +| `Category` | *string* | :heavy_minus_sign: | The category of the amenity. | Parking | +| `Included` | *bool* | :heavy_minus_sign: | True indicates the amenity price is included in the rate. | | +| `Price` | *double* | :heavy_minus_sign: | The price of the amenity. | 100 | +| `DiscountAmount` | *double* | :heavy_minus_sign: | The price of the amenity after discounts. | 90 | +| `InternalCost` | *double* | :heavy_minus_sign: | Internal cost of the amenity. | 80 | +| `Description` | *string* | :heavy_minus_sign: | Additional notes on the amenity. | Valet parking is available for all guests. | +| `Status` | [BidItemStatusType](../../Models/Components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidAmenityJson.md b/packages/csharp/docs/Models/Components/TravelBidAmenityJson.md deleted file mode 100644 index deda500d2..000000000 --- a/packages/csharp/docs/Models/Components/TravelBidAmenityJson.md +++ /dev/null @@ -1,18 +0,0 @@ -# TravelBidAmenityJson - -Amenity details for a travel bid. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `Type` | [AmenityTypeJson](../../Models/Components/AmenityTypeJson.md) | :heavy_minus_sign: | Amenity type | amenity | -| `Code` | *string* | :heavy_minus_sign: | The code representing the amenity. | parking_valet | -| `Category` | *string* | :heavy_minus_sign: | The category of the amenity. | Parking | -| `Included` | *bool* | :heavy_minus_sign: | True indicates the amenity price is included in the rate. | | -| `Price` | *double* | :heavy_minus_sign: | The price of the amenity. | 100 | -| `DiscountAmount` | *double* | :heavy_minus_sign: | The price of the amenity after discounts. | 90 | -| `InternalCost` | *double* | :heavy_minus_sign: | Internal cost of the amenity. | 80 | -| `Description` | *string* | :heavy_minus_sign: | Additional notes on the amenity. | Valet parking is available for all guests. | -| `Status` | [BidItemStatusTypeJson](../../Models/Components/BidItemStatusTypeJson.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidComment.md b/packages/csharp/docs/Models/Components/TravelBidComment.md new file mode 100644 index 000000000..a4214a1e0 --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelBidComment.md @@ -0,0 +1,11 @@ +# TravelBidComment + +A comment on a travel bid. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | +| `CommentType` | [CommentType](../../Models/Components/CommentType.md) | :heavy_minus_sign: | Bid comment type | promotions | +| `Comment` | *string* | :heavy_minus_sign: | The text of the comment. | This is a high value client. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidCommentJson.md b/packages/csharp/docs/Models/Components/TravelBidCommentJson.md deleted file mode 100644 index 45a853553..000000000 --- a/packages/csharp/docs/Models/Components/TravelBidCommentJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# TravelBidCommentJson - -A comment on a travel bid. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| `CommentType` | [CommentTypeJson](../../Models/Components/CommentTypeJson.md) | :heavy_minus_sign: | Bid comment type | promotions | -| `Comment` | *string* | :heavy_minus_sign: | The text of the comment. | This is a high value client. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidDiscount.md b/packages/csharp/docs/Models/Components/TravelBidDiscount.md new file mode 100644 index 000000000..5e6160b87 --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelBidDiscount.md @@ -0,0 +1,12 @@ +# TravelBidDiscount + +Discount for a travel bid. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `PropertyRoom` | [TravelBidDiscountPropertyRoom](../../Models/Components/TravelBidDiscountPropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | +| `Discount` | *long* | :heavy_minus_sign: | Discount percentage for the dynamic rate. | 10 | +| `Status` | [BidItemStatusType](../../Models/Components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidDiscountJson.md b/packages/csharp/docs/Models/Components/TravelBidDiscountJson.md deleted file mode 100644 index fa8f6445d..000000000 --- a/packages/csharp/docs/Models/Components/TravelBidDiscountJson.md +++ /dev/null @@ -1,12 +0,0 @@ -# TravelBidDiscountJson - -Discount for a travel bid. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `PropertyRoom` | [TravelBidDiscountJsonPropertyRoom](../../Models/Components/TravelBidDiscountJsonPropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | -| `Discount` | *long* | :heavy_minus_sign: | Discount percentage for the dynamic rate. | 10 | -| `Status` | [BidItemStatusTypeJson](../../Models/Components/BidItemStatusTypeJson.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidDiscountJsonPropertyRoom.md b/packages/csharp/docs/Models/Components/TravelBidDiscountJsonPropertyRoom.md deleted file mode 100644 index c239d87a1..000000000 --- a/packages/csharp/docs/Models/Components/TravelBidDiscountJsonPropertyRoom.md +++ /dev/null @@ -1,10 +0,0 @@ -# TravelBidDiscountJsonPropertyRoom - -ID of the property's room. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `Id` | *string* | :heavy_minus_sign: | The unique ID of the property room. | 9ea95519-2fc5-49d8-991b-e954f49044fe | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidDiscountPropertyRoom.md b/packages/csharp/docs/Models/Components/TravelBidDiscountPropertyRoom.md new file mode 100644 index 000000000..6f992562a --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelBidDiscountPropertyRoom.md @@ -0,0 +1,10 @@ +# TravelBidDiscountPropertyRoom + +ID of the property's room. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `Id` | *string* | :heavy_minus_sign: | The unique ID of the property room. | 9ea95519-2fc5-49d8-991b-e954f49044fe | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidDisposition.md b/packages/csharp/docs/Models/Components/TravelBidDisposition.md new file mode 100644 index 000000000..1a594d8bd --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelBidDisposition.md @@ -0,0 +1,12 @@ +# TravelBidDisposition + +Represents bid disposition details. + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | +| `Bid` | [TravelProposalBid1](../../Models/Components/TravelProposalBid1.md) | :heavy_minus_sign: | A travel proposal bid. | +| `AcceptedBidRooms` | List<[TravelBidDispositionAcceptedRoom](../../Models/Components/TravelBidDispositionAcceptedRoom.md)> | :heavy_minus_sign: | List of accepted bid rooms. | +| `RateType` | [RateType](../../Models/Components/RateType.md) | :heavy_minus_sign: | Rate type. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidDispositionAcceptedRoom.md b/packages/csharp/docs/Models/Components/TravelBidDispositionAcceptedRoom.md new file mode 100644 index 000000000..9bc171bcd --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelBidDispositionAcceptedRoom.md @@ -0,0 +1,12 @@ +# TravelBidDispositionAcceptedRoom + +Represents bid disposition's accepted room. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | +| `PropertyRoom` | [TravelBidDispositionAcceptedRoomPropertyRoom](../../Models/Components/TravelBidDispositionAcceptedRoomPropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | +| `LraRateAccepted` | *bool* | :heavy_minus_sign: | Indicates whether the LRA rates are accepted. | true | +| `NlraRateAccepted` | *bool* | :heavy_minus_sign: | Indicates whether the NLRA rates are accepted. | true | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidDispositionAcceptedRoomJson.md b/packages/csharp/docs/Models/Components/TravelBidDispositionAcceptedRoomJson.md deleted file mode 100644 index dcab38e1b..000000000 --- a/packages/csharp/docs/Models/Components/TravelBidDispositionAcceptedRoomJson.md +++ /dev/null @@ -1,12 +0,0 @@ -# TravelBidDispositionAcceptedRoomJson - -Represents bid disposition's accepted room. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | -| `PropertyRoom` | [TravelBidDispositionAcceptedRoomJsonPropertyRoom](../../Models/Components/TravelBidDispositionAcceptedRoomJsonPropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | -| `LraRateAccepted` | *bool* | :heavy_minus_sign: | Indicates whether the LRA rates are accepted. | true | -| `NlraRateAccepted` | *bool* | :heavy_minus_sign: | Indicates whether the NLRA rates are accepted. | true | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidDispositionAcceptedRoomJsonPropertyRoom.md b/packages/csharp/docs/Models/Components/TravelBidDispositionAcceptedRoomJsonPropertyRoom.md deleted file mode 100644 index 48f86a2fd..000000000 --- a/packages/csharp/docs/Models/Components/TravelBidDispositionAcceptedRoomJsonPropertyRoom.md +++ /dev/null @@ -1,10 +0,0 @@ -# TravelBidDispositionAcceptedRoomJsonPropertyRoom - -ID of the property's room. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `Id` | *string* | :heavy_minus_sign: | The unique ID of the property room. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidDispositionAcceptedRoomPropertyRoom.md b/packages/csharp/docs/Models/Components/TravelBidDispositionAcceptedRoomPropertyRoom.md new file mode 100644 index 000000000..93651cc8e --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelBidDispositionAcceptedRoomPropertyRoom.md @@ -0,0 +1,10 @@ +# TravelBidDispositionAcceptedRoomPropertyRoom + +ID of the property's room. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `Id` | *string* | :heavy_minus_sign: | The unique ID of the property room. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidDispositionJson.md b/packages/csharp/docs/Models/Components/TravelBidDispositionJson.md deleted file mode 100644 index a83168015..000000000 --- a/packages/csharp/docs/Models/Components/TravelBidDispositionJson.md +++ /dev/null @@ -1,12 +0,0 @@ -# TravelBidDispositionJson - -Represents bid disposition details. - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | -| `Bid` | [TravelProposalBidIdJson](../../Models/Components/TravelProposalBidIdJson.md) | :heavy_minus_sign: | A travel proposal bid. | -| `AcceptedBidRooms` | List<[TravelBidDispositionAcceptedRoomJson](../../Models/Components/TravelBidDispositionAcceptedRoomJson.md)> | :heavy_minus_sign: | List of accepted bid rooms. | -| `RateType` | [RateTypeJson](../../Models/Components/RateTypeJson.md) | :heavy_minus_sign: | Rate type. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidFairSeason.md b/packages/csharp/docs/Models/Components/TravelBidFairSeason.md new file mode 100644 index 000000000..d55ca1f81 --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelBidFairSeason.md @@ -0,0 +1,17 @@ +# TravelBidFairSeason + +The fair season for a travel bid. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `Type` | [FairSeasonType](../../Models/Components/FairSeasonType.md) | :heavy_minus_sign: | Fair season type. Blackout means that no special rate is negotiated for that date and Best Available Rates will apply | | +| `Name` | *string* | :heavy_minus_sign: | Fair season name. | Fair season 1 | +| `StartDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 start date of the fair season. | 2021-07-13 | +| `EndDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 end date of the fair season. | 2021-07-13 | +| `MinLengthOfStay` | *long* | :heavy_minus_sign: | Minimum length of stay for the fair season. | 1 | +| `ReleasePeriod` | *long* | :heavy_minus_sign: | Release period for the fair season. Release period is the minimum number of days between the booking being made and the earliest arrival date. | 1 | +| `Rates` | List<[TravelBidFairSeasonRate](../../Models/Components/TravelBidFairSeasonRate.md)> | :heavy_minus_sign: | Collection of rates for the fair season. | | +| `Status` | [BidItemStatusType](../../Models/Components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidFairSeasonJson.md b/packages/csharp/docs/Models/Components/TravelBidFairSeasonJson.md deleted file mode 100644 index 4564b53d7..000000000 --- a/packages/csharp/docs/Models/Components/TravelBidFairSeasonJson.md +++ /dev/null @@ -1,17 +0,0 @@ -# TravelBidFairSeasonJson - -The fair season for a travel bid. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `Type` | [FairSeasonTypeJson](../../Models/Components/FairSeasonTypeJson.md) | :heavy_minus_sign: | Fair season type. Blackout means that no special rate is negotiated for that date and Best Available Rates will apply | | -| `Name` | *string* | :heavy_minus_sign: | Fair season name. | Fair season 1 | -| `StartDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 start date of the fair season. | 2021-07-13 | -| `EndDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 end date of the fair season. | 2021-07-13 | -| `MinLengthOfStay` | *long* | :heavy_minus_sign: | Minimum length of stay for the fair season. | 1 | -| `ReleasePeriod` | *long* | :heavy_minus_sign: | Release period for the fair season. Release period is the minimum number of days between the booking being made and the earliest arrival date. | 1 | -| `Rates` | List<[TravelBidFairSeasonRateJson](../../Models/Components/TravelBidFairSeasonRateJson.md)> | :heavy_minus_sign: | Collection of rates for the fair season. | | -| `Status` | [BidItemStatusTypeJson](../../Models/Components/BidItemStatusTypeJson.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidFairSeasonRate.md b/packages/csharp/docs/Models/Components/TravelBidFairSeasonRate.md new file mode 100644 index 000000000..c3e1ec3c2 --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelBidFairSeasonRate.md @@ -0,0 +1,16 @@ +# TravelBidFairSeasonRate + +The negotiated rates for a property room during the fair season. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `PropertyRoom` | [TravelBidFairSeasonRatePropertyRoom](../../Models/Components/TravelBidFairSeasonRatePropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | +| `SingleRate` | *double* | :heavy_minus_sign: | The single room rate. | 100 | +| `DoubleRate` | *double* | :heavy_minus_sign: | The double room rate. | 101 | +| `TripleRate` | *double* | :heavy_minus_sign: | The triple room rate. | 102 | +| `QuadRate` | *double* | :heavy_minus_sign: | The quadruple room rate. | 103 | +| `Allotment` | *long* | :heavy_minus_sign: | The number of rooms allotted at the negotiated rate. | 100 | +| `Status` | [BidItemStatusType](../../Models/Components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidFairSeasonRateJson.md b/packages/csharp/docs/Models/Components/TravelBidFairSeasonRateJson.md deleted file mode 100644 index 06bd8b2bb..000000000 --- a/packages/csharp/docs/Models/Components/TravelBidFairSeasonRateJson.md +++ /dev/null @@ -1,16 +0,0 @@ -# TravelBidFairSeasonRateJson - -The negotiated rates for a property room during the fair season. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `PropertyRoom` | [TravelBidFairSeasonRateJsonPropertyRoom](../../Models/Components/TravelBidFairSeasonRateJsonPropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | -| `SingleRate` | *double* | :heavy_minus_sign: | The single room rate. | 100 | -| `DoubleRate` | *double* | :heavy_minus_sign: | The double room rate. | 101 | -| `TripleRate` | *double* | :heavy_minus_sign: | The triple room rate. | 102 | -| `QuadRate` | *double* | :heavy_minus_sign: | The quadruple room rate. | 103 | -| `Allotment` | *long* | :heavy_minus_sign: | The number of rooms allotted at the negotiated rate. | 100 | -| `Status` | [BidItemStatusTypeJson](../../Models/Components/BidItemStatusTypeJson.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidFairSeasonRateJsonPropertyRoom.md b/packages/csharp/docs/Models/Components/TravelBidFairSeasonRateJsonPropertyRoom.md deleted file mode 100644 index 049f34da7..000000000 --- a/packages/csharp/docs/Models/Components/TravelBidFairSeasonRateJsonPropertyRoom.md +++ /dev/null @@ -1,10 +0,0 @@ -# TravelBidFairSeasonRateJsonPropertyRoom - -ID of the property's room. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `Id` | *string* | :heavy_minus_sign: | The unique ID of the property room. | 9ea95519-2fc5-49d8-991b-e954f49044fe | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidFairSeasonRatePropertyRoom.md b/packages/csharp/docs/Models/Components/TravelBidFairSeasonRatePropertyRoom.md new file mode 100644 index 000000000..3d0550dd9 --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelBidFairSeasonRatePropertyRoom.md @@ -0,0 +1,10 @@ +# TravelBidFairSeasonRatePropertyRoom + +ID of the property's room. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `Id` | *string* | :heavy_minus_sign: | The unique ID of the property room. | 9ea95519-2fc5-49d8-991b-e954f49044fe | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidPolicy.md b/packages/csharp/docs/Models/Components/TravelBidPolicy.md new file mode 100644 index 000000000..2b9c158ed --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelBidPolicy.md @@ -0,0 +1,16 @@ +# TravelBidPolicy + +A policy that is associated with a travel bid. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `Code` | *string* | :heavy_minus_sign: | The code representing the policy. | cancellation_period | +| `Category` | *string* | :heavy_minus_sign: | The category the policy falls under. | cancellation_period | +| `Value` | *string* | :heavy_minus_sign: | The value of the policy. | 24h | +| `ValueType` | [PolicyValueType](../../Models/Components/PolicyValueType.md) | :heavy_minus_sign: | Value type of the policy | | +| `Included` | *bool* | :heavy_minus_sign: | True indicates the policy fee included in the rate. Only applies to policies with a value type of money or percent. | | +| `Description` | *string* | :heavy_minus_sign: | Additional notes on the policy. | The cancellation period is 24 hours. | +| `Status` | [BidItemStatusType](../../Models/Components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidPolicyJson.md b/packages/csharp/docs/Models/Components/TravelBidPolicyJson.md deleted file mode 100644 index 5bd31154a..000000000 --- a/packages/csharp/docs/Models/Components/TravelBidPolicyJson.md +++ /dev/null @@ -1,16 +0,0 @@ -# TravelBidPolicyJson - -A policy that is associated with a travel bid. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `Code` | *string* | :heavy_minus_sign: | The code representing the policy. | cancellation_period | -| `Category` | *string* | :heavy_minus_sign: | The category the policy falls under. | cancellation_period | -| `Value` | *string* | :heavy_minus_sign: | The value of the policy. | 24h | -| `ValueType` | [PolicyValueTypeJson](../../Models/Components/PolicyValueTypeJson.md) | :heavy_minus_sign: | Value type of the policy | | -| `Included` | *bool* | :heavy_minus_sign: | True indicates the policy fee included in the rate. Only applies to policies with a value type of money or percent. | | -| `Description` | *string* | :heavy_minus_sign: | Additional notes on the policy. | The cancellation period is 24 hours. | -| `Status` | [BidItemStatusTypeJson](../../Models/Components/BidItemStatusTypeJson.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidRateJson.md b/packages/csharp/docs/Models/Components/TravelBidRateJson.md deleted file mode 100644 index 4795e8ed9..000000000 --- a/packages/csharp/docs/Models/Components/TravelBidRateJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# TravelBidRateJson - -The rate (cost) information for a travel bid. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | -| `Level` | [RateLevelTypeJson](../../Models/Components/RateLevelTypeJson.md) | :heavy_minus_sign: | Rate level | corporate | -| `Type` | [RateTypeJson](../../Models/Components/RateTypeJson.md) | :heavy_minus_sign: | Rate type. | | -| `PlanCode` | *string* | :heavy_minus_sign: | The code given to the bid (also called rate plan) by the supplier. | rp123 | -| `Tier` | *string* | :heavy_minus_sign: | The rate tier given to the bid (also called rate plan) by the supplier. | tier1 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidRoom.md b/packages/csharp/docs/Models/Components/TravelBidRoom.md new file mode 100644 index 000000000..cda661d0c --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelBidRoom.md @@ -0,0 +1,13 @@ +# TravelBidRoom + +A room in a travel bid. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `PropertyRoom` | [TravelBidRoomPropertyRoom](../../Models/Components/TravelBidRoomPropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | +| `Allocation` | *long* | :heavy_minus_sign: | The number of rooms allocated to the bid. | 10 | +| `Order` | *long* | :heavy_minus_sign: | The order of the room in the bid. | 1 | +| `Status` | [BidItemStatusType](../../Models/Components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidRoomJson.md b/packages/csharp/docs/Models/Components/TravelBidRoomJson.md deleted file mode 100644 index 99bcb0a1f..000000000 --- a/packages/csharp/docs/Models/Components/TravelBidRoomJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# TravelBidRoomJson - -A room in a travel bid. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `PropertyRoom` | [TravelBidRoomJsonPropertyRoom](../../Models/Components/TravelBidRoomJsonPropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | -| `Allocation` | *long* | :heavy_minus_sign: | The number of rooms allocated to the bid. | 10 | -| `Order` | *long* | :heavy_minus_sign: | The order of the room in the bid. | 1 | -| `Status` | [BidItemStatusTypeJson](../../Models/Components/BidItemStatusTypeJson.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidRoomJsonPropertyRoom.md b/packages/csharp/docs/Models/Components/TravelBidRoomJsonPropertyRoom.md deleted file mode 100644 index 03cbff21e..000000000 --- a/packages/csharp/docs/Models/Components/TravelBidRoomJsonPropertyRoom.md +++ /dev/null @@ -1,10 +0,0 @@ -# TravelBidRoomJsonPropertyRoom - -ID of the property's room. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `Id` | *string* | :heavy_minus_sign: | The unique ID of the property room. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidRoomPropertyRoom.md b/packages/csharp/docs/Models/Components/TravelBidRoomPropertyRoom.md new file mode 100644 index 000000000..abddf7729 --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelBidRoomPropertyRoom.md @@ -0,0 +1,10 @@ +# TravelBidRoomPropertyRoom + +ID of the property's room. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `Id` | *string* | :heavy_minus_sign: | The unique ID of the property room. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidSeason.md b/packages/csharp/docs/Models/Components/TravelBidSeason.md new file mode 100644 index 000000000..375f72d99 --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelBidSeason.md @@ -0,0 +1,17 @@ +# TravelBidSeason + +Season details for a travel bid. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `Name` | *string* | :heavy_minus_sign: | Season name. | Season 1 | +| `StartDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 start date of the season. | 2021-07-13 | +| `EndDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 end date of the season. | 2021-07-13 | +| `ReleasePeriod` | *long* | :heavy_minus_sign: | Number of release periods. | 1 | +| `WeekendReleasePeriod` | *long* | :heavy_minus_sign: | Number of weekend release periods. | 2 | +| `Rates` | List<[TravelBidSeasonRate](../../Models/Components/TravelBidSeasonRate.md)> | :heavy_minus_sign: | Collection of rates for the season. | | +| `WeekendRates` | List<[TravelBidSeasonRate](../../Models/Components/TravelBidSeasonRate.md)> | :heavy_minus_sign: | Collection of weekend rates for the season. | | +| `Status` | [BidItemStatusType](../../Models/Components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidSeasonJson.md b/packages/csharp/docs/Models/Components/TravelBidSeasonJson.md deleted file mode 100644 index ee10716a3..000000000 --- a/packages/csharp/docs/Models/Components/TravelBidSeasonJson.md +++ /dev/null @@ -1,17 +0,0 @@ -# TravelBidSeasonJson - -Season details for a travel bid. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `Name` | *string* | :heavy_minus_sign: | Season name. | Season 1 | -| `StartDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 start date of the season. | 2021-07-13 | -| `EndDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 end date of the season. | 2021-07-13 | -| `ReleasePeriod` | *long* | :heavy_minus_sign: | Number of release periods. | 1 | -| `WeekendReleasePeriod` | *long* | :heavy_minus_sign: | Number of weekend release periods. | 2 | -| `Rates` | List<[TravelBidSeasonRateJson](../../Models/Components/TravelBidSeasonRateJson.md)> | :heavy_minus_sign: | Collection of rates for the season. | | -| `WeekendRates` | List<[TravelBidSeasonRateJson](../../Models/Components/TravelBidSeasonRateJson.md)> | :heavy_minus_sign: | Collection of weekend rates for the season. | | -| `Status` | [BidItemStatusTypeJson](../../Models/Components/BidItemStatusTypeJson.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidSeasonRate.md b/packages/csharp/docs/Models/Components/TravelBidSeasonRate.md new file mode 100644 index 000000000..342cf1ff9 --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelBidSeasonRate.md @@ -0,0 +1,18 @@ +# TravelBidSeasonRate + +The negotiated rates for a property room during a specific season. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `PropertyRoom` | [TravelBidSeasonRatePropertyRoom](../../Models/Components/TravelBidSeasonRatePropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | +| `SingleRate` | *double* | :heavy_minus_sign: | The last room available (LRA) single rate. | 100 | +| `DoubleRate` | *double* | :heavy_minus_sign: | The last room available (LRA) double rate. | 101 | +| `TripleRate` | *double* | :heavy_minus_sign: | The last room available (LRA) triple rate. | 102 | +| `QuadRate` | *double* | :heavy_minus_sign: | The last room available (LRA) quad rate. | 103 | +| `NlraSingleRate` | *double* | :heavy_minus_sign: | The non last room available (NLRA) single rate. | 104 | +| `NlraDoubleRate` | *double* | :heavy_minus_sign: | The non last room available (NLRA) double rate. | 105 | +| `Allotment` | *long* | :heavy_minus_sign: | The number of rooms allotted at the negotiated rate. | 100 | +| `Status` | [BidItemStatusType](../../Models/Components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidSeasonRateJson.md b/packages/csharp/docs/Models/Components/TravelBidSeasonRateJson.md deleted file mode 100644 index be62cf94e..000000000 --- a/packages/csharp/docs/Models/Components/TravelBidSeasonRateJson.md +++ /dev/null @@ -1,18 +0,0 @@ -# TravelBidSeasonRateJson - -The negotiated rates for a property room during a specific season. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `PropertyRoom` | [TravelBidSeasonRateJsonPropertyRoom](../../Models/Components/TravelBidSeasonRateJsonPropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | -| `SingleRate` | *double* | :heavy_minus_sign: | The last room available (LRA) single rate. | 100 | -| `DoubleRate` | *double* | :heavy_minus_sign: | The last room available (LRA) double rate. | 101 | -| `TripleRate` | *double* | :heavy_minus_sign: | The last room available (LRA) triple rate. | 102 | -| `QuadRate` | *double* | :heavy_minus_sign: | The last room available (LRA) quad rate. | 103 | -| `NlraSingleRate` | *double* | :heavy_minus_sign: | The non last room available (NLRA) single rate. | 104 | -| `NlraDoubleRate` | *double* | :heavy_minus_sign: | The non last room available (NLRA) double rate. | 105 | -| `Allotment` | *long* | :heavy_minus_sign: | The number of rooms allotted at the negotiated rate. | 100 | -| `Status` | [BidItemStatusTypeJson](../../Models/Components/BidItemStatusTypeJson.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidSeasonRateJsonPropertyRoom.md b/packages/csharp/docs/Models/Components/TravelBidSeasonRateJsonPropertyRoom.md deleted file mode 100644 index 79ab9937c..000000000 --- a/packages/csharp/docs/Models/Components/TravelBidSeasonRateJsonPropertyRoom.md +++ /dev/null @@ -1,10 +0,0 @@ -# TravelBidSeasonRateJsonPropertyRoom - -ID of the property's room. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `Id` | *string* | :heavy_minus_sign: | The unique ID of the property room. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidSeasonRatePropertyRoom.md b/packages/csharp/docs/Models/Components/TravelBidSeasonRatePropertyRoom.md new file mode 100644 index 000000000..2026b3ed7 --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelBidSeasonRatePropertyRoom.md @@ -0,0 +1,10 @@ +# TravelBidSeasonRatePropertyRoom + +ID of the property's room. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `Id` | *string* | :heavy_minus_sign: | The unique ID of the property room. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidTaxAndFee.md b/packages/csharp/docs/Models/Components/TravelBidTaxAndFee.md new file mode 100644 index 000000000..1546815bb --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelBidTaxAndFee.md @@ -0,0 +1,15 @@ +# TravelBidTaxAndFee + +A tax or fee associated with a travel bid. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `Code` | [TaxType](../../Models/Components/TaxType.md) | :heavy_minus_sign: | Bid tax type. | city_tax | +| `Amount` | *double* | :heavy_minus_sign: | The amount of the tax/fee. This may be a percent or monetary value depending on the value in `percent`. | 20 | +| `Percent` | *bool* | :heavy_minus_sign: | True indicates the tax/fee amount represents a percentage, instead of a monetary value. | | +| `Included` | *bool* | :heavy_minus_sign: | True indicates the tax/fee included in the negotiated rate. | | +| `Notes` | *string* | :heavy_minus_sign: | Additional notes on the tax/fee. | This is a tax | +| `Status` | [BidItemStatusType](../../Models/Components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidTaxFeeJson.md b/packages/csharp/docs/Models/Components/TravelBidTaxFeeJson.md deleted file mode 100644 index f34fa60f3..000000000 --- a/packages/csharp/docs/Models/Components/TravelBidTaxFeeJson.md +++ /dev/null @@ -1,15 +0,0 @@ -# TravelBidTaxFeeJson - -A tax or fee associated with a travel bid. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `Code` | [TaxTypeJson](../../Models/Components/TaxTypeJson.md) | :heavy_minus_sign: | Bid tax type. | city_tax | -| `Amount` | *double* | :heavy_minus_sign: | The amount of the tax/fee. This may be a percent or monetary value depending on the value in `percent`. | 20 | -| `Percent` | *bool* | :heavy_minus_sign: | True indicates the tax/fee amount represents a percentage, instead of a monetary value. | | -| `Included` | *bool* | :heavy_minus_sign: | True indicates the tax/fee included in the negotiated rate. | | -| `Notes` | *string* | :heavy_minus_sign: | Additional notes on the tax/fee. | This is a tax | -| `Status` | [BidItemStatusTypeJson](../../Models/Components/BidItemStatusTypeJson.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidWeekendDayJson.md b/packages/csharp/docs/Models/Components/TravelBidWeekendDayJson.md deleted file mode 100644 index 121148f96..000000000 --- a/packages/csharp/docs/Models/Components/TravelBidWeekendDayJson.md +++ /dev/null @@ -1,24 +0,0 @@ -# TravelBidWeekendDayJson - -Days considered weekend days for pricing purposes in the travel bid. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = TravelBidWeekendDayJson.Monday; -``` - - -## Values - -| Name | Value | -| ----------- | ----------- | -| `Monday` | Monday | -| `Tuesday` | Tuesday | -| `Wednesday` | Wednesday | -| `Thursday` | Thursday | -| `Friday` | Friday | -| `Saturday` | Saturday | -| `Sunday` | Sunday | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBidWeekendDays.md b/packages/csharp/docs/Models/Components/TravelBidWeekendDays.md new file mode 100644 index 000000000..8b2a0cf59 --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelBidWeekendDays.md @@ -0,0 +1,24 @@ +# TravelBidWeekendDays + +Days considered weekend days for pricing purposes in the travel bid. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = TravelBidWeekendDays.Monday; +``` + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `Monday` | Monday | +| `Tuesday` | Tuesday | +| `Wednesday` | Wednesday | +| `Thursday` | Thursday | +| `Friday` | Friday | +| `Saturday` | Saturday | +| `Sunday` | Sunday | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelBreakOutRoomJson.md b/packages/csharp/docs/Models/Components/TravelBreakOutRoomJson.md deleted file mode 100644 index 651b5de1c..000000000 --- a/packages/csharp/docs/Models/Components/TravelBreakOutRoomJson.md +++ /dev/null @@ -1,14 +0,0 @@ -# TravelBreakOutRoomJson - -Break-out room information. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `TenPersonRoomIncluded` | *bool* | :heavy_minus_sign: | True indicates a 10 person room is included. | | -| `Price10PersonRoom` | *double* | :heavy_minus_sign: | Price for 10 person room. | 100 | -| `TwentyFivePersonRoomIncluded` | *bool* | :heavy_minus_sign: | True indicates a 25 person room included. | | -| `Price25PersonRoom` | *double* | :heavy_minus_sign: | Price for 25 person room. | 100 | -| `PermanentBoardRoomSetUp` | *bool* | :heavy_minus_sign: | True indicates there is a permanent board room set up. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelDayDelegateRateJson.md b/packages/csharp/docs/Models/Components/TravelDayDelegateRateJson.md deleted file mode 100644 index 1d8d1bf95..000000000 --- a/packages/csharp/docs/Models/Components/TravelDayDelegateRateJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# TravelDayDelegateRateJson - -Day delegate rate information. This represents the costs for hosting meeting at the venue for a half or full day. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `FullDay10To50People` | *double* | :heavy_minus_sign: | Full day delegate rate for 10 to 50 people. | 100 | -| `FullDay51To100People` | *double* | :heavy_minus_sign: | Full day delegate rate for 51 to 100 people. | 200 | -| `HalfDay10To50People` | *double* | :heavy_minus_sign: | Half day delegate rate for 10 to 50 people. | 50 | -| `HalfDay51To100People` | *double* | :heavy_minus_sign: | Half day delegate rate for 51 to 100 people. | 100 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelGroupAndMeetingJson.md b/packages/csharp/docs/Models/Components/TravelGroupAndMeetingJson.md deleted file mode 100644 index 6a2c3d95c..000000000 --- a/packages/csharp/docs/Models/Components/TravelGroupAndMeetingJson.md +++ /dev/null @@ -1,15 +0,0 @@ -# TravelGroupAndMeetingJson - -Group and meeting information. - - -## Fields - -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | -| `RunOfHouseRate` | [TravelRunOfHouseRateJson](../../Models/Components/TravelRunOfHouseRateJson.md) | :heavy_minus_sign: | Run of house rate information. | -| `DayDelegateRate` | [TravelDayDelegateRateJson](../../Models/Components/TravelDayDelegateRateJson.md) | :heavy_minus_sign: | Day delegate rate information. This represents the costs for hosting meeting at the venue for a half or full day. | -| `TaxAndServiceCharge` | [TravelTaxAndServiceChargeJson](../../Models/Components/TravelTaxAndServiceChargeJson.md) | :heavy_minus_sign: | Tax and service charge information. | -| `MeetingRoomBasicInformation` | [TravelMeetingRoomBasicInfoJson](../../Models/Components/TravelMeetingRoomBasicInfoJson.md) | :heavy_minus_sign: | Meeting room basic information. | -| `Amenity` | [TravelAmenityJson](../../Models/Components/TravelAmenityJson.md) | :heavy_minus_sign: | Group and meeting amenity info. | -| `BreakOutRoom` | [TravelBreakOutRoomJson](../../Models/Components/TravelBreakOutRoomJson.md) | :heavy_minus_sign: | Break-out room information. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelMeetingRoomBasicInfoJson.md b/packages/csharp/docs/Models/Components/TravelMeetingRoomBasicInfoJson.md deleted file mode 100644 index 93bc6040a..000000000 --- a/packages/csharp/docs/Models/Components/TravelMeetingRoomBasicInfoJson.md +++ /dev/null @@ -1,12 +0,0 @@ -# TravelMeetingRoomBasicInfoJson - -Meeting room basic information. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | -| `LargestMeetingRoom` | *long* | :heavy_minus_sign: | Size of the largest meeting room. Units of measurement determined by `unitOfMeasurement` field. | 1000 | -| `UnitOfMeasurement` | *string* | :heavy_minus_sign: | Unit of measurement of the `largestMeetingRoom`'s size. | sq.ft. | -| `MeetingRooms` | *long* | :heavy_minus_sign: | Total number of meeting rooms. | 10 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProgram.md b/packages/csharp/docs/Models/Components/TravelProgram.md index e95ac6e08..a138c9534 100644 --- a/packages/csharp/docs/Models/Components/TravelProgram.md +++ b/packages/csharp/docs/Models/Components/TravelProgram.md @@ -14,13 +14,13 @@ Travel program details. | `Id` | *string* | :heavy_minus_sign: | The unique ID of the travel program. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `Name` | *string* | :heavy_minus_sign: | The name of the travel program. | Test Program | | `ContractPeriod` | *long* | :heavy_minus_sign: | The contract year in which the travel program originated. | 2023 | -| `Type` | [TravelProgramTypeJson](../../Models/Components/TravelProgramTypeJson.md) | :heavy_minus_sign: | Code representing the travel program type. | corporate | -| `Format` | [TravelProgramFormatTypeJson](../../Models/Components/TravelProgramFormatTypeJson.md) | :heavy_minus_sign: | Code representing the format of the travel program. | gbta2013 | -| `Status` | [TravelProgramStatusJson](../../Models/Components/TravelProgramStatusJson.md) | :heavy_minus_sign: | Code representing the status of the travel program. | complete | +| `Type` | [TravelProgramType](../../Models/Components/TravelProgramType.md) | :heavy_minus_sign: | Code representing the travel program type. | corporate | +| `Format` | [TravelProgramFormatType](../../Models/Components/TravelProgramFormatType.md) | :heavy_minus_sign: | Code representing the format of the travel program. | gbta2013 | +| `Status` | [TravelProgramStatus](../../Models/Components/TravelProgramStatus.md) | :heavy_minus_sign: | Code representing the status of the travel program. | complete | | `TravelAccount` | [TravelProgramTravelAccount](../../Models/Components/TravelProgramTravelAccount.md) | :heavy_minus_sign: | Travel account that the program belongs to. | | -| `StayType` | [TravelProgramStayTypeJson](../../Models/Components/TravelProgramStayTypeJson.md) | :heavy_minus_sign: | Code representing the stay types requested by the program. Programs can accept daily only, or daily and extended stay proposals. | daily | +| `StayType` | [TravelProgramStayType](../../Models/Components/TravelProgramStayType.md) | :heavy_minus_sign: | Code representing the stay types requested by the program. Programs can accept daily only, or daily and extended stay proposals. | daily | | `StartDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 formatted start date (in GMT) of the travel program. | 2024-01-01 | | `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<[TravelProgramQuestionJson](../../Models/Components/TravelProgramQuestionJson.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<[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 diff --git a/packages/csharp/docs/Models/Components/TravelProgramFormatType.md b/packages/csharp/docs/Models/Components/TravelProgramFormatType.md new file mode 100644 index 000000000..f1f3bbe81 --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelProgramFormatType.md @@ -0,0 +1,19 @@ +# TravelProgramFormatType + +Code representing the format of the travel program. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = TravelProgramFormatType.Gbta2013; +``` + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `Gbta2013` | gbta2013 | +| `Universal` | universal | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProgramFormatTypeJson.md b/packages/csharp/docs/Models/Components/TravelProgramFormatTypeJson.md deleted file mode 100644 index e76c58f5e..000000000 --- a/packages/csharp/docs/Models/Components/TravelProgramFormatTypeJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# TravelProgramFormatTypeJson - -Code representing the format of the travel program. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = TravelProgramFormatTypeJson.Gbta2013; -``` - - -## Values - -| Name | Value | -| ----------- | ----------- | -| `Gbta2013` | gbta2013 | -| `Universal` | universal | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProgramPaginatedResponse.md b/packages/csharp/docs/Models/Components/TravelProgramPaginatedResponse.md index 46150154a..52cf7e96b 100644 --- a/packages/csharp/docs/Models/Components/TravelProgramPaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/TravelProgramPaginatedResponse.md @@ -7,5 +7,5 @@ A paginated list of travel programs. | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | | `Data` | List<[TravelProgram](../../Models/Components/TravelProgram.md)> | :heavy_minus_sign: | Collection of travel programs and their related details. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProgramQuestion.md b/packages/csharp/docs/Models/Components/TravelProgramQuestion.md new file mode 100644 index 000000000..452628084 --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelProgramQuestion.md @@ -0,0 +1,21 @@ +# TravelProgramQuestion + +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` | [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 diff --git a/packages/csharp/docs/Models/Components/TravelProgramQuestion1.md b/packages/csharp/docs/Models/Components/TravelProgramQuestion1.md new file mode 100644 index 000000000..48bddbfc6 --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelProgramQuestion1.md @@ -0,0 +1,13 @@ +# TravelProgramQuestion1 + +A question, defined by the account, for the supplier to answer as part of their proposal. + + +## 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 diff --git a/packages/csharp/docs/Models/Components/TravelProgramQuestionJson.md b/packages/csharp/docs/Models/Components/TravelProgramQuestionJson.md deleted file mode 100644 index 1c014c51c..000000000 --- a/packages/csharp/docs/Models/Components/TravelProgramQuestionJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# TravelProgramQuestionJson - -A question, defined by the account, for the supplier to answer as part of their proposal. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `QuestionId` | *string* | :heavy_minus_sign: | The unique ID of the custom question. | 76c461cb-77f6-40b3-acc8-db44452f11c4 | -| `Section` | [QuestionSectionJson](../../Models/Components/QuestionSectionJson.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/TravelProgramQuestionTravelProgram.md b/packages/csharp/docs/Models/Components/TravelProgramQuestionTravelProgram.md new file mode 100644 index 000000000..2a28db4d6 --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelProgramQuestionTravelProgram.md @@ -0,0 +1,10 @@ +# TravelProgramQuestionTravelProgram + +Travel program that the question belongs to. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `Id` | *string* | :heavy_minus_sign: | The unique ID of the travel program. | ddc61444-45c7-4e1d-9fdd-07713c8baf9b | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProgramStatus.md b/packages/csharp/docs/Models/Components/TravelProgramStatus.md new file mode 100644 index 000000000..6a8ae4995 --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelProgramStatus.md @@ -0,0 +1,20 @@ +# TravelProgramStatus + +Code representing the status of the travel program. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = TravelProgramStatus.InProgress; +``` + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `InProgress` | in_progress | +| `Complete` | complete | +| `Closed` | closed | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProgramStatusJson.md b/packages/csharp/docs/Models/Components/TravelProgramStatusJson.md deleted file mode 100644 index cdc2b2664..000000000 --- a/packages/csharp/docs/Models/Components/TravelProgramStatusJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# TravelProgramStatusJson - -Code representing the status of the travel program. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = TravelProgramStatusJson.InProgress; -``` - - -## Values - -| Name | Value | -| ------------ | ------------ | -| `InProgress` | in_progress | -| `Complete` | complete | -| `Closed` | closed | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProgramStayType.md b/packages/csharp/docs/Models/Components/TravelProgramStayType.md new file mode 100644 index 000000000..a22afbf7a --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelProgramStayType.md @@ -0,0 +1,19 @@ +# TravelProgramStayType + +Code representing the stay types requested by the program. Programs can accept daily only, or daily and extended stay proposals. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = TravelProgramStayType.Daily; +``` + + +## Values + +| Name | Value | +| ----------------------- | ----------------------- | +| `Daily` | daily | +| `DailyAndExtendedStay` | daily_and_extended_stay | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProgramStayTypeJson.md b/packages/csharp/docs/Models/Components/TravelProgramStayTypeJson.md deleted file mode 100644 index ca5562359..000000000 --- a/packages/csharp/docs/Models/Components/TravelProgramStayTypeJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# TravelProgramStayTypeJson - -Code representing the stay types requested by the program. Programs can accept daily only, or daily and extended stay proposals. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = TravelProgramStayTypeJson.Daily; -``` - - -## Values - -| Name | Value | -| ----------------------- | ----------------------- | -| `Daily` | daily | -| `DailyAndExtendedStay` | daily_and_extended_stay | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProgramType.md b/packages/csharp/docs/Models/Components/TravelProgramType.md new file mode 100644 index 000000000..359552428 --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelProgramType.md @@ -0,0 +1,20 @@ +# TravelProgramType + +Code representing the travel program type. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = TravelProgramType.Corporate; +``` + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `Corporate` | corporate | +| `Leisure` | leisure | +| `Consortia` | consortia | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProgramTypeJson.md b/packages/csharp/docs/Models/Components/TravelProgramTypeJson.md deleted file mode 100644 index ffd84dc2e..000000000 --- a/packages/csharp/docs/Models/Components/TravelProgramTypeJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# TravelProgramTypeJson - -Code representing the travel program type. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = TravelProgramTypeJson.Corporate; -``` - - -## Values - -| Name | Value | -| ----------- | ----------- | -| `Corporate` | corporate | -| `Leisure` | leisure | -| `Consortia` | consortia | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProposal.md b/packages/csharp/docs/Models/Components/TravelProposal.md index e3a099a1b..8e7f887cd 100644 --- a/packages/csharp/docs/Models/Components/TravelProposal.md +++ b/packages/csharp/docs/Models/Components/TravelProposal.md @@ -15,11 +15,11 @@ Represents travel proposals. Travel proposals are created by the travel supplier | `SupplierProperty` | [SupplierProperty](../../Models/Components/SupplierProperty.md) | :heavy_minus_sign: | Supplier property that the proposal is tied to. | | | `TravelProgram` | [TravelProposalTravelProgram](../../Models/Components/TravelProposalTravelProgram.md) | :heavy_minus_sign: | Travel program that the proposal is in response to. | | | `ContractPeriod` | *long* | :heavy_minus_sign: | Contract period of the proposal. The year the contract begins. | 2021 | -| `Status` | [ProposalStatusTypeJson](../../Models/Components/ProposalStatusTypeJson.md) | :heavy_minus_sign: | The status of the proposal | account_accepted | +| `Status` | [ProposalStatusType](../../Models/Components/ProposalStatusType.md) | :heavy_minus_sign: | The status of the proposal | account_accepted | | `Deleted` | *bool* | :heavy_minus_sign: | True indicates the proposal is deleted. | | -| `RateReviewStatus` | [RateReviewStatusTypeJson](../../Models/Components/RateReviewStatusTypeJson.md) | :heavy_minus_sign: | The rate review status of the proposal | | -| `BusinessType` | [BusinessTypeJson](../../Models/Components/BusinessTypeJson.md) | :heavy_minus_sign: | Business type. | corporate | -| `Format` | [FormatTypeJson](../../Models/Components/FormatTypeJson.md) | :heavy_minus_sign: | Proposal format. | gbta2013 | +| `RateReviewStatus` | [RateReviewStatusType](../../Models/Components/RateReviewStatusType.md) | :heavy_minus_sign: | The rate review status of the proposal | | +| `BusinessType` | [BusinessType](../../Models/Components/BusinessType.md) | :heavy_minus_sign: | Business type. | corporate | +| `Format` | [FormatType](../../Models/Components/FormatType.md) | :heavy_minus_sign: | Proposal format. | gbta2013 | | `DocumentRead` | *bool* | :heavy_minus_sign: | True indicates the documents been read by the supply-side. | | | `RejectReasonCode` | *string* | :heavy_minus_sign: | Reason the reject/decline action was performed. Used for certain actions/statuses. | Other | | `RejectComment` | *string* | :heavy_minus_sign: | Comments regarding the reasoning for the reject/decline action. This only comes into play for certain actions/statuses. | other reasons | @@ -28,7 +28,7 @@ Represents travel proposals. Travel proposals are created by the travel supplier | `NegotiationDueDate` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 datetime when the negotiation response is due. | 2030-02-10T00:00:00.000Z | | `RoomNightConsumption` | *long* | :heavy_minus_sign: | Client room nights produced at property from January 1 through June 30. | 100 | | `Draft` | *bool* | :heavy_minus_sign: | True indicates this proposal is a draft copy that is not sent to the other party. | | -| `Bids` | List<[TravelProposalBidIdJson](../../Models/Components/TravelProposalBidIdJson.md)> | :heavy_minus_sign: | Collection of bid IDs attached to the proposal. | | -| `CustomQuestionAnswers` | List<[CustomQuestionAnswerJson0](../../Models/Components/CustomQuestionAnswerJson0.md)> | :heavy_minus_sign: | Collection of custom questions. | | -| `GroupAndMeeting` | [TravelGroupAndMeetingJson](../../Models/Components/TravelGroupAndMeetingJson.md) | :heavy_minus_sign: | Group and meeting information. | | -| `ProposalDisposition` | [TravelProposalDispositionJson](../../Models/Components/TravelProposalDispositionJson.md) | :heavy_minus_sign: | Represent proposal disposition details. | | \ No newline at end of file +| `Bids` | List<[TravelProposalBid1](../../Models/Components/TravelProposalBid1.md)> | :heavy_minus_sign: | Collection of bid IDs attached to the proposal. | | +| `CustomQuestionAnswers` | List<[TravelProposalCustomQuestion](../../Models/Components/TravelProposalCustomQuestion.md)> | :heavy_minus_sign: | Collection of custom questions. | | +| `GroupAndMeeting` | [TravelProposalGroupAndMeeting](../../Models/Components/TravelProposalGroupAndMeeting.md) | :heavy_minus_sign: | Group and meeting information. | | +| `ProposalDisposition` | [TravelProposalDisposition](../../Models/Components/TravelProposalDisposition.md) | :heavy_minus_sign: | Represent proposal disposition details. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProposalBid.md b/packages/csharp/docs/Models/Components/TravelProposalBid.md deleted file mode 100644 index 1569dc8de..000000000 --- a/packages/csharp/docs/Models/Components/TravelProposalBid.md +++ /dev/null @@ -1,31 +0,0 @@ -# TravelProposalBid - -A travel proposal bid rate plan that is being proposed to a customer. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | -| `TravelProposal` | [TravelProposalBidTravelProposal](../../Models/Components/TravelProposalBidTravelProposal.md) | :heavy_minus_sign: | The travel proposal that the bid belongs to. | | -| `Id` | *string* | :heavy_minus_sign: | The unique ID of the bid. | 3e2a8614-7d52-442e-8c4f-a6a18ed9ac4d | -| `StayType` | [BidStayTypeJson](../../Models/Components/BidStayTypeJson.md) | :heavy_minus_sign: | Bid stay type. | | -| `Order` | *long* | :heavy_minus_sign: | The order of the bid compared to other bids of the same stay type. This is used to distinguish between extended stay 1 vs extended stay 2. | 1 | -| `Status` | [BidStatusTypeJson](../../Models/Components/BidStatusTypeJson.md) | :heavy_minus_sign: | Bid stay type. | | -| `Name` | *string* | :heavy_minus_sign: | Name given to the bid. | My Corporate Bid | -| `Rate` | [TravelBidRateJson](../../Models/Components/TravelBidRateJson.md) | :heavy_minus_sign: | The rate (cost) information for a travel bid. | | -| `MarketCode` | *string* | :heavy_minus_sign: | The market code given to the rate plan / bid by the supplier. | mc12 | -| `CurrencyCode` | *string* | :heavy_minus_sign: | The ISO 4217 currency code used for the rates and other monetary values in the bid. | USD | -| `WeekendDays` | List<[TravelBidWeekendDayJson](../../Models/Components/TravelBidWeekendDayJson.md)> | :heavy_minus_sign: | Days of the week that are considered weekend days, to apply weekend rates. Does not apply when format is GBTA2013. | | -| `Lra` | *bool* | :heavy_minus_sign: | Does the bid include LRA (Last Room Availability) rates? | | -| `Nlra` | *bool* | :heavy_minus_sign: | Does the bid include non-LRA rates? | | -| `FairDateLra` | *bool* | :heavy_minus_sign: | Are the fair date rates LRA (Last Room Availability)? | | -| `InternalNote` | *string* | :heavy_minus_sign: | Additional comments passed from the domain-level rate plan. | | -| `Comments` | List<[TravelBidCommentJson](../../Models/Components/TravelBidCommentJson.md)> | :heavy_minus_sign: | Additional Info | | -| `RoomTypes` | List<[TravelBidRoomJson](../../Models/Components/TravelBidRoomJson.md)> | :heavy_minus_sign: | Room Types associated with the bid | | -| `Seasons` | List<[TravelBidSeasonJson](../../Models/Components/TravelBidSeasonJson.md)> | :heavy_minus_sign: | Seasons associated with the bid | | -| `Discounts` | List<[TravelBidDiscountJson](../../Models/Components/TravelBidDiscountJson.md)> | :heavy_minus_sign: | Dynamic discounts associated with the bid | | -| `FairSeasons` | List<[TravelBidFairSeasonJson](../../Models/Components/TravelBidFairSeasonJson.md)> | :heavy_minus_sign: | Fair seasons associated with the bid | | -| `Amenities` | List<[TravelBidAmenityJson](../../Models/Components/TravelBidAmenityJson.md)> | :heavy_minus_sign: | Amenities associated with the bid | | -| `Policies` | List<[TravelBidPolicyJson](../../Models/Components/TravelBidPolicyJson.md)> | :heavy_minus_sign: | Policies associated with the bid | | -| `TaxesAndFees` | List<[TravelBidTaxFeeJson](../../Models/Components/TravelBidTaxFeeJson.md)> | :heavy_minus_sign: | Taxes & fees associated with the bid | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProposalBid1.md b/packages/csharp/docs/Models/Components/TravelProposalBid1.md new file mode 100644 index 000000000..97bbb89c6 --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelProposalBid1.md @@ -0,0 +1,10 @@ +# TravelProposalBid1 + +A travel proposal bid. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `Id` | *string* | :heavy_minus_sign: | The ID of the bid. | 1c208c0d-cf96-42ec-a2c3-7ab7a5c04825 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProposalBid2.md b/packages/csharp/docs/Models/Components/TravelProposalBid2.md new file mode 100644 index 000000000..e58dec00d --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelProposalBid2.md @@ -0,0 +1,31 @@ +# TravelProposalBid2 + +A travel proposal bid rate plan that is being proposed to a customer. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | +| `TravelProposal` | [TravelProposalBidTravelProposal](../../Models/Components/TravelProposalBidTravelProposal.md) | :heavy_minus_sign: | The travel proposal that the bid belongs to. | | +| `Id` | *string* | :heavy_minus_sign: | The unique ID of the bid. | 3e2a8614-7d52-442e-8c4f-a6a18ed9ac4d | +| `StayType` | [BidStayType](../../Models/Components/BidStayType.md) | :heavy_minus_sign: | Bid stay type. | | +| `Order` | *long* | :heavy_minus_sign: | The order of the bid compared to other bids of the same stay type. This is used to distinguish between extended stay 1 vs extended stay 2. | 1 | +| `Status` | [BidStatusType](../../Models/Components/BidStatusType.md) | :heavy_minus_sign: | Bid stay type. | | +| `Name` | *string* | :heavy_minus_sign: | Name given to the bid. | My Corporate Bid | +| `Rate` | [TravelProposalBidRate](../../Models/Components/TravelProposalBidRate.md) | :heavy_minus_sign: | The rate (cost) information for a travel bid. | | +| `MarketCode` | *string* | :heavy_minus_sign: | The market code given to the rate plan / bid by the supplier. | mc12 | +| `CurrencyCode` | *string* | :heavy_minus_sign: | The ISO 4217 currency code used for the rates and other monetary values in the bid. | USD | +| `WeekendDays` | List<[TravelBidWeekendDays](../../Models/Components/TravelBidWeekendDays.md)> | :heavy_minus_sign: | Days of the week that are considered weekend days, to apply weekend rates. Does not apply when format is GBTA2013. | | +| `Lra` | *bool* | :heavy_minus_sign: | Does the bid include LRA (Last Room Availability) rates? | | +| `Nlra` | *bool* | :heavy_minus_sign: | Does the bid include non-LRA rates? | | +| `FairDateLra` | *bool* | :heavy_minus_sign: | Are the fair date rates LRA (Last Room Availability)? | | +| `InternalNote` | *string* | :heavy_minus_sign: | Additional comments passed from the domain-level rate plan. | | +| `Comments` | List<[TravelBidComment](../../Models/Components/TravelBidComment.md)> | :heavy_minus_sign: | Additional Info | | +| `RoomTypes` | List<[TravelBidRoom](../../Models/Components/TravelBidRoom.md)> | :heavy_minus_sign: | Room Types associated with the bid | | +| `Seasons` | List<[TravelBidSeason](../../Models/Components/TravelBidSeason.md)> | :heavy_minus_sign: | Seasons associated with the bid | | +| `Discounts` | List<[TravelBidDiscount](../../Models/Components/TravelBidDiscount.md)> | :heavy_minus_sign: | Dynamic discounts associated with the bid | | +| `FairSeasons` | List<[TravelBidFairSeason](../../Models/Components/TravelBidFairSeason.md)> | :heavy_minus_sign: | Fair seasons associated with the bid | | +| `Amenities` | List<[TravelBidAmenity](../../Models/Components/TravelBidAmenity.md)> | :heavy_minus_sign: | Amenities associated with the bid | | +| `Policies` | List<[TravelBidPolicy](../../Models/Components/TravelBidPolicy.md)> | :heavy_minus_sign: | Policies associated with the bid | | +| `TaxesAndFees` | List<[TravelBidTaxAndFee](../../Models/Components/TravelBidTaxAndFee.md)> | :heavy_minus_sign: | Taxes & fees associated with the bid | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProposalBidIdJson.md b/packages/csharp/docs/Models/Components/TravelProposalBidIdJson.md deleted file mode 100644 index dd1172b99..000000000 --- a/packages/csharp/docs/Models/Components/TravelProposalBidIdJson.md +++ /dev/null @@ -1,10 +0,0 @@ -# TravelProposalBidIdJson - -A travel proposal bid. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `Id` | *string* | :heavy_minus_sign: | The ID of the bid. | 1c208c0d-cf96-42ec-a2c3-7ab7a5c04825 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProposalBidPaginatedResponse.md b/packages/csharp/docs/Models/Components/TravelProposalBidPaginatedResponse.md index 3f2895405..5da923ad7 100644 --- a/packages/csharp/docs/Models/Components/TravelProposalBidPaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/TravelProposalBidPaginatedResponse.md @@ -5,7 +5,7 @@ A paginated list of travel proposals. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `Data` | List<[TravelProposalBid](../../Models/Components/TravelProposalBid.md)> | :heavy_minus_sign: | Paginated list of business transient proposal bids. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `Data` | List<[TravelProposalBid2](../../Models/Components/TravelProposalBid2.md)> | :heavy_minus_sign: | Paginated list of business transient proposal bids. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProposalBidRate.md b/packages/csharp/docs/Models/Components/TravelProposalBidRate.md new file mode 100644 index 000000000..2f9abb4d7 --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelProposalBidRate.md @@ -0,0 +1,13 @@ +# TravelProposalBidRate + +The rate (cost) information for a travel bid. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `Level` | [RateLevelType](../../Models/Components/RateLevelType.md) | :heavy_minus_sign: | Rate level | corporate | +| `Type` | [RateType](../../Models/Components/RateType.md) | :heavy_minus_sign: | Rate type. | | +| `PlanCode` | *string* | :heavy_minus_sign: | The code given to the bid (also called rate plan) by the supplier. | rp123 | +| `Tier` | *string* | :heavy_minus_sign: | The rate tier given to the bid (also called rate plan) by the supplier. | tier1 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProposalCustomQuestion.md b/packages/csharp/docs/Models/Components/TravelProposalCustomQuestion.md new file mode 100644 index 000000000..9e77eca7e --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelProposalCustomQuestion.md @@ -0,0 +1,11 @@ +# TravelProposalCustomQuestion + +Represents custom question associated with a travel proposal. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | +| `Question` | [TravelProposalCustomQuestionQuestion](../../Models/Components/TravelProposalCustomQuestionQuestion.md) | :heavy_minus_sign: | Travel account that the proposal is responding to. | | +| `Answer` | *string* | :heavy_minus_sign: | Hotel's answer to the program's custom question. | No. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProposalCustomQuestionQuestion.md b/packages/csharp/docs/Models/Components/TravelProposalCustomQuestionQuestion.md new file mode 100644 index 000000000..fdd08dc87 --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelProposalCustomQuestionQuestion.md @@ -0,0 +1,10 @@ +# TravelProposalCustomQuestionQuestion + +Travel account that the proposal is responding to. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `Id` | *string* | :heavy_minus_sign: | The unique ID of the question. | 565ceabb-786a-4a6d-8c85-e2fccc867e88 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProposalDisposition.md b/packages/csharp/docs/Models/Components/TravelProposalDisposition.md new file mode 100644 index 000000000..f1bbdf3ad --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelProposalDisposition.md @@ -0,0 +1,11 @@ +# TravelProposalDisposition + +Represent proposal disposition details. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `BidDispositions` | List<[TravelBidDisposition](../../Models/Components/TravelBidDisposition.md)> | :heavy_minus_sign: | List of bid dispositions. | | +| `GroupAndMeetingAccepted` | *bool* | :heavy_minus_sign: | Indicates if the group and meeting is accepted. | true | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProposalDispositionJson.md b/packages/csharp/docs/Models/Components/TravelProposalDispositionJson.md deleted file mode 100644 index 34be05ee8..000000000 --- a/packages/csharp/docs/Models/Components/TravelProposalDispositionJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# TravelProposalDispositionJson - -Represent proposal disposition details. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `BidDispositions` | List<[TravelBidDispositionJson](../../Models/Components/TravelBidDispositionJson.md)> | :heavy_minus_sign: | List of bid dispositions. | | -| `GroupAndMeetingAccepted` | *bool* | :heavy_minus_sign: | Indicates if the group and meeting is accepted. | true | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProposalGroupAndMeeting.md b/packages/csharp/docs/Models/Components/TravelProposalGroupAndMeeting.md new file mode 100644 index 000000000..9305596e6 --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelProposalGroupAndMeeting.md @@ -0,0 +1,15 @@ +# TravelProposalGroupAndMeeting + +Group and meeting information. + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | +| `RunOfHouseRate` | [TravelProposalGroupAndMeetingRunOfHouseRate](../../Models/Components/TravelProposalGroupAndMeetingRunOfHouseRate.md) | :heavy_minus_sign: | Run of house rate information. | +| `DayDelegateRate` | [TravelProposalGroupAndMeetingDayDelegateRate](../../Models/Components/TravelProposalGroupAndMeetingDayDelegateRate.md) | :heavy_minus_sign: | Day delegate rate information. This represents the costs for hosting meeting at the venue for a half or full day. | +| `TaxAndServiceCharge` | [TravelProposalGroupAndMeetingTaxAndServiceCharge](../../Models/Components/TravelProposalGroupAndMeetingTaxAndServiceCharge.md) | :heavy_minus_sign: | Tax and service charge information. | +| `MeetingRoomBasicInformation` | [TravelProposalGroupAndMeetingMeetingRoomBasicInformation](../../Models/Components/TravelProposalGroupAndMeetingMeetingRoomBasicInformation.md) | :heavy_minus_sign: | Meeting room basic information. | +| `Amenity` | [TravelProposalGroupAndMeetingAmenity](../../Models/Components/TravelProposalGroupAndMeetingAmenity.md) | :heavy_minus_sign: | Group and meeting amenity info. | +| `BreakOutRoom` | [TravelProposalGroupAndMeetingBreakOutRoom](../../Models/Components/TravelProposalGroupAndMeetingBreakOutRoom.md) | :heavy_minus_sign: | Break-out room information. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProposalGroupAndMeetingAmenity.md b/packages/csharp/docs/Models/Components/TravelProposalGroupAndMeetingAmenity.md new file mode 100644 index 000000000..bb8ab1e3b --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelProposalGroupAndMeetingAmenity.md @@ -0,0 +1,17 @@ +# TravelProposalGroupAndMeetingAmenity + +Group and meeting amenity info. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `LcdIncluded` | *bool* | :heavy_minus_sign: | True indicates a liquid crystal display (LCD) is included in the amenity. | | +| `LcdPrice` | *double* | :heavy_minus_sign: | Price of the liquid crystal display (LCD). | 100 | +| `ScreenIncluded` | *bool* | :heavy_minus_sign: | True indicates a screen is included in the amenity. | | +| `ScreenPrice` | *double* | :heavy_minus_sign: | Price of the screen. | 100 | +| `HsiaIncluded` | *bool* | :heavy_minus_sign: | True indicates high speed internet access is included in the amenity. | | +| `HsiaPrice` | *double* | :heavy_minus_sign: | Price of high speed internet access (HSIA). | 100 | +| `ComplementaryParkingIncluded` | *bool* | :heavy_minus_sign: | True indicates parking is included in the amenity. | | +| `WhatCompanyProvidesAVEquipment` | *string* | :heavy_minus_sign: | Name of company providing AV equipment. | Some company | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProposalGroupAndMeetingBreakOutRoom.md b/packages/csharp/docs/Models/Components/TravelProposalGroupAndMeetingBreakOutRoom.md new file mode 100644 index 000000000..9601993b7 --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelProposalGroupAndMeetingBreakOutRoom.md @@ -0,0 +1,14 @@ +# TravelProposalGroupAndMeetingBreakOutRoom + +Break-out room information. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `TenPersonRoomIncluded` | *bool* | :heavy_minus_sign: | True indicates a 10 person room is included. | | +| `Price10PersonRoom` | *double* | :heavy_minus_sign: | Price for 10 person room. | 100 | +| `TwentyFivePersonRoomIncluded` | *bool* | :heavy_minus_sign: | True indicates a 25 person room included. | | +| `Price25PersonRoom` | *double* | :heavy_minus_sign: | Price for 25 person room. | 100 | +| `PermanentBoardRoomSetUp` | *bool* | :heavy_minus_sign: | True indicates there is a permanent board room set up. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProposalGroupAndMeetingDayDelegateRate.md b/packages/csharp/docs/Models/Components/TravelProposalGroupAndMeetingDayDelegateRate.md new file mode 100644 index 000000000..44f098b0f --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelProposalGroupAndMeetingDayDelegateRate.md @@ -0,0 +1,13 @@ +# TravelProposalGroupAndMeetingDayDelegateRate + +Day delegate rate information. This represents the costs for hosting meeting at the venue for a half or full day. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| `FullDay10To50People` | *double* | :heavy_minus_sign: | Full day delegate rate for 10 to 50 people. | 100 | +| `FullDay51To100People` | *double* | :heavy_minus_sign: | Full day delegate rate for 51 to 100 people. | 200 | +| `HalfDay10To50People` | *double* | :heavy_minus_sign: | Half day delegate rate for 10 to 50 people. | 50 | +| `HalfDay51To100People` | *double* | :heavy_minus_sign: | Half day delegate rate for 51 to 100 people. | 100 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProposalGroupAndMeetingMeetingRoomBasicInformation.md b/packages/csharp/docs/Models/Components/TravelProposalGroupAndMeetingMeetingRoomBasicInformation.md new file mode 100644 index 000000000..105e38236 --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelProposalGroupAndMeetingMeetingRoomBasicInformation.md @@ -0,0 +1,12 @@ +# TravelProposalGroupAndMeetingMeetingRoomBasicInformation + +Meeting room basic information. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | +| `LargestMeetingRoom` | *long* | :heavy_minus_sign: | Size of the largest meeting room. Units of measurement determined by `unitOfMeasurement` field. | 1000 | +| `UnitOfMeasurement` | *string* | :heavy_minus_sign: | Unit of measurement of the `largestMeetingRoom`'s size. | sq.ft. | +| `MeetingRooms` | *long* | :heavy_minus_sign: | Total number of meeting rooms. | 10 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProposalGroupAndMeetingRunOfHouseRate.md b/packages/csharp/docs/Models/Components/TravelProposalGroupAndMeetingRunOfHouseRate.md new file mode 100644 index 000000000..b4e87938f --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelProposalGroupAndMeetingRunOfHouseRate.md @@ -0,0 +1,19 @@ +# TravelProposalGroupAndMeetingRunOfHouseRate + +Run of house rate information. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | +| `SeasonOne10To50People` | *double* | :heavy_minus_sign: | Season one run of house rate for 10-50 people. | 100 | +| `SeasonOne51To100People` | *double* | :heavy_minus_sign: | Season one run of house rate for 51-100 people. | 200 | +| `SeasonTwo10To50People` | *double* | :heavy_minus_sign: | Season two run of house rate for 10-50 people. | 300 | +| `SeasonTwo51To100People` | *double* | :heavy_minus_sign: | Season two run of house rate for 51-100 people. | 400 | +| `SeasonThree10To50People` | *double* | :heavy_minus_sign: | Season three run of house rate for 10-50 people. | 500 | +| `SeasonThree51To100People` | *double* | :heavy_minus_sign: | Season three run of house rate for 51-100 people. | 600 | +| `SeasonFour10To50People` | *double* | :heavy_minus_sign: | Season four run of house rate for 10-50 people. | 700 | +| `SeasonFour51To100People` | *double* | :heavy_minus_sign: | Season four run of house rate for 51-100 people. | 800 | +| `SeasonFive10To50People` | *double* | :heavy_minus_sign: | Season five run of house rate for 10-50 people. | 900 | +| `SeasonFive51To100People` | *double* | :heavy_minus_sign: | Season five run of house rate for 51-100 people. | 1000 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProposalGroupAndMeetingTaxAndServiceCharge.md b/packages/csharp/docs/Models/Components/TravelProposalGroupAndMeetingTaxAndServiceCharge.md new file mode 100644 index 000000000..aa9d75dd8 --- /dev/null +++ b/packages/csharp/docs/Models/Components/TravelProposalGroupAndMeetingTaxAndServiceCharge.md @@ -0,0 +1,15 @@ +# TravelProposalGroupAndMeetingTaxAndServiceCharge + +Tax and service charge information. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `TaxAmount` | *double* | :heavy_minus_sign: | Tax amount. | 0 | +| `TaxPercent` | *bool* | :heavy_minus_sign: | True indicates the tax amount represents a percentage, instead of a monetary value. | | +| `TaxIncluded` | *bool* | :heavy_minus_sign: | True indicates the tax included. | | +| `ServiceChargeAmount` | *double* | :heavy_minus_sign: | Service charge amount. | 1 | +| `ServiceChargePercent` | *bool* | :heavy_minus_sign: | True indicates the service charge amount represents a percentage, instead of a monetary value | | +| `ServiceChargeIncluded` | *bool* | :heavy_minus_sign: | True indicates the service charge is included. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProposalPaginatedResponse.md b/packages/csharp/docs/Models/Components/TravelProposalPaginatedResponse.md index c470452f5..e3bd513ab 100644 --- a/packages/csharp/docs/Models/Components/TravelProposalPaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/TravelProposalPaginatedResponse.md @@ -7,5 +7,5 @@ A paginated list of travel proposals. | Field | Type | Required | Description | | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | | `Data` | List<[TravelProposal](../../Models/Components/TravelProposal.md)> | :heavy_minus_sign: | Paginated list of business transient proposals. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelRunOfHouseRateJson.md b/packages/csharp/docs/Models/Components/TravelRunOfHouseRateJson.md deleted file mode 100644 index c1840c2a2..000000000 --- a/packages/csharp/docs/Models/Components/TravelRunOfHouseRateJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# TravelRunOfHouseRateJson - -Run of house rate information. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | -| `SeasonOne10To50People` | *double* | :heavy_minus_sign: | Season one run of house rate for 10-50 people. | 100 | -| `SeasonOne51To100People` | *double* | :heavy_minus_sign: | Season one run of house rate for 51-100 people. | 200 | -| `SeasonTwo10To50People` | *double* | :heavy_minus_sign: | Season two run of house rate for 10-50 people. | 300 | -| `SeasonTwo51To100People` | *double* | :heavy_minus_sign: | Season two run of house rate for 51-100 people. | 400 | -| `SeasonThree10To50People` | *double* | :heavy_minus_sign: | Season three run of house rate for 10-50 people. | 500 | -| `SeasonThree51To100People` | *double* | :heavy_minus_sign: | Season three run of house rate for 51-100 people. | 600 | -| `SeasonFour10To50People` | *double* | :heavy_minus_sign: | Season four run of house rate for 10-50 people. | 700 | -| `SeasonFour51To100People` | *double* | :heavy_minus_sign: | Season four run of house rate for 51-100 people. | 800 | -| `SeasonFive10To50People` | *double* | :heavy_minus_sign: | Season five run of house rate for 10-50 people. | 900 | -| `SeasonFive51To100People` | *double* | :heavy_minus_sign: | Season five run of house rate for 51-100 people. | 1000 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelTaxAndServiceChargeJson.md b/packages/csharp/docs/Models/Components/TravelTaxAndServiceChargeJson.md deleted file mode 100644 index ee2ab1a72..000000000 --- a/packages/csharp/docs/Models/Components/TravelTaxAndServiceChargeJson.md +++ /dev/null @@ -1,15 +0,0 @@ -# TravelTaxAndServiceChargeJson - -Tax and service charge information. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `TaxAmount` | *double* | :heavy_minus_sign: | Tax amount. | 0 | -| `TaxPercent` | *bool* | :heavy_minus_sign: | True indicates the tax amount represents a percentage, instead of a monetary value. | | -| `TaxIncluded` | *bool* | :heavy_minus_sign: | True indicates the tax included. | | -| `ServiceChargeAmount` | *double* | :heavy_minus_sign: | Service charge amount. | 1 | -| `ServiceChargePercent` | *bool* | :heavy_minus_sign: | True indicates the service charge amount represents a percentage, instead of a monetary value | | -| `ServiceChargeIncluded` | *bool* | :heavy_minus_sign: | True indicates the service charge is included. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/UnitPosition.md b/packages/csharp/docs/Models/Components/UnitPosition.md new file mode 100644 index 000000000..29855da16 --- /dev/null +++ b/packages/csharp/docs/Models/Components/UnitPosition.md @@ -0,0 +1,19 @@ +# UnitPosition + +Unit position used for text box question type. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = UnitPosition.Left; +``` + + +## Values + +| Name | Value | +| ------- | ------- | +| `Left` | Left | +| `Right` | Right | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/UnitPositionJson.md b/packages/csharp/docs/Models/Components/UnitPositionJson.md deleted file mode 100644 index e8f2dd8e1..000000000 --- a/packages/csharp/docs/Models/Components/UnitPositionJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# UnitPositionJson - -Unit position used for text box question type. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = UnitPositionJson.Left; -``` - - -## Values - -| Name | Value | -| ------- | ------- | -| `Left` | Left | -| `Right` | Right | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/UpdatedThroughNameProperty.md b/packages/csharp/docs/Models/Components/UpdatedThroughNameProperty.md new file mode 100644 index 000000000..feb3226b5 --- /dev/null +++ b/packages/csharp/docs/Models/Components/UpdatedThroughNameProperty.md @@ -0,0 +1,103 @@ +# UpdatedThroughNameProperty + +Name of the place where this change was updated through. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = UpdatedThroughNameProperty.AbstractGuestSideAuthorUpdate; +``` + + +## Values + +| Name | Value | +| --------------------------------------------------------------- | --------------------------------------------------------------- | +| `AbstractGuestSideAuthorUpdate` | Abstract Guest Side Author Update | +| `AbstractGuestSideReviewerUpdate` | Abstract Guest Side Reviewer Update | +| `AbstractGuestSideUser` | Abstract Guest Side User | +| `AbstractPlannerSide` | Abstract Planner side | +| `AddressBookProfile` | Address Book Profile | +| `AmexCardDelete` | Amex Card Delete | +| `AmexCardInsert` | Amex Card Insert | +| `AmexCardUpdate` | Amex Card Update | +| `AnswersReplacedFromAdministration` | Answers Replaced from Administration | +| `AppointmentGuestSide` | Appointment Guest Side | +| `AttendeeHub` | Attendee Hub | +| `BudgetAllocationUpdate` | Budget Allocation Update | +| `BudgetAttendeeUpdate` | Budget Attendee Update | +| `BudgetItemCustomFieldAnswersReplacedFromAdministration` | Budget Item Custom Field Answers Replaced from Administration | +| `BudgetItemDelete` | Budget Item Delete | +| `BudgetItemDuplicate` | Budget Item Duplicate | +| `BudgetItemImport` | Budget Item Import | +| `BudgetItemInsertViaRESTAPI` | Budget Item Insert via REST API | +| `BudgetItemInsert` | Budget Item Insert | +| `BudgetItemSingleUpdate` | Budget Item Single Update | +| `BudgetItemTemplateImport` | Budget Item Template Import | +| `BudgetItemUpdateViaRESTAPI` | Budget Item Update via REST API | +| `BudgetItemsBulkAssignVendor` | Budget Items Bulk Assign Vendor | +| `BudgetItemsBulkCopyCostLabel` | Budget Items Bulk Copy Cost label | +| `BudgetItemsBulkCopy` | Budget Items Bulk Copy | +| `BudgetItemsBulkDelete` | Budget Items Bulk Delete | +| `BudgetItemsBulkUpdate` | Budget Items Bulk Update | +| `BudgetVersionUpdate` | Budget Version Update | +| `BulkUpdateContactFieldAnswer` | Bulk Update Contact Field Answer | +| `ConcurReconciliationCreateNewBudgetItemForEachExpense` | Concur Reconciliation - Create New Budget Item For Each Expense | +| `ConcurReconciliationMapToExistingBudgetItem` | Concur Reconciliation - Map to Existing Budget Item | +| `ConfirmOptInEmail` | Confirm Opt In Email | +| `ContactImport` | Contact Import | +| `ContactNewMembership` | Contact New Membership | +| `ContactPendingObfuscation` | Contact Pending Obfuscation | +| `ContactWebsiteProfileUpdate` | Contact Website Profile Update | +| `CreatedWithinMeetingRequest` | Created Within Meeting Request | +| `CreatedFromAPI` | Created from API | +| `CreatedFromRequestWebsite` | Created from Request Website | +| `CrowdCompassProfileUpdate` | Crowd Compass Profile Update | +| `CustomFieldAddedFromAdmin` | Custom Field Added From Admin | +| `CustomFieldAddedViaRESTAPI` | Custom Field Added via REST API | +| `CustomFieldDeletedFromAdmin` | Custom Field Deleted From Admin | +| `CustomFieldModifiedFromAdmin` | Custom Field Modified From Admin | +| `CustomFieldModifiedViaRESTAPI` | Custom Field Modified via REST API | +| `DeletedWithinAdministration` | Deleted Within Administration | +| `DeletedFromMeetingRequestForm` | Deleted from Meeting Request Form | +| `DeletedFromRequestWebsite` | Deleted from Request Website | +| `DeletedWithinMeetingRequest` | Deleted within Meeting Request | +| `EventAutomaticallyCreatedFromMeetingRequest` | Event Automatically Created from Meeting Request | +| `EventCreatedFromAPI` | Event Created from API | +| `EventCreatedFromEventWizard` | Event Created from Event Wizard | +| `EventGuestSideModification` | Event Guest Side Modification | +| `EventGuestSideRegistration` | Event Guest Side Registration | +| `EventImport` | Event Import | +| `EventModifiedFromMeetingRequestViaAPI` | Event Modified from Meeting Request via API | +| `EventModifiedFromMeetingRequest` | Event Modified from Meeting Request | +| `EventOnsiteRegistration` | Event Onsite Registration | +| `EventPOST` | Event POST | +| `EventPlannerContactInformationUpdate` | Event Planner Contact Information Update | +| `EventPlannerSideModification` | Event Planner Side Modification | +| `EventPlannerSideRegistration` | Event Planner Side Registration | +| `HotelRequestImport` | Hotel Request Import | +| `MarketoContactImport` | Marketo Contact Import | +| `ModifiedWithinEvent` | Modified Within Event | +| `ModifiedWithinMeetingRequest` | Modified Within Meeting Request | +| `ModifiedFromAPI` | Modified from API | +| `ModifiedFromEventDocuments` | Modified from Event Documents | +| `ModifiedFromMeetingRequestViaNotification` | Modified from Meeting Request via Notification | +| `ModifiedFromRequestWebsite` | Modified from Request Website | +| `RegistrationImport` | Registration Import | +| `RestApi` | REST API | +| `SalesforceIntegration` | Salesforce Integration | +| `SurveyAuthorModification` | Survey Author Modification | +| `SurveyAuthorResponse` | Survey Author Response | +| `SurveyGuestSideModification` | Survey Guest Side Modification | +| `SurveyGuestSideResponse` | Survey Guest Side Response | +| `SurveyPOST` | Survey POST | +| `TravelCostImportMapToExistingBudgetItem` | Travel Cost Import - Map to Existing Budget item | +| `TravelCostImportMapToNewBudgetItem` | Travel Cost Import - Map to New Budget Item | +| `VCNTransactionCreateNewBudgetItemForEachTransaction` | VCN Transaction - Create New Budget Item For Each Transaction | +| `VCNTransactionMapToMultipleBudgetItem` | VCN Transaction - Map to Multiple Budget Item | +| `VCNTransactionMapToSingleBudgetItem` | VCN Transaction - Map to Single Budget Item | +| `VCNTransactionRemovedFromBudgetItem` | VCN Transaction - Removed from Budget Item | +| `WebServices` | Web Services | +| `EMarketingProfileUpdate` | eMarketing Profile Update | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/UpdatedThroughNamePropertyJson.md b/packages/csharp/docs/Models/Components/UpdatedThroughNamePropertyJson.md deleted file mode 100644 index 4c6a36a18..000000000 --- a/packages/csharp/docs/Models/Components/UpdatedThroughNamePropertyJson.md +++ /dev/null @@ -1,103 +0,0 @@ -# UpdatedThroughNamePropertyJson - -Name of the place where this change was updated through. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = UpdatedThroughNamePropertyJson.AbstractGuestSideAuthorUpdate; -``` - - -## Values - -| Name | Value | -| --------------------------------------------------------------- | --------------------------------------------------------------- | -| `AbstractGuestSideAuthorUpdate` | Abstract Guest Side Author Update | -| `AbstractGuestSideReviewerUpdate` | Abstract Guest Side Reviewer Update | -| `AbstractGuestSideUser` | Abstract Guest Side User | -| `AbstractPlannerSide` | Abstract Planner side | -| `AddressBookProfile` | Address Book Profile | -| `AmexCardDelete` | Amex Card Delete | -| `AmexCardInsert` | Amex Card Insert | -| `AmexCardUpdate` | Amex Card Update | -| `AnswersReplacedFromAdministration` | Answers Replaced from Administration | -| `AppointmentGuestSide` | Appointment Guest Side | -| `AttendeeHub` | Attendee Hub | -| `BudgetAllocationUpdate` | Budget Allocation Update | -| `BudgetAttendeeUpdate` | Budget Attendee Update | -| `BudgetItemCustomFieldAnswersReplacedFromAdministration` | Budget Item Custom Field Answers Replaced from Administration | -| `BudgetItemDelete` | Budget Item Delete | -| `BudgetItemDuplicate` | Budget Item Duplicate | -| `BudgetItemImport` | Budget Item Import | -| `BudgetItemInsertViaRESTAPI` | Budget Item Insert via REST API | -| `BudgetItemInsert` | Budget Item Insert | -| `BudgetItemSingleUpdate` | Budget Item Single Update | -| `BudgetItemTemplateImport` | Budget Item Template Import | -| `BudgetItemUpdateViaRESTAPI` | Budget Item Update via REST API | -| `BudgetItemsBulkAssignVendor` | Budget Items Bulk Assign Vendor | -| `BudgetItemsBulkCopyCostLabel` | Budget Items Bulk Copy Cost label | -| `BudgetItemsBulkCopy` | Budget Items Bulk Copy | -| `BudgetItemsBulkDelete` | Budget Items Bulk Delete | -| `BudgetItemsBulkUpdate` | Budget Items Bulk Update | -| `BudgetVersionUpdate` | Budget Version Update | -| `BulkUpdateContactFieldAnswer` | Bulk Update Contact Field Answer | -| `ConcurReconciliationCreateNewBudgetItemForEachExpense` | Concur Reconciliation - Create New Budget Item For Each Expense | -| `ConcurReconciliationMapToExistingBudgetItem` | Concur Reconciliation - Map to Existing Budget Item | -| `ConfirmOptInEmail` | Confirm Opt In Email | -| `ContactImport` | Contact Import | -| `ContactNewMembership` | Contact New Membership | -| `ContactPendingObfuscation` | Contact Pending Obfuscation | -| `ContactWebsiteProfileUpdate` | Contact Website Profile Update | -| `CreatedWithinMeetingRequest` | Created Within Meeting Request | -| `CreatedFromAPI` | Created from API | -| `CreatedFromRequestWebsite` | Created from Request Website | -| `CrowdCompassProfileUpdate` | Crowd Compass Profile Update | -| `CustomFieldAddedFromAdmin` | Custom Field Added From Admin | -| `CustomFieldAddedViaRESTAPI` | Custom Field Added via REST API | -| `CustomFieldDeletedFromAdmin` | Custom Field Deleted From Admin | -| `CustomFieldModifiedFromAdmin` | Custom Field Modified From Admin | -| `CustomFieldModifiedViaRESTAPI` | Custom Field Modified via REST API | -| `DeletedWithinAdministration` | Deleted Within Administration | -| `DeletedFromMeetingRequestForm` | Deleted from Meeting Request Form | -| `DeletedFromRequestWebsite` | Deleted from Request Website | -| `DeletedWithinMeetingRequest` | Deleted within Meeting Request | -| `EventAutomaticallyCreatedFromMeetingRequest` | Event Automatically Created from Meeting Request | -| `EventCreatedFromAPI` | Event Created from API | -| `EventCreatedFromEventWizard` | Event Created from Event Wizard | -| `EventGuestSideModification` | Event Guest Side Modification | -| `EventGuestSideRegistration` | Event Guest Side Registration | -| `EventImport` | Event Import | -| `EventModifiedFromMeetingRequestViaAPI` | Event Modified from Meeting Request via API | -| `EventModifiedFromMeetingRequest` | Event Modified from Meeting Request | -| `EventOnsiteRegistration` | Event Onsite Registration | -| `EventPOST` | Event POST | -| `EventPlannerContactInformationUpdate` | Event Planner Contact Information Update | -| `EventPlannerSideModification` | Event Planner Side Modification | -| `EventPlannerSideRegistration` | Event Planner Side Registration | -| `HotelRequestImport` | Hotel Request Import | -| `MarketoContactImport` | Marketo Contact Import | -| `ModifiedWithinEvent` | Modified Within Event | -| `ModifiedWithinMeetingRequest` | Modified Within Meeting Request | -| `ModifiedFromAPI` | Modified from API | -| `ModifiedFromEventDocuments` | Modified from Event Documents | -| `ModifiedFromMeetingRequestViaNotification` | Modified from Meeting Request via Notification | -| `ModifiedFromRequestWebsite` | Modified from Request Website | -| `RegistrationImport` | Registration Import | -| `RestApi` | REST API | -| `SalesforceIntegration` | Salesforce Integration | -| `SurveyAuthorModification` | Survey Author Modification | -| `SurveyAuthorResponse` | Survey Author Response | -| `SurveyGuestSideModification` | Survey Guest Side Modification | -| `SurveyGuestSideResponse` | Survey Guest Side Response | -| `SurveyPOST` | Survey POST | -| `TravelCostImportMapToExistingBudgetItem` | Travel Cost Import - Map to Existing Budget item | -| `TravelCostImportMapToNewBudgetItem` | Travel Cost Import - Map to New Budget Item | -| `VCNTransactionCreateNewBudgetItemForEachTransaction` | VCN Transaction - Create New Budget Item For Each Transaction | -| `VCNTransactionMapToMultipleBudgetItem` | VCN Transaction - Map to Multiple Budget Item | -| `VCNTransactionMapToSingleBudgetItem` | VCN Transaction - Map to Single Budget Item | -| `VCNTransactionRemovedFromBudgetItem` | VCN Transaction - Removed from Budget Item | -| `WebServices` | Web Services | -| `EMarketingProfileUpdate` | eMarketing Profile Update | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/User.md b/packages/csharp/docs/Models/Components/User.md index 2af29dfa6..af6da97dc 100644 --- a/packages/csharp/docs/Models/Components/User.md +++ b/packages/csharp/docs/Models/Components/User.md @@ -15,7 +15,7 @@ Generic sample User. Not a real model used by any Cvent service. | `Emails` | List<[EmailJson1](../../Models/Components/EmailJson1.md)> | :heavy_check_mark: | The email of the user. The Cvent user can have only one email address.
If multiple email addresses are provided, only one is accepted and rest are ignored. One email is selected based on the following sequence of criteria: primary email, then work type, and finally first in the sequence. | | | `Title` | *string* | :heavy_minus_sign: | The title of the user. | Vice President | | `PhoneNumbers` | List<[PhoneNumberJson1](../../Models/Components/PhoneNumberJson1.md)> | :heavy_minus_sign: | The phone numbers of the user.
If more than one number per type is provided, only one is accepted and rest are ignored. | | -| `Addresses` | List<[AddressJson4](../../Models/Components/AddressJson4.md)> | :heavy_minus_sign: | The address of the user. The user can have only one address.
If multiple addresses are provided, only one is accepted and rest are ignored. One address is selected based on the following sequence of criteria: primary, work type, first in the sequence | | +| `Addresses` | List<[AddressJson2](../../Models/Components/AddressJson2.md)> | :heavy_minus_sign: | The address of the user. The user can have only one address.
If multiple addresses are provided, only one is accepted and rest are ignored. One address is selected based on the following sequence of criteria: primary, work type, first in the sequence | | | `UserType` | [UserTypeJson](../../Models/Components/UserTypeJson.md) | :heavy_check_mark: | The type of the user. | Planner Account User | | `Timezone` | *string* | :heavy_minus_sign: | List of Timezones supported. | America/New_York | | `Locale` | *string* | :heavy_check_mark: | The locale of the user. The IETF Language Tag format is used. | en-US | diff --git a/packages/csharp/docs/Models/Components/UserInput.md b/packages/csharp/docs/Models/Components/UserInput.md index 0faaf4a8d..8a30c8d58 100644 --- a/packages/csharp/docs/Models/Components/UserInput.md +++ b/packages/csharp/docs/Models/Components/UserInput.md @@ -13,7 +13,7 @@ Generic sample User. Not a real model used by any Cvent service. | `Emails` | List<[EmailJson1](../../Models/Components/EmailJson1.md)> | :heavy_check_mark: | The email of the user. The Cvent user can have only one email address.
If multiple email addresses are provided, only one is accepted and rest are ignored. One email is selected based on the following sequence of criteria: primary email, then work type, and finally first in the sequence. | | | `Title` | *string* | :heavy_minus_sign: | The title of the user. | Vice President | | `PhoneNumbers` | List<[PhoneNumberJson1](../../Models/Components/PhoneNumberJson1.md)> | :heavy_minus_sign: | The phone numbers of the user.
If more than one number per type is provided, only one is accepted and rest are ignored. | | -| `Addresses` | List<[AddressJson4](../../Models/Components/AddressJson4.md)> | :heavy_minus_sign: | The address of the user. The user can have only one address.
If multiple addresses are provided, only one is accepted and rest are ignored. One address is selected based on the following sequence of criteria: primary, work type, first in the sequence | | +| `Addresses` | List<[AddressJson2](../../Models/Components/AddressJson2.md)> | :heavy_minus_sign: | The address of the user. The user can have only one address.
If multiple addresses are provided, only one is accepted and rest are ignored. One address is selected based on the following sequence of criteria: primary, work type, first in the sequence | | | `UserType` | [UserTypeJson](../../Models/Components/UserTypeJson.md) | :heavy_check_mark: | The type of the user. | Planner Account User | | `Timezone` | *string* | :heavy_minus_sign: | List of Timezones supported. | America/New_York | | `Locale` | *string* | :heavy_check_mark: | The locale of the user. The IETF Language Tag format is used. | en-US | diff --git a/packages/csharp/docs/Models/Components/UserJson.md b/packages/csharp/docs/Models/Components/UserJson.md index 3ab50eefb..f10034d17 100644 --- a/packages/csharp/docs/Models/Components/UserJson.md +++ b/packages/csharp/docs/Models/Components/UserJson.md @@ -15,7 +15,7 @@ Generic sample User. Not a real model used by any Cvent service. | `Emails` | List<[EmailJson1](../../Models/Components/EmailJson1.md)> | :heavy_check_mark: | The email of the user. The Cvent user can have only one email address.
If multiple email addresses are provided, only one is accepted and rest are ignored. One email is selected based on the following sequence of criteria: primary email, then work type, and finally first in the sequence. | | | `Title` | *string* | :heavy_minus_sign: | The title of the user. | Vice President | | `PhoneNumbers` | List<[PhoneNumberJson1](../../Models/Components/PhoneNumberJson1.md)> | :heavy_minus_sign: | The phone numbers of the user.
If more than one number per type is provided, only one is accepted and rest are ignored. | | -| `Addresses` | List<[AddressJson4](../../Models/Components/AddressJson4.md)> | :heavy_minus_sign: | The address of the user. The user can have only one address.
If multiple addresses are provided, only one is accepted and rest are ignored. One address is selected based on the following sequence of criteria: primary, work type, first in the sequence | | +| `Addresses` | List<[AddressJson2](../../Models/Components/AddressJson2.md)> | :heavy_minus_sign: | The address of the user. The user can have only one address.
If multiple addresses are provided, only one is accepted and rest are ignored. One address is selected based on the following sequence of criteria: primary, work type, first in the sequence | | | `UserType` | [UserTypeJson](../../Models/Components/UserTypeJson.md) | :heavy_check_mark: | The type of the user. | Planner Account User | | `Timezone` | *string* | :heavy_minus_sign: | List of Timezones supported. | America/New_York | | `Locale` | *string* | :heavy_check_mark: | The locale of the user. The IETF Language Tag format is used. | en-US | diff --git a/packages/csharp/docs/Models/Components/VenueSummary.md b/packages/csharp/docs/Models/Components/VenueSummary.md index c2c5de989..c5bc91c72 100644 --- a/packages/csharp/docs/Models/Components/VenueSummary.md +++ b/packages/csharp/docs/Models/Components/VenueSummary.md @@ -7,6 +7,6 @@ Represents a summary of venue information associated with current proposal. | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `Type` | [SupplierTypeJson1](../../Models/Components/SupplierTypeJson1.md) | :heavy_minus_sign: | The supplier's type. VENUE: A hotel, convention and visitors bureau (CVB), or other location for an event. | | +| `Type` | [SupplierTypeJson](../../Models/Components/SupplierTypeJson.md) | :heavy_minus_sign: | The supplier's type. VENUE: A hotel, convention and visitors bureau (CVB), or other location for an event. | | | `Id` | *string* | :heavy_minus_sign: | The unique ID of the venue. | bedc1f8e-f68b-40cf-b901-487e407f637a | | `Name` | *string* | :heavy_minus_sign: | The name of the venue. | Hotel Grand San Francisco. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Video1.md b/packages/csharp/docs/Models/Components/Video1.md new file mode 100644 index 000000000..4f7a81645 --- /dev/null +++ b/packages/csharp/docs/Models/Components/Video1.md @@ -0,0 +1,10 @@ +# Video1 + +The details of a video + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `Id` | *string* | :heavy_minus_sign: | The unique ID of the video. | 456e4567-e89b-12d3-a456-426614174000 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoAssetID.md b/packages/csharp/docs/Models/Components/VideoAssetID.md new file mode 100644 index 000000000..e2888dfd8 --- /dev/null +++ b/packages/csharp/docs/Models/Components/VideoAssetID.md @@ -0,0 +1,10 @@ +# VideoAssetID + +Video that this asset was created with. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `Id` | *string* | :heavy_check_mark: | The identifier of a video. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoAssetIdJson.md b/packages/csharp/docs/Models/Components/VideoAssetIdJson.md deleted file mode 100644 index 9e191942d..000000000 --- a/packages/csharp/docs/Models/Components/VideoAssetIdJson.md +++ /dev/null @@ -1,10 +0,0 @@ -# VideoAssetIdJson - -Video that this asset was created with. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `Id` | *string* | :heavy_check_mark: | The identifier of a video. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoClip.md b/packages/csharp/docs/Models/Components/VideoClip.md new file mode 100644 index 000000000..8b8be58b8 --- /dev/null +++ b/packages/csharp/docs/Models/Components/VideoClip.md @@ -0,0 +1,11 @@ +# VideoClip + +Video clip details. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `Start` | *string* | :heavy_minus_sign: | The timecode to start the clip in HH:MM:SS:FF format | 00:01:01:00 | +| `End` | *string* | :heavy_minus_sign: | The timecode to end the clip in HH:MM:SS:FF format. | 00:05:00:00 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoClipJson.md b/packages/csharp/docs/Models/Components/VideoClipJson.md deleted file mode 100644 index 1070684b7..000000000 --- a/packages/csharp/docs/Models/Components/VideoClipJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# VideoClipJson - -Video clip details. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | -| `Start` | *string* | :heavy_minus_sign: | The timecode to start the clip in HH:MM:SS:FF format | 00:01:01:00 | -| `End` | *string* | :heavy_minus_sign: | The timecode to end the clip in HH:MM:SS:FF format. | 00:05:00:00 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoError.md b/packages/csharp/docs/Models/Components/VideoError.md new file mode 100644 index 000000000..b916f9a1c --- /dev/null +++ b/packages/csharp/docs/Models/Components/VideoError.md @@ -0,0 +1,11 @@ +# VideoError + +This is used to denote the errors for a video entity. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Code` | [VideoErrorCode](../../Models/Components/VideoErrorCode.md) | :heavy_check_mark: | This is used to denote the error codes for a video entity. | 601 | +| `Message` | *string* | :heavy_check_mark: | Error message for the video. Message is a developer convenience never to be used in any context that needs localisation, subject to change at any time. | Transcoding failed due to an unsupported video codec. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoErrorCode.md b/packages/csharp/docs/Models/Components/VideoErrorCode.md new file mode 100644 index 000000000..dae938567 --- /dev/null +++ b/packages/csharp/docs/Models/Components/VideoErrorCode.md @@ -0,0 +1,26 @@ +# VideoErrorCode + +This is used to denote the error codes for a video entity. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = VideoErrorCode.SixHundred; +``` + + +## Values + +| Name | Value | +| -------------------- | -------------------- | +| `SixHundred` | 600 | +| `SixHundredAndOne` | 601 | +| `SixHundredAndTwo` | 602 | +| `SixHundredAndThree` | 603 | +| `SixHundredAndFour` | 604 | +| `SixHundredAndFive` | 605 | +| `SixHundredAndSix` | 606 | +| `SixHundredAndSeven` | 607 | +| `SixHundredAndEight` | 608 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoErrorCodeJson.md b/packages/csharp/docs/Models/Components/VideoErrorCodeJson.md deleted file mode 100644 index 25288e794..000000000 --- a/packages/csharp/docs/Models/Components/VideoErrorCodeJson.md +++ /dev/null @@ -1,26 +0,0 @@ -# VideoErrorCodeJson - -This is used to denote the error codes for a video entity. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = VideoErrorCodeJson.SixHundred; -``` - - -## Values - -| Name | Value | -| -------------------- | -------------------- | -| `SixHundred` | 600 | -| `SixHundredAndOne` | 601 | -| `SixHundredAndTwo` | 602 | -| `SixHundredAndThree` | 603 | -| `SixHundredAndFour` | 604 | -| `SixHundredAndFive` | 605 | -| `SixHundredAndSix` | 606 | -| `SixHundredAndSeven` | 607 | -| `SixHundredAndEight` | 608 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoErrorJson.md b/packages/csharp/docs/Models/Components/VideoErrorJson.md deleted file mode 100644 index bb3ec2d1a..000000000 --- a/packages/csharp/docs/Models/Components/VideoErrorJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# VideoErrorJson - -This is used to denote the errors for a video entity. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Code` | [VideoErrorCodeJson](../../Models/Components/VideoErrorCodeJson.md) | :heavy_check_mark: | This is used to denote the error codes for a video entity. | 601 | -| `Message` | *string* | :heavy_check_mark: | Error message for the video. Message is a developer convenience never to be used in any context that needs localisation, subject to change at any time. | Transcoding failed due to an unsupported video codec. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoJson.md b/packages/csharp/docs/Models/Components/VideoJson.md deleted file mode 100644 index eb1838bda..000000000 --- a/packages/csharp/docs/Models/Components/VideoJson.md +++ /dev/null @@ -1,10 +0,0 @@ -# VideoJson - -The details of a video - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `Id` | *string* | :heavy_minus_sign: | The unique ID of the video. | 456e4567-e89b-12d3-a456-426614174000 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoRendition.md b/packages/csharp/docs/Models/Components/VideoRendition.md new file mode 100644 index 000000000..e2158d327 --- /dev/null +++ b/packages/csharp/docs/Models/Components/VideoRendition.md @@ -0,0 +1,18 @@ +# VideoRendition + +Video rendition + + +## 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 | +| `Video` | [VideoAssetID](../../Models/Components/VideoAssetID.md) | :heavy_minus_sign: | Video that this asset was created with. | | +| `Type` | [VideoRenditionType](../../Models/Components/VideoRenditionType.md) | :heavy_minus_sign: | Denotes the type of rendition. | Hls | +| `Location` | [VideoRenditionLink](../../Models/Components/VideoRenditionLink.md) | :heavy_minus_sign: | Location where the rendition is stored. | | +| `Width` | *long* | :heavy_minus_sign: | The video's frame width in pixels. | 300 | +| `Height` | *long* | :heavy_minus_sign: | The video's frame height in pixels. | 400 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoRenditionJson.md b/packages/csharp/docs/Models/Components/VideoRenditionJson.md deleted file mode 100644 index 7b0912eaf..000000000 --- a/packages/csharp/docs/Models/Components/VideoRenditionJson.md +++ /dev/null @@ -1,18 +0,0 @@ -# VideoRenditionJson - -Video rendition - - -## 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 | -| `Video` | [VideoAssetIdJson](../../Models/Components/VideoAssetIdJson.md) | :heavy_minus_sign: | Video that this asset was created with. | | -| `Type` | [VideoRenditionTypeJson](../../Models/Components/VideoRenditionTypeJson.md) | :heavy_minus_sign: | Denotes the type of rendition. | Hls | -| `Location` | [VideoRenditionJsonLink](../../Models/Components/VideoRenditionJsonLink.md) | :heavy_minus_sign: | Location where the rendition is stored. | | -| `Width` | *long* | :heavy_minus_sign: | The video's frame width in pixels. | 300 | -| `Height` | *long* | :heavy_minus_sign: | The video's frame height in pixels. | 400 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoRenditionJsonLink.md b/packages/csharp/docs/Models/Components/VideoRenditionJsonLink.md deleted file mode 100644 index b6a56953f..000000000 --- a/packages/csharp/docs/Models/Components/VideoRenditionJsonLink.md +++ /dev/null @@ -1,10 +0,0 @@ -# VideoRenditionJsonLink - -Location where the rendition is stored. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | -| `Href` | *string* | :heavy_check_mark: | A pre-signed URL with an expiration of 2 hours that provides the location. | https://example.com/M8/7f378243-2c62-49fa-82e9-90e5498d30c3?Policy=eyJTdGF0ZW1lbnUysx5cE4-KWfUQ__&Key-Pair-Id=K6XDZ8UJY4Q0X | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoRenditionLink.md b/packages/csharp/docs/Models/Components/VideoRenditionLink.md new file mode 100644 index 000000000..7f5fce481 --- /dev/null +++ b/packages/csharp/docs/Models/Components/VideoRenditionLink.md @@ -0,0 +1,10 @@ +# VideoRenditionLink + +Location where the rendition is stored. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | +| `Href` | *string* | :heavy_check_mark: | A pre-signed URL with an expiration of 2 hours that provides the location. | https://example.com/M8/7f378243-2c62-49fa-82e9-90e5498d30c3?Policy=eyJTdGF0ZW1lbnUysx5cE4-KWfUQ__&Key-Pair-Id=K6XDZ8UJY4Q0X | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoRenditionType.md b/packages/csharp/docs/Models/Components/VideoRenditionType.md new file mode 100644 index 000000000..7b6fe7fc4 --- /dev/null +++ b/packages/csharp/docs/Models/Components/VideoRenditionType.md @@ -0,0 +1,24 @@ +# VideoRenditionType + +Denotes the type of rendition. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = VideoRenditionType.Hls; +``` + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `Hls` | Hls | +| `HlsMaster` | HlsMaster | +| `Mp4` | Mp4 | +| `Poster` | Poster | +| `Mp4Preview` | Mp4Preview | +| `Mp3` | Mp3 | +| `Audio` | Audio | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoRenditionTypeJson.md b/packages/csharp/docs/Models/Components/VideoRenditionTypeJson.md deleted file mode 100644 index 3b2a19a04..000000000 --- a/packages/csharp/docs/Models/Components/VideoRenditionTypeJson.md +++ /dev/null @@ -1,24 +0,0 @@ -# VideoRenditionTypeJson - -Denotes the type of rendition. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = VideoRenditionTypeJson.Hls; -``` - - -## Values - -| Name | Value | -| ------------ | ------------ | -| `Hls` | Hls | -| `HlsMaster` | HlsMaster | -| `Mp4` | Mp4 | -| `Poster` | Poster | -| `Mp4Preview` | Mp4Preview | -| `Mp3` | Mp3 | -| `Audio` | Audio | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoRenditionsResponse.md b/packages/csharp/docs/Models/Components/VideoRenditionsResponse.md index 136a41706..c2f4a61bc 100644 --- a/packages/csharp/docs/Models/Components/VideoRenditionsResponse.md +++ b/packages/csharp/docs/Models/Components/VideoRenditionsResponse.md @@ -5,6 +5,6 @@ The response from a request to get the list of video renditions. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `Data` | List<[VideoRenditionJson](../../Models/Components/VideoRenditionJson.md)> | :heavy_minus_sign: | Collection of video renditions. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `Data` | List<[VideoRendition](../../Models/Components/VideoRendition.md)> | :heavy_minus_sign: | Collection of video renditions. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoSource.md b/packages/csharp/docs/Models/Components/VideoSource.md new file mode 100644 index 000000000..da848ffc7 --- /dev/null +++ b/packages/csharp/docs/Models/Components/VideoSource.md @@ -0,0 +1,11 @@ +# VideoSource + +Source of video. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | The id of a video in the external system | VD134567 | +| `Status` | [VideoSourceStatus](../../Models/Components/VideoSourceStatus.md) | :heavy_minus_sign: | Denotes the status of the video in the third-party system. | Active | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoSourceJson.md b/packages/csharp/docs/Models/Components/VideoSourceJson.md deleted file mode 100644 index 7b476c82a..000000000 --- a/packages/csharp/docs/Models/Components/VideoSourceJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# VideoSourceJson - -Source of video. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | The id of a video in the external system | VD134567 | -| `Status` | [VideoSourceJsonStatus](../../Models/Components/VideoSourceJsonStatus.md) | :heavy_minus_sign: | Denotes the status of the video in the third-party system. | Active | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoSourceJsonStatus.md b/packages/csharp/docs/Models/Components/VideoSourceJsonStatus.md deleted file mode 100644 index c5b086168..000000000 --- a/packages/csharp/docs/Models/Components/VideoSourceJsonStatus.md +++ /dev/null @@ -1,21 +0,0 @@ -# VideoSourceJsonStatus - -Denotes the status of the video in the third-party system. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = VideoSourceJsonStatus.Active; -``` - - -## Values - -| Name | Value | -| ---------- | ---------- | -| `Active` | Active | -| `Inactive` | Inactive | -| `Pending` | Pending | -| `Deleted` | Deleted | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoSourceStatus.md b/packages/csharp/docs/Models/Components/VideoSourceStatus.md new file mode 100644 index 000000000..505b56d0b --- /dev/null +++ b/packages/csharp/docs/Models/Components/VideoSourceStatus.md @@ -0,0 +1,21 @@ +# VideoSourceStatus + +Denotes the status of the video in the third-party system. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = VideoSourceStatus.Active; +``` + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `Active` | Active | +| `Inactive` | Inactive | +| `Pending` | Pending | +| `Deleted` | Deleted | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoStatus.md b/packages/csharp/docs/Models/Components/VideoStatus.md new file mode 100644 index 000000000..76b56367c --- /dev/null +++ b/packages/csharp/docs/Models/Components/VideoStatus.md @@ -0,0 +1,27 @@ +# VideoStatus + +Denotes the status of a video. Started indicates the request to upload in the API was submitted, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the video. Available indicates the video is available for use. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = VideoStatus.Started; +``` + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `Started` | Started | +| `Uploaded` | Uploaded | +| `Scanning` | Scanning | +| `Scanned` | Scanned | +| `Syncing` | Syncing | +| `Rejected` | Rejected | +| `Error` | Error | +| `Available` | Available | +| `Upcoming` | Upcoming | +| `ReSyncing` | ReSyncing | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoStatusJson.md b/packages/csharp/docs/Models/Components/VideoStatusJson.md deleted file mode 100644 index c66b8baf9..000000000 --- a/packages/csharp/docs/Models/Components/VideoStatusJson.md +++ /dev/null @@ -1,27 +0,0 @@ -# VideoStatusJson - -Denotes the status of a video. Started indicates the request to upload in the API was submitted, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the video. Available indicates the video is available for use. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = VideoStatusJson.Started; -``` - - -## Values - -| Name | Value | -| ----------- | ----------- | -| `Started` | Started | -| `Uploaded` | Uploaded | -| `Scanning` | Scanning | -| `Scanned` | Scanned | -| `Syncing` | Syncing | -| `Rejected` | Rejected | -| `Error` | Error | -| `Available` | Available | -| `Upcoming` | Upcoming | -| `ReSyncing` | ReSyncing | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoTextTrack.md b/packages/csharp/docs/Models/Components/VideoTextTrack.md index f9c0e5400..e1ecf60e8 100644 --- a/packages/csharp/docs/Models/Components/VideoTextTrack.md +++ b/packages/csharp/docs/Models/Components/VideoTextTrack.md @@ -7,11 +7,11 @@ Video text track | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Video` | [VideoAssetIdJson](../../Models/Components/VideoAssetIdJson.md) | :heavy_minus_sign: | Video that this asset was created with. | | +| `Video` | [VideoAssetID](../../Models/Components/VideoAssetID.md) | :heavy_minus_sign: | Video that this asset was created with. | | | `Label` | *string* | :heavy_minus_sign: | Name of the text track. | English | | `Language` | *string* | :heavy_check_mark: | IETF language tag for the text track. | en-US | -| `Kind` | [VideoTextTrackKindJson](../../Models/Components/VideoTextTrackKindJson.md) | :heavy_check_mark: | Denotes the kind of video text track. Only subtitles are supported. | subtitles | +| `Kind` | [VideoTextTrackKind](../../Models/Components/VideoTextTrackKind.md) | :heavy_check_mark: | Denotes the kind of video text track. Only subtitles are supported. | subtitles | | `Published` | *bool* | :heavy_minus_sign: | True means that this text track has been published for your client. | | | `Default` | *bool* | :heavy_minus_sign: | True indicates this is the default text track. Each kind of text track can have a separate default assigned. | | -| `Status` | [VideoTextTrackStatusJson](../../Models/Components/VideoTextTrackStatusJson.md) | :heavy_minus_sign: | Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. | Started | +| `Status` | [VideoTextTrackStatus](../../Models/Components/VideoTextTrackStatus.md) | :heavy_minus_sign: | Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. | Started | | `AutoGenerated` | *bool* | :heavy_minus_sign: | True indicates this text track was generated via machine transcription of the audio. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoTextTrackKind.md b/packages/csharp/docs/Models/Components/VideoTextTrackKind.md new file mode 100644 index 000000000..7d009c20e --- /dev/null +++ b/packages/csharp/docs/Models/Components/VideoTextTrackKind.md @@ -0,0 +1,22 @@ +# VideoTextTrackKind + +Denotes the kind of video text track. Only subtitles are supported. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = VideoTextTrackKind.Subtitles; +``` + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `Subtitles` | subtitles | +| `Captions` | captions | +| `Descriptions` | descriptions | +| `Chapters` | chapters | +| `Metadata` | metadata | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoTextTrackKindJson.md b/packages/csharp/docs/Models/Components/VideoTextTrackKindJson.md deleted file mode 100644 index d5834e9b9..000000000 --- a/packages/csharp/docs/Models/Components/VideoTextTrackKindJson.md +++ /dev/null @@ -1,22 +0,0 @@ -# VideoTextTrackKindJson - -Denotes the kind of video text track. Only subtitles are supported. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = VideoTextTrackKindJson.Subtitles; -``` - - -## Values - -| Name | Value | -| -------------- | -------------- | -| `Subtitles` | subtitles | -| `Captions` | captions | -| `Descriptions` | descriptions | -| `Chapters` | chapters | -| `Metadata` | metadata | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoTextTrackStatus.md b/packages/csharp/docs/Models/Components/VideoTextTrackStatus.md new file mode 100644 index 000000000..69bc935b9 --- /dev/null +++ b/packages/csharp/docs/Models/Components/VideoTextTrackStatus.md @@ -0,0 +1,26 @@ +# VideoTextTrackStatus + +Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = VideoTextTrackStatus.Started; +``` + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `Started` | Started | +| `Uploaded` | Uploaded | +| `Processing` | Processing | +| `Available` | Available | +| `Rejected` | Rejected | +| `Updating` | Updating | +| `Translating` | Translating | +| `Transcribing` | Transcribing | +| `Error` | Error | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoTextTrackStatusJson.md b/packages/csharp/docs/Models/Components/VideoTextTrackStatusJson.md deleted file mode 100644 index 4b7df227f..000000000 --- a/packages/csharp/docs/Models/Components/VideoTextTrackStatusJson.md +++ /dev/null @@ -1,26 +0,0 @@ -# VideoTextTrackStatusJson - -Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = VideoTextTrackStatusJson.Started; -``` - - -## Values - -| Name | Value | -| -------------- | -------------- | -| `Started` | Started | -| `Uploaded` | Uploaded | -| `Processing` | Processing | -| `Available` | Available | -| `Rejected` | Rejected | -| `Updating` | Updating | -| `Translating` | Translating | -| `Transcribing` | Transcribing | -| `Error` | Error | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoThumbnail.md b/packages/csharp/docs/Models/Components/VideoThumbnail.md new file mode 100644 index 000000000..d49c96f91 --- /dev/null +++ b/packages/csharp/docs/Models/Components/VideoThumbnail.md @@ -0,0 +1,15 @@ +# VideoThumbnail + +Video thumbnail + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Url` | [Link](../../Models/Components/Link.md) | :heavy_minus_sign: | Represents a link to a related resource. | | +| `Size` | *long* | :heavy_minus_sign: | File size in bytes for the thumbnail | 4098675830 | +| `Height` | *long* | :heavy_minus_sign: | frame height in pixels | 400 | +| `Width` | *long* | :heavy_minus_sign: | frame width in pixels | 300 | +| `Type` | [ThumbnailType](../../Models/Components/ThumbnailType.md) | :heavy_minus_sign: | This is used to denote the file type of a thumbnail | png | +| `Status` | [ThumbnailStatus](../../Models/Components/ThumbnailStatus.md) | :heavy_minus_sign: | Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was completed. Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. | Started | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoThumbnailJson.md b/packages/csharp/docs/Models/Components/VideoThumbnailJson.md deleted file mode 100644 index c4ef44a4b..000000000 --- a/packages/csharp/docs/Models/Components/VideoThumbnailJson.md +++ /dev/null @@ -1,15 +0,0 @@ -# VideoThumbnailJson - -Video thumbnail - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Url` | [OneAllOf](../../Models/Components/OneAllOf.md) | :heavy_minus_sign: | Represents a link to a related resource. | | -| `Size` | *long* | :heavy_minus_sign: | File size in bytes for the thumbnail | 4098675830 | -| `Height` | *long* | :heavy_minus_sign: | frame height in pixels | 400 | -| `Width` | *long* | :heavy_minus_sign: | frame width in pixels | 300 | -| `Type` | [ThumbnailTypeJson](../../Models/Components/ThumbnailTypeJson.md) | :heavy_minus_sign: | This is used to denote the file type of a thumbnail | png | -| `Status` | [ThumbnailStatusJson](../../Models/Components/ThumbnailStatusJson.md) | :heavy_minus_sign: | Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was completed. Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. | Started | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoType.md b/packages/csharp/docs/Models/Components/VideoType.md new file mode 100644 index 000000000..34c158b3c --- /dev/null +++ b/packages/csharp/docs/Models/Components/VideoType.md @@ -0,0 +1,28 @@ +# VideoType + +This is used to denote type of a video + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = VideoType.Mpg2; +``` + + +## Values + +| Name | Value | +| ------ | ------ | +| `Mpg2` | mpg2 | +| `Mov` | mov | +| `Mp2` | mp2 | +| `Mp4` | mp4 | +| `Mpe` | mpe | +| `Mpeg` | mpeg | +| `Mpg` | mpg | +| `Mpv` | mpv | +| `Qt` | qt | +| `Webm` | webm | +| `Hls` | hls | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoTypeJson.md b/packages/csharp/docs/Models/Components/VideoTypeJson.md deleted file mode 100644 index 8670d4274..000000000 --- a/packages/csharp/docs/Models/Components/VideoTypeJson.md +++ /dev/null @@ -1,28 +0,0 @@ -# VideoTypeJson - -This is used to denote type of a video - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = VideoTypeJson.Mpg2; -``` - - -## Values - -| Name | Value | -| ------ | ------ | -| `Mpg2` | mpg2 | -| `Mov` | mov | -| `Mp2` | mp2 | -| `Mp4` | mp4 | -| `Mpe` | mpe | -| `Mpeg` | mpeg | -| `Mpg` | mpg | -| `Mpv` | mpv | -| `Qt` | qt | -| `Webm` | webm | -| `Hls` | hls | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoView.md b/packages/csharp/docs/Models/Components/VideoView.md new file mode 100644 index 000000000..5a3655d14 --- /dev/null +++ b/packages/csharp/docs/Models/Components/VideoView.md @@ -0,0 +1,17 @@ +# VideoView + +Details of a single video view + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Contact` | [Contact2](../../Models/Components/Contact2.md) | :heavy_minus_sign: | The contact details who watched a video | | +| `Solution` | [Solution](../../Models/Components/Solution.md) | :heavy_minus_sign: | The solution where the video exists. Attendee Hub and Events+ represent two different solutions where the video can be found. | EVENTS_PLUS | +| ~~`Device`~~ | [Device1](../../Models/Components/Device1.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The device details used to watched a video. This field has been deprecated. | | +| `Video` | [Video1](../../Models/Components/Video1.md) | :heavy_minus_sign: | The details of a video | | +| `Type` | [ViewType1](../../Models/Components/ViewType1.md) | :heavy_minus_sign: | The view type of the video. Videos can be viewed live or as a recording. | | +| `TotalDuration` | *long* | :heavy_minus_sign: | The total duration of the video (in milliseconds). | 233000 | +| `WatchDuration` | *long* | :heavy_minus_sign: | The total duration of the video watched by the viewer (in milliseconds). | 153600 | +| `WatchPercentage` | *double* | :heavy_minus_sign: | The percentage of the video watched by the viewer. | 52 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoViewJson.md b/packages/csharp/docs/Models/Components/VideoViewJson.md deleted file mode 100644 index 8c84c4200..000000000 --- a/packages/csharp/docs/Models/Components/VideoViewJson.md +++ /dev/null @@ -1,17 +0,0 @@ -# VideoViewJson - -Details of a single video view - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Contact` | [ContactJson2](../../Models/Components/ContactJson2.md) | :heavy_minus_sign: | The contact details who watched a video | | -| `Solution` | [SolutionJson](../../Models/Components/SolutionJson.md) | :heavy_minus_sign: | The solution where the video exists. Attendee Hub and Events+ represent two different solutions where the video can be found. | EVENTS_PLUS | -| ~~`Device`~~ | [DeviceJson](../../Models/Components/DeviceJson.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The device details used to watched a video. This field has been deprecated. | | -| `Video` | [VideoJson](../../Models/Components/VideoJson.md) | :heavy_minus_sign: | The details of a video | | -| `Type` | [ViewTypeJson1](../../Models/Components/ViewTypeJson1.md) | :heavy_minus_sign: | The view type of the video. Videos can be viewed live or as a recording. | | -| `TotalDuration` | *long* | :heavy_minus_sign: | The total duration of the video (in milliseconds). | 233000 | -| `WatchDuration` | *long* | :heavy_minus_sign: | The total duration of the video watched by the viewer (in milliseconds). | 153600 | -| `WatchPercentage` | *double* | :heavy_minus_sign: | The percentage of the video watched by the viewer. | 52 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoViewsPaginatedResponse.md b/packages/csharp/docs/Models/Components/VideoViewsPaginatedResponse.md index 5d222c62d..f40f6151a 100644 --- a/packages/csharp/docs/Models/Components/VideoViewsPaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/VideoViewsPaginatedResponse.md @@ -7,5 +7,5 @@ Paginated list of video views. | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `Data` | List<[VideoViewJson](../../Models/Components/VideoViewJson.md)> | :heavy_minus_sign: | List of unique video views. | \ No newline at end of file +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `Data` | List<[VideoView](../../Models/Components/VideoView.md)> | :heavy_minus_sign: | List of unique video views. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoWarning.md b/packages/csharp/docs/Models/Components/VideoWarning.md new file mode 100644 index 000000000..8fe8724e4 --- /dev/null +++ b/packages/csharp/docs/Models/Components/VideoWarning.md @@ -0,0 +1,11 @@ +# VideoWarning + +This is used to denote the warnings for a video entity. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Code` | [VideoWarningCode](../../Models/Components/VideoWarningCode.md) | :heavy_check_mark: | This is used to denote the warning codes for a video entity. | 700 | +| `Message` | *string* | :heavy_check_mark: | Warning message for the video. Message is a developer convenience never to be used in any context that needs localisation, subject to change at any time. | Video with ID: 5779387f-3f50-4685-8641-b25a2909845f has a bitrate of 586 kbps, which is lower than the minimum allowed bitrate of 3500 kbps. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoWarningCode.md b/packages/csharp/docs/Models/Components/VideoWarningCode.md new file mode 100644 index 000000000..4d04455e7 --- /dev/null +++ b/packages/csharp/docs/Models/Components/VideoWarningCode.md @@ -0,0 +1,18 @@ +# VideoWarningCode + +This is used to denote the warning codes for a video entity. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = VideoWarningCode.SevenHundred; +``` + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `SevenHundred` | 700 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoWarningCodeJson.md b/packages/csharp/docs/Models/Components/VideoWarningCodeJson.md deleted file mode 100644 index da0cc1bbd..000000000 --- a/packages/csharp/docs/Models/Components/VideoWarningCodeJson.md +++ /dev/null @@ -1,18 +0,0 @@ -# VideoWarningCodeJson - -This is used to denote the warning codes for a video entity. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = VideoWarningCodeJson.SevenHundred; -``` - - -## Values - -| Name | Value | -| -------------- | -------------- | -| `SevenHundred` | 700 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideoWarningJson.md b/packages/csharp/docs/Models/Components/VideoWarningJson.md deleted file mode 100644 index a3f00e5d1..000000000 --- a/packages/csharp/docs/Models/Components/VideoWarningJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# VideoWarningJson - -This is used to denote the warnings for a video entity. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Code` | [VideoWarningCodeJson](../../Models/Components/VideoWarningCodeJson.md) | :heavy_check_mark: | This is used to denote the warning codes for a video entity. | 700 | -| `Message` | *string* | :heavy_check_mark: | Warning message for the video. Message is a developer convenience never to be used in any context that needs localisation, subject to change at any time. | Video with ID: 5779387f-3f50-4685-8641-b25a2909845f has a bitrate of 586 kbps, which is lower than the minimum allowed bitrate of 3500 kbps. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VideosPaginatedResponse.md b/packages/csharp/docs/Models/Components/VideosPaginatedResponse.md index 148f9b2e2..9ff5d63f4 100644 --- a/packages/csharp/docs/Models/Components/VideosPaginatedResponse.md +++ b/packages/csharp/docs/Models/Components/VideosPaginatedResponse.md @@ -7,5 +7,5 @@ The response from a request to get the list of videos. This includes the paging | Field | Type | Required | Description | | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | -| `Paging` | [PagingJson](../../Models/Components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | | `Data` | List<[ExistingVideoResponse](../../Models/Components/ExistingVideoResponse.md)> | :heavy_check_mark: | Collection of videos. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ViewType1.md b/packages/csharp/docs/Models/Components/ViewType1.md new file mode 100644 index 000000000..bde16fad4 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ViewType1.md @@ -0,0 +1,19 @@ +# ViewType1 + +The view type of the video. Videos can be viewed live or as a recording. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = ViewType1.Live; +``` + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `Live` | LIVE | +| `Recording` | RECORDING | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ViewTypeJson1.md b/packages/csharp/docs/Models/Components/ViewTypeJson1.md deleted file mode 100644 index d284d5e10..000000000 --- a/packages/csharp/docs/Models/Components/ViewTypeJson1.md +++ /dev/null @@ -1,19 +0,0 @@ -# ViewTypeJson1 - -The view type of the video. Videos can be viewed live or as a recording. - -## Example Usage - -```csharp -using Cvent.SDK.Models.Components; - -var value = ViewTypeJson1.Live; -``` - - -## Values - -| Name | Value | -| ----------- | ----------- | -| `Live` | LIVE | -| `Recording` | RECORDING | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Voucher.md b/packages/csharp/docs/Models/Components/Voucher.md new file mode 100644 index 000000000..c3ad9f4f9 --- /dev/null +++ b/packages/csharp/docs/Models/Components/Voucher.md @@ -0,0 +1,16 @@ +# Voucher + +Represents a voucher configured for an event. Event-level vouchers are special codes that can be assigned to invitees or attendees, enabling benefits such as free registration, discounted pricing, or other promotional entitlements during the registration process. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | Voucher ID. | 1800c9bd-b5f4-438a-a92c-ea1f59553a5c | +| `Code` | *string* | :heavy_check_mark: | The unique planner-defined code that invitees enter during registration to redeem the voucher. | VIP-100 | +| `Description` | *string* | :heavy_minus_sign: | A description of the voucher and its intended use. | VIP full-comp voucher for keynote attendees. | +| `AlertEmailAddress` | *string* | :heavy_minus_sign: | The email address that receives a notification whenever the voucher is redeemed. | planner@example.com | +| `Capacity` | [VoucherCapacity](../../Models/Components/VoucherCapacity.md) | :heavy_minus_sign: | Represents the capacity details for a voucher, including the total allowed redemptions and the number already redeemed. | | +| `LastModifiedBy` | *string* | :heavy_minus_sign: | The identity of the user or system that last modified the voucher. | planner@example.com | +| `LastModifiedDate` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 formatted date and time when the voucher was last modified, expressed in UTC. | 2026-04-08T02:05:12.000Z | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VoucherCapacity.md b/packages/csharp/docs/Models/Components/VoucherCapacity.md new file mode 100644 index 000000000..572a9c713 --- /dev/null +++ b/packages/csharp/docs/Models/Components/VoucherCapacity.md @@ -0,0 +1,11 @@ +# VoucherCapacity + +Represents the capacity details for a voucher, including the total allowed redemptions and the number already redeemed. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `Total` | *long* | :heavy_check_mark: | The maximum number of times the voucher can be redeemed. Default value of -1 indicates unlimited capacity. | 100 | +| `RedeemedCount` | *long* | :heavy_check_mark: | The number of times the voucher has already been redeemed. | 42 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VouchersPaginatedResponse.md b/packages/csharp/docs/Models/Components/VouchersPaginatedResponse.md new file mode 100644 index 000000000..7a9cc4b08 --- /dev/null +++ b/packages/csharp/docs/Models/Components/VouchersPaginatedResponse.md @@ -0,0 +1,11 @@ +# VouchersPaginatedResponse + +A paginated response of vouchers. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `Data` | List<[Voucher](../../Models/Components/Voucher.md)> | :heavy_check_mark: | Collection of vouchers. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Weblink.md b/packages/csharp/docs/Models/Components/Weblink.md index 5252f039d..c875b78f0 100644 --- a/packages/csharp/docs/Models/Components/Weblink.md +++ b/packages/csharp/docs/Models/Components/Weblink.md @@ -7,7 +7,7 @@ Content of exhibitor weblink. | Field | Type | Required | Description | Example | | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `Event` | [Event21](../../Models/Components/Event21.md) | :heavy_check_mark: | The Associated Event. | | +| `Event` | [Event3](../../Models/Components/Event3.md) | :heavy_check_mark: | The Associated Event. | | | `Exhibitor` | [Models.Components.Exhibitor](../../Models/Components/Exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | | `Name` | *string* | :heavy_check_mark: | Display name of the weblink. | Marketing Page | | `Url` | *string* | :heavy_check_mark: | The URL of the weblink. | http://www.example.com | diff --git a/packages/csharp/docs/Models/Components/WeddingDetails1.md b/packages/csharp/docs/Models/Components/WeddingDetails1.md new file mode 100644 index 000000000..949beba0e --- /dev/null +++ b/packages/csharp/docs/Models/Components/WeddingDetails1.md @@ -0,0 +1,15 @@ +# WeddingDetails1 + +Wedding details. + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `FirstPartner` | [WeddingPartner](../../Models/Components/WeddingPartner.md) | :heavy_minus_sign: | Represents wedding partner. | +| `SecondPartner` | [WeddingPartner](../../Models/Components/WeddingPartner.md) | :heavy_minus_sign: | Represents wedding partner. | +| `Ceremony` | *bool* | :heavy_minus_sign: | True indicates ceremony is planned. | +| `Reception` | *bool* | :heavy_minus_sign: | True indicates reception is planned. | +| `FarewellBrunch` | *bool* | :heavy_minus_sign: | True indicates farewell brunch is planned. | +| `RehearsalDinner` | *bool* | :heavy_minus_sign: | True indicates rehearsal dinner is planned. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/WeddingDetailsJson0.md b/packages/csharp/docs/Models/Components/WeddingDetailsJson0.md deleted file mode 100644 index ff8a8392f..000000000 --- a/packages/csharp/docs/Models/Components/WeddingDetailsJson0.md +++ /dev/null @@ -1,15 +0,0 @@ -# WeddingDetailsJson0 - -Wedding details. - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `FirstPartner` | [WeddingPartnerJson](../../Models/Components/WeddingPartnerJson.md) | :heavy_minus_sign: | Represents wedding partner. | -| `SecondPartner` | [WeddingPartnerJson](../../Models/Components/WeddingPartnerJson.md) | :heavy_minus_sign: | Represents wedding partner. | -| `Ceremony` | *bool* | :heavy_minus_sign: | True indicates ceremony is planned. | -| `Reception` | *bool* | :heavy_minus_sign: | True indicates reception is planned. | -| `FarewellBrunch` | *bool* | :heavy_minus_sign: | True indicates farewell brunch is planned. | -| `RehearsalDinner` | *bool* | :heavy_minus_sign: | True indicates rehearsal dinner is planned. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/WeddingPartner.md b/packages/csharp/docs/Models/Components/WeddingPartner.md new file mode 100644 index 000000000..22e5fe99b --- /dev/null +++ b/packages/csharp/docs/Models/Components/WeddingPartner.md @@ -0,0 +1,11 @@ +# WeddingPartner + +Represents wedding partner. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `Type` | [BrideGroomType](../../Models/Components/BrideGroomType.md) | :heavy_minus_sign: | BrideGroomType | | +| `Name` | *string* | :heavy_minus_sign: | Name of the partner of the wedding couple. | John Doe | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/WeddingPartnerJson.md b/packages/csharp/docs/Models/Components/WeddingPartnerJson.md deleted file mode 100644 index 202fe348d..000000000 --- a/packages/csharp/docs/Models/Components/WeddingPartnerJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# WeddingPartnerJson - -Represents wedding partner. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | -| `Type` | [BrideGroomTypeJson0](../../Models/Components/BrideGroomTypeJson0.md) | :heavy_minus_sign: | Bride groom type. | | -| `Name` | *string* | :heavy_minus_sign: | Name of the partner of the wedding couple. | John Doe | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ZeroAllOf7.md b/packages/csharp/docs/Models/Components/ZeroAllOf7.md index 8b47580c7..e26e5f6c1 100644 --- a/packages/csharp/docs/Models/Components/ZeroAllOf7.md +++ b/packages/csharp/docs/Models/Components/ZeroAllOf7.md @@ -1,55 +1,13 @@ # ZeroAllOf7 -Represents a contact that has been created and has an id. +Represents an error response for the checkin APIs that includes a unique id. ## 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_minus_sign: | The first name of the contact. | Henry | -| `LastName` | *string* | :heavy_minus_sign: | The last name of the contact. | Potterfield | -| `MiddleName` | *string* | :heavy_minus_sign: | The middle name of the contact. | A | -| `Nickname` | *string* | :heavy_minus_sign: | The nickname of the contact. | Harry | -| `Email` | *string* | :heavy_minus_sign: | The email address of the contact. | h.potterfield@test.com | -| `CcEmail` | *string* | :heavy_minus_sign: | An alternate email address of the contact that can be cc'd on email communications. | h.porter@tesing.com | -| `Gender` | [GenderJson](../../Models/Components/GenderJson.md) | :heavy_minus_sign: | The gender of the contact. | Male | -| `Company` | *string* | :heavy_minus_sign: | The company/organization the contact belongs to. | Cvent Inc. | -| `Designation` | *string* | :heavy_minus_sign: | The designation of the contact, typically an award or credential. | CPA | -| `Title` | *string* | :heavy_minus_sign: | The job title of the contact. | Event Planner | -| `Type` | [AttendeeContactTypeJson](../../Models/Components/AttendeeContactTypeJson.md) | :heavy_minus_sign: | Contains details related to the attendee's contact type. | | -| `Membership` | [MembershipJson](../../Models/Components/MembershipJson.md) | :heavy_minus_sign: | Contact Membership information | | -| `PrimaryAddressType` | [AddressTypeJson](../../Models/Components/AddressTypeJson.md) | :heavy_minus_sign: | The type of address. | Home | -| `HomeAddress` | [AddressJson](../../Models/Components/AddressJson.md) | :heavy_minus_sign: | Contact address details. | | -| `HomePhone` | *string* | :heavy_minus_sign: | The phone number of the contact at their place of residence. | 555-555-5555 | -| `HomeFax` | *string* | :heavy_minus_sign: | The fax number of the contact at their place of residence. | 555-555-5555 | -| `WorkAddress` | [AddressJson](../../Models/Components/AddressJson.md) | :heavy_minus_sign: | Contact address details. | | -| `WorkPhone` | *string* | :heavy_minus_sign: | The phone number of the contact at their place of work. | 555-555-5555 | -| `WorkFax` | *string* | :heavy_minus_sign: | The fax number of the contact at their place of work. | 555-555-5555 | -| `CustomFields` | List<[CustomField](../../Models/Components/CustomField.md)> | :heavy_minus_sign: | Collection of custom fields. | | -| `SourceId` | *string* | :heavy_minus_sign: | This is a ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. | system-a-00000000-0000-0000-0000-000000000000 | -| `MobilePhone` | *string* | :heavy_minus_sign: | The contact's mobile phone number. | 555-555-5555 | -| `Compliance` | List<[ComplianceJson](../../Models/Components/ComplianceJson.md)> | :heavy_minus_sign: | Detail related to compliance with the contact's privacy rights under various legislation. | | -| `Prefix` | *string* | :heavy_minus_sign: | Denotes what is traditionally a title of an individual. | Mr. | -| `Pager` | *string* | :heavy_minus_sign: | The pager number of the contact. | 555-555-5555 | -| `Deleted` | *bool* | :heavy_minus_sign: | True indicates a contact is deleted. Deleted contacts still have their data retained, but the contact is inactive. | false | -| `Purged` | *bool* | :heavy_minus_sign: | True indicates a contact is purged. Purged contacts have only partial data retained, and will be permanently deleted in 30 days. | false | -| `OptOut` | [OptOutJson](../../Models/Components/OptOutJson.md) | :heavy_minus_sign: | Details of an opt-out for a Contact. | | -| `Npi` | *string* | :heavy_minus_sign: | Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. | 5555555555 | -| `Links` | [ContactLinksJson](../../Models/Components/ContactLinksJson.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | -| `DateOfBirth` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The date of birth of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 1990-01-01 | -| ~~`PassportNumber`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The passport number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use the passport.number field. | 123456789 | -| `Passport` | [PassportJson](../../Models/Components/PassportJson.md) | :heavy_minus_sign: | This entity represents a contact's passport information. | | -| `SocialSecurityNumber` | *string* | :heavy_minus_sign: | The social security number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123-45-6789 | -| `NationalIdentificationNumber` | *string* | :heavy_minus_sign: | The national identification number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123456789 | -| `Headline` | *string* | :heavy_minus_sign: | The headline of the contact's profile, which summarizes their professional experience and qualities. | Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands | -| `PersonalWebsite` | *string* | :heavy_minus_sign: | A contact's personal website URL. | https://www.example.com | -| `Biography` | *string* | :heavy_minus_sign: | A contact's biographical writeup. | I am a marketing professional with experience in event planning and brand strategy. | -| `Pronouns` | *string* | :heavy_minus_sign: | Represents the preferred pronouns of a contact. | he/him/she/her/they/them | -| `Id` | *string* | :heavy_minus_sign: | The ID of the contact. | | -| `ParentId` | *string* | :heavy_minus_sign: | ID of the parent contact, applicable with contact snapshot. | | -| `Event` | [EventAllOf](../../Models/Components/EventAllOf.md) | :heavy_minus_sign: | Event ID | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | The unique identifier for the error response. | a96e7faa-b23e-49de-9040-c908473ba7ac | +| `Code` | *long* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | +| `Message` | *string* | :heavy_check_mark: | A brief description of the error. | Bad Request | +| `Target` | *string* | :heavy_minus_sign: | The target resource of the error. | example target | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ZeroAllOf8.md b/packages/csharp/docs/Models/Components/ZeroAllOf8.md index aba0d1083..424bd7dd8 100644 --- a/packages/csharp/docs/Models/Components/ZeroAllOf8.md +++ b/packages/csharp/docs/Models/Components/ZeroAllOf8.md @@ -1,13 +1,17 @@ # ZeroAllOf8 -Represents an error response for the checkin APIs that includes a unique id. +Information about housing event with key information, providing a summarized view. ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | The unique identifier for the error response. | a96e7faa-b23e-49de-9040-c908473ba7ac | -| `Code` | *long* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | -| `Message` | *string* | :heavy_check_mark: | A brief description of the error. | Bad Request | -| `Target` | *string* | :heavy_minus_sign: | The target resource of the error. | example target | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Id` | *long* | :heavy_check_mark: | The unique ID of the housing event. | 21738574 | +| `Name` | *string* | :heavy_check_mark: | Event name. | Summit 2027 | +| `Start` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder days. | 2027-01-13T05:00:00Z | +| `End` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. | 2027-01-15T05:00:00Z | +| `CutOff` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable business rules, like releasing reserved room blocks back to general availability. | 2026-10-13T04:00:00Z | +| `TimeZone` | *string* | :heavy_check_mark: | The event timezone from the Olson specification. | America/New_York | +| `Venue` | [VenueJson1](../../Models/Components/VenueJson1.md) | :heavy_check_mark: | Event venue details. | | +| `Status` | [HousingEventStatusesJson](../../Models/Components/HousingEventStatusesJson.md) | :heavy_check_mark: | Housing event status. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ZeroAllOf9.md b/packages/csharp/docs/Models/Components/ZeroAllOf9.md deleted file mode 100644 index c32b2acbc..000000000 --- a/packages/csharp/docs/Models/Components/ZeroAllOf9.md +++ /dev/null @@ -1,17 +0,0 @@ -# ZeroAllOf9 - -Information about housing event with key information, providing a summarized view. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Id` | *long* | :heavy_check_mark: | The unique ID of the housing event. | 21738574 | -| `Name` | *string* | :heavy_check_mark: | Event name. | Summit 2027 | -| `Start` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder days. | 2027-01-13T05:00:00Z | -| `End` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. | 2027-01-15T05:00:00Z | -| `CutOff` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable business rules, like releasing reserved room blocks back to general availability. | 2026-10-13T04:00:00Z | -| `TimeZone` | *string* | :heavy_check_mark: | The event timezone from the Olson specification. | America/New_York | -| `Venue` | [VenueJson1](../../Models/Components/VenueJson1.md) | :heavy_check_mark: | Event venue details. | | -| `Status` | [HousingEventStatusesJson](../../Models/Components/HousingEventStatusesJson.md) | :heavy_check_mark: | Housing event status. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Errors/ErrorResponse1.md b/packages/csharp/docs/Models/Errors/ErrorResponse1.md index ec913a9bc..7a570385c 100644 --- a/packages/csharp/docs/Models/Errors/ErrorResponse1.md +++ b/packages/csharp/docs/Models/Errors/ErrorResponse1.md @@ -5,9 +5,9 @@ Represents an error response with additional details of cascading error messages ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | -| `Code` | *long* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | -| `Message` | *string* | :heavy_check_mark: | A brief description of the error. | Bad Request | -| `Target` | *string* | :heavy_minus_sign: | The target resource of the error. | example target | -| `Details` | List<[ZeroAllOf1](../../Models/Components/ZeroAllOf1.md)> | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `Code` | *long* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | +| `Message` | *string* | :heavy_check_mark: | A brief description of the error. | Bad Request | +| `Target` | *string* | :heavy_minus_sign: | The target resource of the error. | example target | +| `Details` | List<[ErrorResponseBase](../../Models/Components/ErrorResponseBase.md)> | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Errors/ErrorResponse2.md b/packages/csharp/docs/Models/Errors/ErrorResponse2.md index 073417fb7..3fb426621 100644 --- a/packages/csharp/docs/Models/Errors/ErrorResponse2.md +++ b/packages/csharp/docs/Models/Errors/ErrorResponse2.md @@ -5,9 +5,9 @@ Represents an error response with additional details of cascading error messages ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | -| `Code` | *long* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | -| `Message` | *string* | :heavy_check_mark: | A brief description of the error. | Bad Request | -| `Target` | *string* | :heavy_minus_sign: | The target resource of the error. | example target | -| `Details` | List<[ErrorResponseBase](../../Models/Components/ErrorResponseBase.md)> | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `Code` | *long* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | +| `Message` | *string* | :heavy_check_mark: | A brief description of the error. | Bad Request | +| `Target` | *string* | :heavy_minus_sign: | The target resource of the error. | example target | +| `Details` | List<[ZeroAllOf1](../../Models/Components/ZeroAllOf1.md)> | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Errors/ErrorResponseJson12.md b/packages/csharp/docs/Models/Errors/ErrorResponseJson12.md new file mode 100644 index 000000000..b84e08800 --- /dev/null +++ b/packages/csharp/docs/Models/Errors/ErrorResponseJson12.md @@ -0,0 +1,13 @@ +# ErrorResponseJson12 + +The error response. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `Schemas` | List<*string*> | :heavy_minus_sign: | The collection of error schemas. | | +| `Status` | *long* | :heavy_check_mark: | Status code for error. | 400 | +| `Detail` | *string* | :heavy_check_mark: | Details of the error. | Request is unparsable, syntactically incorrect, or violates schema. | +| `ScimType` | [ErrorScimTypeJson](../../Models/Components/ErrorScimTypeJson.md) | :heavy_minus_sign: | This is used to denote the scim type of the error. | invalidSyntax | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Errors/ErrorResponseJson17.md b/packages/csharp/docs/Models/Errors/ErrorResponseJson17.md deleted file mode 100644 index 367d21107..000000000 --- a/packages/csharp/docs/Models/Errors/ErrorResponseJson17.md +++ /dev/null @@ -1,13 +0,0 @@ -# ErrorResponseJson17 - -The error response. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `Schemas` | List<*string*> | :heavy_minus_sign: | The collection of error schemas. | | -| `Status` | *long* | :heavy_check_mark: | Status code for error. | 400 | -| `Detail` | *string* | :heavy_check_mark: | Details of the error. | Request is unparsable, syntactically incorrect, or violates schema. | -| `ScimType` | [ErrorScimTypeJson](../../Models/Components/ErrorScimTypeJson.md) | :heavy_minus_sign: | This is used to denote the scim type of the error. | invalidSyntax | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/CreateContactsRequest.md b/packages/csharp/docs/Models/Requests/CreateContactsRequest.md index 4141ec8ed..bed28b50f 100644 --- a/packages/csharp/docs/Models/Requests/CreateContactsRequest.md +++ b/packages/csharp/docs/Models/Requests/CreateContactsRequest.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `Upsert` | *bool* | :heavy_minus_sign: | This parameter determines whether the POST operation should be treated as an upsert. Upserts update existing contacts if they already exist, and otherwise create new contacts.

True indicates that this operation creates new contacts and updates existing contacts if they exist. False means that it only creates new contacts, and attempting to create an existing contact will result in the API returning an error.

Existing contacts are matched to the upsert request via the account's [match key](https://support.cvent.com/s/communityarticle/Allowing-Multiple-People-to-Use-the-Same-Email-Address). By default, the match key for contacts is their email. The match key can also be altered to match contacts based on a combination of their first name, last name, and email.
| true | -| `RequestBody` | List<[ContactCreateRequestJson](../../Models/Components/ContactCreateRequestJson.md)> | :heavy_check_mark: | List of contacts to be created. Up to **10 contacts** can be created per call. | | \ No newline at end of file +| `RequestBody` | List<[ContactCreate](../../Models/Components/ContactCreate.md)> | :heavy_check_mark: | List of contacts to be created. Up to **10 contacts** can be created per call. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/CreateContactsResponse.md b/packages/csharp/docs/Models/Requests/CreateContactsResponse.md index 915441e93..a1a6c7cf6 100644 --- a/packages/csharp/docs/Models/Requests/CreateContactsResponse.md +++ b/packages/csharp/docs/Models/Requests/CreateContactsResponse.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | -| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | -| `ContactBulkResponse` | List<[ContactBulkItemJson](../../Models/Components/ContactBulkItemJson.md)> | :heavy_minus_sign: | Successfully created a list of contacts. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | +| `ContactBulkResponse` | List<[ContactBulkResponseItem](../../Models/Components/ContactBulkResponseItem.md)> | :heavy_minus_sign: | Successfully created a list of contacts. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/GetAttendeeByIdResponse.md b/packages/csharp/docs/Models/Requests/GetAttendeeByIdResponse.md index ae609e1e2..953b93289 100644 --- a/packages/csharp/docs/Models/Requests/GetAttendeeByIdResponse.md +++ b/packages/csharp/docs/Models/Requests/GetAttendeeByIdResponse.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | | `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | -| `Attendee` | [Attendee1](../../Models/Components/Attendee1.md) | :heavy_minus_sign: | Successfully retrieved an attendee object. | \ No newline at end of file +| `Attendee1` | [Attendee11](../../Models/Components/Attendee11.md) | :heavy_minus_sign: | Successfully retrieved an attendee object. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/GetAttendeeMessagesMembersRequest.md b/packages/csharp/docs/Models/Requests/GetAttendeeMessagesMembersRequest.md index ac4bbb692..fbe6de149 100644 --- a/packages/csharp/docs/Models/Requests/GetAttendeeMessagesMembersRequest.md +++ b/packages/csharp/docs/Models/Requests/GetAttendeeMessagesMembersRequest.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `EventId` | *string* | :heavy_check_mark: | Unique ID of an event | eeeeb4b4-d132-4db4-aaa7-5ec58efd65c8 | -| `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 | -| `Filter` | *string* | :heavy_check_mark: | Filters are used to narrow the results returned and support a 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:
- equals to: eq
- match any of the values in the list: in

The following operators can be used:
- or

The following fields are filterable:
* `channel.id` (eq/in)

Examples:
- Filter channel IDs:
* `filter=channel.id in ('production_group_0cb93bab-32d2-4f82-b430-e1911f2348ac', 'production_group_f6dfb98a-c734-487c-97e1-7c7a09a9125f')`
* `filter=channel.id eq 'production_attendee_616241fd-e97d-48c5-8c4b-4b926f50e8c3' or channel.id eq 'production_group_616241fd-e97d-48c5-8c4b-4b926f50e8c3'`
| | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `EventId` | *string* | :heavy_check_mark: | Unique ID of an event | eeeeb4b4-d132-4db4-aaa7-5ec58efd65c8 | +| `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 | +| `Filter` | *string* | :heavy_check_mark: | Filters narrow results returned based on the criteria you supply.

Filters follow the pattern `filter='field' operator 'value'`.

The following comparison operators are supported:
- `eq`: equals to
- `in`: match any of the values in the list

The following fields are supported:

\| Field \| Operators \|
\|------------------\|------------------------------------\|
\| channel.id \| `eq`, `in` \|

The following logical operators are supported for combining filters:
- `or`

**Examples:**

Filter channel IDs:
* `filter=channel.id in ('production_group_0cb93bab-32d2-4f82-b430-e1911f2348ac', 'production_group_f6dfb98a-c734-487c-97e1-7c7a09a9125f')`
* `filter=channel.id eq 'production_attendee_616241fd-e97d-48c5-8c4b-4b926f50e8c3' or channel.id eq 'production_group_616241fd-e97d-48c5-8c4b-4b926f50e8c3'`
| | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/GetTravelProposalBidResponse.md b/packages/csharp/docs/Models/Requests/GetTravelProposalBidResponse.md index d6fb57547..4cc04c48d 100644 --- a/packages/csharp/docs/Models/Requests/GetTravelProposalBidResponse.md +++ b/packages/csharp/docs/Models/Requests/GetTravelProposalBidResponse.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | -| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | -| `TravelProposalBid` | [TravelProposalBid](../../Models/Components/TravelProposalBid.md) | :heavy_minus_sign: | Successfully retrieved a travel proposal bid. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | +| `TravelProposalBid` | [TravelProposalBid2](../../Models/Components/TravelProposalBid2.md) | :heavy_minus_sign: | Successfully retrieved a travel proposal bid. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/GetVideoViewsRequest.md b/packages/csharp/docs/Models/Requests/GetVideoViewsRequest.md index 5210668aa..4a4183236 100644 --- a/packages/csharp/docs/Models/Requests/GetVideoViewsRequest.md +++ b/packages/csharp/docs/Models/Requests/GetVideoViewsRequest.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `After` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | -| `Before` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | -| `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 | -| `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'.
The filter query supports maximum three fields in filter expression.

There is one comparison type that can be used in filter expressions:
* equal: eq

The following fields are filterable:
* contact.id (eq)
* solution (eq)
* device.type (eq) [deprecated]
* device.operatingSystem (eq) [deprecated]
* video.id (eq)
* type (eq)

The following operators are available:
* and
| contact.id eq '123e4567-e89b-12d3-a456-426614174000' and solution eq 'EVENTS_PLUS' | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `After` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | +| `Before` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | +| `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 | +| `Filter` | *string* | :heavy_minus_sign: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \| Notes \|
\|------------------------\|-----------\|------------\|
\| contact.id \| `eq` \| \|
\| solution \| `eq` \| \|
\| device.type \| `eq` \| deprecated \|
\| device.operatingSystem \| `eq` \| deprecated \|
\| video.id \| `eq` \| \|
\| type \| `eq` \| \|

The filter query supports maximum three fields in a filter expression.

The following logical operators are supported for combining filters:
* and
| contact.id eq '123e4567-e89b-12d3-a456-426614174000' and solution eq 'EVENTS_PLUS' | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/ListDurationsRequest.md b/packages/csharp/docs/Models/Requests/ListDurationsRequest.md index 0f5008087..7e9af5316 100644 --- a/packages/csharp/docs/Models/Requests/ListDurationsRequest.md +++ b/packages/csharp/docs/Models/Requests/ListDurationsRequest.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `After` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | -| `Before` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | -| `Limit` | *long* | :heavy_minus_sign: | The maximum number of attendance duration records returned per page. | | -| `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 | -| `Sort` | *string* | :heavy_minus_sign: | The sort order passed as a parameter, used to control the order of the
search results as a priority ordered list of sorts

There are two orders:
* ascending: ASC
* descending: DESC

The following fields are sortable:
* event
* session
* attendee
* type
* firstSeen
* duration
* lastModified - default
| start:DESC,title:ASC | -| `Filter` | *string* | :heavy_minus_sign: | A filter string passed in the body of the request, narrows search results and supports the combination of logical and comparison operators.
The filter adheres to the pattern filter='field' comparisonType 'value'.

There are eight comparison types that can be used in filter expressions:
* equal: eq
* not equal: ne
* greater than: gt
* greater or equal: ge
* less than: lt
* less than or equal: le
* starts with: sw
* contains a value: contains
* includes value(s): in

The following fields are filterable:
* id (eq\|ne)
* event.id (eq\|ne\|in)
* session.id (eq\|ne\|in)
* attendee.id (eq\|ne\|in)
* type (contains\|eq\|ne\|in)
* deleted (eq\|ne)
* firstSeen (eq\|ne\|lt\|le\|gt\|ge)
* lastSeen (eq\|ne\|lt\|le\|gt\|ge)
* duration (eq\|ne\|lt\|le\|gt\|ge)
* created (eq\|ne\|lt\|le\|gt\|ge)

The following operators are available:
* and
* or
| firstSeen gt '2020-02-07T12:00:00.000Z' and session.id = '0e2f583e-62ae-40d8-9b5c-b8e67a6ba1ab' | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `After` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | +| `Before` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | +| `Limit` | *long* | :heavy_minus_sign: | The maximum number of attendance duration records returned per page. | | +| `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 | +| `Sort` | *string* | :heavy_minus_sign: | The sort order passed as a parameter, used to control the order of the
search results as a priority ordered list of sorts

There are two orders:
* ascending: ASC
* descending: DESC

The following fields are sortable:
* event
* session
* attendee
* type
* firstSeen
* duration
* lastModified - default
| start:DESC,title:ASC | +| `Filter` | *string* | :heavy_minus_sign: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \|
\|-------------\|------------------------------------\|
\| id \| `eq`, `ne` \|
\| event.id \| `eq`, `ne`, `in` \|
\| session.id \| `eq`, `ne`, `in` \|
\| attendee.id \| `eq`, `ne`, `in` \|
\| type \| `contains`, `eq`, `ne`, `in` \|
\| deleted \| `eq`, `ne` \|
\| firstSeen \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \|
\| lastSeen \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \|
\| duration \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \|
\| created \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \|

The following logical operators are supported for combining filters:
* and
* or
| firstSeen gt '2020-02-07T12:00:00.000Z' and session.id = '0e2f583e-62ae-40d8-9b5c-b8e67a6ba1ab' | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/ListEventVoucherAttendeesRequest.md b/packages/csharp/docs/Models/Requests/ListEventVoucherAttendeesRequest.md new file mode 100644 index 000000000..16a33b347 --- /dev/null +++ b/packages/csharp/docs/Models/Requests/ListEventVoucherAttendeesRequest.md @@ -0,0 +1,11 @@ +# ListEventVoucherAttendeesRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `Id` | *string* | :heavy_check_mark: | Unique ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `VoucherId` | *string* | :heavy_check_mark: | Unique ID of a voucher. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `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/ListEventVoucherAttendeesResponse.md b/packages/csharp/docs/Models/Requests/ListEventVoucherAttendeesResponse.md new file mode 100644 index 000000000..35c70f226 --- /dev/null +++ b/packages/csharp/docs/Models/Requests/ListEventVoucherAttendeesResponse.md @@ -0,0 +1,9 @@ +# ListEventVoucherAttendeesResponse + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | +| `AttendeesPaginatedResponse` | [AttendeesPaginatedResponse](../../Models/Components/AttendeesPaginatedResponse.md) | :heavy_minus_sign: | Successfully retrieved a paginated list of attendees for the voucher. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/ListEventVouchersPostFilterRequest.md b/packages/csharp/docs/Models/Requests/ListEventVouchersPostFilterRequest.md new file mode 100644 index 000000000..d74caae13 --- /dev/null +++ b/packages/csharp/docs/Models/Requests/ListEventVouchersPostFilterRequest.md @@ -0,0 +1,14 @@ +# ListEventVouchersPostFilterRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `Id` | *string* | :heavy_check_mark: | Unique ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `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 | +| `Before` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | +| `After` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | +| `Sort` | *string* | :heavy_minus_sign: | The sort order for the results, expressed as a priority-ordered list of field and direction pairs.

There are two sort directions:
* ascending: ASC
* descending: DESC

The following fields are sortable:
* code

When not provided, results are sorted by `code` ascending.
| code:ASC | +| `Filter` | [Filter](../../Models/Components/Filter.md) | :heavy_minus_sign: | See the `filter` parameter in [List Event Vouchers](#operation/listEventVouchers) for full filtering information.
| | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/ListEventVouchersPostFilterResponse.md b/packages/csharp/docs/Models/Requests/ListEventVouchersPostFilterResponse.md new file mode 100644 index 000000000..765ed2431 --- /dev/null +++ b/packages/csharp/docs/Models/Requests/ListEventVouchersPostFilterResponse.md @@ -0,0 +1,9 @@ +# ListEventVouchersPostFilterResponse + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | +| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | +| `VouchersPaginatedResponse` | [VouchersPaginatedResponse](../../Models/Components/VouchersPaginatedResponse.md) | :heavy_minus_sign: | Successfully retrieved a paginated list of vouchers. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/ListEventVouchersRequest.md b/packages/csharp/docs/Models/Requests/ListEventVouchersRequest.md new file mode 100644 index 000000000..2edb8522e --- /dev/null +++ b/packages/csharp/docs/Models/Requests/ListEventVouchersRequest.md @@ -0,0 +1,14 @@ +# ListEventVouchersRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | Unique ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `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 | +| `Before` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | +| `After` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | +| `Sort` | *string* | :heavy_minus_sign: | The sort order for the results, expressed as a priority-ordered list of field and direction pairs.

There are two sort directions:
* ascending: ASC
* descending: DESC

The following fields are sortable:
* code

When not provided, results are sorted by `code` ascending.
| code:ASC | +| `Filter` | *string* | :heavy_minus_sign: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \|
\|-------\|-----------\|
\| id \| `in` \|

No logical operators are available.
| id in ('1800c9bd-b5f4-438a-a92c-ea1f59553a5c', '2900d8ce-c6f5-449b-b03d-fb2f60664b6d') | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/ListEventVouchersResponse.md b/packages/csharp/docs/Models/Requests/ListEventVouchersResponse.md new file mode 100644 index 000000000..748a3c994 --- /dev/null +++ b/packages/csharp/docs/Models/Requests/ListEventVouchersResponse.md @@ -0,0 +1,9 @@ +# ListEventVouchersResponse + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | +| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | +| `VouchersPaginatedResponse` | [VouchersPaginatedResponse](../../Models/Components/VouchersPaginatedResponse.md) | :heavy_minus_sign: | Successfully retrieved a paginated list of vouchers. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/ListVideosRequest.md b/packages/csharp/docs/Models/Requests/ListVideosRequest.md index 2c3838ee5..09c3510d8 100644 --- a/packages/csharp/docs/Models/Requests/ListVideosRequest.md +++ b/packages/csharp/docs/Models/Requests/ListVideosRequest.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `After` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | -| `Before` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | -| `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 | -| `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'.

There are six comparison types that can be used in filter expressions:
* equal: eq
* not equal: ne
* greater than: gt
* greater or equal: ge
* less than: lt
* less than or equal: le

The following fields are filterable:
* id (eq\|ne)
* events (eq\|ne)
* sessions (eq\|ne)
* exhibitors (eq\|ne)
* speakers (eq\|ne)
* source.id (eq\|ne)
* status (eq\|ne)
* tags (eq\|ne)
* recording.id (eq\|ne)

The following filterable fields have been deprecated, use the plural form above:
* event.id (eq\|ne)
| events eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' and source.id ne 'sampleWebcastSystemId' | -| `Deleted` | *bool* | :heavy_minus_sign: | True means only videos marked as deleted will be queried. False means only non-deleted videos will be queried. | true | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `After` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | +| `Before` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | +| `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 | +| `Filter` | *string* | :heavy_minus_sign: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \| Notes \|
\|--------------\|------------\|----------------------------------\|
\| id \| `eq`, `ne` \| \|
\| events \| `eq`, `ne` \| \|
\| sessions \| `eq`, `ne` \| \|
\| exhibitors \| `eq`, `ne` \| \|
\| speakers \| `eq`, `ne` \| \|
\| source.id \| `eq`, `ne` \| \|
\| status \| `eq`, `ne` \| \|
\| tags \| `eq`, `ne` \| \|
\| recording.id \| `eq`, `ne` \| \|
\| event.id \| `eq`, `ne` \| deprecated, use `events` instead \|

The following logical operators are supported for combining filters:
* and
* or
| events eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' and source.id ne 'sampleWebcastSystemId' | +| `Deleted` | *bool* | :heavy_minus_sign: | True means only videos marked as deleted will be queried. False means only non-deleted videos will be queried. | true | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/PatchContactsResponse.md b/packages/csharp/docs/Models/Requests/PatchContactsResponse.md index cfc8918cf..324faa022 100644 --- a/packages/csharp/docs/Models/Requests/PatchContactsResponse.md +++ b/packages/csharp/docs/Models/Requests/PatchContactsResponse.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | -| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | -| `ContactBulkResponse` | List<[ContactBulkItemJson](../../Models/Components/ContactBulkItemJson.md)> | :heavy_minus_sign: | Successfully updated a list of contacts. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | +| `ContactBulkResponse` | List<[ContactBulkResponseItem](../../Models/Components/ContactBulkResponseItem.md)> | :heavy_minus_sign: | Successfully updated a list of contacts. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/UpdateAttendeeResponse.md b/packages/csharp/docs/Models/Requests/UpdateAttendeeResponse.md index c813f74bd..e80841ff9 100644 --- a/packages/csharp/docs/Models/Requests/UpdateAttendeeResponse.md +++ b/packages/csharp/docs/Models/Requests/UpdateAttendeeResponse.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | | `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | -| `Attendee` | [Attendee1](../../Models/Components/Attendee1.md) | :heavy_minus_sign: | Successfully updated the attendee. | \ No newline at end of file +| `Attendee1` | [Attendee11](../../Models/Components/Attendee11.md) | :heavy_minus_sign: | Successfully updated the attendee. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/UpdateContactsResponse.md b/packages/csharp/docs/Models/Requests/UpdateContactsResponse.md index ac23ab855..51986309f 100644 --- a/packages/csharp/docs/Models/Requests/UpdateContactsResponse.md +++ b/packages/csharp/docs/Models/Requests/UpdateContactsResponse.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | -| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | -| `ContactBulkResponse` | List<[ContactBulkItemJson](../../Models/Components/ContactBulkItemJson.md)> | :heavy_minus_sign: | Successfully updated a list of Contacts. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | +| `ContactBulkResponse` | List<[ContactBulkResponseItem](../../Models/Components/ContactBulkResponseItem.md)> | :heavy_minus_sign: | Successfully updated a list of Contacts. | \ No newline at end of file diff --git a/packages/csharp/docs/sdks/appointments/README.md b/packages/csharp/docs/sdks/appointments/README.md index 318a3895a..db82b1355 100644 --- a/packages/csharp/docs/sdks/appointments/README.md +++ b/packages/csharp/docs/sdks/appointments/README.md @@ -546,7 +546,8 @@ var res = await sdk.Appointments.CreateAppointmentAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse2 | 422 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## UpdateAppointment @@ -617,7 +618,8 @@ var res = await sdk.Appointments.UpdateAppointmentAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse2 | 422 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## CancelAppointment diff --git a/packages/csharp/docs/sdks/attendees/README.md b/packages/csharp/docs/sdks/attendees/README.md index 5bd1e59a9..3eb362b10 100644 --- a/packages/csharp/docs/sdks/attendees/README.md +++ b/packages/csharp/docs/sdks/attendees/README.md @@ -577,10 +577,10 @@ PostBadgeRequest req = new PostBadgeRequest() { Id = "abc123", Status = BadgeStatus.Active, Type = BadgeType.Epc, - Attendee = new Attendee11() { + Attendee = new Attendee12() { Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }, - Event = new Event21() { + Event = new Event3() { Id = "3db28cfc-db22-11eb-8d19-0242ac130003", }, }, @@ -755,10 +755,10 @@ UpdateBadgeRequest req = new UpdateBadgeRequest() { Id = "abc123", Status = BadgeStatus.Active, Type = BadgeType.Epc, - Attendee = new Attendee11() { + Attendee = new Attendee12() { Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }, - Event = new Event21() { + Event = new Event3() { Id = "3db28cfc-db22-11eb-8d19-0242ac130003", }, }, diff --git a/packages/csharp/docs/sdks/audiencesegments/README.md b/packages/csharp/docs/sdks/audiencesegments/README.md index 08b987d5d..47c0c339c 100644 --- a/packages/csharp/docs/sdks/audiencesegments/README.md +++ b/packages/csharp/docs/sdks/audiencesegments/README.md @@ -215,7 +215,7 @@ var sdk = new CventSDK(security: new Security() { }); AudienceSegmentCreate req = new AudienceSegmentCreate() { - Event = new EventJson1() { + Event = new EventJson() { Id = "103097a4-143d-11e5-9f99-d0a637ee0032", }, Name = "VIP Attendees", @@ -242,7 +242,8 @@ var res = await sdk.AudienceSegments.CreateAudienceSegmentAsync(req); | Error Type | Status Code | Content Type | | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | | Cvent.SDK.Models.Errors.SegmentsErrorResponse | 400 | application/json | -| Cvent.SDK.Models.Errors.ErrorResponse1 | 401, 403, 422, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse2 | 422 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 401, 403, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## ListAudienceSegments @@ -453,7 +454,7 @@ var sdk = new CventSDK(security: new Security() { UpdateAudienceSegmentRequest req = new UpdateAudienceSegmentRequest() { AudienceSegmentId = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", AudienceSegment = new AudienceSegment() { - Event = new EventJson1() { + Event = new EventJson() { Id = "103097a4-143d-11e5-9f99-d0a637ee0032", }, Name = "VIP Attendees", @@ -480,7 +481,8 @@ var res = await sdk.AudienceSegments.UpdateAudienceSegmentAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse2 | 422 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## DeleteAudienceSegment @@ -644,7 +646,8 @@ var res = await sdk.AudienceSegments.AssociateAttendeeToSegmentAsync(req); | Error Type | Status Code | Content Type | | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | | Cvent.SDK.Models.Errors.SegmentsErrorResponse | 400 | application/json | -| Cvent.SDK.Models.Errors.ErrorResponse1 | 401, 403, 404, 422, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse2 | 422 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## DisassociateAttendeeFromAudienceSegment diff --git a/packages/csharp/docs/sdks/bulk/README.md b/packages/csharp/docs/sdks/bulk/README.md index e01e862d4..f986294bf 100644 --- a/packages/csharp/docs/sdks/bulk/README.md +++ b/packages/csharp/docs/sdks/bulk/README.md @@ -111,8 +111,8 @@ var res = await sdk.Bulk.CreateBulkJobAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse1 | 409 | application/json | -| Cvent.SDK.Models.Errors.ErrorResponse2 | 400, 401, 403, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse2 | 409 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## GetBulkJobById @@ -159,7 +159,7 @@ var res = await sdk.Bulk.GetBulkJobByIdAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse2 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## CancelBulkJob @@ -206,7 +206,7 @@ var res = await sdk.Bulk.CancelBulkJobAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse2 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## UploadBulkJobData @@ -284,8 +284,8 @@ var res = await sdk.Bulk.UploadBulkJobDataAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse1 | 409 | application/json | -| Cvent.SDK.Models.Errors.ErrorResponse2 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse2 | 409 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## ListBulkJobResult @@ -342,7 +342,7 @@ while(res != null) | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse2 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## RunBulkJob @@ -391,6 +391,6 @@ var res = await sdk.Bulk.RunBulkJobAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse1 | 409 | application/json | -| Cvent.SDK.Models.Errors.ErrorResponse2 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse2 | 409 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 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/docs/sdks/contacts/README.md b/packages/csharp/docs/sdks/contacts/README.md index b866e6b54..f3e25c6bd 100644 --- a/packages/csharp/docs/sdks/contacts/README.md +++ b/packages/csharp/docs/sdks/contacts/README.md @@ -62,7 +62,7 @@ ContactGroupInput req = new ContactGroupInput() { Name = "group name", ShortDescription = "short description", Description = "long description", - DistributionListInfo = new DistributionListInfoJsonInput() { + DistributionListInfo = new DistributionListInfoInput() { InternalNote = "Sample distribution list internal note", }, }; @@ -228,7 +228,7 @@ UpdateContactGroupRequest req = new UpdateContactGroupRequest() { Name = "group name", ShortDescription = "short description", Description = "long description", - DistributionListInfo = new DistributionListInfoJsonInput() { + DistributionListInfo = new DistributionListInfoInput() { InternalNote = "Sample distribution list internal note", }, }, @@ -673,12 +673,12 @@ List req = new List() { Email = "h.potterfield@test.com", CcEmail = "h.porter@tesing.com", Designation = "CPA", - Type = new AttendeeContactTypeJsonInput() { + Type = new AttendeeContactTypeInput() { Id = "861B51EC-AA7E-475F-B38D-4C8E35C47D63", }, - PrimaryAddressType = AddressTypeJson.Home, + PrimaryAddressType = AddressType.Home, HomeFax = "555-555-5555", - WorkAddress = new AddressJsonInput() { + WorkAddress = new AddressInput() { Address1 = "Cvent Inc.", Address2 = "4001 West Parmer Lane", Address3 = "PO Box 123", @@ -693,9 +693,9 @@ List req = new List() { MobilePhone = "555-555-5555", Prefix = "Mr.", Pager = "555-555-5555", - OptOut = new OptOutJsonInput() {}, + OptOut = new ContactOptOutInput() {}, Npi = "5555555555", - Passport = new PassportJsonInput() { + Passport = new PassportInput() { Number = "123456789", CountryCode = "GB", }, @@ -760,23 +760,23 @@ var sdk = new CventSDK(security: new Security() { CreateContactsRequest req = new CreateContactsRequest() { Upsert = true, - RequestBody = new List() { - new ContactCreateRequestJson() { + RequestBody = new List() { + new ContactCreate() { FirstName = "Henry", LastName = "Potterfield", MiddleName = "A", Nickname = "Harry", Email = "h.potterfield@test.com", CcEmail = "h.porter@tesing.com", - Gender = GenderJson.Male, + Gender = Gender.Male, Company = "Cvent Inc.", Designation = "CPA", Title = "Event Planner", - Type = new AttendeeContactTypeJsonInput() { + Type = new AttendeeContactTypeInput() { Id = "861B51EC-AA7E-475F-B38D-4C8E35C47D63", }, - PrimaryAddressType = AddressTypeJson.Home, - HomeAddress = new AddressJsonInput() { + PrimaryAddressType = AddressType.Home, + HomeAddress = new AddressInput() { Address1 = "Cvent Inc.", Address2 = "4001 West Parmer Lane", Address3 = "PO Box 123", @@ -787,7 +787,7 @@ CreateContactsRequest req = new CreateContactsRequest() { }, HomePhone = "555-555-5555", HomeFax = "555-555-5555", - WorkAddress = new AddressJsonInput() { + WorkAddress = new AddressInput() { Address1 = "Cvent Inc.", Address2 = "4001 West Parmer Lane", Address3 = "PO Box 123", @@ -802,21 +802,21 @@ CreateContactsRequest req = new CreateContactsRequest() { MobilePhone = "555-555-5555", Prefix = "Mr.", Pager = "555-555-5555", - OptOut = new OptOutJsonInput() {}, + OptOut = new ContactOptOutInput() {}, Npi = "5555555555", - Links = new ContactLinksJsonInput() { - TwitterUrl = new LinkJson() { + Links = new ContactLinksInput() { + TwitterUrl = new Link() { Href = "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", }, - FacebookUrl = new LinkJson() { + FacebookUrl = new Link() { Href = "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", }, - LinkedInUrl = new LinkJson() { + LinkedInUrl = new Link() { Href = "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", }, }, DateOfBirth = DateOnly.Parse("1990-01-01"), - Passport = new PassportJsonInput() { + Passport = new PassportInput() { Number = "123456789", CountryCode = "GB", }, @@ -1122,15 +1122,15 @@ UpdateContactByIdRequest req = new UpdateContactByIdRequest() { Nickname = "Harry", Email = "h.potterfield@test.com", CcEmail = "h.porter@tesing.com", - Gender = GenderJson.Male, + Gender = Gender.Male, Company = "Cvent Inc.", Designation = "CPA", Title = "Event Planner", - Type = new AttendeeContactTypeJsonInput() { + Type = new AttendeeContactTypeInput() { Id = "861B51EC-AA7E-475F-B38D-4C8E35C47D63", }, - PrimaryAddressType = AddressTypeJson.Home, - HomeAddress = new AddressJsonInput() { + PrimaryAddressType = AddressType.Home, + HomeAddress = new AddressInput() { Address1 = "Cvent Inc.", Address2 = "4001 West Parmer Lane", Address3 = "PO Box 123", @@ -1141,7 +1141,7 @@ UpdateContactByIdRequest req = new UpdateContactByIdRequest() { }, HomePhone = "555-555-5555", HomeFax = "555-555-5555", - WorkAddress = new AddressJsonInput() { + WorkAddress = new AddressInput() { Address1 = "Cvent Inc.", Address2 = "4001 West Parmer Lane", Address3 = "PO Box 123", @@ -1156,21 +1156,21 @@ UpdateContactByIdRequest req = new UpdateContactByIdRequest() { MobilePhone = "555-555-5555", Prefix = "Mr.", Pager = "555-555-5555", - OptOut = new OptOutJsonInput() {}, + OptOut = new ContactOptOutInput() {}, Npi = "5555555555", - Links = new ContactLinksJsonInput() { - TwitterUrl = new LinkJson() { + Links = new ContactLinksInput() { + TwitterUrl = new Link() { Href = "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", }, - FacebookUrl = new LinkJson() { + FacebookUrl = new Link() { Href = "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", }, - LinkedInUrl = new LinkJson() { + LinkedInUrl = new Link() { Href = "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", }, }, DateOfBirth = DateOnly.Parse("1990-01-01"), - Passport = new PassportJsonInput() { + Passport = new PassportInput() { Number = "123456789", CountryCode = "GB", }, @@ -1246,12 +1246,12 @@ PatchContactByIdRequest req = new PatchContactByIdRequest() { Email = "h.potterfield@test.com", CcEmail = "h.porter@tesing.com", Designation = "CPA", - Type = new AttendeeContactTypeJsonInput() { + Type = new AttendeeContactTypeInput() { Id = "861B51EC-AA7E-475F-B38D-4C8E35C47D63", }, - PrimaryAddressType = AddressTypeJson.Home, + PrimaryAddressType = AddressType.Home, HomeFax = "555-555-5555", - WorkAddress = new AddressJsonInput() { + WorkAddress = new AddressInput() { Address1 = "Cvent Inc.", Address2 = "4001 West Parmer Lane", Address3 = "PO Box 123", @@ -1266,9 +1266,9 @@ PatchContactByIdRequest req = new PatchContactByIdRequest() { MobilePhone = "555-555-5555", Prefix = "Mr.", Pager = "555-555-5555", - OptOut = new OptOutJsonInput() {}, + OptOut = new ContactOptOutInput() {}, Npi = "5555555555", - Passport = new PassportJsonInput() { + Passport = new PassportInput() { Number = "123456789", CountryCode = "GB", }, @@ -1442,8 +1442,8 @@ MergeContactsRequest req = new MergeContactsRequest() { "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }, ConflictResolution = new ConflictResolution() { - ContactFields = new List() { - new ContactMergeFieldJson() { + ContactFields = new List() { + new ContactMergeField() { FieldName = "firstName", ContactId = "a45a3341-d30f-4bd9-bfd8-fbcdae37f0f2", }, diff --git a/packages/csharp/docs/sdks/customfields/README.md b/packages/csharp/docs/sdks/customfields/README.md index dce995904..a53b019d3 100644 --- a/packages/csharp/docs/sdks/customfields/README.md +++ b/packages/csharp/docs/sdks/customfields/README.md @@ -100,7 +100,7 @@ CustomField3 req = new CustomField3() { Category = CustomFieldCategoryJson.Contact, Name = "What is a your favorite color?", Code = "FAVORITE_COLOR_CODE", - Type = CustomFieldTypeJson1.OpenEndedTextOneLine, + Type = CustomFieldTypeJson.OpenEndedTextOneLine, Details = CustomField3Details.CreateOpenEndedOneLine( new OpenEndedOneLine() { AnswerFormat = "General", @@ -165,11 +165,11 @@ UpdateCustomFieldRequest req = new UpdateCustomFieldRequest() { Category = CustomFieldCategoryJson.Contact, Name = "What is a your favorite color?", Code = "FAVORITE_COLOR_CODE", - Type = CustomFieldTypeJson1.OpenEndedTextOneLine, + Type = CustomFieldTypeJson.OpenEndedTextOneLine, Details = ExistingCustomFieldDetailsInput.CreateThreeInput( new ThreeInput() { - Choices = new List() { - new ChoiceJson3Input() { + Choices = new List() { + new ChoiceJson2Input() { Text = "What is your current designation?", }, }, diff --git a/packages/csharp/docs/sdks/events/README.md b/packages/csharp/docs/sdks/events/README.md index a65fa567b..de191e777 100644 --- a/packages/csharp/docs/sdks/events/README.md +++ b/packages/csharp/docs/sdks/events/README.md @@ -46,6 +46,9 @@ Events are used to collect registrations and allow attendees to select their sch * [ListEventUserGroups](#listeventusergroups) - List Event User Groups * [AssociateEventUserGroup](#associateeventusergroup) - Associate User Group to Event * [DisassociateEventUserGroup](#disassociateeventusergroup) - Disassociate Group from Event +* [ListEventVouchers](#listeventvouchers) - List Event Vouchers +* [ListEventVouchersPostFilter](#listeventvoucherspostfilter) - List Event Vouchers (Filter) +* [ListEventVoucherAttendees](#listeventvoucherattendees) - List Voucher Attendees * [UpdateQuantityItemRegistrationForAttendee](#updatequantityitemregistrationforattendee) - Update Quantity Item * [ListSessionsAttendance](#listsessionsattendance) - Session Attendance * [ListSessionsEnrollment](#listsessionsenrollment) - List Session Registrants @@ -417,7 +420,7 @@ EventInput req = new EventInput() { Email = "hsmith@example.com", }, }, - Type = EventTypeJson1.Conference, + Type = EventTypeJson.Conference, }; var res = await sdk.Events.CreateEventAsyncAsync(req); @@ -567,7 +570,7 @@ var sdk = new CventSDK(security: new Security() { }); SendEmailEventRequest req = new SendEmailEventRequest() { - Event = new EventJson8() { + Event = new EventJson6() { Id = "a150f1ee-6c54-4b01-90e6-d701748f0851", }, Email = new EmailJson2() { @@ -821,7 +824,7 @@ UpdateEventRequest req = new UpdateEventRequest() { }, Capacity = 50, Planners = new List() {}, - Type = EventTypeJson1.Conference, + Type = EventTypeJson.Conference, }, }; @@ -2150,7 +2153,7 @@ PostTransactionsRequest req = new PostTransactionsRequest() { Event = new Event2() { Id = "4a0e8d1f-8fd6-4ebe-977a-602b4a1f9c56", }, - Attendee = new Attendee2() { + Attendee = new Attendee() { Id = "5b0e8d1f-8fd6-4ebe-977a-602b4a1f9c43", }, PaymentType = PaymentType.OfflineCharge, @@ -2411,6 +2414,181 @@ var res = await sdk.Events.DisassociateEventUserGroupAsync(req); | Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | +## ListEventVouchers + +Retrieves a paginated list of vouchers set up for a specific event. + + +### Example Usage + + +```csharp +using Cvent.SDK; +using Cvent.SDK.Models.Components; +using Cvent.SDK.Models.Requests; +using System; + +var sdk = new CventSDK(security: new Security() { + OAuth2ClientCredentials = new SchemeOAuth2ClientCredentials() { + ClientID = "", + ClientSecret = "", + TokenURL = "", + Scopes = "", + }, +}); + +ListEventVouchersRequest req = new ListEventVouchersRequest() { + Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + Token = "0e28af57-511f-47ab-ae46-46cd1ca51a1a", + Before = System.DateTime.Parse("2017-01-02T02:00:00Z").ToUniversalTime(), + After = System.DateTime.Parse("2017-01-02T02:00:00Z").ToUniversalTime(), + Sort = "code:ASC", + Filter = "id in ('1800c9bd-b5f4-438a-a92c-ea1f59553a5c', '2900d8ce-c6f5-449b-b03d-fb2f60664b6d')", +}; + +ListEventVouchersResponse? res = await sdk.Events.ListEventVouchersAsync(req); + +while(res != null) +{ + // handle items + + res = await res.Next!(); +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `request` | [ListEventVouchersRequest](../../Models/Requests/ListEventVouchersRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[ListEventVouchersResponse](../../Models/Requests/ListEventVouchersResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | + +## ListEventVouchersPostFilter + +Retrieves a paginated list of vouchers configured for an event using a filter provided in the body of the request. + + +### Example Usage + + +```csharp +using Cvent.SDK; +using Cvent.SDK.Models.Components; +using Cvent.SDK.Models.Requests; +using System; + +var sdk = new CventSDK(security: new Security() { + OAuth2ClientCredentials = new SchemeOAuth2ClientCredentials() { + ClientID = "", + ClientSecret = "", + TokenURL = "", + Scopes = "", + }, +}); + +ListEventVouchersPostFilterRequest req = new ListEventVouchersPostFilterRequest() { + Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + Token = "0e28af57-511f-47ab-ae46-46cd1ca51a1a", + Before = System.DateTime.Parse("2017-01-02T02:00:00Z").ToUniversalTime(), + After = System.DateTime.Parse("2017-01-02T02:00:00Z").ToUniversalTime(), + Sort = "code:ASC", + Filter = new Filter() { + FilterValue = "id in ('1800c9bd-b5f4-438a-a92c-ea1f59553a5c', '2900d8ce-c6f5-449b-b03d-fb2f60664b6d')", + }, +}; + +ListEventVouchersPostFilterResponse? res = await sdk.Events.ListEventVouchersPostFilterAsync(req); + +while(res != null) +{ + // handle items + + res = await res.Next!(); +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | +| `request` | [ListEventVouchersPostFilterRequest](../../Models/Requests/ListEventVouchersPostFilterRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[ListEventVouchersPostFilterResponse](../../Models/Requests/ListEventVouchersPostFilterResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | + +## ListEventVoucherAttendees + +Retrieves a paginated list of attendees who have redeemed a specific voucher for the given event. + + +### 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 = "", + }, +}); + +ListEventVoucherAttendeesRequest req = new ListEventVoucherAttendeesRequest() { + Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + VoucherId = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + Token = "0e28af57-511f-47ab-ae46-46cd1ca51a1a", +}; + +ListEventVoucherAttendeesResponse? res = await sdk.Events.ListEventVoucherAttendeesAsync(req); + +while(res != null) +{ + // handle items + + res = await res.Next!(); +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `request` | [ListEventVoucherAttendeesRequest](../../Models/Requests/ListEventVoucherAttendeesRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[ListEventVoucherAttendeesResponse](../../Models/Requests/ListEventVoucherAttendeesResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | + ## UpdateQuantityItemRegistrationForAttendee Update a specific [quantity item](https://support.cvent.com/s/communityarticle/Creating-Quantity-Items) for an attendee's registration based on the details supplied in the body of the request. diff --git a/packages/csharp/docs/sdks/exhibitor/README.md b/packages/csharp/docs/sdks/exhibitor/README.md index b1ecfff5f..72e8b78d2 100644 --- a/packages/csharp/docs/sdks/exhibitor/README.md +++ b/packages/csharp/docs/sdks/exhibitor/README.md @@ -131,7 +131,7 @@ var sdk = new CventSDK(security: new Security() { CreateExhibitorCategoryRequest req = new CreateExhibitorCategoryRequest() { Id = "3db28cfc-db22-11eb-8d19-0242ac130003", ExhibitorCategoryRequest = new ExhibitorCategoryRequest() { - Event = new Event21() { + Event = new Event3() { Id = "3db28cfc-db22-11eb-8d19-0242ac130003", }, Name = "Automobile", @@ -191,7 +191,7 @@ UpdateExhibitorCategoryRequest req = new UpdateExhibitorCategoryRequest() { Id = "3db28cfc-db22-11eb-8d19-0242ac130003", ExhibitorCategoryId = "534a465b-b4cb-471d-9498-4bf3917ad8bf", ExhibitorCategoryRequest = new ExhibitorCategoryRequest() { - Event = new Event21() { + Event = new Event3() { Id = "3db28cfc-db22-11eb-8d19-0242ac130003", }, Name = "Automobile", @@ -679,7 +679,7 @@ var sdk = new CventSDK(security: new Security() { CreateExhibitorRequest req = new CreateExhibitorRequest() { Id = "3db28cfc-db22-11eb-8d19-0242ac130003", ExhibitorRequest = new ExhibitorRequest() { - Event = new Event21() { + Event = new Event3() { Id = "3db28cfc-db22-11eb-8d19-0242ac130003", }, Name = "Potterfield Harry", @@ -687,9 +687,9 @@ CreateExhibitorRequest req = new CreateExhibitorRequest() { Code = "abc123", SourceId = "software", Location = "Taj Mahal", - Address = new Address2() { + Address = new Address4() { Address1 = "Cvent Inc.", - Address2Value = "4001 West Parmer Lane", + Address2 = "4001 West Parmer Lane", City = "Austin", Region = "Texas", PostalCode = "78727", @@ -821,7 +821,7 @@ UpdateExhibitorRequest req = new UpdateExhibitorRequest() { Id = "3db28cfc-db22-11eb-8d19-0242ac130003", ExhibitorId = "4888db54-db22-11eb-8d19-0242ac130003", ExhibitorRequest = new ExhibitorRequest() { - Event = new Event21() { + Event = new Event3() { Id = "3db28cfc-db22-11eb-8d19-0242ac130003", }, Name = "Potterfield Harry", @@ -829,9 +829,9 @@ UpdateExhibitorRequest req = new UpdateExhibitorRequest() { Code = "abc123", SourceId = "software", Location = "Taj Mahal", - Address = new Address2() { + Address = new Address4() { Address1 = "Cvent Inc.", - Address2Value = "4001 West Parmer Lane", + Address2 = "4001 West Parmer Lane", City = "Austin", Region = "Texas", PostalCode = "78727", @@ -1127,7 +1127,7 @@ UpdateExhibitorAnswersRequest req = new UpdateExhibitorAnswersRequest() { Question = new Uuid() { Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }, - Event = new Event21() { + Event = new Event3() { Id = "3db28cfc-db22-11eb-8d19-0242ac130003", }, Exhibitor = new Cvent.SDK.Models.Components.Exhibitor() { @@ -1410,7 +1410,7 @@ PostRegistrationPackRequest req = new PostRegistrationPackRequest() { Id = "3db28cfc-db22-11eb-8d19-0242ac130003", ExhibitorId = "4888db54-db22-11eb-8d19-0242ac130003", RegistrationPackRequest = new RegistrationPackRequest() { - Event = new Event21() { + Event = new Event3() { Id = "3db28cfc-db22-11eb-8d19-0242ac130003", }, Exhibitor = new Cvent.SDK.Models.Components.Exhibitor() { @@ -1446,7 +1446,8 @@ var res = await sdk.Exhibitor.PostRegistrationPackAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 409, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse2 | 409 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## GetExhibitorRegistrationPacks @@ -1584,7 +1585,7 @@ UpdateRegistrationPackRequest req = new UpdateRegistrationPackRequest() { ExhibitorId = "4888db54-db22-11eb-8d19-0242ac130003", RegistrationPackId = "50f4f0df-0c2d-4e6b-8e68-e1413b6917f5", RegistrationPackRequest = new RegistrationPackRequest() { - Event = new Event21() { + Event = new Event3() { Id = "3db28cfc-db22-11eb-8d19-0242ac130003", }, Exhibitor = new Cvent.SDK.Models.Components.Exhibitor() { @@ -1672,7 +1673,8 @@ var res = await sdk.Exhibitor.DeleteRegistrationPackAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse1 | 401, 403, 404, 409, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse2 | 409 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## GetSponsorshipLevels diff --git a/packages/csharp/docs/sdks/exhibitorcontent/README.md b/packages/csharp/docs/sdks/exhibitorcontent/README.md index 6784c0fa0..9ff17db0c 100644 --- a/packages/csharp/docs/sdks/exhibitorcontent/README.md +++ b/packages/csharp/docs/sdks/exhibitorcontent/README.md @@ -150,7 +150,7 @@ UpdateExhibitorFileRequest req = new UpdateExhibitorFileRequest() { ExhibitorId = "4888db54-db22-11eb-8d19-0242ac130003", FileId = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", File = new FileInput() { - Event = new Event21() { + Event = new Event3() { Id = "3db28cfc-db22-11eb-8d19-0242ac130003", }, Exhibitor = new Cvent.SDK.Models.Components.Exhibitor() { @@ -180,7 +180,8 @@ var res = await sdk.ExhibitorContent.UpdateExhibitorFileAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse2 | 422 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## DisassociateExhibitorFile @@ -314,7 +315,7 @@ CreateExhibitorWeblinkRequest req = new CreateExhibitorWeblinkRequest() { Id = "3db28cfc-db22-11eb-8d19-0242ac130003", ExhibitorId = "4888db54-db22-11eb-8d19-0242ac130003", Weblink = new Weblink() { - Event = new Event21() { + Event = new Event3() { Id = "3db28cfc-db22-11eb-8d19-0242ac130003", }, Exhibitor = new Cvent.SDK.Models.Components.Exhibitor() { @@ -345,7 +346,8 @@ var res = await sdk.ExhibitorContent.CreateExhibitorWeblinkAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse2 | 422 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## GetExhibitorWeblink @@ -429,7 +431,7 @@ UpdateExhibitorWeblinkRequest req = new UpdateExhibitorWeblinkRequest() { ExhibitorId = "4888db54-db22-11eb-8d19-0242ac130003", WeblinkId = "4d44b9e4-8c1a-403d-a20a-0b981f539935", Weblink = new Weblink() { - Event = new Event21() { + Event = new Event3() { Id = "3db28cfc-db22-11eb-8d19-0242ac130003", }, Exhibitor = new Cvent.SDK.Models.Components.Exhibitor() { @@ -460,7 +462,8 @@ var res = await sdk.ExhibitorContent.UpdateExhibitorWeblinkAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse2 | 422 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## DeleteExhibitorWeblink diff --git a/packages/csharp/docs/sdks/exhibitorteam/README.md b/packages/csharp/docs/sdks/exhibitorteam/README.md index c4154102e..dc21b4a04 100644 --- a/packages/csharp/docs/sdks/exhibitorteam/README.md +++ b/packages/csharp/docs/sdks/exhibitorteam/README.md @@ -331,10 +331,10 @@ AssociateBoothStaffRequest req = new AssociateBoothStaffRequest() { Id = "3db28cfc-db22-11eb-8d19-0242ac130003", ExhibitorId = "4888db54-db22-11eb-8d19-0242ac130003", BoothStaffRequest = new BoothStaffRequest() { - Attendee = new Attendee11() { + Attendee = new Attendee12() { Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }, - Event = new Event21() { + Event = new Event3() { Id = "3db28cfc-db22-11eb-8d19-0242ac130003", }, Exhibitor = new Cvent.SDK.Models.Components.Exhibitor() { diff --git a/packages/csharp/docs/sdks/housing/README.md b/packages/csharp/docs/sdks/housing/README.md index 5cd33aad4..ff2cb3a23 100644 --- a/packages/csharp/docs/sdks/housing/README.md +++ b/packages/csharp/docs/sdks/housing/README.md @@ -790,7 +790,7 @@ UpdateReservationRequestRequest req = new UpdateReservationRequestRequest() { Email = "guest@cvent.com", HomePhone = "(231)-213-1222", WorkPhone = "(231)-213-1222", - HomeAddress = new AddressJson2() { + HomeAddress = new AddressJson() { Address1 = "West St. 1", Address2 = "Apt. 16", City = "Austin", @@ -802,7 +802,7 @@ UpdateReservationRequestRequest req = new UpdateReservationRequestRequest() { }, PaymentInfo = new PaymentInfoJson() { FullName = "Gustav Schultz", - Address = new AddressJson2() { + Address = new AddressJson() { Address1 = "West St. 1", Address2 = "Apt. 16", City = "Austin", @@ -875,7 +875,8 @@ var res = await sdk.Housing.UpdateReservationRequestAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse2 | 400 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## CancelReservationRequest @@ -922,7 +923,8 @@ var res = await sdk.Housing.CancelReservationRequestAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse2 | 400 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## LinkReservation diff --git a/packages/csharp/docs/sdks/meetingrequest/README.md b/packages/csharp/docs/sdks/meetingrequest/README.md index d1e240373..22acf9c6d 100644 --- a/packages/csharp/docs/sdks/meetingrequest/README.md +++ b/packages/csharp/docs/sdks/meetingrequest/README.md @@ -168,7 +168,8 @@ var res = await sdk.MeetingRequest.GetMRFByIdAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse1 | 401, 403, 404, 422, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse2 | 422 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## CreateMeetingRequest diff --git a/packages/csharp/docs/sdks/proposaldraft/README.md b/packages/csharp/docs/sdks/proposaldraft/README.md index cf000fcf3..9266acf13 100644 --- a/packages/csharp/docs/sdks/proposaldraft/README.md +++ b/packages/csharp/docs/sdks/proposaldraft/README.md @@ -93,8 +93,8 @@ ProposalRequest req = new ProposalRequest() { FoodAndBeverageMinimum = 10D, Notes = "Estimated cost includes taxes.", }, - Contacts = new List() { - new ContactJson1() { + Contacts = new List() { + new ContactJson() { FirstName = "Saurabh", LastName = "Sachdeva", OrganizationWebsite = "www.cvent.com", @@ -113,8 +113,8 @@ ProposalRequest req = new ProposalRequest() { Notes = "Available between 8am - 5pm.", }, }, - PlannerContacts = new List() { - new ContactJson1() { + PlannerContacts = new List() { + new ContactJson() { FirstName = "Saurabh", LastName = "Sachdeva", OrganizationWebsite = "www.cvent.com", diff --git a/packages/csharp/docs/sdks/sessions/README.md b/packages/csharp/docs/sdks/sessions/README.md index e828cf11d..76253bac0 100644 --- a/packages/csharp/docs/sdks/sessions/README.md +++ b/packages/csharp/docs/sdks/sessions/README.md @@ -573,7 +573,8 @@ var res = await sdk.Sessions.RelateProgramItemToSessionDocumentAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse1 | 401, 403, 404, 409, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse2 | 409 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## GetProgramItemSessionDocument diff --git a/packages/csharp/docs/sdks/speakers/README.md b/packages/csharp/docs/sdks/speakers/README.md index 6b4d0923a..86a7b2918 100644 --- a/packages/csharp/docs/sdks/speakers/README.md +++ b/packages/csharp/docs/sdks/speakers/README.md @@ -183,7 +183,8 @@ var res = await sdk.Speakers.CreateSessionProgramSpeakerAsync(req); | Error Type | Status Code | Content Type | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponse1 | 401, 403, 404, 409, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse2 | 409 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## GetSessionProgramSpeaker @@ -362,7 +363,7 @@ var sdk = new CventSDK(security: new Security() { }, }); -SpeakerCategory req = new SpeakerCategory() { +SpeakerCategory2 req = new SpeakerCategory2() { Name = "Presenters", }; @@ -373,9 +374,9 @@ var res = await sdk.Speakers.AddSpeakerCategoryAsync(req); ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| `request` | [SpeakerCategory](../../Models/Components/SpeakerCategory.md) | :heavy_check_mark: | The request object to use for the request. | +| Parameter | Type | Required | Description | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `request` | [SpeakerCategory2](../../Models/Components/SpeakerCategory2.md) | :heavy_check_mark: | The request object to use for the request. | ### Response @@ -479,18 +480,18 @@ Speaker req = new Speaker() { Designation = "PhD", Company = "Cvent", Title = "Lead Engineer", - Category = new CategoryIdNameJson() { + Category = new SpeakerCategory1() { Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", Name = "Presenters", }, - Links = new ContactLinksJsonInput() { - TwitterUrl = new LinkJson() { + Links = new ContactLinksInput() { + TwitterUrl = new Link() { Href = "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", }, - FacebookUrl = new LinkJson() { + FacebookUrl = new Link() { Href = "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", }, - LinkedInUrl = new LinkJson() { + LinkedInUrl = new Link() { Href = "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", }, }, @@ -619,18 +620,18 @@ UpdateSpeakerRequest req = new UpdateSpeakerRequest() { Designation = "PhD", Company = "Cvent", Title = "Lead Engineer", - Category = new CategoryIdNameJson() { + Category = new SpeakerCategory1() { Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", Name = "Presenters", }, - Links = new ContactLinksJsonInput() { - TwitterUrl = new LinkJson() { + Links = new ContactLinksInput() { + TwitterUrl = new Link() { Href = "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", }, - FacebookUrl = new LinkJson() { + FacebookUrl = new Link() { Href = "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", }, - LinkedInUrl = new LinkJson() { + LinkedInUrl = new Link() { Href = "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", }, }, diff --git a/packages/csharp/docs/sdks/userscim/README.md b/packages/csharp/docs/sdks/userscim/README.md index ef2eea915..faa485291 100644 --- a/packages/csharp/docs/sdks/userscim/README.md +++ b/packages/csharp/docs/sdks/userscim/README.md @@ -63,7 +63,7 @@ var res = await sdk.UserSCIM.GetUserGroupsAsync(req); | Error Type | Status Code | Content Type | | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponseJson17 | 400, 401, 403, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponseJson12 | 400, 401, 403, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## GetResourceTypes @@ -102,7 +102,7 @@ var res = await sdk.UserSCIM.GetResourceTypesAsync(); | Error Type | Status Code | Content Type | | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponseJson17 | 401, 403, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponseJson12 | 401, 403, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## GetResourceType @@ -152,7 +152,7 @@ var res = await sdk.UserSCIM.GetResourceTypeAsync(req); | Error Type | Status Code | Content Type | | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponseJson17 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponseJson12 | 400, 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## GetSchemas @@ -191,7 +191,7 @@ var res = await sdk.UserSCIM.GetSchemasAsync(); | Error Type | Status Code | Content Type | | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponseJson17 | 401, 403, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponseJson12 | 401, 403, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## GetSchema @@ -241,7 +241,7 @@ var res = await sdk.UserSCIM.GetSchemaAsync(req); | Error Type | Status Code | Content Type | | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponseJson17 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponseJson12 | 400, 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## GetServiceProviderConfig @@ -280,7 +280,7 @@ var res = await sdk.UserSCIM.GetServiceProviderConfigAsync(); | Error Type | Status Code | Content Type | | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponseJson17 | 401, 403, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponseJson12 | 401, 403, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## CreateUser @@ -323,9 +323,9 @@ UserInput req = new UserInput() { Value = "+911234567890", }, }, - Addresses = new List() { - new AddressJson4() { - Type = AddressTypeJson1.Work, + Addresses = new List() { + new AddressJson2() { + Type = AddressTypeJson.Work, StreetAddress = "100 Universal City Plaza", Locality = "Hollywood", Region = "CA", @@ -365,7 +365,7 @@ var res = await sdk.UserSCIM.CreateUserAsync(req); | Error Type | Status Code | Content Type | | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponseJson17 | 400, 401, 403, 409, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponseJson12 | 400, 401, 403, 409, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## ListUsers @@ -415,7 +415,7 @@ var res = await sdk.UserSCIM.ListUsersAsync(req); | Error Type | Status Code | Content Type | | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponseJson17 | 400, 401, 403, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponseJson12 | 400, 401, 403, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## GetUser @@ -465,7 +465,7 @@ var res = await sdk.UserSCIM.GetUserAsync(req); | Error Type | Status Code | Content Type | | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponseJson17 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponseJson12 | 400, 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## UpdateUser @@ -511,9 +511,9 @@ UpdateUserRequest req = new UpdateUserRequest() { Value = "+911234567890", }, }, - Addresses = new List() { - new AddressJson4() { - Type = AddressTypeJson1.Work, + Addresses = new List() { + new AddressJson2() { + Type = AddressTypeJson.Work, StreetAddress = "100 Universal City Plaza", Locality = "Hollywood", Region = "CA", @@ -559,7 +559,7 @@ var res = await sdk.UserSCIM.UpdateUserAsync(req); | Error Type | Status Code | Content Type | | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponseJson17 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponseJson12 | 400, 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | ## DeleteUser @@ -609,5 +609,5 @@ var res = await sdk.UserSCIM.DeleteUserAsync(req); | Error Type | Status Code | Content Type | | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | -| Cvent.SDK.Models.Errors.ErrorResponseJson17 | 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.ErrorResponseJson12 | 401, 403, 404, 429 | application/json | | Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/packages/csharp/docs/sdks/video/README.md b/packages/csharp/docs/sdks/video/README.md index 1d79940f0..73dc74bdd 100644 --- a/packages/csharp/docs/sdks/video/README.md +++ b/packages/csharp/docs/sdks/video/README.md @@ -248,13 +248,13 @@ var sdk = new CventSDK(security: new Security() { CreateTextTrackRequest req = new CreateTextTrackRequest() { VideoId = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", VideoTextTrack = new VideoTextTrack() { - Video = new VideoAssetIdJson() { + Video = new VideoAssetID() { Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }, Label = "English", Language = "en-US", - Kind = VideoTextTrackKindJson.Subtitles, - Status = VideoTextTrackStatusJson.Started, + Kind = VideoTextTrackKind.Subtitles, + Status = VideoTextTrackStatus.Started, }, }; @@ -354,13 +354,13 @@ UpdateTextTrackRequest req = new UpdateTextTrackRequest() { VideoId = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", TextTrackId = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", ExistingVideoTextTrack = new ExistingVideoTextTrackInput() { - Video = new VideoAssetIdJson() { + Video = new VideoAssetID() { Id = "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", }, Label = "English", Language = "en-US", - Kind = VideoTextTrackKindJson.Subtitles, - Status = VideoTextTrackStatusJson.Started, + Kind = VideoTextTrackKind.Subtitles, + Status = VideoTextTrackStatus.Started, ErrorMessage = "Input file was empty", }, }; diff --git a/packages/csharp/src/Cvent/SDK/Appointments.cs b/packages/csharp/src/Cvent/SDK/Appointments.cs index 2dea14609..b7690e318 100644 --- a/packages/csharp/src/Cvent/SDK/Appointments.cs +++ b/packages/csharp/src/Cvent/SDK/Appointments.cs @@ -212,7 +212,8 @@ public Task ListAppointmentTypesAsync( /// 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, 422 or 429 response. + /// Was not able to process the request. Thrown when the API returns a 422 response. + /// 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 CreateAppointmentAsync( Models.Requests.CreateAppointmentRequest request, @@ -232,7 +233,8 @@ public Task CreateAppointmentAsync( /// 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, 422 or 429 response. + /// Was not able to process the request. Thrown when the API returns a 422 response. + /// 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 UpdateAppointmentAsync( Models.Requests.UpdateAppointmentRequest request, @@ -1879,7 +1881,8 @@ public async Task ListAppointmentTypesAsync( /// 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, 422 or 429 response. + /// Was not able to process the request. Thrown when the API returns a 422 response. + /// 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 CreateAppointmentAsync( Models.Requests.CreateAppointmentRequest request, @@ -2007,7 +2010,27 @@ public async Task CreateAppointmentAsync( throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); } - else if (new List { 400, 401, 403, 404, 422, 429 }.Contains(responseStatusCode)) + else if (responseStatusCode == 422) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse2Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + } + + 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)) { @@ -2052,7 +2075,8 @@ public async Task CreateAppointmentAsync( /// 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, 422 or 429 response. + /// Was not able to process the request. Thrown when the API returns a 422 response. + /// 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 UpdateAppointmentAsync( Models.Requests.UpdateAppointmentRequest request, @@ -2180,7 +2204,27 @@ public async Task UpdateAppointmentAsync( throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); } - else if (new List { 400, 401, 403, 404, 422, 429 }.Contains(responseStatusCode)) + else if (responseStatusCode == 422) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse2Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + } + + 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)) { diff --git a/packages/csharp/src/Cvent/SDK/Attendees.cs b/packages/csharp/src/Cvent/SDK/Attendees.cs index dc985cbee..915c87d7d 100644 --- a/packages/csharp/src/Cvent/SDK/Attendees.cs +++ b/packages/csharp/src/Cvent/SDK/Attendees.cs @@ -1198,14 +1198,14 @@ public async Task GetAttendeeByIdAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Attendee1 obj; + Attendee11 obj; try { - obj = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + obj = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); } catch (Exception ex) { - throw new ResponseValidationException("Failed to deserialize response body into Attendee1.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into Attendee11.", httpRequest, httpResponse, httpResponseBody, ex); } var response = new GetAttendeeByIdResponse() { @@ -1214,7 +1214,7 @@ public async Task GetAttendeeByIdAsync( Request = httpRequest } }; - response.Attendee = obj; + response.Attendee1 = obj; return response; } @@ -1371,14 +1371,14 @@ public async Task UpdateAttendeeAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Attendee1 obj; + Attendee11 obj; try { - obj = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + obj = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); } catch (Exception ex) { - throw new ResponseValidationException("Failed to deserialize response body into Attendee1.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into Attendee11.", httpRequest, httpResponse, httpResponseBody, ex); } var response = new UpdateAttendeeResponse() { @@ -1387,7 +1387,7 @@ public async Task UpdateAttendeeAsync( Request = httpRequest } }; - response.Attendee = obj; + response.Attendee1 = obj; return response; } diff --git a/packages/csharp/src/Cvent/SDK/AudienceSegments.cs b/packages/csharp/src/Cvent/SDK/AudienceSegments.cs index e5088921c..0e84b8b7a 100644 --- a/packages/csharp/src/Cvent/SDK/AudienceSegments.cs +++ b/packages/csharp/src/Cvent/SDK/AudienceSegments.cs @@ -107,7 +107,8 @@ public Task ListAssociatedAudienceSegmen /// The HTTP request failed due to network issues. /// The response body could not be deserialized. /// Bad Request. Thrown when the API returns a 400 response. - /// Bad or expired token. Thrown when the API returns a 401, 403, 422 or 429 response. + /// Was not able to process the request. Thrown when the API returns a 422 response. + /// Bad or expired token. Thrown when the API returns a 401, 403 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public Task CreateAudienceSegmentAsync( AudienceSegmentCreate request, @@ -194,7 +195,8 @@ public Task GetAudienceSegmentByIdAsync( /// 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, 422 or 429 response. + /// Was not able to process the request. Thrown when the API returns a 422 response. + /// 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 UpdateAudienceSegmentAsync( UpdateAudienceSegmentRequest request, @@ -255,7 +257,8 @@ public Task ListSegmentAssociatedAttende /// The HTTP request failed due to network issues. /// The response body could not be deserialized. /// Bad Request. Thrown when the API returns a 400 response. - /// Bad or expired token. Thrown when the API returns a 401, 403, 404, 422 or 429 response. + /// Was not able to process the request. Thrown when the API returns a 422 response. + /// Bad or expired token. Thrown when the API returns a 401, 403, 404 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public Task AssociateAttendeeToSegmentAsync( AssociateAttendeeToSegmentRequest request, @@ -868,7 +871,8 @@ public async Task ListAssociatedAudience /// The HTTP request failed due to network issues. /// The response body could not be deserialized. /// Bad Request. Thrown when the API returns a 400 response. - /// Bad or expired token. Thrown when the API returns a 401, 403, 422 or 429 response. + /// Was not able to process the request. Thrown when the API returns a 422 response. + /// Bad or expired token. Thrown when the API returns a 401, 403 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public async Task CreateAudienceSegmentAsync( AudienceSegmentCreate request, @@ -1016,7 +1020,27 @@ public async Task CreateAudienceSegmentAsync( throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); } - else if (new List { 401, 403, 422, 429 }.Contains(responseStatusCode)) + else if (responseStatusCode == 422) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse2Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (new List { 401, 403, 429 }.Contains(responseStatusCode)) { if (Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -1641,7 +1665,8 @@ public async Task GetAudienceSegmentByIdAsync( /// 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, 422 or 429 response. + /// Was not able to process the request. Thrown when the API returns a 422 response. + /// 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 UpdateAudienceSegmentAsync( UpdateAudienceSegmentRequest request, @@ -1769,7 +1794,27 @@ public async Task UpdateAudienceSegmentAsync( throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); } - else if (new List { 400, 401, 403, 404, 422, 429 }.Contains(responseStatusCode)) + else if (responseStatusCode == 422) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse2Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + } + + 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)) { @@ -2164,7 +2209,8 @@ public async Task ListSegmentAssociatedA /// The HTTP request failed due to network issues. /// The response body could not be deserialized. /// Bad Request. Thrown when the API returns a 400 response. - /// Bad or expired token. Thrown when the API returns a 401, 403, 404, 422 or 429 response. + /// Was not able to process the request. Thrown when the API returns a 422 response. + /// Bad or expired token. Thrown when the API returns a 401, 403, 404 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public async Task AssociateAttendeeToSegmentAsync( AssociateAttendeeToSegmentRequest request, @@ -2288,7 +2334,27 @@ public async Task AssociateAttendeeToSegment throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); } - else if (new List { 401, 403, 404, 422, 429 }.Contains(responseStatusCode)) + else if (responseStatusCode == 422) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse2Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (new List { 401, 403, 404, 429 }.Contains(responseStatusCode)) { if (Utilities.IsContentTypeMatch("application/json", contentType)) { diff --git a/packages/csharp/src/Cvent/SDK/Bulk.cs b/packages/csharp/src/Cvent/SDK/Bulk.cs index b5d873c3f..0dab672dd 100644 --- a/packages/csharp/src/Cvent/SDK/Bulk.cs +++ b/packages/csharp/src/Cvent/SDK/Bulk.cs @@ -61,8 +61,8 @@ public interface IBulk /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Exceeded limit for number of concurrently running bulk jobs. Thrown when the API returns a 409 response. - /// Bad request. Thrown when the API returns a 400, 401, 403 or 429 response. + /// Exceeded limit for number of concurrently running bulk jobs. Thrown when the API returns a 409 response. + /// Bad request. Thrown when the API returns a 400, 401, 403 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public Task CreateBulkJobAsync( BulkJobWithDataInput request, @@ -81,7 +81,7 @@ public Task CreateBulkJobAsync( /// 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. + /// 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 GetBulkJobByIdAsync( GetBulkJobByIdRequest request, @@ -100,7 +100,7 @@ public Task GetBulkJobByIdAsync( /// 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. + /// 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 CancelBulkJobAsync( CancelBulkJobRequest request, @@ -124,8 +124,8 @@ public Task CancelBulkJobAsync( /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Exceeded limit for number of job data records. Thrown when the API returns a 409 response. - /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Exceeded limit for number of job data records. Thrown when the API returns a 409 response. + /// 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 UploadBulkJobDataAsync( UploadBulkJobDataRequest request, @@ -144,7 +144,7 @@ public Task UploadBulkJobDataAsync( /// 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. + /// 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 ListBulkJobResultAsync( ListBulkJobResultRequest request, @@ -165,8 +165,8 @@ public Task ListBulkJobResultAsync( /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Exceeded limit for number of concurrently running bulk jobs. Thrown when the API returns a 409 response. - /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Exceeded limit for number of concurrently running bulk jobs. Thrown when the API returns a 409 response. + /// 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 RunBulkJobAsync(RunBulkJobRequest request, RetryConfig? retryConfig = null); } @@ -219,8 +219,8 @@ public Bulk(SDKConfig config) /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Exceeded limit for number of concurrently running bulk jobs. Thrown when the API returns a 409 response. - /// Bad request. Thrown when the API returns a 400, 401, 403 or 429 response. + /// Exceeded limit for number of concurrently running bulk jobs. Thrown when the API returns a 409 response. + /// Bad request. Thrown when the API returns a 400, 401, 403 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public async Task CreateBulkJobAsync( BulkJobWithDataInput request, @@ -353,17 +353,17 @@ public async Task CreateBulkJobAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponse1Payload payload; + Models.Errors.ErrorResponse2Payload payload; try { - payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); } catch (Exception ex) { - throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse1Payload.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new Models.Errors.ErrorResponse1(payload, httpRequest, httpResponse, httpResponseBody); + throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); } throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); @@ -373,17 +373,17 @@ public async Task CreateBulkJobAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponse2Payload payload; + Models.Errors.ErrorResponse1Payload payload; try { - payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); } catch (Exception ex) { - throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse1Payload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + throw new Models.Errors.ErrorResponse1(payload, httpRequest, httpResponse, httpResponseBody); } throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); @@ -412,7 +412,7 @@ public async Task CreateBulkJobAsync( /// 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. + /// 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 GetBulkJobByIdAsync( GetBulkJobByIdRequest request, @@ -539,17 +539,17 @@ public async Task GetBulkJobByIdAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponse2Payload payload; + Models.Errors.ErrorResponse1Payload payload; try { - payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); } catch (Exception ex) { - throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse1Payload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + throw new Models.Errors.ErrorResponse1(payload, httpRequest, httpResponse, httpResponseBody); } throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); @@ -578,7 +578,7 @@ public async Task GetBulkJobByIdAsync( /// 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. + /// 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 CancelBulkJobAsync( CancelBulkJobRequest request, @@ -705,17 +705,17 @@ public async Task CancelBulkJobAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponse2Payload payload; + Models.Errors.ErrorResponse1Payload payload; try { - payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); } catch (Exception ex) { - throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse1Payload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + throw new Models.Errors.ErrorResponse1(payload, httpRequest, httpResponse, httpResponseBody); } throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); @@ -749,8 +749,8 @@ public async Task CancelBulkJobAsync( /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Exceeded limit for number of job data records. Thrown when the API returns a 409 response. - /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Exceeded limit for number of job data records. Thrown when the API returns a 409 response. + /// 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 UploadBulkJobDataAsync( UploadBulkJobDataRequest request, @@ -883,17 +883,17 @@ public async Task UploadBulkJobDataAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponse1Payload payload; + Models.Errors.ErrorResponse2Payload payload; try { - payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); } catch (Exception ex) { - throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse1Payload.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new Models.Errors.ErrorResponse1(payload, httpRequest, httpResponse, httpResponseBody); + throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); } throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); @@ -903,17 +903,17 @@ public async Task UploadBulkJobDataAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponse2Payload payload; + Models.Errors.ErrorResponse1Payload payload; try { - payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); } catch (Exception ex) { - throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse1Payload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + throw new Models.Errors.ErrorResponse1(payload, httpRequest, httpResponse, httpResponseBody); } throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); @@ -942,7 +942,7 @@ public async Task UploadBulkJobDataAsync( /// 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. + /// 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 ListBulkJobResultAsync( ListBulkJobResultRequest request, @@ -1101,17 +1101,17 @@ public async Task ListBulkJobResultAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponse2Payload payload; + Models.Errors.ErrorResponse1Payload payload; try { - payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); } catch (Exception ex) { - throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse1Payload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + throw new Models.Errors.ErrorResponse1(payload, httpRequest, httpResponse, httpResponseBody); } throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); @@ -1142,8 +1142,8 @@ public async Task ListBulkJobResultAsync( /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Exceeded limit for number of concurrently running bulk jobs. Thrown when the API returns a 409 response. - /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Exceeded limit for number of concurrently running bulk jobs. Thrown when the API returns a 409 response. + /// 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 RunBulkJobAsync( RunBulkJobRequest request, @@ -1270,17 +1270,17 @@ public async Task RunBulkJobAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponse1Payload payload; + Models.Errors.ErrorResponse2Payload payload; try { - payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); } catch (Exception ex) { - throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse1Payload.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new Models.Errors.ErrorResponse1(payload, httpRequest, httpResponse, httpResponseBody); + throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); } throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); @@ -1290,17 +1290,17 @@ public async Task RunBulkJobAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - Models.Errors.ErrorResponse2Payload payload; + Models.Errors.ErrorResponse1Payload payload; try { - payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); } catch (Exception ex) { - throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse1Payload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + throw new Models.Errors.ErrorResponse1(payload, httpRequest, httpResponse, httpResponseBody); } throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); diff --git a/packages/csharp/src/Cvent/SDK/Contacts.cs b/packages/csharp/src/Cvent/SDK/Contacts.cs index 6f8619772..4cbfce0ee 100644 --- a/packages/csharp/src/Cvent/SDK/Contacts.cs +++ b/packages/csharp/src/Cvent/SDK/Contacts.cs @@ -2497,14 +2497,14 @@ public async Task UpdateContactsAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - List obj; + List obj; try { - obj = ResponseBodyDeserializer.DeserializeNotNull>(httpResponseBody, NullValueHandling.Ignore); + obj = ResponseBodyDeserializer.DeserializeNotNull>(httpResponseBody, NullValueHandling.Ignore); } catch (Exception ex) { - throw new ResponseValidationException("Failed to deserialize response body into List.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into List.", httpRequest, httpResponse, httpResponseBody, ex); } var response = new UpdateContactsResponse() { @@ -2676,14 +2676,14 @@ public async Task PatchContactsAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - List obj; + List obj; try { - obj = ResponseBodyDeserializer.DeserializeNotNull>(httpResponseBody, NullValueHandling.Ignore); + obj = ResponseBodyDeserializer.DeserializeNotNull>(httpResponseBody, NullValueHandling.Ignore); } catch (Exception ex) { - throw new ResponseValidationException("Failed to deserialize response body into List.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into List.", httpRequest, httpResponse, httpResponseBody, ex); } var response = new PatchContactsResponse() { @@ -2850,14 +2850,14 @@ public async Task CreateContactsAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - List obj; + List obj; try { - obj = ResponseBodyDeserializer.DeserializeNotNull>(httpResponseBody, NullValueHandling.Ignore); + obj = ResponseBodyDeserializer.DeserializeNotNull>(httpResponseBody, NullValueHandling.Ignore); } catch (Exception ex) { - throw new ResponseValidationException("Failed to deserialize response body into List.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into List.", httpRequest, httpResponse, httpResponseBody, ex); } var response = new CreateContactsResponse() { diff --git a/packages/csharp/src/Cvent/SDK/Cvent.SDK.csproj b/packages/csharp/src/Cvent/SDK/Cvent.SDK.csproj index be85551fc..1e6df09f3 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.4.0 + 1.5.0 net8.0 Cvent Copyright (c) Cvent 2026 diff --git a/packages/csharp/src/Cvent/SDK/Events.cs b/packages/csharp/src/Cvent/SDK/Events.cs index 309a59f28..494f3c4f5 100644 --- a/packages/csharp/src/Cvent/SDK/Events.cs +++ b/packages/csharp/src/Cvent/SDK/Events.cs @@ -800,6 +800,63 @@ public Task DisassociateEventUserGroupAsync( RetryConfig? retryConfig = null ); + /// + /// List Event Vouchers. + /// + /// + /// Retrieves a paginated list of vouchers set up for a specific event. + /// + /// 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 ListEventVouchersAsync( + ListEventVouchersRequest request, + RetryConfig? retryConfig = null + ); + + /// + /// List Event Vouchers (Filter). + /// + /// + /// Retrieves a paginated list of vouchers configured for an event using a filter provided in the body of the request. + /// + /// 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 ListEventVouchersPostFilterAsync( + ListEventVouchersPostFilterRequest request, + RetryConfig? retryConfig = null + ); + + /// + /// List Voucher Attendees. + /// + /// + /// Retrieves a paginated list of attendees who have redeemed a specific voucher for the given event. + /// + /// 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 ListEventVoucherAttendeesAsync( + ListEventVoucherAttendeesRequest request, + RetryConfig? retryConfig = null + ); + /// /// Update Quantity Item. /// @@ -8435,6 +8492,608 @@ public async Task DisassociateEventUserGroup throw new Models.Errors.APIException("Unknown status code received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); } + /// + /// List Event Vouchers. + /// + /// + /// Retrieves a paginated list of vouchers set up for a specific event. + /// + /// 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 ListEventVouchersAsync( + ListEventVouchersRequest request, + RetryConfig? retryConfig = null + ) + { + if (request == null) throw new ArgumentNullException(nameof(request)); + + string baseUrl = this.SDKConfiguration.GetTemplatedServerUrl(); + var urlString = URLBuilder.Build(baseUrl, "/events/{id}/vouchers", 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, "listEventVouchers", new List { "event/vouchers: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 ListEventVouchersRequest { + Id = request.Id, + Limit = request.Limit, + Token = nextCursor, + Before = request.Before, + After = request.After, + Sort = request.Sort, + Filter = request.Filter + }; + + return await ListEventVouchersAsync( + 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(); + VouchersPaginatedResponse obj; + try + { + obj = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into VouchersPaginatedResponse.", httpRequest, httpResponse, httpResponseBody, ex); + } + + var response = new ListEventVouchersResponse() { + HttpMeta = new Models.Components.HTTPMetadata() { + Response = httpResponse, + Request = httpRequest + }, + Next = nextFunc + }; + response.VouchersPaginatedResponse = 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.ErrorResponse1Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse1Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse1(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 Event Vouchers (Filter). + /// + /// + /// Retrieves a paginated list of vouchers configured for an event using a filter provided in the body of the request. + /// + /// 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 ListEventVouchersPostFilterAsync( + ListEventVouchersPostFilterRequest request, + RetryConfig? retryConfig = null + ) + { + if (request == null) throw new ArgumentNullException(nameof(request)); + + string baseUrl = this.SDKConfiguration.GetTemplatedServerUrl(); + var urlString = URLBuilder.Build(baseUrl, "/events/{id}/vouchers/filter", 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, "Filter", "json", false, true); + if (serializedBody != null) + { + httpRequest.Content = serializedBody; + } + + if (SDKConfiguration.SecuritySource != null) + { + httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); + } + + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "listEventVouchersPostFilter", new List { "event/vouchers: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 ListEventVouchersPostFilterRequest { + Id = request.Id, + Limit = request.Limit, + Token = nextCursor, + Before = request.Before, + After = request.After, + Sort = request.Sort, + Filter = new Filter { + FilterValue = request.Filter?.FilterValue + } + }; + + return await ListEventVouchersPostFilterAsync( + 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(); + VouchersPaginatedResponse obj; + try + { + obj = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into VouchersPaginatedResponse.", httpRequest, httpResponse, httpResponseBody, ex); + } + + var response = new ListEventVouchersPostFilterResponse() { + HttpMeta = new Models.Components.HTTPMetadata() { + Response = httpResponse, + Request = httpRequest + }, + Next = nextFunc + }; + response.VouchersPaginatedResponse = 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.ErrorResponse1Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse1Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse1(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 Voucher Attendees. + /// + /// + /// Retrieves a paginated list of attendees who have redeemed a specific voucher for the given event. + /// + /// 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 ListEventVoucherAttendeesAsync( + ListEventVoucherAttendeesRequest request, + RetryConfig? retryConfig = null + ) + { + if (request == null) throw new ArgumentNullException(nameof(request)); + + string baseUrl = this.SDKConfiguration.GetTemplatedServerUrl(); + var urlString = URLBuilder.Build(baseUrl, "/events/{id}/vouchers/{voucherId}/attendees", 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, "listEventVoucherAttendees", new List { "event/vouchers: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 ListEventVoucherAttendeesRequest { + Id = request.Id, + VoucherId = request.VoucherId, + Limit = request.Limit, + Token = nextCursor + }; + + return await ListEventVoucherAttendeesAsync( + 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(); + AttendeesPaginatedResponse obj; + try + { + obj = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into AttendeesPaginatedResponse.", httpRequest, httpResponse, httpResponseBody, ex); + } + + var response = new ListEventVoucherAttendeesResponse() { + HttpMeta = new Models.Components.HTTPMetadata() { + Response = httpResponse, + Request = httpRequest + }, + Next = nextFunc + }; + response.AttendeesPaginatedResponse = 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.ErrorResponse1Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse1Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse1(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 Quantity Item. /// diff --git a/packages/csharp/src/Cvent/SDK/Exhibitor.cs b/packages/csharp/src/Cvent/SDK/Exhibitor.cs index c14b6dbef..55b75ee50 100644 --- a/packages/csharp/src/Cvent/SDK/Exhibitor.cs +++ b/packages/csharp/src/Cvent/SDK/Exhibitor.cs @@ -518,7 +518,8 @@ public Task GetLeadQualificationQuestions /// 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, 409 or 429 response. + /// Registration pack for given exhibitor already exists. Thrown when the API returns a 409 response. + /// 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 PostRegistrationPackAsync( PostRegistrationPackRequest request, @@ -599,7 +600,8 @@ public Task UpdateRegistrationPackAsync( /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Bad or expired token. Thrown when the API returns a 401, 403, 404, 409 or 429 response. + /// RegPack cannot be deleted when at least one or more booth staff are already assigned. Thrown when the API returns a 409 response. + /// Bad or expired token. Thrown when the API returns a 401, 403, 404 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public Task DeleteRegistrationPackAsync( DeleteRegistrationPackRequest request, @@ -4558,7 +4560,8 @@ public async Task GetLeadQualificationQue /// 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, 409 or 429 response. + /// Registration pack for given exhibitor already exists. Thrown when the API returns a 409 response. + /// 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 PostRegistrationPackAsync( PostRegistrationPackRequest request, @@ -4686,7 +4689,27 @@ public async Task PostRegistrationPackAsync( throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); } - else if (new List { 400, 401, 403, 404, 409, 429 }.Contains(responseStatusCode)) + else if (responseStatusCode == 409) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse2Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + } + + 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)) { @@ -5239,7 +5262,8 @@ public async Task UpdateRegistrationPackAsync( /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Bad or expired token. Thrown when the API returns a 401, 403, 404, 409 or 429 response. + /// RegPack cannot be deleted when at least one or more booth staff are already assigned. Thrown when the API returns a 409 response. + /// Bad or expired token. Thrown when the API returns a 401, 403, 404 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public async Task DeleteRegistrationPackAsync( DeleteRegistrationPackRequest request, @@ -5343,7 +5367,27 @@ public async Task DeleteRegistrationPackAsync( } }; } - else if (new List { 401, 403, 404, 409, 429 }.Contains(responseStatusCode)) + else if (responseStatusCode == 409) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse2Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (new List { 401, 403, 404, 429 }.Contains(responseStatusCode)) { if (Utilities.IsContentTypeMatch("application/json", contentType)) { diff --git a/packages/csharp/src/Cvent/SDK/ExhibitorContent.cs b/packages/csharp/src/Cvent/SDK/ExhibitorContent.cs index c128a7cf2..6492f5893 100644 --- a/packages/csharp/src/Cvent/SDK/ExhibitorContent.cs +++ b/packages/csharp/src/Cvent/SDK/ExhibitorContent.cs @@ -80,7 +80,8 @@ public Task GetExhibitorFileAsync( /// 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, 422 or 429 response. + /// Was not able to process the request. Thrown when the API returns a 422 response. + /// 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 UpdateExhibitorFileAsync( UpdateExhibitorFileRequest request, @@ -140,7 +141,8 @@ public Task ListExhibitorWeblinksAsync( /// 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, 422 or 429 response. + /// Was not able to process the request. Thrown when the API returns a 422 response. + /// 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 CreateExhibitorWeblinkAsync( CreateExhibitorWeblinkRequest request, @@ -180,7 +182,8 @@ public Task GetExhibitorWeblinkAsync( /// 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, 422 or 429 response. + /// Was not able to process the request. Thrown when the API returns a 422 response. + /// 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 UpdateExhibitorWeblinkAsync( UpdateExhibitorWeblinkRequest request, @@ -571,7 +574,8 @@ public async Task GetExhibitorFileAsync( /// 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, 422 or 429 response. + /// Was not able to process the request. Thrown when the API returns a 422 response. + /// 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 UpdateExhibitorFileAsync( UpdateExhibitorFileRequest request, @@ -699,7 +703,27 @@ public async Task UpdateExhibitorFileAsync( throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); } - else if (new List { 400, 401, 403, 404, 422, 429 }.Contains(responseStatusCode)) + else if (responseStatusCode == 422) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse2Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + } + + 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)) { @@ -1060,7 +1084,8 @@ public async Task ListExhibitorWeblinksAsync( /// 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, 422 or 429 response. + /// Was not able to process the request. Thrown when the API returns a 422 response. + /// 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 CreateExhibitorWeblinkAsync( CreateExhibitorWeblinkRequest request, @@ -1188,7 +1213,27 @@ public async Task CreateExhibitorWeblinkAsync( throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); } - else if (new List { 400, 401, 403, 404, 422, 429 }.Contains(responseStatusCode)) + else if (responseStatusCode == 422) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse2Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + } + + 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)) { @@ -1400,7 +1445,8 @@ public async Task GetExhibitorWeblinkAsync( /// 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, 422 or 429 response. + /// Was not able to process the request. Thrown when the API returns a 422 response. + /// 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 UpdateExhibitorWeblinkAsync( UpdateExhibitorWeblinkRequest request, @@ -1528,7 +1574,27 @@ public async Task UpdateExhibitorWeblinkAsync( throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); } - else if (new List { 400, 401, 403, 404, 422, 429 }.Contains(responseStatusCode)) + else if (responseStatusCode == 422) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse2Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + } + + 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)) { diff --git a/packages/csharp/src/Cvent/SDK/Hooks/OAuth2Scopes.cs b/packages/csharp/src/Cvent/SDK/Hooks/OAuth2Scopes.cs index 395fe8ba9..af6ccc4c6 100644 --- a/packages/csharp/src/Cvent/SDK/Hooks/OAuth2Scopes.cs +++ b/packages/csharp/src/Cvent/SDK/Hooks/OAuth2Scopes.cs @@ -190,6 +190,16 @@ public enum OAuth2AuthorizationCodeOAuth2Scope /// [JsonProperty("budget/transactions:write")] BudgetTransactionsWrite, + /// + /// Allows the reading of BT Bid data. + /// + [JsonProperty("business-transient/bids:read")] BusinessTransientBidsRead, + + /// + /// Allows the reading of BT Proposal data. + /// + [JsonProperty("business-transient/proposals:read")] BusinessTransientProposalsRead, + /// /// Allows the reading of communication compliance. /// @@ -645,6 +655,11 @@ public enum OAuth2AuthorizationCodeOAuth2Scope /// [JsonProperty("event/videos:write")] EventVideosWrite, + /// + /// Allows reading of event vouchers and their associated attendees. + /// + [JsonProperty("event/vouchers:read")] EventVouchersRead, + /// /// Allows the deletion of webcast. /// @@ -1267,6 +1282,21 @@ public enum OAuth2ClientCredentialsOAuth2Scope /// [JsonProperty("business-transient/travel-supplier-accounts:read")] BusinessTransientTravelSupplierAccountsRead, + /// + /// Allows the reading of business travel account data. + /// + [JsonProperty("business-travel/travel-accounts:read")] BusinessTravelTravelAccountsRead, + + /// + /// Allows the reading of business travel program question data. + /// + [JsonProperty("business-travel/travel-program-questions:read")] BusinessTravelTravelProgramQuestionsRead, + + /// + /// Allows the reading of business travel program data. + /// + [JsonProperty("business-travel/travel-programs:read")] BusinessTravelTravelProgramsRead, + /// /// Allows the reading of communication compliance. /// @@ -1722,6 +1752,11 @@ public enum OAuth2ClientCredentialsOAuth2Scope /// [JsonProperty("event/videos:write")] EventVideosWrite, + /// + /// Allows reading of event vouchers. + /// + [JsonProperty("event/vouchers:read")] EventVouchersRead, + /// /// Allows the deletion of webcast. /// diff --git a/packages/csharp/src/Cvent/SDK/Housing.cs b/packages/csharp/src/Cvent/SDK/Housing.cs index ae9bd4e1f..7e8e2c758 100644 --- a/packages/csharp/src/Cvent/SDK/Housing.cs +++ b/packages/csharp/src/Cvent/SDK/Housing.cs @@ -298,7 +298,8 @@ public Task GetReservationRequestAsync( /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Reservation request was cancelled and cannot be modified. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Reservation request was cancelled and cannot be modified. Thrown when the API returns a 400 response. + /// Bad or expired token. Thrown when the API returns a 401, 403, 404 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public Task UpdateReservationRequestAsync( UpdateReservationRequestRequest request, @@ -317,7 +318,8 @@ public Task UpdateReservationRequestAsync( /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Reservation already exists for given reservation request, so we cannot cancel it. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Reservation already exists for given reservation request, so we cannot cancel it. Thrown when the API returns a 400 response. + /// Bad or expired token. Thrown when the API returns a 401, 403, 404 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public Task CancelReservationRequestAsync( CancelReservationRequestRequest request, @@ -2642,7 +2644,8 @@ public async Task GetReservationRequestAsync( /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Reservation request was cancelled and cannot be modified. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Reservation request was cancelled and cannot be modified. Thrown when the API returns a 400 response. + /// Bad or expired token. Thrown when the API returns a 401, 403, 404 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public async Task UpdateReservationRequestAsync( UpdateReservationRequestRequest request, @@ -2770,7 +2773,27 @@ public async Task UpdateReservationRequestAsyn 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)) + else if (responseStatusCode == 400) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse2Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (new List { 401, 403, 404, 429 }.Contains(responseStatusCode)) { if (Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -2814,7 +2837,8 @@ public async Task UpdateReservationRequestAsyn /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Reservation already exists for given reservation request, so we cannot cancel it. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Reservation already exists for given reservation request, so we cannot cancel it. Thrown when the API returns a 400 response. + /// Bad or expired token. Thrown when the API returns a 401, 403, 404 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public async Task CancelReservationRequestAsync( CancelReservationRequestRequest request, @@ -2918,7 +2942,27 @@ public async Task CancelReservationRequestAsyn } }; } - else if (new List { 400, 401, 403, 404, 429 }.Contains(responseStatusCode)) + else if (responseStatusCode == 400) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse2Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (new List { 401, 403, 404, 429 }.Contains(responseStatusCode)) { if (Utilities.IsContentTypeMatch("application/json", contentType)) { diff --git a/packages/csharp/src/Cvent/SDK/MeetingRequest.cs b/packages/csharp/src/Cvent/SDK/MeetingRequest.cs index 04cbb2aba..0d679707f 100644 --- a/packages/csharp/src/Cvent/SDK/MeetingRequest.cs +++ b/packages/csharp/src/Cvent/SDK/MeetingRequest.cs @@ -78,7 +78,8 @@ public Task GetMeetingRequestByEventIdAsync( /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Bad or expired token. Thrown when the API returns a 401, 403, 404, 422 or 429 response. + /// Was not able to process the request. Thrown when the API returns a 422 response. + /// Bad or expired token. Thrown when the API returns a 401, 403, 404 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public Task GetMRFByIdAsync(GetMRFByIdRequest request, RetryConfig? retryConfig = null); @@ -572,7 +573,8 @@ public async Task ListMRFAsync(ListMRFRequest? request = null, /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Bad or expired token. Thrown when the API returns a 401, 403, 404, 422 or 429 response. + /// Was not able to process the request. Thrown when the API returns a 422 response. + /// Bad or expired token. Thrown when the API returns a 401, 403, 404 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public async Task GetMRFByIdAsync( GetMRFByIdRequest request, @@ -694,7 +696,27 @@ public async Task GetMRFByIdAsync( throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); } - else if (new List { 401, 403, 404, 422, 429 }.Contains(responseStatusCode)) + else if (responseStatusCode == 422) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse2Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (new List { 401, 403, 404, 429 }.Contains(responseStatusCode)) { if (Utilities.IsContentTypeMatch("application/json", contentType)) { diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AccountBudgetItemListResponseJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AccountBudgetItemListResponseJson.cs index 52b58ecb8..c07ec3bef 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AccountBudgetItemListResponseJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AccountBudgetItemListResponseJson.cs @@ -47,13 +47,13 @@ public class AccountBudgetItemListResponseJson /// Event ID Information. /// [JsonProperty("event")] - public EventJson2? Event { get; set; } + public EventJson1? Event { get; set; } /// /// RFP ID Information. /// [JsonProperty("rfp")] - public RfpIdJson1? Rfp { get; set; } + public RfpIdJson? Rfp { get; set; } /// /// Budget Version ID Information. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Action.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Action.cs new file mode 100644 index 000000000..21487e76c --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Action.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.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Action to take for a compliance request. + /// + public enum Action + { + [JsonProperty("DO_NOT_SELL")] DoNotSell, + [JsonProperty("OK_TO_SELL")] OkToSell, + } + + public static class ActionExtension + { + public static string Value(this Action value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static Action ToEnum(this string value) + { + foreach (var field in typeof(Action).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 Action) + { + return (Action)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum Action"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AdditionalChoice.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AdditionalChoice.cs index 7643881f1..dbcf80f5b 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AdditionalChoice.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AdditionalChoice.cs @@ -13,14 +13,20 @@ namespace Cvent.SDK.Models.Components using Newtonsoft.Json; /// - /// Contains text of additional choice. + /// Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. /// public class AdditionalChoice { /// - /// Text Value of additional choice. + /// Display text of additional choice. /// [JsonProperty("text")] public string? Text { get; set; } + + /// + /// Name of additional choice text in reporting. + /// + [JsonProperty("shortText")] + public string? ShortText { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AdditionalChoice1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AdditionalChoice1.cs new file mode 100644 index 000000000..854b624dd --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AdditionalChoice1.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Contains text of additional choice. + /// + public class AdditionalChoice1 + { + /// + /// Text Value of additional choice. + /// + [JsonProperty("text")] + public string? Text { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AdditionalChoiceJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AdditionalChoiceJson.cs new file mode 100644 index 000000000..46ad3145a --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AdditionalChoiceJson.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Contains text of additional choice i.e N/A choice or otherAnswer choice. + /// + public class AdditionalChoiceJson + { + /// + /// Text Value of additional choice. + /// + [JsonProperty("text")] + public string? Text { get; set; } + + /// + /// Reporting value of additional choice text. + /// + [JsonProperty("shortText")] + public string? ShortText { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AdditionalChoiceJson1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AdditionalChoiceJson1.cs deleted file mode 100644 index 2c2d1420a..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AdditionalChoiceJson1.cs +++ /dev/null @@ -1,32 +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.Utils; - using Newtonsoft.Json; - - /// - /// Contains text of additional choice i.e N/A choice or otherAnswer choice. - /// - public class AdditionalChoiceJson1 - { - /// - /// Text Value of additional choice. - /// - [JsonProperty("text")] - public string? Text { get; set; } - - /// - /// Reporting value of additional choice text. - /// - [JsonProperty("shortText")] - public string? ShortText { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AdditionalChoiceJson2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AdditionalChoiceJson2.cs deleted file mode 100644 index 636dbdac4..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AdditionalChoiceJson2.cs +++ /dev/null @@ -1,32 +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.Utils; - using Newtonsoft.Json; - - /// - /// Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. - /// - public class AdditionalChoiceJson2 - { - /// - /// Display text of additional choice. - /// - [JsonProperty("text")] - public string? Text { get; set; } - - /// - /// Name of additional choice text in reporting. - /// - [JsonProperty("shortText")] - public string? ShortText { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Address.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Address.cs new file mode 100644 index 000000000..38c8077eb --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Address.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Contact address details. + /// + public class Address + { + /// + /// The first line of an address. + /// + [JsonProperty("address1")] + public string? Address1 { get; set; } + + /// + /// The second line of an address. + /// + [JsonProperty("address2")] + public string? Address2 { get; set; } + + /// + /// The third line of an address. + /// + [JsonProperty("address3")] + public string? Address3 { get; set; } + + /// + /// The name of the city. + /// + [JsonProperty("city")] + public string? City { get; set; } + + /// + /// ISO 3166 two-letter (alpha-2) country code. + /// + [JsonProperty("countryCode")] + public string? CountryCode { get; set; } + + /// + /// Postal code (also known as zipcode) of the address. + /// + [JsonProperty("postalCode")] + public string? PostalCode { get; set; } + + /// + /// The name of the state/province/region of the address. + /// + [JsonProperty("region")] + public string? Region { get; set; } + + /// + /// The abbreviation of the state/province/region of the address. + /// + [JsonProperty("regionCode")] + public string? RegionCode { get; set; } + + /// + /// Name of the country of the address. + /// + [JsonProperty("country")] + public string? Country { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Address1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Address1.cs new file mode 100644 index 000000000..db05b8e2c --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Address1.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; + + /// + /// Address details. + /// + public class Address1 + { + /// + /// ISO 3166 code for the country. + /// + [JsonProperty("countryCode")] + public string CountryCode { get; set; } = default!; + + /// + /// The name of the city. + /// + [JsonProperty("city")] + public string City { get; set; } = default!; + + /// + /// ISO 3166-2 code for the state/province/region. + /// + [JsonProperty("regionCode")] + public string? RegionCode { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Address11.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Address11.cs index 0305e6e52..893a3e1d3 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Address11.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Address11.cs @@ -13,7 +13,7 @@ namespace Cvent.SDK.Models.Components using Newtonsoft.Json; /// - /// Address details. + /// Schema for address information. /// public class Address11 { @@ -29,30 +29,12 @@ public class Address11 [JsonProperty("address2")] public string? Address2 { get; set; } - /// - /// The third line of an address. - /// - [JsonProperty("address3")] - public string? Address3 { get; set; } - /// /// The name of the city. /// [JsonProperty("city")] public string? City { get; set; } - /// - /// ISO 3166 two-letter (alpha-2) country code. - /// - [JsonProperty("countryCode")] - public string? CountryCode { get; set; } - - /// - /// Postal code (also known as zipcode) of the address. - /// - [JsonProperty("postalCode")] - public string? PostalCode { get; set; } - /// /// The name of the state/province/region of the address. /// @@ -66,21 +48,21 @@ public class Address11 public string? RegionCode { get; set; } /// - /// Name of the country of the address. + /// postal code (also known as zipcode) of the address. /// - [JsonProperty("country")] - public string? Country { get; set; } + [JsonProperty("postalCode")] + public string? PostalCode { get; set; } /// - /// The geo latitude of the address. + /// Name of the country for example, 'United States' /// - [JsonProperty("latitude")] - public long? Latitude { get; set; } + [JsonProperty("country")] + public string? Country { get; set; } /// - /// The geo longitude of the address. + /// ISO 3166 two-letter (alpha-2) country code. /// - [JsonProperty("longitude")] - public long? Longitude { get; set; } + [JsonProperty("countryCode")] + public string? CountryCode { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Address12.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Address12.cs deleted file mode 100644 index a1dbddc1d..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Address12.cs +++ /dev/null @@ -1,68 +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.Utils; - using Newtonsoft.Json; - - /// - /// Schema for address information. - /// - public class Address12 - { - /// - /// The first line of an address. - /// - [JsonProperty("address1")] - public string? Address1 { get; set; } - - /// - /// The second line of an address. - /// - [JsonProperty("address2")] - public string? Address2 { get; set; } - - /// - /// The name of the city. - /// - [JsonProperty("city")] - public string? City { get; set; } - - /// - /// The name of the state/province/region of the address. - /// - [JsonProperty("region")] - public string? Region { get; set; } - - /// - /// The abbreviation of the state/province/region of the address. - /// - [JsonProperty("regionCode")] - public string? RegionCode { get; set; } - - /// - /// postal code (also known as zipcode) of the address. - /// - [JsonProperty("postalCode")] - public string? PostalCode { get; set; } - - /// - /// Name of the country for example, 'United States' - /// - [JsonProperty("country")] - public string? Country { get; set; } - - /// - /// ISO 3166 two-letter (alpha-2) country code. - /// - [JsonProperty("countryCode")] - public string? CountryCode { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Address2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Address2.cs deleted file mode 100644 index d4ee6144b..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Address2.cs +++ /dev/null @@ -1,56 +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.Utils; - using Newtonsoft.Json; - - /// - /// An object representing an address with various properties. - /// - public class Address2 - { - /// - /// The first line of an address. - /// - [JsonProperty("address1")] - public string? Address1 { get; set; } - - /// - /// The second line of an address. - /// - [JsonProperty("address2")] - public string? Address2Value { get; set; } - - /// - /// The name of the city. - /// - [JsonProperty("city")] - public string? City { get; set; } - - /// - /// The name of the state/province/region of the address. - /// - [JsonProperty("region")] - public string? Region { get; set; } - - /// - /// postal code (also known as zipcode) of the address. - /// - [JsonProperty("postalCode")] - public string? PostalCode { get; set; } - - /// - /// Name of the country for example, 'United States' - /// - [JsonProperty("country")] - public string? Country { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Address3.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Address3.cs index d156aa282..b3c609579 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Address3.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Address3.cs @@ -13,7 +13,7 @@ namespace Cvent.SDK.Models.Components using Newtonsoft.Json; /// - /// Address of the hotel. + /// Address details. /// public class Address3 { @@ -66,9 +66,21 @@ public class Address3 public string? RegionCode { get; set; } /// - /// Name of the country. + /// Name of the country of the address. /// [JsonProperty("country")] public string? Country { get; set; } + + /// + /// The geo latitude of the address. + /// + [JsonProperty("latitude")] + public long? Latitude { get; set; } + + /// + /// The geo longitude of the address. + /// + [JsonProperty("longitude")] + public long? Longitude { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Address4.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Address4.cs new file mode 100644 index 000000000..eeb8b9843 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Address4.cs @@ -0,0 +1,56 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// An object representing an address with various properties. + /// + public class Address4 + { + /// + /// The first line of an address. + /// + [JsonProperty("address1")] + public string? Address1 { get; set; } + + /// + /// The second line of an address. + /// + [JsonProperty("address2")] + public string? Address2 { get; set; } + + /// + /// The name of the city. + /// + [JsonProperty("city")] + public string? City { get; set; } + + /// + /// The name of the state/province/region of the address. + /// + [JsonProperty("region")] + public string? Region { get; set; } + + /// + /// postal code (also known as zipcode) of the address. + /// + [JsonProperty("postalCode")] + public string? PostalCode { get; set; } + + /// + /// Name of the country for example, 'United States' + /// + [JsonProperty("country")] + public string? Country { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Address5.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Address5.cs new file mode 100644 index 000000000..3e810b2a7 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Address5.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Address of the hotel. + /// + public class Address5 + { + /// + /// The first line of an address. + /// + [JsonProperty("address1")] + public string? Address1 { get; set; } + + /// + /// The second line of an address. + /// + [JsonProperty("address2")] + public string? Address2 { get; set; } + + /// + /// The third line of an address. + /// + [JsonProperty("address3")] + public string? Address3 { get; set; } + + /// + /// The name of the city. + /// + [JsonProperty("city")] + public string? City { get; set; } + + /// + /// ISO 3166 two-letter (alpha-2) country code. + /// + [JsonProperty("countryCode")] + public string? CountryCode { get; set; } + + /// + /// Postal code (also known as zipcode) of the address. + /// + [JsonProperty("postalCode")] + public string? PostalCode { get; set; } + + /// + /// The name of the state/province/region of the address. + /// + [JsonProperty("region")] + public string? Region { get; set; } + + /// + /// The abbreviation of the state/province/region of the address. + /// + [JsonProperty("regionCode")] + public string? RegionCode { get; set; } + + /// + /// Name of the country. + /// + [JsonProperty("country")] + public string? Country { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Address6.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Address6.cs new file mode 100644 index 000000000..f469b097f --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Address6.cs @@ -0,0 +1,68 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Address details. + /// + public class Address6 + { + /// + /// Address line 1. + /// + [JsonProperty("address1")] + public string? Address1 { get; set; } + + /// + /// Address line 2. + /// + [JsonProperty("address2")] + public string? Address2 { get; set; } + + /// + /// City name. + /// + [JsonProperty("city")] + public string? City { get; set; } + + /// + /// Region name. + /// + [JsonProperty("region")] + public string? Region { get; set; } + + /// + /// Region code. + /// + [JsonProperty("regionCode")] + public string? RegionCode { get; set; } + + /// + /// Postal code. + /// + [JsonProperty("postalCode")] + public string? PostalCode { get; set; } + + /// + /// Country name. + /// + [JsonProperty("country")] + public string? Country { get; set; } + + /// + /// ISO 3166 alpha-2 country code. + /// + [JsonProperty("countryCode")] + public string? CountryCode { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AddressInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AddressInput.cs new file mode 100644 index 000000000..4efe2d449 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AddressInput.cs @@ -0,0 +1,62 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Contact address details. + /// + public class AddressInput + { + /// + /// The first line of an address. + /// + [JsonProperty("address1")] + public string? Address1 { get; set; } + + /// + /// The second line of an address. + /// + [JsonProperty("address2")] + public string? Address2 { get; set; } + + /// + /// The third line of an address. + /// + [JsonProperty("address3")] + public string? Address3 { get; set; } + + /// + /// The name of the city. + /// + [JsonProperty("city")] + public string? City { get; set; } + + /// + /// ISO 3166 two-letter (alpha-2) country code. + /// + [JsonProperty("countryCode")] + public string? CountryCode { get; set; } + + /// + /// Postal code (also known as zipcode) of the address. + /// + [JsonProperty("postalCode")] + public string? PostalCode { get; set; } + + /// + /// The abbreviation of the state/province/region of the address. + /// + [JsonProperty("regionCode")] + public string? RegionCode { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AddressJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AddressJson.cs index 22a402683..f66d3cab2 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AddressJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AddressJson.cs @@ -13,62 +13,56 @@ namespace Cvent.SDK.Models.Components using Newtonsoft.Json; /// - /// Contact address details. + /// Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. /// public class AddressJson { /// - /// The first line of an address. + /// Address line 1. /// [JsonProperty("address1")] public string? Address1 { get; set; } /// - /// The second line of an address. + /// Address line 2. /// [JsonProperty("address2")] public string? Address2 { get; set; } /// - /// The third line of an address. - /// - [JsonProperty("address3")] - public string? Address3 { get; set; } - - /// - /// The name of the city. + /// City name. /// [JsonProperty("city")] public string? City { get; set; } /// - /// ISO 3166 two-letter (alpha-2) country code. - /// - [JsonProperty("countryCode")] - public string? CountryCode { get; set; } - - /// - /// Postal code (also known as zipcode) of the address. - /// - [JsonProperty("postalCode")] - public string? PostalCode { get; set; } - - /// - /// The name of the state/province/region of the address. + /// Region name. /// [JsonProperty("region")] public string? Region { get; set; } /// - /// The abbreviation of the state/province/region of the address. + /// Region code. /// [JsonProperty("regionCode")] public string? RegionCode { get; set; } /// - /// Name of the country of the address. + /// Postal code. + /// + [JsonProperty("postalCode")] + public string? PostalCode { get; set; } + + /// + /// Country name. /// [JsonProperty("country")] public string? Country { get; set; } + + /// + /// ISO 3166 alpha-2 country code. + /// + [JsonProperty("countryCode")] + public string? CountryCode { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AddressJson0.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AddressJson0.cs deleted file mode 100644 index ed33ad787..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AddressJson0.cs +++ /dev/null @@ -1,38 +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.Utils; - using Newtonsoft.Json; - - /// - /// Address details. - /// - public class AddressJson0 - { - /// - /// ISO 3166 code for the country. - /// - [JsonProperty("countryCode")] - public string CountryCode { get; set; } = default!; - - /// - /// The name of the city. - /// - [JsonProperty("city")] - public string City { get; set; } = default!; - - /// - /// ISO 3166-2 code for the state/province/region. - /// - [JsonProperty("regionCode")] - public string? RegionCode { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AddressJson1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AddressJson1.cs new file mode 100644 index 000000000..d8b0fdf23 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AddressJson1.cs @@ -0,0 +1,68 @@ +//------------------------------------------------------------------------------ +// +// 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 physical address. + /// + public class AddressJson1 + { + /// + /// Address line 1. + /// + [JsonProperty("address1")] + public string? Address1 { get; set; } + + /// + /// Address line 2. + /// + [JsonProperty("address2")] + public string? Address2 { get; set; } + + /// + /// City name. + /// + [JsonProperty("city")] + public string? City { get; set; } + + /// + /// Region name. + /// + [JsonProperty("region")] + public string? Region { get; set; } + + /// + /// Region code. + /// + [JsonProperty("regionCode")] + public string? RegionCode { get; set; } + + /// + /// Postal code. + /// + [JsonProperty("postalCode")] + public string? PostalCode { get; set; } + + /// + /// Country name. + /// + [JsonProperty("country")] + public string? Country { get; set; } + + /// + /// ISO 3166 alpha-2 country code. + /// + [JsonProperty("countryCode")] + public string? CountryCode { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AddressJson2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AddressJson2.cs index 84f50920b..6f2d18cce 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AddressJson2.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AddressJson2.cs @@ -9,60 +9,55 @@ #nullable enable namespace Cvent.SDK.Models.Components { + using Cvent.SDK.Models.Components; using Cvent.SDK.Utils; using Newtonsoft.Json; /// - /// Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. + /// Address. /// public class AddressJson2 { /// - /// Address line 1. + /// The type of the address. /// - [JsonProperty("address1")] - public string? Address1 { get; set; } + [JsonProperty("type")] + public AddressTypeJson Type { get; set; } = default!; /// - /// Address line 2. + /// The street address of the user. /// - [JsonProperty("address2")] - public string? Address2 { get; set; } + [JsonProperty("streetAddress")] + public string? StreetAddress { get; set; } /// - /// City name. + /// The locality/city of the user. /// - [JsonProperty("city")] - public string? City { get; set; } + [JsonProperty("locality")] + public string? Locality { get; set; } /// - /// Region name. + /// The region/state/province of the user. /// [JsonProperty("region")] public string? Region { get; set; } /// - /// Region code. - /// - [JsonProperty("regionCode")] - public string? RegionCode { get; set; } - - /// - /// Postal code. + /// Postal code (also known as zipcode) of the user. /// [JsonProperty("postalCode")] public string? PostalCode { get; set; } /// - /// Country name. + /// The country of the user. /// [JsonProperty("country")] public string? Country { get; set; } /// - /// ISO 3166 alpha-2 country code. + /// True indicates the address is primary. /// - [JsonProperty("countryCode")] - public string? CountryCode { get; set; } + [JsonProperty("primary")] + public bool? Primary { get; set; } = false; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AddressJson3.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AddressJson3.cs deleted file mode 100644 index 0e4b17f33..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AddressJson3.cs +++ /dev/null @@ -1,68 +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.Utils; - using Newtonsoft.Json; - - /// - /// A physical address. - /// - public class AddressJson3 - { - /// - /// Address line 1. - /// - [JsonProperty("address1")] - public string? Address1 { get; set; } - - /// - /// Address line 2. - /// - [JsonProperty("address2")] - public string? Address2 { get; set; } - - /// - /// City name. - /// - [JsonProperty("city")] - public string? City { get; set; } - - /// - /// Region name. - /// - [JsonProperty("region")] - public string? Region { get; set; } - - /// - /// Region code. - /// - [JsonProperty("regionCode")] - public string? RegionCode { get; set; } - - /// - /// Postal code. - /// - [JsonProperty("postalCode")] - public string? PostalCode { get; set; } - - /// - /// Country name. - /// - [JsonProperty("country")] - public string? Country { get; set; } - - /// - /// ISO 3166 alpha-2 country code. - /// - [JsonProperty("countryCode")] - public string? CountryCode { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AddressJson4.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AddressJson4.cs deleted file mode 100644 index edc9473e7..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AddressJson4.cs +++ /dev/null @@ -1,63 +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; - - /// - /// Address. - /// - public class AddressJson4 - { - /// - /// The type of the address. - /// - [JsonProperty("type")] - public AddressTypeJson1 Type { get; set; } = default!; - - /// - /// The street address of the user. - /// - [JsonProperty("streetAddress")] - public string? StreetAddress { get; set; } - - /// - /// The locality/city of the user. - /// - [JsonProperty("locality")] - public string? Locality { get; set; } - - /// - /// The region/state/province of the user. - /// - [JsonProperty("region")] - public string? Region { get; set; } - - /// - /// Postal code (also known as zipcode) of the user. - /// - [JsonProperty("postalCode")] - public string? PostalCode { get; set; } - - /// - /// The country of the user. - /// - [JsonProperty("country")] - public string? Country { get; set; } - - /// - /// True indicates the address is primary. - /// - [JsonProperty("primary")] - public bool? Primary { get; set; } = false; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AddressJson5.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AddressJson5.cs deleted file mode 100644 index 2a49b96fd..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AddressJson5.cs +++ /dev/null @@ -1,68 +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.Utils; - using Newtonsoft.Json; - - /// - /// Address details. - /// - public class AddressJson5 - { - /// - /// Address line 1. - /// - [JsonProperty("address1")] - public string? Address1 { get; set; } - - /// - /// Address line 2. - /// - [JsonProperty("address2")] - public string? Address2 { get; set; } - - /// - /// City name. - /// - [JsonProperty("city")] - public string? City { get; set; } - - /// - /// Region name. - /// - [JsonProperty("region")] - public string? Region { get; set; } - - /// - /// Region code. - /// - [JsonProperty("regionCode")] - public string? RegionCode { get; set; } - - /// - /// Postal code. - /// - [JsonProperty("postalCode")] - public string? PostalCode { get; set; } - - /// - /// Country name. - /// - [JsonProperty("country")] - public string? Country { get; set; } - - /// - /// ISO 3166 alpha-2 country code. - /// - [JsonProperty("countryCode")] - public string? CountryCode { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AddressJsonInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AddressJsonInput.cs deleted file mode 100644 index 0adf5697e..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AddressJsonInput.cs +++ /dev/null @@ -1,62 +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.Utils; - using Newtonsoft.Json; - - /// - /// Contact address details. - /// - public class AddressJsonInput - { - /// - /// The first line of an address. - /// - [JsonProperty("address1")] - public string? Address1 { get; set; } - - /// - /// The second line of an address. - /// - [JsonProperty("address2")] - public string? Address2 { get; set; } - - /// - /// The third line of an address. - /// - [JsonProperty("address3")] - public string? Address3 { get; set; } - - /// - /// The name of the city. - /// - [JsonProperty("city")] - public string? City { get; set; } - - /// - /// ISO 3166 two-letter (alpha-2) country code. - /// - [JsonProperty("countryCode")] - public string? CountryCode { get; set; } - - /// - /// Postal code (also known as zipcode) of the address. - /// - [JsonProperty("postalCode")] - public string? PostalCode { get; set; } - - /// - /// The abbreviation of the state/province/region of the address. - /// - [JsonProperty("regionCode")] - public string? RegionCode { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AddressTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AddressTypeJson.cs index 6ae80178b..65a28246e 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AddressTypeJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AddressTypeJson.cs @@ -14,12 +14,12 @@ namespace Cvent.SDK.Models.Components using System; /// - /// The type of address. + /// The type of the address. /// public enum AddressTypeJson { - [JsonProperty("Home")] Home, - [JsonProperty("Work")] Work, + [JsonProperty("work")] Work, + [JsonProperty("home")] Home, } public static class AddressTypeJsonExtension diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AddressTypeJson1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AddressTypeJson1.cs deleted file mode 100644 index 75eb5c082..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AddressTypeJson1.cs +++ /dev/null @@ -1,57 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// The type of the address. - /// - public enum AddressTypeJson1 - { - [JsonProperty("work")] Work, - [JsonProperty("home")] Home, - } - - public static class AddressTypeJson1Extension - { - public static string Value(this AddressTypeJson1 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static AddressTypeJson1 ToEnum(this string value) - { - foreach (var field in typeof(AddressTypeJson1).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 AddressTypeJson1) - { - return (AddressTypeJson1)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum AddressTypeJson1"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AgendaItemSetup.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AgendaItemSetup.cs new file mode 100644 index 000000000..69e18569b --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AgendaItemSetup.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.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Setup type for the agenda. + /// + public enum AgendaItemSetup + { + [JsonProperty("BUFFET")] Buffet, + [JsonProperty("CABARET")] Cabaret, + [JsonProperty("CHEVRON")] Chevron, + [JsonProperty("CLASSROOM")] Classroom, + [JsonProperty("CONFERENCE")] Conference, + [JsonProperty("CRESCENT_ROUNDS")] CrescentRounds, + [JsonProperty("EIGHT_BY_TEN")] EightByTen, + [JsonProperty("FLOW")] Flow, + [JsonProperty("HERRINGBONE")] Herringbone, + [JsonProperty("HOLLOW_SQUARE")] HollowSquare, + [JsonProperty("ISLAND")] Island, + [JsonProperty("OFFSITE")] Offsite, + [JsonProperty("OTHER")] Other, + [JsonProperty("PENINSULA")] Peninsula, + [JsonProperty("PLATED")] Plated, + [JsonProperty("RECEPTION")] Reception, + [JsonProperty("ROUNDS")] Rounds, + [JsonProperty("ROUNDS_OF_10")] RoundsOf10, + [JsonProperty("ROUNDS_OF_6")] RoundsOf6, + [JsonProperty("ROUNDS_OF_8")] RoundsOf8, + [JsonProperty("SCHOOL_ROOM")] SchoolRoom, + [JsonProperty("TABLETOP")] Tabletop, + [JsonProperty("TEN_BY_TEN")] TenByTen, + [JsonProperty("THEATER")] Theater, + [JsonProperty("T_SHAPED")] TShaped, + [JsonProperty("U_SHAPED")] UShaped, + } + + public static class AgendaItemSetupExtension + { + public static string Value(this AgendaItemSetup value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static AgendaItemSetup ToEnum(this string value) + { + foreach (var field in typeof(AgendaItemSetup).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 AgendaItemSetup) + { + return (AgendaItemSetup)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum AgendaItemSetup"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AgendaItemSetupJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AgendaItemSetupJson.cs deleted file mode 100644 index c69e3df1a..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AgendaItemSetupJson.cs +++ /dev/null @@ -1,81 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Setup type for the agenda. - /// - public enum AgendaItemSetupJson - { - [JsonProperty("BUFFET")] Buffet, - [JsonProperty("CABARET")] Cabaret, - [JsonProperty("CHEVRON")] Chevron, - [JsonProperty("CLASSROOM")] Classroom, - [JsonProperty("CONFERENCE")] Conference, - [JsonProperty("CRESCENT_ROUNDS")] CrescentRounds, - [JsonProperty("EIGHT_BY_TEN")] EightByTen, - [JsonProperty("FLOW")] Flow, - [JsonProperty("HERRINGBONE")] Herringbone, - [JsonProperty("HOLLOW_SQUARE")] HollowSquare, - [JsonProperty("ISLAND")] Island, - [JsonProperty("OFFSITE")] Offsite, - [JsonProperty("OTHER")] Other, - [JsonProperty("PENINSULA")] Peninsula, - [JsonProperty("PLATED")] Plated, - [JsonProperty("RECEPTION")] Reception, - [JsonProperty("ROUNDS")] Rounds, - [JsonProperty("ROUNDS_OF_10")] RoundsOf10, - [JsonProperty("ROUNDS_OF_6")] RoundsOf6, - [JsonProperty("ROUNDS_OF_8")] RoundsOf8, - [JsonProperty("SCHOOL_ROOM")] SchoolRoom, - [JsonProperty("TABLETOP")] Tabletop, - [JsonProperty("TEN_BY_TEN")] TenByTen, - [JsonProperty("THEATER")] Theater, - [JsonProperty("T_SHAPED")] TShaped, - [JsonProperty("U_SHAPED")] UShaped, - } - - public static class AgendaItemSetupJsonExtension - { - public static string Value(this AgendaItemSetupJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static AgendaItemSetupJson ToEnum(this string value) - { - foreach (var field in typeof(AgendaItemSetupJson).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 AgendaItemSetupJson) - { - return (AgendaItemSetupJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum AgendaItemSetupJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AgendaItemType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AgendaItemType.cs new file mode 100644 index 000000000..2b525e8d4 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AgendaItemType.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Type of the agenda. + /// + public enum AgendaItemType + { + [JsonProperty("BREAK")] Break, + [JsonProperty("BREAKFAST")] Breakfast, + [JsonProperty("BREAKOUT")] Breakout, + [JsonProperty("DINNER")] Dinner, + [JsonProperty("EXHIBIT")] Exhibit, + [JsonProperty("GENERAL_SESSION")] GeneralSession, + [JsonProperty("HOSPITALITY_DESK")] HospitalityDesk, + [JsonProperty("HOSPITALITY_SUITE")] HospitalitySuite, + [JsonProperty("LUNCH")] Lunch, + [JsonProperty("MEETING")] Meeting, + [JsonProperty("OFFICE")] Office, + [JsonProperty("OTHER")] Other, + [JsonProperty("RECEPTION")] Reception, + [JsonProperty("REGISTRATION")] Registration, + [JsonProperty("SETUP")] Setup, + [JsonProperty("SNACK")] Snack, + [JsonProperty("SPEAKER_ROOM")] SpeakerRoom, + [JsonProperty("STORAGE_ROOM")] StorageRoom, + [JsonProperty("TEARDOWN")] Teardown, + } + + public static class AgendaItemTypeExtension + { + public static string Value(this AgendaItemType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static AgendaItemType ToEnum(this string value) + { + foreach (var field in typeof(AgendaItemType).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 AgendaItemType) + { + return (AgendaItemType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum AgendaItemType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AgendaItemTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AgendaItemTypeJson.cs deleted file mode 100644 index a3b1f115f..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AgendaItemTypeJson.cs +++ /dev/null @@ -1,74 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Type of the agenda. - /// - public enum AgendaItemTypeJson - { - [JsonProperty("BREAK")] Break, - [JsonProperty("BREAKFAST")] Breakfast, - [JsonProperty("BREAKOUT")] Breakout, - [JsonProperty("DINNER")] Dinner, - [JsonProperty("EXHIBIT")] Exhibit, - [JsonProperty("GENERAL_SESSION")] GeneralSession, - [JsonProperty("HOSPITALITY_DESK")] HospitalityDesk, - [JsonProperty("HOSPITALITY_SUITE")] HospitalitySuite, - [JsonProperty("LUNCH")] Lunch, - [JsonProperty("MEETING")] Meeting, - [JsonProperty("OFFICE")] Office, - [JsonProperty("OTHER")] Other, - [JsonProperty("RECEPTION")] Reception, - [JsonProperty("REGISTRATION")] Registration, - [JsonProperty("SETUP")] Setup, - [JsonProperty("SNACK")] Snack, - [JsonProperty("SPEAKER_ROOM")] SpeakerRoom, - [JsonProperty("STORAGE_ROOM")] StorageRoom, - [JsonProperty("TEARDOWN")] Teardown, - } - - public static class AgendaItemTypeJsonExtension - { - public static string Value(this AgendaItemTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static AgendaItemTypeJson ToEnum(this string value) - { - foreach (var field in typeof(AgendaItemTypeJson).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 AgendaItemTypeJson) - { - return (AgendaItemTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum AgendaItemTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AmenityType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AmenityType.cs new file mode 100644 index 000000000..533aa0f50 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AmenityType.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; + + /// + /// Amenity type. + /// + public enum AmenityType + { + [JsonProperty("included_amenity")] IncludedAmenity, + [JsonProperty("amenity")] Amenity, + [JsonProperty("bundled_supplement")] BundledSupplement, + } + + public static class AmenityTypeExtension + { + public static string Value(this AmenityType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static AmenityType ToEnum(this string value) + { + foreach (var field in typeof(AmenityType).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 AmenityType) + { + return (AmenityType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum AmenityType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AmenityTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AmenityTypeJson.cs deleted file mode 100644 index 1eaf59c21..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AmenityTypeJson.cs +++ /dev/null @@ -1,58 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Amenity type. - /// - public enum AmenityTypeJson - { - [JsonProperty("included_amenity")] IncludedAmenity, - [JsonProperty("amenity")] Amenity, - [JsonProperty("bundled_supplement")] BundledSupplement, - } - - public static class AmenityTypeJsonExtension - { - public static string Value(this AmenityTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static AmenityTypeJson ToEnum(this string value) - { - foreach (var field in typeof(AmenityTypeJson).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 AmenityTypeJson) - { - return (AmenityTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum AmenityTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentWithQuestions.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentWithQuestions.cs index 6cad0a65b..d1e43d63c 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentWithQuestions.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AppointmentWithQuestions.cs @@ -139,6 +139,6 @@ public class AppointmentWithQuestions /// Collection of custom questions asked to participants of the appointment. /// [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/AssetLocation.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AssetLocation.cs new file mode 100644 index 000000000..dfd3930a2 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AssetLocation.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// A URL associated with the asset. + /// + public class AssetLocation + { + /// + /// A pre-signed URL with an expiration of 2 hours to the asset's location. + /// + [JsonProperty("href")] + public string Href { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AssetLocationInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AssetLocationInput.cs new file mode 100644 index 000000000..cd3194198 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AssetLocationInput.cs @@ -0,0 +1,20 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// A URL associated with the asset. + /// + public class AssetLocationInput + { + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AssetLocationJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AssetLocationJson.cs deleted file mode 100644 index a7c43b740..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AssetLocationJson.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// A URL associated with the asset. - /// - public class AssetLocationJson - { - /// - /// A pre-signed URL with an expiration of 2 hours to the asset's location. - /// - [JsonProperty("href")] - public string Href { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AssetLocationJsonInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AssetLocationJsonInput.cs deleted file mode 100644 index 186fd6471..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AssetLocationJsonInput.cs +++ /dev/null @@ -1,20 +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.Utils; - - /// - /// A URL associated with the asset. - /// - public class AssetLocationJsonInput - { - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttachmentSource.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AttachmentSource.cs new file mode 100644 index 000000000..c580bf7bf --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AttachmentSource.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; + + /// + /// The source from where the attachment was uploaded. + /// + public enum AttachmentSource + { + [JsonProperty("FILE_COPY_ADMIN_LIBRARY")] FileCopyAdminLibrary, + [JsonProperty("FILE_UPLOAD_LINK_URL")] FileUploadLinkUrl, + [JsonProperty("FILE_UPLOAD_TO_CUSTOM_DRIVE")] FileUploadToCustomDrive, + [JsonProperty("FILE_UPLOAD_TO_TEMP_LOCATION")] FileUploadToTempLocation, + [JsonProperty("USER_DOCUMENT_LINK_URL")] UserDocumentLinkUrl, + } + + public static class AttachmentSourceExtension + { + public static string Value(this AttachmentSource value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static AttachmentSource ToEnum(this string value) + { + foreach (var field in typeof(AttachmentSource).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 AttachmentSource) + { + return (AttachmentSource)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum AttachmentSource"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttachmentSourceJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AttachmentSourceJson.cs deleted file mode 100644 index eddf4c05d..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AttachmentSourceJson.cs +++ /dev/null @@ -1,60 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// The source from where the attachment was uploaded. - /// - public enum AttachmentSourceJson - { - [JsonProperty("FILE_COPY_ADMIN_LIBRARY")] FileCopyAdminLibrary, - [JsonProperty("FILE_UPLOAD_LINK_URL")] FileUploadLinkUrl, - [JsonProperty("FILE_UPLOAD_TO_CUSTOM_DRIVE")] FileUploadToCustomDrive, - [JsonProperty("FILE_UPLOAD_TO_TEMP_LOCATION")] FileUploadToTempLocation, - [JsonProperty("USER_DOCUMENT_LINK_URL")] UserDocumentLinkUrl, - } - - public static class AttachmentSourceJsonExtension - { - public static string Value(this AttachmentSourceJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static AttachmentSourceJson ToEnum(this string value) - { - foreach (var field in typeof(AttachmentSourceJson).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 AttachmentSourceJson) - { - return (AttachmentSourceJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum AttachmentSourceJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Attendee.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Attendee.cs new file mode 100644 index 000000000..27b6fb268 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Attendee.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The reference to the attendee. Contains only the ID of the attendee. + /// + public class Attendee + { + /// + /// Unique identifier of the primary invitee for the current attendee's registration. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Attendee1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Attendee1.cs deleted file mode 100644 index 2689580d7..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Attendee1.cs +++ /dev/null @@ -1,314 +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; - using System; - using System.Collections.Generic; - - /// - /// An event attendee. - /// - public class Attendee1 - { - /// - /// 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; } - - /// - /// The ID of attendee in the given event. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// The attendee's associated event. - /// - [JsonProperty("event")] - public AttendeeEvent? Event { get; set; } - - /// - /// The confirmation number is a code unique to each attendee. Cvent assigns one to the attendee upon registration for the event. Serves as proof of registration. - /// - [JsonProperty("confirmationNumber")] - public string? ConfirmationNumber { get; set; } - - /// - /// Information about attendee contact added to an event. - /// - [JsonProperty("contact")] - public AttendeeContactInfo? Contact { get; set; } - - /// - /// True indicates the attendee checked in to the event. - /// - [JsonProperty("checkedIn")] - public bool? CheckedIn { get; set; } - - /// - /// The date time when attendee was checked in to an event. Note: this field is deprecated. Please use the `checkIn` field instead. - /// - [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] - [JsonProperty("checkin")] - public DateTime? Checkin { get; set; } - - /// - /// The ISO 8601 zoned date time when attendee was checked in to an event. - /// - [JsonProperty("checkIn")] - public DateTime? CheckIn { get; set; } - - /// - /// The ISO 8601 zoned date time when attendee checked out from an event. - /// - [JsonProperty("checkOut")] - public DateTime? CheckOut { get; set; } - - /// - /// The duration, in milliseconds, the attendee was present at the event. - /// - [JsonProperty("duration")] - public long? Duration { get; set; } - - /// - /// Lookup response object. - /// - [JsonProperty("registrationPath")] - public Lookup? RegistrationPath { get; set; } - - /// - /// A Named object. - /// - [JsonProperty("invitationList")] - public NamedObject? InvitationList { get; set; } - - /// - /// Web links for an attendee. - /// - [JsonProperty("webLinks")] - public AttendeeWebLinks? WebLinks { get; set; } - - /// - /// Lookup response object. - /// - [JsonProperty("registrationType")] - public Lookup? RegistrationType { get; set; } - - /// - /// The reference ID of an attendee. A planner determined string used to track which link attendee's used to reach the event registration. - /// - [JsonProperty("referenceId")] - public string? ReferenceId { get; set; } - - /// - /// The details of an attendee in an external systems. - /// - [JsonProperty("externalReferences")] - public List? ExternalReferences { get; set; } - - /// - /// A planner created note for an attendee, used to track details about the attendee. - /// - [JsonProperty("note")] - public string? Note { get; set; } - - /// - /// True indicates the attendee is a guest of another attendee. - /// - [JsonProperty("guest")] - public bool? Guest { get; set; } - - /// - /// True indicates this attendee is a deleted guest. - /// - [JsonProperty("deletedGuest")] - public bool? DeletedGuest { get; set; } - - /// - /// The ID of the primary attendee to whom this guest attendee is associated. Only applicable if this attendee is a guest. - /// - [JsonProperty("primaryId")] - public string? PrimaryId { get; set; } - - /// - /// An attendee group. - /// - [JsonProperty("group")] - public AttendeeGroup? Group { get; set; } - - /// - /// The reference to the related entity. Contains only the ID of the related entity. - /// - [JsonProperty("administrator")] - public Uuid? Administrator { get; set; } - - /// - /// DEPRECATED: True indicates this attendee is unsubscribed from this event's emails. They'll still receive emails triggered by their own actions (like registration modification). This field has been deprecated. Please use PUT /attendees/{id}/email-subscriptions instead. - /// - [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] - [JsonProperty("unsubscribed")] - public bool? Unsubscribed { get; set; } - - /// - /// This is used to denote the status of an attendee. - /// - [JsonProperty("status")] - public AttendeeStatus? Status { get; set; } - - /// - /// The ISO 8601 zoned date time when attendee was registered. - /// - [JsonProperty("registeredAt")] - public DateTime? RegisteredAt { get; set; } - - /// - /// The ISO 8601 zoned date time when attendee's registration was modified. This field is updated when there are changes to the registration, such as adding or removing products. - /// - [JsonProperty("registrationLastModified")] - public DateTime? RegistrationLastModified { get; set; } - - /// - /// The ISO 8601 zoned date time when attendee registration was cancelled. - /// - [JsonProperty("registrationCancelledAt")] - public DateTime? RegistrationCancelledAt { get; set; } - - /// - /// Method by which the attendee was invited to the event. - /// - [JsonProperty("invitedBy")] - public AttendeeInvitedBy1? InvitedBy { get; set; } - - /// - /// Represents the method by which an attendee registered for the event.
- ///
- /// - Administrator Responded: The invitee was registered by another contact acting as their administrator.
- /// - API-Responded: The invitee was registered through a custom process configured via an API integration.
- /// - Appointments Event Website: The invitee registered via an appointments event website.
- /// - Cvent Salesforce App: The invitee registered through an action in the Cvent Salesforce App.
- /// - External Registration: The attendee was registered through an external integration, such as Marketo.
- /// - Group Leader Responded: The invitee was registered by a group leader and added to a group.
- /// - Historical Import: The invitee's registration was imported into the event as historical data.
- /// - Imported: The invitee's registration was imported into the event.
- /// - No Response: The invitee has not registered.
- /// - On-site Responded: The invitee registered onsite using OnArrival's Kiosk Mode.
- /// - Planner-Imported: An account user imported the invitee's registration into the event.
- /// - Planner-Responded: An account user registered the invitee from the Cvent back-end or the planner-side of the OnArrival app.
- /// - Post Event: The invitee was registered by an account user after the event's end date or while the event was in Completed status.
- /// - Self-Responded: The invitee registered themselves through a weblink or invitation.
- ///
- /// Note: The responseMethod can only be set if the invitee's status is No Response. - ///
- [JsonProperty("responseMethod")] - public AttendeeResponseMethod1? ResponseMethod { get; set; } - - /// - /// A list of answers to contact custom fields. Note: This field is deprecated. Answers to custom contact fields can be found in the 'contact' model, `customFields` field instead. - /// - [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] - [JsonProperty("questions")] - public List? Questions { get; set; } - - /// - /// The list of answers to the registration questions. - /// - [JsonProperty("answers")] - public List? Answers { get; set; } - - /// - /// Contains details related to the attendee's admission item. - /// - [JsonProperty("admissionItem")] - public AttendeeLookup? AdmissionItem { get; set; } - - /// - /// Denotes the visibility of the attendee profile to other attendees. Private: Their profile is not visible. Public: Their profile is visible. - /// - [JsonProperty("visibility")] - public AttendeeVisibility? Visibility { get; set; } - - /// - /// The attendee's biographical writeup. - /// - [JsonProperty("bio")] - public string? Bio { get; set; } - - /// - /// Notification setting in the Attendee Hub app or website. Note: This field is deprecated. Use `allowPushNotification` field instead. - /// - [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] - [JsonProperty("showPopupNotification")] - public bool? ShowPopupNotification { get; set; } - - /// - /// An attendee's website URL, appears on their profile. - /// - [JsonProperty("websiteUrl")] - public string? WebsiteUrl { get; set; } - - /// - /// True indicates attendee will recieve push notifications for session-schedule changes, promotions and other event activities in the Attendee Hub app. - /// - [JsonProperty("allowPushNotifications")] - public bool? AllowPushNotifications { get; set; } - - /// - /// True indicaites attendee will recieve push notifications for appointments related activities in the Attendee Hub app. - /// - [JsonProperty("allowAppointmentPushNotifications")] - public bool? AllowAppointmentPushNotifications { get; set; } - - /// - /// True indicates this attendee record was created as part of a test scenario. - /// - [JsonProperty("testRecord")] - public bool? TestRecord { get; set; } - - /// - /// The ISO 8601 zoned date-time indicates when the attendee's non-contact properties were modified. Updates to the attendee's contact properties do not update this field. This field is updated when planners or attendees make changes to the attendee record, such as flagging as a participant. It is not updated for registration or product changes. - /// - [JsonProperty("attendeeLastModified")] - public DateTime? AttendeeLastModified { get; set; } - - /// - /// List of appointment groups associated with attendee. These control permissions and visibility in appointments associated with the event. - /// - [JsonProperty("appointmentGroups")] - public List? AppointmentGroups { get; set; } - - /// - /// The amount of credit associated with the attendee. - /// - [JsonProperty("credit")] - public double? Credit { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Attendee11.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Attendee11.cs index 47d87dc19..28fff7265 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Attendee11.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Attendee11.cs @@ -9,18 +9,306 @@ #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; /// - /// The associated Attendee. + /// An event attendee. /// public class Attendee11 { /// - /// Attendee id. + /// 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; } + + /// + /// The ID of attendee in the given event. /// [JsonProperty("id")] - public string Id { get; set; } = default!; + public string? Id { get; set; } + + /// + /// The attendee's associated event. + /// + [JsonProperty("event")] + public Attendee1Event? Event { get; set; } + + /// + /// The confirmation number is a code unique to each attendee. Cvent assigns one to the attendee upon registration for the event. Serves as proof of registration. + /// + [JsonProperty("confirmationNumber")] + public string? ConfirmationNumber { get; set; } + + /// + /// Information about attendee contact added to an event. + /// + [JsonProperty("contact")] + public AttendeeContactInfo? Contact { get; set; } + + /// + /// True indicates the attendee checked in to the event. + /// + [JsonProperty("checkedIn")] + public bool? CheckedIn { get; set; } + + /// + /// The date time when attendee was checked in to an event. Note: this field is deprecated. Please use the `checkIn` field instead. + /// + [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] + [JsonProperty("checkin")] + public DateTime? Checkin { get; set; } + + /// + /// The ISO 8601 zoned date time when attendee was checked in to an event. + /// + [JsonProperty("checkIn")] + public DateTime? CheckIn { get; set; } + + /// + /// The ISO 8601 zoned date time when attendee checked out from an event. + /// + [JsonProperty("checkOut")] + public DateTime? CheckOut { get; set; } + + /// + /// The duration, in milliseconds, the attendee was present at the event. + /// + [JsonProperty("duration")] + public long? Duration { get; set; } + + /// + /// Lookup response object. + /// + [JsonProperty("registrationPath")] + public Lookup? RegistrationPath { get; set; } + + /// + /// A Named object. + /// + [JsonProperty("invitationList")] + public NamedObject? InvitationList { get; set; } + + /// + /// Web links for an attendee. + /// + [JsonProperty("webLinks")] + public AttendeeWebLinks? WebLinks { get; set; } + + /// + /// Lookup response object. + /// + [JsonProperty("registrationType")] + public Lookup? RegistrationType { get; set; } + + /// + /// The reference ID of an attendee. A planner determined string used to track which link attendee's used to reach the event registration. + /// + [JsonProperty("referenceId")] + public string? ReferenceId { get; set; } + + /// + /// The details of an attendee in an external systems. + /// + [JsonProperty("externalReferences")] + public List? ExternalReferences { get; set; } + + /// + /// A planner created note for an attendee, used to track details about the attendee. + /// + [JsonProperty("note")] + public string? Note { get; set; } + + /// + /// True indicates the attendee is a guest of another attendee. + /// + [JsonProperty("guest")] + public bool? Guest { get; set; } + + /// + /// True indicates this attendee is a deleted guest. + /// + [JsonProperty("deletedGuest")] + public bool? DeletedGuest { get; set; } + + /// + /// The ID of the primary attendee to whom this guest attendee is associated. Only applicable if this attendee is a guest. + /// + [JsonProperty("primaryId")] + public string? PrimaryId { get; set; } + + /// + /// An attendee group. + /// + [JsonProperty("group")] + public AttendeeGroup? Group { get; set; } + + /// + /// The reference to the related entity. Contains only the ID of the related entity. + /// + [JsonProperty("administrator")] + public Uuid? Administrator { get; set; } + + /// + /// DEPRECATED: True indicates this attendee is unsubscribed from this event's emails. They'll still receive emails triggered by their own actions (like registration modification). This field has been deprecated. Please use PUT /attendees/{id}/email-subscriptions instead. + /// + [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] + [JsonProperty("unsubscribed")] + public bool? Unsubscribed { get; set; } + + /// + /// This is used to denote the status of an attendee. + /// + [JsonProperty("status")] + public AttendeeStatus? Status { get; set; } + + /// + /// The ISO 8601 zoned date time when attendee was registered. + /// + [JsonProperty("registeredAt")] + public DateTime? RegisteredAt { get; set; } + + /// + /// The ISO 8601 zoned date time when attendee's registration was modified. This field is updated when there are changes to the registration, such as adding or removing products. + /// + [JsonProperty("registrationLastModified")] + public DateTime? RegistrationLastModified { get; set; } + + /// + /// The ISO 8601 zoned date time when attendee registration was cancelled. + /// + [JsonProperty("registrationCancelledAt")] + public DateTime? RegistrationCancelledAt { get; set; } + + /// + /// Method by which the attendee was invited to the event. + /// + [JsonProperty("invitedBy")] + public AttendeeInvitedBy1? InvitedBy { get; set; } + + /// + /// Represents the method by which an attendee registered for the event.
+ ///
+ /// - Administrator Responded: The invitee was registered by another contact acting as their administrator.
+ /// - API-Responded: The invitee was registered through a custom process configured via an API integration.
+ /// - Appointments Event Website: The invitee registered via an appointments event website.
+ /// - Cvent Salesforce App: The invitee registered through an action in the Cvent Salesforce App.
+ /// - External Registration: The attendee was registered through an external integration, such as Marketo.
+ /// - Group Leader Responded: The invitee was registered by a group leader and added to a group.
+ /// - Historical Import: The invitee's registration was imported into the event as historical data.
+ /// - Imported: The invitee's registration was imported into the event.
+ /// - No Response: The invitee has not registered.
+ /// - On-site Responded: The invitee registered onsite using OnArrival's Kiosk Mode.
+ /// - Planner-Imported: An account user imported the invitee's registration into the event.
+ /// - Planner-Responded: An account user registered the invitee from the Cvent back-end or the planner-side of the OnArrival app.
+ /// - Post Event: The invitee was registered by an account user after the event's end date or while the event was in Completed status.
+ /// - Self-Responded: The invitee registered themselves through a weblink or invitation.
+ ///
+ /// Note: The responseMethod can only be set if the invitee's status is No Response. + ///
+ [JsonProperty("responseMethod")] + public AttendeeResponseMethod1? ResponseMethod { get; set; } + + /// + /// A list of answers to contact custom fields. Note: This field is deprecated. Answers to custom contact fields can be found in the 'contact' model, `customFields` field instead. + /// + [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] + [JsonProperty("questions")] + public List? Questions { get; set; } + + /// + /// The list of answers to the registration questions. + /// + [JsonProperty("answers")] + public List? Answers { get; set; } + + /// + /// Contains details related to the attendee's admission item. + /// + [JsonProperty("admissionItem")] + public Attendee1Lookup? AdmissionItem { get; set; } + + /// + /// Denotes the visibility of the attendee profile to other attendees. Private: Their profile is not visible. Public: Their profile is visible. + /// + [JsonProperty("visibility")] + public AttendeeVisibility? Visibility { get; set; } + + /// + /// The attendee's biographical writeup. + /// + [JsonProperty("bio")] + public string? Bio { get; set; } + + /// + /// Notification setting in the Attendee Hub app or website. Note: This field is deprecated. Use `allowPushNotification` field instead. + /// + [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] + [JsonProperty("showPopupNotification")] + public bool? ShowPopupNotification { get; set; } + + /// + /// An attendee's website URL, appears on their profile. + /// + [JsonProperty("websiteUrl")] + public string? WebsiteUrl { get; set; } + + /// + /// True indicates attendee will recieve push notifications for session-schedule changes, promotions and other event activities in the Attendee Hub app. + /// + [JsonProperty("allowPushNotifications")] + public bool? AllowPushNotifications { get; set; } + + /// + /// True indicaites attendee will recieve push notifications for appointments related activities in the Attendee Hub app. + /// + [JsonProperty("allowAppointmentPushNotifications")] + public bool? AllowAppointmentPushNotifications { get; set; } + + /// + /// True indicates this attendee record was created as part of a test scenario. + /// + [JsonProperty("testRecord")] + public bool? TestRecord { get; set; } + + /// + /// The ISO 8601 zoned date-time indicates when the attendee's non-contact properties were modified. Updates to the attendee's contact properties do not update this field. This field is updated when planners or attendees make changes to the attendee record, such as flagging as a participant. It is not updated for registration or product changes. + /// + [JsonProperty("attendeeLastModified")] + public DateTime? AttendeeLastModified { get; set; } + + /// + /// List of appointment groups associated with attendee. These control permissions and visibility in appointments associated with the event. + /// + [JsonProperty("appointmentGroups")] + public List? AppointmentGroups { get; set; } + + /// + /// The amount of credit associated with the attendee. + /// + [JsonProperty("credit")] + public double? Credit { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Attendee12.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Attendee12.cs index 45daa4d99..ec0db8874 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Attendee12.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Attendee12.cs @@ -13,7 +13,7 @@ namespace Cvent.SDK.Models.Components using Newtonsoft.Json; /// - /// A JSON schema representing the Attendee object. + /// The associated Attendee. /// public class Attendee12 { @@ -21,6 +21,6 @@ public class Attendee12 /// Attendee id. /// [JsonProperty("id")] - public string? Id { get; set; } + public string Id { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Attendee13.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Attendee13.cs new file mode 100644 index 000000000..7c0a90527 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Attendee13.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// A JSON schema representing the Attendee object. + /// + public class Attendee13 + { + /// + /// Attendee id. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Attendee1Event.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Attendee1Event.cs new file mode 100644 index 000000000..5305ce9c2 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Attendee1Event.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The attendee's associated event. + /// + public class Attendee1Event + { + /// + /// The event ID. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Attendee1Lookup.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Attendee1Lookup.cs new file mode 100644 index 000000000..b4b6f73a7 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Attendee1Lookup.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; + + /// + /// Contains details related to the attendee's admission item. + /// + public class Attendee1Lookup + { + /// + /// A string that has to be a format matching the industry standard uuid. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// Code / Abbreviation of the lookup item. + /// + [JsonProperty("code")] + public string? Code { get; set; } + + /// + /// Name of the lookup item. + /// + [JsonProperty("name")] + public string? Name { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Attendee2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Attendee2.cs index 4223eb0ea..217861ef5 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Attendee2.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Attendee2.cs @@ -18,7 +18,7 @@ namespace Cvent.SDK.Models.Components public class Attendee2 { /// - /// Unique identifier of the primary invitee for the current attendee's registration. + /// Attendee ID. /// [JsonProperty("id")] public string Id { get; set; } = default!; diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeAddBulkItemEventJsonErrorResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeAddBulkItemEventJsonErrorResponse.cs index 618714111..8ceed4168 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeAddBulkItemEventJsonErrorResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeAddBulkItemEventJsonErrorResponse.cs @@ -47,6 +47,6 @@ public class AttendeeAddBulkItemEventJsonErrorResponse /// Additional details of cascading error messages. /// [JsonProperty("details")] - public List? Details { get; set; } + public List? Details { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeAddBulkItemJsonData.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeAddBulkItemJsonData.cs index 2b5bde092..811a12de8 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeAddBulkItemJsonData.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeAddBulkItemJsonData.cs @@ -34,10 +34,10 @@ public static AttendeeAddBulkItemJsonDataType ZeroOneOf2 } } - public static AttendeeAddBulkItemJsonDataType ErrorResponse1 + public static AttendeeAddBulkItemJsonDataType ErrorResponse2 { get { - return new AttendeeAddBulkItemJsonDataType("error-response_1"); + return new AttendeeAddBulkItemJsonDataType("error-response_2"); } } @@ -55,8 +55,8 @@ public static AttendeeAddBulkItemJsonDataType FromString(string v) { case "0_OneOf_2": return ZeroOneOf2; - case "error-response_1": - return ErrorResponse1; + case "error-response_2": + return ErrorResponse2; default: throw new ArgumentException("Invalid value for AttendeeAddBulkItemJsonDataType"); } @@ -88,7 +88,7 @@ public AttendeeAddBulkItemJsonData(AttendeeAddBulkItemJsonDataType type) public ZeroOneOf2? ZeroOneOf2 { get; set; } [SpeakeasyMetadata("form:explode=true")] - public Models.Components.ErrorResponse1? ErrorResponse1 { get; set; } + public Models.Components.ErrorResponse2? ErrorResponse2 { get; set; } public AttendeeAddBulkItemJsonDataType Type { get; set; } public static AttendeeAddBulkItemJsonData CreateZeroOneOf2(ZeroOneOf2 zeroOneOf2) @@ -99,12 +99,12 @@ public static AttendeeAddBulkItemJsonData CreateZeroOneOf2(ZeroOneOf2 zeroOneOf2 res.ZeroOneOf2 = zeroOneOf2; return res; } - public static AttendeeAddBulkItemJsonData CreateErrorResponse1(Models.Components.ErrorResponse1 errorResponse1) + public static AttendeeAddBulkItemJsonData CreateErrorResponse2(Models.Components.ErrorResponse2 errorResponse2) { - AttendeeAddBulkItemJsonDataType typ = AttendeeAddBulkItemJsonDataType.ErrorResponse1; + AttendeeAddBulkItemJsonDataType typ = AttendeeAddBulkItemJsonDataType.ErrorResponse2; AttendeeAddBulkItemJsonData res = new AttendeeAddBulkItemJsonData(typ); - res.ErrorResponse1 = errorResponse1; + res.ErrorResponse2 = errorResponse2; return res; } @@ -145,13 +145,13 @@ public class AttendeeAddBulkItemJsonDataConverter : JsonConverter try { - return new AttendeeAddBulkItemJsonData(AttendeeAddBulkItemJsonDataType.ErrorResponse1) { - ErrorResponse1 = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + return new AttendeeAddBulkItemJsonData(AttendeeAddBulkItemJsonDataType.ErrorResponse2) { + ErrorResponse2 = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) }; } catch (ResponseBodyDeserializer.MissingMemberException) { - fallbackCandidates.Add((typeof(Models.Components.ErrorResponse1), new AttendeeAddBulkItemJsonData(AttendeeAddBulkItemJsonDataType.ErrorResponse1), "ErrorResponse1")); + fallbackCandidates.Add((typeof(Models.Components.ErrorResponse2), new AttendeeAddBulkItemJsonData(AttendeeAddBulkItemJsonDataType.ErrorResponse2), "ErrorResponse2")); } catch (ResponseBodyDeserializer.DeserializationException) { @@ -200,9 +200,9 @@ public override void WriteJson(JsonWriter writer, object? value, JsonSerializer return; } - if (res.ErrorResponse1 != null) + if (res.ErrorResponse2 != null) { - writer.WriteRawValue(Utilities.SerializeJSON(res.ErrorResponse1)); + writer.WriteRawValue(Utilities.SerializeJSON(res.ErrorResponse2)); return; } } diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeContactInfo.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeContactInfo.cs index ec0664f37..06c0c4df6 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeContactInfo.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeContactInfo.cs @@ -137,7 +137,7 @@ public class AttendeeContactInfo /// Address details. /// [JsonProperty("homeAddress")] - public Address11? HomeAddress { get; set; } + public Address3? HomeAddress { get; set; } /// /// Home phone number. @@ -155,7 +155,7 @@ public class AttendeeContactInfo /// Address details. /// [JsonProperty("workAddress")] - public Address11? WorkAddress { get; set; } + public Address3? WorkAddress { get; set; } /// /// Work phone number. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeContactTypeInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeContactTypeInput.cs new file mode 100644 index 000000000..3c939560f --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeContactTypeInput.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Contains details related to the attendee's contact type. + /// + public class AttendeeContactTypeInput + { + /// + /// The unique identifier of the contact type. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeContactTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeContactTypeJson.cs deleted file mode 100644 index c3bf5faa3..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeContactTypeJson.cs +++ /dev/null @@ -1,32 +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.Utils; - using Newtonsoft.Json; - - /// - /// Contains details related to the attendee's contact type. - /// - public class AttendeeContactTypeJson - { - /// - /// The unique identifier of the contact type. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// A descriptive name for the contact type. - /// - [JsonProperty("name")] - public string? Name { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeContactTypeJsonInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeContactTypeJsonInput.cs deleted file mode 100644 index 7fea27256..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeContactTypeJsonInput.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// Contains details related to the attendee's contact type. - /// - public class AttendeeContactTypeJsonInput - { - /// - /// The unique identifier of the contact type. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeEvent.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeEvent.cs deleted file mode 100644 index ad375d363..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeEvent.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// The attendee's associated event. - /// - public class AttendeeEvent - { - /// - /// The event ID. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeInsights.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeInsights.cs index 90cfbb896..1ba0d57c4 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeInsights.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeInsights.cs @@ -65,7 +65,7 @@ public class AttendeeInsights /// An event reference used in attendee insights to identify the event context for engagement data. /// [JsonProperty("event")] - public EventJson6 Event { get; set; } = default!; + public EventJson5 Event { get; set; } = default!; /// /// True indicates this is the default engagement score in the event. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeLinkBulkResponseItemJsonData.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeLinkBulkResponseItemJsonData.cs index 0765e5fa3..a90823f40 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeLinkBulkResponseItemJsonData.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeLinkBulkResponseItemJsonData.cs @@ -34,10 +34,10 @@ public static AttendeeLinkBulkResponseItemJsonDataType ExistingAttendeeLink } } - public static AttendeeLinkBulkResponseItemJsonDataType ErrorResponse1 + public static AttendeeLinkBulkResponseItemJsonDataType ErrorResponse2 { get { - return new AttendeeLinkBulkResponseItemJsonDataType("error-response_1"); + return new AttendeeLinkBulkResponseItemJsonDataType("error-response_2"); } } @@ -55,8 +55,8 @@ public static AttendeeLinkBulkResponseItemJsonDataType FromString(string v) { case "existing-attendee-link": return ExistingAttendeeLink; - case "error-response_1": - return ErrorResponse1; + case "error-response_2": + return ErrorResponse2; default: throw new ArgumentException("Invalid value for AttendeeLinkBulkResponseItemJsonDataType"); } @@ -88,7 +88,7 @@ public AttendeeLinkBulkResponseItemJsonData(AttendeeLinkBulkResponseItemJsonData public ExistingAttendeeLink? ExistingAttendeeLink { get; set; } [SpeakeasyMetadata("form:explode=true")] - public Models.Components.ErrorResponse1? ErrorResponse1 { get; set; } + public Models.Components.ErrorResponse2? ErrorResponse2 { get; set; } public AttendeeLinkBulkResponseItemJsonDataType Type { get; set; } public static AttendeeLinkBulkResponseItemJsonData CreateExistingAttendeeLink(ExistingAttendeeLink existingAttendeeLink) @@ -99,12 +99,12 @@ public static AttendeeLinkBulkResponseItemJsonData CreateExistingAttendeeLink(Ex res.ExistingAttendeeLink = existingAttendeeLink; return res; } - public static AttendeeLinkBulkResponseItemJsonData CreateErrorResponse1(Models.Components.ErrorResponse1 errorResponse1) + public static AttendeeLinkBulkResponseItemJsonData CreateErrorResponse2(Models.Components.ErrorResponse2 errorResponse2) { - AttendeeLinkBulkResponseItemJsonDataType typ = AttendeeLinkBulkResponseItemJsonDataType.ErrorResponse1; + AttendeeLinkBulkResponseItemJsonDataType typ = AttendeeLinkBulkResponseItemJsonDataType.ErrorResponse2; AttendeeLinkBulkResponseItemJsonData res = new AttendeeLinkBulkResponseItemJsonData(typ); - res.ErrorResponse1 = errorResponse1; + res.ErrorResponse2 = errorResponse2; return res; } @@ -126,13 +126,13 @@ public class AttendeeLinkBulkResponseItemJsonDataConverter : JsonConverter try { - return new AttendeeLinkBulkResponseItemJsonData(AttendeeLinkBulkResponseItemJsonDataType.ErrorResponse1) { - ErrorResponse1 = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + return new AttendeeLinkBulkResponseItemJsonData(AttendeeLinkBulkResponseItemJsonDataType.ErrorResponse2) { + ErrorResponse2 = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) }; } catch (ResponseBodyDeserializer.MissingMemberException) { - fallbackCandidates.Add((typeof(Models.Components.ErrorResponse1), new AttendeeLinkBulkResponseItemJsonData(AttendeeLinkBulkResponseItemJsonDataType.ErrorResponse1), "ErrorResponse1")); + fallbackCandidates.Add((typeof(Models.Components.ErrorResponse2), new AttendeeLinkBulkResponseItemJsonData(AttendeeLinkBulkResponseItemJsonDataType.ErrorResponse2), "ErrorResponse2")); } catch (ResponseBodyDeserializer.DeserializationException) { @@ -200,9 +200,9 @@ public override void WriteJson(JsonWriter writer, object? value, JsonSerializer return; } - if (res.ErrorResponse1 != null) + if (res.ErrorResponse2 != null) { - writer.WriteRawValue(Utilities.SerializeJSON(res.ErrorResponse1)); + writer.WriteRawValue(Utilities.SerializeJSON(res.ErrorResponse2)); return; } } diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeLookup.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeLookup.cs deleted file mode 100644 index e1596035b..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeLookup.cs +++ /dev/null @@ -1,38 +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.Utils; - using Newtonsoft.Json; - - /// - /// Contains details related to the attendee's admission item. - /// - public class AttendeeLookup - { - /// - /// A string that has to be a format matching the industry standard uuid. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// Code / Abbreviation of the lookup item. - /// - [JsonProperty("code")] - public string? Code { get; set; } - - /// - /// Name of the lookup item. - /// - [JsonProperty("name")] - public string? Name { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeePaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeePaginatedResponse.cs index 79966be32..df8f12aed 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeePaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeePaginatedResponse.cs @@ -29,6 +29,6 @@ public class AttendeePaginatedResponse /// Collection of attendees. /// [JsonProperty("data")] - public List Data { get; set; } = default!; + public List Data { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Attendees.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Attendees.cs index 004ce7614..396ebbe31 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Attendees.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Attendees.cs @@ -34,10 +34,10 @@ public static AttendeesType AttendeeAddResponse } } - public static AttendeesType ErrorResponse2 + public static AttendeesType ErrorResponse1 { get { - return new AttendeesType("ErrorResponse_2"); + return new AttendeesType("ErrorResponse_1"); } } @@ -55,8 +55,8 @@ public static AttendeesType FromString(string v) { case "AttendeeAddResponse": return AttendeeAddResponse; - case "ErrorResponse_2": - return ErrorResponse2; + case "ErrorResponse_1": + return ErrorResponse1; default: throw new ArgumentException("Invalid value for AttendeesType"); } @@ -88,7 +88,7 @@ public Attendees(AttendeesType type) public AttendeeAddResponse? AttendeeAddResponse { get; set; } [SpeakeasyMetadata("form:explode=true")] - public Models.Components.ErrorResponse2? ErrorResponse2 { get; set; } + public Models.Components.ErrorResponse1? ErrorResponse1 { get; set; } public AttendeesType Type { get; set; } public static Attendees CreateAttendeeAddResponse(AttendeeAddResponse attendeeAddResponse) @@ -99,12 +99,12 @@ public static Attendees CreateAttendeeAddResponse(AttendeeAddResponse attendeeAd res.AttendeeAddResponse = attendeeAddResponse; return res; } - public static Attendees CreateErrorResponse2(Models.Components.ErrorResponse2 errorResponse2) + public static Attendees CreateErrorResponse1(Models.Components.ErrorResponse1 errorResponse1) { - AttendeesType typ = AttendeesType.ErrorResponse2; + AttendeesType typ = AttendeesType.ErrorResponse1; Attendees res = new Attendees(typ); - res.ErrorResponse2 = errorResponse2; + res.ErrorResponse1 = errorResponse1; return res; } @@ -145,13 +145,13 @@ public class AttendeesConverter : JsonConverter try { - return new Attendees(AttendeesType.ErrorResponse2) { - ErrorResponse2 = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + return new Attendees(AttendeesType.ErrorResponse1) { + ErrorResponse1 = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) }; } catch (ResponseBodyDeserializer.MissingMemberException) { - fallbackCandidates.Add((typeof(Models.Components.ErrorResponse2), new Attendees(AttendeesType.ErrorResponse2), "ErrorResponse2")); + fallbackCandidates.Add((typeof(Models.Components.ErrorResponse1), new Attendees(AttendeesType.ErrorResponse1), "ErrorResponse1")); } catch (ResponseBodyDeserializer.DeserializationException) { @@ -200,9 +200,9 @@ public override void WriteJson(JsonWriter writer, object? value, JsonSerializer return; } - if (res.ErrorResponse2 != null) + if (res.ErrorResponse1 != null) { - writer.WriteRawValue(Utilities.SerializeJSON(res.ErrorResponse2)); + writer.WriteRawValue(Utilities.SerializeJSON(res.ErrorResponse1)); return; } } diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeesPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeesPaginatedResponse.cs new file mode 100644 index 000000000..e4f6c5cf0 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeesPaginatedResponse.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; + + /// + /// A paginated response containing a list of attendees who have redeemed a voucher. + /// + public class AttendeesPaginatedResponse + { + /// + /// Represents pagination information for a collection of resources. + /// + [JsonProperty("paging")] + public Paging Paging { get; set; } = default!; + + /// + /// Collection of attendees who have redeemed the voucher. + /// + [JsonProperty("data")] + public List Data { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AudienceSegment.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AudienceSegment.cs index f30bc7d61..9e025bfc5 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AudienceSegment.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AudienceSegment.cs @@ -22,7 +22,7 @@ public class AudienceSegment /// ID of the event. /// [JsonProperty("event")] - public EventJson1 Event { get; set; } = default!; + public EventJson Event { get; set; } = default!; /// /// Name of the audience segment. Must be unique in the event where the segment exists. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AudienceSegmentCreate.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AudienceSegmentCreate.cs index bb11ce084..0d6bd180b 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AudienceSegmentCreate.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AudienceSegmentCreate.cs @@ -22,7 +22,7 @@ public class AudienceSegmentCreate /// ID of the event. /// [JsonProperty("event")] - public EventJson1 Event { get; set; } = default!; + public EventJson Event { get; set; } = default!; /// /// Name of the audience segment. Must be unique in the event where the segment exists. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AudienceSegmentResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AudienceSegmentResponse.cs index 3b5ff20f5..27936fbed 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AudienceSegmentResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AudienceSegmentResponse.cs @@ -47,7 +47,7 @@ public class AudienceSegmentResponse /// ID of the event. /// [JsonProperty("event")] - public EventJson1 Event { get; set; } = default!; + public EventJson Event { get; set; } = default!; /// /// Name of the audience segment. Must be unique in the event where the segment exists. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AudioTrackStatus.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AudioTrackStatus.cs new file mode 100644 index 000000000..4ea41b09e --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AudioTrackStatus.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; + + /// + /// Denotes the status of an audio track. Started indicates the request to upload in the API was submitted, and the URL you'll upload an audio track to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the audio track. Available indicates the audio track is available for use. + /// + public enum AudioTrackStatus + { + [JsonProperty("Started")] Started, + [JsonProperty("Uploaded")] Uploaded, + [JsonProperty("Scanning")] Scanning, + [JsonProperty("Scanned")] Scanned, + [JsonProperty("Syncing")] Syncing, + [JsonProperty("Rejected")] Rejected, + [JsonProperty("Error")] Error, + [JsonProperty("Available")] Available, + } + + public static class AudioTrackStatusExtension + { + public static string Value(this AudioTrackStatus value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static AudioTrackStatus ToEnum(this string value) + { + foreach (var field in typeof(AudioTrackStatus).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 AudioTrackStatus) + { + return (AudioTrackStatus)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum AudioTrackStatus"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AudioTrackStatusJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AudioTrackStatusJson.cs deleted file mode 100644 index 76e938b24..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AudioTrackStatusJson.cs +++ /dev/null @@ -1,63 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Denotes the status of an audio track. Started indicates the request to upload in the API was submitted, and the URL you'll upload an audio track to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the audio track. Available indicates the audio track is available for use. - /// - public enum AudioTrackStatusJson - { - [JsonProperty("Started")] Started, - [JsonProperty("Uploaded")] Uploaded, - [JsonProperty("Scanning")] Scanning, - [JsonProperty("Scanned")] Scanned, - [JsonProperty("Syncing")] Syncing, - [JsonProperty("Rejected")] Rejected, - [JsonProperty("Error")] Error, - [JsonProperty("Available")] Available, - } - - public static class AudioTrackStatusJsonExtension - { - public static string Value(this AudioTrackStatusJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static AudioTrackStatusJson ToEnum(this string value) - { - foreach (var field in typeof(AudioTrackStatusJson).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 AudioTrackStatusJson) - { - return (AudioTrackStatusJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum AudioTrackStatusJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AudioTrackType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AudioTrackType.cs new file mode 100644 index 000000000..7e3420af2 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AudioTrackType.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Denotes the file format of the audio track. + /// + public enum AudioTrackType + { + [JsonProperty("asf")] Asf, + [JsonProperty("wma")] Wma, + [JsonProperty("wmv")] Wmv, + [JsonProperty("mp3")] Mp3, + [JsonProperty("ts")] Ts, + [JsonProperty("mp4")] Mp4, + [JsonProperty("mka")] Mka, + [JsonProperty("oga")] Oga, + [JsonProperty("mov")] Mov, + [JsonProperty("wav")] Wav, + } + + public static class AudioTrackTypeExtension + { + public static string Value(this AudioTrackType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static AudioTrackType ToEnum(this string value) + { + foreach (var field in typeof(AudioTrackType).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 AudioTrackType) + { + return (AudioTrackType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum AudioTrackType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AudioTrackTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AudioTrackTypeJson.cs deleted file mode 100644 index beaba094d..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AudioTrackTypeJson.cs +++ /dev/null @@ -1,65 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Denotes the file format of the audio track. - /// - public enum AudioTrackTypeJson - { - [JsonProperty("asf")] Asf, - [JsonProperty("wma")] Wma, - [JsonProperty("wmv")] Wmv, - [JsonProperty("mp3")] Mp3, - [JsonProperty("ts")] Ts, - [JsonProperty("mp4")] Mp4, - [JsonProperty("mka")] Mka, - [JsonProperty("oga")] Oga, - [JsonProperty("mov")] Mov, - [JsonProperty("wav")] Wav, - } - - public static class AudioTrackTypeJsonExtension - { - public static string Value(this AudioTrackTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static AudioTrackTypeJson ToEnum(this string value) - { - foreach (var field in typeof(AudioTrackTypeJson).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 AudioTrackTypeJson) - { - return (AudioTrackTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum AudioTrackTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AudioTrackVariant.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AudioTrackVariant.cs new file mode 100644 index 000000000..739750021 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AudioTrackVariant.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; + + /// + /// Denotes the variant of an audio track. Main is the primary audio track for this video. Alternate is a possible alternative to the main track. Commentary is a commentary on the primary audio or video track, e.g. a director's commentary. Dub is a translated version of the main audio track. Descriptive is an audio description of a video track. + /// + public enum AudioTrackVariant + { + [JsonProperty("Main")] Main, + [JsonProperty("Alternate")] Alternate, + [JsonProperty("Commentary")] Commentary, + [JsonProperty("Dub")] Dub, + [JsonProperty("Descriptive")] Descriptive, + } + + public static class AudioTrackVariantExtension + { + public static string Value(this AudioTrackVariant value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static AudioTrackVariant ToEnum(this string value) + { + foreach (var field in typeof(AudioTrackVariant).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 AudioTrackVariant) + { + return (AudioTrackVariant)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum AudioTrackVariant"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AudioTrackVariantJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AudioTrackVariantJson.cs deleted file mode 100644 index fc64a5f52..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AudioTrackVariantJson.cs +++ /dev/null @@ -1,60 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Denotes the variant of an audio track. Main is the primary audio track for this video. Alternate is a possible alternative to the main track. Commentary is a commentary on the primary audio or video track, e.g. a director's commentary. Dub is a translated version of the main audio track. Descriptive is an audio description of a video track. - /// - public enum AudioTrackVariantJson - { - [JsonProperty("Main")] Main, - [JsonProperty("Alternate")] Alternate, - [JsonProperty("Commentary")] Commentary, - [JsonProperty("Dub")] Dub, - [JsonProperty("Descriptive")] Descriptive, - } - - public static class AudioTrackVariantJsonExtension - { - public static string Value(this AudioTrackVariantJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static AudioTrackVariantJson ToEnum(this string value) - { - foreach (var field in typeof(AudioTrackVariantJson).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 AudioTrackVariantJson) - { - return (AudioTrackVariantJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum AudioTrackVariantJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Badge.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Badge.cs index a32b23ce6..1bd47ee23 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Badge.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Badge.cs @@ -65,12 +65,12 @@ public class Badge /// The associated Attendee. /// [JsonProperty("attendee")] - public Attendee11 Attendee { get; set; } = default!; + public Attendee12 Attendee { get; set; } = default!; /// /// The Associated Event. /// [JsonProperty("event")] - public Event21 Event { get; set; } = default!; + public Event3 Event { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BadgeInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BadgeInput.cs index 8b4de0fdf..994175458 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/BadgeInput.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/BadgeInput.cs @@ -40,12 +40,12 @@ public class BadgeInput /// The associated Attendee. /// [JsonProperty("attendee")] - public Attendee11 Attendee { get; set; } = default!; + public Attendee12 Attendee { get; set; } = default!; /// /// The Associated Event. /// [JsonProperty("event")] - public Event21 Event { get; set; } = default!; + public Event3 Event { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BidItemStatusType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BidItemStatusType.cs new file mode 100644 index 000000000..70e23969d --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/BidItemStatusType.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; + + /// + /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + /// + public enum BidItemStatusType + { + [JsonProperty("requested")] Requested, + [JsonProperty("delete_requested")] DeleteRequested, + [JsonProperty("deleted")] Deleted, + [JsonProperty("not_available")] NotAvailable, + } + + public static class BidItemStatusTypeExtension + { + public static string Value(this BidItemStatusType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static BidItemStatusType ToEnum(this string value) + { + foreach (var field in typeof(BidItemStatusType).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 BidItemStatusType) + { + return (BidItemStatusType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum BidItemStatusType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BidItemStatusTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BidItemStatusTypeJson.cs deleted file mode 100644 index e2862f6bd..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/BidItemStatusTypeJson.cs +++ /dev/null @@ -1,59 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. - /// - public enum BidItemStatusTypeJson - { - [JsonProperty("requested")] Requested, - [JsonProperty("delete_requested")] DeleteRequested, - [JsonProperty("deleted")] Deleted, - [JsonProperty("not_available")] NotAvailable, - } - - public static class BidItemStatusTypeJsonExtension - { - public static string Value(this BidItemStatusTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static BidItemStatusTypeJson ToEnum(this string value) - { - foreach (var field in typeof(BidItemStatusTypeJson).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 BidItemStatusTypeJson) - { - return (BidItemStatusTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum BidItemStatusTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BidStatusType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BidStatusType.cs new file mode 100644 index 000000000..bde6470ad --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/BidStatusType.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; + + /// + /// Bid stay type. + /// + public enum BidStatusType + { + [JsonProperty("in_progress")] InProgress, + [JsonProperty("attached")] Attached, + [JsonProperty("deleted")] Deleted, + } + + public static class BidStatusTypeExtension + { + public static string Value(this BidStatusType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static BidStatusType ToEnum(this string value) + { + foreach (var field in typeof(BidStatusType).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 BidStatusType) + { + return (BidStatusType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum BidStatusType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BidStatusTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BidStatusTypeJson.cs deleted file mode 100644 index 9283c5045..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/BidStatusTypeJson.cs +++ /dev/null @@ -1,58 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Bid stay type. - /// - public enum BidStatusTypeJson - { - [JsonProperty("in_progress")] InProgress, - [JsonProperty("attached")] Attached, - [JsonProperty("deleted")] Deleted, - } - - public static class BidStatusTypeJsonExtension - { - public static string Value(this BidStatusTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static BidStatusTypeJson ToEnum(this string value) - { - foreach (var field in typeof(BidStatusTypeJson).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 BidStatusTypeJson) - { - return (BidStatusTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum BidStatusTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BidStayType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BidStayType.cs new file mode 100644 index 000000000..c462f7ba2 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/BidStayType.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.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Bid stay type. + /// + public enum BidStayType + { + [JsonProperty("daily")] Daily, + [JsonProperty("extended")] Extended, + } + + public static class BidStayTypeExtension + { + public static string Value(this BidStayType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static BidStayType ToEnum(this string value) + { + foreach (var field in typeof(BidStayType).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 BidStayType) + { + return (BidStayType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum BidStayType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BidStayTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BidStayTypeJson.cs deleted file mode 100644 index 34a4afa5c..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/BidStayTypeJson.cs +++ /dev/null @@ -1,57 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Bid stay type. - /// - public enum BidStayTypeJson - { - [JsonProperty("daily")] Daily, - [JsonProperty("extended")] Extended, - } - - public static class BidStayTypeJsonExtension - { - public static string Value(this BidStayTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static BidStayTypeJson ToEnum(this string value) - { - foreach (var field in typeof(BidStayTypeJson).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 BidStayTypeJson) - { - return (BidStayTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum BidStayTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BillingDetails1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BillingDetails1.cs new file mode 100644 index 000000000..7453519e5 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/BillingDetails1.cs @@ -0,0 +1,51 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Billing details for RFP. + /// + public class BillingDetails1 + { + /// + /// Information regarding billing. + /// + [JsonProperty("additionalInformation")] + public string? AdditionalInformation { get; set; } + + /// + /// Concessions and contractual information. + /// + [JsonProperty("concessionsContractualInfo")] + public string? ConcessionsContractualInfo { get; set; } + + /// + /// Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will represent a percentage. + /// + [JsonProperty("rebateType")] + public RebateType? RebateType { get; set; } + + /// + /// True indicates that rebates and incentives are accepted, applicable only for citywide RFPs. + /// + [JsonProperty("acceptingRebatesAndIncentives")] + public bool? AcceptingRebatesAndIncentives { get; set; } = true; + + /// + /// The value of the rebate. The impact of this value on the price is determined by `RebateType`. + /// + [JsonProperty("rebateValue")] + public double? RebateValue { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BillingDetailsJson0.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BillingDetailsJson0.cs deleted file mode 100644 index 8bb4d8685..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/BillingDetailsJson0.cs +++ /dev/null @@ -1,51 +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; - - /// - /// Billing details for RFP. - /// - public class BillingDetailsJson0 - { - /// - /// Information regarding billing. - /// - [JsonProperty("additionalInformation")] - public string? AdditionalInformation { get; set; } - - /// - /// Concessions and contractual information. - /// - [JsonProperty("concessionsContractualInfo")] - public string? ConcessionsContractualInfo { get; set; } - - /// - /// Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will represent a percentage. - /// - [JsonProperty("rebateType")] - public RebateTypeJson? RebateType { get; set; } - - /// - /// True indicates that rebates and incentives are accepted, applicable only for citywide RFPs. - /// - [JsonProperty("acceptingRebatesAndIncentives")] - public bool? AcceptingRebatesAndIncentives { get; set; } = true; - - /// - /// The value of the rebate. The impact of this value on the price is determined by `RebateType`. - /// - [JsonProperty("rebateValue")] - public double? RebateValue { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BoothStaffRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BoothStaffRequest.cs index ec934f26b..2f32f104f 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/BoothStaffRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/BoothStaffRequest.cs @@ -22,13 +22,13 @@ public class BoothStaffRequest /// The associated Attendee. /// [JsonProperty("attendee")] - public Attendee11 Attendee { get; set; } = default!; + public Attendee12 Attendee { get; set; } = default!; /// /// The Associated Event. /// [JsonProperty("event")] - public Event21 Event { get; set; } = default!; + public Event3 Event { get; set; } = default!; /// /// The Associated Exhibitor. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BoothStaffResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BoothStaffResponse.cs index c82148f62..7ca7d1ef6 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/BoothStaffResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/BoothStaffResponse.cs @@ -47,13 +47,13 @@ public class BoothStaffResponse /// The associated Attendee. /// [JsonProperty("attendee")] - public Attendee11 Attendee { get; set; } = default!; + public Attendee12 Attendee { get; set; } = default!; /// /// The Associated Event. /// [JsonProperty("event")] - public Event21 Event { get; set; } = default!; + public Event3 Event { get; set; } = default!; /// /// The Associated Exhibitor. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BounceDetailsJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BounceDetailsJson.cs index 3bc3a3a32..c2bf9dc22 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/BounceDetailsJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/BounceDetailsJson.cs @@ -77,7 +77,7 @@ public class BounceDetailsJson /// Denotes the type of the email. /// [JsonProperty("emailType")] - public EmailTypeJson3? EmailType { get; set; } + public EmailTypeJson1? EmailType { get; set; } /// /// Unique ID of the email. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BounceDetailsResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BounceDetailsResponse.cs index f90d83746..7a254a5bf 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/BounceDetailsResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/BounceDetailsResponse.cs @@ -23,7 +23,7 @@ public class BounceDetailsResponse /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingNoTotalCountJson2 Paging { get; set; } = default!; + public PagingNoTotalCountJson Paging { get; set; } = default!; /// /// Bounce details. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Brand.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Brand.cs index cbd8c0ef7..bfaca9206 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Brand.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Brand.cs @@ -59,7 +59,7 @@ public class Brand /// A physical address. /// [JsonProperty("address")] - public AddressJson3? Address { get; set; } + public AddressJson1? Address { get; set; } /// /// True indicates the brand is deleted. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BrideGroomType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BrideGroomType.cs new file mode 100644 index 000000000..819a4bf86 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/BrideGroomType.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.Utils; + using Newtonsoft.Json; + using System; + + /// + /// BrideGroomType. + /// + public enum BrideGroomType + { + [JsonProperty("BRIDE")] Bride, + [JsonProperty("GROOM")] Groom, + } + + public static class BrideGroomTypeExtension + { + public static string Value(this BrideGroomType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static BrideGroomType ToEnum(this string value) + { + foreach (var field in typeof(BrideGroomType).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 BrideGroomType) + { + return (BrideGroomType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum BrideGroomType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BrideGroomTypeJson0.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BrideGroomTypeJson0.cs deleted file mode 100644 index 0cdc50836..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/BrideGroomTypeJson0.cs +++ /dev/null @@ -1,57 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Bride groom type. - /// - public enum BrideGroomTypeJson0 - { - [JsonProperty("BRIDE")] Bride, - [JsonProperty("GROOM")] Groom, - } - - public static class BrideGroomTypeJson0Extension - { - public static string Value(this BrideGroomTypeJson0 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static BrideGroomTypeJson0 ToEnum(this string value) - { - foreach (var field in typeof(BrideGroomTypeJson0).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 BrideGroomTypeJson0) - { - return (BrideGroomTypeJson0)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum BrideGroomTypeJson0"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BusinessType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BusinessType.cs new file mode 100644 index 000000000..7d4dad9f0 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/BusinessType.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.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Business type. + /// + public enum BusinessType + { + [JsonProperty("corporate")] Corporate, + [JsonProperty("leisure")] Leisure, + } + + public static class BusinessTypeExtension + { + public static string Value(this BusinessType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static BusinessType ToEnum(this string value) + { + foreach (var field in typeof(BusinessType).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 BusinessType) + { + return (BusinessType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum BusinessType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/BusinessTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/BusinessTypeJson.cs deleted file mode 100644 index 3ae5567c5..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/BusinessTypeJson.cs +++ /dev/null @@ -1,57 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Business type. - /// - public enum BusinessTypeJson - { - [JsonProperty("corporate")] Corporate, - [JsonProperty("leisure")] Leisure, - } - - public static class BusinessTypeJsonExtension - { - public static string Value(this BusinessTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static BusinessTypeJson ToEnum(this string value) - { - foreach (var field in typeof(BusinessTypeJson).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 BusinessTypeJson) - { - return (BusinessTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum BusinessTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CancellationDetails.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CancellationDetails.cs new file mode 100644 index 000000000..a8a0dd658 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/CancellationDetails.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; + using System; + + /// + /// Information about cancellation of RFP. + /// + public class CancellationDetails + { + /// + /// The ISO 8601 date time (in UTC) when RFP was cancelled. + /// + [JsonProperty("dateTime")] + public DateTime? DateTime { get; set; } + + /// + /// Reason for cancelling the RFP. + /// + [JsonProperty("reason")] + public CancelledReason1? Reason { get; set; } + + /// + /// Additional comments while cancelling the RFP. + /// + [JsonProperty("comments")] + public string? Comments { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CancellationDetailsJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CancellationDetailsJson.cs deleted file mode 100644 index b2f4f1fb3..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/CancellationDetailsJson.cs +++ /dev/null @@ -1,40 +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; - using System; - - /// - /// Information about cancellation of RFP. - /// - public class CancellationDetailsJson - { - /// - /// The ISO 8601 date time (in UTC) when RFP was cancelled. - /// - [JsonProperty("dateTime")] - public DateTime? DateTime { get; set; } - - /// - /// Reason for cancelling the RFP. - /// - [JsonProperty("reason")] - public CancelledReasonJson0? Reason { get; set; } - - /// - /// Additional comments while cancelling the RFP. - /// - [JsonProperty("comments")] - public string? Comments { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CancelledReason1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CancelledReason1.cs new file mode 100644 index 000000000..6ed63acd1 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/CancelledReason1.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Reason for cancelling the RFP. + /// + public enum CancelledReason1 + { + [JsonProperty("BOOKED_ANOTHER_VENUE_OR_DESTINATION")] BookedAnotherVenueOrDestination, + [JsonProperty("CLIENT_BOOKED_DIRECTLY")] ClientBookedDirectly, + [JsonProperty("EPIDEMIC_OR_PANDEMIC")] EpidemicOrPandemic, + [JsonProperty("EVENT_CANCELLED")] EventCancelled, + [JsonProperty("EVENT_POSTPONED")] EventPostponed, + [JsonProperty("MEDICAL_EMERGENCY")] MedicalEmergency, + [JsonProperty("NATURAL_DISASTER")] NaturalDisaster, + [JsonProperty("OTHER")] Other, + [JsonProperty("POLITICAL_OR_CIVIL_UNREST")] PoliticalOrCivilUnrest, + [JsonProperty("REQUIREMENTS_CHANGED")] RequirementsChanged, + } + + public static class CancelledReason1Extension + { + public static string Value(this CancelledReason1 value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static CancelledReason1 ToEnum(this string value) + { + foreach (var field in typeof(CancelledReason1).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 CancelledReason1) + { + return (CancelledReason1)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum CancelledReason1"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CancelledReasonJson0.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CancelledReasonJson0.cs deleted file mode 100644 index 4e937d2ab..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/CancelledReasonJson0.cs +++ /dev/null @@ -1,65 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Reason for cancelling the RFP. - /// - public enum CancelledReasonJson0 - { - [JsonProperty("BOOKED_ANOTHER_VENUE_OR_DESTINATION")] BookedAnotherVenueOrDestination, - [JsonProperty("CLIENT_BOOKED_DIRECTLY")] ClientBookedDirectly, - [JsonProperty("EPIDEMIC_OR_PANDEMIC")] EpidemicOrPandemic, - [JsonProperty("EVENT_CANCELLED")] EventCancelled, - [JsonProperty("EVENT_POSTPONED")] EventPostponed, - [JsonProperty("MEDICAL_EMERGENCY")] MedicalEmergency, - [JsonProperty("NATURAL_DISASTER")] NaturalDisaster, - [JsonProperty("OTHER")] Other, - [JsonProperty("POLITICAL_OR_CIVIL_UNREST")] PoliticalOrCivilUnrest, - [JsonProperty("REQUIREMENTS_CHANGED")] RequirementsChanged, - } - - public static class CancelledReasonJson0Extension - { - public static string Value(this CancelledReasonJson0 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static CancelledReasonJson0 ToEnum(this string value) - { - foreach (var field in typeof(CancelledReasonJson0).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 CancelledReasonJson0) - { - return (CancelledReasonJson0)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum CancelledReasonJson0"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Category.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Category.cs new file mode 100644 index 000000000..057ab9d38 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Category.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; + + /// + /// A question category. + /// + public class Category + { + /// + /// Text field ID. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// Text value of the field. Displays to users in the UI. + /// + [JsonProperty("text")] + public string? Text { get; set; } + + /// + /// Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. + /// + [JsonProperty("shortText")] + public string? ShortText { get; set; } + + /// + /// True indicates the category is mandatory for answer. + /// + [JsonProperty("required")] + public bool? Required { get; set; } = false; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CategoryIdNameJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CategoryIdNameJson.cs deleted file mode 100644 index f1a2a3777..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/CategoryIdNameJson.cs +++ /dev/null @@ -1,32 +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.Utils; - using Newtonsoft.Json; - - /// - /// A defined speaker category. - /// - public class CategoryIdNameJson - { - /// - /// A string that has to be a format matching the industry standard uuid. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; - - /// - /// The name of the speaker category. - /// - [JsonProperty("name")] - public string? Name { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CategoryItemsCostJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CategoryItemsCostJson.cs index e48d6def6..732500339 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/CategoryItemsCostJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/CategoryItemsCostJson.cs @@ -37,6 +37,6 @@ public class CategoryItemsCostJson /// List of categories. /// [JsonProperty("categories")] - public List? Categories { get; set; } + public List? Categories { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CategoryJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CategoryJson.cs index a7767d861..e6c01fd68 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/CategoryJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/CategoryJson.cs @@ -9,36 +9,38 @@ #nullable enable namespace Cvent.SDK.Models.Components { + using Cvent.SDK.Models.Components; using Cvent.SDK.Utils; using Newtonsoft.Json; + using System.Collections.Generic; /// - /// A question category. + /// A category of items. /// public class CategoryJson { /// - /// Text field ID. + /// The category type. /// - [JsonProperty("id")] - public string? Id { get; set; } + [JsonProperty("type")] + public string? Type { get; set; } /// - /// Text value of the field. Displays to users in the UI. + /// The name of the category. /// - [JsonProperty("text")] - public string? Text { get; set; } + [JsonProperty("name")] + public string? Name { get; set; } /// - /// Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. + /// Total cost for all items within this category. /// - [JsonProperty("shortText")] - public string? ShortText { get; set; } + [JsonProperty("totalCost")] + public double? TotalCost { get; set; } /// - /// True indicates the category is mandatory for answer. + /// List of items in this category. /// - [JsonProperty("required")] - public bool? Required { get; set; } = false; + [JsonProperty("items")] + public List? Items { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CategoryJson1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CategoryJson1.cs index e083a3c5d..8efad0f2d 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/CategoryJson1.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/CategoryJson1.cs @@ -9,38 +9,36 @@ #nullable enable namespace Cvent.SDK.Models.Components { - using Cvent.SDK.Models.Components; using Cvent.SDK.Utils; using Newtonsoft.Json; - using System.Collections.Generic; /// - /// A category of items. + /// A survey category. /// public class CategoryJson1 { /// - /// The category type. + /// Text field ID. /// - [JsonProperty("type")] - public string? Type { get; set; } + [JsonProperty("id")] + public string? Id { get; set; } /// - /// The name of the category. + /// text Value of the Field. /// - [JsonProperty("name")] - public string? Name { get; set; } + [JsonProperty("text")] + public string? Text { get; set; } /// - /// Total cost for all items within this category. + /// Reporting value of the Category, Its like a custom abbreviation. /// - [JsonProperty("totalCost")] - public double? TotalCost { get; set; } + [JsonProperty("shortText")] + public string? ShortText { get; set; } /// - /// List of items in this category. + /// is the category mandatory for answer. /// - [JsonProperty("items")] - public List? Items { get; set; } + [JsonProperty("required")] + public bool? Required { get; set; } = false; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CategoryJson2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CategoryJson2.cs deleted file mode 100644 index 352793e21..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/CategoryJson2.cs +++ /dev/null @@ -1,44 +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.Utils; - using Newtonsoft.Json; - - /// - /// A survey category. - /// - public class CategoryJson2 - { - /// - /// Text field ID. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// text Value of the Field. - /// - [JsonProperty("text")] - public string? Text { get; set; } - - /// - /// Reporting value of the Category, Its like a custom abbreviation. - /// - [JsonProperty("shortText")] - public string? ShortText { get; set; } - - /// - /// is the category mandatory for answer. - /// - [JsonProperty("required")] - public bool? Required { get; set; } = false; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Chain.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Chain.cs index 17320be33..44f635f9d 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Chain.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Chain.cs @@ -71,7 +71,7 @@ public class Chain /// A physical address. /// [JsonProperty("address")] - public AddressJson3? Address { get; set; } + public AddressJson1? Address { get; set; } /// /// True indicates the chain is deleted. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Choice.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Choice.cs index e683169f7..d1e503727 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Choice.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Choice.cs @@ -13,22 +13,28 @@ namespace Cvent.SDK.Models.Components using Newtonsoft.Json; /// - /// A schema representing a choice object. + /// A question choice. /// public class Choice { /// - /// Unique identifier for the choice. + /// Text field ID. /// [JsonProperty("id")] public string? Id { get; set; } /// - /// Text value of the field. + /// Text value of the field. Displays to users in the UI. /// [JsonProperty("text")] public string? Text { get; set; } + /// + /// Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. + /// + [JsonProperty("shortText")] + public string? ShortText { get; set; } + /// /// Label of choice. /// diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Choice1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Choice1.cs new file mode 100644 index 000000000..d7bf8d33c --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Choice1.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 schema representing a choice object. + /// + public class Choice1 + { + /// + /// Unique identifier for the choice. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// Text value of the field. + /// + [JsonProperty("text")] + public string? Text { get; set; } + + /// + /// Label of choice. + /// + [JsonProperty("label")] + public string? Label { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceJson.cs deleted file mode 100644 index afab38d59..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceJson.cs +++ /dev/null @@ -1,44 +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.Utils; - using Newtonsoft.Json; - - /// - /// A question choice. - /// - public class ChoiceJson - { - /// - /// Text field ID. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// Text value of the field. Displays to users in the UI. - /// - [JsonProperty("text")] - public string? Text { get; set; } - - /// - /// Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. - /// - [JsonProperty("shortText")] - public string? ShortText { get; set; } - - /// - /// Label of choice. - /// - [JsonProperty("label")] - public string? Label { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceJson1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceJson1.cs new file mode 100644 index 000000000..c93929e28 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceJson1.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; + + /// + /// A survey choice. + /// + public class ChoiceJson1 + { + /// + /// Text field ID. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// text Value of the Field. + /// + [JsonProperty("text")] + public string? Text { get; set; } + + /// + /// Reporting value of the Category, Its like a custom abbreviation. + /// + [JsonProperty("shortText")] + public string? ShortText { get; set; } + + /// + /// Label of choice. + /// + [JsonProperty("label")] + public string? Label { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceJson2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceJson2.cs index 9946a953a..c1ec1967b 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceJson2.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceJson2.cs @@ -13,32 +13,20 @@ namespace Cvent.SDK.Models.Components using Newtonsoft.Json; /// - /// A survey choice. + /// This is used to denote the choice of custom field. /// public class ChoiceJson2 { /// - /// Text field ID. + /// The ID of the custom field choice. If you supply the choice's existing ID in a PUT call, the choice keeps its current ID and the choice text is updated. If this `id` field is left blank in a PUT call, this choice text will be replaced with the text supplied, and a new choice ID is created. /// [JsonProperty("id")] public string? Id { get; set; } /// - /// text Value of the Field. + /// The text for the custom field choice. /// [JsonProperty("text")] - public string? Text { get; set; } - - /// - /// Reporting value of the Category, Its like a custom abbreviation. - /// - [JsonProperty("shortText")] - public string? ShortText { get; set; } - - /// - /// Label of choice. - /// - [JsonProperty("label")] - public string? Label { get; set; } + public string Text { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceJson2Input.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceJson2Input.cs new file mode 100644 index 000000000..fb9e2285e --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceJson2Input.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// This is used to denote the choice of custom field. + /// + public class ChoiceJson2Input + { + /// + /// The text for the custom field choice. + /// + [JsonProperty("text")] + public string Text { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceJson3.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceJson3.cs deleted file mode 100644 index 5912a8d75..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceJson3.cs +++ /dev/null @@ -1,32 +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.Utils; - using Newtonsoft.Json; - - /// - /// This is used to denote the choice of custom field. - /// - public class ChoiceJson3 - { - /// - /// The ID of the custom field choice. If you supply the choice's existing ID in a PUT call, the choice keeps its current ID and the choice text is updated. If this `id` field is left blank in a PUT call, this choice text will be replaced with the text supplied, and a new choice ID is created. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// The text for the custom field choice. - /// - [JsonProperty("text")] - public string Text { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceJson3Input.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceJson3Input.cs deleted file mode 100644 index dc5edb06f..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceJson3Input.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// This is used to denote the choice of custom field. - /// - public class ChoiceJson3Input - { - /// - /// The text for the custom field choice. - /// - [JsonProperty("text")] - public string Text { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceSortOrder.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceSortOrder.cs new file mode 100644 index 000000000..09859bc6f --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceSortOrder.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; + + /// + /// The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: Sorted in the order they were added, oldest choices first. `Random`: Random sort. + /// + public enum ChoiceSortOrder + { + [JsonProperty("AToZ")] AToZ, + [JsonProperty("AsEntered")] AsEntered, + [JsonProperty("Random")] Random, + } + + public static class ChoiceSortOrderExtension + { + public static string Value(this ChoiceSortOrder value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static ChoiceSortOrder ToEnum(this string value) + { + foreach (var field in typeof(ChoiceSortOrder).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 ChoiceSortOrder) + { + return (ChoiceSortOrder)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum ChoiceSortOrder"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceSortOrderJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceSortOrderJson.cs deleted file mode 100644 index 8b1bdda3c..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ChoiceSortOrderJson.cs +++ /dev/null @@ -1,58 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: Sorted in the order they were added, oldest choices first. `Random`: Random sort. - /// - public enum ChoiceSortOrderJson - { - [JsonProperty("AToZ")] AToZ, - [JsonProperty("AsEntered")] AsEntered, - [JsonProperty("Random")] Random, - } - - public static class ChoiceSortOrderJsonExtension - { - public static string Value(this ChoiceSortOrderJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static ChoiceSortOrderJson ToEnum(this string value) - { - foreach (var field in typeof(ChoiceSortOrderJson).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 ChoiceSortOrderJson) - { - return (ChoiceSortOrderJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum ChoiceSortOrderJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Choices.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Choices.cs index cc2791f49..753d74783 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Choices.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Choices.cs @@ -23,7 +23,7 @@ public class Choices /// Choices of custom fields. /// [JsonProperty("choices")] - public List? ChoicesValue { get; set; } + public List? ChoicesValue { get; set; } /// /// Display type indicating how to display the choices on UI. For 'Choice - Single Answer' custom field type, this defaults to Dropdown. For 'Choice - Multiple Answers' custom field type, this defaults to MultiSelectBox. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CommentType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CommentType.cs new file mode 100644 index 000000000..8c35f170a --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/CommentType.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; + + /// + /// Bid comment type. + /// + public enum CommentType + { + [JsonProperty("promotions")] Promotions, + [JsonProperty("special_offers")] SpecialOffers, + [JsonProperty("child_policies")] ChildPolicies, + [JsonProperty("other_information")] OtherInformation, + [JsonProperty("internal_comments")] InternalComments, + } + + public static class CommentTypeExtension + { + public static string Value(this CommentType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static CommentType ToEnum(this string value) + { + foreach (var field in typeof(CommentType).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 CommentType) + { + return (CommentType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum CommentType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CommentTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CommentTypeJson.cs deleted file mode 100644 index 24b4c9155..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/CommentTypeJson.cs +++ /dev/null @@ -1,60 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Bid comment type. - /// - public enum CommentTypeJson - { - [JsonProperty("promotions")] Promotions, - [JsonProperty("special_offers")] SpecialOffers, - [JsonProperty("child_policies")] ChildPolicies, - [JsonProperty("other_information")] OtherInformation, - [JsonProperty("internal_comments")] InternalComments, - } - - public static class CommentTypeJsonExtension - { - public static string Value(this CommentTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static CommentTypeJson ToEnum(this string value) - { - foreach (var field in typeof(CommentTypeJson).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 CommentTypeJson) - { - return (CommentTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum CommentTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Compliance.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Compliance.cs index 07a331ff4..1e4375157 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Compliance.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Compliance.cs @@ -29,18 +29,18 @@ public class Compliance /// Scope of privacy compliance. /// [JsonProperty("complianceScope")] - public ComplianceComplianceScope? ComplianceScope { get; set; } + public ComplianceScope? ComplianceScope { get; set; } /// /// Action to take for a compliance request. /// [JsonProperty("action")] - public ComplianceAction? Action { get; set; } + public Action? Action { get; set; } /// /// Denotes how the compliance request was created. /// [JsonProperty("createdBy")] - public ComplianceCreatedBy? CreatedBy { get; set; } + public CreatedBy? CreatedBy { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ComplianceAction.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ComplianceAction.cs deleted file mode 100644 index 33a1246b3..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ComplianceAction.cs +++ /dev/null @@ -1,57 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Action to take for a compliance request. - /// - public enum ComplianceAction - { - [JsonProperty("DO_NOT_SELL")] DoNotSell, - [JsonProperty("OK_TO_SELL")] OkToSell, - } - - public static class ComplianceActionExtension - { - public static string Value(this ComplianceAction value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static ComplianceAction ToEnum(this string value) - { - foreach (var field in typeof(ComplianceAction).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 ComplianceAction) - { - return (ComplianceAction)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum ComplianceAction"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ComplianceComplianceScope.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ComplianceComplianceScope.cs deleted file mode 100644 index bffc9063c..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ComplianceComplianceScope.cs +++ /dev/null @@ -1,56 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Scope of privacy compliance. - /// - public enum ComplianceComplianceScope - { - [JsonProperty("CCPA")] Ccpa, - } - - public static class ComplianceComplianceScopeExtension - { - public static string Value(this ComplianceComplianceScope value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static ComplianceComplianceScope ToEnum(this string value) - { - foreach (var field in typeof(ComplianceComplianceScope).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 ComplianceComplianceScope) - { - return (ComplianceComplianceScope)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum ComplianceComplianceScope"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ComplianceCreatedBy.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ComplianceCreatedBy.cs deleted file mode 100644 index 1695784e8..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ComplianceCreatedBy.cs +++ /dev/null @@ -1,65 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Denotes how the compliance request was created. - /// - public enum ComplianceCreatedBy - { - [JsonProperty("ATTENDEE")] Attendee, - [JsonProperty("PLANNER")] Planner, - [JsonProperty("IMPORT")] Import, - [JsonProperty("SOAP_API")] SoapApi, - [JsonProperty("REST_API")] RestApi, - [JsonProperty("MARKETO")] Marketo, - [JsonProperty("SALEFORCE")] Saleforce, - [JsonProperty("VIDEO_CENTER_MEMBER")] VideoCenterMember, - [JsonProperty("RESPONDENT")] Respondent, - [JsonProperty("NOT_SET")] NotSet, - } - - public static class ComplianceCreatedByExtension - { - public static string Value(this ComplianceCreatedBy value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static ComplianceCreatedBy ToEnum(this string value) - { - foreach (var field in typeof(ComplianceCreatedBy).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 ComplianceCreatedBy) - { - return (ComplianceCreatedBy)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum ComplianceCreatedBy"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ComplianceJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ComplianceJson.cs deleted file mode 100644 index 0ce1ebabf..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ComplianceJson.cs +++ /dev/null @@ -1,46 +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; - using System; - - /// - /// Privacy compliance fields for a contact. - /// - public class ComplianceJson - { - /// - /// Date-time (in GMT) when privacy compliance details were created for the contact. - /// - [JsonProperty("creationTime")] - public DateTime? CreationTime { get; set; } - - /// - /// Scope of privacy compliance. - /// - [JsonProperty("complianceScope")] - public ComplianceJsonComplianceScope? ComplianceScope { get; set; } - - /// - /// Action to take for a compliance request. - /// - [JsonProperty("action")] - public ComplianceJsonAction? Action { get; set; } - - /// - /// Denotes how the compliance request was created. - /// - [JsonProperty("createdBy")] - public ComplianceJsonCreatedBy? CreatedBy { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ComplianceJsonAction.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ComplianceJsonAction.cs deleted file mode 100644 index e319d82b0..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ComplianceJsonAction.cs +++ /dev/null @@ -1,57 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Action to take for a compliance request. - /// - public enum ComplianceJsonAction - { - [JsonProperty("DO_NOT_SELL")] DoNotSell, - [JsonProperty("OK_TO_SELL")] OkToSell, - } - - public static class ComplianceJsonActionExtension - { - public static string Value(this ComplianceJsonAction value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static ComplianceJsonAction ToEnum(this string value) - { - foreach (var field in typeof(ComplianceJsonAction).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 ComplianceJsonAction) - { - return (ComplianceJsonAction)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum ComplianceJsonAction"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ComplianceJsonComplianceScope.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ComplianceJsonComplianceScope.cs deleted file mode 100644 index 557972f72..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ComplianceJsonComplianceScope.cs +++ /dev/null @@ -1,56 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Scope of privacy compliance. - /// - public enum ComplianceJsonComplianceScope - { - [JsonProperty("CCPA")] Ccpa, - } - - public static class ComplianceJsonComplianceScopeExtension - { - public static string Value(this ComplianceJsonComplianceScope value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static ComplianceJsonComplianceScope ToEnum(this string value) - { - foreach (var field in typeof(ComplianceJsonComplianceScope).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 ComplianceJsonComplianceScope) - { - return (ComplianceJsonComplianceScope)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum ComplianceJsonComplianceScope"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ComplianceJsonCreatedBy.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ComplianceJsonCreatedBy.cs deleted file mode 100644 index 890f2d715..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ComplianceJsonCreatedBy.cs +++ /dev/null @@ -1,65 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Denotes how the compliance request was created. - /// - public enum ComplianceJsonCreatedBy - { - [JsonProperty("ATTENDEE")] Attendee, - [JsonProperty("PLANNER")] Planner, - [JsonProperty("IMPORT")] Import, - [JsonProperty("SOAP_API")] SoapApi, - [JsonProperty("REST_API")] RestApi, - [JsonProperty("MARKETO")] Marketo, - [JsonProperty("SALEFORCE")] Saleforce, - [JsonProperty("VIDEO_CENTER_MEMBER")] VideoCenterMember, - [JsonProperty("RESPONDENT")] Respondent, - [JsonProperty("NOT_SET")] NotSet, - } - - public static class ComplianceJsonCreatedByExtension - { - public static string Value(this ComplianceJsonCreatedBy value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static ComplianceJsonCreatedBy ToEnum(this string value) - { - foreach (var field in typeof(ComplianceJsonCreatedBy).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 ComplianceJsonCreatedBy) - { - return (ComplianceJsonCreatedBy)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum ComplianceJsonCreatedBy"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ComplianceScope.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ComplianceScope.cs new file mode 100644 index 000000000..73f3bd444 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ComplianceScope.cs @@ -0,0 +1,56 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Scope of privacy compliance. + /// + public enum ComplianceScope + { + [JsonProperty("CCPA")] Ccpa, + } + + public static class ComplianceScopeExtension + { + public static string Value(this ComplianceScope value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static ComplianceScope ToEnum(this string value) + { + foreach (var field in typeof(ComplianceScope).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 ComplianceScope) + { + return (ComplianceScope)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum ComplianceScope"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ConflictResolution.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ConflictResolution.cs index a44d82de2..1a734975e 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ConflictResolution.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ConflictResolution.cs @@ -23,13 +23,13 @@ public class ConflictResolution /// For each event (designated by event id), choose a contact id whose linked attendee will be associated with the resulting merged contact. Use whenever at least two contacts exist as attendees in a single event. /// [JsonProperty("events")] - public List? Events { get; set; } + public List? Events { get; set; } /// /// For each survey (designated by survey id), choose a contact id whose linked respondent will be associated with the resulting merged contact. Use whenever at least two contacts exist as respondents in a single survey. /// [JsonProperty("surveys")] - public List? Surveys { get; set; } + public List? Surveys { get; set; } /// /// The id of the contact to keep the relationships of in the resulting merged contact. Only one contact can be chosen, and relationships of the other contact(s) will be discarded. @@ -41,6 +41,6 @@ public class ConflictResolution /// Specify which contact to use values from for any contact field. /// [JsonProperty("contactFields")] - public List? ContactFields { get; set; } + public List? ContactFields { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Contact.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Contact.cs index d84561c67..bd3e69357 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Contact.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Contact.cs @@ -84,7 +84,7 @@ public class Contact /// The gender of the contact. /// [JsonProperty("gender")] - public GenderJson? Gender { get; set; } + public Gender? Gender { get; set; } /// /// The company/organization the contact belongs to. @@ -108,25 +108,25 @@ public class Contact /// Contains details related to the attendee's contact type. /// [JsonProperty("type")] - public AttendeeContactTypeJson? Type { get; set; } + public AttendeeContactType? Type { get; set; } /// /// Contact Membership information. /// [JsonProperty("membership")] - public MembershipJson? Membership { get; set; } + public ContactMembership? Membership { get; set; } /// /// The type of address. /// [JsonProperty("primaryAddressType")] - public AddressTypeJson? PrimaryAddressType { get; set; } + public AddressType? PrimaryAddressType { get; set; } /// /// Contact address details. /// [JsonProperty("homeAddress")] - public AddressJson? HomeAddress { get; set; } + public Address? HomeAddress { get; set; } /// /// The phone number of the contact at their place of residence. @@ -144,7 +144,7 @@ public class Contact /// Contact address details. /// [JsonProperty("workAddress")] - public AddressJson? WorkAddress { get; set; } + public Address? WorkAddress { get; set; } /// /// The phone number of the contact at their place of work. @@ -180,7 +180,7 @@ public class Contact /// Detail related to compliance with the contact's privacy rights under various legislation. /// [JsonProperty("compliance")] - public List? Compliance { get; set; } + public List? Compliance { get; set; } /// /// Denotes what is traditionally a title of an individual. @@ -210,7 +210,7 @@ public class Contact /// Details of an opt-out for a Contact. /// [JsonProperty("optOut")] - public OptOutJson? OptOut { get; set; } + public ContactOptOut? OptOut { get; set; } /// /// Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. @@ -222,7 +222,7 @@ public class Contact /// Collection of social media links for the contact. /// [JsonProperty("_links")] - public ContactLinksJson? Links { get; set; } + public ContactLinks? Links { get; set; } /// /// The date of birth of the contact.
@@ -245,7 +245,7 @@ public class Contact /// This entity represents a contact's passport information. ///
[JsonProperty("passport")] - public PassportJson? Passport { get; set; } + public Passport? Passport { get; set; } /// /// The social security number of the contact.
diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Contact1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Contact1.cs new file mode 100644 index 000000000..22f6bcbbd --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Contact1.cs @@ -0,0 +1,82 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Contact details of planner. + /// + public class Contact1 + { + /// + /// The first name of the planner. + /// + [JsonProperty("firstName")] + public string FirstName { get; set; } = default!; + + /// + /// The last name of the planner. + /// + [JsonProperty("lastName")] + public string LastName { get; set; } = default!; + + /// + /// Email address of the planner. + /// + [JsonProperty("email")] + public string Email { get; set; } = default!; + + /// + /// Address details. + /// + [JsonProperty("address")] + public Address1? Address { get; set; } + + /// + /// Rate of commission chargeable by the planner. Precision up to 2 decimal places is accepted. + /// + [JsonProperty("commissionRate")] + public double? CommissionRate { get; set; } + + /// + /// True indicates commission is to be charged from supplier. + /// + [JsonProperty("commissionable")] + public bool? Commissionable { get; set; } + + /// + /// Phone number of the planner. + /// + [JsonProperty("phone")] + public string Phone { get; set; } = default!; + + /// + /// Name of the organization. + /// + [JsonProperty("organizationName")] + public string OrganizationName { get; set; } = default!; + + /// + /// True indicates planner is a third party planner. + /// + [JsonProperty("thirdPartyPlanner")] + public bool? ThirdPartyPlanner { get; set; } + + /// + /// List of preferred contact methods for the planner. + /// + [JsonProperty("preferredContactMethods")] + public List? PreferredContactMethods { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Contact2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Contact2.cs new file mode 100644 index 000000000..33e7bfbcd --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Contact2.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The contact details who watched a video. + /// + public class Contact2 + { + /// + /// The unique ID of the contact who watched a video. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactBulkItemJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactBulkItemJson.cs deleted file mode 100644 index 76f7dfd9a..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactBulkItemJson.cs +++ /dev/null @@ -1,43 +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; - using System.Collections.Generic; - - /// - /// This entity is used to represent a single item that is returned as part of a Bulk request call. - /// - public class ContactBulkItemJson - { - [JsonProperty("data", NullValueHandling = NullValueHandling.Include)] - public ContactBulkItemJsonData Data { get; set; } = default!; - - /// - /// http status code representing processing status of a single item. - /// - [JsonProperty("status")] - public long Status { get; set; } = default!; - - /// - /// Quick description of what happened with processing. - /// - [JsonProperty("message")] - public string? Message { get; set; } - - /// - /// The processed request tied to this response. This field is only sent when processing fails. - /// - [JsonProperty("request")] - public Dictionary? Request { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactBulkItemJsonData.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactBulkItemJsonData.cs deleted file mode 100644 index 47cca6d3e..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactBulkItemJsonData.cs +++ /dev/null @@ -1,211 +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; - using Newtonsoft.Json.Linq; - using System; - using System.Collections.Generic; - using System.Numerics; - using System.Reflection; - - public class ContactBulkItemJsonDataType - { - private ContactBulkItemJsonDataType(string value) - { - Value = value; - } - - public string Value { get; private set; } - - public static ContactBulkItemJsonDataType ZeroAllOf7 - { - get { - return new ContactBulkItemJsonDataType("0_AllOf_7"); - } - } - - public static ContactBulkItemJsonDataType ErrorResponse1 - { - get { - return new ContactBulkItemJsonDataType("error-response_1"); - } - } - - public override string ToString() - { - return Value; - } - public static implicit operator String(ContactBulkItemJsonDataType v) - { - return v.Value; - } - public static ContactBulkItemJsonDataType FromString(string v) - { - switch (v) - { - case "0_AllOf_7": - return ZeroAllOf7; - case "error-response_1": - return ErrorResponse1; - default: - throw new ArgumentException("Invalid value for ContactBulkItemJsonDataType"); - } - } - public override bool Equals(object? obj) - { - if (obj == null || GetType() != obj.GetType()) - { - return false; - } - return Value.Equals(((ContactBulkItemJsonDataType)obj).Value); - } - - public override int GetHashCode() - { - return Value.GetHashCode(); - } - } - - [JsonConverter(typeof(ContactBulkItemJsonData.ContactBulkItemJsonDataConverter))] - public class ContactBulkItemJsonData - { - public ContactBulkItemJsonData(ContactBulkItemJsonDataType type) - { - Type = type; - } - - [SpeakeasyMetadata("form:explode=true")] - public ZeroAllOf7? ZeroAllOf7 { get; set; } - - [SpeakeasyMetadata("form:explode=true")] - public Models.Components.ErrorResponse1? ErrorResponse1 { get; set; } - - public ContactBulkItemJsonDataType Type { get; set; } - public static ContactBulkItemJsonData CreateZeroAllOf7(ZeroAllOf7 zeroAllOf7) - { - ContactBulkItemJsonDataType typ = ContactBulkItemJsonDataType.ZeroAllOf7; - - ContactBulkItemJsonData res = new ContactBulkItemJsonData(typ); - res.ZeroAllOf7 = zeroAllOf7; - return res; - } - public static ContactBulkItemJsonData CreateErrorResponse1(Models.Components.ErrorResponse1 errorResponse1) - { - ContactBulkItemJsonDataType typ = ContactBulkItemJsonDataType.ErrorResponse1; - - ContactBulkItemJsonData res = new ContactBulkItemJsonData(typ); - res.ErrorResponse1 = errorResponse1; - return res; - } - - public class ContactBulkItemJsonDataConverter : JsonConverter - { - public override bool CanConvert(System.Type objectType) => objectType == typeof(ContactBulkItemJsonData); - - public override bool CanRead => true; - - public override object? ReadJson(JsonReader reader, System.Type objectType, object? existingValue, JsonSerializer serializer) - { - if (reader.TokenType == JsonToken.Null) - { - throw new InvalidOperationException("Received unexpected null JSON value"); - } - - var json = JRaw.Create(reader).ToString(); - var fallbackCandidates = new List<(System.Type, object, string)>(); - - try - { - return new ContactBulkItemJsonData(ContactBulkItemJsonDataType.ErrorResponse1) { - ErrorResponse1 = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(Models.Components.ErrorResponse1), new ContactBulkItemJsonData(ContactBulkItemJsonDataType.ErrorResponse1), "ErrorResponse1")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - try - { - return new ContactBulkItemJsonData(ContactBulkItemJsonDataType.ZeroAllOf7) { - ZeroAllOf7 = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) - }; - } - catch (ResponseBodyDeserializer.MissingMemberException) - { - fallbackCandidates.Add((typeof(ZeroAllOf7), new ContactBulkItemJsonData(ContactBulkItemJsonDataType.ZeroAllOf7), "ZeroAllOf7")); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next option - } - catch (Exception) - { - throw; - } - - if (fallbackCandidates.Count > 0) - { - fallbackCandidates.Sort((a, b) => ResponseBodyDeserializer.CompareFallbackCandidates(a.Item1, b.Item1, json)); - foreach (var (deserializationType, returnObject, propertyName) in fallbackCandidates) - { - try - { - return ResponseBodyDeserializer.DeserializeUndiscriminatedUnionFallback(deserializationType, returnObject, propertyName, json); - } - catch (ResponseBodyDeserializer.DeserializationException) - { - // try next fallback option - } - catch (Exception) - { - throw; - } - } - } - - throw new InvalidOperationException("Could not deserialize into any supported types."); - } - - public override void WriteJson(JsonWriter writer, object? value, JsonSerializer serializer) - { - if (value == null) - { - throw new InvalidOperationException("Unexpected null JSON value."); - } - - ContactBulkItemJsonData res = (ContactBulkItemJsonData)value; - - if (res.ZeroAllOf7 != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.ZeroAllOf7)); - return; - } - - if (res.ErrorResponse1 != null) - { - writer.WriteRawValue(Utilities.SerializeJSON(res.ErrorResponse1)); - return; - } - } - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactBulkResponseItem.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactBulkResponseItem.cs new file mode 100644 index 000000000..663587bd5 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactBulkResponseItem.cs @@ -0,0 +1,43 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// This entity is used to represent a single item that is returned as part of a Bulk request call. + /// + public class ContactBulkResponseItem + { + [JsonProperty("data", NullValueHandling = NullValueHandling.Include)] + public ContactBulkResponseItemData Data { get; set; } = default!; + + /// + /// http status code representing processing status of a single item. + /// + [JsonProperty("status")] + public long Status { get; set; } = default!; + + /// + /// Quick description of what happened with processing. + /// + [JsonProperty("message")] + public string? Message { get; set; } + + /// + /// The processed request tied to this response. This field is only sent when processing fails. + /// + [JsonProperty("request")] + public Dictionary? Request { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactBulkResponseItemData.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactBulkResponseItemData.cs new file mode 100644 index 000000000..1e763ff2f --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactBulkResponseItemData.cs @@ -0,0 +1,211 @@ +//------------------------------------------------------------------------------ +// +// 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 Newtonsoft.Json.Linq; + using System; + using System.Collections.Generic; + using System.Numerics; + using System.Reflection; + + public class ContactBulkResponseItemDataType + { + private ContactBulkResponseItemDataType(string value) + { + Value = value; + } + + public string Value { get; private set; } + + public static ContactBulkResponseItemDataType Contact + { + get { + return new ContactBulkResponseItemDataType("contact"); + } + } + + public static ContactBulkResponseItemDataType ErrorResponse1 + { + get { + return new ContactBulkResponseItemDataType("ErrorResponse_1"); + } + } + + public override string ToString() + { + return Value; + } + public static implicit operator String(ContactBulkResponseItemDataType v) + { + return v.Value; + } + public static ContactBulkResponseItemDataType FromString(string v) + { + switch (v) + { + case "contact": + return Contact; + case "ErrorResponse_1": + return ErrorResponse1; + default: + throw new ArgumentException("Invalid value for ContactBulkResponseItemDataType"); + } + } + public override bool Equals(object? obj) + { + if (obj == null || GetType() != obj.GetType()) + { + return false; + } + return Value.Equals(((ContactBulkResponseItemDataType)obj).Value); + } + + public override int GetHashCode() + { + return Value.GetHashCode(); + } + } + + [JsonConverter(typeof(ContactBulkResponseItemData.ContactBulkResponseItemDataConverter))] + public class ContactBulkResponseItemData + { + public ContactBulkResponseItemData(ContactBulkResponseItemDataType type) + { + Type = type; + } + + [SpeakeasyMetadata("form:explode=true")] + public Contact? Contact { get; set; } + + [SpeakeasyMetadata("form:explode=true")] + public Models.Components.ErrorResponse1? ErrorResponse1 { get; set; } + + public ContactBulkResponseItemDataType Type { get; set; } + public static ContactBulkResponseItemData CreateContact(Contact contact) + { + ContactBulkResponseItemDataType typ = ContactBulkResponseItemDataType.Contact; + + ContactBulkResponseItemData res = new ContactBulkResponseItemData(typ); + res.Contact = contact; + return res; + } + public static ContactBulkResponseItemData CreateErrorResponse1(Models.Components.ErrorResponse1 errorResponse1) + { + ContactBulkResponseItemDataType typ = ContactBulkResponseItemDataType.ErrorResponse1; + + ContactBulkResponseItemData res = new ContactBulkResponseItemData(typ); + res.ErrorResponse1 = errorResponse1; + return res; + } + + public class ContactBulkResponseItemDataConverter : JsonConverter + { + public override bool CanConvert(System.Type objectType) => objectType == typeof(ContactBulkResponseItemData); + + public override bool CanRead => true; + + public override object? ReadJson(JsonReader reader, System.Type objectType, object? existingValue, JsonSerializer serializer) + { + if (reader.TokenType == JsonToken.Null) + { + throw new InvalidOperationException("Received unexpected null JSON value"); + } + + var json = JRaw.Create(reader).ToString(); + var fallbackCandidates = new List<(System.Type, object, string)>(); + + try + { + return new ContactBulkResponseItemData(ContactBulkResponseItemDataType.ErrorResponse1) { + ErrorResponse1 = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(Models.Components.ErrorResponse1), new ContactBulkResponseItemData(ContactBulkResponseItemDataType.ErrorResponse1), "ErrorResponse1")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + try + { + return new ContactBulkResponseItemData(ContactBulkResponseItemDataType.Contact) { + Contact = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + }; + } + catch (ResponseBodyDeserializer.MissingMemberException) + { + fallbackCandidates.Add((typeof(Contact), new ContactBulkResponseItemData(ContactBulkResponseItemDataType.Contact), "Contact")); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next option + } + catch (Exception) + { + throw; + } + + if (fallbackCandidates.Count > 0) + { + fallbackCandidates.Sort((a, b) => ResponseBodyDeserializer.CompareFallbackCandidates(a.Item1, b.Item1, json)); + foreach (var (deserializationType, returnObject, propertyName) in fallbackCandidates) + { + try + { + return ResponseBodyDeserializer.DeserializeUndiscriminatedUnionFallback(deserializationType, returnObject, propertyName, json); + } + catch (ResponseBodyDeserializer.DeserializationException) + { + // try next fallback option + } + catch (Exception) + { + throw; + } + } + } + + throw new InvalidOperationException("Could not deserialize into any supported types."); + } + + public override void WriteJson(JsonWriter writer, object? value, JsonSerializer serializer) + { + if (value == null) + { + throw new InvalidOperationException("Unexpected null JSON value."); + } + + ContactBulkResponseItemData res = (ContactBulkResponseItemData)value; + + if (res.Contact != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.Contact)); + return; + } + + if (res.ErrorResponse1 != null) + { + writer.WriteRawValue(Utilities.SerializeJSON(res.ErrorResponse1)); + return; + } + } + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactCreate.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactCreate.cs new file mode 100644 index 000000000..ba967847b --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactCreate.cs @@ -0,0 +1,249 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// This entity is used to represent a single item that is posted for a contact create. + /// + public class ContactCreate + { + /// + /// 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 middle name of the contact. + /// + [JsonProperty("middleName")] + public string? MiddleName { get; set; } + + /// + /// The nickname of the contact. + /// + [JsonProperty("nickname")] + public string? Nickname { get; set; } + + /// + /// The email address of the contact. + /// + [JsonProperty("email")] + public string? Email { get; set; } + + /// + /// An alternate email address of the contact that can be cc'd on email communications. + /// + [JsonProperty("ccEmail")] + public string? CcEmail { get; set; } + + /// + /// The gender of the contact. + /// + [JsonProperty("gender")] + public Gender? Gender { get; set; } + + /// + /// The company/organization the contact belongs to. + /// + [JsonProperty("company")] + public string? Company { get; set; } + + /// + /// The designation of the contact, typically an award or credential. + /// + [JsonProperty("designation")] + public string? Designation { get; set; } + + /// + /// The job title of the contact. + /// + [JsonProperty("title")] + public string? Title { get; set; } + + /// + /// Contains details related to the attendee's contact type. + /// + [JsonProperty("type")] + public AttendeeContactTypeInput? Type { get; set; } + + /// + /// The type of address. + /// + [JsonProperty("primaryAddressType")] + public AddressType? PrimaryAddressType { get; set; } + + /// + /// Contact address details. + /// + [JsonProperty("homeAddress")] + public AddressInput? HomeAddress { get; set; } + + /// + /// The phone number of the contact at their place of residence. + /// + [JsonProperty("homePhone")] + public string? HomePhone { get; set; } + + /// + /// The fax number of the contact at their place of residence. + /// + [JsonProperty("homeFax")] + public string? HomeFax { get; set; } + + /// + /// Contact address details. + /// + [JsonProperty("workAddress")] + public AddressInput? WorkAddress { get; set; } + + /// + /// The phone number of the contact at their place of work. + /// + [JsonProperty("workPhone")] + public string? WorkPhone { get; set; } + + /// + /// The fax number of the contact at their place of work. + /// + [JsonProperty("workFax")] + public string? WorkFax { get; set; } + + /// + /// This is a ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. + /// + [JsonProperty("sourceId")] + public string? SourceId { get; set; } + + /// + /// The contact's mobile phone number. + /// + [JsonProperty("mobilePhone")] + public string? MobilePhone { get; set; } + + /// + /// Denotes what is traditionally a title of an individual. + /// + [JsonProperty("prefix")] + public string? Prefix { get; set; } + + /// + /// The pager number of the contact. + /// + [JsonProperty("pager")] + public string? Pager { get; set; } + + /// + /// Details of an opt-out for a Contact. + /// + [JsonProperty("optOut")] + public ContactOptOutInput? OptOut { get; set; } + + /// + /// Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. + /// + [JsonProperty("npi")] + public string? Npi { get; set; } + + /// + /// Collection of social media links for the contact. + /// + [JsonProperty("_links")] + public ContactLinksInput? Links { get; set; } + + /// + /// The date of birth of the contact.
+ ///
+ /// Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. + ///
+ [JsonProperty("dateOfBirth")] + public DateOnly? DateOfBirth { get; set; } + + /// + /// The passport number of the contact.
+ ///
+ /// Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use the passport.number field. + ///
+ [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] + [JsonProperty("passportNumber")] + public string? PassportNumber { get; set; } + + /// + /// This entity represents a contact's passport information. + /// + [JsonProperty("passport")] + public PassportInput? Passport { get; set; } + + /// + /// The social security number of the contact.
+ ///
+ /// Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. + ///
+ [JsonProperty("socialSecurityNumber")] + public string? SocialSecurityNumber { get; set; } + + /// + /// The national identification number of the contact.
+ ///
+ /// Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. + ///
+ [JsonProperty("nationalIdentificationNumber")] + public string? NationalIdentificationNumber { get; set; } + + /// + /// The headline of the contact's profile, which summarizes their professional experience and qualities. + /// + [JsonProperty("headline")] + public string? Headline { get; set; } + + /// + /// A contact's personal website URL. + /// + [JsonProperty("personalWebsite")] + public string? PersonalWebsite { get; set; } + + /// + /// A contact's biographical writeup. + /// + [JsonProperty("biography")] + public string? Biography { get; set; } + + /// + /// Represents the preferred pronouns of a contact. + /// + [JsonProperty("pronouns")] + public string? Pronouns { get; set; } + + /// + /// ID of the parent contact, applicable with contact snapshot. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be automatically created through the Add attendees API. + /// + [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] + [JsonProperty("parentId")] + public string? ParentId { get; set; } + + /// + /// Event ID. + /// + [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] + [JsonProperty("event")] + public ContactCreateEvent? Event { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactCreateEvent.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactCreateEvent.cs new file mode 100644 index 000000000..d4f65e235 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactCreateEvent.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Event ID. + /// + [Obsolete("This will be removed in a future release, please migrate away from it as soon as possible")] + public class ContactCreateEvent + { + /// + /// ID of the event where the contact was created, applicable when contact snapshot is enabled for an event. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be automatically created through the Add attendees API. + /// + [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactCreateRequestJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactCreateRequestJson.cs deleted file mode 100644 index 1f5d04d6f..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactCreateRequestJson.cs +++ /dev/null @@ -1,249 +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; - using System; - - /// - /// This entity is used to represent a single item that is posted for a contact create. - /// - public class ContactCreateRequestJson - { - /// - /// 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 middle name of the contact. - /// - [JsonProperty("middleName")] - public string? MiddleName { get; set; } - - /// - /// The nickname of the contact. - /// - [JsonProperty("nickname")] - public string? Nickname { get; set; } - - /// - /// The email address of the contact. - /// - [JsonProperty("email")] - public string? Email { get; set; } - - /// - /// An alternate email address of the contact that can be cc'd on email communications. - /// - [JsonProperty("ccEmail")] - public string? CcEmail { get; set; } - - /// - /// The gender of the contact. - /// - [JsonProperty("gender")] - public GenderJson? Gender { get; set; } - - /// - /// The company/organization the contact belongs to. - /// - [JsonProperty("company")] - public string? Company { get; set; } - - /// - /// The designation of the contact, typically an award or credential. - /// - [JsonProperty("designation")] - public string? Designation { get; set; } - - /// - /// The job title of the contact. - /// - [JsonProperty("title")] - public string? Title { get; set; } - - /// - /// Contains details related to the attendee's contact type. - /// - [JsonProperty("type")] - public AttendeeContactTypeJsonInput? Type { get; set; } - - /// - /// The type of address. - /// - [JsonProperty("primaryAddressType")] - public AddressTypeJson? PrimaryAddressType { get; set; } - - /// - /// Contact address details. - /// - [JsonProperty("homeAddress")] - public AddressJsonInput? HomeAddress { get; set; } - - /// - /// The phone number of the contact at their place of residence. - /// - [JsonProperty("homePhone")] - public string? HomePhone { get; set; } - - /// - /// The fax number of the contact at their place of residence. - /// - [JsonProperty("homeFax")] - public string? HomeFax { get; set; } - - /// - /// Contact address details. - /// - [JsonProperty("workAddress")] - public AddressJsonInput? WorkAddress { get; set; } - - /// - /// The phone number of the contact at their place of work. - /// - [JsonProperty("workPhone")] - public string? WorkPhone { get; set; } - - /// - /// The fax number of the contact at their place of work. - /// - [JsonProperty("workFax")] - public string? WorkFax { get; set; } - - /// - /// This is a ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. - /// - [JsonProperty("sourceId")] - public string? SourceId { get; set; } - - /// - /// The contact's mobile phone number. - /// - [JsonProperty("mobilePhone")] - public string? MobilePhone { get; set; } - - /// - /// Denotes what is traditionally a title of an individual. - /// - [JsonProperty("prefix")] - public string? Prefix { get; set; } - - /// - /// The pager number of the contact. - /// - [JsonProperty("pager")] - public string? Pager { get; set; } - - /// - /// Details of an opt-out for a Contact. - /// - [JsonProperty("optOut")] - public OptOutJsonInput? OptOut { get; set; } - - /// - /// Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. - /// - [JsonProperty("npi")] - public string? Npi { get; set; } - - /// - /// Collection of social media links for the contact. - /// - [JsonProperty("_links")] - public ContactLinksJsonInput? Links { get; set; } - - /// - /// The date of birth of the contact.
- ///
- /// Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. - ///
- [JsonProperty("dateOfBirth")] - public DateOnly? DateOfBirth { get; set; } - - /// - /// The passport number of the contact.
- ///
- /// Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use the passport.number field. - ///
- [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] - [JsonProperty("passportNumber")] - public string? PassportNumber { get; set; } - - /// - /// This entity represents a contact's passport information. - /// - [JsonProperty("passport")] - public PassportJsonInput? Passport { get; set; } - - /// - /// The social security number of the contact.
- ///
- /// Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. - ///
- [JsonProperty("socialSecurityNumber")] - public string? SocialSecurityNumber { get; set; } - - /// - /// The national identification number of the contact.
- ///
- /// Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. - ///
- [JsonProperty("nationalIdentificationNumber")] - public string? NationalIdentificationNumber { get; set; } - - /// - /// The headline of the contact's profile, which summarizes their professional experience and qualities. - /// - [JsonProperty("headline")] - public string? Headline { get; set; } - - /// - /// A contact's personal website URL. - /// - [JsonProperty("personalWebsite")] - public string? PersonalWebsite { get; set; } - - /// - /// A contact's biographical writeup. - /// - [JsonProperty("biography")] - public string? Biography { get; set; } - - /// - /// Represents the preferred pronouns of a contact. - /// - [JsonProperty("pronouns")] - public string? Pronouns { get; set; } - - /// - /// ID of the parent contact, applicable with contact snapshot. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be automatically created through the Add attendees API. - /// - [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] - [JsonProperty("parentId")] - public string? ParentId { get; set; } - - /// - /// Event ID. - /// - [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] - [JsonProperty("event")] - public ContactCreateRequestJsonEvent? Event { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactCreateRequestJsonEvent.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactCreateRequestJsonEvent.cs deleted file mode 100644 index 60d3d0643..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactCreateRequestJsonEvent.cs +++ /dev/null @@ -1,29 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Event ID. - /// - [Obsolete("This will be removed in a future release, please migrate away from it as soon as possible")] - public class ContactCreateRequestJsonEvent - { - /// - /// ID of the event where the contact was created, applicable when contact snapshot is enabled for an event. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be automatically created through the Add attendees API. - /// - [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactGroup.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactGroup.cs index f6a72fdaa..c25267117 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactGroup.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactGroup.cs @@ -71,7 +71,7 @@ public class ContactGroup /// Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. `STANDARD` is a multi-purpose group for organizing contacts. ///
[JsonProperty("type")] - public ContactGroupTypeJson? Type { get; set; } = Cvent.SDK.Models.Components.ContactGroupTypeJson.Standard; + public ContactGroupType? Type { get; set; } = Cvent.SDK.Models.Components.ContactGroupType.Standard; /// /// Moved to internalNote in the DistributionListInfo object. The note field only applies to Distribution List. @@ -84,6 +84,6 @@ public class ContactGroup /// Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. /// [JsonProperty("distributionListInfo")] - public DistributionListInfoJson? DistributionListInfo { get; set; } + public DistributionListInfo? DistributionListInfo { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactGroupInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactGroupInput.cs index 0a329ef5b..836e76985 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactGroupInput.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactGroupInput.cs @@ -41,7 +41,7 @@ public class ContactGroupInput /// Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. `STANDARD` is a multi-purpose group for organizing contacts. /// [JsonProperty("type")] - public ContactGroupTypeJson? Type { get; set; } = Cvent.SDK.Models.Components.ContactGroupTypeJson.Standard; + public ContactGroupType? Type { get; set; } = Cvent.SDK.Models.Components.ContactGroupType.Standard; /// /// Moved to internalNote in the DistributionListInfo object. The note field only applies to Distribution List. @@ -54,6 +54,6 @@ public class ContactGroupInput /// Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. /// [JsonProperty("distributionListInfo")] - public DistributionListInfoJsonInput? DistributionListInfo { get; set; } + public DistributionListInfoInput? DistributionListInfo { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactGroupPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactGroupPaginatedResponse.cs index ca74ffa2f..eb5ea7bc8 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactGroupPaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactGroupPaginatedResponse.cs @@ -23,7 +23,7 @@ public class ContactGroupPaginatedResponse /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson Paging { get; set; } = default!; + public Paging Paging { get; set; } = default!; /// /// Collection of contact groups. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactGroupType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactGroupType.cs new file mode 100644 index 000000000..ec04dfef7 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactGroupType.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; + + /// + /// Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. `STANDARD` is a multi-purpose group for organizing contacts. + /// + public enum ContactGroupType + { + [JsonProperty("BLACKLIST")] Blacklist, + [JsonProperty("DISTRIBUTION_LIST")] DistributionList, + [JsonProperty("STANDARD")] Standard, + } + + public static class ContactGroupTypeExtension + { + public static string Value(this ContactGroupType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static ContactGroupType ToEnum(this string value) + { + foreach (var field in typeof(ContactGroupType).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 ContactGroupType) + { + return (ContactGroupType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum ContactGroupType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactGroupTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactGroupTypeJson.cs deleted file mode 100644 index 6914acf51..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactGroupTypeJson.cs +++ /dev/null @@ -1,58 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. `STANDARD` is a multi-purpose group for organizing contacts. - /// - public enum ContactGroupTypeJson - { - [JsonProperty("BLACKLIST")] Blacklist, - [JsonProperty("DISTRIBUTION_LIST")] DistributionList, - [JsonProperty("STANDARD")] Standard, - } - - public static class ContactGroupTypeJsonExtension - { - public static string Value(this ContactGroupTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static ContactGroupTypeJson ToEnum(this string value) - { - foreach (var field in typeof(ContactGroupTypeJson).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 ContactGroupTypeJson) - { - return (ContactGroupTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum ContactGroupTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactHistory.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactHistory.cs new file mode 100644 index 000000000..0e6dd3883 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactHistory.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.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// A single instance of change for a specific contact in the contact's change history. + /// + public class ContactHistory + { + /// + /// The name of a field that was changed and tracked by this single instance of change in contact change history. + /// + [JsonProperty("updatedFieldName")] + public string? UpdatedFieldName { get; set; } + + /// + /// The old value of a field that was changed. + /// + [JsonProperty("oldValue")] + public string? OldValue { get; set; } + + /// + /// The new value of a field that was changed. + /// + [JsonProperty("newValue")] + public string? NewValue { get; set; } + + /// + /// Name of the place where this change was updated through. + /// + [JsonProperty("updatedThroughName")] + public UpdatedThroughNameProperty? UpdatedThroughName { get; set; } + + /// + /// The ISO 8601 formatted date-time when the associated contact, of this single instance of change in contact change history, was updated. + /// + [JsonProperty("updatedDate")] + public DateTime? UpdatedDate { get; set; } + + /// + /// The name of a person who updated a contact that is associated with this single instance of change in contact change history. + /// + [JsonProperty("updatedBy")] + public string? UpdatedBy { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactHistoryJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactHistoryJson.cs deleted file mode 100644 index 96bca4d4e..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactHistoryJson.cs +++ /dev/null @@ -1,58 +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; - using System; - - /// - /// A single instance of change for a specific contact in the contact's change history. - /// - public class ContactHistoryJson - { - /// - /// The name of a field that was changed and tracked by this single instance of change in contact change history. - /// - [JsonProperty("updatedFieldName")] - public string? UpdatedFieldName { get; set; } - - /// - /// The old value of a field that was changed. - /// - [JsonProperty("oldValue")] - public string? OldValue { get; set; } - - /// - /// The new value of a field that was changed. - /// - [JsonProperty("newValue")] - public string? NewValue { get; set; } - - /// - /// Name of the place where this change was updated through. - /// - [JsonProperty("updatedThroughName")] - public UpdatedThroughNamePropertyJson? UpdatedThroughName { get; set; } - - /// - /// The ISO 8601 formatted date-time when the associated contact, of this single instance of change in contact change history, was updated. - /// - [JsonProperty("updatedDate")] - public DateTime? UpdatedDate { get; set; } - - /// - /// The name of a person who updated a contact that is associated with this single instance of change in contact change history. - /// - [JsonProperty("updatedBy")] - public string? UpdatedBy { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactHistoryPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactHistoryPaginatedResponse.cs index 744fd836e..e430dc17a 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactHistoryPaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactHistoryPaginatedResponse.cs @@ -23,12 +23,12 @@ public class ContactHistoryPaginatedResponse /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson? Paging { get; set; } + public Paging? Paging { get; set; } /// /// Collection of change histories for a specific contact. /// [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/ContactId.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactId.cs new file mode 100644 index 000000000..75d61ad85 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactId.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// A contact id. + /// + public class ContactId + { + /// + /// The ID of the contact. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactIdJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactIdJson.cs deleted file mode 100644 index 773cdf3f8..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactIdJson.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// A contact id. - /// - public class ContactIdJson - { - /// - /// The ID of the contact. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactIdPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactIdPaginatedResponse.cs index a791e561f..c40c519c6 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactIdPaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactIdPaginatedResponse.cs @@ -23,12 +23,12 @@ public class ContactIdPaginatedResponse /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson Paging { get; set; } = default!; + public Paging Paging { get; set; } = default!; /// /// Collection of contact ids. /// [JsonProperty("data")] - public List Data { get; set; } = default!; + public List Data { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactJson.cs new file mode 100644 index 000000000..51dd2396f --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactJson.cs @@ -0,0 +1,135 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// The contact details. + /// + public class ContactJson + { + /// + /// The contact types used for the proposal. + /// + [JsonProperty("contactType")] + public ContactTypeJson? ContactType { get; set; } = Cvent.SDK.Models.Components.ContactTypeJson.Primary; + + /// + /// 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 URL of the organization's website. + /// + [JsonProperty("organizationWebsite")] + public string? OrganizationWebsite { get; set; } + + /// + /// The name of the organization. + /// + [JsonProperty("organization")] + public string? Organization { get; set; } + + /// + /// Designation of the contact. + /// + [JsonProperty("title")] + public string? Title { get; set; } + + /// + /// The email address of the contact. + /// + [JsonProperty("email")] + public string? Email { get; set; } + + /// + /// The country code for the contact's phone number. + /// + [JsonProperty("countryCode")] + public string? CountryCode { get; set; } + + /// + /// The phone number of the organization. + /// + [JsonProperty("phone")] + public string? Phone { get; set; } + + /// + /// The organization's fax number. + /// + [JsonProperty("fax")] + public string? Fax { get; set; } + + /// + /// The mobile number of the contact. + /// + [JsonProperty("mobile")] + public string? Mobile { get; set; } + + /// + /// Address line 1 of contact's street address. + /// + [JsonProperty("streetAddress1")] + public string? StreetAddress1 { get; set; } + + /// + /// Address line 2 of contact's street address. + /// + [JsonProperty("streetAddress2")] + public string? StreetAddress2 { get; set; } + + /// + /// Address line 3 of contact's street address. + /// + [JsonProperty("streetAddress3")] + public string? StreetAddress3 { get; set; } + + /// + /// The city of the contact. + /// + [JsonProperty("city")] + public string? City { get; set; } + + /// + /// The state province code used for contact information. + /// + [JsonProperty("stateProvince")] + public StateProvinceJson? StateProvince { get; set; } + + /// + /// The postal code of the contact. + /// + [JsonProperty("postalCode")] + public string? PostalCode { get; set; } + + /// + /// ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. + /// + [JsonProperty("country")] + public CountryJson? Country { get; set; } + + /// + /// Additional notes of the contact. + /// + [JsonProperty("notes")] + public string? Notes { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactJson0.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactJson0.cs deleted file mode 100644 index aad49bebf..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactJson0.cs +++ /dev/null @@ -1,82 +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; - using System.Collections.Generic; - - /// - /// Contact details of planner. - /// - public class ContactJson0 - { - /// - /// The first name of the planner. - /// - [JsonProperty("firstName")] - public string FirstName { get; set; } = default!; - - /// - /// The last name of the planner. - /// - [JsonProperty("lastName")] - public string LastName { get; set; } = default!; - - /// - /// Email address of the planner. - /// - [JsonProperty("email")] - public string Email { get; set; } = default!; - - /// - /// Address details. - /// - [JsonProperty("address")] - public AddressJson0? Address { get; set; } - - /// - /// Rate of commission chargeable by the planner. Precision up to 2 decimal places is accepted. - /// - [JsonProperty("commissionRate")] - public double? CommissionRate { get; set; } - - /// - /// True indicates commission is to be charged from supplier. - /// - [JsonProperty("commissionable")] - public bool? Commissionable { get; set; } - - /// - /// Phone number of the planner. - /// - [JsonProperty("phone")] - public string Phone { get; set; } = default!; - - /// - /// Name of the organization. - /// - [JsonProperty("organizationName")] - public string OrganizationName { get; set; } = default!; - - /// - /// True indicates planner is a third party planner. - /// - [JsonProperty("thirdPartyPlanner")] - public bool? ThirdPartyPlanner { get; set; } - - /// - /// List of preferred contact methods for the planner. - /// - [JsonProperty("preferredContactMethods")] - public List? PreferredContactMethods { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactJson1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactJson1.cs deleted file mode 100644 index 0c6bb21a9..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactJson1.cs +++ /dev/null @@ -1,135 +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; - - /// - /// The contact details. - /// - public class ContactJson1 - { - /// - /// The contact types used for the proposal. - /// - [JsonProperty("contactType")] - public ContactTypeJson1? ContactType { get; set; } = Cvent.SDK.Models.Components.ContactTypeJson1.Primary; - - /// - /// 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 URL of the organization's website. - /// - [JsonProperty("organizationWebsite")] - public string? OrganizationWebsite { get; set; } - - /// - /// The name of the organization. - /// - [JsonProperty("organization")] - public string? Organization { get; set; } - - /// - /// Designation of the contact. - /// - [JsonProperty("title")] - public string? Title { get; set; } - - /// - /// The email address of the contact. - /// - [JsonProperty("email")] - public string? Email { get; set; } - - /// - /// The country code for the contact's phone number. - /// - [JsonProperty("countryCode")] - public string? CountryCode { get; set; } - - /// - /// The phone number of the organization. - /// - [JsonProperty("phone")] - public string? Phone { get; set; } - - /// - /// The organization's fax number. - /// - [JsonProperty("fax")] - public string? Fax { get; set; } - - /// - /// The mobile number of the contact. - /// - [JsonProperty("mobile")] - public string? Mobile { get; set; } - - /// - /// Address line 1 of contact's street address. - /// - [JsonProperty("streetAddress1")] - public string? StreetAddress1 { get; set; } - - /// - /// Address line 2 of contact's street address. - /// - [JsonProperty("streetAddress2")] - public string? StreetAddress2 { get; set; } - - /// - /// Address line 3 of contact's street address. - /// - [JsonProperty("streetAddress3")] - public string? StreetAddress3 { get; set; } - - /// - /// The city of the contact. - /// - [JsonProperty("city")] - public string? City { get; set; } - - /// - /// The state province code used for contact information. - /// - [JsonProperty("stateProvince")] - public StateProvinceJson? StateProvince { get; set; } - - /// - /// The postal code of the contact. - /// - [JsonProperty("postalCode")] - public string? PostalCode { get; set; } - - /// - /// ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. - /// - [JsonProperty("country")] - public CountryJson? Country { get; set; } - - /// - /// Additional notes of the contact. - /// - [JsonProperty("notes")] - public string? Notes { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactJson2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactJson2.cs deleted file mode 100644 index dab5cffd2..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactJson2.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// The contact details who watched a video. - /// - public class ContactJson2 - { - /// - /// The unique ID of the contact who watched a video. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactLinksInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactLinksInput.cs new file mode 100644 index 000000000..3fd49e26c --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactLinksInput.cs @@ -0,0 +1,39 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Collection of social media links for the contact. + /// + public class ContactLinksInput + { + /// + /// Represents a link to a related resource. + /// + [JsonProperty("twitterUrl")] + public Link? TwitterUrl { get; set; } + + /// + /// Represents a link to a related resource. + /// + [JsonProperty("facebookUrl")] + public Link? FacebookUrl { get; set; } + + /// + /// Represents a link to a related resource. + /// + [JsonProperty("linkedInUrl")] + public Link? LinkedInUrl { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactLinksJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactLinksJson.cs deleted file mode 100644 index 343c1e46a..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactLinksJson.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; - - /// - /// Collection of social media links for the contact. - /// - public class ContactLinksJson - { - /// - /// Represents a link to a related resource. - /// - [JsonProperty("twitterUrl")] - public LinkJson? TwitterUrl { get; set; } - - /// - /// Represents a link to a related resource. - /// - [JsonProperty("facebookUrl")] - public LinkJson? FacebookUrl { get; set; } - - /// - /// Represents a link to a related resource. - /// - [JsonProperty("linkedInUrl")] - public LinkJson? LinkedInUrl { get; set; } - - /// - /// Reference to a profile picture. - /// - [JsonProperty("profilePicture")] - public ContactLinksJsonLink? ProfilePicture { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactLinksJsonInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactLinksJsonInput.cs deleted file mode 100644 index d9be0c769..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactLinksJsonInput.cs +++ /dev/null @@ -1,39 +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; - - /// - /// Collection of social media links for the contact. - /// - public class ContactLinksJsonInput - { - /// - /// Represents a link to a related resource. - /// - [JsonProperty("twitterUrl")] - public LinkJson? TwitterUrl { get; set; } - - /// - /// Represents a link to a related resource. - /// - [JsonProperty("facebookUrl")] - public LinkJson? FacebookUrl { get; set; } - - /// - /// Represents a link to a related resource. - /// - [JsonProperty("linkedInUrl")] - public LinkJson? LinkedInUrl { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactLinksJsonLink.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactLinksJsonLink.cs deleted file mode 100644 index 94187698e..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactLinksJsonLink.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// Reference to a profile picture. - /// - public class ContactLinksJsonLink - { - /// - /// The url of the contact's profile picture. - /// - [JsonProperty("href")] - public string Href { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactMembership.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactMembership.cs new file mode 100644 index 000000000..5d7fca3eb --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactMembership.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; + + /// + /// Contact Membership information. + /// + public class ContactMembership + { + /// + /// The type of membership the contact has signed up for. + /// + [JsonProperty("type")] + public string? Type { get; set; } + + /// + /// Describes the specific plan the contact has signed up for. + /// + [JsonProperty("plan")] + public string? Plan { get; set; } + + /// + /// The ISO-8601 formatted date the contact began their membership. + /// + [JsonProperty("joined")] + public DateOnly? Joined { get; set; } + + /// + /// The ISO-8601 formatted date the contact's membership will expire. + /// + [JsonProperty("expiration")] + public DateOnly? Expiration { get; set; } + + /// + /// The ISO-8601 formatted date the contact last renewed their membership. + /// + [JsonProperty("lastRenewal")] + public DateOnly? LastRenewal { get; set; } + + /// + /// The amount currently due for this membership. + /// + [JsonProperty("amountDue")] + public double? AmountDue { get; set; } + + /// + /// Indicates if the member details should be included in the member directory. + /// + [JsonProperty("listInDirectory")] + public bool? ListInDirectory { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactMergeField.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactMergeField.cs new file mode 100644 index 000000000..7fdc2d918 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactMergeField.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// A pair of a contact field name and a contact id. + /// + public class ContactMergeField + { + /// + /// The name of a contact field. + /// + [JsonProperty("fieldName")] + public string FieldName { get; set; } = default!; + + /// + /// ID of the contact. + /// + [JsonProperty("contactId")] + public string ContactId { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactMergeFieldJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactMergeFieldJson.cs deleted file mode 100644 index c68e8ea3b..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactMergeFieldJson.cs +++ /dev/null @@ -1,32 +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.Utils; - using Newtonsoft.Json; - - /// - /// A pair of a contact field name and a contact id. - /// - public class ContactMergeFieldJson - { - /// - /// The name of a contact field. - /// - [JsonProperty("fieldName")] - public string FieldName { get; set; } = default!; - - /// - /// ID of the contact. - /// - [JsonProperty("contactId")] - public string ContactId { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactMethods.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactMethods.cs new file mode 100644 index 000000000..790e1c748 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactMethods.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; + + /// + /// Medium for contacting the person. + /// + public enum ContactMethods + { + [JsonProperty("CVENT")] Cvent, + [JsonProperty("EMAIL")] Email, + [JsonProperty("FAX")] Fax, + [JsonProperty("MOBILE")] Mobile, + [JsonProperty("PHONE")] Phone, + } + + public static class ContactMethodsExtension + { + public static string Value(this ContactMethods value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static ContactMethods ToEnum(this string value) + { + foreach (var field in typeof(ContactMethods).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 ContactMethods) + { + return (ContactMethods)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum ContactMethods"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactMethodsJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactMethodsJson.cs deleted file mode 100644 index e637bf7f5..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactMethodsJson.cs +++ /dev/null @@ -1,60 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Medium for contacting the person. - /// - public enum ContactMethodsJson - { - [JsonProperty("CVENT")] Cvent, - [JsonProperty("EMAIL")] Email, - [JsonProperty("FAX")] Fax, - [JsonProperty("MOBILE")] Mobile, - [JsonProperty("PHONE")] Phone, - } - - public static class ContactMethodsJsonExtension - { - public static string Value(this ContactMethodsJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static ContactMethodsJson ToEnum(this string value) - { - foreach (var field in typeof(ContactMethodsJson).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 ContactMethodsJson) - { - return (ContactMethodsJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum ContactMethodsJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactObfuscationStatus.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactObfuscationStatus.cs index 02a321927..65dc4ef16 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactObfuscationStatus.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactObfuscationStatus.cs @@ -32,7 +32,7 @@ public class ContactObfuscationStatus /// FAILED - The obfuscation request failed due to an error. /// [JsonProperty("status")] - public ContactObfuscationStatusTypeJson? Status { get; set; } + public ContactObfuscationStatusType? Status { get; set; } /// /// The obfuscation job identifier. @@ -44,6 +44,6 @@ public class ContactObfuscationStatus /// A contact id. /// [JsonProperty("contact")] - public ContactIdJson? Contact { get; set; } + public ContactId? Contact { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactObfuscationStatusType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactObfuscationStatusType.cs new file mode 100644 index 000000000..6caee51c8 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactObfuscationStatusType.cs @@ -0,0 +1,70 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Status of the request to obfuscate a contact.
+ ///
+ /// INITIATED - The obfuscation request has been received.
+ ///
+ /// QUEUED - The obfuscation request is currently waiting in the queue to be executed.
+ ///
+ /// PROCESSING - The obfuscation request is currently being processed.
+ ///
+ /// COMPLETED - The obfuscation request is complete.
+ ///
+ /// FAILED - The obfuscation request failed due to an error. + ///
+ public enum ContactObfuscationStatusType + { + [JsonProperty("INITIATED")] Initiated, + [JsonProperty("QUEUED")] Queued, + [JsonProperty("PROCESSING")] Processing, + [JsonProperty("COMPLETED")] Completed, + [JsonProperty("FAILED")] Failed, + } + + public static class ContactObfuscationStatusTypeExtension + { + public static string Value(this ContactObfuscationStatusType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static ContactObfuscationStatusType ToEnum(this string value) + { + foreach (var field in typeof(ContactObfuscationStatusType).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 ContactObfuscationStatusType) + { + return (ContactObfuscationStatusType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum ContactObfuscationStatusType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactObfuscationStatusTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactObfuscationStatusTypeJson.cs deleted file mode 100644 index 955409ed5..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactObfuscationStatusTypeJson.cs +++ /dev/null @@ -1,70 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Status of the request to obfuscate a contact.
- ///
- /// INITIATED - The obfuscation request has been received.
- ///
- /// QUEUED - The obfuscation request is currently waiting in the queue to be executed.
- ///
- /// PROCESSING - The obfuscation request is currently being processed.
- ///
- /// COMPLETED - The obfuscation request is complete.
- ///
- /// FAILED - The obfuscation request failed due to an error. - ///
- public enum ContactObfuscationStatusTypeJson - { - [JsonProperty("INITIATED")] Initiated, - [JsonProperty("QUEUED")] Queued, - [JsonProperty("PROCESSING")] Processing, - [JsonProperty("COMPLETED")] Completed, - [JsonProperty("FAILED")] Failed, - } - - public static class ContactObfuscationStatusTypeJsonExtension - { - public static string Value(this ContactObfuscationStatusTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static ContactObfuscationStatusTypeJson ToEnum(this string value) - { - foreach (var field in typeof(ContactObfuscationStatusTypeJson).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 ContactObfuscationStatusTypeJson) - { - return (ContactObfuscationStatusTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum ContactObfuscationStatusTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactOptOut.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactOptOut.cs new file mode 100644 index 000000000..37d22ddcb --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactOptOut.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; + using System; + + /// + /// Details of an opt-out for a Contact. + /// + public class ContactOptOut + { + /// + /// Used to denote if a contact has opted-out of receiving system generated emails. + /// + [JsonProperty("optedOut")] + public bool? OptedOut { get; set; } = false; + + /// + /// The ISO 8601 zoned date time when this contact was opted-out. This value can change if the contact opts out multiple times. + /// + [JsonProperty("date")] + public DateTime? Date { get; set; } + + /// + /// This is used to denote how a contact is opt'd out of Cvent system. + /// + [JsonProperty("by")] + public OptoutBy? By { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactOptOutInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactOptOutInput.cs new file mode 100644 index 000000000..8bb9f0ceb --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactOptOutInput.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Details of an opt-out for a Contact. + /// + public class ContactOptOutInput + { + /// + /// Used to denote if a contact has opted-out of receiving system generated emails. + /// + [JsonProperty("optedOut")] + public bool? OptedOut { get; set; } = false; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactPaginatedResponse.cs index bf09d89d4..052a25df8 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactPaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactPaginatedResponse.cs @@ -23,12 +23,12 @@ public class ContactPaginatedResponse /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson Paging { get; set; } = default!; + public Paging Paging { get; set; } = default!; /// /// Collection of contacts. /// [JsonProperty("data")] - public List Data { get; set; } = default!; + public List Data { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactPatch.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactPatch.cs index 2209b609c..02b527d2b 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactPatch.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactPatch.cs @@ -74,13 +74,13 @@ public class ContactPatch /// Contains details related to the attendee's contact type. /// [JsonProperty("type")] - public AttendeeContactTypeJsonInput? Type { get; set; } + public AttendeeContactTypeInput? Type { get; set; } /// /// The type of address. /// [JsonProperty("primaryAddressType")] - public AddressTypeJson? PrimaryAddressType { get; set; } + public AddressType? PrimaryAddressType { get; set; } [JsonProperty("homeAddress")] public HomeAddress? HomeAddress { get; set; } @@ -98,7 +98,7 @@ public class ContactPatch /// Contact address details. /// [JsonProperty("workAddress")] - public AddressJsonInput? WorkAddress { get; set; } + public AddressInput? WorkAddress { get; set; } /// /// The phone number of the contact at their place of work. @@ -140,7 +140,7 @@ public class ContactPatch /// Details of an opt-out for a Contact. /// [JsonProperty("optOut")] - public OptOutJsonInput? OptOut { get; set; } + public ContactOptOutInput? OptOut { get; set; } /// /// Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. @@ -167,7 +167,7 @@ public class ContactPatch /// This entity represents a contact's passport information. /// [JsonProperty("passport")] - public PassportJsonInput? Passport { get; set; } + public PassportInput? Passport { get; set; } [JsonProperty("socialSecurityNumber")] public object? SocialSecurityNumber { get; set; } diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactType.cs new file mode 100644 index 000000000..92edc6f7a --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactType.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// This entity represents a contact type at contact level. + /// + public class ContactType + { + /// + /// The ID of the contact type. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + + /// + /// The contact type code. Must be unique in the account. + /// + [JsonProperty("code")] + public string Code { get; set; } = default!; + + /// + /// Name of the contact type. + /// + [JsonProperty("name")] + public string Name { get; set; } = default!; + + /// + /// Description of the contact type. + /// + [JsonProperty("description")] + public string? Description { get; set; } + + /// + /// Indicates whether the contact type is active. + /// + [JsonProperty("active")] + public bool? Active { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactTypeJson.cs index eb2ee6b58..03b4eb234 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactTypeJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactTypeJson.cs @@ -11,40 +11,47 @@ namespace Cvent.SDK.Models.Components { using Cvent.SDK.Utils; using Newtonsoft.Json; + using System; /// - /// This entity represents a contact type at contact level. + /// The contact types used for the proposal. /// - public class ContactTypeJson + public enum ContactTypeJson { - /// - /// The ID of the contact type. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; + [JsonProperty("PRIMARY")] Primary, + [JsonProperty("SECONDARY")] Secondary, + } + + public static class ContactTypeJsonExtension + { + public static string Value(this ContactTypeJson value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } - /// - /// The contact type code. Must be unique in the account. - /// - [JsonProperty("code")] - public string Code { get; set; } = default!; + public static ContactTypeJson ToEnum(this string value) + { + foreach (var field in typeof(ContactTypeJson).GetFields()) + { + var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); + if (attributes.Length == 0) + { + continue; + } - /// - /// Name of the contact type. - /// - [JsonProperty("name")] - public string Name { get; set; } = default!; + var attribute = attributes[0] as JsonPropertyAttribute; + if (attribute != null && attribute.PropertyName == value) + { + var enumVal = field.GetValue(null); - /// - /// Description of the contact type. - /// - [JsonProperty("description")] - public string? Description { get; set; } + if (enumVal is ContactTypeJson) + { + return (ContactTypeJson)enumVal; + } + } + } - /// - /// Indicates whether the contact type is active. - /// - [JsonProperty("active")] - public bool? Active { get; set; } + throw new Exception($"Unknown value {value} for enum ContactTypeJson"); + } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactTypeJson1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactTypeJson1.cs deleted file mode 100644 index e15e8b9ef..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactTypeJson1.cs +++ /dev/null @@ -1,57 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// The contact types used for the proposal. - /// - public enum ContactTypeJson1 - { - [JsonProperty("PRIMARY")] Primary, - [JsonProperty("SECONDARY")] Secondary, - } - - public static class ContactTypeJson1Extension - { - public static string Value(this ContactTypeJson1 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static ContactTypeJson1 ToEnum(this string value) - { - foreach (var field in typeof(ContactTypeJson1).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 ContactTypeJson1) - { - return (ContactTypeJson1)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum ContactTypeJson1"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactTypePaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactTypePaginatedResponse.cs index c05088288..f28613776 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactTypePaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactTypePaginatedResponse.cs @@ -23,12 +23,12 @@ public class ContactTypePaginatedResponse /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson Paging { get; set; } = default!; + public Paging Paging { get; set; } = default!; /// /// Collection of contact types. /// [JsonProperty("data")] - public List Data { get; set; } = default!; + public List Data { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactUpdate.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactUpdate.cs index 022732888..37f7d9062 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactUpdate.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactUpdate.cs @@ -59,7 +59,7 @@ public class ContactUpdate /// The gender of the contact. /// [JsonProperty("gender")] - public GenderJson? Gender { get; set; } + public Gender? Gender { get; set; } /// /// The company/organization the contact belongs to. @@ -83,19 +83,19 @@ public class ContactUpdate /// Contains details related to the attendee's contact type. /// [JsonProperty("type")] - public AttendeeContactTypeJsonInput? Type { get; set; } + public AttendeeContactTypeInput? Type { get; set; } /// /// The type of address. /// [JsonProperty("primaryAddressType")] - public AddressTypeJson? PrimaryAddressType { get; set; } + public AddressType? PrimaryAddressType { get; set; } /// /// Contact address details. /// [JsonProperty("homeAddress")] - public AddressJsonInput? HomeAddress { get; set; } + public AddressInput? HomeAddress { get; set; } /// /// The phone number of the contact at their place of residence. @@ -113,7 +113,7 @@ public class ContactUpdate /// Contact address details. /// [JsonProperty("workAddress")] - public AddressJsonInput? WorkAddress { get; set; } + public AddressInput? WorkAddress { get; set; } /// /// The phone number of the contact at their place of work. @@ -155,7 +155,7 @@ public class ContactUpdate /// Details of an opt-out for a Contact. /// [JsonProperty("optOut")] - public OptOutJsonInput? OptOut { get; set; } + public ContactOptOutInput? OptOut { get; set; } /// /// Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. @@ -167,7 +167,7 @@ public class ContactUpdate /// Collection of social media links for the contact. /// [JsonProperty("_links")] - public ContactLinksJsonInput? Links { get; set; } + public ContactLinksInput? Links { get; set; } /// /// The date of birth of the contact.
@@ -190,7 +190,7 @@ public class ContactUpdate /// This entity represents a contact's passport information. ///
[JsonProperty("passport")] - public PassportJsonInput? Passport { get; set; } + public PassportInput? Passport { get; set; } /// /// The social security number of the contact.
diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CreateTransactionResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CreateTransactionResponse.cs index 14900a56b..245669933 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/CreateTransactionResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/CreateTransactionResponse.cs @@ -60,7 +60,7 @@ public class CreateTransactionResponse /// The reference to the attendee. Contains only the ID of the attendee. ///
[JsonProperty("attendee")] - public Attendee2? Attendee { get; set; } + public Attendee? Attendee { get; set; } /// /// This denotes the order IDs corresponding to this transaction. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CreateTransactionResponseInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CreateTransactionResponseInput.cs index e7384d0fd..306960107 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/CreateTransactionResponseInput.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/CreateTransactionResponseInput.cs @@ -30,7 +30,7 @@ public class CreateTransactionResponseInput /// The reference to the attendee. Contains only the ID of the attendee. /// [JsonProperty("attendee")] - public Attendee2? Attendee { get; set; } + public Attendee? Attendee { get; set; } /// /// Denotes the type of transaction you're creating. Offline Charge: The transaction is a payment made to the attendee's order electronically in another system of record, or paid in physical currency. To create an offline charge, the attendee must have a balance owing. Offline Refund: The transaction is a refund issued to the attendee electronically in another system of record, or paid in physical currency. To create an offline refund, the attendee must have a balance due. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CreatedBy.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CreatedBy.cs new file mode 100644 index 000000000..6954d5165 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/CreatedBy.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Denotes how the compliance request was created. + /// + public enum CreatedBy + { + [JsonProperty("ATTENDEE")] Attendee, + [JsonProperty("PLANNER")] Planner, + [JsonProperty("IMPORT")] Import, + [JsonProperty("SOAP_API")] SoapApi, + [JsonProperty("REST_API")] RestApi, + [JsonProperty("MARKETO")] Marketo, + [JsonProperty("SALEFORCE")] Saleforce, + [JsonProperty("VIDEO_CENTER_MEMBER")] VideoCenterMember, + [JsonProperty("RESPONDENT")] Respondent, + [JsonProperty("NOT_SET")] NotSet, + } + + public static class CreatedByExtension + { + public static string Value(this CreatedBy value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static CreatedBy ToEnum(this string value) + { + foreach (var field in typeof(CreatedBy).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 CreatedBy) + { + return (CreatedBy)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum CreatedBy"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CurrencyJson1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CurrencyJson1.cs deleted file mode 100644 index 527a49d70..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/CurrencyJson1.cs +++ /dev/null @@ -1,222 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// The ISO 4217 standard format currency code used for RFPs. - /// - public enum CurrencyJson1 - { - [JsonProperty("USD")] Usd, - [JsonProperty("CAD")] Cad, - [JsonProperty("AUD")] Aud, - [JsonProperty("EUR")] Eur, - [JsonProperty("GBP")] Gbp, - [JsonProperty("HKD")] Hkd, - [JsonProperty("NZD")] Nzd, - [JsonProperty("AED")] Aed, - [JsonProperty("NOK")] Nok, - [JsonProperty("INR")] Inr, - [JsonProperty("MXN")] Mxn, - [JsonProperty("SEK")] Sek, - [JsonProperty("DKK")] Dkk, - [JsonProperty("MYR")] Myr, - [JsonProperty("JPY")] Jpy, - [JsonProperty("SGD")] Sgd, - [JsonProperty("THB")] Thb, - [JsonProperty("IDR")] Idr, - [JsonProperty("KRW")] Krw, - [JsonProperty("CNY")] Cny, - [JsonProperty("TWD")] Twd, - [JsonProperty("RUB")] Rub, - [JsonProperty("CHF")] Chf, - [JsonProperty("CZK")] Czk, - [JsonProperty("HUF")] Huf, - [JsonProperty("QAR")] Qar, - [JsonProperty("ZAR")] Zar, - [JsonProperty("RON")] Ron, - [JsonProperty("HRK")] Hrk, - [JsonProperty("TRY")] Try, - [JsonProperty("BRL")] Brl, - [JsonProperty("PHP")] Php, - [JsonProperty("SAR")] Sar, - [JsonProperty("PLN")] Pln, - [JsonProperty("ARS")] Ars, - [JsonProperty("AWG")] Awg, - [JsonProperty("AZN")] Azn, - [JsonProperty("BSD")] Bsd, - [JsonProperty("BBD")] Bbd, - [JsonProperty("BMD")] Bmd, - [JsonProperty("CLP")] Clp, - [JsonProperty("COP")] Cop, - [JsonProperty("CRC")] Crc, - [JsonProperty("DOP")] Dop, - [JsonProperty("XCD")] Xcd, - [JsonProperty("ILS")] Ils, - [JsonProperty("JMD")] Jmd, - [JsonProperty("LVL")] Lvl, - [JsonProperty("LTL")] Ltl, - [JsonProperty("MDL")] Mdl, - [JsonProperty("ANG")] Ang, - [JsonProperty("OMR")] Omr, - [JsonProperty("TTD")] Ttd, - [JsonProperty("UAH")] Uah, - [JsonProperty("UYU")] Uyu, - [JsonProperty("RSD")] Rsd, - [JsonProperty("AFN")] Afn, - [JsonProperty("AMD")] Amd, - [JsonProperty("AOA")] Aoa, - [JsonProperty("BAM")] Bam, - [JsonProperty("BDT")] Bdt, - [JsonProperty("BGN")] Bgn, - [JsonProperty("BHD")] Bhd, - [JsonProperty("BOB")] Bob, - [JsonProperty("DZD")] Dzd, - [JsonProperty("EEK")] Eek, - [JsonProperty("EGP")] Egp, - [JsonProperty("FJD")] Fjd, - [JsonProperty("GTQ")] Gtq, - [JsonProperty("HNL")] Hnl, - [JsonProperty("ISK")] Isk, - [JsonProperty("JOD")] Jod, - [JsonProperty("KYD")] Kyd, - [JsonProperty("KZT")] Kzt, - [JsonProperty("LBP")] Lbp, - [JsonProperty("MAD")] Mad, - [JsonProperty("NGN")] Ngn, - [JsonProperty("NIO")] Nio, - [JsonProperty("ESP")] Esp, - [JsonProperty("FRF")] Frf, - [JsonProperty("PAB")] Pab, - [JsonProperty("PEN")] Pen, - [JsonProperty("PKR")] Pkr, - [JsonProperty("PYG")] Pyg, - [JsonProperty("SVC")] Svc, - [JsonProperty("SYP")] Syp, - [JsonProperty("VEF")] Vef, - [JsonProperty("VND")] Vnd, - [JsonProperty("XPF")] Xpf, - [JsonProperty("GYD")] Gyd, - [JsonProperty("MOP")] Mop, - [JsonProperty("PGK")] Pgk, - [JsonProperty("XOF")] Xof, - [JsonProperty("XAF")] Xaf, - [JsonProperty("BZD")] Bzd, - [JsonProperty("BYR")] Byr, - [JsonProperty("BWP")] Bwp, - [JsonProperty("BND")] Bnd, - [JsonProperty("BIF")] Bif, - [JsonProperty("KHR")] Khr, - [JsonProperty("CVE")] Cve, - [JsonProperty("KMF")] Kmf, - [JsonProperty("CDF")] Cdf, - [JsonProperty("DJF")] Djf, - [JsonProperty("ERN")] Ern, - [JsonProperty("FKP")] Fkp, - [JsonProperty("GMD")] Gmd, - [JsonProperty("GEL")] Gel, - [JsonProperty("GHS")] Ghs, - [JsonProperty("GIP")] Gip, - [JsonProperty("GNF")] Gnf, - [JsonProperty("HTG")] Htg, - [JsonProperty("KES")] Kes, - [JsonProperty("KWD")] Kwd, - [JsonProperty("KGS")] Kgs, - [JsonProperty("LAK")] Lak, - [JsonProperty("LRD")] Lrd, - [JsonProperty("MKD")] Mkd, - [JsonProperty("MGA")] Mga, - [JsonProperty("MWK")] Mwk, - [JsonProperty("MVR")] Mvr, - [JsonProperty("MRO")] Mro, - [JsonProperty("MUR")] Mur, - [JsonProperty("MNT")] Mnt, - [JsonProperty("MZN")] Mzn, - [JsonProperty("MMK")] Mmk, - [JsonProperty("NAD")] Nad, - [JsonProperty("NPR")] Npr, - [JsonProperty("RWF")] Rwf, - [JsonProperty("SHP")] Shp, - [JsonProperty("WST")] Wst, - [JsonProperty("STD")] Std, - [JsonProperty("SLL")] Sll, - [JsonProperty("SBD")] Sbd, - [JsonProperty("SOS")] Sos, - [JsonProperty("LKR")] Lkr, - [JsonProperty("SRD")] Srd, - [JsonProperty("SZL")] Szl, - [JsonProperty("TOP")] Top, - [JsonProperty("TND")] Tnd, - [JsonProperty("UGX")] Ugx, - [JsonProperty("UZS")] Uzs, - [JsonProperty("VUV")] Vuv, - [JsonProperty("YER")] Yer, - [JsonProperty("ZMK")] Zmk, - [JsonProperty("ZWD")] Zwd, - [JsonProperty("SR")] Sr, - [JsonProperty("ETB")] Etb, - [JsonProperty("GH")] Gh, - [JsonProperty("GWP")] Gwp, - [JsonProperty("IQD")] Iqd, - [JsonProperty("IRR")] Irr, - [JsonProperty("KPW")] Kpw, - [JsonProperty("LSL")] Lsl, - [JsonProperty("ROL")] Rol, - [JsonProperty("SDG")] Sdg, - [JsonProperty("SKK")] Skk, - [JsonProperty("TJS")] Tjs, - [JsonProperty("TMT")] Tmt, - [JsonProperty("TZS")] Tzs, - [JsonProperty("ALL")] All, - [JsonProperty("BTN")] Btn, - [JsonProperty("CUP")] Cup, - [JsonProperty("LD")] Ld, - [JsonProperty("SCR")] Scr, - [JsonProperty("ZMW")] Zmw, - [JsonProperty("ZWL")] Zwl, - } - - public static class CurrencyJson1Extension - { - public static string Value(this CurrencyJson1 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static CurrencyJson1 ToEnum(this string value) - { - foreach (var field in typeof(CurrencyJson1).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 CurrencyJson1) - { - return (CurrencyJson1)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum CurrencyJson1"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CurrencyJson2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CurrencyJson2.cs new file mode 100644 index 000000000..8be5e6be3 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/CurrencyJson2.cs @@ -0,0 +1,222 @@ +//------------------------------------------------------------------------------ +// +// 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 ISO 4217 standard format currency code used for RFPs. + /// + public enum CurrencyJson2 + { + [JsonProperty("USD")] Usd, + [JsonProperty("CAD")] Cad, + [JsonProperty("AUD")] Aud, + [JsonProperty("EUR")] Eur, + [JsonProperty("GBP")] Gbp, + [JsonProperty("HKD")] Hkd, + [JsonProperty("NZD")] Nzd, + [JsonProperty("AED")] Aed, + [JsonProperty("NOK")] Nok, + [JsonProperty("INR")] Inr, + [JsonProperty("MXN")] Mxn, + [JsonProperty("SEK")] Sek, + [JsonProperty("DKK")] Dkk, + [JsonProperty("MYR")] Myr, + [JsonProperty("JPY")] Jpy, + [JsonProperty("SGD")] Sgd, + [JsonProperty("THB")] Thb, + [JsonProperty("IDR")] Idr, + [JsonProperty("KRW")] Krw, + [JsonProperty("CNY")] Cny, + [JsonProperty("TWD")] Twd, + [JsonProperty("RUB")] Rub, + [JsonProperty("CHF")] Chf, + [JsonProperty("CZK")] Czk, + [JsonProperty("HUF")] Huf, + [JsonProperty("QAR")] Qar, + [JsonProperty("ZAR")] Zar, + [JsonProperty("RON")] Ron, + [JsonProperty("HRK")] Hrk, + [JsonProperty("TRY")] Try, + [JsonProperty("BRL")] Brl, + [JsonProperty("PHP")] Php, + [JsonProperty("SAR")] Sar, + [JsonProperty("PLN")] Pln, + [JsonProperty("ARS")] Ars, + [JsonProperty("AWG")] Awg, + [JsonProperty("AZN")] Azn, + [JsonProperty("BSD")] Bsd, + [JsonProperty("BBD")] Bbd, + [JsonProperty("BMD")] Bmd, + [JsonProperty("CLP")] Clp, + [JsonProperty("COP")] Cop, + [JsonProperty("CRC")] Crc, + [JsonProperty("DOP")] Dop, + [JsonProperty("XCD")] Xcd, + [JsonProperty("ILS")] Ils, + [JsonProperty("JMD")] Jmd, + [JsonProperty("LVL")] Lvl, + [JsonProperty("LTL")] Ltl, + [JsonProperty("MDL")] Mdl, + [JsonProperty("ANG")] Ang, + [JsonProperty("OMR")] Omr, + [JsonProperty("TTD")] Ttd, + [JsonProperty("UAH")] Uah, + [JsonProperty("UYU")] Uyu, + [JsonProperty("RSD")] Rsd, + [JsonProperty("AFN")] Afn, + [JsonProperty("AMD")] Amd, + [JsonProperty("AOA")] Aoa, + [JsonProperty("BAM")] Bam, + [JsonProperty("BDT")] Bdt, + [JsonProperty("BGN")] Bgn, + [JsonProperty("BHD")] Bhd, + [JsonProperty("BOB")] Bob, + [JsonProperty("DZD")] Dzd, + [JsonProperty("EEK")] Eek, + [JsonProperty("EGP")] Egp, + [JsonProperty("FJD")] Fjd, + [JsonProperty("GTQ")] Gtq, + [JsonProperty("HNL")] Hnl, + [JsonProperty("ISK")] Isk, + [JsonProperty("JOD")] Jod, + [JsonProperty("KYD")] Kyd, + [JsonProperty("KZT")] Kzt, + [JsonProperty("LBP")] Lbp, + [JsonProperty("MAD")] Mad, + [JsonProperty("NGN")] Ngn, + [JsonProperty("NIO")] Nio, + [JsonProperty("ESP")] Esp, + [JsonProperty("FRF")] Frf, + [JsonProperty("PAB")] Pab, + [JsonProperty("PEN")] Pen, + [JsonProperty("PKR")] Pkr, + [JsonProperty("PYG")] Pyg, + [JsonProperty("SVC")] Svc, + [JsonProperty("SYP")] Syp, + [JsonProperty("VEF")] Vef, + [JsonProperty("VND")] Vnd, + [JsonProperty("XPF")] Xpf, + [JsonProperty("GYD")] Gyd, + [JsonProperty("MOP")] Mop, + [JsonProperty("PGK")] Pgk, + [JsonProperty("XOF")] Xof, + [JsonProperty("XAF")] Xaf, + [JsonProperty("BZD")] Bzd, + [JsonProperty("BYR")] Byr, + [JsonProperty("BWP")] Bwp, + [JsonProperty("BND")] Bnd, + [JsonProperty("BIF")] Bif, + [JsonProperty("KHR")] Khr, + [JsonProperty("CVE")] Cve, + [JsonProperty("KMF")] Kmf, + [JsonProperty("CDF")] Cdf, + [JsonProperty("DJF")] Djf, + [JsonProperty("ERN")] Ern, + [JsonProperty("FKP")] Fkp, + [JsonProperty("GMD")] Gmd, + [JsonProperty("GEL")] Gel, + [JsonProperty("GHS")] Ghs, + [JsonProperty("GIP")] Gip, + [JsonProperty("GNF")] Gnf, + [JsonProperty("HTG")] Htg, + [JsonProperty("KES")] Kes, + [JsonProperty("KWD")] Kwd, + [JsonProperty("KGS")] Kgs, + [JsonProperty("LAK")] Lak, + [JsonProperty("LRD")] Lrd, + [JsonProperty("MKD")] Mkd, + [JsonProperty("MGA")] Mga, + [JsonProperty("MWK")] Mwk, + [JsonProperty("MVR")] Mvr, + [JsonProperty("MRO")] Mro, + [JsonProperty("MUR")] Mur, + [JsonProperty("MNT")] Mnt, + [JsonProperty("MZN")] Mzn, + [JsonProperty("MMK")] Mmk, + [JsonProperty("NAD")] Nad, + [JsonProperty("NPR")] Npr, + [JsonProperty("RWF")] Rwf, + [JsonProperty("SHP")] Shp, + [JsonProperty("WST")] Wst, + [JsonProperty("STD")] Std, + [JsonProperty("SLL")] Sll, + [JsonProperty("SBD")] Sbd, + [JsonProperty("SOS")] Sos, + [JsonProperty("LKR")] Lkr, + [JsonProperty("SRD")] Srd, + [JsonProperty("SZL")] Szl, + [JsonProperty("TOP")] Top, + [JsonProperty("TND")] Tnd, + [JsonProperty("UGX")] Ugx, + [JsonProperty("UZS")] Uzs, + [JsonProperty("VUV")] Vuv, + [JsonProperty("YER")] Yer, + [JsonProperty("ZMK")] Zmk, + [JsonProperty("ZWD")] Zwd, + [JsonProperty("SR")] Sr, + [JsonProperty("ETB")] Etb, + [JsonProperty("GH")] Gh, + [JsonProperty("GWP")] Gwp, + [JsonProperty("IQD")] Iqd, + [JsonProperty("IRR")] Irr, + [JsonProperty("KPW")] Kpw, + [JsonProperty("LSL")] Lsl, + [JsonProperty("ROL")] Rol, + [JsonProperty("SDG")] Sdg, + [JsonProperty("SKK")] Skk, + [JsonProperty("TJS")] Tjs, + [JsonProperty("TMT")] Tmt, + [JsonProperty("TZS")] Tzs, + [JsonProperty("ALL")] All, + [JsonProperty("BTN")] Btn, + [JsonProperty("CUP")] Cup, + [JsonProperty("LD")] Ld, + [JsonProperty("SCR")] Scr, + [JsonProperty("ZMW")] Zmw, + [JsonProperty("ZWL")] Zwl, + } + + public static class CurrencyJson2Extension + { + public static string Value(this CurrencyJson2 value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static CurrencyJson2 ToEnum(this string value) + { + foreach (var field in typeof(CurrencyJson2).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 CurrencyJson2) + { + return (CurrencyJson2)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum CurrencyJson2"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CustomField3.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CustomField3.cs index dcb9c6bde..4058ad83a 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/CustomField3.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/CustomField3.cs @@ -46,7 +46,7 @@ public class CustomField3 /// This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. /// [JsonProperty("type")] - public CustomFieldTypeJson1 Type { get; set; } = default!; + public CustomFieldTypeJson Type { get; set; } = default!; /// /// Type-specific details of the custom-field. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldAnswers.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldAnswers.cs new file mode 100644 index 000000000..6e81cd176 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldAnswers.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; + using System.Collections.Generic; + + /// + /// This object contains RFP custom fields attributes only. + /// + public class CustomFieldAnswers + { + /// + /// An object containing custom field data. By default, contains only the field ID.
+ ///
+ /// This is an **expandable** object. When requested via the `expand` query parameter with value `customField`, this object expands to include all properties of a custom field definition.
+ ///
+ /// See the `expand` parameter documentation and refer to the Get Custom Field API for the complete expanded schema. + ///
+ [JsonProperty("customField")] + public ExpandableCustomObject CustomField { get; set; } = default!; + + /// + /// List of answers for the RFP custom field. + /// + [JsonProperty("answers")] + public List Answers { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJson.cs new file mode 100644 index 000000000..f79824e00 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJson.cs @@ -0,0 +1,52 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// A Custom Field. + /// + public class CustomFieldJson + { + /// + /// The unique ID representing this custom field. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + + /// + /// The actual text of the custom field. + /// + [JsonProperty("name")] + public string? Name { get; set; } + + /// + /// The type of data collected by a custom field. + /// + [JsonProperty("type")] + public CustomFieldJsonCustomFieldType? Type { get; set; } + + /// + /// The set of answers or possible answers to a question. + /// + [JsonProperty("value")] + public List Value { get; set; } = default!; + + /// + /// The order of this question in the bigger list of questions. + /// + [JsonProperty("order")] + public long? Order { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJson1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJson1.cs index 65ef43b2e..da51144e8 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJson1.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJson1.cs @@ -15,12 +15,12 @@ namespace Cvent.SDK.Models.Components using System.Collections.Generic; /// - /// A Custom Field. + /// A survey custom field. /// public class CustomFieldJson1 { /// - /// The unique ID representing this custom field. + /// The unique id representing this custom field. /// [JsonProperty("id")] public string Id { get; set; } = default!; @@ -32,21 +32,18 @@ public class CustomFieldJson1 public string? Name { get; set; } /// - /// The type of data collected by a custom field. + /// Code to uniquely identify custom field. /// + [JsonProperty("code")] + public string? Code { get; set; } + [JsonProperty("type")] public CustomFieldJson1CustomFieldType? Type { get; set; } /// - /// The set of answers or possible answers to a question. - /// - [JsonProperty("value")] - public List Value { get; set; } = default!; - - /// - /// The order of this question in the bigger list of questions. + /// The set of values or possible values to a custom field. /// - [JsonProperty("order")] - public long? Order { get; set; } + [JsonProperty("values")] + public List Values { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJson1CustomFieldType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJson1CustomFieldType.cs index 31864e234..cc0a8a393 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJson1CustomFieldType.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJson1CustomFieldType.cs @@ -14,29 +14,15 @@ namespace Cvent.SDK.Models.Components using System; /// - /// The type of data collected by a custom field. + /// This is used to denote the type of data collected by a custom field. /// public enum CustomFieldJson1CustomFieldType { - [JsonProperty("AutoIncrement")] AutoIncrement, - [JsonProperty("ConsentQuestion")] ConsentQuestion, - [JsonProperty("Currency")] Currency, - [JsonProperty("Decimal")] Decimal, - [JsonProperty("Date")] Date, - [JsonProperty("DateTime")] DateTime, - [JsonProperty("Email")] Email, - [JsonProperty("FileUpload")] FileUpload, - [JsonProperty("FreeText")] FreeText, - [JsonProperty("General")] General, - [JsonProperty("MultiChoice")] MultiChoice, - [JsonProperty("MultiSelect")] MultiSelect, - [JsonProperty("Number")] Number, - [JsonProperty("OpenEndedDateTime")] OpenEndedDateTime, - [JsonProperty("OpenEndedText")] OpenEndedText, - [JsonProperty("SingleChoice")] SingleChoice, - [JsonProperty("SingleSelect")] SingleSelect, - [JsonProperty("USPhoneNumber")] USPhoneNumber, - [JsonProperty("Unknown")] Unknown, + [JsonProperty("Open Ended Text - Date/Time")] OpenEndedTextDateTime, + [JsonProperty("Open Ended Text - One Line")] OpenEndedTextOneLine, + [JsonProperty("Open Ended Text - Comment Box")] OpenEndedTextCommentBox, + [JsonProperty("Choice - Single Answer")] ChoiceSingleAnswer, + [JsonProperty("Choice - Multiple Answers")] ChoiceMultipleAnswers, } public static class CustomFieldJson1CustomFieldTypeExtension diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJson2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJson2.cs index 40a095fc2..7f9d3f32f 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJson2.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJson2.cs @@ -15,12 +15,12 @@ namespace Cvent.SDK.Models.Components using System.Collections.Generic; /// - /// A survey custom field. + /// A Custom Field. /// public class CustomFieldJson2 { /// - /// The unique id representing this custom field. + /// The unique ID representing this custom field. /// [JsonProperty("id")] public string Id { get; set; } = default!; @@ -32,18 +32,21 @@ public class CustomFieldJson2 public string? Name { get; set; } /// - /// Code to uniquely identify custom field. + /// The set of answers or possible answers to a question. /// - [JsonProperty("code")] - public string? Code { get; set; } + [JsonProperty("value")] + public List Value { get; set; } = default!; - [JsonProperty("type")] - public CustomFieldJson2CustomFieldType? Type { get; set; } + /// + /// The order of this question in the bigger list of questions. + /// + [JsonProperty("order")] + public long? Order { get; set; } /// - /// The set of values or possible values to a custom field. + /// The type of data collected by a custom field. /// - [JsonProperty("values")] - public List Values { get; set; } = default!; + [JsonProperty("type")] + public CustomFieldJson2CustomFieldType? Type { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJson2CustomFieldType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJson2CustomFieldType.cs index 7842af65b..36ab4bcac 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJson2CustomFieldType.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJson2CustomFieldType.cs @@ -14,15 +14,29 @@ namespace Cvent.SDK.Models.Components using System; /// - /// This is used to denote the type of data collected by a custom field. + /// The type of data collected by a custom field. /// public enum CustomFieldJson2CustomFieldType { - [JsonProperty("Open Ended Text - Date/Time")] OpenEndedTextDateTime, - [JsonProperty("Open Ended Text - One Line")] OpenEndedTextOneLine, - [JsonProperty("Open Ended Text - Comment Box")] OpenEndedTextCommentBox, - [JsonProperty("Choice - Single Answer")] ChoiceSingleAnswer, - [JsonProperty("Choice - Multiple Answers")] ChoiceMultipleAnswers, + [JsonProperty("AutoIncrement")] AutoIncrement, + [JsonProperty("ConsentQuestion")] ConsentQuestion, + [JsonProperty("Currency")] Currency, + [JsonProperty("Decimal")] Decimal, + [JsonProperty("Date")] Date, + [JsonProperty("DateTime")] DateTime, + [JsonProperty("Email")] Email, + [JsonProperty("FileUpload")] FileUpload, + [JsonProperty("FreeText")] FreeText, + [JsonProperty("General")] General, + [JsonProperty("MultiChoice")] MultiChoice, + [JsonProperty("MultiSelect")] MultiSelect, + [JsonProperty("Number")] Number, + [JsonProperty("OpenEndedDateTime")] OpenEndedDateTime, + [JsonProperty("OpenEndedText")] OpenEndedText, + [JsonProperty("SingleChoice")] SingleChoice, + [JsonProperty("SingleSelect")] SingleSelect, + [JsonProperty("USPhoneNumber")] USPhoneNumber, + [JsonProperty("Unknown")] Unknown, } public static class CustomFieldJson2CustomFieldTypeExtension diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJson3.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJson3.cs deleted file mode 100644 index 02eaf8f57..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJson3.cs +++ /dev/null @@ -1,52 +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; - using System.Collections.Generic; - - /// - /// A Custom Field. - /// - public class CustomFieldJson3 - { - /// - /// The unique ID representing this custom field. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; - - /// - /// The actual text of the custom field. - /// - [JsonProperty("name")] - public string? Name { get; set; } - - /// - /// The set of answers or possible answers to a question. - /// - [JsonProperty("value")] - public List Value { get; set; } = default!; - - /// - /// The order of this question in the bigger list of questions. - /// - [JsonProperty("order")] - public long? Order { get; set; } - - /// - /// The type of data collected by a custom field. - /// - [JsonProperty("type")] - public CustomFieldJson3CustomFieldType? Type { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJson3CustomFieldType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJson3CustomFieldType.cs deleted file mode 100644 index fc33482b3..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJson3CustomFieldType.cs +++ /dev/null @@ -1,74 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// The type of data collected by a custom field. - /// - public enum CustomFieldJson3CustomFieldType - { - [JsonProperty("AutoIncrement")] AutoIncrement, - [JsonProperty("ConsentQuestion")] ConsentQuestion, - [JsonProperty("Currency")] Currency, - [JsonProperty("Decimal")] Decimal, - [JsonProperty("Date")] Date, - [JsonProperty("DateTime")] DateTime, - [JsonProperty("Email")] Email, - [JsonProperty("FileUpload")] FileUpload, - [JsonProperty("FreeText")] FreeText, - [JsonProperty("General")] General, - [JsonProperty("MultiChoice")] MultiChoice, - [JsonProperty("MultiSelect")] MultiSelect, - [JsonProperty("Number")] Number, - [JsonProperty("OpenEndedDateTime")] OpenEndedDateTime, - [JsonProperty("OpenEndedText")] OpenEndedText, - [JsonProperty("SingleChoice")] SingleChoice, - [JsonProperty("SingleSelect")] SingleSelect, - [JsonProperty("USPhoneNumber")] USPhoneNumber, - [JsonProperty("Unknown")] Unknown, - } - - public static class CustomFieldJson3CustomFieldTypeExtension - { - public static string Value(this CustomFieldJson3CustomFieldType value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static CustomFieldJson3CustomFieldType ToEnum(this string value) - { - foreach (var field in typeof(CustomFieldJson3CustomFieldType).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 CustomFieldJson3CustomFieldType) - { - return (CustomFieldJson3CustomFieldType)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum CustomFieldJson3CustomFieldType"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJsonCustomFieldType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJsonCustomFieldType.cs new file mode 100644 index 000000000..decf002e4 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldJsonCustomFieldType.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// 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 type of data collected by a custom field. + /// + public enum CustomFieldJsonCustomFieldType + { + [JsonProperty("AutoIncrement")] AutoIncrement, + [JsonProperty("ConsentQuestion")] ConsentQuestion, + [JsonProperty("Currency")] Currency, + [JsonProperty("Decimal")] Decimal, + [JsonProperty("Date")] Date, + [JsonProperty("DateTime")] DateTime, + [JsonProperty("Email")] Email, + [JsonProperty("FileUpload")] FileUpload, + [JsonProperty("FreeText")] FreeText, + [JsonProperty("General")] General, + [JsonProperty("MultiChoice")] MultiChoice, + [JsonProperty("MultiSelect")] MultiSelect, + [JsonProperty("Number")] Number, + [JsonProperty("OpenEndedDateTime")] OpenEndedDateTime, + [JsonProperty("OpenEndedText")] OpenEndedText, + [JsonProperty("SingleChoice")] SingleChoice, + [JsonProperty("SingleSelect")] SingleSelect, + [JsonProperty("USPhoneNumber")] USPhoneNumber, + [JsonProperty("Unknown")] Unknown, + } + + public static class CustomFieldJsonCustomFieldTypeExtension + { + public static string Value(this CustomFieldJsonCustomFieldType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static CustomFieldJsonCustomFieldType ToEnum(this string value) + { + foreach (var field in typeof(CustomFieldJsonCustomFieldType).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 CustomFieldJsonCustomFieldType) + { + return (CustomFieldJsonCustomFieldType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum CustomFieldJsonCustomFieldType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldTypeJson.cs new file mode 100644 index 000000000..0f3661f15 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldTypeJson.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; + + /// + /// This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. + /// + public enum CustomFieldTypeJson + { + [JsonProperty("Open Ended Text - Date/Time")] OpenEndedTextDateTime, + [JsonProperty("Open Ended Text - One Line")] OpenEndedTextOneLine, + [JsonProperty("Open Ended Text - Comment Box")] OpenEndedTextCommentBox, + [JsonProperty("Choice - Single Answer")] ChoiceSingleAnswer, + [JsonProperty("Choice - Multiple Answers")] ChoiceMultipleAnswers, + [JsonProperty("Auto-Increment")] AutoIncrement, + } + + public static class CustomFieldTypeJsonExtension + { + public static string Value(this CustomFieldTypeJson value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static CustomFieldTypeJson ToEnum(this string value) + { + foreach (var field in typeof(CustomFieldTypeJson).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 CustomFieldTypeJson) + { + return (CustomFieldTypeJson)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum CustomFieldTypeJson"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldTypeJson1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldTypeJson1.cs deleted file mode 100644 index a59e2956b..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/CustomFieldTypeJson1.cs +++ /dev/null @@ -1,61 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. - /// - public enum CustomFieldTypeJson1 - { - [JsonProperty("Open Ended Text - Date/Time")] OpenEndedTextDateTime, - [JsonProperty("Open Ended Text - One Line")] OpenEndedTextOneLine, - [JsonProperty("Open Ended Text - Comment Box")] OpenEndedTextCommentBox, - [JsonProperty("Choice - Single Answer")] ChoiceSingleAnswer, - [JsonProperty("Choice - Multiple Answers")] ChoiceMultipleAnswers, - [JsonProperty("Auto-Increment")] AutoIncrement, - } - - public static class CustomFieldTypeJson1Extension - { - public static string Value(this CustomFieldTypeJson1 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static CustomFieldTypeJson1 ToEnum(this string value) - { - foreach (var field in typeof(CustomFieldTypeJson1).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 CustomFieldTypeJson1) - { - return (CustomFieldTypeJson1)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum CustomFieldTypeJson1"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CustomQuestionAnswerJson0.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CustomQuestionAnswerJson0.cs deleted file mode 100644 index fd8d02001..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/CustomQuestionAnswerJson0.cs +++ /dev/null @@ -1,33 +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; - - /// - /// Represents custom question associated with a travel proposal. - /// - public class CustomQuestionAnswerJson0 - { - /// - /// Travel account that the proposal is responding to. - /// - [JsonProperty("question")] - public CustomQuestionAnswerJson0Question? Question { get; set; } - - /// - /// Hotel's answer to the program's custom question. - /// - [JsonProperty("answer")] - public string? Answer { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/CustomQuestionAnswerJson0Question.cs b/packages/csharp/src/Cvent/SDK/Models/Components/CustomQuestionAnswerJson0Question.cs deleted file mode 100644 index 0fdb2d567..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/CustomQuestionAnswerJson0Question.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// Travel account that the proposal is responding to. - /// - public class CustomQuestionAnswerJson0Question - { - /// - /// The unique ID of the question. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DateAnswerFormat.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DateAnswerFormat.cs new file mode 100644 index 000000000..8cd1ef37d --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/DateAnswerFormat.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; + + /// + /// The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. `DateTime`: Answer format is stored in DateTime format. `Time`: Answer format is stored in Time format. + /// + public enum DateAnswerFormat + { + [JsonProperty("Date")] Date, + [JsonProperty("DateTime")] DateTime, + [JsonProperty("Time")] Time, + } + + public static class DateAnswerFormatExtension + { + public static string Value(this DateAnswerFormat value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static DateAnswerFormat ToEnum(this string value) + { + foreach (var field in typeof(DateAnswerFormat).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 DateAnswerFormat) + { + return (DateAnswerFormat)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum DateAnswerFormat"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DateAnswerFormatJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DateAnswerFormatJson.cs deleted file mode 100644 index 8c6e9b57b..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/DateAnswerFormatJson.cs +++ /dev/null @@ -1,58 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. `DateTime`: Answer format is stored in DateTime format. `Time`: Answer format is stored in Time format. - /// - public enum DateAnswerFormatJson - { - [JsonProperty("Date")] Date, - [JsonProperty("DateTime")] DateTime, - [JsonProperty("Time")] Time, - } - - public static class DateAnswerFormatJsonExtension - { - public static string Value(this DateAnswerFormatJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static DateAnswerFormatJson ToEnum(this string value) - { - foreach (var field in typeof(DateAnswerFormatJson).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 DateAnswerFormatJson) - { - return (DateAnswerFormatJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum DateAnswerFormatJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DatePattern1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DatePattern1.cs new file mode 100644 index 000000000..71e3ac3ff --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/DatePattern1.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.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + using System.Collections.Generic; + + /// + /// Date pattern for days on which event can occur. Used when dateMode is DATE_PATTERN. + /// + public class DatePattern1 + { + /// + /// Note along with date pattern requirements. + /// + [JsonProperty("note")] + public string? Note { get; set; } + + /// + /// The ISO 8601 end date of the event. + /// + [JsonProperty("endDate")] + public DateOnly EndDate { get; set; } = default!; + + /// + /// The ISO 8601 start date of the event. + /// + [JsonProperty("startDate")] + public DateOnly StartDate { get; set; } = default!; + + /// + /// Number of days the event will go on. + /// + [JsonProperty("durationDays")] + public long DurationDays { get; set; } = default!; + + /// + /// Days of the week when event can start. + /// + [JsonProperty("startDays")] + public List StartDays { get; set; } = default!; + + /// + /// List of dates generated based on the date pattern. + /// + [JsonProperty("generatedDates")] + public List? GeneratedDates { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DatePatternJson0.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DatePatternJson0.cs deleted file mode 100644 index 7c6724f79..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/DatePatternJson0.cs +++ /dev/null @@ -1,59 +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; - using System; - using System.Collections.Generic; - - /// - /// Date pattern for days on which event can occur. Used when dateMode is DATE_PATTERN. - /// - public class DatePatternJson0 - { - /// - /// Note along with date pattern requirements. - /// - [JsonProperty("note")] - public string? Note { get; set; } - - /// - /// The ISO 8601 end date of the event. - /// - [JsonProperty("endDate")] - public DateOnly EndDate { get; set; } = default!; - - /// - /// The ISO 8601 start date of the event. - /// - [JsonProperty("startDate")] - public DateOnly StartDate { get; set; } = default!; - - /// - /// Number of days the event will go on. - /// - [JsonProperty("durationDays")] - public long DurationDays { get; set; } = default!; - - /// - /// Days of the week when event can start. - /// - [JsonProperty("startDays")] - public List StartDays { get; set; } = default!; - - /// - /// List of dates generated based on the date pattern. - /// - [JsonProperty("generatedDates")] - public List? GeneratedDates { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DateRequirements1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DateRequirements1.cs new file mode 100644 index 000000000..78a757d77 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/DateRequirements1.cs @@ -0,0 +1,46 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Date requirements for the event. + /// + public class DateRequirements1 + { + /// + /// RfpDateMode. + /// + [JsonProperty("mode")] + public RfpDateMode Mode { get; set; } = default!; + + /// + /// List of dates for the event. Can be used to provide set of alternate event dates when mode is ALTERNATE_DATE. + /// + [JsonProperty("alternateDates")] + public List? AlternateDates { get; set; } + + /// + /// Date pattern for days on which event can occur. Used when dateMode is DATE_PATTERN. + /// + [JsonProperty("pattern")] + public DatePattern1? Pattern { get; set; } + + /// + /// True indicates that the event requires a range of availability dates. + /// + [JsonProperty("availabilityRangeRequired")] + public bool? AvailabilityRangeRequired { get; set; } = false; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DateRequirementsJson0.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DateRequirementsJson0.cs deleted file mode 100644 index c2ea19330..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/DateRequirementsJson0.cs +++ /dev/null @@ -1,46 +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; - using System.Collections.Generic; - - /// - /// Date requirements for the event. - /// - public class DateRequirementsJson0 - { - /// - /// Way of specifying dates for the event. - /// - [JsonProperty("mode")] - public RfpDateModeJson0 Mode { get; set; } = default!; - - /// - /// List of dates for the event. Can be used to provide set of alternate event dates when mode is ALTERNATE_DATE. - /// - [JsonProperty("alternateDates")] - public List? AlternateDates { get; set; } - - /// - /// Date pattern for days on which event can occur. Used when dateMode is DATE_PATTERN. - /// - [JsonProperty("pattern")] - public DatePatternJson0? Pattern { get; set; } - - /// - /// True indicates that the event requires a range of availability dates. - /// - [JsonProperty("availabilityRangeRequired")] - public bool? AvailabilityRangeRequired { get; set; } = false; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DateTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DateTypeJson.cs new file mode 100644 index 000000000..9b56a2f06 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/DateTypeJson.cs @@ -0,0 +1,68 @@ +//------------------------------------------------------------------------------ +// +// 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 date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). + /// + public enum DateTypeJson + { + [JsonProperty("PREFERRED")] Preferred, + [JsonProperty("ALTERNATE_1")] Alternate1, + [JsonProperty("ALTERNATE_2")] Alternate2, + [JsonProperty("ALTERNATE_3")] Alternate3, + [JsonProperty("ALTERNATE_4")] Alternate4, + [JsonProperty("ALTERNATE_5")] Alternate5, + [JsonProperty("ALTERNATE_6")] Alternate6, + [JsonProperty("ALTERNATE_7")] Alternate7, + [JsonProperty("ALTERNATE_8")] Alternate8, + [JsonProperty("ALTERNATE_9")] Alternate9, + [JsonProperty("ALTERNATE_10")] Alternate10, + [JsonProperty("ALTERNATE_11")] Alternate11, + [JsonProperty("ALTERNATE_12")] Alternate12, + } + + public static class DateTypeJsonExtension + { + public static string Value(this DateTypeJson value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static DateTypeJson ToEnum(this string value) + { + foreach (var field in typeof(DateTypeJson).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 DateTypeJson) + { + return (DateTypeJson)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum DateTypeJson"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DateTypeJson1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DateTypeJson1.cs deleted file mode 100644 index 5a95cba1f..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/DateTypeJson1.cs +++ /dev/null @@ -1,68 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). - /// - public enum DateTypeJson1 - { - [JsonProperty("PREFERRED")] Preferred, - [JsonProperty("ALTERNATE_1")] Alternate1, - [JsonProperty("ALTERNATE_2")] Alternate2, - [JsonProperty("ALTERNATE_3")] Alternate3, - [JsonProperty("ALTERNATE_4")] Alternate4, - [JsonProperty("ALTERNATE_5")] Alternate5, - [JsonProperty("ALTERNATE_6")] Alternate6, - [JsonProperty("ALTERNATE_7")] Alternate7, - [JsonProperty("ALTERNATE_8")] Alternate8, - [JsonProperty("ALTERNATE_9")] Alternate9, - [JsonProperty("ALTERNATE_10")] Alternate10, - [JsonProperty("ALTERNATE_11")] Alternate11, - [JsonProperty("ALTERNATE_12")] Alternate12, - } - - public static class DateTypeJson1Extension - { - public static string Value(this DateTypeJson1 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static DateTypeJson1 ToEnum(this string value) - { - foreach (var field in typeof(DateTypeJson1).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 DateTypeJson1) - { - return (DateTypeJson1)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum DateTypeJson1"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Dates1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Dates1.cs new file mode 100644 index 000000000..f94c5a6ef --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Dates1.cs @@ -0,0 +1,51 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Dates on which event will occur. + /// + public class Dates1 + { + /// + /// True indicates these are preferred dates. + /// + [JsonProperty("preferred")] + public bool? Preferred { get; set; } + + /// + /// Unique identifier for dates. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// The ISO 8601 end date of the event. + /// + [JsonProperty("endDate")] + public DateOnly? EndDate { get; set; } + + /// + /// The ISO 8601 start date of the event. + /// + [JsonProperty("startDate")] + public DateOnly? StartDate { get; set; } + + /// + /// A note detailing the requirements for the dates. + /// + [JsonProperty("note")] + public string? Note { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DatesJson0.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DatesJson0.cs deleted file mode 100644 index db5f27ef3..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/DatesJson0.cs +++ /dev/null @@ -1,51 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Dates on which event will occur. - /// - public class DatesJson0 - { - /// - /// True indicates these are preferred dates. - /// - [JsonProperty("preferred")] - public bool? Preferred { get; set; } - - /// - /// Unique identifier for dates. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// The ISO 8601 end date of the event. - /// - [JsonProperty("endDate")] - public DateOnly? EndDate { get; set; } - - /// - /// The ISO 8601 start date of the event. - /// - [JsonProperty("startDate")] - public DateOnly? StartDate { get; set; } - - /// - /// A note detailing the requirements for the dates. - /// - [JsonProperty("note")] - public string? Note { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DayOfWeek.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DayOfWeek.cs new file mode 100644 index 000000000..5d89cf52b --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/DayOfWeek.cs @@ -0,0 +1,62 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// DayOfWeek. + /// + public enum DayOfWeek + { + [JsonProperty("SUNDAY")] Sunday, + [JsonProperty("MONDAY")] Monday, + [JsonProperty("TUESDAY")] Tuesday, + [JsonProperty("WEDNESDAY")] Wednesday, + [JsonProperty("THURSDAY")] Thursday, + [JsonProperty("FRIDAY")] Friday, + [JsonProperty("SATURDAY")] Saturday, + } + + public static class DayOfWeekExtension + { + public static string Value(this DayOfWeek value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static DayOfWeek ToEnum(this string value) + { + foreach (var field in typeof(DayOfWeek).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 DayOfWeek) + { + return (DayOfWeek)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum DayOfWeek"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DayOfWeekJson0.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DayOfWeekJson0.cs deleted file mode 100644 index 513de846b..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/DayOfWeekJson0.cs +++ /dev/null @@ -1,62 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Day of week. - /// - public enum DayOfWeekJson0 - { - [JsonProperty("SUNDAY")] Sunday, - [JsonProperty("MONDAY")] Monday, - [JsonProperty("TUESDAY")] Tuesday, - [JsonProperty("WEDNESDAY")] Wednesday, - [JsonProperty("THURSDAY")] Thursday, - [JsonProperty("FRIDAY")] Friday, - [JsonProperty("SATURDAY")] Saturday, - } - - public static class DayOfWeekJson0Extension - { - public static string Value(this DayOfWeekJson0 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static DayOfWeekJson0 ToEnum(this string value) - { - foreach (var field in typeof(DayOfWeekJson0).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 DayOfWeekJson0) - { - return (DayOfWeekJson0)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum DayOfWeekJson0"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Device1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Device1.cs new file mode 100644 index 000000000..16de02f76 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Device1.cs @@ -0,0 +1,41 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// The device details used to watched a video. This field has been deprecated. + /// + [Obsolete("This will be removed in a future release, please migrate away from it as soon as possible")] + public class Device1 + { + /// + /// The unique ID of the device the viewer used to watch the video. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. + /// + [JsonProperty("type")] + public DeviceType? Type { get; set; } + + /// + /// The device's operating system. + /// + [JsonProperty("operatingSystem")] + public string? OperatingSystem { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DeviceJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DeviceJson.cs deleted file mode 100644 index 9202fdc7e..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/DeviceJson.cs +++ /dev/null @@ -1,41 +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; - using System; - - /// - /// The device details used to watched a video. This field has been deprecated. - /// - [Obsolete("This will be removed in a future release, please migrate away from it as soon as possible")] - public class DeviceJson - { - /// - /// The unique ID of the device the viewer used to watch the video. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. - /// - [JsonProperty("type")] - public DeviceTypeJson? Type { get; set; } - - /// - /// The device's operating system. - /// - [JsonProperty("operatingSystem")] - public string? OperatingSystem { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DeviceType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DeviceType.cs new file mode 100644 index 000000000..17b448215 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/DeviceType.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; + + /// + /// The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. + /// + public enum DeviceType + { + [JsonProperty("DESKTOP")] Desktop, + [JsonProperty("MOBILE")] Mobile, + [JsonProperty("TABLET")] Tablet, + } + + public static class DeviceTypeExtension + { + public static string Value(this DeviceType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static DeviceType ToEnum(this string value) + { + foreach (var field in typeof(DeviceType).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 DeviceType) + { + return (DeviceType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum DeviceType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DeviceTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DeviceTypeJson.cs deleted file mode 100644 index c3c2d080e..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/DeviceTypeJson.cs +++ /dev/null @@ -1,58 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. - /// - public enum DeviceTypeJson - { - [JsonProperty("DESKTOP")] Desktop, - [JsonProperty("MOBILE")] Mobile, - [JsonProperty("TABLET")] Tablet, - } - - public static class DeviceTypeJsonExtension - { - public static string Value(this DeviceTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static DeviceTypeJson ToEnum(this string value) - { - foreach (var field in typeof(DeviceTypeJson).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 DeviceTypeJson) - { - return (DeviceTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum DeviceTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DisplayType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DisplayType.cs new file mode 100644 index 000000000..3aefdb7d4 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/DisplayType.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; + + /// + /// The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: It is associated with drop down type questions. `Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list type questions. `MultiSelectBox`: It is associated with multi select box type questions. `Vertical`: It is associated with vertical type questions. + /// + public enum DisplayType + { + [JsonProperty("Bar")] Bar, + [JsonProperty("DropDown")] DropDown, + [JsonProperty("Horizontal")] Horizontal, + [JsonProperty("List")] List, + [JsonProperty("MultiSelectBox")] MultiSelectBox, + [JsonProperty("Vertical")] Vertical, + } + + public static class DisplayTypeExtension + { + public static string Value(this DisplayType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static DisplayType ToEnum(this string value) + { + foreach (var field in typeof(DisplayType).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 DisplayType) + { + return (DisplayType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum DisplayType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DisplayTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DisplayTypeJson.cs deleted file mode 100644 index 55442e5fe..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/DisplayTypeJson.cs +++ /dev/null @@ -1,61 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: It is associated with drop down type questions. `Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list type questions. `MultiSelectBox`: It is associated with multi select box type questions. `Vertical`: It is associated with vertical type questions. - /// - public enum DisplayTypeJson - { - [JsonProperty("Bar")] Bar, - [JsonProperty("DropDown")] DropDown, - [JsonProperty("Horizontal")] Horizontal, - [JsonProperty("List")] List, - [JsonProperty("MultiSelectBox")] MultiSelectBox, - [JsonProperty("Vertical")] Vertical, - } - - public static class DisplayTypeJsonExtension - { - public static string Value(this DisplayTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static DisplayTypeJson ToEnum(this string value) - { - foreach (var field in typeof(DisplayTypeJson).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 DisplayTypeJson) - { - return (DisplayTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum DisplayTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DistanceJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DistanceJson.cs new file mode 100644 index 000000000..141ce535d --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/DistanceJson.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Distance information. + /// + public class DistanceJson + { + /// + /// Distance from the hotel to the venue. + /// + [JsonProperty("distance")] + public double Distance { get; set; } = default!; + + /// + /// Unit of measurement for the distance. + /// + [JsonProperty("distanceUnit")] + public DistanceUnit DistanceUnit { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DistanceJson1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DistanceJson1.cs deleted file mode 100644 index e9c522804..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/DistanceJson1.cs +++ /dev/null @@ -1,33 +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; - - /// - /// Distance information. - /// - public class DistanceJson1 - { - /// - /// Distance from the hotel to the venue. - /// - [JsonProperty("distance")] - public double Distance { get; set; } = default!; - - /// - /// Unit of measurement for the distance. - /// - [JsonProperty("distanceUnit")] - public DistanceUnit DistanceUnit { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DistributionListInfo.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DistributionListInfo.cs new file mode 100644 index 000000000..66e9a2c6e --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/DistributionListInfo.cs @@ -0,0 +1,39 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. + /// + public class DistributionListInfo + { + /// + /// Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. + /// + [JsonProperty("securityType")] + public DistributionListSecurityType? SecurityType { get; set; } + + /// + /// Internal note for Distribution Lists. + /// + [JsonProperty("internalNote")] + public string? InternalNote { get; set; } + + /// + /// Type of distribution list status. + /// + [JsonProperty("status")] + public DistributionListStatus? Status { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DistributionListInfoInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DistributionListInfoInput.cs new file mode 100644 index 000000000..d74f7d17c --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/DistributionListInfoInput.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. + /// + public class DistributionListInfoInput + { + /// + /// Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. + /// + [JsonProperty("securityType")] + public DistributionListSecurityType? SecurityType { get; set; } + + /// + /// Internal note for Distribution Lists. + /// + [JsonProperty("internalNote")] + public string? InternalNote { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DistributionListInfoJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DistributionListInfoJson.cs deleted file mode 100644 index 65804236e..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/DistributionListInfoJson.cs +++ /dev/null @@ -1,39 +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; - - /// - /// Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. - /// - public class DistributionListInfoJson - { - /// - /// Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. - /// - [JsonProperty("securityType")] - public DistributionListSecurityTypeJson? SecurityType { get; set; } - - /// - /// Internal note for Distribution Lists. - /// - [JsonProperty("internalNote")] - public string? InternalNote { get; set; } - - /// - /// Type of distribution list status. - /// - [JsonProperty("status")] - public DistributionListStatusJson? Status { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DistributionListInfoJsonInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DistributionListInfoJsonInput.cs deleted file mode 100644 index 61c7143a8..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/DistributionListInfoJsonInput.cs +++ /dev/null @@ -1,33 +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; - - /// - /// Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. - /// - public class DistributionListInfoJsonInput - { - /// - /// Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. - /// - [JsonProperty("securityType")] - public DistributionListSecurityTypeJson? SecurityType { get; set; } - - /// - /// Internal note for Distribution Lists. - /// - [JsonProperty("internalNote")] - public string? InternalNote { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DistributionListSecurityType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DistributionListSecurityType.cs new file mode 100644 index 000000000..f667c242c --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/DistributionListSecurityType.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; + + /// + /// Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. + /// + public enum DistributionListSecurityType + { + [JsonProperty("PRIVATE")] Private, + [JsonProperty("SEMI_PRIVATE")] SemiPrivate, + [JsonProperty("PUBLIC")] Public, + } + + public static class DistributionListSecurityTypeExtension + { + public static string Value(this DistributionListSecurityType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static DistributionListSecurityType ToEnum(this string value) + { + foreach (var field in typeof(DistributionListSecurityType).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 DistributionListSecurityType) + { + return (DistributionListSecurityType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum DistributionListSecurityType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DistributionListSecurityTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DistributionListSecurityTypeJson.cs deleted file mode 100644 index 64b02b703..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/DistributionListSecurityTypeJson.cs +++ /dev/null @@ -1,58 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. - /// - public enum DistributionListSecurityTypeJson - { - [JsonProperty("PRIVATE")] Private, - [JsonProperty("SEMI_PRIVATE")] SemiPrivate, - [JsonProperty("PUBLIC")] Public, - } - - public static class DistributionListSecurityTypeJsonExtension - { - public static string Value(this DistributionListSecurityTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static DistributionListSecurityTypeJson ToEnum(this string value) - { - foreach (var field in typeof(DistributionListSecurityTypeJson).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 DistributionListSecurityTypeJson) - { - return (DistributionListSecurityTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum DistributionListSecurityTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DistributionListStatus.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DistributionListStatus.cs new file mode 100644 index 000000000..c1664326f --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/DistributionListStatus.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; + + /// + /// Type of distribution list status. + /// + public enum DistributionListStatus + { + [JsonProperty("PENDING")] Pending, + [JsonProperty("PROCESSING")] Processing, + [JsonProperty("COMPLETE")] Complete, + } + + public static class DistributionListStatusExtension + { + public static string Value(this DistributionListStatus value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static DistributionListStatus ToEnum(this string value) + { + foreach (var field in typeof(DistributionListStatus).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 DistributionListStatus) + { + return (DistributionListStatus)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum DistributionListStatus"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DistributionListStatusJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DistributionListStatusJson.cs deleted file mode 100644 index 43037f404..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/DistributionListStatusJson.cs +++ /dev/null @@ -1,58 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Type of distribution list status. - /// - public enum DistributionListStatusJson - { - [JsonProperty("PENDING")] Pending, - [JsonProperty("PROCESSING")] Processing, - [JsonProperty("COMPLETE")] Complete, - } - - public static class DistributionListStatusJsonExtension - { - public static string Value(this DistributionListStatusJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static DistributionListStatusJson ToEnum(this string value) - { - foreach (var field in typeof(DistributionListStatusJson).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 DistributionListStatusJson) - { - return (DistributionListStatusJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum DistributionListStatusJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DocumentType1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DocumentType1.cs new file mode 100644 index 000000000..aa4ce49df --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/DocumentType1.cs @@ -0,0 +1,88 @@ +//------------------------------------------------------------------------------ +// +// 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 document type. + /// + public enum DocumentType1 + { + [JsonProperty("AI")] Ai, + [JsonProperty("AVI")] Avi, + [JsonProperty("BMP")] Bmp, + [JsonProperty("DOC")] Doc, + [JsonProperty("DOCX")] Docx, + [JsonProperty("EML")] Eml, + [JsonProperty("EPS")] Eps, + [JsonProperty("FLV")] Flv, + [JsonProperty("GIF")] Gif, + [JsonProperty("HTM")] Htm, + [JsonProperty("HTML")] Html, + [JsonProperty("ICS")] Ics, + [JsonProperty("JFIF")] Jfif, + [JsonProperty("JPEG")] Jpeg, + [JsonProperty("JPG")] Jpg, + [JsonProperty("LINK")] Link, + [JsonProperty("MOV")] Mov, + [JsonProperty("MP4")] Mp4, + [JsonProperty("MSG")] Msg, + [JsonProperty("ONE")] One, + [JsonProperty("OST")] Ost, + [JsonProperty("PDF")] Pdf, + [JsonProperty("PNG")] Png, + [JsonProperty("PPT")] Ppt, + [JsonProperty("PPTX")] Pptx, + [JsonProperty("PST")] Pst, + [JsonProperty("SVG")] Svg, + [JsonProperty("TIF")] Tif, + [JsonProperty("TIFF")] Tiff, + [JsonProperty("TXT")] Txt, + [JsonProperty("WMV")] Wmv, + [JsonProperty("XLS")] Xls, + [JsonProperty("XLSX")] Xlsx, + } + + public static class DocumentType1Extension + { + public static string Value(this DocumentType1 value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static DocumentType1 ToEnum(this string value) + { + foreach (var field in typeof(DocumentType1).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 DocumentType1) + { + return (DocumentType1)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum DocumentType1"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/DocumentTypeJson0.cs b/packages/csharp/src/Cvent/SDK/Models/Components/DocumentTypeJson0.cs deleted file mode 100644 index ebcc367fc..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/DocumentTypeJson0.cs +++ /dev/null @@ -1,88 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// The document type. - /// - public enum DocumentTypeJson0 - { - [JsonProperty("AI")] Ai, - [JsonProperty("AVI")] Avi, - [JsonProperty("BMP")] Bmp, - [JsonProperty("DOC")] Doc, - [JsonProperty("DOCX")] Docx, - [JsonProperty("EML")] Eml, - [JsonProperty("EPS")] Eps, - [JsonProperty("FLV")] Flv, - [JsonProperty("GIF")] Gif, - [JsonProperty("HTM")] Htm, - [JsonProperty("HTML")] Html, - [JsonProperty("ICS")] Ics, - [JsonProperty("JFIF")] Jfif, - [JsonProperty("JPEG")] Jpeg, - [JsonProperty("JPG")] Jpg, - [JsonProperty("LINK")] Link, - [JsonProperty("MOV")] Mov, - [JsonProperty("MP4")] Mp4, - [JsonProperty("MSG")] Msg, - [JsonProperty("ONE")] One, - [JsonProperty("OST")] Ost, - [JsonProperty("PDF")] Pdf, - [JsonProperty("PNG")] Png, - [JsonProperty("PPT")] Ppt, - [JsonProperty("PPTX")] Pptx, - [JsonProperty("PST")] Pst, - [JsonProperty("SVG")] Svg, - [JsonProperty("TIF")] Tif, - [JsonProperty("TIFF")] Tiff, - [JsonProperty("TXT")] Txt, - [JsonProperty("WMV")] Wmv, - [JsonProperty("XLS")] Xls, - [JsonProperty("XLSX")] Xlsx, - } - - public static class DocumentTypeJson0Extension - { - public static string Value(this DocumentTypeJson0 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static DocumentTypeJson0 ToEnum(this string value) - { - foreach (var field in typeof(DocumentTypeJson0).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 DocumentTypeJson0) - { - return (DocumentTypeJson0)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum DocumentTypeJson0"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EmailHistoryJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EmailHistoryJson.cs index 7ffdcca45..ab4f47166 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EmailHistoryJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EmailHistoryJson.cs @@ -89,7 +89,7 @@ public class EmailHistoryJson /// Denotes the type of the email. ///
[JsonProperty("type")] - public EmailTypeJson3? Type { get; set; } + public EmailTypeJson1? Type { get; set; } /// /// The ISO 8601 zoned date time when this email was sent. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EmailJson1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EmailJson1.cs index 21118b226..119f10c6d 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EmailJson1.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EmailJson1.cs @@ -22,7 +22,7 @@ public class EmailJson1 /// The type of the email. /// [JsonProperty("type")] - public EmailTypeJson1? Type { get; set; } = Cvent.SDK.Models.Components.EmailTypeJson1.Work; + public EmailTypeJson? Type { get; set; } = Cvent.SDK.Models.Components.EmailTypeJson.Work; /// /// The email of the user. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EmailTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EmailTypeJson.cs new file mode 100644 index 000000000..6586e9383 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EmailTypeJson.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.Utils; + using Newtonsoft.Json; + using System; + + /// + /// The type of the email. + /// + public enum EmailTypeJson + { + [JsonProperty("work")] Work, + [JsonProperty("home")] Home, + } + + public static class EmailTypeJsonExtension + { + public static string Value(this EmailTypeJson value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static EmailTypeJson ToEnum(this string value) + { + foreach (var field in typeof(EmailTypeJson).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 EmailTypeJson) + { + return (EmailTypeJson)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum EmailTypeJson"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EmailTypeJson1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EmailTypeJson1.cs index a84b1e6d1..5b1c3ba7a 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EmailTypeJson1.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EmailTypeJson1.cs @@ -14,12 +14,72 @@ namespace Cvent.SDK.Models.Components using System; /// - /// The type of the email. + /// Denotes the type of the email. /// public enum EmailTypeJson1 { - [JsonProperty("work")] Work, - [JsonProperty("home")] Home, + [JsonProperty("Invitation")] Invitation, + [JsonProperty("Invitation Reminder")] InvitationReminder, + [JsonProperty("Registration Confirmation")] RegistrationConfirmation, + [JsonProperty("Regret")] Regret, + [JsonProperty("Post Event Feedback")] PostEventFeedback, + [JsonProperty("Custom Invitee Message")] CustomInviteeMessage, + [JsonProperty("Custom Declinee Message")] CustomDeclineeMessage, + [JsonProperty("Event Reminder")] EventReminder, + [JsonProperty("Custom Attendee Message")] CustomAttendeeMessage, + [JsonProperty("Custom One-Time Message")] CustomOneTimeMessage, + [JsonProperty("Planner Report")] PlannerReport, + [JsonProperty("Event Update")] EventUpdate, + [JsonProperty("Custom Undecided Message")] CustomUndecidedMessage, + [JsonProperty("Custom Attended Message")] CustomAttendedMessage, + [JsonProperty("Modification Confirmation")] ModificationConfirmation, + [JsonProperty("Cancellation Confirmation")] CancellationConfirmation, + [JsonProperty("Guest Event Reminder")] GuestEventReminder, + [JsonProperty("Guest Registration Notification")] GuestRegistrationNotification, + [JsonProperty("Custom Guest Message")] CustomGuestMessage, + [JsonProperty("Guest Post Event Feedback")] GuestPostEventFeedback, + [JsonProperty("Invitee Session Email")] InviteeSessionEmail, + [JsonProperty("Guest Session Email")] GuestSessionEmail, + [JsonProperty("Approval Pending Notification")] ApprovalPendingNotification, + [JsonProperty("Approval Denied Notification")] ApprovalDeniedNotification, + [JsonProperty("Administrator Registration Confirmation")] AdministratorRegistrationConfirmation, + [JsonProperty("CrowdCompass Event Guide Invitation")] CrowdCompassEventGuideInvitation, + [JsonProperty("CrowdCompass App Download")] CrowdCompassAppDownload, + [JsonProperty("Waitlist Notification")] WaitlistNotification, + [JsonProperty("Session Waitlist Notification")] SessionWaitlistNotification, + [JsonProperty("Shoulder Date Notification")] ShoulderDateNotification, + [JsonProperty("Selected Roommate Notification")] SelectedRoommateNotification, + [JsonProperty("Matched Roommate Notification")] MatchedRoommateNotification, + [JsonProperty("Declined Roommate Notification")] DeclinedRoommateNotification, + [JsonProperty("OnArrival Post Event Feedback")] OnArrivalPostEventFeedback, + [JsonProperty("OnArrival Guest Post Event Feedback")] OnArrivalGuestPostEventFeedback, + [JsonProperty("Travel Modification Confirmation")] TravelModificationConfirmation, + [JsonProperty("Custom")] Custom, + [JsonProperty("New Appointment")] NewAppointment, + [JsonProperty("Appointment Accepted")] AppointmentAccepted, + [JsonProperty("Appointment Declined")] AppointmentDeclined, + [JsonProperty("Appointment Cancelled")] AppointmentCancelled, + [JsonProperty("Appointment Edited")] AppointmentEdited, + [JsonProperty("Pending Appointment Reminder")] PendingAppointmentReminder, + [JsonProperty("Upcoming Appointment Reminder")] UpcomingAppointmentReminder, + [JsonProperty("Attendee Removed")] AttendeeRemoved, + [JsonProperty("Opt In Email")] OptInEmail, + [JsonProperty("Resource Center Invitation")] ResourceCenterInvitation, + [JsonProperty("Single Task Reminder")] SingleTaskReminder, + [JsonProperty("Mobile App Invitation")] MobileAppInvitation, + [JsonProperty("Login Verification Code")] LoginVerificationCode, + [JsonProperty("Save The Date")] SaveTheDate, + [JsonProperty("All Tasks Reminder")] AllTasksReminder, + [JsonProperty("Exhibitor Admin Invitation")] ExhibitorAdminInvitation, + [JsonProperty("Exhibitor Admin Reminder")] ExhibitorAdminReminder, + [JsonProperty("Exhibitor Device Rental Access Code")] ExhibitorDeviceRentalAccessCode, + [JsonProperty("Exhibitor App License Access Code")] ExhibitorAppLicenseAccessCode, + [JsonProperty("Exhibitor Leads Export")] ExhibitorLeadsExport, + [JsonProperty("Stakeholder Feedback Invitation")] StakeholderFeedbackInvitation, + [JsonProperty("Exhibitor Task Reminder")] ExhibitorTaskReminder, + [JsonProperty("LeadCapture Requested Materials")] LeadCaptureRequestedMaterials, + [JsonProperty("Integration Alerts")] IntegrationAlerts, + [JsonProperty("Unknown")] Unknown, } public static class EmailTypeJson1Extension diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EmailTypeJson3.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EmailTypeJson3.cs deleted file mode 100644 index d12636691..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EmailTypeJson3.cs +++ /dev/null @@ -1,117 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Denotes the type of the email. - /// - public enum EmailTypeJson3 - { - [JsonProperty("Invitation")] Invitation, - [JsonProperty("Invitation Reminder")] InvitationReminder, - [JsonProperty("Registration Confirmation")] RegistrationConfirmation, - [JsonProperty("Regret")] Regret, - [JsonProperty("Post Event Feedback")] PostEventFeedback, - [JsonProperty("Custom Invitee Message")] CustomInviteeMessage, - [JsonProperty("Custom Declinee Message")] CustomDeclineeMessage, - [JsonProperty("Event Reminder")] EventReminder, - [JsonProperty("Custom Attendee Message")] CustomAttendeeMessage, - [JsonProperty("Custom One-Time Message")] CustomOneTimeMessage, - [JsonProperty("Planner Report")] PlannerReport, - [JsonProperty("Event Update")] EventUpdate, - [JsonProperty("Custom Undecided Message")] CustomUndecidedMessage, - [JsonProperty("Custom Attended Message")] CustomAttendedMessage, - [JsonProperty("Modification Confirmation")] ModificationConfirmation, - [JsonProperty("Cancellation Confirmation")] CancellationConfirmation, - [JsonProperty("Guest Event Reminder")] GuestEventReminder, - [JsonProperty("Guest Registration Notification")] GuestRegistrationNotification, - [JsonProperty("Custom Guest Message")] CustomGuestMessage, - [JsonProperty("Guest Post Event Feedback")] GuestPostEventFeedback, - [JsonProperty("Invitee Session Email")] InviteeSessionEmail, - [JsonProperty("Guest Session Email")] GuestSessionEmail, - [JsonProperty("Approval Pending Notification")] ApprovalPendingNotification, - [JsonProperty("Approval Denied Notification")] ApprovalDeniedNotification, - [JsonProperty("Administrator Registration Confirmation")] AdministratorRegistrationConfirmation, - [JsonProperty("CrowdCompass Event Guide Invitation")] CrowdCompassEventGuideInvitation, - [JsonProperty("CrowdCompass App Download")] CrowdCompassAppDownload, - [JsonProperty("Waitlist Notification")] WaitlistNotification, - [JsonProperty("Session Waitlist Notification")] SessionWaitlistNotification, - [JsonProperty("Shoulder Date Notification")] ShoulderDateNotification, - [JsonProperty("Selected Roommate Notification")] SelectedRoommateNotification, - [JsonProperty("Matched Roommate Notification")] MatchedRoommateNotification, - [JsonProperty("Declined Roommate Notification")] DeclinedRoommateNotification, - [JsonProperty("OnArrival Post Event Feedback")] OnArrivalPostEventFeedback, - [JsonProperty("OnArrival Guest Post Event Feedback")] OnArrivalGuestPostEventFeedback, - [JsonProperty("Travel Modification Confirmation")] TravelModificationConfirmation, - [JsonProperty("Custom")] Custom, - [JsonProperty("New Appointment")] NewAppointment, - [JsonProperty("Appointment Accepted")] AppointmentAccepted, - [JsonProperty("Appointment Declined")] AppointmentDeclined, - [JsonProperty("Appointment Cancelled")] AppointmentCancelled, - [JsonProperty("Appointment Edited")] AppointmentEdited, - [JsonProperty("Pending Appointment Reminder")] PendingAppointmentReminder, - [JsonProperty("Upcoming Appointment Reminder")] UpcomingAppointmentReminder, - [JsonProperty("Attendee Removed")] AttendeeRemoved, - [JsonProperty("Opt In Email")] OptInEmail, - [JsonProperty("Resource Center Invitation")] ResourceCenterInvitation, - [JsonProperty("Single Task Reminder")] SingleTaskReminder, - [JsonProperty("Mobile App Invitation")] MobileAppInvitation, - [JsonProperty("Login Verification Code")] LoginVerificationCode, - [JsonProperty("Save The Date")] SaveTheDate, - [JsonProperty("All Tasks Reminder")] AllTasksReminder, - [JsonProperty("Exhibitor Admin Invitation")] ExhibitorAdminInvitation, - [JsonProperty("Exhibitor Admin Reminder")] ExhibitorAdminReminder, - [JsonProperty("Exhibitor Device Rental Access Code")] ExhibitorDeviceRentalAccessCode, - [JsonProperty("Exhibitor App License Access Code")] ExhibitorAppLicenseAccessCode, - [JsonProperty("Exhibitor Leads Export")] ExhibitorLeadsExport, - [JsonProperty("Stakeholder Feedback Invitation")] StakeholderFeedbackInvitation, - [JsonProperty("Exhibitor Task Reminder")] ExhibitorTaskReminder, - [JsonProperty("LeadCapture Requested Materials")] LeadCaptureRequestedMaterials, - [JsonProperty("Integration Alerts")] IntegrationAlerts, - [JsonProperty("Unknown")] Unknown, - } - - public static class EmailTypeJson3Extension - { - public static string Value(this EmailTypeJson3 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static EmailTypeJson3 ToEnum(this string value) - { - foreach (var field in typeof(EmailTypeJson3).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 EmailTypeJson3) - { - return (EmailTypeJson3)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum EmailTypeJson3"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EncodingProfile.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EncodingProfile.cs new file mode 100644 index 000000000..d6dcfc89f --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EncodingProfile.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.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Denotes the profile to use when encoding the video. Planner profile is for encoding high-quality event content, like session videos. Attendee profile is for encoding lower-quality content intended to go on attendee profiles and social feeds in the event. + /// + public enum EncodingProfile + { + [JsonProperty("Planner")] Planner, + [JsonProperty("Attendee")] Attendee, + } + + public static class EncodingProfileExtension + { + public static string Value(this EncodingProfile value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static EncodingProfile ToEnum(this string value) + { + foreach (var field in typeof(EncodingProfile).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 EncodingProfile) + { + return (EncodingProfile)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum EncodingProfile"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EncodingProfileJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EncodingProfileJson.cs deleted file mode 100644 index 8761d5ad9..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EncodingProfileJson.cs +++ /dev/null @@ -1,57 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Denotes the profile to use when encoding the video. Planner profile is for encoding high-quality event content, like session videos. Attendee profile is for encoding lower-quality content intended to go on attendee profiles and social feeds in the event. - /// - public enum EncodingProfileJson - { - [JsonProperty("Planner")] Planner, - [JsonProperty("Attendee")] Attendee, - } - - public static class EncodingProfileJsonExtension - { - public static string Value(this EncodingProfileJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static EncodingProfileJson ToEnum(this string value) - { - foreach (var field in typeof(EncodingProfileJson).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 EncodingProfileJson) - { - return (EncodingProfileJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum EncodingProfileJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ErrorResponse1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ErrorResponse1.cs index c8cf8e69d..c78eae68d 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ErrorResponse1.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ErrorResponse1.cs @@ -41,6 +41,6 @@ public class ErrorResponse1 /// Additional details of cascading error messages. /// [JsonProperty("details")] - public List? Details { get; set; } + public List? Details { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ErrorResponse2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ErrorResponse2.cs index e7f1f20e1..3e0f68dcd 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ErrorResponse2.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ErrorResponse2.cs @@ -41,6 +41,6 @@ public class ErrorResponse2 /// Additional details of cascading error messages. /// [JsonProperty("details")] - public List? Details { get; set; } + public List? Details { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Event1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Event1.cs index f7ffd0ddd..e4f072670 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Event1.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Event1.cs @@ -193,7 +193,7 @@ public class Event1 /// Collection of custom fields. /// [JsonProperty("customFields")] - public List? CustomFields { get; set; } + public List? CustomFields { get; set; } /// /// The category to which this event belongs (no longer supported). @@ -206,7 +206,7 @@ public class Event1 /// Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. /// [JsonProperty("type")] - public EventTypeJson1 Type { get; set; } = default!; + public EventTypeJson Type { get; set; } = default!; /// /// Represents the links associated with an event. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Event12.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Event12.cs new file mode 100644 index 000000000..87cdf5ee8 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Event12.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Event details. + /// + public class Event12 + { + /// + /// Unique identifier for the event linked with the RFP, if any. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Event21.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Event21.cs deleted file mode 100644 index e71758635..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Event21.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// The Associated Event. - /// - public class Event21 - { - /// - /// Event 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/Event3.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Event3.cs new file mode 100644 index 000000000..27b0306e2 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Event3.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The Associated Event. + /// + public class Event3 + { + /// + /// Event 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/EventAllOf.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventAllOf.cs deleted file mode 100644 index 9330c41de..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventAllOf.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// Event ID. - /// - public class EventAllOf - { - /// - /// ID of the event where the contact was created, applicable when contact snapshot is enabled for an event. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventContactId.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventContactId.cs new file mode 100644 index 000000000..1feac4387 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventContactId.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// A pair of event and contact id. + /// + public class EventContactId + { + /// + /// ID of the event. + /// + [JsonProperty("eventId")] + public string EventId { get; set; } = default!; + + /// + /// ID of the contact. + /// + [JsonProperty("contactId")] + public string ContactId { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventContactIdJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventContactIdJson.cs deleted file mode 100644 index f01088db8..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventContactIdJson.cs +++ /dev/null @@ -1,32 +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.Utils; - using Newtonsoft.Json; - - /// - /// A pair of event and contact id. - /// - public class EventContactIdJson - { - /// - /// ID of the event. - /// - [JsonProperty("eventId")] - public string EventId { get; set; } = default!; - - /// - /// ID of the contact. - /// - [JsonProperty("contactId")] - public string ContactId { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventEmailsPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventEmailsPaginatedResponse.cs index 408dcaed6..2df2b88c9 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventEmailsPaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventEmailsPaginatedResponse.cs @@ -23,7 +23,7 @@ public class EventEmailsPaginatedResponse /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson19 Paging { get; set; } = default!; + public PagingJson2 Paging { get; set; } = default!; /// /// Collection of emails for a specific event. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventFormatType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventFormatType.cs new file mode 100644 index 000000000..5b3540f57 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventFormatType.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; + + /// + /// Event format type. + /// + public enum EventFormatType + { + [JsonProperty("IN_PERSON")] InPerson, + [JsonProperty("HYBRID")] Hybrid, + [JsonProperty("VIRTUAL")] Virtual, + } + + public static class EventFormatTypeExtension + { + public static string Value(this EventFormatType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static EventFormatType ToEnum(this string value) + { + foreach (var field in typeof(EventFormatType).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 EventFormatType) + { + return (EventFormatType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum EventFormatType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventFormatTypeJson0.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventFormatTypeJson0.cs deleted file mode 100644 index 68c6b3dc7..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventFormatTypeJson0.cs +++ /dev/null @@ -1,58 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Event format type. - /// - public enum EventFormatTypeJson0 - { - [JsonProperty("IN_PERSON")] InPerson, - [JsonProperty("HYBRID")] Hybrid, - [JsonProperty("VIRTUAL")] Virtual, - } - - public static class EventFormatTypeJson0Extension - { - public static string Value(this EventFormatTypeJson0 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static EventFormatTypeJson0 ToEnum(this string value) - { - foreach (var field in typeof(EventFormatTypeJson0).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 EventFormatTypeJson0) - { - return (EventFormatTypeJson0)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum EventFormatTypeJson0"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventInput.cs index f702d5bb5..67187bde9 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventInput.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventInput.cs @@ -96,6 +96,6 @@ public class EventInput /// Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. /// [JsonProperty("type")] - public EventTypeJson1 Type { get; set; } = default!; + public EventTypeJson Type { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventJson.cs new file mode 100644 index 000000000..617b4b2ef --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventJson.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// ID of the event. + /// + public class EventJson + { + /// + /// UUID of the event. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventJson0.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventJson0.cs deleted file mode 100644 index d15154ec6..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventJson0.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// Event details. - /// - public class EventJson0 - { - /// - /// Unique identifier for the event linked with the RFP, if any. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventJson1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventJson1.cs index 980a8ea59..649c37b2f 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventJson1.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventJson1.cs @@ -13,14 +13,14 @@ namespace Cvent.SDK.Models.Components using Newtonsoft.Json; /// - /// ID of the event. + /// Event ID Information. /// public class EventJson1 { /// - /// UUID of the event. + /// Identifier of a particular Event. /// [JsonProperty("id")] - public string Id { get; set; } = default!; + public string? Id { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventJson2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventJson2.cs deleted file mode 100644 index 3ce18a4ed..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventJson2.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// Event ID Information. - /// - public class EventJson2 - { - /// - /// Identifier of a particular Event. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventJson3.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventJson3.cs new file mode 100644 index 000000000..09a3c910d --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventJson3.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Detail object of an event which is associated to a survey. + /// + public class EventJson3 + { + /// + /// Id of the associated event. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventJson4.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventJson4.cs deleted file mode 100644 index aaff31dcd..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventJson4.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// Detail object of an event which is associated to a survey. - /// - public class EventJson4 - { - /// - /// Id of the associated event. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventJson5.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventJson5.cs new file mode 100644 index 000000000..9ebb0fac5 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventJson5.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// An event reference used in attendee insights to identify the event context for engagement data. + /// + public class EventJson5 + { + /// + /// A unique identifier (UUID) for the event where the engagement score applies. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventJson6.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventJson6.cs index 747e71d0b..8dbc032d2 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventJson6.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventJson6.cs @@ -13,12 +13,12 @@ namespace Cvent.SDK.Models.Components using Newtonsoft.Json; /// - /// An event reference used in attendee insights to identify the event context for engagement data. + /// Details of the event. /// public class EventJson6 { /// - /// A unique identifier (UUID) for the event where the engagement score applies. + /// The unique ID of the event. /// [JsonProperty("id")] public string Id { get; set; } = default!; diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventJson8.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventJson8.cs deleted file mode 100644 index 1073a3c09..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventJson8.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// Details of the event. - /// - public class EventJson8 - { - /// - /// The unique ID of the event. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventLite.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventLite.cs new file mode 100644 index 000000000..ebb1e3291 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventLite.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The unique identifier of an event. + /// + public class EventLite + { + /// + /// The unique identifier for an event. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventLiteJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventLiteJson.cs deleted file mode 100644 index 8bec07e0c..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventLiteJson.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// The unique identifier of an event. - /// - public class EventLiteJson - { - /// - /// The unique identifier for an event. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventOrganization1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventOrganization1.cs new file mode 100644 index 000000000..6874ad12b --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventOrganization1.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.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Details of organization which is hosting the event. + /// + public class EventOrganization1 + { + /// + /// Organization details. + /// + [JsonProperty("organization")] + public Organization? Organization { get; set; } + + /// + /// True indicates organization profile has to be kept confidential. + /// + [JsonProperty("confidentialProfile")] + public bool? ConfidentialProfile { get; set; } + + /// + /// Industry. + /// + [JsonProperty("industry")] + public Industry1? Industry { get; set; } + + /// + /// Name of the organization hosting the event. + /// + [JsonProperty("name")] + public string Name { get; set; } = default!; + + /// + /// Organization type. + /// + [JsonProperty("type")] + public OrganizationType1 Type { get; set; } = default!; + + /// + /// Address details. + /// + [JsonProperty("address")] + public Address1? Address { get; set; } + + /// + /// Number of events per year. + /// + [JsonProperty("eventsPerYear")] + public long? EventsPerYear { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventQuestionJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventQuestionJson.cs index 23e05867a..bf7ecbeb0 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventQuestionJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventQuestionJson.cs @@ -89,7 +89,7 @@ public class EventQuestionJson /// This object represents the type of a question. /// [JsonProperty("type")] - public QuestionTypeJson3? Type { get; set; } + public QuestionTypeJson2? Type { get; set; } /// /// Optional description to provide additional context of the question. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventSurveyQuestionJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventSurveyQuestionJson.cs index 5d3d0ebb6..eb83e6cbf 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventSurveyQuestionJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventSurveyQuestionJson.cs @@ -78,37 +78,37 @@ public class EventSurveyQuestionJson /// Question Type. /// [JsonProperty("type")] - public QuestionTypeJson2? Type { get; set; } + public QuestionTypeJson1? Type { get; set; } /// /// List of choices for the question. /// [JsonProperty("choices")] - public List? Choices { get; set; } + public List? Choices { get; set; } /// /// List of categories for the question. /// [JsonProperty("categories")] - public List? Categories { get; set; } + public List? Categories { get; set; } /// /// List of sub categories for matrix side-by-side questions. /// [JsonProperty("subCategories")] - public List? SubCategories { get; set; } + public List? SubCategories { get; set; } /// /// Contains text of additional choice i.e N/A choice or otherAnswer choice. /// [JsonProperty("notApplicableAnswer")] - public AdditionalChoiceJson1? NotApplicableAnswer { get; set; } + public AdditionalChoiceJson? NotApplicableAnswer { get; set; } /// /// Contains text of additional choice i.e N/A choice or otherAnswer choice. /// [JsonProperty("otherAnswer")] - public AdditionalChoiceJson1? OtherAnswer { get; set; } + public AdditionalChoiceJson? OtherAnswer { get; set; } /// /// Text Value of Comments Input box placeholder. @@ -126,7 +126,7 @@ public class EventSurveyQuestionJson /// List of fields for form/matrix questions. /// [JsonProperty("fields")] - public List? Fields { get; set; } + public List? Fields { get; set; } /// /// Max possible score. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventSurveyRespondent.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventSurveyRespondent.cs index f6f991df3..85e166e0d 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventSurveyRespondent.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventSurveyRespondent.cs @@ -124,7 +124,7 @@ public class EventSurveyRespondent /// Detail object of an event which is associated to a survey. /// [JsonProperty("event")] - public EventJson4? Event { get; set; } + public EventJson3? Event { get; set; } /// /// Associated attendee. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventSurveyResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventSurveyResponse.cs index 2f2d4b21d..8ff723595 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventSurveyResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventSurveyResponse.cs @@ -76,7 +76,7 @@ public class EventSurveyResponse /// Detail object of an event which is associated to a survey. /// [JsonProperty("event")] - public EventJson4? Event { get; set; } + public EventJson3? Event { get; set; } /// /// The reference to the related entity. Contains only the ID of the related entity. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventType1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventType1.cs new file mode 100644 index 000000000..7abfb52c0 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventType1.cs @@ -0,0 +1,77 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Event type. + /// + public enum EventType1 + { + [JsonProperty("ANNIVERSARY_BIRTHDAY")] AnniversaryBirthday, + [JsonProperty("BACHELOR_BACHELORETTE_PARTY")] BachelorBacheloretteParty, + [JsonProperty("BAR_BAT_MITZVAH")] BarBatMitzvah, + [JsonProperty("BUSINESS_MEETING")] BusinessMeeting, + [JsonProperty("CONFERENCE_CONVENTION")] ConferenceConvention, + [JsonProperty("CORPORATE_EVENT")] CorporateEvent, + [JsonProperty("CUSTOMER_EVENT")] CustomerEvent, + [JsonProperty("EDUCATIONAL_SEMINAR")] EducationalSeminar, + [JsonProperty("FRATERNITY_SORORITY_GROUP")] FraternitySororityGroup, + [JsonProperty("FUNDRAISER_CHARITY_EVENT")] FundraiserCharityEvent, + [JsonProperty("RECEPTION_HOLIDAY_PARTY")] ReceptionHolidayParty, + [JsonProperty("INCENTIVE_TRAVEL")] IncentiveTravel, + [JsonProperty("REUNION")] Reunion, + [JsonProperty("SHAREHOLDERS_MEETING")] ShareholdersMeeting, + [JsonProperty("SPECIAL_EVENT")] SpecialEvent, + [JsonProperty("SPORTS_EVENT")] SportsEvent, + [JsonProperty("TEAM_BUILDING_EVENT")] TeamBuildingEvent, + [JsonProperty("TOUR_GROUP_VACATION")] TourGroupVacation, + [JsonProperty("TRADE_SHOW_CONSUMER_SHOW")] TradeShowConsumerShow, + [JsonProperty("TRAINING")] Training, + [JsonProperty("WEDDING")] Wedding, + [JsonProperty("OTHER")] Other, + } + + public static class EventType1Extension + { + public static string Value(this EventType1 value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static EventType1 ToEnum(this string value) + { + foreach (var field in typeof(EventType1).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 EventType1) + { + return (EventType1)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum EventType1"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventTypeJson.cs new file mode 100644 index 000000000..711b4b5fe --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventTypeJson.cs @@ -0,0 +1,75 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. + /// + public enum EventTypeJson + { + [JsonProperty("Celebration")] Celebration, + [JsonProperty("Conference")] Conference, + [JsonProperty("CventEssentials")] CventEssentials, + [JsonProperty("CventWebinar")] CventWebinar, + [JsonProperty("Dinner")] Dinner, + [JsonProperty("Forum")] Forum, + [JsonProperty("FundraiserBenefit")] FundraiserBenefit, + [JsonProperty("Holiday")] Holiday, + [JsonProperty("IncentiveTrip")] IncentiveTrip, + [JsonProperty("Meeting")] Meeting, + [JsonProperty("OtherGeneral")] OtherGeneral, + [JsonProperty("PoliticalEvent")] PoliticalEvent, + [JsonProperty("Reunion")] Reunion, + [JsonProperty("SaveTheDate")] SaveTheDate, + [JsonProperty("Seminar")] Seminar, + [JsonProperty("SimpleEvent")] SimpleEvent, + [JsonProperty("SportsEvent")] SportsEvent, + [JsonProperty("TradeShow")] TradeShow, + [JsonProperty("TrainingSession")] TrainingSession, + [JsonProperty("Webinar")] Webinar, + } + + public static class EventTypeJsonExtension + { + public static string Value(this EventTypeJson value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static EventTypeJson ToEnum(this string value) + { + foreach (var field in typeof(EventTypeJson).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 EventTypeJson) + { + return (EventTypeJson)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum EventTypeJson"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventTypeJson0.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventTypeJson0.cs deleted file mode 100644 index 59046812d..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventTypeJson0.cs +++ /dev/null @@ -1,77 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Event type. - /// - public enum EventTypeJson0 - { - [JsonProperty("ANNIVERSARY_BIRTHDAY")] AnniversaryBirthday, - [JsonProperty("BACHELOR_BACHELORETTE_PARTY")] BachelorBacheloretteParty, - [JsonProperty("BAR_BAT_MITZVAH")] BarBatMitzvah, - [JsonProperty("BUSINESS_MEETING")] BusinessMeeting, - [JsonProperty("CONFERENCE_CONVENTION")] ConferenceConvention, - [JsonProperty("CORPORATE_EVENT")] CorporateEvent, - [JsonProperty("CUSTOMER_EVENT")] CustomerEvent, - [JsonProperty("EDUCATIONAL_SEMINAR")] EducationalSeminar, - [JsonProperty("FRATERNITY_SORORITY_GROUP")] FraternitySororityGroup, - [JsonProperty("FUNDRAISER_CHARITY_EVENT")] FundraiserCharityEvent, - [JsonProperty("RECEPTION_HOLIDAY_PARTY")] ReceptionHolidayParty, - [JsonProperty("INCENTIVE_TRAVEL")] IncentiveTravel, - [JsonProperty("REUNION")] Reunion, - [JsonProperty("SHAREHOLDERS_MEETING")] ShareholdersMeeting, - [JsonProperty("SPECIAL_EVENT")] SpecialEvent, - [JsonProperty("SPORTS_EVENT")] SportsEvent, - [JsonProperty("TEAM_BUILDING_EVENT")] TeamBuildingEvent, - [JsonProperty("TOUR_GROUP_VACATION")] TourGroupVacation, - [JsonProperty("TRADE_SHOW_CONSUMER_SHOW")] TradeShowConsumerShow, - [JsonProperty("TRAINING")] Training, - [JsonProperty("WEDDING")] Wedding, - [JsonProperty("OTHER")] Other, - } - - public static class EventTypeJson0Extension - { - public static string Value(this EventTypeJson0 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static EventTypeJson0 ToEnum(this string value) - { - foreach (var field in typeof(EventTypeJson0).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 EventTypeJson0) - { - return (EventTypeJson0)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum EventTypeJson0"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventTypeJson1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventTypeJson1.cs deleted file mode 100644 index 656fddf9d..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventTypeJson1.cs +++ /dev/null @@ -1,75 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. - /// - public enum EventTypeJson1 - { - [JsonProperty("Celebration")] Celebration, - [JsonProperty("Conference")] Conference, - [JsonProperty("CventEssentials")] CventEssentials, - [JsonProperty("CventWebinar")] CventWebinar, - [JsonProperty("Dinner")] Dinner, - [JsonProperty("Forum")] Forum, - [JsonProperty("FundraiserBenefit")] FundraiserBenefit, - [JsonProperty("Holiday")] Holiday, - [JsonProperty("IncentiveTrip")] IncentiveTrip, - [JsonProperty("Meeting")] Meeting, - [JsonProperty("OtherGeneral")] OtherGeneral, - [JsonProperty("PoliticalEvent")] PoliticalEvent, - [JsonProperty("Reunion")] Reunion, - [JsonProperty("SaveTheDate")] SaveTheDate, - [JsonProperty("Seminar")] Seminar, - [JsonProperty("SimpleEvent")] SimpleEvent, - [JsonProperty("SportsEvent")] SportsEvent, - [JsonProperty("TradeShow")] TradeShow, - [JsonProperty("TrainingSession")] TrainingSession, - [JsonProperty("Webinar")] Webinar, - } - - public static class EventTypeJson1Extension - { - public static string Value(this EventTypeJson1 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static EventTypeJson1 ToEnum(this string value) - { - foreach (var field in typeof(EventTypeJson1).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 EventTypeJson1) - { - return (EventTypeJson1)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum EventTypeJson1"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventUpdate.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventUpdate.cs index a88aafa9b..e569183f1 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventUpdate.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventUpdate.cs @@ -193,7 +193,7 @@ public class EventUpdate /// Collection of custom fields. /// [JsonProperty("customFields")] - public List? CustomFields { get; set; } + public List? CustomFields { get; set; } /// /// The category to which this event belongs (no longer supported). @@ -206,7 +206,7 @@ public class EventUpdate /// Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. /// [JsonProperty("type")] - public EventTypeJson1 Type { get; set; } = default!; + public EventTypeJson Type { get; set; } = default!; /// /// Represents the links associated with an event. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventUpdateInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventUpdateInput.cs index f4b0b8613..856c95fe2 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventUpdateInput.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventUpdateInput.cs @@ -114,6 +114,6 @@ public class EventUpdateInput /// Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. /// [JsonProperty("type")] - public EventTypeJson1 Type { get; set; } = default!; + public EventTypeJson Type { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorCategoryRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorCategoryRequest.cs index e02d0cfc4..5b9015c17 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorCategoryRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorCategoryRequest.cs @@ -22,7 +22,7 @@ public class ExhibitorCategoryRequest /// The Associated Event. /// [JsonProperty("event")] - public Event21 Event { get; set; } = default!; + public Event3 Event { get; set; } = default!; /// /// Name of the exhibitor category. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorCategoryResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorCategoryResponse.cs index db5168f08..259935ecd 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorCategoryResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorCategoryResponse.cs @@ -47,7 +47,7 @@ public class ExhibitorCategoryResponse /// The Associated Event. /// [JsonProperty("event")] - public Event21 Event { get; set; } = default!; + public Event3 Event { get; set; } = default!; /// /// Name of the exhibitor category. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorRequest.cs index 544498963..896e3776d 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorRequest.cs @@ -22,7 +22,7 @@ public class ExhibitorRequest /// The Associated Event. /// [JsonProperty("event")] - public Event21 Event { get; set; } = default!; + public Event3 Event { get; set; } = default!; /// /// Name of the exhibitor. Cvent suggests limiting this to a maximum of 200 characters for optimal results. @@ -58,7 +58,7 @@ public class ExhibitorRequest /// An object representing an address with various properties. /// [JsonProperty("address")] - public Address2? Address { get; set; } + public Address4? Address { get; set; } /// /// Email address of the exhibitor. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorResponse.cs index 1977d0a79..3853e4ba5 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExhibitorResponse.cs @@ -47,7 +47,7 @@ public class ExhibitorResponse /// The Associated Event. /// [JsonProperty("event")] - public Event21 Event { get; set; } = default!; + public Event3 Event { get; set; } = default!; /// /// Name of the exhibitor. Cvent suggests limiting this to a maximum of 200 characters for optimal results. @@ -83,7 +83,7 @@ public class ExhibitorResponse /// An object representing an address with various properties. /// [JsonProperty("address")] - public Address2? Address { get; set; } + public Address4? Address { get; set; } /// /// Email address of the exhibitor. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingAudienceSegment.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingAudienceSegment.cs index bb9525b9c..1c1b83b11 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingAudienceSegment.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingAudienceSegment.cs @@ -47,7 +47,7 @@ public class ExistingAudienceSegment /// ID of the event. /// [JsonProperty("event")] - public EventJson1 Event { get; set; } = default!; + public EventJson Event { get; set; } = default!; /// /// Name of the audience segment. Must be unique in the event where the segment exists. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingAudioTrack.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingAudioTrack.cs index 34299cfb9..ddfb7b9a4 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingAudioTrack.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingAudioTrack.cs @@ -47,13 +47,13 @@ public class ExistingAudioTrack /// Video that this asset was created with. /// [JsonProperty("video")] - public VideoAssetIdJson Video { get; set; } = default!; + public VideoAssetID Video { get; set; } = default!; /// /// Denotes the file format of the audio track. /// [JsonProperty("type")] - public AudioTrackTypeJson Type { get; set; } = default!; + public AudioTrackType Type { get; set; } = default!; /// /// IETF language tag for the audio track. @@ -65,7 +65,7 @@ public class ExistingAudioTrack /// Denotes the variant of an audio track. Main is the primary audio track for this video. Alternate is a possible alternative to the main track. Commentary is a commentary on the primary audio or video track, e.g. a director's commentary. Dub is a translated version of the main audio track. Descriptive is an audio description of a video track. /// [JsonProperty("variant")] - public AudioTrackVariantJson? Variant { get; set; } = Cvent.SDK.Models.Components.AudioTrackVariantJson.Alternate; + public AudioTrackVariant? Variant { get; set; } = Cvent.SDK.Models.Components.AudioTrackVariant.Alternate; /// /// True indicates this is the default audio track. @@ -83,7 +83,7 @@ public class ExistingAudioTrack /// Denotes the status of an audio track. Started indicates the request to upload in the API was submitted, and the URL you'll upload an audio track to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the audio track. Available indicates the audio track is available for use. /// [JsonProperty("status")] - public AudioTrackStatusJson? Status { get; set; } + public AudioTrackStatus? Status { get; set; } /// /// The identifier of an audio track. @@ -95,6 +95,6 @@ public class ExistingAudioTrack /// A URL associated with the asset. /// [JsonProperty("url")] - public AssetLocationJson? Url { get; set; } + public AssetLocation? Url { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingCustomField.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingCustomField.cs index 54c025ba3..861ea8a4d 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingCustomField.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingCustomField.cs @@ -71,7 +71,7 @@ public class ExistingCustomField /// This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. /// [JsonProperty("type")] - public CustomFieldTypeJson1 Type { get; set; } = default!; + public CustomFieldTypeJson Type { get; set; } = default!; /// /// Type-specific details of the custom-field. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingCustomFieldDetails.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingCustomFieldDetails.cs index 7d116d209..061258cfb 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingCustomFieldDetails.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingCustomFieldDetails.cs @@ -34,10 +34,10 @@ public static ExistingCustomFieldDetailsType ZeroOneOf1 } } - public static ExistingCustomFieldDetailsType OneOneOf + public static ExistingCustomFieldDetailsType One { get { - return new ExistingCustomFieldDetailsType("1_OneOf"); + return new ExistingCustomFieldDetailsType("1"); } } @@ -69,8 +69,8 @@ public static ExistingCustomFieldDetailsType FromString(string v) { case "0_OneOf_1": return ZeroOneOf1; - case "1_OneOf": - return OneOneOf; + case "1": + return One; case "2": return Two; case "3": @@ -109,7 +109,7 @@ public ExistingCustomFieldDetails(ExistingCustomFieldDetailsType type) public ZeroOneOf1? ZeroOneOf1 { get; set; } [SpeakeasyMetadata("form:explode=true")] - public OneOneOf? OneOneOf { get; set; } + public One? One { get; set; } [SpeakeasyMetadata("form:explode=true")] public Two? Two { get; set; } @@ -126,12 +126,12 @@ public static ExistingCustomFieldDetails CreateZeroOneOf1(ZeroOneOf1 zeroOneOf1) res.ZeroOneOf1 = zeroOneOf1; return res; } - public static ExistingCustomFieldDetails CreateOneOneOf(OneOneOf oneOneOf) + public static ExistingCustomFieldDetails CreateOne(One one) { - ExistingCustomFieldDetailsType typ = ExistingCustomFieldDetailsType.OneOneOf; + ExistingCustomFieldDetailsType typ = ExistingCustomFieldDetailsType.One; ExistingCustomFieldDetails res = new ExistingCustomFieldDetails(typ); - res.OneOneOf = oneOneOf; + res.One = one; return res; } public static ExistingCustomFieldDetails CreateTwo(Two two) @@ -226,13 +226,13 @@ public class ExistingCustomFieldDetailsConverter : JsonConverter try { - return new ExistingCustomFieldDetails(ExistingCustomFieldDetailsType.OneOneOf) { - OneOneOf = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + return new ExistingCustomFieldDetails(ExistingCustomFieldDetailsType.One) { + One = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) }; } catch (ResponseBodyDeserializer.MissingMemberException) { - fallbackCandidates.Add((typeof(OneOneOf), new ExistingCustomFieldDetails(ExistingCustomFieldDetailsType.OneOneOf), "OneOneOf")); + fallbackCandidates.Add((typeof(One), new ExistingCustomFieldDetails(ExistingCustomFieldDetailsType.One), "One")); } catch (ResponseBodyDeserializer.DeserializationException) { @@ -281,9 +281,9 @@ public override void WriteJson(JsonWriter writer, object? value, JsonSerializer return; } - if (res.OneOneOf != null) + if (res.One != null) { - writer.WriteRawValue(Utilities.SerializeJSON(res.OneOneOf)); + writer.WriteRawValue(Utilities.SerializeJSON(res.One)); return; } diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingCustomFieldDetailsInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingCustomFieldDetailsInput.cs index c75c3caa6..e282b58b9 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingCustomFieldDetailsInput.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingCustomFieldDetailsInput.cs @@ -34,10 +34,10 @@ public static ExistingCustomFieldDetailsInputType ZeroOneOf1 } } - public static ExistingCustomFieldDetailsInputType OneOneOf + public static ExistingCustomFieldDetailsInputType One { get { - return new ExistingCustomFieldDetailsInputType("1_OneOf"); + return new ExistingCustomFieldDetailsInputType("1"); } } @@ -69,8 +69,8 @@ public static ExistingCustomFieldDetailsInputType FromString(string v) { case "0_OneOf_1": return ZeroOneOf1; - case "1_OneOf": - return OneOneOf; + case "1": + return One; case "2": return Two; case "3_input": @@ -109,7 +109,7 @@ public ExistingCustomFieldDetailsInput(ExistingCustomFieldDetailsInputType type) public ZeroOneOf1? ZeroOneOf1 { get; set; } [SpeakeasyMetadata("form:explode=true")] - public OneOneOf? OneOneOf { get; set; } + public One? One { get; set; } [SpeakeasyMetadata("form:explode=true")] public Two? Two { get; set; } @@ -126,12 +126,12 @@ public static ExistingCustomFieldDetailsInput CreateZeroOneOf1(ZeroOneOf1 zeroOn res.ZeroOneOf1 = zeroOneOf1; return res; } - public static ExistingCustomFieldDetailsInput CreateOneOneOf(OneOneOf oneOneOf) + public static ExistingCustomFieldDetailsInput CreateOne(One one) { - ExistingCustomFieldDetailsInputType typ = ExistingCustomFieldDetailsInputType.OneOneOf; + ExistingCustomFieldDetailsInputType typ = ExistingCustomFieldDetailsInputType.One; ExistingCustomFieldDetailsInput res = new ExistingCustomFieldDetailsInput(typ); - res.OneOneOf = oneOneOf; + res.One = one; return res; } public static ExistingCustomFieldDetailsInput CreateTwo(Two two) @@ -226,13 +226,13 @@ public class ExistingCustomFieldDetailsInputConverter : JsonConverter try { - return new ExistingCustomFieldDetailsInput(ExistingCustomFieldDetailsInputType.OneOneOf) { - OneOneOf = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) + return new ExistingCustomFieldDetailsInput(ExistingCustomFieldDetailsInputType.One) { + One = ResponseBodyDeserializer.DeserializeUndiscriminatedUnionMember(json) }; } catch (ResponseBodyDeserializer.MissingMemberException) { - fallbackCandidates.Add((typeof(OneOneOf), new ExistingCustomFieldDetailsInput(ExistingCustomFieldDetailsInputType.OneOneOf), "OneOneOf")); + fallbackCandidates.Add((typeof(One), new ExistingCustomFieldDetailsInput(ExistingCustomFieldDetailsInputType.One), "One")); } catch (ResponseBodyDeserializer.DeserializationException) { @@ -281,9 +281,9 @@ public override void WriteJson(JsonWriter writer, object? value, JsonSerializer return; } - if (res.OneOneOf != null) + if (res.One != null) { - writer.WriteRawValue(Utilities.SerializeJSON(res.OneOneOf)); + writer.WriteRawValue(Utilities.SerializeJSON(res.One)); return; } diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingCustomFieldInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingCustomFieldInput.cs index 8f5f4bf9e..25b292a65 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingCustomFieldInput.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingCustomFieldInput.cs @@ -46,7 +46,7 @@ public class ExistingCustomFieldInput /// This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. /// [JsonProperty("type")] - public CustomFieldTypeJson1 Type { get; set; } = default!; + public CustomFieldTypeJson Type { get; set; } = default!; /// /// Type-specific details of the custom-field. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingDurationType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingDurationType.cs index 71856b690..88794fc42 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingDurationType.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingDurationType.cs @@ -24,6 +24,9 @@ public enum ExistingDurationType [JsonProperty("LIVE")] Live, [JsonProperty("ON_DEMAND")] OnDemand, [JsonProperty("API")] Api, + [JsonProperty("MANUAL")] Manual, + [JsonProperty("IMPORT")] Import, + [JsonProperty("EVENTAPP")] Eventapp, } public static class ExistingDurationTypeExtension diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingELiteratureRequestDataForLead.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingELiteratureRequestDataForLead.cs index 60b415bb7..0cd1ae3f3 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingELiteratureRequestDataForLead.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingELiteratureRequestDataForLead.cs @@ -48,7 +48,7 @@ public class ExistingELiteratureRequestDataForLead /// The Associated Event. /// [JsonProperty("event")] - public Event21 Event { get; set; } = default!; + public Event3 Event { get; set; } = default!; /// /// The Associated Exhibitor. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingExhibitorAnswer.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingExhibitorAnswer.cs index c915118b7..a661d4b09 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingExhibitorAnswer.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingExhibitorAnswer.cs @@ -54,7 +54,7 @@ public class ExistingExhibitorAnswer /// The Associated Event. /// [JsonProperty("event")] - public Event21 Event { get; set; } = default!; + public Event3 Event { get; set; } = default!; /// /// The Associated Exhibitor. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingExhibitorAnswerInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingExhibitorAnswerInput.cs index deda04e02..8e67e0313 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingExhibitorAnswerInput.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingExhibitorAnswerInput.cs @@ -29,7 +29,7 @@ public class ExistingExhibitorAnswerInput /// The Associated Event. /// [JsonProperty("event")] - public Event21 Event { get; set; } = default!; + public Event3 Event { get; set; } = default!; /// /// The Associated Exhibitor. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingExhibitorQuestion.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingExhibitorQuestion.cs index 95a6d75bd..0f5ee4f49 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingExhibitorQuestion.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingExhibitorQuestion.cs @@ -48,7 +48,7 @@ public class ExistingExhibitorQuestion /// The Associated Event. /// [JsonProperty("event")] - public Event21 Event { get; set; } = default!; + public Event3 Event { get; set; } = default!; /// /// The actual text of the exhibitor question. @@ -84,13 +84,13 @@ public class ExistingExhibitorQuestion /// Contains text of additional choice. /// [JsonProperty("notApplicableAnswer")] - public AdditionalChoice? NotApplicableAnswer { get; set; } + public AdditionalChoice1? NotApplicableAnswer { get; set; } /// /// Contains text of additional choice. /// [JsonProperty("otherAnswer")] - public AdditionalChoice? OtherAnswer { get; set; } + public AdditionalChoice1? OtherAnswer { get; set; } /// /// Specifies the format for displaying answers based on the question type. For SingleChoice questions, choose between 'Dropdown' or 'RadioButton'. For OpenEndedTextOneLine questions, select 'General', 'EmailAddress', or 'PhoneNumber'. For OpenEndedDateTime questions, use 'DateAndTime' or 'Date'. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingFile.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingFile.cs index 9d0f41ac7..b1f035e33 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingFile.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingFile.cs @@ -47,7 +47,7 @@ public class ExistingFile /// The Associated Event. /// [JsonProperty("event")] - public Event21 Event { get; set; } = default!; + public Event3 Event { get; set; } = default!; /// /// The Associated Exhibitor. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingSpeaker.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingSpeaker.cs index c86283a00..0fc663f30 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingSpeaker.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingSpeaker.cs @@ -101,13 +101,13 @@ public class ExistingSpeaker /// A defined speaker category. /// [JsonProperty("category")] - public CategoryIdNameJson? Category { get; set; } + public SpeakerCategory1? Category { get; set; } /// /// Collection of social media links for the contact. /// [JsonProperty("links")] - public ContactLinksJson? Links { get; set; } + public ContactLinks? Links { get; set; } /// /// Indicates if a given speaker should be displayed on Event Website. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingSpeakerInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingSpeakerInput.cs index ca8ae5859..004e0816a 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingSpeakerInput.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingSpeakerInput.cs @@ -76,13 +76,13 @@ public class ExistingSpeakerInput /// A defined speaker category. /// [JsonProperty("category")] - public CategoryIdNameJson? Category { get; set; } + public SpeakerCategory1? Category { get; set; } /// /// Collection of social media links for the contact. /// [JsonProperty("links")] - public ContactLinksJsonInput? Links { get; set; } + public ContactLinksInput? Links { get; set; } /// /// Indicates if a given speaker should be displayed on Event Website. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingSponsorshipLevel.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingSponsorshipLevel.cs index 61667fc7e..7405cb237 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingSponsorshipLevel.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingSponsorshipLevel.cs @@ -47,7 +47,7 @@ public class ExistingSponsorshipLevel /// The Associated Event. /// [JsonProperty("event")] - public Event21 Event { get; set; } = default!; + public Event3 Event { get; set; } = default!; /// /// Name of the sponsorship level. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVideoResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVideoResponse.cs index 963550da7..fad9c7556 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVideoResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVideoResponse.cs @@ -78,25 +78,25 @@ public class ExistingVideoResponse /// Video thumbnail. /// [JsonProperty("thumbnail")] - public VideoThumbnailJson? Thumbnail { get; set; } + public VideoThumbnail? Thumbnail { get; set; } /// /// Video thumbnail. /// [JsonProperty("generatedThumbnail")] - public VideoThumbnailJson? GeneratedThumbnail { get; set; } + public VideoThumbnail? GeneratedThumbnail { get; set; } /// /// Denotes the status of a video. Started indicates the request to upload in the API was submitted, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the video. Available indicates the video is available for use. /// [JsonProperty("status")] - public VideoStatusJson? Status { get; set; } + public VideoStatus? Status { get; set; } /// /// Source of video. /// [JsonProperty("source")] - public VideoSourceJson? Source { get; set; } + public VideoSource? Source { get; set; } /// /// A list of tags associated with this video. This feature is a developer extensability framework to add data to videos. @@ -108,7 +108,7 @@ public class ExistingVideoResponse /// This is used to denote type of a video. /// [JsonProperty("type")] - public VideoTypeJson? Type { get; set; } + public VideoType? Type { get; set; } /// /// Event video asset was created with. This field has been deprecated. Use events instead. @@ -128,7 +128,7 @@ public class ExistingVideoResponse /// A list of input object locations & clip information for HTTP Live Streaming (HLS) recordings. Used to trim & stitch all inputs together to form a new video. /// [JsonProperty("hlsInputsWithClips")] - public List? HlsInputsWithClips { get; set; } + public List? HlsInputsWithClips { get; set; } /// /// Recording details of video to be transcoded. @@ -140,7 +140,7 @@ public class ExistingVideoResponse /// Denotes the profile to use when encoding the video. Planner profile is for encoding high-quality event content, like session videos. Attendee profile is for encoding lower-quality content intended to go on attendee profiles and social feeds in the event. /// [JsonProperty("encodingProfile")] - public EncodingProfileJson? EncodingProfile { get; set; } = Cvent.SDK.Models.Components.EncodingProfileJson.Planner; + public EncodingProfile? EncodingProfile { get; set; } = Cvent.SDK.Models.Components.EncodingProfile.Planner; /// /// The identifier of a video. @@ -152,7 +152,7 @@ public class ExistingVideoResponse /// A URL associated with the asset. /// [JsonProperty("url")] - public AssetLocationJson? Url { get; set; } + public AssetLocation? Url { get; set; } /// /// File size in bytes for the video asset. @@ -200,12 +200,12 @@ public class ExistingVideoResponse /// This is used to denote the errors for a video entity. /// [JsonProperty("errors")] - public List? Errors { get; set; } + public List? Errors { get; set; } /// /// This is used to denote the warnings for a video entity. /// [JsonProperty("warnings")] - public List? Warnings { get; set; } + public List? Warnings { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVideoTextTrack.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVideoTextTrack.cs index 27db475c7..fd819d695 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVideoTextTrack.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVideoTextTrack.cs @@ -47,7 +47,7 @@ public class ExistingVideoTextTrack /// Video that this asset was created with. /// [JsonProperty("video")] - public VideoAssetIdJson? Video { get; set; } + public VideoAssetID? Video { get; set; } /// /// Name of the text track. @@ -65,7 +65,7 @@ public class ExistingVideoTextTrack /// Denotes the kind of video text track. Only subtitles are supported. /// [JsonProperty("kind")] - public VideoTextTrackKindJson Kind { get; set; } = default!; + public VideoTextTrackKind Kind { get; set; } = default!; /// /// True means that this text track has been published for your client. @@ -83,7 +83,7 @@ public class ExistingVideoTextTrack /// Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. /// [JsonProperty("status")] - public VideoTextTrackStatusJson Status { get; set; } = default!; + public VideoTextTrackStatus Status { get; set; } = default!; /// /// True indicates this text track was generated via machine transcription of the audio. @@ -101,7 +101,7 @@ public class ExistingVideoTextTrack /// A URL associated with the asset. /// [JsonProperty("url")] - public AssetLocationJson? Url { get; set; } + public AssetLocation? Url { get; set; } /// /// A message indicating the error processing the text track, if any. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVideoTextTrackInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVideoTextTrackInput.cs index c04aa5745..d3cb2deac 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVideoTextTrackInput.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVideoTextTrackInput.cs @@ -22,7 +22,7 @@ public class ExistingVideoTextTrackInput /// Video that this asset was created with. /// [JsonProperty("video")] - public VideoAssetIdJson? Video { get; set; } + public VideoAssetID? Video { get; set; } /// /// Name of the text track. @@ -40,7 +40,7 @@ public class ExistingVideoTextTrackInput /// Denotes the kind of video text track. Only subtitles are supported. /// [JsonProperty("kind")] - public VideoTextTrackKindJson Kind { get; set; } = default!; + public VideoTextTrackKind Kind { get; set; } = default!; /// /// True means that this text track has been published for your client. @@ -58,7 +58,7 @@ public class ExistingVideoTextTrackInput /// Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. /// [JsonProperty("status")] - public VideoTextTrackStatusJson Status { get; set; } = default!; + public VideoTextTrackStatus Status { get; set; } = default!; /// /// True indicates this text track was generated via machine transcription of the audio. @@ -70,7 +70,7 @@ public class ExistingVideoTextTrackInput /// A URL associated with the asset. /// [JsonProperty("url")] - public AssetLocationJsonInput? Url { get; set; } + public AssetLocationInput? Url { get; set; } /// /// A message indicating the error processing the text track, if any. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingWeblink.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingWeblink.cs index 2f71fb656..06f2c4b79 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingWeblink.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingWeblink.cs @@ -47,7 +47,7 @@ public class ExistingWeblink /// The Associated Event. /// [JsonProperty("event")] - public Event21 Event { get; set; } = default!; + public Event3 Event { get; set; } = default!; /// /// The Associated Exhibitor. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/FairSeasonType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/FairSeasonType.cs new file mode 100644 index 000000000..e521dd756 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/FairSeasonType.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.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Fair season type. Blackout means that no special rate is negotiated for that date and Best Available Rates will apply. + /// + public enum FairSeasonType + { + [JsonProperty("negotiated")] Negotiated, + [JsonProperty("blackout")] Blackout, + } + + public static class FairSeasonTypeExtension + { + public static string Value(this FairSeasonType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static FairSeasonType ToEnum(this string value) + { + foreach (var field in typeof(FairSeasonType).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 FairSeasonType) + { + return (FairSeasonType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum FairSeasonType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/FairSeasonTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/FairSeasonTypeJson.cs deleted file mode 100644 index af28047d6..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/FairSeasonTypeJson.cs +++ /dev/null @@ -1,57 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Fair season type. Blackout means that no special rate is negotiated for that date and Best Available Rates will apply. - /// - public enum FairSeasonTypeJson - { - [JsonProperty("negotiated")] Negotiated, - [JsonProperty("blackout")] Blackout, - } - - public static class FairSeasonTypeJsonExtension - { - public static string Value(this FairSeasonTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static FairSeasonTypeJson ToEnum(this string value) - { - foreach (var field in typeof(FairSeasonTypeJson).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 FairSeasonTypeJson) - { - return (FairSeasonTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum FairSeasonTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Field.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Field.cs new file mode 100644 index 000000000..56b769d6c --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Field.cs @@ -0,0 +1,70 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// A question field. + /// + public class Field + { + /// + /// Text field ID. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// Text value of the field. Displays to users in the UI. + /// + [JsonProperty("text")] + public string? Text { get; set; } + + /// + /// Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. + /// + [JsonProperty("shortText")] + public string? ShortText { get; set; } + + /// + /// Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: Data is one or more options from a list. `Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is free-text input. + /// + [JsonProperty("type")] + public FieldType? Type { get; set; } + + /// + /// List of choices for this field. + /// + [JsonProperty("choices")] + public List? Choices { get; set; } + + /// + /// Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + /// + [JsonProperty("notApplicableAnswer")] + public AdditionalChoice? NotApplicableAnswer { get; set; } + + /// + /// Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + /// + [JsonProperty("otherAnswer")] + public AdditionalChoice? OtherAnswer { get; set; } + + /// + /// True indicates this is a mandatory question field. + /// + [JsonProperty("required")] + public bool? Required { get; set; } = false; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/FieldJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/FieldJson.cs index b35d969cc..99b7dc399 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/FieldJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/FieldJson.cs @@ -15,7 +15,7 @@ namespace Cvent.SDK.Models.Components using System.Collections.Generic; /// - /// A question field. + /// A survey field. /// public class FieldJson { @@ -26,19 +26,19 @@ public class FieldJson public string? Id { get; set; } /// - /// Text value of the field. Displays to users in the UI. + /// text Value of the Field. /// [JsonProperty("text")] public string? Text { get; set; } /// - /// Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. + /// Reporting value of the Category, Its like a custom abbreviation. /// [JsonProperty("shortText")] public string? ShortText { get; set; } /// - /// Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: Data is one or more options from a list. `Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is free-text input. + /// Field Type. /// [JsonProperty("type")] public FieldTypeJson? Type { get; set; } @@ -47,22 +47,22 @@ public class FieldJson /// List of choices for this field. /// [JsonProperty("choices")] - public List? Choices { get; set; } + public List? Choices { get; set; } /// - /// Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + /// Contains text of additional choice i.e N/A choice or otherAnswer choice. /// [JsonProperty("notApplicableAnswer")] - public AdditionalChoiceJson2? NotApplicableAnswer { get; set; } + public AdditionalChoiceJson? NotApplicableAnswer { get; set; } /// - /// Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + /// Contains text of additional choice i.e N/A choice or otherAnswer choice. /// [JsonProperty("otherAnswer")] - public AdditionalChoiceJson2? OtherAnswer { get; set; } + public AdditionalChoiceJson? OtherAnswer { get; set; } /// - /// True indicates this is a mandatory question field. + /// Is this a mandatory field. /// [JsonProperty("required")] public bool? Required { get; set; } = false; diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/FieldJson2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/FieldJson2.cs deleted file mode 100644 index dcd6f4e15..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/FieldJson2.cs +++ /dev/null @@ -1,70 +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; - using System.Collections.Generic; - - /// - /// A survey field. - /// - public class FieldJson2 - { - /// - /// Text field ID. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// text Value of the Field. - /// - [JsonProperty("text")] - public string? Text { get; set; } - - /// - /// Reporting value of the Category, Its like a custom abbreviation. - /// - [JsonProperty("shortText")] - public string? ShortText { get; set; } - - /// - /// Field Type. - /// - [JsonProperty("type")] - public FieldTypeJson2? Type { get; set; } - - /// - /// List of choices for this field. - /// - [JsonProperty("choices")] - public List? Choices { get; set; } - - /// - /// Contains text of additional choice i.e N/A choice or otherAnswer choice. - /// - [JsonProperty("notApplicableAnswer")] - public AdditionalChoiceJson1? NotApplicableAnswer { get; set; } - - /// - /// Contains text of additional choice i.e N/A choice or otherAnswer choice. - /// - [JsonProperty("otherAnswer")] - public AdditionalChoiceJson1? OtherAnswer { get; set; } - - /// - /// Is this a mandatory field. - /// - [JsonProperty("required")] - public bool? Required { get; set; } = false; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/FieldType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/FieldType.cs new file mode 100644 index 000000000..b5ef31002 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/FieldType.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; + + /// + /// Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: Data is one or more options from a list. `Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is free-text input. + /// + public enum FieldType + { + [JsonProperty("DateTime")] DateTime, + [JsonProperty("MultiChoice")] MultiChoice, + [JsonProperty("Number")] Number, + [JsonProperty("SingleChoice")] SingleChoice, + [JsonProperty("Text")] Text, + } + + public static class FieldTypeExtension + { + public static string Value(this FieldType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static FieldType ToEnum(this string value) + { + foreach (var field in typeof(FieldType).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 FieldType) + { + return (FieldType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum FieldType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/FieldTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/FieldTypeJson.cs index 42bd95c66..e1c282477 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/FieldTypeJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/FieldTypeJson.cs @@ -14,14 +14,14 @@ namespace Cvent.SDK.Models.Components using System; /// - /// Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: Data is one or more options from a list. `Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is free-text input. + /// Field Type. /// public enum FieldTypeJson { - [JsonProperty("DateTime")] DateTime, + [JsonProperty("SingleChoice")] SingleChoice, [JsonProperty("MultiChoice")] MultiChoice, + [JsonProperty("DateTime")] DateTime, [JsonProperty("Number")] Number, - [JsonProperty("SingleChoice")] SingleChoice, [JsonProperty("Text")] Text, } diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/FieldTypeJson2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/FieldTypeJson2.cs deleted file mode 100644 index d5209f669..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/FieldTypeJson2.cs +++ /dev/null @@ -1,60 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Field Type. - /// - public enum FieldTypeJson2 - { - [JsonProperty("SingleChoice")] SingleChoice, - [JsonProperty("MultiChoice")] MultiChoice, - [JsonProperty("DateTime")] DateTime, - [JsonProperty("Number")] Number, - [JsonProperty("Text")] Text, - } - - public static class FieldTypeJson2Extension - { - public static string Value(this FieldTypeJson2 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static FieldTypeJson2 ToEnum(this string value) - { - foreach (var field in typeof(FieldTypeJson2).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 FieldTypeJson2) - { - return (FieldTypeJson2)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum FieldTypeJson2"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/FileInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/FileInput.cs index a9e486bbd..222cd2dfa 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/FileInput.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/FileInput.cs @@ -22,7 +22,7 @@ public class FileInput /// The Associated Event. /// [JsonProperty("event")] - public Event21 Event { get; set; } = default!; + public Event3 Event { get; set; } = default!; /// /// The Associated Exhibitor. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/FormatType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/FormatType.cs new file mode 100644 index 000000000..dc62a6d48 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/FormatType.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.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Proposal format. + /// + public enum FormatType + { + [JsonProperty("gbta2013")] Gbta2013, + [JsonProperty("universal")] Universal, + } + + public static class FormatTypeExtension + { + public static string Value(this FormatType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static FormatType ToEnum(this string value) + { + foreach (var field in typeof(FormatType).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 FormatType) + { + return (FormatType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum FormatType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/FormatTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/FormatTypeJson.cs deleted file mode 100644 index cc960cd0a..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/FormatTypeJson.cs +++ /dev/null @@ -1,57 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Proposal format. - /// - public enum FormatTypeJson - { - [JsonProperty("gbta2013")] Gbta2013, - [JsonProperty("universal")] Universal, - } - - public static class FormatTypeJsonExtension - { - public static string Value(this FormatTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static FormatTypeJson ToEnum(this string value) - { - foreach (var field in typeof(FormatTypeJson).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 FormatTypeJson) - { - return (FormatTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum FormatTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/GenderJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/GenderJson.cs deleted file mode 100644 index 0a3630b88..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/GenderJson.cs +++ /dev/null @@ -1,59 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// The gender of the contact. - /// - public enum GenderJson - { - [JsonProperty("Male")] Male, - [JsonProperty("Female")] Female, - [JsonProperty("Non-binary")] NonBinary, - [JsonProperty("Rather not say")] RatherNotSay, - } - - public static class GenderJsonExtension - { - public static string Value(this GenderJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static GenderJson ToEnum(this string value) - { - foreach (var field in typeof(GenderJson).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 GenderJson) - { - return (GenderJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum GenderJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/GuestJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/GuestJson.cs index f0baf68f8..19e67fa9f 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/GuestJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/GuestJson.cs @@ -95,7 +95,7 @@ public class GuestJson /// Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. /// [JsonProperty("homeAddress")] - public AddressJson2? HomeAddress { get; set; } + public AddressJson? HomeAddress { get; set; } /// /// Payment information. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/GuestRoomOccupancy.cs b/packages/csharp/src/Cvent/SDK/Models/Components/GuestRoomOccupancy.cs new file mode 100644 index 000000000..36971e6fa --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/GuestRoomOccupancy.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; + + /// + /// Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. `TRIPLE`: Three occupants. `QUAD`: Four occupants. + /// + public enum GuestRoomOccupancy + { + [JsonProperty("SINGLE")] Single, + [JsonProperty("DOUBLE")] Double, + [JsonProperty("TRIPLE")] Triple, + [JsonProperty("QUAD")] Quad, + } + + public static class GuestRoomOccupancyExtension + { + public static string Value(this GuestRoomOccupancy value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static GuestRoomOccupancy ToEnum(this string value) + { + foreach (var field in typeof(GuestRoomOccupancy).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 GuestRoomOccupancy) + { + return (GuestRoomOccupancy)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum GuestRoomOccupancy"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/GuestRoomOccupancyJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/GuestRoomOccupancyJson.cs deleted file mode 100644 index 3fbdcca5c..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/GuestRoomOccupancyJson.cs +++ /dev/null @@ -1,59 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. `TRIPLE`: Three occupants. `QUAD`: Four occupants. - /// - public enum GuestRoomOccupancyJson - { - [JsonProperty("SINGLE")] Single, - [JsonProperty("DOUBLE")] Double, - [JsonProperty("TRIPLE")] Triple, - [JsonProperty("QUAD")] Quad, - } - - public static class GuestRoomOccupancyJsonExtension - { - public static string Value(this GuestRoomOccupancyJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static GuestRoomOccupancyJson ToEnum(this string value) - { - foreach (var field in typeof(GuestRoomOccupancyJson).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 GuestRoomOccupancyJson) - { - return (GuestRoomOccupancyJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum GuestRoomOccupancyJson"); - } - } -} \ 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 new file mode 100644 index 000000000..2ec829f8a --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/GuestRoomOccupancyPerRoomType.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Room occupancy for a room type. + /// + public class GuestRoomOccupancyPerRoomType + { + /// + /// Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. `TRIPLE`: Three occupants. `QUAD`: Four occupants. + /// + [JsonProperty("occupancy")] + public GuestRoomOccupancy? Occupancy { get; set; } + + /// + /// 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; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/GuestRoomOccupancyPerRoomTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/GuestRoomOccupancyPerRoomTypeJson.cs deleted file mode 100644 index 46f78017d..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/GuestRoomOccupancyPerRoomTypeJson.cs +++ /dev/null @@ -1,33 +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; - - /// - /// Room occupancy for a room type. - /// - public class GuestRoomOccupancyPerRoomTypeJson - { - /// - /// Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. `TRIPLE`: Three occupants. `QUAD`: Four occupants. - /// - [JsonProperty("occupancy")] - public GuestRoomOccupancyJson? Occupancy { get; set; } - - /// - /// 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 GuestRoomTypeJson? Type { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/GuestRoomType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/GuestRoomType.cs new file mode 100644 index 000000000..badf1faf3 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/GuestRoomType.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; + + /// + /// 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. + /// + public enum GuestRoomType + { + [JsonProperty("ANY")] Any, + [JsonProperty("SINGLE")] Single, + [JsonProperty("DOUBLE")] Double, + [JsonProperty("SUITE")] Suite, + [JsonProperty("STAFF")] Staff, + } + + public static class GuestRoomTypeExtension + { + public static string Value(this GuestRoomType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static GuestRoomType ToEnum(this string value) + { + foreach (var field in typeof(GuestRoomType).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 GuestRoomType) + { + return (GuestRoomType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum GuestRoomType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/GuestRoomTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/GuestRoomTypeJson.cs deleted file mode 100644 index e16102a2f..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/GuestRoomTypeJson.cs +++ /dev/null @@ -1,60 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// 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. - /// - public enum GuestRoomTypeJson - { - [JsonProperty("ANY")] Any, - [JsonProperty("SINGLE")] Single, - [JsonProperty("DOUBLE")] Double, - [JsonProperty("SUITE")] Suite, - [JsonProperty("STAFF")] Staff, - } - - public static class GuestRoomTypeJsonExtension - { - public static string Value(this GuestRoomTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static GuestRoomTypeJson ToEnum(this string value) - { - foreach (var field in typeof(GuestRoomTypeJson).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 GuestRoomTypeJson) - { - return (GuestRoomTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum GuestRoomTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/HlsInputWithClips.cs b/packages/csharp/src/Cvent/SDK/Models/Components/HlsInputWithClips.cs new file mode 100644 index 000000000..e2e3bb149 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/HlsInputWithClips.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; + + /// + /// HTTP Live Streaming input and clips. + /// + public class HlsInputWithClips + { + /// + /// Location for HTTP Live Streaming (HLS) recording. + /// + [JsonProperty("hlsInput")] + public string? HlsInput { get; set; } + + /// + /// Clips for the HLS recording. + /// + [JsonProperty("clips")] + public List? Clips { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/HlsInputWithClipsJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/HlsInputWithClipsJson.cs deleted file mode 100644 index 93e8f4e21..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/HlsInputWithClipsJson.cs +++ /dev/null @@ -1,34 +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; - using System.Collections.Generic; - - /// - /// HTTP Live Streaming input and clips. - /// - public class HlsInputWithClipsJson - { - /// - /// Location for HTTP Live Streaming (HLS) recording. - /// - [JsonProperty("hlsInput")] - public string? HlsInput { get; set; } - - /// - /// Clips for the HLS recording. - /// - [JsonProperty("clips")] - public List? Clips { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/HotelRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Components/HotelRequest.cs index 3148af906..f62b54761 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/HotelRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/HotelRequest.cs @@ -246,7 +246,7 @@ public class HotelRequest /// Address of the hotel. /// [JsonProperty("hotelAddress")] - public Address3? HotelAddress { get; set; } + public Address5? HotelAddress { get; set; } /// /// Collection of hotel room rates the requester has taken. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/HousingEventHotel.cs b/packages/csharp/src/Cvent/SDK/Models/Components/HousingEventHotel.cs index f0d9a893a..5e301476e 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/HousingEventHotel.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/HousingEventHotel.cs @@ -77,6 +77,6 @@ public class HousingEventHotel /// Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. /// [JsonProperty("address")] - public AddressJson2? Address { get; set; } + public AddressJson? Address { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/HousingEventSummaryList.cs b/packages/csharp/src/Cvent/SDK/Models/Components/HousingEventSummaryList.cs index cf6ea5dc8..4cc46b6bb 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/HousingEventSummaryList.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/HousingEventSummaryList.cs @@ -29,6 +29,6 @@ public class HousingEventSummaryList /// List of housing events with key information, providing a summarized view of each event. /// [JsonProperty("data")] - public List Data { get; set; } = default!; + public List Data { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/IdJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/IdJson.cs deleted file mode 100644 index 64368fbdb..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/IdJson.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// An entity which only has an id. - /// - public class IdJson - { - /// - /// The entity's id value. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/IdOnlyEntity.cs b/packages/csharp/src/Cvent/SDK/Models/Components/IdOnlyEntity.cs new file mode 100644 index 000000000..726b7f11d --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/IdOnlyEntity.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// An entity which only has an id. + /// + public class IdOnlyEntity + { + /// + /// The entity's id value. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Industry1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Industry1.cs new file mode 100644 index 000000000..b594f412b --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Industry1.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Industry. + /// + public enum Industry1 + { + [JsonProperty("AGRICULTURE_AND_MINING")] AgricultureAndMining, + [JsonProperty("BUSINESS_SERVICES")] BusinessServices, + [JsonProperty("COMPUTERS_AND_ELECTRONICS")] ComputersAndElectronics, + [JsonProperty("CONSUMER_SERVICES")] ConsumerServices, + [JsonProperty("EDUCATION")] Education, + [JsonProperty("ENERGY_AND_UTILITIES")] EnergyAndUtilities, + [JsonProperty("FINANCIAL_SERVICES")] FinancialServices, + [JsonProperty("GOVERNMENT")] Government, + [JsonProperty("HEALTHCARE_PHARMACEUTICALS_AND_BIOTECH")] HealthcarePharmaceuticalsAndBiotech, + [JsonProperty("MANUFACTURING")] Manufacturing, + [JsonProperty("MEDIA_AND_ENTERTAINMENT")] MediaAndEntertainment, + [JsonProperty("OTHER")] Other, + [JsonProperty("REAL_ESTATE_AND_CONSTRUCTION")] RealEstateAndConstruction, + [JsonProperty("RETAIL")] Retail, + [JsonProperty("SOFTWARE_AND_INTERNET")] SoftwareAndInternet, + [JsonProperty("TELECOMMUNICATIONS")] Telecommunications, + [JsonProperty("TRANSPORTATION_AND_STORAGE")] TransportationAndStorage, + [JsonProperty("TRAVEL_RECREATION_AND_LEISURE")] TravelRecreationAndLeisure, + [JsonProperty("WHOLESALE_AND_DISTRIBUTION")] WholesaleAndDistribution, + } + + public static class Industry1Extension + { + public static string Value(this Industry1 value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static Industry1 ToEnum(this string value) + { + foreach (var field in typeof(Industry1).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 Industry1) + { + return (Industry1)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum Industry1"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/IndustryJson0.cs b/packages/csharp/src/Cvent/SDK/Models/Components/IndustryJson0.cs deleted file mode 100644 index af3341eda..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/IndustryJson0.cs +++ /dev/null @@ -1,74 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Industry. - /// - public enum IndustryJson0 - { - [JsonProperty("AGRICULTURE_AND_MINING")] AgricultureAndMining, - [JsonProperty("BUSINESS_SERVICES")] BusinessServices, - [JsonProperty("COMPUTERS_AND_ELECTRONICS")] ComputersAndElectronics, - [JsonProperty("CONSUMER_SERVICES")] ConsumerServices, - [JsonProperty("EDUCATION")] Education, - [JsonProperty("ENERGY_AND_UTILITIES")] EnergyAndUtilities, - [JsonProperty("FINANCIAL_SERVICES")] FinancialServices, - [JsonProperty("GOVERNMENT")] Government, - [JsonProperty("HEALTHCARE_PHARMACEUTICALS_AND_BIOTECH")] HealthcarePharmaceuticalsAndBiotech, - [JsonProperty("MANUFACTURING")] Manufacturing, - [JsonProperty("MEDIA_AND_ENTERTAINMENT")] MediaAndEntertainment, - [JsonProperty("OTHER")] Other, - [JsonProperty("REAL_ESTATE_AND_CONSTRUCTION")] RealEstateAndConstruction, - [JsonProperty("RETAIL")] Retail, - [JsonProperty("SOFTWARE_AND_INTERNET")] SoftwareAndInternet, - [JsonProperty("TELECOMMUNICATIONS")] Telecommunications, - [JsonProperty("TRANSPORTATION_AND_STORAGE")] TransportationAndStorage, - [JsonProperty("TRAVEL_RECREATION_AND_LEISURE")] TravelRecreationAndLeisure, - [JsonProperty("WHOLESALE_AND_DISTRIBUTION")] WholesaleAndDistribution, - } - - public static class IndustryJson0Extension - { - public static string Value(this IndustryJson0 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static IndustryJson0 ToEnum(this string value) - { - foreach (var field in typeof(IndustryJson0).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 IndustryJson0) - { - return (IndustryJson0)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum IndustryJson0"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/InvitationListPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/InvitationListPaginatedResponse.cs index 3e5c083f8..c2a82f899 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/InvitationListPaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/InvitationListPaginatedResponse.cs @@ -23,7 +23,7 @@ public class InvitationListPaginatedResponse /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson19 Paging { get; set; } = default!; + public PagingJson2 Paging { get; set; } = default!; /// /// Collection of invitation list objects. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Lead.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Lead.cs index 920ffc196..c631f556a 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Lead.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Lead.cs @@ -47,7 +47,7 @@ public class Lead /// The Associated Event. /// [JsonProperty("event")] - public Event21? Event { get; set; } + public Event3? Event { get; set; } /// /// The Associated Exhibitor. @@ -59,7 +59,7 @@ public class Lead /// A JSON schema representing the Attendee object. /// [JsonProperty("attendee")] - public Attendee12? Attendee { get; set; } + public Attendee13? Attendee { get; set; } /// /// A JSON schema representing Booth Staff entity. @@ -119,7 +119,7 @@ public class Lead /// Schema for address information. /// [JsonProperty("homeAddress")] - public Address12? HomeAddress { get; set; } + public Address11? HomeAddress { get; set; } /// /// Home phone number of the lead. @@ -131,7 +131,7 @@ public class Lead /// Schema for address information. /// [JsonProperty("workAddress")] - public Address12? WorkAddress { get; set; } + public Address11? WorkAddress { get; set; } /// /// Work Phone number of the lead. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LeadQualificationAnswers.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LeadQualificationAnswers.cs index d82cb5630..d149573ee 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/LeadQualificationAnswers.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/LeadQualificationAnswers.cs @@ -60,7 +60,7 @@ public class LeadQualificationAnswers /// The Associated Event. /// [JsonProperty("event")] - public Event21? Event { get; set; } + public Event3? Event { get; set; } /// /// The Associated Exhibitor. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LeadQualificationQuestion.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LeadQualificationQuestion.cs index ad8e3f6dd..85b059d75 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/LeadQualificationQuestion.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/LeadQualificationQuestion.cs @@ -54,7 +54,7 @@ public class LeadQualificationQuestion /// The Associated Event. /// [JsonProperty("event")] - public Event21? Event { get; set; } + public Event3? Event { get; set; } /// /// The Associated Exhibitor. @@ -78,19 +78,19 @@ public class LeadQualificationQuestion /// List of available choices for the question. /// [JsonProperty("choices")] - public List? Choices { get; set; } + public List? Choices { get; set; } /// /// Contains text of additional choice. /// [JsonProperty("notApplicableAnswer")] - public AdditionalChoice? NotApplicableAnswer { get; set; } + public AdditionalChoice1? NotApplicableAnswer { get; set; } /// /// Contains text of additional choice. /// [JsonProperty("otherAnswers")] - public AdditionalChoice? OtherAnswers { get; set; } + public AdditionalChoice1? OtherAnswers { get; set; } /// /// A boolean indicating whether the question is mandatory or not. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LeadQualifiedQuestionResponseJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LeadQualifiedQuestionResponseJson.cs index 9e7a24d0e..8a89d0d96 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/LeadQualifiedQuestionResponseJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/LeadQualifiedQuestionResponseJson.cs @@ -23,7 +23,7 @@ public class LeadQualifiedQuestionResponseJson /// The question that was answered. /// [JsonProperty("question")] - public QuestionJson3? Question { get; set; } + public QuestionJson2? Question { get; set; } /// /// List of answers. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LeadSource.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LeadSource.cs index be54d9928..da9efb3f4 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/LeadSource.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/LeadSource.cs @@ -28,6 +28,6 @@ public class LeadSource /// Represents lead source section details, which is a sub area of source generating the RFP. /// [JsonProperty("section")] - public LeadSourceSectionJson? Section { get; set; } + public LeadSourceSection? Section { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LeadSourceJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LeadSourceJson.cs deleted file mode 100644 index ff3ec34ed..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/LeadSourceJson.cs +++ /dev/null @@ -1,33 +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; - - /// - /// Lead source details. - /// - public class LeadSourceJson - { - /// - /// Unique identifier for source generating the RFP. Details about this lead source can be fetched using lead source API. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// Represents lead source section details, which is a sub area of source generating the RFP. - /// - [JsonProperty("section")] - public LeadSourceSectionJson? Section { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LeadSourceSection.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LeadSourceSection.cs new file mode 100644 index 000000000..be7259b21 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/LeadSourceSection.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Represents lead source section details, which is a sub area of source generating the RFP. + /// + public class LeadSourceSection + { + /// + /// Unique identifier for sub area of source generating the RFP. Details about this lead source section can be fetched using lead source section API. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LeadSourceSectionJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LeadSourceSectionJson.cs deleted file mode 100644 index f67a05a1f..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/LeadSourceSectionJson.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// Represents lead source section details, which is a sub area of source generating the RFP. - /// - public class LeadSourceSectionJson - { - /// - /// Unique identifier for sub area of source generating the RFP. Details about this lead source section can be fetched using lead source section API. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ManagementLevelType1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ManagementLevelType1.cs new file mode 100644 index 000000000..9194749bf --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ManagementLevelType1.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; + + /// + /// The management level of the travel account. Defined by the supply-side. + /// + public enum ManagementLevelType1 + { + [JsonProperty("global")] Global, + [JsonProperty("national")] National, + [JsonProperty("regional")] Regional, + [JsonProperty("local")] Local, + } + + public static class ManagementLevelType1Extension + { + public static string Value(this ManagementLevelType1 value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static ManagementLevelType1 ToEnum(this string value) + { + foreach (var field in typeof(ManagementLevelType1).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 ManagementLevelType1) + { + return (ManagementLevelType1)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum ManagementLevelType1"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ManagementLevelTypeJson1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ManagementLevelTypeJson1.cs deleted file mode 100644 index 93f64ccc3..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ManagementLevelTypeJson1.cs +++ /dev/null @@ -1,59 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// The management level of the travel account. Defined by the supply-side. - /// - public enum ManagementLevelTypeJson1 - { - [JsonProperty("global")] Global, - [JsonProperty("national")] National, - [JsonProperty("regional")] Regional, - [JsonProperty("local")] Local, - } - - public static class ManagementLevelTypeJson1Extension - { - public static string Value(this ManagementLevelTypeJson1 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static ManagementLevelTypeJson1 ToEnum(this string value) - { - foreach (var field in typeof(ManagementLevelTypeJson1).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 ManagementLevelTypeJson1) - { - return (ManagementLevelTypeJson1)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum ManagementLevelTypeJson1"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeasurementUnit.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeasurementUnit.cs new file mode 100644 index 000000000..1cbe2a568 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MeasurementUnit.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; + + /// + /// Unit of measurement for area or space.
+ ///
+ /// Values:
+ /// - `SQUARE_FEET` — Square Feet
+ /// - `SQUARE_METERS` — Square Meters. + ///
+ public enum MeasurementUnit + { + [JsonProperty("SQUARE_FEET")] SquareFeet, + [JsonProperty("SQUARE_METERS")] SquareMeters, + } + + public static class MeasurementUnitExtension + { + public static string Value(this MeasurementUnit value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static MeasurementUnit ToEnum(this string value) + { + foreach (var field in typeof(MeasurementUnit).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 MeasurementUnit) + { + return (MeasurementUnit)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum MeasurementUnit"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeasurementUnitJson0.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeasurementUnitJson0.cs deleted file mode 100644 index 88db70890..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/MeasurementUnitJson0.cs +++ /dev/null @@ -1,57 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Measurement unit. - /// - public enum MeasurementUnitJson0 - { - [JsonProperty("SQUARE_FEET")] SquareFeet, - [JsonProperty("SQUARE_METERS")] SquareMeters, - } - - public static class MeasurementUnitJson0Extension - { - public static string Value(this MeasurementUnitJson0 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static MeasurementUnitJson0 ToEnum(this string value) - { - foreach (var field in typeof(MeasurementUnitJson0).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 MeasurementUnitJson0) - { - return (MeasurementUnitJson0)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum MeasurementUnitJson0"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestQuestionJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestQuestionJson.cs index 2e1387f14..8c0a69be7 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestQuestionJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MeetingRequestQuestionJson.cs @@ -41,7 +41,7 @@ public class MeetingRequestQuestionJson /// Denotes the type of data collected by a question. /// [JsonProperty("type")] - public QuestionTypeJson1? Type { get; set; } + public QuestionTypeJson? Type { get; set; } /// /// An array of non-null answers to the question. The format of each item depends on the question `type`.
diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MembershipJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MembershipJson.cs deleted file mode 100644 index 85838c9e4..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/MembershipJson.cs +++ /dev/null @@ -1,63 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Contact Membership information. - /// - public class MembershipJson - { - /// - /// The type of membership the contact has signed up for. - /// - [JsonProperty("type")] - public string? Type { get; set; } - - /// - /// Describes the specific plan the contact has signed up for. - /// - [JsonProperty("plan")] - public string? Plan { get; set; } - - /// - /// The ISO-8601 formatted date the contact began their membership. - /// - [JsonProperty("joined")] - public DateOnly? Joined { get; set; } - - /// - /// The ISO-8601 formatted date the contact's membership will expire. - /// - [JsonProperty("expiration")] - public DateOnly? Expiration { get; set; } - - /// - /// The ISO-8601 formatted date the contact last renewed their membership. - /// - [JsonProperty("lastRenewal")] - public DateOnly? LastRenewal { get; set; } - - /// - /// The amount currently due for this membership. - /// - [JsonProperty("amountDue")] - public double? AmountDue { get; set; } - - /// - /// Indicates if the member details should be included in the member directory. - /// - [JsonProperty("listInDirectory")] - public bool? ListInDirectory { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MessageRecipientResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MessageRecipientResponse.cs new file mode 100644 index 000000000..63d45af86 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MessageRecipientResponse.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Members of the channel who received a message. + /// + public class MessageRecipientResponse + { + /// + /// The attendee object. + /// + [JsonProperty("attendee")] + public MessageRecipientResponseAttendee Attendee { get; set; } = default!; + + /// + /// The channel object. + /// + [JsonProperty("channel")] + public Channel Channel { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MessageRecipientResponseAttendee.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MessageRecipientResponseAttendee.cs new file mode 100644 index 000000000..c098db253 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MessageRecipientResponseAttendee.cs @@ -0,0 +1,39 @@ +//------------------------------------------------------------------------------ +// +// 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 attendee object. + /// + public class MessageRecipientResponseAttendee + { + /// + /// Unique identifier for the attendee. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + + /// + /// True indicates the recipient is active in the channel. + /// + [JsonProperty("active")] + public bool Active { get; set; } = default!; + + /// + /// ISO 8601 formatted timestamp when the attendee left the channel, if applicable. + /// + [JsonProperty("leftChannelAt")] + public DateTime? LeftChannelAt { get; set; } = null; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MessageRecipientsPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MessageRecipientsPaginatedResponse.cs index 1aac2fb7f..9b11a5fce 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/MessageRecipientsPaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/MessageRecipientsPaginatedResponse.cs @@ -23,12 +23,12 @@ public class MessageRecipientsPaginatedResponse /// Represents pagination information for a collection of resources. ///
[JsonProperty("paging")] - public PagingJson Paging { get; set; } = default!; + public Paging Paging { get; set; } = default!; /// /// Collection of channel members. /// [JsonProperty("data")] - public List Data { get; set; } = default!; + public List Data { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MessageRecipientsResponseJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MessageRecipientsResponseJson.cs deleted file mode 100644 index 80c3564e5..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/MessageRecipientsResponseJson.cs +++ /dev/null @@ -1,33 +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; - - /// - /// Members of the channel who received a message. - /// - public class MessageRecipientsResponseJson - { - /// - /// The attendee object. - /// - [JsonProperty("attendee")] - public MessageRecipientsResponseJsonAttendee Attendee { get; set; } = default!; - - /// - /// The channel object. - /// - [JsonProperty("channel")] - public Channel Channel { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/MessageRecipientsResponseJsonAttendee.cs b/packages/csharp/src/Cvent/SDK/Models/Components/MessageRecipientsResponseJsonAttendee.cs deleted file mode 100644 index 980b79aa4..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/MessageRecipientsResponseJsonAttendee.cs +++ /dev/null @@ -1,39 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// The attendee object. - /// - public class MessageRecipientsResponseJsonAttendee - { - /// - /// Unique identifier for the attendee. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; - - /// - /// True indicates the recipient is active in the channel. - /// - [JsonProperty("active")] - public bool Active { get; set; } = default!; - - /// - /// ISO 8601 formatted timestamp when the attendee left the channel, if applicable. - /// - [JsonProperty("leftChannelAt")] - public DateTime? LeftChannelAt { get; set; } = null; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/NumericAnswerFormat.cs b/packages/csharp/src/Cvent/SDK/Models/Components/NumericAnswerFormat.cs new file mode 100644 index 000000000..a65a823ee --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/NumericAnswerFormat.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; + + /// + /// The answer format that a given number is stored in. + /// + public enum NumericAnswerFormat + { + [JsonProperty("Currency")] Currency, + [JsonProperty("Decimal")] Decimal, + [JsonProperty("Number")] Number, + } + + public static class NumericAnswerFormatExtension + { + public static string Value(this NumericAnswerFormat value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static NumericAnswerFormat ToEnum(this string value) + { + foreach (var field in typeof(NumericAnswerFormat).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 NumericAnswerFormat) + { + return (NumericAnswerFormat)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum NumericAnswerFormat"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/NumericAnswerFormatJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/NumericAnswerFormatJson.cs deleted file mode 100644 index 342f1bb86..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/NumericAnswerFormatJson.cs +++ /dev/null @@ -1,58 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// The answer format that a given number is stored in. - /// - public enum NumericAnswerFormatJson - { - [JsonProperty("Currency")] Currency, - [JsonProperty("Decimal")] Decimal, - [JsonProperty("Number")] Number, - } - - public static class NumericAnswerFormatJsonExtension - { - public static string Value(this NumericAnswerFormatJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static NumericAnswerFormatJson ToEnum(this string value) - { - foreach (var field in typeof(NumericAnswerFormatJson).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 NumericAnswerFormatJson) - { - return (NumericAnswerFormatJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum NumericAnswerFormatJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/OfferingCostType1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/OfferingCostType1.cs new file mode 100644 index 000000000..1e117c17a --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/OfferingCostType1.cs @@ -0,0 +1,117 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Cost type associated with organizing and hosting events and meetings. + /// + public enum OfferingCostType1 + { + [JsonProperty("AIRPORT_TRANSPORTATION")] AirportTransportation, + [JsonProperty("AIR_CONDITIONING_HEATING")] AirConditioningHeating, + [JsonProperty("AUDIO_PATCH")] AudioPatch, + [JsonProperty("AV_EQUIPMENT")] AvEquipment, + [JsonProperty("BELLMAN_DELIVERY")] BellmanDelivery, + [JsonProperty("BREAKFAST_BUFFET")] BreakfastBuffet, + [JsonProperty("BREAKFAST_CONTINENTAL")] BreakfastContinental, + [JsonProperty("BREAKFAST_PLATED")] BreakfastPlated, + [JsonProperty("BREAKOUT_LARGE")] BreakoutLarge, + [JsonProperty("BREAKOUT_MEDIUM")] BreakoutMedium, + [JsonProperty("BREAKOUT_SMALL")] BreakoutSmall, + [JsonProperty("BREAKOUT_TOTAL")] BreakoutTotal, + [JsonProperty("BREAK_AM")] BreakAm, + [JsonProperty("BREAK_DRINKS_ONLY")] BreakDrinksOnly, + [JsonProperty("BREAK_PM")] BreakPm, + [JsonProperty("BREAK_SNACKS_AND_DRINKS")] BreakSnacksAndDrinks, + [JsonProperty("BUILDING_OVERTIME")] BuildingOvertime, + [JsonProperty("BUSINESS_CENTER")] BusinessCenter, + [JsonProperty("CMP")] Cmp, + [JsonProperty("CONFERENCE_CONCIERGE")] ConferenceConcierge, + [JsonProperty("CONFERENCE_PLANNING_MANAGER")] ConferencePlanningManager, + [JsonProperty("DDR_FULL_DAY")] DdrFullDay, + [JsonProperty("DDR_HALF_DAY")] DdrHalfDay, + [JsonProperty("DINNER_BUFFET")] DinnerBuffet, + [JsonProperty("DINNER_PLATED")] DinnerPlated, + [JsonProperty("EXHIBIT_SPACE")] ExhibitSpace, + [JsonProperty("FACILITY_FEE")] FacilityFee, + [JsonProperty("FITNESS_CENTER")] FitnessCenter, + [JsonProperty("GALLON_COFFEE")] GallonCoffee, + [JsonProperty("GENERAL_SESSION")] GeneralSession, + [JsonProperty("HOUSEKEEPING")] Housekeeping, + [JsonProperty("INTERNET_GUEST_ROOM")] InternetGuestRoom, + [JsonProperty("INTERNET_MEETING_ROOM")] InternetMeetingRoom, + [JsonProperty("LABOR")] Labor, + [JsonProperty("LIGHTING")] Lighting, + [JsonProperty("LOCAL_TRANSPORTATION")] LocalTransportation, + [JsonProperty("LUNCH_BOXED")] LunchBoxed, + [JsonProperty("LUNCH_BUFFET")] LunchBuffet, + [JsonProperty("LUNCH_PLATED")] LunchPlated, + [JsonProperty("MEETING_ROOMS_TOTAL")] MeetingRoomsTotal, + [JsonProperty("NONE")] None, + [JsonProperty("OFFICE")] Office, + [JsonProperty("OTHER_FB")] OtherFb, + [JsonProperty("OTHER_MISC")] OtherMisc, + [JsonProperty("OTHER_RENTAL")] OtherRental, + [JsonProperty("OTHER_TRANSPORTATION")] OtherTransportation, + [JsonProperty("PARKING_FEE_SELF")] ParkingFeeSelf, + [JsonProperty("PARKING_FEE_VALET")] ParkingFeeValet, + [JsonProperty("POWER_DROP")] PowerDrop, + [JsonProperty("RECEPTION_BEVERAGE")] ReceptionBeverage, + [JsonProperty("RECEPTION_FOOD")] ReceptionFood, + [JsonProperty("RECEPTION_HEAVY_HORS_D_OEUVRES")] ReceptionHeavyHorsDOeuvres, + [JsonProperty("RECEPTION_LIGHT_APPETIZERS")] ReceptionLightAppetizers, + [JsonProperty("RESORT_FEE")] ResortFee, + [JsonProperty("ROOM_DROP")] RoomDrop, + [JsonProperty("SERVICE_CHARGES")] ServiceCharges, + [JsonProperty("SETUP")] Setup, + [JsonProperty("SHIPPING_RECEIVING")] ShippingReceiving, + [JsonProperty("GUEST_ROOMS")] GuestRooms, + [JsonProperty("STORAGE")] Storage, + [JsonProperty("TEARDOWN")] Teardown, + [JsonProperty("TOTAL_FB_MINIMUM")] TotalFbMinimum, + } + + public static class OfferingCostType1Extension + { + public static string Value(this OfferingCostType1 value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static OfferingCostType1 ToEnum(this string value) + { + foreach (var field in typeof(OfferingCostType1).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 OfferingCostType1) + { + return (OfferingCostType1)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum OfferingCostType1"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/OfferingCostTypeJson0.cs b/packages/csharp/src/Cvent/SDK/Models/Components/OfferingCostTypeJson0.cs deleted file mode 100644 index 0cbe400d5..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/OfferingCostTypeJson0.cs +++ /dev/null @@ -1,117 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Cost type associated with organizing and hosting events and meetings. - /// - public enum OfferingCostTypeJson0 - { - [JsonProperty("AIRPORT_TRANSPORTATION")] AirportTransportation, - [JsonProperty("AIR_CONDITIONING_HEATING")] AirConditioningHeating, - [JsonProperty("AUDIO_PATCH")] AudioPatch, - [JsonProperty("AV_EQUIPMENT")] AvEquipment, - [JsonProperty("BELLMAN_DELIVERY")] BellmanDelivery, - [JsonProperty("BREAKFAST_BUFFET")] BreakfastBuffet, - [JsonProperty("BREAKFAST_CONTINENTAL")] BreakfastContinental, - [JsonProperty("BREAKFAST_PLATED")] BreakfastPlated, - [JsonProperty("BREAKOUT_LARGE")] BreakoutLarge, - [JsonProperty("BREAKOUT_MEDIUM")] BreakoutMedium, - [JsonProperty("BREAKOUT_SMALL")] BreakoutSmall, - [JsonProperty("BREAKOUT_TOTAL")] BreakoutTotal, - [JsonProperty("BREAK_AM")] BreakAm, - [JsonProperty("BREAK_DRINKS_ONLY")] BreakDrinksOnly, - [JsonProperty("BREAK_PM")] BreakPm, - [JsonProperty("BREAK_SNACKS_AND_DRINKS")] BreakSnacksAndDrinks, - [JsonProperty("BUILDING_OVERTIME")] BuildingOvertime, - [JsonProperty("BUSINESS_CENTER")] BusinessCenter, - [JsonProperty("CMP")] Cmp, - [JsonProperty("CONFERENCE_CONCIERGE")] ConferenceConcierge, - [JsonProperty("CONFERENCE_PLANNING_MANAGER")] ConferencePlanningManager, - [JsonProperty("DDR_FULL_DAY")] DdrFullDay, - [JsonProperty("DDR_HALF_DAY")] DdrHalfDay, - [JsonProperty("DINNER_BUFFET")] DinnerBuffet, - [JsonProperty("DINNER_PLATED")] DinnerPlated, - [JsonProperty("EXHIBIT_SPACE")] ExhibitSpace, - [JsonProperty("FACILITY_FEE")] FacilityFee, - [JsonProperty("FITNESS_CENTER")] FitnessCenter, - [JsonProperty("GALLON_COFFEE")] GallonCoffee, - [JsonProperty("GENERAL_SESSION")] GeneralSession, - [JsonProperty("HOUSEKEEPING")] Housekeeping, - [JsonProperty("INTERNET_GUEST_ROOM")] InternetGuestRoom, - [JsonProperty("INTERNET_MEETING_ROOM")] InternetMeetingRoom, - [JsonProperty("LABOR")] Labor, - [JsonProperty("LIGHTING")] Lighting, - [JsonProperty("LOCAL_TRANSPORTATION")] LocalTransportation, - [JsonProperty("LUNCH_BOXED")] LunchBoxed, - [JsonProperty("LUNCH_BUFFET")] LunchBuffet, - [JsonProperty("LUNCH_PLATED")] LunchPlated, - [JsonProperty("MEETING_ROOMS_TOTAL")] MeetingRoomsTotal, - [JsonProperty("NONE")] None, - [JsonProperty("OFFICE")] Office, - [JsonProperty("OTHER_FB")] OtherFb, - [JsonProperty("OTHER_MISC")] OtherMisc, - [JsonProperty("OTHER_RENTAL")] OtherRental, - [JsonProperty("OTHER_TRANSPORTATION")] OtherTransportation, - [JsonProperty("PARKING_FEE_SELF")] ParkingFeeSelf, - [JsonProperty("PARKING_FEE_VALET")] ParkingFeeValet, - [JsonProperty("POWER_DROP")] PowerDrop, - [JsonProperty("RECEPTION_BEVERAGE")] ReceptionBeverage, - [JsonProperty("RECEPTION_FOOD")] ReceptionFood, - [JsonProperty("RECEPTION_HEAVY_HORS_D_OEUVRES")] ReceptionHeavyHorsDOeuvres, - [JsonProperty("RECEPTION_LIGHT_APPETIZERS")] ReceptionLightAppetizers, - [JsonProperty("RESORT_FEE")] ResortFee, - [JsonProperty("ROOM_DROP")] RoomDrop, - [JsonProperty("SERVICE_CHARGES")] ServiceCharges, - [JsonProperty("SETUP")] Setup, - [JsonProperty("SHIPPING_RECEIVING")] ShippingReceiving, - [JsonProperty("GUEST_ROOMS")] GuestRooms, - [JsonProperty("STORAGE")] Storage, - [JsonProperty("TEARDOWN")] Teardown, - [JsonProperty("TOTAL_FB_MINIMUM")] TotalFbMinimum, - } - - public static class OfferingCostTypeJson0Extension - { - public static string Value(this OfferingCostTypeJson0 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static OfferingCostTypeJson0 ToEnum(this string value) - { - foreach (var field in typeof(OfferingCostTypeJson0).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 OfferingCostTypeJson0) - { - return (OfferingCostTypeJson0)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum OfferingCostTypeJson0"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/One.cs b/packages/csharp/src/Cvent/SDK/Models/Components/One.cs new file mode 100644 index 000000000..153f35447 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/One.cs @@ -0,0 +1,52 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// This is used to denote the open ended date time type of custom field. + /// + public class One + { + /// + /// The ISO 8601 zoned minimum date time accepted. + /// + [JsonProperty("from")] + public DateTime? From { get; set; } + + /// + /// The ISO 8601 zoned maximum date time accepted. + /// + [JsonProperty("to")] + public DateTime? To { get; set; } + + /// + /// This is used to denote the display format type of date time type custom field. + /// + [JsonProperty("format")] + public DateTimeDisplayFormatJson? Format { get; set; } + + /// + /// Whether it needs to be pre populated with current date. + /// + [JsonProperty("defaultToCurrentDate")] + public bool? DefaultToCurrentDate { get; set; } + + /// + /// True means that a pop-up calendar will be displayed to assist date selection on UI. + /// + [JsonProperty("displayPopUpCalendar")] + public bool? DisplayPopUpCalendar { get; set; } = false; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/OneAllOf.cs b/packages/csharp/src/Cvent/SDK/Models/Components/OneAllOf.cs deleted file mode 100644 index 902664181..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/OneAllOf.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// Represents a link to a related resource. - /// - public class OneAllOf - { - /// - /// A url provided that can be followed for linking. - /// - [JsonProperty("href")] - public string Href { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/OneOneOf.cs b/packages/csharp/src/Cvent/SDK/Models/Components/OneOneOf.cs deleted file mode 100644 index e7e5bf10e..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/OneOneOf.cs +++ /dev/null @@ -1,52 +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; - using System; - - /// - /// This is used to denote the open ended date time type of custom field. - /// - public class OneOneOf - { - /// - /// The ISO 8601 zoned minimum date time accepted. - /// - [JsonProperty("from")] - public DateTime? From { get; set; } - - /// - /// The ISO 8601 zoned maximum date time accepted. - /// - [JsonProperty("to")] - public DateTime? To { get; set; } - - /// - /// This is used to denote the display format type of date time type custom field. - /// - [JsonProperty("format")] - public DateTimeDisplayFormatJson? Format { get; set; } - - /// - /// Whether it needs to be pre populated with current date. - /// - [JsonProperty("defaultToCurrentDate")] - public bool? DefaultToCurrentDate { get; set; } - - /// - /// True means that a pop-up calendar will be displayed to assist date selection on UI. - /// - [JsonProperty("displayPopUpCalendar")] - public bool? DisplayPopUpCalendar { get; set; } = false; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/OptOutJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/OptOutJson.cs deleted file mode 100644 index e132e58a0..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/OptOutJson.cs +++ /dev/null @@ -1,40 +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; - using System; - - /// - /// Details of an opt-out for a Contact. - /// - public class OptOutJson - { - /// - /// Used to denote if a contact has opted-out of receiving system generated emails. - /// - [JsonProperty("optedOut")] - public bool? OptedOut { get; set; } = false; - - /// - /// The ISO 8601 zoned date time when this contact was opted-out. This value can change if the contact opts out multiple times. - /// - [JsonProperty("date")] - public DateTime? Date { get; set; } - - /// - /// This is used to denote how a contact is opt'd out of Cvent system. - /// - [JsonProperty("by")] - public OptoutByJson? By { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/OptOutJsonInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/OptOutJsonInput.cs deleted file mode 100644 index 0cc91cfff..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/OptOutJsonInput.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// Details of an opt-out for a Contact. - /// - public class OptOutJsonInput - { - /// - /// Used to denote if a contact has opted-out of receiving system generated emails. - /// - [JsonProperty("optedOut")] - public bool? OptedOut { get; set; } = false; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/OptoutBy.cs b/packages/csharp/src/Cvent/SDK/Models/Components/OptoutBy.cs new file mode 100644 index 000000000..ecdf98552 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/OptoutBy.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; + + /// + /// This is used to denote how a contact is opt'd out of Cvent system. + /// + public enum OptoutBy + { + [JsonProperty("Abuse Complaint")] AbuseComplaint, + [JsonProperty("Account User")] AccountUser, + [JsonProperty("API")] Api, + [JsonProperty("Contact Self Opt-Out")] ContactSelfOptOut, + [JsonProperty("Cvent Support")] CventSupport, + [JsonProperty("Hard Bounce")] HardBounce, + [JsonProperty("Import")] Import, + [JsonProperty("Invitee Self Unsubscribe")] InviteeSelfUnsubscribe, + [JsonProperty("Multiple Bounce")] MultipleBounce, + [JsonProperty("Respondent Self Unsubscribe")] RespondentSelfUnsubscribe, + [JsonProperty("Temporary Block")] TemporaryBlock, + [JsonProperty("Cvent Salesforce App")] CventSalesforceApp, + } + + public static class OptoutByExtension + { + public static string Value(this OptoutBy value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static OptoutBy ToEnum(this string value) + { + foreach (var field in typeof(OptoutBy).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 OptoutBy) + { + return (OptoutBy)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum OptoutBy"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/OrderDetail.cs b/packages/csharp/src/Cvent/SDK/Models/Components/OrderDetail.cs index 2d70ec4c7..cedfb177a 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/OrderDetail.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/OrderDetail.cs @@ -60,7 +60,7 @@ public class OrderDetail /// The reference to the attendee. Contains only the ID of the attendee. /// [JsonProperty("attendee")] - public Attendee2? Attendee { get; set; } + public Attendee? Attendee { get; set; } /// /// Order number for this order. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/OrderItemResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/OrderItemResponse.cs index c534e0fb2..ffce94a90 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/OrderItemResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/OrderItemResponse.cs @@ -66,7 +66,7 @@ public class OrderItemResponse /// The reference to the attendee. Contains only the ID of the attendee. /// [JsonProperty("attendee")] - public Attendee2? Attendee { get; set; } + public Attendee? Attendee { get; set; } /// /// Indicates if an attendee is a guest. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Organization.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Organization.cs new file mode 100644 index 000000000..2990db3bf --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Organization.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Organization details. + /// + public class Organization + { + /// + /// Unique identifier for the organization. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/OrganizationJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/OrganizationJson.cs deleted file mode 100644 index dfc2a8b9b..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/OrganizationJson.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// Organization details. - /// - public class OrganizationJson - { - /// - /// Unique identifier for the organization. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/OrganizationType1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/OrganizationType1.cs new file mode 100644 index 000000000..3c99aa71f --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/OrganizationType1.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; + + /// + /// Organization type. + /// + public enum OrganizationType1 + { + [JsonProperty("CORPORATE")] Corporate, + [JsonProperty("ASSOCIATION")] Association, + [JsonProperty("EDUCATION")] Education, + [JsonProperty("GOVERNMENT")] Government, + [JsonProperty("SOCIAL_LEISURE")] SocialLeisure, + [JsonProperty("RELIGIOUS")] Religious, + [JsonProperty("MILITARY")] Military, + [JsonProperty("OTHER")] Other, + [JsonProperty("NON_PROFIT")] NonProfit, + } + + public static class OrganizationType1Extension + { + public static string Value(this OrganizationType1 value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static OrganizationType1 ToEnum(this string value) + { + foreach (var field in typeof(OrganizationType1).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 OrganizationType1) + { + return (OrganizationType1)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum OrganizationType1"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/OrganizationTypeJson0.cs b/packages/csharp/src/Cvent/SDK/Models/Components/OrganizationTypeJson0.cs deleted file mode 100644 index 119c07fab..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/OrganizationTypeJson0.cs +++ /dev/null @@ -1,64 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Organization type. - /// - public enum OrganizationTypeJson0 - { - [JsonProperty("CORPORATE")] Corporate, - [JsonProperty("ASSOCIATION")] Association, - [JsonProperty("EDUCATION")] Education, - [JsonProperty("GOVERNMENT")] Government, - [JsonProperty("SOCIAL_LEISURE")] SocialLeisure, - [JsonProperty("RELIGIOUS")] Religious, - [JsonProperty("MILITARY")] Military, - [JsonProperty("OTHER")] Other, - [JsonProperty("NON_PROFIT")] NonProfit, - } - - public static class OrganizationTypeJson0Extension - { - public static string Value(this OrganizationTypeJson0 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static OrganizationTypeJson0 ToEnum(this string value) - { - foreach (var field in typeof(OrganizationTypeJson0).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 OrganizationTypeJson0) - { - return (OrganizationTypeJson0)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum OrganizationTypeJson0"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/PackagePricingPreference.cs b/packages/csharp/src/Cvent/SDK/Models/Components/PackagePricingPreference.cs new file mode 100644 index 000000000..e2bdb4db6 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/PackagePricingPreference.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; + + /// + /// 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. + /// + public enum PackagePricingPreference + { + [JsonProperty("NO_PREFERENCE")] NoPreference, + [JsonProperty("OPTIONAL")] Optional, + [JsonProperty("REQUIRED")] Required, + } + + public static class PackagePricingPreferenceExtension + { + public static string Value(this PackagePricingPreference value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static PackagePricingPreference ToEnum(this string value) + { + foreach (var field in typeof(PackagePricingPreference).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 PackagePricingPreference) + { + return (PackagePricingPreference)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum PackagePricingPreference"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/PackagePricingPreferenceJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/PackagePricingPreferenceJson.cs deleted file mode 100644 index 144a70498..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/PackagePricingPreferenceJson.cs +++ /dev/null @@ -1,58 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// 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. - /// - public enum PackagePricingPreferenceJson - { - [JsonProperty("NO_PREFERENCE")] NoPreference, - [JsonProperty("OPTIONAL")] Optional, - [JsonProperty("REQUIRED")] Required, - } - - public static class PackagePricingPreferenceJsonExtension - { - public static string Value(this PackagePricingPreferenceJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static PackagePricingPreferenceJson ToEnum(this string value) - { - foreach (var field in typeof(PackagePricingPreferenceJson).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 PackagePricingPreferenceJson) - { - return (PackagePricingPreferenceJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum PackagePricingPreferenceJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/PaginatedInternalDocuments.cs b/packages/csharp/src/Cvent/SDK/Models/Components/PaginatedInternalDocuments.cs index fc49d92ea..6ece0d10b 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/PaginatedInternalDocuments.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/PaginatedInternalDocuments.cs @@ -23,12 +23,12 @@ public class PaginatedInternalDocuments /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson? Paging { get; set; } + public Paging? Paging { get; set; } /// /// List of internal documents linked to an RFP. /// [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/PaginatedRfpAgendaItems.cs b/packages/csharp/src/Cvent/SDK/Models/Components/PaginatedRfpAgendaItems.cs index 9112dd1a0..ecd4bc62d 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/PaginatedRfpAgendaItems.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/PaginatedRfpAgendaItems.cs @@ -23,12 +23,12 @@ public class PaginatedRfpAgendaItems /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson? Paging { get; set; } + public Paging? Paging { get; set; } /// /// List of agenda items associated with an RFP. /// [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/PaginatedRfpAgendaItemsSchedule.cs b/packages/csharp/src/Cvent/SDK/Models/Components/PaginatedRfpAgendaItemsSchedule.cs index 8385d2135..d7318f4da 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/PaginatedRfpAgendaItemsSchedule.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/PaginatedRfpAgendaItemsSchedule.cs @@ -23,12 +23,12 @@ public class PaginatedRfpAgendaItemsSchedule /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson? Paging { get; set; } + public Paging? Paging { get; set; } /// /// List of agenda items schedule attached to an RFP. /// [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/PaginatedRfpAttachments.cs b/packages/csharp/src/Cvent/SDK/Models/Components/PaginatedRfpAttachments.cs index 926c8fd60..251a489e3 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/PaginatedRfpAttachments.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/PaginatedRfpAttachments.cs @@ -23,12 +23,12 @@ public class PaginatedRfpAttachments /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson Paging { get; set; } = default!; + public Paging Paging { get; set; } = default!; /// /// List of attachments added on an RFP. /// [JsonProperty("data")] - public List Data { get; set; } = default!; + public List Data { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/PaginatedRfpCustomField.cs b/packages/csharp/src/Cvent/SDK/Models/Components/PaginatedRfpCustomField.cs index 974f55d43..4db1ab2fe 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/PaginatedRfpCustomField.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/PaginatedRfpCustomField.cs @@ -23,12 +23,12 @@ public class PaginatedRfpCustomField /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson? Paging { get; set; } + public Paging? Paging { get; set; } /// /// List of RFP custom fields linked to an RFP. /// [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/PaginatedRfpQuestions.cs b/packages/csharp/src/Cvent/SDK/Models/Components/PaginatedRfpQuestions.cs index dfb97f80e..0e57fb838 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/PaginatedRfpQuestions.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/PaginatedRfpQuestions.cs @@ -23,12 +23,12 @@ public class PaginatedRfpQuestions /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson? Paging { get; set; } + public Paging? Paging { get; set; } /// /// List of questions associated to an RFP. /// [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/PaginatedRfpRecipientsHistory.cs b/packages/csharp/src/Cvent/SDK/Models/Components/PaginatedRfpRecipientsHistory.cs index 2b16faa34..44404e87e 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/PaginatedRfpRecipientsHistory.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/PaginatedRfpRecipientsHistory.cs @@ -23,12 +23,12 @@ public class PaginatedRfpRecipientsHistory /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson Paging { get; set; } = default!; + public Paging Paging { get; set; } = default!; /// /// List of RFP recipient logs. /// [JsonProperty("data")] - public List Data { get; set; } = default!; + public List Data { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/PaginatedRfpSuppliers.cs b/packages/csharp/src/Cvent/SDK/Models/Components/PaginatedRfpSuppliers.cs index 3b35d4c7c..fde52c39b 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/PaginatedRfpSuppliers.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/PaginatedRfpSuppliers.cs @@ -23,12 +23,12 @@ public class PaginatedRfpSuppliers /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson Paging { get; set; } = default!; + public Paging Paging { get; set; } = default!; /// /// List of RFP suppliers. /// [JsonProperty("data")] - public List Data { get; set; } = default!; + public List Data { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/PagingJson19.cs b/packages/csharp/src/Cvent/SDK/Models/Components/PagingJson19.cs deleted file mode 100644 index 300d34239..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/PagingJson19.cs +++ /dev/null @@ -1,51 +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; - - /// - /// Represents pagination information for a collection of resources. - /// - public class PagingJson19 - { - /// - /// The pagination token for the next page; if available. You can use this to determine if there is additional data to fetch. - /// - [JsonProperty("nextToken")] - public string? NextToken { get; set; } - - /// - /// The pagination token for the current page. - /// - [JsonProperty("currentToken")] - public string? CurrentToken { get; set; } - - /// - /// The number of records to return on the page not to exceed 200. - /// - [JsonProperty("limit")] - public long? Limit { get; set; } - - /// - /// The total number of records available. - /// - [JsonProperty("totalCount")] - public long? TotalCount { get; set; } - - /// - /// Represents pagination links for navigating between pages of data. - /// - [JsonProperty("_links")] - public PaginationLinksJson Links { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/PagingJson2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/PagingJson2.cs new file mode 100644 index 000000000..fd3944c6b --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/PagingJson2.cs @@ -0,0 +1,51 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Represents pagination information for a collection of resources. + /// + public class PagingJson2 + { + /// + /// The pagination token for the next page; if available. You can use this to determine if there is additional data to fetch. + /// + [JsonProperty("nextToken")] + public string? NextToken { get; set; } + + /// + /// The pagination token for the current page. + /// + [JsonProperty("currentToken")] + public string? CurrentToken { get; set; } + + /// + /// The number of records to return on the page not to exceed 200. + /// + [JsonProperty("limit")] + public long? Limit { get; set; } + + /// + /// The total number of records available. + /// + [JsonProperty("totalCount")] + public long? TotalCount { get; set; } + + /// + /// Represents pagination links for navigating between pages of data. + /// + [JsonProperty("_links")] + public PaginationLinksJson Links { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/PagingNoTotalCountJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/PagingNoTotalCountJson.cs new file mode 100644 index 000000000..9bdbf0781 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/PagingNoTotalCountJson.cs @@ -0,0 +1,51 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Represents pagination information for a collection of resources. + /// + public class PagingNoTotalCountJson + { + /// + /// The pagination token for the previous page, if one exists. You can use this token to navigate to the previous page of data. + /// + [JsonProperty("previousToken")] + public string? PreviousToken { get; set; } + + /// + /// The pagination token for the next page. If this value is present in the response, there is another page of data you can fetch. + /// + [JsonProperty("nextToken")] + public string? NextToken { get; set; } + + /// + /// The pagination token for the current page. + /// + [JsonProperty("currentToken")] + public string? CurrentToken { get; set; } + + /// + /// The number of records to return on the page. Not to exceed 200. + /// + [JsonProperty("limit")] + public long? Limit { get; set; } + + /// + /// Represents pagination links for navigating between pages of data. + /// + [JsonProperty("_links")] + public PaginationLinksJson Links { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/PagingNoTotalCountJson2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/PagingNoTotalCountJson2.cs deleted file mode 100644 index 66fd56084..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/PagingNoTotalCountJson2.cs +++ /dev/null @@ -1,51 +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; - - /// - /// Represents pagination information for a collection of resources. - /// - public class PagingNoTotalCountJson2 - { - /// - /// The pagination token for the previous page, if one exists. You can use this token to navigate to the previous page of data. - /// - [JsonProperty("previousToken")] - public string? PreviousToken { get; set; } - - /// - /// The pagination token for the next page. If this value is present in the response, there is another page of data you can fetch. - /// - [JsonProperty("nextToken")] - public string? NextToken { get; set; } - - /// - /// The pagination token for the current page. - /// - [JsonProperty("currentToken")] - public string? CurrentToken { get; set; } - - /// - /// The number of records to return on the page. Not to exceed 200. - /// - [JsonProperty("limit")] - public long? Limit { get; set; } - - /// - /// Represents pagination links for navigating between pages of data. - /// - [JsonProperty("_links")] - public PaginationLinksJson Links { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Passport.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Passport.cs new file mode 100644 index 000000000..90bfc7296 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Passport.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.Utils; + using Newtonsoft.Json; + + /// + /// This entity represents a contact's passport information. + /// + public class Passport + { + /// + /// The passport number of the contact.
+ ///
+ /// Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. + ///
+ [JsonProperty("number")] + public string? Number { get; set; } + + /// + /// The passport country of the contact. + /// + [JsonProperty("country")] + public string? Country { get; set; } + + /// + /// The passport country code of the contact. + /// + [JsonProperty("countryCode")] + public string? CountryCode { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/PassportInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/PassportInput.cs new file mode 100644 index 000000000..66a64a6d8 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/PassportInput.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.Utils; + using Newtonsoft.Json; + + /// + /// This entity represents a contact's passport information. + /// + public class PassportInput + { + /// + /// The passport number of the contact.
+ ///
+ /// Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. + ///
+ [JsonProperty("number")] + public string? Number { get; set; } + + /// + /// The passport country code of the contact. + /// + [JsonProperty("countryCode")] + public string? CountryCode { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/PassportJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/PassportJson.cs deleted file mode 100644 index e692cb543..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/PassportJson.cs +++ /dev/null @@ -1,40 +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.Utils; - using Newtonsoft.Json; - - /// - /// This entity represents a contact's passport information. - /// - public class PassportJson - { - /// - /// The passport number of the contact.
- ///
- /// Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. - ///
- [JsonProperty("number")] - public string? Number { get; set; } - - /// - /// The passport country of the contact. - /// - [JsonProperty("country")] - public string? Country { get; set; } - - /// - /// The passport country code of the contact. - /// - [JsonProperty("countryCode")] - public string? CountryCode { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/PassportJsonInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/PassportJsonInput.cs deleted file mode 100644 index 3a86d0ad3..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/PassportJsonInput.cs +++ /dev/null @@ -1,34 +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.Utils; - using Newtonsoft.Json; - - /// - /// This entity represents a contact's passport information. - /// - public class PassportJsonInput - { - /// - /// The passport number of the contact.
- ///
- /// Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. - ///
- [JsonProperty("number")] - public string? Number { get; set; } - - /// - /// The passport country code of the contact. - /// - [JsonProperty("countryCode")] - public string? CountryCode { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/PaymentInfoJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/PaymentInfoJson.cs index 09919dc80..dc0ddd416 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/PaymentInfoJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/PaymentInfoJson.cs @@ -34,7 +34,7 @@ public class PaymentInfoJson /// Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. /// [JsonProperty("address")] - public AddressJson2? Address { get; set; } + public AddressJson? Address { get; set; } /// /// Phone number. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/PlannerJson2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/PlannerJson2.cs index dab8c6723..cb6f0609b 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/PlannerJson2.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/PlannerJson2.cs @@ -166,7 +166,7 @@ public class PlannerJson2 /// [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] [JsonProperty("customFields")] - public List? CustomFields { get; set; } + public List? CustomFields { get; set; } /// /// This is an ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/PolicyValueType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/PolicyValueType.cs new file mode 100644 index 000000000..5627794c9 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/PolicyValueType.cs @@ -0,0 +1,62 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Value type of the policy. + /// + public enum PolicyValueType + { + [JsonProperty("selection_list")] SelectionList, + [JsonProperty("integer")] Integer, + [JsonProperty("money")] Money, + [JsonProperty("percent")] Percent, + [JsonProperty("multi_select")] MultiSelect, + [JsonProperty("text_multi_line")] TextMultiLine, + [JsonProperty("percent_or_money")] PercentOrMoney, + } + + public static class PolicyValueTypeExtension + { + public static string Value(this PolicyValueType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static PolicyValueType ToEnum(this string value) + { + foreach (var field in typeof(PolicyValueType).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 PolicyValueType) + { + return (PolicyValueType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum PolicyValueType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/PolicyValueTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/PolicyValueTypeJson.cs deleted file mode 100644 index b5a27dc64..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/PolicyValueTypeJson.cs +++ /dev/null @@ -1,62 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Value type of the policy. - /// - public enum PolicyValueTypeJson - { - [JsonProperty("selection_list")] SelectionList, - [JsonProperty("integer")] Integer, - [JsonProperty("money")] Money, - [JsonProperty("percent")] Percent, - [JsonProperty("multi_select")] MultiSelect, - [JsonProperty("text_multi_line")] TextMultiLine, - [JsonProperty("percent_or_money")] PercentOrMoney, - } - - public static class PolicyValueTypeJsonExtension - { - public static string Value(this PolicyValueTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static PolicyValueTypeJson ToEnum(this string value) - { - foreach (var field in typeof(PolicyValueTypeJson).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 PolicyValueTypeJson) - { - return (PolicyValueTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum PolicyValueTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ProgramItemLite.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ProgramItemLite.cs new file mode 100644 index 000000000..2a66e0301 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ProgramItemLite.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The unique identifier of a program item. + /// + public class ProgramItemLite + { + /// + /// The unique identifier for a program item. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ProgramItemLiteJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ProgramItemLiteJson.cs deleted file mode 100644 index 09bd2e9d1..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ProgramItemLiteJson.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// The unique identifier of a program item. - /// - public class ProgramItemLiteJson - { - /// - /// The unique identifier for a program item. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ProgramItemSpeakerPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ProgramItemSpeakerPaginatedResponse.cs index 7e6c9d668..749b86391 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ProgramItemSpeakerPaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ProgramItemSpeakerPaginatedResponse.cs @@ -23,7 +23,7 @@ public class ProgramItemSpeakerPaginatedResponse /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson Paging { get; set; } = default!; + public Paging Paging { get; set; } = default!; /// /// Collection of program item speakers. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Property.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Property.cs index e9a6311d9..ed20dd466 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Property.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Property.cs @@ -90,7 +90,7 @@ public class Property /// A physical address. /// [JsonProperty("address")] - public AddressJson3? Address { get; set; } + public AddressJson1? Address { get; set; } /// /// Collection of external codes for a property. This includes GDS nd other codes used to identify a property in external systems. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/PropertyRoom.cs b/packages/csharp/src/Cvent/SDK/Models/Components/PropertyRoom.cs index 7819714f6..faf2a609c 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/PropertyRoom.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/PropertyRoom.cs @@ -78,7 +78,7 @@ public class PropertyRoom /// Code representing the bed type. /// [JsonProperty("bedTypeCode")] - public RoomBedTypeJson1? BedTypeCode { get; set; } + public RoomBedTypeJson? BedTypeCode { get; set; } /// /// The number of beds in the room. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ProposalDateJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ProposalDateJson.cs index 5b1196c16..5b6996c5c 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ProposalDateJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ProposalDateJson.cs @@ -23,7 +23,7 @@ public class ProposalDateJson /// The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). /// [JsonProperty("dateType")] - public DateTypeJson1? DateType { get; set; } = Cvent.SDK.Models.Components.DateTypeJson1.Preferred; + public DateTypeJson? DateType { get; set; } = Cvent.SDK.Models.Components.DateTypeJson.Preferred; /// /// The start date of the event. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ProposalRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ProposalRequest.cs index 1bf3cf89a..c48e804ac 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ProposalRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ProposalRequest.cs @@ -73,7 +73,7 @@ public class ProposalRequest /// The ISO 4217 standard format currency code used for RFPs. /// [JsonProperty("currencyCode")] - public CurrencyJson1? CurrencyCode { get; set; } + public CurrencyJson2? CurrencyCode { get; set; } /// /// True indicates this is a commissionable bid. @@ -134,13 +134,13 @@ public class ProposalRequest /// List of all contacts. /// [JsonProperty("contacts")] - public List? Contacts { get; set; } + public List? Contacts { get; set; } /// /// List of all planner contacts. /// [JsonProperty("plannerContacts")] - public List? PlannerContacts { get; set; } + public List? PlannerContacts { get; set; } /// /// The meeting room. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ProposalResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ProposalResponse.cs index 7fab716e3..bfd6ade0d 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ProposalResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ProposalResponse.cs @@ -97,7 +97,7 @@ public class ProposalResponse /// The ISO 4217 standard format currency code used for RFPs. /// [JsonProperty("currencyCode")] - public CurrencyJson1? CurrencyCode { get; set; } + public CurrencyJson2? CurrencyCode { get; set; } /// /// True indicates this is a commissionable bid. @@ -158,13 +158,13 @@ public class ProposalResponse /// List of all contacts. /// [JsonProperty("contacts")] - public List? Contacts { get; set; } + public List? Contacts { get; set; } /// /// List of all planner contacts. /// [JsonProperty("plannerContacts")] - public List? PlannerContacts { get; set; } + public List? PlannerContacts { get; set; } /// /// The meeting room. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ProposalStatusType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ProposalStatusType.cs new file mode 100644 index 000000000..908c65b96 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ProposalStatusType.cs @@ -0,0 +1,68 @@ +//------------------------------------------------------------------------------ +// +// 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 status of the proposal. + /// + public enum ProposalStatusType + { + [JsonProperty("participation_requested")] ParticipationRequested, + [JsonProperty("new")] New, + [JsonProperty("active")] Active, + [JsonProperty("submitted")] Submitted, + [JsonProperty("declined_participation")] DeclinedParticipation, + [JsonProperty("verified")] Verified, + [JsonProperty("approved")] Approved, + [JsonProperty("account_accepted")] AccountAccepted, + [JsonProperty("account_rejected")] AccountRejected, + [JsonProperty("internal_rejected")] InternalRejected, + [JsonProperty("request_renegotiation")] RequestRenegotiation, + [JsonProperty("decline_renegotiation")] DeclineRenegotiation, + [JsonProperty("deleted")] Deleted, + } + + public static class ProposalStatusTypeExtension + { + public static string Value(this ProposalStatusType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static ProposalStatusType ToEnum(this string value) + { + foreach (var field in typeof(ProposalStatusType).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 ProposalStatusType) + { + return (ProposalStatusType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum ProposalStatusType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ProposalStatusTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ProposalStatusTypeJson.cs deleted file mode 100644 index b5b61aaa8..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ProposalStatusTypeJson.cs +++ /dev/null @@ -1,68 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// The status of the proposal. - /// - public enum ProposalStatusTypeJson - { - [JsonProperty("participation_requested")] ParticipationRequested, - [JsonProperty("new")] New, - [JsonProperty("active")] Active, - [JsonProperty("submitted")] Submitted, - [JsonProperty("declined_participation")] DeclinedParticipation, - [JsonProperty("verified")] Verified, - [JsonProperty("approved")] Approved, - [JsonProperty("account_accepted")] AccountAccepted, - [JsonProperty("account_rejected")] AccountRejected, - [JsonProperty("internal_rejected")] InternalRejected, - [JsonProperty("request_renegotiation")] RequestRenegotiation, - [JsonProperty("decline_renegotiation")] DeclineRenegotiation, - [JsonProperty("deleted")] Deleted, - } - - public static class ProposalStatusTypeJsonExtension - { - public static string Value(this ProposalStatusTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static ProposalStatusTypeJson ToEnum(this string value) - { - foreach (var field in typeof(ProposalStatusTypeJson).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 ProposalStatusTypeJson) - { - return (ProposalStatusTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum ProposalStatusTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ProximityJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ProximityJson.cs index e15192477..8cab937fb 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ProximityJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ProximityJson.cs @@ -22,7 +22,7 @@ public class ProximityJson /// Distance information. /// [JsonProperty("distance")] - public DistanceJson1? Distance { get; set; } + public DistanceJson? Distance { get; set; } /// /// Message shown on map. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Question.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Question.cs index 909b71d43..1ecdcca3a 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Question.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Question.cs @@ -66,19 +66,19 @@ public class Question /// 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 QuestionResponseTypeJson? ResponseType { get; set; } + public QuestionResponseType? ResponseType { get; set; } /// /// Code representing the expected data type of the question response. /// [JsonProperty("responseDataType")] - public QuestionResponseDataTypeJson? ResponseDataType { get; set; } + public QuestionResponseDataType? ResponseDataType { get; set; } /// /// Code representing the format the text of the response will be in. /// [JsonProperty("responseFormat")] - public QuestionResponseFormatJson? ResponseFormat { get; set; } + public QuestionResponseFormat? ResponseFormat { get; set; } /// /// A list of options for the question. This only applies when responseType is 'choice' diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionClassificationType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionClassificationType.cs new file mode 100644 index 000000000..a4a06c637 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionClassificationType.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; + + /// + /// 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. + /// + public enum QuestionClassificationType + { + [JsonProperty("MEETING_ROOM")] MeetingRoom, + [JsonProperty("GUEST_ROOM")] GuestRoom, + [JsonProperty("ALL_RFPS")] AllRfps, + } + + public static class QuestionClassificationTypeExtension + { + public static string Value(this QuestionClassificationType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static QuestionClassificationType ToEnum(this string value) + { + foreach (var field in typeof(QuestionClassificationType).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 QuestionClassificationType) + { + return (QuestionClassificationType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum QuestionClassificationType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionClassificationTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionClassificationTypeJson.cs deleted file mode 100644 index 1ffdf704e..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionClassificationTypeJson.cs +++ /dev/null @@ -1,58 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// 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. - /// - public enum QuestionClassificationTypeJson - { - [JsonProperty("MEETING_ROOM")] MeetingRoom, - [JsonProperty("GUEST_ROOM")] GuestRoom, - [JsonProperty("ALL_RFPS")] AllRfps, - } - - public static class QuestionClassificationTypeJsonExtension - { - public static string Value(this QuestionClassificationTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static QuestionClassificationTypeJson ToEnum(this string value) - { - foreach (var field in typeof(QuestionClassificationTypeJson).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 QuestionClassificationTypeJson) - { - return (QuestionClassificationTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum QuestionClassificationTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionJson.cs new file mode 100644 index 000000000..488cee8dd --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionJson.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Question details. + /// + public class QuestionJson + { + /// + /// The question ID. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + + /// + /// The question text. + /// + [JsonProperty("text")] + public string? Text { get; set; } + + /// + /// The status of the question. + /// + [JsonProperty("status")] + public string? Status { get; set; } + + /// + /// Whether question is asked anonymously. + /// + [JsonProperty("anonymous")] + public bool? Anonymous { get; set; } + + /// + /// The answer text. + /// + [JsonProperty("answer")] + public string? Answer { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionJson1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionJson1.cs index 56481cc38..30138d893 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionJson1.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionJson1.cs @@ -9,42 +9,147 @@ #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; /// - /// Question details. + /// A survey question. /// public class QuestionJson1 { /// - /// The question ID. + /// 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; } + + /// + /// Text field ID. /// [JsonProperty("id")] - public string Id { get; set; } = default!; + public string? Id { get; set; } /// - /// The question text. + /// text Value of the Field. /// [JsonProperty("text")] public string? Text { get; set; } /// - /// The status of the question. + /// Reporting value of the Category, Its like a custom abbreviation. + /// + [JsonProperty("shortText")] + public string? ShortText { get; set; } + + /// + /// Html of the question. + /// + [JsonProperty("htmlText")] + public string? HtmlText { get; set; } + + /// + /// Question Code. + /// + [JsonProperty("code")] + public string? Code { get; set; } + + /// + /// Question Type. + /// + [JsonProperty("type")] + public QuestionTypeJson1? Type { get; set; } + + /// + /// List of choices for the question. + /// + [JsonProperty("choices")] + public List? Choices { get; set; } + + /// + /// List of categories for the question. + /// + [JsonProperty("categories")] + public List? Categories { get; set; } + + /// + /// List of sub categories for matrix side-by-side questions. + /// + [JsonProperty("subCategories")] + public List? SubCategories { get; set; } + + /// + /// Contains text of additional choice i.e N/A choice or otherAnswer choice. + /// + [JsonProperty("notApplicableAnswer")] + public AdditionalChoiceJson? NotApplicableAnswer { get; set; } + + /// + /// Contains text of additional choice i.e N/A choice or otherAnswer choice. + /// + [JsonProperty("otherAnswer")] + public AdditionalChoiceJson? OtherAnswer { get; set; } + + /// + /// Text Value of Comments Input box placeholder. + /// + [JsonProperty("comments")] + public string? Comments { get; set; } + + /// + /// Is this a mandatory question. + /// + [JsonProperty("required")] + public bool? Required { get; set; } = false; + + /// + /// List of fields for form/matrix questions. + /// + [JsonProperty("fields")] + public List? Fields { get; set; } + + /// + /// Max possible score. + /// + [JsonProperty("maxScore")] + public double? MaxScore { get; set; } + + /// + /// Total configured sum of all choices for number allocation question. /// - [JsonProperty("status")] - public string? Status { get; set; } + [JsonProperty("totalSum")] + public long? TotalSum { get; set; } /// - /// Whether question is asked anonymously. + /// The reference to the related entity. Contains only the ID of the related entity. /// - [JsonProperty("anonymous")] - public bool? Anonymous { get; set; } + [JsonProperty("survey")] + public UuidJson? Survey { get; set; } /// - /// The answer text. + /// The reference to the related entity. Contains only the ID of the related entity. /// - [JsonProperty("answer")] - public string? Answer { get; set; } + [JsonProperty("chapter")] + public UuidJson? Chapter { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionJson2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionJson2.cs index 76f14c88a..a3827ca75 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionJson2.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionJson2.cs @@ -9,147 +9,30 @@ #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 survey question. + /// The question that was answered. /// public class QuestionJson2 { /// - /// 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; } - - /// - /// Text field ID. + /// The unique identifier of the question. /// [JsonProperty("id")] public string? Id { get; set; } /// - /// text Value of the Field. + /// Question text. /// [JsonProperty("text")] public string? Text { get; set; } /// - /// Reporting value of the Category, Its like a custom abbreviation. - /// - [JsonProperty("shortText")] - public string? ShortText { get; set; } - - /// - /// Html of the question. - /// - [JsonProperty("htmlText")] - public string? HtmlText { get; set; } - - /// - /// Question Code. + /// Question code. /// [JsonProperty("code")] public string? Code { get; set; } - - /// - /// Question Type. - /// - [JsonProperty("type")] - public QuestionTypeJson2? Type { get; set; } - - /// - /// List of choices for the question. - /// - [JsonProperty("choices")] - public List? Choices { get; set; } - - /// - /// List of categories for the question. - /// - [JsonProperty("categories")] - public List? Categories { get; set; } - - /// - /// List of sub categories for matrix side-by-side questions. - /// - [JsonProperty("subCategories")] - public List? SubCategories { get; set; } - - /// - /// Contains text of additional choice i.e N/A choice or otherAnswer choice. - /// - [JsonProperty("notApplicableAnswer")] - public AdditionalChoiceJson1? NotApplicableAnswer { get; set; } - - /// - /// Contains text of additional choice i.e N/A choice or otherAnswer choice. - /// - [JsonProperty("otherAnswer")] - public AdditionalChoiceJson1? OtherAnswer { get; set; } - - /// - /// Text Value of Comments Input box placeholder. - /// - [JsonProperty("comments")] - public string? Comments { get; set; } - - /// - /// Is this a mandatory question. - /// - [JsonProperty("required")] - public bool? Required { get; set; } = false; - - /// - /// List of fields for form/matrix questions. - /// - [JsonProperty("fields")] - public List? Fields { get; set; } - - /// - /// Max possible score. - /// - [JsonProperty("maxScore")] - public double? MaxScore { get; set; } - - /// - /// Total configured sum of all choices for number allocation question. - /// - [JsonProperty("totalSum")] - public long? TotalSum { get; set; } - - /// - /// The reference to the related entity. Contains only the ID of the related entity. - /// - [JsonProperty("survey")] - public UuidJson? Survey { get; set; } - - /// - /// The reference to the related entity. Contains only the ID of the related entity. - /// - [JsonProperty("chapter")] - public UuidJson? Chapter { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionJson3.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionJson3.cs deleted file mode 100644 index a02eecef8..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionJson3.cs +++ /dev/null @@ -1,38 +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.Utils; - using Newtonsoft.Json; - - /// - /// The question that was answered. - /// - public class QuestionJson3 - { - /// - /// The unique identifier of the question. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// Question text. - /// - [JsonProperty("text")] - public string? Text { get; set; } - - /// - /// Question code. - /// - [JsonProperty("code")] - public string? Code { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionPaginatedResponse.cs index 443190a5b..93909caca 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionPaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionPaginatedResponse.cs @@ -23,7 +23,7 @@ public class QuestionPaginatedResponse /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson? Paging { get; set; } + public Paging? Paging { get; set; } /// /// Collection of Questions. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponseDataType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponseDataType.cs new file mode 100644 index 000000000..21d5174d6 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponseDataType.cs @@ -0,0 +1,62 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Code representing the expected data type of the question response. + /// + public enum QuestionResponseDataType + { + [JsonProperty("text")] Text, + [JsonProperty("date")] Date, + [JsonProperty("date_time")] DateTime, + [JsonProperty("time")] Time, + [JsonProperty("number")] Number, + [JsonProperty("email")] Email, + [JsonProperty("boolean")] Boolean, + } + + public static class QuestionResponseDataTypeExtension + { + public static string Value(this QuestionResponseDataType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static QuestionResponseDataType ToEnum(this string value) + { + foreach (var field in typeof(QuestionResponseDataType).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 QuestionResponseDataType) + { + return (QuestionResponseDataType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum QuestionResponseDataType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponseDataTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponseDataTypeJson.cs deleted file mode 100644 index af2cb0e0e..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponseDataTypeJson.cs +++ /dev/null @@ -1,62 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Code representing the expected data type of the question response. - /// - public enum QuestionResponseDataTypeJson - { - [JsonProperty("text")] Text, - [JsonProperty("date")] Date, - [JsonProperty("date_time")] DateTime, - [JsonProperty("time")] Time, - [JsonProperty("number")] Number, - [JsonProperty("email")] Email, - [JsonProperty("boolean")] Boolean, - } - - public static class QuestionResponseDataTypeJsonExtension - { - public static string Value(this QuestionResponseDataTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static QuestionResponseDataTypeJson ToEnum(this string value) - { - foreach (var field in typeof(QuestionResponseDataTypeJson).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 QuestionResponseDataTypeJson) - { - return (QuestionResponseDataTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum QuestionResponseDataTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponseFormat.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponseFormat.cs new file mode 100644 index 000000000..1085f7e73 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponseFormat.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; + + /// + /// Code representing the format the text of the response will be in. + /// + public enum QuestionResponseFormat + { + [JsonProperty("lower_case")] LowerCase, + [JsonProperty("proper_case")] ProperCase, + [JsonProperty("upper_case")] UpperCase, + } + + public static class QuestionResponseFormatExtension + { + public static string Value(this QuestionResponseFormat value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static QuestionResponseFormat ToEnum(this string value) + { + foreach (var field in typeof(QuestionResponseFormat).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 QuestionResponseFormat) + { + return (QuestionResponseFormat)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum QuestionResponseFormat"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponseFormatJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponseFormatJson.cs deleted file mode 100644 index 08bb6c992..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponseFormatJson.cs +++ /dev/null @@ -1,58 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Code representing the format the text of the response will be in. - /// - public enum QuestionResponseFormatJson - { - [JsonProperty("lower_case")] LowerCase, - [JsonProperty("proper_case")] ProperCase, - [JsonProperty("upper_case")] UpperCase, - } - - public static class QuestionResponseFormatJsonExtension - { - public static string Value(this QuestionResponseFormatJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static QuestionResponseFormatJson ToEnum(this string value) - { - foreach (var field in typeof(QuestionResponseFormatJson).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 QuestionResponseFormatJson) - { - return (QuestionResponseFormatJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum QuestionResponseFormatJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponseJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponseJson.cs index ab0a3456b..26795a29e 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponseJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponseJson.cs @@ -23,7 +23,7 @@ public class QuestionResponseJson /// The question that was answered. /// [JsonProperty("question")] - public QuestionJson3? Question { get; set; } + public QuestionJson2? Question { get; set; } /// /// List of answers. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponseType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponseType.cs new file mode 100644 index 000000000..76f2098f8 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponseType.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.Utils; + using Newtonsoft.Json; + using System; + + /// + /// 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 enum QuestionResponseType + { + [JsonProperty("single")] Single, + [JsonProperty("choice")] Choice, + } + + public static class QuestionResponseTypeExtension + { + public static string Value(this QuestionResponseType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static QuestionResponseType ToEnum(this string value) + { + foreach (var field in typeof(QuestionResponseType).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 QuestionResponseType) + { + return (QuestionResponseType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum QuestionResponseType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponseTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponseTypeJson.cs deleted file mode 100644 index f22bb1de1..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionResponseTypeJson.cs +++ /dev/null @@ -1,57 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// 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 enum QuestionResponseTypeJson - { - [JsonProperty("single")] Single, - [JsonProperty("choice")] Choice, - } - - public static class QuestionResponseTypeJsonExtension - { - public static string Value(this QuestionResponseTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static QuestionResponseTypeJson ToEnum(this string value) - { - foreach (var field in typeof(QuestionResponseTypeJson).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 QuestionResponseTypeJson) - { - return (QuestionResponseTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum QuestionResponseTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionSection.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionSection.cs new file mode 100644 index 000000000..3b6613959 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionSection.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.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Code representing the section where the question belongs. Currently, program_client (client specific) and program_g_and_m (group and meeting) are supported. + /// + public enum QuestionSection + { + [JsonProperty("program_client")] ProgramClient, + [JsonProperty("program_g_and_m")] ProgramGAndM, + } + + public static class QuestionSectionExtension + { + public static string Value(this QuestionSection value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static QuestionSection ToEnum(this string value) + { + foreach (var field in typeof(QuestionSection).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 QuestionSection) + { + return (QuestionSection)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum QuestionSection"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionSectionJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionSectionJson.cs deleted file mode 100644 index 16dd49079..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionSectionJson.cs +++ /dev/null @@ -1,57 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Code representing the section where the question belongs. Currently, program_client (client specific) and program_g_and_m (group and meeting) are supported. - /// - public enum QuestionSectionJson - { - [JsonProperty("program_client")] ProgramClient, - [JsonProperty("program_g_and_m")] ProgramGAndM, - } - - public static class QuestionSectionJsonExtension - { - public static string Value(this QuestionSectionJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static QuestionSectionJson ToEnum(this string value) - { - foreach (var field in typeof(QuestionSectionJson).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 QuestionSectionJson) - { - return (QuestionSectionJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum QuestionSectionJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionType.cs new file mode 100644 index 000000000..56c8c64af --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionType.cs @@ -0,0 +1,77 @@ +//------------------------------------------------------------------------------ +// +// 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 type of question. See this article for details on each enum. + /// + public enum QuestionType + { + [JsonProperty("CommentBox")] CommentBox, + [JsonProperty("DateTime")] DateTime, + [JsonProperty("FileUpload")] FileUpload, + [JsonProperty("Form")] Form, + [JsonProperty("LargeChoices")] LargeChoices, + [JsonProperty("MatrixMultiChoice")] MatrixMultiChoice, + [JsonProperty("MatrixRating")] MatrixRating, + [JsonProperty("MatrixSideBySide")] MatrixSideBySide, + [JsonProperty("MatrixSingleChoice")] MatrixSingleChoice, + [JsonProperty("MatrixSpreadSheet")] MatrixSpreadSheet, + [JsonProperty("MultiChoice")] MultiChoice, + [JsonProperty("NetPromoter")] NetPromoter, + [JsonProperty("Number")] Number, + [JsonProperty("NumberAllocation")] NumberAllocation, + [JsonProperty("OpenEndedDateTime")] OpenEndedDateTime, + [JsonProperty("OpenEndedNumeric")] OpenEndedNumeric, + [JsonProperty("OpenEndedTextCommentBox")] OpenEndedTextCommentBox, + [JsonProperty("OpenEndedTextOneLine")] OpenEndedTextOneLine, + [JsonProperty("RankOrder")] RankOrder, + [JsonProperty("Rating")] Rating, + [JsonProperty("SingleChoice")] SingleChoice, + [JsonProperty("Text")] Text, + } + + public static class QuestionTypeExtension + { + public static string Value(this QuestionType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static QuestionType ToEnum(this string value) + { + foreach (var field in typeof(QuestionType).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 QuestionType) + { + return (QuestionType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum QuestionType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionTypeJson.cs index 3ec639664..2367b7314 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionTypeJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionTypeJson.cs @@ -14,32 +14,29 @@ namespace Cvent.SDK.Models.Components using System; /// - /// The type of question. See this article for details on each enum. + /// Denotes the type of data collected by a question. /// public enum QuestionTypeJson { - [JsonProperty("CommentBox")] CommentBox, + [JsonProperty("AutoIncrement")] AutoIncrement, + [JsonProperty("BudgetEstimates")] BudgetEstimates, + [JsonProperty("ConsentQuestion")] ConsentQuestion, + [JsonProperty("Country")] Country, + [JsonProperty("Currency")] Currency, + [JsonProperty("Decimal")] Decimal, + [JsonProperty("Date")] Date, [JsonProperty("DateTime")] DateTime, + [JsonProperty("Email")] Email, [JsonProperty("FileUpload")] FileUpload, - [JsonProperty("Form")] Form, - [JsonProperty("LargeChoices")] LargeChoices, - [JsonProperty("MatrixMultiChoice")] MatrixMultiChoice, - [JsonProperty("MatrixRating")] MatrixRating, - [JsonProperty("MatrixSideBySide")] MatrixSideBySide, - [JsonProperty("MatrixSingleChoice")] MatrixSingleChoice, - [JsonProperty("MatrixSpreadSheet")] MatrixSpreadSheet, - [JsonProperty("MultiChoice")] MultiChoice, - [JsonProperty("NetPromoter")] NetPromoter, + [JsonProperty("FreeText")] FreeText, + [JsonProperty("General")] General, [JsonProperty("Number")] Number, - [JsonProperty("NumberAllocation")] NumberAllocation, - [JsonProperty("OpenEndedDateTime")] OpenEndedDateTime, - [JsonProperty("OpenEndedNumeric")] OpenEndedNumeric, - [JsonProperty("OpenEndedTextCommentBox")] OpenEndedTextCommentBox, - [JsonProperty("OpenEndedTextOneLine")] OpenEndedTextOneLine, - [JsonProperty("RankOrder")] RankOrder, - [JsonProperty("Rating")] Rating, - [JsonProperty("SingleChoice")] SingleChoice, - [JsonProperty("Text")] Text, + [JsonProperty("MeetingRoomRequirements")] MeetingRoomRequirements, + [JsonProperty("MultiSelect")] MultiSelect, + [JsonProperty("SingleSelect")] SingleSelect, + [JsonProperty("SleepingRoomRequirements")] SleepingRoomRequirements, + [JsonProperty("USPhoneNumber")] USPhoneNumber, + [JsonProperty("Unknown")] Unknown, } public static class QuestionTypeJsonExtension diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionTypeJson1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionTypeJson1.cs index 0a98eb67a..00a3f5a03 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionTypeJson1.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionTypeJson1.cs @@ -14,29 +14,28 @@ namespace Cvent.SDK.Models.Components using System; /// - /// Denotes the type of data collected by a question. + /// Question Type. /// public enum QuestionTypeJson1 { - [JsonProperty("AutoIncrement")] AutoIncrement, - [JsonProperty("BudgetEstimates")] BudgetEstimates, - [JsonProperty("ConsentQuestion")] ConsentQuestion, - [JsonProperty("Country")] Country, - [JsonProperty("Currency")] Currency, - [JsonProperty("Decimal")] Decimal, - [JsonProperty("Date")] Date, + [JsonProperty("SingleChoice")] SingleChoice, + [JsonProperty("MultiChoice")] MultiChoice, + [JsonProperty("MatrixSingleChoice")] MatrixSingleChoice, + [JsonProperty("MatrixMultiChoice")] MatrixMultiChoice, + [JsonProperty("MatrixSideBySide")] MatrixSideBySide, + [JsonProperty("MatrixSpreadSheet")] MatrixSpreadSheet, [JsonProperty("DateTime")] DateTime, - [JsonProperty("Email")] Email, - [JsonProperty("FileUpload")] FileUpload, - [JsonProperty("FreeText")] FreeText, - [JsonProperty("General")] General, [JsonProperty("Number")] Number, - [JsonProperty("MeetingRoomRequirements")] MeetingRoomRequirements, - [JsonProperty("MultiSelect")] MultiSelect, - [JsonProperty("SingleSelect")] SingleSelect, - [JsonProperty("SleepingRoomRequirements")] SleepingRoomRequirements, - [JsonProperty("USPhoneNumber")] USPhoneNumber, - [JsonProperty("Unknown")] Unknown, + [JsonProperty("Text")] Text, + [JsonProperty("CommentBox")] CommentBox, + [JsonProperty("Form")] Form, + [JsonProperty("RankOrder")] RankOrder, + [JsonProperty("FileUpload")] FileUpload, + [JsonProperty("NetPromoter")] NetPromoter, + [JsonProperty("Rating")] Rating, + [JsonProperty("MatrixRating")] MatrixRating, + [JsonProperty("NumberAllocation")] NumberAllocation, + [JsonProperty("LargeChoices")] LargeChoices, } public static class QuestionTypeJson1Extension diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionTypeJson2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionTypeJson2.cs index cc13c4cef..05212c61b 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionTypeJson2.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionTypeJson2.cs @@ -14,28 +14,19 @@ namespace Cvent.SDK.Models.Components using System; /// - /// Question Type. + /// This object represents the type of a question. /// public enum QuestionTypeJson2 { [JsonProperty("SingleChoice")] SingleChoice, [JsonProperty("MultiChoice")] MultiChoice, - [JsonProperty("MatrixSingleChoice")] MatrixSingleChoice, - [JsonProperty("MatrixMultiChoice")] MatrixMultiChoice, - [JsonProperty("MatrixSideBySide")] MatrixSideBySide, - [JsonProperty("MatrixSpreadSheet")] MatrixSpreadSheet, - [JsonProperty("DateTime")] DateTime, - [JsonProperty("Number")] Number, - [JsonProperty("Text")] Text, - [JsonProperty("CommentBox")] CommentBox, - [JsonProperty("Form")] Form, - [JsonProperty("RankOrder")] RankOrder, + [JsonProperty("OpenEndedDateTime")] OpenEndedDateTime, + [JsonProperty("OpenEndedTextOneLine")] OpenEndedTextOneLine, + [JsonProperty("OpenEndedTextCommentBox")] OpenEndedTextCommentBox, + [JsonProperty("OpenEndedNumeric")] OpenEndedNumeric, [JsonProperty("FileUpload")] FileUpload, - [JsonProperty("NetPromoter")] NetPromoter, - [JsonProperty("Rating")] Rating, - [JsonProperty("MatrixRating")] MatrixRating, - [JsonProperty("NumberAllocation")] NumberAllocation, - [JsonProperty("LargeChoices")] LargeChoices, + [JsonProperty("MatrixSinglePerRow")] MatrixSinglePerRow, + [JsonProperty("MatrixMultiPerRow")] MatrixMultiPerRow, } public static class QuestionTypeJson2Extension diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionTypeJson3.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionTypeJson3.cs deleted file mode 100644 index b85417afe..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionTypeJson3.cs +++ /dev/null @@ -1,64 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// This object represents the type of a question. - /// - public enum QuestionTypeJson3 - { - [JsonProperty("SingleChoice")] SingleChoice, - [JsonProperty("MultiChoice")] MultiChoice, - [JsonProperty("OpenEndedDateTime")] OpenEndedDateTime, - [JsonProperty("OpenEndedTextOneLine")] OpenEndedTextOneLine, - [JsonProperty("OpenEndedTextCommentBox")] OpenEndedTextCommentBox, - [JsonProperty("OpenEndedNumeric")] OpenEndedNumeric, - [JsonProperty("FileUpload")] FileUpload, - [JsonProperty("MatrixSinglePerRow")] MatrixSinglePerRow, - [JsonProperty("MatrixMultiPerRow")] MatrixMultiPerRow, - } - - public static class QuestionTypeJson3Extension - { - public static string Value(this QuestionTypeJson3 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static QuestionTypeJson3 ToEnum(this string value) - { - foreach (var field in typeof(QuestionTypeJson3).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 QuestionTypeJson3) - { - return (QuestionTypeJson3)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum QuestionTypeJson3"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionWithProgramIdJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionWithProgramIdJson.cs deleted file mode 100644 index a64ff89f1..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionWithProgramIdJson.cs +++ /dev/null @@ -1,95 +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; - using System; - using System.Collections.Generic; - - /// - /// A question, defined by the program, for the supplier to answer as part of their proposal. - /// - public class QuestionWithProgramIdJson - { - /// - /// 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 QuestionWithProgramIdJsonTravelProgram? 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 QuestionResponseTypeJson? ResponseType { get; set; } - - /// - /// Code representing the expected data type of the question response. - /// - [JsonProperty("responseDataType")] - public QuestionResponseDataTypeJson? ResponseDataType { get; set; } - - /// - /// Code representing the format the text of the response will be in. - /// - [JsonProperty("responseFormat")] - public QuestionResponseFormatJson? 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/QuestionWithProgramIdJsonTravelProgram.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionWithProgramIdJsonTravelProgram.cs deleted file mode 100644 index b41136f4c..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionWithProgramIdJsonTravelProgram.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// Travel program that the question belongs to. - /// - public class QuestionWithProgramIdJsonTravelProgram - { - /// - /// The unique ID of the travel program. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionsPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionsPaginatedResponse.cs index 5289fd7c1..d38b1484f 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionsPaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionsPaginatedResponse.cs @@ -29,6 +29,6 @@ public class QuestionsPaginatedResponse /// Collection of questions for surveys. /// [JsonProperty("data")] - public List Data { get; set; } = default!; + public List Data { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionsPaginatedResponse1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionsPaginatedResponse1.cs index b5a0ac868..9df8a44d8 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionsPaginatedResponse1.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionsPaginatedResponse1.cs @@ -23,12 +23,12 @@ public class QuestionsPaginatedResponse1 /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson? Paging { get; set; } + public Paging? Paging { get; set; } /// /// 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/RateLevelType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RateLevelType.cs new file mode 100644 index 000000000..20b94c2b2 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RateLevelType.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; + + /// + /// Rate level. + /// + public enum RateLevelType + { + [JsonProperty("corporate")] Corporate, + [JsonProperty("leisure")] Leisure, + [JsonProperty("government")] Government, + } + + public static class RateLevelTypeExtension + { + public static string Value(this RateLevelType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static RateLevelType ToEnum(this string value) + { + foreach (var field in typeof(RateLevelType).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 RateLevelType) + { + return (RateLevelType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum RateLevelType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RateLevelTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RateLevelTypeJson.cs deleted file mode 100644 index 99ed81af1..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RateLevelTypeJson.cs +++ /dev/null @@ -1,58 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Rate level. - /// - public enum RateLevelTypeJson - { - [JsonProperty("corporate")] Corporate, - [JsonProperty("leisure")] Leisure, - [JsonProperty("government")] Government, - } - - public static class RateLevelTypeJsonExtension - { - public static string Value(this RateLevelTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static RateLevelTypeJson ToEnum(this string value) - { - foreach (var field in typeof(RateLevelTypeJson).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 RateLevelTypeJson) - { - return (RateLevelTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum RateLevelTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RateReviewStatusType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RateReviewStatusType.cs new file mode 100644 index 000000000..d06331209 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RateReviewStatusType.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; + + /// + /// The rate review status of the proposal. + /// + public enum RateReviewStatusType + { + [JsonProperty("requested")] Requested, + [JsonProperty("not_required")] NotRequired, + [JsonProperty("approved")] Approved, + [JsonProperty("rejected")] Rejected, + } + + public static class RateReviewStatusTypeExtension + { + public static string Value(this RateReviewStatusType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static RateReviewStatusType ToEnum(this string value) + { + foreach (var field in typeof(RateReviewStatusType).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 RateReviewStatusType) + { + return (RateReviewStatusType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum RateReviewStatusType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RateReviewStatusTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RateReviewStatusTypeJson.cs deleted file mode 100644 index e94f46e78..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RateReviewStatusTypeJson.cs +++ /dev/null @@ -1,59 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// The rate review status of the proposal. - /// - public enum RateReviewStatusTypeJson - { - [JsonProperty("requested")] Requested, - [JsonProperty("not_required")] NotRequired, - [JsonProperty("approved")] Approved, - [JsonProperty("rejected")] Rejected, - } - - public static class RateReviewStatusTypeJsonExtension - { - public static string Value(this RateReviewStatusTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static RateReviewStatusTypeJson ToEnum(this string value) - { - foreach (var field in typeof(RateReviewStatusTypeJson).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 RateReviewStatusTypeJson) - { - return (RateReviewStatusTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum RateReviewStatusTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RateType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RateType.cs new file mode 100644 index 000000000..5fb4b12c9 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RateType.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; + + /// + /// Rate type. + /// + public enum RateType + { + [JsonProperty("fixed")] Fixed, + [JsonProperty("dynamic")] Dynamic, + [JsonProperty("dynamicwithceiling")] Dynamicwithceiling, + } + + public static class RateTypeExtension + { + public static string Value(this RateType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static RateType ToEnum(this string value) + { + foreach (var field in typeof(RateType).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 RateType) + { + return (RateType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum RateType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RateTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RateTypeJson.cs deleted file mode 100644 index d3d487953..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RateTypeJson.cs +++ /dev/null @@ -1,58 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Rate type. - /// - public enum RateTypeJson - { - [JsonProperty("fixed")] Fixed, - [JsonProperty("dynamic")] Dynamic, - [JsonProperty("dynamicwithceiling")] Dynamicwithceiling, - } - - public static class RateTypeJsonExtension - { - public static string Value(this RateTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static RateTypeJson ToEnum(this string value) - { - foreach (var field in typeof(RateTypeJson).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 RateTypeJson) - { - return (RateTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum RateTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RebateType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RebateType.cs new file mode 100644 index 000000000..f37b64adb --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RebateType.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.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will represent a percentage. + /// + public enum RebateType + { + [JsonProperty("BY_AMOUNT")] ByAmount, + [JsonProperty("BY_PERCENTAGE")] ByPercentage, + } + + public static class RebateTypeExtension + { + public static string Value(this RebateType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static RebateType ToEnum(this string value) + { + foreach (var field in typeof(RebateType).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 RebateType) + { + return (RebateType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum RebateType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RebateTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RebateTypeJson.cs deleted file mode 100644 index 5d722cbef..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RebateTypeJson.cs +++ /dev/null @@ -1,57 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will represent a percentage. - /// - public enum RebateTypeJson - { - [JsonProperty("BY_AMOUNT")] ByAmount, - [JsonProperty("BY_PERCENTAGE")] ByPercentage, - } - - public static class RebateTypeJsonExtension - { - public static string Value(this RebateTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static RebateTypeJson ToEnum(this string value) - { - foreach (var field in typeof(RebateTypeJson).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 RebateTypeJson) - { - return (RebateTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum RebateTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RecipientInfo.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RecipientInfo.cs new file mode 100644 index 000000000..ef7d7a405 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RecipientInfo.cs @@ -0,0 +1,39 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Represents the details of the RFP recipient. + /// + public class RecipientInfo + { + /// + /// The position at which this recipient will be displayed. + /// + [JsonProperty("order")] + public long? Order { get; set; } + + /// + /// Type of Recipient. + /// + [JsonProperty("type")] + public RecipientType? Type { get; set; } + + /// + /// If the recipient is ACCOUNT_USER or ACCOUNT_USER_GROUP, this field holds their unique ID. If the recipient is EMAIL, this field holds the email provided by the user. + /// + [JsonProperty("value")] + public string? Value { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RecipientInfoJson0.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RecipientInfoJson0.cs deleted file mode 100644 index 901b4f288..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RecipientInfoJson0.cs +++ /dev/null @@ -1,39 +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; - - /// - /// Represents the details of the RFP recipient. - /// - public class RecipientInfoJson0 - { - /// - /// The position at which this recipient will be displayed. - /// - [JsonProperty("order")] - public long? Order { get; set; } - - /// - /// Type of Recipient. - /// - [JsonProperty("type")] - public RecipientTypeJson0? Type { get; set; } - - /// - /// If the recipient is ACCOUNT_USER or ACCOUNT_USER_GROUP, this field holds their unique ID. If the recipient is EMAIL, this field holds the email provided by the user. - /// - [JsonProperty("value")] - public string? Value { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RecipientType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RecipientType.cs new file mode 100644 index 000000000..adf8b2036 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RecipientType.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; + + /// + /// Type of Recipient. + /// + public enum RecipientType + { + [JsonProperty("EMAIL")] Email, + [JsonProperty("ACCOUNT_USER")] AccountUser, + [JsonProperty("ACCOUNT_USER_GROUP")] AccountUserGroup, + } + + public static class RecipientTypeExtension + { + public static string Value(this RecipientType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static RecipientType ToEnum(this string value) + { + foreach (var field in typeof(RecipientType).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 RecipientType) + { + return (RecipientType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum RecipientType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RecipientTypeJson0.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RecipientTypeJson0.cs deleted file mode 100644 index 8531b0e9f..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RecipientTypeJson0.cs +++ /dev/null @@ -1,58 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Type of Recipient. - /// - public enum RecipientTypeJson0 - { - [JsonProperty("EMAIL")] Email, - [JsonProperty("ACCOUNT_USER")] AccountUser, - [JsonProperty("ACCOUNT_USER_GROUP")] AccountUserGroup, - } - - public static class RecipientTypeJson0Extension - { - public static string Value(this RecipientTypeJson0 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static RecipientTypeJson0 ToEnum(this string value) - { - foreach (var field in typeof(RecipientTypeJson0).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 RecipientTypeJson0) - { - return (RecipientTypeJson0)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum RecipientTypeJson0"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RegistrationPackRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RegistrationPackRequest.cs index 5a44b2f43..cfe48c869 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RegistrationPackRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RegistrationPackRequest.cs @@ -23,7 +23,7 @@ public class RegistrationPackRequest /// The Associated Event. /// [JsonProperty("event")] - public Event21 Event { get; set; } = default!; + public Event3 Event { get; set; } = default!; /// /// The Associated Exhibitor. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RegistrationPackResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RegistrationPackResponse.cs index 2593fcd1e..c4bf45054 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RegistrationPackResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RegistrationPackResponse.cs @@ -29,7 +29,7 @@ public class RegistrationPackResponse /// The Associated Event. /// [JsonProperty("event")] - public Event21 Event { get; set; } = default!; + public Event3 Event { get; set; } = default!; /// /// The Associated Exhibitor. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ReservationGuestJsonInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ReservationGuestJsonInput.cs index 1db5e23aa..97c339ecd 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ReservationGuestJsonInput.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ReservationGuestJsonInput.cs @@ -95,7 +95,7 @@ public class ReservationGuestJsonInput /// Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. /// [JsonProperty("homeAddress")] - public AddressJson2? HomeAddress { get; set; } + public AddressJson? HomeAddress { get; set; } /// /// Payment information. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ReservationGuestJsonOutput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ReservationGuestJsonOutput.cs index 136c34249..e22081302 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ReservationGuestJsonOutput.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ReservationGuestJsonOutput.cs @@ -95,7 +95,7 @@ public class ReservationGuestJsonOutput /// Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. /// [JsonProperty("homeAddress")] - public AddressJson2? HomeAddress { get; set; } + public AddressJson? HomeAddress { get; set; } /// /// Payment information. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ReservationPaymentInfoJsonInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ReservationPaymentInfoJsonInput.cs index 2dba461ab..f2c9ac5a2 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ReservationPaymentInfoJsonInput.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ReservationPaymentInfoJsonInput.cs @@ -34,7 +34,7 @@ public class ReservationPaymentInfoJsonInput /// Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. /// [JsonProperty("address")] - public AddressJson2? Address { get; set; } + public AddressJson? Address { get; set; } /// /// Phone number. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ReservationPaymentInfoJsonOutput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ReservationPaymentInfoJsonOutput.cs index e181bc883..3ca94e1e4 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ReservationPaymentInfoJsonOutput.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ReservationPaymentInfoJsonOutput.cs @@ -34,7 +34,7 @@ public class ReservationPaymentInfoJsonOutput /// Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. /// [JsonProperty("address")] - public AddressJson2? Address { get; set; } + public AddressJson? Address { get; set; } /// /// Phone number. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RespondentJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RespondentJson.cs index 0f1d5708d..639ab845d 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RespondentJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RespondentJson.cs @@ -124,7 +124,7 @@ public class RespondentJson /// Detail object of an event which is associated to a survey. /// [JsonProperty("event")] - public EventJson4? Event { get; set; } + public EventJson3? Event { get; set; } /// /// The reference to the related entity. Contains only the ID of the related entity. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Rfp.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Rfp.cs index e37571b5e..1d9aa23ad 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Rfp.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Rfp.cs @@ -66,13 +66,13 @@ public class Rfp /// Date requirements for the event. /// [JsonProperty("dateRequirements")] - public DateRequirementsJson0? DateRequirements { get; set; } + public DateRequirements1? DateRequirements { get; set; } /// /// RFP event details. /// [JsonProperty("rfpEvent")] - public RfpEventJson? RfpEvent { get; set; } + public RfpEvent? RfpEvent { get; set; } /// /// The ISO 8601 date representing the start date of agenda. @@ -84,13 +84,13 @@ public class Rfp /// Contact details of planner. /// [JsonProperty("contact")] - public ContactJson0? Contact { get; set; } + public Contact1? Contact { get; set; } /// /// Details of organization which is hosting the event. /// [JsonProperty("rfpEventOrganization")] - public RfpEventOrganizationJson? RfpEventOrganization { get; set; } + public EventOrganization1? RfpEventOrganization { get; set; } /// /// Decision factors based on which RFP will be awarded. These can be price, location, or quality of service. @@ -120,7 +120,7 @@ public class Rfp /// Billing details for RFP. /// [JsonProperty("billingDetails")] - public BillingDetailsJson0? BillingDetails { get; set; } + public BillingDetails1? BillingDetails { get; set; } /// /// Internal note for planners. This note is not shared with suppliers. @@ -135,22 +135,26 @@ public class Rfp public string? CurrencyCode { get; set; } /// - /// Measurement unit. + /// Unit of measurement for area or space.
+ ///
+ /// Values:
+ /// - `SQUARE_FEET` — Square Feet
+ /// - `SQUARE_METERS` — Square Meters. ///
[JsonProperty("measurementUnit")] - public MeasurementUnitJson0? MeasurementUnit { get; set; } + public MeasurementUnit? MeasurementUnit { get; set; } /// /// This contains cost items which are marked as required for suppliers in the RFP. /// [JsonProperty("requiredCostItems")] - public List? RequiredCostItems { get; set; } + public List? RequiredCostItems { get; set; } /// /// This contains cost items which are marked as not needed for suppliers in the RFP. /// [JsonProperty("hiddenCostItems")] - public List? HiddenCostItems { get; set; } + public List? HiddenCostItems { get; set; } /// /// True indicates suppliers added on the RFP should be allowed to forward the RFP. @@ -174,7 +178,7 @@ public class Rfp /// This contains recipients who would get notified every time a new response is received back from the suppliers. /// [JsonProperty("notificationRecipients")] - public List? NotificationRecipients { get; set; } + public List? NotificationRecipients { get; set; } /// /// True indicates award details can be shared with other suppliers added in RFP. @@ -186,7 +190,7 @@ public class Rfp /// Lead source details. /// [JsonProperty("leadSource")] - public LeadSourceJson? LeadSource { get; set; } + public LeadSource? LeadSource { get; set; } /// /// Unique identifier for RFPs originating from outside Cvent network provided by source system where RFP was created. @@ -216,7 +220,7 @@ public class Rfp /// Wedding details. /// [JsonProperty("weddingDetails")] - public WeddingDetailsJson0? WeddingDetails { get; set; } + public WeddingDetails1? WeddingDetails { get; set; } /// /// True indicates catering is required. @@ -228,7 +232,7 @@ public class Rfp /// 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. /// [JsonProperty("packagePricingPreference")] - public PackagePricingPreferenceJson? PackagePricingPreference { get; set; } = Cvent.SDK.Models.Components.PackagePricingPreferenceJson.NoPreference; + public PackagePricingPreference? PackagePricingPreference { get; set; } = Cvent.SDK.Models.Components.PackagePricingPreference.NoPreference; /// /// True indicates RFP was created with fee transparency enabled. @@ -252,13 +256,13 @@ public class Rfp /// Represents state of the RFP. /// [JsonProperty("status")] - public RfpStatusJson0? Status { get; set; } + public RfpStatus1? Status { get; set; } /// /// RFP types based on event requirements. /// [JsonProperty("type")] - public RfpTypeJson0? Type { get; set; } + public RfpType1? Type { get; set; } /// /// Details of the user who approved the RFP. @@ -282,7 +286,7 @@ public class Rfp /// Information about cancellation of RFP. /// [JsonProperty("cancellationDetails")] - public CancellationDetailsJson? CancellationDetails { get; set; } + public CancellationDetails? CancellationDetails { get; set; } /// /// The ISO 8601 date time (in UTC) when RFP was last sent. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpAgendaItem.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpAgendaItem.cs new file mode 100644 index 000000000..ac68dcac1 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RfpAgendaItem.cs @@ -0,0 +1,143 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Agenda item associated with an RFP. + /// + public class RfpAgendaItem + { + /// + /// 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; } + + /// + /// The name of the agenda item. + /// + [JsonProperty("name")] + public string? Name { get; set; } + + /// + /// Type of the agenda. + /// + [JsonProperty("type")] + public AgendaItemType? Type { get; set; } + + /// + /// Setup type for the agenda. + /// + [JsonProperty("setup")] + public AgendaItemSetup? Setup { get; set; } + + /// + /// The note sent along with agenda item. + /// + [JsonProperty("note")] + public string? Note { get; set; } + + /// + /// The start time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at event location. For RFPs spanning multiple time zones, this time applies uniformly in each location's respective timezone (e.g., 13:00:00 means 1 PM local time at every venue). + /// + [JsonProperty("startTime")] + public string? StartTime { get; set; } + + /// + /// The end time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at event location. For RFPs spanning multiple time zones, this time applies uniformly in each location's respective timezone (e.g., 14:00:00 means 2 PM local time at every venue). + /// + [JsonProperty("endTime")] + public string? EndTime { get; set; } + + /// + /// The required room size. It is specified in the default measurement unit of the RFP. Use GET RFP API to get the default measurement unit. + /// + [JsonProperty("roomSize")] + public long? RoomSize { get; set; } + + /// + /// Expected number of people attending the agenda. + /// + [JsonProperty("attendeeCount")] + public long? AttendeeCount { get; set; } + + /// + /// True indicates room information like type, description is required. + /// + [JsonProperty("roomInfoRequired")] + public bool? RoomInfoRequired { get; set; } + + /// + /// True indicates that twenty four hour hold is required. + /// + [JsonProperty("twentyFourHourHold")] + public bool? TwentyFourHourHold { get; set; } + + /// + /// True indicates that agenda location is at primary event venue. + /// + [JsonProperty("locatedAtPrimaryEventVenue")] + public bool? LocatedAtPrimaryEventVenue { get; set; } + + /// + /// Meal type offered during the agenda. + /// + [JsonProperty("rfpMeal")] + public RfpMeal? RfpMeal { get; set; } + + /// + /// The sequence number of the agenda item. + /// + [JsonProperty("number")] + public long Number { get; set; } = default!; + + /// + /// List of dates when this agenda item is scheduled. + /// + [JsonProperty("schedules")] + public List Schedules { get; set; } = default!; + + /// + /// Unique ID of the agenda item. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + + /// + /// Attachment whose data was used to create the agenda item. + /// + [JsonProperty("agendaBuilderAttachment")] + public AgendaBuilderAttachment? AgendaBuilderAttachment { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpAgendaItemJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpAgendaItemJson.cs deleted file mode 100644 index 64608eb7f..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RfpAgendaItemJson.cs +++ /dev/null @@ -1,143 +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; - using System; - using System.Collections.Generic; - - /// - /// Agenda item associated with an RFP. - /// - public class RfpAgendaItemJson - { - /// - /// 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; } - - /// - /// The name of the agenda item. - /// - [JsonProperty("name")] - public string? Name { get; set; } - - /// - /// Type of the agenda. - /// - [JsonProperty("type")] - public AgendaItemTypeJson? Type { get; set; } - - /// - /// Setup type for the agenda. - /// - [JsonProperty("setup")] - public AgendaItemSetupJson? Setup { get; set; } - - /// - /// The note sent along with agenda item. - /// - [JsonProperty("note")] - public string? Note { get; set; } - - /// - /// The start time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at event location. For RFPs spanning multiple time zones, this time applies uniformly in each location's respective timezone (e.g., 13:00:00 means 1 PM local time at every venue). - /// - [JsonProperty("startTime")] - public string? StartTime { get; set; } - - /// - /// The end time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at event location. For RFPs spanning multiple time zones, this time applies uniformly in each location's respective timezone (e.g., 14:00:00 means 2 PM local time at every venue). - /// - [JsonProperty("endTime")] - public string? EndTime { get; set; } - - /// - /// The required room size. It is specified in the default measurement unit of the RFP. Use GET RFP API to get the default measurement unit. - /// - [JsonProperty("roomSize")] - public long? RoomSize { get; set; } - - /// - /// Expected number of people attending the agenda. - /// - [JsonProperty("attendeeCount")] - public long? AttendeeCount { get; set; } - - /// - /// True indicates room information like type, description is required. - /// - [JsonProperty("roomInfoRequired")] - public bool? RoomInfoRequired { get; set; } - - /// - /// True indicates that twenty four hour hold is required. - /// - [JsonProperty("twentyFourHourHold")] - public bool? TwentyFourHourHold { get; set; } - - /// - /// True indicates that agenda location is at primary event venue. - /// - [JsonProperty("locatedAtPrimaryEventVenue")] - public bool? LocatedAtPrimaryEventVenue { get; set; } - - /// - /// Meal type offered during the agenda. - /// - [JsonProperty("rfpMeal")] - public RfpMealJson? RfpMeal { get; set; } - - /// - /// The sequence number of the agenda item. - /// - [JsonProperty("number")] - public long Number { get; set; } = default!; - - /// - /// List of dates when this agenda item is scheduled. - /// - [JsonProperty("schedules")] - public List Schedules { get; set; } = default!; - - /// - /// Unique ID of the agenda item. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; - - /// - /// Attachment whose data was used to create the agenda item. - /// - [JsonProperty("agendaBuilderAttachment")] - public AgendaBuilderAttachment? AgendaBuilderAttachment { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpAgendaItemSchedule.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpAgendaItemSchedule.cs new file mode 100644 index 000000000..e75faaf99 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RfpAgendaItemSchedule.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Schedule information for an RFP agenda item. + /// + public class RfpAgendaItemSchedule + { + /// + /// Day number relative to start of event on which the agenda item occurs. + /// + [JsonProperty("dayNumber")] + public long DayNumber { get; set; } = default!; + + /// + /// The ISO 8601 date of the agenda item. + /// + [JsonProperty("date")] + public DateOnly? Date { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpAgendaItemScheduleJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpAgendaItemScheduleJson.cs deleted file mode 100644 index 0384a90e9..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RfpAgendaItemScheduleJson.cs +++ /dev/null @@ -1,33 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Schedule information for an RFP agenda item. - /// - public class RfpAgendaItemScheduleJson - { - /// - /// Day number relative to start of event on which the agenda item occurs. - /// - [JsonProperty("dayNumber")] - public long DayNumber { get; set; } = default!; - - /// - /// The ISO 8601 date of the agenda item. - /// - [JsonProperty("date")] - public DateOnly? Date { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpAgendaItemScheduleWithId.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpAgendaItemScheduleWithId.cs new file mode 100644 index 000000000..bcd42a14f --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RfpAgendaItemScheduleWithId.cs @@ -0,0 +1,39 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Contains RFP specific agenda items schedule information with agenda item id. + /// + public class RfpAgendaItemScheduleWithId + { + /// + /// Day number relative to start of event on which the agenda item occurs. + /// + [JsonProperty("dayNumber")] + public long DayNumber { get; set; } = default!; + + /// + /// The ISO 8601 date of the agenda item. + /// + [JsonProperty("date")] + public DateOnly? Date { get; set; } + + /// + /// Unique ID of the agenda item. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpAgendaItemScheduleWithIdJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpAgendaItemScheduleWithIdJson.cs deleted file mode 100644 index 98e750b1b..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RfpAgendaItemScheduleWithIdJson.cs +++ /dev/null @@ -1,39 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Contains RFP specific agenda items schedule information with agenda item id. - /// - public class RfpAgendaItemScheduleWithIdJson - { - /// - /// Day number relative to start of event on which the agenda item occurs. - /// - [JsonProperty("dayNumber")] - public long DayNumber { get; set; } = default!; - - /// - /// The ISO 8601 date of the agenda item. - /// - [JsonProperty("date")] - public DateOnly? Date { get; set; } - - /// - /// Unique ID of the agenda item. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpAttachment.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpAttachment.cs new file mode 100644 index 000000000..e5c0bc4f8 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RfpAttachment.cs @@ -0,0 +1,118 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// This object contains Rfp specific attachments attributes. + /// + public class RfpAttachment + { + /// + /// Unique identifier for this attachment record. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + + /// + /// ISO 8601 date-time the attachment was uploaded. + /// + [JsonProperty("created")] + public DateTime? Created { get; set; } + + /// + /// The size of attachment in bytes. + /// + [JsonProperty("size")] + public long? Size { get; set; } + + /// + /// The document type. + /// + [JsonProperty("type")] + public DocumentType1? Type { get; set; } + + /// + /// True indicates the attachment is uploaded behind a secured URL. + /// + [JsonProperty("secure")] + public bool? Secure { get; set; } + + /// + /// Display name of the attachment. + /// + [JsonProperty("name")] + public string? Name { get; set; } + + /// + /// Name of the attachment. Must be unique in the account. + /// + [JsonProperty("uniqueName")] + public string? UniqueName { get; set; } + + /// + /// The content type of the attachment. + /// + [JsonProperty("mimeType")] + public string? MimeType { get; set; } + + /// + /// The source from where the attachment was uploaded. + /// + [JsonProperty("source")] + public AttachmentSource? Source { get; set; } + + /// + /// The file path pointing to where the attachment is stored in Cvent. This path is relative to the base URL of the storage system and omits the root address. + /// + [JsonProperty("relativePath")] + public string? RelativePath { get; set; } + + /// + /// True indicates the attachment should be sent in emails that notify suppliers about RFPs. + /// + [JsonProperty("sendInEmail")] + public bool? SendInEmail { get; set; } + + /// + /// True indicates this attachment can be deleted. + /// + [JsonProperty("deletionAllowed")] + public bool? DeletionAllowed { get; set; } + + /// + /// URL of the attachment if `secure` is false. This field is null if `secure` is true. + /// + [JsonProperty("url")] + public string? Url { get; set; } + + /// + /// Supplier associated with the attachment. + /// + [JsonProperty("supplier")] + public RfpAttachmentSupplier? Supplier { get; set; } + + /// + /// True indicates the attachment is only shown in the UI to the supplier whose ID is present in supplier.id field. + /// + [JsonProperty("supplierSpecific")] + public bool? SupplierSpecific { get; set; } + + /// + /// True indicates the attachment is selected for the supplier whose ID is present in supplier.id field. + /// + [JsonProperty("selectedForSupplier")] + public bool? SelectedForSupplier { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpAttachmentJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpAttachmentJson.cs deleted file mode 100644 index 4cdbb5c19..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RfpAttachmentJson.cs +++ /dev/null @@ -1,118 +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; - using System; - - /// - /// This object contains Rfp specific attachments attributes. - /// - public class RfpAttachmentJson - { - /// - /// Unique identifier for this attachment record. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; - - /// - /// ISO 8601 date-time the attachment was uploaded. - /// - [JsonProperty("created")] - public DateTime? Created { get; set; } - - /// - /// The size of attachment in bytes. - /// - [JsonProperty("size")] - public long? Size { get; set; } - - /// - /// The document type. - /// - [JsonProperty("type")] - public DocumentTypeJson0? Type { get; set; } - - /// - /// True indicates the attachment is uploaded behind a secured URL. - /// - [JsonProperty("secure")] - public bool? Secure { get; set; } - - /// - /// Display name of the attachment. - /// - [JsonProperty("name")] - public string? Name { get; set; } - - /// - /// Name of the attachment. Must be unique in the account. - /// - [JsonProperty("uniqueName")] - public string? UniqueName { get; set; } - - /// - /// The content type of the attachment. - /// - [JsonProperty("mimeType")] - public string? MimeType { get; set; } - - /// - /// The source from where the attachment was uploaded. - /// - [JsonProperty("source")] - public AttachmentSourceJson? Source { get; set; } - - /// - /// The file path pointing to where the attachment is stored in Cvent. This path is relative to the base URL of the storage system and omits the root address. - /// - [JsonProperty("relativePath")] - public string? RelativePath { get; set; } - - /// - /// True indicates the attachment should be sent in emails that notify suppliers about RFPs. - /// - [JsonProperty("sendInEmail")] - public bool? SendInEmail { get; set; } - - /// - /// True indicates this attachment can be deleted. - /// - [JsonProperty("deletionAllowed")] - public bool? DeletionAllowed { get; set; } - - /// - /// URL of the attachment if `secure` is false. This field is null if `secure` is true. - /// - [JsonProperty("url")] - public string? Url { get; set; } - - /// - /// Supplier associated with the attachment. - /// - [JsonProperty("supplier")] - public RfpAttachmentJsonSupplier? Supplier { get; set; } - - /// - /// True indicates the attachment is only shown in the UI to the supplier whose ID is present in supplier.id field. - /// - [JsonProperty("supplierSpecific")] - public bool? SupplierSpecific { get; set; } - - /// - /// True indicates the attachment is selected for the supplier whose ID is present in supplier.id field. - /// - [JsonProperty("selectedForSupplier")] - public bool? SelectedForSupplier { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpAttachmentJsonSupplier.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpAttachmentJsonSupplier.cs deleted file mode 100644 index 86ed0c9c2..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RfpAttachmentJsonSupplier.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// Supplier associated with the attachment. - /// - public class RfpAttachmentJsonSupplier - { - /// - /// ID of the supplier. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpAttachmentSupplier.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpAttachmentSupplier.cs new file mode 100644 index 000000000..5a3bfdbb2 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RfpAttachmentSupplier.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Supplier associated with the attachment. + /// + public class RfpAttachmentSupplier + { + /// + /// ID of the supplier. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpCustomFieldJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpCustomFieldJson.cs deleted file mode 100644 index 4a537e60c..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RfpCustomFieldJson.cs +++ /dev/null @@ -1,38 +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; - using System.Collections.Generic; - - /// - /// This object contains RFP custom fields attributes only. - /// - public class RfpCustomFieldJson - { - /// - /// An object containing custom field data. By default, contains only the field ID.
- ///
- /// This is an **expandable** object. When requested via the `expand` query parameter with value `customField`, this object expands to include all properties of a custom field definition.
- ///
- /// See the `expand` parameter documentation and refer to the Get Custom Field API for the complete expanded schema. - ///
- [JsonProperty("customField")] - public ExpandableCustomObject CustomField { get; set; } = default!; - - /// - /// List of answers for the RFP custom field. - /// - [JsonProperty("answers")] - public List Answers { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpDateMode.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpDateMode.cs new file mode 100644 index 000000000..c75b6a6c3 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RfpDateMode.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.Utils; + using Newtonsoft.Json; + using System; + + /// + /// RfpDateMode. + /// + public enum RfpDateMode + { + [JsonProperty("ALTERNATE_DATE")] AlternateDate, + [JsonProperty("DATE_PATTERN")] DatePattern, + } + + public static class RfpDateModeExtension + { + public static string Value(this RfpDateMode value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static RfpDateMode ToEnum(this string value) + { + foreach (var field in typeof(RfpDateMode).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 RfpDateMode) + { + return (RfpDateMode)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum RfpDateMode"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpDateModeJson0.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpDateModeJson0.cs deleted file mode 100644 index f052b8f71..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RfpDateModeJson0.cs +++ /dev/null @@ -1,57 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Way of specifying dates for the event. - /// - public enum RfpDateModeJson0 - { - [JsonProperty("ALTERNATE_DATE")] AlternateDate, - [JsonProperty("DATE_PATTERN")] DatePattern, - } - - public static class RfpDateModeJson0Extension - { - public static string Value(this RfpDateModeJson0 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static RfpDateModeJson0 ToEnum(this string value) - { - foreach (var field in typeof(RfpDateModeJson0).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 RfpDateModeJson0) - { - return (RfpDateModeJson0)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum RfpDateModeJson0"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpEvent.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpEvent.cs new file mode 100644 index 000000000..52d1f1734 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RfpEvent.cs @@ -0,0 +1,141 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// RFP event details. + /// + public class RfpEvent + { + /// + /// Event details. + /// + [JsonProperty("event")] + public Event12? Event { get; set; } + + /// + /// Name of the event linked with the RFP. + /// + [JsonProperty("name")] + public string? Name { get; set; } + + /// + /// Location where the contract will be signed. + /// + [JsonProperty("contractSignatureLocation")] + public string? ContractSignatureLocation { get; set; } + + /// + /// Destinations under consideration for the event. + /// + [JsonProperty("destinationsUnderConsideration")] + public string? DestinationsUnderConsideration { get; set; } + + /// + /// True indicates that the event is associated with an external meeting request. + /// + [JsonProperty("externalMeetingRequest")] + public bool? ExternalMeetingRequest { get; set; } + + /// + /// Event type. + /// + [JsonProperty("type")] + public EventType1? Type { get; set; } + + /// + /// Space area divisons. + /// + [JsonProperty("totalMeetingSpaceRequired")] + public SpaceArea? TotalMeetingSpaceRequired { get; set; } + + /// + /// Audio visual requirements. + /// + [JsonProperty("audioVisualNeeds")] + public string? AudioVisualNeeds { get; set; } + + /// + /// Maximum number of meeting rooms required during the event. + /// + [JsonProperty("peakMeetingRooms")] + public long? PeakMeetingRooms { get; set; } + + /// + /// True indicates the event dates are flexible. + /// + [JsonProperty("flexibleDates")] + public bool? FlexibleDates { get; set; } + + /// + /// True indicates event is a repeat occurrence. + /// + [JsonProperty("repeat")] + public bool? Repeat { get; set; } + + /// + /// Number of in-person attendees per day. + /// + [JsonProperty("attendeesPerDay")] + public long? AttendeesPerDay { get; set; } + + /// + /// Reference number for the event. + /// + [JsonProperty("referenceNumber")] + public string? ReferenceNumber { get; set; } + + /// + /// Space area divisons. + /// + [JsonProperty("largestMeetingSpaceRequired")] + public SpaceArea? LargestMeetingSpaceRequired { get; set; } + + /// + /// Unique identifier for meeting request associated with the event. + /// + [JsonProperty("meetingRequestId")] + public string? MeetingRequestId { get; set; } + + /// + /// Event format type. + /// + [JsonProperty("formatType")] + public EventFormatType? FormatType { get; set; } + + /// + /// Number of virtual attendees per day. + /// + [JsonProperty("virtualAttendeesPerDay")] + public long? VirtualAttendeesPerDay { get; set; } + + /// + /// Total budget amount. + /// + [JsonProperty("budget")] + public double? Budget { get; set; } + + /// + /// Budget for rooms rates. + /// + [JsonProperty("roomRateBudget")] + public double? RoomRateBudget { get; set; } + + /// + /// Budget for food and beverage. + /// + [JsonProperty("foodBeverageBudget")] + public double? FoodBeverageBudget { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpEventJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpEventJson.cs deleted file mode 100644 index d189fa1df..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RfpEventJson.cs +++ /dev/null @@ -1,141 +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; - - /// - /// RFP event details. - /// - public class RfpEventJson - { - /// - /// Event details. - /// - [JsonProperty("event")] - public EventJson0? Event { get; set; } - - /// - /// Name of the event linked with the RFP. - /// - [JsonProperty("name")] - public string? Name { get; set; } - - /// - /// Location where the contract will be signed. - /// - [JsonProperty("contractSignatureLocation")] - public string? ContractSignatureLocation { get; set; } - - /// - /// Destinations under consideration for the event. - /// - [JsonProperty("destinationsUnderConsideration")] - public string? DestinationsUnderConsideration { get; set; } - - /// - /// True indicates that the event is associated with an external meeting request. - /// - [JsonProperty("externalMeetingRequest")] - public bool? ExternalMeetingRequest { get; set; } - - /// - /// Event type. - /// - [JsonProperty("type")] - public EventTypeJson0? Type { get; set; } - - /// - /// Space area divisons. - /// - [JsonProperty("totalMeetingSpaceRequired")] - public SpaceAreaJson0? TotalMeetingSpaceRequired { get; set; } - - /// - /// Audio visual requirements. - /// - [JsonProperty("audioVisualNeeds")] - public string? AudioVisualNeeds { get; set; } - - /// - /// Maximum number of meeting rooms required during the event. - /// - [JsonProperty("peakMeetingRooms")] - public long? PeakMeetingRooms { get; set; } - - /// - /// True indicates the event dates are flexible. - /// - [JsonProperty("flexibleDates")] - public bool? FlexibleDates { get; set; } - - /// - /// True indicates event is a repeat occurrence. - /// - [JsonProperty("repeat")] - public bool? Repeat { get; set; } - - /// - /// Number of in-person attendees per day. - /// - [JsonProperty("attendeesPerDay")] - public long? AttendeesPerDay { get; set; } - - /// - /// Reference number for the event. - /// - [JsonProperty("referenceNumber")] - public string? ReferenceNumber { get; set; } - - /// - /// Space area divisons. - /// - [JsonProperty("largestMeetingSpaceRequired")] - public SpaceAreaJson0? LargestMeetingSpaceRequired { get; set; } - - /// - /// Unique identifier for meeting request associated with the event. - /// - [JsonProperty("meetingRequestId")] - public string? MeetingRequestId { get; set; } - - /// - /// Event format type. - /// - [JsonProperty("formatType")] - public EventFormatTypeJson0? FormatType { get; set; } - - /// - /// Number of virtual attendees per day. - /// - [JsonProperty("virtualAttendeesPerDay")] - public long? VirtualAttendeesPerDay { get; set; } - - /// - /// Total budget amount. - /// - [JsonProperty("budget")] - public double? Budget { get; set; } - - /// - /// Budget for rooms rates. - /// - [JsonProperty("roomRateBudget")] - public double? RoomRateBudget { get; set; } - - /// - /// Budget for food and beverage. - /// - [JsonProperty("foodBeverageBudget")] - public double? FoodBeverageBudget { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpEventOrganizationJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpEventOrganizationJson.cs deleted file mode 100644 index 68b14ab7e..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RfpEventOrganizationJson.cs +++ /dev/null @@ -1,63 +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; - - /// - /// Details of organization which is hosting the event. - /// - public class RfpEventOrganizationJson - { - /// - /// Organization details. - /// - [JsonProperty("organization")] - public OrganizationJson? Organization { get; set; } - - /// - /// True indicates organization profile has to be kept confidential. - /// - [JsonProperty("confidentialProfile")] - public bool? ConfidentialProfile { get; set; } - - /// - /// Industry. - /// - [JsonProperty("industry")] - public IndustryJson0? Industry { get; set; } - - /// - /// Name of the organization hosting the event. - /// - [JsonProperty("name")] - public string Name { get; set; } = default!; - - /// - /// Organization type. - /// - [JsonProperty("type")] - public OrganizationTypeJson0 Type { get; set; } = default!; - - /// - /// Address details. - /// - [JsonProperty("address")] - public AddressJson0? Address { get; set; } - - /// - /// Number of events per year. - /// - [JsonProperty("eventsPerYear")] - public long? EventsPerYear { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpGuestRooms.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpGuestRooms.cs index 87cb7287c..b171ecd06 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RfpGuestRooms.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RfpGuestRooms.cs @@ -36,7 +36,7 @@ public class RfpGuestRooms /// Occupancies for every room type. ///
[JsonProperty("occupancies")] - public List? Occupancies { get; set; } + public List? Occupancies { get; set; } /// /// The ISO 8601 check-in date. @@ -48,7 +48,7 @@ public class RfpGuestRooms /// List of room blocks required. /// [JsonProperty("roomBlocks")] - public List? RoomBlocks { get; set; } + public List? RoomBlocks { get; set; } /// /// Additional Info (if any). diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpIdJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpIdJson.cs new file mode 100644 index 000000000..b78d30571 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RfpIdJson.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// RFP ID Information. + /// + public class RfpIdJson + { + /// + /// Identifier of a particular RFP. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpIdJson1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpIdJson1.cs deleted file mode 100644 index 5e7fb1293..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RfpIdJson1.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// RFP ID Information. - /// - public class RfpIdJson1 - { - /// - /// Identifier of a particular RFP. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpInternalDocument.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpInternalDocument.cs new file mode 100644 index 000000000..0da244c58 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RfpInternalDocument.cs @@ -0,0 +1,70 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// This object contains RFP specific internal documents attributes only. + /// + public class RfpInternalDocument + { + /// + /// Unique ID of the file. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + + /// + /// ISO 8601 date-time the document was uploaded. + /// + [JsonProperty("created")] + public DateTime? Created { get; set; } + + /// + /// Display name of the document. + /// + [JsonProperty("name")] + public string? Name { get; set; } + + /// + /// Name of the document. Must be unique in the account. + /// + [JsonProperty("uniqueName")] + public string? UniqueName { get; set; } + + /// + /// The size of document in bytes. + /// + [JsonProperty("size")] + public long? Size { get; set; } + + /// + /// URL of the document if `secure` is false. This field is null if `secure` is true. + /// + [JsonProperty("url")] + public string? Url { get; set; } + + /// + /// The document type. + /// + [JsonProperty("type")] + public DocumentType1? Type { get; set; } + + /// + /// The content type of the document. + /// + [JsonProperty("mimeType")] + public string? MimeType { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpInternalDocumentJson0.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpInternalDocumentJson0.cs deleted file mode 100644 index 27f165e6a..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RfpInternalDocumentJson0.cs +++ /dev/null @@ -1,70 +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; - using System; - - /// - /// This object contains RFP specific internal documents attributes only. - /// - public class RfpInternalDocumentJson0 - { - /// - /// Unique ID of the file. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; - - /// - /// ISO 8601 date-time the document was uploaded. - /// - [JsonProperty("created")] - public DateTime? Created { get; set; } - - /// - /// Display name of the document. - /// - [JsonProperty("name")] - public string? Name { get; set; } - - /// - /// Name of the document. Must be unique in the account. - /// - [JsonProperty("uniqueName")] - public string? UniqueName { get; set; } - - /// - /// The size of document in bytes. - /// - [JsonProperty("size")] - public long? Size { get; set; } - - /// - /// URL of the document if `secure` is false. This field is null if `secure` is true. - /// - [JsonProperty("url")] - public string? Url { get; set; } - - /// - /// The document type. - /// - [JsonProperty("type")] - public DocumentTypeJson0? Type { get; set; } - - /// - /// The content type of the document. - /// - [JsonProperty("mimeType")] - public string? MimeType { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpMeal.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpMeal.cs new file mode 100644 index 000000000..880bc3d65 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RfpMeal.cs @@ -0,0 +1,68 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Meal type offered during the agenda. + /// + public enum RfpMeal + { + [JsonProperty("BREAKFAST_BUFFET")] BreakfastBuffet, + [JsonProperty("BREAKFAST_CONTINENTAL")] BreakfastContinental, + [JsonProperty("BREAKFAST_PLATED")] BreakfastPlated, + [JsonProperty("BREAK_DRINKS_ONLY")] BreakDrinksOnly, + [JsonProperty("BREAK_SNACKS_AND_DRINKS")] BreakSnacksAndDrinks, + [JsonProperty("CONTACT_ME_ABOUT_F_B_REQUIREMENTS")] ContactMeAboutFBRequirements, + [JsonProperty("DINNER_BUFFET")] DinnerBuffet, + [JsonProperty("DINNER_PLATED")] DinnerPlated, + [JsonProperty("LUNCH_BOXED")] LunchBoxed, + [JsonProperty("LUNCH_BUFFET")] LunchBuffet, + [JsonProperty("LUNCH_PLATED")] LunchPlated, + [JsonProperty("RECEPTION_HEAVY_HORS_D_OEUVRES")] ReceptionHeavyHorsDOeuvres, + [JsonProperty("RECEPTION_LIGHT_APPETIZERS")] ReceptionLightAppetizers, + } + + public static class RfpMealExtension + { + public static string Value(this RfpMeal value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static RfpMeal ToEnum(this string value) + { + foreach (var field in typeof(RfpMeal).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 RfpMeal) + { + return (RfpMeal)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum RfpMeal"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpMealJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpMealJson.cs deleted file mode 100644 index f9998282b..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RfpMealJson.cs +++ /dev/null @@ -1,68 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Meal type offered during the agenda. - /// - public enum RfpMealJson - { - [JsonProperty("BREAKFAST_BUFFET")] BreakfastBuffet, - [JsonProperty("BREAKFAST_CONTINENTAL")] BreakfastContinental, - [JsonProperty("BREAKFAST_PLATED")] BreakfastPlated, - [JsonProperty("BREAK_DRINKS_ONLY")] BreakDrinksOnly, - [JsonProperty("BREAK_SNACKS_AND_DRINKS")] BreakSnacksAndDrinks, - [JsonProperty("CONTACT_ME_ABOUT_F_B_REQUIREMENTS")] ContactMeAboutFBRequirements, - [JsonProperty("DINNER_BUFFET")] DinnerBuffet, - [JsonProperty("DINNER_PLATED")] DinnerPlated, - [JsonProperty("LUNCH_BOXED")] LunchBoxed, - [JsonProperty("LUNCH_BUFFET")] LunchBuffet, - [JsonProperty("LUNCH_PLATED")] LunchPlated, - [JsonProperty("RECEPTION_HEAVY_HORS_D_OEUVRES")] ReceptionHeavyHorsDOeuvres, - [JsonProperty("RECEPTION_LIGHT_APPETIZERS")] ReceptionLightAppetizers, - } - - public static class RfpMealJsonExtension - { - public static string Value(this RfpMealJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static RfpMealJson ToEnum(this string value) - { - foreach (var field in typeof(RfpMealJson).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 RfpMealJson) - { - return (RfpMealJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum RfpMealJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpPastEvent.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpPastEvent.cs new file mode 100644 index 000000000..0d37aba75 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RfpPastEvent.cs @@ -0,0 +1,80 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// This object includes information about past events hosted by the planner. + /// + public class RfpPastEvent + { + /// + /// Name of the venue where the event was hosted. + /// + [JsonProperty("venueName")] + public string? VenueName { get; set; } + + /// + /// Name of the city where the event was hosted. + /// + [JsonProperty("city")] + public string? City { get; set; } + + /// + /// ISO 3166-2 code for name of the state or province where the event was hosted. + /// + [JsonProperty("stateProvince")] + public string? StateProvince { get; set; } + + /// + /// Free form text field for the planner to provide details on the event date. + /// + [JsonProperty("date")] + public string? Date { get; set; } + + /// + /// Number of event attendees. + /// + [JsonProperty("attendeeCount")] + public long? AttendeeCount { get; set; } + + /// + /// Count of rooms picked up by planners for use during the event. + /// + [JsonProperty("guestRoomsPickedUp")] + public long? GuestRoomsPickedUp { get; set; } + + /// + /// Count of rooms blocked by planner for the event. + /// + [JsonProperty("guestRoomsBlocked")] + public long? GuestRoomsBlocked { get; set; } + + /// + /// Expenditure on food and beverage. + /// + [JsonProperty("foodBeverageSpend")] + public string? FoodBeverageSpend { get; set; } + + /// + /// Any other information about the event. + /// + [JsonProperty("notes")] + public string? Notes { get; set; } + + /// + /// Unique ID for the event detail. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpPastEventJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpPastEventJson.cs deleted file mode 100644 index ce18c6fe5..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RfpPastEventJson.cs +++ /dev/null @@ -1,80 +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.Utils; - using Newtonsoft.Json; - - /// - /// This object includes information about past events hosted by the planner. - /// - public class RfpPastEventJson - { - /// - /// Name of the venue where the event was hosted. - /// - [JsonProperty("venueName")] - public string? VenueName { get; set; } - - /// - /// Name of the city where the event was hosted. - /// - [JsonProperty("city")] - public string? City { get; set; } - - /// - /// ISO 3166-2 code for name of the state or province where the event was hosted. - /// - [JsonProperty("stateProvince")] - public string? StateProvince { get; set; } - - /// - /// Free form text field for the planner to provide details on the event date. - /// - [JsonProperty("date")] - public string? Date { get; set; } - - /// - /// Number of event attendees. - /// - [JsonProperty("attendeeCount")] - public long? AttendeeCount { get; set; } - - /// - /// Count of rooms picked up by planners for use during the event. - /// - [JsonProperty("guestRoomsPickedUp")] - public long? GuestRoomsPickedUp { get; set; } - - /// - /// Count of rooms blocked by planner for the event. - /// - [JsonProperty("guestRoomsBlocked")] - public long? GuestRoomsBlocked { get; set; } - - /// - /// Expenditure on food and beverage. - /// - [JsonProperty("foodBeverageSpend")] - public string? FoodBeverageSpend { get; set; } - - /// - /// Any other information about the event. - /// - [JsonProperty("notes")] - public string? Notes { get; set; } - - /// - /// Unique ID for the event detail. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpPastEvents.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpPastEvents.cs index 96b7df916..504b4a1af 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RfpPastEvents.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RfpPastEvents.cs @@ -23,6 +23,6 @@ public class RfpPastEvents /// List of past events saved on RFP by planner. /// [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/RfpQuestion.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpQuestion.cs new file mode 100644 index 000000000..c14c2dff2 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RfpQuestion.cs @@ -0,0 +1,269 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Question associated with an RFP. + /// + public class RfpQuestion + { + /// + /// 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; } + + /// + /// Unique identifier of the question. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// Text value of the question field. Displays to users in the UI. + /// + [JsonProperty("text")] + public string? Text { get; set; } + + /// + /// Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. + /// + [JsonProperty("shortText")] + public string? ShortText { get; set; } + + /// + /// Html of the question. + /// + [JsonProperty("htmlText")] + public string? HtmlText { get; set; } + + /// + /// Question code is unique identifier for every questions within a survey (can be same across surveys). This code is used in reporting and in question and answer data tags for emails. With every new question a random question code is generated. + /// + [JsonProperty("code")] + public string? Code { get; set; } + + /// + /// The type of question. See this article for details on each enum. + /// + [JsonProperty("type")] + public QuestionType? Type { get; set; } + + /// + /// List of choices for the question. + /// + [JsonProperty("choices")] + public List? Choices { get; set; } + + /// + /// List of categories for the question. + /// + [JsonProperty("categories")] + public List? Categories { get; set; } + + /// + /// List of sub categories for matrix side-by-side questions. + /// + [JsonProperty("subCategories")] + public List? SubCategories { get; set; } + + /// + /// Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + /// + [JsonProperty("notApplicableAnswer")] + public AdditionalChoice? NotApplicableAnswer { get; set; } + + /// + /// Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + /// + [JsonProperty("otherAnswer")] + public AdditionalChoice? OtherAnswer { get; set; } + + /// + /// Text Value of Comments Input box placeholder. + /// + [JsonProperty("comments")] + public string? Comments { get; set; } + + /// + /// True indicates this is a mandatory question field. + /// + [JsonProperty("required")] + public bool? Required { get; set; } = false; + + /// + /// List of fields for form/matrix questions. + /// + [JsonProperty("fields")] + public List? Fields { get; set; } + + /// + /// Max possible score. + /// + [JsonProperty("maxScore")] + public double? MaxScore { get; set; } + + /// + /// Total configured sum of all choices for number allocation question. + /// + [JsonProperty("totalSum")] + public long? TotalSum { get; set; } + + /// + /// The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: Sorted in the order they were added, oldest choices first. `Random`: Random sort. + /// + [JsonProperty("choiceSortOrder")] + public ChoiceSortOrder? ChoiceSortOrder { get; set; } + + /// + /// The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: It is associated with drop down type questions. `Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list type questions. `MultiSelectBox`: It is associated with multi select box type questions. `Vertical`: It is associated with vertical type questions. + /// + [JsonProperty("displayType")] + public DisplayType? DisplayType { get; set; } + + /// + /// Minimum number of choices that must be selected. + /// + [JsonProperty("minSelection")] + public long? MinSelection { get; set; } = 0; + + /// + /// Maximum number of choices that can be selected. + /// + [JsonProperty("maxSelection")] + public long? MaxSelection { get; set; } = 0; + + /// + /// The earliest date that can be selected, starting from or after this date. + /// + [JsonProperty("minDate")] + public DateOnly? MinDate { get; set; } + + /// + /// The latest date that can be selected, up to or before this date. + /// + [JsonProperty("maxDate")] + public DateOnly? MaxDate { get; set; } + + /// + /// Indicates if this is a date range question. + /// + [JsonProperty("showDateSelector")] + public bool? ShowDateSelector { get; set; } + + /// + /// Indicates if the current date should be shown. + /// + [JsonProperty("showCurrentDate")] + public bool? ShowCurrentDate { get; set; } + + /// + /// The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. `DateTime`: Answer format is stored in DateTime format. `Time`: Answer format is stored in Time format. + /// + [JsonProperty("dateAnswerFormat")] + public DateAnswerFormat? DateAnswerFormat { get; set; } = Cvent.SDK.Models.Components.DateAnswerFormat.DateTime; + + /// + /// The answer format that a given number is stored in. + /// + [JsonProperty("numericAnswerFormat")] + public NumericAnswerFormat? NumericAnswerFormat { get; set; } + + /// + /// Label to add before or after textbox. + /// + [JsonProperty("unitLabel")] + public string? UnitLabel { get; set; } + + /// + /// Unit position used for text box question type. + /// + [JsonProperty("unitPosition")] + public UnitPosition? UnitPosition { get; set; } + + /// + /// Minimum number of characters that must be entered. + /// + [JsonProperty("minLength")] + public long? MinLength { get; set; } = 0; + + /// + /// Maximum number of characters that can be entered. + /// + [JsonProperty("maxLength")] + public long? MaxLength { get; set; } = 500; + + /// + /// 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. + /// + [JsonProperty("textAnswerFormat")] + public TextAnswerFormat? TextAnswerFormat { get; set; } + + /// + /// An object that contains custom answer format data. + /// + [JsonProperty("customAnswerFormat")] + public CustomAnswerFormat? CustomAnswerFormat { get; set; } + + /// + /// List of supplier types that can view the question on the RFP. + /// + [JsonProperty("supplierTypes")] + public List? SupplierTypes { get; set; } + + /// + /// 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; } + + /// + /// Determines the display order for questions on the RFP. Questions with smaller values appear first. + /// + [JsonProperty("order")] + public long? Order { get; set; } + + /// + /// Standard questions are selected from a predefined list of Cvent questions that can be used in an RFP. + /// + [JsonProperty("standardQuestion")] + public StandardQuestion? StandardQuestion { get; set; } + + /// + /// Represents the AI generation source for the custom question on RFP. This field is set during question creation and cannot be modified afterwards. + /// + [JsonProperty("aiQuestionGenerationSource")] + public string? AiQuestionGenerationSource { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpQuestionJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpQuestionJson.cs deleted file mode 100644 index 304edca73..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RfpQuestionJson.cs +++ /dev/null @@ -1,269 +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; - using System; - using System.Collections.Generic; - - /// - /// Question associated with an RFP. - /// - public class RfpQuestionJson - { - /// - /// 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; } - - /// - /// Unique identifier of the question. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// Text value of the question field. Displays to users in the UI. - /// - [JsonProperty("text")] - public string? Text { get; set; } - - /// - /// Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. - /// - [JsonProperty("shortText")] - public string? ShortText { get; set; } - - /// - /// Html of the question. - /// - [JsonProperty("htmlText")] - public string? HtmlText { get; set; } - - /// - /// Question code is unique identifier for every questions within a survey (can be same across surveys). This code is used in reporting and in question and answer data tags for emails. With every new question a random question code is generated. - /// - [JsonProperty("code")] - public string? Code { get; set; } - - /// - /// The type of question. See this article for details on each enum. - /// - [JsonProperty("type")] - public QuestionTypeJson? Type { get; set; } - - /// - /// List of choices for the question. - /// - [JsonProperty("choices")] - public List? Choices { get; set; } - - /// - /// List of categories for the question. - /// - [JsonProperty("categories")] - public List? Categories { get; set; } - - /// - /// List of sub categories for matrix side-by-side questions. - /// - [JsonProperty("subCategories")] - public List? SubCategories { get; set; } - - /// - /// Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. - /// - [JsonProperty("notApplicableAnswer")] - public AdditionalChoiceJson2? NotApplicableAnswer { get; set; } - - /// - /// Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. - /// - [JsonProperty("otherAnswer")] - public AdditionalChoiceJson2? OtherAnswer { get; set; } - - /// - /// Text Value of Comments Input box placeholder. - /// - [JsonProperty("comments")] - public string? Comments { get; set; } - - /// - /// True indicates this is a mandatory question field. - /// - [JsonProperty("required")] - public bool? Required { get; set; } = false; - - /// - /// List of fields for form/matrix questions. - /// - [JsonProperty("fields")] - public List? Fields { get; set; } - - /// - /// Max possible score. - /// - [JsonProperty("maxScore")] - public double? MaxScore { get; set; } - - /// - /// Total configured sum of all choices for number allocation question. - /// - [JsonProperty("totalSum")] - public long? TotalSum { get; set; } - - /// - /// The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: Sorted in the order they were added, oldest choices first. `Random`: Random sort. - /// - [JsonProperty("choiceSortOrder")] - public ChoiceSortOrderJson? ChoiceSortOrder { get; set; } - - /// - /// The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: It is associated with drop down type questions. `Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list type questions. `MultiSelectBox`: It is associated with multi select box type questions. `Vertical`: It is associated with vertical type questions. - /// - [JsonProperty("displayType")] - public DisplayTypeJson? DisplayType { get; set; } - - /// - /// Minimum number of choices that must be selected. - /// - [JsonProperty("minSelection")] - public long? MinSelection { get; set; } = 0; - - /// - /// Maximum number of choices that can be selected. - /// - [JsonProperty("maxSelection")] - public long? MaxSelection { get; set; } = 0; - - /// - /// The earliest date that can be selected, starting from or after this date. - /// - [JsonProperty("minDate")] - public DateOnly? MinDate { get; set; } - - /// - /// The latest date that can be selected, up to or before this date. - /// - [JsonProperty("maxDate")] - public DateOnly? MaxDate { get; set; } - - /// - /// Indicates if this is a date range question. - /// - [JsonProperty("showDateSelector")] - public bool? ShowDateSelector { get; set; } - - /// - /// Indicates if the current date should be shown. - /// - [JsonProperty("showCurrentDate")] - public bool? ShowCurrentDate { get; set; } - - /// - /// The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. `DateTime`: Answer format is stored in DateTime format. `Time`: Answer format is stored in Time format. - /// - [JsonProperty("dateAnswerFormat")] - public DateAnswerFormatJson? DateAnswerFormat { get; set; } = Cvent.SDK.Models.Components.DateAnswerFormatJson.DateTime; - - /// - /// The answer format that a given number is stored in. - /// - [JsonProperty("numericAnswerFormat")] - public NumericAnswerFormatJson? NumericAnswerFormat { get; set; } - - /// - /// Label to add before or after textbox. - /// - [JsonProperty("unitLabel")] - public string? UnitLabel { get; set; } - - /// - /// Unit position used for text box question type. - /// - [JsonProperty("unitPosition")] - public UnitPositionJson? UnitPosition { get; set; } - - /// - /// Minimum number of characters that must be entered. - /// - [JsonProperty("minLength")] - public long? MinLength { get; set; } = 0; - - /// - /// Maximum number of characters that can be entered. - /// - [JsonProperty("maxLength")] - public long? MaxLength { get; set; } = 500; - - /// - /// 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. - /// - [JsonProperty("textAnswerFormat")] - public TextAnswerFormatJson? TextAnswerFormat { get; set; } - - /// - /// An object that contains custom answer format data. - /// - [JsonProperty("customAnswerFormat")] - public CustomAnswerFormat? CustomAnswerFormat { get; set; } - - /// - /// List of supplier types that can view the question on the RFP. - /// - [JsonProperty("supplierTypes")] - public List? SupplierTypes { get; set; } - - /// - /// 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 QuestionClassificationTypeJson? ClassificationType { get; set; } - - /// - /// Determines the display order for questions on the RFP. Questions with smaller values appear first. - /// - [JsonProperty("order")] - public long? Order { get; set; } - - /// - /// Standard questions are selected from a predefined list of Cvent questions that can be used in an RFP. - /// - [JsonProperty("standardQuestion")] - public StandardQuestionJson? StandardQuestion { get; set; } - - /// - /// Represents the AI generation source for the custom question on RFP. This field is set during question creation and cannot be modified afterwards. - /// - [JsonProperty("aiQuestionGenerationSource")] - public string? AiQuestionGenerationSource { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpRecipientLogEntry.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpRecipientLogEntry.cs new file mode 100644 index 000000000..12facb133 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RfpRecipientLogEntry.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.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Contains the log entry when the recipient was copied on an RFP. + /// + public class RfpRecipientLogEntry + { + /// + /// The supplier associated with the recipient. + /// + [JsonProperty("supplier")] + public RfpRecipientLogEntrySupplier? Supplier { get; set; } + + /// + /// This can either be the email address or the code of the recipient. This will not be present if the target type is MEETING_BROKER. + /// + [JsonProperty("recipientIdentifier")] + public string? RecipientIdentifier { get; set; } + + /// + /// True indicates that the recipient is active for receiving emails. + /// + [JsonProperty("active")] + public bool? Active { get; set; } + + /// + /// True indicates that the recipient was added by the National Sales Office. + /// + [JsonProperty("addedByNso")] + public bool? AddedByNso { get; set; } + + /// + /// The target type can either refer to the type of recipient or the type of action that made the recipient a participant in the RFP process. + /// + [JsonProperty("targetType")] + public TargetType? TargetType { get; set; } + + /// + /// The ISO 8601 send date and time in UTC. + /// + [JsonProperty("sendDateTime")] + public DateTime? SendDateTime { get; set; } + + /// + /// Message for the recipient. + /// + [JsonProperty("message")] + public RfpRecipientLogEntryMessage? Message { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpRecipientLogEntryJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpRecipientLogEntryJson.cs deleted file mode 100644 index 06f5a975d..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RfpRecipientLogEntryJson.cs +++ /dev/null @@ -1,64 +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; - using System; - - /// - /// Contains the log entry when the recipient was copied on an RFP. - /// - public class RfpRecipientLogEntryJson - { - /// - /// The supplier associated with the recipient. - /// - [JsonProperty("supplier")] - public RfpRecipientLogEntryJsonSupplier? Supplier { get; set; } - - /// - /// This can either be the email address or the code of the recipient. This will not be present if the target type is MEETING_BROKER. - /// - [JsonProperty("recipientIdentifier")] - public string? RecipientIdentifier { get; set; } - - /// - /// True indicates that the recipient is active for receiving emails. - /// - [JsonProperty("active")] - public bool? Active { get; set; } - - /// - /// True indicates that the recipient was added by the National Sales Office. - /// - [JsonProperty("addedByNso")] - public bool? AddedByNso { get; set; } - - /// - /// The target type can either refer to the type of recipient or the type of action that made the recipient a participant in the RFP process. - /// - [JsonProperty("targetType")] - public TargetTypeJson? TargetType { get; set; } - - /// - /// The ISO 8601 send date and time in UTC. - /// - [JsonProperty("sendDateTime")] - public DateTime? SendDateTime { get; set; } - - /// - /// Message for the recipient. - /// - [JsonProperty("message")] - public RfpRecipientLogEntryJsonMessage? Message { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpRecipientLogEntryJsonMessage.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpRecipientLogEntryJsonMessage.cs deleted file mode 100644 index f037c0c76..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RfpRecipientLogEntryJsonMessage.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// Message for the recipient. - /// - public class RfpRecipientLogEntryJsonMessage - { - /// - /// The unique identifier of the message. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpRecipientLogEntryJsonSupplier.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpRecipientLogEntryJsonSupplier.cs deleted file mode 100644 index 3ccbecf5a..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RfpRecipientLogEntryJsonSupplier.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// The supplier associated with the recipient. - /// - public class RfpRecipientLogEntryJsonSupplier - { - /// - /// The unique identifier of the supplier. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpRecipientLogEntryMessage.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpRecipientLogEntryMessage.cs new file mode 100644 index 000000000..4312ff5c6 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RfpRecipientLogEntryMessage.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Message for the recipient. + /// + public class RfpRecipientLogEntryMessage + { + /// + /// The unique identifier of the message. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpRecipientLogEntrySupplier.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpRecipientLogEntrySupplier.cs new file mode 100644 index 000000000..dda009332 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RfpRecipientLogEntrySupplier.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The supplier associated with the recipient. + /// + public class RfpRecipientLogEntrySupplier + { + /// + /// The unique identifier of the supplier. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpResponseReason.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpResponseReason.cs new file mode 100644 index 000000000..79f8890b5 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RfpResponseReason.cs @@ -0,0 +1,96 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Reason given for a response to an RFP. + /// + public enum RfpResponseReason + { + [JsonProperty("BOOKED_ANOTHER_VENUE_OR_DESTINATION")] BookedAnotherVenueOrDestination, + [JsonProperty("CLIENT_BOOKED_DIRECTLY")] ClientBookedDirectly, + [JsonProperty("COMPETITOR_CONTRACT_AGREEMENT")] CompetitorContractAgreement, + [JsonProperty("DATES_OR_PATTERN")] DatesOrPattern, + [JsonProperty("DECISION_DATE_PASSED")] DecisionDatePassed, + [JsonProperty("DID_NOT_MEET_REQUIREMENTS")] DidNotMeetRequirements, + [JsonProperty("EPIDEMIC_OR_PANDEMIC")] EpidemicOrPandemic, + [JsonProperty("EVENT_CANCELLED")] EventCancelled, + [JsonProperty("EVENT_POSTPONED")] EventPostponed, + [JsonProperty("FOOD_AND_BEVERAGE_MINIMUM_TOO_HIGH")] FoodAndBeverageMinimumTooHigh, + [JsonProperty("FOOD_AND_BEVERAGE_TOO_LOW")] FoodAndBeverageTooLow, + [JsonProperty("INCOMPLETE_RFP")] IncompleteRfp, + [JsonProperty("LATE_RESPONSE")] LateResponse, + [JsonProperty("LOW_BUDGET")] LowBudget, + [JsonProperty("MEDICAL_EMERGENCY")] MedicalEmergency, + [JsonProperty("MEETING_ROOM_RENTAL_TOO_HIGH")] MeetingRoomRentalTooHigh, + [JsonProperty("MEETING_SPACE_CEILING_HEIGHT")] MeetingSpaceCeilingHeight, + [JsonProperty("MEETING_SPACE_NO_LONGER_AVAILABLE")] MeetingSpaceNoLongerAvailable, + [JsonProperty("MEETING_SPACE_UNAVAILABLE")] MeetingSpaceUnavailable, + [JsonProperty("NATURAL_DISASTER")] NaturalDisaster, + [JsonProperty("NO_FOOD_AND_BEVERAGE")] NoFoodAndBeverage, + [JsonProperty("OTHER")] Other, + [JsonProperty("POLITICAL_OR_CIVIL_UNREST")] PoliticalOrCivilUnrest, + [JsonProperty("PREFERRED_OR_ALTERNATE_DATES_UNAVAILABLE")] PreferredOrAlternateDatesUnavailable, + [JsonProperty("PROPERTY_AMENITIES_OR_SERVICES")] PropertyAmenitiesOrServices, + [JsonProperty("PROPERTY_LOCATION")] PropertyLocation, + [JsonProperty("RENOVATIONS")] Renovations, + [JsonProperty("REQUESTED_ROOM_RATE_TOO_LOW")] RequestedRoomRateTooLow, + [JsonProperty("REQUIREMENTS_CHANGED")] RequirementsChanged, + [JsonProperty("ROOMS_TO_SPACE_RATIO")] RoomsToSpaceRatio, + [JsonProperty("SELECTED_OTHER_CITY")] SelectedOtherCity, + [JsonProperty("SELECTED_OTHER_HOTEL_OR_VENUE")] SelectedOtherHotelOrVenue, + [JsonProperty("SIZE_OF_MEETING_SPACE")] SizeOfMeetingSpace, + [JsonProperty("GUEST_ROOM_RATE_TOO_HIGH")] GuestRoomRateTooHigh, + [JsonProperty("GUEST_ROOMS_NO_LONGER_AVAILABLE")] GuestRoomsNoLongerAvailable, + [JsonProperty("GUEST_ROOMS_UNAVAILABLE")] GuestRoomsUnavailable, + [JsonProperty("SUITE_AVAILABILITY")] SuiteAvailability, + [JsonProperty("TOO_SPACE_INTENSIVE")] TooSpaceIntensive, + [JsonProperty("VENUE_PERMANENTLY_CLOSED")] VenuePermanentlyClosed, + [JsonProperty("VENUE_TEMPORARILY_CLOSED")] VenueTemporarilyClosed, + [JsonProperty("VENUE_TOO_SMALL")] VenueTooSmall, + } + + public static class RfpResponseReasonExtension + { + public static string Value(this RfpResponseReason value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static RfpResponseReason ToEnum(this string value) + { + foreach (var field in typeof(RfpResponseReason).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 RfpResponseReason) + { + return (RfpResponseReason)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum RfpResponseReason"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpResponseReasonJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpResponseReasonJson.cs deleted file mode 100644 index ba4895d4d..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RfpResponseReasonJson.cs +++ /dev/null @@ -1,96 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Reason given for a response to an RFP. - /// - public enum RfpResponseReasonJson - { - [JsonProperty("BOOKED_ANOTHER_VENUE_OR_DESTINATION")] BookedAnotherVenueOrDestination, - [JsonProperty("CLIENT_BOOKED_DIRECTLY")] ClientBookedDirectly, - [JsonProperty("COMPETITOR_CONTRACT_AGREEMENT")] CompetitorContractAgreement, - [JsonProperty("DATES_OR_PATTERN")] DatesOrPattern, - [JsonProperty("DECISION_DATE_PASSED")] DecisionDatePassed, - [JsonProperty("DID_NOT_MEET_REQUIREMENTS")] DidNotMeetRequirements, - [JsonProperty("EPIDEMIC_OR_PANDEMIC")] EpidemicOrPandemic, - [JsonProperty("EVENT_CANCELLED")] EventCancelled, - [JsonProperty("EVENT_POSTPONED")] EventPostponed, - [JsonProperty("FOOD_AND_BEVERAGE_MINIMUM_TOO_HIGH")] FoodAndBeverageMinimumTooHigh, - [JsonProperty("FOOD_AND_BEVERAGE_TOO_LOW")] FoodAndBeverageTooLow, - [JsonProperty("INCOMPLETE_RFP")] IncompleteRfp, - [JsonProperty("LATE_RESPONSE")] LateResponse, - [JsonProperty("LOW_BUDGET")] LowBudget, - [JsonProperty("MEDICAL_EMERGENCY")] MedicalEmergency, - [JsonProperty("MEETING_ROOM_RENTAL_TOO_HIGH")] MeetingRoomRentalTooHigh, - [JsonProperty("MEETING_SPACE_CEILING_HEIGHT")] MeetingSpaceCeilingHeight, - [JsonProperty("MEETING_SPACE_NO_LONGER_AVAILABLE")] MeetingSpaceNoLongerAvailable, - [JsonProperty("MEETING_SPACE_UNAVAILABLE")] MeetingSpaceUnavailable, - [JsonProperty("NATURAL_DISASTER")] NaturalDisaster, - [JsonProperty("NO_FOOD_AND_BEVERAGE")] NoFoodAndBeverage, - [JsonProperty("OTHER")] Other, - [JsonProperty("POLITICAL_OR_CIVIL_UNREST")] PoliticalOrCivilUnrest, - [JsonProperty("PREFERRED_OR_ALTERNATE_DATES_UNAVAILABLE")] PreferredOrAlternateDatesUnavailable, - [JsonProperty("PROPERTY_AMENITIES_OR_SERVICES")] PropertyAmenitiesOrServices, - [JsonProperty("PROPERTY_LOCATION")] PropertyLocation, - [JsonProperty("RENOVATIONS")] Renovations, - [JsonProperty("REQUESTED_ROOM_RATE_TOO_LOW")] RequestedRoomRateTooLow, - [JsonProperty("REQUIREMENTS_CHANGED")] RequirementsChanged, - [JsonProperty("ROOMS_TO_SPACE_RATIO")] RoomsToSpaceRatio, - [JsonProperty("SELECTED_OTHER_CITY")] SelectedOtherCity, - [JsonProperty("SELECTED_OTHER_HOTEL_OR_VENUE")] SelectedOtherHotelOrVenue, - [JsonProperty("SIZE_OF_MEETING_SPACE")] SizeOfMeetingSpace, - [JsonProperty("GUEST_ROOM_RATE_TOO_HIGH")] GuestRoomRateTooHigh, - [JsonProperty("GUEST_ROOMS_NO_LONGER_AVAILABLE")] GuestRoomsNoLongerAvailable, - [JsonProperty("GUEST_ROOMS_UNAVAILABLE")] GuestRoomsUnavailable, - [JsonProperty("SUITE_AVAILABILITY")] SuiteAvailability, - [JsonProperty("TOO_SPACE_INTENSIVE")] TooSpaceIntensive, - [JsonProperty("VENUE_PERMANENTLY_CLOSED")] VenuePermanentlyClosed, - [JsonProperty("VENUE_TEMPORARILY_CLOSED")] VenueTemporarilyClosed, - [JsonProperty("VENUE_TOO_SMALL")] VenueTooSmall, - } - - public static class RfpResponseReasonJsonExtension - { - public static string Value(this RfpResponseReasonJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static RfpResponseReasonJson ToEnum(this string value) - { - foreach (var field in typeof(RfpResponseReasonJson).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 RfpResponseReasonJson) - { - return (RfpResponseReasonJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum RfpResponseReasonJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpStatus1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpStatus1.cs new file mode 100644 index 000000000..bb4796f27 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RfpStatus1.cs @@ -0,0 +1,62 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Represents state of the RFP. + /// + public enum RfpStatus1 + { + [JsonProperty("PENDING")] Pending, + [JsonProperty("ACTIVE")] Active, + [JsonProperty("AWARDED")] Awarded, + [JsonProperty("DRAFT")] Draft, + [JsonProperty("HISTORIC")] Historic, + [JsonProperty("CANCELLED")] Cancelled, + [JsonProperty("DELETED")] Deleted, + } + + public static class RfpStatus1Extension + { + public static string Value(this RfpStatus1 value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static RfpStatus1 ToEnum(this string value) + { + foreach (var field in typeof(RfpStatus1).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 RfpStatus1) + { + return (RfpStatus1)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum RfpStatus1"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpStatusJson0.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpStatusJson0.cs deleted file mode 100644 index 721c7b0d6..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RfpStatusJson0.cs +++ /dev/null @@ -1,62 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Represents state of the RFP. - /// - public enum RfpStatusJson0 - { - [JsonProperty("PENDING")] Pending, - [JsonProperty("ACTIVE")] Active, - [JsonProperty("AWARDED")] Awarded, - [JsonProperty("DRAFT")] Draft, - [JsonProperty("HISTORIC")] Historic, - [JsonProperty("CANCELLED")] Cancelled, - [JsonProperty("DELETED")] Deleted, - } - - public static class RfpStatusJson0Extension - { - public static string Value(this RfpStatusJson0 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static RfpStatusJson0 ToEnum(this string value) - { - foreach (var field in typeof(RfpStatusJson0).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 RfpStatusJson0) - { - return (RfpStatusJson0)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum RfpStatusJson0"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpSupplier.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpSupplier.cs new file mode 100644 index 000000000..8e425c96d --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RfpSupplier.cs @@ -0,0 +1,187 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Supplier data for an RFP. + /// + public class RfpSupplier + { + /// + /// 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; } + + /// + /// The supplier associated with the RFP. + /// + [JsonProperty("supplier")] + public ReferenceToSupplier? Supplier { get; set; } + + [JsonProperty("rfp")] + public ReferenceToRFP? Rfp { get; set; } + + /// + /// External supplier associated with the RFP. If planners cannot find a supplier in Cvent, they can add the supplier by providing the name when awarding the RFP. + /// + [JsonProperty("externalSupplier")] + public ExternalSupplier? ExternalSupplier { get; set; } + + [JsonProperty("associatedAdvertisements")] + public SupplierAssociatedAds? AssociatedAdvertisements { get; set; } + + /// + /// True indicates that proposal creation is in progress by supplier. + /// + [JsonProperty("proposalInProgress")] + public bool? ProposalInProgress { get; set; } + + /// + /// Internal note by planner for supplier. This is not visible to the supplier. + /// + [JsonProperty("internalNote")] + public string? InternalNote { get; set; } + + [JsonProperty("leadSource")] + public RfpSupplierLeadSource? LeadSource { get; set; } + + /// + /// True indicates the largest meeting room criteria is met. + /// + [JsonProperty("largestMeetingRoomMet")] + public bool? LargestMeetingRoomMet { get; set; } + + /// + /// True indicates the number of guest rooms criteria is met. + /// + [JsonProperty("numberOfGuestRoomsMet")] + public bool? NumberOfGuestRoomsMet { get; set; } + + /// + /// True indicates the total meeting space criteria is met. + /// + [JsonProperty("totalMeetingSpaceMet")] + public bool? TotalMeetingSpaceMet { get; set; } + + /// + /// Promotion applied by planner while adding supplier on RFP. + /// + [JsonProperty("promotion")] + public Promotion? Promotion { get; set; } + + /// + /// Recommendations added by planner for supplier. + /// + [JsonProperty("recommendationNote")] + public string? RecommendationNote { get; set; } + + /// + /// Shortlisted order for the supplier. + /// + [JsonProperty("shortlistOrder")] + public long? ShortlistOrder { get; set; } + + /// + /// True indicates the supplier was added by using RFP showcase feature. + /// + [JsonProperty("showcase")] + public bool? Showcase { get; set; } + + /// + /// True indicates the RFP is starred by supplier. This is not visible to the planner. + /// + [JsonProperty("starred")] + public bool? Starred { get; set; } + + [JsonProperty("status")] + public RfpSupplierStatus? Status { get; set; } + + /// + /// The ISO 8601 date time (in UTC) when the status was last changed. + /// + [JsonProperty("statusChangedDateTime")] + public DateTime? StatusChangedDateTime { get; set; } + + /// + /// Name of the recipient associated with supplier who responded to the RFP. + /// + [JsonProperty("responder")] + public string? Responder { get; set; } + + [JsonProperty("response")] + public SupplierResponse? Response { get; set; } + + /// + /// Unique identifier for proposal created by supplier in the external system where it originated. + /// + [JsonProperty("externalProposalId")] + public string? ExternalProposalId { get; set; } + + /// + /// Unique identifier for RFP in the external system where it originated. + /// + [JsonProperty("externalId")] + public string? ExternalId { get; set; } + + /// + /// The unique identifier generated when supplier forwards the RFP to other suppliers. + /// + [JsonProperty("forwardId")] + public string? ForwardId { get; set; } + + /// + /// The ISO 8601 date time (in UTC) when the RFP was last sent to the supplier. + /// + [JsonProperty("lastSentDateTime")] + public DateTime? LastSentDateTime { get; set; } + + /// + /// The ISO 8601 date time (in UTC) when the RFP was last viewed by the supplier. + /// + [JsonProperty("lastViewedDateTime")] + public DateTime? LastViewedDateTime { get; set; } + + /// + /// The ISO 8601 date time (in UTC) when the RFP was originally sent to the supplier. + /// + [JsonProperty("sentDateTime")] + public DateTime? SentDateTime { get; set; } + + /// + /// True indicates the RFP was sent to NSO (National Sales Office) associated with supplier. + /// + [JsonProperty("sentToNso")] + public bool? SentToNso { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpSupplierJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpSupplierJson.cs deleted file mode 100644 index dad1cc080..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RfpSupplierJson.cs +++ /dev/null @@ -1,187 +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; - using System; - - /// - /// Supplier data for an RFP. - /// - public class RfpSupplierJson - { - /// - /// 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; } - - /// - /// The supplier associated with the RFP. - /// - [JsonProperty("supplier")] - public ReferenceToSupplier Supplier { get; set; } = default!; - - [JsonProperty("rfp")] - public ReferenceToRFP? Rfp { get; set; } - - /// - /// External supplier associated with the RFP. If planners cannot find a supplier in Cvent, they can add the supplier by providing the name when awarding the RFP. - /// - [JsonProperty("externalSupplier")] - public ExternalSupplier? ExternalSupplier { get; set; } - - [JsonProperty("associatedAdvertisements")] - public SupplierAssociatedAds? AssociatedAdvertisements { get; set; } - - /// - /// True indicates that proposal creation is in progress by supplier. - /// - [JsonProperty("proposalInProgress")] - public bool? ProposalInProgress { get; set; } - - /// - /// Internal note by planner for supplier. This is not visible to the supplier. - /// - [JsonProperty("internalNote")] - public string? InternalNote { get; set; } - - [JsonProperty("leadSource")] - public LeadSource? LeadSource { get; set; } - - /// - /// True indicates the largest meeting room criteria is met. - /// - [JsonProperty("largestMeetingRoomMet")] - public bool? LargestMeetingRoomMet { get; set; } - - /// - /// True indicates the number of guest rooms criteria is met. - /// - [JsonProperty("numberOfGuestRoomsMet")] - public bool? NumberOfGuestRoomsMet { get; set; } - - /// - /// True indicates the total meeting space criteria is met. - /// - [JsonProperty("totalMeetingSpaceMet")] - public bool? TotalMeetingSpaceMet { get; set; } - - /// - /// Promotion applied by planner while adding supplier on RFP. - /// - [JsonProperty("promotion")] - public Promotion? Promotion { get; set; } - - /// - /// Recommendations added by planner for supplier. - /// - [JsonProperty("recommendationNote")] - public string? RecommendationNote { get; set; } - - /// - /// Shortlisted order for the supplier. - /// - [JsonProperty("shortlistOrder")] - public long? ShortlistOrder { get; set; } - - /// - /// True indicates the supplier was added by using RFP showcase feature. - /// - [JsonProperty("showcase")] - public bool? Showcase { get; set; } - - /// - /// True indicates the RFP is starred by supplier. This is not visible to the planner. - /// - [JsonProperty("starred")] - public bool? Starred { get; set; } - - [JsonProperty("status")] - public RfpSupplierStatus? Status { get; set; } - - /// - /// The ISO 8601 date time (in UTC) when the status was last changed. - /// - [JsonProperty("statusChangedDateTime")] - public DateTime? StatusChangedDateTime { get; set; } - - /// - /// Name of the recipient associated with supplier who responded to the RFP. - /// - [JsonProperty("responder")] - public string? Responder { get; set; } - - [JsonProperty("response")] - public SupplierResponse? Response { get; set; } - - /// - /// Unique identifier for proposal created by supplier in the external system where it originated. - /// - [JsonProperty("externalProposalId")] - public string? ExternalProposalId { get; set; } - - /// - /// Unique identifier for RFP in the external system where it originated. - /// - [JsonProperty("externalId")] - public string? ExternalId { get; set; } - - /// - /// The unique identifier generated when supplier forwards the RFP to other suppliers. - /// - [JsonProperty("forwardId")] - public string? ForwardId { get; set; } - - /// - /// The ISO 8601 date time (in UTC) when the RFP was last sent to the supplier. - /// - [JsonProperty("lastSentDateTime")] - public DateTime? LastSentDateTime { get; set; } - - /// - /// The ISO 8601 date time (in UTC) when the RFP was last viewed by the supplier. - /// - [JsonProperty("lastViewedDateTime")] - public DateTime? LastViewedDateTime { get; set; } - - /// - /// The ISO 8601 date time (in UTC) when the RFP was originally sent to the supplier. - /// - [JsonProperty("sentDateTime")] - public DateTime? SentDateTime { get; set; } - - /// - /// True indicates the RFP was sent to NSO (National Sales Office) associated with supplier. - /// - [JsonProperty("sentToNso")] - public bool? SentToNso { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpSupplierLeadSource.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpSupplierLeadSource.cs new file mode 100644 index 000000000..d1dc11ac2 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RfpSupplierLeadSource.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Lead source details. + /// + public class RfpSupplierLeadSource + { + /// + /// Unique identifier for source generating the RFP. Details about this lead source can be fetched using lead source API. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// Represents lead source section details, which is a sub area of source generating the RFP. + /// + [JsonProperty("section")] + public LeadSourceSection? Section { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpType1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpType1.cs new file mode 100644 index 000000000..3d767e66f --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RfpType1.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; + + /// + /// RFP types based on event requirements. + /// + public enum RfpType1 + { + [JsonProperty("MEETING_SPACE_AND_GUEST_ROOMS")] MeetingSpaceAndGuestRooms, + [JsonProperty("MEETING_SPACE_ONLY")] MeetingSpaceOnly, + [JsonProperty("GUEST_ROOMS_ONLY")] GuestRoomsOnly, + [JsonProperty("RESTAURANT_RFP")] RestaurantRfp, + [JsonProperty("SERVICE_PROVIDER")] ServiceProvider, + } + + public static class RfpType1Extension + { + public static string Value(this RfpType1 value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static RfpType1 ToEnum(this string value) + { + foreach (var field in typeof(RfpType1).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 RfpType1) + { + return (RfpType1)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum RfpType1"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpTypeJson0.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpTypeJson0.cs deleted file mode 100644 index 96b582f94..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RfpTypeJson0.cs +++ /dev/null @@ -1,60 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// RFP types based on event requirements. - /// - public enum RfpTypeJson0 - { - [JsonProperty("MEETING_SPACE_AND_GUEST_ROOMS")] MeetingSpaceAndGuestRooms, - [JsonProperty("MEETING_SPACE_ONLY")] MeetingSpaceOnly, - [JsonProperty("GUEST_ROOMS_ONLY")] GuestRoomsOnly, - [JsonProperty("RESTAURANT_RFP")] RestaurantRfp, - [JsonProperty("SERVICE_PROVIDER")] ServiceProvider, - } - - public static class RfpTypeJson0Extension - { - public static string Value(this RfpTypeJson0 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static RfpTypeJson0 ToEnum(this string value) - { - foreach (var field in typeof(RfpTypeJson0).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 RfpTypeJson0) - { - return (RfpTypeJson0)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum RfpTypeJson0"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RoomBedTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RoomBedTypeJson.cs new file mode 100644 index 000000000..0680c0440 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RoomBedTypeJson.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; + + /// + /// Code representing the bed type. + /// + public enum RoomBedTypeJson + { + [JsonProperty("sofa_bed")] SofaBed, + [JsonProperty("double")] Double, + [JsonProperty("full")] Full, + [JsonProperty("king")] King, + [JsonProperty("murphy")] Murphy, + [JsonProperty("queen")] Queen, + [JsonProperty("run_of_house")] RunOfHouse, + [JsonProperty("single")] Single, + [JsonProperty("twin")] Twin, + } + + public static class RoomBedTypeJsonExtension + { + public static string Value(this RoomBedTypeJson value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static RoomBedTypeJson ToEnum(this string value) + { + foreach (var field in typeof(RoomBedTypeJson).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 RoomBedTypeJson) + { + return (RoomBedTypeJson)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum RoomBedTypeJson"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RoomBedTypeJson1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RoomBedTypeJson1.cs deleted file mode 100644 index 4e5b763c4..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RoomBedTypeJson1.cs +++ /dev/null @@ -1,64 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Code representing the bed type. - /// - public enum RoomBedTypeJson1 - { - [JsonProperty("sofa_bed")] SofaBed, - [JsonProperty("double")] Double, - [JsonProperty("full")] Full, - [JsonProperty("king")] King, - [JsonProperty("murphy")] Murphy, - [JsonProperty("queen")] Queen, - [JsonProperty("run_of_house")] RunOfHouse, - [JsonProperty("single")] Single, - [JsonProperty("twin")] Twin, - } - - public static class RoomBedTypeJson1Extension - { - public static string Value(this RoomBedTypeJson1 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static RoomBedTypeJson1 ToEnum(this string value) - { - foreach (var field in typeof(RoomBedTypeJson1).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 RoomBedTypeJson1) - { - return (RoomBedTypeJson1)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum RoomBedTypeJson1"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RoomBlock.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RoomBlock.cs new file mode 100644 index 000000000..2c8b87ddc --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RoomBlock.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Contains details related to room allotment for a day. + /// + public class RoomBlock + { + /// + /// Unique identifier for the room block. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// The ISO 8601 date when the rooms are required. + /// + [JsonProperty("date")] + public DateOnly? Date { get; set; } + + /// + /// Counter for day number. + /// + [JsonProperty("dayNumber")] + public long? DayNumber { get; set; } + + /// + /// Total number of rooms required for the day. + /// + [JsonProperty("totalRooms")] + public long? TotalRooms { get; set; } + + /// + /// Contains detail of quantity required for each room type. + /// + [JsonProperty("details")] + public List? Details { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RoomBlockDetails.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RoomBlockDetails.cs new file mode 100644 index 000000000..b18474354 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RoomBlockDetails.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Contains details related to room allotment for a room type. + /// + public class RoomBlockDetails + { + /// + /// Quantity of rooms required. + /// + [JsonProperty("quantity")] + public long? Quantity { get; set; } + + /// + /// 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; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RoomBlockDetailsJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RoomBlockDetailsJson.cs deleted file mode 100644 index 08f20c0b8..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RoomBlockDetailsJson.cs +++ /dev/null @@ -1,33 +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; - - /// - /// Contains details related to room allotment for a room type. - /// - public class RoomBlockDetailsJson - { - /// - /// Quantity of rooms required. - /// - [JsonProperty("quantity")] - public long? Quantity { get; set; } - - /// - /// 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 GuestRoomTypeJson? Type { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RoomBlockJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RoomBlockJson.cs deleted file mode 100644 index 4b26e7526..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RoomBlockJson.cs +++ /dev/null @@ -1,53 +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; - using System; - using System.Collections.Generic; - - /// - /// Contains details related to room allotment for a day. - /// - public class RoomBlockJson - { - /// - /// Unique identifier for the room block. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// The ISO 8601 date when the rooms are required. - /// - [JsonProperty("date")] - public DateOnly? Date { get; set; } - - /// - /// Counter for day number. - /// - [JsonProperty("dayNumber")] - public long? DayNumber { get; set; } - - /// - /// Total number of rooms required for the day. - /// - [JsonProperty("totalRooms")] - public long? TotalRooms { get; set; } - - /// - /// Contains detail of quantity required for each room type. - /// - [JsonProperty("details")] - public List? Details { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ScoresJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ScoresJson.cs index 3054073ad..f9749f30c 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ScoresJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ScoresJson.cs @@ -53,7 +53,7 @@ public class ScoresJson /// An event reference used in attendee insights to identify the event context for engagement data. ///
[JsonProperty("event")] - public EventJson6 Event { get; set; } = default!; + public EventJson5 Event { get; set; } = default!; /// /// The number of points earned by an attendee in this engagement score. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SendEmailEventRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SendEmailEventRequest.cs index 9c9bb3f8f..0072cea66 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SendEmailEventRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SendEmailEventRequest.cs @@ -23,7 +23,7 @@ public class SendEmailEventRequest /// Details of the event. /// [JsonProperty("event")] - public EventJson8 Event { get; set; } = default!; + public EventJson6 Event { get; set; } = default!; /// /// Details of an email to be send. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SendEmailEventResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SendEmailEventResponse.cs index 404c24b32..afb3313c4 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SendEmailEventResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SendEmailEventResponse.cs @@ -66,7 +66,7 @@ public class SendEmailEventResponse /// Details of the event. /// [JsonProperty("event")] - public EventJson8 Event { get; set; } = default!; + public EventJson6 Event { get; set; } = default!; /// /// Details of an email to be send. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SessionLite.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SessionLite.cs new file mode 100644 index 000000000..083e2c367 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SessionLite.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The unique identifier of a session. + /// + public class SessionLite + { + /// + /// The unique identifier for a session. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SessionLiteJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SessionLiteJson.cs deleted file mode 100644 index cee8bb34f..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SessionLiteJson.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// The unique identifier of a session. - /// - public class SessionLiteJson - { - /// - /// The unique identifier for a session. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SessionQaMessage.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SessionQaMessage.cs index 5092b114d..d670af035 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SessionQaMessage.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SessionQaMessage.cs @@ -39,6 +39,6 @@ public class SessionQaMessage /// Question details. /// [JsonProperty("question")] - public QuestionJson1 Question { get; set; } = default!; + public QuestionJson Question { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SessionSpeaker.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SessionSpeaker.cs new file mode 100644 index 000000000..66661d1b1 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SessionSpeaker.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// +// 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 session speaker. + /// + public class SessionSpeaker + { + /// + /// A string that has to be a format matching the industry standard uuid. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// The unique identifier of a session. + /// + [JsonProperty("session")] + public SessionLite? Session { get; set; } + + /// + /// A defined speaker category. + /// + [JsonProperty("category")] + public SpeakerCategory1? Category { get; set; } + + /// + /// The order of the speaker in a session. + /// + [JsonProperty("order")] + public long? Order { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SessionSpeakerJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SessionSpeakerJson.cs deleted file mode 100644 index 17cef9c62..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SessionSpeakerJson.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 session speaker. - /// - public class SessionSpeakerJson - { - /// - /// A string that has to be a format matching the industry standard uuid. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// The unique identifier of a session. - /// - [JsonProperty("session")] - public SessionLiteJson? Session { get; set; } - - /// - /// A defined speaker category. - /// - [JsonProperty("category")] - public CategoryIdNameJson? Category { get; set; } - - /// - /// The order of the speaker in a session. - /// - [JsonProperty("order")] - public long? Order { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SessionSpeakerPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SessionSpeakerPaginatedResponse.cs index 26e2d7fac..0d1049699 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SessionSpeakerPaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SessionSpeakerPaginatedResponse.cs @@ -23,12 +23,12 @@ public class SessionSpeakerPaginatedResponse /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson Paging { get; set; } = default!; + public Paging Paging { get; set; } = default!; /// /// Collection of a session's speakers. /// [JsonProperty("data")] - public List Data { get; set; } = default!; + public List Data { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SleepingRoomBlockJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SleepingRoomBlockJson.cs index 2fe3364d9..9e96ee59d 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SleepingRoomBlockJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SleepingRoomBlockJson.cs @@ -23,7 +23,7 @@ public class SleepingRoomBlockJson /// The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). /// [JsonProperty("proposalDateType")] - public DateTypeJson1? ProposalDateType { get; set; } = Cvent.SDK.Models.Components.DateTypeJson1.Preferred; + public DateTypeJson? ProposalDateType { get; set; } = Cvent.SDK.Models.Components.DateTypeJson.Preferred; /// /// Sleeping room type. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SleepingRoomJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SleepingRoomJson.cs index 177d92d00..f780c8798 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SleepingRoomJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SleepingRoomJson.cs @@ -24,7 +24,7 @@ public class SleepingRoomJson /// The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). /// [JsonProperty("proposalDateType")] - public DateTypeJson1? ProposalDateType { get; set; } = Cvent.SDK.Models.Components.DateTypeJson1.Preferred; + public DateTypeJson? ProposalDateType { get; set; } = Cvent.SDK.Models.Components.DateTypeJson.Preferred; /// /// The check in date for attendees. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Solution.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Solution.cs new file mode 100644 index 000000000..dcb9bd05e --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Solution.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.Utils; + using Newtonsoft.Json; + using System; + + /// + /// The solution where the video exists. Attendee Hub and Events+ represent two different solutions where the video can be found. + /// + public enum Solution + { + [JsonProperty("ATTENDEE_HUB")] AttendeeHub, + [JsonProperty("EVENTS_PLUS")] EventsPlus, + } + + public static class SolutionExtension + { + public static string Value(this Solution value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static Solution ToEnum(this string value) + { + foreach (var field in typeof(Solution).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 Solution) + { + return (Solution)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum Solution"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SolutionJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SolutionJson.cs deleted file mode 100644 index e029eb8f9..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SolutionJson.cs +++ /dev/null @@ -1,57 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// The solution where the video exists. Attendee Hub and Events+ represent two different solutions where the video can be found. - /// - public enum SolutionJson - { - [JsonProperty("ATTENDEE_HUB")] AttendeeHub, - [JsonProperty("EVENTS_PLUS")] EventsPlus, - } - - public static class SolutionJsonExtension - { - public static string Value(this SolutionJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static SolutionJson ToEnum(this string value) - { - foreach (var field in typeof(SolutionJson).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 SolutionJson) - { - return (SolutionJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum SolutionJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SpaceArea.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SpaceArea.cs new file mode 100644 index 000000000..bfc132395 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SpaceArea.cs @@ -0,0 +1,129 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Space area divisons. + /// + public enum SpaceArea + { + [JsonProperty("LESS_THAN_ONE_THOUSAND_SQ_FT")] LessThanOneThousandSqFt, + [JsonProperty("ONE_THOUSAND_SQ_FT")] OneThousandSqFt, + [JsonProperty("TWO_THOUSAND_SQ_FT")] TwoThousandSqFt, + [JsonProperty("THREE_THOUSAND_SQ_FT")] ThreeThousandSqFt, + [JsonProperty("FOUR_THOUSAND_SQ_FT")] FourThousandSqFt, + [JsonProperty("FIVE_THOUSAND_SQ_FT")] FiveThousandSqFt, + [JsonProperty("SIX_THOUSAND_SQ_FT")] SixThousandSqFt, + [JsonProperty("SEVEN_THOUSAND_SQ_FT")] SevenThousandSqFt, + [JsonProperty("EIGHT_THOUSAND_SQ_FT")] EightThousandSqFt, + [JsonProperty("NINE_THOUSAND_SQ_FT")] NineThousandSqFt, + [JsonProperty("TEN_THOUSAND_SQ_FT")] TenThousandSqFt, + [JsonProperty("ELEVEN_THOUSAND_SQ_FT")] ElevenThousandSqFt, + [JsonProperty("TWELVE_THOUSAND_SQ_FT")] TwelveThousandSqFt, + [JsonProperty("THIRTEEN_THOUSAND_SQ_FT")] ThirteenThousandSqFt, + [JsonProperty("FOURTEEN_THOUSAND_SQ_FT")] FourteenThousandSqFt, + [JsonProperty("FIFTEEN_THOUSAND_SQ_FT")] FifteenThousandSqFt, + [JsonProperty("SIXTEEN_THOUSAND_SQ_FT")] SixteenThousandSqFt, + [JsonProperty("SEVENTEEN_THOUSAND_SQ_FT")] SeventeenThousandSqFt, + [JsonProperty("EIGHTEEN_THOUSAND_SQ_FT")] EighteenThousandSqFt, + [JsonProperty("NINETEEN_THOUSAND_SQ_FT")] NineteenThousandSqFt, + [JsonProperty("TWENTY_THOUSAND_SQ_FT")] TwentyThousandSqFt, + [JsonProperty("TWENTY_FIVE_THOUSAND_SQ_FT")] TwentyFiveThousandSqFt, + [JsonProperty("THIRTY_THOUSAND_SQ_FT")] ThirtyThousandSqFt, + [JsonProperty("THIRTY_FIVE_THOUSAND_SQ_FT")] ThirtyFiveThousandSqFt, + [JsonProperty("FORTY_THOUSAND_SQ_FT")] FortyThousandSqFt, + [JsonProperty("FORTY_FIVE_THOUSAND_SQ_FT")] FortyFiveThousandSqFt, + [JsonProperty("FIFTY_THOUSAND_SQ_FT")] FiftyThousandSqFt, + [JsonProperty("FIFTY_FIVE_THOUSAND_SQ_FT")] FiftyFiveThousandSqFt, + [JsonProperty("SIXTY_THOUSAND_SQ_FT")] SixtyThousandSqFt, + [JsonProperty("SIXTY_FIVE_THOUSAND_SQ_FT")] SixtyFiveThousandSqFt, + [JsonProperty("SEVENTY_THOUSAND_SQ_FT")] SeventyThousandSqFt, + [JsonProperty("SEVENTY_FIVE_THOUSAND_SQ_FT")] SeventyFiveThousandSqFt, + [JsonProperty("EIGHTY_THOUSAND_SQ_FT")] EightyThousandSqFt, + [JsonProperty("EIGHTY_FIVE_THOUSAND_SQ_FT")] EightyFiveThousandSqFt, + [JsonProperty("NINETY_THOUSAND_SQ_FT")] NinetyThousandSqFt, + [JsonProperty("ONE_HUNDRED_THOUSAND_SQ_FT")] OneHundredThousandSqFt, + [JsonProperty("GREATER_THAN_ONE_HUNDRED_THOUSAND_SQ_FT")] GreaterThanOneHundredThousandSqFt, + [JsonProperty("LESS_THAN_ONE_HUNDRED_SQ_MTR")] LessThanOneHundredSqMtr, + [JsonProperty("ONE_HUNDRED_SQ_MTR")] OneHundredSqMtr, + [JsonProperty("TWO_HUNDRED_SQ_MTR")] TwoHundredSqMtr, + [JsonProperty("THREE_HUNDRED_SQ_MTR")] ThreeHundredSqMtr, + [JsonProperty("FOUR_HUNDRED_SQ_MTR")] FourHundredSqMtr, + [JsonProperty("FIVE_HUNDRED_SQ_MTR")] FiveHundredSqMtr, + [JsonProperty("SIX_HUNDRED_SQ_MTR")] SixHundredSqMtr, + [JsonProperty("SEVEN_HUNDRED_SQ_MTR")] SevenHundredSqMtr, + [JsonProperty("EIGHT_HUNDRED_SQ_MTR")] EightHundredSqMtr, + [JsonProperty("NINE_HUNDRED_SQ_MTR")] NineHundredSqMtr, + [JsonProperty("ONE_THOUSAND_SQ_MTR")] OneThousandSqMtr, + [JsonProperty("ELEVEN_HUNDRED_SQ_MTR")] ElevenHundredSqMtr, + [JsonProperty("TWELVE_HUNDRED_SQ_MTR")] TwelveHundredSqMtr, + [JsonProperty("THIRTEEN_HUNDRED_SQ_MTR")] ThirteenHundredSqMtr, + [JsonProperty("FOURTEEN_HUNDRED_SQ_MTR")] FourteenHundredSqMtr, + [JsonProperty("FIFTEEN_HUNDRED_SQ_MTR")] FifteenHundredSqMtr, + [JsonProperty("SIXTEEN_HUNDRED_SQ_MTR")] SixteenHundredSqMtr, + [JsonProperty("SEVENTEEN_HUNDRED_SQ_MTR")] SeventeenHundredSqMtr, + [JsonProperty("EIGHTEEN_HUNDRED_SQ_MTR")] EighteenHundredSqMtr, + [JsonProperty("NINETEEN_HUNDRED_SQ_MTR")] NineteenHundredSqMtr, + [JsonProperty("TWO_THOUSAND_SQ_MTR")] TwoThousandSqMtr, + [JsonProperty("TWENTY_FIVE_HUNDRED_SQ_MTR")] TwentyFiveHundredSqMtr, + [JsonProperty("THREE_THOUSAND_SQ_MTR")] ThreeThousandSqMtr, + [JsonProperty("THIRTY_FIVE_HUNDRED_SQ_MTR")] ThirtyFiveHundredSqMtr, + [JsonProperty("FOUR_THOUSAND_SQ_MTR")] FourThousandSqMtr, + [JsonProperty("FORTY_FIVE_HUNDRED_SQ_MTR")] FortyFiveHundredSqMtr, + [JsonProperty("FIVE_THOUSAND_SQ_MTR")] FiveThousandSqMtr, + [JsonProperty("FIFTY_FIVE_HUNDRED_SQ_MTR")] FiftyFiveHundredSqMtr, + [JsonProperty("SIX_THOUSAND_SQ_MTR")] SixThousandSqMtr, + [JsonProperty("SIXTY_FIVE_HUNDRED_SQ_MTR")] SixtyFiveHundredSqMtr, + [JsonProperty("SEVEN_THOUSAND_SQ_MTR")] SevenThousandSqMtr, + [JsonProperty("SEVENTY_FIVE_HUNDRED_SQ_MTR")] SeventyFiveHundredSqMtr, + [JsonProperty("EIGHT_THOUSAND_SQ_MTR")] EightThousandSqMtr, + [JsonProperty("EIGHTY_FIVE_HUNDRED_SQ_MTR")] EightyFiveHundredSqMtr, + [JsonProperty("NINE_THOUSAND_SQ_MTR")] NineThousandSqMtr, + [JsonProperty("TEN_THOUSAND_SQ_MTR")] TenThousandSqMtr, + [JsonProperty("GREATER_THAN_TEN_THOUSAND_SQ_MTR")] GreaterThanTenThousandSqMtr, + } + + public static class SpaceAreaExtension + { + public static string Value(this SpaceArea value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static SpaceArea ToEnum(this string value) + { + foreach (var field in typeof(SpaceArea).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 SpaceArea) + { + return (SpaceArea)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum SpaceArea"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SpaceAreaJson0.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SpaceAreaJson0.cs deleted file mode 100644 index cad759767..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SpaceAreaJson0.cs +++ /dev/null @@ -1,129 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Space area divisons. - /// - public enum SpaceAreaJson0 - { - [JsonProperty("LESS_THAN_ONE_THOUSAND_SQ_FT")] LessThanOneThousandSqFt, - [JsonProperty("ONE_THOUSAND_SQ_FT")] OneThousandSqFt, - [JsonProperty("TWO_THOUSAND_SQ_FT")] TwoThousandSqFt, - [JsonProperty("THREE_THOUSAND_SQ_FT")] ThreeThousandSqFt, - [JsonProperty("FOUR_THOUSAND_SQ_FT")] FourThousandSqFt, - [JsonProperty("FIVE_THOUSAND_SQ_FT")] FiveThousandSqFt, - [JsonProperty("SIX_THOUSAND_SQ_FT")] SixThousandSqFt, - [JsonProperty("SEVEN_THOUSAND_SQ_FT")] SevenThousandSqFt, - [JsonProperty("EIGHT_THOUSAND_SQ_FT")] EightThousandSqFt, - [JsonProperty("NINE_THOUSAND_SQ_FT")] NineThousandSqFt, - [JsonProperty("TEN_THOUSAND_SQ_FT")] TenThousandSqFt, - [JsonProperty("ELEVEN_THOUSAND_SQ_FT")] ElevenThousandSqFt, - [JsonProperty("TWELVE_THOUSAND_SQ_FT")] TwelveThousandSqFt, - [JsonProperty("THIRTEEN_THOUSAND_SQ_FT")] ThirteenThousandSqFt, - [JsonProperty("FOURTEEN_THOUSAND_SQ_FT")] FourteenThousandSqFt, - [JsonProperty("FIFTEEN_THOUSAND_SQ_FT")] FifteenThousandSqFt, - [JsonProperty("SIXTEEN_THOUSAND_SQ_FT")] SixteenThousandSqFt, - [JsonProperty("SEVENTEEN_THOUSAND_SQ_FT")] SeventeenThousandSqFt, - [JsonProperty("EIGHTEEN_THOUSAND_SQ_FT")] EighteenThousandSqFt, - [JsonProperty("NINETEEN_THOUSAND_SQ_FT")] NineteenThousandSqFt, - [JsonProperty("TWENTY_THOUSAND_SQ_FT")] TwentyThousandSqFt, - [JsonProperty("TWENTY_FIVE_THOUSAND_SQ_FT")] TwentyFiveThousandSqFt, - [JsonProperty("THIRTY_THOUSAND_SQ_FT")] ThirtyThousandSqFt, - [JsonProperty("THIRTY_FIVE_THOUSAND_SQ_FT")] ThirtyFiveThousandSqFt, - [JsonProperty("FORTY_THOUSAND_SQ_FT")] FortyThousandSqFt, - [JsonProperty("FORTY_FIVE_THOUSAND_SQ_FT")] FortyFiveThousandSqFt, - [JsonProperty("FIFTY_THOUSAND_SQ_FT")] FiftyThousandSqFt, - [JsonProperty("FIFTY_FIVE_THOUSAND_SQ_FT")] FiftyFiveThousandSqFt, - [JsonProperty("SIXTY_THOUSAND_SQ_FT")] SixtyThousandSqFt, - [JsonProperty("SIXTY_FIVE_THOUSAND_SQ_FT")] SixtyFiveThousandSqFt, - [JsonProperty("SEVENTY_THOUSAND_SQ_FT")] SeventyThousandSqFt, - [JsonProperty("SEVENTY_FIVE_THOUSAND_SQ_FT")] SeventyFiveThousandSqFt, - [JsonProperty("EIGHTY_THOUSAND_SQ_FT")] EightyThousandSqFt, - [JsonProperty("EIGHTY_FIVE_THOUSAND_SQ_FT")] EightyFiveThousandSqFt, - [JsonProperty("NINETY_THOUSAND_SQ_FT")] NinetyThousandSqFt, - [JsonProperty("ONE_HUNDRED_THOUSAND_SQ_FT")] OneHundredThousandSqFt, - [JsonProperty("GREATER_THAN_ONE_HUNDRED_THOUSAND_SQ_FT")] GreaterThanOneHundredThousandSqFt, - [JsonProperty("LESS_THAN_ONE_HUNDRED_SQ_MTR")] LessThanOneHundredSqMtr, - [JsonProperty("ONE_HUNDRED_SQ_MTR")] OneHundredSqMtr, - [JsonProperty("TWO_HUNDRED_SQ_MTR")] TwoHundredSqMtr, - [JsonProperty("THREE_HUNDRED_SQ_MTR")] ThreeHundredSqMtr, - [JsonProperty("FOUR_HUNDRED_SQ_MTR")] FourHundredSqMtr, - [JsonProperty("FIVE_HUNDRED_SQ_MTR")] FiveHundredSqMtr, - [JsonProperty("SIX_HUNDRED_SQ_MTR")] SixHundredSqMtr, - [JsonProperty("SEVEN_HUNDRED_SQ_MTR")] SevenHundredSqMtr, - [JsonProperty("EIGHT_HUNDRED_SQ_MTR")] EightHundredSqMtr, - [JsonProperty("NINE_HUNDRED_SQ_MTR")] NineHundredSqMtr, - [JsonProperty("ONE_THOUSAND_SQ_MTR")] OneThousandSqMtr, - [JsonProperty("ELEVEN_HUNDRED_SQ_MTR")] ElevenHundredSqMtr, - [JsonProperty("TWELVE_HUNDRED_SQ_MTR")] TwelveHundredSqMtr, - [JsonProperty("THIRTEEN_HUNDRED_SQ_MTR")] ThirteenHundredSqMtr, - [JsonProperty("FOURTEEN_HUNDRED_SQ_MTR")] FourteenHundredSqMtr, - [JsonProperty("FIFTEEN_HUNDRED_SQ_MTR")] FifteenHundredSqMtr, - [JsonProperty("SIXTEEN_HUNDRED_SQ_MTR")] SixteenHundredSqMtr, - [JsonProperty("SEVENTEEN_HUNDRED_SQ_MTR")] SeventeenHundredSqMtr, - [JsonProperty("EIGHTEEN_HUNDRED_SQ_MTR")] EighteenHundredSqMtr, - [JsonProperty("NINETEEN_HUNDRED_SQ_MTR")] NineteenHundredSqMtr, - [JsonProperty("TWO_THOUSAND_SQ_MTR")] TwoThousandSqMtr, - [JsonProperty("TWENTY_FIVE_HUNDRED_SQ_MTR")] TwentyFiveHundredSqMtr, - [JsonProperty("THREE_THOUSAND_SQ_MTR")] ThreeThousandSqMtr, - [JsonProperty("THIRTY_FIVE_HUNDRED_SQ_MTR")] ThirtyFiveHundredSqMtr, - [JsonProperty("FOUR_THOUSAND_SQ_MTR")] FourThousandSqMtr, - [JsonProperty("FORTY_FIVE_HUNDRED_SQ_MTR")] FortyFiveHundredSqMtr, - [JsonProperty("FIVE_THOUSAND_SQ_MTR")] FiveThousandSqMtr, - [JsonProperty("FIFTY_FIVE_HUNDRED_SQ_MTR")] FiftyFiveHundredSqMtr, - [JsonProperty("SIX_THOUSAND_SQ_MTR")] SixThousandSqMtr, - [JsonProperty("SIXTY_FIVE_HUNDRED_SQ_MTR")] SixtyFiveHundredSqMtr, - [JsonProperty("SEVEN_THOUSAND_SQ_MTR")] SevenThousandSqMtr, - [JsonProperty("SEVENTY_FIVE_HUNDRED_SQ_MTR")] SeventyFiveHundredSqMtr, - [JsonProperty("EIGHT_THOUSAND_SQ_MTR")] EightThousandSqMtr, - [JsonProperty("EIGHTY_FIVE_HUNDRED_SQ_MTR")] EightyFiveHundredSqMtr, - [JsonProperty("NINE_THOUSAND_SQ_MTR")] NineThousandSqMtr, - [JsonProperty("TEN_THOUSAND_SQ_MTR")] TenThousandSqMtr, - [JsonProperty("GREATER_THAN_TEN_THOUSAND_SQ_MTR")] GreaterThanTenThousandSqMtr, - } - - public static class SpaceAreaJson0Extension - { - public static string Value(this SpaceAreaJson0 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static SpaceAreaJson0 ToEnum(this string value) - { - foreach (var field in typeof(SpaceAreaJson0).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 SpaceAreaJson0) - { - return (SpaceAreaJson0)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum SpaceAreaJson0"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Speaker.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Speaker.cs index 27df04864..8345372b8 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Speaker.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Speaker.cs @@ -76,13 +76,13 @@ public class Speaker /// A defined speaker category. /// [JsonProperty("category")] - public CategoryIdNameJson? Category { get; set; } + public SpeakerCategory1? Category { get; set; } /// /// Collection of social media links for the contact. /// [JsonProperty("links")] - public ContactLinksJsonInput? Links { get; set; } + public ContactLinksInput? Links { get; set; } /// /// Indicates if a given speaker should be displayed on Event Website. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerCategory.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerCategory.cs deleted file mode 100644 index 874b5b565..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerCategory.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// A speaker category. - /// - public class SpeakerCategory - { - /// - /// The name of the speaker category. - /// - [JsonProperty("name")] - public string? Name { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerCategory1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerCategory1.cs new file mode 100644 index 000000000..796edc10d --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerCategory1.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// A defined speaker category. + /// + public class SpeakerCategory1 + { + /// + /// A string that has to be a format matching the industry standard uuid. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + + /// + /// The name of the speaker category. + /// + [JsonProperty("name")] + public string? Name { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerCategory2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerCategory2.cs new file mode 100644 index 000000000..a93698bb1 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerCategory2.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// A speaker category. + /// + public class SpeakerCategory2 + { + /// + /// The name of the speaker category. + /// + [JsonProperty("name")] + public string? Name { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerCategoryPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerCategoryPaginatedResponse.cs index 1334074ec..cd432caf0 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerCategoryPaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerCategoryPaginatedResponse.cs @@ -23,7 +23,7 @@ public class SpeakerCategoryPaginatedResponse /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson Paging { get; set; } = default!; + public Paging Paging { get; set; } = default!; /// /// Collection of speaker categories. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerDocumentPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerDocumentPaginatedResponse.cs index bf89dd143..576eb58ad 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerDocumentPaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerDocumentPaginatedResponse.cs @@ -23,7 +23,7 @@ public class SpeakerDocumentPaginatedResponse /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson Paging { get; set; } = default!; + public Paging Paging { get; set; } = default!; /// /// Collection of a speaker's documents. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerLite1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerLite1.cs new file mode 100644 index 000000000..3266eef40 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerLite1.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The unique identifier of a speaker. + /// + public class SpeakerLite1 + { + /// + /// The unique identifier for a speaker. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerLiteJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerLiteJson.cs deleted file mode 100644 index dd08e1578..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerLiteJson.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// The unique identifier of a speaker. - /// - public class SpeakerLiteJson - { - /// - /// The unique identifier for a speaker. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerPaginatedResponse.cs index 5ed9c0ae3..b3097cb96 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerPaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerPaginatedResponse.cs @@ -23,7 +23,7 @@ public class SpeakerPaginatedResponse /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson Paging { get; set; } = default!; + public Paging Paging { get; set; } = default!; /// /// Collection of speakers. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerProgramItem.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerProgramItem.cs index 147390f93..79d2bdd7a 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerProgramItem.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerProgramItem.cs @@ -53,24 +53,24 @@ public class SpeakerProgramItem /// The unique identifier of an event. /// [JsonProperty("event")] - public EventLiteJson Event { get; set; } = default!; + public EventLite Event { get; set; } = default!; /// /// The unique identifier of a session. /// [JsonProperty("session")] - public SessionLiteJson Session { get; set; } = default!; + public SessionLite Session { get; set; } = default!; /// /// The unique identifier of a speaker. /// [JsonProperty("speaker")] - public SpeakerLiteJson Speaker { get; set; } = default!; + public SpeakerLite Speaker { get; set; } = default!; /// /// The unique identifier of a program item. /// [JsonProperty("programItem")] - public ProgramItemLiteJson ProgramItem { get; set; } = default!; + public ProgramItemLite ProgramItem { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerSession.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerSession.cs index 2db0785fd..c8b631a14 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerSession.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SpeakerSession.cs @@ -28,7 +28,7 @@ public class SpeakerSession /// The unique identifier of a speaker. /// [JsonProperty("speaker")] - public SpeakerLite? Speaker { get; set; } + public SpeakerLite1? Speaker { get; set; } /// /// A Named object. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/StakeholderJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/StakeholderJson.cs index e05124a21..16aabfe25 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/StakeholderJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/StakeholderJson.cs @@ -167,7 +167,7 @@ public class StakeholderJson /// [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] [JsonProperty("customFields")] - public List? CustomFields { get; set; } + public List? CustomFields { get; set; } /// /// This is an ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/StandardQuestion.cs b/packages/csharp/src/Cvent/SDK/Models/Components/StandardQuestion.cs new file mode 100644 index 000000000..e49b9a412 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/StandardQuestion.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Standard questions are selected from a predefined list of Cvent questions that can be used in an RFP. + /// + public class StandardQuestion + { + /// + /// Unique identifier for standard question. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/StandardQuestionJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/StandardQuestionJson.cs deleted file mode 100644 index 785eed86a..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/StandardQuestionJson.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// Standard questions are selected from a predefined list of Cvent questions that can be used in an RFP. - /// - public class StandardQuestionJson - { - /// - /// Unique identifier for standard question. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/StandardSurveyJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/StandardSurveyJson.cs index 56b70b65d..2b6a49555 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/StandardSurveyJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/StandardSurveyJson.cs @@ -108,6 +108,6 @@ public class StandardSurveyJson /// Collection of survey custom fields. /// [JsonProperty("customFields")] - public List? CustomFields { get; set; } + public List? CustomFields { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/StandardSurveyQuestionJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/StandardSurveyQuestionJson.cs index f605c381f..9f4aff298 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/StandardSurveyQuestionJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/StandardSurveyQuestionJson.cs @@ -78,37 +78,37 @@ public class StandardSurveyQuestionJson /// Question Type. /// [JsonProperty("type")] - public QuestionTypeJson2? Type { get; set; } + public QuestionTypeJson1? Type { get; set; } /// /// List of choices for the question. /// [JsonProperty("choices")] - public List? Choices { get; set; } + public List? Choices { get; set; } /// /// List of categories for the question. /// [JsonProperty("categories")] - public List? Categories { get; set; } + public List? Categories { get; set; } /// /// List of sub categories for matrix side-by-side questions. /// [JsonProperty("subCategories")] - public List? SubCategories { get; set; } + public List? SubCategories { get; set; } /// /// Contains text of additional choice i.e N/A choice or otherAnswer choice. /// [JsonProperty("notApplicableAnswer")] - public AdditionalChoiceJson1? NotApplicableAnswer { get; set; } + public AdditionalChoiceJson? NotApplicableAnswer { get; set; } /// /// Contains text of additional choice i.e N/A choice or otherAnswer choice. /// [JsonProperty("otherAnswer")] - public AdditionalChoiceJson1? OtherAnswer { get; set; } + public AdditionalChoiceJson? OtherAnswer { get; set; } /// /// Text Value of Comments Input box placeholder. @@ -126,7 +126,7 @@ public class StandardSurveyQuestionJson /// List of fields for form/matrix questions. /// [JsonProperty("fields")] - public List? Fields { get; set; } + public List? Fields { get; set; } /// /// Max possible score. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Supplier.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Supplier.cs index 522f4e1fd..aab7e3917 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Supplier.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Supplier.cs @@ -18,19 +18,19 @@ namespace Cvent.SDK.Models.Components using System.Numerics; using System.Reflection; - public class SupplierType + public class SupplierUnionType { - private SupplierType(string value) + private SupplierUnionType(string value) { Value = value; } public string Value { get; private set; } - public static SupplierType Venue + public static SupplierUnionType Venue { get { - return new SupplierType("VENUE"); + return new SupplierUnionType("VENUE"); } } @@ -38,18 +38,18 @@ public override string ToString() { return Value; } - public static implicit operator String(SupplierType v) + public static implicit operator String(SupplierUnionType v) { return v.Value; } - public static SupplierType FromString(string v) + public static SupplierUnionType FromString(string v) { switch (v) { case "VENUE": return Venue; default: - throw new ArgumentException("Invalid value for SupplierType"); + throw new ArgumentException("Invalid value for SupplierUnionType"); } } public override bool Equals(object? obj) @@ -58,7 +58,7 @@ public override bool Equals(object? obj) { return false; } - return Value.Equals(((SupplierType)obj).Value); + return Value.Equals(((SupplierUnionType)obj).Value); } public override int GetHashCode() @@ -73,7 +73,7 @@ public override int GetHashCode() [JsonConverter(typeof(Supplier.SupplierConverter))] public class Supplier { - public Supplier(SupplierType type) + public Supplier(SupplierUnionType type) { Type = type; } @@ -81,13 +81,13 @@ public Supplier(SupplierType type) [SpeakeasyMetadata("form:explode=true")] public VenueSummary? VenueSummary { get; set; } - public SupplierType Type { get; set; } + public SupplierUnionType Type { get; set; } public static Supplier CreateVenue(VenueSummary venue) { - SupplierType typ = SupplierType.Venue; - string typStr = SupplierType.Venue.ToString(); - venue.Type = SupplierTypeJson1Extension.ToEnum(SupplierType.Venue.ToString()); + SupplierUnionType typ = SupplierUnionType.Venue; + string typStr = SupplierUnionType.Venue.ToString(); + venue.Type = SupplierTypeJsonExtension.ToEnum(SupplierUnionType.Venue.ToString()); Supplier res = new Supplier(typ); res.VenueSummary = venue; return res; @@ -108,7 +108,7 @@ public class SupplierConverter : JsonConverter JObject jo = JObject.Load(reader); string discriminator = jo.GetValue("type")?.ToString() ?? throw new ArgumentNullException("Could not find discriminator field."); - if (discriminator == SupplierType.Venue.ToString()) + if (discriminator == SupplierUnionType.Venue.ToString()) { VenueSummary venueSummary = ResponseBodyDeserializer.DeserializeNotNull(jo.ToString()); return CreateVenue(venueSummary); diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SupplierResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SupplierResponse.cs index 118ed9776..75c64ba84 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SupplierResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SupplierResponse.cs @@ -29,7 +29,7 @@ public class SupplierResponse /// Reason given for a response to an RFP. /// [JsonProperty("reason")] - public RfpResponseReasonJson? Reason { get; set; } + public RfpResponseReason? Reason { get; set; } /// /// Comment for the response reason. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SupplierType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SupplierType.cs new file mode 100644 index 000000000..731746ba1 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SupplierType.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; + + /// + /// Type of supplier. `CONVENTION_AND_CONFERENCE_CENTER`: Supplier of large event venues such as convention centers, conference centers, and exposition halls. `CVB`: CVBs (Convention and Visitors Bureau) are suppliers that assist in the promotion and facilitation of tourism, conventions, and events in their respective areas. `HOTEL`: Suppliers that are hotels or resorts. `OTHER`: Suppliers that do not fall under other categories. + /// + public enum SupplierType + { + [JsonProperty("CONVENTION_AND_CONFERENCE_CENTER")] ConventionAndConferenceCenter, + [JsonProperty("CVB")] Cvb, + [JsonProperty("HOTEL")] Hotel, + [JsonProperty("OTHER")] Other, + } + + public static class SupplierTypeExtension + { + public static string Value(this SupplierType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static SupplierType ToEnum(this string value) + { + foreach (var field in typeof(SupplierType).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 SupplierType) + { + return (SupplierType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum SupplierType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SupplierTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SupplierTypeJson.cs index f2e023bb4..21fe79c87 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SupplierTypeJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SupplierTypeJson.cs @@ -14,14 +14,11 @@ namespace Cvent.SDK.Models.Components using System; /// - /// Type of supplier. `CONVENTION_AND_CONFERENCE_CENTER`: Supplier of large event venues such as convention centers, conference centers, and exposition halls. `CVB`: CVBs (Convention and Visitors Bureau) are suppliers that assist in the promotion and facilitation of tourism, conventions, and events in their respective areas. `HOTEL`: Suppliers that are hotels or resorts. `OTHER`: Suppliers that do not fall under other categories. + /// The supplier's type. VENUE: A hotel, convention and visitors bureau (CVB), or other location for an event. /// public enum SupplierTypeJson { - [JsonProperty("CONVENTION_AND_CONFERENCE_CENTER")] ConventionAndConferenceCenter, - [JsonProperty("CVB")] Cvb, - [JsonProperty("HOTEL")] Hotel, - [JsonProperty("OTHER")] Other, + [JsonProperty("VENUE")] Venue, } public static class SupplierTypeJsonExtension diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SupplierTypeJson1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SupplierTypeJson1.cs deleted file mode 100644 index 94df6b104..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SupplierTypeJson1.cs +++ /dev/null @@ -1,56 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// The supplier's type. VENUE: A hotel, convention and visitors bureau (CVB), or other location for an event. - /// - public enum SupplierTypeJson1 - { - [JsonProperty("VENUE")] Venue, - } - - public static class SupplierTypeJson1Extension - { - public static string Value(this SupplierTypeJson1 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static SupplierTypeJson1 ToEnum(this string value) - { - foreach (var field in typeof(SupplierTypeJson1).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 SupplierTypeJson1) - { - return (SupplierTypeJson1)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum SupplierTypeJson1"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SurveyContactId.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SurveyContactId.cs new file mode 100644 index 000000000..b96c79c61 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SurveyContactId.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// A pair of survey and contact id. + /// + public class SurveyContactId + { + /// + /// ID of the survey. + /// + [JsonProperty("surveyId")] + public string SurveyId { get; set; } = default!; + + /// + /// ID of the contact. + /// + [JsonProperty("contactId")] + public string ContactId { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SurveyContactIdJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SurveyContactIdJson.cs deleted file mode 100644 index 508d067c4..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SurveyContactIdJson.cs +++ /dev/null @@ -1,32 +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.Utils; - using Newtonsoft.Json; - - /// - /// A pair of survey and contact id. - /// - public class SurveyContactIdJson - { - /// - /// ID of the survey. - /// - [JsonProperty("surveyId")] - public string SurveyId { get; set; } = default!; - - /// - /// ID of the contact. - /// - [JsonProperty("contactId")] - public string ContactId { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/SurveyJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/SurveyJson.cs index ed81308c1..513421db0 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/SurveyJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/SurveyJson.cs @@ -114,6 +114,6 @@ public class SurveyJson /// List of events with which this survey is linked. /// [JsonProperty("events")] - public List? Events { get; set; } + public List? Events { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TargetType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TargetType.cs new file mode 100644 index 000000000..f9338d29f --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TargetType.cs @@ -0,0 +1,73 @@ +//------------------------------------------------------------------------------ +// +// 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 target type can either refer to the type of recipient or the type of action that made the recipient a participant in the RFP process. + /// + public enum TargetType + { + [JsonProperty("ASSIGNEE")] Assignee, + [JsonProperty("BILLING_CONTACT")] BillingContact, + [JsonProperty("FORWARDING_NSO")] ForwardingNso, + [JsonProperty("FORWARDING_SUPPLIER")] ForwardingSupplier, + [JsonProperty("HYATT_ENVISION")] HyattEnvision, + [JsonProperty("IN_PROGRESS")] InProgress, + [JsonProperty("MARRIOTT_SIEBEL")] MarriottSiebel, + [JsonProperty("MEETING_BROKER")] MeetingBroker, + [JsonProperty("OPERA")] Opera, + [JsonProperty("PLANNER")] Planner, + [JsonProperty("PRIVATE_NSO")] PrivateNso, + [JsonProperty("PROPOSAL_CC")] ProposalCc, + [JsonProperty("PROPOSAL")] Proposal, + [JsonProperty("PUBLIC_NSO")] PublicNso, + [JsonProperty("RECEIPT_CONFIRMED")] ReceiptConfirmed, + [JsonProperty("RFP_CC_RECIPIENT")] RfpCcRecipient, + [JsonProperty("SUPPLIER")] Supplier, + [JsonProperty("TURN_DOWN")] TurnDown, + } + + public static class TargetTypeExtension + { + public static string Value(this TargetType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static TargetType ToEnum(this string value) + { + foreach (var field in typeof(TargetType).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 TargetType) + { + return (TargetType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum TargetType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TargetTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TargetTypeJson.cs deleted file mode 100644 index 3d4c15137..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TargetTypeJson.cs +++ /dev/null @@ -1,73 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// The target type can either refer to the type of recipient or the type of action that made the recipient a participant in the RFP process. - /// - public enum TargetTypeJson - { - [JsonProperty("ASSIGNEE")] Assignee, - [JsonProperty("BILLING_CONTACT")] BillingContact, - [JsonProperty("FORWARDING_NSO")] ForwardingNso, - [JsonProperty("FORWARDING_SUPPLIER")] ForwardingSupplier, - [JsonProperty("HYATT_ENVISION")] HyattEnvision, - [JsonProperty("IN_PROGRESS")] InProgress, - [JsonProperty("MARRIOTT_SIEBEL")] MarriottSiebel, - [JsonProperty("MEETING_BROKER")] MeetingBroker, - [JsonProperty("OPERA")] Opera, - [JsonProperty("PLANNER")] Planner, - [JsonProperty("PRIVATE_NSO")] PrivateNso, - [JsonProperty("PROPOSAL_CC")] ProposalCc, - [JsonProperty("PROPOSAL")] Proposal, - [JsonProperty("PUBLIC_NSO")] PublicNso, - [JsonProperty("RECEIPT_CONFIRMED")] ReceiptConfirmed, - [JsonProperty("RFP_CC_RECIPIENT")] RfpCcRecipient, - [JsonProperty("SUPPLIER")] Supplier, - [JsonProperty("TURN_DOWN")] TurnDown, - } - - public static class TargetTypeJsonExtension - { - public static string Value(this TargetTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static TargetTypeJson ToEnum(this string value) - { - foreach (var field in typeof(TargetTypeJson).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 TargetTypeJson) - { - return (TargetTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum TargetTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TaxType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TaxType.cs new file mode 100644 index 000000000..01b5697c8 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TaxType.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; + + /// + /// Bid tax type. + /// + public enum TaxType + { + [JsonProperty("city_tax")] CityTax, + [JsonProperty("lodging_tax")] LodgingTax, + [JsonProperty("occupancy_tax")] OccupancyTax, + [JsonProperty("service_fee")] ServiceFee, + [JsonProperty("state_tax")] StateTax, + [JsonProperty("vat_tax")] VatTax, + [JsonProperty("vatfb_tax")] VatfbTax, + [JsonProperty("other_tax")] OtherTax, + [JsonProperty("resort_fee")] ResortFee, + } + + public static class TaxTypeExtension + { + public static string Value(this TaxType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static TaxType ToEnum(this string value) + { + foreach (var field in typeof(TaxType).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 TaxType) + { + return (TaxType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum TaxType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TaxTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TaxTypeJson.cs deleted file mode 100644 index ac1eba8e5..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TaxTypeJson.cs +++ /dev/null @@ -1,64 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Bid tax type. - /// - public enum TaxTypeJson - { - [JsonProperty("city_tax")] CityTax, - [JsonProperty("lodging_tax")] LodgingTax, - [JsonProperty("occupancy_tax")] OccupancyTax, - [JsonProperty("service_fee")] ServiceFee, - [JsonProperty("state_tax")] StateTax, - [JsonProperty("vat_tax")] VatTax, - [JsonProperty("vatfb_tax")] VatfbTax, - [JsonProperty("other_tax")] OtherTax, - [JsonProperty("resort_fee")] ResortFee, - } - - public static class TaxTypeJsonExtension - { - public static string Value(this TaxTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static TaxTypeJson ToEnum(this string value) - { - foreach (var field in typeof(TaxTypeJson).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 TaxTypeJson) - { - return (TaxTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum TaxTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TextAnswerFormat.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TextAnswerFormat.cs new file mode 100644 index 000000000..05804d264 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TextAnswerFormat.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; + + /// + /// 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. + /// + public enum TextAnswerFormat + { + [JsonProperty("CustomFormat")] CustomFormat, + [JsonProperty("EmailAddress")] EmailAddress, + [JsonProperty("General")] General, + [JsonProperty("USPhoneNumber")] USPhoneNumber, + } + + public static class TextAnswerFormatExtension + { + public static string Value(this TextAnswerFormat value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static TextAnswerFormat ToEnum(this string value) + { + foreach (var field in typeof(TextAnswerFormat).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 TextAnswerFormat) + { + return (TextAnswerFormat)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum TextAnswerFormat"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TextAnswerFormatJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TextAnswerFormatJson.cs deleted file mode 100644 index 6b6d5a991..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TextAnswerFormatJson.cs +++ /dev/null @@ -1,59 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// 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. - /// - public enum TextAnswerFormatJson - { - [JsonProperty("CustomFormat")] CustomFormat, - [JsonProperty("EmailAddress")] EmailAddress, - [JsonProperty("General")] General, - [JsonProperty("USPhoneNumber")] USPhoneNumber, - } - - public static class TextAnswerFormatJsonExtension - { - public static string Value(this TextAnswerFormatJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static TextAnswerFormatJson ToEnum(this string value) - { - foreach (var field in typeof(TextAnswerFormatJson).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 TextAnswerFormatJson) - { - return (TextAnswerFormatJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum TextAnswerFormatJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TextField.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TextField.cs new file mode 100644 index 000000000..c345c28fc --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TextField.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 survey text field. + /// + public class TextField + { + /// + /// Text field ID. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// Text value of the field. Displays to users in the UI. + /// + [JsonProperty("text")] + public string? Text { get; set; } + + /// + /// Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. + /// + [JsonProperty("shortText")] + public string? ShortText { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TextFieldJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TextFieldJson.cs index 95b25d79f..ee3e400b9 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TextFieldJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TextFieldJson.cs @@ -24,13 +24,13 @@ public class TextFieldJson public string? Id { get; set; } /// - /// Text value of the field. Displays to users in the UI. + /// text Value of the Field. /// [JsonProperty("text")] public string? Text { get; set; } /// - /// Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. + /// Reporting value of the Category, Its like a custom abbreviation. /// [JsonProperty("shortText")] public string? ShortText { get; set; } diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TextFieldJson1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TextFieldJson1.cs deleted file mode 100644 index 179038d90..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TextFieldJson1.cs +++ /dev/null @@ -1,38 +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.Utils; - using Newtonsoft.Json; - - /// - /// A survey text field. - /// - public class TextFieldJson1 - { - /// - /// Text field ID. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// text Value of the Field. - /// - [JsonProperty("text")] - public string? Text { get; set; } - - /// - /// Reporting value of the Category, Its like a custom abbreviation. - /// - [JsonProperty("shortText")] - public string? ShortText { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Three.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Three.cs index 0bdb52d8a..b26bf3493 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Three.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Three.cs @@ -23,7 +23,7 @@ public class Three /// Choices of custom fields. /// [JsonProperty("choices")] - public List? Choices { get; set; } + public List? Choices { get; set; } /// /// Display type indicating how to display the choices on UI. For 'Choice - Single Answer' custom field type, this defaults to Dropdown. For 'Choice - Multiple Answers' custom field type, this defaults to MultiSelectBox. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ThreeInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ThreeInput.cs index 3114a45af..59da21b66 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ThreeInput.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ThreeInput.cs @@ -23,7 +23,7 @@ public class ThreeInput /// Choices of custom fields. /// [JsonProperty("choices")] - public List? Choices { get; set; } + public List? Choices { get; set; } /// /// Display type indicating how to display the choices on UI. For 'Choice - Single Answer' custom field type, this defaults to Dropdown. For 'Choice - Multiple Answers' custom field type, this defaults to MultiSelectBox. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ThumbnailStatus.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ThumbnailStatus.cs new file mode 100644 index 000000000..2535522cc --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ThumbnailStatus.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; + + /// + /// Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was completed. Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. + /// + public enum ThumbnailStatus + { + [JsonProperty("Started")] Started, + [JsonProperty("Uploaded")] Uploaded, + [JsonProperty("Processing")] Processing, + [JsonProperty("Available")] Available, + [JsonProperty("Rejected")] Rejected, + } + + public static class ThumbnailStatusExtension + { + public static string Value(this ThumbnailStatus value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static ThumbnailStatus ToEnum(this string value) + { + foreach (var field in typeof(ThumbnailStatus).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 ThumbnailStatus) + { + return (ThumbnailStatus)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum ThumbnailStatus"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ThumbnailStatusJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ThumbnailStatusJson.cs deleted file mode 100644 index d7b6d324e..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ThumbnailStatusJson.cs +++ /dev/null @@ -1,60 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was completed. Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. - /// - public enum ThumbnailStatusJson - { - [JsonProperty("Started")] Started, - [JsonProperty("Uploaded")] Uploaded, - [JsonProperty("Processing")] Processing, - [JsonProperty("Available")] Available, - [JsonProperty("Rejected")] Rejected, - } - - public static class ThumbnailStatusJsonExtension - { - public static string Value(this ThumbnailStatusJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static ThumbnailStatusJson ToEnum(this string value) - { - foreach (var field in typeof(ThumbnailStatusJson).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 ThumbnailStatusJson) - { - return (ThumbnailStatusJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum ThumbnailStatusJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ThumbnailType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ThumbnailType.cs new file mode 100644 index 000000000..edab41c53 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ThumbnailType.cs @@ -0,0 +1,62 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// This is used to denote the file type of a thumbnail. + /// + public enum ThumbnailType + { + [JsonProperty("bmp")] Bmp, + [JsonProperty("gif")] Gif, + [JsonProperty("jpe")] Jpe, + [JsonProperty("jpeg")] Jpeg, + [JsonProperty("jpg")] Jpg, + [JsonProperty("png")] Png, + [JsonProperty("svg")] Svg, + } + + public static class ThumbnailTypeExtension + { + public static string Value(this ThumbnailType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static ThumbnailType ToEnum(this string value) + { + foreach (var field in typeof(ThumbnailType).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 ThumbnailType) + { + return (ThumbnailType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum ThumbnailType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ThumbnailTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ThumbnailTypeJson.cs deleted file mode 100644 index dce9a2026..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ThumbnailTypeJson.cs +++ /dev/null @@ -1,62 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// This is used to denote the file type of a thumbnail. - /// - public enum ThumbnailTypeJson - { - [JsonProperty("bmp")] Bmp, - [JsonProperty("gif")] Gif, - [JsonProperty("jpe")] Jpe, - [JsonProperty("jpeg")] Jpeg, - [JsonProperty("jpg")] Jpg, - [JsonProperty("png")] Png, - [JsonProperty("svg")] Svg, - } - - public static class ThumbnailTypeJsonExtension - { - public static string Value(this ThumbnailTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static ThumbnailTypeJson ToEnum(this string value) - { - foreach (var field in typeof(ThumbnailTypeJson).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 ThumbnailTypeJson) - { - return (ThumbnailTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum ThumbnailTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TransactionDetailResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TransactionDetailResponse.cs index 8e3eced76..a26a02189 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TransactionDetailResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TransactionDetailResponse.cs @@ -66,7 +66,7 @@ public class TransactionDetailResponse /// The reference to the attendee. Contains only the ID of the attendee. /// [JsonProperty("attendee")] - public Attendee2? Attendee { get; set; } + public Attendee? Attendee { get; set; } /// /// This denotes the order IDs corresponding to this transaction. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TransactionItemResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TransactionItemResponse.cs index e660e4071..76f7e8826 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TransactionItemResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TransactionItemResponse.cs @@ -71,7 +71,7 @@ public class TransactionItemResponse /// The reference to the attendee. Contains only the ID of the attendee. /// [JsonProperty("attendee")] - public Attendee2? Attendee { get; set; } + public Attendee? Attendee { get; set; } /// /// This is used to denote the product details in an order item. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelAccount.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelAccount.cs index c01fb2e73..6f9d17605 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelAccount.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelAccount.cs @@ -60,7 +60,7 @@ public class TravelAccount /// Code representing the travel account type. /// [JsonProperty("type")] - public TravelAccountTypeJson? Type { get; set; } + public TravelAccountType? Type { get; set; } /// /// Is this a certified travel account? @@ -72,6 +72,6 @@ public class TravelAccount /// List of addresses associated with the travel account. /// [JsonProperty("addresses")] - public List? Addresses { get; set; } + public List? Addresses { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelAccountPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelAccountPaginatedResponse.cs index e40e2d6f5..5539566cf 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelAccountPaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelAccountPaginatedResponse.cs @@ -23,7 +23,7 @@ public class TravelAccountPaginatedResponse /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson? Paging { get; set; } + public Paging? Paging { get; set; } /// /// Collection of travel accounts and their related details. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelAccountSupplierAccount.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelAccountSupplierAccount.cs index fce5e0550..e09926ae6 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelAccountSupplierAccount.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelAccountSupplierAccount.cs @@ -34,7 +34,7 @@ public class TravelAccountSupplierAccount /// The management level of the travel account. Defined by the supply-side. /// [JsonProperty("managementLevel")] - public ManagementLevelTypeJson1? ManagementLevel { get; set; } + public ManagementLevelType1? ManagementLevel { get; set; } /// /// Is this account active for the supplier's hotels. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelAccountSupplierAccountPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelAccountSupplierAccountPaginatedResponse.cs index fc4229b7c..9f6c1dd7e 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelAccountSupplierAccountPaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelAccountSupplierAccountPaginatedResponse.cs @@ -23,7 +23,7 @@ public class TravelAccountSupplierAccountPaginatedResponse /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson? Paging { get; set; } + public Paging? Paging { get; set; } /// /// Collection of suppliers travel accounts and their related details. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelAccountType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelAccountType.cs new file mode 100644 index 000000000..cdb14d3b7 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelAccountType.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; + + /// + /// Code representing the travel account type. + /// + public enum TravelAccountType + { + [JsonProperty("corporate")] Corporate, + [JsonProperty("leisure")] Leisure, + [JsonProperty("consortia")] Consortia, + } + + public static class TravelAccountTypeExtension + { + public static string Value(this TravelAccountType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static TravelAccountType ToEnum(this string value) + { + foreach (var field in typeof(TravelAccountType).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 TravelAccountType) + { + return (TravelAccountType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum TravelAccountType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelAccountTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelAccountTypeJson.cs deleted file mode 100644 index 8db287c50..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelAccountTypeJson.cs +++ /dev/null @@ -1,58 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Code representing the travel account type. - /// - public enum TravelAccountTypeJson - { - [JsonProperty("corporate")] Corporate, - [JsonProperty("leisure")] Leisure, - [JsonProperty("consortia")] Consortia, - } - - public static class TravelAccountTypeJsonExtension - { - public static string Value(this TravelAccountTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static TravelAccountTypeJson ToEnum(this string value) - { - foreach (var field in typeof(TravelAccountTypeJson).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 TravelAccountTypeJson) - { - return (TravelAccountTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum TravelAccountTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelAmenityJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelAmenityJson.cs deleted file mode 100644 index bd6964535..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelAmenityJson.cs +++ /dev/null @@ -1,68 +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.Utils; - using Newtonsoft.Json; - - /// - /// Group and meeting amenity info. - /// - public class TravelAmenityJson - { - /// - /// True indicates a liquid crystal display (LCD) is included in the amenity. - /// - [JsonProperty("lcdIncluded")] - public bool? LcdIncluded { get; set; } - - /// - /// Price of the liquid crystal display (LCD). - /// - [JsonProperty("lcdPrice")] - public double? LcdPrice { get; set; } - - /// - /// True indicates a screen is included in the amenity. - /// - [JsonProperty("screenIncluded")] - public bool? ScreenIncluded { get; set; } - - /// - /// Price of the screen. - /// - [JsonProperty("screenPrice")] - public double? ScreenPrice { get; set; } - - /// - /// True indicates high speed internet access is included in the amenity. - /// - [JsonProperty("hsiaIncluded")] - public bool? HsiaIncluded { get; set; } - - /// - /// Price of high speed internet access (HSIA). - /// - [JsonProperty("hsiaPrice")] - public double? HsiaPrice { get; set; } - - /// - /// True indicates parking is included in the amenity. - /// - [JsonProperty("complementaryParkingIncluded")] - public bool? ComplementaryParkingIncluded { get; set; } - - /// - /// Name of company providing AV equipment. - /// - [JsonProperty("whatCompanyProvidesAVEquipment")] - public string? WhatCompanyProvidesAVEquipment { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidAmenity.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidAmenity.cs new file mode 100644 index 000000000..de6f8a844 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidAmenity.cs @@ -0,0 +1,75 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Amenity details for a travel bid. + /// + public class TravelBidAmenity + { + /// + /// Amenity type. + /// + [JsonProperty("type")] + public AmenityType? Type { get; set; } + + /// + /// The code representing the amenity. + /// + [JsonProperty("code")] + public string? Code { get; set; } + + /// + /// The category of the amenity. + /// + [JsonProperty("category")] + public string? Category { get; set; } + + /// + /// True indicates the amenity price is included in the rate. + /// + [JsonProperty("included")] + public bool? Included { get; set; } = false; + + /// + /// The price of the amenity. + /// + [JsonProperty("price")] + public double? Price { get; set; } + + /// + /// The price of the amenity after discounts. + /// + [JsonProperty("discountAmount")] + public double? DiscountAmount { get; set; } + + /// + /// Internal cost of the amenity. + /// + [JsonProperty("internalCost")] + public double? InternalCost { get; set; } + + /// + /// Additional notes on the amenity. + /// + [JsonProperty("description")] + public string? Description { get; set; } + + /// + /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + /// + [JsonProperty("status")] + public BidItemStatusType? Status { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidAmenityJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidAmenityJson.cs deleted file mode 100644 index 65af9ba48..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidAmenityJson.cs +++ /dev/null @@ -1,75 +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; - - /// - /// Amenity details for a travel bid. - /// - public class TravelBidAmenityJson - { - /// - /// Amenity type. - /// - [JsonProperty("type")] - public AmenityTypeJson? Type { get; set; } - - /// - /// The code representing the amenity. - /// - [JsonProperty("code")] - public string? Code { get; set; } - - /// - /// The category of the amenity. - /// - [JsonProperty("category")] - public string? Category { get; set; } - - /// - /// True indicates the amenity price is included in the rate. - /// - [JsonProperty("included")] - public bool? Included { get; set; } = false; - - /// - /// The price of the amenity. - /// - [JsonProperty("price")] - public double? Price { get; set; } - - /// - /// The price of the amenity after discounts. - /// - [JsonProperty("discountAmount")] - public double? DiscountAmount { get; set; } - - /// - /// Internal cost of the amenity. - /// - [JsonProperty("internalCost")] - public double? InternalCost { get; set; } - - /// - /// Additional notes on the amenity. - /// - [JsonProperty("description")] - public string? Description { get; set; } - - /// - /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. - /// - [JsonProperty("status")] - public BidItemStatusTypeJson? Status { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidComment.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidComment.cs new file mode 100644 index 000000000..1b414da1f --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidComment.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// +// 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 comment on a travel bid. + /// + public class TravelBidComment + { + /// + /// Bid comment type. + /// + [JsonProperty("commentType")] + public CommentType? CommentType { get; set; } + + /// + /// The text of the comment. + /// + [JsonProperty("comment")] + public string? Comment { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidCommentJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidCommentJson.cs deleted file mode 100644 index 63486c80f..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidCommentJson.cs +++ /dev/null @@ -1,33 +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 comment on a travel bid. - /// - public class TravelBidCommentJson - { - /// - /// Bid comment type. - /// - [JsonProperty("commentType")] - public CommentTypeJson? CommentType { get; set; } - - /// - /// The text of the comment. - /// - [JsonProperty("comment")] - public string? Comment { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDiscount.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDiscount.cs new file mode 100644 index 000000000..46dd6fa4b --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDiscount.cs @@ -0,0 +1,39 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Discount for a travel bid. + /// + public class TravelBidDiscount + { + /// + /// ID of the property's room. + /// + [JsonProperty("propertyRoom")] + public TravelBidDiscountPropertyRoom? PropertyRoom { get; set; } + + /// + /// Discount percentage for the dynamic rate. + /// + [JsonProperty("discount")] + public long? Discount { get; set; } + + /// + /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + /// + [JsonProperty("status")] + public BidItemStatusType? Status { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDiscountJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDiscountJson.cs deleted file mode 100644 index 9559ea512..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDiscountJson.cs +++ /dev/null @@ -1,39 +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; - - /// - /// Discount for a travel bid. - /// - public class TravelBidDiscountJson - { - /// - /// ID of the property's room. - /// - [JsonProperty("propertyRoom")] - public TravelBidDiscountJsonPropertyRoom? PropertyRoom { get; set; } - - /// - /// Discount percentage for the dynamic rate. - /// - [JsonProperty("discount")] - public long? Discount { get; set; } - - /// - /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. - /// - [JsonProperty("status")] - public BidItemStatusTypeJson? Status { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDiscountJsonPropertyRoom.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDiscountJsonPropertyRoom.cs deleted file mode 100644 index 4d3e80518..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDiscountJsonPropertyRoom.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// ID of the property's room. - /// - public class TravelBidDiscountJsonPropertyRoom - { - /// - /// The unique ID of the property room. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDiscountPropertyRoom.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDiscountPropertyRoom.cs new file mode 100644 index 000000000..337603bbf --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDiscountPropertyRoom.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// ID of the property's room. + /// + public class TravelBidDiscountPropertyRoom + { + /// + /// The unique ID of the property room. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDisposition.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDisposition.cs new file mode 100644 index 000000000..debc3284b --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDisposition.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; + using System.Collections.Generic; + + /// + /// Represents bid disposition details. + /// + public class TravelBidDisposition + { + /// + /// A travel proposal bid. + /// + [JsonProperty("bid")] + public TravelProposalBid1? Bid { get; set; } + + /// + /// List of accepted bid rooms. + /// + [JsonProperty("acceptedBidRooms")] + public List? AcceptedBidRooms { get; set; } + + /// + /// Rate type. + /// + [JsonProperty("rateType")] + public RateType? RateType { get; set; } = Cvent.SDK.Models.Components.RateType.Fixed; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDispositionAcceptedRoom.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDispositionAcceptedRoom.cs new file mode 100644 index 000000000..602c79712 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDispositionAcceptedRoom.cs @@ -0,0 +1,39 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Represents bid disposition's accepted room. + /// + public class TravelBidDispositionAcceptedRoom + { + /// + /// ID of the property's room. + /// + [JsonProperty("propertyRoom")] + public TravelBidDispositionAcceptedRoomPropertyRoom? PropertyRoom { get; set; } + + /// + /// Indicates whether the LRA rates are accepted. + /// + [JsonProperty("lraRateAccepted")] + public bool? LraRateAccepted { get; set; } + + /// + /// Indicates whether the NLRA rates are accepted. + /// + [JsonProperty("nlraRateAccepted")] + public bool? NlraRateAccepted { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDispositionAcceptedRoomJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDispositionAcceptedRoomJson.cs deleted file mode 100644 index 384a2cbd3..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDispositionAcceptedRoomJson.cs +++ /dev/null @@ -1,39 +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; - - /// - /// Represents bid disposition's accepted room. - /// - public class TravelBidDispositionAcceptedRoomJson - { - /// - /// ID of the property's room. - /// - [JsonProperty("propertyRoom")] - public TravelBidDispositionAcceptedRoomJsonPropertyRoom? PropertyRoom { get; set; } - - /// - /// Indicates whether the LRA rates are accepted. - /// - [JsonProperty("lraRateAccepted")] - public bool? LraRateAccepted { get; set; } - - /// - /// Indicates whether the NLRA rates are accepted. - /// - [JsonProperty("nlraRateAccepted")] - public bool? NlraRateAccepted { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDispositionAcceptedRoomJsonPropertyRoom.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDispositionAcceptedRoomJsonPropertyRoom.cs deleted file mode 100644 index 4f32b0467..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDispositionAcceptedRoomJsonPropertyRoom.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// ID of the property's room. - /// - public class TravelBidDispositionAcceptedRoomJsonPropertyRoom - { - /// - /// The unique ID of the property room. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDispositionAcceptedRoomPropertyRoom.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDispositionAcceptedRoomPropertyRoom.cs new file mode 100644 index 000000000..6ddafbeff --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDispositionAcceptedRoomPropertyRoom.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// ID of the property's room. + /// + public class TravelBidDispositionAcceptedRoomPropertyRoom + { + /// + /// The unique ID of the property room. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDispositionJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDispositionJson.cs deleted file mode 100644 index 2b74b96be..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidDispositionJson.cs +++ /dev/null @@ -1,40 +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; - using System.Collections.Generic; - - /// - /// Represents bid disposition details. - /// - public class TravelBidDispositionJson - { - /// - /// A travel proposal bid. - /// - [JsonProperty("bid")] - public TravelProposalBidIdJson? Bid { get; set; } - - /// - /// List of accepted bid rooms. - /// - [JsonProperty("acceptedBidRooms")] - public List? AcceptedBidRooms { get; set; } - - /// - /// Rate type. - /// - [JsonProperty("rateType")] - public RateTypeJson? RateType { get; set; } = Cvent.SDK.Models.Components.RateTypeJson.Fixed; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeason.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeason.cs new file mode 100644 index 000000000..4742297f2 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeason.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// The fair season for a travel bid. + /// + public class TravelBidFairSeason + { + /// + /// Fair season type. Blackout means that no special rate is negotiated for that date and Best Available Rates will apply. + /// + [JsonProperty("type")] + public FairSeasonType? Type { get; set; } = Cvent.SDK.Models.Components.FairSeasonType.Negotiated; + + /// + /// Fair season name. + /// + [JsonProperty("name")] + public string? Name { get; set; } + + /// + /// The ISO 8601 start date of the fair season. + /// + [JsonProperty("startDate")] + public DateOnly? StartDate { get; set; } + + /// + /// The ISO 8601 end date of the fair season. + /// + [JsonProperty("endDate")] + public DateOnly? EndDate { get; set; } + + /// + /// Minimum length of stay for the fair season. + /// + [JsonProperty("minLengthOfStay")] + public long? MinLengthOfStay { get; set; } + + /// + /// Release period for the fair season. Release period is the minimum number of days between the booking being made and the earliest arrival date. + /// + [JsonProperty("releasePeriod")] + public long? ReleasePeriod { get; set; } + + /// + /// Collection of rates for the fair season. + /// + [JsonProperty("rates")] + public List? Rates { get; set; } + + /// + /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + /// + [JsonProperty("status")] + public BidItemStatusType? Status { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeasonJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeasonJson.cs deleted file mode 100644 index ad335aa09..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeasonJson.cs +++ /dev/null @@ -1,71 +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; - using System; - using System.Collections.Generic; - - /// - /// The fair season for a travel bid. - /// - public class TravelBidFairSeasonJson - { - /// - /// Fair season type. Blackout means that no special rate is negotiated for that date and Best Available Rates will apply. - /// - [JsonProperty("type")] - public FairSeasonTypeJson? Type { get; set; } = Cvent.SDK.Models.Components.FairSeasonTypeJson.Negotiated; - - /// - /// Fair season name. - /// - [JsonProperty("name")] - public string? Name { get; set; } - - /// - /// The ISO 8601 start date of the fair season. - /// - [JsonProperty("startDate")] - public DateOnly? StartDate { get; set; } - - /// - /// The ISO 8601 end date of the fair season. - /// - [JsonProperty("endDate")] - public DateOnly? EndDate { get; set; } - - /// - /// Minimum length of stay for the fair season. - /// - [JsonProperty("minLengthOfStay")] - public long? MinLengthOfStay { get; set; } - - /// - /// Release period for the fair season. Release period is the minimum number of days between the booking being made and the earliest arrival date. - /// - [JsonProperty("releasePeriod")] - public long? ReleasePeriod { get; set; } - - /// - /// Collection of rates for the fair season. - /// - [JsonProperty("rates")] - public List? Rates { get; set; } - - /// - /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. - /// - [JsonProperty("status")] - public BidItemStatusTypeJson? Status { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeasonRate.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeasonRate.cs new file mode 100644 index 000000000..2f1da9011 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeasonRate.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.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The negotiated rates for a property room during the fair season. + /// + public class TravelBidFairSeasonRate + { + /// + /// ID of the property's room. + /// + [JsonProperty("propertyRoom")] + public TravelBidFairSeasonRatePropertyRoom? PropertyRoom { get; set; } + + /// + /// The single room rate. + /// + [JsonProperty("singleRate")] + public double? SingleRate { get; set; } + + /// + /// The double room rate. + /// + [JsonProperty("doubleRate")] + public double? DoubleRate { get; set; } + + /// + /// The triple room rate. + /// + [JsonProperty("tripleRate")] + public double? TripleRate { get; set; } + + /// + /// The quadruple room rate. + /// + [JsonProperty("quadRate")] + public double? QuadRate { get; set; } + + /// + /// The number of rooms allotted at the negotiated rate. + /// + [JsonProperty("allotment")] + public long? Allotment { get; set; } + + /// + /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + /// + [JsonProperty("status")] + public BidItemStatusType? Status { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeasonRateJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeasonRateJson.cs deleted file mode 100644 index f857aa1ff..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeasonRateJson.cs +++ /dev/null @@ -1,63 +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; - - /// - /// The negotiated rates for a property room during the fair season. - /// - public class TravelBidFairSeasonRateJson - { - /// - /// ID of the property's room. - /// - [JsonProperty("propertyRoom")] - public TravelBidFairSeasonRateJsonPropertyRoom? PropertyRoom { get; set; } - - /// - /// The single room rate. - /// - [JsonProperty("singleRate")] - public double? SingleRate { get; set; } - - /// - /// The double room rate. - /// - [JsonProperty("doubleRate")] - public double? DoubleRate { get; set; } - - /// - /// The triple room rate. - /// - [JsonProperty("tripleRate")] - public double? TripleRate { get; set; } - - /// - /// The quadruple room rate. - /// - [JsonProperty("quadRate")] - public double? QuadRate { get; set; } - - /// - /// The number of rooms allotted at the negotiated rate. - /// - [JsonProperty("allotment")] - public long? Allotment { get; set; } - - /// - /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. - /// - [JsonProperty("status")] - public BidItemStatusTypeJson? Status { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeasonRateJsonPropertyRoom.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeasonRateJsonPropertyRoom.cs deleted file mode 100644 index 6d5c9e503..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeasonRateJsonPropertyRoom.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// ID of the property's room. - /// - public class TravelBidFairSeasonRateJsonPropertyRoom - { - /// - /// The unique ID of the property room. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeasonRatePropertyRoom.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeasonRatePropertyRoom.cs new file mode 100644 index 000000000..f3e631a7e --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidFairSeasonRatePropertyRoom.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// ID of the property's room. + /// + public class TravelBidFairSeasonRatePropertyRoom + { + /// + /// The unique ID of the property room. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidPolicy.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidPolicy.cs new file mode 100644 index 000000000..8900ab293 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidPolicy.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.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// A policy that is associated with a travel bid. + /// + public class TravelBidPolicy + { + /// + /// The code representing the policy. + /// + [JsonProperty("code")] + public string? Code { get; set; } + + /// + /// The category the policy falls under. + /// + [JsonProperty("category")] + public string? Category { get; set; } + + /// + /// The value of the policy. + /// + [JsonProperty("value")] + public string? Value { get; set; } + + /// + /// Value type of the policy. + /// + [JsonProperty("valueType")] + public PolicyValueType? ValueType { get; set; } + + /// + /// True indicates the policy fee included in the rate. Only applies to policies with a value type of money or percent. + /// + [JsonProperty("included")] + public bool? Included { get; set; } = false; + + /// + /// Additional notes on the policy. + /// + [JsonProperty("description")] + public string? Description { get; set; } + + /// + /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + /// + [JsonProperty("status")] + public BidItemStatusType? Status { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidPolicyJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidPolicyJson.cs deleted file mode 100644 index f5c015375..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidPolicyJson.cs +++ /dev/null @@ -1,63 +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 policy that is associated with a travel bid. - /// - public class TravelBidPolicyJson - { - /// - /// The code representing the policy. - /// - [JsonProperty("code")] - public string? Code { get; set; } - - /// - /// The category the policy falls under. - /// - [JsonProperty("category")] - public string? Category { get; set; } - - /// - /// The value of the policy. - /// - [JsonProperty("value")] - public string? Value { get; set; } - - /// - /// Value type of the policy. - /// - [JsonProperty("valueType")] - public PolicyValueTypeJson? ValueType { get; set; } - - /// - /// True indicates the policy fee included in the rate. Only applies to policies with a value type of money or percent. - /// - [JsonProperty("included")] - public bool? Included { get; set; } = false; - - /// - /// Additional notes on the policy. - /// - [JsonProperty("description")] - public string? Description { get; set; } - - /// - /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. - /// - [JsonProperty("status")] - public BidItemStatusTypeJson? Status { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidRateJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidRateJson.cs deleted file mode 100644 index 577aad9c7..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidRateJson.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; - - /// - /// The rate (cost) information for a travel bid. - /// - public class TravelBidRateJson - { - /// - /// Rate level. - /// - [JsonProperty("level")] - public RateLevelTypeJson? Level { get; set; } - - /// - /// Rate type. - /// - [JsonProperty("type")] - public RateTypeJson? Type { get; set; } = Cvent.SDK.Models.Components.RateTypeJson.Fixed; - - /// - /// The code given to the bid (also called rate plan) by the supplier. - /// - [JsonProperty("planCode")] - public string? PlanCode { get; set; } - - /// - /// The rate tier given to the bid (also called rate plan) by the supplier. - /// - [JsonProperty("tier")] - public string? Tier { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidRoom.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidRoom.cs new file mode 100644 index 000000000..6bfd5df81 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidRoom.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// +// 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 room in a travel bid. + /// + public class TravelBidRoom + { + /// + /// ID of the property's room. + /// + [JsonProperty("propertyRoom")] + public TravelBidRoomPropertyRoom? PropertyRoom { get; set; } + + /// + /// The number of rooms allocated to the bid. + /// + [JsonProperty("allocation")] + public long? Allocation { get; set; } + + /// + /// The order of the room in the bid. + /// + [JsonProperty("order")] + public long? Order { get; set; } + + /// + /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + /// + [JsonProperty("status")] + public BidItemStatusType? Status { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidRoomJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidRoomJson.cs deleted file mode 100644 index eb12bceee..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidRoomJson.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 room in a travel bid. - /// - public class TravelBidRoomJson - { - /// - /// ID of the property's room. - /// - [JsonProperty("propertyRoom")] - public TravelBidRoomJsonPropertyRoom? PropertyRoom { get; set; } - - /// - /// The number of rooms allocated to the bid. - /// - [JsonProperty("allocation")] - public long? Allocation { get; set; } - - /// - /// The order of the room in the bid. - /// - [JsonProperty("order")] - public long? Order { get; set; } - - /// - /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. - /// - [JsonProperty("status")] - public BidItemStatusTypeJson? Status { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidRoomJsonPropertyRoom.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidRoomJsonPropertyRoom.cs deleted file mode 100644 index 56ba4903b..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidRoomJsonPropertyRoom.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// ID of the property's room. - /// - public class TravelBidRoomJsonPropertyRoom - { - /// - /// The unique ID of the property room. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidRoomPropertyRoom.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidRoomPropertyRoom.cs new file mode 100644 index 000000000..89af925fc --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidRoomPropertyRoom.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// ID of the property's room. + /// + public class TravelBidRoomPropertyRoom + { + /// + /// The unique ID of the property room. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeason.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeason.cs new file mode 100644 index 000000000..5c38398a6 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeason.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Season details for a travel bid. + /// + public class TravelBidSeason + { + /// + /// Season name. + /// + [JsonProperty("name")] + public string? Name { get; set; } + + /// + /// The ISO 8601 start date of the season. + /// + [JsonProperty("startDate")] + public DateOnly? StartDate { get; set; } + + /// + /// The ISO 8601 end date of the season. + /// + [JsonProperty("endDate")] + public DateOnly? EndDate { get; set; } + + /// + /// Number of release periods. + /// + [JsonProperty("releasePeriod")] + public long? ReleasePeriod { get; set; } + + /// + /// Number of weekend release periods. + /// + [JsonProperty("weekendReleasePeriod")] + public long? WeekendReleasePeriod { get; set; } + + /// + /// Collection of rates for the season. + /// + [JsonProperty("rates")] + public List? Rates { get; set; } + + /// + /// Collection of weekend rates for the season. + /// + [JsonProperty("weekendRates")] + public List? WeekendRates { get; set; } + + /// + /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + /// + [JsonProperty("status")] + public BidItemStatusType? Status { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeasonJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeasonJson.cs deleted file mode 100644 index 9a3179702..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeasonJson.cs +++ /dev/null @@ -1,71 +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; - using System; - using System.Collections.Generic; - - /// - /// Season details for a travel bid. - /// - public class TravelBidSeasonJson - { - /// - /// Season name. - /// - [JsonProperty("name")] - public string? Name { get; set; } - - /// - /// The ISO 8601 start date of the season. - /// - [JsonProperty("startDate")] - public DateOnly? StartDate { get; set; } - - /// - /// The ISO 8601 end date of the season. - /// - [JsonProperty("endDate")] - public DateOnly? EndDate { get; set; } - - /// - /// Number of release periods. - /// - [JsonProperty("releasePeriod")] - public long? ReleasePeriod { get; set; } - - /// - /// Number of weekend release periods. - /// - [JsonProperty("weekendReleasePeriod")] - public long? WeekendReleasePeriod { get; set; } - - /// - /// Collection of rates for the season. - /// - [JsonProperty("rates")] - public List? Rates { get; set; } - - /// - /// Collection of weekend rates for the season. - /// - [JsonProperty("weekendRates")] - public List? WeekendRates { get; set; } - - /// - /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. - /// - [JsonProperty("status")] - public BidItemStatusTypeJson? Status { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeasonRate.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeasonRate.cs new file mode 100644 index 000000000..5f19f8de7 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeasonRate.cs @@ -0,0 +1,75 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// The negotiated rates for a property room during a specific season. + /// + public class TravelBidSeasonRate + { + /// + /// ID of the property's room. + /// + [JsonProperty("propertyRoom")] + public TravelBidSeasonRatePropertyRoom? PropertyRoom { get; set; } + + /// + /// The last room available (LRA) single rate. + /// + [JsonProperty("singleRate")] + public double? SingleRate { get; set; } + + /// + /// The last room available (LRA) double rate. + /// + [JsonProperty("doubleRate")] + public double? DoubleRate { get; set; } + + /// + /// The last room available (LRA) triple rate. + /// + [JsonProperty("tripleRate")] + public double? TripleRate { get; set; } + + /// + /// The last room available (LRA) quad rate. + /// + [JsonProperty("quadRate")] + public double? QuadRate { get; set; } + + /// + /// The non last room available (NLRA) single rate. + /// + [JsonProperty("nlraSingleRate")] + public double? NlraSingleRate { get; set; } + + /// + /// The non last room available (NLRA) double rate. + /// + [JsonProperty("nlraDoubleRate")] + public double? NlraDoubleRate { get; set; } + + /// + /// The number of rooms allotted at the negotiated rate. + /// + [JsonProperty("allotment")] + public long? Allotment { get; set; } + + /// + /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + /// + [JsonProperty("status")] + public BidItemStatusType? Status { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeasonRateJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeasonRateJson.cs deleted file mode 100644 index 62989ae4c..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeasonRateJson.cs +++ /dev/null @@ -1,75 +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; - - /// - /// The negotiated rates for a property room during a specific season. - /// - public class TravelBidSeasonRateJson - { - /// - /// ID of the property's room. - /// - [JsonProperty("propertyRoom")] - public TravelBidSeasonRateJsonPropertyRoom? PropertyRoom { get; set; } - - /// - /// The last room available (LRA) single rate. - /// - [JsonProperty("singleRate")] - public double? SingleRate { get; set; } - - /// - /// The last room available (LRA) double rate. - /// - [JsonProperty("doubleRate")] - public double? DoubleRate { get; set; } - - /// - /// The last room available (LRA) triple rate. - /// - [JsonProperty("tripleRate")] - public double? TripleRate { get; set; } - - /// - /// The last room available (LRA) quad rate. - /// - [JsonProperty("quadRate")] - public double? QuadRate { get; set; } - - /// - /// The non last room available (NLRA) single rate. - /// - [JsonProperty("nlraSingleRate")] - public double? NlraSingleRate { get; set; } - - /// - /// The non last room available (NLRA) double rate. - /// - [JsonProperty("nlraDoubleRate")] - public double? NlraDoubleRate { get; set; } - - /// - /// The number of rooms allotted at the negotiated rate. - /// - [JsonProperty("allotment")] - public long? Allotment { get; set; } - - /// - /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. - /// - [JsonProperty("status")] - public BidItemStatusTypeJson? Status { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeasonRateJsonPropertyRoom.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeasonRateJsonPropertyRoom.cs deleted file mode 100644 index de20eb653..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeasonRateJsonPropertyRoom.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// ID of the property's room. - /// - public class TravelBidSeasonRateJsonPropertyRoom - { - /// - /// The unique ID of the property room. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeasonRatePropertyRoom.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeasonRatePropertyRoom.cs new file mode 100644 index 000000000..6edfa573c --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidSeasonRatePropertyRoom.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// ID of the property's room. + /// + public class TravelBidSeasonRatePropertyRoom + { + /// + /// The unique ID of the property room. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidTaxAndFee.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidTaxAndFee.cs new file mode 100644 index 000000000..15f461e69 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidTaxAndFee.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; + + /// + /// A tax or fee associated with a travel bid. + /// + public class TravelBidTaxAndFee + { + /// + /// Bid tax type. + /// + [JsonProperty("code")] + public TaxType? Code { get; set; } + + /// + /// The amount of the tax/fee. This may be a percent or monetary value depending on the value in `percent`. + /// + [JsonProperty("amount")] + public double? Amount { get; set; } + + /// + /// True indicates the tax/fee amount represents a percentage, instead of a monetary value. + /// + [JsonProperty("percent")] + public bool? Percent { get; set; } = false; + + /// + /// True indicates the tax/fee included in the negotiated rate. + /// + [JsonProperty("included")] + public bool? Included { get; set; } = false; + + /// + /// Additional notes on the tax/fee. + /// + [JsonProperty("notes")] + public string? Notes { get; set; } + + /// + /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + /// + [JsonProperty("status")] + public BidItemStatusType? Status { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidTaxFeeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidTaxFeeJson.cs deleted file mode 100644 index 9043b1922..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidTaxFeeJson.cs +++ /dev/null @@ -1,57 +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 tax or fee associated with a travel bid. - /// - public class TravelBidTaxFeeJson - { - /// - /// Bid tax type. - /// - [JsonProperty("code")] - public TaxTypeJson? Code { get; set; } - - /// - /// The amount of the tax/fee. This may be a percent or monetary value depending on the value in `percent`. - /// - [JsonProperty("amount")] - public double? Amount { get; set; } - - /// - /// True indicates the tax/fee amount represents a percentage, instead of a monetary value. - /// - [JsonProperty("percent")] - public bool? Percent { get; set; } = false; - - /// - /// True indicates the tax/fee included in the negotiated rate. - /// - [JsonProperty("included")] - public bool? Included { get; set; } = false; - - /// - /// Additional notes on the tax/fee. - /// - [JsonProperty("notes")] - public string? Notes { get; set; } - - /// - /// The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. - /// - [JsonProperty("status")] - public BidItemStatusTypeJson? Status { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidWeekendDayJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidWeekendDayJson.cs deleted file mode 100644 index c84a41145..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidWeekendDayJson.cs +++ /dev/null @@ -1,62 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Days considered weekend days for pricing purposes in the travel bid. - /// - public enum TravelBidWeekendDayJson - { - [JsonProperty("Monday")] Monday, - [JsonProperty("Tuesday")] Tuesday, - [JsonProperty("Wednesday")] Wednesday, - [JsonProperty("Thursday")] Thursday, - [JsonProperty("Friday")] Friday, - [JsonProperty("Saturday")] Saturday, - [JsonProperty("Sunday")] Sunday, - } - - public static class TravelBidWeekendDayJsonExtension - { - public static string Value(this TravelBidWeekendDayJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static TravelBidWeekendDayJson ToEnum(this string value) - { - foreach (var field in typeof(TravelBidWeekendDayJson).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 TravelBidWeekendDayJson) - { - return (TravelBidWeekendDayJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum TravelBidWeekendDayJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidWeekendDays.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidWeekendDays.cs new file mode 100644 index 000000000..81dd3a0a1 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBidWeekendDays.cs @@ -0,0 +1,62 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Days considered weekend days for pricing purposes in the travel bid. + /// + public enum TravelBidWeekendDays + { + [JsonProperty("Monday")] Monday, + [JsonProperty("Tuesday")] Tuesday, + [JsonProperty("Wednesday")] Wednesday, + [JsonProperty("Thursday")] Thursday, + [JsonProperty("Friday")] Friday, + [JsonProperty("Saturday")] Saturday, + [JsonProperty("Sunday")] Sunday, + } + + public static class TravelBidWeekendDaysExtension + { + public static string Value(this TravelBidWeekendDays value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static TravelBidWeekendDays ToEnum(this string value) + { + foreach (var field in typeof(TravelBidWeekendDays).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 TravelBidWeekendDays) + { + return (TravelBidWeekendDays)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum TravelBidWeekendDays"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBreakOutRoomJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelBreakOutRoomJson.cs deleted file mode 100644 index a07f76648..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelBreakOutRoomJson.cs +++ /dev/null @@ -1,50 +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.Utils; - using Newtonsoft.Json; - - /// - /// Break-out room information. - /// - public class TravelBreakOutRoomJson - { - /// - /// True indicates a 10 person room is included. - /// - [JsonProperty("10PersonRoomIncluded")] - public bool? TenPersonRoomIncluded { get; set; } - - /// - /// Price for 10 person room. - /// - [JsonProperty("price10PersonRoom")] - public double? Price10PersonRoom { get; set; } - - /// - /// True indicates a 25 person room included. - /// - [JsonProperty("25PersonRoomIncluded")] - public bool? TwentyFivePersonRoomIncluded { get; set; } - - /// - /// Price for 25 person room. - /// - [JsonProperty("price25PersonRoom")] - public double? Price25PersonRoom { get; set; } - - /// - /// True indicates there is a permanent board room set up. - /// - [JsonProperty("permanentBoardRoomSetUp")] - public bool? PermanentBoardRoomSetUp { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelDayDelegateRateJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelDayDelegateRateJson.cs deleted file mode 100644 index 6cb274634..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelDayDelegateRateJson.cs +++ /dev/null @@ -1,44 +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.Utils; - using Newtonsoft.Json; - - /// - /// Day delegate rate information. This represents the costs for hosting meeting at the venue for a half or full day. - /// - public class TravelDayDelegateRateJson - { - /// - /// Full day delegate rate for 10 to 50 people. - /// - [JsonProperty("fullDay10To50People")] - public double? FullDay10To50People { get; set; } - - /// - /// Full day delegate rate for 51 to 100 people. - /// - [JsonProperty("fullDay51To100People")] - public double? FullDay51To100People { get; set; } - - /// - /// Half day delegate rate for 10 to 50 people. - /// - [JsonProperty("halfDay10To50People")] - public double? HalfDay10To50People { get; set; } - - /// - /// Half day delegate rate for 51 to 100 people. - /// - [JsonProperty("halfDay51To100People")] - public double? HalfDay51To100People { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelGroupAndMeetingJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelGroupAndMeetingJson.cs deleted file mode 100644 index 421e8b6fe..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelGroupAndMeetingJson.cs +++ /dev/null @@ -1,57 +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; - - /// - /// Group and meeting information. - /// - public class TravelGroupAndMeetingJson - { - /// - /// Run of house rate information. - /// - [JsonProperty("runOfHouseRate")] - public TravelRunOfHouseRateJson? RunOfHouseRate { get; set; } - - /// - /// Day delegate rate information. This represents the costs for hosting meeting at the venue for a half or full day. - /// - [JsonProperty("dayDelegateRate")] - public TravelDayDelegateRateJson? DayDelegateRate { get; set; } - - /// - /// Tax and service charge information. - /// - [JsonProperty("taxAndServiceCharge")] - public TravelTaxAndServiceChargeJson? TaxAndServiceCharge { get; set; } - - /// - /// Meeting room basic information. - /// - [JsonProperty("meetingRoomBasicInformation")] - public TravelMeetingRoomBasicInfoJson? MeetingRoomBasicInformation { get; set; } - - /// - /// Group and meeting amenity info. - /// - [JsonProperty("amenity")] - public TravelAmenityJson? Amenity { get; set; } - - /// - /// Break-out room information. - /// - [JsonProperty("breakOutRoom")] - public TravelBreakOutRoomJson? BreakOutRoom { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelMeetingRoomBasicInfoJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelMeetingRoomBasicInfoJson.cs deleted file mode 100644 index e54e88d3e..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelMeetingRoomBasicInfoJson.cs +++ /dev/null @@ -1,38 +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.Utils; - using Newtonsoft.Json; - - /// - /// Meeting room basic information. - /// - public class TravelMeetingRoomBasicInfoJson - { - /// - /// Size of the largest meeting room. Units of measurement determined by `unitOfMeasurement` field. - /// - [JsonProperty("largestMeetingRoom")] - public long? LargestMeetingRoom { get; set; } - - /// - /// Unit of measurement of the `largestMeetingRoom`'s size. - /// - [JsonProperty("unitOfMeasurement")] - public string? UnitOfMeasurement { get; set; } - - /// - /// Total number of meeting rooms. - /// - [JsonProperty("meetingRooms")] - public long? MeetingRooms { get; set; } - } -} \ 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 81685366b..ef7c07653 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgram.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgram.cs @@ -66,19 +66,19 @@ public class TravelProgram /// Code representing the travel program type. /// [JsonProperty("type")] - public TravelProgramTypeJson? Type { get; set; } + public TravelProgramType? Type { get; set; } /// /// Code representing the format of the travel program. /// [JsonProperty("format")] - public TravelProgramFormatTypeJson? Format { get; set; } + public TravelProgramFormatType? Format { get; set; } /// /// Code representing the status of the travel program. /// [JsonProperty("status")] - public TravelProgramStatusJson? Status { get; set; } + public TravelProgramStatus? Status { get; set; } /// /// Travel account that the program belongs to. @@ -90,7 +90,7 @@ public class TravelProgram /// Code representing the stay types requested by the program. Programs can accept daily only, or daily and extended stay proposals. /// [JsonProperty("stayType")] - public TravelProgramStayTypeJson? StayType { get; set; } + public TravelProgramStayType? StayType { get; set; } /// /// The ISO 8601 formatted start date (in GMT) of the travel program. @@ -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/TravelProgramFormatType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramFormatType.cs new file mode 100644 index 000000000..ab3ac2f3e --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramFormatType.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.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Code representing the format of the travel program. + /// + public enum TravelProgramFormatType + { + [JsonProperty("gbta2013")] Gbta2013, + [JsonProperty("universal")] Universal, + } + + public static class TravelProgramFormatTypeExtension + { + public static string Value(this TravelProgramFormatType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static TravelProgramFormatType ToEnum(this string value) + { + foreach (var field in typeof(TravelProgramFormatType).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 TravelProgramFormatType) + { + return (TravelProgramFormatType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum TravelProgramFormatType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramFormatTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramFormatTypeJson.cs deleted file mode 100644 index b364252da..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramFormatTypeJson.cs +++ /dev/null @@ -1,57 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Code representing the format of the travel program. - /// - public enum TravelProgramFormatTypeJson - { - [JsonProperty("gbta2013")] Gbta2013, - [JsonProperty("universal")] Universal, - } - - public static class TravelProgramFormatTypeJsonExtension - { - public static string Value(this TravelProgramFormatTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static TravelProgramFormatTypeJson ToEnum(this string value) - { - foreach (var field in typeof(TravelProgramFormatTypeJson).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 TravelProgramFormatTypeJson) - { - return (TravelProgramFormatTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum TravelProgramFormatTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramPaginatedResponse.cs index ed0bdcb0b..148aa93c4 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramPaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramPaginatedResponse.cs @@ -23,7 +23,7 @@ public class TravelProgramPaginatedResponse /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson? Paging { get; set; } + public Paging? Paging { get; set; } /// /// Collection of travel programs and their related details. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramQuestion.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramQuestion.cs new file mode 100644 index 000000000..ffb39a846 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramQuestion.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 TravelProgramQuestion + { + /// + /// 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 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? + /// + [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/TravelProgramQuestion1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramQuestion1.cs new file mode 100644 index 000000000..676f92fe4 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramQuestion1.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// +// 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/TravelProgramQuestionJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramQuestionJson.cs deleted file mode 100644 index f3ba98107..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramQuestionJson.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 TravelProgramQuestionJson - { - /// - /// 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 QuestionSectionJson? 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/TravelProgramQuestionTravelProgram.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramQuestionTravelProgram.cs new file mode 100644 index 000000000..d6f3813b3 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramQuestionTravelProgram.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Travel program that the question belongs to. + /// + public class TravelProgramQuestionTravelProgram + { + /// + /// The unique ID of the travel program. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramStatus.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramStatus.cs new file mode 100644 index 000000000..ab7b004fc --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramStatus.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; + + /// + /// Code representing the status of the travel program. + /// + public enum TravelProgramStatus + { + [JsonProperty("in_progress")] InProgress, + [JsonProperty("complete")] Complete, + [JsonProperty("closed")] Closed, + } + + public static class TravelProgramStatusExtension + { + public static string Value(this TravelProgramStatus value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static TravelProgramStatus ToEnum(this string value) + { + foreach (var field in typeof(TravelProgramStatus).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 TravelProgramStatus) + { + return (TravelProgramStatus)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum TravelProgramStatus"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramStatusJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramStatusJson.cs deleted file mode 100644 index b90707861..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramStatusJson.cs +++ /dev/null @@ -1,58 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Code representing the status of the travel program. - /// - public enum TravelProgramStatusJson - { - [JsonProperty("in_progress")] InProgress, - [JsonProperty("complete")] Complete, - [JsonProperty("closed")] Closed, - } - - public static class TravelProgramStatusJsonExtension - { - public static string Value(this TravelProgramStatusJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static TravelProgramStatusJson ToEnum(this string value) - { - foreach (var field in typeof(TravelProgramStatusJson).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 TravelProgramStatusJson) - { - return (TravelProgramStatusJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum TravelProgramStatusJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramStayType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramStayType.cs new file mode 100644 index 000000000..8ff9316f2 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramStayType.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.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Code representing the stay types requested by the program. Programs can accept daily only, or daily and extended stay proposals. + /// + public enum TravelProgramStayType + { + [JsonProperty("daily")] Daily, + [JsonProperty("daily_and_extended_stay")] DailyAndExtendedStay, + } + + public static class TravelProgramStayTypeExtension + { + public static string Value(this TravelProgramStayType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static TravelProgramStayType ToEnum(this string value) + { + foreach (var field in typeof(TravelProgramStayType).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 TravelProgramStayType) + { + return (TravelProgramStayType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum TravelProgramStayType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramStayTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramStayTypeJson.cs deleted file mode 100644 index 195f541a8..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramStayTypeJson.cs +++ /dev/null @@ -1,57 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Code representing the stay types requested by the program. Programs can accept daily only, or daily and extended stay proposals. - /// - public enum TravelProgramStayTypeJson - { - [JsonProperty("daily")] Daily, - [JsonProperty("daily_and_extended_stay")] DailyAndExtendedStay, - } - - public static class TravelProgramStayTypeJsonExtension - { - public static string Value(this TravelProgramStayTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static TravelProgramStayTypeJson ToEnum(this string value) - { - foreach (var field in typeof(TravelProgramStayTypeJson).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 TravelProgramStayTypeJson) - { - return (TravelProgramStayTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum TravelProgramStayTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramType.cs new file mode 100644 index 000000000..1eece8839 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramType.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; + + /// + /// Code representing the travel program type. + /// + public enum TravelProgramType + { + [JsonProperty("corporate")] Corporate, + [JsonProperty("leisure")] Leisure, + [JsonProperty("consortia")] Consortia, + } + + public static class TravelProgramTypeExtension + { + public static string Value(this TravelProgramType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static TravelProgramType ToEnum(this string value) + { + foreach (var field in typeof(TravelProgramType).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 TravelProgramType) + { + return (TravelProgramType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum TravelProgramType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramTypeJson.cs deleted file mode 100644 index 83ed28456..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramTypeJson.cs +++ /dev/null @@ -1,58 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Code representing the travel program type. - /// - public enum TravelProgramTypeJson - { - [JsonProperty("corporate")] Corporate, - [JsonProperty("leisure")] Leisure, - [JsonProperty("consortia")] Consortia, - } - - public static class TravelProgramTypeJsonExtension - { - public static string Value(this TravelProgramTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static TravelProgramTypeJson ToEnum(this string value) - { - foreach (var field in typeof(TravelProgramTypeJson).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 TravelProgramTypeJson) - { - return (TravelProgramTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum TravelProgramTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposal.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposal.cs index b3aaa4df6..fb40ce1f7 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposal.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposal.cs @@ -72,7 +72,7 @@ public class TravelProposal /// The status of the proposal. /// [JsonProperty("status")] - public ProposalStatusTypeJson? Status { get; set; } + public ProposalStatusType? Status { get; set; } /// /// True indicates the proposal is deleted. @@ -84,19 +84,19 @@ public class TravelProposal /// The rate review status of the proposal. /// [JsonProperty("rateReviewStatus")] - public RateReviewStatusTypeJson? RateReviewStatus { get; set; } + public RateReviewStatusType? RateReviewStatus { get; set; } /// /// Business type. /// [JsonProperty("businessType")] - public BusinessTypeJson? BusinessType { get; set; } + public BusinessType? BusinessType { get; set; } /// /// Proposal format. /// [JsonProperty("format")] - public FormatTypeJson? Format { get; set; } + public FormatType? Format { get; set; } /// /// True indicates the documents been read by the supply-side. @@ -150,24 +150,24 @@ public class TravelProposal /// Collection of bid IDs attached to the proposal. /// [JsonProperty("bids")] - public List? Bids { get; set; } + public List? Bids { get; set; } /// /// Collection of custom questions. /// [JsonProperty("customQuestionAnswers")] - public List? CustomQuestionAnswers { get; set; } + public List? CustomQuestionAnswers { get; set; } /// /// Group and meeting information. /// [JsonProperty("groupAndMeeting")] - public TravelGroupAndMeetingJson? GroupAndMeeting { get; set; } + public TravelProposalGroupAndMeeting? GroupAndMeeting { get; set; } /// /// Represent proposal disposition details. /// [JsonProperty("proposalDisposition")] - public TravelProposalDispositionJson? ProposalDisposition { get; set; } + public TravelProposalDisposition? ProposalDisposition { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalBid.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalBid.cs deleted file mode 100644 index 4154b01ee..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalBid.cs +++ /dev/null @@ -1,154 +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; - using System.Collections.Generic; - - /// - /// A travel proposal bid rate plan that is being proposed to a customer. - /// - public class TravelProposalBid - { - /// - /// The travel proposal that the bid belongs to. - /// - [JsonProperty("travelProposal")] - public TravelProposalBidTravelProposal? TravelProposal { get; set; } - - /// - /// The unique ID of the bid. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// Bid stay type. - /// - [JsonProperty("stayType")] - public BidStayTypeJson? StayType { get; set; } = Cvent.SDK.Models.Components.BidStayTypeJson.Daily; - - /// - /// The order of the bid compared to other bids of the same stay type. This is used to distinguish between extended stay 1 vs extended stay 2. - /// - [JsonProperty("order")] - public long? Order { get; set; } = 1; - - /// - /// Bid stay type. - /// - [JsonProperty("status")] - public BidStatusTypeJson? Status { get; set; } = Cvent.SDK.Models.Components.BidStatusTypeJson.InProgress; - - /// - /// Name given to the bid. - /// - [JsonProperty("name")] - public string? Name { get; set; } - - /// - /// The rate (cost) information for a travel bid. - /// - [JsonProperty("rate")] - public TravelBidRateJson? Rate { get; set; } - - /// - /// The market code given to the rate plan / bid by the supplier. - /// - [JsonProperty("marketCode")] - public string? MarketCode { get; set; } - - /// - /// The ISO 4217 currency code used for the rates and other monetary values in the bid. - /// - [JsonProperty("currencyCode")] - public string? CurrencyCode { get; set; } - - /// - /// Days of the week that are considered weekend days, to apply weekend rates. Does not apply when format is GBTA2013. - /// - [JsonProperty("weekendDays")] - public List? WeekendDays { get; set; } - - /// - /// Does the bid include LRA (Last Room Availability) rates? - /// - [JsonProperty("lra")] - public bool? Lra { get; set; } = true; - - /// - /// Does the bid include non-LRA rates? - /// - [JsonProperty("nlra")] - public bool? Nlra { get; set; } = true; - - /// - /// Are the fair date rates LRA (Last Room Availability)? - /// - [JsonProperty("fairDateLra")] - public bool? FairDateLra { get; set; } = true; - - /// - /// Additional comments passed from the domain-level rate plan. - /// - [JsonProperty("internalNote")] - public string? InternalNote { get; set; } - - /// - /// Additional Info. - /// - [JsonProperty("comments")] - public List? Comments { get; set; } - - /// - /// Room Types associated with the bid. - /// - [JsonProperty("roomTypes")] - public List? RoomTypes { get; set; } - - /// - /// Seasons associated with the bid. - /// - [JsonProperty("seasons")] - public List? Seasons { get; set; } - - /// - /// Dynamic discounts associated with the bid. - /// - [JsonProperty("discounts")] - public List? Discounts { get; set; } - - /// - /// Fair seasons associated with the bid. - /// - [JsonProperty("fairSeasons")] - public List? FairSeasons { get; set; } - - /// - /// Amenities associated with the bid. - /// - [JsonProperty("amenities")] - public List? Amenities { get; set; } - - /// - /// Policies associated with the bid. - /// - [JsonProperty("policies")] - public List? Policies { get; set; } - - /// - /// Taxes & fees associated with the bid. - /// - [JsonProperty("taxesAndFees")] - public List? TaxesAndFees { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalBid1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalBid1.cs new file mode 100644 index 000000000..3044e5d95 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalBid1.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// A travel proposal bid. + /// + public class TravelProposalBid1 + { + /// + /// The ID of the bid. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalBid2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalBid2.cs new file mode 100644 index 000000000..ded138955 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalBid2.cs @@ -0,0 +1,154 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// A travel proposal bid rate plan that is being proposed to a customer. + /// + public class TravelProposalBid2 + { + /// + /// The travel proposal that the bid belongs to. + /// + [JsonProperty("travelProposal")] + public TravelProposalBidTravelProposal? TravelProposal { get; set; } + + /// + /// The unique ID of the bid. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// Bid stay type. + /// + [JsonProperty("stayType")] + public BidStayType? StayType { get; set; } = Cvent.SDK.Models.Components.BidStayType.Daily; + + /// + /// The order of the bid compared to other bids of the same stay type. This is used to distinguish between extended stay 1 vs extended stay 2. + /// + [JsonProperty("order")] + public long? Order { get; set; } = 1; + + /// + /// Bid stay type. + /// + [JsonProperty("status")] + public BidStatusType? Status { get; set; } = Cvent.SDK.Models.Components.BidStatusType.InProgress; + + /// + /// Name given to the bid. + /// + [JsonProperty("name")] + public string? Name { get; set; } + + /// + /// The rate (cost) information for a travel bid. + /// + [JsonProperty("rate")] + public TravelProposalBidRate? Rate { get; set; } + + /// + /// The market code given to the rate plan / bid by the supplier. + /// + [JsonProperty("marketCode")] + public string? MarketCode { get; set; } + + /// + /// The ISO 4217 currency code used for the rates and other monetary values in the bid. + /// + [JsonProperty("currencyCode")] + public string? CurrencyCode { get; set; } + + /// + /// Days of the week that are considered weekend days, to apply weekend rates. Does not apply when format is GBTA2013. + /// + [JsonProperty("weekendDays")] + public List? WeekendDays { get; set; } + + /// + /// Does the bid include LRA (Last Room Availability) rates? + /// + [JsonProperty("lra")] + public bool? Lra { get; set; } = true; + + /// + /// Does the bid include non-LRA rates? + /// + [JsonProperty("nlra")] + public bool? Nlra { get; set; } = true; + + /// + /// Are the fair date rates LRA (Last Room Availability)? + /// + [JsonProperty("fairDateLra")] + public bool? FairDateLra { get; set; } = true; + + /// + /// Additional comments passed from the domain-level rate plan. + /// + [JsonProperty("internalNote")] + public string? InternalNote { get; set; } + + /// + /// Additional Info. + /// + [JsonProperty("comments")] + public List? Comments { get; set; } + + /// + /// Room Types associated with the bid. + /// + [JsonProperty("roomTypes")] + public List? RoomTypes { get; set; } + + /// + /// Seasons associated with the bid. + /// + [JsonProperty("seasons")] + public List? Seasons { get; set; } + + /// + /// Dynamic discounts associated with the bid. + /// + [JsonProperty("discounts")] + public List? Discounts { get; set; } + + /// + /// Fair seasons associated with the bid. + /// + [JsonProperty("fairSeasons")] + public List? FairSeasons { get; set; } + + /// + /// Amenities associated with the bid. + /// + [JsonProperty("amenities")] + public List? Amenities { get; set; } + + /// + /// Policies associated with the bid. + /// + [JsonProperty("policies")] + public List? Policies { get; set; } + + /// + /// Taxes & fees associated with the bid. + /// + [JsonProperty("taxesAndFees")] + public List? TaxesAndFees { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalBidIdJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalBidIdJson.cs deleted file mode 100644 index f98237a6f..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalBidIdJson.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// A travel proposal bid. - /// - public class TravelProposalBidIdJson - { - /// - /// The ID of the bid. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalBidPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalBidPaginatedResponse.cs index 71f63c9f3..4d073aa0f 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalBidPaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalBidPaginatedResponse.cs @@ -23,12 +23,12 @@ public class TravelProposalBidPaginatedResponse /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson? Paging { get; set; } + public Paging? Paging { get; set; } /// /// Paginated list of business transient proposal bids. /// [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/TravelProposalBidRate.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalBidRate.cs new file mode 100644 index 000000000..fd8a702a6 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalBidRate.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// The rate (cost) information for a travel bid. + /// + public class TravelProposalBidRate + { + /// + /// Rate level. + /// + [JsonProperty("level")] + public RateLevelType? Level { get; set; } + + /// + /// Rate type. + /// + [JsonProperty("type")] + public RateType? Type { get; set; } = Cvent.SDK.Models.Components.RateType.Fixed; + + /// + /// The code given to the bid (also called rate plan) by the supplier. + /// + [JsonProperty("planCode")] + public string? PlanCode { get; set; } + + /// + /// The rate tier given to the bid (also called rate plan) by the supplier. + /// + [JsonProperty("tier")] + public string? Tier { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalCustomQuestion.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalCustomQuestion.cs new file mode 100644 index 000000000..53fd67e2a --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalCustomQuestion.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Represents custom question associated with a travel proposal. + /// + public class TravelProposalCustomQuestion + { + /// + /// Travel account that the proposal is responding to. + /// + [JsonProperty("question")] + public TravelProposalCustomQuestionQuestion? Question { get; set; } + + /// + /// Hotel's answer to the program's custom question. + /// + [JsonProperty("answer")] + public string? Answer { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalCustomQuestionQuestion.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalCustomQuestionQuestion.cs new file mode 100644 index 000000000..f2453727f --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalCustomQuestionQuestion.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Travel account that the proposal is responding to. + /// + public class TravelProposalCustomQuestionQuestion + { + /// + /// The unique ID of the question. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalDisposition.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalDisposition.cs new file mode 100644 index 000000000..e2b8b0e74 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalDisposition.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; + + /// + /// Represent proposal disposition details. + /// + public class TravelProposalDisposition + { + /// + /// List of bid dispositions. + /// + [JsonProperty("bidDispositions")] + public List? BidDispositions { get; set; } + + /// + /// Indicates if the group and meeting is accepted. + /// + [JsonProperty("groupAndMeetingAccepted")] + public bool? GroupAndMeetingAccepted { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalDispositionJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalDispositionJson.cs deleted file mode 100644 index c44122603..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalDispositionJson.cs +++ /dev/null @@ -1,34 +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; - using System.Collections.Generic; - - /// - /// Represent proposal disposition details. - /// - public class TravelProposalDispositionJson - { - /// - /// List of bid dispositions. - /// - [JsonProperty("bidDispositions")] - public List? BidDispositions { get; set; } - - /// - /// Indicates if the group and meeting is accepted. - /// - [JsonProperty("groupAndMeetingAccepted")] - public bool? GroupAndMeetingAccepted { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeeting.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeeting.cs new file mode 100644 index 000000000..e823e4b55 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeeting.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; + + /// + /// Group and meeting information. + /// + public class TravelProposalGroupAndMeeting + { + /// + /// Run of house rate information. + /// + [JsonProperty("runOfHouseRate")] + public TravelProposalGroupAndMeetingRunOfHouseRate? RunOfHouseRate { get; set; } + + /// + /// Day delegate rate information. This represents the costs for hosting meeting at the venue for a half or full day. + /// + [JsonProperty("dayDelegateRate")] + public TravelProposalGroupAndMeetingDayDelegateRate? DayDelegateRate { get; set; } + + /// + /// Tax and service charge information. + /// + [JsonProperty("taxAndServiceCharge")] + public TravelProposalGroupAndMeetingTaxAndServiceCharge? TaxAndServiceCharge { get; set; } + + /// + /// Meeting room basic information. + /// + [JsonProperty("meetingRoomBasicInformation")] + public TravelProposalGroupAndMeetingMeetingRoomBasicInformation? MeetingRoomBasicInformation { get; set; } + + /// + /// Group and meeting amenity info. + /// + [JsonProperty("amenity")] + public TravelProposalGroupAndMeetingAmenity? Amenity { get; set; } + + /// + /// Break-out room information. + /// + [JsonProperty("breakOutRoom")] + public TravelProposalGroupAndMeetingBreakOutRoom? BreakOutRoom { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeetingAmenity.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeetingAmenity.cs new file mode 100644 index 000000000..6615ce39f --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeetingAmenity.cs @@ -0,0 +1,68 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Group and meeting amenity info. + /// + public class TravelProposalGroupAndMeetingAmenity + { + /// + /// True indicates a liquid crystal display (LCD) is included in the amenity. + /// + [JsonProperty("lcdIncluded")] + public bool? LcdIncluded { get; set; } + + /// + /// Price of the liquid crystal display (LCD). + /// + [JsonProperty("lcdPrice")] + public double? LcdPrice { get; set; } + + /// + /// True indicates a screen is included in the amenity. + /// + [JsonProperty("screenIncluded")] + public bool? ScreenIncluded { get; set; } + + /// + /// Price of the screen. + /// + [JsonProperty("screenPrice")] + public double? ScreenPrice { get; set; } + + /// + /// True indicates high speed internet access is included in the amenity. + /// + [JsonProperty("hsiaIncluded")] + public bool? HsiaIncluded { get; set; } + + /// + /// Price of high speed internet access (HSIA). + /// + [JsonProperty("hsiaPrice")] + public double? HsiaPrice { get; set; } + + /// + /// True indicates parking is included in the amenity. + /// + [JsonProperty("complementaryParkingIncluded")] + public bool? ComplementaryParkingIncluded { get; set; } + + /// + /// Name of company providing AV equipment. + /// + [JsonProperty("whatCompanyProvidesAVEquipment")] + public string? WhatCompanyProvidesAVEquipment { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeetingBreakOutRoom.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeetingBreakOutRoom.cs new file mode 100644 index 000000000..f8cc207b9 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeetingBreakOutRoom.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Break-out room information. + /// + public class TravelProposalGroupAndMeetingBreakOutRoom + { + /// + /// True indicates a 10 person room is included. + /// + [JsonProperty("10PersonRoomIncluded")] + public bool? TenPersonRoomIncluded { get; set; } + + /// + /// Price for 10 person room. + /// + [JsonProperty("price10PersonRoom")] + public double? Price10PersonRoom { get; set; } + + /// + /// True indicates a 25 person room included. + /// + [JsonProperty("25PersonRoomIncluded")] + public bool? TwentyFivePersonRoomIncluded { get; set; } + + /// + /// Price for 25 person room. + /// + [JsonProperty("price25PersonRoom")] + public double? Price25PersonRoom { get; set; } + + /// + /// True indicates there is a permanent board room set up. + /// + [JsonProperty("permanentBoardRoomSetUp")] + public bool? PermanentBoardRoomSetUp { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeetingDayDelegateRate.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeetingDayDelegateRate.cs new file mode 100644 index 000000000..951fb2fec --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeetingDayDelegateRate.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; + + /// + /// Day delegate rate information. This represents the costs for hosting meeting at the venue for a half or full day. + /// + public class TravelProposalGroupAndMeetingDayDelegateRate + { + /// + /// Full day delegate rate for 10 to 50 people. + /// + [JsonProperty("fullDay10To50People")] + public double? FullDay10To50People { get; set; } + + /// + /// Full day delegate rate for 51 to 100 people. + /// + [JsonProperty("fullDay51To100People")] + public double? FullDay51To100People { get; set; } + + /// + /// Half day delegate rate for 10 to 50 people. + /// + [JsonProperty("halfDay10To50People")] + public double? HalfDay10To50People { get; set; } + + /// + /// Half day delegate rate for 51 to 100 people. + /// + [JsonProperty("halfDay51To100People")] + public double? HalfDay51To100People { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeetingMeetingRoomBasicInformation.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeetingMeetingRoomBasicInformation.cs new file mode 100644 index 000000000..2018c2f8d --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeetingMeetingRoomBasicInformation.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; + + /// + /// Meeting room basic information. + /// + public class TravelProposalGroupAndMeetingMeetingRoomBasicInformation + { + /// + /// Size of the largest meeting room. Units of measurement determined by `unitOfMeasurement` field. + /// + [JsonProperty("largestMeetingRoom")] + public long? LargestMeetingRoom { get; set; } + + /// + /// Unit of measurement of the `largestMeetingRoom`'s size. + /// + [JsonProperty("unitOfMeasurement")] + public string? UnitOfMeasurement { get; set; } + + /// + /// Total number of meeting rooms. + /// + [JsonProperty("meetingRooms")] + public long? MeetingRooms { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeetingRunOfHouseRate.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeetingRunOfHouseRate.cs new file mode 100644 index 000000000..049f207c9 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeetingRunOfHouseRate.cs @@ -0,0 +1,80 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Run of house rate information. + /// + public class TravelProposalGroupAndMeetingRunOfHouseRate + { + /// + /// Season one run of house rate for 10-50 people. + /// + [JsonProperty("seasonOne10To50People")] + public double? SeasonOne10To50People { get; set; } + + /// + /// Season one run of house rate for 51-100 people. + /// + [JsonProperty("seasonOne51To100People")] + public double? SeasonOne51To100People { get; set; } + + /// + /// Season two run of house rate for 10-50 people. + /// + [JsonProperty("seasonTwo10To50People")] + public double? SeasonTwo10To50People { get; set; } + + /// + /// Season two run of house rate for 51-100 people. + /// + [JsonProperty("seasonTwo51To100People")] + public double? SeasonTwo51To100People { get; set; } + + /// + /// Season three run of house rate for 10-50 people. + /// + [JsonProperty("seasonThree10To50People")] + public double? SeasonThree10To50People { get; set; } + + /// + /// Season three run of house rate for 51-100 people. + /// + [JsonProperty("seasonThree51To100People")] + public double? SeasonThree51To100People { get; set; } + + /// + /// Season four run of house rate for 10-50 people. + /// + [JsonProperty("seasonFour10To50People")] + public double? SeasonFour10To50People { get; set; } + + /// + /// Season four run of house rate for 51-100 people. + /// + [JsonProperty("seasonFour51To100People")] + public double? SeasonFour51To100People { get; set; } + + /// + /// Season five run of house rate for 10-50 people. + /// + [JsonProperty("seasonFive10To50People")] + public double? SeasonFive10To50People { get; set; } + + /// + /// Season five run of house rate for 51-100 people. + /// + [JsonProperty("seasonFive51To100People")] + public double? SeasonFive51To100People { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeetingTaxAndServiceCharge.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeetingTaxAndServiceCharge.cs new file mode 100644 index 000000000..c0a2c6ee3 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalGroupAndMeetingTaxAndServiceCharge.cs @@ -0,0 +1,56 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Tax and service charge information. + /// + public class TravelProposalGroupAndMeetingTaxAndServiceCharge + { + /// + /// Tax amount. + /// + [JsonProperty("taxAmount")] + public double? TaxAmount { get; set; } + + /// + /// True indicates the tax amount represents a percentage, instead of a monetary value. + /// + [JsonProperty("taxPercent")] + public bool? TaxPercent { get; set; } + + /// + /// True indicates the tax included. + /// + [JsonProperty("taxIncluded")] + public bool? TaxIncluded { get; set; } + + /// + /// Service charge amount. + /// + [JsonProperty("serviceChargeAmount")] + public double? ServiceChargeAmount { get; set; } + + /// + /// True indicates the service charge amount represents a percentage, instead of a monetary value. + /// + [JsonProperty("serviceChargePercent")] + public bool? ServiceChargePercent { get; set; } + + /// + /// True indicates the service charge is included. + /// + [JsonProperty("serviceChargeIncluded")] + public bool? ServiceChargeIncluded { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalPaginatedResponse.cs index 526c43c8b..472ace78d 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalPaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProposalPaginatedResponse.cs @@ -23,7 +23,7 @@ public class TravelProposalPaginatedResponse /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson? Paging { get; set; } + public Paging? Paging { get; set; } /// /// Paginated list of business transient proposals. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelRunOfHouseRateJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelRunOfHouseRateJson.cs deleted file mode 100644 index 65b070b89..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelRunOfHouseRateJson.cs +++ /dev/null @@ -1,80 +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.Utils; - using Newtonsoft.Json; - - /// - /// Run of house rate information. - /// - public class TravelRunOfHouseRateJson - { - /// - /// Season one run of house rate for 10-50 people. - /// - [JsonProperty("seasonOne10To50People")] - public double? SeasonOne10To50People { get; set; } - - /// - /// Season one run of house rate for 51-100 people. - /// - [JsonProperty("seasonOne51To100People")] - public double? SeasonOne51To100People { get; set; } - - /// - /// Season two run of house rate for 10-50 people. - /// - [JsonProperty("seasonTwo10To50People")] - public double? SeasonTwo10To50People { get; set; } - - /// - /// Season two run of house rate for 51-100 people. - /// - [JsonProperty("seasonTwo51To100People")] - public double? SeasonTwo51To100People { get; set; } - - /// - /// Season three run of house rate for 10-50 people. - /// - [JsonProperty("seasonThree10To50People")] - public double? SeasonThree10To50People { get; set; } - - /// - /// Season three run of house rate for 51-100 people. - /// - [JsonProperty("seasonThree51To100People")] - public double? SeasonThree51To100People { get; set; } - - /// - /// Season four run of house rate for 10-50 people. - /// - [JsonProperty("seasonFour10To50People")] - public double? SeasonFour10To50People { get; set; } - - /// - /// Season four run of house rate for 51-100 people. - /// - [JsonProperty("seasonFour51To100People")] - public double? SeasonFour51To100People { get; set; } - - /// - /// Season five run of house rate for 10-50 people. - /// - [JsonProperty("seasonFive10To50People")] - public double? SeasonFive10To50People { get; set; } - - /// - /// Season five run of house rate for 51-100 people. - /// - [JsonProperty("seasonFive51To100People")] - public double? SeasonFive51To100People { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelTaxAndServiceChargeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelTaxAndServiceChargeJson.cs deleted file mode 100644 index 2fa8dca63..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelTaxAndServiceChargeJson.cs +++ /dev/null @@ -1,56 +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.Utils; - using Newtonsoft.Json; - - /// - /// Tax and service charge information. - /// - public class TravelTaxAndServiceChargeJson - { - /// - /// Tax amount. - /// - [JsonProperty("taxAmount")] - public double? TaxAmount { get; set; } - - /// - /// True indicates the tax amount represents a percentage, instead of a monetary value. - /// - [JsonProperty("taxPercent")] - public bool? TaxPercent { get; set; } - - /// - /// True indicates the tax included. - /// - [JsonProperty("taxIncluded")] - public bool? TaxIncluded { get; set; } - - /// - /// Service charge amount. - /// - [JsonProperty("serviceChargeAmount")] - public double? ServiceChargeAmount { get; set; } - - /// - /// True indicates the service charge amount represents a percentage, instead of a monetary value. - /// - [JsonProperty("serviceChargePercent")] - public bool? ServiceChargePercent { get; set; } - - /// - /// True indicates the service charge is included. - /// - [JsonProperty("serviceChargeIncluded")] - public bool? ServiceChargeIncluded { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/UnitPosition.cs b/packages/csharp/src/Cvent/SDK/Models/Components/UnitPosition.cs new file mode 100644 index 000000000..a3ff3755e --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/UnitPosition.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.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Unit position used for text box question type. + /// + public enum UnitPosition + { + [JsonProperty("Left")] Left, + [JsonProperty("Right")] Right, + } + + public static class UnitPositionExtension + { + public static string Value(this UnitPosition value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static UnitPosition ToEnum(this string value) + { + foreach (var field in typeof(UnitPosition).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 UnitPosition) + { + return (UnitPosition)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum UnitPosition"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/UnitPositionJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/UnitPositionJson.cs deleted file mode 100644 index 9a049dce7..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/UnitPositionJson.cs +++ /dev/null @@ -1,57 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Unit position used for text box question type. - /// - public enum UnitPositionJson - { - [JsonProperty("Left")] Left, - [JsonProperty("Right")] Right, - } - - public static class UnitPositionJsonExtension - { - public static string Value(this UnitPositionJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static UnitPositionJson ToEnum(this string value) - { - foreach (var field in typeof(UnitPositionJson).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 UnitPositionJson) - { - return (UnitPositionJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum UnitPositionJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/UpdatedThroughNameProperty.cs b/packages/csharp/src/Cvent/SDK/Models/Components/UpdatedThroughNameProperty.cs new file mode 100644 index 000000000..3ebfb9315 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/UpdatedThroughNameProperty.cs @@ -0,0 +1,141 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Name of the place where this change was updated through. + /// + public enum UpdatedThroughNameProperty + { + [JsonProperty("Abstract Guest Side Author Update")] AbstractGuestSideAuthorUpdate, + [JsonProperty("Abstract Guest Side Reviewer Update")] AbstractGuestSideReviewerUpdate, + [JsonProperty("Abstract Guest Side User")] AbstractGuestSideUser, + [JsonProperty("Abstract Planner side")] AbstractPlannerSide, + [JsonProperty("Address Book Profile")] AddressBookProfile, + [JsonProperty("Amex Card Delete")] AmexCardDelete, + [JsonProperty("Amex Card Insert")] AmexCardInsert, + [JsonProperty("Amex Card Update")] AmexCardUpdate, + [JsonProperty("Answers Replaced from Administration")] AnswersReplacedFromAdministration, + [JsonProperty("Appointment Guest Side")] AppointmentGuestSide, + [JsonProperty("Attendee Hub")] AttendeeHub, + [JsonProperty("Budget Allocation Update")] BudgetAllocationUpdate, + [JsonProperty("Budget Attendee Update")] BudgetAttendeeUpdate, + [JsonProperty("Budget Item Custom Field Answers Replaced from Administration")] BudgetItemCustomFieldAnswersReplacedFromAdministration, + [JsonProperty("Budget Item Delete")] BudgetItemDelete, + [JsonProperty("Budget Item Duplicate")] BudgetItemDuplicate, + [JsonProperty("Budget Item Import")] BudgetItemImport, + [JsonProperty("Budget Item Insert via REST API")] BudgetItemInsertViaRESTAPI, + [JsonProperty("Budget Item Insert")] BudgetItemInsert, + [JsonProperty("Budget Item Single Update")] BudgetItemSingleUpdate, + [JsonProperty("Budget Item Template Import")] BudgetItemTemplateImport, + [JsonProperty("Budget Item Update via REST API")] BudgetItemUpdateViaRESTAPI, + [JsonProperty("Budget Items Bulk Assign Vendor")] BudgetItemsBulkAssignVendor, + [JsonProperty("Budget Items Bulk Copy Cost label")] BudgetItemsBulkCopyCostLabel, + [JsonProperty("Budget Items Bulk Copy")] BudgetItemsBulkCopy, + [JsonProperty("Budget Items Bulk Delete")] BudgetItemsBulkDelete, + [JsonProperty("Budget Items Bulk Update")] BudgetItemsBulkUpdate, + [JsonProperty("Budget Version Update")] BudgetVersionUpdate, + [JsonProperty("Bulk Update Contact Field Answer")] BulkUpdateContactFieldAnswer, + [JsonProperty("Concur Reconciliation - Create New Budget Item For Each Expense")] ConcurReconciliationCreateNewBudgetItemForEachExpense, + [JsonProperty("Concur Reconciliation - Map to Existing Budget Item")] ConcurReconciliationMapToExistingBudgetItem, + [JsonProperty("Confirm Opt In Email")] ConfirmOptInEmail, + [JsonProperty("Contact Import")] ContactImport, + [JsonProperty("Contact New Membership")] ContactNewMembership, + [JsonProperty("Contact Pending Obfuscation")] ContactPendingObfuscation, + [JsonProperty("Contact Website Profile Update")] ContactWebsiteProfileUpdate, + [JsonProperty("Created Within Meeting Request")] CreatedWithinMeetingRequest, + [JsonProperty("Created from API")] CreatedFromAPI, + [JsonProperty("Created from Request Website")] CreatedFromRequestWebsite, + [JsonProperty("Crowd Compass Profile Update")] CrowdCompassProfileUpdate, + [JsonProperty("Custom Field Added From Admin")] CustomFieldAddedFromAdmin, + [JsonProperty("Custom Field Added via REST API")] CustomFieldAddedViaRESTAPI, + [JsonProperty("Custom Field Deleted From Admin")] CustomFieldDeletedFromAdmin, + [JsonProperty("Custom Field Modified From Admin")] CustomFieldModifiedFromAdmin, + [JsonProperty("Custom Field Modified via REST API")] CustomFieldModifiedViaRESTAPI, + [JsonProperty("Deleted Within Administration")] DeletedWithinAdministration, + [JsonProperty("Deleted from Meeting Request Form")] DeletedFromMeetingRequestForm, + [JsonProperty("Deleted from Request Website")] DeletedFromRequestWebsite, + [JsonProperty("Deleted within Meeting Request")] DeletedWithinMeetingRequest, + [JsonProperty("Event Automatically Created from Meeting Request")] EventAutomaticallyCreatedFromMeetingRequest, + [JsonProperty("Event Created from API")] EventCreatedFromAPI, + [JsonProperty("Event Created from Event Wizard")] EventCreatedFromEventWizard, + [JsonProperty("Event Guest Side Modification")] EventGuestSideModification, + [JsonProperty("Event Guest Side Registration")] EventGuestSideRegistration, + [JsonProperty("Event Import")] EventImport, + [JsonProperty("Event Modified from Meeting Request via API")] EventModifiedFromMeetingRequestViaAPI, + [JsonProperty("Event Modified from Meeting Request")] EventModifiedFromMeetingRequest, + [JsonProperty("Event Onsite Registration")] EventOnsiteRegistration, + [JsonProperty("Event POST")] EventPOST, + [JsonProperty("Event Planner Contact Information Update")] EventPlannerContactInformationUpdate, + [JsonProperty("Event Planner Side Modification")] EventPlannerSideModification, + [JsonProperty("Event Planner Side Registration")] EventPlannerSideRegistration, + [JsonProperty("Hotel Request Import")] HotelRequestImport, + [JsonProperty("Marketo Contact Import")] MarketoContactImport, + [JsonProperty("Modified Within Event")] ModifiedWithinEvent, + [JsonProperty("Modified Within Meeting Request")] ModifiedWithinMeetingRequest, + [JsonProperty("Modified from API")] ModifiedFromAPI, + [JsonProperty("Modified from Event Documents")] ModifiedFromEventDocuments, + [JsonProperty("Modified from Meeting Request via Notification")] ModifiedFromMeetingRequestViaNotification, + [JsonProperty("Modified from Request Website")] ModifiedFromRequestWebsite, + [JsonProperty("Registration Import")] RegistrationImport, + [JsonProperty("REST API")] RestApi, + [JsonProperty("Salesforce Integration")] SalesforceIntegration, + [JsonProperty("Survey Author Modification")] SurveyAuthorModification, + [JsonProperty("Survey Author Response")] SurveyAuthorResponse, + [JsonProperty("Survey Guest Side Modification")] SurveyGuestSideModification, + [JsonProperty("Survey Guest Side Response")] SurveyGuestSideResponse, + [JsonProperty("Survey POST")] SurveyPOST, + [JsonProperty("Travel Cost Import - Map to Existing Budget item")] TravelCostImportMapToExistingBudgetItem, + [JsonProperty("Travel Cost Import - Map to New Budget Item")] TravelCostImportMapToNewBudgetItem, + [JsonProperty("VCN Transaction - Create New Budget Item For Each Transaction")] VCNTransactionCreateNewBudgetItemForEachTransaction, + [JsonProperty("VCN Transaction - Map to Multiple Budget Item")] VCNTransactionMapToMultipleBudgetItem, + [JsonProperty("VCN Transaction - Map to Single Budget Item")] VCNTransactionMapToSingleBudgetItem, + [JsonProperty("VCN Transaction - Removed from Budget Item")] VCNTransactionRemovedFromBudgetItem, + [JsonProperty("Web Services")] WebServices, + [JsonProperty("eMarketing Profile Update")] EMarketingProfileUpdate, + } + + public static class UpdatedThroughNamePropertyExtension + { + public static string Value(this UpdatedThroughNameProperty value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static UpdatedThroughNameProperty ToEnum(this string value) + { + foreach (var field in typeof(UpdatedThroughNameProperty).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 UpdatedThroughNameProperty) + { + return (UpdatedThroughNameProperty)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum UpdatedThroughNameProperty"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/UpdatedThroughNamePropertyJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/UpdatedThroughNamePropertyJson.cs deleted file mode 100644 index 837ab5b90..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/UpdatedThroughNamePropertyJson.cs +++ /dev/null @@ -1,141 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Name of the place where this change was updated through. - /// - public enum UpdatedThroughNamePropertyJson - { - [JsonProperty("Abstract Guest Side Author Update")] AbstractGuestSideAuthorUpdate, - [JsonProperty("Abstract Guest Side Reviewer Update")] AbstractGuestSideReviewerUpdate, - [JsonProperty("Abstract Guest Side User")] AbstractGuestSideUser, - [JsonProperty("Abstract Planner side")] AbstractPlannerSide, - [JsonProperty("Address Book Profile")] AddressBookProfile, - [JsonProperty("Amex Card Delete")] AmexCardDelete, - [JsonProperty("Amex Card Insert")] AmexCardInsert, - [JsonProperty("Amex Card Update")] AmexCardUpdate, - [JsonProperty("Answers Replaced from Administration")] AnswersReplacedFromAdministration, - [JsonProperty("Appointment Guest Side")] AppointmentGuestSide, - [JsonProperty("Attendee Hub")] AttendeeHub, - [JsonProperty("Budget Allocation Update")] BudgetAllocationUpdate, - [JsonProperty("Budget Attendee Update")] BudgetAttendeeUpdate, - [JsonProperty("Budget Item Custom Field Answers Replaced from Administration")] BudgetItemCustomFieldAnswersReplacedFromAdministration, - [JsonProperty("Budget Item Delete")] BudgetItemDelete, - [JsonProperty("Budget Item Duplicate")] BudgetItemDuplicate, - [JsonProperty("Budget Item Import")] BudgetItemImport, - [JsonProperty("Budget Item Insert via REST API")] BudgetItemInsertViaRESTAPI, - [JsonProperty("Budget Item Insert")] BudgetItemInsert, - [JsonProperty("Budget Item Single Update")] BudgetItemSingleUpdate, - [JsonProperty("Budget Item Template Import")] BudgetItemTemplateImport, - [JsonProperty("Budget Item Update via REST API")] BudgetItemUpdateViaRESTAPI, - [JsonProperty("Budget Items Bulk Assign Vendor")] BudgetItemsBulkAssignVendor, - [JsonProperty("Budget Items Bulk Copy Cost label")] BudgetItemsBulkCopyCostLabel, - [JsonProperty("Budget Items Bulk Copy")] BudgetItemsBulkCopy, - [JsonProperty("Budget Items Bulk Delete")] BudgetItemsBulkDelete, - [JsonProperty("Budget Items Bulk Update")] BudgetItemsBulkUpdate, - [JsonProperty("Budget Version Update")] BudgetVersionUpdate, - [JsonProperty("Bulk Update Contact Field Answer")] BulkUpdateContactFieldAnswer, - [JsonProperty("Concur Reconciliation - Create New Budget Item For Each Expense")] ConcurReconciliationCreateNewBudgetItemForEachExpense, - [JsonProperty("Concur Reconciliation - Map to Existing Budget Item")] ConcurReconciliationMapToExistingBudgetItem, - [JsonProperty("Confirm Opt In Email")] ConfirmOptInEmail, - [JsonProperty("Contact Import")] ContactImport, - [JsonProperty("Contact New Membership")] ContactNewMembership, - [JsonProperty("Contact Pending Obfuscation")] ContactPendingObfuscation, - [JsonProperty("Contact Website Profile Update")] ContactWebsiteProfileUpdate, - [JsonProperty("Created Within Meeting Request")] CreatedWithinMeetingRequest, - [JsonProperty("Created from API")] CreatedFromAPI, - [JsonProperty("Created from Request Website")] CreatedFromRequestWebsite, - [JsonProperty("Crowd Compass Profile Update")] CrowdCompassProfileUpdate, - [JsonProperty("Custom Field Added From Admin")] CustomFieldAddedFromAdmin, - [JsonProperty("Custom Field Added via REST API")] CustomFieldAddedViaRESTAPI, - [JsonProperty("Custom Field Deleted From Admin")] CustomFieldDeletedFromAdmin, - [JsonProperty("Custom Field Modified From Admin")] CustomFieldModifiedFromAdmin, - [JsonProperty("Custom Field Modified via REST API")] CustomFieldModifiedViaRESTAPI, - [JsonProperty("Deleted Within Administration")] DeletedWithinAdministration, - [JsonProperty("Deleted from Meeting Request Form")] DeletedFromMeetingRequestForm, - [JsonProperty("Deleted from Request Website")] DeletedFromRequestWebsite, - [JsonProperty("Deleted within Meeting Request")] DeletedWithinMeetingRequest, - [JsonProperty("Event Automatically Created from Meeting Request")] EventAutomaticallyCreatedFromMeetingRequest, - [JsonProperty("Event Created from API")] EventCreatedFromAPI, - [JsonProperty("Event Created from Event Wizard")] EventCreatedFromEventWizard, - [JsonProperty("Event Guest Side Modification")] EventGuestSideModification, - [JsonProperty("Event Guest Side Registration")] EventGuestSideRegistration, - [JsonProperty("Event Import")] EventImport, - [JsonProperty("Event Modified from Meeting Request via API")] EventModifiedFromMeetingRequestViaAPI, - [JsonProperty("Event Modified from Meeting Request")] EventModifiedFromMeetingRequest, - [JsonProperty("Event Onsite Registration")] EventOnsiteRegistration, - [JsonProperty("Event POST")] EventPOST, - [JsonProperty("Event Planner Contact Information Update")] EventPlannerContactInformationUpdate, - [JsonProperty("Event Planner Side Modification")] EventPlannerSideModification, - [JsonProperty("Event Planner Side Registration")] EventPlannerSideRegistration, - [JsonProperty("Hotel Request Import")] HotelRequestImport, - [JsonProperty("Marketo Contact Import")] MarketoContactImport, - [JsonProperty("Modified Within Event")] ModifiedWithinEvent, - [JsonProperty("Modified Within Meeting Request")] ModifiedWithinMeetingRequest, - [JsonProperty("Modified from API")] ModifiedFromAPI, - [JsonProperty("Modified from Event Documents")] ModifiedFromEventDocuments, - [JsonProperty("Modified from Meeting Request via Notification")] ModifiedFromMeetingRequestViaNotification, - [JsonProperty("Modified from Request Website")] ModifiedFromRequestWebsite, - [JsonProperty("Registration Import")] RegistrationImport, - [JsonProperty("REST API")] RestApi, - [JsonProperty("Salesforce Integration")] SalesforceIntegration, - [JsonProperty("Survey Author Modification")] SurveyAuthorModification, - [JsonProperty("Survey Author Response")] SurveyAuthorResponse, - [JsonProperty("Survey Guest Side Modification")] SurveyGuestSideModification, - [JsonProperty("Survey Guest Side Response")] SurveyGuestSideResponse, - [JsonProperty("Survey POST")] SurveyPOST, - [JsonProperty("Travel Cost Import - Map to Existing Budget item")] TravelCostImportMapToExistingBudgetItem, - [JsonProperty("Travel Cost Import - Map to New Budget Item")] TravelCostImportMapToNewBudgetItem, - [JsonProperty("VCN Transaction - Create New Budget Item For Each Transaction")] VCNTransactionCreateNewBudgetItemForEachTransaction, - [JsonProperty("VCN Transaction - Map to Multiple Budget Item")] VCNTransactionMapToMultipleBudgetItem, - [JsonProperty("VCN Transaction - Map to Single Budget Item")] VCNTransactionMapToSingleBudgetItem, - [JsonProperty("VCN Transaction - Removed from Budget Item")] VCNTransactionRemovedFromBudgetItem, - [JsonProperty("Web Services")] WebServices, - [JsonProperty("eMarketing Profile Update")] EMarketingProfileUpdate, - } - - public static class UpdatedThroughNamePropertyJsonExtension - { - public static string Value(this UpdatedThroughNamePropertyJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static UpdatedThroughNamePropertyJson ToEnum(this string value) - { - foreach (var field in typeof(UpdatedThroughNamePropertyJson).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 UpdatedThroughNamePropertyJson) - { - return (UpdatedThroughNamePropertyJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum UpdatedThroughNamePropertyJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/User.cs b/packages/csharp/src/Cvent/SDK/Models/Components/User.cs index c78bed29c..aa472b36a 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/User.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/User.cs @@ -71,7 +71,7 @@ public class User /// The address of the user. The user can have only one address. <br> If multiple addresses are provided, only one is accepted and rest are ignored. One address is selected based on the following sequence of criteria: primary, work type, first in the sequence. /// [JsonProperty("addresses")] - public List? Addresses { get; set; } + public List? Addresses { get; set; } /// /// The type of the user. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/UserInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/UserInput.cs index 9192dcfaa..3db0572d5 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/UserInput.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/UserInput.cs @@ -59,7 +59,7 @@ public class UserInput /// The address of the user. The user can have only one address. <br> If multiple addresses are provided, only one is accepted and rest are ignored. One address is selected based on the following sequence of criteria: primary, work type, first in the sequence. /// [JsonProperty("addresses")] - public List? Addresses { get; set; } + public List? Addresses { get; set; } /// /// The type of the user. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/UserJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/UserJson.cs index 098305e55..ca30e1478 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/UserJson.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/UserJson.cs @@ -71,7 +71,7 @@ public class UserJson /// The address of the user. The user can have only one address. <br> If multiple addresses are provided, only one is accepted and rest are ignored. One address is selected based on the following sequence of criteria: primary, work type, first in the sequence. /// [JsonProperty("addresses")] - public List? Addresses { get; set; } + public List? Addresses { get; set; } /// /// The type of the user. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueSummary.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueSummary.cs index 9d7619502..0ee5f6f03 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/VenueSummary.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueSummary.cs @@ -22,7 +22,7 @@ public class VenueSummary /// The supplier's type. VENUE: A hotel, convention and visitors bureau (CVB), or other location for an event. /// [JsonProperty("type")] - public SupplierTypeJson1? Type { get; set; } = Cvent.SDK.Models.Components.SupplierTypeJson1.Venue; + public SupplierTypeJson? Type { get; set; } = Cvent.SDK.Models.Components.SupplierTypeJson.Venue; /// /// The unique ID of the venue. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Video1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Video1.cs new file mode 100644 index 000000000..677e11f8d --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Video1.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// The details of a video. + /// + public class Video1 + { + /// + /// The unique ID of the video. + /// + [JsonProperty("id")] + public string? Id { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoAssetID.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoAssetID.cs new file mode 100644 index 000000000..6a7cf95c3 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VideoAssetID.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Video that this asset was created with. + /// + public class VideoAssetID + { + /// + /// The identifier of a video. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoAssetIdJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoAssetIdJson.cs deleted file mode 100644 index bf91b13d4..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/VideoAssetIdJson.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// Video that this asset was created with. - /// - public class VideoAssetIdJson - { - /// - /// The identifier of a video. - /// - [JsonProperty("id")] - public string Id { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoClip.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoClip.cs new file mode 100644 index 000000000..09bc2f686 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VideoClip.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Video clip details. + /// + public class VideoClip + { + /// + /// The timecode to start the clip in HH:MM:SS:FF format. + /// + [JsonProperty("start")] + public string? Start { get; set; } + + /// + /// The timecode to end the clip in HH:MM:SS:FF format. + /// + [JsonProperty("end")] + public string? End { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoClipJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoClipJson.cs deleted file mode 100644 index f34fbc6aa..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/VideoClipJson.cs +++ /dev/null @@ -1,32 +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.Utils; - using Newtonsoft.Json; - - /// - /// Video clip details. - /// - public class VideoClipJson - { - /// - /// The timecode to start the clip in HH:MM:SS:FF format. - /// - [JsonProperty("start")] - public string? Start { get; set; } - - /// - /// The timecode to end the clip in HH:MM:SS:FF format. - /// - [JsonProperty("end")] - public string? End { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoError.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoError.cs new file mode 100644 index 000000000..e9a1618c3 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VideoError.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// This is used to denote the errors for a video entity. + /// + public class VideoError + { + /// + /// This is used to denote the error codes for a video entity. + /// + [JsonProperty("code")] + public VideoErrorCode Code { get; set; } = default!; + + /// + /// Error message for the video. Message is a developer convenience never to be used in any context that needs localisation, subject to change at any time. + /// + [JsonProperty("message")] + public string Message { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoErrorCode.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoErrorCode.cs new file mode 100644 index 000000000..7a1d6497f --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VideoErrorCode.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.Components +{ + using Cvent.SDK.Utils; + + /// + /// This is used to denote the error codes for a video entity. + /// + public enum VideoErrorCode + { + SixHundred = 600, + SixHundredAndOne = 601, + SixHundredAndTwo = 602, + SixHundredAndThree = 603, + SixHundredAndFour = 604, + SixHundredAndFive = 605, + SixHundredAndSix = 606, + SixHundredAndSeven = 607, + SixHundredAndEight = 608, + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoErrorCodeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoErrorCodeJson.cs deleted file mode 100644 index 05a07b1a3..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/VideoErrorCodeJson.cs +++ /dev/null @@ -1,29 +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.Utils; - - /// - /// This is used to denote the error codes for a video entity. - /// - public enum VideoErrorCodeJson - { - SixHundred = 600, - SixHundredAndOne = 601, - SixHundredAndTwo = 602, - SixHundredAndThree = 603, - SixHundredAndFour = 604, - SixHundredAndFive = 605, - SixHundredAndSix = 606, - SixHundredAndSeven = 607, - SixHundredAndEight = 608, - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoErrorJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoErrorJson.cs deleted file mode 100644 index 335b84e2b..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/VideoErrorJson.cs +++ /dev/null @@ -1,33 +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; - - /// - /// This is used to denote the errors for a video entity. - /// - public class VideoErrorJson - { - /// - /// This is used to denote the error codes for a video entity. - /// - [JsonProperty("code")] - public VideoErrorCodeJson Code { get; set; } = default!; - - /// - /// Error message for the video. Message is a developer convenience never to be used in any context that needs localisation, subject to change at any time. - /// - [JsonProperty("message")] - public string Message { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoJson.cs deleted file mode 100644 index 97a918d40..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/VideoJson.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// The details of a video. - /// - public class VideoJson - { - /// - /// The unique ID of the video. - /// - [JsonProperty("id")] - public string? Id { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoRendition.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoRendition.cs new file mode 100644 index 000000000..31990ce88 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VideoRendition.cs @@ -0,0 +1,76 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Video rendition. + /// + public class VideoRendition + { + /// + /// 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; } + + /// + /// Video that this asset was created with. + /// + [JsonProperty("video")] + public VideoAssetID? Video { get; set; } + + /// + /// Denotes the type of rendition. + /// + [JsonProperty("type")] + public VideoRenditionType? Type { get; set; } + + /// + /// Location where the rendition is stored. + /// + [JsonProperty("location")] + public VideoRenditionLink? Location { get; set; } + + /// + /// The video's frame width in pixels. + /// + [JsonProperty("width")] + public long? Width { get; set; } + + /// + /// The video's frame height in pixels. + /// + [JsonProperty("height")] + public long? Height { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoRenditionJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoRenditionJson.cs deleted file mode 100644 index 364519995..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/VideoRenditionJson.cs +++ /dev/null @@ -1,76 +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; - using System; - - /// - /// Video rendition. - /// - public class VideoRenditionJson - { - /// - /// 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; } - - /// - /// Video that this asset was created with. - /// - [JsonProperty("video")] - public VideoAssetIdJson? Video { get; set; } - - /// - /// Denotes the type of rendition. - /// - [JsonProperty("type")] - public VideoRenditionTypeJson? Type { get; set; } - - /// - /// Location where the rendition is stored. - /// - [JsonProperty("location")] - public VideoRenditionJsonLink? Location { get; set; } - - /// - /// The video's frame width in pixels. - /// - [JsonProperty("width")] - public long? Width { get; set; } - - /// - /// The video's frame height in pixels. - /// - [JsonProperty("height")] - public long? Height { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoRenditionJsonLink.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoRenditionJsonLink.cs deleted file mode 100644 index 5dd47bfe4..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/VideoRenditionJsonLink.cs +++ /dev/null @@ -1,26 +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.Utils; - using Newtonsoft.Json; - - /// - /// Location where the rendition is stored. - /// - public class VideoRenditionJsonLink - { - /// - /// A pre-signed URL with an expiration of 2 hours that provides the location. - /// - [JsonProperty("href")] - public string Href { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoRenditionLink.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoRenditionLink.cs new file mode 100644 index 000000000..e65354ed4 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VideoRenditionLink.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Location where the rendition is stored. + /// + public class VideoRenditionLink + { + /// + /// A pre-signed URL with an expiration of 2 hours that provides the location. + /// + [JsonProperty("href")] + public string Href { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoRenditionType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoRenditionType.cs new file mode 100644 index 000000000..0a85977ab --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VideoRenditionType.cs @@ -0,0 +1,62 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Denotes the type of rendition. + /// + public enum VideoRenditionType + { + [JsonProperty("Hls")] Hls, + [JsonProperty("HlsMaster")] HlsMaster, + [JsonProperty("Mp4")] Mp4, + [JsonProperty("Poster")] Poster, + [JsonProperty("Mp4Preview")] Mp4Preview, + [JsonProperty("Mp3")] Mp3, + [JsonProperty("Audio")] Audio, + } + + public static class VideoRenditionTypeExtension + { + public static string Value(this VideoRenditionType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static VideoRenditionType ToEnum(this string value) + { + foreach (var field in typeof(VideoRenditionType).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 VideoRenditionType) + { + return (VideoRenditionType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum VideoRenditionType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoRenditionTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoRenditionTypeJson.cs deleted file mode 100644 index 79e82ceba..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/VideoRenditionTypeJson.cs +++ /dev/null @@ -1,62 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Denotes the type of rendition. - /// - public enum VideoRenditionTypeJson - { - [JsonProperty("Hls")] Hls, - [JsonProperty("HlsMaster")] HlsMaster, - [JsonProperty("Mp4")] Mp4, - [JsonProperty("Poster")] Poster, - [JsonProperty("Mp4Preview")] Mp4Preview, - [JsonProperty("Mp3")] Mp3, - [JsonProperty("Audio")] Audio, - } - - public static class VideoRenditionTypeJsonExtension - { - public static string Value(this VideoRenditionTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static VideoRenditionTypeJson ToEnum(this string value) - { - foreach (var field in typeof(VideoRenditionTypeJson).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 VideoRenditionTypeJson) - { - return (VideoRenditionTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum VideoRenditionTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoRenditionsResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoRenditionsResponse.cs index 844d81483..cb2ded56d 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/VideoRenditionsResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VideoRenditionsResponse.cs @@ -23,6 +23,6 @@ public class VideoRenditionsResponse /// Collection of video renditions. /// [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/VideoSource.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoSource.cs new file mode 100644 index 000000000..ebdb6bf5f --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VideoSource.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Source of video. + /// + public class VideoSource + { + /// + /// The id of a video in the external system. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// Denotes the status of the video in the third-party system. + /// + [JsonProperty("status")] + public VideoSourceStatus? Status { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoSourceJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoSourceJson.cs deleted file mode 100644 index 01ee4534e..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/VideoSourceJson.cs +++ /dev/null @@ -1,33 +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; - - /// - /// Source of video. - /// - public class VideoSourceJson - { - /// - /// The id of a video in the external system. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// Denotes the status of the video in the third-party system. - /// - [JsonProperty("status")] - public VideoSourceJsonStatus? Status { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoSourceJsonStatus.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoSourceJsonStatus.cs deleted file mode 100644 index 1e7144619..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/VideoSourceJsonStatus.cs +++ /dev/null @@ -1,59 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Denotes the status of the video in the third-party system. - /// - public enum VideoSourceJsonStatus - { - [JsonProperty("Active")] Active, - [JsonProperty("Inactive")] Inactive, - [JsonProperty("Pending")] Pending, - [JsonProperty("Deleted")] Deleted, - } - - public static class VideoSourceJsonStatusExtension - { - public static string Value(this VideoSourceJsonStatus value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static VideoSourceJsonStatus ToEnum(this string value) - { - foreach (var field in typeof(VideoSourceJsonStatus).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 VideoSourceJsonStatus) - { - return (VideoSourceJsonStatus)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum VideoSourceJsonStatus"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoSourceStatus.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoSourceStatus.cs new file mode 100644 index 000000000..d0af17b03 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VideoSourceStatus.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; + + /// + /// Denotes the status of the video in the third-party system. + /// + public enum VideoSourceStatus + { + [JsonProperty("Active")] Active, + [JsonProperty("Inactive")] Inactive, + [JsonProperty("Pending")] Pending, + [JsonProperty("Deleted")] Deleted, + } + + public static class VideoSourceStatusExtension + { + public static string Value(this VideoSourceStatus value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static VideoSourceStatus ToEnum(this string value) + { + foreach (var field in typeof(VideoSourceStatus).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 VideoSourceStatus) + { + return (VideoSourceStatus)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum VideoSourceStatus"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoStatus.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoStatus.cs new file mode 100644 index 000000000..da76ba684 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VideoStatus.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Denotes the status of a video. Started indicates the request to upload in the API was submitted, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the video. Available indicates the video is available for use. + /// + public enum VideoStatus + { + [JsonProperty("Started")] Started, + [JsonProperty("Uploaded")] Uploaded, + [JsonProperty("Scanning")] Scanning, + [JsonProperty("Scanned")] Scanned, + [JsonProperty("Syncing")] Syncing, + [JsonProperty("Rejected")] Rejected, + [JsonProperty("Error")] Error, + [JsonProperty("Available")] Available, + [JsonProperty("Upcoming")] Upcoming, + [JsonProperty("ReSyncing")] ReSyncing, + } + + public static class VideoStatusExtension + { + public static string Value(this VideoStatus value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static VideoStatus ToEnum(this string value) + { + foreach (var field in typeof(VideoStatus).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 VideoStatus) + { + return (VideoStatus)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum VideoStatus"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoStatusJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoStatusJson.cs deleted file mode 100644 index 9c9ef3ef2..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/VideoStatusJson.cs +++ /dev/null @@ -1,65 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Denotes the status of a video. Started indicates the request to upload in the API was submitted, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the video. Available indicates the video is available for use. - /// - public enum VideoStatusJson - { - [JsonProperty("Started")] Started, - [JsonProperty("Uploaded")] Uploaded, - [JsonProperty("Scanning")] Scanning, - [JsonProperty("Scanned")] Scanned, - [JsonProperty("Syncing")] Syncing, - [JsonProperty("Rejected")] Rejected, - [JsonProperty("Error")] Error, - [JsonProperty("Available")] Available, - [JsonProperty("Upcoming")] Upcoming, - [JsonProperty("ReSyncing")] ReSyncing, - } - - public static class VideoStatusJsonExtension - { - public static string Value(this VideoStatusJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static VideoStatusJson ToEnum(this string value) - { - foreach (var field in typeof(VideoStatusJson).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 VideoStatusJson) - { - return (VideoStatusJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum VideoStatusJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoTextTrack.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoTextTrack.cs index e409d40e0..6818c5d59 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/VideoTextTrack.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VideoTextTrack.cs @@ -22,7 +22,7 @@ public class VideoTextTrack /// Video that this asset was created with. /// [JsonProperty("video")] - public VideoAssetIdJson? Video { get; set; } + public VideoAssetID? Video { get; set; } /// /// Name of the text track. @@ -40,7 +40,7 @@ public class VideoTextTrack /// Denotes the kind of video text track. Only subtitles are supported. /// [JsonProperty("kind")] - public VideoTextTrackKindJson Kind { get; set; } = default!; + public VideoTextTrackKind Kind { get; set; } = default!; /// /// True means that this text track has been published for your client. @@ -58,7 +58,7 @@ public class VideoTextTrack /// Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. /// [JsonProperty("status")] - public VideoTextTrackStatusJson? Status { get; set; } + public VideoTextTrackStatus? Status { get; set; } /// /// True indicates this text track was generated via machine transcription of the audio. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoTextTrackKind.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoTextTrackKind.cs new file mode 100644 index 000000000..cd12e7dec --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VideoTextTrackKind.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; + + /// + /// Denotes the kind of video text track. Only subtitles are supported. + /// + public enum VideoTextTrackKind + { + [JsonProperty("subtitles")] Subtitles, + [JsonProperty("captions")] Captions, + [JsonProperty("descriptions")] Descriptions, + [JsonProperty("chapters")] Chapters, + [JsonProperty("metadata")] Metadata, + } + + public static class VideoTextTrackKindExtension + { + public static string Value(this VideoTextTrackKind value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static VideoTextTrackKind ToEnum(this string value) + { + foreach (var field in typeof(VideoTextTrackKind).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 VideoTextTrackKind) + { + return (VideoTextTrackKind)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum VideoTextTrackKind"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoTextTrackKindJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoTextTrackKindJson.cs deleted file mode 100644 index 58f1d5555..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/VideoTextTrackKindJson.cs +++ /dev/null @@ -1,60 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Denotes the kind of video text track. Only subtitles are supported. - /// - public enum VideoTextTrackKindJson - { - [JsonProperty("subtitles")] Subtitles, - [JsonProperty("captions")] Captions, - [JsonProperty("descriptions")] Descriptions, - [JsonProperty("chapters")] Chapters, - [JsonProperty("metadata")] Metadata, - } - - public static class VideoTextTrackKindJsonExtension - { - public static string Value(this VideoTextTrackKindJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static VideoTextTrackKindJson ToEnum(this string value) - { - foreach (var field in typeof(VideoTextTrackKindJson).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 VideoTextTrackKindJson) - { - return (VideoTextTrackKindJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum VideoTextTrackKindJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoTextTrackStatus.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoTextTrackStatus.cs new file mode 100644 index 000000000..7bd4ec39b --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VideoTextTrackStatus.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; + + /// + /// Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. + /// + public enum VideoTextTrackStatus + { + [JsonProperty("Started")] Started, + [JsonProperty("Uploaded")] Uploaded, + [JsonProperty("Processing")] Processing, + [JsonProperty("Available")] Available, + [JsonProperty("Rejected")] Rejected, + [JsonProperty("Updating")] Updating, + [JsonProperty("Translating")] Translating, + [JsonProperty("Transcribing")] Transcribing, + [JsonProperty("Error")] Error, + } + + public static class VideoTextTrackStatusExtension + { + public static string Value(this VideoTextTrackStatus value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static VideoTextTrackStatus ToEnum(this string value) + { + foreach (var field in typeof(VideoTextTrackStatus).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 VideoTextTrackStatus) + { + return (VideoTextTrackStatus)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum VideoTextTrackStatus"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoTextTrackStatusJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoTextTrackStatusJson.cs deleted file mode 100644 index 03437a9eb..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/VideoTextTrackStatusJson.cs +++ /dev/null @@ -1,64 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. - /// - public enum VideoTextTrackStatusJson - { - [JsonProperty("Started")] Started, - [JsonProperty("Uploaded")] Uploaded, - [JsonProperty("Processing")] Processing, - [JsonProperty("Available")] Available, - [JsonProperty("Rejected")] Rejected, - [JsonProperty("Updating")] Updating, - [JsonProperty("Translating")] Translating, - [JsonProperty("Transcribing")] Transcribing, - [JsonProperty("Error")] Error, - } - - public static class VideoTextTrackStatusJsonExtension - { - public static string Value(this VideoTextTrackStatusJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static VideoTextTrackStatusJson ToEnum(this string value) - { - foreach (var field in typeof(VideoTextTrackStatusJson).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 VideoTextTrackStatusJson) - { - return (VideoTextTrackStatusJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum VideoTextTrackStatusJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoThumbnail.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoThumbnail.cs new file mode 100644 index 000000000..f62b1e91e --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VideoThumbnail.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; + + /// + /// Video thumbnail. + /// + public class VideoThumbnail + { + /// + /// Represents a link to a related resource. + /// + [JsonProperty("url")] + public Link? Url { get; set; } + + /// + /// File size in bytes for the thumbnail. + /// + [JsonProperty("size")] + public long? Size { get; set; } + + /// + /// frame height in pixels. + /// + [JsonProperty("height")] + public long? Height { get; set; } + + /// + /// frame width in pixels. + /// + [JsonProperty("width")] + public long? Width { get; set; } + + /// + /// This is used to denote the file type of a thumbnail. + /// + [JsonProperty("type")] + public ThumbnailType? Type { get; set; } + + /// + /// Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was completed. Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. + /// + [JsonProperty("status")] + public ThumbnailStatus? Status { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoThumbnailJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoThumbnailJson.cs deleted file mode 100644 index 5dfbdc206..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/VideoThumbnailJson.cs +++ /dev/null @@ -1,57 +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; - - /// - /// Video thumbnail. - /// - public class VideoThumbnailJson - { - /// - /// Represents a link to a related resource. - /// - [JsonProperty("url")] - public OneAllOf? Url { get; set; } - - /// - /// File size in bytes for the thumbnail. - /// - [JsonProperty("size")] - public long? Size { get; set; } - - /// - /// frame height in pixels. - /// - [JsonProperty("height")] - public long? Height { get; set; } - - /// - /// frame width in pixels. - /// - [JsonProperty("width")] - public long? Width { get; set; } - - /// - /// This is used to denote the file type of a thumbnail. - /// - [JsonProperty("type")] - public ThumbnailTypeJson? Type { get; set; } - - /// - /// Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was completed. Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. - /// - [JsonProperty("status")] - public ThumbnailStatusJson? Status { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoType.cs new file mode 100644 index 000000000..150667847 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VideoType.cs @@ -0,0 +1,66 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// This is used to denote type of a video. + /// + public enum VideoType + { + [JsonProperty("mpg2")] Mpg2, + [JsonProperty("mov")] Mov, + [JsonProperty("mp2")] Mp2, + [JsonProperty("mp4")] Mp4, + [JsonProperty("mpe")] Mpe, + [JsonProperty("mpeg")] Mpeg, + [JsonProperty("mpg")] Mpg, + [JsonProperty("mpv")] Mpv, + [JsonProperty("qt")] Qt, + [JsonProperty("webm")] Webm, + [JsonProperty("hls")] Hls, + } + + public static class VideoTypeExtension + { + public static string Value(this VideoType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static VideoType ToEnum(this string value) + { + foreach (var field in typeof(VideoType).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 VideoType) + { + return (VideoType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum VideoType"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoTypeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoTypeJson.cs deleted file mode 100644 index 3557e4bbf..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/VideoTypeJson.cs +++ /dev/null @@ -1,66 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// This is used to denote type of a video. - /// - public enum VideoTypeJson - { - [JsonProperty("mpg2")] Mpg2, - [JsonProperty("mov")] Mov, - [JsonProperty("mp2")] Mp2, - [JsonProperty("mp4")] Mp4, - [JsonProperty("mpe")] Mpe, - [JsonProperty("mpeg")] Mpeg, - [JsonProperty("mpg")] Mpg, - [JsonProperty("mpv")] Mpv, - [JsonProperty("qt")] Qt, - [JsonProperty("webm")] Webm, - [JsonProperty("hls")] Hls, - } - - public static class VideoTypeJsonExtension - { - public static string Value(this VideoTypeJson value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static VideoTypeJson ToEnum(this string value) - { - foreach (var field in typeof(VideoTypeJson).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 VideoTypeJson) - { - return (VideoTypeJson)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum VideoTypeJson"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoView.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoView.cs new file mode 100644 index 000000000..708a8c145 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VideoView.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Details of a single video view. + /// + public class VideoView + { + /// + /// The contact details who watched a video. + /// + [JsonProperty("contact")] + public Contact2? Contact { get; set; } + + /// + /// The solution where the video exists. Attendee Hub and Events+ represent two different solutions where the video can be found. + /// + [JsonProperty("solution")] + public Solution? Solution { get; set; } + + /// + /// The device details used to watched a video. This field has been deprecated. + /// + [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] + [JsonProperty("device")] + public Device1? Device { get; set; } + + /// + /// The details of a video. + /// + [JsonProperty("video")] + public Video1? Video { get; set; } + + /// + /// The view type of the video. Videos can be viewed live or as a recording. + /// + [JsonProperty("type")] + public ViewType1? Type { get; set; } + + /// + /// The total duration of the video (in milliseconds). + /// + [JsonProperty("totalDuration")] + public long? TotalDuration { get; set; } + + /// + /// The total duration of the video watched by the viewer (in milliseconds). + /// + [JsonProperty("watchDuration")] + public long? WatchDuration { get; set; } + + /// + /// The percentage of the video watched by the viewer. + /// + [JsonProperty("watchPercentage")] + public double? WatchPercentage { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoViewJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoViewJson.cs deleted file mode 100644 index 854461130..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/VideoViewJson.cs +++ /dev/null @@ -1,71 +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; - using System; - - /// - /// Details of a single video view. - /// - public class VideoViewJson - { - /// - /// The contact details who watched a video. - /// - [JsonProperty("contact")] - public ContactJson2? Contact { get; set; } - - /// - /// The solution where the video exists. Attendee Hub and Events+ represent two different solutions where the video can be found. - /// - [JsonProperty("solution")] - public SolutionJson? Solution { get; set; } - - /// - /// The device details used to watched a video. This field has been deprecated. - /// - [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] - [JsonProperty("device")] - public DeviceJson? Device { get; set; } - - /// - /// The details of a video. - /// - [JsonProperty("video")] - public VideoJson? Video { get; set; } - - /// - /// The view type of the video. Videos can be viewed live or as a recording. - /// - [JsonProperty("type")] - public ViewTypeJson1? Type { get; set; } - - /// - /// The total duration of the video (in milliseconds). - /// - [JsonProperty("totalDuration")] - public long? TotalDuration { get; set; } - - /// - /// The total duration of the video watched by the viewer (in milliseconds). - /// - [JsonProperty("watchDuration")] - public long? WatchDuration { get; set; } - - /// - /// The percentage of the video watched by the viewer. - /// - [JsonProperty("watchPercentage")] - public double? WatchPercentage { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoViewsPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoViewsPaginatedResponse.cs index d6d9a894d..e3db0befa 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/VideoViewsPaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VideoViewsPaginatedResponse.cs @@ -23,12 +23,12 @@ public class VideoViewsPaginatedResponse /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson? Paging { get; set; } + public Paging? Paging { get; set; } /// /// List of unique video views. /// [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/VideoWarning.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoWarning.cs new file mode 100644 index 000000000..9ed19d175 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VideoWarning.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// This is used to denote the warnings for a video entity. + /// + public class VideoWarning + { + /// + /// This is used to denote the warning codes for a video entity. + /// + [JsonProperty("code")] + public VideoWarningCode Code { get; set; } = default!; + + /// + /// Warning message for the video. Message is a developer convenience never to be used in any context that needs localisation, subject to change at any time. + /// + [JsonProperty("message")] + public string Message { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoWarningCode.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoWarningCode.cs new file mode 100644 index 000000000..881551ed0 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VideoWarningCode.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.Components +{ + using Cvent.SDK.Utils; + + /// + /// This is used to denote the warning codes for a video entity. + /// + public enum VideoWarningCode + { + SevenHundred = 700, + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoWarningCodeJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoWarningCodeJson.cs deleted file mode 100644 index a7fa77e68..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/VideoWarningCodeJson.cs +++ /dev/null @@ -1,21 +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.Utils; - - /// - /// This is used to denote the warning codes for a video entity. - /// - public enum VideoWarningCodeJson - { - SevenHundred = 700, - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideoWarningJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideoWarningJson.cs deleted file mode 100644 index 2c541ae47..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/VideoWarningJson.cs +++ /dev/null @@ -1,33 +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; - - /// - /// This is used to denote the warnings for a video entity. - /// - public class VideoWarningJson - { - /// - /// This is used to denote the warning codes for a video entity. - /// - [JsonProperty("code")] - public VideoWarningCodeJson Code { get; set; } = default!; - - /// - /// Warning message for the video. Message is a developer convenience never to be used in any context that needs localisation, subject to change at any time. - /// - [JsonProperty("message")] - public string Message { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VideosPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VideosPaginatedResponse.cs index 83cac4d8a..b03f186a3 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/VideosPaginatedResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VideosPaginatedResponse.cs @@ -23,7 +23,7 @@ public class VideosPaginatedResponse /// Represents pagination information for a collection of resources. /// [JsonProperty("paging")] - public PagingJson Paging { get; set; } = default!; + public Paging Paging { get; set; } = default!; /// /// Collection of videos. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ViewType1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ViewType1.cs new file mode 100644 index 000000000..e3645d1de --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ViewType1.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.Utils; + using Newtonsoft.Json; + using System; + + /// + /// The view type of the video. Videos can be viewed live or as a recording. + /// + public enum ViewType1 + { + [JsonProperty("LIVE")] Live, + [JsonProperty("RECORDING")] Recording, + } + + public static class ViewType1Extension + { + public static string Value(this ViewType1 value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static ViewType1 ToEnum(this string value) + { + foreach (var field in typeof(ViewType1).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 ViewType1) + { + return (ViewType1)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum ViewType1"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ViewTypeJson1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ViewTypeJson1.cs deleted file mode 100644 index 4f601dad9..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ViewTypeJson1.cs +++ /dev/null @@ -1,57 +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.Utils; - using Newtonsoft.Json; - using System; - - /// - /// The view type of the video. Videos can be viewed live or as a recording. - /// - public enum ViewTypeJson1 - { - [JsonProperty("LIVE")] Live, - [JsonProperty("RECORDING")] Recording, - } - - public static class ViewTypeJson1Extension - { - public static string Value(this ViewTypeJson1 value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static ViewTypeJson1 ToEnum(this string value) - { - foreach (var field in typeof(ViewTypeJson1).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 ViewTypeJson1) - { - return (ViewTypeJson1)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum ViewTypeJson1"); - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Voucher.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Voucher.cs new file mode 100644 index 000000000..ae39ee879 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Voucher.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.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Represents a voucher configured for an event. Event-level vouchers are special codes that can be assigned to invitees or attendees, enabling benefits such as free registration, discounted pricing, or other promotional entitlements during the registration process. + /// + public class Voucher + { + /// + /// Voucher ID. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + + /// + /// The unique planner-defined code that invitees enter during registration to redeem the voucher. + /// + [JsonProperty("code")] + public string Code { get; set; } = default!; + + /// + /// A description of the voucher and its intended use. + /// + [JsonProperty("description")] + public string? Description { get; set; } + + /// + /// The email address that receives a notification whenever the voucher is redeemed. + /// + [JsonProperty("alertEmailAddress")] + public string? AlertEmailAddress { get; set; } + + /// + /// Represents the capacity details for a voucher, including the total allowed redemptions and the number already redeemed. + /// + [JsonProperty("capacity")] + public VoucherCapacity? Capacity { get; set; } + + /// + /// The identity of the user or system that last modified the voucher. + /// + [JsonProperty("lastModifiedBy")] + public string? LastModifiedBy { get; set; } + + /// + /// The ISO 8601 formatted date and time when the voucher was last modified, expressed in UTC. + /// + [JsonProperty("lastModifiedDate")] + public DateTime? LastModifiedDate { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VoucherCapacity.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VoucherCapacity.cs new file mode 100644 index 000000000..4966a35e0 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VoucherCapacity.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.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Represents the capacity details for a voucher, including the total allowed redemptions and the number already redeemed. + /// + public class VoucherCapacity + { + /// + /// The maximum number of times the voucher can be redeemed. Default value of -1 indicates unlimited capacity. + /// + [JsonProperty("total")] + public long Total { get; set; } = default!; + + /// + /// The number of times the voucher has already been redeemed. + /// + [JsonProperty("redeemedCount")] + public long RedeemedCount { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VouchersPaginatedResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VouchersPaginatedResponse.cs new file mode 100644 index 000000000..7e5501ee7 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VouchersPaginatedResponse.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; + + /// + /// A paginated response of vouchers. + /// + public class VouchersPaginatedResponse + { + /// + /// Represents pagination information for a collection of resources. + /// + [JsonProperty("paging")] + public Paging Paging { get; set; } = default!; + + /// + /// Collection of vouchers. + /// + [JsonProperty("data")] + public List Data { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Weblink.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Weblink.cs index c184a674a..82660b006 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Weblink.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Weblink.cs @@ -22,7 +22,7 @@ public class Weblink /// The Associated Event. /// [JsonProperty("event")] - public Event21 Event { get; set; } = default!; + public Event3 Event { get; set; } = default!; /// /// The Associated Exhibitor. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/WeddingDetails1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/WeddingDetails1.cs new file mode 100644 index 000000000..a3fe3d378 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/WeddingDetails1.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; + + /// + /// Wedding details. + /// + public class WeddingDetails1 + { + /// + /// Represents wedding partner. + /// + [JsonProperty("firstPartner")] + public WeddingPartner? FirstPartner { get; set; } + + /// + /// Represents wedding partner. + /// + [JsonProperty("secondPartner")] + public WeddingPartner? SecondPartner { get; set; } + + /// + /// True indicates ceremony is planned. + /// + [JsonProperty("ceremony")] + public bool? Ceremony { get; set; } + + /// + /// True indicates reception is planned. + /// + [JsonProperty("reception")] + public bool? Reception { get; set; } + + /// + /// True indicates farewell brunch is planned. + /// + [JsonProperty("farewellBrunch")] + public bool? FarewellBrunch { get; set; } + + /// + /// True indicates rehearsal dinner is planned. + /// + [JsonProperty("rehearsalDinner")] + public bool? RehearsalDinner { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/WeddingDetailsJson0.cs b/packages/csharp/src/Cvent/SDK/Models/Components/WeddingDetailsJson0.cs deleted file mode 100644 index 2ba66f4c3..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/WeddingDetailsJson0.cs +++ /dev/null @@ -1,57 +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; - - /// - /// Wedding details. - /// - public class WeddingDetailsJson0 - { - /// - /// Represents wedding partner. - /// - [JsonProperty("firstPartner")] - public WeddingPartnerJson? FirstPartner { get; set; } - - /// - /// Represents wedding partner. - /// - [JsonProperty("secondPartner")] - public WeddingPartnerJson? SecondPartner { get; set; } - - /// - /// True indicates ceremony is planned. - /// - [JsonProperty("ceremony")] - public bool? Ceremony { get; set; } - - /// - /// True indicates reception is planned. - /// - [JsonProperty("reception")] - public bool? Reception { get; set; } - - /// - /// True indicates farewell brunch is planned. - /// - [JsonProperty("farewellBrunch")] - public bool? FarewellBrunch { get; set; } - - /// - /// True indicates rehearsal dinner is planned. - /// - [JsonProperty("rehearsalDinner")] - public bool? RehearsalDinner { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/WeddingPartner.cs b/packages/csharp/src/Cvent/SDK/Models/Components/WeddingPartner.cs new file mode 100644 index 000000000..5cf0a1703 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/WeddingPartner.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// +// 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; + + /// + /// Represents wedding partner. + /// + public class WeddingPartner + { + /// + /// BrideGroomType. + /// + [JsonProperty("type")] + public BrideGroomType? Type { get; set; } + + /// + /// Name of the partner of the wedding couple. + /// + [JsonProperty("name")] + public string? Name { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/WeddingPartnerJson.cs b/packages/csharp/src/Cvent/SDK/Models/Components/WeddingPartnerJson.cs deleted file mode 100644 index e15b82521..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/WeddingPartnerJson.cs +++ /dev/null @@ -1,33 +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; - - /// - /// Represents wedding partner. - /// - public class WeddingPartnerJson - { - /// - /// Bride groom type. - /// - [JsonProperty("type")] - public BrideGroomTypeJson0? Type { get; set; } - - /// - /// Name of the partner of the wedding couple. - /// - [JsonProperty("name")] - public string? Name { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf7.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf7.cs index 164ffbe79..b263dacad 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf7.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf7.cs @@ -9,300 +9,36 @@ #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; /// - /// Represents a contact that has been created and has an id. + /// Represents an error response for the checkin APIs that includes a unique id. /// public class ZeroAllOf7 { /// - /// The ISO 8601 zoned date time when this record was created. + /// The unique identifier for the error response. /// - [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; } - - /// - /// 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 middle name of the contact. - /// - [JsonProperty("middleName")] - public string? MiddleName { get; set; } - - /// - /// The nickname of the contact. - /// - [JsonProperty("nickname")] - public string? Nickname { get; set; } - - /// - /// The email address of the contact. - /// - [JsonProperty("email")] - public string? Email { get; set; } - - /// - /// An alternate email address of the contact that can be cc'd on email communications. - /// - [JsonProperty("ccEmail")] - public string? CcEmail { get; set; } - - /// - /// The gender of the contact. - /// - [JsonProperty("gender")] - public GenderJson? Gender { get; set; } - - /// - /// The company/organization the contact belongs to. - /// - [JsonProperty("company")] - public string? Company { get; set; } - - /// - /// The designation of the contact, typically an award or credential. - /// - [JsonProperty("designation")] - public string? Designation { get; set; } - - /// - /// The job title of the contact. - /// - [JsonProperty("title")] - public string? Title { get; set; } - - /// - /// Contains details related to the attendee's contact type. - /// - [JsonProperty("type")] - public AttendeeContactTypeJson? Type { get; set; } - - /// - /// Contact Membership information. - /// - [JsonProperty("membership")] - public MembershipJson? Membership { get; set; } - - /// - /// The type of address. - /// - [JsonProperty("primaryAddressType")] - public AddressTypeJson? PrimaryAddressType { get; set; } - - /// - /// Contact address details. - /// - [JsonProperty("homeAddress")] - public AddressJson? HomeAddress { get; set; } - - /// - /// The phone number of the contact at their place of residence. - /// - [JsonProperty("homePhone")] - public string? HomePhone { get; set; } - - /// - /// The fax number of the contact at their place of residence. - /// - [JsonProperty("homeFax")] - public string? HomeFax { get; set; } - - /// - /// Contact address details. - /// - [JsonProperty("workAddress")] - public AddressJson? WorkAddress { get; set; } - - /// - /// The phone number of the contact at their place of work. - /// - [JsonProperty("workPhone")] - public string? WorkPhone { get; set; } - - /// - /// The fax number of the contact at their place of work. - /// - [JsonProperty("workFax")] - public string? WorkFax { get; set; } - - /// - /// Collection of custom fields. - /// - [JsonProperty("customFields")] - public List? CustomFields { get; set; } - - /// - /// This is a ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. - /// - [JsonProperty("sourceId")] - public string? SourceId { get; set; } - - /// - /// The contact's mobile phone number. - /// - [JsonProperty("mobilePhone")] - public string? MobilePhone { get; set; } - - /// - /// Detail related to compliance with the contact's privacy rights under various legislation. - /// - [JsonProperty("compliance")] - public List? Compliance { get; set; } - - /// - /// Denotes what is traditionally a title of an individual. - /// - [JsonProperty("prefix")] - public string? Prefix { get; set; } - - /// - /// The pager number of the contact. - /// - [JsonProperty("pager")] - public string? Pager { get; set; } - - /// - /// True indicates a contact is deleted. Deleted contacts still have their data retained, but the contact is inactive. - /// - [JsonProperty("deleted")] - public bool? Deleted { get; set; } = false; - - /// - /// True indicates a contact is purged. Purged contacts have only partial data retained, and will be permanently deleted in 30 days. - /// - [JsonProperty("purged")] - public bool? Purged { get; set; } = false; - - /// - /// Details of an opt-out for a Contact. - /// - [JsonProperty("optOut")] - public OptOutJson? OptOut { get; set; } - - /// - /// Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. - /// - [JsonProperty("npi")] - public string? Npi { get; set; } - - /// - /// Collection of social media links for the contact. - /// - [JsonProperty("_links")] - public ContactLinksJson? Links { get; set; } - - /// - /// The date of birth of the contact.
- ///
- /// Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. - ///
- [JsonProperty("dateOfBirth")] - public DateOnly? DateOfBirth { get; set; } - - /// - /// The passport number of the contact.
- ///
- /// Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use the passport.number field. - ///
- [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] - [JsonProperty("passportNumber")] - public string? PassportNumber { get; set; } - - /// - /// This entity represents a contact's passport information. - /// - [JsonProperty("passport")] - public PassportJson? Passport { get; set; } - - /// - /// The social security number of the contact.
- ///
- /// Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. - ///
- [JsonProperty("socialSecurityNumber")] - public string? SocialSecurityNumber { get; set; } - - /// - /// The national identification number of the contact.
- ///
- /// Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. - ///
- [JsonProperty("nationalIdentificationNumber")] - public string? NationalIdentificationNumber { get; set; } - - /// - /// The headline of the contact's profile, which summarizes their professional experience and qualities. - /// - [JsonProperty("headline")] - public string? Headline { get; set; } - - /// - /// A contact's personal website URL. - /// - [JsonProperty("personalWebsite")] - public string? PersonalWebsite { get; set; } - - /// - /// A contact's biographical writeup. - /// - [JsonProperty("biography")] - public string? Biography { get; set; } - - /// - /// Represents the preferred pronouns of a contact. - /// - [JsonProperty("pronouns")] - public string? Pronouns { get; set; } + [JsonProperty("id")] + public string? Id { get; set; } /// - /// The ID of the contact. + /// The HTTP status code representing the error. /// - [JsonProperty("id")] - public string? Id { get; set; } + [JsonProperty("code")] + public long Code { get; set; } = default!; /// - /// ID of the parent contact, applicable with contact snapshot. + /// A brief description of the error. /// - [JsonProperty("parentId")] - public string? ParentId { get; set; } + [JsonProperty("message")] + public string Message { get; set; } = default!; /// - /// Event ID. + /// The target resource of the error. /// - [JsonProperty("event")] - public EventAllOf? Event { get; set; } + [JsonProperty("target")] + public string? Target { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf8.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf8.cs index 4fee96ef3..e0c32ab1b 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf8.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf8.cs @@ -9,36 +9,62 @@ #nullable enable namespace Cvent.SDK.Models.Components { + using Cvent.SDK.Models.Components; using Cvent.SDK.Utils; using Newtonsoft.Json; + using System; /// - /// Represents an error response for the checkin APIs that includes a unique id. + /// Information about housing event with key information, providing a summarized view. /// public class ZeroAllOf8 { /// - /// The unique identifier for the error response. + /// The unique ID of the housing event. /// [JsonProperty("id")] - public string? Id { get; set; } + public long Id { get; set; } = default!; /// - /// The HTTP status code representing the error. + /// Event name. /// - [JsonProperty("code")] - public long Code { get; set; } = default!; + [JsonProperty("name")] + public string Name { get; set; } = default!; /// - /// A brief description of the error. + /// The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder days. /// - [JsonProperty("message")] - public string Message { get; set; } = default!; + [JsonProperty("start")] + public DateTime Start { get; set; } = default!; /// - /// The target resource of the error. + /// The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. /// - [JsonProperty("target")] - public string? Target { get; set; } + [JsonProperty("end")] + public DateTime End { get; set; } = default!; + + /// + /// The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable business rules, like releasing reserved room blocks back to general availability. + /// + [JsonProperty("cutOff")] + public DateTime CutOff { get; set; } = default!; + + /// + /// The event timezone from the Olson specification. + /// + [JsonProperty("timeZone")] + public string TimeZone { get; set; } = default!; + + /// + /// Event venue details. + /// + [JsonProperty("venue")] + public VenueJson1 Venue { get; set; } = default!; + + /// + /// Housing event status. + /// + [JsonProperty("status")] + public HousingEventStatusesJson Status { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf9.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf9.cs deleted file mode 100644 index d6226ccdb..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ZeroAllOf9.cs +++ /dev/null @@ -1,70 +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; - using System; - - /// - /// Information about housing event with key information, providing a summarized view. - /// - public class ZeroAllOf9 - { - /// - /// The unique ID of the housing event. - /// - [JsonProperty("id")] - public long Id { get; set; } = default!; - - /// - /// Event name. - /// - [JsonProperty("name")] - public string Name { get; set; } = default!; - - /// - /// The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder days. - /// - [JsonProperty("start")] - public DateTime Start { get; set; } = default!; - - /// - /// The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. - /// - [JsonProperty("end")] - public DateTime End { get; set; } = default!; - - /// - /// The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable business rules, like releasing reserved room blocks back to general availability. - /// - [JsonProperty("cutOff")] - public DateTime CutOff { get; set; } = default!; - - /// - /// The event timezone from the Olson specification. - /// - [JsonProperty("timeZone")] - public string TimeZone { get; set; } = default!; - - /// - /// Event venue details. - /// - [JsonProperty("venue")] - public VenueJson1 Venue { get; set; } = default!; - - /// - /// Housing event status. - /// - [JsonProperty("status")] - public HousingEventStatusesJson Status { get; set; } = default!; - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Errors/ErrorResponse1.cs b/packages/csharp/src/Cvent/SDK/Models/Errors/ErrorResponse1.cs index 864b26cd5..7b2b4fc5e 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Errors/ErrorResponse1.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Errors/ErrorResponse1.cs @@ -40,7 +40,7 @@ public class ErrorResponse1Payload /// Additional details of cascading error messages. ///
[JsonProperty("details")] - public List? Details { get; set; } + public List? Details { get; set; } } /// @@ -63,7 +63,7 @@ public class ErrorResponse1 : CventSDKException public string? Target { get; set; } [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible. Use ErrorResponse1.Payload.Details instead.")] - public List? Details { get; set; } + public List? Details { get; set; } private static string ErrorMessage(ErrorResponse1Payload payload, string body) { diff --git a/packages/csharp/src/Cvent/SDK/Models/Errors/ErrorResponse2.cs b/packages/csharp/src/Cvent/SDK/Models/Errors/ErrorResponse2.cs index 102fa3aef..bfb225c25 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Errors/ErrorResponse2.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Errors/ErrorResponse2.cs @@ -40,7 +40,7 @@ public class ErrorResponse2Payload /// Additional details of cascading error messages. /// [JsonProperty("details")] - public List? Details { get; set; } + public List? Details { get; set; } } /// @@ -63,7 +63,7 @@ public class ErrorResponse2 : CventSDKException public string? Target { get; set; } [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible. Use ErrorResponse2.Payload.Details instead.")] - public List? Details { get; set; } + public List? Details { get; set; } private static string ErrorMessage(ErrorResponse2Payload payload, string body) { diff --git a/packages/csharp/src/Cvent/SDK/Models/Errors/ErrorResponseJson12.cs b/packages/csharp/src/Cvent/SDK/Models/Errors/ErrorResponseJson12.cs new file mode 100644 index 000000000..f9ac9120f --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Errors/ErrorResponseJson12.cs @@ -0,0 +1,85 @@ +//------------------------------------------------------------------------------ +// +// 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.Errors +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + using System.Collections.Generic; + using System.Net.Http; + + public class ErrorResponseJson12Payload + { + /// + /// The collection of error schemas. + /// + [JsonProperty("schemas")] + public List? Schemas { get; set; } + + /// + /// Status code for error. + /// + [JsonProperty("status")] + public long Status { get; set; } = default!; + + /// + /// Details of the error. + /// + [JsonProperty("detail")] + public string Detail { get; set; } = default!; + + /// + /// This is used to denote the scim type of the error. + /// + [JsonProperty("scimType")] + public ErrorScimTypeJson? ScimType { get; set; } + } + + /// + /// The error response. + /// + public class ErrorResponseJson12 : CventSDKException + { + /// + /// The original data that was passed to this exception. + /// + public ErrorResponseJson12Payload Payload { get; } + + [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible. Use ErrorResponseJson12.Payload.Schemas instead.")] + public List? Schemas { get; set; } + + [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible. Use ErrorResponseJson12.Payload.Status instead.")] + public long Status { get; set; } = default!; + + [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible. Use ErrorResponseJson12.Payload.Detail instead.")] + public string Detail { get; set; } = default!; + + [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible. Use ErrorResponseJson12.Payload.ScimType instead.")] + public ErrorScimTypeJson? ScimType { get; set; } + + public ErrorResponseJson12( + ErrorResponseJson12Payload payload, + HttpRequestMessage request, + HttpResponseMessage response, + string body + ) : base("API error occurred", request, response, body) + { + Payload = payload; + +#pragma warning disable CS0618 + Schemas = payload.Schemas; + Status = payload.Status; + Detail = payload.Detail; + ScimType = payload.ScimType; +#pragma warning restore CS0618 + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Errors/ErrorResponseJson17.cs b/packages/csharp/src/Cvent/SDK/Models/Errors/ErrorResponseJson17.cs deleted file mode 100644 index 2941dde0f..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Errors/ErrorResponseJson17.cs +++ /dev/null @@ -1,85 +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.Errors -{ - using Cvent.SDK.Models.Components; - using Cvent.SDK.Utils; - using Newtonsoft.Json; - using System; - using System.Collections.Generic; - using System.Net.Http; - - public class ErrorResponseJson17Payload - { - /// - /// The collection of error schemas. - /// - [JsonProperty("schemas")] - public List? Schemas { get; set; } - - /// - /// Status code for error. - /// - [JsonProperty("status")] - public long Status { get; set; } = default!; - - /// - /// Details of the error. - /// - [JsonProperty("detail")] - public string Detail { get; set; } = default!; - - /// - /// This is used to denote the scim type of the error. - /// - [JsonProperty("scimType")] - public ErrorScimTypeJson? ScimType { get; set; } - } - - /// - /// The error response. - /// - public class ErrorResponseJson17 : CventSDKException - { - /// - /// The original data that was passed to this exception. - /// - public ErrorResponseJson17Payload Payload { get; } - - [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible. Use ErrorResponseJson17.Payload.Schemas instead.")] - public List? Schemas { get; set; } - - [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible. Use ErrorResponseJson17.Payload.Status instead.")] - public long Status { get; set; } = default!; - - [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible. Use ErrorResponseJson17.Payload.Detail instead.")] - public string Detail { get; set; } = default!; - - [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible. Use ErrorResponseJson17.Payload.ScimType instead.")] - public ErrorScimTypeJson? ScimType { get; set; } - - public ErrorResponseJson17( - ErrorResponseJson17Payload payload, - HttpRequestMessage request, - HttpResponseMessage response, - string body - ) : base("API error occurred", request, response, body) - { - Payload = payload; - -#pragma warning disable CS0618 - Schemas = payload.Schemas; - Status = payload.Status; - Detail = payload.Detail; - ScimType = payload.ScimType; -#pragma warning restore CS0618 - } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/CreateContactsRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/CreateContactsRequest.cs index 2cce64252..cd5d743a6 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/CreateContactsRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/CreateContactsRequest.cs @@ -29,6 +29,6 @@ public class CreateContactsRequest /// List of contacts to be created. Up to **10 contacts** can be created per call. /// [SpeakeasyMetadata("request:mediaType=application/json")] - public List RequestBody { get; set; } = default!; + public List RequestBody { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/CreateContactsResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/CreateContactsResponse.cs index 573e61266..12a80aca7 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/CreateContactsResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/CreateContactsResponse.cs @@ -22,6 +22,6 @@ public class CreateContactsResponse /// /// Successfully created a list of contacts. /// - public List? ContactBulkResponse { get; set; } + public List? ContactBulkResponse { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/GetAttendeeByIdResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/GetAttendeeByIdResponse.cs index 3d4716916..44d59a7b8 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/GetAttendeeByIdResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/GetAttendeeByIdResponse.cs @@ -21,6 +21,6 @@ public class GetAttendeeByIdResponse /// /// Successfully retrieved an attendee object. /// - public Attendee1? Attendee { get; set; } + public Attendee11? Attendee1 { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/GetAttendeeMessagesMembersRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/GetAttendeeMessagesMembersRequest.cs index 66e37187d..ac5531dfb 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/GetAttendeeMessagesMembersRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/GetAttendeeMessagesMembersRequest.cs @@ -33,25 +33,28 @@ public class GetAttendeeMessagesMembersRequest public string? Token { get; set; } /// - /// Filters are used to narrow the results returned and support a combination of logical and comparison
- /// operators.
+ /// Filters narrow results returned based on the criteria you supply.
///
- /// The filter adheres to the pattern `filter='field' comparisonType 'value'`.
+ /// Filters follow the pattern `filter='field' operator 'value'`.
///
- /// These are the comparison types that can be used in filter expressions:
- /// - equals to: eq
- /// - match any of the values in the list: in
+ /// The following comparison operators are supported:
+ /// - `eq`: equals to
+ /// - `in`: match any of the values in the list
///
- /// The following operators can be used:
- /// - or
+ /// The following fields are supported:
///
- /// The following fields are filterable:
- /// * `channel.id` (eq/in)
+ /// | Field | Operators |
+ /// |------------------|------------------------------------|
+ /// | channel.id | `eq`, `in` |
///
- /// Examples:
- /// - Filter channel IDs:
- /// * `filter=channel.id in ('production_group_0cb93bab-32d2-4f82-b430-e1911f2348ac', 'production_group_f6dfb98a-c734-487c-97e1-7c7a09a9125f')`
- /// * `filter=channel.id eq 'production_attendee_616241fd-e97d-48c5-8c4b-4b926f50e8c3' or channel.id eq 'production_group_616241fd-e97d-48c5-8c4b-4b926f50e8c3'` + /// The following logical operators are supported for combining filters:
+ /// - `or`
+ ///
+ /// **Examples:**
+ ///
+ /// Filter channel IDs:
+ /// * `filter=channel.id in ('production_group_0cb93bab-32d2-4f82-b430-e1911f2348ac', 'production_group_f6dfb98a-c734-487c-97e1-7c7a09a9125f')`
+ /// * `filter=channel.id eq 'production_attendee_616241fd-e97d-48c5-8c4b-4b926f50e8c3' or channel.id eq 'production_group_616241fd-e97d-48c5-8c4b-4b926f50e8c3'` ///
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=filter")] public string Filter { get; set; } = default!; diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/GetTravelProposalBidResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/GetTravelProposalBidResponse.cs index cfe950bd6..e6329edab 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/GetTravelProposalBidResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/GetTravelProposalBidResponse.cs @@ -21,6 +21,6 @@ public class GetTravelProposalBidResponse /// /// Successfully retrieved a travel proposal bid. /// - public TravelProposalBid? TravelProposalBid { get; set; } + public TravelProposalBid2? TravelProposalBid { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/GetVideoViewsRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/GetVideoViewsRequest.cs index cf9aeb9f7..4d35ba0ec 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/GetVideoViewsRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/GetVideoViewsRequest.cs @@ -40,22 +40,24 @@ public class GetVideoViewsRequest public string? Token { get; set; } /// - /// 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'.
- /// The filter query supports maximum three fields in filter expression.
+ /// Use filter query parameters to limit results
+ /// to data that matches your criteria. See
+ /// Filters for details.
///
- /// There is one comparison type that can be used in filter expressions:
- /// * equal: eq
+ /// Supported fields and operators are listed below:
///
- /// The following fields are filterable:
- /// * contact.id (eq)
- /// * solution (eq)
- /// * device.type (eq) [deprecated]
- /// * device.operatingSystem (eq) [deprecated]
- /// * video.id (eq)
- /// * type (eq)
+ /// | Field | Operators | Notes |
+ /// |------------------------|-----------|------------|
+ /// | contact.id | `eq` | |
+ /// | solution | `eq` | |
+ /// | device.type | `eq` | deprecated |
+ /// | device.operatingSystem | `eq` | deprecated |
+ /// | video.id | `eq` | |
+ /// | type | `eq` | |
///
- /// The following operators are available:
+ /// The filter query supports maximum three fields in a filter expression.
+ ///
+ /// The following logical operators are supported for combining filters:
/// * and. ///
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=filter")] diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/ListDurationsRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/ListDurationsRequest.cs index 1dcbfd96d..d44b7ca27 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/ListDurationsRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/ListDurationsRequest.cs @@ -60,35 +60,28 @@ public class ListDurationsRequest public string? Sort { get; set; } /// - /// A filter string passed in the body of the request, narrows search results and supports the combination of logical and comparison operators.
- /// The filter adheres to the pattern filter='field' comparisonType 'value'.
+ /// Use filter query parameters to limit results
+ /// to data that matches your criteria. See
+ /// Filters for details.
///
- /// There are eight comparison types that can be used in filter expressions:
- /// * equal: eq
- /// * not equal: ne
- /// * greater than: gt
- /// * greater or equal: ge
- /// * less than: lt
- /// * less than or equal: le
- /// * starts with: sw
- /// * contains a value: contains
- /// * includes value(s): in
+ /// Supported fields and operators are listed below:
///
- /// The following fields are filterable:
- /// * id (eq|ne)
- /// * event.id (eq|ne|in)
- /// * session.id (eq|ne|in)
- /// * attendee.id (eq|ne|in)
- /// * type (contains|eq|ne|in)
- /// * deleted (eq|ne)
- /// * firstSeen (eq|ne|lt|le|gt|ge)
- /// * lastSeen (eq|ne|lt|le|gt|ge)
- /// * duration (eq|ne|lt|le|gt|ge)
- /// * created (eq|ne|lt|le|gt|ge)
+ /// | Field | Operators |
+ /// |-------------|------------------------------------|
+ /// | id | `eq`, `ne` |
+ /// | event.id | `eq`, `ne`, `in` |
+ /// | session.id | `eq`, `ne`, `in` |
+ /// | attendee.id | `eq`, `ne`, `in` |
+ /// | type | `contains`, `eq`, `ne`, `in` |
+ /// | deleted | `eq`, `ne` |
+ /// | firstSeen | `eq`, `ne`, `lt`, `le`, `gt`, `ge` |
+ /// | lastSeen | `eq`, `ne`, `lt`, `le`, `gt`, `ge` |
+ /// | duration | `eq`, `ne`, `lt`, `le`, `gt`, `ge` |
+ /// | created | `eq`, `ne`, `lt`, `le`, `gt`, `ge` |
///
- /// The following operators are available:
- /// * and
- /// * or. + /// The following logical operators are supported for combining filters:
+ /// * and
+ /// * or. ///
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=filter")] public string? Filter { get; set; } diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/ListEventVoucherAttendeesRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/ListEventVoucherAttendeesRequest.cs new file mode 100644 index 000000000..ec5437cfd --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/ListEventVoucherAttendeesRequest.cs @@ -0,0 +1,41 @@ +//------------------------------------------------------------------------------ +// +// 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 ListEventVoucherAttendeesRequest + { + /// + /// Unique ID of an event. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id")] + public string Id { get; set; } = default!; + + /// + /// Unique ID of a voucher. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=voucherId")] + public string VoucherId { 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/ListEventVoucherAttendeesResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/ListEventVoucherAttendeesResponse.cs new file mode 100644 index 000000000..a7d27ddc0 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/ListEventVoucherAttendeesResponse.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 ListEventVoucherAttendeesResponse + { + public Func>? Next { get; set; } + [JsonProperty("-")] + public HTTPMetadata HttpMeta { get; set; } = default!; + + /// + /// Successfully retrieved a paginated list of attendees for the voucher. + /// + public AttendeesPaginatedResponse? AttendeesPaginatedResponse { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/ListEventVouchersPostFilterRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/ListEventVouchersPostFilterRequest.cs new file mode 100644 index 000000000..316688e82 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/ListEventVouchersPostFilterRequest.cs @@ -0,0 +1,70 @@ +//------------------------------------------------------------------------------ +// +// 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 System; + + public class ListEventVouchersPostFilterRequest + { + /// + /// Unique ID of an event. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id")] + public string Id { 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; } + + /// + /// Used to query records that have been added or updated before this time point. + /// + [SpeakeasyMetadata("queryParam:style=form,explode=true,name=before")] + public DateTime? Before { get; set; } + + /// + /// Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. + /// + [SpeakeasyMetadata("queryParam:style=form,explode=true,name=after")] + public DateTime? After { get; set; } + + /// + /// The sort order for the results, expressed as a priority-ordered list of field and direction pairs.
+ ///
+ /// There are two sort directions:
+ /// * ascending: ASC
+ /// * descending: DESC
+ ///
+ /// The following fields are sortable:
+ /// * code
+ ///
+ /// When not provided, results are sorted by `code` ascending. + ///
+ [SpeakeasyMetadata("queryParam:style=form,explode=true,name=sort")] + public string? Sort { get; set; } + + /// + /// See the `filter` parameter in List Event Vouchers for full filtering information. + /// + [SpeakeasyMetadata("request:mediaType=application/json")] + public Filter? Filter { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/ListEventVouchersPostFilterResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/ListEventVouchersPostFilterResponse.cs new file mode 100644 index 000000000..2035a89ad --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/ListEventVouchersPostFilterResponse.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 ListEventVouchersPostFilterResponse + { + public Func>? Next { get; set; } + [JsonProperty("-")] + public HTTPMetadata HttpMeta { get; set; } = default!; + + /// + /// Successfully retrieved a paginated list of vouchers. + /// + public VouchersPaginatedResponse? VouchersPaginatedResponse { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/ListEventVouchersRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/ListEventVouchersRequest.cs new file mode 100644 index 000000000..f30240aa3 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/ListEventVouchersRequest.cs @@ -0,0 +1,79 @@ +//------------------------------------------------------------------------------ +// +// 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; + using System; + + public class ListEventVouchersRequest + { + /// + /// Unique ID of an event. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id")] + public string Id { 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; } + + /// + /// Used to query records that have been added or updated before this time point. + /// + [SpeakeasyMetadata("queryParam:style=form,explode=true,name=before")] + public DateTime? Before { get; set; } + + /// + /// Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. + /// + [SpeakeasyMetadata("queryParam:style=form,explode=true,name=after")] + public DateTime? After { get; set; } + + /// + /// The sort order for the results, expressed as a priority-ordered list of field and direction pairs.
+ ///
+ /// There are two sort directions:
+ /// * ascending: ASC
+ /// * descending: DESC
+ ///
+ /// The following fields are sortable:
+ /// * code
+ ///
+ /// When not provided, results are sorted by `code` ascending. + ///
+ [SpeakeasyMetadata("queryParam:style=form,explode=true,name=sort")] + public string? Sort { get; set; } + + /// + /// Use filter query parameters to limit results
+ /// to data that matches your criteria. See
+ /// Filters for details.
+ ///
+ /// Supported fields and operators are listed below:
+ ///
+ /// | Field | Operators |
+ /// |-------|-----------|
+ /// | id | `in` |
+ ///
+ /// No logical operators are available. + ///
+ [SpeakeasyMetadata("queryParam:style=form,explode=true,name=filter")] + public string? Filter { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/ListEventVouchersResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/ListEventVouchersResponse.cs new file mode 100644 index 000000000..d97f56704 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/ListEventVouchersResponse.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 ListEventVouchersResponse + { + public Func>? Next { get; set; } + [JsonProperty("-")] + public HTTPMetadata HttpMeta { get; set; } = default!; + + /// + /// Successfully retrieved a paginated list of vouchers. + /// + public VouchersPaginatedResponse? VouchersPaginatedResponse { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/ListVideosRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/ListVideosRequest.cs index c804dc2db..dfd0a6fd3 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/ListVideosRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/ListVideosRequest.cs @@ -40,30 +40,28 @@ public class ListVideosRequest public string? Token { get; set; } /// - /// 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'.
+ /// Use filter query parameters to limit results
+ /// to data that matches your criteria. See
+ /// Filters for details.
///
- /// There are six comparison types that can be used in filter expressions:
- /// * equal: eq
- /// * not equal: ne
- /// * greater than: gt
- /// * greater or equal: ge
- /// * less than: lt
- /// * less than or equal: le
+ /// Supported fields and operators are listed below:
///
- /// The following fields are filterable:
- /// * id (eq|ne)
- /// * events (eq|ne)
- /// * sessions (eq|ne)
- /// * exhibitors (eq|ne)
- /// * speakers (eq|ne)
- /// * source.id (eq|ne)
- /// * status (eq|ne)
- /// * tags (eq|ne)
- /// * recording.id (eq|ne)
+ /// | Field | Operators | Notes |
+ /// |--------------|------------|----------------------------------|
+ /// | id | `eq`, `ne` | |
+ /// | events | `eq`, `ne` | |
+ /// | sessions | `eq`, `ne` | |
+ /// | exhibitors | `eq`, `ne` | |
+ /// | speakers | `eq`, `ne` | |
+ /// | source.id | `eq`, `ne` | |
+ /// | status | `eq`, `ne` | |
+ /// | tags | `eq`, `ne` | |
+ /// | recording.id | `eq`, `ne` | |
+ /// | event.id | `eq`, `ne` | deprecated, use `events` instead |
///
- /// The following filterable fields have been deprecated, use the plural form above:
- /// * event.id (eq|ne). + /// The following logical operators are supported for combining filters:
+ /// * and
+ /// * or. ///
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=filter")] public string? Filter { get; set; } diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/PatchContactsResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/PatchContactsResponse.cs index e398f1465..27802de88 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/PatchContactsResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/PatchContactsResponse.cs @@ -22,6 +22,6 @@ public class PatchContactsResponse /// /// Successfully updated a list of contacts. /// - public List? ContactBulkResponse { get; set; } + public List? ContactBulkResponse { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateAttendeeResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateAttendeeResponse.cs index 7f54ad116..cf19785ba 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateAttendeeResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateAttendeeResponse.cs @@ -21,6 +21,6 @@ public class UpdateAttendeeResponse /// /// Successfully updated the attendee. /// - public Attendee1? Attendee { get; set; } + public Attendee11? Attendee1 { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateContactsResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateContactsResponse.cs index 091d3bc48..f16467f56 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateContactsResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateContactsResponse.cs @@ -22,6 +22,6 @@ public class UpdateContactsResponse /// /// Successfully updated a list of Contacts. /// - public List? ContactBulkResponse { get; set; } + public List? ContactBulkResponse { 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 93c85f61f..f786d2b4d 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.4.0 2.859.2 ea Cvent.SDK"; + UserAgent = "speakeasy-sdk/csharp 1.5.0 2.859.2 ea Cvent.SDK"; SecuritySource = null; Hooks = new SDKHooks(); RetryConfig = null; diff --git a/packages/csharp/src/Cvent/SDK/Sessions.cs b/packages/csharp/src/Cvent/SDK/Sessions.cs index 6c9f166c2..5ac5679bf 100644 --- a/packages/csharp/src/Cvent/SDK/Sessions.cs +++ b/packages/csharp/src/Cvent/SDK/Sessions.cs @@ -213,7 +213,8 @@ public Task GetProgramItemDocumentsAsync( /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Bad or expired token. Thrown when the API returns a 401, 403, 404, 409 or 429 response. + /// Program item session document limit reached. Thrown when the API returns a 409 response. + /// Bad or expired token. Thrown when the API returns a 401, 403, 404 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public Task RelateProgramItemToSessionDocumentAsync( RelateProgramItemToSessionDocumentRequest request, @@ -2248,7 +2249,8 @@ public async Task GetProgramItemDocumentsAsync( /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Bad or expired token. Thrown when the API returns a 401, 403, 404, 409 or 429 response. + /// Program item session document limit reached. Thrown when the API returns a 409 response. + /// Bad or expired token. Thrown when the API returns a 401, 403, 404 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public async Task RelateProgramItemToSessionDocumentAsync( RelateProgramItemToSessionDocumentRequest request, @@ -2370,7 +2372,27 @@ public async Task RelateProgramItemT throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); } - else if (new List { 401, 403, 404, 409, 429 }.Contains(responseStatusCode)) + else if (responseStatusCode == 409) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse2Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (new List { 401, 403, 404, 429 }.Contains(responseStatusCode)) { if (Utilities.IsContentTypeMatch("application/json", contentType)) { diff --git a/packages/csharp/src/Cvent/SDK/Speakers.cs b/packages/csharp/src/Cvent/SDK/Speakers.cs index 117d2669a..0ed609fda 100644 --- a/packages/csharp/src/Cvent/SDK/Speakers.cs +++ b/packages/csharp/src/Cvent/SDK/Speakers.cs @@ -77,7 +77,8 @@ public Task ListSessionProgramSpe /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Bad or expired token. Thrown when the API returns a 401, 403, 404, 409 or 429 response. + /// Session program speaker limit reached. Thrown when the API returns a 409 response. + /// Bad or expired token. Thrown when the API returns a 401, 403, 404 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public Task CreateSessionProgramSpeakerAsync( CreateSessionProgramSpeakerRequest request, @@ -157,7 +158,7 @@ public Task ListSpeakersCategoriesAsync( /// Bad request. Thrown when the API returns a 400, 401, 403 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public Task AddSpeakerCategoryAsync( - SpeakerCategory request, + SpeakerCategory2 request, RetryConfig? retryConfig = null ); @@ -820,7 +821,8 @@ public async Task ListSessionProg /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Bad or expired token. Thrown when the API returns a 401, 403, 404, 409 or 429 response. + /// Session program speaker limit reached. Thrown when the API returns a 409 response. + /// Bad or expired token. Thrown when the API returns a 401, 403, 404 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public async Task CreateSessionProgramSpeakerAsync( CreateSessionProgramSpeakerRequest request, @@ -942,7 +944,27 @@ public async Task CreateSessionProgramSpeak throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); } - else if (new List { 401, 403, 404, 409, 429 }.Contains(responseStatusCode)) + else if (responseStatusCode == 409) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse2Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse2Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse2(payload, httpRequest, httpResponse, httpResponseBody); + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (new List { 401, 403, 404, 429 }.Contains(responseStatusCode)) { if (Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -1498,7 +1520,7 @@ public async Task ListSpeakersCategoriesAsync( /// Bad request. Thrown when the API returns a 400, 401, 403 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public async Task AddSpeakerCategoryAsync( - SpeakerCategory request, + SpeakerCategory2 request, RetryConfig? retryConfig = null ) { diff --git a/packages/csharp/src/Cvent/SDK/TravelAccounts.cs b/packages/csharp/src/Cvent/SDK/TravelAccounts.cs index 067e89c75..2cfdfcfdd 100644 --- a/packages/csharp/src/Cvent/SDK/TravelAccounts.cs +++ b/packages/csharp/src/Cvent/SDK/TravelAccounts.cs @@ -154,7 +154,7 @@ public async Task ListTravelAccountsAsync( httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ListTravelAccounts", new List { "business-transient/travel-accounts:read" }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ListTravelAccounts", new List { "business-transient/travel-accounts:read", "business-travel/travel-accounts:read" }, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -545,7 +545,7 @@ public async Task GetTravelAccountAsync( httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "getTravelAccount", new List { "business-transient/travel-accounts:read" }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "getTravelAccount", new List { "business-transient/travel-accounts:read", "business-travel/travel-accounts:read" }, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) diff --git a/packages/csharp/src/Cvent/SDK/TravelRFPs.cs b/packages/csharp/src/Cvent/SDK/TravelRFPs.cs index 96b282c38..f62b613a0 100644 --- a/packages/csharp/src/Cvent/SDK/TravelRFPs.cs +++ b/packages/csharp/src/Cvent/SDK/TravelRFPs.cs @@ -255,7 +255,7 @@ public async Task ListTravelProgramsAsync( httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ListTravelPrograms", new List { "business-transient/travel-programs:read" }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ListTravelPrograms", new List { "business-transient/travel-programs:read", "business-travel/travel-programs:read" }, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -449,7 +449,7 @@ public async Task ListTravelProgramsQuestio httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ListTravelProgramsQuestions", new List { "business-transient/travel-program-questions:read" }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ListTravelProgramsQuestions", new List { "business-transient/travel-program-questions:read", "business-travel/travel-program-questions:read" }, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -645,7 +645,7 @@ public async Task GetTravelProgramAsync( httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "getTravelProgram", new List { "business-transient/travel-programs:read" }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "getTravelProgram", new List { "business-transient/travel-programs:read", "business-travel/travel-programs:read" }, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -811,7 +811,7 @@ public async Task ListTravelProgramQuestions httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ListTravelProgramQuestions", new List { "business-transient/travel-program-questions:read" }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ListTravelProgramQuestions", new List { "business-transient/travel-program-questions:read", "business-travel/travel-program-questions:read" }, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1008,7 +1008,7 @@ public async Task GetTravelProgramQuestionAsyn httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "getTravelProgramQuestion", new List { "business-transient/travel-program-questions:read" }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "getTravelProgramQuestion", new List { "business-transient/travel-program-questions:read", "business-travel/travel-program-questions:read" }, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1637,14 +1637,14 @@ public async Task GetTravelProposalBidAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - TravelProposalBid obj; + TravelProposalBid2 obj; try { - obj = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + obj = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); } catch (Exception ex) { - throw new ResponseValidationException("Failed to deserialize response body into TravelProposalBid.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into TravelProposalBid2.", httpRequest, httpResponse, httpResponseBody, ex); } var response = new GetTravelProposalBidResponse() { diff --git a/packages/csharp/src/Cvent/SDK/UserSCIM.cs b/packages/csharp/src/Cvent/SDK/UserSCIM.cs index 59bdb34a4..6f2e452b5 100644 --- a/packages/csharp/src/Cvent/SDK/UserSCIM.cs +++ b/packages/csharp/src/Cvent/SDK/UserSCIM.cs @@ -39,7 +39,7 @@ public interface IUserSCIM /// An awaitable task that returns a response envelope when completed. /// 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 or 429 response. + /// Bad request. Thrown when the API returns a 400, 401, 403 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public Task GetUserGroupsAsync( GetUserGroupsRequest? request = null, @@ -57,7 +57,7 @@ public Task GetUserGroupsAsync( /// An awaitable task that returns a response envelope when completed. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Bad or expired token. Thrown when the API returns a 401, 403 or 429 response. + /// Bad or expired token. Thrown when the API returns a 401, 403 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public Task GetResourceTypesAsync(RetryConfig? retryConfig = null); @@ -74,7 +74,7 @@ public Task GetUserGroupsAsync( /// 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. + /// 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 GetResourceTypeAsync( GetResourceTypeRequest request, @@ -92,7 +92,7 @@ public Task GetResourceTypeAsync( /// An awaitable task that returns a response envelope when completed. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Bad or expired token. Thrown when the API returns a 401, 403 or 429 response. + /// Bad or expired token. Thrown when the API returns a 401, 403 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public Task GetSchemasAsync(RetryConfig? retryConfig = null); @@ -109,7 +109,7 @@ public Task GetResourceTypeAsync( /// 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. + /// 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 GetSchemaAsync(GetSchemaRequest request, RetryConfig? retryConfig = null); @@ -124,7 +124,7 @@ public Task GetResourceTypeAsync( /// An awaitable task that returns a response envelope when completed. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Bad or expired token. Thrown when the API returns a 401, 403 or 429 response. + /// Bad or expired token. Thrown when the API returns a 401, 403 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public Task GetServiceProviderConfigAsync(RetryConfig? retryConfig = null); @@ -140,7 +140,7 @@ public Task GetResourceTypeAsync( /// An awaitable task that returns a response envelope when completed. /// 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, 409 or 429 response. + /// Bad request. Thrown when the API returns a 400, 401, 403, 409 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public Task CreateUserAsync(UserInput? request = null, RetryConfig? retryConfig = null); @@ -156,7 +156,7 @@ public Task GetResourceTypeAsync( /// An awaitable task that returns a response envelope when completed. /// 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 or 429 response. + /// Bad request. Thrown when the API returns a 400, 401, 403 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public Task ListUsersAsync(ListUsersRequest? request = null, RetryConfig? retryConfig = null); @@ -173,7 +173,7 @@ public Task GetResourceTypeAsync( /// 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. + /// 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 GetUserAsync(GetUserRequest request, RetryConfig? retryConfig = null); @@ -190,7 +190,7 @@ public Task GetResourceTypeAsync( /// 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. + /// 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 UpdateUserAsync(UpdateUserRequest request, RetryConfig? retryConfig = null); @@ -207,7 +207,7 @@ public Task GetResourceTypeAsync( /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Bad or expired token. Thrown when the API returns a 401, 403, 404 or 429 response. + /// Bad or expired token. Thrown when the API returns a 401, 403, 404 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public Task DeleteUserAsync(DeleteUserRequest request, RetryConfig? retryConfig = null); } @@ -240,7 +240,7 @@ public UserSCIM(SDKConfig config) /// An awaitable task that returns a response envelope when completed. /// 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 or 429 response. + /// Bad request. Thrown when the API returns a 400, 401, 403 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public async Task GetUserGroupsAsync( GetUserGroupsRequest? request = null, @@ -365,17 +365,17 @@ public async Task GetUserGroupsAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - ErrorResponseJson17Payload payload; + ErrorResponseJson12Payload payload; try { - payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Include); + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Include); } catch (Exception ex) { - throw new ResponseValidationException("Failed to deserialize response body into ErrorResponseJson17Payload.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into ErrorResponseJson12Payload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new ErrorResponseJson17(payload, httpRequest, httpResponse, httpResponseBody); + throw new ErrorResponseJson12(payload, httpRequest, httpResponse, httpResponseBody); } throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); @@ -403,7 +403,7 @@ public async Task GetUserGroupsAsync( /// An awaitable task that returns a response envelope when completed. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Bad or expired token. Thrown when the API returns a 401, 403 or 429 response. + /// Bad or expired token. Thrown when the API returns a 401, 403 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public async Task GetResourceTypesAsync(RetryConfig? retryConfig = null) { @@ -525,17 +525,17 @@ public async Task GetResourceTypesAsync(RetryConfig? r if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - ErrorResponseJson17Payload payload; + ErrorResponseJson12Payload payload; try { - payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); } catch (Exception ex) { - throw new ResponseValidationException("Failed to deserialize response body into ErrorResponseJson17Payload.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into ErrorResponseJson12Payload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new ErrorResponseJson17(payload, httpRequest, httpResponse, httpResponseBody); + throw new ErrorResponseJson12(payload, httpRequest, httpResponse, httpResponseBody); } throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); @@ -565,7 +565,7 @@ public async Task GetResourceTypesAsync(RetryConfig? r /// 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. + /// 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 GetResourceTypeAsync( GetResourceTypeRequest request, @@ -692,17 +692,17 @@ public async Task GetResourceTypeAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - ErrorResponseJson17Payload payload; + ErrorResponseJson12Payload payload; try { - payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); } catch (Exception ex) { - throw new ResponseValidationException("Failed to deserialize response body into ErrorResponseJson17Payload.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into ErrorResponseJson12Payload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new ErrorResponseJson17(payload, httpRequest, httpResponse, httpResponseBody); + throw new ErrorResponseJson12(payload, httpRequest, httpResponse, httpResponseBody); } throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); @@ -730,7 +730,7 @@ public async Task GetResourceTypeAsync( /// An awaitable task that returns a response envelope when completed. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Bad or expired token. Thrown when the API returns a 401, 403 or 429 response. + /// Bad or expired token. Thrown when the API returns a 401, 403 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public async Task GetSchemasAsync(RetryConfig? retryConfig = null) { @@ -852,17 +852,17 @@ public async Task GetSchemasAsync(RetryConfig? retryConfig = if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - ErrorResponseJson17Payload payload; + ErrorResponseJson12Payload payload; try { - payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); } catch (Exception ex) { - throw new ResponseValidationException("Failed to deserialize response body into ErrorResponseJson17Payload.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into ErrorResponseJson12Payload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new ErrorResponseJson17(payload, httpRequest, httpResponse, httpResponseBody); + throw new ErrorResponseJson12(payload, httpRequest, httpResponse, httpResponseBody); } throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); @@ -892,7 +892,7 @@ public async Task GetSchemasAsync(RetryConfig? retryConfig = /// 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. + /// 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 GetSchemaAsync(GetSchemaRequest request, RetryConfig? retryConfig = null) { @@ -1016,17 +1016,17 @@ public async Task GetSchemaAsync(GetSchemaRequest request, Re if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - ErrorResponseJson17Payload payload; + ErrorResponseJson12Payload payload; try { - payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); } catch (Exception ex) { - throw new ResponseValidationException("Failed to deserialize response body into ErrorResponseJson17Payload.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into ErrorResponseJson12Payload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new ErrorResponseJson17(payload, httpRequest, httpResponse, httpResponseBody); + throw new ErrorResponseJson12(payload, httpRequest, httpResponse, httpResponseBody); } throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); @@ -1054,7 +1054,7 @@ public async Task GetSchemaAsync(GetSchemaRequest request, Re /// An awaitable task that returns a response envelope when completed. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Bad or expired token. Thrown when the API returns a 401, 403 or 429 response. + /// Bad or expired token. Thrown when the API returns a 401, 403 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public async Task GetServiceProviderConfigAsync( RetryConfig? retryConfig = null @@ -1178,17 +1178,17 @@ public async Task GetServiceProviderConfigAsyn if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - ErrorResponseJson17Payload payload; + ErrorResponseJson12Payload payload; try { - payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); } catch (Exception ex) { - throw new ResponseValidationException("Failed to deserialize response body into ErrorResponseJson17Payload.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into ErrorResponseJson12Payload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new ErrorResponseJson17(payload, httpRequest, httpResponse, httpResponseBody); + throw new ErrorResponseJson12(payload, httpRequest, httpResponse, httpResponseBody); } throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); @@ -1217,7 +1217,7 @@ public async Task GetServiceProviderConfigAsyn /// An awaitable task that returns a response envelope when completed. /// 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, 409 or 429 response. + /// Bad request. Thrown when the API returns a 400, 401, 403, 409 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public async Task CreateUserAsync( UserInput? request = null, @@ -1348,17 +1348,17 @@ public async Task CreateUserAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - ErrorResponseJson17Payload payload; + ErrorResponseJson12Payload payload; try { - payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Include); + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Include); } catch (Exception ex) { - throw new ResponseValidationException("Failed to deserialize response body into ErrorResponseJson17Payload.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into ErrorResponseJson12Payload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new ErrorResponseJson17(payload, httpRequest, httpResponse, httpResponseBody); + throw new ErrorResponseJson12(payload, httpRequest, httpResponse, httpResponseBody); } throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); @@ -1387,7 +1387,7 @@ public async Task CreateUserAsync( /// An awaitable task that returns a response envelope when completed. /// 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 or 429 response. + /// Bad request. Thrown when the API returns a 400, 401, 403 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public async Task ListUsersAsync( ListUsersRequest? request = null, @@ -1512,17 +1512,17 @@ public async Task ListUsersAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - ErrorResponseJson17Payload payload; + ErrorResponseJson12Payload payload; try { - payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Include); + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Include); } catch (Exception ex) { - throw new ResponseValidationException("Failed to deserialize response body into ErrorResponseJson17Payload.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into ErrorResponseJson12Payload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new ErrorResponseJson17(payload, httpRequest, httpResponse, httpResponseBody); + throw new ErrorResponseJson12(payload, httpRequest, httpResponse, httpResponseBody); } throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); @@ -1552,7 +1552,7 @@ public async Task ListUsersAsync( /// 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. + /// 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 GetUserAsync(GetUserRequest request, RetryConfig? retryConfig = null) { @@ -1676,17 +1676,17 @@ public async Task GetUserAsync(GetUserRequest request, RetryCon if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - ErrorResponseJson17Payload payload; + ErrorResponseJson12Payload payload; try { - payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); } catch (Exception ex) { - throw new ResponseValidationException("Failed to deserialize response body into ErrorResponseJson17Payload.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into ErrorResponseJson12Payload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new ErrorResponseJson17(payload, httpRequest, httpResponse, httpResponseBody); + throw new ErrorResponseJson12(payload, httpRequest, httpResponse, httpResponseBody); } throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); @@ -1716,7 +1716,7 @@ public async Task GetUserAsync(GetUserRequest request, RetryCon /// 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. + /// 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 UpdateUserAsync( UpdateUserRequest request, @@ -1849,17 +1849,17 @@ public async Task UpdateUserAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - ErrorResponseJson17Payload payload; + ErrorResponseJson12Payload payload; try { - payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); } catch (Exception ex) { - throw new ResponseValidationException("Failed to deserialize response body into ErrorResponseJson17Payload.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into ErrorResponseJson12Payload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new ErrorResponseJson17(payload, httpRequest, httpResponse, httpResponseBody); + throw new ErrorResponseJson12(payload, httpRequest, httpResponse, httpResponseBody); } throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); @@ -1889,7 +1889,7 @@ public async Task UpdateUserAsync( /// The required parameter is null. /// The HTTP request failed due to network issues. /// The response body could not be deserialized. - /// Bad or expired token. Thrown when the API returns a 401, 403, 404 or 429 response. + /// Bad or expired token. Thrown when the API returns a 401, 403, 404 or 429 response. /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. public async Task DeleteUserAsync( DeleteUserRequest request, @@ -1998,17 +1998,17 @@ public async Task DeleteUserAsync( if (Utilities.IsContentTypeMatch("application/json", contentType)) { var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); - ErrorResponseJson17Payload payload; + ErrorResponseJson12Payload payload; try { - payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); } catch (Exception ex) { - throw new ResponseValidationException("Failed to deserialize response body into ErrorResponseJson17Payload.", httpRequest, httpResponse, httpResponseBody, ex); + throw new ResponseValidationException("Failed to deserialize response body into ErrorResponseJson12Payload.", httpRequest, httpResponse, httpResponseBody, ex); } - throw new ErrorResponseJson17(payload, httpRequest, httpResponse, httpResponseBody); + throw new ErrorResponseJson12(payload, httpRequest, httpResponse, httpResponseBody); } throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); diff --git a/packages/csharp/src/Cvent/SDK/Utils/Constants.cs b/packages/csharp/src/Cvent/SDK/Utils/Constants.cs index d835bb9bd..00f67fc78 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.4.0"; + public const string SdkVersion = "1.5.0"; /// /// The version of the SDK generator used to create this SDK. diff --git a/packages/java/.speakeasy/gen.lock b/packages/java/.speakeasy/gen.lock index 5a790ba88..458077d22 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: 980ec795cdc5cf787611d1872ebac47a + docChecksum: 366f3963ef9a456f6e28208f71114563 docVersion: ea speakeasyVersion: 1.752.0 generationVersion: 2.859.2 - releaseVersion: 1.4.0 - configChecksum: c541b0b8362ef2a8d903b009186a9704 + releaseVersion: 1.5.0 + configChecksum: fd9e1826243ea7eb4392aeda17bead0f published: true persistentEdits: generation_id: 6ad3309a-d2a1-4e74-a3ae-065e16d1999e @@ -62,12 +62,14 @@ trackedFiles: pristine_git_object: f398b6a49b6741af377c1f2c8a1ef0c4aea18377 docs/models/components/AccountBudgetItemListResponseJson.md: id: febabba0b74f - last_write_checksum: sha1:6d7f2e2d3999f8fb32510b408877b920bf7e1c6e + last_write_checksum: sha1:de254e988f0a52e8f6d12270f7b669a56bbf3350 pristine_git_object: 5811df0d97c76214dea6069d5cfbda3182a47d9d docs/models/components/AccountBudgetItemsPaginatedResponse.md: id: f19e5a08ad28 last_write_checksum: sha1:4831814ad0cd86f6a5c6fb0cabb78c95f22239f7 pristine_git_object: a6cca402644bca708edf6956fa7106cc7011ecfd + docs/models/components/Action.md: + last_write_checksum: sha1:1b1804bda4c60796ade7f5fcd656da3262b7ef50 docs/models/components/ActivityAdJson.md: id: e2fd13edae87 last_write_checksum: sha1:e00b1c421434b123747a18bd35c42105d3e5745c @@ -209,57 +211,45 @@ trackedFiles: last_write_checksum: sha1:fbbf20cabfafa6319088c317a8d3dad9fa834ab5 pristine_git_object: c232eba3e3ae418311f8feadc50fefd9faa360c1 docs/models/components/AdditionalChoice.md: - last_write_checksum: sha1:fad23da1aefa73f28896d6583d2563cf41c37f43 - docs/models/components/AdditionalChoiceJson1.md: - last_write_checksum: sha1:7991b07603234a914d5cad4ecaf97269859c6078 - docs/models/components/AdditionalChoiceJson2.md: - last_write_checksum: sha1:5388212edad01111e0b6449b7c8ab5883eb78314 + last_write_checksum: sha1:96ccd34c9b0eb12f0849978436610e54422c4e7d + docs/models/components/AdditionalChoice1.md: + last_write_checksum: sha1:a12acedde623849f25a163330b407bfc660f285a + docs/models/components/AdditionalChoiceJson.md: + last_write_checksum: sha1:3d73067227357b3ce5cc4ef8b012c1eda0241ed5 docs/models/components/AdditionalGuestFeesJson.md: id: b06986916918 last_write_checksum: sha1:c6bec98de43766efe8c7bc46f6353f0cf0cd2b58 pristine_git_object: 2f336a0d211e22039d5db2b941a9b965b89b8bf4 + docs/models/components/Address.md: + last_write_checksum: sha1:6b4ca7d03ace65ef15f6186b03edf88bb3377e24 + docs/models/components/Address1.md: + last_write_checksum: sha1:3ac740150ba9aeec7b8611ad5bb5e0e88805aa6c docs/models/components/Address11.md: - last_write_checksum: sha1:719d08b3332ecae42077e3c267e1a87bb17d5498 - docs/models/components/Address12.md: - last_write_checksum: sha1:ce5ea131e577350a47de0d356b579e521ec2bb55 - docs/models/components/Address2.md: - last_write_checksum: sha1:a4f9965567f61991a9e4a867c5240d8456ee16c9 + last_write_checksum: sha1:1443e51453a2061d020b8228d6ac3943a805216a docs/models/components/Address3.md: - last_write_checksum: sha1:b079dc95737159d96cdb89a7b86a374b0dfb5602 + last_write_checksum: sha1:7314bfa59e397d5b0c90fe37d67a6e40eb231afb + docs/models/components/Address4.md: + last_write_checksum: sha1:d08b9584dc4dad2db204b1856fb2faa9e496074d + docs/models/components/Address5.md: + last_write_checksum: sha1:bc3139602856359c7b3711cbd4fdc0e302b8a759 + docs/models/components/Address6.md: + last_write_checksum: sha1:bdb2507f907f877ca645383921dbbebb41c96fd7 + docs/models/components/AddressInput.md: + last_write_checksum: sha1:452de3333bd7d54cb6c9cf241d8d715bf81a4a51 docs/models/components/AddressJson.md: id: 852b3cfbf97e - last_write_checksum: sha1:5028a27bc58a24bcbeebc513a838dd2440c16fda + last_write_checksum: sha1:b37f4931ba7bcf299974fa8efa97782cd9fb58c0 pristine_git_object: 39721498ca4a7658142cbc308a2072d0bbbf42be - docs/models/components/AddressJson0.md: - last_write_checksum: sha1:34a3ab7e63cba1fe400707b9fbbb23d3881ac53d + docs/models/components/AddressJson1.md: + last_write_checksum: sha1:f227600fe62d4397e81350d69cce7a4373a12ec1 docs/models/components/AddressJson2.md: - last_write_checksum: sha1:4846731472a6a0d9d2394070e4da1e739c136d48 - docs/models/components/AddressJson3.md: - id: 0ac01a60fec1 - last_write_checksum: sha1:7fdfa580875315f9c475d871039f56df95ec29a0 - pristine_git_object: d7fe274ee62affd3862bced58bf9afcbf2695142 - docs/models/components/AddressJson4.md: - id: 8e5d342fb420 - last_write_checksum: sha1:20dcedfbf27b15893c9a4a63421fb33713ac0217 - pristine_git_object: 7cf5207f0164f0848ebab45e44fe8aad7e100af7 - docs/models/components/AddressJson5.md: - id: e6f33b74405f - last_write_checksum: sha1:ffb128f83b6be38d6e3d8220c01bca193c0f958d - pristine_git_object: fa16a56c380fc2eb00c947c74d907b1251c5d323 - docs/models/components/AddressJsonInput.md: - id: f5ba5f1662f0 - last_write_checksum: sha1:3a7d72509d46231027f53e1217466e1b44bb0922 - pristine_git_object: ea6b8d925f6e2b4d7213d4f0bd737a3c788ba080 + last_write_checksum: sha1:93f2ab651e1108d5f25241021a2aa6b485abbad7 docs/models/components/AddressType.md: last_write_checksum: sha1:8413e3daa4158cfdb2d185e755029582f715ac42 docs/models/components/AddressTypeJson.md: id: 158b19d5f367 - last_write_checksum: sha1:15c04c281dba9c93d1cb30fa390fb594fd09950f + last_write_checksum: sha1:a4f2455039bf2a91fe6e8a8202437bcf7c6e4a9c pristine_git_object: 7cf2dd92b24fd2d29d0c4b9eaf6abdba7e61abb3 - docs/models/components/AddressTypeJson1.md: - id: b79295b1014f - last_write_checksum: sha1:d3127efb5635f7c1894a2c50e53e382a677aacd8 - pristine_git_object: d9804699cf08ced0643a55e3a0271c142c0e4347 docs/models/components/AdmissionItemsPaginatedResponse.md: id: 49454efee4e0 last_write_checksum: sha1:11e26bb527c9557c73ed14da9d6694da28ff897a @@ -288,10 +278,10 @@ trackedFiles: pristine_git_object: d35d5898ff8618bdb8b952fcbeca2f29ffd76684 docs/models/components/AgendaItem1.md: last_write_checksum: sha1:0541ff35749e4af945ca5bc4c722a5eb196628e6 - docs/models/components/AgendaItemSetupJson.md: - last_write_checksum: sha1:1eccae39bc07241999cf967089d17b4fd3e61f7f - docs/models/components/AgendaItemTypeJson.md: - last_write_checksum: sha1:cab039e9e1f9abd618c08da7ae5c9f062eaf4d29 + docs/models/components/AgendaItemSetup.md: + last_write_checksum: sha1:4acd29bb28545674da94c1598c10a4bed0c6ec8a + docs/models/components/AgendaItemType.md: + last_write_checksum: sha1:2f114c42c8e46d631c0c7d847e220caa1613df42 docs/models/components/AggregatedCostJson.md: id: fc95bfd11e70 last_write_checksum: sha1:55fcd3fdff9fc6c4968873ecf448342cd7c05744 @@ -340,10 +330,8 @@ trackedFiles: last_write_checksum: sha1:f0b44425a175f014891bda9b6d72a042cd76f4e3 docs/models/components/AlternateTravelPaginatedResponsePaging.md: last_write_checksum: sha1:c753096d624ed778c469b212bc597b675534cf84 - docs/models/components/AmenityTypeJson.md: - id: 08f0827fa149 - last_write_checksum: sha1:edec294a4fe0df29eebdda88e48607993010f5f3 - pristine_git_object: f62e0405a60384b8fe2e72553c5e48d011fbe968 + docs/models/components/AmenityType.md: + last_write_checksum: sha1:9af8a4f04409478731dd2f44b1a9bf9e6cd23d5a docs/models/components/AmountType.md: id: 663939309beb last_write_checksum: sha1:f708d8010557044c2a2a4fb5ce3cb3bf02ebed1f @@ -495,19 +483,15 @@ trackedFiles: last_write_checksum: sha1:df51936b200184188b8d37d32948f373cf3fd6b3 pristine_git_object: 507787f208427d660ed20799d693bd6335e2aea6 docs/models/components/AppointmentWithQuestions.md: - last_write_checksum: sha1:0b8e6a00e5cc9477fc96c7a4811140ff981db75c + last_write_checksum: sha1:3bcc3c0e1b7cd5138f59ffa480c628ef8b82c572 docs/models/components/AppointmentWithQuestionsLocation.md: last_write_checksum: sha1:d382a10b78858a3b3c55ca93e06085386f94cc6e docs/models/components/AppointmentWithQuestionsType.md: last_write_checksum: sha1:9ff250cee44964ddeecb0cd990f05adc956200c1 - docs/models/components/AssetLocationJson.md: - id: f5f2b4a7590c - last_write_checksum: sha1:837834b94c73bd90dc3616342a578b096c6cba15 - pristine_git_object: 0deb6ca6ecd843c0de3e072855badbcd4a184adc - docs/models/components/AssetLocationJsonInput.md: - id: 805b7408728e - last_write_checksum: sha1:3af856cc533b5c0b58adcf6ed13129b997079086 - pristine_git_object: ee14621e98ed6b9913bfc917ca49b5dba62c2efc + docs/models/components/AssetLocation.md: + last_write_checksum: sha1:452f314b89f4b9efb7b6e66854fccbf2cf11d971 + docs/models/components/AssetLocationInput.md: + last_write_checksum: sha1:62d63848a016adbe4c57a70e5b35468d99461ed0 docs/models/components/AssociatedRegistrationPathJson.md: id: 8956ccbab2a9 last_write_checksum: sha1:87f6ef28e9cad9f162472c5bea4db48a2be1c3f8 @@ -516,16 +500,22 @@ trackedFiles: id: 952a0a6a2b64 last_write_checksum: sha1:a90f6b6eecddf1f813e8cb99863f049806ae2027 pristine_git_object: bd15a9f312caf01fed253922c6ef7ccdbda4620f - docs/models/components/AttachmentSourceJson.md: - last_write_checksum: sha1:3a972b87928b78a456bff775a5258fe14d19003c - docs/models/components/Attendee1.md: - last_write_checksum: sha1:a17e71d0c3e2536090b2c40dd6d9d55eae94b055 + docs/models/components/AttachmentSource.md: + last_write_checksum: sha1:df12e7200918599f08a3514f4e1a46c7fb3aa82d + docs/models/components/Attendee.md: + last_write_checksum: sha1:3a634dbfbc69513b5696b61722ee00762ae82ae2 docs/models/components/Attendee11.md: - last_write_checksum: sha1:2f17ed993c4906098d1be0a3bac6bc2e1eca1971 + last_write_checksum: sha1:621ce9fba951e755fb977132c46e1476e08869be docs/models/components/Attendee12.md: - last_write_checksum: sha1:7dc3bb0dff2ddde5c32f8a462014f062d4e1254b + last_write_checksum: sha1:63fee4f20f2ef8b321cf820a85175b1aea160b33 + docs/models/components/Attendee13.md: + last_write_checksum: sha1:da9cd042878890e7018b89a934ebe965be35194c + docs/models/components/Attendee1Event.md: + last_write_checksum: sha1:54dd58ae1be49d879a312b049c094621eadd7c4e + docs/models/components/Attendee1Lookup.md: + last_write_checksum: sha1:80a6d66b7e5c347b874bca85ea557ea0363662c8 docs/models/components/Attendee2.md: - last_write_checksum: sha1:4f07b8d6a5b9a87a7f1368db031cf83e8da10263 + last_write_checksum: sha1:b6866c081aa80fa14ee0404cdf6b38fcabfb6652 docs/models/components/Attendee3.md: last_write_checksum: sha1:ebe5e359d5a431125cff198c0423c8b6a0fc78c5 docs/models/components/AttendeeActivitiesPaginatedResponse.md: @@ -548,7 +538,7 @@ trackedFiles: pristine_git_object: 5e3fa8e3af2820fda4ea9131f05d912f8c7df43f docs/models/components/AttendeeAddBulkItemEventJsonErrorResponse.md: id: d64e4e6d9d88 - last_write_checksum: sha1:807f6e8ebe83c5df999bb10af2bd182b1d59dc50 + last_write_checksum: sha1:fef0d49c91dc47f69fe07f35f37a827cf842244f pristine_git_object: 5da83df055b2c0a6ef269a245f01a44e019f1fa0 docs/models/components/AttendeeAddBulkItemJson.md: last_write_checksum: sha1:a33fd1ebc3ec1ec00d5b8fa3953a7d26e2eb8526 @@ -593,19 +583,13 @@ trackedFiles: docs/models/components/AttendeeAudienceSegmentAssociationsPaginatedResponse.md: last_write_checksum: sha1:27c604d76a8e4cb41b675bbb4cecb6fcd08fa5c7 docs/models/components/AttendeeContactInfo.md: - last_write_checksum: sha1:1f0f7eb3c26ba3526d4c6118d5214663584e4fab + last_write_checksum: sha1:9664d69135d1eebc164edeeab68a1386862f42a8 docs/models/components/AttendeeContactMembership.md: last_write_checksum: sha1:64d162abbb51639fdb7733e9d599650d8f914e01 docs/models/components/AttendeeContactType.md: last_write_checksum: sha1:76e45d7f370cfe972a459a1df077cb5cd04b0b37 - docs/models/components/AttendeeContactTypeJson.md: - id: 4728152e0704 - last_write_checksum: sha1:25f63c23635e2138eeb14904586bfb7586707d3d - pristine_git_object: 53aef756448d19544c9230c9d49d9acf9cbe3551 - docs/models/components/AttendeeContactTypeJsonInput.md: - id: af2c343e7b27 - last_write_checksum: sha1:cb193bde66b4f9bc09d5cd27563b7b120bc32d71 - pristine_git_object: ca618606e392420c0ab4d1777d17200e97c0a2db + docs/models/components/AttendeeContactTypeInput.md: + last_write_checksum: sha1:b2abb6c2aa3254a9366893700938623c42bb714e docs/models/components/AttendeeCreditJson.md: id: c38de0fd997d last_write_checksum: sha1:443767262a745afd0399efb0f38fb1384d37aa3f @@ -630,15 +614,11 @@ trackedFiles: id: bf3076abb498 last_write_checksum: sha1:07c31652d3c227d45a95db654a3fdacaa9bd3470 pristine_git_object: f791d2552d6a031fff95b542c994e0473c9b7d19 - docs/models/components/AttendeeEvent.md: - id: 60370b5a7253 - last_write_checksum: sha1:374673aec0eb34fe3af69476b66aace27f48b348 - pristine_git_object: ae19e683e99f386534b8ebb3bbedc9b24d41014c docs/models/components/AttendeeGroup.md: last_write_checksum: sha1:e2d8becdfe94eefae61b71efe2a8457b0bd0d05b docs/models/components/AttendeeInsights.md: id: 18b1352d9d5b - last_write_checksum: sha1:56fd7e99c284df28700cf70757e7daf2748ee49e + last_write_checksum: sha1:0398269411bf738549ea97e75c26caf86172e912 pristine_git_object: 8b25540cdf3541df896dd6795a5d97134d288670 docs/models/components/AttendeeInsightsPaginatedResponse.md: id: 56aaa76c4df1 @@ -682,13 +662,9 @@ trackedFiles: id: 367560b3067a last_write_checksum: sha1:a10f9fc4cc271c273cfebce363c01e37663a9faa pristine_git_object: e8a6b897e973deeffc8472a93234598e8c0000c8 - docs/models/components/AttendeeLookup.md: - id: ee4bb0c6ee5b - last_write_checksum: sha1:fcdd94db3a5f3f4d1e819c1633368d9b94e382d0 - pristine_git_object: 0b10f8af609af36f0c79a40db220e986e66b95e2 docs/models/components/AttendeePaginatedResponse.md: id: 51a784531f73 - last_write_checksum: sha1:1ea562e0f2edc15706165910d30da9e35f4059f9 + last_write_checksum: sha1:0bd55ba2373d8054ce1e92526503ecfa6f3537f2 pristine_git_object: 41d46c8ff066843bef720de4a6724a9d4ee82995 docs/models/components/AttendeeResponseJson.md: id: 3df4b86fc255 @@ -776,6 +752,8 @@ trackedFiles: id: 28dbd164530a last_write_checksum: sha1:090730101577558737e619e90d603cc7120c9625 pristine_git_object: 82c80bc49c366426449e4e7fccaae0563ce954f3 + docs/models/components/AttendeesPaginatedResponse.md: + last_write_checksum: sha1:f04d5587e567cb6d81e584b0c46827500644c22d docs/models/components/AttributeDataTypeJson.md: id: 6145e0845ec8 last_write_checksum: sha1:3a5033b067d018800f648f707263dfdaec36b44b @@ -802,11 +780,11 @@ trackedFiles: pristine_git_object: 2d5c00a2cc66d4173b4a27fb4df2fda52187c6d1 docs/models/components/AudienceSegment.md: id: 44916c93a8b4 - last_write_checksum: sha1:0059e567144344fd450ef73fe305430e13aec863 + last_write_checksum: sha1:57c7134715eb2b8238b14758bc7416942e3552d2 pristine_git_object: 280b331832d04e949beed1847f157fbe1b5bd78f docs/models/components/AudienceSegmentCreate.md: id: fed446b4b747 - last_write_checksum: sha1:d361d7c638bef33304006b21616469858910c7cb + last_write_checksum: sha1:edd95e5e5a5d38cbbcd1c8dd9390bd527bbcc80c pristine_git_object: c68cbda24af12d85b3cc58377db5a0159f5badff docs/models/components/AudienceSegmentCreationTypeJson.md: id: f664614ae9b5 @@ -814,24 +792,18 @@ trackedFiles: pristine_git_object: 71844c86b7d8d377dda61e7241d2572831a9b5f2 docs/models/components/AudienceSegmentResponse.md: id: 620b289d9546 - last_write_checksum: sha1:8545193ed5a779d7dc04c35c92eb9665d383ac48 + last_write_checksum: sha1:a597395b0d3ac7256f4e5c3c1b7c50779bf8d1ff pristine_git_object: 1c39710faf29fe4badb87a1232eba7f3b709d685 docs/models/components/AudienceSegmentsPaginatedResponse.md: id: df4b360f63bc last_write_checksum: sha1:32c3ba58988978faeafe3792a156bd839cae1e9f pristine_git_object: 1a067948bc62a384bfd05e301506848224076a3c - docs/models/components/AudioTrackStatusJson.md: - id: e083625d2a39 - last_write_checksum: sha1:ebfc33a54e429de5da139d16f80349932f930c49 - pristine_git_object: b5bd27265fc0f27cfc2fdf8691b48b9d8810bd9f - docs/models/components/AudioTrackTypeJson.md: - id: 44469c6d005b - last_write_checksum: sha1:ff0e04aa643f6b16754526ba6810bc96aab1522f - pristine_git_object: 287cb0b29b7fc396cbfa85754b4c1730bbb1a63f - docs/models/components/AudioTrackVariantJson.md: - id: 10ee4fd6c70a - last_write_checksum: sha1:31168e8b5f5f26165eb86bdfd893c72a5e1dc634 - pristine_git_object: b2c4fa7ed1f81e03841c23abcc4f85a161270e8b + docs/models/components/AudioTrackStatus.md: + last_write_checksum: sha1:c5c836ec66631bcc5f8cbf835923096e1716aaac + docs/models/components/AudioTrackType.md: + last_write_checksum: sha1:890709dfa0ce330a0fda74ea6bc69734f4b55102 + docs/models/components/AudioTrackVariant.md: + last_write_checksum: sha1:6b9d15290e8330d4f6e9caa192f38e51cefa5441 docs/models/components/AudioTracksResponse.md: id: 437c3b617f08 last_write_checksum: sha1:30ef311ef5ce5c28bf045e7659fcccf977f6d1c5 @@ -866,11 +838,11 @@ trackedFiles: pristine_git_object: 310d69f01fea84e9d56f55c144a79065952c188d docs/models/components/Badge.md: id: 7b6f54e578a6 - last_write_checksum: sha1:572ba950ac18588ac9829a855ddce62acc4e25a4 + last_write_checksum: sha1:08587576be10c6f7737c802f6d1e0ab2f51e5898 pristine_git_object: 3a01b3f979782925482fb5a39fca33e876092dd4 docs/models/components/BadgeInput.md: id: 8c0929e7fb73 - last_write_checksum: sha1:3b243f0e6bbab05be9fb082960844f481e2f7e29 + last_write_checksum: sha1:d70b4ff450bf92f75c06e0cd6d1ee96aff562949 pristine_git_object: ccecc17cf982724970f65571f4c9e60e8c56d584 docs/models/components/BadgePaginatedResponse.md: id: 1c33b0cf226d @@ -948,22 +920,16 @@ trackedFiles: id: cff9ee287f29 last_write_checksum: sha1:d62159572bc3ba32deb670b2911e85b26b3f8c73 pristine_git_object: 4cf1fa67856c75f3b5b542134d328e474deb82e5 - docs/models/components/BidItemStatusTypeJson.md: - id: b514e4f41164 - last_write_checksum: sha1:2b3f8faf4ce9b705a227c6d858ebb3e095711619 - pristine_git_object: 14436c16a62edc7f5e0b97f530116ca7642d019a - docs/models/components/BidStatusTypeJson.md: - id: 6644cf0e9397 - last_write_checksum: sha1:2734ffc0dc0ef38ec9471a6549103153ef0dfb2a - pristine_git_object: 9756f31c5c05b92431aa6ef451694a2775fbd73a - docs/models/components/BidStayTypeJson.md: - id: 5048d5080d55 - last_write_checksum: sha1:ee990ef27d4484b148e7db57aa4d9719507822b5 - pristine_git_object: 2c598f8931e08f8094dae21434452ce03371ee92 + docs/models/components/BidItemStatusType.md: + last_write_checksum: sha1:e215fd11d2b9f24cffef1fa12efde22277f9a177 + docs/models/components/BidStatusType.md: + last_write_checksum: sha1:d6cd83bf081b726be911fe0138274f34cd66c3fd + docs/models/components/BidStayType.md: + last_write_checksum: sha1:d9b5daae72c8a5261f3d3efa79abb8ecd5b81f83 docs/models/components/BillingAddress.md: last_write_checksum: sha1:a7ba19129d3e7aa13b8d46519745586693826d65 - docs/models/components/BillingDetailsJson0.md: - last_write_checksum: sha1:516bd5726a6ae72653ae3cb302a7db4963610b92 + docs/models/components/BillingDetails1.md: + last_write_checksum: sha1:b7b042cbb0431d8c9e0aa2016a7e5039580655cb docs/models/components/BookingContact.md: id: 5f08a2fcc1f8 last_write_checksum: sha1:9d7b3e18ec6d1fb2edb9b3a66c28aea6df9b9f64 @@ -980,30 +946,30 @@ trackedFiles: pristine_git_object: 7ee8df164814f5d40ce0c35b87febf39459959d2 docs/models/components/BoothStaffRequest.md: id: 7b4eabe3d126 - last_write_checksum: sha1:3d15fc63b91f134f5a10685279679b9010e2f219 + last_write_checksum: sha1:9eb3779a2ab7fedc39b1ae18167d8cd9f1949a55 pristine_git_object: ebd4609baf85d157940042d385d30ba9a1439696 docs/models/components/BoothStaffResponse.md: id: 13bd93c80a55 - last_write_checksum: sha1:175c2dbd48c774cb2d61a14056e38361d5961f19 + last_write_checksum: sha1:564be151337d5aea2545f69b89880c483c142882 pristine_git_object: ddd92462283c8accfa8aa7546d5bcd2ad3ffd840 docs/models/components/BounceDetailsJson.md: id: dc3803508bfc - last_write_checksum: sha1:64d5284155366a07f0065ad75b15a2a3135b8067 + last_write_checksum: sha1:825a277cf241ced85fa923608e5a385df5e311a1 pristine_git_object: 708a708073cbbeefc9ebe6a7764e5b75eeb29281 docs/models/components/BounceDetailsResponse.md: id: 6547fcce7b2d - last_write_checksum: sha1:5125d8866ea11de201db9d9e8503716d2a29d7f6 + last_write_checksum: sha1:2e5987682bff2cddab5f6af7b7282c276fc39659 pristine_git_object: c84359ab683166df5e9b695749da15bec0cfcf1e docs/models/components/Brand.md: id: f664169dc5c0 - last_write_checksum: sha1:56e276e5cb47eff19a0a062fc6bd8cd9ea7c12ef + last_write_checksum: sha1:b0ce1bfae610dfa441cb1b50cc0b1183a166dd1a pristine_git_object: 4e994c806599126cc0ad3d8e2b66ce1597705726 docs/models/components/BrandPaginatedResponse.md: id: 58789b2f2ec0 last_write_checksum: sha1:a1d6d589475b1c596cc7777131632585a1c2eb34 pristine_git_object: b4021ee0490ea79cb2c44488e0eb04edae4498e5 - docs/models/components/BrideGroomTypeJson0.md: - last_write_checksum: sha1:a59b24d2e2e82920b8d257245f116ed57d70a7bb + docs/models/components/BrideGroomType.md: + last_write_checksum: sha1:73ef907d38c557a674c42e73d29f87015f7bfc38 docs/models/components/BudgetAllocatebyJson.md: id: 8e48e55ddd8c last_write_checksum: sha1:ff5d013476585ca7e9b5fa00f5f2005bd7da024a @@ -1224,10 +1190,8 @@ trackedFiles: id: e7c5fca1827d last_write_checksum: sha1:deb8a892eae0627a53d7e0895a1bacc1d8f08f84 pristine_git_object: d4e3029bcc7cc56ebdc73bb94f07977305cbe952 - docs/models/components/BusinessTypeJson.md: - id: 25ebe70d4931 - last_write_checksum: sha1:4cb9c7a0d4470ccab9e451a8100edc54798dd28a - pristine_git_object: 928d42c2fa8a9b74b2cbfdf11fe72fbc64a9156d + docs/models/components/BusinessType.md: + last_write_checksum: sha1:15b97a6f97df8f7e1e0d257118201c0370d6773b docs/models/components/CalculateBy.md: last_write_checksum: sha1:744dd5a2429d0f5f7e3d8300e5d458c884f69dcb docs/models/components/Calendar.md: @@ -1246,14 +1210,14 @@ trackedFiles: id: e57c12c5eb18 last_write_checksum: sha1:8026439e225312f19ee908f8967437982921ae44 pristine_git_object: 88852ed7997a9c7e3c5e134707edc50007718dec - docs/models/components/CancellationDetailsJson.md: - last_write_checksum: sha1:93217c02dc24b48df53cb61c23f02cfa2d7f5737 + docs/models/components/CancellationDetails.md: + last_write_checksum: sha1:5f5f0f44181628dbb66f40c64f39c9c82db8c726 docs/models/components/CancelledReason.md: id: 6118c9005017 last_write_checksum: sha1:170cb8bd11f974cc01c5230ac0a0f7548fca2d0e pristine_git_object: eb196b06066a3c192cb2194600772eadfdb18be8 - docs/models/components/CancelledReasonJson0.md: - last_write_checksum: sha1:84a20789026975fe319aded19e47c43ebb6b02fd + docs/models/components/CancelledReason1.md: + last_write_checksum: sha1:d2ba1881f1bca7084721de56f6787d533de2b233 docs/models/components/Capacity.md: last_write_checksum: sha1:470565466ee5b434215e969d9f9c7d21db3a6c1e docs/models/components/CapacityJson.md: @@ -1316,29 +1280,23 @@ trackedFiles: pristine_git_object: 19a9bc57ef05c71a89847dc49176a0889b4093b1 docs/models/components/CardTypeJson.md: last_write_checksum: sha1:b91b06460a2aa1fc029321f5a666695efca08f01 + docs/models/components/Category.md: + last_write_checksum: sha1:a4bb06471cce5570ae201844dd3a98deec7b9f7e docs/models/components/CategoryId.md: last_write_checksum: sha1:c60b2226eef1d72e0b4b3664d19a46cbd865d111 - docs/models/components/CategoryIdNameJson.md: - id: 5fefb3ca3e7d - last_write_checksum: sha1:bbcd9494bb78a57b95c306077d1be1762842118e - pristine_git_object: 9d75d70e6c1168f544fcf8c173c04b4739f85bcb docs/models/components/CategoryItemsCostJson.md: id: 70ffe4ff83c2 - last_write_checksum: sha1:fe793c7ef22952d79c2916c4b5e488f912db01d5 + last_write_checksum: sha1:14f519eb0310f92a5af36ab42937d2845ebd1683 pristine_git_object: 3e86e0380a004d3ce2c285a21fa4e97ab2cde2f5 docs/models/components/CategoryJson.md: - last_write_checksum: sha1:13405a810b62308fc8db94d71bea30f37caa74b7 + last_write_checksum: sha1:b21645a620e0f69d03b42034489da38b2429c87d docs/models/components/CategoryJson1.md: id: e0fdc92f091b - last_write_checksum: sha1:4e1cc4cc475272243ddc653bdb5a7e3aaafbb1db + last_write_checksum: sha1:12140f2331f294269778349fe3ed6a059e947a53 pristine_git_object: 11276785799e075fa7379e633a0c44430b7351c8 - docs/models/components/CategoryJson2.md: - id: 85fd2886b84b - last_write_checksum: sha1:84c8a205daff4bc6a42cd6cf08dee4ed61ab44eb - pristine_git_object: cf7724b08076946431eb89d5e568c7deecdd19ce docs/models/components/Chain.md: id: 9367b86aedb6 - last_write_checksum: sha1:6afcdd15703f2128a930d2058093e1c18f479b9f + last_write_checksum: sha1:c5a1bab5bc19b90e36422134f08f08fe7f4f5fcb pristine_git_object: 8ecbac0229ab6ca03b40dde65909454b423678e1 docs/models/components/ChainBrand.md: id: 3e5bc3b260b4 @@ -1386,22 +1344,20 @@ trackedFiles: pristine_git_object: 80f1eeddd4f3560cfc8454b2ae709eeb553c6357 docs/models/components/Choice.md: id: c760787de971 - last_write_checksum: sha1:62bf2db1a2d7878ad2a010a4d6ac7ba2dd5a7f0d + last_write_checksum: sha1:182ae1733e3e39d735ac19414eef046601d56212 pristine_git_object: 0072eeed27fe6c853f841837414c657328eb74dc - docs/models/components/ChoiceJson.md: - last_write_checksum: sha1:7e881452f1965f31f6f72d43852712edb83e7f57 + docs/models/components/Choice1.md: + last_write_checksum: sha1:b9a503e97a08b4d09a5cb077f758c88d515b5af5 + docs/models/components/ChoiceJson1.md: + last_write_checksum: sha1:364300c766ae66707f71d6bad71d284a0e380ea8 docs/models/components/ChoiceJson2.md: id: af3540818879 - last_write_checksum: sha1:e6f75337fc0e00562409fba1cfd612ffb63c4208 + last_write_checksum: sha1:d53e578e6ccd653ffba0c9f6e1f8396d1f8e4f14 pristine_git_object: a3f24a02f8f77a261f5da5bc0af4307f6f164c92 - docs/models/components/ChoiceJson3.md: - id: 8815d1fabc07 - last_write_checksum: sha1:237351306c0afa52f10b52a72bd8a40d5ff50a36 - pristine_git_object: 2df28a8828e6c99771b7ca602f6ebde2de572a40 - docs/models/components/ChoiceJson3Input.md: - last_write_checksum: sha1:976b5d548c7323b851f333fc34c5aaab0b329caa - docs/models/components/ChoiceSortOrderJson.md: - last_write_checksum: sha1:bc135cf502e1fd923c04f3db985958a733688930 + docs/models/components/ChoiceJson2Input.md: + last_write_checksum: sha1:1af411a04b28151d6cc071de46181411ccc223e6 + docs/models/components/ChoiceSortOrder.md: + last_write_checksum: sha1:434bfa14c792a6ac352d427d0076118e7f7777c9 docs/models/components/ChoiceTranslationJson.md: id: b9d0f242e02d last_write_checksum: sha1:e166a37b8cde70a9399c04d75450c6bcea95809b @@ -1410,16 +1366,14 @@ trackedFiles: last_write_checksum: sha1:bde9639f027fac38c7ca32650042f993d7d5b79c docs/models/components/Choices.md: id: a66972cc6f50 - last_write_checksum: sha1:c442adf9c22e0511c22c351229a62db1648468f4 + last_write_checksum: sha1:e6c11cb78c3336b228a4cd0aad78622df1094ad0 pristine_git_object: d8215f495b75103397903c5358b68c52ea534ca9 docs/models/components/ChoicesDisplayTypeJson.md: id: b82041ae7cc0 last_write_checksum: sha1:69c593cf006b6a051026b92d70f5df455013fc10 pristine_git_object: 6556f115f000787de85797f85a0cd3eb5d578649 - docs/models/components/CommentTypeJson.md: - id: 3c24f8c4e183 - last_write_checksum: sha1:ba5a50b498c7f650515390949617ba6353ca3628 - pristine_git_object: 45cd9631f6c963793b26fda4ca076b046cbcd846 + docs/models/components/CommentType.md: + last_write_checksum: sha1:93f7cce8266e882a5b5d6af34dc09f1b9ad3523f docs/models/components/CommunicationConfiguration.md: id: c756924ff018 last_write_checksum: sha1:3ccab9b2f248d0aa7c61af865795f28000b7591b @@ -1437,30 +1391,16 @@ trackedFiles: last_write_checksum: sha1:6f55256cc5cfb3506be0d01db4c00991c4139499 pristine_git_object: e4ebfd0134e35f2413278a6a602a33a32dca3adf docs/models/components/Compliance.md: - last_write_checksum: sha1:dd0d8fa23676dac6fec48fa72116950ad470411c - docs/models/components/ComplianceAction.md: - last_write_checksum: sha1:c1b5eb3f76df7dea1fe7f7a795424a44aa6240d8 - docs/models/components/ComplianceComplianceScope.md: - last_write_checksum: sha1:6551106bda53f4832ce943a34e9377026b8c58eb - docs/models/components/ComplianceCreatedBy.md: - last_write_checksum: sha1:7b9ca02e39e07314afe2bfb69cc5566632c2612f - docs/models/components/ComplianceJson.md: - id: 9eed37954f07 - last_write_checksum: sha1:aa512a3d3fdd0580bc373a9c92ea313e2cdb7917 - pristine_git_object: 83a49f67cc10d5bd6ddea86ab8d4b130f3d7503b - docs/models/components/ComplianceJsonAction.md: - last_write_checksum: sha1:10c4762b9fdffdadcf3a5aae587a08b7980ac9c4 - docs/models/components/ComplianceJsonComplianceScope.md: - last_write_checksum: sha1:24e2e672be0610923b8a75c6f745d352e02ca7d0 - docs/models/components/ComplianceJsonCreatedBy.md: - last_write_checksum: sha1:a42208680b945371d0a33187d711d6d5d736775a + last_write_checksum: sha1:46f7ff24ddbc134149dc95426a027708fdcc439b + docs/models/components/ComplianceScope.md: + last_write_checksum: sha1:7b82eb791d71d6b0722768b149cddb11d22e0eb0 docs/models/components/CompositeValueJson.md: id: f2612df478f8 last_write_checksum: sha1:c69c9efa6c6fb8a7e8877098aa709bdbe7efb05d pristine_git_object: dea15b16bc85810a7463493613e51b405bf97f35 docs/models/components/ConflictResolution.md: id: 8cd27ea927d9 - last_write_checksum: sha1:15f2c267b0511fa385ed46e29ba0104d81442a79 + last_write_checksum: sha1:e4c5debae576354acf044b9eb62326f59abcfb87 pristine_git_object: 84cf23163658870aa71d3c425590c692db37e123 docs/models/components/ConnectionResponse.md: id: 3c845b54cfe0 @@ -1472,28 +1412,24 @@ trackedFiles: pristine_git_object: 1617056f5799c99e8b7acbf8897d942fe6661664 docs/models/components/Contact.md: id: 1868c7d810a7 - last_write_checksum: sha1:2780c543b4906aba53d2c65783be8d90e2f8317c + last_write_checksum: sha1:8c241b7ab73e3bcab9bfe1c0a1bcf55cf886e79f pristine_git_object: ef76dee899020c29b26954851fb8d2798b879490 - docs/models/components/ContactBulkItemJson.md: - id: 5d5ef93de05b - last_write_checksum: sha1:9dca0c0f3342ed9d77a64ba2f7a3027bd6610c01 - pristine_git_object: 8d392c12137963a8f651a44dfaa9a0f1f5f06de1 - docs/models/components/ContactBulkItemJsonData.md: - id: 5d1ce767e30a - last_write_checksum: sha1:052add353d0a544c0cbeff72d90bbe58f1f4a6b7 - pristine_git_object: 484bd7b203e8759891702325925e364943d565d4 + docs/models/components/Contact1.md: + last_write_checksum: sha1:d7d553900d3b017c5a43fcccfdfa3e9e2b115e35 + docs/models/components/Contact2.md: + last_write_checksum: sha1:2cd086ba8743d7ad3ec6d3ba5530a8d837264948 + docs/models/components/ContactBulkResponseItem.md: + last_write_checksum: sha1:8bc18d7997cb527ee35d9da5eeddafbab51f7fc1 + docs/models/components/ContactBulkResponseItemData.md: + last_write_checksum: sha1:68f63037d272d7de29eabf4457047e8c80bf1837 docs/models/components/ContactCommonJson.md: id: ab84522fab3c last_write_checksum: sha1:8ad72f1dda36a63df459aa618b367596ad80991d pristine_git_object: e6749786635a50c1a6324f0a1c6651e201fd8959 - docs/models/components/ContactCreateRequestJson.md: - id: e71360ed8463 - last_write_checksum: sha1:cc56af6959e6c98250f0c7ebcf7ff766fc6ce72e - pristine_git_object: a5cff29cc956bc7a7a81904612176d95b0fda4f6 - docs/models/components/ContactCreateRequestJsonEvent.md: - id: 0d233979fab2 - last_write_checksum: sha1:4432ec62bc79928ab777859b9f639c95c255acf4 - pristine_git_object: 93a536027ca867840bf5fa99bf2b60f4fb1afbab + docs/models/components/ContactCreate.md: + last_write_checksum: sha1:e281b628e4931229c4156df5e7c0654a7c63f69b + docs/models/components/ContactCreateEvent.md: + last_write_checksum: sha1:e80f3f5356df6805f617af18fb46fad1ce15f4fb docs/models/components/ContactEvent.md: id: d546cb037c93 last_write_checksum: sha1:5c18c58d02b8841b88aec748f330c99f9ec5c95c @@ -1528,91 +1464,69 @@ trackedFiles: pristine_git_object: f9dda20580dd57c96070b0ad44dbd06ca13f2f79 docs/models/components/ContactGroup.md: id: 71bd7006733e - last_write_checksum: sha1:257412e24d305aa6b4d905c9ad844cbd3db78a8e + last_write_checksum: sha1:f97b053be38ab21a30c0d28d03a711b0486629d0 pristine_git_object: b710a876202958f23d35bbcf7f4807b8601cee7e docs/models/components/ContactGroupInput.md: id: e6f49b7b2320 - last_write_checksum: sha1:7e5b94e6e5dcada2c8632189f7dd066b5585335f + last_write_checksum: sha1:de1ee738545eb6024b143eac3558ef7161620a49 pristine_git_object: b5022b70f906dca7d1418c109af612b493434c9e docs/models/components/ContactGroupPaginatedResponse.md: id: 9046277bb8d9 - last_write_checksum: sha1:e96e05e4c987cb41ba3d39d7825edd2c8fa9ca0c + last_write_checksum: sha1:7987ea1c46f5b014d6703c16af483c67b8e588d0 pristine_git_object: dd2541208de4089e9f863e28c00acba3ee8d703c - docs/models/components/ContactGroupTypeJson.md: - id: f7466a4bb99b - last_write_checksum: sha1:1ee1028e2d3f606cc4d1669d69bfba97b21b9890 - pristine_git_object: c5e1033b7c50d5ac6c27b2f4bb6053048d6506c0 - docs/models/components/ContactHistoryJson.md: - id: e89da54703af - last_write_checksum: sha1:c83e39236ee0ad96563c75f3529e9457b9671b3e - pristine_git_object: 5439a2b33cb6ddabdf1f4066b6b6cf5be494d60c + docs/models/components/ContactGroupType.md: + last_write_checksum: sha1:cd25fab77def7508ffb674e15ada52daad0fc858 + docs/models/components/ContactHistory.md: + last_write_checksum: sha1:11b044388940f794e07d5f76f1ef4dc3547988a5 docs/models/components/ContactHistoryPaginatedResponse.md: id: cadde63ffa48 - last_write_checksum: sha1:3a756ae2984a8b070dd229de9a1292a701068ae2 + last_write_checksum: sha1:400def23208d3fe5ca6a1908b6d9610cb80b930c pristine_git_object: a95acde487f0c620ef4a2d2996a0846078e362a7 - docs/models/components/ContactIdJson.md: - id: e81bcfd1361c - last_write_checksum: sha1:51587584f380f5d4cfabf8fab77b15f9583d4f9e - pristine_git_object: 3a5d064e2cf1c328c13f2a913bc25c2ade10321c + docs/models/components/ContactId.md: + last_write_checksum: sha1:7ffc04b57898c4712ae07e9423ad6190804aa26c docs/models/components/ContactIdPaginatedResponse.md: id: f4aac56920d5 - last_write_checksum: sha1:607b287ceea6afcb78d069b9e28ca588870fdf1d + last_write_checksum: sha1:bbcca50cac00187ac654261313b53fc69c2d35a5 pristine_git_object: 77e11492994b6b87d55bab217a4d263541e1b5a0 docs/models/components/ContactInformationJson.md: last_write_checksum: sha1:ef9ef8008240cd05ed9fdc2ad66ce16bb254cacf - docs/models/components/ContactJson0.md: - last_write_checksum: sha1:c43de2333358a3cf1bc16352fe8f9e3c679487f3 - docs/models/components/ContactJson1.md: - id: 5094cce86414 - last_write_checksum: sha1:ee8c84453ca210abbfd46aa5e828714f77589b5d - pristine_git_object: 1642b1b21d6d97823afb60ea3078e7d4bc0a1428 - docs/models/components/ContactJson2.md: - id: ae33f140d5cb - last_write_checksum: sha1:c6815b043b8091261a3be966ba6a04c012f0d58a - pristine_git_object: 40dd41e514dc202a4bff160799a5568853741c82 + docs/models/components/ContactJson.md: + last_write_checksum: sha1:1859e5c1704204aa81ab5a246e320b82dfdc93bf docs/models/components/ContactLinks.md: last_write_checksum: sha1:64b3857e65ffead154b2ce38259c60885a995c1a docs/models/components/ContactLinks1.md: last_write_checksum: sha1:b6d474e825e367cb1e8d96272b7fe528230b2f7d - docs/models/components/ContactLinksJson.md: - id: f62676e6abbe - last_write_checksum: sha1:8594f1c4974f3629777620a8cb05dd7ec37c07ba - pristine_git_object: 359c488866bee277f1370800b8485b2556c75931 - docs/models/components/ContactLinksJsonInput.md: - id: 0a637d553a2a - last_write_checksum: sha1:9b7cc160d32d2c72bac626f7e0d1790356cfd869 - pristine_git_object: 756743e347dc9977fc0852d231fc55f43e93c3e3 - docs/models/components/ContactLinksJsonLink.md: - id: 5e728e33a49d - last_write_checksum: sha1:461a428a060b122656590f0d04561e61d12d1c38 - pristine_git_object: 8b8349f115f15e38170c1c020e589228a1337cc4 + docs/models/components/ContactLinksInput.md: + last_write_checksum: sha1:fd192f5c2238aba5d0ac9674001ea90db06f27ac docs/models/components/ContactLinksLink.md: last_write_checksum: sha1:a5f38b97d1271fa9d24a5feebc684d7b8ae87cc6 + docs/models/components/ContactMembership.md: + last_write_checksum: sha1:96ab4892f80128f2ea2ddccda2f35de2abcd9290 docs/models/components/ContactMerge.md: id: 92cdab919428 last_write_checksum: sha1:d79af49ace4120cfbb89d1d82849f58e737e094a pristine_git_object: dffa19b238f6c6bee941d564ee5055008fcda0ab - docs/models/components/ContactMergeFieldJson.md: - id: 6d114d263cad - last_write_checksum: sha1:25d4a8cfe16a45c2958533bd3afe9e4f03d8a605 - pristine_git_object: b9f003267c425325d5b279d2bef24d5c8487e2e7 - docs/models/components/ContactMethodsJson.md: - last_write_checksum: sha1:3ef313204331bd9128d2aad7efdee24becbe62d0 + docs/models/components/ContactMergeField.md: + last_write_checksum: sha1:039e68d58dfec502cab3b623e59c4a2b8d7664d5 + docs/models/components/ContactMethods.md: + last_write_checksum: sha1:3d6bdcfc51d0ed224880cecd55fa1b2ccd33fb12 docs/models/components/ContactObfuscationStatus.md: id: 28afd2d20940 - last_write_checksum: sha1:a51bb0cf0f2292608a83aadabf4c991b55ac687a + last_write_checksum: sha1:8bcec1800139ca08d83c08be813f3b2bdbb4dfdd pristine_git_object: 51d2c271f9e6007d86e4b177ef684236d7752adf - docs/models/components/ContactObfuscationStatusTypeJson.md: - id: 783f857569ab - last_write_checksum: sha1:ba5cccfdb4ab6bd64cb9543ffbd41ad2e9bbca44 - pristine_git_object: 5c8bf585a99a168f1c5305d1d7959cb6699f6563 + docs/models/components/ContactObfuscationStatusType.md: + last_write_checksum: sha1:f4b1b567838216525a45f05d40e1ece1b3b1e9a5 + docs/models/components/ContactOptOut.md: + last_write_checksum: sha1:cde3f175aa4e143eaea1150aa95e4df0bd5e83cc + docs/models/components/ContactOptOutInput.md: + last_write_checksum: sha1:15e3416d61137a9a7b19cd6f6e34b01059e64a46 docs/models/components/ContactPaginatedResponse.md: id: bee286733780 - last_write_checksum: sha1:0aafd96f8e169ce93ac12a432394c53b34836d17 + last_write_checksum: sha1:fdda788b12b6fb83f5efece313cc76ae5d0f54f3 pristine_git_object: d1feb779566ea3870b8f4566fb02b34beee0f5a7 docs/models/components/ContactPatch.md: id: d7f4efb4103c - last_write_checksum: sha1:f88f8ec13c21197a7649b0e5406502de5070eb45 + last_write_checksum: sha1:269b8069ff9bfca9cf947269cdfc2d95226f1c80 pristine_git_object: 705c9be7e748e49638ad3cbe6c14255228e2437d docs/models/components/ContactPatchLinks.md: id: 37d3dfaf7714 @@ -1622,21 +1536,19 @@ trackedFiles: id: 4a46e56948a2 last_write_checksum: sha1:a2f4c0fec047ec521fefece90e40ce2d64bf856a pristine_git_object: 8f2547373bd9ca32c8008dfb4913a5d1dea2d836 + docs/models/components/ContactType.md: + last_write_checksum: sha1:52b7bd7704e3a1d2940d843a3214598397776af9 docs/models/components/ContactTypeJson.md: id: 46a925e21a31 - last_write_checksum: sha1:1ad24f1e1d65a8f5afa237667e100e78d19eeb9c + last_write_checksum: sha1:95cb30401aad11fd02d2a7ff633f5216b7764668 pristine_git_object: 775449bee672cb8c3ffda7db434ba3b5aca9a644 - docs/models/components/ContactTypeJson1.md: - id: 860b96520fb7 - last_write_checksum: sha1:58bb262fab5c7a099059a15613e1d6eccf69026b - pristine_git_object: cecfa58d727f7162268eedfa6d5656b5015df8d6 docs/models/components/ContactTypePaginatedResponse.md: id: d7b116ac04fe - last_write_checksum: sha1:c8093009c3178493ae90515408db70cfd3f4abc4 + last_write_checksum: sha1:2efab0496c2a8b450c9b1785df407244077e5979 pristine_git_object: 8f90bd50da7b82154b678729d48fc4590778e774 docs/models/components/ContactUpdate.md: id: c97321e65d23 - last_write_checksum: sha1:94fb1e5d8ee8a358bb80d177de2336e26dfca654 + last_write_checksum: sha1:4e19ee8daab346ee76f22f78529cb801381e0ab1 pristine_git_object: 35f2ee92a0ff7ee7cf495bd2c5fc4bc50428135b docs/models/components/CountryJson.md: id: 3b69118bdf8a @@ -1647,9 +1559,9 @@ trackedFiles: last_write_checksum: sha1:9356739d87577d2fbc27a1b8713a27d4ed301153 pristine_git_object: f3d4595969907160fdff01e26f71ff65b7e43911 docs/models/components/CreateTransactionResponse.md: - last_write_checksum: sha1:8570a26fc15ad506476401963d8e4e61a7725b14 + last_write_checksum: sha1:5f0b488165c8023c1481235344a8126f3669b18c docs/models/components/CreateTransactionResponseInput.md: - last_write_checksum: sha1:83357f0134e4e3e071b9343214d1d0080409b7ff + last_write_checksum: sha1:fe82991881fe960f21c8f7fff3deff2252b39a84 docs/models/components/CreateUpdateDiscount.md: id: 9f980183ccaf last_write_checksum: sha1:585f12d9f458de75a41a30078c5cb7e1fcb2da54 @@ -1686,6 +1598,8 @@ trackedFiles: id: 9a117b555903 last_write_checksum: sha1:7d498358b0032965d21bf1e8e0fe9aad6e7de412 pristine_git_object: 3a5544d5b8bbf8ed4537bed1cfb8cfd62b0b1a52 + docs/models/components/CreatedBy.md: + last_write_checksum: sha1:e58bd5c388828f25a742e638a13eda7b6bacf45c docs/models/components/CreditCardRequestJson.md: id: 791ee9e849c4 last_write_checksum: sha1:00058f4ace9454756f831f6f0ab915163dff2d2b @@ -1722,10 +1636,8 @@ trackedFiles: id: 165a484e592f last_write_checksum: sha1:4d5cf7cb62ab2db024a12555f820db8fe9d30afb pristine_git_object: 9df93eda1bb8ccbffa201291c36060bfb16fc84b - docs/models/components/CurrencyJson1.md: - id: c67d48749263 - last_write_checksum: sha1:67889118dc0f4f8d07bba8816d235970ca183025 - pristine_git_object: d7bc9606badec6605975b415ca3c65ae4d766448 + docs/models/components/CurrencyJson2.md: + last_write_checksum: sha1:a7de766122aa662dc2fed77941249d124040f404 docs/models/components/CustomAnswerFormat.md: last_write_checksum: sha1:0a53162b925e9cca3c8bf9ab84e03f523b7f1678 docs/models/components/CustomDuration.md: @@ -1741,9 +1653,11 @@ trackedFiles: docs/models/components/CustomField2Input.md: last_write_checksum: sha1:f7ed8e9db31e32b0e6187c65ee0b8cabbc2a7cad docs/models/components/CustomField3.md: - last_write_checksum: sha1:6fa1f4d5f1a52e23cacdcadb45b42cc6236bd1ff + last_write_checksum: sha1:2f18779251ee2b9f45e3ca5cdfcd536a350baeb7 docs/models/components/CustomField3Details.md: last_write_checksum: sha1:f8f00a5f0823fb3b102265b7fbae7e78c953a0c9 + docs/models/components/CustomFieldAnswers.md: + last_write_checksum: sha1:b9a11b0db16f9c94775cb66218861b5a57454f6b docs/models/components/CustomFieldCategoryJson.md: id: 71b6912e300b last_write_checksum: sha1:409d828c663514170299832ba58996ebe05d639b @@ -1758,26 +1672,24 @@ trackedFiles: id: f6519029d798 last_write_checksum: sha1:84a9619e0d2b5fae2b642221ce1ed90436639497 pristine_git_object: f190c50622611b42b89f3bb5511b612d3e6ce7e9 + docs/models/components/CustomFieldJson.md: + last_write_checksum: sha1:1476ff266a182bd94b0cd7fb8a555ce9ffade246 docs/models/components/CustomFieldJson1.md: - last_write_checksum: sha1:ce6ec59110b68f752f7821fb961576238df14235 + last_write_checksum: sha1:b0010e3b2ba88ae6c7a592d125af16abf8c4f75a docs/models/components/CustomFieldJson1CustomFieldType.md: - last_write_checksum: sha1:4c00a571e414536caa86461600236b7641b9d105 + last_write_checksum: sha1:592242c299902e42fc4de68041eb2062c635c464 docs/models/components/CustomFieldJson2.md: - last_write_checksum: sha1:4fc5bb67cf340e153f3d7a7533f3568d86de4423 + last_write_checksum: sha1:596d79af6098c529bb8769bd3ecf2c832b75a262 docs/models/components/CustomFieldJson2CustomFieldType.md: - last_write_checksum: sha1:21cfa6a3054f0d384634e7c238649327e070ed59 - docs/models/components/CustomFieldJson3.md: - last_write_checksum: sha1:9456b8271440a4679149a7d9cc5d1c0088d99a34 - docs/models/components/CustomFieldJson3CustomFieldType.md: - last_write_checksum: sha1:1d4c9bc9f7e0226f1d702910c8da8a7982499c6b + last_write_checksum: sha1:2c08e68bc2738a71838560bcdb9a0c40a5d6a7ff + docs/models/components/CustomFieldJsonCustomFieldType.md: + last_write_checksum: sha1:530a621585ecacd9dae3654cdc2ffacf4a694c03 docs/models/components/CustomFieldSchema.md: last_write_checksum: sha1:9e2833abed1a536220598df8684280e8ecc0884f docs/models/components/CustomFieldSchemaCustomFieldType.md: last_write_checksum: sha1:46e8c60cf1d0171dfd89e089a930d25abb4cdd33 - docs/models/components/CustomFieldTypeJson1.md: - id: 97b8f6589f61 - last_write_checksum: sha1:cc2e5a41f62e351f16769f43d41ccd404cceba70 - pristine_git_object: db3f803845eee8b730871c53acbb0f2b0f466d4b + docs/models/components/CustomFieldTypeJson.md: + last_write_checksum: sha1:7e5cbdae721d95cd36abada9f98d3c1c6b12f04c docs/models/components/CustomFieldsJson.md: id: 76a8388ba2de last_write_checksum: sha1:8c63a159b81cc0f9a23c2287ece7443f063046fc @@ -1786,46 +1698,32 @@ trackedFiles: id: dabd6dc65ca1 last_write_checksum: sha1:4ef0e58882a36413512d035db301b5716d1902b1 pristine_git_object: 8fc6cdfc562873cf8e3cdca38f0dfab48b5707b3 - docs/models/components/CustomQuestionAnswerJson0.md: - id: ac477a8d9cdd - last_write_checksum: sha1:57c698a94435eac3a1d0faf3c905e8e0782c42ad - pristine_git_object: 8e5a4d3543371a05e41b8870ceeecdccb9516838 - docs/models/components/CustomQuestionAnswerJson0Question.md: - id: 7148bfec8418 - last_write_checksum: sha1:c6725d3712134dde82ec208117a04178749f46f8 - pristine_git_object: f72235b3f9287f2df859dbd027b7a38a8a72ca7c - docs/models/components/DateAnswerFormatJson.md: - last_write_checksum: sha1:7b3ab8578b29620dd65713cfd0d215be8cbb03ef - docs/models/components/DatePatternJson0.md: - last_write_checksum: sha1:e9de89b89de716efbe5082d3f15cd85a9af6552b - docs/models/components/DateRequirementsJson0.md: - last_write_checksum: sha1:764cd3918e2f3b40ac0c833b3658d2429995a88b + docs/models/components/DateAnswerFormat.md: + last_write_checksum: sha1:be475c0dad6c70f040e95bee4aec5aa7ca699461 + docs/models/components/DatePattern1.md: + last_write_checksum: sha1:304813b12467c25f239e5aa0c932c214cdeb2f1f + docs/models/components/DateRequirements1.md: + last_write_checksum: sha1:0c2dd6683a111c414b453e9f27ec4c71ceec558a docs/models/components/DateTimeDisplayFormatJson.md: id: 44cc55fc8af7 last_write_checksum: sha1:414d36b39848b98f9063253cc7d412cb030c3a19 pristine_git_object: db5725861363587b00936cfafd816a7e98af95ec - docs/models/components/DateTypeJson1.md: - id: 0ee95b0785fc - last_write_checksum: sha1:38556ccb50fdfa2ee32d7d23c5461f6558ed4e50 - pristine_git_object: c7b02efe1663eb0c7d40034f6ee465b06f545e48 - docs/models/components/DatesJson0.md: - last_write_checksum: sha1:ae99dcf9174b4a4f54a4292965a18e1381320ed2 - docs/models/components/DayOfWeekJson0.md: - last_write_checksum: sha1:2df5e930cc61debc99bd163ccb8f5479252f273a + docs/models/components/DateTypeJson.md: + last_write_checksum: sha1:af113cc3ac0899ec59f7d816eda51dda9b90b2ef + docs/models/components/Dates1.md: + last_write_checksum: sha1:b33e47552fb57c628723b499478cf74325fa52e4 + docs/models/components/DayOfWeek.md: + last_write_checksum: sha1:a9cd1d38d02bb54fce3338b9b1c20a406686c9b1 docs/models/components/DeclinedReason.md: id: d93894716633 last_write_checksum: sha1:a0097ea48de8fae7f83bc0926055fb08d6e85b9c pristine_git_object: 074a4736e47c421b474d167ff7b31606097e36f8 docs/models/components/Device.md: last_write_checksum: sha1:da8a4bcbf9ed766f93cf38a059ec8065d913b857 - docs/models/components/DeviceJson.md: - id: ad18366e3565 - last_write_checksum: sha1:2229f2845141be48f6dda0592e1b5f41b2a0aa86 - pristine_git_object: 2e558eda75a09d1e03b4b233f94fe7ae6052c16b - docs/models/components/DeviceTypeJson.md: - id: 5615b9543e1a - last_write_checksum: sha1:860a5eea8cf4ab6546731463589d74c395118284 - pristine_git_object: 745b92ec1f7507fce390e442e3d23f145b7e7f4b + docs/models/components/Device1.md: + last_write_checksum: sha1:0829a8a933b400535ddccc43fbb875c3b40d8f8e + docs/models/components/DeviceType.md: + last_write_checksum: sha1:1b3e7c056848e13e863fb9d29bfc7ce928fc5763 docs/models/components/DiscountAgendaItemsPaginatedResponse.md: id: 8402735292cc last_write_checksum: sha1:6373daab54fc71306b9c6ae802318948bab9debf @@ -1848,32 +1746,24 @@ trackedFiles: id: 8bd0c7f700e7 last_write_checksum: sha1:75d0f87e83fc99adb7db660db2703fa9e25c8688 pristine_git_object: 137871279c401ca71f23f82f1e07bfce54ac9efd - docs/models/components/DisplayTypeJson.md: - last_write_checksum: sha1:023d2c6b760f9e1e010e590d0f45db7504f341c3 - docs/models/components/DistanceJson1.md: - last_write_checksum: sha1:fc55aed123bc97089370964f03b4e9de6ec44e5f + docs/models/components/DisplayType.md: + last_write_checksum: sha1:1b4181e866c261390ec9ddd7b61131cde65f0467 + docs/models/components/DistanceJson.md: + last_write_checksum: sha1:a11cb07aa317dd86a53afda8ccb9a41427dd9b4a docs/models/components/DistanceUnit.md: id: c52e6af0c299 last_write_checksum: sha1:b64d715db2d675fd02f327035100d718049e3c4f pristine_git_object: b83d336d27632175c3a3746a3ba11b7519ae812f - docs/models/components/DistributionListInfoJson.md: - id: 103424ce4097 - last_write_checksum: sha1:eef8964ff496e7cacc2d872cfd9712350fb3ea0e - pristine_git_object: f879c78f9fc3bf94d9c97041bd35139b94dad391 - docs/models/components/DistributionListInfoJsonInput.md: - id: 7477bb870524 - last_write_checksum: sha1:1727ec289ac63f66d9b428ba5d7d1892f02b2c4b - pristine_git_object: d2a4bbbad40283302d88204f6c43fe2387052ae3 - docs/models/components/DistributionListSecurityTypeJson.md: - id: 635dc5171bac - last_write_checksum: sha1:c7d97fb0e6b32f493c2f155cf75ec5904d0cf7cf - pristine_git_object: 9de06db781c0fd5d9216cb227ee285e87871e6cd - docs/models/components/DistributionListStatusJson.md: - id: eeae9a2cec4c - last_write_checksum: sha1:2c5388b376787086a05ecd0d3c4974178f467e8e - pristine_git_object: bdb907dcccb73947959701fc231fb80bf8762608 - docs/models/components/DocumentTypeJson0.md: - last_write_checksum: sha1:ea9f74883475bb47c2246f8a93d9b5e632727452 + docs/models/components/DistributionListInfo.md: + last_write_checksum: sha1:9887dfa0145c2c8c2fba1be6598e3b2e6fc043cc + docs/models/components/DistributionListInfoInput.md: + last_write_checksum: sha1:15f023c3fbbdfa7aa272f6dd323e69e4a5ad08c3 + docs/models/components/DistributionListSecurityType.md: + last_write_checksum: sha1:f7b1df76deaefe2c7800e318dde9d502789a5bf9 + docs/models/components/DistributionListStatus.md: + last_write_checksum: sha1:ee6cb59b18de347b8a222e100676238c573d0714 + docs/models/components/DocumentType1.md: + last_write_checksum: sha1:ebe613a648b45193f87dfe5ce836eea8e6e5f70b docs/models/components/DonationItem1.md: last_write_checksum: sha1:b41c12754da3bf5efed4906d6f2def9c2ff2d634 docs/models/components/DonationItemsPaginatedResponse.md: @@ -1910,7 +1800,7 @@ trackedFiles: pristine_git_object: cb9c697dfbccc01030a9328f2cce5c5d8b885ecb docs/models/components/EmailHistoryJson.md: id: 8e2af9c8830a - last_write_checksum: sha1:cd5dac005622970ccc3a1a4b77596679c31dfb8d + last_write_checksum: sha1:c100d443f64a2a82411a61b3f1a5edf4ce5671d9 pristine_git_object: d27e32096f0b08d300c74949af381272277230e6 docs/models/components/EmailHistoryJsonAttendee.md: id: 7cf9b3fd43ad @@ -1930,7 +1820,7 @@ trackedFiles: pristine_git_object: fd6ba9b25b469f21cea1a48b8e8eb485aaee6b25 docs/models/components/EmailJson1.md: id: 8c490f9006c9 - last_write_checksum: sha1:532196d3322f1ba7b1cc74ccdd31e9b232289d27 + last_write_checksum: sha1:8668ebae0ac8aeec669df63aab02ce9b47874e91 pristine_git_object: 248e4850df7f1b3e2623c91425b97d9ac282a393 docs/models/components/EmailJson2.md: id: 0a9f0c3ec440 @@ -1968,28 +1858,24 @@ trackedFiles: id: f969260b240c last_write_checksum: sha1:c5fa3169955597c6ca7a534755f98ad1cbfb876b pristine_git_object: 5e0781ff8904d947f40cc3d615c0738c363969f9 + docs/models/components/EmailTypeJson.md: + last_write_checksum: sha1:0c4203d917387a894a21db9f79a49ebf92bd25a1 docs/models/components/EmailTypeJson1.md: id: 817f81912161 - last_write_checksum: sha1:24bf72bc2287a170dc04b175a9253473675f866a + last_write_checksum: sha1:e02bb06a82c5fcc2afb508d47d9d98b9b990b20a pristine_git_object: ed7f55afb1a2fb1fe4d7083da666a291c43a174c - docs/models/components/EmailTypeJson3.md: - id: d335a878125d - last_write_checksum: sha1:89237b709258550bb46689aa8ae1c53985841395 - pristine_git_object: 3ccb0d1dbf0a83db302e70a397e93ef6d91d9719 docs/models/components/EmailUndelivered.md: id: 745603104c89 last_write_checksum: sha1:66390e31df00264f411846c51fc054f89352e1d4 pristine_git_object: 0bf065af618f7d86562443e7f251dab35148e8f6 - docs/models/components/EncodingProfileJson.md: - id: a828b48a2526 - last_write_checksum: sha1:7c4654db62fa030135293284a6c6ca2da9152bc0 - pristine_git_object: cec48c7a8aa5f0c583205eeaf8303afef46d2e06 + docs/models/components/EncodingProfile.md: + last_write_checksum: sha1:7000b3a400c711d0adcfd5567040ad3e0e8de119 docs/models/components/EntityType1.md: last_write_checksum: sha1:482a9a7b73d9bc95b63e0dc15e06ab77d3e9f05e docs/models/components/ErrorResponse1.md: - last_write_checksum: sha1:5a7c9af500edbc0ec68c5478070454fb7d90caba + last_write_checksum: sha1:1f06ca4838aa5ca879d01b1299efacf61e8d2d6c docs/models/components/ErrorResponse2.md: - last_write_checksum: sha1:e01cca9f249c4113aba326ff0871e574623cafe7 + last_write_checksum: sha1:c89bf8b85b7f6afb10aacad16fafe4f297b440e0 docs/models/components/ErrorResponseBase.md: last_write_checksum: sha1:3bde4754d916ae86bacd60b5dd0c2817c85d8fdb docs/models/components/ErrorScimTypeJson.md: @@ -2009,11 +1895,13 @@ trackedFiles: last_write_checksum: sha1:5851835e3497f510087bdda92324a12a002386ae pristine_git_object: 9ce8bdfcda156eeba556af2f95b02f66a9b9ceab docs/models/components/Event1.md: - last_write_checksum: sha1:b9c98049d10a28dff7b35996abdacc50b5bfd49c + last_write_checksum: sha1:bf3ac7bb7556acc4cc31a93fc17abcee4c274bbb + docs/models/components/Event12.md: + last_write_checksum: sha1:0d4983a839310cb94bebdc9d91ff39be9e146fff docs/models/components/Event2.md: last_write_checksum: sha1:8d13cba565ed2e49bf62c0ed32249ff6f3a56ec8 - docs/models/components/Event21.md: - last_write_checksum: sha1:75b8f5d715ed1a6554a12c26fe55bd999a94d905 + docs/models/components/Event3.md: + last_write_checksum: sha1:265a89515e35498cedbe29701915ed39a5ee9b0a docs/models/components/EventActivityDetailsJson.md: id: afd07bd677a3 last_write_checksum: sha1:b6821334ac3af39f5baf0618f1120fdabdefe313 @@ -2030,10 +1918,6 @@ trackedFiles: id: a322acf106b5 last_write_checksum: sha1:d7986029bcaae881af19bb3c7b972f956489be52 pristine_git_object: aa9e99fb337efae663a62937981630a548498fe2 - docs/models/components/EventAllOf.md: - id: 9858dd56b544 - last_write_checksum: sha1:ab6aaac47b695ac9c37a9ef94ed9247aaf6893ba - pristine_git_object: 783ee3ec5c7bf2aeda324c394c5cd2b9b33ca8b3 docs/models/components/EventAsyncResponse.md: id: 3ac3adb3e929 last_write_checksum: sha1:00e6664c33bde0b7609cc8fd852dd5ab6d3ce1a7 @@ -2090,10 +1974,8 @@ trackedFiles: id: 31f85535e042 last_write_checksum: sha1:5fafbd8094805bca86fa1b31b22ed66b721605c3 pristine_git_object: 2497bffb1c2b5cf2b128a34211994336cec049d9 - docs/models/components/EventContactIdJson.md: - id: 4ddb7d435411 - last_write_checksum: sha1:622be966143fe9368e6c6a74cf7b2aa8e6926deb - pristine_git_object: f6a43cda0ada857d7f1c5d1fb8dd2cbce4594d00 + docs/models/components/EventContactId.md: + last_write_checksum: sha1:714b20fe509842aa86d1fd9ac0afaba3d26ff934 docs/models/components/EventCopy.md: id: 545f02b0cdbe last_write_checksum: sha1:398114ac2597522cf3fbb4e03126dae14075301a @@ -2112,7 +1994,7 @@ trackedFiles: pristine_git_object: fe0170edd5c8555c881993f71097e70e3c705e7f docs/models/components/EventEmailsPaginatedResponse.md: id: ff6698cbd018 - last_write_checksum: sha1:c87d56905a79b1fbe46cd19e2e1aa31695c01157 + last_write_checksum: sha1:172ab1d5521a18055159548bcc76380c0984b0d0 pristine_git_object: f6f0a4a3428550f22385cc7728c3ed6de4535711 docs/models/components/EventFeatureJson.md: id: acd6db0098f2 @@ -2146,34 +2028,30 @@ trackedFiles: id: d9375d6cccae last_write_checksum: sha1:0b76efc28ec0e48cd8a1cabb8e29648d6a5fc912 pristine_git_object: 0e3241727163312f854eae4b378227b66b45bae3 - docs/models/components/EventFormatTypeJson0.md: - last_write_checksum: sha1:bf3ae70afbfcdbfa26593475aaa0142f9b3ab963 + docs/models/components/EventFormatType.md: + last_write_checksum: sha1:1ed5a5a6ce70ffee32e4ebc90730021be12021ae docs/models/components/EventId.md: last_write_checksum: sha1:37bbc81545cf122f335d7e4ff261af37fe7eab06 docs/models/components/EventInput.md: id: "505336032273" - last_write_checksum: sha1:370df87d51e6f326c067ea6aba10989a66b59b3e + last_write_checksum: sha1:84e9eb1962a9520635630e9dbc0bc5955c8ef657 pristine_git_object: 891135a275f663a7d9393bc570d594391eb9ca44 - docs/models/components/EventJson0.md: - last_write_checksum: sha1:eec6ba8b5594994baaa63d32bedf562dd2379637 + docs/models/components/EventJson.md: + last_write_checksum: sha1:2e5284b7240a425f5855c96fb4bd920596895b47 docs/models/components/EventJson1.md: - last_write_checksum: sha1:989932f3b427b09b61f40f92a0deb0b61912996c - docs/models/components/EventJson2.md: - last_write_checksum: sha1:9153543be0855ed5bd51076a4abcca3ca3299713 - docs/models/components/EventJson4.md: - last_write_checksum: sha1:25a7ddf07a8db3d69c332ff8457a83f389d6dc7f + last_write_checksum: sha1:b57541935801f5a6c5bada3b610b9b4d3247b044 + docs/models/components/EventJson3.md: + last_write_checksum: sha1:06d65ca9ad81913f344360883e8c7bc0b11e4ec1 + docs/models/components/EventJson5.md: + last_write_checksum: sha1:26b0302c6b74723c1819452eb694f45ea268bba0 docs/models/components/EventJson6.md: - last_write_checksum: sha1:926ae6ddf6b2d75646e47156795f1740670f983a - docs/models/components/EventJson8.md: - last_write_checksum: sha1:b93a2cbcd9b560120a08cedc24655b14be21ec91 + last_write_checksum: sha1:bb6d7392c3adb03a55195c507f0ca9ebea270b7d docs/models/components/EventLinksJson.md: id: 6e52c908109a last_write_checksum: sha1:af8cb19b13a57ecb5b33ee3c7edee986f31e7ae4 pristine_git_object: 083f0897126e6778c10724a541b4af63542e1729 - docs/models/components/EventLiteJson.md: - id: 8becc7b16705 - last_write_checksum: sha1:ae3edb6afdc39567b750594d0eb3081a90906c99 - pristine_git_object: 1dcb0fbaaa759f4945a89914ba73ecc69747b538 + docs/models/components/EventLite.md: + last_write_checksum: sha1:bbfd56d03ccdcb83988054a4e9f26a43b0f42d0b docs/models/components/EventLookup.md: id: 2591b012b364 last_write_checksum: sha1:d928ba8394a1f49dcee460ad6d2fe6bfb70f7c89 @@ -2182,6 +2060,8 @@ trackedFiles: id: c9949f418f25 last_write_checksum: sha1:eae52f6ae531e4fc36de8d6c04298fa33c299342 pristine_git_object: fa6f69741ada10aa34b0406777cffa1ae8857e48 + docs/models/components/EventOrganization1.md: + last_write_checksum: sha1:b781bf13a63a4859a0fcb04f23e350b988df7674 docs/models/components/EventPageVisitTracked.md: id: 5911814e763a last_write_checksum: sha1:46fdb7c2a4ccd4b704d03ad30881793e3357cb3f @@ -2198,7 +2078,7 @@ trackedFiles: pristine_git_object: 4fb39a3162534f3395bb3f55814cfae07ed02322 docs/models/components/EventQuestionJson.md: id: fe269143a85a - last_write_checksum: sha1:4ea6d7aa5352571e72fee3cbffd9c7087720109e + last_write_checksum: sha1:67edab73fe4c6b6dbb38f83be8dbe348315493a8 pristine_git_object: 0c94aa53da827ff5d0b2da0d95b8e8b43fa055c8 docs/models/components/EventQuestionJsonAdmissionItem.md: id: 9f9774da1bb7 @@ -2274,7 +2154,7 @@ trackedFiles: pristine_git_object: f18fe8ddc33236d763b4c5db12b706f88398b60d docs/models/components/EventSurveyQuestionJson.md: id: 533cfc903571 - last_write_checksum: sha1:5c1d548099a55abd9d31297b08232f050f3b7f87 + last_write_checksum: sha1:ceebbc31220b6b9b424ec298ce50786e3fb60d8a pristine_git_object: 2e3dd74c979006b84487aec1749652e180fee491 docs/models/components/EventSurveyQuestionsPaginatedResponse.md: id: 6f4572c68e0b @@ -2282,7 +2162,7 @@ trackedFiles: pristine_git_object: fc72b1493d2b53a7b2a57415b58e08bfd95c9ea1 docs/models/components/EventSurveyRespondent.md: id: c27efa567e53 - last_write_checksum: sha1:ffc93f79a2321d9e9f00e7fa9af96ec2ed75a55e + last_write_checksum: sha1:a1a18e62d0789a0c29de684d05a849776630afa3 pristine_git_object: b250050aeee1d59666968fe261a090ce76a2145d docs/models/components/EventSurveyRespondentAttendee.md: id: 533fb3a2bf4d @@ -2306,7 +2186,7 @@ trackedFiles: pristine_git_object: 645cb30ae4bdfcd53e5f0ecfd1b43ad82bf73441 docs/models/components/EventSurveyResponse.md: id: 3f3bcee10b76 - last_write_checksum: sha1:9d752a436fb6e337585a98f25e14e0b59fe176b9 + last_write_checksum: sha1:8a4522d66afa2966e80b829ad968bbce965a6df0 pristine_git_object: cc9a113b840ff54dc4cf9ac18fa9e1479ac5a92b docs/models/components/EventSurveyResponseInput.md: id: e6d991825c46 @@ -2332,19 +2212,17 @@ trackedFiles: id: 7b5a9b1975a0 last_write_checksum: sha1:7596df85bf534c9568a090a5f174b1d20f4408ef pristine_git_object: 6dddd205237082f2c5a49d593d8610b000d3e0a1 - docs/models/components/EventTypeJson0.md: - last_write_checksum: sha1:ad1d42acb85add86bbfa69eac8fb6fca6219a69a - docs/models/components/EventTypeJson1.md: - id: 17ecf6f36bb1 - last_write_checksum: sha1:a99c6f3e5fb427d241c15d06ddd31504e501dd67 - pristine_git_object: 463087f3955daef0395f59dca5fec770d94a87d7 + docs/models/components/EventType1.md: + last_write_checksum: sha1:2064181fcca8458427d5d26f35524d7fb76bae6e + docs/models/components/EventTypeJson.md: + last_write_checksum: sha1:65ba76c09081719b4125560245d86d6706033727 docs/models/components/EventUpdate.md: id: 67528f16165b - last_write_checksum: sha1:be791577e5424a235003e63f28924e3be539ea23 + last_write_checksum: sha1:a8bccfdd6744c6d93cd8e0da1b78e27bba4347f6 pristine_git_object: 7ae33e0cd6721a2e25170dc004195ea8cdc45395 docs/models/components/EventUpdateInput.md: id: 5947df2c1cea - last_write_checksum: sha1:3ccbb8502b29b69fa59b12d65123ab46b798ab58 + last_write_checksum: sha1:fdc86debcbdf0f8e0eab43dafcecf53741c2bea3 pristine_git_object: ffc5014312b975c79e71c51e7442d2b81af92161 docs/models/components/EventUpdateLookup.md: id: 083575f546bb @@ -2422,7 +2300,7 @@ trackedFiles: pristine_git_object: c64aaebc29dfba1abe405e6b389d2ec423b3bcd7 docs/models/components/ExhibitorCategoryRequest.md: id: a50885bfff1c - last_write_checksum: sha1:569c82b681dbd8b68b67d1ab77710b3bc61cfb1d + last_write_checksum: sha1:461db4a43148a7e9177944310e621c78305f9607 pristine_git_object: e987c276bafdb76391052c0b95b7986ba10bf7ad docs/models/components/ExhibitorCategoryRequestType.md: id: 6423e7d864eb @@ -2430,7 +2308,7 @@ trackedFiles: pristine_git_object: 839ac9742d3fab473a0e4d6f6c2f3f277d9c1b92 docs/models/components/ExhibitorCategoryResponse.md: id: 8f5c005d66bc - last_write_checksum: sha1:6b5a2a406f99fefbea58da789ac15051e3b1377a + last_write_checksum: sha1:021409cc982f279fed642653e22a5ff91beb4eb7 pristine_git_object: ffc0e6bdd5704de4a3143d8cf6af56a0e44698f5 docs/models/components/ExhibitorCategoryResponseType.md: id: 5392d8b4198b @@ -2462,11 +2340,11 @@ trackedFiles: pristine_git_object: 2d24a72c84f75944a5e14e1a4b57e73313f36ff6 docs/models/components/ExhibitorRequest.md: id: b2968d7c4d8e - last_write_checksum: sha1:0e838fcbd7979612ea1c86e166e4f36741ed1b82 + last_write_checksum: sha1:f5a73196e81a5534f70efcc2c6f17452ed96ad07 pristine_git_object: 9e029619cc509ddcf5c82dcb341496924e900186 docs/models/components/ExhibitorResponse.md: id: 057c82490dce - last_write_checksum: sha1:3cc5f2163fd45189c6cd13f9eeb58add78952062 + last_write_checksum: sha1:6450d188d32c428d447a6cc837083d759318fd8c pristine_git_object: 758dc1a665157513ccbe26d4dcfc6a71379ea76e docs/models/components/ExhibitorSocialLinkOpened.md: id: b18993967fd4 @@ -2506,7 +2384,7 @@ trackedFiles: pristine_git_object: 47c2544f7c055d4bab49b9e0e80bf87a641be98f docs/models/components/ExistingAudienceSegment.md: id: add989d43d0b - last_write_checksum: sha1:61a7a376e1f5bf88373827ea063f55a66a8d90a4 + last_write_checksum: sha1:bed4da1f1e8b5373970efd3f68713186f98d9bfa pristine_git_object: aa7c7e5c7027c0e7a58a05a906574df00c853db8 docs/models/components/ExistingAudienceSegmentCreationTypeJson.md: id: de4e15767610 @@ -2514,7 +2392,7 @@ trackedFiles: pristine_git_object: 96a5b7360f362a7ffe7fae679e81a23c44271303 docs/models/components/ExistingAudioTrack.md: id: 4090b6a99225 - last_write_checksum: sha1:769a1eca8c3a47bc40955a4c7371ccbef1e759e2 + last_write_checksum: sha1:a05d5ce1cb668c977dcbb9cb8be4bec8060c58b4 pristine_git_object: 4a3368de159398742c41deb90e9726d788ad5d35 docs/models/components/ExistingBadgePrintJob.md: id: e253d1dc1a00 @@ -2530,7 +2408,7 @@ trackedFiles: last_write_checksum: sha1:e621f3b5e9464e8191a188fa78bde32bdf831262 docs/models/components/ExistingCustomField.md: id: 11ddedaca25a - last_write_checksum: sha1:05aa40744292b710cdbbc0e75e8588fcb26e69a7 + last_write_checksum: sha1:e524da4851c1846a93f44a0515efb88a1389d125 pristine_git_object: 6d7c6b93b81d54107a2a1320728c03e5180788fb docs/models/components/ExistingCustomFieldDetails.md: id: 743668cba8c1 @@ -2542,7 +2420,7 @@ trackedFiles: pristine_git_object: e73786d7219052e7705fa66c9d08c587a233e15f docs/models/components/ExistingCustomFieldInput.md: id: 3465f3304a1a - last_write_checksum: sha1:41743d8eb65d907cd4253c8f1a94f9c052633c13 + last_write_checksum: sha1:1c5b4382bf859e51d624907e6a9ad6737f4d3567 pristine_git_object: ec50e89947321ad57a943d6ed8fdaa160beef78a docs/models/components/ExistingDiscountCode.md: last_write_checksum: sha1:682915afb77c8f8ba7b5ac60fde6ab88f60dd8cb @@ -2564,21 +2442,21 @@ trackedFiles: pristine_git_object: af691cb1394dbe4648d29a4d4bf1f7b4e9b9aa04 docs/models/components/ExistingDurationType.md: id: eb0f847109e6 - last_write_checksum: sha1:4d9ea2a911a8a094b61345bc761fef27fd85a940 + last_write_checksum: sha1:5aa55a0887fd391a7cb051d3e87deec94e6f842a pristine_git_object: d97bc86da54bb3813412776ce4a4d08c2008b26b docs/models/components/ExistingELiteratureRequestDataForLead.md: - last_write_checksum: sha1:9b7e2b6c8d2fdbaa071ce30d29eadfb0860bc9ba + last_write_checksum: sha1:ff4d2f94110644081acf570e800de24453578dc7 docs/models/components/ExistingExhibitorAnswer.md: - last_write_checksum: sha1:c2d95d321532a25902baf898acbc835553122d66 + last_write_checksum: sha1:f3b51087db31f8ce689ca45658fa0fa76599757d docs/models/components/ExistingExhibitorAnswerInput.md: - last_write_checksum: sha1:68a5e540efa3afac25203f4b80b874bb572a0563 + last_write_checksum: sha1:abbbe6ebb7375b0cc60f4a715fabba6bbe8c84c1 docs/models/components/ExistingExhibitorQuestion.md: id: e20537d22cbe - last_write_checksum: sha1:70fa031461b3d2c5720b9a056603b2f6a73bc17c + last_write_checksum: sha1:b7f463dc84939d70173989aefdcf0211d4d9902a pristine_git_object: 7a67aeb4f9c35189951598a564816835bc93873b docs/models/components/ExistingFile.md: id: 9a1d8f9782d9 - last_write_checksum: sha1:4135a8f0d99f2f12da8c9253b0ccc77b79198990 + last_write_checksum: sha1:6e863c535b9f87752e22c7ce9e10cfdc3168e1e9 pristine_git_object: d2e29383c0ca8986cc8ba2bf33c1bb6ef86a6734 docs/models/components/ExistingHub.md: id: 048645617f7b @@ -2638,7 +2516,7 @@ trackedFiles: pristine_git_object: f2d4add8e46bd382d8f942478fbf1e3faf127cc3 docs/models/components/ExistingSpeaker.md: id: fe666ac422b8 - last_write_checksum: sha1:98d1b0b644bb805a970b0e6e1920411d3f648d10 + last_write_checksum: sha1:f5dda26a690ee805e934980305a0deacc76eb693 pristine_git_object: 7c75db157f980587e3313909bd1b4d63cf7c8600 docs/models/components/ExistingSpeakerCategory.md: id: "108525920e50" @@ -2650,11 +2528,11 @@ trackedFiles: pristine_git_object: 46b22209857ea667760811d698d4f14c504b056c docs/models/components/ExistingSpeakerInput.md: id: c6a7135ad9a7 - last_write_checksum: sha1:a38839c1afb10f06818ca0a9f2493cc420d091fb + last_write_checksum: sha1:ce48598267bee5b95065f4642d75c93743e2122a pristine_git_object: a686ae3e117d4a7118f6ac027c00c39ae2cd0390 docs/models/components/ExistingSponsorshipLevel.md: id: d1778c7dd6be - last_write_checksum: sha1:a072a77e1f217b4c75d444b0ff6f5148f9722c51 + last_write_checksum: sha1:03582e533fd32c55bbd1cbc104a751098f486923 pristine_git_object: 9343c86111de58b8f96ef8262b4915b1bdc6c916 docs/models/components/ExistingTableWithSeats.md: id: 4c227c7b4073 @@ -2662,7 +2540,7 @@ trackedFiles: pristine_git_object: d190a1376d1a9f4516b9893669f84a06288bd926 docs/models/components/ExistingVideoResponse.md: id: 0507d8a10724 - last_write_checksum: sha1:4444d51a7457acc59e02f78265f2504d2f1a385a + last_write_checksum: sha1:eb4184c4cbec7d197bb62ff828648b820876b57c pristine_git_object: 0bab0e375f592fa3c62b545ad606ae67aceeb777 docs/models/components/ExistingVideoResponseUUID.md: id: 0ba3258f448e @@ -2670,11 +2548,11 @@ trackedFiles: pristine_git_object: 6fa5acc307960839b08361d4ecadf7fffb83d430 docs/models/components/ExistingVideoTextTrack.md: id: 8adc3e43f51f - last_write_checksum: sha1:ece3c91d49abb0e0f87217ccbdd83d2517734902 + last_write_checksum: sha1:6a4a5a754232bb9f97f2ec55e648c0ea502acecf pristine_git_object: 2a4331c057d61e5962de77e67919b991ff077157 docs/models/components/ExistingVideoTextTrackInput.md: id: d3a91ee50180 - last_write_checksum: sha1:890404993cedb0c9b6ba0cd5899e6cdbb98917ca + last_write_checksum: sha1:d78f81f3b2af51423ef0187cd1a945fca71d18ac pristine_git_object: 8f681fcfc005ed8c044eae99451cc996c9c3bc32 docs/models/components/ExistingVolumeDiscount.md: last_write_checksum: sha1:99dfbe947cd1a0429e82738b91f1208b5045b7d8 @@ -2692,7 +2570,7 @@ trackedFiles: pristine_git_object: 892ef3192f1b7d3534a6eb97325adc9d3b62cd22 docs/models/components/ExistingWeblink.md: id: 771e8a68bcf9 - last_write_checksum: sha1:b5d55f7bb15cfef16b06e4908012a972fc02d479 + last_write_checksum: sha1:69d805d33d0ed954cf360043b45e86be489b5de4 pristine_git_object: a68541f4ab5136aa0da269a40ad27ccc1546d938 docs/models/components/Expand.md: id: 10ee44fdfe91 @@ -2792,10 +2670,8 @@ trackedFiles: id: 8d99a3917521 last_write_checksum: sha1:3421713dbd5af57059a044c2e3a3db69a7d14cd5 pristine_git_object: b6348718c0713a14e7724ac02325e1262b4a54d5 - docs/models/components/FairSeasonTypeJson.md: - id: 7b3c7899791b - last_write_checksum: sha1:bbac9dd6b0688b556c8723d59d1ff2de15170952 - pristine_git_object: 5f4ad7e939a4df84112d59e70f0561d2b99daebb + docs/models/components/FairSeasonType.md: + last_write_checksum: sha1:97742d695c4c887256907d47c4569ba2e6defd63 docs/models/components/FeatureTierJson.md: id: 86766c9bfa4a last_write_checksum: sha1:cf7d6b7acc7bc091ef9f9dfae2476fda9d0d7a7f @@ -2820,17 +2696,17 @@ trackedFiles: id: 003718b4b1d0 last_write_checksum: sha1:2d91bd9cdf2933c682608a79498f5b3fa347959f pristine_git_object: fd1030dae161545a5149454be3c2aba3d3ae17c2 + docs/models/components/Field.md: + last_write_checksum: sha1:fde6f7ae2597addab7fb21097c3b411daa26a1ec docs/models/components/FieldJson.md: - last_write_checksum: sha1:79503a39592605ad2dff3a2de6f6d9959c0ea57b - docs/models/components/FieldJson2.md: - last_write_checksum: sha1:037281248e37ce13ee8a46d26c34d5fbecc57b66 + last_write_checksum: sha1:113a5cab852ca6957192271fa6e6d4057b229583 + docs/models/components/FieldType.md: + last_write_checksum: sha1:feca0024f46058d56cb5c85d7188fcaefb1b3855 docs/models/components/FieldTypeJson.md: - last_write_checksum: sha1:7a7e38396a82b5554d2ddcce66c7df519be8598e - docs/models/components/FieldTypeJson2.md: - last_write_checksum: sha1:24e43a373bc916a0aa4f8c225da3feec7843e5e7 + last_write_checksum: sha1:6c45b02f6aae8bd0e7117a21d3934c8635270b55 docs/models/components/FileInput.md: id: be770e3d5cdc - last_write_checksum: sha1:5c006f908d59dabb12347990064d9e8039b31828 + last_write_checksum: sha1:c2ed5183049c20ab1031f9853d3df8903bbfb947 pristine_git_object: c403f64bc3c6ec83d21d832ec995aefdc132e748 docs/models/components/FileLinkJson.md: id: 7f975aebabbd @@ -2864,10 +2740,8 @@ trackedFiles: id: 7a205d933895 last_write_checksum: sha1:7df36dc01bb1f037339a60453d9725080c32431e pristine_git_object: 361f6a7e801d37260e5bbff3e1cafc04ea8df5c6 - docs/models/components/FormatTypeJson.md: - id: cc2a089696e6 - last_write_checksum: sha1:63e6b9099527621c00dfa9c9a1e459da9fdfa322 - pristine_git_object: 7678ce6bd6bad65789c62f32b7c291195b49a536 + docs/models/components/FormatType.md: + last_write_checksum: sha1:6b7543671f081380c2297217b9bd6dcc79d7093f docs/models/components/Frequency.md: id: ad88749753d8 last_write_checksum: sha1:237bc8265e62196aad5b3f5d026e49d87ccfc8b2 @@ -2876,10 +2750,6 @@ trackedFiles: last_write_checksum: sha1:f8d63398b12c9a3c5971337302a093b3883a4159 docs/models/components/Gender1.md: last_write_checksum: sha1:9bb369ce999872aac2156807001dc03b7993ab65 - docs/models/components/GenderJson.md: - id: b2d49d158038 - last_write_checksum: sha1:6f2731961c1e2de2a02105bece9bbfcb72d432aa - pristine_git_object: 6204892af3be6a33bb75ade33add76fbf41ad69c docs/models/components/GeneralLedger.md: last_write_checksum: sha1:d4b010f9387aef628418b7c896f62335e534ddb0 docs/models/components/GeneralLedger1.md: @@ -2902,18 +2772,16 @@ trackedFiles: last_write_checksum: sha1:49c63ff6ed51528e1458c4e7dc920e04694af590 docs/models/components/GuestJson.md: id: e4c248e3ab53 - last_write_checksum: sha1:335e7ac0f1d027222e614e65e3e4407d5898ca7f + last_write_checksum: sha1:8091de9865c0625ad16f93426f4bd1d21c32cfd0 pristine_git_object: ab4876fd65ac697a9249369243b6a26b9fc69a42 - docs/models/components/GuestRoomOccupancyJson.md: - last_write_checksum: sha1:0e71822c30935e99bc3a47a0114324617f471701 - docs/models/components/GuestRoomOccupancyPerRoomTypeJson.md: - last_write_checksum: sha1:5b3995d343fcbe5c38a6c2b919b76d31194b6040 - docs/models/components/GuestRoomTypeJson.md: - last_write_checksum: sha1:cda1e4dcc10925b259f98ed14a50eedcb0246367 - docs/models/components/HlsInputWithClipsJson.md: - id: ad8928b0fe99 - last_write_checksum: sha1:1c9e29c2ebbef24b1ecb9bd5758198f34d63dc4e - pristine_git_object: 10cf047a553345201cc4650a0966d52f4f94fead + docs/models/components/GuestRoomOccupancy.md: + last_write_checksum: sha1:810b439ea2bf4c0fad3122f85a474f6c61228231 + docs/models/components/GuestRoomOccupancyPerRoomType.md: + last_write_checksum: sha1:8e170e6f101df00486354a224f299f31fe8d1968 + docs/models/components/GuestRoomType.md: + last_write_checksum: sha1:a91149eab6fff4c6c6b778d4bdcfbdbf62029656 + docs/models/components/HlsInputWithClips.md: + last_write_checksum: sha1:883af4da0a668cc1f3816bf312e65cb7669aebce docs/models/components/HomeAddress.md: id: 27a386629905 last_write_checksum: sha1:2d8a13563f6f300b00cb9150f4fe2a167b7f2b82 @@ -2959,7 +2827,7 @@ trackedFiles: last_write_checksum: sha1:288f7cdebd2d83defad8d22641e3d9903ba146a6 pristine_git_object: aaa8481ff23d02679b59d3efdf07220215f8a836 docs/models/components/HotelRequest.md: - last_write_checksum: sha1:2abd687b24066d5a6071d22f64aa8a4bcdb741e7 + last_write_checksum: sha1:388a180dd3555402835fb3e6dbbc005caf156641 docs/models/components/HotelRequestRequesterType.md: last_write_checksum: sha1:d81850886b343418c443a32b8b9bd62cee71cb60 docs/models/components/HotelReservationDetail1.md: @@ -2982,7 +2850,7 @@ trackedFiles: pristine_git_object: 82f2a3b99b8b8d58be9530d71dc7e4544c6b907d docs/models/components/HousingEventHotel.md: id: fab3f7012020 - last_write_checksum: sha1:637e98f3bc00585cbf2be80206a711ee78f7a78c + last_write_checksum: sha1:324b127f95e7e4f1f82f80736b31ca375831aa1c pristine_git_object: 4321043e068c9acf7496b03beda928a7dde8f75b docs/models/components/HousingEventHotelsList.md: id: cb725fefc57e @@ -3002,7 +2870,7 @@ trackedFiles: pristine_git_object: 590bdbb42eba0a26ca35086825141701cb1b1759 docs/models/components/HousingEventSummaryList.md: id: b2729948bf79 - last_write_checksum: sha1:808df6a854d6090785b7f69ba087b8235ca35f15 + last_write_checksum: sha1:c81ecb701ae802beff14bc973b2cfdd7b2c0d054 pristine_git_object: 06018842875089a62442e3bcc072f5c67cee9c67 docs/models/components/HousingReservation.md: last_write_checksum: sha1:1f269a0706840f05c1ce14a185b25d788e854d02 @@ -3032,16 +2900,14 @@ trackedFiles: id: 8a1a8280be3d last_write_checksum: sha1:2c049b6657a2755f9537d9bb6ed2a2ec740ddd31 pristine_git_object: bac244c6b3db426b89a284eb308637d98f0bdb43 - docs/models/components/IdJson.md: - id: 928f55e0dcce - last_write_checksum: sha1:3c2b6484551cdb46f80041051c05de1fb59ab7c3 - pristine_git_object: 1c1daccbbb2e179286de164bcdb0206704dfeddf + docs/models/components/IdOnlyEntity.md: + last_write_checksum: sha1:b841ecfb53e97826328fad8d6f692703392c6879 docs/models/components/ImageLinkJson.md: id: e1d19f4d334c last_write_checksum: sha1:e701ef363fe45d97b16d6aeaaccf7600086a3207 pristine_git_object: c68f7a6cbfdcde63d9b7b931f4ae60d28deb382a - docs/models/components/IndustryJson0.md: - last_write_checksum: sha1:6f929621ff814141c7acc175dae351563b7320b2 + docs/models/components/Industry1.md: + last_write_checksum: sha1:f51c1a6b12175944da9a250cf6e93ed4dcfba369 docs/models/components/InventoryDetailsList.md: id: d36f3113c34d last_write_checksum: sha1:62b26436f4a063f74649d3c564ba08278b2e3a0f @@ -3060,7 +2926,7 @@ trackedFiles: pristine_git_object: b9a72c3497fe417176914681a27a6e344d5943a6 docs/models/components/InvitationListPaginatedResponse.md: id: dae29e4204bc - last_write_checksum: sha1:b36e2d688338769fef20083acf6d6b58d25f46c1 + last_write_checksum: sha1:577ef48016c618bb14246544a89b8442f3bf8585 pristine_git_object: d17cbc0c48782aca5fc668b799bacdacb229eed8 docs/models/components/InvoiceFile.md: id: 977dfb191f25 @@ -3109,7 +2975,7 @@ trackedFiles: last_write_checksum: sha1:6615bc50f0968a7a50d1294a2c686929e3f7bf9f pristine_git_object: abb03a87a53123c2848263da96c3b14bfb4a48c1 docs/models/components/Lead.md: - last_write_checksum: sha1:a6693b63e3a451172c7752236732406bd73f3169 + last_write_checksum: sha1:edd0c937129895f7443cd7748b647cac201a2f27 docs/models/components/Lead2.md: last_write_checksum: sha1:2f0955a9a0e98e97c5ddc550514dfeab7ef6a5de docs/models/components/LeadInboundCreated.md: @@ -3121,13 +2987,13 @@ trackedFiles: last_write_checksum: sha1:3aba30c859ef004b558ff9721e39b8a96796ce17 pristine_git_object: 74b78ec55335b82e4e6ab899748e25cb8ba70fd4 docs/models/components/LeadQualificationAnswers.md: - last_write_checksum: sha1:be6f5651a0adbc0b65aff09856618a588075264b + last_write_checksum: sha1:72f7618a64d03df6e712e7d9099912525cd1f92a docs/models/components/LeadQualificationAnswersListResponse.md: id: 77467f69dce4 last_write_checksum: sha1:c78f48f7e9aeb3839361f16f0b5914631897555b pristine_git_object: 6911694c9d01c3f310f63f3156a9cd52865607d0 docs/models/components/LeadQualificationQuestion.md: - last_write_checksum: sha1:6a20140bf47e3f53fa43fa7a21261c4f20ac9ee0 + last_write_checksum: sha1:570564c8b6ee8262fcd7b9df88f7a367faba459e docs/models/components/LeadQualificationQuestionType.md: last_write_checksum: sha1:d19bb94b77c55c527ae1b79ee6e7896fb326b0e6 docs/models/components/LeadQualificationQuestionsListResponse.md: @@ -3144,20 +3010,18 @@ trackedFiles: pristine_git_object: 2aa0314c7a37cd39be6930e2c59f2b6c388014ef docs/models/components/LeadQualifiedQuestionResponseJson.md: id: 32f0d80936c0 - last_write_checksum: sha1:44d084148ed5c073d32efa1d31a055e2463da051 + last_write_checksum: sha1:961d3f1d4baf244afcef95abc65e9976963aaa08 pristine_git_object: 7ede32e6319485b7261429312a8853c61257da07 docs/models/components/LeadScanned.md: id: 7e31666ffc67 last_write_checksum: sha1:604489646dd4587238c6f51f7ee6c419b69c78c9 pristine_git_object: 7230ebaa0b73dbe28e855d2942f9efd9a6632663 docs/models/components/LeadSource.md: - last_write_checksum: sha1:39c75dac94af69393d3079fa0fb152d9f8ca2833 + last_write_checksum: sha1:31be3a582ee12f55d91e7bd95c127359b567e9ac docs/models/components/LeadSourceExpand.md: last_write_checksum: sha1:0285461858c447e0e40039f65c703280e76bfa7c - docs/models/components/LeadSourceJson.md: - last_write_checksum: sha1:6ff5f1e58a5f041b0b7170de6bf4ae91d8d5e332 - docs/models/components/LeadSourceSectionJson.md: - last_write_checksum: sha1:f930b4e860802a08fa36c86f591dbe81ae18d35b + docs/models/components/LeadSourceSection.md: + last_write_checksum: sha1:2317af7b95a76cca1db92a99f9ee1d47bb8fb2a8 docs/models/components/LeadType.md: last_write_checksum: sha1:06d0b05756e89037f721c86439d6618b31b1c1fe docs/models/components/LeadsPaginatedResponse.md: @@ -3216,12 +3080,10 @@ trackedFiles: id: 144c50a37be4 last_write_checksum: sha1:68c1308770b18cc283fbdf6af9402499ac14372e pristine_git_object: ecf66a0b379d00c248034b25a3071dfa7e548911 - docs/models/components/ManagementLevelTypeJson1.md: - id: 63b33ee45292 - last_write_checksum: sha1:6e0db9e2662c4067ccb99e33b1cba5e2509031bd - pristine_git_object: 1cdf8e44700f38e4b9b65ea155bfd19695007441 - docs/models/components/MeasurementUnitJson0.md: - last_write_checksum: sha1:12ee4a0ba355db7e63dbe6b0b2dd13780008238c + docs/models/components/ManagementLevelType1.md: + last_write_checksum: sha1:a631b2785206106610768d5d4c27c8e51d998c86 + docs/models/components/MeasurementUnit.md: + last_write_checksum: sha1:baba885882d4963cbd841460ad9397a50037e219 docs/models/components/MeetingRequest.md: id: ea41d46c5718 last_write_checksum: sha1:1f69fdad3deb86f3d18ab31c5be9070515ac7a7f @@ -3284,7 +3146,7 @@ trackedFiles: pristine_git_object: 25cc0f7b96a78bf357ec137aeec8eeeec42dc46e docs/models/components/MeetingRequestQuestionJson.md: id: 22d9f579996c - last_write_checksum: sha1:373be56f08c9edba0317ec5ee8a5b545baaf91f2 + last_write_checksum: sha1:72b1b2719c6548b0b6b6b1aed6db453ef5103454 pristine_git_object: 55cc84cac319b249997a613e4ec7bd1357533346 docs/models/components/MeetingRequestUpdateJson.md: id: b0dfb099a5ab @@ -3310,26 +3172,18 @@ trackedFiles: last_write_checksum: sha1:8aa7104d60abc51759720ca4c703a1ddd99990d8 docs/models/components/MembershipItemsPaginatedResponseData.md: last_write_checksum: sha1:3486334422bb4fcbdeaac496bfaa0d5566be926e - docs/models/components/MembershipJson.md: - id: 79bf7c0cb22a - last_write_checksum: sha1:35f86904e3d9945dbfe70ea9c3b0c3d2d06276f5 - pristine_git_object: 8edab5fd5dd14dd825dbc88ea34bdd02ce33a019 docs/models/components/Message.md: id: c54b5da9650a last_write_checksum: sha1:d5e8b0cd1e647534b236e3676fcc889b73b065d3 pristine_git_object: 3c4a517c05025c85284f1643b60612e5088616d0 + docs/models/components/MessageRecipientResponse.md: + last_write_checksum: sha1:b56651447657c152f9b00686710b20509fb7c621 + docs/models/components/MessageRecipientResponseAttendee.md: + last_write_checksum: sha1:fd4e989d225b5928e566a3608848ce53615b9506 docs/models/components/MessageRecipientsPaginatedResponse.md: id: 0564039be078 - last_write_checksum: sha1:577a20757dafdf3e081b41005363b694b0534cd1 + last_write_checksum: sha1:05f18900c7835a3f720b6bec2a2266ba7bedcd5d pristine_git_object: 522c42b5db3143487e4bf9b78b08a269b903f6f8 - docs/models/components/MessageRecipientsResponseJson.md: - id: 8b5ad2600eb5 - last_write_checksum: sha1:50b129dd623d64a15dd0a0b183da2cc264e9ea75 - pristine_git_object: c63577bb805076fef39a74d83a77c13a7c4556f0 - docs/models/components/MessageRecipientsResponseJsonAttendee.md: - id: 9fbdaad7c5cc - last_write_checksum: sha1:cf1859acc2697b829461a6f05b77fdbf7740e574 - pristine_git_object: 325fde6167feac920a7d704de7c16379f4e9be98 docs/models/components/MetaJson.md: id: 1d11b98b8d39 last_write_checksum: sha1:dd7c201cb67b36fc92f1536819e4dbec306679ff @@ -3364,18 +3218,12 @@ trackedFiles: id: 534c513e27bf last_write_checksum: sha1:aafe412040a7980d2c14faf7e3a0e122f8cc0273 pristine_git_object: 960a5c0dcff466c504070bff0fc5de17b3c68f5f - docs/models/components/NumericAnswerFormatJson.md: - last_write_checksum: sha1:a33a28b70915800fa8a1bc8b248a95eba1dc26d3 - docs/models/components/OfferingCostTypeJson0.md: - last_write_checksum: sha1:dbd59e7d6424421c27a43a41899574e1f2b2292e - docs/models/components/OneAllOf.md: - id: 965d3ae1812e - last_write_checksum: sha1:067a459c886b20fc8717a34d0a362e0ec572e523 - pristine_git_object: 9c718f294b29ac1853916a41540588227cbfabac - docs/models/components/OneOneOf.md: - id: b79235bc3b82 - last_write_checksum: sha1:1a8017ea468744b5bc1b349b171afbeaee98f858 - pristine_git_object: c0f14487260efea28279e07b6522927f88d056e0 + docs/models/components/NumericAnswerFormat.md: + last_write_checksum: sha1:81c94a9259f623dbb83ca4fc9e68fd2af527b7a3 + docs/models/components/OfferingCostType1.md: + last_write_checksum: sha1:7a78e625fbf38521a0e0ffb96da1212c9a89ad44 + docs/models/components/One.md: + last_write_checksum: sha1:cdeb8e168636795d610a42a9d9949e5112f0a80d docs/models/components/OpenEndedCommentBox.md: id: b75aac67e899 last_write_checksum: sha1:30454f4b0fec81bf1e2771a00d2e3d6d1f1ada01 @@ -3392,14 +3240,8 @@ trackedFiles: id: 08f57d7a4d32 last_write_checksum: sha1:f701b0cfc64306f995f8d05e3f2e4690a8b5d740 pristine_git_object: fdb9db6e2507fe13cf7b6d69577cedaf6b569c90 - docs/models/components/OptOutJson.md: - id: c42691d2d998 - last_write_checksum: sha1:f6095a584f992115bb7c8a9ccbfe3477ed66698b - pristine_git_object: 10792bb0f201326240f5c87e575bb3a879ca8eb2 - docs/models/components/OptOutJsonInput.md: - id: a54713e84f63 - last_write_checksum: sha1:02f06691e02f0416781947a0f9b7bfaac49acf97 - pristine_git_object: 4861ab27e49486a6aea8f9c54cf5300204de4a71 + docs/models/components/OptoutBy.md: + last_write_checksum: sha1:80f3108b1d299ba930f3092a110ebf2e3c284a2c docs/models/components/OptoutByJson.md: id: 26bb0345c263 last_write_checksum: sha1:22f4637425a8d394c39db05a95c2ceea85e12f40 @@ -3407,7 +3249,7 @@ trackedFiles: docs/models/components/Order.md: last_write_checksum: sha1:fb41dccaccc94a08781b65b6349f5917cd7520e2 docs/models/components/OrderDetail.md: - last_write_checksum: sha1:75bbb477ded37289cfac5d5d7f962aa0b0518a42 + last_write_checksum: sha1:757a84bc05fffeb0268c8c54e7dcb8de223b2132 docs/models/components/OrderDetailsPaginatedResponse.md: id: 5cc8889cd2a2 last_write_checksum: sha1:fe04c74b9e07f4b211b8ea8d97d117934b74cb3e @@ -3422,7 +3264,7 @@ trackedFiles: last_write_checksum: sha1:38205145e7a52049a52ed78aaecc56ab8c91720f docs/models/components/OrderItemResponse.md: id: 1e073b1478d8 - last_write_checksum: sha1:d864f3736d3de5baa21e40a2c4548cff36f92c5e + last_write_checksum: sha1:d4771d83a8b5701ff55b7e4e88c995eb7f73ce85 pristine_git_object: aec28e63a269b7203ff79fbb5cea1193c9747b24 docs/models/components/OrderItemsPaginatedResponse.md: id: 95448714dc41 @@ -3432,16 +3274,16 @@ trackedFiles: last_write_checksum: sha1:fbd8a679fee0144689c58b367cf3a6d5809edaaf docs/models/components/OrderType.md: last_write_checksum: sha1:259907447e2efa1b7341e4fb1de3b22df115e369 - docs/models/components/OrganizationJson.md: - last_write_checksum: sha1:7bfb488641b280542254f31bc870cf90f6233061 - docs/models/components/OrganizationTypeJson0.md: - last_write_checksum: sha1:23aa381d978baf69cfc5bed982a5e164dcf6f2bb + docs/models/components/Organization.md: + last_write_checksum: sha1:5c935a89bbf66c61fc5482c501ec36dd7eef6b88 + docs/models/components/OrganizationType1.md: + last_write_checksum: sha1:6572bb5674919f21feab27b93e3de6495116f741 docs/models/components/OtherPaymentJson.md: id: 116a4b55ef2c last_write_checksum: sha1:106f734c20e6878fcbf723359b82aa53794c4ffa pristine_git_object: 6ff9a49745f98d21d0d7121a479f35185e9f03c3 - docs/models/components/PackagePricingPreferenceJson.md: - last_write_checksum: sha1:3916249ae2560944d461babba576e42d43188598 + docs/models/components/PackagePricingPreference.md: + last_write_checksum: sha1:d7baa76909bc75f64f74050acdef46134e08778b docs/models/components/PageVisibilityJson.md: id: 17df5e2c327b last_write_checksum: sha1:93c9cb6564475ab61e394d40d035bdf1a0ca9212 @@ -3451,21 +3293,21 @@ trackedFiles: last_write_checksum: sha1:02adcd494d13f675f16f402aa8c8120b2e4ad2ab pristine_git_object: 7d1e6b8a083023758756e1c062096e9875836114 docs/models/components/PaginatedInternalDocuments.md: - last_write_checksum: sha1:44bbb8258ef78599018b839c68c9f3fd40cf05a3 + last_write_checksum: sha1:846d5f19224bd28ae3e37d98dc259223d51e0b34 docs/models/components/PaginatedRfpAgendaItems.md: - last_write_checksum: sha1:0270d23b9603eecfb42774eecb64fd0387b47083 + last_write_checksum: sha1:a229f8d36c463cce5e7125e0910c96dcffed9386 docs/models/components/PaginatedRfpAgendaItemsSchedule.md: - last_write_checksum: sha1:d8a4d2cfa8f58a88b1f4d128c7a39a4b195972be + last_write_checksum: sha1:c748ce0f8d9c0920c4937d5071beb260b66df748 docs/models/components/PaginatedRfpAttachments.md: - last_write_checksum: sha1:1d100c6e2b18889d4e08a2a3c310786f410685e5 + last_write_checksum: sha1:2de020d11228a1e2011dbd186c17ba823aff9f1e docs/models/components/PaginatedRfpCustomField.md: - last_write_checksum: sha1:8e55c5ad1f9a6896c52c4eec0d90b4111eec1958 + last_write_checksum: sha1:26bca8bf09040d64e55fe9ac82729f3b7e043e65 docs/models/components/PaginatedRfpQuestions.md: - last_write_checksum: sha1:bd1939e852cb2cb98cc737545fde0868cc02dabf + last_write_checksum: sha1:d090798fc21fb5292f40c5910b2851a2946c6615 docs/models/components/PaginatedRfpRecipientsHistory.md: - last_write_checksum: sha1:f973c0f3c25962049a19ed5bd89975f08b59e178 + last_write_checksum: sha1:d551b16c917fe0207b428d9db4f45f48284f06a3 docs/models/components/PaginatedRfpSuppliers.md: - last_write_checksum: sha1:c4a038135889c57b06556d8eb464fa7af27e0789 + last_write_checksum: sha1:4485c40ccc24816c83b1e8e8d3255b63b5354f60 docs/models/components/PaginationLinks.md: last_write_checksum: sha1:b5eea6d7c408cdf861a054f4c196b233efcd1658 docs/models/components/PaginationLinksJson.md: @@ -3478,10 +3320,10 @@ trackedFiles: id: 4ad5f98d5e3c last_write_checksum: sha1:4213ec682006814dc4ced0229b1cfa7360818429 pristine_git_object: 540b214437be5fe8f6d83dfaf4163559836b80ec - docs/models/components/PagingJson19.md: - last_write_checksum: sha1:d8ca4cfd9dc72012929d0af3585decc28313590e - docs/models/components/PagingNoTotalCountJson2.md: - last_write_checksum: sha1:bb4c6bfd140301d88642701bbb7762bab5252408 + docs/models/components/PagingJson2.md: + last_write_checksum: sha1:d65799d1ce4d00098a053599b9c94e7f502ca89a + docs/models/components/PagingNoTotalCountJson.md: + last_write_checksum: sha1:1f3a8ca65c4df3becc1ea237413e052968b015bb docs/models/components/ParticipantResponseJson.md: id: 384c7e85baa0 last_write_checksum: sha1:c85a4541498b7dcd995f0151179b6adb21d930a4 @@ -3498,14 +3340,10 @@ trackedFiles: id: a9773dd76853 last_write_checksum: sha1:89c0d05fcbc475c62ce938d541cb3558bed474af pristine_git_object: e65e726820236e4b2f934560784dee08624b3a55 - docs/models/components/PassportJson.md: - id: 34bd85565435 - last_write_checksum: sha1:07597ff06f10df532b4faf9f264e36da573279ae - pristine_git_object: 84d5c612b7ffa2caa89e68d215629377205cb70e - docs/models/components/PassportJsonInput.md: - id: 2449158a478d - last_write_checksum: sha1:8a0e40fa5cbed15641f0fe56e92c7a31912a0f94 - pristine_git_object: 1b100924ebb3d4f5cf7c759a645429435c63f4c9 + docs/models/components/Passport.md: + last_write_checksum: sha1:ec4999e4ca09507ff95d78450da22dee66807ae1 + docs/models/components/PassportInput.md: + last_write_checksum: sha1:c7fbc68c34b0f614895eaa896ef658e4a29ea842 docs/models/components/Patch.md: id: 126d6517d893 last_write_checksum: sha1:303e4a976de41f0c4aa69acb662a6658fb429e7d @@ -3516,7 +3354,7 @@ trackedFiles: pristine_git_object: bf591ad8cc44f7858ab6584aa98cd14f24f31f02 docs/models/components/PaymentInfoJson.md: id: af1e66b5ac9b - last_write_checksum: sha1:af5cace50389d4e9e1d3b2ded8f985eda7f1f9c6 + last_write_checksum: sha1:53c6e59f1e9a977bcae0470e8507cab8579360b5 pristine_git_object: 65bffcdf204cbe4010ed222377700eef0bd2cdce docs/models/components/PaymentMethod.md: last_write_checksum: sha1:1ebb286cc068c37e90f7eeab3eb1389673d13134 @@ -3574,7 +3412,7 @@ trackedFiles: pristine_git_object: a1a8359280c5514dcac6b6864741c6ffdcee1b0b docs/models/components/PlannerJson2.md: id: 34e65d369df1 - last_write_checksum: sha1:4884bfe272c23c46df9bf5afe34b18b83f6a0839 + last_write_checksum: sha1:2db9cdf14a6fe2103bbd92fe30f9e2abfaf0eb97 pristine_git_object: 2a115f6a1207c6fad21c3a69f098021f510c0eaa docs/models/components/PlannerJson2AddressType.md: id: a166efdbfb6e @@ -3640,10 +3478,8 @@ trackedFiles: id: a625ea103051 last_write_checksum: sha1:fbea67452ad51e0f9ac50da57afc4adba71c55c6 pristine_git_object: 26264cdb68964e1a8b54fef5e8a4299aba45752c - docs/models/components/PolicyValueTypeJson.md: - id: 0a828669e0eb - last_write_checksum: sha1:020a2614ae58a58d96005c374b36913f6a065d3b - pristine_git_object: 73cf6e9dc89347dd3045a304ef83024384327f5a + docs/models/components/PolicyValueType.md: + last_write_checksum: sha1:72b9a134f936a325d6f8dfe59e9dfeba2e1e5abd docs/models/components/PollResponseJson.md: id: bab52951c4e7 last_write_checksum: sha1:c402b480276140a66a0cbeeb307f16fe44df7283 @@ -3706,10 +3542,8 @@ trackedFiles: id: 89e4354b575a last_write_checksum: sha1:239b8688ecbab250d81d1202ead4c7753adeeda8 pristine_git_object: ec66c16bad50338d2d8a09d015ee3cbcfe938724 - docs/models/components/ProgramItemLiteJson.md: - id: 2e63bdff5567 - last_write_checksum: sha1:97753d032b9c7f3cf5a059c7dc03cf71d3f89bf7 - pristine_git_object: 76815c4a69925211ecb1931531afa19d4a24575e + docs/models/components/ProgramItemLite.md: + last_write_checksum: sha1:4db968027e466689ed780b50e01278196fdc3d23 docs/models/components/ProgramItemPaginatedResponse.md: id: 40712e07e862 last_write_checksum: sha1:42d5820151f49c801972ecb3c124e24e2007e87a @@ -3724,7 +3558,7 @@ trackedFiles: pristine_git_object: 9a0e963e7be079d5e1a611b125950174c9b7a6e9 docs/models/components/ProgramItemSpeakerPaginatedResponse.md: id: 4b7e6013a00c - last_write_checksum: sha1:d708d80a9a023e4b51b86d7bbdfa5b2d5c1d38bf + last_write_checksum: sha1:e34c2264a4a4b7d270c35843d68de0e9d07d18f1 pristine_git_object: e47c52d5c6eb86ea1e91e2bd9f3c0c9210f12b2e docs/models/components/ProgramItemUpdateRequest.md: id: 1e0c30fab965 @@ -3734,7 +3568,7 @@ trackedFiles: last_write_checksum: sha1:f5187591b485d93c81bcdd1ab39898c9c9c1881a docs/models/components/Property.md: id: f4843070cdbc - last_write_checksum: sha1:2c607a917a11fe08c1427d3222b5e75313911d4d + last_write_checksum: sha1:7eb7a20f8571689ed5febcbf25f68fc703616327 pristine_git_object: 7a32a647092ef68846a7adbfd3eea71fbe74da2f docs/models/components/PropertyBrand.md: id: 7de25dd35cec @@ -3754,7 +3588,7 @@ trackedFiles: pristine_git_object: 16b956bfa82266cc923559dfe16c34ea3896e54a docs/models/components/PropertyRoom.md: id: e534dc7e10e2 - last_write_checksum: sha1:6ce4a8e7f8292e31fa2746d73a30e511e3fa738f + last_write_checksum: sha1:aa29a9d45477a071cc69daa93d61b19d5669729a pristine_git_object: 344ae1a4ba8e1aac7c20ae2e95ff03268767da05 docs/models/components/PropertyRoomExternalCodeJson.md: id: 6caf3c36e0c0 @@ -3770,31 +3604,29 @@ trackedFiles: pristine_git_object: a19187e1f8a63167df9ab511d8a88a0b671d1421 docs/models/components/ProposalDateJson.md: id: 7fbab268d278 - last_write_checksum: sha1:eb99c27c67d27932c2f14065ceb2ac764c04e726 + last_write_checksum: sha1:a4465c08c02b550accb1d98d81e4114b07eb77c0 pristine_git_object: 9c7be61c37fd309180897f2f7d06abfeaab6c0db docs/models/components/ProposalRequest.md: id: 5ba4504e8815 - last_write_checksum: sha1:cc14676ee1ded7f7beca4b36fe9217d6d32fa2ec + last_write_checksum: sha1:38dcb06f6d516bc3e4eea3370f5496fc3cf4fc4e pristine_git_object: d9e45e418702aa33b4d14faf842f8b8a0acd323b docs/models/components/ProposalResponse.md: id: 63615c217b64 - last_write_checksum: sha1:61bcf1cfd352c2f879950bcb0bbe4498e540097e + last_write_checksum: sha1:0975504326e4b3de52719120e593490a95b84583 pristine_git_object: fef99ea081d9848f4ef222d47f38c285ed5324a2 docs/models/components/ProposalStatusJson.md: id: e2ab671cce64 last_write_checksum: sha1:e5b32e09bde64caa170601e0dee4bc89c198b1d0 pristine_git_object: d02a0fcfaf3a6f95f3172491e0b14f1c7c1c7c35 - docs/models/components/ProposalStatusTypeJson.md: - id: 0045fa0dcf53 - last_write_checksum: sha1:60bd491ab86a9539ffc5361e54d3a2948d9f854d - pristine_git_object: 0ef120fbec3eb86877197b476b2ff95081123525 + docs/models/components/ProposalStatusType.md: + last_write_checksum: sha1:37319a1e882b1bff396848857d77a4dd40d27577 docs/models/components/ProposalTypeJson.md: id: 8df3247d2881 last_write_checksum: sha1:adc8e75e0fbc577cf191df7a9b1fca284ef677b0 pristine_git_object: c58fe77869404cef79c0be9d2d0030d63716573d docs/models/components/ProximityJson.md: id: 5464164ba85c - last_write_checksum: sha1:fa21321185c55f8055ce419b6669d6a2d6540e85 + last_write_checksum: sha1:c028e41d72054c7c1c9594a510d3e3d78322482f pristine_git_object: d88ebc75eaa83a564dc86f58b1fab0bbdd5ba61f docs/models/components/PublicUsagePlan.md: id: fa0628898379 @@ -3822,10 +3654,10 @@ trackedFiles: pristine_git_object: 8f97d2232330fca57a760f1cdc13671c8d714187 docs/models/components/Question.md: id: 0516fcd99369 - last_write_checksum: sha1:6d217d965326e77ca3586ed450556fc988adc865 + last_write_checksum: sha1:f0542b13258c513a623b756e41448de3feaf68b7 pristine_git_object: 8917fb3438ee03ec8bffb9c88d320b7652280979 - docs/models/components/QuestionClassificationTypeJson.md: - last_write_checksum: sha1:6f702925d6bda0dc038d6613858d17e51ec1b761 + docs/models/components/QuestionClassificationType.md: + last_write_checksum: sha1:44c1b41582e3c50cd841b2cae32b59c591a2a68d docs/models/components/QuestionDetailJson.md: id: d79c65642a67 last_write_checksum: sha1:5af0f0a6ddc693c40d499b19803fef54d7ddba6f @@ -3834,98 +3666,72 @@ trackedFiles: id: 37e3014354f1 last_write_checksum: sha1:8e2225df81d0f8d7be38180a5e2622aed9133ff2 pristine_git_object: e24ce1e1b807b8763afef3394707b5ac16c7dc69 + docs/models/components/QuestionJson.md: + last_write_checksum: sha1:91f38e33e3438f1cb4bc8de434535cc66d9ac9ad docs/models/components/QuestionJson1.md: id: 042d968d8d05 - last_write_checksum: sha1:2c1d5b7401fdfc4f019fdaccab792810729df66a + last_write_checksum: sha1:d6531015aaf84bd6a974d9a1fcc22dee864b2dcb pristine_git_object: 39ff818b5894cc3c5e8ea55495eaf19ee162b5c1 docs/models/components/QuestionJson2.md: id: d566007c1a48 - last_write_checksum: sha1:8557409476c5db15114d89d278b2b27cfe0dea35 + last_write_checksum: sha1:4433a1c38ab2b9788e3ea869ec79dc2e78e09556 pristine_git_object: 5b40fed3acd8d7f6c585a5bb75392fcf628be387 - docs/models/components/QuestionJson3.md: - id: 68dbcddddcc9 - last_write_checksum: sha1:e0f4691d6c36dcaac3095dd5338fa9a7ca9eb616 - pristine_git_object: 23ce36c2f870903e537acf2b82bf0a6eeb0de934 docs/models/components/QuestionPaginatedResponse.md: id: 1bf518a11044 - last_write_checksum: sha1:f240be65a2828b953913eb645491b7097bd31a0b + last_write_checksum: sha1:0f2e01526673c1ae576458a306c5360e2d620abc pristine_git_object: b231a60ce7e24089a5e90e9a6cc4a9c56630b4a1 - docs/models/components/QuestionResponseDataTypeJson.md: - id: ff7985907024 - last_write_checksum: sha1:918bd671212e7bc3289f09cbcc30375c26e0c182 - pristine_git_object: 0ff4ed4838ae3bbaaa6a653858287668be2a3111 - docs/models/components/QuestionResponseFormatJson.md: - id: f6bf01672d55 - last_write_checksum: sha1:6af442a453234713e5094fad16dd051ce366be8f - pristine_git_object: 92690fd7331de076a300771279cf8f49592ec8e5 + docs/models/components/QuestionResponseDataType.md: + last_write_checksum: sha1:ce4e6ee8895a14e3c02a23ac19532854199af3d1 + docs/models/components/QuestionResponseFormat.md: + last_write_checksum: sha1:540aeb5cfb1698f779371c210429c9523a1dc8b9 docs/models/components/QuestionResponseJson.md: id: e23ea446cd9c - last_write_checksum: sha1:0b5efc952a531df58f218006eac5bd22467b4b29 + last_write_checksum: sha1:5622941aabdd273d41359e1f22d703f7348cc239 pristine_git_object: 68ada6bc706f882e5650567af8fc327d83a86e15 - docs/models/components/QuestionResponseTypeJson.md: - id: 6bdf61aeb679 - last_write_checksum: sha1:47be5de92eae8fba76744770fcbc11e6105223d6 - pristine_git_object: 1259cbf4e6f1f9617f289d23f9834bc9db7fa9e5 - docs/models/components/QuestionSectionJson.md: - id: 72884c5a692f - last_write_checksum: sha1:c72faddc930623cc8f03954c1c0a77bddb547568 - pristine_git_object: 6e95ef9d5d4fbc13d60136cce384ad8b64a58493 + docs/models/components/QuestionResponseType.md: + last_write_checksum: sha1:94562844c73a4ac143121f872db22b5b4ce3e7cd + docs/models/components/QuestionSection.md: + last_write_checksum: sha1:ebf5bcfcf3f36b7ef25eca2caeb225e0f2447bc1 + docs/models/components/QuestionType.md: + last_write_checksum: sha1:d51d2a7e9ef62f7931b5117a57d6ae8535fa4d92 docs/models/components/QuestionTypeJson.md: - last_write_checksum: sha1:74e25c310258828a40b1c237e8b06a750b046e44 + last_write_checksum: sha1:f1162132ea8bda0fb523d3a76cd3f7993d1378dc docs/models/components/QuestionTypeJson1.md: id: b10ac4c21cff - last_write_checksum: sha1:6c148a2e71f34d3e6f6a21b82447e8c4dcd7e7ce + last_write_checksum: sha1:4a4c06c77eafa9adba8b986ebbfd548a7ce45a55 pristine_git_object: 4ea2140c62648a7b5378bc8c6029b4f72205a726 docs/models/components/QuestionTypeJson2.md: id: d9f738de2c32 - last_write_checksum: sha1:656154ee27876ffbff9af05f029ea1b9d6d6ea2d + last_write_checksum: sha1:7fe8bd281b1d03315228bb20d7e0b884162df195 pristine_git_object: 810a2ba403e7d13bebfc52bf8a1272e3ecaae804 - docs/models/components/QuestionTypeJson3.md: - id: f2b9c364940f - last_write_checksum: sha1:1b4c3c965881ee2ddcc93b3d981be715e1112aa4 - pristine_git_object: cc13af851af265cd608658ba94aac1acec411a82 - docs/models/components/QuestionWithProgramIdJson.md: - id: 6fddd0eeb291 - last_write_checksum: sha1:00ff9076bf93ab2c6b066ce110b71f0a52ae7f3b - pristine_git_object: 59b3e6770b60bc7955fff92970c6ffa155736621 - docs/models/components/QuestionWithProgramIdJsonTravelProgram.md: - id: 2b58ec97a9dd - last_write_checksum: sha1:5d36d133d1e53a4a511c179b2b083b52c9e679af - pristine_git_object: 582283e56effc10fc4e2709d9fc1f8f227191cb2 docs/models/components/QuestionsPaginatedResponse.md: id: 100d16fb36c0 - last_write_checksum: sha1:672578b9946396d67612198003456e1b4019ec25 + last_write_checksum: sha1:f5f0ba4e8785fdd5648363c2df2587140887d8d2 pristine_git_object: aec6f581339bf0b4b09c055dedec226ccaadf599 docs/models/components/QuestionsPaginatedResponse1.md: id: 0bcad2d6eb9b - last_write_checksum: sha1:2b691614596bdc58f5a78d6dac8006e9e557cb2b + last_write_checksum: sha1:66658b2b3582fc7eaebbbb50d6062f3bfc347468 pristine_git_object: 2b43e0b5cf8ee30688b95da9997087de755d6d54 docs/models/components/Rate.md: id: 86399c41611a last_write_checksum: sha1:277b817d542220aa5001ec3f75ccc7122b61099a pristine_git_object: 12136095b911e2a1de8ef341283c66dfbe756d40 - docs/models/components/RateLevelTypeJson.md: - id: eced79ca3b5e - last_write_checksum: sha1:788637349d1ffb504ba381767ec8bf5b64335f81 - pristine_git_object: 5e14a5d6cc032ac285084a3104b7f749ab89012a - docs/models/components/RateReviewStatusTypeJson.md: - id: d8cb6a03953b - last_write_checksum: sha1:362802d6b280a9cb7023fa802c287341cc0ddd4f - pristine_git_object: af51ee31d6de263e88fe3cc0de3e14d4dd5a9469 - docs/models/components/RateTypeJson.md: - id: 0889c2270515 - last_write_checksum: sha1:c06295051c467c53b5686da3781d3f9b25867fe7 - pristine_git_object: 2c115d25da17566d6531996f8e12a4c3793fc96d - docs/models/components/RebateTypeJson.md: - last_write_checksum: sha1:a19716e4ced7a8b7f72800febeef50ad5b0be5c3 - docs/models/components/RecipientInfoJson0.md: - last_write_checksum: sha1:7ba731ee5cfc507f8908282a646416861f192564 + docs/models/components/RateLevelType.md: + last_write_checksum: sha1:0cf656b0dc89fc14fde94af6c57660ed57a97fc1 + docs/models/components/RateReviewStatusType.md: + last_write_checksum: sha1:e1cc910e0fa54af064dabdc73c42f548b234990b + docs/models/components/RateType.md: + last_write_checksum: sha1:79a827ec10d6eb1a4dff3e0901c0813b7e3cc890 + docs/models/components/RebateType.md: + last_write_checksum: sha1:ec0161021403ad4f097f6a7432950831d52b412b + docs/models/components/RecipientInfo.md: + last_write_checksum: sha1:d04243d047213f23bc847f8d25de0d1b5a6cfab9 docs/models/components/RecipientJson.md: id: f8dd9772fe57 last_write_checksum: sha1:86ee85117ca6630aa6a6aacee0149265b699e17f pristine_git_object: 48fd748c83799d45b0061a2336b636c180b9c954 - docs/models/components/RecipientTypeJson0.md: - last_write_checksum: sha1:b20715b5fa2ac5ecf786f74eaa2bd6c86fa7d684 + docs/models/components/RecipientType.md: + last_write_checksum: sha1:872b6b4452990c6960f4121b90a2f443419b71b7 docs/models/components/RecipientsDataJson.md: id: 1f229c02b288 last_write_checksum: sha1:c8f0acf0c2ab3a0bdc51cd06b54c51df28bdce76 @@ -3968,11 +3774,11 @@ trackedFiles: pristine_git_object: a01eb3cec67e48abec69dd7bff04ea043e6641ee docs/models/components/RegistrationPackRequest.md: id: 0f3086c91ace - last_write_checksum: sha1:14fb755856b098337e7f79a244ac2000cdbfac2d + last_write_checksum: sha1:0cbe4c2629bec7453d7a47cd02fc2ff29fb7ddd5 pristine_git_object: 2066e94cb7f630f8ace54082bfee803321d8987d docs/models/components/RegistrationPackResponse.md: id: e87976c8fb63 - last_write_checksum: sha1:93ef433fa2e56f108709583f722aafcb05b91127 + last_write_checksum: sha1:b7283929e1d8b9d272d9d0acd9b3eb0f2959698b pristine_git_object: d515c2600289a2674c98e8cb192a1eb061486222 docs/models/components/RegistrationPath.md: id: 0f9f624489f9 @@ -4024,11 +3830,11 @@ trackedFiles: pristine_git_object: 25933e9be30ab388c9021240157218b32421a2e3 docs/models/components/ReservationGuestJsonInput.md: id: 9466869d76bc - last_write_checksum: sha1:b625df99fba3bff7020551ae7c6c9914c976ca9d + last_write_checksum: sha1:e407a590b9dc72570b1093a47ec97b94e227dbfd pristine_git_object: 7bd6d4e00aacf0c54d8e379e45aea5a31382abb1 docs/models/components/ReservationGuestJsonOutput.md: id: b9f9807754b9 - last_write_checksum: sha1:09725f31bded3e2fa4e4bea6ac2a4ed7f5fffa1d + last_write_checksum: sha1:623521d2eda5c859f89826e10102025f4866205e pristine_git_object: fbdfc9b5a914a56f66dfbcbc6408cc29b3115847 docs/models/components/ReservationNightJson.md: id: 556dab066df0 @@ -4044,11 +3850,11 @@ trackedFiles: pristine_git_object: c69e38ae98684e1dafab25158740afac285c8de0 docs/models/components/ReservationPaymentInfoJsonInput.md: id: 082d538c133c - last_write_checksum: sha1:88938cdf8b99d9e92c8fe71eacd56d152876c953 + last_write_checksum: sha1:c9d48003ff96398b795e0dc770b599108534f62e pristine_git_object: 5f627f9f0d79fd7b3965e7bd8dbee0bdcb3f7095 docs/models/components/ReservationPaymentInfoJsonOutput.md: id: 7b02f116ea0a - last_write_checksum: sha1:63e8af5017dec247abcdf614cd95701205448da0 + last_write_checksum: sha1:bf5b5ba1857da7604348009f0875410f3f690d25 pristine_git_object: 40a8f8dcda37ba426a123a295893a2d6badfa5e0 docs/models/components/ReservationRequestBlock.md: id: 4514aa7b39f7 @@ -4124,7 +3930,7 @@ trackedFiles: pristine_git_object: b66bc5a4cd47b4a057371d44516cd37167c2c703 docs/models/components/RespondentJson.md: id: a080e2d3b828 - last_write_checksum: sha1:06eaafb7863a7fbcea54868e193714f6b9cd971f + last_write_checksum: sha1:a48d175cf234375d7c7eb5360351fe4358d2ce2b pristine_git_object: 2e18e3ca4a0e4ffdc8f8d6afb356d8631a5a5e42 docs/models/components/RespondentJsonLinks.md: id: 83c19ea7dda1 @@ -4159,75 +3965,71 @@ trackedFiles: last_write_checksum: sha1:ecabc2c7393854ddf6fb01069b0f8d4eb222cdb8 pristine_git_object: 79db88ae51d39c352b49dcd18baa06571a7e3199 docs/models/components/Rfp.md: - last_write_checksum: sha1:f9673304e5e73d767b020bba20a274beddc60b50 - docs/models/components/RfpAgendaItemJson.md: - last_write_checksum: sha1:d710aba42b7ddfd28ed4b597db7597b3be6dd49f - docs/models/components/RfpAgendaItemScheduleJson.md: - last_write_checksum: sha1:239444f429dbf22f9033d8eb49a44734de03cf9a - docs/models/components/RfpAgendaItemScheduleWithIdJson.md: - last_write_checksum: sha1:64f769169008157932c4e07ab19e12a62cb1eaa8 - docs/models/components/RfpAttachmentJson.md: - last_write_checksum: sha1:a2b0a7a0f1e90e47daf7d221bce5f2cd27922d85 - docs/models/components/RfpAttachmentJsonSupplier.md: - last_write_checksum: sha1:43cc24221b4e7aea2e11551f7b1deb86bd567ca5 - docs/models/components/RfpCustomFieldJson.md: - last_write_checksum: sha1:fdc39ae9a2bb987c952e682a392933e4e4a13ba5 - docs/models/components/RfpDateModeJson0.md: - last_write_checksum: sha1:93c8b064c68d7848b80f83eac8bf04988b9d7cd1 - docs/models/components/RfpEventJson.md: - last_write_checksum: sha1:094457833a0672c0837416e1da7d483838c42b15 - docs/models/components/RfpEventOrganizationJson.md: - last_write_checksum: sha1:fe7be512889663381c038311ffb9e2fc4f4627d0 + last_write_checksum: sha1:ab962368710d3f68dfc0001b8bf2380d6ce277b6 + docs/models/components/RfpAgendaItem.md: + last_write_checksum: sha1:b19747a2109a48fdef2a8dd052407349a94f7cb0 + docs/models/components/RfpAgendaItemSchedule.md: + last_write_checksum: sha1:709415d825883f9fea530a99c3412bf807504b55 + docs/models/components/RfpAgendaItemScheduleWithId.md: + last_write_checksum: sha1:6e05d6235f83e82dcbeeb9744a5d57ac77b77798 + docs/models/components/RfpAttachment.md: + last_write_checksum: sha1:74065669f1a01c1a8f52940170a63f25b0275cee + docs/models/components/RfpAttachmentSupplier.md: + last_write_checksum: sha1:9523b550d20ca827f1a749315d5dfee6feac37ee + docs/models/components/RfpDateMode.md: + last_write_checksum: sha1:c88c71d0305f563156b3a4564b043fbd93c0001b + docs/models/components/RfpEvent.md: + last_write_checksum: sha1:7215e8a99d6f37df654bcf4535edc472b247d755 docs/models/components/RfpGuestRooms.md: - last_write_checksum: sha1:2292d08bf8c21462205fd3a8bded9415d492d0eb - docs/models/components/RfpIdJson1.md: - last_write_checksum: sha1:9808f97cf1833dfc8253f79a0d1f39d7e8736b6d - docs/models/components/RfpInternalDocumentJson0.md: - last_write_checksum: sha1:853150bd6e6c9e6eb228883e1dd57865a3517b95 + last_write_checksum: sha1:60052467d6f02724c2e29a120482b39403cea1c1 + docs/models/components/RfpIdJson.md: + last_write_checksum: sha1:eedad07599887dfa85aa86b9a7bcedd82462d889 + docs/models/components/RfpInternalDocument.md: + last_write_checksum: sha1:d34b9663dda8298c5b60ef9a957ef2436a898dd7 docs/models/components/RfpLeadSource.md: last_write_checksum: sha1:c683a7427cb4a098c6da8997a44f54c826655894 docs/models/components/RfpLeadSourceSection.md: last_write_checksum: sha1:e8e98e871fb2195d79c15719db8ea3a13af6bd8d - docs/models/components/RfpMealJson.md: - last_write_checksum: sha1:2c6a92021efe3c32a6b4ccf21859e11cdb6bbaeb - docs/models/components/RfpPastEventJson.md: - last_write_checksum: sha1:924d395f5f53baad8706b9553dc905e0d5838f3b + docs/models/components/RfpMeal.md: + last_write_checksum: sha1:396c9f19290123da733edb0f99c8338269f150ed + docs/models/components/RfpPastEvent.md: + last_write_checksum: sha1:20b5d702aab421cc6b5dfd4bc2d9c9c4215950ff docs/models/components/RfpPastEvents.md: - last_write_checksum: sha1:0ac78f768086e98cf968ffcd3d2c2eb1d9ad03f2 - docs/models/components/RfpQuestionJson.md: - last_write_checksum: sha1:947476c6551680199d9265081f17ad65a443252e - docs/models/components/RfpRecipientLogEntryJson.md: - last_write_checksum: sha1:25a30477a6d9462e8476573127048d5401c26fbf - docs/models/components/RfpRecipientLogEntryJsonMessage.md: - last_write_checksum: sha1:82ada4927883b71d1cab795442a26e1b56093591 - docs/models/components/RfpRecipientLogEntryJsonSupplier.md: - last_write_checksum: sha1:a3d3c50df2893ce4abd23bee7467bf46fc49a48a - docs/models/components/RfpResponseReasonJson.md: - last_write_checksum: sha1:39052e80e0151eb11ae4781463bb26a5e9cfcd1d - docs/models/components/RfpStatusJson0.md: - last_write_checksum: sha1:e4de0c0af55157591c0075c07c3bf53f7adfcd1e + last_write_checksum: sha1:63af947d05b51955320a9f4895d5357606bebedb + docs/models/components/RfpQuestion.md: + last_write_checksum: sha1:baf9035cd00c7b51a489feceba783d29af2200ac + docs/models/components/RfpRecipientLogEntry.md: + last_write_checksum: sha1:d8936632838afcfc12625aefecfff5f2492ab193 + docs/models/components/RfpRecipientLogEntryMessage.md: + last_write_checksum: sha1:99e10c16e81284af399b4b8bce8888a4355fd7cc + docs/models/components/RfpRecipientLogEntrySupplier.md: + last_write_checksum: sha1:19905204c44acee644663f6c8c6eefc1b14c464a + docs/models/components/RfpResponseReason.md: + last_write_checksum: sha1:ddaf3f7bda2b8527151705a21f73794a43409ff6 + docs/models/components/RfpStatus1.md: + last_write_checksum: sha1:10da7314b940d81bcf4d2d820ac76040f5fae8af docs/models/components/RfpSummaryJson.md: id: 622b6aefeea6 last_write_checksum: sha1:14cb5dd209fcd9b268334f61da955e8b91fd584b pristine_git_object: 3b88f2681e0e3897bb215c44fda1fab898768c6a - docs/models/components/RfpSupplierJson.md: - last_write_checksum: sha1:6b9b5c658df043747d98e3aa5e05663dca696d4f + docs/models/components/RfpSupplier.md: + last_write_checksum: sha1:a35f899c3855dbd733c71f77b056782c8020c0ad + docs/models/components/RfpSupplierLeadSource.md: + last_write_checksum: sha1:15348ef241df079f0c4f3976482a87930a829260 docs/models/components/RfpSupplierStatus.md: last_write_checksum: sha1:0fe1d3eee0400da589f8c6ce6074a98f498841ae - docs/models/components/RfpTypeJson0.md: - last_write_checksum: sha1:75692583dc598b79ed0f87f4348dfa279aca8ece + docs/models/components/RfpType1.md: + last_write_checksum: sha1:e3fa03d4a534b963d489dacdc4f4b4d0e291c3f1 docs/models/components/RoomAttendeeTypeJson.md: id: 9a749a9202b3 last_write_checksum: sha1:c76fbb59dd989993ef4ce65e9e0be541b53e16f0 pristine_git_object: 6fc2254b8bff6ac1eb5511dad83254c91e2ffcbf - docs/models/components/RoomBedTypeJson1.md: - id: 57bd7587ee2d - last_write_checksum: sha1:87880fa26c5bc340b3e0c3b2c6a77d9e8a10d6d1 - pristine_git_object: e655d1d684a8ef51c6cb2b567c2356151d9baa06 - docs/models/components/RoomBlockDetailsJson.md: - last_write_checksum: sha1:2d813c25ffc189e848ac871bc008327bfb642ddf - docs/models/components/RoomBlockJson.md: - last_write_checksum: sha1:220054b99846684836f1bef7fb7e678f809e1d4a + docs/models/components/RoomBedTypeJson.md: + last_write_checksum: sha1:609b1f76ddb81c19a4a7f2812549e1ab10ac591a + docs/models/components/RoomBlock.md: + last_write_checksum: sha1:b34ddced8821dbd596dcb6b814ad662a49f38ad5 + docs/models/components/RoomBlockDetails.md: + last_write_checksum: sha1:df59f8f03fb3b734022e826fbdf5887ab470b7e2 docs/models/components/RoomIdJson.md: id: 4d4b8d5a32f8 last_write_checksum: sha1:65a3752b983c205b14d0b3abc357f6c2c2aecec2 @@ -4274,7 +4076,7 @@ trackedFiles: pristine_git_object: da9026d8409fae09455780c680a1922e63d94bf6 docs/models/components/ScoresJson.md: id: 58bebad45bf9 - last_write_checksum: sha1:8cffc5c9e264443b5d3a2da4c3cc54e7fa87b921 + last_write_checksum: sha1:10c4c6c78bcdd67d9427ffcaa6ec0841c1e2eebb pristine_git_object: c2122d0915eb555f2bb722de994ea353342560de docs/models/components/ScoresJsonAttendee.md: id: ad06e9730b44 @@ -4322,11 +4124,11 @@ trackedFiles: pristine_git_object: a8f57bb561275e6e9f34a7b8f7a816664b3d3a14 docs/models/components/SendEmailEventRequest.md: id: 02d4503238ea - last_write_checksum: sha1:8ecb809f9201cf62da3a62bcdabcd09ae3fd8388 + last_write_checksum: sha1:6f542018d641c5d5b38fda282e998a219ff7c825 pristine_git_object: 088f50b109eb9a4202786a2a6d7a4a6d26629a2e docs/models/components/SendEmailEventResponse.md: id: 5592a72e132d - last_write_checksum: sha1:698497ec99264dd49e3b2ade07df2a11b1faacc7 + last_write_checksum: sha1:8151570f2a02b324820164d66217f659964518b5 pristine_git_object: 3c43bfd9e007de7f13a7f6705212f80d73d8c98d docs/models/components/SendEmailRequest.md: id: c4e591ad94b9 @@ -4462,10 +4264,8 @@ trackedFiles: id: 3647358df068 last_write_checksum: sha1:e23f331bf716694cfefebfc5cb6376f5d6371995 pristine_git_object: f13d7a65ce3d527d9dddba77073034f9815d53cf - docs/models/components/SessionLiteJson.md: - id: e1018f423f28 - last_write_checksum: sha1:531008b51e0db2e2f27c312de72c10c598f33ec1 - pristine_git_object: cde0bf88f04492e8f87e26e02b6867c742b0f9b1 + docs/models/components/SessionLite.md: + last_write_checksum: sha1:3b5ca3cc446badfa3571bba8f95b75dd01221815 docs/models/components/SessionLocation.md: id: 4ed040446c35 last_write_checksum: sha1:e9be0fe9b810d7fdfde7478fff2857c6259e0e0b @@ -4496,7 +4296,7 @@ trackedFiles: pristine_git_object: a5fa4ffd7caa2654bd73b8be3385fb7f11a02e8e docs/models/components/SessionQaMessage.md: id: add6360021d5 - last_write_checksum: sha1:650768dff4f30a9d1055727aae4b6d3f5dc04934 + last_write_checksum: sha1:a6a9a4d4edddab1961a0a9d32d96aba97b29c98f pristine_git_object: a778e6486430957d618cad738bfa989e6e4e8b81 docs/models/components/SessionQuestionAsked.md: id: 59585a5bd4b9 @@ -4514,17 +4314,15 @@ trackedFiles: id: 9d878271b2ae last_write_checksum: sha1:4d4a9a7ba4992aaf60cc5ba32cc421a4cc15fe27 pristine_git_object: 23a5d0464beca09fd0f3aa2d31461b85c1721abf + docs/models/components/SessionSpeaker.md: + last_write_checksum: sha1:d31e6e6112774dadb33c01de4e17a062756b33af docs/models/components/SessionSpeakerAssignment.md: id: c9a796b16185 last_write_checksum: sha1:2a4f0de521ea806066bf742640b5b6c5cadce8f4 pristine_git_object: 235eae68c26cdf5362f7fefab6c0b001575c83aa - docs/models/components/SessionSpeakerJson.md: - id: 5dd59aa71fbe - last_write_checksum: sha1:b550a55530a2af6075b75702c78199670b46e62a - pristine_git_object: 80f03775f0688e9f17d3d3b47bae9947fcc179c0 docs/models/components/SessionSpeakerPaginatedResponse.md: id: 05bb088b4ea1 - last_write_checksum: sha1:601e95d31e905397035807c1ee6e30705eda0160 + last_write_checksum: sha1:c7bd65df7d503f9dddb1704989e68c5563feb021 pristine_git_object: 4a0aa19c03d7d6e18b0a77d250304185ffc86e96 docs/models/components/SessionStatus.md: last_write_checksum: sha1:fa884e55482f6f713752c8b8ea66a043226ebdaa @@ -4572,11 +4370,11 @@ trackedFiles: pristine_git_object: 620a4c4cd295f6ab5af51a1c72ccb341b67478ef docs/models/components/SleepingRoomBlockJson.md: id: 6d7db245f48f - last_write_checksum: sha1:54ca3dbb35452129cc9a9abcbd0e8bd2e223f1cd + last_write_checksum: sha1:84195ea37dba3c1ec6a9a80aee9c2ef668a9abba pristine_git_object: f25c8bbe800bd3112b199594b74ca88f9ca16eb7 docs/models/components/SleepingRoomJson.md: id: a3600c975b80 - last_write_checksum: sha1:2f084957b8162e9b022a0e362536639e1457cc55 + last_write_checksum: sha1:be08e455f74288c89a637e5330b7e545b0159075 pristine_git_object: 186f2867098072ee531c2fade3d422fa67eb4403 docs/models/components/SleepingRoomRequirementJson.md: id: dbe7ea7333c5 @@ -4588,10 +4386,8 @@ trackedFiles: pristine_git_object: e4fa5ce9646bb90eacdbdb4ca76839ae9886b337 docs/models/components/SocialMediaLinks.md: last_write_checksum: sha1:6cf02d67385b0fb508f1a8fa3bb0d80ea9a4cc98 - docs/models/components/SolutionJson.md: - id: 67ab9684a83d - last_write_checksum: sha1:875abb74da123f9346ee50e821999cf7f9293a10 - pristine_git_object: a794df8ee3bcf9a81b12bdfb21f8cc54775a35f7 + docs/models/components/Solution.md: + last_write_checksum: sha1:3dfabc0c09aa5f873bde081b12ec9a840422f51c docs/models/components/SolutionTypeJson.md: id: 197b44b79b61 last_write_checksum: sha1:75bdab6882929c11d2019b095139cb97aab67b6c @@ -4604,19 +4400,19 @@ trackedFiles: id: 851a72141717 last_write_checksum: sha1:963f862de071fed03476b6294f5a3806a9b010e8 pristine_git_object: 5ded506d77d5c43bae0ebf14c81c6eec91822017 - docs/models/components/SpaceAreaJson0.md: - last_write_checksum: sha1:5e8bf37b3399c38930ccaea30c14f42965ac4a24 + docs/models/components/SpaceArea.md: + last_write_checksum: sha1:7c41d51c5f1c9ddc614895e2111b88de437321fe docs/models/components/Speaker.md: id: f6e52785e520 - last_write_checksum: sha1:523bd30771848a429c2a28df44f19f712cb8629e + last_write_checksum: sha1:7d75d60960ddd209772ca39ebe985b73b9babff1 pristine_git_object: 18b29e43a6aed6ca5b535d57e58e70ab7b17a825 - docs/models/components/SpeakerCategory.md: - id: cddcc01a5539 - last_write_checksum: sha1:f070444daa5bb00d9b35bea68815553939359777 - pristine_git_object: 2f2a5f0e3fcc34f435e09a9ec73aad8b57ac01ba + docs/models/components/SpeakerCategory1.md: + last_write_checksum: sha1:f5e0f01c6576f1888cb86bf773205a260213e6ad + docs/models/components/SpeakerCategory2.md: + last_write_checksum: sha1:43928c1d92f2ad0ff764e647e9e4d216e24009a4 docs/models/components/SpeakerCategoryPaginatedResponse.md: id: d198452c1c17 - last_write_checksum: sha1:e7f7cd5ede9ad1a592b3f43a2ae567cf244294a1 + last_write_checksum: sha1:d6c0a86aac0b5dac06723500819b8dba3a4031f7 pristine_git_object: 0142a6e116d66b666290b7e6f353061d1e46109b docs/models/components/SpeakerContact.md: id: 59c856743ee7 @@ -4624,7 +4420,7 @@ trackedFiles: pristine_git_object: 0a08eecfecb29c94ed699dd4b74f77eb5a5e742e docs/models/components/SpeakerDocumentPaginatedResponse.md: id: bac4e688b791 - last_write_checksum: sha1:5ef3d2ce7ce46082c8ea0d2447d3a978018a27ba + last_write_checksum: sha1:85489c1a06268e0ffdabb78ff7add57383c21175 pristine_git_object: 51d40556900db848e383b33e04ed3697ba4fa783 docs/models/components/SpeakerEvent.md: id: fb4f5d74bb51 @@ -4655,21 +4451,19 @@ trackedFiles: last_write_checksum: sha1:1c5a8238fefed0c74df4562b4bf6ce97939ae720 pristine_git_object: e0ab1f8eac9881671863a53f6ec76704109ada82 docs/models/components/SpeakerLite.md: - last_write_checksum: sha1:7ccc92adc59af4d556176542eb576f6f25b70c98 - docs/models/components/SpeakerLiteJson.md: - id: eb90ee1bbdba - last_write_checksum: sha1:f17038179e8d51256c1882bf280aba1054445436 - pristine_git_object: 19bef301fbcfb35f974ec5c3d241ebe5e0f60251 + last_write_checksum: sha1:09bcc689c416a44430cc2815d77047b43128b424 + docs/models/components/SpeakerLite1.md: + last_write_checksum: sha1:aea5366ef6cfc8ff495842fc977b11c1d0f70c18 docs/models/components/SpeakerPaginatedResponse.md: id: deb18a0870a0 - last_write_checksum: sha1:2318dcb369de0b7155c2129d5a5361111fd7f399 + last_write_checksum: sha1:17b7b9acf63b7b4041c2064b2f3754ebd788678b pristine_git_object: 11f3b48d04c4086e1aa912428c35a440b163620a docs/models/components/SpeakerProgramItem.md: id: 2ebc5ae624bf - last_write_checksum: sha1:2c80dd38667d63665f30c16a0ff40d4fd7abc676 + last_write_checksum: sha1:c87f863da27641ceb257a4e3469ea98e8a029118 pristine_git_object: 062a231d3849a148d128b2c85869bc9f5e130f0b docs/models/components/SpeakerSession.md: - last_write_checksum: sha1:6267104675c5132a9ee60af1fd46103edef08e09 + last_write_checksum: sha1:1188de52165c8d5a8c56cf623f26d88a3abf381c docs/models/components/SpeakerSessionPaginatedResponse.md: id: 41b50f4e133b last_write_checksum: sha1:48eb4a5f89d486f3cb3cff31f3542af04eee2f18 @@ -4686,7 +4480,7 @@ trackedFiles: pristine_git_object: 69ed13bbb205e3ee39b05e1f7e24f7857979b218 docs/models/components/StakeholderJson.md: id: 745fd912115f - last_write_checksum: sha1:fb39fd7d784b918597690f4c507f637d8a66e09e + last_write_checksum: sha1:71dc3b2aeabe856ae53d1461d4a1dea487ec84b6 pristine_git_object: 88a2c1872f5cac5f77deb8e847308c72f2e3484b docs/models/components/StakeholderJsonAddressType.md: id: 94d3470443da @@ -4724,8 +4518,8 @@ trackedFiles: id: f055f46a2145 last_write_checksum: sha1:f6af8d665dc2dc6f48e66d416b75944ddcd9534e pristine_git_object: 98551fd60aed61d6292677f84af1b9e9763a64d6 - docs/models/components/StandardQuestionJson.md: - last_write_checksum: sha1:fc3c8d09cfaac36efc9bcec98348e359b11e0030 + docs/models/components/StandardQuestion.md: + last_write_checksum: sha1:4dae102757890cefd13061394bcdac001500dc7b docs/models/components/StandardSurveyEmailTemplateJson.md: id: 2c3a5b9ba141 last_write_checksum: sha1:2d798eeba53d29fcb6eb210e1f290788c9e01573 @@ -4736,11 +4530,11 @@ trackedFiles: pristine_git_object: cd0b20bc52eaf93effa08f1591bc57e0615dc6ed docs/models/components/StandardSurveyJson.md: id: 1eab329d20a5 - last_write_checksum: sha1:12499b4d736680bc555f4d0e650c88f8783107be + last_write_checksum: sha1:dd717fa77452734fbedda2e5c7532bcb4030db06 pristine_git_object: fb868e5a5f4d61e4404da9af191987bfa0f4d3ec docs/models/components/StandardSurveyQuestionJson.md: id: 5bcbaa73a0bd - last_write_checksum: sha1:d98ef008ccf54816bb3c9fc32280e95529b81dab + last_write_checksum: sha1:d39fd49ee78e718607b822161adbdd349122fe00 pristine_git_object: 5db341cc8882df2a90e560021f5585824cd1364f docs/models/components/StandardSurveyQuestionsPaginatedResponse.md: id: 6f098f7ce6c5 @@ -4813,17 +4607,15 @@ trackedFiles: last_write_checksum: sha1:9d8498074a489cd333b2a422ccbf167cb20d79e1 pristine_git_object: f447042d0ab3185fb761dc10394f034e72fbcafb docs/models/components/SupplierResponse.md: - last_write_checksum: sha1:57becaf1dfffc65092a7125507d3ee53f946b73c + last_write_checksum: sha1:84068a7e901bac3b98a27795add3a5af1a1f8dbd docs/models/components/SupplierSummaryJson.md: id: f6549a643a78 last_write_checksum: sha1:5996e9ce384cd14fe8133da8dc19e43a6d698c7f pristine_git_object: b9564795bfb8c8890e3d4eb38db1545a3b8b55c8 + docs/models/components/SupplierType.md: + last_write_checksum: sha1:03ecc2ffb92874eae79603878e0c39937f079ed8 docs/models/components/SupplierTypeJson.md: - last_write_checksum: sha1:f7b0a74589db2b8c908bb99f916dbbd575538179 - docs/models/components/SupplierTypeJson1.md: - id: 0a22c699396f - last_write_checksum: sha1:9d2ad7d605f194c9d1959f9d403a6d33d4c924e9 - pristine_git_object: fa3e74d504fc5978790bfaed823d05b0b8f3324f + last_write_checksum: sha1:b7362b861480d8ce465e8586e5c4396014135805 docs/models/components/Survey.md: id: d0120cc1210b last_write_checksum: sha1:8d253eaa786f857ec80f5026edd21fa8b0aabc22 @@ -4832,13 +4624,11 @@ trackedFiles: id: db6745238044 last_write_checksum: sha1:d850c4ec01dc93f9cc0e5ce35dda057604b0ae3c pristine_git_object: dfcf289b5b8cc05d3fbe418c6d56088a1a329749 - docs/models/components/SurveyContactIdJson.md: - id: 518cffe6ea07 - last_write_checksum: sha1:4a7a581109f2d4be7eac38957ee2abbec9d09007 - pristine_git_object: 2dbcd1d58679a6fe3f7f7211d3d89720752f4ce4 + docs/models/components/SurveyContactId.md: + last_write_checksum: sha1:6159728c752c18ba9714f7c66598dc622ea6fdd7 docs/models/components/SurveyJson.md: id: 8514d82f79c8 - last_write_checksum: sha1:5a36a63226475e29294659f8bdb3105f18c83504 + last_write_checksum: sha1:de2e11f213e8c4fcba92d20ceb53ea80bff20202 pristine_git_object: e36ad155e32a3f1505239de4c38dadf1d2aa14ea docs/models/components/SurveyResponseJson.md: id: 9f598df6e9dc @@ -4882,8 +4672,8 @@ trackedFiles: id: 00ffd91786a3 last_write_checksum: sha1:c88cb81d8f501446e36cd8f7f9354a52444d17b2 pristine_git_object: b90598b81166c701ed8a3ba51d9ad07202d07a8f - docs/models/components/TargetTypeJson.md: - last_write_checksum: sha1:e5b8a59ff8f02dc0b6aed78abb21e740e65ca478 + docs/models/components/TargetType.md: + last_write_checksum: sha1:210cbaa56d0c45712b5ab7f4b51b11b69165cec2 docs/models/components/Tax.md: last_write_checksum: sha1:de22c29d12de89a4e66a71a78ac46788bd7c5c55 docs/models/components/TaxAndFeeJson.md: @@ -4896,36 +4686,28 @@ trackedFiles: id: 041cdd3e0a80 last_write_checksum: sha1:0ccaa2c4e52c99074c79e6c53a524719ab157276 pristine_git_object: 71da5d1e8f94757b019e661c4d3e31bdf45dbfb7 - docs/models/components/TaxTypeJson.md: - id: e7a57870e6aa - last_write_checksum: sha1:a1d5793e01e8faf5b089a6fd3c5a2dbc68c6a9f7 - pristine_git_object: ab70cc245fe48e3d7cdae0979c4bb59bd7fd153f + docs/models/components/TaxType.md: + last_write_checksum: sha1:002e1cce5720e238e78e7f2e4c1b90f535b09a8d docs/models/components/TaxesPaginatedResponse.md: last_write_checksum: sha1:e883a40526352d5f4a9e3bf3aa9834af9a4c2525 - docs/models/components/TextAnswerFormatJson.md: - last_write_checksum: sha1:72380fbd7da09f89956522fc648f0fac712fbad2 + docs/models/components/TextAnswerFormat.md: + last_write_checksum: sha1:603a8045f8ecbfd1d9c02903e9b744fa887fce8b + docs/models/components/TextField.md: + last_write_checksum: sha1:888fb526b0455d394c001d0a85cb918fb10c1ee0 docs/models/components/TextFieldJson.md: - last_write_checksum: sha1:def431d47adfa835a9264b7e14bd5978b36bfed9 - docs/models/components/TextFieldJson1.md: - id: 7c677c6584cb - last_write_checksum: sha1:db2c7687cb5081e456fc5ab1bfa4c1dc844921e5 - pristine_git_object: 3aa256cd5ae8b881ec0a4723bf6ebc6b13e6733f + last_write_checksum: sha1:d9c72dcdb2d5019770c0d1681c77ac74b96a555b docs/models/components/Three.md: id: 69b86f2bf1f1 - last_write_checksum: sha1:8fbdf6ea246e2b95b5bb10076d922e6227df3da8 + last_write_checksum: sha1:681392796e7af43572ba33113270b5f589fe3987 pristine_git_object: fbad90936582d775431dfaa0386a92989db0a622 docs/models/components/ThreeInput.md: id: ef2daa70fe08 - last_write_checksum: sha1:391230f108c6e096d684fe0337c669fbe99085bf + last_write_checksum: sha1:112ea70accf4e68f9e7f5c40e8678b05ab91a8ff pristine_git_object: 14c992e6f72442143e5279d3d45d32588b7826ea - docs/models/components/ThumbnailStatusJson.md: - id: d02e606ccbb9 - last_write_checksum: sha1:df7399c7485b2446ddcec4fa52da626aa82ecd5a - pristine_git_object: aebc23bdee853024ffc1c5fc934f643784d523fe - docs/models/components/ThumbnailTypeJson.md: - id: c700854b0b10 - last_write_checksum: sha1:d40b223911d35cad4278fdcbfddd3740ace3fe5a - pristine_git_object: 1b6bcc70074a6529bbf241ed8d8a1da7fa484f31 + docs/models/components/ThumbnailStatus.md: + last_write_checksum: sha1:017d10761a72e055bd3789e5cf6ba8254cf23ad9 + docs/models/components/ThumbnailType.md: + last_write_checksum: sha1:6fe21f3dbb5b6c2d985ab480ab5a44c391578b7a docs/models/components/TicketType.md: id: 7d0c2dd9cd79 last_write_checksum: sha1:cb65e8255540b8f3ffb3ceb92aa54e990ee7a21b @@ -4951,7 +4733,7 @@ trackedFiles: last_write_checksum: sha1:4ef1dc1db7f7c3cd414f0113b06fd52686f4a162 pristine_git_object: aa58e881b10c53d23796c833e99ce0ecc85adc34 docs/models/components/TransactionDetailResponse.md: - last_write_checksum: sha1:8a731920b16048ecb2659013e51fd1636183a382 + last_write_checksum: sha1:158d0a5ebfcf5b09d5f62b305c4118a71f80aeef docs/models/components/TransactionDetailsPaginatedResponse.md: id: 5464c57b70f6 last_write_checksum: sha1:8d4dcd767dae0d801075dfd8981dcd78c9d3e4ae @@ -4963,7 +4745,7 @@ trackedFiles: docs/models/components/TransactionItemCreateInput.md: last_write_checksum: sha1:785614bcb41d569017567a609fe14a6bc509b669 docs/models/components/TransactionItemResponse.md: - last_write_checksum: sha1:0eac922ad1ef86aa273b11e09ce3c9a5ab3cd993 + last_write_checksum: sha1:f894345ebf86cd070ee86e5ceda171c98e9fb2fa docs/models/components/TransactionItemsPaginatedResponse.md: id: 8357b589f52f last_write_checksum: sha1:d523e2f0e492f52b5b2da5a2695b0321c99b8475 @@ -4998,116 +4780,62 @@ trackedFiles: pristine_git_object: 77d07fa838701f6b2986587f7e2ae6f3f5c5f04f docs/models/components/TravelAccount.md: id: c3bcc88b61fa - last_write_checksum: sha1:68109a76cc311b1179cc1d4944e05e7369f8003a + last_write_checksum: sha1:d92362d4c7ade3521fe542e23a8dea6e862b8c99 pristine_git_object: 01f294aa2ca264b9ea29e6beee42d9c07b3c6ef2 docs/models/components/TravelAccountPaginatedResponse.md: id: 797823dea873 - last_write_checksum: sha1:24ec9665a3ead87b42d46c5349ca6dc96160f240 + last_write_checksum: sha1:9097f4d9e52293821e7a2913f3783795f2ef4bf4 pristine_git_object: 526d1b36bf6254a167de4ccf2ccab6c0876c9d21 docs/models/components/TravelAccountSupplierAccount.md: id: 850cf250c5c7 - last_write_checksum: sha1:e326d98132890cba1a3dc6d793f279850fb660dc + last_write_checksum: sha1:1a9b70d59ef8380389abeec473abeec1c48e0274 pristine_git_object: 4e7222be84237ad6fb224270748e6fcc6bb099ae docs/models/components/TravelAccountSupplierAccountPaginatedResponse.md: id: 3ecaddab99e6 - last_write_checksum: sha1:5bbb3c4992914ec66ebfd120512ab44919bd8aa5 + last_write_checksum: sha1:dbbe5b3a0d2b9d3eabe27808ffb1fadce7a96481 pristine_git_object: 96e5053d9abc316467132056218f73ff45977726 docs/models/components/TravelAccountSupplierAccountTravelAccount.md: id: e47afaa4129c last_write_checksum: sha1:0aadfd366efc802144823ee0a011392bd92e1501 pristine_git_object: 4a52bd0e51f09e5095b21f50668802708daeee5f - docs/models/components/TravelAccountTypeJson.md: - id: c798242aadea - last_write_checksum: sha1:a1dc5b6f55045178417bc0cf469b50b84d67e287 - pristine_git_object: 1ece6c903c71e2aa5215c14883107e87f24f50f5 - docs/models/components/TravelAmenityJson.md: - id: af8e99ee7a44 - last_write_checksum: sha1:2f8b86999e034d5cb8c3b6874f2b4e6df3b0ce70 - pristine_git_object: eb0d7af942f910420865019ac229593ff5887c20 - docs/models/components/TravelBidAmenityJson.md: - id: d76cd8bd48c6 - last_write_checksum: sha1:11c403c62c7bc9f126715b7f01e02571f4b14e87 - pristine_git_object: 23c3281ef36507e0b878e10c738be6edfcf28537 - docs/models/components/TravelBidCommentJson.md: - id: 10e94f894dc7 - last_write_checksum: sha1:6530d25374a789c6bba6b4575d46a492c5898020 - pristine_git_object: cf200654409ec766cef5fde5a82671bdec2da3ea - docs/models/components/TravelBidDiscountJson.md: - id: c748d7ff8336 - last_write_checksum: sha1:8f607c68372a82e82969631ae341a83df5c8e900 - pristine_git_object: 75073881a5203838d73547f46605631176c11594 - docs/models/components/TravelBidDiscountJsonPropertyRoom.md: - id: 3d8e3fcb07cd - last_write_checksum: sha1:35d1020d03c544d78e1f4b1d4596efa56a0de258 - pristine_git_object: ce762b9514e7d6e02b967bfda7ebf62c09bce21e - docs/models/components/TravelBidDispositionAcceptedRoomJson.md: - id: e2cc0c370f55 - last_write_checksum: sha1:e27e1812c5cfb0b9e265b615a9b83a35aa319b37 - pristine_git_object: 260251295c64e2b152dd8df7ce017e6143ecd051 - docs/models/components/TravelBidDispositionAcceptedRoomJsonPropertyRoom.md: - id: 56a623b8f5de - last_write_checksum: sha1:b29404995614b9d7bf480a03bd7ae3f795330501 - pristine_git_object: 8448bf5af794b135d7314414cfb31b6c2e76f62e - docs/models/components/TravelBidDispositionJson.md: - id: 629ca3724b99 - last_write_checksum: sha1:a0e71eb380c4b363b38b243a377683c536552fd0 - pristine_git_object: 6b33653ac6d7a84a2e748c38967589db90076377 - docs/models/components/TravelBidFairSeasonJson.md: - id: 813903f65f41 - last_write_checksum: sha1:dc4fccc3c4bbe085edb4273f3aa999c5d9336f90 - pristine_git_object: b2ea15c0f67ae2f1f276e0550fdfdd306a38d6ec - docs/models/components/TravelBidFairSeasonRateJson.md: - id: 3c74fb16329f - last_write_checksum: sha1:a7e8472e1bf91c041931d90e3156992683fe26e8 - pristine_git_object: 9fdd326b2967067b1d94f5ce3a5395d50d5de4e4 - docs/models/components/TravelBidFairSeasonRateJsonPropertyRoom.md: - id: 1e403fd56f0a - last_write_checksum: sha1:c1671d02b3d818b123810484a9a8318b0897423f - pristine_git_object: ce77437460e8a52ab86234d22dbdeee4fdd92863 - docs/models/components/TravelBidPolicyJson.md: - id: 1a436417e250 - last_write_checksum: sha1:e28a36dd284241a535bd47cc95ca968ae5990443 - pristine_git_object: b2d1bd791b9c53075d65fca84458042786aa555d - docs/models/components/TravelBidRateJson.md: - id: c90e005535f9 - last_write_checksum: sha1:8497aa79ec33513a008d6e75f630a22ecc06fc69 - pristine_git_object: d57cb6ceaf64aa212815f1658f77694e41869f7b - docs/models/components/TravelBidRoomJson.md: - id: a504dd54b86a - last_write_checksum: sha1:88d157aa3b65c0104992b73e69fc539e09c56b5f - pristine_git_object: 36ec84393795d25c733228355a9de777a97d30da - docs/models/components/TravelBidRoomJsonPropertyRoom.md: - id: 7fda15418980 - last_write_checksum: sha1:9a62c237c255830edd1f447ed7cede994196536d - pristine_git_object: c252d1d9ddf8c7c6a114d6a7a18c38f6b0568cd8 - docs/models/components/TravelBidSeasonJson.md: - id: 49df94b4c94c - last_write_checksum: sha1:f65778098a21fd576e54a960ff8d7f532e7fc18d - pristine_git_object: d1e44996db252ad823030ccac3a63d348e77be50 - docs/models/components/TravelBidSeasonRateJson.md: - id: a641a7d7b028 - last_write_checksum: sha1:2ccc59cbcbae1f215d155b98a84856d640221815 - pristine_git_object: b18bd5223f454932ad151d17e97fd33fb6dc5c9b - docs/models/components/TravelBidSeasonRateJsonPropertyRoom.md: - id: 7f901427c863 - last_write_checksum: sha1:843ca1399347b9d81ca5fa7b472cf523936a892e - pristine_git_object: ff0d1ca4d6a9b0d0afe85cf90a68bff158872e5b - docs/models/components/TravelBidTaxFeeJson.md: - id: 84bb268b793b - last_write_checksum: sha1:8bee64a47fa3c5fbec6e32aaea1c67151d8b5364 - pristine_git_object: 1a9b02e87ad23c7b8b9a17d3ac18038da979b3d2 - docs/models/components/TravelBidWeekendDayJson.md: - id: 8c408ef9069b - last_write_checksum: sha1:e92d795cef9bb85765efa895e2315b5e09b941f2 - pristine_git_object: f48deeb77acdde5f973f070c682dbc33b0bacd90 - docs/models/components/TravelBreakOutRoomJson.md: - id: 83f78d924df7 - last_write_checksum: sha1:e88ce157b2c76ea18ecd944db362709e69f5fab3 - pristine_git_object: f24690a80fb8de258f94faef43701bdde16b9bfe - docs/models/components/TravelDayDelegateRateJson.md: - id: 84f7322cf98e - last_write_checksum: sha1:eaeb01da4425d9ee9da46b72b92a2fe0b2481307 - pristine_git_object: 34aaf31a467e63d5f1b8eb88877f336bf31c01f7 + docs/models/components/TravelAccountType.md: + last_write_checksum: sha1:b9ffbac7d44d6ec4e77c9188ab5de080288e7c1a + docs/models/components/TravelBidAmenity.md: + last_write_checksum: sha1:e01335182bbcacfe0a81a1fcf64db5141e475a81 + docs/models/components/TravelBidComment.md: + last_write_checksum: sha1:9716ed6aa945cf471e1754039aa5751e787d5d2d + docs/models/components/TravelBidDiscount.md: + last_write_checksum: sha1:45ded5330cf15df8d280488ff89e99b190a7ae3e + docs/models/components/TravelBidDiscountPropertyRoom.md: + last_write_checksum: sha1:6c1f07bc9342ec19d68a41e8714aa64563838c18 + docs/models/components/TravelBidDisposition.md: + last_write_checksum: sha1:89e74e0f442433263820bf0f50423439e744cdab + docs/models/components/TravelBidDispositionAcceptedRoom.md: + last_write_checksum: sha1:bd9a0dd6c96608cd0195aadb38304405c534b5f1 + docs/models/components/TravelBidDispositionAcceptedRoomPropertyRoom.md: + last_write_checksum: sha1:49c2e7990319e678ac1fc9b3c78d73f42e6b65e7 + docs/models/components/TravelBidFairSeason.md: + last_write_checksum: sha1:9445584dbe1f898eedbc68b6338e9ab48cd7a695 + docs/models/components/TravelBidFairSeasonRate.md: + last_write_checksum: sha1:78cbbf5f8c0470f03f79261d3f6d66630b65fbee + docs/models/components/TravelBidFairSeasonRatePropertyRoom.md: + last_write_checksum: sha1:b3836db4a3c98ecac25c783ffcfc92d963d5ea57 + docs/models/components/TravelBidPolicy.md: + last_write_checksum: sha1:ebb68edf499b78d9a5c9844b68cc64ab06eae748 + docs/models/components/TravelBidRoom.md: + last_write_checksum: sha1:e0cb965a520328a4e5aa43a59b417cda518205a4 + docs/models/components/TravelBidRoomPropertyRoom.md: + last_write_checksum: sha1:4e90713623e386f553f420911a5848537189b7ff + docs/models/components/TravelBidSeason.md: + last_write_checksum: sha1:afebaed1da360230a4e6b1285d2cef2bbf08ad25 + docs/models/components/TravelBidSeasonRate.md: + last_write_checksum: sha1:25aa1fd30f881c66febc3c4e477b0a4f3d4c6323 + docs/models/components/TravelBidSeasonRatePropertyRoom.md: + last_write_checksum: sha1:7bf9774d27d115ca2611409c6024e69c965a2583 + docs/models/components/TravelBidTaxAndFee.md: + last_write_checksum: sha1:905bf5b62cb99c4e63332a71323f692c6e686bc4 + docs/models/components/TravelBidWeekendDays.md: + last_write_checksum: sha1:20cd985a5f496a348994fab1a3fa11b4d84910b4 docs/models/components/TravelDepartureArrivalJson.md: id: d55bdd73a229 last_write_checksum: sha1:b1d7c7ac3494e3eb1d6d7cb3ae2ad51a6041cbb6 @@ -5120,73 +4848,73 @@ trackedFiles: id: 176aa1b3236f last_write_checksum: sha1:b02a81d4ea541659488a6de76e188405df2ae60d pristine_git_object: e41e031f58aaa620128cd04ed305baadae5a889d - docs/models/components/TravelGroupAndMeetingJson.md: - id: 97b842f05ffa - last_write_checksum: sha1:0e11a681f88608d60dd69b44456bdaa6cf41bbc8 - pristine_git_object: e78a03d945e0017e5d6c983f9aa043ce98ea7fc0 - docs/models/components/TravelMeetingRoomBasicInfoJson.md: - id: 211f9e9e9a9c - last_write_checksum: sha1:64acfbfbf6d44e63c45fe5b5a38c8f358a1c1ff3 - pristine_git_object: 331cfce2c441198432565d56cee25bf68d994751 docs/models/components/TravelProgram.md: id: acffaed7143a - last_write_checksum: sha1:4d2108816fa3840de74ec18eeb09080a1ff01ca4 + last_write_checksum: sha1:1ceec9df7d5d001970e1f809da6f7ed374788c4d pristine_git_object: 2aab5d4dba0b08da2afe7fa0951477889fb7de6e - docs/models/components/TravelProgramFormatTypeJson.md: - id: 98eecf1568fd - last_write_checksum: sha1:a63cc2965e78323bdff9082d59738c51573b55d2 - pristine_git_object: 601fe381f8b2525fc09ea659ff939bec1d3a7594 + docs/models/components/TravelProgramFormatType.md: + last_write_checksum: sha1:091ee6881c05a94ffd11589afd176ef21a164d53 docs/models/components/TravelProgramPaginatedResponse.md: id: 732ddd3c2971 - last_write_checksum: sha1:5df6ff6b0958cb722c9e11469126ba3133090396 + last_write_checksum: sha1:82f6732d23b243037e527710d1c8991b0bd910b3 pristine_git_object: b15e32f9ac2a5e7a1ec8033c410b56bf8139d7e3 - docs/models/components/TravelProgramQuestionJson.md: - id: 68f83c87a850 - last_write_checksum: sha1:8e7fec40eb66daa3aa2523ca6e35eb587b3a3a12 - pristine_git_object: 48ab7ec57a9f6cf41bb0783b0a13a8e1dbac1319 - docs/models/components/TravelProgramStatusJson.md: - id: 4f413ebffa17 - last_write_checksum: sha1:41ecf38102bdd7fa8dd9d54bf6128c69ef09f54b - pristine_git_object: 94e5cc1158079589acba35cd251e5961ce6af0f7 - docs/models/components/TravelProgramStayTypeJson.md: - id: b23aaa497687 - last_write_checksum: sha1:3c8695c5ea5218d66eba8c72a1ba9fdcc4677560 - pristine_git_object: 6fdc76ab871ecb051bfeea4f5b1e63c12acab21d + 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 + docs/models/components/TravelProgramStatus.md: + last_write_checksum: sha1:52258367b451115bfd1724f8c00dec4271373c3b + docs/models/components/TravelProgramStayType.md: + last_write_checksum: sha1:ec3ba7c51a7480f6c0effb90f4acd8e861f4d24d docs/models/components/TravelProgramTravelAccount.md: id: d5c642204a3c last_write_checksum: sha1:e81928684a9437662c5af51cf7b0d9b54f94f1f3 pristine_git_object: ec91dca3354a69b6910f3eb7c974a0092148c8f4 - docs/models/components/TravelProgramTypeJson.md: - id: 8942dc2560f9 - last_write_checksum: sha1:8afec4fd74b4d3803af9a147a18777f0fe5b0a08 - pristine_git_object: 1a460a12ea9761fe00b1023f56b7c5c709fc5017 + docs/models/components/TravelProgramType.md: + last_write_checksum: sha1:7a79f0254e3b9524e3cdb03189bcf1eec2591132 docs/models/components/TravelProposal.md: id: 953efd3b4ef7 - last_write_checksum: sha1:4edb638f0096138e07cd0d3bc570770e63d91ab0 + last_write_checksum: sha1:4bff7836565c16ae72de16a841eb0aa1fd5974e8 pristine_git_object: f9e570604edb4ceae2ee598ee7bec63a6bf30911 - docs/models/components/TravelProposalBid.md: - id: 6669ab1acdd7 - last_write_checksum: sha1:dcc0a6f944a96d9e88a707668991a8ca1e66f886 - pristine_git_object: 368363bb5a68fd22cbde7b0e4ea96b1f3db946dc - docs/models/components/TravelProposalBidIdJson.md: - id: 1dce11d09c3f - last_write_checksum: sha1:93a0d1f3703b4d8533a39125deb9feb56fdf0d1a - pristine_git_object: d29f86157b02b40360b9b25d8592be15d5ec7256 + docs/models/components/TravelProposalBid1.md: + last_write_checksum: sha1:73fc66ddc110c0ecf208778e32f41d4bba44a8d4 + docs/models/components/TravelProposalBid2.md: + last_write_checksum: sha1:2518f022768f7c9e079f68364eb33c8933f9ce5d docs/models/components/TravelProposalBidPaginatedResponse.md: id: 054f36dedd61 - last_write_checksum: sha1:e6197fd4cc34f747b6f56ccc895734f04361fa30 + last_write_checksum: sha1:66ced8b82195ae64744024068df0364d85811a33 pristine_git_object: 4b6c55cc6f9cd4521e32cd4a69389c5afde05e2e + docs/models/components/TravelProposalBidRate.md: + last_write_checksum: sha1:4651109a73a8e4adc742d8458ebfbd088c34fabc docs/models/components/TravelProposalBidTravelProposal.md: id: 128129c583c3 last_write_checksum: sha1:fa800f348b8a9115c0da49176d56c34f6429c8d3 pristine_git_object: ee58e5e4e23f8592faacda2a2fec5020aaed10c6 - docs/models/components/TravelProposalDispositionJson.md: - id: 8218ceda59e5 - last_write_checksum: sha1:dd1c406b9b012e1efc4086715f21c6e99a2a147a - pristine_git_object: 449af19e5290723de397cdee5ba1ef4dea2a0238 + docs/models/components/TravelProposalCustomQuestion.md: + last_write_checksum: sha1:cfa63b85a63ea039c15e852a079bdbeedd4f6d3a + docs/models/components/TravelProposalCustomQuestionQuestion.md: + last_write_checksum: sha1:bfd55cb3f56eb5ea96a77b68c535b944b4f37a55 + docs/models/components/TravelProposalDisposition.md: + last_write_checksum: sha1:8910a2ef8c444a73dc1df039a77b4e888b150e21 + docs/models/components/TravelProposalGroupAndMeeting.md: + last_write_checksum: sha1:05187bc6f9492c01a75a1fee114e4e18740ec5cb + docs/models/components/TravelProposalGroupAndMeetingAmenity.md: + last_write_checksum: sha1:9ae1e97e037cb4cf20f07ad3a6fee4cba3b79662 + docs/models/components/TravelProposalGroupAndMeetingBreakOutRoom.md: + last_write_checksum: sha1:1bb053141a56d24c1a9f15f37433d3d74b245ac1 + docs/models/components/TravelProposalGroupAndMeetingDayDelegateRate.md: + last_write_checksum: sha1:deb4cd2c1c6f02e1f0d19d9655bcc3ca7b8e7aff + docs/models/components/TravelProposalGroupAndMeetingMeetingRoomBasicInformation.md: + last_write_checksum: sha1:518dad8139be30afb57a7165d789665f23441484 + docs/models/components/TravelProposalGroupAndMeetingRunOfHouseRate.md: + last_write_checksum: sha1:70bdc3fc10e7147871c799f158e28765f35c903b + docs/models/components/TravelProposalGroupAndMeetingTaxAndServiceCharge.md: + last_write_checksum: sha1:31937b0d300528d3fc42ba795b860700b5490f2e docs/models/components/TravelProposalPaginatedResponse.md: id: 57c9b2fdd53c - last_write_checksum: sha1:15d58da7aba52d6f7d5959358b312ae713f6a064 + last_write_checksum: sha1:66196c07024b142568af8932b584816b327ed805 pristine_git_object: 42d4ffa39626574146889fe68936f74ce8d1e86a docs/models/components/TravelProposalTravelProgram.md: id: 35336bff7bb2 @@ -5194,14 +4922,6 @@ trackedFiles: pristine_git_object: e3fb9626153f9af04f2eebe65e6ab74f92e9ee78 docs/models/components/TravelRequestStatus.md: last_write_checksum: sha1:fc5ba2b5872faaf1706227762fe72ea5628b63a2 - docs/models/components/TravelRunOfHouseRateJson.md: - id: 67a768fac399 - last_write_checksum: sha1:905f3ae462d0d1f46abfd72977d11fd9867b9d6f - pristine_git_object: 223e01414720129aa3bf0419ff772e3c5d438cf4 - docs/models/components/TravelTaxAndServiceChargeJson.md: - id: b58c608ff0de - last_write_checksum: sha1:b26b62c1841ca73cce36dd1a5dd98f90cc5f3471 - pristine_git_object: c47033662265b36b9484dce3d297470eba84c7ac docs/models/components/TravelType.md: last_write_checksum: sha1:1af5fe66235b4764463a5dd247666be599c93348 docs/models/components/Two.md: @@ -5216,16 +4936,14 @@ trackedFiles: pristine_git_object: 224fcb2ad9fab74260a9733847a8f8230179c635 docs/models/components/UTMOverride.md: last_write_checksum: sha1:4f2a054dad5cec7857144332e412df190a322576 - docs/models/components/UnitPositionJson.md: - last_write_checksum: sha1:685fd063d9ef847caf64fa3737e4ce971424780e + docs/models/components/UnitPosition.md: + last_write_checksum: sha1:b845da3bedfd4efb087db37cb0efee8d7960cc5c docs/models/components/UpdateAppointmentRequest.md: id: 0783a799fd01 last_write_checksum: sha1:a979b7a4f24df9199a472e172f49d9329e21e140 pristine_git_object: 38360f3d74205bb608f22d3f71dae920009d404d - docs/models/components/UpdatedThroughNamePropertyJson.md: - id: fe97b706e759 - last_write_checksum: sha1:acca60878187107a0bbf710257a6183fb450707e - pristine_git_object: 36195278eccf3c2f1c3ea6b6fa64816e6ba1a669 + docs/models/components/UpdatedThroughNameProperty.md: + last_write_checksum: sha1:2a840ef9ba51036d05f7bed18544603e0f393d61 docs/models/components/Usage.md: last_write_checksum: sha1:9d8aeb8910e96dd5fb91c3fd81d82c0c144ebcaa docs/models/components/UsagePaginatedResponse.md: @@ -5234,7 +4952,7 @@ trackedFiles: pristine_git_object: cbe9b5f523cc4307f496063cee8c68db296a8b2d docs/models/components/User.md: id: 8f2722ab45f3 - last_write_checksum: sha1:c05b45d0e00bf4bbf21523967e06da4ea25d09e3 + last_write_checksum: sha1:10cdf23da121817fc0680cc6cd098de56db3f689 pristine_git_object: 2c91f67ec477c705b74da29a56645df2a9c74a41 docs/models/components/UserEnterpriseExtensionJson.md: id: 7f099406044f @@ -5266,11 +4984,11 @@ trackedFiles: pristine_git_object: ed0f8191c460c33221d84d8fe128fec991d92b4a docs/models/components/UserInput.md: id: a5f250c42286 - last_write_checksum: sha1:7fb94864452490e25322c9ac189840c4536e6db1 + last_write_checksum: sha1:fd07dd3aec81f8bfe863e8551bb8fe723230f34f pristine_git_object: 06691f4c969cbc3c96a8f6b6c34cbb93f3ccaa6e docs/models/components/UserJson.md: id: ac4b9c051137 - last_write_checksum: sha1:62ab429eb82b2a93d7fd2683fc0b36d1e790ca38 + last_write_checksum: sha1:374810e7acca1c75a343fc52e93de5da54b6db5d pristine_git_object: b8c511700481958f07d4ba0354971bcf534cb418 docs/models/components/UserTypeJson.md: id: 8e3288d25103 @@ -5324,7 +5042,7 @@ trackedFiles: pristine_git_object: 2926af24d727335635bf36c9547fce670b69d51f docs/models/components/VenueSummary.md: id: e40fb9a9eac9 - last_write_checksum: sha1:caeaece1c57ff1bcfb6c577d92f269621dcc40d6 + last_write_checksum: sha1:6ea8a6319d73e654a79380c9b77039d155876d57 pristine_git_object: c656e147de94a015bcfc98898cdf9ce636e6dac5 docs/models/components/Version.md: id: 4b6cfe4d1930 @@ -5334,102 +5052,72 @@ trackedFiles: id: 01d3f407c130 last_write_checksum: sha1:4ab47303f5c9a8ed5238d75f550c5919ac9c50df pristine_git_object: c9a1e8ff582137df006cbcd986cf29dc5da0110a - docs/models/components/VideoAssetIdJson.md: - id: 6b74b70d3eb2 - last_write_checksum: sha1:42107af4e854a1d781bf4ee2b6424512decd29b8 - pristine_git_object: bbe7133a3ae0b97323bb301f5b70cbdec6bf6a58 - docs/models/components/VideoClipJson.md: - id: f294cb968af3 - last_write_checksum: sha1:dfcc8379ccf51485417a18a07f5b390b834dd6da - pristine_git_object: acd570ec5a2c9af09b744659f8bee2f3185f5352 - docs/models/components/VideoErrorCodeJson.md: - id: adaaf1264511 - last_write_checksum: sha1:df92b0e9e1de305d47b47a85baa0fc56ffbfce32 - pristine_git_object: cc26e4015699d21246783530f1902627ee9b9b2d - docs/models/components/VideoErrorJson.md: - id: 605e63a5786e - last_write_checksum: sha1:73057ad337b104ba902e6dccc68f309330aa8a71 - pristine_git_object: 5d7e2639977f3bda3a296c01049ba3c639d3ee04 - docs/models/components/VideoJson.md: - last_write_checksum: sha1:8ac3d9e34fa2c5a140cddf1216b162a9dbd12d4b - docs/models/components/VideoRenditionJson.md: - id: 57d150ddf555 - last_write_checksum: sha1:0282b61b809f5319e135a9c013a03fbbe885eb03 - pristine_git_object: 60923eaf7b5382f434f258f7aef094a544c4210c - docs/models/components/VideoRenditionJsonLink.md: - id: d5cde6944c7b - last_write_checksum: sha1:7c0cbea0174259812ddec61479c2034838ac16e8 - pristine_git_object: 042ead91d233dc992d58bf57069dac37853ed473 - docs/models/components/VideoRenditionTypeJson.md: - id: 9a8c200662ee - last_write_checksum: sha1:fea1aea8fc5edcf7d183e475bd78d9cfa9ff303d - pristine_git_object: 7332e55c35900372a0470ee3f4ce992f34040633 + docs/models/components/Video1.md: + last_write_checksum: sha1:79899e50c532e7fa1826b3f12b10c867dfca2ad1 + docs/models/components/VideoAssetID.md: + last_write_checksum: sha1:6f8a7f4dceab6c14907a6b997bd8dc153b0eb523 + docs/models/components/VideoClip.md: + last_write_checksum: sha1:5ceeb0a43f0564349a3b992fba588997f548bef4 + docs/models/components/VideoError.md: + last_write_checksum: sha1:77ce84c7619f0a8c12ad382fd8aaac54afadabca + docs/models/components/VideoErrorCode.md: + last_write_checksum: sha1:3a8657f441cac3ea224c12f87e9ffe1f68a6cd49 + docs/models/components/VideoRendition.md: + last_write_checksum: sha1:7b942f46556713eaceaa1508ebd4c59f6fed41c7 + docs/models/components/VideoRenditionLink.md: + last_write_checksum: sha1:40132de41a02c473b8f5182f83b0ea3c000219a0 + docs/models/components/VideoRenditionType.md: + last_write_checksum: sha1:7d400700d9be4c6725358213cb6e9b7b65bffac5 docs/models/components/VideoRenditionsResponse.md: id: 842e5b5110dd - last_write_checksum: sha1:d6fc66ff76f9281faecf7be8e9b50171685c8698 + last_write_checksum: sha1:d98d7d49ef5e7b1a5c110fcc2849a7d6307f4730 pristine_git_object: c729f49336e40f2c07ddf9220136e918e3c53065 - docs/models/components/VideoSourceJson.md: - id: 17ef179b06ef - last_write_checksum: sha1:dc467fa5e059a781700ae4846cce661cf6ed1e67 - pristine_git_object: c3ace17919f0e8cf7134b425fa8fee5dd80c2b9a - docs/models/components/VideoSourceJsonStatus.md: - id: 8153f299060c - last_write_checksum: sha1:d5dabc71da9449d4901f319b977bc7d7f4377f30 - pristine_git_object: 45ed37e320a82cf45eb0a008fcf3a4af0d0ece3c - docs/models/components/VideoStatusJson.md: - id: ef18c84d0380 - last_write_checksum: sha1:7b008b61cf6d4f055c7bdb885eb6323ab143e7cd - pristine_git_object: d8b85a4c684366e4e8ff1a5614790df789e7f5e4 + docs/models/components/VideoSource.md: + last_write_checksum: sha1:998bb0de1a7857c547fbf789a1a5ee528b232df5 + docs/models/components/VideoSourceStatus.md: + last_write_checksum: sha1:238ba3477433f5935c4b85c98589fcb254a0f89a + docs/models/components/VideoStatus.md: + last_write_checksum: sha1:d57c3a47c139b3822861e1b7343abdf0e38f5f8c docs/models/components/VideoTextTrack.md: id: be2898c04e18 - last_write_checksum: sha1:ffac69288cf059b7421488090a1cda5097794237 + last_write_checksum: sha1:c505a53bed23cd9a93af23329f0fdd5224c7d80f pristine_git_object: 17670631879d8a715866d816b8405f125dd0e276 - docs/models/components/VideoTextTrackKindJson.md: - id: a78aa11e42a9 - last_write_checksum: sha1:a300082f77456342e90428f0849bbee2b926fc7d - pristine_git_object: 9966d512c882c44e31810cf407bb5280a29bf040 - docs/models/components/VideoTextTrackStatusJson.md: - id: 5818778a6fad - last_write_checksum: sha1:ba1c478633d99775f1d04a18a4a8eba869d39d66 - pristine_git_object: 35e052a69d4cbb144831913a5c655dd3a7c2331c + docs/models/components/VideoTextTrackKind.md: + last_write_checksum: sha1:6d6dace36995cbec8ff409100aa49b9eb791ebd0 + docs/models/components/VideoTextTrackStatus.md: + last_write_checksum: sha1:4c428f0e56135c5755b8f6b46ccf4a476211d2bc docs/models/components/VideoTextTracksResponse.md: id: cfad6ac66a41 last_write_checksum: sha1:b06f7b6bce4f14a76949be99f8f5ab056a856029 pristine_git_object: 8a1d27c4dea80260830b549ff6493b6667a5ec1f - docs/models/components/VideoThumbnailJson.md: - id: 77423f4835a0 - last_write_checksum: sha1:26e10817bbe16fe4fcfbfaac44dd08107bc40243 - pristine_git_object: f38d326ab01fd238b3c4e04fb3c097dab52e52fb - docs/models/components/VideoTypeJson.md: - id: 52dd420f0ef8 - last_write_checksum: sha1:0ac825ba5976abeff6938fbd08cd86d00cf4a39c - pristine_git_object: dd577fe44a307baa7df7d09ed3929cd64c552ebd - docs/models/components/VideoViewJson.md: - id: 36129afb4b6e - last_write_checksum: sha1:07d2ac0358c7c87ecfbc764b6cdccb56efe6f350 - pristine_git_object: e08424b4bd30bead4dce7ea823ff918f3e080068 + docs/models/components/VideoThumbnail.md: + last_write_checksum: sha1:2d1f8f69672fced4b4ceab9782b32807d8a9625f + docs/models/components/VideoType.md: + last_write_checksum: sha1:8bbac7ac5e4e2c713d2e5b2db4f523f6548d2900 + docs/models/components/VideoView.md: + last_write_checksum: sha1:4ad8c83883639a50cb5de51093179e1cff285826 docs/models/components/VideoViewsPaginatedResponse.md: id: 7e98e46c3602 - last_write_checksum: sha1:01406ba597114f3cb873c6f8b76e4f6eec380dc7 + last_write_checksum: sha1:58bdc5d18961b529cf93d1c9e2dc922ec6f46a15 pristine_git_object: 2962ed421ab4706f14fae80e5b96cf11fae075e1 - docs/models/components/VideoWarningCodeJson.md: - id: fb18f51ee76c - last_write_checksum: sha1:9ea15c104a18ad67147afebc835ab1020b9c723c - pristine_git_object: 38785cdc1fc5e7761a1be001b26902946623fe02 - docs/models/components/VideoWarningJson.md: - id: 36a59f9bd2eb - last_write_checksum: sha1:71bb8110ec7d3f4f35ae3cf4be6300260975dd06 - pristine_git_object: 97f30e1295cfd66043b69d1e1dcbf626760a4251 + docs/models/components/VideoWarning.md: + last_write_checksum: sha1:f4314b24efb726631e05c806cdd467c0621b393a + docs/models/components/VideoWarningCode.md: + last_write_checksum: sha1:4aeaccc4973d0069839a85e08f19f70295aa039b docs/models/components/VideosPaginatedResponse.md: id: c860e8168891 - last_write_checksum: sha1:5763ac7c4296187d73321014e586073d9672f76d + last_write_checksum: sha1:7af24cabb81d53d296057de9755f1f3c0726a654 pristine_git_object: 348d5be2c5a3ae82ba4623f07add1345a0265aaf - docs/models/components/ViewTypeJson1.md: - id: e380a69e2f2a - last_write_checksum: sha1:17321577187f57b1cf53725f8c816b7f6ceda5ea - pristine_git_object: ee67796c950fc879e8c5581d5053d67e49af925a + docs/models/components/ViewType1.md: + last_write_checksum: sha1:533f46ef48f5f8a7132e78d074aa9973be943b6e docs/models/components/VolumeDiscountThresholdType.md: last_write_checksum: sha1:d29e1be653ad006b43bbea50c2186af5ce095cee + docs/models/components/Voucher.md: + last_write_checksum: sha1:9b5a3aa77d104225522cdee500eb778a0ea145dc + docs/models/components/VoucherCapacity.md: + last_write_checksum: sha1:487a19bc794831b98d0cfd5e8ceb4b63005f1729 + docs/models/components/VouchersPaginatedResponse.md: + last_write_checksum: sha1:e0b3f7afdc9b5b4a9eb0d1217c71d21532eb6b34 docs/models/components/Webcast.md: id: ec318a968be5 last_write_checksum: sha1:bb7170dcc0acc5fd8e13438658c63c8ab1ac2081 @@ -5464,16 +5152,16 @@ trackedFiles: pristine_git_object: 2bad152e563256c84faf5f3d038d627249221543 docs/models/components/Weblink.md: id: 185c565023f2 - last_write_checksum: sha1:2191c02acf188d45c531d75ee6bb6f868c1f8143 + last_write_checksum: sha1:36e3c2730aa368f7ba2a989313495850edd42b9f pristine_git_object: 6a804dfa5f19a82b7cf9075a99edf38572909f2c docs/models/components/WeblinkListResponse.md: id: bbf7ab710399 last_write_checksum: sha1:b1de3b8e6a28b7313bd153a86b8903c4ef7b3c89 pristine_git_object: d1e7aeb6283444088cbfe08f4d428549ca1f5cfa - docs/models/components/WeddingDetailsJson0.md: - last_write_checksum: sha1:a83e9f2e802c6bd0983e5e6d39c5886c3f1fc919 - docs/models/components/WeddingPartnerJson.md: - last_write_checksum: sha1:ff7a42172896dcd95b8cfe83e3c1a8f3b7db5a18 + docs/models/components/WeddingDetails1.md: + last_write_checksum: sha1:e0981cf66435a4ee0174f7855c82674817e2e1da + docs/models/components/WeddingPartner.md: + last_write_checksum: sha1:ce876738c4d280242acbcf1c9355faac3cd10c1c docs/models/components/WorkAddress.md: last_write_checksum: sha1:2dcff803e8e2577342b9d748939d0478d2b2f958 docs/models/components/WorkAddressAddressInput.md: @@ -5506,14 +5194,12 @@ trackedFiles: pristine_git_object: a2a20721b69eeec428da0b450ddc0a4442082cac docs/models/components/ZeroAllOf7.md: id: d9820f5efa46 - last_write_checksum: sha1:81b48756229d8ff58bb0eeede1751d5bf92f0ef7 + last_write_checksum: sha1:8c1893d5b8c28a357480efbea3e9719843ddabb8 pristine_git_object: 2433141ef22f72110b059a6027dc1379fde86d1d docs/models/components/ZeroAllOf8.md: id: deaf98d5a4fe - last_write_checksum: sha1:264dc0b6a5a64919001cc01995b310cae1c281bf + last_write_checksum: sha1:1871548708ec2d6bfc6b1ceff5cee7964ec82632 pristine_git_object: 1c6de59e6c5b9672107ef92c094616f69962f43c - docs/models/components/ZeroAllOf9.md: - last_write_checksum: sha1:ffaf1f356f2b42a27945161bbf7f4800d7327499 docs/models/components/ZeroAnyOf.md: id: d7b818928167 last_write_checksum: sha1:7d0bcfb76af0e07cce6181a62d2a65c46c1c74e6 @@ -5539,11 +5225,11 @@ trackedFiles: last_write_checksum: sha1:9e278383a1b7946329c53705334e4bcf71a678f5 pristine_git_object: 67a0d0cafabcbe6a4b75758f2a25dc3e069c827a docs/models/errors/ErrorResponse1.md: - last_write_checksum: sha1:5a7c9af500edbc0ec68c5478070454fb7d90caba + last_write_checksum: sha1:1f06ca4838aa5ca879d01b1299efacf61e8d2d6c docs/models/errors/ErrorResponse2.md: - last_write_checksum: sha1:e01cca9f249c4113aba326ff0871e574623cafe7 - docs/models/errors/ErrorResponseJson17.md: - last_write_checksum: sha1:7eea193f0232e2407d73247671823edb9c907a2b + last_write_checksum: sha1:c89bf8b85b7f6afb10aacad16fafe4f297b440e0 + docs/models/errors/ErrorResponseJson12.md: + last_write_checksum: sha1:93847aeb2f6b40ddb8891c40e96f34f56e44bfcd docs/models/errors/SegmentsErrorResponse.md: last_write_checksum: sha1:f5a2ea8101bc4cb71ed6e2e178a2b00c2961245e docs/models/errors/ValidationCode.md: @@ -5814,11 +5500,11 @@ trackedFiles: pristine_git_object: 286c388bc4c6e5fa3056cf35786cecfcd54aef28 docs/models/operations/CreateContactsRequest.md: id: da2976b368dd - last_write_checksum: sha1:76a11072dcc75051fdf0de449c596e0d0bf2fb79 + last_write_checksum: sha1:3b8a8f954d624d16d0a37f3024ccf314f9c11719 pristine_git_object: bcb5ca70cdde09a0bc71bb9566d9b9e0856d6d98 docs/models/operations/CreateContactsResponse.md: id: 4dd15b625eed - last_write_checksum: sha1:a4683692abc3266ccd13ca8294e3c023f31b3288 + last_write_checksum: sha1:bf54ed4ed79a3e71c71742c6436b0ca19e17c96c pristine_git_object: 521a0bab354605179d0d0ed0f6bff32c1b472a2a docs/models/operations/CreateCurrencyConversionRateRequest.md: id: 99f2173b3849 @@ -6410,7 +6096,7 @@ trackedFiles: pristine_git_object: 6eb426c731b3a7b0583d7be3903fb505c2781163 docs/models/operations/GetAttendeeByIdResponse.md: id: 8f3beb670c6b - last_write_checksum: sha1:4e04d6f5d5a2374ef7a11cfb76be20ca3aa3161f + last_write_checksum: sha1:9a860197b81f446dc97b091e8c26b62044e4d93d pristine_git_object: 69648ae005b43f3b69ceb5f3513f6c944db26496 docs/models/operations/GetAttendeeCreditsRequest.md: id: 911eed30e077 @@ -6430,7 +6116,7 @@ trackedFiles: pristine_git_object: 429832d184555987c22da66a1acedb99aef5787d docs/models/operations/GetAttendeeMessagesMembersRequest.md: id: 908cb6023e44 - last_write_checksum: sha1:6928a87a1308190c642363ab5a75db62c7a3cc30 + last_write_checksum: sha1:120927f0f3e963ca4f353243b5b9bde0f23d981b pristine_git_object: 980de91b22f77fc8d501b91b27cb16a1d29be4d8 docs/models/operations/GetAttendeeMessagesMembersResponse.md: id: 4942e6d0916f @@ -7434,7 +7120,7 @@ trackedFiles: pristine_git_object: ef5cf3cd1b2b4b3d164df51317e5028ceca1f04d docs/models/operations/GetTravelProposalBidResponse.md: id: 7930b9df38eb - last_write_checksum: sha1:5e29d66adbb11d82a3b5ae465d6d8ee192946293 + last_write_checksum: sha1:5a00256b0c34a8c4f1788a5589fc72c54baffbe7 pristine_git_object: 7bfa4dac75990931a90d62cbf5ce121815a777c1 docs/models/operations/GetTravelProposalRequest.md: id: f9f20cf2ece8 @@ -7474,7 +7160,7 @@ trackedFiles: pristine_git_object: 4535e7cd63696b4c2191ad3f28f0d5cba2bfe6f1 docs/models/operations/GetVideoViewsRequest.md: id: 73b1e6356b61 - last_write_checksum: sha1:ee378169d59ee749b2d8cda373b77329e7538a61 + last_write_checksum: sha1:f1af47732bb572b6c5c5597003f5b43f170245a2 pristine_git_object: 589c93946396da92be31abf00360a369065a2bdf docs/models/operations/GetVideoViewsResponse.md: id: 1b91e9cd0a24 @@ -7742,7 +7428,7 @@ trackedFiles: pristine_git_object: f37a611f3df5b8901ef6726ddd720f6e39aa9558 docs/models/operations/ListDurationsRequest.md: id: 7e93db493762 - last_write_checksum: sha1:96cf2f391beb47dfd0780b7f90f01eae6cb8b473 + last_write_checksum: sha1:1279b7e5e8efdc03ad2a78fb0ac42dd6c6a4953a pristine_git_object: 6fbf33e5bd2d54ffb21e38c646eea9acd06bbd4c docs/models/operations/ListDurationsResponse.md: id: 0b5b37ab303f @@ -7780,6 +7466,18 @@ trackedFiles: id: 3652b414a2ae last_write_checksum: sha1:9658ce4653fbb90216ccfe35faf7ba601003e4d0 pristine_git_object: 405f7a0ac998a0e66a2514e25e54b2731cd5942c + docs/models/operations/ListEventVoucherAttendeesRequest.md: + last_write_checksum: sha1:0169dc53b1ca099f4c3d2ae654206fd08c183d64 + docs/models/operations/ListEventVoucherAttendeesResponse.md: + last_write_checksum: sha1:dced4eb50000f00380faa49ad60ad940e8ed1f13 + docs/models/operations/ListEventVouchersPostFilterRequest.md: + last_write_checksum: sha1:840853f4c5c3955afb2eec5e820be512338d72d6 + docs/models/operations/ListEventVouchersPostFilterResponse.md: + last_write_checksum: sha1:cf6be183032d4c8d247755002d7f407759f4d0db + docs/models/operations/ListEventVouchersRequest.md: + last_write_checksum: sha1:5da7763dac92b05ed5661e3d39bc907fc95f31ed + docs/models/operations/ListEventVouchersResponse.md: + last_write_checksum: sha1:61433df8f19613c9c4eccb95e2b67e2fc53ecb12 docs/models/operations/ListEventWeblinksRequest.md: id: a91fe23b16a7 last_write_checksum: sha1:6aa7c9ccdd81831c510867099692f491c7127d5f @@ -8226,7 +7924,7 @@ trackedFiles: pristine_git_object: bd8009e907d9bf31ce70e578016fdf51ecfb94f5 docs/models/operations/ListVideosRequest.md: id: d344225bde3d - last_write_checksum: sha1:b82d1acc9e43f6745999e9619a2f62b1d4b52ab9 + last_write_checksum: sha1:758cfef6d946a7f4a69262e6864babadfcd23521 pristine_git_object: 765fe7ad663363e505ef073399bb072376426a32 docs/models/operations/ListVideosResponse.md: id: e576c673381e @@ -8298,7 +7996,7 @@ trackedFiles: pristine_git_object: fb8e752d48bc527d1471ca8f445e14c57b20a911 docs/models/operations/PatchContactsResponse.md: id: 3584066a7531 - last_write_checksum: sha1:9ee37e173e770e3c281704dbb23bb53cc4523bab + last_write_checksum: sha1:5877d6d07b88316a69e18c7f01f4ea2883839f2a pristine_git_object: 79de3fbc2905699c48bb3b90eabca96e1e38a1aa docs/models/operations/PostBadgeRequest.md: id: 11da930a46e4 @@ -8502,7 +8200,7 @@ trackedFiles: pristine_git_object: be1705a3b7664057e317c00209e5b08470bdc067 docs/models/operations/UpdateAttendeeResponse.md: id: 159f5fdf1b3a - last_write_checksum: sha1:1dc81bd70ca9c2955387ef9414e9cf99001daaa4 + last_write_checksum: sha1:8ff1c915a58d62181971d40416b912917ce1d54b pristine_git_object: f9f208fb27dd15b3e9f6530784b552de6e7552e8 docs/models/operations/UpdateAttendeeSubscriptionStatusRequest.md: last_write_checksum: sha1:798a0b27b461918f97f3ecbce08d9e1eb50aeb7d @@ -8586,7 +8284,7 @@ trackedFiles: pristine_git_object: de342716a0bcfd4c7be68f9b44682c6a34a540f1 docs/models/operations/UpdateContactsResponse.md: id: 522e9ea082e8 - last_write_checksum: sha1:85278395b2077ffe4921f6e53566ed0efe29de10 + last_write_checksum: sha1:f9aeb72dfcc69f1a22bbacd195a12e05caf0b377 pristine_git_object: ed4332367645fb7314d4fc688ea6128ed8ecf78f docs/models/operations/UpdateCurrencyConversionRateRequest.md: id: 1ebe966725d8 @@ -8902,7 +8600,7 @@ trackedFiles: pristine_git_object: dc8248beb5ab08b1957b7e3c240d8c6ad33db2fb docs/sdks/appointments/README.md: id: f122535fcc9f - last_write_checksum: sha1:77d0e28fa762847a73f38c59ee4f1bf925a535af + last_write_checksum: sha1:d5f127cf16928dbbaf5cbffd10b5a154eb0416bf pristine_git_object: 8509855747daa882647fa8fa6fc9b5906a19880e docs/sdks/attendeeactivities/README.md: id: ffb26672cefc @@ -8918,11 +8616,11 @@ trackedFiles: pristine_git_object: 704005d199d199defd2dbf54d34ee99a49527bce docs/sdks/attendees/README.md: id: 99bffbf21091 - last_write_checksum: sha1:c771322d4e2f2f2a071cb6676117d18057796fa6 + last_write_checksum: sha1:bb9a884be6a061763abdb53da082d2a18c6470b8 pristine_git_object: 51133187a510f849cafd047132648b314d92466c docs/sdks/audiencesegments/README.md: id: a2ccf2d6ee02 - last_write_checksum: sha1:66007ecc0fa54ae9092084e3f25104dfdb8d962a + last_write_checksum: sha1:a51436927d6f3be96c4b313812f98ad94a56a3d8 pristine_git_object: fe570960f8125e64c67cb596c370b7ef40138496 docs/sdks/authentication/README.md: id: 45be241adfc3 @@ -8942,7 +8640,7 @@ trackedFiles: pristine_git_object: 8d01dfa38c11983a4f3a9c2f131fb0f8baf3da07 docs/sdks/bulk/README.md: id: fa4bd7a4682a - last_write_checksum: sha1:49c5a9ccc33cbbe89b257d22e15e5072c2f792b9 + last_write_checksum: sha1:7828c4be14f57dbf245340aa66c88774311325f1 pristine_git_object: 5d46b140151d54af34676b1f814f009e603239cf docs/sdks/campaigns/README.md: id: 18dcc3c717ca @@ -8958,11 +8656,11 @@ trackedFiles: pristine_git_object: 8640068862d51e6fb5f81c9a64571ababf83b978 docs/sdks/contacts/README.md: id: 4174fb287a81 - last_write_checksum: sha1:15a2a23eb911692f82264ae7238e4f9171d0085f + last_write_checksum: sha1:572904f53a0bfddf3e3e53f52120e61cb60e797c pristine_git_object: eeda9f92822eda06457447bb5c632a14f1b03f39 docs/sdks/customfields/README.md: id: a205cef73249 - last_write_checksum: sha1:87b1818065517e593be9d61c8490349534cc3eb6 + last_write_checksum: sha1:6300691733aa957f945fd9d60e7ec80d40a08ad9 pristine_git_object: d476788bc8db400f6e69e31315ce1c89ac4b3212 docs/sdks/discounts/README.md: id: "000723261694" @@ -8986,7 +8684,7 @@ trackedFiles: pristine_git_object: 9b702106766b9fcad1fd2dde1cb5b2b424719715 docs/sdks/events/README.md: id: cf45a4390b9b - last_write_checksum: sha1:6b21dc34596d07a43e0f66e7936b31dea0f688ca + last_write_checksum: sha1:725a47e82dd578c48d7328495dc8d09e267a7f56 pristine_git_object: a155c9c995555e8cf43829631cc8a236fd354da4 docs/sdks/eventsplushub/README.md: id: 5f184d5bdfcc @@ -8998,15 +8696,15 @@ trackedFiles: pristine_git_object: eede402a85e1da20c1034fe85358d6075234a769 docs/sdks/exhibitor/README.md: id: cb0578099210 - last_write_checksum: sha1:e09805786d463c437b41aea8f1e713bcda6b863d + last_write_checksum: sha1:360b78f08023813b3ea6beafd3d28331025fbcff pristine_git_object: 0602007e1d41c51681c190985c6cff8d835cc46e docs/sdks/exhibitorcontent/README.md: id: 7cecd37f6b66 - last_write_checksum: sha1:bfedfe7d7657765c036ead3049e51895141494ce + last_write_checksum: sha1:eb6d8d136395134a62739a2879ad917a880a388d pristine_git_object: e6d9116287aa63517ede1aed81dbf053cc7cbb46 docs/sdks/exhibitorteam/README.md: id: f5b7c80d738e - last_write_checksum: sha1:e101425251191d1b64c29949a6e48439c885e0b0 + last_write_checksum: sha1:6ad6734926535dacdb57ed4c420ebff0bf6fa937 pristine_git_object: 1d1f063cae353ff50936d7fa265eda6a25650e28 docs/sdks/file/README.md: id: 2e0e7ec90c9f @@ -9018,7 +8716,7 @@ trackedFiles: pristine_git_object: 64614977cacbd8d9340bd37af4b21d6e245bfc14 docs/sdks/housing/README.md: id: 23d65d817ab8 - last_write_checksum: sha1:119550f780c138183bf30590e68723b26af0f1d1 + last_write_checksum: sha1:428adca6f92a43a7131a4e3d1b2ce6a6c098e985 pristine_git_object: 4211bb0d355200b83a1e58a261371acf7a12452d docs/sdks/housinghotels/README.md: id: d04ff5412c59 @@ -9030,7 +8728,7 @@ trackedFiles: pristine_git_object: cef4027abf852decdaba1e2f5620e2af00029ca9 docs/sdks/meetingrequest/README.md: id: 4d8d5f5fd977 - last_write_checksum: sha1:98f00f8cd3a0493b41c57a958b81063c7b395d87 + last_write_checksum: sha1:228823eb19d9bc13b107b5733bfe8b07fa29654f pristine_git_object: 0179b4309efed6c06dc31e70ac235bf1de619337 docs/sdks/processform/README.md: id: 0d23c161e66c @@ -9038,7 +8736,7 @@ trackedFiles: pristine_git_object: bd70f8951ff7385943c70d2e8828be235ee430ef docs/sdks/proposaldraft/README.md: id: 243fdf3f28f8 - last_write_checksum: sha1:0691428cd33328afdcc54e907b1fe3794ff7dec5 + last_write_checksum: sha1:476b5e6b74673c711c4d40017847d2d1e2b0ccd4 pristine_git_object: e4bc50e4601b44abc2f0a6af9d8c924a77474d9f docs/sdks/rfpadditionaldetails/README.md: last_write_checksum: sha1:f270800d2b99cb8eebedcb904086b97b03752594 @@ -9054,7 +8752,7 @@ trackedFiles: pristine_git_object: a047004e380c4d0dc2430aa76f8b1330421fd65e docs/sdks/sessions/README.md: id: 57ad62844f79 - last_write_checksum: sha1:d12dc8b1bc033627c30edb5df508e0d54009b12a + last_write_checksum: sha1:79af5908f9aa616f9d0b8740fea6aa64c2ac713e pristine_git_object: 0e8cf3ad90aa82beb79ed33bb9d33ce437783a87 docs/sdks/signatures/README.md: id: d0ea24deff8f @@ -9062,7 +8760,7 @@ trackedFiles: pristine_git_object: edf8aa05303b34155cfb67f9f418c340f7ee6e19 docs/sdks/speakers/README.md: id: 21a0d65de4a5 - last_write_checksum: sha1:e22b909a4360367698e7db35afe822bab9aaadfd + last_write_checksum: sha1:6d242bd769102f4fda5453538b855829d7232805 pristine_git_object: 118e111b964ba99c3bae0466bc3362af503548ff docs/sdks/surveys/README.md: id: b7f48111aedf @@ -9090,11 +8788,11 @@ trackedFiles: pristine_git_object: e340e49b38b5531e795df74195ccaed5136eb492 docs/sdks/userscim/README.md: id: 50529a579425 - last_write_checksum: sha1:4b9282bd6f1e0c7bc3e6023544f4b622b3124061 + last_write_checksum: sha1:1c0279276bbf97b834920b2844d6b85993a809fc pristine_git_object: ce24bc35e6c90e161c09b86666c9b6463dafae29 docs/sdks/video/README.md: id: 0b01dca84f9e - last_write_checksum: sha1:2064fce5da6468fc56112b253113a521ae1fb538 + last_write_checksum: sha1:82fe2c5a2fca3c90099e496b31664ad4df5dcb9e pristine_git_object: 739798bbab56dace58297b02ec7b27291cf60518 docs/sdks/webcasts/README.md: id: c8f61e26dc11 @@ -9106,7 +8804,7 @@ trackedFiles: pristine_git_object: cda742065b0bb30407900c4d39885b8db164b9b4 gradle.properties: id: 2afbb999f001 - last_write_checksum: sha1:8d56c0dbc5f68478293d4362e967643b5f08d70c + last_write_checksum: sha1:653352cf89e5db23707b7968fdc61cab4c8fb932 pristine_git_object: 6da141a8453a679109d12dba513b6d08b9e37fd5 gradle/wrapper/gradle-wrapper.jar: id: ec27dae6e852 @@ -9230,7 +8928,7 @@ trackedFiles: pristine_git_object: 16d95816508b654f63c788cf9d926f65d4f51595 src/main/java/com/cvent/AsyncEvents.java: id: f0df984cd544 - last_write_checksum: sha1:7c8fce94042ad49da6f3c1bb64ecc32c0c88a7f8 + last_write_checksum: sha1:2a701a9d905a05a68ed61841bc132afdca83a732 pristine_git_object: 807ef57d30ff958436aa808f07a18f7315f48b5e src/main/java/com/cvent/AsyncEventsPlusHub.java: id: def02d8cf79e @@ -9302,7 +9000,7 @@ trackedFiles: pristine_git_object: 43601fcb34fd49f1b0d0273c5ba95489452a5df2 src/main/java/com/cvent/AsyncSpeakers.java: id: 2c79e94fb925 - last_write_checksum: sha1:abe2963c94a512bb0cf9870e176ece15cbdd1693 + last_write_checksum: sha1:8e3291f6d36669b342ee72b1178e283f24b2208c pristine_git_object: 5ed404a5afe794d685312608112fed90cc455e6f src/main/java/com/cvent/AsyncSurveys.java: id: 49e0de06d799 @@ -9430,7 +9128,7 @@ trackedFiles: pristine_git_object: 9c4626406e5a8b2354048223d94a1bc35af42648 src/main/java/com/cvent/Events.java: id: a10ccc6cdc25 - last_write_checksum: sha1:1d08a040b10084b78fe812109fb027b91132b94d + last_write_checksum: sha1:25b7288e5b516bddcb480de365bec5e7f572c26a pristine_git_object: 0ec187cf4b221451090af7411e098968c6c1df7b src/main/java/com/cvent/EventsPlusHub.java: id: b4035ceab44b @@ -9490,7 +9188,7 @@ trackedFiles: last_write_checksum: sha1:0396671d6b0de814aaa27700f35eed30523c66ed src/main/java/com/cvent/SDKConfiguration.java: id: cdb9837839f5 - last_write_checksum: sha1:8bc6dcfd7b10af419bdac5c122031f55978c7fea + last_write_checksum: sha1:4a432d4ee49c86ea93aab3ee27c1ff869e076c12 pristine_git_object: 4b98b23f51bc18bad5890089f44055b6187ed9f0 src/main/java/com/cvent/Seating.java: id: 70583b24bb9b @@ -9510,7 +9208,7 @@ trackedFiles: pristine_git_object: 33932f25f3d5d7639bf320197395144ddb55669b src/main/java/com/cvent/Speakers.java: id: e0eff66088ab - last_write_checksum: sha1:675c9a539c0491b9a145a8b9fe6af48d301ab84b + last_write_checksum: sha1:ffc80a466e583faeac76b77470e73746a62c6ce9 pristine_git_object: 412168fbfec1f9f5928d268426ee7760f1b337fb src/main/java/com/cvent/Surveys.java: id: 11d9d64426a8 @@ -9554,7 +9252,7 @@ trackedFiles: pristine_git_object: babc77d8af94b46530cb1522e0d790ed3821cbbf src/main/java/com/cvent/hooks/OAuth2Scopes.java: id: 796ee1ea9f11 - last_write_checksum: sha1:aac6d5e896f8a5ffd1f7de1899df4698c2600c1d + last_write_checksum: sha1:1678c72b5290bf84a6175ad84e637c7926c8548b pristine_git_object: 5e0d00a270318551de3675f94ccb2e418a47126e src/main/java/com/cvent/models/callbacks/CreateContactHookContactTransactionCallbackResponse.java: id: 36b27dee8ec2 @@ -9576,12 +9274,14 @@ trackedFiles: pristine_git_object: 5a43dfd072e4b7ce37ad3e487bfa17ddcffec898 src/main/java/com/cvent/models/components/AccountBudgetItemListResponseJson.java: id: fe2c8b19e81d - last_write_checksum: sha1:3d0f2c9898a51ea221df3d223fa405c6811c2791 + last_write_checksum: sha1:d9ef345171ed1257f7560fd2cfaaa46ae9592f45 pristine_git_object: 5940d47546af5dc5d9c0f30c90b254b105914ec1 src/main/java/com/cvent/models/components/AccountBudgetItemsPaginatedResponse.java: id: f62d268bf28c last_write_checksum: sha1:7f7ffd23af34d30461d9c9956f3ebfda696ec5fe pristine_git_object: c5b4706d39939d1a730a5bd70a0d1e0510645ef0 + src/main/java/com/cvent/models/components/Action.java: + last_write_checksum: sha1:68646d944845e7b02b5aae66f940cd73dcfec876 src/main/java/com/cvent/models/components/ActivityAdJson.java: id: b48c9797cfda last_write_checksum: sha1:ef8ef0e2ec91af2b0d13b2c981f6399ee7b44e07 @@ -9723,57 +9423,45 @@ trackedFiles: last_write_checksum: sha1:202bd4369eb22c2d1d7bd97fc6cb47ed6634d0de pristine_git_object: 8037e3de666ab0bcaa7079ee0b6b857839440865 src/main/java/com/cvent/models/components/AdditionalChoice.java: - last_write_checksum: sha1:065d9f50129e9af820125d77726669f050c3c54e - src/main/java/com/cvent/models/components/AdditionalChoiceJson1.java: - last_write_checksum: sha1:97c947106a035397fec0b37906c9f3158e1c0b71 - src/main/java/com/cvent/models/components/AdditionalChoiceJson2.java: - last_write_checksum: sha1:3f3767b058b76e6d23f7ae61176c9893bb80b3dd + last_write_checksum: sha1:51aff03af85b7fc2f329459d8432e57a5dbd5aba + src/main/java/com/cvent/models/components/AdditionalChoice1.java: + last_write_checksum: sha1:b36d1d36b2809fa069b10a664e59cf3ecfcda09f + src/main/java/com/cvent/models/components/AdditionalChoiceJson.java: + last_write_checksum: sha1:53eaeb3d6013b82ebc69eced162a48ae97020b5d src/main/java/com/cvent/models/components/AdditionalGuestFeesJson.java: id: 544f0629bfec last_write_checksum: sha1:a3dc5b30510ec20a393cfc7a7ef3fe78fe5152e6 pristine_git_object: 19baa3c22b0f9e22d489f09cc6afb6ce907cbe80 + src/main/java/com/cvent/models/components/Address.java: + last_write_checksum: sha1:f7cf2f706df1336918347e8c3546dda127c3c82b + src/main/java/com/cvent/models/components/Address1.java: + last_write_checksum: sha1:6be65d16d5728b75fc05f66f33e56d95301edac3 src/main/java/com/cvent/models/components/Address11.java: - last_write_checksum: sha1:0fe71d81cea28ccc01d57daa7c7ce90ac74fb2a1 - src/main/java/com/cvent/models/components/Address12.java: - last_write_checksum: sha1:3ba368fed96032ecc8b3a663d525158b557a068b - src/main/java/com/cvent/models/components/Address2.java: - last_write_checksum: sha1:eed88d71a74e29726b27d8f6bc2a59b01df2abec + last_write_checksum: sha1:abfcf86bb84f4f932e80eaa09f08545f55ac4573 src/main/java/com/cvent/models/components/Address3.java: - last_write_checksum: sha1:cfe5c4c355fc3850bccb377475ae56a64d467a87 + last_write_checksum: sha1:deb9d509574d02e00d1f63b2e2b420ce07e870df + src/main/java/com/cvent/models/components/Address4.java: + last_write_checksum: sha1:78de38d639452bed88cc35a2ee31caa455a539ab + src/main/java/com/cvent/models/components/Address5.java: + last_write_checksum: sha1:0752cb0f6f2cfb7d476ecccf51784cd5511bb9e4 + src/main/java/com/cvent/models/components/Address6.java: + last_write_checksum: sha1:249f798d17cc7d907c7c39f01c26cb83b8bb1bef + src/main/java/com/cvent/models/components/AddressInput.java: + last_write_checksum: sha1:bea2c7a59dfe5eb47a88524e72acf2dd834c2479 src/main/java/com/cvent/models/components/AddressJson.java: id: 6308f5795b84 - last_write_checksum: sha1:20dfcb4a8ae23fb0491c679d2f30cf1070d1e383 + last_write_checksum: sha1:1bf443fc02e7d06c8570e59f7f534bb8029b16ee pristine_git_object: 02d35db07a56c928d13de96bdecd2890c8e13343 - src/main/java/com/cvent/models/components/AddressJson0.java: - last_write_checksum: sha1:7ca3b103f6d6efc0e3b7511460df43625265e700 + src/main/java/com/cvent/models/components/AddressJson1.java: + last_write_checksum: sha1:5c5503b25d5a4d1120f00fd2dfe2d550290df217 src/main/java/com/cvent/models/components/AddressJson2.java: - last_write_checksum: sha1:4bcc6b022cfc9a25d5ece1bdb8ceb2887345d65f - src/main/java/com/cvent/models/components/AddressJson3.java: - id: 55787e23e9f4 - last_write_checksum: sha1:4b73fa8137bf3d95cd03d22ce0fdad76a3b9d5f8 - pristine_git_object: 3d3e1a9b4c7dad3d2cdb5ffa0025b956a5b5d3f4 - src/main/java/com/cvent/models/components/AddressJson4.java: - id: 3bdafa1358ba - last_write_checksum: sha1:6349a0e88180d3fe83c8a6a830910fde01af3cc0 - pristine_git_object: 5d19005351c44323f194793a2c19acb3fb692645 - src/main/java/com/cvent/models/components/AddressJson5.java: - id: 449624e98e8f - last_write_checksum: sha1:7e6c8bc9982392c98366e5ea5761ce759b34e2a0 - pristine_git_object: a023190e289f21e693d3681d5b1435253ead94bb - src/main/java/com/cvent/models/components/AddressJsonInput.java: - id: 52184c278a37 - last_write_checksum: sha1:86d85c5cc7a05a7033c2494909c88c0acd51489d - pristine_git_object: 48794a040389cc329327f9be83a000cc3d43df24 + last_write_checksum: sha1:21470ddde0a088b1c11501c60debae31a4ae7091 src/main/java/com/cvent/models/components/AddressType.java: last_write_checksum: sha1:9972ba6164e02173869cb423a87e5547ea6fa1dd src/main/java/com/cvent/models/components/AddressTypeJson.java: id: 891cc2d98e59 - last_write_checksum: sha1:f3fc034f6dcb3dcfe14e4772d4e06e5b28f8e89d + last_write_checksum: sha1:4b17f33939d1dc1b500545296fc1bfd1b25de9fc pristine_git_object: b99f866f4cd628f433bb5fe0e464cf1f8d2302d8 - src/main/java/com/cvent/models/components/AddressTypeJson1.java: - id: 853d23190ed2 - last_write_checksum: sha1:135b04d8f9c10347283fe1229323458d9558d0a9 - pristine_git_object: 6f2def4383074cafcecd0b6575497ef7e2f8978c src/main/java/com/cvent/models/components/AdmissionItemsPaginatedResponse.java: id: 76eb1c599497 last_write_checksum: sha1:f615fdbd26b8b1fb9792d6c707850f795918bc66 @@ -9802,10 +9490,10 @@ trackedFiles: pristine_git_object: f991548faa39cf238dc097ec947d0391a0b88be7 src/main/java/com/cvent/models/components/AgendaItem1.java: last_write_checksum: sha1:8530e7c484a3549dd6d0521d1bb2601f57311eab - src/main/java/com/cvent/models/components/AgendaItemSetupJson.java: - last_write_checksum: sha1:cb83473fc6fc928a4bc6bed6ab4a2bbbc99b2344 - src/main/java/com/cvent/models/components/AgendaItemTypeJson.java: - last_write_checksum: sha1:f7742047d13b2c4ad267531be81d883c6c3f60ac + src/main/java/com/cvent/models/components/AgendaItemSetup.java: + last_write_checksum: sha1:05197d1ad36cca65326e410cb4a6131e06d51a92 + src/main/java/com/cvent/models/components/AgendaItemType.java: + last_write_checksum: sha1:371a874431c87c5594431c28b24646888e8fa8ff src/main/java/com/cvent/models/components/AggregatedCostJson.java: id: c11dfe3921b2 last_write_checksum: sha1:709765e29f9d9f290ba0eedb336cd516c672a639 @@ -9854,10 +9542,8 @@ trackedFiles: last_write_checksum: sha1:04dd7f97c87ebd0cf377437ddf9a5dcbe0b2c6ad src/main/java/com/cvent/models/components/AlternateTravelPaginatedResponsePaging.java: last_write_checksum: sha1:fe48dc49da7b200a7b1bf0c117271074dee72414 - src/main/java/com/cvent/models/components/AmenityTypeJson.java: - id: 7d6b5545c677 - last_write_checksum: sha1:0f6cc106b957613540d4674b06ca1bbebb1ca524 - pristine_git_object: ee692bf8276a13a12d6eb17f54171b166d665e8a + src/main/java/com/cvent/models/components/AmenityType.java: + last_write_checksum: sha1:e419fa74fe311129920ec4312528d14c24ae023c src/main/java/com/cvent/models/components/AmountType.java: id: a3e65fa1c25d last_write_checksum: sha1:0999d11f0a2a3cb9f5b8011b2cf03ef0473f6b48 @@ -10009,19 +9695,15 @@ trackedFiles: last_write_checksum: sha1:059e1bcfb4f0eb1f26bc67a28829ce51cffa76ff pristine_git_object: b81055663c5780386ce6f1a4e544217272fcfade src/main/java/com/cvent/models/components/AppointmentWithQuestions.java: - last_write_checksum: sha1:f9ed1805a0c3d47cd2977c02dce682806597cd7f + last_write_checksum: sha1:48b2ca7c34e71b5e3aa2df882608defb09a2daf8 src/main/java/com/cvent/models/components/AppointmentWithQuestionsLocation.java: last_write_checksum: sha1:6f448079b9769afa2824b074caba0e52ed71007d src/main/java/com/cvent/models/components/AppointmentWithQuestionsType.java: last_write_checksum: sha1:ffe1de2e44b70da3a0f25a966bea5880272af92c - src/main/java/com/cvent/models/components/AssetLocationJson.java: - id: cf709e8d42a5 - last_write_checksum: sha1:1e16033742fa620687a8958486eff06ea3bb9b0f - pristine_git_object: b604fef7f642d94dd7c636961ac3f2c17a94d543 - src/main/java/com/cvent/models/components/AssetLocationJsonInput.java: - id: c91b4f8fa5ef - last_write_checksum: sha1:16518f0cdd46c64c4e3a0bf0bf1de1fe8d1f8d22 - pristine_git_object: 8402cc44df01995e767484f9c87c57356901e7bf + src/main/java/com/cvent/models/components/AssetLocation.java: + last_write_checksum: sha1:f1f3695b2017bdc8c68604a093de2b87e1bd0432 + src/main/java/com/cvent/models/components/AssetLocationInput.java: + last_write_checksum: sha1:9a2d4200416ed10bb412474dc028d4973a33ea8d src/main/java/com/cvent/models/components/AssociatedRegistrationPathJson.java: id: 3b44139118ab last_write_checksum: sha1:894f8b693931f23f51016ff9f7646c4ef6c92554 @@ -10030,16 +9712,22 @@ trackedFiles: id: fb9827a39c92 last_write_checksum: sha1:d487ba90cadf569b37df30cbf408f5cd9b4a0e56 pristine_git_object: a83027d1c573925c2fb173fb79265e65aa5c13f7 - src/main/java/com/cvent/models/components/AttachmentSourceJson.java: - last_write_checksum: sha1:aaa3d10b9559e8e023cd56bdea60bcdca8836fa6 - src/main/java/com/cvent/models/components/Attendee1.java: - last_write_checksum: sha1:ca4191a42e138461ea8c598eaa56f700348ce7bc + src/main/java/com/cvent/models/components/AttachmentSource.java: + last_write_checksum: sha1:5a43c9bdb8514114b9d824586c8880926cffcae0 + src/main/java/com/cvent/models/components/Attendee.java: + last_write_checksum: sha1:29e1cfbd20948b1811f0c21a6b149f7cc465b2a3 src/main/java/com/cvent/models/components/Attendee11.java: - last_write_checksum: sha1:b67a11ca1be69967f72541dec888f2a8519db0ed + last_write_checksum: sha1:6073ad6a817597cfe3e3490b4370dffe442284d2 src/main/java/com/cvent/models/components/Attendee12.java: - last_write_checksum: sha1:b9dbf8f675cc0e4d6dba640149c73011603f0616 + last_write_checksum: sha1:3dcfd7dc3cfd057bfa15c5204943ab4942d67dd1 + src/main/java/com/cvent/models/components/Attendee13.java: + last_write_checksum: sha1:45f171118d7da1b80fd4a002928880aab3d1828d + src/main/java/com/cvent/models/components/Attendee1Event.java: + last_write_checksum: sha1:f11df7e83ee9b7a7e034d08584d28e13541d82f8 + src/main/java/com/cvent/models/components/Attendee1Lookup.java: + last_write_checksum: sha1:0e19d0ac24fad4f1233d37e1a2e061aa5dede320 src/main/java/com/cvent/models/components/Attendee2.java: - last_write_checksum: sha1:1100e80296ab954ad1baa2f571578b1f6bb4dca8 + last_write_checksum: sha1:1594338e47cad65fb5b2ed32b67a4ab1178cb02b src/main/java/com/cvent/models/components/Attendee3.java: last_write_checksum: sha1:01b6bd1db9c6a76703be0a76236da5b8da78145f src/main/java/com/cvent/models/components/AttendeeActivitiesPaginatedResponse.java: @@ -10062,12 +9750,12 @@ trackedFiles: pristine_git_object: cf6bdabe8235bc544c25de11eba8d43854aba9b3 src/main/java/com/cvent/models/components/AttendeeAddBulkItemEventJsonErrorResponse.java: id: 5f9637e39d00 - last_write_checksum: sha1:0f029775cab53f86640706bdf695475d33fb1248 + last_write_checksum: sha1:139991062ba32c246bea067292a2b713b99ab693 pristine_git_object: 934316300bd2f81d4b76380e7a4c4ff5271174ad src/main/java/com/cvent/models/components/AttendeeAddBulkItemJson.java: last_write_checksum: sha1:cf2582db1159ccc6fa6d9bcfe5e4c5ace2d01108 src/main/java/com/cvent/models/components/AttendeeAddBulkItemJsonData.java: - last_write_checksum: sha1:7360735147238691fa9cd9df227c363838e8a895 + last_write_checksum: sha1:b63e5f0de1229ddee16a5da482447d01797004ca src/main/java/com/cvent/models/components/AttendeeAddContact.java: last_write_checksum: sha1:2ca556c3b6ba73a2c4d742ae6a1b521b04143e29 src/main/java/com/cvent/models/components/AttendeeAddEvent.java: @@ -10107,19 +9795,13 @@ trackedFiles: src/main/java/com/cvent/models/components/AttendeeAudienceSegmentAssociationsPaginatedResponse.java: last_write_checksum: sha1:108ca2711383307946a2d28bac9eeb05ead80dbc src/main/java/com/cvent/models/components/AttendeeContactInfo.java: - last_write_checksum: sha1:e8587d00918925c1b7bb8eb86a4a8734f6ff01b1 + last_write_checksum: sha1:84f092a6ab99bb30578fb841b3fd92ef36b57be7 src/main/java/com/cvent/models/components/AttendeeContactMembership.java: last_write_checksum: sha1:f0dce922f5811531e8ca355cf754a7f2e053805d src/main/java/com/cvent/models/components/AttendeeContactType.java: last_write_checksum: sha1:c629d33425e4a2eb28fddb46d8382809c886aed6 - src/main/java/com/cvent/models/components/AttendeeContactTypeJson.java: - id: e9147854c594 - last_write_checksum: sha1:d7494a8890142f6f34d3ef70a3c71ccc5f1ec5a7 - pristine_git_object: f6a75e91b81bcd257f41ddc9a66e0cc5e45132a3 - src/main/java/com/cvent/models/components/AttendeeContactTypeJsonInput.java: - id: 3034dcc12397 - last_write_checksum: sha1:add0b8800c107106d48011b2fe70299cd8dc30fc - pristine_git_object: ef2fea4ac35dc4613dfde284ab0a2fc84efe0973 + src/main/java/com/cvent/models/components/AttendeeContactTypeInput.java: + last_write_checksum: sha1:087fc3dfeb6bb05d2ddeaaaa50928f58f40dde05 src/main/java/com/cvent/models/components/AttendeeCreditJson.java: id: 6ee36336f086 last_write_checksum: sha1:2de807df591d6850a019b121075bf4492335193b @@ -10144,15 +9826,11 @@ trackedFiles: id: 3715a1aaa7f7 last_write_checksum: sha1:5623e6de8ffc2cb128525476ce55405db828f9d4 pristine_git_object: c41aaa88addcb5bc780110140dbc685f84a5d637 - src/main/java/com/cvent/models/components/AttendeeEvent.java: - id: 0b2bcfa1a139 - last_write_checksum: sha1:c512a84adc0f7cd921592c52cbe23572e150d13c - pristine_git_object: 49ed358404dafc58d18a208cdbb95289ced395df src/main/java/com/cvent/models/components/AttendeeGroup.java: last_write_checksum: sha1:a16bb875fcf137f1338d145295f3d6b9f07a498b src/main/java/com/cvent/models/components/AttendeeInsights.java: id: fe78fb341233 - last_write_checksum: sha1:048df1a852fb11cde60533e77ba1b3c402e6ee87 + last_write_checksum: sha1:f81e62ab6a99fa6c47679c8d745df3d44f9f2bd7 pristine_git_object: 8ba31dfecd76e179bba633ba7dab3b74192e9ffc src/main/java/com/cvent/models/components/AttendeeInsightsPaginatedResponse.java: id: edd9cede4bde @@ -10190,19 +9868,15 @@ trackedFiles: pristine_git_object: 632573c3b3f6a0ef0b6f4aaca8f278ec1aa6ecaa src/main/java/com/cvent/models/components/AttendeeLinkBulkResponseItemJsonData.java: id: f968a3991cb4 - last_write_checksum: sha1:46acaa2f317daa485566bc8cbf0dd4ad50ef9de7 + last_write_checksum: sha1:3c55e26c9d2755546a21e5a77d6f9dc14f831ebc pristine_git_object: 14c94049552517c3a7ef41495dc8b1bb59e77fb6 src/main/java/com/cvent/models/components/AttendeeLinkPaginatedResponse.java: id: ea2acaed78d5 last_write_checksum: sha1:13fb597a87ad9727232c18e5ef97e52df8843f2c pristine_git_object: b03a8a7f02a3b4c56ab9edb3130b1301bbb2c5f4 - src/main/java/com/cvent/models/components/AttendeeLookup.java: - id: c5fd228d834e - last_write_checksum: sha1:896970b2c1817083c4c2f132ec46ebeec90ea550 - pristine_git_object: 34b868ded6367ec608ac3f47881b7c419c33fc9f src/main/java/com/cvent/models/components/AttendeePaginatedResponse.java: id: d7719ddf3a10 - last_write_checksum: sha1:0b985c83b1881f33b42dd0815900f308aac9b3c5 + last_write_checksum: sha1:a6316065e3aff83d9d6eb19bfd5206bf4e570bfd pristine_git_object: 3183c0fc0d74a001b05b7cfe2596fcd7fd50d641 src/main/java/com/cvent/models/components/AttendeeResponseJson.java: id: f9ad86d43041 @@ -10288,8 +9962,10 @@ trackedFiles: last_write_checksum: sha1:fdb966b31d6e7e4db0c8883dbe641637af36949e src/main/java/com/cvent/models/components/Attendees.java: id: efe1eed11a15 - last_write_checksum: sha1:371e8599e97abce2a5bd9c1a0a7601a01dd59188 + last_write_checksum: sha1:9291c4f128d1733a4f8a5e6b9ddde974d92a43a2 pristine_git_object: d84f035be6dc9e2bc438636e20f235fff842c711 + src/main/java/com/cvent/models/components/AttendeesPaginatedResponse.java: + last_write_checksum: sha1:c8e7026b5722d45f1f424f982acec0b5a657cda4 src/main/java/com/cvent/models/components/AttributeDataTypeJson.java: id: f637b6fca535 last_write_checksum: sha1:33a7eef06e0759e5a3039530e5d3627a1f84f02a @@ -10316,11 +9992,11 @@ trackedFiles: pristine_git_object: b2132b14067e65501f54b0bfc9adb7daf79a692c src/main/java/com/cvent/models/components/AudienceSegment.java: id: cdf1213554cf - last_write_checksum: sha1:792f1038f69d24c865427595f931f859f9c28e08 + last_write_checksum: sha1:026729f1cf79f4ef23b10d2b789db1fd75f7a454 pristine_git_object: 1fa0a8da6d817199151b5255b9ff3b8fc48d330a src/main/java/com/cvent/models/components/AudienceSegmentCreate.java: id: ba3272f63c83 - last_write_checksum: sha1:1bb2e5690c249c9d7c0de59b5d8e1fa2c22cdd5c + last_write_checksum: sha1:f6aedd04c079a06f601ded751ffaeb84226f331a pristine_git_object: 32cde3794fff4042e0eab7d747e68ab504796847 src/main/java/com/cvent/models/components/AudienceSegmentCreationTypeJson.java: id: 42e18e2dce89 @@ -10328,24 +10004,18 @@ trackedFiles: pristine_git_object: adf008e60d97b648d0dd35f2a4c383230f7637d6 src/main/java/com/cvent/models/components/AudienceSegmentResponse.java: id: bc45aaeee1ca - last_write_checksum: sha1:8a935cc0f0ea398a3779d26f571456d5d54e29c8 + last_write_checksum: sha1:19c746140d72b2e8aedf1f3d8bba6ba6cbb9c894 pristine_git_object: 52dd5940f586c15000e4cb4ecbf264f603f77040 src/main/java/com/cvent/models/components/AudienceSegmentsPaginatedResponse.java: id: 335954d80923 last_write_checksum: sha1:b0418266885c7ba6e967acaade4753c60c1aa35c pristine_git_object: 66de7ffa543887886751dc42f57a5d79c8ed8252 - src/main/java/com/cvent/models/components/AudioTrackStatusJson.java: - id: caeb714aa959 - last_write_checksum: sha1:a9444edb3d7f2531e2858bd9d393c36c6d5b9723 - pristine_git_object: b6e61c649d8f28bdf6a26aaae5355fec3dbe721f - src/main/java/com/cvent/models/components/AudioTrackTypeJson.java: - id: 243146d36900 - last_write_checksum: sha1:b180faadb5f3a0e8a8991db114a314ec1a57f1be - pristine_git_object: 9cd66be979d3bffd0b95f1fcf8c7683dcfb2fbf9 - src/main/java/com/cvent/models/components/AudioTrackVariantJson.java: - id: 93a91146b9aa - last_write_checksum: sha1:3882d9d64590fbb339cbdb9d06b4dfa99b694ca5 - pristine_git_object: c24f9337d97c0313ef4f34d2a280ffc4e22696d2 + src/main/java/com/cvent/models/components/AudioTrackStatus.java: + last_write_checksum: sha1:44c74070c7b961b41708052cebcd7068fc5bb317 + src/main/java/com/cvent/models/components/AudioTrackType.java: + last_write_checksum: sha1:5f0e719da3fdbaebd78200da84ea087cb08613e4 + src/main/java/com/cvent/models/components/AudioTrackVariant.java: + last_write_checksum: sha1:90e63f77d06a780f3a56ff3ff1a9c788a1d05172 src/main/java/com/cvent/models/components/AudioTracksResponse.java: id: 12f8f28cbf8e last_write_checksum: sha1:15ae209a194893710163c34ba5144099ea0dadc6 @@ -10380,11 +10050,11 @@ trackedFiles: pristine_git_object: f472561bd6bc06dbf2b877dd22f50987e9d23706 src/main/java/com/cvent/models/components/Badge.java: id: 7ecfc5e18e3d - last_write_checksum: sha1:990a6e43dc89d61ef3434257ad8d9629d150ac1b + last_write_checksum: sha1:8583dbe5305c68108cae8960423512e74d086686 pristine_git_object: 0b376698e68dfb00fb46c8faa6430cd2f94aefb7 src/main/java/com/cvent/models/components/BadgeInput.java: id: 0cd497db7949 - last_write_checksum: sha1:a27c982f04986b7b5b51f330c584e0de8ce45aaf + last_write_checksum: sha1:4a8c164f6de3726fd53b441acd032bf2c50a2a10 pristine_git_object: d6b20fad5c2fb2077d56d83179aa24ee21a69b4a src/main/java/com/cvent/models/components/BadgePaginatedResponse.java: id: 8cb015807241 @@ -10462,22 +10132,16 @@ trackedFiles: id: b268ead799a1 last_write_checksum: sha1:dff3558d6871a7691af1746460ff70dec187b579 pristine_git_object: 463f101e63a47558545354f85e1e499b6759031a - src/main/java/com/cvent/models/components/BidItemStatusTypeJson.java: - id: a4dedf454c12 - last_write_checksum: sha1:db9ea0b421221a031512a7e40d8061cb479f9832 - pristine_git_object: 3c0bd4628659f2ee57f3dffa552f41b7a008a6b0 - src/main/java/com/cvent/models/components/BidStatusTypeJson.java: - id: 3a0098d7b942 - last_write_checksum: sha1:df88db0ed700db38dac15cdfd306e98aa39324b6 - pristine_git_object: 737c3b4088ff99454fc972d8c21c2647366e1287 - src/main/java/com/cvent/models/components/BidStayTypeJson.java: - id: f94c03346f70 - last_write_checksum: sha1:eab0f25d98cb5cc04376d979b83a905230cff242 - pristine_git_object: 914dfa6dc14c2bb9c28a744b479e341738b555c9 + src/main/java/com/cvent/models/components/BidItemStatusType.java: + last_write_checksum: sha1:ce372ab08a22ad68e93b293d07757238d5aa0463 + src/main/java/com/cvent/models/components/BidStatusType.java: + last_write_checksum: sha1:6301d02e49688d3f2efc55f7ee201e9cc4e59594 + src/main/java/com/cvent/models/components/BidStayType.java: + last_write_checksum: sha1:a9277a632381216eeeff047e7849a1e2aa6bd550 src/main/java/com/cvent/models/components/BillingAddress.java: last_write_checksum: sha1:8c5d94c40a2ea3034f8517784ac854ada3b981f1 - src/main/java/com/cvent/models/components/BillingDetailsJson0.java: - last_write_checksum: sha1:d88bea8f2ed319fd35995f9e8bdac2d1b4e5a535 + src/main/java/com/cvent/models/components/BillingDetails1.java: + last_write_checksum: sha1:b667aa3ab97265659613aa4fefec3022ad3cd0d3 src/main/java/com/cvent/models/components/BookingContact.java: id: 93f016caf254 last_write_checksum: sha1:0688a88855d158c1ebb69b847583781c3ef1094c @@ -10494,30 +10158,30 @@ trackedFiles: pristine_git_object: fbd7670f5bb185876c733a87acf3cee1cc27365f src/main/java/com/cvent/models/components/BoothStaffRequest.java: id: 2a08c9383f1a - last_write_checksum: sha1:6f114da77e417d4714a9c78f7ef13f9e805a04e6 + last_write_checksum: sha1:f09df7bce9042e2636aa3e2bcb6140dfda590566 pristine_git_object: e0f02d6322b4471ddda6e3937320c429c2163404 src/main/java/com/cvent/models/components/BoothStaffResponse.java: id: 3bb640c0e34c - last_write_checksum: sha1:121e3f0375c772149e8374fce7c7f7ff614db038 + last_write_checksum: sha1:24edcb633c94345ea8c90de090af587de1153ffd pristine_git_object: d3664e714d7ef53336c05431b9f009afa8817836 src/main/java/com/cvent/models/components/BounceDetailsJson.java: id: 1de4c454d411 - last_write_checksum: sha1:11ec5f9442e50a5f5fb551d426d108aa26015d22 + last_write_checksum: sha1:c5396f6f30fba7e7839e7e33da20feee0d3300f4 pristine_git_object: 64e727b0ae53394155c9ef7b8a0572bcfc2fc0c3 src/main/java/com/cvent/models/components/BounceDetailsResponse.java: id: 450089b843c9 - last_write_checksum: sha1:64d0273b2e434391b506cace2b51a4584b33557e + last_write_checksum: sha1:3e757b4fcb7d71de40bd0cecb69887f93c399ed2 pristine_git_object: 0b47fb77f9c6759b62b5ff7569982c1742d1c7c8 src/main/java/com/cvent/models/components/Brand.java: id: 7c2dc950e89d - last_write_checksum: sha1:88adee45ad058c78f84522a5138f106c261cce25 + last_write_checksum: sha1:48603a262b695b43719418d51647175d44a549a0 pristine_git_object: c16220eb18d787192abe44854629d91786ede338 src/main/java/com/cvent/models/components/BrandPaginatedResponse.java: id: 72eb951c3d58 last_write_checksum: sha1:b80c28de3db46f1491f8530877e1a2ca1d06fd89 pristine_git_object: d7f8d712cb1e9103faedf911575141ad9f9f65fe - src/main/java/com/cvent/models/components/BrideGroomTypeJson0.java: - last_write_checksum: sha1:7da6e40ddd0f747f3055710019d88d107db272b0 + src/main/java/com/cvent/models/components/BrideGroomType.java: + last_write_checksum: sha1:f83496a1c2d3397c95bbf5256ac8eb3552a2629c src/main/java/com/cvent/models/components/BudgetAllocatebyJson.java: id: 698fa497bd66 last_write_checksum: sha1:c3c6163d4f81d39ec0241b19ac54ff6c98225679 @@ -10738,10 +10402,8 @@ trackedFiles: id: 5bba6dd632a0 last_write_checksum: sha1:78950673bcd4e88539d9d4c148a62a50247d7f4c pristine_git_object: e79c95421f890171382244cc542288e2d1803ce6 - src/main/java/com/cvent/models/components/BusinessTypeJson.java: - id: c16ef08168a9 - last_write_checksum: sha1:cbd5bb1e3874294d98a155ef461261c1e332afcc - pristine_git_object: 2af036692a8744fec51e58f4cf1acffe02bcebba + src/main/java/com/cvent/models/components/BusinessType.java: + last_write_checksum: sha1:93c7df4e9e9bc317799fa92288aa8011987db0bc src/main/java/com/cvent/models/components/CalculateBy.java: last_write_checksum: sha1:6d8d1b39644d0e1bb1ee4c84367f28a1e932101e src/main/java/com/cvent/models/components/Calendar.java: @@ -10760,14 +10422,14 @@ trackedFiles: id: 80d3add2ed20 last_write_checksum: sha1:9516f61f1fbdfa2cd86652f368c1337a7e3fe094 pristine_git_object: 3db3d4eeb418e796a73eb9cda92ce11d99e03031 - src/main/java/com/cvent/models/components/CancellationDetailsJson.java: - last_write_checksum: sha1:b8dd7a4fc3e56a81d0aab937da74db1da71ea818 + src/main/java/com/cvent/models/components/CancellationDetails.java: + last_write_checksum: sha1:5d19548181b64a347cd0fcb52c806593bee0ee36 src/main/java/com/cvent/models/components/CancelledReason.java: id: 8abc381f4606 last_write_checksum: sha1:1a33eb5c425af3054c4504ac4acbe2e445239456 pristine_git_object: 8fae8fcb4ae648ae13cceeae97fd54f58e7fc5ee - src/main/java/com/cvent/models/components/CancelledReasonJson0.java: - last_write_checksum: sha1:3e9d28d93c3fc632d4d2aac95cc747e1458ede9b + src/main/java/com/cvent/models/components/CancelledReason1.java: + last_write_checksum: sha1:05d76268e9e8eecc4ab7f0f0120bdd07d2a78345 src/main/java/com/cvent/models/components/Capacity.java: last_write_checksum: sha1:d1ff340f1022af8afd2bedce10252bdad09843a0 src/main/java/com/cvent/models/components/CapacityJson.java: @@ -10830,29 +10492,23 @@ trackedFiles: pristine_git_object: 020d8ca9e2001694270f39d95e3bc49944f3bb76 src/main/java/com/cvent/models/components/CardTypeJson.java: last_write_checksum: sha1:39e43502877f830fef84e6a05a55cc2b3723a45f + src/main/java/com/cvent/models/components/Category.java: + last_write_checksum: sha1:d11e6263bd0d0f9d9840c47d7d32a844f538bd15 src/main/java/com/cvent/models/components/CategoryId.java: last_write_checksum: sha1:028b610f03024a79feca3e09ed67aa9e4dcc589e - src/main/java/com/cvent/models/components/CategoryIdNameJson.java: - id: 48f683829476 - last_write_checksum: sha1:cafe3ddde5582edc093d2b4afee35e5e7f2f885b - pristine_git_object: 7234b740545df83f6aa9491364b3c0663b17e2f0 src/main/java/com/cvent/models/components/CategoryItemsCostJson.java: id: 1858c7fdbc7d - last_write_checksum: sha1:c41df58f873c40944c8a9d40b97d175cf33c87b8 + last_write_checksum: sha1:9131b63ca94418239ba1a97b77d2493605e09279 pristine_git_object: 99b4f5b4abf3127c672357b1ba788e6e740f15e7 src/main/java/com/cvent/models/components/CategoryJson.java: - last_write_checksum: sha1:58d513c5e7b4158f221a8f16b4793883bf9a8880 + last_write_checksum: sha1:1a25ebb1fefb336c5035a63646007c6864e7762e src/main/java/com/cvent/models/components/CategoryJson1.java: id: e16fed6f2da2 - last_write_checksum: sha1:94a0cbf6dec5cc6b03305399e30d9d7c84f9d767 + last_write_checksum: sha1:240867a1beb237859e900695aca84c21924fd2ab pristine_git_object: 98c1ecaeb0029395ccde3e3945bdda8773da1320 - src/main/java/com/cvent/models/components/CategoryJson2.java: - id: d583b1116234 - last_write_checksum: sha1:e25d6a5d119f70352294b50ff0e4c960dcf6c498 - pristine_git_object: 41c23c6c6400b1d71010ebd89a981195d675c80c src/main/java/com/cvent/models/components/Chain.java: id: c8e2eebd6713 - last_write_checksum: sha1:76cda8c4c6bbf3888ef7aade2459539d83402b5d + last_write_checksum: sha1:25437f15310acbb2de7f1f5354d357abb6bd26d7 pristine_git_object: 3e7cc32f327a1b58adf4a4f3e3faaf6f0056f572 src/main/java/com/cvent/models/components/ChainBrand.java: id: e708bbcb1d15 @@ -10900,22 +10556,20 @@ trackedFiles: pristine_git_object: d8b6f4e7bb360ca9cebfd08f6c4980570945093d src/main/java/com/cvent/models/components/Choice.java: id: a5c8e32158be - last_write_checksum: sha1:06c5dec6785ac760f08555592713b2b413da31c1 + last_write_checksum: sha1:a75ed99513d8f5d0c3db3639ba39ad488909d945 pristine_git_object: 7cc0a376992d57a8b6b705b771d03d0868948d18 - src/main/java/com/cvent/models/components/ChoiceJson.java: - last_write_checksum: sha1:670fbeffe3b6ea20bb247614d6cbcd63d1c70de4 + src/main/java/com/cvent/models/components/Choice1.java: + last_write_checksum: sha1:bfa50e37691467827cb2f72171252d9775065a98 + src/main/java/com/cvent/models/components/ChoiceJson1.java: + last_write_checksum: sha1:8b259fb5d2a29d4d472127f925a9d03ebe8d1d27 src/main/java/com/cvent/models/components/ChoiceJson2.java: id: c2738f29fa92 - last_write_checksum: sha1:901e4df0cbadadf29e47d49b48b81360a01f3a69 + last_write_checksum: sha1:b06007aecbf0edc3c516e287f216763cac6192cf pristine_git_object: e42a99c45ca13dc9bd749c753b47aed8d5bba4e2 - src/main/java/com/cvent/models/components/ChoiceJson3.java: - id: 8744ddcc5394 - last_write_checksum: sha1:193c8c27d225cb4d4e82923d29d67a4f277dccb5 - pristine_git_object: 138b561ce30931c52404637a83d5a819a74264f7 - src/main/java/com/cvent/models/components/ChoiceJson3Input.java: - last_write_checksum: sha1:4cda556523ceb850799dcbe56aa4e4aba5cc8cc3 - src/main/java/com/cvent/models/components/ChoiceSortOrderJson.java: - last_write_checksum: sha1:3712d65b1cc42b2a80c150a124d8e1848abefff3 + src/main/java/com/cvent/models/components/ChoiceJson2Input.java: + last_write_checksum: sha1:fb0ecea2ce8fd09f59b20e331500b6eda96721d2 + src/main/java/com/cvent/models/components/ChoiceSortOrder.java: + last_write_checksum: sha1:786e5445a1b620c34bd846a8c0d5455b48f7ef49 src/main/java/com/cvent/models/components/ChoiceTranslationJson.java: id: 0a3cb756509b last_write_checksum: sha1:b179465fc9ed7eff5261c4387b477b5273980855 @@ -10924,16 +10578,14 @@ trackedFiles: last_write_checksum: sha1:e0cb67412e50be92663d283990fb250bf7e147bb src/main/java/com/cvent/models/components/Choices.java: id: 59973ddc8aed - last_write_checksum: sha1:e6414c6e2a996481b46672b7a9d1a44db319c41c + last_write_checksum: sha1:9d474ebcfd949e8d7b0c0b9fc015d81ab0513117 pristine_git_object: 95cd28da362bb5e76ac04f50a1c6a939ea89287e src/main/java/com/cvent/models/components/ChoicesDisplayTypeJson.java: id: 36d25b0ac012 last_write_checksum: sha1:db3e57de1b100d2b3217978150c6df1716f3766d pristine_git_object: b3d2399ad79607c4a09b575248605cc2cc49d75e - src/main/java/com/cvent/models/components/CommentTypeJson.java: - id: 1e71134a1430 - last_write_checksum: sha1:db63933ab230dadb369eb9c3aee152775e3acc2b - pristine_git_object: bf877dfd62bb4e9b6f194c5113c5909a990e7ada + src/main/java/com/cvent/models/components/CommentType.java: + last_write_checksum: sha1:800db2754ce89b37b620dc981c0fd1d08ce96bb2 src/main/java/com/cvent/models/components/CommunicationConfiguration.java: id: e757882c89f2 last_write_checksum: sha1:717f91f4acebef326af419ab1781ebb565ef6763 @@ -10951,30 +10603,16 @@ trackedFiles: last_write_checksum: sha1:fca3d6f8bd9ceb9be384d2dd00f715fce86b39c9 pristine_git_object: 5ccd086c7a4dd224c8e361b437bbd012cbef56c1 src/main/java/com/cvent/models/components/Compliance.java: - last_write_checksum: sha1:800dc1f535376bdc65a72fd095abbb5feb3f93a9 - src/main/java/com/cvent/models/components/ComplianceAction.java: - last_write_checksum: sha1:241a23061264018595a7516826889de0fd177fb8 - src/main/java/com/cvent/models/components/ComplianceComplianceScope.java: - last_write_checksum: sha1:88383f07d7d24f78f745e890f9f0e7cef0ad2a52 - src/main/java/com/cvent/models/components/ComplianceCreatedBy.java: - last_write_checksum: sha1:ba8b48bc0183f562e6b430f70efc233d372b58b5 - src/main/java/com/cvent/models/components/ComplianceJson.java: - id: 4414dcd46a1d - last_write_checksum: sha1:f72812e332dd38fef177f1da46082e53c1eefb43 - pristine_git_object: e0408b1934d167e56e9c91bf267c8b7ab2ebd404 - src/main/java/com/cvent/models/components/ComplianceJsonAction.java: - last_write_checksum: sha1:dfc096ed972048e08c5c6326888012c41175fc44 - src/main/java/com/cvent/models/components/ComplianceJsonComplianceScope.java: - last_write_checksum: sha1:df3b650db042b6654efb967a92682952fae4934e - src/main/java/com/cvent/models/components/ComplianceJsonCreatedBy.java: - last_write_checksum: sha1:1c48c668b63c2183da10c053b05fbb96e1edb56d + last_write_checksum: sha1:c3980678e80deed42c2c65638a9b2ab446131ccc + src/main/java/com/cvent/models/components/ComplianceScope.java: + last_write_checksum: sha1:705228c883dcc6e14f147726941b1a7337c4df56 src/main/java/com/cvent/models/components/CompositeValueJson.java: id: 07b0c7dd6e72 last_write_checksum: sha1:fff25dbafc41970d1b639b2815dba64664ae926a pristine_git_object: baa671155d74f040b015fb1d9604e36a47cc68c9 src/main/java/com/cvent/models/components/ConflictResolution.java: id: 23e6c51c8f16 - last_write_checksum: sha1:73b9d1f5bd3b863799eff5452c0568cf725b5776 + last_write_checksum: sha1:1de3c63a69f0e81ceeb2c0d25fa95d2a1f7a4b16 pristine_git_object: 56079a7c302f6d5cdb5267b1f8a55bd76956393a src/main/java/com/cvent/models/components/ConnectionResponse.java: id: 2f77909dba82 @@ -10986,28 +10624,24 @@ trackedFiles: pristine_git_object: 9245563680f615d9500d6f770b218aa8edb43659 src/main/java/com/cvent/models/components/Contact.java: id: a5b94bacdb7c - last_write_checksum: sha1:189b32ca937fc4036b3c659a9006e3924f4f8812 + last_write_checksum: sha1:4366d15697d169ea6043e72f68df981043ffc1b1 pristine_git_object: f291ac9eb2c8d2e3473b720b4770d9b564cab906 - src/main/java/com/cvent/models/components/ContactBulkItemJson.java: - id: ffd3f32d05fd - last_write_checksum: sha1:ed5a1c84a04b82f84ecee968174c5e0cbbb5095e - pristine_git_object: 4665a07c963d4cbcfb0253ff3d56d9581f722509 - src/main/java/com/cvent/models/components/ContactBulkItemJsonData.java: - id: 705dfd91e627 - last_write_checksum: sha1:197c78fae05a75137d9bd41095c714d9e2686901 - pristine_git_object: 62f230f48435646b6bf24a38a8877422f68fc568 + src/main/java/com/cvent/models/components/Contact1.java: + last_write_checksum: sha1:d301ce57cda1b93a9a5140d04ab2d451c9d82db7 + src/main/java/com/cvent/models/components/Contact2.java: + last_write_checksum: sha1:25d58372c9ba95ceb62b04a7b8d7c052de2fb8f4 + src/main/java/com/cvent/models/components/ContactBulkResponseItem.java: + last_write_checksum: sha1:00915ed55b0eb41b6d67c09ba241faf30ca65a81 + src/main/java/com/cvent/models/components/ContactBulkResponseItemData.java: + last_write_checksum: sha1:f0fca216c7e813851319ceefe794a8bf6eac026c src/main/java/com/cvent/models/components/ContactCommonJson.java: id: 28ed11302a85 last_write_checksum: sha1:03626ecc30b9b335763cb403e7b922ba377fd241 pristine_git_object: b33ff1af2d2ecdbe9741a1fd756e3fc7df14beeb - src/main/java/com/cvent/models/components/ContactCreateRequestJson.java: - id: 29f9a1512253 - last_write_checksum: sha1:4486b57d267a31f7f6dd39ef43d593f8275b4d63 - pristine_git_object: a1463ebd6ea193d2afd55a04629d6aad42c71d49 - src/main/java/com/cvent/models/components/ContactCreateRequestJsonEvent.java: - id: 20e5d807db75 - last_write_checksum: sha1:6066b409d3f56cab744175a5a3e6d31ef90f827a - pristine_git_object: 1a5a33a7a8018e04b71fc258fa6ae4804dcda397 + src/main/java/com/cvent/models/components/ContactCreate.java: + last_write_checksum: sha1:a31e5d13080f98e15dc0748d4f47c46d4a389357 + src/main/java/com/cvent/models/components/ContactCreateEvent.java: + last_write_checksum: sha1:5c362ed52f35dc6749860f61dff8af9de121f4d7 src/main/java/com/cvent/models/components/ContactEvent.java: id: 45cc27d012f6 last_write_checksum: sha1:40c4911e66f521f2948e7a0994ac511289ef561c @@ -11042,91 +10676,69 @@ trackedFiles: pristine_git_object: b31334be12f6424525fee2bb38a884a51ff7b927 src/main/java/com/cvent/models/components/ContactGroup.java: id: 98ecfb6a616b - last_write_checksum: sha1:5f4d57e6c81fe4b910993f95fdfff3ec5938336d + last_write_checksum: sha1:4b3333f95cb9acb95d5ad14cda17e9a03912eb32 pristine_git_object: c25840a1bd57e314a510e32ff52ecfac22bb34c7 src/main/java/com/cvent/models/components/ContactGroupInput.java: id: 496b05c7dc5c - last_write_checksum: sha1:33b66ecf59407c5282567673b2a3e845cd7021f1 + last_write_checksum: sha1:a607ab2a968760fa7cdf24304fa24547ae9cb6ae pristine_git_object: 4c54e12d0e069b736c381698dedcc5bef7c81037 src/main/java/com/cvent/models/components/ContactGroupPaginatedResponse.java: id: 284f070785c4 - last_write_checksum: sha1:a1717192e11ef53935a6a995d0345e5c5ea5d2da + last_write_checksum: sha1:f813b3add0827c82a96ccc31b233439da030120f pristine_git_object: fd580013255816a0119177b716dcbe5735007cf0 - src/main/java/com/cvent/models/components/ContactGroupTypeJson.java: - id: 4e48419227d5 - last_write_checksum: sha1:e2664b3a83c65c246af2959a445a7612bdb000c7 - pristine_git_object: d4548eecf33a86468d5515841d79c44180af94f6 - src/main/java/com/cvent/models/components/ContactHistoryJson.java: - id: 831eb564288e - last_write_checksum: sha1:4adbe82787d18df62d6417e11b9d2ab28f6c0327 - pristine_git_object: bfcbcf224fd64410803303b618d282f368971caf + src/main/java/com/cvent/models/components/ContactGroupType.java: + last_write_checksum: sha1:504bdd24d7b251586a474721667f5f2b05730995 + src/main/java/com/cvent/models/components/ContactHistory.java: + last_write_checksum: sha1:2587136e41e8a751ea744078967669cf8dd77faa src/main/java/com/cvent/models/components/ContactHistoryPaginatedResponse.java: id: 6a5467a30d89 - last_write_checksum: sha1:afea0b04a894ed997b7b9a59e53567abb646cad0 + last_write_checksum: sha1:e412cf89528ccd678aa689071013102f1564cece pristine_git_object: f8b4116aee24bf9c34d66681582497224a49451d - src/main/java/com/cvent/models/components/ContactIdJson.java: - id: ef0092032aaf - last_write_checksum: sha1:e4c33cf3a49c2167d03b4a7a2485ec684568f35d - pristine_git_object: 4ee9a7e6f1dad3665ab57f35db63533078def14a + src/main/java/com/cvent/models/components/ContactId.java: + last_write_checksum: sha1:05939c9ca9668489f4257b739cda88e0aad47f4c src/main/java/com/cvent/models/components/ContactIdPaginatedResponse.java: id: c62d3f6d2f10 - last_write_checksum: sha1:f7bebac9b81da92109ab0b0e15ef9a51700c4c22 + last_write_checksum: sha1:19b8d6bf8829fefda9dff11c7022a598e6a59cc9 pristine_git_object: 86136113e989fd03666833666610e4c94ab20791 src/main/java/com/cvent/models/components/ContactInformationJson.java: last_write_checksum: sha1:689979ab632165c640aa522f4057ed55629a65b8 - src/main/java/com/cvent/models/components/ContactJson0.java: - last_write_checksum: sha1:8ae831e786993f07263f6f62af190da1b56a01ec - src/main/java/com/cvent/models/components/ContactJson1.java: - id: 561a6604afcf - last_write_checksum: sha1:4c4c61b0d2cd7d373834d1311523ce85c5e800e8 - pristine_git_object: 75b8da86753c6cff4a8a96a2d6923d1e6d4bcb69 - src/main/java/com/cvent/models/components/ContactJson2.java: - id: eefb3348b788 - last_write_checksum: sha1:557039bc30c9c91f50462312ae9703734e36aff4 - pristine_git_object: 0b7ba11f1413a5cb7d0576ac4816f2e54031315f + src/main/java/com/cvent/models/components/ContactJson.java: + last_write_checksum: sha1:f30856a96d508159f74f25ba27badc603d2f1170 src/main/java/com/cvent/models/components/ContactLinks.java: last_write_checksum: sha1:1ca58619795881be6e5d240bac7eab625af06d73 src/main/java/com/cvent/models/components/ContactLinks1.java: last_write_checksum: sha1:2c9bd7eb8da878c86ee3df0eff47d3c818214d0c - src/main/java/com/cvent/models/components/ContactLinksJson.java: - id: 9f076036e0ab - last_write_checksum: sha1:44ca0e305c118f379d486aa8c29cc2ca91ab333a - pristine_git_object: 40ada1d65cddc89b4cd38d08566501ca82dfb07a - src/main/java/com/cvent/models/components/ContactLinksJsonInput.java: - id: de4451962727 - last_write_checksum: sha1:aa3339e7ad98e6c8e383b5c8fffc4a12018696c4 - pristine_git_object: 53113b76b2e2187cf67fa5ac20874107103b63a2 - src/main/java/com/cvent/models/components/ContactLinksJsonLink.java: - id: 15729f7fb983 - last_write_checksum: sha1:366571ed97b2076c8948308fe15f6dedae6394e2 - pristine_git_object: eb034329840d787941d59f23208bbb9d69025cf8 + src/main/java/com/cvent/models/components/ContactLinksInput.java: + last_write_checksum: sha1:0990461d6a1adb102808c9d6c27cba907058381a src/main/java/com/cvent/models/components/ContactLinksLink.java: last_write_checksum: sha1:5ebfadc68251ec48ddce892fb9833a5187122b9e + src/main/java/com/cvent/models/components/ContactMembership.java: + last_write_checksum: sha1:a83e86ba3a3cc869466102a4df86e79727d46aa3 src/main/java/com/cvent/models/components/ContactMerge.java: id: 184c67a16e76 last_write_checksum: sha1:24792288e0a9fc8a83bcc7e98243e7e22c7d3004 pristine_git_object: 7034878d1fec763ab7e85ad13ae35b655c0d13a6 - src/main/java/com/cvent/models/components/ContactMergeFieldJson.java: - id: 96dcf425c44c - last_write_checksum: sha1:7a46f52e82dacd1537ed7fde703f4ef1f417991e - pristine_git_object: 285096d62465d3c245e5f0eb0d0953d5d72c37a7 - src/main/java/com/cvent/models/components/ContactMethodsJson.java: - last_write_checksum: sha1:f1cc564ba4adbcd8bb70229e750935f55442c4d2 + src/main/java/com/cvent/models/components/ContactMergeField.java: + last_write_checksum: sha1:1c0218e13002192689e645764f699ce715193d95 + src/main/java/com/cvent/models/components/ContactMethods.java: + last_write_checksum: sha1:3a466d26ed9f00d492482c06540f64915b296a59 src/main/java/com/cvent/models/components/ContactObfuscationStatus.java: id: e4d4cdbc779d - last_write_checksum: sha1:8809b1563041f967c0b465870867bdbb9a04c536 + last_write_checksum: sha1:804ce0298a9ad4df9a5f5a65fb4abe64eb8deac7 pristine_git_object: 0fe40ef972bddef34c7660d5b9d9481afa8a29dd - src/main/java/com/cvent/models/components/ContactObfuscationStatusTypeJson.java: - id: 94bec8fce05c - last_write_checksum: sha1:21db0049c6f14e1e6d12edcd4b6aaa5b06a9fda5 - pristine_git_object: 18e8493cfcb1e38ab5e65d349ace0558859a5c20 + src/main/java/com/cvent/models/components/ContactObfuscationStatusType.java: + last_write_checksum: sha1:0d44c44d0e585e89a60b3a9d2154e830d2d735de + src/main/java/com/cvent/models/components/ContactOptOut.java: + last_write_checksum: sha1:6bf3dbf08186fa6a77584da9ca86bff696c05b8c + src/main/java/com/cvent/models/components/ContactOptOutInput.java: + last_write_checksum: sha1:ae925c4fa6346d4a5ee53672e57056d48d4ede22 src/main/java/com/cvent/models/components/ContactPaginatedResponse.java: id: 4eb664ae151f - last_write_checksum: sha1:f4199c90f0e9eb7505218b2fc3a7a93efc423976 + last_write_checksum: sha1:d257d6558009ae9c079a173a48734ed9d4de73eb pristine_git_object: db8173d2d6f63ebc9b8bb996708be7e440eacadb src/main/java/com/cvent/models/components/ContactPatch.java: id: f4125ffcb7c5 - last_write_checksum: sha1:493d5285e8840f2c0166d1cf72007b6182a4ed64 + last_write_checksum: sha1:5b6ec99041b0a869b41ea3d63c16d034d8970fa2 pristine_git_object: 9c6823ef9ab652d70f7d0eea660bf05bb95c1012 src/main/java/com/cvent/models/components/ContactPatchLinks.java: id: 340b7025e75a @@ -11136,21 +10748,19 @@ trackedFiles: id: 32dfc7dcef99 last_write_checksum: sha1:039cfde891f6bfdc9c007187b4957febf606d64b pristine_git_object: a1d1af6aba7dd21c57683ddf1fe00a6f941868a5 + src/main/java/com/cvent/models/components/ContactType.java: + last_write_checksum: sha1:e887bd7c5f7bc6f9c20b4b04662b66c0909774cc src/main/java/com/cvent/models/components/ContactTypeJson.java: id: e824bbcf2383 - last_write_checksum: sha1:b5cba065594bdc4c852792f619ad119df512dcdd + last_write_checksum: sha1:184f486da3673d8e67e66bb9a0cba1e3246669f8 pristine_git_object: eab870dc1be8c7cf8f61399810e8e2e44439d980 - src/main/java/com/cvent/models/components/ContactTypeJson1.java: - id: 965895bc1f6e - last_write_checksum: sha1:250823dc72377bd8d0e694af00e3defd7bd3eb24 - pristine_git_object: 88d5072b0e548bd41dffbb946e1e084feef2949f src/main/java/com/cvent/models/components/ContactTypePaginatedResponse.java: id: a48cc4adc2ad - last_write_checksum: sha1:4ad51ec35b89e1999e2f8ecc3e92c89d43a19154 + last_write_checksum: sha1:0ce5c447cd1728df9c66844842286d59591c0e72 pristine_git_object: c66bd51b3b975ad3a92250d7e0272627bff0b60c src/main/java/com/cvent/models/components/ContactUpdate.java: id: ea2a9b970510 - last_write_checksum: sha1:fd970d556fa47ebe27784a20dc94e331fd4de413 + last_write_checksum: sha1:02b0dd4f3af1ca70400e5b335e601303d0d2cb67 pristine_git_object: 8462a3f8788da752c58efc33a757c1e4e42e3ce6 src/main/java/com/cvent/models/components/CountryJson.java: id: 0ae8850ee0b6 @@ -11161,9 +10771,9 @@ trackedFiles: last_write_checksum: sha1:c1f30d50d323d84adf6f23d636b8dc10b197b67f pristine_git_object: f7e8eb1ba6f4fd33d753839231802ac7c3c62ae0 src/main/java/com/cvent/models/components/CreateTransactionResponse.java: - last_write_checksum: sha1:8dc1e6147a7491ea02b02836c0f9cca719a06a7b + last_write_checksum: sha1:36549fb9f9fb166e4c0530748c5f71b404b4070a src/main/java/com/cvent/models/components/CreateTransactionResponseInput.java: - last_write_checksum: sha1:e8bb2f856196afd1961ddfe4434144ed1e7d8ea6 + last_write_checksum: sha1:654175ad294e0a7802ac43b2451b7113dc9fd100 src/main/java/com/cvent/models/components/CreateUpdateDiscount.java: id: 635aa0244100 last_write_checksum: sha1:869e490170a4f55005b6dc297ed42a5338a53fe3 @@ -11208,6 +10818,8 @@ trackedFiles: id: ac469af2ce3b last_write_checksum: sha1:9efd84f001d2fc6c5cd4a10872ecc7f1bf458b3f pristine_git_object: b7a6166a5b1325d7e92fbeb64a4aa4abce8a986a + src/main/java/com/cvent/models/components/CreatedBy.java: + last_write_checksum: sha1:ba5d074ad9ea7739916ab1965a02b14345f16dc9 src/main/java/com/cvent/models/components/CreditCardRequestJson.java: id: b8399dd3cfbe last_write_checksum: sha1:b5fce9167bff4878cabe385316991752a0262074 @@ -11244,10 +10856,8 @@ trackedFiles: id: 04982db5113a last_write_checksum: sha1:9c91f0b57207bed7a294bfa0f8d464709b536e86 pristine_git_object: 043cfa3ddac785ae6a0ee8995ed8d077b3f72fb0 - src/main/java/com/cvent/models/components/CurrencyJson1.java: - id: a9a542733999 - last_write_checksum: sha1:23e1207c3793a644b1e46f8ecb12a0a19c2ce3ef - pristine_git_object: ddda231ad26285621b753c5ab1acd36f019f00fb + src/main/java/com/cvent/models/components/CurrencyJson2.java: + last_write_checksum: sha1:6b9c3cbdabbc010b763a70a2606e43eaa9ccf817 src/main/java/com/cvent/models/components/CustomAnswerFormat.java: last_write_checksum: sha1:3553430751e1324149c7ff6223622182a133413b src/main/java/com/cvent/models/components/CustomDuration.java: @@ -11263,9 +10873,11 @@ trackedFiles: src/main/java/com/cvent/models/components/CustomField2Input.java: last_write_checksum: sha1:af0fe0bead892daa60b98283df446891bb069de2 src/main/java/com/cvent/models/components/CustomField3.java: - last_write_checksum: sha1:9028610a47c1e317af0a5c3f8e7f9c30aa0f0bd8 + last_write_checksum: sha1:d17155ac8cbaede1c3fa77325b40f449f85a8213 src/main/java/com/cvent/models/components/CustomField3Details.java: last_write_checksum: sha1:1e240ede79ebca294167f67ee53a1fa69a619f32 + src/main/java/com/cvent/models/components/CustomFieldAnswers.java: + last_write_checksum: sha1:8bae7ea91051d7e64f056a6ff1eeeef7d979227d src/main/java/com/cvent/models/components/CustomFieldCategoryJson.java: id: 31c65b1d9042 last_write_checksum: sha1:68746c6db62342288309e5bf840cefe40efd61de @@ -11280,26 +10892,24 @@ trackedFiles: id: "800775643227" last_write_checksum: sha1:ba2216baadd56aa44890f639aaf1b281416b4d91 pristine_git_object: 4ff70d72389fb5bc089aaeea2bbf53d1472b4607 + src/main/java/com/cvent/models/components/CustomFieldJson.java: + last_write_checksum: sha1:3d26cfd5cb0b7c019bb53685ecc338c45c4f4fc2 src/main/java/com/cvent/models/components/CustomFieldJson1.java: - last_write_checksum: sha1:24dd6e6b8a0051bb5e1105a4c938f755f962ecc7 + last_write_checksum: sha1:a023bec874d31275aaecf71a9d2ec4bbcd80b007 src/main/java/com/cvent/models/components/CustomFieldJson1CustomFieldType.java: - last_write_checksum: sha1:7e8cb5d4b4855ff0a1c8d2fc90d65e9dbc4fe880 + last_write_checksum: sha1:a737115efe089a6cd1e8feb6d4c830698e33c795 src/main/java/com/cvent/models/components/CustomFieldJson2.java: - last_write_checksum: sha1:8b726c6534510baeb3da5d80f121e890ffc6b679 + last_write_checksum: sha1:fae3bfdf18029f7a439cdd3daf7b807a32fb414b src/main/java/com/cvent/models/components/CustomFieldJson2CustomFieldType.java: - last_write_checksum: sha1:49c8cc7b09f009b35b00bf3b7708dc463db3a45c - src/main/java/com/cvent/models/components/CustomFieldJson3.java: - last_write_checksum: sha1:89179d17adff0a9e19fc4bfa0f358b0d8b417e02 - src/main/java/com/cvent/models/components/CustomFieldJson3CustomFieldType.java: - last_write_checksum: sha1:a0d00ab17e83153398f7388d26f4489745ba284d + last_write_checksum: sha1:ab262c6a334e2ec1ef623e8a35dabae12c25e99c + src/main/java/com/cvent/models/components/CustomFieldJsonCustomFieldType.java: + last_write_checksum: sha1:4f72667297b0955524441ca42dee147feca15100 src/main/java/com/cvent/models/components/CustomFieldSchema.java: last_write_checksum: sha1:03a3003a625fb652892f451f0013729939454370 src/main/java/com/cvent/models/components/CustomFieldSchemaCustomFieldType.java: last_write_checksum: sha1:d0ad8e0fe94970e7ee108ad1e311f621950c99d2 - src/main/java/com/cvent/models/components/CustomFieldTypeJson1.java: - id: 3720734b682c - last_write_checksum: sha1:b6ce6d79c1ee7fa7a22495504e0c7f236f521acd - pristine_git_object: 0f6d4f9749ffb914e2a83b52d50bb7c47772401d + src/main/java/com/cvent/models/components/CustomFieldTypeJson.java: + last_write_checksum: sha1:744378db225f63477323df9ec04583ebda622f95 src/main/java/com/cvent/models/components/CustomFieldsJson.java: id: f6e7eb24a732 last_write_checksum: sha1:8658d3ddd9f1fe80c9482d151458aa8218f98d19 @@ -11308,46 +10918,32 @@ trackedFiles: id: fc8e385eff52 last_write_checksum: sha1:7a5333238d6b099030b546a14ee4f6937b6c01c5 pristine_git_object: c0e8f9ebb012ec941c5a0a2d2813dd62afa161f5 - src/main/java/com/cvent/models/components/CustomQuestionAnswerJson0.java: - id: f10373c06275 - last_write_checksum: sha1:c7209512358b036ff1b388ffe3ba3e84aa25a336 - pristine_git_object: 1e12d1c3155c17fcf802acdbff23d97429b5a897 - src/main/java/com/cvent/models/components/CustomQuestionAnswerJson0Question.java: - id: 9b209f346d5c - last_write_checksum: sha1:97d5bb58b75b6d0158905c6ef9a237e55d23b431 - pristine_git_object: 1500082ede4f11887a3dcc53db2e470b5e6085ab - src/main/java/com/cvent/models/components/DateAnswerFormatJson.java: - last_write_checksum: sha1:be05e974fa3c10dfbab2bb2a79c991ea103d8aec - src/main/java/com/cvent/models/components/DatePatternJson0.java: - last_write_checksum: sha1:d11a63d169711adfb3e4e67d3b3b88a33312e6fb - src/main/java/com/cvent/models/components/DateRequirementsJson0.java: - last_write_checksum: sha1:7bd7e228462865096d5d76bfc12c1c57840634bb + src/main/java/com/cvent/models/components/DateAnswerFormat.java: + last_write_checksum: sha1:3c209eedd2889caa56c25c5960f9ab44254d9515 + src/main/java/com/cvent/models/components/DatePattern1.java: + last_write_checksum: sha1:0f4caf88d2ed0679c25d33413af989dbbed00ba2 + src/main/java/com/cvent/models/components/DateRequirements1.java: + last_write_checksum: sha1:f642683a4c3ca81d1c43a8b72f93577f8bdb5ff0 src/main/java/com/cvent/models/components/DateTimeDisplayFormatJson.java: id: ca941412052f last_write_checksum: sha1:9b0ede8a50709e730d29a93322b3b03cbefa9fa4 pristine_git_object: d8f937324f7e0031dd13882a5a1a43f3056da7a3 - src/main/java/com/cvent/models/components/DateTypeJson1.java: - id: 7f45d8a6a45e - last_write_checksum: sha1:7b9998c393c04d8d93e64c8777d9b8b5ae49f229 - pristine_git_object: dfac88ead9b83bb63454fcfb3b1edab5fa952849 - src/main/java/com/cvent/models/components/DatesJson0.java: - last_write_checksum: sha1:92ff8bf3c0fca98f96d28b7b299849e6fe27fae8 - src/main/java/com/cvent/models/components/DayOfWeekJson0.java: - last_write_checksum: sha1:20e019dc154704c941367b533b9ec70f7fed9f71 + src/main/java/com/cvent/models/components/DateTypeJson.java: + last_write_checksum: sha1:d011eb6d2ec1c23bf89466f168e25b5f1765da47 + src/main/java/com/cvent/models/components/Dates1.java: + last_write_checksum: sha1:7d424dbd1791da0a1f7a870a097c6bd475a488f7 + src/main/java/com/cvent/models/components/DayOfWeek.java: + last_write_checksum: sha1:d2aa734557ae57531bc9fb74652a0f666aec58f4 src/main/java/com/cvent/models/components/DeclinedReason.java: id: 3c6b7a704743 last_write_checksum: sha1:8d44b697af5ac6b9982629efae0c027ee1b63f9c pristine_git_object: 161c2aade6acded48aa3465cfcb56f2b70b0bd54 src/main/java/com/cvent/models/components/Device.java: last_write_checksum: sha1:335ee31751caa52c4fb4fc7a674309a38489a1b4 - src/main/java/com/cvent/models/components/DeviceJson.java: - id: 244571377d30 - last_write_checksum: sha1:aaa55a9d15f468dda2cc9ee6bcc1c5f69680464d - pristine_git_object: c30e2fb100b03a5cd0116c99ff71fb3c21befce0 - src/main/java/com/cvent/models/components/DeviceTypeJson.java: - id: 22ba1fd63794 - last_write_checksum: sha1:ee833b33f03b8c0dd1480df2f647d609812777f2 - pristine_git_object: 2c243f21a48061c21adbaccd33dfc391780813bf + src/main/java/com/cvent/models/components/Device1.java: + last_write_checksum: sha1:df3a7955a600093f367e2c38534aa2cc9159a6bf + src/main/java/com/cvent/models/components/DeviceType.java: + last_write_checksum: sha1:a9442fa96f67540263e4dbd3854ffc93595e92e4 src/main/java/com/cvent/models/components/DiscountAgendaItemsPaginatedResponse.java: id: 1f16c234aa1f last_write_checksum: sha1:d86ce3daf45b5cefb4ed393aa9bb0fdd78e4781b @@ -11370,32 +10966,24 @@ trackedFiles: id: a6f532e0e567 last_write_checksum: sha1:dd53912127b4009ac609b395b7d5ab6cb6af4b6e pristine_git_object: fa2b0b49e0b32c601a6c595488ba1443237ecc72 - src/main/java/com/cvent/models/components/DisplayTypeJson.java: - last_write_checksum: sha1:ad979e8694c1799a145df3fc0cea6962e9149ad4 - src/main/java/com/cvent/models/components/DistanceJson1.java: - last_write_checksum: sha1:2fd1802d7eb2b87724f166d6b8a80d3a0c63f41b + src/main/java/com/cvent/models/components/DisplayType.java: + last_write_checksum: sha1:ab3fc999abea9397639921f34058bc51511d9174 + src/main/java/com/cvent/models/components/DistanceJson.java: + last_write_checksum: sha1:b031a2c77d3654d16a4110220c23ede8682a10b1 src/main/java/com/cvent/models/components/DistanceUnit.java: id: 739e466a37cc last_write_checksum: sha1:778df5be186bb59c31c4c95611b89132632a3a8b pristine_git_object: db47953c3ba814744394b596d888f4c834add6ec - src/main/java/com/cvent/models/components/DistributionListInfoJson.java: - id: 2e71639ec039 - last_write_checksum: sha1:01d9e5f05464d03ccb5d943c601889c97bfffb02 - pristine_git_object: e3681df9eb7a257144b4f6d8d621a206f13744c8 - src/main/java/com/cvent/models/components/DistributionListInfoJsonInput.java: - id: 9d767e6c5816 - last_write_checksum: sha1:f108581cf15f96d30d89b75ccd7221160a2a660b - pristine_git_object: 22989f9643e50f6ce795a1777faf5c2abd827b2a - src/main/java/com/cvent/models/components/DistributionListSecurityTypeJson.java: - id: 22e4c59d2c36 - last_write_checksum: sha1:c8ab09c1a6dbab13a9ee33c53fc83ab76c3039d7 - pristine_git_object: 1a336b329b86262fe31dad7434400ba4c6c8c27a - src/main/java/com/cvent/models/components/DistributionListStatusJson.java: - id: 6f8a646f1069 - last_write_checksum: sha1:0bfa365202a76498787501c550857d752135e8a3 - pristine_git_object: c097e61d71a59f8440f76699add8767700c455f4 - src/main/java/com/cvent/models/components/DocumentTypeJson0.java: - last_write_checksum: sha1:5a2182687609f222522622072f2283b8366dcfa2 + src/main/java/com/cvent/models/components/DistributionListInfo.java: + last_write_checksum: sha1:8e0c3e755966e0e69b5c401385364cb3e9942f82 + src/main/java/com/cvent/models/components/DistributionListInfoInput.java: + last_write_checksum: sha1:90d8780d23d846c3cb100377cd6b597af620a0cf + src/main/java/com/cvent/models/components/DistributionListSecurityType.java: + last_write_checksum: sha1:d5148a8958c75625afa4aaf632a1d72988056ff1 + src/main/java/com/cvent/models/components/DistributionListStatus.java: + last_write_checksum: sha1:d51fa01dd920115c34ce669a359330e6bf870a24 + src/main/java/com/cvent/models/components/DocumentType1.java: + last_write_checksum: sha1:959956127b34de8d65f02a3c6b8cd3d560eafe60 src/main/java/com/cvent/models/components/DonationItem1.java: last_write_checksum: sha1:e2dc0b7daea393000f180cb12db773c43216f2f4 src/main/java/com/cvent/models/components/DonationItemsPaginatedResponse.java: @@ -11432,7 +11020,7 @@ trackedFiles: pristine_git_object: 8eb3478c55affd1e861ad79500b038e4c816105f src/main/java/com/cvent/models/components/EmailHistoryJson.java: id: 56b5c7e8d5b1 - last_write_checksum: sha1:caa5449cbd24b66b0fca38ad44917411b5e21967 + last_write_checksum: sha1:be3882e8ddec06eb17a85f505789359b2789829c pristine_git_object: 8464383ccc7c8ed2d9c5ca39e4ff9d56450bbb7a src/main/java/com/cvent/models/components/EmailHistoryJsonAttendee.java: id: 5d738e83c4ea @@ -11452,7 +11040,7 @@ trackedFiles: pristine_git_object: 893f2933b88cb7b8b57ef17a42fa0ee530d64b0f src/main/java/com/cvent/models/components/EmailJson1.java: id: 5c73e9187eb6 - last_write_checksum: sha1:53df6fc820ae8e26b639ef4140c6e04ff92a481c + last_write_checksum: sha1:c93311d4504a605b834acdbf00a71432e3eafedb pristine_git_object: 6ba825c93c794eca541e0b415eb3907fbe683b01 src/main/java/com/cvent/models/components/EmailJson2.java: id: 47c55d87943f @@ -11490,28 +11078,24 @@ trackedFiles: id: 567aba8e533a last_write_checksum: sha1:98c05794ab1a21d95c1d8d95612871216dc53aa6 pristine_git_object: 14eecb4b05ef0929673c01c390125204457bbc7b + src/main/java/com/cvent/models/components/EmailTypeJson.java: + last_write_checksum: sha1:41a9e07025fa78a8198ce821dde6df525e817847 src/main/java/com/cvent/models/components/EmailTypeJson1.java: id: fbb24b3cb6ce - last_write_checksum: sha1:7cb5a8cebd1e84c462eacd26162a13027448df6f + last_write_checksum: sha1:5d24486ff480420bc5a3de177ad74f688b5affc9 pristine_git_object: 9dc8f15ad050411a5583c5bc4fcbee1772f4b96a - src/main/java/com/cvent/models/components/EmailTypeJson3.java: - id: 182319827ff9 - last_write_checksum: sha1:b4178c2e7dcc1666e675f4ca7f882af2889e9636 - pristine_git_object: d5db8528e1b30deda4b88eb629171d25b4db3405 src/main/java/com/cvent/models/components/EmailUndelivered.java: id: 433d2d39ab33 last_write_checksum: sha1:01d4a980a6bd957b414a3966afe6c94e5e33a2c6 pristine_git_object: 992e1f817daa73f624c0b90abefd94808cd5bd8e - src/main/java/com/cvent/models/components/EncodingProfileJson.java: - id: 3385e5f11e31 - last_write_checksum: sha1:1a0a91bead70419c1292c3c55bd3e589ad2d0173 - pristine_git_object: 76411fb08b49335c762a0a41d48cc5a9ce1b1ce9 + src/main/java/com/cvent/models/components/EncodingProfile.java: + last_write_checksum: sha1:3f59a0ad21953578fe7ca7216423a753e73387bb src/main/java/com/cvent/models/components/EntityType1.java: last_write_checksum: sha1:e18c350805b82ce7e6cef9797ccbc03af75de7f8 src/main/java/com/cvent/models/components/ErrorResponse1.java: - last_write_checksum: sha1:9ebd76aeec7731fb4a8267d8c18c8cb6aba0848b + last_write_checksum: sha1:a5ed50034e9dfbecab31615297f0986c9d5a6acb src/main/java/com/cvent/models/components/ErrorResponse2.java: - last_write_checksum: sha1:c26bb369370a22c0f0e73c5197a2235d9150aa7e + last_write_checksum: sha1:ef9b6d4c5d3dcb3307b5f662c5b153e49eb641c7 src/main/java/com/cvent/models/components/ErrorResponseBase.java: last_write_checksum: sha1:d6e6a8e55fc4e29a1f06dd0e6a404591335513f0 src/main/java/com/cvent/models/components/ErrorScimTypeJson.java: @@ -11531,11 +11115,13 @@ trackedFiles: last_write_checksum: sha1:4de44bbf84cfa2bd124171e4c11a921ff4c635f9 pristine_git_object: 164b5f9e7dc89be3540f98f1f7bd770af701dfaa src/main/java/com/cvent/models/components/Event1.java: - last_write_checksum: sha1:f52c9ed1c33c1816e5ba4f84459917ff2d5e4ec2 + last_write_checksum: sha1:871a480c033b3ac12a5c1a52729800dbdb0008d2 + src/main/java/com/cvent/models/components/Event12.java: + last_write_checksum: sha1:04f1610837848b8bd9ad8f72a780181f5a79b277 src/main/java/com/cvent/models/components/Event2.java: last_write_checksum: sha1:bfb1e3031be918c535633179207215fb727074f3 - src/main/java/com/cvent/models/components/Event21.java: - last_write_checksum: sha1:113e96275717760ff2132adc9cea6e10a9397bee + src/main/java/com/cvent/models/components/Event3.java: + last_write_checksum: sha1:b19eb381ad4f413402239d2b47fa9e32b84e9b59 src/main/java/com/cvent/models/components/EventActivityDetailsJson.java: id: cae903159e50 last_write_checksum: sha1:fd8fac6a9ebcf00e79de3bae2ce27191736eae45 @@ -11552,10 +11138,6 @@ trackedFiles: id: 0b7659e8a3fd last_write_checksum: sha1:43181be01051e97dca9ad322ef04380de8013dd9 pristine_git_object: d8f046e6e79cf6e9d4968afe4560d60688a85989 - src/main/java/com/cvent/models/components/EventAllOf.java: - id: 04664dc7e120 - last_write_checksum: sha1:5d1bbf9b0d8952bc157be69274394ac340adc029 - pristine_git_object: b4f3e690298acbb69ed151e304ff53d94bbd18c2 src/main/java/com/cvent/models/components/EventAsyncResponse.java: id: 2d85a25d675b last_write_checksum: sha1:7282a8aa388277882291e0b15e1d248257e37584 @@ -11612,10 +11194,8 @@ trackedFiles: id: 3623d1a9bbc3 last_write_checksum: sha1:1c8fef0dcdbf419aa822afe5a0e097925fd80061 pristine_git_object: c0cf2993669650ecd1ebdfe4ef7bfb93a7152cca - src/main/java/com/cvent/models/components/EventContactIdJson.java: - id: 40732f1b25c5 - last_write_checksum: sha1:1030d93f8d6000e9bbf1d141a7d31be9c059116d - pristine_git_object: 4ab69642dfffa1fc47357cb6f9c19a628307a8f1 + src/main/java/com/cvent/models/components/EventContactId.java: + last_write_checksum: sha1:a6a6a7f6f04b66862511b5d3f9058519d3bd4d1c src/main/java/com/cvent/models/components/EventCopy.java: id: 9288b92cb730 last_write_checksum: sha1:ca23d205ba0d5bef3259f513e8712de61a55657e @@ -11634,7 +11214,7 @@ trackedFiles: pristine_git_object: 1fadae3f2b97a0b8c5752636cde2f2e18dbcc65c src/main/java/com/cvent/models/components/EventEmailsPaginatedResponse.java: id: ba5256564cfe - last_write_checksum: sha1:748f0a7d84eecd2f9bfcebe90f22d9d3eaa46fdd + last_write_checksum: sha1:67e5e4b9d56d4d89da0d5435ed4f0a5c64e9a0de pristine_git_object: 0f21f94bcdb4e1a20da9c5717a7817daf4a52f95 src/main/java/com/cvent/models/components/EventFeatureJson.java: id: 23ed9a202ca4 @@ -11668,34 +11248,30 @@ trackedFiles: id: 57288bd482f5 last_write_checksum: sha1:3fe992168e3332a1ff6bbd02007c6d9ad7e4cd2f pristine_git_object: 7d14c6fd03b2e2eba1b97242855b6fe8f2695b3a - src/main/java/com/cvent/models/components/EventFormatTypeJson0.java: - last_write_checksum: sha1:c0582c33e3be4775670cb8dfe3183535b6570691 + src/main/java/com/cvent/models/components/EventFormatType.java: + last_write_checksum: sha1:0994528dd82a727ecae279a642934799ef3cff7e src/main/java/com/cvent/models/components/EventId.java: last_write_checksum: sha1:92003270aee12f2aa95bf1a480a86ab585fe67d6 src/main/java/com/cvent/models/components/EventInput.java: id: 51798981c8ce - last_write_checksum: sha1:25988cef5194dfed05b38470cddf5f6bc6ed5a07 + last_write_checksum: sha1:bfe63d41543167b9b62575ccbd7cffdd00592160 pristine_git_object: 03dc33750837fe7bc302c5de6d3fb40233448e73 - src/main/java/com/cvent/models/components/EventJson0.java: - last_write_checksum: sha1:bce4a803eef8f00f63f84e7334605d52307c7152 + src/main/java/com/cvent/models/components/EventJson.java: + last_write_checksum: sha1:afe0ec5516f2fe65acb35c90627923d69882fdd8 src/main/java/com/cvent/models/components/EventJson1.java: - last_write_checksum: sha1:2c4a41829bb913ff2b96085b69cc735f05a12379 - src/main/java/com/cvent/models/components/EventJson2.java: - last_write_checksum: sha1:32c1f782527898e47c1b8132c89e02f5bbe92f0e - src/main/java/com/cvent/models/components/EventJson4.java: - last_write_checksum: sha1:6eeb79bb2bdf793c3467a6c382085c03ff44cd87 + last_write_checksum: sha1:bbf1ba9d3f5fed3d949d05629f6e2ff648032e6d + src/main/java/com/cvent/models/components/EventJson3.java: + last_write_checksum: sha1:6e576a19f95f2e8243387dcf55cd61f3066781eb + src/main/java/com/cvent/models/components/EventJson5.java: + last_write_checksum: sha1:ad02db8249ef4a30b7d9f4a20f3463c48b107681 src/main/java/com/cvent/models/components/EventJson6.java: - last_write_checksum: sha1:44afa5eb3fdc718e05d6a3c03259a9814d836e27 - src/main/java/com/cvent/models/components/EventJson8.java: - last_write_checksum: sha1:ce0944ea3d3ff35b42241e52a1642e72d0476234 + last_write_checksum: sha1:6b5ad4dbc3a6c3f1abd88f7253a48bd3849082a2 src/main/java/com/cvent/models/components/EventLinksJson.java: id: 425d79f7d08e last_write_checksum: sha1:b9211c52ced14949a2e8b205f0e0885148de0387 pristine_git_object: 4e426053edaa73a712053a423b694960e5680156 - src/main/java/com/cvent/models/components/EventLiteJson.java: - id: 96bc07ef566b - last_write_checksum: sha1:1d187dce9e96484f29e873b007d789f609198a40 - pristine_git_object: 9066cf71296959aab7cce21c747be0c4035ebd7c + src/main/java/com/cvent/models/components/EventLite.java: + last_write_checksum: sha1:6e8ead93ef577591902fffc4a47e219599c65727 src/main/java/com/cvent/models/components/EventLookup.java: id: a2031cc9c0f8 last_write_checksum: sha1:52d0436e7b7203e7cb1d2bcb8ed57210d2c1cbd1 @@ -11704,6 +11280,8 @@ trackedFiles: id: feae2b76216e last_write_checksum: sha1:37a7b8651f8d72fa6afd115c56c4634cddcdc24f pristine_git_object: f8994c883238f510641088f69bf33f8899402e04 + src/main/java/com/cvent/models/components/EventOrganization1.java: + last_write_checksum: sha1:a553d6bf5ac20a270a29ebd26603dea6c3e5837b src/main/java/com/cvent/models/components/EventPageVisitTracked.java: id: 2752981ed942 last_write_checksum: sha1:d480a4cbeb6705580ad992a684192f705305535c @@ -11720,7 +11298,7 @@ trackedFiles: pristine_git_object: 259029be898a4a54e7b0277571dbe52bd8463fb1 src/main/java/com/cvent/models/components/EventQuestionJson.java: id: ebce84f30a5f - last_write_checksum: sha1:c98aeabc12bac80baf4b9c4d48beb833cc3e0db7 + last_write_checksum: sha1:75837eaca73e5887ae625471d3bff77b4319f185 pristine_git_object: 8d4cff09d421c1bfc9b5334310952e59ae3f90d9 src/main/java/com/cvent/models/components/EventQuestionJsonAdmissionItem.java: id: 65b593f4499e @@ -11796,7 +11374,7 @@ trackedFiles: pristine_git_object: 99d315c307df9ae51b164592a47f916f612d22a7 src/main/java/com/cvent/models/components/EventSurveyQuestionJson.java: id: 8013e4822f6a - last_write_checksum: sha1:2d7932127d112be4f1f286e88732d9842fc0d968 + last_write_checksum: sha1:185d9a7eaadcc964484255490f5fda1b9adea7ff pristine_git_object: 93182f543745dbb8f05696635f7c66ea13459220 src/main/java/com/cvent/models/components/EventSurveyQuestionsPaginatedResponse.java: id: eac089048043 @@ -11804,7 +11382,7 @@ trackedFiles: pristine_git_object: f3dd98dbaff03e5d5eb96fbccffd3c25c9414ab7 src/main/java/com/cvent/models/components/EventSurveyRespondent.java: id: 96906eb1f3a0 - last_write_checksum: sha1:40b8511993da0f4181c28d5219f29ed20a7686d1 + last_write_checksum: sha1:018640709360e6985a6bd751e1dc12cec9fe8f6f pristine_git_object: 7b08b58451bd62d6a18711f2024603f318e25ce9 src/main/java/com/cvent/models/components/EventSurveyRespondentAttendee.java: id: d98606531eb9 @@ -11828,7 +11406,7 @@ trackedFiles: pristine_git_object: 8a7e66711acec90188b99abe026249ba11f1dba0 src/main/java/com/cvent/models/components/EventSurveyResponse.java: id: 6d78f9acfb39 - last_write_checksum: sha1:b86b4110f7934ed9754fd27054897f01dd4e5464 + last_write_checksum: sha1:a296af75cfc5b75ebbbd1c34e77dcda0da094763 pristine_git_object: 5c692b24a11079a4b334e7ae3a3177dfc8152694 src/main/java/com/cvent/models/components/EventSurveyResponseInput.java: id: b11d97b0a73b @@ -11854,19 +11432,17 @@ trackedFiles: id: 0ceeb3e1d020 last_write_checksum: sha1:437063c37f48a2944f0beda59933ba7d9eefe78a pristine_git_object: 26bed471208ae505f2437761e893a296ef8d1331 - src/main/java/com/cvent/models/components/EventTypeJson0.java: - last_write_checksum: sha1:78a3721b08ec3d7a1cd20d3e656b67411bc9a2bb - src/main/java/com/cvent/models/components/EventTypeJson1.java: - id: 3b00479d7ed6 - last_write_checksum: sha1:b7d88bc1285e48139841594dca5e4a790422ba06 - pristine_git_object: 1dd50580c761a2596e8a3e37e1f7d38061e86713 + src/main/java/com/cvent/models/components/EventType1.java: + last_write_checksum: sha1:e4d22f239030dd1409d1a47acb5a9bbafd6a9f2f + src/main/java/com/cvent/models/components/EventTypeJson.java: + last_write_checksum: sha1:6db35394f52954a1b62e7d08d95253b694d2d43d src/main/java/com/cvent/models/components/EventUpdate.java: id: 41eb20f603b1 - last_write_checksum: sha1:623b9f842cf48c84e606c0cfcd821a676b98d76a + last_write_checksum: sha1:4c824d701b39c9fd9b8ab2a130088e34c252da53 pristine_git_object: f211848985ed27a23e1203742df7dd8f268f3f4b src/main/java/com/cvent/models/components/EventUpdateInput.java: id: 7d83d218d312 - last_write_checksum: sha1:29ec6efb136cde93e2c97f6b2d12784adc242028 + last_write_checksum: sha1:9e17e5d2cd6ebd55d143286579e893b3b5d07120 pristine_git_object: d022ed83a9988ea4677b3267ffd6f728890c8369 src/main/java/com/cvent/models/components/EventUpdateLookup.java: id: 0100741de2e8 @@ -11944,7 +11520,7 @@ trackedFiles: pristine_git_object: ac9f362479c72941272138ec80ef040bc855d47a src/main/java/com/cvent/models/components/ExhibitorCategoryRequest.java: id: 7ce608752bd9 - last_write_checksum: sha1:70c01be7cc3dbab952650435b95c0828bba9d464 + last_write_checksum: sha1:6a40f0409ce2fdec4573c327962b4aad94bd00e0 pristine_git_object: 62c58cf3eb21dbfd6690d25cb17654d7790febc4 src/main/java/com/cvent/models/components/ExhibitorCategoryRequestType.java: id: 7ceea87d2a3b @@ -11952,7 +11528,7 @@ trackedFiles: pristine_git_object: 8db9ac4d6fc85ce83f093004523c3c42f14b61ed src/main/java/com/cvent/models/components/ExhibitorCategoryResponse.java: id: 0e8e4d4d257b - last_write_checksum: sha1:35b52b418c4a0f6c772f259a657887be5199873b + last_write_checksum: sha1:e56b8042641573bc28ea446ccdea9bef9caa4ff7 pristine_git_object: cc33abbb5472d580085d0edfaffce7205cf3865b src/main/java/com/cvent/models/components/ExhibitorCategoryResponseType.java: id: 010c800ff22b @@ -11984,11 +11560,11 @@ trackedFiles: pristine_git_object: 18ba3342f9b8fd609ee8c978a1dfd9953a987be8 src/main/java/com/cvent/models/components/ExhibitorRequest.java: id: b35b33ec27cb - last_write_checksum: sha1:d1d38d1ad6f37ea6daf1836eca38300d3f4ec3b0 + last_write_checksum: sha1:bd80f5b4da60a479212bdcd5dc1b94a1f31e0947 pristine_git_object: 2e296dfbe718594517a5156b7468530f72a7a17b src/main/java/com/cvent/models/components/ExhibitorResponse.java: id: d7937d1f8730 - last_write_checksum: sha1:7d16c1abb066d91df3fceb2a57402dba64f81697 + last_write_checksum: sha1:7b1ba5f58c7c719362bb4188223547a67f807c52 pristine_git_object: 556699e2ff65fc913e44e892259d475b30126cf7 src/main/java/com/cvent/models/components/ExhibitorSocialLinkOpened.java: id: 29d9942b1df5 @@ -12028,7 +11604,7 @@ trackedFiles: pristine_git_object: be8678f4998d7df7fe7937fa0f679a7ea603564a src/main/java/com/cvent/models/components/ExistingAudienceSegment.java: id: 82a4df73d052 - last_write_checksum: sha1:1853658dd430ee0369e48ec35a047dc70059f5de + last_write_checksum: sha1:f5deaea136aa7b44cf2a9ef26791182ccf83cab1 pristine_git_object: e52884aeded2a8216df853f4c60d08772aff029d src/main/java/com/cvent/models/components/ExistingAudienceSegmentCreationTypeJson.java: id: 27b16bf09029 @@ -12036,7 +11612,7 @@ trackedFiles: pristine_git_object: 8d3d5d92438c9a095628240fdc76d9d83bae12ad src/main/java/com/cvent/models/components/ExistingAudioTrack.java: id: 21fd616ae3ac - last_write_checksum: sha1:0786ada1c7a51321def99d862aa8aac7a9322d88 + last_write_checksum: sha1:14f55c90497fecb67a0db4f0f7fc760809210396 pristine_git_object: 103e1096361c6fa710f8f74081cac8185f7f20c6 src/main/java/com/cvent/models/components/ExistingBadgePrintJob.java: id: f849f0f0ca04 @@ -12052,19 +11628,19 @@ trackedFiles: last_write_checksum: sha1:7d52cb505ca4d3acb2c927b89b4c4fefee4815d5 src/main/java/com/cvent/models/components/ExistingCustomField.java: id: 4a88a2a742c2 - last_write_checksum: sha1:c976c72862170c1d1848cf8c20f24a708c74a1e6 + last_write_checksum: sha1:24b703fb7ad6b4281f1c76f3ca2f075df94cb027 pristine_git_object: a7ef77c18e3e5fb9173ae9116ccd927746b5cc80 src/main/java/com/cvent/models/components/ExistingCustomFieldDetails.java: id: bef9d51767c6 - last_write_checksum: sha1:ce5a37c3b5d519bdef466d570010c691ac01096b + last_write_checksum: sha1:ff1a1ac75c737becb1c6920a097957d8a8e95290 pristine_git_object: 5990670d277b643b69741a35ac6a821561d5ca00 src/main/java/com/cvent/models/components/ExistingCustomFieldDetailsInput.java: id: 2cab6a6f54ad - last_write_checksum: sha1:d256b7b7e7e47650674c0f031c499f89ed842504 + last_write_checksum: sha1:10b7cd9f2ba242fb048566e3dc81ce0ba5da986a pristine_git_object: af02c1438bf3c40c45adca68b14d89284f5f6acf src/main/java/com/cvent/models/components/ExistingCustomFieldInput.java: id: ac09fecd4611 - last_write_checksum: sha1:54074c06d1f16869a0015a6db1fdc227019fd4e7 + last_write_checksum: sha1:4f069ead12e95086e96f84fdfa08f0ab8ddc1e5d pristine_git_object: d3af5294df49baa64e0817c8ddf544ac3b2eeef6 src/main/java/com/cvent/models/components/ExistingDiscountCode.java: last_write_checksum: sha1:7edebca7b5fd4e1f54b20754e3cab47fcd4c1af9 @@ -12090,21 +11666,21 @@ trackedFiles: pristine_git_object: c634e1cc8c7fbe005e8c9176a34798be6a28fdf6 src/main/java/com/cvent/models/components/ExistingDurationType.java: id: 917a54d7da32 - last_write_checksum: sha1:bbf5c95f8c9ae64470efb7fe2ad0f1fac1b9e08d + last_write_checksum: sha1:1348a31b5e1ad5a15cfa38e89ed746699000efbc pristine_git_object: 9e153de03eee9f8c02e7472910c4560dd9aaed3a src/main/java/com/cvent/models/components/ExistingELiteratureRequestDataForLead.java: - last_write_checksum: sha1:aa470e35f217a5734ae4968cf68818024c8390a4 + last_write_checksum: sha1:61ee11453ffaee6fd54299dc163d019953feb623 src/main/java/com/cvent/models/components/ExistingExhibitorAnswer.java: - last_write_checksum: sha1:af6609bc05b8da64e11a57090d5d67fcd053171f + last_write_checksum: sha1:0ba10869f1905d9648221c1b4bd238106466f77e src/main/java/com/cvent/models/components/ExistingExhibitorAnswerInput.java: - last_write_checksum: sha1:200d0c67325acc677e8b101273774137ee972317 + last_write_checksum: sha1:6c8bf56c8b3cb37eef74f7db158bcee266066e62 src/main/java/com/cvent/models/components/ExistingExhibitorQuestion.java: id: 90d58d855cb3 - last_write_checksum: sha1:9e3961edc1ffb8918b1b4c1608e08fc0f4d29e0c + last_write_checksum: sha1:abf6225701cd6a6abb4f829bbeb72d9e51ebbd7b pristine_git_object: 3b4a4b6fd109a5d266b44e6390c0560b0d6182ba src/main/java/com/cvent/models/components/ExistingFile.java: id: 36bfcded78ea - last_write_checksum: sha1:777c776885047b20ceee706b8dbfe59c7aea79e1 + last_write_checksum: sha1:49fddf6d19152ceddba385bff176129e2476e929 pristine_git_object: 4a31b2c63f939e105eea07bd0384c509c57166a8 src/main/java/com/cvent/models/components/ExistingHub.java: id: 53ba93218b9b @@ -12164,7 +11740,7 @@ trackedFiles: pristine_git_object: 1514ef45e8441446a8250c7510308272000069b6 src/main/java/com/cvent/models/components/ExistingSpeaker.java: id: e8f153080794 - last_write_checksum: sha1:c1b4e7a8fd92f6f48a9d2023b6ecdb6eda309cc2 + last_write_checksum: sha1:64af9fe7813c9f9430d202b7c6189057bb10d712 pristine_git_object: e21bea2d73e9816cc5d3f35ae329ca9cdb14a722 src/main/java/com/cvent/models/components/ExistingSpeakerCategory.java: id: 47b171be84aa @@ -12176,11 +11752,11 @@ trackedFiles: pristine_git_object: 172d2287d9af44541b9305dba4082b91167a1578 src/main/java/com/cvent/models/components/ExistingSpeakerInput.java: id: 16fabef80db1 - last_write_checksum: sha1:0bd9b1dc63a145915b6705d93a38046dd46ea9b5 + last_write_checksum: sha1:78047462c7c11972894455b55f1ba463a83b1e83 pristine_git_object: f204782b984cccf21a000a428c457d776ded4b11 src/main/java/com/cvent/models/components/ExistingSponsorshipLevel.java: id: f1bce41adc84 - last_write_checksum: sha1:ba75aa8e5787159bb11ee4b8425c615c5bd06e35 + last_write_checksum: sha1:1be2b4622b1e00e8ccec04112de33d4356912ff0 pristine_git_object: 589fcef577097aa0033a549918719a7a110ef7fd src/main/java/com/cvent/models/components/ExistingTableWithSeats.java: id: 5a6175928799 @@ -12188,7 +11764,7 @@ trackedFiles: pristine_git_object: f43f941c0e0407da8dbce28b2d46f1cd7dadb70f src/main/java/com/cvent/models/components/ExistingVideoResponse.java: id: bad0cc6fd8ce - last_write_checksum: sha1:139dae02dd2d211732c9931401fee9927ae0e670 + last_write_checksum: sha1:e57f9bd44fbeb5105c68023d32c04eb79f2100b8 pristine_git_object: 4b3009c87e15fcf5a50d63951012ee1be929bbe5 src/main/java/com/cvent/models/components/ExistingVideoResponseUUID.java: id: 4293a59fa664 @@ -12196,11 +11772,11 @@ trackedFiles: pristine_git_object: c3a3da44875a21dcb2d23a35ab2699286002e084 src/main/java/com/cvent/models/components/ExistingVideoTextTrack.java: id: 4b2ea7bd7ad5 - last_write_checksum: sha1:ec5adae5f0922070ec980cd4d8d12763bf5feebb + last_write_checksum: sha1:16b5c058e87091f42f32c35e7a7140ccc88e6aef pristine_git_object: 35902c633e8e5ee7a527427e799df85cbb93f000 src/main/java/com/cvent/models/components/ExistingVideoTextTrackInput.java: id: 517edccaec58 - last_write_checksum: sha1:89e21ea5a486874da47316d57ac779123743422d + last_write_checksum: sha1:684f51fd6b43f2880a0c698444b9209eff6adffe pristine_git_object: d6b451ec8abf4ae390b072389b9de116ac2f1e61 src/main/java/com/cvent/models/components/ExistingVolumeDiscount.java: last_write_checksum: sha1:1084bce472e3dc8a4d121a8653fd5cba5a260c35 @@ -12218,7 +11794,7 @@ trackedFiles: pristine_git_object: 12e344efb46fef052e6c22e697d3d73651961e39 src/main/java/com/cvent/models/components/ExistingWeblink.java: id: 4483ffb9a015 - last_write_checksum: sha1:e19fd594da703c2a773f95bc552e8708fb0db4ba + last_write_checksum: sha1:e58abbc075f380025e016b8b170fd1d28ce937ce pristine_git_object: e0a97f4f1b34ed277b95877362b41b5e43818f36 src/main/java/com/cvent/models/components/Expand.java: id: d6ed54071997 @@ -12318,10 +11894,8 @@ trackedFiles: id: f2a110f90c00 last_write_checksum: sha1:d37e4453c1040892d6c1e5d3f3a7b844dca66095 pristine_git_object: 9fca53b4e097afb6ba6cdfa9e816ead9a89608d0 - src/main/java/com/cvent/models/components/FairSeasonTypeJson.java: - id: 3f95d9bafb0d - last_write_checksum: sha1:a3f0f36ac9fd5de5384c3f72220db7e220d229eb - pristine_git_object: e09323bdf267ed42853e49cf493d3293ab601efc + src/main/java/com/cvent/models/components/FairSeasonType.java: + last_write_checksum: sha1:1a23e92138c6db6fb70d7f8eb02897a3e1233315 src/main/java/com/cvent/models/components/FeatureTierJson.java: id: b917fa5c9cf3 last_write_checksum: sha1:ac5285750a7fca673ec2effbfb17f16dc4a2b9eb @@ -12346,17 +11920,17 @@ trackedFiles: id: adbeefe89cae last_write_checksum: sha1:5d1da0576c2b8b090fa288efd0d9498cc92be35a pristine_git_object: 293fb31c18084472fa8446b3f9bfcf41337a054f + src/main/java/com/cvent/models/components/Field.java: + last_write_checksum: sha1:4ca2636d3b4050fc5c9449686785e3b3d5ada6f8 src/main/java/com/cvent/models/components/FieldJson.java: - last_write_checksum: sha1:d860afbff909920a6ffb08db53d5c78fc9af6cf2 - src/main/java/com/cvent/models/components/FieldJson2.java: - last_write_checksum: sha1:ab0043353a14a1d6877bb942f51ae31d72bcf5ef + last_write_checksum: sha1:558a9b986e575432b3e3e87e41a3611b7baebad0 + src/main/java/com/cvent/models/components/FieldType.java: + last_write_checksum: sha1:8d4804037a7631fe70e5bd291d8562b579e30513 src/main/java/com/cvent/models/components/FieldTypeJson.java: - last_write_checksum: sha1:e4b35bbfed6a3c9f59327fdf7e33534ff00a0e0f - src/main/java/com/cvent/models/components/FieldTypeJson2.java: - last_write_checksum: sha1:6e979a81706d5184a0604d765dd2fc33f349e7dc + last_write_checksum: sha1:0b3ff5375d3eb7d36ccb5365dfd6fc5cde15f09b src/main/java/com/cvent/models/components/FileInput.java: id: a286ac4e1af0 - last_write_checksum: sha1:273e32bd87b740fa38b8d0c909c90ef36708abdb + last_write_checksum: sha1:4349714f77ba095e1cc2a79becd00e8c0e9d0b8e pristine_git_object: 8863c4aa0d630b0df0d22df23bde910f534d0b46 src/main/java/com/cvent/models/components/FileLinkJson.java: id: 1576ea25515a @@ -12390,10 +11964,8 @@ trackedFiles: id: ae3deff35577 last_write_checksum: sha1:5bcd038f5145694b363e50ce716ec290077852e3 pristine_git_object: 2d1382a797603cd2ef8bf1fd3bd72aa50921ed4a - src/main/java/com/cvent/models/components/FormatTypeJson.java: - id: 67af9d01bde0 - last_write_checksum: sha1:ee55156f032d2881b8f2922978f5e0426fe32208 - pristine_git_object: 478c673d18a8c2e4f2d55aa7d7408b9ad5b34dc4 + src/main/java/com/cvent/models/components/FormatType.java: + last_write_checksum: sha1:c83f2d384242676c1e4bae9e80f1bfde78e9c9c8 src/main/java/com/cvent/models/components/Frequency.java: id: 8f325e9c187c last_write_checksum: sha1:059abcc81835c5cb9788333308764371b650c19a @@ -12402,10 +11974,6 @@ trackedFiles: last_write_checksum: sha1:e10365ca53e1d3f8f3da64fd96b33c0d0f464af6 src/main/java/com/cvent/models/components/Gender1.java: last_write_checksum: sha1:a5ff783442a3222680b5e323a1eb6230e96af1a2 - src/main/java/com/cvent/models/components/GenderJson.java: - id: 95c4ce031689 - last_write_checksum: sha1:d1d3ed7d235e56d4ff26bd0398518ae15a75355e - pristine_git_object: f13dcf0cbe1ce183a80ce730667b6702b471cbff src/main/java/com/cvent/models/components/GeneralLedger.java: last_write_checksum: sha1:337db936b8976be446ccd53f153ffe78bd395f36 src/main/java/com/cvent/models/components/GeneralLedger1.java: @@ -12428,18 +11996,16 @@ trackedFiles: last_write_checksum: sha1:44b869f9a727fcb76ff000abbba222f055320e8c src/main/java/com/cvent/models/components/GuestJson.java: id: 49a64b4b6395 - last_write_checksum: sha1:c4eae4fdb2408c4f3978dbf675744f559302198b + last_write_checksum: sha1:660b3a9b7729579cbcb3407b69cbb0d83009222b pristine_git_object: e8eb3cd8c2f3dc3a062ba593070686aa0b0f3687 - src/main/java/com/cvent/models/components/GuestRoomOccupancyJson.java: - last_write_checksum: sha1:0a7d8506aec95215ee54879965f92b58a8e3a1cf - src/main/java/com/cvent/models/components/GuestRoomOccupancyPerRoomTypeJson.java: - last_write_checksum: sha1:a0596596fd9aac5fb0ebaaf5a90270851854493e - src/main/java/com/cvent/models/components/GuestRoomTypeJson.java: - last_write_checksum: sha1:90a2e836af9c96b09d840d111b037ddfc21fb00d - src/main/java/com/cvent/models/components/HlsInputWithClipsJson.java: - id: 47db09f48ae4 - last_write_checksum: sha1:d4f91b04d05bfe6c760fbd14d27183b8a1ef25e7 - pristine_git_object: e914c99d658c1feb56f5cf0bfc0b311497eeaec2 + 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 + src/main/java/com/cvent/models/components/GuestRoomType.java: + last_write_checksum: sha1:d5f3a9f7f2021feb7fe78695b34512a75d409ecf + src/main/java/com/cvent/models/components/HlsInputWithClips.java: + last_write_checksum: sha1:8991008d5ec4445279e7174c4ff84127967cba8d src/main/java/com/cvent/models/components/HomeAddress.java: id: 64350412e843 last_write_checksum: sha1:541bd2702c9054440ff9dcc1431f2a0c287eb49a @@ -12485,7 +12051,7 @@ trackedFiles: last_write_checksum: sha1:58c35570ae76cc5909c4dd97890a4e938d1f310a pristine_git_object: 7c98795b1d12987cb683dc6ea4580214d328e843 src/main/java/com/cvent/models/components/HotelRequest.java: - last_write_checksum: sha1:0135370cb21eb0795d0af8a3be1724c35dcf18d9 + last_write_checksum: sha1:eed48fb5d135fce8f70903b254293f750f64821c src/main/java/com/cvent/models/components/HotelRequestRequesterType.java: last_write_checksum: sha1:d422475e2029af353aeb87f555c0adca694060a1 src/main/java/com/cvent/models/components/HotelReservationDetail1.java: @@ -12508,7 +12074,7 @@ trackedFiles: pristine_git_object: 7c3e9273254d5c9af8c01921c4dde2ad3634a1f5 src/main/java/com/cvent/models/components/HousingEventHotel.java: id: 85a0954465ec - last_write_checksum: sha1:94c399be8f2e7ea58f41893b820a857b07451b7b + last_write_checksum: sha1:71640c7d0c906fe702ac1f77f5940a5d009c125d pristine_git_object: cf2b7ebcb09d07b90662994eb92e8290b91a6fee src/main/java/com/cvent/models/components/HousingEventHotelsList.java: id: 32055b1d82d1 @@ -12528,7 +12094,7 @@ trackedFiles: pristine_git_object: 7529a02c932d8a7d50ebdd35c8504a8c58146ccb src/main/java/com/cvent/models/components/HousingEventSummaryList.java: id: c63814e15f5c - last_write_checksum: sha1:2fb198fcdac10422d689af28c86cbefbe673310d + last_write_checksum: sha1:b5eb8d11b7796c98bcbdb3bfa895804f8d532447 pristine_git_object: 0ab5e75720a1814c56f7928eeda9a55e50e6b135 src/main/java/com/cvent/models/components/HousingReservation.java: last_write_checksum: sha1:1fc23507dc3caa26c3c085d15908d429f79b8093 @@ -12558,16 +12124,14 @@ trackedFiles: id: 8cd59cbf84a6 last_write_checksum: sha1:346c118afe8d785ef31f5d9ea3776d14196f5d06 pristine_git_object: f1f333968a3fca81663dcb738957e6d2bb10d271 - src/main/java/com/cvent/models/components/IdJson.java: - id: ef21acf10aa4 - last_write_checksum: sha1:103cc4c2cebe461f4b4e5a52fbdae16365b5e329 - pristine_git_object: 703eabe8fcbf8189af302a0ed58379cfc88b2d24 + src/main/java/com/cvent/models/components/IdOnlyEntity.java: + last_write_checksum: sha1:0708cb6488d8a212dbbb719a50618760c5da9596 src/main/java/com/cvent/models/components/ImageLinkJson.java: id: e7fd21611075 last_write_checksum: sha1:118a072bd65b934ea4faa03b7d86381e69ae8140 pristine_git_object: 681631830bcaf3f845901d42b4576479706d7af3 - src/main/java/com/cvent/models/components/IndustryJson0.java: - last_write_checksum: sha1:199ba3b953797aefa2baf4d97151b80dd17b079f + src/main/java/com/cvent/models/components/Industry1.java: + last_write_checksum: sha1:cd134f29e6ab84cafbd70203893c8827530eb94c src/main/java/com/cvent/models/components/InventoryDetailsList.java: id: a0797af650ae last_write_checksum: sha1:44f867ea501e5311d828f2c2b8af3d6cec0a612e @@ -12586,7 +12150,7 @@ trackedFiles: pristine_git_object: 66df3e25fab44d0483abefafa3c90649cb9faebf src/main/java/com/cvent/models/components/InvitationListPaginatedResponse.java: id: 6ce7f2a1dfa2 - last_write_checksum: sha1:7abe6b1f895e17f9856b4bef017ae4aca88ba04e + last_write_checksum: sha1:3c51d48ef59144fc50842902f497d558994133a3 pristine_git_object: 9d9219a0252a55b7c229f1a900f51ea09802f2fb src/main/java/com/cvent/models/components/InvoiceFile.java: id: 6b813d4011fa @@ -12635,7 +12199,7 @@ trackedFiles: last_write_checksum: sha1:a468f37dca8956ba1c32ffcf098394e04b7e20ea pristine_git_object: 7ffa9c83f07937253f7c5a0f2222cfd63256c57d src/main/java/com/cvent/models/components/Lead.java: - last_write_checksum: sha1:8f1bcb0bd402a245884b3fc3631b92edaeca1062 + last_write_checksum: sha1:09397970f970521fceca5d8cbf55e016fa8cd6b1 src/main/java/com/cvent/models/components/Lead2.java: last_write_checksum: sha1:e9bec2f454bffd321c8d4e27531924389769b2c1 src/main/java/com/cvent/models/components/LeadInboundCreated.java: @@ -12647,13 +12211,13 @@ trackedFiles: last_write_checksum: sha1:922bef627a132a6fa3067af0cac5cbfd870d9b4a pristine_git_object: f7573ec8803395b2580284fb0d985df3d87ab1d8 src/main/java/com/cvent/models/components/LeadQualificationAnswers.java: - last_write_checksum: sha1:4ca9d641742d6c1d445c1add4782e441df76ea42 + last_write_checksum: sha1:81d0e26e7ac5ffb9c4b6ad90322c1074c061c1b1 src/main/java/com/cvent/models/components/LeadQualificationAnswersListResponse.java: id: 48d0e73e6b6c last_write_checksum: sha1:6cc2cb474d6abea5a511873988df7e31cfe24b29 pristine_git_object: bfa51c9686d979b19b0cf9d82526c1c9d07f49a1 src/main/java/com/cvent/models/components/LeadQualificationQuestion.java: - last_write_checksum: sha1:f52920fc98c8c1521094fb9e248c671347c1d83e + last_write_checksum: sha1:8a53bbaa67fcbb23557914dc9151e9c291280fe9 src/main/java/com/cvent/models/components/LeadQualificationQuestionType.java: last_write_checksum: sha1:fdea16cac6dcb58c131e2fc8f15d5dc69df832b3 src/main/java/com/cvent/models/components/LeadQualificationQuestionsListResponse.java: @@ -12670,20 +12234,18 @@ trackedFiles: pristine_git_object: 77a9ff0e54d8b932a09ed908f5a5155b6aca4d58 src/main/java/com/cvent/models/components/LeadQualifiedQuestionResponseJson.java: id: e76dd961ba0d - last_write_checksum: sha1:a8fdb10a39cdb136ef11f959d1b2589ea10cdce0 + last_write_checksum: sha1:eb8537698da199d888e9e922188485b9cca9123c pristine_git_object: 340265903611a3b75803f4d543c4b933387ca49d src/main/java/com/cvent/models/components/LeadScanned.java: id: 35af737c7cee last_write_checksum: sha1:f8dbd3ce6ed5736d3d97a60ef6d62f7d6c8072c7 pristine_git_object: 7ee0b9a1bb80355595014d774e72d9459e47c1b2 src/main/java/com/cvent/models/components/LeadSource.java: - last_write_checksum: sha1:4a916ea870c045067b221aef3c1d1e30df3b72e7 + last_write_checksum: sha1:fc21924f57e3eb57e2d22dd8b46cebf500d3bde1 src/main/java/com/cvent/models/components/LeadSourceExpand.java: last_write_checksum: sha1:178b16403e6637b2865c96efd00e9ce7ad721ef4 - src/main/java/com/cvent/models/components/LeadSourceJson.java: - last_write_checksum: sha1:7f525bc0dfa5e69d57a3410452bee84d997bd4c1 - src/main/java/com/cvent/models/components/LeadSourceSectionJson.java: - last_write_checksum: sha1:0969b3afdffca42983537d1008da4a5f5f8a6156 + src/main/java/com/cvent/models/components/LeadSourceSection.java: + last_write_checksum: sha1:5df146126127c75d6c673e5a95db4e93cb947447 src/main/java/com/cvent/models/components/LeadType.java: last_write_checksum: sha1:734f96d29b181824edf0ae303bc982bb338f1b54 src/main/java/com/cvent/models/components/LeadsPaginatedResponse.java: @@ -12742,12 +12304,10 @@ trackedFiles: id: 3c353a00b93c last_write_checksum: sha1:65cf66f5b1e953a85c47d346ffb25e056d6143d0 pristine_git_object: aa78ed4a3896a05193a99e355116d706fd6ad51c - src/main/java/com/cvent/models/components/ManagementLevelTypeJson1.java: - id: 910fdb1fcc9a - last_write_checksum: sha1:5303074f8ab7110110ee469b9bd0240fc9231c73 - pristine_git_object: e6e9a9dae05831994c6ddf5b4cf2ff0951603f3f - src/main/java/com/cvent/models/components/MeasurementUnitJson0.java: - last_write_checksum: sha1:a307f86a714dccd94f1dff3ea1d3131c2c8d6a79 + src/main/java/com/cvent/models/components/ManagementLevelType1.java: + last_write_checksum: sha1:0ca340ab6ce07b2887fcfbe16b6c775348880e13 + src/main/java/com/cvent/models/components/MeasurementUnit.java: + last_write_checksum: sha1:ad6eddc0f5ba0f2179bc0e5323b97561165db1aa src/main/java/com/cvent/models/components/MeetingRequest.java: id: dfcddc033da7 last_write_checksum: sha1:0505a52d2a3926cd9783af584a8e94ee1a22d187 @@ -12810,7 +12370,7 @@ trackedFiles: pristine_git_object: 485d838e651d0d3b1c2e0d7238eb5a54a892a513 src/main/java/com/cvent/models/components/MeetingRequestQuestionJson.java: id: e6f739710a1d - last_write_checksum: sha1:340657daa4ced31b37d0b77bab9272a530d55030 + last_write_checksum: sha1:df4a00138ad0e559f3bfdb8b05acb82be98c422e pristine_git_object: 154716c27d9f38439816233e72f1d4bdd02ed6db src/main/java/com/cvent/models/components/MeetingRequestUpdateJson.java: id: 4bcb39291544 @@ -12838,26 +12398,18 @@ trackedFiles: last_write_checksum: sha1:29905abfdf376ebfde1e48c1e6593d8077a2ed23 src/main/java/com/cvent/models/components/MembershipItemsPaginatedResponseDataTypeIdResolver.java: last_write_checksum: sha1:0fb73dd93f7d490b6e1d3c09be10d03a509c2d11 - src/main/java/com/cvent/models/components/MembershipJson.java: - id: 7a4b8d2711e9 - last_write_checksum: sha1:8e9aecd7654a4e7d9fb03a1389e76944ec77efc7 - pristine_git_object: 118d1dbcb6f1250c43a29a69baa6ef917f863407 src/main/java/com/cvent/models/components/Message.java: id: 9a7faa8ca1a9 last_write_checksum: sha1:678bba888199cba27d4833bb7ace6a8074b6cc12 pristine_git_object: 990747372ced1f4ef3679e82a0341374fd84526e + src/main/java/com/cvent/models/components/MessageRecipientResponse.java: + last_write_checksum: sha1:0a5d40774ddff4cd4a7220e61ec85c9822a7d1a6 + src/main/java/com/cvent/models/components/MessageRecipientResponseAttendee.java: + last_write_checksum: sha1:26e6d5e26b406af9fccabadf1e0149d40b1d8bf1 src/main/java/com/cvent/models/components/MessageRecipientsPaginatedResponse.java: id: 15fee29e42a6 - last_write_checksum: sha1:e3972e352a671ac3d697a838631eb0e4dab34ebc + last_write_checksum: sha1:a53512a8f7f6d48adb92487c8d008daefc60ec13 pristine_git_object: 0cb6ce99a8c11b8e24ddcfdfe2ea15af5ae1a947 - src/main/java/com/cvent/models/components/MessageRecipientsResponseJson.java: - id: ac420ca726be - last_write_checksum: sha1:d5ff3cb4b9e4f03063f870eff486937c1fc931d0 - pristine_git_object: 79458911a330aade3564cae5b07d81e6d0816ddb - src/main/java/com/cvent/models/components/MessageRecipientsResponseJsonAttendee.java: - id: a0291152bbbe - last_write_checksum: sha1:3c646d6d4e958ccc843c0834323fd35622221507 - pristine_git_object: 69fa7a70aba0c73c6e2404654cd4b1667bdfdc62 src/main/java/com/cvent/models/components/MetaJson.java: id: 436cb8b513bd last_write_checksum: sha1:3d5b6d9e90b5cbdd3923f2dc5f1fe0661a806339 @@ -12892,18 +12444,12 @@ trackedFiles: id: e1fc558b8e36 last_write_checksum: sha1:e164b48e77bd3cff5718ab12b6a117f283fa0d86 pristine_git_object: b49dbda37d74fe5a44c7dc9415829114b619217b - src/main/java/com/cvent/models/components/NumericAnswerFormatJson.java: - last_write_checksum: sha1:9d96f36af60eb4f2da98bc5421952ab57803722c - src/main/java/com/cvent/models/components/OfferingCostTypeJson0.java: - last_write_checksum: sha1:44ebc7fde3d76ffa64464109c66bad087af9905d - src/main/java/com/cvent/models/components/OneAllOf.java: - id: d825cf1ff9e9 - last_write_checksum: sha1:9101b28212bb22050c7eec69e7be2fc9dd65a9f9 - pristine_git_object: 683ae47bd61fdd862b6d26a7b7d01c3d0cf023f1 - src/main/java/com/cvent/models/components/OneOneOf.java: - id: c7d3d94c8ee7 - last_write_checksum: sha1:edf348f4a3fafdd859007e76aae34efe267d86fe - pristine_git_object: 51fc342c3c13adde30c8d98e1b03ff832e170b9b + src/main/java/com/cvent/models/components/NumericAnswerFormat.java: + last_write_checksum: sha1:28e3c5a73814fce05ee884b00f04f698a9ff9876 + src/main/java/com/cvent/models/components/OfferingCostType1.java: + last_write_checksum: sha1:98e1af8a21229b9e5d05c3c109f81df054ca30f0 + src/main/java/com/cvent/models/components/One.java: + last_write_checksum: sha1:a65ce9d91343d3c9619ea338ca349dc93913d825 src/main/java/com/cvent/models/components/OpenEndedCommentBox.java: id: 850b43579415 last_write_checksum: sha1:b067e6fbde0e8b974de655c7a066f3ec9cb43a0f @@ -12920,14 +12466,8 @@ trackedFiles: id: 682b78b418f1 last_write_checksum: sha1:204440eed7928e8839a51d000479945f753c0fda pristine_git_object: d87c5ebed9aae39f026ec48c129718fcacd2d091 - src/main/java/com/cvent/models/components/OptOutJson.java: - id: f992ecfeb136 - last_write_checksum: sha1:6d2152e56fa2c1ec053d58a04767ac99c1bd49f3 - pristine_git_object: 1fc40f85bad9d1d445caba61948fc55b0fa67a42 - src/main/java/com/cvent/models/components/OptOutJsonInput.java: - id: 884f266f5b9a - last_write_checksum: sha1:be3707a2f5f8e0eb07185e590b034428ba37b04d - pristine_git_object: 263a36a7976a917d0e7f78c2829aedf929e7c8bc + src/main/java/com/cvent/models/components/OptoutBy.java: + last_write_checksum: sha1:a5b36e2e947512821e01f66d9419883cb0f89520 src/main/java/com/cvent/models/components/OptoutByJson.java: id: 3f6ee33ac261 last_write_checksum: sha1:8b7bed3eb6db5a7a49e8db59cc28ccb41651134b @@ -12935,7 +12475,7 @@ trackedFiles: src/main/java/com/cvent/models/components/Order.java: last_write_checksum: sha1:4c29b9018dacf117e5a9c2b6725af0e2eb810f66 src/main/java/com/cvent/models/components/OrderDetail.java: - last_write_checksum: sha1:904fc9095159749a2291c9eb28fb444203432652 + last_write_checksum: sha1:d0e3620561703affad2897d9f3ea527de1132fe7 src/main/java/com/cvent/models/components/OrderDetailsPaginatedResponse.java: id: 07283149875a last_write_checksum: sha1:296a90ad0e448117003741e0e513bc280af46144 @@ -12950,7 +12490,7 @@ trackedFiles: last_write_checksum: sha1:469336a2704b54e7d3acc198d96b9cffe4e78818 src/main/java/com/cvent/models/components/OrderItemResponse.java: id: 608e94e1dc0c - last_write_checksum: sha1:6c9eb5976b7c9e702f876d593a8b18ee063af7f4 + last_write_checksum: sha1:5b106a1cf289e18c394a7628aabdc6cf95f9dc26 pristine_git_object: 993add3fe16d44b83fab4cbcbf695ff05154af7c src/main/java/com/cvent/models/components/OrderItemsPaginatedResponse.java: id: 31a39e57d250 @@ -12960,16 +12500,16 @@ trackedFiles: last_write_checksum: sha1:85eb32a7272e39042d5b88cc4b80e859ad940d07 src/main/java/com/cvent/models/components/OrderType.java: last_write_checksum: sha1:59de47b57798c9350747624b4d4e7838bd39fca2 - src/main/java/com/cvent/models/components/OrganizationJson.java: - last_write_checksum: sha1:517fa5321393833bdb58688c370afe2ab02155dc - src/main/java/com/cvent/models/components/OrganizationTypeJson0.java: - last_write_checksum: sha1:d33f602e2af6f16520cfc5daedcdcd899124bd01 + src/main/java/com/cvent/models/components/Organization.java: + last_write_checksum: sha1:f3f4561db86231db8515f5667285904cdf428b18 + src/main/java/com/cvent/models/components/OrganizationType1.java: + last_write_checksum: sha1:f303449231baa1ccffeae05bc87964952dd5b8bb src/main/java/com/cvent/models/components/OtherPaymentJson.java: id: 90075a6f1044 last_write_checksum: sha1:b95c742b4e9cb36e6fbd2d3daa8ae7fbbe888c14 pristine_git_object: 5fae1ea300e0f12f3dedf6aa71e28bfb7e1cc7b0 - src/main/java/com/cvent/models/components/PackagePricingPreferenceJson.java: - last_write_checksum: sha1:6ff4f4db6dd8927119ebc3cc47b3d5eb0c27f8d9 + src/main/java/com/cvent/models/components/PackagePricingPreference.java: + last_write_checksum: sha1:3337a8cde758f0d64bfae11c9cf53fea3aacad86 src/main/java/com/cvent/models/components/PageVisibilityJson.java: id: 888ceb2adea0 last_write_checksum: sha1:0b0e25de6ce3c26ee1ebc70d7c48d7835e7955cd @@ -12979,21 +12519,21 @@ trackedFiles: last_write_checksum: sha1:0b1e6a875f0f0eb00a9116b7aa24230cd86a5897 pristine_git_object: f885d9ba13ec5cb8af23dc607659cf0525aca277 src/main/java/com/cvent/models/components/PaginatedInternalDocuments.java: - last_write_checksum: sha1:b097db49c6725fa977b99c39504df82f396556fb + last_write_checksum: sha1:e033b2fa23cb0c7dc6f5ca7902e9abcf09ba7618 src/main/java/com/cvent/models/components/PaginatedRfpAgendaItems.java: - last_write_checksum: sha1:db9f201942b9b7e1c3aebc7ac77faa57823acda8 + last_write_checksum: sha1:0372cc487daa3d9a4ef8df6e41940b7a664b26b2 src/main/java/com/cvent/models/components/PaginatedRfpAgendaItemsSchedule.java: - last_write_checksum: sha1:b27b894b2d11eaa0044e90338f24ae87c273b867 + last_write_checksum: sha1:197774776b7a7983e65fed6144578986d0908472 src/main/java/com/cvent/models/components/PaginatedRfpAttachments.java: - last_write_checksum: sha1:20014a7c4c04d531f530f6dcab9b6b6ecada4755 + last_write_checksum: sha1:ac10a3d9e3b61a7d5bae9ef537f8db7760315958 src/main/java/com/cvent/models/components/PaginatedRfpCustomField.java: - last_write_checksum: sha1:f14cb2a7133e7a3083e9be0b1349db13d2b21d45 + last_write_checksum: sha1:d107d33df6f1e897b350ac2ea0225dc56099e1dc src/main/java/com/cvent/models/components/PaginatedRfpQuestions.java: - last_write_checksum: sha1:8a6ba1c50400492bbf3e4089e10a1f01747bd7b5 + last_write_checksum: sha1:0e7ebc2e009e49a85b2d0672d53ae98e3c042945 src/main/java/com/cvent/models/components/PaginatedRfpRecipientsHistory.java: - last_write_checksum: sha1:ce7aaa92e10189efc5d6881553b6d0a08a30ff49 + last_write_checksum: sha1:c9f4c9e33812575e10cad24f78df078c783af62e src/main/java/com/cvent/models/components/PaginatedRfpSuppliers.java: - last_write_checksum: sha1:341c217375143d3c8357797af082b655d4274be6 + last_write_checksum: sha1:fc2342844ae681f9b1b84025024e9da3baad651f src/main/java/com/cvent/models/components/PaginationLinks.java: last_write_checksum: sha1:2a3605d8bd9785b2fef7fff127b7870bc9ccf1e7 src/main/java/com/cvent/models/components/PaginationLinksJson.java: @@ -13006,10 +12546,10 @@ trackedFiles: id: d016efaa46c3 last_write_checksum: sha1:9be181a46b23dffcaf334830d8d4578518791dc6 pristine_git_object: a1b8f6ee45e2c4d9f4a8a3ff1c410f0799be6c14 - src/main/java/com/cvent/models/components/PagingJson19.java: - last_write_checksum: sha1:f57f395d372ba9fd813f868fe3c478663945af4a - src/main/java/com/cvent/models/components/PagingNoTotalCountJson2.java: - last_write_checksum: sha1:03e48f599dbe14dbab836df7de03a4fb47f17717 + src/main/java/com/cvent/models/components/PagingJson2.java: + last_write_checksum: sha1:f4a47ac390f6b2218be30aeda840e8e2551f006f + src/main/java/com/cvent/models/components/PagingNoTotalCountJson.java: + last_write_checksum: sha1:b15dbbb17a23cb85844394ec3d88c28f9a3fdbb6 src/main/java/com/cvent/models/components/ParticipantResponseJson.java: id: aafb41f9d567 last_write_checksum: sha1:6bc0092b2e3edb28156dc0956fc1ca9a42ae5927 @@ -13026,14 +12566,10 @@ trackedFiles: id: c36e1dcffc02 last_write_checksum: sha1:1227de4fac9d03a1bd14ceaaa887c7525bddcb41 pristine_git_object: 493fb0ae3ca48b38129276ab5eae1df7b7ece12d - src/main/java/com/cvent/models/components/PassportJson.java: - id: 1fa415be72d0 - last_write_checksum: sha1:e7211bc1ba2d2bcded585817878b4e796ff3ae0f - pristine_git_object: 3641829fbbf6077b125e970536321538ad6c3bbe - src/main/java/com/cvent/models/components/PassportJsonInput.java: - id: c8251d8d6344 - last_write_checksum: sha1:e2db1ff537b05a45904aabafcd40c09e5477f1e3 - pristine_git_object: ea2cdfbb4cb6709bd555a1b8809f8550f565d1c3 + src/main/java/com/cvent/models/components/Passport.java: + last_write_checksum: sha1:3912eaa1b264bc1723c01894ebb6b1a9c1439c05 + src/main/java/com/cvent/models/components/PassportInput.java: + last_write_checksum: sha1:4c157416d0cd0a59f00091c68be252754855f777 src/main/java/com/cvent/models/components/Patch.java: id: 613ddddde821 last_write_checksum: sha1:dd7d83f78b34262081fd6ea3ce9c7c491fd7efbf @@ -13044,7 +12580,7 @@ trackedFiles: pristine_git_object: f5fdaa6be16610e949a7e27933c1bc0b1ecf6089 src/main/java/com/cvent/models/components/PaymentInfoJson.java: id: b65a46867a9c - last_write_checksum: sha1:7cccb1b5b3db92d80982d61d8e24253289f30977 + last_write_checksum: sha1:dacac6e6bd16ab88449273b422accb52f9d44b12 pristine_git_object: a0568a28ce2ee5731c3c6393af2c811453f8e54e src/main/java/com/cvent/models/components/PaymentMethod.java: last_write_checksum: sha1:a7b8cf1223e51b5b846d9b514d0be8ba3097d14f @@ -13102,7 +12638,7 @@ trackedFiles: pristine_git_object: 4610e8ab27027bc8d24b80f6bfc90fae64fab40a src/main/java/com/cvent/models/components/PlannerJson2.java: id: b3fae8109524 - last_write_checksum: sha1:eecfd63fded589da9231595fdbe87f24ba4d689c + last_write_checksum: sha1:040a72d20c19334d647de0cc1a3deaa66ce8f39a pristine_git_object: 71b90ddba1daa21a88a344a619c29ee2fde46287 src/main/java/com/cvent/models/components/PlannerJson2AddressType.java: id: 53687a242028 @@ -13168,10 +12704,8 @@ trackedFiles: id: a871ab25dc3f last_write_checksum: sha1:d27e47d06ed9cd3b5cd95173ab0bfe3227198d5c pristine_git_object: e1f88c86d0ce78782309652694d6e00b2637a047 - src/main/java/com/cvent/models/components/PolicyValueTypeJson.java: - id: 2635fd89d352 - last_write_checksum: sha1:fbf09a50a4593713f40b2ab693312f6d0b19434d - pristine_git_object: 85927302f310da7ce25c4a2ae2c8eb722b8f64af + src/main/java/com/cvent/models/components/PolicyValueType.java: + last_write_checksum: sha1:66a522e822d7d393a86f3d42485d71f8ee7658ce src/main/java/com/cvent/models/components/PollResponseJson.java: id: eb085cf2fd1d last_write_checksum: sha1:abeb478108ca8685704c2e05c9b7e529c4e707a7 @@ -13234,10 +12768,8 @@ trackedFiles: id: fd4ff1ba094d last_write_checksum: sha1:071d62c2168ed3d372b1085553c480aaecca754e pristine_git_object: 356c72890f0087bffaef795daa88798dff66528b - src/main/java/com/cvent/models/components/ProgramItemLiteJson.java: - id: 0fd9d4e33b21 - last_write_checksum: sha1:a189e7bc616a241a56904db69a0cc0c737f24585 - pristine_git_object: 8c2432fb4e1d70fe561e294e53881434d1b89559 + src/main/java/com/cvent/models/components/ProgramItemLite.java: + last_write_checksum: sha1:2cd0249639c6f4adfa26549c9c961f92d3791398 src/main/java/com/cvent/models/components/ProgramItemPaginatedResponse.java: id: f566acae4b4b last_write_checksum: sha1:aad8a3b2fc275230c44763085388e8e50d2f4f78 @@ -13252,7 +12784,7 @@ trackedFiles: pristine_git_object: 0a187eb5c2b363b1987f05f385df5e45afb69937 src/main/java/com/cvent/models/components/ProgramItemSpeakerPaginatedResponse.java: id: 41872146037b - last_write_checksum: sha1:d8f5673961efadb43edef3bab1e94d035d57eb36 + last_write_checksum: sha1:195ac9da11b036e7e9998a1615361e18c9a688fd pristine_git_object: 38778defd2baa6a2a8524a049679520d8e2f1d27 src/main/java/com/cvent/models/components/ProgramItemUpdateRequest.java: id: d146b80d0c68 @@ -13262,7 +12794,7 @@ trackedFiles: last_write_checksum: sha1:118b0bc06fb6e58bd48e7e432a979a28c07d9681 src/main/java/com/cvent/models/components/Property.java: id: 567bc7eb2757 - last_write_checksum: sha1:f7d1a2273c385d6c19a935ae2e46ce62d28c21e0 + last_write_checksum: sha1:e0caea2ed69e48bab54a17f337199143abda0c6e pristine_git_object: fd060a93114f7aa404e864ce57e9581191970a3f src/main/java/com/cvent/models/components/PropertyBrand.java: id: 28af53cde515 @@ -13282,7 +12814,7 @@ trackedFiles: pristine_git_object: bf90a8f2eba5188bde273af913098e989dad58a9 src/main/java/com/cvent/models/components/PropertyRoom.java: id: f478ef889b35 - last_write_checksum: sha1:ae9201005ca27644c9b08e9ad60b6876db2dfd33 + last_write_checksum: sha1:b944652fbab7cb7e6ff1dbc90fff2101e6c80d46 pristine_git_object: b3a30462de017fb2b8c7f9a866df2527b4ef6e0f src/main/java/com/cvent/models/components/PropertyRoomExternalCodeJson.java: id: 7b541e810851 @@ -13298,31 +12830,29 @@ trackedFiles: pristine_git_object: 4d30c8e8545dc6763bd098ac1ddf8341637f8bc3 src/main/java/com/cvent/models/components/ProposalDateJson.java: id: c11a3e604cc7 - last_write_checksum: sha1:3e29c31757577bf95554c423b19ca0bffba328ac + last_write_checksum: sha1:e63c5c015135d0b9dc1759a69e01e834287ee84b pristine_git_object: 113351afbb0d3769c23ccec46c95757556678c3a src/main/java/com/cvent/models/components/ProposalRequest.java: id: 26a1607abee8 - last_write_checksum: sha1:ba0233e3ef540e2aa8e42ea107350242ffc20998 + last_write_checksum: sha1:4d84bea8d8f9a43ba14020d77a957b7b004e4311 pristine_git_object: 230471452557d9ef4c0bd93caabf5270db01acbf src/main/java/com/cvent/models/components/ProposalResponse.java: id: 55759a09c520 - last_write_checksum: sha1:82c41e808467989761ef0ec995a995c85d7e05b4 + last_write_checksum: sha1:06f8e80d7ef478ea62e9ef438096a2a86c092569 pristine_git_object: 4dfd6830f6e3e80bf0b74745634d914a57a8a6d8 src/main/java/com/cvent/models/components/ProposalStatusJson.java: id: e8ed34d1e6cb last_write_checksum: sha1:9e2b74d0492999099046abe4ce83a5c3325d4c41 pristine_git_object: 1eb14d605288839404103325273fb4427c98439a - src/main/java/com/cvent/models/components/ProposalStatusTypeJson.java: - id: a5522d982623 - last_write_checksum: sha1:aeb6dc90bbc1d489365fa31b32ca85e296801785 - pristine_git_object: 6924aab84069fc24dda005171239420b6c18ea85 + src/main/java/com/cvent/models/components/ProposalStatusType.java: + last_write_checksum: sha1:90f74edfb6d4d26c24aa5b06aa2253975a337823 src/main/java/com/cvent/models/components/ProposalTypeJson.java: id: 9712c22a1fbc last_write_checksum: sha1:73101c78961d358ab9e82e24bc0259fe95f9057c pristine_git_object: beb585d0344ad1be2df361516bdc4900a81e4f83 src/main/java/com/cvent/models/components/ProximityJson.java: id: 005cbdf27001 - last_write_checksum: sha1:a29da2a7af07267c6685c81f5f306e57a267b213 + last_write_checksum: sha1:9042b2bdf7ca308075c1a389eaff0dfbfa9e8b8f pristine_git_object: c2aa94ab855a4a310a16a4a0fc3a56f13aea191c src/main/java/com/cvent/models/components/PublicUsagePlan.java: id: 226d53244494 @@ -13350,10 +12880,10 @@ trackedFiles: pristine_git_object: 5d4b13658c9d2caea2c84f11a809d2d7a80c4bb0 src/main/java/com/cvent/models/components/Question.java: id: 189d3e47424f - last_write_checksum: sha1:b495520dac8a58ee69fd10e04f8112234b893ca6 + last_write_checksum: sha1:49653cb92301c87fc5dbf077db4873555ab5c01a pristine_git_object: b57c5597ab2416f24bdbdb2c1eb92a2ef63c2601 - src/main/java/com/cvent/models/components/QuestionClassificationTypeJson.java: - last_write_checksum: sha1:5498254a51db2b89755260f84546cb2672ab6bf3 + src/main/java/com/cvent/models/components/QuestionClassificationType.java: + last_write_checksum: sha1:36ff0b25ac17ba9ae54b17d20df223485fc75df4 src/main/java/com/cvent/models/components/QuestionDetailJson.java: id: 9a3b3136ccf4 last_write_checksum: sha1:5311896b2c13ab6b335ce759cf443c307e202fa4 @@ -13362,98 +12892,72 @@ trackedFiles: id: a593ecdbc6f2 last_write_checksum: sha1:e46e3449d3d6905933d86e9e0a0b1449d7123547 pristine_git_object: bd92cb203235df5a38747bcf27b143310e4b6969 + src/main/java/com/cvent/models/components/QuestionJson.java: + last_write_checksum: sha1:ffd93676a3e614f08f2dbbe6ef786b48b80d0286 src/main/java/com/cvent/models/components/QuestionJson1.java: id: 4fce986bb08d - last_write_checksum: sha1:3b6fe99615f54da7016dc58520f6c01535fe013d + last_write_checksum: sha1:dfd77b05893365259e4f19939a713b33bc7e6ab3 pristine_git_object: 3c1dbcfabe70167ced16f1d9e8442d2929660d40 src/main/java/com/cvent/models/components/QuestionJson2.java: id: e47ba8500232 - last_write_checksum: sha1:e22daed550599d069a8fd3c3d4342ac62957face + last_write_checksum: sha1:4abb6e16a98522d8aea38f0d87089c82242a3c9e pristine_git_object: da9fe9b765b446858b2a0015141cd43e87ed8012 - src/main/java/com/cvent/models/components/QuestionJson3.java: - id: a7228fc19243 - last_write_checksum: sha1:6a5a83bbf6d89aed4741c780a3241aa3d71882a2 - pristine_git_object: df557e9a0ccf0655521b92d7e0fe011a8a7b568d src/main/java/com/cvent/models/components/QuestionPaginatedResponse.java: id: 1b874f01a8f7 - last_write_checksum: sha1:7cf4af36ad11b5a75329ad14e46f0f786fd58bcb + last_write_checksum: sha1:12df51771975b3bbf08b6d5ab0ee4390a9f72283 pristine_git_object: f75080c44d019eed60ffd501fdd4589363e40dde - src/main/java/com/cvent/models/components/QuestionResponseDataTypeJson.java: - id: 2106e8fb8017 - last_write_checksum: sha1:11948a9023631bdad0210a8bb66d3ee852b9a5d9 - pristine_git_object: 17d636b9f576efed24aeb8d75e0e41195a9233f8 - src/main/java/com/cvent/models/components/QuestionResponseFormatJson.java: - id: 92debe4efcfe - last_write_checksum: sha1:8ce7fdad2c9de2967638f959a5910c02ea787461 - pristine_git_object: a5966e52079f86f7772af75ddfa8eec31734029c + src/main/java/com/cvent/models/components/QuestionResponseDataType.java: + last_write_checksum: sha1:ea02540b37f6858d94be09836fb2207cec9591ff + src/main/java/com/cvent/models/components/QuestionResponseFormat.java: + last_write_checksum: sha1:8728f36eee258fccb4499d59f04ca5668e47a886 src/main/java/com/cvent/models/components/QuestionResponseJson.java: id: 367db1380e8d - last_write_checksum: sha1:9fe2891214b48418515cdf83716be0a02ac68706 + last_write_checksum: sha1:a7a6b639345bbd435138948ca51419a71d2a9968 pristine_git_object: 1f2dccf0140ab131d21233d0f91dadd9b42b314b - src/main/java/com/cvent/models/components/QuestionResponseTypeJson.java: - id: 862352208c7e - last_write_checksum: sha1:c51035037fc6933ae14cd0db7bd492659102e77e - pristine_git_object: d7070a3eced6717c5776ae7533ad4547c8e0c0aa - src/main/java/com/cvent/models/components/QuestionSectionJson.java: - id: 775971ac5c22 - last_write_checksum: sha1:5b34278f93d7af1f3ee2df6707cbb650e30cead3 - pristine_git_object: b72b586ea5b5bb43d5a14811d66d6cd5b5c45f75 + src/main/java/com/cvent/models/components/QuestionResponseType.java: + last_write_checksum: sha1:19618b974a9c9d6171754b7a5b1ba935ddfd939f + src/main/java/com/cvent/models/components/QuestionSection.java: + last_write_checksum: sha1:6263ef1451c0e9658c4dd58ece0db844bafd9ed4 + src/main/java/com/cvent/models/components/QuestionType.java: + last_write_checksum: sha1:684f062796b8a5e11607c0317d7152a2a4f02b5a src/main/java/com/cvent/models/components/QuestionTypeJson.java: - last_write_checksum: sha1:adef4f907d727deff97fb79fa5f6659b6a10632a + last_write_checksum: sha1:2b3dadb3aa8a4bb92574c3606346a9c50e35bfaf src/main/java/com/cvent/models/components/QuestionTypeJson1.java: id: 63df9174b018 - last_write_checksum: sha1:9c3cc23169591cf502b778feb06979217222aa15 + last_write_checksum: sha1:efc9307de4c2e06932b083c0770e6b72cd138aed pristine_git_object: b9cf87139baa311b7997321324307de203722dba src/main/java/com/cvent/models/components/QuestionTypeJson2.java: id: adcd08f3e1a6 - last_write_checksum: sha1:ce4203d4b2c5e4ac1e98bd3a84cc1b9701fb308d + last_write_checksum: sha1:6a67cc15022e474a16ad3cdc1cb860db29574434 pristine_git_object: 2bf50ab8dc913f18a62e1d66bdbba0bf751e88ed - src/main/java/com/cvent/models/components/QuestionTypeJson3.java: - id: 427f4ed0bf12 - last_write_checksum: sha1:eaaf0be24222ca3049e8da73a1e6def382ac98af - pristine_git_object: bb13ee0f1a09e90fd3574f2ff8ba63f5942884fa - src/main/java/com/cvent/models/components/QuestionWithProgramIdJson.java: - id: 113c891210d1 - last_write_checksum: sha1:0016f185e44302b25b39fc75bd06a77950abcaf9 - pristine_git_object: 3cae434eda714c75db5164b1f387c360ec70d799 - src/main/java/com/cvent/models/components/QuestionWithProgramIdJsonTravelProgram.java: - id: 86ecd43eee42 - last_write_checksum: sha1:95ee1e1f06d8ee880e3cb2a27aa45bbe001f9f51 - pristine_git_object: 8c1608d01cae27af4f259844c5e2a22260218cda src/main/java/com/cvent/models/components/QuestionsPaginatedResponse.java: id: bf440f2c87c0 - last_write_checksum: sha1:7d68f6bc41628e9c0d659a1a184896880de61a9d + last_write_checksum: sha1:7ac2892c2bd3fdcd7e468f1327f25f8ac1da0cd8 pristine_git_object: 187d0c26fea51c54c8d5e8758144766cecf3fa2c src/main/java/com/cvent/models/components/QuestionsPaginatedResponse1.java: id: 6600e640367d - last_write_checksum: sha1:cd9e251afdbea838413748108185d84ae7ca0432 + last_write_checksum: sha1:fde540d20a9e1fc8019858499d7b0dcb1b076527 pristine_git_object: b527a49a6c46ee4b774452c85e9fd5d5be094681 src/main/java/com/cvent/models/components/Rate.java: id: d62fc76cb48b last_write_checksum: sha1:c590d7597df33fb784c46a37ebac80566a105566 pristine_git_object: 9da54cf21856869306f9b80233b926163e9a86d7 - src/main/java/com/cvent/models/components/RateLevelTypeJson.java: - id: 02b597636779 - last_write_checksum: sha1:37eae1f661678b5fd30365e34746289501456d3b - pristine_git_object: cebd8ceb3689f4ec870a38a53ce63ae48a5eb976 - src/main/java/com/cvent/models/components/RateReviewStatusTypeJson.java: - id: 2e3f0daf53bc - last_write_checksum: sha1:558613cd2bc4df833e32789e07c11279a1e5ed8b - pristine_git_object: 23c711ea8150c0bdb99b5c64d1fcdaa605ae75d4 - src/main/java/com/cvent/models/components/RateTypeJson.java: - id: 80d64c9a20e7 - last_write_checksum: sha1:741351ec31e763688a7ffafb0597691840737c08 - pristine_git_object: 69d9d877dd342a7eec9e6d680ad2b56f4bc0382a - src/main/java/com/cvent/models/components/RebateTypeJson.java: - last_write_checksum: sha1:bea3a870222016faef9cd74c7aa2bb85e8d36b9a - src/main/java/com/cvent/models/components/RecipientInfoJson0.java: - last_write_checksum: sha1:4d990cd4c5b3720bfe56e4c9dcb3d5602fc5b606 + src/main/java/com/cvent/models/components/RateLevelType.java: + last_write_checksum: sha1:76560b2bc8b1a297e4616825f265facd070de84e + src/main/java/com/cvent/models/components/RateReviewStatusType.java: + last_write_checksum: sha1:9efffde04876fd389ce832fa27cea48586088c03 + src/main/java/com/cvent/models/components/RateType.java: + last_write_checksum: sha1:adacf3b7265bd6a2aa10e39ff07d794b1ffd1c85 + src/main/java/com/cvent/models/components/RebateType.java: + last_write_checksum: sha1:f8eb6de3e4e0bcfcaeedc8ab9ef10644385a5f7a + src/main/java/com/cvent/models/components/RecipientInfo.java: + last_write_checksum: sha1:b57d61ab0c70c474d835aa6cbb18945a956b0cea src/main/java/com/cvent/models/components/RecipientJson.java: id: e9087ac010ad last_write_checksum: sha1:ff9f308eae2a7c10f041ec7528afb353ef3607b7 pristine_git_object: 0d3d7ecffab8bdfdb1d5f3c697d847529bcf6870 - src/main/java/com/cvent/models/components/RecipientTypeJson0.java: - last_write_checksum: sha1:0595e22cacc20e1a091aaba007bdcffa89ce6522 + src/main/java/com/cvent/models/components/RecipientType.java: + last_write_checksum: sha1:633a8be34a946c688a7353c17c200132317c55dc src/main/java/com/cvent/models/components/RecipientsDataJson.java: id: 76e089f9ce8a last_write_checksum: sha1:bc9787b080d4cb98e2277809fc30307a4b423279 @@ -13496,11 +13000,11 @@ trackedFiles: pristine_git_object: 11381f0ae40aebad166ad29477bbf40ebecf33d9 src/main/java/com/cvent/models/components/RegistrationPackRequest.java: id: c1c50f445453 - last_write_checksum: sha1:cb3a88defa1fa6b222b1ac25c5504ee824cb6823 + last_write_checksum: sha1:a55507b92e5da997793fefccba786027e84d4e37 pristine_git_object: 75348d28b685b41ae983d87f009b8355036a335a src/main/java/com/cvent/models/components/RegistrationPackResponse.java: id: 40cf5ab5672e - last_write_checksum: sha1:095c14126ae143bffa95536fdd17e88c011d47f7 + last_write_checksum: sha1:c67baa7110738eb164464b672191a3000df15c51 pristine_git_object: 29f440c6daa352d0855c19b22af75654f7ae86ab src/main/java/com/cvent/models/components/RegistrationPath.java: id: a7f5a453dce6 @@ -13552,11 +13056,11 @@ trackedFiles: pristine_git_object: 079862314f9befe3881d9db0259bac9e0366db8d src/main/java/com/cvent/models/components/ReservationGuestJsonInput.java: id: 5983bbe58c90 - last_write_checksum: sha1:b44b544b83e4a355d2af12f83c497c9623906ded + last_write_checksum: sha1:f3bbb5c5c1b463b3bb7ccfc3e4dfbdab406209f5 pristine_git_object: 48c127f6d0b2df4d54dff4f66b79b63f6f932fdb src/main/java/com/cvent/models/components/ReservationGuestJsonOutput.java: id: 19a7e175e01f - last_write_checksum: sha1:b5b1b5645b476bb84b45e129aec1ccc20e833c8b + last_write_checksum: sha1:483de9180dc8b0cd65037829e9455eefcfad89f8 pristine_git_object: b015f0efde52549f4cc641247ecb9e512a1dbaaf src/main/java/com/cvent/models/components/ReservationNightJson.java: id: 8a76b834246a @@ -13572,11 +13076,11 @@ trackedFiles: pristine_git_object: a2bad06bddbabe2b0a0ecc0f6e673e45952a5b27 src/main/java/com/cvent/models/components/ReservationPaymentInfoJsonInput.java: id: 20c4c5a021f0 - last_write_checksum: sha1:d4795f80e06c10e82607bd2b507bdc9b5fa5677f + last_write_checksum: sha1:e6ba4b562e5f005c6d699ff30784bf3c5e08edde pristine_git_object: aaef5fe9cea65d687eeeeda790bd39000f8b8ab2 src/main/java/com/cvent/models/components/ReservationPaymentInfoJsonOutput.java: id: d2545ed6247f - last_write_checksum: sha1:a44c686cc9a5e05f9ce070c4ee9a734d9a3e9f43 + last_write_checksum: sha1:3165684354e71aad54e86b0c229dcebaf09749d7 pristine_git_object: 4dbf5f9890c381d6068f9d4167d94eca5126a551 src/main/java/com/cvent/models/components/ReservationRequestBlock.java: id: e71992d25dc2 @@ -13652,7 +13156,7 @@ trackedFiles: pristine_git_object: 5df99dc7b47a8e387337aa937fb970d61712f591 src/main/java/com/cvent/models/components/RespondentJson.java: id: 765a4a6d7c9a - last_write_checksum: sha1:51a30b763ea7d877da61e9421692f9de0e83fae2 + last_write_checksum: sha1:6d9cdc5b41bfb17edf7350a839542e134c7eb407 pristine_git_object: 01e9ec64e2cd13cb7bac8dbd17cb209e77baba77 src/main/java/com/cvent/models/components/RespondentJsonLinks.java: id: 3b0263332f6a @@ -13687,75 +13191,71 @@ trackedFiles: last_write_checksum: sha1:ae3347777e37a5f2be390bd312ff0708d566c90a pristine_git_object: b7f624eaadb8f2dcf46a7c992688b2f4f947e157 src/main/java/com/cvent/models/components/Rfp.java: - last_write_checksum: sha1:05a016cc773cf17a1f6208281380fb531ad61b79 - src/main/java/com/cvent/models/components/RfpAgendaItemJson.java: - last_write_checksum: sha1:1e8265cf222c7a661fa968e1cf67e89515091c99 - src/main/java/com/cvent/models/components/RfpAgendaItemScheduleJson.java: - last_write_checksum: sha1:6217fbe5b9937e9a9de000bf13d09754424162d4 - src/main/java/com/cvent/models/components/RfpAgendaItemScheduleWithIdJson.java: - last_write_checksum: sha1:c75ed5531b41aab0d576d5bcb58a4c7345ee2039 - src/main/java/com/cvent/models/components/RfpAttachmentJson.java: - last_write_checksum: sha1:96c8dcc053871aee35a473543e5e2325e59a3c54 - src/main/java/com/cvent/models/components/RfpAttachmentJsonSupplier.java: - last_write_checksum: sha1:49d5f2a28faed3b02dcd2c6f65e01dbc2c364066 - src/main/java/com/cvent/models/components/RfpCustomFieldJson.java: - last_write_checksum: sha1:1d5ecfaf7ccf4e73d4a1f1e82a04a04a18e9046b - src/main/java/com/cvent/models/components/RfpDateModeJson0.java: - last_write_checksum: sha1:a7a7038f98283b75185c43f5e87ea0dc46408972 - src/main/java/com/cvent/models/components/RfpEventJson.java: - last_write_checksum: sha1:e6054b684eacfe42abee69ffc58a7936f115281c - src/main/java/com/cvent/models/components/RfpEventOrganizationJson.java: - last_write_checksum: sha1:dab8d3ca1d51a30ef52cde5e99b6271b3dee7b04 + last_write_checksum: sha1:048f1ae35544c704174ac8572ed45140ce6ead9b + src/main/java/com/cvent/models/components/RfpAgendaItem.java: + last_write_checksum: sha1:5bd12361628a73a64cef8d493803e66c377302a5 + src/main/java/com/cvent/models/components/RfpAgendaItemSchedule.java: + last_write_checksum: sha1:faa109a3735c7c73d59d359726c1f455e6de8e9b + src/main/java/com/cvent/models/components/RfpAgendaItemScheduleWithId.java: + last_write_checksum: sha1:e482d6a01d768de4cbcfd12bf0d009a5cd9bc66e + src/main/java/com/cvent/models/components/RfpAttachment.java: + last_write_checksum: sha1:28b00e05a361aee2bbdf3a5123327e163832abaa + src/main/java/com/cvent/models/components/RfpAttachmentSupplier.java: + last_write_checksum: sha1:4c36df5364501b1d88efc649d4553320a876dc82 + src/main/java/com/cvent/models/components/RfpDateMode.java: + last_write_checksum: sha1:e36ccd36711654718d764501d381f981bf03f85a + src/main/java/com/cvent/models/components/RfpEvent.java: + last_write_checksum: sha1:7b956f7e8970c216b80fb7452a1bf859c5cdef6d src/main/java/com/cvent/models/components/RfpGuestRooms.java: - last_write_checksum: sha1:45de988f026603f8bfc41853a591710bde0afb9c - src/main/java/com/cvent/models/components/RfpIdJson1.java: - last_write_checksum: sha1:dcc7d56b09ac3f1e9bcaf2aad01b4083dd6f32a9 - src/main/java/com/cvent/models/components/RfpInternalDocumentJson0.java: - last_write_checksum: sha1:dc809f4c7c902dbf8cec3be77b975e38b7d46a94 + last_write_checksum: sha1:6ebcd5ed11420123c425ec63a2092ae92b84ce3d + src/main/java/com/cvent/models/components/RfpIdJson.java: + last_write_checksum: sha1:7eb9c2e9db53f9ad71f57c9155465d65fa28efc2 + src/main/java/com/cvent/models/components/RfpInternalDocument.java: + last_write_checksum: sha1:b89b33a289b527323ce5b663365c0223f20686cd src/main/java/com/cvent/models/components/RfpLeadSource.java: last_write_checksum: sha1:c8bce46b4c1caab399a6cdebc7c75dff7ee7d285 src/main/java/com/cvent/models/components/RfpLeadSourceSection.java: last_write_checksum: sha1:276926bdaa817748d253afd5de2ae70ba55741b2 - src/main/java/com/cvent/models/components/RfpMealJson.java: - last_write_checksum: sha1:f87cc95e9a253f6cedba19103de3832cabb560f4 - src/main/java/com/cvent/models/components/RfpPastEventJson.java: - last_write_checksum: sha1:c5aaf80d6feee94c796c86495900f62ffc102b26 + src/main/java/com/cvent/models/components/RfpMeal.java: + last_write_checksum: sha1:7233b2953b7b715e2154fd89bd0a0d9176304f20 + src/main/java/com/cvent/models/components/RfpPastEvent.java: + last_write_checksum: sha1:6893989a2e03043ba4c0cb34ff31402f3de24c68 src/main/java/com/cvent/models/components/RfpPastEvents.java: - last_write_checksum: sha1:c6c907ff5070a20b013d9e3935e0d194bba1e1cf - src/main/java/com/cvent/models/components/RfpQuestionJson.java: - last_write_checksum: sha1:ee87ccb1c95630da759de9842fd8146ccacf8313 - src/main/java/com/cvent/models/components/RfpRecipientLogEntryJson.java: - last_write_checksum: sha1:cd31816370135f3bd2a99dffc42d2d57bb6917b8 - src/main/java/com/cvent/models/components/RfpRecipientLogEntryJsonMessage.java: - last_write_checksum: sha1:4663ec1513748b01cad6b706dbb2ed83d495ed4f - src/main/java/com/cvent/models/components/RfpRecipientLogEntryJsonSupplier.java: - last_write_checksum: sha1:77c25c95d0b14a6a5fe9eaf60ffc0523626021b0 - src/main/java/com/cvent/models/components/RfpResponseReasonJson.java: - last_write_checksum: sha1:a304a4406766ed626d629dfd7b276f27dfd70862 - src/main/java/com/cvent/models/components/RfpStatusJson0.java: - last_write_checksum: sha1:64bf4f471ca2de71659cef25262dc17180493ed5 + last_write_checksum: sha1:908efb5cf4a51610e205010e37671dbcd4c5411b + src/main/java/com/cvent/models/components/RfpQuestion.java: + last_write_checksum: sha1:6e1ff228dd77091d217595e367900c9f45137581 + src/main/java/com/cvent/models/components/RfpRecipientLogEntry.java: + last_write_checksum: sha1:465fdebcae5f69ecd1f98eb0b7a292b9c6e98e18 + src/main/java/com/cvent/models/components/RfpRecipientLogEntryMessage.java: + last_write_checksum: sha1:050742671485284e4bc25828bb4e4cf646179ca4 + src/main/java/com/cvent/models/components/RfpRecipientLogEntrySupplier.java: + last_write_checksum: sha1:f25997e954f8029ddd18c788dc792577dfdb6c1e + src/main/java/com/cvent/models/components/RfpResponseReason.java: + last_write_checksum: sha1:92de1be0387ed64215f410c39793d381609094e6 + src/main/java/com/cvent/models/components/RfpStatus1.java: + last_write_checksum: sha1:d88786a893d31daf12ae99d5d2a1f814080df36a src/main/java/com/cvent/models/components/RfpSummaryJson.java: id: b505d79704bb last_write_checksum: sha1:92d571416d9ece74f0391e2600c53929a6bbd8fa pristine_git_object: 194ebe95f31542b8e079aee99fe2007d5a05e298 - src/main/java/com/cvent/models/components/RfpSupplierJson.java: - last_write_checksum: sha1:dcfd707128be6b393ea26fa06ea2697fbc8c97c1 + src/main/java/com/cvent/models/components/RfpSupplier.java: + last_write_checksum: sha1:3deb9e4db585baaeebfb676df06bd572d35f7320 + src/main/java/com/cvent/models/components/RfpSupplierLeadSource.java: + 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/RfpTypeJson0.java: - last_write_checksum: sha1:5dfe185c123ea3c2a5790f847c7a32ddca5f66db + src/main/java/com/cvent/models/components/RfpType1.java: + last_write_checksum: sha1:86b871de5d05cba4f6aa735274f15daf0593912a src/main/java/com/cvent/models/components/RoomAttendeeTypeJson.java: id: 49e1aea5edfc last_write_checksum: sha1:d5556bd341c070c01d09a043f2bc010f0035aa87 pristine_git_object: 18f4e79a21c1bc01092c950798df7375ac06c959 - src/main/java/com/cvent/models/components/RoomBedTypeJson1.java: - id: 9c6d0c409b6c - last_write_checksum: sha1:87e3210d77b417462471617c2c7ee327af1eb378 - pristine_git_object: a77b7eb22223e4cd6d090ead430580c1d49bb89c - src/main/java/com/cvent/models/components/RoomBlockDetailsJson.java: - last_write_checksum: sha1:ebf30d3686c95cb911555abf8daa4686f72fa470 - src/main/java/com/cvent/models/components/RoomBlockJson.java: - last_write_checksum: sha1:d778a1be75d3231aaf4ee39477e8eba9f89cd35a + src/main/java/com/cvent/models/components/RoomBedTypeJson.java: + last_write_checksum: sha1:efdcb53373cf7e48bf0491a9185284a2e4bed446 + src/main/java/com/cvent/models/components/RoomBlock.java: + last_write_checksum: sha1:edfff9bcc266883d57d2bed4c4bf8be0f0c2dcf5 + src/main/java/com/cvent/models/components/RoomBlockDetails.java: + last_write_checksum: sha1:a029588a4c9c6e0e2c7e68290216900e804c9978 src/main/java/com/cvent/models/components/RoomIdJson.java: id: 1edd4fa1e27b last_write_checksum: sha1:f9c206faef0d989d49072ea4569c0f6c0f7ba0e5 @@ -13802,7 +13302,7 @@ trackedFiles: pristine_git_object: 544b9edb947aa3c67d0df88da037ae89ab126abe src/main/java/com/cvent/models/components/ScoresJson.java: id: 8c82a1866ecb - last_write_checksum: sha1:45b6506b252ce5532c1f6a7abc8edb378f493042 + last_write_checksum: sha1:09f553f6faf28e019b015e3279746a3158397e0f pristine_git_object: d66190b2231ff1b3340acaffcc2e350ad73110a7 src/main/java/com/cvent/models/components/ScoresJsonAttendee.java: id: 52d6981ce25f @@ -13850,11 +13350,11 @@ trackedFiles: pristine_git_object: 1509670c45c7e29e7340de919cceaccc27b96918 src/main/java/com/cvent/models/components/SendEmailEventRequest.java: id: fd543ffecb83 - last_write_checksum: sha1:7013e42db439cf6936fd2e3036146f7fbf0e544e + last_write_checksum: sha1:e6920102343b4b1d98cd0a7fee635d2a8ee0113d pristine_git_object: ca5bc80bf0ae54ff8df61cc10cf967e7f331fb4e src/main/java/com/cvent/models/components/SendEmailEventResponse.java: id: 86586ab4dbdc - last_write_checksum: sha1:8636e3546f80a12ef17c31dd7d84ea292b4047f5 + last_write_checksum: sha1:addfc86afe6d188f6227cf9e74f0058275a0c2b6 pristine_git_object: f63d410337a131885643bdf0881a1b43c34a3116 src/main/java/com/cvent/models/components/SendEmailRequest.java: id: 4f4111e7fcb4 @@ -13990,10 +13490,8 @@ trackedFiles: id: 10dad52d022e last_write_checksum: sha1:78aa666dc1a1c82cf74b0f148565a669edfda198 pristine_git_object: 5b2648df3b6d8ee41aeeda9716b1c2edd003bc2b - src/main/java/com/cvent/models/components/SessionLiteJson.java: - id: 19ffc33e1f22 - last_write_checksum: sha1:793dbb6beebfb55ccf1be5754e6709dfbba1cbea - pristine_git_object: 52edad5a07eeaf5e1fdfe5422f980d426df7503b + src/main/java/com/cvent/models/components/SessionLite.java: + last_write_checksum: sha1:4cb20e2d9ada89e7c66b49c9e04fdd13e36f3c13 src/main/java/com/cvent/models/components/SessionLocation.java: id: 3c3622a56e7d last_write_checksum: sha1:02dd4da7bc7cca12c5558d9ae3666d50fb1bee8b @@ -14024,7 +13522,7 @@ trackedFiles: pristine_git_object: b118a99c1be4befccf4f708e1fb19a0948711955 src/main/java/com/cvent/models/components/SessionQaMessage.java: id: a76970dfa7b2 - last_write_checksum: sha1:b24ca983916cfe2882b2237d6d48cd4550207d21 + last_write_checksum: sha1:6b06ef64c4dfef818f4acbe797979df095ba5d32 pristine_git_object: 609d0f3c7e96c65b7953206b043a91d093de9ac0 src/main/java/com/cvent/models/components/SessionQuestionAsked.java: id: 6627c12db3a9 @@ -14042,17 +13540,15 @@ trackedFiles: id: 11ad21d21e56 last_write_checksum: sha1:44c2e4d8c0e56f6c2cf16b3b24fa0ceaf354166c pristine_git_object: 75444ff96f0400f0c5be51c3c077581aa4a56a6d + src/main/java/com/cvent/models/components/SessionSpeaker.java: + last_write_checksum: sha1:fdd10801cfabf66bae3113fbf2f0da76995c835c src/main/java/com/cvent/models/components/SessionSpeakerAssignment.java: id: 84ab530c63b0 last_write_checksum: sha1:227dded375351081227613735ccb1236310cb66c pristine_git_object: 0871f2052a905ce903d34eda858f1966f4b86f8b - src/main/java/com/cvent/models/components/SessionSpeakerJson.java: - id: 7f537893f4a5 - last_write_checksum: sha1:9dde87b0bc46df1d350d0687ef0e8eb8f560536b - pristine_git_object: e8ce2c10d1a0a9f0b09ac84d6950b6309ce788b7 src/main/java/com/cvent/models/components/SessionSpeakerPaginatedResponse.java: id: d253d5d99953 - last_write_checksum: sha1:86f63ac28ffad10bfcb03b0b36369a99904bba52 + last_write_checksum: sha1:37604c2ce899542cbaf25ce61ad3d0e310364217 pristine_git_object: 0980b0166b704dfd0e45a077312f646965e5f933 src/main/java/com/cvent/models/components/SessionStatus.java: last_write_checksum: sha1:88d42a89bb057438e837487a37bf85a8feac8899 @@ -14100,11 +13596,11 @@ trackedFiles: pristine_git_object: f918672d855b01335569f480d17f9cd444625324 src/main/java/com/cvent/models/components/SleepingRoomBlockJson.java: id: b7769a4e1f33 - last_write_checksum: sha1:955d0e0662a8b61106c6d4e39df3ffbd95dedb6e + last_write_checksum: sha1:cf63841699363cc88f3eb9e52d7676984ccea878 pristine_git_object: de7d92511ab2dce201a423691d74f4ad915daebe src/main/java/com/cvent/models/components/SleepingRoomJson.java: id: 6792db2c6be0 - last_write_checksum: sha1:28e3f176c28b930adcedf246a51be40f6bcb5d3a + last_write_checksum: sha1:5674311e5d2e9a7d2de366a5cee24af15615c0d6 pristine_git_object: d7b87e62849d531c2cebf11d76ff970db15ace07 src/main/java/com/cvent/models/components/SleepingRoomRequirementJson.java: id: da20ef84e66b @@ -14116,10 +13612,8 @@ trackedFiles: pristine_git_object: e8ee2b891b0c3ec33689219079b6d9d91df4e590 src/main/java/com/cvent/models/components/SocialMediaLinks.java: last_write_checksum: sha1:75e387b9a02402f33cabd36200c6f741579458a4 - src/main/java/com/cvent/models/components/SolutionJson.java: - id: fda6c9c75bbf - last_write_checksum: sha1:5e845ad9abe1f3144e2f29a57de9c184c0494224 - pristine_git_object: dc27144d7a5b812706c8ecca89a990c034f20f79 + src/main/java/com/cvent/models/components/Solution.java: + last_write_checksum: sha1:e47c6f4713b0af6a8b0a47bef3662e112ac98275 src/main/java/com/cvent/models/components/SolutionTypeJson.java: id: fd82021948e4 last_write_checksum: sha1:31af7da7babd07189a0669a46d6051349ff13920 @@ -14132,19 +13626,19 @@ trackedFiles: id: 5b2476c98986 last_write_checksum: sha1:5ae73ec80fafaead829a524c669a3264c9a382b7 pristine_git_object: 5a08b2a903798a5a2512b5f8131baf33e0e94df1 - src/main/java/com/cvent/models/components/SpaceAreaJson0.java: - last_write_checksum: sha1:dd02facfc40fe1c3114b6ade81488cf75e971406 + src/main/java/com/cvent/models/components/SpaceArea.java: + last_write_checksum: sha1:ee298505d911b1906469980ee8008ee9cff7164a src/main/java/com/cvent/models/components/Speaker.java: id: 9e644d05f60f - last_write_checksum: sha1:9d24800b6c72201efb3bec99ad244901103e7aa6 + last_write_checksum: sha1:bb825d8070922bd1acdc0b057c9717cd441aca76 pristine_git_object: 08cfffa752684ebbdf6aca40795aa8eeceac9f6e - src/main/java/com/cvent/models/components/SpeakerCategory.java: - id: 22671f0ce2a1 - last_write_checksum: sha1:a32222e29c3a47e79cd8f7bb5d6cc72583962824 - pristine_git_object: b6f75e75a42bfd6dd440d1cc4f6922265a6d5c8f + src/main/java/com/cvent/models/components/SpeakerCategory1.java: + last_write_checksum: sha1:067919ae374d55fd53f7635f6171dcacc2ed1fcf + src/main/java/com/cvent/models/components/SpeakerCategory2.java: + last_write_checksum: sha1:7e2e11fb26e50c0e949519215c41d1cc04a4ea3a src/main/java/com/cvent/models/components/SpeakerCategoryPaginatedResponse.java: id: f95033a0e471 - last_write_checksum: sha1:1b0f467793b0862f36303922747e0db12f92ac25 + last_write_checksum: sha1:08229b13ca5068cde31748439243bcc745641439 pristine_git_object: 3fafb25ed708ffd7531c5421673df6f1cf539fdf src/main/java/com/cvent/models/components/SpeakerContact.java: id: 82905fc77032 @@ -14152,7 +13646,7 @@ trackedFiles: pristine_git_object: 9e7e31c9c78e325d544cdb87a52531ae9dce3694 src/main/java/com/cvent/models/components/SpeakerDocumentPaginatedResponse.java: id: 09ff40c8dbd6 - last_write_checksum: sha1:8c95559ce8f238c109843dcee0ee8295a71a0501 + last_write_checksum: sha1:9d4b5f80a3d6c535f70f4f43877dcab99112af84 pristine_git_object: 83078450c63d2cf3f90ee846fcc69dff043d7f89 src/main/java/com/cvent/models/components/SpeakerEvent.java: id: 305b76eaa945 @@ -14184,20 +13678,18 @@ trackedFiles: pristine_git_object: 9f450a7912813d76c743f63151bec71ae4d99f3d src/main/java/com/cvent/models/components/SpeakerLite.java: last_write_checksum: sha1:95f5624a87a9814979d1961ff69aef094f5d38fc - src/main/java/com/cvent/models/components/SpeakerLiteJson.java: - id: f6604b1ad7dc - last_write_checksum: sha1:32ab7a8e5792483c6d96cee4a1eaf8e88e7d9be3 - pristine_git_object: e451bbcee1fb53bb4d927f951db50a93044846b5 + src/main/java/com/cvent/models/components/SpeakerLite1.java: + last_write_checksum: sha1:10082e2020dcc40c64bdcd9d6a92138a8103c4fb src/main/java/com/cvent/models/components/SpeakerPaginatedResponse.java: id: 7410911bbb2e - last_write_checksum: sha1:22237ae77a8b69becfbf16343aa1b05a2d73f0d2 + last_write_checksum: sha1:0d32f1704476d966b479cfe3b327821a1c34cafa pristine_git_object: e0451aed176094c6bcc48117254a8b0e19c50c70 src/main/java/com/cvent/models/components/SpeakerProgramItem.java: id: 0506f1c92161 - last_write_checksum: sha1:c6869b7a695a376c9de71ee80bc8d282a90ad377 + last_write_checksum: sha1:4d19492f3e8df0307ae910141dacec7f2ab5a9f1 pristine_git_object: 4d518ed37fc57c37d0ecdc0b61e1bed1c30e8176 src/main/java/com/cvent/models/components/SpeakerSession.java: - last_write_checksum: sha1:eb1bfbf7bef481cad8492b716f44a47e880b1b1f + last_write_checksum: sha1:3d80a9ad063ee403a495cec187fa2273e9104f59 src/main/java/com/cvent/models/components/SpeakerSessionPaginatedResponse.java: id: 2359ac784734 last_write_checksum: sha1:2b63a86b978b21fad932e9b16ee581a6189139f0 @@ -14214,7 +13706,7 @@ trackedFiles: pristine_git_object: 87d57f51d1c4d98a03073d61186dbb22678ee9e7 src/main/java/com/cvent/models/components/StakeholderJson.java: id: 60857248e15a - last_write_checksum: sha1:75836d5ff2165227e34a460a513580b4a9f09fb8 + last_write_checksum: sha1:d10b77e0ea3ffcc75d1e888414c1fd6de3372c6d pristine_git_object: d5ad757cc46598d84a84afe16e73ff5c95fe10d7 src/main/java/com/cvent/models/components/StakeholderJsonAddressType.java: id: 64a3df541c87 @@ -14252,8 +13744,8 @@ trackedFiles: id: 7d602c5b1654 last_write_checksum: sha1:b718dcce1f484a3c4a5c3bba5131c255e84da135 pristine_git_object: affbc39c921b18773c911bcfaa7fbed04a9071e1 - src/main/java/com/cvent/models/components/StandardQuestionJson.java: - last_write_checksum: sha1:084f87277fe93163ff9df60bcacfb0f153fb3423 + src/main/java/com/cvent/models/components/StandardQuestion.java: + last_write_checksum: sha1:bcd0789a2ccf21e28a926512d4c66ae4b206bb20 src/main/java/com/cvent/models/components/StandardSurveyEmailTemplateJson.java: id: b890026affd3 last_write_checksum: sha1:38549ab84c13c81e5533bebadd84b9e704320df5 @@ -14264,11 +13756,11 @@ trackedFiles: pristine_git_object: 7acd5659d1da1634ae21c1f44cd85631086c184b src/main/java/com/cvent/models/components/StandardSurveyJson.java: id: d8fac0816bc6 - last_write_checksum: sha1:f4454505797a7ea36ff28db15157c83a01254f98 + last_write_checksum: sha1:1a67257ffa45f4a545602cbb80f56c6d17a4aa17 pristine_git_object: 4016b60b5332d080e28ec309dde987780df7eeee src/main/java/com/cvent/models/components/StandardSurveyQuestionJson.java: id: 2d5923437545 - last_write_checksum: sha1:90bacc48f8c9838dc07827671f7aa69198676202 + last_write_checksum: sha1:78a9c1e3dfaee604836ba071f49c8345ea478bf8 pristine_git_object: e9de3508cae2cd96cb06e4ba413063d32feb65a1 src/main/java/com/cvent/models/components/StandardSurveyQuestionsPaginatedResponse.java: id: 6eb8acfff368 @@ -14341,21 +13833,19 @@ trackedFiles: last_write_checksum: sha1:fb514299923aa2605ae5f3f6b7c76705fa0d944a pristine_git_object: 58e747175412d074a3582d925b95b3762cc40369 src/main/java/com/cvent/models/components/SupplierResponse.java: - last_write_checksum: sha1:51d25a40d08dbdff00650bce39bc6bcf89c8e0f2 + last_write_checksum: sha1:cf9ecf2d64e43c1e6d10a706770ca09a77d144ca src/main/java/com/cvent/models/components/SupplierSummaryJson.java: id: 6dc221e4e039 last_write_checksum: sha1:4a3b30a2cbd04dc56614300584c6198ffb80881e pristine_git_object: 52f61f052c315a10063d26086cfd65ede43eaeab + src/main/java/com/cvent/models/components/SupplierType.java: + last_write_checksum: sha1:d079a790dfdf85022d81880d96c595cbb707fcdd src/main/java/com/cvent/models/components/SupplierTypeIdResolver.java: id: d5f82cc8f2b9 last_write_checksum: sha1:94fee5f33810b59245b1aa189f43948260118d52 pristine_git_object: 099a95ab954764c7b0dc700016392df9972c7cc9 src/main/java/com/cvent/models/components/SupplierTypeJson.java: - last_write_checksum: sha1:182b5738917ad2f9ca641d966e272fe669a634bd - src/main/java/com/cvent/models/components/SupplierTypeJson1.java: - id: cfdc668d0225 - last_write_checksum: sha1:7de7b010a1e5be2d415a9a648089cbb0e6367fb8 - pristine_git_object: 578c20d45db19ac2c2f2f638bf3729a9c26c7f8d + last_write_checksum: sha1:1e065a9ade40e4b245e95e1be3bf0525d7b72702 src/main/java/com/cvent/models/components/Survey.java: id: 5092c2634015 last_write_checksum: sha1:d814c70296c596c939b6202c447fb0a699ca4f3f @@ -14364,13 +13854,11 @@ trackedFiles: id: aeb55e6bf8c8 last_write_checksum: sha1:8e4eb70e77bcd0e5c1f9d9878df404d4a1c93e91 pristine_git_object: 48ed8802f43935a34189a9d7f00752339077bb87 - src/main/java/com/cvent/models/components/SurveyContactIdJson.java: - id: 2f5415921373 - last_write_checksum: sha1:acff1dd2f2888ccc1bc3d9df6c2a37af0e3f3079 - pristine_git_object: bae164618ff6adb74be062bebc6ae014306641a3 + src/main/java/com/cvent/models/components/SurveyContactId.java: + last_write_checksum: sha1:8543bf06cd5df0592b7f26d73920e20aff7bd709 src/main/java/com/cvent/models/components/SurveyJson.java: id: 5ac82fc00875 - last_write_checksum: sha1:824483dc1b05f2ddf642346667ab702f6770f142 + last_write_checksum: sha1:fa3fcfcdcb3ec96f3098bfa00f8c2a661b7b66a1 pristine_git_object: 1231498445bed26bbd839be9df965df2b87898e9 src/main/java/com/cvent/models/components/SurveyResponseJson.java: id: 2f4afa64ca5c @@ -14414,8 +13902,8 @@ trackedFiles: id: 3178bf4f8b1e last_write_checksum: sha1:276a4884c12db9490d5d45695cd87617030db2ac pristine_git_object: 9bfeae55e6e320df1e2cb5d895856be44557728e - src/main/java/com/cvent/models/components/TargetTypeJson.java: - last_write_checksum: sha1:d9d2513689dafd3ebeff3bab19cad30feae7a6a2 + src/main/java/com/cvent/models/components/TargetType.java: + last_write_checksum: sha1:2eb91a823ec592ae8eefd235381d60031afe6412 src/main/java/com/cvent/models/components/Tax.java: last_write_checksum: sha1:12b90694a95b583b4eb11940d7d67fd9ff20cdbc src/main/java/com/cvent/models/components/TaxAndFeeJson.java: @@ -14428,36 +13916,28 @@ trackedFiles: id: 278e48b4cbac last_write_checksum: sha1:b9091376b26efb1ed8544d3501aad8aad004f038 pristine_git_object: 09b40d3566437c924649032af03c8931a92eca4c - src/main/java/com/cvent/models/components/TaxTypeJson.java: - id: 44628f542f53 - last_write_checksum: sha1:06bc0c7b4c3ac697b9b5be9f9aa8354f8b81820a - pristine_git_object: a4628eda42696046cf73259e6a3b72b5fd978082 + src/main/java/com/cvent/models/components/TaxType.java: + last_write_checksum: sha1:aacd60d012f0c9f6be8b0d2bec9d2e81ef02b3ac src/main/java/com/cvent/models/components/TaxesPaginatedResponse.java: last_write_checksum: sha1:2cac38b1bc1a6476e971de2134f0028a5f55147b - src/main/java/com/cvent/models/components/TextAnswerFormatJson.java: - last_write_checksum: sha1:9d819f0fef3daaf9e8fbdf73df922d4b8eda5de5 + src/main/java/com/cvent/models/components/TextAnswerFormat.java: + last_write_checksum: sha1:b55988d339f86195cb742f593b559b641933133d + src/main/java/com/cvent/models/components/TextField.java: + last_write_checksum: sha1:ee1a0a9f67c20f6e03caed5876982b41bc4fab4d src/main/java/com/cvent/models/components/TextFieldJson.java: - last_write_checksum: sha1:4408fa5c4e9a9da569834d40091f00af8e5c5c68 - src/main/java/com/cvent/models/components/TextFieldJson1.java: - id: 5f4ee649eddd - last_write_checksum: sha1:acfbb350dbe211f1351a1a96eb7b8b23ddd23e1a - pristine_git_object: 4ca04689d24cebb3d2eebbaf131e0772902183c4 + last_write_checksum: sha1:6c95a96174527eedfaaaa3f01fa769b80e9ab083 src/main/java/com/cvent/models/components/Three.java: id: e2aeead8a40f - last_write_checksum: sha1:0c01afcc6cd944f894bc06c6e0d65d4c50a48ca8 + last_write_checksum: sha1:8f4b44c469fb68ebaa53c4671dd98f702e2d0c9f pristine_git_object: b36a31a6a19c6946c5b2c99e0efa35367aca3fcb src/main/java/com/cvent/models/components/ThreeInput.java: id: a675bceb0219 - last_write_checksum: sha1:3a971f2047b593d30459926c7c8e57890c4b882b + last_write_checksum: sha1:9c5806b8cbdf3a6a31930c519b2a9112911df632 pristine_git_object: be2a3e38b9c6a592f9288404e4f70121dd114252 - src/main/java/com/cvent/models/components/ThumbnailStatusJson.java: - id: b6bddea2a7c0 - last_write_checksum: sha1:65b794c5d9f9c33deb05f9d81ae4925cdb92cb6a - pristine_git_object: 0d02c3b8de04c965fa54e0509ca613d8abde1e92 - src/main/java/com/cvent/models/components/ThumbnailTypeJson.java: - id: 2b4e3bc6781e - last_write_checksum: sha1:a9a3568084843ae0e9100fa170ca548097276551 - pristine_git_object: 20d5836eea42345b26135f5880595f2e741b6d56 + src/main/java/com/cvent/models/components/ThumbnailStatus.java: + last_write_checksum: sha1:0ebc497d0450c5c22fe18de52f3c751e7079dc68 + src/main/java/com/cvent/models/components/ThumbnailType.java: + last_write_checksum: sha1:f59558755a99e9f7d2aa86addbb6ef580e23c71e src/main/java/com/cvent/models/components/TicketType.java: id: 6d03a651e46c last_write_checksum: sha1:3efd787ca909c33d9e4a5396142e004c70d93d01 @@ -14483,7 +13963,7 @@ trackedFiles: last_write_checksum: sha1:d9e8642837c439a261c70c8e3f9a62bf32058d11 pristine_git_object: cee0c2a3e23efed0e224c4965ef4c36c2c8d33bc src/main/java/com/cvent/models/components/TransactionDetailResponse.java: - last_write_checksum: sha1:79e68f8e6fcd9dcd34a187af77de0ceb49067448 + last_write_checksum: sha1:3d665a97fa32421e6782fe1a77e310900dac33c9 src/main/java/com/cvent/models/components/TransactionDetailsPaginatedResponse.java: id: fdaa5babc58f last_write_checksum: sha1:27c01b07fbb46a8ba9d42a5651e965d293cac3ee @@ -14495,7 +13975,7 @@ trackedFiles: src/main/java/com/cvent/models/components/TransactionItemCreateInput.java: last_write_checksum: sha1:c15061a1f1e6bfa3806b6dd1abfe059f46a58f8a src/main/java/com/cvent/models/components/TransactionItemResponse.java: - last_write_checksum: sha1:2a6bc75255a8566ed31f49e98962229d243c9203 + last_write_checksum: sha1:92f860b171e870628ae225cd16f7dcd1593275df src/main/java/com/cvent/models/components/TransactionItemsPaginatedResponse.java: id: 46d4ae3990b6 last_write_checksum: sha1:9037a6b5942d7dfcde2ba8c7cb3c4edfd30f5f45 @@ -14530,116 +14010,62 @@ trackedFiles: pristine_git_object: 3b6b7e0717cf5d8c22d9ce001094246a41b6367e src/main/java/com/cvent/models/components/TravelAccount.java: id: 3cb3493bfb4b - last_write_checksum: sha1:4db7a66fea722333e464f99d4d186666053d430f + last_write_checksum: sha1:8ec95b00ebc72f123fd8781b8fc0f84cec28da0c pristine_git_object: 7940ca85d8b696fceb8708a41ee648476215a855 src/main/java/com/cvent/models/components/TravelAccountPaginatedResponse.java: id: b1a3ae3abd8d - last_write_checksum: sha1:693ecd33611f3035fec37b45501060417bb21952 + last_write_checksum: sha1:dc6edfe44dd2aa9707de0cb8eea77f463a285c18 pristine_git_object: 56239d315d048ec76a8a81ae98c31fe6e0aece2d src/main/java/com/cvent/models/components/TravelAccountSupplierAccount.java: id: 1965e3b87c96 - last_write_checksum: sha1:71094b618ad2780fbbbebbfa32e6a3892ae4185f + last_write_checksum: sha1:3ee3f49f81aef42728abfbb822b7e447e14b2f9b pristine_git_object: 0e245ad115d8fb5cd9ec904609a05aab08b7cc22 src/main/java/com/cvent/models/components/TravelAccountSupplierAccountPaginatedResponse.java: id: f203c8940473 - last_write_checksum: sha1:e63d84e07fb159101560f037e83e8787cd0ae367 + last_write_checksum: sha1:f6d6ec3522e4e4829d4054d9043d23cde694d0e9 pristine_git_object: 3c82513857e7c193e69ca57ae22535554c7880a3 src/main/java/com/cvent/models/components/TravelAccountSupplierAccountTravelAccount.java: id: 4bbba1524078 last_write_checksum: sha1:b9a832cf4c1fd255196c372357ab981fcd0eb4fe pristine_git_object: 6fb8ac7f32cb62760c94eb86ae0d6e43adfd2e47 - src/main/java/com/cvent/models/components/TravelAccountTypeJson.java: - id: 4dc049e312b0 - last_write_checksum: sha1:c1c1a215fdd37d6a97f747898523bec829bd4351 - pristine_git_object: 9ac4ecab49b2927a174980a13d20e9268471ad69 - src/main/java/com/cvent/models/components/TravelAmenityJson.java: - id: 227705c38287 - last_write_checksum: sha1:a24863b170665b632353a0a7cffc61036fbf164f - pristine_git_object: 9e44437adfd2bcb8d140959e45847157f3d29cc3 - src/main/java/com/cvent/models/components/TravelBidAmenityJson.java: - id: 419b8994798f - last_write_checksum: sha1:ba682fa465965b39f97ca972ea661280b2e1ff01 - pristine_git_object: a2b74dbe8d12850b96e91a4e53bcb30b85af9b27 - src/main/java/com/cvent/models/components/TravelBidCommentJson.java: - id: b3efd4f70280 - last_write_checksum: sha1:81669baf4b0acdcdd4c3ff3bd3730dbeb8786e51 - pristine_git_object: 14288453c0ce00058d009328b51eb1666bad3baf - src/main/java/com/cvent/models/components/TravelBidDiscountJson.java: - id: fdf749cb8444 - last_write_checksum: sha1:febe9e2c7ea1fd1a6aa1834d049a5326f624e7bd - pristine_git_object: 277337b99fa6b749cec5a7880a671ad108894060 - src/main/java/com/cvent/models/components/TravelBidDiscountJsonPropertyRoom.java: - id: f8ab79362781 - last_write_checksum: sha1:370c4dc9f253380f5fcbd22bfc6c0fb2172a5c7e - pristine_git_object: aca290b04f06d13c57f624137500b9d12ced7297 - src/main/java/com/cvent/models/components/TravelBidDispositionAcceptedRoomJson.java: - id: 9806eae28d15 - last_write_checksum: sha1:796448aa840cc6396a6f66cf718fc3df71690ef8 - pristine_git_object: dce2bbfca883377c4321814f2a63b0434436a047 - src/main/java/com/cvent/models/components/TravelBidDispositionAcceptedRoomJsonPropertyRoom.java: - id: bdd503959857 - last_write_checksum: sha1:3d2d26c735c16e9bf1b64eed4eff832f2d0538bb - pristine_git_object: 5d27f8180c2c816c3736a5edde6e653676697203 - src/main/java/com/cvent/models/components/TravelBidDispositionJson.java: - id: 500bad4f0396 - last_write_checksum: sha1:6666d1ab490bde479c918c15fb6f6660e60de095 - pristine_git_object: 0d92de0441091270874632a9a514f2ddfa7d6ebc - src/main/java/com/cvent/models/components/TravelBidFairSeasonJson.java: - id: ce64e309f829 - last_write_checksum: sha1:0982007909e1511d8199bda7bb8953746f79bdc2 - pristine_git_object: 0863941339fdad2c154119c3b80f01d9503d5ec5 - src/main/java/com/cvent/models/components/TravelBidFairSeasonRateJson.java: - id: 5f2ec7226c72 - last_write_checksum: sha1:d0b084a7d0e0bb278ba4d53ddc4cc7b2abfe6f49 - pristine_git_object: f4f5dc6353d930dc4ffaece4e61c17b84f374a2e - src/main/java/com/cvent/models/components/TravelBidFairSeasonRateJsonPropertyRoom.java: - id: d11420d26bc2 - last_write_checksum: sha1:a64034a637e72f0d015125d5eb58eb03d901bc1a - pristine_git_object: 443fb63c36466ea9d4ee70ed1650fc17084bc158 - src/main/java/com/cvent/models/components/TravelBidPolicyJson.java: - id: c542316eca30 - last_write_checksum: sha1:57e525033ae09848a28f75d33378dc1e1f93b1cb - pristine_git_object: d5a29c17823852405b79c616547e6ec2433ea5a4 - src/main/java/com/cvent/models/components/TravelBidRateJson.java: - id: ed5e19ced162 - last_write_checksum: sha1:3520b0e1aa40835824076f78b318be2bffe250aa - pristine_git_object: 509ad6c1eade9363f4ee09ec92853ce3bd07b677 - src/main/java/com/cvent/models/components/TravelBidRoomJson.java: - id: 9106468e84b1 - last_write_checksum: sha1:8b0c7b79b659f2ce8a78a96040e2630002e38e24 - pristine_git_object: 2b568c8e4e15a93fbc2c81fbede8e1c687a2b347 - src/main/java/com/cvent/models/components/TravelBidRoomJsonPropertyRoom.java: - id: 26b1fe1b7358 - last_write_checksum: sha1:184a521fbf93b9bfc12e519de8e81c714f3b6676 - pristine_git_object: e6d8d54c87246f49b16b9600728a266b85ec5a50 - src/main/java/com/cvent/models/components/TravelBidSeasonJson.java: - id: 8a4b69bf4e21 - last_write_checksum: sha1:3628373429e3a18e9032863fbacf57df9db4adef - pristine_git_object: 36a0c9c0024b263701c9188a3977ba5ad287fbbf - src/main/java/com/cvent/models/components/TravelBidSeasonRateJson.java: - id: bfab87d36d32 - last_write_checksum: sha1:8825aa2523ce640ac8b68de6343bf32dbeb9b95d - pristine_git_object: 9666b4df74a8cff6b8305e531bf990044df16b0b - src/main/java/com/cvent/models/components/TravelBidSeasonRateJsonPropertyRoom.java: - id: b76617f0e78b - last_write_checksum: sha1:9d089ba09be075555398d9296fd9b80e6bb7de1d - pristine_git_object: 5fcd199d25b97bb032dc5845d810dc27654b5e8c - src/main/java/com/cvent/models/components/TravelBidTaxFeeJson.java: - id: c4801ca9d41e - last_write_checksum: sha1:8ba2e38d3356452178ec69c67bd06adf5c77cad7 - pristine_git_object: 10182050e7a643d95aa2373f8e953c5de6b133b9 - src/main/java/com/cvent/models/components/TravelBidWeekendDayJson.java: - id: ec0793fc42f2 - last_write_checksum: sha1:3472bd829c397135a6bfc038a6d23effb3445cbf - pristine_git_object: a9159cc308daf1874a067a44639bb2f222d54fe6 - src/main/java/com/cvent/models/components/TravelBreakOutRoomJson.java: - id: d614ab6ca868 - last_write_checksum: sha1:a706c2b2de2bd2b238565d5f24b76532e076ef0b - pristine_git_object: 63de462ab8daf4818d9ef2e7e36e3fc3dc7dd307 - src/main/java/com/cvent/models/components/TravelDayDelegateRateJson.java: - id: c66e57d612dc - last_write_checksum: sha1:ef6f7837a22743028c8e9a750807b88e786a0c65 - pristine_git_object: 7d20c55a8ce3570d81a78abbde09199a9a052a75 + src/main/java/com/cvent/models/components/TravelAccountType.java: + last_write_checksum: sha1:a98499f082b340c1aa18267df4fc21d1a5083170 + src/main/java/com/cvent/models/components/TravelBidAmenity.java: + last_write_checksum: sha1:a26472f5139451deb2890c124a6e4126a052d93a + src/main/java/com/cvent/models/components/TravelBidComment.java: + last_write_checksum: sha1:414a7a49ae21d9a466ef84277f40a820973e34e2 + src/main/java/com/cvent/models/components/TravelBidDiscount.java: + last_write_checksum: sha1:68a42506de21c92950a6602d7704589895841162 + src/main/java/com/cvent/models/components/TravelBidDiscountPropertyRoom.java: + last_write_checksum: sha1:58ec7bf48452f521f2ff7f59bad33430ce43b0ca + src/main/java/com/cvent/models/components/TravelBidDisposition.java: + last_write_checksum: sha1:35b0251e85d03d3e2076be48c483bceb8e437e5a + src/main/java/com/cvent/models/components/TravelBidDispositionAcceptedRoom.java: + last_write_checksum: sha1:110b232e1c54084b6a2ddf727b189d628bbc7a8b + src/main/java/com/cvent/models/components/TravelBidDispositionAcceptedRoomPropertyRoom.java: + last_write_checksum: sha1:d72c16135f40812e16d5d03c5c5928c56fcb9495 + src/main/java/com/cvent/models/components/TravelBidFairSeason.java: + last_write_checksum: sha1:c293aedd4f8c869f751ec4dc2dfcfb3328bbaa87 + src/main/java/com/cvent/models/components/TravelBidFairSeasonRate.java: + last_write_checksum: sha1:4088b2e6ec2b2cd1165929f5cdfccf81a1be5c36 + src/main/java/com/cvent/models/components/TravelBidFairSeasonRatePropertyRoom.java: + last_write_checksum: sha1:d22f97c4853395c4df2f117f0c791e4e986983e3 + src/main/java/com/cvent/models/components/TravelBidPolicy.java: + last_write_checksum: sha1:eb276457069186644134a6e77a4185f4511ffc96 + src/main/java/com/cvent/models/components/TravelBidRoom.java: + last_write_checksum: sha1:c5b3975e25315bb1a30ba1a5ae29fd96af450c8a + src/main/java/com/cvent/models/components/TravelBidRoomPropertyRoom.java: + last_write_checksum: sha1:489fa65ff4fc6f63f22038f7d88e3f5738e93635 + src/main/java/com/cvent/models/components/TravelBidSeason.java: + last_write_checksum: sha1:8d20a5ddb467ec1306f6dc65307f9bb4e3d1855c + src/main/java/com/cvent/models/components/TravelBidSeasonRate.java: + last_write_checksum: sha1:87097951c660f2e3dff1179f8a2b7c091969874d + src/main/java/com/cvent/models/components/TravelBidSeasonRatePropertyRoom.java: + last_write_checksum: sha1:888465fe03cac6be741b348c2d622ebbde93aa3f + src/main/java/com/cvent/models/components/TravelBidTaxAndFee.java: + last_write_checksum: sha1:f1547a6061f9050774d3d803528621b17bf7188c + src/main/java/com/cvent/models/components/TravelBidWeekendDays.java: + last_write_checksum: sha1:5e4344811e5c1556b2e526728958fabbe903cb80 src/main/java/com/cvent/models/components/TravelDepartureArrivalJson.java: id: d91ab69699a2 last_write_checksum: sha1:a4e50452508a5702f40d0fffbc9956e1a7977455 @@ -14652,73 +14078,73 @@ trackedFiles: id: ac665d444c28 last_write_checksum: sha1:84a95d01b29276b36bef3ceec5db8b4c884bc9ec pristine_git_object: 8bcad17c40fc05532396fcad78c1fda4c08cfcad - src/main/java/com/cvent/models/components/TravelGroupAndMeetingJson.java: - id: d550ae2d9a8b - last_write_checksum: sha1:9cbc8fd640cba61397128a49e8aa5783ea013f06 - pristine_git_object: 341949956ea4d965f3a70bccc9e978ab6c840327 - src/main/java/com/cvent/models/components/TravelMeetingRoomBasicInfoJson.java: - id: 4fe20f893c70 - last_write_checksum: sha1:7e7af606a0a5a4f6f6783d6bc53f4cc8ed81cf16 - pristine_git_object: f3c078bd17a4be68e1faee490bf43c05fe784e1f src/main/java/com/cvent/models/components/TravelProgram.java: id: fde28c3988da - last_write_checksum: sha1:61c9acc967bcb6b92df649d23852918815dedfeb + last_write_checksum: sha1:2c84962a9edfc1fc21b27bda86904916ced8177a pristine_git_object: bcd4a3775817132efcc1c6867f3c3caf0bc79e71 - src/main/java/com/cvent/models/components/TravelProgramFormatTypeJson.java: - id: 42c9bffc6802 - last_write_checksum: sha1:03f1a5c48b656e063af51920bb62d7198666d10e - pristine_git_object: 31b136537dc81cadb28297910d8fe856a661cf8f + src/main/java/com/cvent/models/components/TravelProgramFormatType.java: + last_write_checksum: sha1:748e9b4fb597178066edac8ec05e9df1915498b1 src/main/java/com/cvent/models/components/TravelProgramPaginatedResponse.java: id: 4bf32f43e2f0 - last_write_checksum: sha1:3351aa28a5f85eafff28ede60026a609a18b7015 + last_write_checksum: sha1:035c8d22ec7ddb367700dbcc0023c138f3d57458 pristine_git_object: a2d1f0fc026ea9356b8787f49c2dc4b06f3f5666 - src/main/java/com/cvent/models/components/TravelProgramQuestionJson.java: - id: 91d0fc41363e - last_write_checksum: sha1:1da98ab7937d772861453a02ba2eca54809b2a19 - pristine_git_object: 32f8587fa566cc3601cf89a89d8d65c0b0ad3c93 - src/main/java/com/cvent/models/components/TravelProgramStatusJson.java: - id: 6157fcfa10ce - last_write_checksum: sha1:75f8655b3c6640cdc71f0e54e462b65a9156f133 - pristine_git_object: 21b9c2065ce3d3d65e4458c847a73450ba601734 - src/main/java/com/cvent/models/components/TravelProgramStayTypeJson.java: - id: 1410c93beb9e - last_write_checksum: sha1:e5be775f2fdcb1252c936759c550efc0b13883b1 - pristine_git_object: 4a2a9eddcf6b81349d0b1eee8c5c1a5ba5d94a96 + 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 + src/main/java/com/cvent/models/components/TravelProgramStatus.java: + last_write_checksum: sha1:9760a04942c6affe56d8d382aa6fbd5e905a2668 + src/main/java/com/cvent/models/components/TravelProgramStayType.java: + last_write_checksum: sha1:4a5ea4c0a20a12e1f5a1139fc5cccb351bc361e0 src/main/java/com/cvent/models/components/TravelProgramTravelAccount.java: id: 57115ece2bcb last_write_checksum: sha1:79396f613ac57c35491e0b1ee04c8b5d674399aa pristine_git_object: 9a147fd4ca49ea84eeb223a97a0f3bcf1d4e12a7 - src/main/java/com/cvent/models/components/TravelProgramTypeJson.java: - id: 66b692d00815 - last_write_checksum: sha1:458e58ca783eff908f57032f8ff8c0fd33bf7755 - pristine_git_object: 83d7fa9d41cfb704e89ddd08fbf07c5c23ec7102 + src/main/java/com/cvent/models/components/TravelProgramType.java: + last_write_checksum: sha1:032f82879c0216a60e50ae2f75e2bd466d5a2c65 src/main/java/com/cvent/models/components/TravelProposal.java: id: 822242c43958 - last_write_checksum: sha1:a68faec597ff22cfbdceb65d1d7a894d1642e4a5 + last_write_checksum: sha1:953039bac8132152ba728b5e682abff8ba20af0b pristine_git_object: f95783a6097420af8a28f8b6dceced5073b7c35d - src/main/java/com/cvent/models/components/TravelProposalBid.java: - id: 11e94dfa281d - last_write_checksum: sha1:b82eb667517bcdd020d2da5442ef0d31042e4ceb - pristine_git_object: ed0604d98b24318f537110153b28d07ead1b9791 - src/main/java/com/cvent/models/components/TravelProposalBidIdJson.java: - id: 51d64dcd2982 - last_write_checksum: sha1:3a924c297a4e621a364a66d56592447505b2fe7f - pristine_git_object: 561900eb52acba111bc2759c662fe5dc44792062 + src/main/java/com/cvent/models/components/TravelProposalBid1.java: + last_write_checksum: sha1:f92fde0bd4618e36ce569fb93b45ad82b8fb9972 + src/main/java/com/cvent/models/components/TravelProposalBid2.java: + last_write_checksum: sha1:8264da5ff30a6a0e808d70922b7bfac9815115eb src/main/java/com/cvent/models/components/TravelProposalBidPaginatedResponse.java: id: e10390f333e9 - last_write_checksum: sha1:04a90f74aa5efdc15df27cb020a1f6838e1419fc + last_write_checksum: sha1:126dfc1653b4e31cd856429700445272f6d511bb pristine_git_object: 415447a1c23c90668b69b838c537391f18aa05c0 + src/main/java/com/cvent/models/components/TravelProposalBidRate.java: + last_write_checksum: sha1:dc0035571814f9e1324ae3842244c490d0613573 src/main/java/com/cvent/models/components/TravelProposalBidTravelProposal.java: id: 14cef2e804b7 last_write_checksum: sha1:db919ca7589b90250b645745f468b162a1b52b07 pristine_git_object: 14d90bbb85373de3dfd7f27f8190b94b7c226457 - src/main/java/com/cvent/models/components/TravelProposalDispositionJson.java: - id: 01e3c919249b - last_write_checksum: sha1:9efe59601e6fa7be6a5ce0a44c76a40a3c7e4bd4 - pristine_git_object: 8f3608d69f529e931f4dca50830e2c86445a02d2 + src/main/java/com/cvent/models/components/TravelProposalCustomQuestion.java: + last_write_checksum: sha1:88b16409d562a647f4b2563c86c4b8a58c742e77 + src/main/java/com/cvent/models/components/TravelProposalCustomQuestionQuestion.java: + last_write_checksum: sha1:167a00bfea819e704e819c0ffcc76347938e4610 + src/main/java/com/cvent/models/components/TravelProposalDisposition.java: + last_write_checksum: sha1:cfe642e5c0e0c11a7a3b3bf6266a4b4ca68c33db + src/main/java/com/cvent/models/components/TravelProposalGroupAndMeeting.java: + last_write_checksum: sha1:e3d4ec567fa04bb875b110655a9eac4d0451f2a5 + src/main/java/com/cvent/models/components/TravelProposalGroupAndMeetingAmenity.java: + last_write_checksum: sha1:450a1f80566a1254a7657bb58309e125e65387a2 + src/main/java/com/cvent/models/components/TravelProposalGroupAndMeetingBreakOutRoom.java: + last_write_checksum: sha1:553588684969a51baa06900b6b999428483191cf + src/main/java/com/cvent/models/components/TravelProposalGroupAndMeetingDayDelegateRate.java: + last_write_checksum: sha1:c1f60f5c0ba7da4b4d4ac239821ad86e992a236d + src/main/java/com/cvent/models/components/TravelProposalGroupAndMeetingMeetingRoomBasicInformation.java: + last_write_checksum: sha1:52a40138a4b051994a63ec743719a1c59142bb3b + src/main/java/com/cvent/models/components/TravelProposalGroupAndMeetingRunOfHouseRate.java: + last_write_checksum: sha1:2c30000657f806b4f10eff9233f4fbda83811ca4 + src/main/java/com/cvent/models/components/TravelProposalGroupAndMeetingTaxAndServiceCharge.java: + last_write_checksum: sha1:6d8e2068293895d939eb0554239204950d721dc6 src/main/java/com/cvent/models/components/TravelProposalPaginatedResponse.java: id: d79b3df02e89 - last_write_checksum: sha1:943cd259a3b47bd25744bad1369750d728d35849 + last_write_checksum: sha1:2105ff8a28a734486328a732511bf63cf034bc74 pristine_git_object: 213acbfc55e0a88d868464fb2876ae484fb2de48 src/main/java/com/cvent/models/components/TravelProposalTravelProgram.java: id: f095e674ec8c @@ -14726,14 +14152,6 @@ trackedFiles: pristine_git_object: 964b763f9045bd0b644b4825747a3400b3a34477 src/main/java/com/cvent/models/components/TravelRequestStatus.java: last_write_checksum: sha1:0110dda8cfecbe5e8b8052145a20ff2a6638895c - src/main/java/com/cvent/models/components/TravelRunOfHouseRateJson.java: - id: f2cbaa65f4b3 - last_write_checksum: sha1:40fbb5bbed76a1ba9da55dc9b06d8fb10e41b6ed - pristine_git_object: 6494efcf75ba844da4c6e27204fd544ebb9c2ee5 - src/main/java/com/cvent/models/components/TravelTaxAndServiceChargeJson.java: - id: f4742baaf311 - last_write_checksum: sha1:b471dec3ae44f0f9e03f9ad1a18df1572db03662 - pristine_git_object: 07c26ec86aeac4108a38e09a09d7e4cbe4ed71c6 src/main/java/com/cvent/models/components/TravelType.java: last_write_checksum: sha1:8506e2f774802e73b3f2ab494761ef50bcd11a4d src/main/java/com/cvent/models/components/Two.java: @@ -14748,8 +14166,8 @@ trackedFiles: pristine_git_object: e50042b47969291ff70651d49dfb973d31b3f53e src/main/java/com/cvent/models/components/UTMOverride.java: last_write_checksum: sha1:edd271b4819dd34f2a3639168a47b54f7f90b0ad - src/main/java/com/cvent/models/components/UnitPositionJson.java: - last_write_checksum: sha1:b901ce6bc0339c696aa5f7b35000d4d9edd60019 + src/main/java/com/cvent/models/components/UnitPosition.java: + last_write_checksum: sha1:702aae49690511f93e078cb2878c10c84c3c9168 src/main/java/com/cvent/models/components/UnknownCreateUpdateDiscount.java: id: f9b9aa4fc7cf last_write_checksum: sha1:e0266b816d0fbdca36e9513a6fe118a8e8c967b3 @@ -14772,10 +14190,8 @@ trackedFiles: id: 941fc96947a0 last_write_checksum: sha1:4d81cda368f5a469bab08cb7cec80c5a10900fa1 pristine_git_object: 4b46199d434df75e9379ab9c6c47705de3b9bb1e - src/main/java/com/cvent/models/components/UpdatedThroughNamePropertyJson.java: - id: 321c03119f88 - last_write_checksum: sha1:ae43bbf1c3d26eb5cb356069eb46d8fecf8355a7 - pristine_git_object: ada21c27c87d501bd5175b49dcd31253dd792e8c + src/main/java/com/cvent/models/components/UpdatedThroughNameProperty.java: + last_write_checksum: sha1:ef3b2265f1231047200c28eb7cac4675cd514f5a src/main/java/com/cvent/models/components/Usage.java: last_write_checksum: sha1:2c42f2140211b1582d8fa73670df27653253b441 src/main/java/com/cvent/models/components/UsagePaginatedResponse.java: @@ -14784,7 +14200,7 @@ trackedFiles: pristine_git_object: d410a6be0544e1682e55bdc37e88cb9b136fbba2 src/main/java/com/cvent/models/components/User.java: id: 0ca4527bb07c - last_write_checksum: sha1:1ccc9ca7dac13a674b2571539ed4a59ff37c42aa + last_write_checksum: sha1:4c0969c848f50aefe89c03a77e70ba8496b085a0 pristine_git_object: 1612e7950b52fd4d1b6f9e4a36aee1879906e582 src/main/java/com/cvent/models/components/UserEnterpriseExtensionJson.java: id: 8631838f55d4 @@ -14816,11 +14232,11 @@ trackedFiles: pristine_git_object: 0c054fe6f2379654e62de93ece16a4051fd1c8e0 src/main/java/com/cvent/models/components/UserInput.java: id: ba02ae2b54d4 - last_write_checksum: sha1:8f1f72e7fc937209074b04821b7b83e4d6f3f4b4 + last_write_checksum: sha1:616c506f08cb2dfa0a3e8f6a5e90a776698d4064 pristine_git_object: 6ed520e605c9585787efcdb623a8e4b69130b660 src/main/java/com/cvent/models/components/UserJson.java: id: 554ecf692706 - last_write_checksum: sha1:0e18017249717a4965e7bda8e122639f5805a2ea + last_write_checksum: sha1:c2952228543706d990ffb73118403ea67cfb7f5b pristine_git_object: 395d787e060cba5f4a871097db11051a70d178f4 src/main/java/com/cvent/models/components/UserTypeJson.java: id: 7b267aef5c49 @@ -14874,7 +14290,7 @@ trackedFiles: pristine_git_object: e26894787c228f9be4705c5a79e70603101d103b src/main/java/com/cvent/models/components/VenueSummary.java: id: 585fabfc447e - last_write_checksum: sha1:bf595680d0971a204a5aa36b4f193588507aeead + last_write_checksum: sha1:4143dc5b76ee64067b338e80eeb15fc3f297b3e7 pristine_git_object: 6d1fefe80915f8fca10798aafeace8a9ba5649f3 src/main/java/com/cvent/models/components/Version.java: id: 4902db4779b1 @@ -14884,102 +14300,72 @@ trackedFiles: id: 4a471d256a88 last_write_checksum: sha1:26ee49a571854d2874fbccb93f161cbd227aea80 pristine_git_object: 3c07dcb65e5145b6f67254777db65598dc5941cc - src/main/java/com/cvent/models/components/VideoAssetIdJson.java: - id: aa87b6c5ae68 - last_write_checksum: sha1:61bf6dccbf296a8f0b37be55adc4c15f5f67e75e - pristine_git_object: f7c2d61046368479eb5b0cdcdfc130b5ed3604ed - src/main/java/com/cvent/models/components/VideoClipJson.java: - id: 8bea82fd27ef - last_write_checksum: sha1:4a17cfceb51e38538a2ab57c90ac6ddb885900d1 - pristine_git_object: 35aa60796fc9fc0a8bc07c6341d6bcea485bf28a - src/main/java/com/cvent/models/components/VideoErrorCodeJson.java: - id: bdab9cdc9cfa - last_write_checksum: sha1:c90bb9705491e089f63122021b1bc66cca44b801 - pristine_git_object: b4bd9e9fa9d32f837f5e787bd87dda14310eddd4 - src/main/java/com/cvent/models/components/VideoErrorJson.java: - id: 12eae6fa8c44 - last_write_checksum: sha1:8dd0472cdce760c502a9809ec48fb38ac703b9a7 - pristine_git_object: 89e854cfe4b94c451b446956c7e2309d004f15f1 - src/main/java/com/cvent/models/components/VideoJson.java: - last_write_checksum: sha1:2e1083c56423cd08d2cb8028ce0384dbda2e2838 - src/main/java/com/cvent/models/components/VideoRenditionJson.java: - id: 589832bdb8ec - last_write_checksum: sha1:9a8047115f5a8806b7d7f8e4a4733a040359c695 - pristine_git_object: 5885787e157380c08bb6966fe2e7283dbba250b8 - src/main/java/com/cvent/models/components/VideoRenditionJsonLink.java: - id: c953fb81d9ff - last_write_checksum: sha1:dc7ba0ed328eb4048c9863b1b615bdbfe233896c - pristine_git_object: 192ec8ad23063dbb79c301731bbcaf49d6021c75 - src/main/java/com/cvent/models/components/VideoRenditionTypeJson.java: - id: e33449d2603f - last_write_checksum: sha1:f99bbb13073e5d2ac6c89446bdb45bfba6027d1e - pristine_git_object: ef00343e1ba4e5b17b0694600b41fb7e7dace53b + src/main/java/com/cvent/models/components/Video1.java: + last_write_checksum: sha1:df18c62c092afa5c37170845c549d1c1ba5a949e + src/main/java/com/cvent/models/components/VideoAssetID.java: + last_write_checksum: sha1:4528bf16bb0373107ec3c2c82d9fe6fc106d608b + src/main/java/com/cvent/models/components/VideoClip.java: + last_write_checksum: sha1:c933e9242f5c338b08b5c425ae8ad274cffe955c + src/main/java/com/cvent/models/components/VideoError.java: + last_write_checksum: sha1:009372f168a34170d680a4c5e14bdd37b7a05b37 + src/main/java/com/cvent/models/components/VideoErrorCode.java: + last_write_checksum: sha1:bae211184417d76b7cd565444f1367d3375c67e3 + src/main/java/com/cvent/models/components/VideoRendition.java: + last_write_checksum: sha1:c2cc3e9923f4becee6417f92ffd779aa188a5597 + src/main/java/com/cvent/models/components/VideoRenditionLink.java: + last_write_checksum: sha1:b031c17f3ca95bb1963a4e2212e264db80e57c17 + src/main/java/com/cvent/models/components/VideoRenditionType.java: + last_write_checksum: sha1:3d590e1c1a188c4f4e54eb37915ce60919d33b3f src/main/java/com/cvent/models/components/VideoRenditionsResponse.java: id: e66a325a3a39 - last_write_checksum: sha1:c16130d44b729b39706a6ac889636d4212ac1809 + last_write_checksum: sha1:6dd556b7a55ab008930cc7e4d392cb00a81e890c pristine_git_object: 0d1456388e01d65482eadccaf7c6dfdbfd323950 - src/main/java/com/cvent/models/components/VideoSourceJson.java: - id: 434868c4c9f5 - last_write_checksum: sha1:45ff01ced9338a02eba245ca1e23d0b162db93ff - pristine_git_object: 7f2e486eb95c10842c6ff631a0341e5c06b55359 - src/main/java/com/cvent/models/components/VideoSourceJsonStatus.java: - id: 858b9324dfc9 - last_write_checksum: sha1:c3e65e0c3d4b68e3c1a21b7cf549e567c0464342 - pristine_git_object: d2fe9cafdc2709aa0f6890af2177339e7564d23f - src/main/java/com/cvent/models/components/VideoStatusJson.java: - id: 177fa4ab6158 - last_write_checksum: sha1:cbcf1cd0a39f103ca6bf2837384acd282903604f - pristine_git_object: 18d0bb1266371520f3acb8aa14729dbece96cd30 + src/main/java/com/cvent/models/components/VideoSource.java: + last_write_checksum: sha1:cfd35c27c54df04ebf408a6b41e7258f13399209 + src/main/java/com/cvent/models/components/VideoSourceStatus.java: + last_write_checksum: sha1:d1e17fdf8c4b498c814b068c93d6263fd9386832 + src/main/java/com/cvent/models/components/VideoStatus.java: + last_write_checksum: sha1:3fd02f7f21213961bd2ae284278810144349ba45 src/main/java/com/cvent/models/components/VideoTextTrack.java: id: a30bc76ec0cd - last_write_checksum: sha1:e5d0c9a4923e25a28ce92464a56c62095efd44fc + last_write_checksum: sha1:fb65985159a071dcc11f9323cf35b2f1713108f2 pristine_git_object: 2845ffed527a93eabeb8bdbd758128a819e4ded2 - src/main/java/com/cvent/models/components/VideoTextTrackKindJson.java: - id: 7a45b135bab0 - last_write_checksum: sha1:5ae700dc3beee70973d0fefcac65aa27cdefe26e - pristine_git_object: 2b3bc976af20ae0a2b5ab880ebf3d508974c3ec0 - src/main/java/com/cvent/models/components/VideoTextTrackStatusJson.java: - id: bc6d5db8b622 - last_write_checksum: sha1:b76151e65583bcf8698a6b0e4e82783e0c99677b - pristine_git_object: b8b5974733ac6de73f7ce45b25b94b4fc2c90ffd + src/main/java/com/cvent/models/components/VideoTextTrackKind.java: + last_write_checksum: sha1:78aed3a975621a016104110b99d55ff7695cd943 + src/main/java/com/cvent/models/components/VideoTextTrackStatus.java: + last_write_checksum: sha1:2dd843e58e4bd9a0962bbb4fc220c41e549c022e src/main/java/com/cvent/models/components/VideoTextTracksResponse.java: id: d8f5de257d31 last_write_checksum: sha1:339b51bacde53691c02dea726641d9f657ead4a9 pristine_git_object: cd0da0ac0b7d4d5063130a3de56fc737ee86986b - src/main/java/com/cvent/models/components/VideoThumbnailJson.java: - id: 0862aa618e28 - last_write_checksum: sha1:0b140186368ed8701cdf56bfc34c86de913a32a9 - pristine_git_object: 809f5329a08bd4aa6bb69cd0430762e1ac5bf28f - src/main/java/com/cvent/models/components/VideoTypeJson.java: - id: 3bb356c4ebe7 - last_write_checksum: sha1:96265622a266cc31e9559153082b756b119b4c9e - pristine_git_object: 56027643903dc248c9f9a488a0c66f3cdcb0a5cc - src/main/java/com/cvent/models/components/VideoViewJson.java: - id: 69eb548b2911 - last_write_checksum: sha1:e9ac5027699caeedf991c581c1fdae560b48c993 - pristine_git_object: ace65efc6c058f49874242451c4ba2c1844a2cba + src/main/java/com/cvent/models/components/VideoThumbnail.java: + last_write_checksum: sha1:52f160d84e84942545b10a4ad1fdcde354732ffd + src/main/java/com/cvent/models/components/VideoType.java: + last_write_checksum: sha1:d6528be0e363c98cadd9da7d11c5531664fae451 + src/main/java/com/cvent/models/components/VideoView.java: + last_write_checksum: sha1:98cf80683e001b9681247c7ffff03cf860c2e9af src/main/java/com/cvent/models/components/VideoViewsPaginatedResponse.java: id: 0804fedaec03 - last_write_checksum: sha1:3ee829c36286ce78bec861f2df1f2828a6d4e635 + last_write_checksum: sha1:6fc76727d1effc9bd2b5dc36077d857655020718 pristine_git_object: e1fe6e07ca7bddcdd01555f46332955a6a645d28 - src/main/java/com/cvent/models/components/VideoWarningCodeJson.java: - id: 48b3abdb494b - last_write_checksum: sha1:88227962ef9a3ddb073c10daa61cbebda5a41f10 - pristine_git_object: e7bb7f1390d21111d5dc252981f251751f4fed7f - src/main/java/com/cvent/models/components/VideoWarningJson.java: - id: 7766b66ac0c9 - last_write_checksum: sha1:135b60af87f78a56713c009ba81856d23442134d - pristine_git_object: 29a8bfb0fc1c7a638404c6ac3c7025382eadce85 + src/main/java/com/cvent/models/components/VideoWarning.java: + last_write_checksum: sha1:1e353f7b1ae6f924ff18b3f3a49a0de2694d2631 + src/main/java/com/cvent/models/components/VideoWarningCode.java: + last_write_checksum: sha1:d86c21009947f566cd0a07626ace591b59086ccc src/main/java/com/cvent/models/components/VideosPaginatedResponse.java: id: 98b5fd7d5960 - last_write_checksum: sha1:dc35cf311ecb967a9584b18801473c0adbcf018b + last_write_checksum: sha1:a65fb4b9d10693154756ce01dca02169a0ed9dd8 pristine_git_object: 9fa692c8ca85bb4479e0901f6b3da6d39e84ee9e - src/main/java/com/cvent/models/components/ViewTypeJson1.java: - id: a25903cb6bd4 - last_write_checksum: sha1:ff8b72810432e75113f61d5aa990bad0ab4bc544 - pristine_git_object: f5044504a5a08fb7abec36222c692e52509f1c64 + src/main/java/com/cvent/models/components/ViewType1.java: + last_write_checksum: sha1:c1bd0f02d5b44b37c1fd10e8099ec44728fb5808 src/main/java/com/cvent/models/components/VolumeDiscountThresholdType.java: last_write_checksum: sha1:8625d7f52f398d7ba2f9272824abd5a8c58a5a54 + src/main/java/com/cvent/models/components/Voucher.java: + last_write_checksum: sha1:8d1eaff7931133fe5754e95b1e2d2085d6db0cbd + src/main/java/com/cvent/models/components/VoucherCapacity.java: + last_write_checksum: sha1:a94a890770dc2595cc19bfac3e8063cd9384dc29 + src/main/java/com/cvent/models/components/VouchersPaginatedResponse.java: + last_write_checksum: sha1:5bfb8f8eba721181035227649c7cd2bc64df22a6 src/main/java/com/cvent/models/components/Webcast.java: id: 5a713fe001b8 last_write_checksum: sha1:ac169871867fe54b169eca2bf1c474bb7a08dd10 @@ -15014,16 +14400,16 @@ trackedFiles: pristine_git_object: 62c3f0984363a385410e74214f3ae88512c3bb83 src/main/java/com/cvent/models/components/Weblink.java: id: 39ba41132d98 - last_write_checksum: sha1:d202522df5f952f8c46559b28786dc0f8ab0e306 + last_write_checksum: sha1:f10d688214e37de6e0cb8bc36f6cb850919fa65d pristine_git_object: 083b9e763c7d783ac57ff8229f4876cee5c92d50 src/main/java/com/cvent/models/components/WeblinkListResponse.java: id: c219485f518d last_write_checksum: sha1:9dec03058f2f3ab6ea4926aee470a546448f0bf9 pristine_git_object: 65d0f93865416be15b8564359fcbb9982d1bf2b1 - src/main/java/com/cvent/models/components/WeddingDetailsJson0.java: - last_write_checksum: sha1:71d0099afaee74ec1d6043070fd9ced5f082c7b0 - src/main/java/com/cvent/models/components/WeddingPartnerJson.java: - last_write_checksum: sha1:9e360eb3477b3651850bb0fedc084a83ee25fd5a + src/main/java/com/cvent/models/components/WeddingDetails1.java: + last_write_checksum: sha1:8d277ca31564c5977140539a174a89d49037ff86 + src/main/java/com/cvent/models/components/WeddingPartner.java: + last_write_checksum: sha1:adaa146b05bb0fcb875e5e0a22ef46c0784cb64d src/main/java/com/cvent/models/components/WorkAddress.java: last_write_checksum: sha1:48379d2259583db4edefcfd5a88c366906c1312e src/main/java/com/cvent/models/components/WorkAddressAddressInput.java: @@ -15056,14 +14442,12 @@ trackedFiles: pristine_git_object: a3c2dd705bdc515204d67e999ac5e80556634d2e src/main/java/com/cvent/models/components/ZeroAllOf7.java: id: 93174a72b0b5 - last_write_checksum: sha1:7e13e8769e60b0b31f0b21a21f5f2f5ee40e320c + last_write_checksum: sha1:c8944e759b7b76979e161e54d0197a822952807c pristine_git_object: 8c63c6b0dfba8fd9cb86e848cb0f78d71e7f13ff src/main/java/com/cvent/models/components/ZeroAllOf8.java: id: 367af31be2d1 - last_write_checksum: sha1:ffcbc9f04958f2a170874f0bef70c675504a051c + last_write_checksum: sha1:ae453ebb9e2ecf7c41b5be3c7892da8fb1398089 pristine_git_object: 7afc4712147bc382a4c3c29daaa3b30521c680e1 - src/main/java/com/cvent/models/components/ZeroAllOf9.java: - last_write_checksum: sha1:35dc0160647d99aef56956cfef6d1bf375d9ed77 src/main/java/com/cvent/models/components/ZeroAnyOf.java: id: 38becdad9d2f last_write_checksum: sha1:fc448d6e0cd86dec16a65ce92f30f1ac907b30e5 @@ -15105,11 +14489,11 @@ trackedFiles: last_write_checksum: sha1:cde83d508aa95687043b4c7796f78b92b1a180bc pristine_git_object: 6e9f3070a79d46186efc77a1ac3f6bc7495dc183 src/main/java/com/cvent/models/errors/ErrorResponse1.java: - last_write_checksum: sha1:90ed65753f9b2fd7d5eba0e3f74fa10867f0b327 + last_write_checksum: sha1:de7068529d2c612d01cd37caf57c11cefc6a4c7c src/main/java/com/cvent/models/errors/ErrorResponse2.java: - last_write_checksum: sha1:0547136fc9b2f466da152e1cd00ec20a47bfe987 - src/main/java/com/cvent/models/errors/ErrorResponseJson17.java: - last_write_checksum: sha1:b256d3e1ea96a0e63c789842caac37d5c0cf6291 + last_write_checksum: sha1:9cbba1838cef8fe3b89ef5b9370d9ff1d3bc9739 + src/main/java/com/cvent/models/errors/ErrorResponseJson12.java: + last_write_checksum: sha1:2af37093aca44e72aaf0ab8e0624b0276c0894a0 src/main/java/com/cvent/models/errors/SegmentsErrorResponse.java: last_write_checksum: sha1:a5e9b4512c354e3061c2cbd58fc56d940e3f4d4d src/main/java/com/cvent/models/errors/ValidationCode.java: @@ -15132,7 +14516,7 @@ trackedFiles: pristine_git_object: 5849b3a01106acd39bb49d97055a2c4bdbbc5b92 src/main/java/com/cvent/models/operations//async/AddSpeakerCategoryRequestBuilder.java: id: 92e679879112 - last_write_checksum: sha1:fbc29ee56fb0b5b66735a41dd6041731985c20bb + last_write_checksum: sha1:8c7f9be2481260c792cefe03986a287f0266475e pristine_git_object: 9574e9dc6e1eae26817d00b6ef1b5e1ee28d4be7 src/main/java/com/cvent/models/operations//async/AddSpeakerDocRequestBuilder.java: id: 8a03cd1f3703 @@ -16282,6 +15666,12 @@ trackedFiles: id: f3d178a1dbe1 last_write_checksum: sha1:af74d027857062ced0edafc095afb1ac8c1bbc64 pristine_git_object: 9e66ae167d6c2a8cf9c4087feade99ee8d808d78 + src/main/java/com/cvent/models/operations//async/ListEventVoucherAttendeesRequestBuilder.java: + last_write_checksum: sha1:56d8cea9dc7f334f288aee5672e29c400da3f90a + src/main/java/com/cvent/models/operations//async/ListEventVouchersPostFilterRequestBuilder.java: + last_write_checksum: sha1:1f49b952c434db05bddad7f88819f2576d188344 + src/main/java/com/cvent/models/operations//async/ListEventVouchersRequestBuilder.java: + last_write_checksum: sha1:abd1166d652a6b4f2c25e20ef6f2f506fcb8d24b src/main/java/com/cvent/models/operations//async/ListEventWeblinksRequestBuilder.java: id: 619efd146579 last_write_checksum: sha1:d664ec9370e70f0ba37390162dde11d3b7f4b0ec @@ -16900,7 +16290,7 @@ trackedFiles: pristine_git_object: 134a351776939b92b7d21139cfa90fb7bc8dd172 src/main/java/com/cvent/models/operations/AddSpeakerCategoryRequestBuilder.java: id: 2732adab7626 - last_write_checksum: sha1:b805e43997f9f2503bd392b6b0a82c598a95c072 + last_write_checksum: sha1:10b8a081758874fbc442b6b0ff9c4bda20213d23 pristine_git_object: a479a3b8dbe0376b96139f5e917bc761ecfca64e src/main/java/com/cvent/models/operations/AddSpeakerCategoryResponse.java: id: dcadac81c686 @@ -17268,7 +16658,7 @@ trackedFiles: pristine_git_object: f78e305c8db0718ad7965482518c45f2a8d44177 src/main/java/com/cvent/models/operations/CreateContactsRequest.java: id: 9449a312f7ca - last_write_checksum: sha1:53726f85459d36e6c26e03844d9a3c6c1cd91fcd + last_write_checksum: sha1:c31e1d3b3c444415eddbf2a34457e4254f633c17 pristine_git_object: 68dd282112bb2811f17dec9c48661c276fd1865e src/main/java/com/cvent/models/operations/CreateContactsRequestBuilder.java: id: 0da6e5875468 @@ -17276,7 +16666,7 @@ trackedFiles: pristine_git_object: 132271e06074cc0151390af0a459b6d5fe750a79 src/main/java/com/cvent/models/operations/CreateContactsResponse.java: id: b17eb4ca29f1 - last_write_checksum: sha1:264cd43033d758d5ac576563595ee43298b8ea01 + last_write_checksum: sha1:045f667dd9ce5d40ead931c8e3e90290ddca61e5 pristine_git_object: ee207692f51c5407a73076bb95dc73aff434fd1c src/main/java/com/cvent/models/operations/CreateCurrencyConversionRateRequest.java: id: 76fbc68fbaba @@ -18188,7 +17578,7 @@ trackedFiles: pristine_git_object: 8f3210681a036b53eebb642ebdb7feda291632ce src/main/java/com/cvent/models/operations/GetAttendeeByIdResponse.java: id: b0c53bd420f5 - last_write_checksum: sha1:afb061914fe1f057d861165ce9523a3afc4c60c8 + last_write_checksum: sha1:d4b7fabe2c02d48071209641142dd7477662bbc0 pristine_git_object: 3fcf894a61809eb977b805cf5d93da44377ad2b9 src/main/java/com/cvent/models/operations/GetAttendeeCreditsRequest.java: id: fa1fe97d4f91 @@ -18216,7 +17606,7 @@ trackedFiles: pristine_git_object: 5222e6ee7368d89d518d40012efaf49f2207f016 src/main/java/com/cvent/models/operations/GetAttendeeMessagesMembersRequest.java: id: d9ef3bc83fc1 - last_write_checksum: sha1:42bff2ee54427d39dbc9b24be3c33b59338aa66a + last_write_checksum: sha1:983f018a4ed12d3558c3efb07becdd943bdd4edf pristine_git_object: e4854c653220d02d069445f2913db0c3934f0f77 src/main/java/com/cvent/models/operations/GetAttendeeMessagesMembersRequestBuilder.java: id: 9363dbdb82c4 @@ -19732,7 +19122,7 @@ trackedFiles: pristine_git_object: 622a6e5c4834258be167b23dd3c919fdcea112c4 src/main/java/com/cvent/models/operations/GetTravelProposalBidResponse.java: id: 652e2e9057c4 - last_write_checksum: sha1:c9cd035b30594fb2697316f3f169c04e95fad850 + last_write_checksum: sha1:d6c599765b98a5b17940bf31cb0ec57f044344c5 pristine_git_object: 20626137333cfd5edeebc818e43a41a2cfacec3e src/main/java/com/cvent/models/operations/GetTravelProposalRequest.java: id: f1179ca391f9 @@ -19792,7 +19182,7 @@ trackedFiles: pristine_git_object: 41aad1e31abb6db13852df58b502274ca408c95f src/main/java/com/cvent/models/operations/GetVideoViewsRequest.java: id: c166cfc952bd - last_write_checksum: sha1:fe6a6ed64718167aa0eec1e114d4b9c6f1b914df + last_write_checksum: sha1:5fafcc1ddcfcc32264f49cbc9e8674b580fecef6 pristine_git_object: c864949322ce5dc31f2cd69af71f80ea498a0856 src/main/java/com/cvent/models/operations/GetVideoViewsRequestBuilder.java: id: ff270184a2ef @@ -20192,7 +19582,7 @@ trackedFiles: pristine_git_object: fcdfe10334173ab485f0cc9b75e6592f66ea6787 src/main/java/com/cvent/models/operations/ListDurationsRequest.java: id: 9451239af488 - last_write_checksum: sha1:a6c2441f1a6711a7437b7110afc6bce11f61b751 + last_write_checksum: sha1:abe62dfa559d29696f0dbe7395653967f18aa766 pristine_git_object: 1d194e6850287377518ddafa720731764f001099 src/main/java/com/cvent/models/operations/ListDurationsRequestBuilder.java: id: e210091b13ca @@ -20250,6 +19640,24 @@ trackedFiles: id: ad4406e801c3 last_write_checksum: sha1:cd17a53c84cd334d706b7644a5228f5d221422fd pristine_git_object: 427333715c20088484de476d2e8c034ee8c962ba + src/main/java/com/cvent/models/operations/ListEventVoucherAttendeesRequest.java: + last_write_checksum: sha1:c727c21eae634096f17c30a39127837477005896 + src/main/java/com/cvent/models/operations/ListEventVoucherAttendeesRequestBuilder.java: + last_write_checksum: sha1:5bf61cd3ac3fb3a9e99c3ff1d811b57822ab3c82 + src/main/java/com/cvent/models/operations/ListEventVoucherAttendeesResponse.java: + last_write_checksum: sha1:921b9bb5419a649e82e15f2b9e17a06117cfe291 + src/main/java/com/cvent/models/operations/ListEventVouchersPostFilterRequest.java: + last_write_checksum: sha1:f0e7bd33304c63278aaaf9c3cbd27aea3242ea81 + src/main/java/com/cvent/models/operations/ListEventVouchersPostFilterRequestBuilder.java: + last_write_checksum: sha1:cc209e1748864056ad58e9790d9508b1b9a50980 + src/main/java/com/cvent/models/operations/ListEventVouchersPostFilterResponse.java: + last_write_checksum: sha1:225338ad255569c5ae639fb953fa896a651d40e2 + src/main/java/com/cvent/models/operations/ListEventVouchersRequest.java: + last_write_checksum: sha1:8839c1f2c64b694f19b5a6da1c1b95e7cfd5ba45 + src/main/java/com/cvent/models/operations/ListEventVouchersRequestBuilder.java: + last_write_checksum: sha1:ea52b07be0a2e190097bb69aab0803bfbd53fc3c + src/main/java/com/cvent/models/operations/ListEventVouchersResponse.java: + last_write_checksum: sha1:be9804cb652b8b47de9234e1557cf836192e99b2 src/main/java/com/cvent/models/operations/ListEventWeblinksRequest.java: id: 8988b42a6a3f last_write_checksum: sha1:ddada2115c92e89ae263d3191d12730f7473eea2 @@ -20918,7 +20326,7 @@ trackedFiles: pristine_git_object: 0045a803d33697a3ab8540b03d5bf22c386071d4 src/main/java/com/cvent/models/operations/ListVideosRequest.java: id: a5d79a66cb23 - last_write_checksum: sha1:c82484c4d3d89b0841c6a2465c5eacb7092539ec + last_write_checksum: sha1:696146118d226d238c2c753ad74f1e5fce2e1cce pristine_git_object: feeef5b81cfb99092be65ecd607c12db77c88b42 src/main/java/com/cvent/models/operations/ListVideosRequestBuilder.java: id: 48b5f71ab8a1 @@ -21026,7 +20434,7 @@ trackedFiles: pristine_git_object: 76dc2d452d0deb9bbe986982b2237d73ad10d2ab src/main/java/com/cvent/models/operations/PatchContactsResponse.java: id: d259cc58ae8a - last_write_checksum: sha1:d50afefb467e82bda9ef14f8fc49ea11d89a1ac2 + last_write_checksum: sha1:129cdd970b24559b6314417eb23bf155d8d69569 pristine_git_object: 6545baa543dc1415fb9b87cea71a9008d41e95a8 src/main/java/com/cvent/models/operations/PostBadgeRequest.java: id: b539547b2157 @@ -21334,7 +20742,7 @@ trackedFiles: pristine_git_object: c0ad9ec6cbda0a4c9ae10381c68a34e169dbe5dd src/main/java/com/cvent/models/operations/UpdateAttendeeResponse.java: id: 4d75d24fd00a - last_write_checksum: sha1:80f8a1a703851af7ca4a77f190bde1badafe55ed + last_write_checksum: sha1:3c71b1756c6e8fd21d756157707983a34290ba9f pristine_git_object: 1d30c736bcb08595362204572e26de4fe0e68a0f src/main/java/com/cvent/models/operations/UpdateAttendeeSubscriptionStatusRequest.java: last_write_checksum: sha1:1fce256e9bf816fe10689b0853aaaaca7ad7d746 @@ -21464,7 +20872,7 @@ trackedFiles: pristine_git_object: 8f270819368fe6453fdf9f286248771914db7667 src/main/java/com/cvent/models/operations/UpdateContactsResponse.java: id: 276ba2738e08 - last_write_checksum: sha1:cbda060e776c9b3aaa2ae70f812214b4d62b5e32 + last_write_checksum: sha1:13c9e1f0c07fa6f49fc227ca9380e36dd1100dae pristine_git_object: a276644191268ba374b098cac40218d1962e3342 src/main/java/com/cvent/models/operations/UpdateCurrencyConversionRateRequest.java: id: be58ec4f549a @@ -22092,7 +21500,7 @@ trackedFiles: pristine_git_object: 95eeba0c97cd90b640d2c9f24cfb2bfab853e02d src/main/java/com/cvent/models/operations/async/CreateContactsResponse.java: id: 657620aef3f7 - last_write_checksum: sha1:8dffa88c57336bc91deb6e47d1d5be43ed6ce2aa + last_write_checksum: sha1:4541d65e5529c1aa4a03020ef43efc39829ad74a pristine_git_object: a837a14b66ab5bae851d6a0592b6f0fe94024281 src/main/java/com/cvent/models/operations/async/CreateCurrencyConversionRateResponse.java: id: b5c27443a5d1 @@ -22412,7 +21820,7 @@ trackedFiles: pristine_git_object: 38d4db2807ec06ce1aa47c7519dd72fa31419b76 src/main/java/com/cvent/models/operations/async/GetAttendeeByIdResponse.java: id: ebea97994fa1 - last_write_checksum: sha1:f61614f15b40bde8b7fc17c60ab2513f7ea416bb + last_write_checksum: sha1:a65685467263b523c82ab0a7097a81012e341352 pristine_git_object: 5f216263a65b37e5bd8ffa344b425cb155f00e30 src/main/java/com/cvent/models/operations/async/GetAttendeeCreditsResponse.java: id: e9a64b82e097 @@ -22932,7 +22340,7 @@ trackedFiles: pristine_git_object: 7991afa21dc51a64c65a41cebc53e63399b097ff src/main/java/com/cvent/models/operations/async/GetTravelProposalBidResponse.java: id: 2125ad362c83 - last_write_checksum: sha1:70d90c418c9d99c05d5de969204940d54bec09c3 + last_write_checksum: sha1:017271df7d30f42d6bcf85caa0bbfa772bf5f17d pristine_git_object: bd1308fcf474505731eb933d41122a1e146afd25 src/main/java/com/cvent/models/operations/async/GetTravelProposalResponse.java: id: cbb747e9ef2a @@ -23106,6 +22514,12 @@ trackedFiles: id: dc19d22e44dc last_write_checksum: sha1:4554a169584014610811838e35ce4d52faf439f2 pristine_git_object: c273ffb52e97b638aee251893df01dae70bcc8a9 + src/main/java/com/cvent/models/operations/async/ListEventVoucherAttendeesResponse.java: + last_write_checksum: sha1:a3b50ef59571de88dc77c6f9e3304c95ec24ac76 + src/main/java/com/cvent/models/operations/async/ListEventVouchersPostFilterResponse.java: + last_write_checksum: sha1:3e715a859f3afca6f9a6ba99f51da5849deff2f5 + src/main/java/com/cvent/models/operations/async/ListEventVouchersResponse.java: + last_write_checksum: sha1:4a424de4147736055de1608eb30d45bbe0a12b23 src/main/java/com/cvent/models/operations/async/ListEventWeblinksResponse.java: id: 8bac1874388d last_write_checksum: sha1:1a1cbd642cbfdfcb6aed9fdb3f77e72b3264665d @@ -23362,7 +22776,7 @@ trackedFiles: pristine_git_object: 061175061edbbd12274a3cab01e609256139d8ef src/main/java/com/cvent/models/operations/async/PatchContactsResponse.java: id: abd67c0dd8bd - last_write_checksum: sha1:73ec6f3589805b3d4d0cb9150d4cf2260abe8892 + last_write_checksum: sha1:024e675be695760cfb075b8659221d31fda3c0fe pristine_git_object: e034808c426c0a8ab7647b7fc5191c2e9326b098 src/main/java/com/cvent/models/operations/async/PostBadgeResponse.java: id: b90539baf8e2 @@ -23466,7 +22880,7 @@ trackedFiles: pristine_git_object: 9f54e4be9d7237b90fe1333220df05eb755aff7a src/main/java/com/cvent/models/operations/async/UpdateAttendeeResponse.java: id: 56becbd977df - last_write_checksum: sha1:010ba35d858f9c5522e446c52a9899a1883144ab + last_write_checksum: sha1:95dc6f1ccc65b762131b6b5cb47d249c264c4a09 pristine_git_object: 347c03df6631cbe9fe778d84216c24bca6698449 src/main/java/com/cvent/models/operations/async/UpdateAttendeeSubscriptionStatusResponse.java: last_write_checksum: sha1:64efa3ea9a790c5dcabd7b9e89124bbdcec1b9fd @@ -23512,7 +22926,7 @@ trackedFiles: pristine_git_object: 4a984d8395b41db5420ad6207a99b8f72dca86f1 src/main/java/com/cvent/models/operations/async/UpdateContactsResponse.java: id: 73bb732c08ed - last_write_checksum: sha1:68ce435bfbb73e195e88d30029799c72836fa1f9 + last_write_checksum: sha1:1460502afed68e95d5aa131e7b64eed9d57288f1 pristine_git_object: 54ff3d9a32e55210fdf7c0f11bdd48f191d7dee4 src/main/java/com/cvent/models/operations/async/UpdateCurrencyConversionRateResponse.java: id: 0869b5ba5733 @@ -23692,7 +23106,7 @@ trackedFiles: pristine_git_object: 1b3d9f7919f542cb0bdff28a2465e83f7b6d0d52 src/main/java/com/cvent/operations/AddSpeakerCategory.java: id: 6a3a8d3c8df1 - last_write_checksum: sha1:e1b4ae8aab85516b73aa77b2cfc8d5a604566022 + last_write_checksum: sha1:97af45067119970f839f8d7914cb48f5cc2ac63d pristine_git_object: c62c34f82521626c487d71e29edcf26d32695f3f src/main/java/com/cvent/operations/AddSpeakerDoc.java: id: bf765f697635 @@ -23724,7 +23138,7 @@ trackedFiles: pristine_git_object: 548049288f453bb8d2754112b314c54eaaab9e28 src/main/java/com/cvent/operations/AssociateAttendeeToSegment.java: id: 350ca9e53134 - last_write_checksum: sha1:46a8575e7556b18b770224aee75e8b652089c202 + last_write_checksum: sha1:fdeecf430966e9cda360ce4be956b4d70e472d27 pristine_git_object: d6c008cd78a80ed3afa61d7bda1f61dad79a8d01 src/main/java/com/cvent/operations/AssociateBoothStaff.java: id: c9d44bd37242 @@ -23752,7 +23166,7 @@ trackedFiles: pristine_git_object: f62c54eaae8efb6e8e7c101d684460b7ff6d1227 src/main/java/com/cvent/operations/CancelBulkJob.java: id: 046c8055af9e - last_write_checksum: sha1:f12d77a282eb7b9b837a6c104c84f4d9032489e5 + last_write_checksum: sha1:a5661c2ac5eebd8a0a2ac24027ebb1b9e353a08b pristine_git_object: eb4993c5d9d61f23211f892ae6488053e1fa7077 src/main/java/com/cvent/operations/CancelReservation.java: id: 92acc5461fb9 @@ -23760,7 +23174,7 @@ trackedFiles: pristine_git_object: 878f0d876f6e9b3e0541d023c11aec4cac0100a3 src/main/java/com/cvent/operations/CancelReservationRequest.java: id: 3ae3bac1e343 - last_write_checksum: sha1:c77a7f8779b84866144ece3a6e13c4b519a061f9 + last_write_checksum: sha1:5ed03629358997819f95d7b0d28ccfda7d9c9d9f pristine_git_object: 0fbed7159a72e51d212a6ec679ea818cad6a82cf src/main/java/com/cvent/operations/CopyEvent.java: id: 54ed2b262139 @@ -23772,7 +23186,7 @@ trackedFiles: pristine_git_object: e7061613274121ae5278d60ab4698f71dc898d2f src/main/java/com/cvent/operations/CreateAppointment.java: id: 42a79c72fb9e - last_write_checksum: sha1:08f31b990ef30c0dfd55379d2b8f7a306f62e0a0 + last_write_checksum: sha1:3a0fdb65fcf917f430143dfd46ee1ab37766aa86 pristine_git_object: 46645ee1b1f364c2d201b5ff43a7bf07e023e7a5 src/main/java/com/cvent/operations/CreateAttendee.java: id: f299505bc112 @@ -23788,7 +23202,7 @@ trackedFiles: pristine_git_object: 885a3bf79e973f515a1dbd803794c14358b1b5e2 src/main/java/com/cvent/operations/CreateAudienceSegment.java: id: a311051da7dd - last_write_checksum: sha1:06a4ad8c653fd96ba197deba613944aba6b21b13 + last_write_checksum: sha1:38f23489dcfd2b4e461e891c310988769f58413c pristine_git_object: 903f0f8c40131d8b80353f69e3673925e8a298ce src/main/java/com/cvent/operations/CreateBadgePrintJob.java: id: 3744615dd3ad @@ -23800,7 +23214,7 @@ trackedFiles: pristine_git_object: e1a330422303fb6d507cdc02282bcd23d9640056 src/main/java/com/cvent/operations/CreateBulkJob.java: id: 9642bdcb8736 - last_write_checksum: sha1:2a0ef2618c6c2d8274c689b506c78255b22bf44d + last_write_checksum: sha1:18104567c0f3bfb02a076924c94fe8c4f8511594 pristine_git_object: e3e3ed04ec4d5b4dfcb076bb13476254a6bd0610 src/main/java/com/cvent/operations/CreateCardTokens.java: id: 69dcb378f484 @@ -23828,7 +23242,7 @@ trackedFiles: pristine_git_object: 4186f12a7bb38e7b920ea69ed13e6e2555115535 src/main/java/com/cvent/operations/CreateContacts.java: id: 476071d40b3e - last_write_checksum: sha1:8b65e30f8572bdbdd27e52294407f68610748f94 + last_write_checksum: sha1:b9f874ea6a0c5196bd4bfd5779cd2d1d76fc6a72 pristine_git_object: 2f21ab404695c536f307451108d3d1b917e6ad06 src/main/java/com/cvent/operations/CreateCurrencyConversionRate.java: id: 92cee722b6ac @@ -23868,7 +23282,7 @@ trackedFiles: pristine_git_object: b7b7c64f6cd533652ab91ab5a838b68e1120fc45 src/main/java/com/cvent/operations/CreateExhibitorWeblink.java: id: 5fbc698a1b45 - last_write_checksum: sha1:94a8f545033decac7597bed73d992b4fb1edfbc2 + last_write_checksum: sha1:df71b8a4b6c0e0ae4dccda69af821ef2b90d51b6 pristine_git_object: cedbfff70e181ca2d661b18d1b6076089a22c164 src/main/java/com/cvent/operations/CreateExternalAttendeeActivityMetadata.java: id: e1827cbcf62f @@ -23912,7 +23326,7 @@ trackedFiles: pristine_git_object: aa87645df88d3044c7fa7bff2687366f2bf51cc9 src/main/java/com/cvent/operations/CreateSessionProgramSpeaker.java: id: ee3d8088d024 - last_write_checksum: sha1:64443f2824cd7ffeefcd562895fbef1118a759bd + last_write_checksum: sha1:7c6ce67b29df8befe77abae4f6b446a0b97e9f3f pristine_git_object: fc22cac1afd31430f64157ffca6a1a8b23361fd5 src/main/java/com/cvent/operations/CreateSpeaker.java: id: f041d47f9011 @@ -23932,7 +23346,7 @@ trackedFiles: pristine_git_object: 4fccfc09479abbdc6d8793e6754765de85436e60 src/main/java/com/cvent/operations/CreateUser.java: id: cdcc335c4d47 - last_write_checksum: sha1:c39d33740eab13083a008e9ff4baf9ca4ab1e0d7 + last_write_checksum: sha1:45e07f0d771f60c3b929467f5d7c9df1f4c13d5a pristine_git_object: a8401a03536193a7c7eb98f79f0da7c0f472dcd4 src/main/java/com/cvent/operations/CreateWebcast.java: id: cfc8ae27bb1b @@ -24032,7 +23446,7 @@ trackedFiles: pristine_git_object: eb8aff10faa4e88c76130a4202916d3a014090be src/main/java/com/cvent/operations/DeleteRegistrationPack.java: id: fa5b242d224b - last_write_checksum: sha1:3f10c27fd24b7b1a5788b33ca237204ffc50a0f9 + last_write_checksum: sha1:29a1a64d1a53ea72794cc6d1045626610087e280 pristine_git_object: 4557b1f517b1c650b17980078104fd1b20e58e63 src/main/java/com/cvent/operations/DeleteSession.java: id: b29052c6235f @@ -24068,7 +23482,7 @@ trackedFiles: pristine_git_object: f2d193e2174c777e6b70f4c233143932f5c91e02 src/main/java/com/cvent/operations/DeleteUser.java: id: fbfe0431857b - last_write_checksum: sha1:8e891f50a302524739ac13d24d9bb5d73c08bbb5 + last_write_checksum: sha1:189a7900bc3f13414a4e8092a71bd85dc6513890 pristine_git_object: c877fcb4ab596b3ca7889b9a51abc18608762a2c src/main/java/com/cvent/operations/DeleteUserFromAccountUserGroup.java: id: c514b47f3578 @@ -24148,7 +23562,7 @@ trackedFiles: pristine_git_object: 6b9f479493542161a595e793eb1b4463a2ce3768 src/main/java/com/cvent/operations/GetAttendeeById.java: id: 8265ce79be2e - last_write_checksum: sha1:38d18a080800aae0dbd5f0aca2231522456ddf1b + last_write_checksum: sha1:a6d2c9ff3682217d41602092daa1a3aebb0eaee6 pristine_git_object: d7c5ccc0ce8af2ca37e3c42d91a0a6e67457b4e8 src/main/java/com/cvent/operations/GetAttendeeCredits.java: id: 299952f67b4f @@ -24208,7 +23622,7 @@ trackedFiles: pristine_git_object: ef0c20e4c9131f8e7068b14a2eed638b55f6b2ae src/main/java/com/cvent/operations/GetBulkJobById.java: id: 2d277f33340c - last_write_checksum: sha1:8176a67dcd133516c1f9b30a2245e920757e7146 + last_write_checksum: sha1:db34d564cb18fd5bd707701fa9eef9cd9060cacd pristine_git_object: b2bf99669994e5c3d9df083cc704c5b4f4d7ba1f src/main/java/com/cvent/operations/GetCampaigns.java: id: 3b0876967403 @@ -24458,7 +23872,7 @@ trackedFiles: pristine_git_object: 365eccd354348fc73bb97988ce38da5acdc6b468 src/main/java/com/cvent/operations/GetMRFById.java: id: 32f82aa5af81 - last_write_checksum: sha1:ea47b0aeb8e0ada7b552ff183cc47161c64686fa + last_write_checksum: sha1:5a4dcfc275638818c8791ae37be212a17a6838af pristine_git_object: d6572f745e20d2cfff73d1c79b0f3a86c01831f1 src/main/java/com/cvent/operations/GetMeetingInterestById.java: id: b9daecf09c65 @@ -24512,11 +23926,11 @@ trackedFiles: pristine_git_object: d8e07c1d5a79c99cd82f18cb129645404bd3622e src/main/java/com/cvent/operations/GetResourceType.java: id: 5c98363bc64d - last_write_checksum: sha1:3a32bc7f8767dc61e6ba28bdd04a29c77b435b36 + last_write_checksum: sha1:f0e88846bfc42e4c594f5f8f98ad2731ffc315ea pristine_git_object: f527d9b88758644bc5773299946fb75a700cadca src/main/java/com/cvent/operations/GetResourceTypes.java: id: b8d5ddbb4ecc - last_write_checksum: sha1:5a45466ef21aff83c80952feafdfe4017c3c1698 + last_write_checksum: sha1:9470f5371d5912175c81ce6e527c52b3bd330f32 pristine_git_object: b76611c6bb6b57ce59f9f80bd30fd21b89d067a9 src/main/java/com/cvent/operations/GetRespondents.java: id: 45ffb26515fa @@ -24544,11 +23958,11 @@ trackedFiles: pristine_git_object: e01d531b192bf344870e4391e01ddbf7ffeaaa8d src/main/java/com/cvent/operations/GetSchema.java: id: ae6da26d9e26 - last_write_checksum: sha1:b5ee8a90e5dc28c91e48d242d70f2f694bd3ea6c + last_write_checksum: sha1:57a2c9afe368a2ca231a8ea91362e47bd346accc pristine_git_object: b5b4a06b2105640aa44f1645b47277dc346353b7 src/main/java/com/cvent/operations/GetSchemas.java: id: 31c0fc716578 - last_write_checksum: sha1:bdd2787bda06c34f52f3838d416f4b1438ee5898 + last_write_checksum: sha1:ce827c25f3efabf3b91df7734c27fa62e846fb37 pristine_git_object: 37c27c13ce7d1238b91405138d0f289006ddb7c7 src/main/java/com/cvent/operations/GetScores.java: id: aba25aff0866 @@ -24564,7 +23978,7 @@ trackedFiles: pristine_git_object: 0465d8ee644b2150ee989e1c6935fef53b7d8a6d src/main/java/com/cvent/operations/GetServiceProviderConfig.java: id: a52ebf7a1e59 - last_write_checksum: sha1:efea84b1f419f1e6fa739f27d91ce86f44a460fd + last_write_checksum: sha1:db5ee38f49ddfd5faec638a0b2f8c2bfc6c478d3 pristine_git_object: 1b491e015758d55b19e0cd234140e9c6c819e3a3 src/main/java/com/cvent/operations/GetSessionById.java: id: f732c34fca75 @@ -24656,15 +24070,15 @@ trackedFiles: pristine_git_object: dd3640d50c6aa7835231e3d0aef577fb254405d4 src/main/java/com/cvent/operations/GetTravelAccount.java: id: b12b3e6b3e0c - last_write_checksum: sha1:035fe6cca7637178a01e4e5d3b2184f204df7352 + last_write_checksum: sha1:1615f56bad15c54114b3df4a3adfda5d2e68a3cf pristine_git_object: 669b77ef6bdc9dc7a1f348800b8a7a9391b3c338 src/main/java/com/cvent/operations/GetTravelProgram.java: id: 21f2d063e45b - last_write_checksum: sha1:d807b1a25ea964f74ee3cefef289f99df30bec97 + last_write_checksum: sha1:a51d2a7547fafac5dbdf2f2ef86e7a88db1498f2 pristine_git_object: 65877c003b5406b18ca67decdc1611bf59186177 src/main/java/com/cvent/operations/GetTravelProgramQuestion.java: id: db01f42a8680 - last_write_checksum: sha1:d4cd92aaab39d3e45108435509e6849682bb1247 + last_write_checksum: sha1:d2be031cc5517283c28c4cb107792453f8218a8b pristine_git_object: 038ba6fc2d5319c7b3d6d6b3ed479e8e3e26473b src/main/java/com/cvent/operations/GetTravelProposal.java: id: a049b7feaa0b @@ -24672,7 +24086,7 @@ trackedFiles: pristine_git_object: 1fd78e6ad6237518f19ebfc8130e245e75e0e6ed src/main/java/com/cvent/operations/GetTravelProposalBid.java: id: 6ead32c4eae8 - last_write_checksum: sha1:054e4827917a0f6db49c9e5d028eaed6ffeec9f8 + last_write_checksum: sha1:268edc12bf1586901a54e8e1482766feffaaa57c pristine_git_object: bdcf365c871e1cde72ddb6017f1465542d4a7a39 src/main/java/com/cvent/operations/GetUsage.java: id: d56ced426a05 @@ -24684,11 +24098,11 @@ trackedFiles: pristine_git_object: 83edf3bece97e4bbb3e8cd18a7ac85224183a4a9 src/main/java/com/cvent/operations/GetUser.java: id: ac3638999268 - last_write_checksum: sha1:d6981ad58448003ddc1963a2efc7e56e05299459 + last_write_checksum: sha1:25bc31146847b396e9686b5446911dcfd85c4213 pristine_git_object: 4338b251df5316a859945907653723fefbb0258c src/main/java/com/cvent/operations/GetUserGroups.java: id: 642c9ddeba82 - last_write_checksum: sha1:a6c31500b4e5a4d31903be2821ef173078c7c4fa + last_write_checksum: sha1:d0141e103b5ab90b1f8af69aed3974ae1410e1bd pristine_git_object: f94d9973b34828b8f374a36636562d1b61bf87da src/main/java/com/cvent/operations/GetVideoViews.java: id: 5d3717682ffb @@ -24784,7 +24198,7 @@ trackedFiles: pristine_git_object: 75b1db7e3fe93c34b68af87ee10bb44025a164ea src/main/java/com/cvent/operations/ListBulkJobResult.java: id: d03c62c55dc0 - last_write_checksum: sha1:8fa422df36915e9b9cd5bda304ccd5f984be5c7b + last_write_checksum: sha1:0771a31226e4d952cfa11724def3ad30dc7cc931 pristine_git_object: 3fd6ea3b82874ff7239f0ab30f161ab58e980238 src/main/java/com/cvent/operations/ListContactGroups.java: id: 2d37b0f5fdc5 @@ -24842,6 +24256,12 @@ trackedFiles: id: 0a5984a2651c last_write_checksum: sha1:61e2b90cf0001604115519d3bcc7636222c03b1b pristine_git_object: 0c8f5ba611421236899969f83ec042446c8162b2 + src/main/java/com/cvent/operations/ListEventVoucherAttendees.java: + last_write_checksum: sha1:6399cdeff6dd9757bd9f485eda86bc8c0b6983dc + src/main/java/com/cvent/operations/ListEventVouchers.java: + last_write_checksum: sha1:ac65a705f646d771648c2e5e2b5ca96e99a92840 + src/main/java/com/cvent/operations/ListEventVouchersPostFilter.java: + last_write_checksum: sha1:9470c94fcd8e5fe1f7ae2ce71515a5874d258422 src/main/java/com/cvent/operations/ListEventWeblinks.java: id: 2aac25ff98ee last_write_checksum: sha1:f4c4364154a292002ce5f0f11791c1ae065d2e1f @@ -25030,19 +24450,19 @@ trackedFiles: last_write_checksum: sha1:7bd42e7a30507b2db7e31ff4c3c86231849eb3ca src/main/java/com/cvent/operations/ListTravelAccounts.java: id: d91206de9adc - last_write_checksum: sha1:c2f552a1b4e6bff7824fafa173e0332f8d9f40a4 + last_write_checksum: sha1:a07858e994472f336770c399091b792cb4bc76df pristine_git_object: 86523b0ae9a8c341377cbcc4429f30b53c32e71c src/main/java/com/cvent/operations/ListTravelProgramQuestions.java: id: 2d2e3f849bf4 - last_write_checksum: sha1:b946297bbd8ef980425b1b1ae4b2ad0750926908 + last_write_checksum: sha1:b8b33cdf8f6863b2e0a36dff3ac4b2072b8f7665 pristine_git_object: c9808dc670585e379dae6c258963832c17a13b96 src/main/java/com/cvent/operations/ListTravelPrograms.java: id: 3b90d93773a9 - last_write_checksum: sha1:10d0fe7b33c8055569ad598bd198d4843020a081 + last_write_checksum: sha1:3c5f6fb9c5ae2d25529f4949d203a6f4fb9d0346 pristine_git_object: 71a3b21c15e85c83a95d6a56a420ba8134956b2d src/main/java/com/cvent/operations/ListTravelProgramsQuestions.java: id: 3ffde30a5e17 - last_write_checksum: sha1:28701300101f1ba58a3358c06839bac7eb9c4823 + last_write_checksum: sha1:97ad539cf7e008d05a9c74b605c9335aa1eb1f08 pristine_git_object: d11d5c0d5782f2123d7a170e6e297d7b74ec7a34 src/main/java/com/cvent/operations/ListTravelProposalBids.java: id: 87e430a92da6 @@ -25054,7 +24474,7 @@ trackedFiles: pristine_git_object: bf484bab257e5749171a09dbb61e49731e473844 src/main/java/com/cvent/operations/ListUsers.java: id: 2fa915b80d05 - last_write_checksum: sha1:748053b2571eac85c6ad820cdd8bfbc28751ec97 + last_write_checksum: sha1:f2129d711dc849df0a5219f1d2f578adb10692fa pristine_git_object: a0e2c6e45b2d1416466025e55f166a76b1f27466 src/main/java/com/cvent/operations/ListVideoRenditions.java: id: a8b1fc5c3203 @@ -25102,7 +24522,7 @@ trackedFiles: pristine_git_object: 9fb67d0592929387232f4b88bd2125bd3c6ecce8 src/main/java/com/cvent/operations/PatchContacts.java: id: fb82af4da6b3 - last_write_checksum: sha1:f3a7fe75b828bed94ae595a516998dc095a712dd + last_write_checksum: sha1:31e4ca4f059c470644ccc8689b344b6a3b73ceae pristine_git_object: 06a35bcd4caadf5288015c782b28ef2e51583bc4 src/main/java/com/cvent/operations/PostBadge.java: id: 213c7761518f @@ -25114,7 +24534,7 @@ trackedFiles: pristine_git_object: f775448944a44b77e260d2d811a6f03651c7d8ad src/main/java/com/cvent/operations/PostRegistrationPack.java: id: c3ab7e113786 - last_write_checksum: sha1:ca9640927056ce57759ba70838c44f20030443d4 + last_write_checksum: sha1:4ed797b4128b02f8b99695fbbca353bb14c37d59 pristine_git_object: 9427b1934289eee305efde3eaca3f436d7799e5b src/main/java/com/cvent/operations/PostTransactions.java: id: c8ae33737f63 @@ -25150,7 +24570,7 @@ trackedFiles: pristine_git_object: 3465718da8e56b45a9ff68e740277a7007099880 src/main/java/com/cvent/operations/RelateProgramItemToSessionDocument.java: id: 97162afb86da - last_write_checksum: sha1:7df65cd80106aa36ad1aed78290052c35bde69b9 + last_write_checksum: sha1:3a12e52b139db4ff35188e2539e34fc09cc65484 pristine_git_object: dc093fd922c81a01caa2ff0aa2fd6e65e90b9ff8 src/main/java/com/cvent/operations/RemoveContactFromContactGroup.java: id: f10a4d1f98a5 @@ -25166,7 +24586,7 @@ trackedFiles: pristine_git_object: ae7a8532ecbe8ab99bd0e6214efd86bab41c3273 src/main/java/com/cvent/operations/RunBulkJob.java: id: 1a278f276dde - last_write_checksum: sha1:d9b742a68299e8658ec51024a793904159b243f3 + last_write_checksum: sha1:682b6d62e76cf1701d6b970b144814216fb1730c pristine_git_object: 49cb1999f3841a7a704589d81e04e894ca29ee83 src/main/java/com/cvent/operations/SendEMarketingEmails.java: id: 0101942bffd5 @@ -25198,11 +24618,11 @@ trackedFiles: pristine_git_object: 6dc9f6406009e0c38a9f7dfeab4752ede47c40a0 src/main/java/com/cvent/operations/UpdateAppointment.java: id: 76f35693671c - last_write_checksum: sha1:341612785c53f0565aa33634f06a0e1db671d497 + last_write_checksum: sha1:886cb01b7e0df49c56b2cd721a8f0c12e309574f pristine_git_object: bb42c08b50dbdefa67ec476b3d1e6e5551d54392 src/main/java/com/cvent/operations/UpdateAttendee.java: id: fd568a0b7bae - last_write_checksum: sha1:2b7d046d62333da000787c90f885bd849fa15076 + last_write_checksum: sha1:7f3d93f5bc984fc7bb277423120fc6dbd1595201 pristine_git_object: 9acfef628dc0a16ac37e8f5c8a5de56c49f90481 src/main/java/com/cvent/operations/UpdateAttendeeLinks.java: id: 8b9f02c7ee69 @@ -25212,7 +24632,7 @@ trackedFiles: last_write_checksum: sha1:3edde81c7de3cee12d2dea2c9e3d2abfc0b9580f src/main/java/com/cvent/operations/UpdateAudienceSegment.java: id: 362b62b077d3 - last_write_checksum: sha1:e78ade8cd9e2d80a6de81aabf7eeae199b91a6b9 + last_write_checksum: sha1:70f177b55ac19e58bdc2acf99344ebcbe7c03cf4 pristine_git_object: a57b52081cc5d46b48c6742dab019058b833d137 src/main/java/com/cvent/operations/UpdateBadge.java: id: c818f06ce74c @@ -25252,7 +24672,7 @@ trackedFiles: pristine_git_object: 8b419af1362226e7b8d0019fe58e365eb5af33ec src/main/java/com/cvent/operations/UpdateContacts.java: id: d3583d68e576 - last_write_checksum: sha1:49017f7f54dc571ea6553e9c463aa3c3a30e6e11 + last_write_checksum: sha1:1eef59d4d75b7c3ef9c10604315c74e18a41fbf4 pristine_git_object: 34bb2439a0451f5945b79aeb7fa8372b2db2735a src/main/java/com/cvent/operations/UpdateCurrencyConversionRate.java: id: b35de814fc07 @@ -25312,7 +24732,7 @@ trackedFiles: pristine_git_object: c464f49d1c3e546576e1d3aa8a935472f20245f5 src/main/java/com/cvent/operations/UpdateExhibitorFile.java: id: 1099de97def2 - last_write_checksum: sha1:01f69f2c71129b7d07bec47c70fa7d3b8fc7b0a0 + last_write_checksum: sha1:9d8849c99893e77b794bd8ab705d08e61513ecc7 pristine_git_object: bb9712dd8a670f7488940042dadeb9e7a524872a src/main/java/com/cvent/operations/UpdateExhibitorLogo.java: id: 666e45a637fe @@ -25320,7 +24740,7 @@ trackedFiles: pristine_git_object: 00f497a143f9d09f8557485127e1628a46815f6a src/main/java/com/cvent/operations/UpdateExhibitorWeblink.java: id: 9e19bfd00ae4 - last_write_checksum: sha1:f1f13cd4ef807e1a2e7099161613a6a47f12b624 + last_write_checksum: sha1:74d73857d52a7e583599a6bddea92cdbd92352b1 pristine_git_object: 128f0ba2ceb4618394b8896b224f470b4ee787d4 src/main/java/com/cvent/operations/UpdateExternalAttendeeActivityMetadata.java: id: 8a2ac1f34610 @@ -25360,7 +24780,7 @@ trackedFiles: pristine_git_object: 2d1f36e1cf4d16a162e5385aab09aacd5f2bb711 src/main/java/com/cvent/operations/UpdateReservationRequest.java: id: 7de9d63c7db9 - last_write_checksum: sha1:598cc9529aeb5f0c5b1ed66ca72a2600153ea3e7 + last_write_checksum: sha1:f2ee618d1af2db58c1b957d1d21e8a6e15e6d828 pristine_git_object: de881d85f3e5ac5e15e1cc77471fe51be632d119 src/main/java/com/cvent/operations/UpdateReservationSync.java: id: 0d7b0de298c3 @@ -25396,7 +24816,7 @@ trackedFiles: pristine_git_object: bae74c35c4b713c1c50295b289cf82c600ea7566 src/main/java/com/cvent/operations/UpdateUser.java: id: e4341afd373a - last_write_checksum: sha1:264287cd790305393602946bab89a1aa1a9da6a7 + last_write_checksum: sha1:f3ef4f778730b76dc17524fd4a8ea22ca2c45398 pristine_git_object: aee46a839ea9098a2e95de42e7ea8481c18872cd src/main/java/com/cvent/operations/UpdateWebcast.java: id: 1cd44d62be66 @@ -25404,7 +24824,7 @@ trackedFiles: pristine_git_object: 511686edf854754688a8063f6b5714ab863c60e1 src/main/java/com/cvent/operations/UploadBulkJobData.java: id: 9a53f6fe2cf6 - last_write_checksum: sha1:61baebb3fce5f38437e4f297b2b03681373be155 + last_write_checksum: sha1:e2fb9bc3b61f652a5b6b5001b1948d2c6edd16d3 pristine_git_object: 4b56a7e45011380df8ee4e2167efed89ddb68e61 src/main/java/com/cvent/operations/UploadFile.java: id: 056fc4636ca2 @@ -26473,6 +25893,8 @@ examples: application/json: {"id": "0046e875-79a5-4851-8332-da105d58088a", "code": "APPT-0001", "name": "Meeting with Cvent", "description": "Discuss about marketing.", "start": "2019-04-12T15:20:00.000Z", "end": "2019-04-12T15:30:00.000Z", "status": "CONFIRMED", "location": {"name": "Hynes Convention Center"}, "type": {"name": "Customer Meeting"}, "created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "appointmentEvent": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"}, "participants": [{"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "attendee": {"id": "dd1057b9-a957-4c22-be88-741a29d01471/97f2ca58-0f9e-401f-a6b5-a6f20d3a9568", "contact": {"id": "97f2ca58-0f9e-401f-a6b5-a6f20d3a9568"}}, "type": "Attendee", "response": "CONFIRMED", "participation": {"participated": true}, "questionViewer": false, "privateNoteViewer": false, "deleted": false, "status": "confirmed"}], "autoAcceptAttendees": false, "enforceScheduleRules": false, "deleted": false, "questions": [{"id": "a5c42275-5ffa-4a43-94d3-b2516279122e", "name": "What is a your favorite color?", "type": "General", "value": ["Choice C", "Choice A"], "order": 1}]} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + "422": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} updateAppointment: speakeasy-default-update-appointment: parameters: @@ -26488,6 +25910,8 @@ examples: application/json: {"id": "0046e875-79a5-4851-8332-da105d58088a", "code": "APPT-0001", "name": "Meeting with Cvent", "description": "Discuss about marketing.", "start": "2019-04-12T15:20:00.000Z", "end": "2019-04-12T15:30:00.000Z", "status": "CONFIRMED", "location": {"name": "Hynes Convention Center"}, "type": {"name": "Customer Meeting"}, "created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "appointmentEvent": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3"}, "participants": [{"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "attendee": {"id": "dd1057b9-a957-4c22-be88-741a29d01471/97f2ca58-0f9e-401f-a6b5-a6f20d3a9568", "contact": {"id": "97f2ca58-0f9e-401f-a6b5-a6f20d3a9568"}}, "type": "Attendee", "response": "CONFIRMED", "participation": {"participated": true}, "questionViewer": false, "privateNoteViewer": false, "deleted": false, "status": "confirmed"}], "autoAcceptAttendees": false, "enforceScheduleRules": false, "deleted": false, "questions": [{"id": "8e981c48-effb-43fb-b544-9ef8f322c2af", "name": "What is a your favorite color?", "type": "General", "value": ["Choice C", "Choice A"], "order": 1}]} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + "422": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} cancelAppointment: speakeasy-default-cancel-appointment: parameters: @@ -26858,6 +26282,8 @@ examples: application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}], "validationCode": "SEGMENTS_PER_EVENT_LIMIT_REACHED"} + "422": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} listAudienceSegments: speakeasy-default-list-audience-segments: parameters: @@ -26911,6 +26337,8 @@ examples: application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "event": {"id": "103097a4-143d-11e5-9f99-d0a637ee0032"}, "name": "VIP Attendees", "description": "A group of VIP attendees.", "id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", "creationType": "MANUAL", "deleted": true} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + "422": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} deleteAudienceSegment: speakeasy-default-delete-audience-segment: parameters: @@ -26947,6 +26375,8 @@ examples: application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}], "validationCode": "SEGMENTS_PER_EVENT_LIMIT_REACHED"} + "422": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} disassociateAttendeeFromAudienceSegment: speakeasy-default-disassociate-attendee-from-audience-segment: parameters: @@ -27598,6 +27028,8 @@ examples: application/json: {"sourceId": "Ext ack number", "attendeeTypeCode": "MVFBES0320484", "confirmationNumber": "327PP24H", "locale": "es-DO", "housingEvent": {"id": 69121314}, "attendeeType": {"id": 34549966}, "roomType": {"id": 11549984}, "hotel": {"id": 49543342}, "sendAcknowledgement": true, "splitFolio": false, "redirectURL": "https://cvent.com", "guests": [{"arrival": "2020-03-05", "departure": "2020-03-07", "firstName": "Gustav", "lastName": "Schultz", "middleName": "Al", "title": "Dr.", "position": "manager", "company": "Test Inc", "homeFax": "9785674321", "email": "guest@cvent.com", "homePhone": "(231)-213-1222", "workPhone": "(231)-213-1222", "homeAddress": {"address1": "West St. 1", "address2": "Apt. 16", "city": "Austin", "region": "Texas", "regionCode": "TX", "postalCode": "23452AB", "country": "United States of America", "countryCode": "US"}, "paymentInfo": {"fullName": "Gustav Schultz", "address": {"address1": "West St. 1", "address2": "Apt. 16", "city": "Austin", "region": "Texas", "regionCode": "TX", "postalCode": "23452AB", "country": "United States of America", "countryCode": "US"}, "phone": "(231)213-1222", "other": {"amount": 0, "paymentDate": "2021-12-31", "referenceItem": "Reference Item", "checkNumber": "Check Num", "received": false, "note": "No Comment"}}}], "customFields": {"customField1": "CustomField1", "customField2": "CustomField2", "customField3": "CustomField3", "customField4": "CustomField4", "customField5": "CustomField5", "customField6": "CustomField6"}, "accessible": false, "specialRequest": "Double bed", "rewardProgram": {"id": 10000, "name": "Test name"}, "membershipId": "1154example", "travelDetails": {"arrival": {"time": "2024-12-01T00:00:00Z", "carrier": "JBU", "carrierNumber": "12345"}, "departure": {"time": "2024-12-01T00:00:00Z", "carrier": "JBU", "carrierNumber": "12345"}, "additionalInformation": "Additional Information"}, "id": "D6A63423-G796", "status": "Cancel", "bookingSite": {"href": "https://book.passkey.com/entry?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXlsb2FkIjp7ImVudHJ5IjoiUkVHSVNUUkFUSU9OIiwicGFyYW1zIjpbeyJuYW1lIjoiYnJpZGdlSWQiLCJ2YWx1ZSI6IlQ3VFdNTEhQLUdFNEQifV19fQ.7sH1gO_1Aambk-SRRlO2c7ac2DOpqLmCB-zsxB71q_A"}, "callCenter": {"href": "https://manage.passkey.com/Login?src=api&redirect=ccbridge®acknumber=WODS7LK4-GA8C"}} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + "401": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} cancelReservationRequest: speakeasy-default-cancel-reservation-request: parameters: @@ -27606,6 +27038,8 @@ examples: responses: "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + "401": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} linkReservation: speakeasy-default-link-reservation: parameters: @@ -28993,6 +28427,8 @@ examples: application/json: {"id": "50f4f0df-0c2d-4e6b-8e68-e1413b6917f5", "event": {"id": "3db28cfc-db22-11eb-8d19-0242ac130003"}, "exhibitor": {"id": "4888db54-db22-11eb-8d19-0242ac130003"}, "capacities": []} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + "409": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} getExhibitorRegistrationPacks: speakeasy-default-get-exhibitor-registration-packs: parameters: @@ -29040,6 +28476,8 @@ examples: responses: "401": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + "409": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} getSponsorshipLevels: speakeasy-default-get-sponsorship-levels: parameters: @@ -29200,6 +28638,8 @@ examples: application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "event": {"id": "3db28cfc-db22-11eb-8d19-0242ac130003"}, "exhibitor": {"id": "4888db54-db22-11eb-8d19-0242ac130003"}, "displayName": "Marketing Page", "hidden": false, "order": 3, "id": "3d44b9e4-8c1a-403d-a20a-0b981f539935"} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + "422": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} disassociateExhibitorFile: speakeasy-default-disassociate-exhibitor-file: parameters: @@ -29234,6 +28674,8 @@ examples: application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "event": {"id": "3db28cfc-db22-11eb-8d19-0242ac130003"}, "exhibitor": {"id": "4888db54-db22-11eb-8d19-0242ac130003"}, "name": "Marketing Page", "url": "http://www.example.com", "hidden": false, "order": 3, "id": "4d44b9e4-8c1a-403d-a20a-0b981f539935"} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + "422": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} getExhibitorWeblink: speakeasy-default-get-exhibitor-weblink: parameters: @@ -29260,6 +28702,8 @@ examples: application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "event": {"id": "3db28cfc-db22-11eb-8d19-0242ac130003"}, "exhibitor": {"id": "4888db54-db22-11eb-8d19-0242ac130003"}, "name": "Marketing Page", "url": "http://www.example.com", "hidden": false, "order": 3, "id": "4d44b9e4-8c1a-403d-a20a-0b981f539935"} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + "422": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} deleteExhibitorWeblink: speakeasy-default-delete-exhibitor-weblink: parameters: @@ -29353,6 +28797,8 @@ examples: application/json: {"id": "9c97eb50-9f88-4972-a603-f617fc3258dd", "name": "Request for Medical Meetups", "statuses": ["Declined"], "active": true, "questions": [{"id": "d43ebfad-493f-486e-b43f-feaafac19378", "name": "What is a your favorite color?", "value": ["Choice C", "Choice A"], "order": 1, "type": "General", "hidden": false, "required": true, "minLength": 0, "maxLength": 100, "minChoice": 0, "maxChoice": 10, "minDate": "1970-12-23", "maxDate": "2100-12-31"}]} "401": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + "422": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} createMeetingRequest: speakeasy-default-create-meeting-request: parameters: @@ -29652,6 +29098,8 @@ examples: application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "id": "38db6ae2-0dc3-487b-953e-86d6abbdf7d3", "event": {"id": "78842378-5d83-11ee-8c99-0242ac120002"}, "session": {"id": "78842aee-5d83-11ee-8c99-0242ac120002"}, "document": {}, "programItem": {"id": "788426ac-5d83-11ee-8c99-0242ac120002"}} "401": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + "409": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} getProgramItemSessionDocument: speakeasy-default-get-program-item-session-document: parameters: @@ -30051,6 +29499,8 @@ examples: application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "id": "38db6ae2-0dc3-487b-953e-86d6abbdf7d3", "event": {"id": "2ef03846-fced-4ce3-a077-d64ca891a4b1"}, "session": {"id": "832cb481-74c5-4859-ba21-bbb5be8b86e0"}, "speaker": {"id": "6077a9f1-a230-40cd-9e32-b493a84aaa80"}, "programItem": {"id": "221984b2-9e3e-4c1c-8ef4-306b1b75fa3e"}} "401": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + "409": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} getSessionProgramSpeaker: speakeasy-default-get-session-program-speaker: parameters: @@ -31133,6 +30583,55 @@ examples: 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", "id": "00fe81ea-70e7-4b18-bff5-43167c5720c0", "name": "Sales Tax", "active": false, "code": "TAX-001", "calculateBy": "PERCENTAGE", "percentage": 8.25, "amount": 5, "taxSchedule": {"id": "5e8df6b2-af0f-4c6f-86f9-e10a0dcb2034", "name": "New York State Tax Schedule", "defaultRate": 8.875}, "generalLedgerCode": {"id": "04ca6ae2-0dc3-487b-953e-86d6abbdf7d5", "name": "General Ledger", "code": "General Ledger Code", "allocation": 100}}]} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + listEventVouchers: + speakeasy-default-list-event-vouchers: + parameters: + path: + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3" + query: + limit: 100 + token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a" + before: "2017-01-02T02:00:00Z" + after: "2017-01-02T02:00:00Z" + sort: "code:ASC" + filter: "id in ('1800c9bd-b5f4-438a-a92c-ea1f59553a5c', '2900d8ce-c6f5-449b-b03d-fb2f60664b6d')" + 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": "1800c9bd-b5f4-438a-a92c-ea1f59553a5c", "code": "VIP-100", "description": "VIP full-comp voucher for keynote attendees.", "alertEmailAddress": "planner@example.com", "capacity": {"total": 100, "redeemedCount": 42}, "lastModifiedBy": "planner@example.com", "lastModifiedDate": "2026-04-08T02:05:12.000Z"}]} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + listEventVouchersPostFilter: + speakeasy-default-list-event-vouchers-post-filter: + parameters: + path: + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3" + query: + limit: 100 + token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a" + before: "2017-01-02T02:00:00Z" + after: "2017-01-02T02:00:00Z" + sort: "code:ASC" + requestBody: + application/json: {"filter": "property eq 'value'"} + 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": []} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + listEventVoucherAttendees: + speakeasy-default-list-event-voucher-attendees: + parameters: + path: + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3" + voucherId: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3" + 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": "5b0e8d1f-8fd6-4ebe-977a-602b4a1f9c43"}]} + "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" @@ -31521,3 +31020,6 @@ generatedTests: listAttendeeAudienceSegments: "2026-05-21T12:05:01-06:00" listAssociatedAudienceSegments: "2026-05-21T12:05:01-06:00" listTaxes: "2026-06-05T14:41:18-04:00" + listEventVouchers: "2026-06-24T15:39:39-04:00" + listEventVouchersPostFilter: "2026-06-24T15:39:39-04:00" + listEventVoucherAttendees: "2026-06-24T15:39:39-04:00" diff --git a/packages/java/.speakeasy/gen.yaml b/packages/java/.speakeasy/gen.yaml index 74750fa70..41f833862 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.4.0 + version: 1.5.0 additionalDependencies: [] additionalPlugins: [] artifactID: sdk diff --git a/packages/java/.speakeasy/tests.arazzo.yaml b/packages/java/.speakeasy/tests.arazzo.yaml index 23d95203d..a3e206bb9 100644 --- a/packages/java/.speakeasy/tests.arazzo.yaml +++ b/packages/java/.speakeasy/tests.arazzo.yaml @@ -10719,3 +10719,100 @@ workflows: type: simple x-speakeasy-test-group: Events x-speakeasy-test-rebuild: true + - workflowId: listEventVouchers + steps: + - stepId: test + operationId: listEventVouchers + parameters: + - name: id + in: path + value: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 + - name: limit + in: query + value: 100 + - name: token + in: query + value: 0e28af57-511f-47ab-ae46-46cd1ca51a1a + - name: before + in: query + value: "2017-01-02T02:00:00Z" + - name: after + in: query + value: "2017-01-02T02:00:00Z" + - name: sort + in: query + value: code:ASC + - name: filter + in: query + value: id in ('1800c9bd-b5f4-438a-a92c-ea1f59553a5c', '2900d8ce-c6f5-449b-b03d-fb2f60664b6d') + 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":"1800c9bd-b5f4-438a-a92c-ea1f59553a5c","code":"VIP-100","description":"VIP full-comp voucher for keynote attendees.","alertEmailAddress":"planner@example.com","capacity":{"total":100,"redeemedCount":42},"lastModifiedBy":"planner@example.com","lastModifiedDate":"2026-04-08T02:05:12.000Z"}]} + type: simple + x-speakeasy-test-group: Events + x-speakeasy-test-rebuild: true + - workflowId: listEventVouchersPostFilter + steps: + - stepId: test + operationId: listEventVouchersPostFilter + parameters: + - name: id + in: path + value: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 + - name: limit + in: query + value: 100 + - name: token + in: query + value: 0e28af57-511f-47ab-ae46-46cd1ca51a1a + - name: before + in: query + value: "2017-01-02T02:00:00Z" + - name: after + in: query + value: "2017-01-02T02:00:00Z" + - name: sort + in: query + value: code:ASC + requestBody: + contentType: application/json + payload: + filter: property eq 'value' + 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":[]} + type: simple + x-speakeasy-test-group: Events + x-speakeasy-test-rebuild: true + - workflowId: listEventVoucherAttendees + steps: + - stepId: test + operationId: listEventVoucherAttendees + parameters: + - name: id + in: path + value: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 + - name: voucherId + in: path + value: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 + - 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":"5b0e8d1f-8fd6-4ebe-977a-602b4a1f9c43"}]} + type: simple + x-speakeasy-test-group: Events + x-speakeasy-test-rebuild: true diff --git a/packages/java/README.md b/packages/java/README.md index 8ec85ba22..c177a7429 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.4.0' +implementation 'com.cvent:sdk:1.5.0' ``` Maven: @@ -52,7 +52,7 @@ Maven: com.cvent sdk - 1.4.0 + 1.5.0 ``` @@ -609,6 +609,9 @@ public class Application { * [listEventUserGroups](docs/sdks/events/README.md#listeventusergroups) - List Event User Groups * [associateEventUserGroup](docs/sdks/events/README.md#associateeventusergroup) - Associate User Group to Event * [disassociateEventUserGroup](docs/sdks/events/README.md#disassociateeventusergroup) - Disassociate Group from Event +* [listEventVouchers](docs/sdks/events/README.md#listeventvouchers) - List Event Vouchers +* [listEventVouchersPostFilter](docs/sdks/events/README.md#listeventvoucherspostfilter) - List Event Vouchers (Filter) +* [listEventVoucherAttendees](docs/sdks/events/README.md#listeventvoucherattendees) - List Voucher Attendees * [updateQuantityItemRegistrationForAttendee](docs/sdks/events/README.md#updatequantityitemregistrationforattendee) - Update Quantity Item * [listSessionsAttendance](docs/sdks/events/README.md#listsessionsattendance) - Session Attendance * [listSessionsEnrollment](docs/sdks/events/README.md#listsessionsenrollment) - List Session Registrants @@ -1294,10 +1297,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.ErrorResponseJson17`](./src/main/java/models/errors/com.cvent.models.errors.ErrorResponseJson17.java): The error response. Applicable to 11 of 445 methods.* -* [`com.cvent.models.errors.ErrorResponse2`](./src/main/java/models/errors/com.cvent.models.errors.ErrorResponse2.java): Represents an error response with additional details of cascading error messages. Applicable to 6 of 445 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 445 methods.* -* [`com.cvent.models.errors.BadRequestException`](./src/main/java/models/errors/com.cvent.models.errors.BadRequestException.java): A bad token response. Status code `400`. Applicable to 1 of 445 methods.* +* [`com.cvent.models.errors.ErrorResponse2`](./src/main/java/models/errors/com.cvent.models.errors.ErrorResponse2.java): Represents an error response with additional details of cascading error messages. Applicable to 18 of 448 methods.* +* [`com.cvent.models.errors.ErrorResponseJson12`](./src/main/java/models/errors/com.cvent.models.errors.ErrorResponseJson12.java): The error response. Applicable to 11 of 448 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 448 methods.* +* [`com.cvent.models.errors.BadRequestException`](./src/main/java/models/errors/com.cvent.models.errors.BadRequestException.java): A bad token response. Status code `400`. Applicable to 1 of 448 methods.* diff --git a/packages/java/docs/models/components/AccountBudgetItemListResponseJson.md b/packages/java/docs/models/components/AccountBudgetItemListResponseJson.md index 3dfddfdc3..eab0b404b 100644 --- a/packages/java/docs/models/components/AccountBudgetItemListResponseJson.md +++ b/packages/java/docs/models/components/AccountBudgetItemListResponseJson.md @@ -11,8 +11,8 @@ The response from a request to retrieve list of budget items across all events l | `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 | -| `event` | [Optional\](../../models/components/EventJson2.md) | :heavy_minus_sign: | Event ID Information. | | -| `rfp` | [Optional\](../../models/components/RfpIdJson1.md) | :heavy_minus_sign: | RFP ID Information. | | +| `event` | [Optional\](../../models/components/EventJson1.md) | :heavy_minus_sign: | Event ID Information. | | +| `rfp` | [Optional\](../../models/components/RfpIdJson.md) | :heavy_minus_sign: | RFP ID Information. | | | `budgetVersion` | [Optional\](../../models/components/BudgetVersionIdJson.md) | :heavy_minus_sign: | Budget Version ID Information. | | | `id` | *Optional\* | :heavy_minus_sign: | The identifier of the budget item. | 9463c74e-18c6-401a-a710-ae0f485bf959 | | `name` | *Optional\* | :heavy_minus_sign: | Name of the budget item. | Airport Transportation | diff --git a/packages/java/docs/models/components/Action.md b/packages/java/docs/models/components/Action.md new file mode 100644 index 000000000..30ceb7e07 --- /dev/null +++ b/packages/java/docs/models/components/Action.md @@ -0,0 +1,19 @@ +# Action + +Action to take for a compliance request. + +## Example Usage + +```java +import com.cvent.models.components.Action; + +Action value = Action.DO_NOT_SELL; +``` + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `DO_NOT_SELL` | DO_NOT_SELL | +| `OK_TO_SELL` | OK_TO_SELL | \ No newline at end of file diff --git a/packages/java/docs/models/components/AdditionalChoice.md b/packages/java/docs/models/components/AdditionalChoice.md index c9b987971..34c304241 100644 --- a/packages/java/docs/models/components/AdditionalChoice.md +++ b/packages/java/docs/models/components/AdditionalChoice.md @@ -1,10 +1,11 @@ # AdditionalChoice -Contains text of additional choice +Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `text` | *Optional\* | :heavy_minus_sign: | Text Value of additional choice | Not Applicable or Other | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| `text` | *Optional\* | :heavy_minus_sign: | Display text of additional choice. | Dietary Restriction - Other | +| `shortText` | *Optional\* | :heavy_minus_sign: | Name of additional choice text in reporting. | Dietary Preference - Other Allergies | \ No newline at end of file diff --git a/packages/java/docs/models/components/AdditionalChoice1.md b/packages/java/docs/models/components/AdditionalChoice1.md new file mode 100644 index 000000000..442a587ff --- /dev/null +++ b/packages/java/docs/models/components/AdditionalChoice1.md @@ -0,0 +1,10 @@ +# AdditionalChoice1 + +Contains text of additional choice + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `text` | *Optional\* | :heavy_minus_sign: | Text Value of additional choice | Not Applicable or Other | \ No newline at end of file diff --git a/packages/java/docs/models/components/AdditionalChoiceJson.md b/packages/java/docs/models/components/AdditionalChoiceJson.md new file mode 100644 index 000000000..d0f4dcd39 --- /dev/null +++ b/packages/java/docs/models/components/AdditionalChoiceJson.md @@ -0,0 +1,11 @@ +# AdditionalChoiceJson + +Contains text of additional choice i.e N/A choice or otherAnswer choice + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | +| `text` | *Optional\* | :heavy_minus_sign: | Text Value of additional choice | N/A or Other | +| `shortText` | *Optional\* | :heavy_minus_sign: | Reporting value of additional choice text | N/A or Other Reporting value | \ No newline at end of file diff --git a/packages/java/docs/models/components/AdditionalChoiceJson1.md b/packages/java/docs/models/components/AdditionalChoiceJson1.md deleted file mode 100644 index 212a98392..000000000 --- a/packages/java/docs/models/components/AdditionalChoiceJson1.md +++ /dev/null @@ -1,11 +0,0 @@ -# AdditionalChoiceJson1 - -Contains text of additional choice i.e N/A choice or otherAnswer choice - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | -| `text` | *Optional\* | :heavy_minus_sign: | Text Value of additional choice | N/A or Other | -| `shortText` | *Optional\* | :heavy_minus_sign: | Reporting value of additional choice text | N/A or Other Reporting value | \ No newline at end of file diff --git a/packages/java/docs/models/components/AdditionalChoiceJson2.md b/packages/java/docs/models/components/AdditionalChoiceJson2.md deleted file mode 100644 index 683358451..000000000 --- a/packages/java/docs/models/components/AdditionalChoiceJson2.md +++ /dev/null @@ -1,11 +0,0 @@ -# AdditionalChoiceJson2 - -Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `text` | *Optional\* | :heavy_minus_sign: | Display text of additional choice. | Dietary Restriction - Other | -| `shortText` | *Optional\* | :heavy_minus_sign: | Name of additional choice text in reporting. | Dietary Preference - Other Allergies | \ No newline at end of file diff --git a/packages/java/docs/models/components/Address.md b/packages/java/docs/models/components/Address.md new file mode 100644 index 000000000..f9969eb57 --- /dev/null +++ b/packages/java/docs/models/components/Address.md @@ -0,0 +1,18 @@ +# Address + +Contact address details. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `address1` | *Optional\* | :heavy_minus_sign: | The first line of an address. | Cvent Inc. | +| `address2` | *Optional\* | :heavy_minus_sign: | The second line of an address. | 4001 West Parmer Lane | +| `address3` | *Optional\* | :heavy_minus_sign: | The third line of an address. | PO Box 123 | +| `city` | *Optional\* | :heavy_minus_sign: | The name of the city. | Austin | +| `countryCode` | *Optional\* | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country code. | US | +| `postalCode` | *Optional\* | :heavy_minus_sign: | Postal code (also known as zipcode) of the address. | 78727 | +| `region` | *Optional\* | :heavy_minus_sign: | The name of the state/province/region of the address. | Texas | +| `regionCode` | *Optional\* | :heavy_minus_sign: | The abbreviation of the state/province/region of the address. | TX | +| `country` | *Optional\* | :heavy_minus_sign: | Name of the country of the address. | United States of America | \ No newline at end of file diff --git a/packages/java/docs/models/components/Address1.md b/packages/java/docs/models/components/Address1.md new file mode 100644 index 000000000..d2047979b --- /dev/null +++ b/packages/java/docs/models/components/Address1.md @@ -0,0 +1,12 @@ +# Address1 + +Address details. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `countryCode` | *String* | :heavy_check_mark: | ISO 3166 code for the country. | US | +| `city` | *String* | :heavy_check_mark: | The name of the city. | Austin | +| `regionCode` | *Optional\* | :heavy_minus_sign: | ISO 3166-2 code for the state/province/region. | US-AL | \ No newline at end of file diff --git a/packages/java/docs/models/components/Address11.md b/packages/java/docs/models/components/Address11.md index 39654bade..4382074c8 100644 --- a/packages/java/docs/models/components/Address11.md +++ b/packages/java/docs/models/components/Address11.md @@ -1,20 +1,17 @@ # Address11 -Address details +Schema for address information ## Fields | Field | Type | Required | Description | Example | | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| `address1` | *Optional\* | :heavy_minus_sign: | The first line of an address. | Cvent Inc. | -| `address2` | *Optional\* | :heavy_minus_sign: | The second line of an address. | 4001 West Parmer Lane | -| `address3` | *Optional\* | :heavy_minus_sign: | The third line of an address. | PO Box 123 | +| `address1` | *Optional\* | :heavy_minus_sign: | The first line of an address | Cvent Inc. | +| `address2` | *Optional\* | :heavy_minus_sign: | The second line of an address | 4001 West Parmer Lane | | `city` | *Optional\* | :heavy_minus_sign: | The name of the city. | Austin | -| `countryCode` | *Optional\* | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country code. | US | -| `postalCode` | *Optional\* | :heavy_minus_sign: | Postal code (also known as zipcode) of the address. | 78727 | | `region` | *Optional\* | :heavy_minus_sign: | The name of the state/province/region of the address. | Texas | | `regionCode` | *Optional\* | :heavy_minus_sign: | The abbreviation of the state/province/region of the address. | TX | -| `country` | *Optional\* | :heavy_minus_sign: | Name of the country of the address. | United States of America | -| `latitude` | *Optional\* | :heavy_minus_sign: | The geo latitude of the address. | 30 | -| `longitude` | *Optional\* | :heavy_minus_sign: | The geo longitude of the address. | -97 | \ No newline at end of file +| `postalCode` | *Optional\* | :heavy_minus_sign: | postal code (also known as zipcode) of the address | 78727 | +| `country` | *Optional\* | :heavy_minus_sign: | Name of the country for example, 'United States' | United States of America | +| `countryCode` | *Optional\* | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country code | US | \ No newline at end of file diff --git a/packages/java/docs/models/components/Address12.md b/packages/java/docs/models/components/Address12.md deleted file mode 100644 index 8a2827810..000000000 --- a/packages/java/docs/models/components/Address12.md +++ /dev/null @@ -1,17 +0,0 @@ -# Address12 - -Schema for address information - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| `address1` | *Optional\* | :heavy_minus_sign: | The first line of an address | Cvent Inc. | -| `address2` | *Optional\* | :heavy_minus_sign: | The second line of an address | 4001 West Parmer Lane | -| `city` | *Optional\* | :heavy_minus_sign: | The name of the city. | Austin | -| `region` | *Optional\* | :heavy_minus_sign: | The name of the state/province/region of the address. | Texas | -| `regionCode` | *Optional\* | :heavy_minus_sign: | The abbreviation of the state/province/region of the address. | TX | -| `postalCode` | *Optional\* | :heavy_minus_sign: | postal code (also known as zipcode) of the address | 78727 | -| `country` | *Optional\* | :heavy_minus_sign: | Name of the country for example, 'United States' | United States of America | -| `countryCode` | *Optional\* | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country code | US | \ No newline at end of file diff --git a/packages/java/docs/models/components/Address2.md b/packages/java/docs/models/components/Address2.md deleted file mode 100644 index d35ad1a9b..000000000 --- a/packages/java/docs/models/components/Address2.md +++ /dev/null @@ -1,15 +0,0 @@ -# Address2 - -An object representing an address with various properties. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | -| `address1` | *Optional\* | :heavy_minus_sign: | The first line of an address | Cvent Inc. | -| `address2` | *Optional\* | :heavy_minus_sign: | The second line of an address | 4001 West Parmer Lane | -| `city` | *Optional\* | :heavy_minus_sign: | The name of the city. | Austin | -| `region` | *Optional\* | :heavy_minus_sign: | The name of the state/province/region of the address. | Texas | -| `postalCode` | *Optional\* | :heavy_minus_sign: | postal code (also known as zipcode) of the address | 78727 | -| `country` | *Optional\* | :heavy_minus_sign: | Name of the country for example, 'United States' | United States of America | \ No newline at end of file diff --git a/packages/java/docs/models/components/Address3.md b/packages/java/docs/models/components/Address3.md index 4c6365096..c42250901 100644 --- a/packages/java/docs/models/components/Address3.md +++ b/packages/java/docs/models/components/Address3.md @@ -1,6 +1,6 @@ # Address3 -Address of the hotel. +Address details ## Fields @@ -15,4 +15,6 @@ Address of the hotel. | `postalCode` | *Optional\* | :heavy_minus_sign: | Postal code (also known as zipcode) of the address. | 78727 | | `region` | *Optional\* | :heavy_minus_sign: | The name of the state/province/region of the address. | Texas | | `regionCode` | *Optional\* | :heavy_minus_sign: | The abbreviation of the state/province/region of the address. | TX | -| `country` | *Optional\* | :heavy_minus_sign: | Name of the country. | United States of America | \ No newline at end of file +| `country` | *Optional\* | :heavy_minus_sign: | Name of the country of the address. | United States of America | +| `latitude` | *Optional\* | :heavy_minus_sign: | The geo latitude of the address. | 30 | +| `longitude` | *Optional\* | :heavy_minus_sign: | The geo longitude of the address. | -97 | \ No newline at end of file diff --git a/packages/java/docs/models/components/Address4.md b/packages/java/docs/models/components/Address4.md new file mode 100644 index 000000000..5270672e8 --- /dev/null +++ b/packages/java/docs/models/components/Address4.md @@ -0,0 +1,15 @@ +# Address4 + +An object representing an address with various properties. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | +| `address1` | *Optional\* | :heavy_minus_sign: | The first line of an address | Cvent Inc. | +| `address2` | *Optional\* | :heavy_minus_sign: | The second line of an address | 4001 West Parmer Lane | +| `city` | *Optional\* | :heavy_minus_sign: | The name of the city. | Austin | +| `region` | *Optional\* | :heavy_minus_sign: | The name of the state/province/region of the address. | Texas | +| `postalCode` | *Optional\* | :heavy_minus_sign: | postal code (also known as zipcode) of the address | 78727 | +| `country` | *Optional\* | :heavy_minus_sign: | Name of the country for example, 'United States' | United States of America | \ No newline at end of file diff --git a/packages/java/docs/models/components/Address5.md b/packages/java/docs/models/components/Address5.md new file mode 100644 index 000000000..2535d1690 --- /dev/null +++ b/packages/java/docs/models/components/Address5.md @@ -0,0 +1,18 @@ +# Address5 + +Address of the hotel. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `address1` | *Optional\* | :heavy_minus_sign: | The first line of an address. | Cvent Inc. | +| `address2` | *Optional\* | :heavy_minus_sign: | The second line of an address. | 4001 West Parmer Lane | +| `address3` | *Optional\* | :heavy_minus_sign: | The third line of an address. | PO Box 123 | +| `city` | *Optional\* | :heavy_minus_sign: | The name of the city. | Austin | +| `countryCode` | *Optional\* | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country code. | US | +| `postalCode` | *Optional\* | :heavy_minus_sign: | Postal code (also known as zipcode) of the address. | 78727 | +| `region` | *Optional\* | :heavy_minus_sign: | The name of the state/province/region of the address. | Texas | +| `regionCode` | *Optional\* | :heavy_minus_sign: | The abbreviation of the state/province/region of the address. | TX | +| `country` | *Optional\* | :heavy_minus_sign: | Name of the country. | United States of America | \ No newline at end of file diff --git a/packages/java/docs/models/components/Address6.md b/packages/java/docs/models/components/Address6.md new file mode 100644 index 000000000..739ffddd1 --- /dev/null +++ b/packages/java/docs/models/components/Address6.md @@ -0,0 +1,17 @@ +# Address6 + +Address details. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | +| `address1` | *Optional\* | :heavy_minus_sign: | Address line 1. | 717 N Harwood St | +| `address2` | *Optional\* | :heavy_minus_sign: | Address line 2. | Suite 2800 | +| `city` | *Optional\* | :heavy_minus_sign: | City name. | Dallas | +| `region` | *Optional\* | :heavy_minus_sign: | Region name. | Texas | +| `regionCode` | *Optional\* | :heavy_minus_sign: | Region code. | TX | +| `postalCode` | *Optional\* | :heavy_minus_sign: | Postal code. | 75201 | +| `country` | *Optional\* | :heavy_minus_sign: | Country name. | United States | +| `countryCode` | *Optional\* | :heavy_minus_sign: | ISO 3166 alpha-2 country code. | US | \ No newline at end of file diff --git a/packages/java/docs/models/components/AddressInput.md b/packages/java/docs/models/components/AddressInput.md new file mode 100644 index 000000000..8cf9237eb --- /dev/null +++ b/packages/java/docs/models/components/AddressInput.md @@ -0,0 +1,16 @@ +# AddressInput + +Contact address details. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `address1` | *Optional\* | :heavy_minus_sign: | The first line of an address. | Cvent Inc. | +| `address2` | *Optional\* | :heavy_minus_sign: | The second line of an address. | 4001 West Parmer Lane | +| `address3` | *Optional\* | :heavy_minus_sign: | The third line of an address. | PO Box 123 | +| `city` | *Optional\* | :heavy_minus_sign: | The name of the city. | Austin | +| `countryCode` | *Optional\* | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country code. | US | +| `postalCode` | *Optional\* | :heavy_minus_sign: | Postal code (also known as zipcode) of the address. | 78727 | +| `regionCode` | *Optional\* | :heavy_minus_sign: | The abbreviation of the state/province/region of the address. | TX | \ No newline at end of file diff --git a/packages/java/docs/models/components/AddressJson.md b/packages/java/docs/models/components/AddressJson.md index 39721498c..e32cf57f0 100644 --- a/packages/java/docs/models/components/AddressJson.md +++ b/packages/java/docs/models/components/AddressJson.md @@ -1,18 +1,17 @@ # AddressJson -Contact address details. +Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| `address1` | *Optional\* | :heavy_minus_sign: | The first line of an address. | Cvent Inc. | -| `address2` | *Optional\* | :heavy_minus_sign: | The second line of an address. | 4001 West Parmer Lane | -| `address3` | *Optional\* | :heavy_minus_sign: | The third line of an address. | PO Box 123 | -| `city` | *Optional\* | :heavy_minus_sign: | The name of the city. | Austin | -| `countryCode` | *Optional\* | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country code. | US | -| `postalCode` | *Optional\* | :heavy_minus_sign: | Postal code (also known as zipcode) of the address. | 78727 | -| `region` | *Optional\* | :heavy_minus_sign: | The name of the state/province/region of the address. | Texas | -| `regionCode` | *Optional\* | :heavy_minus_sign: | The abbreviation of the state/province/region of the address. | TX | -| `country` | *Optional\* | :heavy_minus_sign: | Name of the country of the address. | United States of America | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | +| `address1` | *Optional\* | :heavy_minus_sign: | Address line 1. | West St. 1 | +| `address2` | *Optional\* | :heavy_minus_sign: | Address line 2. | Apt. 16 | +| `city` | *Optional\* | :heavy_minus_sign: | City name. | Austin | +| `region` | *Optional\* | :heavy_minus_sign: | Region name. | Texas | +| `regionCode` | *Optional\* | :heavy_minus_sign: | Region code. | TX | +| `postalCode` | *Optional\* | :heavy_minus_sign: | Postal code. | 23452AB | +| `country` | *Optional\* | :heavy_minus_sign: | Country name. | United States of America | +| `countryCode` | *Optional\* | :heavy_minus_sign: | ISO 3166 alpha-2 country code. | US | \ No newline at end of file diff --git a/packages/java/docs/models/components/AddressJson0.md b/packages/java/docs/models/components/AddressJson0.md deleted file mode 100644 index f869f2045..000000000 --- a/packages/java/docs/models/components/AddressJson0.md +++ /dev/null @@ -1,12 +0,0 @@ -# AddressJson0 - -Address details. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `countryCode` | *String* | :heavy_check_mark: | ISO 3166 code for the country. | US | -| `city` | *String* | :heavy_check_mark: | The name of the city. | Austin | -| `regionCode` | *Optional\* | :heavy_minus_sign: | ISO 3166-2 code for the state/province/region. | US-AL | \ No newline at end of file diff --git a/packages/java/docs/models/components/AddressJson1.md b/packages/java/docs/models/components/AddressJson1.md new file mode 100644 index 000000000..242057440 --- /dev/null +++ b/packages/java/docs/models/components/AddressJson1.md @@ -0,0 +1,17 @@ +# AddressJson1 + +A physical address. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | +| `address1` | *Optional\* | :heavy_minus_sign: | Address line 1. | 717 N Harwood St | +| `address2` | *Optional\* | :heavy_minus_sign: | Address line 2. | Suite 2800 | +| `city` | *Optional\* | :heavy_minus_sign: | City name. | Dallas | +| `region` | *Optional\* | :heavy_minus_sign: | Region name. | Texas | +| `regionCode` | *Optional\* | :heavy_minus_sign: | Region code. | TX | +| `postalCode` | *Optional\* | :heavy_minus_sign: | Postal code. | 75201 | +| `country` | *Optional\* | :heavy_minus_sign: | Country name. | United States | +| `countryCode` | *Optional\* | :heavy_minus_sign: | ISO 3166 alpha-2 country code. | US | \ No newline at end of file diff --git a/packages/java/docs/models/components/AddressJson2.md b/packages/java/docs/models/components/AddressJson2.md index 7d313b38a..5916511a5 100644 --- a/packages/java/docs/models/components/AddressJson2.md +++ b/packages/java/docs/models/components/AddressJson2.md @@ -1,17 +1,16 @@ # AddressJson2 -Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. +Address ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | -| `address1` | *Optional\* | :heavy_minus_sign: | Address line 1. | West St. 1 | -| `address2` | *Optional\* | :heavy_minus_sign: | Address line 2. | Apt. 16 | -| `city` | *Optional\* | :heavy_minus_sign: | City name. | Austin | -| `region` | *Optional\* | :heavy_minus_sign: | Region name. | Texas | -| `regionCode` | *Optional\* | :heavy_minus_sign: | Region code. | TX | -| `postalCode` | *Optional\* | :heavy_minus_sign: | Postal code. | 23452AB | -| `country` | *Optional\* | :heavy_minus_sign: | Country name. | United States of America | -| `countryCode` | *Optional\* | :heavy_minus_sign: | ISO 3166 alpha-2 country code. | US | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `type` | [AddressTypeJson](../../models/components/AddressTypeJson.md) | :heavy_check_mark: | The type of the address. | work | +| `streetAddress` | *Optional\* | :heavy_minus_sign: | The street address of the user. | 100 Universal City Plaza | +| `locality` | *Optional\* | :heavy_minus_sign: | The locality/city of the user. | Hollywood | +| `region` | *Optional\* | :heavy_minus_sign: | The region/state/province of the user. | CA | +| `postalCode` | *Optional\* | :heavy_minus_sign: | Postal code (also known as zipcode) of the user. | 91608 | +| `country` | *Optional\* | :heavy_minus_sign: | The country of the user. | USA | +| `primary` | *Optional\* | :heavy_minus_sign: | True indicates the address is primary. | true | \ No newline at end of file diff --git a/packages/java/docs/models/components/AddressJson3.md b/packages/java/docs/models/components/AddressJson3.md deleted file mode 100644 index 470ffbd68..000000000 --- a/packages/java/docs/models/components/AddressJson3.md +++ /dev/null @@ -1,17 +0,0 @@ -# AddressJson3 - -A physical address. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | -| `address1` | *Optional\* | :heavy_minus_sign: | Address line 1. | 717 N Harwood St | -| `address2` | *Optional\* | :heavy_minus_sign: | Address line 2. | Suite 2800 | -| `city` | *Optional\* | :heavy_minus_sign: | City name. | Dallas | -| `region` | *Optional\* | :heavy_minus_sign: | Region name. | Texas | -| `regionCode` | *Optional\* | :heavy_minus_sign: | Region code. | TX | -| `postalCode` | *Optional\* | :heavy_minus_sign: | Postal code. | 75201 | -| `country` | *Optional\* | :heavy_minus_sign: | Country name. | United States | -| `countryCode` | *Optional\* | :heavy_minus_sign: | ISO 3166 alpha-2 country code. | US | \ No newline at end of file diff --git a/packages/java/docs/models/components/AddressJson4.md b/packages/java/docs/models/components/AddressJson4.md deleted file mode 100644 index f7f09512f..000000000 --- a/packages/java/docs/models/components/AddressJson4.md +++ /dev/null @@ -1,16 +0,0 @@ -# AddressJson4 - -Address - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| `type` | [AddressTypeJson1](../../models/components/AddressTypeJson1.md) | :heavy_check_mark: | The type of the address. | work | -| `streetAddress` | *Optional\* | :heavy_minus_sign: | The street address of the user. | 100 Universal City Plaza | -| `locality` | *Optional\* | :heavy_minus_sign: | The locality/city of the user. | Hollywood | -| `region` | *Optional\* | :heavy_minus_sign: | The region/state/province of the user. | CA | -| `postalCode` | *Optional\* | :heavy_minus_sign: | Postal code (also known as zipcode) of the user. | 91608 | -| `country` | *Optional\* | :heavy_minus_sign: | The country of the user. | USA | -| `primary` | *Optional\* | :heavy_minus_sign: | True indicates the address is primary. | true | \ No newline at end of file diff --git a/packages/java/docs/models/components/AddressJson5.md b/packages/java/docs/models/components/AddressJson5.md deleted file mode 100644 index 4ee232bd4..000000000 --- a/packages/java/docs/models/components/AddressJson5.md +++ /dev/null @@ -1,17 +0,0 @@ -# AddressJson5 - -Address details. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | -| `address1` | *Optional\* | :heavy_minus_sign: | Address line 1. | 717 N Harwood St | -| `address2` | *Optional\* | :heavy_minus_sign: | Address line 2. | Suite 2800 | -| `city` | *Optional\* | :heavy_minus_sign: | City name. | Dallas | -| `region` | *Optional\* | :heavy_minus_sign: | Region name. | Texas | -| `regionCode` | *Optional\* | :heavy_minus_sign: | Region code. | TX | -| `postalCode` | *Optional\* | :heavy_minus_sign: | Postal code. | 75201 | -| `country` | *Optional\* | :heavy_minus_sign: | Country name. | United States | -| `countryCode` | *Optional\* | :heavy_minus_sign: | ISO 3166 alpha-2 country code. | US | \ No newline at end of file diff --git a/packages/java/docs/models/components/AddressJsonInput.md b/packages/java/docs/models/components/AddressJsonInput.md deleted file mode 100644 index ea6b8d925..000000000 --- a/packages/java/docs/models/components/AddressJsonInput.md +++ /dev/null @@ -1,16 +0,0 @@ -# AddressJsonInput - -Contact address details. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| `address1` | *Optional\* | :heavy_minus_sign: | The first line of an address. | Cvent Inc. | -| `address2` | *Optional\* | :heavy_minus_sign: | The second line of an address. | 4001 West Parmer Lane | -| `address3` | *Optional\* | :heavy_minus_sign: | The third line of an address. | PO Box 123 | -| `city` | *Optional\* | :heavy_minus_sign: | The name of the city. | Austin | -| `countryCode` | *Optional\* | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country code. | US | -| `postalCode` | *Optional\* | :heavy_minus_sign: | Postal code (also known as zipcode) of the address. | 78727 | -| `regionCode` | *Optional\* | :heavy_minus_sign: | The abbreviation of the state/province/region of the address. | TX | \ No newline at end of file diff --git a/packages/java/docs/models/components/AddressTypeJson.md b/packages/java/docs/models/components/AddressTypeJson.md index 6f4b68593..0836ca561 100644 --- a/packages/java/docs/models/components/AddressTypeJson.md +++ b/packages/java/docs/models/components/AddressTypeJson.md @@ -1,13 +1,13 @@ # AddressTypeJson -The type of address. +The type of the address. ## Example Usage ```java import com.cvent.models.components.AddressTypeJson; -AddressTypeJson value = AddressTypeJson.HOME; +AddressTypeJson value = AddressTypeJson.WORK; ``` @@ -15,5 +15,5 @@ AddressTypeJson value = AddressTypeJson.HOME; | Name | Value | | ------ | ------ | -| `HOME` | Home | -| `WORK` | Work | \ No newline at end of file +| `WORK` | work | +| `HOME` | home | \ No newline at end of file diff --git a/packages/java/docs/models/components/AddressTypeJson1.md b/packages/java/docs/models/components/AddressTypeJson1.md deleted file mode 100644 index 7f5004eec..000000000 --- a/packages/java/docs/models/components/AddressTypeJson1.md +++ /dev/null @@ -1,19 +0,0 @@ -# AddressTypeJson1 - -The type of the address. - -## Example Usage - -```java -import com.cvent.models.components.AddressTypeJson1; - -AddressTypeJson1 value = AddressTypeJson1.WORK; -``` - - -## Values - -| Name | Value | -| ------ | ------ | -| `WORK` | work | -| `HOME` | home | \ No newline at end of file diff --git a/packages/java/docs/models/components/AgendaItemSetup.md b/packages/java/docs/models/components/AgendaItemSetup.md new file mode 100644 index 000000000..197af36e5 --- /dev/null +++ b/packages/java/docs/models/components/AgendaItemSetup.md @@ -0,0 +1,43 @@ +# AgendaItemSetup + +Setup type for the agenda. + +## Example Usage + +```java +import com.cvent.models.components.AgendaItemSetup; + +AgendaItemSetup value = AgendaItemSetup.BUFFET; +``` + + +## Values + +| Name | Value | +| ----------------- | ----------------- | +| `BUFFET` | BUFFET | +| `CABARET` | CABARET | +| `CHEVRON` | CHEVRON | +| `CLASSROOM` | CLASSROOM | +| `CONFERENCE` | CONFERENCE | +| `CRESCENT_ROUNDS` | CRESCENT_ROUNDS | +| `EIGHT_BY_TEN` | EIGHT_BY_TEN | +| `FLOW` | FLOW | +| `HERRINGBONE` | HERRINGBONE | +| `HOLLOW_SQUARE` | HOLLOW_SQUARE | +| `ISLAND` | ISLAND | +| `OFFSITE` | OFFSITE | +| `OTHER` | OTHER | +| `PENINSULA` | PENINSULA | +| `PLATED` | PLATED | +| `RECEPTION` | RECEPTION | +| `ROUNDS` | ROUNDS | +| `ROUNDS_OF10` | ROUNDS_OF_10 | +| `ROUNDS_OF6` | ROUNDS_OF_6 | +| `ROUNDS_OF8` | ROUNDS_OF_8 | +| `SCHOOL_ROOM` | SCHOOL_ROOM | +| `TABLETOP` | TABLETOP | +| `TEN_BY_TEN` | TEN_BY_TEN | +| `THEATER` | THEATER | +| `T_SHAPED` | T_SHAPED | +| `U_SHAPED` | U_SHAPED | \ No newline at end of file diff --git a/packages/java/docs/models/components/AgendaItemSetupJson.md b/packages/java/docs/models/components/AgendaItemSetupJson.md deleted file mode 100644 index 8ff9afa11..000000000 --- a/packages/java/docs/models/components/AgendaItemSetupJson.md +++ /dev/null @@ -1,43 +0,0 @@ -# AgendaItemSetupJson - -Setup type for the agenda. - -## Example Usage - -```java -import com.cvent.models.components.AgendaItemSetupJson; - -AgendaItemSetupJson value = AgendaItemSetupJson.BUFFET; -``` - - -## Values - -| Name | Value | -| ----------------- | ----------------- | -| `BUFFET` | BUFFET | -| `CABARET` | CABARET | -| `CHEVRON` | CHEVRON | -| `CLASSROOM` | CLASSROOM | -| `CONFERENCE` | CONFERENCE | -| `CRESCENT_ROUNDS` | CRESCENT_ROUNDS | -| `EIGHT_BY_TEN` | EIGHT_BY_TEN | -| `FLOW` | FLOW | -| `HERRINGBONE` | HERRINGBONE | -| `HOLLOW_SQUARE` | HOLLOW_SQUARE | -| `ISLAND` | ISLAND | -| `OFFSITE` | OFFSITE | -| `OTHER` | OTHER | -| `PENINSULA` | PENINSULA | -| `PLATED` | PLATED | -| `RECEPTION` | RECEPTION | -| `ROUNDS` | ROUNDS | -| `ROUNDS_OF10` | ROUNDS_OF_10 | -| `ROUNDS_OF6` | ROUNDS_OF_6 | -| `ROUNDS_OF8` | ROUNDS_OF_8 | -| `SCHOOL_ROOM` | SCHOOL_ROOM | -| `TABLETOP` | TABLETOP | -| `TEN_BY_TEN` | TEN_BY_TEN | -| `THEATER` | THEATER | -| `T_SHAPED` | T_SHAPED | -| `U_SHAPED` | U_SHAPED | \ No newline at end of file diff --git a/packages/java/docs/models/components/AgendaItemType.md b/packages/java/docs/models/components/AgendaItemType.md new file mode 100644 index 000000000..d423fe9c7 --- /dev/null +++ b/packages/java/docs/models/components/AgendaItemType.md @@ -0,0 +1,36 @@ +# AgendaItemType + +Type of the agenda. + +## Example Usage + +```java +import com.cvent.models.components.AgendaItemType; + +AgendaItemType value = AgendaItemType.BREAK; +``` + + +## Values + +| Name | Value | +| ------------------- | ------------------- | +| `BREAK` | BREAK | +| `BREAKFAST` | BREAKFAST | +| `BREAKOUT` | BREAKOUT | +| `DINNER` | DINNER | +| `EXHIBIT` | EXHIBIT | +| `GENERAL_SESSION` | GENERAL_SESSION | +| `HOSPITALITY_DESK` | HOSPITALITY_DESK | +| `HOSPITALITY_SUITE` | HOSPITALITY_SUITE | +| `LUNCH` | LUNCH | +| `MEETING` | MEETING | +| `OFFICE` | OFFICE | +| `OTHER` | OTHER | +| `RECEPTION` | RECEPTION | +| `REGISTRATION` | REGISTRATION | +| `SETUP` | SETUP | +| `SNACK` | SNACK | +| `SPEAKER_ROOM` | SPEAKER_ROOM | +| `STORAGE_ROOM` | STORAGE_ROOM | +| `TEARDOWN` | TEARDOWN | \ No newline at end of file diff --git a/packages/java/docs/models/components/AgendaItemTypeJson.md b/packages/java/docs/models/components/AgendaItemTypeJson.md deleted file mode 100644 index 5307c1c20..000000000 --- a/packages/java/docs/models/components/AgendaItemTypeJson.md +++ /dev/null @@ -1,36 +0,0 @@ -# AgendaItemTypeJson - -Type of the agenda. - -## Example Usage - -```java -import com.cvent.models.components.AgendaItemTypeJson; - -AgendaItemTypeJson value = AgendaItemTypeJson.BREAK; -``` - - -## Values - -| Name | Value | -| ------------------- | ------------------- | -| `BREAK` | BREAK | -| `BREAKFAST` | BREAKFAST | -| `BREAKOUT` | BREAKOUT | -| `DINNER` | DINNER | -| `EXHIBIT` | EXHIBIT | -| `GENERAL_SESSION` | GENERAL_SESSION | -| `HOSPITALITY_DESK` | HOSPITALITY_DESK | -| `HOSPITALITY_SUITE` | HOSPITALITY_SUITE | -| `LUNCH` | LUNCH | -| `MEETING` | MEETING | -| `OFFICE` | OFFICE | -| `OTHER` | OTHER | -| `RECEPTION` | RECEPTION | -| `REGISTRATION` | REGISTRATION | -| `SETUP` | SETUP | -| `SNACK` | SNACK | -| `SPEAKER_ROOM` | SPEAKER_ROOM | -| `STORAGE_ROOM` | STORAGE_ROOM | -| `TEARDOWN` | TEARDOWN | \ No newline at end of file diff --git a/packages/java/docs/models/components/AmenityType.md b/packages/java/docs/models/components/AmenityType.md new file mode 100644 index 000000000..4ab9bd791 --- /dev/null +++ b/packages/java/docs/models/components/AmenityType.md @@ -0,0 +1,20 @@ +# AmenityType + +Amenity type + +## Example Usage + +```java +import com.cvent.models.components.AmenityType; + +AmenityType value = AmenityType.INCLUDED_AMENITY; +``` + + +## Values + +| Name | Value | +| -------------------- | -------------------- | +| `INCLUDED_AMENITY` | included_amenity | +| `AMENITY` | amenity | +| `BUNDLED_SUPPLEMENT` | bundled_supplement | \ No newline at end of file diff --git a/packages/java/docs/models/components/AmenityTypeJson.md b/packages/java/docs/models/components/AmenityTypeJson.md deleted file mode 100644 index 7a2b78684..000000000 --- a/packages/java/docs/models/components/AmenityTypeJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# AmenityTypeJson - -Amenity type - -## Example Usage - -```java -import com.cvent.models.components.AmenityTypeJson; - -AmenityTypeJson value = AmenityTypeJson.INCLUDED_AMENITY; -``` - - -## Values - -| Name | Value | -| -------------------- | -------------------- | -| `INCLUDED_AMENITY` | included_amenity | -| `AMENITY` | amenity | -| `BUNDLED_SUPPLEMENT` | bundled_supplement | \ No newline at end of file diff --git a/packages/java/docs/models/components/AppointmentWithQuestions.md b/packages/java/docs/models/components/AppointmentWithQuestions.md index 96446c08f..b15eadaa0 100644 --- a/packages/java/docs/models/components/AppointmentWithQuestions.md +++ b/packages/java/docs/models/components/AppointmentWithQuestions.md @@ -26,4 +26,4 @@ Details of an event appointment including questions. | `enforceScheduleRules` | *Optional\* | :heavy_minus_sign: | True indicates that existing schedule rules were enforced when the appointment was created. | false | | ~~`modified`~~ | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated please use - lastModified | 2019-04-12T15:30:00.000Z | | `deleted` | *Optional\* | :heavy_minus_sign: | True indicates the appointment has been logically deleted. | false | -| `questions` | List\<[CustomFieldJson1](../../models/components/CustomFieldJson1.md)> | :heavy_minus_sign: | Collection of custom questions asked to participants of the appointment. | | \ No newline at end of file +| `questions` | List\<[CustomFieldJson](../../models/components/CustomFieldJson.md)> | :heavy_minus_sign: | Collection of custom questions asked to participants of the appointment. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/AssetLocation.md b/packages/java/docs/models/components/AssetLocation.md new file mode 100644 index 000000000..3a69e0a15 --- /dev/null +++ b/packages/java/docs/models/components/AssetLocation.md @@ -0,0 +1,10 @@ +# AssetLocation + +A URL associated with the asset. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | +| `href` | *String* | :heavy_check_mark: | A pre-signed URL with an expiration of 2 hours to the asset's location. | https://ap-southeast-2.example.com/sign2-bucket-hchq3nwuo8ns/sign-demo.json?X-Exa-Date=20170125T044127Z&X-Exa-Expires=60&X-Exa-Signature=24db05 | \ No newline at end of file diff --git a/packages/java/docs/models/components/AssetLocationInput.md b/packages/java/docs/models/components/AssetLocationInput.md new file mode 100644 index 000000000..173c72e63 --- /dev/null +++ b/packages/java/docs/models/components/AssetLocationInput.md @@ -0,0 +1,9 @@ +# AssetLocationInput + +A URL associated with the asset. + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/packages/java/docs/models/components/AssetLocationJson.md b/packages/java/docs/models/components/AssetLocationJson.md deleted file mode 100644 index 0deb6ca6e..000000000 --- a/packages/java/docs/models/components/AssetLocationJson.md +++ /dev/null @@ -1,10 +0,0 @@ -# AssetLocationJson - -A URL associated with the asset. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | -| `href` | *String* | :heavy_check_mark: | A pre-signed URL with an expiration of 2 hours to the asset's location. | https://ap-southeast-2.example.com/sign2-bucket-hchq3nwuo8ns/sign-demo.json?X-Exa-Date=20170125T044127Z&X-Exa-Expires=60&X-Exa-Signature=24db05 | \ No newline at end of file diff --git a/packages/java/docs/models/components/AssetLocationJsonInput.md b/packages/java/docs/models/components/AssetLocationJsonInput.md deleted file mode 100644 index ee14621e9..000000000 --- a/packages/java/docs/models/components/AssetLocationJsonInput.md +++ /dev/null @@ -1,9 +0,0 @@ -# AssetLocationJsonInput - -A URL associated with the asset. - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/packages/java/docs/models/components/AttachmentSource.md b/packages/java/docs/models/components/AttachmentSource.md new file mode 100644 index 000000000..31c6845b6 --- /dev/null +++ b/packages/java/docs/models/components/AttachmentSource.md @@ -0,0 +1,22 @@ +# AttachmentSource + +The source from where the attachment was uploaded. + +## Example Usage + +```java +import com.cvent.models.components.AttachmentSource; + +AttachmentSource value = AttachmentSource.FILE_COPY_ADMIN_LIBRARY; +``` + + +## Values + +| Name | Value | +| ------------------------------ | ------------------------------ | +| `FILE_COPY_ADMIN_LIBRARY` | FILE_COPY_ADMIN_LIBRARY | +| `FILE_UPLOAD_LINK_URL` | FILE_UPLOAD_LINK_URL | +| `FILE_UPLOAD_TO_CUSTOM_DRIVE` | FILE_UPLOAD_TO_CUSTOM_DRIVE | +| `FILE_UPLOAD_TO_TEMP_LOCATION` | FILE_UPLOAD_TO_TEMP_LOCATION | +| `USER_DOCUMENT_LINK_URL` | USER_DOCUMENT_LINK_URL | \ No newline at end of file diff --git a/packages/java/docs/models/components/AttachmentSourceJson.md b/packages/java/docs/models/components/AttachmentSourceJson.md deleted file mode 100644 index feeb3a78b..000000000 --- a/packages/java/docs/models/components/AttachmentSourceJson.md +++ /dev/null @@ -1,22 +0,0 @@ -# AttachmentSourceJson - -The source from where the attachment was uploaded. - -## Example Usage - -```java -import com.cvent.models.components.AttachmentSourceJson; - -AttachmentSourceJson value = AttachmentSourceJson.FILE_COPY_ADMIN_LIBRARY; -``` - - -## Values - -| Name | Value | -| ------------------------------ | ------------------------------ | -| `FILE_COPY_ADMIN_LIBRARY` | FILE_COPY_ADMIN_LIBRARY | -| `FILE_UPLOAD_LINK_URL` | FILE_UPLOAD_LINK_URL | -| `FILE_UPLOAD_TO_CUSTOM_DRIVE` | FILE_UPLOAD_TO_CUSTOM_DRIVE | -| `FILE_UPLOAD_TO_TEMP_LOCATION` | FILE_UPLOAD_TO_TEMP_LOCATION | -| `USER_DOCUMENT_LINK_URL` | USER_DOCUMENT_LINK_URL | \ No newline at end of file diff --git a/packages/java/docs/models/components/Attendee.md b/packages/java/docs/models/components/Attendee.md new file mode 100644 index 000000000..c5fbcdc0b --- /dev/null +++ b/packages/java/docs/models/components/Attendee.md @@ -0,0 +1,10 @@ +# Attendee + +The reference to the attendee. Contains only the ID of the attendee. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | Unique identifier of the primary invitee for the current attendee's registration. | 5b0e8d1f-8fd6-4ebe-977a-602b4a1f9c43 | \ No newline at end of file diff --git a/packages/java/docs/models/components/Attendee1.md b/packages/java/docs/models/components/Attendee1.md deleted file mode 100644 index 9a4dde22d..000000000 --- a/packages/java/docs/models/components/Attendee1.md +++ /dev/null @@ -1,54 +0,0 @@ -# Attendee1 - -An event attendee. - - -## 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 | -| `id` | *Optional\* | :heavy_minus_sign: | The ID of attendee in the given event. | | -| `event` | [Optional\](../../models/components/AttendeeEvent.md) | :heavy_minus_sign: | The attendee's associated event. | | -| `confirmationNumber` | *Optional\* | :heavy_minus_sign: | The confirmation number is a code unique to each attendee. Cvent assigns one to the attendee upon registration for the event. Serves as proof of registration. | VNNDLJ6DKVK | -| `contact` | [Optional\](../../models/components/AttendeeContactInfo.md) | :heavy_minus_sign: | Information about attendee contact added to an event. | | -| `checkedIn` | *Optional\* | :heavy_minus_sign: | True indicates the attendee checked in to the event. | true | -| ~~`checkin`~~ | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The date time when attendee was checked in to an event. Note: this field is deprecated. Please use the `checkIn` field instead. | 2018-01-13T02:00:00Z | -| `checkIn` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when attendee was checked in to an event. | 2018-01-13T02:00:00Z | -| `checkOut` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when attendee checked out from an event. | 2018-01-13T02:00:00Z | -| `duration` | *Optional\* | :heavy_minus_sign: | The duration, in milliseconds, the attendee was present at the event. | 4000 | -| `registrationPath` | [Optional\](../../models/components/Lookup.md) | :heavy_minus_sign: | Lookup response object | | -| `invitationList` | [Optional\](../../models/components/NamedObject.md) | :heavy_minus_sign: | A Named object | | -| `webLinks` | [Optional\](../../models/components/AttendeeWebLinks.md) | :heavy_minus_sign: | Web links for an attendee. | | -| `registrationType` | [Optional\](../../models/components/Lookup.md) | :heavy_minus_sign: | Lookup response object | | -| `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-plannerside | -| `externalReferences` | List\<[ExternalReference](../../models/components/ExternalReference.md)> | :heavy_minus_sign: | The details of an attendee in an external systems. | | -| `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. | -| `guest` | *Optional\* | :heavy_minus_sign: | True indicates the attendee is a guest of another attendee. | true | -| `deletedGuest` | *Optional\* | :heavy_minus_sign: | True indicates this attendee is a deleted guest. | false | -| `primaryId` | *Optional\* | :heavy_minus_sign: | The ID of the primary attendee to whom this guest attendee is associated. Only applicable if this attendee is a guest. | | -| `group` | [Optional\](../../models/components/AttendeeGroup.md) | :heavy_minus_sign: | An attendee group. | | -| `administrator` | [Optional\](../../models/components/Uuid.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | -| ~~`unsubscribed`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

DEPRECATED: True indicates this attendee is unsubscribed from this event's emails. They'll still receive emails triggered by their own actions (like registration modification). This field has been deprecated. Please use PUT /attendees/{id}/email-subscriptions instead. | false | -| `status` | [Optional\](../../models/components/AttendeeStatus.md) | :heavy_minus_sign: | This is used to denote the status of an attendee. | Accepted | -| `registeredAt` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when attendee was registered. | 2018-01-13T02:00:00Z | -| `registrationLastModified` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when attendee's registration was modified. This field is updated when there are changes to the registration, such as adding or removing products. | 2018-01-13T02:00:00Z | -| `registrationCancelledAt` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when attendee registration was cancelled. | 2018-01-13T02:00:00Z | -| `invitedBy` | [Optional\](../../models/components/AttendeeInvitedBy1.md) | :heavy_minus_sign: | Method by which the attendee was invited to the event. | Planner-Invited | -| `responseMethod` | [Optional\](../../models/components/AttendeeResponseMethod1.md) | :heavy_minus_sign: | Represents the method by which an attendee registered for the event.

- Administrator Responded: The invitee was registered by another contact acting as their administrator.
- API-Responded: The invitee was registered through a custom process configured via an API integration.
- Appointments Event Website: The invitee registered via an appointments event website.
- Cvent Salesforce App: The invitee registered through an action in the Cvent Salesforce App.
- External Registration: The attendee was registered through an external integration, such as Marketo.
- Group Leader Responded: The invitee was registered by a group leader and added to a group.
- Historical Import: The invitee's registration was imported into the event as historical data.
- Imported: The invitee's registration was imported into the event.
- No Response: The invitee has not registered.
- On-site Responded: The invitee registered onsite using OnArrival's Kiosk Mode.
- Planner-Imported: An account user imported the invitee's registration into the event.
- Planner-Responded: An account user registered the invitee from the Cvent back-end or the planner-side of the OnArrival app.
- Post Event: The invitee was registered by an account user after the event's end date or while the event was in Completed status.
- Self-Responded: The invitee registered themselves through a weblink or invitation.

Note: The responseMethod can only be set if the invitee's status is No Response. | Self-Responded | -| ~~`questions`~~ | List\<[CustomFieldSchema](../../models/components/CustomFieldSchema.md)> | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

A list of answers to contact custom fields. Note: This field is deprecated. Answers to custom contact fields can be found in the 'contact' model, `customFields` field instead. | | -| `answers` | List\<[AttendeeAnswer](../../models/components/AttendeeAnswer.md)> | :heavy_minus_sign: | The list of answers to the registration questions. | | -| `admissionItem` | [Optional\](../../models/components/AttendeeLookup.md) | :heavy_minus_sign: | Contains details related to the attendee's admission item. | | -| `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 | -| `bio` | *Optional\* | :heavy_minus_sign: | The attendee's biographical writeup. | In west Philadelphia, born and raised, on the playground is where I spent most of my days. | -| ~~`showPopupNotification`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Notification setting in the Attendee Hub app or website. Note: This field is deprecated. Use `allowPushNotification` field instead. | false | -| `websiteUrl` | *Optional\* | :heavy_minus_sign: | An attendee's website URL, appears on their profile. | https://www.example.com | -| `allowPushNotifications` | *Optional\* | :heavy_minus_sign: | True indicates attendee will recieve push notifications for session-schedule changes, promotions and other event activities in the Attendee Hub app. | false | -| `allowAppointmentPushNotifications` | *Optional\* | :heavy_minus_sign: | True indicaites attendee will recieve push notifications for appointments related activities in the Attendee Hub app. | false | -| `testRecord` | *Optional\* | :heavy_minus_sign: | True indicates this attendee record was created as part of a test scenario. | false | -| `attendeeLastModified` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date-time indicates when the attendee's non-contact properties were modified. Updates to the attendee's contact properties do not update this field. This field is updated when planners or attendees make changes to the attendee record, such as flagging as a participant. It is not updated for registration or product changes. | 2018-01-13T02:00:00Z | -| `appointmentGroups` | List\<[AppointmentGroup](../../models/components/AppointmentGroup.md)> | :heavy_minus_sign: | List of appointment groups associated with attendee. These control permissions and visibility in appointments associated with the event. | | -| `credit` | *Optional\* | :heavy_minus_sign: | The amount of credit associated with the attendee. | 10 | \ No newline at end of file diff --git a/packages/java/docs/models/components/Attendee11.md b/packages/java/docs/models/components/Attendee11.md index 2f8dfbd97..97cb03caf 100644 --- a/packages/java/docs/models/components/Attendee11.md +++ b/packages/java/docs/models/components/Attendee11.md @@ -1,10 +1,54 @@ # Attendee11 -The associated Attendee. +An event attendee. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *String* | :heavy_check_mark: | Attendee id | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ 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 | +| `id` | *Optional\* | :heavy_minus_sign: | The ID of attendee in the given event. | | +| `event` | [Optional\](../../models/components/Attendee1Event.md) | :heavy_minus_sign: | The attendee's associated event. | | +| `confirmationNumber` | *Optional\* | :heavy_minus_sign: | The confirmation number is a code unique to each attendee. Cvent assigns one to the attendee upon registration for the event. Serves as proof of registration. | VNNDLJ6DKVK | +| `contact` | [Optional\](../../models/components/AttendeeContactInfo.md) | :heavy_minus_sign: | Information about attendee contact added to an event. | | +| `checkedIn` | *Optional\* | :heavy_minus_sign: | True indicates the attendee checked in to the event. | true | +| ~~`checkin`~~ | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The date time when attendee was checked in to an event. Note: this field is deprecated. Please use the `checkIn` field instead. | 2018-01-13T02:00:00Z | +| `checkIn` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when attendee was checked in to an event. | 2018-01-13T02:00:00Z | +| `checkOut` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when attendee checked out from an event. | 2018-01-13T02:00:00Z | +| `duration` | *Optional\* | :heavy_minus_sign: | The duration, in milliseconds, the attendee was present at the event. | 4000 | +| `registrationPath` | [Optional\](../../models/components/Lookup.md) | :heavy_minus_sign: | Lookup response object | | +| `invitationList` | [Optional\](../../models/components/NamedObject.md) | :heavy_minus_sign: | A Named object | | +| `webLinks` | [Optional\](../../models/components/AttendeeWebLinks.md) | :heavy_minus_sign: | Web links for an attendee. | | +| `registrationType` | [Optional\](../../models/components/Lookup.md) | :heavy_minus_sign: | Lookup response object | | +| `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-plannerside | +| `externalReferences` | List\<[ExternalReference](../../models/components/ExternalReference.md)> | :heavy_minus_sign: | The details of an attendee in an external systems. | | +| `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. | +| `guest` | *Optional\* | :heavy_minus_sign: | True indicates the attendee is a guest of another attendee. | true | +| `deletedGuest` | *Optional\* | :heavy_minus_sign: | True indicates this attendee is a deleted guest. | false | +| `primaryId` | *Optional\* | :heavy_minus_sign: | The ID of the primary attendee to whom this guest attendee is associated. Only applicable if this attendee is a guest. | | +| `group` | [Optional\](../../models/components/AttendeeGroup.md) | :heavy_minus_sign: | An attendee group. | | +| `administrator` | [Optional\](../../models/components/Uuid.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | +| ~~`unsubscribed`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

DEPRECATED: True indicates this attendee is unsubscribed from this event's emails. They'll still receive emails triggered by their own actions (like registration modification). This field has been deprecated. Please use PUT /attendees/{id}/email-subscriptions instead. | false | +| `status` | [Optional\](../../models/components/AttendeeStatus.md) | :heavy_minus_sign: | This is used to denote the status of an attendee. | Accepted | +| `registeredAt` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when attendee was registered. | 2018-01-13T02:00:00Z | +| `registrationLastModified` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when attendee's registration was modified. This field is updated when there are changes to the registration, such as adding or removing products. | 2018-01-13T02:00:00Z | +| `registrationCancelledAt` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when attendee registration was cancelled. | 2018-01-13T02:00:00Z | +| `invitedBy` | [Optional\](../../models/components/AttendeeInvitedBy1.md) | :heavy_minus_sign: | Method by which the attendee was invited to the event. | Planner-Invited | +| `responseMethod` | [Optional\](../../models/components/AttendeeResponseMethod1.md) | :heavy_minus_sign: | Represents the method by which an attendee registered for the event.

- Administrator Responded: The invitee was registered by another contact acting as their administrator.
- API-Responded: The invitee was registered through a custom process configured via an API integration.
- Appointments Event Website: The invitee registered via an appointments event website.
- Cvent Salesforce App: The invitee registered through an action in the Cvent Salesforce App.
- External Registration: The attendee was registered through an external integration, such as Marketo.
- Group Leader Responded: The invitee was registered by a group leader and added to a group.
- Historical Import: The invitee's registration was imported into the event as historical data.
- Imported: The invitee's registration was imported into the event.
- No Response: The invitee has not registered.
- On-site Responded: The invitee registered onsite using OnArrival's Kiosk Mode.
- Planner-Imported: An account user imported the invitee's registration into the event.
- Planner-Responded: An account user registered the invitee from the Cvent back-end or the planner-side of the OnArrival app.
- Post Event: The invitee was registered by an account user after the event's end date or while the event was in Completed status.
- Self-Responded: The invitee registered themselves through a weblink or invitation.

Note: The responseMethod can only be set if the invitee's status is No Response. | Self-Responded | +| ~~`questions`~~ | List\<[CustomFieldSchema](../../models/components/CustomFieldSchema.md)> | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

A list of answers to contact custom fields. Note: This field is deprecated. Answers to custom contact fields can be found in the 'contact' model, `customFields` field instead. | | +| `answers` | List\<[AttendeeAnswer](../../models/components/AttendeeAnswer.md)> | :heavy_minus_sign: | The list of answers to the registration questions. | | +| `admissionItem` | [Optional\](../../models/components/Attendee1Lookup.md) | :heavy_minus_sign: | Contains details related to the attendee's admission item. | | +| `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 | +| `bio` | *Optional\* | :heavy_minus_sign: | The attendee's biographical writeup. | In west Philadelphia, born and raised, on the playground is where I spent most of my days. | +| ~~`showPopupNotification`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Notification setting in the Attendee Hub app or website. Note: This field is deprecated. Use `allowPushNotification` field instead. | false | +| `websiteUrl` | *Optional\* | :heavy_minus_sign: | An attendee's website URL, appears on their profile. | https://www.example.com | +| `allowPushNotifications` | *Optional\* | :heavy_minus_sign: | True indicates attendee will recieve push notifications for session-schedule changes, promotions and other event activities in the Attendee Hub app. | false | +| `allowAppointmentPushNotifications` | *Optional\* | :heavy_minus_sign: | True indicaites attendee will recieve push notifications for appointments related activities in the Attendee Hub app. | false | +| `testRecord` | *Optional\* | :heavy_minus_sign: | True indicates this attendee record was created as part of a test scenario. | false | +| `attendeeLastModified` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date-time indicates when the attendee's non-contact properties were modified. Updates to the attendee's contact properties do not update this field. This field is updated when planners or attendees make changes to the attendee record, such as flagging as a participant. It is not updated for registration or product changes. | 2018-01-13T02:00:00Z | +| `appointmentGroups` | List\<[AppointmentGroup](../../models/components/AppointmentGroup.md)> | :heavy_minus_sign: | List of appointment groups associated with attendee. These control permissions and visibility in appointments associated with the event. | | +| `credit` | *Optional\* | :heavy_minus_sign: | The amount of credit associated with the attendee. | 10 | \ No newline at end of file diff --git a/packages/java/docs/models/components/Attendee12.md b/packages/java/docs/models/components/Attendee12.md index 6891ead6f..2f07122db 100644 --- a/packages/java/docs/models/components/Attendee12.md +++ b/packages/java/docs/models/components/Attendee12.md @@ -1,10 +1,10 @@ # Attendee12 -A JSON schema representing the Attendee object +The associated Attendee. ## Fields | Field | Type | Required | Description | Example | | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *Optional\* | :heavy_minus_sign: | Attendee id | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `id` | *String* | :heavy_check_mark: | Attendee id | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/java/docs/models/components/Attendee13.md b/packages/java/docs/models/components/Attendee13.md new file mode 100644 index 000000000..57dd59ed1 --- /dev/null +++ b/packages/java/docs/models/components/Attendee13.md @@ -0,0 +1,10 @@ +# Attendee13 + +A JSON schema representing the Attendee object + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *Optional\* | :heavy_minus_sign: | Attendee id | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/java/docs/models/components/Attendee1Event.md b/packages/java/docs/models/components/Attendee1Event.md new file mode 100644 index 000000000..539c4a3e5 --- /dev/null +++ b/packages/java/docs/models/components/Attendee1Event.md @@ -0,0 +1,10 @@ +# Attendee1Event + +The attendee's associated event. + + +## Fields + +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | The event ID. | \ No newline at end of file diff --git a/packages/java/docs/models/components/Attendee1Lookup.md b/packages/java/docs/models/components/Attendee1Lookup.md new file mode 100644 index 000000000..411fc1625 --- /dev/null +++ b/packages/java/docs/models/components/Attendee1Lookup.md @@ -0,0 +1,12 @@ +# Attendee1Lookup + +Contains details related to the attendee's admission item. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `code` | *Optional\* | :heavy_minus_sign: | Code / Abbreviation of the lookup item. | MU | +| `name` | *Optional\* | :heavy_minus_sign: | Name of the lookup item. | Meet up | \ No newline at end of file diff --git a/packages/java/docs/models/components/Attendee2.md b/packages/java/docs/models/components/Attendee2.md index f13da3446..4befb5c5e 100644 --- a/packages/java/docs/models/components/Attendee2.md +++ b/packages/java/docs/models/components/Attendee2.md @@ -5,6 +5,6 @@ The reference to the attendee. Contains only the ID of the attendee. ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `id` | *String* | :heavy_check_mark: | Unique identifier of the primary invitee for the current attendee's registration. | 5b0e8d1f-8fd6-4ebe-977a-602b4a1f9c43 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *String* | :heavy_check_mark: | Attendee ID. | 5b0e8d1f-8fd6-4ebe-977a-602b4a1f9c43 | \ No newline at end of file diff --git a/packages/java/docs/models/components/AttendeeAddBulkItemEventJsonErrorResponse.md b/packages/java/docs/models/components/AttendeeAddBulkItemEventJsonErrorResponse.md index 9f06bc5aa..5da83df05 100644 --- a/packages/java/docs/models/components/AttendeeAddBulkItemEventJsonErrorResponse.md +++ b/packages/java/docs/models/components/AttendeeAddBulkItemEventJsonErrorResponse.md @@ -11,4 +11,4 @@ Represents an error response for the checkin APIs with additional details of cas | `code` | *long* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | | `message` | *String* | :heavy_check_mark: | A brief description of the error. | Bad Request | | `target` | *Optional\* | :heavy_minus_sign: | The target resource of the error. | example target | -| `details` | List\<[ZeroAllOf8](../../models/components/ZeroAllOf8.md)> | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file +| `details` | List\<[ZeroAllOf7](../../models/components/ZeroAllOf7.md)> | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/AttendeeContactInfo.md b/packages/java/docs/models/components/AttendeeContactInfo.md index 03bad567d..10e75c253 100644 --- a/packages/java/docs/models/components/AttendeeContactInfo.md +++ b/packages/java/docs/models/components/AttendeeContactInfo.md @@ -25,10 +25,10 @@ Information about attendee contact added to an event. | `type` | [Optional\](../../models/components/AttendeeContactType.md) | :heavy_minus_sign: | Contains details related to the attendee's contact type. | | | ~~`membership`~~ | [Optional\](../../models/components/AttendeeContactMembership.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Attendee's contact membership information. Note: This field is deprecated. Previous documentation incorrectly listed support for this feature. | | | `primaryAddressType` | [Optional\](../../models/components/AddressType.md) | :heavy_minus_sign: | The type of address. | Home | -| `homeAddress` | [Optional\](../../models/components/Address11.md) | :heavy_minus_sign: | Address details | | +| `homeAddress` | [Optional\](../../models/components/Address3.md) | :heavy_minus_sign: | Address details | | | `homePhone` | *Optional\* | :heavy_minus_sign: | Home phone number | 555-555-5555 | | `homeFax` | *Optional\* | :heavy_minus_sign: | Home FAX number | 555-555-5555 | -| `workAddress` | [Optional\](../../models/components/Address11.md) | :heavy_minus_sign: | Address details | | +| `workAddress` | [Optional\](../../models/components/Address3.md) | :heavy_minus_sign: | Address details | | | `workPhone` | *Optional\* | :heavy_minus_sign: | Work phone number | 555-555-5555 | | `workFax` | *Optional\* | :heavy_minus_sign: | Work FAX number | 555-555-5555 | | `optOut` | [Optional\](../../models/components/OptOut.md) | :heavy_minus_sign: | Opt-out choices. | | diff --git a/packages/java/docs/models/components/AttendeeContactTypeInput.md b/packages/java/docs/models/components/AttendeeContactTypeInput.md new file mode 100644 index 000000000..4af3e60db --- /dev/null +++ b/packages/java/docs/models/components/AttendeeContactTypeInput.md @@ -0,0 +1,10 @@ +# AttendeeContactTypeInput + +Contains details related to the attendee's contact type. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the contact type | 861B51EC-AA7E-475F-B38D-4C8E35C47D63 | \ No newline at end of file diff --git a/packages/java/docs/models/components/AttendeeContactTypeJson.md b/packages/java/docs/models/components/AttendeeContactTypeJson.md deleted file mode 100644 index 53aef7564..000000000 --- a/packages/java/docs/models/components/AttendeeContactTypeJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# AttendeeContactTypeJson - -Contains details related to the attendee's contact type. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the contact type | 861B51EC-AA7E-475F-B38D-4C8E35C47D63 | -| `name` | *Optional\* | :heavy_minus_sign: | A descriptive name for the contact type | VIP Member | \ No newline at end of file diff --git a/packages/java/docs/models/components/AttendeeContactTypeJsonInput.md b/packages/java/docs/models/components/AttendeeContactTypeJsonInput.md deleted file mode 100644 index ca618606e..000000000 --- a/packages/java/docs/models/components/AttendeeContactTypeJsonInput.md +++ /dev/null @@ -1,10 +0,0 @@ -# AttendeeContactTypeJsonInput - -Contains details related to the attendee's contact type. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the contact type | 861B51EC-AA7E-475F-B38D-4C8E35C47D63 | \ No newline at end of file diff --git a/packages/java/docs/models/components/AttendeeEvent.md b/packages/java/docs/models/components/AttendeeEvent.md deleted file mode 100644 index ae19e683e..000000000 --- a/packages/java/docs/models/components/AttendeeEvent.md +++ /dev/null @@ -1,10 +0,0 @@ -# AttendeeEvent - -The attendee's associated event. - - -## Fields - -| Field | Type | Required | Description | -| ------------------- | ------------------- | ------------------- | ------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | The event ID. | \ No newline at end of file diff --git a/packages/java/docs/models/components/AttendeeInsights.md b/packages/java/docs/models/components/AttendeeInsights.md index 1f908d136..a457e02fe 100644 --- a/packages/java/docs/models/components/AttendeeInsights.md +++ b/packages/java/docs/models/components/AttendeeInsights.md @@ -14,5 +14,5 @@ Attendee insights. | `id` | *String* | :heavy_check_mark: | The identifier of the engagement score. | 3f1b949b-2f69-42e2-b205-3780f9a76eaf | | `name` | *String* | :heavy_check_mark: | Name of the engagement score. | General Interest | | `description` | *Optional\* | :heavy_minus_sign: | Description of the engagement score. | A score to capture engagement for general attendees. | -| `event` | [EventJson6](../../models/components/EventJson6.md) | :heavy_check_mark: | An event reference used in attendee insights to identify the event context for engagement data | | +| `event` | [EventJson5](../../models/components/EventJson5.md) | :heavy_check_mark: | An event reference used in attendee insights to identify the event context for engagement data | | | `default_` | *boolean* | :heavy_check_mark: | True indicates this is the default engagement score in the event. | false | \ No newline at end of file diff --git a/packages/java/docs/models/components/AttendeeLookup.md b/packages/java/docs/models/components/AttendeeLookup.md deleted file mode 100644 index 0b10f8af6..000000000 --- a/packages/java/docs/models/components/AttendeeLookup.md +++ /dev/null @@ -1,12 +0,0 @@ -# AttendeeLookup - -Contains details related to the attendee's admission item. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `code` | *Optional\* | :heavy_minus_sign: | Code / Abbreviation of the lookup item. | MU | -| `name` | *Optional\* | :heavy_minus_sign: | Name of the lookup item. | Meet up | \ No newline at end of file diff --git a/packages/java/docs/models/components/AttendeePaginatedResponse.md b/packages/java/docs/models/components/AttendeePaginatedResponse.md index 16f6287cb..80367550f 100644 --- a/packages/java/docs/models/components/AttendeePaginatedResponse.md +++ b/packages/java/docs/models/components/AttendeePaginatedResponse.md @@ -8,4 +8,4 @@ The response from a request to get the list of attendees. This includes the pagi | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | | `paging` | [Paging](../../models/components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | List\<[Attendee1](../../models/components/Attendee1.md)> | :heavy_check_mark: | Collection of attendees. | \ No newline at end of file +| `data` | List\<[Attendee11](../../models/components/Attendee11.md)> | :heavy_check_mark: | Collection of attendees. | \ No newline at end of file diff --git a/packages/java/docs/models/components/AttendeesPaginatedResponse.md b/packages/java/docs/models/components/AttendeesPaginatedResponse.md new file mode 100644 index 000000000..2ecc451a3 --- /dev/null +++ b/packages/java/docs/models/components/AttendeesPaginatedResponse.md @@ -0,0 +1,11 @@ +# AttendeesPaginatedResponse + +A paginated response containing a list of attendees who have redeemed a voucher. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `paging` | [Paging](../../models/components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `data` | List\<[Attendee2](../../models/components/Attendee2.md)> | :heavy_check_mark: | Collection of attendees who have redeemed the voucher. | \ No newline at end of file diff --git a/packages/java/docs/models/components/AudienceSegment.md b/packages/java/docs/models/components/AudienceSegment.md index aea8d0a2b..e2507ed36 100644 --- a/packages/java/docs/models/components/AudienceSegment.md +++ b/packages/java/docs/models/components/AudienceSegment.md @@ -7,6 +7,6 @@ Represents an audience segment. Audience segments are assigned to events and pro | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | -| `event` | [EventJson1](../../models/components/EventJson1.md) | :heavy_check_mark: | ID of the event. | | +| `event` | [EventJson](../../models/components/EventJson.md) | :heavy_check_mark: | ID of the event. | | | `name` | *String* | :heavy_check_mark: | Name of the audience segment. Must be unique in the event where the segment exists. | VIP Attendees | | `description` | *Optional\* | :heavy_minus_sign: | Description of the audience segment. | A group of VIP attendees. | \ No newline at end of file diff --git a/packages/java/docs/models/components/AudienceSegmentCreate.md b/packages/java/docs/models/components/AudienceSegmentCreate.md index 0722504e8..b07e0f6b7 100644 --- a/packages/java/docs/models/components/AudienceSegmentCreate.md +++ b/packages/java/docs/models/components/AudienceSegmentCreate.md @@ -7,7 +7,7 @@ Represents a request to create an audience segment. | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `event` | [EventJson1](../../models/components/EventJson1.md) | :heavy_check_mark: | ID of the event. | | +| `event` | [EventJson](../../models/components/EventJson.md) | :heavy_check_mark: | ID of the event. | | | `name` | *String* | :heavy_check_mark: | Name of the audience segment. Must be unique in the event where the segment exists. | VIP Attendees | | `description` | *Optional\* | :heavy_minus_sign: | Description of the audience segment. | A group of VIP attendees. | | `creationType` | [Optional\](../../models/components/AudienceSegmentCreationTypeJson.md) | :heavy_minus_sign: | Creation type of the audience segment. | MANUAL | \ No newline at end of file diff --git a/packages/java/docs/models/components/AudienceSegmentResponse.md b/packages/java/docs/models/components/AudienceSegmentResponse.md index 58a002fe9..ec4ac5330 100644 --- a/packages/java/docs/models/components/AudienceSegmentResponse.md +++ b/packages/java/docs/models/components/AudienceSegmentResponse.md @@ -11,7 +11,7 @@ Details of an audience segment. | `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 | -| `event` | [EventJson1](../../models/components/EventJson1.md) | :heavy_check_mark: | ID of the event. | | +| `event` | [EventJson](../../models/components/EventJson.md) | :heavy_check_mark: | ID of the event. | | | `name` | *String* | :heavy_check_mark: | Name of the audience segment. Must be unique in the event where the segment exists. | VIP Attendees | | `description` | *Optional\* | :heavy_minus_sign: | Description of the audience segment. | A group of VIP attendees. | | `id` | *Optional\* | :heavy_minus_sign: | ID of the audience segment. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | diff --git a/packages/java/docs/models/components/AudioTrackStatus.md b/packages/java/docs/models/components/AudioTrackStatus.md new file mode 100644 index 000000000..b689cb341 --- /dev/null +++ b/packages/java/docs/models/components/AudioTrackStatus.md @@ -0,0 +1,25 @@ +# AudioTrackStatus + +Denotes the status of an audio track. Started indicates the request to upload in the API was submitted, and the URL you'll upload an audio track to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the audio track. Available indicates the audio track is available for use. + +## Example Usage + +```java +import com.cvent.models.components.AudioTrackStatus; + +AudioTrackStatus value = AudioTrackStatus.STARTED; +``` + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `STARTED` | Started | +| `UPLOADED` | Uploaded | +| `SCANNING` | Scanning | +| `SCANNED` | Scanned | +| `SYNCING` | Syncing | +| `REJECTED` | Rejected | +| `ERROR` | Error | +| `AVAILABLE` | Available | \ No newline at end of file diff --git a/packages/java/docs/models/components/AudioTrackStatusJson.md b/packages/java/docs/models/components/AudioTrackStatusJson.md deleted file mode 100644 index 8bb97a4c5..000000000 --- a/packages/java/docs/models/components/AudioTrackStatusJson.md +++ /dev/null @@ -1,25 +0,0 @@ -# AudioTrackStatusJson - -Denotes the status of an audio track. Started indicates the request to upload in the API was submitted, and the URL you'll upload an audio track to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the audio track. Available indicates the audio track is available for use. - -## Example Usage - -```java -import com.cvent.models.components.AudioTrackStatusJson; - -AudioTrackStatusJson value = AudioTrackStatusJson.STARTED; -``` - - -## Values - -| Name | Value | -| ----------- | ----------- | -| `STARTED` | Started | -| `UPLOADED` | Uploaded | -| `SCANNING` | Scanning | -| `SCANNED` | Scanned | -| `SYNCING` | Syncing | -| `REJECTED` | Rejected | -| `ERROR` | Error | -| `AVAILABLE` | Available | \ No newline at end of file diff --git a/packages/java/docs/models/components/AudioTrackType.md b/packages/java/docs/models/components/AudioTrackType.md new file mode 100644 index 000000000..cd6118cc8 --- /dev/null +++ b/packages/java/docs/models/components/AudioTrackType.md @@ -0,0 +1,27 @@ +# AudioTrackType + +Denotes the file format of the audio track. + +## Example Usage + +```java +import com.cvent.models.components.AudioTrackType; + +AudioTrackType value = AudioTrackType.ASF; +``` + + +## Values + +| Name | Value | +| ----- | ----- | +| `ASF` | asf | +| `WMA` | wma | +| `WMV` | wmv | +| `MP3` | mp3 | +| `TS` | ts | +| `MP4` | mp4 | +| `MKA` | mka | +| `OGA` | oga | +| `MOV` | mov | +| `WAV` | wav | \ No newline at end of file diff --git a/packages/java/docs/models/components/AudioTrackTypeJson.md b/packages/java/docs/models/components/AudioTrackTypeJson.md deleted file mode 100644 index 4a4ac3526..000000000 --- a/packages/java/docs/models/components/AudioTrackTypeJson.md +++ /dev/null @@ -1,27 +0,0 @@ -# AudioTrackTypeJson - -Denotes the file format of the audio track. - -## Example Usage - -```java -import com.cvent.models.components.AudioTrackTypeJson; - -AudioTrackTypeJson value = AudioTrackTypeJson.ASF; -``` - - -## Values - -| Name | Value | -| ----- | ----- | -| `ASF` | asf | -| `WMA` | wma | -| `WMV` | wmv | -| `MP3` | mp3 | -| `TS` | ts | -| `MP4` | mp4 | -| `MKA` | mka | -| `OGA` | oga | -| `MOV` | mov | -| `WAV` | wav | \ No newline at end of file diff --git a/packages/java/docs/models/components/AudioTrackVariant.md b/packages/java/docs/models/components/AudioTrackVariant.md new file mode 100644 index 000000000..93cde2795 --- /dev/null +++ b/packages/java/docs/models/components/AudioTrackVariant.md @@ -0,0 +1,22 @@ +# AudioTrackVariant + +Denotes the variant of an audio track. Main is the primary audio track for this video. Alternate is a possible alternative to the main track. Commentary is a commentary on the primary audio or video track, e.g. a director's commentary. Dub is a translated version of the main audio track. Descriptive is an audio description of a video track. + +## Example Usage + +```java +import com.cvent.models.components.AudioTrackVariant; + +AudioTrackVariant value = AudioTrackVariant.MAIN; +``` + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `MAIN` | Main | +| `ALTERNATE` | Alternate | +| `COMMENTARY` | Commentary | +| `DUB` | Dub | +| `DESCRIPTIVE` | Descriptive | \ No newline at end of file diff --git a/packages/java/docs/models/components/AudioTrackVariantJson.md b/packages/java/docs/models/components/AudioTrackVariantJson.md deleted file mode 100644 index 5897d8181..000000000 --- a/packages/java/docs/models/components/AudioTrackVariantJson.md +++ /dev/null @@ -1,22 +0,0 @@ -# AudioTrackVariantJson - -Denotes the variant of an audio track. Main is the primary audio track for this video. Alternate is a possible alternative to the main track. Commentary is a commentary on the primary audio or video track, e.g. a director's commentary. Dub is a translated version of the main audio track. Descriptive is an audio description of a video track. - -## Example Usage - -```java -import com.cvent.models.components.AudioTrackVariantJson; - -AudioTrackVariantJson value = AudioTrackVariantJson.MAIN; -``` - - -## Values - -| Name | Value | -| ------------- | ------------- | -| `MAIN` | Main | -| `ALTERNATE` | Alternate | -| `COMMENTARY` | Commentary | -| `DUB` | Dub | -| `DESCRIPTIVE` | Descriptive | \ No newline at end of file diff --git a/packages/java/docs/models/components/Badge.md b/packages/java/docs/models/components/Badge.md index 7b4c13365..fb47b952f 100644 --- a/packages/java/docs/models/components/Badge.md +++ b/packages/java/docs/models/components/Badge.md @@ -14,5 +14,5 @@ A JSON Schema for Badge object. | `id` | *String* | :heavy_check_mark: | Id of a badge | abc123 | | `status` | [BadgeStatus](../../models/components/BadgeStatus.md) | :heavy_check_mark: | Badge status | Active | | `type` | [BadgeType](../../models/components/BadgeType.md) | :heavy_check_mark: | Badge type | Epc | -| `attendee` | [Attendee11](../../models/components/Attendee11.md) | :heavy_check_mark: | The associated Attendee. | | -| `event` | [Event21](../../models/components/Event21.md) | :heavy_check_mark: | The Associated Event. | | \ No newline at end of file +| `attendee` | [Attendee12](../../models/components/Attendee12.md) | :heavy_check_mark: | The associated Attendee. | | +| `event` | [Event3](../../models/components/Event3.md) | :heavy_check_mark: | The Associated Event. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/BadgeInput.md b/packages/java/docs/models/components/BadgeInput.md index 02aa241a3..cda55fbf2 100644 --- a/packages/java/docs/models/components/BadgeInput.md +++ b/packages/java/docs/models/components/BadgeInput.md @@ -10,5 +10,5 @@ A JSON Schema for Badge object. | `id` | *String* | :heavy_check_mark: | Id of a badge | abc123 | | `status` | [BadgeStatus](../../models/components/BadgeStatus.md) | :heavy_check_mark: | Badge status | Active | | `type` | [BadgeType](../../models/components/BadgeType.md) | :heavy_check_mark: | Badge type | Epc | -| `attendee` | [Attendee11](../../models/components/Attendee11.md) | :heavy_check_mark: | The associated Attendee. | | -| `event` | [Event21](../../models/components/Event21.md) | :heavy_check_mark: | The Associated Event. | | \ No newline at end of file +| `attendee` | [Attendee12](../../models/components/Attendee12.md) | :heavy_check_mark: | The associated Attendee. | | +| `event` | [Event3](../../models/components/Event3.md) | :heavy_check_mark: | The Associated Event. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/BidItemStatusType.md b/packages/java/docs/models/components/BidItemStatusType.md new file mode 100644 index 000000000..6f4a8b5de --- /dev/null +++ b/packages/java/docs/models/components/BidItemStatusType.md @@ -0,0 +1,21 @@ +# BidItemStatusType + +The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + +## Example Usage + +```java +import com.cvent.models.components.BidItemStatusType; + +BidItemStatusType value = BidItemStatusType.REQUESTED; +``` + + +## Values + +| Name | Value | +| ------------------ | ------------------ | +| `REQUESTED` | requested | +| `DELETE_REQUESTED` | delete_requested | +| `DELETED` | deleted | +| `NOT_AVAILABLE` | not_available | \ No newline at end of file diff --git a/packages/java/docs/models/components/BidItemStatusTypeJson.md b/packages/java/docs/models/components/BidItemStatusTypeJson.md deleted file mode 100644 index 0ecaddfaa..000000000 --- a/packages/java/docs/models/components/BidItemStatusTypeJson.md +++ /dev/null @@ -1,21 +0,0 @@ -# BidItemStatusTypeJson - -The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. - -## Example Usage - -```java -import com.cvent.models.components.BidItemStatusTypeJson; - -BidItemStatusTypeJson value = BidItemStatusTypeJson.REQUESTED; -``` - - -## Values - -| Name | Value | -| ------------------ | ------------------ | -| `REQUESTED` | requested | -| `DELETE_REQUESTED` | delete_requested | -| `DELETED` | deleted | -| `NOT_AVAILABLE` | not_available | \ No newline at end of file diff --git a/packages/java/docs/models/components/BidStatusType.md b/packages/java/docs/models/components/BidStatusType.md new file mode 100644 index 000000000..19c4edee7 --- /dev/null +++ b/packages/java/docs/models/components/BidStatusType.md @@ -0,0 +1,20 @@ +# BidStatusType + +Bid stay type. + +## Example Usage + +```java +import com.cvent.models.components.BidStatusType; + +BidStatusType value = BidStatusType.IN_PROGRESS; +``` + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `IN_PROGRESS` | in_progress | +| `ATTACHED` | attached | +| `DELETED` | deleted | \ No newline at end of file diff --git a/packages/java/docs/models/components/BidStatusTypeJson.md b/packages/java/docs/models/components/BidStatusTypeJson.md deleted file mode 100644 index 40c4dfe51..000000000 --- a/packages/java/docs/models/components/BidStatusTypeJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# BidStatusTypeJson - -Bid stay type. - -## Example Usage - -```java -import com.cvent.models.components.BidStatusTypeJson; - -BidStatusTypeJson value = BidStatusTypeJson.IN_PROGRESS; -``` - - -## Values - -| Name | Value | -| ------------- | ------------- | -| `IN_PROGRESS` | in_progress | -| `ATTACHED` | attached | -| `DELETED` | deleted | \ No newline at end of file diff --git a/packages/java/docs/models/components/BidStayType.md b/packages/java/docs/models/components/BidStayType.md new file mode 100644 index 000000000..9532ab506 --- /dev/null +++ b/packages/java/docs/models/components/BidStayType.md @@ -0,0 +1,19 @@ +# BidStayType + +Bid stay type. + +## Example Usage + +```java +import com.cvent.models.components.BidStayType; + +BidStayType value = BidStayType.DAILY; +``` + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `DAILY` | daily | +| `EXTENDED` | extended | \ No newline at end of file diff --git a/packages/java/docs/models/components/BidStayTypeJson.md b/packages/java/docs/models/components/BidStayTypeJson.md deleted file mode 100644 index a7565acc6..000000000 --- a/packages/java/docs/models/components/BidStayTypeJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# BidStayTypeJson - -Bid stay type. - -## Example Usage - -```java -import com.cvent.models.components.BidStayTypeJson; - -BidStayTypeJson value = BidStayTypeJson.DAILY; -``` - - -## Values - -| Name | Value | -| ---------- | ---------- | -| `DAILY` | daily | -| `EXTENDED` | extended | \ No newline at end of file diff --git a/packages/java/docs/models/components/BillingDetails1.md b/packages/java/docs/models/components/BillingDetails1.md new file mode 100644 index 000000000..7f58c6632 --- /dev/null +++ b/packages/java/docs/models/components/BillingDetails1.md @@ -0,0 +1,14 @@ +# BillingDetails1 + +Billing details for RFP. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `additionalInformation` | *Optional\* | :heavy_minus_sign: | Information regarding billing. | Guest rooms will be a mix of IPO and RM&TX to master. Will submit rooming list with billing specified. Credit card will be provided as guarantee. | +| `concessionsContractualInfo` | *Optional\* | :heavy_minus_sign: | Concessions and contractual information. | Request use of LOI or Express Agreement. | +| `rebateType` | [Optional\](../../models/components/RebateType.md) | :heavy_minus_sign: | Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will represent a percentage. | | +| `acceptingRebatesAndIncentives` | *Optional\* | :heavy_minus_sign: | True indicates that rebates and incentives are accepted, applicable only for citywide RFPs. | | +| `rebateValue` | *Optional\* | :heavy_minus_sign: | The value of the rebate. The impact of this value on the price is determined by `RebateType`. | 10 | \ No newline at end of file diff --git a/packages/java/docs/models/components/BillingDetailsJson0.md b/packages/java/docs/models/components/BillingDetailsJson0.md deleted file mode 100644 index 258a8e026..000000000 --- a/packages/java/docs/models/components/BillingDetailsJson0.md +++ /dev/null @@ -1,14 +0,0 @@ -# BillingDetailsJson0 - -Billing details for RFP. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `additionalInformation` | *Optional\* | :heavy_minus_sign: | Information regarding billing. | Guest rooms will be a mix of IPO and RM&TX to master. Will submit rooming list with billing specified. Credit card will be provided as guarantee. | -| `concessionsContractualInfo` | *Optional\* | :heavy_minus_sign: | Concessions and contractual information. | Request use of LOI or Express Agreement. | -| `rebateType` | [Optional\](../../models/components/RebateTypeJson.md) | :heavy_minus_sign: | Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will represent a percentage. | | -| `acceptingRebatesAndIncentives` | *Optional\* | :heavy_minus_sign: | True indicates that rebates and incentives are accepted, applicable only for citywide RFPs. | | -| `rebateValue` | *Optional\* | :heavy_minus_sign: | The value of the rebate. The impact of this value on the price is determined by `RebateType`. | 10 | \ No newline at end of file diff --git a/packages/java/docs/models/components/BoothStaffRequest.md b/packages/java/docs/models/components/BoothStaffRequest.md index cf1cc66c3..798ce7ca1 100644 --- a/packages/java/docs/models/components/BoothStaffRequest.md +++ b/packages/java/docs/models/components/BoothStaffRequest.md @@ -7,6 +7,6 @@ A JSON schema representing booth staff. | Field | Type | Required | Description | | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | -| `attendee` | [Attendee11](../../models/components/Attendee11.md) | :heavy_check_mark: | The associated Attendee. | -| `event` | [Event21](../../models/components/Event21.md) | :heavy_check_mark: | The Associated Event. | +| `attendee` | [Attendee12](../../models/components/Attendee12.md) | :heavy_check_mark: | The associated Attendee. | +| `event` | [Event3](../../models/components/Event3.md) | :heavy_check_mark: | The Associated Event. | | `exhibitor` | [Exhibitor](../../models/components/Exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | \ No newline at end of file diff --git a/packages/java/docs/models/components/BoothStaffResponse.md b/packages/java/docs/models/components/BoothStaffResponse.md index 97a9358a6..278d1bc91 100644 --- a/packages/java/docs/models/components/BoothStaffResponse.md +++ b/packages/java/docs/models/components/BoothStaffResponse.md @@ -11,7 +11,7 @@ Booth staff with an associated ID. | `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` | [Attendee11](../../models/components/Attendee11.md) | :heavy_check_mark: | The associated Attendee. | | -| `event` | [Event21](../../models/components/Event21.md) | :heavy_check_mark: | The Associated Event. | | +| `attendee` | [Attendee12](../../models/components/Attendee12.md) | :heavy_check_mark: | The associated Attendee. | | +| `event` | [Event3](../../models/components/Event3.md) | :heavy_check_mark: | The Associated Event. | | | `exhibitor` | [Exhibitor](../../models/components/Exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | | `id` | *Optional\* | :heavy_minus_sign: | ID of an exhibitor booth staff member. | 4e0f5152-515e-11ee-be56-0242ac120002 | \ No newline at end of file diff --git a/packages/java/docs/models/components/BounceDetailsJson.md b/packages/java/docs/models/components/BounceDetailsJson.md index 708a70807..b29f912a0 100644 --- a/packages/java/docs/models/components/BounceDetailsJson.md +++ b/packages/java/docs/models/components/BounceDetailsJson.md @@ -16,6 +16,6 @@ Email bounce details. | `subject` | *Optional\* | :heavy_minus_sign: | Subject of email. | Invitation to the event | | `productLine` | [Optional\](../../models/components/ProductLineJson.md) | :heavy_minus_sign: | Cvent product lines or additional features. | EVENT | | `productId` | *Optional\* | :heavy_minus_sign: | Unique ID of the product. | 2A941E55-3367-4C50-B21B-B6A7613DFB23 | -| `emailType` | [Optional\](../../models/components/EmailTypeJson3.md) | :heavy_minus_sign: | Denotes the type of the email. | Invitation | +| `emailType` | [Optional\](../../models/components/EmailTypeJson1.md) | :heavy_minus_sign: | Denotes the type of the email. | Invitation | | `emailId` | *Optional\* | :heavy_minus_sign: | Unique ID of the email. | 2A941E55-3367-4C50-B21B-B6A7613DFB23 | | `created` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 formatted date time (in UTC) when the email was sent. | 2023-01-01T02:00:00Z | \ No newline at end of file diff --git a/packages/java/docs/models/components/BounceDetailsResponse.md b/packages/java/docs/models/components/BounceDetailsResponse.md index ab56a73b1..92d95e005 100644 --- a/packages/java/docs/models/components/BounceDetailsResponse.md +++ b/packages/java/docs/models/components/BounceDetailsResponse.md @@ -5,7 +5,7 @@ The response from a request to get the bounce details of an email. This includes ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `paging` | [PagingNoTotalCountJson2](../../models/components/PagingNoTotalCountJson2.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | List\<[BounceDetailsJson](../../models/components/BounceDetailsJson.md)> | :heavy_check_mark: | Bounce details. | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `paging` | [PagingNoTotalCountJson](../../models/components/PagingNoTotalCountJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `data` | List\<[BounceDetailsJson](../../models/components/BounceDetailsJson.md)> | :heavy_check_mark: | Bounce details. | \ No newline at end of file diff --git a/packages/java/docs/models/components/Brand.md b/packages/java/docs/models/components/Brand.md index 1d1a220dd..4b223de32 100644 --- a/packages/java/docs/models/components/Brand.md +++ b/packages/java/docs/models/components/Brand.md @@ -13,5 +13,5 @@ Brand details. | `lastModifiedBy` | *Optional\* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | | `id` | *Optional\* | :heavy_minus_sign: | The ID of the travel supplier brand. | NorthernHotels | | `name` | *Optional\* | :heavy_minus_sign: | The name of the travel supplier brand. | Northern Hotel Group | -| `address` | [Optional\](../../models/components/AddressJson3.md) | :heavy_minus_sign: | A physical address. | | +| `address` | [Optional\](../../models/components/AddressJson1.md) | :heavy_minus_sign: | A physical address. | | | `deleted` | *Optional\* | :heavy_minus_sign: | True indicates the brand is deleted. | false | \ No newline at end of file diff --git a/packages/java/docs/models/components/BrideGroomType.md b/packages/java/docs/models/components/BrideGroomType.md new file mode 100644 index 000000000..7124dacc8 --- /dev/null +++ b/packages/java/docs/models/components/BrideGroomType.md @@ -0,0 +1,19 @@ +# BrideGroomType + +BrideGroomType + +## Example Usage + +```java +import com.cvent.models.components.BrideGroomType; + +BrideGroomType value = BrideGroomType.BRIDE; +``` + + +## Values + +| Name | Value | +| ------- | ------- | +| `BRIDE` | BRIDE | +| `GROOM` | GROOM | \ No newline at end of file diff --git a/packages/java/docs/models/components/BrideGroomTypeJson0.md b/packages/java/docs/models/components/BrideGroomTypeJson0.md deleted file mode 100644 index c54480eb9..000000000 --- a/packages/java/docs/models/components/BrideGroomTypeJson0.md +++ /dev/null @@ -1,19 +0,0 @@ -# BrideGroomTypeJson0 - -Bride groom type. - -## Example Usage - -```java -import com.cvent.models.components.BrideGroomTypeJson0; - -BrideGroomTypeJson0 value = BrideGroomTypeJson0.BRIDE; -``` - - -## Values - -| Name | Value | -| ------- | ------- | -| `BRIDE` | BRIDE | -| `GROOM` | GROOM | \ No newline at end of file diff --git a/packages/java/docs/models/components/BusinessType.md b/packages/java/docs/models/components/BusinessType.md new file mode 100644 index 000000000..f248732ce --- /dev/null +++ b/packages/java/docs/models/components/BusinessType.md @@ -0,0 +1,19 @@ +# BusinessType + +Business type. + +## Example Usage + +```java +import com.cvent.models.components.BusinessType; + +BusinessType value = BusinessType.CORPORATE; +``` + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `CORPORATE` | corporate | +| `LEISURE` | leisure | \ No newline at end of file diff --git a/packages/java/docs/models/components/BusinessTypeJson.md b/packages/java/docs/models/components/BusinessTypeJson.md deleted file mode 100644 index c641e1e65..000000000 --- a/packages/java/docs/models/components/BusinessTypeJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# BusinessTypeJson - -Business type. - -## Example Usage - -```java -import com.cvent.models.components.BusinessTypeJson; - -BusinessTypeJson value = BusinessTypeJson.CORPORATE; -``` - - -## Values - -| Name | Value | -| ----------- | ----------- | -| `CORPORATE` | corporate | -| `LEISURE` | leisure | \ No newline at end of file diff --git a/packages/java/docs/models/components/CancellationDetails.md b/packages/java/docs/models/components/CancellationDetails.md new file mode 100644 index 000000000..0ba7cb3d1 --- /dev/null +++ b/packages/java/docs/models/components/CancellationDetails.md @@ -0,0 +1,12 @@ +# CancellationDetails + +Information about cancellation of RFP. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `dateTime` | [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 cancelled. | 2021-01-13T14:06:20.080Z | +| `reason` | [Optional\](../../models/components/CancelledReason1.md) | :heavy_minus_sign: | Reason for cancelling the RFP. | | +| `comments` | *Optional\* | :heavy_minus_sign: | Additional comments while cancelling the RFP. | I am cancelling my event, postponing to Q4. | \ No newline at end of file diff --git a/packages/java/docs/models/components/CancellationDetailsJson.md b/packages/java/docs/models/components/CancellationDetailsJson.md deleted file mode 100644 index f28b78db8..000000000 --- a/packages/java/docs/models/components/CancellationDetailsJson.md +++ /dev/null @@ -1,12 +0,0 @@ -# CancellationDetailsJson - -Information about cancellation of RFP. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `dateTime` | [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 cancelled. | 2021-01-13T14:06:20.080Z | -| `reason` | [Optional\](../../models/components/CancelledReasonJson0.md) | :heavy_minus_sign: | Reason for cancelling the RFP. | | -| `comments` | *Optional\* | :heavy_minus_sign: | Additional comments while cancelling the RFP. | I am cancelling my event, postponing to Q4. | \ No newline at end of file diff --git a/packages/java/docs/models/components/CancelledReason1.md b/packages/java/docs/models/components/CancelledReason1.md new file mode 100644 index 000000000..6b12d9f5b --- /dev/null +++ b/packages/java/docs/models/components/CancelledReason1.md @@ -0,0 +1,27 @@ +# CancelledReason1 + +Reason for cancelling the RFP. + +## Example Usage + +```java +import com.cvent.models.components.CancelledReason1; + +CancelledReason1 value = CancelledReason1.BOOKED_ANOTHER_VENUE_OR_DESTINATION; +``` + + +## Values + +| Name | Value | +| ------------------------------------- | ------------------------------------- | +| `BOOKED_ANOTHER_VENUE_OR_DESTINATION` | BOOKED_ANOTHER_VENUE_OR_DESTINATION | +| `CLIENT_BOOKED_DIRECTLY` | CLIENT_BOOKED_DIRECTLY | +| `EPIDEMIC_OR_PANDEMIC` | EPIDEMIC_OR_PANDEMIC | +| `EVENT_CANCELLED` | EVENT_CANCELLED | +| `EVENT_POSTPONED` | EVENT_POSTPONED | +| `MEDICAL_EMERGENCY` | MEDICAL_EMERGENCY | +| `NATURAL_DISASTER` | NATURAL_DISASTER | +| `OTHER` | OTHER | +| `POLITICAL_OR_CIVIL_UNREST` | POLITICAL_OR_CIVIL_UNREST | +| `REQUIREMENTS_CHANGED` | REQUIREMENTS_CHANGED | \ No newline at end of file diff --git a/packages/java/docs/models/components/CancelledReasonJson0.md b/packages/java/docs/models/components/CancelledReasonJson0.md deleted file mode 100644 index 2f03e1ec0..000000000 --- a/packages/java/docs/models/components/CancelledReasonJson0.md +++ /dev/null @@ -1,27 +0,0 @@ -# CancelledReasonJson0 - -Reason for cancelling the RFP. - -## Example Usage - -```java -import com.cvent.models.components.CancelledReasonJson0; - -CancelledReasonJson0 value = CancelledReasonJson0.BOOKED_ANOTHER_VENUE_OR_DESTINATION; -``` - - -## Values - -| Name | Value | -| ------------------------------------- | ------------------------------------- | -| `BOOKED_ANOTHER_VENUE_OR_DESTINATION` | BOOKED_ANOTHER_VENUE_OR_DESTINATION | -| `CLIENT_BOOKED_DIRECTLY` | CLIENT_BOOKED_DIRECTLY | -| `EPIDEMIC_OR_PANDEMIC` | EPIDEMIC_OR_PANDEMIC | -| `EVENT_CANCELLED` | EVENT_CANCELLED | -| `EVENT_POSTPONED` | EVENT_POSTPONED | -| `MEDICAL_EMERGENCY` | MEDICAL_EMERGENCY | -| `NATURAL_DISASTER` | NATURAL_DISASTER | -| `OTHER` | OTHER | -| `POLITICAL_OR_CIVIL_UNREST` | POLITICAL_OR_CIVIL_UNREST | -| `REQUIREMENTS_CHANGED` | REQUIREMENTS_CHANGED | \ No newline at end of file diff --git a/packages/java/docs/models/components/Category.md b/packages/java/docs/models/components/Category.md new file mode 100644 index 000000000..6cb533d44 --- /dev/null +++ b/packages/java/docs/models/components/Category.md @@ -0,0 +1,13 @@ +# Category + +A question category. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | Text field ID. | | +| `text` | *Optional\* | :heavy_minus_sign: | Text value of the field. Displays to users in the UI. | Are you spending any significant time offsite and need transportation? | +| `shortText` | *Optional\* | :heavy_minus_sign: | Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. | Needs offsite transportation? | +| `required` | *Optional\* | :heavy_minus_sign: | True indicates the category is mandatory for answer. | true | \ No newline at end of file diff --git a/packages/java/docs/models/components/CategoryIdNameJson.md b/packages/java/docs/models/components/CategoryIdNameJson.md deleted file mode 100644 index 9d75d70e6..000000000 --- a/packages/java/docs/models/components/CategoryIdNameJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# CategoryIdNameJson - -A defined speaker category. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `id` | *String* | :heavy_check_mark: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `name` | *Optional\* | :heavy_minus_sign: | The name of the speaker category | Presenters | \ No newline at end of file diff --git a/packages/java/docs/models/components/CategoryItemsCostJson.md b/packages/java/docs/models/components/CategoryItemsCostJson.md index 3e86e0380..6d569f983 100644 --- a/packages/java/docs/models/components/CategoryItemsCostJson.md +++ b/packages/java/docs/models/components/CategoryItemsCostJson.md @@ -7,8 +7,8 @@ Category items cost. DEPRECATED - This field is deprecated. Only applied to prop ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `notes` | *Optional\* | :heavy_minus_sign: | Notes on category items cost from the venue. | We are offering a discount on projectors. | -| `totalCost` | *Optional\* | :heavy_minus_sign: | Total cost across all categories. | 10000.99 | -| `categories` | List\<[CategoryJson1](../../models/components/CategoryJson1.md)> | :heavy_minus_sign: | List of categories. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `notes` | *Optional\* | :heavy_minus_sign: | Notes on category items cost from the venue. | We are offering a discount on projectors. | +| `totalCost` | *Optional\* | :heavy_minus_sign: | Total cost across all categories. | 10000.99 | +| `categories` | List\<[CategoryJson](../../models/components/CategoryJson.md)> | :heavy_minus_sign: | List of categories. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/CategoryJson.md b/packages/java/docs/models/components/CategoryJson.md index c43570f7b..82d96f553 100644 --- a/packages/java/docs/models/components/CategoryJson.md +++ b/packages/java/docs/models/components/CategoryJson.md @@ -1,13 +1,13 @@ # CategoryJson -A question category. +A category of items. ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | Text field ID. | | -| `text` | *Optional\* | :heavy_minus_sign: | Text value of the field. Displays to users in the UI. | Are you spending any significant time offsite and need transportation? | -| `shortText` | *Optional\* | :heavy_minus_sign: | Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. | Needs offsite transportation? | -| `required` | *Optional\* | :heavy_minus_sign: | True indicates the category is mandatory for answer. | true | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `type` | *Optional\* | :heavy_minus_sign: | The category type. | AVProduction | +| `name` | *Optional\* | :heavy_minus_sign: | The name of the category. | Audio Video Production | +| `totalCost` | *Optional\* | :heavy_minus_sign: | Total cost for all items within this category. | 10000.99 | +| `items` | List\<[ItemJson](../../models/components/ItemJson.md)> | :heavy_minus_sign: | List of items in this category. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/CategoryJson1.md b/packages/java/docs/models/components/CategoryJson1.md index 112767857..32ad4cfb9 100644 --- a/packages/java/docs/models/components/CategoryJson1.md +++ b/packages/java/docs/models/components/CategoryJson1.md @@ -1,13 +1,13 @@ # CategoryJson1 -A category of items. +A survey category. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `type` | *Optional\* | :heavy_minus_sign: | The category type. | AVProduction | -| `name` | *Optional\* | :heavy_minus_sign: | The name of the category. | Audio Video Production | -| `totalCost` | *Optional\* | :heavy_minus_sign: | Total cost for all items within this category. | 10000.99 | -| `items` | List\<[ItemJson](../../models/components/ItemJson.md)> | :heavy_minus_sign: | List of items in this category. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | Text field ID. | | +| `text` | *Optional\* | :heavy_minus_sign: | text Value of the Field | Field value | +| `shortText` | *Optional\* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | +| `required` | *Optional\* | :heavy_minus_sign: | is the category mandatory for answer | true | \ No newline at end of file diff --git a/packages/java/docs/models/components/CategoryJson2.md b/packages/java/docs/models/components/CategoryJson2.md deleted file mode 100644 index cf7724b08..000000000 --- a/packages/java/docs/models/components/CategoryJson2.md +++ /dev/null @@ -1,13 +0,0 @@ -# CategoryJson2 - -A survey category. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | Text field ID. | | -| `text` | *Optional\* | :heavy_minus_sign: | text Value of the Field | Field value | -| `shortText` | *Optional\* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | -| `required` | *Optional\* | :heavy_minus_sign: | is the category mandatory for answer | true | \ No newline at end of file diff --git a/packages/java/docs/models/components/Chain.md b/packages/java/docs/models/components/Chain.md index 6f0dbeb70..b262835f8 100644 --- a/packages/java/docs/models/components/Chain.md +++ b/packages/java/docs/models/components/Chain.md @@ -15,5 +15,5 @@ Chain details. | `name` | *Optional\* | :heavy_minus_sign: | The name of the travel supplier chain. | Northern Hotels | | `code` | *Optional\* | :heavy_minus_sign: | The code identifying the travel supplier chain. | NH | | `brand` | [Optional\](../../models/components/ChainBrand.md) | :heavy_minus_sign: | The brand that the chain belongs to. | | -| `address` | [Optional\](../../models/components/AddressJson3.md) | :heavy_minus_sign: | A physical address. | | +| `address` | [Optional\](../../models/components/AddressJson1.md) | :heavy_minus_sign: | A physical address. | | | `deleted` | *Optional\* | :heavy_minus_sign: | True indicates the chain is deleted. | false | \ No newline at end of file diff --git a/packages/java/docs/models/components/Choice.md b/packages/java/docs/models/components/Choice.md index 7d8350d68..94e25ef81 100644 --- a/packages/java/docs/models/components/Choice.md +++ b/packages/java/docs/models/components/Choice.md @@ -1,12 +1,13 @@ # Choice -A schema representing a choice object +A question choice. ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | Unique identifier for the choice | | -| `text` | *Optional\* | :heavy_minus_sign: | Text value of the field | Choice 1 | -| `label` | *Optional\* | :heavy_minus_sign: | Label of choice | Choice A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | Text field ID. | | +| `text` | *Optional\* | :heavy_minus_sign: | Text value of the field. Displays to users in the UI. | Are you spending any significant time offsite and need transportation? | +| `shortText` | *Optional\* | :heavy_minus_sign: | Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. | Needs offsite transportation? | +| `label` | *Optional\* | :heavy_minus_sign: | Label of choice. | Choice A | \ No newline at end of file diff --git a/packages/java/docs/models/components/Choice1.md b/packages/java/docs/models/components/Choice1.md new file mode 100644 index 000000000..e9332bb24 --- /dev/null +++ b/packages/java/docs/models/components/Choice1.md @@ -0,0 +1,12 @@ +# Choice1 + +A schema representing a choice object + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | Unique identifier for the choice | | +| `text` | *Optional\* | :heavy_minus_sign: | Text value of the field | Choice 1 | +| `label` | *Optional\* | :heavy_minus_sign: | Label of choice | Choice A | \ No newline at end of file diff --git a/packages/java/docs/models/components/ChoiceJson.md b/packages/java/docs/models/components/ChoiceJson.md deleted file mode 100644 index 03da975f7..000000000 --- a/packages/java/docs/models/components/ChoiceJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# ChoiceJson - -A question choice. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | Text field ID. | | -| `text` | *Optional\* | :heavy_minus_sign: | Text value of the field. Displays to users in the UI. | Are you spending any significant time offsite and need transportation? | -| `shortText` | *Optional\* | :heavy_minus_sign: | Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. | Needs offsite transportation? | -| `label` | *Optional\* | :heavy_minus_sign: | Label of choice. | Choice A | \ No newline at end of file diff --git a/packages/java/docs/models/components/ChoiceJson1.md b/packages/java/docs/models/components/ChoiceJson1.md new file mode 100644 index 000000000..070924c25 --- /dev/null +++ b/packages/java/docs/models/components/ChoiceJson1.md @@ -0,0 +1,13 @@ +# ChoiceJson1 + +A survey choice. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | Text field ID. | | +| `text` | *Optional\* | :heavy_minus_sign: | text Value of the Field | Field value | +| `shortText` | *Optional\* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | +| `label` | *Optional\* | :heavy_minus_sign: | Label of choice | Choice A | \ No newline at end of file diff --git a/packages/java/docs/models/components/ChoiceJson2.md b/packages/java/docs/models/components/ChoiceJson2.md index 7df44e2fd..59451f1e8 100644 --- a/packages/java/docs/models/components/ChoiceJson2.md +++ b/packages/java/docs/models/components/ChoiceJson2.md @@ -1,13 +1,11 @@ # ChoiceJson2 -A survey choice. +This is used to denote the choice of custom field. ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | Text field ID. | | -| `text` | *Optional\* | :heavy_minus_sign: | text Value of the Field | Field value | -| `shortText` | *Optional\* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | -| `label` | *Optional\* | :heavy_minus_sign: | Label of choice | Choice A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | The ID of the custom field choice. If you supply the choice's existing ID in a PUT call, the choice keeps its current ID and the choice text is updated. If this `id` field is left blank in a PUT call, this choice text will be replaced with the text supplied, and a new choice ID is created. | | +| `text` | *String* | :heavy_check_mark: | The text for the custom field choice. | What is your current designation? | \ No newline at end of file diff --git a/packages/java/docs/models/components/ChoiceJson2Input.md b/packages/java/docs/models/components/ChoiceJson2Input.md new file mode 100644 index 000000000..077f180a2 --- /dev/null +++ b/packages/java/docs/models/components/ChoiceJson2Input.md @@ -0,0 +1,10 @@ +# ChoiceJson2Input + +This is used to denote the choice of custom field. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | +| `text` | *String* | :heavy_check_mark: | The text for the custom field choice. | What is your current designation? | \ No newline at end of file diff --git a/packages/java/docs/models/components/ChoiceJson3.md b/packages/java/docs/models/components/ChoiceJson3.md deleted file mode 100644 index e3e038f9a..000000000 --- a/packages/java/docs/models/components/ChoiceJson3.md +++ /dev/null @@ -1,11 +0,0 @@ -# ChoiceJson3 - -This is used to denote the choice of custom field. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | The ID of the custom field choice. If you supply the choice's existing ID in a PUT call, the choice keeps its current ID and the choice text is updated. If this `id` field is left blank in a PUT call, this choice text will be replaced with the text supplied, and a new choice ID is created. | | -| `text` | *String* | :heavy_check_mark: | The text for the custom field choice. | What is your current designation? | \ No newline at end of file diff --git a/packages/java/docs/models/components/ChoiceJson3Input.md b/packages/java/docs/models/components/ChoiceJson3Input.md deleted file mode 100644 index fde824bc0..000000000 --- a/packages/java/docs/models/components/ChoiceJson3Input.md +++ /dev/null @@ -1,10 +0,0 @@ -# ChoiceJson3Input - -This is used to denote the choice of custom field. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | -| `text` | *String* | :heavy_check_mark: | The text for the custom field choice. | What is your current designation? | \ No newline at end of file diff --git a/packages/java/docs/models/components/ChoiceSortOrder.md b/packages/java/docs/models/components/ChoiceSortOrder.md new file mode 100644 index 000000000..fd52c0d47 --- /dev/null +++ b/packages/java/docs/models/components/ChoiceSortOrder.md @@ -0,0 +1,20 @@ +# ChoiceSortOrder + +The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: Sorted in the order they were added, oldest choices first. `Random`: Random sort. + +## Example Usage + +```java +import com.cvent.models.components.ChoiceSortOrder; + +ChoiceSortOrder value = ChoiceSortOrder.A_TO_Z; +``` + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `A_TO_Z` | AToZ | +| `AS_ENTERED` | AsEntered | +| `RANDOM` | Random | \ No newline at end of file diff --git a/packages/java/docs/models/components/ChoiceSortOrderJson.md b/packages/java/docs/models/components/ChoiceSortOrderJson.md deleted file mode 100644 index 4c56978ff..000000000 --- a/packages/java/docs/models/components/ChoiceSortOrderJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# ChoiceSortOrderJson - -The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: Sorted in the order they were added, oldest choices first. `Random`: Random sort. - -## Example Usage - -```java -import com.cvent.models.components.ChoiceSortOrderJson; - -ChoiceSortOrderJson value = ChoiceSortOrderJson.A_TO_Z; -``` - - -## Values - -| Name | Value | -| ------------ | ------------ | -| `A_TO_Z` | AToZ | -| `AS_ENTERED` | AsEntered | -| `RANDOM` | Random | \ No newline at end of file diff --git a/packages/java/docs/models/components/Choices.md b/packages/java/docs/models/components/Choices.md index 29c94138c..d451172b9 100644 --- a/packages/java/docs/models/components/Choices.md +++ b/packages/java/docs/models/components/Choices.md @@ -7,5 +7,5 @@ Choices for a custom field. | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `choices` | List\<[ChoiceJson3Input](../../models/components/ChoiceJson3Input.md)> | :heavy_minus_sign: | Choices of custom fields. | +| `choices` | List\<[ChoiceJson2Input](../../models/components/ChoiceJson2Input.md)> | :heavy_minus_sign: | Choices of custom fields. | | `displayType` | [Optional\](../../models/components/ChoicesDisplayTypeJson.md) | :heavy_minus_sign: | Display type indicating how to display the choices on UI. For 'Choice - Single Answer' custom field type, this defaults to Dropdown. For 'Choice - Multiple Answers' custom field type, this defaults to MultiSelectBox. | \ No newline at end of file diff --git a/packages/java/docs/models/components/CommentType.md b/packages/java/docs/models/components/CommentType.md new file mode 100644 index 000000000..7248b1825 --- /dev/null +++ b/packages/java/docs/models/components/CommentType.md @@ -0,0 +1,22 @@ +# CommentType + +Bid comment type + +## Example Usage + +```java +import com.cvent.models.components.CommentType; + +CommentType value = CommentType.PROMOTIONS; +``` + + +## Values + +| Name | Value | +| ------------------- | ------------------- | +| `PROMOTIONS` | promotions | +| `SPECIAL_OFFERS` | special_offers | +| `CHILD_POLICIES` | child_policies | +| `OTHER_INFORMATION` | other_information | +| `INTERNAL_COMMENTS` | internal_comments | \ No newline at end of file diff --git a/packages/java/docs/models/components/CommentTypeJson.md b/packages/java/docs/models/components/CommentTypeJson.md deleted file mode 100644 index 4ac7acbe2..000000000 --- a/packages/java/docs/models/components/CommentTypeJson.md +++ /dev/null @@ -1,22 +0,0 @@ -# CommentTypeJson - -Bid comment type - -## Example Usage - -```java -import com.cvent.models.components.CommentTypeJson; - -CommentTypeJson value = CommentTypeJson.PROMOTIONS; -``` - - -## Values - -| Name | Value | -| ------------------- | ------------------- | -| `PROMOTIONS` | promotions | -| `SPECIAL_OFFERS` | special_offers | -| `CHILD_POLICIES` | child_policies | -| `OTHER_INFORMATION` | other_information | -| `INTERNAL_COMMENTS` | internal_comments | \ No newline at end of file diff --git a/packages/java/docs/models/components/Compliance.md b/packages/java/docs/models/components/Compliance.md index 90ddb27c3..83d2b263e 100644 --- a/packages/java/docs/models/components/Compliance.md +++ b/packages/java/docs/models/components/Compliance.md @@ -5,9 +5,9 @@ Privacy compliance fields for a contact. ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| `creationTime` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Date-time (in GMT) when privacy compliance details were created for the contact. | 2021-03-08T17:30:01.727Z | -| `complianceScope` | [Optional\](../../models/components/ComplianceComplianceScope.md) | :heavy_minus_sign: | Scope of privacy compliance. | CCPA | -| `action` | [Optional\](../../models/components/ComplianceAction.md) | :heavy_minus_sign: | Action to take for a compliance request. | DO_NOT_SELL | -| `createdBy` | [Optional\](../../models/components/ComplianceCreatedBy.md) | :heavy_minus_sign: | Denotes how the compliance request was created. | PLANNER | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `creationTime` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Date-time (in GMT) when privacy compliance details were created for the contact. | 2021-03-08T17:30:01.727Z | +| `complianceScope` | [Optional\](../../models/components/ComplianceScope.md) | :heavy_minus_sign: | Scope of privacy compliance. | CCPA | +| `action` | [Optional\](../../models/components/Action.md) | :heavy_minus_sign: | Action to take for a compliance request. | DO_NOT_SELL | +| `createdBy` | [Optional\](../../models/components/CreatedBy.md) | :heavy_minus_sign: | Denotes how the compliance request was created. | PLANNER | \ No newline at end of file diff --git a/packages/java/docs/models/components/ComplianceAction.md b/packages/java/docs/models/components/ComplianceAction.md deleted file mode 100644 index d6e0c3740..000000000 --- a/packages/java/docs/models/components/ComplianceAction.md +++ /dev/null @@ -1,19 +0,0 @@ -# ComplianceAction - -Action to take for a compliance request. - -## Example Usage - -```java -import com.cvent.models.components.ComplianceAction; - -ComplianceAction value = ComplianceAction.DO_NOT_SELL; -``` - - -## Values - -| Name | Value | -| ------------- | ------------- | -| `DO_NOT_SELL` | DO_NOT_SELL | -| `OK_TO_SELL` | OK_TO_SELL | \ No newline at end of file diff --git a/packages/java/docs/models/components/ComplianceComplianceScope.md b/packages/java/docs/models/components/ComplianceComplianceScope.md deleted file mode 100644 index 24c95f903..000000000 --- a/packages/java/docs/models/components/ComplianceComplianceScope.md +++ /dev/null @@ -1,18 +0,0 @@ -# ComplianceComplianceScope - -Scope of privacy compliance. - -## Example Usage - -```java -import com.cvent.models.components.ComplianceComplianceScope; - -ComplianceComplianceScope value = ComplianceComplianceScope.CCPA; -``` - - -## Values - -| Name | Value | -| ------ | ------ | -| `CCPA` | CCPA | \ No newline at end of file diff --git a/packages/java/docs/models/components/ComplianceCreatedBy.md b/packages/java/docs/models/components/ComplianceCreatedBy.md deleted file mode 100644 index 4c5950085..000000000 --- a/packages/java/docs/models/components/ComplianceCreatedBy.md +++ /dev/null @@ -1,27 +0,0 @@ -# ComplianceCreatedBy - -Denotes how the compliance request was created. - -## Example Usage - -```java -import com.cvent.models.components.ComplianceCreatedBy; - -ComplianceCreatedBy value = ComplianceCreatedBy.ATTENDEE; -``` - - -## Values - -| Name | Value | -| --------------------- | --------------------- | -| `ATTENDEE` | ATTENDEE | -| `PLANNER` | PLANNER | -| `IMPORT` | IMPORT | -| `SOAP_API` | SOAP_API | -| `REST_API` | REST_API | -| `MARKETO` | MARKETO | -| `SALEFORCE` | SALEFORCE | -| `VIDEO_CENTER_MEMBER` | VIDEO_CENTER_MEMBER | -| `RESPONDENT` | RESPONDENT | -| `NOT_SET` | NOT_SET | \ No newline at end of file diff --git a/packages/java/docs/models/components/ComplianceJson.md b/packages/java/docs/models/components/ComplianceJson.md deleted file mode 100644 index 9dd291c24..000000000 --- a/packages/java/docs/models/components/ComplianceJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# ComplianceJson - -Privacy compliance fields for a contact. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `creationTime` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Date-time (in GMT) when privacy compliance details were created for the contact. | 2021-03-08T17:30:01.727Z | -| `complianceScope` | [Optional\](../../models/components/ComplianceJsonComplianceScope.md) | :heavy_minus_sign: | Scope of privacy compliance. | CCPA | -| `action` | [Optional\](../../models/components/ComplianceJsonAction.md) | :heavy_minus_sign: | Action to take for a compliance request. | DO_NOT_SELL | -| `createdBy` | [Optional\](../../models/components/ComplianceJsonCreatedBy.md) | :heavy_minus_sign: | Denotes how the compliance request was created. | PLANNER | \ No newline at end of file diff --git a/packages/java/docs/models/components/ComplianceJsonAction.md b/packages/java/docs/models/components/ComplianceJsonAction.md deleted file mode 100644 index 1294abe31..000000000 --- a/packages/java/docs/models/components/ComplianceJsonAction.md +++ /dev/null @@ -1,19 +0,0 @@ -# ComplianceJsonAction - -Action to take for a compliance request. - -## Example Usage - -```java -import com.cvent.models.components.ComplianceJsonAction; - -ComplianceJsonAction value = ComplianceJsonAction.DO_NOT_SELL; -``` - - -## Values - -| Name | Value | -| ------------- | ------------- | -| `DO_NOT_SELL` | DO_NOT_SELL | -| `OK_TO_SELL` | OK_TO_SELL | \ No newline at end of file diff --git a/packages/java/docs/models/components/ComplianceJsonComplianceScope.md b/packages/java/docs/models/components/ComplianceJsonComplianceScope.md deleted file mode 100644 index e4a92eb3a..000000000 --- a/packages/java/docs/models/components/ComplianceJsonComplianceScope.md +++ /dev/null @@ -1,18 +0,0 @@ -# ComplianceJsonComplianceScope - -Scope of privacy compliance. - -## Example Usage - -```java -import com.cvent.models.components.ComplianceJsonComplianceScope; - -ComplianceJsonComplianceScope value = ComplianceJsonComplianceScope.CCPA; -``` - - -## Values - -| Name | Value | -| ------ | ------ | -| `CCPA` | CCPA | \ No newline at end of file diff --git a/packages/java/docs/models/components/ComplianceJsonCreatedBy.md b/packages/java/docs/models/components/ComplianceJsonCreatedBy.md deleted file mode 100644 index 99c80c678..000000000 --- a/packages/java/docs/models/components/ComplianceJsonCreatedBy.md +++ /dev/null @@ -1,27 +0,0 @@ -# ComplianceJsonCreatedBy - -Denotes how the compliance request was created. - -## Example Usage - -```java -import com.cvent.models.components.ComplianceJsonCreatedBy; - -ComplianceJsonCreatedBy value = ComplianceJsonCreatedBy.ATTENDEE; -``` - - -## Values - -| Name | Value | -| --------------------- | --------------------- | -| `ATTENDEE` | ATTENDEE | -| `PLANNER` | PLANNER | -| `IMPORT` | IMPORT | -| `SOAP_API` | SOAP_API | -| `REST_API` | REST_API | -| `MARKETO` | MARKETO | -| `SALEFORCE` | SALEFORCE | -| `VIDEO_CENTER_MEMBER` | VIDEO_CENTER_MEMBER | -| `RESPONDENT` | RESPONDENT | -| `NOT_SET` | NOT_SET | \ No newline at end of file diff --git a/packages/java/docs/models/components/ComplianceScope.md b/packages/java/docs/models/components/ComplianceScope.md new file mode 100644 index 000000000..b8c459170 --- /dev/null +++ b/packages/java/docs/models/components/ComplianceScope.md @@ -0,0 +1,18 @@ +# ComplianceScope + +Scope of privacy compliance. + +## Example Usage + +```java +import com.cvent.models.components.ComplianceScope; + +ComplianceScope value = ComplianceScope.CCPA; +``` + + +## Values + +| Name | Value | +| ------ | ------ | +| `CCPA` | CCPA | \ No newline at end of file diff --git a/packages/java/docs/models/components/ConflictResolution.md b/packages/java/docs/models/components/ConflictResolution.md index 84cf23163..b768b5c7e 100644 --- a/packages/java/docs/models/components/ConflictResolution.md +++ b/packages/java/docs/models/components/ConflictResolution.md @@ -7,7 +7,7 @@ Represents choices in resolving conflicts in the contacts to be merged or to opt | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `events` | List\<[EventContactIdJson](../../models/components/EventContactIdJson.md)> | :heavy_minus_sign: | For each event (designated by event id), choose a contact id whose linked attendee will be associated with the resulting merged contact. Use whenever at least two contacts exist as attendees in a single event. | -| `surveys` | List\<[SurveyContactIdJson](../../models/components/SurveyContactIdJson.md)> | :heavy_minus_sign: | For each survey (designated by survey id), choose a contact id whose linked respondent will be associated with the resulting merged contact. Use whenever at least two contacts exist as respondents in a single survey. | +| `events` | List\<[EventContactId](../../models/components/EventContactId.md)> | :heavy_minus_sign: | For each event (designated by event id), choose a contact id whose linked attendee will be associated with the resulting merged contact. Use whenever at least two contacts exist as attendees in a single event. | +| `surveys` | List\<[SurveyContactId](../../models/components/SurveyContactId.md)> | :heavy_minus_sign: | For each survey (designated by survey id), choose a contact id whose linked respondent will be associated with the resulting merged contact. Use whenever at least two contacts exist as respondents in a single survey. | | `relatedContacts` | *Optional\* | :heavy_minus_sign: | The id of the contact to keep the relationships of in the resulting merged contact. Only one contact can be chosen, and relationships of the other contact(s) will be discarded. | -| `contactFields` | List\<[ContactMergeFieldJson](../../models/components/ContactMergeFieldJson.md)> | :heavy_minus_sign: | Specify which contact to use values from for any contact field. | \ No newline at end of file +| `contactFields` | List\<[ContactMergeField](../../models/components/ContactMergeField.md)> | :heavy_minus_sign: | Specify which contact to use values from for any contact field. | \ No newline at end of file diff --git a/packages/java/docs/models/components/Contact.md b/packages/java/docs/models/components/Contact.md index ef76dee89..e791a8aa6 100644 --- a/packages/java/docs/models/components/Contact.md +++ b/packages/java/docs/models/components/Contact.md @@ -17,33 +17,33 @@ Represents a contact that has been created and has an id. | `nickname` | *Optional\* | :heavy_minus_sign: | The nickname of the contact. | Harry | | `email` | *Optional\* | :heavy_minus_sign: | The email address of the contact. | h.potterfield@test.com | | `ccEmail` | *Optional\* | :heavy_minus_sign: | An alternate email address of the contact that can be cc'd on email communications. | h.porter@tesing.com | -| `gender` | [Optional\](../../models/components/GenderJson.md) | :heavy_minus_sign: | The gender of the contact. | Male | +| `gender` | [Optional\](../../models/components/Gender.md) | :heavy_minus_sign: | The gender of the contact. | Male | | `company` | *Optional\* | :heavy_minus_sign: | The company/organization the contact belongs to. | Cvent Inc. | | `designation` | *Optional\* | :heavy_minus_sign: | The designation of the contact, typically an award or credential. | CPA | | `title` | *Optional\* | :heavy_minus_sign: | The job title of the contact. | Event Planner | -| `type` | [Optional\](../../models/components/AttendeeContactTypeJson.md) | :heavy_minus_sign: | Contains details related to the attendee's contact type. | | -| `membership` | [Optional\](../../models/components/MembershipJson.md) | :heavy_minus_sign: | Contact Membership information | | -| `primaryAddressType` | [Optional\](../../models/components/AddressTypeJson.md) | :heavy_minus_sign: | The type of address. | Home | -| `homeAddress` | [Optional\](../../models/components/AddressJson.md) | :heavy_minus_sign: | Contact address details. | | +| `type` | [Optional\](../../models/components/AttendeeContactType.md) | :heavy_minus_sign: | Contains details related to the attendee's contact type. | | +| `membership` | [Optional\](../../models/components/ContactMembership.md) | :heavy_minus_sign: | Contact Membership information | | +| `primaryAddressType` | [Optional\](../../models/components/AddressType.md) | :heavy_minus_sign: | The type of address. | Home | +| `homeAddress` | [Optional\
](../../models/components/Address.md) | :heavy_minus_sign: | Contact address details. | | | `homePhone` | *Optional\* | :heavy_minus_sign: | The phone number of the contact at their place of residence. | 555-555-5555 | | `homeFax` | *Optional\* | :heavy_minus_sign: | The fax number of the contact at their place of residence. | 555-555-5555 | -| `workAddress` | [Optional\](../../models/components/AddressJson.md) | :heavy_minus_sign: | Contact address details. | | +| `workAddress` | [Optional\
](../../models/components/Address.md) | :heavy_minus_sign: | Contact address details. | | | `workPhone` | *Optional\* | :heavy_minus_sign: | The phone number of the contact at their place of work. | 555-555-5555 | | `workFax` | *Optional\* | :heavy_minus_sign: | The fax number of the contact at their place of work. | 555-555-5555 | | `customFields` | List\<[CustomField](../../models/components/CustomField.md)> | :heavy_minus_sign: | Collection of custom fields. | | | `sourceId` | *Optional\* | :heavy_minus_sign: | This is a ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. | system-a-00000000-0000-0000-0000-000000000000 | | `mobilePhone` | *Optional\* | :heavy_minus_sign: | The contact's mobile phone number. | 555-555-5555 | -| `compliance` | List\<[ComplianceJson](../../models/components/ComplianceJson.md)> | :heavy_minus_sign: | Detail related to compliance with the contact's privacy rights under various legislation. | | +| `compliance` | List\<[Compliance](../../models/components/Compliance.md)> | :heavy_minus_sign: | Detail related to compliance with the contact's privacy rights under various legislation. | | | `prefix` | *Optional\* | :heavy_minus_sign: | Denotes what is traditionally a title of an individual. | Mr. | | `pager` | *Optional\* | :heavy_minus_sign: | The pager number of the contact. | 555-555-5555 | | `deleted` | *Optional\* | :heavy_minus_sign: | True indicates a contact is deleted. Deleted contacts still have their data retained, but the contact is inactive. | false | | `purged` | *Optional\* | :heavy_minus_sign: | True indicates a contact is purged. Purged contacts have only partial data retained, and will be permanently deleted in 30 days. | false | -| `optOut` | [Optional\](../../models/components/OptOutJson.md) | :heavy_minus_sign: | Details of an opt-out for a Contact. | | +| `optOut` | [Optional\](../../models/components/ContactOptOut.md) | :heavy_minus_sign: | Details of an opt-out for a Contact. | | | `npi` | *Optional\* | :heavy_minus_sign: | Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. | 5555555555 | -| `links` | [Optional\](../../models/components/ContactLinksJson.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | +| `links` | [Optional\](../../models/components/ContactLinks.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | | `dateOfBirth` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The date of birth of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 1990-01-01 | | ~~`passportNumber`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The passport number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use the passport.number field. | 123456789 | -| `passport` | [Optional\](../../models/components/PassportJson.md) | :heavy_minus_sign: | This entity represents a contact's passport information. | | +| `passport` | [Optional\](../../models/components/Passport.md) | :heavy_minus_sign: | This entity represents a contact's passport information. | | | `socialSecurityNumber` | *Optional\* | :heavy_minus_sign: | The social security number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123-45-6789 | | `nationalIdentificationNumber` | *Optional\* | :heavy_minus_sign: | The national identification number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123456789 | | `headline` | *Optional\* | :heavy_minus_sign: | The headline of the contact's profile, which summarizes their professional experience and qualities. | Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands | diff --git a/packages/java/docs/models/components/Contact1.md b/packages/java/docs/models/components/Contact1.md new file mode 100644 index 000000000..8b8270c03 --- /dev/null +++ b/packages/java/docs/models/components/Contact1.md @@ -0,0 +1,19 @@ +# Contact1 + +Contact details of planner. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | +| `firstName` | *String* | :heavy_check_mark: | The first name of the planner. | James | +| `lastName` | *String* | :heavy_check_mark: | The last name of the planner. | West | +| `email` | *String* | :heavy_check_mark: | Email address of the planner. | jwest@example.com | +| `address` | [Optional\](../../models/components/Address1.md) | :heavy_minus_sign: | Address details. | | +| `commissionRate` | *Optional\* | :heavy_minus_sign: | Rate of commission chargeable by the planner. Precision up to 2 decimal places is accepted. | 10.75 | +| `commissionable` | *Optional\* | :heavy_minus_sign: | True indicates commission is to be charged from supplier. | | +| `phone` | *String* | :heavy_check_mark: | Phone number of the planner. | 555-555-5555 | +| `organizationName` | *String* | :heavy_check_mark: | Name of the organization. | Five Star Planners Inc. | +| `thirdPartyPlanner` | *Optional\* | :heavy_minus_sign: | True indicates planner is a third party planner. | | +| `preferredContactMethods` | List\<[ContactMethods](../../models/components/ContactMethods.md)> | :heavy_minus_sign: | List of preferred contact methods for the planner. | [
"CVENT"
] | \ No newline at end of file diff --git a/packages/java/docs/models/components/Contact2.md b/packages/java/docs/models/components/Contact2.md new file mode 100644 index 000000000..751efabdd --- /dev/null +++ b/packages/java/docs/models/components/Contact2.md @@ -0,0 +1,10 @@ +# Contact2 + +The contact details who watched a video + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the contact who watched a video. | 123e4567-e89b-12d3-a456-426614174000 | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactBulkItemJson.md b/packages/java/docs/models/components/ContactBulkItemJson.md deleted file mode 100644 index 8d392c121..000000000 --- a/packages/java/docs/models/components/ContactBulkItemJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# ContactBulkItemJson - -This entity is used to represent a single item that is returned as part of a Bulk request call. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `data` | [ContactBulkItemJsonData](../../models/components/ContactBulkItemJsonData.md) | :heavy_check_mark: | N/A | | -| `status` | *long* | :heavy_check_mark: | http status code representing processing status of a single item | 400 | -| `message` | *Optional\* | :heavy_minus_sign: | Quick description of what happened with processing | Example error message. | -| `request` | Map\ | :heavy_minus_sign: | The processed request tied to this response. This field is only sent when processing fails. | {
"operation": "PUT",
"headers": {
"header1": "header1Value",
"header2": "header2Value"
},
"queryParams": {
"param1": "param1Value",
"param2": "param2Value"
}
} | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactBulkItemJsonData.md b/packages/java/docs/models/components/ContactBulkItemJsonData.md deleted file mode 100644 index 484bd7b20..000000000 --- a/packages/java/docs/models/components/ContactBulkItemJsonData.md +++ /dev/null @@ -1,2 +0,0 @@ -# ContactBulkItemJsonData - diff --git a/packages/java/docs/models/components/ContactBulkResponseItem.md b/packages/java/docs/models/components/ContactBulkResponseItem.md new file mode 100644 index 000000000..6f3c0195d --- /dev/null +++ b/packages/java/docs/models/components/ContactBulkResponseItem.md @@ -0,0 +1,13 @@ +# ContactBulkResponseItem + +This entity is used to represent a single item that is returned as part of a Bulk request call. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `data` | [ContactBulkResponseItemData](../../models/components/ContactBulkResponseItemData.md) | :heavy_check_mark: | N/A | | +| `status` | *long* | :heavy_check_mark: | http status code representing processing status of a single item | 400 | +| `message` | *Optional\* | :heavy_minus_sign: | Quick description of what happened with processing | Example error message. | +| `request` | Map\ | :heavy_minus_sign: | The processed request tied to this response. This field is only sent when processing fails. | {
"operation": "PUT",
"headers": {
"header1": "header1Value",
"header2": "header2Value"
},
"queryParams": {
"param1": "param1Value",
"param2": "param2Value"
}
} | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactBulkResponseItemData.md b/packages/java/docs/models/components/ContactBulkResponseItemData.md new file mode 100644 index 000000000..7b418a6ec --- /dev/null +++ b/packages/java/docs/models/components/ContactBulkResponseItemData.md @@ -0,0 +1,2 @@ +# ContactBulkResponseItemData + diff --git a/packages/java/docs/models/components/ContactCreate.md b/packages/java/docs/models/components/ContactCreate.md new file mode 100644 index 000000000..86cc8de11 --- /dev/null +++ b/packages/java/docs/models/components/ContactCreate.md @@ -0,0 +1,45 @@ +# ContactCreate + +This entity is used to represent a single item that is posted for a contact create + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `firstName` | *Optional\* | :heavy_minus_sign: | The first name of the contact. | Henry | +| `lastName` | *Optional\* | :heavy_minus_sign: | The last name of the contact. | Potterfield | +| `middleName` | *Optional\* | :heavy_minus_sign: | The middle name of the contact. | A | +| `nickname` | *Optional\* | :heavy_minus_sign: | The nickname of the contact. | Harry | +| `email` | *Optional\* | :heavy_minus_sign: | The email address of the contact. | h.potterfield@test.com | +| `ccEmail` | *Optional\* | :heavy_minus_sign: | An alternate email address of the contact that can be cc'd on email communications. | h.porter@tesing.com | +| `gender` | [Optional\](../../models/components/Gender.md) | :heavy_minus_sign: | The gender of the contact. | Male | +| `company` | *Optional\* | :heavy_minus_sign: | The company/organization the contact belongs to. | Cvent Inc. | +| `designation` | *Optional\* | :heavy_minus_sign: | The designation of the contact, typically an award or credential. | CPA | +| `title` | *Optional\* | :heavy_minus_sign: | The job title of the contact. | Event Planner | +| `type` | [Optional\](../../models/components/AttendeeContactTypeInput.md) | :heavy_minus_sign: | Contains details related to the attendee's contact type. | | +| `primaryAddressType` | [Optional\](../../models/components/AddressType.md) | :heavy_minus_sign: | The type of address. | Home | +| `homeAddress` | [Optional\](../../models/components/AddressInput.md) | :heavy_minus_sign: | Contact address details. | | +| `homePhone` | *Optional\* | :heavy_minus_sign: | The phone number of the contact at their place of residence. | 555-555-5555 | +| `homeFax` | *Optional\* | :heavy_minus_sign: | The fax number of the contact at their place of residence. | 555-555-5555 | +| `workAddress` | [Optional\](../../models/components/AddressInput.md) | :heavy_minus_sign: | Contact address details. | | +| `workPhone` | *Optional\* | :heavy_minus_sign: | The phone number of the contact at their place of work. | 555-555-5555 | +| `workFax` | *Optional\* | :heavy_minus_sign: | The fax number of the contact at their place of work. | 555-555-5555 | +| `sourceId` | *Optional\* | :heavy_minus_sign: | This is a ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. | system-a-00000000-0000-0000-0000-000000000000 | +| `mobilePhone` | *Optional\* | :heavy_minus_sign: | The contact's mobile phone number. | 555-555-5555 | +| `prefix` | *Optional\* | :heavy_minus_sign: | Denotes what is traditionally a title of an individual. | Mr. | +| `pager` | *Optional\* | :heavy_minus_sign: | The pager number of the contact. | 555-555-5555 | +| `optOut` | [Optional\](../../models/components/ContactOptOutInput.md) | :heavy_minus_sign: | Details of an opt-out for a Contact. | | +| `npi` | *Optional\* | :heavy_minus_sign: | Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. | 5555555555 | +| `links` | [Optional\](../../models/components/ContactLinksInput.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | +| `dateOfBirth` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The date of birth of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 1990-01-01 | +| ~~`passportNumber`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The passport number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use the passport.number field. | 123456789 | +| `passport` | [Optional\](../../models/components/PassportInput.md) | :heavy_minus_sign: | This entity represents a contact's passport information. | | +| `socialSecurityNumber` | *Optional\* | :heavy_minus_sign: | The social security number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123-45-6789 | +| `nationalIdentificationNumber` | *Optional\* | :heavy_minus_sign: | The national identification number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123456789 | +| `headline` | *Optional\* | :heavy_minus_sign: | The headline of the contact's profile, which summarizes their professional experience and qualities. | Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands | +| `personalWebsite` | *Optional\* | :heavy_minus_sign: | A contact's personal website URL. | https://www.example.com | +| `biography` | *Optional\* | :heavy_minus_sign: | A contact's biographical writeup. | I am a marketing professional with experience in event planning and brand strategy. | +| `pronouns` | *Optional\* | :heavy_minus_sign: | Represents the preferred pronouns of a contact. | he/him/she/her/they/them | +| ~~`parentId`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

ID of the parent contact, applicable with contact snapshot. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be automatically created through the Add attendees API. | | +| ~~`event`~~ | [Optional\](../../models/components/ContactCreateEvent.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Event ID | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactCreateEvent.md b/packages/java/docs/models/components/ContactCreateEvent.md new file mode 100644 index 000000000..26f1f7ac9 --- /dev/null +++ b/packages/java/docs/models/components/ContactCreateEvent.md @@ -0,0 +1,12 @@ +# ~~ContactCreateEvent~~ + +Event ID + +> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| ~~`id`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

ID of the event where the contact was created, applicable when contact snapshot is enabled for an event. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be automatically created through the Add attendees API. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactCreateRequestJson.md b/packages/java/docs/models/components/ContactCreateRequestJson.md deleted file mode 100644 index a5cff29cc..000000000 --- a/packages/java/docs/models/components/ContactCreateRequestJson.md +++ /dev/null @@ -1,45 +0,0 @@ -# ContactCreateRequestJson - -This entity is used to represent a single item that is posted for a contact create - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `firstName` | *Optional\* | :heavy_minus_sign: | The first name of the contact. | Henry | -| `lastName` | *Optional\* | :heavy_minus_sign: | The last name of the contact. | Potterfield | -| `middleName` | *Optional\* | :heavy_minus_sign: | The middle name of the contact. | A | -| `nickname` | *Optional\* | :heavy_minus_sign: | The nickname of the contact. | Harry | -| `email` | *Optional\* | :heavy_minus_sign: | The email address of the contact. | h.potterfield@test.com | -| `ccEmail` | *Optional\* | :heavy_minus_sign: | An alternate email address of the contact that can be cc'd on email communications. | h.porter@tesing.com | -| `gender` | [Optional\](../../models/components/GenderJson.md) | :heavy_minus_sign: | The gender of the contact. | Male | -| `company` | *Optional\* | :heavy_minus_sign: | The company/organization the contact belongs to. | Cvent Inc. | -| `designation` | *Optional\* | :heavy_minus_sign: | The designation of the contact, typically an award or credential. | CPA | -| `title` | *Optional\* | :heavy_minus_sign: | The job title of the contact. | Event Planner | -| `type` | [Optional\](../../models/components/AttendeeContactTypeJsonInput.md) | :heavy_minus_sign: | Contains details related to the attendee's contact type. | | -| `primaryAddressType` | [Optional\](../../models/components/AddressTypeJson.md) | :heavy_minus_sign: | The type of address. | Home | -| `homeAddress` | [Optional\](../../models/components/AddressJsonInput.md) | :heavy_minus_sign: | Contact address details. | | -| `homePhone` | *Optional\* | :heavy_minus_sign: | The phone number of the contact at their place of residence. | 555-555-5555 | -| `homeFax` | *Optional\* | :heavy_minus_sign: | The fax number of the contact at their place of residence. | 555-555-5555 | -| `workAddress` | [Optional\](../../models/components/AddressJsonInput.md) | :heavy_minus_sign: | Contact address details. | | -| `workPhone` | *Optional\* | :heavy_minus_sign: | The phone number of the contact at their place of work. | 555-555-5555 | -| `workFax` | *Optional\* | :heavy_minus_sign: | The fax number of the contact at their place of work. | 555-555-5555 | -| `sourceId` | *Optional\* | :heavy_minus_sign: | This is a ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. | system-a-00000000-0000-0000-0000-000000000000 | -| `mobilePhone` | *Optional\* | :heavy_minus_sign: | The contact's mobile phone number. | 555-555-5555 | -| `prefix` | *Optional\* | :heavy_minus_sign: | Denotes what is traditionally a title of an individual. | Mr. | -| `pager` | *Optional\* | :heavy_minus_sign: | The pager number of the contact. | 555-555-5555 | -| `optOut` | [Optional\](../../models/components/OptOutJsonInput.md) | :heavy_minus_sign: | Details of an opt-out for a Contact. | | -| `npi` | *Optional\* | :heavy_minus_sign: | Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. | 5555555555 | -| `links` | [Optional\](../../models/components/ContactLinksJsonInput.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | -| `dateOfBirth` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The date of birth of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 1990-01-01 | -| ~~`passportNumber`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The passport number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use the passport.number field. | 123456789 | -| `passport` | [Optional\](../../models/components/PassportJsonInput.md) | :heavy_minus_sign: | This entity represents a contact's passport information. | | -| `socialSecurityNumber` | *Optional\* | :heavy_minus_sign: | The social security number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123-45-6789 | -| `nationalIdentificationNumber` | *Optional\* | :heavy_minus_sign: | The national identification number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123456789 | -| `headline` | *Optional\* | :heavy_minus_sign: | The headline of the contact's profile, which summarizes their professional experience and qualities. | Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands | -| `personalWebsite` | *Optional\* | :heavy_minus_sign: | A contact's personal website URL. | https://www.example.com | -| `biography` | *Optional\* | :heavy_minus_sign: | A contact's biographical writeup. | I am a marketing professional with experience in event planning and brand strategy. | -| `pronouns` | *Optional\* | :heavy_minus_sign: | Represents the preferred pronouns of a contact. | he/him/she/her/they/them | -| ~~`parentId`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

ID of the parent contact, applicable with contact snapshot. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be automatically created through the Add attendees API. | | -| ~~`event`~~ | [Optional\](../../models/components/ContactCreateRequestJsonEvent.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Event ID | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactCreateRequestJsonEvent.md b/packages/java/docs/models/components/ContactCreateRequestJsonEvent.md deleted file mode 100644 index 93a536027..000000000 --- a/packages/java/docs/models/components/ContactCreateRequestJsonEvent.md +++ /dev/null @@ -1,12 +0,0 @@ -# ~~ContactCreateRequestJsonEvent~~ - -Event ID - -> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| ~~`id`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

ID of the event where the contact was created, applicable when contact snapshot is enabled for an event. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be automatically created through the Add attendees API. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactGroup.md b/packages/java/docs/models/components/ContactGroup.md index b710a8762..fdeee3fea 100644 --- a/packages/java/docs/models/components/ContactGroup.md +++ b/packages/java/docs/models/components/ContactGroup.md @@ -15,6 +15,6 @@ A group of contacts. | `name` | *String* | :heavy_check_mark: | Name of the contact group. | group name | | `shortDescription` | *Optional\* | :heavy_minus_sign: | Short description of the contact group. | short description | | `description` | *Optional\* | :heavy_minus_sign: | Full description of the contact group. | long description | -| `type` | [Optional\](../../models/components/ContactGroupTypeJson.md) | :heavy_minus_sign: | Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. `STANDARD` is a multi-purpose group for organizing contacts. | STANDARD | +| `type` | [Optional\](../../models/components/ContactGroupType.md) | :heavy_minus_sign: | Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. `STANDARD` is a multi-purpose group for organizing contacts. | STANDARD | | ~~`note`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Moved to internalNote in the DistributionListInfo object. The note field only applies to Distribution List. | Sample internal note | -| `distributionListInfo` | [Optional\](../../models/components/DistributionListInfoJson.md) | :heavy_minus_sign: | Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. | | \ No newline at end of file +| `distributionListInfo` | [Optional\](../../models/components/DistributionListInfo.md) | :heavy_minus_sign: | Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactGroupInput.md b/packages/java/docs/models/components/ContactGroupInput.md index b5022b70f..54a97de7c 100644 --- a/packages/java/docs/models/components/ContactGroupInput.md +++ b/packages/java/docs/models/components/ContactGroupInput.md @@ -10,6 +10,6 @@ A group of contacts. | `name` | *String* | :heavy_check_mark: | Name of the contact group. | group name | | `shortDescription` | *Optional\* | :heavy_minus_sign: | Short description of the contact group. | short description | | `description` | *Optional\* | :heavy_minus_sign: | Full description of the contact group. | long description | -| `type` | [Optional\](../../models/components/ContactGroupTypeJson.md) | :heavy_minus_sign: | Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. `STANDARD` is a multi-purpose group for organizing contacts. | STANDARD | +| `type` | [Optional\](../../models/components/ContactGroupType.md) | :heavy_minus_sign: | Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. `STANDARD` is a multi-purpose group for organizing contacts. | STANDARD | | ~~`note`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Moved to internalNote in the DistributionListInfo object. The note field only applies to Distribution List. | Sample internal note | -| `distributionListInfo` | [Optional\](../../models/components/DistributionListInfoJsonInput.md) | :heavy_minus_sign: | Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. | | \ No newline at end of file +| `distributionListInfo` | [Optional\](../../models/components/DistributionListInfoInput.md) | :heavy_minus_sign: | Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactGroupPaginatedResponse.md b/packages/java/docs/models/components/ContactGroupPaginatedResponse.md index dd2541208..d0f0a850f 100644 --- a/packages/java/docs/models/components/ContactGroupPaginatedResponse.md +++ b/packages/java/docs/models/components/ContactGroupPaginatedResponse.md @@ -7,5 +7,5 @@ The response from a request to get the list of contact groups. This includes th | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `paging` | [PagingJson](../../models/components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `paging` | [Paging](../../models/components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | | `data` | List\<[ContactGroup](../../models/components/ContactGroup.md)> | :heavy_check_mark: | Collection of contact groups. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactGroupType.md b/packages/java/docs/models/components/ContactGroupType.md new file mode 100644 index 000000000..bbde90fe6 --- /dev/null +++ b/packages/java/docs/models/components/ContactGroupType.md @@ -0,0 +1,20 @@ +# ContactGroupType + +Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. `STANDARD` is a multi-purpose group for organizing contacts. + +## Example Usage + +```java +import com.cvent.models.components.ContactGroupType; + +ContactGroupType value = ContactGroupType.BLACKLIST; +``` + + +## Values + +| Name | Value | +| ------------------- | ------------------- | +| `BLACKLIST` | BLACKLIST | +| `DISTRIBUTION_LIST` | DISTRIBUTION_LIST | +| `STANDARD` | STANDARD | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactGroupTypeJson.md b/packages/java/docs/models/components/ContactGroupTypeJson.md deleted file mode 100644 index 59112a21a..000000000 --- a/packages/java/docs/models/components/ContactGroupTypeJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# ContactGroupTypeJson - -Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. `STANDARD` is a multi-purpose group for organizing contacts. - -## Example Usage - -```java -import com.cvent.models.components.ContactGroupTypeJson; - -ContactGroupTypeJson value = ContactGroupTypeJson.BLACKLIST; -``` - - -## Values - -| Name | Value | -| ------------------- | ------------------- | -| `BLACKLIST` | BLACKLIST | -| `DISTRIBUTION_LIST` | DISTRIBUTION_LIST | -| `STANDARD` | STANDARD | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactHistory.md b/packages/java/docs/models/components/ContactHistory.md new file mode 100644 index 000000000..d38f33f83 --- /dev/null +++ b/packages/java/docs/models/components/ContactHistory.md @@ -0,0 +1,15 @@ +# ContactHistory + +A single instance of change for a specific contact in the contact's change history. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | +| `updatedFieldName` | *Optional\* | :heavy_minus_sign: | The name of a field that was changed and tracked by this single instance of change in contact change history. | Last Name | +| `oldValue` | *Optional\* | :heavy_minus_sign: | The old value of a field that was changed. | Wilson | +| `newValue` | *Optional\* | :heavy_minus_sign: | The new value of a field that was changed. | James | +| `updatedThroughName` | [Optional\](../../models/components/UpdatedThroughNameProperty.md) | :heavy_minus_sign: | Name of the place where this change was updated through. | Address Book Profile | +| `updatedDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 formatted date-time when the associated contact, of this single instance of change in contact change history, was updated. | 2023-08-03T14:51:00.777Z | +| `updatedBy` | *Optional\* | :heavy_minus_sign: | The name of a person who updated a contact that is associated with this single instance of change in contact change history. | John Doe | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactHistoryJson.md b/packages/java/docs/models/components/ContactHistoryJson.md deleted file mode 100644 index 5439a2b33..000000000 --- a/packages/java/docs/models/components/ContactHistoryJson.md +++ /dev/null @@ -1,15 +0,0 @@ -# ContactHistoryJson - -A single instance of change for a specific contact in the contact's change history. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | -| `updatedFieldName` | *Optional\* | :heavy_minus_sign: | The name of a field that was changed and tracked by this single instance of change in contact change history. | Last Name | -| `oldValue` | *Optional\* | :heavy_minus_sign: | The old value of a field that was changed. | Wilson | -| `newValue` | *Optional\* | :heavy_minus_sign: | The new value of a field that was changed. | James | -| `updatedThroughName` | [Optional\](../../models/components/UpdatedThroughNamePropertyJson.md) | :heavy_minus_sign: | Name of the place where this change was updated through. | Address Book Profile | -| `updatedDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 formatted date-time when the associated contact, of this single instance of change in contact change history, was updated. | 2023-08-03T14:51:00.777Z | -| `updatedBy` | *Optional\* | :heavy_minus_sign: | The name of a person who updated a contact that is associated with this single instance of change in contact change history. | John Doe | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactHistoryPaginatedResponse.md b/packages/java/docs/models/components/ContactHistoryPaginatedResponse.md index a95acde48..fa219d43e 100644 --- a/packages/java/docs/models/components/ContactHistoryPaginatedResponse.md +++ b/packages/java/docs/models/components/ContactHistoryPaginatedResponse.md @@ -5,7 +5,7 @@ The response of a request to get the change history for a specific contact. ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `paging` | [Optional\](../../models/components/PagingJson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `data` | List\<[ContactHistoryJson](../../models/components/ContactHistoryJson.md)> | :heavy_minus_sign: | Collection of change histories for a specific contact. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `paging` | [Optional\](../../models/components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `data` | List\<[ContactHistory](../../models/components/ContactHistory.md)> | :heavy_minus_sign: | Collection of change histories for a specific contact. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactId.md b/packages/java/docs/models/components/ContactId.md new file mode 100644 index 000000000..c0d3da2cf --- /dev/null +++ b/packages/java/docs/models/components/ContactId.md @@ -0,0 +1,10 @@ +# ContactId + +A contact id. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `id` | *String* | :heavy_check_mark: | The ID of the contact. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactIdJson.md b/packages/java/docs/models/components/ContactIdJson.md deleted file mode 100644 index 3a5d064e2..000000000 --- a/packages/java/docs/models/components/ContactIdJson.md +++ /dev/null @@ -1,10 +0,0 @@ -# ContactIdJson - -A contact id. - - -## Fields - -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `id` | *String* | :heavy_check_mark: | The ID of the contact. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactIdPaginatedResponse.md b/packages/java/docs/models/components/ContactIdPaginatedResponse.md index 77e114929..2163afc2c 100644 --- a/packages/java/docs/models/components/ContactIdPaginatedResponse.md +++ b/packages/java/docs/models/components/ContactIdPaginatedResponse.md @@ -7,5 +7,5 @@ The response from a request to get the ids of contacts in a contact group or rel | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `paging` | [PagingJson](../../models/components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | List\<[IdJson](../../models/components/IdJson.md)> | :heavy_check_mark: | Collection of contact ids. | \ No newline at end of file +| `paging` | [Paging](../../models/components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `data` | List\<[IdOnlyEntity](../../models/components/IdOnlyEntity.md)> | :heavy_check_mark: | Collection of contact ids. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactJson.md b/packages/java/docs/models/components/ContactJson.md new file mode 100644 index 000000000..59dfc7a54 --- /dev/null +++ b/packages/java/docs/models/components/ContactJson.md @@ -0,0 +1,28 @@ +# ContactJson + +The contact details. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `contactType` | [Optional\](../../models/components/ContactTypeJson.md) | :heavy_minus_sign: | The contact types used for the proposal. | | +| `firstName` | *Optional\* | :heavy_minus_sign: | The first name of the contact. | Saurabh | +| `lastName` | *Optional\* | :heavy_minus_sign: | The last name of the contact. | Sachdeva | +| `organizationWebsite` | *Optional\* | :heavy_minus_sign: | The URL of the organization's website. | www.cvent.com | +| `organization` | *Optional\* | :heavy_minus_sign: | The name of the organization. | Cvent | +| `title` | *Optional\* | :heavy_minus_sign: | Designation of the contact. | Co-founder | +| `email` | *Optional\* | :heavy_minus_sign: | The email address of the contact. | saurabhsachdeva@xyz.com | +| `countryCode` | *Optional\* | :heavy_minus_sign: | The country code for the contact's phone number. | 1 | +| `phone` | *Optional\* | :heavy_minus_sign: | The phone number of the organization. | 198752236 | +| `fax` | *Optional\* | :heavy_minus_sign: | The organization's fax number. | 2487234567 | +| `mobile` | *Optional\* | :heavy_minus_sign: | The mobile number of the contact. | 2487649053 | +| `streetAddress1` | *Optional\* | :heavy_minus_sign: | Address line 1 of contact's street address. | 299 ABC Street | +| `streetAddress2` | *Optional\* | :heavy_minus_sign: | Address line 2 of contact's street address. | Unit 1A | +| `streetAddress3` | *Optional\* | :heavy_minus_sign: | Address line 3 of contact's street address. | Seattle, Washington | +| `city` | *Optional\* | :heavy_minus_sign: | The city of the contact. | Seattle | +| `stateProvince` | [Optional\](../../models/components/StateProvinceJson.md) | :heavy_minus_sign: | The state province code used for contact information. | | +| `postalCode` | *Optional\* | :heavy_minus_sign: | The postal code of the contact. | 110079 | +| `country` | [Optional\](../../models/components/CountryJson.md) | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. | | +| `notes` | *Optional\* | :heavy_minus_sign: | Additional notes of the contact. | Available between 8am - 5pm. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactJson0.md b/packages/java/docs/models/components/ContactJson0.md deleted file mode 100644 index a91ef1917..000000000 --- a/packages/java/docs/models/components/ContactJson0.md +++ /dev/null @@ -1,19 +0,0 @@ -# ContactJson0 - -Contact details of planner. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | -| `firstName` | *String* | :heavy_check_mark: | The first name of the planner. | James | -| `lastName` | *String* | :heavy_check_mark: | The last name of the planner. | West | -| `email` | *String* | :heavy_check_mark: | Email address of the planner. | jwest@example.com | -| `address` | [Optional\](../../models/components/AddressJson0.md) | :heavy_minus_sign: | Address details. | | -| `commissionRate` | *Optional\* | :heavy_minus_sign: | Rate of commission chargeable by the planner. Precision up to 2 decimal places is accepted. | 10.75 | -| `commissionable` | *Optional\* | :heavy_minus_sign: | True indicates commission is to be charged from supplier. | | -| `phone` | *String* | :heavy_check_mark: | Phone number of the planner. | 555-555-5555 | -| `organizationName` | *String* | :heavy_check_mark: | Name of the organization. | Five Star Planners Inc. | -| `thirdPartyPlanner` | *Optional\* | :heavy_minus_sign: | True indicates planner is a third party planner. | | -| `preferredContactMethods` | List\<[ContactMethodsJson](../../models/components/ContactMethodsJson.md)> | :heavy_minus_sign: | List of preferred contact methods for the planner. | [
"CVENT"
] | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactJson1.md b/packages/java/docs/models/components/ContactJson1.md deleted file mode 100644 index 1642b1b21..000000000 --- a/packages/java/docs/models/components/ContactJson1.md +++ /dev/null @@ -1,28 +0,0 @@ -# ContactJson1 - -The contact details. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | -| `contactType` | [Optional\](../../models/components/ContactTypeJson1.md) | :heavy_minus_sign: | The contact types used for the proposal. | | -| `firstName` | *Optional\* | :heavy_minus_sign: | The first name of the contact. | Saurabh | -| `lastName` | *Optional\* | :heavy_minus_sign: | The last name of the contact. | Sachdeva | -| `organizationWebsite` | *Optional\* | :heavy_minus_sign: | The URL of the organization's website. | www.cvent.com | -| `organization` | *Optional\* | :heavy_minus_sign: | The name of the organization. | Cvent | -| `title` | *Optional\* | :heavy_minus_sign: | Designation of the contact. | Co-founder | -| `email` | *Optional\* | :heavy_minus_sign: | The email address of the contact. | saurabhsachdeva@xyz.com | -| `countryCode` | *Optional\* | :heavy_minus_sign: | The country code for the contact's phone number. | 1 | -| `phone` | *Optional\* | :heavy_minus_sign: | The phone number of the organization. | 198752236 | -| `fax` | *Optional\* | :heavy_minus_sign: | The organization's fax number. | 2487234567 | -| `mobile` | *Optional\* | :heavy_minus_sign: | The mobile number of the contact. | 2487649053 | -| `streetAddress1` | *Optional\* | :heavy_minus_sign: | Address line 1 of contact's street address. | 299 ABC Street | -| `streetAddress2` | *Optional\* | :heavy_minus_sign: | Address line 2 of contact's street address. | Unit 1A | -| `streetAddress3` | *Optional\* | :heavy_minus_sign: | Address line 3 of contact's street address. | Seattle, Washington | -| `city` | *Optional\* | :heavy_minus_sign: | The city of the contact. | Seattle | -| `stateProvince` | [Optional\](../../models/components/StateProvinceJson.md) | :heavy_minus_sign: | The state province code used for contact information. | | -| `postalCode` | *Optional\* | :heavy_minus_sign: | The postal code of the contact. | 110079 | -| `country` | [Optional\](../../models/components/CountryJson.md) | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. | | -| `notes` | *Optional\* | :heavy_minus_sign: | Additional notes of the contact. | Available between 8am - 5pm. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactJson2.md b/packages/java/docs/models/components/ContactJson2.md deleted file mode 100644 index 40dd41e51..000000000 --- a/packages/java/docs/models/components/ContactJson2.md +++ /dev/null @@ -1,10 +0,0 @@ -# ContactJson2 - -The contact details who watched a video - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the contact who watched a video. | 123e4567-e89b-12d3-a456-426614174000 | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactLinksInput.md b/packages/java/docs/models/components/ContactLinksInput.md new file mode 100644 index 000000000..8c3973261 --- /dev/null +++ b/packages/java/docs/models/components/ContactLinksInput.md @@ -0,0 +1,12 @@ +# ContactLinksInput + +Collection of social media links for the contact. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | +| `twitterUrl` | [Optional\](../../models/components/Link.md) | :heavy_minus_sign: | Represents a link to a related resource. | +| `facebookUrl` | [Optional\](../../models/components/Link.md) | :heavy_minus_sign: | Represents a link to a related resource. | +| `linkedInUrl` | [Optional\](../../models/components/Link.md) | :heavy_minus_sign: | Represents a link to a related resource. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactLinksJson.md b/packages/java/docs/models/components/ContactLinksJson.md deleted file mode 100644 index 359c48886..000000000 --- a/packages/java/docs/models/components/ContactLinksJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# ContactLinksJson - -Collection of social media links for the contact. - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `twitterUrl` | [Optional\](../../models/components/LinkJson.md) | :heavy_minus_sign: | Represents a link to a related resource. | -| `facebookUrl` | [Optional\](../../models/components/LinkJson.md) | :heavy_minus_sign: | Represents a link to a related resource. | -| `linkedInUrl` | [Optional\](../../models/components/LinkJson.md) | :heavy_minus_sign: | Represents a link to a related resource. | -| `profilePicture` | [Optional\](../../models/components/ContactLinksJsonLink.md) | :heavy_minus_sign: | Reference to a profile picture. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactLinksJsonInput.md b/packages/java/docs/models/components/ContactLinksJsonInput.md deleted file mode 100644 index 756743e34..000000000 --- a/packages/java/docs/models/components/ContactLinksJsonInput.md +++ /dev/null @@ -1,12 +0,0 @@ -# ContactLinksJsonInput - -Collection of social media links for the contact. - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `twitterUrl` | [Optional\](../../models/components/LinkJson.md) | :heavy_minus_sign: | Represents a link to a related resource. | -| `facebookUrl` | [Optional\](../../models/components/LinkJson.md) | :heavy_minus_sign: | Represents a link to a related resource. | -| `linkedInUrl` | [Optional\](../../models/components/LinkJson.md) | :heavy_minus_sign: | Represents a link to a related resource. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactLinksJsonLink.md b/packages/java/docs/models/components/ContactLinksJsonLink.md deleted file mode 100644 index 8b8349f11..000000000 --- a/packages/java/docs/models/components/ContactLinksJsonLink.md +++ /dev/null @@ -1,10 +0,0 @@ -# ContactLinksJsonLink - -Reference to a profile picture. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `href` | *String* | :heavy_check_mark: | The url of the contact's profile picture | https://cvent.com/picture123 | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactMembership.md b/packages/java/docs/models/components/ContactMembership.md new file mode 100644 index 000000000..e86937aee --- /dev/null +++ b/packages/java/docs/models/components/ContactMembership.md @@ -0,0 +1,16 @@ +# ContactMembership + +Contact Membership information + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `type` | *Optional\* | :heavy_minus_sign: | The type of membership the contact has signed up for. | Corporate Sponsor | +| `plan` | *Optional\* | :heavy_minus_sign: | Describes the specific plan the contact has signed up for. | Gold Level | +| `joined` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO-8601 formatted date the contact began their membership. | 2017-02-10 | +| `expiration` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO-8601 formatted date the contact's membership will expire. | 2020-02-09 | +| `lastRenewal` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO-8601 formatted date the contact last renewed their membership. | 2019-02-08 | +| `amountDue` | *Optional\* | :heavy_minus_sign: | The amount currently due for this membership. | 50.5 | +| `listInDirectory` | *Optional\* | :heavy_minus_sign: | Indicates if the member details should be included in the member directory. | false | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactMergeField.md b/packages/java/docs/models/components/ContactMergeField.md new file mode 100644 index 000000000..9ab0112fa --- /dev/null +++ b/packages/java/docs/models/components/ContactMergeField.md @@ -0,0 +1,11 @@ +# ContactMergeField + +A pair of a contact field name and a contact id. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `fieldName` | *String* | :heavy_check_mark: | The name of a contact field. | firstName | +| `contactId` | *String* | :heavy_check_mark: | ID of the contact. | a45a3341-d30f-4bd9-bfd8-fbcdae37f0f2 | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactMergeFieldJson.md b/packages/java/docs/models/components/ContactMergeFieldJson.md deleted file mode 100644 index b9f003267..000000000 --- a/packages/java/docs/models/components/ContactMergeFieldJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# ContactMergeFieldJson - -A pair of a contact field name and a contact id. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `fieldName` | *String* | :heavy_check_mark: | The name of a contact field. | firstName | -| `contactId` | *String* | :heavy_check_mark: | ID of the contact. | a45a3341-d30f-4bd9-bfd8-fbcdae37f0f2 | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactMethods.md b/packages/java/docs/models/components/ContactMethods.md new file mode 100644 index 000000000..15f82e152 --- /dev/null +++ b/packages/java/docs/models/components/ContactMethods.md @@ -0,0 +1,22 @@ +# ContactMethods + +Medium for contacting the person. + +## Example Usage + +```java +import com.cvent.models.components.ContactMethods; + +ContactMethods value = ContactMethods.CVENT; +``` + + +## Values + +| Name | Value | +| -------- | -------- | +| `CVENT` | CVENT | +| `EMAIL` | EMAIL | +| `FAX` | FAX | +| `MOBILE` | MOBILE | +| `PHONE` | PHONE | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactMethodsJson.md b/packages/java/docs/models/components/ContactMethodsJson.md deleted file mode 100644 index 13104ba4b..000000000 --- a/packages/java/docs/models/components/ContactMethodsJson.md +++ /dev/null @@ -1,22 +0,0 @@ -# ContactMethodsJson - -Medium for contacting the person. - -## Example Usage - -```java -import com.cvent.models.components.ContactMethodsJson; - -ContactMethodsJson value = ContactMethodsJson.CVENT; -``` - - -## Values - -| Name | Value | -| -------- | -------- | -| `CVENT` | CVENT | -| `EMAIL` | EMAIL | -| `FAX` | FAX | -| `MOBILE` | MOBILE | -| `PHONE` | PHONE | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactObfuscationStatus.md b/packages/java/docs/models/components/ContactObfuscationStatus.md index 51d2c271f..7739aad30 100644 --- a/packages/java/docs/models/components/ContactObfuscationStatus.md +++ b/packages/java/docs/models/components/ContactObfuscationStatus.md @@ -7,6 +7,6 @@ Model representing an obfuscation status of a contact. | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `status` | [Optional\](../../models/components/ContactObfuscationStatusTypeJson.md) | :heavy_minus_sign: | Status of the request to obfuscate a contact.

INITIATED - The obfuscation request has been received.

QUEUED - The obfuscation request is currently waiting in the queue to be executed.

PROCESSING - The obfuscation request is currently being processed.

COMPLETED - The obfuscation request is complete.

FAILED - The obfuscation request failed due to an error. | INITIATED | +| `status` | [Optional\](../../models/components/ContactObfuscationStatusType.md) | :heavy_minus_sign: | Status of the request to obfuscate a contact.

INITIATED - The obfuscation request has been received.

QUEUED - The obfuscation request is currently waiting in the queue to be executed.

PROCESSING - The obfuscation request is currently being processed.

COMPLETED - The obfuscation request is complete.

FAILED - The obfuscation request failed due to an error. | INITIATED | | `obfuscateId` | *Optional\* | :heavy_minus_sign: | The obfuscation job identifier. | | -| `contact` | [Optional\](../../models/components/ContactIdJson.md) | :heavy_minus_sign: | A contact id. | | \ No newline at end of file +| `contact` | [Optional\](../../models/components/ContactId.md) | :heavy_minus_sign: | A contact id. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactObfuscationStatusType.md b/packages/java/docs/models/components/ContactObfuscationStatusType.md new file mode 100644 index 000000000..2d6f7b653 --- /dev/null +++ b/packages/java/docs/models/components/ContactObfuscationStatusType.md @@ -0,0 +1,32 @@ +# ContactObfuscationStatusType + +Status of the request to obfuscate a contact. + +INITIATED - The obfuscation request has been received. + +QUEUED - The obfuscation request is currently waiting in the queue to be executed. + +PROCESSING - The obfuscation request is currently being processed. + +COMPLETED - The obfuscation request is complete. + +FAILED - The obfuscation request failed due to an error. + +## Example Usage + +```java +import com.cvent.models.components.ContactObfuscationStatusType; + +ContactObfuscationStatusType value = ContactObfuscationStatusType.INITIATED; +``` + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `INITIATED` | INITIATED | +| `QUEUED` | QUEUED | +| `PROCESSING` | PROCESSING | +| `COMPLETED` | COMPLETED | +| `FAILED` | FAILED | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactObfuscationStatusTypeJson.md b/packages/java/docs/models/components/ContactObfuscationStatusTypeJson.md deleted file mode 100644 index fcf7cdaf9..000000000 --- a/packages/java/docs/models/components/ContactObfuscationStatusTypeJson.md +++ /dev/null @@ -1,32 +0,0 @@ -# ContactObfuscationStatusTypeJson - -Status of the request to obfuscate a contact. - -INITIATED - The obfuscation request has been received. - -QUEUED - The obfuscation request is currently waiting in the queue to be executed. - -PROCESSING - The obfuscation request is currently being processed. - -COMPLETED - The obfuscation request is complete. - -FAILED - The obfuscation request failed due to an error. - -## Example Usage - -```java -import com.cvent.models.components.ContactObfuscationStatusTypeJson; - -ContactObfuscationStatusTypeJson value = ContactObfuscationStatusTypeJson.INITIATED; -``` - - -## Values - -| Name | Value | -| ------------ | ------------ | -| `INITIATED` | INITIATED | -| `QUEUED` | QUEUED | -| `PROCESSING` | PROCESSING | -| `COMPLETED` | COMPLETED | -| `FAILED` | FAILED | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactOptOut.md b/packages/java/docs/models/components/ContactOptOut.md new file mode 100644 index 000000000..de157be6d --- /dev/null +++ b/packages/java/docs/models/components/ContactOptOut.md @@ -0,0 +1,12 @@ +# ContactOptOut + +Details of an opt-out for a Contact. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | +| `optedOut` | *Optional\* | :heavy_minus_sign: | Used to denote if a contact has opted-out of receiving system generated emails. | false | +| `date` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when this contact was opted-out. This value can change if the contact opts out multiple times. | 2019-02-12T03:00:00Z | +| `by` | [Optional\](../../models/components/OptoutBy.md) | :heavy_minus_sign: | This is used to denote how a contact is opt'd out of Cvent system. | Account User | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactOptOutInput.md b/packages/java/docs/models/components/ContactOptOutInput.md new file mode 100644 index 000000000..aebbdb2b2 --- /dev/null +++ b/packages/java/docs/models/components/ContactOptOutInput.md @@ -0,0 +1,10 @@ +# ContactOptOutInput + +Details of an opt-out for a Contact. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `optedOut` | *Optional\* | :heavy_minus_sign: | Used to denote if a contact has opted-out of receiving system generated emails. | false | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactPaginatedResponse.md b/packages/java/docs/models/components/ContactPaginatedResponse.md index ce9822750..69598e303 100644 --- a/packages/java/docs/models/components/ContactPaginatedResponse.md +++ b/packages/java/docs/models/components/ContactPaginatedResponse.md @@ -7,5 +7,5 @@ The response from a request to get the list of contacts. This includes the pagi | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `paging` | [PagingJson](../../models/components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | List\<[ZeroAllOf7](../../models/components/ZeroAllOf7.md)> | :heavy_check_mark: | Collection of contacts. | \ No newline at end of file +| `paging` | [Paging](../../models/components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `data` | List\<[Contact](../../models/components/Contact.md)> | :heavy_check_mark: | Collection of contacts. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactPatch.md b/packages/java/docs/models/components/ContactPatch.md index 705c9be7e..8d484c435 100644 --- a/packages/java/docs/models/components/ContactPatch.md +++ b/packages/java/docs/models/components/ContactPatch.md @@ -17,24 +17,24 @@ This entity is used to represent a single item that is requested for a contact p | `company` | *Optional\* | :heavy_minus_sign: | N/A | | | `designation` | *Optional\* | :heavy_minus_sign: | The designation of the contact, typically an award or credential. | CPA | | `title` | *Optional\* | :heavy_minus_sign: | N/A | | -| `type` | [Optional\](../../models/components/AttendeeContactTypeJsonInput.md) | :heavy_minus_sign: | Contains details related to the attendee's contact type. | | -| `primaryAddressType` | [Optional\](../../models/components/AddressTypeJson.md) | :heavy_minus_sign: | The type of address. | Home | +| `type` | [Optional\](../../models/components/AttendeeContactTypeInput.md) | :heavy_minus_sign: | Contains details related to the attendee's contact type. | | +| `primaryAddressType` | [Optional\](../../models/components/AddressType.md) | :heavy_minus_sign: | The type of address. | Home | | `homeAddress` | [Optional\](../../models/components/HomeAddress.md) | :heavy_minus_sign: | N/A | | | `homePhone` | *Optional\* | :heavy_minus_sign: | N/A | | | `homeFax` | *Optional\* | :heavy_minus_sign: | The fax number of the contact at their place of residence. | 555-555-5555 | -| `workAddress` | [Optional\](../../models/components/AddressJsonInput.md) | :heavy_minus_sign: | Contact address details. | | +| `workAddress` | [Optional\](../../models/components/AddressInput.md) | :heavy_minus_sign: | Contact address details. | | | `workPhone` | *Optional\* | :heavy_minus_sign: | The phone number of the contact at their place of work. | 555-555-5555 | | `workFax` | *Optional\* | :heavy_minus_sign: | The fax number of the contact at their place of work. | 555-555-5555 | | `sourceId` | *Optional\* | :heavy_minus_sign: | This is a ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. | system-a-00000000-0000-0000-0000-000000000000 | | `mobilePhone` | *Optional\* | :heavy_minus_sign: | The contact's mobile phone number. | 555-555-5555 | | `prefix` | *Optional\* | :heavy_minus_sign: | Denotes what is traditionally a title of an individual. | Mr. | | `pager` | *Optional\* | :heavy_minus_sign: | The pager number of the contact. | 555-555-5555 | -| `optOut` | [Optional\](../../models/components/OptOutJsonInput.md) | :heavy_minus_sign: | Details of an opt-out for a Contact. | | +| `optOut` | [Optional\](../../models/components/ContactOptOutInput.md) | :heavy_minus_sign: | Details of an opt-out for a Contact. | | | `npi` | *Optional\* | :heavy_minus_sign: | Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. | 5555555555 | | `links` | [Optional\](../../models/components/ContactPatchLinks.md) | :heavy_minus_sign: | N/A | | | `dateOfBirth` | *Optional\* | :heavy_minus_sign: | N/A | | | ~~`passportNumber`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The passport number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use the passport.number field. | 123456789 | -| `passport` | [Optional\](../../models/components/PassportJsonInput.md) | :heavy_minus_sign: | This entity represents a contact's passport information. | | +| `passport` | [Optional\](../../models/components/PassportInput.md) | :heavy_minus_sign: | This entity represents a contact's passport information. | | | `socialSecurityNumber` | *Optional\* | :heavy_minus_sign: | N/A | | | `nationalIdentificationNumber` | *Optional\* | :heavy_minus_sign: | The national identification number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123456789 | | `headline` | *Optional\* | :heavy_minus_sign: | The headline of the contact's profile, which summarizes their professional experience and qualities. | Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands | diff --git a/packages/java/docs/models/components/ContactType.md b/packages/java/docs/models/components/ContactType.md new file mode 100644 index 000000000..c6209a340 --- /dev/null +++ b/packages/java/docs/models/components/ContactType.md @@ -0,0 +1,14 @@ +# ContactType + +This entity represents a contact type at contact level. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | The ID of the contact type. | | +| `code` | *String* | :heavy_check_mark: | The contact type code. Must be unique in the account. | VIP | +| `name` | *String* | :heavy_check_mark: | Name of the contact type. | VIP Attendee | +| `description` | *Optional\* | :heavy_minus_sign: | Description of the contact type. | Very important attendee. | +| `active` | *Optional\* | :heavy_minus_sign: | Indicates whether the contact type is active. | true | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactTypeJson.md b/packages/java/docs/models/components/ContactTypeJson.md index a9108a4ed..0b1128eb5 100644 --- a/packages/java/docs/models/components/ContactTypeJson.md +++ b/packages/java/docs/models/components/ContactTypeJson.md @@ -1,14 +1,19 @@ # ContactTypeJson -This entity represents a contact type at contact level. +The contact types used for the proposal. +## Example Usage -## Fields +```java +import com.cvent.models.components.ContactTypeJson; -| Field | Type | Required | Description | Example | -| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | -| `id` | *String* | :heavy_check_mark: | The ID of the contact type. | | -| `code` | *String* | :heavy_check_mark: | The contact type code. Must be unique in the account. | VIP | -| `name` | *String* | :heavy_check_mark: | Name of the contact type. | VIP Attendee | -| `description` | *Optional\* | :heavy_minus_sign: | Description of the contact type. | Very important attendee. | -| `active` | *Optional\* | :heavy_minus_sign: | Indicates whether the contact type is active. | true | \ No newline at end of file +ContactTypeJson value = ContactTypeJson.PRIMARY; +``` + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `PRIMARY` | PRIMARY | +| `SECONDARY` | SECONDARY | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactTypeJson1.md b/packages/java/docs/models/components/ContactTypeJson1.md deleted file mode 100644 index 131ca5ee6..000000000 --- a/packages/java/docs/models/components/ContactTypeJson1.md +++ /dev/null @@ -1,19 +0,0 @@ -# ContactTypeJson1 - -The contact types used for the proposal. - -## Example Usage - -```java -import com.cvent.models.components.ContactTypeJson1; - -ContactTypeJson1 value = ContactTypeJson1.PRIMARY; -``` - - -## Values - -| Name | Value | -| ----------- | ----------- | -| `PRIMARY` | PRIMARY | -| `SECONDARY` | SECONDARY | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactTypePaginatedResponse.md b/packages/java/docs/models/components/ContactTypePaginatedResponse.md index 8f90bd50d..cd948c6de 100644 --- a/packages/java/docs/models/components/ContactTypePaginatedResponse.md +++ b/packages/java/docs/models/components/ContactTypePaginatedResponse.md @@ -5,7 +5,7 @@ The response from a request to get the list of contact types. This includes the ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `paging` | [PagingJson](../../models/components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | List\<[ContactTypeJson](../../models/components/ContactTypeJson.md)> | :heavy_check_mark: | Collection of contact types. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `paging` | [Paging](../../models/components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `data` | List\<[ContactType](../../models/components/ContactType.md)> | :heavy_check_mark: | Collection of contact types. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactUpdate.md b/packages/java/docs/models/components/ContactUpdate.md index 35f2ee92a..e671ea3d4 100644 --- a/packages/java/docs/models/components/ContactUpdate.md +++ b/packages/java/docs/models/components/ContactUpdate.md @@ -13,28 +13,28 @@ This entity is used to represent a single item that is requested for a contact u | `nickname` | *Optional\* | :heavy_minus_sign: | The nickname of the contact. | Harry | | `email` | *Optional\* | :heavy_minus_sign: | The email address of the contact. | h.potterfield@test.com | | `ccEmail` | *Optional\* | :heavy_minus_sign: | An alternate email address of the contact that can be cc'd on email communications. | h.porter@tesing.com | -| `gender` | [Optional\](../../models/components/GenderJson.md) | :heavy_minus_sign: | The gender of the contact. | Male | +| `gender` | [Optional\](../../models/components/Gender.md) | :heavy_minus_sign: | The gender of the contact. | Male | | `company` | *Optional\* | :heavy_minus_sign: | The company/organization the contact belongs to. | Cvent Inc. | | `designation` | *Optional\* | :heavy_minus_sign: | The designation of the contact, typically an award or credential. | CPA | | `title` | *Optional\* | :heavy_minus_sign: | The job title of the contact. | Event Planner | -| `type` | [Optional\](../../models/components/AttendeeContactTypeJsonInput.md) | :heavy_minus_sign: | Contains details related to the attendee's contact type. | | -| `primaryAddressType` | [Optional\](../../models/components/AddressTypeJson.md) | :heavy_minus_sign: | The type of address. | Home | -| `homeAddress` | [Optional\](../../models/components/AddressJsonInput.md) | :heavy_minus_sign: | Contact address details. | | +| `type` | [Optional\](../../models/components/AttendeeContactTypeInput.md) | :heavy_minus_sign: | Contains details related to the attendee's contact type. | | +| `primaryAddressType` | [Optional\](../../models/components/AddressType.md) | :heavy_minus_sign: | The type of address. | Home | +| `homeAddress` | [Optional\](../../models/components/AddressInput.md) | :heavy_minus_sign: | Contact address details. | | | `homePhone` | *Optional\* | :heavy_minus_sign: | The phone number of the contact at their place of residence. | 555-555-5555 | | `homeFax` | *Optional\* | :heavy_minus_sign: | The fax number of the contact at their place of residence. | 555-555-5555 | -| `workAddress` | [Optional\](../../models/components/AddressJsonInput.md) | :heavy_minus_sign: | Contact address details. | | +| `workAddress` | [Optional\](../../models/components/AddressInput.md) | :heavy_minus_sign: | Contact address details. | | | `workPhone` | *Optional\* | :heavy_minus_sign: | The phone number of the contact at their place of work. | 555-555-5555 | | `workFax` | *Optional\* | :heavy_minus_sign: | The fax number of the contact at their place of work. | 555-555-5555 | | `sourceId` | *Optional\* | :heavy_minus_sign: | This is a ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. | system-a-00000000-0000-0000-0000-000000000000 | | `mobilePhone` | *Optional\* | :heavy_minus_sign: | The contact's mobile phone number. | 555-555-5555 | | `prefix` | *Optional\* | :heavy_minus_sign: | Denotes what is traditionally a title of an individual. | Mr. | | `pager` | *Optional\* | :heavy_minus_sign: | The pager number of the contact. | 555-555-5555 | -| `optOut` | [Optional\](../../models/components/OptOutJsonInput.md) | :heavy_minus_sign: | Details of an opt-out for a Contact. | | +| `optOut` | [Optional\](../../models/components/ContactOptOutInput.md) | :heavy_minus_sign: | Details of an opt-out for a Contact. | | | `npi` | *Optional\* | :heavy_minus_sign: | Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. | 5555555555 | -| `links` | [Optional\](../../models/components/ContactLinksJsonInput.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | +| `links` | [Optional\](../../models/components/ContactLinksInput.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | | `dateOfBirth` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The date of birth of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 1990-01-01 | | ~~`passportNumber`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The passport number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use the passport.number field. | 123456789 | -| `passport` | [Optional\](../../models/components/PassportJsonInput.md) | :heavy_minus_sign: | This entity represents a contact's passport information. | | +| `passport` | [Optional\](../../models/components/PassportInput.md) | :heavy_minus_sign: | This entity represents a contact's passport information. | | | `socialSecurityNumber` | *Optional\* | :heavy_minus_sign: | The social security number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123-45-6789 | | `nationalIdentificationNumber` | *Optional\* | :heavy_minus_sign: | The national identification number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123456789 | | `headline` | *Optional\* | :heavy_minus_sign: | The headline of the contact's profile, which summarizes their professional experience and qualities. | Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands | diff --git a/packages/java/docs/models/components/CreateTransactionResponse.md b/packages/java/docs/models/components/CreateTransactionResponse.md index 0f3aafaaa..caddbd614 100644 --- a/packages/java/docs/models/components/CreateTransactionResponse.md +++ b/packages/java/docs/models/components/CreateTransactionResponse.md @@ -13,7 +13,7 @@ Denotes the details of the transaction created for an attendee. | `lastModifiedBy` | *Optional\* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | | `id` | *Optional\* | :heavy_minus_sign: | A unique ID representing the transaction. | 18549806a69f4727a315f2199a08d8b6 | | `event` | [Optional\](../../models/components/Event2.md) | :heavy_minus_sign: | The reference to the event. Contains only the ID of the event. | | -| `attendee` | [Optional\](../../models/components/Attendee2.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | +| `attendee` | [Optional\](../../models/components/Attendee.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | | `orders` | List\<[Order](../../models/components/Order.md)> | :heavy_minus_sign: | This denotes the order IDs corresponding to this transaction. | [
{
"id": "7c4a5acd-9610-4c42-bd10-10e279e69ddc"
},
{
"id": "b479e85e-b5b0-49e7-9f11-65bad23350b1"
},
{
"id": "d1c24041-9ca4-4afd-a2f8-a0905d935aa9"
}
] | | `journalNumber` | *Optional\* | :heavy_minus_sign: | Journal number for this transaction. Represents an identifier for the transaction in your bank or ledger. | PZNK2PKZH4N | | `paymentType` | [PaymentType](../../models/components/PaymentType.md) | :heavy_check_mark: | Denotes the type of transaction you're creating. Offline Charge: The transaction is a payment made to the attendee's order electronically in another system of record, or paid in physical currency. To create an offline charge, the attendee must have a balance owing. Offline Refund: The transaction is a refund issued to the attendee electronically in another system of record, or paid in physical currency. To create an offline refund, the attendee must have a balance due. | Offline Charge | diff --git a/packages/java/docs/models/components/CreateTransactionResponseInput.md b/packages/java/docs/models/components/CreateTransactionResponseInput.md index 29d868af1..d2d328534 100644 --- a/packages/java/docs/models/components/CreateTransactionResponseInput.md +++ b/packages/java/docs/models/components/CreateTransactionResponseInput.md @@ -8,7 +8,7 @@ Denotes the details of the transaction created for an attendee. | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `event` | [Optional\](../../models/components/Event2.md) | :heavy_minus_sign: | The reference to the event. Contains only the ID of the event. | | -| `attendee` | [Optional\](../../models/components/Attendee2.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | +| `attendee` | [Optional\](../../models/components/Attendee.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | | `paymentType` | [PaymentType](../../models/components/PaymentType.md) | :heavy_check_mark: | Denotes the type of transaction you're creating. Offline Charge: The transaction is a payment made to the attendee's order electronically in another system of record, or paid in physical currency. To create an offline charge, the attendee must have a balance owing. Offline Refund: The transaction is a refund issued to the attendee electronically in another system of record, or paid in physical currency. To create an offline refund, the attendee must have a balance due. | Offline Charge | | `paymentMethod` | [PaymentMethod](../../models/components/PaymentMethod.md) | :heavy_check_mark: | This denotes the payment method in a transaction. | Mastercard | | `date` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 zoned date time when attendee made the transaction. | 2018-01-13T02:00:00Z | diff --git a/packages/java/docs/models/components/CreatedBy.md b/packages/java/docs/models/components/CreatedBy.md new file mode 100644 index 000000000..59774097a --- /dev/null +++ b/packages/java/docs/models/components/CreatedBy.md @@ -0,0 +1,27 @@ +# CreatedBy + +Denotes how the compliance request was created. + +## Example Usage + +```java +import com.cvent.models.components.CreatedBy; + +CreatedBy value = CreatedBy.ATTENDEE; +``` + + +## Values + +| Name | Value | +| --------------------- | --------------------- | +| `ATTENDEE` | ATTENDEE | +| `PLANNER` | PLANNER | +| `IMPORT` | IMPORT | +| `SOAP_API` | SOAP_API | +| `REST_API` | REST_API | +| `MARKETO` | MARKETO | +| `SALEFORCE` | SALEFORCE | +| `VIDEO_CENTER_MEMBER` | VIDEO_CENTER_MEMBER | +| `RESPONDENT` | RESPONDENT | +| `NOT_SET` | NOT_SET | \ No newline at end of file diff --git a/packages/java/docs/models/components/CurrencyJson1.md b/packages/java/docs/models/components/CurrencyJson1.md deleted file mode 100644 index fd8a7b9ed..000000000 --- a/packages/java/docs/models/components/CurrencyJson1.md +++ /dev/null @@ -1,184 +0,0 @@ -# CurrencyJson1 - -The ISO 4217 standard format currency code used for RFPs. - -## Example Usage - -```java -import com.cvent.models.components.CurrencyJson1; - -CurrencyJson1 value = CurrencyJson1.USD; -``` - - -## Values - -| Name | Value | -| ----- | ----- | -| `USD` | USD | -| `CAD` | CAD | -| `AUD` | AUD | -| `EUR` | EUR | -| `GBP` | GBP | -| `HKD` | HKD | -| `NZD` | NZD | -| `AED` | AED | -| `NOK` | NOK | -| `INR` | INR | -| `MXN` | MXN | -| `SEK` | SEK | -| `DKK` | DKK | -| `MYR` | MYR | -| `JPY` | JPY | -| `SGD` | SGD | -| `THB` | THB | -| `IDR` | IDR | -| `KRW` | KRW | -| `CNY` | CNY | -| `TWD` | TWD | -| `RUB` | RUB | -| `CHF` | CHF | -| `CZK` | CZK | -| `HUF` | HUF | -| `QAR` | QAR | -| `ZAR` | ZAR | -| `RON` | RON | -| `HRK` | HRK | -| `TRY` | TRY | -| `BRL` | BRL | -| `PHP` | PHP | -| `SAR` | SAR | -| `PLN` | PLN | -| `ARS` | ARS | -| `AWG` | AWG | -| `AZN` | AZN | -| `BSD` | BSD | -| `BBD` | BBD | -| `BMD` | BMD | -| `CLP` | CLP | -| `COP` | COP | -| `CRC` | CRC | -| `DOP` | DOP | -| `XCD` | XCD | -| `ILS` | ILS | -| `JMD` | JMD | -| `LVL` | LVL | -| `LTL` | LTL | -| `MDL` | MDL | -| `ANG` | ANG | -| `OMR` | OMR | -| `TTD` | TTD | -| `UAH` | UAH | -| `UYU` | UYU | -| `RSD` | RSD | -| `AFN` | AFN | -| `AMD` | AMD | -| `AOA` | AOA | -| `BAM` | BAM | -| `BDT` | BDT | -| `BGN` | BGN | -| `BHD` | BHD | -| `BOB` | BOB | -| `DZD` | DZD | -| `EEK` | EEK | -| `EGP` | EGP | -| `FJD` | FJD | -| `GTQ` | GTQ | -| `HNL` | HNL | -| `ISK` | ISK | -| `JOD` | JOD | -| `KYD` | KYD | -| `KZT` | KZT | -| `LBP` | LBP | -| `MAD` | MAD | -| `NGN` | NGN | -| `NIO` | NIO | -| `ESP` | ESP | -| `FRF` | FRF | -| `PAB` | PAB | -| `PEN` | PEN | -| `PKR` | PKR | -| `PYG` | PYG | -| `SVC` | SVC | -| `SYP` | SYP | -| `VEF` | VEF | -| `VND` | VND | -| `XPF` | XPF | -| `GYD` | GYD | -| `MOP` | MOP | -| `PGK` | PGK | -| `XOF` | XOF | -| `XAF` | XAF | -| `BZD` | BZD | -| `BYR` | BYR | -| `BWP` | BWP | -| `BND` | BND | -| `BIF` | BIF | -| `KHR` | KHR | -| `CVE` | CVE | -| `KMF` | KMF | -| `CDF` | CDF | -| `DJF` | DJF | -| `ERN` | ERN | -| `FKP` | FKP | -| `GMD` | GMD | -| `GEL` | GEL | -| `GHS` | GHS | -| `GIP` | GIP | -| `GNF` | GNF | -| `HTG` | HTG | -| `KES` | KES | -| `KWD` | KWD | -| `KGS` | KGS | -| `LAK` | LAK | -| `LRD` | LRD | -| `MKD` | MKD | -| `MGA` | MGA | -| `MWK` | MWK | -| `MVR` | MVR | -| `MRO` | MRO | -| `MUR` | MUR | -| `MNT` | MNT | -| `MZN` | MZN | -| `MMK` | MMK | -| `NAD` | NAD | -| `NPR` | NPR | -| `RWF` | RWF | -| `SHP` | SHP | -| `WST` | WST | -| `STD` | STD | -| `SLL` | SLL | -| `SBD` | SBD | -| `SOS` | SOS | -| `LKR` | LKR | -| `SRD` | SRD | -| `SZL` | SZL | -| `TOP` | TOP | -| `TND` | TND | -| `UGX` | UGX | -| `UZS` | UZS | -| `VUV` | VUV | -| `YER` | YER | -| `ZMK` | ZMK | -| `ZWD` | ZWD | -| `SR` | SR | -| `ETB` | ETB | -| `GH` | GH | -| `GWP` | GWP | -| `IQD` | IQD | -| `IRR` | IRR | -| `KPW` | KPW | -| `LSL` | LSL | -| `ROL` | ROL | -| `SDG` | SDG | -| `SKK` | SKK | -| `TJS` | TJS | -| `TMT` | TMT | -| `TZS` | TZS | -| `ALL` | ALL | -| `BTN` | BTN | -| `CUP` | CUP | -| `LD` | LD | -| `SCR` | SCR | -| `ZMW` | ZMW | -| `ZWL` | ZWL | \ No newline at end of file diff --git a/packages/java/docs/models/components/CurrencyJson2.md b/packages/java/docs/models/components/CurrencyJson2.md new file mode 100644 index 000000000..aa227da26 --- /dev/null +++ b/packages/java/docs/models/components/CurrencyJson2.md @@ -0,0 +1,184 @@ +# CurrencyJson2 + +The ISO 4217 standard format currency code used for RFPs. + +## Example Usage + +```java +import com.cvent.models.components.CurrencyJson2; + +CurrencyJson2 value = CurrencyJson2.USD; +``` + + +## Values + +| Name | Value | +| ----- | ----- | +| `USD` | USD | +| `CAD` | CAD | +| `AUD` | AUD | +| `EUR` | EUR | +| `GBP` | GBP | +| `HKD` | HKD | +| `NZD` | NZD | +| `AED` | AED | +| `NOK` | NOK | +| `INR` | INR | +| `MXN` | MXN | +| `SEK` | SEK | +| `DKK` | DKK | +| `MYR` | MYR | +| `JPY` | JPY | +| `SGD` | SGD | +| `THB` | THB | +| `IDR` | IDR | +| `KRW` | KRW | +| `CNY` | CNY | +| `TWD` | TWD | +| `RUB` | RUB | +| `CHF` | CHF | +| `CZK` | CZK | +| `HUF` | HUF | +| `QAR` | QAR | +| `ZAR` | ZAR | +| `RON` | RON | +| `HRK` | HRK | +| `TRY` | TRY | +| `BRL` | BRL | +| `PHP` | PHP | +| `SAR` | SAR | +| `PLN` | PLN | +| `ARS` | ARS | +| `AWG` | AWG | +| `AZN` | AZN | +| `BSD` | BSD | +| `BBD` | BBD | +| `BMD` | BMD | +| `CLP` | CLP | +| `COP` | COP | +| `CRC` | CRC | +| `DOP` | DOP | +| `XCD` | XCD | +| `ILS` | ILS | +| `JMD` | JMD | +| `LVL` | LVL | +| `LTL` | LTL | +| `MDL` | MDL | +| `ANG` | ANG | +| `OMR` | OMR | +| `TTD` | TTD | +| `UAH` | UAH | +| `UYU` | UYU | +| `RSD` | RSD | +| `AFN` | AFN | +| `AMD` | AMD | +| `AOA` | AOA | +| `BAM` | BAM | +| `BDT` | BDT | +| `BGN` | BGN | +| `BHD` | BHD | +| `BOB` | BOB | +| `DZD` | DZD | +| `EEK` | EEK | +| `EGP` | EGP | +| `FJD` | FJD | +| `GTQ` | GTQ | +| `HNL` | HNL | +| `ISK` | ISK | +| `JOD` | JOD | +| `KYD` | KYD | +| `KZT` | KZT | +| `LBP` | LBP | +| `MAD` | MAD | +| `NGN` | NGN | +| `NIO` | NIO | +| `ESP` | ESP | +| `FRF` | FRF | +| `PAB` | PAB | +| `PEN` | PEN | +| `PKR` | PKR | +| `PYG` | PYG | +| `SVC` | SVC | +| `SYP` | SYP | +| `VEF` | VEF | +| `VND` | VND | +| `XPF` | XPF | +| `GYD` | GYD | +| `MOP` | MOP | +| `PGK` | PGK | +| `XOF` | XOF | +| `XAF` | XAF | +| `BZD` | BZD | +| `BYR` | BYR | +| `BWP` | BWP | +| `BND` | BND | +| `BIF` | BIF | +| `KHR` | KHR | +| `CVE` | CVE | +| `KMF` | KMF | +| `CDF` | CDF | +| `DJF` | DJF | +| `ERN` | ERN | +| `FKP` | FKP | +| `GMD` | GMD | +| `GEL` | GEL | +| `GHS` | GHS | +| `GIP` | GIP | +| `GNF` | GNF | +| `HTG` | HTG | +| `KES` | KES | +| `KWD` | KWD | +| `KGS` | KGS | +| `LAK` | LAK | +| `LRD` | LRD | +| `MKD` | MKD | +| `MGA` | MGA | +| `MWK` | MWK | +| `MVR` | MVR | +| `MRO` | MRO | +| `MUR` | MUR | +| `MNT` | MNT | +| `MZN` | MZN | +| `MMK` | MMK | +| `NAD` | NAD | +| `NPR` | NPR | +| `RWF` | RWF | +| `SHP` | SHP | +| `WST` | WST | +| `STD` | STD | +| `SLL` | SLL | +| `SBD` | SBD | +| `SOS` | SOS | +| `LKR` | LKR | +| `SRD` | SRD | +| `SZL` | SZL | +| `TOP` | TOP | +| `TND` | TND | +| `UGX` | UGX | +| `UZS` | UZS | +| `VUV` | VUV | +| `YER` | YER | +| `ZMK` | ZMK | +| `ZWD` | ZWD | +| `SR` | SR | +| `ETB` | ETB | +| `GH` | GH | +| `GWP` | GWP | +| `IQD` | IQD | +| `IRR` | IRR | +| `KPW` | KPW | +| `LSL` | LSL | +| `ROL` | ROL | +| `SDG` | SDG | +| `SKK` | SKK | +| `TJS` | TJS | +| `TMT` | TMT | +| `TZS` | TZS | +| `ALL` | ALL | +| `BTN` | BTN | +| `CUP` | CUP | +| `LD` | LD | +| `SCR` | SCR | +| `ZMW` | ZMW | +| `ZWL` | ZWL | \ No newline at end of file diff --git a/packages/java/docs/models/components/CustomField3.md b/packages/java/docs/models/components/CustomField3.md index f1572d3ba..75e17ed82 100644 --- a/packages/java/docs/models/components/CustomField3.md +++ b/packages/java/docs/models/components/CustomField3.md @@ -11,7 +11,7 @@ This is used to denote the custom field data. | `name` | *String* | :heavy_check_mark: | The actual text of the custom field. | What is a your favorite color? | | `code` | *String* | :heavy_check_mark: | Code to uniquely identify custom field. | FAVORITE_COLOR_CODE | | `required` | *Optional\* | :heavy_minus_sign: | Whether answer to custom field is mandatory or not. | true | -| `type` | [CustomFieldTypeJson1](../../models/components/CustomFieldTypeJson1.md) | :heavy_check_mark: | This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. | Open Ended Text - One Line | +| `type` | [CustomFieldTypeJson](../../models/components/CustomFieldTypeJson.md) | :heavy_check_mark: | This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. | Open Ended Text - One Line | | `details` | [Optional\](../../models/components/CustomField3Details.md) | :heavy_minus_sign: | Type-specific details of the custom-field. | | | `helpText` | *Optional\* | :heavy_minus_sign: | The help text of the custom field. | Enter your favorite color. | | `displayInDataTag` | [Optional\](../../models/components/DisplayInDataTagJson.md) | :heavy_minus_sign: | This option allows you to choose whether to display the custom field in emails. The field name and the value entered by the invitee are used in the My Agenda data tag. You can set the custom field to display always or only when answered. Only applicable to session custom fields. | No | diff --git a/packages/java/docs/models/components/CustomFieldAnswers.md b/packages/java/docs/models/components/CustomFieldAnswers.md new file mode 100644 index 000000000..0958e295a --- /dev/null +++ b/packages/java/docs/models/components/CustomFieldAnswers.md @@ -0,0 +1,11 @@ +# CustomFieldAnswers + +This object contains RFP custom fields attributes only. + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `customField` | [ExpandableCustomObject](../../models/components/ExpandableCustomObject.md) | :heavy_check_mark: | An object containing custom field data. By default, contains only the field ID.

This is an **expandable** object. When requested via the `expand` query parameter with value `customField`, this object expands to include all properties of a custom field definition.

See the `expand` parameter documentation and refer to the [Get Custom Field](#tag/Custom-Fields/operation/getCustomField) API for the complete expanded schema. | +| `answers` | List\<*String*> | :heavy_check_mark: | List of answers for the RFP custom field. | \ No newline at end of file diff --git a/packages/java/docs/models/components/CustomFieldJson.md b/packages/java/docs/models/components/CustomFieldJson.md new file mode 100644 index 000000000..67c79e997 --- /dev/null +++ b/packages/java/docs/models/components/CustomFieldJson.md @@ -0,0 +1,14 @@ +# CustomFieldJson + +A Custom Field + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `id` | *String* | :heavy_check_mark: | The unique ID representing this custom field. | | +| `name` | *Optional\* | :heavy_minus_sign: | The actual text of the custom field. | What is a your favorite color? | +| `type` | [Optional\](../../models/components/CustomFieldJsonCustomFieldType.md) | :heavy_minus_sign: | The type of data collected by a custom field. | MultiSelect | +| `value` | List\<*String*> | :heavy_check_mark: | The set of answers or possible answers to a question. | [
"Choice C",
"Choice A"
] | +| `order` | *Optional\* | :heavy_minus_sign: | The order of this question in the bigger list of questions. | 1 | \ No newline at end of file diff --git a/packages/java/docs/models/components/CustomFieldJson1.md b/packages/java/docs/models/components/CustomFieldJson1.md index 3880a93c3..36ee741e7 100644 --- a/packages/java/docs/models/components/CustomFieldJson1.md +++ b/packages/java/docs/models/components/CustomFieldJson1.md @@ -1,14 +1,14 @@ # CustomFieldJson1 -A Custom Field +A survey custom field. ## Fields | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `id` | *String* | :heavy_check_mark: | The unique ID representing this custom field. | | +| `id` | *String* | :heavy_check_mark: | The unique id representing this custom field. | bd57aeda-3483-4bcf-886e-c976e9f4454a | | `name` | *Optional\* | :heavy_minus_sign: | The actual text of the custom field. | What is a your favorite color? | -| `type` | [Optional\](../../models/components/CustomFieldJson1CustomFieldType.md) | :heavy_minus_sign: | The type of data collected by a custom field. | MultiSelect | -| `value` | List\<*String*> | :heavy_check_mark: | The set of answers or possible answers to a question. | [
"Choice C",
"Choice A"
] | -| `order` | *Optional\* | :heavy_minus_sign: | The order of this question in the bigger list of questions. | 1 | \ No newline at end of file +| `code` | *Optional\* | :heavy_minus_sign: | Code to uniquely identify custom field. | FAVORITE_COLOR_CODE | +| `type` | [Optional\](../../models/components/CustomFieldJson1CustomFieldType.md) | :heavy_minus_sign: | N/A | Choice - Multiple Answers | +| `values` | List\<*String*> | :heavy_check_mark: | The set of values or possible values to a custom field. | [
"Green",
"Blue"
] | \ No newline at end of file diff --git a/packages/java/docs/models/components/CustomFieldJson1CustomFieldType.md b/packages/java/docs/models/components/CustomFieldJson1CustomFieldType.md index a6f4f4b2e..6b1ac4880 100644 --- a/packages/java/docs/models/components/CustomFieldJson1CustomFieldType.md +++ b/packages/java/docs/models/components/CustomFieldJson1CustomFieldType.md @@ -1,36 +1,22 @@ # CustomFieldJson1CustomFieldType -The type of data collected by a custom field. +This is used to denote the type of data collected by a custom field. ## Example Usage ```java import com.cvent.models.components.CustomFieldJson1CustomFieldType; -CustomFieldJson1CustomFieldType value = CustomFieldJson1CustomFieldType.AUTO_INCREMENT; +CustomFieldJson1CustomFieldType value = CustomFieldJson1CustomFieldType.OPEN_ENDED_TEXT_DATE_TIME; ``` ## Values -| Name | Value | -| ---------------------- | ---------------------- | -| `AUTO_INCREMENT` | AutoIncrement | -| `CONSENT_QUESTION` | ConsentQuestion | -| `CURRENCY` | Currency | -| `DECIMAL` | Decimal | -| `DATE` | Date | -| `DATE_TIME` | DateTime | -| `EMAIL` | Email | -| `FILE_UPLOAD` | FileUpload | -| `FREE_TEXT` | FreeText | -| `GENERAL` | General | -| `MULTI_CHOICE` | MultiChoice | -| `MULTI_SELECT` | MultiSelect | -| `NUMBER` | Number | -| `OPEN_ENDED_DATE_TIME` | OpenEndedDateTime | -| `OPEN_ENDED_TEXT` | OpenEndedText | -| `SINGLE_CHOICE` | SingleChoice | -| `SINGLE_SELECT` | SingleSelect | -| `US_PHONE_NUMBER` | USPhoneNumber | -| `UNKNOWN` | Unknown | \ No newline at end of file +| Name | Value | +| ----------------------------- | ----------------------------- | +| `OPEN_ENDED_TEXT_DATE_TIME` | Open Ended Text - Date/Time | +| `OPEN_ENDED_TEXT_ONE_LINE` | Open Ended Text - One Line | +| `OPEN_ENDED_TEXT_COMMENT_BOX` | Open Ended Text - Comment Box | +| `CHOICE_SINGLE_ANSWER` | Choice - Single Answer | +| `CHOICE_MULTIPLE_ANSWERS` | Choice - Multiple Answers | \ No newline at end of file diff --git a/packages/java/docs/models/components/CustomFieldJson2.md b/packages/java/docs/models/components/CustomFieldJson2.md index 0ab31bcd5..8a24c986b 100644 --- a/packages/java/docs/models/components/CustomFieldJson2.md +++ b/packages/java/docs/models/components/CustomFieldJson2.md @@ -1,14 +1,14 @@ # CustomFieldJson2 -A survey custom field. +A Custom Field ## Fields | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `id` | *String* | :heavy_check_mark: | The unique id representing this custom field. | bd57aeda-3483-4bcf-886e-c976e9f4454a | -| `name` | *Optional\* | :heavy_minus_sign: | The actual text of the custom field. | What is a your favorite color? | -| `code` | *Optional\* | :heavy_minus_sign: | Code to uniquely identify custom field. | FAVORITE_COLOR_CODE | -| `type` | [Optional\](../../models/components/CustomFieldJson2CustomFieldType.md) | :heavy_minus_sign: | N/A | Choice - Multiple Answers | -| `values` | List\<*String*> | :heavy_check_mark: | The set of values or possible values to a custom field. | [
"Green",
"Blue"
] | \ No newline at end of file +| `id` | *String* | :heavy_check_mark: | The unique ID representing this custom field. | | +| `name` | *Optional\* | :heavy_minus_sign: | The actual text of the custom field. | What is your favorite color? | +| `value` | List\<*String*> | :heavy_check_mark: | The set of answers or possible answers to a question. | [
"Choice C",
"Choice A"
] | +| `order` | *Optional\* | :heavy_minus_sign: | The order of this question in the bigger list of questions. | 1 | +| `type` | [Optional\](../../models/components/CustomFieldJson2CustomFieldType.md) | :heavy_minus_sign: | The type of data collected by a custom field. | MultiSelect | \ No newline at end of file diff --git a/packages/java/docs/models/components/CustomFieldJson2CustomFieldType.md b/packages/java/docs/models/components/CustomFieldJson2CustomFieldType.md index 0b2727164..df92bea9a 100644 --- a/packages/java/docs/models/components/CustomFieldJson2CustomFieldType.md +++ b/packages/java/docs/models/components/CustomFieldJson2CustomFieldType.md @@ -1,22 +1,36 @@ # CustomFieldJson2CustomFieldType -This is used to denote the type of data collected by a custom field. +The type of data collected by a custom field. ## Example Usage ```java import com.cvent.models.components.CustomFieldJson2CustomFieldType; -CustomFieldJson2CustomFieldType value = CustomFieldJson2CustomFieldType.OPEN_ENDED_TEXT_DATE_TIME; +CustomFieldJson2CustomFieldType value = CustomFieldJson2CustomFieldType.AUTO_INCREMENT; ``` ## Values -| Name | Value | -| ----------------------------- | ----------------------------- | -| `OPEN_ENDED_TEXT_DATE_TIME` | Open Ended Text - Date/Time | -| `OPEN_ENDED_TEXT_ONE_LINE` | Open Ended Text - One Line | -| `OPEN_ENDED_TEXT_COMMENT_BOX` | Open Ended Text - Comment Box | -| `CHOICE_SINGLE_ANSWER` | Choice - Single Answer | -| `CHOICE_MULTIPLE_ANSWERS` | Choice - Multiple Answers | \ No newline at end of file +| Name | Value | +| ---------------------- | ---------------------- | +| `AUTO_INCREMENT` | AutoIncrement | +| `CONSENT_QUESTION` | ConsentQuestion | +| `CURRENCY` | Currency | +| `DECIMAL` | Decimal | +| `DATE` | Date | +| `DATE_TIME` | DateTime | +| `EMAIL` | Email | +| `FILE_UPLOAD` | FileUpload | +| `FREE_TEXT` | FreeText | +| `GENERAL` | General | +| `MULTI_CHOICE` | MultiChoice | +| `MULTI_SELECT` | MultiSelect | +| `NUMBER` | Number | +| `OPEN_ENDED_DATE_TIME` | OpenEndedDateTime | +| `OPEN_ENDED_TEXT` | OpenEndedText | +| `SINGLE_CHOICE` | SingleChoice | +| `SINGLE_SELECT` | SingleSelect | +| `US_PHONE_NUMBER` | USPhoneNumber | +| `UNKNOWN` | Unknown | \ No newline at end of file diff --git a/packages/java/docs/models/components/CustomFieldJson3.md b/packages/java/docs/models/components/CustomFieldJson3.md deleted file mode 100644 index 5c84f6f10..000000000 --- a/packages/java/docs/models/components/CustomFieldJson3.md +++ /dev/null @@ -1,14 +0,0 @@ -# CustomFieldJson3 - -A Custom Field - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `id` | *String* | :heavy_check_mark: | The unique ID representing this custom field. | | -| `name` | *Optional\* | :heavy_minus_sign: | The actual text of the custom field. | What is your favorite color? | -| `value` | List\<*String*> | :heavy_check_mark: | The set of answers or possible answers to a question. | [
"Choice C",
"Choice A"
] | -| `order` | *Optional\* | :heavy_minus_sign: | The order of this question in the bigger list of questions. | 1 | -| `type` | [Optional\](../../models/components/CustomFieldJson3CustomFieldType.md) | :heavy_minus_sign: | The type of data collected by a custom field. | MultiSelect | \ No newline at end of file diff --git a/packages/java/docs/models/components/CustomFieldJson3CustomFieldType.md b/packages/java/docs/models/components/CustomFieldJson3CustomFieldType.md deleted file mode 100644 index 0030af777..000000000 --- a/packages/java/docs/models/components/CustomFieldJson3CustomFieldType.md +++ /dev/null @@ -1,36 +0,0 @@ -# CustomFieldJson3CustomFieldType - -The type of data collected by a custom field. - -## Example Usage - -```java -import com.cvent.models.components.CustomFieldJson3CustomFieldType; - -CustomFieldJson3CustomFieldType value = CustomFieldJson3CustomFieldType.AUTO_INCREMENT; -``` - - -## Values - -| Name | Value | -| ---------------------- | ---------------------- | -| `AUTO_INCREMENT` | AutoIncrement | -| `CONSENT_QUESTION` | ConsentQuestion | -| `CURRENCY` | Currency | -| `DECIMAL` | Decimal | -| `DATE` | Date | -| `DATE_TIME` | DateTime | -| `EMAIL` | Email | -| `FILE_UPLOAD` | FileUpload | -| `FREE_TEXT` | FreeText | -| `GENERAL` | General | -| `MULTI_CHOICE` | MultiChoice | -| `MULTI_SELECT` | MultiSelect | -| `NUMBER` | Number | -| `OPEN_ENDED_DATE_TIME` | OpenEndedDateTime | -| `OPEN_ENDED_TEXT` | OpenEndedText | -| `SINGLE_CHOICE` | SingleChoice | -| `SINGLE_SELECT` | SingleSelect | -| `US_PHONE_NUMBER` | USPhoneNumber | -| `UNKNOWN` | Unknown | \ No newline at end of file diff --git a/packages/java/docs/models/components/CustomFieldJsonCustomFieldType.md b/packages/java/docs/models/components/CustomFieldJsonCustomFieldType.md new file mode 100644 index 000000000..0501d277c --- /dev/null +++ b/packages/java/docs/models/components/CustomFieldJsonCustomFieldType.md @@ -0,0 +1,36 @@ +# CustomFieldJsonCustomFieldType + +The type of data collected by a custom field. + +## Example Usage + +```java +import com.cvent.models.components.CustomFieldJsonCustomFieldType; + +CustomFieldJsonCustomFieldType value = CustomFieldJsonCustomFieldType.AUTO_INCREMENT; +``` + + +## Values + +| Name | Value | +| ---------------------- | ---------------------- | +| `AUTO_INCREMENT` | AutoIncrement | +| `CONSENT_QUESTION` | ConsentQuestion | +| `CURRENCY` | Currency | +| `DECIMAL` | Decimal | +| `DATE` | Date | +| `DATE_TIME` | DateTime | +| `EMAIL` | Email | +| `FILE_UPLOAD` | FileUpload | +| `FREE_TEXT` | FreeText | +| `GENERAL` | General | +| `MULTI_CHOICE` | MultiChoice | +| `MULTI_SELECT` | MultiSelect | +| `NUMBER` | Number | +| `OPEN_ENDED_DATE_TIME` | OpenEndedDateTime | +| `OPEN_ENDED_TEXT` | OpenEndedText | +| `SINGLE_CHOICE` | SingleChoice | +| `SINGLE_SELECT` | SingleSelect | +| `US_PHONE_NUMBER` | USPhoneNumber | +| `UNKNOWN` | Unknown | \ No newline at end of file diff --git a/packages/java/docs/models/components/CustomFieldTypeJson.md b/packages/java/docs/models/components/CustomFieldTypeJson.md new file mode 100644 index 000000000..32b43fb33 --- /dev/null +++ b/packages/java/docs/models/components/CustomFieldTypeJson.md @@ -0,0 +1,23 @@ +# CustomFieldTypeJson + +This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. + +## Example Usage + +```java +import com.cvent.models.components.CustomFieldTypeJson; + +CustomFieldTypeJson value = CustomFieldTypeJson.OPEN_ENDED_TEXT_DATE_TIME; +``` + + +## Values + +| Name | Value | +| ----------------------------- | ----------------------------- | +| `OPEN_ENDED_TEXT_DATE_TIME` | Open Ended Text - Date/Time | +| `OPEN_ENDED_TEXT_ONE_LINE` | Open Ended Text - One Line | +| `OPEN_ENDED_TEXT_COMMENT_BOX` | Open Ended Text - Comment Box | +| `CHOICE_SINGLE_ANSWER` | Choice - Single Answer | +| `CHOICE_MULTIPLE_ANSWERS` | Choice - Multiple Answers | +| `AUTO_INCREMENT` | Auto-Increment | \ No newline at end of file diff --git a/packages/java/docs/models/components/CustomFieldTypeJson1.md b/packages/java/docs/models/components/CustomFieldTypeJson1.md deleted file mode 100644 index 0efb7726d..000000000 --- a/packages/java/docs/models/components/CustomFieldTypeJson1.md +++ /dev/null @@ -1,23 +0,0 @@ -# CustomFieldTypeJson1 - -This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. - -## Example Usage - -```java -import com.cvent.models.components.CustomFieldTypeJson1; - -CustomFieldTypeJson1 value = CustomFieldTypeJson1.OPEN_ENDED_TEXT_DATE_TIME; -``` - - -## Values - -| Name | Value | -| ----------------------------- | ----------------------------- | -| `OPEN_ENDED_TEXT_DATE_TIME` | Open Ended Text - Date/Time | -| `OPEN_ENDED_TEXT_ONE_LINE` | Open Ended Text - One Line | -| `OPEN_ENDED_TEXT_COMMENT_BOX` | Open Ended Text - Comment Box | -| `CHOICE_SINGLE_ANSWER` | Choice - Single Answer | -| `CHOICE_MULTIPLE_ANSWERS` | Choice - Multiple Answers | -| `AUTO_INCREMENT` | Auto-Increment | \ No newline at end of file diff --git a/packages/java/docs/models/components/CustomQuestionAnswerJson0.md b/packages/java/docs/models/components/CustomQuestionAnswerJson0.md deleted file mode 100644 index 8e5a4d354..000000000 --- a/packages/java/docs/models/components/CustomQuestionAnswerJson0.md +++ /dev/null @@ -1,11 +0,0 @@ -# CustomQuestionAnswerJson0 - -Represents custom question associated with a travel proposal. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `question` | [Optional\](../../models/components/CustomQuestionAnswerJson0Question.md) | :heavy_minus_sign: | Travel account that the proposal is responding to. | | -| `answer` | *Optional\* | :heavy_minus_sign: | Hotel's answer to the program's custom question. | No. | \ No newline at end of file diff --git a/packages/java/docs/models/components/CustomQuestionAnswerJson0Question.md b/packages/java/docs/models/components/CustomQuestionAnswerJson0Question.md deleted file mode 100644 index f72235b3f..000000000 --- a/packages/java/docs/models/components/CustomQuestionAnswerJson0Question.md +++ /dev/null @@ -1,10 +0,0 @@ -# CustomQuestionAnswerJson0Question - -Travel account that the proposal is responding to. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the question. | 565ceabb-786a-4a6d-8c85-e2fccc867e88 | \ No newline at end of file diff --git a/packages/java/docs/models/components/DateAnswerFormat.md b/packages/java/docs/models/components/DateAnswerFormat.md new file mode 100644 index 000000000..1f5371811 --- /dev/null +++ b/packages/java/docs/models/components/DateAnswerFormat.md @@ -0,0 +1,20 @@ +# DateAnswerFormat + +The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. `DateTime`: Answer format is stored in DateTime format. `Time`: Answer format is stored in Time format. + +## Example Usage + +```java +import com.cvent.models.components.DateAnswerFormat; + +DateAnswerFormat value = DateAnswerFormat.DATE; +``` + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `DATE` | Date | +| `DATE_TIME` | DateTime | +| `TIME` | Time | \ No newline at end of file diff --git a/packages/java/docs/models/components/DateAnswerFormatJson.md b/packages/java/docs/models/components/DateAnswerFormatJson.md deleted file mode 100644 index 3a355f085..000000000 --- a/packages/java/docs/models/components/DateAnswerFormatJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# DateAnswerFormatJson - -The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. `DateTime`: Answer format is stored in DateTime format. `Time`: Answer format is stored in Time format. - -## Example Usage - -```java -import com.cvent.models.components.DateAnswerFormatJson; - -DateAnswerFormatJson value = DateAnswerFormatJson.DATE; -``` - - -## Values - -| Name | Value | -| ----------- | ----------- | -| `DATE` | Date | -| `DATE_TIME` | DateTime | -| `TIME` | Time | \ No newline at end of file diff --git a/packages/java/docs/models/components/DatePattern1.md b/packages/java/docs/models/components/DatePattern1.md new file mode 100644 index 000000000..2302499e8 --- /dev/null +++ b/packages/java/docs/models/components/DatePattern1.md @@ -0,0 +1,15 @@ +# DatePattern1 + +Date pattern for days on which event can occur. Used when dateMode is DATE_PATTERN. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `note` | *Optional\* | :heavy_minus_sign: | Note along with date pattern requirements. | Flexible dates on weekends. | +| `endDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_check_mark: | The ISO 8601 end date of the event. | 2016-10-15 | +| `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_check_mark: | The ISO 8601 start date of the event. | 2016-10-13 | +| `durationDays` | *long* | :heavy_check_mark: | Number of days the event will go on. | 3 | +| `startDays` | List\<[DayOfWeek](../../models/components/DayOfWeek.md)> | :heavy_check_mark: | Days of the week when event can start. | | +| `generatedDates` | List\<[Dates1](../../models/components/Dates1.md)> | :heavy_minus_sign: | List of dates generated based on the date pattern. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/DatePatternJson0.md b/packages/java/docs/models/components/DatePatternJson0.md deleted file mode 100644 index 1554c43bc..000000000 --- a/packages/java/docs/models/components/DatePatternJson0.md +++ /dev/null @@ -1,15 +0,0 @@ -# DatePatternJson0 - -Date pattern for days on which event can occur. Used when dateMode is DATE_PATTERN. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | -| `note` | *Optional\* | :heavy_minus_sign: | Note along with date pattern requirements. | Flexible dates on weekends. | -| `endDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_check_mark: | The ISO 8601 end date of the event. | 2016-10-15 | -| `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_check_mark: | The ISO 8601 start date of the event. | 2016-10-13 | -| `durationDays` | *long* | :heavy_check_mark: | Number of days the event will go on. | 3 | -| `startDays` | List\<[DayOfWeekJson0](../../models/components/DayOfWeekJson0.md)> | :heavy_check_mark: | Days of the week when event can start. | | -| `generatedDates` | List\<[DatesJson0](../../models/components/DatesJson0.md)> | :heavy_minus_sign: | List of dates generated based on the date pattern. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/DateRequirements1.md b/packages/java/docs/models/components/DateRequirements1.md new file mode 100644 index 000000000..4a3297e7d --- /dev/null +++ b/packages/java/docs/models/components/DateRequirements1.md @@ -0,0 +1,13 @@ +# DateRequirements1 + +Date requirements for the event. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| `mode` | [RfpDateMode](../../models/components/RfpDateMode.md) | :heavy_check_mark: | RfpDateMode | +| `alternateDates` | List\<[Dates1](../../models/components/Dates1.md)> | :heavy_minus_sign: | List of dates for the event. Can be used to provide set of alternate event dates when mode is ALTERNATE_DATE. | +| `pattern` | [Optional\](../../models/components/DatePattern1.md) | :heavy_minus_sign: | Date pattern for days on which event can occur. Used when dateMode is DATE_PATTERN. | +| `availabilityRangeRequired` | *Optional\* | :heavy_minus_sign: | True indicates that the event requires a range of availability dates. | \ No newline at end of file diff --git a/packages/java/docs/models/components/DateRequirementsJson0.md b/packages/java/docs/models/components/DateRequirementsJson0.md deleted file mode 100644 index f1fdcb136..000000000 --- a/packages/java/docs/models/components/DateRequirementsJson0.md +++ /dev/null @@ -1,13 +0,0 @@ -# DateRequirementsJson0 - -Date requirements for the event. - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | -| `mode` | [RfpDateModeJson0](../../models/components/RfpDateModeJson0.md) | :heavy_check_mark: | Way of specifying dates for the event. | -| `alternateDates` | List\<[DatesJson0](../../models/components/DatesJson0.md)> | :heavy_minus_sign: | List of dates for the event. Can be used to provide set of alternate event dates when mode is ALTERNATE_DATE. | -| `pattern` | [Optional\](../../models/components/DatePatternJson0.md) | :heavy_minus_sign: | Date pattern for days on which event can occur. Used when dateMode is DATE_PATTERN. | -| `availabilityRangeRequired` | *Optional\* | :heavy_minus_sign: | True indicates that the event requires a range of availability dates. | \ No newline at end of file diff --git a/packages/java/docs/models/components/DateTypeJson.md b/packages/java/docs/models/components/DateTypeJson.md new file mode 100644 index 000000000..909802510 --- /dev/null +++ b/packages/java/docs/models/components/DateTypeJson.md @@ -0,0 +1,30 @@ +# DateTypeJson + +The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). + +## Example Usage + +```java +import com.cvent.models.components.DateTypeJson; + +DateTypeJson value = DateTypeJson.PREFERRED; +``` + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `PREFERRED` | PREFERRED | +| `ALTERNATE1` | ALTERNATE_1 | +| `ALTERNATE2` | ALTERNATE_2 | +| `ALTERNATE3` | ALTERNATE_3 | +| `ALTERNATE4` | ALTERNATE_4 | +| `ALTERNATE5` | ALTERNATE_5 | +| `ALTERNATE6` | ALTERNATE_6 | +| `ALTERNATE7` | ALTERNATE_7 | +| `ALTERNATE8` | ALTERNATE_8 | +| `ALTERNATE9` | ALTERNATE_9 | +| `ALTERNATE10` | ALTERNATE_10 | +| `ALTERNATE11` | ALTERNATE_11 | +| `ALTERNATE12` | ALTERNATE_12 | \ No newline at end of file diff --git a/packages/java/docs/models/components/DateTypeJson1.md b/packages/java/docs/models/components/DateTypeJson1.md deleted file mode 100644 index 651c0a6f5..000000000 --- a/packages/java/docs/models/components/DateTypeJson1.md +++ /dev/null @@ -1,30 +0,0 @@ -# DateTypeJson1 - -The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). - -## Example Usage - -```java -import com.cvent.models.components.DateTypeJson1; - -DateTypeJson1 value = DateTypeJson1.PREFERRED; -``` - - -## Values - -| Name | Value | -| ------------- | ------------- | -| `PREFERRED` | PREFERRED | -| `ALTERNATE1` | ALTERNATE_1 | -| `ALTERNATE2` | ALTERNATE_2 | -| `ALTERNATE3` | ALTERNATE_3 | -| `ALTERNATE4` | ALTERNATE_4 | -| `ALTERNATE5` | ALTERNATE_5 | -| `ALTERNATE6` | ALTERNATE_6 | -| `ALTERNATE7` | ALTERNATE_7 | -| `ALTERNATE8` | ALTERNATE_8 | -| `ALTERNATE9` | ALTERNATE_9 | -| `ALTERNATE10` | ALTERNATE_10 | -| `ALTERNATE11` | ALTERNATE_11 | -| `ALTERNATE12` | ALTERNATE_12 | \ No newline at end of file diff --git a/packages/java/docs/models/components/Dates1.md b/packages/java/docs/models/components/Dates1.md new file mode 100644 index 000000000..f8e256fb1 --- /dev/null +++ b/packages/java/docs/models/components/Dates1.md @@ -0,0 +1,14 @@ +# Dates1 + +Dates on which event will occur. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `preferred` | *Optional\* | :heavy_minus_sign: | True indicates these are preferred dates. | true | +| `id` | *Optional\* | :heavy_minus_sign: | Unique identifier for dates. | 50dc08af-24a9-4d01-84be-3d43133dc945 | +| `endDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 end date of the event. | 2016-10-13 | +| `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 start date of the event. | 2016-10-15 | +| `note` | *Optional\* | :heavy_minus_sign: | A note detailing the requirements for the dates. | Flexible dates | \ No newline at end of file diff --git a/packages/java/docs/models/components/DatesJson0.md b/packages/java/docs/models/components/DatesJson0.md deleted file mode 100644 index 24ff97388..000000000 --- a/packages/java/docs/models/components/DatesJson0.md +++ /dev/null @@ -1,14 +0,0 @@ -# DatesJson0 - -Dates on which event will occur. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | -| `preferred` | *Optional\* | :heavy_minus_sign: | True indicates these are preferred dates. | true | -| `id` | *Optional\* | :heavy_minus_sign: | Unique identifier for dates. | 50dc08af-24a9-4d01-84be-3d43133dc945 | -| `endDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 end date of the event. | 2016-10-13 | -| `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 start date of the event. | 2016-10-15 | -| `note` | *Optional\* | :heavy_minus_sign: | A note detailing the requirements for the dates. | Flexible dates | \ No newline at end of file diff --git a/packages/java/docs/models/components/DayOfWeek.md b/packages/java/docs/models/components/DayOfWeek.md new file mode 100644 index 000000000..2d30c7bda --- /dev/null +++ b/packages/java/docs/models/components/DayOfWeek.md @@ -0,0 +1,24 @@ +# DayOfWeek + +DayOfWeek + +## Example Usage + +```java +import com.cvent.models.components.DayOfWeek; + +DayOfWeek value = DayOfWeek.SUNDAY; +``` + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `SUNDAY` | SUNDAY | +| `MONDAY` | MONDAY | +| `TUESDAY` | TUESDAY | +| `WEDNESDAY` | WEDNESDAY | +| `THURSDAY` | THURSDAY | +| `FRIDAY` | FRIDAY | +| `SATURDAY` | SATURDAY | \ No newline at end of file diff --git a/packages/java/docs/models/components/DayOfWeekJson0.md b/packages/java/docs/models/components/DayOfWeekJson0.md deleted file mode 100644 index 8bbcf7f6f..000000000 --- a/packages/java/docs/models/components/DayOfWeekJson0.md +++ /dev/null @@ -1,24 +0,0 @@ -# DayOfWeekJson0 - -Day of week. - -## Example Usage - -```java -import com.cvent.models.components.DayOfWeekJson0; - -DayOfWeekJson0 value = DayOfWeekJson0.SUNDAY; -``` - - -## Values - -| Name | Value | -| ----------- | ----------- | -| `SUNDAY` | SUNDAY | -| `MONDAY` | MONDAY | -| `TUESDAY` | TUESDAY | -| `WEDNESDAY` | WEDNESDAY | -| `THURSDAY` | THURSDAY | -| `FRIDAY` | FRIDAY | -| `SATURDAY` | SATURDAY | \ No newline at end of file diff --git a/packages/java/docs/models/components/Device1.md b/packages/java/docs/models/components/Device1.md new file mode 100644 index 000000000..1ea96adbf --- /dev/null +++ b/packages/java/docs/models/components/Device1.md @@ -0,0 +1,14 @@ +# ~~Device1~~ + +The device details used to watched a video. This field has been deprecated. + +> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the device the viewer used to watch the video. | CA1.b4c5061e36fa60ebc5aad0ccea95f900b34794ecad49e965eaa94f7c534dec83 | +| `type` | [Optional\](../../models/components/DeviceType.md) | :heavy_minus_sign: | The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. | | +| `operatingSystem` | *Optional\* | :heavy_minus_sign: | The device's operating system. | Mac OS | \ No newline at end of file diff --git a/packages/java/docs/models/components/DeviceJson.md b/packages/java/docs/models/components/DeviceJson.md deleted file mode 100644 index 2e558eda7..000000000 --- a/packages/java/docs/models/components/DeviceJson.md +++ /dev/null @@ -1,14 +0,0 @@ -# ~~DeviceJson~~ - -The device details used to watched a video. This field has been deprecated. - -> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the device the viewer used to watch the video. | CA1.b4c5061e36fa60ebc5aad0ccea95f900b34794ecad49e965eaa94f7c534dec83 | -| `type` | [Optional\](../../models/components/DeviceTypeJson.md) | :heavy_minus_sign: | The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. | | -| `operatingSystem` | *Optional\* | :heavy_minus_sign: | The device's operating system. | Mac OS | \ No newline at end of file diff --git a/packages/java/docs/models/components/DeviceType.md b/packages/java/docs/models/components/DeviceType.md new file mode 100644 index 000000000..a6a46275d --- /dev/null +++ b/packages/java/docs/models/components/DeviceType.md @@ -0,0 +1,20 @@ +# DeviceType + +The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. + +## Example Usage + +```java +import com.cvent.models.components.DeviceType; + +DeviceType value = DeviceType.DESKTOP; +``` + + +## Values + +| Name | Value | +| --------- | --------- | +| `DESKTOP` | DESKTOP | +| `MOBILE` | MOBILE | +| `TABLET` | TABLET | \ No newline at end of file diff --git a/packages/java/docs/models/components/DeviceTypeJson.md b/packages/java/docs/models/components/DeviceTypeJson.md deleted file mode 100644 index b11e5d3aa..000000000 --- a/packages/java/docs/models/components/DeviceTypeJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# DeviceTypeJson - -The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. - -## Example Usage - -```java -import com.cvent.models.components.DeviceTypeJson; - -DeviceTypeJson value = DeviceTypeJson.DESKTOP; -``` - - -## Values - -| Name | Value | -| --------- | --------- | -| `DESKTOP` | DESKTOP | -| `MOBILE` | MOBILE | -| `TABLET` | TABLET | \ No newline at end of file diff --git a/packages/java/docs/models/components/DisplayType.md b/packages/java/docs/models/components/DisplayType.md new file mode 100644 index 000000000..614980e6f --- /dev/null +++ b/packages/java/docs/models/components/DisplayType.md @@ -0,0 +1,23 @@ +# DisplayType + +The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: It is associated with drop down type questions. `Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list type questions. `MultiSelectBox`: It is associated with multi select box type questions. `Vertical`: It is associated with vertical type questions. + +## Example Usage + +```java +import com.cvent.models.components.DisplayType; + +DisplayType value = DisplayType.BAR; +``` + + +## Values + +| Name | Value | +| ------------------ | ------------------ | +| `BAR` | Bar | +| `DROP_DOWN` | DropDown | +| `HORIZONTAL` | Horizontal | +| `LIST` | List | +| `MULTI_SELECT_BOX` | MultiSelectBox | +| `VERTICAL` | Vertical | \ No newline at end of file diff --git a/packages/java/docs/models/components/DisplayTypeJson.md b/packages/java/docs/models/components/DisplayTypeJson.md deleted file mode 100644 index 8e5f58c88..000000000 --- a/packages/java/docs/models/components/DisplayTypeJson.md +++ /dev/null @@ -1,23 +0,0 @@ -# DisplayTypeJson - -The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: It is associated with drop down type questions. `Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list type questions. `MultiSelectBox`: It is associated with multi select box type questions. `Vertical`: It is associated with vertical type questions. - -## Example Usage - -```java -import com.cvent.models.components.DisplayTypeJson; - -DisplayTypeJson value = DisplayTypeJson.BAR; -``` - - -## Values - -| Name | Value | -| ------------------ | ------------------ | -| `BAR` | Bar | -| `DROP_DOWN` | DropDown | -| `HORIZONTAL` | Horizontal | -| `LIST` | List | -| `MULTI_SELECT_BOX` | MultiSelectBox | -| `VERTICAL` | Vertical | \ No newline at end of file diff --git a/packages/java/docs/models/components/DistanceJson.md b/packages/java/docs/models/components/DistanceJson.md new file mode 100644 index 000000000..79891f8bc --- /dev/null +++ b/packages/java/docs/models/components/DistanceJson.md @@ -0,0 +1,11 @@ +# DistanceJson + +Distance information. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `distance` | *double* | :heavy_check_mark: | Distance from the hotel to the venue. | 18.3 | +| `distanceUnit` | [DistanceUnit](../../models/components/DistanceUnit.md) | :heavy_check_mark: | Unit of measurement for the distance. | Kilometers | \ No newline at end of file diff --git a/packages/java/docs/models/components/DistanceJson1.md b/packages/java/docs/models/components/DistanceJson1.md deleted file mode 100644 index 22e66b4c7..000000000 --- a/packages/java/docs/models/components/DistanceJson1.md +++ /dev/null @@ -1,11 +0,0 @@ -# DistanceJson1 - -Distance information. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | -| `distance` | *double* | :heavy_check_mark: | Distance from the hotel to the venue. | 18.3 | -| `distanceUnit` | [DistanceUnit](../../models/components/DistanceUnit.md) | :heavy_check_mark: | Unit of measurement for the distance. | Kilometers | \ No newline at end of file diff --git a/packages/java/docs/models/components/DistributionListInfo.md b/packages/java/docs/models/components/DistributionListInfo.md new file mode 100644 index 000000000..02ef4901e --- /dev/null +++ b/packages/java/docs/models/components/DistributionListInfo.md @@ -0,0 +1,12 @@ +# DistributionListInfo + +Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `securityType` | [Optional\](../../models/components/DistributionListSecurityType.md) | :heavy_minus_sign: | Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. | | +| `internalNote` | *Optional\* | :heavy_minus_sign: | Internal note for Distribution Lists. | Sample distribution list internal note | +| `status` | [Optional\](../../models/components/DistributionListStatus.md) | :heavy_minus_sign: | Type of distribution list status. | PENDING | \ No newline at end of file diff --git a/packages/java/docs/models/components/DistributionListInfoInput.md b/packages/java/docs/models/components/DistributionListInfoInput.md new file mode 100644 index 000000000..685b46ab4 --- /dev/null +++ b/packages/java/docs/models/components/DistributionListInfoInput.md @@ -0,0 +1,11 @@ +# DistributionListInfoInput + +Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `securityType` | [Optional\](../../models/components/DistributionListSecurityType.md) | :heavy_minus_sign: | Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. | | +| `internalNote` | *Optional\* | :heavy_minus_sign: | Internal note for Distribution Lists. | Sample distribution list internal note | \ No newline at end of file diff --git a/packages/java/docs/models/components/DistributionListInfoJson.md b/packages/java/docs/models/components/DistributionListInfoJson.md deleted file mode 100644 index f879c78f9..000000000 --- a/packages/java/docs/models/components/DistributionListInfoJson.md +++ /dev/null @@ -1,12 +0,0 @@ -# DistributionListInfoJson - -Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `securityType` | [Optional\](../../models/components/DistributionListSecurityTypeJson.md) | :heavy_minus_sign: | Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. | | -| `internalNote` | *Optional\* | :heavy_minus_sign: | Internal note for Distribution Lists. | Sample distribution list internal note | -| `status` | [Optional\](../../models/components/DistributionListStatusJson.md) | :heavy_minus_sign: | Type of distribution list status. | PENDING | \ No newline at end of file diff --git a/packages/java/docs/models/components/DistributionListInfoJsonInput.md b/packages/java/docs/models/components/DistributionListInfoJsonInput.md deleted file mode 100644 index d2a4bbbad..000000000 --- a/packages/java/docs/models/components/DistributionListInfoJsonInput.md +++ /dev/null @@ -1,11 +0,0 @@ -# DistributionListInfoJsonInput - -Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `securityType` | [Optional\](../../models/components/DistributionListSecurityTypeJson.md) | :heavy_minus_sign: | Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. | | -| `internalNote` | *Optional\* | :heavy_minus_sign: | Internal note for Distribution Lists. | Sample distribution list internal note | \ No newline at end of file diff --git a/packages/java/docs/models/components/DistributionListSecurityType.md b/packages/java/docs/models/components/DistributionListSecurityType.md new file mode 100644 index 000000000..add334afb --- /dev/null +++ b/packages/java/docs/models/components/DistributionListSecurityType.md @@ -0,0 +1,20 @@ +# DistributionListSecurityType + +Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. + +## Example Usage + +```java +import com.cvent.models.components.DistributionListSecurityType; + +DistributionListSecurityType value = DistributionListSecurityType.PRIVATE; +``` + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `PRIVATE` | PRIVATE | +| `SEMI_PRIVATE` | SEMI_PRIVATE | +| `PUBLIC` | PUBLIC | \ No newline at end of file diff --git a/packages/java/docs/models/components/DistributionListSecurityTypeJson.md b/packages/java/docs/models/components/DistributionListSecurityTypeJson.md deleted file mode 100644 index 022b98638..000000000 --- a/packages/java/docs/models/components/DistributionListSecurityTypeJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# DistributionListSecurityTypeJson - -Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. - -## Example Usage - -```java -import com.cvent.models.components.DistributionListSecurityTypeJson; - -DistributionListSecurityTypeJson value = DistributionListSecurityTypeJson.PRIVATE; -``` - - -## Values - -| Name | Value | -| -------------- | -------------- | -| `PRIVATE` | PRIVATE | -| `SEMI_PRIVATE` | SEMI_PRIVATE | -| `PUBLIC` | PUBLIC | \ No newline at end of file diff --git a/packages/java/docs/models/components/DistributionListStatus.md b/packages/java/docs/models/components/DistributionListStatus.md new file mode 100644 index 000000000..6c976e019 --- /dev/null +++ b/packages/java/docs/models/components/DistributionListStatus.md @@ -0,0 +1,20 @@ +# DistributionListStatus + +Type of distribution list status. + +## Example Usage + +```java +import com.cvent.models.components.DistributionListStatus; + +DistributionListStatus value = DistributionListStatus.PENDING; +``` + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `PENDING` | PENDING | +| `PROCESSING` | PROCESSING | +| `COMPLETE` | COMPLETE | \ No newline at end of file diff --git a/packages/java/docs/models/components/DistributionListStatusJson.md b/packages/java/docs/models/components/DistributionListStatusJson.md deleted file mode 100644 index d24c9a6ba..000000000 --- a/packages/java/docs/models/components/DistributionListStatusJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# DistributionListStatusJson - -Type of distribution list status. - -## Example Usage - -```java -import com.cvent.models.components.DistributionListStatusJson; - -DistributionListStatusJson value = DistributionListStatusJson.PENDING; -``` - - -## Values - -| Name | Value | -| ------------ | ------------ | -| `PENDING` | PENDING | -| `PROCESSING` | PROCESSING | -| `COMPLETE` | COMPLETE | \ No newline at end of file diff --git a/packages/java/docs/models/components/DocumentType1.md b/packages/java/docs/models/components/DocumentType1.md new file mode 100644 index 000000000..c29f8b744 --- /dev/null +++ b/packages/java/docs/models/components/DocumentType1.md @@ -0,0 +1,50 @@ +# DocumentType1 + +The document type. + +## Example Usage + +```java +import com.cvent.models.components.DocumentType1; + +DocumentType1 value = DocumentType1.AI; +``` + + +## Values + +| Name | Value | +| ------ | ------ | +| `AI` | AI | +| `AVI` | AVI | +| `BMP` | BMP | +| `DOC` | DOC | +| `DOCX` | DOCX | +| `EML` | EML | +| `EPS` | EPS | +| `FLV` | FLV | +| `GIF` | GIF | +| `HTM` | HTM | +| `HTML` | HTML | +| `ICS` | ICS | +| `JFIF` | JFIF | +| `JPEG` | JPEG | +| `JPG` | JPG | +| `LINK` | LINK | +| `MOV` | MOV | +| `MP4` | MP4 | +| `MSG` | MSG | +| `ONE` | ONE | +| `OST` | OST | +| `PDF` | PDF | +| `PNG` | PNG | +| `PPT` | PPT | +| `PPTX` | PPTX | +| `PST` | PST | +| `SVG` | SVG | +| `TIF` | TIF | +| `TIFF` | TIFF | +| `TXT` | TXT | +| `WMV` | WMV | +| `XLS` | XLS | +| `XLSX` | XLSX | \ No newline at end of file diff --git a/packages/java/docs/models/components/DocumentTypeJson0.md b/packages/java/docs/models/components/DocumentTypeJson0.md deleted file mode 100644 index ae43bbe5a..000000000 --- a/packages/java/docs/models/components/DocumentTypeJson0.md +++ /dev/null @@ -1,50 +0,0 @@ -# DocumentTypeJson0 - -The document type. - -## Example Usage - -```java -import com.cvent.models.components.DocumentTypeJson0; - -DocumentTypeJson0 value = DocumentTypeJson0.AI; -``` - - -## Values - -| Name | Value | -| ------ | ------ | -| `AI` | AI | -| `AVI` | AVI | -| `BMP` | BMP | -| `DOC` | DOC | -| `DOCX` | DOCX | -| `EML` | EML | -| `EPS` | EPS | -| `FLV` | FLV | -| `GIF` | GIF | -| `HTM` | HTM | -| `HTML` | HTML | -| `ICS` | ICS | -| `JFIF` | JFIF | -| `JPEG` | JPEG | -| `JPG` | JPG | -| `LINK` | LINK | -| `MOV` | MOV | -| `MP4` | MP4 | -| `MSG` | MSG | -| `ONE` | ONE | -| `OST` | OST | -| `PDF` | PDF | -| `PNG` | PNG | -| `PPT` | PPT | -| `PPTX` | PPTX | -| `PST` | PST | -| `SVG` | SVG | -| `TIF` | TIF | -| `TIFF` | TIFF | -| `TXT` | TXT | -| `WMV` | WMV | -| `XLS` | XLS | -| `XLSX` | XLSX | \ No newline at end of file diff --git a/packages/java/docs/models/components/EmailHistoryJson.md b/packages/java/docs/models/components/EmailHistoryJson.md index d27e32096..14eff88f6 100644 --- a/packages/java/docs/models/components/EmailHistoryJson.md +++ b/packages/java/docs/models/components/EmailHistoryJson.md @@ -18,7 +18,7 @@ Email History record. | `subject` | *Optional\* | :heavy_minus_sign: | Subject of the email. | Event Invitation | | `from` | *Optional\* | :heavy_minus_sign: | From email address of the email. | example@example.com | | `to` | *Optional\* | :heavy_minus_sign: | Recipient address of the email. | example@example.com | -| `type` | [Optional\](../../models/components/EmailTypeJson3.md) | :heavy_minus_sign: | Denotes the type of the email. | Invitation | +| `type` | [Optional\](../../models/components/EmailTypeJson1.md) | :heavy_minus_sign: | Denotes the type of the email. | Invitation | | `sent` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when this email was sent. | 2017-01-02T02:30:00Z | | `status` | [Optional\](../../models/components/EmailStatusJson.md) | :heavy_minus_sign: | This is used to denote the status of the email sending | Sent | | `undeliverable` | *Optional\* | :heavy_minus_sign: | Flag to indicate if email was undelivered. | false | diff --git a/packages/java/docs/models/components/EmailJson1.md b/packages/java/docs/models/components/EmailJson1.md index 248e4850d..8acc2bb89 100644 --- a/packages/java/docs/models/components/EmailJson1.md +++ b/packages/java/docs/models/components/EmailJson1.md @@ -5,8 +5,8 @@ Email ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `type` | [Optional\](../../models/components/EmailTypeJson1.md) | :heavy_minus_sign: | The type of the email. | work | -| `value` | *String* | :heavy_check_mark: | The email of the user. | support@cvent.com | -| `primary` | *Optional\* | :heavy_minus_sign: | True indicates the email is primary. | true | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `type` | [Optional\](../../models/components/EmailTypeJson.md) | :heavy_minus_sign: | The type of the email. | work | +| `value` | *String* | :heavy_check_mark: | The email of the user. | support@cvent.com | +| `primary` | *Optional\* | :heavy_minus_sign: | True indicates the email is primary. | true | \ No newline at end of file diff --git a/packages/java/docs/models/components/EmailTypeJson.md b/packages/java/docs/models/components/EmailTypeJson.md new file mode 100644 index 000000000..167ca7f38 --- /dev/null +++ b/packages/java/docs/models/components/EmailTypeJson.md @@ -0,0 +1,19 @@ +# EmailTypeJson + +The type of the email. + +## Example Usage + +```java +import com.cvent.models.components.EmailTypeJson; + +EmailTypeJson value = EmailTypeJson.WORK; +``` + + +## Values + +| Name | Value | +| ------ | ------ | +| `WORK` | work | +| `HOME` | home | \ No newline at end of file diff --git a/packages/java/docs/models/components/EmailTypeJson1.md b/packages/java/docs/models/components/EmailTypeJson1.md index ceeecabdd..e9718e022 100644 --- a/packages/java/docs/models/components/EmailTypeJson1.md +++ b/packages/java/docs/models/components/EmailTypeJson1.md @@ -1,19 +1,79 @@ # EmailTypeJson1 -The type of the email. +Denotes the type of the email. ## Example Usage ```java import com.cvent.models.components.EmailTypeJson1; -EmailTypeJson1 value = EmailTypeJson1.WORK; +EmailTypeJson1 value = EmailTypeJson1.INVITATION; ``` ## Values -| Name | Value | -| ------ | ------ | -| `WORK` | work | -| `HOME` | home | \ No newline at end of file +| Name | Value | +| ----------------------------------------- | ----------------------------------------- | +| `INVITATION` | Invitation | +| `INVITATION_REMINDER` | Invitation Reminder | +| `REGISTRATION_CONFIRMATION` | Registration Confirmation | +| `REGRET` | Regret | +| `POST_EVENT_FEEDBACK` | Post Event Feedback | +| `CUSTOM_INVITEE_MESSAGE` | Custom Invitee Message | +| `CUSTOM_DECLINEE_MESSAGE` | Custom Declinee Message | +| `EVENT_REMINDER` | Event Reminder | +| `CUSTOM_ATTENDEE_MESSAGE` | Custom Attendee Message | +| `CUSTOM_ONE_TIME_MESSAGE` | Custom One-Time Message | +| `PLANNER_REPORT` | Planner Report | +| `EVENT_UPDATE` | Event Update | +| `CUSTOM_UNDECIDED_MESSAGE` | Custom Undecided Message | +| `CUSTOM_ATTENDED_MESSAGE` | Custom Attended Message | +| `MODIFICATION_CONFIRMATION` | Modification Confirmation | +| `CANCELLATION_CONFIRMATION` | Cancellation Confirmation | +| `GUEST_EVENT_REMINDER` | Guest Event Reminder | +| `GUEST_REGISTRATION_NOTIFICATION` | Guest Registration Notification | +| `CUSTOM_GUEST_MESSAGE` | Custom Guest Message | +| `GUEST_POST_EVENT_FEEDBACK` | Guest Post Event Feedback | +| `INVITEE_SESSION_EMAIL` | Invitee Session Email | +| `GUEST_SESSION_EMAIL` | Guest Session Email | +| `APPROVAL_PENDING_NOTIFICATION` | Approval Pending Notification | +| `APPROVAL_DENIED_NOTIFICATION` | Approval Denied Notification | +| `ADMINISTRATOR_REGISTRATION_CONFIRMATION` | Administrator Registration Confirmation | +| `CROWD_COMPASS_EVENT_GUIDE_INVITATION` | CrowdCompass Event Guide Invitation | +| `CROWD_COMPASS_APP_DOWNLOAD` | CrowdCompass App Download | +| `WAITLIST_NOTIFICATION` | Waitlist Notification | +| `SESSION_WAITLIST_NOTIFICATION` | Session Waitlist Notification | +| `SHOULDER_DATE_NOTIFICATION` | Shoulder Date Notification | +| `SELECTED_ROOMMATE_NOTIFICATION` | Selected Roommate Notification | +| `MATCHED_ROOMMATE_NOTIFICATION` | Matched Roommate Notification | +| `DECLINED_ROOMMATE_NOTIFICATION` | Declined Roommate Notification | +| `ON_ARRIVAL_POST_EVENT_FEEDBACK` | OnArrival Post Event Feedback | +| `ON_ARRIVAL_GUEST_POST_EVENT_FEEDBACK` | OnArrival Guest Post Event Feedback | +| `TRAVEL_MODIFICATION_CONFIRMATION` | Travel Modification Confirmation | +| `CUSTOM` | Custom | +| `NEW_APPOINTMENT` | New Appointment | +| `APPOINTMENT_ACCEPTED` | Appointment Accepted | +| `APPOINTMENT_DECLINED` | Appointment Declined | +| `APPOINTMENT_CANCELLED` | Appointment Cancelled | +| `APPOINTMENT_EDITED` | Appointment Edited | +| `PENDING_APPOINTMENT_REMINDER` | Pending Appointment Reminder | +| `UPCOMING_APPOINTMENT_REMINDER` | Upcoming Appointment Reminder | +| `ATTENDEE_REMOVED` | Attendee Removed | +| `OPT_IN_EMAIL` | Opt In Email | +| `RESOURCE_CENTER_INVITATION` | Resource Center Invitation | +| `SINGLE_TASK_REMINDER` | Single Task Reminder | +| `MOBILE_APP_INVITATION` | Mobile App Invitation | +| `LOGIN_VERIFICATION_CODE` | Login Verification Code | +| `SAVE_THE_DATE` | Save The Date | +| `ALL_TASKS_REMINDER` | All Tasks Reminder | +| `EXHIBITOR_ADMIN_INVITATION` | Exhibitor Admin Invitation | +| `EXHIBITOR_ADMIN_REMINDER` | Exhibitor Admin Reminder | +| `EXHIBITOR_DEVICE_RENTAL_ACCESS_CODE` | Exhibitor Device Rental Access Code | +| `EXHIBITOR_APP_LICENSE_ACCESS_CODE` | Exhibitor App License Access Code | +| `EXHIBITOR_LEADS_EXPORT` | Exhibitor Leads Export | +| `STAKEHOLDER_FEEDBACK_INVITATION` | Stakeholder Feedback Invitation | +| `EXHIBITOR_TASK_REMINDER` | Exhibitor Task Reminder | +| `LEAD_CAPTURE_REQUESTED_MATERIALS` | LeadCapture Requested Materials | +| `INTEGRATION_ALERTS` | Integration Alerts | +| `UNKNOWN` | Unknown | \ No newline at end of file diff --git a/packages/java/docs/models/components/EmailTypeJson3.md b/packages/java/docs/models/components/EmailTypeJson3.md deleted file mode 100644 index b93ed1ab4..000000000 --- a/packages/java/docs/models/components/EmailTypeJson3.md +++ /dev/null @@ -1,79 +0,0 @@ -# EmailTypeJson3 - -Denotes the type of the email. - -## Example Usage - -```java -import com.cvent.models.components.EmailTypeJson3; - -EmailTypeJson3 value = EmailTypeJson3.INVITATION; -``` - - -## Values - -| Name | Value | -| ----------------------------------------- | ----------------------------------------- | -| `INVITATION` | Invitation | -| `INVITATION_REMINDER` | Invitation Reminder | -| `REGISTRATION_CONFIRMATION` | Registration Confirmation | -| `REGRET` | Regret | -| `POST_EVENT_FEEDBACK` | Post Event Feedback | -| `CUSTOM_INVITEE_MESSAGE` | Custom Invitee Message | -| `CUSTOM_DECLINEE_MESSAGE` | Custom Declinee Message | -| `EVENT_REMINDER` | Event Reminder | -| `CUSTOM_ATTENDEE_MESSAGE` | Custom Attendee Message | -| `CUSTOM_ONE_TIME_MESSAGE` | Custom One-Time Message | -| `PLANNER_REPORT` | Planner Report | -| `EVENT_UPDATE` | Event Update | -| `CUSTOM_UNDECIDED_MESSAGE` | Custom Undecided Message | -| `CUSTOM_ATTENDED_MESSAGE` | Custom Attended Message | -| `MODIFICATION_CONFIRMATION` | Modification Confirmation | -| `CANCELLATION_CONFIRMATION` | Cancellation Confirmation | -| `GUEST_EVENT_REMINDER` | Guest Event Reminder | -| `GUEST_REGISTRATION_NOTIFICATION` | Guest Registration Notification | -| `CUSTOM_GUEST_MESSAGE` | Custom Guest Message | -| `GUEST_POST_EVENT_FEEDBACK` | Guest Post Event Feedback | -| `INVITEE_SESSION_EMAIL` | Invitee Session Email | -| `GUEST_SESSION_EMAIL` | Guest Session Email | -| `APPROVAL_PENDING_NOTIFICATION` | Approval Pending Notification | -| `APPROVAL_DENIED_NOTIFICATION` | Approval Denied Notification | -| `ADMINISTRATOR_REGISTRATION_CONFIRMATION` | Administrator Registration Confirmation | -| `CROWD_COMPASS_EVENT_GUIDE_INVITATION` | CrowdCompass Event Guide Invitation | -| `CROWD_COMPASS_APP_DOWNLOAD` | CrowdCompass App Download | -| `WAITLIST_NOTIFICATION` | Waitlist Notification | -| `SESSION_WAITLIST_NOTIFICATION` | Session Waitlist Notification | -| `SHOULDER_DATE_NOTIFICATION` | Shoulder Date Notification | -| `SELECTED_ROOMMATE_NOTIFICATION` | Selected Roommate Notification | -| `MATCHED_ROOMMATE_NOTIFICATION` | Matched Roommate Notification | -| `DECLINED_ROOMMATE_NOTIFICATION` | Declined Roommate Notification | -| `ON_ARRIVAL_POST_EVENT_FEEDBACK` | OnArrival Post Event Feedback | -| `ON_ARRIVAL_GUEST_POST_EVENT_FEEDBACK` | OnArrival Guest Post Event Feedback | -| `TRAVEL_MODIFICATION_CONFIRMATION` | Travel Modification Confirmation | -| `CUSTOM` | Custom | -| `NEW_APPOINTMENT` | New Appointment | -| `APPOINTMENT_ACCEPTED` | Appointment Accepted | -| `APPOINTMENT_DECLINED` | Appointment Declined | -| `APPOINTMENT_CANCELLED` | Appointment Cancelled | -| `APPOINTMENT_EDITED` | Appointment Edited | -| `PENDING_APPOINTMENT_REMINDER` | Pending Appointment Reminder | -| `UPCOMING_APPOINTMENT_REMINDER` | Upcoming Appointment Reminder | -| `ATTENDEE_REMOVED` | Attendee Removed | -| `OPT_IN_EMAIL` | Opt In Email | -| `RESOURCE_CENTER_INVITATION` | Resource Center Invitation | -| `SINGLE_TASK_REMINDER` | Single Task Reminder | -| `MOBILE_APP_INVITATION` | Mobile App Invitation | -| `LOGIN_VERIFICATION_CODE` | Login Verification Code | -| `SAVE_THE_DATE` | Save The Date | -| `ALL_TASKS_REMINDER` | All Tasks Reminder | -| `EXHIBITOR_ADMIN_INVITATION` | Exhibitor Admin Invitation | -| `EXHIBITOR_ADMIN_REMINDER` | Exhibitor Admin Reminder | -| `EXHIBITOR_DEVICE_RENTAL_ACCESS_CODE` | Exhibitor Device Rental Access Code | -| `EXHIBITOR_APP_LICENSE_ACCESS_CODE` | Exhibitor App License Access Code | -| `EXHIBITOR_LEADS_EXPORT` | Exhibitor Leads Export | -| `STAKEHOLDER_FEEDBACK_INVITATION` | Stakeholder Feedback Invitation | -| `EXHIBITOR_TASK_REMINDER` | Exhibitor Task Reminder | -| `LEAD_CAPTURE_REQUESTED_MATERIALS` | LeadCapture Requested Materials | -| `INTEGRATION_ALERTS` | Integration Alerts | -| `UNKNOWN` | Unknown | \ No newline at end of file diff --git a/packages/java/docs/models/components/EncodingProfile.md b/packages/java/docs/models/components/EncodingProfile.md new file mode 100644 index 000000000..1c9731351 --- /dev/null +++ b/packages/java/docs/models/components/EncodingProfile.md @@ -0,0 +1,19 @@ +# EncodingProfile + +Denotes the profile to use when encoding the video. Planner profile is for encoding high-quality event content, like session videos. Attendee profile is for encoding lower-quality content intended to go on attendee profiles and social feeds in the event. + +## Example Usage + +```java +import com.cvent.models.components.EncodingProfile; + +EncodingProfile value = EncodingProfile.PLANNER; +``` + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `PLANNER` | Planner | +| `ATTENDEE` | Attendee | \ No newline at end of file diff --git a/packages/java/docs/models/components/EncodingProfileJson.md b/packages/java/docs/models/components/EncodingProfileJson.md deleted file mode 100644 index d18a64642..000000000 --- a/packages/java/docs/models/components/EncodingProfileJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# EncodingProfileJson - -Denotes the profile to use when encoding the video. Planner profile is for encoding high-quality event content, like session videos. Attendee profile is for encoding lower-quality content intended to go on attendee profiles and social feeds in the event. - -## Example Usage - -```java -import com.cvent.models.components.EncodingProfileJson; - -EncodingProfileJson value = EncodingProfileJson.PLANNER; -``` - - -## Values - -| Name | Value | -| ---------- | ---------- | -| `PLANNER` | Planner | -| `ATTENDEE` | Attendee | \ No newline at end of file diff --git a/packages/java/docs/models/components/ErrorResponse1.md b/packages/java/docs/models/components/ErrorResponse1.md index 8c02c409b..51cc40e28 100644 --- a/packages/java/docs/models/components/ErrorResponse1.md +++ b/packages/java/docs/models/components/ErrorResponse1.md @@ -5,9 +5,9 @@ Represents an error response with additional details of cascading error messages ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `code` | *long* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | -| `message` | *String* | :heavy_check_mark: | A brief description of the error. | Bad Request | -| `target` | *Optional\* | :heavy_minus_sign: | The target resource of the error. | example target | -| `details` | List\<[ZeroAllOf1](../../models/components/ZeroAllOf1.md)> | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `code` | *long* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | +| `message` | *String* | :heavy_check_mark: | A brief description of the error. | Bad Request | +| `target` | *Optional\* | :heavy_minus_sign: | The target resource of the error. | example target | +| `details` | List\<[ErrorResponseBase](../../models/components/ErrorResponseBase.md)> | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ErrorResponse2.md b/packages/java/docs/models/components/ErrorResponse2.md index 966c16d43..07414321b 100644 --- a/packages/java/docs/models/components/ErrorResponse2.md +++ b/packages/java/docs/models/components/ErrorResponse2.md @@ -5,9 +5,9 @@ Represents an error response with additional details of cascading error messages ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `code` | *long* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | -| `message` | *String* | :heavy_check_mark: | A brief description of the error. | Bad Request | -| `target` | *Optional\* | :heavy_minus_sign: | The target resource of the error. | example target | -| `details` | List\<[ErrorResponseBase](../../models/components/ErrorResponseBase.md)> | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `code` | *long* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | +| `message` | *String* | :heavy_check_mark: | A brief description of the error. | Bad Request | +| `target` | *Optional\* | :heavy_minus_sign: | The target resource of the error. | example target | +| `details` | List\<[ZeroAllOf1](../../models/components/ZeroAllOf1.md)> | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/Event1.md b/packages/java/docs/models/components/Event1.md index d632c035d..2ed9ce94b 100644 --- a/packages/java/docs/models/components/Event1.md +++ b/packages/java/docs/models/components/Event1.md @@ -35,9 +35,9 @@ Represents an event. | `capacity` | *Optional\* | :heavy_minus_sign: | The maximum amount of attendees that can attend the event. Only used for events with the registration feature. | 50 | | `planners` | List\<[PlannerJson2](../../models/components/PlannerJson2.md)> | :heavy_check_mark: | A collection of contacts representing the event planners. | | | `stakeholders` | List\<[StakeholderJson](../../models/components/StakeholderJson.md)> | :heavy_minus_sign: | A collection of contacts representing event stakeholders. | | -| `customFields` | List\<[CustomFieldJson3](../../models/components/CustomFieldJson3.md)> | :heavy_minus_sign: | Collection of custom fields. | | +| `customFields` | List\<[CustomFieldJson2](../../models/components/CustomFieldJson2.md)> | :heavy_minus_sign: | Collection of custom fields. | | | ~~`category`~~ | [Optional\](../../models/components/EventLookup.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The category to which this event belongs (no longer supported). | | -| `type` | [EventTypeJson1](../../models/components/EventTypeJson1.md) | :heavy_check_mark: | Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. | Conference | +| `type` | [EventTypeJson](../../models/components/EventTypeJson.md) | :heavy_check_mark: | Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. | Conference | | `links` | [Optional\](../../models/components/EventLinksJson.md) | :heavy_minus_sign: | Represents the links associated with an event. | {
"invitation": {
"href": "https://cvent.com"
},
"agenda": {
"href": "https://cvent.com"
},
"summary": {
"href": "https://cvent.com"
},
"registration": {
"href": "https://cvent.com"
}
} | | `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 | | `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 | diff --git a/packages/java/docs/models/components/Event12.md b/packages/java/docs/models/components/Event12.md new file mode 100644 index 000000000..d96824cd1 --- /dev/null +++ b/packages/java/docs/models/components/Event12.md @@ -0,0 +1,10 @@ +# Event12 + +Event details. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `id` | *Optional\* | :heavy_minus_sign: | Unique identifier for the event linked with the RFP, if any. | 50dc08af-24a9-4d01-84be-3d43133dc945 | \ No newline at end of file diff --git a/packages/java/docs/models/components/Event21.md b/packages/java/docs/models/components/Event21.md deleted file mode 100644 index 80248bc06..000000000 --- a/packages/java/docs/models/components/Event21.md +++ /dev/null @@ -1,10 +0,0 @@ -# Event21 - -The Associated Event. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *String* | :heavy_check_mark: | Event id | 3db28cfc-db22-11eb-8d19-0242ac130003 | \ No newline at end of file diff --git a/packages/java/docs/models/components/Event3.md b/packages/java/docs/models/components/Event3.md new file mode 100644 index 000000000..41851522d --- /dev/null +++ b/packages/java/docs/models/components/Event3.md @@ -0,0 +1,10 @@ +# Event3 + +The Associated Event. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *String* | :heavy_check_mark: | Event id | 3db28cfc-db22-11eb-8d19-0242ac130003 | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventAllOf.md b/packages/java/docs/models/components/EventAllOf.md deleted file mode 100644 index 783ee3ec5..000000000 --- a/packages/java/docs/models/components/EventAllOf.md +++ /dev/null @@ -1,10 +0,0 @@ -# EventAllOf - -Event ID - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | ID of the event where the contact was created, applicable when contact snapshot is enabled for an event. | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventContactId.md b/packages/java/docs/models/components/EventContactId.md new file mode 100644 index 000000000..225d64a1b --- /dev/null +++ b/packages/java/docs/models/components/EventContactId.md @@ -0,0 +1,11 @@ +# EventContactId + +A pair of event and contact id. + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `eventId` | *String* | :heavy_check_mark: | ID of the event. | +| `contactId` | *String* | :heavy_check_mark: | ID of the contact. | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventContactIdJson.md b/packages/java/docs/models/components/EventContactIdJson.md deleted file mode 100644 index f6a43cda0..000000000 --- a/packages/java/docs/models/components/EventContactIdJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# EventContactIdJson - -A pair of event and contact id. - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `eventId` | *String* | :heavy_check_mark: | ID of the event. | -| `contactId` | *String* | :heavy_check_mark: | ID of the contact. | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventEmailsPaginatedResponse.md b/packages/java/docs/models/components/EventEmailsPaginatedResponse.md index dc979e5df..6a1b7bd81 100644 --- a/packages/java/docs/models/components/EventEmailsPaginatedResponse.md +++ b/packages/java/docs/models/components/EventEmailsPaginatedResponse.md @@ -7,5 +7,5 @@ Paginated response for the collection of emails for a specified event. | Field | Type | Required | Description | | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `paging` | [PagingJson19](../../models/components/PagingJson19.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `paging` | [PagingJson2](../../models/components/PagingJson2.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | | `data` | List\<[EventEmailJson](../../models/components/EventEmailJson.md)> | :heavy_check_mark: | Collection of emails for a specific event. | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventFormatType.md b/packages/java/docs/models/components/EventFormatType.md new file mode 100644 index 000000000..aed9fab5b --- /dev/null +++ b/packages/java/docs/models/components/EventFormatType.md @@ -0,0 +1,20 @@ +# EventFormatType + +Event format type. + +## Example Usage + +```java +import com.cvent.models.components.EventFormatType; + +EventFormatType value = EventFormatType.IN_PERSON; +``` + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `IN_PERSON` | IN_PERSON | +| `HYBRID` | HYBRID | +| `VIRTUAL` | VIRTUAL | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventFormatTypeJson0.md b/packages/java/docs/models/components/EventFormatTypeJson0.md deleted file mode 100644 index 845b89b8b..000000000 --- a/packages/java/docs/models/components/EventFormatTypeJson0.md +++ /dev/null @@ -1,20 +0,0 @@ -# EventFormatTypeJson0 - -Event format type. - -## Example Usage - -```java -import com.cvent.models.components.EventFormatTypeJson0; - -EventFormatTypeJson0 value = EventFormatTypeJson0.IN_PERSON; -``` - - -## Values - -| Name | Value | -| ----------- | ----------- | -| `IN_PERSON` | IN_PERSON | -| `HYBRID` | HYBRID | -| `VIRTUAL` | VIRTUAL | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventInput.md b/packages/java/docs/models/components/EventInput.md index 891135a27..b4686a65a 100644 --- a/packages/java/docs/models/components/EventInput.md +++ b/packages/java/docs/models/components/EventInput.md @@ -19,4 +19,4 @@ Represents an event. | `note` | *Optional\* | :heavy_minus_sign: | Event note created by planners for internal use. | This event will need some coordination with external systems. | | `languages` | List\<*String*> | :heavy_check_mark: | List of IETF language tags enabled for the event. This field supports reading multiple language tags but supports writing only one language to an event. | | | `planners` | List\<[PlannerJson2Input](../../models/components/PlannerJson2Input.md)> | :heavy_check_mark: | A collection of contacts representing the event planners. | | -| `type` | [EventTypeJson1](../../models/components/EventTypeJson1.md) | :heavy_check_mark: | Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. | Conference | \ No newline at end of file +| `type` | [EventTypeJson](../../models/components/EventTypeJson.md) | :heavy_check_mark: | Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. | Conference | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventJson.md b/packages/java/docs/models/components/EventJson.md new file mode 100644 index 000000000..67bfc6948 --- /dev/null +++ b/packages/java/docs/models/components/EventJson.md @@ -0,0 +1,10 @@ +# EventJson + +ID of the event. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *String* | :heavy_check_mark: | UUID of the event. | 103097a4-143d-11e5-9f99-d0a637ee0032 | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventJson0.md b/packages/java/docs/models/components/EventJson0.md deleted file mode 100644 index 072f79ff2..000000000 --- a/packages/java/docs/models/components/EventJson0.md +++ /dev/null @@ -1,10 +0,0 @@ -# EventJson0 - -Event details. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `id` | *Optional\* | :heavy_minus_sign: | Unique identifier for the event linked with the RFP, if any. | 50dc08af-24a9-4d01-84be-3d43133dc945 | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventJson1.md b/packages/java/docs/models/components/EventJson1.md index eb2b3ea6c..ad6994a07 100644 --- a/packages/java/docs/models/components/EventJson1.md +++ b/packages/java/docs/models/components/EventJson1.md @@ -1,10 +1,10 @@ # EventJson1 -ID of the event. +Event ID Information. ## Fields | Field | Type | Required | Description | Example | | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *String* | :heavy_check_mark: | UUID of the event. | 103097a4-143d-11e5-9f99-d0a637ee0032 | \ No newline at end of file +| `id` | *Optional\* | :heavy_minus_sign: | Identifier of a particular Event. | 3d808ee8-94f8-4f3a-9ad1-6b23f4e4c329 | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventJson2.md b/packages/java/docs/models/components/EventJson2.md deleted file mode 100644 index 87ffe0011..000000000 --- a/packages/java/docs/models/components/EventJson2.md +++ /dev/null @@ -1,10 +0,0 @@ -# EventJson2 - -Event ID Information. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *Optional\* | :heavy_minus_sign: | Identifier of a particular Event. | 3d808ee8-94f8-4f3a-9ad1-6b23f4e4c329 | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventJson3.md b/packages/java/docs/models/components/EventJson3.md new file mode 100644 index 000000000..95d5a4939 --- /dev/null +++ b/packages/java/docs/models/components/EventJson3.md @@ -0,0 +1,10 @@ +# EventJson3 + +Detail object of an event which is associated to a survey. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *Optional\* | :heavy_minus_sign: | Id of the associated event | 9463c74e-18c6-401a-a710-ae0f485bf059 | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventJson4.md b/packages/java/docs/models/components/EventJson4.md deleted file mode 100644 index e0e701373..000000000 --- a/packages/java/docs/models/components/EventJson4.md +++ /dev/null @@ -1,10 +0,0 @@ -# EventJson4 - -Detail object of an event which is associated to a survey. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *Optional\* | :heavy_minus_sign: | Id of the associated event | 9463c74e-18c6-401a-a710-ae0f485bf059 | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventJson5.md b/packages/java/docs/models/components/EventJson5.md new file mode 100644 index 000000000..6fb7e8097 --- /dev/null +++ b/packages/java/docs/models/components/EventJson5.md @@ -0,0 +1,10 @@ +# EventJson5 + +An event reference used in attendee insights to identify the event context for engagement data + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | A unique identifier (UUID) for the event where the engagement score applies | 04cb6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventJson6.md b/packages/java/docs/models/components/EventJson6.md index e4c8e6a40..b3adc8a98 100644 --- a/packages/java/docs/models/components/EventJson6.md +++ b/packages/java/docs/models/components/EventJson6.md @@ -1,10 +1,10 @@ # EventJson6 -An event reference used in attendee insights to identify the event context for engagement data +Details of the event. ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | -| `id` | *String* | :heavy_check_mark: | A unique identifier (UUID) for the event where the engagement score applies | 04cb6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *String* | :heavy_check_mark: | The unique ID of the event. | a150f1ee-6c54-4b01-90e6-d701748f0851 | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventJson8.md b/packages/java/docs/models/components/EventJson8.md deleted file mode 100644 index 46ae9453d..000000000 --- a/packages/java/docs/models/components/EventJson8.md +++ /dev/null @@ -1,10 +0,0 @@ -# EventJson8 - -Details of the event. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *String* | :heavy_check_mark: | The unique ID of the event. | a150f1ee-6c54-4b01-90e6-d701748f0851 | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventLite.md b/packages/java/docs/models/components/EventLite.md new file mode 100644 index 000000000..534f874d7 --- /dev/null +++ b/packages/java/docs/models/components/EventLite.md @@ -0,0 +1,10 @@ +# EventLite + +The unique identifier of an event. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *String* | :heavy_check_mark: | The unique identifier for an event. | 2ef03846-fced-4ce3-a077-d64ca891a4b1 | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventLiteJson.md b/packages/java/docs/models/components/EventLiteJson.md deleted file mode 100644 index 1dcb0fbaa..000000000 --- a/packages/java/docs/models/components/EventLiteJson.md +++ /dev/null @@ -1,10 +0,0 @@ -# EventLiteJson - -The unique identifier of an event. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *String* | :heavy_check_mark: | The unique identifier for an event. | 2ef03846-fced-4ce3-a077-d64ca891a4b1 | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventOrganization1.md b/packages/java/docs/models/components/EventOrganization1.md new file mode 100644 index 000000000..382d700f3 --- /dev/null +++ b/packages/java/docs/models/components/EventOrganization1.md @@ -0,0 +1,16 @@ +# EventOrganization1 + +Details of organization which is hosting the event. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `organization` | [Optional\](../../models/components/Organization.md) | :heavy_minus_sign: | Organization details. | | +| `confidentialProfile` | *Optional\* | :heavy_minus_sign: | True indicates organization profile has to be kept confidential. | | +| `industry` | [Optional\](../../models/components/Industry1.md) | :heavy_minus_sign: | Industry | | +| `name` | *String* | :heavy_check_mark: | Name of the organization hosting the event. | Cvent Inc. | +| `type` | [OrganizationType1](../../models/components/OrganizationType1.md) | :heavy_check_mark: | Organization type. | | +| `address` | [Optional\](../../models/components/Address1.md) | :heavy_minus_sign: | Address details. | | +| `eventsPerYear` | *Optional\* | :heavy_minus_sign: | Number of events per year. | 450 | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventQuestionJson.md b/packages/java/docs/models/components/EventQuestionJson.md index babdcf448..05bbaadc8 100644 --- a/packages/java/docs/models/components/EventQuestionJson.md +++ b/packages/java/docs/models/components/EventQuestionJson.md @@ -18,5 +18,5 @@ Represents a question associated with an event. | `tag` | *Optional\* | :heavy_minus_sign: | Tag of the question. It allows comparison of similar questions across multiple events. | All Admission Items | | `session` | [Optional\](../../models/components/EventQuestionJsonSession.md) | :heavy_minus_sign: | Represents the session associated to the question, if any. Blank if no session is associated. In addition, only one of the `session` or `admissionItem` object are populated - never both. | | | `admissionItem` | [Optional\](../../models/components/EventQuestionJsonAdmissionItem.md) | :heavy_minus_sign: | Represents the admission item associated to the question, if any. Blank if no admission item is associated. In addition, only one of the `session` or `admissionItem` object are populated - never both. | | -| `type` | [Optional\](../../models/components/QuestionTypeJson3.md) | :heavy_minus_sign: | This object represents the type of a question | | +| `type` | [Optional\](../../models/components/QuestionTypeJson2.md) | :heavy_minus_sign: | This object represents the type of a question | | | `internalNote` | *Optional\* | :heavy_minus_sign: | Optional description to provide additional context of the question. | This question is for the event registration form. | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventSurveyQuestionJson.md b/packages/java/docs/models/components/EventSurveyQuestionJson.md index f734eddaf..4c19949f5 100644 --- a/packages/java/docs/models/components/EventSurveyQuestionJson.md +++ b/packages/java/docs/models/components/EventSurveyQuestionJson.md @@ -16,15 +16,15 @@ An event survey question. | `shortText` | *Optional\* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | | `htmlText` | *Optional\* | :heavy_minus_sign: | Html of the question | Question Html | | `code` | *Optional\* | :heavy_minus_sign: | Question Code | 4l6x | -| `type` | [Optional\](../../models/components/QuestionTypeJson2.md) | :heavy_minus_sign: | Question Type. | SingleChoice | -| `choices` | List\<[ChoiceJson2](../../models/components/ChoiceJson2.md)> | :heavy_minus_sign: | List of choices for the question. | | -| `categories` | List\<[CategoryJson2](../../models/components/CategoryJson2.md)> | :heavy_minus_sign: | List of categories for the question. | | -| `subCategories` | List\<[TextFieldJson1](../../models/components/TextFieldJson1.md)> | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions | | -| `notApplicableAnswer` | [Optional\](../../models/components/AdditionalChoiceJson1.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | -| `otherAnswer` | [Optional\](../../models/components/AdditionalChoiceJson1.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | +| `type` | [Optional\](../../models/components/QuestionTypeJson1.md) | :heavy_minus_sign: | Question Type. | SingleChoice | +| `choices` | List\<[ChoiceJson1](../../models/components/ChoiceJson1.md)> | :heavy_minus_sign: | List of choices for the question. | | +| `categories` | List\<[CategoryJson1](../../models/components/CategoryJson1.md)> | :heavy_minus_sign: | List of categories for the question. | | +| `subCategories` | List\<[TextFieldJson](../../models/components/TextFieldJson.md)> | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions | | +| `notApplicableAnswer` | [Optional\](../../models/components/AdditionalChoiceJson.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | +| `otherAnswer` | [Optional\](../../models/components/AdditionalChoiceJson.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | | `comments` | *Optional\* | :heavy_minus_sign: | Text Value of Comments Input box placeholder | Comments Text | | `required` | *Optional\* | :heavy_minus_sign: | Is this a mandatory question | true | -| `fields` | List\<[FieldJson2](../../models/components/FieldJson2.md)> | :heavy_minus_sign: | List of fields for form/matrix questions | | +| `fields` | List\<[FieldJson](../../models/components/FieldJson.md)> | :heavy_minus_sign: | List of fields for form/matrix questions | | | `maxScore` | *Optional\* | :heavy_minus_sign: | Max possible score | 20 | | `totalSum` | *Optional\* | :heavy_minus_sign: | Total configured sum of all choices for number allocation question | 45 | | `survey` | [Optional\](../../models/components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | diff --git a/packages/java/docs/models/components/EventSurveyRespondent.md b/packages/java/docs/models/components/EventSurveyRespondent.md index d64503432..65c01feb1 100644 --- a/packages/java/docs/models/components/EventSurveyRespondent.md +++ b/packages/java/docs/models/components/EventSurveyRespondent.md @@ -22,7 +22,7 @@ Respondent detail object for event survey. | `percentageScore` | *Optional\* | :heavy_minus_sign: | Respondent Percentage Score | 70 | | `links` | [Optional\](../../models/components/EventSurveyRespondentLinks.md) | :heavy_minus_sign: | Related links. | | | `sourceId` | *Optional\* | :heavy_minus_sign: | Source IDs track respondents in an external system integrated with the Cvent survey. | IN4IDS1 | -| `event` | [Optional\](../../models/components/EventJson4.md) | :heavy_minus_sign: | Detail object of an event which is associated to a survey. | | +| `event` | [Optional\](../../models/components/EventJson3.md) | :heavy_minus_sign: | Detail object of an event which is associated to a survey. | | | `attendee` | [Optional\](../../models/components/EventSurveyRespondentAttendee.md) | :heavy_minus_sign: | Associated attendee. | | | `contact` | [Optional\](../../models/components/EventSurveyRespondentContact.md) | :heavy_minus_sign: | Associated contact. | | | `surveys` | List\<[RespondentEventSurveyReferenceJson](../../models/components/RespondentEventSurveyReferenceJson.md)> | :heavy_minus_sign: | List of associated surveys. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventSurveyResponse.md b/packages/java/docs/models/components/EventSurveyResponse.md index be83c9387..79363c7f1 100644 --- a/packages/java/docs/models/components/EventSurveyResponse.md +++ b/packages/java/docs/models/components/EventSurveyResponse.md @@ -16,7 +16,7 @@ Response object for event survey respondent. | `question` | [UuidJson](../../models/components/UuidJson.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | | | `answers` | List\<[AnswerJson](../../models/components/AnswerJson.md)> | :heavy_check_mark: | List of responded survey answers. | | | ~~`score`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Answer score (This property is not supported). | 20 | -| `event` | [Optional\](../../models/components/EventJson4.md) | :heavy_minus_sign: | Detail object of an event which is associated to a survey. | | +| `event` | [Optional\](../../models/components/EventJson3.md) | :heavy_minus_sign: | Detail object of an event which is associated to a survey. | | | `survey` | [Optional\](../../models/components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | | `session` | [Optional\](../../models/components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | | `speaker` | [Optional\](../../models/components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventType1.md b/packages/java/docs/models/components/EventType1.md new file mode 100644 index 000000000..173e29ead --- /dev/null +++ b/packages/java/docs/models/components/EventType1.md @@ -0,0 +1,39 @@ +# EventType1 + +Event type. + +## Example Usage + +```java +import com.cvent.models.components.EventType1; + +EventType1 value = EventType1.ANNIVERSARY_BIRTHDAY; +``` + + +## Values + +| Name | Value | +| ----------------------------- | ----------------------------- | +| `ANNIVERSARY_BIRTHDAY` | ANNIVERSARY_BIRTHDAY | +| `BACHELOR_BACHELORETTE_PARTY` | BACHELOR_BACHELORETTE_PARTY | +| `BAR_BAT_MITZVAH` | BAR_BAT_MITZVAH | +| `BUSINESS_MEETING` | BUSINESS_MEETING | +| `CONFERENCE_CONVENTION` | CONFERENCE_CONVENTION | +| `CORPORATE_EVENT` | CORPORATE_EVENT | +| `CUSTOMER_EVENT` | CUSTOMER_EVENT | +| `EDUCATIONAL_SEMINAR` | EDUCATIONAL_SEMINAR | +| `FRATERNITY_SORORITY_GROUP` | FRATERNITY_SORORITY_GROUP | +| `FUNDRAISER_CHARITY_EVENT` | FUNDRAISER_CHARITY_EVENT | +| `RECEPTION_HOLIDAY_PARTY` | RECEPTION_HOLIDAY_PARTY | +| `INCENTIVE_TRAVEL` | INCENTIVE_TRAVEL | +| `REUNION` | REUNION | +| `SHAREHOLDERS_MEETING` | SHAREHOLDERS_MEETING | +| `SPECIAL_EVENT` | SPECIAL_EVENT | +| `SPORTS_EVENT` | SPORTS_EVENT | +| `TEAM_BUILDING_EVENT` | TEAM_BUILDING_EVENT | +| `TOUR_GROUP_VACATION` | TOUR_GROUP_VACATION | +| `TRADE_SHOW_CONSUMER_SHOW` | TRADE_SHOW_CONSUMER_SHOW | +| `TRAINING` | TRAINING | +| `WEDDING` | WEDDING | +| `OTHER` | OTHER | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventTypeJson.md b/packages/java/docs/models/components/EventTypeJson.md new file mode 100644 index 000000000..3815ccae5 --- /dev/null +++ b/packages/java/docs/models/components/EventTypeJson.md @@ -0,0 +1,37 @@ +# EventTypeJson + +Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. + +## Example Usage + +```java +import com.cvent.models.components.EventTypeJson; + +EventTypeJson value = EventTypeJson.CELEBRATION; +``` + + +## Values + +| Name | Value | +| -------------------- | -------------------- | +| `CELEBRATION` | Celebration | +| `CONFERENCE` | Conference | +| `CVENT_ESSENTIALS` | CventEssentials | +| `CVENT_WEBINAR` | CventWebinar | +| `DINNER` | Dinner | +| `FORUM` | Forum | +| `FUNDRAISER_BENEFIT` | FundraiserBenefit | +| `HOLIDAY` | Holiday | +| `INCENTIVE_TRIP` | IncentiveTrip | +| `MEETING` | Meeting | +| `OTHER_GENERAL` | OtherGeneral | +| `POLITICAL_EVENT` | PoliticalEvent | +| `REUNION` | Reunion | +| `SAVE_THE_DATE` | SaveTheDate | +| `SEMINAR` | Seminar | +| `SIMPLE_EVENT` | SimpleEvent | +| `SPORTS_EVENT` | SportsEvent | +| `TRADE_SHOW` | TradeShow | +| `TRAINING_SESSION` | TrainingSession | +| `WEBINAR` | Webinar | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventTypeJson0.md b/packages/java/docs/models/components/EventTypeJson0.md deleted file mode 100644 index 05d67f2cb..000000000 --- a/packages/java/docs/models/components/EventTypeJson0.md +++ /dev/null @@ -1,39 +0,0 @@ -# EventTypeJson0 - -Event type. - -## Example Usage - -```java -import com.cvent.models.components.EventTypeJson0; - -EventTypeJson0 value = EventTypeJson0.ANNIVERSARY_BIRTHDAY; -``` - - -## Values - -| Name | Value | -| ----------------------------- | ----------------------------- | -| `ANNIVERSARY_BIRTHDAY` | ANNIVERSARY_BIRTHDAY | -| `BACHELOR_BACHELORETTE_PARTY` | BACHELOR_BACHELORETTE_PARTY | -| `BAR_BAT_MITZVAH` | BAR_BAT_MITZVAH | -| `BUSINESS_MEETING` | BUSINESS_MEETING | -| `CONFERENCE_CONVENTION` | CONFERENCE_CONVENTION | -| `CORPORATE_EVENT` | CORPORATE_EVENT | -| `CUSTOMER_EVENT` | CUSTOMER_EVENT | -| `EDUCATIONAL_SEMINAR` | EDUCATIONAL_SEMINAR | -| `FRATERNITY_SORORITY_GROUP` | FRATERNITY_SORORITY_GROUP | -| `FUNDRAISER_CHARITY_EVENT` | FUNDRAISER_CHARITY_EVENT | -| `RECEPTION_HOLIDAY_PARTY` | RECEPTION_HOLIDAY_PARTY | -| `INCENTIVE_TRAVEL` | INCENTIVE_TRAVEL | -| `REUNION` | REUNION | -| `SHAREHOLDERS_MEETING` | SHAREHOLDERS_MEETING | -| `SPECIAL_EVENT` | SPECIAL_EVENT | -| `SPORTS_EVENT` | SPORTS_EVENT | -| `TEAM_BUILDING_EVENT` | TEAM_BUILDING_EVENT | -| `TOUR_GROUP_VACATION` | TOUR_GROUP_VACATION | -| `TRADE_SHOW_CONSUMER_SHOW` | TRADE_SHOW_CONSUMER_SHOW | -| `TRAINING` | TRAINING | -| `WEDDING` | WEDDING | -| `OTHER` | OTHER | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventTypeJson1.md b/packages/java/docs/models/components/EventTypeJson1.md deleted file mode 100644 index 809961883..000000000 --- a/packages/java/docs/models/components/EventTypeJson1.md +++ /dev/null @@ -1,37 +0,0 @@ -# EventTypeJson1 - -Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. - -## Example Usage - -```java -import com.cvent.models.components.EventTypeJson1; - -EventTypeJson1 value = EventTypeJson1.CELEBRATION; -``` - - -## Values - -| Name | Value | -| -------------------- | -------------------- | -| `CELEBRATION` | Celebration | -| `CONFERENCE` | Conference | -| `CVENT_ESSENTIALS` | CventEssentials | -| `CVENT_WEBINAR` | CventWebinar | -| `DINNER` | Dinner | -| `FORUM` | Forum | -| `FUNDRAISER_BENEFIT` | FundraiserBenefit | -| `HOLIDAY` | Holiday | -| `INCENTIVE_TRIP` | IncentiveTrip | -| `MEETING` | Meeting | -| `OTHER_GENERAL` | OtherGeneral | -| `POLITICAL_EVENT` | PoliticalEvent | -| `REUNION` | Reunion | -| `SAVE_THE_DATE` | SaveTheDate | -| `SEMINAR` | Seminar | -| `SIMPLE_EVENT` | SimpleEvent | -| `SPORTS_EVENT` | SportsEvent | -| `TRADE_SHOW` | TradeShow | -| `TRAINING_SESSION` | TrainingSession | -| `WEBINAR` | Webinar | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventUpdate.md b/packages/java/docs/models/components/EventUpdate.md index bee5dce70..ade10e0e2 100644 --- a/packages/java/docs/models/components/EventUpdate.md +++ b/packages/java/docs/models/components/EventUpdate.md @@ -35,9 +35,9 @@ Represents updates to an event. | `capacity` | *Optional\* | :heavy_minus_sign: | The maximum number of individuals that can attend the event. Only used for events with the registration feature. | 50 | | `planners` | List\<[PlannerJson2](../../models/components/PlannerJson2.md)> | :heavy_check_mark: | A collection of contacts representing the event planners. | | | `stakeholders` | List\<[StakeholderJson](../../models/components/StakeholderJson.md)> | :heavy_minus_sign: | A collection of contacts representing event stakeholders. | | -| `customFields` | List\<[CustomFieldJson3](../../models/components/CustomFieldJson3.md)> | :heavy_minus_sign: | Collection of custom fields. | | +| `customFields` | List\<[CustomFieldJson2](../../models/components/CustomFieldJson2.md)> | :heavy_minus_sign: | Collection of custom fields. | | | ~~`category`~~ | [Optional\](../../models/components/EventUpdateLookup.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The category to which this event belongs (no longer supported). | | -| `type` | [EventTypeJson1](../../models/components/EventTypeJson1.md) | :heavy_check_mark: | Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. | Conference | +| `type` | [EventTypeJson](../../models/components/EventTypeJson.md) | :heavy_check_mark: | Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. | Conference | | `links` | [Optional\](../../models/components/EventLinksJson.md) | :heavy_minus_sign: | Represents the links associated with an event. | {
"invitation": {
"href": "https://cvent.com"
},
"agenda": {
"href": "https://cvent.com"
},
"summary": {
"href": "https://cvent.com"
},
"registration": {
"href": "https://cvent.com"
}
} | | `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 | | `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 | diff --git a/packages/java/docs/models/components/EventUpdateInput.md b/packages/java/docs/models/components/EventUpdateInput.md index ffc501431..7416c9358 100644 --- a/packages/java/docs/models/components/EventUpdateInput.md +++ b/packages/java/docs/models/components/EventUpdateInput.md @@ -22,4 +22,4 @@ Represents updates to an event. | `languages` | List\<*String*> | :heavy_check_mark: | List of IETF language tags enabled for the event. This field supports reading multiple language tags but supports writing only one language to an event. | | | `capacity` | *Optional\* | :heavy_minus_sign: | The maximum number of individuals that can attend the event. Only used for events with the registration feature. | 50 | | `planners` | List\<[PlannerJson2Input](../../models/components/PlannerJson2Input.md)> | :heavy_check_mark: | A collection of contacts representing the event planners. | | -| `type` | [EventTypeJson1](../../models/components/EventTypeJson1.md) | :heavy_check_mark: | Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. | Conference | \ No newline at end of file +| `type` | [EventTypeJson](../../models/components/EventTypeJson.md) | :heavy_check_mark: | Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. | Conference | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExhibitorCategoryRequest.md b/packages/java/docs/models/components/ExhibitorCategoryRequest.md index 210f5aba5..bfc0a67ee 100644 --- a/packages/java/docs/models/components/ExhibitorCategoryRequest.md +++ b/packages/java/docs/models/components/ExhibitorCategoryRequest.md @@ -7,7 +7,7 @@ JSON schema representing an Exhibitor Category object | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | -| `event` | [Event21](../../models/components/Event21.md) | :heavy_check_mark: | The Associated Event. | | +| `event` | [Event3](../../models/components/Event3.md) | :heavy_check_mark: | The Associated Event. | | | `name` | *String* | :heavy_check_mark: | Name of the exhibitor category | Automobile | | `description` | *Optional\* | :heavy_minus_sign: | Exhibitor Category description | everything related to automobiles | | `order` | *long* | :heavy_check_mark: | order for exhibitor category | 3 | diff --git a/packages/java/docs/models/components/ExhibitorCategoryResponse.md b/packages/java/docs/models/components/ExhibitorCategoryResponse.md index 25a8c3f7e..730533df7 100644 --- a/packages/java/docs/models/components/ExhibitorCategoryResponse.md +++ b/packages/java/docs/models/components/ExhibitorCategoryResponse.md @@ -11,7 +11,7 @@ A description of the Existing Exhibitor Category JSON schema | `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 | -| `event` | [Event21](../../models/components/Event21.md) | :heavy_check_mark: | The Associated Event. | | +| `event` | [Event3](../../models/components/Event3.md) | :heavy_check_mark: | The Associated Event. | | | `name` | *String* | :heavy_check_mark: | Name of the exhibitor category | Automobile | | `description` | *Optional\* | :heavy_minus_sign: | Exhibitor Category description | everything related to automobiles | | `order` | *long* | :heavy_check_mark: | order for exhibitor category | 3 | diff --git a/packages/java/docs/models/components/ExhibitorRequest.md b/packages/java/docs/models/components/ExhibitorRequest.md index fdd76c00f..04c1cb8c1 100644 --- a/packages/java/docs/models/components/ExhibitorRequest.md +++ b/packages/java/docs/models/components/ExhibitorRequest.md @@ -7,13 +7,13 @@ A representation of an exhibitor including all relevant information. | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `event` | [Event21](../../models/components/Event21.md) | :heavy_check_mark: | The Associated Event. | | +| `event` | [Event3](../../models/components/Event3.md) | :heavy_check_mark: | The Associated Event. | | | `name` | *String* | :heavy_check_mark: | Name of the exhibitor. Cvent suggests limiting this to a maximum of 200 characters for optimal results. | Potterfield Harry | | `description` | *Optional\* | :heavy_minus_sign: | Exhibitor description | A man who sells relatively good hotdogs | | `code` | *Optional\* | :heavy_minus_sign: | Code used to identify the exhibitor | abc123 | | `sourceId` | *Optional\* | :heavy_minus_sign: | Code used for marketing groupings | software | | `location` | *Optional\* | :heavy_minus_sign: | Exhibitor location | Taj Mahal | -| `address` | [Optional\](../../models/components/Address2.md) | :heavy_minus_sign: | An object representing an address with various properties. | | +| `address` | [Optional\](../../models/components/Address4.md) | :heavy_minus_sign: | An object representing an address with various properties. | | | `email` | *Optional\* | :heavy_minus_sign: | Email address of the exhibitor | h.potterfield@test.com | | `mobilePhone` | *Optional\* | :heavy_minus_sign: | Mobile Phone of the exhibitor | 555-555-5555 | | `workPhone` | *Optional\* | :heavy_minus_sign: | Work Phone of the exhibitor | 555-555-5555 | diff --git a/packages/java/docs/models/components/ExhibitorResponse.md b/packages/java/docs/models/components/ExhibitorResponse.md index 6f750bfea..547e3cc39 100644 --- a/packages/java/docs/models/components/ExhibitorResponse.md +++ b/packages/java/docs/models/components/ExhibitorResponse.md @@ -11,13 +11,13 @@ JSON schema for the exhibitor object | `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 | -| `event` | [Event21](../../models/components/Event21.md) | :heavy_check_mark: | The Associated Event. | | +| `event` | [Event3](../../models/components/Event3.md) | :heavy_check_mark: | The Associated Event. | | | `name` | *String* | :heavy_check_mark: | Name of the exhibitor. Cvent suggests limiting this to a maximum of 200 characters for optimal results. | Potterfield Harry | | `description` | *Optional\* | :heavy_minus_sign: | Exhibitor description | A man who sells relatively good hotdogs | | `code` | *Optional\* | :heavy_minus_sign: | Code used to identify the exhibitor | abc123 | | `sourceId` | *Optional\* | :heavy_minus_sign: | Code used for marketing groupings | software | | `location` | *Optional\* | :heavy_minus_sign: | Exhibitor location | Taj Mahal | -| `address` | [Optional\](../../models/components/Address2.md) | :heavy_minus_sign: | An object representing an address with various properties. | | +| `address` | [Optional\](../../models/components/Address4.md) | :heavy_minus_sign: | An object representing an address with various properties. | | | `email` | *Optional\* | :heavy_minus_sign: | Email address of the exhibitor | h.potterfield@test.com | | `mobilePhone` | *Optional\* | :heavy_minus_sign: | Mobile Phone of the exhibitor | 555-555-5555 | | `workPhone` | *Optional\* | :heavy_minus_sign: | Work Phone of the exhibitor | 555-555-5555 | diff --git a/packages/java/docs/models/components/ExistingAudienceSegment.md b/packages/java/docs/models/components/ExistingAudienceSegment.md index 7902cacb3..930b50af8 100644 --- a/packages/java/docs/models/components/ExistingAudienceSegment.md +++ b/packages/java/docs/models/components/ExistingAudienceSegment.md @@ -11,7 +11,7 @@ Details of an audience segment. | `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 | -| `event` | [EventJson1](../../models/components/EventJson1.md) | :heavy_check_mark: | ID of the event. | | +| `event` | [EventJson](../../models/components/EventJson.md) | :heavy_check_mark: | ID of the event. | | | `name` | *String* | :heavy_check_mark: | Name of the audience segment. Must be unique in the event where the segment exists. | VIP Attendees | | `description` | *Optional\* | :heavy_minus_sign: | Description of the audience segment. | A group of VIP attendees. | | `id` | *Optional\* | :heavy_minus_sign: | ID of the audience segment. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | diff --git a/packages/java/docs/models/components/ExistingAudioTrack.md b/packages/java/docs/models/components/ExistingAudioTrack.md index 4a3368de1..ae5ad4344 100644 --- a/packages/java/docs/models/components/ExistingAudioTrack.md +++ b/packages/java/docs/models/components/ExistingAudioTrack.md @@ -11,12 +11,12 @@ Existing audio track. | `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 | -| `video` | [VideoAssetIdJson](../../models/components/VideoAssetIdJson.md) | :heavy_check_mark: | Video that this asset was created with. | | -| `type` | [AudioTrackTypeJson](../../models/components/AudioTrackTypeJson.md) | :heavy_check_mark: | Denotes the file format of the audio track. | mp3 | +| `video` | [VideoAssetID](../../models/components/VideoAssetID.md) | :heavy_check_mark: | Video that this asset was created with. | | +| `type` | [AudioTrackType](../../models/components/AudioTrackType.md) | :heavy_check_mark: | Denotes the file format of the audio track. | mp3 | | `language` | *String* | :heavy_check_mark: | IETF language tag for the audio track. | en-US | -| `variant` | [Optional\](../../models/components/AudioTrackVariantJson.md) | :heavy_minus_sign: | Denotes the variant of an audio track. Main is the primary audio track for this video. Alternate is a possible alternative to the main track. Commentary is a commentary on the primary audio or video track, e.g. a director's commentary. Dub is a translated version of the main audio track. Descriptive is an audio description of a video track. | Alternate | +| `variant` | [Optional\](../../models/components/AudioTrackVariant.md) | :heavy_minus_sign: | Denotes the variant of an audio track. Main is the primary audio track for this video. Alternate is a possible alternative to the main track. Commentary is a commentary on the primary audio or video track, e.g. a director's commentary. Dub is a translated version of the main audio track. Descriptive is an audio description of a video track. | Alternate | | `default_` | *Optional\* | :heavy_minus_sign: | True indicates this is the default audio track. | | | `duration` | *Optional\* | :heavy_minus_sign: | Audio track duration (in milliseconds). | 3600000 | -| `status` | [Optional\](../../models/components/AudioTrackStatusJson.md) | :heavy_minus_sign: | Denotes the status of an audio track. Started indicates the request to upload in the API was submitted, and the URL you'll upload an audio track to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the audio track. Available indicates the audio track is available for use. | Started | +| `status` | [Optional\](../../models/components/AudioTrackStatus.md) | :heavy_minus_sign: | Denotes the status of an audio track. Started indicates the request to upload in the API was submitted, and the URL you'll upload an audio track to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the audio track. Available indicates the audio track is available for use. | Started | | `id` | *String* | :heavy_check_mark: | The identifier of an audio track. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `url` | [Optional\](../../models/components/AssetLocationJson.md) | :heavy_minus_sign: | A URL associated with the asset. | | \ No newline at end of file +| `url` | [Optional\](../../models/components/AssetLocation.md) | :heavy_minus_sign: | A URL associated with the asset. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExistingCustomField.md b/packages/java/docs/models/components/ExistingCustomField.md index 6d7c6b93b..57cec7100 100644 --- a/packages/java/docs/models/components/ExistingCustomField.md +++ b/packages/java/docs/models/components/ExistingCustomField.md @@ -15,7 +15,7 @@ This is used to denote an existing custom field. | `name` | *String* | :heavy_check_mark: | The actual text of the custom field. | What is a your favorite color? | | `code` | *String* | :heavy_check_mark: | Code to uniquely identify custom field. | FAVORITE_COLOR_CODE | | `required` | *Optional\* | :heavy_minus_sign: | Whether answer to custom field is mandatory or not. | true | -| `type` | [CustomFieldTypeJson1](../../models/components/CustomFieldTypeJson1.md) | :heavy_check_mark: | This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. | Open Ended Text - One Line | +| `type` | [CustomFieldTypeJson](../../models/components/CustomFieldTypeJson.md) | :heavy_check_mark: | This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. | Open Ended Text - One Line | | `details` | [Optional\](../../models/components/ExistingCustomFieldDetails.md) | :heavy_minus_sign: | Type-specific details of the custom-field. | | | `order` | *Optional\* | :heavy_minus_sign: | The order of the custom field on the display page. | 1 | | `helpText` | *Optional\* | :heavy_minus_sign: | The help text of the custom field. | Enter your favorite color. | diff --git a/packages/java/docs/models/components/ExistingCustomFieldInput.md b/packages/java/docs/models/components/ExistingCustomFieldInput.md index ec50e8994..d05451dc6 100644 --- a/packages/java/docs/models/components/ExistingCustomFieldInput.md +++ b/packages/java/docs/models/components/ExistingCustomFieldInput.md @@ -11,7 +11,7 @@ This is used to denote an existing custom field. | `name` | *String* | :heavy_check_mark: | The actual text of the custom field. | What is a your favorite color? | | `code` | *String* | :heavy_check_mark: | Code to uniquely identify custom field. | FAVORITE_COLOR_CODE | | `required` | *Optional\* | :heavy_minus_sign: | Whether answer to custom field is mandatory or not. | true | -| `type` | [CustomFieldTypeJson1](../../models/components/CustomFieldTypeJson1.md) | :heavy_check_mark: | This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. | Open Ended Text - One Line | +| `type` | [CustomFieldTypeJson](../../models/components/CustomFieldTypeJson.md) | :heavy_check_mark: | This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. | Open Ended Text - One Line | | `details` | [Optional\](../../models/components/ExistingCustomFieldDetailsInput.md) | :heavy_minus_sign: | Type-specific details of the custom-field. | | | `helpText` | *Optional\* | :heavy_minus_sign: | The help text of the custom field. | Enter your favorite color. | | `displayInDataTag` | [Optional\](../../models/components/DisplayInDataTagJson.md) | :heavy_minus_sign: | This option allows you to choose whether to display the custom field in emails. The field name and the value entered by the invitee are used in the My Agenda data tag. You can set the custom field to display always or only when answered. Only applicable to session custom fields. | No | diff --git a/packages/java/docs/models/components/ExistingDurationType.md b/packages/java/docs/models/components/ExistingDurationType.md index 83b152499..c5fd459c6 100644 --- a/packages/java/docs/models/components/ExistingDurationType.md +++ b/packages/java/docs/models/components/ExistingDurationType.md @@ -20,4 +20,7 @@ ExistingDurationType value = ExistingDurationType.RFID; | `EDIT` | EDIT | | `LIVE` | LIVE | | `ON_DEMAND` | ON_DEMAND | -| `API` | API | \ No newline at end of file +| `API` | API | +| `MANUAL` | MANUAL | +| `IMPORT` | IMPORT | +| `EVENTAPP` | EVENTAPP | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExistingELiteratureRequestDataForLead.md b/packages/java/docs/models/components/ExistingELiteratureRequestDataForLead.md index 63915c72a..febe239bf 100644 --- a/packages/java/docs/models/components/ExistingELiteratureRequestDataForLead.md +++ b/packages/java/docs/models/components/ExistingELiteratureRequestDataForLead.md @@ -11,7 +11,7 @@ A JSON Schema for an existing e-literature request data for a lead. | `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 | -| `event` | [Event21](../../models/components/Event21.md) | :heavy_check_mark: | The Associated Event. | | +| `event` | [Event3](../../models/components/Event3.md) | :heavy_check_mark: | The Associated Event. | | | `exhibitor` | [Exhibitor](../../models/components/Exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | | `lead` | [Lead2](../../models/components/Lead2.md) | :heavy_check_mark: | JSON schema for the Lead object | | | `documents` | List\<[ELiteratureDocument](../../models/components/ELiteratureDocument.md)> | :heavy_check_mark: | Collection of E-literature documents sent to lead. | | diff --git a/packages/java/docs/models/components/ExistingExhibitorAnswer.md b/packages/java/docs/models/components/ExistingExhibitorAnswer.md index e77300586..d01cf2c2f 100644 --- a/packages/java/docs/models/components/ExistingExhibitorAnswer.md +++ b/packages/java/docs/models/components/ExistingExhibitorAnswer.md @@ -12,7 +12,7 @@ Existing Exhibitor Answer schema | `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 | | `question` | [Uuid](../../models/components/Uuid.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | | -| `event` | [Event21](../../models/components/Event21.md) | :heavy_check_mark: | The Associated Event. | | +| `event` | [Event3](../../models/components/Event3.md) | :heavy_check_mark: | The Associated Event. | | | `exhibitor` | [Exhibitor](../../models/components/Exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | | `answers` | List\<[Answer2](../../models/components/Answer2.md)> | :heavy_check_mark: | List of answers | | | `id` | *String* | :heavy_check_mark: | Exhibitor Answer id | 06d2bfce-1793-11ec-9621-0242ac130002 | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExistingExhibitorAnswerInput.md b/packages/java/docs/models/components/ExistingExhibitorAnswerInput.md index 13d12200f..650a9ab45 100644 --- a/packages/java/docs/models/components/ExistingExhibitorAnswerInput.md +++ b/packages/java/docs/models/components/ExistingExhibitorAnswerInput.md @@ -8,6 +8,6 @@ Existing Exhibitor Answer schema | Field | Type | Required | Description | | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | | `question` | [Uuid](../../models/components/Uuid.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | -| `event` | [Event21](../../models/components/Event21.md) | :heavy_check_mark: | The Associated Event. | +| `event` | [Event3](../../models/components/Event3.md) | :heavy_check_mark: | The Associated Event. | | `exhibitor` | [Exhibitor](../../models/components/Exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | `answers` | List\<[Answer2](../../models/components/Answer2.md)> | :heavy_check_mark: | List of answers | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExistingExhibitorQuestion.md b/packages/java/docs/models/components/ExistingExhibitorQuestion.md index 11f7110b5..0ae4eec64 100644 --- a/packages/java/docs/models/components/ExistingExhibitorQuestion.md +++ b/packages/java/docs/models/components/ExistingExhibitorQuestion.md @@ -11,14 +11,14 @@ Schema for an existing exhibitor question | `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 | -| `event` | [Event21](../../models/components/Event21.md) | :heavy_check_mark: | The Associated Event. | | +| `event` | [Event3](../../models/components/Event3.md) | :heavy_check_mark: | The Associated Event. | | | `text` | *String* | :heavy_check_mark: | The actual text of the exhibitor question. | Is there a business need? | | `code` | *Optional\* | :heavy_minus_sign: | System or User defined event level unique exhibitor question code. | A001 | | `type` | [ExhibitorQuestionType](../../models/components/ExhibitorQuestionType.md) | :heavy_check_mark: | Enumeration indicating the type of data collected by an exhibitor question. 'MultiChoice': Respondents select multiple options from a list. 'SingleChoice': restricts respondents to a single option from a list, often displayed as a dropdown or radio button. 'OpenEndedTextOneLine': brief text responses, such as names or short answers. 'OpenEndedTextCommentBox': longer text responses for detailed feedback. 'OpenEndedDateTime': captures date and time information from respondents. | SingleChoice | | `required` | *boolean* | :heavy_check_mark: | A boolean indicating whether the question is mandatory or not | true | | `choices` | List\<[BaseChoice](../../models/components/BaseChoice.md)> | :heavy_minus_sign: | An array of choices for the exhibitor question. | | -| `notApplicableAnswer` | [Optional\](../../models/components/AdditionalChoice.md) | :heavy_minus_sign: | Contains text of additional choice | | -| `otherAnswer` | [Optional\](../../models/components/AdditionalChoice.md) | :heavy_minus_sign: | Contains text of additional choice | | +| `notApplicableAnswer` | [Optional\](../../models/components/AdditionalChoice1.md) | :heavy_minus_sign: | Contains text of additional choice | | +| `otherAnswer` | [Optional\](../../models/components/AdditionalChoice1.md) | :heavy_minus_sign: | Contains text of additional choice | | | `answerFormat` | [Optional\](../../models/components/ExhibitorAnswerFormat.md) | :heavy_minus_sign: | Specifies the format for displaying answers based on the question type. For SingleChoice questions, choose between 'Dropdown' or 'RadioButton'. For OpenEndedTextOneLine questions, select 'General', 'EmailAddress', or 'PhoneNumber'. For OpenEndedDateTime questions, use 'DateAndTime' or 'Date'. | RadioButton | | `answerLimits` | [Optional\](../../models/components/ExhibitorAnswerLimits.md) | :heavy_minus_sign: | Defines the limits for answers to exhibitor questions. | | | `defaultToCurrentDate` | *Optional\* | :heavy_minus_sign: | True indicates the current date and time is automatically set as the default value for OpenEndedDateTime questions. | true | diff --git a/packages/java/docs/models/components/ExistingFile.md b/packages/java/docs/models/components/ExistingFile.md index 5b9522162..5e44eb8c3 100644 --- a/packages/java/docs/models/components/ExistingFile.md +++ b/packages/java/docs/models/components/ExistingFile.md @@ -11,7 +11,7 @@ Content of existing exhibitor file | `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 | -| `event` | [Event21](../../models/components/Event21.md) | :heavy_check_mark: | The Associated Event. | | +| `event` | [Event3](../../models/components/Event3.md) | :heavy_check_mark: | The Associated Event. | | | `exhibitor` | [Exhibitor](../../models/components/Exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | | `displayName` | *String* | :heavy_check_mark: | Display name of the file. | Marketing Page | | `hidden` | *Optional\* | :heavy_minus_sign: | True indicates the file is hidden from attendees. | | diff --git a/packages/java/docs/models/components/ExistingSpeaker.md b/packages/java/docs/models/components/ExistingSpeaker.md index 7c75db157..ee0b6bda2 100644 --- a/packages/java/docs/models/components/ExistingSpeaker.md +++ b/packages/java/docs/models/components/ExistingSpeaker.md @@ -20,8 +20,8 @@ An existing, event speaker. | `designation` | *Optional\* | :heavy_minus_sign: | The speaker's Designation | PhD | | `company` | *Optional\* | :heavy_minus_sign: | The company to which the speaker is associated | Cvent | | `title` | *Optional\* | :heavy_minus_sign: | The speaker's title | Lead Engineer | -| `category` | [Optional\](../../models/components/CategoryIdNameJson.md) | :heavy_minus_sign: | A defined speaker category. | | -| `links` | [Optional\](../../models/components/ContactLinksJson.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | +| `category` | [Optional\](../../models/components/SpeakerCategory1.md) | :heavy_minus_sign: | A defined speaker category. | | +| `links` | [Optional\](../../models/components/ContactLinks.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | | `visibility` | *Optional\* | :heavy_minus_sign: | Indicates if a given speaker should be displayed on Event Website | false | | `biography` | *Optional\* | :heavy_minus_sign: | The speaker's biography | Presentation and Speaking voice expert, Barbara is a highly regarded coach and facilitator | | `internalNote` | *Optional\* | :heavy_minus_sign: | The Internal Note of the speaker | Barbara is multilingual | diff --git a/packages/java/docs/models/components/ExistingSpeakerInput.md b/packages/java/docs/models/components/ExistingSpeakerInput.md index a686ae3e1..24533c9fa 100644 --- a/packages/java/docs/models/components/ExistingSpeakerInput.md +++ b/packages/java/docs/models/components/ExistingSpeakerInput.md @@ -16,8 +16,8 @@ An existing, event speaker. | `designation` | *Optional\* | :heavy_minus_sign: | The speaker's Designation | PhD | | `company` | *Optional\* | :heavy_minus_sign: | The company to which the speaker is associated | Cvent | | `title` | *Optional\* | :heavy_minus_sign: | The speaker's title | Lead Engineer | -| `category` | [Optional\](../../models/components/CategoryIdNameJson.md) | :heavy_minus_sign: | A defined speaker category. | | -| `links` | [Optional\](../../models/components/ContactLinksJsonInput.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | +| `category` | [Optional\](../../models/components/SpeakerCategory1.md) | :heavy_minus_sign: | A defined speaker category. | | +| `links` | [Optional\](../../models/components/ContactLinksInput.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | | `visibility` | *Optional\* | :heavy_minus_sign: | Indicates if a given speaker should be displayed on Event Website | false | | `biography` | *Optional\* | :heavy_minus_sign: | The speaker's biography | Presentation and Speaking voice expert, Barbara is a highly regarded coach and facilitator | | `internalNote` | *Optional\* | :heavy_minus_sign: | The Internal Note of the speaker | Barbara is multilingual | diff --git a/packages/java/docs/models/components/ExistingSponsorshipLevel.md b/packages/java/docs/models/components/ExistingSponsorshipLevel.md index bf65e1949..cde785a62 100644 --- a/packages/java/docs/models/components/ExistingSponsorshipLevel.md +++ b/packages/java/docs/models/components/ExistingSponsorshipLevel.md @@ -11,7 +11,7 @@ Existing sponsorship level model | `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 | -| `event` | [Event21](../../models/components/Event21.md) | :heavy_check_mark: | The Associated Event. | | +| `event` | [Event3](../../models/components/Event3.md) | :heavy_check_mark: | The Associated Event. | | | `name` | *String* | :heavy_check_mark: | Name of the sponsorship level | Silver | | `id` | *Optional\* | :heavy_minus_sign: | ID of event sponsorship level. | 1765848c-2a7f-48d2-85a2-6668b8e64ffb | | `rank` | *Optional\* | :heavy_minus_sign: | Represents the order sponsors appear in a list. | 3 | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExistingVideoResponse.md b/packages/java/docs/models/components/ExistingVideoResponse.md index 0bab0e375..4af102bd9 100644 --- a/packages/java/docs/models/components/ExistingVideoResponse.md +++ b/packages/java/docs/models/components/ExistingVideoResponse.md @@ -16,19 +16,19 @@ Response schema for GET/List endpoints, extending ExistingVideo and adding error | `filename` | *Optional\* | :heavy_minus_sign: | Filename associated with the video at time of upload. Cannot be modified. | Cvent Keynote Version 5.mp4 | | `events` | List\<*String*> | :heavy_minus_sign: | A list of events associated with this video asset | | | `duration` | *Optional\* | :heavy_minus_sign: | Video duration (milliseconds) | 3600000 | -| `thumbnail` | [Optional\](../../models/components/VideoThumbnailJson.md) | :heavy_minus_sign: | Video thumbnail | | -| `generatedThumbnail` | [Optional\](../../models/components/VideoThumbnailJson.md) | :heavy_minus_sign: | Video thumbnail | | -| `status` | [Optional\](../../models/components/VideoStatusJson.md) | :heavy_minus_sign: | Denotes the status of a video. Started indicates the request to upload in the API was submitted, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the video. Available indicates the video is available for use. | Started | -| `source` | [Optional\](../../models/components/VideoSourceJson.md) | :heavy_minus_sign: | Source of video. | | +| `thumbnail` | [Optional\](../../models/components/VideoThumbnail.md) | :heavy_minus_sign: | Video thumbnail | | +| `generatedThumbnail` | [Optional\](../../models/components/VideoThumbnail.md) | :heavy_minus_sign: | Video thumbnail | | +| `status` | [Optional\](../../models/components/VideoStatus.md) | :heavy_minus_sign: | Denotes the status of a video. Started indicates the request to upload in the API was submitted, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the video. Available indicates the video is available for use. | Started | +| `source` | [Optional\](../../models/components/VideoSource.md) | :heavy_minus_sign: | Source of video. | | | `tags` | List\<*String*> | :heavy_minus_sign: | A list of tags associated with this video. This feature is a developer extensability framework to add data to videos. | [
"edited",
"exhibitor"
] | -| `type` | [Optional\](../../models/components/VideoTypeJson.md) | :heavy_minus_sign: | This is used to denote type of a video | mp4 | +| `type` | [Optional\](../../models/components/VideoType.md) | :heavy_minus_sign: | This is used to denote type of a video | mp4 | | ~~`event`~~ | [Optional\](../../models/components/ExistingVideoResponseUUID.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Event video asset was created with. This field has been deprecated. Use events instead. | | | ~~`hlsInputs`~~ | List\<*String*> | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

List of locations for HLS recordings that will be combined to form a new video. This field has been deprecated. Use hlsInputsWithClips instead. | | -| `hlsInputsWithClips` | List\<[HlsInputWithClipsJson](../../models/components/HlsInputWithClipsJson.md)> | :heavy_minus_sign: | A list of input object locations & clip information for HTTP Live Streaming (HLS) recordings. Used to trim & stitch all inputs together to form a new video. | | +| `hlsInputsWithClips` | List\<[HlsInputWithClips](../../models/components/HlsInputWithClips.md)> | :heavy_minus_sign: | A list of input object locations & clip information for HTTP Live Streaming (HLS) recordings. Used to trim & stitch all inputs together to form a new video. | | | `recording` | [Optional\](../../models/components/RecordingDetails.md) | :heavy_minus_sign: | Recording details of video to be transcoded | | -| `encodingProfile` | [Optional\](../../models/components/EncodingProfileJson.md) | :heavy_minus_sign: | Denotes the profile to use when encoding the video. Planner profile is for encoding high-quality event content, like session videos. Attendee profile is for encoding lower-quality content intended to go on attendee profiles and social feeds in the event. | Planner | +| `encodingProfile` | [Optional\](../../models/components/EncodingProfile.md) | :heavy_minus_sign: | Denotes the profile to use when encoding the video. Planner profile is for encoding high-quality event content, like session videos. Attendee profile is for encoding lower-quality content intended to go on attendee profiles and social feeds in the event. | Planner | | `id` | *String* | :heavy_check_mark: | The identifier of a video. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `url` | [Optional\](../../models/components/AssetLocationJson.md) | :heavy_minus_sign: | A URL associated with the asset. | | +| `url` | [Optional\](../../models/components/AssetLocation.md) | :heavy_minus_sign: | A URL associated with the asset. | | | `size` | *Optional\* | :heavy_minus_sign: | File size in bytes for the video asset. | 32768 | | `sessions` | List\<*String*> | :heavy_minus_sign: | Sessions associated with the video asset. | | | `exhibitors` | List\<*String*> | :heavy_minus_sign: | Exhibitors associated with the video asset. | | @@ -36,5 +36,5 @@ Response schema for GET/List endpoints, extending ExistingVideo and adding error | `uploadStarted` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when the upload started. | 2024-01-05T15:30:00Z | | `uploadCompleted` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when the uploaded ended. | 2024-01-05T15:35:00Z | | `parent` | *Optional\* | :heavy_minus_sign: | The ID of the video this was created from. | | -| `errors` | List\<[VideoErrorJson](../../models/components/VideoErrorJson.md)> | :heavy_minus_sign: | This is used to denote the errors for a video entity. | | -| `warnings` | List\<[VideoWarningJson](../../models/components/VideoWarningJson.md)> | :heavy_minus_sign: | This is used to denote the warnings for a video entity. | | \ No newline at end of file +| `errors` | List\<[VideoError](../../models/components/VideoError.md)> | :heavy_minus_sign: | This is used to denote the errors for a video entity. | | +| `warnings` | List\<[VideoWarning](../../models/components/VideoWarning.md)> | :heavy_minus_sign: | This is used to denote the warnings for a video entity. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExistingVideoTextTrack.md b/packages/java/docs/models/components/ExistingVideoTextTrack.md index 2a4331c05..11e0edd37 100644 --- a/packages/java/docs/models/components/ExistingVideoTextTrack.md +++ b/packages/java/docs/models/components/ExistingVideoTextTrack.md @@ -11,14 +11,14 @@ An existing video text track. | `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 | -| `video` | [Optional\](../../models/components/VideoAssetIdJson.md) | :heavy_minus_sign: | Video that this asset was created with. | | +| `video` | [Optional\](../../models/components/VideoAssetID.md) | :heavy_minus_sign: | Video that this asset was created with. | | | `label` | *Optional\* | :heavy_minus_sign: | Name of the text track. | English | | `language` | *String* | :heavy_check_mark: | IETF language tag for the text track. | en-US | -| `kind` | [VideoTextTrackKindJson](../../models/components/VideoTextTrackKindJson.md) | :heavy_check_mark: | Denotes the kind of video text track. Only subtitles are supported. | subtitles | +| `kind` | [VideoTextTrackKind](../../models/components/VideoTextTrackKind.md) | :heavy_check_mark: | Denotes the kind of video text track. Only subtitles are supported. | subtitles | | `published` | *Optional\* | :heavy_minus_sign: | True means that this text track has been published for your client. | | | `default_` | *Optional\* | :heavy_minus_sign: | True indicates this is the default text track. Each kind of text track can have a separate default assigned. | | -| `status` | [VideoTextTrackStatusJson](../../models/components/VideoTextTrackStatusJson.md) | :heavy_check_mark: | Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. | Started | +| `status` | [VideoTextTrackStatus](../../models/components/VideoTextTrackStatus.md) | :heavy_check_mark: | Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. | Started | | `autoGenerated` | *Optional\* | :heavy_minus_sign: | True indicates this text track was generated via machine transcription of the audio. | | | `id` | *String* | :heavy_check_mark: | The identifier of a video text track. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `url` | [Optional\](../../models/components/AssetLocationJson.md) | :heavy_minus_sign: | A URL associated with the asset. | | +| `url` | [Optional\](../../models/components/AssetLocation.md) | :heavy_minus_sign: | A URL associated with the asset. | | | `errorMessage` | *Optional\* | :heavy_minus_sign: | A message indicating the error processing the text track, if any. | Input file was empty | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExistingVideoTextTrackInput.md b/packages/java/docs/models/components/ExistingVideoTextTrackInput.md index 8f681fcfc..0a120d5a1 100644 --- a/packages/java/docs/models/components/ExistingVideoTextTrackInput.md +++ b/packages/java/docs/models/components/ExistingVideoTextTrackInput.md @@ -7,13 +7,13 @@ An existing video text track. | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `video` | [Optional\](../../models/components/VideoAssetIdJson.md) | :heavy_minus_sign: | Video that this asset was created with. | | +| `video` | [Optional\](../../models/components/VideoAssetID.md) | :heavy_minus_sign: | Video that this asset was created with. | | | `label` | *Optional\* | :heavy_minus_sign: | Name of the text track. | English | | `language` | *String* | :heavy_check_mark: | IETF language tag for the text track. | en-US | -| `kind` | [VideoTextTrackKindJson](../../models/components/VideoTextTrackKindJson.md) | :heavy_check_mark: | Denotes the kind of video text track. Only subtitles are supported. | subtitles | +| `kind` | [VideoTextTrackKind](../../models/components/VideoTextTrackKind.md) | :heavy_check_mark: | Denotes the kind of video text track. Only subtitles are supported. | subtitles | | `published` | *Optional\* | :heavy_minus_sign: | True means that this text track has been published for your client. | | | `default_` | *Optional\* | :heavy_minus_sign: | True indicates this is the default text track. Each kind of text track can have a separate default assigned. | | -| `status` | [VideoTextTrackStatusJson](../../models/components/VideoTextTrackStatusJson.md) | :heavy_check_mark: | Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. | Started | +| `status` | [VideoTextTrackStatus](../../models/components/VideoTextTrackStatus.md) | :heavy_check_mark: | Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. | Started | | `autoGenerated` | *Optional\* | :heavy_minus_sign: | True indicates this text track was generated via machine transcription of the audio. | | -| `url` | [Optional\](../../models/components/AssetLocationJsonInput.md) | :heavy_minus_sign: | A URL associated with the asset. | | +| `url` | [Optional\](../../models/components/AssetLocationInput.md) | :heavy_minus_sign: | A URL associated with the asset. | | | `errorMessage` | *Optional\* | :heavy_minus_sign: | A message indicating the error processing the text track, if any. | Input file was empty | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExistingWeblink.md b/packages/java/docs/models/components/ExistingWeblink.md index 0478c9cc8..0c2593144 100644 --- a/packages/java/docs/models/components/ExistingWeblink.md +++ b/packages/java/docs/models/components/ExistingWeblink.md @@ -11,7 +11,7 @@ Content of existing exhibitor weblink | `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 | -| `event` | [Event21](../../models/components/Event21.md) | :heavy_check_mark: | The Associated Event. | | +| `event` | [Event3](../../models/components/Event3.md) | :heavy_check_mark: | The Associated Event. | | | `exhibitor` | [Exhibitor](../../models/components/Exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | | `name` | *String* | :heavy_check_mark: | Display name of the weblink. | Marketing Page | | `url` | *String* | :heavy_check_mark: | The URL of the weblink. | http://www.example.com | diff --git a/packages/java/docs/models/components/FairSeasonType.md b/packages/java/docs/models/components/FairSeasonType.md new file mode 100644 index 000000000..76fcad7f6 --- /dev/null +++ b/packages/java/docs/models/components/FairSeasonType.md @@ -0,0 +1,19 @@ +# FairSeasonType + +Fair season type. Blackout means that no special rate is negotiated for that date and Best Available Rates will apply + +## Example Usage + +```java +import com.cvent.models.components.FairSeasonType; + +FairSeasonType value = FairSeasonType.NEGOTIATED; +``` + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `NEGOTIATED` | negotiated | +| `BLACKOUT` | blackout | \ No newline at end of file diff --git a/packages/java/docs/models/components/FairSeasonTypeJson.md b/packages/java/docs/models/components/FairSeasonTypeJson.md deleted file mode 100644 index 37c5a0036..000000000 --- a/packages/java/docs/models/components/FairSeasonTypeJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# FairSeasonTypeJson - -Fair season type. Blackout means that no special rate is negotiated for that date and Best Available Rates will apply - -## Example Usage - -```java -import com.cvent.models.components.FairSeasonTypeJson; - -FairSeasonTypeJson value = FairSeasonTypeJson.NEGOTIATED; -``` - - -## Values - -| Name | Value | -| ------------ | ------------ | -| `NEGOTIATED` | negotiated | -| `BLACKOUT` | blackout | \ No newline at end of file diff --git a/packages/java/docs/models/components/Field.md b/packages/java/docs/models/components/Field.md new file mode 100644 index 000000000..9f8909c8a --- /dev/null +++ b/packages/java/docs/models/components/Field.md @@ -0,0 +1,17 @@ +# Field + +A question field. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | Text field ID. | | +| `text` | *Optional\* | :heavy_minus_sign: | Text value of the field. Displays to users in the UI. | Are you spending any significant time offsite and need transportation? | +| `shortText` | *Optional\* | :heavy_minus_sign: | Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. | Needs offsite transportation? | +| `type` | [Optional\](../../models/components/FieldType.md) | :heavy_minus_sign: | Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: Data is one or more options from a list. `Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is free-text input. | | +| `choices` | List\<[Choice](../../models/components/Choice.md)> | :heavy_minus_sign: | List of choices for this field. | | +| `notApplicableAnswer` | [Optional\](../../models/components/AdditionalChoice.md) | :heavy_minus_sign: | Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. | | +| `otherAnswer` | [Optional\](../../models/components/AdditionalChoice.md) | :heavy_minus_sign: | Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. | | +| `required` | *Optional\* | :heavy_minus_sign: | True indicates this is a mandatory question field. | true | \ No newline at end of file diff --git a/packages/java/docs/models/components/FieldJson.md b/packages/java/docs/models/components/FieldJson.md index 4991c407e..1378d79b4 100644 --- a/packages/java/docs/models/components/FieldJson.md +++ b/packages/java/docs/models/components/FieldJson.md @@ -1,17 +1,17 @@ # FieldJson -A question field. +A survey field. ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | Text field ID. | | -| `text` | *Optional\* | :heavy_minus_sign: | Text value of the field. Displays to users in the UI. | Are you spending any significant time offsite and need transportation? | -| `shortText` | *Optional\* | :heavy_minus_sign: | Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. | Needs offsite transportation? | -| `type` | [Optional\](../../models/components/FieldTypeJson.md) | :heavy_minus_sign: | Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: Data is one or more options from a list. `Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is free-text input. | | -| `choices` | List\<[ChoiceJson](../../models/components/ChoiceJson.md)> | :heavy_minus_sign: | List of choices for this field. | | -| `notApplicableAnswer` | [Optional\](../../models/components/AdditionalChoiceJson2.md) | :heavy_minus_sign: | Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. | | -| `otherAnswer` | [Optional\](../../models/components/AdditionalChoiceJson2.md) | :heavy_minus_sign: | Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. | | -| `required` | *Optional\* | :heavy_minus_sign: | True indicates this is a mandatory question field. | true | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | Text field ID. | | +| `text` | *Optional\* | :heavy_minus_sign: | text Value of the Field | Field value | +| `shortText` | *Optional\* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | +| `type` | [Optional\](../../models/components/FieldTypeJson.md) | :heavy_minus_sign: | Field Type | SingleChoice | +| `choices` | List\<[ChoiceJson1](../../models/components/ChoiceJson1.md)> | :heavy_minus_sign: | List of choices for this field. | | +| `notApplicableAnswer` | [Optional\](../../models/components/AdditionalChoiceJson.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | +| `otherAnswer` | [Optional\](../../models/components/AdditionalChoiceJson.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | +| `required` | *Optional\* | :heavy_minus_sign: | Is this a mandatory field | true | \ No newline at end of file diff --git a/packages/java/docs/models/components/FieldJson2.md b/packages/java/docs/models/components/FieldJson2.md deleted file mode 100644 index da56d1da3..000000000 --- a/packages/java/docs/models/components/FieldJson2.md +++ /dev/null @@ -1,17 +0,0 @@ -# FieldJson2 - -A survey field. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `id` | *Optional\* | :heavy_minus_sign: | Text field ID. | | -| `text` | *Optional\* | :heavy_minus_sign: | text Value of the Field | Field value | -| `shortText` | *Optional\* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | -| `type` | [Optional\](../../models/components/FieldTypeJson2.md) | :heavy_minus_sign: | Field Type | SingleChoice | -| `choices` | List\<[ChoiceJson2](../../models/components/ChoiceJson2.md)> | :heavy_minus_sign: | List of choices for this field. | | -| `notApplicableAnswer` | [Optional\](../../models/components/AdditionalChoiceJson1.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | -| `otherAnswer` | [Optional\](../../models/components/AdditionalChoiceJson1.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | -| `required` | *Optional\* | :heavy_minus_sign: | Is this a mandatory field | true | \ No newline at end of file diff --git a/packages/java/docs/models/components/FieldType.md b/packages/java/docs/models/components/FieldType.md new file mode 100644 index 000000000..db7bb2224 --- /dev/null +++ b/packages/java/docs/models/components/FieldType.md @@ -0,0 +1,22 @@ +# FieldType + +Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: Data is one or more options from a list. `Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is free-text input. + +## Example Usage + +```java +import com.cvent.models.components.FieldType; + +FieldType value = FieldType.DATE_TIME; +``` + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `DATE_TIME` | DateTime | +| `MULTI_CHOICE` | MultiChoice | +| `NUMBER` | Number | +| `SINGLE_CHOICE` | SingleChoice | +| `TEXT` | Text | \ No newline at end of file diff --git a/packages/java/docs/models/components/FieldTypeJson.md b/packages/java/docs/models/components/FieldTypeJson.md index e60f4bf3c..5deda1cdc 100644 --- a/packages/java/docs/models/components/FieldTypeJson.md +++ b/packages/java/docs/models/components/FieldTypeJson.md @@ -1,13 +1,13 @@ # FieldTypeJson -Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: Data is one or more options from a list. `Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is free-text input. +Field Type ## Example Usage ```java import com.cvent.models.components.FieldTypeJson; -FieldTypeJson value = FieldTypeJson.DATE_TIME; +FieldTypeJson value = FieldTypeJson.SINGLE_CHOICE; ``` @@ -15,8 +15,8 @@ FieldTypeJson value = FieldTypeJson.DATE_TIME; | Name | Value | | --------------- | --------------- | -| `DATE_TIME` | DateTime | +| `SINGLE_CHOICE` | SingleChoice | | `MULTI_CHOICE` | MultiChoice | +| `DATE_TIME` | DateTime | | `NUMBER` | Number | -| `SINGLE_CHOICE` | SingleChoice | | `TEXT` | Text | \ No newline at end of file diff --git a/packages/java/docs/models/components/FieldTypeJson2.md b/packages/java/docs/models/components/FieldTypeJson2.md deleted file mode 100644 index dce9a7482..000000000 --- a/packages/java/docs/models/components/FieldTypeJson2.md +++ /dev/null @@ -1,22 +0,0 @@ -# FieldTypeJson2 - -Field Type - -## Example Usage - -```java -import com.cvent.models.components.FieldTypeJson2; - -FieldTypeJson2 value = FieldTypeJson2.SINGLE_CHOICE; -``` - - -## Values - -| Name | Value | -| --------------- | --------------- | -| `SINGLE_CHOICE` | SingleChoice | -| `MULTI_CHOICE` | MultiChoice | -| `DATE_TIME` | DateTime | -| `NUMBER` | Number | -| `TEXT` | Text | \ No newline at end of file diff --git a/packages/java/docs/models/components/FileInput.md b/packages/java/docs/models/components/FileInput.md index d85a3c781..bcba3c1c5 100644 --- a/packages/java/docs/models/components/FileInput.md +++ b/packages/java/docs/models/components/FileInput.md @@ -7,7 +7,7 @@ Content of exhibitor file. | Field | Type | Required | Description | Example | | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | -| `event` | [Event21](../../models/components/Event21.md) | :heavy_check_mark: | The Associated Event. | | +| `event` | [Event3](../../models/components/Event3.md) | :heavy_check_mark: | The Associated Event. | | | `exhibitor` | [Exhibitor](../../models/components/Exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | | `displayName` | *String* | :heavy_check_mark: | Display name of the file. | Marketing Page | | `hidden` | *Optional\* | :heavy_minus_sign: | True indicates the file is hidden from attendees. | | diff --git a/packages/java/docs/models/components/FormatType.md b/packages/java/docs/models/components/FormatType.md new file mode 100644 index 000000000..746bce5a8 --- /dev/null +++ b/packages/java/docs/models/components/FormatType.md @@ -0,0 +1,19 @@ +# FormatType + +Proposal format. + +## Example Usage + +```java +import com.cvent.models.components.FormatType; + +FormatType value = FormatType.GBTA2013; +``` + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `GBTA2013` | gbta2013 | +| `UNIVERSAL` | universal | \ No newline at end of file diff --git a/packages/java/docs/models/components/FormatTypeJson.md b/packages/java/docs/models/components/FormatTypeJson.md deleted file mode 100644 index f36b70d2a..000000000 --- a/packages/java/docs/models/components/FormatTypeJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# FormatTypeJson - -Proposal format. - -## Example Usage - -```java -import com.cvent.models.components.FormatTypeJson; - -FormatTypeJson value = FormatTypeJson.GBTA2013; -``` - - -## Values - -| Name | Value | -| ----------- | ----------- | -| `GBTA2013` | gbta2013 | -| `UNIVERSAL` | universal | \ No newline at end of file diff --git a/packages/java/docs/models/components/GenderJson.md b/packages/java/docs/models/components/GenderJson.md deleted file mode 100644 index 7624830f2..000000000 --- a/packages/java/docs/models/components/GenderJson.md +++ /dev/null @@ -1,21 +0,0 @@ -# GenderJson - -The gender of the contact. - -## Example Usage - -```java -import com.cvent.models.components.GenderJson; - -GenderJson value = GenderJson.MALE; -``` - - -## Values - -| Name | Value | -| ---------------- | ---------------- | -| `MALE` | Male | -| `FEMALE` | Female | -| `NON_BINARY` | Non-binary | -| `RATHER_NOT_SAY` | Rather not say | \ No newline at end of file diff --git a/packages/java/docs/models/components/GuestJson.md b/packages/java/docs/models/components/GuestJson.md index defd7d32a..b55dffa83 100644 --- a/packages/java/docs/models/components/GuestJson.md +++ b/packages/java/docs/models/components/GuestJson.md @@ -19,5 +19,5 @@ Guest details. | `email` | *Optional\* | :heavy_minus_sign: | Email address of the guest. | guest@cvent.com | | `homePhone` | *Optional\* | :heavy_minus_sign: | Home phone number of the guest. Required if the hotel/event requires address in reservations. | (231)-213-1222 | | `workPhone` | *Optional\* | :heavy_minus_sign: | Work phone number of the guest. | (231)-213-1222 | -| `homeAddress` | [Optional\](../../models/components/AddressJson2.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | +| `homeAddress` | [Optional\](../../models/components/AddressJson.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | | `paymentInfo` | [Optional\](../../models/components/PaymentInfoJson.md) | :heavy_minus_sign: | Payment information. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/GuestRoomOccupancy.md b/packages/java/docs/models/components/GuestRoomOccupancy.md new file mode 100644 index 000000000..fb332c714 --- /dev/null +++ b/packages/java/docs/models/components/GuestRoomOccupancy.md @@ -0,0 +1,21 @@ +# GuestRoomOccupancy + +Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. `TRIPLE`: Three occupants. `QUAD`: Four occupants. + +## Example Usage + +```java +import com.cvent.models.components.GuestRoomOccupancy; + +GuestRoomOccupancy value = GuestRoomOccupancy.SINGLE; +``` + + +## Values + +| Name | Value | +| -------- | -------- | +| `SINGLE` | SINGLE | +| `DOUBLE` | DOUBLE | +| `TRIPLE` | TRIPLE | +| `QUAD` | QUAD | \ No newline at end of file diff --git a/packages/java/docs/models/components/GuestRoomOccupancyJson.md b/packages/java/docs/models/components/GuestRoomOccupancyJson.md deleted file mode 100644 index 590ce8d62..000000000 --- a/packages/java/docs/models/components/GuestRoomOccupancyJson.md +++ /dev/null @@ -1,21 +0,0 @@ -# GuestRoomOccupancyJson - -Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. `TRIPLE`: Three occupants. `QUAD`: Four occupants. - -## Example Usage - -```java -import com.cvent.models.components.GuestRoomOccupancyJson; - -GuestRoomOccupancyJson value = GuestRoomOccupancyJson.SINGLE; -``` - - -## Values - -| Name | Value | -| -------- | -------- | -| `SINGLE` | SINGLE | -| `DOUBLE` | DOUBLE | -| `TRIPLE` | TRIPLE | -| `QUAD` | QUAD | \ No newline at end of file diff --git a/packages/java/docs/models/components/GuestRoomOccupancyPerRoomType.md b/packages/java/docs/models/components/GuestRoomOccupancyPerRoomType.md new file mode 100644 index 000000000..0090b4f22 --- /dev/null +++ b/packages/java/docs/models/components/GuestRoomOccupancyPerRoomType.md @@ -0,0 +1,11 @@ +# GuestRoomOccupancyPerRoomType + +Room occupancy for a room type. + + +## Fields + +| 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 diff --git a/packages/java/docs/models/components/GuestRoomOccupancyPerRoomTypeJson.md b/packages/java/docs/models/components/GuestRoomOccupancyPerRoomTypeJson.md deleted file mode 100644 index ce24e4f68..000000000 --- a/packages/java/docs/models/components/GuestRoomOccupancyPerRoomTypeJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# GuestRoomOccupancyPerRoomTypeJson - -Room occupancy for a room type. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `occupancy` | [Optional\](../../models/components/GuestRoomOccupancyJson.md) | :heavy_minus_sign: | Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. `TRIPLE`: Three occupants. `QUAD`: Four occupants. | SINGLE | -| `type` | [Optional\](../../models/components/GuestRoomTypeJson.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 diff --git a/packages/java/docs/models/components/GuestRoomType.md b/packages/java/docs/models/components/GuestRoomType.md new file mode 100644 index 000000000..979776a29 --- /dev/null +++ b/packages/java/docs/models/components/GuestRoomType.md @@ -0,0 +1,22 @@ +# GuestRoomType + +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. + +## Example Usage + +```java +import com.cvent.models.components.GuestRoomType; + +GuestRoomType value = GuestRoomType.ANY; +``` + + +## Values + +| Name | Value | +| -------- | -------- | +| `ANY` | ANY | +| `SINGLE` | SINGLE | +| `DOUBLE` | DOUBLE | +| `SUITE` | SUITE | +| `STAFF` | STAFF | \ No newline at end of file diff --git a/packages/java/docs/models/components/GuestRoomTypeJson.md b/packages/java/docs/models/components/GuestRoomTypeJson.md deleted file mode 100644 index 225554f75..000000000 --- a/packages/java/docs/models/components/GuestRoomTypeJson.md +++ /dev/null @@ -1,22 +0,0 @@ -# GuestRoomTypeJson - -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. - -## Example Usage - -```java -import com.cvent.models.components.GuestRoomTypeJson; - -GuestRoomTypeJson value = GuestRoomTypeJson.ANY; -``` - - -## Values - -| Name | Value | -| -------- | -------- | -| `ANY` | ANY | -| `SINGLE` | SINGLE | -| `DOUBLE` | DOUBLE | -| `SUITE` | SUITE | -| `STAFF` | STAFF | \ No newline at end of file diff --git a/packages/java/docs/models/components/HlsInputWithClips.md b/packages/java/docs/models/components/HlsInputWithClips.md new file mode 100644 index 000000000..ddb3c4fbb --- /dev/null +++ b/packages/java/docs/models/components/HlsInputWithClips.md @@ -0,0 +1,11 @@ +# HlsInputWithClips + +HTTP Live Streaming input and clips. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `hlsInput` | *Optional\* | :heavy_minus_sign: | Location for HTTP Live Streaming (HLS) recording. | s3://bucket/path/to/recording/video.m3u8 | +| `clips` | List\<[VideoClip](../../models/components/VideoClip.md)> | :heavy_minus_sign: | Clips for the HLS recording. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/HlsInputWithClipsJson.md b/packages/java/docs/models/components/HlsInputWithClipsJson.md deleted file mode 100644 index 10cf047a5..000000000 --- a/packages/java/docs/models/components/HlsInputWithClipsJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# HlsInputWithClipsJson - -HTTP Live Streaming input and clips. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `hlsInput` | *Optional\* | :heavy_minus_sign: | Location for HTTP Live Streaming (HLS) recording. | s3://bucket/path/to/recording/video.m3u8 | -| `clips` | List\<[VideoClipJson](../../models/components/VideoClipJson.md)> | :heavy_minus_sign: | Clips for the HLS recording. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/HotelRequest.md b/packages/java/docs/models/components/HotelRequest.md index 10c36fe09..0fdd8ebf9 100644 --- a/packages/java/docs/models/components/HotelRequest.md +++ b/packages/java/docs/models/components/HotelRequest.md @@ -44,6 +44,6 @@ Representation of a hotel request. | `latestShoulderDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time (in UTC) when the requester is requesting for an latest shoulder date. | 2023-05-19T00:00:00Z | | `roomTaxBillingExceptions` | *Optional\* | :heavy_minus_sign: | Specifies who the hotel will charge for the room rate's tax. | exceptions noted here. | | `incidentalBillingExceptions` | *Optional\* | :heavy_minus_sign: | Specifies who the hotel will charge incidental (extra) room expenses, like room service or long-distance calling. | exceptions noted here. | -| `hotelAddress` | [Optional\](../../models/components/Address3.md) | :heavy_minus_sign: | Address of the hotel. | | +| `hotelAddress` | [Optional\](../../models/components/Address5.md) | :heavy_minus_sign: | Address of the hotel. | | | `hotelRoomRates` | List\<[HotelRoomRate](../../models/components/HotelRoomRate.md)> | :heavy_minus_sign: | Collection of hotel room rates the requester has taken. | | | `hotelRequestAnswers` | List\<[AttendeeAnswer1](../../models/components/AttendeeAnswer1.md)> | :heavy_minus_sign: | Answer provided by requester to the hotel request related question. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/HousingEventHotel.md b/packages/java/docs/models/components/HousingEventHotel.md index 6e5eb0509..fa866bd55 100644 --- a/packages/java/docs/models/components/HousingEventHotel.md +++ b/packages/java/docs/models/components/HousingEventHotel.md @@ -16,4 +16,4 @@ Hotel details including name, description, policies and IDs. | `proximity` | [Optional\](../../models/components/ProximityJson.md) | :heavy_minus_sign: | Proximity of the event venue to the hotel. | | | `amenities` | List\<*String*> | :heavy_minus_sign: | List of available amenities at the hotel. | | | `rating` | [Optional\](../../models/components/HotelRatingJson.md) | :heavy_minus_sign: | The hotel's rating, used to classify the hotel's quality. | 3 Star | -| `address` | [Optional\](../../models/components/AddressJson2.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | \ No newline at end of file +| `address` | [Optional\](../../models/components/AddressJson.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/HousingEventSummaryList.md b/packages/java/docs/models/components/HousingEventSummaryList.md index 7092921ff..060188428 100644 --- a/packages/java/docs/models/components/HousingEventSummaryList.md +++ b/packages/java/docs/models/components/HousingEventSummaryList.md @@ -8,4 +8,4 @@ List of housing events with key information, providing a summarized view of each | Field | Type | Required | Description | | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | | `paging` | [PagingJson](../../models/components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | List\<[ZeroAllOf9](../../models/components/ZeroAllOf9.md)> | :heavy_check_mark: | List of housing events with key information, providing a summarized view of each event. | \ No newline at end of file +| `data` | List\<[ZeroAllOf8](../../models/components/ZeroAllOf8.md)> | :heavy_check_mark: | List of housing events with key information, providing a summarized view of each event. | \ No newline at end of file diff --git a/packages/java/docs/models/components/IdJson.md b/packages/java/docs/models/components/IdJson.md deleted file mode 100644 index 1c1daccbb..000000000 --- a/packages/java/docs/models/components/IdJson.md +++ /dev/null @@ -1,10 +0,0 @@ -# IdJson - -An entity which only has an id. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `id` | *String* | :heavy_check_mark: | The entity's id value. | abc-123 | \ No newline at end of file diff --git a/packages/java/docs/models/components/IdOnlyEntity.md b/packages/java/docs/models/components/IdOnlyEntity.md new file mode 100644 index 000000000..b164ac3d6 --- /dev/null +++ b/packages/java/docs/models/components/IdOnlyEntity.md @@ -0,0 +1,10 @@ +# IdOnlyEntity + +An entity which only has an id. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `id` | *String* | :heavy_check_mark: | The entity's id value. | abc-123 | \ No newline at end of file diff --git a/packages/java/docs/models/components/Industry1.md b/packages/java/docs/models/components/Industry1.md new file mode 100644 index 000000000..f1a0f9fda --- /dev/null +++ b/packages/java/docs/models/components/Industry1.md @@ -0,0 +1,36 @@ +# Industry1 + +Industry + +## Example Usage + +```java +import com.cvent.models.components.Industry1; + +Industry1 value = Industry1.AGRICULTURE_AND_MINING; +``` + + +## Values + +| Name | Value | +| ---------------------------------------- | ---------------------------------------- | +| `AGRICULTURE_AND_MINING` | AGRICULTURE_AND_MINING | +| `BUSINESS_SERVICES` | BUSINESS_SERVICES | +| `COMPUTERS_AND_ELECTRONICS` | COMPUTERS_AND_ELECTRONICS | +| `CONSUMER_SERVICES` | CONSUMER_SERVICES | +| `EDUCATION` | EDUCATION | +| `ENERGY_AND_UTILITIES` | ENERGY_AND_UTILITIES | +| `FINANCIAL_SERVICES` | FINANCIAL_SERVICES | +| `GOVERNMENT` | GOVERNMENT | +| `HEALTHCARE_PHARMACEUTICALS_AND_BIOTECH` | HEALTHCARE_PHARMACEUTICALS_AND_BIOTECH | +| `MANUFACTURING` | MANUFACTURING | +| `MEDIA_AND_ENTERTAINMENT` | MEDIA_AND_ENTERTAINMENT | +| `OTHER` | OTHER | +| `REAL_ESTATE_AND_CONSTRUCTION` | REAL_ESTATE_AND_CONSTRUCTION | +| `RETAIL` | RETAIL | +| `SOFTWARE_AND_INTERNET` | SOFTWARE_AND_INTERNET | +| `TELECOMMUNICATIONS` | TELECOMMUNICATIONS | +| `TRANSPORTATION_AND_STORAGE` | TRANSPORTATION_AND_STORAGE | +| `TRAVEL_RECREATION_AND_LEISURE` | TRAVEL_RECREATION_AND_LEISURE | +| `WHOLESALE_AND_DISTRIBUTION` | WHOLESALE_AND_DISTRIBUTION | \ No newline at end of file diff --git a/packages/java/docs/models/components/IndustryJson0.md b/packages/java/docs/models/components/IndustryJson0.md deleted file mode 100644 index 14c8650df..000000000 --- a/packages/java/docs/models/components/IndustryJson0.md +++ /dev/null @@ -1,36 +0,0 @@ -# IndustryJson0 - -Industry - -## Example Usage - -```java -import com.cvent.models.components.IndustryJson0; - -IndustryJson0 value = IndustryJson0.AGRICULTURE_AND_MINING; -``` - - -## Values - -| Name | Value | -| ---------------------------------------- | ---------------------------------------- | -| `AGRICULTURE_AND_MINING` | AGRICULTURE_AND_MINING | -| `BUSINESS_SERVICES` | BUSINESS_SERVICES | -| `COMPUTERS_AND_ELECTRONICS` | COMPUTERS_AND_ELECTRONICS | -| `CONSUMER_SERVICES` | CONSUMER_SERVICES | -| `EDUCATION` | EDUCATION | -| `ENERGY_AND_UTILITIES` | ENERGY_AND_UTILITIES | -| `FINANCIAL_SERVICES` | FINANCIAL_SERVICES | -| `GOVERNMENT` | GOVERNMENT | -| `HEALTHCARE_PHARMACEUTICALS_AND_BIOTECH` | HEALTHCARE_PHARMACEUTICALS_AND_BIOTECH | -| `MANUFACTURING` | MANUFACTURING | -| `MEDIA_AND_ENTERTAINMENT` | MEDIA_AND_ENTERTAINMENT | -| `OTHER` | OTHER | -| `REAL_ESTATE_AND_CONSTRUCTION` | REAL_ESTATE_AND_CONSTRUCTION | -| `RETAIL` | RETAIL | -| `SOFTWARE_AND_INTERNET` | SOFTWARE_AND_INTERNET | -| `TELECOMMUNICATIONS` | TELECOMMUNICATIONS | -| `TRANSPORTATION_AND_STORAGE` | TRANSPORTATION_AND_STORAGE | -| `TRAVEL_RECREATION_AND_LEISURE` | TRAVEL_RECREATION_AND_LEISURE | -| `WHOLESALE_AND_DISTRIBUTION` | WHOLESALE_AND_DISTRIBUTION | \ No newline at end of file diff --git a/packages/java/docs/models/components/InvitationListPaginatedResponse.md b/packages/java/docs/models/components/InvitationListPaginatedResponse.md index 216996ce0..812dc4c6d 100644 --- a/packages/java/docs/models/components/InvitationListPaginatedResponse.md +++ b/packages/java/docs/models/components/InvitationListPaginatedResponse.md @@ -7,5 +7,5 @@ Return a response object containing paginated data for the invitation list(s). | Field | Type | Required | Description | | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `paging` | [PagingJson19](../../models/components/PagingJson19.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `paging` | [PagingJson2](../../models/components/PagingJson2.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | | `data` | List\<[InvitationListJson](../../models/components/InvitationListJson.md)> | :heavy_check_mark: | Collection of invitation list objects. | \ No newline at end of file diff --git a/packages/java/docs/models/components/Lead.md b/packages/java/docs/models/components/Lead.md index 7f074e35c..6278d57eb 100644 --- a/packages/java/docs/models/components/Lead.md +++ b/packages/java/docs/models/components/Lead.md @@ -11,9 +11,9 @@ A JSON Schema file for Lead. | `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 | -| `event` | [Optional\](../../models/components/Event21.md) | :heavy_minus_sign: | The Associated Event. | | +| `event` | [Optional\](../../models/components/Event3.md) | :heavy_minus_sign: | The Associated Event. | | | `exhibitor` | [Optional\](../../models/components/Exhibitor.md) | :heavy_minus_sign: | The Associated Exhibitor. | | -| `attendee` | [Optional\](../../models/components/Attendee12.md) | :heavy_minus_sign: | A JSON schema representing the Attendee object | | +| `attendee` | [Optional\](../../models/components/Attendee13.md) | :heavy_minus_sign: | A JSON schema representing the Attendee object | | | `boothStaff` | [Optional\](../../models/components/BoothStaff.md) | :heavy_minus_sign: | A JSON schema representing Booth Staff entity | | | `device` | [Optional\](../../models/components/Device.md) | :heavy_minus_sign: | A JSON object representing an electronic device used to capture leads. | | | `appointment` | [Optional\](../../models/components/Appointment1.md) | :heavy_minus_sign: | A JSON schema representing the structure of an appointment object. | | @@ -23,9 +23,9 @@ A JSON Schema file for Lead. | `email` | *Optional\* | :heavy_minus_sign: | The email address of the lead | h.potterfield@test.com | | `company` | *Optional\* | :heavy_minus_sign: | The company/organization the lead belongs to. | Cvent Inc | | `mobilePhone` | *Optional\* | :heavy_minus_sign: | Mobile phone number of the lead | 555-555-5555 | -| `homeAddress` | [Optional\](../../models/components/Address12.md) | :heavy_minus_sign: | Schema for address information | | +| `homeAddress` | [Optional\](../../models/components/Address11.md) | :heavy_minus_sign: | Schema for address information | | | `homePhone` | *Optional\* | :heavy_minus_sign: | Home phone number of the lead | 555-555-5555 | -| `workAddress` | [Optional\](../../models/components/Address12.md) | :heavy_minus_sign: | Schema for address information | | +| `workAddress` | [Optional\](../../models/components/Address11.md) | :heavy_minus_sign: | Schema for address information | | | `workPhone` | *Optional\* | :heavy_minus_sign: | Work Phone number of the lead | 555-555-5555 | | `type` | [Optional\](../../models/components/LeadType.md) | :heavy_minus_sign: | The type of lead. | | | `application` | [Optional\](../../models/components/Application.md) | :heavy_minus_sign: | The application used to capture lead. | | diff --git a/packages/java/docs/models/components/LeadQualificationAnswers.md b/packages/java/docs/models/components/LeadQualificationAnswers.md index 175ba77b0..a60bf4bb0 100644 --- a/packages/java/docs/models/components/LeadQualificationAnswers.md +++ b/packages/java/docs/models/components/LeadQualificationAnswers.md @@ -13,7 +13,7 @@ This JSON schema file represents lead qualification answers | `lastModifiedBy` | *Optional\* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | | `id` | *Optional\* | :heavy_minus_sign: | Lead Qualification Answer id | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `question` | [Optional\](../../models/components/Uuid.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | -| `event` | [Optional\](../../models/components/Event21.md) | :heavy_minus_sign: | The Associated Event. | | +| `event` | [Optional\](../../models/components/Event3.md) | :heavy_minus_sign: | The Associated Event. | | | `exhibitor` | [Optional\](../../models/components/Exhibitor.md) | :heavy_minus_sign: | The Associated Exhibitor. | | | `lead` | [Optional\](../../models/components/Lead2.md) | :heavy_minus_sign: | JSON schema for the Lead object | | | `answers` | List\<[Answer1](../../models/components/Answer1.md)> | :heavy_minus_sign: | List of answers | | \ No newline at end of file diff --git a/packages/java/docs/models/components/LeadQualificationQuestion.md b/packages/java/docs/models/components/LeadQualificationQuestion.md index 3c874c79c..324df74e1 100644 --- a/packages/java/docs/models/components/LeadQualificationQuestion.md +++ b/packages/java/docs/models/components/LeadQualificationQuestion.md @@ -12,12 +12,12 @@ A JSON schema representing a Lead Qualification Question model | `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 | | `id` | *Optional\* | :heavy_minus_sign: | Lead Qualification Question id | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `event` | [Optional\](../../models/components/Event21.md) | :heavy_minus_sign: | The Associated Event. | | +| `event` | [Optional\](../../models/components/Event3.md) | :heavy_minus_sign: | The Associated Event. | | | `exhibitor` | [Optional\](../../models/components/Exhibitor.md) | :heavy_minus_sign: | The Associated Exhibitor. | | | `type` | [Optional\](../../models/components/LeadQualificationQuestionType.md) | :heavy_minus_sign: | Type of question | | | `code` | *Optional\* | :heavy_minus_sign: | question code | cult | -| `choices` | List\<[Choice](../../models/components/Choice.md)> | :heavy_minus_sign: | List of available choices for the question | | -| `notApplicableAnswer` | [Optional\](../../models/components/AdditionalChoice.md) | :heavy_minus_sign: | Contains text of additional choice | | -| `otherAnswers` | [Optional\](../../models/components/AdditionalChoice.md) | :heavy_minus_sign: | Contains text of additional choice | | +| `choices` | List\<[Choice1](../../models/components/Choice1.md)> | :heavy_minus_sign: | List of available choices for the question | | +| `notApplicableAnswer` | [Optional\](../../models/components/AdditionalChoice1.md) | :heavy_minus_sign: | Contains text of additional choice | | +| `otherAnswers` | [Optional\](../../models/components/AdditionalChoice1.md) | :heavy_minus_sign: | Contains text of additional choice | | | `required` | *Optional\* | :heavy_minus_sign: | A boolean indicating whether the question is mandatory or not | true | | `text` | *Optional\* | :heavy_minus_sign: | text of the question | Is there a business need? | \ No newline at end of file diff --git a/packages/java/docs/models/components/LeadQualifiedQuestionResponseJson.md b/packages/java/docs/models/components/LeadQualifiedQuestionResponseJson.md index 7ede32e63..061fed26d 100644 --- a/packages/java/docs/models/components/LeadQualifiedQuestionResponseJson.md +++ b/packages/java/docs/models/components/LeadQualifiedQuestionResponseJson.md @@ -7,5 +7,5 @@ A Question response. | Field | Type | Required | Description | | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `question` | [Optional\](../../models/components/QuestionJson3.md) | :heavy_minus_sign: | The question that was answered. | +| `question` | [Optional\](../../models/components/QuestionJson2.md) | :heavy_minus_sign: | The question that was answered. | | `answers` | List\<[LeadQualifiedAnswerJson](../../models/components/LeadQualifiedAnswerJson.md)> | :heavy_minus_sign: | List of answers. | \ No newline at end of file diff --git a/packages/java/docs/models/components/LeadSource.md b/packages/java/docs/models/components/LeadSource.md index 62d719fad..9a973ad7f 100644 --- a/packages/java/docs/models/components/LeadSource.md +++ b/packages/java/docs/models/components/LeadSource.md @@ -8,4 +8,4 @@ Lead source details. | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `id` | *Optional\* | :heavy_minus_sign: | Unique identifier for source generating the RFP. Details about this lead source can be fetched using lead source API. | 50dc08af-24a9-4d01-84be-3d43133dc945 | -| `section` | [Optional\](../../models/components/LeadSourceSectionJson.md) | :heavy_minus_sign: | Represents lead source section details, which is a sub area of source generating the RFP. | | \ No newline at end of file +| `section` | [Optional\](../../models/components/LeadSourceSection.md) | :heavy_minus_sign: | Represents lead source section details, which is a sub area of source generating the RFP. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/LeadSourceJson.md b/packages/java/docs/models/components/LeadSourceJson.md deleted file mode 100644 index b12241b98..000000000 --- a/packages/java/docs/models/components/LeadSourceJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# LeadSourceJson - -Lead source details. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | Unique identifier for source generating the RFP. Details about this lead source can be fetched using lead source API. | 50dc08af-24a9-4d01-84be-3d43133dc945 | -| `section` | [Optional\](../../models/components/LeadSourceSectionJson.md) | :heavy_minus_sign: | Represents lead source section details, which is a sub area of source generating the RFP. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/LeadSourceSection.md b/packages/java/docs/models/components/LeadSourceSection.md new file mode 100644 index 000000000..deb3fbf32 --- /dev/null +++ b/packages/java/docs/models/components/LeadSourceSection.md @@ -0,0 +1,10 @@ +# LeadSourceSection + +Represents lead source section details, which is a sub area of source generating the RFP. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | Unique identifier for sub area of source generating the RFP. Details about this lead source section can be fetched using lead source section API. | 40dc08af-24a9-4d01-84be-3d43133dc945 | \ No newline at end of file diff --git a/packages/java/docs/models/components/LeadSourceSectionJson.md b/packages/java/docs/models/components/LeadSourceSectionJson.md deleted file mode 100644 index 74f2a3ced..000000000 --- a/packages/java/docs/models/components/LeadSourceSectionJson.md +++ /dev/null @@ -1,10 +0,0 @@ -# LeadSourceSectionJson - -Represents lead source section details, which is a sub area of source generating the RFP. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | Unique identifier for sub area of source generating the RFP. Details about this lead source section can be fetched using lead source section API. | 40dc08af-24a9-4d01-84be-3d43133dc945 | \ No newline at end of file diff --git a/packages/java/docs/models/components/ManagementLevelType1.md b/packages/java/docs/models/components/ManagementLevelType1.md new file mode 100644 index 000000000..a6c789cc7 --- /dev/null +++ b/packages/java/docs/models/components/ManagementLevelType1.md @@ -0,0 +1,21 @@ +# ManagementLevelType1 + +The management level of the travel account. Defined by the supply-side. + +## Example Usage + +```java +import com.cvent.models.components.ManagementLevelType1; + +ManagementLevelType1 value = ManagementLevelType1.GLOBAL; +``` + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `GLOBAL` | global | +| `NATIONAL` | national | +| `REGIONAL` | regional | +| `LOCAL` | local | \ No newline at end of file diff --git a/packages/java/docs/models/components/ManagementLevelTypeJson1.md b/packages/java/docs/models/components/ManagementLevelTypeJson1.md deleted file mode 100644 index b11e93f8b..000000000 --- a/packages/java/docs/models/components/ManagementLevelTypeJson1.md +++ /dev/null @@ -1,21 +0,0 @@ -# ManagementLevelTypeJson1 - -The management level of the travel account. Defined by the supply-side. - -## Example Usage - -```java -import com.cvent.models.components.ManagementLevelTypeJson1; - -ManagementLevelTypeJson1 value = ManagementLevelTypeJson1.GLOBAL; -``` - - -## Values - -| Name | Value | -| ---------- | ---------- | -| `GLOBAL` | global | -| `NATIONAL` | national | -| `REGIONAL` | regional | -| `LOCAL` | local | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeasurementUnit.md b/packages/java/docs/models/components/MeasurementUnit.md new file mode 100644 index 000000000..a7dfdc070 --- /dev/null +++ b/packages/java/docs/models/components/MeasurementUnit.md @@ -0,0 +1,23 @@ +# MeasurementUnit + +Unit of measurement for area or space. + +Values: +- `SQUARE_FEET` — Square Feet +- `SQUARE_METERS` — Square Meters + +## Example Usage + +```java +import com.cvent.models.components.MeasurementUnit; + +MeasurementUnit value = MeasurementUnit.SQUARE_FEET; +``` + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `SQUARE_FEET` | SQUARE_FEET | +| `SQUARE_METERS` | SQUARE_METERS | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeasurementUnitJson0.md b/packages/java/docs/models/components/MeasurementUnitJson0.md deleted file mode 100644 index 84ce83d86..000000000 --- a/packages/java/docs/models/components/MeasurementUnitJson0.md +++ /dev/null @@ -1,19 +0,0 @@ -# MeasurementUnitJson0 - -Measurement unit. - -## Example Usage - -```java -import com.cvent.models.components.MeasurementUnitJson0; - -MeasurementUnitJson0 value = MeasurementUnitJson0.SQUARE_FEET; -``` - - -## Values - -| Name | Value | -| --------------- | --------------- | -| `SQUARE_FEET` | SQUARE_FEET | -| `SQUARE_METERS` | SQUARE_METERS | \ No newline at end of file diff --git a/packages/java/docs/models/components/MeetingRequestQuestionJson.md b/packages/java/docs/models/components/MeetingRequestQuestionJson.md index f65fcc409..e521f5f4c 100644 --- a/packages/java/docs/models/components/MeetingRequestQuestionJson.md +++ b/packages/java/docs/models/components/MeetingRequestQuestionJson.md @@ -9,7 +9,7 @@ A question and its answer for a meeting request. Some questions have fixed, well | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `id` | *String* | :heavy_check_mark: | The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts:
* Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1`
* Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064`
* Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7`
* Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce`
* Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3`
* Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` | f1ea56cd-6860-4f1a-baf7-973118384384 | | `name` | *Optional\* | :heavy_minus_sign: | The display text of the question. | What is your favorite color? | -| `type` | [Optional\](../../models/components/QuestionTypeJson1.md) | :heavy_minus_sign: | Denotes the type of data collected by a question. | SingleSelect | +| `type` | [Optional\](../../models/components/QuestionTypeJson.md) | :heavy_minus_sign: | Denotes the type of data collected by a question. | SingleSelect | | `value` | List\<*String*> | :heavy_check_mark: | An array of non-null answers to the question. The format of each item depends on the question `type`.

**Standard questions:** Each item is a plain string (for example, `"Green"`).

**Country/Region questions (`type: Country`):** Each item is either a country name (for example, `"Canada"`) or a country code (for example, `"CA"`). Clients should provide either country names or country codes, but not both formats in the same request. See the Country Codes reference for the list of supported country codes and corresponding country names.

**Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or `BudgetEstimates`):** Each item is a JSON-serialized string. See `compositeValue` for the same data in parsed form. | | | `answerType` | [Optional\](../../models/components/AnswerTypeJson.md) | :heavy_minus_sign: | Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are interpreted.

Set to **"Other"** when the question has the **"Other"** choice option enabled, indicating the answer in the **"secondaryValue"** field is a free-text response to that option.

Set to **"NA"** when the question has the **"N/A"** choice option enabled, to indicate an N/A type answer; in this case, `value` is omitted.

In all other cases, `answerType` is not expected to be set. | Other | | `secondaryValue` | *Optional\* | :heavy_minus_sign: | The secondary value of the question. This can be the other answer of choice questions which have `Other` as an answer type. | The other answer for the question. | diff --git a/packages/java/docs/models/components/MembershipJson.md b/packages/java/docs/models/components/MembershipJson.md deleted file mode 100644 index 8edab5fd5..000000000 --- a/packages/java/docs/models/components/MembershipJson.md +++ /dev/null @@ -1,16 +0,0 @@ -# MembershipJson - -Contact Membership information - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | -| `type` | *Optional\* | :heavy_minus_sign: | The type of membership the contact has signed up for. | Corporate Sponsor | -| `plan` | *Optional\* | :heavy_minus_sign: | Describes the specific plan the contact has signed up for. | Gold Level | -| `joined` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO-8601 formatted date the contact began their membership. | 2017-02-10 | -| `expiration` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO-8601 formatted date the contact's membership will expire. | 2020-02-09 | -| `lastRenewal` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO-8601 formatted date the contact last renewed their membership. | 2019-02-08 | -| `amountDue` | *Optional\* | :heavy_minus_sign: | The amount currently due for this membership. | 50.5 | -| `listInDirectory` | *Optional\* | :heavy_minus_sign: | Indicates if the member details should be included in the member directory. | false | \ No newline at end of file diff --git a/packages/java/docs/models/components/MessageRecipientResponse.md b/packages/java/docs/models/components/MessageRecipientResponse.md new file mode 100644 index 000000000..96c1b8eb9 --- /dev/null +++ b/packages/java/docs/models/components/MessageRecipientResponse.md @@ -0,0 +1,11 @@ +# MessageRecipientResponse + +Members of the channel who received a message. + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | +| `attendee` | [MessageRecipientResponseAttendee](../../models/components/MessageRecipientResponseAttendee.md) | :heavy_check_mark: | The attendee object | +| `channel` | [Channel](../../models/components/Channel.md) | :heavy_check_mark: | The channel object | \ No newline at end of file diff --git a/packages/java/docs/models/components/MessageRecipientResponseAttendee.md b/packages/java/docs/models/components/MessageRecipientResponseAttendee.md new file mode 100644 index 000000000..6a3354c15 --- /dev/null +++ b/packages/java/docs/models/components/MessageRecipientResponseAttendee.md @@ -0,0 +1,12 @@ +# MessageRecipientResponseAttendee + +The attendee object + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | Unique identifier for the attendee. | 0a459133-1f5e-43b2-8694-7da9541b3f58 | +| `active` | *boolean* | :heavy_check_mark: | True indicates the recipient is active in the channel. | false | +| `leftChannelAt` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | ISO 8601 formatted timestamp when the attendee left the channel, if applicable. | 2025-03-13T18:00:00.000Z | \ No newline at end of file diff --git a/packages/java/docs/models/components/MessageRecipientsPaginatedResponse.md b/packages/java/docs/models/components/MessageRecipientsPaginatedResponse.md index 522c42b5d..8a0b9e452 100644 --- a/packages/java/docs/models/components/MessageRecipientsPaginatedResponse.md +++ b/packages/java/docs/models/components/MessageRecipientsPaginatedResponse.md @@ -5,7 +5,7 @@ The response matching the filter criteria for the list of channel members. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `paging` | [PagingJson](../../models/components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | List\<[MessageRecipientsResponseJson](../../models/components/MessageRecipientsResponseJson.md)> | :heavy_check_mark: | Collection of channel members. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `paging` | [Paging](../../models/components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `data` | List\<[MessageRecipientResponse](../../models/components/MessageRecipientResponse.md)> | :heavy_check_mark: | Collection of channel members. | \ No newline at end of file diff --git a/packages/java/docs/models/components/MessageRecipientsResponseJson.md b/packages/java/docs/models/components/MessageRecipientsResponseJson.md deleted file mode 100644 index c63577bb8..000000000 --- a/packages/java/docs/models/components/MessageRecipientsResponseJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# MessageRecipientsResponseJson - -Members of the channel who received a message. - - -## Fields - -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | -| `attendee` | [MessageRecipientsResponseJsonAttendee](../../models/components/MessageRecipientsResponseJsonAttendee.md) | :heavy_check_mark: | The attendee object | -| `channel` | [Channel](../../models/components/Channel.md) | :heavy_check_mark: | The channel object | \ No newline at end of file diff --git a/packages/java/docs/models/components/MessageRecipientsResponseJsonAttendee.md b/packages/java/docs/models/components/MessageRecipientsResponseJsonAttendee.md deleted file mode 100644 index 325fde616..000000000 --- a/packages/java/docs/models/components/MessageRecipientsResponseJsonAttendee.md +++ /dev/null @@ -1,12 +0,0 @@ -# MessageRecipientsResponseJsonAttendee - -The attendee object - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `id` | *String* | :heavy_check_mark: | Unique identifier for the attendee. | 0a459133-1f5e-43b2-8694-7da9541b3f58 | -| `active` | *boolean* | :heavy_check_mark: | True indicates the recipient is active in the channel. | false | -| `leftChannelAt` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | ISO 8601 formatted timestamp when the attendee left the channel, if applicable. | 2025-03-13T18:00:00.000Z | \ No newline at end of file diff --git a/packages/java/docs/models/components/NumericAnswerFormat.md b/packages/java/docs/models/components/NumericAnswerFormat.md new file mode 100644 index 000000000..ec1e3d120 --- /dev/null +++ b/packages/java/docs/models/components/NumericAnswerFormat.md @@ -0,0 +1,20 @@ +# NumericAnswerFormat + +The answer format that a given number is stored in. + +## Example Usage + +```java +import com.cvent.models.components.NumericAnswerFormat; + +NumericAnswerFormat value = NumericAnswerFormat.CURRENCY; +``` + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `CURRENCY` | Currency | +| `DECIMAL` | Decimal | +| `NUMBER` | Number | \ No newline at end of file diff --git a/packages/java/docs/models/components/NumericAnswerFormatJson.md b/packages/java/docs/models/components/NumericAnswerFormatJson.md deleted file mode 100644 index 6b3d94c45..000000000 --- a/packages/java/docs/models/components/NumericAnswerFormatJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# NumericAnswerFormatJson - -The answer format that a given number is stored in. - -## Example Usage - -```java -import com.cvent.models.components.NumericAnswerFormatJson; - -NumericAnswerFormatJson value = NumericAnswerFormatJson.CURRENCY; -``` - - -## Values - -| Name | Value | -| ---------- | ---------- | -| `CURRENCY` | Currency | -| `DECIMAL` | Decimal | -| `NUMBER` | Number | \ No newline at end of file diff --git a/packages/java/docs/models/components/OfferingCostType1.md b/packages/java/docs/models/components/OfferingCostType1.md new file mode 100644 index 000000000..3a7e000eb --- /dev/null +++ b/packages/java/docs/models/components/OfferingCostType1.md @@ -0,0 +1,79 @@ +# OfferingCostType1 + +Cost type associated with organizing and hosting events and meetings. + +## Example Usage + +```java +import com.cvent.models.components.OfferingCostType1; + +OfferingCostType1 value = OfferingCostType1.AIRPORT_TRANSPORTATION; +``` + + +## Values + +| Name | Value | +| -------------------------------- | -------------------------------- | +| `AIRPORT_TRANSPORTATION` | AIRPORT_TRANSPORTATION | +| `AIR_CONDITIONING_HEATING` | AIR_CONDITIONING_HEATING | +| `AUDIO_PATCH` | AUDIO_PATCH | +| `AV_EQUIPMENT` | AV_EQUIPMENT | +| `BELLMAN_DELIVERY` | BELLMAN_DELIVERY | +| `BREAKFAST_BUFFET` | BREAKFAST_BUFFET | +| `BREAKFAST_CONTINENTAL` | BREAKFAST_CONTINENTAL | +| `BREAKFAST_PLATED` | BREAKFAST_PLATED | +| `BREAKOUT_LARGE` | BREAKOUT_LARGE | +| `BREAKOUT_MEDIUM` | BREAKOUT_MEDIUM | +| `BREAKOUT_SMALL` | BREAKOUT_SMALL | +| `BREAKOUT_TOTAL` | BREAKOUT_TOTAL | +| `BREAK_AM` | BREAK_AM | +| `BREAK_DRINKS_ONLY` | BREAK_DRINKS_ONLY | +| `BREAK_PM` | BREAK_PM | +| `BREAK_SNACKS_AND_DRINKS` | BREAK_SNACKS_AND_DRINKS | +| `BUILDING_OVERTIME` | BUILDING_OVERTIME | +| `BUSINESS_CENTER` | BUSINESS_CENTER | +| `CMP` | CMP | +| `CONFERENCE_CONCIERGE` | CONFERENCE_CONCIERGE | +| `CONFERENCE_PLANNING_MANAGER` | CONFERENCE_PLANNING_MANAGER | +| `DDR_FULL_DAY` | DDR_FULL_DAY | +| `DDR_HALF_DAY` | DDR_HALF_DAY | +| `DINNER_BUFFET` | DINNER_BUFFET | +| `DINNER_PLATED` | DINNER_PLATED | +| `EXHIBIT_SPACE` | EXHIBIT_SPACE | +| `FACILITY_FEE` | FACILITY_FEE | +| `FITNESS_CENTER` | FITNESS_CENTER | +| `GALLON_COFFEE` | GALLON_COFFEE | +| `GENERAL_SESSION` | GENERAL_SESSION | +| `HOUSEKEEPING` | HOUSEKEEPING | +| `INTERNET_GUEST_ROOM` | INTERNET_GUEST_ROOM | +| `INTERNET_MEETING_ROOM` | INTERNET_MEETING_ROOM | +| `LABOR` | LABOR | +| `LIGHTING` | LIGHTING | +| `LOCAL_TRANSPORTATION` | LOCAL_TRANSPORTATION | +| `LUNCH_BOXED` | LUNCH_BOXED | +| `LUNCH_BUFFET` | LUNCH_BUFFET | +| `LUNCH_PLATED` | LUNCH_PLATED | +| `MEETING_ROOMS_TOTAL` | MEETING_ROOMS_TOTAL | +| `NONE` | NONE | +| `OFFICE` | OFFICE | +| `OTHER_FB` | OTHER_FB | +| `OTHER_MISC` | OTHER_MISC | +| `OTHER_RENTAL` | OTHER_RENTAL | +| `OTHER_TRANSPORTATION` | OTHER_TRANSPORTATION | +| `PARKING_FEE_SELF` | PARKING_FEE_SELF | +| `PARKING_FEE_VALET` | PARKING_FEE_VALET | +| `POWER_DROP` | POWER_DROP | +| `RECEPTION_BEVERAGE` | RECEPTION_BEVERAGE | +| `RECEPTION_FOOD` | RECEPTION_FOOD | +| `RECEPTION_HEAVY_HORS_D_OEUVRES` | RECEPTION_HEAVY_HORS_D_OEUVRES | +| `RECEPTION_LIGHT_APPETIZERS` | RECEPTION_LIGHT_APPETIZERS | +| `RESORT_FEE` | RESORT_FEE | +| `ROOM_DROP` | ROOM_DROP | +| `SERVICE_CHARGES` | SERVICE_CHARGES | +| `SETUP` | SETUP | +| `SHIPPING_RECEIVING` | SHIPPING_RECEIVING | +| `GUEST_ROOMS` | GUEST_ROOMS | +| `STORAGE` | STORAGE | +| `TEARDOWN` | TEARDOWN | +| `TOTAL_FB_MINIMUM` | TOTAL_FB_MINIMUM | \ No newline at end of file diff --git a/packages/java/docs/models/components/OfferingCostTypeJson0.md b/packages/java/docs/models/components/OfferingCostTypeJson0.md deleted file mode 100644 index 9d55321d1..000000000 --- a/packages/java/docs/models/components/OfferingCostTypeJson0.md +++ /dev/null @@ -1,79 +0,0 @@ -# OfferingCostTypeJson0 - -Cost type associated with organizing and hosting events and meetings. - -## Example Usage - -```java -import com.cvent.models.components.OfferingCostTypeJson0; - -OfferingCostTypeJson0 value = OfferingCostTypeJson0.AIRPORT_TRANSPORTATION; -``` - - -## Values - -| Name | Value | -| -------------------------------- | -------------------------------- | -| `AIRPORT_TRANSPORTATION` | AIRPORT_TRANSPORTATION | -| `AIR_CONDITIONING_HEATING` | AIR_CONDITIONING_HEATING | -| `AUDIO_PATCH` | AUDIO_PATCH | -| `AV_EQUIPMENT` | AV_EQUIPMENT | -| `BELLMAN_DELIVERY` | BELLMAN_DELIVERY | -| `BREAKFAST_BUFFET` | BREAKFAST_BUFFET | -| `BREAKFAST_CONTINENTAL` | BREAKFAST_CONTINENTAL | -| `BREAKFAST_PLATED` | BREAKFAST_PLATED | -| `BREAKOUT_LARGE` | BREAKOUT_LARGE | -| `BREAKOUT_MEDIUM` | BREAKOUT_MEDIUM | -| `BREAKOUT_SMALL` | BREAKOUT_SMALL | -| `BREAKOUT_TOTAL` | BREAKOUT_TOTAL | -| `BREAK_AM` | BREAK_AM | -| `BREAK_DRINKS_ONLY` | BREAK_DRINKS_ONLY | -| `BREAK_PM` | BREAK_PM | -| `BREAK_SNACKS_AND_DRINKS` | BREAK_SNACKS_AND_DRINKS | -| `BUILDING_OVERTIME` | BUILDING_OVERTIME | -| `BUSINESS_CENTER` | BUSINESS_CENTER | -| `CMP` | CMP | -| `CONFERENCE_CONCIERGE` | CONFERENCE_CONCIERGE | -| `CONFERENCE_PLANNING_MANAGER` | CONFERENCE_PLANNING_MANAGER | -| `DDR_FULL_DAY` | DDR_FULL_DAY | -| `DDR_HALF_DAY` | DDR_HALF_DAY | -| `DINNER_BUFFET` | DINNER_BUFFET | -| `DINNER_PLATED` | DINNER_PLATED | -| `EXHIBIT_SPACE` | EXHIBIT_SPACE | -| `FACILITY_FEE` | FACILITY_FEE | -| `FITNESS_CENTER` | FITNESS_CENTER | -| `GALLON_COFFEE` | GALLON_COFFEE | -| `GENERAL_SESSION` | GENERAL_SESSION | -| `HOUSEKEEPING` | HOUSEKEEPING | -| `INTERNET_GUEST_ROOM` | INTERNET_GUEST_ROOM | -| `INTERNET_MEETING_ROOM` | INTERNET_MEETING_ROOM | -| `LABOR` | LABOR | -| `LIGHTING` | LIGHTING | -| `LOCAL_TRANSPORTATION` | LOCAL_TRANSPORTATION | -| `LUNCH_BOXED` | LUNCH_BOXED | -| `LUNCH_BUFFET` | LUNCH_BUFFET | -| `LUNCH_PLATED` | LUNCH_PLATED | -| `MEETING_ROOMS_TOTAL` | MEETING_ROOMS_TOTAL | -| `NONE` | NONE | -| `OFFICE` | OFFICE | -| `OTHER_FB` | OTHER_FB | -| `OTHER_MISC` | OTHER_MISC | -| `OTHER_RENTAL` | OTHER_RENTAL | -| `OTHER_TRANSPORTATION` | OTHER_TRANSPORTATION | -| `PARKING_FEE_SELF` | PARKING_FEE_SELF | -| `PARKING_FEE_VALET` | PARKING_FEE_VALET | -| `POWER_DROP` | POWER_DROP | -| `RECEPTION_BEVERAGE` | RECEPTION_BEVERAGE | -| `RECEPTION_FOOD` | RECEPTION_FOOD | -| `RECEPTION_HEAVY_HORS_D_OEUVRES` | RECEPTION_HEAVY_HORS_D_OEUVRES | -| `RECEPTION_LIGHT_APPETIZERS` | RECEPTION_LIGHT_APPETIZERS | -| `RESORT_FEE` | RESORT_FEE | -| `ROOM_DROP` | ROOM_DROP | -| `SERVICE_CHARGES` | SERVICE_CHARGES | -| `SETUP` | SETUP | -| `SHIPPING_RECEIVING` | SHIPPING_RECEIVING | -| `GUEST_ROOMS` | GUEST_ROOMS | -| `STORAGE` | STORAGE | -| `TEARDOWN` | TEARDOWN | -| `TOTAL_FB_MINIMUM` | TOTAL_FB_MINIMUM | \ No newline at end of file diff --git a/packages/java/docs/models/components/One.md b/packages/java/docs/models/components/One.md new file mode 100644 index 000000000..7080f1bbb --- /dev/null +++ b/packages/java/docs/models/components/One.md @@ -0,0 +1,14 @@ +# One + +This is used to denote the open ended date time type of custom field. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `from` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned minimum date time accepted. | 2021-01-02T02:00:00Z | +| `to` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned maximum date time accepted. | 2021-02-02T02:00:00Z | +| `format` | [Optional\](../../models/components/DateTimeDisplayFormatJson.md) | :heavy_minus_sign: | This is used to denote the display format type of date time type custom field. | DateOnlyMonthFirst | +| `defaultToCurrentDate` | *Optional\* | :heavy_minus_sign: | Whether it needs to be pre populated with current date. | false | +| `displayPopUpCalendar` | *Optional\* | :heavy_minus_sign: | True means that a pop-up calendar will be displayed to assist date selection on UI. | false | \ No newline at end of file diff --git a/packages/java/docs/models/components/OneAllOf.md b/packages/java/docs/models/components/OneAllOf.md deleted file mode 100644 index 9c718f294..000000000 --- a/packages/java/docs/models/components/OneAllOf.md +++ /dev/null @@ -1,10 +0,0 @@ -# OneAllOf - -Represents a link to a related resource. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | -| `href` | *String* | :heavy_check_mark: | A url provided that can be followed for linking | ?token=90c5f062-76ad-4ea4-aa53-00eb698d9262 | \ No newline at end of file diff --git a/packages/java/docs/models/components/OneOneOf.md b/packages/java/docs/models/components/OneOneOf.md deleted file mode 100644 index c0f144872..000000000 --- a/packages/java/docs/models/components/OneOneOf.md +++ /dev/null @@ -1,14 +0,0 @@ -# OneOneOf - -This is used to denote the open ended date time type of custom field. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| `from` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned minimum date time accepted. | 2021-01-02T02:00:00Z | -| `to` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned maximum date time accepted. | 2021-02-02T02:00:00Z | -| `format` | [Optional\](../../models/components/DateTimeDisplayFormatJson.md) | :heavy_minus_sign: | This is used to denote the display format type of date time type custom field. | DateOnlyMonthFirst | -| `defaultToCurrentDate` | *Optional\* | :heavy_minus_sign: | Whether it needs to be pre populated with current date. | false | -| `displayPopUpCalendar` | *Optional\* | :heavy_minus_sign: | True means that a pop-up calendar will be displayed to assist date selection on UI. | false | \ No newline at end of file diff --git a/packages/java/docs/models/components/OptOutJson.md b/packages/java/docs/models/components/OptOutJson.md deleted file mode 100644 index 10792bb0f..000000000 --- a/packages/java/docs/models/components/OptOutJson.md +++ /dev/null @@ -1,12 +0,0 @@ -# OptOutJson - -Details of an opt-out for a Contact. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | -| `optedOut` | *Optional\* | :heavy_minus_sign: | Used to denote if a contact has opted-out of receiving system generated emails. | false | -| `date` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when this contact was opted-out. This value can change if the contact opts out multiple times. | 2019-02-12T03:00:00Z | -| `by` | [Optional\](../../models/components/OptoutByJson.md) | :heavy_minus_sign: | This is used to denote how a contact is opt'd out of Cvent system. | Account User | \ No newline at end of file diff --git a/packages/java/docs/models/components/OptOutJsonInput.md b/packages/java/docs/models/components/OptOutJsonInput.md deleted file mode 100644 index 4861ab27e..000000000 --- a/packages/java/docs/models/components/OptOutJsonInput.md +++ /dev/null @@ -1,10 +0,0 @@ -# OptOutJsonInput - -Details of an opt-out for a Contact. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | -| `optedOut` | *Optional\* | :heavy_minus_sign: | Used to denote if a contact has opted-out of receiving system generated emails. | false | \ No newline at end of file diff --git a/packages/java/docs/models/components/OptoutBy.md b/packages/java/docs/models/components/OptoutBy.md new file mode 100644 index 000000000..2eb2f212f --- /dev/null +++ b/packages/java/docs/models/components/OptoutBy.md @@ -0,0 +1,29 @@ +# OptoutBy + +This is used to denote how a contact is opt'd out of Cvent system. + +## Example Usage + +```java +import com.cvent.models.components.OptoutBy; + +OptoutBy value = OptoutBy.ABUSE_COMPLAINT; +``` + + +## Values + +| Name | Value | +| ----------------------------- | ----------------------------- | +| `ABUSE_COMPLAINT` | Abuse Complaint | +| `ACCOUNT_USER` | Account User | +| `API` | API | +| `CONTACT_SELF_OPT_OUT` | Contact Self Opt-Out | +| `CVENT_SUPPORT` | Cvent Support | +| `HARD_BOUNCE` | Hard Bounce | +| `IMPORT` | Import | +| `INVITEE_SELF_UNSUBSCRIBE` | Invitee Self Unsubscribe | +| `MULTIPLE_BOUNCE` | Multiple Bounce | +| `RESPONDENT_SELF_UNSUBSCRIBE` | Respondent Self Unsubscribe | +| `TEMPORARY_BLOCK` | Temporary Block | +| `CVENT_SALESFORCE_APP` | Cvent Salesforce App | \ No newline at end of file diff --git a/packages/java/docs/models/components/OrderDetail.md b/packages/java/docs/models/components/OrderDetail.md index c4b15c1fe..959f9a909 100644 --- a/packages/java/docs/models/components/OrderDetail.md +++ b/packages/java/docs/models/components/OrderDetail.md @@ -13,7 +13,7 @@ This is used to denote the details of the order made by an attendee. | `lastModifiedBy` | *Optional\* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | | `id` | *Optional\* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `event` | [Optional\](../../models/components/Event2.md) | :heavy_minus_sign: | The reference to the event. Contains only the ID of the event. | | -| `attendee` | [Optional\](../../models/components/Attendee2.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | +| `attendee` | [Optional\](../../models/components/Attendee.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | | `number` | *Optional\* | :heavy_minus_sign: | Order number for this order | PZNK2PKZH4N | | `cancelled` | *Optional\* | :heavy_minus_sign: | This denotes if an order is cancelled or not. | false | | `type` | [Optional\](../../models/components/OrderType.md) | :heavy_minus_sign: | This is used to denote the type of order made by an attendee. | Online Refund | diff --git a/packages/java/docs/models/components/OrderItemResponse.md b/packages/java/docs/models/components/OrderItemResponse.md index f87a58a05..b8f100ff4 100644 --- a/packages/java/docs/models/components/OrderItemResponse.md +++ b/packages/java/docs/models/components/OrderItemResponse.md @@ -14,7 +14,7 @@ This is used to denote an item in the order | `id` | *Optional\* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `order` | [Optional\](../../models/components/OrderRef.md) | :heavy_minus_sign: | Represents an order by its ID and includes the order type. | | | `event` | [Optional\](../../models/components/Event2.md) | :heavy_minus_sign: | The reference to the event. Contains only the ID of the event. | | -| `attendee` | [Optional\](../../models/components/Attendee2.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | +| `attendee` | [Optional\](../../models/components/Attendee.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | | `guest` | *Optional\* | :heavy_minus_sign: | Indicates if an attendee is a guest | true | | `guestDetail` | [Optional\](../../models/components/Guest.md) | :heavy_minus_sign: | The reference to the guest. Contains only the ID of the guest. | | | `product` | [Optional\](../../models/components/ProductOrderItem.md) | :heavy_minus_sign: | This is used to denote the product details in an order item | | diff --git a/packages/java/docs/models/components/Organization.md b/packages/java/docs/models/components/Organization.md new file mode 100644 index 000000000..5cbaae390 --- /dev/null +++ b/packages/java/docs/models/components/Organization.md @@ -0,0 +1,10 @@ +# Organization + +Organization details. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | Unique identifier for the organization. | 50dc08af-24a9-4d01-84be-3d43133dc945 | \ No newline at end of file diff --git a/packages/java/docs/models/components/OrganizationJson.md b/packages/java/docs/models/components/OrganizationJson.md deleted file mode 100644 index ba5e89259..000000000 --- a/packages/java/docs/models/components/OrganizationJson.md +++ /dev/null @@ -1,10 +0,0 @@ -# OrganizationJson - -Organization details. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | Unique identifier for the organization. | 50dc08af-24a9-4d01-84be-3d43133dc945 | \ No newline at end of file diff --git a/packages/java/docs/models/components/OrganizationType1.md b/packages/java/docs/models/components/OrganizationType1.md new file mode 100644 index 000000000..7d4ac17ac --- /dev/null +++ b/packages/java/docs/models/components/OrganizationType1.md @@ -0,0 +1,26 @@ +# OrganizationType1 + +Organization type. + +## Example Usage + +```java +import com.cvent.models.components.OrganizationType1; + +OrganizationType1 value = OrganizationType1.CORPORATE; +``` + + +## Values + +| Name | Value | +| ---------------- | ---------------- | +| `CORPORATE` | CORPORATE | +| `ASSOCIATION` | ASSOCIATION | +| `EDUCATION` | EDUCATION | +| `GOVERNMENT` | GOVERNMENT | +| `SOCIAL_LEISURE` | SOCIAL_LEISURE | +| `RELIGIOUS` | RELIGIOUS | +| `MILITARY` | MILITARY | +| `OTHER` | OTHER | +| `NON_PROFIT` | NON_PROFIT | \ No newline at end of file diff --git a/packages/java/docs/models/components/OrganizationTypeJson0.md b/packages/java/docs/models/components/OrganizationTypeJson0.md deleted file mode 100644 index d03e39ae6..000000000 --- a/packages/java/docs/models/components/OrganizationTypeJson0.md +++ /dev/null @@ -1,26 +0,0 @@ -# OrganizationTypeJson0 - -Organization type. - -## Example Usage - -```java -import com.cvent.models.components.OrganizationTypeJson0; - -OrganizationTypeJson0 value = OrganizationTypeJson0.CORPORATE; -``` - - -## Values - -| Name | Value | -| ---------------- | ---------------- | -| `CORPORATE` | CORPORATE | -| `ASSOCIATION` | ASSOCIATION | -| `EDUCATION` | EDUCATION | -| `GOVERNMENT` | GOVERNMENT | -| `SOCIAL_LEISURE` | SOCIAL_LEISURE | -| `RELIGIOUS` | RELIGIOUS | -| `MILITARY` | MILITARY | -| `OTHER` | OTHER | -| `NON_PROFIT` | NON_PROFIT | \ No newline at end of file diff --git a/packages/java/docs/models/components/PackagePricingPreference.md b/packages/java/docs/models/components/PackagePricingPreference.md new file mode 100644 index 000000000..eed8fc675 --- /dev/null +++ b/packages/java/docs/models/components/PackagePricingPreference.md @@ -0,0 +1,20 @@ +# PackagePricingPreference + +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. + +## Example Usage + +```java +import com.cvent.models.components.PackagePricingPreference; + +PackagePricingPreference value = PackagePricingPreference.NO_PREFERENCE; +``` + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `NO_PREFERENCE` | NO_PREFERENCE | +| `OPTIONAL` | OPTIONAL | +| `REQUIRED` | REQUIRED | \ No newline at end of file diff --git a/packages/java/docs/models/components/PackagePricingPreferenceJson.md b/packages/java/docs/models/components/PackagePricingPreferenceJson.md deleted file mode 100644 index e81ac1aa5..000000000 --- a/packages/java/docs/models/components/PackagePricingPreferenceJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# PackagePricingPreferenceJson - -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. - -## Example Usage - -```java -import com.cvent.models.components.PackagePricingPreferenceJson; - -PackagePricingPreferenceJson value = PackagePricingPreferenceJson.NO_PREFERENCE; -``` - - -## Values - -| Name | Value | -| --------------- | --------------- | -| `NO_PREFERENCE` | NO_PREFERENCE | -| `OPTIONAL` | OPTIONAL | -| `REQUIRED` | REQUIRED | \ No newline at end of file diff --git a/packages/java/docs/models/components/PaginatedInternalDocuments.md b/packages/java/docs/models/components/PaginatedInternalDocuments.md index e63e49653..566e0a4a6 100644 --- a/packages/java/docs/models/components/PaginatedInternalDocuments.md +++ b/packages/java/docs/models/components/PaginatedInternalDocuments.md @@ -5,7 +5,7 @@ Paginated list of internal documents attached to an RFP. ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `paging` | [Optional\](../../models/components/PagingJson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `data` | List\<[RfpInternalDocumentJson0](../../models/components/RfpInternalDocumentJson0.md)> | :heavy_minus_sign: | List of internal documents linked to an RFP. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `paging` | [Optional\](../../models/components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `data` | List\<[RfpInternalDocument](../../models/components/RfpInternalDocument.md)> | :heavy_minus_sign: | List of internal documents linked to an RFP. | \ No newline at end of file diff --git a/packages/java/docs/models/components/PaginatedRfpAgendaItems.md b/packages/java/docs/models/components/PaginatedRfpAgendaItems.md index 5a8f6d439..6505710ef 100644 --- a/packages/java/docs/models/components/PaginatedRfpAgendaItems.md +++ b/packages/java/docs/models/components/PaginatedRfpAgendaItems.md @@ -5,7 +5,7 @@ Paginated list of agenda items associated with an RFP. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `paging` | [Optional\](../../models/components/PagingJson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `data` | List\<[RfpAgendaItemJson](../../models/components/RfpAgendaItemJson.md)> | :heavy_minus_sign: | List of agenda items associated with an RFP. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `paging` | [Optional\](../../models/components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `data` | List\<[RfpAgendaItem](../../models/components/RfpAgendaItem.md)> | :heavy_minus_sign: | List of agenda items associated with an RFP. | \ No newline at end of file diff --git a/packages/java/docs/models/components/PaginatedRfpAgendaItemsSchedule.md b/packages/java/docs/models/components/PaginatedRfpAgendaItemsSchedule.md index 97c80cc52..9de472164 100644 --- a/packages/java/docs/models/components/PaginatedRfpAgendaItemsSchedule.md +++ b/packages/java/docs/models/components/PaginatedRfpAgendaItemsSchedule.md @@ -5,7 +5,7 @@ Paginated list of agenda items schedule attached to an RFP. ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `paging` | [Optional\](../../models/components/PagingJson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `data` | List\<[RfpAgendaItemScheduleWithIdJson](../../models/components/RfpAgendaItemScheduleWithIdJson.md)> | :heavy_minus_sign: | List of agenda items schedule attached to an RFP. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `paging` | [Optional\](../../models/components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `data` | List\<[RfpAgendaItemScheduleWithId](../../models/components/RfpAgendaItemScheduleWithId.md)> | :heavy_minus_sign: | List of agenda items schedule attached to an RFP. | \ No newline at end of file diff --git a/packages/java/docs/models/components/PaginatedRfpAttachments.md b/packages/java/docs/models/components/PaginatedRfpAttachments.md index 517be69d4..0de0eea98 100644 --- a/packages/java/docs/models/components/PaginatedRfpAttachments.md +++ b/packages/java/docs/models/components/PaginatedRfpAttachments.md @@ -5,7 +5,7 @@ Paginated list of RFP attachments. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `paging` | [PagingJson](../../models/components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | List\<[RfpAttachmentJson](../../models/components/RfpAttachmentJson.md)> | :heavy_check_mark: | List of attachments added on an RFP. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `paging` | [Paging](../../models/components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `data` | List\<[RfpAttachment](../../models/components/RfpAttachment.md)> | :heavy_check_mark: | List of attachments added on an RFP. | \ No newline at end of file diff --git a/packages/java/docs/models/components/PaginatedRfpCustomField.md b/packages/java/docs/models/components/PaginatedRfpCustomField.md index c075d27e3..5cc7d1934 100644 --- a/packages/java/docs/models/components/PaginatedRfpCustomField.md +++ b/packages/java/docs/models/components/PaginatedRfpCustomField.md @@ -7,5 +7,5 @@ Paginated list of RFP custom fields associated to a RFP. | Field | Type | Required | Description | | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `paging` | [Optional\](../../models/components/PagingJson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `data` | List\<[RfpCustomFieldJson](../../models/components/RfpCustomFieldJson.md)> | :heavy_minus_sign: | List of RFP custom fields linked to an RFP. | \ No newline at end of file +| `paging` | [Optional\](../../models/components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `data` | List\<[CustomFieldAnswers](../../models/components/CustomFieldAnswers.md)> | :heavy_minus_sign: | List of RFP custom fields linked to an RFP. | \ No newline at end of file diff --git a/packages/java/docs/models/components/PaginatedRfpQuestions.md b/packages/java/docs/models/components/PaginatedRfpQuestions.md index f79beab7a..a3d624e06 100644 --- a/packages/java/docs/models/components/PaginatedRfpQuestions.md +++ b/packages/java/docs/models/components/PaginatedRfpQuestions.md @@ -5,7 +5,7 @@ Paginated response containing questions associated to an RFP. ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `paging` | [Optional\](../../models/components/PagingJson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `data` | List\<[RfpQuestionJson](../../models/components/RfpQuestionJson.md)> | :heavy_minus_sign: | List of questions associated to an RFP. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `paging` | [Optional\](../../models/components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `data` | List\<[RfpQuestion](../../models/components/RfpQuestion.md)> | :heavy_minus_sign: | List of questions associated to an RFP. | \ No newline at end of file diff --git a/packages/java/docs/models/components/PaginatedRfpRecipientsHistory.md b/packages/java/docs/models/components/PaginatedRfpRecipientsHistory.md index 16bdbcbd5..d3aa350a3 100644 --- a/packages/java/docs/models/components/PaginatedRfpRecipientsHistory.md +++ b/packages/java/docs/models/components/PaginatedRfpRecipientsHistory.md @@ -5,7 +5,7 @@ Paginated response containing logs of all the recipients that were copied on an ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `paging` | [PagingJson](../../models/components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | List\<[RfpRecipientLogEntryJson](../../models/components/RfpRecipientLogEntryJson.md)> | :heavy_check_mark: | List of RFP recipient logs. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `paging` | [Paging](../../models/components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `data` | List\<[RfpRecipientLogEntry](../../models/components/RfpRecipientLogEntry.md)> | :heavy_check_mark: | List of RFP recipient logs. | \ No newline at end of file diff --git a/packages/java/docs/models/components/PaginatedRfpSuppliers.md b/packages/java/docs/models/components/PaginatedRfpSuppliers.md index 13a037f0a..f91cd1565 100644 --- a/packages/java/docs/models/components/PaginatedRfpSuppliers.md +++ b/packages/java/docs/models/components/PaginatedRfpSuppliers.md @@ -5,7 +5,7 @@ Paginated response containing suppliers associated with an RFP. ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `paging` | [PagingJson](../../models/components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | List\<[RfpSupplierJson](../../models/components/RfpSupplierJson.md)> | :heavy_check_mark: | List of RFP suppliers. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `paging` | [Paging](../../models/components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `data` | List\<[RfpSupplier](../../models/components/RfpSupplier.md)> | :heavy_check_mark: | List of RFP suppliers. | \ No newline at end of file diff --git a/packages/java/docs/models/components/PagingJson19.md b/packages/java/docs/models/components/PagingJson19.md deleted file mode 100644 index 005829a8e..000000000 --- a/packages/java/docs/models/components/PagingJson19.md +++ /dev/null @@ -1,14 +0,0 @@ -# PagingJson19 - -Represents pagination information for a collection of resources. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `nextToken` | *Optional\* | :heavy_minus_sign: | The pagination token for the next page; if available. You can use this to determine if there is additional data to fetch | 3b2359a7-4583-40ed-8afd-67e5f15373d3 | -| `currentToken` | *Optional\* | :heavy_minus_sign: | The pagination token for the current page | 90c5f062-76ad-4ea4-aa53-00eb698d9262 | -| `limit` | *Optional\* | :heavy_minus_sign: | The number of records to return on the page not to exceed 200 | 100 | -| `totalCount` | *Optional\* | :heavy_minus_sign: | The total number of records available | 2 | -| `links` | [PaginationLinksJson](../../models/components/PaginationLinksJson.md) | :heavy_check_mark: | Represents pagination links for navigating between pages of data. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/PagingJson2.md b/packages/java/docs/models/components/PagingJson2.md new file mode 100644 index 000000000..acb41cbaf --- /dev/null +++ b/packages/java/docs/models/components/PagingJson2.md @@ -0,0 +1,14 @@ +# PagingJson2 + +Represents pagination information for a collection of resources. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `nextToken` | *Optional\* | :heavy_minus_sign: | The pagination token for the next page; if available. You can use this to determine if there is additional data to fetch | 3b2359a7-4583-40ed-8afd-67e5f15373d3 | +| `currentToken` | *Optional\* | :heavy_minus_sign: | The pagination token for the current page | 90c5f062-76ad-4ea4-aa53-00eb698d9262 | +| `limit` | *Optional\* | :heavy_minus_sign: | The number of records to return on the page not to exceed 200 | 100 | +| `totalCount` | *Optional\* | :heavy_minus_sign: | The total number of records available | 2 | +| `links` | [PaginationLinksJson](../../models/components/PaginationLinksJson.md) | :heavy_check_mark: | Represents pagination links for navigating between pages of data. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/PagingNoTotalCountJson.md b/packages/java/docs/models/components/PagingNoTotalCountJson.md new file mode 100644 index 000000000..db21d13bf --- /dev/null +++ b/packages/java/docs/models/components/PagingNoTotalCountJson.md @@ -0,0 +1,14 @@ +# PagingNoTotalCountJson + +Represents pagination information for a collection of resources. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `previousToken` | *Optional\* | :heavy_minus_sign: | The pagination token for the previous page, if one exists. You can use this token to navigate to the previous page of data. | 1a2b3c4d5e6f7g8h9i10j11k | +| `nextToken` | *Optional\* | :heavy_minus_sign: | The pagination token for the next page. If this value is present in the response, there is another page of data you can fetch. | 1a2b3c4d5e6f7g8h9i10j11k | +| `currentToken` | *Optional\* | :heavy_minus_sign: | The pagination token for the current page. | 1a2b3c4d5e6f7g8h9i10j11k | +| `limit` | *Optional\* | :heavy_minus_sign: | The number of records to return on the page. Not to exceed 200. | 100 | +| `links` | [PaginationLinksJson](../../models/components/PaginationLinksJson.md) | :heavy_check_mark: | Represents pagination links for navigating between pages of data. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/PagingNoTotalCountJson2.md b/packages/java/docs/models/components/PagingNoTotalCountJson2.md deleted file mode 100644 index d4ef0cee9..000000000 --- a/packages/java/docs/models/components/PagingNoTotalCountJson2.md +++ /dev/null @@ -1,14 +0,0 @@ -# PagingNoTotalCountJson2 - -Represents pagination information for a collection of resources. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `previousToken` | *Optional\* | :heavy_minus_sign: | The pagination token for the previous page, if one exists. You can use this token to navigate to the previous page of data. | 1a2b3c4d5e6f7g8h9i10j11k | -| `nextToken` | *Optional\* | :heavy_minus_sign: | The pagination token for the next page. If this value is present in the response, there is another page of data you can fetch. | 1a2b3c4d5e6f7g8h9i10j11k | -| `currentToken` | *Optional\* | :heavy_minus_sign: | The pagination token for the current page. | 1a2b3c4d5e6f7g8h9i10j11k | -| `limit` | *Optional\* | :heavy_minus_sign: | The number of records to return on the page. Not to exceed 200. | 100 | -| `links` | [PaginationLinksJson](../../models/components/PaginationLinksJson.md) | :heavy_check_mark: | Represents pagination links for navigating between pages of data. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/Passport.md b/packages/java/docs/models/components/Passport.md new file mode 100644 index 000000000..abbb156e2 --- /dev/null +++ b/packages/java/docs/models/components/Passport.md @@ -0,0 +1,12 @@ +# Passport + +This entity represents a contact's passport information. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `number` | *Optional\* | :heavy_minus_sign: | The passport number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123456789 | +| `country` | *Optional\* | :heavy_minus_sign: | The passport country of the contact. | United Kingdom | +| `countryCode` | *Optional\* | :heavy_minus_sign: | The passport country code of the contact. | GB | \ No newline at end of file diff --git a/packages/java/docs/models/components/PassportInput.md b/packages/java/docs/models/components/PassportInput.md new file mode 100644 index 000000000..7e96ffd22 --- /dev/null +++ b/packages/java/docs/models/components/PassportInput.md @@ -0,0 +1,11 @@ +# PassportInput + +This entity represents a contact's passport information. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `number` | *Optional\* | :heavy_minus_sign: | The passport number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123456789 | +| `countryCode` | *Optional\* | :heavy_minus_sign: | The passport country code of the contact. | GB | \ No newline at end of file diff --git a/packages/java/docs/models/components/PassportJson.md b/packages/java/docs/models/components/PassportJson.md deleted file mode 100644 index 84d5c612b..000000000 --- a/packages/java/docs/models/components/PassportJson.md +++ /dev/null @@ -1,12 +0,0 @@ -# PassportJson - -This entity represents a contact's passport information. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `number` | *Optional\* | :heavy_minus_sign: | The passport number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123456789 | -| `country` | *Optional\* | :heavy_minus_sign: | The passport country of the contact. | United Kingdom | -| `countryCode` | *Optional\* | :heavy_minus_sign: | The passport country code of the contact. | GB | \ No newline at end of file diff --git a/packages/java/docs/models/components/PassportJsonInput.md b/packages/java/docs/models/components/PassportJsonInput.md deleted file mode 100644 index 1b100924e..000000000 --- a/packages/java/docs/models/components/PassportJsonInput.md +++ /dev/null @@ -1,11 +0,0 @@ -# PassportJsonInput - -This entity represents a contact's passport information. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `number` | *Optional\* | :heavy_minus_sign: | The passport number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123456789 | -| `countryCode` | *Optional\* | :heavy_minus_sign: | The passport country code of the contact. | GB | \ No newline at end of file diff --git a/packages/java/docs/models/components/PaymentInfoJson.md b/packages/java/docs/models/components/PaymentInfoJson.md index 5d6731c5c..dfc84a4e2 100644 --- a/packages/java/docs/models/components/PaymentInfoJson.md +++ b/packages/java/docs/models/components/PaymentInfoJson.md @@ -9,6 +9,6 @@ Payment information. | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | | `paymentType` | [Optional\](../../models/components/PaymentTypesJson.md) | :heavy_minus_sign: | Payment type. | | | `fullName` | *Optional\* | :heavy_minus_sign: | Full name. | Gustav Schultz | -| `address` | [Optional\](../../models/components/AddressJson2.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | +| `address` | [Optional\](../../models/components/AddressJson.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | | `phone` | *Optional\* | :heavy_minus_sign: | Phone number. | (231)213-1222 | | `other` | [Optional\](../../models/components/OtherPaymentJson.md) | :heavy_minus_sign: | Other payment details. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/PlannerJson2.md b/packages/java/docs/models/components/PlannerJson2.md index c40d538ed..8c5503848 100644 --- a/packages/java/docs/models/components/PlannerJson2.md +++ b/packages/java/docs/models/components/PlannerJson2.md @@ -31,7 +31,7 @@ Represents the planner of an event. | ~~`workAddress`~~ | [Optional\](../../models/components/PlannerJson2WorkAddressAddress.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | | | ~~`workPhone`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Work phone number. | 555-555-5555 | | ~~`workFax`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Work fax number. | 555-555-5555 | -| ~~`customFields`~~ | List\<[CustomFieldJson3](../../models/components/CustomFieldJson3.md)> | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Collection of custom fields. | | +| ~~`customFields`~~ | List\<[CustomFieldJson2](../../models/components/CustomFieldJson2.md)> | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Collection of custom fields. | | | ~~`sourceId`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This is an ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. | system-a-00000000-0000-0000-0000-000000000000 | | ~~`mobilePhone`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Mobile phone number. | 555-555-5555 | | ~~`created`~~ | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The ISO 8601 zoned date time when this record was created. | 2023-12-31T15:00:00Z | diff --git a/packages/java/docs/models/components/PolicyValueType.md b/packages/java/docs/models/components/PolicyValueType.md new file mode 100644 index 000000000..e945dcf09 --- /dev/null +++ b/packages/java/docs/models/components/PolicyValueType.md @@ -0,0 +1,24 @@ +# PolicyValueType + +Value type of the policy + +## Example Usage + +```java +import com.cvent.models.components.PolicyValueType; + +PolicyValueType value = PolicyValueType.SELECTION_LIST; +``` + + +## Values + +| Name | Value | +| ------------------ | ------------------ | +| `SELECTION_LIST` | selection_list | +| `INTEGER` | integer | +| `MONEY` | money | +| `PERCENT` | percent | +| `MULTI_SELECT` | multi_select | +| `TEXT_MULTI_LINE` | text_multi_line | +| `PERCENT_OR_MONEY` | percent_or_money | \ No newline at end of file diff --git a/packages/java/docs/models/components/PolicyValueTypeJson.md b/packages/java/docs/models/components/PolicyValueTypeJson.md deleted file mode 100644 index ade0685f7..000000000 --- a/packages/java/docs/models/components/PolicyValueTypeJson.md +++ /dev/null @@ -1,24 +0,0 @@ -# PolicyValueTypeJson - -Value type of the policy - -## Example Usage - -```java -import com.cvent.models.components.PolicyValueTypeJson; - -PolicyValueTypeJson value = PolicyValueTypeJson.SELECTION_LIST; -``` - - -## Values - -| Name | Value | -| ------------------ | ------------------ | -| `SELECTION_LIST` | selection_list | -| `INTEGER` | integer | -| `MONEY` | money | -| `PERCENT` | percent | -| `MULTI_SELECT` | multi_select | -| `TEXT_MULTI_LINE` | text_multi_line | -| `PERCENT_OR_MONEY` | percent_or_money | \ No newline at end of file diff --git a/packages/java/docs/models/components/ProgramItemLite.md b/packages/java/docs/models/components/ProgramItemLite.md new file mode 100644 index 000000000..d174739eb --- /dev/null +++ b/packages/java/docs/models/components/ProgramItemLite.md @@ -0,0 +1,10 @@ +# ProgramItemLite + +The unique identifier of a program item. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | +| `id` | *String* | :heavy_check_mark: | The unique identifier for a program item. | 221984b2-9e3e-4c1c-8ef4-306b1b75fa3e | \ No newline at end of file diff --git a/packages/java/docs/models/components/ProgramItemLiteJson.md b/packages/java/docs/models/components/ProgramItemLiteJson.md deleted file mode 100644 index 76815c4a6..000000000 --- a/packages/java/docs/models/components/ProgramItemLiteJson.md +++ /dev/null @@ -1,10 +0,0 @@ -# ProgramItemLiteJson - -The unique identifier of a program item. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | -| `id` | *String* | :heavy_check_mark: | The unique identifier for a program item. | 221984b2-9e3e-4c1c-8ef4-306b1b75fa3e | \ No newline at end of file diff --git a/packages/java/docs/models/components/ProgramItemSpeakerPaginatedResponse.md b/packages/java/docs/models/components/ProgramItemSpeakerPaginatedResponse.md index e47c52d5c..b72fbbfb0 100644 --- a/packages/java/docs/models/components/ProgramItemSpeakerPaginatedResponse.md +++ b/packages/java/docs/models/components/ProgramItemSpeakerPaginatedResponse.md @@ -7,5 +7,5 @@ The response from a request to get the list of program item speakers. | Field | Type | Required | Description | | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `paging` | [PagingJson](../../models/components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `paging` | [Paging](../../models/components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | | `data` | List\<[SpeakerProgramItem](../../models/components/SpeakerProgramItem.md)> | :heavy_check_mark: | Collection of program item speakers. | \ No newline at end of file diff --git a/packages/java/docs/models/components/Property.md b/packages/java/docs/models/components/Property.md index dff10c6b7..412a5e49a 100644 --- a/packages/java/docs/models/components/Property.md +++ b/packages/java/docs/models/components/Property.md @@ -18,5 +18,5 @@ Details of the property | `code` | *Optional\* | :heavy_minus_sign: | The property code for the property. | GH101 | | `deleted` | *Optional\* | :heavy_minus_sign: | True indicates that the property is deleted. | false | | `currencyCode` | *Optional\* | :heavy_minus_sign: | The ISO 4217 standard format currency code specified for the property. | USD | -| `address` | [Optional\](../../models/components/AddressJson3.md) | :heavy_minus_sign: | A physical address. | | +| `address` | [Optional\](../../models/components/AddressJson1.md) | :heavy_minus_sign: | A physical address. | | | `externalCodes` | List\<[PropertyExternalCodeJson](../../models/components/PropertyExternalCodeJson.md)> | :heavy_minus_sign: | Collection of external codes for a property. This includes GDS nd other codes used to identify a property in external systems. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/PropertyRoom.md b/packages/java/docs/models/components/PropertyRoom.md index 344ae1a4b..2373ae1eb 100644 --- a/packages/java/docs/models/components/PropertyRoom.md +++ b/packages/java/docs/models/components/PropertyRoom.md @@ -16,7 +16,7 @@ Property room details. | `code` | *Optional\* | :heavy_minus_sign: | Room code of the property room. | std | | `property` | [Optional\](../../models/components/PropertyRoomProperty.md) | :heavy_minus_sign: | The property that the room belongs to. | | | `deleted` | *Optional\* | :heavy_minus_sign: | True indicates the property room is deleted. | false | -| `bedTypeCode` | [Optional\](../../models/components/RoomBedTypeJson1.md) | :heavy_minus_sign: | Code representing the bed type. | queen | +| `bedTypeCode` | [Optional\](../../models/components/RoomBedTypeJson.md) | :heavy_minus_sign: | Code representing the bed type. | queen | | `numberOfBeds` | *Optional\* | :heavy_minus_sign: | The number of beds in the room. | 2 | | `capacity` | *Optional\* | :heavy_minus_sign: | Maximum capacity of people that can sleep in the room. | 6 | | `description` | *Optional\* | :heavy_minus_sign: | A description of the room. | A standard room with two queen beds. | diff --git a/packages/java/docs/models/components/ProposalDateJson.md b/packages/java/docs/models/components/ProposalDateJson.md index 9c7be61c3..5e24e360e 100644 --- a/packages/java/docs/models/components/ProposalDateJson.md +++ b/packages/java/docs/models/components/ProposalDateJson.md @@ -7,6 +7,6 @@ The proposal date. | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `dateType` | [Optional\](../../models/components/DateTypeJson1.md) | :heavy_minus_sign: | The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). | | +| `dateType` | [Optional\](../../models/components/DateTypeJson.md) | :heavy_minus_sign: | The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). | | | `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The start date of the event. | 2021-01-13 | | `endDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The end date of the event. | 2021-01-13 | \ No newline at end of file diff --git a/packages/java/docs/models/components/ProposalRequest.md b/packages/java/docs/models/components/ProposalRequest.md index d9e45e418..b0ac7533b 100644 --- a/packages/java/docs/models/components/ProposalRequest.md +++ b/packages/java/docs/models/components/ProposalRequest.md @@ -15,7 +15,7 @@ Schema for proposal request. | `statusSummary` | [Optional\](../../models/components/StatusSummaryJson.md) | :heavy_minus_sign: | Represents a summary of status associated with this proposal. | | | `introduction` | *Optional\* | :heavy_minus_sign: | Introduction text for the proposal. | Let us design the day of your dreams at our property. | | ~~`billingContractualResponse`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Details about concessions or contractual requirements from the supplier. DEPRECATED - This field is deprecated. Only applied to proposal made from vendor marketplace, a sunset product. | All invoices must be paid in 30 days. | -| `currencyCode` | [Optional\](../../models/components/CurrencyJson1.md) | :heavy_minus_sign: | The ISO 4217 standard format currency code used for RFPs. | | +| `currencyCode` | [Optional\](../../models/components/CurrencyJson2.md) | :heavy_minus_sign: | The ISO 4217 standard format currency code used for RFPs. | | | `commissionableBid` | *Optional\* | :heavy_minus_sign: | True indicates this is a commissionable bid. | true | | `commissionRate` | *Optional\* | :heavy_minus_sign: | The proposal's commission rate. | 10.12 | | `name` | *Optional\* | :heavy_minus_sign: | Name of the proposal. | Proposal for Royal Bank of Spain. | @@ -25,6 +25,6 @@ Schema for proposal request. | ~~`categoryItemsCost`~~ | [Optional\](../../models/components/CategoryItemsCostJson.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Category items cost. DEPRECATED - This field is deprecated. Only applied to proposals made by vendors, and the vendor marketplace is sunset. | | | `aggregatedCost` | [Optional\](../../models/components/AggregatedCostJson.md) | :heavy_minus_sign: | The aggregated cost | | | `estimatedCost` | [Optional\](../../models/components/EstimatedCostJson.md) | :heavy_minus_sign: | The estimated cost | | -| `contacts` | List\<[ContactJson1](../../models/components/ContactJson1.md)> | :heavy_minus_sign: | List of all contacts. | | -| `plannerContacts` | List\<[ContactJson1](../../models/components/ContactJson1.md)> | :heavy_minus_sign: | List of all planner contacts. | | +| `contacts` | List\<[ContactJson](../../models/components/ContactJson.md)> | :heavy_minus_sign: | List of all contacts. | | +| `plannerContacts` | List\<[ContactJson](../../models/components/ContactJson.md)> | :heavy_minus_sign: | List of all planner contacts. | | | `meetingRoom` | [Optional\](../../models/components/MeetingRoomJson.md) | :heavy_minus_sign: | The meeting room. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ProposalResponse.md b/packages/java/docs/models/components/ProposalResponse.md index a88126a19..5d1cf3c76 100644 --- a/packages/java/docs/models/components/ProposalResponse.md +++ b/packages/java/docs/models/components/ProposalResponse.md @@ -19,7 +19,7 @@ Schema for proposal. | `statusSummary` | [Optional\](../../models/components/StatusSummaryJson.md) | :heavy_minus_sign: | Represents a summary of status associated with this proposal. | | | `introduction` | *Optional\* | :heavy_minus_sign: | Introduction text for the proposal. | Let us design the day of your dreams at our property. | | ~~`billingContractualResponse`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Details about concessions or contractual requirements from the supplier. DEPRECATED - This field is deprecated. Only applied to proposal made from vendor marketplace, a sunset product. | All invoices must be paid in 30 days. | -| `currencyCode` | [Optional\](../../models/components/CurrencyJson1.md) | :heavy_minus_sign: | The ISO 4217 standard format currency code used for RFPs. | | +| `currencyCode` | [Optional\](../../models/components/CurrencyJson2.md) | :heavy_minus_sign: | The ISO 4217 standard format currency code used for RFPs. | | | `commissionableBid` | *Optional\* | :heavy_minus_sign: | True indicates this is a commissionable bid. | true | | `commissionRate` | *Optional\* | :heavy_minus_sign: | The proposal's commission rate. | 10.12 | | `name` | *Optional\* | :heavy_minus_sign: | Name of the proposal. | Proposal for Royal Bank of Spain. | @@ -29,8 +29,8 @@ Schema for proposal. | ~~`categoryItemsCost`~~ | [Optional\](../../models/components/CategoryItemsCostJson.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Category items cost. DEPRECATED - This field is deprecated. Only applied to proposals made by vendors, and the vendor marketplace is sunset. | | | `aggregatedCost` | [Optional\](../../models/components/AggregatedCostJson.md) | :heavy_minus_sign: | The aggregated cost | | | `estimatedCost` | [Optional\](../../models/components/EstimatedCostJson.md) | :heavy_minus_sign: | The estimated cost | | -| `contacts` | List\<[ContactJson1](../../models/components/ContactJson1.md)> | :heavy_minus_sign: | List of all contacts. | | -| `plannerContacts` | List\<[ContactJson1](../../models/components/ContactJson1.md)> | :heavy_minus_sign: | List of all planner contacts. | | +| `contacts` | List\<[ContactJson](../../models/components/ContactJson.md)> | :heavy_minus_sign: | List of all contacts. | | +| `plannerContacts` | List\<[ContactJson](../../models/components/ContactJson.md)> | :heavy_minus_sign: | List of all planner contacts. | | | `meetingRoom` | [Optional\](../../models/components/MeetingRoomJson.md) | :heavy_minus_sign: | The meeting room. | | | `transaction` | [Optional\](../../models/components/TransactionJson.md) | :heavy_minus_sign: | The latest transaction that took place on a given proposal | | | `id` | *String* | :heavy_check_mark: | The unique ID of the proposal. | cf5fd2cc-3d09-11ee-be56-0242ac120002 | diff --git a/packages/java/docs/models/components/ProposalStatusType.md b/packages/java/docs/models/components/ProposalStatusType.md new file mode 100644 index 000000000..c62bb3d7e --- /dev/null +++ b/packages/java/docs/models/components/ProposalStatusType.md @@ -0,0 +1,30 @@ +# ProposalStatusType + +The status of the proposal + +## Example Usage + +```java +import com.cvent.models.components.ProposalStatusType; + +ProposalStatusType value = ProposalStatusType.PARTICIPATION_REQUESTED; +``` + + +## Values + +| Name | Value | +| ------------------------- | ------------------------- | +| `PARTICIPATION_REQUESTED` | participation_requested | +| `NEW` | new | +| `ACTIVE` | active | +| `SUBMITTED` | submitted | +| `DECLINED_PARTICIPATION` | declined_participation | +| `VERIFIED` | verified | +| `APPROVED` | approved | +| `ACCOUNT_ACCEPTED` | account_accepted | +| `ACCOUNT_REJECTED` | account_rejected | +| `INTERNAL_REJECTED` | internal_rejected | +| `REQUEST_RENEGOTIATION` | request_renegotiation | +| `DECLINE_RENEGOTIATION` | decline_renegotiation | +| `DELETED` | deleted | \ No newline at end of file diff --git a/packages/java/docs/models/components/ProposalStatusTypeJson.md b/packages/java/docs/models/components/ProposalStatusTypeJson.md deleted file mode 100644 index 24437695e..000000000 --- a/packages/java/docs/models/components/ProposalStatusTypeJson.md +++ /dev/null @@ -1,30 +0,0 @@ -# ProposalStatusTypeJson - -The status of the proposal - -## Example Usage - -```java -import com.cvent.models.components.ProposalStatusTypeJson; - -ProposalStatusTypeJson value = ProposalStatusTypeJson.PARTICIPATION_REQUESTED; -``` - - -## Values - -| Name | Value | -| ------------------------- | ------------------------- | -| `PARTICIPATION_REQUESTED` | participation_requested | -| `NEW` | new | -| `ACTIVE` | active | -| `SUBMITTED` | submitted | -| `DECLINED_PARTICIPATION` | declined_participation | -| `VERIFIED` | verified | -| `APPROVED` | approved | -| `ACCOUNT_ACCEPTED` | account_accepted | -| `ACCOUNT_REJECTED` | account_rejected | -| `INTERNAL_REJECTED` | internal_rejected | -| `REQUEST_RENEGOTIATION` | request_renegotiation | -| `DECLINE_RENEGOTIATION` | decline_renegotiation | -| `DELETED` | deleted | \ No newline at end of file diff --git a/packages/java/docs/models/components/ProximityJson.md b/packages/java/docs/models/components/ProximityJson.md index 963413586..d88ebc75e 100644 --- a/packages/java/docs/models/components/ProximityJson.md +++ b/packages/java/docs/models/components/ProximityJson.md @@ -5,7 +5,7 @@ Proximity of the event venue to the hotel. ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `distance` | [Optional\](../../models/components/DistanceJson1.md) | :heavy_minus_sign: | Distance information. | | -| `mapMessage` | *Optional\* | :heavy_minus_sign: | Message shown on map. | Your hotel is located here. | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `distance` | [Optional\](../../models/components/DistanceJson.md) | :heavy_minus_sign: | Distance information. | | +| `mapMessage` | *Optional\* | :heavy_minus_sign: | Message shown on map. | Your hotel is located here. | \ No newline at end of file diff --git a/packages/java/docs/models/components/Question.md b/packages/java/docs/models/components/Question.md index 8917fb343..57c3ec6ee 100644 --- a/packages/java/docs/models/components/Question.md +++ b/packages/java/docs/models/components/Question.md @@ -14,7 +14,7 @@ A question, defined by the program, for the supplier to answer as part of their | `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/QuestionResponseTypeJson.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/QuestionResponseDataTypeJson.md) | :heavy_minus_sign: | Code representing the expected data type of the question response. | text | -| `responseFormat` | [Optional\](../../models/components/QuestionResponseFormatJson.md) | :heavy_minus_sign: | Code representing the format the text of the response will be in. | proper_case | +| `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/QuestionClassificationType.md b/packages/java/docs/models/components/QuestionClassificationType.md new file mode 100644 index 000000000..1f3044e15 --- /dev/null +++ b/packages/java/docs/models/components/QuestionClassificationType.md @@ -0,0 +1,20 @@ +# QuestionClassificationType + +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. + +## Example Usage + +```java +import com.cvent.models.components.QuestionClassificationType; + +QuestionClassificationType value = QuestionClassificationType.MEETING_ROOM; +``` + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `MEETING_ROOM` | MEETING_ROOM | +| `GUEST_ROOM` | GUEST_ROOM | +| `ALL_RFPS` | ALL_RFPS | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionClassificationTypeJson.md b/packages/java/docs/models/components/QuestionClassificationTypeJson.md deleted file mode 100644 index b1c9c7907..000000000 --- a/packages/java/docs/models/components/QuestionClassificationTypeJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# QuestionClassificationTypeJson - -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. - -## Example Usage - -```java -import com.cvent.models.components.QuestionClassificationTypeJson; - -QuestionClassificationTypeJson value = QuestionClassificationTypeJson.MEETING_ROOM; -``` - - -## Values - -| Name | Value | -| -------------- | -------------- | -| `MEETING_ROOM` | MEETING_ROOM | -| `GUEST_ROOM` | GUEST_ROOM | -| `ALL_RFPS` | ALL_RFPS | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionJson.md b/packages/java/docs/models/components/QuestionJson.md new file mode 100644 index 000000000..77c55b911 --- /dev/null +++ b/packages/java/docs/models/components/QuestionJson.md @@ -0,0 +1,14 @@ +# QuestionJson + +Question details + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `id` | *String* | :heavy_check_mark: | The question ID. | 2385098a-ab4e-4e06-b3b7-487cad288587 | +| `text` | *Optional\* | :heavy_minus_sign: | The question text. | Sample question? | +| `status` | *Optional\* | :heavy_minus_sign: | The status of the question. | approved | +| `anonymous` | *Optional\* | :heavy_minus_sign: | Whether question is asked anonymously. | true | +| `answer` | *Optional\* | :heavy_minus_sign: | The answer text. | Sample answer. | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionJson1.md b/packages/java/docs/models/components/QuestionJson1.md index 39ff818b5..ef332f456 100644 --- a/packages/java/docs/models/components/QuestionJson1.md +++ b/packages/java/docs/models/components/QuestionJson1.md @@ -1,14 +1,31 @@ # QuestionJson1 -Question details +A survey question. ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `id` | *String* | :heavy_check_mark: | The question ID. | 2385098a-ab4e-4e06-b3b7-487cad288587 | -| `text` | *Optional\* | :heavy_minus_sign: | The question text. | Sample question? | -| `status` | *Optional\* | :heavy_minus_sign: | The status of the question. | approved | -| `anonymous` | *Optional\* | :heavy_minus_sign: | Whether question is asked anonymously. | true | -| `answer` | *Optional\* | :heavy_minus_sign: | The answer text. | Sample answer. | \ 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 | +| `id` | *Optional\* | :heavy_minus_sign: | Text field ID. | | +| `text` | *Optional\* | :heavy_minus_sign: | text Value of the Field | Field value | +| `shortText` | *Optional\* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | +| `htmlText` | *Optional\* | :heavy_minus_sign: | Html of the question | Question Html | +| `code` | *Optional\* | :heavy_minus_sign: | Question Code | 4l6x | +| `type` | [Optional\](../../models/components/QuestionTypeJson1.md) | :heavy_minus_sign: | Question Type. | SingleChoice | +| `choices` | List\<[ChoiceJson1](../../models/components/ChoiceJson1.md)> | :heavy_minus_sign: | List of choices for the question. | | +| `categories` | List\<[CategoryJson1](../../models/components/CategoryJson1.md)> | :heavy_minus_sign: | List of categories for the question. | | +| `subCategories` | List\<[TextFieldJson](../../models/components/TextFieldJson.md)> | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions | | +| `notApplicableAnswer` | [Optional\](../../models/components/AdditionalChoiceJson.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | +| `otherAnswer` | [Optional\](../../models/components/AdditionalChoiceJson.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | +| `comments` | *Optional\* | :heavy_minus_sign: | Text Value of Comments Input box placeholder | Comments Text | +| `required` | *Optional\* | :heavy_minus_sign: | Is this a mandatory question | true | +| `fields` | List\<[FieldJson](../../models/components/FieldJson.md)> | :heavy_minus_sign: | List of fields for form/matrix questions | | +| `maxScore` | *Optional\* | :heavy_minus_sign: | Max possible score | 20 | +| `totalSum` | *Optional\* | :heavy_minus_sign: | Total configured sum of all choices for number allocation question | 45 | +| `survey` | [Optional\](../../models/components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | +| `chapter` | [Optional\](../../models/components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionJson2.md b/packages/java/docs/models/components/QuestionJson2.md index 5d4d47d89..285ed37a6 100644 --- a/packages/java/docs/models/components/QuestionJson2.md +++ b/packages/java/docs/models/components/QuestionJson2.md @@ -1,31 +1,12 @@ # QuestionJson2 -A survey question. +The question that was answered. ## 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 | -| `id` | *Optional\* | :heavy_minus_sign: | Text field ID. | | -| `text` | *Optional\* | :heavy_minus_sign: | text Value of the Field | Field value | -| `shortText` | *Optional\* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | -| `htmlText` | *Optional\* | :heavy_minus_sign: | Html of the question | Question Html | -| `code` | *Optional\* | :heavy_minus_sign: | Question Code | 4l6x | -| `type` | [Optional\](../../models/components/QuestionTypeJson2.md) | :heavy_minus_sign: | Question Type. | SingleChoice | -| `choices` | List\<[ChoiceJson2](../../models/components/ChoiceJson2.md)> | :heavy_minus_sign: | List of choices for the question. | | -| `categories` | List\<[CategoryJson2](../../models/components/CategoryJson2.md)> | :heavy_minus_sign: | List of categories for the question. | | -| `subCategories` | List\<[TextFieldJson1](../../models/components/TextFieldJson1.md)> | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions | | -| `notApplicableAnswer` | [Optional\](../../models/components/AdditionalChoiceJson1.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | -| `otherAnswer` | [Optional\](../../models/components/AdditionalChoiceJson1.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | -| `comments` | *Optional\* | :heavy_minus_sign: | Text Value of Comments Input box placeholder | Comments Text | -| `required` | *Optional\* | :heavy_minus_sign: | Is this a mandatory question | true | -| `fields` | List\<[FieldJson2](../../models/components/FieldJson2.md)> | :heavy_minus_sign: | List of fields for form/matrix questions | | -| `maxScore` | *Optional\* | :heavy_minus_sign: | Max possible score | 20 | -| `totalSum` | *Optional\* | :heavy_minus_sign: | Total configured sum of all choices for number allocation question | 45 | -| `survey` | [Optional\](../../models/components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | -| `chapter` | [Optional\](../../models/components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the question. | 861b51ec-aa7e-475f-b38d-4c8e35c47d63 | +| `text` | *Optional\* | :heavy_minus_sign: | Question text. | How would you rate this session? | +| `code` | *Optional\* | :heavy_minus_sign: | Question code. | CODE_A | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionJson3.md b/packages/java/docs/models/components/QuestionJson3.md deleted file mode 100644 index 23ce36c2f..000000000 --- a/packages/java/docs/models/components/QuestionJson3.md +++ /dev/null @@ -1,12 +0,0 @@ -# QuestionJson3 - -The question that was answered. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the question. | 861b51ec-aa7e-475f-b38d-4c8e35c47d63 | -| `text` | *Optional\* | :heavy_minus_sign: | Question text. | How would you rate this session? | -| `code` | *Optional\* | :heavy_minus_sign: | Question code. | CODE_A | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionPaginatedResponse.md b/packages/java/docs/models/components/QuestionPaginatedResponse.md index b231a60ce..3a3d7bc23 100644 --- a/packages/java/docs/models/components/QuestionPaginatedResponse.md +++ b/packages/java/docs/models/components/QuestionPaginatedResponse.md @@ -7,5 +7,5 @@ A paginated list of Questions. | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `paging` | [Optional\](../../models/components/PagingJson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `paging` | [Optional\](../../models/components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | | `data` | List\<[Question](../../models/components/Question.md)> | :heavy_minus_sign: | Collection of Questions. | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionResponseDataType.md b/packages/java/docs/models/components/QuestionResponseDataType.md new file mode 100644 index 000000000..76c40c2f4 --- /dev/null +++ b/packages/java/docs/models/components/QuestionResponseDataType.md @@ -0,0 +1,24 @@ +# QuestionResponseDataType + +Code representing the expected data type of the question response. + +## Example Usage + +```java +import com.cvent.models.components.QuestionResponseDataType; + +QuestionResponseDataType value = QuestionResponseDataType.TEXT; +``` + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `TEXT` | text | +| `DATE` | date | +| `DATE_TIME` | date_time | +| `TIME` | time | +| `NUMBER` | number | +| `EMAIL` | email | +| `BOOLEAN` | boolean | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionResponseDataTypeJson.md b/packages/java/docs/models/components/QuestionResponseDataTypeJson.md deleted file mode 100644 index 5de5e8739..000000000 --- a/packages/java/docs/models/components/QuestionResponseDataTypeJson.md +++ /dev/null @@ -1,24 +0,0 @@ -# QuestionResponseDataTypeJson - -Code representing the expected data type of the question response. - -## Example Usage - -```java -import com.cvent.models.components.QuestionResponseDataTypeJson; - -QuestionResponseDataTypeJson value = QuestionResponseDataTypeJson.TEXT; -``` - - -## Values - -| Name | Value | -| ----------- | ----------- | -| `TEXT` | text | -| `DATE` | date | -| `DATE_TIME` | date_time | -| `TIME` | time | -| `NUMBER` | number | -| `EMAIL` | email | -| `BOOLEAN` | boolean | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionResponseFormat.md b/packages/java/docs/models/components/QuestionResponseFormat.md new file mode 100644 index 000000000..19c987068 --- /dev/null +++ b/packages/java/docs/models/components/QuestionResponseFormat.md @@ -0,0 +1,20 @@ +# QuestionResponseFormat + +Code representing the format the text of the response will be in. + +## Example Usage + +```java +import com.cvent.models.components.QuestionResponseFormat; + +QuestionResponseFormat value = QuestionResponseFormat.LOWER_CASE; +``` + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `LOWER_CASE` | lower_case | +| `PROPER_CASE` | proper_case | +| `UPPER_CASE` | upper_case | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionResponseFormatJson.md b/packages/java/docs/models/components/QuestionResponseFormatJson.md deleted file mode 100644 index 0fdaa37d2..000000000 --- a/packages/java/docs/models/components/QuestionResponseFormatJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# QuestionResponseFormatJson - -Code representing the format the text of the response will be in. - -## Example Usage - -```java -import com.cvent.models.components.QuestionResponseFormatJson; - -QuestionResponseFormatJson value = QuestionResponseFormatJson.LOWER_CASE; -``` - - -## Values - -| Name | Value | -| ------------- | ------------- | -| `LOWER_CASE` | lower_case | -| `PROPER_CASE` | proper_case | -| `UPPER_CASE` | upper_case | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionResponseJson.md b/packages/java/docs/models/components/QuestionResponseJson.md index a6e6218b0..ef9d7cef5 100644 --- a/packages/java/docs/models/components/QuestionResponseJson.md +++ b/packages/java/docs/models/components/QuestionResponseJson.md @@ -7,5 +7,5 @@ A Question response. | Field | Type | Required | Description | | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `question` | [Optional\](../../models/components/QuestionJson3.md) | :heavy_minus_sign: | The question that was answered. | +| `question` | [Optional\](../../models/components/QuestionJson2.md) | :heavy_minus_sign: | The question that was answered. | | `answers` | List\<[AnswerJson1](../../models/components/AnswerJson1.md)> | :heavy_minus_sign: | List of answers. | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionResponseType.md b/packages/java/docs/models/components/QuestionResponseType.md new file mode 100644 index 000000000..743657965 --- /dev/null +++ b/packages/java/docs/models/components/QuestionResponseType.md @@ -0,0 +1,19 @@ +# QuestionResponseType + +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. + +## Example Usage + +```java +import com.cvent.models.components.QuestionResponseType; + +QuestionResponseType value = QuestionResponseType.SINGLE; +``` + + +## Values + +| Name | Value | +| -------- | -------- | +| `SINGLE` | single | +| `CHOICE` | choice | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionResponseTypeJson.md b/packages/java/docs/models/components/QuestionResponseTypeJson.md deleted file mode 100644 index a8be174fc..000000000 --- a/packages/java/docs/models/components/QuestionResponseTypeJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# QuestionResponseTypeJson - -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. - -## Example Usage - -```java -import com.cvent.models.components.QuestionResponseTypeJson; - -QuestionResponseTypeJson value = QuestionResponseTypeJson.SINGLE; -``` - - -## Values - -| Name | Value | -| -------- | -------- | -| `SINGLE` | single | -| `CHOICE` | choice | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionSection.md b/packages/java/docs/models/components/QuestionSection.md new file mode 100644 index 000000000..9cd6ffade --- /dev/null +++ b/packages/java/docs/models/components/QuestionSection.md @@ -0,0 +1,19 @@ +# QuestionSection + +Code representing the section where the question belongs. Currently, program_client (client specific) and program_g_and_m (group and meeting) are supported. + +## Example Usage + +```java +import com.cvent.models.components.QuestionSection; + +QuestionSection value = QuestionSection.PROGRAM_CLIENT; +``` + + +## Values + +| Name | Value | +| ----------------- | ----------------- | +| `PROGRAM_CLIENT` | program_client | +| `PROGRAM_G_AND_M` | program_g_and_m | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionSectionJson.md b/packages/java/docs/models/components/QuestionSectionJson.md deleted file mode 100644 index 82c4bc8cc..000000000 --- a/packages/java/docs/models/components/QuestionSectionJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# QuestionSectionJson - -Code representing the section where the question belongs. Currently, program_client (client specific) and program_g_and_m (group and meeting) are supported. - -## Example Usage - -```java -import com.cvent.models.components.QuestionSectionJson; - -QuestionSectionJson value = QuestionSectionJson.PROGRAM_CLIENT; -``` - - -## Values - -| Name | Value | -| ----------------- | ----------------- | -| `PROGRAM_CLIENT` | program_client | -| `PROGRAM_G_AND_M` | program_g_and_m | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionType.md b/packages/java/docs/models/components/QuestionType.md new file mode 100644 index 000000000..e04b803c1 --- /dev/null +++ b/packages/java/docs/models/components/QuestionType.md @@ -0,0 +1,39 @@ +# QuestionType + +The type of question. See [this article](https://support.cvent.com/s/communityarticle/Survey-Adding-Questions) for details on each enum. + +## Example Usage + +```java +import com.cvent.models.components.QuestionType; + +QuestionType value = QuestionType.COMMENT_BOX; +``` + + +## Values + +| Name | Value | +| ----------------------------- | ----------------------------- | +| `COMMENT_BOX` | CommentBox | +| `DATE_TIME` | DateTime | +| `FILE_UPLOAD` | FileUpload | +| `FORM` | Form | +| `LARGE_CHOICES` | LargeChoices | +| `MATRIX_MULTI_CHOICE` | MatrixMultiChoice | +| `MATRIX_RATING` | MatrixRating | +| `MATRIX_SIDE_BY_SIDE` | MatrixSideBySide | +| `MATRIX_SINGLE_CHOICE` | MatrixSingleChoice | +| `MATRIX_SPREAD_SHEET` | MatrixSpreadSheet | +| `MULTI_CHOICE` | MultiChoice | +| `NET_PROMOTER` | NetPromoter | +| `NUMBER` | Number | +| `NUMBER_ALLOCATION` | NumberAllocation | +| `OPEN_ENDED_DATE_TIME` | OpenEndedDateTime | +| `OPEN_ENDED_NUMERIC` | OpenEndedNumeric | +| `OPEN_ENDED_TEXT_COMMENT_BOX` | OpenEndedTextCommentBox | +| `OPEN_ENDED_TEXT_ONE_LINE` | OpenEndedTextOneLine | +| `RANK_ORDER` | RankOrder | +| `RATING` | Rating | +| `SINGLE_CHOICE` | SingleChoice | +| `TEXT` | Text | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionTypeJson.md b/packages/java/docs/models/components/QuestionTypeJson.md index 156d0b90f..2454892fd 100644 --- a/packages/java/docs/models/components/QuestionTypeJson.md +++ b/packages/java/docs/models/components/QuestionTypeJson.md @@ -1,39 +1,36 @@ # QuestionTypeJson -The type of question. See [this article](https://support.cvent.com/s/communityarticle/Survey-Adding-Questions) for details on each enum. +Denotes the type of data collected by a question. ## Example Usage ```java import com.cvent.models.components.QuestionTypeJson; -QuestionTypeJson value = QuestionTypeJson.COMMENT_BOX; +QuestionTypeJson value = QuestionTypeJson.AUTO_INCREMENT; ``` ## Values -| Name | Value | -| ----------------------------- | ----------------------------- | -| `COMMENT_BOX` | CommentBox | -| `DATE_TIME` | DateTime | -| `FILE_UPLOAD` | FileUpload | -| `FORM` | Form | -| `LARGE_CHOICES` | LargeChoices | -| `MATRIX_MULTI_CHOICE` | MatrixMultiChoice | -| `MATRIX_RATING` | MatrixRating | -| `MATRIX_SIDE_BY_SIDE` | MatrixSideBySide | -| `MATRIX_SINGLE_CHOICE` | MatrixSingleChoice | -| `MATRIX_SPREAD_SHEET` | MatrixSpreadSheet | -| `MULTI_CHOICE` | MultiChoice | -| `NET_PROMOTER` | NetPromoter | -| `NUMBER` | Number | -| `NUMBER_ALLOCATION` | NumberAllocation | -| `OPEN_ENDED_DATE_TIME` | OpenEndedDateTime | -| `OPEN_ENDED_NUMERIC` | OpenEndedNumeric | -| `OPEN_ENDED_TEXT_COMMENT_BOX` | OpenEndedTextCommentBox | -| `OPEN_ENDED_TEXT_ONE_LINE` | OpenEndedTextOneLine | -| `RANK_ORDER` | RankOrder | -| `RATING` | Rating | -| `SINGLE_CHOICE` | SingleChoice | -| `TEXT` | Text | \ No newline at end of file +| Name | Value | +| ---------------------------- | ---------------------------- | +| `AUTO_INCREMENT` | AutoIncrement | +| `BUDGET_ESTIMATES` | BudgetEstimates | +| `CONSENT_QUESTION` | ConsentQuestion | +| `COUNTRY` | Country | +| `CURRENCY` | Currency | +| `DECIMAL` | Decimal | +| `DATE` | Date | +| `DATE_TIME` | DateTime | +| `EMAIL` | Email | +| `FILE_UPLOAD` | FileUpload | +| `FREE_TEXT` | FreeText | +| `GENERAL` | General | +| `NUMBER` | Number | +| `MEETING_ROOM_REQUIREMENTS` | MeetingRoomRequirements | +| `MULTI_SELECT` | MultiSelect | +| `SINGLE_SELECT` | SingleSelect | +| `SLEEPING_ROOM_REQUIREMENTS` | SleepingRoomRequirements | +| `US_PHONE_NUMBER` | USPhoneNumber | +| `UNKNOWN` | Unknown | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionTypeJson1.md b/packages/java/docs/models/components/QuestionTypeJson1.md index 7be953079..98afd7ab5 100644 --- a/packages/java/docs/models/components/QuestionTypeJson1.md +++ b/packages/java/docs/models/components/QuestionTypeJson1.md @@ -1,36 +1,35 @@ # QuestionTypeJson1 -Denotes the type of data collected by a question. +Question Type. ## Example Usage ```java import com.cvent.models.components.QuestionTypeJson1; -QuestionTypeJson1 value = QuestionTypeJson1.AUTO_INCREMENT; +QuestionTypeJson1 value = QuestionTypeJson1.SINGLE_CHOICE; ``` ## Values -| Name | Value | -| ---------------------------- | ---------------------------- | -| `AUTO_INCREMENT` | AutoIncrement | -| `BUDGET_ESTIMATES` | BudgetEstimates | -| `CONSENT_QUESTION` | ConsentQuestion | -| `COUNTRY` | Country | -| `CURRENCY` | Currency | -| `DECIMAL` | Decimal | -| `DATE` | Date | -| `DATE_TIME` | DateTime | -| `EMAIL` | Email | -| `FILE_UPLOAD` | FileUpload | -| `FREE_TEXT` | FreeText | -| `GENERAL` | General | -| `NUMBER` | Number | -| `MEETING_ROOM_REQUIREMENTS` | MeetingRoomRequirements | -| `MULTI_SELECT` | MultiSelect | -| `SINGLE_SELECT` | SingleSelect | -| `SLEEPING_ROOM_REQUIREMENTS` | SleepingRoomRequirements | -| `US_PHONE_NUMBER` | USPhoneNumber | -| `UNKNOWN` | Unknown | \ No newline at end of file +| Name | Value | +| ---------------------- | ---------------------- | +| `SINGLE_CHOICE` | SingleChoice | +| `MULTI_CHOICE` | MultiChoice | +| `MATRIX_SINGLE_CHOICE` | MatrixSingleChoice | +| `MATRIX_MULTI_CHOICE` | MatrixMultiChoice | +| `MATRIX_SIDE_BY_SIDE` | MatrixSideBySide | +| `MATRIX_SPREAD_SHEET` | MatrixSpreadSheet | +| `DATE_TIME` | DateTime | +| `NUMBER` | Number | +| `TEXT` | Text | +| `COMMENT_BOX` | CommentBox | +| `FORM` | Form | +| `RANK_ORDER` | RankOrder | +| `FILE_UPLOAD` | FileUpload | +| `NET_PROMOTER` | NetPromoter | +| `RATING` | Rating | +| `MATRIX_RATING` | MatrixRating | +| `NUMBER_ALLOCATION` | NumberAllocation | +| `LARGE_CHOICES` | LargeChoices | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionTypeJson2.md b/packages/java/docs/models/components/QuestionTypeJson2.md index 4305dda72..39c538a06 100644 --- a/packages/java/docs/models/components/QuestionTypeJson2.md +++ b/packages/java/docs/models/components/QuestionTypeJson2.md @@ -1,6 +1,6 @@ # QuestionTypeJson2 -Question Type. +This object represents the type of a question ## Example Usage @@ -13,23 +13,14 @@ QuestionTypeJson2 value = QuestionTypeJson2.SINGLE_CHOICE; ## Values -| Name | Value | -| ---------------------- | ---------------------- | -| `SINGLE_CHOICE` | SingleChoice | -| `MULTI_CHOICE` | MultiChoice | -| `MATRIX_SINGLE_CHOICE` | MatrixSingleChoice | -| `MATRIX_MULTI_CHOICE` | MatrixMultiChoice | -| `MATRIX_SIDE_BY_SIDE` | MatrixSideBySide | -| `MATRIX_SPREAD_SHEET` | MatrixSpreadSheet | -| `DATE_TIME` | DateTime | -| `NUMBER` | Number | -| `TEXT` | Text | -| `COMMENT_BOX` | CommentBox | -| `FORM` | Form | -| `RANK_ORDER` | RankOrder | -| `FILE_UPLOAD` | FileUpload | -| `NET_PROMOTER` | NetPromoter | -| `RATING` | Rating | -| `MATRIX_RATING` | MatrixRating | -| `NUMBER_ALLOCATION` | NumberAllocation | -| `LARGE_CHOICES` | LargeChoices | \ No newline at end of file +| Name | Value | +| ----------------------------- | ----------------------------- | +| `SINGLE_CHOICE` | SingleChoice | +| `MULTI_CHOICE` | MultiChoice | +| `OPEN_ENDED_DATE_TIME` | OpenEndedDateTime | +| `OPEN_ENDED_TEXT_ONE_LINE` | OpenEndedTextOneLine | +| `OPEN_ENDED_TEXT_COMMENT_BOX` | OpenEndedTextCommentBox | +| `OPEN_ENDED_NUMERIC` | OpenEndedNumeric | +| `FILE_UPLOAD` | FileUpload | +| `MATRIX_SINGLE_PER_ROW` | MatrixSinglePerRow | +| `MATRIX_MULTI_PER_ROW` | MatrixMultiPerRow | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionTypeJson3.md b/packages/java/docs/models/components/QuestionTypeJson3.md deleted file mode 100644 index 49b0529d1..000000000 --- a/packages/java/docs/models/components/QuestionTypeJson3.md +++ /dev/null @@ -1,26 +0,0 @@ -# QuestionTypeJson3 - -This object represents the type of a question - -## Example Usage - -```java -import com.cvent.models.components.QuestionTypeJson3; - -QuestionTypeJson3 value = QuestionTypeJson3.SINGLE_CHOICE; -``` - - -## Values - -| Name | Value | -| ----------------------------- | ----------------------------- | -| `SINGLE_CHOICE` | SingleChoice | -| `MULTI_CHOICE` | MultiChoice | -| `OPEN_ENDED_DATE_TIME` | OpenEndedDateTime | -| `OPEN_ENDED_TEXT_ONE_LINE` | OpenEndedTextOneLine | -| `OPEN_ENDED_TEXT_COMMENT_BOX` | OpenEndedTextCommentBox | -| `OPEN_ENDED_NUMERIC` | OpenEndedNumeric | -| `FILE_UPLOAD` | FileUpload | -| `MATRIX_SINGLE_PER_ROW` | MatrixSinglePerRow | -| `MATRIX_MULTI_PER_ROW` | MatrixMultiPerRow | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionWithProgramIdJson.md b/packages/java/docs/models/components/QuestionWithProgramIdJson.md deleted file mode 100644 index 59b3e6770..000000000 --- a/packages/java/docs/models/components/QuestionWithProgramIdJson.md +++ /dev/null @@ -1,21 +0,0 @@ -# QuestionWithProgramIdJson - -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/QuestionWithProgramIdJsonTravelProgram.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/QuestionResponseTypeJson.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/QuestionResponseDataTypeJson.md) | :heavy_minus_sign: | Code representing the expected data type of the question response. | text | -| `responseFormat` | [Optional\](../../models/components/QuestionResponseFormatJson.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/QuestionWithProgramIdJsonTravelProgram.md b/packages/java/docs/models/components/QuestionWithProgramIdJsonTravelProgram.md deleted file mode 100644 index 582283e56..000000000 --- a/packages/java/docs/models/components/QuestionWithProgramIdJsonTravelProgram.md +++ /dev/null @@ -1,10 +0,0 @@ -# QuestionWithProgramIdJsonTravelProgram - -Travel program that the question belongs to. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the travel program. | ddc61444-45c7-4e1d-9fdd-07713c8baf9b | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionsPaginatedResponse.md b/packages/java/docs/models/components/QuestionsPaginatedResponse.md index aec6f5813..481d282bd 100644 --- a/packages/java/docs/models/components/QuestionsPaginatedResponse.md +++ b/packages/java/docs/models/components/QuestionsPaginatedResponse.md @@ -8,4 +8,4 @@ Response include paging and collection of questions of surveys | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | | `paging` | [PagingJson](../../models/components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | List\<[QuestionJson2](../../models/components/QuestionJson2.md)> | :heavy_check_mark: | Collection of questions for surveys. | \ No newline at end of file +| `data` | List\<[QuestionJson1](../../models/components/QuestionJson1.md)> | :heavy_check_mark: | Collection of questions for surveys. | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionsPaginatedResponse1.md b/packages/java/docs/models/components/QuestionsPaginatedResponse1.md index 2b43e0b5c..937250459 100644 --- a/packages/java/docs/models/components/QuestionsPaginatedResponse1.md +++ b/packages/java/docs/models/components/QuestionsPaginatedResponse1.md @@ -5,7 +5,7 @@ A paginated list of Questions. ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `paging` | [Optional\](../../models/components/PagingJson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `data` | List\<[QuestionWithProgramIdJson](../../models/components/QuestionWithProgramIdJson.md)> | :heavy_minus_sign: | Collection of Questions. | \ No newline at end of file +| 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 diff --git a/packages/java/docs/models/components/RateLevelType.md b/packages/java/docs/models/components/RateLevelType.md new file mode 100644 index 000000000..62474735c --- /dev/null +++ b/packages/java/docs/models/components/RateLevelType.md @@ -0,0 +1,20 @@ +# RateLevelType + +Rate level + +## Example Usage + +```java +import com.cvent.models.components.RateLevelType; + +RateLevelType value = RateLevelType.CORPORATE; +``` + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `CORPORATE` | corporate | +| `LEISURE` | leisure | +| `GOVERNMENT` | government | \ No newline at end of file diff --git a/packages/java/docs/models/components/RateLevelTypeJson.md b/packages/java/docs/models/components/RateLevelTypeJson.md deleted file mode 100644 index cd4958a13..000000000 --- a/packages/java/docs/models/components/RateLevelTypeJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# RateLevelTypeJson - -Rate level - -## Example Usage - -```java -import com.cvent.models.components.RateLevelTypeJson; - -RateLevelTypeJson value = RateLevelTypeJson.CORPORATE; -``` - - -## Values - -| Name | Value | -| ------------ | ------------ | -| `CORPORATE` | corporate | -| `LEISURE` | leisure | -| `GOVERNMENT` | government | \ No newline at end of file diff --git a/packages/java/docs/models/components/RateReviewStatusType.md b/packages/java/docs/models/components/RateReviewStatusType.md new file mode 100644 index 000000000..88e9928b5 --- /dev/null +++ b/packages/java/docs/models/components/RateReviewStatusType.md @@ -0,0 +1,21 @@ +# RateReviewStatusType + +The rate review status of the proposal + +## Example Usage + +```java +import com.cvent.models.components.RateReviewStatusType; + +RateReviewStatusType value = RateReviewStatusType.REQUESTED; +``` + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `REQUESTED` | requested | +| `NOT_REQUIRED` | not_required | +| `APPROVED` | approved | +| `REJECTED` | rejected | \ No newline at end of file diff --git a/packages/java/docs/models/components/RateReviewStatusTypeJson.md b/packages/java/docs/models/components/RateReviewStatusTypeJson.md deleted file mode 100644 index 4996eeaad..000000000 --- a/packages/java/docs/models/components/RateReviewStatusTypeJson.md +++ /dev/null @@ -1,21 +0,0 @@ -# RateReviewStatusTypeJson - -The rate review status of the proposal - -## Example Usage - -```java -import com.cvent.models.components.RateReviewStatusTypeJson; - -RateReviewStatusTypeJson value = RateReviewStatusTypeJson.REQUESTED; -``` - - -## Values - -| Name | Value | -| -------------- | -------------- | -| `REQUESTED` | requested | -| `NOT_REQUIRED` | not_required | -| `APPROVED` | approved | -| `REJECTED` | rejected | \ No newline at end of file diff --git a/packages/java/docs/models/components/RateType.md b/packages/java/docs/models/components/RateType.md new file mode 100644 index 000000000..55b294ab1 --- /dev/null +++ b/packages/java/docs/models/components/RateType.md @@ -0,0 +1,20 @@ +# RateType + +Rate type. + +## Example Usage + +```java +import com.cvent.models.components.RateType; + +RateType value = RateType.FIXED; +``` + + +## Values + +| Name | Value | +| -------------------- | -------------------- | +| `FIXED` | fixed | +| `DYNAMIC` | dynamic | +| `DYNAMICWITHCEILING` | dynamicwithceiling | \ No newline at end of file diff --git a/packages/java/docs/models/components/RateTypeJson.md b/packages/java/docs/models/components/RateTypeJson.md deleted file mode 100644 index 2898337c0..000000000 --- a/packages/java/docs/models/components/RateTypeJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# RateTypeJson - -Rate type. - -## Example Usage - -```java -import com.cvent.models.components.RateTypeJson; - -RateTypeJson value = RateTypeJson.FIXED; -``` - - -## Values - -| Name | Value | -| -------------------- | -------------------- | -| `FIXED` | fixed | -| `DYNAMIC` | dynamic | -| `DYNAMICWITHCEILING` | dynamicwithceiling | \ No newline at end of file diff --git a/packages/java/docs/models/components/RebateType.md b/packages/java/docs/models/components/RebateType.md new file mode 100644 index 000000000..4153fe42e --- /dev/null +++ b/packages/java/docs/models/components/RebateType.md @@ -0,0 +1,19 @@ +# RebateType + +Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will represent a percentage. + +## Example Usage + +```java +import com.cvent.models.components.RebateType; + +RebateType value = RebateType.BY_AMOUNT; +``` + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `BY_AMOUNT` | BY_AMOUNT | +| `BY_PERCENTAGE` | BY_PERCENTAGE | \ No newline at end of file diff --git a/packages/java/docs/models/components/RebateTypeJson.md b/packages/java/docs/models/components/RebateTypeJson.md deleted file mode 100644 index 9e3420ffe..000000000 --- a/packages/java/docs/models/components/RebateTypeJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# RebateTypeJson - -Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will represent a percentage. - -## Example Usage - -```java -import com.cvent.models.components.RebateTypeJson; - -RebateTypeJson value = RebateTypeJson.BY_AMOUNT; -``` - - -## Values - -| Name | Value | -| --------------- | --------------- | -| `BY_AMOUNT` | BY_AMOUNT | -| `BY_PERCENTAGE` | BY_PERCENTAGE | \ No newline at end of file diff --git a/packages/java/docs/models/components/RecipientInfo.md b/packages/java/docs/models/components/RecipientInfo.md new file mode 100644 index 000000000..f252faeb2 --- /dev/null +++ b/packages/java/docs/models/components/RecipientInfo.md @@ -0,0 +1,12 @@ +# RecipientInfo + +Represents the details of the RFP recipient. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `order` | *Optional\* | :heavy_minus_sign: | The position at which this recipient will be displayed. | 2 | +| `type` | [Optional\](../../models/components/RecipientType.md) | :heavy_minus_sign: | Type of Recipient | | +| `value` | *Optional\* | :heavy_minus_sign: | If the recipient is ACCOUNT_USER or ACCOUNT_USER_GROUP, this field holds their unique ID. If the recipient is EMAIL, this field holds the email provided by the user. | janeDoe@example.com | \ No newline at end of file diff --git a/packages/java/docs/models/components/RecipientInfoJson0.md b/packages/java/docs/models/components/RecipientInfoJson0.md deleted file mode 100644 index 5d2bfd583..000000000 --- a/packages/java/docs/models/components/RecipientInfoJson0.md +++ /dev/null @@ -1,12 +0,0 @@ -# RecipientInfoJson0 - -Represents the details of the RFP recipient. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `order` | *Optional\* | :heavy_minus_sign: | The position at which this recipient will be displayed. | 2 | -| `type` | [Optional\](../../models/components/RecipientTypeJson0.md) | :heavy_minus_sign: | Type of Recipient | | -| `value` | *Optional\* | :heavy_minus_sign: | If the recipient is ACCOUNT_USER or ACCOUNT_USER_GROUP, this field holds their unique ID. If the recipient is EMAIL, this field holds the email provided by the user. | janeDoe@example.com | \ No newline at end of file diff --git a/packages/java/docs/models/components/RecipientType.md b/packages/java/docs/models/components/RecipientType.md new file mode 100644 index 000000000..e06cbac2d --- /dev/null +++ b/packages/java/docs/models/components/RecipientType.md @@ -0,0 +1,20 @@ +# RecipientType + +Type of Recipient + +## Example Usage + +```java +import com.cvent.models.components.RecipientType; + +RecipientType value = RecipientType.EMAIL; +``` + + +## Values + +| Name | Value | +| -------------------- | -------------------- | +| `EMAIL` | EMAIL | +| `ACCOUNT_USER` | ACCOUNT_USER | +| `ACCOUNT_USER_GROUP` | ACCOUNT_USER_GROUP | \ No newline at end of file diff --git a/packages/java/docs/models/components/RecipientTypeJson0.md b/packages/java/docs/models/components/RecipientTypeJson0.md deleted file mode 100644 index 81741fb3b..000000000 --- a/packages/java/docs/models/components/RecipientTypeJson0.md +++ /dev/null @@ -1,20 +0,0 @@ -# RecipientTypeJson0 - -Type of Recipient - -## Example Usage - -```java -import com.cvent.models.components.RecipientTypeJson0; - -RecipientTypeJson0 value = RecipientTypeJson0.EMAIL; -``` - - -## Values - -| Name | Value | -| -------------------- | -------------------- | -| `EMAIL` | EMAIL | -| `ACCOUNT_USER` | ACCOUNT_USER | -| `ACCOUNT_USER_GROUP` | ACCOUNT_USER_GROUP | \ No newline at end of file diff --git a/packages/java/docs/models/components/RegistrationPackRequest.md b/packages/java/docs/models/components/RegistrationPackRequest.md index 08ad06da1..1206bd928 100644 --- a/packages/java/docs/models/components/RegistrationPackRequest.md +++ b/packages/java/docs/models/components/RegistrationPackRequest.md @@ -7,6 +7,6 @@ A registration pack defining the registration type capacity allocations for an e | Field | Type | Required | Description | | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `event` | [Event21](../../models/components/Event21.md) | :heavy_check_mark: | The Associated Event. | +| `event` | [Event3](../../models/components/Event3.md) | :heavy_check_mark: | The Associated Event. | | `exhibitor` | [Exhibitor](../../models/components/Exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | `capacities` | List\<[Capacity](../../models/components/Capacity.md)> | :heavy_check_mark: | An array of capacities for the registration pack. | \ No newline at end of file diff --git a/packages/java/docs/models/components/RegistrationPackResponse.md b/packages/java/docs/models/components/RegistrationPackResponse.md index f420f08d4..4d51bd03c 100644 --- a/packages/java/docs/models/components/RegistrationPackResponse.md +++ b/packages/java/docs/models/components/RegistrationPackResponse.md @@ -8,6 +8,6 @@ Schema for existing registration pack object | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | | `id` | *String* | :heavy_check_mark: | Registration pack id | 50f4f0df-0c2d-4e6b-8e68-e1413b6917f5 | -| `event` | [Event21](../../models/components/Event21.md) | :heavy_check_mark: | The Associated Event. | | +| `event` | [Event3](../../models/components/Event3.md) | :heavy_check_mark: | The Associated Event. | | | `exhibitor` | [Exhibitor](../../models/components/Exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | | `capacities` | List\<[ExistingCapacity](../../models/components/ExistingCapacity.md)> | :heavy_check_mark: | Capacities allocated per registration type for this exhibitor's registration pack. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ReservationGuestJsonInput.md b/packages/java/docs/models/components/ReservationGuestJsonInput.md index c01e1175c..4c364ae2b 100644 --- a/packages/java/docs/models/components/ReservationGuestJsonInput.md +++ b/packages/java/docs/models/components/ReservationGuestJsonInput.md @@ -19,7 +19,7 @@ Guest details for confirmed reservation. | `email` | *String* | :heavy_check_mark: | Email address of the guest. | guest@cvent.com | | `homePhone` | *Optional\* | :heavy_minus_sign: | Home phone number of the guest. Required if the hotel/event requires address in reservations. | (231)-213-1222 | | `workPhone` | *Optional\* | :heavy_minus_sign: | Work phone number of the guest. | (231)-213-1222 | -| `homeAddress` | [Optional\](../../models/components/AddressJson2.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | +| `homeAddress` | [Optional\](../../models/components/AddressJson.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | | `paymentInfo` | [Optional\](../../models/components/ReservationPaymentInfoJsonInput.md) | :heavy_minus_sign: | Payment information. | | | `ageQualifyingCode` | [Optional\](../../models/components/AgeQualifyingCode.md) | :heavy_minus_sign: | Code that specifies if the guest is an adult or child. (10 - adult, 8 - child) | | | `primary` | *Optional\* | :heavy_minus_sign: | True indicates this guest is the primary guest for the reservation. | true | diff --git a/packages/java/docs/models/components/ReservationGuestJsonOutput.md b/packages/java/docs/models/components/ReservationGuestJsonOutput.md index 77c4ce49f..dab06fcf7 100644 --- a/packages/java/docs/models/components/ReservationGuestJsonOutput.md +++ b/packages/java/docs/models/components/ReservationGuestJsonOutput.md @@ -19,7 +19,7 @@ Guest details for confirmed reservation. | `email` | *String* | :heavy_check_mark: | Email address of the guest. | guest@cvent.com | | `homePhone` | *Optional\* | :heavy_minus_sign: | Home phone number of the guest. Required if the hotel/event requires address in reservations. | (231)-213-1222 | | `workPhone` | *Optional\* | :heavy_minus_sign: | Work phone number of the guest. | (231)-213-1222 | -| `homeAddress` | [Optional\](../../models/components/AddressJson2.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | +| `homeAddress` | [Optional\](../../models/components/AddressJson.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | | `paymentInfo` | [Optional\](../../models/components/ReservationPaymentInfoJsonOutput.md) | :heavy_minus_sign: | Payment information. | | | `ageQualifyingCode` | [Optional\](../../models/components/AgeQualifyingCode.md) | :heavy_minus_sign: | Code that specifies if the guest is an adult or child. (10 - adult, 8 - child) | | | `primary` | *Optional\* | :heavy_minus_sign: | True indicates this guest is the primary guest for the reservation. | true | diff --git a/packages/java/docs/models/components/ReservationPaymentInfoJsonInput.md b/packages/java/docs/models/components/ReservationPaymentInfoJsonInput.md index e0faf4b52..6ab65f31d 100644 --- a/packages/java/docs/models/components/ReservationPaymentInfoJsonInput.md +++ b/packages/java/docs/models/components/ReservationPaymentInfoJsonInput.md @@ -9,7 +9,7 @@ Payment information. | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | | `paymentType` | [Optional\](../../models/components/PaymentTypesJson.md) | :heavy_minus_sign: | Payment type. | | | `fullName` | *Optional\* | :heavy_minus_sign: | Full name. | Gustav Schultz | -| `address` | [Optional\](../../models/components/AddressJson2.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | +| `address` | [Optional\](../../models/components/AddressJson.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | | `phone` | *Optional\* | :heavy_minus_sign: | Phone number. | (231)213-1222 | | `other` | [Optional\](../../models/components/OtherPaymentJson.md) | :heavy_minus_sign: | Other payment details. | | | `creditCard` | [Optional\](../../models/components/TokenizedCreditCardJsonInput.md) | :heavy_minus_sign: | Credit card info. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ReservationPaymentInfoJsonOutput.md b/packages/java/docs/models/components/ReservationPaymentInfoJsonOutput.md index e2c9492e7..26e06b4ba 100644 --- a/packages/java/docs/models/components/ReservationPaymentInfoJsonOutput.md +++ b/packages/java/docs/models/components/ReservationPaymentInfoJsonOutput.md @@ -9,7 +9,7 @@ Payment information. | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | | `paymentType` | [Optional\](../../models/components/PaymentTypesJson.md) | :heavy_minus_sign: | Payment type. | | | `fullName` | *Optional\* | :heavy_minus_sign: | Full name. | Gustav Schultz | -| `address` | [Optional\](../../models/components/AddressJson2.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | +| `address` | [Optional\](../../models/components/AddressJson.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | | `phone` | *Optional\* | :heavy_minus_sign: | Phone number. | (231)213-1222 | | `other` | [Optional\](../../models/components/OtherPaymentJson.md) | :heavy_minus_sign: | Other payment details. | | | `creditCard` | [Optional\](../../models/components/TokenizedCreditCardJsonOutput.md) | :heavy_minus_sign: | Credit card info. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/RespondentJson.md b/packages/java/docs/models/components/RespondentJson.md index a462f24e0..89ecd2028 100644 --- a/packages/java/docs/models/components/RespondentJson.md +++ b/packages/java/docs/models/components/RespondentJson.md @@ -22,7 +22,7 @@ Respondent object for survey respondents. | `percentageScore` | *Optional\* | :heavy_minus_sign: | Respondent Percentage Score | 70 | | `links` | [Optional\](../../models/components/RespondentJsonLinks.md) | :heavy_minus_sign: | Related links. | | | `sourceId` | *Optional\* | :heavy_minus_sign: | Source IDs track respondents in an external system integrated with the Cvent survey. | IN4IDS1 | -| `event` | [Optional\](../../models/components/EventJson4.md) | :heavy_minus_sign: | Detail object of an event which is associated to a survey. | | +| `event` | [Optional\](../../models/components/EventJson3.md) | :heavy_minus_sign: | Detail object of an event which is associated to a survey. | | | `contact` | [Optional\](../../models/components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | | `attendee` | [Optional\](../../models/components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | | `survey` | [Optional\](../../models/components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | diff --git a/packages/java/docs/models/components/Rfp.md b/packages/java/docs/models/components/Rfp.md index 0d5e086a7..59a608a06 100644 --- a/packages/java/docs/models/components/Rfp.md +++ b/packages/java/docs/models/components/Rfp.md @@ -14,43 +14,43 @@ Basic RFP details | `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/DateRequirementsJson0.md) | :heavy_minus_sign: | Date requirements for the event. | | -| `rfpEvent` | [Optional\](../../models/components/RfpEventJson.md) | :heavy_minus_sign: | RFP event details. | | +| `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/ContactJson0.md) | :heavy_minus_sign: | Contact details of planner. | | -| `rfpEventOrganization` | [Optional\](../../models/components/RfpEventOrganizationJson.md) | :heavy_minus_sign: | Details of organization which is hosting the event. | | +| `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/BillingDetailsJson0.md) | :heavy_minus_sign: | Billing details for RFP. | | +| `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/MeasurementUnitJson0.md) | :heavy_minus_sign: | Measurement unit. | | -| `requiredCostItems` | List\<[OfferingCostTypeJson0](../../models/components/OfferingCostTypeJson0.md)> | :heavy_minus_sign: | This contains cost items which are marked as required for suppliers in the RFP. | [
"BREAK_AM",
"BREAK_PM"
] | -| `hiddenCostItems` | List\<[OfferingCostTypeJson0](../../models/components/OfferingCostTypeJson0.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"
] | +| `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\<[RecipientInfoJson0](../../models/components/RecipientInfoJson0.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"
}
] | +| `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/LeadSourceJson.md) | :heavy_minus_sign: | Lead source details. | | +| `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/WeddingDetailsJson0.md) | :heavy_minus_sign: | Wedding details. | | +| `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/PackagePricingPreferenceJson.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 | +| `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. | | | `id` | *String* | :heavy_check_mark: | Unique identifier for RFP. | 50dc08af-24a9-4d01-84be-3d43133dc945 | | `code` | *Optional\* | :heavy_minus_sign: | Unique code of RFP. | JBNJN7BGJ5J | -| `status` | [Optional\](../../models/components/RfpStatusJson0.md) | :heavy_minus_sign: | Represents state of the RFP. | | -| `type` | [Optional\](../../models/components/RfpTypeJson0.md) | :heavy_minus_sign: | RFP types based on event requirements. | | +| `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/CancellationDetailsJson.md) | :heavy_minus_sign: | Information about cancellation of RFP. | | +| `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 | diff --git a/packages/java/docs/models/components/RfpAgendaItem.md b/packages/java/docs/models/components/RfpAgendaItem.md new file mode 100644 index 000000000..f6313cff4 --- /dev/null +++ b/packages/java/docs/models/components/RfpAgendaItem.md @@ -0,0 +1,29 @@ +# RfpAgendaItem + +Agenda item associated with an RFP. + + +## 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 | +| `name` | *Optional\* | :heavy_minus_sign: | The name of the agenda item. | Agenda Item 1 | +| `type` | [Optional\](../../models/components/AgendaItemType.md) | :heavy_minus_sign: | Type of the agenda. | | +| `setup` | [Optional\](../../models/components/AgendaItemSetup.md) | :heavy_minus_sign: | Setup type for the agenda. | | +| `note` | *Optional\* | :heavy_minus_sign: | The note sent along with agenda item. | This is a sample comment for this agenda item. | +| `startTime` | *Optional\* | :heavy_minus_sign: | The start time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at event location. For RFPs spanning multiple time zones, this time applies uniformly in each location's respective timezone (e.g., 13:00:00 means 1 PM local time at every venue). | 10:00:00 | +| `endTime` | *Optional\* | :heavy_minus_sign: | The end time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at event location. For RFPs spanning multiple time zones, this time applies uniformly in each location's respective timezone (e.g., 14:00:00 means 2 PM local time at every venue). | 10:30:00 | +| `roomSize` | *Optional\* | :heavy_minus_sign: | The required room size. It is specified in the default measurement unit of the RFP. Use GET RFP API to get the default measurement unit. | 1000 | +| `attendeeCount` | *Optional\* | :heavy_minus_sign: | Expected number of people attending the agenda. | 10000 | +| `roomInfoRequired` | *Optional\* | :heavy_minus_sign: | True indicates room information like type, description is required. | false | +| `twentyFourHourHold` | *Optional\* | :heavy_minus_sign: | True indicates that twenty four hour hold is required. | true | +| `locatedAtPrimaryEventVenue` | *Optional\* | :heavy_minus_sign: | True indicates that agenda location is at primary event venue. | false | +| `rfpMeal` | [Optional\](../../models/components/RfpMeal.md) | :heavy_minus_sign: | Meal type offered during the agenda. | | +| `number` | *long* | :heavy_check_mark: | The sequence number of the agenda item. | 5 | +| `schedules` | List\<[RfpAgendaItemSchedule](../../models/components/RfpAgendaItemSchedule.md)> | :heavy_check_mark: | List of dates when this agenda item is scheduled. | | +| `id` | *String* | :heavy_check_mark: | Unique ID of the agenda item. | f56a51a4-84b0-46c9-a612-716dc95a1c96 | +| `agendaBuilderAttachment` | [Optional\](../../models/components/AgendaBuilderAttachment.md) | :heavy_minus_sign: | Attachment whose data was used to create the agenda item. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpAgendaItemJson.md b/packages/java/docs/models/components/RfpAgendaItemJson.md deleted file mode 100644 index 92cde504e..000000000 --- a/packages/java/docs/models/components/RfpAgendaItemJson.md +++ /dev/null @@ -1,29 +0,0 @@ -# RfpAgendaItemJson - -Agenda item associated with an RFP. - - -## 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 | -| `name` | *Optional\* | :heavy_minus_sign: | The name of the agenda item. | Agenda Item 1 | -| `type` | [Optional\](../../models/components/AgendaItemTypeJson.md) | :heavy_minus_sign: | Type of the agenda. | | -| `setup` | [Optional\](../../models/components/AgendaItemSetupJson.md) | :heavy_minus_sign: | Setup type for the agenda. | | -| `note` | *Optional\* | :heavy_minus_sign: | The note sent along with agenda item. | This is a sample comment for this agenda item. | -| `startTime` | *Optional\* | :heavy_minus_sign: | The start time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at event location. For RFPs spanning multiple time zones, this time applies uniformly in each location's respective timezone (e.g., 13:00:00 means 1 PM local time at every venue). | 10:00:00 | -| `endTime` | *Optional\* | :heavy_minus_sign: | The end time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at event location. For RFPs spanning multiple time zones, this time applies uniformly in each location's respective timezone (e.g., 14:00:00 means 2 PM local time at every venue). | 10:30:00 | -| `roomSize` | *Optional\* | :heavy_minus_sign: | The required room size. It is specified in the default measurement unit of the RFP. Use GET RFP API to get the default measurement unit. | 1000 | -| `attendeeCount` | *Optional\* | :heavy_minus_sign: | Expected number of people attending the agenda. | 10000 | -| `roomInfoRequired` | *Optional\* | :heavy_minus_sign: | True indicates room information like type, description is required. | false | -| `twentyFourHourHold` | *Optional\* | :heavy_minus_sign: | True indicates that twenty four hour hold is required. | true | -| `locatedAtPrimaryEventVenue` | *Optional\* | :heavy_minus_sign: | True indicates that agenda location is at primary event venue. | false | -| `rfpMeal` | [Optional\](../../models/components/RfpMealJson.md) | :heavy_minus_sign: | Meal type offered during the agenda. | | -| `number` | *long* | :heavy_check_mark: | The sequence number of the agenda item. | 5 | -| `schedules` | List\<[RfpAgendaItemScheduleJson](../../models/components/RfpAgendaItemScheduleJson.md)> | :heavy_check_mark: | List of dates when this agenda item is scheduled. | | -| `id` | *String* | :heavy_check_mark: | Unique ID of the agenda item. | f56a51a4-84b0-46c9-a612-716dc95a1c96 | -| `agendaBuilderAttachment` | [Optional\](../../models/components/AgendaBuilderAttachment.md) | :heavy_minus_sign: | Attachment whose data was used to create the agenda item. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpAgendaItemSchedule.md b/packages/java/docs/models/components/RfpAgendaItemSchedule.md new file mode 100644 index 000000000..cde854a95 --- /dev/null +++ b/packages/java/docs/models/components/RfpAgendaItemSchedule.md @@ -0,0 +1,11 @@ +# RfpAgendaItemSchedule + +Schedule information for an RFP agenda item. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `dayNumber` | *long* | :heavy_check_mark: | Day number relative to start of event on which the agenda item occurs. | 1 | +| `date` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 date of the agenda item. | 2021-07-03 | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpAgendaItemScheduleJson.md b/packages/java/docs/models/components/RfpAgendaItemScheduleJson.md deleted file mode 100644 index 94e3c911f..000000000 --- a/packages/java/docs/models/components/RfpAgendaItemScheduleJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# RfpAgendaItemScheduleJson - -Schedule information for an RFP agenda item. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | -| `dayNumber` | *long* | :heavy_check_mark: | Day number relative to start of event on which the agenda item occurs. | 1 | -| `date` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 date of the agenda item. | 2021-07-03 | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpAgendaItemScheduleWithId.md b/packages/java/docs/models/components/RfpAgendaItemScheduleWithId.md new file mode 100644 index 000000000..43619bfe8 --- /dev/null +++ b/packages/java/docs/models/components/RfpAgendaItemScheduleWithId.md @@ -0,0 +1,12 @@ +# RfpAgendaItemScheduleWithId + +Contains RFP specific agenda items schedule information with agenda item id. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `dayNumber` | *long* | :heavy_check_mark: | Day number relative to start of event on which the agenda item occurs. | 1 | +| `date` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 date of the agenda item. | 2021-07-03 | +| `id` | *Optional\* | :heavy_minus_sign: | Unique ID of the agenda item. | 50dc08af-24a9-4d01-84be-3d43133dc945 | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpAgendaItemScheduleWithIdJson.md b/packages/java/docs/models/components/RfpAgendaItemScheduleWithIdJson.md deleted file mode 100644 index 4e48c42b7..000000000 --- a/packages/java/docs/models/components/RfpAgendaItemScheduleWithIdJson.md +++ /dev/null @@ -1,12 +0,0 @@ -# RfpAgendaItemScheduleWithIdJson - -Contains RFP specific agenda items schedule information with agenda item id. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | -| `dayNumber` | *long* | :heavy_check_mark: | Day number relative to start of event on which the agenda item occurs. | 1 | -| `date` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 date of the agenda item. | 2021-07-03 | -| `id` | *Optional\* | :heavy_minus_sign: | Unique ID of the agenda item. | 50dc08af-24a9-4d01-84be-3d43133dc945 | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpAttachment.md b/packages/java/docs/models/components/RfpAttachment.md new file mode 100644 index 000000000..586b0d76a --- /dev/null +++ b/packages/java/docs/models/components/RfpAttachment.md @@ -0,0 +1,25 @@ +# RfpAttachment + +This object contains Rfp specific attachments attributes. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | Unique identifier for this attachment record. | f56a51a4-84b0-46c9-a612-716dc95a1c96 | +| `created` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | ISO 8601 date-time the attachment was uploaded. | 2021-01-13T14:06:20.080Z | +| `size` | *Optional\* | :heavy_minus_sign: | The size of attachment in bytes. | 777835 | +| `type` | [Optional\](../../models/components/DocumentType1.md) | :heavy_minus_sign: | The document type. | | +| `secure` | *Optional\* | :heavy_minus_sign: | True indicates the attachment is uploaded behind a secured URL. | true | +| `name` | *Optional\* | :heavy_minus_sign: | Display name of the attachment. | BudgetCostSavings | +| `uniqueName` | *Optional\* | :heavy_minus_sign: | Name of the attachment. Must be unique in the account. | 183f9efaa4c14070985782ee31abbf3c.jpg | +| `mimeType` | *Optional\* | :heavy_minus_sign: | The content type of the attachment | image/jpeg | +| `source` | [Optional\](../../models/components/AttachmentSource.md) | :heavy_minus_sign: | The source from where the attachment was uploaded. | | +| `relativePath` | *Optional\* | :heavy_minus_sign: | The file path pointing to where the attachment is stored in Cvent. This path is relative to the base URL of the storage system and omits the root address. | 0B7DEF22676A4434982BDAD2D6EC591F/files/supplier/0713cef78d4e4d818899d4522022d5ad/73ab2e3054fd4321a5e0f846a7adb0d7.jpg | +| `sendInEmail` | *Optional\* | :heavy_minus_sign: | True indicates the attachment should be sent in emails that notify suppliers about RFPs. | false | +| `deletionAllowed` | *Optional\* | :heavy_minus_sign: | True indicates this attachment can be deleted. | true | +| `url` | *Optional\* | :heavy_minus_sign: | URL of the attachment if `secure` is false. This field is null if `secure` is true. | https://custom.t2.cvent.com/0B7DEF22676A4434982BDAD2D6EC591F/files/supplier/0713cef78d4e4d818899d4522022d5ad/73ab2e3054fd4321a5e0f846a7adb0d7.jpg | +| `supplier` | [Optional\](../../models/components/RfpAttachmentSupplier.md) | :heavy_minus_sign: | Supplier associated with the attachment. | | +| `supplierSpecific` | *Optional\* | :heavy_minus_sign: | True indicates the attachment is only shown in the UI to the supplier whose ID is present in supplier.id field. | true | +| `selectedForSupplier` | *Optional\* | :heavy_minus_sign: | True indicates the attachment is selected for the supplier whose ID is present in supplier.id field. | true | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpAttachmentJson.md b/packages/java/docs/models/components/RfpAttachmentJson.md deleted file mode 100644 index 5474bd710..000000000 --- a/packages/java/docs/models/components/RfpAttachmentJson.md +++ /dev/null @@ -1,25 +0,0 @@ -# RfpAttachmentJson - -This object contains Rfp specific attachments attributes. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *String* | :heavy_check_mark: | Unique identifier for this attachment record. | f56a51a4-84b0-46c9-a612-716dc95a1c96 | -| `created` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | ISO 8601 date-time the attachment was uploaded. | 2021-01-13T14:06:20.080Z | -| `size` | *Optional\* | :heavy_minus_sign: | The size of attachment in bytes. | 777835 | -| `type` | [Optional\](../../models/components/DocumentTypeJson0.md) | :heavy_minus_sign: | The document type. | | -| `secure` | *Optional\* | :heavy_minus_sign: | True indicates the attachment is uploaded behind a secured URL. | true | -| `name` | *Optional\* | :heavy_minus_sign: | Display name of the attachment. | BudgetCostSavings | -| `uniqueName` | *Optional\* | :heavy_minus_sign: | Name of the attachment. Must be unique in the account. | 183f9efaa4c14070985782ee31abbf3c.jpg | -| `mimeType` | *Optional\* | :heavy_minus_sign: | The content type of the attachment | image/jpeg | -| `source` | [Optional\](../../models/components/AttachmentSourceJson.md) | :heavy_minus_sign: | The source from where the attachment was uploaded. | | -| `relativePath` | *Optional\* | :heavy_minus_sign: | The file path pointing to where the attachment is stored in Cvent. This path is relative to the base URL of the storage system and omits the root address. | 0B7DEF22676A4434982BDAD2D6EC591F/files/supplier/0713cef78d4e4d818899d4522022d5ad/73ab2e3054fd4321a5e0f846a7adb0d7.jpg | -| `sendInEmail` | *Optional\* | :heavy_minus_sign: | True indicates the attachment should be sent in emails that notify suppliers about RFPs. | false | -| `deletionAllowed` | *Optional\* | :heavy_minus_sign: | True indicates this attachment can be deleted. | true | -| `url` | *Optional\* | :heavy_minus_sign: | URL of the attachment if `secure` is false. This field is null if `secure` is true. | https://custom.t2.cvent.com/0B7DEF22676A4434982BDAD2D6EC591F/files/supplier/0713cef78d4e4d818899d4522022d5ad/73ab2e3054fd4321a5e0f846a7adb0d7.jpg | -| `supplier` | [Optional\](../../models/components/RfpAttachmentJsonSupplier.md) | :heavy_minus_sign: | Supplier associated with the attachment. | | -| `supplierSpecific` | *Optional\* | :heavy_minus_sign: | True indicates the attachment is only shown in the UI to the supplier whose ID is present in supplier.id field. | true | -| `selectedForSupplier` | *Optional\* | :heavy_minus_sign: | True indicates the attachment is selected for the supplier whose ID is present in supplier.id field. | true | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpAttachmentJsonSupplier.md b/packages/java/docs/models/components/RfpAttachmentJsonSupplier.md deleted file mode 100644 index 6b350bd90..000000000 --- a/packages/java/docs/models/components/RfpAttachmentJsonSupplier.md +++ /dev/null @@ -1,10 +0,0 @@ -# RfpAttachmentJsonSupplier - -Supplier associated with the attachment. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *Optional\* | :heavy_minus_sign: | ID of the supplier. | C20A0114-2635-48C3-9F59-9386361B517B | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpAttachmentSupplier.md b/packages/java/docs/models/components/RfpAttachmentSupplier.md new file mode 100644 index 000000000..c57fc387d --- /dev/null +++ b/packages/java/docs/models/components/RfpAttachmentSupplier.md @@ -0,0 +1,10 @@ +# RfpAttachmentSupplier + +Supplier associated with the attachment. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *Optional\* | :heavy_minus_sign: | ID of the supplier. | C20A0114-2635-48C3-9F59-9386361B517B | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpCustomFieldJson.md b/packages/java/docs/models/components/RfpCustomFieldJson.md deleted file mode 100644 index 4e649069c..000000000 --- a/packages/java/docs/models/components/RfpCustomFieldJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# RfpCustomFieldJson - -This object contains RFP custom fields attributes only. - - -## Fields - -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `customField` | [ExpandableCustomObject](../../models/components/ExpandableCustomObject.md) | :heavy_check_mark: | An object containing custom field data. By default, contains only the field ID.

This is an **expandable** object. When requested via the `expand` query parameter with value `customField`, this object expands to include all properties of a custom field definition.

See the `expand` parameter documentation and refer to the [Get Custom Field](#tag/Custom-Fields/operation/getCustomField) API for the complete expanded schema. | -| `answers` | List\<*String*> | :heavy_check_mark: | List of answers for the RFP custom field. | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpDateMode.md b/packages/java/docs/models/components/RfpDateMode.md new file mode 100644 index 000000000..d08d1fe3a --- /dev/null +++ b/packages/java/docs/models/components/RfpDateMode.md @@ -0,0 +1,19 @@ +# RfpDateMode + +RfpDateMode + +## Example Usage + +```java +import com.cvent.models.components.RfpDateMode; + +RfpDateMode value = RfpDateMode.ALTERNATE_DATE; +``` + + +## Values + +| Name | Value | +| ---------------- | ---------------- | +| `ALTERNATE_DATE` | ALTERNATE_DATE | +| `DATE_PATTERN` | DATE_PATTERN | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpDateModeJson0.md b/packages/java/docs/models/components/RfpDateModeJson0.md deleted file mode 100644 index 368a3b4eb..000000000 --- a/packages/java/docs/models/components/RfpDateModeJson0.md +++ /dev/null @@ -1,19 +0,0 @@ -# RfpDateModeJson0 - -Way of specifying dates for the event. - -## Example Usage - -```java -import com.cvent.models.components.RfpDateModeJson0; - -RfpDateModeJson0 value = RfpDateModeJson0.ALTERNATE_DATE; -``` - - -## Values - -| Name | Value | -| ---------------- | ---------------- | -| `ALTERNATE_DATE` | ALTERNATE_DATE | -| `DATE_PATTERN` | DATE_PATTERN | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpEvent.md b/packages/java/docs/models/components/RfpEvent.md new file mode 100644 index 000000000..b7fb32820 --- /dev/null +++ b/packages/java/docs/models/components/RfpEvent.md @@ -0,0 +1,29 @@ +# RfpEvent + +RFP event details. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `event` | [Optional\](../../models/components/Event12.md) | :heavy_minus_sign: | Event details. | | +| `name` | *Optional\* | :heavy_minus_sign: | Name of the event linked with the RFP. | friday event | +| `contractSignatureLocation` | *Optional\* | :heavy_minus_sign: | Location where the contract will be signed. | Atlanta | +| `destinationsUnderConsideration` | *Optional\* | :heavy_minus_sign: | Destinations under consideration for the event. | New York | +| `externalMeetingRequest` | *Optional\* | :heavy_minus_sign: | True indicates that the event is associated with an external meeting request. | true | +| `type` | [Optional\](../../models/components/EventType1.md) | :heavy_minus_sign: | Event type. | | +| `totalMeetingSpaceRequired` | [Optional\](../../models/components/SpaceArea.md) | :heavy_minus_sign: | Space area divisons. | | +| `audioVisualNeeds` | *Optional\* | :heavy_minus_sign: | Audio visual requirements. | Need a projector in each meeting room. | +| `peakMeetingRooms` | *Optional\* | :heavy_minus_sign: | Maximum number of meeting rooms required during the event. | 14 | +| `flexibleDates` | *Optional\* | :heavy_minus_sign: | True indicates the event dates are flexible. | | +| `repeat` | *Optional\* | :heavy_minus_sign: | True indicates event is a repeat occurrence. | | +| `attendeesPerDay` | *Optional\* | :heavy_minus_sign: | Number of in-person attendees per day. | 500 | +| `referenceNumber` | *Optional\* | :heavy_minus_sign: | Reference number for the event. | XVYMP8970S | +| `largestMeetingSpaceRequired` | [Optional\](../../models/components/SpaceArea.md) | :heavy_minus_sign: | Space area divisons. | | +| `meetingRequestId` | *Optional\* | :heavy_minus_sign: | Unique identifier for meeting request associated with the event. | 50dc08af-24a9-4d01-84be-3d43133dc945 | +| `formatType` | [Optional\](../../models/components/EventFormatType.md) | :heavy_minus_sign: | Event format type. | | +| `virtualAttendeesPerDay` | *Optional\* | :heavy_minus_sign: | Number of virtual attendees per day. | 2000 | +| `budget` | *Optional\* | :heavy_minus_sign: | Total budget amount. | 10000 | +| `roomRateBudget` | *Optional\* | :heavy_minus_sign: | Budget for rooms rates. | 200 | +| `foodBeverageBudget` | *Optional\* | :heavy_minus_sign: | Budget for food and beverage. | 1000 | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpEventJson.md b/packages/java/docs/models/components/RfpEventJson.md deleted file mode 100644 index be99fe787..000000000 --- a/packages/java/docs/models/components/RfpEventJson.md +++ /dev/null @@ -1,29 +0,0 @@ -# RfpEventJson - -RFP event details. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `event` | [Optional\](../../models/components/EventJson0.md) | :heavy_minus_sign: | Event details. | | -| `name` | *Optional\* | :heavy_minus_sign: | Name of the event linked with the RFP. | friday event | -| `contractSignatureLocation` | *Optional\* | :heavy_minus_sign: | Location where the contract will be signed. | Atlanta | -| `destinationsUnderConsideration` | *Optional\* | :heavy_minus_sign: | Destinations under consideration for the event. | New York | -| `externalMeetingRequest` | *Optional\* | :heavy_minus_sign: | True indicates that the event is associated with an external meeting request. | true | -| `type` | [Optional\](../../models/components/EventTypeJson0.md) | :heavy_minus_sign: | Event type. | | -| `totalMeetingSpaceRequired` | [Optional\](../../models/components/SpaceAreaJson0.md) | :heavy_minus_sign: | Space area divisons. | | -| `audioVisualNeeds` | *Optional\* | :heavy_minus_sign: | Audio visual requirements. | Need a projector in each meeting room. | -| `peakMeetingRooms` | *Optional\* | :heavy_minus_sign: | Maximum number of meeting rooms required during the event. | 14 | -| `flexibleDates` | *Optional\* | :heavy_minus_sign: | True indicates the event dates are flexible. | | -| `repeat` | *Optional\* | :heavy_minus_sign: | True indicates event is a repeat occurrence. | | -| `attendeesPerDay` | *Optional\* | :heavy_minus_sign: | Number of in-person attendees per day. | 500 | -| `referenceNumber` | *Optional\* | :heavy_minus_sign: | Reference number for the event. | XVYMP8970S | -| `largestMeetingSpaceRequired` | [Optional\](../../models/components/SpaceAreaJson0.md) | :heavy_minus_sign: | Space area divisons. | | -| `meetingRequestId` | *Optional\* | :heavy_minus_sign: | Unique identifier for meeting request associated with the event. | 50dc08af-24a9-4d01-84be-3d43133dc945 | -| `formatType` | [Optional\](../../models/components/EventFormatTypeJson0.md) | :heavy_minus_sign: | Event format type. | | -| `virtualAttendeesPerDay` | *Optional\* | :heavy_minus_sign: | Number of virtual attendees per day. | 2000 | -| `budget` | *Optional\* | :heavy_minus_sign: | Total budget amount. | 10000 | -| `roomRateBudget` | *Optional\* | :heavy_minus_sign: | Budget for rooms rates. | 200 | -| `foodBeverageBudget` | *Optional\* | :heavy_minus_sign: | Budget for food and beverage. | 1000 | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpEventOrganizationJson.md b/packages/java/docs/models/components/RfpEventOrganizationJson.md deleted file mode 100644 index bc970c036..000000000 --- a/packages/java/docs/models/components/RfpEventOrganizationJson.md +++ /dev/null @@ -1,16 +0,0 @@ -# RfpEventOrganizationJson - -Details of organization which is hosting the event. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `organization` | [Optional\](../../models/components/OrganizationJson.md) | :heavy_minus_sign: | Organization details. | | -| `confidentialProfile` | *Optional\* | :heavy_minus_sign: | True indicates organization profile has to be kept confidential. | | -| `industry` | [Optional\](../../models/components/IndustryJson0.md) | :heavy_minus_sign: | Industry | | -| `name` | *String* | :heavy_check_mark: | Name of the organization hosting the event. | Cvent Inc. | -| `type` | [OrganizationTypeJson0](../../models/components/OrganizationTypeJson0.md) | :heavy_check_mark: | Organization type. | | -| `address` | [Optional\](../../models/components/AddressJson0.md) | :heavy_minus_sign: | Address details. | | -| `eventsPerYear` | *Optional\* | :heavy_minus_sign: | Number of events per year. | 450 | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpGuestRooms.md b/packages/java/docs/models/components/RfpGuestRooms.md index b96f45122..93e0b5504 100644 --- a/packages/java/docs/models/components/RfpGuestRooms.md +++ b/packages/java/docs/models/components/RfpGuestRooms.md @@ -5,11 +5,11 @@ Guest Room Requirements ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `totalRooms` | *Optional\* | :heavy_minus_sign: | Sum of the number of rooms required each night across all the nights for the event. | 24 | -| `peakRooms` | *Optional\* | :heavy_minus_sign: | The number of rooms required during peak nights. | 24 | -| `occupancies` | List\<[GuestRoomOccupancyPerRoomTypeJson](../../models/components/GuestRoomOccupancyPerRoomTypeJson.md)> | :heavy_minus_sign: | Occupancies for every room type. | | -| `checkInDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 check-in date. | 2025-10-13 | -| `roomBlocks` | List\<[RoomBlockJson](../../models/components/RoomBlockJson.md)> | :heavy_minus_sign: | List of room blocks required. | | -| `additionalInformation` | *Optional\* | :heavy_minus_sign: | Additional Info (if any). | 2 Executive suites are mandatory. | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `totalRooms` | *Optional\* | :heavy_minus_sign: | Sum of the number of rooms required each night across all the nights for the event. | 24 | +| `peakRooms` | *Optional\* | :heavy_minus_sign: | The number of rooms required during peak nights. | 24 | +| `occupancies` | List\<[GuestRoomOccupancyPerRoomType](../../models/components/GuestRoomOccupancyPerRoomType.md)> | :heavy_minus_sign: | Occupancies for every room type. | | +| `checkInDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 check-in date. | 2025-10-13 | +| `roomBlocks` | List\<[RoomBlock](../../models/components/RoomBlock.md)> | :heavy_minus_sign: | List of room blocks required. | | +| `additionalInformation` | *Optional\* | :heavy_minus_sign: | Additional Info (if any). | 2 Executive suites are mandatory. | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpIdJson.md b/packages/java/docs/models/components/RfpIdJson.md new file mode 100644 index 000000000..5702daa57 --- /dev/null +++ b/packages/java/docs/models/components/RfpIdJson.md @@ -0,0 +1,10 @@ +# RfpIdJson + +RFP ID Information. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *Optional\* | :heavy_minus_sign: | Identifier of a particular RFP. | 3d808ee8-94f8-4f3a-9ad1-6b23f4e4c329 | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpIdJson1.md b/packages/java/docs/models/components/RfpIdJson1.md deleted file mode 100644 index 2da47a8a2..000000000 --- a/packages/java/docs/models/components/RfpIdJson1.md +++ /dev/null @@ -1,10 +0,0 @@ -# RfpIdJson1 - -RFP ID Information. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *Optional\* | :heavy_minus_sign: | Identifier of a particular RFP. | 3d808ee8-94f8-4f3a-9ad1-6b23f4e4c329 | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpInternalDocument.md b/packages/java/docs/models/components/RfpInternalDocument.md new file mode 100644 index 000000000..d398fa816 --- /dev/null +++ b/packages/java/docs/models/components/RfpInternalDocument.md @@ -0,0 +1,17 @@ +# RfpInternalDocument + +This object contains RFP specific internal documents attributes only. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | Unique ID of the file. | f56a51a4-84b0-46c9-a612-716dc95a1c96 | +| `created` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | ISO 8601 date-time the document was uploaded. | 2021-01-13T14:06:20.080Z | +| `name` | *Optional\* | :heavy_minus_sign: | Display name of the document. | BudgetCostSavings | +| `uniqueName` | *Optional\* | :heavy_minus_sign: | Name of the document. Must be unique in the account. | 183f9efaa4c14070985782ee31abbf3c.jpg | +| `size` | *Optional\* | :heavy_minus_sign: | The size of document in bytes. | 777835 | +| `url` | *Optional\* | :heavy_minus_sign: | URL of the document if `secure` is false. This field is null if `secure` is true. | https://custom.cvent.com/0B7DEF22676A4434982BDAD2D6EC591F/files/supplier/0713cef78d4e4d818899d4522022d5ad/73ab2e3054fd4321a5e0f846a7adb0d7.jpg | +| `type` | [Optional\](../../models/components/DocumentType1.md) | :heavy_minus_sign: | The document type. | | +| `mimeType` | *Optional\* | :heavy_minus_sign: | The content type of the document. | image/jpeg | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpInternalDocumentJson0.md b/packages/java/docs/models/components/RfpInternalDocumentJson0.md deleted file mode 100644 index 28f14f048..000000000 --- a/packages/java/docs/models/components/RfpInternalDocumentJson0.md +++ /dev/null @@ -1,17 +0,0 @@ -# RfpInternalDocumentJson0 - -This object contains RFP specific internal documents attributes only. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *String* | :heavy_check_mark: | Unique ID of the file. | f56a51a4-84b0-46c9-a612-716dc95a1c96 | -| `created` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | ISO 8601 date-time the document was uploaded. | 2021-01-13T14:06:20.080Z | -| `name` | *Optional\* | :heavy_minus_sign: | Display name of the document. | BudgetCostSavings | -| `uniqueName` | *Optional\* | :heavy_minus_sign: | Name of the document. Must be unique in the account. | 183f9efaa4c14070985782ee31abbf3c.jpg | -| `size` | *Optional\* | :heavy_minus_sign: | The size of document in bytes. | 777835 | -| `url` | *Optional\* | :heavy_minus_sign: | URL of the document if `secure` is false. This field is null if `secure` is true. | https://custom.cvent.com/0B7DEF22676A4434982BDAD2D6EC591F/files/supplier/0713cef78d4e4d818899d4522022d5ad/73ab2e3054fd4321a5e0f846a7adb0d7.jpg | -| `type` | [Optional\](../../models/components/DocumentTypeJson0.md) | :heavy_minus_sign: | The document type. | | -| `mimeType` | *Optional\* | :heavy_minus_sign: | The content type of the document. | image/jpeg | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpMeal.md b/packages/java/docs/models/components/RfpMeal.md new file mode 100644 index 000000000..730440c45 --- /dev/null +++ b/packages/java/docs/models/components/RfpMeal.md @@ -0,0 +1,30 @@ +# RfpMeal + +Meal type offered during the agenda. + +## Example Usage + +```java +import com.cvent.models.components.RfpMeal; + +RfpMeal value = RfpMeal.BREAKFAST_BUFFET; +``` + + +## Values + +| Name | Value | +| ---------------------------------- | ---------------------------------- | +| `BREAKFAST_BUFFET` | BREAKFAST_BUFFET | +| `BREAKFAST_CONTINENTAL` | BREAKFAST_CONTINENTAL | +| `BREAKFAST_PLATED` | BREAKFAST_PLATED | +| `BREAK_DRINKS_ONLY` | BREAK_DRINKS_ONLY | +| `BREAK_SNACKS_AND_DRINKS` | BREAK_SNACKS_AND_DRINKS | +| `CONTACT_ME_ABOUT_FB_REQUIREMENTS` | CONTACT_ME_ABOUT_F_B_REQUIREMENTS | +| `DINNER_BUFFET` | DINNER_BUFFET | +| `DINNER_PLATED` | DINNER_PLATED | +| `LUNCH_BOXED` | LUNCH_BOXED | +| `LUNCH_BUFFET` | LUNCH_BUFFET | +| `LUNCH_PLATED` | LUNCH_PLATED | +| `RECEPTION_HEAVY_HORS_D_OEUVRES` | RECEPTION_HEAVY_HORS_D_OEUVRES | +| `RECEPTION_LIGHT_APPETIZERS` | RECEPTION_LIGHT_APPETIZERS | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpMealJson.md b/packages/java/docs/models/components/RfpMealJson.md deleted file mode 100644 index b749c72fb..000000000 --- a/packages/java/docs/models/components/RfpMealJson.md +++ /dev/null @@ -1,30 +0,0 @@ -# RfpMealJson - -Meal type offered during the agenda. - -## Example Usage - -```java -import com.cvent.models.components.RfpMealJson; - -RfpMealJson value = RfpMealJson.BREAKFAST_BUFFET; -``` - - -## Values - -| Name | Value | -| ---------------------------------- | ---------------------------------- | -| `BREAKFAST_BUFFET` | BREAKFAST_BUFFET | -| `BREAKFAST_CONTINENTAL` | BREAKFAST_CONTINENTAL | -| `BREAKFAST_PLATED` | BREAKFAST_PLATED | -| `BREAK_DRINKS_ONLY` | BREAK_DRINKS_ONLY | -| `BREAK_SNACKS_AND_DRINKS` | BREAK_SNACKS_AND_DRINKS | -| `CONTACT_ME_ABOUT_FB_REQUIREMENTS` | CONTACT_ME_ABOUT_F_B_REQUIREMENTS | -| `DINNER_BUFFET` | DINNER_BUFFET | -| `DINNER_PLATED` | DINNER_PLATED | -| `LUNCH_BOXED` | LUNCH_BOXED | -| `LUNCH_BUFFET` | LUNCH_BUFFET | -| `LUNCH_PLATED` | LUNCH_PLATED | -| `RECEPTION_HEAVY_HORS_D_OEUVRES` | RECEPTION_HEAVY_HORS_D_OEUVRES | -| `RECEPTION_LIGHT_APPETIZERS` | RECEPTION_LIGHT_APPETIZERS | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpPastEvent.md b/packages/java/docs/models/components/RfpPastEvent.md new file mode 100644 index 000000000..c2c01148c --- /dev/null +++ b/packages/java/docs/models/components/RfpPastEvent.md @@ -0,0 +1,19 @@ +# RfpPastEvent + +This object includes information about past events hosted by the planner. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `venueName` | *Optional\* | :heavy_minus_sign: | Name of the venue where the event was hosted. | Delta Inn by Supreme Hotels | +| `city` | *Optional\* | :heavy_minus_sign: | Name of the city where the event was hosted. | New Delhi | +| `stateProvince` | *Optional\* | :heavy_minus_sign: | ISO 3166-2 code for name of the state or province where the event was hosted. | US-AL | +| `date` | *Optional\* | :heavy_minus_sign: | Free form text field for the planner to provide details on the event date. | First week of January 2024 | +| `attendeeCount` | *Optional\* | :heavy_minus_sign: | Number of event attendees. | 500 | +| `guestRoomsPickedUp` | *Optional\* | :heavy_minus_sign: | Count of rooms picked up by planners for use during the event. | 500 | +| `guestRoomsBlocked` | *Optional\* | :heavy_minus_sign: | Count of rooms blocked by planner for the event. | 500 | +| `foodBeverageSpend` | *Optional\* | :heavy_minus_sign: | Expenditure on food and beverage. | 3,000 dollars | +| `notes` | *Optional\* | :heavy_minus_sign: | Any other information about the event. | This was the 25th event hosted by Alpha Planners. | +| `id` | *String* | :heavy_check_mark: | Unique ID for the event detail. | f56a51a4-84b0-46c9-a612-716dc95a1c96 | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpPastEventJson.md b/packages/java/docs/models/components/RfpPastEventJson.md deleted file mode 100644 index b40f66110..000000000 --- a/packages/java/docs/models/components/RfpPastEventJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# RfpPastEventJson - -This object includes information about past events hosted by the planner. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `venueName` | *Optional\* | :heavy_minus_sign: | Name of the venue where the event was hosted. | Delta Inn by Supreme Hotels | -| `city` | *Optional\* | :heavy_minus_sign: | Name of the city where the event was hosted. | New Delhi | -| `stateProvince` | *Optional\* | :heavy_minus_sign: | ISO 3166-2 code for name of the state or province where the event was hosted. | US-AL | -| `date` | *Optional\* | :heavy_minus_sign: | Free form text field for the planner to provide details on the event date. | First week of January 2024 | -| `attendeeCount` | *Optional\* | :heavy_minus_sign: | Number of event attendees. | 500 | -| `guestRoomsPickedUp` | *Optional\* | :heavy_minus_sign: | Count of rooms picked up by planners for use during the event. | 500 | -| `guestRoomsBlocked` | *Optional\* | :heavy_minus_sign: | Count of rooms blocked by planner for the event. | 500 | -| `foodBeverageSpend` | *Optional\* | :heavy_minus_sign: | Expenditure on food and beverage. | 3,000 dollars | -| `notes` | *Optional\* | :heavy_minus_sign: | Any other information about the event. | This was the 25th event hosted by Alpha Planners. | -| `id` | *String* | :heavy_check_mark: | Unique ID for the event detail. | f56a51a4-84b0-46c9-a612-716dc95a1c96 | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpPastEvents.md b/packages/java/docs/models/components/RfpPastEvents.md index 91034cc10..5b7bf49f6 100644 --- a/packages/java/docs/models/components/RfpPastEvents.md +++ b/packages/java/docs/models/components/RfpPastEvents.md @@ -5,6 +5,6 @@ List of past RFP events. ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `data` | List\<[RfpPastEventJson](../../models/components/RfpPastEventJson.md)> | :heavy_minus_sign: | List of past events saved on RFP by planner. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `data` | List\<[RfpPastEvent](../../models/components/RfpPastEvent.md)> | :heavy_minus_sign: | List of past events saved on RFP by planner. | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpQuestion.md b/packages/java/docs/models/components/RfpQuestion.md new file mode 100644 index 000000000..68fed1da1 --- /dev/null +++ b/packages/java/docs/models/components/RfpQuestion.md @@ -0,0 +1,50 @@ +# RfpQuestion + +Question associated with an RFP. + + +## 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 | +| `id` | *Optional\* | :heavy_minus_sign: | Unique identifier of the question. | | +| `text` | *Optional\* | :heavy_minus_sign: | Text value of the question field. Displays to users in the UI. | Are you spending any significant time offsite and need transportation? | +| `shortText` | *Optional\* | :heavy_minus_sign: | Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. | Needs offsite transportation? | +| `htmlText` | *Optional\* | :heavy_minus_sign: | Html of the question. | Question Html | +| `code` | *Optional\* | :heavy_minus_sign: | Question code is unique identifier for every questions within a survey (can be same across surveys). This code is used in reporting and in question and answer data tags for emails. With every new question a random question code is generated. | 4l6x | +| `type` | [Optional\](../../models/components/QuestionType.md) | :heavy_minus_sign: | The type of question. See [this article](https://support.cvent.com/s/communityarticle/Survey-Adding-Questions) for details on each enum. | SingleChoice | +| `choices` | List\<[Choice](../../models/components/Choice.md)> | :heavy_minus_sign: | List of choices for the question. | | +| `categories` | List\<[Category](../../models/components/Category.md)> | :heavy_minus_sign: | List of categories for the question. | | +| `subCategories` | List\<[TextField](../../models/components/TextField.md)> | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions. | | +| `notApplicableAnswer` | [Optional\](../../models/components/AdditionalChoice.md) | :heavy_minus_sign: | Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. | | +| `otherAnswer` | [Optional\](../../models/components/AdditionalChoice.md) | :heavy_minus_sign: | Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. | | +| `comments` | *Optional\* | :heavy_minus_sign: | Text Value of Comments Input box placeholder. | Comments Text | +| `required` | *Optional\* | :heavy_minus_sign: | True indicates this is a mandatory question field. | true | +| `fields` | List\<[Field](../../models/components/Field.md)> | :heavy_minus_sign: | List of fields for form/matrix questions. | | +| `maxScore` | *Optional\* | :heavy_minus_sign: | Max possible score. | 20 | +| `totalSum` | *Optional\* | :heavy_minus_sign: | Total configured sum of all choices for number allocation question. | 45 | +| `choiceSortOrder` | [Optional\](../../models/components/ChoiceSortOrder.md) | :heavy_minus_sign: | The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: Sorted in the order they were added, oldest choices first. `Random`: Random sort. | | +| `displayType` | [Optional\](../../models/components/DisplayType.md) | :heavy_minus_sign: | The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: It is associated with drop down type questions. `Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list type questions. `MultiSelectBox`: It is associated with multi select box type questions. `Vertical`: It is associated with vertical type questions. | | +| `minSelection` | *Optional\* | :heavy_minus_sign: | Minimum number of choices that must be selected. | 1 | +| `maxSelection` | *Optional\* | :heavy_minus_sign: | Maximum number of choices that can be selected. | 3 | +| `minDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The earliest date that can be selected, starting from or after this date. | 2020-01-01 | +| `maxDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The latest date that can be selected, up to or before this date. | 2020-12-31 | +| `showDateSelector` | *Optional\* | :heavy_minus_sign: | Indicates if this is a date range question. | true | +| `showCurrentDate` | *Optional\* | :heavy_minus_sign: | Indicates if the current date should be shown. | true | +| `dateAnswerFormat` | [Optional\](../../models/components/DateAnswerFormat.md) | :heavy_minus_sign: | The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. `DateTime`: Answer format is stored in DateTime format. `Time`: Answer format is stored in Time format. | | +| `numericAnswerFormat` | [Optional\](../../models/components/NumericAnswerFormat.md) | :heavy_minus_sign: | The answer format that a given number is stored in. | | +| `unitLabel` | *Optional\* | :heavy_minus_sign: | Label to add before or after textbox. | miles | +| `unitPosition` | [Optional\](../../models/components/UnitPosition.md) | :heavy_minus_sign: | Unit position used for text box question type. | | +| `minLength` | *Optional\* | :heavy_minus_sign: | Minimum number of characters that must be entered. | 5 | +| `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. | | +| `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/RfpQuestionJson.md b/packages/java/docs/models/components/RfpQuestionJson.md deleted file mode 100644 index 00d8c94e5..000000000 --- a/packages/java/docs/models/components/RfpQuestionJson.md +++ /dev/null @@ -1,50 +0,0 @@ -# RfpQuestionJson - -Question associated with an RFP. - - -## 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 | -| `id` | *Optional\* | :heavy_minus_sign: | Unique identifier of the question. | | -| `text` | *Optional\* | :heavy_minus_sign: | Text value of the question field. Displays to users in the UI. | Are you spending any significant time offsite and need transportation? | -| `shortText` | *Optional\* | :heavy_minus_sign: | Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. | Needs offsite transportation? | -| `htmlText` | *Optional\* | :heavy_minus_sign: | Html of the question. | Question Html | -| `code` | *Optional\* | :heavy_minus_sign: | Question code is unique identifier for every questions within a survey (can be same across surveys). This code is used in reporting and in question and answer data tags for emails. With every new question a random question code is generated. | 4l6x | -| `type` | [Optional\](../../models/components/QuestionTypeJson.md) | :heavy_minus_sign: | The type of question. See [this article](https://support.cvent.com/s/communityarticle/Survey-Adding-Questions) for details on each enum. | SingleChoice | -| `choices` | List\<[ChoiceJson](../../models/components/ChoiceJson.md)> | :heavy_minus_sign: | List of choices for the question. | | -| `categories` | List\<[CategoryJson](../../models/components/CategoryJson.md)> | :heavy_minus_sign: | List of categories for the question. | | -| `subCategories` | List\<[TextFieldJson](../../models/components/TextFieldJson.md)> | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions. | | -| `notApplicableAnswer` | [Optional\](../../models/components/AdditionalChoiceJson2.md) | :heavy_minus_sign: | Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. | | -| `otherAnswer` | [Optional\](../../models/components/AdditionalChoiceJson2.md) | :heavy_minus_sign: | Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. | | -| `comments` | *Optional\* | :heavy_minus_sign: | Text Value of Comments Input box placeholder. | Comments Text | -| `required` | *Optional\* | :heavy_minus_sign: | True indicates this is a mandatory question field. | true | -| `fields` | List\<[FieldJson](../../models/components/FieldJson.md)> | :heavy_minus_sign: | List of fields for form/matrix questions. | | -| `maxScore` | *Optional\* | :heavy_minus_sign: | Max possible score. | 20 | -| `totalSum` | *Optional\* | :heavy_minus_sign: | Total configured sum of all choices for number allocation question. | 45 | -| `choiceSortOrder` | [Optional\](../../models/components/ChoiceSortOrderJson.md) | :heavy_minus_sign: | The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: Sorted in the order they were added, oldest choices first. `Random`: Random sort. | | -| `displayType` | [Optional\](../../models/components/DisplayTypeJson.md) | :heavy_minus_sign: | The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: It is associated with drop down type questions. `Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list type questions. `MultiSelectBox`: It is associated with multi select box type questions. `Vertical`: It is associated with vertical type questions. | | -| `minSelection` | *Optional\* | :heavy_minus_sign: | Minimum number of choices that must be selected. | 1 | -| `maxSelection` | *Optional\* | :heavy_minus_sign: | Maximum number of choices that can be selected. | 3 | -| `minDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The earliest date that can be selected, starting from or after this date. | 2020-01-01 | -| `maxDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The latest date that can be selected, up to or before this date. | 2020-12-31 | -| `showDateSelector` | *Optional\* | :heavy_minus_sign: | Indicates if this is a date range question. | true | -| `showCurrentDate` | *Optional\* | :heavy_minus_sign: | Indicates if the current date should be shown. | true | -| `dateAnswerFormat` | [Optional\](../../models/components/DateAnswerFormatJson.md) | :heavy_minus_sign: | The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. `DateTime`: Answer format is stored in DateTime format. `Time`: Answer format is stored in Time format. | | -| `numericAnswerFormat` | [Optional\](../../models/components/NumericAnswerFormatJson.md) | :heavy_minus_sign: | The answer format that a given number is stored in. | | -| `unitLabel` | *Optional\* | :heavy_minus_sign: | Label to add before or after textbox. | miles | -| `unitPosition` | [Optional\](../../models/components/UnitPositionJson.md) | :heavy_minus_sign: | Unit position used for text box question type. | | -| `minLength` | *Optional\* | :heavy_minus_sign: | Minimum number of characters that must be entered. | 5 | -| `maxLength` | *Optional\* | :heavy_minus_sign: | Maximum number of characters that can be entered. | 100 | -| `textAnswerFormat` | [Optional\](../../models/components/TextAnswerFormatJson.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\<[SupplierTypeJson](../../models/components/SupplierTypeJson.md)> | :heavy_minus_sign: | List of supplier types that can view the question on the RFP. | [
"CVB",
"HOTEL"
] | -| `classificationType` | [Optional\](../../models/components/QuestionClassificationTypeJson.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. | | -| `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/StandardQuestionJson.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/RfpRecipientLogEntry.md b/packages/java/docs/models/components/RfpRecipientLogEntry.md new file mode 100644 index 000000000..a0afe301b --- /dev/null +++ b/packages/java/docs/models/components/RfpRecipientLogEntry.md @@ -0,0 +1,16 @@ +# RfpRecipientLogEntry + +Contains the log entry when the recipient was copied on an RFP. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | +| `supplier` | [Optional\](../../models/components/RfpRecipientLogEntrySupplier.md) | :heavy_minus_sign: | The supplier associated with the recipient. | | +| `recipientIdentifier` | *Optional\* | :heavy_minus_sign: | This can either be the email address or the code of the recipient. This will not be present if the target type is MEETING_BROKER | jwest@example.com | +| `active` | *Optional\* | :heavy_minus_sign: | True indicates that the recipient is active for receiving emails. | true | +| `addedByNso` | *Optional\* | :heavy_minus_sign: | True indicates that the recipient was added by the National Sales Office. | false | +| `targetType` | [Optional\](../../models/components/TargetType.md) | :heavy_minus_sign: | The target type can either refer to the type of recipient or the type of action that made the recipient a participant in the RFP process. | PUBLIC_NSO | +| `sendDateTime` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 send date and time in UTC. | 2024-08-20T00:00:01Z | +| `message` | [Optional\](../../models/components/RfpRecipientLogEntryMessage.md) | :heavy_minus_sign: | Message for the recipient. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpRecipientLogEntryJson.md b/packages/java/docs/models/components/RfpRecipientLogEntryJson.md deleted file mode 100644 index 8931ca8ef..000000000 --- a/packages/java/docs/models/components/RfpRecipientLogEntryJson.md +++ /dev/null @@ -1,16 +0,0 @@ -# RfpRecipientLogEntryJson - -Contains the log entry when the recipient was copied on an RFP. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -| `supplier` | [Optional\](../../models/components/RfpRecipientLogEntryJsonSupplier.md) | :heavy_minus_sign: | The supplier associated with the recipient. | | -| `recipientIdentifier` | *Optional\* | :heavy_minus_sign: | This can either be the email address or the code of the recipient. This will not be present if the target type is MEETING_BROKER | jwest@example.com | -| `active` | *Optional\* | :heavy_minus_sign: | True indicates that the recipient is active for receiving emails. | true | -| `addedByNso` | *Optional\* | :heavy_minus_sign: | True indicates that the recipient was added by the National Sales Office. | false | -| `targetType` | [Optional\](../../models/components/TargetTypeJson.md) | :heavy_minus_sign: | The target type can either refer to the type of recipient or the type of action that made the recipient a participant in the RFP process. | PUBLIC_NSO | -| `sendDateTime` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 send date and time in UTC. | 2024-08-20T00:00:01Z | -| `message` | [Optional\](../../models/components/RfpRecipientLogEntryJsonMessage.md) | :heavy_minus_sign: | Message for the recipient. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpRecipientLogEntryJsonMessage.md b/packages/java/docs/models/components/RfpRecipientLogEntryJsonMessage.md deleted file mode 100644 index 405d2d84c..000000000 --- a/packages/java/docs/models/components/RfpRecipientLogEntryJsonMessage.md +++ /dev/null @@ -1,10 +0,0 @@ -# RfpRecipientLogEntryJsonMessage - -Message for the recipient. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the message. | a1c776ab-51ee-44a7-8720-b3dfc44d689b | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpRecipientLogEntryJsonSupplier.md b/packages/java/docs/models/components/RfpRecipientLogEntryJsonSupplier.md deleted file mode 100644 index 402d3450f..000000000 --- a/packages/java/docs/models/components/RfpRecipientLogEntryJsonSupplier.md +++ /dev/null @@ -1,10 +0,0 @@ -# RfpRecipientLogEntryJsonSupplier - -The supplier associated with the recipient. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the supplier. | d024cc04-adf1-443c-854a-97ab9f5a14b2 | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpRecipientLogEntryMessage.md b/packages/java/docs/models/components/RfpRecipientLogEntryMessage.md new file mode 100644 index 000000000..09e1721a7 --- /dev/null +++ b/packages/java/docs/models/components/RfpRecipientLogEntryMessage.md @@ -0,0 +1,10 @@ +# RfpRecipientLogEntryMessage + +Message for the recipient. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the message. | a1c776ab-51ee-44a7-8720-b3dfc44d689b | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpRecipientLogEntrySupplier.md b/packages/java/docs/models/components/RfpRecipientLogEntrySupplier.md new file mode 100644 index 000000000..10b756a51 --- /dev/null +++ b/packages/java/docs/models/components/RfpRecipientLogEntrySupplier.md @@ -0,0 +1,10 @@ +# RfpRecipientLogEntrySupplier + +The supplier associated with the recipient. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier of the supplier. | d024cc04-adf1-443c-854a-97ab9f5a14b2 | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpResponseReason.md b/packages/java/docs/models/components/RfpResponseReason.md new file mode 100644 index 000000000..f0416f76a --- /dev/null +++ b/packages/java/docs/models/components/RfpResponseReason.md @@ -0,0 +1,58 @@ +# RfpResponseReason + +Reason given for a response to an RFP. + +## Example Usage + +```java +import com.cvent.models.components.RfpResponseReason; + +RfpResponseReason value = RfpResponseReason.BOOKED_ANOTHER_VENUE_OR_DESTINATION; +``` + + +## Values + +| Name | Value | +| ------------------------------------------ | ------------------------------------------ | +| `BOOKED_ANOTHER_VENUE_OR_DESTINATION` | BOOKED_ANOTHER_VENUE_OR_DESTINATION | +| `CLIENT_BOOKED_DIRECTLY` | CLIENT_BOOKED_DIRECTLY | +| `COMPETITOR_CONTRACT_AGREEMENT` | COMPETITOR_CONTRACT_AGREEMENT | +| `DATES_OR_PATTERN` | DATES_OR_PATTERN | +| `DECISION_DATE_PASSED` | DECISION_DATE_PASSED | +| `DID_NOT_MEET_REQUIREMENTS` | DID_NOT_MEET_REQUIREMENTS | +| `EPIDEMIC_OR_PANDEMIC` | EPIDEMIC_OR_PANDEMIC | +| `EVENT_CANCELLED` | EVENT_CANCELLED | +| `EVENT_POSTPONED` | EVENT_POSTPONED | +| `FOOD_AND_BEVERAGE_MINIMUM_TOO_HIGH` | FOOD_AND_BEVERAGE_MINIMUM_TOO_HIGH | +| `FOOD_AND_BEVERAGE_TOO_LOW` | FOOD_AND_BEVERAGE_TOO_LOW | +| `INCOMPLETE_RFP` | INCOMPLETE_RFP | +| `LATE_RESPONSE` | LATE_RESPONSE | +| `LOW_BUDGET` | LOW_BUDGET | +| `MEDICAL_EMERGENCY` | MEDICAL_EMERGENCY | +| `MEETING_ROOM_RENTAL_TOO_HIGH` | MEETING_ROOM_RENTAL_TOO_HIGH | +| `MEETING_SPACE_CEILING_HEIGHT` | MEETING_SPACE_CEILING_HEIGHT | +| `MEETING_SPACE_NO_LONGER_AVAILABLE` | MEETING_SPACE_NO_LONGER_AVAILABLE | +| `MEETING_SPACE_UNAVAILABLE` | MEETING_SPACE_UNAVAILABLE | +| `NATURAL_DISASTER` | NATURAL_DISASTER | +| `NO_FOOD_AND_BEVERAGE` | NO_FOOD_AND_BEVERAGE | +| `OTHER` | OTHER | +| `POLITICAL_OR_CIVIL_UNREST` | POLITICAL_OR_CIVIL_UNREST | +| `PREFERRED_OR_ALTERNATE_DATES_UNAVAILABLE` | PREFERRED_OR_ALTERNATE_DATES_UNAVAILABLE | +| `PROPERTY_AMENITIES_OR_SERVICES` | PROPERTY_AMENITIES_OR_SERVICES | +| `PROPERTY_LOCATION` | PROPERTY_LOCATION | +| `RENOVATIONS` | RENOVATIONS | +| `REQUESTED_ROOM_RATE_TOO_LOW` | REQUESTED_ROOM_RATE_TOO_LOW | +| `REQUIREMENTS_CHANGED` | REQUIREMENTS_CHANGED | +| `ROOMS_TO_SPACE_RATIO` | ROOMS_TO_SPACE_RATIO | +| `SELECTED_OTHER_CITY` | SELECTED_OTHER_CITY | +| `SELECTED_OTHER_HOTEL_OR_VENUE` | SELECTED_OTHER_HOTEL_OR_VENUE | +| `SIZE_OF_MEETING_SPACE` | SIZE_OF_MEETING_SPACE | +| `GUEST_ROOM_RATE_TOO_HIGH` | GUEST_ROOM_RATE_TOO_HIGH | +| `GUEST_ROOMS_NO_LONGER_AVAILABLE` | GUEST_ROOMS_NO_LONGER_AVAILABLE | +| `GUEST_ROOMS_UNAVAILABLE` | GUEST_ROOMS_UNAVAILABLE | +| `SUITE_AVAILABILITY` | SUITE_AVAILABILITY | +| `TOO_SPACE_INTENSIVE` | TOO_SPACE_INTENSIVE | +| `VENUE_PERMANENTLY_CLOSED` | VENUE_PERMANENTLY_CLOSED | +| `VENUE_TEMPORARILY_CLOSED` | VENUE_TEMPORARILY_CLOSED | +| `VENUE_TOO_SMALL` | VENUE_TOO_SMALL | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpResponseReasonJson.md b/packages/java/docs/models/components/RfpResponseReasonJson.md deleted file mode 100644 index 5b5c5e1c8..000000000 --- a/packages/java/docs/models/components/RfpResponseReasonJson.md +++ /dev/null @@ -1,58 +0,0 @@ -# RfpResponseReasonJson - -Reason given for a response to an RFP. - -## Example Usage - -```java -import com.cvent.models.components.RfpResponseReasonJson; - -RfpResponseReasonJson value = RfpResponseReasonJson.BOOKED_ANOTHER_VENUE_OR_DESTINATION; -``` - - -## Values - -| Name | Value | -| ------------------------------------------ | ------------------------------------------ | -| `BOOKED_ANOTHER_VENUE_OR_DESTINATION` | BOOKED_ANOTHER_VENUE_OR_DESTINATION | -| `CLIENT_BOOKED_DIRECTLY` | CLIENT_BOOKED_DIRECTLY | -| `COMPETITOR_CONTRACT_AGREEMENT` | COMPETITOR_CONTRACT_AGREEMENT | -| `DATES_OR_PATTERN` | DATES_OR_PATTERN | -| `DECISION_DATE_PASSED` | DECISION_DATE_PASSED | -| `DID_NOT_MEET_REQUIREMENTS` | DID_NOT_MEET_REQUIREMENTS | -| `EPIDEMIC_OR_PANDEMIC` | EPIDEMIC_OR_PANDEMIC | -| `EVENT_CANCELLED` | EVENT_CANCELLED | -| `EVENT_POSTPONED` | EVENT_POSTPONED | -| `FOOD_AND_BEVERAGE_MINIMUM_TOO_HIGH` | FOOD_AND_BEVERAGE_MINIMUM_TOO_HIGH | -| `FOOD_AND_BEVERAGE_TOO_LOW` | FOOD_AND_BEVERAGE_TOO_LOW | -| `INCOMPLETE_RFP` | INCOMPLETE_RFP | -| `LATE_RESPONSE` | LATE_RESPONSE | -| `LOW_BUDGET` | LOW_BUDGET | -| `MEDICAL_EMERGENCY` | MEDICAL_EMERGENCY | -| `MEETING_ROOM_RENTAL_TOO_HIGH` | MEETING_ROOM_RENTAL_TOO_HIGH | -| `MEETING_SPACE_CEILING_HEIGHT` | MEETING_SPACE_CEILING_HEIGHT | -| `MEETING_SPACE_NO_LONGER_AVAILABLE` | MEETING_SPACE_NO_LONGER_AVAILABLE | -| `MEETING_SPACE_UNAVAILABLE` | MEETING_SPACE_UNAVAILABLE | -| `NATURAL_DISASTER` | NATURAL_DISASTER | -| `NO_FOOD_AND_BEVERAGE` | NO_FOOD_AND_BEVERAGE | -| `OTHER` | OTHER | -| `POLITICAL_OR_CIVIL_UNREST` | POLITICAL_OR_CIVIL_UNREST | -| `PREFERRED_OR_ALTERNATE_DATES_UNAVAILABLE` | PREFERRED_OR_ALTERNATE_DATES_UNAVAILABLE | -| `PROPERTY_AMENITIES_OR_SERVICES` | PROPERTY_AMENITIES_OR_SERVICES | -| `PROPERTY_LOCATION` | PROPERTY_LOCATION | -| `RENOVATIONS` | RENOVATIONS | -| `REQUESTED_ROOM_RATE_TOO_LOW` | REQUESTED_ROOM_RATE_TOO_LOW | -| `REQUIREMENTS_CHANGED` | REQUIREMENTS_CHANGED | -| `ROOMS_TO_SPACE_RATIO` | ROOMS_TO_SPACE_RATIO | -| `SELECTED_OTHER_CITY` | SELECTED_OTHER_CITY | -| `SELECTED_OTHER_HOTEL_OR_VENUE` | SELECTED_OTHER_HOTEL_OR_VENUE | -| `SIZE_OF_MEETING_SPACE` | SIZE_OF_MEETING_SPACE | -| `GUEST_ROOM_RATE_TOO_HIGH` | GUEST_ROOM_RATE_TOO_HIGH | -| `GUEST_ROOMS_NO_LONGER_AVAILABLE` | GUEST_ROOMS_NO_LONGER_AVAILABLE | -| `GUEST_ROOMS_UNAVAILABLE` | GUEST_ROOMS_UNAVAILABLE | -| `SUITE_AVAILABILITY` | SUITE_AVAILABILITY | -| `TOO_SPACE_INTENSIVE` | TOO_SPACE_INTENSIVE | -| `VENUE_PERMANENTLY_CLOSED` | VENUE_PERMANENTLY_CLOSED | -| `VENUE_TEMPORARILY_CLOSED` | VENUE_TEMPORARILY_CLOSED | -| `VENUE_TOO_SMALL` | VENUE_TOO_SMALL | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpStatus1.md b/packages/java/docs/models/components/RfpStatus1.md new file mode 100644 index 000000000..2bd043de2 --- /dev/null +++ b/packages/java/docs/models/components/RfpStatus1.md @@ -0,0 +1,24 @@ +# RfpStatus1 + +Represents state of the RFP. + +## Example Usage + +```java +import com.cvent.models.components.RfpStatus1; + +RfpStatus1 value = RfpStatus1.PENDING; +``` + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `PENDING` | PENDING | +| `ACTIVE` | ACTIVE | +| `AWARDED` | AWARDED | +| `DRAFT` | DRAFT | +| `HISTORIC` | HISTORIC | +| `CANCELLED` | CANCELLED | +| `DELETED` | DELETED | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpStatusJson0.md b/packages/java/docs/models/components/RfpStatusJson0.md deleted file mode 100644 index 5d8da84dc..000000000 --- a/packages/java/docs/models/components/RfpStatusJson0.md +++ /dev/null @@ -1,24 +0,0 @@ -# RfpStatusJson0 - -Represents state of the RFP. - -## Example Usage - -```java -import com.cvent.models.components.RfpStatusJson0; - -RfpStatusJson0 value = RfpStatusJson0.PENDING; -``` - - -## Values - -| Name | Value | -| ----------- | ----------- | -| `PENDING` | PENDING | -| `ACTIVE` | ACTIVE | -| `AWARDED` | AWARDED | -| `DRAFT` | DRAFT | -| `HISTORIC` | HISTORIC | -| `CANCELLED` | CANCELLED | -| `DELETED` | DELETED | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpSupplier.md b/packages/java/docs/models/components/RfpSupplier.md new file mode 100644 index 000000000..c74166076 --- /dev/null +++ b/packages/java/docs/models/components/RfpSupplier.md @@ -0,0 +1,39 @@ +# RfpSupplier + +Supplier data for an RFP. + + +## 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 | +| `supplier` | [Optional\](../../models/components/ReferenceToSupplier.md) | :heavy_minus_sign: | The supplier associated with the RFP. | | +| `rfp` | [Optional\](../../models/components/ReferenceToRFP.md) | :heavy_minus_sign: | N/A | | +| `externalSupplier` | [Optional\](../../models/components/ExternalSupplier.md) | :heavy_minus_sign: | External supplier associated with the RFP. If planners cannot find a supplier in Cvent, they can add the supplier by providing the name when awarding the RFP. | | +| `associatedAdvertisements` | [Optional\](../../models/components/SupplierAssociatedAds.md) | :heavy_minus_sign: | N/A | | +| `proposalInProgress` | *Optional\* | :heavy_minus_sign: | True indicates that proposal creation is in progress by supplier. | true | +| `internalNote` | *Optional\* | :heavy_minus_sign: | Internal note by planner for supplier. This is not visible to the supplier. | Don't award this RFP to the same venue as last year. | +| `leadSource` | [Optional\](../../models/components/RfpSupplierLeadSource.md) | :heavy_minus_sign: | N/A | | +| `largestMeetingRoomMet` | *Optional\* | :heavy_minus_sign: | True indicates the largest meeting room criteria is met. | true | +| `numberOfGuestRoomsMet` | *Optional\* | :heavy_minus_sign: | True indicates the number of guest rooms criteria is met. | true | +| `totalMeetingSpaceMet` | *Optional\* | :heavy_minus_sign: | True indicates the total meeting space criteria is met. | true | +| `promotion` | [Optional\](../../models/components/Promotion.md) | :heavy_minus_sign: | Promotion applied by planner while adding supplier on RFP. | | +| `recommendationNote` | *Optional\* | :heavy_minus_sign: | Recommendations added by planner for supplier. | The staff should be courteous. | +| `shortlistOrder` | *Optional\* | :heavy_minus_sign: | Shortlisted order for the supplier. | 45 | +| `showcase` | *Optional\* | :heavy_minus_sign: | True indicates the supplier was added by using RFP showcase feature. | true | +| `starred` | *Optional\* | :heavy_minus_sign: | True indicates the RFP is starred by supplier. This is not visible to the planner. | false | +| `status` | [Optional\](../../models/components/RfpSupplierStatus.md) | :heavy_minus_sign: | N/A | AWAITING_PROPOSAL | +| `statusChangedDateTime` | [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 status was last changed. | 2017-01-02T02:59:59.999Z | +| `responder` | *Optional\* | :heavy_minus_sign: | Name of the recipient associated with supplier who responded to the RFP. | John Doe | +| `response` | [Optional\](../../models/components/SupplierResponse.md) | :heavy_minus_sign: | N/A | | +| `externalProposalId` | *Optional\* | :heavy_minus_sign: | Unique identifier for proposal created by supplier in the external system where it originated. | 143227 | +| `externalId` | *Optional\* | :heavy_minus_sign: | Unique identifier for RFP in the external system where it originated. | 234123 | +| `forwardId` | *Optional\* | :heavy_minus_sign: | The unique identifier generated when supplier forwards the RFP to other suppliers. | d024cc04-adf1-443c-854a-97ab9f5a14b2 | +| `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 the RFP was last sent to the supplier. | 2017-01-02T02:59:59.999Z | +| `lastViewedDateTime` | [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 last viewed by the supplier. | 2017-01-02T02:59:59.999Z | +| `sentDateTime` | [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 originally sent to the supplier. | 2017-01-02T02:59:59.999Z | +| `sentToNso` | *Optional\* | :heavy_minus_sign: | True indicates the RFP was sent to NSO (National Sales Office) associated with supplier. | false | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpSupplierJson.md b/packages/java/docs/models/components/RfpSupplierJson.md deleted file mode 100644 index 27a05dfd9..000000000 --- a/packages/java/docs/models/components/RfpSupplierJson.md +++ /dev/null @@ -1,39 +0,0 @@ -# RfpSupplierJson - -Supplier data for an RFP. - - -## 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 | -| `supplier` | [ReferenceToSupplier](../../models/components/ReferenceToSupplier.md) | :heavy_check_mark: | The supplier associated with the RFP. | | -| `rfp` | [Optional\](../../models/components/ReferenceToRFP.md) | :heavy_minus_sign: | N/A | | -| `externalSupplier` | [Optional\](../../models/components/ExternalSupplier.md) | :heavy_minus_sign: | External supplier associated with the RFP. If planners cannot find a supplier in Cvent, they can add the supplier by providing the name when awarding the RFP. | | -| `associatedAdvertisements` | [Optional\](../../models/components/SupplierAssociatedAds.md) | :heavy_minus_sign: | N/A | | -| `proposalInProgress` | *Optional\* | :heavy_minus_sign: | True indicates that proposal creation is in progress by supplier. | true | -| `internalNote` | *Optional\* | :heavy_minus_sign: | Internal note by planner for supplier. This is not visible to the supplier. | Don't award this RFP to the same venue as last year. | -| `leadSource` | [Optional\](../../models/components/LeadSource.md) | :heavy_minus_sign: | N/A | | -| `largestMeetingRoomMet` | *Optional\* | :heavy_minus_sign: | True indicates the largest meeting room criteria is met. | true | -| `numberOfGuestRoomsMet` | *Optional\* | :heavy_minus_sign: | True indicates the number of guest rooms criteria is met. | true | -| `totalMeetingSpaceMet` | *Optional\* | :heavy_minus_sign: | True indicates the total meeting space criteria is met. | true | -| `promotion` | [Optional\](../../models/components/Promotion.md) | :heavy_minus_sign: | Promotion applied by planner while adding supplier on RFP. | | -| `recommendationNote` | *Optional\* | :heavy_minus_sign: | Recommendations added by planner for supplier. | The staff should be courteous. | -| `shortlistOrder` | *Optional\* | :heavy_minus_sign: | Shortlisted order for the supplier. | 45 | -| `showcase` | *Optional\* | :heavy_minus_sign: | True indicates the supplier was added by using RFP showcase feature. | true | -| `starred` | *Optional\* | :heavy_minus_sign: | True indicates the RFP is starred by supplier. This is not visible to the planner. | false | -| `status` | [Optional\](../../models/components/RfpSupplierStatus.md) | :heavy_minus_sign: | N/A | AWAITING_PROPOSAL | -| `statusChangedDateTime` | [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 status was last changed. | 2017-01-02T02:59:59.999Z | -| `responder` | *Optional\* | :heavy_minus_sign: | Name of the recipient associated with supplier who responded to the RFP. | John Doe | -| `response` | [Optional\](../../models/components/SupplierResponse.md) | :heavy_minus_sign: | N/A | | -| `externalProposalId` | *Optional\* | :heavy_minus_sign: | Unique identifier for proposal created by supplier in the external system where it originated. | 143227 | -| `externalId` | *Optional\* | :heavy_minus_sign: | Unique identifier for RFP in the external system where it originated. | 234123 | -| `forwardId` | *Optional\* | :heavy_minus_sign: | The unique identifier generated when supplier forwards the RFP to other suppliers. | d024cc04-adf1-443c-854a-97ab9f5a14b2 | -| `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 the RFP was last sent to the supplier. | 2017-01-02T02:59:59.999Z | -| `lastViewedDateTime` | [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 last viewed by the supplier. | 2017-01-02T02:59:59.999Z | -| `sentDateTime` | [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 originally sent to the supplier. | 2017-01-02T02:59:59.999Z | -| `sentToNso` | *Optional\* | :heavy_minus_sign: | True indicates the RFP was sent to NSO (National Sales Office) associated with supplier. | false | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpSupplierLeadSource.md b/packages/java/docs/models/components/RfpSupplierLeadSource.md new file mode 100644 index 000000000..76884cf4b --- /dev/null +++ b/packages/java/docs/models/components/RfpSupplierLeadSource.md @@ -0,0 +1,11 @@ +# RfpSupplierLeadSource + +Lead source details. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | Unique identifier for source generating the RFP. Details about this lead source can be fetched using lead source API. | 50dc08af-24a9-4d01-84be-3d43133dc945 | +| `section` | [Optional\](../../models/components/LeadSourceSection.md) | :heavy_minus_sign: | Represents lead source section details, which is a sub area of source generating the RFP. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpType1.md b/packages/java/docs/models/components/RfpType1.md new file mode 100644 index 000000000..97d372908 --- /dev/null +++ b/packages/java/docs/models/components/RfpType1.md @@ -0,0 +1,22 @@ +# RfpType1 + +RFP types based on event requirements. + +## Example Usage + +```java +import com.cvent.models.components.RfpType1; + +RfpType1 value = RfpType1.MEETING_SPACE_AND_GUEST_ROOMS; +``` + + +## Values + +| Name | Value | +| ------------------------------- | ------------------------------- | +| `MEETING_SPACE_AND_GUEST_ROOMS` | MEETING_SPACE_AND_GUEST_ROOMS | +| `MEETING_SPACE_ONLY` | MEETING_SPACE_ONLY | +| `GUEST_ROOMS_ONLY` | GUEST_ROOMS_ONLY | +| `RESTAURANT_RFP` | RESTAURANT_RFP | +| `SERVICE_PROVIDER` | SERVICE_PROVIDER | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpTypeJson0.md b/packages/java/docs/models/components/RfpTypeJson0.md deleted file mode 100644 index b3b32f50a..000000000 --- a/packages/java/docs/models/components/RfpTypeJson0.md +++ /dev/null @@ -1,22 +0,0 @@ -# RfpTypeJson0 - -RFP types based on event requirements. - -## Example Usage - -```java -import com.cvent.models.components.RfpTypeJson0; - -RfpTypeJson0 value = RfpTypeJson0.MEETING_SPACE_AND_GUEST_ROOMS; -``` - - -## Values - -| Name | Value | -| ------------------------------- | ------------------------------- | -| `MEETING_SPACE_AND_GUEST_ROOMS` | MEETING_SPACE_AND_GUEST_ROOMS | -| `MEETING_SPACE_ONLY` | MEETING_SPACE_ONLY | -| `GUEST_ROOMS_ONLY` | GUEST_ROOMS_ONLY | -| `RESTAURANT_RFP` | RESTAURANT_RFP | -| `SERVICE_PROVIDER` | SERVICE_PROVIDER | \ No newline at end of file diff --git a/packages/java/docs/models/components/RoomBedTypeJson.md b/packages/java/docs/models/components/RoomBedTypeJson.md new file mode 100644 index 000000000..b437aa9dc --- /dev/null +++ b/packages/java/docs/models/components/RoomBedTypeJson.md @@ -0,0 +1,26 @@ +# RoomBedTypeJson + +Code representing the bed type. + +## Example Usage + +```java +import com.cvent.models.components.RoomBedTypeJson; + +RoomBedTypeJson value = RoomBedTypeJson.SOFA_BED; +``` + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `SOFA_BED` | sofa_bed | +| `DOUBLE` | double | +| `FULL` | full | +| `KING` | king | +| `MURPHY` | murphy | +| `QUEEN` | queen | +| `RUN_OF_HOUSE` | run_of_house | +| `SINGLE` | single | +| `TWIN` | twin | \ No newline at end of file diff --git a/packages/java/docs/models/components/RoomBedTypeJson1.md b/packages/java/docs/models/components/RoomBedTypeJson1.md deleted file mode 100644 index b80de6c29..000000000 --- a/packages/java/docs/models/components/RoomBedTypeJson1.md +++ /dev/null @@ -1,26 +0,0 @@ -# RoomBedTypeJson1 - -Code representing the bed type. - -## Example Usage - -```java -import com.cvent.models.components.RoomBedTypeJson1; - -RoomBedTypeJson1 value = RoomBedTypeJson1.SOFA_BED; -``` - - -## Values - -| Name | Value | -| -------------- | -------------- | -| `SOFA_BED` | sofa_bed | -| `DOUBLE` | double | -| `FULL` | full | -| `KING` | king | -| `MURPHY` | murphy | -| `QUEEN` | queen | -| `RUN_OF_HOUSE` | run_of_house | -| `SINGLE` | single | -| `TWIN` | twin | \ No newline at end of file diff --git a/packages/java/docs/models/components/RoomBlock.md b/packages/java/docs/models/components/RoomBlock.md new file mode 100644 index 000000000..18ad286b6 --- /dev/null +++ b/packages/java/docs/models/components/RoomBlock.md @@ -0,0 +1,14 @@ +# RoomBlock + +Contains details related to room allotment for a day. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | Unique identifier for the room block. | 1f6193da-e12b-4638-b1e2-13dd60d0adeb | +| `date` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 date when the rooms are required. | 2025-10-13 | +| `dayNumber` | *Optional\* | :heavy_minus_sign: | Counter for day number. | 3 | +| `totalRooms` | *Optional\* | :heavy_minus_sign: | Total number of rooms required for the day. | 24 | +| `details` | List\<[RoomBlockDetails](../../models/components/RoomBlockDetails.md)> | :heavy_minus_sign: | Contains detail of quantity required for each room type. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/RoomBlockDetails.md b/packages/java/docs/models/components/RoomBlockDetails.md new file mode 100644 index 000000000..838c70249 --- /dev/null +++ b/packages/java/docs/models/components/RoomBlockDetails.md @@ -0,0 +1,11 @@ +# RoomBlockDetails + +Contains details related to room allotment for a room type. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `quantity` | *Optional\* | :heavy_minus_sign: | Quantity of rooms required. | 24 | +| `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 diff --git a/packages/java/docs/models/components/RoomBlockDetailsJson.md b/packages/java/docs/models/components/RoomBlockDetailsJson.md deleted file mode 100644 index ef10f2a71..000000000 --- a/packages/java/docs/models/components/RoomBlockDetailsJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# RoomBlockDetailsJson - -Contains details related to room allotment for a room type. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `quantity` | *Optional\* | :heavy_minus_sign: | Quantity of rooms required. | 24 | -| `type` | [Optional\](../../models/components/GuestRoomTypeJson.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 diff --git a/packages/java/docs/models/components/RoomBlockJson.md b/packages/java/docs/models/components/RoomBlockJson.md deleted file mode 100644 index 2a3fd7566..000000000 --- a/packages/java/docs/models/components/RoomBlockJson.md +++ /dev/null @@ -1,14 +0,0 @@ -# RoomBlockJson - -Contains details related to room allotment for a day. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | Unique identifier for the room block. | 1f6193da-e12b-4638-b1e2-13dd60d0adeb | -| `date` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 date when the rooms are required. | 2025-10-13 | -| `dayNumber` | *Optional\* | :heavy_minus_sign: | Counter for day number. | 3 | -| `totalRooms` | *Optional\* | :heavy_minus_sign: | Total number of rooms required for the day. | 24 | -| `details` | List\<[RoomBlockDetailsJson](../../models/components/RoomBlockDetailsJson.md)> | :heavy_minus_sign: | Contains detail of quantity required for each room type. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ScoresJson.md b/packages/java/docs/models/components/ScoresJson.md index bbdc8c8ae..d1a344a01 100644 --- a/packages/java/docs/models/components/ScoresJson.md +++ b/packages/java/docs/models/components/ScoresJson.md @@ -12,6 +12,6 @@ Insight score and ranking. | `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` | [ScoresJsonAttendee](../../models/components/ScoresJsonAttendee.md) | :heavy_check_mark: | The attendee with points in this engagement score. | | -| `event` | [EventJson6](../../models/components/EventJson6.md) | :heavy_check_mark: | An event reference used in attendee insights to identify the event context for engagement data | | +| `event` | [EventJson5](../../models/components/EventJson5.md) | :heavy_check_mark: | An event reference used in attendee insights to identify the event context for engagement data | | | `points` | *Optional\* | :heavy_minus_sign: | The number of points earned by an attendee in this engagement score. | 45 | | `rank` | *Optional\* | :heavy_minus_sign: | Attendees rank amongst other attendees in terms of points scored. | 10 | \ No newline at end of file diff --git a/packages/java/docs/models/components/SendEmailEventRequest.md b/packages/java/docs/models/components/SendEmailEventRequest.md index db183c4ef..459af253f 100644 --- a/packages/java/docs/models/components/SendEmailEventRequest.md +++ b/packages/java/docs/models/components/SendEmailEventRequest.md @@ -7,7 +7,7 @@ Request object to send an email to one or more event attendees. | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `event` | [EventJson8](../../models/components/EventJson8.md) | :heavy_check_mark: | Details of the event. | | +| `event` | [EventJson6](../../models/components/EventJson6.md) | :heavy_check_mark: | Details of the event. | | | `email` | [EmailJson2](../../models/components/EmailJson2.md) | :heavy_check_mark: | Details of an email to be send. | | | `resendToPreviousRecipients` | *boolean* | :heavy_check_mark: | True indicates this email should be resent to attendees who had already received this email previously. | true | | `attendees` | List\<*String*> | :heavy_check_mark: | Array of attendee identifiers to whom email is to be sent. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/SendEmailEventResponse.md b/packages/java/docs/models/components/SendEmailEventResponse.md index b5be3f632..e330c433c 100644 --- a/packages/java/docs/models/components/SendEmailEventResponse.md +++ b/packages/java/docs/models/components/SendEmailEventResponse.md @@ -14,7 +14,7 @@ Response object containing a request ID and a list of all email responses sent t | `requestId` | *String* | :heavy_check_mark: | The request ID for the email send request. | 3A541E55-3367-4C50-B21B-B6A7613DFB23 | | `status` | [Optional\](../../models/components/SendEmailRequestStatusJson.md) | :heavy_minus_sign: | Denotes the status of the send email request. | ERROR | | `description` | *Optional\* | :heavy_minus_sign: | The description of the response. If the `status` is `ERROR`, this field contains the reason for the failure. | Cannot send an email from deleted event. | -| `event` | [EventJson8](../../models/components/EventJson8.md) | :heavy_check_mark: | Details of the event. | | +| `event` | [EventJson6](../../models/components/EventJson6.md) | :heavy_check_mark: | Details of the event. | | | `email` | [EmailJson2](../../models/components/EmailJson2.md) | :heavy_check_mark: | Details of an email to be send. | | | `resendToPreviousRecipients` | *boolean* | :heavy_check_mark: | True indicates this email should be resent to attendees who had already received this email previously. | true | | `attendeeResponses` | List\<[AttendeeResponseJson](../../models/components/AttendeeResponseJson.md)> | :heavy_minus_sign: | List of responses specifying the status of email request for each attendee. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/SessionLite.md b/packages/java/docs/models/components/SessionLite.md new file mode 100644 index 000000000..93e0db4c8 --- /dev/null +++ b/packages/java/docs/models/components/SessionLite.md @@ -0,0 +1,10 @@ +# SessionLite + +The unique identifier of a session. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *String* | :heavy_check_mark: | The unique identifier for a session. | 832cb481-74c5-4859-ba21-bbb5be8b86e0 | \ No newline at end of file diff --git a/packages/java/docs/models/components/SessionLiteJson.md b/packages/java/docs/models/components/SessionLiteJson.md deleted file mode 100644 index cde0bf88f..000000000 --- a/packages/java/docs/models/components/SessionLiteJson.md +++ /dev/null @@ -1,10 +0,0 @@ -# SessionLiteJson - -The unique identifier of a session. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *String* | :heavy_check_mark: | The unique identifier for a session. | 832cb481-74c5-4859-ba21-bbb5be8b86e0 | \ No newline at end of file diff --git a/packages/java/docs/models/components/SessionQaMessage.md b/packages/java/docs/models/components/SessionQaMessage.md index 5deca412e..4d5b026d5 100644 --- a/packages/java/docs/models/components/SessionQaMessage.md +++ b/packages/java/docs/models/components/SessionQaMessage.md @@ -9,4 +9,4 @@ A session question answer message | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `actionType` | [SessionQaActionTypeJson](../../models/components/SessionQaActionTypeJson.md) | :heavy_check_mark: | The user action that just occurred.
`question.asked` - A question was asked.
`question.upvoted` - A question was upvoted.
`question.statusUpdated` - The status of a question was updated.
`question.answered` - Either question was answered or the earlier provided answer was updated.
`answer.deleted` - An answer was deleted. | question.asked | | `attendee` | [AttendeeJson](../../models/components/AttendeeJson.md) | :heavy_check_mark: | Attendee details | | -| `question` | [QuestionJson1](../../models/components/QuestionJson1.md) | :heavy_check_mark: | Question details | | \ No newline at end of file +| `question` | [QuestionJson](../../models/components/QuestionJson.md) | :heavy_check_mark: | Question details | | \ No newline at end of file diff --git a/packages/java/docs/models/components/SessionSpeaker.md b/packages/java/docs/models/components/SessionSpeaker.md new file mode 100644 index 000000000..de8c6ac98 --- /dev/null +++ b/packages/java/docs/models/components/SessionSpeaker.md @@ -0,0 +1,13 @@ +# SessionSpeaker + +A session speaker + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `session` | [Optional\](../../models/components/SessionLite.md) | :heavy_minus_sign: | The unique identifier of a session. | | +| `category` | [Optional\](../../models/components/SpeakerCategory1.md) | :heavy_minus_sign: | A defined speaker category. | | +| `order` | *Optional\* | :heavy_minus_sign: | The order of the speaker in a session. | 1 | \ No newline at end of file diff --git a/packages/java/docs/models/components/SessionSpeakerJson.md b/packages/java/docs/models/components/SessionSpeakerJson.md deleted file mode 100644 index 80f03775f..000000000 --- a/packages/java/docs/models/components/SessionSpeakerJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# SessionSpeakerJson - -A session speaker - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `id` | *Optional\* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `session` | [Optional\](../../models/components/SessionLiteJson.md) | :heavy_minus_sign: | The unique identifier of a session. | | -| `category` | [Optional\](../../models/components/CategoryIdNameJson.md) | :heavy_minus_sign: | A defined speaker category. | | -| `order` | *Optional\* | :heavy_minus_sign: | The order of the speaker in a session. | 1 | \ No newline at end of file diff --git a/packages/java/docs/models/components/SessionSpeakerPaginatedResponse.md b/packages/java/docs/models/components/SessionSpeakerPaginatedResponse.md index 4a0aa19c0..07448b203 100644 --- a/packages/java/docs/models/components/SessionSpeakerPaginatedResponse.md +++ b/packages/java/docs/models/components/SessionSpeakerPaginatedResponse.md @@ -5,7 +5,7 @@ The response from a request to get the list of session speakers. This includes ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `paging` | [PagingJson](../../models/components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | List\<[SessionSpeakerJson](../../models/components/SessionSpeakerJson.md)> | :heavy_check_mark: | Collection of a session's speakers. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `paging` | [Paging](../../models/components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `data` | List\<[SessionSpeaker](../../models/components/SessionSpeaker.md)> | :heavy_check_mark: | Collection of a session's speakers. | \ No newline at end of file diff --git a/packages/java/docs/models/components/SleepingRoomBlockJson.md b/packages/java/docs/models/components/SleepingRoomBlockJson.md index f25c8bbe8..001b64d6b 100644 --- a/packages/java/docs/models/components/SleepingRoomBlockJson.md +++ b/packages/java/docs/models/components/SleepingRoomBlockJson.md @@ -7,7 +7,7 @@ The sleeping room block. | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `proposalDateType` | [Optional\](../../models/components/DateTypeJson1.md) | :heavy_minus_sign: | The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). | | +| `proposalDateType` | [Optional\](../../models/components/DateTypeJson.md) | :heavy_minus_sign: | The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). | | | `sleepingRoomType` | [Optional\](../../models/components/SleepingRoomTypeJson.md) | :heavy_minus_sign: | Sleeping room type | | | `date` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | Date the rooms in the room block are available. | 2021-01-13 | | `quantity` | *Optional\* | :heavy_minus_sign: | The total number of rooms for this room block. | 20 | diff --git a/packages/java/docs/models/components/SleepingRoomJson.md b/packages/java/docs/models/components/SleepingRoomJson.md index 186f28670..0e8a9bb49 100644 --- a/packages/java/docs/models/components/SleepingRoomJson.md +++ b/packages/java/docs/models/components/SleepingRoomJson.md @@ -7,7 +7,7 @@ The sleeping room. | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `proposalDateType` | [Optional\](../../models/components/DateTypeJson1.md) | :heavy_minus_sign: | The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). | | +| `proposalDateType` | [Optional\](../../models/components/DateTypeJson.md) | :heavy_minus_sign: | The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). | | | `checkInDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The check in date for attendees. | 2021-01-13 | | `checkOutDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The check out date for attendees. | 2021-01-13 | | `peakRoomNights` | *Optional\* | :heavy_minus_sign: | The night during an event when the most sleeping rooms are occupied. | 2 | diff --git a/packages/java/docs/models/components/Solution.md b/packages/java/docs/models/components/Solution.md new file mode 100644 index 000000000..bd46da654 --- /dev/null +++ b/packages/java/docs/models/components/Solution.md @@ -0,0 +1,19 @@ +# Solution + +The solution where the video exists. Attendee Hub and Events+ represent two different solutions where the video can be found. + +## Example Usage + +```java +import com.cvent.models.components.Solution; + +Solution value = Solution.ATTENDEE_HUB; +``` + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `ATTENDEE_HUB` | ATTENDEE_HUB | +| `EVENTS_PLUS` | EVENTS_PLUS | \ No newline at end of file diff --git a/packages/java/docs/models/components/SolutionJson.md b/packages/java/docs/models/components/SolutionJson.md deleted file mode 100644 index cccb5480d..000000000 --- a/packages/java/docs/models/components/SolutionJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# SolutionJson - -The solution where the video exists. Attendee Hub and Events+ represent two different solutions where the video can be found. - -## Example Usage - -```java -import com.cvent.models.components.SolutionJson; - -SolutionJson value = SolutionJson.ATTENDEE_HUB; -``` - - -## Values - -| Name | Value | -| -------------- | -------------- | -| `ATTENDEE_HUB` | ATTENDEE_HUB | -| `EVENTS_PLUS` | EVENTS_PLUS | \ No newline at end of file diff --git a/packages/java/docs/models/components/SpaceArea.md b/packages/java/docs/models/components/SpaceArea.md new file mode 100644 index 000000000..5ae12b6c4 --- /dev/null +++ b/packages/java/docs/models/components/SpaceArea.md @@ -0,0 +1,91 @@ +# SpaceArea + +Space area divisons. + +## Example Usage + +```java +import com.cvent.models.components.SpaceArea; + +SpaceArea value = SpaceArea.LESS_THAN_ONE_THOUSAND_SQ_FT; +``` + + +## Values + +| Name | Value | +| ----------------------------------------- | ----------------------------------------- | +| `LESS_THAN_ONE_THOUSAND_SQ_FT` | LESS_THAN_ONE_THOUSAND_SQ_FT | +| `ONE_THOUSAND_SQ_FT` | ONE_THOUSAND_SQ_FT | +| `TWO_THOUSAND_SQ_FT` | TWO_THOUSAND_SQ_FT | +| `THREE_THOUSAND_SQ_FT` | THREE_THOUSAND_SQ_FT | +| `FOUR_THOUSAND_SQ_FT` | FOUR_THOUSAND_SQ_FT | +| `FIVE_THOUSAND_SQ_FT` | FIVE_THOUSAND_SQ_FT | +| `SIX_THOUSAND_SQ_FT` | SIX_THOUSAND_SQ_FT | +| `SEVEN_THOUSAND_SQ_FT` | SEVEN_THOUSAND_SQ_FT | +| `EIGHT_THOUSAND_SQ_FT` | EIGHT_THOUSAND_SQ_FT | +| `NINE_THOUSAND_SQ_FT` | NINE_THOUSAND_SQ_FT | +| `TEN_THOUSAND_SQ_FT` | TEN_THOUSAND_SQ_FT | +| `ELEVEN_THOUSAND_SQ_FT` | ELEVEN_THOUSAND_SQ_FT | +| `TWELVE_THOUSAND_SQ_FT` | TWELVE_THOUSAND_SQ_FT | +| `THIRTEEN_THOUSAND_SQ_FT` | THIRTEEN_THOUSAND_SQ_FT | +| `FOURTEEN_THOUSAND_SQ_FT` | FOURTEEN_THOUSAND_SQ_FT | +| `FIFTEEN_THOUSAND_SQ_FT` | FIFTEEN_THOUSAND_SQ_FT | +| `SIXTEEN_THOUSAND_SQ_FT` | SIXTEEN_THOUSAND_SQ_FT | +| `SEVENTEEN_THOUSAND_SQ_FT` | SEVENTEEN_THOUSAND_SQ_FT | +| `EIGHTEEN_THOUSAND_SQ_FT` | EIGHTEEN_THOUSAND_SQ_FT | +| `NINETEEN_THOUSAND_SQ_FT` | NINETEEN_THOUSAND_SQ_FT | +| `TWENTY_THOUSAND_SQ_FT` | TWENTY_THOUSAND_SQ_FT | +| `TWENTY_FIVE_THOUSAND_SQ_FT` | TWENTY_FIVE_THOUSAND_SQ_FT | +| `THIRTY_THOUSAND_SQ_FT` | THIRTY_THOUSAND_SQ_FT | +| `THIRTY_FIVE_THOUSAND_SQ_FT` | THIRTY_FIVE_THOUSAND_SQ_FT | +| `FORTY_THOUSAND_SQ_FT` | FORTY_THOUSAND_SQ_FT | +| `FORTY_FIVE_THOUSAND_SQ_FT` | FORTY_FIVE_THOUSAND_SQ_FT | +| `FIFTY_THOUSAND_SQ_FT` | FIFTY_THOUSAND_SQ_FT | +| `FIFTY_FIVE_THOUSAND_SQ_FT` | FIFTY_FIVE_THOUSAND_SQ_FT | +| `SIXTY_THOUSAND_SQ_FT` | SIXTY_THOUSAND_SQ_FT | +| `SIXTY_FIVE_THOUSAND_SQ_FT` | SIXTY_FIVE_THOUSAND_SQ_FT | +| `SEVENTY_THOUSAND_SQ_FT` | SEVENTY_THOUSAND_SQ_FT | +| `SEVENTY_FIVE_THOUSAND_SQ_FT` | SEVENTY_FIVE_THOUSAND_SQ_FT | +| `EIGHTY_THOUSAND_SQ_FT` | EIGHTY_THOUSAND_SQ_FT | +| `EIGHTY_FIVE_THOUSAND_SQ_FT` | EIGHTY_FIVE_THOUSAND_SQ_FT | +| `NINETY_THOUSAND_SQ_FT` | NINETY_THOUSAND_SQ_FT | +| `ONE_HUNDRED_THOUSAND_SQ_FT` | ONE_HUNDRED_THOUSAND_SQ_FT | +| `GREATER_THAN_ONE_HUNDRED_THOUSAND_SQ_FT` | GREATER_THAN_ONE_HUNDRED_THOUSAND_SQ_FT | +| `LESS_THAN_ONE_HUNDRED_SQ_MTR` | LESS_THAN_ONE_HUNDRED_SQ_MTR | +| `ONE_HUNDRED_SQ_MTR` | ONE_HUNDRED_SQ_MTR | +| `TWO_HUNDRED_SQ_MTR` | TWO_HUNDRED_SQ_MTR | +| `THREE_HUNDRED_SQ_MTR` | THREE_HUNDRED_SQ_MTR | +| `FOUR_HUNDRED_SQ_MTR` | FOUR_HUNDRED_SQ_MTR | +| `FIVE_HUNDRED_SQ_MTR` | FIVE_HUNDRED_SQ_MTR | +| `SIX_HUNDRED_SQ_MTR` | SIX_HUNDRED_SQ_MTR | +| `SEVEN_HUNDRED_SQ_MTR` | SEVEN_HUNDRED_SQ_MTR | +| `EIGHT_HUNDRED_SQ_MTR` | EIGHT_HUNDRED_SQ_MTR | +| `NINE_HUNDRED_SQ_MTR` | NINE_HUNDRED_SQ_MTR | +| `ONE_THOUSAND_SQ_MTR` | ONE_THOUSAND_SQ_MTR | +| `ELEVEN_HUNDRED_SQ_MTR` | ELEVEN_HUNDRED_SQ_MTR | +| `TWELVE_HUNDRED_SQ_MTR` | TWELVE_HUNDRED_SQ_MTR | +| `THIRTEEN_HUNDRED_SQ_MTR` | THIRTEEN_HUNDRED_SQ_MTR | +| `FOURTEEN_HUNDRED_SQ_MTR` | FOURTEEN_HUNDRED_SQ_MTR | +| `FIFTEEN_HUNDRED_SQ_MTR` | FIFTEEN_HUNDRED_SQ_MTR | +| `SIXTEEN_HUNDRED_SQ_MTR` | SIXTEEN_HUNDRED_SQ_MTR | +| `SEVENTEEN_HUNDRED_SQ_MTR` | SEVENTEEN_HUNDRED_SQ_MTR | +| `EIGHTEEN_HUNDRED_SQ_MTR` | EIGHTEEN_HUNDRED_SQ_MTR | +| `NINETEEN_HUNDRED_SQ_MTR` | NINETEEN_HUNDRED_SQ_MTR | +| `TWO_THOUSAND_SQ_MTR` | TWO_THOUSAND_SQ_MTR | +| `TWENTY_FIVE_HUNDRED_SQ_MTR` | TWENTY_FIVE_HUNDRED_SQ_MTR | +| `THREE_THOUSAND_SQ_MTR` | THREE_THOUSAND_SQ_MTR | +| `THIRTY_FIVE_HUNDRED_SQ_MTR` | THIRTY_FIVE_HUNDRED_SQ_MTR | +| `FOUR_THOUSAND_SQ_MTR` | FOUR_THOUSAND_SQ_MTR | +| `FORTY_FIVE_HUNDRED_SQ_MTR` | FORTY_FIVE_HUNDRED_SQ_MTR | +| `FIVE_THOUSAND_SQ_MTR` | FIVE_THOUSAND_SQ_MTR | +| `FIFTY_FIVE_HUNDRED_SQ_MTR` | FIFTY_FIVE_HUNDRED_SQ_MTR | +| `SIX_THOUSAND_SQ_MTR` | SIX_THOUSAND_SQ_MTR | +| `SIXTY_FIVE_HUNDRED_SQ_MTR` | SIXTY_FIVE_HUNDRED_SQ_MTR | +| `SEVEN_THOUSAND_SQ_MTR` | SEVEN_THOUSAND_SQ_MTR | +| `SEVENTY_FIVE_HUNDRED_SQ_MTR` | SEVENTY_FIVE_HUNDRED_SQ_MTR | +| `EIGHT_THOUSAND_SQ_MTR` | EIGHT_THOUSAND_SQ_MTR | +| `EIGHTY_FIVE_HUNDRED_SQ_MTR` | EIGHTY_FIVE_HUNDRED_SQ_MTR | +| `NINE_THOUSAND_SQ_MTR` | NINE_THOUSAND_SQ_MTR | +| `TEN_THOUSAND_SQ_MTR` | TEN_THOUSAND_SQ_MTR | +| `GREATER_THAN_TEN_THOUSAND_SQ_MTR` | GREATER_THAN_TEN_THOUSAND_SQ_MTR | \ No newline at end of file diff --git a/packages/java/docs/models/components/SpaceAreaJson0.md b/packages/java/docs/models/components/SpaceAreaJson0.md deleted file mode 100644 index bab9de376..000000000 --- a/packages/java/docs/models/components/SpaceAreaJson0.md +++ /dev/null @@ -1,91 +0,0 @@ -# SpaceAreaJson0 - -Space area divisons. - -## Example Usage - -```java -import com.cvent.models.components.SpaceAreaJson0; - -SpaceAreaJson0 value = SpaceAreaJson0.LESS_THAN_ONE_THOUSAND_SQ_FT; -``` - - -## Values - -| Name | Value | -| ----------------------------------------- | ----------------------------------------- | -| `LESS_THAN_ONE_THOUSAND_SQ_FT` | LESS_THAN_ONE_THOUSAND_SQ_FT | -| `ONE_THOUSAND_SQ_FT` | ONE_THOUSAND_SQ_FT | -| `TWO_THOUSAND_SQ_FT` | TWO_THOUSAND_SQ_FT | -| `THREE_THOUSAND_SQ_FT` | THREE_THOUSAND_SQ_FT | -| `FOUR_THOUSAND_SQ_FT` | FOUR_THOUSAND_SQ_FT | -| `FIVE_THOUSAND_SQ_FT` | FIVE_THOUSAND_SQ_FT | -| `SIX_THOUSAND_SQ_FT` | SIX_THOUSAND_SQ_FT | -| `SEVEN_THOUSAND_SQ_FT` | SEVEN_THOUSAND_SQ_FT | -| `EIGHT_THOUSAND_SQ_FT` | EIGHT_THOUSAND_SQ_FT | -| `NINE_THOUSAND_SQ_FT` | NINE_THOUSAND_SQ_FT | -| `TEN_THOUSAND_SQ_FT` | TEN_THOUSAND_SQ_FT | -| `ELEVEN_THOUSAND_SQ_FT` | ELEVEN_THOUSAND_SQ_FT | -| `TWELVE_THOUSAND_SQ_FT` | TWELVE_THOUSAND_SQ_FT | -| `THIRTEEN_THOUSAND_SQ_FT` | THIRTEEN_THOUSAND_SQ_FT | -| `FOURTEEN_THOUSAND_SQ_FT` | FOURTEEN_THOUSAND_SQ_FT | -| `FIFTEEN_THOUSAND_SQ_FT` | FIFTEEN_THOUSAND_SQ_FT | -| `SIXTEEN_THOUSAND_SQ_FT` | SIXTEEN_THOUSAND_SQ_FT | -| `SEVENTEEN_THOUSAND_SQ_FT` | SEVENTEEN_THOUSAND_SQ_FT | -| `EIGHTEEN_THOUSAND_SQ_FT` | EIGHTEEN_THOUSAND_SQ_FT | -| `NINETEEN_THOUSAND_SQ_FT` | NINETEEN_THOUSAND_SQ_FT | -| `TWENTY_THOUSAND_SQ_FT` | TWENTY_THOUSAND_SQ_FT | -| `TWENTY_FIVE_THOUSAND_SQ_FT` | TWENTY_FIVE_THOUSAND_SQ_FT | -| `THIRTY_THOUSAND_SQ_FT` | THIRTY_THOUSAND_SQ_FT | -| `THIRTY_FIVE_THOUSAND_SQ_FT` | THIRTY_FIVE_THOUSAND_SQ_FT | -| `FORTY_THOUSAND_SQ_FT` | FORTY_THOUSAND_SQ_FT | -| `FORTY_FIVE_THOUSAND_SQ_FT` | FORTY_FIVE_THOUSAND_SQ_FT | -| `FIFTY_THOUSAND_SQ_FT` | FIFTY_THOUSAND_SQ_FT | -| `FIFTY_FIVE_THOUSAND_SQ_FT` | FIFTY_FIVE_THOUSAND_SQ_FT | -| `SIXTY_THOUSAND_SQ_FT` | SIXTY_THOUSAND_SQ_FT | -| `SIXTY_FIVE_THOUSAND_SQ_FT` | SIXTY_FIVE_THOUSAND_SQ_FT | -| `SEVENTY_THOUSAND_SQ_FT` | SEVENTY_THOUSAND_SQ_FT | -| `SEVENTY_FIVE_THOUSAND_SQ_FT` | SEVENTY_FIVE_THOUSAND_SQ_FT | -| `EIGHTY_THOUSAND_SQ_FT` | EIGHTY_THOUSAND_SQ_FT | -| `EIGHTY_FIVE_THOUSAND_SQ_FT` | EIGHTY_FIVE_THOUSAND_SQ_FT | -| `NINETY_THOUSAND_SQ_FT` | NINETY_THOUSAND_SQ_FT | -| `ONE_HUNDRED_THOUSAND_SQ_FT` | ONE_HUNDRED_THOUSAND_SQ_FT | -| `GREATER_THAN_ONE_HUNDRED_THOUSAND_SQ_FT` | GREATER_THAN_ONE_HUNDRED_THOUSAND_SQ_FT | -| `LESS_THAN_ONE_HUNDRED_SQ_MTR` | LESS_THAN_ONE_HUNDRED_SQ_MTR | -| `ONE_HUNDRED_SQ_MTR` | ONE_HUNDRED_SQ_MTR | -| `TWO_HUNDRED_SQ_MTR` | TWO_HUNDRED_SQ_MTR | -| `THREE_HUNDRED_SQ_MTR` | THREE_HUNDRED_SQ_MTR | -| `FOUR_HUNDRED_SQ_MTR` | FOUR_HUNDRED_SQ_MTR | -| `FIVE_HUNDRED_SQ_MTR` | FIVE_HUNDRED_SQ_MTR | -| `SIX_HUNDRED_SQ_MTR` | SIX_HUNDRED_SQ_MTR | -| `SEVEN_HUNDRED_SQ_MTR` | SEVEN_HUNDRED_SQ_MTR | -| `EIGHT_HUNDRED_SQ_MTR` | EIGHT_HUNDRED_SQ_MTR | -| `NINE_HUNDRED_SQ_MTR` | NINE_HUNDRED_SQ_MTR | -| `ONE_THOUSAND_SQ_MTR` | ONE_THOUSAND_SQ_MTR | -| `ELEVEN_HUNDRED_SQ_MTR` | ELEVEN_HUNDRED_SQ_MTR | -| `TWELVE_HUNDRED_SQ_MTR` | TWELVE_HUNDRED_SQ_MTR | -| `THIRTEEN_HUNDRED_SQ_MTR` | THIRTEEN_HUNDRED_SQ_MTR | -| `FOURTEEN_HUNDRED_SQ_MTR` | FOURTEEN_HUNDRED_SQ_MTR | -| `FIFTEEN_HUNDRED_SQ_MTR` | FIFTEEN_HUNDRED_SQ_MTR | -| `SIXTEEN_HUNDRED_SQ_MTR` | SIXTEEN_HUNDRED_SQ_MTR | -| `SEVENTEEN_HUNDRED_SQ_MTR` | SEVENTEEN_HUNDRED_SQ_MTR | -| `EIGHTEEN_HUNDRED_SQ_MTR` | EIGHTEEN_HUNDRED_SQ_MTR | -| `NINETEEN_HUNDRED_SQ_MTR` | NINETEEN_HUNDRED_SQ_MTR | -| `TWO_THOUSAND_SQ_MTR` | TWO_THOUSAND_SQ_MTR | -| `TWENTY_FIVE_HUNDRED_SQ_MTR` | TWENTY_FIVE_HUNDRED_SQ_MTR | -| `THREE_THOUSAND_SQ_MTR` | THREE_THOUSAND_SQ_MTR | -| `THIRTY_FIVE_HUNDRED_SQ_MTR` | THIRTY_FIVE_HUNDRED_SQ_MTR | -| `FOUR_THOUSAND_SQ_MTR` | FOUR_THOUSAND_SQ_MTR | -| `FORTY_FIVE_HUNDRED_SQ_MTR` | FORTY_FIVE_HUNDRED_SQ_MTR | -| `FIVE_THOUSAND_SQ_MTR` | FIVE_THOUSAND_SQ_MTR | -| `FIFTY_FIVE_HUNDRED_SQ_MTR` | FIFTY_FIVE_HUNDRED_SQ_MTR | -| `SIX_THOUSAND_SQ_MTR` | SIX_THOUSAND_SQ_MTR | -| `SIXTY_FIVE_HUNDRED_SQ_MTR` | SIXTY_FIVE_HUNDRED_SQ_MTR | -| `SEVEN_THOUSAND_SQ_MTR` | SEVEN_THOUSAND_SQ_MTR | -| `SEVENTY_FIVE_HUNDRED_SQ_MTR` | SEVENTY_FIVE_HUNDRED_SQ_MTR | -| `EIGHT_THOUSAND_SQ_MTR` | EIGHT_THOUSAND_SQ_MTR | -| `EIGHTY_FIVE_HUNDRED_SQ_MTR` | EIGHTY_FIVE_HUNDRED_SQ_MTR | -| `NINE_THOUSAND_SQ_MTR` | NINE_THOUSAND_SQ_MTR | -| `TEN_THOUSAND_SQ_MTR` | TEN_THOUSAND_SQ_MTR | -| `GREATER_THAN_TEN_THOUSAND_SQ_MTR` | GREATER_THAN_TEN_THOUSAND_SQ_MTR | \ No newline at end of file diff --git a/packages/java/docs/models/components/Speaker.md b/packages/java/docs/models/components/Speaker.md index 18b29e43a..c71aa2d90 100644 --- a/packages/java/docs/models/components/Speaker.md +++ b/packages/java/docs/models/components/Speaker.md @@ -16,8 +16,8 @@ An event speaker. | `designation` | *Optional\* | :heavy_minus_sign: | The speaker's Designation | PhD | | `company` | *Optional\* | :heavy_minus_sign: | The company to which the speaker is associated | Cvent | | `title` | *Optional\* | :heavy_minus_sign: | The speaker's title | Lead Engineer | -| `category` | [Optional\](../../models/components/CategoryIdNameJson.md) | :heavy_minus_sign: | A defined speaker category. | | -| `links` | [Optional\](../../models/components/ContactLinksJsonInput.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | +| `category` | [Optional\](../../models/components/SpeakerCategory1.md) | :heavy_minus_sign: | A defined speaker category. | | +| `links` | [Optional\](../../models/components/ContactLinksInput.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | | `visibility` | *Optional\* | :heavy_minus_sign: | Indicates if a given speaker should be displayed on Event Website | false | | `biography` | *Optional\* | :heavy_minus_sign: | The speaker's biography | Presentation and Speaking voice expert, Barbara is a highly regarded coach and facilitator | | `internalNote` | *Optional\* | :heavy_minus_sign: | The Internal Note of the speaker | Barbara is multilingual | diff --git a/packages/java/docs/models/components/SpeakerCategory.md b/packages/java/docs/models/components/SpeakerCategory.md deleted file mode 100644 index 2f2a5f0e3..000000000 --- a/packages/java/docs/models/components/SpeakerCategory.md +++ /dev/null @@ -1,10 +0,0 @@ -# SpeakerCategory - -A speaker category. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -| `name` | *Optional\* | :heavy_minus_sign: | The name of the speaker category | Presenters | \ No newline at end of file diff --git a/packages/java/docs/models/components/SpeakerCategory1.md b/packages/java/docs/models/components/SpeakerCategory1.md new file mode 100644 index 000000000..9f2e78281 --- /dev/null +++ b/packages/java/docs/models/components/SpeakerCategory1.md @@ -0,0 +1,11 @@ +# SpeakerCategory1 + +A defined speaker category. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `name` | *Optional\* | :heavy_minus_sign: | The name of the speaker category | Presenters | \ No newline at end of file diff --git a/packages/java/docs/models/components/SpeakerCategory2.md b/packages/java/docs/models/components/SpeakerCategory2.md new file mode 100644 index 000000000..f31dee975 --- /dev/null +++ b/packages/java/docs/models/components/SpeakerCategory2.md @@ -0,0 +1,10 @@ +# SpeakerCategory2 + +A speaker category. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | +| `name` | *Optional\* | :heavy_minus_sign: | The name of the speaker category | Presenters | \ No newline at end of file diff --git a/packages/java/docs/models/components/SpeakerCategoryPaginatedResponse.md b/packages/java/docs/models/components/SpeakerCategoryPaginatedResponse.md index 0142a6e11..94a92ff9f 100644 --- a/packages/java/docs/models/components/SpeakerCategoryPaginatedResponse.md +++ b/packages/java/docs/models/components/SpeakerCategoryPaginatedResponse.md @@ -7,5 +7,5 @@ The response from a request to get the list of speaker categories. This include | Field | Type | Required | Description | | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `paging` | [PagingJson](../../models/components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `paging` | [Paging](../../models/components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | | `data` | List\<[ExistingSpeakerCategory](../../models/components/ExistingSpeakerCategory.md)> | :heavy_check_mark: | Collection of speaker categories. | \ No newline at end of file diff --git a/packages/java/docs/models/components/SpeakerDocumentPaginatedResponse.md b/packages/java/docs/models/components/SpeakerDocumentPaginatedResponse.md index 51d405569..3acee11ea 100644 --- a/packages/java/docs/models/components/SpeakerDocumentPaginatedResponse.md +++ b/packages/java/docs/models/components/SpeakerDocumentPaginatedResponse.md @@ -7,5 +7,5 @@ The response from a request to get the list of documents for a single speaker. | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `paging` | [PagingJson](../../models/components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `paging` | [Paging](../../models/components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | | `data` | List\<[SpeakerFile](../../models/components/SpeakerFile.md)> | :heavy_check_mark: | Collection of a speaker's documents. | \ No newline at end of file diff --git a/packages/java/docs/models/components/SpeakerLite.md b/packages/java/docs/models/components/SpeakerLite.md index 5576ce0ea..a5187b366 100644 --- a/packages/java/docs/models/components/SpeakerLite.md +++ b/packages/java/docs/models/components/SpeakerLite.md @@ -5,6 +5,6 @@ The unique identifier of a speaker. ## Fields -| Field | Type | Required | Description | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *String* | :heavy_check_mark: | The unique identifier for a speaker. | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *String* | :heavy_check_mark: | The unique identifier for a speaker. | 6077a9f1-a230-40cd-9e32-b493a84aaa80 | \ No newline at end of file diff --git a/packages/java/docs/models/components/SpeakerLite1.md b/packages/java/docs/models/components/SpeakerLite1.md new file mode 100644 index 000000000..3fec4a4ee --- /dev/null +++ b/packages/java/docs/models/components/SpeakerLite1.md @@ -0,0 +1,10 @@ +# SpeakerLite1 + +The unique identifier of a speaker. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *String* | :heavy_check_mark: | The unique identifier for a speaker. | \ No newline at end of file diff --git a/packages/java/docs/models/components/SpeakerLiteJson.md b/packages/java/docs/models/components/SpeakerLiteJson.md deleted file mode 100644 index 19bef301f..000000000 --- a/packages/java/docs/models/components/SpeakerLiteJson.md +++ /dev/null @@ -1,10 +0,0 @@ -# SpeakerLiteJson - -The unique identifier of a speaker. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *String* | :heavy_check_mark: | The unique identifier for a speaker. | 6077a9f1-a230-40cd-9e32-b493a84aaa80 | \ No newline at end of file diff --git a/packages/java/docs/models/components/SpeakerPaginatedResponse.md b/packages/java/docs/models/components/SpeakerPaginatedResponse.md index 11f3b48d0..b9e71acb7 100644 --- a/packages/java/docs/models/components/SpeakerPaginatedResponse.md +++ b/packages/java/docs/models/components/SpeakerPaginatedResponse.md @@ -7,5 +7,5 @@ The response from a request to get the list of speakers. This includes the pagi | Field | Type | Required | Description | | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `paging` | [PagingJson](../../models/components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `paging` | [Paging](../../models/components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | | `data` | List\<[ExistingSpeaker](../../models/components/ExistingSpeaker.md)> | :heavy_check_mark: | Collection of speakers. | \ No newline at end of file diff --git a/packages/java/docs/models/components/SpeakerProgramItem.md b/packages/java/docs/models/components/SpeakerProgramItem.md index 062a231d3..80a51096b 100644 --- a/packages/java/docs/models/components/SpeakerProgramItem.md +++ b/packages/java/docs/models/components/SpeakerProgramItem.md @@ -12,7 +12,7 @@ Represents a program item object that will be added to a speaker. | `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 | | `id` | *Optional\* | :heavy_minus_sign: | ID of the speaker to program item relationship. | 38db6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `event` | [EventLiteJson](../../models/components/EventLiteJson.md) | :heavy_check_mark: | The unique identifier of an event. | | -| `session` | [SessionLiteJson](../../models/components/SessionLiteJson.md) | :heavy_check_mark: | The unique identifier of a session. | | -| `speaker` | [SpeakerLiteJson](../../models/components/SpeakerLiteJson.md) | :heavy_check_mark: | The unique identifier of a speaker. | | -| `programItem` | [ProgramItemLiteJson](../../models/components/ProgramItemLiteJson.md) | :heavy_check_mark: | The unique identifier of a program item. | | \ No newline at end of file +| `event` | [EventLite](../../models/components/EventLite.md) | :heavy_check_mark: | The unique identifier of an event. | | +| `session` | [SessionLite](../../models/components/SessionLite.md) | :heavy_check_mark: | The unique identifier of a session. | | +| `speaker` | [SpeakerLite](../../models/components/SpeakerLite.md) | :heavy_check_mark: | The unique identifier of a speaker. | | +| `programItem` | [ProgramItemLite](../../models/components/ProgramItemLite.md) | :heavy_check_mark: | The unique identifier of a program item. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/SpeakerSession.md b/packages/java/docs/models/components/SpeakerSession.md index 0bbf218e6..4e7240cd1 100644 --- a/packages/java/docs/models/components/SpeakerSession.md +++ b/packages/java/docs/models/components/SpeakerSession.md @@ -8,5 +8,5 @@ A speaker to session relationship. | Field | Type | Required | Description | Example | | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | | `id` | *Optional\* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `speaker` | [Optional\](../../models/components/SpeakerLite.md) | :heavy_minus_sign: | The unique identifier of a speaker. | | +| `speaker` | [Optional\](../../models/components/SpeakerLite1.md) | :heavy_minus_sign: | The unique identifier of a speaker. | | | `category` | [Optional\](../../models/components/NamedObject.md) | :heavy_minus_sign: | A Named object | | \ No newline at end of file diff --git a/packages/java/docs/models/components/StakeholderJson.md b/packages/java/docs/models/components/StakeholderJson.md index 1f0f4847b..354b7be2c 100644 --- a/packages/java/docs/models/components/StakeholderJson.md +++ b/packages/java/docs/models/components/StakeholderJson.md @@ -31,7 +31,7 @@ Represents an event stakeholder. | ~~`primaryAddressType`~~ | [Optional\](../../models/components/StakeholderJsonAddressType.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | Home | | ~~`homeAddress`~~ | [Optional\](../../models/components/StakeholderJsonHomeAddressAddress.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | | | ~~`homeFax`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Home fax number. | 555-555-5555 | -| ~~`customFields`~~ | List\<[CustomFieldJson3](../../models/components/CustomFieldJson3.md)> | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Collection of custom fields. | | +| ~~`customFields`~~ | List\<[CustomFieldJson2](../../models/components/CustomFieldJson2.md)> | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Collection of custom fields. | | | ~~`sourceId`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This is an ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. | system-a-00000000-0000-0000-0000-000000000000 | | ~~`created`~~ | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The ISO 8601 zoned date time when this record was created. | 2023-12-01T13:00:00Z | | ~~`createdBy`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The identifier of the user that created this record. | hporter | diff --git a/packages/java/docs/models/components/StandardQuestion.md b/packages/java/docs/models/components/StandardQuestion.md new file mode 100644 index 000000000..210e264aa --- /dev/null +++ b/packages/java/docs/models/components/StandardQuestion.md @@ -0,0 +1,10 @@ +# StandardQuestion + +Standard questions are selected from a predefined list of Cvent questions that can be used in an RFP. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | Unique identifier for standard question. | 50dc08af-24a9-4d01-84be-3d43133dc945 | \ No newline at end of file diff --git a/packages/java/docs/models/components/StandardQuestionJson.md b/packages/java/docs/models/components/StandardQuestionJson.md deleted file mode 100644 index a8cd654af..000000000 --- a/packages/java/docs/models/components/StandardQuestionJson.md +++ /dev/null @@ -1,10 +0,0 @@ -# StandardQuestionJson - -Standard questions are selected from a predefined list of Cvent questions that can be used in an RFP. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | Unique identifier for standard question. | 50dc08af-24a9-4d01-84be-3d43133dc945 | \ No newline at end of file diff --git a/packages/java/docs/models/components/StandardSurveyJson.md b/packages/java/docs/models/components/StandardSurveyJson.md index 50f1d4db4..d1d023126 100644 --- a/packages/java/docs/models/components/StandardSurveyJson.md +++ b/packages/java/docs/models/components/StandardSurveyJson.md @@ -21,4 +21,4 @@ A standard survey. | `responseCount` | *Optional\* | :heavy_minus_sign: | The count of responses. | 10 | | `status` | [Optional\](../../models/components/SurveyStatusJson.md) | :heavy_minus_sign: | Survey Status | Active | | `archiveAfter` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The survey will be archived after this ISO 8601 formatted date and time. | 2022-05-07T12:00:00.000Z | -| `customFields` | List\<[CustomFieldJson2](../../models/components/CustomFieldJson2.md)> | :heavy_minus_sign: | Collection of survey custom fields. | | \ No newline at end of file +| `customFields` | List\<[CustomFieldJson1](../../models/components/CustomFieldJson1.md)> | :heavy_minus_sign: | Collection of survey custom fields. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/StandardSurveyQuestionJson.md b/packages/java/docs/models/components/StandardSurveyQuestionJson.md index 212796800..4fb466a56 100644 --- a/packages/java/docs/models/components/StandardSurveyQuestionJson.md +++ b/packages/java/docs/models/components/StandardSurveyQuestionJson.md @@ -16,15 +16,15 @@ A standard survey question. | `shortText` | *Optional\* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | | `htmlText` | *Optional\* | :heavy_minus_sign: | Html of the question | Question Html | | `code` | *Optional\* | :heavy_minus_sign: | Question Code | 4l6x | -| `type` | [Optional\](../../models/components/QuestionTypeJson2.md) | :heavy_minus_sign: | Question Type. | SingleChoice | -| `choices` | List\<[ChoiceJson2](../../models/components/ChoiceJson2.md)> | :heavy_minus_sign: | List of choices for the question. | | -| `categories` | List\<[CategoryJson2](../../models/components/CategoryJson2.md)> | :heavy_minus_sign: | List of categories for the question. | | -| `subCategories` | List\<[TextFieldJson1](../../models/components/TextFieldJson1.md)> | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions | | -| `notApplicableAnswer` | [Optional\](../../models/components/AdditionalChoiceJson1.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | -| `otherAnswer` | [Optional\](../../models/components/AdditionalChoiceJson1.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | +| `type` | [Optional\](../../models/components/QuestionTypeJson1.md) | :heavy_minus_sign: | Question Type. | SingleChoice | +| `choices` | List\<[ChoiceJson1](../../models/components/ChoiceJson1.md)> | :heavy_minus_sign: | List of choices for the question. | | +| `categories` | List\<[CategoryJson1](../../models/components/CategoryJson1.md)> | :heavy_minus_sign: | List of categories for the question. | | +| `subCategories` | List\<[TextFieldJson](../../models/components/TextFieldJson.md)> | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions | | +| `notApplicableAnswer` | [Optional\](../../models/components/AdditionalChoiceJson.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | +| `otherAnswer` | [Optional\](../../models/components/AdditionalChoiceJson.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | | `comments` | *Optional\* | :heavy_minus_sign: | Text Value of Comments Input box placeholder | Comments Text | | `required` | *Optional\* | :heavy_minus_sign: | Is this a mandatory question | true | -| `fields` | List\<[FieldJson2](../../models/components/FieldJson2.md)> | :heavy_minus_sign: | List of fields for form/matrix questions | | +| `fields` | List\<[FieldJson](../../models/components/FieldJson.md)> | :heavy_minus_sign: | List of fields for form/matrix questions | | | `maxScore` | *Optional\* | :heavy_minus_sign: | Max possible score | 20 | | `totalSum` | *Optional\* | :heavy_minus_sign: | Total configured sum of all choices for number allocation question | 45 | | `survey` | [Optional\](../../models/components/UuidJson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | diff --git a/packages/java/docs/models/components/SupplierResponse.md b/packages/java/docs/models/components/SupplierResponse.md index 9ec43896d..d7e9d5c3e 100644 --- a/packages/java/docs/models/components/SupplierResponse.md +++ b/packages/java/docs/models/components/SupplierResponse.md @@ -8,5 +8,5 @@ Contains response from supplier on an RFP. | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | | `dateTime` | [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 response was sent by supplier. | 2017-02-02T03:19:19.991Z | -| `reason` | [Optional\](../../models/components/RfpResponseReasonJson.md) | :heavy_minus_sign: | Reason given for a response to an RFP. | GUEST_ROOMS_NO_LONGER_AVAILABLE | +| `reason` | [Optional\](../../models/components/RfpResponseReason.md) | :heavy_minus_sign: | Reason given for a response to an RFP. | GUEST_ROOMS_NO_LONGER_AVAILABLE | | `comment` | *Optional\* | :heavy_minus_sign: | Comment for the response reason. | We are unable to accommodate the request on the required dates. Please let us know if we can help with any other dates. | \ No newline at end of file diff --git a/packages/java/docs/models/components/SupplierType.md b/packages/java/docs/models/components/SupplierType.md new file mode 100644 index 000000000..f517fb6bd --- /dev/null +++ b/packages/java/docs/models/components/SupplierType.md @@ -0,0 +1,21 @@ +# SupplierType + +Type of supplier. `CONVENTION_AND_CONFERENCE_CENTER`: Supplier of large event venues such as convention centers, conference centers, and exposition halls. `CVB`: CVBs (Convention and Visitors Bureau) are suppliers that assist in the promotion and facilitation of tourism, conventions, and events in their respective areas. `HOTEL`: Suppliers that are hotels or resorts. `OTHER`: Suppliers that do not fall under other categories. + +## Example Usage + +```java +import com.cvent.models.components.SupplierType; + +SupplierType value = SupplierType.CONVENTION_AND_CONFERENCE_CENTER; +``` + + +## Values + +| Name | Value | +| ---------------------------------- | ---------------------------------- | +| `CONVENTION_AND_CONFERENCE_CENTER` | CONVENTION_AND_CONFERENCE_CENTER | +| `CVB` | CVB | +| `HOTEL` | HOTEL | +| `OTHER` | OTHER | \ No newline at end of file diff --git a/packages/java/docs/models/components/SupplierTypeJson.md b/packages/java/docs/models/components/SupplierTypeJson.md index bc1be9df8..370795282 100644 --- a/packages/java/docs/models/components/SupplierTypeJson.md +++ b/packages/java/docs/models/components/SupplierTypeJson.md @@ -1,21 +1,18 @@ # SupplierTypeJson -Type of supplier. `CONVENTION_AND_CONFERENCE_CENTER`: Supplier of large event venues such as convention centers, conference centers, and exposition halls. `CVB`: CVBs (Convention and Visitors Bureau) are suppliers that assist in the promotion and facilitation of tourism, conventions, and events in their respective areas. `HOTEL`: Suppliers that are hotels or resorts. `OTHER`: Suppliers that do not fall under other categories. +The supplier's type. VENUE: A hotel, convention and visitors bureau (CVB), or other location for an event. ## Example Usage ```java import com.cvent.models.components.SupplierTypeJson; -SupplierTypeJson value = SupplierTypeJson.CONVENTION_AND_CONFERENCE_CENTER; +SupplierTypeJson value = SupplierTypeJson.VENUE; ``` ## Values -| Name | Value | -| ---------------------------------- | ---------------------------------- | -| `CONVENTION_AND_CONFERENCE_CENTER` | CONVENTION_AND_CONFERENCE_CENTER | -| `CVB` | CVB | -| `HOTEL` | HOTEL | -| `OTHER` | OTHER | \ No newline at end of file +| Name | Value | +| ------- | ------- | +| `VENUE` | VENUE | \ No newline at end of file diff --git a/packages/java/docs/models/components/SupplierTypeJson1.md b/packages/java/docs/models/components/SupplierTypeJson1.md deleted file mode 100644 index 3622a8afc..000000000 --- a/packages/java/docs/models/components/SupplierTypeJson1.md +++ /dev/null @@ -1,18 +0,0 @@ -# SupplierTypeJson1 - -The supplier's type. VENUE: A hotel, convention and visitors bureau (CVB), or other location for an event. - -## Example Usage - -```java -import com.cvent.models.components.SupplierTypeJson1; - -SupplierTypeJson1 value = SupplierTypeJson1.VENUE; -``` - - -## Values - -| Name | Value | -| ------- | ------- | -| `VENUE` | VENUE | \ No newline at end of file diff --git a/packages/java/docs/models/components/SurveyContactId.md b/packages/java/docs/models/components/SurveyContactId.md new file mode 100644 index 000000000..82a287150 --- /dev/null +++ b/packages/java/docs/models/components/SurveyContactId.md @@ -0,0 +1,11 @@ +# SurveyContactId + +A pair of survey and contact id. + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `surveyId` | *String* | :heavy_check_mark: | ID of the survey | +| `contactId` | *String* | :heavy_check_mark: | ID of the contact | \ No newline at end of file diff --git a/packages/java/docs/models/components/SurveyContactIdJson.md b/packages/java/docs/models/components/SurveyContactIdJson.md deleted file mode 100644 index 2dbcd1d58..000000000 --- a/packages/java/docs/models/components/SurveyContactIdJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# SurveyContactIdJson - -A pair of survey and contact id. - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `surveyId` | *String* | :heavy_check_mark: | ID of the survey | -| `contactId` | *String* | :heavy_check_mark: | ID of the contact | \ No newline at end of file diff --git a/packages/java/docs/models/components/SurveyJson.md b/packages/java/docs/models/components/SurveyJson.md index cf7d3aa42..a95a37a7b 100644 --- a/packages/java/docs/models/components/SurveyJson.md +++ b/packages/java/docs/models/components/SurveyJson.md @@ -22,4 +22,4 @@ Parent survey detail object. It can be of two types namely: 'Event' and 'Standal | `status` | [Optional\](../../models/components/SurveyStatusJson.md) | :heavy_minus_sign: | Survey Status | Active | | `type` | [Optional\](../../models/components/SurveyTypeJson.md) | :heavy_minus_sign: | Describes the survey's type. `Standalone` indicates the survey exists independent of an event. `Event` indicates the survey is an event or session feedback survey. `Assessment` indicates the survey is associated with an event and is for assessing attendees. | Event | | `activateDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The survey will be activated on this ISO 8601 formatted date and time. | 2022-02-01T23:59:00.000Z | -| `events` | List\<[EventJson4](../../models/components/EventJson4.md)> | :heavy_minus_sign: | List of events with which this survey is linked. | | \ No newline at end of file +| `events` | List\<[EventJson3](../../models/components/EventJson3.md)> | :heavy_minus_sign: | List of events with which this survey is linked. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/TargetType.md b/packages/java/docs/models/components/TargetType.md new file mode 100644 index 000000000..0af650ce7 --- /dev/null +++ b/packages/java/docs/models/components/TargetType.md @@ -0,0 +1,35 @@ +# TargetType + +The target type can either refer to the type of recipient or the type of action that made the recipient a participant in the RFP process. + +## Example Usage + +```java +import com.cvent.models.components.TargetType; + +TargetType value = TargetType.ASSIGNEE; +``` + + +## Values + +| Name | Value | +| --------------------- | --------------------- | +| `ASSIGNEE` | ASSIGNEE | +| `BILLING_CONTACT` | BILLING_CONTACT | +| `FORWARDING_NSO` | FORWARDING_NSO | +| `FORWARDING_SUPPLIER` | FORWARDING_SUPPLIER | +| `HYATT_ENVISION` | HYATT_ENVISION | +| `IN_PROGRESS` | IN_PROGRESS | +| `MARRIOTT_SIEBEL` | MARRIOTT_SIEBEL | +| `MEETING_BROKER` | MEETING_BROKER | +| `OPERA` | OPERA | +| `PLANNER` | PLANNER | +| `PRIVATE_NSO` | PRIVATE_NSO | +| `PROPOSAL_CC` | PROPOSAL_CC | +| `PROPOSAL` | PROPOSAL | +| `PUBLIC_NSO` | PUBLIC_NSO | +| `RECEIPT_CONFIRMED` | RECEIPT_CONFIRMED | +| `RFP_CC_RECIPIENT` | RFP_CC_RECIPIENT | +| `SUPPLIER` | SUPPLIER | +| `TURN_DOWN` | TURN_DOWN | \ No newline at end of file diff --git a/packages/java/docs/models/components/TargetTypeJson.md b/packages/java/docs/models/components/TargetTypeJson.md deleted file mode 100644 index 35d23e7b9..000000000 --- a/packages/java/docs/models/components/TargetTypeJson.md +++ /dev/null @@ -1,35 +0,0 @@ -# TargetTypeJson - -The target type can either refer to the type of recipient or the type of action that made the recipient a participant in the RFP process. - -## Example Usage - -```java -import com.cvent.models.components.TargetTypeJson; - -TargetTypeJson value = TargetTypeJson.ASSIGNEE; -``` - - -## Values - -| Name | Value | -| --------------------- | --------------------- | -| `ASSIGNEE` | ASSIGNEE | -| `BILLING_CONTACT` | BILLING_CONTACT | -| `FORWARDING_NSO` | FORWARDING_NSO | -| `FORWARDING_SUPPLIER` | FORWARDING_SUPPLIER | -| `HYATT_ENVISION` | HYATT_ENVISION | -| `IN_PROGRESS` | IN_PROGRESS | -| `MARRIOTT_SIEBEL` | MARRIOTT_SIEBEL | -| `MEETING_BROKER` | MEETING_BROKER | -| `OPERA` | OPERA | -| `PLANNER` | PLANNER | -| `PRIVATE_NSO` | PRIVATE_NSO | -| `PROPOSAL_CC` | PROPOSAL_CC | -| `PROPOSAL` | PROPOSAL | -| `PUBLIC_NSO` | PUBLIC_NSO | -| `RECEIPT_CONFIRMED` | RECEIPT_CONFIRMED | -| `RFP_CC_RECIPIENT` | RFP_CC_RECIPIENT | -| `SUPPLIER` | SUPPLIER | -| `TURN_DOWN` | TURN_DOWN | \ No newline at end of file diff --git a/packages/java/docs/models/components/TaxType.md b/packages/java/docs/models/components/TaxType.md new file mode 100644 index 000000000..fe6119e4a --- /dev/null +++ b/packages/java/docs/models/components/TaxType.md @@ -0,0 +1,26 @@ +# TaxType + +Bid tax type. + +## Example Usage + +```java +import com.cvent.models.components.TaxType; + +TaxType value = TaxType.CITY_TAX; +``` + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `CITY_TAX` | city_tax | +| `LODGING_TAX` | lodging_tax | +| `OCCUPANCY_TAX` | occupancy_tax | +| `SERVICE_FEE` | service_fee | +| `STATE_TAX` | state_tax | +| `VAT_TAX` | vat_tax | +| `VATFB_TAX` | vatfb_tax | +| `OTHER_TAX` | other_tax | +| `RESORT_FEE` | resort_fee | \ No newline at end of file diff --git a/packages/java/docs/models/components/TaxTypeJson.md b/packages/java/docs/models/components/TaxTypeJson.md deleted file mode 100644 index a1224552b..000000000 --- a/packages/java/docs/models/components/TaxTypeJson.md +++ /dev/null @@ -1,26 +0,0 @@ -# TaxTypeJson - -Bid tax type. - -## Example Usage - -```java -import com.cvent.models.components.TaxTypeJson; - -TaxTypeJson value = TaxTypeJson.CITY_TAX; -``` - - -## Values - -| Name | Value | -| --------------- | --------------- | -| `CITY_TAX` | city_tax | -| `LODGING_TAX` | lodging_tax | -| `OCCUPANCY_TAX` | occupancy_tax | -| `SERVICE_FEE` | service_fee | -| `STATE_TAX` | state_tax | -| `VAT_TAX` | vat_tax | -| `VATFB_TAX` | vatfb_tax | -| `OTHER_TAX` | other_tax | -| `RESORT_FEE` | resort_fee | \ No newline at end of file diff --git a/packages/java/docs/models/components/TextAnswerFormat.md b/packages/java/docs/models/components/TextAnswerFormat.md new file mode 100644 index 000000000..89bfbe3e6 --- /dev/null +++ b/packages/java/docs/models/components/TextAnswerFormat.md @@ -0,0 +1,21 @@ +# TextAnswerFormat + +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. + +## Example Usage + +```java +import com.cvent.models.components.TextAnswerFormat; + +TextAnswerFormat value = TextAnswerFormat.CUSTOM_FORMAT; +``` + + +## Values + +| Name | Value | +| ----------------- | ----------------- | +| `CUSTOM_FORMAT` | CustomFormat | +| `EMAIL_ADDRESS` | EmailAddress | +| `GENERAL` | General | +| `US_PHONE_NUMBER` | USPhoneNumber | \ No newline at end of file diff --git a/packages/java/docs/models/components/TextAnswerFormatJson.md b/packages/java/docs/models/components/TextAnswerFormatJson.md deleted file mode 100644 index e8f115000..000000000 --- a/packages/java/docs/models/components/TextAnswerFormatJson.md +++ /dev/null @@ -1,21 +0,0 @@ -# TextAnswerFormatJson - -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. - -## Example Usage - -```java -import com.cvent.models.components.TextAnswerFormatJson; - -TextAnswerFormatJson value = TextAnswerFormatJson.CUSTOM_FORMAT; -``` - - -## Values - -| Name | Value | -| ----------------- | ----------------- | -| `CUSTOM_FORMAT` | CustomFormat | -| `EMAIL_ADDRESS` | EmailAddress | -| `GENERAL` | General | -| `US_PHONE_NUMBER` | USPhoneNumber | \ No newline at end of file diff --git a/packages/java/docs/models/components/TextField.md b/packages/java/docs/models/components/TextField.md new file mode 100644 index 000000000..83042d5ca --- /dev/null +++ b/packages/java/docs/models/components/TextField.md @@ -0,0 +1,12 @@ +# TextField + +A survey text field. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | Text field ID. | | +| `text` | *Optional\* | :heavy_minus_sign: | Text value of the field. Displays to users in the UI. | Are you spending any significant time offsite and need transportation? | +| `shortText` | *Optional\* | :heavy_minus_sign: | Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. | Needs offsite transportation? | \ No newline at end of file diff --git a/packages/java/docs/models/components/TextFieldJson.md b/packages/java/docs/models/components/TextFieldJson.md index 21e2f4014..4332c7555 100644 --- a/packages/java/docs/models/components/TextFieldJson.md +++ b/packages/java/docs/models/components/TextFieldJson.md @@ -5,8 +5,8 @@ A survey text field. ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | Text field ID. | | -| `text` | *Optional\* | :heavy_minus_sign: | Text value of the field. Displays to users in the UI. | Are you spending any significant time offsite and need transportation? | -| `shortText` | *Optional\* | :heavy_minus_sign: | Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. | Needs offsite transportation? | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | Text field ID. | | +| `text` | *Optional\* | :heavy_minus_sign: | text Value of the Field | Field value | +| `shortText` | *Optional\* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | \ No newline at end of file diff --git a/packages/java/docs/models/components/TextFieldJson1.md b/packages/java/docs/models/components/TextFieldJson1.md deleted file mode 100644 index 3aa256cd5..000000000 --- a/packages/java/docs/models/components/TextFieldJson1.md +++ /dev/null @@ -1,12 +0,0 @@ -# TextFieldJson1 - -A survey text field. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | Text field ID. | | -| `text` | *Optional\* | :heavy_minus_sign: | text Value of the Field | Field value | -| `shortText` | *Optional\* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | \ No newline at end of file diff --git a/packages/java/docs/models/components/Three.md b/packages/java/docs/models/components/Three.md index 65a121756..cd67c02fc 100644 --- a/packages/java/docs/models/components/Three.md +++ b/packages/java/docs/models/components/Three.md @@ -7,5 +7,5 @@ Choices for a custom field. | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `choices` | List\<[ChoiceJson3](../../models/components/ChoiceJson3.md)> | :heavy_minus_sign: | Choices of custom fields. | +| `choices` | List\<[ChoiceJson2](../../models/components/ChoiceJson2.md)> | :heavy_minus_sign: | Choices of custom fields. | | `displayType` | [Optional\](../../models/components/ChoicesDisplayTypeJson.md) | :heavy_minus_sign: | Display type indicating how to display the choices on UI. For 'Choice - Single Answer' custom field type, this defaults to Dropdown. For 'Choice - Multiple Answers' custom field type, this defaults to MultiSelectBox. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ThreeInput.md b/packages/java/docs/models/components/ThreeInput.md index 0a83f1afe..1d6c4c082 100644 --- a/packages/java/docs/models/components/ThreeInput.md +++ b/packages/java/docs/models/components/ThreeInput.md @@ -7,5 +7,5 @@ Choices for a custom field. | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `choices` | List\<[ChoiceJson3Input](../../models/components/ChoiceJson3Input.md)> | :heavy_minus_sign: | Choices of custom fields. | +| `choices` | List\<[ChoiceJson2Input](../../models/components/ChoiceJson2Input.md)> | :heavy_minus_sign: | Choices of custom fields. | | `displayType` | [Optional\](../../models/components/ChoicesDisplayTypeJson.md) | :heavy_minus_sign: | Display type indicating how to display the choices on UI. For 'Choice - Single Answer' custom field type, this defaults to Dropdown. For 'Choice - Multiple Answers' custom field type, this defaults to MultiSelectBox. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ThumbnailStatus.md b/packages/java/docs/models/components/ThumbnailStatus.md new file mode 100644 index 000000000..3ded16ecc --- /dev/null +++ b/packages/java/docs/models/components/ThumbnailStatus.md @@ -0,0 +1,22 @@ +# ThumbnailStatus + +Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was completed. Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. + +## Example Usage + +```java +import com.cvent.models.components.ThumbnailStatus; + +ThumbnailStatus value = ThumbnailStatus.STARTED; +``` + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `STARTED` | Started | +| `UPLOADED` | Uploaded | +| `PROCESSING` | Processing | +| `AVAILABLE` | Available | +| `REJECTED` | Rejected | \ No newline at end of file diff --git a/packages/java/docs/models/components/ThumbnailStatusJson.md b/packages/java/docs/models/components/ThumbnailStatusJson.md deleted file mode 100644 index a886fa200..000000000 --- a/packages/java/docs/models/components/ThumbnailStatusJson.md +++ /dev/null @@ -1,22 +0,0 @@ -# ThumbnailStatusJson - -Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was completed. Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. - -## Example Usage - -```java -import com.cvent.models.components.ThumbnailStatusJson; - -ThumbnailStatusJson value = ThumbnailStatusJson.STARTED; -``` - - -## Values - -| Name | Value | -| ------------ | ------------ | -| `STARTED` | Started | -| `UPLOADED` | Uploaded | -| `PROCESSING` | Processing | -| `AVAILABLE` | Available | -| `REJECTED` | Rejected | \ No newline at end of file diff --git a/packages/java/docs/models/components/ThumbnailType.md b/packages/java/docs/models/components/ThumbnailType.md new file mode 100644 index 000000000..4ac461df0 --- /dev/null +++ b/packages/java/docs/models/components/ThumbnailType.md @@ -0,0 +1,24 @@ +# ThumbnailType + +This is used to denote the file type of a thumbnail + +## Example Usage + +```java +import com.cvent.models.components.ThumbnailType; + +ThumbnailType value = ThumbnailType.BMP; +``` + + +## Values + +| Name | Value | +| ------ | ------ | +| `BMP` | bmp | +| `GIF` | gif | +| `JPE` | jpe | +| `JPEG` | jpeg | +| `JPG` | jpg | +| `PNG` | png | +| `SVG` | svg | \ No newline at end of file diff --git a/packages/java/docs/models/components/ThumbnailTypeJson.md b/packages/java/docs/models/components/ThumbnailTypeJson.md deleted file mode 100644 index 2d5d3de5e..000000000 --- a/packages/java/docs/models/components/ThumbnailTypeJson.md +++ /dev/null @@ -1,24 +0,0 @@ -# ThumbnailTypeJson - -This is used to denote the file type of a thumbnail - -## Example Usage - -```java -import com.cvent.models.components.ThumbnailTypeJson; - -ThumbnailTypeJson value = ThumbnailTypeJson.BMP; -``` - - -## Values - -| Name | Value | -| ------ | ------ | -| `BMP` | bmp | -| `GIF` | gif | -| `JPE` | jpe | -| `JPEG` | jpeg | -| `JPG` | jpg | -| `PNG` | png | -| `SVG` | svg | \ No newline at end of file diff --git a/packages/java/docs/models/components/TransactionDetailResponse.md b/packages/java/docs/models/components/TransactionDetailResponse.md index 9e20d8326..03a23d853 100644 --- a/packages/java/docs/models/components/TransactionDetailResponse.md +++ b/packages/java/docs/models/components/TransactionDetailResponse.md @@ -14,7 +14,7 @@ This is used to denote the details of the transaction made by an attendee. | `id` | *Optional\* | :heavy_minus_sign: | A unique id representing the transaction. | 18549806a69f4727a315f2199a08d8b6 | | `processorTransactionId` | *Optional\* | :heavy_minus_sign: | This denotes the online processor transaction Id for transactions. | ch_3Lrr4TBhiDV0mZz50nZpGx4a | | `event` | [Optional\](../../models/components/Event2.md) | :heavy_minus_sign: | The reference to the event. Contains only the ID of the event. | | -| `attendee` | [Optional\](../../models/components/Attendee2.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | +| `attendee` | [Optional\](../../models/components/Attendee.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | | `orders` | List\<[Order](../../models/components/Order.md)> | :heavy_minus_sign: | This denotes the order IDs corresponding to this transaction. | [
{
"id": "7c4a5acd-9610-4c42-bd10-10e279e69ddc"
},
{
"id": "b479e85e-b5b0-49e7-9f11-65bad23350b1"
},
{
"id": "d1c24041-9ca4-4afd-a2f8-a0905d935aa9"
}
] | | `journalNumber` | *Optional\* | :heavy_minus_sign: | Journal number for this transaction. | PZNK2PKZH4N | | `paymentType` | [Optional\](../../models/components/PaymentType1.md) | :heavy_minus_sign: | Denotes the type of payment made by an attendee. Authorization: Online payment that has been approved by the cardholder's bank but has not been executed. Online Charge: Online payment recieved in Cvent. Online Refund: Online refund to attendee processed in Cvent. Offline Charge: The transaction is a payment made to the attendee's order electronically in another system of record, or paid in physical currency. Offline Refund: The transaction is a refund issued to the attendee electronically in another system of record, or paid in physical currency. | Online Refund | diff --git a/packages/java/docs/models/components/TransactionItemResponse.md b/packages/java/docs/models/components/TransactionItemResponse.md index a76000141..f1825c53f 100644 --- a/packages/java/docs/models/components/TransactionItemResponse.md +++ b/packages/java/docs/models/components/TransactionItemResponse.md @@ -15,7 +15,7 @@ This is used to denote an item in the transaction. | `uniqueId` | *Optional\* | :heavy_minus_sign: | A unique identifier for the transaction item. | 9a8b7c6d-e5f4-3210-bacd-3456789012de::7f3e2a1b-c4d5-6789-efab-2345678901bc | | `transaction` | [Optional\](../../models/components/TransactionId.md) | :heavy_minus_sign: | This is used to denote the id and merchant/processor transaction id for transaction items. | | | `event` | [Optional\](../../models/components/Event2.md) | :heavy_minus_sign: | The reference to the event. Contains only the ID of the event. | | -| `attendee` | [Optional\](../../models/components/Attendee2.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | +| `attendee` | [Optional\](../../models/components/Attendee.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | | `product` | [Optional\](../../models/components/ProductOrderItem.md) | :heavy_minus_sign: | This is used to denote the product details in an order item | | | `orderItem` | [Optional\](../../models/components/OrderItemRef.md) | :heavy_minus_sign: | Represents an order item by its ID. | | | `name` | *Optional\* | :heavy_minus_sign: | This denotes the name of the item | Dinner Session | diff --git a/packages/java/docs/models/components/TravelAccount.md b/packages/java/docs/models/components/TravelAccount.md index 9b0336d02..a57cb0102 100644 --- a/packages/java/docs/models/components/TravelAccount.md +++ b/packages/java/docs/models/components/TravelAccount.md @@ -13,6 +13,6 @@ Travel account details. | `lastModifiedBy` | *Optional\* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | | `id` | *Optional\* | :heavy_minus_sign: | A uuid used to uniquely identify the travel account. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `name` | *Optional\* | :heavy_minus_sign: | The name of the travel account. | Test Corporation | -| `type` | [Optional\](../../models/components/TravelAccountTypeJson.md) | :heavy_minus_sign: | Code representing the travel account type. | corporate | +| `type` | [Optional\](../../models/components/TravelAccountType.md) | :heavy_minus_sign: | Code representing the travel account type. | corporate | | `certified` | *Optional\* | :heavy_minus_sign: | Is this a certified travel account? | true | -| `addresses` | List\<[AddressJson5](../../models/components/AddressJson5.md)> | :heavy_minus_sign: | List of addresses associated with the travel account. | | \ No newline at end of file +| `addresses` | List\<[Address6](../../models/components/Address6.md)> | :heavy_minus_sign: | List of addresses associated with the travel account. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelAccountPaginatedResponse.md b/packages/java/docs/models/components/TravelAccountPaginatedResponse.md index 526d1b36b..9dc2b6cc5 100644 --- a/packages/java/docs/models/components/TravelAccountPaginatedResponse.md +++ b/packages/java/docs/models/components/TravelAccountPaginatedResponse.md @@ -7,5 +7,5 @@ A paginated list of travel accounts. | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `paging` | [Optional\](../../models/components/PagingJson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `paging` | [Optional\](../../models/components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | | `data` | List\<[TravelAccount](../../models/components/TravelAccount.md)> | :heavy_minus_sign: | Collection of travel accounts and their related details. | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelAccountSupplierAccount.md b/packages/java/docs/models/components/TravelAccountSupplierAccount.md index 4e7222be8..969380709 100644 --- a/packages/java/docs/models/components/TravelAccountSupplierAccount.md +++ b/packages/java/docs/models/components/TravelAccountSupplierAccount.md @@ -9,7 +9,7 @@ Details for the supplier travel account. These details are supplier specific and | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | | `travelAccount` | [Optional\](../../models/components/TravelAccountSupplierAccountTravelAccount.md) | :heavy_minus_sign: | The travel account that the supplier account is associated with. | | | `name` | *Optional\* | :heavy_minus_sign: | The name of the travel account. | Test Corporation | -| `managementLevel` | [Optional\](../../models/components/ManagementLevelTypeJson1.md) | :heavy_minus_sign: | The management level of the travel account. Defined by the supply-side. | global | +| `managementLevel` | [Optional\](../../models/components/ManagementLevelType1.md) | :heavy_minus_sign: | The management level of the travel account. Defined by the supply-side. | global | | `active` | *Optional\* | :heavy_minus_sign: | Is this account active for the supplier's hotels. | true | | `crmId` | *Optional\* | :heavy_minus_sign: | ID of the travel account in the suppliers Customer Relationship Management system. Defined by supplier. | ABC123 | | `chainDefinedId` | *Optional\* | :heavy_minus_sign: | Travel account ID defined at the supplier chain level. | 1000000299 | diff --git a/packages/java/docs/models/components/TravelAccountSupplierAccountPaginatedResponse.md b/packages/java/docs/models/components/TravelAccountSupplierAccountPaginatedResponse.md index 96e5053d9..6108672ca 100644 --- a/packages/java/docs/models/components/TravelAccountSupplierAccountPaginatedResponse.md +++ b/packages/java/docs/models/components/TravelAccountSupplierAccountPaginatedResponse.md @@ -7,5 +7,5 @@ A paginated list of supplier travel accounts. | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `paging` | [Optional\](../../models/components/PagingJson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `paging` | [Optional\](../../models/components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | | `data` | List\<[TravelAccountSupplierAccount](../../models/components/TravelAccountSupplierAccount.md)> | :heavy_minus_sign: | Collection of suppliers travel accounts and their related details. | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelAccountType.md b/packages/java/docs/models/components/TravelAccountType.md new file mode 100644 index 000000000..a206609e6 --- /dev/null +++ b/packages/java/docs/models/components/TravelAccountType.md @@ -0,0 +1,20 @@ +# TravelAccountType + +Code representing the travel account type. + +## Example Usage + +```java +import com.cvent.models.components.TravelAccountType; + +TravelAccountType value = TravelAccountType.CORPORATE; +``` + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `CORPORATE` | corporate | +| `LEISURE` | leisure | +| `CONSORTIA` | consortia | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelAccountTypeJson.md b/packages/java/docs/models/components/TravelAccountTypeJson.md deleted file mode 100644 index e171d592b..000000000 --- a/packages/java/docs/models/components/TravelAccountTypeJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# TravelAccountTypeJson - -Code representing the travel account type. - -## Example Usage - -```java -import com.cvent.models.components.TravelAccountTypeJson; - -TravelAccountTypeJson value = TravelAccountTypeJson.CORPORATE; -``` - - -## Values - -| Name | Value | -| ----------- | ----------- | -| `CORPORATE` | corporate | -| `LEISURE` | leisure | -| `CONSORTIA` | consortia | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelAmenityJson.md b/packages/java/docs/models/components/TravelAmenityJson.md deleted file mode 100644 index eb0d7af94..000000000 --- a/packages/java/docs/models/components/TravelAmenityJson.md +++ /dev/null @@ -1,17 +0,0 @@ -# TravelAmenityJson - -Group and meeting amenity info. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `lcdIncluded` | *Optional\* | :heavy_minus_sign: | True indicates a liquid crystal display (LCD) is included in the amenity. | | -| `lcdPrice` | *Optional\* | :heavy_minus_sign: | Price of the liquid crystal display (LCD). | 100 | -| `screenIncluded` | *Optional\* | :heavy_minus_sign: | True indicates a screen is included in the amenity. | | -| `screenPrice` | *Optional\* | :heavy_minus_sign: | Price of the screen. | 100 | -| `hsiaIncluded` | *Optional\* | :heavy_minus_sign: | True indicates high speed internet access is included in the amenity. | | -| `hsiaPrice` | *Optional\* | :heavy_minus_sign: | Price of high speed internet access (HSIA). | 100 | -| `complementaryParkingIncluded` | *Optional\* | :heavy_minus_sign: | True indicates parking is included in the amenity. | | -| `whatCompanyProvidesAVEquipment` | *Optional\* | :heavy_minus_sign: | Name of company providing AV equipment. | Some company | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidAmenity.md b/packages/java/docs/models/components/TravelBidAmenity.md new file mode 100644 index 000000000..7ae256095 --- /dev/null +++ b/packages/java/docs/models/components/TravelBidAmenity.md @@ -0,0 +1,18 @@ +# TravelBidAmenity + +Amenity details for a travel bid. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [Optional\](../../models/components/AmenityType.md) | :heavy_minus_sign: | Amenity type | amenity | +| `code` | *Optional\* | :heavy_minus_sign: | The code representing the amenity. | parking_valet | +| `category` | *Optional\* | :heavy_minus_sign: | The category of the amenity. | Parking | +| `included` | *Optional\* | :heavy_minus_sign: | True indicates the amenity price is included in the rate. | | +| `price` | *Optional\* | :heavy_minus_sign: | The price of the amenity. | 100 | +| `discountAmount` | *Optional\* | :heavy_minus_sign: | The price of the amenity after discounts. | 90 | +| `internalCost` | *Optional\* | :heavy_minus_sign: | Internal cost of the amenity. | 80 | +| `description` | *Optional\* | :heavy_minus_sign: | Additional notes on the amenity. | Valet parking is available for all guests. | +| `status` | [Optional\](../../models/components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidAmenityJson.md b/packages/java/docs/models/components/TravelBidAmenityJson.md deleted file mode 100644 index 23c3281ef..000000000 --- a/packages/java/docs/models/components/TravelBidAmenityJson.md +++ /dev/null @@ -1,18 +0,0 @@ -# TravelBidAmenityJson - -Amenity details for a travel bid. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [Optional\](../../models/components/AmenityTypeJson.md) | :heavy_minus_sign: | Amenity type | amenity | -| `code` | *Optional\* | :heavy_minus_sign: | The code representing the amenity. | parking_valet | -| `category` | *Optional\* | :heavy_minus_sign: | The category of the amenity. | Parking | -| `included` | *Optional\* | :heavy_minus_sign: | True indicates the amenity price is included in the rate. | | -| `price` | *Optional\* | :heavy_minus_sign: | The price of the amenity. | 100 | -| `discountAmount` | *Optional\* | :heavy_minus_sign: | The price of the amenity after discounts. | 90 | -| `internalCost` | *Optional\* | :heavy_minus_sign: | Internal cost of the amenity. | 80 | -| `description` | *Optional\* | :heavy_minus_sign: | Additional notes on the amenity. | Valet parking is available for all guests. | -| `status` | [Optional\](../../models/components/BidItemStatusTypeJson.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidComment.md b/packages/java/docs/models/components/TravelBidComment.md new file mode 100644 index 000000000..ebdd74210 --- /dev/null +++ b/packages/java/docs/models/components/TravelBidComment.md @@ -0,0 +1,11 @@ +# TravelBidComment + +A comment on a travel bid. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `commentType` | [Optional\](../../models/components/CommentType.md) | :heavy_minus_sign: | Bid comment type | promotions | +| `comment` | *Optional\* | :heavy_minus_sign: | The text of the comment. | This is a high value client. | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidCommentJson.md b/packages/java/docs/models/components/TravelBidCommentJson.md deleted file mode 100644 index cf2006544..000000000 --- a/packages/java/docs/models/components/TravelBidCommentJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# TravelBidCommentJson - -A comment on a travel bid. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `commentType` | [Optional\](../../models/components/CommentTypeJson.md) | :heavy_minus_sign: | Bid comment type | promotions | -| `comment` | *Optional\* | :heavy_minus_sign: | The text of the comment. | This is a high value client. | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidDiscount.md b/packages/java/docs/models/components/TravelBidDiscount.md new file mode 100644 index 000000000..e4439d7df --- /dev/null +++ b/packages/java/docs/models/components/TravelBidDiscount.md @@ -0,0 +1,12 @@ +# TravelBidDiscount + +Discount for a travel bid. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `propertyRoom` | [Optional\](../../models/components/TravelBidDiscountPropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | +| `discount` | *Optional\* | :heavy_minus_sign: | Discount percentage for the dynamic rate. | 10 | +| `status` | [Optional\](../../models/components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidDiscountJson.md b/packages/java/docs/models/components/TravelBidDiscountJson.md deleted file mode 100644 index 75073881a..000000000 --- a/packages/java/docs/models/components/TravelBidDiscountJson.md +++ /dev/null @@ -1,12 +0,0 @@ -# TravelBidDiscountJson - -Discount for a travel bid. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `propertyRoom` | [Optional\](../../models/components/TravelBidDiscountJsonPropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | -| `discount` | *Optional\* | :heavy_minus_sign: | Discount percentage for the dynamic rate. | 10 | -| `status` | [Optional\](../../models/components/BidItemStatusTypeJson.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidDiscountJsonPropertyRoom.md b/packages/java/docs/models/components/TravelBidDiscountJsonPropertyRoom.md deleted file mode 100644 index ce762b951..000000000 --- a/packages/java/docs/models/components/TravelBidDiscountJsonPropertyRoom.md +++ /dev/null @@ -1,10 +0,0 @@ -# TravelBidDiscountJsonPropertyRoom - -ID of the property's room. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the property room. | 9ea95519-2fc5-49d8-991b-e954f49044fe | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidDiscountPropertyRoom.md b/packages/java/docs/models/components/TravelBidDiscountPropertyRoom.md new file mode 100644 index 000000000..80efb8165 --- /dev/null +++ b/packages/java/docs/models/components/TravelBidDiscountPropertyRoom.md @@ -0,0 +1,10 @@ +# TravelBidDiscountPropertyRoom + +ID of the property's room. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the property room. | 9ea95519-2fc5-49d8-991b-e954f49044fe | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidDisposition.md b/packages/java/docs/models/components/TravelBidDisposition.md new file mode 100644 index 000000000..4973fc280 --- /dev/null +++ b/packages/java/docs/models/components/TravelBidDisposition.md @@ -0,0 +1,12 @@ +# TravelBidDisposition + +Represents bid disposition details. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `bid` | [Optional\](../../models/components/TravelProposalBid1.md) | :heavy_minus_sign: | A travel proposal bid. | +| `acceptedBidRooms` | List\<[TravelBidDispositionAcceptedRoom](../../models/components/TravelBidDispositionAcceptedRoom.md)> | :heavy_minus_sign: | List of accepted bid rooms. | +| `rateType` | [Optional\](../../models/components/RateType.md) | :heavy_minus_sign: | Rate type. | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidDispositionAcceptedRoom.md b/packages/java/docs/models/components/TravelBidDispositionAcceptedRoom.md new file mode 100644 index 000000000..ea87d9bd6 --- /dev/null +++ b/packages/java/docs/models/components/TravelBidDispositionAcceptedRoom.md @@ -0,0 +1,12 @@ +# TravelBidDispositionAcceptedRoom + +Represents bid disposition's accepted room. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `propertyRoom` | [Optional\](../../models/components/TravelBidDispositionAcceptedRoomPropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | +| `lraRateAccepted` | *Optional\* | :heavy_minus_sign: | Indicates whether the LRA rates are accepted. | true | +| `nlraRateAccepted` | *Optional\* | :heavy_minus_sign: | Indicates whether the NLRA rates are accepted. | true | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidDispositionAcceptedRoomJson.md b/packages/java/docs/models/components/TravelBidDispositionAcceptedRoomJson.md deleted file mode 100644 index 260251295..000000000 --- a/packages/java/docs/models/components/TravelBidDispositionAcceptedRoomJson.md +++ /dev/null @@ -1,12 +0,0 @@ -# TravelBidDispositionAcceptedRoomJson - -Represents bid disposition's accepted room. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | -| `propertyRoom` | [Optional\](../../models/components/TravelBidDispositionAcceptedRoomJsonPropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | -| `lraRateAccepted` | *Optional\* | :heavy_minus_sign: | Indicates whether the LRA rates are accepted. | true | -| `nlraRateAccepted` | *Optional\* | :heavy_minus_sign: | Indicates whether the NLRA rates are accepted. | true | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidDispositionAcceptedRoomJsonPropertyRoom.md b/packages/java/docs/models/components/TravelBidDispositionAcceptedRoomJsonPropertyRoom.md deleted file mode 100644 index 8448bf5af..000000000 --- a/packages/java/docs/models/components/TravelBidDispositionAcceptedRoomJsonPropertyRoom.md +++ /dev/null @@ -1,10 +0,0 @@ -# TravelBidDispositionAcceptedRoomJsonPropertyRoom - -ID of the property's room. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the property room. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidDispositionAcceptedRoomPropertyRoom.md b/packages/java/docs/models/components/TravelBidDispositionAcceptedRoomPropertyRoom.md new file mode 100644 index 000000000..bf919eeb9 --- /dev/null +++ b/packages/java/docs/models/components/TravelBidDispositionAcceptedRoomPropertyRoom.md @@ -0,0 +1,10 @@ +# TravelBidDispositionAcceptedRoomPropertyRoom + +ID of the property's room. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the property room. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidDispositionJson.md b/packages/java/docs/models/components/TravelBidDispositionJson.md deleted file mode 100644 index 6b33653ac..000000000 --- a/packages/java/docs/models/components/TravelBidDispositionJson.md +++ /dev/null @@ -1,12 +0,0 @@ -# TravelBidDispositionJson - -Represents bid disposition details. - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `bid` | [Optional\](../../models/components/TravelProposalBidIdJson.md) | :heavy_minus_sign: | A travel proposal bid. | -| `acceptedBidRooms` | List\<[TravelBidDispositionAcceptedRoomJson](../../models/components/TravelBidDispositionAcceptedRoomJson.md)> | :heavy_minus_sign: | List of accepted bid rooms. | -| `rateType` | [Optional\](../../models/components/RateTypeJson.md) | :heavy_minus_sign: | Rate type. | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidFairSeason.md b/packages/java/docs/models/components/TravelBidFairSeason.md new file mode 100644 index 000000000..c75f39e25 --- /dev/null +++ b/packages/java/docs/models/components/TravelBidFairSeason.md @@ -0,0 +1,17 @@ +# TravelBidFairSeason + +The fair season for a travel bid. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [Optional\](../../models/components/FairSeasonType.md) | :heavy_minus_sign: | Fair season type. Blackout means that no special rate is negotiated for that date and Best Available Rates will apply | | +| `name` | *Optional\* | :heavy_minus_sign: | Fair season name. | Fair season 1 | +| `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 start date of the fair season. | 2021-07-13 | +| `endDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 end date of the fair season. | 2021-07-13 | +| `minLengthOfStay` | *Optional\* | :heavy_minus_sign: | Minimum length of stay for the fair season. | 1 | +| `releasePeriod` | *Optional\* | :heavy_minus_sign: | Release period for the fair season. Release period is the minimum number of days between the booking being made and the earliest arrival date. | 1 | +| `rates` | List\<[TravelBidFairSeasonRate](../../models/components/TravelBidFairSeasonRate.md)> | :heavy_minus_sign: | Collection of rates for the fair season. | | +| `status` | [Optional\](../../models/components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidFairSeasonJson.md b/packages/java/docs/models/components/TravelBidFairSeasonJson.md deleted file mode 100644 index b2ea15c0f..000000000 --- a/packages/java/docs/models/components/TravelBidFairSeasonJson.md +++ /dev/null @@ -1,17 +0,0 @@ -# TravelBidFairSeasonJson - -The fair season for a travel bid. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [Optional\](../../models/components/FairSeasonTypeJson.md) | :heavy_minus_sign: | Fair season type. Blackout means that no special rate is negotiated for that date and Best Available Rates will apply | | -| `name` | *Optional\* | :heavy_minus_sign: | Fair season name. | Fair season 1 | -| `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 start date of the fair season. | 2021-07-13 | -| `endDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 end date of the fair season. | 2021-07-13 | -| `minLengthOfStay` | *Optional\* | :heavy_minus_sign: | Minimum length of stay for the fair season. | 1 | -| `releasePeriod` | *Optional\* | :heavy_minus_sign: | Release period for the fair season. Release period is the minimum number of days between the booking being made and the earliest arrival date. | 1 | -| `rates` | List\<[TravelBidFairSeasonRateJson](../../models/components/TravelBidFairSeasonRateJson.md)> | :heavy_minus_sign: | Collection of rates for the fair season. | | -| `status` | [Optional\](../../models/components/BidItemStatusTypeJson.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidFairSeasonRate.md b/packages/java/docs/models/components/TravelBidFairSeasonRate.md new file mode 100644 index 000000000..088da5485 --- /dev/null +++ b/packages/java/docs/models/components/TravelBidFairSeasonRate.md @@ -0,0 +1,16 @@ +# TravelBidFairSeasonRate + +The negotiated rates for a property room during the fair season. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `propertyRoom` | [Optional\](../../models/components/TravelBidFairSeasonRatePropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | +| `singleRate` | *Optional\* | :heavy_minus_sign: | The single room rate. | 100 | +| `doubleRate` | *Optional\* | :heavy_minus_sign: | The double room rate. | 101 | +| `tripleRate` | *Optional\* | :heavy_minus_sign: | The triple room rate. | 102 | +| `quadRate` | *Optional\* | :heavy_minus_sign: | The quadruple room rate. | 103 | +| `allotment` | *Optional\* | :heavy_minus_sign: | The number of rooms allotted at the negotiated rate. | 100 | +| `status` | [Optional\](../../models/components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidFairSeasonRateJson.md b/packages/java/docs/models/components/TravelBidFairSeasonRateJson.md deleted file mode 100644 index 9fdd326b2..000000000 --- a/packages/java/docs/models/components/TravelBidFairSeasonRateJson.md +++ /dev/null @@ -1,16 +0,0 @@ -# TravelBidFairSeasonRateJson - -The negotiated rates for a property room during the fair season. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `propertyRoom` | [Optional\](../../models/components/TravelBidFairSeasonRateJsonPropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | -| `singleRate` | *Optional\* | :heavy_minus_sign: | The single room rate. | 100 | -| `doubleRate` | *Optional\* | :heavy_minus_sign: | The double room rate. | 101 | -| `tripleRate` | *Optional\* | :heavy_minus_sign: | The triple room rate. | 102 | -| `quadRate` | *Optional\* | :heavy_minus_sign: | The quadruple room rate. | 103 | -| `allotment` | *Optional\* | :heavy_minus_sign: | The number of rooms allotted at the negotiated rate. | 100 | -| `status` | [Optional\](../../models/components/BidItemStatusTypeJson.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidFairSeasonRateJsonPropertyRoom.md b/packages/java/docs/models/components/TravelBidFairSeasonRateJsonPropertyRoom.md deleted file mode 100644 index ce7743746..000000000 --- a/packages/java/docs/models/components/TravelBidFairSeasonRateJsonPropertyRoom.md +++ /dev/null @@ -1,10 +0,0 @@ -# TravelBidFairSeasonRateJsonPropertyRoom - -ID of the property's room. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the property room. | 9ea95519-2fc5-49d8-991b-e954f49044fe | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidFairSeasonRatePropertyRoom.md b/packages/java/docs/models/components/TravelBidFairSeasonRatePropertyRoom.md new file mode 100644 index 000000000..021887500 --- /dev/null +++ b/packages/java/docs/models/components/TravelBidFairSeasonRatePropertyRoom.md @@ -0,0 +1,10 @@ +# TravelBidFairSeasonRatePropertyRoom + +ID of the property's room. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the property room. | 9ea95519-2fc5-49d8-991b-e954f49044fe | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidPolicy.md b/packages/java/docs/models/components/TravelBidPolicy.md new file mode 100644 index 000000000..c0688af8d --- /dev/null +++ b/packages/java/docs/models/components/TravelBidPolicy.md @@ -0,0 +1,16 @@ +# TravelBidPolicy + +A policy that is associated with a travel bid. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `code` | *Optional\* | :heavy_minus_sign: | The code representing the policy. | cancellation_period | +| `category` | *Optional\* | :heavy_minus_sign: | The category the policy falls under. | cancellation_period | +| `value` | *Optional\* | :heavy_minus_sign: | The value of the policy. | 24h | +| `valueType` | [Optional\](../../models/components/PolicyValueType.md) | :heavy_minus_sign: | Value type of the policy | | +| `included` | *Optional\* | :heavy_minus_sign: | True indicates the policy fee included in the rate. Only applies to policies with a value type of money or percent. | | +| `description` | *Optional\* | :heavy_minus_sign: | Additional notes on the policy. | The cancellation period is 24 hours. | +| `status` | [Optional\](../../models/components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidPolicyJson.md b/packages/java/docs/models/components/TravelBidPolicyJson.md deleted file mode 100644 index b2d1bd791..000000000 --- a/packages/java/docs/models/components/TravelBidPolicyJson.md +++ /dev/null @@ -1,16 +0,0 @@ -# TravelBidPolicyJson - -A policy that is associated with a travel bid. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `code` | *Optional\* | :heavy_minus_sign: | The code representing the policy. | cancellation_period | -| `category` | *Optional\* | :heavy_minus_sign: | The category the policy falls under. | cancellation_period | -| `value` | *Optional\* | :heavy_minus_sign: | The value of the policy. | 24h | -| `valueType` | [Optional\](../../models/components/PolicyValueTypeJson.md) | :heavy_minus_sign: | Value type of the policy | | -| `included` | *Optional\* | :heavy_minus_sign: | True indicates the policy fee included in the rate. Only applies to policies with a value type of money or percent. | | -| `description` | *Optional\* | :heavy_minus_sign: | Additional notes on the policy. | The cancellation period is 24 hours. | -| `status` | [Optional\](../../models/components/BidItemStatusTypeJson.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidRateJson.md b/packages/java/docs/models/components/TravelBidRateJson.md deleted file mode 100644 index d57cb6cea..000000000 --- a/packages/java/docs/models/components/TravelBidRateJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# TravelBidRateJson - -The rate (cost) information for a travel bid. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `level` | [Optional\](../../models/components/RateLevelTypeJson.md) | :heavy_minus_sign: | Rate level | corporate | -| `type` | [Optional\](../../models/components/RateTypeJson.md) | :heavy_minus_sign: | Rate type. | | -| `planCode` | *Optional\* | :heavy_minus_sign: | The code given to the bid (also called rate plan) by the supplier. | rp123 | -| `tier` | *Optional\* | :heavy_minus_sign: | The rate tier given to the bid (also called rate plan) by the supplier. | tier1 | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidRoom.md b/packages/java/docs/models/components/TravelBidRoom.md new file mode 100644 index 000000000..9e279af10 --- /dev/null +++ b/packages/java/docs/models/components/TravelBidRoom.md @@ -0,0 +1,13 @@ +# TravelBidRoom + +A room in a travel bid. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `propertyRoom` | [Optional\](../../models/components/TravelBidRoomPropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | +| `allocation` | *Optional\* | :heavy_minus_sign: | The number of rooms allocated to the bid. | 10 | +| `order` | *Optional\* | :heavy_minus_sign: | The order of the room in the bid. | 1 | +| `status` | [Optional\](../../models/components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidRoomJson.md b/packages/java/docs/models/components/TravelBidRoomJson.md deleted file mode 100644 index 36ec84393..000000000 --- a/packages/java/docs/models/components/TravelBidRoomJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# TravelBidRoomJson - -A room in a travel bid. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `propertyRoom` | [Optional\](../../models/components/TravelBidRoomJsonPropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | -| `allocation` | *Optional\* | :heavy_minus_sign: | The number of rooms allocated to the bid. | 10 | -| `order` | *Optional\* | :heavy_minus_sign: | The order of the room in the bid. | 1 | -| `status` | [Optional\](../../models/components/BidItemStatusTypeJson.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidRoomJsonPropertyRoom.md b/packages/java/docs/models/components/TravelBidRoomJsonPropertyRoom.md deleted file mode 100644 index c252d1d9d..000000000 --- a/packages/java/docs/models/components/TravelBidRoomJsonPropertyRoom.md +++ /dev/null @@ -1,10 +0,0 @@ -# TravelBidRoomJsonPropertyRoom - -ID of the property's room. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the property room. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidRoomPropertyRoom.md b/packages/java/docs/models/components/TravelBidRoomPropertyRoom.md new file mode 100644 index 000000000..3c0cf3190 --- /dev/null +++ b/packages/java/docs/models/components/TravelBidRoomPropertyRoom.md @@ -0,0 +1,10 @@ +# TravelBidRoomPropertyRoom + +ID of the property's room. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the property room. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidSeason.md b/packages/java/docs/models/components/TravelBidSeason.md new file mode 100644 index 000000000..396d952ea --- /dev/null +++ b/packages/java/docs/models/components/TravelBidSeason.md @@ -0,0 +1,17 @@ +# TravelBidSeason + +Season details for a travel bid. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `name` | *Optional\* | :heavy_minus_sign: | Season name. | Season 1 | +| `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 start date of the season. | 2021-07-13 | +| `endDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 end date of the season. | 2021-07-13 | +| `releasePeriod` | *Optional\* | :heavy_minus_sign: | Number of release periods. | 1 | +| `weekendReleasePeriod` | *Optional\* | :heavy_minus_sign: | Number of weekend release periods. | 2 | +| `rates` | List\<[TravelBidSeasonRate](../../models/components/TravelBidSeasonRate.md)> | :heavy_minus_sign: | Collection of rates for the season. | | +| `weekendRates` | List\<[TravelBidSeasonRate](../../models/components/TravelBidSeasonRate.md)> | :heavy_minus_sign: | Collection of weekend rates for the season. | | +| `status` | [Optional\](../../models/components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidSeasonJson.md b/packages/java/docs/models/components/TravelBidSeasonJson.md deleted file mode 100644 index d1e44996d..000000000 --- a/packages/java/docs/models/components/TravelBidSeasonJson.md +++ /dev/null @@ -1,17 +0,0 @@ -# TravelBidSeasonJson - -Season details for a travel bid. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `name` | *Optional\* | :heavy_minus_sign: | Season name. | Season 1 | -| `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 start date of the season. | 2021-07-13 | -| `endDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 end date of the season. | 2021-07-13 | -| `releasePeriod` | *Optional\* | :heavy_minus_sign: | Number of release periods. | 1 | -| `weekendReleasePeriod` | *Optional\* | :heavy_minus_sign: | Number of weekend release periods. | 2 | -| `rates` | List\<[TravelBidSeasonRateJson](../../models/components/TravelBidSeasonRateJson.md)> | :heavy_minus_sign: | Collection of rates for the season. | | -| `weekendRates` | List\<[TravelBidSeasonRateJson](../../models/components/TravelBidSeasonRateJson.md)> | :heavy_minus_sign: | Collection of weekend rates for the season. | | -| `status` | [Optional\](../../models/components/BidItemStatusTypeJson.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidSeasonRate.md b/packages/java/docs/models/components/TravelBidSeasonRate.md new file mode 100644 index 000000000..da985f969 --- /dev/null +++ b/packages/java/docs/models/components/TravelBidSeasonRate.md @@ -0,0 +1,18 @@ +# TravelBidSeasonRate + +The negotiated rates for a property room during a specific season. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `propertyRoom` | [Optional\](../../models/components/TravelBidSeasonRatePropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | +| `singleRate` | *Optional\* | :heavy_minus_sign: | The last room available (LRA) single rate. | 100 | +| `doubleRate` | *Optional\* | :heavy_minus_sign: | The last room available (LRA) double rate. | 101 | +| `tripleRate` | *Optional\* | :heavy_minus_sign: | The last room available (LRA) triple rate. | 102 | +| `quadRate` | *Optional\* | :heavy_minus_sign: | The last room available (LRA) quad rate. | 103 | +| `nlraSingleRate` | *Optional\* | :heavy_minus_sign: | The non last room available (NLRA) single rate. | 104 | +| `nlraDoubleRate` | *Optional\* | :heavy_minus_sign: | The non last room available (NLRA) double rate. | 105 | +| `allotment` | *Optional\* | :heavy_minus_sign: | The number of rooms allotted at the negotiated rate. | 100 | +| `status` | [Optional\](../../models/components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidSeasonRateJson.md b/packages/java/docs/models/components/TravelBidSeasonRateJson.md deleted file mode 100644 index b18bd5223..000000000 --- a/packages/java/docs/models/components/TravelBidSeasonRateJson.md +++ /dev/null @@ -1,18 +0,0 @@ -# TravelBidSeasonRateJson - -The negotiated rates for a property room during a specific season. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `propertyRoom` | [Optional\](../../models/components/TravelBidSeasonRateJsonPropertyRoom.md) | :heavy_minus_sign: | ID of the property's room. | | -| `singleRate` | *Optional\* | :heavy_minus_sign: | The last room available (LRA) single rate. | 100 | -| `doubleRate` | *Optional\* | :heavy_minus_sign: | The last room available (LRA) double rate. | 101 | -| `tripleRate` | *Optional\* | :heavy_minus_sign: | The last room available (LRA) triple rate. | 102 | -| `quadRate` | *Optional\* | :heavy_minus_sign: | The last room available (LRA) quad rate. | 103 | -| `nlraSingleRate` | *Optional\* | :heavy_minus_sign: | The non last room available (NLRA) single rate. | 104 | -| `nlraDoubleRate` | *Optional\* | :heavy_minus_sign: | The non last room available (NLRA) double rate. | 105 | -| `allotment` | *Optional\* | :heavy_minus_sign: | The number of rooms allotted at the negotiated rate. | 100 | -| `status` | [Optional\](../../models/components/BidItemStatusTypeJson.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidSeasonRateJsonPropertyRoom.md b/packages/java/docs/models/components/TravelBidSeasonRateJsonPropertyRoom.md deleted file mode 100644 index ff0d1ca4d..000000000 --- a/packages/java/docs/models/components/TravelBidSeasonRateJsonPropertyRoom.md +++ /dev/null @@ -1,10 +0,0 @@ -# TravelBidSeasonRateJsonPropertyRoom - -ID of the property's room. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the property room. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidSeasonRatePropertyRoom.md b/packages/java/docs/models/components/TravelBidSeasonRatePropertyRoom.md new file mode 100644 index 000000000..f373686f9 --- /dev/null +++ b/packages/java/docs/models/components/TravelBidSeasonRatePropertyRoom.md @@ -0,0 +1,10 @@ +# TravelBidSeasonRatePropertyRoom + +ID of the property's room. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the property room. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidTaxAndFee.md b/packages/java/docs/models/components/TravelBidTaxAndFee.md new file mode 100644 index 000000000..c7d9a636a --- /dev/null +++ b/packages/java/docs/models/components/TravelBidTaxAndFee.md @@ -0,0 +1,15 @@ +# TravelBidTaxAndFee + +A tax or fee associated with a travel bid. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `code` | [Optional\](../../models/components/TaxType.md) | :heavy_minus_sign: | Bid tax type. | city_tax | +| `amount` | *Optional\* | :heavy_minus_sign: | The amount of the tax/fee. This may be a percent or monetary value depending on the value in `percent`. | 20 | +| `percent` | *Optional\* | :heavy_minus_sign: | True indicates the tax/fee amount represents a percentage, instead of a monetary value. | | +| `included` | *Optional\* | :heavy_minus_sign: | True indicates the tax/fee included in the negotiated rate. | | +| `notes` | *Optional\* | :heavy_minus_sign: | Additional notes on the tax/fee. | This is a tax | +| `status` | [Optional\](../../models/components/BidItemStatusType.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidTaxFeeJson.md b/packages/java/docs/models/components/TravelBidTaxFeeJson.md deleted file mode 100644 index 1a9b02e87..000000000 --- a/packages/java/docs/models/components/TravelBidTaxFeeJson.md +++ /dev/null @@ -1,15 +0,0 @@ -# TravelBidTaxFeeJson - -A tax or fee associated with a travel bid. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `code` | [Optional\](../../models/components/TaxTypeJson.md) | :heavy_minus_sign: | Bid tax type. | city_tax | -| `amount` | *Optional\* | :heavy_minus_sign: | The amount of the tax/fee. This may be a percent or monetary value depending on the value in `percent`. | 20 | -| `percent` | *Optional\* | :heavy_minus_sign: | True indicates the tax/fee amount represents a percentage, instead of a monetary value. | | -| `included` | *Optional\* | :heavy_minus_sign: | True indicates the tax/fee included in the negotiated rate. | | -| `notes` | *Optional\* | :heavy_minus_sign: | Additional notes on the tax/fee. | This is a tax | -| `status` | [Optional\](../../models/components/BidItemStatusTypeJson.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidWeekendDayJson.md b/packages/java/docs/models/components/TravelBidWeekendDayJson.md deleted file mode 100644 index bae9f9c47..000000000 --- a/packages/java/docs/models/components/TravelBidWeekendDayJson.md +++ /dev/null @@ -1,24 +0,0 @@ -# TravelBidWeekendDayJson - -Days considered weekend days for pricing purposes in the travel bid. - -## Example Usage - -```java -import com.cvent.models.components.TravelBidWeekendDayJson; - -TravelBidWeekendDayJson value = TravelBidWeekendDayJson.MONDAY; -``` - - -## Values - -| Name | Value | -| ----------- | ----------- | -| `MONDAY` | Monday | -| `TUESDAY` | Tuesday | -| `WEDNESDAY` | Wednesday | -| `THURSDAY` | Thursday | -| `FRIDAY` | Friday | -| `SATURDAY` | Saturday | -| `SUNDAY` | Sunday | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBidWeekendDays.md b/packages/java/docs/models/components/TravelBidWeekendDays.md new file mode 100644 index 000000000..2e051febd --- /dev/null +++ b/packages/java/docs/models/components/TravelBidWeekendDays.md @@ -0,0 +1,24 @@ +# TravelBidWeekendDays + +Days considered weekend days for pricing purposes in the travel bid. + +## Example Usage + +```java +import com.cvent.models.components.TravelBidWeekendDays; + +TravelBidWeekendDays value = TravelBidWeekendDays.MONDAY; +``` + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `MONDAY` | Monday | +| `TUESDAY` | Tuesday | +| `WEDNESDAY` | Wednesday | +| `THURSDAY` | Thursday | +| `FRIDAY` | Friday | +| `SATURDAY` | Saturday | +| `SUNDAY` | Sunday | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelBreakOutRoomJson.md b/packages/java/docs/models/components/TravelBreakOutRoomJson.md deleted file mode 100644 index f24690a80..000000000 --- a/packages/java/docs/models/components/TravelBreakOutRoomJson.md +++ /dev/null @@ -1,14 +0,0 @@ -# TravelBreakOutRoomJson - -Break-out room information. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `tenPersonRoomIncluded` | *Optional\* | :heavy_minus_sign: | True indicates a 10 person room is included. | | -| `price10PersonRoom` | *Optional\* | :heavy_minus_sign: | Price for 10 person room. | 100 | -| `twentyFivePersonRoomIncluded` | *Optional\* | :heavy_minus_sign: | True indicates a 25 person room included. | | -| `price25PersonRoom` | *Optional\* | :heavy_minus_sign: | Price for 25 person room. | 100 | -| `permanentBoardRoomSetUp` | *Optional\* | :heavy_minus_sign: | True indicates there is a permanent board room set up. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelDayDelegateRateJson.md b/packages/java/docs/models/components/TravelDayDelegateRateJson.md deleted file mode 100644 index 34aaf31a4..000000000 --- a/packages/java/docs/models/components/TravelDayDelegateRateJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# TravelDayDelegateRateJson - -Day delegate rate information. This represents the costs for hosting meeting at the venue for a half or full day. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `fullDay10To50People` | *Optional\* | :heavy_minus_sign: | Full day delegate rate for 10 to 50 people. | 100 | -| `fullDay51To100People` | *Optional\* | :heavy_minus_sign: | Full day delegate rate for 51 to 100 people. | 200 | -| `halfDay10To50People` | *Optional\* | :heavy_minus_sign: | Half day delegate rate for 10 to 50 people. | 50 | -| `halfDay51To100People` | *Optional\* | :heavy_minus_sign: | Half day delegate rate for 51 to 100 people. | 100 | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelGroupAndMeetingJson.md b/packages/java/docs/models/components/TravelGroupAndMeetingJson.md deleted file mode 100644 index e78a03d94..000000000 --- a/packages/java/docs/models/components/TravelGroupAndMeetingJson.md +++ /dev/null @@ -1,15 +0,0 @@ -# TravelGroupAndMeetingJson - -Group and meeting information. - - -## Fields - -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | -| `runOfHouseRate` | [Optional\](../../models/components/TravelRunOfHouseRateJson.md) | :heavy_minus_sign: | Run of house rate information. | -| `dayDelegateRate` | [Optional\](../../models/components/TravelDayDelegateRateJson.md) | :heavy_minus_sign: | Day delegate rate information. This represents the costs for hosting meeting at the venue for a half or full day. | -| `taxAndServiceCharge` | [Optional\](../../models/components/TravelTaxAndServiceChargeJson.md) | :heavy_minus_sign: | Tax and service charge information. | -| `meetingRoomBasicInformation` | [Optional\](../../models/components/TravelMeetingRoomBasicInfoJson.md) | :heavy_minus_sign: | Meeting room basic information. | -| `amenity` | [Optional\](../../models/components/TravelAmenityJson.md) | :heavy_minus_sign: | Group and meeting amenity info. | -| `breakOutRoom` | [Optional\](../../models/components/TravelBreakOutRoomJson.md) | :heavy_minus_sign: | Break-out room information. | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelMeetingRoomBasicInfoJson.md b/packages/java/docs/models/components/TravelMeetingRoomBasicInfoJson.md deleted file mode 100644 index 331cfce2c..000000000 --- a/packages/java/docs/models/components/TravelMeetingRoomBasicInfoJson.md +++ /dev/null @@ -1,12 +0,0 @@ -# TravelMeetingRoomBasicInfoJson - -Meeting room basic information. - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | -| `largestMeetingRoom` | *Optional\* | :heavy_minus_sign: | Size of the largest meeting room. Units of measurement determined by `unitOfMeasurement` field. | 1000 | -| `unitOfMeasurement` | *Optional\* | :heavy_minus_sign: | Unit of measurement of the `largestMeetingRoom`'s size. | sq.ft. | -| `meetingRooms` | *Optional\* | :heavy_minus_sign: | Total number of meeting rooms. | 10 | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProgram.md b/packages/java/docs/models/components/TravelProgram.md index 2aab5d4db..f61897da0 100644 --- a/packages/java/docs/models/components/TravelProgram.md +++ b/packages/java/docs/models/components/TravelProgram.md @@ -14,13 +14,13 @@ Travel program details. | `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the travel program. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `name` | *Optional\* | :heavy_minus_sign: | The name of the travel program. | Test Program | | `contractPeriod` | *Optional\* | :heavy_minus_sign: | The contract year in which the travel program originated. | 2023 | -| `type` | [Optional\](../../models/components/TravelProgramTypeJson.md) | :heavy_minus_sign: | Code representing the travel program type. | corporate | -| `format` | [Optional\](../../models/components/TravelProgramFormatTypeJson.md) | :heavy_minus_sign: | Code representing the format of the travel program. | gbta2013 | -| `status` | [Optional\](../../models/components/TravelProgramStatusJson.md) | :heavy_minus_sign: | Code representing the status of the travel program. | complete | +| `type` | [Optional\](../../models/components/TravelProgramType.md) | :heavy_minus_sign: | Code representing the travel program type. | corporate | +| `format` | [Optional\](../../models/components/TravelProgramFormatType.md) | :heavy_minus_sign: | Code representing the format of the travel program. | gbta2013 | +| `status` | [Optional\](../../models/components/TravelProgramStatus.md) | :heavy_minus_sign: | Code representing the status of the travel program. | complete | | `travelAccount` | [Optional\](../../models/components/TravelProgramTravelAccount.md) | :heavy_minus_sign: | Travel account that the program belongs to. | | -| `stayType` | [Optional\](../../models/components/TravelProgramStayTypeJson.md) | :heavy_minus_sign: | Code representing the stay types requested by the program. Programs can accept daily only, or daily and extended stay proposals. | daily | +| `stayType` | [Optional\](../../models/components/TravelProgramStayType.md) | :heavy_minus_sign: | Code representing the stay types requested by the program. Programs can accept daily only, or daily and extended stay proposals. | daily | | `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 formatted start date (in GMT) of the travel program. | 2024-01-01 | | `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\<[TravelProgramQuestionJson](../../models/components/TravelProgramQuestionJson.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\<[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 diff --git a/packages/java/docs/models/components/TravelProgramFormatType.md b/packages/java/docs/models/components/TravelProgramFormatType.md new file mode 100644 index 000000000..3919e3b64 --- /dev/null +++ b/packages/java/docs/models/components/TravelProgramFormatType.md @@ -0,0 +1,19 @@ +# TravelProgramFormatType + +Code representing the format of the travel program. + +## Example Usage + +```java +import com.cvent.models.components.TravelProgramFormatType; + +TravelProgramFormatType value = TravelProgramFormatType.GBTA2013; +``` + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `GBTA2013` | gbta2013 | +| `UNIVERSAL` | universal | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProgramFormatTypeJson.md b/packages/java/docs/models/components/TravelProgramFormatTypeJson.md deleted file mode 100644 index 931f60575..000000000 --- a/packages/java/docs/models/components/TravelProgramFormatTypeJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# TravelProgramFormatTypeJson - -Code representing the format of the travel program. - -## Example Usage - -```java -import com.cvent.models.components.TravelProgramFormatTypeJson; - -TravelProgramFormatTypeJson value = TravelProgramFormatTypeJson.GBTA2013; -``` - - -## Values - -| Name | Value | -| ----------- | ----------- | -| `GBTA2013` | gbta2013 | -| `UNIVERSAL` | universal | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProgramPaginatedResponse.md b/packages/java/docs/models/components/TravelProgramPaginatedResponse.md index b15e32f9a..b87be3a7d 100644 --- a/packages/java/docs/models/components/TravelProgramPaginatedResponse.md +++ b/packages/java/docs/models/components/TravelProgramPaginatedResponse.md @@ -7,5 +7,5 @@ A paginated list of travel programs. | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `paging` | [Optional\](../../models/components/PagingJson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `paging` | [Optional\](../../models/components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | | `data` | List\<[TravelProgram](../../models/components/TravelProgram.md)> | :heavy_minus_sign: | Collection of travel programs and their related details. | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProgramQuestion.md b/packages/java/docs/models/components/TravelProgramQuestion.md new file mode 100644 index 000000000..e2e221193 --- /dev/null +++ b/packages/java/docs/models/components/TravelProgramQuestion.md @@ -0,0 +1,21 @@ +# TravelProgramQuestion + +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/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 diff --git a/packages/java/docs/models/components/TravelProgramQuestion1.md b/packages/java/docs/models/components/TravelProgramQuestion1.md new file mode 100644 index 000000000..dd01bd55b --- /dev/null +++ b/packages/java/docs/models/components/TravelProgramQuestion1.md @@ -0,0 +1,13 @@ +# TravelProgramQuestion1 + +A question, defined by the account, for the supplier to answer as part of their proposal. + + +## 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 diff --git a/packages/java/docs/models/components/TravelProgramQuestionJson.md b/packages/java/docs/models/components/TravelProgramQuestionJson.md deleted file mode 100644 index 48ab7ec57..000000000 --- a/packages/java/docs/models/components/TravelProgramQuestionJson.md +++ /dev/null @@ -1,13 +0,0 @@ -# TravelProgramQuestionJson - -A question, defined by the account, for the supplier to answer as part of their proposal. - - -## 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/QuestionSectionJson.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/TravelProgramQuestionTravelProgram.md b/packages/java/docs/models/components/TravelProgramQuestionTravelProgram.md new file mode 100644 index 000000000..5704fa24e --- /dev/null +++ b/packages/java/docs/models/components/TravelProgramQuestionTravelProgram.md @@ -0,0 +1,10 @@ +# TravelProgramQuestionTravelProgram + +Travel program that the question belongs to. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the travel program. | ddc61444-45c7-4e1d-9fdd-07713c8baf9b | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProgramStatus.md b/packages/java/docs/models/components/TravelProgramStatus.md new file mode 100644 index 000000000..21f276d53 --- /dev/null +++ b/packages/java/docs/models/components/TravelProgramStatus.md @@ -0,0 +1,20 @@ +# TravelProgramStatus + +Code representing the status of the travel program. + +## Example Usage + +```java +import com.cvent.models.components.TravelProgramStatus; + +TravelProgramStatus value = TravelProgramStatus.IN_PROGRESS; +``` + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `IN_PROGRESS` | in_progress | +| `COMPLETE` | complete | +| `CLOSED` | closed | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProgramStatusJson.md b/packages/java/docs/models/components/TravelProgramStatusJson.md deleted file mode 100644 index 2f5e84365..000000000 --- a/packages/java/docs/models/components/TravelProgramStatusJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# TravelProgramStatusJson - -Code representing the status of the travel program. - -## Example Usage - -```java -import com.cvent.models.components.TravelProgramStatusJson; - -TravelProgramStatusJson value = TravelProgramStatusJson.IN_PROGRESS; -``` - - -## Values - -| Name | Value | -| ------------- | ------------- | -| `IN_PROGRESS` | in_progress | -| `COMPLETE` | complete | -| `CLOSED` | closed | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProgramStayType.md b/packages/java/docs/models/components/TravelProgramStayType.md new file mode 100644 index 000000000..b9e7a88e7 --- /dev/null +++ b/packages/java/docs/models/components/TravelProgramStayType.md @@ -0,0 +1,19 @@ +# TravelProgramStayType + +Code representing the stay types requested by the program. Programs can accept daily only, or daily and extended stay proposals. + +## Example Usage + +```java +import com.cvent.models.components.TravelProgramStayType; + +TravelProgramStayType value = TravelProgramStayType.DAILY; +``` + + +## Values + +| Name | Value | +| ------------------------- | ------------------------- | +| `DAILY` | daily | +| `DAILY_AND_EXTENDED_STAY` | daily_and_extended_stay | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProgramStayTypeJson.md b/packages/java/docs/models/components/TravelProgramStayTypeJson.md deleted file mode 100644 index 9884590aa..000000000 --- a/packages/java/docs/models/components/TravelProgramStayTypeJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# TravelProgramStayTypeJson - -Code representing the stay types requested by the program. Programs can accept daily only, or daily and extended stay proposals. - -## Example Usage - -```java -import com.cvent.models.components.TravelProgramStayTypeJson; - -TravelProgramStayTypeJson value = TravelProgramStayTypeJson.DAILY; -``` - - -## Values - -| Name | Value | -| ------------------------- | ------------------------- | -| `DAILY` | daily | -| `DAILY_AND_EXTENDED_STAY` | daily_and_extended_stay | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProgramType.md b/packages/java/docs/models/components/TravelProgramType.md new file mode 100644 index 000000000..93488b962 --- /dev/null +++ b/packages/java/docs/models/components/TravelProgramType.md @@ -0,0 +1,20 @@ +# TravelProgramType + +Code representing the travel program type. + +## Example Usage + +```java +import com.cvent.models.components.TravelProgramType; + +TravelProgramType value = TravelProgramType.CORPORATE; +``` + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `CORPORATE` | corporate | +| `LEISURE` | leisure | +| `CONSORTIA` | consortia | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProgramTypeJson.md b/packages/java/docs/models/components/TravelProgramTypeJson.md deleted file mode 100644 index 246b99102..000000000 --- a/packages/java/docs/models/components/TravelProgramTypeJson.md +++ /dev/null @@ -1,20 +0,0 @@ -# TravelProgramTypeJson - -Code representing the travel program type. - -## Example Usage - -```java -import com.cvent.models.components.TravelProgramTypeJson; - -TravelProgramTypeJson value = TravelProgramTypeJson.CORPORATE; -``` - - -## Values - -| Name | Value | -| ----------- | ----------- | -| `CORPORATE` | corporate | -| `LEISURE` | leisure | -| `CONSORTIA` | consortia | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProposal.md b/packages/java/docs/models/components/TravelProposal.md index f9e570604..682bfed9c 100644 --- a/packages/java/docs/models/components/TravelProposal.md +++ b/packages/java/docs/models/components/TravelProposal.md @@ -15,11 +15,11 @@ Represents travel proposals. Travel proposals are created by the travel supplier | `supplierProperty` | [Optional\](../../models/components/SupplierProperty.md) | :heavy_minus_sign: | Supplier property that the proposal is tied to. | | | `travelProgram` | [Optional\](../../models/components/TravelProposalTravelProgram.md) | :heavy_minus_sign: | Travel program that the proposal is in response to. | | | `contractPeriod` | *Optional\* | :heavy_minus_sign: | Contract period of the proposal. The year the contract begins. | 2021 | -| `status` | [Optional\](../../models/components/ProposalStatusTypeJson.md) | :heavy_minus_sign: | The status of the proposal | account_accepted | +| `status` | [Optional\](../../models/components/ProposalStatusType.md) | :heavy_minus_sign: | The status of the proposal | account_accepted | | `deleted` | *Optional\* | :heavy_minus_sign: | True indicates the proposal is deleted. | | -| `rateReviewStatus` | [Optional\](../../models/components/RateReviewStatusTypeJson.md) | :heavy_minus_sign: | The rate review status of the proposal | | -| `businessType` | [Optional\](../../models/components/BusinessTypeJson.md) | :heavy_minus_sign: | Business type. | corporate | -| `format` | [Optional\](../../models/components/FormatTypeJson.md) | :heavy_minus_sign: | Proposal format. | gbta2013 | +| `rateReviewStatus` | [Optional\](../../models/components/RateReviewStatusType.md) | :heavy_minus_sign: | The rate review status of the proposal | | +| `businessType` | [Optional\](../../models/components/BusinessType.md) | :heavy_minus_sign: | Business type. | corporate | +| `format` | [Optional\](../../models/components/FormatType.md) | :heavy_minus_sign: | Proposal format. | gbta2013 | | `documentRead` | *Optional\* | :heavy_minus_sign: | True indicates the documents been read by the supply-side. | | | `rejectReasonCode` | *Optional\* | :heavy_minus_sign: | Reason the reject/decline action was performed. Used for certain actions/statuses. | Other | | `rejectComment` | *Optional\* | :heavy_minus_sign: | Comments regarding the reasoning for the reject/decline action. This only comes into play for certain actions/statuses. | other reasons | @@ -28,7 +28,7 @@ Represents travel proposals. Travel proposals are created by the travel supplier | `negotiationDueDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 datetime when the negotiation response is due. | 2030-02-10T00:00:00.000Z | | `roomNightConsumption` | *Optional\* | :heavy_minus_sign: | Client room nights produced at property from January 1 through June 30. | 100 | | `draft` | *Optional\* | :heavy_minus_sign: | True indicates this proposal is a draft copy that is not sent to the other party. | | -| `bids` | List\<[TravelProposalBidIdJson](../../models/components/TravelProposalBidIdJson.md)> | :heavy_minus_sign: | Collection of bid IDs attached to the proposal. | | -| `customQuestionAnswers` | List\<[CustomQuestionAnswerJson0](../../models/components/CustomQuestionAnswerJson0.md)> | :heavy_minus_sign: | Collection of custom questions. | | -| `groupAndMeeting` | [Optional\](../../models/components/TravelGroupAndMeetingJson.md) | :heavy_minus_sign: | Group and meeting information. | | -| `proposalDisposition` | [Optional\](../../models/components/TravelProposalDispositionJson.md) | :heavy_minus_sign: | Represent proposal disposition details. | | \ No newline at end of file +| `bids` | List\<[TravelProposalBid1](../../models/components/TravelProposalBid1.md)> | :heavy_minus_sign: | Collection of bid IDs attached to the proposal. | | +| `customQuestionAnswers` | List\<[TravelProposalCustomQuestion](../../models/components/TravelProposalCustomQuestion.md)> | :heavy_minus_sign: | Collection of custom questions. | | +| `groupAndMeeting` | [Optional\](../../models/components/TravelProposalGroupAndMeeting.md) | :heavy_minus_sign: | Group and meeting information. | | +| `proposalDisposition` | [Optional\](../../models/components/TravelProposalDisposition.md) | :heavy_minus_sign: | Represent proposal disposition details. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProposalBid.md b/packages/java/docs/models/components/TravelProposalBid.md deleted file mode 100644 index da515ce9f..000000000 --- a/packages/java/docs/models/components/TravelProposalBid.md +++ /dev/null @@ -1,31 +0,0 @@ -# TravelProposalBid - -A travel proposal bid rate plan that is being proposed to a customer. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | -| `travelProposal` | [Optional\](../../models/components/TravelProposalBidTravelProposal.md) | :heavy_minus_sign: | The travel proposal that the bid belongs to. | | -| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the bid. | 3e2a8614-7d52-442e-8c4f-a6a18ed9ac4d | -| `stayType` | [Optional\](../../models/components/BidStayTypeJson.md) | :heavy_minus_sign: | Bid stay type. | | -| `order` | *Optional\* | :heavy_minus_sign: | The order of the bid compared to other bids of the same stay type. This is used to distinguish between extended stay 1 vs extended stay 2. | 1 | -| `status` | [Optional\](../../models/components/BidStatusTypeJson.md) | :heavy_minus_sign: | Bid stay type. | | -| `name` | *Optional\* | :heavy_minus_sign: | Name given to the bid. | My Corporate Bid | -| `rate` | [Optional\](../../models/components/TravelBidRateJson.md) | :heavy_minus_sign: | The rate (cost) information for a travel bid. | | -| `marketCode` | *Optional\* | :heavy_minus_sign: | The market code given to the rate plan / bid by the supplier. | mc12 | -| `currencyCode` | *Optional\* | :heavy_minus_sign: | The ISO 4217 currency code used for the rates and other monetary values in the bid. | USD | -| `weekendDays` | List\<[TravelBidWeekendDayJson](../../models/components/TravelBidWeekendDayJson.md)> | :heavy_minus_sign: | Days of the week that are considered weekend days, to apply weekend rates. Does not apply when format is GBTA2013. | | -| `lra` | *Optional\* | :heavy_minus_sign: | Does the bid include LRA (Last Room Availability) rates? | | -| `nlra` | *Optional\* | :heavy_minus_sign: | Does the bid include non-LRA rates? | | -| `fairDateLra` | *Optional\* | :heavy_minus_sign: | Are the fair date rates LRA (Last Room Availability)? | | -| `internalNote` | *Optional\* | :heavy_minus_sign: | Additional comments passed from the domain-level rate plan. | | -| `comments` | List\<[TravelBidCommentJson](../../models/components/TravelBidCommentJson.md)> | :heavy_minus_sign: | Additional Info | | -| `roomTypes` | List\<[TravelBidRoomJson](../../models/components/TravelBidRoomJson.md)> | :heavy_minus_sign: | Room Types associated with the bid | | -| `seasons` | List\<[TravelBidSeasonJson](../../models/components/TravelBidSeasonJson.md)> | :heavy_minus_sign: | Seasons associated with the bid | | -| `discounts` | List\<[TravelBidDiscountJson](../../models/components/TravelBidDiscountJson.md)> | :heavy_minus_sign: | Dynamic discounts associated with the bid | | -| `fairSeasons` | List\<[TravelBidFairSeasonJson](../../models/components/TravelBidFairSeasonJson.md)> | :heavy_minus_sign: | Fair seasons associated with the bid | | -| `amenities` | List\<[TravelBidAmenityJson](../../models/components/TravelBidAmenityJson.md)> | :heavy_minus_sign: | Amenities associated with the bid | | -| `policies` | List\<[TravelBidPolicyJson](../../models/components/TravelBidPolicyJson.md)> | :heavy_minus_sign: | Policies associated with the bid | | -| `taxesAndFees` | List\<[TravelBidTaxFeeJson](../../models/components/TravelBidTaxFeeJson.md)> | :heavy_minus_sign: | Taxes & fees associated with the bid | | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProposalBid1.md b/packages/java/docs/models/components/TravelProposalBid1.md new file mode 100644 index 000000000..b8e7317d9 --- /dev/null +++ b/packages/java/docs/models/components/TravelProposalBid1.md @@ -0,0 +1,10 @@ +# TravelProposalBid1 + +A travel proposal bid. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *Optional\* | :heavy_minus_sign: | The ID of the bid. | 1c208c0d-cf96-42ec-a2c3-7ab7a5c04825 | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProposalBid2.md b/packages/java/docs/models/components/TravelProposalBid2.md new file mode 100644 index 000000000..244f5c69b --- /dev/null +++ b/packages/java/docs/models/components/TravelProposalBid2.md @@ -0,0 +1,31 @@ +# TravelProposalBid2 + +A travel proposal bid rate plan that is being proposed to a customer. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | +| `travelProposal` | [Optional\](../../models/components/TravelProposalBidTravelProposal.md) | :heavy_minus_sign: | The travel proposal that the bid belongs to. | | +| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the bid. | 3e2a8614-7d52-442e-8c4f-a6a18ed9ac4d | +| `stayType` | [Optional\](../../models/components/BidStayType.md) | :heavy_minus_sign: | Bid stay type. | | +| `order` | *Optional\* | :heavy_minus_sign: | The order of the bid compared to other bids of the same stay type. This is used to distinguish between extended stay 1 vs extended stay 2. | 1 | +| `status` | [Optional\](../../models/components/BidStatusType.md) | :heavy_minus_sign: | Bid stay type. | | +| `name` | *Optional\* | :heavy_minus_sign: | Name given to the bid. | My Corporate Bid | +| `rate` | [Optional\](../../models/components/TravelProposalBidRate.md) | :heavy_minus_sign: | The rate (cost) information for a travel bid. | | +| `marketCode` | *Optional\* | :heavy_minus_sign: | The market code given to the rate plan / bid by the supplier. | mc12 | +| `currencyCode` | *Optional\* | :heavy_minus_sign: | The ISO 4217 currency code used for the rates and other monetary values in the bid. | USD | +| `weekendDays` | List\<[TravelBidWeekendDays](../../models/components/TravelBidWeekendDays.md)> | :heavy_minus_sign: | Days of the week that are considered weekend days, to apply weekend rates. Does not apply when format is GBTA2013. | | +| `lra` | *Optional\* | :heavy_minus_sign: | Does the bid include LRA (Last Room Availability) rates? | | +| `nlra` | *Optional\* | :heavy_minus_sign: | Does the bid include non-LRA rates? | | +| `fairDateLra` | *Optional\* | :heavy_minus_sign: | Are the fair date rates LRA (Last Room Availability)? | | +| `internalNote` | *Optional\* | :heavy_minus_sign: | Additional comments passed from the domain-level rate plan. | | +| `comments` | List\<[TravelBidComment](../../models/components/TravelBidComment.md)> | :heavy_minus_sign: | Additional Info | | +| `roomTypes` | List\<[TravelBidRoom](../../models/components/TravelBidRoom.md)> | :heavy_minus_sign: | Room Types associated with the bid | | +| `seasons` | List\<[TravelBidSeason](../../models/components/TravelBidSeason.md)> | :heavy_minus_sign: | Seasons associated with the bid | | +| `discounts` | List\<[TravelBidDiscount](../../models/components/TravelBidDiscount.md)> | :heavy_minus_sign: | Dynamic discounts associated with the bid | | +| `fairSeasons` | List\<[TravelBidFairSeason](../../models/components/TravelBidFairSeason.md)> | :heavy_minus_sign: | Fair seasons associated with the bid | | +| `amenities` | List\<[TravelBidAmenity](../../models/components/TravelBidAmenity.md)> | :heavy_minus_sign: | Amenities associated with the bid | | +| `policies` | List\<[TravelBidPolicy](../../models/components/TravelBidPolicy.md)> | :heavy_minus_sign: | Policies associated with the bid | | +| `taxesAndFees` | List\<[TravelBidTaxAndFee](../../models/components/TravelBidTaxAndFee.md)> | :heavy_minus_sign: | Taxes & fees associated with the bid | | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProposalBidIdJson.md b/packages/java/docs/models/components/TravelProposalBidIdJson.md deleted file mode 100644 index d29f86157..000000000 --- a/packages/java/docs/models/components/TravelProposalBidIdJson.md +++ /dev/null @@ -1,10 +0,0 @@ -# TravelProposalBidIdJson - -A travel proposal bid. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *Optional\* | :heavy_minus_sign: | The ID of the bid. | 1c208c0d-cf96-42ec-a2c3-7ab7a5c04825 | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProposalBidPaginatedResponse.md b/packages/java/docs/models/components/TravelProposalBidPaginatedResponse.md index 4b6c55cc6..590491c3e 100644 --- a/packages/java/docs/models/components/TravelProposalBidPaginatedResponse.md +++ b/packages/java/docs/models/components/TravelProposalBidPaginatedResponse.md @@ -5,7 +5,7 @@ A paginated list of travel proposals. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `paging` | [Optional\](../../models/components/PagingJson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `data` | List\<[TravelProposalBid](../../models/components/TravelProposalBid.md)> | :heavy_minus_sign: | Paginated list of business transient proposal bids. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `paging` | [Optional\](../../models/components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `data` | List\<[TravelProposalBid2](../../models/components/TravelProposalBid2.md)> | :heavy_minus_sign: | Paginated list of business transient proposal bids. | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProposalBidRate.md b/packages/java/docs/models/components/TravelProposalBidRate.md new file mode 100644 index 000000000..1768e3dfc --- /dev/null +++ b/packages/java/docs/models/components/TravelProposalBidRate.md @@ -0,0 +1,13 @@ +# TravelProposalBidRate + +The rate (cost) information for a travel bid. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `level` | [Optional\](../../models/components/RateLevelType.md) | :heavy_minus_sign: | Rate level | corporate | +| `type` | [Optional\](../../models/components/RateType.md) | :heavy_minus_sign: | Rate type. | | +| `planCode` | *Optional\* | :heavy_minus_sign: | The code given to the bid (also called rate plan) by the supplier. | rp123 | +| `tier` | *Optional\* | :heavy_minus_sign: | The rate tier given to the bid (also called rate plan) by the supplier. | tier1 | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProposalCustomQuestion.md b/packages/java/docs/models/components/TravelProposalCustomQuestion.md new file mode 100644 index 000000000..3ac4ee211 --- /dev/null +++ b/packages/java/docs/models/components/TravelProposalCustomQuestion.md @@ -0,0 +1,11 @@ +# TravelProposalCustomQuestion + +Represents custom question associated with a travel proposal. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `question` | [Optional\](../../models/components/TravelProposalCustomQuestionQuestion.md) | :heavy_minus_sign: | Travel account that the proposal is responding to. | | +| `answer` | *Optional\* | :heavy_minus_sign: | Hotel's answer to the program's custom question. | No. | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProposalCustomQuestionQuestion.md b/packages/java/docs/models/components/TravelProposalCustomQuestionQuestion.md new file mode 100644 index 000000000..6225a75cf --- /dev/null +++ b/packages/java/docs/models/components/TravelProposalCustomQuestionQuestion.md @@ -0,0 +1,10 @@ +# TravelProposalCustomQuestionQuestion + +Travel account that the proposal is responding to. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the question. | 565ceabb-786a-4a6d-8c85-e2fccc867e88 | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProposalDisposition.md b/packages/java/docs/models/components/TravelProposalDisposition.md new file mode 100644 index 000000000..48d238f2d --- /dev/null +++ b/packages/java/docs/models/components/TravelProposalDisposition.md @@ -0,0 +1,11 @@ +# TravelProposalDisposition + +Represent proposal disposition details. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `bidDispositions` | List\<[TravelBidDisposition](../../models/components/TravelBidDisposition.md)> | :heavy_minus_sign: | List of bid dispositions. | | +| `groupAndMeetingAccepted` | *Optional\* | :heavy_minus_sign: | Indicates if the group and meeting is accepted. | true | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProposalDispositionJson.md b/packages/java/docs/models/components/TravelProposalDispositionJson.md deleted file mode 100644 index 449af19e5..000000000 --- a/packages/java/docs/models/components/TravelProposalDispositionJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# TravelProposalDispositionJson - -Represent proposal disposition details. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `bidDispositions` | List\<[TravelBidDispositionJson](../../models/components/TravelBidDispositionJson.md)> | :heavy_minus_sign: | List of bid dispositions. | | -| `groupAndMeetingAccepted` | *Optional\* | :heavy_minus_sign: | Indicates if the group and meeting is accepted. | true | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProposalGroupAndMeeting.md b/packages/java/docs/models/components/TravelProposalGroupAndMeeting.md new file mode 100644 index 000000000..9d2017434 --- /dev/null +++ b/packages/java/docs/models/components/TravelProposalGroupAndMeeting.md @@ -0,0 +1,15 @@ +# TravelProposalGroupAndMeeting + +Group and meeting information. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `runOfHouseRate` | [Optional\](../../models/components/TravelProposalGroupAndMeetingRunOfHouseRate.md) | :heavy_minus_sign: | Run of house rate information. | +| `dayDelegateRate` | [Optional\](../../models/components/TravelProposalGroupAndMeetingDayDelegateRate.md) | :heavy_minus_sign: | Day delegate rate information. This represents the costs for hosting meeting at the venue for a half or full day. | +| `taxAndServiceCharge` | [Optional\](../../models/components/TravelProposalGroupAndMeetingTaxAndServiceCharge.md) | :heavy_minus_sign: | Tax and service charge information. | +| `meetingRoomBasicInformation` | [Optional\](../../models/components/TravelProposalGroupAndMeetingMeetingRoomBasicInformation.md) | :heavy_minus_sign: | Meeting room basic information. | +| `amenity` | [Optional\](../../models/components/TravelProposalGroupAndMeetingAmenity.md) | :heavy_minus_sign: | Group and meeting amenity info. | +| `breakOutRoom` | [Optional\](../../models/components/TravelProposalGroupAndMeetingBreakOutRoom.md) | :heavy_minus_sign: | Break-out room information. | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProposalGroupAndMeetingAmenity.md b/packages/java/docs/models/components/TravelProposalGroupAndMeetingAmenity.md new file mode 100644 index 000000000..f8b6b0261 --- /dev/null +++ b/packages/java/docs/models/components/TravelProposalGroupAndMeetingAmenity.md @@ -0,0 +1,17 @@ +# TravelProposalGroupAndMeetingAmenity + +Group and meeting amenity info. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `lcdIncluded` | *Optional\* | :heavy_minus_sign: | True indicates a liquid crystal display (LCD) is included in the amenity. | | +| `lcdPrice` | *Optional\* | :heavy_minus_sign: | Price of the liquid crystal display (LCD). | 100 | +| `screenIncluded` | *Optional\* | :heavy_minus_sign: | True indicates a screen is included in the amenity. | | +| `screenPrice` | *Optional\* | :heavy_minus_sign: | Price of the screen. | 100 | +| `hsiaIncluded` | *Optional\* | :heavy_minus_sign: | True indicates high speed internet access is included in the amenity. | | +| `hsiaPrice` | *Optional\* | :heavy_minus_sign: | Price of high speed internet access (HSIA). | 100 | +| `complementaryParkingIncluded` | *Optional\* | :heavy_minus_sign: | True indicates parking is included in the amenity. | | +| `whatCompanyProvidesAVEquipment` | *Optional\* | :heavy_minus_sign: | Name of company providing AV equipment. | Some company | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProposalGroupAndMeetingBreakOutRoom.md b/packages/java/docs/models/components/TravelProposalGroupAndMeetingBreakOutRoom.md new file mode 100644 index 000000000..06d6359f5 --- /dev/null +++ b/packages/java/docs/models/components/TravelProposalGroupAndMeetingBreakOutRoom.md @@ -0,0 +1,14 @@ +# TravelProposalGroupAndMeetingBreakOutRoom + +Break-out room information. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `tenPersonRoomIncluded` | *Optional\* | :heavy_minus_sign: | True indicates a 10 person room is included. | | +| `price10PersonRoom` | *Optional\* | :heavy_minus_sign: | Price for 10 person room. | 100 | +| `twentyFivePersonRoomIncluded` | *Optional\* | :heavy_minus_sign: | True indicates a 25 person room included. | | +| `price25PersonRoom` | *Optional\* | :heavy_minus_sign: | Price for 25 person room. | 100 | +| `permanentBoardRoomSetUp` | *Optional\* | :heavy_minus_sign: | True indicates there is a permanent board room set up. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProposalGroupAndMeetingDayDelegateRate.md b/packages/java/docs/models/components/TravelProposalGroupAndMeetingDayDelegateRate.md new file mode 100644 index 000000000..5009a69ec --- /dev/null +++ b/packages/java/docs/models/components/TravelProposalGroupAndMeetingDayDelegateRate.md @@ -0,0 +1,13 @@ +# TravelProposalGroupAndMeetingDayDelegateRate + +Day delegate rate information. This represents the costs for hosting meeting at the venue for a half or full day. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| `fullDay10To50People` | *Optional\* | :heavy_minus_sign: | Full day delegate rate for 10 to 50 people. | 100 | +| `fullDay51To100People` | *Optional\* | :heavy_minus_sign: | Full day delegate rate for 51 to 100 people. | 200 | +| `halfDay10To50People` | *Optional\* | :heavy_minus_sign: | Half day delegate rate for 10 to 50 people. | 50 | +| `halfDay51To100People` | *Optional\* | :heavy_minus_sign: | Half day delegate rate for 51 to 100 people. | 100 | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProposalGroupAndMeetingMeetingRoomBasicInformation.md b/packages/java/docs/models/components/TravelProposalGroupAndMeetingMeetingRoomBasicInformation.md new file mode 100644 index 000000000..fa5ed10a9 --- /dev/null +++ b/packages/java/docs/models/components/TravelProposalGroupAndMeetingMeetingRoomBasicInformation.md @@ -0,0 +1,12 @@ +# TravelProposalGroupAndMeetingMeetingRoomBasicInformation + +Meeting room basic information. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | +| `largestMeetingRoom` | *Optional\* | :heavy_minus_sign: | Size of the largest meeting room. Units of measurement determined by `unitOfMeasurement` field. | 1000 | +| `unitOfMeasurement` | *Optional\* | :heavy_minus_sign: | Unit of measurement of the `largestMeetingRoom`'s size. | sq.ft. | +| `meetingRooms` | *Optional\* | :heavy_minus_sign: | Total number of meeting rooms. | 10 | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProposalGroupAndMeetingRunOfHouseRate.md b/packages/java/docs/models/components/TravelProposalGroupAndMeetingRunOfHouseRate.md new file mode 100644 index 000000000..e9509d802 --- /dev/null +++ b/packages/java/docs/models/components/TravelProposalGroupAndMeetingRunOfHouseRate.md @@ -0,0 +1,19 @@ +# TravelProposalGroupAndMeetingRunOfHouseRate + +Run of house rate information. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | +| `seasonOne10To50People` | *Optional\* | :heavy_minus_sign: | Season one run of house rate for 10-50 people. | 100 | +| `seasonOne51To100People` | *Optional\* | :heavy_minus_sign: | Season one run of house rate for 51-100 people. | 200 | +| `seasonTwo10To50People` | *Optional\* | :heavy_minus_sign: | Season two run of house rate for 10-50 people. | 300 | +| `seasonTwo51To100People` | *Optional\* | :heavy_minus_sign: | Season two run of house rate for 51-100 people. | 400 | +| `seasonThree10To50People` | *Optional\* | :heavy_minus_sign: | Season three run of house rate for 10-50 people. | 500 | +| `seasonThree51To100People` | *Optional\* | :heavy_minus_sign: | Season three run of house rate for 51-100 people. | 600 | +| `seasonFour10To50People` | *Optional\* | :heavy_minus_sign: | Season four run of house rate for 10-50 people. | 700 | +| `seasonFour51To100People` | *Optional\* | :heavy_minus_sign: | Season four run of house rate for 51-100 people. | 800 | +| `seasonFive10To50People` | *Optional\* | :heavy_minus_sign: | Season five run of house rate for 10-50 people. | 900 | +| `seasonFive51To100People` | *Optional\* | :heavy_minus_sign: | Season five run of house rate for 51-100 people. | 1000 | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProposalGroupAndMeetingTaxAndServiceCharge.md b/packages/java/docs/models/components/TravelProposalGroupAndMeetingTaxAndServiceCharge.md new file mode 100644 index 000000000..51a292569 --- /dev/null +++ b/packages/java/docs/models/components/TravelProposalGroupAndMeetingTaxAndServiceCharge.md @@ -0,0 +1,15 @@ +# TravelProposalGroupAndMeetingTaxAndServiceCharge + +Tax and service charge information. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `taxAmount` | *Optional\* | :heavy_minus_sign: | Tax amount. | 0 | +| `taxPercent` | *Optional\* | :heavy_minus_sign: | True indicates the tax amount represents a percentage, instead of a monetary value. | | +| `taxIncluded` | *Optional\* | :heavy_minus_sign: | True indicates the tax included. | | +| `serviceChargeAmount` | *Optional\* | :heavy_minus_sign: | Service charge amount. | 1 | +| `serviceChargePercent` | *Optional\* | :heavy_minus_sign: | True indicates the service charge amount represents a percentage, instead of a monetary value | | +| `serviceChargeIncluded` | *Optional\* | :heavy_minus_sign: | True indicates the service charge is included. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProposalPaginatedResponse.md b/packages/java/docs/models/components/TravelProposalPaginatedResponse.md index 42d4ffa39..8043ffdad 100644 --- a/packages/java/docs/models/components/TravelProposalPaginatedResponse.md +++ b/packages/java/docs/models/components/TravelProposalPaginatedResponse.md @@ -7,5 +7,5 @@ A paginated list of travel proposals. | Field | Type | Required | Description | | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `paging` | [Optional\](../../models/components/PagingJson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `paging` | [Optional\](../../models/components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | | `data` | List\<[TravelProposal](../../models/components/TravelProposal.md)> | :heavy_minus_sign: | Paginated list of business transient proposals. | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelRunOfHouseRateJson.md b/packages/java/docs/models/components/TravelRunOfHouseRateJson.md deleted file mode 100644 index 223e01414..000000000 --- a/packages/java/docs/models/components/TravelRunOfHouseRateJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# TravelRunOfHouseRateJson - -Run of house rate information. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | -| `seasonOne10To50People` | *Optional\* | :heavy_minus_sign: | Season one run of house rate for 10-50 people. | 100 | -| `seasonOne51To100People` | *Optional\* | :heavy_minus_sign: | Season one run of house rate for 51-100 people. | 200 | -| `seasonTwo10To50People` | *Optional\* | :heavy_minus_sign: | Season two run of house rate for 10-50 people. | 300 | -| `seasonTwo51To100People` | *Optional\* | :heavy_minus_sign: | Season two run of house rate for 51-100 people. | 400 | -| `seasonThree10To50People` | *Optional\* | :heavy_minus_sign: | Season three run of house rate for 10-50 people. | 500 | -| `seasonThree51To100People` | *Optional\* | :heavy_minus_sign: | Season three run of house rate for 51-100 people. | 600 | -| `seasonFour10To50People` | *Optional\* | :heavy_minus_sign: | Season four run of house rate for 10-50 people. | 700 | -| `seasonFour51To100People` | *Optional\* | :heavy_minus_sign: | Season four run of house rate for 51-100 people. | 800 | -| `seasonFive10To50People` | *Optional\* | :heavy_minus_sign: | Season five run of house rate for 10-50 people. | 900 | -| `seasonFive51To100People` | *Optional\* | :heavy_minus_sign: | Season five run of house rate for 51-100 people. | 1000 | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelTaxAndServiceChargeJson.md b/packages/java/docs/models/components/TravelTaxAndServiceChargeJson.md deleted file mode 100644 index c47033662..000000000 --- a/packages/java/docs/models/components/TravelTaxAndServiceChargeJson.md +++ /dev/null @@ -1,15 +0,0 @@ -# TravelTaxAndServiceChargeJson - -Tax and service charge information. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `taxAmount` | *Optional\* | :heavy_minus_sign: | Tax amount. | 0 | -| `taxPercent` | *Optional\* | :heavy_minus_sign: | True indicates the tax amount represents a percentage, instead of a monetary value. | | -| `taxIncluded` | *Optional\* | :heavy_minus_sign: | True indicates the tax included. | | -| `serviceChargeAmount` | *Optional\* | :heavy_minus_sign: | Service charge amount. | 1 | -| `serviceChargePercent` | *Optional\* | :heavy_minus_sign: | True indicates the service charge amount represents a percentage, instead of a monetary value | | -| `serviceChargeIncluded` | *Optional\* | :heavy_minus_sign: | True indicates the service charge is included. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/UnitPosition.md b/packages/java/docs/models/components/UnitPosition.md new file mode 100644 index 000000000..e9f2c2796 --- /dev/null +++ b/packages/java/docs/models/components/UnitPosition.md @@ -0,0 +1,19 @@ +# UnitPosition + +Unit position used for text box question type. + +## Example Usage + +```java +import com.cvent.models.components.UnitPosition; + +UnitPosition value = UnitPosition.LEFT; +``` + + +## Values + +| Name | Value | +| ------- | ------- | +| `LEFT` | Left | +| `RIGHT` | Right | \ No newline at end of file diff --git a/packages/java/docs/models/components/UnitPositionJson.md b/packages/java/docs/models/components/UnitPositionJson.md deleted file mode 100644 index 18b97707d..000000000 --- a/packages/java/docs/models/components/UnitPositionJson.md +++ /dev/null @@ -1,19 +0,0 @@ -# UnitPositionJson - -Unit position used for text box question type. - -## Example Usage - -```java -import com.cvent.models.components.UnitPositionJson; - -UnitPositionJson value = UnitPositionJson.LEFT; -``` - - -## Values - -| Name | Value | -| ------- | ------- | -| `LEFT` | Left | -| `RIGHT` | Right | \ No newline at end of file diff --git a/packages/java/docs/models/components/UpdatedThroughNameProperty.md b/packages/java/docs/models/components/UpdatedThroughNameProperty.md new file mode 100644 index 000000000..b8151104e --- /dev/null +++ b/packages/java/docs/models/components/UpdatedThroughNameProperty.md @@ -0,0 +1,103 @@ +# UpdatedThroughNameProperty + +Name of the place where this change was updated through. + +## Example Usage + +```java +import com.cvent.models.components.UpdatedThroughNameProperty; + +UpdatedThroughNameProperty value = UpdatedThroughNameProperty.ABSTRACT_GUEST_SIDE_AUTHOR_UPDATE; +``` + + +## Values + +| Name | Value | +| --------------------------------------------------------------- | --------------------------------------------------------------- | +| `ABSTRACT_GUEST_SIDE_AUTHOR_UPDATE` | Abstract Guest Side Author Update | +| `ABSTRACT_GUEST_SIDE_REVIEWER_UPDATE` | Abstract Guest Side Reviewer Update | +| `ABSTRACT_GUEST_SIDE_USER` | Abstract Guest Side User | +| `ABSTRACT_PLANNER_SIDE` | Abstract Planner side | +| `ADDRESS_BOOK_PROFILE` | Address Book Profile | +| `AMEX_CARD_DELETE` | Amex Card Delete | +| `AMEX_CARD_INSERT` | Amex Card Insert | +| `AMEX_CARD_UPDATE` | Amex Card Update | +| `ANSWERS_REPLACED_FROM_ADMINISTRATION` | Answers Replaced from Administration | +| `APPOINTMENT_GUEST_SIDE` | Appointment Guest Side | +| `ATTENDEE_HUB` | Attendee Hub | +| `BUDGET_ALLOCATION_UPDATE` | Budget Allocation Update | +| `BUDGET_ATTENDEE_UPDATE` | Budget Attendee Update | +| `BUDGET_ITEM_CUSTOM_FIELD_ANSWERS_REPLACED_FROM_ADMINISTRATION` | Budget Item Custom Field Answers Replaced from Administration | +| `BUDGET_ITEM_DELETE` | Budget Item Delete | +| `BUDGET_ITEM_DUPLICATE` | Budget Item Duplicate | +| `BUDGET_ITEM_IMPORT` | Budget Item Import | +| `BUDGET_ITEM_INSERT_VIA_RESTAPI` | Budget Item Insert via REST API | +| `BUDGET_ITEM_INSERT` | Budget Item Insert | +| `BUDGET_ITEM_SINGLE_UPDATE` | Budget Item Single Update | +| `BUDGET_ITEM_TEMPLATE_IMPORT` | Budget Item Template Import | +| `BUDGET_ITEM_UPDATE_VIA_RESTAPI` | Budget Item Update via REST API | +| `BUDGET_ITEMS_BULK_ASSIGN_VENDOR` | Budget Items Bulk Assign Vendor | +| `BUDGET_ITEMS_BULK_COPY_COST_LABEL` | Budget Items Bulk Copy Cost label | +| `BUDGET_ITEMS_BULK_COPY` | Budget Items Bulk Copy | +| `BUDGET_ITEMS_BULK_DELETE` | Budget Items Bulk Delete | +| `BUDGET_ITEMS_BULK_UPDATE` | Budget Items Bulk Update | +| `BUDGET_VERSION_UPDATE` | Budget Version Update | +| `BULK_UPDATE_CONTACT_FIELD_ANSWER` | Bulk Update Contact Field Answer | +| `CONCUR_RECONCILIATION_CREATE_NEW_BUDGET_ITEM_FOR_EACH_EXPENSE` | Concur Reconciliation - Create New Budget Item For Each Expense | +| `CONCUR_RECONCILIATION_MAP_TO_EXISTING_BUDGET_ITEM` | Concur Reconciliation - Map to Existing Budget Item | +| `CONFIRM_OPT_IN_EMAIL` | Confirm Opt In Email | +| `CONTACT_IMPORT` | Contact Import | +| `CONTACT_NEW_MEMBERSHIP` | Contact New Membership | +| `CONTACT_PENDING_OBFUSCATION` | Contact Pending Obfuscation | +| `CONTACT_WEBSITE_PROFILE_UPDATE` | Contact Website Profile Update | +| `CREATED_WITHIN_MEETING_REQUEST` | Created Within Meeting Request | +| `CREATED_FROM_API` | Created from API | +| `CREATED_FROM_REQUEST_WEBSITE` | Created from Request Website | +| `CROWD_COMPASS_PROFILE_UPDATE` | Crowd Compass Profile Update | +| `CUSTOM_FIELD_ADDED_FROM_ADMIN` | Custom Field Added From Admin | +| `CUSTOM_FIELD_ADDED_VIA_RESTAPI` | Custom Field Added via REST API | +| `CUSTOM_FIELD_DELETED_FROM_ADMIN` | Custom Field Deleted From Admin | +| `CUSTOM_FIELD_MODIFIED_FROM_ADMIN` | Custom Field Modified From Admin | +| `CUSTOM_FIELD_MODIFIED_VIA_RESTAPI` | Custom Field Modified via REST API | +| `DELETED_WITHIN_ADMINISTRATION` | Deleted Within Administration | +| `DELETED_FROM_MEETING_REQUEST_FORM` | Deleted from Meeting Request Form | +| `DELETED_FROM_REQUEST_WEBSITE` | Deleted from Request Website | +| `DELETED_WITHIN_MEETING_REQUEST` | Deleted within Meeting Request | +| `EVENT_AUTOMATICALLY_CREATED_FROM_MEETING_REQUEST` | Event Automatically Created from Meeting Request | +| `EVENT_CREATED_FROM_API` | Event Created from API | +| `EVENT_CREATED_FROM_EVENT_WIZARD` | Event Created from Event Wizard | +| `EVENT_GUEST_SIDE_MODIFICATION` | Event Guest Side Modification | +| `EVENT_GUEST_SIDE_REGISTRATION` | Event Guest Side Registration | +| `EVENT_IMPORT` | Event Import | +| `EVENT_MODIFIED_FROM_MEETING_REQUEST_VIA_API` | Event Modified from Meeting Request via API | +| `EVENT_MODIFIED_FROM_MEETING_REQUEST` | Event Modified from Meeting Request | +| `EVENT_ONSITE_REGISTRATION` | Event Onsite Registration | +| `EVENT_POST` | Event POST | +| `EVENT_PLANNER_CONTACT_INFORMATION_UPDATE` | Event Planner Contact Information Update | +| `EVENT_PLANNER_SIDE_MODIFICATION` | Event Planner Side Modification | +| `EVENT_PLANNER_SIDE_REGISTRATION` | Event Planner Side Registration | +| `HOTEL_REQUEST_IMPORT` | Hotel Request Import | +| `MARKETO_CONTACT_IMPORT` | Marketo Contact Import | +| `MODIFIED_WITHIN_EVENT` | Modified Within Event | +| `MODIFIED_WITHIN_MEETING_REQUEST` | Modified Within Meeting Request | +| `MODIFIED_FROM_API` | Modified from API | +| `MODIFIED_FROM_EVENT_DOCUMENTS` | Modified from Event Documents | +| `MODIFIED_FROM_MEETING_REQUEST_VIA_NOTIFICATION` | Modified from Meeting Request via Notification | +| `MODIFIED_FROM_REQUEST_WEBSITE` | Modified from Request Website | +| `REGISTRATION_IMPORT` | Registration Import | +| `REST_API` | REST API | +| `SALESFORCE_INTEGRATION` | Salesforce Integration | +| `SURVEY_AUTHOR_MODIFICATION` | Survey Author Modification | +| `SURVEY_AUTHOR_RESPONSE` | Survey Author Response | +| `SURVEY_GUEST_SIDE_MODIFICATION` | Survey Guest Side Modification | +| `SURVEY_GUEST_SIDE_RESPONSE` | Survey Guest Side Response | +| `SURVEY_POST` | Survey POST | +| `TRAVEL_COST_IMPORT_MAP_TO_EXISTING_BUDGET_ITEM` | Travel Cost Import - Map to Existing Budget item | +| `TRAVEL_COST_IMPORT_MAP_TO_NEW_BUDGET_ITEM` | Travel Cost Import - Map to New Budget Item | +| `VCN_TRANSACTION_CREATE_NEW_BUDGET_ITEM_FOR_EACH_TRANSACTION` | VCN Transaction - Create New Budget Item For Each Transaction | +| `VCN_TRANSACTION_MAP_TO_MULTIPLE_BUDGET_ITEM` | VCN Transaction - Map to Multiple Budget Item | +| `VCN_TRANSACTION_MAP_TO_SINGLE_BUDGET_ITEM` | VCN Transaction - Map to Single Budget Item | +| `VCN_TRANSACTION_REMOVED_FROM_BUDGET_ITEM` | VCN Transaction - Removed from Budget Item | +| `WEB_SERVICES` | Web Services | +| `E_MARKETING_PROFILE_UPDATE` | eMarketing Profile Update | \ No newline at end of file diff --git a/packages/java/docs/models/components/UpdatedThroughNamePropertyJson.md b/packages/java/docs/models/components/UpdatedThroughNamePropertyJson.md deleted file mode 100644 index 0d2e96855..000000000 --- a/packages/java/docs/models/components/UpdatedThroughNamePropertyJson.md +++ /dev/null @@ -1,103 +0,0 @@ -# UpdatedThroughNamePropertyJson - -Name of the place where this change was updated through. - -## Example Usage - -```java -import com.cvent.models.components.UpdatedThroughNamePropertyJson; - -UpdatedThroughNamePropertyJson value = UpdatedThroughNamePropertyJson.ABSTRACT_GUEST_SIDE_AUTHOR_UPDATE; -``` - - -## Values - -| Name | Value | -| --------------------------------------------------------------- | --------------------------------------------------------------- | -| `ABSTRACT_GUEST_SIDE_AUTHOR_UPDATE` | Abstract Guest Side Author Update | -| `ABSTRACT_GUEST_SIDE_REVIEWER_UPDATE` | Abstract Guest Side Reviewer Update | -| `ABSTRACT_GUEST_SIDE_USER` | Abstract Guest Side User | -| `ABSTRACT_PLANNER_SIDE` | Abstract Planner side | -| `ADDRESS_BOOK_PROFILE` | Address Book Profile | -| `AMEX_CARD_DELETE` | Amex Card Delete | -| `AMEX_CARD_INSERT` | Amex Card Insert | -| `AMEX_CARD_UPDATE` | Amex Card Update | -| `ANSWERS_REPLACED_FROM_ADMINISTRATION` | Answers Replaced from Administration | -| `APPOINTMENT_GUEST_SIDE` | Appointment Guest Side | -| `ATTENDEE_HUB` | Attendee Hub | -| `BUDGET_ALLOCATION_UPDATE` | Budget Allocation Update | -| `BUDGET_ATTENDEE_UPDATE` | Budget Attendee Update | -| `BUDGET_ITEM_CUSTOM_FIELD_ANSWERS_REPLACED_FROM_ADMINISTRATION` | Budget Item Custom Field Answers Replaced from Administration | -| `BUDGET_ITEM_DELETE` | Budget Item Delete | -| `BUDGET_ITEM_DUPLICATE` | Budget Item Duplicate | -| `BUDGET_ITEM_IMPORT` | Budget Item Import | -| `BUDGET_ITEM_INSERT_VIA_RESTAPI` | Budget Item Insert via REST API | -| `BUDGET_ITEM_INSERT` | Budget Item Insert | -| `BUDGET_ITEM_SINGLE_UPDATE` | Budget Item Single Update | -| `BUDGET_ITEM_TEMPLATE_IMPORT` | Budget Item Template Import | -| `BUDGET_ITEM_UPDATE_VIA_RESTAPI` | Budget Item Update via REST API | -| `BUDGET_ITEMS_BULK_ASSIGN_VENDOR` | Budget Items Bulk Assign Vendor | -| `BUDGET_ITEMS_BULK_COPY_COST_LABEL` | Budget Items Bulk Copy Cost label | -| `BUDGET_ITEMS_BULK_COPY` | Budget Items Bulk Copy | -| `BUDGET_ITEMS_BULK_DELETE` | Budget Items Bulk Delete | -| `BUDGET_ITEMS_BULK_UPDATE` | Budget Items Bulk Update | -| `BUDGET_VERSION_UPDATE` | Budget Version Update | -| `BULK_UPDATE_CONTACT_FIELD_ANSWER` | Bulk Update Contact Field Answer | -| `CONCUR_RECONCILIATION_CREATE_NEW_BUDGET_ITEM_FOR_EACH_EXPENSE` | Concur Reconciliation - Create New Budget Item For Each Expense | -| `CONCUR_RECONCILIATION_MAP_TO_EXISTING_BUDGET_ITEM` | Concur Reconciliation - Map to Existing Budget Item | -| `CONFIRM_OPT_IN_EMAIL` | Confirm Opt In Email | -| `CONTACT_IMPORT` | Contact Import | -| `CONTACT_NEW_MEMBERSHIP` | Contact New Membership | -| `CONTACT_PENDING_OBFUSCATION` | Contact Pending Obfuscation | -| `CONTACT_WEBSITE_PROFILE_UPDATE` | Contact Website Profile Update | -| `CREATED_WITHIN_MEETING_REQUEST` | Created Within Meeting Request | -| `CREATED_FROM_API` | Created from API | -| `CREATED_FROM_REQUEST_WEBSITE` | Created from Request Website | -| `CROWD_COMPASS_PROFILE_UPDATE` | Crowd Compass Profile Update | -| `CUSTOM_FIELD_ADDED_FROM_ADMIN` | Custom Field Added From Admin | -| `CUSTOM_FIELD_ADDED_VIA_RESTAPI` | Custom Field Added via REST API | -| `CUSTOM_FIELD_DELETED_FROM_ADMIN` | Custom Field Deleted From Admin | -| `CUSTOM_FIELD_MODIFIED_FROM_ADMIN` | Custom Field Modified From Admin | -| `CUSTOM_FIELD_MODIFIED_VIA_RESTAPI` | Custom Field Modified via REST API | -| `DELETED_WITHIN_ADMINISTRATION` | Deleted Within Administration | -| `DELETED_FROM_MEETING_REQUEST_FORM` | Deleted from Meeting Request Form | -| `DELETED_FROM_REQUEST_WEBSITE` | Deleted from Request Website | -| `DELETED_WITHIN_MEETING_REQUEST` | Deleted within Meeting Request | -| `EVENT_AUTOMATICALLY_CREATED_FROM_MEETING_REQUEST` | Event Automatically Created from Meeting Request | -| `EVENT_CREATED_FROM_API` | Event Created from API | -| `EVENT_CREATED_FROM_EVENT_WIZARD` | Event Created from Event Wizard | -| `EVENT_GUEST_SIDE_MODIFICATION` | Event Guest Side Modification | -| `EVENT_GUEST_SIDE_REGISTRATION` | Event Guest Side Registration | -| `EVENT_IMPORT` | Event Import | -| `EVENT_MODIFIED_FROM_MEETING_REQUEST_VIA_API` | Event Modified from Meeting Request via API | -| `EVENT_MODIFIED_FROM_MEETING_REQUEST` | Event Modified from Meeting Request | -| `EVENT_ONSITE_REGISTRATION` | Event Onsite Registration | -| `EVENT_POST` | Event POST | -| `EVENT_PLANNER_CONTACT_INFORMATION_UPDATE` | Event Planner Contact Information Update | -| `EVENT_PLANNER_SIDE_MODIFICATION` | Event Planner Side Modification | -| `EVENT_PLANNER_SIDE_REGISTRATION` | Event Planner Side Registration | -| `HOTEL_REQUEST_IMPORT` | Hotel Request Import | -| `MARKETO_CONTACT_IMPORT` | Marketo Contact Import | -| `MODIFIED_WITHIN_EVENT` | Modified Within Event | -| `MODIFIED_WITHIN_MEETING_REQUEST` | Modified Within Meeting Request | -| `MODIFIED_FROM_API` | Modified from API | -| `MODIFIED_FROM_EVENT_DOCUMENTS` | Modified from Event Documents | -| `MODIFIED_FROM_MEETING_REQUEST_VIA_NOTIFICATION` | Modified from Meeting Request via Notification | -| `MODIFIED_FROM_REQUEST_WEBSITE` | Modified from Request Website | -| `REGISTRATION_IMPORT` | Registration Import | -| `REST_API` | REST API | -| `SALESFORCE_INTEGRATION` | Salesforce Integration | -| `SURVEY_AUTHOR_MODIFICATION` | Survey Author Modification | -| `SURVEY_AUTHOR_RESPONSE` | Survey Author Response | -| `SURVEY_GUEST_SIDE_MODIFICATION` | Survey Guest Side Modification | -| `SURVEY_GUEST_SIDE_RESPONSE` | Survey Guest Side Response | -| `SURVEY_POST` | Survey POST | -| `TRAVEL_COST_IMPORT_MAP_TO_EXISTING_BUDGET_ITEM` | Travel Cost Import - Map to Existing Budget item | -| `TRAVEL_COST_IMPORT_MAP_TO_NEW_BUDGET_ITEM` | Travel Cost Import - Map to New Budget Item | -| `VCN_TRANSACTION_CREATE_NEW_BUDGET_ITEM_FOR_EACH_TRANSACTION` | VCN Transaction - Create New Budget Item For Each Transaction | -| `VCN_TRANSACTION_MAP_TO_MULTIPLE_BUDGET_ITEM` | VCN Transaction - Map to Multiple Budget Item | -| `VCN_TRANSACTION_MAP_TO_SINGLE_BUDGET_ITEM` | VCN Transaction - Map to Single Budget Item | -| `VCN_TRANSACTION_REMOVED_FROM_BUDGET_ITEM` | VCN Transaction - Removed from Budget Item | -| `WEB_SERVICES` | Web Services | -| `E_MARKETING_PROFILE_UPDATE` | eMarketing Profile Update | \ No newline at end of file diff --git a/packages/java/docs/models/components/User.md b/packages/java/docs/models/components/User.md index 2412e46a2..a8726f313 100644 --- a/packages/java/docs/models/components/User.md +++ b/packages/java/docs/models/components/User.md @@ -15,7 +15,7 @@ Generic sample User. Not a real model used by any Cvent service. | `emails` | List\<[EmailJson1](../../models/components/EmailJson1.md)> | :heavy_check_mark: | The email of the user. The Cvent user can have only one email address.
If multiple email addresses are provided, only one is accepted and rest are ignored. One email is selected based on the following sequence of criteria: primary email, then work type, and finally first in the sequence. | | | `title` | *Optional\* | :heavy_minus_sign: | The title of the user. | Vice President | | `phoneNumbers` | List\<[PhoneNumberJson1](../../models/components/PhoneNumberJson1.md)> | :heavy_minus_sign: | The phone numbers of the user.
If more than one number per type is provided, only one is accepted and rest are ignored. | | -| `addresses` | List\<[AddressJson4](../../models/components/AddressJson4.md)> | :heavy_minus_sign: | The address of the user. The user can have only one address.
If multiple addresses are provided, only one is accepted and rest are ignored. One address is selected based on the following sequence of criteria: primary, work type, first in the sequence | | +| `addresses` | List\<[AddressJson2](../../models/components/AddressJson2.md)> | :heavy_minus_sign: | The address of the user. The user can have only one address.
If multiple addresses are provided, only one is accepted and rest are ignored. One address is selected based on the following sequence of criteria: primary, work type, first in the sequence | | | `userType` | [UserTypeJson](../../models/components/UserTypeJson.md) | :heavy_check_mark: | The type of the user. | Planner Account User | | `timezone` | *Optional\* | :heavy_minus_sign: | List of Timezones supported. | America/New_York | | `locale` | *String* | :heavy_check_mark: | The locale of the user. The IETF Language Tag format is used. | en-US | diff --git a/packages/java/docs/models/components/UserInput.md b/packages/java/docs/models/components/UserInput.md index 3e338f453..3c52ada99 100644 --- a/packages/java/docs/models/components/UserInput.md +++ b/packages/java/docs/models/components/UserInput.md @@ -13,7 +13,7 @@ Generic sample User. Not a real model used by any Cvent service. | `emails` | List\<[EmailJson1](../../models/components/EmailJson1.md)> | :heavy_check_mark: | The email of the user. The Cvent user can have only one email address.
If multiple email addresses are provided, only one is accepted and rest are ignored. One email is selected based on the following sequence of criteria: primary email, then work type, and finally first in the sequence. | | | `title` | *Optional\* | :heavy_minus_sign: | The title of the user. | Vice President | | `phoneNumbers` | List\<[PhoneNumberJson1](../../models/components/PhoneNumberJson1.md)> | :heavy_minus_sign: | The phone numbers of the user.
If more than one number per type is provided, only one is accepted and rest are ignored. | | -| `addresses` | List\<[AddressJson4](../../models/components/AddressJson4.md)> | :heavy_minus_sign: | The address of the user. The user can have only one address.
If multiple addresses are provided, only one is accepted and rest are ignored. One address is selected based on the following sequence of criteria: primary, work type, first in the sequence | | +| `addresses` | List\<[AddressJson2](../../models/components/AddressJson2.md)> | :heavy_minus_sign: | The address of the user. The user can have only one address.
If multiple addresses are provided, only one is accepted and rest are ignored. One address is selected based on the following sequence of criteria: primary, work type, first in the sequence | | | `userType` | [UserTypeJson](../../models/components/UserTypeJson.md) | :heavy_check_mark: | The type of the user. | Planner Account User | | `timezone` | *Optional\* | :heavy_minus_sign: | List of Timezones supported. | America/New_York | | `locale` | *String* | :heavy_check_mark: | The locale of the user. The IETF Language Tag format is used. | en-US | diff --git a/packages/java/docs/models/components/UserJson.md b/packages/java/docs/models/components/UserJson.md index ab29f2eae..1fbc89a1d 100644 --- a/packages/java/docs/models/components/UserJson.md +++ b/packages/java/docs/models/components/UserJson.md @@ -15,7 +15,7 @@ Generic sample User. Not a real model used by any Cvent service. | `emails` | List\<[EmailJson1](../../models/components/EmailJson1.md)> | :heavy_check_mark: | The email of the user. The Cvent user can have only one email address.
If multiple email addresses are provided, only one is accepted and rest are ignored. One email is selected based on the following sequence of criteria: primary email, then work type, and finally first in the sequence. | | | `title` | *Optional\* | :heavy_minus_sign: | The title of the user. | Vice President | | `phoneNumbers` | List\<[PhoneNumberJson1](../../models/components/PhoneNumberJson1.md)> | :heavy_minus_sign: | The phone numbers of the user.
If more than one number per type is provided, only one is accepted and rest are ignored. | | -| `addresses` | List\<[AddressJson4](../../models/components/AddressJson4.md)> | :heavy_minus_sign: | The address of the user. The user can have only one address.
If multiple addresses are provided, only one is accepted and rest are ignored. One address is selected based on the following sequence of criteria: primary, work type, first in the sequence | | +| `addresses` | List\<[AddressJson2](../../models/components/AddressJson2.md)> | :heavy_minus_sign: | The address of the user. The user can have only one address.
If multiple addresses are provided, only one is accepted and rest are ignored. One address is selected based on the following sequence of criteria: primary, work type, first in the sequence | | | `userType` | [UserTypeJson](../../models/components/UserTypeJson.md) | :heavy_check_mark: | The type of the user. | Planner Account User | | `timezone` | *Optional\* | :heavy_minus_sign: | List of Timezones supported. | America/New_York | | `locale` | *String* | :heavy_check_mark: | The locale of the user. The IETF Language Tag format is used. | en-US | diff --git a/packages/java/docs/models/components/VenueSummary.md b/packages/java/docs/models/components/VenueSummary.md index c656e147d..42e235b65 100644 --- a/packages/java/docs/models/components/VenueSummary.md +++ b/packages/java/docs/models/components/VenueSummary.md @@ -7,6 +7,6 @@ Represents a summary of venue information associated with current proposal. | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `type` | [Optional\](../../models/components/SupplierTypeJson1.md) | :heavy_minus_sign: | The supplier's type. VENUE: A hotel, convention and visitors bureau (CVB), or other location for an event. | | +| `type` | [Optional\](../../models/components/SupplierTypeJson.md) | :heavy_minus_sign: | The supplier's type. VENUE: A hotel, convention and visitors bureau (CVB), or other location for an event. | | | `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the venue. | bedc1f8e-f68b-40cf-b901-487e407f637a | | `name` | *Optional\* | :heavy_minus_sign: | The name of the venue. | Hotel Grand San Francisco. | \ No newline at end of file diff --git a/packages/java/docs/models/components/Video1.md b/packages/java/docs/models/components/Video1.md new file mode 100644 index 000000000..54676a163 --- /dev/null +++ b/packages/java/docs/models/components/Video1.md @@ -0,0 +1,10 @@ +# Video1 + +The details of a video + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the video. | 456e4567-e89b-12d3-a456-426614174000 | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoAssetID.md b/packages/java/docs/models/components/VideoAssetID.md new file mode 100644 index 000000000..0597d50df --- /dev/null +++ b/packages/java/docs/models/components/VideoAssetID.md @@ -0,0 +1,10 @@ +# VideoAssetID + +Video that this asset was created with. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *String* | :heavy_check_mark: | The identifier of a video. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoAssetIdJson.md b/packages/java/docs/models/components/VideoAssetIdJson.md deleted file mode 100644 index bbe7133a3..000000000 --- a/packages/java/docs/models/components/VideoAssetIdJson.md +++ /dev/null @@ -1,10 +0,0 @@ -# VideoAssetIdJson - -Video that this asset was created with. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *String* | :heavy_check_mark: | The identifier of a video. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoClip.md b/packages/java/docs/models/components/VideoClip.md new file mode 100644 index 000000000..1800c87bd --- /dev/null +++ b/packages/java/docs/models/components/VideoClip.md @@ -0,0 +1,11 @@ +# VideoClip + +Video clip details. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `start` | *Optional\* | :heavy_minus_sign: | The timecode to start the clip in HH:MM:SS:FF format | 00:01:01:00 | +| `end` | *Optional\* | :heavy_minus_sign: | The timecode to end the clip in HH:MM:SS:FF format. | 00:05:00:00 | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoClipJson.md b/packages/java/docs/models/components/VideoClipJson.md deleted file mode 100644 index acd570ec5..000000000 --- a/packages/java/docs/models/components/VideoClipJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# VideoClipJson - -Video clip details. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | -| `start` | *Optional\* | :heavy_minus_sign: | The timecode to start the clip in HH:MM:SS:FF format | 00:01:01:00 | -| `end` | *Optional\* | :heavy_minus_sign: | The timecode to end the clip in HH:MM:SS:FF format. | 00:05:00:00 | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoError.md b/packages/java/docs/models/components/VideoError.md new file mode 100644 index 000000000..6aff6f9ac --- /dev/null +++ b/packages/java/docs/models/components/VideoError.md @@ -0,0 +1,11 @@ +# VideoError + +This is used to denote the errors for a video entity. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `code` | [VideoErrorCode](../../models/components/VideoErrorCode.md) | :heavy_check_mark: | This is used to denote the error codes for a video entity. | 601 | +| `message` | *String* | :heavy_check_mark: | Error message for the video. Message is a developer convenience never to be used in any context that needs localisation, subject to change at any time. | Transcoding failed due to an unsupported video codec. | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoErrorCode.md b/packages/java/docs/models/components/VideoErrorCode.md new file mode 100644 index 000000000..c51df766f --- /dev/null +++ b/packages/java/docs/models/components/VideoErrorCode.md @@ -0,0 +1,26 @@ +# VideoErrorCode + +This is used to denote the error codes for a video entity. + +## Example Usage + +```java +import com.cvent.models.components.VideoErrorCode; + +VideoErrorCode value = VideoErrorCode.SIX_HUNDRED; +``` + + +## Values + +| Name | Value | +| ----------------------- | ----------------------- | +| `SIX_HUNDRED` | 600 | +| `SIX_HUNDRED_AND_ONE` | 601 | +| `SIX_HUNDRED_AND_TWO` | 602 | +| `SIX_HUNDRED_AND_THREE` | 603 | +| `SIX_HUNDRED_AND_FOUR` | 604 | +| `SIX_HUNDRED_AND_FIVE` | 605 | +| `SIX_HUNDRED_AND_SIX` | 606 | +| `SIX_HUNDRED_AND_SEVEN` | 607 | +| `SIX_HUNDRED_AND_EIGHT` | 608 | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoErrorCodeJson.md b/packages/java/docs/models/components/VideoErrorCodeJson.md deleted file mode 100644 index fd49ea64b..000000000 --- a/packages/java/docs/models/components/VideoErrorCodeJson.md +++ /dev/null @@ -1,26 +0,0 @@ -# VideoErrorCodeJson - -This is used to denote the error codes for a video entity. - -## Example Usage - -```java -import com.cvent.models.components.VideoErrorCodeJson; - -VideoErrorCodeJson value = VideoErrorCodeJson.SIX_HUNDRED; -``` - - -## Values - -| Name | Value | -| ----------------------- | ----------------------- | -| `SIX_HUNDRED` | 600 | -| `SIX_HUNDRED_AND_ONE` | 601 | -| `SIX_HUNDRED_AND_TWO` | 602 | -| `SIX_HUNDRED_AND_THREE` | 603 | -| `SIX_HUNDRED_AND_FOUR` | 604 | -| `SIX_HUNDRED_AND_FIVE` | 605 | -| `SIX_HUNDRED_AND_SIX` | 606 | -| `SIX_HUNDRED_AND_SEVEN` | 607 | -| `SIX_HUNDRED_AND_EIGHT` | 608 | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoErrorJson.md b/packages/java/docs/models/components/VideoErrorJson.md deleted file mode 100644 index 5d7e26399..000000000 --- a/packages/java/docs/models/components/VideoErrorJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# VideoErrorJson - -This is used to denote the errors for a video entity. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `code` | [VideoErrorCodeJson](../../models/components/VideoErrorCodeJson.md) | :heavy_check_mark: | This is used to denote the error codes for a video entity. | 601 | -| `message` | *String* | :heavy_check_mark: | Error message for the video. Message is a developer convenience never to be used in any context that needs localisation, subject to change at any time. | Transcoding failed due to an unsupported video codec. | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoJson.md b/packages/java/docs/models/components/VideoJson.md deleted file mode 100644 index 273c40e2a..000000000 --- a/packages/java/docs/models/components/VideoJson.md +++ /dev/null @@ -1,10 +0,0 @@ -# VideoJson - -The details of a video - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the video. | 456e4567-e89b-12d3-a456-426614174000 | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoRendition.md b/packages/java/docs/models/components/VideoRendition.md new file mode 100644 index 000000000..aba1afbf4 --- /dev/null +++ b/packages/java/docs/models/components/VideoRendition.md @@ -0,0 +1,18 @@ +# VideoRendition + +Video rendition + + +## 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 | +| `video` | [Optional\](../../models/components/VideoAssetID.md) | :heavy_minus_sign: | Video that this asset was created with. | | +| `type` | [Optional\](../../models/components/VideoRenditionType.md) | :heavy_minus_sign: | Denotes the type of rendition. | Hls | +| `location` | [Optional\](../../models/components/VideoRenditionLink.md) | :heavy_minus_sign: | Location where the rendition is stored. | | +| `width` | *Optional\* | :heavy_minus_sign: | The video's frame width in pixels. | 300 | +| `height` | *Optional\* | :heavy_minus_sign: | The video's frame height in pixels. | 400 | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoRenditionJson.md b/packages/java/docs/models/components/VideoRenditionJson.md deleted file mode 100644 index 60923eaf7..000000000 --- a/packages/java/docs/models/components/VideoRenditionJson.md +++ /dev/null @@ -1,18 +0,0 @@ -# VideoRenditionJson - -Video rendition - - -## 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 | -| `video` | [Optional\](../../models/components/VideoAssetIdJson.md) | :heavy_minus_sign: | Video that this asset was created with. | | -| `type` | [Optional\](../../models/components/VideoRenditionTypeJson.md) | :heavy_minus_sign: | Denotes the type of rendition. | Hls | -| `location` | [Optional\](../../models/components/VideoRenditionJsonLink.md) | :heavy_minus_sign: | Location where the rendition is stored. | | -| `width` | *Optional\* | :heavy_minus_sign: | The video's frame width in pixels. | 300 | -| `height` | *Optional\* | :heavy_minus_sign: | The video's frame height in pixels. | 400 | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoRenditionJsonLink.md b/packages/java/docs/models/components/VideoRenditionJsonLink.md deleted file mode 100644 index 042ead91d..000000000 --- a/packages/java/docs/models/components/VideoRenditionJsonLink.md +++ /dev/null @@ -1,10 +0,0 @@ -# VideoRenditionJsonLink - -Location where the rendition is stored. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | -| `href` | *String* | :heavy_check_mark: | A pre-signed URL with an expiration of 2 hours that provides the location. | https://example.com/M8/7f378243-2c62-49fa-82e9-90e5498d30c3?Policy=eyJTdGF0ZW1lbnUysx5cE4-KWfUQ__&Key-Pair-Id=K6XDZ8UJY4Q0X | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoRenditionLink.md b/packages/java/docs/models/components/VideoRenditionLink.md new file mode 100644 index 000000000..6be5e293d --- /dev/null +++ b/packages/java/docs/models/components/VideoRenditionLink.md @@ -0,0 +1,10 @@ +# VideoRenditionLink + +Location where the rendition is stored. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | +| `href` | *String* | :heavy_check_mark: | A pre-signed URL with an expiration of 2 hours that provides the location. | https://example.com/M8/7f378243-2c62-49fa-82e9-90e5498d30c3?Policy=eyJTdGF0ZW1lbnUysx5cE4-KWfUQ__&Key-Pair-Id=K6XDZ8UJY4Q0X | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoRenditionType.md b/packages/java/docs/models/components/VideoRenditionType.md new file mode 100644 index 000000000..f77df9aa7 --- /dev/null +++ b/packages/java/docs/models/components/VideoRenditionType.md @@ -0,0 +1,24 @@ +# VideoRenditionType + +Denotes the type of rendition. + +## Example Usage + +```java +import com.cvent.models.components.VideoRenditionType; + +VideoRenditionType value = VideoRenditionType.HLS; +``` + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `HLS` | Hls | +| `HLS_MASTER` | HlsMaster | +| `MP4` | Mp4 | +| `POSTER` | Poster | +| `MP4_PREVIEW` | Mp4Preview | +| `MP3` | Mp3 | +| `AUDIO` | Audio | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoRenditionTypeJson.md b/packages/java/docs/models/components/VideoRenditionTypeJson.md deleted file mode 100644 index cdb9a38f4..000000000 --- a/packages/java/docs/models/components/VideoRenditionTypeJson.md +++ /dev/null @@ -1,24 +0,0 @@ -# VideoRenditionTypeJson - -Denotes the type of rendition. - -## Example Usage - -```java -import com.cvent.models.components.VideoRenditionTypeJson; - -VideoRenditionTypeJson value = VideoRenditionTypeJson.HLS; -``` - - -## Values - -| Name | Value | -| ------------- | ------------- | -| `HLS` | Hls | -| `HLS_MASTER` | HlsMaster | -| `MP4` | Mp4 | -| `POSTER` | Poster | -| `MP4_PREVIEW` | Mp4Preview | -| `MP3` | Mp3 | -| `AUDIO` | Audio | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoRenditionsResponse.md b/packages/java/docs/models/components/VideoRenditionsResponse.md index c729f4933..aa9a08c9e 100644 --- a/packages/java/docs/models/components/VideoRenditionsResponse.md +++ b/packages/java/docs/models/components/VideoRenditionsResponse.md @@ -5,6 +5,6 @@ The response from a request to get the list of video renditions. ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `data` | List\<[VideoRenditionJson](../../models/components/VideoRenditionJson.md)> | :heavy_minus_sign: | Collection of video renditions. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `data` | List\<[VideoRendition](../../models/components/VideoRendition.md)> | :heavy_minus_sign: | Collection of video renditions. | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoSource.md b/packages/java/docs/models/components/VideoSource.md new file mode 100644 index 000000000..6bf1f8d09 --- /dev/null +++ b/packages/java/docs/models/components/VideoSource.md @@ -0,0 +1,11 @@ +# VideoSource + +Source of video. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | The id of a video in the external system | VD134567 | +| `status` | [Optional\](../../models/components/VideoSourceStatus.md) | :heavy_minus_sign: | Denotes the status of the video in the third-party system. | Active | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoSourceJson.md b/packages/java/docs/models/components/VideoSourceJson.md deleted file mode 100644 index c3ace1791..000000000 --- a/packages/java/docs/models/components/VideoSourceJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# VideoSourceJson - -Source of video. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `id` | *Optional\* | :heavy_minus_sign: | The id of a video in the external system | VD134567 | -| `status` | [Optional\](../../models/components/VideoSourceJsonStatus.md) | :heavy_minus_sign: | Denotes the status of the video in the third-party system. | Active | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoSourceJsonStatus.md b/packages/java/docs/models/components/VideoSourceJsonStatus.md deleted file mode 100644 index 027bdb376..000000000 --- a/packages/java/docs/models/components/VideoSourceJsonStatus.md +++ /dev/null @@ -1,21 +0,0 @@ -# VideoSourceJsonStatus - -Denotes the status of the video in the third-party system. - -## Example Usage - -```java -import com.cvent.models.components.VideoSourceJsonStatus; - -VideoSourceJsonStatus value = VideoSourceJsonStatus.ACTIVE; -``` - - -## Values - -| Name | Value | -| ---------- | ---------- | -| `ACTIVE` | Active | -| `INACTIVE` | Inactive | -| `PENDING` | Pending | -| `DELETED` | Deleted | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoSourceStatus.md b/packages/java/docs/models/components/VideoSourceStatus.md new file mode 100644 index 000000000..639148f81 --- /dev/null +++ b/packages/java/docs/models/components/VideoSourceStatus.md @@ -0,0 +1,21 @@ +# VideoSourceStatus + +Denotes the status of the video in the third-party system. + +## Example Usage + +```java +import com.cvent.models.components.VideoSourceStatus; + +VideoSourceStatus value = VideoSourceStatus.ACTIVE; +``` + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `ACTIVE` | Active | +| `INACTIVE` | Inactive | +| `PENDING` | Pending | +| `DELETED` | Deleted | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoStatus.md b/packages/java/docs/models/components/VideoStatus.md new file mode 100644 index 000000000..018544363 --- /dev/null +++ b/packages/java/docs/models/components/VideoStatus.md @@ -0,0 +1,27 @@ +# VideoStatus + +Denotes the status of a video. Started indicates the request to upload in the API was submitted, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the video. Available indicates the video is available for use. + +## Example Usage + +```java +import com.cvent.models.components.VideoStatus; + +VideoStatus value = VideoStatus.STARTED; +``` + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `STARTED` | Started | +| `UPLOADED` | Uploaded | +| `SCANNING` | Scanning | +| `SCANNED` | Scanned | +| `SYNCING` | Syncing | +| `REJECTED` | Rejected | +| `ERROR` | Error | +| `AVAILABLE` | Available | +| `UPCOMING` | Upcoming | +| `RE_SYNCING` | ReSyncing | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoStatusJson.md b/packages/java/docs/models/components/VideoStatusJson.md deleted file mode 100644 index ab87a633d..000000000 --- a/packages/java/docs/models/components/VideoStatusJson.md +++ /dev/null @@ -1,27 +0,0 @@ -# VideoStatusJson - -Denotes the status of a video. Started indicates the request to upload in the API was submitted, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the video. Available indicates the video is available for use. - -## Example Usage - -```java -import com.cvent.models.components.VideoStatusJson; - -VideoStatusJson value = VideoStatusJson.STARTED; -``` - - -## Values - -| Name | Value | -| ------------ | ------------ | -| `STARTED` | Started | -| `UPLOADED` | Uploaded | -| `SCANNING` | Scanning | -| `SCANNED` | Scanned | -| `SYNCING` | Syncing | -| `REJECTED` | Rejected | -| `ERROR` | Error | -| `AVAILABLE` | Available | -| `UPCOMING` | Upcoming | -| `RE_SYNCING` | ReSyncing | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoTextTrack.md b/packages/java/docs/models/components/VideoTextTrack.md index 176706318..a51dea4d0 100644 --- a/packages/java/docs/models/components/VideoTextTrack.md +++ b/packages/java/docs/models/components/VideoTextTrack.md @@ -7,11 +7,11 @@ Video text track | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `video` | [Optional\](../../models/components/VideoAssetIdJson.md) | :heavy_minus_sign: | Video that this asset was created with. | | +| `video` | [Optional\](../../models/components/VideoAssetID.md) | :heavy_minus_sign: | Video that this asset was created with. | | | `label` | *Optional\* | :heavy_minus_sign: | Name of the text track. | English | | `language` | *String* | :heavy_check_mark: | IETF language tag for the text track. | en-US | -| `kind` | [VideoTextTrackKindJson](../../models/components/VideoTextTrackKindJson.md) | :heavy_check_mark: | Denotes the kind of video text track. Only subtitles are supported. | subtitles | +| `kind` | [VideoTextTrackKind](../../models/components/VideoTextTrackKind.md) | :heavy_check_mark: | Denotes the kind of video text track. Only subtitles are supported. | subtitles | | `published` | *Optional\* | :heavy_minus_sign: | True means that this text track has been published for your client. | | | `default_` | *Optional\* | :heavy_minus_sign: | True indicates this is the default text track. Each kind of text track can have a separate default assigned. | | -| `status` | [Optional\](../../models/components/VideoTextTrackStatusJson.md) | :heavy_minus_sign: | Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. | Started | +| `status` | [Optional\](../../models/components/VideoTextTrackStatus.md) | :heavy_minus_sign: | Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. | Started | | `autoGenerated` | *Optional\* | :heavy_minus_sign: | True indicates this text track was generated via machine transcription of the audio. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoTextTrackKind.md b/packages/java/docs/models/components/VideoTextTrackKind.md new file mode 100644 index 000000000..b2b9008f5 --- /dev/null +++ b/packages/java/docs/models/components/VideoTextTrackKind.md @@ -0,0 +1,22 @@ +# VideoTextTrackKind + +Denotes the kind of video text track. Only subtitles are supported. + +## Example Usage + +```java +import com.cvent.models.components.VideoTextTrackKind; + +VideoTextTrackKind value = VideoTextTrackKind.SUBTITLES; +``` + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `SUBTITLES` | subtitles | +| `CAPTIONS` | captions | +| `DESCRIPTIONS` | descriptions | +| `CHAPTERS` | chapters | +| `METADATA` | metadata | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoTextTrackKindJson.md b/packages/java/docs/models/components/VideoTextTrackKindJson.md deleted file mode 100644 index 7898f9481..000000000 --- a/packages/java/docs/models/components/VideoTextTrackKindJson.md +++ /dev/null @@ -1,22 +0,0 @@ -# VideoTextTrackKindJson - -Denotes the kind of video text track. Only subtitles are supported. - -## Example Usage - -```java -import com.cvent.models.components.VideoTextTrackKindJson; - -VideoTextTrackKindJson value = VideoTextTrackKindJson.SUBTITLES; -``` - - -## Values - -| Name | Value | -| -------------- | -------------- | -| `SUBTITLES` | subtitles | -| `CAPTIONS` | captions | -| `DESCRIPTIONS` | descriptions | -| `CHAPTERS` | chapters | -| `METADATA` | metadata | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoTextTrackStatus.md b/packages/java/docs/models/components/VideoTextTrackStatus.md new file mode 100644 index 000000000..56476ace2 --- /dev/null +++ b/packages/java/docs/models/components/VideoTextTrackStatus.md @@ -0,0 +1,26 @@ +# VideoTextTrackStatus + +Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. + +## Example Usage + +```java +import com.cvent.models.components.VideoTextTrackStatus; + +VideoTextTrackStatus value = VideoTextTrackStatus.STARTED; +``` + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `STARTED` | Started | +| `UPLOADED` | Uploaded | +| `PROCESSING` | Processing | +| `AVAILABLE` | Available | +| `REJECTED` | Rejected | +| `UPDATING` | Updating | +| `TRANSLATING` | Translating | +| `TRANSCRIBING` | Transcribing | +| `ERROR` | Error | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoTextTrackStatusJson.md b/packages/java/docs/models/components/VideoTextTrackStatusJson.md deleted file mode 100644 index 1bcf2307c..000000000 --- a/packages/java/docs/models/components/VideoTextTrackStatusJson.md +++ /dev/null @@ -1,26 +0,0 @@ -# VideoTextTrackStatusJson - -Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. - -## Example Usage - -```java -import com.cvent.models.components.VideoTextTrackStatusJson; - -VideoTextTrackStatusJson value = VideoTextTrackStatusJson.STARTED; -``` - - -## Values - -| Name | Value | -| -------------- | -------------- | -| `STARTED` | Started | -| `UPLOADED` | Uploaded | -| `PROCESSING` | Processing | -| `AVAILABLE` | Available | -| `REJECTED` | Rejected | -| `UPDATING` | Updating | -| `TRANSLATING` | Translating | -| `TRANSCRIBING` | Transcribing | -| `ERROR` | Error | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoThumbnail.md b/packages/java/docs/models/components/VideoThumbnail.md new file mode 100644 index 000000000..f634f70ba --- /dev/null +++ b/packages/java/docs/models/components/VideoThumbnail.md @@ -0,0 +1,15 @@ +# VideoThumbnail + +Video thumbnail + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `url` | [Optional\](../../models/components/Link.md) | :heavy_minus_sign: | Represents a link to a related resource. | | +| `size` | *Optional\* | :heavy_minus_sign: | File size in bytes for the thumbnail | 4098675830 | +| `height` | *Optional\* | :heavy_minus_sign: | frame height in pixels | 400 | +| `width` | *Optional\* | :heavy_minus_sign: | frame width in pixels | 300 | +| `type` | [Optional\](../../models/components/ThumbnailType.md) | :heavy_minus_sign: | This is used to denote the file type of a thumbnail | png | +| `status` | [Optional\](../../models/components/ThumbnailStatus.md) | :heavy_minus_sign: | Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was completed. Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. | Started | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoThumbnailJson.md b/packages/java/docs/models/components/VideoThumbnailJson.md deleted file mode 100644 index f38d326ab..000000000 --- a/packages/java/docs/models/components/VideoThumbnailJson.md +++ /dev/null @@ -1,15 +0,0 @@ -# VideoThumbnailJson - -Video thumbnail - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `url` | [Optional\](../../models/components/OneAllOf.md) | :heavy_minus_sign: | Represents a link to a related resource. | | -| `size` | *Optional\* | :heavy_minus_sign: | File size in bytes for the thumbnail | 4098675830 | -| `height` | *Optional\* | :heavy_minus_sign: | frame height in pixels | 400 | -| `width` | *Optional\* | :heavy_minus_sign: | frame width in pixels | 300 | -| `type` | [Optional\](../../models/components/ThumbnailTypeJson.md) | :heavy_minus_sign: | This is used to denote the file type of a thumbnail | png | -| `status` | [Optional\](../../models/components/ThumbnailStatusJson.md) | :heavy_minus_sign: | Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was completed. Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. | Started | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoType.md b/packages/java/docs/models/components/VideoType.md new file mode 100644 index 000000000..38b0d0aa2 --- /dev/null +++ b/packages/java/docs/models/components/VideoType.md @@ -0,0 +1,28 @@ +# VideoType + +This is used to denote type of a video + +## Example Usage + +```java +import com.cvent.models.components.VideoType; + +VideoType value = VideoType.MPG2; +``` + + +## Values + +| Name | Value | +| ------ | ------ | +| `MPG2` | mpg2 | +| `MOV` | mov | +| `MP2` | mp2 | +| `MP4` | mp4 | +| `MPE` | mpe | +| `MPEG` | mpeg | +| `MPG` | mpg | +| `MPV` | mpv | +| `QT` | qt | +| `WEBM` | webm | +| `HLS` | hls | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoTypeJson.md b/packages/java/docs/models/components/VideoTypeJson.md deleted file mode 100644 index 945db761a..000000000 --- a/packages/java/docs/models/components/VideoTypeJson.md +++ /dev/null @@ -1,28 +0,0 @@ -# VideoTypeJson - -This is used to denote type of a video - -## Example Usage - -```java -import com.cvent.models.components.VideoTypeJson; - -VideoTypeJson value = VideoTypeJson.MPG2; -``` - - -## Values - -| Name | Value | -| ------ | ------ | -| `MPG2` | mpg2 | -| `MOV` | mov | -| `MP2` | mp2 | -| `MP4` | mp4 | -| `MPE` | mpe | -| `MPEG` | mpeg | -| `MPG` | mpg | -| `MPV` | mpv | -| `QT` | qt | -| `WEBM` | webm | -| `HLS` | hls | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoView.md b/packages/java/docs/models/components/VideoView.md new file mode 100644 index 000000000..448b6aab8 --- /dev/null +++ b/packages/java/docs/models/components/VideoView.md @@ -0,0 +1,17 @@ +# VideoView + +Details of a single video view + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `contact` | [Optional\](../../models/components/Contact2.md) | :heavy_minus_sign: | The contact details who watched a video | | +| `solution` | [Optional\](../../models/components/Solution.md) | :heavy_minus_sign: | The solution where the video exists. Attendee Hub and Events+ represent two different solutions where the video can be found. | EVENTS_PLUS | +| ~~`device`~~ | [Optional\](../../models/components/Device1.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The device details used to watched a video. This field has been deprecated. | | +| `video` | [Optional\](../../models/components/Video1.md) | :heavy_minus_sign: | The details of a video | | +| `type` | [Optional\](../../models/components/ViewType1.md) | :heavy_minus_sign: | The view type of the video. Videos can be viewed live or as a recording. | | +| `totalDuration` | *Optional\* | :heavy_minus_sign: | The total duration of the video (in milliseconds). | 233000 | +| `watchDuration` | *Optional\* | :heavy_minus_sign: | The total duration of the video watched by the viewer (in milliseconds). | 153600 | +| `watchPercentage` | *Optional\* | :heavy_minus_sign: | The percentage of the video watched by the viewer. | 52 | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoViewJson.md b/packages/java/docs/models/components/VideoViewJson.md deleted file mode 100644 index e08424b4b..000000000 --- a/packages/java/docs/models/components/VideoViewJson.md +++ /dev/null @@ -1,17 +0,0 @@ -# VideoViewJson - -Details of a single video view - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `contact` | [Optional\](../../models/components/ContactJson2.md) | :heavy_minus_sign: | The contact details who watched a video | | -| `solution` | [Optional\](../../models/components/SolutionJson.md) | :heavy_minus_sign: | The solution where the video exists. Attendee Hub and Events+ represent two different solutions where the video can be found. | EVENTS_PLUS | -| ~~`device`~~ | [Optional\](../../models/components/DeviceJson.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The device details used to watched a video. This field has been deprecated. | | -| `video` | [Optional\](../../models/components/VideoJson.md) | :heavy_minus_sign: | The details of a video | | -| `type` | [Optional\](../../models/components/ViewTypeJson1.md) | :heavy_minus_sign: | The view type of the video. Videos can be viewed live or as a recording. | | -| `totalDuration` | *Optional\* | :heavy_minus_sign: | The total duration of the video (in milliseconds). | 233000 | -| `watchDuration` | *Optional\* | :heavy_minus_sign: | The total duration of the video watched by the viewer (in milliseconds). | 153600 | -| `watchPercentage` | *Optional\* | :heavy_minus_sign: | The percentage of the video watched by the viewer. | 52 | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoViewsPaginatedResponse.md b/packages/java/docs/models/components/VideoViewsPaginatedResponse.md index 2962ed421..73c633e22 100644 --- a/packages/java/docs/models/components/VideoViewsPaginatedResponse.md +++ b/packages/java/docs/models/components/VideoViewsPaginatedResponse.md @@ -7,5 +7,5 @@ Paginated list of video views. | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `paging` | [Optional\](../../models/components/PagingJson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `data` | List\<[VideoViewJson](../../models/components/VideoViewJson.md)> | :heavy_minus_sign: | List of unique video views. | \ No newline at end of file +| `paging` | [Optional\](../../models/components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `data` | List\<[VideoView](../../models/components/VideoView.md)> | :heavy_minus_sign: | List of unique video views. | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoWarning.md b/packages/java/docs/models/components/VideoWarning.md new file mode 100644 index 000000000..665c09771 --- /dev/null +++ b/packages/java/docs/models/components/VideoWarning.md @@ -0,0 +1,11 @@ +# VideoWarning + +This is used to denote the warnings for a video entity. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `code` | [VideoWarningCode](../../models/components/VideoWarningCode.md) | :heavy_check_mark: | This is used to denote the warning codes for a video entity. | 700 | +| `message` | *String* | :heavy_check_mark: | Warning message for the video. Message is a developer convenience never to be used in any context that needs localisation, subject to change at any time. | Video with ID: 5779387f-3f50-4685-8641-b25a2909845f has a bitrate of 586 kbps, which is lower than the minimum allowed bitrate of 3500 kbps. | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoWarningCode.md b/packages/java/docs/models/components/VideoWarningCode.md new file mode 100644 index 000000000..6f40d66f5 --- /dev/null +++ b/packages/java/docs/models/components/VideoWarningCode.md @@ -0,0 +1,18 @@ +# VideoWarningCode + +This is used to denote the warning codes for a video entity. + +## Example Usage + +```java +import com.cvent.models.components.VideoWarningCode; + +VideoWarningCode value = VideoWarningCode.SEVEN_HUNDRED; +``` + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `SEVEN_HUNDRED` | 700 | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoWarningCodeJson.md b/packages/java/docs/models/components/VideoWarningCodeJson.md deleted file mode 100644 index 57559157d..000000000 --- a/packages/java/docs/models/components/VideoWarningCodeJson.md +++ /dev/null @@ -1,18 +0,0 @@ -# VideoWarningCodeJson - -This is used to denote the warning codes for a video entity. - -## Example Usage - -```java -import com.cvent.models.components.VideoWarningCodeJson; - -VideoWarningCodeJson value = VideoWarningCodeJson.SEVEN_HUNDRED; -``` - - -## Values - -| Name | Value | -| --------------- | --------------- | -| `SEVEN_HUNDRED` | 700 | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideoWarningJson.md b/packages/java/docs/models/components/VideoWarningJson.md deleted file mode 100644 index 0ea8474f0..000000000 --- a/packages/java/docs/models/components/VideoWarningJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# VideoWarningJson - -This is used to denote the warnings for a video entity. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `code` | [VideoWarningCodeJson](../../models/components/VideoWarningCodeJson.md) | :heavy_check_mark: | This is used to denote the warning codes for a video entity. | 700 | -| `message` | *String* | :heavy_check_mark: | Warning message for the video. Message is a developer convenience never to be used in any context that needs localisation, subject to change at any time. | Video with ID: 5779387f-3f50-4685-8641-b25a2909845f has a bitrate of 586 kbps, which is lower than the minimum allowed bitrate of 3500 kbps. | \ No newline at end of file diff --git a/packages/java/docs/models/components/VideosPaginatedResponse.md b/packages/java/docs/models/components/VideosPaginatedResponse.md index 348d5be2c..5da47ebcf 100644 --- a/packages/java/docs/models/components/VideosPaginatedResponse.md +++ b/packages/java/docs/models/components/VideosPaginatedResponse.md @@ -7,5 +7,5 @@ The response from a request to get the list of videos. This includes the paging | Field | Type | Required | Description | | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `paging` | [PagingJson](../../models/components/PagingJson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `paging` | [Paging](../../models/components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | | `data` | List\<[ExistingVideoResponse](../../models/components/ExistingVideoResponse.md)> | :heavy_check_mark: | Collection of videos. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ViewType1.md b/packages/java/docs/models/components/ViewType1.md new file mode 100644 index 000000000..64ee66671 --- /dev/null +++ b/packages/java/docs/models/components/ViewType1.md @@ -0,0 +1,19 @@ +# ViewType1 + +The view type of the video. Videos can be viewed live or as a recording. + +## Example Usage + +```java +import com.cvent.models.components.ViewType1; + +ViewType1 value = ViewType1.LIVE; +``` + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `LIVE` | LIVE | +| `RECORDING` | RECORDING | \ No newline at end of file diff --git a/packages/java/docs/models/components/ViewTypeJson1.md b/packages/java/docs/models/components/ViewTypeJson1.md deleted file mode 100644 index df30a20d7..000000000 --- a/packages/java/docs/models/components/ViewTypeJson1.md +++ /dev/null @@ -1,19 +0,0 @@ -# ViewTypeJson1 - -The view type of the video. Videos can be viewed live or as a recording. - -## Example Usage - -```java -import com.cvent.models.components.ViewTypeJson1; - -ViewTypeJson1 value = ViewTypeJson1.LIVE; -``` - - -## Values - -| Name | Value | -| ----------- | ----------- | -| `LIVE` | LIVE | -| `RECORDING` | RECORDING | \ No newline at end of file diff --git a/packages/java/docs/models/components/Voucher.md b/packages/java/docs/models/components/Voucher.md new file mode 100644 index 000000000..f51a35905 --- /dev/null +++ b/packages/java/docs/models/components/Voucher.md @@ -0,0 +1,16 @@ +# Voucher + +Represents a voucher configured for an event. Event-level vouchers are special codes that can be assigned to invitees or attendees, enabling benefits such as free registration, discounted pricing, or other promotional entitlements during the registration process. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | Voucher ID. | 1800c9bd-b5f4-438a-a92c-ea1f59553a5c | +| `code` | *String* | :heavy_check_mark: | The unique planner-defined code that invitees enter during registration to redeem the voucher. | VIP-100 | +| `description` | *Optional\* | :heavy_minus_sign: | A description of the voucher and its intended use. | VIP full-comp voucher for keynote attendees. | +| `alertEmailAddress` | *Optional\* | :heavy_minus_sign: | The email address that receives a notification whenever the voucher is redeemed. | planner@example.com | +| `capacity` | [Optional\](../../models/components/VoucherCapacity.md) | :heavy_minus_sign: | Represents the capacity details for a voucher, including the total allowed redemptions and the number already redeemed. | | +| `lastModifiedBy` | *Optional\* | :heavy_minus_sign: | The identity of the user or system that last modified the voucher. | planner@example.com | +| `lastModifiedDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 formatted date and time when the voucher was last modified, expressed in UTC. | 2026-04-08T02:05:12.000Z | \ No newline at end of file diff --git a/packages/java/docs/models/components/VoucherCapacity.md b/packages/java/docs/models/components/VoucherCapacity.md new file mode 100644 index 000000000..88962333b --- /dev/null +++ b/packages/java/docs/models/components/VoucherCapacity.md @@ -0,0 +1,11 @@ +# VoucherCapacity + +Represents the capacity details for a voucher, including the total allowed redemptions and the number already redeemed. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `total` | *long* | :heavy_check_mark: | The maximum number of times the voucher can be redeemed. Default value of -1 indicates unlimited capacity. | 100 | +| `redeemedCount` | *long* | :heavy_check_mark: | The number of times the voucher has already been redeemed. | 42 | \ No newline at end of file diff --git a/packages/java/docs/models/components/VouchersPaginatedResponse.md b/packages/java/docs/models/components/VouchersPaginatedResponse.md new file mode 100644 index 000000000..7299283fe --- /dev/null +++ b/packages/java/docs/models/components/VouchersPaginatedResponse.md @@ -0,0 +1,11 @@ +# VouchersPaginatedResponse + +A paginated response of vouchers. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `paging` | [Paging](../../models/components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `data` | List\<[Voucher](../../models/components/Voucher.md)> | :heavy_check_mark: | Collection of vouchers. | \ No newline at end of file diff --git a/packages/java/docs/models/components/Weblink.md b/packages/java/docs/models/components/Weblink.md index 4ec09bc4d..551ecdd60 100644 --- a/packages/java/docs/models/components/Weblink.md +++ b/packages/java/docs/models/components/Weblink.md @@ -7,7 +7,7 @@ Content of exhibitor weblink. | Field | Type | Required | Description | Example | | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | -| `event` | [Event21](../../models/components/Event21.md) | :heavy_check_mark: | The Associated Event. | | +| `event` | [Event3](../../models/components/Event3.md) | :heavy_check_mark: | The Associated Event. | | | `exhibitor` | [Exhibitor](../../models/components/Exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | | `name` | *String* | :heavy_check_mark: | Display name of the weblink. | Marketing Page | | `url` | *String* | :heavy_check_mark: | The URL of the weblink. | http://www.example.com | diff --git a/packages/java/docs/models/components/WeddingDetails1.md b/packages/java/docs/models/components/WeddingDetails1.md new file mode 100644 index 000000000..db41607fb --- /dev/null +++ b/packages/java/docs/models/components/WeddingDetails1.md @@ -0,0 +1,15 @@ +# WeddingDetails1 + +Wedding details. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `firstPartner` | [Optional\](../../models/components/WeddingPartner.md) | :heavy_minus_sign: | Represents wedding partner. | +| `secondPartner` | [Optional\](../../models/components/WeddingPartner.md) | :heavy_minus_sign: | Represents wedding partner. | +| `ceremony` | *Optional\* | :heavy_minus_sign: | True indicates ceremony is planned. | +| `reception` | *Optional\* | :heavy_minus_sign: | True indicates reception is planned. | +| `farewellBrunch` | *Optional\* | :heavy_minus_sign: | True indicates farewell brunch is planned. | +| `rehearsalDinner` | *Optional\* | :heavy_minus_sign: | True indicates rehearsal dinner is planned. | \ No newline at end of file diff --git a/packages/java/docs/models/components/WeddingDetailsJson0.md b/packages/java/docs/models/components/WeddingDetailsJson0.md deleted file mode 100644 index a52a55168..000000000 --- a/packages/java/docs/models/components/WeddingDetailsJson0.md +++ /dev/null @@ -1,15 +0,0 @@ -# WeddingDetailsJson0 - -Wedding details. - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `firstPartner` | [Optional\](../../models/components/WeddingPartnerJson.md) | :heavy_minus_sign: | Represents wedding partner. | -| `secondPartner` | [Optional\](../../models/components/WeddingPartnerJson.md) | :heavy_minus_sign: | Represents wedding partner. | -| `ceremony` | *Optional\* | :heavy_minus_sign: | True indicates ceremony is planned. | -| `reception` | *Optional\* | :heavy_minus_sign: | True indicates reception is planned. | -| `farewellBrunch` | *Optional\* | :heavy_minus_sign: | True indicates farewell brunch is planned. | -| `rehearsalDinner` | *Optional\* | :heavy_minus_sign: | True indicates rehearsal dinner is planned. | \ No newline at end of file diff --git a/packages/java/docs/models/components/WeddingPartner.md b/packages/java/docs/models/components/WeddingPartner.md new file mode 100644 index 000000000..6e3b7dcfe --- /dev/null +++ b/packages/java/docs/models/components/WeddingPartner.md @@ -0,0 +1,11 @@ +# WeddingPartner + +Represents wedding partner. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `type` | [Optional\](../../models/components/BrideGroomType.md) | :heavy_minus_sign: | BrideGroomType | | +| `name` | *Optional\* | :heavy_minus_sign: | Name of the partner of the wedding couple. | John Doe | \ No newline at end of file diff --git a/packages/java/docs/models/components/WeddingPartnerJson.md b/packages/java/docs/models/components/WeddingPartnerJson.md deleted file mode 100644 index 2c5704664..000000000 --- a/packages/java/docs/models/components/WeddingPartnerJson.md +++ /dev/null @@ -1,11 +0,0 @@ -# WeddingPartnerJson - -Represents wedding partner. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `type` | [Optional\](../../models/components/BrideGroomTypeJson0.md) | :heavy_minus_sign: | Bride groom type. | | -| `name` | *Optional\* | :heavy_minus_sign: | Name of the partner of the wedding couple. | John Doe | \ No newline at end of file diff --git a/packages/java/docs/models/components/ZeroAllOf7.md b/packages/java/docs/models/components/ZeroAllOf7.md index c3d74bd76..2433141ef 100644 --- a/packages/java/docs/models/components/ZeroAllOf7.md +++ b/packages/java/docs/models/components/ZeroAllOf7.md @@ -1,55 +1,13 @@ # ZeroAllOf7 -Represents a contact that has been created and has an id. +Represents an error response for the checkin APIs that includes a unique id. ## 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` | *Optional\* | :heavy_minus_sign: | The first name of the contact. | Henry | -| `lastName` | *Optional\* | :heavy_minus_sign: | The last name of the contact. | Potterfield | -| `middleName` | *Optional\* | :heavy_minus_sign: | The middle name of the contact. | A | -| `nickname` | *Optional\* | :heavy_minus_sign: | The nickname of the contact. | Harry | -| `email` | *Optional\* | :heavy_minus_sign: | The email address of the contact. | h.potterfield@test.com | -| `ccEmail` | *Optional\* | :heavy_minus_sign: | An alternate email address of the contact that can be cc'd on email communications. | h.porter@tesing.com | -| `gender` | [Optional\](../../models/components/GenderJson.md) | :heavy_minus_sign: | The gender of the contact. | Male | -| `company` | *Optional\* | :heavy_minus_sign: | The company/organization the contact belongs to. | Cvent Inc. | -| `designation` | *Optional\* | :heavy_minus_sign: | The designation of the contact, typically an award or credential. | CPA | -| `title` | *Optional\* | :heavy_minus_sign: | The job title of the contact. | Event Planner | -| `type` | [Optional\](../../models/components/AttendeeContactTypeJson.md) | :heavy_minus_sign: | Contains details related to the attendee's contact type. | | -| `membership` | [Optional\](../../models/components/MembershipJson.md) | :heavy_minus_sign: | Contact Membership information | | -| `primaryAddressType` | [Optional\](../../models/components/AddressTypeJson.md) | :heavy_minus_sign: | The type of address. | Home | -| `homeAddress` | [Optional\](../../models/components/AddressJson.md) | :heavy_minus_sign: | Contact address details. | | -| `homePhone` | *Optional\* | :heavy_minus_sign: | The phone number of the contact at their place of residence. | 555-555-5555 | -| `homeFax` | *Optional\* | :heavy_minus_sign: | The fax number of the contact at their place of residence. | 555-555-5555 | -| `workAddress` | [Optional\](../../models/components/AddressJson.md) | :heavy_minus_sign: | Contact address details. | | -| `workPhone` | *Optional\* | :heavy_minus_sign: | The phone number of the contact at their place of work. | 555-555-5555 | -| `workFax` | *Optional\* | :heavy_minus_sign: | The fax number of the contact at their place of work. | 555-555-5555 | -| `customFields` | List\<[CustomField](../../models/components/CustomField.md)> | :heavy_minus_sign: | Collection of custom fields. | | -| `sourceId` | *Optional\* | :heavy_minus_sign: | This is a ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. | system-a-00000000-0000-0000-0000-000000000000 | -| `mobilePhone` | *Optional\* | :heavy_minus_sign: | The contact's mobile phone number. | 555-555-5555 | -| `compliance` | List\<[ComplianceJson](../../models/components/ComplianceJson.md)> | :heavy_minus_sign: | Detail related to compliance with the contact's privacy rights under various legislation. | | -| `prefix` | *Optional\* | :heavy_minus_sign: | Denotes what is traditionally a title of an individual. | Mr. | -| `pager` | *Optional\* | :heavy_minus_sign: | The pager number of the contact. | 555-555-5555 | -| `deleted` | *Optional\* | :heavy_minus_sign: | True indicates a contact is deleted. Deleted contacts still have their data retained, but the contact is inactive. | false | -| `purged` | *Optional\* | :heavy_minus_sign: | True indicates a contact is purged. Purged contacts have only partial data retained, and will be permanently deleted in 30 days. | false | -| `optOut` | [Optional\](../../models/components/OptOutJson.md) | :heavy_minus_sign: | Details of an opt-out for a Contact. | | -| `npi` | *Optional\* | :heavy_minus_sign: | Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. | 5555555555 | -| `links` | [Optional\](../../models/components/ContactLinksJson.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | -| `dateOfBirth` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The date of birth of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 1990-01-01 | -| ~~`passportNumber`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The passport number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use the passport.number field. | 123456789 | -| `passport` | [Optional\](../../models/components/PassportJson.md) | :heavy_minus_sign: | This entity represents a contact's passport information. | | -| `socialSecurityNumber` | *Optional\* | :heavy_minus_sign: | The social security number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123-45-6789 | -| `nationalIdentificationNumber` | *Optional\* | :heavy_minus_sign: | The national identification number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123456789 | -| `headline` | *Optional\* | :heavy_minus_sign: | The headline of the contact's profile, which summarizes their professional experience and qualities. | Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands | -| `personalWebsite` | *Optional\* | :heavy_minus_sign: | A contact's personal website URL. | https://www.example.com | -| `biography` | *Optional\* | :heavy_minus_sign: | A contact's biographical writeup. | I am a marketing professional with experience in event planning and brand strategy. | -| `pronouns` | *Optional\* | :heavy_minus_sign: | Represents the preferred pronouns of a contact. | he/him/she/her/they/them | -| `id` | *Optional\* | :heavy_minus_sign: | The ID of the contact. | | -| `parentId` | *Optional\* | :heavy_minus_sign: | ID of the parent contact, applicable with contact snapshot. | | -| `event` | [Optional\](../../models/components/EventAllOf.md) | :heavy_minus_sign: | Event ID | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier for the error response. | a96e7faa-b23e-49de-9040-c908473ba7ac | +| `code` | *long* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | +| `message` | *String* | :heavy_check_mark: | A brief description of the error. | Bad Request | +| `target` | *Optional\* | :heavy_minus_sign: | The target resource of the error. | example target | \ No newline at end of file diff --git a/packages/java/docs/models/components/ZeroAllOf8.md b/packages/java/docs/models/components/ZeroAllOf8.md index 87c4e67f6..1c6de59e6 100644 --- a/packages/java/docs/models/components/ZeroAllOf8.md +++ b/packages/java/docs/models/components/ZeroAllOf8.md @@ -1,13 +1,17 @@ # ZeroAllOf8 -Represents an error response for the checkin APIs that includes a unique id. +Information about housing event with key information, providing a summarized view. ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | The unique identifier for the error response. | a96e7faa-b23e-49de-9040-c908473ba7ac | -| `code` | *long* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | -| `message` | *String* | :heavy_check_mark: | A brief description of the error. | Bad Request | -| `target` | *Optional\* | :heavy_minus_sign: | The target resource of the error. | example target | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *long* | :heavy_check_mark: | The unique ID of the housing event. | 21738574 | +| `name` | *String* | :heavy_check_mark: | Event name. | Summit 2027 | +| `start` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder days. | 2027-01-13T05:00:00Z | +| `end` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. | 2027-01-15T05:00:00Z | +| `cutOff` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable business rules, like releasing reserved room blocks back to general availability. | 2026-10-13T04:00:00Z | +| `timeZone` | *String* | :heavy_check_mark: | The event timezone from the Olson specification. | America/New_York | +| `venue` | [VenueJson1](../../models/components/VenueJson1.md) | :heavy_check_mark: | Event venue details. | | +| `status` | [HousingEventStatusesJson](../../models/components/HousingEventStatusesJson.md) | :heavy_check_mark: | Housing event status. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/ZeroAllOf9.md b/packages/java/docs/models/components/ZeroAllOf9.md deleted file mode 100644 index 2367c84d4..000000000 --- a/packages/java/docs/models/components/ZeroAllOf9.md +++ /dev/null @@ -1,17 +0,0 @@ -# ZeroAllOf9 - -Information about housing event with key information, providing a summarized view. - - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *long* | :heavy_check_mark: | The unique ID of the housing event. | 21738574 | -| `name` | *String* | :heavy_check_mark: | Event name. | Summit 2027 | -| `start` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder days. | 2027-01-13T05:00:00Z | -| `end` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. | 2027-01-15T05:00:00Z | -| `cutOff` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable business rules, like releasing reserved room blocks back to general availability. | 2026-10-13T04:00:00Z | -| `timeZone` | *String* | :heavy_check_mark: | The event timezone from the Olson specification. | America/New_York | -| `venue` | [VenueJson1](../../models/components/VenueJson1.md) | :heavy_check_mark: | Event venue details. | | -| `status` | [HousingEventStatusesJson](../../models/components/HousingEventStatusesJson.md) | :heavy_check_mark: | Housing event status. | | \ No newline at end of file diff --git a/packages/java/docs/models/errors/ErrorResponse1.md b/packages/java/docs/models/errors/ErrorResponse1.md index 8c02c409b..51cc40e28 100644 --- a/packages/java/docs/models/errors/ErrorResponse1.md +++ b/packages/java/docs/models/errors/ErrorResponse1.md @@ -5,9 +5,9 @@ Represents an error response with additional details of cascading error messages ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `code` | *long* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | -| `message` | *String* | :heavy_check_mark: | A brief description of the error. | Bad Request | -| `target` | *Optional\* | :heavy_minus_sign: | The target resource of the error. | example target | -| `details` | List\<[ZeroAllOf1](../../models/components/ZeroAllOf1.md)> | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `code` | *long* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | +| `message` | *String* | :heavy_check_mark: | A brief description of the error. | Bad Request | +| `target` | *Optional\* | :heavy_minus_sign: | The target resource of the error. | example target | +| `details` | List\<[ErrorResponseBase](../../models/components/ErrorResponseBase.md)> | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file diff --git a/packages/java/docs/models/errors/ErrorResponse2.md b/packages/java/docs/models/errors/ErrorResponse2.md index 966c16d43..07414321b 100644 --- a/packages/java/docs/models/errors/ErrorResponse2.md +++ b/packages/java/docs/models/errors/ErrorResponse2.md @@ -5,9 +5,9 @@ Represents an error response with additional details of cascading error messages ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `code` | *long* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | -| `message` | *String* | :heavy_check_mark: | A brief description of the error. | Bad Request | -| `target` | *Optional\* | :heavy_minus_sign: | The target resource of the error. | example target | -| `details` | List\<[ErrorResponseBase](../../models/components/ErrorResponseBase.md)> | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `code` | *long* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | +| `message` | *String* | :heavy_check_mark: | A brief description of the error. | Bad Request | +| `target` | *Optional\* | :heavy_minus_sign: | The target resource of the error. | example target | +| `details` | List\<[ZeroAllOf1](../../models/components/ZeroAllOf1.md)> | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file diff --git a/packages/java/docs/models/errors/ErrorResponseJson12.md b/packages/java/docs/models/errors/ErrorResponseJson12.md new file mode 100644 index 000000000..fa62292e4 --- /dev/null +++ b/packages/java/docs/models/errors/ErrorResponseJson12.md @@ -0,0 +1,13 @@ +# ErrorResponseJson12 + +The error response. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `schemas` | List\<*String*> | :heavy_minus_sign: | The collection of error schemas. | | +| `status` | *long* | :heavy_check_mark: | Status code for error. | 400 | +| `detail` | *String* | :heavy_check_mark: | Details of the error. | Request is unparsable, syntactically incorrect, or violates schema. | +| `scimType` | [Optional\](../../models/components/ErrorScimTypeJson.md) | :heavy_minus_sign: | This is used to denote the scim type of the error. | invalidSyntax | \ No newline at end of file diff --git a/packages/java/docs/models/errors/ErrorResponseJson17.md b/packages/java/docs/models/errors/ErrorResponseJson17.md deleted file mode 100644 index b0dca8d92..000000000 --- a/packages/java/docs/models/errors/ErrorResponseJson17.md +++ /dev/null @@ -1,13 +0,0 @@ -# ErrorResponseJson17 - -The error response. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `schemas` | List\<*String*> | :heavy_minus_sign: | The collection of error schemas. | | -| `status` | *long* | :heavy_check_mark: | Status code for error. | 400 | -| `detail` | *String* | :heavy_check_mark: | Details of the error. | Request is unparsable, syntactically incorrect, or violates schema. | -| `scimType` | [Optional\](../../models/components/ErrorScimTypeJson.md) | :heavy_minus_sign: | This is used to denote the scim type of the error. | invalidSyntax | \ No newline at end of file diff --git a/packages/java/docs/models/operations/CreateContactsRequest.md b/packages/java/docs/models/operations/CreateContactsRequest.md index bcb5ca70c..13c008cb8 100644 --- a/packages/java/docs/models/operations/CreateContactsRequest.md +++ b/packages/java/docs/models/operations/CreateContactsRequest.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `upsert` | *Optional\* | :heavy_minus_sign: | This parameter determines whether the POST operation should be treated as an upsert. Upserts update existing contacts if they already exist, and otherwise create new contacts.

True indicates that this operation creates new contacts and updates existing contacts if they exist. False means that it only creates new contacts, and attempting to create an existing contact will result in the API returning an error.

Existing contacts are matched to the upsert request via the account's [match key](https://support.cvent.com/s/communityarticle/Allowing-Multiple-People-to-Use-the-Same-Email-Address). By default, the match key for contacts is their email. The match key can also be altered to match contacts based on a combination of their first name, last name, and email.
| true | -| `requestBody` | List\<[ContactCreateRequestJson](../../models/components/ContactCreateRequestJson.md)> | :heavy_check_mark: | List of contacts to be created. Up to **10 contacts** can be created per call. | | \ No newline at end of file +| `requestBody` | List\<[ContactCreate](../../models/components/ContactCreate.md)> | :heavy_check_mark: | List of contacts to be created. Up to **10 contacts** can be created per call. | | \ No newline at end of file diff --git a/packages/java/docs/models/operations/CreateContactsResponse.md b/packages/java/docs/models/operations/CreateContactsResponse.md index 521a0bab3..11d96b423 100644 --- a/packages/java/docs/models/operations/CreateContactsResponse.md +++ b/packages/java/docs/models/operations/CreateContactsResponse.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 | -| `contactBulkResponse` | List\<[ContactBulkItemJson](../../models/components/ContactBulkItemJson.md)> | :heavy_minus_sign: | Successfully created a list of contacts. | \ No newline at end of file +| `contactBulkResponse` | List\<[ContactBulkResponseItem](../../models/components/ContactBulkResponseItem.md)> | :heavy_minus_sign: | Successfully created a list of contacts. | \ No newline at end of file diff --git a/packages/java/docs/models/operations/GetAttendeeByIdResponse.md b/packages/java/docs/models/operations/GetAttendeeByIdResponse.md index af5e9c833..ce4db6b9e 100644 --- a/packages/java/docs/models/operations/GetAttendeeByIdResponse.md +++ b/packages/java/docs/models/operations/GetAttendeeByIdResponse.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 | -| `attendee` | [Optional\](../../models/components/Attendee1.md) | :heavy_minus_sign: | Successfully retrieved an attendee object. | \ No newline at end of file +| `attendee1` | [Optional\](../../models/components/Attendee11.md) | :heavy_minus_sign: | Successfully retrieved an attendee object. | \ No newline at end of file diff --git a/packages/java/docs/models/operations/GetAttendeeMessagesMembersRequest.md b/packages/java/docs/models/operations/GetAttendeeMessagesMembersRequest.md index 980de91b2..d87437ccc 100644 --- a/packages/java/docs/models/operations/GetAttendeeMessagesMembersRequest.md +++ b/packages/java/docs/models/operations/GetAttendeeMessagesMembersRequest.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `eventId` | *String* | :heavy_check_mark: | Unique ID of an event | eeeeb4b4-d132-4db4-aaa7-5ec58efd65c8 | -| `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 | -| `filter` | *String* | :heavy_check_mark: | Filters are used to narrow the results returned and support a 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:
- equals to: eq
- match any of the values in the list: in

The following operators can be used:
- or

The following fields are filterable:
* `channel.id` (eq/in)

Examples:
- Filter channel IDs:
* `filter=channel.id in ('production_group_0cb93bab-32d2-4f82-b430-e1911f2348ac', 'production_group_f6dfb98a-c734-487c-97e1-7c7a09a9125f')`
* `filter=channel.id eq 'production_attendee_616241fd-e97d-48c5-8c4b-4b926f50e8c3' or channel.id eq 'production_group_616241fd-e97d-48c5-8c4b-4b926f50e8c3'`
| | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `eventId` | *String* | :heavy_check_mark: | Unique ID of an event | eeeeb4b4-d132-4db4-aaa7-5ec58efd65c8 | +| `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 | +| `filter` | *String* | :heavy_check_mark: | Filters narrow results returned based on the criteria you supply.

Filters follow the pattern `filter='field' operator 'value'`.

The following comparison operators are supported:
- `eq`: equals to
- `in`: match any of the values in the list

The following fields are supported:

\| Field \| Operators \|
\|------------------\|------------------------------------\|
\| channel.id \| `eq`, `in` \|

The following logical operators are supported for combining filters:
- `or`

**Examples:**

Filter channel IDs:
* `filter=channel.id in ('production_group_0cb93bab-32d2-4f82-b430-e1911f2348ac', 'production_group_f6dfb98a-c734-487c-97e1-7c7a09a9125f')`
* `filter=channel.id eq 'production_attendee_616241fd-e97d-48c5-8c4b-4b926f50e8c3' or channel.id eq 'production_group_616241fd-e97d-48c5-8c4b-4b926f50e8c3'`
| | \ No newline at end of file diff --git a/packages/java/docs/models/operations/GetTravelProposalBidResponse.md b/packages/java/docs/models/operations/GetTravelProposalBidResponse.md index 7bfa4dac7..b3723e826 100644 --- a/packages/java/docs/models/operations/GetTravelProposalBidResponse.md +++ b/packages/java/docs/models/operations/GetTravelProposalBidResponse.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 | -| `travelProposalBid` | [Optional\](../../models/components/TravelProposalBid.md) | :heavy_minus_sign: | Successfully retrieved a travel proposal bid. | \ No newline at end of file +| `travelProposalBid` | [Optional\](../../models/components/TravelProposalBid2.md) | :heavy_minus_sign: | Successfully retrieved a travel proposal bid. | \ No newline at end of file diff --git a/packages/java/docs/models/operations/GetVideoViewsRequest.md b/packages/java/docs/models/operations/GetVideoViewsRequest.md index 589c93946..6a196b460 100644 --- a/packages/java/docs/models/operations/GetVideoViewsRequest.md +++ b/packages/java/docs/models/operations/GetVideoViewsRequest.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `after` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | -| `before` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | -| `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 | -| `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'.
The filter query supports maximum three fields in filter expression.

There is one comparison type that can be used in filter expressions:
* equal: eq

The following fields are filterable:
* contact.id (eq)
* solution (eq)
* device.type (eq) [deprecated]
* device.operatingSystem (eq) [deprecated]
* video.id (eq)
* type (eq)

The following operators are available:
* and
| contact.id eq '123e4567-e89b-12d3-a456-426614174000' and solution eq 'EVENTS_PLUS' | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `after` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | +| `before` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | +| `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 | +| `filter` | *Optional\* | :heavy_minus_sign: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \| Notes \|
\|------------------------\|-----------\|------------\|
\| contact.id \| `eq` \| \|
\| solution \| `eq` \| \|
\| device.type \| `eq` \| deprecated \|
\| device.operatingSystem \| `eq` \| deprecated \|
\| video.id \| `eq` \| \|
\| type \| `eq` \| \|

The filter query supports maximum three fields in a filter expression.

The following logical operators are supported for combining filters:
* and
| contact.id eq '123e4567-e89b-12d3-a456-426614174000' and solution eq 'EVENTS_PLUS' | \ No newline at end of file diff --git a/packages/java/docs/models/operations/ListDurationsRequest.md b/packages/java/docs/models/operations/ListDurationsRequest.md index 6fbf33e5b..9d00a5d18 100644 --- a/packages/java/docs/models/operations/ListDurationsRequest.md +++ b/packages/java/docs/models/operations/ListDurationsRequest.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `after` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | -| `before` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | -| `limit` | *Optional\* | :heavy_minus_sign: | The maximum number of attendance duration records returned per page. | | -| `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 | -| `sort` | *Optional\* | :heavy_minus_sign: | The sort order passed as a parameter, used to control the order of the
search results as a priority ordered list of sorts

There are two orders:
* ascending: ASC
* descending: DESC

The following fields are sortable:
* event
* session
* attendee
* type
* firstSeen
* duration
* lastModified - default
| start:DESC,title:ASC | -| `filter` | *Optional\* | :heavy_minus_sign: | A filter string passed in the body of the request, narrows search results and supports the combination of logical and comparison operators.
The filter adheres to the pattern filter='field' comparisonType 'value'.

There are eight comparison types that can be used in filter expressions:
* equal: eq
* not equal: ne
* greater than: gt
* greater or equal: ge
* less than: lt
* less than or equal: le
* starts with: sw
* contains a value: contains
* includes value(s): in

The following fields are filterable:
* id (eq\|ne)
* event.id (eq\|ne\|in)
* session.id (eq\|ne\|in)
* attendee.id (eq\|ne\|in)
* type (contains\|eq\|ne\|in)
* deleted (eq\|ne)
* firstSeen (eq\|ne\|lt\|le\|gt\|ge)
* lastSeen (eq\|ne\|lt\|le\|gt\|ge)
* duration (eq\|ne\|lt\|le\|gt\|ge)
* created (eq\|ne\|lt\|le\|gt\|ge)

The following operators are available:
* and
* or
| firstSeen gt '2020-02-07T12:00:00.000Z' and session.id = '0e2f583e-62ae-40d8-9b5c-b8e67a6ba1ab' | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `after` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | +| `before` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | +| `limit` | *Optional\* | :heavy_minus_sign: | The maximum number of attendance duration records returned per page. | | +| `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 | +| `sort` | *Optional\* | :heavy_minus_sign: | The sort order passed as a parameter, used to control the order of the
search results as a priority ordered list of sorts

There are two orders:
* ascending: ASC
* descending: DESC

The following fields are sortable:
* event
* session
* attendee
* type
* firstSeen
* duration
* lastModified - default
| start:DESC,title:ASC | +| `filter` | *Optional\* | :heavy_minus_sign: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \|
\|-------------\|------------------------------------\|
\| id \| `eq`, `ne` \|
\| event.id \| `eq`, `ne`, `in` \|
\| session.id \| `eq`, `ne`, `in` \|
\| attendee.id \| `eq`, `ne`, `in` \|
\| type \| `contains`, `eq`, `ne`, `in` \|
\| deleted \| `eq`, `ne` \|
\| firstSeen \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \|
\| lastSeen \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \|
\| duration \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \|
\| created \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \|

The following logical operators are supported for combining filters:
* and
* or
| firstSeen gt '2020-02-07T12:00:00.000Z' and session.id = '0e2f583e-62ae-40d8-9b5c-b8e67a6ba1ab' | \ No newline at end of file diff --git a/packages/java/docs/models/operations/ListEventVoucherAttendeesRequest.md b/packages/java/docs/models/operations/ListEventVoucherAttendeesRequest.md new file mode 100644 index 000000000..670461dae --- /dev/null +++ b/packages/java/docs/models/operations/ListEventVoucherAttendeesRequest.md @@ -0,0 +1,11 @@ +# ListEventVoucherAttendeesRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `id` | *String* | :heavy_check_mark: | Unique ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `voucherId` | *String* | :heavy_check_mark: | Unique ID of a voucher. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `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/ListEventVoucherAttendeesResponse.md b/packages/java/docs/models/operations/ListEventVoucherAttendeesResponse.md new file mode 100644 index 000000000..c2d29b9e1 --- /dev/null +++ b/packages/java/docs/models/operations/ListEventVoucherAttendeesResponse.md @@ -0,0 +1,11 @@ +# ListEventVoucherAttendeesResponse + + +## 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 | +| `attendeesPaginatedResponse` | [Optional\](../../models/components/AttendeesPaginatedResponse.md) | :heavy_minus_sign: | Successfully retrieved a paginated list of attendees for the voucher. | \ No newline at end of file diff --git a/packages/java/docs/models/operations/ListEventVouchersPostFilterRequest.md b/packages/java/docs/models/operations/ListEventVouchersPostFilterRequest.md new file mode 100644 index 000000000..6e30b17ea --- /dev/null +++ b/packages/java/docs/models/operations/ListEventVouchersPostFilterRequest.md @@ -0,0 +1,14 @@ +# ListEventVouchersPostFilterRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `id` | *String* | :heavy_check_mark: | Unique ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `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 | +| `before` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | +| `after` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | +| `sort` | *Optional\* | :heavy_minus_sign: | The sort order for the results, expressed as a priority-ordered list of field and direction pairs.

There are two sort directions:
* ascending: ASC
* descending: DESC

The following fields are sortable:
* code

When not provided, results are sorted by `code` ascending.
| code:ASC | +| `filter` | [Optional\](../../models/components/Filter.md) | :heavy_minus_sign: | See the `filter` parameter in [List Event Vouchers](#operation/listEventVouchers) for full filtering information.
| | \ No newline at end of file diff --git a/packages/java/docs/models/operations/ListEventVouchersPostFilterResponse.md b/packages/java/docs/models/operations/ListEventVouchersPostFilterResponse.md new file mode 100644 index 000000000..54667b572 --- /dev/null +++ b/packages/java/docs/models/operations/ListEventVouchersPostFilterResponse.md @@ -0,0 +1,11 @@ +# ListEventVouchersPostFilterResponse + + +## 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 | +| `vouchersPaginatedResponse` | [Optional\](../../models/components/VouchersPaginatedResponse.md) | :heavy_minus_sign: | Successfully retrieved a paginated list of vouchers. | \ No newline at end of file diff --git a/packages/java/docs/models/operations/ListEventVouchersRequest.md b/packages/java/docs/models/operations/ListEventVouchersRequest.md new file mode 100644 index 000000000..e6d428e95 --- /dev/null +++ b/packages/java/docs/models/operations/ListEventVouchersRequest.md @@ -0,0 +1,14 @@ +# ListEventVouchersRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *String* | :heavy_check_mark: | Unique ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `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 | +| `before` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | +| `after` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | +| `sort` | *Optional\* | :heavy_minus_sign: | The sort order for the results, expressed as a priority-ordered list of field and direction pairs.

There are two sort directions:
* ascending: ASC
* descending: DESC

The following fields are sortable:
* code

When not provided, results are sorted by `code` ascending.
| code:ASC | +| `filter` | *Optional\* | :heavy_minus_sign: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \|
\|-------\|-----------\|
\| id \| `in` \|

No logical operators are available.
| id in ('1800c9bd-b5f4-438a-a92c-ea1f59553a5c', '2900d8ce-c6f5-449b-b03d-fb2f60664b6d') | \ No newline at end of file diff --git a/packages/java/docs/models/operations/ListEventVouchersResponse.md b/packages/java/docs/models/operations/ListEventVouchersResponse.md new file mode 100644 index 000000000..f92ccf865 --- /dev/null +++ b/packages/java/docs/models/operations/ListEventVouchersResponse.md @@ -0,0 +1,11 @@ +# ListEventVouchersResponse + + +## 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 | +| `vouchersPaginatedResponse` | [Optional\](../../models/components/VouchersPaginatedResponse.md) | :heavy_minus_sign: | Successfully retrieved a paginated list of vouchers. | \ No newline at end of file diff --git a/packages/java/docs/models/operations/ListVideosRequest.md b/packages/java/docs/models/operations/ListVideosRequest.md index 765fe7ad6..169d87024 100644 --- a/packages/java/docs/models/operations/ListVideosRequest.md +++ b/packages/java/docs/models/operations/ListVideosRequest.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `after` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | -| `before` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | -| `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 | -| `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'.

There are six comparison types that can be used in filter expressions:
* equal: eq
* not equal: ne
* greater than: gt
* greater or equal: ge
* less than: lt
* less than or equal: le

The following fields are filterable:
* id (eq\|ne)
* events (eq\|ne)
* sessions (eq\|ne)
* exhibitors (eq\|ne)
* speakers (eq\|ne)
* source.id (eq\|ne)
* status (eq\|ne)
* tags (eq\|ne)
* recording.id (eq\|ne)

The following filterable fields have been deprecated, use the plural form above:
* event.id (eq\|ne)
| events eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' and source.id ne 'sampleWebcastSystemId' | -| `deleted` | *Optional\* | :heavy_minus_sign: | True means only videos marked as deleted will be queried. False means only non-deleted videos will be queried. | true | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `after` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | +| `before` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | +| `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 | +| `filter` | *Optional\* | :heavy_minus_sign: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \| Notes \|
\|--------------\|------------\|----------------------------------\|
\| id \| `eq`, `ne` \| \|
\| events \| `eq`, `ne` \| \|
\| sessions \| `eq`, `ne` \| \|
\| exhibitors \| `eq`, `ne` \| \|
\| speakers \| `eq`, `ne` \| \|
\| source.id \| `eq`, `ne` \| \|
\| status \| `eq`, `ne` \| \|
\| tags \| `eq`, `ne` \| \|
\| recording.id \| `eq`, `ne` \| \|
\| event.id \| `eq`, `ne` \| deprecated, use `events` instead \|

The following logical operators are supported for combining filters:
* and
* or
| events eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' and source.id ne 'sampleWebcastSystemId' | +| `deleted` | *Optional\* | :heavy_minus_sign: | True means only videos marked as deleted will be queried. False means only non-deleted videos will be queried. | true | \ No newline at end of file diff --git a/packages/java/docs/models/operations/PatchContactsResponse.md b/packages/java/docs/models/operations/PatchContactsResponse.md index 79de3fbc2..729178eb9 100644 --- a/packages/java/docs/models/operations/PatchContactsResponse.md +++ b/packages/java/docs/models/operations/PatchContactsResponse.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 | -| `contactBulkResponse` | List\<[ContactBulkItemJson](../../models/components/ContactBulkItemJson.md)> | :heavy_minus_sign: | Successfully updated a list of contacts. | \ No newline at end of file +| `contactBulkResponse` | List\<[ContactBulkResponseItem](../../models/components/ContactBulkResponseItem.md)> | :heavy_minus_sign: | Successfully updated a list of contacts. | \ No newline at end of file diff --git a/packages/java/docs/models/operations/UpdateAttendeeResponse.md b/packages/java/docs/models/operations/UpdateAttendeeResponse.md index 723d66312..4e90c3e81 100644 --- a/packages/java/docs/models/operations/UpdateAttendeeResponse.md +++ b/packages/java/docs/models/operations/UpdateAttendeeResponse.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 | -| `attendee` | [Optional\](../../models/components/Attendee1.md) | :heavy_minus_sign: | Successfully updated the attendee. | \ No newline at end of file +| `attendee1` | [Optional\](../../models/components/Attendee11.md) | :heavy_minus_sign: | Successfully updated the attendee. | \ No newline at end of file diff --git a/packages/java/docs/models/operations/UpdateContactsResponse.md b/packages/java/docs/models/operations/UpdateContactsResponse.md index ed4332367..a08743282 100644 --- a/packages/java/docs/models/operations/UpdateContactsResponse.md +++ b/packages/java/docs/models/operations/UpdateContactsResponse.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 | -| `contactBulkResponse` | List\<[ContactBulkItemJson](../../models/components/ContactBulkItemJson.md)> | :heavy_minus_sign: | Successfully updated a list of Contacts. | \ No newline at end of file +| `contactBulkResponse` | List\<[ContactBulkResponseItem](../../models/components/ContactBulkResponseItem.md)> | :heavy_minus_sign: | Successfully updated a list of Contacts. | \ No newline at end of file diff --git a/packages/java/docs/sdks/appointments/README.md b/packages/java/docs/sdks/appointments/README.md index 45d1ef8dd..1e4841029 100644 --- a/packages/java/docs/sdks/appointments/README.md +++ b/packages/java/docs/sdks/appointments/README.md @@ -620,6 +620,7 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.*; import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.errors.ErrorResponse2; import com.cvent.models.operations.CreateAppointmentRequest; import com.cvent.models.operations.CreateAppointmentResponse; import java.lang.Exception; @@ -628,7 +629,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -689,7 +690,8 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | +| models/errors/ErrorResponse2 | 422 | application/json | +| models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## updateAppointment @@ -708,6 +710,7 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.*; import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.errors.ErrorResponse2; import com.cvent.models.operations.UpdateAppointmentRequest; import com.cvent.models.operations.UpdateAppointmentResponse; import java.lang.Exception; @@ -716,7 +719,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -776,7 +779,8 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | +| models/errors/ErrorResponse2 | 422 | application/json | +| models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## cancelAppointment diff --git a/packages/java/docs/sdks/attendees/README.md b/packages/java/docs/sdks/attendees/README.md index 5d6b42c71..6de4faed4 100644 --- a/packages/java/docs/sdks/attendees/README.md +++ b/packages/java/docs/sdks/attendees/README.md @@ -393,8 +393,8 @@ public class Application { .request(req) .call(); - if (res.attendee().isPresent()) { - System.out.println(res.attendee().get()); + if (res.attendee1().isPresent()) { + System.out.println(res.attendee1().get()); } } } @@ -491,8 +491,8 @@ public class Application { .request(req) .call(); - if (res.attendee().isPresent()) { - System.out.println(res.attendee().get()); + if (res.attendee1().isPresent()) { + System.out.println(res.attendee1().get()); } } } @@ -704,10 +704,10 @@ public class Application { .id("abc123") .status(BadgeStatus.ACTIVE) .type(BadgeType.EPC) - .attendee(Attendee11.builder() + .attendee(Attendee12.builder() .id("04ca6ae2-0dc3-487b-953e-86d6abbdf7d3") .build()) - .event(Event21.builder() + .event(Event3.builder() .id("3db28cfc-db22-11eb-8d19-0242ac130003") .build()) .build()) @@ -927,10 +927,10 @@ public class Application { .id("abc123") .status(BadgeStatus.ACTIVE) .type(BadgeType.EPC) - .attendee(Attendee11.builder() + .attendee(Attendee12.builder() .id("04ca6ae2-0dc3-487b-953e-86d6abbdf7d3") .build()) - .event(Event21.builder() + .event(Event3.builder() .id("3db28cfc-db22-11eb-8d19-0242ac130003") .build()) .build()) diff --git a/packages/java/docs/sdks/audiencesegments/README.md b/packages/java/docs/sdks/audiencesegments/README.md index a7a9147c5..9b8db0652 100644 --- a/packages/java/docs/sdks/audiencesegments/README.md +++ b/packages/java/docs/sdks/audiencesegments/README.md @@ -250,15 +250,14 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.*; -import com.cvent.models.errors.ErrorResponse1; -import com.cvent.models.errors.SegmentsErrorResponse; +import com.cvent.models.errors.*; import com.cvent.models.operations.CreateAudienceSegmentResponse; import java.lang.Exception; import java.util.List; public class Application { - public static void main(String[] args) throws SegmentsErrorResponse, ErrorResponse1, Exception { + public static void main(String[] args) throws SegmentsErrorResponse, ErrorResponse2, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -272,7 +271,7 @@ public class Application { .build(); AudienceSegmentCreate req = AudienceSegmentCreate.builder() - .event(EventJson1.builder() + .event(EventJson.builder() .id("103097a4-143d-11e5-9f99-d0a637ee0032") .build()) .name("VIP Attendees") @@ -305,7 +304,8 @@ public class Application { | Error Type | Status Code | Content Type | | ----------------------------------- | ----------------------------------- | ----------------------------------- | | models/errors/SegmentsErrorResponse | 400 | application/json | -| models/errors/ErrorResponse1 | 401, 403, 422, 429 | application/json | +| models/errors/ErrorResponse2 | 422 | application/json | +| models/errors/ErrorResponse1 | 401, 403, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## listAudienceSegments @@ -551,6 +551,7 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.*; import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.errors.ErrorResponse2; import com.cvent.models.operations.UpdateAudienceSegmentRequest; import com.cvent.models.operations.UpdateAudienceSegmentResponse; import java.lang.Exception; @@ -558,7 +559,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -574,7 +575,7 @@ public class Application { UpdateAudienceSegmentRequest req = UpdateAudienceSegmentRequest.builder() .audienceSegmentId("04ca6ae2-0dc3-487b-953e-86d6abbdf7d3") .audienceSegment(AudienceSegment.builder() - .event(EventJson1.builder() + .event(EventJson.builder() .id("103097a4-143d-11e5-9f99-d0a637ee0032") .build()) .name("VIP Attendees") @@ -607,7 +608,8 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | +| models/errors/ErrorResponse2 | 422 | application/json | +| models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## deleteAudienceSegment @@ -769,8 +771,7 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.SchemeOAuth2ClientCredentials; import com.cvent.models.components.Security; -import com.cvent.models.errors.ErrorResponse1; -import com.cvent.models.errors.SegmentsErrorResponse; +import com.cvent.models.errors.*; import com.cvent.models.operations.AssociateAttendeeToSegmentRequest; import com.cvent.models.operations.AssociateAttendeeToSegmentResponse; import java.lang.Exception; @@ -778,7 +779,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws SegmentsErrorResponse, ErrorResponse1, Exception { + public static void main(String[] args) throws SegmentsErrorResponse, ErrorResponse2, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -820,7 +821,8 @@ public class Application { | Error Type | Status Code | Content Type | | ----------------------------------- | ----------------------------------- | ----------------------------------- | | models/errors/SegmentsErrorResponse | 400 | application/json | -| models/errors/ErrorResponse1 | 401, 403, 404, 422, 429 | application/json | +| models/errors/ErrorResponse2 | 422 | application/json | +| models/errors/ErrorResponse1 | 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## disassociateAttendeeFromAudienceSegment diff --git a/packages/java/docs/sdks/bulk/README.md b/packages/java/docs/sdks/bulk/README.md index 3f9008753..8ee74e3f2 100644 --- a/packages/java/docs/sdks/bulk/README.md +++ b/packages/java/docs/sdks/bulk/README.md @@ -56,7 +56,7 @@ import java.util.Map; public class Application { - public static void main(String[] args) throws ErrorResponse1, ErrorResponse2, Exception { + public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -128,8 +128,8 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse1 | 409 | application/json | -| models/errors/ErrorResponse2 | 400, 401, 403, 429 | application/json | +| models/errors/ErrorResponse2 | 409 | application/json | +| models/errors/ErrorResponse1 | 400, 401, 403, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## getBulkJobById @@ -145,7 +145,7 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.SchemeOAuth2ClientCredentials; import com.cvent.models.components.Security; -import com.cvent.models.errors.ErrorResponse2; +import com.cvent.models.errors.ErrorResponse1; import com.cvent.models.operations.GetBulkJobByIdRequest; import com.cvent.models.operations.GetBulkJobByIdResponse; import java.lang.Exception; @@ -153,7 +153,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse2, Exception { + public static void main(String[] args) throws ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -195,7 +195,7 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse2 | 400, 401, 403, 404, 429 | application/json | +| models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## cancelBulkJob @@ -211,7 +211,7 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.SchemeOAuth2ClientCredentials; import com.cvent.models.components.Security; -import com.cvent.models.errors.ErrorResponse2; +import com.cvent.models.errors.ErrorResponse1; import com.cvent.models.operations.CancelBulkJobRequest; import com.cvent.models.operations.CancelBulkJobResponse; import java.lang.Exception; @@ -219,7 +219,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse2, Exception { + public static void main(String[] args) throws ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -261,7 +261,7 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse2 | 400, 401, 403, 404, 429 | application/json | +| models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## uploadBulkJobData @@ -292,7 +292,7 @@ import java.util.Map; public class Application { - public static void main(String[] args) throws ErrorResponse1, ErrorResponse2, Exception { + public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -358,8 +358,8 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse1 | 409 | application/json | -| models/errors/ErrorResponse2 | 400, 401, 403, 404, 429 | application/json | +| models/errors/ErrorResponse2 | 409 | application/json | +| models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## listBulkJobResult @@ -375,7 +375,7 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.SchemeOAuth2ClientCredentials; import com.cvent.models.components.Security; -import com.cvent.models.errors.ErrorResponse2; +import com.cvent.models.errors.ErrorResponse1; import com.cvent.models.operations.ListBulkJobResultRequest; import com.cvent.models.operations.ListBulkJobResultResponse; import java.lang.Exception; @@ -384,7 +384,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse2, Exception { + public static void main(String[] args) throws ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -430,7 +430,7 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse2 | 400, 401, 403, 404, 429 | application/json | +| models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## runBulkJob @@ -457,7 +457,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse1, ErrorResponse2, Exception { + public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -499,6 +499,6 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse1 | 409 | application/json | -| models/errors/ErrorResponse2 | 400, 401, 403, 404, 429 | application/json | +| models/errors/ErrorResponse2 | 409 | application/json | +| models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/packages/java/docs/sdks/contacts/README.md b/packages/java/docs/sdks/contacts/README.md index 5dbb07554..dc66272ec 100644 --- a/packages/java/docs/sdks/contacts/README.md +++ b/packages/java/docs/sdks/contacts/README.md @@ -74,7 +74,7 @@ public class Application { .name("group name") .shortDescription("short description") .description("long description") - .distributionListInfo(DistributionListInfoJsonInput.builder() + .distributionListInfo(DistributionListInfoInput.builder() .internalNote("Sample distribution list internal note") .build()) .build(); @@ -291,7 +291,7 @@ public class Application { .name("group name") .shortDescription("short description") .description("long description") - .distributionListInfo(DistributionListInfoJsonInput.builder() + .distributionListInfo(DistributionListInfoInput.builder() .internalNote("Sample distribution list internal note") .build()) .build()) @@ -864,12 +864,12 @@ public class Application { .email("h.potterfield@test.com") .ccEmail("h.porter@tesing.com") .designation("CPA") - .type(AttendeeContactTypeJsonInput.builder() + .type(AttendeeContactTypeInput.builder() .id("861B51EC-AA7E-475F-B38D-4C8E35C47D63") .build()) - .primaryAddressType(AddressTypeJson.HOME) + .primaryAddressType(AddressType.HOME) .homeFax("555-555-5555") - .workAddress(AddressJsonInput.builder() + .workAddress(AddressInput.builder() .address1("Cvent Inc.") .address2("4001 West Parmer Lane") .address3("PO Box 123") @@ -884,10 +884,10 @@ public class Application { .mobilePhone("555-555-5555") .prefix("Mr.") .pager("555-555-5555") - .optOut(OptOutJsonInput.builder() + .optOut(ContactOptOutInput.builder() .build()) .npi("5555555555") - .passport(PassportJsonInput.builder() + .passport(PassportInput.builder() .number("123456789") .countryCode("GB") .build()) @@ -967,22 +967,22 @@ public class Application { CreateContactsRequest req = CreateContactsRequest.builder() .requestBody(List.of( - ContactCreateRequestJson.builder() + ContactCreate.builder() .firstName("Henry") .lastName("Potterfield") .middleName("A") .nickname("Harry") .email("h.potterfield@test.com") .ccEmail("h.porter@tesing.com") - .gender(GenderJson.MALE) + .gender(Gender.MALE) .company("Cvent Inc.") .designation("CPA") .title("Event Planner") - .type(AttendeeContactTypeJsonInput.builder() + .type(AttendeeContactTypeInput.builder() .id("861B51EC-AA7E-475F-B38D-4C8E35C47D63") .build()) - .primaryAddressType(AddressTypeJson.HOME) - .homeAddress(AddressJsonInput.builder() + .primaryAddressType(AddressType.HOME) + .homeAddress(AddressInput.builder() .address1("Cvent Inc.") .address2("4001 West Parmer Lane") .address3("PO Box 123") @@ -993,7 +993,7 @@ public class Application { .build()) .homePhone("555-555-5555") .homeFax("555-555-5555") - .workAddress(AddressJsonInput.builder() + .workAddress(AddressInput.builder() .address1("Cvent Inc.") .address2("4001 West Parmer Lane") .address3("PO Box 123") @@ -1008,22 +1008,22 @@ public class Application { .mobilePhone("555-555-5555") .prefix("Mr.") .pager("555-555-5555") - .optOut(OptOutJsonInput.builder() + .optOut(ContactOptOutInput.builder() .build()) .npi("5555555555") - .links(ContactLinksJsonInput.builder() - .twitterUrl(LinkJson.builder() + .links(ContactLinksInput.builder() + .twitterUrl(Link.builder() .href("?token=90c5f062-76ad-4ea4-aa53-00eb698d9262") .build()) - .facebookUrl(LinkJson.builder() + .facebookUrl(Link.builder() .href("?token=90c5f062-76ad-4ea4-aa53-00eb698d9262") .build()) - .linkedInUrl(LinkJson.builder() + .linkedInUrl(Link.builder() .href("?token=90c5f062-76ad-4ea4-aa53-00eb698d9262") .build()) .build()) .dateOfBirth(LocalDate.parse("1990-01-01")) - .passport(PassportJsonInput.builder() + .passport(PassportInput.builder() .number("123456789") .countryCode("GB") .build()) @@ -1413,15 +1413,15 @@ public class Application { .nickname("Harry") .email("h.potterfield@test.com") .ccEmail("h.porter@tesing.com") - .gender(GenderJson.MALE) + .gender(Gender.MALE) .company("Cvent Inc.") .designation("CPA") .title("Event Planner") - .type(AttendeeContactTypeJsonInput.builder() + .type(AttendeeContactTypeInput.builder() .id("861B51EC-AA7E-475F-B38D-4C8E35C47D63") .build()) - .primaryAddressType(AddressTypeJson.HOME) - .homeAddress(AddressJsonInput.builder() + .primaryAddressType(AddressType.HOME) + .homeAddress(AddressInput.builder() .address1("Cvent Inc.") .address2("4001 West Parmer Lane") .address3("PO Box 123") @@ -1432,7 +1432,7 @@ public class Application { .build()) .homePhone("555-555-5555") .homeFax("555-555-5555") - .workAddress(AddressJsonInput.builder() + .workAddress(AddressInput.builder() .address1("Cvent Inc.") .address2("4001 West Parmer Lane") .address3("PO Box 123") @@ -1447,22 +1447,22 @@ public class Application { .mobilePhone("555-555-5555") .prefix("Mr.") .pager("555-555-5555") - .optOut(OptOutJsonInput.builder() + .optOut(ContactOptOutInput.builder() .build()) .npi("5555555555") - .links(ContactLinksJsonInput.builder() - .twitterUrl(LinkJson.builder() + .links(ContactLinksInput.builder() + .twitterUrl(Link.builder() .href("?token=90c5f062-76ad-4ea4-aa53-00eb698d9262") .build()) - .facebookUrl(LinkJson.builder() + .facebookUrl(Link.builder() .href("?token=90c5f062-76ad-4ea4-aa53-00eb698d9262") .build()) - .linkedInUrl(LinkJson.builder() + .linkedInUrl(Link.builder() .href("?token=90c5f062-76ad-4ea4-aa53-00eb698d9262") .build()) .build()) .dateOfBirth(LocalDate.parse("1990-01-01")) - .passport(PassportJsonInput.builder() + .passport(PassportInput.builder() .number("123456789") .countryCode("GB") .build()) @@ -1556,12 +1556,12 @@ public class Application { .email("h.potterfield@test.com") .ccEmail("h.porter@tesing.com") .designation("CPA") - .type(AttendeeContactTypeJsonInput.builder() + .type(AttendeeContactTypeInput.builder() .id("861B51EC-AA7E-475F-B38D-4C8E35C47D63") .build()) - .primaryAddressType(AddressTypeJson.HOME) + .primaryAddressType(AddressType.HOME) .homeFax("555-555-5555") - .workAddress(AddressJsonInput.builder() + .workAddress(AddressInput.builder() .address1("Cvent Inc.") .address2("4001 West Parmer Lane") .address3("PO Box 123") @@ -1576,10 +1576,10 @@ public class Application { .mobilePhone("555-555-5555") .prefix("Mr.") .pager("555-555-5555") - .optOut(OptOutJsonInput.builder() + .optOut(ContactOptOutInput.builder() .build()) .npi("5555555555") - .passport(PassportJsonInput.builder() + .passport(PassportInput.builder() .number("123456789") .countryCode("GB") .build()) @@ -1802,7 +1802,7 @@ public class Application { "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3")) .conflictResolution(ConflictResolution.builder() .contactFields(List.of( - ContactMergeFieldJson.builder() + ContactMergeField.builder() .fieldName("firstName") .contactId("a45a3341-d30f-4bd9-bfd8-fbcdae37f0f2") .build())) diff --git a/packages/java/docs/sdks/customfields/README.md b/packages/java/docs/sdks/customfields/README.md index 3407e0f40..be3a91b35 100644 --- a/packages/java/docs/sdks/customfields/README.md +++ b/packages/java/docs/sdks/customfields/README.md @@ -126,7 +126,7 @@ public class Application { .category(CustomFieldCategoryJson.CONTACT) .name("What is a your favorite color?") .code("FAVORITE_COLOR_CODE") - .type(CustomFieldTypeJson1.OPEN_ENDED_TEXT_ONE_LINE) + .type(CustomFieldTypeJson.OPEN_ENDED_TEXT_ONE_LINE) .details(CustomField3Details.of(OpenEndedOneLine.builder() .answerFormat("General") .minimum(2L) @@ -206,10 +206,10 @@ public class Application { .category(CustomFieldCategoryJson.CONTACT) .name("What is a your favorite color?") .code("FAVORITE_COLOR_CODE") - .type(CustomFieldTypeJson1.OPEN_ENDED_TEXT_ONE_LINE) + .type(CustomFieldTypeJson.OPEN_ENDED_TEXT_ONE_LINE) .details(ExistingCustomFieldDetailsInput.of(ThreeInput.builder() .choices(List.of( - ChoiceJson3Input.builder() + ChoiceJson2Input.builder() .text("What is your current designation?") .build())) .build())) diff --git a/packages/java/docs/sdks/events/README.md b/packages/java/docs/sdks/events/README.md index 81aba59ae..dbb99da20 100644 --- a/packages/java/docs/sdks/events/README.md +++ b/packages/java/docs/sdks/events/README.md @@ -46,6 +46,9 @@ Events are used to collect registrations and allow attendees to select their sch * [listEventUserGroups](#listeventusergroups) - List Event User Groups * [associateEventUserGroup](#associateeventusergroup) - Associate User Group to Event * [disassociateEventUserGroup](#disassociateeventusergroup) - Disassociate Group from Event +* [listEventVouchers](#listeventvouchers) - List Event Vouchers +* [listEventVouchersPostFilter](#listeventvoucherspostfilter) - List Event Vouchers (Filter) +* [listEventVoucherAttendees](#listeventvoucherattendees) - List Voucher Attendees * [updateQuantityItemRegistrationForAttendee](#updatequantityitemregistrationforattendee) - Update Quantity Item * [listSessionsAttendance](#listsessionsattendance) - Session Attendance * [listSessionsEnrollment](#listsessionsenrollment) - List Session Registrants @@ -477,7 +480,7 @@ public class Application { .title("Event Planner") .email("hsmith@example.com") .build())) - .type(EventTypeJson1.CONFERENCE) + .type(EventTypeJson.CONFERENCE) .description("Cvent annual user conference.") .start(OffsetDateTime.parse("2020-02-03T13:00:00.000Z")) .end(OffsetDateTime.parse("2020-02-07T17:00:00.000Z")) @@ -699,7 +702,7 @@ public class Application { .build(); SendEmailEventRequest req = SendEmailEventRequest.builder() - .event(EventJson8.builder() + .event(EventJson6.builder() .id("a150f1ee-6c54-4b01-90e6-d701748f0851") .build()) .email(EmailJson2.builder() @@ -998,7 +1001,7 @@ public class Application { .languages(List.of( "en-US")) .planners(List.of()) - .type(EventTypeJson1.CONFERENCE) + .type(EventTypeJson.CONFERENCE) .description("Cvent annual user conference.") .start(OffsetDateTime.parse("2020-02-03T13:00:00.000Z")) .end(OffsetDateTime.parse("2020-02-07T17:00:00.000Z")) @@ -2700,7 +2703,7 @@ public class Application { .event(Event2.builder() .id("4a0e8d1f-8fd6-4ebe-977a-602b4a1f9c56") .build()) - .attendee(Attendee2.builder() + .attendee(Attendee.builder() .id("5b0e8d1f-8fd6-4ebe-977a-602b4a1f9c43") .build()) .batchNumber("112021-0017") @@ -3025,6 +3028,222 @@ public class Application { | models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | +## listEventVouchers + +Retrieves a paginated list of vouchers set up for a specific event. + + +### 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.ErrorResponse1; +import com.cvent.models.operations.ListEventVouchersRequest; +import com.cvent.models.operations.ListEventVouchersResponse; +import java.lang.Exception; +import java.time.OffsetDateTime; +import java.util.List; + +public class Application { + + public static void main(String[] args) throws ErrorResponse1, 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(); + + ListEventVouchersRequest req = ListEventVouchersRequest.builder() + .id("04ca6ae2-0dc3-487b-953e-86d6abbdf7d3") + .token("0e28af57-511f-47ab-ae46-46cd1ca51a1a") + .before(OffsetDateTime.parse("2017-01-02T02:00:00Z")) + .after(OffsetDateTime.parse("2017-01-02T02:00:00Z")) + .sort("code:ASC") + .filter("id in ('1800c9bd-b5f4-438a-a92c-ea1f59553a5c', '2900d8ce-c6f5-449b-b03d-fb2f60664b6d')") + .build(); + + + sdk.events().listEventVouchers() + .callAsStream() + .forEach((ListEventVouchersResponse item) -> { + // handle page + }); + + } +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `request` | [ListEventVouchersRequest](../../models/operations/ListEventVouchersRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[ListEventVouchersResponse](../../models/operations/ListEventVouchersResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| models/errors/APIException | 4XX, 5XX | \*/\* | + +## listEventVouchersPostFilter + +Retrieves a paginated list of vouchers configured for an event using a filter provided in the body of the request. + + +### Example Usage + + +```java +package hello.world; + +import com.cvent.CventSDK; +import com.cvent.models.components.*; +import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.operations.ListEventVouchersPostFilterRequest; +import com.cvent.models.operations.ListEventVouchersPostFilterResponse; +import java.lang.Exception; +import java.time.OffsetDateTime; +import java.util.List; + +public class Application { + + public static void main(String[] args) throws ErrorResponse1, 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(); + + ListEventVouchersPostFilterRequest req = ListEventVouchersPostFilterRequest.builder() + .id("04ca6ae2-0dc3-487b-953e-86d6abbdf7d3") + .token("0e28af57-511f-47ab-ae46-46cd1ca51a1a") + .before(OffsetDateTime.parse("2017-01-02T02:00:00Z")) + .after(OffsetDateTime.parse("2017-01-02T02:00:00Z")) + .sort("code:ASC") + .filter(Filter.builder() + .filter("id in ('1800c9bd-b5f4-438a-a92c-ea1f59553a5c', '2900d8ce-c6f5-449b-b03d-fb2f60664b6d')") + .build()) + .build(); + + + sdk.events().listEventVouchersPostFilter() + .callAsStream() + .forEach((ListEventVouchersPostFilterResponse item) -> { + // handle page + }); + + } +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `request` | [ListEventVouchersPostFilterRequest](../../models/operations/ListEventVouchersPostFilterRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[ListEventVouchersPostFilterResponse](../../models/operations/ListEventVouchersPostFilterResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| models/errors/APIException | 4XX, 5XX | \*/\* | + +## listEventVoucherAttendees + +Retrieves a paginated list of attendees who have redeemed a specific voucher for the given event. + + +### 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.ErrorResponse1; +import com.cvent.models.operations.ListEventVoucherAttendeesRequest; +import com.cvent.models.operations.ListEventVoucherAttendeesResponse; +import java.lang.Exception; +import java.util.List; + +public class Application { + + public static void main(String[] args) throws ErrorResponse1, 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(); + + ListEventVoucherAttendeesRequest req = ListEventVoucherAttendeesRequest.builder() + .id("04ca6ae2-0dc3-487b-953e-86d6abbdf7d3") + .voucherId("04ca6ae2-0dc3-487b-953e-86d6abbdf7d3") + .token("0e28af57-511f-47ab-ae46-46cd1ca51a1a") + .build(); + + + sdk.events().listEventVoucherAttendees() + .callAsStream() + .forEach((ListEventVoucherAttendeesResponse item) -> { + // handle page + }); + + } +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | +| `request` | [ListEventVoucherAttendeesRequest](../../models/operations/ListEventVoucherAttendeesRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[ListEventVoucherAttendeesResponse](../../models/operations/ListEventVoucherAttendeesResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| models/errors/APIException | 4XX, 5XX | \*/\* | + ## updateQuantityItemRegistrationForAttendee Update a specific [quantity item](https://support.cvent.com/s/communityarticle/Creating-Quantity-Items) for an attendee's registration based on the details supplied in the body of the request. diff --git a/packages/java/docs/sdks/exhibitor/README.md b/packages/java/docs/sdks/exhibitor/README.md index 1914d3f8f..a3826fbfa 100644 --- a/packages/java/docs/sdks/exhibitor/README.md +++ b/packages/java/docs/sdks/exhibitor/README.md @@ -157,7 +157,7 @@ public class Application { CreateExhibitorCategoryRequest req = CreateExhibitorCategoryRequest.builder() .id("3db28cfc-db22-11eb-8d19-0242ac130003") .exhibitorCategoryRequest(ExhibitorCategoryRequest.builder() - .event(Event21.builder() + .event(Event3.builder() .id("3db28cfc-db22-11eb-8d19-0242ac130003") .build()) .name("Automobile") @@ -235,7 +235,7 @@ public class Application { .id("3db28cfc-db22-11eb-8d19-0242ac130003") .exhibitorCategoryId("534a465b-b4cb-471d-9498-4bf3917ad8bf") .exhibitorCategoryRequest(ExhibitorCategoryRequest.builder() - .event(Event21.builder() + .event(Event3.builder() .id("3db28cfc-db22-11eb-8d19-0242ac130003") .build()) .name("Automobile") @@ -875,7 +875,7 @@ public class Application { CreateExhibitorRequest req = CreateExhibitorRequest.builder() .id("3db28cfc-db22-11eb-8d19-0242ac130003") .exhibitorRequest(ExhibitorRequest.builder() - .event(Event21.builder() + .event(Event3.builder() .id("3db28cfc-db22-11eb-8d19-0242ac130003") .build()) .name("Potterfield Harry") @@ -883,7 +883,7 @@ public class Application { .code("abc123") .sourceId("software") .location("Taj Mahal") - .address(Address2.builder() + .address(Address4.builder() .address1("Cvent Inc.") .address2("4001 West Parmer Lane") .city("Austin") @@ -1054,7 +1054,7 @@ public class Application { .id("3db28cfc-db22-11eb-8d19-0242ac130003") .exhibitorId("4888db54-db22-11eb-8d19-0242ac130003") .exhibitorRequest(ExhibitorRequest.builder() - .event(Event21.builder() + .event(Event3.builder() .id("3db28cfc-db22-11eb-8d19-0242ac130003") .build()) .name("Potterfield Harry") @@ -1062,7 +1062,7 @@ public class Application { .code("abc123") .sourceId("software") .location("Taj Mahal") - .address(Address2.builder() + .address(Address4.builder() .address1("Cvent Inc.") .address2("4001 West Parmer Lane") .city("Austin") @@ -1449,7 +1449,7 @@ public class Application { .question(Uuid.builder() .id("04ca6ae2-0dc3-487b-953e-86d6abbdf7d3") .build()) - .event(Event21.builder() + .event(Event3.builder() .id("3db28cfc-db22-11eb-8d19-0242ac130003") .build()) .exhibitor(Exhibitor.builder() @@ -1792,6 +1792,7 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.*; import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.errors.ErrorResponse2; import com.cvent.models.operations.PostRegistrationPackRequest; import com.cvent.models.operations.PostRegistrationPackResponse; import java.lang.Exception; @@ -1799,7 +1800,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -1816,7 +1817,7 @@ public class Application { .id("3db28cfc-db22-11eb-8d19-0242ac130003") .exhibitorId("4888db54-db22-11eb-8d19-0242ac130003") .registrationPackRequest(RegistrationPackRequest.builder() - .event(Event21.builder() + .event(Event3.builder() .id("3db28cfc-db22-11eb-8d19-0242ac130003") .build()) .exhibitor(Exhibitor.builder() @@ -1857,7 +1858,8 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse1 | 400, 401, 403, 404, 409, 429 | application/json | +| models/errors/ErrorResponse2 | 409 | application/json | +| models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## getExhibitorRegistrationPacks @@ -2044,7 +2046,7 @@ public class Application { .exhibitorId("4888db54-db22-11eb-8d19-0242ac130003") .registrationPackId("50f4f0df-0c2d-4e6b-8e68-e1413b6917f5") .registrationPackRequest(RegistrationPackRequest.builder() - .event(Event21.builder() + .event(Event3.builder() .id("3db28cfc-db22-11eb-8d19-0242ac130003") .build()) .exhibitor(Exhibitor.builder() @@ -2105,6 +2107,7 @@ import com.cvent.CventSDK; import com.cvent.models.components.SchemeOAuth2ClientCredentials; import com.cvent.models.components.Security; import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.errors.ErrorResponse2; import com.cvent.models.operations.DeleteRegistrationPackRequest; import com.cvent.models.operations.DeleteRegistrationPackResponse; import java.lang.Exception; @@ -2112,7 +2115,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -2154,7 +2157,8 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse1 | 401, 403, 404, 409, 429 | application/json | +| models/errors/ErrorResponse2 | 409 | application/json | +| models/errors/ErrorResponse1 | 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## getSponsorshipLevels diff --git a/packages/java/docs/sdks/exhibitorcontent/README.md b/packages/java/docs/sdks/exhibitorcontent/README.md index 2f9169a14..98be73952 100644 --- a/packages/java/docs/sdks/exhibitorcontent/README.md +++ b/packages/java/docs/sdks/exhibitorcontent/README.md @@ -175,6 +175,7 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.*; import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.errors.ErrorResponse2; import com.cvent.models.operations.UpdateExhibitorFileRequest; import com.cvent.models.operations.UpdateExhibitorFileResponse; import java.lang.Exception; @@ -182,7 +183,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -200,7 +201,7 @@ public class Application { .exhibitorId("4888db54-db22-11eb-8d19-0242ac130003") .fileId("04ca6ae2-0dc3-487b-953e-86d6abbdf7d3") .file(FileInput.builder() - .event(Event21.builder() + .event(Event3.builder() .id("3db28cfc-db22-11eb-8d19-0242ac130003") .build()) .exhibitor(Exhibitor.builder() @@ -236,7 +237,8 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | +| models/errors/ErrorResponse2 | 422 | application/json | +| models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## disassociateExhibitorFile @@ -394,6 +396,7 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.*; import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.errors.ErrorResponse2; import com.cvent.models.operations.CreateExhibitorWeblinkRequest; import com.cvent.models.operations.CreateExhibitorWeblinkResponse; import java.lang.Exception; @@ -401,7 +404,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -418,7 +421,7 @@ public class Application { .id("3db28cfc-db22-11eb-8d19-0242ac130003") .exhibitorId("4888db54-db22-11eb-8d19-0242ac130003") .weblink(Weblink.builder() - .event(Event21.builder() + .event(Event3.builder() .id("3db28cfc-db22-11eb-8d19-0242ac130003") .build()) .exhibitor(Exhibitor.builder() @@ -455,7 +458,8 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | +| models/errors/ErrorResponse2 | 422 | application/json | +| models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## getExhibitorWeblink @@ -545,6 +549,7 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.*; import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.errors.ErrorResponse2; import com.cvent.models.operations.UpdateExhibitorWeblinkRequest; import com.cvent.models.operations.UpdateExhibitorWeblinkResponse; import java.lang.Exception; @@ -552,7 +557,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -570,7 +575,7 @@ public class Application { .exhibitorId("4888db54-db22-11eb-8d19-0242ac130003") .weblinkId("4d44b9e4-8c1a-403d-a20a-0b981f539935") .weblink(Weblink.builder() - .event(Event21.builder() + .event(Event3.builder() .id("3db28cfc-db22-11eb-8d19-0242ac130003") .build()) .exhibitor(Exhibitor.builder() @@ -607,7 +612,8 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | +| models/errors/ErrorResponse2 | 422 | application/json | +| models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## deleteExhibitorWeblink diff --git a/packages/java/docs/sdks/exhibitorteam/README.md b/packages/java/docs/sdks/exhibitorteam/README.md index 9491eac29..b76d3b559 100644 --- a/packages/java/docs/sdks/exhibitorteam/README.md +++ b/packages/java/docs/sdks/exhibitorteam/README.md @@ -426,10 +426,10 @@ public class Application { .id("3db28cfc-db22-11eb-8d19-0242ac130003") .exhibitorId("4888db54-db22-11eb-8d19-0242ac130003") .boothStaffRequest(BoothStaffRequest.builder() - .attendee(Attendee11.builder() + .attendee(Attendee12.builder() .id("04ca6ae2-0dc3-487b-953e-86d6abbdf7d3") .build()) - .event(Event21.builder() + .event(Event3.builder() .id("3db28cfc-db22-11eb-8d19-0242ac130003") .build()) .exhibitor(Exhibitor.builder() diff --git a/packages/java/docs/sdks/housing/README.md b/packages/java/docs/sdks/housing/README.md index ec91f4810..90dbdf88f 100644 --- a/packages/java/docs/sdks/housing/README.md +++ b/packages/java/docs/sdks/housing/README.md @@ -990,6 +990,7 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.*; import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.errors.ErrorResponse2; import com.cvent.models.operations.UpdateReservationRequestRequest; import com.cvent.models.operations.UpdateReservationRequestResponse; import java.lang.Exception; @@ -999,7 +1000,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -1032,7 +1033,7 @@ public class Application { .email("guest@cvent.com") .homePhone("(231)-213-1222") .workPhone("(231)-213-1222") - .homeAddress(AddressJson2.builder() + .homeAddress(AddressJson.builder() .address1("West St. 1") .address2("Apt. 16") .city("Austin") @@ -1044,7 +1045,7 @@ public class Application { .build()) .paymentInfo(PaymentInfoJson.builder() .fullName("Gustav Schultz") - .address(AddressJson2.builder() + .address(AddressJson.builder() .address1("West St. 1") .address2("Apt. 16") .city("Austin") @@ -1137,7 +1138,8 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| models/errors/ErrorResponse2 | 400 | application/json | +| models/errors/ErrorResponse1 | 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## cancelReservationRequest @@ -1154,6 +1156,7 @@ import com.cvent.CventSDK; import com.cvent.models.components.SchemeOAuth2ClientCredentials; import com.cvent.models.components.Security; import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.errors.ErrorResponse2; import com.cvent.models.operations.CancelReservationRequestRequest; import com.cvent.models.operations.CancelReservationRequestResponse; import java.lang.Exception; @@ -1161,7 +1164,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -1201,7 +1204,8 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| models/errors/ErrorResponse2 | 400 | application/json | +| models/errors/ErrorResponse1 | 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## linkReservation diff --git a/packages/java/docs/sdks/meetingrequest/README.md b/packages/java/docs/sdks/meetingrequest/README.md index f2fef4f48..f668bd16d 100644 --- a/packages/java/docs/sdks/meetingrequest/README.md +++ b/packages/java/docs/sdks/meetingrequest/README.md @@ -171,6 +171,7 @@ import com.cvent.CventSDK; import com.cvent.models.components.SchemeOAuth2ClientCredentials; import com.cvent.models.components.Security; import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.errors.ErrorResponse2; import com.cvent.models.operations.GetMRFByIdRequest; import com.cvent.models.operations.GetMRFByIdResponse; import java.lang.Exception; @@ -178,7 +179,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -220,7 +221,8 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse1 | 401, 403, 404, 422, 429 | application/json | +| models/errors/ErrorResponse2 | 422 | application/json | +| models/errors/ErrorResponse1 | 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## createMeetingRequest diff --git a/packages/java/docs/sdks/proposaldraft/README.md b/packages/java/docs/sdks/proposaldraft/README.md index 9ed40cde3..9cec25008 100644 --- a/packages/java/docs/sdks/proposaldraft/README.md +++ b/packages/java/docs/sdks/proposaldraft/README.md @@ -101,7 +101,7 @@ public class Application { .notes("Estimated cost includes taxes.") .build()) .contacts(List.of( - ContactJson1.builder() + ContactJson.builder() .firstName("Saurabh") .lastName("Sachdeva") .organizationWebsite("www.cvent.com") @@ -120,7 +120,7 @@ public class Application { .notes("Available between 8am - 5pm.") .build())) .plannerContacts(List.of( - ContactJson1.builder() + ContactJson.builder() .firstName("Saurabh") .lastName("Sachdeva") .organizationWebsite("www.cvent.com") diff --git a/packages/java/docs/sdks/sessions/README.md b/packages/java/docs/sdks/sessions/README.md index 2bac24de9..d7a0dfe1d 100644 --- a/packages/java/docs/sdks/sessions/README.md +++ b/packages/java/docs/sdks/sessions/README.md @@ -686,6 +686,7 @@ import com.cvent.CventSDK; import com.cvent.models.components.SchemeOAuth2ClientCredentials; import com.cvent.models.components.Security; import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.errors.ErrorResponse2; import com.cvent.models.operations.RelateProgramItemToSessionDocumentRequest; import com.cvent.models.operations.RelateProgramItemToSessionDocumentResponse; import java.lang.Exception; @@ -693,7 +694,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -736,7 +737,8 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse1 | 401, 403, 404, 409, 429 | application/json | +| models/errors/ErrorResponse2 | 409 | application/json | +| models/errors/ErrorResponse1 | 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## getProgramItemSessionDocument diff --git a/packages/java/docs/sdks/speakers/README.md b/packages/java/docs/sdks/speakers/README.md index 80484f84e..0ca664876 100644 --- a/packages/java/docs/sdks/speakers/README.md +++ b/packages/java/docs/sdks/speakers/README.md @@ -179,6 +179,7 @@ import com.cvent.CventSDK; import com.cvent.models.components.SchemeOAuth2ClientCredentials; import com.cvent.models.components.Security; import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.errors.ErrorResponse2; import com.cvent.models.operations.CreateSessionProgramSpeakerRequest; import com.cvent.models.operations.CreateSessionProgramSpeakerResponse; import java.lang.Exception; @@ -186,7 +187,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponse1, Exception { + public static void main(String[] args) throws ErrorResponse2, ErrorResponse1, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -229,7 +230,8 @@ public class Application { | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | -| models/errors/ErrorResponse1 | 401, 403, 404, 409, 429 | application/json | +| models/errors/ErrorResponse2 | 409 | application/json | +| models/errors/ErrorResponse1 | 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## getSessionProgramSpeaker @@ -470,7 +472,7 @@ public class Application { .build()) .build(); - SpeakerCategory req = SpeakerCategory.builder() + SpeakerCategory2 req = SpeakerCategory2.builder() .name("Presenters") .build(); @@ -487,9 +489,9 @@ public class Application { ### Parameters -| Parameter | Type | Required | Description | -| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | -| `request` | [SpeakerCategory](../../models/shared/SpeakerCategory.md) | :heavy_check_mark: | The request object to use for the request. | +| Parameter | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `request` | [SpeakerCategory2](../../models/shared/SpeakerCategory2.md) | :heavy_check_mark: | The request object to use for the request. | ### Response @@ -620,18 +622,18 @@ public class Application { .designation("PhD") .company("Cvent") .title("Lead Engineer") - .category(CategoryIdNameJson.builder() + .category(SpeakerCategory1.builder() .id("04ca6ae2-0dc3-487b-953e-86d6abbdf7d3") .name("Presenters") .build()) - .links(ContactLinksJsonInput.builder() - .twitterUrl(LinkJson.builder() + .links(ContactLinksInput.builder() + .twitterUrl(Link.builder() .href("?token=90c5f062-76ad-4ea4-aa53-00eb698d9262") .build()) - .facebookUrl(LinkJson.builder() + .facebookUrl(Link.builder() .href("?token=90c5f062-76ad-4ea4-aa53-00eb698d9262") .build()) - .linkedInUrl(LinkJson.builder() + .linkedInUrl(Link.builder() .href("?token=90c5f062-76ad-4ea4-aa53-00eb698d9262") .build()) .build()) @@ -792,18 +794,18 @@ public class Application { .designation("PhD") .company("Cvent") .title("Lead Engineer") - .category(CategoryIdNameJson.builder() + .category(SpeakerCategory1.builder() .id("04ca6ae2-0dc3-487b-953e-86d6abbdf7d3") .name("Presenters") .build()) - .links(ContactLinksJsonInput.builder() - .twitterUrl(LinkJson.builder() + .links(ContactLinksInput.builder() + .twitterUrl(Link.builder() .href("?token=90c5f062-76ad-4ea4-aa53-00eb698d9262") .build()) - .facebookUrl(LinkJson.builder() + .facebookUrl(Link.builder() .href("?token=90c5f062-76ad-4ea4-aa53-00eb698d9262") .build()) - .linkedInUrl(LinkJson.builder() + .linkedInUrl(Link.builder() .href("?token=90c5f062-76ad-4ea4-aa53-00eb698d9262") .build()) .build()) diff --git a/packages/java/docs/sdks/userscim/README.md b/packages/java/docs/sdks/userscim/README.md index e4875644e..27974dea9 100644 --- a/packages/java/docs/sdks/userscim/README.md +++ b/packages/java/docs/sdks/userscim/README.md @@ -34,7 +34,7 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.SchemeOAuth2ClientCredentials; import com.cvent.models.components.Security; -import com.cvent.models.errors.ErrorResponseJson17; +import com.cvent.models.errors.ErrorResponseJson12; import com.cvent.models.operations.GetUserGroupsRequest; import com.cvent.models.operations.GetUserGroupsResponse; import java.lang.Exception; @@ -42,7 +42,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponseJson17, Exception { + public static void main(String[] args) throws ErrorResponseJson12, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -83,7 +83,7 @@ public class Application { | Error Type | Status Code | Content Type | | --------------------------------- | --------------------------------- | --------------------------------- | -| models/errors/ErrorResponseJson17 | 400, 401, 403, 429 | application/json | +| models/errors/ErrorResponseJson12 | 400, 401, 403, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## getResourceTypes @@ -102,14 +102,14 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.SchemeOAuth2ClientCredentials; import com.cvent.models.components.Security; -import com.cvent.models.errors.ErrorResponseJson17; +import com.cvent.models.errors.ErrorResponseJson12; import com.cvent.models.operations.GetResourceTypesResponse; import java.lang.Exception; import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponseJson17, Exception { + public static void main(String[] args) throws ErrorResponseJson12, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -140,7 +140,7 @@ public class Application { | Error Type | Status Code | Content Type | | --------------------------------- | --------------------------------- | --------------------------------- | -| models/errors/ErrorResponseJson17 | 401, 403, 429 | application/json | +| models/errors/ErrorResponseJson12 | 401, 403, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## getResourceType @@ -159,7 +159,7 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.SchemeOAuth2ClientCredentials; import com.cvent.models.components.Security; -import com.cvent.models.errors.ErrorResponseJson17; +import com.cvent.models.errors.ErrorResponseJson12; import com.cvent.models.operations.GetResourceTypeRequest; import com.cvent.models.operations.GetResourceTypeResponse; import java.lang.Exception; @@ -167,7 +167,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponseJson17, Exception { + public static void main(String[] args) throws ErrorResponseJson12, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -209,7 +209,7 @@ public class Application { | Error Type | Status Code | Content Type | | --------------------------------- | --------------------------------- | --------------------------------- | -| models/errors/ErrorResponseJson17 | 400, 401, 403, 404, 429 | application/json | +| models/errors/ErrorResponseJson12 | 400, 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## getSchemas @@ -228,14 +228,14 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.SchemeOAuth2ClientCredentials; import com.cvent.models.components.Security; -import com.cvent.models.errors.ErrorResponseJson17; +import com.cvent.models.errors.ErrorResponseJson12; import com.cvent.models.operations.GetSchemasResponse; import java.lang.Exception; import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponseJson17, Exception { + public static void main(String[] args) throws ErrorResponseJson12, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -266,7 +266,7 @@ public class Application { | Error Type | Status Code | Content Type | | --------------------------------- | --------------------------------- | --------------------------------- | -| models/errors/ErrorResponseJson17 | 401, 403, 429 | application/json | +| models/errors/ErrorResponseJson12 | 401, 403, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## getSchema @@ -285,7 +285,7 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.SchemeOAuth2ClientCredentials; import com.cvent.models.components.Security; -import com.cvent.models.errors.ErrorResponseJson17; +import com.cvent.models.errors.ErrorResponseJson12; import com.cvent.models.operations.GetSchemaRequest; import com.cvent.models.operations.GetSchemaResponse; import java.lang.Exception; @@ -293,7 +293,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponseJson17, Exception { + public static void main(String[] args) throws ErrorResponseJson12, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -335,7 +335,7 @@ public class Application { | Error Type | Status Code | Content Type | | --------------------------------- | --------------------------------- | --------------------------------- | -| models/errors/ErrorResponseJson17 | 400, 401, 403, 404, 429 | application/json | +| models/errors/ErrorResponseJson12 | 400, 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## getServiceProviderConfig @@ -354,14 +354,14 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.SchemeOAuth2ClientCredentials; import com.cvent.models.components.Security; -import com.cvent.models.errors.ErrorResponseJson17; +import com.cvent.models.errors.ErrorResponseJson12; import com.cvent.models.operations.GetServiceProviderConfigResponse; import java.lang.Exception; import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponseJson17, Exception { + public static void main(String[] args) throws ErrorResponseJson12, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -392,7 +392,7 @@ public class Application { | Error Type | Status Code | Content Type | | --------------------------------- | --------------------------------- | --------------------------------- | -| models/errors/ErrorResponseJson17 | 401, 403, 429 | application/json | +| models/errors/ErrorResponseJson12 | 401, 403, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## createUser @@ -410,14 +410,14 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.*; -import com.cvent.models.errors.ErrorResponseJson17; +import com.cvent.models.errors.ErrorResponseJson12; import com.cvent.models.operations.CreateUserResponse; import java.lang.Exception; import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponseJson17, Exception { + public static void main(String[] args) throws ErrorResponseJson12, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -456,8 +456,8 @@ public class Application { .value("+911234567890") .build())) .addresses(List.of( - AddressJson4.builder() - .type(AddressTypeJson1.WORK) + AddressJson2.builder() + .type(AddressTypeJson.WORK) .streetAddress("100 Universal City Plaza") .locality("Hollywood") .region("CA") @@ -492,7 +492,7 @@ public class Application { | Error Type | Status Code | Content Type | | --------------------------------- | --------------------------------- | --------------------------------- | -| models/errors/ErrorResponseJson17 | 400, 401, 403, 409, 429 | application/json | +| models/errors/ErrorResponseJson12 | 400, 401, 403, 409, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## listUsers @@ -511,7 +511,7 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.SchemeOAuth2ClientCredentials; import com.cvent.models.components.Security; -import com.cvent.models.errors.ErrorResponseJson17; +import com.cvent.models.errors.ErrorResponseJson12; import com.cvent.models.operations.ListUsersRequest; import com.cvent.models.operations.ListUsersResponse; import java.lang.Exception; @@ -519,7 +519,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponseJson17, Exception { + public static void main(String[] args) throws ErrorResponseJson12, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -561,7 +561,7 @@ public class Application { | Error Type | Status Code | Content Type | | --------------------------------- | --------------------------------- | --------------------------------- | -| models/errors/ErrorResponseJson17 | 400, 401, 403, 429 | application/json | +| models/errors/ErrorResponseJson12 | 400, 401, 403, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## getUser @@ -580,7 +580,7 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.SchemeOAuth2ClientCredentials; import com.cvent.models.components.Security; -import com.cvent.models.errors.ErrorResponseJson17; +import com.cvent.models.errors.ErrorResponseJson12; import com.cvent.models.operations.GetUserRequest; import com.cvent.models.operations.GetUserResponse; import java.lang.Exception; @@ -588,7 +588,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponseJson17, Exception { + public static void main(String[] args) throws ErrorResponseJson12, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -630,7 +630,7 @@ public class Application { | Error Type | Status Code | Content Type | | --------------------------------- | --------------------------------- | --------------------------------- | -| models/errors/ErrorResponseJson17 | 400, 401, 403, 404, 429 | application/json | +| models/errors/ErrorResponseJson12 | 400, 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## updateUser @@ -648,7 +648,7 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.*; -import com.cvent.models.errors.ErrorResponseJson17; +import com.cvent.models.errors.ErrorResponseJson12; import com.cvent.models.operations.UpdateUserRequest; import com.cvent.models.operations.UpdateUserResponse; import java.lang.Exception; @@ -656,7 +656,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponseJson17, Exception { + public static void main(String[] args) throws ErrorResponseJson12, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -701,8 +701,8 @@ public class Application { .value("+911234567890") .build())) .addresses(List.of( - AddressJson4.builder() - .type(AddressTypeJson1.WORK) + AddressJson2.builder() + .type(AddressTypeJson.WORK) .streetAddress("100 Universal City Plaza") .locality("Hollywood") .region("CA") @@ -738,7 +738,7 @@ public class Application { | Error Type | Status Code | Content Type | | --------------------------------- | --------------------------------- | --------------------------------- | -| models/errors/ErrorResponseJson17 | 400, 401, 403, 404, 429 | application/json | +| models/errors/ErrorResponseJson12 | 400, 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | ## deleteUser @@ -757,7 +757,7 @@ package hello.world; import com.cvent.CventSDK; import com.cvent.models.components.SchemeOAuth2ClientCredentials; import com.cvent.models.components.Security; -import com.cvent.models.errors.ErrorResponseJson17; +import com.cvent.models.errors.ErrorResponseJson12; import com.cvent.models.operations.DeleteUserRequest; import com.cvent.models.operations.DeleteUserResponse; import java.lang.Exception; @@ -765,7 +765,7 @@ import java.util.List; public class Application { - public static void main(String[] args) throws ErrorResponseJson17, Exception { + public static void main(String[] args) throws ErrorResponseJson12, Exception { CventSDK sdk = CventSDK.builder() .security(Security.builder() @@ -805,5 +805,5 @@ public class Application { | Error Type | Status Code | Content Type | | --------------------------------- | --------------------------------- | --------------------------------- | -| models/errors/ErrorResponseJson17 | 401, 403, 404, 429 | application/json | +| models/errors/ErrorResponseJson12 | 401, 403, 404, 429 | application/json | | models/errors/APIException | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/packages/java/docs/sdks/video/README.md b/packages/java/docs/sdks/video/README.md index a48b425c3..ddef69437 100644 --- a/packages/java/docs/sdks/video/README.md +++ b/packages/java/docs/sdks/video/README.md @@ -327,12 +327,12 @@ public class Application { .videoId("04ca6ae2-0dc3-487b-953e-86d6abbdf7d3") .videoTextTrack(VideoTextTrack.builder() .language("en-US") - .kind(VideoTextTrackKindJson.SUBTITLES) - .video(VideoAssetIdJson.builder() + .kind(VideoTextTrackKind.SUBTITLES) + .video(VideoAssetID.builder() .id("04ca6ae2-0dc3-487b-953e-86d6abbdf7d3") .build()) .label("English") - .status(VideoTextTrackStatusJson.STARTED) + .status(VideoTextTrackStatus.STARTED) .build()) .build(); @@ -470,9 +470,9 @@ public class Application { .textTrackId("04ca6ae2-0dc3-487b-953e-86d6abbdf7d3") .existingVideoTextTrack(ExistingVideoTextTrackInput.builder() .language("en-US") - .kind(VideoTextTrackKindJson.SUBTITLES) - .status(VideoTextTrackStatusJson.STARTED) - .video(VideoAssetIdJson.builder() + .kind(VideoTextTrackKind.SUBTITLES) + .status(VideoTextTrackStatus.STARTED) + .video(VideoAssetID.builder() .id("04ca6ae2-0dc3-487b-953e-86d6abbdf7d3") .build()) .label("English") diff --git a/packages/java/gradle.properties b/packages/java/gradle.properties index 496748b85..1c919434f 100644 --- a/packages/java/gradle.properties +++ b/packages/java/gradle.properties @@ -1,4 +1,4 @@ groupId=com.cvent artifactId=sdk -version=1.4.0 +version=1.5.0 org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g diff --git a/packages/java/src/main/java/com/cvent/AsyncEvents.java b/packages/java/src/main/java/com/cvent/AsyncEvents.java index 928d56d29..bf9781404 100644 --- a/packages/java/src/main/java/com/cvent/AsyncEvents.java +++ b/packages/java/src/main/java/com/cvent/AsyncEvents.java @@ -37,6 +37,9 @@ import com.cvent.models.operations.ListDonationItemsRequest; import com.cvent.models.operations.ListEventEmailsRequest; import com.cvent.models.operations.ListEventUserGroupsRequest; +import com.cvent.models.operations.ListEventVoucherAttendeesRequest; +import com.cvent.models.operations.ListEventVouchersPostFilterRequest; +import com.cvent.models.operations.ListEventVouchersRequest; import com.cvent.models.operations.ListFeeItemsRequest; import com.cvent.models.operations.ListMembershipItemsPostFilterRequest; import com.cvent.models.operations.ListMembershipItemsRequest; @@ -116,6 +119,12 @@ import com.cvent.models.operations.async.ListEventEmailsResponse; import com.cvent.models.operations.async.ListEventUserGroupsRequestBuilder; import com.cvent.models.operations.async.ListEventUserGroupsResponse; +import com.cvent.models.operations.async.ListEventVoucherAttendeesRequestBuilder; +import com.cvent.models.operations.async.ListEventVoucherAttendeesResponse; +import com.cvent.models.operations.async.ListEventVouchersPostFilterRequestBuilder; +import com.cvent.models.operations.async.ListEventVouchersPostFilterResponse; +import com.cvent.models.operations.async.ListEventVouchersRequestBuilder; +import com.cvent.models.operations.async.ListEventVouchersResponse; import com.cvent.models.operations.async.ListFeeItemsRequestBuilder; import com.cvent.models.operations.async.ListFeeItemsResponse; import com.cvent.models.operations.async.ListMembershipItemsPostFilterRequestBuilder; @@ -183,6 +192,9 @@ import com.cvent.operations.ListDonationItemsPostFilter; import com.cvent.operations.ListEventEmails; import com.cvent.operations.ListEventUserGroups; +import com.cvent.operations.ListEventVoucherAttendees; +import com.cvent.operations.ListEventVouchers; +import com.cvent.operations.ListEventVouchersPostFilter; import com.cvent.operations.ListFeeItems; import com.cvent.operations.ListMembershipItems; import com.cvent.operations.ListMembershipItemsPostFilter; @@ -2071,6 +2083,128 @@ public CompletableFuture disassociateEventUs return operation.doRequest(request).thenCompose(operation::handleResponse); } + /** + * List Event Vouchers + * + *

Retrieves a paginated list of vouchers set up for a specific event. + * + * @return The async call builder + */ + public ListEventVouchersRequestBuilder listEventVouchers() { + return new ListEventVouchersRequestBuilder(sdkConfiguration); + } + + /** + * List Event Vouchers + * + *

Retrieves a paginated list of vouchers set up for a specific event. + * + * @param request The request object containing all the parameters for the API call. + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture listEventVouchers(@Nonnull ListEventVouchersRequest request) { + return listEventVouchers(request, null); + } + + /** + * List Event Vouchers + * + *

Retrieves a paginated list of vouchers set up for a specific event. + * + * @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 listEventVouchers( + @Nonnull ListEventVouchersRequest request, @Nullable Options options) { + AsyncRequestOperation operation = + new ListEventVouchers.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(request).thenCompose(operation::handleResponse); + } + + /** + * List Event Vouchers (Filter) + * + *

Retrieves a paginated list of vouchers configured for an event using a filter provided in the body + * of the request. + * + * @return The async call builder + */ + public ListEventVouchersPostFilterRequestBuilder listEventVouchersPostFilter() { + return new ListEventVouchersPostFilterRequestBuilder(sdkConfiguration); + } + + /** + * List Event Vouchers (Filter) + * + *

Retrieves a paginated list of vouchers configured for an event using a filter provided in the body + * of the request. + * + * @param request The request object containing all the parameters for the API call. + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture listEventVouchersPostFilter( + @Nonnull ListEventVouchersPostFilterRequest request) { + return listEventVouchersPostFilter(request, null); + } + + /** + * List Event Vouchers (Filter) + * + *

Retrieves a paginated list of vouchers configured for an event using a filter provided in the body + * of the request. + * + * @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 listEventVouchersPostFilter( + @Nonnull ListEventVouchersPostFilterRequest request, @Nullable Options options) { + AsyncRequestOperation operation = + new ListEventVouchersPostFilter.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(request).thenCompose(operation::handleResponse); + } + + /** + * List Voucher Attendees + * + *

Retrieves a paginated list of attendees who have redeemed a specific voucher for the given event. + * + * @return The async call builder + */ + public ListEventVoucherAttendeesRequestBuilder listEventVoucherAttendees() { + return new ListEventVoucherAttendeesRequestBuilder(sdkConfiguration); + } + + /** + * List Voucher Attendees + * + *

Retrieves a paginated list of attendees who have redeemed a specific voucher for the given event. + * + * @param request The request object containing all the parameters for the API call. + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture listEventVoucherAttendees( + @Nonnull ListEventVoucherAttendeesRequest request) { + return listEventVoucherAttendees(request, null); + } + + /** + * List Voucher Attendees + * + *

Retrieves a paginated list of attendees who have redeemed a specific voucher for the given event. + * + * @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 listEventVoucherAttendees( + @Nonnull ListEventVoucherAttendeesRequest request, @Nullable Options options) { + AsyncRequestOperation operation = + new ListEventVoucherAttendees.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(request).thenCompose(operation::handleResponse); + } + /** * Update Quantity Item * diff --git a/packages/java/src/main/java/com/cvent/AsyncSpeakers.java b/packages/java/src/main/java/com/cvent/AsyncSpeakers.java index 44993bc01..9cbc38f00 100644 --- a/packages/java/src/main/java/com/cvent/AsyncSpeakers.java +++ b/packages/java/src/main/java/com/cvent/AsyncSpeakers.java @@ -6,7 +6,7 @@ import static com.cvent.operations.Operations.AsyncRequestOperation; import com.cvent.models.components.Speaker; -import com.cvent.models.components.SpeakerCategory; +import com.cvent.models.components.SpeakerCategory2; import com.cvent.models.operations.AddSpeakerDocRequest; import com.cvent.models.operations.AssignSpeakerProfileImageRequest; import com.cvent.models.operations.CreateSessionProgramSpeakerRequest; @@ -390,7 +390,7 @@ public AddSpeakerCategoryRequestBuilder addSpeakerCategory() { * @param request The request object containing all the parameters for the API call. * @return {@code CompletableFuture} - The async response */ - public CompletableFuture addSpeakerCategory(@Nonnull SpeakerCategory request) { + public CompletableFuture addSpeakerCategory(@Nonnull SpeakerCategory2 request) { return addSpeakerCategory(request, null); } @@ -406,8 +406,8 @@ public CompletableFuture addSpeakerCategory(@Nonnull * @return {@code CompletableFuture} - The async response */ public CompletableFuture addSpeakerCategory( - @Nonnull SpeakerCategory request, @Nullable Options options) { - AsyncRequestOperation operation = + @Nonnull SpeakerCategory2 request, @Nullable Options options) { + AsyncRequestOperation operation = new AddSpeakerCategory.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); return operation.doRequest(request).thenCompose(operation::handleResponse); } diff --git a/packages/java/src/main/java/com/cvent/Events.java b/packages/java/src/main/java/com/cvent/Events.java index 3ad4da4f3..de5c1c60a 100644 --- a/packages/java/src/main/java/com/cvent/Events.java +++ b/packages/java/src/main/java/com/cvent/Events.java @@ -99,6 +99,15 @@ import com.cvent.models.operations.ListEventUserGroupsRequest; import com.cvent.models.operations.ListEventUserGroupsRequestBuilder; import com.cvent.models.operations.ListEventUserGroupsResponse; +import com.cvent.models.operations.ListEventVoucherAttendeesRequest; +import com.cvent.models.operations.ListEventVoucherAttendeesRequestBuilder; +import com.cvent.models.operations.ListEventVoucherAttendeesResponse; +import com.cvent.models.operations.ListEventVouchersPostFilterRequest; +import com.cvent.models.operations.ListEventVouchersPostFilterRequestBuilder; +import com.cvent.models.operations.ListEventVouchersPostFilterResponse; +import com.cvent.models.operations.ListEventVouchersRequest; +import com.cvent.models.operations.ListEventVouchersRequestBuilder; +import com.cvent.models.operations.ListEventVouchersResponse; import com.cvent.models.operations.ListFeeItemsRequest; import com.cvent.models.operations.ListFeeItemsRequestBuilder; import com.cvent.models.operations.ListFeeItemsResponse; @@ -183,6 +192,9 @@ import com.cvent.operations.ListDonationItemsPostFilter; import com.cvent.operations.ListEventEmails; import com.cvent.operations.ListEventUserGroups; +import com.cvent.operations.ListEventVoucherAttendees; +import com.cvent.operations.ListEventVouchers; +import com.cvent.operations.ListEventVouchersPostFilter; import com.cvent.operations.ListFeeItems; import com.cvent.operations.ListMembershipItems; import com.cvent.operations.ListMembershipItemsPostFilter; @@ -2121,6 +2133,134 @@ public DisassociateEventUserGroupResponse disassociateEventUserGroup( return operation.handleResponse(operation.doRequest(request)); } + /** + * List Event Vouchers + * + *

Retrieves a paginated list of vouchers set up for a specific event. + * + * @return The call builder + */ + public ListEventVouchersRequestBuilder listEventVouchers() { + return new ListEventVouchersRequestBuilder(sdkConfiguration); + } + + /** + * List Event Vouchers + * + *

Retrieves a paginated list of vouchers set up for a specific event. + * + * @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 ListEventVouchersResponse listEventVouchers(@Nonnull ListEventVouchersRequest request) { + return listEventVouchers(request, null); + } + + /** + * List Event Vouchers + * + *

Retrieves a paginated list of vouchers set up for a specific event. + * + * @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 ListEventVouchersResponse listEventVouchers( + @Nonnull ListEventVouchersRequest request, @Nullable Options options) { + RequestOperation operation = + new ListEventVouchers.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(request)); + } + + /** + * List Event Vouchers (Filter) + * + *

Retrieves a paginated list of vouchers configured for an event using a filter provided in the body + * of the request. + * + * @return The call builder + */ + public ListEventVouchersPostFilterRequestBuilder listEventVouchersPostFilter() { + return new ListEventVouchersPostFilterRequestBuilder(sdkConfiguration); + } + + /** + * List Event Vouchers (Filter) + * + *

Retrieves a paginated list of vouchers configured for an event using a filter provided in the body + * of the request. + * + * @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 ListEventVouchersPostFilterResponse listEventVouchersPostFilter( + @Nonnull ListEventVouchersPostFilterRequest request) { + return listEventVouchersPostFilter(request, null); + } + + /** + * List Event Vouchers (Filter) + * + *

Retrieves a paginated list of vouchers configured for an event using a filter provided in the body + * of the request. + * + * @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 ListEventVouchersPostFilterResponse listEventVouchersPostFilter( + @Nonnull ListEventVouchersPostFilterRequest request, @Nullable Options options) { + RequestOperation operation = + new ListEventVouchersPostFilter.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(request)); + } + + /** + * List Voucher Attendees + * + *

Retrieves a paginated list of attendees who have redeemed a specific voucher for the given event. + * + * @return The call builder + */ + public ListEventVoucherAttendeesRequestBuilder listEventVoucherAttendees() { + return new ListEventVoucherAttendeesRequestBuilder(sdkConfiguration); + } + + /** + * List Voucher Attendees + * + *

Retrieves a paginated list of attendees who have redeemed a specific voucher for the given event. + * + * @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 ListEventVoucherAttendeesResponse listEventVoucherAttendees( + @Nonnull ListEventVoucherAttendeesRequest request) { + return listEventVoucherAttendees(request, null); + } + + /** + * List Voucher Attendees + * + *

Retrieves a paginated list of attendees who have redeemed a specific voucher for the given event. + * + * @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 ListEventVoucherAttendeesResponse listEventVoucherAttendees( + @Nonnull ListEventVoucherAttendeesRequest request, @Nullable Options options) { + RequestOperation operation = + new ListEventVoucherAttendees.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(request)); + } + /** * Update Quantity Item * diff --git a/packages/java/src/main/java/com/cvent/SDKConfiguration.java b/packages/java/src/main/java/com/cvent/SDKConfiguration.java index fb8cb54c9..28d56506f 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.4.0"; + public static final String SDK_VERSION = "1.5.0"; 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/Speakers.java b/packages/java/src/main/java/com/cvent/Speakers.java index 54117f2da..e0ee29a08 100644 --- a/packages/java/src/main/java/com/cvent/Speakers.java +++ b/packages/java/src/main/java/com/cvent/Speakers.java @@ -6,7 +6,7 @@ import static com.cvent.operations.Operations.RequestOperation; import com.cvent.models.components.Speaker; -import com.cvent.models.components.SpeakerCategory; +import com.cvent.models.components.SpeakerCategory2; import com.cvent.models.operations.AddSpeakerCategoryRequestBuilder; import com.cvent.models.operations.AddSpeakerCategoryResponse; import com.cvent.models.operations.AddSpeakerDocRequest; @@ -398,7 +398,7 @@ public AddSpeakerCategoryRequestBuilder addSpeakerCategory() { * @return The response from the API call * @throws RuntimeException subclass if the API call fails */ - public AddSpeakerCategoryResponse addSpeakerCategory(@Nonnull SpeakerCategory request) { + public AddSpeakerCategoryResponse addSpeakerCategory(@Nonnull SpeakerCategory2 request) { return addSpeakerCategory(request, null); } @@ -414,8 +414,8 @@ public AddSpeakerCategoryResponse addSpeakerCategory(@Nonnull SpeakerCategory re * @return The response from the API call * @throws RuntimeException subclass if the API call fails */ - public AddSpeakerCategoryResponse addSpeakerCategory(@Nonnull SpeakerCategory request, @Nullable Options options) { - RequestOperation operation = + public AddSpeakerCategoryResponse addSpeakerCategory(@Nonnull SpeakerCategory2 request, @Nullable Options options) { + RequestOperation operation = new AddSpeakerCategory.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 7ff942240..379d74410 100644 --- a/packages/java/src/main/java/com/cvent/hooks/OAuth2Scopes.java +++ b/packages/java/src/main/java/com/cvent/hooks/OAuth2Scopes.java @@ -186,6 +186,16 @@ public static enum OAuth2AuthorizationCode { */ BudgetTransactionsWrite("budget/transactions:write"), + /** + * Allows the reading of BT Bid data + */ + BusinessTransientBidsRead("business-transient/bids:read"), + + /** + * Allows the reading of BT Proposal data + */ + BusinessTransientProposalsRead("business-transient/proposals:read"), + /** * Allows the reading of communication compliance */ @@ -641,6 +651,11 @@ public static enum OAuth2AuthorizationCode { */ EventVideosWrite("event/videos:write"), + /** + * Allows reading of event vouchers and their associated attendees. + */ + EventVouchersRead("event/vouchers:read"), + /** * Allows the deletion of webcast */ @@ -1248,6 +1263,21 @@ public static enum OAuth2ClientCredentials { */ BusinessTransientTravelSupplierAccountsRead("business-transient/travel-supplier-accounts:read"), + /** + * Allows the reading of business travel account data. + */ + BusinessTravelTravelAccountsRead("business-travel/travel-accounts:read"), + + /** + * Allows the reading of business travel program question data. + */ + BusinessTravelTravelProgramQuestionsRead("business-travel/travel-program-questions:read"), + + /** + * Allows the reading of business travel program data. + */ + BusinessTravelTravelProgramsRead("business-travel/travel-programs:read"), + /** * Allows the reading of communication compliance */ @@ -1703,6 +1733,11 @@ public static enum OAuth2ClientCredentials { */ EventVideosWrite("event/videos:write"), + /** + * Allows reading of event vouchers. + */ + EventVouchersRead("event/vouchers:read"), + /** * Allows the deletion of webcast */ diff --git a/packages/java/src/main/java/com/cvent/models/components/AccountBudgetItemListResponseJson.java b/packages/java/src/main/java/com/cvent/models/components/AccountBudgetItemListResponseJson.java index 8c74a7075..2778cb013 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AccountBudgetItemListResponseJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/AccountBudgetItemListResponseJson.java @@ -55,14 +55,14 @@ public class AccountBudgetItemListResponseJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("event") - private EventJson2 event; + private EventJson1 event; /** * RFP ID Information. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("rfp") - private RfpIdJson1 rfp; + private RfpIdJson rfp; /** * Budget Version ID Information. @@ -119,8 +119,8 @@ public AccountBudgetItemListResponseJson( @JsonProperty("createdBy") @Nullable String createdBy, @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, - @JsonProperty("event") @Nullable EventJson2 event, - @JsonProperty("rfp") @Nullable RfpIdJson1 rfp, + @JsonProperty("event") @Nullable EventJson1 event, + @JsonProperty("rfp") @Nullable RfpIdJson rfp, @JsonProperty("budgetVersion") @Nullable BudgetVersionIdJson budgetVersion, @JsonProperty("id") @Nullable String id, @JsonProperty("name") @Nullable String name, @@ -178,14 +178,14 @@ public Optional lastModifiedBy() { /** * Event ID Information. */ - public Optional event() { + public Optional event() { return Optional.ofNullable(this.event); } /** * RFP ID Information. */ - public Optional rfp() { + public Optional rfp() { return Optional.ofNullable(this.rfp); } @@ -277,7 +277,7 @@ public AccountBudgetItemListResponseJson withLastModifiedBy(@Nullable String las /** * Event ID Information. */ - public AccountBudgetItemListResponseJson withEvent(@Nullable EventJson2 event) { + public AccountBudgetItemListResponseJson withEvent(@Nullable EventJson1 event) { this.event = event; return this; } @@ -285,7 +285,7 @@ public AccountBudgetItemListResponseJson withEvent(@Nullable EventJson2 event) { /** * RFP ID Information. */ - public AccountBudgetItemListResponseJson withRfp(@Nullable RfpIdJson1 rfp) { + public AccountBudgetItemListResponseJson withRfp(@Nullable RfpIdJson rfp) { this.rfp = rfp; return this; } @@ -431,9 +431,9 @@ public static final class Builder { private String lastModifiedBy; - private EventJson2 event; + private EventJson1 event; - private RfpIdJson1 rfp; + private RfpIdJson rfp; private BudgetVersionIdJson budgetVersion; @@ -488,7 +488,7 @@ public Builder lastModifiedBy(@Nullable String lastModifiedBy) { /** * Event ID Information. */ - public Builder event(@Nullable EventJson2 event) { + public Builder event(@Nullable EventJson1 event) { this.event = event; return this; } @@ -496,7 +496,7 @@ public Builder event(@Nullable EventJson2 event) { /** * RFP ID Information. */ - public Builder rfp(@Nullable RfpIdJson1 rfp) { + public Builder rfp(@Nullable RfpIdJson rfp) { this.rfp = rfp; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/Action.java b/packages/java/src/main/java/com/cvent/models/components/Action.java new file mode 100644 index 000000000..ed9a21f1d --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Action.java @@ -0,0 +1,39 @@ +/* + * 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; + +/** + * Action + * + *

Action to take for a compliance request. + */ +public enum Action { + DO_NOT_SELL("DO_NOT_SELL"), + OK_TO_SELL("OK_TO_SELL"); + + @JsonValue + private final String value; + + Action(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (Action o : Action.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/AdditionalChoice.java b/packages/java/src/main/java/com/cvent/models/components/AdditionalChoice.java index 2f8154686..07caeeb7e 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AdditionalChoice.java +++ b/packages/java/src/main/java/com/cvent/models/components/AdditionalChoice.java @@ -16,44 +16,68 @@ /** * AdditionalChoice * - *

Contains text of additional choice + *

Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. */ public class AdditionalChoice { /** - * Text Value of additional choice + * Display text of additional choice. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("text") private String text; + /** + * Name of additional choice text in reporting. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("shortText") + private String shortText; + @JsonCreator - public AdditionalChoice(@JsonProperty("text") @Nullable String text) { + public AdditionalChoice( + @JsonProperty("text") @Nullable String text, @JsonProperty("shortText") @Nullable String shortText) { this.text = text; + this.shortText = shortText; } public AdditionalChoice() { - this(null); + this(null, null); } /** - * Text Value of additional choice + * Display text of additional choice. */ public Optional text() { return Optional.ofNullable(this.text); } + /** + * Name of additional choice text in reporting. + */ + public Optional shortText() { + return Optional.ofNullable(this.shortText); + } + public static Builder builder() { return new Builder(); } /** - * Text Value of additional choice + * Display text of additional choice. */ public AdditionalChoice withText(@Nullable String text) { this.text = text; return this; } + /** + * Name of additional choice text in reporting. + */ + public AdditionalChoice withShortText(@Nullable String shortText) { + this.shortText = shortText; + return this; + } + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -63,17 +87,17 @@ public boolean equals(java.lang.Object o) { return false; } AdditionalChoice other = (AdditionalChoice) o; - return Utils.enhancedDeepEquals(this.text, other.text); + return Utils.enhancedDeepEquals(this.text, other.text) && Utils.enhancedDeepEquals(this.shortText, other.shortText); } @Override public int hashCode() { - return Utils.enhancedHash(text); + return Utils.enhancedHash(text, shortText); } @Override public String toString() { - return Utils.toString(AdditionalChoice.class, "text", text); + return Utils.toString(AdditionalChoice.class, "text", text, "shortText", shortText); } @SuppressWarnings("UnusedReturnValue") @@ -81,20 +105,30 @@ public static final class Builder { private String text; + private String shortText; + private Builder() { // force use of static builder() method } /** - * Text Value of additional choice + * Display text of additional choice. */ public Builder text(@Nullable String text) { this.text = text; return this; } + /** + * Name of additional choice text in reporting. + */ + public Builder shortText(@Nullable String shortText) { + this.shortText = shortText; + return this; + } + public AdditionalChoice build() { - return new AdditionalChoice(text); + return new AdditionalChoice(text, shortText); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/AdditionalChoice1.java b/packages/java/src/main/java/com/cvent/models/components/AdditionalChoice1.java new file mode 100644 index 000000000..a7b60b423 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/AdditionalChoice1.java @@ -0,0 +1,100 @@ +/* + * 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; + +/** + * AdditionalChoice1 + * + *

Contains text of additional choice + */ +public class AdditionalChoice1 { + /** + * Text Value of additional choice + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("text") + private String text; + + @JsonCreator + public AdditionalChoice1(@JsonProperty("text") @Nullable String text) { + this.text = text; + } + + public AdditionalChoice1() { + this(null); + } + + /** + * Text Value of additional choice + */ + public Optional text() { + return Optional.ofNullable(this.text); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Text Value of additional choice + */ + public AdditionalChoice1 withText(@Nullable String text) { + this.text = text; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AdditionalChoice1 other = (AdditionalChoice1) o; + return Utils.enhancedDeepEquals(this.text, other.text); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(text); + } + + @Override + public String toString() { + return Utils.toString(AdditionalChoice1.class, "text", text); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String text; + + private Builder() { + // force use of static builder() method + } + + /** + * Text Value of additional choice + */ + public Builder text(@Nullable String text) { + this.text = text; + return this; + } + + public AdditionalChoice1 build() { + return new AdditionalChoice1(text); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/AdditionalChoiceJson.java b/packages/java/src/main/java/com/cvent/models/components/AdditionalChoiceJson.java new file mode 100644 index 000000000..b1d09dc02 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/AdditionalChoiceJson.java @@ -0,0 +1,134 @@ +/* + * 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; + +/** + * AdditionalChoiceJson + * + *

Contains text of additional choice i.e N/A choice or otherAnswer choice + */ +public class AdditionalChoiceJson { + /** + * Text Value of additional choice + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("text") + private String text; + + /** + * Reporting value of additional choice text + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("shortText") + private String shortText; + + @JsonCreator + public AdditionalChoiceJson( + @JsonProperty("text") @Nullable String text, @JsonProperty("shortText") @Nullable String shortText) { + this.text = text; + this.shortText = shortText; + } + + public AdditionalChoiceJson() { + this(null, null); + } + + /** + * Text Value of additional choice + */ + public Optional text() { + return Optional.ofNullable(this.text); + } + + /** + * Reporting value of additional choice text + */ + public Optional shortText() { + return Optional.ofNullable(this.shortText); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Text Value of additional choice + */ + public AdditionalChoiceJson withText(@Nullable String text) { + this.text = text; + return this; + } + + /** + * Reporting value of additional choice text + */ + public AdditionalChoiceJson withShortText(@Nullable String shortText) { + this.shortText = shortText; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AdditionalChoiceJson other = (AdditionalChoiceJson) o; + return Utils.enhancedDeepEquals(this.text, other.text) && Utils.enhancedDeepEquals(this.shortText, other.shortText); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(text, shortText); + } + + @Override + public String toString() { + return Utils.toString(AdditionalChoiceJson.class, "text", text, "shortText", shortText); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String text; + + private String shortText; + + private Builder() { + // force use of static builder() method + } + + /** + * Text Value of additional choice + */ + public Builder text(@Nullable String text) { + this.text = text; + return this; + } + + /** + * Reporting value of additional choice text + */ + public Builder shortText(@Nullable String shortText) { + this.shortText = shortText; + return this; + } + + public AdditionalChoiceJson build() { + return new AdditionalChoiceJson(text, shortText); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/AdditionalChoiceJson1.java b/packages/java/src/main/java/com/cvent/models/components/AdditionalChoiceJson1.java deleted file mode 100644 index 88a5d8f59..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/AdditionalChoiceJson1.java +++ /dev/null @@ -1,134 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * AdditionalChoiceJson1 - * - *

Contains text of additional choice i.e N/A choice or otherAnswer choice - */ -public class AdditionalChoiceJson1 { - /** - * Text Value of additional choice - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("text") - private String text; - - /** - * Reporting value of additional choice text - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("shortText") - private String shortText; - - @JsonCreator - public AdditionalChoiceJson1( - @JsonProperty("text") @Nullable String text, @JsonProperty("shortText") @Nullable String shortText) { - this.text = text; - this.shortText = shortText; - } - - public AdditionalChoiceJson1() { - this(null, null); - } - - /** - * Text Value of additional choice - */ - public Optional text() { - return Optional.ofNullable(this.text); - } - - /** - * Reporting value of additional choice text - */ - public Optional shortText() { - return Optional.ofNullable(this.shortText); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Text Value of additional choice - */ - public AdditionalChoiceJson1 withText(@Nullable String text) { - this.text = text; - return this; - } - - /** - * Reporting value of additional choice text - */ - public AdditionalChoiceJson1 withShortText(@Nullable String shortText) { - this.shortText = shortText; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AdditionalChoiceJson1 other = (AdditionalChoiceJson1) o; - return Utils.enhancedDeepEquals(this.text, other.text) && Utils.enhancedDeepEquals(this.shortText, other.shortText); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(text, shortText); - } - - @Override - public String toString() { - return Utils.toString(AdditionalChoiceJson1.class, "text", text, "shortText", shortText); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String text; - - private String shortText; - - private Builder() { - // force use of static builder() method - } - - /** - * Text Value of additional choice - */ - public Builder text(@Nullable String text) { - this.text = text; - return this; - } - - /** - * Reporting value of additional choice text - */ - public Builder shortText(@Nullable String shortText) { - this.shortText = shortText; - return this; - } - - public AdditionalChoiceJson1 build() { - return new AdditionalChoiceJson1(text, shortText); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/AdditionalChoiceJson2.java b/packages/java/src/main/java/com/cvent/models/components/AdditionalChoiceJson2.java deleted file mode 100644 index a4c6b0623..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/AdditionalChoiceJson2.java +++ /dev/null @@ -1,134 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * AdditionalChoiceJson2 - * - *

Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. - */ -public class AdditionalChoiceJson2 { - /** - * Display text of additional choice. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("text") - private String text; - - /** - * Name of additional choice text in reporting. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("shortText") - private String shortText; - - @JsonCreator - public AdditionalChoiceJson2( - @JsonProperty("text") @Nullable String text, @JsonProperty("shortText") @Nullable String shortText) { - this.text = text; - this.shortText = shortText; - } - - public AdditionalChoiceJson2() { - this(null, null); - } - - /** - * Display text of additional choice. - */ - public Optional text() { - return Optional.ofNullable(this.text); - } - - /** - * Name of additional choice text in reporting. - */ - public Optional shortText() { - return Optional.ofNullable(this.shortText); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Display text of additional choice. - */ - public AdditionalChoiceJson2 withText(@Nullable String text) { - this.text = text; - return this; - } - - /** - * Name of additional choice text in reporting. - */ - public AdditionalChoiceJson2 withShortText(@Nullable String shortText) { - this.shortText = shortText; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AdditionalChoiceJson2 other = (AdditionalChoiceJson2) o; - return Utils.enhancedDeepEquals(this.text, other.text) && Utils.enhancedDeepEquals(this.shortText, other.shortText); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(text, shortText); - } - - @Override - public String toString() { - return Utils.toString(AdditionalChoiceJson2.class, "text", text, "shortText", shortText); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String text; - - private String shortText; - - private Builder() { - // force use of static builder() method - } - - /** - * Display text of additional choice. - */ - public Builder text(@Nullable String text) { - this.text = text; - return this; - } - - /** - * Name of additional choice text in reporting. - */ - public Builder shortText(@Nullable String shortText) { - this.shortText = shortText; - return this; - } - - public AdditionalChoiceJson2 build() { - return new AdditionalChoiceJson2(text, shortText); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/Address.java b/packages/java/src/main/java/com/cvent/models/components/Address.java new file mode 100644 index 000000000..ae9a82f1c --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Address.java @@ -0,0 +1,402 @@ +/* + * 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; + +/** + * Address + * + *

Contact address details. + */ +public class Address { + /** + * The first line of an address. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("address1") + private String address1; + + /** + * The second line of an address. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("address2") + private String address2; + + /** + * The third line of an address. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("address3") + private String address3; + + /** + * The name of the city. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("city") + private String city; + + /** + * ISO 3166 two-letter (alpha-2) country code. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("countryCode") + private String countryCode; + + /** + * Postal code (also known as zipcode) of the address. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("postalCode") + private String postalCode; + + /** + * The name of the state/province/region of the address. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("region") + private String region; + + /** + * The abbreviation of the state/province/region of the address. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("regionCode") + private String regionCode; + + /** + * Name of the country of the address. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("country") + private String country; + + @JsonCreator + public Address( + @JsonProperty("address1") @Nullable String address1, + @JsonProperty("address2") @Nullable String address2, + @JsonProperty("address3") @Nullable String address3, + @JsonProperty("city") @Nullable String city, + @JsonProperty("countryCode") @Nullable String countryCode, + @JsonProperty("postalCode") @Nullable String postalCode, + @JsonProperty("region") @Nullable String region, + @JsonProperty("regionCode") @Nullable String regionCode, + @JsonProperty("country") @Nullable String country) { + this.address1 = address1; + this.address2 = address2; + this.address3 = address3; + this.city = city; + this.countryCode = countryCode; + this.postalCode = postalCode; + this.region = region; + this.regionCode = regionCode; + this.country = country; + } + + public Address() { + this(null, null, null, null, null, null, null, null, null); + } + + /** + * The first line of an address. + */ + public Optional address1() { + return Optional.ofNullable(this.address1); + } + + /** + * The second line of an address. + */ + public Optional address2() { + return Optional.ofNullable(this.address2); + } + + /** + * The third line of an address. + */ + public Optional address3() { + return Optional.ofNullable(this.address3); + } + + /** + * The name of the city. + */ + public Optional city() { + return Optional.ofNullable(this.city); + } + + /** + * ISO 3166 two-letter (alpha-2) country code. + */ + public Optional countryCode() { + return Optional.ofNullable(this.countryCode); + } + + /** + * Postal code (also known as zipcode) of the address. + */ + public Optional postalCode() { + return Optional.ofNullable(this.postalCode); + } + + /** + * The name of the state/province/region of the address. + */ + public Optional region() { + return Optional.ofNullable(this.region); + } + + /** + * The abbreviation of the state/province/region of the address. + */ + public Optional regionCode() { + return Optional.ofNullable(this.regionCode); + } + + /** + * Name of the country of the address. + */ + public Optional country() { + return Optional.ofNullable(this.country); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The first line of an address. + */ + public Address withAddress1(@Nullable String address1) { + this.address1 = address1; + return this; + } + + /** + * The second line of an address. + */ + public Address withAddress2(@Nullable String address2) { + this.address2 = address2; + return this; + } + + /** + * The third line of an address. + */ + public Address withAddress3(@Nullable String address3) { + this.address3 = address3; + return this; + } + + /** + * The name of the city. + */ + public Address withCity(@Nullable String city) { + this.city = city; + return this; + } + + /** + * ISO 3166 two-letter (alpha-2) country code. + */ + public Address withCountryCode(@Nullable String countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * Postal code (also known as zipcode) of the address. + */ + public Address withPostalCode(@Nullable String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * The name of the state/province/region of the address. + */ + public Address withRegion(@Nullable String region) { + this.region = region; + return this; + } + + /** + * The abbreviation of the state/province/region of the address. + */ + public Address withRegionCode(@Nullable String regionCode) { + this.regionCode = regionCode; + return this; + } + + /** + * Name of the country of the address. + */ + public Address withCountry(@Nullable String 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; + } + Address other = (Address) o; + return Utils.enhancedDeepEquals(this.address1, other.address1) + && Utils.enhancedDeepEquals(this.address2, other.address2) + && Utils.enhancedDeepEquals(this.address3, other.address3) + && Utils.enhancedDeepEquals(this.city, other.city) + && Utils.enhancedDeepEquals(this.countryCode, other.countryCode) + && Utils.enhancedDeepEquals(this.postalCode, other.postalCode) + && Utils.enhancedDeepEquals(this.region, other.region) + && Utils.enhancedDeepEquals(this.regionCode, other.regionCode) + && Utils.enhancedDeepEquals(this.country, other.country); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + address1, address2, address3, city, countryCode, postalCode, region, regionCode, country); + } + + @Override + public String toString() { + return Utils.toString( + Address.class, + "address1", + address1, + "address2", + address2, + "address3", + address3, + "city", + city, + "countryCode", + countryCode, + "postalCode", + postalCode, + "region", + region, + "regionCode", + regionCode, + "country", + country); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String address1; + + private String address2; + + private String address3; + + private String city; + + private String countryCode; + + private String postalCode; + + private String region; + + private String regionCode; + + private String country; + + private Builder() { + // force use of static builder() method + } + + /** + * The first line of an address. + */ + public Builder address1(@Nullable String address1) { + this.address1 = address1; + return this; + } + + /** + * The second line of an address. + */ + public Builder address2(@Nullable String address2) { + this.address2 = address2; + return this; + } + + /** + * The third line of an address. + */ + public Builder address3(@Nullable String address3) { + this.address3 = address3; + return this; + } + + /** + * The name of the city. + */ + public Builder city(@Nullable String city) { + this.city = city; + return this; + } + + /** + * ISO 3166 two-letter (alpha-2) country code. + */ + public Builder countryCode(@Nullable String countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * Postal code (also known as zipcode) of the address. + */ + public Builder postalCode(@Nullable String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * The name of the state/province/region of the address. + */ + public Builder region(@Nullable String region) { + this.region = region; + return this; + } + + /** + * The abbreviation of the state/province/region of the address. + */ + public Builder regionCode(@Nullable String regionCode) { + this.regionCode = regionCode; + return this; + } + + /** + * Name of the country of the address. + */ + public Builder country(@Nullable String country) { + this.country = country; + return this; + } + + public Address build() { + return new Address( + address1, address2, address3, city, countryCode, postalCode, region, regionCode, country); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/Address1.java b/packages/java/src/main/java/com/cvent/models/components/Address1.java new file mode 100644 index 000000000..7637b095c --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Address1.java @@ -0,0 +1,171 @@ +/* + * 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.Optional; + +/** + * Address1 + * + *

Address details. + */ +public class Address1 { + /** + * ISO 3166 code for the country. + */ + @JsonProperty("countryCode") + private String countryCode; + + /** + * The name of the city. + */ + @JsonProperty("city") + private String city; + + /** + * ISO 3166-2 code for the state/province/region. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("regionCode") + private String regionCode; + + @JsonCreator + public Address1( + @JsonProperty("countryCode") @Nonnull String countryCode, + @JsonProperty("city") @Nonnull String city, + @JsonProperty("regionCode") @Nullable String regionCode) { + this.countryCode = Optional.ofNullable(countryCode) + .orElseThrow(() -> new IllegalArgumentException("countryCode cannot be null")); + this.city = Optional.ofNullable(city).orElseThrow(() -> new IllegalArgumentException("city cannot be null")); + this.regionCode = regionCode; + } + + public Address1(@Nonnull String countryCode, @Nonnull String city) { + this(countryCode, city, null); + } + + /** + * ISO 3166 code for the country. + */ + public String countryCode() { + return this.countryCode; + } + + /** + * The name of the city. + */ + public String city() { + return this.city; + } + + /** + * ISO 3166-2 code for the state/province/region. + */ + public Optional regionCode() { + return Optional.ofNullable(this.regionCode); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * ISO 3166 code for the country. + */ + public Address1 withCountryCode(@Nonnull String countryCode) { + this.countryCode = Utils.checkNotNull(countryCode, "countryCode"); + return this; + } + + /** + * The name of the city. + */ + public Address1 withCity(@Nonnull String city) { + this.city = Utils.checkNotNull(city, "city"); + return this; + } + + /** + * ISO 3166-2 code for the state/province/region. + */ + public Address1 withRegionCode(@Nullable String regionCode) { + this.regionCode = regionCode; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Address1 other = (Address1) o; + return Utils.enhancedDeepEquals(this.countryCode, other.countryCode) + && Utils.enhancedDeepEquals(this.city, other.city) + && Utils.enhancedDeepEquals(this.regionCode, other.regionCode); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(countryCode, city, regionCode); + } + + @Override + public String toString() { + return Utils.toString(Address1.class, "countryCode", countryCode, "city", city, "regionCode", regionCode); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String countryCode; + + private String city; + + private String regionCode; + + private Builder() { + // force use of static builder() method + } + + /** + * ISO 3166 code for the country. + */ + public Builder countryCode(@Nonnull String countryCode) { + this.countryCode = Utils.checkNotNull(countryCode, "countryCode"); + return this; + } + + /** + * The name of the city. + */ + public Builder city(@Nonnull String city) { + this.city = Utils.checkNotNull(city, "city"); + return this; + } + + /** + * ISO 3166-2 code for the state/province/region. + */ + public Builder regionCode(@Nullable String regionCode) { + this.regionCode = regionCode; + return this; + } + + public Address1 build() { + return new Address1(countryCode, city, regionCode); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/Address11.java b/packages/java/src/main/java/com/cvent/models/components/Address11.java index fb2034c9a..25659746a 100644 --- a/packages/java/src/main/java/com/cvent/models/components/Address11.java +++ b/packages/java/src/main/java/com/cvent/models/components/Address11.java @@ -9,7 +9,6 @@ import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonProperty; import jakarta.annotation.Nullable; -import java.lang.Long; import java.lang.Override; import java.lang.String; import java.util.Optional; @@ -17,30 +16,23 @@ /** * Address11 * - *

Address details + *

Schema for address information */ public class Address11 { /** - * The first line of an address. + * The first line of an address */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("address1") private String address1; /** - * The second line of an address. + * The second line of an address */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("address2") private String address2; - /** - * The third line of an address. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("address3") - private String address3; - /** * The name of the city. */ @@ -48,20 +40,6 @@ public class Address11 { @JsonProperty("city") private String city; - /** - * ISO 3166 two-letter (alpha-2) country code. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("countryCode") - private String countryCode; - - /** - * Postal code (also known as zipcode) of the address. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("postalCode") - private String postalCode; - /** * The name of the state/province/region of the address. */ @@ -77,77 +55,64 @@ public class Address11 { private String regionCode; /** - * Name of the country of the address. + * postal code (also known as zipcode) of the address */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("country") - private String country; + @JsonProperty("postalCode") + private String postalCode; /** - * The geo latitude of the address. + * Name of the country for example, 'United States' */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("latitude") - private Long latitude; + @JsonProperty("country") + private String country; /** - * The geo longitude of the address. + * ISO 3166 two-letter (alpha-2) country code */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("longitude") - private Long longitude; + @JsonProperty("countryCode") + private String countryCode; @JsonCreator public Address11( @JsonProperty("address1") @Nullable String address1, @JsonProperty("address2") @Nullable String address2, - @JsonProperty("address3") @Nullable String address3, @JsonProperty("city") @Nullable String city, - @JsonProperty("countryCode") @Nullable String countryCode, - @JsonProperty("postalCode") @Nullable String postalCode, @JsonProperty("region") @Nullable String region, @JsonProperty("regionCode") @Nullable String regionCode, + @JsonProperty("postalCode") @Nullable String postalCode, @JsonProperty("country") @Nullable String country, - @JsonProperty("latitude") @Nullable Long latitude, - @JsonProperty("longitude") @Nullable Long longitude) { + @JsonProperty("countryCode") @Nullable String countryCode) { this.address1 = address1; this.address2 = address2; - this.address3 = address3; this.city = city; - this.countryCode = countryCode; - this.postalCode = postalCode; this.region = region; this.regionCode = regionCode; + this.postalCode = postalCode; this.country = country; - this.latitude = latitude; - this.longitude = longitude; + this.countryCode = countryCode; } public Address11() { - this(null, null, null, null, null, null, null, null, null, null, null); + this(null, null, null, null, null, null, null, null); } /** - * The first line of an address. + * The first line of an address */ public Optional address1() { return Optional.ofNullable(this.address1); } /** - * The second line of an address. + * The second line of an address */ public Optional address2() { return Optional.ofNullable(this.address2); } - /** - * The third line of an address. - */ - public Optional address3() { - return Optional.ofNullable(this.address3); - } - /** * The name of the city. */ @@ -155,20 +120,6 @@ public Optional city() { return Optional.ofNullable(this.city); } - /** - * ISO 3166 two-letter (alpha-2) country code. - */ - public Optional countryCode() { - return Optional.ofNullable(this.countryCode); - } - - /** - * Postal code (also known as zipcode) of the address. - */ - public Optional postalCode() { - return Optional.ofNullable(this.postalCode); - } - /** * The name of the state/province/region of the address. */ @@ -184,24 +135,24 @@ public Optional regionCode() { } /** - * Name of the country of the address. + * postal code (also known as zipcode) of the address */ - public Optional country() { - return Optional.ofNullable(this.country); + public Optional postalCode() { + return Optional.ofNullable(this.postalCode); } /** - * The geo latitude of the address. + * Name of the country for example, 'United States' */ - public Optional latitude() { - return Optional.ofNullable(this.latitude); + public Optional country() { + return Optional.ofNullable(this.country); } /** - * The geo longitude of the address. + * ISO 3166 two-letter (alpha-2) country code */ - public Optional longitude() { - return Optional.ofNullable(this.longitude); + public Optional countryCode() { + return Optional.ofNullable(this.countryCode); } public static Builder builder() { @@ -209,7 +160,7 @@ public static Builder builder() { } /** - * The first line of an address. + * The first line of an address */ public Address11 withAddress1(@Nullable String address1) { this.address1 = address1; @@ -217,21 +168,13 @@ public Address11 withAddress1(@Nullable String address1) { } /** - * The second line of an address. + * The second line of an address */ public Address11 withAddress2(@Nullable String address2) { this.address2 = address2; return this; } - /** - * The third line of an address. - */ - public Address11 withAddress3(@Nullable String address3) { - this.address3 = address3; - return this; - } - /** * The name of the city. */ @@ -240,22 +183,6 @@ public Address11 withCity(@Nullable String city) { return this; } - /** - * ISO 3166 two-letter (alpha-2) country code. - */ - public Address11 withCountryCode(@Nullable String countryCode) { - this.countryCode = countryCode; - return this; - } - - /** - * Postal code (also known as zipcode) of the address. - */ - public Address11 withPostalCode(@Nullable String postalCode) { - this.postalCode = postalCode; - return this; - } - /** * The name of the state/province/region of the address. */ @@ -273,26 +200,26 @@ public Address11 withRegionCode(@Nullable String regionCode) { } /** - * Name of the country of the address. + * postal code (also known as zipcode) of the address */ - public Address11 withCountry(@Nullable String country) { - this.country = country; + public Address11 withPostalCode(@Nullable String postalCode) { + this.postalCode = postalCode; return this; } /** - * The geo latitude of the address. + * Name of the country for example, 'United States' */ - public Address11 withLatitude(@Nullable Long latitude) { - this.latitude = latitude; + public Address11 withCountry(@Nullable String country) { + this.country = country; return this; } /** - * The geo longitude of the address. + * ISO 3166 two-letter (alpha-2) country code */ - public Address11 withLongitude(@Nullable Long longitude) { - this.longitude = longitude; + public Address11 withCountryCode(@Nullable String countryCode) { + this.countryCode = countryCode; return this; } @@ -307,31 +234,17 @@ public boolean equals(java.lang.Object o) { Address11 other = (Address11) o; return Utils.enhancedDeepEquals(this.address1, other.address1) && Utils.enhancedDeepEquals(this.address2, other.address2) - && Utils.enhancedDeepEquals(this.address3, other.address3) && Utils.enhancedDeepEquals(this.city, other.city) - && Utils.enhancedDeepEquals(this.countryCode, other.countryCode) - && Utils.enhancedDeepEquals(this.postalCode, other.postalCode) && Utils.enhancedDeepEquals(this.region, other.region) && Utils.enhancedDeepEquals(this.regionCode, other.regionCode) + && Utils.enhancedDeepEquals(this.postalCode, other.postalCode) && Utils.enhancedDeepEquals(this.country, other.country) - && Utils.enhancedDeepEquals(this.latitude, other.latitude) - && Utils.enhancedDeepEquals(this.longitude, other.longitude); + && Utils.enhancedDeepEquals(this.countryCode, other.countryCode); } @Override public int hashCode() { - return Utils.enhancedHash( - address1, - address2, - address3, - city, - countryCode, - postalCode, - region, - regionCode, - country, - latitude, - longitude); + return Utils.enhancedHash(address1, address2, city, region, regionCode, postalCode, country, countryCode); } @Override @@ -342,24 +255,18 @@ public String toString() { address1, "address2", address2, - "address3", - address3, "city", city, - "countryCode", - countryCode, - "postalCode", - postalCode, "region", region, "regionCode", regionCode, + "postalCode", + postalCode, "country", country, - "latitude", - latitude, - "longitude", - longitude); + "countryCode", + countryCode); } @SuppressWarnings("UnusedReturnValue") @@ -369,30 +276,24 @@ public static final class Builder { private String address2; - private String address3; - private String city; - private String countryCode; - - private String postalCode; - private String region; private String regionCode; - private String country; + private String postalCode; - private Long latitude; + private String country; - private Long longitude; + private String countryCode; private Builder() { // force use of static builder() method } /** - * The first line of an address. + * The first line of an address */ public Builder address1(@Nullable String address1) { this.address1 = address1; @@ -400,21 +301,13 @@ public Builder address1(@Nullable String address1) { } /** - * The second line of an address. + * The second line of an address */ public Builder address2(@Nullable String address2) { this.address2 = address2; return this; } - /** - * The third line of an address. - */ - public Builder address3(@Nullable String address3) { - this.address3 = address3; - return this; - } - /** * The name of the city. */ @@ -423,22 +316,6 @@ public Builder city(@Nullable String city) { return this; } - /** - * ISO 3166 two-letter (alpha-2) country code. - */ - public Builder countryCode(@Nullable String countryCode) { - this.countryCode = countryCode; - return this; - } - - /** - * Postal code (also known as zipcode) of the address. - */ - public Builder postalCode(@Nullable String postalCode) { - this.postalCode = postalCode; - return this; - } - /** * The name of the state/province/region of the address. */ @@ -456,42 +333,31 @@ public Builder regionCode(@Nullable String regionCode) { } /** - * Name of the country of the address. + * postal code (also known as zipcode) of the address */ - public Builder country(@Nullable String country) { - this.country = country; + public Builder postalCode(@Nullable String postalCode) { + this.postalCode = postalCode; return this; } /** - * The geo latitude of the address. + * Name of the country for example, 'United States' */ - public Builder latitude(@Nullable Long latitude) { - this.latitude = latitude; + public Builder country(@Nullable String country) { + this.country = country; return this; } /** - * The geo longitude of the address. + * ISO 3166 two-letter (alpha-2) country code */ - public Builder longitude(@Nullable Long longitude) { - this.longitude = longitude; + public Builder countryCode(@Nullable String countryCode) { + this.countryCode = countryCode; return this; } public Address11 build() { - return new Address11( - address1, - address2, - address3, - city, - countryCode, - postalCode, - region, - regionCode, - country, - latitude, - longitude); + return new Address11(address1, address2, city, region, regionCode, postalCode, country, countryCode); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/Address12.java b/packages/java/src/main/java/com/cvent/models/components/Address12.java deleted file mode 100644 index 397ca1cb7..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/Address12.java +++ /dev/null @@ -1,363 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * Address12 - * - *

Schema for address information - */ -public class Address12 { - /** - * The first line of an address - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("address1") - private String address1; - - /** - * The second line of an address - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("address2") - private String address2; - - /** - * The name of the city. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("city") - private String city; - - /** - * The name of the state/province/region of the address. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("region") - private String region; - - /** - * The abbreviation of the state/province/region of the address. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("regionCode") - private String regionCode; - - /** - * postal code (also known as zipcode) of the address - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("postalCode") - private String postalCode; - - /** - * Name of the country for example, 'United States' - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("country") - private String country; - - /** - * ISO 3166 two-letter (alpha-2) country code - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("countryCode") - private String countryCode; - - @JsonCreator - public Address12( - @JsonProperty("address1") @Nullable String address1, - @JsonProperty("address2") @Nullable String address2, - @JsonProperty("city") @Nullable String city, - @JsonProperty("region") @Nullable String region, - @JsonProperty("regionCode") @Nullable String regionCode, - @JsonProperty("postalCode") @Nullable String postalCode, - @JsonProperty("country") @Nullable String country, - @JsonProperty("countryCode") @Nullable String countryCode) { - this.address1 = address1; - this.address2 = address2; - this.city = city; - this.region = region; - this.regionCode = regionCode; - this.postalCode = postalCode; - this.country = country; - this.countryCode = countryCode; - } - - public Address12() { - this(null, null, null, null, null, null, null, null); - } - - /** - * The first line of an address - */ - public Optional address1() { - return Optional.ofNullable(this.address1); - } - - /** - * The second line of an address - */ - public Optional address2() { - return Optional.ofNullable(this.address2); - } - - /** - * The name of the city. - */ - public Optional city() { - return Optional.ofNullable(this.city); - } - - /** - * The name of the state/province/region of the address. - */ - public Optional region() { - return Optional.ofNullable(this.region); - } - - /** - * The abbreviation of the state/province/region of the address. - */ - public Optional regionCode() { - return Optional.ofNullable(this.regionCode); - } - - /** - * postal code (also known as zipcode) of the address - */ - public Optional postalCode() { - return Optional.ofNullable(this.postalCode); - } - - /** - * Name of the country for example, 'United States' - */ - public Optional country() { - return Optional.ofNullable(this.country); - } - - /** - * ISO 3166 two-letter (alpha-2) country code - */ - public Optional countryCode() { - return Optional.ofNullable(this.countryCode); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The first line of an address - */ - public Address12 withAddress1(@Nullable String address1) { - this.address1 = address1; - return this; - } - - /** - * The second line of an address - */ - public Address12 withAddress2(@Nullable String address2) { - this.address2 = address2; - return this; - } - - /** - * The name of the city. - */ - public Address12 withCity(@Nullable String city) { - this.city = city; - return this; - } - - /** - * The name of the state/province/region of the address. - */ - public Address12 withRegion(@Nullable String region) { - this.region = region; - return this; - } - - /** - * The abbreviation of the state/province/region of the address. - */ - public Address12 withRegionCode(@Nullable String regionCode) { - this.regionCode = regionCode; - return this; - } - - /** - * postal code (also known as zipcode) of the address - */ - public Address12 withPostalCode(@Nullable String postalCode) { - this.postalCode = postalCode; - return this; - } - - /** - * Name of the country for example, 'United States' - */ - public Address12 withCountry(@Nullable String country) { - this.country = country; - return this; - } - - /** - * ISO 3166 two-letter (alpha-2) country code - */ - public Address12 withCountryCode(@Nullable String countryCode) { - this.countryCode = countryCode; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Address12 other = (Address12) o; - return Utils.enhancedDeepEquals(this.address1, other.address1) - && Utils.enhancedDeepEquals(this.address2, other.address2) - && Utils.enhancedDeepEquals(this.city, other.city) - && Utils.enhancedDeepEquals(this.region, other.region) - && Utils.enhancedDeepEquals(this.regionCode, other.regionCode) - && Utils.enhancedDeepEquals(this.postalCode, other.postalCode) - && Utils.enhancedDeepEquals(this.country, other.country) - && Utils.enhancedDeepEquals(this.countryCode, other.countryCode); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(address1, address2, city, region, regionCode, postalCode, country, countryCode); - } - - @Override - public String toString() { - return Utils.toString( - Address12.class, - "address1", - address1, - "address2", - address2, - "city", - city, - "region", - region, - "regionCode", - regionCode, - "postalCode", - postalCode, - "country", - country, - "countryCode", - countryCode); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String address1; - - private String address2; - - private String city; - - private String region; - - private String regionCode; - - private String postalCode; - - private String country; - - private String countryCode; - - private Builder() { - // force use of static builder() method - } - - /** - * The first line of an address - */ - public Builder address1(@Nullable String address1) { - this.address1 = address1; - return this; - } - - /** - * The second line of an address - */ - public Builder address2(@Nullable String address2) { - this.address2 = address2; - return this; - } - - /** - * The name of the city. - */ - public Builder city(@Nullable String city) { - this.city = city; - return this; - } - - /** - * The name of the state/province/region of the address. - */ - public Builder region(@Nullable String region) { - this.region = region; - return this; - } - - /** - * The abbreviation of the state/province/region of the address. - */ - public Builder regionCode(@Nullable String regionCode) { - this.regionCode = regionCode; - return this; - } - - /** - * postal code (also known as zipcode) of the address - */ - public Builder postalCode(@Nullable String postalCode) { - this.postalCode = postalCode; - return this; - } - - /** - * Name of the country for example, 'United States' - */ - public Builder country(@Nullable String country) { - this.country = country; - return this; - } - - /** - * ISO 3166 two-letter (alpha-2) country code - */ - public Builder countryCode(@Nullable String countryCode) { - this.countryCode = countryCode; - return this; - } - - public Address12 build() { - return new Address12(address1, address2, city, region, regionCode, postalCode, country, countryCode); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/Address2.java b/packages/java/src/main/java/com/cvent/models/components/Address2.java deleted file mode 100644 index 1ebb1fc31..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/Address2.java +++ /dev/null @@ -1,289 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * Address2 - * - *

An object representing an address with various properties. - */ -public class Address2 { - /** - * The first line of an address - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("address1") - private String address1; - - /** - * The second line of an address - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("address2") - private String address2; - - /** - * The name of the city. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("city") - private String city; - - /** - * The name of the state/province/region of the address. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("region") - private String region; - - /** - * postal code (also known as zipcode) of the address - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("postalCode") - private String postalCode; - - /** - * Name of the country for example, 'United States' - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("country") - private String country; - - @JsonCreator - public Address2( - @JsonProperty("address1") @Nullable String address1, - @JsonProperty("address2") @Nullable String address2, - @JsonProperty("city") @Nullable String city, - @JsonProperty("region") @Nullable String region, - @JsonProperty("postalCode") @Nullable String postalCode, - @JsonProperty("country") @Nullable String country) { - this.address1 = address1; - this.address2 = address2; - this.city = city; - this.region = region; - this.postalCode = postalCode; - this.country = country; - } - - public Address2() { - this(null, null, null, null, null, null); - } - - /** - * The first line of an address - */ - public Optional address1() { - return Optional.ofNullable(this.address1); - } - - /** - * The second line of an address - */ - public Optional address2() { - return Optional.ofNullable(this.address2); - } - - /** - * The name of the city. - */ - public Optional city() { - return Optional.ofNullable(this.city); - } - - /** - * The name of the state/province/region of the address. - */ - public Optional region() { - return Optional.ofNullable(this.region); - } - - /** - * postal code (also known as zipcode) of the address - */ - public Optional postalCode() { - return Optional.ofNullable(this.postalCode); - } - - /** - * Name of the country for example, 'United States' - */ - public Optional country() { - return Optional.ofNullable(this.country); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The first line of an address - */ - public Address2 withAddress1(@Nullable String address1) { - this.address1 = address1; - return this; - } - - /** - * The second line of an address - */ - public Address2 withAddress2(@Nullable String address2) { - this.address2 = address2; - return this; - } - - /** - * The name of the city. - */ - public Address2 withCity(@Nullable String city) { - this.city = city; - return this; - } - - /** - * The name of the state/province/region of the address. - */ - public Address2 withRegion(@Nullable String region) { - this.region = region; - return this; - } - - /** - * postal code (also known as zipcode) of the address - */ - public Address2 withPostalCode(@Nullable String postalCode) { - this.postalCode = postalCode; - return this; - } - - /** - * Name of the country for example, 'United States' - */ - public Address2 withCountry(@Nullable String 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; - } - Address2 other = (Address2) o; - return Utils.enhancedDeepEquals(this.address1, other.address1) - && Utils.enhancedDeepEquals(this.address2, other.address2) - && Utils.enhancedDeepEquals(this.city, other.city) - && Utils.enhancedDeepEquals(this.region, other.region) - && Utils.enhancedDeepEquals(this.postalCode, other.postalCode) - && Utils.enhancedDeepEquals(this.country, other.country); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(address1, address2, city, region, postalCode, country); - } - - @Override - public String toString() { - return Utils.toString( - Address2.class, - "address1", - address1, - "address2", - address2, - "city", - city, - "region", - region, - "postalCode", - postalCode, - "country", - country); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String address1; - - private String address2; - - private String city; - - private String region; - - private String postalCode; - - private String country; - - private Builder() { - // force use of static builder() method - } - - /** - * The first line of an address - */ - public Builder address1(@Nullable String address1) { - this.address1 = address1; - return this; - } - - /** - * The second line of an address - */ - public Builder address2(@Nullable String address2) { - this.address2 = address2; - return this; - } - - /** - * The name of the city. - */ - public Builder city(@Nullable String city) { - this.city = city; - return this; - } - - /** - * The name of the state/province/region of the address. - */ - public Builder region(@Nullable String region) { - this.region = region; - return this; - } - - /** - * postal code (also known as zipcode) of the address - */ - public Builder postalCode(@Nullable String postalCode) { - this.postalCode = postalCode; - return this; - } - - /** - * Name of the country for example, 'United States' - */ - public Builder country(@Nullable String country) { - this.country = country; - return this; - } - - public Address2 build() { - return new Address2(address1, address2, city, region, postalCode, country); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/Address3.java b/packages/java/src/main/java/com/cvent/models/components/Address3.java index e1225164a..491d4b948 100644 --- a/packages/java/src/main/java/com/cvent/models/components/Address3.java +++ b/packages/java/src/main/java/com/cvent/models/components/Address3.java @@ -9,6 +9,7 @@ import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonProperty; import jakarta.annotation.Nullable; +import java.lang.Long; import java.lang.Override; import java.lang.String; import java.util.Optional; @@ -16,7 +17,7 @@ /** * Address3 * - *

Address of the hotel. + *

Address details */ public class Address3 { /** @@ -76,12 +77,26 @@ public class Address3 { private String regionCode; /** - * Name of the country. + * Name of the country of the address. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("country") private String country; + /** + * The geo latitude of the address. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("latitude") + private Long latitude; + + /** + * The geo longitude of the address. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("longitude") + private Long longitude; + @JsonCreator public Address3( @JsonProperty("address1") @Nullable String address1, @@ -92,7 +107,9 @@ public Address3( @JsonProperty("postalCode") @Nullable String postalCode, @JsonProperty("region") @Nullable String region, @JsonProperty("regionCode") @Nullable String regionCode, - @JsonProperty("country") @Nullable String country) { + @JsonProperty("country") @Nullable String country, + @JsonProperty("latitude") @Nullable Long latitude, + @JsonProperty("longitude") @Nullable Long longitude) { this.address1 = address1; this.address2 = address2; this.address3 = address3; @@ -102,10 +119,12 @@ public Address3( this.region = region; this.regionCode = regionCode; this.country = country; + this.latitude = latitude; + this.longitude = longitude; } public Address3() { - this(null, null, null, null, null, null, null, null, null); + this(null, null, null, null, null, null, null, null, null, null, null); } /** @@ -165,12 +184,26 @@ public Optional regionCode() { } /** - * Name of the country. + * Name of the country of the address. */ public Optional country() { return Optional.ofNullable(this.country); } + /** + * The geo latitude of the address. + */ + public Optional latitude() { + return Optional.ofNullable(this.latitude); + } + + /** + * The geo longitude of the address. + */ + public Optional longitude() { + return Optional.ofNullable(this.longitude); + } + public static Builder builder() { return new Builder(); } @@ -240,13 +273,29 @@ public Address3 withRegionCode(@Nullable String regionCode) { } /** - * Name of the country. + * Name of the country of the address. */ public Address3 withCountry(@Nullable String country) { this.country = country; return this; } + /** + * The geo latitude of the address. + */ + public Address3 withLatitude(@Nullable Long latitude) { + this.latitude = latitude; + return this; + } + + /** + * The geo longitude of the address. + */ + public Address3 withLongitude(@Nullable Long longitude) { + this.longitude = longitude; + return this; + } + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -264,13 +313,25 @@ public boolean equals(java.lang.Object o) { && Utils.enhancedDeepEquals(this.postalCode, other.postalCode) && Utils.enhancedDeepEquals(this.region, other.region) && Utils.enhancedDeepEquals(this.regionCode, other.regionCode) - && Utils.enhancedDeepEquals(this.country, other.country); + && Utils.enhancedDeepEquals(this.country, other.country) + && Utils.enhancedDeepEquals(this.latitude, other.latitude) + && Utils.enhancedDeepEquals(this.longitude, other.longitude); } @Override public int hashCode() { return Utils.enhancedHash( - address1, address2, address3, city, countryCode, postalCode, region, regionCode, country); + address1, + address2, + address3, + city, + countryCode, + postalCode, + region, + regionCode, + country, + latitude, + longitude); } @Override @@ -294,7 +355,11 @@ public String toString() { "regionCode", regionCode, "country", - country); + country, + "latitude", + latitude, + "longitude", + longitude); } @SuppressWarnings("UnusedReturnValue") @@ -318,6 +383,10 @@ public static final class Builder { private String country; + private Long latitude; + + private Long longitude; + private Builder() { // force use of static builder() method } @@ -387,16 +456,42 @@ public Builder regionCode(@Nullable String regionCode) { } /** - * Name of the country. + * Name of the country of the address. */ public Builder country(@Nullable String country) { this.country = country; return this; } + /** + * The geo latitude of the address. + */ + public Builder latitude(@Nullable Long latitude) { + this.latitude = latitude; + return this; + } + + /** + * The geo longitude of the address. + */ + public Builder longitude(@Nullable Long longitude) { + this.longitude = longitude; + return this; + } + public Address3 build() { return new Address3( - address1, address2, address3, city, countryCode, postalCode, region, regionCode, country); + address1, + address2, + address3, + city, + countryCode, + postalCode, + region, + regionCode, + country, + latitude, + longitude); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/Address4.java b/packages/java/src/main/java/com/cvent/models/components/Address4.java new file mode 100644 index 000000000..eb946d1f8 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Address4.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; + +/** + * Address4 + * + *

An object representing an address with various properties. + */ +public class Address4 { + /** + * The first line of an address + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("address1") + private String address1; + + /** + * The second line of an address + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("address2") + private String address2; + + /** + * The name of the city. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("city") + private String city; + + /** + * The name of the state/province/region of the address. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("region") + private String region; + + /** + * postal code (also known as zipcode) of the address + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("postalCode") + private String postalCode; + + /** + * Name of the country for example, 'United States' + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("country") + private String country; + + @JsonCreator + public Address4( + @JsonProperty("address1") @Nullable String address1, + @JsonProperty("address2") @Nullable String address2, + @JsonProperty("city") @Nullable String city, + @JsonProperty("region") @Nullable String region, + @JsonProperty("postalCode") @Nullable String postalCode, + @JsonProperty("country") @Nullable String country) { + this.address1 = address1; + this.address2 = address2; + this.city = city; + this.region = region; + this.postalCode = postalCode; + this.country = country; + } + + public Address4() { + this(null, null, null, null, null, null); + } + + /** + * The first line of an address + */ + public Optional address1() { + return Optional.ofNullable(this.address1); + } + + /** + * The second line of an address + */ + public Optional address2() { + return Optional.ofNullable(this.address2); + } + + /** + * The name of the city. + */ + public Optional city() { + return Optional.ofNullable(this.city); + } + + /** + * The name of the state/province/region of the address. + */ + public Optional region() { + return Optional.ofNullable(this.region); + } + + /** + * postal code (also known as zipcode) of the address + */ + public Optional postalCode() { + return Optional.ofNullable(this.postalCode); + } + + /** + * Name of the country for example, 'United States' + */ + public Optional country() { + return Optional.ofNullable(this.country); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The first line of an address + */ + public Address4 withAddress1(@Nullable String address1) { + this.address1 = address1; + return this; + } + + /** + * The second line of an address + */ + public Address4 withAddress2(@Nullable String address2) { + this.address2 = address2; + return this; + } + + /** + * The name of the city. + */ + public Address4 withCity(@Nullable String city) { + this.city = city; + return this; + } + + /** + * The name of the state/province/region of the address. + */ + public Address4 withRegion(@Nullable String region) { + this.region = region; + return this; + } + + /** + * postal code (also known as zipcode) of the address + */ + public Address4 withPostalCode(@Nullable String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * Name of the country for example, 'United States' + */ + public Address4 withCountry(@Nullable String 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; + } + Address4 other = (Address4) o; + return Utils.enhancedDeepEquals(this.address1, other.address1) + && Utils.enhancedDeepEquals(this.address2, other.address2) + && Utils.enhancedDeepEquals(this.city, other.city) + && Utils.enhancedDeepEquals(this.region, other.region) + && Utils.enhancedDeepEquals(this.postalCode, other.postalCode) + && Utils.enhancedDeepEquals(this.country, other.country); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(address1, address2, city, region, postalCode, country); + } + + @Override + public String toString() { + return Utils.toString( + Address4.class, + "address1", + address1, + "address2", + address2, + "city", + city, + "region", + region, + "postalCode", + postalCode, + "country", + country); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String address1; + + private String address2; + + private String city; + + private String region; + + private String postalCode; + + private String country; + + private Builder() { + // force use of static builder() method + } + + /** + * The first line of an address + */ + public Builder address1(@Nullable String address1) { + this.address1 = address1; + return this; + } + + /** + * The second line of an address + */ + public Builder address2(@Nullable String address2) { + this.address2 = address2; + return this; + } + + /** + * The name of the city. + */ + public Builder city(@Nullable String city) { + this.city = city; + return this; + } + + /** + * The name of the state/province/region of the address. + */ + public Builder region(@Nullable String region) { + this.region = region; + return this; + } + + /** + * postal code (also known as zipcode) of the address + */ + public Builder postalCode(@Nullable String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * Name of the country for example, 'United States' + */ + public Builder country(@Nullable String country) { + this.country = country; + return this; + } + + public Address4 build() { + return new Address4(address1, address2, city, region, postalCode, country); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/Address5.java b/packages/java/src/main/java/com/cvent/models/components/Address5.java new file mode 100644 index 000000000..78e3a83df --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Address5.java @@ -0,0 +1,402 @@ +/* + * 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; + +/** + * Address5 + * + *

Address of the hotel. + */ +public class Address5 { + /** + * The first line of an address. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("address1") + private String address1; + + /** + * The second line of an address. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("address2") + private String address2; + + /** + * The third line of an address. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("address3") + private String address3; + + /** + * The name of the city. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("city") + private String city; + + /** + * ISO 3166 two-letter (alpha-2) country code. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("countryCode") + private String countryCode; + + /** + * Postal code (also known as zipcode) of the address. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("postalCode") + private String postalCode; + + /** + * The name of the state/province/region of the address. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("region") + private String region; + + /** + * The abbreviation of the state/province/region of the address. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("regionCode") + private String regionCode; + + /** + * Name of the country. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("country") + private String country; + + @JsonCreator + public Address5( + @JsonProperty("address1") @Nullable String address1, + @JsonProperty("address2") @Nullable String address2, + @JsonProperty("address3") @Nullable String address3, + @JsonProperty("city") @Nullable String city, + @JsonProperty("countryCode") @Nullable String countryCode, + @JsonProperty("postalCode") @Nullable String postalCode, + @JsonProperty("region") @Nullable String region, + @JsonProperty("regionCode") @Nullable String regionCode, + @JsonProperty("country") @Nullable String country) { + this.address1 = address1; + this.address2 = address2; + this.address3 = address3; + this.city = city; + this.countryCode = countryCode; + this.postalCode = postalCode; + this.region = region; + this.regionCode = regionCode; + this.country = country; + } + + public Address5() { + this(null, null, null, null, null, null, null, null, null); + } + + /** + * The first line of an address. + */ + public Optional address1() { + return Optional.ofNullable(this.address1); + } + + /** + * The second line of an address. + */ + public Optional address2() { + return Optional.ofNullable(this.address2); + } + + /** + * The third line of an address. + */ + public Optional address3() { + return Optional.ofNullable(this.address3); + } + + /** + * The name of the city. + */ + public Optional city() { + return Optional.ofNullable(this.city); + } + + /** + * ISO 3166 two-letter (alpha-2) country code. + */ + public Optional countryCode() { + return Optional.ofNullable(this.countryCode); + } + + /** + * Postal code (also known as zipcode) of the address. + */ + public Optional postalCode() { + return Optional.ofNullable(this.postalCode); + } + + /** + * The name of the state/province/region of the address. + */ + public Optional region() { + return Optional.ofNullable(this.region); + } + + /** + * The abbreviation of the state/province/region of the address. + */ + public Optional regionCode() { + return Optional.ofNullable(this.regionCode); + } + + /** + * Name of the country. + */ + public Optional country() { + return Optional.ofNullable(this.country); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The first line of an address. + */ + public Address5 withAddress1(@Nullable String address1) { + this.address1 = address1; + return this; + } + + /** + * The second line of an address. + */ + public Address5 withAddress2(@Nullable String address2) { + this.address2 = address2; + return this; + } + + /** + * The third line of an address. + */ + public Address5 withAddress3(@Nullable String address3) { + this.address3 = address3; + return this; + } + + /** + * The name of the city. + */ + public Address5 withCity(@Nullable String city) { + this.city = city; + return this; + } + + /** + * ISO 3166 two-letter (alpha-2) country code. + */ + public Address5 withCountryCode(@Nullable String countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * Postal code (also known as zipcode) of the address. + */ + public Address5 withPostalCode(@Nullable String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * The name of the state/province/region of the address. + */ + public Address5 withRegion(@Nullable String region) { + this.region = region; + return this; + } + + /** + * The abbreviation of the state/province/region of the address. + */ + public Address5 withRegionCode(@Nullable String regionCode) { + this.regionCode = regionCode; + return this; + } + + /** + * Name of the country. + */ + public Address5 withCountry(@Nullable String 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; + } + Address5 other = (Address5) o; + return Utils.enhancedDeepEquals(this.address1, other.address1) + && Utils.enhancedDeepEquals(this.address2, other.address2) + && Utils.enhancedDeepEquals(this.address3, other.address3) + && Utils.enhancedDeepEquals(this.city, other.city) + && Utils.enhancedDeepEquals(this.countryCode, other.countryCode) + && Utils.enhancedDeepEquals(this.postalCode, other.postalCode) + && Utils.enhancedDeepEquals(this.region, other.region) + && Utils.enhancedDeepEquals(this.regionCode, other.regionCode) + && Utils.enhancedDeepEquals(this.country, other.country); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + address1, address2, address3, city, countryCode, postalCode, region, regionCode, country); + } + + @Override + public String toString() { + return Utils.toString( + Address5.class, + "address1", + address1, + "address2", + address2, + "address3", + address3, + "city", + city, + "countryCode", + countryCode, + "postalCode", + postalCode, + "region", + region, + "regionCode", + regionCode, + "country", + country); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String address1; + + private String address2; + + private String address3; + + private String city; + + private String countryCode; + + private String postalCode; + + private String region; + + private String regionCode; + + private String country; + + private Builder() { + // force use of static builder() method + } + + /** + * The first line of an address. + */ + public Builder address1(@Nullable String address1) { + this.address1 = address1; + return this; + } + + /** + * The second line of an address. + */ + public Builder address2(@Nullable String address2) { + this.address2 = address2; + return this; + } + + /** + * The third line of an address. + */ + public Builder address3(@Nullable String address3) { + this.address3 = address3; + return this; + } + + /** + * The name of the city. + */ + public Builder city(@Nullable String city) { + this.city = city; + return this; + } + + /** + * ISO 3166 two-letter (alpha-2) country code. + */ + public Builder countryCode(@Nullable String countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * Postal code (also known as zipcode) of the address. + */ + public Builder postalCode(@Nullable String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * The name of the state/province/region of the address. + */ + public Builder region(@Nullable String region) { + this.region = region; + return this; + } + + /** + * The abbreviation of the state/province/region of the address. + */ + public Builder regionCode(@Nullable String regionCode) { + this.regionCode = regionCode; + return this; + } + + /** + * Name of the country. + */ + public Builder country(@Nullable String country) { + this.country = country; + return this; + } + + public Address5 build() { + return new Address5( + address1, address2, address3, city, countryCode, postalCode, region, regionCode, country); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/Address6.java b/packages/java/src/main/java/com/cvent/models/components/Address6.java new file mode 100644 index 000000000..f253cf973 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Address6.java @@ -0,0 +1,363 @@ +/* + * 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; + +/** + * Address6 + * + *

Address details. + */ +public class Address6 { + /** + * Address line 1. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("address1") + private String address1; + + /** + * Address line 2. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("address2") + private String address2; + + /** + * City name. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("city") + private String city; + + /** + * Region name. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("region") + private String region; + + /** + * Region code. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("regionCode") + private String regionCode; + + /** + * Postal code. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("postalCode") + private String postalCode; + + /** + * Country name. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("country") + private String country; + + /** + * ISO 3166 alpha-2 country code. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("countryCode") + private String countryCode; + + @JsonCreator + public Address6( + @JsonProperty("address1") @Nullable String address1, + @JsonProperty("address2") @Nullable String address2, + @JsonProperty("city") @Nullable String city, + @JsonProperty("region") @Nullable String region, + @JsonProperty("regionCode") @Nullable String regionCode, + @JsonProperty("postalCode") @Nullable String postalCode, + @JsonProperty("country") @Nullable String country, + @JsonProperty("countryCode") @Nullable String countryCode) { + this.address1 = address1; + this.address2 = address2; + this.city = city; + this.region = region; + this.regionCode = regionCode; + this.postalCode = postalCode; + this.country = country; + this.countryCode = countryCode; + } + + public Address6() { + this(null, null, null, null, null, null, null, null); + } + + /** + * Address line 1. + */ + public Optional address1() { + return Optional.ofNullable(this.address1); + } + + /** + * Address line 2. + */ + public Optional address2() { + return Optional.ofNullable(this.address2); + } + + /** + * City name. + */ + public Optional city() { + return Optional.ofNullable(this.city); + } + + /** + * Region name. + */ + public Optional region() { + return Optional.ofNullable(this.region); + } + + /** + * Region code. + */ + public Optional regionCode() { + return Optional.ofNullable(this.regionCode); + } + + /** + * Postal code. + */ + public Optional postalCode() { + return Optional.ofNullable(this.postalCode); + } + + /** + * Country name. + */ + public Optional country() { + return Optional.ofNullable(this.country); + } + + /** + * ISO 3166 alpha-2 country code. + */ + public Optional countryCode() { + return Optional.ofNullable(this.countryCode); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Address line 1. + */ + public Address6 withAddress1(@Nullable String address1) { + this.address1 = address1; + return this; + } + + /** + * Address line 2. + */ + public Address6 withAddress2(@Nullable String address2) { + this.address2 = address2; + return this; + } + + /** + * City name. + */ + public Address6 withCity(@Nullable String city) { + this.city = city; + return this; + } + + /** + * Region name. + */ + public Address6 withRegion(@Nullable String region) { + this.region = region; + return this; + } + + /** + * Region code. + */ + public Address6 withRegionCode(@Nullable String regionCode) { + this.regionCode = regionCode; + return this; + } + + /** + * Postal code. + */ + public Address6 withPostalCode(@Nullable String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * Country name. + */ + public Address6 withCountry(@Nullable String country) { + this.country = country; + return this; + } + + /** + * ISO 3166 alpha-2 country code. + */ + public Address6 withCountryCode(@Nullable String countryCode) { + this.countryCode = countryCode; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Address6 other = (Address6) o; + return Utils.enhancedDeepEquals(this.address1, other.address1) + && Utils.enhancedDeepEquals(this.address2, other.address2) + && Utils.enhancedDeepEquals(this.city, other.city) + && Utils.enhancedDeepEquals(this.region, other.region) + && Utils.enhancedDeepEquals(this.regionCode, other.regionCode) + && Utils.enhancedDeepEquals(this.postalCode, other.postalCode) + && Utils.enhancedDeepEquals(this.country, other.country) + && Utils.enhancedDeepEquals(this.countryCode, other.countryCode); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(address1, address2, city, region, regionCode, postalCode, country, countryCode); + } + + @Override + public String toString() { + return Utils.toString( + Address6.class, + "address1", + address1, + "address2", + address2, + "city", + city, + "region", + region, + "regionCode", + regionCode, + "postalCode", + postalCode, + "country", + country, + "countryCode", + countryCode); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String address1; + + private String address2; + + private String city; + + private String region; + + private String regionCode; + + private String postalCode; + + private String country; + + private String countryCode; + + private Builder() { + // force use of static builder() method + } + + /** + * Address line 1. + */ + public Builder address1(@Nullable String address1) { + this.address1 = address1; + return this; + } + + /** + * Address line 2. + */ + public Builder address2(@Nullable String address2) { + this.address2 = address2; + return this; + } + + /** + * City name. + */ + public Builder city(@Nullable String city) { + this.city = city; + return this; + } + + /** + * Region name. + */ + public Builder region(@Nullable String region) { + this.region = region; + return this; + } + + /** + * Region code. + */ + public Builder regionCode(@Nullable String regionCode) { + this.regionCode = regionCode; + return this; + } + + /** + * Postal code. + */ + public Builder postalCode(@Nullable String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * Country name. + */ + public Builder country(@Nullable String country) { + this.country = country; + return this; + } + + /** + * ISO 3166 alpha-2 country code. + */ + public Builder countryCode(@Nullable String countryCode) { + this.countryCode = countryCode; + return this; + } + + public Address6 build() { + return new Address6(address1, address2, city, region, regionCode, postalCode, country, countryCode); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/AddressInput.java b/packages/java/src/main/java/com/cvent/models/components/AddressInput.java new file mode 100644 index 000000000..4421c14fc --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/AddressInput.java @@ -0,0 +1,326 @@ +/* + * 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; + +/** + * AddressInput + * + *

Contact address details. + */ +public class AddressInput { + /** + * The first line of an address. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("address1") + private String address1; + + /** + * The second line of an address. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("address2") + private String address2; + + /** + * The third line of an address. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("address3") + private String address3; + + /** + * The name of the city. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("city") + private String city; + + /** + * ISO 3166 two-letter (alpha-2) country code. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("countryCode") + private String countryCode; + + /** + * Postal code (also known as zipcode) of the address. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("postalCode") + private String postalCode; + + /** + * The abbreviation of the state/province/region of the address. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("regionCode") + private String regionCode; + + @JsonCreator + public AddressInput( + @JsonProperty("address1") @Nullable String address1, + @JsonProperty("address2") @Nullable String address2, + @JsonProperty("address3") @Nullable String address3, + @JsonProperty("city") @Nullable String city, + @JsonProperty("countryCode") @Nullable String countryCode, + @JsonProperty("postalCode") @Nullable String postalCode, + @JsonProperty("regionCode") @Nullable String regionCode) { + this.address1 = address1; + this.address2 = address2; + this.address3 = address3; + this.city = city; + this.countryCode = countryCode; + this.postalCode = postalCode; + this.regionCode = regionCode; + } + + public AddressInput() { + this(null, null, null, null, null, null, null); + } + + /** + * The first line of an address. + */ + public Optional address1() { + return Optional.ofNullable(this.address1); + } + + /** + * The second line of an address. + */ + public Optional address2() { + return Optional.ofNullable(this.address2); + } + + /** + * The third line of an address. + */ + public Optional address3() { + return Optional.ofNullable(this.address3); + } + + /** + * The name of the city. + */ + public Optional city() { + return Optional.ofNullable(this.city); + } + + /** + * ISO 3166 two-letter (alpha-2) country code. + */ + public Optional countryCode() { + return Optional.ofNullable(this.countryCode); + } + + /** + * Postal code (also known as zipcode) of the address. + */ + public Optional postalCode() { + return Optional.ofNullable(this.postalCode); + } + + /** + * The abbreviation of the state/province/region of the address. + */ + public Optional regionCode() { + return Optional.ofNullable(this.regionCode); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The first line of an address. + */ + public AddressInput withAddress1(@Nullable String address1) { + this.address1 = address1; + return this; + } + + /** + * The second line of an address. + */ + public AddressInput withAddress2(@Nullable String address2) { + this.address2 = address2; + return this; + } + + /** + * The third line of an address. + */ + public AddressInput withAddress3(@Nullable String address3) { + this.address3 = address3; + return this; + } + + /** + * The name of the city. + */ + public AddressInput withCity(@Nullable String city) { + this.city = city; + return this; + } + + /** + * ISO 3166 two-letter (alpha-2) country code. + */ + public AddressInput withCountryCode(@Nullable String countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * Postal code (also known as zipcode) of the address. + */ + public AddressInput withPostalCode(@Nullable String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * The abbreviation of the state/province/region of the address. + */ + public AddressInput withRegionCode(@Nullable String regionCode) { + this.regionCode = regionCode; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AddressInput other = (AddressInput) o; + return Utils.enhancedDeepEquals(this.address1, other.address1) + && Utils.enhancedDeepEquals(this.address2, other.address2) + && Utils.enhancedDeepEquals(this.address3, other.address3) + && Utils.enhancedDeepEquals(this.city, other.city) + && Utils.enhancedDeepEquals(this.countryCode, other.countryCode) + && Utils.enhancedDeepEquals(this.postalCode, other.postalCode) + && Utils.enhancedDeepEquals(this.regionCode, other.regionCode); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(address1, address2, address3, city, countryCode, postalCode, regionCode); + } + + @Override + public String toString() { + return Utils.toString( + AddressInput.class, + "address1", + address1, + "address2", + address2, + "address3", + address3, + "city", + city, + "countryCode", + countryCode, + "postalCode", + postalCode, + "regionCode", + regionCode); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String address1; + + private String address2; + + private String address3; + + private String city; + + private String countryCode; + + private String postalCode; + + private String regionCode; + + private Builder() { + // force use of static builder() method + } + + /** + * The first line of an address. + */ + public Builder address1(@Nullable String address1) { + this.address1 = address1; + return this; + } + + /** + * The second line of an address. + */ + public Builder address2(@Nullable String address2) { + this.address2 = address2; + return this; + } + + /** + * The third line of an address. + */ + public Builder address3(@Nullable String address3) { + this.address3 = address3; + return this; + } + + /** + * The name of the city. + */ + public Builder city(@Nullable String city) { + this.city = city; + return this; + } + + /** + * ISO 3166 two-letter (alpha-2) country code. + */ + public Builder countryCode(@Nullable String countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * Postal code (also known as zipcode) of the address. + */ + public Builder postalCode(@Nullable String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * The abbreviation of the state/province/region of the address. + */ + public Builder regionCode(@Nullable String regionCode) { + this.regionCode = regionCode; + return this; + } + + public AddressInput build() { + return new AddressInput(address1, address2, address3, city, countryCode, postalCode, regionCode); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/AddressJson.java b/packages/java/src/main/java/com/cvent/models/components/AddressJson.java index 288024c15..9222eeeb3 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AddressJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/AddressJson.java @@ -16,159 +16,144 @@ /** * AddressJson * - *

Contact address details. + *

Address details. Required to create/update a guest's reservation if the hotel/event requires an + * address in reservations. */ public class AddressJson { /** - * The first line of an address. + * Address line 1. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("address1") private String address1; /** - * The second line of an address. + * Address line 2. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("address2") private String address2; /** - * The third line of an address. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("address3") - private String address3; - - /** - * The name of the city. + * City name. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("city") private String city; /** - * ISO 3166 two-letter (alpha-2) country code. + * Region name. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("countryCode") - private String countryCode; + @JsonProperty("region") + private String region; /** - * Postal code (also known as zipcode) of the address. + * Region code. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("postalCode") - private String postalCode; + @JsonProperty("regionCode") + private String regionCode; /** - * The name of the state/province/region of the address. + * Postal code. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("region") - private String region; + @JsonProperty("postalCode") + private String postalCode; /** - * The abbreviation of the state/province/region of the address. + * Country name. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("regionCode") - private String regionCode; + @JsonProperty("country") + private String country; /** - * Name of the country of the address. + * ISO 3166 alpha-2 country code. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("country") - private String country; + @JsonProperty("countryCode") + private String countryCode; @JsonCreator public AddressJson( @JsonProperty("address1") @Nullable String address1, @JsonProperty("address2") @Nullable String address2, - @JsonProperty("address3") @Nullable String address3, @JsonProperty("city") @Nullable String city, - @JsonProperty("countryCode") @Nullable String countryCode, - @JsonProperty("postalCode") @Nullable String postalCode, @JsonProperty("region") @Nullable String region, @JsonProperty("regionCode") @Nullable String regionCode, - @JsonProperty("country") @Nullable String country) { + @JsonProperty("postalCode") @Nullable String postalCode, + @JsonProperty("country") @Nullable String country, + @JsonProperty("countryCode") @Nullable String countryCode) { this.address1 = address1; this.address2 = address2; - this.address3 = address3; this.city = city; - this.countryCode = countryCode; - this.postalCode = postalCode; this.region = region; this.regionCode = regionCode; + this.postalCode = postalCode; this.country = country; + this.countryCode = countryCode; } public AddressJson() { - this(null, null, null, null, null, null, null, null, null); + this(null, null, null, null, null, null, null, null); } /** - * The first line of an address. + * Address line 1. */ public Optional address1() { return Optional.ofNullable(this.address1); } /** - * The second line of an address. + * Address line 2. */ public Optional address2() { return Optional.ofNullable(this.address2); } /** - * The third line of an address. - */ - public Optional address3() { - return Optional.ofNullable(this.address3); - } - - /** - * The name of the city. + * City name. */ public Optional city() { return Optional.ofNullable(this.city); } /** - * ISO 3166 two-letter (alpha-2) country code. + * Region name. */ - public Optional countryCode() { - return Optional.ofNullable(this.countryCode); + public Optional region() { + return Optional.ofNullable(this.region); } /** - * Postal code (also known as zipcode) of the address. + * Region code. */ - public Optional postalCode() { - return Optional.ofNullable(this.postalCode); + public Optional regionCode() { + return Optional.ofNullable(this.regionCode); } /** - * The name of the state/province/region of the address. + * Postal code. */ - public Optional region() { - return Optional.ofNullable(this.region); + public Optional postalCode() { + return Optional.ofNullable(this.postalCode); } /** - * The abbreviation of the state/province/region of the address. + * Country name. */ - public Optional regionCode() { - return Optional.ofNullable(this.regionCode); + public Optional country() { + return Optional.ofNullable(this.country); } /** - * Name of the country of the address. + * ISO 3166 alpha-2 country code. */ - public Optional country() { - return Optional.ofNullable(this.country); + public Optional countryCode() { + return Optional.ofNullable(this.countryCode); } public static Builder builder() { @@ -176,7 +161,7 @@ public static Builder builder() { } /** - * The first line of an address. + * Address line 1. */ public AddressJson withAddress1(@Nullable String address1) { this.address1 = address1; @@ -184,7 +169,7 @@ public AddressJson withAddress1(@Nullable String address1) { } /** - * The second line of an address. + * Address line 2. */ public AddressJson withAddress2(@Nullable String address2) { this.address2 = address2; @@ -192,15 +177,7 @@ public AddressJson withAddress2(@Nullable String address2) { } /** - * The third line of an address. - */ - public AddressJson withAddress3(@Nullable String address3) { - this.address3 = address3; - return this; - } - - /** - * The name of the city. + * City name. */ public AddressJson withCity(@Nullable String city) { this.city = city; @@ -208,42 +185,42 @@ public AddressJson withCity(@Nullable String city) { } /** - * ISO 3166 two-letter (alpha-2) country code. + * Region name. */ - public AddressJson withCountryCode(@Nullable String countryCode) { - this.countryCode = countryCode; + public AddressJson withRegion(@Nullable String region) { + this.region = region; return this; } /** - * Postal code (also known as zipcode) of the address. + * Region code. */ - public AddressJson withPostalCode(@Nullable String postalCode) { - this.postalCode = postalCode; + public AddressJson withRegionCode(@Nullable String regionCode) { + this.regionCode = regionCode; return this; } /** - * The name of the state/province/region of the address. + * Postal code. */ - public AddressJson withRegion(@Nullable String region) { - this.region = region; + public AddressJson withPostalCode(@Nullable String postalCode) { + this.postalCode = postalCode; return this; } /** - * The abbreviation of the state/province/region of the address. + * Country name. */ - public AddressJson withRegionCode(@Nullable String regionCode) { - this.regionCode = regionCode; + public AddressJson withCountry(@Nullable String country) { + this.country = country; return this; } /** - * Name of the country of the address. + * ISO 3166 alpha-2 country code. */ - public AddressJson withCountry(@Nullable String country) { - this.country = country; + public AddressJson withCountryCode(@Nullable String countryCode) { + this.countryCode = countryCode; return this; } @@ -258,19 +235,17 @@ public boolean equals(java.lang.Object o) { AddressJson other = (AddressJson) o; return Utils.enhancedDeepEquals(this.address1, other.address1) && Utils.enhancedDeepEquals(this.address2, other.address2) - && Utils.enhancedDeepEquals(this.address3, other.address3) && Utils.enhancedDeepEquals(this.city, other.city) - && Utils.enhancedDeepEquals(this.countryCode, other.countryCode) - && Utils.enhancedDeepEquals(this.postalCode, other.postalCode) && Utils.enhancedDeepEquals(this.region, other.region) && Utils.enhancedDeepEquals(this.regionCode, other.regionCode) - && Utils.enhancedDeepEquals(this.country, other.country); + && Utils.enhancedDeepEquals(this.postalCode, other.postalCode) + && Utils.enhancedDeepEquals(this.country, other.country) + && Utils.enhancedDeepEquals(this.countryCode, other.countryCode); } @Override public int hashCode() { - return Utils.enhancedHash( - address1, address2, address3, city, countryCode, postalCode, region, regionCode, country); + return Utils.enhancedHash(address1, address2, city, region, regionCode, postalCode, country, countryCode); } @Override @@ -281,20 +256,18 @@ public String toString() { address1, "address2", address2, - "address3", - address3, "city", city, - "countryCode", - countryCode, - "postalCode", - postalCode, "region", region, "regionCode", regionCode, + "postalCode", + postalCode, "country", - country); + country, + "countryCode", + countryCode); } @SuppressWarnings("UnusedReturnValue") @@ -304,26 +277,24 @@ public static final class Builder { private String address2; - private String address3; - private String city; - private String countryCode; - - private String postalCode; - private String region; private String regionCode; + private String postalCode; + private String country; + private String countryCode; + private Builder() { // force use of static builder() method } /** - * The first line of an address. + * Address line 1. */ public Builder address1(@Nullable String address1) { this.address1 = address1; @@ -331,7 +302,7 @@ public Builder address1(@Nullable String address1) { } /** - * The second line of an address. + * Address line 2. */ public Builder address2(@Nullable String address2) { this.address2 = address2; @@ -339,15 +310,7 @@ public Builder address2(@Nullable String address2) { } /** - * The third line of an address. - */ - public Builder address3(@Nullable String address3) { - this.address3 = address3; - return this; - } - - /** - * The name of the city. + * City name. */ public Builder city(@Nullable String city) { this.city = city; @@ -355,48 +318,47 @@ public Builder city(@Nullable String city) { } /** - * ISO 3166 two-letter (alpha-2) country code. + * Region name. */ - public Builder countryCode(@Nullable String countryCode) { - this.countryCode = countryCode; + public Builder region(@Nullable String region) { + this.region = region; return this; } /** - * Postal code (also known as zipcode) of the address. + * Region code. */ - public Builder postalCode(@Nullable String postalCode) { - this.postalCode = postalCode; + public Builder regionCode(@Nullable String regionCode) { + this.regionCode = regionCode; return this; } /** - * The name of the state/province/region of the address. + * Postal code. */ - public Builder region(@Nullable String region) { - this.region = region; + public Builder postalCode(@Nullable String postalCode) { + this.postalCode = postalCode; return this; } /** - * The abbreviation of the state/province/region of the address. + * Country name. */ - public Builder regionCode(@Nullable String regionCode) { - this.regionCode = regionCode; + public Builder country(@Nullable String country) { + this.country = country; return this; } /** - * Name of the country of the address. + * ISO 3166 alpha-2 country code. */ - public Builder country(@Nullable String country) { - this.country = country; + public Builder countryCode(@Nullable String countryCode) { + this.countryCode = countryCode; return this; } public AddressJson build() { - return new AddressJson( - address1, address2, address3, city, countryCode, postalCode, region, regionCode, country); + return new AddressJson(address1, address2, city, region, regionCode, postalCode, country, countryCode); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/AddressJson0.java b/packages/java/src/main/java/com/cvent/models/components/AddressJson0.java deleted file mode 100644 index 3647217cb..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/AddressJson0.java +++ /dev/null @@ -1,171 +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.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * AddressJson0 - * - *

Address details. - */ -public class AddressJson0 { - /** - * ISO 3166 code for the country. - */ - @JsonProperty("countryCode") - private String countryCode; - - /** - * The name of the city. - */ - @JsonProperty("city") - private String city; - - /** - * ISO 3166-2 code for the state/province/region. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("regionCode") - private String regionCode; - - @JsonCreator - public AddressJson0( - @JsonProperty("countryCode") @Nonnull String countryCode, - @JsonProperty("city") @Nonnull String city, - @JsonProperty("regionCode") @Nullable String regionCode) { - this.countryCode = Optional.ofNullable(countryCode) - .orElseThrow(() -> new IllegalArgumentException("countryCode cannot be null")); - this.city = Optional.ofNullable(city).orElseThrow(() -> new IllegalArgumentException("city cannot be null")); - this.regionCode = regionCode; - } - - public AddressJson0(@Nonnull String countryCode, @Nonnull String city) { - this(countryCode, city, null); - } - - /** - * ISO 3166 code for the country. - */ - public String countryCode() { - return this.countryCode; - } - - /** - * The name of the city. - */ - public String city() { - return this.city; - } - - /** - * ISO 3166-2 code for the state/province/region. - */ - public Optional regionCode() { - return Optional.ofNullable(this.regionCode); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * ISO 3166 code for the country. - */ - public AddressJson0 withCountryCode(@Nonnull String countryCode) { - this.countryCode = Utils.checkNotNull(countryCode, "countryCode"); - return this; - } - - /** - * The name of the city. - */ - public AddressJson0 withCity(@Nonnull String city) { - this.city = Utils.checkNotNull(city, "city"); - return this; - } - - /** - * ISO 3166-2 code for the state/province/region. - */ - public AddressJson0 withRegionCode(@Nullable String regionCode) { - this.regionCode = regionCode; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AddressJson0 other = (AddressJson0) o; - return Utils.enhancedDeepEquals(this.countryCode, other.countryCode) - && Utils.enhancedDeepEquals(this.city, other.city) - && Utils.enhancedDeepEquals(this.regionCode, other.regionCode); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(countryCode, city, regionCode); - } - - @Override - public String toString() { - return Utils.toString(AddressJson0.class, "countryCode", countryCode, "city", city, "regionCode", regionCode); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String countryCode; - - private String city; - - private String regionCode; - - private Builder() { - // force use of static builder() method - } - - /** - * ISO 3166 code for the country. - */ - public Builder countryCode(@Nonnull String countryCode) { - this.countryCode = Utils.checkNotNull(countryCode, "countryCode"); - return this; - } - - /** - * The name of the city. - */ - public Builder city(@Nonnull String city) { - this.city = Utils.checkNotNull(city, "city"); - return this; - } - - /** - * ISO 3166-2 code for the state/province/region. - */ - public Builder regionCode(@Nullable String regionCode) { - this.regionCode = regionCode; - return this; - } - - public AddressJson0 build() { - return new AddressJson0(countryCode, city, regionCode); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/AddressJson1.java b/packages/java/src/main/java/com/cvent/models/components/AddressJson1.java new file mode 100644 index 000000000..d8ffbf547 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/AddressJson1.java @@ -0,0 +1,363 @@ +/* + * 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; + +/** + * AddressJson1 + * + *

A physical address. + */ +public class AddressJson1 { + /** + * Address line 1. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("address1") + private String address1; + + /** + * Address line 2. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("address2") + private String address2; + + /** + * City name. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("city") + private String city; + + /** + * Region name. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("region") + private String region; + + /** + * Region code. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("regionCode") + private String regionCode; + + /** + * Postal code. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("postalCode") + private String postalCode; + + /** + * Country name. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("country") + private String country; + + /** + * ISO 3166 alpha-2 country code. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("countryCode") + private String countryCode; + + @JsonCreator + public AddressJson1( + @JsonProperty("address1") @Nullable String address1, + @JsonProperty("address2") @Nullable String address2, + @JsonProperty("city") @Nullable String city, + @JsonProperty("region") @Nullable String region, + @JsonProperty("regionCode") @Nullable String regionCode, + @JsonProperty("postalCode") @Nullable String postalCode, + @JsonProperty("country") @Nullable String country, + @JsonProperty("countryCode") @Nullable String countryCode) { + this.address1 = address1; + this.address2 = address2; + this.city = city; + this.region = region; + this.regionCode = regionCode; + this.postalCode = postalCode; + this.country = country; + this.countryCode = countryCode; + } + + public AddressJson1() { + this(null, null, null, null, null, null, null, null); + } + + /** + * Address line 1. + */ + public Optional address1() { + return Optional.ofNullable(this.address1); + } + + /** + * Address line 2. + */ + public Optional address2() { + return Optional.ofNullable(this.address2); + } + + /** + * City name. + */ + public Optional city() { + return Optional.ofNullable(this.city); + } + + /** + * Region name. + */ + public Optional region() { + return Optional.ofNullable(this.region); + } + + /** + * Region code. + */ + public Optional regionCode() { + return Optional.ofNullable(this.regionCode); + } + + /** + * Postal code. + */ + public Optional postalCode() { + return Optional.ofNullable(this.postalCode); + } + + /** + * Country name. + */ + public Optional country() { + return Optional.ofNullable(this.country); + } + + /** + * ISO 3166 alpha-2 country code. + */ + public Optional countryCode() { + return Optional.ofNullable(this.countryCode); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Address line 1. + */ + public AddressJson1 withAddress1(@Nullable String address1) { + this.address1 = address1; + return this; + } + + /** + * Address line 2. + */ + public AddressJson1 withAddress2(@Nullable String address2) { + this.address2 = address2; + return this; + } + + /** + * City name. + */ + public AddressJson1 withCity(@Nullable String city) { + this.city = city; + return this; + } + + /** + * Region name. + */ + public AddressJson1 withRegion(@Nullable String region) { + this.region = region; + return this; + } + + /** + * Region code. + */ + public AddressJson1 withRegionCode(@Nullable String regionCode) { + this.regionCode = regionCode; + return this; + } + + /** + * Postal code. + */ + public AddressJson1 withPostalCode(@Nullable String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * Country name. + */ + public AddressJson1 withCountry(@Nullable String country) { + this.country = country; + return this; + } + + /** + * ISO 3166 alpha-2 country code. + */ + public AddressJson1 withCountryCode(@Nullable String countryCode) { + this.countryCode = countryCode; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AddressJson1 other = (AddressJson1) o; + return Utils.enhancedDeepEquals(this.address1, other.address1) + && Utils.enhancedDeepEquals(this.address2, other.address2) + && Utils.enhancedDeepEquals(this.city, other.city) + && Utils.enhancedDeepEquals(this.region, other.region) + && Utils.enhancedDeepEquals(this.regionCode, other.regionCode) + && Utils.enhancedDeepEquals(this.postalCode, other.postalCode) + && Utils.enhancedDeepEquals(this.country, other.country) + && Utils.enhancedDeepEquals(this.countryCode, other.countryCode); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(address1, address2, city, region, regionCode, postalCode, country, countryCode); + } + + @Override + public String toString() { + return Utils.toString( + AddressJson1.class, + "address1", + address1, + "address2", + address2, + "city", + city, + "region", + region, + "regionCode", + regionCode, + "postalCode", + postalCode, + "country", + country, + "countryCode", + countryCode); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String address1; + + private String address2; + + private String city; + + private String region; + + private String regionCode; + + private String postalCode; + + private String country; + + private String countryCode; + + private Builder() { + // force use of static builder() method + } + + /** + * Address line 1. + */ + public Builder address1(@Nullable String address1) { + this.address1 = address1; + return this; + } + + /** + * Address line 2. + */ + public Builder address2(@Nullable String address2) { + this.address2 = address2; + return this; + } + + /** + * City name. + */ + public Builder city(@Nullable String city) { + this.city = city; + return this; + } + + /** + * Region name. + */ + public Builder region(@Nullable String region) { + this.region = region; + return this; + } + + /** + * Region code. + */ + public Builder regionCode(@Nullable String regionCode) { + this.regionCode = regionCode; + return this; + } + + /** + * Postal code. + */ + public Builder postalCode(@Nullable String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * Country name. + */ + public Builder country(@Nullable String country) { + this.country = country; + return this; + } + + /** + * ISO 3166 alpha-2 country code. + */ + public Builder countryCode(@Nullable String countryCode) { + this.countryCode = countryCode; + return this; + } + + public AddressJson1 build() { + return new AddressJson1(address1, address2, city, region, regionCode, postalCode, country, countryCode); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/AddressJson2.java b/packages/java/src/main/java/com/cvent/models/components/AddressJson2.java index cd039dc26..2c950f70e 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AddressJson2.java +++ b/packages/java/src/main/java/com/cvent/models/components/AddressJson2.java @@ -3,12 +3,16 @@ */ 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.Boolean; import java.lang.Override; import java.lang.String; import java.util.Optional; @@ -16,144 +20,126 @@ /** * AddressJson2 * - *

Address details. Required to create/update a guest's reservation if the hotel/event requires an - * address in reservations. + *

Address */ public class AddressJson2 { /** - * Address line 1. + * The type of the address. */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("address1") - private String address1; + @JsonProperty("type") + private AddressTypeJson type; /** - * Address line 2. + * The street address of the user. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("address2") - private String address2; + @JsonProperty("streetAddress") + private String streetAddress; /** - * City name. + * The locality/city of the user. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("city") - private String city; + @JsonProperty("locality") + private String locality; /** - * Region name. + * The region/state/province of the user. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("region") private String region; /** - * Region code. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("regionCode") - private String regionCode; - - /** - * Postal code. + * Postal code (also known as zipcode) of the user. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("postalCode") private String postalCode; /** - * Country name. + * The country of the user. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("country") private String country; /** - * ISO 3166 alpha-2 country code. + * True indicates the address is primary. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("countryCode") - private String countryCode; + @JsonProperty("primary") + private Boolean primary; @JsonCreator public AddressJson2( - @JsonProperty("address1") @Nullable String address1, - @JsonProperty("address2") @Nullable String address2, - @JsonProperty("city") @Nullable String city, + @JsonProperty("type") @Nonnull AddressTypeJson type, + @JsonProperty("streetAddress") @Nullable String streetAddress, + @JsonProperty("locality") @Nullable String locality, @JsonProperty("region") @Nullable String region, - @JsonProperty("regionCode") @Nullable String regionCode, @JsonProperty("postalCode") @Nullable String postalCode, @JsonProperty("country") @Nullable String country, - @JsonProperty("countryCode") @Nullable String countryCode) { - this.address1 = address1; - this.address2 = address2; - this.city = city; + @JsonProperty("primary") @Nullable Boolean primary) { + this.type = Optional.ofNullable(type).orElseThrow(() -> new IllegalArgumentException("type cannot be null")); + this.streetAddress = streetAddress; + this.locality = locality; this.region = region; - this.regionCode = regionCode; this.postalCode = postalCode; this.country = country; - this.countryCode = countryCode; + this.primary = Optional.ofNullable(primary).orElse(Builder._SINGLETON_VALUE_Primary.value()); } - public AddressJson2() { - this(null, null, null, null, null, null, null, null); + public AddressJson2(@Nonnull AddressTypeJson type) { + this(type, null, null, null, null, null, null); } /** - * Address line 1. + * The type of the address. */ - public Optional address1() { - return Optional.ofNullable(this.address1); + public AddressTypeJson type() { + return this.type; } /** - * Address line 2. + * The street address of the user. */ - public Optional address2() { - return Optional.ofNullable(this.address2); + public Optional streetAddress() { + return Optional.ofNullable(this.streetAddress); } /** - * City name. + * The locality/city of the user. */ - public Optional city() { - return Optional.ofNullable(this.city); + public Optional locality() { + return Optional.ofNullable(this.locality); } /** - * Region name. + * The region/state/province of the user. */ public Optional region() { return Optional.ofNullable(this.region); } /** - * Region code. - */ - public Optional regionCode() { - return Optional.ofNullable(this.regionCode); - } - - /** - * Postal code. + * Postal code (also known as zipcode) of the user. */ public Optional postalCode() { return Optional.ofNullable(this.postalCode); } /** - * Country name. + * The country of the user. */ public Optional country() { return Optional.ofNullable(this.country); } /** - * ISO 3166 alpha-2 country code. + * True indicates the address is primary. */ - public Optional countryCode() { - return Optional.ofNullable(this.countryCode); + public Optional primary() { + return Optional.ofNullable(this.primary); } public static Builder builder() { @@ -161,31 +147,31 @@ public static Builder builder() { } /** - * Address line 1. + * The type of the address. */ - public AddressJson2 withAddress1(@Nullable String address1) { - this.address1 = address1; + public AddressJson2 withType(@Nonnull AddressTypeJson type) { + this.type = Utils.checkNotNull(type, "type"); return this; } /** - * Address line 2. + * The street address of the user. */ - public AddressJson2 withAddress2(@Nullable String address2) { - this.address2 = address2; + public AddressJson2 withStreetAddress(@Nullable String streetAddress) { + this.streetAddress = streetAddress; return this; } /** - * City name. + * The locality/city of the user. */ - public AddressJson2 withCity(@Nullable String city) { - this.city = city; + public AddressJson2 withLocality(@Nullable String locality) { + this.locality = locality; return this; } /** - * Region name. + * The region/state/province of the user. */ public AddressJson2 withRegion(@Nullable String region) { this.region = region; @@ -193,15 +179,7 @@ public AddressJson2 withRegion(@Nullable String region) { } /** - * Region code. - */ - public AddressJson2 withRegionCode(@Nullable String regionCode) { - this.regionCode = regionCode; - return this; - } - - /** - * Postal code. + * Postal code (also known as zipcode) of the user. */ public AddressJson2 withPostalCode(@Nullable String postalCode) { this.postalCode = postalCode; @@ -209,7 +187,7 @@ public AddressJson2 withPostalCode(@Nullable String postalCode) { } /** - * Country name. + * The country of the user. */ public AddressJson2 withCountry(@Nullable String country) { this.country = country; @@ -217,10 +195,10 @@ public AddressJson2 withCountry(@Nullable String country) { } /** - * ISO 3166 alpha-2 country code. + * True indicates the address is primary. */ - public AddressJson2 withCountryCode(@Nullable String countryCode) { - this.countryCode = countryCode; + public AddressJson2 withPrimary(@Nullable Boolean primary) { + this.primary = primary; return this; } @@ -233,92 +211,87 @@ public boolean equals(java.lang.Object o) { return false; } AddressJson2 other = (AddressJson2) o; - return Utils.enhancedDeepEquals(this.address1, other.address1) - && Utils.enhancedDeepEquals(this.address2, other.address2) - && Utils.enhancedDeepEquals(this.city, other.city) + return Utils.enhancedDeepEquals(this.type, other.type) + && Utils.enhancedDeepEquals(this.streetAddress, other.streetAddress) + && Utils.enhancedDeepEquals(this.locality, other.locality) && Utils.enhancedDeepEquals(this.region, other.region) - && Utils.enhancedDeepEquals(this.regionCode, other.regionCode) && Utils.enhancedDeepEquals(this.postalCode, other.postalCode) && Utils.enhancedDeepEquals(this.country, other.country) - && Utils.enhancedDeepEquals(this.countryCode, other.countryCode); + && Utils.enhancedDeepEquals(this.primary, other.primary); } @Override public int hashCode() { - return Utils.enhancedHash(address1, address2, city, region, regionCode, postalCode, country, countryCode); + return Utils.enhancedHash(type, streetAddress, locality, region, postalCode, country, primary); } @Override public String toString() { return Utils.toString( AddressJson2.class, - "address1", - address1, - "address2", - address2, - "city", - city, + "type", + type, + "streetAddress", + streetAddress, + "locality", + locality, "region", region, - "regionCode", - regionCode, "postalCode", postalCode, "country", country, - "countryCode", - countryCode); + "primary", + primary); } @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private String address1; + private AddressTypeJson type; - private String address2; + private String streetAddress; - private String city; + private String locality; private String region; - private String regionCode; - private String postalCode; private String country; - private String countryCode; + private Boolean primary; private Builder() { // force use of static builder() method } /** - * Address line 1. + * The type of the address. */ - public Builder address1(@Nullable String address1) { - this.address1 = address1; + public Builder type(@Nonnull AddressTypeJson type) { + this.type = Utils.checkNotNull(type, "type"); return this; } /** - * Address line 2. + * The street address of the user. */ - public Builder address2(@Nullable String address2) { - this.address2 = address2; + public Builder streetAddress(@Nullable String streetAddress) { + this.streetAddress = streetAddress; return this; } /** - * City name. + * The locality/city of the user. */ - public Builder city(@Nullable String city) { - this.city = city; + public Builder locality(@Nullable String locality) { + this.locality = locality; return this; } /** - * Region name. + * The region/state/province of the user. */ public Builder region(@Nullable String region) { this.region = region; @@ -326,15 +299,7 @@ public Builder region(@Nullable String region) { } /** - * Region code. - */ - public Builder regionCode(@Nullable String regionCode) { - this.regionCode = regionCode; - return this; - } - - /** - * Postal code. + * Postal code (also known as zipcode) of the user. */ public Builder postalCode(@Nullable String postalCode) { this.postalCode = postalCode; @@ -342,7 +307,7 @@ public Builder postalCode(@Nullable String postalCode) { } /** - * Country name. + * The country of the user. */ public Builder country(@Nullable String country) { this.country = country; @@ -350,15 +315,18 @@ public Builder country(@Nullable String country) { } /** - * ISO 3166 alpha-2 country code. + * True indicates the address is primary. */ - public Builder countryCode(@Nullable String countryCode) { - this.countryCode = countryCode; + public Builder primary(@Nullable Boolean primary) { + this.primary = primary; return this; } public AddressJson2 build() { - return new AddressJson2(address1, address2, city, region, regionCode, postalCode, country, countryCode); + return new AddressJson2(type, streetAddress, locality, region, postalCode, country, primary); } + + private static final LazySingletonValue _SINGLETON_VALUE_Primary = + new LazySingletonValue<>("primary", "false", new TypeReference() {}); } } diff --git a/packages/java/src/main/java/com/cvent/models/components/AddressJson3.java b/packages/java/src/main/java/com/cvent/models/components/AddressJson3.java deleted file mode 100644 index 5ae11ee09..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/AddressJson3.java +++ /dev/null @@ -1,363 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * AddressJson3 - * - *

A physical address. - */ -public class AddressJson3 { - /** - * Address line 1. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("address1") - private String address1; - - /** - * Address line 2. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("address2") - private String address2; - - /** - * City name. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("city") - private String city; - - /** - * Region name. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("region") - private String region; - - /** - * Region code. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("regionCode") - private String regionCode; - - /** - * Postal code. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("postalCode") - private String postalCode; - - /** - * Country name. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("country") - private String country; - - /** - * ISO 3166 alpha-2 country code. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("countryCode") - private String countryCode; - - @JsonCreator - public AddressJson3( - @JsonProperty("address1") @Nullable String address1, - @JsonProperty("address2") @Nullable String address2, - @JsonProperty("city") @Nullable String city, - @JsonProperty("region") @Nullable String region, - @JsonProperty("regionCode") @Nullable String regionCode, - @JsonProperty("postalCode") @Nullable String postalCode, - @JsonProperty("country") @Nullable String country, - @JsonProperty("countryCode") @Nullable String countryCode) { - this.address1 = address1; - this.address2 = address2; - this.city = city; - this.region = region; - this.regionCode = regionCode; - this.postalCode = postalCode; - this.country = country; - this.countryCode = countryCode; - } - - public AddressJson3() { - this(null, null, null, null, null, null, null, null); - } - - /** - * Address line 1. - */ - public Optional address1() { - return Optional.ofNullable(this.address1); - } - - /** - * Address line 2. - */ - public Optional address2() { - return Optional.ofNullable(this.address2); - } - - /** - * City name. - */ - public Optional city() { - return Optional.ofNullable(this.city); - } - - /** - * Region name. - */ - public Optional region() { - return Optional.ofNullable(this.region); - } - - /** - * Region code. - */ - public Optional regionCode() { - return Optional.ofNullable(this.regionCode); - } - - /** - * Postal code. - */ - public Optional postalCode() { - return Optional.ofNullable(this.postalCode); - } - - /** - * Country name. - */ - public Optional country() { - return Optional.ofNullable(this.country); - } - - /** - * ISO 3166 alpha-2 country code. - */ - public Optional countryCode() { - return Optional.ofNullable(this.countryCode); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Address line 1. - */ - public AddressJson3 withAddress1(@Nullable String address1) { - this.address1 = address1; - return this; - } - - /** - * Address line 2. - */ - public AddressJson3 withAddress2(@Nullable String address2) { - this.address2 = address2; - return this; - } - - /** - * City name. - */ - public AddressJson3 withCity(@Nullable String city) { - this.city = city; - return this; - } - - /** - * Region name. - */ - public AddressJson3 withRegion(@Nullable String region) { - this.region = region; - return this; - } - - /** - * Region code. - */ - public AddressJson3 withRegionCode(@Nullable String regionCode) { - this.regionCode = regionCode; - return this; - } - - /** - * Postal code. - */ - public AddressJson3 withPostalCode(@Nullable String postalCode) { - this.postalCode = postalCode; - return this; - } - - /** - * Country name. - */ - public AddressJson3 withCountry(@Nullable String country) { - this.country = country; - return this; - } - - /** - * ISO 3166 alpha-2 country code. - */ - public AddressJson3 withCountryCode(@Nullable String countryCode) { - this.countryCode = countryCode; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AddressJson3 other = (AddressJson3) o; - return Utils.enhancedDeepEquals(this.address1, other.address1) - && Utils.enhancedDeepEquals(this.address2, other.address2) - && Utils.enhancedDeepEquals(this.city, other.city) - && Utils.enhancedDeepEquals(this.region, other.region) - && Utils.enhancedDeepEquals(this.regionCode, other.regionCode) - && Utils.enhancedDeepEquals(this.postalCode, other.postalCode) - && Utils.enhancedDeepEquals(this.country, other.country) - && Utils.enhancedDeepEquals(this.countryCode, other.countryCode); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(address1, address2, city, region, regionCode, postalCode, country, countryCode); - } - - @Override - public String toString() { - return Utils.toString( - AddressJson3.class, - "address1", - address1, - "address2", - address2, - "city", - city, - "region", - region, - "regionCode", - regionCode, - "postalCode", - postalCode, - "country", - country, - "countryCode", - countryCode); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String address1; - - private String address2; - - private String city; - - private String region; - - private String regionCode; - - private String postalCode; - - private String country; - - private String countryCode; - - private Builder() { - // force use of static builder() method - } - - /** - * Address line 1. - */ - public Builder address1(@Nullable String address1) { - this.address1 = address1; - return this; - } - - /** - * Address line 2. - */ - public Builder address2(@Nullable String address2) { - this.address2 = address2; - return this; - } - - /** - * City name. - */ - public Builder city(@Nullable String city) { - this.city = city; - return this; - } - - /** - * Region name. - */ - public Builder region(@Nullable String region) { - this.region = region; - return this; - } - - /** - * Region code. - */ - public Builder regionCode(@Nullable String regionCode) { - this.regionCode = regionCode; - return this; - } - - /** - * Postal code. - */ - public Builder postalCode(@Nullable String postalCode) { - this.postalCode = postalCode; - return this; - } - - /** - * Country name. - */ - public Builder country(@Nullable String country) { - this.country = country; - return this; - } - - /** - * ISO 3166 alpha-2 country code. - */ - public Builder countryCode(@Nullable String countryCode) { - this.countryCode = countryCode; - return this; - } - - public AddressJson3 build() { - return new AddressJson3(address1, address2, city, region, regionCode, postalCode, country, countryCode); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/AddressJson4.java b/packages/java/src/main/java/com/cvent/models/components/AddressJson4.java deleted file mode 100644 index 810f34c14..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/AddressJson4.java +++ /dev/null @@ -1,332 +0,0 @@ -/* - * 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.Boolean; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * AddressJson4 - * - *

Address - */ -public class AddressJson4 { - /** - * The type of the address. - */ - @JsonProperty("type") - private AddressTypeJson1 type; - - /** - * The street address of the user. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("streetAddress") - private String streetAddress; - - /** - * The locality/city of the user. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("locality") - private String locality; - - /** - * The region/state/province of the user. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("region") - private String region; - - /** - * Postal code (also known as zipcode) of the user. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("postalCode") - private String postalCode; - - /** - * The country of the user. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("country") - private String country; - - /** - * True indicates the address is primary. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("primary") - private Boolean primary; - - @JsonCreator - public AddressJson4( - @JsonProperty("type") @Nonnull AddressTypeJson1 type, - @JsonProperty("streetAddress") @Nullable String streetAddress, - @JsonProperty("locality") @Nullable String locality, - @JsonProperty("region") @Nullable String region, - @JsonProperty("postalCode") @Nullable String postalCode, - @JsonProperty("country") @Nullable String country, - @JsonProperty("primary") @Nullable Boolean primary) { - this.type = Optional.ofNullable(type).orElseThrow(() -> new IllegalArgumentException("type cannot be null")); - this.streetAddress = streetAddress; - this.locality = locality; - this.region = region; - this.postalCode = postalCode; - this.country = country; - this.primary = Optional.ofNullable(primary).orElse(Builder._SINGLETON_VALUE_Primary.value()); - } - - public AddressJson4(@Nonnull AddressTypeJson1 type) { - this(type, null, null, null, null, null, null); - } - - /** - * The type of the address. - */ - public AddressTypeJson1 type() { - return this.type; - } - - /** - * The street address of the user. - */ - public Optional streetAddress() { - return Optional.ofNullable(this.streetAddress); - } - - /** - * The locality/city of the user. - */ - public Optional locality() { - return Optional.ofNullable(this.locality); - } - - /** - * The region/state/province of the user. - */ - public Optional region() { - return Optional.ofNullable(this.region); - } - - /** - * Postal code (also known as zipcode) of the user. - */ - public Optional postalCode() { - return Optional.ofNullable(this.postalCode); - } - - /** - * The country of the user. - */ - public Optional country() { - return Optional.ofNullable(this.country); - } - - /** - * True indicates the address is primary. - */ - public Optional primary() { - return Optional.ofNullable(this.primary); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The type of the address. - */ - public AddressJson4 withType(@Nonnull AddressTypeJson1 type) { - this.type = Utils.checkNotNull(type, "type"); - return this; - } - - /** - * The street address of the user. - */ - public AddressJson4 withStreetAddress(@Nullable String streetAddress) { - this.streetAddress = streetAddress; - return this; - } - - /** - * The locality/city of the user. - */ - public AddressJson4 withLocality(@Nullable String locality) { - this.locality = locality; - return this; - } - - /** - * The region/state/province of the user. - */ - public AddressJson4 withRegion(@Nullable String region) { - this.region = region; - return this; - } - - /** - * Postal code (also known as zipcode) of the user. - */ - public AddressJson4 withPostalCode(@Nullable String postalCode) { - this.postalCode = postalCode; - return this; - } - - /** - * The country of the user. - */ - public AddressJson4 withCountry(@Nullable String country) { - this.country = country; - return this; - } - - /** - * True indicates the address is primary. - */ - public AddressJson4 withPrimary(@Nullable Boolean primary) { - this.primary = primary; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AddressJson4 other = (AddressJson4) o; - return Utils.enhancedDeepEquals(this.type, other.type) - && Utils.enhancedDeepEquals(this.streetAddress, other.streetAddress) - && Utils.enhancedDeepEquals(this.locality, other.locality) - && Utils.enhancedDeepEquals(this.region, other.region) - && Utils.enhancedDeepEquals(this.postalCode, other.postalCode) - && Utils.enhancedDeepEquals(this.country, other.country) - && Utils.enhancedDeepEquals(this.primary, other.primary); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(type, streetAddress, locality, region, postalCode, country, primary); - } - - @Override - public String toString() { - return Utils.toString( - AddressJson4.class, - "type", - type, - "streetAddress", - streetAddress, - "locality", - locality, - "region", - region, - "postalCode", - postalCode, - "country", - country, - "primary", - primary); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private AddressTypeJson1 type; - - private String streetAddress; - - private String locality; - - private String region; - - private String postalCode; - - private String country; - - private Boolean primary; - - private Builder() { - // force use of static builder() method - } - - /** - * The type of the address. - */ - public Builder type(@Nonnull AddressTypeJson1 type) { - this.type = Utils.checkNotNull(type, "type"); - return this; - } - - /** - * The street address of the user. - */ - public Builder streetAddress(@Nullable String streetAddress) { - this.streetAddress = streetAddress; - return this; - } - - /** - * The locality/city of the user. - */ - public Builder locality(@Nullable String locality) { - this.locality = locality; - return this; - } - - /** - * The region/state/province of the user. - */ - public Builder region(@Nullable String region) { - this.region = region; - return this; - } - - /** - * Postal code (also known as zipcode) of the user. - */ - public Builder postalCode(@Nullable String postalCode) { - this.postalCode = postalCode; - return this; - } - - /** - * The country of the user. - */ - public Builder country(@Nullable String country) { - this.country = country; - return this; - } - - /** - * True indicates the address is primary. - */ - public Builder primary(@Nullable Boolean primary) { - this.primary = primary; - return this; - } - - public AddressJson4 build() { - return new AddressJson4(type, streetAddress, locality, region, postalCode, country, primary); - } - - private static final LazySingletonValue _SINGLETON_VALUE_Primary = - new LazySingletonValue<>("primary", "false", new TypeReference() {}); - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/AddressJson5.java b/packages/java/src/main/java/com/cvent/models/components/AddressJson5.java deleted file mode 100644 index 261a26355..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/AddressJson5.java +++ /dev/null @@ -1,363 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * AddressJson5 - * - *

Address details. - */ -public class AddressJson5 { - /** - * Address line 1. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("address1") - private String address1; - - /** - * Address line 2. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("address2") - private String address2; - - /** - * City name. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("city") - private String city; - - /** - * Region name. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("region") - private String region; - - /** - * Region code. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("regionCode") - private String regionCode; - - /** - * Postal code. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("postalCode") - private String postalCode; - - /** - * Country name. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("country") - private String country; - - /** - * ISO 3166 alpha-2 country code. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("countryCode") - private String countryCode; - - @JsonCreator - public AddressJson5( - @JsonProperty("address1") @Nullable String address1, - @JsonProperty("address2") @Nullable String address2, - @JsonProperty("city") @Nullable String city, - @JsonProperty("region") @Nullable String region, - @JsonProperty("regionCode") @Nullable String regionCode, - @JsonProperty("postalCode") @Nullable String postalCode, - @JsonProperty("country") @Nullable String country, - @JsonProperty("countryCode") @Nullable String countryCode) { - this.address1 = address1; - this.address2 = address2; - this.city = city; - this.region = region; - this.regionCode = regionCode; - this.postalCode = postalCode; - this.country = country; - this.countryCode = countryCode; - } - - public AddressJson5() { - this(null, null, null, null, null, null, null, null); - } - - /** - * Address line 1. - */ - public Optional address1() { - return Optional.ofNullable(this.address1); - } - - /** - * Address line 2. - */ - public Optional address2() { - return Optional.ofNullable(this.address2); - } - - /** - * City name. - */ - public Optional city() { - return Optional.ofNullable(this.city); - } - - /** - * Region name. - */ - public Optional region() { - return Optional.ofNullable(this.region); - } - - /** - * Region code. - */ - public Optional regionCode() { - return Optional.ofNullable(this.regionCode); - } - - /** - * Postal code. - */ - public Optional postalCode() { - return Optional.ofNullable(this.postalCode); - } - - /** - * Country name. - */ - public Optional country() { - return Optional.ofNullable(this.country); - } - - /** - * ISO 3166 alpha-2 country code. - */ - public Optional countryCode() { - return Optional.ofNullable(this.countryCode); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Address line 1. - */ - public AddressJson5 withAddress1(@Nullable String address1) { - this.address1 = address1; - return this; - } - - /** - * Address line 2. - */ - public AddressJson5 withAddress2(@Nullable String address2) { - this.address2 = address2; - return this; - } - - /** - * City name. - */ - public AddressJson5 withCity(@Nullable String city) { - this.city = city; - return this; - } - - /** - * Region name. - */ - public AddressJson5 withRegion(@Nullable String region) { - this.region = region; - return this; - } - - /** - * Region code. - */ - public AddressJson5 withRegionCode(@Nullable String regionCode) { - this.regionCode = regionCode; - return this; - } - - /** - * Postal code. - */ - public AddressJson5 withPostalCode(@Nullable String postalCode) { - this.postalCode = postalCode; - return this; - } - - /** - * Country name. - */ - public AddressJson5 withCountry(@Nullable String country) { - this.country = country; - return this; - } - - /** - * ISO 3166 alpha-2 country code. - */ - public AddressJson5 withCountryCode(@Nullable String countryCode) { - this.countryCode = countryCode; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AddressJson5 other = (AddressJson5) o; - return Utils.enhancedDeepEquals(this.address1, other.address1) - && Utils.enhancedDeepEquals(this.address2, other.address2) - && Utils.enhancedDeepEquals(this.city, other.city) - && Utils.enhancedDeepEquals(this.region, other.region) - && Utils.enhancedDeepEquals(this.regionCode, other.regionCode) - && Utils.enhancedDeepEquals(this.postalCode, other.postalCode) - && Utils.enhancedDeepEquals(this.country, other.country) - && Utils.enhancedDeepEquals(this.countryCode, other.countryCode); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(address1, address2, city, region, regionCode, postalCode, country, countryCode); - } - - @Override - public String toString() { - return Utils.toString( - AddressJson5.class, - "address1", - address1, - "address2", - address2, - "city", - city, - "region", - region, - "regionCode", - regionCode, - "postalCode", - postalCode, - "country", - country, - "countryCode", - countryCode); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String address1; - - private String address2; - - private String city; - - private String region; - - private String regionCode; - - private String postalCode; - - private String country; - - private String countryCode; - - private Builder() { - // force use of static builder() method - } - - /** - * Address line 1. - */ - public Builder address1(@Nullable String address1) { - this.address1 = address1; - return this; - } - - /** - * Address line 2. - */ - public Builder address2(@Nullable String address2) { - this.address2 = address2; - return this; - } - - /** - * City name. - */ - public Builder city(@Nullable String city) { - this.city = city; - return this; - } - - /** - * Region name. - */ - public Builder region(@Nullable String region) { - this.region = region; - return this; - } - - /** - * Region code. - */ - public Builder regionCode(@Nullable String regionCode) { - this.regionCode = regionCode; - return this; - } - - /** - * Postal code. - */ - public Builder postalCode(@Nullable String postalCode) { - this.postalCode = postalCode; - return this; - } - - /** - * Country name. - */ - public Builder country(@Nullable String country) { - this.country = country; - return this; - } - - /** - * ISO 3166 alpha-2 country code. - */ - public Builder countryCode(@Nullable String countryCode) { - this.countryCode = countryCode; - return this; - } - - public AddressJson5 build() { - return new AddressJson5(address1, address2, city, region, regionCode, postalCode, country, countryCode); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/AddressJsonInput.java b/packages/java/src/main/java/com/cvent/models/components/AddressJsonInput.java deleted file mode 100644 index 7f72b28e6..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/AddressJsonInput.java +++ /dev/null @@ -1,326 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * AddressJsonInput - * - *

Contact address details. - */ -public class AddressJsonInput { - /** - * The first line of an address. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("address1") - private String address1; - - /** - * The second line of an address. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("address2") - private String address2; - - /** - * The third line of an address. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("address3") - private String address3; - - /** - * The name of the city. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("city") - private String city; - - /** - * ISO 3166 two-letter (alpha-2) country code. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("countryCode") - private String countryCode; - - /** - * Postal code (also known as zipcode) of the address. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("postalCode") - private String postalCode; - - /** - * The abbreviation of the state/province/region of the address. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("regionCode") - private String regionCode; - - @JsonCreator - public AddressJsonInput( - @JsonProperty("address1") @Nullable String address1, - @JsonProperty("address2") @Nullable String address2, - @JsonProperty("address3") @Nullable String address3, - @JsonProperty("city") @Nullable String city, - @JsonProperty("countryCode") @Nullable String countryCode, - @JsonProperty("postalCode") @Nullable String postalCode, - @JsonProperty("regionCode") @Nullable String regionCode) { - this.address1 = address1; - this.address2 = address2; - this.address3 = address3; - this.city = city; - this.countryCode = countryCode; - this.postalCode = postalCode; - this.regionCode = regionCode; - } - - public AddressJsonInput() { - this(null, null, null, null, null, null, null); - } - - /** - * The first line of an address. - */ - public Optional address1() { - return Optional.ofNullable(this.address1); - } - - /** - * The second line of an address. - */ - public Optional address2() { - return Optional.ofNullable(this.address2); - } - - /** - * The third line of an address. - */ - public Optional address3() { - return Optional.ofNullable(this.address3); - } - - /** - * The name of the city. - */ - public Optional city() { - return Optional.ofNullable(this.city); - } - - /** - * ISO 3166 two-letter (alpha-2) country code. - */ - public Optional countryCode() { - return Optional.ofNullable(this.countryCode); - } - - /** - * Postal code (also known as zipcode) of the address. - */ - public Optional postalCode() { - return Optional.ofNullable(this.postalCode); - } - - /** - * The abbreviation of the state/province/region of the address. - */ - public Optional regionCode() { - return Optional.ofNullable(this.regionCode); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The first line of an address. - */ - public AddressJsonInput withAddress1(@Nullable String address1) { - this.address1 = address1; - return this; - } - - /** - * The second line of an address. - */ - public AddressJsonInput withAddress2(@Nullable String address2) { - this.address2 = address2; - return this; - } - - /** - * The third line of an address. - */ - public AddressJsonInput withAddress3(@Nullable String address3) { - this.address3 = address3; - return this; - } - - /** - * The name of the city. - */ - public AddressJsonInput withCity(@Nullable String city) { - this.city = city; - return this; - } - - /** - * ISO 3166 two-letter (alpha-2) country code. - */ - public AddressJsonInput withCountryCode(@Nullable String countryCode) { - this.countryCode = countryCode; - return this; - } - - /** - * Postal code (also known as zipcode) of the address. - */ - public AddressJsonInput withPostalCode(@Nullable String postalCode) { - this.postalCode = postalCode; - return this; - } - - /** - * The abbreviation of the state/province/region of the address. - */ - public AddressJsonInput withRegionCode(@Nullable String regionCode) { - this.regionCode = regionCode; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AddressJsonInput other = (AddressJsonInput) o; - return Utils.enhancedDeepEquals(this.address1, other.address1) - && Utils.enhancedDeepEquals(this.address2, other.address2) - && Utils.enhancedDeepEquals(this.address3, other.address3) - && Utils.enhancedDeepEquals(this.city, other.city) - && Utils.enhancedDeepEquals(this.countryCode, other.countryCode) - && Utils.enhancedDeepEquals(this.postalCode, other.postalCode) - && Utils.enhancedDeepEquals(this.regionCode, other.regionCode); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(address1, address2, address3, city, countryCode, postalCode, regionCode); - } - - @Override - public String toString() { - return Utils.toString( - AddressJsonInput.class, - "address1", - address1, - "address2", - address2, - "address3", - address3, - "city", - city, - "countryCode", - countryCode, - "postalCode", - postalCode, - "regionCode", - regionCode); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String address1; - - private String address2; - - private String address3; - - private String city; - - private String countryCode; - - private String postalCode; - - private String regionCode; - - private Builder() { - // force use of static builder() method - } - - /** - * The first line of an address. - */ - public Builder address1(@Nullable String address1) { - this.address1 = address1; - return this; - } - - /** - * The second line of an address. - */ - public Builder address2(@Nullable String address2) { - this.address2 = address2; - return this; - } - - /** - * The third line of an address. - */ - public Builder address3(@Nullable String address3) { - this.address3 = address3; - return this; - } - - /** - * The name of the city. - */ - public Builder city(@Nullable String city) { - this.city = city; - return this; - } - - /** - * ISO 3166 two-letter (alpha-2) country code. - */ - public Builder countryCode(@Nullable String countryCode) { - this.countryCode = countryCode; - return this; - } - - /** - * Postal code (also known as zipcode) of the address. - */ - public Builder postalCode(@Nullable String postalCode) { - this.postalCode = postalCode; - return this; - } - - /** - * The abbreviation of the state/province/region of the address. - */ - public Builder regionCode(@Nullable String regionCode) { - this.regionCode = regionCode; - return this; - } - - public AddressJsonInput build() { - return new AddressJsonInput(address1, address2, address3, city, countryCode, postalCode, regionCode); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/AddressTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/AddressTypeJson.java index dc8a3ad20..655b2549f 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AddressTypeJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/AddressTypeJson.java @@ -11,11 +11,11 @@ /** * AddressTypeJson * - *

The type of address. + *

The type of the address. */ public enum AddressTypeJson { - HOME("Home"), - WORK("Work"); + WORK("work"), + HOME("home"); @JsonValue private final String value; diff --git a/packages/java/src/main/java/com/cvent/models/components/AddressTypeJson1.java b/packages/java/src/main/java/com/cvent/models/components/AddressTypeJson1.java deleted file mode 100644 index 389502ba9..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/AddressTypeJson1.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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; - -/** - * AddressTypeJson1 - * - *

The type of the address. - */ -public enum AddressTypeJson1 { - WORK("work"), - HOME("home"); - - @JsonValue - private final String value; - - AddressTypeJson1(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (AddressTypeJson1 o : AddressTypeJson1.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/AgendaItemSetup.java b/packages/java/src/main/java/com/cvent/models/components/AgendaItemSetup.java new file mode 100644 index 000000000..a581c00e4 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/AgendaItemSetup.java @@ -0,0 +1,63 @@ +/* + * 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; + +/** + * AgendaItemSetup + * + *

Setup type for the agenda. + */ +public enum AgendaItemSetup { + BUFFET("BUFFET"), + CABARET("CABARET"), + CHEVRON("CHEVRON"), + CLASSROOM("CLASSROOM"), + CONFERENCE("CONFERENCE"), + CRESCENT_ROUNDS("CRESCENT_ROUNDS"), + EIGHT_BY_TEN("EIGHT_BY_TEN"), + FLOW("FLOW"), + HERRINGBONE("HERRINGBONE"), + HOLLOW_SQUARE("HOLLOW_SQUARE"), + ISLAND("ISLAND"), + OFFSITE("OFFSITE"), + OTHER("OTHER"), + PENINSULA("PENINSULA"), + PLATED("PLATED"), + RECEPTION("RECEPTION"), + ROUNDS("ROUNDS"), + ROUNDS_OF10("ROUNDS_OF_10"), + ROUNDS_OF6("ROUNDS_OF_6"), + ROUNDS_OF8("ROUNDS_OF_8"), + SCHOOL_ROOM("SCHOOL_ROOM"), + TABLETOP("TABLETOP"), + TEN_BY_TEN("TEN_BY_TEN"), + THEATER("THEATER"), + T_SHAPED("T_SHAPED"), + U_SHAPED("U_SHAPED"); + + @JsonValue + private final String value; + + AgendaItemSetup(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (AgendaItemSetup o : AgendaItemSetup.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/AgendaItemSetupJson.java b/packages/java/src/main/java/com/cvent/models/components/AgendaItemSetupJson.java deleted file mode 100644 index dafbcbbb0..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/AgendaItemSetupJson.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * 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; - -/** - * AgendaItemSetupJson - * - *

Setup type for the agenda. - */ -public enum AgendaItemSetupJson { - BUFFET("BUFFET"), - CABARET("CABARET"), - CHEVRON("CHEVRON"), - CLASSROOM("CLASSROOM"), - CONFERENCE("CONFERENCE"), - CRESCENT_ROUNDS("CRESCENT_ROUNDS"), - EIGHT_BY_TEN("EIGHT_BY_TEN"), - FLOW("FLOW"), - HERRINGBONE("HERRINGBONE"), - HOLLOW_SQUARE("HOLLOW_SQUARE"), - ISLAND("ISLAND"), - OFFSITE("OFFSITE"), - OTHER("OTHER"), - PENINSULA("PENINSULA"), - PLATED("PLATED"), - RECEPTION("RECEPTION"), - ROUNDS("ROUNDS"), - ROUNDS_OF10("ROUNDS_OF_10"), - ROUNDS_OF6("ROUNDS_OF_6"), - ROUNDS_OF8("ROUNDS_OF_8"), - SCHOOL_ROOM("SCHOOL_ROOM"), - TABLETOP("TABLETOP"), - TEN_BY_TEN("TEN_BY_TEN"), - THEATER("THEATER"), - T_SHAPED("T_SHAPED"), - U_SHAPED("U_SHAPED"); - - @JsonValue - private final String value; - - AgendaItemSetupJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (AgendaItemSetupJson o : AgendaItemSetupJson.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/AgendaItemType.java b/packages/java/src/main/java/com/cvent/models/components/AgendaItemType.java new file mode 100644 index 000000000..2498a8d0c --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/AgendaItemType.java @@ -0,0 +1,56 @@ +/* + * 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; + +/** + * AgendaItemType + * + *

Type of the agenda. + */ +public enum AgendaItemType { + BREAK("BREAK"), + BREAKFAST("BREAKFAST"), + BREAKOUT("BREAKOUT"), + DINNER("DINNER"), + EXHIBIT("EXHIBIT"), + GENERAL_SESSION("GENERAL_SESSION"), + HOSPITALITY_DESK("HOSPITALITY_DESK"), + HOSPITALITY_SUITE("HOSPITALITY_SUITE"), + LUNCH("LUNCH"), + MEETING("MEETING"), + OFFICE("OFFICE"), + OTHER("OTHER"), + RECEPTION("RECEPTION"), + REGISTRATION("REGISTRATION"), + SETUP("SETUP"), + SNACK("SNACK"), + SPEAKER_ROOM("SPEAKER_ROOM"), + STORAGE_ROOM("STORAGE_ROOM"), + TEARDOWN("TEARDOWN"); + + @JsonValue + private final String value; + + AgendaItemType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (AgendaItemType o : AgendaItemType.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/AgendaItemTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/AgendaItemTypeJson.java deleted file mode 100644 index 8ca8b22d0..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/AgendaItemTypeJson.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * 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; - -/** - * AgendaItemTypeJson - * - *

Type of the agenda. - */ -public enum AgendaItemTypeJson { - BREAK("BREAK"), - BREAKFAST("BREAKFAST"), - BREAKOUT("BREAKOUT"), - DINNER("DINNER"), - EXHIBIT("EXHIBIT"), - GENERAL_SESSION("GENERAL_SESSION"), - HOSPITALITY_DESK("HOSPITALITY_DESK"), - HOSPITALITY_SUITE("HOSPITALITY_SUITE"), - LUNCH("LUNCH"), - MEETING("MEETING"), - OFFICE("OFFICE"), - OTHER("OTHER"), - RECEPTION("RECEPTION"), - REGISTRATION("REGISTRATION"), - SETUP("SETUP"), - SNACK("SNACK"), - SPEAKER_ROOM("SPEAKER_ROOM"), - STORAGE_ROOM("STORAGE_ROOM"), - TEARDOWN("TEARDOWN"); - - @JsonValue - private final String value; - - AgendaItemTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (AgendaItemTypeJson o : AgendaItemTypeJson.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/AmenityType.java b/packages/java/src/main/java/com/cvent/models/components/AmenityType.java new file mode 100644 index 000000000..1a5e783d0 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/AmenityType.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; + +/** + * AmenityType + * + *

Amenity type + */ +public enum AmenityType { + INCLUDED_AMENITY("included_amenity"), + AMENITY("amenity"), + BUNDLED_SUPPLEMENT("bundled_supplement"); + + @JsonValue + private final String value; + + AmenityType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (AmenityType o : AmenityType.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/AmenityTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/AmenityTypeJson.java deleted file mode 100644 index 62a24045b..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/AmenityTypeJson.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * 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; - -/** - * AmenityTypeJson - * - *

Amenity type - */ -public enum AmenityTypeJson { - INCLUDED_AMENITY("included_amenity"), - AMENITY("amenity"), - BUNDLED_SUPPLEMENT("bundled_supplement"); - - @JsonValue - private final String value; - - AmenityTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (AmenityTypeJson o : AmenityTypeJson.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/AppointmentWithQuestions.java b/packages/java/src/main/java/com/cvent/models/components/AppointmentWithQuestions.java index 9d23e287d..1814c09b3 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AppointmentWithQuestions.java +++ b/packages/java/src/main/java/com/cvent/models/components/AppointmentWithQuestions.java @@ -161,7 +161,7 @@ public class AppointmentWithQuestions { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("questions") - private List questions; + private List questions; @JsonCreator public AppointmentWithQuestions( @@ -184,7 +184,7 @@ public AppointmentWithQuestions( @JsonProperty("enforceScheduleRules") @Nullable Boolean enforceScheduleRules, @JsonProperty("modified") @Nullable OffsetDateTime modified, @JsonProperty("deleted") @Nullable Boolean deleted, - @JsonProperty("questions") @Nullable List questions) { + @JsonProperty("questions") @Nullable List questions) { this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); this.code = code; this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); @@ -376,7 +376,7 @@ public Optional deleted() { /** * Collection of custom questions asked to participants of the appointment. */ - public Optional> questions() { + public Optional> questions() { return Optional.ofNullable(this.questions); } @@ -543,7 +543,7 @@ public AppointmentWithQuestions withDeleted(@Nullable Boolean deleted) { /** * Collection of custom questions asked to participants of the appointment. */ - public AppointmentWithQuestions withQuestions(@Nullable List questions) { + public AppointmentWithQuestions withQuestions(@Nullable List questions) { this.questions = questions; return this; } @@ -692,7 +692,7 @@ public static final class Builder { private Boolean deleted; - private List questions; + private List questions; private Builder() { // force use of static builder() method @@ -857,7 +857,7 @@ public Builder deleted(@Nullable Boolean deleted) { /** * Collection of custom questions asked to participants of the appointment. */ - 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/AssetLocation.java b/packages/java/src/main/java/com/cvent/models/components/AssetLocation.java new file mode 100644 index 000000000..dbc82245c --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/AssetLocation.java @@ -0,0 +1,93 @@ +/* + * 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; + +/** + * AssetLocation + * + *

A URL associated with the asset. + */ +public class AssetLocation { + /** + * A pre-signed URL with an expiration of 2 hours to the asset's location. + */ + @JsonProperty("href") + private String href; + + @JsonCreator + public AssetLocation(@JsonProperty("href") @Nonnull String href) { + this.href = Optional.ofNullable(href).orElseThrow(() -> new IllegalArgumentException("href cannot be null")); + } + + /** + * A pre-signed URL with an expiration of 2 hours to the asset's location. + */ + public String href() { + return this.href; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * A pre-signed URL with an expiration of 2 hours to the asset's location. + */ + public AssetLocation withHref(@Nonnull String href) { + this.href = Utils.checkNotNull(href, "href"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AssetLocation other = (AssetLocation) o; + return Utils.enhancedDeepEquals(this.href, other.href); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(href); + } + + @Override + public String toString() { + return Utils.toString(AssetLocation.class, "href", href); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String href; + + private Builder() { + // force use of static builder() method + } + + /** + * A pre-signed URL with an expiration of 2 hours to the asset's location. + */ + public Builder href(@Nonnull String href) { + this.href = Utils.checkNotNull(href, "href"); + return this; + } + + public AssetLocation build() { + return new AssetLocation(href); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/AssetLocationInput.java b/packages/java/src/main/java/com/cvent/models/components/AssetLocationInput.java new file mode 100644 index 000000000..8d0719714 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/AssetLocationInput.java @@ -0,0 +1,56 @@ +/* + * 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 java.lang.Override; +import java.lang.String; + +/** + * AssetLocationInput + * + *

A URL associated with the asset. + */ +public class AssetLocationInput { + @JsonCreator + public AssetLocationInput() {} + + public static Builder builder() { + return new Builder(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + return true; + } + + @Override + public int hashCode() { + return Utils.enhancedHash(); + } + + @Override + public String toString() { + return Utils.toString(AssetLocationInput.class); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private Builder() { + // force use of static builder() method + } + + public AssetLocationInput build() { + return new AssetLocationInput(); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/AssetLocationJson.java b/packages/java/src/main/java/com/cvent/models/components/AssetLocationJson.java deleted file mode 100644 index 10bc8411a..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/AssetLocationJson.java +++ /dev/null @@ -1,93 +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.Optional; - -/** - * AssetLocationJson - * - *

A URL associated with the asset. - */ -public class AssetLocationJson { - /** - * A pre-signed URL with an expiration of 2 hours to the asset's location. - */ - @JsonProperty("href") - private String href; - - @JsonCreator - public AssetLocationJson(@JsonProperty("href") @Nonnull String href) { - this.href = Optional.ofNullable(href).orElseThrow(() -> new IllegalArgumentException("href cannot be null")); - } - - /** - * A pre-signed URL with an expiration of 2 hours to the asset's location. - */ - public String href() { - return this.href; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * A pre-signed URL with an expiration of 2 hours to the asset's location. - */ - public AssetLocationJson withHref(@Nonnull String href) { - this.href = Utils.checkNotNull(href, "href"); - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AssetLocationJson other = (AssetLocationJson) o; - return Utils.enhancedDeepEquals(this.href, other.href); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(href); - } - - @Override - public String toString() { - return Utils.toString(AssetLocationJson.class, "href", href); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String href; - - private Builder() { - // force use of static builder() method - } - - /** - * A pre-signed URL with an expiration of 2 hours to the asset's location. - */ - public Builder href(@Nonnull String href) { - this.href = Utils.checkNotNull(href, "href"); - return this; - } - - public AssetLocationJson build() { - return new AssetLocationJson(href); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/AssetLocationJsonInput.java b/packages/java/src/main/java/com/cvent/models/components/AssetLocationJsonInput.java deleted file mode 100644 index 19dfb7c10..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/AssetLocationJsonInput.java +++ /dev/null @@ -1,56 +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 java.lang.Override; -import java.lang.String; - -/** - * AssetLocationJsonInput - * - *

A URL associated with the asset. - */ -public class AssetLocationJsonInput { - @JsonCreator - public AssetLocationJsonInput() {} - - public static Builder builder() { - return new Builder(); - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - return true; - } - - @Override - public int hashCode() { - return Utils.enhancedHash(); - } - - @Override - public String toString() { - return Utils.toString(AssetLocationJsonInput.class); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private Builder() { - // force use of static builder() method - } - - public AssetLocationJsonInput build() { - return new AssetLocationJsonInput(); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/AttachmentSource.java b/packages/java/src/main/java/com/cvent/models/components/AttachmentSource.java new file mode 100644 index 000000000..11dbaafaf --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/AttachmentSource.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; + +/** + * AttachmentSource + * + *

The source from where the attachment was uploaded. + */ +public enum AttachmentSource { + FILE_COPY_ADMIN_LIBRARY("FILE_COPY_ADMIN_LIBRARY"), + FILE_UPLOAD_LINK_URL("FILE_UPLOAD_LINK_URL"), + FILE_UPLOAD_TO_CUSTOM_DRIVE("FILE_UPLOAD_TO_CUSTOM_DRIVE"), + FILE_UPLOAD_TO_TEMP_LOCATION("FILE_UPLOAD_TO_TEMP_LOCATION"), + USER_DOCUMENT_LINK_URL("USER_DOCUMENT_LINK_URL"); + + @JsonValue + private final String value; + + AttachmentSource(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (AttachmentSource o : AttachmentSource.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/AttachmentSourceJson.java b/packages/java/src/main/java/com/cvent/models/components/AttachmentSourceJson.java deleted file mode 100644 index bc45adcb6..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/AttachmentSourceJson.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * 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; - -/** - * AttachmentSourceJson - * - *

The source from where the attachment was uploaded. - */ -public enum AttachmentSourceJson { - FILE_COPY_ADMIN_LIBRARY("FILE_COPY_ADMIN_LIBRARY"), - FILE_UPLOAD_LINK_URL("FILE_UPLOAD_LINK_URL"), - FILE_UPLOAD_TO_CUSTOM_DRIVE("FILE_UPLOAD_TO_CUSTOM_DRIVE"), - FILE_UPLOAD_TO_TEMP_LOCATION("FILE_UPLOAD_TO_TEMP_LOCATION"), - USER_DOCUMENT_LINK_URL("USER_DOCUMENT_LINK_URL"); - - @JsonValue - private final String value; - - AttachmentSourceJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (AttachmentSourceJson o : AttachmentSourceJson.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/Attendee.java b/packages/java/src/main/java/com/cvent/models/components/Attendee.java new file mode 100644 index 000000000..cf21caa65 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Attendee.java @@ -0,0 +1,93 @@ +/* + * 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; + +/** + * Attendee + * + *

The reference to the attendee. Contains only the ID of the attendee. + */ +public class Attendee { + /** + * Unique identifier of the primary invitee for the current attendee's registration. + */ + @JsonProperty("id") + private String id; + + @JsonCreator + public Attendee(@JsonProperty("id") @Nonnull String id) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + } + + /** + * Unique identifier of the primary invitee for the current attendee's registration. + */ + public String id() { + return this.id; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique identifier of the primary invitee for the current attendee's registration. + */ + public Attendee 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; + } + Attendee other = (Attendee) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(Attendee.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique identifier of the primary invitee for the current attendee's registration. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + public Attendee build() { + return new Attendee(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/Attendee1.java b/packages/java/src/main/java/com/cvent/models/components/Attendee1.java deleted file mode 100644 index 61d97e650..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/Attendee1.java +++ /dev/null @@ -1,2089 +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.Deprecated; -import java.lang.Double; -import java.lang.Long; -import java.lang.Override; -import java.lang.String; -import java.time.OffsetDateTime; -import java.util.List; -import java.util.Optional; - -/** - * Attendee1 - * - *

An event attendee. - */ -public class Attendee1 { - /** - * 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; - - /** - * The ID of attendee in the given event. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * The attendee's associated event. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("event") - private AttendeeEvent event; - - /** - * The confirmation number is a code unique to each attendee. Cvent assigns one to the attendee upon - * registration for the event. Serves as proof of registration. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("confirmationNumber") - private String confirmationNumber; - - /** - * Information about attendee contact added to an event. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("contact") - private AttendeeContactInfo contact; - - /** - * True indicates the attendee checked in to the event. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("checkedIn") - private Boolean checkedIn; - - /** - * The date time when attendee was checked in to an event. Note: this field is deprecated. Please use - * the `checkIn` field instead. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("checkin") - @Deprecated - private OffsetDateTime checkin; - - /** - * The ISO 8601 zoned date time when attendee was checked in to an event. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("checkIn") - private OffsetDateTime checkIn; - - /** - * The ISO 8601 zoned date time when attendee checked out from an event. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("checkOut") - private OffsetDateTime checkOut; - - /** - * The duration, in milliseconds, the attendee was present at the event. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("duration") - private Long duration; - - /** - * Lookup response object - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("registrationPath") - private Lookup registrationPath; - - /** - * A Named object - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("invitationList") - private NamedObject invitationList; - - /** - * Web links for an attendee. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("webLinks") - private AttendeeWebLinks webLinks; - - /** - * Lookup response object - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("registrationType") - private Lookup registrationType; - - /** - * The reference ID of an attendee. A planner determined string used to track which link attendee's - * used to reach the event registration. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("referenceId") - private String referenceId; - - /** - * The details of an attendee in an external systems. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("externalReferences") - private List externalReferences; - - /** - * A planner created note for an attendee, used to track details about the attendee. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("note") - private String note; - - /** - * True indicates the attendee is a guest of another attendee. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("guest") - private Boolean guest; - - /** - * True indicates this attendee is a deleted guest. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("deletedGuest") - private Boolean deletedGuest; - - /** - * The ID of the primary attendee to whom this guest attendee is associated. Only applicable if this - * attendee is a guest. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("primaryId") - private String primaryId; - - /** - * An attendee group. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("group") - private AttendeeGroup group; - - /** - * The reference to the related entity. Contains only the ID of the related entity. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("administrator") - private Uuid administrator; - - /** - * DEPRECATED: True indicates this attendee is unsubscribed from this event's emails. They'll still - * receive emails triggered by their own actions (like registration modification). This field has been - * deprecated. - * - *

Please use PUT /attendees/{id}/email-subscriptions instead. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("unsubscribed") - @Deprecated - private Boolean unsubscribed; - - /** - * This is used to denote the status of an attendee. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("status") - private AttendeeStatus status; - - /** - * The ISO 8601 zoned date time when attendee was registered. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("registeredAt") - private OffsetDateTime registeredAt; - - /** - * The ISO 8601 zoned date time when attendee's registration was modified. This field is updated when - * there are changes to the registration, such as adding or removing products. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("registrationLastModified") - private OffsetDateTime registrationLastModified; - - /** - * The ISO 8601 zoned date time when attendee registration was cancelled. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("registrationCancelledAt") - private OffsetDateTime registrationCancelledAt; - - /** - * Method by which the attendee was invited to the event. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("invitedBy") - private AttendeeInvitedBy1 invitedBy; - - /** - * Represents the method by which an attendee registered for the event. - * - *

- Administrator Responded: The invitee was registered by another contact acting as their - * administrator. - * - API-Responded: The invitee was registered through a custom process configured via an API - * integration. - * - Appointments Event Website: The invitee registered via an appointments event website. - * - Cvent Salesforce App: The invitee registered through an action in the Cvent Salesforce App. - * - External Registration: The attendee was registered through an external integration, such as - * Marketo. - * - Group Leader Responded: The invitee was registered by a group leader and added to a group. - * - Historical Import: The invitee's registration was imported into the event as historical data. - * - Imported: The invitee's registration was imported into the event. - * - No Response: The invitee has not registered. - * - On-site Responded: The invitee registered onsite using OnArrival's Kiosk Mode. - * - Planner-Imported: An account user imported the invitee's registration into the event. - * - Planner-Responded: An account user registered the invitee from the Cvent back-end or the - * planner-side of the OnArrival app. - * - Post Event: The invitee was registered by an account user after the event's end date or while the - * event was in Completed status. - * - Self-Responded: The invitee registered themselves through a weblink or invitation. - * - *

Note: The responseMethod can only be set if the invitee's status is No Response. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("responseMethod") - private AttendeeResponseMethod1 responseMethod; - - /** - * A list of answers to contact custom fields. Note: This field is deprecated. Answers to custom - * contact fields can be found in the 'contact' model, `customFields` field instead. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("questions") - @Deprecated - private List questions; - - /** - * The list of answers to the registration questions. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("answers") - private List answers; - - /** - * Contains details related to the attendee's admission item. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("admissionItem") - private AttendeeLookup admissionItem; - - /** - * Denotes the visibility of the attendee profile to other attendees. Private: Their profile is not - * visible. Public: Their profile is visible. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("visibility") - private AttendeeVisibility visibility; - - /** - * The attendee's biographical writeup. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("bio") - private String bio; - - /** - * Notification setting in the Attendee Hub app or website. Note: This field is deprecated. Use - * `allowPushNotification` field instead. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("showPopupNotification") - @Deprecated - private Boolean showPopupNotification; - - /** - * An attendee's website URL, appears on their profile. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("websiteUrl") - private String websiteUrl; - - /** - * True indicates attendee will recieve push notifications for session-schedule changes, promotions and - * other event activities in the Attendee Hub app. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("allowPushNotifications") - private Boolean allowPushNotifications; - - /** - * True indicaites attendee will recieve push notifications for appointments related activities in the - * Attendee Hub app. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("allowAppointmentPushNotifications") - private Boolean allowAppointmentPushNotifications; - - /** - * True indicates this attendee record was created as part of a test scenario. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("testRecord") - private Boolean testRecord; - - /** - * The ISO 8601 zoned date-time indicates when the attendee's non-contact properties were modified. - * Updates to the attendee's contact properties do not update this field. This field is updated when - * planners or attendees make changes to the attendee record, such as flagging as a participant. - * - *

It is not updated for registration or product changes. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("attendeeLastModified") - private OffsetDateTime attendeeLastModified; - - /** - * List of appointment groups associated with attendee. These control permissions and visibility in - * appointments associated with the event. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("appointmentGroups") - private List appointmentGroups; - - /** - * The amount of credit associated with the attendee. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("credit") - private Double credit; - - @JsonCreator - public Attendee1( - @JsonProperty("created") @Nullable OffsetDateTime created, - @JsonProperty("createdBy") @Nullable String createdBy, - @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, - @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, - @JsonProperty("id") @Nullable String id, - @JsonProperty("event") @Nullable AttendeeEvent event, - @JsonProperty("confirmationNumber") @Nullable String confirmationNumber, - @JsonProperty("contact") @Nullable AttendeeContactInfo contact, - @JsonProperty("checkedIn") @Nullable Boolean checkedIn, - @JsonProperty("checkin") @Nullable OffsetDateTime checkin, - @JsonProperty("checkIn") @Nullable OffsetDateTime checkIn, - @JsonProperty("checkOut") @Nullable OffsetDateTime checkOut, - @JsonProperty("duration") @Nullable Long duration, - @JsonProperty("registrationPath") @Nullable Lookup registrationPath, - @JsonProperty("invitationList") @Nullable NamedObject invitationList, - @JsonProperty("webLinks") @Nullable AttendeeWebLinks webLinks, - @JsonProperty("registrationType") @Nullable Lookup registrationType, - @JsonProperty("referenceId") @Nullable String referenceId, - @JsonProperty("externalReferences") @Nullable List externalReferences, - @JsonProperty("note") @Nullable String note, - @JsonProperty("guest") @Nullable Boolean guest, - @JsonProperty("deletedGuest") @Nullable Boolean deletedGuest, - @JsonProperty("primaryId") @Nullable String primaryId, - @JsonProperty("group") @Nullable AttendeeGroup group, - @JsonProperty("administrator") @Nullable Uuid administrator, - @JsonProperty("unsubscribed") @Nullable Boolean unsubscribed, - @JsonProperty("status") @Nullable AttendeeStatus status, - @JsonProperty("registeredAt") @Nullable OffsetDateTime registeredAt, - @JsonProperty("registrationLastModified") @Nullable OffsetDateTime registrationLastModified, - @JsonProperty("registrationCancelledAt") @Nullable OffsetDateTime registrationCancelledAt, - @JsonProperty("invitedBy") @Nullable AttendeeInvitedBy1 invitedBy, - @JsonProperty("responseMethod") @Nullable AttendeeResponseMethod1 responseMethod, - @JsonProperty("questions") @Nullable List questions, - @JsonProperty("answers") @Nullable List answers, - @JsonProperty("admissionItem") @Nullable AttendeeLookup admissionItem, - @JsonProperty("visibility") @Nullable AttendeeVisibility visibility, - @JsonProperty("bio") @Nullable String bio, - @JsonProperty("showPopupNotification") @Nullable Boolean showPopupNotification, - @JsonProperty("websiteUrl") @Nullable String websiteUrl, - @JsonProperty("allowPushNotifications") @Nullable Boolean allowPushNotifications, - @JsonProperty("allowAppointmentPushNotifications") @Nullable Boolean allowAppointmentPushNotifications, - @JsonProperty("testRecord") @Nullable Boolean testRecord, - @JsonProperty("attendeeLastModified") @Nullable OffsetDateTime attendeeLastModified, - @JsonProperty("appointmentGroups") @Nullable List appointmentGroups, - @JsonProperty("credit") @Nullable Double credit) { - this.created = created; - this.createdBy = createdBy; - this.lastModified = lastModified; - this.lastModifiedBy = lastModifiedBy; - this.id = id; - this.event = event; - this.confirmationNumber = confirmationNumber; - this.contact = contact; - this.checkedIn = checkedIn; - this.checkin = checkin; - this.checkIn = checkIn; - this.checkOut = checkOut; - this.duration = duration; - this.registrationPath = registrationPath; - this.invitationList = invitationList; - this.webLinks = webLinks; - this.registrationType = registrationType; - this.referenceId = referenceId; - this.externalReferences = externalReferences; - this.note = note; - this.guest = guest; - this.deletedGuest = deletedGuest; - this.primaryId = primaryId; - this.group = group; - this.administrator = administrator; - this.unsubscribed = unsubscribed; - this.status = status; - this.registeredAt = registeredAt; - this.registrationLastModified = registrationLastModified; - this.registrationCancelledAt = registrationCancelledAt; - this.invitedBy = invitedBy; - this.responseMethod = responseMethod; - this.questions = questions; - this.answers = answers; - this.admissionItem = admissionItem; - this.visibility = visibility; - this.bio = bio; - this.showPopupNotification = showPopupNotification; - this.websiteUrl = websiteUrl; - this.allowPushNotifications = allowPushNotifications; - this.allowAppointmentPushNotifications = allowAppointmentPushNotifications; - this.testRecord = testRecord; - this.attendeeLastModified = attendeeLastModified; - this.appointmentGroups = appointmentGroups; - this.credit = credit; - } - - public Attendee1() { - this( - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - 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); - } - - /** - * The ID of attendee in the given event. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * The attendee's associated event. - */ - public Optional event() { - return Optional.ofNullable(this.event); - } - - /** - * The confirmation number is a code unique to each attendee. Cvent assigns one to the attendee upon - * registration for the event. Serves as proof of registration. - */ - public Optional confirmationNumber() { - return Optional.ofNullable(this.confirmationNumber); - } - - /** - * Information about attendee contact added to an event. - */ - public Optional contact() { - return Optional.ofNullable(this.contact); - } - - /** - * True indicates the attendee checked in to the event. - */ - public Optional checkedIn() { - return Optional.ofNullable(this.checkedIn); - } - - /** - * The date time when attendee was checked in to an event. Note: this field is deprecated. Please use - * the `checkIn` field instead. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Optional checkin() { - return Optional.ofNullable(this.checkin); - } - - /** - * The ISO 8601 zoned date time when attendee was checked in to an event. - */ - public Optional checkIn() { - return Optional.ofNullable(this.checkIn); - } - - /** - * The ISO 8601 zoned date time when attendee checked out from an event. - */ - public Optional checkOut() { - return Optional.ofNullable(this.checkOut); - } - - /** - * The duration, in milliseconds, the attendee was present at the event. - */ - public Optional duration() { - return Optional.ofNullable(this.duration); - } - - /** - * Lookup response object - */ - public Optional registrationPath() { - return Optional.ofNullable(this.registrationPath); - } - - /** - * A Named object - */ - public Optional invitationList() { - return Optional.ofNullable(this.invitationList); - } - - /** - * Web links for an attendee. - */ - public Optional webLinks() { - return Optional.ofNullable(this.webLinks); - } - - /** - * Lookup response object - */ - public Optional registrationType() { - return Optional.ofNullable(this.registrationType); - } - - /** - * The reference ID of an attendee. A planner determined string used to track which link attendee's - * used to reach the event registration. - */ - public Optional referenceId() { - return Optional.ofNullable(this.referenceId); - } - - /** - * The details of an attendee in an external systems. - */ - public Optional> externalReferences() { - return Optional.ofNullable(this.externalReferences); - } - - /** - * A planner created note for an attendee, used to track details about the attendee. - */ - public Optional note() { - return Optional.ofNullable(this.note); - } - - /** - * True indicates the attendee is a guest of another attendee. - */ - public Optional guest() { - return Optional.ofNullable(this.guest); - } - - /** - * True indicates this attendee is a deleted guest. - */ - public Optional deletedGuest() { - return Optional.ofNullable(this.deletedGuest); - } - - /** - * The ID of the primary attendee to whom this guest attendee is associated. Only applicable if this - * attendee is a guest. - */ - public Optional primaryId() { - return Optional.ofNullable(this.primaryId); - } - - /** - * An attendee group. - */ - public Optional group() { - return Optional.ofNullable(this.group); - } - - /** - * The reference to the related entity. Contains only the ID of the related entity. - */ - public Optional administrator() { - return Optional.ofNullable(this.administrator); - } - - /** - * DEPRECATED: True indicates this attendee is unsubscribed from this event's emails. They'll still - * receive emails triggered by their own actions (like registration modification). This field has been - * deprecated. - * - *

Please use PUT /attendees/{id}/email-subscriptions instead. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Optional unsubscribed() { - return Optional.ofNullable(this.unsubscribed); - } - - /** - * This is used to denote the status of an attendee. - */ - public Optional status() { - return Optional.ofNullable(this.status); - } - - /** - * The ISO 8601 zoned date time when attendee was registered. - */ - public Optional registeredAt() { - return Optional.ofNullable(this.registeredAt); - } - - /** - * The ISO 8601 zoned date time when attendee's registration was modified. This field is updated when - * there are changes to the registration, such as adding or removing products. - */ - public Optional registrationLastModified() { - return Optional.ofNullable(this.registrationLastModified); - } - - /** - * The ISO 8601 zoned date time when attendee registration was cancelled. - */ - public Optional registrationCancelledAt() { - return Optional.ofNullable(this.registrationCancelledAt); - } - - /** - * Method by which the attendee was invited to the event. - */ - public Optional invitedBy() { - return Optional.ofNullable(this.invitedBy); - } - - /** - * Represents the method by which an attendee registered for the event. - * - *

- Administrator Responded: The invitee was registered by another contact acting as their - * administrator. - * - API-Responded: The invitee was registered through a custom process configured via an API - * integration. - * - Appointments Event Website: The invitee registered via an appointments event website. - * - Cvent Salesforce App: The invitee registered through an action in the Cvent Salesforce App. - * - External Registration: The attendee was registered through an external integration, such as - * Marketo. - * - Group Leader Responded: The invitee was registered by a group leader and added to a group. - * - Historical Import: The invitee's registration was imported into the event as historical data. - * - Imported: The invitee's registration was imported into the event. - * - No Response: The invitee has not registered. - * - On-site Responded: The invitee registered onsite using OnArrival's Kiosk Mode. - * - Planner-Imported: An account user imported the invitee's registration into the event. - * - Planner-Responded: An account user registered the invitee from the Cvent back-end or the - * planner-side of the OnArrival app. - * - Post Event: The invitee was registered by an account user after the event's end date or while the - * event was in Completed status. - * - Self-Responded: The invitee registered themselves through a weblink or invitation. - * - *

Note: The responseMethod can only be set if the invitee's status is No Response. - */ - public Optional responseMethod() { - return Optional.ofNullable(this.responseMethod); - } - - /** - * A list of answers to contact custom fields. Note: This field is deprecated. Answers to custom - * contact fields can be found in the 'contact' model, `customFields` field instead. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Optional> questions() { - return Optional.ofNullable(this.questions); - } - - /** - * The list of answers to the registration questions. - */ - public Optional> answers() { - return Optional.ofNullable(this.answers); - } - - /** - * Contains details related to the attendee's admission item. - */ - public Optional admissionItem() { - return Optional.ofNullable(this.admissionItem); - } - - /** - * Denotes the visibility of the attendee profile to other attendees. Private: Their profile is not - * visible. Public: Their profile is visible. - */ - public Optional visibility() { - return Optional.ofNullable(this.visibility); - } - - /** - * The attendee's biographical writeup. - */ - public Optional bio() { - return Optional.ofNullable(this.bio); - } - - /** - * Notification setting in the Attendee Hub app or website. Note: This field is deprecated. Use - * `allowPushNotification` field instead. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Optional showPopupNotification() { - return Optional.ofNullable(this.showPopupNotification); - } - - /** - * An attendee's website URL, appears on their profile. - */ - public Optional websiteUrl() { - return Optional.ofNullable(this.websiteUrl); - } - - /** - * True indicates attendee will recieve push notifications for session-schedule changes, promotions and - * other event activities in the Attendee Hub app. - */ - public Optional allowPushNotifications() { - return Optional.ofNullable(this.allowPushNotifications); - } - - /** - * True indicaites attendee will recieve push notifications for appointments related activities in the - * Attendee Hub app. - */ - public Optional allowAppointmentPushNotifications() { - return Optional.ofNullable(this.allowAppointmentPushNotifications); - } - - /** - * True indicates this attendee record was created as part of a test scenario. - */ - public Optional testRecord() { - return Optional.ofNullable(this.testRecord); - } - - /** - * The ISO 8601 zoned date-time indicates when the attendee's non-contact properties were modified. - * Updates to the attendee's contact properties do not update this field. This field is updated when - * planners or attendees make changes to the attendee record, such as flagging as a participant. - * - *

It is not updated for registration or product changes. - */ - public Optional attendeeLastModified() { - return Optional.ofNullable(this.attendeeLastModified); - } - - /** - * List of appointment groups associated with attendee. These control permissions and visibility in - * appointments associated with the event. - */ - public Optional> appointmentGroups() { - return Optional.ofNullable(this.appointmentGroups); - } - - /** - * The amount of credit associated with the attendee. - */ - public Optional credit() { - return Optional.ofNullable(this.credit); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The ISO 8601 zoned date time when this record was created. - */ - public Attendee1 withCreated(@Nullable OffsetDateTime created) { - this.created = created; - return this; - } - - /** - * The identifier of the user that created this record. - */ - public Attendee1 withCreatedBy(@Nullable String createdBy) { - this.createdBy = createdBy; - return this; - } - - /** - * The ISO 8601 zoned date time when this record was updated. - */ - public Attendee1 withLastModified(@Nullable OffsetDateTime lastModified) { - this.lastModified = lastModified; - return this; - } - - /** - * The identifier of the user that last updated this record. - */ - public Attendee1 withLastModifiedBy(@Nullable String lastModifiedBy) { - this.lastModifiedBy = lastModifiedBy; - return this; - } - - /** - * The ID of attendee in the given event. - */ - public Attendee1 withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The attendee's associated event. - */ - public Attendee1 withEvent(@Nullable AttendeeEvent event) { - this.event = event; - return this; - } - - /** - * The confirmation number is a code unique to each attendee. Cvent assigns one to the attendee upon - * registration for the event. Serves as proof of registration. - */ - public Attendee1 withConfirmationNumber(@Nullable String confirmationNumber) { - this.confirmationNumber = confirmationNumber; - return this; - } - - /** - * Information about attendee contact added to an event. - */ - public Attendee1 withContact(@Nullable AttendeeContactInfo contact) { - this.contact = contact; - return this; - } - - /** - * True indicates the attendee checked in to the event. - */ - public Attendee1 withCheckedIn(@Nullable Boolean checkedIn) { - this.checkedIn = checkedIn; - return this; - } - - /** - * The date time when attendee was checked in to an event. Note: this field is deprecated. Please use - * the `checkIn` field instead. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Attendee1 withCheckin(@Nullable OffsetDateTime checkin) { - this.checkin = checkin; - return this; - } - - /** - * The ISO 8601 zoned date time when attendee was checked in to an event. - */ - public Attendee1 withCheckIn(@Nullable OffsetDateTime checkIn) { - this.checkIn = checkIn; - return this; - } - - /** - * The ISO 8601 zoned date time when attendee checked out from an event. - */ - public Attendee1 withCheckOut(@Nullable OffsetDateTime checkOut) { - this.checkOut = checkOut; - return this; - } - - /** - * The duration, in milliseconds, the attendee was present at the event. - */ - public Attendee1 withDuration(@Nullable Long duration) { - this.duration = duration; - return this; - } - - /** - * Lookup response object - */ - public Attendee1 withRegistrationPath(@Nullable Lookup registrationPath) { - this.registrationPath = registrationPath; - return this; - } - - /** - * A Named object - */ - public Attendee1 withInvitationList(@Nullable NamedObject invitationList) { - this.invitationList = invitationList; - return this; - } - - /** - * Web links for an attendee. - */ - public Attendee1 withWebLinks(@Nullable AttendeeWebLinks webLinks) { - this.webLinks = webLinks; - return this; - } - - /** - * Lookup response object - */ - public Attendee1 withRegistrationType(@Nullable Lookup registrationType) { - this.registrationType = registrationType; - return this; - } - - /** - * The reference ID of an attendee. A planner determined string used to track which link attendee's - * used to reach the event registration. - */ - public Attendee1 withReferenceId(@Nullable String referenceId) { - this.referenceId = referenceId; - return this; - } - - /** - * The details of an attendee in an external systems. - */ - public Attendee1 withExternalReferences(@Nullable List externalReferences) { - this.externalReferences = externalReferences; - return this; - } - - /** - * A planner created note for an attendee, used to track details about the attendee. - */ - public Attendee1 withNote(@Nullable String note) { - this.note = note; - return this; - } - - /** - * True indicates the attendee is a guest of another attendee. - */ - public Attendee1 withGuest(@Nullable Boolean guest) { - this.guest = guest; - return this; - } - - /** - * True indicates this attendee is a deleted guest. - */ - public Attendee1 withDeletedGuest(@Nullable Boolean deletedGuest) { - this.deletedGuest = deletedGuest; - return this; - } - - /** - * The ID of the primary attendee to whom this guest attendee is associated. Only applicable if this - * attendee is a guest. - */ - public Attendee1 withPrimaryId(@Nullable String primaryId) { - this.primaryId = primaryId; - return this; - } - - /** - * An attendee group. - */ - public Attendee1 withGroup(@Nullable AttendeeGroup group) { - this.group = group; - return this; - } - - /** - * The reference to the related entity. Contains only the ID of the related entity. - */ - public Attendee1 withAdministrator(@Nullable Uuid administrator) { - this.administrator = administrator; - return this; - } - - /** - * DEPRECATED: True indicates this attendee is unsubscribed from this event's emails. They'll still - * receive emails triggered by their own actions (like registration modification). This field has been - * deprecated. - * - *

Please use PUT /attendees/{id}/email-subscriptions instead. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Attendee1 withUnsubscribed(@Nullable Boolean unsubscribed) { - this.unsubscribed = unsubscribed; - return this; - } - - /** - * This is used to denote the status of an attendee. - */ - public Attendee1 withStatus(@Nullable AttendeeStatus status) { - this.status = status; - return this; - } - - /** - * The ISO 8601 zoned date time when attendee was registered. - */ - public Attendee1 withRegisteredAt(@Nullable OffsetDateTime registeredAt) { - this.registeredAt = registeredAt; - return this; - } - - /** - * The ISO 8601 zoned date time when attendee's registration was modified. This field is updated when - * there are changes to the registration, such as adding or removing products. - */ - public Attendee1 withRegistrationLastModified(@Nullable OffsetDateTime registrationLastModified) { - this.registrationLastModified = registrationLastModified; - return this; - } - - /** - * The ISO 8601 zoned date time when attendee registration was cancelled. - */ - public Attendee1 withRegistrationCancelledAt(@Nullable OffsetDateTime registrationCancelledAt) { - this.registrationCancelledAt = registrationCancelledAt; - return this; - } - - /** - * Method by which the attendee was invited to the event. - */ - public Attendee1 withInvitedBy(@Nullable AttendeeInvitedBy1 invitedBy) { - this.invitedBy = invitedBy; - return this; - } - - /** - * Represents the method by which an attendee registered for the event. - * - *

- Administrator Responded: The invitee was registered by another contact acting as their - * administrator. - * - API-Responded: The invitee was registered through a custom process configured via an API - * integration. - * - Appointments Event Website: The invitee registered via an appointments event website. - * - Cvent Salesforce App: The invitee registered through an action in the Cvent Salesforce App. - * - External Registration: The attendee was registered through an external integration, such as - * Marketo. - * - Group Leader Responded: The invitee was registered by a group leader and added to a group. - * - Historical Import: The invitee's registration was imported into the event as historical data. - * - Imported: The invitee's registration was imported into the event. - * - No Response: The invitee has not registered. - * - On-site Responded: The invitee registered onsite using OnArrival's Kiosk Mode. - * - Planner-Imported: An account user imported the invitee's registration into the event. - * - Planner-Responded: An account user registered the invitee from the Cvent back-end or the - * planner-side of the OnArrival app. - * - Post Event: The invitee was registered by an account user after the event's end date or while the - * event was in Completed status. - * - Self-Responded: The invitee registered themselves through a weblink or invitation. - * - *

Note: The responseMethod can only be set if the invitee's status is No Response. - */ - public Attendee1 withResponseMethod(@Nullable AttendeeResponseMethod1 responseMethod) { - this.responseMethod = responseMethod; - return this; - } - - /** - * A list of answers to contact custom fields. Note: This field is deprecated. Answers to custom - * contact fields can be found in the 'contact' model, `customFields` field instead. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Attendee1 withQuestions(@Nullable List questions) { - this.questions = questions; - return this; - } - - /** - * The list of answers to the registration questions. - */ - public Attendee1 withAnswers(@Nullable List answers) { - this.answers = answers; - return this; - } - - /** - * Contains details related to the attendee's admission item. - */ - public Attendee1 withAdmissionItem(@Nullable AttendeeLookup admissionItem) { - this.admissionItem = admissionItem; - return this; - } - - /** - * Denotes the visibility of the attendee profile to other attendees. Private: Their profile is not - * visible. Public: Their profile is visible. - */ - public Attendee1 withVisibility(@Nullable AttendeeVisibility visibility) { - this.visibility = visibility; - return this; - } - - /** - * The attendee's biographical writeup. - */ - public Attendee1 withBio(@Nullable String bio) { - this.bio = bio; - return this; - } - - /** - * Notification setting in the Attendee Hub app or website. Note: This field is deprecated. Use - * `allowPushNotification` field instead. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Attendee1 withShowPopupNotification(@Nullable Boolean showPopupNotification) { - this.showPopupNotification = showPopupNotification; - return this; - } - - /** - * An attendee's website URL, appears on their profile. - */ - public Attendee1 withWebsiteUrl(@Nullable String websiteUrl) { - this.websiteUrl = websiteUrl; - return this; - } - - /** - * True indicates attendee will recieve push notifications for session-schedule changes, promotions and - * other event activities in the Attendee Hub app. - */ - public Attendee1 withAllowPushNotifications(@Nullable Boolean allowPushNotifications) { - this.allowPushNotifications = allowPushNotifications; - return this; - } - - /** - * True indicaites attendee will recieve push notifications for appointments related activities in the - * Attendee Hub app. - */ - public Attendee1 withAllowAppointmentPushNotifications(@Nullable Boolean allowAppointmentPushNotifications) { - this.allowAppointmentPushNotifications = allowAppointmentPushNotifications; - return this; - } - - /** - * True indicates this attendee record was created as part of a test scenario. - */ - public Attendee1 withTestRecord(@Nullable Boolean testRecord) { - this.testRecord = testRecord; - return this; - } - - /** - * The ISO 8601 zoned date-time indicates when the attendee's non-contact properties were modified. - * Updates to the attendee's contact properties do not update this field. This field is updated when - * planners or attendees make changes to the attendee record, such as flagging as a participant. - * - *

It is not updated for registration or product changes. - */ - public Attendee1 withAttendeeLastModified(@Nullable OffsetDateTime attendeeLastModified) { - this.attendeeLastModified = attendeeLastModified; - return this; - } - - /** - * List of appointment groups associated with attendee. These control permissions and visibility in - * appointments associated with the event. - */ - public Attendee1 withAppointmentGroups(@Nullable List appointmentGroups) { - this.appointmentGroups = appointmentGroups; - return this; - } - - /** - * The amount of credit associated with the attendee. - */ - public Attendee1 withCredit(@Nullable Double credit) { - this.credit = credit; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Attendee1 other = (Attendee1) 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.id, other.id) - && Utils.enhancedDeepEquals(this.event, other.event) - && Utils.enhancedDeepEquals(this.confirmationNumber, other.confirmationNumber) - && Utils.enhancedDeepEquals(this.contact, other.contact) - && Utils.enhancedDeepEquals(this.checkedIn, other.checkedIn) - && Utils.enhancedDeepEquals(this.checkin, other.checkin) - && Utils.enhancedDeepEquals(this.checkIn, other.checkIn) - && Utils.enhancedDeepEquals(this.checkOut, other.checkOut) - && Utils.enhancedDeepEquals(this.duration, other.duration) - && Utils.enhancedDeepEquals(this.registrationPath, other.registrationPath) - && Utils.enhancedDeepEquals(this.invitationList, other.invitationList) - && Utils.enhancedDeepEquals(this.webLinks, other.webLinks) - && Utils.enhancedDeepEquals(this.registrationType, other.registrationType) - && Utils.enhancedDeepEquals(this.referenceId, other.referenceId) - && Utils.enhancedDeepEquals(this.externalReferences, other.externalReferences) - && Utils.enhancedDeepEquals(this.note, other.note) - && Utils.enhancedDeepEquals(this.guest, other.guest) - && Utils.enhancedDeepEquals(this.deletedGuest, other.deletedGuest) - && Utils.enhancedDeepEquals(this.primaryId, other.primaryId) - && Utils.enhancedDeepEquals(this.group, other.group) - && Utils.enhancedDeepEquals(this.administrator, other.administrator) - && Utils.enhancedDeepEquals(this.unsubscribed, other.unsubscribed) - && Utils.enhancedDeepEquals(this.status, other.status) - && Utils.enhancedDeepEquals(this.registeredAt, other.registeredAt) - && Utils.enhancedDeepEquals(this.registrationLastModified, other.registrationLastModified) - && Utils.enhancedDeepEquals(this.registrationCancelledAt, other.registrationCancelledAt) - && Utils.enhancedDeepEquals(this.invitedBy, other.invitedBy) - && Utils.enhancedDeepEquals(this.responseMethod, other.responseMethod) - && Utils.enhancedDeepEquals(this.questions, other.questions) - && Utils.enhancedDeepEquals(this.answers, other.answers) - && Utils.enhancedDeepEquals(this.admissionItem, other.admissionItem) - && Utils.enhancedDeepEquals(this.visibility, other.visibility) - && Utils.enhancedDeepEquals(this.bio, other.bio) - && Utils.enhancedDeepEquals(this.showPopupNotification, other.showPopupNotification) - && Utils.enhancedDeepEquals(this.websiteUrl, other.websiteUrl) - && Utils.enhancedDeepEquals(this.allowPushNotifications, other.allowPushNotifications) - && Utils.enhancedDeepEquals(this.allowAppointmentPushNotifications, other.allowAppointmentPushNotifications) - && Utils.enhancedDeepEquals(this.testRecord, other.testRecord) - && Utils.enhancedDeepEquals(this.attendeeLastModified, other.attendeeLastModified) - && Utils.enhancedDeepEquals(this.appointmentGroups, other.appointmentGroups) - && Utils.enhancedDeepEquals(this.credit, other.credit); - } - - @Override - public int hashCode() { - return Utils.enhancedHash( - created, - createdBy, - lastModified, - lastModifiedBy, - id, - event, - confirmationNumber, - contact, - checkedIn, - checkin, - checkIn, - checkOut, - duration, - registrationPath, - invitationList, - webLinks, - registrationType, - referenceId, - externalReferences, - note, - guest, - deletedGuest, - primaryId, - group, - administrator, - unsubscribed, - status, - registeredAt, - registrationLastModified, - registrationCancelledAt, - invitedBy, - responseMethod, - questions, - answers, - admissionItem, - visibility, - bio, - showPopupNotification, - websiteUrl, - allowPushNotifications, - allowAppointmentPushNotifications, - testRecord, - attendeeLastModified, - appointmentGroups, - credit); - } - - @Override - public String toString() { - return Utils.toString( - Attendee1.class, - "created", - created, - "createdBy", - createdBy, - "lastModified", - lastModified, - "lastModifiedBy", - lastModifiedBy, - "id", - id, - "event", - event, - "confirmationNumber", - confirmationNumber, - "contact", - contact, - "checkedIn", - checkedIn, - "checkin", - checkin, - "checkIn", - checkIn, - "checkOut", - checkOut, - "duration", - duration, - "registrationPath", - registrationPath, - "invitationList", - invitationList, - "webLinks", - webLinks, - "registrationType", - registrationType, - "referenceId", - referenceId, - "externalReferences", - externalReferences, - "note", - note, - "guest", - guest, - "deletedGuest", - deletedGuest, - "primaryId", - primaryId, - "group", - group, - "administrator", - administrator, - "unsubscribed", - unsubscribed, - "status", - status, - "registeredAt", - registeredAt, - "registrationLastModified", - registrationLastModified, - "registrationCancelledAt", - registrationCancelledAt, - "invitedBy", - invitedBy, - "responseMethod", - responseMethod, - "questions", - questions, - "answers", - answers, - "admissionItem", - admissionItem, - "visibility", - visibility, - "bio", - bio, - "showPopupNotification", - showPopupNotification, - "websiteUrl", - websiteUrl, - "allowPushNotifications", - allowPushNotifications, - "allowAppointmentPushNotifications", - allowAppointmentPushNotifications, - "testRecord", - testRecord, - "attendeeLastModified", - attendeeLastModified, - "appointmentGroups", - appointmentGroups, - "credit", - credit); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private OffsetDateTime created; - - private String createdBy; - - private OffsetDateTime lastModified; - - private String lastModifiedBy; - - private String id; - - private AttendeeEvent event; - - private String confirmationNumber; - - private AttendeeContactInfo contact; - - private Boolean checkedIn; - - @Deprecated - private OffsetDateTime checkin; - - private OffsetDateTime checkIn; - - private OffsetDateTime checkOut; - - private Long duration; - - private Lookup registrationPath; - - private NamedObject invitationList; - - private AttendeeWebLinks webLinks; - - private Lookup registrationType; - - private String referenceId; - - private List externalReferences; - - private String note; - - private Boolean guest; - - private Boolean deletedGuest; - - private String primaryId; - - private AttendeeGroup group; - - private Uuid administrator; - - @Deprecated - private Boolean unsubscribed; - - private AttendeeStatus status; - - private OffsetDateTime registeredAt; - - private OffsetDateTime registrationLastModified; - - private OffsetDateTime registrationCancelledAt; - - private AttendeeInvitedBy1 invitedBy; - - private AttendeeResponseMethod1 responseMethod; - - @Deprecated - private List questions; - - private List answers; - - private AttendeeLookup admissionItem; - - private AttendeeVisibility visibility; - - private String bio; - - @Deprecated - private Boolean showPopupNotification; - - private String websiteUrl; - - private Boolean allowPushNotifications; - - private Boolean allowAppointmentPushNotifications; - - private Boolean testRecord; - - private OffsetDateTime attendeeLastModified; - - private List appointmentGroups; - - private Double credit; - - 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; - } - - /** - * The ID of attendee in the given event. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The attendee's associated event. - */ - public Builder event(@Nullable AttendeeEvent event) { - this.event = event; - return this; - } - - /** - * The confirmation number is a code unique to each attendee. Cvent assigns one to the attendee upon - * registration for the event. Serves as proof of registration. - */ - public Builder confirmationNumber(@Nullable String confirmationNumber) { - this.confirmationNumber = confirmationNumber; - return this; - } - - /** - * Information about attendee contact added to an event. - */ - public Builder contact(@Nullable AttendeeContactInfo contact) { - this.contact = contact; - return this; - } - - /** - * True indicates the attendee checked in to the event. - */ - public Builder checkedIn(@Nullable Boolean checkedIn) { - this.checkedIn = checkedIn; - return this; - } - - /** - * The date time when attendee was checked in to an event. Note: this field is deprecated. Please use - * the `checkIn` field instead. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Builder checkin(@Nullable OffsetDateTime checkin) { - this.checkin = checkin; - return this; - } - - /** - * The ISO 8601 zoned date time when attendee was checked in to an event. - */ - public Builder checkIn(@Nullable OffsetDateTime checkIn) { - this.checkIn = checkIn; - return this; - } - - /** - * The ISO 8601 zoned date time when attendee checked out from an event. - */ - public Builder checkOut(@Nullable OffsetDateTime checkOut) { - this.checkOut = checkOut; - return this; - } - - /** - * The duration, in milliseconds, the attendee was present at the event. - */ - public Builder duration(@Nullable Long duration) { - this.duration = duration; - return this; - } - - /** - * Lookup response object - */ - public Builder registrationPath(@Nullable Lookup registrationPath) { - this.registrationPath = registrationPath; - return this; - } - - /** - * A Named object - */ - public Builder invitationList(@Nullable NamedObject invitationList) { - this.invitationList = invitationList; - return this; - } - - /** - * Web links for an attendee. - */ - public Builder webLinks(@Nullable AttendeeWebLinks webLinks) { - this.webLinks = webLinks; - return this; - } - - /** - * Lookup response object - */ - public Builder registrationType(@Nullable Lookup registrationType) { - this.registrationType = registrationType; - return this; - } - - /** - * The reference ID of an attendee. A planner determined string used to track which link attendee's - * used to reach the event registration. - */ - public Builder referenceId(@Nullable String referenceId) { - this.referenceId = referenceId; - return this; - } - - /** - * The details of an attendee in an external systems. - */ - public Builder externalReferences(@Nullable List externalReferences) { - this.externalReferences = externalReferences; - return this; - } - - /** - * A planner created note for an attendee, used to track details about the attendee. - */ - public Builder note(@Nullable String note) { - this.note = note; - return this; - } - - /** - * True indicates the attendee is a guest of another attendee. - */ - public Builder guest(@Nullable Boolean guest) { - this.guest = guest; - return this; - } - - /** - * True indicates this attendee is a deleted guest. - */ - public Builder deletedGuest(@Nullable Boolean deletedGuest) { - this.deletedGuest = deletedGuest; - return this; - } - - /** - * The ID of the primary attendee to whom this guest attendee is associated. Only applicable if this - * attendee is a guest. - */ - public Builder primaryId(@Nullable String primaryId) { - this.primaryId = primaryId; - return this; - } - - /** - * An attendee group. - */ - public Builder group(@Nullable AttendeeGroup group) { - this.group = group; - return this; - } - - /** - * The reference to the related entity. Contains only the ID of the related entity. - */ - public Builder administrator(@Nullable Uuid administrator) { - this.administrator = administrator; - return this; - } - - /** - * DEPRECATED: True indicates this attendee is unsubscribed from this event's emails. They'll still - * receive emails triggered by their own actions (like registration modification). This field has been - * deprecated. - * - *

Please use PUT /attendees/{id}/email-subscriptions instead. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Builder unsubscribed(@Nullable Boolean unsubscribed) { - this.unsubscribed = unsubscribed; - return this; - } - - /** - * This is used to denote the status of an attendee. - */ - public Builder status(@Nullable AttendeeStatus status) { - this.status = status; - return this; - } - - /** - * The ISO 8601 zoned date time when attendee was registered. - */ - public Builder registeredAt(@Nullable OffsetDateTime registeredAt) { - this.registeredAt = registeredAt; - return this; - } - - /** - * The ISO 8601 zoned date time when attendee's registration was modified. This field is updated when - * there are changes to the registration, such as adding or removing products. - */ - public Builder registrationLastModified(@Nullable OffsetDateTime registrationLastModified) { - this.registrationLastModified = registrationLastModified; - return this; - } - - /** - * The ISO 8601 zoned date time when attendee registration was cancelled. - */ - public Builder registrationCancelledAt(@Nullable OffsetDateTime registrationCancelledAt) { - this.registrationCancelledAt = registrationCancelledAt; - return this; - } - - /** - * Method by which the attendee was invited to the event. - */ - public Builder invitedBy(@Nullable AttendeeInvitedBy1 invitedBy) { - this.invitedBy = invitedBy; - return this; - } - - /** - * Represents the method by which an attendee registered for the event. - * - *

- Administrator Responded: The invitee was registered by another contact acting as their - * administrator. - * - API-Responded: The invitee was registered through a custom process configured via an API - * integration. - * - Appointments Event Website: The invitee registered via an appointments event website. - * - Cvent Salesforce App: The invitee registered through an action in the Cvent Salesforce App. - * - External Registration: The attendee was registered through an external integration, such as - * Marketo. - * - Group Leader Responded: The invitee was registered by a group leader and added to a group. - * - Historical Import: The invitee's registration was imported into the event as historical data. - * - Imported: The invitee's registration was imported into the event. - * - No Response: The invitee has not registered. - * - On-site Responded: The invitee registered onsite using OnArrival's Kiosk Mode. - * - Planner-Imported: An account user imported the invitee's registration into the event. - * - Planner-Responded: An account user registered the invitee from the Cvent back-end or the - * planner-side of the OnArrival app. - * - Post Event: The invitee was registered by an account user after the event's end date or while the - * event was in Completed status. - * - Self-Responded: The invitee registered themselves through a weblink or invitation. - * - *

Note: The responseMethod can only be set if the invitee's status is No Response. - */ - public Builder responseMethod(@Nullable AttendeeResponseMethod1 responseMethod) { - this.responseMethod = responseMethod; - return this; - } - - /** - * A list of answers to contact custom fields. Note: This field is deprecated. Answers to custom - * contact fields can be found in the 'contact' model, `customFields` field instead. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Builder questions(@Nullable List questions) { - this.questions = questions; - return this; - } - - /** - * The list of answers to the registration questions. - */ - public Builder answers(@Nullable List answers) { - this.answers = answers; - return this; - } - - /** - * Contains details related to the attendee's admission item. - */ - public Builder admissionItem(@Nullable AttendeeLookup admissionItem) { - this.admissionItem = admissionItem; - return this; - } - - /** - * Denotes the visibility of the attendee profile to other attendees. Private: Their profile is not - * visible. Public: Their profile is visible. - */ - public Builder visibility(@Nullable AttendeeVisibility visibility) { - this.visibility = visibility; - return this; - } - - /** - * The attendee's biographical writeup. - */ - public Builder bio(@Nullable String bio) { - this.bio = bio; - return this; - } - - /** - * Notification setting in the Attendee Hub app or website. Note: This field is deprecated. Use - * `allowPushNotification` field instead. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Builder showPopupNotification(@Nullable Boolean showPopupNotification) { - this.showPopupNotification = showPopupNotification; - return this; - } - - /** - * An attendee's website URL, appears on their profile. - */ - public Builder websiteUrl(@Nullable String websiteUrl) { - this.websiteUrl = websiteUrl; - return this; - } - - /** - * True indicates attendee will recieve push notifications for session-schedule changes, promotions and - * other event activities in the Attendee Hub app. - */ - public Builder allowPushNotifications(@Nullable Boolean allowPushNotifications) { - this.allowPushNotifications = allowPushNotifications; - return this; - } - - /** - * True indicaites attendee will recieve push notifications for appointments related activities in the - * Attendee Hub app. - */ - public Builder allowAppointmentPushNotifications(@Nullable Boolean allowAppointmentPushNotifications) { - this.allowAppointmentPushNotifications = allowAppointmentPushNotifications; - return this; - } - - /** - * True indicates this attendee record was created as part of a test scenario. - */ - public Builder testRecord(@Nullable Boolean testRecord) { - this.testRecord = testRecord; - return this; - } - - /** - * The ISO 8601 zoned date-time indicates when the attendee's non-contact properties were modified. - * Updates to the attendee's contact properties do not update this field. This field is updated when - * planners or attendees make changes to the attendee record, such as flagging as a participant. - * - *

It is not updated for registration or product changes. - */ - public Builder attendeeLastModified(@Nullable OffsetDateTime attendeeLastModified) { - this.attendeeLastModified = attendeeLastModified; - return this; - } - - /** - * List of appointment groups associated with attendee. These control permissions and visibility in - * appointments associated with the event. - */ - public Builder appointmentGroups(@Nullable List appointmentGroups) { - this.appointmentGroups = appointmentGroups; - return this; - } - - /** - * The amount of credit associated with the attendee. - */ - public Builder credit(@Nullable Double credit) { - this.credit = credit; - return this; - } - - public Attendee1 build() { - return new Attendee1( - created, - createdBy, - lastModified, - lastModifiedBy, - id, - event, - confirmationNumber, - contact, - checkedIn, - checkin, - checkIn, - checkOut, - duration, - registrationPath, - invitationList, - webLinks, - registrationType, - referenceId, - externalReferences, - note, - guest, - deletedGuest, - primaryId, - group, - administrator, - unsubscribed, - status, - registeredAt, - registrationLastModified, - registrationCancelledAt, - invitedBy, - responseMethod, - questions, - answers, - admissionItem, - visibility, - bio, - showPopupNotification, - websiteUrl, - allowPushNotifications, - allowAppointmentPushNotifications, - testRecord, - attendeeLastModified, - appointmentGroups, - credit); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/Attendee11.java b/packages/java/src/main/java/com/cvent/models/components/Attendee11.java index 161df43c5..304c5c9e1 100644 --- a/packages/java/src/main/java/com/cvent/models/components/Attendee11.java +++ b/packages/java/src/main/java/com/cvent/models/components/Attendee11.java @@ -5,89 +5,2085 @@ 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.Boolean; +import java.lang.Deprecated; +import java.lang.Double; +import java.lang.Long; import java.lang.Override; import java.lang.String; +import java.time.OffsetDateTime; +import java.util.List; import java.util.Optional; /** * Attendee11 * - *

The associated Attendee. + *

An event attendee. */ public class Attendee11 { /** - * Attendee id + * 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; + + /** + * The ID of attendee in the given event. + */ + @JsonInclude(Include.NON_ABSENT) @JsonProperty("id") private String id; + /** + * The attendee's associated event. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("event") + private Attendee1Event event; + + /** + * The confirmation number is a code unique to each attendee. Cvent assigns one to the attendee upon + * registration for the event. Serves as proof of registration. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("confirmationNumber") + private String confirmationNumber; + + /** + * Information about attendee contact added to an event. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("contact") + private AttendeeContactInfo contact; + + /** + * True indicates the attendee checked in to the event. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("checkedIn") + private Boolean checkedIn; + + /** + * The date time when attendee was checked in to an event. Note: this field is deprecated. Please use + * the `checkIn` field instead. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("checkin") + @Deprecated + private OffsetDateTime checkin; + + /** + * The ISO 8601 zoned date time when attendee was checked in to an event. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("checkIn") + private OffsetDateTime checkIn; + + /** + * The ISO 8601 zoned date time when attendee checked out from an event. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("checkOut") + private OffsetDateTime checkOut; + + /** + * The duration, in milliseconds, the attendee was present at the event. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("duration") + private Long duration; + + /** + * Lookup response object + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("registrationPath") + private Lookup registrationPath; + + /** + * A Named object + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("invitationList") + private NamedObject invitationList; + + /** + * Web links for an attendee. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("webLinks") + private AttendeeWebLinks webLinks; + + /** + * Lookup response object + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("registrationType") + private Lookup registrationType; + + /** + * The reference ID of an attendee. A planner determined string used to track which link attendee's + * used to reach the event registration. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("referenceId") + private String referenceId; + + /** + * The details of an attendee in an external systems. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("externalReferences") + private List externalReferences; + + /** + * A planner created note for an attendee, used to track details about the attendee. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("note") + private String note; + + /** + * True indicates the attendee is a guest of another attendee. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("guest") + private Boolean guest; + + /** + * True indicates this attendee is a deleted guest. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("deletedGuest") + private Boolean deletedGuest; + + /** + * The ID of the primary attendee to whom this guest attendee is associated. Only applicable if this + * attendee is a guest. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("primaryId") + private String primaryId; + + /** + * An attendee group. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("group") + private AttendeeGroup group; + + /** + * The reference to the related entity. Contains only the ID of the related entity. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("administrator") + private Uuid administrator; + + /** + * DEPRECATED: True indicates this attendee is unsubscribed from this event's emails. They'll still + * receive emails triggered by their own actions (like registration modification). This field has been + * deprecated. + * + *

Please use PUT /attendees/{id}/email-subscriptions instead. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("unsubscribed") + @Deprecated + private Boolean unsubscribed; + + /** + * This is used to denote the status of an attendee. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("status") + private AttendeeStatus status; + + /** + * The ISO 8601 zoned date time when attendee was registered. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("registeredAt") + private OffsetDateTime registeredAt; + + /** + * The ISO 8601 zoned date time when attendee's registration was modified. This field is updated when + * there are changes to the registration, such as adding or removing products. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("registrationLastModified") + private OffsetDateTime registrationLastModified; + + /** + * The ISO 8601 zoned date time when attendee registration was cancelled. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("registrationCancelledAt") + private OffsetDateTime registrationCancelledAt; + + /** + * Method by which the attendee was invited to the event. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("invitedBy") + private AttendeeInvitedBy1 invitedBy; + + /** + * Represents the method by which an attendee registered for the event. + * + *

- Administrator Responded: The invitee was registered by another contact acting as their + * administrator. + * - API-Responded: The invitee was registered through a custom process configured via an API + * integration. + * - Appointments Event Website: The invitee registered via an appointments event website. + * - Cvent Salesforce App: The invitee registered through an action in the Cvent Salesforce App. + * - External Registration: The attendee was registered through an external integration, such as + * Marketo. + * - Group Leader Responded: The invitee was registered by a group leader and added to a group. + * - Historical Import: The invitee's registration was imported into the event as historical data. + * - Imported: The invitee's registration was imported into the event. + * - No Response: The invitee has not registered. + * - On-site Responded: The invitee registered onsite using OnArrival's Kiosk Mode. + * - Planner-Imported: An account user imported the invitee's registration into the event. + * - Planner-Responded: An account user registered the invitee from the Cvent back-end or the + * planner-side of the OnArrival app. + * - Post Event: The invitee was registered by an account user after the event's end date or while the + * event was in Completed status. + * - Self-Responded: The invitee registered themselves through a weblink or invitation. + * + *

Note: The responseMethod can only be set if the invitee's status is No Response. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("responseMethod") + private AttendeeResponseMethod1 responseMethod; + + /** + * A list of answers to contact custom fields. Note: This field is deprecated. Answers to custom + * contact fields can be found in the 'contact' model, `customFields` field instead. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("questions") + @Deprecated + private List questions; + + /** + * The list of answers to the registration questions. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("answers") + private List answers; + + /** + * Contains details related to the attendee's admission item. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("admissionItem") + private Attendee1Lookup admissionItem; + + /** + * Denotes the visibility of the attendee profile to other attendees. Private: Their profile is not + * visible. Public: Their profile is visible. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("visibility") + private AttendeeVisibility visibility; + + /** + * The attendee's biographical writeup. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("bio") + private String bio; + + /** + * Notification setting in the Attendee Hub app or website. Note: This field is deprecated. Use + * `allowPushNotification` field instead. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("showPopupNotification") + @Deprecated + private Boolean showPopupNotification; + + /** + * An attendee's website URL, appears on their profile. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("websiteUrl") + private String websiteUrl; + + /** + * True indicates attendee will recieve push notifications for session-schedule changes, promotions and + * other event activities in the Attendee Hub app. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("allowPushNotifications") + private Boolean allowPushNotifications; + + /** + * True indicaites attendee will recieve push notifications for appointments related activities in the + * Attendee Hub app. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("allowAppointmentPushNotifications") + private Boolean allowAppointmentPushNotifications; + + /** + * True indicates this attendee record was created as part of a test scenario. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("testRecord") + private Boolean testRecord; + + /** + * The ISO 8601 zoned date-time indicates when the attendee's non-contact properties were modified. + * Updates to the attendee's contact properties do not update this field. This field is updated when + * planners or attendees make changes to the attendee record, such as flagging as a participant. + * + *

It is not updated for registration or product changes. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("attendeeLastModified") + private OffsetDateTime attendeeLastModified; + + /** + * List of appointment groups associated with attendee. These control permissions and visibility in + * appointments associated with the event. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("appointmentGroups") + private List appointmentGroups; + + /** + * The amount of credit associated with the attendee. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credit") + private Double credit; + @JsonCreator - public Attendee11(@JsonProperty("id") @Nonnull String id) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + public Attendee11( + @JsonProperty("created") @Nullable OffsetDateTime created, + @JsonProperty("createdBy") @Nullable String createdBy, + @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, + @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, + @JsonProperty("id") @Nullable String id, + @JsonProperty("event") @Nullable Attendee1Event event, + @JsonProperty("confirmationNumber") @Nullable String confirmationNumber, + @JsonProperty("contact") @Nullable AttendeeContactInfo contact, + @JsonProperty("checkedIn") @Nullable Boolean checkedIn, + @JsonProperty("checkin") @Nullable OffsetDateTime checkin, + @JsonProperty("checkIn") @Nullable OffsetDateTime checkIn, + @JsonProperty("checkOut") @Nullable OffsetDateTime checkOut, + @JsonProperty("duration") @Nullable Long duration, + @JsonProperty("registrationPath") @Nullable Lookup registrationPath, + @JsonProperty("invitationList") @Nullable NamedObject invitationList, + @JsonProperty("webLinks") @Nullable AttendeeWebLinks webLinks, + @JsonProperty("registrationType") @Nullable Lookup registrationType, + @JsonProperty("referenceId") @Nullable String referenceId, + @JsonProperty("externalReferences") @Nullable List externalReferences, + @JsonProperty("note") @Nullable String note, + @JsonProperty("guest") @Nullable Boolean guest, + @JsonProperty("deletedGuest") @Nullable Boolean deletedGuest, + @JsonProperty("primaryId") @Nullable String primaryId, + @JsonProperty("group") @Nullable AttendeeGroup group, + @JsonProperty("administrator") @Nullable Uuid administrator, + @JsonProperty("unsubscribed") @Nullable Boolean unsubscribed, + @JsonProperty("status") @Nullable AttendeeStatus status, + @JsonProperty("registeredAt") @Nullable OffsetDateTime registeredAt, + @JsonProperty("registrationLastModified") @Nullable OffsetDateTime registrationLastModified, + @JsonProperty("registrationCancelledAt") @Nullable OffsetDateTime registrationCancelledAt, + @JsonProperty("invitedBy") @Nullable AttendeeInvitedBy1 invitedBy, + @JsonProperty("responseMethod") @Nullable AttendeeResponseMethod1 responseMethod, + @JsonProperty("questions") @Nullable List questions, + @JsonProperty("answers") @Nullable List answers, + @JsonProperty("admissionItem") @Nullable Attendee1Lookup admissionItem, + @JsonProperty("visibility") @Nullable AttendeeVisibility visibility, + @JsonProperty("bio") @Nullable String bio, + @JsonProperty("showPopupNotification") @Nullable Boolean showPopupNotification, + @JsonProperty("websiteUrl") @Nullable String websiteUrl, + @JsonProperty("allowPushNotifications") @Nullable Boolean allowPushNotifications, + @JsonProperty("allowAppointmentPushNotifications") @Nullable Boolean allowAppointmentPushNotifications, + @JsonProperty("testRecord") @Nullable Boolean testRecord, + @JsonProperty("attendeeLastModified") @Nullable OffsetDateTime attendeeLastModified, + @JsonProperty("appointmentGroups") @Nullable List appointmentGroups, + @JsonProperty("credit") @Nullable Double credit) { + this.created = created; + this.createdBy = createdBy; + this.lastModified = lastModified; + this.lastModifiedBy = lastModifiedBy; + this.id = id; + this.event = event; + this.confirmationNumber = confirmationNumber; + this.contact = contact; + this.checkedIn = checkedIn; + this.checkin = checkin; + this.checkIn = checkIn; + this.checkOut = checkOut; + this.duration = duration; + this.registrationPath = registrationPath; + this.invitationList = invitationList; + this.webLinks = webLinks; + this.registrationType = registrationType; + this.referenceId = referenceId; + this.externalReferences = externalReferences; + this.note = note; + this.guest = guest; + this.deletedGuest = deletedGuest; + this.primaryId = primaryId; + this.group = group; + this.administrator = administrator; + this.unsubscribed = unsubscribed; + this.status = status; + this.registeredAt = registeredAt; + this.registrationLastModified = registrationLastModified; + this.registrationCancelledAt = registrationCancelledAt; + this.invitedBy = invitedBy; + this.responseMethod = responseMethod; + this.questions = questions; + this.answers = answers; + this.admissionItem = admissionItem; + this.visibility = visibility; + this.bio = bio; + this.showPopupNotification = showPopupNotification; + this.websiteUrl = websiteUrl; + this.allowPushNotifications = allowPushNotifications; + this.allowAppointmentPushNotifications = allowAppointmentPushNotifications; + this.testRecord = testRecord; + this.attendeeLastModified = attendeeLastModified; + this.appointmentGroups = appointmentGroups; + this.credit = credit; + } + + public Attendee11() { + this( + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null); } /** - * Attendee id + * The ISO 8601 zoned date time when this record was created. */ - public String id() { - return this.id; + public Optional created() { + return Optional.ofNullable(this.created); } - public static Builder builder() { - return new Builder(); + /** + * The identifier of the user that created this record. + */ + public Optional createdBy() { + return Optional.ofNullable(this.createdBy); } /** - * Attendee id + * The ISO 8601 zoned date time when this record was updated. */ - public Attendee11 withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; + public Optional lastModified() { + return Optional.ofNullable(this.lastModified); } - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Attendee11 other = (Attendee11) o; - return Utils.enhancedDeepEquals(this.id, other.id); + /** + * The identifier of the user that last updated this record. + */ + public Optional lastModifiedBy() { + return Optional.ofNullable(this.lastModifiedBy); } - @Override - public int hashCode() { - return Utils.enhancedHash(id); + /** + * The ID of attendee in the given event. + */ + public Optional id() { + return Optional.ofNullable(this.id); } - @Override - public String toString() { - return Utils.toString(Attendee11.class, "id", id); + /** + * The attendee's associated event. + */ + public Optional event() { + return Optional.ofNullable(this.event); } - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { + /** + * The confirmation number is a code unique to each attendee. Cvent assigns one to the attendee upon + * registration for the event. Serves as proof of registration. + */ + public Optional confirmationNumber() { + return Optional.ofNullable(this.confirmationNumber); + } - private String id; + /** + * Information about attendee contact added to an event. + */ + public Optional contact() { + return Optional.ofNullable(this.contact); + } - private Builder() { - // force use of static builder() method + /** + * True indicates the attendee checked in to the event. + */ + public Optional checkedIn() { + return Optional.ofNullable(this.checkedIn); + } + + /** + * The date time when attendee was checked in to an event. Note: this field is deprecated. Please use + * the `checkIn` field instead. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Optional checkin() { + return Optional.ofNullable(this.checkin); + } + + /** + * The ISO 8601 zoned date time when attendee was checked in to an event. + */ + public Optional checkIn() { + return Optional.ofNullable(this.checkIn); + } + + /** + * The ISO 8601 zoned date time when attendee checked out from an event. + */ + public Optional checkOut() { + return Optional.ofNullable(this.checkOut); + } + + /** + * The duration, in milliseconds, the attendee was present at the event. + */ + public Optional duration() { + return Optional.ofNullable(this.duration); + } + + /** + * Lookup response object + */ + public Optional registrationPath() { + return Optional.ofNullable(this.registrationPath); + } + + /** + * A Named object + */ + public Optional invitationList() { + return Optional.ofNullable(this.invitationList); + } + + /** + * Web links for an attendee. + */ + public Optional webLinks() { + return Optional.ofNullable(this.webLinks); + } + + /** + * Lookup response object + */ + public Optional registrationType() { + return Optional.ofNullable(this.registrationType); + } + + /** + * The reference ID of an attendee. A planner determined string used to track which link attendee's + * used to reach the event registration. + */ + public Optional referenceId() { + return Optional.ofNullable(this.referenceId); + } + + /** + * The details of an attendee in an external systems. + */ + public Optional> externalReferences() { + return Optional.ofNullable(this.externalReferences); + } + + /** + * A planner created note for an attendee, used to track details about the attendee. + */ + public Optional note() { + return Optional.ofNullable(this.note); + } + + /** + * True indicates the attendee is a guest of another attendee. + */ + public Optional guest() { + return Optional.ofNullable(this.guest); + } + + /** + * True indicates this attendee is a deleted guest. + */ + public Optional deletedGuest() { + return Optional.ofNullable(this.deletedGuest); + } + + /** + * The ID of the primary attendee to whom this guest attendee is associated. Only applicable if this + * attendee is a guest. + */ + public Optional primaryId() { + return Optional.ofNullable(this.primaryId); + } + + /** + * An attendee group. + */ + public Optional group() { + return Optional.ofNullable(this.group); + } + + /** + * The reference to the related entity. Contains only the ID of the related entity. + */ + public Optional administrator() { + return Optional.ofNullable(this.administrator); + } + + /** + * DEPRECATED: True indicates this attendee is unsubscribed from this event's emails. They'll still + * receive emails triggered by their own actions (like registration modification). This field has been + * deprecated. + * + *

Please use PUT /attendees/{id}/email-subscriptions instead. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Optional unsubscribed() { + return Optional.ofNullable(this.unsubscribed); + } + + /** + * This is used to denote the status of an attendee. + */ + public Optional status() { + return Optional.ofNullable(this.status); + } + + /** + * The ISO 8601 zoned date time when attendee was registered. + */ + public Optional registeredAt() { + return Optional.ofNullable(this.registeredAt); + } + + /** + * The ISO 8601 zoned date time when attendee's registration was modified. This field is updated when + * there are changes to the registration, such as adding or removing products. + */ + public Optional registrationLastModified() { + return Optional.ofNullable(this.registrationLastModified); + } + + /** + * The ISO 8601 zoned date time when attendee registration was cancelled. + */ + public Optional registrationCancelledAt() { + return Optional.ofNullable(this.registrationCancelledAt); + } + + /** + * Method by which the attendee was invited to the event. + */ + public Optional invitedBy() { + return Optional.ofNullable(this.invitedBy); + } + + /** + * Represents the method by which an attendee registered for the event. + * + *

- Administrator Responded: The invitee was registered by another contact acting as their + * administrator. + * - API-Responded: The invitee was registered through a custom process configured via an API + * integration. + * - Appointments Event Website: The invitee registered via an appointments event website. + * - Cvent Salesforce App: The invitee registered through an action in the Cvent Salesforce App. + * - External Registration: The attendee was registered through an external integration, such as + * Marketo. + * - Group Leader Responded: The invitee was registered by a group leader and added to a group. + * - Historical Import: The invitee's registration was imported into the event as historical data. + * - Imported: The invitee's registration was imported into the event. + * - No Response: The invitee has not registered. + * - On-site Responded: The invitee registered onsite using OnArrival's Kiosk Mode. + * - Planner-Imported: An account user imported the invitee's registration into the event. + * - Planner-Responded: An account user registered the invitee from the Cvent back-end or the + * planner-side of the OnArrival app. + * - Post Event: The invitee was registered by an account user after the event's end date or while the + * event was in Completed status. + * - Self-Responded: The invitee registered themselves through a weblink or invitation. + * + *

Note: The responseMethod can only be set if the invitee's status is No Response. + */ + public Optional responseMethod() { + return Optional.ofNullable(this.responseMethod); + } + + /** + * A list of answers to contact custom fields. Note: This field is deprecated. Answers to custom + * contact fields can be found in the 'contact' model, `customFields` field instead. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Optional> questions() { + return Optional.ofNullable(this.questions); + } + + /** + * The list of answers to the registration questions. + */ + public Optional> answers() { + return Optional.ofNullable(this.answers); + } + + /** + * Contains details related to the attendee's admission item. + */ + public Optional admissionItem() { + return Optional.ofNullable(this.admissionItem); + } + + /** + * Denotes the visibility of the attendee profile to other attendees. Private: Their profile is not + * visible. Public: Their profile is visible. + */ + public Optional visibility() { + return Optional.ofNullable(this.visibility); + } + + /** + * The attendee's biographical writeup. + */ + public Optional bio() { + return Optional.ofNullable(this.bio); + } + + /** + * Notification setting in the Attendee Hub app or website. Note: This field is deprecated. Use + * `allowPushNotification` field instead. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Optional showPopupNotification() { + return Optional.ofNullable(this.showPopupNotification); + } + + /** + * An attendee's website URL, appears on their profile. + */ + public Optional websiteUrl() { + return Optional.ofNullable(this.websiteUrl); + } + + /** + * True indicates attendee will recieve push notifications for session-schedule changes, promotions and + * other event activities in the Attendee Hub app. + */ + public Optional allowPushNotifications() { + return Optional.ofNullable(this.allowPushNotifications); + } + + /** + * True indicaites attendee will recieve push notifications for appointments related activities in the + * Attendee Hub app. + */ + public Optional allowAppointmentPushNotifications() { + return Optional.ofNullable(this.allowAppointmentPushNotifications); + } + + /** + * True indicates this attendee record was created as part of a test scenario. + */ + public Optional testRecord() { + return Optional.ofNullable(this.testRecord); + } + + /** + * The ISO 8601 zoned date-time indicates when the attendee's non-contact properties were modified. + * Updates to the attendee's contact properties do not update this field. This field is updated when + * planners or attendees make changes to the attendee record, such as flagging as a participant. + * + *

It is not updated for registration or product changes. + */ + public Optional attendeeLastModified() { + return Optional.ofNullable(this.attendeeLastModified); + } + + /** + * List of appointment groups associated with attendee. These control permissions and visibility in + * appointments associated with the event. + */ + public Optional> appointmentGroups() { + return Optional.ofNullable(this.appointmentGroups); + } + + /** + * The amount of credit associated with the attendee. + */ + public Optional credit() { + return Optional.ofNullable(this.credit); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The ISO 8601 zoned date time when this record was created. + */ + public Attendee11 withCreated(@Nullable OffsetDateTime created) { + this.created = created; + return this; + } + + /** + * The identifier of the user that created this record. + */ + public Attendee11 withCreatedBy(@Nullable String createdBy) { + this.createdBy = createdBy; + return this; + } + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + public Attendee11 withLastModified(@Nullable OffsetDateTime lastModified) { + this.lastModified = lastModified; + return this; + } + + /** + * The identifier of the user that last updated this record. + */ + public Attendee11 withLastModifiedBy(@Nullable String lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + return this; + } + + /** + * The ID of attendee in the given event. + */ + public Attendee11 withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The attendee's associated event. + */ + public Attendee11 withEvent(@Nullable Attendee1Event event) { + this.event = event; + return this; + } + + /** + * The confirmation number is a code unique to each attendee. Cvent assigns one to the attendee upon + * registration for the event. Serves as proof of registration. + */ + public Attendee11 withConfirmationNumber(@Nullable String confirmationNumber) { + this.confirmationNumber = confirmationNumber; + return this; + } + + /** + * Information about attendee contact added to an event. + */ + public Attendee11 withContact(@Nullable AttendeeContactInfo contact) { + this.contact = contact; + return this; + } + + /** + * True indicates the attendee checked in to the event. + */ + public Attendee11 withCheckedIn(@Nullable Boolean checkedIn) { + this.checkedIn = checkedIn; + return this; + } + + /** + * The date time when attendee was checked in to an event. Note: this field is deprecated. Please use + * the `checkIn` field instead. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Attendee11 withCheckin(@Nullable OffsetDateTime checkin) { + this.checkin = checkin; + return this; + } + + /** + * The ISO 8601 zoned date time when attendee was checked in to an event. + */ + public Attendee11 withCheckIn(@Nullable OffsetDateTime checkIn) { + this.checkIn = checkIn; + return this; + } + + /** + * The ISO 8601 zoned date time when attendee checked out from an event. + */ + public Attendee11 withCheckOut(@Nullable OffsetDateTime checkOut) { + this.checkOut = checkOut; + return this; + } + + /** + * The duration, in milliseconds, the attendee was present at the event. + */ + public Attendee11 withDuration(@Nullable Long duration) { + this.duration = duration; + return this; + } + + /** + * Lookup response object + */ + public Attendee11 withRegistrationPath(@Nullable Lookup registrationPath) { + this.registrationPath = registrationPath; + return this; + } + + /** + * A Named object + */ + public Attendee11 withInvitationList(@Nullable NamedObject invitationList) { + this.invitationList = invitationList; + return this; + } + + /** + * Web links for an attendee. + */ + public Attendee11 withWebLinks(@Nullable AttendeeWebLinks webLinks) { + this.webLinks = webLinks; + return this; + } + + /** + * Lookup response object + */ + public Attendee11 withRegistrationType(@Nullable Lookup registrationType) { + this.registrationType = registrationType; + return this; + } + + /** + * The reference ID of an attendee. A planner determined string used to track which link attendee's + * used to reach the event registration. + */ + public Attendee11 withReferenceId(@Nullable String referenceId) { + this.referenceId = referenceId; + return this; + } + + /** + * The details of an attendee in an external systems. + */ + public Attendee11 withExternalReferences(@Nullable List externalReferences) { + this.externalReferences = externalReferences; + return this; + } + + /** + * A planner created note for an attendee, used to track details about the attendee. + */ + public Attendee11 withNote(@Nullable String note) { + this.note = note; + return this; + } + + /** + * True indicates the attendee is a guest of another attendee. + */ + public Attendee11 withGuest(@Nullable Boolean guest) { + this.guest = guest; + return this; + } + + /** + * True indicates this attendee is a deleted guest. + */ + public Attendee11 withDeletedGuest(@Nullable Boolean deletedGuest) { + this.deletedGuest = deletedGuest; + return this; + } + + /** + * The ID of the primary attendee to whom this guest attendee is associated. Only applicable if this + * attendee is a guest. + */ + public Attendee11 withPrimaryId(@Nullable String primaryId) { + this.primaryId = primaryId; + return this; + } + + /** + * An attendee group. + */ + public Attendee11 withGroup(@Nullable AttendeeGroup group) { + this.group = group; + return this; + } + + /** + * The reference to the related entity. Contains only the ID of the related entity. + */ + public Attendee11 withAdministrator(@Nullable Uuid administrator) { + this.administrator = administrator; + return this; + } + + /** + * DEPRECATED: True indicates this attendee is unsubscribed from this event's emails. They'll still + * receive emails triggered by their own actions (like registration modification). This field has been + * deprecated. + * + *

Please use PUT /attendees/{id}/email-subscriptions instead. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Attendee11 withUnsubscribed(@Nullable Boolean unsubscribed) { + this.unsubscribed = unsubscribed; + return this; + } + + /** + * This is used to denote the status of an attendee. + */ + public Attendee11 withStatus(@Nullable AttendeeStatus status) { + this.status = status; + return this; + } + + /** + * The ISO 8601 zoned date time when attendee was registered. + */ + public Attendee11 withRegisteredAt(@Nullable OffsetDateTime registeredAt) { + this.registeredAt = registeredAt; + return this; + } + + /** + * The ISO 8601 zoned date time when attendee's registration was modified. This field is updated when + * there are changes to the registration, such as adding or removing products. + */ + public Attendee11 withRegistrationLastModified(@Nullable OffsetDateTime registrationLastModified) { + this.registrationLastModified = registrationLastModified; + return this; + } + + /** + * The ISO 8601 zoned date time when attendee registration was cancelled. + */ + public Attendee11 withRegistrationCancelledAt(@Nullable OffsetDateTime registrationCancelledAt) { + this.registrationCancelledAt = registrationCancelledAt; + return this; + } + + /** + * Method by which the attendee was invited to the event. + */ + public Attendee11 withInvitedBy(@Nullable AttendeeInvitedBy1 invitedBy) { + this.invitedBy = invitedBy; + return this; + } + + /** + * Represents the method by which an attendee registered for the event. + * + *

- Administrator Responded: The invitee was registered by another contact acting as their + * administrator. + * - API-Responded: The invitee was registered through a custom process configured via an API + * integration. + * - Appointments Event Website: The invitee registered via an appointments event website. + * - Cvent Salesforce App: The invitee registered through an action in the Cvent Salesforce App. + * - External Registration: The attendee was registered through an external integration, such as + * Marketo. + * - Group Leader Responded: The invitee was registered by a group leader and added to a group. + * - Historical Import: The invitee's registration was imported into the event as historical data. + * - Imported: The invitee's registration was imported into the event. + * - No Response: The invitee has not registered. + * - On-site Responded: The invitee registered onsite using OnArrival's Kiosk Mode. + * - Planner-Imported: An account user imported the invitee's registration into the event. + * - Planner-Responded: An account user registered the invitee from the Cvent back-end or the + * planner-side of the OnArrival app. + * - Post Event: The invitee was registered by an account user after the event's end date or while the + * event was in Completed status. + * - Self-Responded: The invitee registered themselves through a weblink or invitation. + * + *

Note: The responseMethod can only be set if the invitee's status is No Response. + */ + public Attendee11 withResponseMethod(@Nullable AttendeeResponseMethod1 responseMethod) { + this.responseMethod = responseMethod; + return this; + } + + /** + * A list of answers to contact custom fields. Note: This field is deprecated. Answers to custom + * contact fields can be found in the 'contact' model, `customFields` field instead. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Attendee11 withQuestions(@Nullable List questions) { + this.questions = questions; + return this; + } + + /** + * The list of answers to the registration questions. + */ + public Attendee11 withAnswers(@Nullable List answers) { + this.answers = answers; + return this; + } + + /** + * Contains details related to the attendee's admission item. + */ + public Attendee11 withAdmissionItem(@Nullable Attendee1Lookup admissionItem) { + this.admissionItem = admissionItem; + return this; + } + + /** + * Denotes the visibility of the attendee profile to other attendees. Private: Their profile is not + * visible. Public: Their profile is visible. + */ + public Attendee11 withVisibility(@Nullable AttendeeVisibility visibility) { + this.visibility = visibility; + return this; + } + + /** + * The attendee's biographical writeup. + */ + public Attendee11 withBio(@Nullable String bio) { + this.bio = bio; + return this; + } + + /** + * Notification setting in the Attendee Hub app or website. Note: This field is deprecated. Use + * `allowPushNotification` field instead. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Attendee11 withShowPopupNotification(@Nullable Boolean showPopupNotification) { + this.showPopupNotification = showPopupNotification; + return this; + } + + /** + * An attendee's website URL, appears on their profile. + */ + public Attendee11 withWebsiteUrl(@Nullable String websiteUrl) { + this.websiteUrl = websiteUrl; + return this; + } + + /** + * True indicates attendee will recieve push notifications for session-schedule changes, promotions and + * other event activities in the Attendee Hub app. + */ + public Attendee11 withAllowPushNotifications(@Nullable Boolean allowPushNotifications) { + this.allowPushNotifications = allowPushNotifications; + return this; + } + + /** + * True indicaites attendee will recieve push notifications for appointments related activities in the + * Attendee Hub app. + */ + public Attendee11 withAllowAppointmentPushNotifications(@Nullable Boolean allowAppointmentPushNotifications) { + this.allowAppointmentPushNotifications = allowAppointmentPushNotifications; + return this; + } + + /** + * True indicates this attendee record was created as part of a test scenario. + */ + public Attendee11 withTestRecord(@Nullable Boolean testRecord) { + this.testRecord = testRecord; + return this; + } + + /** + * The ISO 8601 zoned date-time indicates when the attendee's non-contact properties were modified. + * Updates to the attendee's contact properties do not update this field. This field is updated when + * planners or attendees make changes to the attendee record, such as flagging as a participant. + * + *

It is not updated for registration or product changes. + */ + public Attendee11 withAttendeeLastModified(@Nullable OffsetDateTime attendeeLastModified) { + this.attendeeLastModified = attendeeLastModified; + return this; + } + + /** + * List of appointment groups associated with attendee. These control permissions and visibility in + * appointments associated with the event. + */ + public Attendee11 withAppointmentGroups(@Nullable List appointmentGroups) { + this.appointmentGroups = appointmentGroups; + return this; + } + + /** + * The amount of credit associated with the attendee. + */ + public Attendee11 withCredit(@Nullable Double credit) { + this.credit = credit; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Attendee11 other = (Attendee11) 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.id, other.id) + && Utils.enhancedDeepEquals(this.event, other.event) + && Utils.enhancedDeepEquals(this.confirmationNumber, other.confirmationNumber) + && Utils.enhancedDeepEquals(this.contact, other.contact) + && Utils.enhancedDeepEquals(this.checkedIn, other.checkedIn) + && Utils.enhancedDeepEquals(this.checkin, other.checkin) + && Utils.enhancedDeepEquals(this.checkIn, other.checkIn) + && Utils.enhancedDeepEquals(this.checkOut, other.checkOut) + && Utils.enhancedDeepEquals(this.duration, other.duration) + && Utils.enhancedDeepEquals(this.registrationPath, other.registrationPath) + && Utils.enhancedDeepEquals(this.invitationList, other.invitationList) + && Utils.enhancedDeepEquals(this.webLinks, other.webLinks) + && Utils.enhancedDeepEquals(this.registrationType, other.registrationType) + && Utils.enhancedDeepEquals(this.referenceId, other.referenceId) + && Utils.enhancedDeepEquals(this.externalReferences, other.externalReferences) + && Utils.enhancedDeepEquals(this.note, other.note) + && Utils.enhancedDeepEquals(this.guest, other.guest) + && Utils.enhancedDeepEquals(this.deletedGuest, other.deletedGuest) + && Utils.enhancedDeepEquals(this.primaryId, other.primaryId) + && Utils.enhancedDeepEquals(this.group, other.group) + && Utils.enhancedDeepEquals(this.administrator, other.administrator) + && Utils.enhancedDeepEquals(this.unsubscribed, other.unsubscribed) + && Utils.enhancedDeepEquals(this.status, other.status) + && Utils.enhancedDeepEquals(this.registeredAt, other.registeredAt) + && Utils.enhancedDeepEquals(this.registrationLastModified, other.registrationLastModified) + && Utils.enhancedDeepEquals(this.registrationCancelledAt, other.registrationCancelledAt) + && Utils.enhancedDeepEquals(this.invitedBy, other.invitedBy) + && Utils.enhancedDeepEquals(this.responseMethod, other.responseMethod) + && Utils.enhancedDeepEquals(this.questions, other.questions) + && Utils.enhancedDeepEquals(this.answers, other.answers) + && Utils.enhancedDeepEquals(this.admissionItem, other.admissionItem) + && Utils.enhancedDeepEquals(this.visibility, other.visibility) + && Utils.enhancedDeepEquals(this.bio, other.bio) + && Utils.enhancedDeepEquals(this.showPopupNotification, other.showPopupNotification) + && Utils.enhancedDeepEquals(this.websiteUrl, other.websiteUrl) + && Utils.enhancedDeepEquals(this.allowPushNotifications, other.allowPushNotifications) + && Utils.enhancedDeepEquals(this.allowAppointmentPushNotifications, other.allowAppointmentPushNotifications) + && Utils.enhancedDeepEquals(this.testRecord, other.testRecord) + && Utils.enhancedDeepEquals(this.attendeeLastModified, other.attendeeLastModified) + && Utils.enhancedDeepEquals(this.appointmentGroups, other.appointmentGroups) + && Utils.enhancedDeepEquals(this.credit, other.credit); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + created, + createdBy, + lastModified, + lastModifiedBy, + id, + event, + confirmationNumber, + contact, + checkedIn, + checkin, + checkIn, + checkOut, + duration, + registrationPath, + invitationList, + webLinks, + registrationType, + referenceId, + externalReferences, + note, + guest, + deletedGuest, + primaryId, + group, + administrator, + unsubscribed, + status, + registeredAt, + registrationLastModified, + registrationCancelledAt, + invitedBy, + responseMethod, + questions, + answers, + admissionItem, + visibility, + bio, + showPopupNotification, + websiteUrl, + allowPushNotifications, + allowAppointmentPushNotifications, + testRecord, + attendeeLastModified, + appointmentGroups, + credit); + } + + @Override + public String toString() { + return Utils.toString( + Attendee11.class, + "created", + created, + "createdBy", + createdBy, + "lastModified", + lastModified, + "lastModifiedBy", + lastModifiedBy, + "id", + id, + "event", + event, + "confirmationNumber", + confirmationNumber, + "contact", + contact, + "checkedIn", + checkedIn, + "checkin", + checkin, + "checkIn", + checkIn, + "checkOut", + checkOut, + "duration", + duration, + "registrationPath", + registrationPath, + "invitationList", + invitationList, + "webLinks", + webLinks, + "registrationType", + registrationType, + "referenceId", + referenceId, + "externalReferences", + externalReferences, + "note", + note, + "guest", + guest, + "deletedGuest", + deletedGuest, + "primaryId", + primaryId, + "group", + group, + "administrator", + administrator, + "unsubscribed", + unsubscribed, + "status", + status, + "registeredAt", + registeredAt, + "registrationLastModified", + registrationLastModified, + "registrationCancelledAt", + registrationCancelledAt, + "invitedBy", + invitedBy, + "responseMethod", + responseMethod, + "questions", + questions, + "answers", + answers, + "admissionItem", + admissionItem, + "visibility", + visibility, + "bio", + bio, + "showPopupNotification", + showPopupNotification, + "websiteUrl", + websiteUrl, + "allowPushNotifications", + allowPushNotifications, + "allowAppointmentPushNotifications", + allowAppointmentPushNotifications, + "testRecord", + testRecord, + "attendeeLastModified", + attendeeLastModified, + "appointmentGroups", + appointmentGroups, + "credit", + credit); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private OffsetDateTime created; + + private String createdBy; + + private OffsetDateTime lastModified; + + private String lastModifiedBy; + + private String id; + + private Attendee1Event event; + + private String confirmationNumber; + + private AttendeeContactInfo contact; + + private Boolean checkedIn; + + @Deprecated + private OffsetDateTime checkin; + + private OffsetDateTime checkIn; + + private OffsetDateTime checkOut; + + private Long duration; + + private Lookup registrationPath; + + private NamedObject invitationList; + + private AttendeeWebLinks webLinks; + + private Lookup registrationType; + + private String referenceId; + + private List externalReferences; + + private String note; + + private Boolean guest; + + private Boolean deletedGuest; + + private String primaryId; + + private AttendeeGroup group; + + private Uuid administrator; + + @Deprecated + private Boolean unsubscribed; + + private AttendeeStatus status; + + private OffsetDateTime registeredAt; + + private OffsetDateTime registrationLastModified; + + private OffsetDateTime registrationCancelledAt; + + private AttendeeInvitedBy1 invitedBy; + + private AttendeeResponseMethod1 responseMethod; + + @Deprecated + private List questions; + + private List answers; + + private Attendee1Lookup admissionItem; + + private AttendeeVisibility visibility; + + private String bio; + + @Deprecated + private Boolean showPopupNotification; + + private String websiteUrl; + + private Boolean allowPushNotifications; + + private Boolean allowAppointmentPushNotifications; + + private Boolean testRecord; + + private OffsetDateTime attendeeLastModified; + + private List appointmentGroups; + + private Double credit; + + 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; + } + + /** + * The ID of attendee in the given event. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The attendee's associated event. + */ + public Builder event(@Nullable Attendee1Event event) { + this.event = event; + return this; + } + + /** + * The confirmation number is a code unique to each attendee. Cvent assigns one to the attendee upon + * registration for the event. Serves as proof of registration. + */ + public Builder confirmationNumber(@Nullable String confirmationNumber) { + this.confirmationNumber = confirmationNumber; + return this; + } + + /** + * Information about attendee contact added to an event. + */ + public Builder contact(@Nullable AttendeeContactInfo contact) { + this.contact = contact; + return this; + } + + /** + * True indicates the attendee checked in to the event. + */ + public Builder checkedIn(@Nullable Boolean checkedIn) { + this.checkedIn = checkedIn; + return this; + } + + /** + * The date time when attendee was checked in to an event. Note: this field is deprecated. Please use + * the `checkIn` field instead. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Builder checkin(@Nullable OffsetDateTime checkin) { + this.checkin = checkin; + return this; + } + + /** + * The ISO 8601 zoned date time when attendee was checked in to an event. + */ + public Builder checkIn(@Nullable OffsetDateTime checkIn) { + this.checkIn = checkIn; + return this; + } + + /** + * The ISO 8601 zoned date time when attendee checked out from an event. + */ + public Builder checkOut(@Nullable OffsetDateTime checkOut) { + this.checkOut = checkOut; + return this; + } + + /** + * The duration, in milliseconds, the attendee was present at the event. + */ + public Builder duration(@Nullable Long duration) { + this.duration = duration; + return this; + } + + /** + * Lookup response object + */ + public Builder registrationPath(@Nullable Lookup registrationPath) { + this.registrationPath = registrationPath; + return this; + } + + /** + * A Named object + */ + public Builder invitationList(@Nullable NamedObject invitationList) { + this.invitationList = invitationList; + return this; + } + + /** + * Web links for an attendee. + */ + public Builder webLinks(@Nullable AttendeeWebLinks webLinks) { + this.webLinks = webLinks; + return this; + } + + /** + * Lookup response object + */ + public Builder registrationType(@Nullable Lookup registrationType) { + this.registrationType = registrationType; + return this; + } + + /** + * The reference ID of an attendee. A planner determined string used to track which link attendee's + * used to reach the event registration. + */ + public Builder referenceId(@Nullable String referenceId) { + this.referenceId = referenceId; + return this; + } + + /** + * The details of an attendee in an external systems. + */ + public Builder externalReferences(@Nullable List externalReferences) { + this.externalReferences = externalReferences; + return this; + } + + /** + * A planner created note for an attendee, used to track details about the attendee. + */ + public Builder note(@Nullable String note) { + this.note = note; + return this; + } + + /** + * True indicates the attendee is a guest of another attendee. + */ + public Builder guest(@Nullable Boolean guest) { + this.guest = guest; + return this; + } + + /** + * True indicates this attendee is a deleted guest. + */ + public Builder deletedGuest(@Nullable Boolean deletedGuest) { + this.deletedGuest = deletedGuest; + return this; + } + + /** + * The ID of the primary attendee to whom this guest attendee is associated. Only applicable if this + * attendee is a guest. + */ + public Builder primaryId(@Nullable String primaryId) { + this.primaryId = primaryId; + return this; + } + + /** + * An attendee group. + */ + public Builder group(@Nullable AttendeeGroup group) { + this.group = group; + return this; + } + + /** + * The reference to the related entity. Contains only the ID of the related entity. + */ + public Builder administrator(@Nullable Uuid administrator) { + this.administrator = administrator; + return this; + } + + /** + * DEPRECATED: True indicates this attendee is unsubscribed from this event's emails. They'll still + * receive emails triggered by their own actions (like registration modification). This field has been + * deprecated. + * + *

Please use PUT /attendees/{id}/email-subscriptions instead. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Builder unsubscribed(@Nullable Boolean unsubscribed) { + this.unsubscribed = unsubscribed; + return this; + } + + /** + * This is used to denote the status of an attendee. + */ + public Builder status(@Nullable AttendeeStatus status) { + this.status = status; + return this; + } + + /** + * The ISO 8601 zoned date time when attendee was registered. + */ + public Builder registeredAt(@Nullable OffsetDateTime registeredAt) { + this.registeredAt = registeredAt; + return this; + } + + /** + * The ISO 8601 zoned date time when attendee's registration was modified. This field is updated when + * there are changes to the registration, such as adding or removing products. + */ + public Builder registrationLastModified(@Nullable OffsetDateTime registrationLastModified) { + this.registrationLastModified = registrationLastModified; + return this; + } + + /** + * The ISO 8601 zoned date time when attendee registration was cancelled. + */ + public Builder registrationCancelledAt(@Nullable OffsetDateTime registrationCancelledAt) { + this.registrationCancelledAt = registrationCancelledAt; + return this; + } + + /** + * Method by which the attendee was invited to the event. + */ + public Builder invitedBy(@Nullable AttendeeInvitedBy1 invitedBy) { + this.invitedBy = invitedBy; + return this; + } + + /** + * Represents the method by which an attendee registered for the event. + * + *

- Administrator Responded: The invitee was registered by another contact acting as their + * administrator. + * - API-Responded: The invitee was registered through a custom process configured via an API + * integration. + * - Appointments Event Website: The invitee registered via an appointments event website. + * - Cvent Salesforce App: The invitee registered through an action in the Cvent Salesforce App. + * - External Registration: The attendee was registered through an external integration, such as + * Marketo. + * - Group Leader Responded: The invitee was registered by a group leader and added to a group. + * - Historical Import: The invitee's registration was imported into the event as historical data. + * - Imported: The invitee's registration was imported into the event. + * - No Response: The invitee has not registered. + * - On-site Responded: The invitee registered onsite using OnArrival's Kiosk Mode. + * - Planner-Imported: An account user imported the invitee's registration into the event. + * - Planner-Responded: An account user registered the invitee from the Cvent back-end or the + * planner-side of the OnArrival app. + * - Post Event: The invitee was registered by an account user after the event's end date or while the + * event was in Completed status. + * - Self-Responded: The invitee registered themselves through a weblink or invitation. + * + *

Note: The responseMethod can only be set if the invitee's status is No Response. + */ + public Builder responseMethod(@Nullable AttendeeResponseMethod1 responseMethod) { + this.responseMethod = responseMethod; + return this; + } + + /** + * A list of answers to contact custom fields. Note: This field is deprecated. Answers to custom + * contact fields can be found in the 'contact' model, `customFields` field instead. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Builder questions(@Nullable List questions) { + this.questions = questions; + return this; + } + + /** + * The list of answers to the registration questions. + */ + public Builder answers(@Nullable List answers) { + this.answers = answers; + return this; + } + + /** + * Contains details related to the attendee's admission item. + */ + public Builder admissionItem(@Nullable Attendee1Lookup admissionItem) { + this.admissionItem = admissionItem; + return this; + } + + /** + * Denotes the visibility of the attendee profile to other attendees. Private: Their profile is not + * visible. Public: Their profile is visible. + */ + public Builder visibility(@Nullable AttendeeVisibility visibility) { + this.visibility = visibility; + return this; + } + + /** + * The attendee's biographical writeup. + */ + public Builder bio(@Nullable String bio) { + this.bio = bio; + return this; + } + + /** + * Notification setting in the Attendee Hub app or website. Note: This field is deprecated. Use + * `allowPushNotification` field instead. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Builder showPopupNotification(@Nullable Boolean showPopupNotification) { + this.showPopupNotification = showPopupNotification; + return this; + } + + /** + * An attendee's website URL, appears on their profile. + */ + public Builder websiteUrl(@Nullable String websiteUrl) { + this.websiteUrl = websiteUrl; + return this; + } + + /** + * True indicates attendee will recieve push notifications for session-schedule changes, promotions and + * other event activities in the Attendee Hub app. + */ + public Builder allowPushNotifications(@Nullable Boolean allowPushNotifications) { + this.allowPushNotifications = allowPushNotifications; + return this; + } + + /** + * True indicaites attendee will recieve push notifications for appointments related activities in the + * Attendee Hub app. + */ + public Builder allowAppointmentPushNotifications(@Nullable Boolean allowAppointmentPushNotifications) { + this.allowAppointmentPushNotifications = allowAppointmentPushNotifications; + return this; + } + + /** + * True indicates this attendee record was created as part of a test scenario. + */ + public Builder testRecord(@Nullable Boolean testRecord) { + this.testRecord = testRecord; + return this; + } + + /** + * The ISO 8601 zoned date-time indicates when the attendee's non-contact properties were modified. + * Updates to the attendee's contact properties do not update this field. This field is updated when + * planners or attendees make changes to the attendee record, such as flagging as a participant. + * + *

It is not updated for registration or product changes. + */ + public Builder attendeeLastModified(@Nullable OffsetDateTime attendeeLastModified) { + this.attendeeLastModified = attendeeLastModified; + return this; + } + + /** + * List of appointment groups associated with attendee. These control permissions and visibility in + * appointments associated with the event. + */ + public Builder appointmentGroups(@Nullable List appointmentGroups) { + this.appointmentGroups = appointmentGroups; + return this; } /** - * Attendee id + * The amount of credit associated with the attendee. */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); + public Builder credit(@Nullable Double credit) { + this.credit = credit; return this; } public Attendee11 build() { - return new Attendee11(id); + return new Attendee11( + created, + createdBy, + lastModified, + lastModifiedBy, + id, + event, + confirmationNumber, + contact, + checkedIn, + checkin, + checkIn, + checkOut, + duration, + registrationPath, + invitationList, + webLinks, + registrationType, + referenceId, + externalReferences, + note, + guest, + deletedGuest, + primaryId, + group, + administrator, + unsubscribed, + status, + registeredAt, + registrationLastModified, + registrationCancelledAt, + invitedBy, + responseMethod, + questions, + answers, + admissionItem, + visibility, + bio, + showPopupNotification, + websiteUrl, + allowPushNotifications, + allowAppointmentPushNotifications, + testRecord, + attendeeLastModified, + appointmentGroups, + credit); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/Attendee12.java b/packages/java/src/main/java/com/cvent/models/components/Attendee12.java index 7adc81326..62d563140 100644 --- a/packages/java/src/main/java/com/cvent/models/components/Attendee12.java +++ b/packages/java/src/main/java/com/cvent/models/components/Attendee12.java @@ -5,10 +5,8 @@ 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.Optional; @@ -16,30 +14,25 @@ /** * Attendee12 * - *

A JSON schema representing the Attendee object + *

The associated Attendee. */ public class Attendee12 { /** * Attendee id */ - @JsonInclude(Include.NON_ABSENT) @JsonProperty("id") private String id; @JsonCreator - public Attendee12(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public Attendee12() { - this(null); + public Attendee12(@JsonProperty("id") @Nonnull String id) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); } /** * Attendee id */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } public static Builder builder() { @@ -49,8 +42,8 @@ public static Builder builder() { /** * Attendee id */ - public Attendee12 withId(@Nullable String id) { - this.id = id; + public Attendee12 withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); return this; } @@ -88,8 +81,8 @@ private Builder() { /** * Attendee id */ - public Builder id(@Nullable String id) { - this.id = id; + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/Attendee13.java b/packages/java/src/main/java/com/cvent/models/components/Attendee13.java new file mode 100644 index 000000000..7bc0dffcb --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Attendee13.java @@ -0,0 +1,100 @@ +/* + * 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; + +/** + * Attendee13 + * + *

A JSON schema representing the Attendee object + */ +public class Attendee13 { + /** + * Attendee id + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public Attendee13(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public Attendee13() { + this(null); + } + + /** + * Attendee id + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Attendee id + */ + public Attendee13 withId(@Nullable String id) { + this.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; + } + Attendee13 other = (Attendee13) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(Attendee13.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * Attendee id + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public Attendee13 build() { + return new Attendee13(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/Attendee1Event.java b/packages/java/src/main/java/com/cvent/models/components/Attendee1Event.java new file mode 100644 index 000000000..054ba71f9 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Attendee1Event.java @@ -0,0 +1,100 @@ +/* + * 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; + +/** + * Attendee1Event + * + *

The attendee's associated event. + */ +public class Attendee1Event { + /** + * The event ID. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public Attendee1Event(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public Attendee1Event() { + this(null); + } + + /** + * The event ID. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The event ID. + */ + public Attendee1Event withId(@Nullable String id) { + this.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; + } + Attendee1Event other = (Attendee1Event) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(Attendee1Event.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * The event ID. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public Attendee1Event build() { + return new Attendee1Event(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/Attendee1Lookup.java b/packages/java/src/main/java/com/cvent/models/components/Attendee1Lookup.java new file mode 100644 index 000000000..66bead56e --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Attendee1Lookup.java @@ -0,0 +1,171 @@ +/* + * 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; + +/** + * Attendee1Lookup + * + *

Contains details related to the attendee's admission item. + */ +public class Attendee1Lookup { + /** + * A string that has to be a format matching the industry standard uuid + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * Code / Abbreviation of the lookup item. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("code") + private String code; + + /** + * Name of the lookup item. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + @JsonCreator + public Attendee1Lookup( + @JsonProperty("id") @Nullable String id, + @JsonProperty("code") @Nullable String code, + @JsonProperty("name") @Nullable String name) { + this.id = id; + this.code = code; + this.name = name; + } + + public Attendee1Lookup() { + this(null, null, null); + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Code / Abbreviation of the lookup item. + */ + public Optional code() { + return Optional.ofNullable(this.code); + } + + /** + * Name of the lookup item. + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public Attendee1Lookup withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Code / Abbreviation of the lookup item. + */ + public Attendee1Lookup withCode(@Nullable String code) { + this.code = code; + return this; + } + + /** + * Name of the lookup item. + */ + public Attendee1Lookup withName(@Nullable String name) { + this.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; + } + Attendee1Lookup other = (Attendee1Lookup) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.code, other.code) + && Utils.enhancedDeepEquals(this.name, other.name); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, code, name); + } + + @Override + public String toString() { + return Utils.toString(Attendee1Lookup.class, "id", id, "code", code, "name", name); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String code; + + private String name; + + private Builder() { + // force use of static builder() method + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Code / Abbreviation of the lookup item. + */ + public Builder code(@Nullable String code) { + this.code = code; + return this; + } + + /** + * Name of the lookup item. + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + public Attendee1Lookup build() { + return new Attendee1Lookup(id, code, name); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/Attendee2.java b/packages/java/src/main/java/com/cvent/models/components/Attendee2.java index a38d59c0f..54df8b19d 100644 --- a/packages/java/src/main/java/com/cvent/models/components/Attendee2.java +++ b/packages/java/src/main/java/com/cvent/models/components/Attendee2.java @@ -18,7 +18,7 @@ */ public class Attendee2 { /** - * Unique identifier of the primary invitee for the current attendee's registration. + * Attendee ID. */ @JsonProperty("id") private String id; @@ -29,7 +29,7 @@ public Attendee2(@JsonProperty("id") @Nonnull String id) { } /** - * Unique identifier of the primary invitee for the current attendee's registration. + * Attendee ID. */ public String id() { return this.id; @@ -40,7 +40,7 @@ public static Builder builder() { } /** - * Unique identifier of the primary invitee for the current attendee's registration. + * Attendee ID. */ public Attendee2 withId(@Nonnull String id) { this.id = Utils.checkNotNull(id, "id"); @@ -79,7 +79,7 @@ private Builder() { } /** - * Unique identifier of the primary invitee for the current attendee's registration. + * Attendee ID. */ public Builder id(@Nonnull String id) { this.id = Utils.checkNotNull(id, "id"); diff --git a/packages/java/src/main/java/com/cvent/models/components/AttendeeAddBulkItemEventJsonErrorResponse.java b/packages/java/src/main/java/com/cvent/models/components/AttendeeAddBulkItemEventJsonErrorResponse.java index 7655d3f72..ab95c9647 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AttendeeAddBulkItemEventJsonErrorResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/AttendeeAddBulkItemEventJsonErrorResponse.java @@ -53,7 +53,7 @@ public class AttendeeAddBulkItemEventJsonErrorResponse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("details") - private List details; + private List details; @JsonCreator public AttendeeAddBulkItemEventJsonErrorResponse( @@ -61,7 +61,7 @@ public AttendeeAddBulkItemEventJsonErrorResponse( @JsonProperty("code") long code, @JsonProperty("message") @Nonnull String message, @JsonProperty("target") @Nullable String target, - @JsonProperty("details") @Nullable List details) { + @JsonProperty("details") @Nullable List details) { this.id = id; this.code = code; this.message = @@ -105,7 +105,7 @@ public Optional target() { /** * Additional details of cascading error messages. */ - public Optional> details() { + public Optional> details() { return Optional.ofNullable(this.details); } @@ -148,7 +148,7 @@ public AttendeeAddBulkItemEventJsonErrorResponse withTarget(@Nullable String tar /** * Additional details of cascading error messages. */ - public AttendeeAddBulkItemEventJsonErrorResponse withDetails(@Nullable List details) { + public AttendeeAddBulkItemEventJsonErrorResponse withDetails(@Nullable List details) { this.details = details; return this; } @@ -201,7 +201,7 @@ public static final class Builder { private String target; - private List details; + private List details; private Builder() { // force use of static builder() method @@ -242,7 +242,7 @@ public Builder target(@Nullable String target) { /** * Additional details of cascading error messages. */ - public Builder details(@Nullable List details) { + public Builder details(@Nullable List details) { this.details = details; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/AttendeeAddBulkItemJsonData.java b/packages/java/src/main/java/com/cvent/models/components/AttendeeAddBulkItemJsonData.java index 2b795d7c2..27d0aabe8 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AttendeeAddBulkItemJsonData.java +++ b/packages/java/src/main/java/com/cvent/models/components/AttendeeAddBulkItemJsonData.java @@ -30,7 +30,7 @@ public static AttendeeAddBulkItemJsonData of(ZeroOneOf2 value) { return new AttendeeAddBulkItemJsonData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); } - public static AttendeeAddBulkItemJsonData of(ErrorResponse1 value) { + public static AttendeeAddBulkItemJsonData of(ErrorResponse2 value) { Utils.checkNotNull(value, "value"); return new AttendeeAddBulkItemJsonData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); } @@ -39,7 +39,7 @@ public static AttendeeAddBulkItemJsonData of(ErrorResponse1 value) { * Returns an instance of one of these types: *

    *
  • {@code com.cvent.models.components.ZeroOneOf2}
  • - *
  • {@code com.cvent.models.components.ErrorResponse1}
  • + *
  • {@code com.cvent.models.components.ErrorResponse2}
  • *
* *

Use {@code instanceof} to determine what type is returned. For example: @@ -82,7 +82,7 @@ public _Deserializer() { AttendeeAddBulkItemJsonData.class, false, TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/packages/java/src/main/java/com/cvent/models/components/AttendeeContactInfo.java b/packages/java/src/main/java/com/cvent/models/components/AttendeeContactInfo.java index de438fd17..d56a16985 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AttendeeContactInfo.java +++ b/packages/java/src/main/java/com/cvent/models/components/AttendeeContactInfo.java @@ -180,7 +180,7 @@ public class AttendeeContactInfo { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("homeAddress") - private Address11 homeAddress; + private Address3 homeAddress; /** * Home phone number @@ -201,7 +201,7 @@ public class AttendeeContactInfo { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("workAddress") - private Address11 workAddress; + private Address3 workAddress; /** * Work phone number @@ -339,10 +339,10 @@ public AttendeeContactInfo( @JsonProperty("type") @Nullable AttendeeContactType type, @JsonProperty("membership") @Nullable AttendeeContactMembership membership, @JsonProperty("primaryAddressType") @Nullable AddressType primaryAddressType, - @JsonProperty("homeAddress") @Nullable Address11 homeAddress, + @JsonProperty("homeAddress") @Nullable Address3 homeAddress, @JsonProperty("homePhone") @Nullable String homePhone, @JsonProperty("homeFax") @Nullable String homeFax, - @JsonProperty("workAddress") @Nullable Address11 workAddress, + @JsonProperty("workAddress") @Nullable Address3 workAddress, @JsonProperty("workPhone") @Nullable String workPhone, @JsonProperty("workFax") @Nullable String workFax, @JsonProperty("optOut") @Nullable OptOut optOut, @@ -594,7 +594,7 @@ public Optional primaryAddressType() { /** * Address details */ - public Optional homeAddress() { + public Optional homeAddress() { return Optional.ofNullable(this.homeAddress); } @@ -615,7 +615,7 @@ public Optional homeFax() { /** * Address details */ - public Optional workAddress() { + public Optional workAddress() { return Optional.ofNullable(this.workAddress); } @@ -910,7 +910,7 @@ public AttendeeContactInfo withPrimaryAddressType(@Nullable AddressType primaryA /** * Address details */ - public AttendeeContactInfo withHomeAddress(@Nullable Address11 homeAddress) { + public AttendeeContactInfo withHomeAddress(@Nullable Address3 homeAddress) { this.homeAddress = homeAddress; return this; } @@ -934,7 +934,7 @@ public AttendeeContactInfo withHomeFax(@Nullable String homeFax) { /** * Address details */ - public AttendeeContactInfo withWorkAddress(@Nullable Address11 workAddress) { + public AttendeeContactInfo withWorkAddress(@Nullable Address3 workAddress) { this.workAddress = workAddress; return this; } @@ -1289,13 +1289,13 @@ public static final class Builder { private AddressType primaryAddressType; - private Address11 homeAddress; + private Address3 homeAddress; private String homePhone; private String homeFax; - private Address11 workAddress; + private Address3 workAddress; private String workPhone; @@ -1505,7 +1505,7 @@ public Builder primaryAddressType(@Nullable AddressType primaryAddressType) { /** * Address details */ - public Builder homeAddress(@Nullable Address11 homeAddress) { + public Builder homeAddress(@Nullable Address3 homeAddress) { this.homeAddress = homeAddress; return this; } @@ -1529,7 +1529,7 @@ public Builder homeFax(@Nullable String homeFax) { /** * Address details */ - public Builder workAddress(@Nullable Address11 workAddress) { + public Builder workAddress(@Nullable Address3 workAddress) { this.workAddress = workAddress; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/AttendeeContactTypeInput.java b/packages/java/src/main/java/com/cvent/models/components/AttendeeContactTypeInput.java new file mode 100644 index 000000000..1cbff1dfa --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/AttendeeContactTypeInput.java @@ -0,0 +1,100 @@ +/* + * 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; + +/** + * AttendeeContactTypeInput + * + *

Contains details related to the attendee's contact type. + */ +public class AttendeeContactTypeInput { + /** + * The unique identifier of the contact type + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public AttendeeContactTypeInput(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public AttendeeContactTypeInput() { + this(null); + } + + /** + * The unique identifier of the contact type + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique identifier of the contact type + */ + public AttendeeContactTypeInput withId(@Nullable String id) { + this.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; + } + AttendeeContactTypeInput other = (AttendeeContactTypeInput) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(AttendeeContactTypeInput.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique identifier of the contact type + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public AttendeeContactTypeInput build() { + return new AttendeeContactTypeInput(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/AttendeeContactTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/AttendeeContactTypeJson.java deleted file mode 100644 index 6084c4cc4..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/AttendeeContactTypeJson.java +++ /dev/null @@ -1,134 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * AttendeeContactTypeJson - * - *

Contains details related to the attendee's contact type. - */ -public class AttendeeContactTypeJson { - /** - * The unique identifier of the contact type - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * A descriptive name for the contact type - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - @JsonCreator - public AttendeeContactTypeJson( - @JsonProperty("id") @Nullable String id, @JsonProperty("name") @Nullable String name) { - this.id = id; - this.name = name; - } - - public AttendeeContactTypeJson() { - this(null, null); - } - - /** - * The unique identifier of the contact type - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * A descriptive name for the contact type - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique identifier of the contact type - */ - public AttendeeContactTypeJson withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * A descriptive name for the contact type - */ - public AttendeeContactTypeJson withName(@Nullable String name) { - this.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; - } - AttendeeContactTypeJson other = (AttendeeContactTypeJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.name, other.name); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, name); - } - - @Override - public String toString() { - return Utils.toString(AttendeeContactTypeJson.class, "id", id, "name", name); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String name; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique identifier of the contact type - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * A descriptive name for the contact type - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - public AttendeeContactTypeJson build() { - return new AttendeeContactTypeJson(id, name); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/AttendeeContactTypeJsonInput.java b/packages/java/src/main/java/com/cvent/models/components/AttendeeContactTypeJsonInput.java deleted file mode 100644 index 37594b81f..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/AttendeeContactTypeJsonInput.java +++ /dev/null @@ -1,100 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * AttendeeContactTypeJsonInput - * - *

Contains details related to the attendee's contact type. - */ -public class AttendeeContactTypeJsonInput { - /** - * The unique identifier of the contact type - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public AttendeeContactTypeJsonInput(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public AttendeeContactTypeJsonInput() { - this(null); - } - - /** - * The unique identifier of the contact type - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique identifier of the contact type - */ - public AttendeeContactTypeJsonInput withId(@Nullable String id) { - this.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; - } - AttendeeContactTypeJsonInput other = (AttendeeContactTypeJsonInput) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(AttendeeContactTypeJsonInput.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique identifier of the contact type - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public AttendeeContactTypeJsonInput build() { - return new AttendeeContactTypeJsonInput(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/AttendeeEvent.java b/packages/java/src/main/java/com/cvent/models/components/AttendeeEvent.java deleted file mode 100644 index 5072ba3fe..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/AttendeeEvent.java +++ /dev/null @@ -1,100 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * AttendeeEvent - * - *

The attendee's associated event. - */ -public class AttendeeEvent { - /** - * The event ID. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public AttendeeEvent(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public AttendeeEvent() { - this(null); - } - - /** - * The event ID. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The event ID. - */ - public AttendeeEvent withId(@Nullable String id) { - this.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; - } - AttendeeEvent other = (AttendeeEvent) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(AttendeeEvent.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * The event ID. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public AttendeeEvent build() { - return new AttendeeEvent(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/AttendeeInsights.java b/packages/java/src/main/java/com/cvent/models/components/AttendeeInsights.java index 1c077c198..da5a75f2f 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AttendeeInsights.java +++ b/packages/java/src/main/java/com/cvent/models/components/AttendeeInsights.java @@ -72,7 +72,7 @@ public class AttendeeInsights { * An event reference used in attendee insights to identify the event context for engagement data */ @JsonProperty("event") - private EventJson6 event; + private EventJson5 event; /** * True indicates this is the default engagement score in the event. @@ -89,7 +89,7 @@ public AttendeeInsights( @JsonProperty("id") @Nonnull String id, @JsonProperty("name") @Nonnull String name, @JsonProperty("description") @Nullable String description, - @JsonProperty("event") @Nonnull EventJson6 event, + @JsonProperty("event") @Nonnull EventJson5 event, @JsonProperty("default") boolean default_) { this.created = created; this.createdBy = createdBy; @@ -102,7 +102,7 @@ public AttendeeInsights( this.default_ = default_; } - public AttendeeInsights(@Nonnull String id, @Nonnull String name, @Nonnull EventJson6 event, boolean default_) { + public AttendeeInsights(@Nonnull String id, @Nonnull String name, @Nonnull EventJson5 event, boolean default_) { this(null, null, null, null, id, name, null, event, default_); } @@ -158,7 +158,7 @@ public Optional description() { /** * An event reference used in attendee insights to identify the event context for engagement data */ - public EventJson6 event() { + public EventJson5 event() { return this.event; } @@ -232,7 +232,7 @@ public AttendeeInsights withDescription(@Nullable String description) { /** * An event reference used in attendee insights to identify the event context for engagement data */ - public AttendeeInsights withEvent(@Nonnull EventJson6 event) { + public AttendeeInsights withEvent(@Nonnull EventJson5 event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -312,7 +312,7 @@ public static final class Builder { private String description; - private EventJson6 event; + private EventJson5 event; private boolean default_; @@ -379,7 +379,7 @@ public Builder description(@Nullable String description) { /** * An event reference used in attendee insights to identify the event context for engagement data */ - public Builder event(@Nonnull EventJson6 event) { + public Builder event(@Nonnull EventJson5 event) { this.event = Utils.checkNotNull(event, "event"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/AttendeeLinkBulkResponseItemJsonData.java b/packages/java/src/main/java/com/cvent/models/components/AttendeeLinkBulkResponseItemJsonData.java index 027efeead..04e4d229b 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AttendeeLinkBulkResponseItemJsonData.java +++ b/packages/java/src/main/java/com/cvent/models/components/AttendeeLinkBulkResponseItemJsonData.java @@ -31,7 +31,7 @@ public static AttendeeLinkBulkResponseItemJsonData of(ExistingAttendeeLink value TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); } - public static AttendeeLinkBulkResponseItemJsonData of(ErrorResponse1 value) { + public static AttendeeLinkBulkResponseItemJsonData of(ErrorResponse2 value) { Utils.checkNotNull(value, "value"); return new AttendeeLinkBulkResponseItemJsonData( TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); @@ -41,7 +41,7 @@ public static AttendeeLinkBulkResponseItemJsonData of(ErrorResponse1 value) { * Returns an instance of one of these types: *

    *
  • {@code com.cvent.models.components.ExistingAttendeeLink}
  • - *
  • {@code com.cvent.models.components.ErrorResponse1}
  • + *
  • {@code com.cvent.models.components.ErrorResponse2}
  • *
* *

Use {@code instanceof} to determine what type is returned. For example: @@ -84,7 +84,7 @@ public _Deserializer() { AttendeeLinkBulkResponseItemJsonData.class, false, TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/packages/java/src/main/java/com/cvent/models/components/AttendeeLookup.java b/packages/java/src/main/java/com/cvent/models/components/AttendeeLookup.java deleted file mode 100644 index ffa4ca6e6..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/AttendeeLookup.java +++ /dev/null @@ -1,171 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * AttendeeLookup - * - *

Contains details related to the attendee's admission item. - */ -public class AttendeeLookup { - /** - * A string that has to be a format matching the industry standard uuid - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * Code / Abbreviation of the lookup item. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("code") - private String code; - - /** - * Name of the lookup item. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - @JsonCreator - public AttendeeLookup( - @JsonProperty("id") @Nullable String id, - @JsonProperty("code") @Nullable String code, - @JsonProperty("name") @Nullable String name) { - this.id = id; - this.code = code; - this.name = name; - } - - public AttendeeLookup() { - this(null, null, null); - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * Code / Abbreviation of the lookup item. - */ - public Optional code() { - return Optional.ofNullable(this.code); - } - - /** - * Name of the lookup item. - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public AttendeeLookup withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * Code / Abbreviation of the lookup item. - */ - public AttendeeLookup withCode(@Nullable String code) { - this.code = code; - return this; - } - - /** - * Name of the lookup item. - */ - public AttendeeLookup withName(@Nullable String name) { - this.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; - } - AttendeeLookup other = (AttendeeLookup) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.code, other.code) - && Utils.enhancedDeepEquals(this.name, other.name); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, code, name); - } - - @Override - public String toString() { - return Utils.toString(AttendeeLookup.class, "id", id, "code", code, "name", name); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String code; - - private String name; - - private Builder() { - // force use of static builder() method - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * Code / Abbreviation of the lookup item. - */ - public Builder code(@Nullable String code) { - this.code = code; - return this; - } - - /** - * Name of the lookup item. - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - public AttendeeLookup build() { - return new AttendeeLookup(id, code, name); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/AttendeePaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/AttendeePaginatedResponse.java index c23343d5b..446c0c567 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AttendeePaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/AttendeePaginatedResponse.java @@ -29,11 +29,11 @@ public class AttendeePaginatedResponse { * Collection of attendees. */ @JsonProperty("data") - private List data; + private List data; @JsonCreator public AttendeePaginatedResponse( - @JsonProperty("paging") @Nonnull Paging paging, @JsonProperty("data") @Nonnull List data) { + @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")); @@ -49,7 +49,7 @@ public Paging paging() { /** * Collection of attendees. */ - public List data() { + public List data() { return this.data; } @@ -68,7 +68,7 @@ public AttendeePaginatedResponse withPaging(@Nonnull Paging paging) { /** * Collection of attendees. */ - public AttendeePaginatedResponse withData(@Nonnull List data) { + public AttendeePaginatedResponse withData(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } @@ -100,7 +100,7 @@ public static final class Builder { private Paging paging; - private List data; + private List data; private Builder() { // force use of static builder() method @@ -117,7 +117,7 @@ public Builder paging(@Nonnull Paging paging) { /** * Collection of attendees. */ - public Builder data(@Nonnull List data) { + public Builder data(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/Attendees.java b/packages/java/src/main/java/com/cvent/models/components/Attendees.java index 0ffd0f909..5829f4bab 100644 --- a/packages/java/src/main/java/com/cvent/models/components/Attendees.java +++ b/packages/java/src/main/java/com/cvent/models/components/Attendees.java @@ -30,7 +30,7 @@ public static Attendees of(AttendeeAddResponse value) { return new Attendees(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); } - public static Attendees of(ErrorResponse2 value) { + public static Attendees of(ErrorResponse1 value) { Utils.checkNotNull(value, "value"); return new Attendees(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); } @@ -39,7 +39,7 @@ public static Attendees of(ErrorResponse2 value) { * Returns an instance of one of these types: *

    *
  • {@code com.cvent.models.components.AttendeeAddResponse}
  • - *
  • {@code com.cvent.models.components.ErrorResponse2}
  • + *
  • {@code com.cvent.models.components.ErrorResponse1}
  • *
* *

Use {@code instanceof} to determine what type is returned. For example: @@ -82,7 +82,7 @@ public _Deserializer() { Attendees.class, false, TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/packages/java/src/main/java/com/cvent/models/components/AttendeesPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/AttendeesPaginatedResponse.java new file mode 100644 index 000000000..53a690a21 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/AttendeesPaginatedResponse.java @@ -0,0 +1,128 @@ +/* + * 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; + +/** + * AttendeesPaginatedResponse + * + *

A paginated response containing a list of attendees who have redeemed a voucher. + */ +public class AttendeesPaginatedResponse { + /** + * Represents pagination information for a collection of resources. + */ + @JsonProperty("paging") + private Paging paging; + + /** + * Collection of attendees who have redeemed the voucher. + */ + @JsonProperty("data") + private List data; + + @JsonCreator + public AttendeesPaginatedResponse( + @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; + } + + /** + * Collection of attendees who have redeemed the voucher. + */ + public List data() { + return this.data; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Represents pagination information for a collection of resources. + */ + public AttendeesPaginatedResponse withPaging(@Nonnull Paging paging) { + this.paging = Utils.checkNotNull(paging, "paging"); + return this; + } + + /** + * Collection of attendees who have redeemed the voucher. + */ + public AttendeesPaginatedResponse 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; + } + AttendeesPaginatedResponse other = (AttendeesPaginatedResponse) 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(AttendeesPaginatedResponse.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; + } + + /** + * Collection of attendees who have redeemed the voucher. + */ + public Builder data(@Nonnull List data) { + this.data = Utils.checkNotNull(data, "data"); + return this; + } + + public AttendeesPaginatedResponse build() { + return new AttendeesPaginatedResponse(paging, data); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/AudienceSegment.java b/packages/java/src/main/java/com/cvent/models/components/AudienceSegment.java index 267003d19..f3d766cbb 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AudienceSegment.java +++ b/packages/java/src/main/java/com/cvent/models/components/AudienceSegment.java @@ -26,7 +26,7 @@ public class AudienceSegment { * ID of the event. */ @JsonProperty("event") - private EventJson1 event; + private EventJson event; /** * Name of the audience segment. Must be unique in the event where the segment exists. @@ -43,7 +43,7 @@ public class AudienceSegment { @JsonCreator public AudienceSegment( - @JsonProperty("event") @Nonnull EventJson1 event, + @JsonProperty("event") @Nonnull EventJson event, @JsonProperty("name") @Nonnull String name, @JsonProperty("description") @Nullable String description) { this.event = Optional.ofNullable(event).orElseThrow(() -> new IllegalArgumentException("event cannot be null")); @@ -51,14 +51,14 @@ public AudienceSegment( this.description = description; } - public AudienceSegment(@Nonnull EventJson1 event, @Nonnull String name) { + public AudienceSegment(@Nonnull EventJson event, @Nonnull String name) { this(event, name, null); } /** * ID of the event. */ - public EventJson1 event() { + public EventJson event() { return this.event; } @@ -83,7 +83,7 @@ public static Builder builder() { /** * ID of the event. */ - public AudienceSegment withEvent(@Nonnull EventJson1 event) { + public AudienceSegment withEvent(@Nonnull EventJson event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -131,7 +131,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private EventJson1 event; + private EventJson event; private String name; @@ -144,7 +144,7 @@ private Builder() { /** * ID of the event. */ - public Builder event(@Nonnull EventJson1 event) { + public Builder event(@Nonnull EventJson event) { this.event = Utils.checkNotNull(event, "event"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/AudienceSegmentCreate.java b/packages/java/src/main/java/com/cvent/models/components/AudienceSegmentCreate.java index ed865cb9a..c7651a41f 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AudienceSegmentCreate.java +++ b/packages/java/src/main/java/com/cvent/models/components/AudienceSegmentCreate.java @@ -26,7 +26,7 @@ public class AudienceSegmentCreate { * ID of the event. */ @JsonProperty("event") - private EventJson1 event; + private EventJson event; /** * Name of the audience segment. Must be unique in the event where the segment exists. @@ -50,7 +50,7 @@ public class AudienceSegmentCreate { @JsonCreator public AudienceSegmentCreate( - @JsonProperty("event") @Nonnull EventJson1 event, + @JsonProperty("event") @Nonnull EventJson event, @JsonProperty("name") @Nonnull String name, @JsonProperty("description") @Nullable String description, @JsonProperty("creationType") @Nullable AudienceSegmentCreationTypeJson creationType) { @@ -60,14 +60,14 @@ public AudienceSegmentCreate( this.creationType = Optional.ofNullable(creationType).orElse(Builder._SINGLETON_VALUE_CreationType.value()); } - public AudienceSegmentCreate(@Nonnull EventJson1 event, @Nonnull String name) { + public AudienceSegmentCreate(@Nonnull EventJson event, @Nonnull String name) { this(event, name, null, null); } /** * ID of the event. */ - public EventJson1 event() { + public EventJson event() { return this.event; } @@ -99,7 +99,7 @@ public static Builder builder() { /** * ID of the event. */ - public AudienceSegmentCreate withEvent(@Nonnull EventJson1 event) { + public AudienceSegmentCreate withEvent(@Nonnull EventJson event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -165,7 +165,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private EventJson1 event; + private EventJson event; private String name; @@ -180,7 +180,7 @@ private Builder() { /** * ID of the event. */ - public Builder event(@Nonnull EventJson1 event) { + public Builder event(@Nonnull EventJson event) { this.event = Utils.checkNotNull(event, "event"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/AudienceSegmentResponse.java b/packages/java/src/main/java/com/cvent/models/components/AudienceSegmentResponse.java index d6a467391..3b6bf5c6e 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AudienceSegmentResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/AudienceSegmentResponse.java @@ -56,7 +56,7 @@ public class AudienceSegmentResponse { * ID of the event. */ @JsonProperty("event") - private EventJson1 event; + private EventJson event; /** * Name of the audience segment. Must be unique in the event where the segment exists. @@ -98,7 +98,7 @@ public AudienceSegmentResponse( @JsonProperty("createdBy") @Nullable String createdBy, @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, - @JsonProperty("event") @Nonnull EventJson1 event, + @JsonProperty("event") @Nonnull EventJson event, @JsonProperty("name") @Nonnull String name, @JsonProperty("description") @Nullable String description, @JsonProperty("id") @Nullable String id, @@ -116,7 +116,7 @@ public AudienceSegmentResponse( this.deleted = Optional.ofNullable(deleted).orElse(Builder._SINGLETON_VALUE_Deleted.value()); } - public AudienceSegmentResponse(@Nonnull EventJson1 event, @Nonnull String name) { + public AudienceSegmentResponse(@Nonnull EventJson event, @Nonnull String name) { this(null, null, null, null, event, name, null, null, null, null); } @@ -151,7 +151,7 @@ public Optional lastModifiedBy() { /** * ID of the event. */ - public EventJson1 event() { + public EventJson event() { return this.event; } @@ -229,7 +229,7 @@ public AudienceSegmentResponse withLastModifiedBy(@Nullable String lastModifiedB /** * ID of the event. */ - public AudienceSegmentResponse withEvent(@Nonnull EventJson1 event) { + public AudienceSegmentResponse withEvent(@Nonnull EventJson event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -338,7 +338,7 @@ public static final class Builder { private String lastModifiedBy; - private EventJson1 event; + private EventJson event; private String name; @@ -389,7 +389,7 @@ public Builder lastModifiedBy(@Nullable String lastModifiedBy) { /** * ID of the event. */ - public Builder event(@Nonnull EventJson1 event) { + public Builder event(@Nonnull EventJson event) { this.event = Utils.checkNotNull(event, "event"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/AudioTrackStatus.java b/packages/java/src/main/java/com/cvent/models/components/AudioTrackStatus.java new file mode 100644 index 000000000..9a6bccf2a --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/AudioTrackStatus.java @@ -0,0 +1,54 @@ +/* + * 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; + +/** + * AudioTrackStatus + * + *

Denotes the status of an audio track. Started indicates the request to upload in the API was + * submitted, and the URL you'll upload an audio track to was returned. Uploaded indicates that the + * upload was completed. + * + *

Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a + * successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. + * Rejected indicates a failed virus scan. + * + *

Error indicates there was a problem processing the audio track. Available indicates the audio track + * is available for use. + */ +public enum AudioTrackStatus { + STARTED("Started"), + UPLOADED("Uploaded"), + SCANNING("Scanning"), + SCANNED("Scanned"), + SYNCING("Syncing"), + REJECTED("Rejected"), + ERROR("Error"), + AVAILABLE("Available"); + + @JsonValue + private final String value; + + AudioTrackStatus(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (AudioTrackStatus o : AudioTrackStatus.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/AudioTrackStatusJson.java b/packages/java/src/main/java/com/cvent/models/components/AudioTrackStatusJson.java deleted file mode 100644 index 7e5c50863..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/AudioTrackStatusJson.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * 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; - -/** - * AudioTrackStatusJson - * - *

Denotes the status of an audio track. Started indicates the request to upload in the API was - * submitted, and the URL you'll upload an audio track to was returned. Uploaded indicates that the - * upload was completed. - * - *

Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a - * successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. - * Rejected indicates a failed virus scan. - * - *

Error indicates there was a problem processing the audio track. Available indicates the audio track - * is available for use. - */ -public enum AudioTrackStatusJson { - STARTED("Started"), - UPLOADED("Uploaded"), - SCANNING("Scanning"), - SCANNED("Scanned"), - SYNCING("Syncing"), - REJECTED("Rejected"), - ERROR("Error"), - AVAILABLE("Available"); - - @JsonValue - private final String value; - - AudioTrackStatusJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (AudioTrackStatusJson o : AudioTrackStatusJson.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/AudioTrackType.java b/packages/java/src/main/java/com/cvent/models/components/AudioTrackType.java new file mode 100644 index 000000000..7e02bedd9 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/AudioTrackType.java @@ -0,0 +1,47 @@ +/* + * 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; + +/** + * AudioTrackType + * + *

Denotes the file format of the audio track. + */ +public enum AudioTrackType { + ASF("asf"), + WMA("wma"), + WMV("wmv"), + MP3("mp3"), + TS("ts"), + MP4("mp4"), + MKA("mka"), + OGA("oga"), + MOV("mov"), + WAV("wav"); + + @JsonValue + private final String value; + + AudioTrackType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (AudioTrackType o : AudioTrackType.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/AudioTrackTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/AudioTrackTypeJson.java deleted file mode 100644 index 73e823d0f..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/AudioTrackTypeJson.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * 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; - -/** - * AudioTrackTypeJson - * - *

Denotes the file format of the audio track. - */ -public enum AudioTrackTypeJson { - ASF("asf"), - WMA("wma"), - WMV("wmv"), - MP3("mp3"), - TS("ts"), - MP4("mp4"), - MKA("mka"), - OGA("oga"), - MOV("mov"), - WAV("wav"); - - @JsonValue - private final String value; - - AudioTrackTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (AudioTrackTypeJson o : AudioTrackTypeJson.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/AudioTrackVariant.java b/packages/java/src/main/java/com/cvent/models/components/AudioTrackVariant.java new file mode 100644 index 000000000..2bc4bf51f --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/AudioTrackVariant.java @@ -0,0 +1,48 @@ +/* + * 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; + +/** + * AudioTrackVariant + * + *

Denotes the variant of an audio track. Main is the primary audio track for this video. Alternate is + * a possible alternative to the main track. + * + *

Commentary is a commentary on the primary audio or video track, e.g. a director's commentary. Dub is + * a translated version of the main audio track. + * + *

Descriptive is an audio description of a video track. + */ +public enum AudioTrackVariant { + MAIN("Main"), + ALTERNATE("Alternate"), + COMMENTARY("Commentary"), + DUB("Dub"), + DESCRIPTIVE("Descriptive"); + + @JsonValue + private final String value; + + AudioTrackVariant(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (AudioTrackVariant o : AudioTrackVariant.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/AudioTrackVariantJson.java b/packages/java/src/main/java/com/cvent/models/components/AudioTrackVariantJson.java deleted file mode 100644 index c0574e146..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/AudioTrackVariantJson.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * 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; - -/** - * AudioTrackVariantJson - * - *

Denotes the variant of an audio track. Main is the primary audio track for this video. Alternate is - * a possible alternative to the main track. - * - *

Commentary is a commentary on the primary audio or video track, e.g. a director's commentary. Dub is - * a translated version of the main audio track. - * - *

Descriptive is an audio description of a video track. - */ -public enum AudioTrackVariantJson { - MAIN("Main"), - ALTERNATE("Alternate"), - COMMENTARY("Commentary"), - DUB("Dub"), - DESCRIPTIVE("Descriptive"); - - @JsonValue - private final String value; - - AudioTrackVariantJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (AudioTrackVariantJson o : AudioTrackVariantJson.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/Badge.java b/packages/java/src/main/java/com/cvent/models/components/Badge.java index 4cdfd791f..af50e16d8 100644 --- a/packages/java/src/main/java/com/cvent/models/components/Badge.java +++ b/packages/java/src/main/java/com/cvent/models/components/Badge.java @@ -71,13 +71,13 @@ public class Badge { * The associated Attendee. */ @JsonProperty("attendee") - private Attendee11 attendee; + private Attendee12 attendee; /** * The Associated Event. */ @JsonProperty("event") - private Event21 event; + private Event3 event; @JsonCreator public Badge( @@ -88,8 +88,8 @@ public Badge( @JsonProperty("id") @Nonnull String id, @JsonProperty("status") @Nonnull BadgeStatus status, @JsonProperty("type") @Nonnull BadgeType type, - @JsonProperty("attendee") @Nonnull Attendee11 attendee, - @JsonProperty("event") @Nonnull Event21 event) { + @JsonProperty("attendee") @Nonnull Attendee12 attendee, + @JsonProperty("event") @Nonnull Event3 event) { this.created = created; this.createdBy = createdBy; this.lastModified = lastModified; @@ -107,8 +107,8 @@ public Badge( @Nonnull String id, @Nonnull BadgeStatus status, @Nonnull BadgeType type, - @Nonnull Attendee11 attendee, - @Nonnull Event21 event) { + @Nonnull Attendee12 attendee, + @Nonnull Event3 event) { this(null, null, null, null, id, status, type, attendee, event); } @@ -164,14 +164,14 @@ public BadgeType type() { /** * The associated Attendee. */ - public Attendee11 attendee() { + public Attendee12 attendee() { return this.attendee; } /** * The Associated Event. */ - public Event21 event() { + public Event3 event() { return this.event; } @@ -238,7 +238,7 @@ public Badge withType(@Nonnull BadgeType type) { /** * The associated Attendee. */ - public Badge withAttendee(@Nonnull Attendee11 attendee) { + public Badge withAttendee(@Nonnull Attendee12 attendee) { this.attendee = Utils.checkNotNull(attendee, "attendee"); return this; } @@ -246,7 +246,7 @@ public Badge withAttendee(@Nonnull Attendee11 attendee) { /** * The Associated Event. */ - public Badge withEvent(@Nonnull Event21 event) { + public Badge withEvent(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -317,9 +317,9 @@ public static final class Builder { private BadgeType type; - private Attendee11 attendee; + private Attendee12 attendee; - private Event21 event; + private Event3 event; private Builder() { // force use of static builder() method @@ -384,7 +384,7 @@ public Builder type(@Nonnull BadgeType type) { /** * The associated Attendee. */ - public Builder attendee(@Nonnull Attendee11 attendee) { + public Builder attendee(@Nonnull Attendee12 attendee) { this.attendee = Utils.checkNotNull(attendee, "attendee"); return this; } @@ -392,7 +392,7 @@ public Builder attendee(@Nonnull Attendee11 attendee) { /** * The Associated Event. */ - public Builder event(@Nonnull Event21 event) { + public Builder event(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/BadgeInput.java b/packages/java/src/main/java/com/cvent/models/components/BadgeInput.java index 93a40d6d2..1cef721e4 100644 --- a/packages/java/src/main/java/com/cvent/models/components/BadgeInput.java +++ b/packages/java/src/main/java/com/cvent/models/components/BadgeInput.java @@ -39,21 +39,21 @@ public class BadgeInput { * The associated Attendee. */ @JsonProperty("attendee") - private Attendee11 attendee; + private Attendee12 attendee; /** * The Associated Event. */ @JsonProperty("event") - private Event21 event; + private Event3 event; @JsonCreator public BadgeInput( @JsonProperty("id") @Nonnull String id, @JsonProperty("status") @Nonnull BadgeStatus status, @JsonProperty("type") @Nonnull BadgeType type, - @JsonProperty("attendee") @Nonnull Attendee11 attendee, - @JsonProperty("event") @Nonnull Event21 event) { + @JsonProperty("attendee") @Nonnull Attendee12 attendee, + @JsonProperty("event") @Nonnull Event3 event) { this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); this.status = Optional.ofNullable(status).orElseThrow(() -> new IllegalArgumentException("status cannot be null")); @@ -87,14 +87,14 @@ public BadgeType type() { /** * The associated Attendee. */ - public Attendee11 attendee() { + public Attendee12 attendee() { return this.attendee; } /** * The Associated Event. */ - public Event21 event() { + public Event3 event() { return this.event; } @@ -129,7 +129,7 @@ public BadgeInput withType(@Nonnull BadgeType type) { /** * The associated Attendee. */ - public BadgeInput withAttendee(@Nonnull Attendee11 attendee) { + public BadgeInput withAttendee(@Nonnull Attendee12 attendee) { this.attendee = Utils.checkNotNull(attendee, "attendee"); return this; } @@ -137,7 +137,7 @@ public BadgeInput withAttendee(@Nonnull Attendee11 attendee) { /** * The Associated Event. */ - public BadgeInput withEvent(@Nonnull Event21 event) { + public BadgeInput withEvent(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -178,9 +178,9 @@ public static final class Builder { private BadgeType type; - private Attendee11 attendee; + private Attendee12 attendee; - private Event21 event; + private Event3 event; private Builder() { // force use of static builder() method @@ -213,7 +213,7 @@ public Builder type(@Nonnull BadgeType type) { /** * The associated Attendee. */ - public Builder attendee(@Nonnull Attendee11 attendee) { + public Builder attendee(@Nonnull Attendee12 attendee) { this.attendee = Utils.checkNotNull(attendee, "attendee"); return this; } @@ -221,7 +221,7 @@ public Builder attendee(@Nonnull Attendee11 attendee) { /** * The Associated Event. */ - public Builder event(@Nonnull Event21 event) { + public Builder event(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/BidItemStatusType.java b/packages/java/src/main/java/com/cvent/models/components/BidItemStatusType.java new file mode 100644 index 000000000..fe379c033 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/BidItemStatusType.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; + +/** + * BidItemStatusType + * + *

The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ +public enum BidItemStatusType { + REQUESTED("requested"), + DELETE_REQUESTED("delete_requested"), + DELETED("deleted"), + NOT_AVAILABLE("not_available"); + + @JsonValue + private final String value; + + BidItemStatusType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (BidItemStatusType o : BidItemStatusType.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/BidItemStatusTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/BidItemStatusTypeJson.java deleted file mode 100644 index 63f3a7570..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/BidItemStatusTypeJson.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * 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; - -/** - * BidItemStatusTypeJson - * - *

The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ -public enum BidItemStatusTypeJson { - REQUESTED("requested"), - DELETE_REQUESTED("delete_requested"), - DELETED("deleted"), - NOT_AVAILABLE("not_available"); - - @JsonValue - private final String value; - - BidItemStatusTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (BidItemStatusTypeJson o : BidItemStatusTypeJson.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/BidStatusType.java b/packages/java/src/main/java/com/cvent/models/components/BidStatusType.java new file mode 100644 index 000000000..de0d7b02f --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/BidStatusType.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; + +/** + * BidStatusType + * + *

Bid stay type. + */ +public enum BidStatusType { + IN_PROGRESS("in_progress"), + ATTACHED("attached"), + DELETED("deleted"); + + @JsonValue + private final String value; + + BidStatusType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (BidStatusType o : BidStatusType.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/BidStatusTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/BidStatusTypeJson.java deleted file mode 100644 index d26a9d5de..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/BidStatusTypeJson.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * 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; - -/** - * BidStatusTypeJson - * - *

Bid stay type. - */ -public enum BidStatusTypeJson { - IN_PROGRESS("in_progress"), - ATTACHED("attached"), - DELETED("deleted"); - - @JsonValue - private final String value; - - BidStatusTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (BidStatusTypeJson o : BidStatusTypeJson.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/BidStayType.java b/packages/java/src/main/java/com/cvent/models/components/BidStayType.java new file mode 100644 index 000000000..156c9c2ab --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/BidStayType.java @@ -0,0 +1,39 @@ +/* + * 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; + +/** + * BidStayType + * + *

Bid stay type. + */ +public enum BidStayType { + DAILY("daily"), + EXTENDED("extended"); + + @JsonValue + private final String value; + + BidStayType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (BidStayType o : BidStayType.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/BidStayTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/BidStayTypeJson.java deleted file mode 100644 index bf9412cf4..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/BidStayTypeJson.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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; - -/** - * BidStayTypeJson - * - *

Bid stay type. - */ -public enum BidStayTypeJson { - DAILY("daily"), - EXTENDED("extended"); - - @JsonValue - private final String value; - - BidStayTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (BidStayTypeJson o : BidStayTypeJson.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/BillingDetails1.java b/packages/java/src/main/java/com/cvent/models/components/BillingDetails1.java new file mode 100644 index 000000000..d7d47e8f6 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/BillingDetails1.java @@ -0,0 +1,278 @@ +/* + * 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.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * BillingDetails1 + * + *

Billing details for RFP. + */ +public class BillingDetails1 { + /** + * Information regarding billing. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("additionalInformation") + private String additionalInformation; + + /** + * Concessions and contractual information. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("concessionsContractualInfo") + private String concessionsContractualInfo; + + /** + * Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the + * rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will + * represent a percentage. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("rebateType") + private RebateType rebateType; + + /** + * True indicates that rebates and incentives are accepted, applicable only for citywide RFPs. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("acceptingRebatesAndIncentives") + private Boolean acceptingRebatesAndIncentives; + + /** + * The value of the rebate. The impact of this value on the price is determined by `RebateType`. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("rebateValue") + private Double rebateValue; + + @JsonCreator + public BillingDetails1( + @JsonProperty("additionalInformation") @Nullable String additionalInformation, + @JsonProperty("concessionsContractualInfo") @Nullable String concessionsContractualInfo, + @JsonProperty("rebateType") @Nullable RebateType rebateType, + @JsonProperty("acceptingRebatesAndIncentives") @Nullable Boolean acceptingRebatesAndIncentives, + @JsonProperty("rebateValue") @Nullable Double rebateValue) { + this.additionalInformation = additionalInformation; + this.concessionsContractualInfo = concessionsContractualInfo; + this.rebateType = rebateType; + this.acceptingRebatesAndIncentives = Optional.ofNullable(acceptingRebatesAndIncentives) + .orElse(Builder._SINGLETON_VALUE_AcceptingRebatesAndIncentives.value()); + this.rebateValue = rebateValue; + } + + public BillingDetails1() { + this(null, null, null, null, null); + } + + /** + * Information regarding billing. + */ + public Optional additionalInformation() { + return Optional.ofNullable(this.additionalInformation); + } + + /** + * Concessions and contractual information. + */ + public Optional concessionsContractualInfo() { + return Optional.ofNullable(this.concessionsContractualInfo); + } + + /** + * Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the + * rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will + * represent a percentage. + */ + public Optional rebateType() { + return Optional.ofNullable(this.rebateType); + } + + /** + * True indicates that rebates and incentives are accepted, applicable only for citywide RFPs. + */ + public Optional acceptingRebatesAndIncentives() { + return Optional.ofNullable(this.acceptingRebatesAndIncentives); + } + + /** + * The value of the rebate. The impact of this value on the price is determined by `RebateType`. + */ + public Optional rebateValue() { + return Optional.ofNullable(this.rebateValue); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Information regarding billing. + */ + public BillingDetails1 withAdditionalInformation(@Nullable String additionalInformation) { + this.additionalInformation = additionalInformation; + return this; + } + + /** + * Concessions and contractual information. + */ + public BillingDetails1 withConcessionsContractualInfo(@Nullable String concessionsContractualInfo) { + this.concessionsContractualInfo = concessionsContractualInfo; + return this; + } + + /** + * Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the + * rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will + * represent a percentage. + */ + public BillingDetails1 withRebateType(@Nullable RebateType rebateType) { + this.rebateType = rebateType; + return this; + } + + /** + * True indicates that rebates and incentives are accepted, applicable only for citywide RFPs. + */ + public BillingDetails1 withAcceptingRebatesAndIncentives(@Nullable Boolean acceptingRebatesAndIncentives) { + this.acceptingRebatesAndIncentives = acceptingRebatesAndIncentives; + return this; + } + + /** + * The value of the rebate. The impact of this value on the price is determined by `RebateType`. + */ + public BillingDetails1 withRebateValue(@Nullable Double rebateValue) { + this.rebateValue = rebateValue; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BillingDetails1 other = (BillingDetails1) o; + return Utils.enhancedDeepEquals(this.additionalInformation, other.additionalInformation) + && Utils.enhancedDeepEquals(this.concessionsContractualInfo, other.concessionsContractualInfo) + && Utils.enhancedDeepEquals(this.rebateType, other.rebateType) + && Utils.enhancedDeepEquals(this.acceptingRebatesAndIncentives, other.acceptingRebatesAndIncentives) + && Utils.enhancedDeepEquals(this.rebateValue, other.rebateValue); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + additionalInformation, + concessionsContractualInfo, + rebateType, + acceptingRebatesAndIncentives, + rebateValue); + } + + @Override + public String toString() { + return Utils.toString( + BillingDetails1.class, + "additionalInformation", + additionalInformation, + "concessionsContractualInfo", + concessionsContractualInfo, + "rebateType", + rebateType, + "acceptingRebatesAndIncentives", + acceptingRebatesAndIncentives, + "rebateValue", + rebateValue); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String additionalInformation; + + private String concessionsContractualInfo; + + private RebateType rebateType; + + private Boolean acceptingRebatesAndIncentives; + + private Double rebateValue; + + private Builder() { + // force use of static builder() method + } + + /** + * Information regarding billing. + */ + public Builder additionalInformation(@Nullable String additionalInformation) { + this.additionalInformation = additionalInformation; + return this; + } + + /** + * Concessions and contractual information. + */ + public Builder concessionsContractualInfo(@Nullable String concessionsContractualInfo) { + this.concessionsContractualInfo = concessionsContractualInfo; + return this; + } + + /** + * Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the + * rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will + * represent a percentage. + */ + public Builder rebateType(@Nullable RebateType rebateType) { + this.rebateType = rebateType; + return this; + } + + /** + * True indicates that rebates and incentives are accepted, applicable only for citywide RFPs. + */ + public Builder acceptingRebatesAndIncentives(@Nullable Boolean acceptingRebatesAndIncentives) { + this.acceptingRebatesAndIncentives = acceptingRebatesAndIncentives; + return this; + } + + /** + * The value of the rebate. The impact of this value on the price is determined by `RebateType`. + */ + public Builder rebateValue(@Nullable Double rebateValue) { + this.rebateValue = rebateValue; + return this; + } + + public BillingDetails1 build() { + return new BillingDetails1( + additionalInformation, + concessionsContractualInfo, + rebateType, + acceptingRebatesAndIncentives, + rebateValue); + } + + private static final LazySingletonValue _SINGLETON_VALUE_AcceptingRebatesAndIncentives = + new LazySingletonValue<>("acceptingRebatesAndIncentives", "true", new TypeReference() {}); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/BillingDetailsJson0.java b/packages/java/src/main/java/com/cvent/models/components/BillingDetailsJson0.java deleted file mode 100644 index 64611076c..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/BillingDetailsJson0.java +++ /dev/null @@ -1,278 +0,0 @@ -/* - * 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.Double; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * BillingDetailsJson0 - * - *

Billing details for RFP. - */ -public class BillingDetailsJson0 { - /** - * Information regarding billing. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("additionalInformation") - private String additionalInformation; - - /** - * Concessions and contractual information. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("concessionsContractualInfo") - private String concessionsContractualInfo; - - /** - * Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the - * rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will - * represent a percentage. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("rebateType") - private RebateTypeJson rebateType; - - /** - * True indicates that rebates and incentives are accepted, applicable only for citywide RFPs. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("acceptingRebatesAndIncentives") - private Boolean acceptingRebatesAndIncentives; - - /** - * The value of the rebate. The impact of this value on the price is determined by `RebateType`. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("rebateValue") - private Double rebateValue; - - @JsonCreator - public BillingDetailsJson0( - @JsonProperty("additionalInformation") @Nullable String additionalInformation, - @JsonProperty("concessionsContractualInfo") @Nullable String concessionsContractualInfo, - @JsonProperty("rebateType") @Nullable RebateTypeJson rebateType, - @JsonProperty("acceptingRebatesAndIncentives") @Nullable Boolean acceptingRebatesAndIncentives, - @JsonProperty("rebateValue") @Nullable Double rebateValue) { - this.additionalInformation = additionalInformation; - this.concessionsContractualInfo = concessionsContractualInfo; - this.rebateType = rebateType; - this.acceptingRebatesAndIncentives = Optional.ofNullable(acceptingRebatesAndIncentives) - .orElse(Builder._SINGLETON_VALUE_AcceptingRebatesAndIncentives.value()); - this.rebateValue = rebateValue; - } - - public BillingDetailsJson0() { - this(null, null, null, null, null); - } - - /** - * Information regarding billing. - */ - public Optional additionalInformation() { - return Optional.ofNullable(this.additionalInformation); - } - - /** - * Concessions and contractual information. - */ - public Optional concessionsContractualInfo() { - return Optional.ofNullable(this.concessionsContractualInfo); - } - - /** - * Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the - * rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will - * represent a percentage. - */ - public Optional rebateType() { - return Optional.ofNullable(this.rebateType); - } - - /** - * True indicates that rebates and incentives are accepted, applicable only for citywide RFPs. - */ - public Optional acceptingRebatesAndIncentives() { - return Optional.ofNullable(this.acceptingRebatesAndIncentives); - } - - /** - * The value of the rebate. The impact of this value on the price is determined by `RebateType`. - */ - public Optional rebateValue() { - return Optional.ofNullable(this.rebateValue); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Information regarding billing. - */ - public BillingDetailsJson0 withAdditionalInformation(@Nullable String additionalInformation) { - this.additionalInformation = additionalInformation; - return this; - } - - /** - * Concessions and contractual information. - */ - public BillingDetailsJson0 withConcessionsContractualInfo(@Nullable String concessionsContractualInfo) { - this.concessionsContractualInfo = concessionsContractualInfo; - return this; - } - - /** - * Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the - * rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will - * represent a percentage. - */ - public BillingDetailsJson0 withRebateType(@Nullable RebateTypeJson rebateType) { - this.rebateType = rebateType; - return this; - } - - /** - * True indicates that rebates and incentives are accepted, applicable only for citywide RFPs. - */ - public BillingDetailsJson0 withAcceptingRebatesAndIncentives(@Nullable Boolean acceptingRebatesAndIncentives) { - this.acceptingRebatesAndIncentives = acceptingRebatesAndIncentives; - return this; - } - - /** - * The value of the rebate. The impact of this value on the price is determined by `RebateType`. - */ - public BillingDetailsJson0 withRebateValue(@Nullable Double rebateValue) { - this.rebateValue = rebateValue; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - BillingDetailsJson0 other = (BillingDetailsJson0) o; - return Utils.enhancedDeepEquals(this.additionalInformation, other.additionalInformation) - && Utils.enhancedDeepEquals(this.concessionsContractualInfo, other.concessionsContractualInfo) - && Utils.enhancedDeepEquals(this.rebateType, other.rebateType) - && Utils.enhancedDeepEquals(this.acceptingRebatesAndIncentives, other.acceptingRebatesAndIncentives) - && Utils.enhancedDeepEquals(this.rebateValue, other.rebateValue); - } - - @Override - public int hashCode() { - return Utils.enhancedHash( - additionalInformation, - concessionsContractualInfo, - rebateType, - acceptingRebatesAndIncentives, - rebateValue); - } - - @Override - public String toString() { - return Utils.toString( - BillingDetailsJson0.class, - "additionalInformation", - additionalInformation, - "concessionsContractualInfo", - concessionsContractualInfo, - "rebateType", - rebateType, - "acceptingRebatesAndIncentives", - acceptingRebatesAndIncentives, - "rebateValue", - rebateValue); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String additionalInformation; - - private String concessionsContractualInfo; - - private RebateTypeJson rebateType; - - private Boolean acceptingRebatesAndIncentives; - - private Double rebateValue; - - private Builder() { - // force use of static builder() method - } - - /** - * Information regarding billing. - */ - public Builder additionalInformation(@Nullable String additionalInformation) { - this.additionalInformation = additionalInformation; - return this; - } - - /** - * Concessions and contractual information. - */ - public Builder concessionsContractualInfo(@Nullable String concessionsContractualInfo) { - this.concessionsContractualInfo = concessionsContractualInfo; - return this; - } - - /** - * Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the - * rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will - * represent a percentage. - */ - public Builder rebateType(@Nullable RebateTypeJson rebateType) { - this.rebateType = rebateType; - return this; - } - - /** - * True indicates that rebates and incentives are accepted, applicable only for citywide RFPs. - */ - public Builder acceptingRebatesAndIncentives(@Nullable Boolean acceptingRebatesAndIncentives) { - this.acceptingRebatesAndIncentives = acceptingRebatesAndIncentives; - return this; - } - - /** - * The value of the rebate. The impact of this value on the price is determined by `RebateType`. - */ - public Builder rebateValue(@Nullable Double rebateValue) { - this.rebateValue = rebateValue; - return this; - } - - public BillingDetailsJson0 build() { - return new BillingDetailsJson0( - additionalInformation, - concessionsContractualInfo, - rebateType, - acceptingRebatesAndIncentives, - rebateValue); - } - - private static final LazySingletonValue _SINGLETON_VALUE_AcceptingRebatesAndIncentives = - new LazySingletonValue<>("acceptingRebatesAndIncentives", "true", new TypeReference() {}); - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/BoothStaffRequest.java b/packages/java/src/main/java/com/cvent/models/components/BoothStaffRequest.java index 3f7cdf662..74396ff6f 100644 --- a/packages/java/src/main/java/com/cvent/models/components/BoothStaffRequest.java +++ b/packages/java/src/main/java/com/cvent/models/components/BoothStaffRequest.java @@ -21,13 +21,13 @@ public class BoothStaffRequest { * The associated Attendee. */ @JsonProperty("attendee") - private Attendee11 attendee; + private Attendee12 attendee; /** * The Associated Event. */ @JsonProperty("event") - private Event21 event; + private Event3 event; /** * The Associated Exhibitor. @@ -37,8 +37,8 @@ public class BoothStaffRequest { @JsonCreator public BoothStaffRequest( - @JsonProperty("attendee") @Nonnull Attendee11 attendee, - @JsonProperty("event") @Nonnull Event21 event, + @JsonProperty("attendee") @Nonnull Attendee12 attendee, + @JsonProperty("event") @Nonnull Event3 event, @JsonProperty("exhibitor") @Nonnull Exhibitor exhibitor) { this.attendee = Optional.ofNullable(attendee) .orElseThrow(() -> new IllegalArgumentException("attendee cannot be null")); @@ -50,14 +50,14 @@ public BoothStaffRequest( /** * The associated Attendee. */ - public Attendee11 attendee() { + public Attendee12 attendee() { return this.attendee; } /** * The Associated Event. */ - public Event21 event() { + public Event3 event() { return this.event; } @@ -75,7 +75,7 @@ public static Builder builder() { /** * The associated Attendee. */ - public BoothStaffRequest withAttendee(@Nonnull Attendee11 attendee) { + public BoothStaffRequest withAttendee(@Nonnull Attendee12 attendee) { this.attendee = Utils.checkNotNull(attendee, "attendee"); return this; } @@ -83,7 +83,7 @@ public BoothStaffRequest withAttendee(@Nonnull Attendee11 attendee) { /** * The Associated Event. */ - public BoothStaffRequest withEvent(@Nonnull Event21 event) { + public BoothStaffRequest withEvent(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -123,9 +123,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private Attendee11 attendee; + private Attendee12 attendee; - private Event21 event; + private Event3 event; private Exhibitor exhibitor; @@ -136,7 +136,7 @@ private Builder() { /** * The associated Attendee. */ - public Builder attendee(@Nonnull Attendee11 attendee) { + public Builder attendee(@Nonnull Attendee12 attendee) { this.attendee = Utils.checkNotNull(attendee, "attendee"); return this; } @@ -144,7 +144,7 @@ public Builder attendee(@Nonnull Attendee11 attendee) { /** * The Associated Event. */ - public Builder event(@Nonnull Event21 event) { + public Builder event(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/BoothStaffResponse.java b/packages/java/src/main/java/com/cvent/models/components/BoothStaffResponse.java index 15312ecf3..9d7dc509f 100644 --- a/packages/java/src/main/java/com/cvent/models/components/BoothStaffResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/BoothStaffResponse.java @@ -53,13 +53,13 @@ public class BoothStaffResponse { * The associated Attendee. */ @JsonProperty("attendee") - private Attendee11 attendee; + private Attendee12 attendee; /** * The Associated Event. */ @JsonProperty("event") - private Event21 event; + private Event3 event; /** * The Associated Exhibitor. @@ -80,8 +80,8 @@ public BoothStaffResponse( @JsonProperty("createdBy") @Nullable String createdBy, @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, - @JsonProperty("attendee") @Nonnull Attendee11 attendee, - @JsonProperty("event") @Nonnull Event21 event, + @JsonProperty("attendee") @Nonnull Attendee12 attendee, + @JsonProperty("event") @Nonnull Event3 event, @JsonProperty("exhibitor") @Nonnull Exhibitor exhibitor, @JsonProperty("id") @Nullable String id) { this.created = created; @@ -96,7 +96,7 @@ public BoothStaffResponse( this.id = id; } - public BoothStaffResponse(@Nonnull Attendee11 attendee, @Nonnull Event21 event, @Nonnull Exhibitor exhibitor) { + public BoothStaffResponse(@Nonnull Attendee12 attendee, @Nonnull Event3 event, @Nonnull Exhibitor exhibitor) { this(null, null, null, null, attendee, event, exhibitor, null); } @@ -131,14 +131,14 @@ public Optional lastModifiedBy() { /** * The associated Attendee. */ - public Attendee11 attendee() { + public Attendee12 attendee() { return this.attendee; } /** * The Associated Event. */ - public Event21 event() { + public Event3 event() { return this.event; } @@ -195,7 +195,7 @@ public BoothStaffResponse withLastModifiedBy(@Nullable String lastModifiedBy) { /** * The associated Attendee. */ - public BoothStaffResponse withAttendee(@Nonnull Attendee11 attendee) { + public BoothStaffResponse withAttendee(@Nonnull Attendee12 attendee) { this.attendee = Utils.checkNotNull(attendee, "attendee"); return this; } @@ -203,7 +203,7 @@ public BoothStaffResponse withAttendee(@Nonnull Attendee11 attendee) { /** * The Associated Event. */ - public BoothStaffResponse withEvent(@Nonnull Event21 event) { + public BoothStaffResponse withEvent(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -281,9 +281,9 @@ public static final class Builder { private String lastModifiedBy; - private Attendee11 attendee; + private Attendee12 attendee; - private Event21 event; + private Event3 event; private Exhibitor exhibitor; @@ -328,7 +328,7 @@ public Builder lastModifiedBy(@Nullable String lastModifiedBy) { /** * The associated Attendee. */ - public Builder attendee(@Nonnull Attendee11 attendee) { + public Builder attendee(@Nonnull Attendee12 attendee) { this.attendee = Utils.checkNotNull(attendee, "attendee"); return this; } @@ -336,7 +336,7 @@ public Builder attendee(@Nonnull Attendee11 attendee) { /** * The Associated Event. */ - public Builder event(@Nonnull Event21 event) { + public Builder event(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/BounceDetailsJson.java b/packages/java/src/main/java/com/cvent/models/components/BounceDetailsJson.java index 73f4c412e..fa2f890d7 100644 --- a/packages/java/src/main/java/com/cvent/models/components/BounceDetailsJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/BounceDetailsJson.java @@ -90,7 +90,7 @@ public class BounceDetailsJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("emailType") - private EmailTypeJson3 emailType; + private EmailTypeJson1 emailType; /** * Unique ID of the email. @@ -117,7 +117,7 @@ public BounceDetailsJson( @JsonProperty("subject") @Nullable String subject, @JsonProperty("productLine") @Nullable ProductLineJson productLine, @JsonProperty("productId") @Nullable String productId, - @JsonProperty("emailType") @Nullable EmailTypeJson3 emailType, + @JsonProperty("emailType") @Nullable EmailTypeJson1 emailType, @JsonProperty("emailId") @Nullable String emailId, @JsonProperty("created") @Nullable OffsetDateTime created) { this.recipient = recipient; @@ -204,7 +204,7 @@ public Optional productId() { /** * Denotes the type of the email. */ - public Optional emailType() { + public Optional emailType() { return Optional.ofNullable(this.emailType); } @@ -301,7 +301,7 @@ public BounceDetailsJson withProductId(@Nullable String productId) { /** * Denotes the type of the email. */ - public BounceDetailsJson withEmailType(@Nullable EmailTypeJson3 emailType) { + public BounceDetailsJson withEmailType(@Nullable EmailTypeJson1 emailType) { this.emailType = emailType; return this; } @@ -413,7 +413,7 @@ public static final class Builder { private String productId; - private EmailTypeJson3 emailType; + private EmailTypeJson1 emailType; private String emailId; @@ -498,7 +498,7 @@ public Builder productId(@Nullable String productId) { /** * Denotes the type of the email. */ - public Builder emailType(@Nullable EmailTypeJson3 emailType) { + public Builder emailType(@Nullable EmailTypeJson1 emailType) { this.emailType = emailType; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/BounceDetailsResponse.java b/packages/java/src/main/java/com/cvent/models/components/BounceDetailsResponse.java index 2bef80287..ee327df51 100644 --- a/packages/java/src/main/java/com/cvent/models/components/BounceDetailsResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/BounceDetailsResponse.java @@ -22,7 +22,7 @@ public class BounceDetailsResponse { * Represents pagination information for a collection of resources. */ @JsonProperty("paging") - private PagingNoTotalCountJson2 paging; + private PagingNoTotalCountJson paging; /** * Bounce details. @@ -32,7 +32,7 @@ public class BounceDetailsResponse { @JsonCreator public BounceDetailsResponse( - @JsonProperty("paging") @Nonnull PagingNoTotalCountJson2 paging, + @JsonProperty("paging") @Nonnull PagingNoTotalCountJson paging, @JsonProperty("data") @Nonnull List data) { this.paging = Optional.ofNullable(paging).orElseThrow(() -> new IllegalArgumentException("paging cannot be null")); @@ -42,7 +42,7 @@ public BounceDetailsResponse( /** * Represents pagination information for a collection of resources. */ - public PagingNoTotalCountJson2 paging() { + public PagingNoTotalCountJson paging() { return this.paging; } @@ -60,7 +60,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public BounceDetailsResponse withPaging(@Nonnull PagingNoTotalCountJson2 paging) { + public BounceDetailsResponse withPaging(@Nonnull PagingNoTotalCountJson paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } @@ -98,7 +98,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingNoTotalCountJson2 paging; + private PagingNoTotalCountJson paging; private List data; @@ -109,7 +109,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nonnull PagingNoTotalCountJson2 paging) { + public Builder paging(@Nonnull PagingNoTotalCountJson paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/Brand.java b/packages/java/src/main/java/com/cvent/models/components/Brand.java index 283aaae4f..880e9ec20 100644 --- a/packages/java/src/main/java/com/cvent/models/components/Brand.java +++ b/packages/java/src/main/java/com/cvent/models/components/Brand.java @@ -70,7 +70,7 @@ public class Brand { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("address") - private AddressJson3 address; + private AddressJson1 address; /** * True indicates the brand is deleted. @@ -87,7 +87,7 @@ public Brand( @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, @JsonProperty("id") @Nullable String id, @JsonProperty("name") @Nullable String name, - @JsonProperty("address") @Nullable AddressJson3 address, + @JsonProperty("address") @Nullable AddressJson1 address, @JsonProperty("deleted") @Nullable Boolean deleted) { this.created = created; this.createdBy = createdBy; @@ -148,7 +148,7 @@ public Optional name() { /** * A physical address. */ - public Optional address() { + public Optional address() { return Optional.ofNullable(this.address); } @@ -214,7 +214,7 @@ public Brand withName(@Nullable String name) { /** * A physical address. */ - public Brand withAddress(@Nullable AddressJson3 address) { + public Brand withAddress(@Nullable AddressJson1 address) { this.address = address; return this; } @@ -288,7 +288,7 @@ public static final class Builder { private String name; - private AddressJson3 address; + private AddressJson1 address; private Boolean deleted; @@ -347,7 +347,7 @@ public Builder name(@Nullable String name) { /** * A physical address. */ - public Builder address(@Nullable AddressJson3 address) { + public Builder address(@Nullable AddressJson1 address) { this.address = address; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/BrideGroomType.java b/packages/java/src/main/java/com/cvent/models/components/BrideGroomType.java new file mode 100644 index 000000000..99df7569c --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/BrideGroomType.java @@ -0,0 +1,39 @@ +/* + * 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; + +/** + * BrideGroomType + * + *

BrideGroomType + */ +public enum BrideGroomType { + BRIDE("BRIDE"), + GROOM("GROOM"); + + @JsonValue + private final String value; + + BrideGroomType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (BrideGroomType o : BrideGroomType.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/BrideGroomTypeJson0.java b/packages/java/src/main/java/com/cvent/models/components/BrideGroomTypeJson0.java deleted file mode 100644 index 88d551c21..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/BrideGroomTypeJson0.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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; - -/** - * BrideGroomTypeJson0 - * - *

Bride groom type. - */ -public enum BrideGroomTypeJson0 { - BRIDE("BRIDE"), - GROOM("GROOM"); - - @JsonValue - private final String value; - - BrideGroomTypeJson0(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (BrideGroomTypeJson0 o : BrideGroomTypeJson0.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/BusinessType.java b/packages/java/src/main/java/com/cvent/models/components/BusinessType.java new file mode 100644 index 000000000..a44ef0b3d --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/BusinessType.java @@ -0,0 +1,39 @@ +/* + * 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; + +/** + * BusinessType + * + *

Business type. + */ +public enum BusinessType { + CORPORATE("corporate"), + LEISURE("leisure"); + + @JsonValue + private final String value; + + BusinessType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (BusinessType o : BusinessType.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/BusinessTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/BusinessTypeJson.java deleted file mode 100644 index 24f20c83a..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/BusinessTypeJson.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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; - -/** - * BusinessTypeJson - * - *

Business type. - */ -public enum BusinessTypeJson { - CORPORATE("corporate"), - LEISURE("leisure"); - - @JsonValue - private final String value; - - BusinessTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (BusinessTypeJson o : BusinessTypeJson.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/CancellationDetails.java b/packages/java/src/main/java/com/cvent/models/components/CancellationDetails.java new file mode 100644 index 000000000..20e57ec87 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/CancellationDetails.java @@ -0,0 +1,172 @@ +/* + * 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.time.OffsetDateTime; +import java.util.Optional; + +/** + * CancellationDetails + * + *

Information about cancellation of RFP. + */ +public class CancellationDetails { + /** + * The ISO 8601 date time (in UTC) when RFP was cancelled. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("dateTime") + private OffsetDateTime dateTime; + + /** + * Reason for cancelling the RFP. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("reason") + private CancelledReason1 reason; + + /** + * Additional comments while cancelling the RFP. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("comments") + private String comments; + + @JsonCreator + public CancellationDetails( + @JsonProperty("dateTime") @Nullable OffsetDateTime dateTime, + @JsonProperty("reason") @Nullable CancelledReason1 reason, + @JsonProperty("comments") @Nullable String comments) { + this.dateTime = dateTime; + this.reason = reason; + this.comments = comments; + } + + public CancellationDetails() { + this(null, null, null); + } + + /** + * The ISO 8601 date time (in UTC) when RFP was cancelled. + */ + public Optional dateTime() { + return Optional.ofNullable(this.dateTime); + } + + /** + * Reason for cancelling the RFP. + */ + public Optional reason() { + return Optional.ofNullable(this.reason); + } + + /** + * Additional comments while cancelling the RFP. + */ + public Optional comments() { + return Optional.ofNullable(this.comments); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The ISO 8601 date time (in UTC) when RFP was cancelled. + */ + public CancellationDetails withDateTime(@Nullable OffsetDateTime dateTime) { + this.dateTime = dateTime; + return this; + } + + /** + * Reason for cancelling the RFP. + */ + public CancellationDetails withReason(@Nullable CancelledReason1 reason) { + this.reason = reason; + return this; + } + + /** + * Additional comments while cancelling the RFP. + */ + public CancellationDetails withComments(@Nullable String comments) { + this.comments = comments; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CancellationDetails other = (CancellationDetails) o; + return Utils.enhancedDeepEquals(this.dateTime, other.dateTime) + && Utils.enhancedDeepEquals(this.reason, other.reason) + && Utils.enhancedDeepEquals(this.comments, other.comments); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(dateTime, reason, comments); + } + + @Override + public String toString() { + return Utils.toString(CancellationDetails.class, "dateTime", dateTime, "reason", reason, "comments", comments); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private OffsetDateTime dateTime; + + private CancelledReason1 reason; + + private String comments; + + private Builder() { + // force use of static builder() method + } + + /** + * The ISO 8601 date time (in UTC) when RFP was cancelled. + */ + public Builder dateTime(@Nullable OffsetDateTime dateTime) { + this.dateTime = dateTime; + return this; + } + + /** + * Reason for cancelling the RFP. + */ + public Builder reason(@Nullable CancelledReason1 reason) { + this.reason = reason; + return this; + } + + /** + * Additional comments while cancelling the RFP. + */ + public Builder comments(@Nullable String comments) { + this.comments = comments; + return this; + } + + public CancellationDetails build() { + return new CancellationDetails(dateTime, reason, comments); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/CancellationDetailsJson.java b/packages/java/src/main/java/com/cvent/models/components/CancellationDetailsJson.java deleted file mode 100644 index ee6b65546..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/CancellationDetailsJson.java +++ /dev/null @@ -1,173 +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.Override; -import java.lang.String; -import java.time.OffsetDateTime; -import java.util.Optional; - -/** - * CancellationDetailsJson - * - *

Information about cancellation of RFP. - */ -public class CancellationDetailsJson { - /** - * The ISO 8601 date time (in UTC) when RFP was cancelled. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("dateTime") - private OffsetDateTime dateTime; - - /** - * Reason for cancelling the RFP. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("reason") - private CancelledReasonJson0 reason; - - /** - * Additional comments while cancelling the RFP. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("comments") - private String comments; - - @JsonCreator - public CancellationDetailsJson( - @JsonProperty("dateTime") @Nullable OffsetDateTime dateTime, - @JsonProperty("reason") @Nullable CancelledReasonJson0 reason, - @JsonProperty("comments") @Nullable String comments) { - this.dateTime = dateTime; - this.reason = reason; - this.comments = comments; - } - - public CancellationDetailsJson() { - this(null, null, null); - } - - /** - * The ISO 8601 date time (in UTC) when RFP was cancelled. - */ - public Optional dateTime() { - return Optional.ofNullable(this.dateTime); - } - - /** - * Reason for cancelling the RFP. - */ - public Optional reason() { - return Optional.ofNullable(this.reason); - } - - /** - * Additional comments while cancelling the RFP. - */ - public Optional comments() { - return Optional.ofNullable(this.comments); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The ISO 8601 date time (in UTC) when RFP was cancelled. - */ - public CancellationDetailsJson withDateTime(@Nullable OffsetDateTime dateTime) { - this.dateTime = dateTime; - return this; - } - - /** - * Reason for cancelling the RFP. - */ - public CancellationDetailsJson withReason(@Nullable CancelledReasonJson0 reason) { - this.reason = reason; - return this; - } - - /** - * Additional comments while cancelling the RFP. - */ - public CancellationDetailsJson withComments(@Nullable String comments) { - this.comments = comments; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CancellationDetailsJson other = (CancellationDetailsJson) o; - return Utils.enhancedDeepEquals(this.dateTime, other.dateTime) - && Utils.enhancedDeepEquals(this.reason, other.reason) - && Utils.enhancedDeepEquals(this.comments, other.comments); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(dateTime, reason, comments); - } - - @Override - public String toString() { - return Utils.toString( - CancellationDetailsJson.class, "dateTime", dateTime, "reason", reason, "comments", comments); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private OffsetDateTime dateTime; - - private CancelledReasonJson0 reason; - - private String comments; - - private Builder() { - // force use of static builder() method - } - - /** - * The ISO 8601 date time (in UTC) when RFP was cancelled. - */ - public Builder dateTime(@Nullable OffsetDateTime dateTime) { - this.dateTime = dateTime; - return this; - } - - /** - * Reason for cancelling the RFP. - */ - public Builder reason(@Nullable CancelledReasonJson0 reason) { - this.reason = reason; - return this; - } - - /** - * Additional comments while cancelling the RFP. - */ - public Builder comments(@Nullable String comments) { - this.comments = comments; - return this; - } - - public CancellationDetailsJson build() { - return new CancellationDetailsJson(dateTime, reason, comments); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/CancelledReason1.java b/packages/java/src/main/java/com/cvent/models/components/CancelledReason1.java new file mode 100644 index 000000000..47cfef6e8 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/CancelledReason1.java @@ -0,0 +1,47 @@ +/* + * 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; + +/** + * CancelledReason1 + * + *

Reason for cancelling the RFP. + */ +public enum CancelledReason1 { + BOOKED_ANOTHER_VENUE_OR_DESTINATION("BOOKED_ANOTHER_VENUE_OR_DESTINATION"), + CLIENT_BOOKED_DIRECTLY("CLIENT_BOOKED_DIRECTLY"), + EPIDEMIC_OR_PANDEMIC("EPIDEMIC_OR_PANDEMIC"), + EVENT_CANCELLED("EVENT_CANCELLED"), + EVENT_POSTPONED("EVENT_POSTPONED"), + MEDICAL_EMERGENCY("MEDICAL_EMERGENCY"), + NATURAL_DISASTER("NATURAL_DISASTER"), + OTHER("OTHER"), + POLITICAL_OR_CIVIL_UNREST("POLITICAL_OR_CIVIL_UNREST"), + REQUIREMENTS_CHANGED("REQUIREMENTS_CHANGED"); + + @JsonValue + private final String value; + + CancelledReason1(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (CancelledReason1 o : CancelledReason1.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/CancelledReasonJson0.java b/packages/java/src/main/java/com/cvent/models/components/CancelledReasonJson0.java deleted file mode 100644 index 99c3379a3..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/CancelledReasonJson0.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * 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; - -/** - * CancelledReasonJson0 - * - *

Reason for cancelling the RFP. - */ -public enum CancelledReasonJson0 { - BOOKED_ANOTHER_VENUE_OR_DESTINATION("BOOKED_ANOTHER_VENUE_OR_DESTINATION"), - CLIENT_BOOKED_DIRECTLY("CLIENT_BOOKED_DIRECTLY"), - EPIDEMIC_OR_PANDEMIC("EPIDEMIC_OR_PANDEMIC"), - EVENT_CANCELLED("EVENT_CANCELLED"), - EVENT_POSTPONED("EVENT_POSTPONED"), - MEDICAL_EMERGENCY("MEDICAL_EMERGENCY"), - NATURAL_DISASTER("NATURAL_DISASTER"), - OTHER("OTHER"), - POLITICAL_OR_CIVIL_UNREST("POLITICAL_OR_CIVIL_UNREST"), - REQUIREMENTS_CHANGED("REQUIREMENTS_CHANGED"); - - @JsonValue - private final String value; - - CancelledReasonJson0(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (CancelledReasonJson0 o : CancelledReasonJson0.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/Category.java b/packages/java/src/main/java/com/cvent/models/components/Category.java new file mode 100644 index 000000000..49d128529 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Category.java @@ -0,0 +1,216 @@ +/* + * 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; + +/** + * Category + * + *

A question category. + */ +public class Category { + /** + * Text field ID. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * Text value of the field. Displays to users in the UI. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("text") + private String text; + + /** + * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of + * the question in reports. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("shortText") + private String shortText; + + /** + * True indicates the category is mandatory for answer. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("required") + private Boolean required; + + @JsonCreator + public Category( + @JsonProperty("id") @Nullable String id, + @JsonProperty("text") @Nullable String text, + @JsonProperty("shortText") @Nullable String shortText, + @JsonProperty("required") @Nullable Boolean required) { + this.id = id; + this.text = text; + this.shortText = shortText; + this.required = Optional.ofNullable(required).orElse(Builder._SINGLETON_VALUE_Required.value()); + } + + public Category() { + this(null, null, null, null); + } + + /** + * Text field ID. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Text value of the field. Displays to users in the UI. + */ + public Optional text() { + return Optional.ofNullable(this.text); + } + + /** + * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of + * the question in reports. + */ + public Optional shortText() { + return Optional.ofNullable(this.shortText); + } + + /** + * True indicates the category is mandatory for answer. + */ + public Optional required() { + return Optional.ofNullable(this.required); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Text field ID. + */ + public Category withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Text value of the field. Displays to users in the UI. + */ + public Category withText(@Nullable String text) { + this.text = text; + return this; + } + + /** + * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of + * the question in reports. + */ + public Category withShortText(@Nullable String shortText) { + this.shortText = shortText; + return this; + } + + /** + * True indicates the category is mandatory for answer. + */ + public Category withRequired(@Nullable Boolean required) { + this.required = required; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Category other = (Category) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.text, other.text) + && Utils.enhancedDeepEquals(this.shortText, other.shortText) + && Utils.enhancedDeepEquals(this.required, other.required); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, text, shortText, required); + } + + @Override + public String toString() { + return Utils.toString(Category.class, "id", id, "text", text, "shortText", shortText, "required", required); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String text; + + private String shortText; + + private Boolean required; + + private Builder() { + // force use of static builder() method + } + + /** + * Text field ID. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Text value of the field. Displays to users in the UI. + */ + public Builder text(@Nullable String text) { + this.text = text; + return this; + } + + /** + * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of + * the question in reports. + */ + public Builder shortText(@Nullable String shortText) { + this.shortText = shortText; + return this; + } + + /** + * True indicates the category is mandatory for answer. + */ + public Builder required(@Nullable Boolean required) { + this.required = required; + return this; + } + + public Category build() { + return new Category(id, text, shortText, required); + } + + private static final LazySingletonValue _SINGLETON_VALUE_Required = + new LazySingletonValue<>("required", "false", new TypeReference() {}); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/CategoryIdNameJson.java b/packages/java/src/main/java/com/cvent/models/components/CategoryIdNameJson.java deleted file mode 100644 index 706db88fa..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/CategoryIdNameJson.java +++ /dev/null @@ -1,133 +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.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * CategoryIdNameJson - * - *

A defined speaker category. - */ -public class CategoryIdNameJson { - /** - * A string that has to be a format matching the industry standard uuid - */ - @JsonProperty("id") - private String id; - - /** - * The name of the speaker category - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - @JsonCreator - public CategoryIdNameJson(@JsonProperty("id") @Nonnull String id, @JsonProperty("name") @Nullable String name) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - this.name = name; - } - - public CategoryIdNameJson(@Nonnull String id) { - this(id, null); - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public String id() { - return this.id; - } - - /** - * The name of the speaker category - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public CategoryIdNameJson withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The name of the speaker category - */ - public CategoryIdNameJson withName(@Nullable String name) { - this.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; - } - CategoryIdNameJson other = (CategoryIdNameJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.name, other.name); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, name); - } - - @Override - public String toString() { - return Utils.toString(CategoryIdNameJson.class, "id", id, "name", name); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String name; - - private Builder() { - // force use of static builder() method - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The name of the speaker category - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - public CategoryIdNameJson build() { - return new CategoryIdNameJson(id, name); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/CategoryItemsCostJson.java b/packages/java/src/main/java/com/cvent/models/components/CategoryItemsCostJson.java index a1e1e989c..e4ffbf0a1 100644 --- a/packages/java/src/main/java/com/cvent/models/components/CategoryItemsCostJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/CategoryItemsCostJson.java @@ -45,13 +45,13 @@ public class CategoryItemsCostJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("categories") - private List categories; + private List categories; @JsonCreator public CategoryItemsCostJson( @JsonProperty("notes") @Nullable String notes, @JsonProperty("totalCost") @Nullable Double totalCost, - @JsonProperty("categories") @Nullable List categories) { + @JsonProperty("categories") @Nullable List categories) { this.notes = notes; this.totalCost = totalCost; this.categories = categories; @@ -78,7 +78,7 @@ public Optional totalCost() { /** * List of categories. */ - public Optional> categories() { + public Optional> categories() { return Optional.ofNullable(this.categories); } @@ -105,7 +105,7 @@ public CategoryItemsCostJson withTotalCost(@Nullable Double totalCost) { /** * List of categories. */ - public CategoryItemsCostJson withCategories(@Nullable List categories) { + public CategoryItemsCostJson withCategories(@Nullable List categories) { this.categories = categories; return this; } @@ -142,7 +142,7 @@ public static final class Builder { private Double totalCost; - private List categories; + private List categories; private Builder() { // force use of static builder() method @@ -167,7 +167,7 @@ public Builder totalCost(@Nullable Double totalCost) { /** * List of categories. */ - public Builder categories(@Nullable List categories) { + public Builder categories(@Nullable List categories) { this.categories = categories; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/CategoryJson.java b/packages/java/src/main/java/com/cvent/models/components/CategoryJson.java index 3b6dda9b6..e3d914fd7 100644 --- a/packages/java/src/main/java/com/cvent/models/components/CategoryJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/CategoryJson.java @@ -3,64 +3,62 @@ */ 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.Double; import java.lang.Override; import java.lang.String; +import java.util.List; import java.util.Optional; /** * CategoryJson * - *

A question category. + *

A category of items. */ public class CategoryJson { /** - * Text field ID. + * The category type. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; + @JsonProperty("type") + private String type; /** - * Text value of the field. Displays to users in the UI. + * The name of the category. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("text") - private String text; + @JsonProperty("name") + private String name; /** - * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of - * the question in reports. + * Total cost for all items within this category. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("shortText") - private String shortText; + @JsonProperty("totalCost") + private Double totalCost; /** - * True indicates the category is mandatory for answer. + * List of items in this category. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("required") - private Boolean required; + @JsonProperty("items") + private List items; @JsonCreator public CategoryJson( - @JsonProperty("id") @Nullable String id, - @JsonProperty("text") @Nullable String text, - @JsonProperty("shortText") @Nullable String shortText, - @JsonProperty("required") @Nullable Boolean required) { - this.id = id; - this.text = text; - this.shortText = shortText; - this.required = Optional.ofNullable(required).orElse(Builder._SINGLETON_VALUE_Required.value()); + @JsonProperty("type") @Nullable String type, + @JsonProperty("name") @Nullable String name, + @JsonProperty("totalCost") @Nullable Double totalCost, + @JsonProperty("items") @Nullable List items) { + this.type = type; + this.name = name; + this.totalCost = totalCost; + this.items = items; } public CategoryJson() { @@ -68,32 +66,31 @@ public CategoryJson() { } /** - * Text field ID. + * The category type. */ - public Optional id() { - return Optional.ofNullable(this.id); + public Optional type() { + return Optional.ofNullable(this.type); } /** - * Text value of the field. Displays to users in the UI. + * The name of the category. */ - public Optional text() { - return Optional.ofNullable(this.text); + public Optional name() { + return Optional.ofNullable(this.name); } /** - * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of - * the question in reports. + * Total cost for all items within this category. */ - public Optional shortText() { - return Optional.ofNullable(this.shortText); + public Optional totalCost() { + return Optional.ofNullable(this.totalCost); } /** - * True indicates the category is mandatory for answer. + * List of items in this category. */ - public Optional required() { - return Optional.ofNullable(this.required); + public Optional> items() { + return Optional.ofNullable(this.items); } public static Builder builder() { @@ -101,35 +98,34 @@ public static Builder builder() { } /** - * Text field ID. + * The category type. */ - public CategoryJson withId(@Nullable String id) { - this.id = id; + public CategoryJson withType(@Nullable String type) { + this.type = type; return this; } /** - * Text value of the field. Displays to users in the UI. + * The name of the category. */ - public CategoryJson withText(@Nullable String text) { - this.text = text; + public CategoryJson withName(@Nullable String name) { + this.name = name; return this; } /** - * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of - * the question in reports. + * Total cost for all items within this category. */ - public CategoryJson withShortText(@Nullable String shortText) { - this.shortText = shortText; + public CategoryJson withTotalCost(@Nullable Double totalCost) { + this.totalCost = totalCost; return this; } /** - * True indicates the category is mandatory for answer. + * List of items in this category. */ - public CategoryJson withRequired(@Nullable Boolean required) { - this.required = required; + public CategoryJson withItems(@Nullable List items) { + this.items = items; return this; } @@ -142,75 +138,71 @@ public boolean equals(java.lang.Object o) { return false; } CategoryJson other = (CategoryJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.text, other.text) - && Utils.enhancedDeepEquals(this.shortText, other.shortText) - && Utils.enhancedDeepEquals(this.required, other.required); + return Utils.enhancedDeepEquals(this.type, other.type) + && Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.totalCost, other.totalCost) + && Utils.enhancedDeepEquals(this.items, other.items); } @Override public int hashCode() { - return Utils.enhancedHash(id, text, shortText, required); + return Utils.enhancedHash(type, name, totalCost, items); } @Override public String toString() { - return Utils.toString(CategoryJson.class, "id", id, "text", text, "shortText", shortText, "required", required); + return Utils.toString(CategoryJson.class, "type", type, "name", name, "totalCost", totalCost, "items", items); } @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private String id; + private String type; - private String text; + private String name; - private String shortText; + private Double totalCost; - private Boolean required; + private List items; private Builder() { // force use of static builder() method } /** - * Text field ID. + * The category type. */ - public Builder id(@Nullable String id) { - this.id = id; + public Builder type(@Nullable String type) { + this.type = type; return this; } /** - * Text value of the field. Displays to users in the UI. + * The name of the category. */ - public Builder text(@Nullable String text) { - this.text = text; + public Builder name(@Nullable String name) { + this.name = name; return this; } /** - * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of - * the question in reports. + * Total cost for all items within this category. */ - public Builder shortText(@Nullable String shortText) { - this.shortText = shortText; + public Builder totalCost(@Nullable Double totalCost) { + this.totalCost = totalCost; return this; } /** - * True indicates the category is mandatory for answer. + * List of items in this category. */ - public Builder required(@Nullable Boolean required) { - this.required = required; + public Builder items(@Nullable List items) { + this.items = items; return this; } public CategoryJson build() { - return new CategoryJson(id, text, shortText, required); + return new CategoryJson(type, name, totalCost, items); } - - private static final LazySingletonValue _SINGLETON_VALUE_Required = - new LazySingletonValue<>("required", "false", new TypeReference() {}); } } diff --git a/packages/java/src/main/java/com/cvent/models/components/CategoryJson1.java b/packages/java/src/main/java/com/cvent/models/components/CategoryJson1.java index 3503bf8fd..808f6d9b0 100644 --- a/packages/java/src/main/java/com/cvent/models/components/CategoryJson1.java +++ b/packages/java/src/main/java/com/cvent/models/components/CategoryJson1.java @@ -3,62 +3,63 @@ */ 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.Double; +import java.lang.Boolean; import java.lang.Override; import java.lang.String; -import java.util.List; import java.util.Optional; /** * CategoryJson1 * - *

A category of items. + *

A survey category. */ public class CategoryJson1 { /** - * The category type. + * Text field ID. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private String type; + @JsonProperty("id") + private String id; /** - * The name of the category. + * text Value of the Field */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; + @JsonProperty("text") + private String text; /** - * Total cost for all items within this category. + * Reporting value of the Category, Its like a custom abbreviation */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("totalCost") - private Double totalCost; + @JsonProperty("shortText") + private String shortText; /** - * List of items in this category. + * is the category mandatory for answer */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("items") - private List items; + @JsonProperty("required") + private Boolean required; @JsonCreator public CategoryJson1( - @JsonProperty("type") @Nullable String type, - @JsonProperty("name") @Nullable String name, - @JsonProperty("totalCost") @Nullable Double totalCost, - @JsonProperty("items") @Nullable List items) { - this.type = type; - this.name = name; - this.totalCost = totalCost; - this.items = items; + @JsonProperty("id") @Nullable String id, + @JsonProperty("text") @Nullable String text, + @JsonProperty("shortText") @Nullable String shortText, + @JsonProperty("required") @Nullable Boolean required) { + this.id = id; + this.text = text; + this.shortText = shortText; + this.required = Optional.ofNullable(required).orElse(Builder._SINGLETON_VALUE_Required.value()); } public CategoryJson1() { @@ -66,31 +67,31 @@ public CategoryJson1() { } /** - * The category type. + * Text field ID. */ - public Optional type() { - return Optional.ofNullable(this.type); + public Optional id() { + return Optional.ofNullable(this.id); } /** - * The name of the category. + * text Value of the Field */ - public Optional name() { - return Optional.ofNullable(this.name); + public Optional text() { + return Optional.ofNullable(this.text); } /** - * Total cost for all items within this category. + * Reporting value of the Category, Its like a custom abbreviation */ - public Optional totalCost() { - return Optional.ofNullable(this.totalCost); + public Optional shortText() { + return Optional.ofNullable(this.shortText); } /** - * List of items in this category. + * is the category mandatory for answer */ - public Optional> items() { - return Optional.ofNullable(this.items); + public Optional required() { + return Optional.ofNullable(this.required); } public static Builder builder() { @@ -98,34 +99,34 @@ public static Builder builder() { } /** - * The category type. + * Text field ID. */ - public CategoryJson1 withType(@Nullable String type) { - this.type = type; + public CategoryJson1 withId(@Nullable String id) { + this.id = id; return this; } /** - * The name of the category. + * text Value of the Field */ - public CategoryJson1 withName(@Nullable String name) { - this.name = name; + public CategoryJson1 withText(@Nullable String text) { + this.text = text; return this; } /** - * Total cost for all items within this category. + * Reporting value of the Category, Its like a custom abbreviation */ - public CategoryJson1 withTotalCost(@Nullable Double totalCost) { - this.totalCost = totalCost; + public CategoryJson1 withShortText(@Nullable String shortText) { + this.shortText = shortText; return this; } /** - * List of items in this category. + * is the category mandatory for answer */ - public CategoryJson1 withItems(@Nullable List items) { - this.items = items; + public CategoryJson1 withRequired(@Nullable Boolean required) { + this.required = required; return this; } @@ -138,71 +139,75 @@ public boolean equals(java.lang.Object o) { return false; } CategoryJson1 other = (CategoryJson1) o; - return Utils.enhancedDeepEquals(this.type, other.type) - && Utils.enhancedDeepEquals(this.name, other.name) - && Utils.enhancedDeepEquals(this.totalCost, other.totalCost) - && Utils.enhancedDeepEquals(this.items, other.items); + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.text, other.text) + && Utils.enhancedDeepEquals(this.shortText, other.shortText) + && Utils.enhancedDeepEquals(this.required, other.required); } @Override public int hashCode() { - return Utils.enhancedHash(type, name, totalCost, items); + return Utils.enhancedHash(id, text, shortText, required); } @Override public String toString() { - return Utils.toString(CategoryJson1.class, "type", type, "name", name, "totalCost", totalCost, "items", items); + return Utils.toString( + CategoryJson1.class, "id", id, "text", text, "shortText", shortText, "required", required); } @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private String type; + private String id; - private String name; + private String text; - private Double totalCost; + private String shortText; - private List items; + private Boolean required; private Builder() { // force use of static builder() method } /** - * The category type. + * Text field ID. */ - public Builder type(@Nullable String type) { - this.type = type; + public Builder id(@Nullable String id) { + this.id = id; return this; } /** - * The name of the category. + * text Value of the Field */ - public Builder name(@Nullable String name) { - this.name = name; + public Builder text(@Nullable String text) { + this.text = text; return this; } /** - * Total cost for all items within this category. + * Reporting value of the Category, Its like a custom abbreviation */ - public Builder totalCost(@Nullable Double totalCost) { - this.totalCost = totalCost; + public Builder shortText(@Nullable String shortText) { + this.shortText = shortText; return this; } /** - * List of items in this category. + * is the category mandatory for answer */ - public Builder items(@Nullable List items) { - this.items = items; + public Builder required(@Nullable Boolean required) { + this.required = required; return this; } public CategoryJson1 build() { - return new CategoryJson1(type, name, totalCost, items); + return new CategoryJson1(id, text, shortText, required); } + + private static final LazySingletonValue _SINGLETON_VALUE_Required = + new LazySingletonValue<>("required", "false", new TypeReference() {}); } } diff --git a/packages/java/src/main/java/com/cvent/models/components/CategoryJson2.java b/packages/java/src/main/java/com/cvent/models/components/CategoryJson2.java deleted file mode 100644 index a80f0b697..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/CategoryJson2.java +++ /dev/null @@ -1,213 +0,0 @@ -/* - * 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; - -/** - * CategoryJson2 - * - *

A survey category. - */ -public class CategoryJson2 { - /** - * Text field ID. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * text Value of the Field - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("text") - private String text; - - /** - * Reporting value of the Category, Its like a custom abbreviation - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("shortText") - private String shortText; - - /** - * is the category mandatory for answer - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("required") - private Boolean required; - - @JsonCreator - public CategoryJson2( - @JsonProperty("id") @Nullable String id, - @JsonProperty("text") @Nullable String text, - @JsonProperty("shortText") @Nullable String shortText, - @JsonProperty("required") @Nullable Boolean required) { - this.id = id; - this.text = text; - this.shortText = shortText; - this.required = Optional.ofNullable(required).orElse(Builder._SINGLETON_VALUE_Required.value()); - } - - public CategoryJson2() { - this(null, null, null, null); - } - - /** - * Text field ID. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * text Value of the Field - */ - public Optional text() { - return Optional.ofNullable(this.text); - } - - /** - * Reporting value of the Category, Its like a custom abbreviation - */ - public Optional shortText() { - return Optional.ofNullable(this.shortText); - } - - /** - * is the category mandatory for answer - */ - public Optional required() { - return Optional.ofNullable(this.required); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Text field ID. - */ - public CategoryJson2 withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * text Value of the Field - */ - public CategoryJson2 withText(@Nullable String text) { - this.text = text; - return this; - } - - /** - * Reporting value of the Category, Its like a custom abbreviation - */ - public CategoryJson2 withShortText(@Nullable String shortText) { - this.shortText = shortText; - return this; - } - - /** - * is the category mandatory for answer - */ - public CategoryJson2 withRequired(@Nullable Boolean required) { - this.required = required; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CategoryJson2 other = (CategoryJson2) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.text, other.text) - && Utils.enhancedDeepEquals(this.shortText, other.shortText) - && Utils.enhancedDeepEquals(this.required, other.required); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, text, shortText, required); - } - - @Override - public String toString() { - return Utils.toString( - CategoryJson2.class, "id", id, "text", text, "shortText", shortText, "required", required); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String text; - - private String shortText; - - private Boolean required; - - private Builder() { - // force use of static builder() method - } - - /** - * Text field ID. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * text Value of the Field - */ - public Builder text(@Nullable String text) { - this.text = text; - return this; - } - - /** - * Reporting value of the Category, Its like a custom abbreviation - */ - public Builder shortText(@Nullable String shortText) { - this.shortText = shortText; - return this; - } - - /** - * is the category mandatory for answer - */ - public Builder required(@Nullable Boolean required) { - this.required = required; - return this; - } - - public CategoryJson2 build() { - return new CategoryJson2(id, text, shortText, required); - } - - private static final LazySingletonValue _SINGLETON_VALUE_Required = - new LazySingletonValue<>("required", "false", new TypeReference() {}); - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/Chain.java b/packages/java/src/main/java/com/cvent/models/components/Chain.java index 0bf7e965c..7fe7b7b9a 100644 --- a/packages/java/src/main/java/com/cvent/models/components/Chain.java +++ b/packages/java/src/main/java/com/cvent/models/components/Chain.java @@ -84,7 +84,7 @@ public class Chain { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("address") - private AddressJson3 address; + private AddressJson1 address; /** * True indicates the chain is deleted. @@ -103,7 +103,7 @@ public Chain( @JsonProperty("name") @Nullable String name, @JsonProperty("code") @Nullable String code, @JsonProperty("brand") @Nullable ChainBrand brand, - @JsonProperty("address") @Nullable AddressJson3 address, + @JsonProperty("address") @Nullable AddressJson1 address, @JsonProperty("deleted") @Nullable Boolean deleted) { this.created = created; this.createdBy = createdBy; @@ -180,7 +180,7 @@ public Optional brand() { /** * A physical address. */ - public Optional address() { + public Optional address() { return Optional.ofNullable(this.address); } @@ -262,7 +262,7 @@ public Chain withBrand(@Nullable ChainBrand brand) { /** * A physical address. */ - public Chain withAddress(@Nullable AddressJson3 address) { + public Chain withAddress(@Nullable AddressJson1 address) { this.address = address; return this; } @@ -347,7 +347,7 @@ public static final class Builder { private ChainBrand brand; - private AddressJson3 address; + private AddressJson1 address; private Boolean deleted; @@ -422,7 +422,7 @@ public Builder brand(@Nullable ChainBrand brand) { /** * A physical address. */ - public Builder address(@Nullable AddressJson3 address) { + public Builder address(@Nullable AddressJson1 address) { this.address = address; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/Choice.java b/packages/java/src/main/java/com/cvent/models/components/Choice.java index c2679c0cc..79b78f1a0 100644 --- a/packages/java/src/main/java/com/cvent/models/components/Choice.java +++ b/packages/java/src/main/java/com/cvent/models/components/Choice.java @@ -16,25 +16,33 @@ /** * Choice * - *

A schema representing a choice object + *

A question choice. */ public class Choice { /** - * Unique identifier for the choice + * Text field ID. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("id") private String id; /** - * Text value of the field + * Text value of the field. Displays to users in the UI. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("text") private String text; /** - * Label of choice + * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of + * the question in reports. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("shortText") + private String shortText; + + /** + * Label of choice. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("label") @@ -44,32 +52,42 @@ public class Choice { public Choice( @JsonProperty("id") @Nullable String id, @JsonProperty("text") @Nullable String text, + @JsonProperty("shortText") @Nullable String shortText, @JsonProperty("label") @Nullable String label) { this.id = id; this.text = text; + this.shortText = shortText; this.label = label; } public Choice() { - this(null, null, null); + this(null, null, null, null); } /** - * Unique identifier for the choice + * Text field ID. */ public Optional id() { return Optional.ofNullable(this.id); } /** - * Text value of the field + * Text value of the field. Displays to users in the UI. */ public Optional text() { return Optional.ofNullable(this.text); } /** - * Label of choice + * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of + * the question in reports. + */ + public Optional shortText() { + return Optional.ofNullable(this.shortText); + } + + /** + * Label of choice. */ public Optional label() { return Optional.ofNullable(this.label); @@ -80,7 +98,7 @@ public static Builder builder() { } /** - * Unique identifier for the choice + * Text field ID. */ public Choice withId(@Nullable String id) { this.id = id; @@ -88,7 +106,7 @@ public Choice withId(@Nullable String id) { } /** - * Text value of the field + * Text value of the field. Displays to users in the UI. */ public Choice withText(@Nullable String text) { this.text = text; @@ -96,7 +114,16 @@ public Choice withText(@Nullable String text) { } /** - * Label of choice + * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of + * the question in reports. + */ + public Choice withShortText(@Nullable String shortText) { + this.shortText = shortText; + return this; + } + + /** + * Label of choice. */ public Choice withLabel(@Nullable String label) { this.label = label; @@ -114,17 +141,18 @@ public boolean equals(java.lang.Object o) { Choice other = (Choice) o; return Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.text, other.text) + && Utils.enhancedDeepEquals(this.shortText, other.shortText) && Utils.enhancedDeepEquals(this.label, other.label); } @Override public int hashCode() { - return Utils.enhancedHash(id, text, label); + return Utils.enhancedHash(id, text, shortText, label); } @Override public String toString() { - return Utils.toString(Choice.class, "id", id, "text", text, "label", label); + return Utils.toString(Choice.class, "id", id, "text", text, "shortText", shortText, "label", label); } @SuppressWarnings("UnusedReturnValue") @@ -134,6 +162,8 @@ public static final class Builder { private String text; + private String shortText; + private String label; private Builder() { @@ -141,7 +171,7 @@ private Builder() { } /** - * Unique identifier for the choice + * Text field ID. */ public Builder id(@Nullable String id) { this.id = id; @@ -149,7 +179,7 @@ public Builder id(@Nullable String id) { } /** - * Text value of the field + * Text value of the field. Displays to users in the UI. */ public Builder text(@Nullable String text) { this.text = text; @@ -157,7 +187,16 @@ public Builder text(@Nullable String text) { } /** - * Label of choice + * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of + * the question in reports. + */ + public Builder shortText(@Nullable String shortText) { + this.shortText = shortText; + return this; + } + + /** + * Label of choice. */ public Builder label(@Nullable String label) { this.label = label; @@ -165,7 +204,7 @@ public Builder label(@Nullable String label) { } public Choice build() { - return new Choice(id, text, label); + return new Choice(id, text, shortText, label); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/Choice1.java b/packages/java/src/main/java/com/cvent/models/components/Choice1.java new file mode 100644 index 000000000..47efde3dd --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Choice1.java @@ -0,0 +1,171 @@ +/* + * 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; + +/** + * Choice1 + * + *

A schema representing a choice object + */ +public class Choice1 { + /** + * Unique identifier for the choice + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * Text value of the field + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("text") + private String text; + + /** + * Label of choice + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("label") + private String label; + + @JsonCreator + public Choice1( + @JsonProperty("id") @Nullable String id, + @JsonProperty("text") @Nullable String text, + @JsonProperty("label") @Nullable String label) { + this.id = id; + this.text = text; + this.label = label; + } + + public Choice1() { + this(null, null, null); + } + + /** + * Unique identifier for the choice + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Text value of the field + */ + public Optional text() { + return Optional.ofNullable(this.text); + } + + /** + * Label of choice + */ + public Optional label() { + return Optional.ofNullable(this.label); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique identifier for the choice + */ + public Choice1 withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Text value of the field + */ + public Choice1 withText(@Nullable String text) { + this.text = text; + return this; + } + + /** + * Label of choice + */ + public Choice1 withLabel(@Nullable String label) { + this.label = label; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Choice1 other = (Choice1) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.text, other.text) + && Utils.enhancedDeepEquals(this.label, other.label); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, text, label); + } + + @Override + public String toString() { + return Utils.toString(Choice1.class, "id", id, "text", text, "label", label); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String text; + + private String label; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique identifier for the choice + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Text value of the field + */ + public Builder text(@Nullable String text) { + this.text = text; + return this; + } + + /** + * Label of choice + */ + public Builder label(@Nullable String label) { + this.label = label; + return this; + } + + public Choice1 build() { + return new Choice1(id, text, label); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ChoiceJson.java b/packages/java/src/main/java/com/cvent/models/components/ChoiceJson.java deleted file mode 100644 index abc42f3e0..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ChoiceJson.java +++ /dev/null @@ -1,210 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ChoiceJson - * - *

A question choice. - */ -public class ChoiceJson { - /** - * Text field ID. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * Text value of the field. Displays to users in the UI. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("text") - private String text; - - /** - * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of - * the question in reports. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("shortText") - private String shortText; - - /** - * Label of choice. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("label") - private String label; - - @JsonCreator - public ChoiceJson( - @JsonProperty("id") @Nullable String id, - @JsonProperty("text") @Nullable String text, - @JsonProperty("shortText") @Nullable String shortText, - @JsonProperty("label") @Nullable String label) { - this.id = id; - this.text = text; - this.shortText = shortText; - this.label = label; - } - - public ChoiceJson() { - this(null, null, null, null); - } - - /** - * Text field ID. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * Text value of the field. Displays to users in the UI. - */ - public Optional text() { - return Optional.ofNullable(this.text); - } - - /** - * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of - * the question in reports. - */ - public Optional shortText() { - return Optional.ofNullable(this.shortText); - } - - /** - * Label of choice. - */ - public Optional label() { - return Optional.ofNullable(this.label); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Text field ID. - */ - public ChoiceJson withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * Text value of the field. Displays to users in the UI. - */ - public ChoiceJson withText(@Nullable String text) { - this.text = text; - return this; - } - - /** - * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of - * the question in reports. - */ - public ChoiceJson withShortText(@Nullable String shortText) { - this.shortText = shortText; - return this; - } - - /** - * Label of choice. - */ - public ChoiceJson withLabel(@Nullable String label) { - this.label = label; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ChoiceJson other = (ChoiceJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.text, other.text) - && Utils.enhancedDeepEquals(this.shortText, other.shortText) - && Utils.enhancedDeepEquals(this.label, other.label); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, text, shortText, label); - } - - @Override - public String toString() { - return Utils.toString(ChoiceJson.class, "id", id, "text", text, "shortText", shortText, "label", label); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String text; - - private String shortText; - - private String label; - - private Builder() { - // force use of static builder() method - } - - /** - * Text field ID. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * Text value of the field. Displays to users in the UI. - */ - public Builder text(@Nullable String text) { - this.text = text; - return this; - } - - /** - * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of - * the question in reports. - */ - public Builder shortText(@Nullable String shortText) { - this.shortText = shortText; - return this; - } - - /** - * Label of choice. - */ - public Builder label(@Nullable String label) { - this.label = label; - return this; - } - - public ChoiceJson build() { - return new ChoiceJson(id, text, shortText, label); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ChoiceJson1.java b/packages/java/src/main/java/com/cvent/models/components/ChoiceJson1.java new file mode 100644 index 000000000..4226a9a23 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ChoiceJson1.java @@ -0,0 +1,206 @@ +/* + * 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; + +/** + * ChoiceJson1 + * + *

A survey choice. + */ +public class ChoiceJson1 { + /** + * Text field ID. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * text Value of the Field + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("text") + private String text; + + /** + * Reporting value of the Category, Its like a custom abbreviation + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("shortText") + private String shortText; + + /** + * Label of choice + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("label") + private String label; + + @JsonCreator + public ChoiceJson1( + @JsonProperty("id") @Nullable String id, + @JsonProperty("text") @Nullable String text, + @JsonProperty("shortText") @Nullable String shortText, + @JsonProperty("label") @Nullable String label) { + this.id = id; + this.text = text; + this.shortText = shortText; + this.label = label; + } + + public ChoiceJson1() { + this(null, null, null, null); + } + + /** + * Text field ID. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * text Value of the Field + */ + public Optional text() { + return Optional.ofNullable(this.text); + } + + /** + * Reporting value of the Category, Its like a custom abbreviation + */ + public Optional shortText() { + return Optional.ofNullable(this.shortText); + } + + /** + * Label of choice + */ + public Optional label() { + return Optional.ofNullable(this.label); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Text field ID. + */ + public ChoiceJson1 withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * text Value of the Field + */ + public ChoiceJson1 withText(@Nullable String text) { + this.text = text; + return this; + } + + /** + * Reporting value of the Category, Its like a custom abbreviation + */ + public ChoiceJson1 withShortText(@Nullable String shortText) { + this.shortText = shortText; + return this; + } + + /** + * Label of choice + */ + public ChoiceJson1 withLabel(@Nullable String label) { + this.label = label; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ChoiceJson1 other = (ChoiceJson1) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.text, other.text) + && Utils.enhancedDeepEquals(this.shortText, other.shortText) + && Utils.enhancedDeepEquals(this.label, other.label); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, text, shortText, label); + } + + @Override + public String toString() { + return Utils.toString(ChoiceJson1.class, "id", id, "text", text, "shortText", shortText, "label", label); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String text; + + private String shortText; + + private String label; + + private Builder() { + // force use of static builder() method + } + + /** + * Text field ID. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * text Value of the Field + */ + public Builder text(@Nullable String text) { + this.text = text; + return this; + } + + /** + * Reporting value of the Category, Its like a custom abbreviation + */ + public Builder shortText(@Nullable String shortText) { + this.shortText = shortText; + return this; + } + + /** + * Label of choice + */ + public Builder label(@Nullable String label) { + this.label = label; + return this; + } + + public ChoiceJson1 build() { + return new ChoiceJson1(id, text, shortText, label); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ChoiceJson2.java b/packages/java/src/main/java/com/cvent/models/components/ChoiceJson2.java index 5d025ebe7..bf1d87352 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ChoiceJson2.java +++ b/packages/java/src/main/java/com/cvent/models/components/ChoiceJson2.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; @@ -16,79 +17,48 @@ /** * ChoiceJson2 * - *

A survey choice. + *

This is used to denote the choice of custom field. */ public class ChoiceJson2 { /** - * Text field ID. + * The ID of the custom field choice. If you supply the choice's existing ID in a PUT call, the choice + * keeps its current ID and the choice text is updated. If this `id` field is left blank in a PUT call, + * this choice text will be replaced with the text supplied, and a new choice ID is created. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("id") private String id; /** - * text Value of the Field + * The text for the custom field choice. */ - @JsonInclude(Include.NON_ABSENT) @JsonProperty("text") private String text; - /** - * Reporting value of the Category, Its like a custom abbreviation - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("shortText") - private String shortText; - - /** - * Label of choice - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("label") - private String label; - @JsonCreator - public ChoiceJson2( - @JsonProperty("id") @Nullable String id, - @JsonProperty("text") @Nullable String text, - @JsonProperty("shortText") @Nullable String shortText, - @JsonProperty("label") @Nullable String label) { + public ChoiceJson2(@JsonProperty("id") @Nullable String id, @JsonProperty("text") @Nonnull String text) { this.id = id; - this.text = text; - this.shortText = shortText; - this.label = label; + this.text = Optional.ofNullable(text).orElseThrow(() -> new IllegalArgumentException("text cannot be null")); } - public ChoiceJson2() { - this(null, null, null, null); + public ChoiceJson2(@Nonnull String text) { + this(null, text); } /** - * Text field ID. + * The ID of the custom field choice. If you supply the choice's existing ID in a PUT call, the choice + * keeps its current ID and the choice text is updated. If this `id` field is left blank in a PUT call, + * this choice text will be replaced with the text supplied, and a new choice ID is created. */ public Optional id() { return Optional.ofNullable(this.id); } /** - * text Value of the Field - */ - public Optional text() { - return Optional.ofNullable(this.text); - } - - /** - * Reporting value of the Category, Its like a custom abbreviation - */ - public Optional shortText() { - return Optional.ofNullable(this.shortText); - } - - /** - * Label of choice + * The text for the custom field choice. */ - public Optional label() { - return Optional.ofNullable(this.label); + public String text() { + return this.text; } public static Builder builder() { @@ -96,7 +66,9 @@ public static Builder builder() { } /** - * Text field ID. + * The ID of the custom field choice. If you supply the choice's existing ID in a PUT call, the choice + * keeps its current ID and the choice text is updated. If this `id` field is left blank in a PUT call, + * this choice text will be replaced with the text supplied, and a new choice ID is created. */ public ChoiceJson2 withId(@Nullable String id) { this.id = id; @@ -104,26 +76,10 @@ public ChoiceJson2 withId(@Nullable String id) { } /** - * text Value of the Field + * The text for the custom field choice. */ - public ChoiceJson2 withText(@Nullable String text) { - this.text = text; - return this; - } - - /** - * Reporting value of the Category, Its like a custom abbreviation - */ - public ChoiceJson2 withShortText(@Nullable String shortText) { - this.shortText = shortText; - return this; - } - - /** - * Label of choice - */ - public ChoiceJson2 withLabel(@Nullable String label) { - this.label = label; + public ChoiceJson2 withText(@Nonnull String text) { + this.text = Utils.checkNotNull(text, "text"); return this; } @@ -136,20 +92,17 @@ public boolean equals(java.lang.Object o) { return false; } ChoiceJson2 other = (ChoiceJson2) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.text, other.text) - && Utils.enhancedDeepEquals(this.shortText, other.shortText) - && Utils.enhancedDeepEquals(this.label, other.label); + return Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.text, other.text); } @Override public int hashCode() { - return Utils.enhancedHash(id, text, shortText, label); + return Utils.enhancedHash(id, text); } @Override public String toString() { - return Utils.toString(ChoiceJson2.class, "id", id, "text", text, "shortText", shortText, "label", label); + return Utils.toString(ChoiceJson2.class, "id", id, "text", text); } @SuppressWarnings("UnusedReturnValue") @@ -159,16 +112,14 @@ public static final class Builder { private String text; - private String shortText; - - private String label; - private Builder() { // force use of static builder() method } /** - * Text field ID. + * The ID of the custom field choice. If you supply the choice's existing ID in a PUT call, the choice + * keeps its current ID and the choice text is updated. If this `id` field is left blank in a PUT call, + * this choice text will be replaced with the text supplied, and a new choice ID is created. */ public Builder id(@Nullable String id) { this.id = id; @@ -176,31 +127,15 @@ public Builder id(@Nullable String id) { } /** - * text Value of the Field - */ - public Builder text(@Nullable String text) { - this.text = text; - return this; - } - - /** - * Reporting value of the Category, Its like a custom abbreviation - */ - public Builder shortText(@Nullable String shortText) { - this.shortText = shortText; - return this; - } - - /** - * Label of choice + * The text for the custom field choice. */ - public Builder label(@Nullable String label) { - this.label = label; + public Builder text(@Nonnull String text) { + this.text = Utils.checkNotNull(text, "text"); return this; } public ChoiceJson2 build() { - return new ChoiceJson2(id, text, shortText, label); + return new ChoiceJson2(id, text); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/ChoiceJson2Input.java b/packages/java/src/main/java/com/cvent/models/components/ChoiceJson2Input.java new file mode 100644 index 000000000..3444a2b92 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ChoiceJson2Input.java @@ -0,0 +1,93 @@ +/* + * 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; + +/** + * ChoiceJson2Input + * + *

This is used to denote the choice of custom field. + */ +public class ChoiceJson2Input { + /** + * The text for the custom field choice. + */ + @JsonProperty("text") + private String text; + + @JsonCreator + public ChoiceJson2Input(@JsonProperty("text") @Nonnull String text) { + this.text = Optional.ofNullable(text).orElseThrow(() -> new IllegalArgumentException("text cannot be null")); + } + + /** + * The text for the custom field choice. + */ + public String text() { + return this.text; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The text for the custom field choice. + */ + public ChoiceJson2Input withText(@Nonnull String text) { + this.text = Utils.checkNotNull(text, "text"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ChoiceJson2Input other = (ChoiceJson2Input) o; + return Utils.enhancedDeepEquals(this.text, other.text); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(text); + } + + @Override + public String toString() { + return Utils.toString(ChoiceJson2Input.class, "text", text); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String text; + + private Builder() { + // force use of static builder() method + } + + /** + * The text for the custom field choice. + */ + public Builder text(@Nonnull String text) { + this.text = Utils.checkNotNull(text, "text"); + return this; + } + + public ChoiceJson2Input build() { + return new ChoiceJson2Input(text); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ChoiceJson3.java b/packages/java/src/main/java/com/cvent/models/components/ChoiceJson3.java deleted file mode 100644 index 3894fad51..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ChoiceJson3.java +++ /dev/null @@ -1,141 +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.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ChoiceJson3 - * - *

This is used to denote the choice of custom field. - */ -public class ChoiceJson3 { - /** - * The ID of the custom field choice. If you supply the choice's existing ID in a PUT call, the choice - * keeps its current ID and the choice text is updated. If this `id` field is left blank in a PUT call, - * this choice text will be replaced with the text supplied, and a new choice ID is created. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * The text for the custom field choice. - */ - @JsonProperty("text") - private String text; - - @JsonCreator - public ChoiceJson3(@JsonProperty("id") @Nullable String id, @JsonProperty("text") @Nonnull String text) { - this.id = id; - this.text = Optional.ofNullable(text).orElseThrow(() -> new IllegalArgumentException("text cannot be null")); - } - - public ChoiceJson3(@Nonnull String text) { - this(null, text); - } - - /** - * The ID of the custom field choice. If you supply the choice's existing ID in a PUT call, the choice - * keeps its current ID and the choice text is updated. If this `id` field is left blank in a PUT call, - * this choice text will be replaced with the text supplied, and a new choice ID is created. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * The text for the custom field choice. - */ - public String text() { - return this.text; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The ID of the custom field choice. If you supply the choice's existing ID in a PUT call, the choice - * keeps its current ID and the choice text is updated. If this `id` field is left blank in a PUT call, - * this choice text will be replaced with the text supplied, and a new choice ID is created. - */ - public ChoiceJson3 withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The text for the custom field choice. - */ - public ChoiceJson3 withText(@Nonnull String text) { - this.text = Utils.checkNotNull(text, "text"); - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ChoiceJson3 other = (ChoiceJson3) o; - return Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.text, other.text); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, text); - } - - @Override - public String toString() { - return Utils.toString(ChoiceJson3.class, "id", id, "text", text); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String text; - - private Builder() { - // force use of static builder() method - } - - /** - * The ID of the custom field choice. If you supply the choice's existing ID in a PUT call, the choice - * keeps its current ID and the choice text is updated. If this `id` field is left blank in a PUT call, - * this choice text will be replaced with the text supplied, and a new choice ID is created. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The text for the custom field choice. - */ - public Builder text(@Nonnull String text) { - this.text = Utils.checkNotNull(text, "text"); - return this; - } - - public ChoiceJson3 build() { - return new ChoiceJson3(id, text); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ChoiceJson3Input.java b/packages/java/src/main/java/com/cvent/models/components/ChoiceJson3Input.java deleted file mode 100644 index b549b52e6..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ChoiceJson3Input.java +++ /dev/null @@ -1,93 +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.Optional; - -/** - * ChoiceJson3Input - * - *

This is used to denote the choice of custom field. - */ -public class ChoiceJson3Input { - /** - * The text for the custom field choice. - */ - @JsonProperty("text") - private String text; - - @JsonCreator - public ChoiceJson3Input(@JsonProperty("text") @Nonnull String text) { - this.text = Optional.ofNullable(text).orElseThrow(() -> new IllegalArgumentException("text cannot be null")); - } - - /** - * The text for the custom field choice. - */ - public String text() { - return this.text; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The text for the custom field choice. - */ - public ChoiceJson3Input withText(@Nonnull String text) { - this.text = Utils.checkNotNull(text, "text"); - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ChoiceJson3Input other = (ChoiceJson3Input) o; - return Utils.enhancedDeepEquals(this.text, other.text); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(text); - } - - @Override - public String toString() { - return Utils.toString(ChoiceJson3Input.class, "text", text); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String text; - - private Builder() { - // force use of static builder() method - } - - /** - * The text for the custom field choice. - */ - public Builder text(@Nonnull String text) { - this.text = Utils.checkNotNull(text, "text"); - return this; - } - - public ChoiceJson3Input build() { - return new ChoiceJson3Input(text); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ChoiceSortOrder.java b/packages/java/src/main/java/com/cvent/models/components/ChoiceSortOrder.java new file mode 100644 index 000000000..50944813f --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ChoiceSortOrder.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; + +/** + * ChoiceSortOrder + * + *

The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: + * Sorted in the order they were added, oldest choices first. + * + *

`Random`: Random sort. + */ +public enum ChoiceSortOrder { + A_TO_Z("AToZ"), + AS_ENTERED("AsEntered"), + RANDOM("Random"); + + @JsonValue + private final String value; + + ChoiceSortOrder(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (ChoiceSortOrder o : ChoiceSortOrder.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/ChoiceSortOrderJson.java b/packages/java/src/main/java/com/cvent/models/components/ChoiceSortOrderJson.java deleted file mode 100644 index 072e9ee6d..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ChoiceSortOrderJson.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * 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; - -/** - * ChoiceSortOrderJson - * - *

The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: - * Sorted in the order they were added, oldest choices first. - * - *

`Random`: Random sort. - */ -public enum ChoiceSortOrderJson { - A_TO_Z("AToZ"), - AS_ENTERED("AsEntered"), - RANDOM("Random"); - - @JsonValue - private final String value; - - ChoiceSortOrderJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (ChoiceSortOrderJson o : ChoiceSortOrderJson.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/Choices.java b/packages/java/src/main/java/com/cvent/models/components/Choices.java index 5eee8eb63..62bef1f41 100644 --- a/packages/java/src/main/java/com/cvent/models/components/Choices.java +++ b/packages/java/src/main/java/com/cvent/models/components/Choices.java @@ -25,7 +25,7 @@ public class Choices { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("choices") - private List choices; + private List choices; /** * Display type indicating how to display the choices on UI. For 'Choice - Single Answer' custom field @@ -38,7 +38,7 @@ public class Choices { @JsonCreator public Choices( - @JsonProperty("choices") @Nullable List choices, + @JsonProperty("choices") @Nullable List choices, @JsonProperty("displayType") @Nullable ChoicesDisplayTypeJson displayType) { this.choices = choices; this.displayType = displayType; @@ -51,7 +51,7 @@ public Choices() { /** * Choices of custom fields. */ - public Optional> choices() { + public Optional> choices() { return Optional.ofNullable(this.choices); } @@ -71,7 +71,7 @@ public static Builder builder() { /** * Choices of custom fields. */ - public Choices withChoices(@Nullable List choices) { + public Choices withChoices(@Nullable List choices) { this.choices = choices; return this; } @@ -112,7 +112,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private List choices; + private List choices; private ChoicesDisplayTypeJson displayType; @@ -123,7 +123,7 @@ private Builder() { /** * Choices of custom fields. */ - public Builder choices(@Nullable List choices) { + public Builder choices(@Nullable List choices) { this.choices = choices; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/CommentType.java b/packages/java/src/main/java/com/cvent/models/components/CommentType.java new file mode 100644 index 000000000..f08f36215 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/CommentType.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; + +/** + * CommentType + * + *

Bid comment type + */ +public enum CommentType { + PROMOTIONS("promotions"), + SPECIAL_OFFERS("special_offers"), + CHILD_POLICIES("child_policies"), + OTHER_INFORMATION("other_information"), + INTERNAL_COMMENTS("internal_comments"); + + @JsonValue + private final String value; + + CommentType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (CommentType o : CommentType.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/CommentTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/CommentTypeJson.java deleted file mode 100644 index 4f1639863..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/CommentTypeJson.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * 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; - -/** - * CommentTypeJson - * - *

Bid comment type - */ -public enum CommentTypeJson { - PROMOTIONS("promotions"), - SPECIAL_OFFERS("special_offers"), - CHILD_POLICIES("child_policies"), - OTHER_INFORMATION("other_information"), - INTERNAL_COMMENTS("internal_comments"); - - @JsonValue - private final String value; - - CommentTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (CommentTypeJson o : CommentTypeJson.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/Compliance.java b/packages/java/src/main/java/com/cvent/models/components/Compliance.java index 880dddf14..8fc604075 100644 --- a/packages/java/src/main/java/com/cvent/models/components/Compliance.java +++ b/packages/java/src/main/java/com/cvent/models/components/Compliance.java @@ -32,28 +32,28 @@ public class Compliance { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("complianceScope") - private ComplianceComplianceScope complianceScope; + private ComplianceScope complianceScope; /** * Action to take for a compliance request. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("action") - private ComplianceAction action; + private Action action; /** * Denotes how the compliance request was created. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("createdBy") - private ComplianceCreatedBy createdBy; + private CreatedBy createdBy; @JsonCreator public Compliance( @JsonProperty("creationTime") @Nullable OffsetDateTime creationTime, - @JsonProperty("complianceScope") @Nullable ComplianceComplianceScope complianceScope, - @JsonProperty("action") @Nullable ComplianceAction action, - @JsonProperty("createdBy") @Nullable ComplianceCreatedBy createdBy) { + @JsonProperty("complianceScope") @Nullable ComplianceScope complianceScope, + @JsonProperty("action") @Nullable Action action, + @JsonProperty("createdBy") @Nullable CreatedBy createdBy) { this.creationTime = creationTime; this.complianceScope = complianceScope; this.action = action; @@ -74,21 +74,21 @@ public Optional creationTime() { /** * Scope of privacy compliance. */ - public Optional complianceScope() { + public Optional complianceScope() { return Optional.ofNullable(this.complianceScope); } /** * Action to take for a compliance request. */ - public Optional action() { + public Optional action() { return Optional.ofNullable(this.action); } /** * Denotes how the compliance request was created. */ - public Optional createdBy() { + public Optional createdBy() { return Optional.ofNullable(this.createdBy); } @@ -107,7 +107,7 @@ public Compliance withCreationTime(@Nullable OffsetDateTime creationTime) { /** * Scope of privacy compliance. */ - public Compliance withComplianceScope(@Nullable ComplianceComplianceScope complianceScope) { + public Compliance withComplianceScope(@Nullable ComplianceScope complianceScope) { this.complianceScope = complianceScope; return this; } @@ -115,7 +115,7 @@ public Compliance withComplianceScope(@Nullable ComplianceComplianceScope compli /** * Action to take for a compliance request. */ - public Compliance withAction(@Nullable ComplianceAction action) { + public Compliance withAction(@Nullable Action action) { this.action = action; return this; } @@ -123,7 +123,7 @@ public Compliance withAction(@Nullable ComplianceAction action) { /** * Denotes how the compliance request was created. */ - public Compliance withCreatedBy(@Nullable ComplianceCreatedBy createdBy) { + public Compliance withCreatedBy(@Nullable CreatedBy createdBy) { this.createdBy = createdBy; return this; } @@ -167,11 +167,11 @@ public static final class Builder { private OffsetDateTime creationTime; - private ComplianceComplianceScope complianceScope; + private ComplianceScope complianceScope; - private ComplianceAction action; + private Action action; - private ComplianceCreatedBy createdBy; + private CreatedBy createdBy; private Builder() { // force use of static builder() method @@ -188,7 +188,7 @@ public Builder creationTime(@Nullable OffsetDateTime creationTime) { /** * Scope of privacy compliance. */ - public Builder complianceScope(@Nullable ComplianceComplianceScope complianceScope) { + public Builder complianceScope(@Nullable ComplianceScope complianceScope) { this.complianceScope = complianceScope; return this; } @@ -196,7 +196,7 @@ public Builder complianceScope(@Nullable ComplianceComplianceScope complianceSco /** * Action to take for a compliance request. */ - public Builder action(@Nullable ComplianceAction action) { + public Builder action(@Nullable Action action) { this.action = action; return this; } @@ -204,7 +204,7 @@ public Builder action(@Nullable ComplianceAction action) { /** * Denotes how the compliance request was created. */ - public Builder createdBy(@Nullable ComplianceCreatedBy createdBy) { + public Builder createdBy(@Nullable CreatedBy createdBy) { this.createdBy = createdBy; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ComplianceAction.java b/packages/java/src/main/java/com/cvent/models/components/ComplianceAction.java deleted file mode 100644 index bd3d5a6f3..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ComplianceAction.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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; - -/** - * ComplianceAction - * - *

Action to take for a compliance request. - */ -public enum ComplianceAction { - DO_NOT_SELL("DO_NOT_SELL"), - OK_TO_SELL("OK_TO_SELL"); - - @JsonValue - private final String value; - - ComplianceAction(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (ComplianceAction o : ComplianceAction.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/ComplianceComplianceScope.java b/packages/java/src/main/java/com/cvent/models/components/ComplianceComplianceScope.java deleted file mode 100644 index 88e04b3be..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ComplianceComplianceScope.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * 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; - -/** - * ComplianceComplianceScope - * - *

Scope of privacy compliance. - */ -public enum ComplianceComplianceScope { - CCPA("CCPA"); - - @JsonValue - private final String value; - - ComplianceComplianceScope(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (ComplianceComplianceScope o : ComplianceComplianceScope.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/ComplianceCreatedBy.java b/packages/java/src/main/java/com/cvent/models/components/ComplianceCreatedBy.java deleted file mode 100644 index 6ae73743f..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ComplianceCreatedBy.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * 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; - -/** - * ComplianceCreatedBy - * - *

Denotes how the compliance request was created. - */ -public enum ComplianceCreatedBy { - ATTENDEE("ATTENDEE"), - PLANNER("PLANNER"), - IMPORT("IMPORT"), - SOAP_API("SOAP_API"), - REST_API("REST_API"), - MARKETO("MARKETO"), - SALEFORCE("SALEFORCE"), - VIDEO_CENTER_MEMBER("VIDEO_CENTER_MEMBER"), - RESPONDENT("RESPONDENT"), - NOT_SET("NOT_SET"); - - @JsonValue - private final String value; - - ComplianceCreatedBy(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (ComplianceCreatedBy o : ComplianceCreatedBy.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/ComplianceJson.java b/packages/java/src/main/java/com/cvent/models/components/ComplianceJson.java deleted file mode 100644 index 97c284b2b..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ComplianceJson.java +++ /dev/null @@ -1,216 +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.Override; -import java.lang.String; -import java.time.OffsetDateTime; -import java.util.Optional; - -/** - * ComplianceJson - * - *

Privacy compliance fields for a contact. - */ -public class ComplianceJson { - /** - * Date-time (in GMT) when privacy compliance details were created for the contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("creationTime") - private OffsetDateTime creationTime; - - /** - * Scope of privacy compliance. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("complianceScope") - private ComplianceJsonComplianceScope complianceScope; - - /** - * Action to take for a compliance request. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("action") - private ComplianceJsonAction action; - - /** - * Denotes how the compliance request was created. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("createdBy") - private ComplianceJsonCreatedBy createdBy; - - @JsonCreator - public ComplianceJson( - @JsonProperty("creationTime") @Nullable OffsetDateTime creationTime, - @JsonProperty("complianceScope") @Nullable ComplianceJsonComplianceScope complianceScope, - @JsonProperty("action") @Nullable ComplianceJsonAction action, - @JsonProperty("createdBy") @Nullable ComplianceJsonCreatedBy createdBy) { - this.creationTime = creationTime; - this.complianceScope = complianceScope; - this.action = action; - this.createdBy = createdBy; - } - - public ComplianceJson() { - this(null, null, null, null); - } - - /** - * Date-time (in GMT) when privacy compliance details were created for the contact. - */ - public Optional creationTime() { - return Optional.ofNullable(this.creationTime); - } - - /** - * Scope of privacy compliance. - */ - public Optional complianceScope() { - return Optional.ofNullable(this.complianceScope); - } - - /** - * Action to take for a compliance request. - */ - public Optional action() { - return Optional.ofNullable(this.action); - } - - /** - * Denotes how the compliance request was created. - */ - public Optional createdBy() { - return Optional.ofNullable(this.createdBy); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Date-time (in GMT) when privacy compliance details were created for the contact. - */ - public ComplianceJson withCreationTime(@Nullable OffsetDateTime creationTime) { - this.creationTime = creationTime; - return this; - } - - /** - * Scope of privacy compliance. - */ - public ComplianceJson withComplianceScope(@Nullable ComplianceJsonComplianceScope complianceScope) { - this.complianceScope = complianceScope; - return this; - } - - /** - * Action to take for a compliance request. - */ - public ComplianceJson withAction(@Nullable ComplianceJsonAction action) { - this.action = action; - return this; - } - - /** - * Denotes how the compliance request was created. - */ - public ComplianceJson withCreatedBy(@Nullable ComplianceJsonCreatedBy createdBy) { - this.createdBy = createdBy; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ComplianceJson other = (ComplianceJson) o; - return Utils.enhancedDeepEquals(this.creationTime, other.creationTime) - && Utils.enhancedDeepEquals(this.complianceScope, other.complianceScope) - && Utils.enhancedDeepEquals(this.action, other.action) - && Utils.enhancedDeepEquals(this.createdBy, other.createdBy); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(creationTime, complianceScope, action, createdBy); - } - - @Override - public String toString() { - return Utils.toString( - ComplianceJson.class, - "creationTime", - creationTime, - "complianceScope", - complianceScope, - "action", - action, - "createdBy", - createdBy); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private OffsetDateTime creationTime; - - private ComplianceJsonComplianceScope complianceScope; - - private ComplianceJsonAction action; - - private ComplianceJsonCreatedBy createdBy; - - private Builder() { - // force use of static builder() method - } - - /** - * Date-time (in GMT) when privacy compliance details were created for the contact. - */ - public Builder creationTime(@Nullable OffsetDateTime creationTime) { - this.creationTime = creationTime; - return this; - } - - /** - * Scope of privacy compliance. - */ - public Builder complianceScope(@Nullable ComplianceJsonComplianceScope complianceScope) { - this.complianceScope = complianceScope; - return this; - } - - /** - * Action to take for a compliance request. - */ - public Builder action(@Nullable ComplianceJsonAction action) { - this.action = action; - return this; - } - - /** - * Denotes how the compliance request was created. - */ - public Builder createdBy(@Nullable ComplianceJsonCreatedBy createdBy) { - this.createdBy = createdBy; - return this; - } - - public ComplianceJson build() { - return new ComplianceJson(creationTime, complianceScope, action, createdBy); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ComplianceJsonAction.java b/packages/java/src/main/java/com/cvent/models/components/ComplianceJsonAction.java deleted file mode 100644 index 6f7f2dacc..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ComplianceJsonAction.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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; - -/** - * ComplianceJsonAction - * - *

Action to take for a compliance request. - */ -public enum ComplianceJsonAction { - DO_NOT_SELL("DO_NOT_SELL"), - OK_TO_SELL("OK_TO_SELL"); - - @JsonValue - private final String value; - - ComplianceJsonAction(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (ComplianceJsonAction o : ComplianceJsonAction.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/ComplianceJsonComplianceScope.java b/packages/java/src/main/java/com/cvent/models/components/ComplianceJsonComplianceScope.java deleted file mode 100644 index dedfa4cce..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ComplianceJsonComplianceScope.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * 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; - -/** - * ComplianceJsonComplianceScope - * - *

Scope of privacy compliance. - */ -public enum ComplianceJsonComplianceScope { - CCPA("CCPA"); - - @JsonValue - private final String value; - - ComplianceJsonComplianceScope(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (ComplianceJsonComplianceScope o : ComplianceJsonComplianceScope.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/ComplianceJsonCreatedBy.java b/packages/java/src/main/java/com/cvent/models/components/ComplianceJsonCreatedBy.java deleted file mode 100644 index 447c32c8c..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ComplianceJsonCreatedBy.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * 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; - -/** - * ComplianceJsonCreatedBy - * - *

Denotes how the compliance request was created. - */ -public enum ComplianceJsonCreatedBy { - ATTENDEE("ATTENDEE"), - PLANNER("PLANNER"), - IMPORT("IMPORT"), - SOAP_API("SOAP_API"), - REST_API("REST_API"), - MARKETO("MARKETO"), - SALEFORCE("SALEFORCE"), - VIDEO_CENTER_MEMBER("VIDEO_CENTER_MEMBER"), - RESPONDENT("RESPONDENT"), - NOT_SET("NOT_SET"); - - @JsonValue - private final String value; - - ComplianceJsonCreatedBy(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (ComplianceJsonCreatedBy o : ComplianceJsonCreatedBy.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/ComplianceScope.java b/packages/java/src/main/java/com/cvent/models/components/ComplianceScope.java new file mode 100644 index 000000000..f6fc2bd76 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ComplianceScope.java @@ -0,0 +1,38 @@ +/* + * 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; + +/** + * ComplianceScope + * + *

Scope of privacy compliance. + */ +public enum ComplianceScope { + CCPA("CCPA"); + + @JsonValue + private final String value; + + ComplianceScope(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (ComplianceScope o : ComplianceScope.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/ConflictResolution.java b/packages/java/src/main/java/com/cvent/models/components/ConflictResolution.java index 799852c11..ebcd784ce 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ConflictResolution.java +++ b/packages/java/src/main/java/com/cvent/models/components/ConflictResolution.java @@ -28,7 +28,7 @@ public class ConflictResolution { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("events") - private List events; + private List events; /** * For each survey (designated by survey id), choose a contact id whose linked respondent will be @@ -37,7 +37,7 @@ public class ConflictResolution { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("surveys") - private List surveys; + private List surveys; /** * The id of the contact to keep the relationships of in the resulting merged contact. Only one contact @@ -52,14 +52,14 @@ public class ConflictResolution { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("contactFields") - private List contactFields; + private List contactFields; @JsonCreator public ConflictResolution( - @JsonProperty("events") @Nullable List events, - @JsonProperty("surveys") @Nullable List surveys, + @JsonProperty("events") @Nullable List events, + @JsonProperty("surveys") @Nullable List surveys, @JsonProperty("relatedContacts") @Nullable String relatedContacts, - @JsonProperty("contactFields") @Nullable List contactFields) { + @JsonProperty("contactFields") @Nullable List contactFields) { this.events = events; this.surveys = surveys; this.relatedContacts = relatedContacts; @@ -75,7 +75,7 @@ public ConflictResolution() { * associated with the resulting merged contact. Use whenever at least two contacts exist as attendees * in a single event. */ - public Optional> events() { + public Optional> events() { return Optional.ofNullable(this.events); } @@ -84,7 +84,7 @@ public Optional> events() { * associated with the resulting merged contact. Use whenever at least two contacts exist as * respondents in a single survey. */ - public Optional> surveys() { + public Optional> surveys() { return Optional.ofNullable(this.surveys); } @@ -99,7 +99,7 @@ public Optional relatedContacts() { /** * Specify which contact to use values from for any contact field. */ - public Optional> contactFields() { + public Optional> contactFields() { return Optional.ofNullable(this.contactFields); } @@ -112,7 +112,7 @@ public static Builder builder() { * associated with the resulting merged contact. Use whenever at least two contacts exist as attendees * in a single event. */ - public ConflictResolution withEvents(@Nullable List events) { + public ConflictResolution withEvents(@Nullable List events) { this.events = events; return this; } @@ -122,7 +122,7 @@ public ConflictResolution withEvents(@Nullable List events) * associated with the resulting merged contact. Use whenever at least two contacts exist as * respondents in a single survey. */ - public ConflictResolution withSurveys(@Nullable List surveys) { + public ConflictResolution withSurveys(@Nullable List surveys) { this.surveys = surveys; return this; } @@ -139,7 +139,7 @@ public ConflictResolution withRelatedContacts(@Nullable String relatedContacts) /** * Specify which contact to use values from for any contact field. */ - public ConflictResolution withContactFields(@Nullable List contactFields) { + public ConflictResolution withContactFields(@Nullable List contactFields) { this.contactFields = contactFields; return this; } @@ -181,13 +181,13 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private List events; + private List events; - private List surveys; + private List surveys; private String relatedContacts; - private List contactFields; + private List contactFields; private Builder() { // force use of static builder() method @@ -198,7 +198,7 @@ private Builder() { * associated with the resulting merged contact. Use whenever at least two contacts exist as attendees * in a single event. */ - public Builder events(@Nullable List events) { + public Builder events(@Nullable List events) { this.events = events; return this; } @@ -208,7 +208,7 @@ public Builder events(@Nullable List events) { * associated with the resulting merged contact. Use whenever at least two contacts exist as * respondents in a single survey. */ - public Builder surveys(@Nullable List surveys) { + public Builder surveys(@Nullable List surveys) { this.surveys = surveys; return this; } @@ -225,7 +225,7 @@ public Builder relatedContacts(@Nullable String relatedContacts) { /** * Specify which contact to use values from for any contact field. */ - public Builder contactFields(@Nullable List contactFields) { + public Builder contactFields(@Nullable List contactFields) { this.contactFields = contactFields; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/Contact.java b/packages/java/src/main/java/com/cvent/models/components/Contact.java index a51535ac0..284193e62 100644 --- a/packages/java/src/main/java/com/cvent/models/components/Contact.java +++ b/packages/java/src/main/java/com/cvent/models/components/Contact.java @@ -101,7 +101,7 @@ public class Contact { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("gender") - private GenderJson gender; + private Gender gender; /** * The company/organization the contact belongs to. @@ -129,28 +129,28 @@ public class Contact { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("type") - private AttendeeContactTypeJson type; + private AttendeeContactType type; /** * Contact Membership information */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("membership") - private MembershipJson membership; + private ContactMembership membership; /** * The type of address. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("primaryAddressType") - private AddressTypeJson primaryAddressType; + private AddressType primaryAddressType; /** * Contact address details. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("homeAddress") - private AddressJson homeAddress; + private Address homeAddress; /** * The phone number of the contact at their place of residence. @@ -171,7 +171,7 @@ public class Contact { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("workAddress") - private AddressJson workAddress; + private Address workAddress; /** * The phone number of the contact at their place of work. @@ -214,7 +214,7 @@ public class Contact { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("compliance") - private List compliance; + private List compliance; /** * Denotes what is traditionally a title of an individual. @@ -251,7 +251,7 @@ public class Contact { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("optOut") - private OptOutJson optOut; + private ContactOptOut optOut; /** * Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for @@ -266,7 +266,7 @@ public class Contact { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("_links") - private ContactLinksJson links; + private ContactLinks links; /** * The date of birth of the contact. @@ -297,7 +297,7 @@ public class Contact { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("passport") - private PassportJson passport; + private Passport passport; /** * The social security number of the contact. @@ -380,33 +380,33 @@ public Contact( @JsonProperty("nickname") @Nullable String nickname, @JsonProperty("email") @Nullable String email, @JsonProperty("ccEmail") @Nullable String ccEmail, - @JsonProperty("gender") @Nullable GenderJson gender, + @JsonProperty("gender") @Nullable Gender gender, @JsonProperty("company") @Nullable String company, @JsonProperty("designation") @Nullable String designation, @JsonProperty("title") @Nullable String title, - @JsonProperty("type") @Nullable AttendeeContactTypeJson type, - @JsonProperty("membership") @Nullable MembershipJson membership, - @JsonProperty("primaryAddressType") @Nullable AddressTypeJson primaryAddressType, - @JsonProperty("homeAddress") @Nullable AddressJson homeAddress, + @JsonProperty("type") @Nullable AttendeeContactType type, + @JsonProperty("membership") @Nullable ContactMembership membership, + @JsonProperty("primaryAddressType") @Nullable AddressType primaryAddressType, + @JsonProperty("homeAddress") @Nullable Address homeAddress, @JsonProperty("homePhone") @Nullable String homePhone, @JsonProperty("homeFax") @Nullable String homeFax, - @JsonProperty("workAddress") @Nullable AddressJson workAddress, + @JsonProperty("workAddress") @Nullable Address workAddress, @JsonProperty("workPhone") @Nullable String workPhone, @JsonProperty("workFax") @Nullable String workFax, @JsonProperty("customFields") @Nullable List customFields, @JsonProperty("sourceId") @Nullable String sourceId, @JsonProperty("mobilePhone") @Nullable String mobilePhone, - @JsonProperty("compliance") @Nullable List compliance, + @JsonProperty("compliance") @Nullable List compliance, @JsonProperty("prefix") @Nullable String prefix, @JsonProperty("pager") @Nullable String pager, @JsonProperty("deleted") @Nullable Boolean deleted, @JsonProperty("purged") @Nullable Boolean purged, - @JsonProperty("optOut") @Nullable OptOutJson optOut, + @JsonProperty("optOut") @Nullable ContactOptOut optOut, @JsonProperty("npi") @Nullable String npi, - @JsonProperty("_links") @Nullable ContactLinksJson links, + @JsonProperty("_links") @Nullable ContactLinks links, @JsonProperty("dateOfBirth") @Nullable LocalDate dateOfBirth, @JsonProperty("passportNumber") @Nullable String passportNumber, - @JsonProperty("passport") @Nullable PassportJson passport, + @JsonProperty("passport") @Nullable Passport passport, @JsonProperty("socialSecurityNumber") @Nullable String socialSecurityNumber, @JsonProperty("nationalIdentificationNumber") @Nullable String nationalIdentificationNumber, @JsonProperty("headline") @Nullable String headline, @@ -587,7 +587,7 @@ public Optional ccEmail() { /** * The gender of the contact. */ - public Optional gender() { + public Optional gender() { return Optional.ofNullable(this.gender); } @@ -615,28 +615,28 @@ public Optional title() { /** * Contains details related to the attendee's contact type. */ - public Optional type() { + public Optional type() { return Optional.ofNullable(this.type); } /** * Contact Membership information */ - public Optional membership() { + public Optional membership() { return Optional.ofNullable(this.membership); } /** * The type of address. */ - public Optional primaryAddressType() { + public Optional primaryAddressType() { return Optional.ofNullable(this.primaryAddressType); } /** * Contact address details. */ - public Optional homeAddress() { + public Optional

homeAddress() { return Optional.ofNullable(this.homeAddress); } @@ -657,7 +657,7 @@ public Optional homeFax() { /** * Contact address details. */ - public Optional workAddress() { + public Optional
workAddress() { return Optional.ofNullable(this.workAddress); } @@ -700,7 +700,7 @@ public Optional mobilePhone() { /** * Detail related to compliance with the contact's privacy rights under various legislation. */ - public Optional> compliance() { + public Optional> compliance() { return Optional.ofNullable(this.compliance); } @@ -737,7 +737,7 @@ public Optional purged() { /** * Details of an opt-out for a Contact. */ - public Optional optOut() { + public Optional optOut() { return Optional.ofNullable(this.optOut); } @@ -752,7 +752,7 @@ public Optional npi() { /** * Collection of social media links for the contact. */ - public Optional links() { + public Optional links() { return Optional.ofNullable(this.links); } @@ -783,7 +783,7 @@ public Optional passportNumber() { /** * This entity represents a contact's passport information. */ - public Optional passport() { + public Optional passport() { return Optional.ofNullable(this.passport); } @@ -943,7 +943,7 @@ public Contact withCcEmail(@Nullable String ccEmail) { /** * The gender of the contact. */ - public Contact withGender(@Nullable GenderJson gender) { + public Contact withGender(@Nullable Gender gender) { this.gender = gender; return this; } @@ -975,7 +975,7 @@ public Contact withTitle(@Nullable String title) { /** * Contains details related to the attendee's contact type. */ - public Contact withType(@Nullable AttendeeContactTypeJson type) { + public Contact withType(@Nullable AttendeeContactType type) { this.type = type; return this; } @@ -983,7 +983,7 @@ public Contact withType(@Nullable AttendeeContactTypeJson type) { /** * Contact Membership information */ - public Contact withMembership(@Nullable MembershipJson membership) { + public Contact withMembership(@Nullable ContactMembership membership) { this.membership = membership; return this; } @@ -991,7 +991,7 @@ public Contact withMembership(@Nullable MembershipJson membership) { /** * The type of address. */ - public Contact withPrimaryAddressType(@Nullable AddressTypeJson primaryAddressType) { + public Contact withPrimaryAddressType(@Nullable AddressType primaryAddressType) { this.primaryAddressType = primaryAddressType; return this; } @@ -999,7 +999,7 @@ public Contact withPrimaryAddressType(@Nullable AddressTypeJson primaryAddressTy /** * Contact address details. */ - public Contact withHomeAddress(@Nullable AddressJson homeAddress) { + public Contact withHomeAddress(@Nullable Address homeAddress) { this.homeAddress = homeAddress; return this; } @@ -1023,7 +1023,7 @@ public Contact withHomeFax(@Nullable String homeFax) { /** * Contact address details. */ - public Contact withWorkAddress(@Nullable AddressJson workAddress) { + public Contact withWorkAddress(@Nullable Address workAddress) { this.workAddress = workAddress; return this; } @@ -1072,7 +1072,7 @@ public Contact withMobilePhone(@Nullable String mobilePhone) { /** * Detail related to compliance with the contact's privacy rights under various legislation. */ - public Contact withCompliance(@Nullable List compliance) { + public Contact withCompliance(@Nullable List compliance) { this.compliance = compliance; return this; } @@ -1114,7 +1114,7 @@ public Contact withPurged(@Nullable Boolean purged) { /** * Details of an opt-out for a Contact. */ - public Contact withOptOut(@Nullable OptOutJson optOut) { + public Contact withOptOut(@Nullable ContactOptOut optOut) { this.optOut = optOut; return this; } @@ -1131,7 +1131,7 @@ public Contact withNpi(@Nullable String npi) { /** * Collection of social media links for the contact. */ - public Contact withLinks(@Nullable ContactLinksJson links) { + public Contact withLinks(@Nullable ContactLinks links) { this.links = links; return this; } @@ -1165,7 +1165,7 @@ public Contact withPassportNumber(@Nullable String passportNumber) { /** * This entity represents a contact's passport information. */ - public Contact withPassport(@Nullable PassportJson passport) { + public Contact withPassport(@Nullable Passport passport) { this.passport = passport; return this; } @@ -1477,7 +1477,7 @@ public static final class Builder { private String ccEmail; - private GenderJson gender; + private Gender gender; private String company; @@ -1485,19 +1485,19 @@ public static final class Builder { private String title; - private AttendeeContactTypeJson type; + private AttendeeContactType type; - private MembershipJson membership; + private ContactMembership membership; - private AddressTypeJson primaryAddressType; + private AddressType primaryAddressType; - private AddressJson homeAddress; + private Address homeAddress; private String homePhone; private String homeFax; - private AddressJson workAddress; + private Address workAddress; private String workPhone; @@ -1509,7 +1509,7 @@ public static final class Builder { private String mobilePhone; - private List compliance; + private List compliance; private String prefix; @@ -1519,18 +1519,18 @@ public static final class Builder { private Boolean purged; - private OptOutJson optOut; + private ContactOptOut optOut; private String npi; - private ContactLinksJson links; + private ContactLinks links; private LocalDate dateOfBirth; @Deprecated private String passportNumber; - private PassportJson passport; + private Passport passport; private String socialSecurityNumber; @@ -1637,7 +1637,7 @@ public Builder ccEmail(@Nullable String ccEmail) { /** * The gender of the contact. */ - public Builder gender(@Nullable GenderJson gender) { + public Builder gender(@Nullable Gender gender) { this.gender = gender; return this; } @@ -1669,7 +1669,7 @@ public Builder title(@Nullable String title) { /** * Contains details related to the attendee's contact type. */ - public Builder type(@Nullable AttendeeContactTypeJson type) { + public Builder type(@Nullable AttendeeContactType type) { this.type = type; return this; } @@ -1677,7 +1677,7 @@ public Builder type(@Nullable AttendeeContactTypeJson type) { /** * Contact Membership information */ - public Builder membership(@Nullable MembershipJson membership) { + public Builder membership(@Nullable ContactMembership membership) { this.membership = membership; return this; } @@ -1685,7 +1685,7 @@ public Builder membership(@Nullable MembershipJson membership) { /** * The type of address. */ - public Builder primaryAddressType(@Nullable AddressTypeJson primaryAddressType) { + public Builder primaryAddressType(@Nullable AddressType primaryAddressType) { this.primaryAddressType = primaryAddressType; return this; } @@ -1693,7 +1693,7 @@ public Builder primaryAddressType(@Nullable AddressTypeJson primaryAddressType) /** * Contact address details. */ - public Builder homeAddress(@Nullable AddressJson homeAddress) { + public Builder homeAddress(@Nullable Address homeAddress) { this.homeAddress = homeAddress; return this; } @@ -1717,7 +1717,7 @@ public Builder homeFax(@Nullable String homeFax) { /** * Contact address details. */ - public Builder workAddress(@Nullable AddressJson workAddress) { + public Builder workAddress(@Nullable Address workAddress) { this.workAddress = workAddress; return this; } @@ -1766,7 +1766,7 @@ public Builder mobilePhone(@Nullable String mobilePhone) { /** * Detail related to compliance with the contact's privacy rights under various legislation. */ - public Builder compliance(@Nullable List compliance) { + public Builder compliance(@Nullable List compliance) { this.compliance = compliance; return this; } @@ -1808,7 +1808,7 @@ public Builder purged(@Nullable Boolean purged) { /** * Details of an opt-out for a Contact. */ - public Builder optOut(@Nullable OptOutJson optOut) { + public Builder optOut(@Nullable ContactOptOut optOut) { this.optOut = optOut; return this; } @@ -1825,7 +1825,7 @@ public Builder npi(@Nullable String npi) { /** * Collection of social media links for the contact. */ - public Builder links(@Nullable ContactLinksJson links) { + public Builder links(@Nullable ContactLinks links) { this.links = links; return this; } @@ -1859,7 +1859,7 @@ public Builder passportNumber(@Nullable String passportNumber) { /** * This entity represents a contact's passport information. */ - public Builder passport(@Nullable PassportJson passport) { + public Builder passport(@Nullable Passport passport) { this.passport = passport; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/Contact1.java b/packages/java/src/main/java/com/cvent/models/components/Contact1.java new file mode 100644 index 000000000..99cc76076 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Contact1.java @@ -0,0 +1,464 @@ +/* + * 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.Boolean; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Optional; + +/** + * Contact1 + * + *

Contact details of planner. + */ +public class Contact1 { + /** + * The first name of the planner. + */ + @JsonProperty("firstName") + private String firstName; + + /** + * The last name of the planner. + */ + @JsonProperty("lastName") + private String lastName; + + /** + * Email address of the planner. + */ + @JsonProperty("email") + private String email; + + /** + * Address details. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("address") + private Address1 address; + + /** + * Rate of commission chargeable by the planner. Precision up to 2 decimal places is accepted. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("commissionRate") + private Double commissionRate; + + /** + * True indicates commission is to be charged from supplier. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("commissionable") + private Boolean commissionable; + + /** + * Phone number of the planner. + */ + @JsonProperty("phone") + private String phone; + + /** + * Name of the organization. + */ + @JsonProperty("organizationName") + private String organizationName; + + /** + * True indicates planner is a third party planner. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("thirdPartyPlanner") + private Boolean thirdPartyPlanner; + + /** + * List of preferred contact methods for the planner. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("preferredContactMethods") + private List preferredContactMethods; + + @JsonCreator + public Contact1( + @JsonProperty("firstName") @Nonnull String firstName, + @JsonProperty("lastName") @Nonnull String lastName, + @JsonProperty("email") @Nonnull String email, + @JsonProperty("address") @Nullable Address1 address, + @JsonProperty("commissionRate") @Nullable Double commissionRate, + @JsonProperty("commissionable") @Nullable Boolean commissionable, + @JsonProperty("phone") @Nonnull String phone, + @JsonProperty("organizationName") @Nonnull String organizationName, + @JsonProperty("thirdPartyPlanner") @Nullable Boolean thirdPartyPlanner, + @JsonProperty("preferredContactMethods") @Nullable List preferredContactMethods) { + 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.email = Optional.ofNullable(email).orElseThrow(() -> new IllegalArgumentException("email cannot be null")); + this.address = address; + this.commissionRate = commissionRate; + this.commissionable = commissionable; + this.phone = Optional.ofNullable(phone).orElseThrow(() -> new IllegalArgumentException("phone cannot be null")); + this.organizationName = Optional.ofNullable(organizationName) + .orElseThrow(() -> new IllegalArgumentException("organizationName cannot be null")); + this.thirdPartyPlanner = thirdPartyPlanner; + this.preferredContactMethods = preferredContactMethods; + } + + public Contact1( + @Nonnull String firstName, + @Nonnull String lastName, + @Nonnull String email, + @Nonnull String phone, + @Nonnull String organizationName) { + this(firstName, lastName, email, null, null, null, phone, organizationName, null, null); + } + + /** + * The first name of the planner. + */ + public String firstName() { + return this.firstName; + } + + /** + * The last name of the planner. + */ + public String lastName() { + return this.lastName; + } + + /** + * Email address of the planner. + */ + public String email() { + return this.email; + } + + /** + * Address details. + */ + public Optional address() { + return Optional.ofNullable(this.address); + } + + /** + * Rate of commission chargeable by the planner. Precision up to 2 decimal places is accepted. + */ + public Optional commissionRate() { + return Optional.ofNullable(this.commissionRate); + } + + /** + * True indicates commission is to be charged from supplier. + */ + public Optional commissionable() { + return Optional.ofNullable(this.commissionable); + } + + /** + * Phone number of the planner. + */ + public String phone() { + return this.phone; + } + + /** + * Name of the organization. + */ + public String organizationName() { + return this.organizationName; + } + + /** + * True indicates planner is a third party planner. + */ + public Optional thirdPartyPlanner() { + return Optional.ofNullable(this.thirdPartyPlanner); + } + + /** + * List of preferred contact methods for the planner. + */ + public Optional> preferredContactMethods() { + return Optional.ofNullable(this.preferredContactMethods); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The first name of the planner. + */ + public Contact1 withFirstName(@Nonnull String firstName) { + this.firstName = Utils.checkNotNull(firstName, "firstName"); + return this; + } + + /** + * The last name of the planner. + */ + public Contact1 withLastName(@Nonnull String lastName) { + this.lastName = Utils.checkNotNull(lastName, "lastName"); + return this; + } + + /** + * Email address of the planner. + */ + public Contact1 withEmail(@Nonnull String email) { + this.email = Utils.checkNotNull(email, "email"); + return this; + } + + /** + * Address details. + */ + public Contact1 withAddress(@Nullable Address1 address) { + this.address = address; + return this; + } + + /** + * Rate of commission chargeable by the planner. Precision up to 2 decimal places is accepted. + */ + public Contact1 withCommissionRate(@Nullable Double commissionRate) { + this.commissionRate = commissionRate; + return this; + } + + /** + * True indicates commission is to be charged from supplier. + */ + public Contact1 withCommissionable(@Nullable Boolean commissionable) { + this.commissionable = commissionable; + return this; + } + + /** + * Phone number of the planner. + */ + public Contact1 withPhone(@Nonnull String phone) { + this.phone = Utils.checkNotNull(phone, "phone"); + return this; + } + + /** + * Name of the organization. + */ + public Contact1 withOrganizationName(@Nonnull String organizationName) { + this.organizationName = Utils.checkNotNull(organizationName, "organizationName"); + return this; + } + + /** + * True indicates planner is a third party planner. + */ + public Contact1 withThirdPartyPlanner(@Nullable Boolean thirdPartyPlanner) { + this.thirdPartyPlanner = thirdPartyPlanner; + return this; + } + + /** + * List of preferred contact methods for the planner. + */ + public Contact1 withPreferredContactMethods(@Nullable List preferredContactMethods) { + this.preferredContactMethods = preferredContactMethods; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Contact1 other = (Contact1) o; + return Utils.enhancedDeepEquals(this.firstName, other.firstName) + && Utils.enhancedDeepEquals(this.lastName, other.lastName) + && Utils.enhancedDeepEquals(this.email, other.email) + && Utils.enhancedDeepEquals(this.address, other.address) + && Utils.enhancedDeepEquals(this.commissionRate, other.commissionRate) + && Utils.enhancedDeepEquals(this.commissionable, other.commissionable) + && Utils.enhancedDeepEquals(this.phone, other.phone) + && Utils.enhancedDeepEquals(this.organizationName, other.organizationName) + && Utils.enhancedDeepEquals(this.thirdPartyPlanner, other.thirdPartyPlanner) + && Utils.enhancedDeepEquals(this.preferredContactMethods, other.preferredContactMethods); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + firstName, + lastName, + email, + address, + commissionRate, + commissionable, + phone, + organizationName, + thirdPartyPlanner, + preferredContactMethods); + } + + @Override + public String toString() { + return Utils.toString( + Contact1.class, + "firstName", + firstName, + "lastName", + lastName, + "email", + email, + "address", + address, + "commissionRate", + commissionRate, + "commissionable", + commissionable, + "phone", + phone, + "organizationName", + organizationName, + "thirdPartyPlanner", + thirdPartyPlanner, + "preferredContactMethods", + preferredContactMethods); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String firstName; + + private String lastName; + + private String email; + + private Address1 address; + + private Double commissionRate; + + private Boolean commissionable; + + private String phone; + + private String organizationName; + + private Boolean thirdPartyPlanner; + + private List preferredContactMethods; + + private Builder() { + // force use of static builder() method + } + + /** + * The first name of the planner. + */ + public Builder firstName(@Nonnull String firstName) { + this.firstName = Utils.checkNotNull(firstName, "firstName"); + return this; + } + + /** + * The last name of the planner. + */ + public Builder lastName(@Nonnull String lastName) { + this.lastName = Utils.checkNotNull(lastName, "lastName"); + return this; + } + + /** + * Email address of the planner. + */ + public Builder email(@Nonnull String email) { + this.email = Utils.checkNotNull(email, "email"); + return this; + } + + /** + * Address details. + */ + public Builder address(@Nullable Address1 address) { + this.address = address; + return this; + } + + /** + * Rate of commission chargeable by the planner. Precision up to 2 decimal places is accepted. + */ + public Builder commissionRate(@Nullable Double commissionRate) { + this.commissionRate = commissionRate; + return this; + } + + /** + * True indicates commission is to be charged from supplier. + */ + public Builder commissionable(@Nullable Boolean commissionable) { + this.commissionable = commissionable; + return this; + } + + /** + * Phone number of the planner. + */ + public Builder phone(@Nonnull String phone) { + this.phone = Utils.checkNotNull(phone, "phone"); + return this; + } + + /** + * Name of the organization. + */ + public Builder organizationName(@Nonnull String organizationName) { + this.organizationName = Utils.checkNotNull(organizationName, "organizationName"); + return this; + } + + /** + * True indicates planner is a third party planner. + */ + public Builder thirdPartyPlanner(@Nullable Boolean thirdPartyPlanner) { + this.thirdPartyPlanner = thirdPartyPlanner; + return this; + } + + /** + * List of preferred contact methods for the planner. + */ + public Builder preferredContactMethods(@Nullable List preferredContactMethods) { + this.preferredContactMethods = preferredContactMethods; + return this; + } + + public Contact1 build() { + return new Contact1( + firstName, + lastName, + email, + address, + commissionRate, + commissionable, + phone, + organizationName, + thirdPartyPlanner, + preferredContactMethods); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/Contact2.java b/packages/java/src/main/java/com/cvent/models/components/Contact2.java new file mode 100644 index 000000000..d8df3e967 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Contact2.java @@ -0,0 +1,100 @@ +/* + * 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; + +/** + * Contact2 + * + *

The contact details who watched a video + */ +public class Contact2 { + /** + * The unique ID of the contact who watched a video. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public Contact2(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public Contact2() { + this(null); + } + + /** + * The unique ID of the contact who watched a video. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique ID of the contact who watched a video. + */ + public Contact2 withId(@Nullable String id) { + this.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; + } + Contact2 other = (Contact2) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(Contact2.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique ID of the contact who watched a video. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public Contact2 build() { + return new Contact2(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactBulkItemJson.java b/packages/java/src/main/java/com/cvent/models/components/ContactBulkItemJson.java deleted file mode 100644 index c37a75fb5..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ContactBulkItemJson.java +++ /dev/null @@ -1,197 +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.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Object; -import java.lang.Override; -import java.lang.String; -import java.util.Map; -import java.util.Optional; - -/** - * ContactBulkItemJson - * - *

This entity is used to represent a single item that is returned as part of a Bulk request call. - */ -public class ContactBulkItemJson { - - @JsonProperty("data") - private ContactBulkItemJsonData data; - - /** - * http status code representing processing status of a single item - */ - @JsonProperty("status") - private long status; - - /** - * Quick description of what happened with processing - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("message") - private String message; - - /** - * The processed request tied to this response. This field is only sent when processing fails. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("request") - private Map request; - - @JsonCreator - public ContactBulkItemJson( - @JsonProperty("data") @Nonnull ContactBulkItemJsonData data, - @JsonProperty("status") long status, - @JsonProperty("message") @Nullable String message, - @JsonProperty("request") @Nullable Map request) { - this.data = Optional.ofNullable(data).orElseThrow(() -> new IllegalArgumentException("data cannot be null")); - this.status = status; - this.message = message; - this.request = request; - } - - public ContactBulkItemJson(@Nonnull ContactBulkItemJsonData data, long status) { - this(data, status, null, null); - } - - public ContactBulkItemJsonData data() { - return this.data; - } - - /** - * http status code representing processing status of a single item - */ - public long status() { - return this.status; - } - - /** - * Quick description of what happened with processing - */ - public Optional message() { - return Optional.ofNullable(this.message); - } - - /** - * The processed request tied to this response. This field is only sent when processing fails. - */ - public Optional> request() { - return Optional.ofNullable(this.request); - } - - public static Builder builder() { - return new Builder(); - } - - public ContactBulkItemJson withData(@Nonnull ContactBulkItemJsonData data) { - this.data = Utils.checkNotNull(data, "data"); - return this; - } - - /** - * http status code representing processing status of a single item - */ - public ContactBulkItemJson withStatus(long status) { - this.status = status; - return this; - } - - /** - * Quick description of what happened with processing - */ - public ContactBulkItemJson withMessage(@Nullable String message) { - this.message = message; - return this; - } - - /** - * The processed request tied to this response. This field is only sent when processing fails. - */ - public ContactBulkItemJson withRequest(@Nullable Map request) { - this.request = request; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ContactBulkItemJson other = (ContactBulkItemJson) o; - return Utils.enhancedDeepEquals(this.data, other.data) - && Utils.enhancedDeepEquals(this.status, other.status) - && Utils.enhancedDeepEquals(this.message, other.message) - && Utils.enhancedDeepEquals(this.request, other.request); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(data, status, message, request); - } - - @Override - public String toString() { - return Utils.toString( - ContactBulkItemJson.class, "data", data, "status", status, "message", message, "request", request); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private ContactBulkItemJsonData data; - - private long status; - - private String message; - - private Map request; - - private Builder() { - // force use of static builder() method - } - - public Builder data(@Nonnull ContactBulkItemJsonData data) { - this.data = Utils.checkNotNull(data, "data"); - return this; - } - - /** - * http status code representing processing status of a single item - */ - public Builder status(long status) { - this.status = status; - return this; - } - - /** - * Quick description of what happened with processing - */ - public Builder message(@Nullable String message) { - this.message = message; - return this; - } - - /** - * The processed request tied to this response. This field is only sent when processing fails. - */ - public Builder request(@Nullable Map request) { - this.request = request; - return this; - } - - public ContactBulkItemJson build() { - return new ContactBulkItemJson(data, status, message, request); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactBulkItemJsonData.java b/packages/java/src/main/java/com/cvent/models/components/ContactBulkItemJsonData.java deleted file mode 100644 index 941731ed7..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ContactBulkItemJsonData.java +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.OneOfDeserializer; -import com.cvent.utils.TypedObject; -import com.cvent.utils.Utils; -import com.cvent.utils.Utils.JsonShape; -import com.cvent.utils.Utils.TypeReferenceWithShape; -import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import java.lang.Override; -import java.lang.String; -import java.lang.SuppressWarnings; - -@JsonDeserialize(using = ContactBulkItemJsonData._Deserializer.class) -public class ContactBulkItemJsonData { - - @JsonValue - private final TypedObject value; - - private ContactBulkItemJsonData(TypedObject value) { - this.value = value; - } - - public static ContactBulkItemJsonData of(ZeroAllOf7 value) { - Utils.checkNotNull(value, "value"); - return new ContactBulkItemJsonData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - public static ContactBulkItemJsonData of(ErrorResponse1 value) { - Utils.checkNotNull(value, "value"); - return new ContactBulkItemJsonData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); - } - - /** - * Returns an instance of one of these types: - *

    - *
  • {@code com.cvent.models.components.ZeroAllOf7}
  • - *
  • {@code com.cvent.models.components.ErrorResponse1}
  • - *
- * - *

Use {@code instanceof} to determine what type is returned. For example: - * - *

-     * if (obj.value() instanceof String) {
-     *     String answer = (String) obj.value();
-     *     System.out.println("answer=" + answer);
-     * }
-     * 
- * - * @return value of oneOf type - **/ - public java.lang.Object value() { - return value.value(); - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ContactBulkItemJsonData other = (ContactBulkItemJsonData) o; - return Utils.enhancedDeepEquals(this.value.value(), other.value.value()); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(value.value()); - } - - @SuppressWarnings("serial") - public static final class _Deserializer extends OneOfDeserializer { - - public _Deserializer() { - super( - ContactBulkItemJsonData.class, - false, - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); - } - } - - @Override - public String toString() { - return Utils.toString(ContactBulkItemJsonData.class, "value", value); - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactBulkResponseItem.java b/packages/java/src/main/java/com/cvent/models/components/ContactBulkResponseItem.java new file mode 100644 index 000000000..c67d81ade --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ContactBulkResponseItem.java @@ -0,0 +1,197 @@ +/* + * 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.Object; +import java.lang.Override; +import java.lang.String; +import java.util.Map; +import java.util.Optional; + +/** + * ContactBulkResponseItem + * + *

This entity is used to represent a single item that is returned as part of a Bulk request call. + */ +public class ContactBulkResponseItem { + + @JsonProperty("data") + private ContactBulkResponseItemData data; + + /** + * http status code representing processing status of a single item + */ + @JsonProperty("status") + private long status; + + /** + * Quick description of what happened with processing + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("message") + private String message; + + /** + * The processed request tied to this response. This field is only sent when processing fails. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("request") + private Map request; + + @JsonCreator + public ContactBulkResponseItem( + @JsonProperty("data") @Nonnull ContactBulkResponseItemData data, + @JsonProperty("status") long status, + @JsonProperty("message") @Nullable String message, + @JsonProperty("request") @Nullable Map request) { + this.data = Optional.ofNullable(data).orElseThrow(() -> new IllegalArgumentException("data cannot be null")); + this.status = status; + this.message = message; + this.request = request; + } + + public ContactBulkResponseItem(@Nonnull ContactBulkResponseItemData data, long status) { + this(data, status, null, null); + } + + public ContactBulkResponseItemData data() { + return this.data; + } + + /** + * http status code representing processing status of a single item + */ + public long status() { + return this.status; + } + + /** + * Quick description of what happened with processing + */ + public Optional message() { + return Optional.ofNullable(this.message); + } + + /** + * The processed request tied to this response. This field is only sent when processing fails. + */ + public Optional> request() { + return Optional.ofNullable(this.request); + } + + public static Builder builder() { + return new Builder(); + } + + public ContactBulkResponseItem withData(@Nonnull ContactBulkResponseItemData data) { + this.data = Utils.checkNotNull(data, "data"); + return this; + } + + /** + * http status code representing processing status of a single item + */ + public ContactBulkResponseItem withStatus(long status) { + this.status = status; + return this; + } + + /** + * Quick description of what happened with processing + */ + public ContactBulkResponseItem withMessage(@Nullable String message) { + this.message = message; + return this; + } + + /** + * The processed request tied to this response. This field is only sent when processing fails. + */ + public ContactBulkResponseItem withRequest(@Nullable Map request) { + this.request = request; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ContactBulkResponseItem other = (ContactBulkResponseItem) o; + return Utils.enhancedDeepEquals(this.data, other.data) + && Utils.enhancedDeepEquals(this.status, other.status) + && Utils.enhancedDeepEquals(this.message, other.message) + && Utils.enhancedDeepEquals(this.request, other.request); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(data, status, message, request); + } + + @Override + public String toString() { + return Utils.toString( + ContactBulkResponseItem.class, "data", data, "status", status, "message", message, "request", request); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private ContactBulkResponseItemData data; + + private long status; + + private String message; + + private Map request; + + private Builder() { + // force use of static builder() method + } + + public Builder data(@Nonnull ContactBulkResponseItemData data) { + this.data = Utils.checkNotNull(data, "data"); + return this; + } + + /** + * http status code representing processing status of a single item + */ + public Builder status(long status) { + this.status = status; + return this; + } + + /** + * Quick description of what happened with processing + */ + public Builder message(@Nullable String message) { + this.message = message; + return this; + } + + /** + * The processed request tied to this response. This field is only sent when processing fails. + */ + public Builder request(@Nullable Map request) { + this.request = request; + return this; + } + + public ContactBulkResponseItem build() { + return new ContactBulkResponseItem(data, status, message, request); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactBulkResponseItemData.java b/packages/java/src/main/java/com/cvent/models/components/ContactBulkResponseItemData.java new file mode 100644 index 000000000..ef1251d7f --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ContactBulkResponseItemData.java @@ -0,0 +1,93 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.OneOfDeserializer; +import com.cvent.utils.TypedObject; +import com.cvent.utils.Utils; +import com.cvent.utils.Utils.JsonShape; +import com.cvent.utils.Utils.TypeReferenceWithShape; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; + +@JsonDeserialize(using = ContactBulkResponseItemData._Deserializer.class) +public class ContactBulkResponseItemData { + + @JsonValue + private final TypedObject value; + + private ContactBulkResponseItemData(TypedObject value) { + this.value = value; + } + + public static ContactBulkResponseItemData of(Contact value) { + Utils.checkNotNull(value, "value"); + return new ContactBulkResponseItemData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + public static ContactBulkResponseItemData of(ErrorResponse1 value) { + Utils.checkNotNull(value, "value"); + return new ContactBulkResponseItemData(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); + } + + /** + * Returns an instance of one of these types: + *

    + *
  • {@code com.cvent.models.components.Contact}
  • + *
  • {@code com.cvent.models.components.ErrorResponse1}
  • + *
+ * + *

Use {@code instanceof} to determine what type is returned. For example: + * + *

+     * if (obj.value() instanceof String) {
+     *     String answer = (String) obj.value();
+     *     System.out.println("answer=" + answer);
+     * }
+     * 
+ * + * @return value of oneOf type + **/ + public java.lang.Object value() { + return value.value(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ContactBulkResponseItemData other = (ContactBulkResponseItemData) o; + return Utils.enhancedDeepEquals(this.value.value(), other.value.value()); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(value.value()); + } + + @SuppressWarnings("serial") + public static final class _Deserializer extends OneOfDeserializer { + + public _Deserializer() { + super( + ContactBulkResponseItemData.class, + false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); + } + } + + @Override + public String toString() { + return Utils.toString(ContactBulkResponseItemData.class, "value", value); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactCreate.java b/packages/java/src/main/java/com/cvent/models/components/ContactCreate.java new file mode 100644 index 000000000..ad1501af2 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ContactCreate.java @@ -0,0 +1,1616 @@ +/* + * 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.Deprecated; +import java.lang.Override; +import java.lang.String; +import java.time.LocalDate; +import java.util.Optional; + +/** + * ContactCreate + * + *

This entity is used to represent a single item that is posted for a contact create + */ +public class ContactCreate { + /** + * 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 middle name of the contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("middleName") + private String middleName; + + /** + * The nickname of the contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("nickname") + private String nickname; + + /** + * The email address of the contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("email") + private String email; + + /** + * An alternate email address of the contact that can be cc'd on email communications. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("ccEmail") + private String ccEmail; + + /** + * The gender of the contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("gender") + private Gender gender; + + /** + * The company/organization the contact belongs to. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("company") + private String company; + + /** + * The designation of the contact, typically an award or credential. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("designation") + private String designation; + + /** + * The job title of the contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("title") + private String title; + + /** + * Contains details related to the attendee's contact type. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private AttendeeContactTypeInput type; + + /** + * The type of address. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("primaryAddressType") + private AddressType primaryAddressType; + + /** + * Contact address details. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("homeAddress") + private AddressInput homeAddress; + + /** + * The phone number of the contact at their place of residence. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("homePhone") + private String homePhone; + + /** + * The fax number of the contact at their place of residence. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("homeFax") + private String homeFax; + + /** + * Contact address details. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("workAddress") + private AddressInput workAddress; + + /** + * The phone number of the contact at their place of work. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("workPhone") + private String workPhone; + + /** + * The fax number of the contact at their place of work. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("workFax") + private String workFax; + + /** + * This is a ID for the contact in an external system. NOTE: This value is expected to be unique for + * each contact within an account. Consider adding the external system name as part of the ID. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("sourceId") + private String sourceId; + + /** + * The contact's mobile phone number. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("mobilePhone") + private String mobilePhone; + + /** + * Denotes what is traditionally a title of an individual. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("prefix") + private String prefix; + + /** + * The pager number of the contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("pager") + private String pager; + + /** + * Details of an opt-out for a Contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("optOut") + private ContactOptOutInput optOut; + + /** + * Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for + * health care providers in the United States. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("npi") + private String npi; + + /** + * Collection of social media links for the contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("_links") + private ContactLinksInput links; + + /** + * The date of birth of the contact. + * + *

Reading and writing of this field require the `event/contacts:read-sensitive` and + * `event/contacts:write-sensitive` scopes respectively. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("dateOfBirth") + private LocalDate dateOfBirth; + + /** + * The passport number of the contact. + * + *

Reading and writing of this field require the `event/contacts:read-sensitive` and + * `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use + * the passport.number field. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("passportNumber") + @Deprecated + private String passportNumber; + + /** + * This entity represents a contact's passport information. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("passport") + private PassportInput passport; + + /** + * The social security number of the contact. + * + *

Reading and writing of this field require the `event/contacts:read-sensitive` and + * `event/contacts:write-sensitive` scopes respectively. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("socialSecurityNumber") + private String socialSecurityNumber; + + /** + * The national identification number of the contact. + * + *

Reading and writing of this field require the `event/contacts:read-sensitive` and + * `event/contacts:write-sensitive` scopes respectively. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("nationalIdentificationNumber") + private String nationalIdentificationNumber; + + /** + * The headline of the contact's profile, which summarizes their professional experience and qualities. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("headline") + private String headline; + + /** + * A contact's personal website URL. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("personalWebsite") + private String personalWebsite; + + /** + * A contact's biographical writeup. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("biography") + private String biography; + + /** + * Represents the preferred pronouns of a contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("pronouns") + private String pronouns; + + /** + * ID of the parent contact, applicable with contact snapshot. This field has been deprecated. If the + * event has contact snapshot enabled, snapshot will be automatically created through the Add attendees + * API. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("parentId") + @Deprecated + private String parentId; + + /** + * Event ID + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("event") + @Deprecated + private ContactCreateEvent event; + + @JsonCreator + public ContactCreate( + @JsonProperty("firstName") @Nullable String firstName, + @JsonProperty("lastName") @Nullable String lastName, + @JsonProperty("middleName") @Nullable String middleName, + @JsonProperty("nickname") @Nullable String nickname, + @JsonProperty("email") @Nullable String email, + @JsonProperty("ccEmail") @Nullable String ccEmail, + @JsonProperty("gender") @Nullable Gender gender, + @JsonProperty("company") @Nullable String company, + @JsonProperty("designation") @Nullable String designation, + @JsonProperty("title") @Nullable String title, + @JsonProperty("type") @Nullable AttendeeContactTypeInput type, + @JsonProperty("primaryAddressType") @Nullable AddressType primaryAddressType, + @JsonProperty("homeAddress") @Nullable AddressInput homeAddress, + @JsonProperty("homePhone") @Nullable String homePhone, + @JsonProperty("homeFax") @Nullable String homeFax, + @JsonProperty("workAddress") @Nullable AddressInput workAddress, + @JsonProperty("workPhone") @Nullable String workPhone, + @JsonProperty("workFax") @Nullable String workFax, + @JsonProperty("sourceId") @Nullable String sourceId, + @JsonProperty("mobilePhone") @Nullable String mobilePhone, + @JsonProperty("prefix") @Nullable String prefix, + @JsonProperty("pager") @Nullable String pager, + @JsonProperty("optOut") @Nullable ContactOptOutInput optOut, + @JsonProperty("npi") @Nullable String npi, + @JsonProperty("_links") @Nullable ContactLinksInput links, + @JsonProperty("dateOfBirth") @Nullable LocalDate dateOfBirth, + @JsonProperty("passportNumber") @Nullable String passportNumber, + @JsonProperty("passport") @Nullable PassportInput passport, + @JsonProperty("socialSecurityNumber") @Nullable String socialSecurityNumber, + @JsonProperty("nationalIdentificationNumber") @Nullable String nationalIdentificationNumber, + @JsonProperty("headline") @Nullable String headline, + @JsonProperty("personalWebsite") @Nullable String personalWebsite, + @JsonProperty("biography") @Nullable String biography, + @JsonProperty("pronouns") @Nullable String pronouns, + @JsonProperty("parentId") @Nullable String parentId, + @JsonProperty("event") @Nullable ContactCreateEvent event) { + this.firstName = firstName; + this.lastName = lastName; + this.middleName = middleName; + this.nickname = nickname; + this.email = email; + this.ccEmail = ccEmail; + this.gender = gender; + this.company = company; + this.designation = designation; + this.title = title; + this.type = type; + this.primaryAddressType = primaryAddressType; + this.homeAddress = homeAddress; + this.homePhone = homePhone; + this.homeFax = homeFax; + this.workAddress = workAddress; + this.workPhone = workPhone; + this.workFax = workFax; + this.sourceId = sourceId; + this.mobilePhone = mobilePhone; + this.prefix = prefix; + this.pager = pager; + this.optOut = optOut; + this.npi = npi; + this.links = links; + this.dateOfBirth = dateOfBirth; + this.passportNumber = passportNumber; + this.passport = passport; + this.socialSecurityNumber = socialSecurityNumber; + this.nationalIdentificationNumber = nationalIdentificationNumber; + this.headline = headline; + this.personalWebsite = personalWebsite; + this.biography = biography; + this.pronouns = pronouns; + this.parentId = parentId; + this.event = event; + } + + public ContactCreate() { + this( + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null); + } + + /** + * 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 middle name of the contact. + */ + public Optional middleName() { + return Optional.ofNullable(this.middleName); + } + + /** + * The nickname of the contact. + */ + public Optional nickname() { + return Optional.ofNullable(this.nickname); + } + + /** + * The email address of the contact. + */ + public Optional email() { + return Optional.ofNullable(this.email); + } + + /** + * An alternate email address of the contact that can be cc'd on email communications. + */ + public Optional ccEmail() { + return Optional.ofNullable(this.ccEmail); + } + + /** + * The gender of the contact. + */ + public Optional gender() { + return Optional.ofNullable(this.gender); + } + + /** + * The company/organization the contact belongs to. + */ + public Optional company() { + return Optional.ofNullable(this.company); + } + + /** + * The designation of the contact, typically an award or credential. + */ + public Optional designation() { + return Optional.ofNullable(this.designation); + } + + /** + * The job title of the contact. + */ + public Optional title() { + return Optional.ofNullable(this.title); + } + + /** + * Contains details related to the attendee's contact type. + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + /** + * The type of address. + */ + public Optional primaryAddressType() { + return Optional.ofNullable(this.primaryAddressType); + } + + /** + * Contact address details. + */ + public Optional homeAddress() { + return Optional.ofNullable(this.homeAddress); + } + + /** + * The phone number of the contact at their place of residence. + */ + public Optional homePhone() { + return Optional.ofNullable(this.homePhone); + } + + /** + * The fax number of the contact at their place of residence. + */ + public Optional homeFax() { + return Optional.ofNullable(this.homeFax); + } + + /** + * Contact address details. + */ + public Optional workAddress() { + return Optional.ofNullable(this.workAddress); + } + + /** + * The phone number of the contact at their place of work. + */ + public Optional workPhone() { + return Optional.ofNullable(this.workPhone); + } + + /** + * The fax number of the contact at their place of work. + */ + public Optional workFax() { + return Optional.ofNullable(this.workFax); + } + + /** + * This is a ID for the contact in an external system. NOTE: This value is expected to be unique for + * each contact within an account. Consider adding the external system name as part of the ID. + */ + public Optional sourceId() { + return Optional.ofNullable(this.sourceId); + } + + /** + * The contact's mobile phone number. + */ + public Optional mobilePhone() { + return Optional.ofNullable(this.mobilePhone); + } + + /** + * Denotes what is traditionally a title of an individual. + */ + public Optional prefix() { + return Optional.ofNullable(this.prefix); + } + + /** + * The pager number of the contact. + */ + public Optional pager() { + return Optional.ofNullable(this.pager); + } + + /** + * Details of an opt-out for a Contact. + */ + public Optional optOut() { + return Optional.ofNullable(this.optOut); + } + + /** + * Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for + * health care providers in the United States. + */ + public Optional npi() { + return Optional.ofNullable(this.npi); + } + + /** + * Collection of social media links for the contact. + */ + public Optional links() { + return Optional.ofNullable(this.links); + } + + /** + * The date of birth of the contact. + * + *

Reading and writing of this field require the `event/contacts:read-sensitive` and + * `event/contacts:write-sensitive` scopes respectively. + */ + public Optional dateOfBirth() { + return Optional.ofNullable(this.dateOfBirth); + } + + /** + * The passport number of the contact. + * + *

Reading and writing of this field require the `event/contacts:read-sensitive` and + * `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use + * the passport.number field. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Optional passportNumber() { + return Optional.ofNullable(this.passportNumber); + } + + /** + * This entity represents a contact's passport information. + */ + public Optional passport() { + return Optional.ofNullable(this.passport); + } + + /** + * The social security number of the contact. + * + *

Reading and writing of this field require the `event/contacts:read-sensitive` and + * `event/contacts:write-sensitive` scopes respectively. + */ + public Optional socialSecurityNumber() { + return Optional.ofNullable(this.socialSecurityNumber); + } + + /** + * The national identification number of the contact. + * + *

Reading and writing of this field require the `event/contacts:read-sensitive` and + * `event/contacts:write-sensitive` scopes respectively. + */ + public Optional nationalIdentificationNumber() { + return Optional.ofNullable(this.nationalIdentificationNumber); + } + + /** + * The headline of the contact's profile, which summarizes their professional experience and qualities. + */ + public Optional headline() { + return Optional.ofNullable(this.headline); + } + + /** + * A contact's personal website URL. + */ + public Optional personalWebsite() { + return Optional.ofNullable(this.personalWebsite); + } + + /** + * A contact's biographical writeup. + */ + public Optional biography() { + return Optional.ofNullable(this.biography); + } + + /** + * Represents the preferred pronouns of a contact. + */ + public Optional pronouns() { + return Optional.ofNullable(this.pronouns); + } + + /** + * ID of the parent contact, applicable with contact snapshot. This field has been deprecated. If the + * event has contact snapshot enabled, snapshot will be automatically created through the Add attendees + * API. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Optional parentId() { + return Optional.ofNullable(this.parentId); + } + + /** + * Event ID + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Optional event() { + return Optional.ofNullable(this.event); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The first name of the contact. + */ + public ContactCreate withFirstName(@Nullable String firstName) { + this.firstName = firstName; + return this; + } + + /** + * The last name of the contact. + */ + public ContactCreate withLastName(@Nullable String lastName) { + this.lastName = lastName; + return this; + } + + /** + * The middle name of the contact. + */ + public ContactCreate withMiddleName(@Nullable String middleName) { + this.middleName = middleName; + return this; + } + + /** + * The nickname of the contact. + */ + public ContactCreate withNickname(@Nullable String nickname) { + this.nickname = nickname; + return this; + } + + /** + * The email address of the contact. + */ + public ContactCreate withEmail(@Nullable String email) { + this.email = email; + return this; + } + + /** + * An alternate email address of the contact that can be cc'd on email communications. + */ + public ContactCreate withCcEmail(@Nullable String ccEmail) { + this.ccEmail = ccEmail; + return this; + } + + /** + * The gender of the contact. + */ + public ContactCreate withGender(@Nullable Gender gender) { + this.gender = gender; + return this; + } + + /** + * The company/organization the contact belongs to. + */ + public ContactCreate withCompany(@Nullable String company) { + this.company = company; + return this; + } + + /** + * The designation of the contact, typically an award or credential. + */ + public ContactCreate withDesignation(@Nullable String designation) { + this.designation = designation; + return this; + } + + /** + * The job title of the contact. + */ + public ContactCreate withTitle(@Nullable String title) { + this.title = title; + return this; + } + + /** + * Contains details related to the attendee's contact type. + */ + public ContactCreate withType(@Nullable AttendeeContactTypeInput type) { + this.type = type; + return this; + } + + /** + * The type of address. + */ + public ContactCreate withPrimaryAddressType(@Nullable AddressType primaryAddressType) { + this.primaryAddressType = primaryAddressType; + return this; + } + + /** + * Contact address details. + */ + public ContactCreate withHomeAddress(@Nullable AddressInput homeAddress) { + this.homeAddress = homeAddress; + return this; + } + + /** + * The phone number of the contact at their place of residence. + */ + public ContactCreate withHomePhone(@Nullable String homePhone) { + this.homePhone = homePhone; + return this; + } + + /** + * The fax number of the contact at their place of residence. + */ + public ContactCreate withHomeFax(@Nullable String homeFax) { + this.homeFax = homeFax; + return this; + } + + /** + * Contact address details. + */ + public ContactCreate withWorkAddress(@Nullable AddressInput workAddress) { + this.workAddress = workAddress; + return this; + } + + /** + * The phone number of the contact at their place of work. + */ + public ContactCreate withWorkPhone(@Nullable String workPhone) { + this.workPhone = workPhone; + return this; + } + + /** + * The fax number of the contact at their place of work. + */ + public ContactCreate withWorkFax(@Nullable String workFax) { + this.workFax = workFax; + return this; + } + + /** + * This is a ID for the contact in an external system. NOTE: This value is expected to be unique for + * each contact within an account. Consider adding the external system name as part of the ID. + */ + public ContactCreate withSourceId(@Nullable String sourceId) { + this.sourceId = sourceId; + return this; + } + + /** + * The contact's mobile phone number. + */ + public ContactCreate withMobilePhone(@Nullable String mobilePhone) { + this.mobilePhone = mobilePhone; + return this; + } + + /** + * Denotes what is traditionally a title of an individual. + */ + public ContactCreate withPrefix(@Nullable String prefix) { + this.prefix = prefix; + return this; + } + + /** + * The pager number of the contact. + */ + public ContactCreate withPager(@Nullable String pager) { + this.pager = pager; + return this; + } + + /** + * Details of an opt-out for a Contact. + */ + public ContactCreate withOptOut(@Nullable ContactOptOutInput optOut) { + this.optOut = optOut; + return this; + } + + /** + * Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for + * health care providers in the United States. + */ + public ContactCreate withNpi(@Nullable String npi) { + this.npi = npi; + return this; + } + + /** + * Collection of social media links for the contact. + */ + public ContactCreate withLinks(@Nullable ContactLinksInput links) { + this.links = links; + return this; + } + + /** + * The date of birth of the contact. + * + *

Reading and writing of this field require the `event/contacts:read-sensitive` and + * `event/contacts:write-sensitive` scopes respectively. + */ + public ContactCreate withDateOfBirth(@Nullable LocalDate dateOfBirth) { + this.dateOfBirth = dateOfBirth; + return this; + } + + /** + * The passport number of the contact. + * + *

Reading and writing of this field require the `event/contacts:read-sensitive` and + * `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use + * the passport.number field. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public ContactCreate withPassportNumber(@Nullable String passportNumber) { + this.passportNumber = passportNumber; + return this; + } + + /** + * This entity represents a contact's passport information. + */ + public ContactCreate withPassport(@Nullable PassportInput passport) { + this.passport = passport; + return this; + } + + /** + * The social security number of the contact. + * + *

Reading and writing of this field require the `event/contacts:read-sensitive` and + * `event/contacts:write-sensitive` scopes respectively. + */ + public ContactCreate withSocialSecurityNumber(@Nullable String socialSecurityNumber) { + this.socialSecurityNumber = socialSecurityNumber; + return this; + } + + /** + * The national identification number of the contact. + * + *

Reading and writing of this field require the `event/contacts:read-sensitive` and + * `event/contacts:write-sensitive` scopes respectively. + */ + public ContactCreate withNationalIdentificationNumber(@Nullable String nationalIdentificationNumber) { + this.nationalIdentificationNumber = nationalIdentificationNumber; + return this; + } + + /** + * The headline of the contact's profile, which summarizes their professional experience and qualities. + */ + public ContactCreate withHeadline(@Nullable String headline) { + this.headline = headline; + return this; + } + + /** + * A contact's personal website URL. + */ + public ContactCreate withPersonalWebsite(@Nullable String personalWebsite) { + this.personalWebsite = personalWebsite; + return this; + } + + /** + * A contact's biographical writeup. + */ + public ContactCreate withBiography(@Nullable String biography) { + this.biography = biography; + return this; + } + + /** + * Represents the preferred pronouns of a contact. + */ + public ContactCreate withPronouns(@Nullable String pronouns) { + this.pronouns = pronouns; + return this; + } + + /** + * ID of the parent contact, applicable with contact snapshot. This field has been deprecated. If the + * event has contact snapshot enabled, snapshot will be automatically created through the Add attendees + * API. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public ContactCreate withParentId(@Nullable String parentId) { + this.parentId = parentId; + return this; + } + + /** + * Event ID + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public ContactCreate withEvent(@Nullable ContactCreateEvent event) { + this.event = event; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ContactCreate other = (ContactCreate) o; + return Utils.enhancedDeepEquals(this.firstName, other.firstName) + && Utils.enhancedDeepEquals(this.lastName, other.lastName) + && Utils.enhancedDeepEquals(this.middleName, other.middleName) + && Utils.enhancedDeepEquals(this.nickname, other.nickname) + && Utils.enhancedDeepEquals(this.email, other.email) + && Utils.enhancedDeepEquals(this.ccEmail, other.ccEmail) + && Utils.enhancedDeepEquals(this.gender, other.gender) + && Utils.enhancedDeepEquals(this.company, other.company) + && Utils.enhancedDeepEquals(this.designation, other.designation) + && Utils.enhancedDeepEquals(this.title, other.title) + && Utils.enhancedDeepEquals(this.type, other.type) + && Utils.enhancedDeepEquals(this.primaryAddressType, other.primaryAddressType) + && Utils.enhancedDeepEquals(this.homeAddress, other.homeAddress) + && Utils.enhancedDeepEquals(this.homePhone, other.homePhone) + && Utils.enhancedDeepEquals(this.homeFax, other.homeFax) + && Utils.enhancedDeepEquals(this.workAddress, other.workAddress) + && Utils.enhancedDeepEquals(this.workPhone, other.workPhone) + && Utils.enhancedDeepEquals(this.workFax, other.workFax) + && Utils.enhancedDeepEquals(this.sourceId, other.sourceId) + && Utils.enhancedDeepEquals(this.mobilePhone, other.mobilePhone) + && Utils.enhancedDeepEquals(this.prefix, other.prefix) + && Utils.enhancedDeepEquals(this.pager, other.pager) + && Utils.enhancedDeepEquals(this.optOut, other.optOut) + && Utils.enhancedDeepEquals(this.npi, other.npi) + && Utils.enhancedDeepEquals(this.links, other.links) + && Utils.enhancedDeepEquals(this.dateOfBirth, other.dateOfBirth) + && Utils.enhancedDeepEquals(this.passportNumber, other.passportNumber) + && Utils.enhancedDeepEquals(this.passport, other.passport) + && Utils.enhancedDeepEquals(this.socialSecurityNumber, other.socialSecurityNumber) + && Utils.enhancedDeepEquals(this.nationalIdentificationNumber, other.nationalIdentificationNumber) + && Utils.enhancedDeepEquals(this.headline, other.headline) + && Utils.enhancedDeepEquals(this.personalWebsite, other.personalWebsite) + && Utils.enhancedDeepEquals(this.biography, other.biography) + && Utils.enhancedDeepEquals(this.pronouns, other.pronouns) + && Utils.enhancedDeepEquals(this.parentId, other.parentId) + && Utils.enhancedDeepEquals(this.event, other.event); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + firstName, + lastName, + middleName, + nickname, + email, + ccEmail, + gender, + company, + designation, + title, + type, + primaryAddressType, + homeAddress, + homePhone, + homeFax, + workAddress, + workPhone, + workFax, + sourceId, + mobilePhone, + prefix, + pager, + optOut, + npi, + links, + dateOfBirth, + passportNumber, + passport, + socialSecurityNumber, + nationalIdentificationNumber, + headline, + personalWebsite, + biography, + pronouns, + parentId, + event); + } + + @Override + public String toString() { + return Utils.toString( + ContactCreate.class, + "firstName", + firstName, + "lastName", + lastName, + "middleName", + middleName, + "nickname", + nickname, + "email", + email, + "ccEmail", + ccEmail, + "gender", + gender, + "company", + company, + "designation", + designation, + "title", + title, + "type", + type, + "primaryAddressType", + primaryAddressType, + "homeAddress", + homeAddress, + "homePhone", + homePhone, + "homeFax", + homeFax, + "workAddress", + workAddress, + "workPhone", + workPhone, + "workFax", + workFax, + "sourceId", + sourceId, + "mobilePhone", + mobilePhone, + "prefix", + prefix, + "pager", + pager, + "optOut", + optOut, + "npi", + npi, + "links", + links, + "dateOfBirth", + dateOfBirth, + "passportNumber", + passportNumber, + "passport", + passport, + "socialSecurityNumber", + socialSecurityNumber, + "nationalIdentificationNumber", + nationalIdentificationNumber, + "headline", + headline, + "personalWebsite", + personalWebsite, + "biography", + biography, + "pronouns", + pronouns, + "parentId", + parentId, + "event", + event); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String firstName; + + private String lastName; + + private String middleName; + + private String nickname; + + private String email; + + private String ccEmail; + + private Gender gender; + + private String company; + + private String designation; + + private String title; + + private AttendeeContactTypeInput type; + + private AddressType primaryAddressType; + + private AddressInput homeAddress; + + private String homePhone; + + private String homeFax; + + private AddressInput workAddress; + + private String workPhone; + + private String workFax; + + private String sourceId; + + private String mobilePhone; + + private String prefix; + + private String pager; + + private ContactOptOutInput optOut; + + private String npi; + + private ContactLinksInput links; + + private LocalDate dateOfBirth; + + @Deprecated + private String passportNumber; + + private PassportInput passport; + + private String socialSecurityNumber; + + private String nationalIdentificationNumber; + + private String headline; + + private String personalWebsite; + + private String biography; + + private String pronouns; + + @Deprecated + private String parentId; + + @Deprecated + private ContactCreateEvent event; + + private Builder() { + // force use of static builder() method + } + + /** + * 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 middle name of the contact. + */ + public Builder middleName(@Nullable String middleName) { + this.middleName = middleName; + return this; + } + + /** + * The nickname of the contact. + */ + public Builder nickname(@Nullable String nickname) { + this.nickname = nickname; + return this; + } + + /** + * The email address of the contact. + */ + public Builder email(@Nullable String email) { + this.email = email; + return this; + } + + /** + * An alternate email address of the contact that can be cc'd on email communications. + */ + public Builder ccEmail(@Nullable String ccEmail) { + this.ccEmail = ccEmail; + return this; + } + + /** + * The gender of the contact. + */ + public Builder gender(@Nullable Gender gender) { + this.gender = gender; + return this; + } + + /** + * The company/organization the contact belongs to. + */ + public Builder company(@Nullable String company) { + this.company = company; + return this; + } + + /** + * The designation of the contact, typically an award or credential. + */ + public Builder designation(@Nullable String designation) { + this.designation = designation; + return this; + } + + /** + * The job title of the contact. + */ + public Builder title(@Nullable String title) { + this.title = title; + return this; + } + + /** + * Contains details related to the attendee's contact type. + */ + public Builder type(@Nullable AttendeeContactTypeInput type) { + this.type = type; + return this; + } + + /** + * The type of address. + */ + public Builder primaryAddressType(@Nullable AddressType primaryAddressType) { + this.primaryAddressType = primaryAddressType; + return this; + } + + /** + * Contact address details. + */ + public Builder homeAddress(@Nullable AddressInput homeAddress) { + this.homeAddress = homeAddress; + return this; + } + + /** + * The phone number of the contact at their place of residence. + */ + public Builder homePhone(@Nullable String homePhone) { + this.homePhone = homePhone; + return this; + } + + /** + * The fax number of the contact at their place of residence. + */ + public Builder homeFax(@Nullable String homeFax) { + this.homeFax = homeFax; + return this; + } + + /** + * Contact address details. + */ + public Builder workAddress(@Nullable AddressInput workAddress) { + this.workAddress = workAddress; + return this; + } + + /** + * The phone number of the contact at their place of work. + */ + public Builder workPhone(@Nullable String workPhone) { + this.workPhone = workPhone; + return this; + } + + /** + * The fax number of the contact at their place of work. + */ + public Builder workFax(@Nullable String workFax) { + this.workFax = workFax; + return this; + } + + /** + * This is a ID for the contact in an external system. NOTE: This value is expected to be unique for + * each contact within an account. Consider adding the external system name as part of the ID. + */ + public Builder sourceId(@Nullable String sourceId) { + this.sourceId = sourceId; + return this; + } + + /** + * The contact's mobile phone number. + */ + public Builder mobilePhone(@Nullable String mobilePhone) { + this.mobilePhone = mobilePhone; + return this; + } + + /** + * Denotes what is traditionally a title of an individual. + */ + public Builder prefix(@Nullable String prefix) { + this.prefix = prefix; + return this; + } + + /** + * The pager number of the contact. + */ + public Builder pager(@Nullable String pager) { + this.pager = pager; + return this; + } + + /** + * Details of an opt-out for a Contact. + */ + public Builder optOut(@Nullable ContactOptOutInput optOut) { + this.optOut = optOut; + return this; + } + + /** + * Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for + * health care providers in the United States. + */ + public Builder npi(@Nullable String npi) { + this.npi = npi; + return this; + } + + /** + * Collection of social media links for the contact. + */ + public Builder links(@Nullable ContactLinksInput links) { + this.links = links; + return this; + } + + /** + * The date of birth of the contact. + * + *

Reading and writing of this field require the `event/contacts:read-sensitive` and + * `event/contacts:write-sensitive` scopes respectively. + */ + public Builder dateOfBirth(@Nullable LocalDate dateOfBirth) { + this.dateOfBirth = dateOfBirth; + return this; + } + + /** + * The passport number of the contact. + * + *

Reading and writing of this field require the `event/contacts:read-sensitive` and + * `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use + * the passport.number field. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Builder passportNumber(@Nullable String passportNumber) { + this.passportNumber = passportNumber; + return this; + } + + /** + * This entity represents a contact's passport information. + */ + public Builder passport(@Nullable PassportInput passport) { + this.passport = passport; + return this; + } + + /** + * The social security number of the contact. + * + *

Reading and writing of this field require the `event/contacts:read-sensitive` and + * `event/contacts:write-sensitive` scopes respectively. + */ + public Builder socialSecurityNumber(@Nullable String socialSecurityNumber) { + this.socialSecurityNumber = socialSecurityNumber; + return this; + } + + /** + * The national identification number of the contact. + * + *

Reading and writing of this field require the `event/contacts:read-sensitive` and + * `event/contacts:write-sensitive` scopes respectively. + */ + public Builder nationalIdentificationNumber(@Nullable String nationalIdentificationNumber) { + this.nationalIdentificationNumber = nationalIdentificationNumber; + return this; + } + + /** + * The headline of the contact's profile, which summarizes their professional experience and qualities. + */ + public Builder headline(@Nullable String headline) { + this.headline = headline; + return this; + } + + /** + * A contact's personal website URL. + */ + public Builder personalWebsite(@Nullable String personalWebsite) { + this.personalWebsite = personalWebsite; + return this; + } + + /** + * A contact's biographical writeup. + */ + public Builder biography(@Nullable String biography) { + this.biography = biography; + return this; + } + + /** + * Represents the preferred pronouns of a contact. + */ + public Builder pronouns(@Nullable String pronouns) { + this.pronouns = pronouns; + return this; + } + + /** + * ID of the parent contact, applicable with contact snapshot. This field has been deprecated. If the + * event has contact snapshot enabled, snapshot will be automatically created through the Add attendees + * API. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Builder parentId(@Nullable String parentId) { + this.parentId = parentId; + return this; + } + + /** + * Event ID + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Builder event(@Nullable ContactCreateEvent event) { + this.event = event; + return this; + } + + public ContactCreate build() { + return new ContactCreate( + firstName, + lastName, + middleName, + nickname, + email, + ccEmail, + gender, + company, + designation, + title, + type, + primaryAddressType, + homeAddress, + homePhone, + homeFax, + workAddress, + workPhone, + workFax, + sourceId, + mobilePhone, + prefix, + pager, + optOut, + npi, + links, + dateOfBirth, + passportNumber, + passport, + socialSecurityNumber, + nationalIdentificationNumber, + headline, + personalWebsite, + biography, + pronouns, + parentId, + event); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactCreateEvent.java b/packages/java/src/main/java/com/cvent/models/components/ContactCreateEvent.java new file mode 100644 index 000000000..93f3754a6 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ContactCreateEvent.java @@ -0,0 +1,125 @@ +/* + * 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.Deprecated; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * ContactCreateEvent + * + *

Event ID + * + * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible. + */ +@Deprecated +public class ContactCreateEvent { + /** + * ID of the event where the contact was created, applicable when contact snapshot is enabled for an + * event. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be + * automatically created through the Add attendees API. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + @Deprecated + private String id; + + @JsonCreator + public ContactCreateEvent(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public ContactCreateEvent() { + this(null); + } + + /** + * ID of the event where the contact was created, applicable when contact snapshot is enabled for an + * event. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be + * automatically created through the Add attendees API. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * ID of the event where the contact was created, applicable when contact snapshot is enabled for an + * event. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be + * automatically created through the Add attendees API. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public ContactCreateEvent withId(@Nullable String id) { + this.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; + } + ContactCreateEvent other = (ContactCreateEvent) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(ContactCreateEvent.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + @Deprecated + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * ID of the event where the contact was created, applicable when contact snapshot is enabled for an + * event. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be + * automatically created through the Add attendees API. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public ContactCreateEvent build() { + return new ContactCreateEvent(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactCreateRequestJson.java b/packages/java/src/main/java/com/cvent/models/components/ContactCreateRequestJson.java deleted file mode 100644 index c98e2a351..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ContactCreateRequestJson.java +++ /dev/null @@ -1,1616 +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.Deprecated; -import java.lang.Override; -import java.lang.String; -import java.time.LocalDate; -import java.util.Optional; - -/** - * ContactCreateRequestJson - * - *

This entity is used to represent a single item that is posted for a contact create - */ -public class ContactCreateRequestJson { - /** - * 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 middle name of the contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("middleName") - private String middleName; - - /** - * The nickname of the contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("nickname") - private String nickname; - - /** - * The email address of the contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("email") - private String email; - - /** - * An alternate email address of the contact that can be cc'd on email communications. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("ccEmail") - private String ccEmail; - - /** - * The gender of the contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("gender") - private GenderJson gender; - - /** - * The company/organization the contact belongs to. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("company") - private String company; - - /** - * The designation of the contact, typically an award or credential. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("designation") - private String designation; - - /** - * The job title of the contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("title") - private String title; - - /** - * Contains details related to the attendee's contact type. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private AttendeeContactTypeJsonInput type; - - /** - * The type of address. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("primaryAddressType") - private AddressTypeJson primaryAddressType; - - /** - * Contact address details. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("homeAddress") - private AddressJsonInput homeAddress; - - /** - * The phone number of the contact at their place of residence. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("homePhone") - private String homePhone; - - /** - * The fax number of the contact at their place of residence. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("homeFax") - private String homeFax; - - /** - * Contact address details. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("workAddress") - private AddressJsonInput workAddress; - - /** - * The phone number of the contact at their place of work. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("workPhone") - private String workPhone; - - /** - * The fax number of the contact at their place of work. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("workFax") - private String workFax; - - /** - * This is a ID for the contact in an external system. NOTE: This value is expected to be unique for - * each contact within an account. Consider adding the external system name as part of the ID. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("sourceId") - private String sourceId; - - /** - * The contact's mobile phone number. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("mobilePhone") - private String mobilePhone; - - /** - * Denotes what is traditionally a title of an individual. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("prefix") - private String prefix; - - /** - * The pager number of the contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("pager") - private String pager; - - /** - * Details of an opt-out for a Contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("optOut") - private OptOutJsonInput optOut; - - /** - * Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for - * health care providers in the United States. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("npi") - private String npi; - - /** - * Collection of social media links for the contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("_links") - private ContactLinksJsonInput links; - - /** - * The date of birth of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("dateOfBirth") - private LocalDate dateOfBirth; - - /** - * The passport number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use - * the passport.number field. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("passportNumber") - @Deprecated - private String passportNumber; - - /** - * This entity represents a contact's passport information. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("passport") - private PassportJsonInput passport; - - /** - * The social security number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("socialSecurityNumber") - private String socialSecurityNumber; - - /** - * The national identification number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("nationalIdentificationNumber") - private String nationalIdentificationNumber; - - /** - * The headline of the contact's profile, which summarizes their professional experience and qualities. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("headline") - private String headline; - - /** - * A contact's personal website URL. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("personalWebsite") - private String personalWebsite; - - /** - * A contact's biographical writeup. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("biography") - private String biography; - - /** - * Represents the preferred pronouns of a contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("pronouns") - private String pronouns; - - /** - * ID of the parent contact, applicable with contact snapshot. This field has been deprecated. If the - * event has contact snapshot enabled, snapshot will be automatically created through the Add attendees - * API. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("parentId") - @Deprecated - private String parentId; - - /** - * Event ID - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("event") - @Deprecated - private ContactCreateRequestJsonEvent event; - - @JsonCreator - public ContactCreateRequestJson( - @JsonProperty("firstName") @Nullable String firstName, - @JsonProperty("lastName") @Nullable String lastName, - @JsonProperty("middleName") @Nullable String middleName, - @JsonProperty("nickname") @Nullable String nickname, - @JsonProperty("email") @Nullable String email, - @JsonProperty("ccEmail") @Nullable String ccEmail, - @JsonProperty("gender") @Nullable GenderJson gender, - @JsonProperty("company") @Nullable String company, - @JsonProperty("designation") @Nullable String designation, - @JsonProperty("title") @Nullable String title, - @JsonProperty("type") @Nullable AttendeeContactTypeJsonInput type, - @JsonProperty("primaryAddressType") @Nullable AddressTypeJson primaryAddressType, - @JsonProperty("homeAddress") @Nullable AddressJsonInput homeAddress, - @JsonProperty("homePhone") @Nullable String homePhone, - @JsonProperty("homeFax") @Nullable String homeFax, - @JsonProperty("workAddress") @Nullable AddressJsonInput workAddress, - @JsonProperty("workPhone") @Nullable String workPhone, - @JsonProperty("workFax") @Nullable String workFax, - @JsonProperty("sourceId") @Nullable String sourceId, - @JsonProperty("mobilePhone") @Nullable String mobilePhone, - @JsonProperty("prefix") @Nullable String prefix, - @JsonProperty("pager") @Nullable String pager, - @JsonProperty("optOut") @Nullable OptOutJsonInput optOut, - @JsonProperty("npi") @Nullable String npi, - @JsonProperty("_links") @Nullable ContactLinksJsonInput links, - @JsonProperty("dateOfBirth") @Nullable LocalDate dateOfBirth, - @JsonProperty("passportNumber") @Nullable String passportNumber, - @JsonProperty("passport") @Nullable PassportJsonInput passport, - @JsonProperty("socialSecurityNumber") @Nullable String socialSecurityNumber, - @JsonProperty("nationalIdentificationNumber") @Nullable String nationalIdentificationNumber, - @JsonProperty("headline") @Nullable String headline, - @JsonProperty("personalWebsite") @Nullable String personalWebsite, - @JsonProperty("biography") @Nullable String biography, - @JsonProperty("pronouns") @Nullable String pronouns, - @JsonProperty("parentId") @Nullable String parentId, - @JsonProperty("event") @Nullable ContactCreateRequestJsonEvent event) { - this.firstName = firstName; - this.lastName = lastName; - this.middleName = middleName; - this.nickname = nickname; - this.email = email; - this.ccEmail = ccEmail; - this.gender = gender; - this.company = company; - this.designation = designation; - this.title = title; - this.type = type; - this.primaryAddressType = primaryAddressType; - this.homeAddress = homeAddress; - this.homePhone = homePhone; - this.homeFax = homeFax; - this.workAddress = workAddress; - this.workPhone = workPhone; - this.workFax = workFax; - this.sourceId = sourceId; - this.mobilePhone = mobilePhone; - this.prefix = prefix; - this.pager = pager; - this.optOut = optOut; - this.npi = npi; - this.links = links; - this.dateOfBirth = dateOfBirth; - this.passportNumber = passportNumber; - this.passport = passport; - this.socialSecurityNumber = socialSecurityNumber; - this.nationalIdentificationNumber = nationalIdentificationNumber; - this.headline = headline; - this.personalWebsite = personalWebsite; - this.biography = biography; - this.pronouns = pronouns; - this.parentId = parentId; - this.event = event; - } - - public ContactCreateRequestJson() { - this( - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null); - } - - /** - * 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 middle name of the contact. - */ - public Optional middleName() { - return Optional.ofNullable(this.middleName); - } - - /** - * The nickname of the contact. - */ - public Optional nickname() { - return Optional.ofNullable(this.nickname); - } - - /** - * The email address of the contact. - */ - public Optional email() { - return Optional.ofNullable(this.email); - } - - /** - * An alternate email address of the contact that can be cc'd on email communications. - */ - public Optional ccEmail() { - return Optional.ofNullable(this.ccEmail); - } - - /** - * The gender of the contact. - */ - public Optional gender() { - return Optional.ofNullable(this.gender); - } - - /** - * The company/organization the contact belongs to. - */ - public Optional company() { - return Optional.ofNullable(this.company); - } - - /** - * The designation of the contact, typically an award or credential. - */ - public Optional designation() { - return Optional.ofNullable(this.designation); - } - - /** - * The job title of the contact. - */ - public Optional title() { - return Optional.ofNullable(this.title); - } - - /** - * Contains details related to the attendee's contact type. - */ - public Optional type() { - return Optional.ofNullable(this.type); - } - - /** - * The type of address. - */ - public Optional primaryAddressType() { - return Optional.ofNullable(this.primaryAddressType); - } - - /** - * Contact address details. - */ - public Optional homeAddress() { - return Optional.ofNullable(this.homeAddress); - } - - /** - * The phone number of the contact at their place of residence. - */ - public Optional homePhone() { - return Optional.ofNullable(this.homePhone); - } - - /** - * The fax number of the contact at their place of residence. - */ - public Optional homeFax() { - return Optional.ofNullable(this.homeFax); - } - - /** - * Contact address details. - */ - public Optional workAddress() { - return Optional.ofNullable(this.workAddress); - } - - /** - * The phone number of the contact at their place of work. - */ - public Optional workPhone() { - return Optional.ofNullable(this.workPhone); - } - - /** - * The fax number of the contact at their place of work. - */ - public Optional workFax() { - return Optional.ofNullable(this.workFax); - } - - /** - * This is a ID for the contact in an external system. NOTE: This value is expected to be unique for - * each contact within an account. Consider adding the external system name as part of the ID. - */ - public Optional sourceId() { - return Optional.ofNullable(this.sourceId); - } - - /** - * The contact's mobile phone number. - */ - public Optional mobilePhone() { - return Optional.ofNullable(this.mobilePhone); - } - - /** - * Denotes what is traditionally a title of an individual. - */ - public Optional prefix() { - return Optional.ofNullable(this.prefix); - } - - /** - * The pager number of the contact. - */ - public Optional pager() { - return Optional.ofNullable(this.pager); - } - - /** - * Details of an opt-out for a Contact. - */ - public Optional optOut() { - return Optional.ofNullable(this.optOut); - } - - /** - * Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for - * health care providers in the United States. - */ - public Optional npi() { - return Optional.ofNullable(this.npi); - } - - /** - * Collection of social media links for the contact. - */ - public Optional links() { - return Optional.ofNullable(this.links); - } - - /** - * The date of birth of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - public Optional dateOfBirth() { - return Optional.ofNullable(this.dateOfBirth); - } - - /** - * The passport number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use - * the passport.number field. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Optional passportNumber() { - return Optional.ofNullable(this.passportNumber); - } - - /** - * This entity represents a contact's passport information. - */ - public Optional passport() { - return Optional.ofNullable(this.passport); - } - - /** - * The social security number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - public Optional socialSecurityNumber() { - return Optional.ofNullable(this.socialSecurityNumber); - } - - /** - * The national identification number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - public Optional nationalIdentificationNumber() { - return Optional.ofNullable(this.nationalIdentificationNumber); - } - - /** - * The headline of the contact's profile, which summarizes their professional experience and qualities. - */ - public Optional headline() { - return Optional.ofNullable(this.headline); - } - - /** - * A contact's personal website URL. - */ - public Optional personalWebsite() { - return Optional.ofNullable(this.personalWebsite); - } - - /** - * A contact's biographical writeup. - */ - public Optional biography() { - return Optional.ofNullable(this.biography); - } - - /** - * Represents the preferred pronouns of a contact. - */ - public Optional pronouns() { - return Optional.ofNullable(this.pronouns); - } - - /** - * ID of the parent contact, applicable with contact snapshot. This field has been deprecated. If the - * event has contact snapshot enabled, snapshot will be automatically created through the Add attendees - * API. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Optional parentId() { - return Optional.ofNullable(this.parentId); - } - - /** - * Event ID - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Optional event() { - return Optional.ofNullable(this.event); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The first name of the contact. - */ - public ContactCreateRequestJson withFirstName(@Nullable String firstName) { - this.firstName = firstName; - return this; - } - - /** - * The last name of the contact. - */ - public ContactCreateRequestJson withLastName(@Nullable String lastName) { - this.lastName = lastName; - return this; - } - - /** - * The middle name of the contact. - */ - public ContactCreateRequestJson withMiddleName(@Nullable String middleName) { - this.middleName = middleName; - return this; - } - - /** - * The nickname of the contact. - */ - public ContactCreateRequestJson withNickname(@Nullable String nickname) { - this.nickname = nickname; - return this; - } - - /** - * The email address of the contact. - */ - public ContactCreateRequestJson withEmail(@Nullable String email) { - this.email = email; - return this; - } - - /** - * An alternate email address of the contact that can be cc'd on email communications. - */ - public ContactCreateRequestJson withCcEmail(@Nullable String ccEmail) { - this.ccEmail = ccEmail; - return this; - } - - /** - * The gender of the contact. - */ - public ContactCreateRequestJson withGender(@Nullable GenderJson gender) { - this.gender = gender; - return this; - } - - /** - * The company/organization the contact belongs to. - */ - public ContactCreateRequestJson withCompany(@Nullable String company) { - this.company = company; - return this; - } - - /** - * The designation of the contact, typically an award or credential. - */ - public ContactCreateRequestJson withDesignation(@Nullable String designation) { - this.designation = designation; - return this; - } - - /** - * The job title of the contact. - */ - public ContactCreateRequestJson withTitle(@Nullable String title) { - this.title = title; - return this; - } - - /** - * Contains details related to the attendee's contact type. - */ - public ContactCreateRequestJson withType(@Nullable AttendeeContactTypeJsonInput type) { - this.type = type; - return this; - } - - /** - * The type of address. - */ - public ContactCreateRequestJson withPrimaryAddressType(@Nullable AddressTypeJson primaryAddressType) { - this.primaryAddressType = primaryAddressType; - return this; - } - - /** - * Contact address details. - */ - public ContactCreateRequestJson withHomeAddress(@Nullable AddressJsonInput homeAddress) { - this.homeAddress = homeAddress; - return this; - } - - /** - * The phone number of the contact at their place of residence. - */ - public ContactCreateRequestJson withHomePhone(@Nullable String homePhone) { - this.homePhone = homePhone; - return this; - } - - /** - * The fax number of the contact at their place of residence. - */ - public ContactCreateRequestJson withHomeFax(@Nullable String homeFax) { - this.homeFax = homeFax; - return this; - } - - /** - * Contact address details. - */ - public ContactCreateRequestJson withWorkAddress(@Nullable AddressJsonInput workAddress) { - this.workAddress = workAddress; - return this; - } - - /** - * The phone number of the contact at their place of work. - */ - public ContactCreateRequestJson withWorkPhone(@Nullable String workPhone) { - this.workPhone = workPhone; - return this; - } - - /** - * The fax number of the contact at their place of work. - */ - public ContactCreateRequestJson withWorkFax(@Nullable String workFax) { - this.workFax = workFax; - return this; - } - - /** - * This is a ID for the contact in an external system. NOTE: This value is expected to be unique for - * each contact within an account. Consider adding the external system name as part of the ID. - */ - public ContactCreateRequestJson withSourceId(@Nullable String sourceId) { - this.sourceId = sourceId; - return this; - } - - /** - * The contact's mobile phone number. - */ - public ContactCreateRequestJson withMobilePhone(@Nullable String mobilePhone) { - this.mobilePhone = mobilePhone; - return this; - } - - /** - * Denotes what is traditionally a title of an individual. - */ - public ContactCreateRequestJson withPrefix(@Nullable String prefix) { - this.prefix = prefix; - return this; - } - - /** - * The pager number of the contact. - */ - public ContactCreateRequestJson withPager(@Nullable String pager) { - this.pager = pager; - return this; - } - - /** - * Details of an opt-out for a Contact. - */ - public ContactCreateRequestJson withOptOut(@Nullable OptOutJsonInput optOut) { - this.optOut = optOut; - return this; - } - - /** - * Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for - * health care providers in the United States. - */ - public ContactCreateRequestJson withNpi(@Nullable String npi) { - this.npi = npi; - return this; - } - - /** - * Collection of social media links for the contact. - */ - public ContactCreateRequestJson withLinks(@Nullable ContactLinksJsonInput links) { - this.links = links; - return this; - } - - /** - * The date of birth of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - public ContactCreateRequestJson withDateOfBirth(@Nullable LocalDate dateOfBirth) { - this.dateOfBirth = dateOfBirth; - return this; - } - - /** - * The passport number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use - * the passport.number field. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public ContactCreateRequestJson withPassportNumber(@Nullable String passportNumber) { - this.passportNumber = passportNumber; - return this; - } - - /** - * This entity represents a contact's passport information. - */ - public ContactCreateRequestJson withPassport(@Nullable PassportJsonInput passport) { - this.passport = passport; - return this; - } - - /** - * The social security number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - public ContactCreateRequestJson withSocialSecurityNumber(@Nullable String socialSecurityNumber) { - this.socialSecurityNumber = socialSecurityNumber; - return this; - } - - /** - * The national identification number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - public ContactCreateRequestJson withNationalIdentificationNumber(@Nullable String nationalIdentificationNumber) { - this.nationalIdentificationNumber = nationalIdentificationNumber; - return this; - } - - /** - * The headline of the contact's profile, which summarizes their professional experience and qualities. - */ - public ContactCreateRequestJson withHeadline(@Nullable String headline) { - this.headline = headline; - return this; - } - - /** - * A contact's personal website URL. - */ - public ContactCreateRequestJson withPersonalWebsite(@Nullable String personalWebsite) { - this.personalWebsite = personalWebsite; - return this; - } - - /** - * A contact's biographical writeup. - */ - public ContactCreateRequestJson withBiography(@Nullable String biography) { - this.biography = biography; - return this; - } - - /** - * Represents the preferred pronouns of a contact. - */ - public ContactCreateRequestJson withPronouns(@Nullable String pronouns) { - this.pronouns = pronouns; - return this; - } - - /** - * ID of the parent contact, applicable with contact snapshot. This field has been deprecated. If the - * event has contact snapshot enabled, snapshot will be automatically created through the Add attendees - * API. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public ContactCreateRequestJson withParentId(@Nullable String parentId) { - this.parentId = parentId; - return this; - } - - /** - * Event ID - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public ContactCreateRequestJson withEvent(@Nullable ContactCreateRequestJsonEvent event) { - this.event = event; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ContactCreateRequestJson other = (ContactCreateRequestJson) o; - return Utils.enhancedDeepEquals(this.firstName, other.firstName) - && Utils.enhancedDeepEquals(this.lastName, other.lastName) - && Utils.enhancedDeepEquals(this.middleName, other.middleName) - && Utils.enhancedDeepEquals(this.nickname, other.nickname) - && Utils.enhancedDeepEquals(this.email, other.email) - && Utils.enhancedDeepEquals(this.ccEmail, other.ccEmail) - && Utils.enhancedDeepEquals(this.gender, other.gender) - && Utils.enhancedDeepEquals(this.company, other.company) - && Utils.enhancedDeepEquals(this.designation, other.designation) - && Utils.enhancedDeepEquals(this.title, other.title) - && Utils.enhancedDeepEquals(this.type, other.type) - && Utils.enhancedDeepEquals(this.primaryAddressType, other.primaryAddressType) - && Utils.enhancedDeepEquals(this.homeAddress, other.homeAddress) - && Utils.enhancedDeepEquals(this.homePhone, other.homePhone) - && Utils.enhancedDeepEquals(this.homeFax, other.homeFax) - && Utils.enhancedDeepEquals(this.workAddress, other.workAddress) - && Utils.enhancedDeepEquals(this.workPhone, other.workPhone) - && Utils.enhancedDeepEquals(this.workFax, other.workFax) - && Utils.enhancedDeepEquals(this.sourceId, other.sourceId) - && Utils.enhancedDeepEquals(this.mobilePhone, other.mobilePhone) - && Utils.enhancedDeepEquals(this.prefix, other.prefix) - && Utils.enhancedDeepEquals(this.pager, other.pager) - && Utils.enhancedDeepEquals(this.optOut, other.optOut) - && Utils.enhancedDeepEquals(this.npi, other.npi) - && Utils.enhancedDeepEquals(this.links, other.links) - && Utils.enhancedDeepEquals(this.dateOfBirth, other.dateOfBirth) - && Utils.enhancedDeepEquals(this.passportNumber, other.passportNumber) - && Utils.enhancedDeepEquals(this.passport, other.passport) - && Utils.enhancedDeepEquals(this.socialSecurityNumber, other.socialSecurityNumber) - && Utils.enhancedDeepEquals(this.nationalIdentificationNumber, other.nationalIdentificationNumber) - && Utils.enhancedDeepEquals(this.headline, other.headline) - && Utils.enhancedDeepEquals(this.personalWebsite, other.personalWebsite) - && Utils.enhancedDeepEquals(this.biography, other.biography) - && Utils.enhancedDeepEquals(this.pronouns, other.pronouns) - && Utils.enhancedDeepEquals(this.parentId, other.parentId) - && Utils.enhancedDeepEquals(this.event, other.event); - } - - @Override - public int hashCode() { - return Utils.enhancedHash( - firstName, - lastName, - middleName, - nickname, - email, - ccEmail, - gender, - company, - designation, - title, - type, - primaryAddressType, - homeAddress, - homePhone, - homeFax, - workAddress, - workPhone, - workFax, - sourceId, - mobilePhone, - prefix, - pager, - optOut, - npi, - links, - dateOfBirth, - passportNumber, - passport, - socialSecurityNumber, - nationalIdentificationNumber, - headline, - personalWebsite, - biography, - pronouns, - parentId, - event); - } - - @Override - public String toString() { - return Utils.toString( - ContactCreateRequestJson.class, - "firstName", - firstName, - "lastName", - lastName, - "middleName", - middleName, - "nickname", - nickname, - "email", - email, - "ccEmail", - ccEmail, - "gender", - gender, - "company", - company, - "designation", - designation, - "title", - title, - "type", - type, - "primaryAddressType", - primaryAddressType, - "homeAddress", - homeAddress, - "homePhone", - homePhone, - "homeFax", - homeFax, - "workAddress", - workAddress, - "workPhone", - workPhone, - "workFax", - workFax, - "sourceId", - sourceId, - "mobilePhone", - mobilePhone, - "prefix", - prefix, - "pager", - pager, - "optOut", - optOut, - "npi", - npi, - "links", - links, - "dateOfBirth", - dateOfBirth, - "passportNumber", - passportNumber, - "passport", - passport, - "socialSecurityNumber", - socialSecurityNumber, - "nationalIdentificationNumber", - nationalIdentificationNumber, - "headline", - headline, - "personalWebsite", - personalWebsite, - "biography", - biography, - "pronouns", - pronouns, - "parentId", - parentId, - "event", - event); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String firstName; - - private String lastName; - - private String middleName; - - private String nickname; - - private String email; - - private String ccEmail; - - private GenderJson gender; - - private String company; - - private String designation; - - private String title; - - private AttendeeContactTypeJsonInput type; - - private AddressTypeJson primaryAddressType; - - private AddressJsonInput homeAddress; - - private String homePhone; - - private String homeFax; - - private AddressJsonInput workAddress; - - private String workPhone; - - private String workFax; - - private String sourceId; - - private String mobilePhone; - - private String prefix; - - private String pager; - - private OptOutJsonInput optOut; - - private String npi; - - private ContactLinksJsonInput links; - - private LocalDate dateOfBirth; - - @Deprecated - private String passportNumber; - - private PassportJsonInput passport; - - private String socialSecurityNumber; - - private String nationalIdentificationNumber; - - private String headline; - - private String personalWebsite; - - private String biography; - - private String pronouns; - - @Deprecated - private String parentId; - - @Deprecated - private ContactCreateRequestJsonEvent event; - - private Builder() { - // force use of static builder() method - } - - /** - * 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 middle name of the contact. - */ - public Builder middleName(@Nullable String middleName) { - this.middleName = middleName; - return this; - } - - /** - * The nickname of the contact. - */ - public Builder nickname(@Nullable String nickname) { - this.nickname = nickname; - return this; - } - - /** - * The email address of the contact. - */ - public Builder email(@Nullable String email) { - this.email = email; - return this; - } - - /** - * An alternate email address of the contact that can be cc'd on email communications. - */ - public Builder ccEmail(@Nullable String ccEmail) { - this.ccEmail = ccEmail; - return this; - } - - /** - * The gender of the contact. - */ - public Builder gender(@Nullable GenderJson gender) { - this.gender = gender; - return this; - } - - /** - * The company/organization the contact belongs to. - */ - public Builder company(@Nullable String company) { - this.company = company; - return this; - } - - /** - * The designation of the contact, typically an award or credential. - */ - public Builder designation(@Nullable String designation) { - this.designation = designation; - return this; - } - - /** - * The job title of the contact. - */ - public Builder title(@Nullable String title) { - this.title = title; - return this; - } - - /** - * Contains details related to the attendee's contact type. - */ - public Builder type(@Nullable AttendeeContactTypeJsonInput type) { - this.type = type; - return this; - } - - /** - * The type of address. - */ - public Builder primaryAddressType(@Nullable AddressTypeJson primaryAddressType) { - this.primaryAddressType = primaryAddressType; - return this; - } - - /** - * Contact address details. - */ - public Builder homeAddress(@Nullable AddressJsonInput homeAddress) { - this.homeAddress = homeAddress; - return this; - } - - /** - * The phone number of the contact at their place of residence. - */ - public Builder homePhone(@Nullable String homePhone) { - this.homePhone = homePhone; - return this; - } - - /** - * The fax number of the contact at their place of residence. - */ - public Builder homeFax(@Nullable String homeFax) { - this.homeFax = homeFax; - return this; - } - - /** - * Contact address details. - */ - public Builder workAddress(@Nullable AddressJsonInput workAddress) { - this.workAddress = workAddress; - return this; - } - - /** - * The phone number of the contact at their place of work. - */ - public Builder workPhone(@Nullable String workPhone) { - this.workPhone = workPhone; - return this; - } - - /** - * The fax number of the contact at their place of work. - */ - public Builder workFax(@Nullable String workFax) { - this.workFax = workFax; - return this; - } - - /** - * This is a ID for the contact in an external system. NOTE: This value is expected to be unique for - * each contact within an account. Consider adding the external system name as part of the ID. - */ - public Builder sourceId(@Nullable String sourceId) { - this.sourceId = sourceId; - return this; - } - - /** - * The contact's mobile phone number. - */ - public Builder mobilePhone(@Nullable String mobilePhone) { - this.mobilePhone = mobilePhone; - return this; - } - - /** - * Denotes what is traditionally a title of an individual. - */ - public Builder prefix(@Nullable String prefix) { - this.prefix = prefix; - return this; - } - - /** - * The pager number of the contact. - */ - public Builder pager(@Nullable String pager) { - this.pager = pager; - return this; - } - - /** - * Details of an opt-out for a Contact. - */ - public Builder optOut(@Nullable OptOutJsonInput optOut) { - this.optOut = optOut; - return this; - } - - /** - * Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for - * health care providers in the United States. - */ - public Builder npi(@Nullable String npi) { - this.npi = npi; - return this; - } - - /** - * Collection of social media links for the contact. - */ - public Builder links(@Nullable ContactLinksJsonInput links) { - this.links = links; - return this; - } - - /** - * The date of birth of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - public Builder dateOfBirth(@Nullable LocalDate dateOfBirth) { - this.dateOfBirth = dateOfBirth; - return this; - } - - /** - * The passport number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use - * the passport.number field. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Builder passportNumber(@Nullable String passportNumber) { - this.passportNumber = passportNumber; - return this; - } - - /** - * This entity represents a contact's passport information. - */ - public Builder passport(@Nullable PassportJsonInput passport) { - this.passport = passport; - return this; - } - - /** - * The social security number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - public Builder socialSecurityNumber(@Nullable String socialSecurityNumber) { - this.socialSecurityNumber = socialSecurityNumber; - return this; - } - - /** - * The national identification number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - public Builder nationalIdentificationNumber(@Nullable String nationalIdentificationNumber) { - this.nationalIdentificationNumber = nationalIdentificationNumber; - return this; - } - - /** - * The headline of the contact's profile, which summarizes their professional experience and qualities. - */ - public Builder headline(@Nullable String headline) { - this.headline = headline; - return this; - } - - /** - * A contact's personal website URL. - */ - public Builder personalWebsite(@Nullable String personalWebsite) { - this.personalWebsite = personalWebsite; - return this; - } - - /** - * A contact's biographical writeup. - */ - public Builder biography(@Nullable String biography) { - this.biography = biography; - return this; - } - - /** - * Represents the preferred pronouns of a contact. - */ - public Builder pronouns(@Nullable String pronouns) { - this.pronouns = pronouns; - return this; - } - - /** - * ID of the parent contact, applicable with contact snapshot. This field has been deprecated. If the - * event has contact snapshot enabled, snapshot will be automatically created through the Add attendees - * API. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Builder parentId(@Nullable String parentId) { - this.parentId = parentId; - return this; - } - - /** - * Event ID - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Builder event(@Nullable ContactCreateRequestJsonEvent event) { - this.event = event; - return this; - } - - public ContactCreateRequestJson build() { - return new ContactCreateRequestJson( - firstName, - lastName, - middleName, - nickname, - email, - ccEmail, - gender, - company, - designation, - title, - type, - primaryAddressType, - homeAddress, - homePhone, - homeFax, - workAddress, - workPhone, - workFax, - sourceId, - mobilePhone, - prefix, - pager, - optOut, - npi, - links, - dateOfBirth, - passportNumber, - passport, - socialSecurityNumber, - nationalIdentificationNumber, - headline, - personalWebsite, - biography, - pronouns, - parentId, - event); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactCreateRequestJsonEvent.java b/packages/java/src/main/java/com/cvent/models/components/ContactCreateRequestJsonEvent.java deleted file mode 100644 index 88cd4281a..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ContactCreateRequestJsonEvent.java +++ /dev/null @@ -1,125 +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.Deprecated; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ContactCreateRequestJsonEvent - * - *

Event ID - * - * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible. - */ -@Deprecated -public class ContactCreateRequestJsonEvent { - /** - * ID of the event where the contact was created, applicable when contact snapshot is enabled for an - * event. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be - * automatically created through the Add attendees API. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - @Deprecated - private String id; - - @JsonCreator - public ContactCreateRequestJsonEvent(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public ContactCreateRequestJsonEvent() { - this(null); - } - - /** - * ID of the event where the contact was created, applicable when contact snapshot is enabled for an - * event. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be - * automatically created through the Add attendees API. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * ID of the event where the contact was created, applicable when contact snapshot is enabled for an - * event. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be - * automatically created through the Add attendees API. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public ContactCreateRequestJsonEvent withId(@Nullable String id) { - this.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; - } - ContactCreateRequestJsonEvent other = (ContactCreateRequestJsonEvent) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(ContactCreateRequestJsonEvent.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - @Deprecated - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * ID of the event where the contact was created, applicable when contact snapshot is enabled for an - * event. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be - * automatically created through the Add attendees API. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public ContactCreateRequestJsonEvent build() { - return new ContactCreateRequestJsonEvent(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactGroup.java b/packages/java/src/main/java/com/cvent/models/components/ContactGroup.java index 19d5dcecb..a94b9911e 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ContactGroup.java +++ b/packages/java/src/main/java/com/cvent/models/components/ContactGroup.java @@ -86,7 +86,7 @@ public class ContactGroup { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("type") - private ContactGroupTypeJson type; + private ContactGroupType type; /** * Moved to internalNote in the DistributionListInfo object. The note field only applies to @@ -105,7 +105,7 @@ public class ContactGroup { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("distributionListInfo") - private DistributionListInfoJson distributionListInfo; + private DistributionListInfo distributionListInfo; @JsonCreator public ContactGroup( @@ -117,9 +117,9 @@ public ContactGroup( @JsonProperty("name") @Nonnull String name, @JsonProperty("shortDescription") @Nullable String shortDescription, @JsonProperty("description") @Nullable String description, - @JsonProperty("type") @Nullable ContactGroupTypeJson type, + @JsonProperty("type") @Nullable ContactGroupType type, @JsonProperty("note") @Nullable String note, - @JsonProperty("distributionListInfo") @Nullable DistributionListInfoJson distributionListInfo) { + @JsonProperty("distributionListInfo") @Nullable DistributionListInfo distributionListInfo) { this.created = created; this.createdBy = createdBy; this.lastModified = lastModified; @@ -199,7 +199,7 @@ public Optional description() { * *

`STANDARD` is a multi-purpose group for organizing contacts. */ - public Optional type() { + public Optional type() { return Optional.ofNullable(this.type); } @@ -218,7 +218,7 @@ public Optional note() { * Model representing a distribution list info. Only required if the contact group type is * DISTRIBUTION_LIST. */ - public Optional distributionListInfo() { + public Optional distributionListInfo() { return Optional.ofNullable(this.distributionListInfo); } @@ -296,7 +296,7 @@ public ContactGroup withDescription(@Nullable String description) { * *

`STANDARD` is a multi-purpose group for organizing contacts. */ - public ContactGroup withType(@Nullable ContactGroupTypeJson type) { + public ContactGroup withType(@Nullable ContactGroupType type) { this.type = type; return this; } @@ -317,7 +317,7 @@ public ContactGroup withNote(@Nullable String note) { * Model representing a distribution list info. Only required if the contact group type is * DISTRIBUTION_LIST. */ - public ContactGroup withDistributionListInfo(@Nullable DistributionListInfoJson distributionListInfo) { + public ContactGroup withDistributionListInfo(@Nullable DistributionListInfo distributionListInfo) { this.distributionListInfo = distributionListInfo; return this; } @@ -407,12 +407,12 @@ public static final class Builder { private String description; - private ContactGroupTypeJson type; + private ContactGroupType type; @Deprecated private String note; - private DistributionListInfoJson distributionListInfo; + private DistributionListInfo distributionListInfo; private Builder() { // force use of static builder() method @@ -488,7 +488,7 @@ public Builder description(@Nullable String description) { * *

`STANDARD` is a multi-purpose group for organizing contacts. */ - public Builder type(@Nullable ContactGroupTypeJson type) { + public Builder type(@Nullable ContactGroupType type) { this.type = type; return this; } @@ -509,7 +509,7 @@ public Builder note(@Nullable String note) { * Model representing a distribution list info. Only required if the contact group type is * DISTRIBUTION_LIST. */ - public Builder distributionListInfo(@Nullable DistributionListInfoJson distributionListInfo) { + public Builder distributionListInfo(@Nullable DistributionListInfo distributionListInfo) { this.distributionListInfo = distributionListInfo; return this; } @@ -529,7 +529,7 @@ public ContactGroup build() { distributionListInfo); } - private static final LazySingletonValue _SINGLETON_VALUE_Type = - new LazySingletonValue<>("type", "\"STANDARD\"", new TypeReference() {}); + private static final LazySingletonValue _SINGLETON_VALUE_Type = + new LazySingletonValue<>("type", "\"STANDARD\"", new TypeReference() {}); } } diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactGroupInput.java b/packages/java/src/main/java/com/cvent/models/components/ContactGroupInput.java index a409f6bfc..449dc772c 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ContactGroupInput.java +++ b/packages/java/src/main/java/com/cvent/models/components/ContactGroupInput.java @@ -51,7 +51,7 @@ public class ContactGroupInput { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("type") - private ContactGroupTypeJson type; + private ContactGroupType type; /** * Moved to internalNote in the DistributionListInfo object. The note field only applies to @@ -70,16 +70,16 @@ public class ContactGroupInput { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("distributionListInfo") - private DistributionListInfoJsonInput distributionListInfo; + private DistributionListInfoInput distributionListInfo; @JsonCreator public ContactGroupInput( @JsonProperty("name") @Nonnull String name, @JsonProperty("shortDescription") @Nullable String shortDescription, @JsonProperty("description") @Nullable String description, - @JsonProperty("type") @Nullable ContactGroupTypeJson type, + @JsonProperty("type") @Nullable ContactGroupType type, @JsonProperty("note") @Nullable String note, - @JsonProperty("distributionListInfo") @Nullable DistributionListInfoJsonInput distributionListInfo) { + @JsonProperty("distributionListInfo") @Nullable DistributionListInfoInput distributionListInfo) { this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); this.shortDescription = shortDescription; this.description = description; @@ -119,7 +119,7 @@ public Optional description() { * *

`STANDARD` is a multi-purpose group for organizing contacts. */ - public Optional type() { + public Optional type() { return Optional.ofNullable(this.type); } @@ -138,7 +138,7 @@ public Optional note() { * Model representing a distribution list info. Only required if the contact group type is * DISTRIBUTION_LIST. */ - public Optional distributionListInfo() { + public Optional distributionListInfo() { return Optional.ofNullable(this.distributionListInfo); } @@ -176,7 +176,7 @@ public ContactGroupInput withDescription(@Nullable String description) { * *

`STANDARD` is a multi-purpose group for organizing contacts. */ - public ContactGroupInput withType(@Nullable ContactGroupTypeJson type) { + public ContactGroupInput withType(@Nullable ContactGroupType type) { this.type = type; return this; } @@ -197,7 +197,7 @@ public ContactGroupInput withNote(@Nullable String note) { * Model representing a distribution list info. Only required if the contact group type is * DISTRIBUTION_LIST. */ - public ContactGroupInput withDistributionListInfo(@Nullable DistributionListInfoJsonInput distributionListInfo) { + public ContactGroupInput withDistributionListInfo(@Nullable DistributionListInfoInput distributionListInfo) { this.distributionListInfo = distributionListInfo; return this; } @@ -251,12 +251,12 @@ public static final class Builder { private String description; - private ContactGroupTypeJson type; + private ContactGroupType type; @Deprecated private String note; - private DistributionListInfoJsonInput distributionListInfo; + private DistributionListInfoInput distributionListInfo; private Builder() { // force use of static builder() method @@ -292,7 +292,7 @@ public Builder description(@Nullable String description) { * *

`STANDARD` is a multi-purpose group for organizing contacts. */ - public Builder type(@Nullable ContactGroupTypeJson type) { + public Builder type(@Nullable ContactGroupType type) { this.type = type; return this; } @@ -313,7 +313,7 @@ public Builder note(@Nullable String note) { * Model representing a distribution list info. Only required if the contact group type is * DISTRIBUTION_LIST. */ - public Builder distributionListInfo(@Nullable DistributionListInfoJsonInput distributionListInfo) { + public Builder distributionListInfo(@Nullable DistributionListInfoInput distributionListInfo) { this.distributionListInfo = distributionListInfo; return this; } @@ -322,7 +322,7 @@ public ContactGroupInput build() { return new ContactGroupInput(name, shortDescription, description, type, note, distributionListInfo); } - private static final LazySingletonValue _SINGLETON_VALUE_Type = - new LazySingletonValue<>("type", "\"STANDARD\"", new TypeReference() {}); + private static final LazySingletonValue _SINGLETON_VALUE_Type = + new LazySingletonValue<>("type", "\"STANDARD\"", new TypeReference() {}); } } diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactGroupPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/ContactGroupPaginatedResponse.java index 07dda1935..91f608a58 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ContactGroupPaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/ContactGroupPaginatedResponse.java @@ -23,7 +23,7 @@ public class ContactGroupPaginatedResponse { * Represents pagination information for a collection of resources. */ @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * Collection of contact groups. @@ -33,8 +33,7 @@ public class ContactGroupPaginatedResponse { @JsonCreator public ContactGroupPaginatedResponse( - @JsonProperty("paging") @Nonnull PagingJson paging, - @JsonProperty("data") @Nonnull List data) { + @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")); @@ -43,7 +42,7 @@ public ContactGroupPaginatedResponse( /** * Represents pagination information for a collection of resources. */ - public PagingJson paging() { + public Paging paging() { return this.paging; } @@ -61,7 +60,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public ContactGroupPaginatedResponse withPaging(@Nonnull PagingJson paging) { + public ContactGroupPaginatedResponse withPaging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } @@ -99,7 +98,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; private List data; @@ -110,7 +109,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nonnull PagingJson paging) { + public Builder paging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactGroupType.java b/packages/java/src/main/java/com/cvent/models/components/ContactGroupType.java new file mode 100644 index 000000000..53cc7861b --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ContactGroupType.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; + +/** + * ContactGroupType + * + *

Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. + * `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. + * + *

`STANDARD` is a multi-purpose group for organizing contacts. + */ +public enum ContactGroupType { + BLACKLIST("BLACKLIST"), + DISTRIBUTION_LIST("DISTRIBUTION_LIST"), + STANDARD("STANDARD"); + + @JsonValue + private final String value; + + ContactGroupType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (ContactGroupType o : ContactGroupType.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/ContactGroupTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/ContactGroupTypeJson.java deleted file mode 100644 index 732daf417..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ContactGroupTypeJson.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * 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; - -/** - * ContactGroupTypeJson - * - *

Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. - * `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. - * - *

`STANDARD` is a multi-purpose group for organizing contacts. - */ -public enum ContactGroupTypeJson { - BLACKLIST("BLACKLIST"), - DISTRIBUTION_LIST("DISTRIBUTION_LIST"), - STANDARD("STANDARD"); - - @JsonValue - private final String value; - - ContactGroupTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (ContactGroupTypeJson o : ContactGroupTypeJson.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/ContactHistory.java b/packages/java/src/main/java/com/cvent/models/components/ContactHistory.java new file mode 100644 index 000000000..2596bf551 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ContactHistory.java @@ -0,0 +1,302 @@ +/* + * 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.time.OffsetDateTime; +import java.util.Optional; + +/** + * ContactHistory + * + *

A single instance of change for a specific contact in the contact's change history. + */ +public class ContactHistory { + /** + * The name of a field that was changed and tracked by this single instance of change in contact change + * history. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("updatedFieldName") + private String updatedFieldName; + + /** + * The old value of a field that was changed. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("oldValue") + private String oldValue; + + /** + * The new value of a field that was changed. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("newValue") + private String newValue; + + /** + * Name of the place where this change was updated through. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("updatedThroughName") + private UpdatedThroughNameProperty updatedThroughName; + + /** + * The ISO 8601 formatted date-time when the associated contact, of this single instance of change in + * contact change history, was updated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("updatedDate") + private OffsetDateTime updatedDate; + + /** + * The name of a person who updated a contact that is associated with this single instance of change in + * contact change history. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("updatedBy") + private String updatedBy; + + @JsonCreator + public ContactHistory( + @JsonProperty("updatedFieldName") @Nullable String updatedFieldName, + @JsonProperty("oldValue") @Nullable String oldValue, + @JsonProperty("newValue") @Nullable String newValue, + @JsonProperty("updatedThroughName") @Nullable UpdatedThroughNameProperty updatedThroughName, + @JsonProperty("updatedDate") @Nullable OffsetDateTime updatedDate, + @JsonProperty("updatedBy") @Nullable String updatedBy) { + this.updatedFieldName = updatedFieldName; + this.oldValue = oldValue; + this.newValue = newValue; + this.updatedThroughName = updatedThroughName; + this.updatedDate = updatedDate; + this.updatedBy = updatedBy; + } + + public ContactHistory() { + this(null, null, null, null, null, null); + } + + /** + * The name of a field that was changed and tracked by this single instance of change in contact change + * history. + */ + public Optional updatedFieldName() { + return Optional.ofNullable(this.updatedFieldName); + } + + /** + * The old value of a field that was changed. + */ + public Optional oldValue() { + return Optional.ofNullable(this.oldValue); + } + + /** + * The new value of a field that was changed. + */ + public Optional newValue() { + return Optional.ofNullable(this.newValue); + } + + /** + * Name of the place where this change was updated through. + */ + public Optional updatedThroughName() { + return Optional.ofNullable(this.updatedThroughName); + } + + /** + * The ISO 8601 formatted date-time when the associated contact, of this single instance of change in + * contact change history, was updated. + */ + public Optional updatedDate() { + return Optional.ofNullable(this.updatedDate); + } + + /** + * The name of a person who updated a contact that is associated with this single instance of change in + * contact change history. + */ + public Optional updatedBy() { + return Optional.ofNullable(this.updatedBy); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The name of a field that was changed and tracked by this single instance of change in contact change + * history. + */ + public ContactHistory withUpdatedFieldName(@Nullable String updatedFieldName) { + this.updatedFieldName = updatedFieldName; + return this; + } + + /** + * The old value of a field that was changed. + */ + public ContactHistory withOldValue(@Nullable String oldValue) { + this.oldValue = oldValue; + return this; + } + + /** + * The new value of a field that was changed. + */ + public ContactHistory withNewValue(@Nullable String newValue) { + this.newValue = newValue; + return this; + } + + /** + * Name of the place where this change was updated through. + */ + public ContactHistory withUpdatedThroughName(@Nullable UpdatedThroughNameProperty updatedThroughName) { + this.updatedThroughName = updatedThroughName; + return this; + } + + /** + * The ISO 8601 formatted date-time when the associated contact, of this single instance of change in + * contact change history, was updated. + */ + public ContactHistory withUpdatedDate(@Nullable OffsetDateTime updatedDate) { + this.updatedDate = updatedDate; + return this; + } + + /** + * The name of a person who updated a contact that is associated with this single instance of change in + * contact change history. + */ + public ContactHistory withUpdatedBy(@Nullable String updatedBy) { + this.updatedBy = updatedBy; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ContactHistory other = (ContactHistory) o; + return Utils.enhancedDeepEquals(this.updatedFieldName, other.updatedFieldName) + && Utils.enhancedDeepEquals(this.oldValue, other.oldValue) + && Utils.enhancedDeepEquals(this.newValue, other.newValue) + && Utils.enhancedDeepEquals(this.updatedThroughName, other.updatedThroughName) + && Utils.enhancedDeepEquals(this.updatedDate, other.updatedDate) + && Utils.enhancedDeepEquals(this.updatedBy, other.updatedBy); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(updatedFieldName, oldValue, newValue, updatedThroughName, updatedDate, updatedBy); + } + + @Override + public String toString() { + return Utils.toString( + ContactHistory.class, + "updatedFieldName", + updatedFieldName, + "oldValue", + oldValue, + "newValue", + newValue, + "updatedThroughName", + updatedThroughName, + "updatedDate", + updatedDate, + "updatedBy", + updatedBy); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String updatedFieldName; + + private String oldValue; + + private String newValue; + + private UpdatedThroughNameProperty updatedThroughName; + + private OffsetDateTime updatedDate; + + private String updatedBy; + + private Builder() { + // force use of static builder() method + } + + /** + * The name of a field that was changed and tracked by this single instance of change in contact change + * history. + */ + public Builder updatedFieldName(@Nullable String updatedFieldName) { + this.updatedFieldName = updatedFieldName; + return this; + } + + /** + * The old value of a field that was changed. + */ + public Builder oldValue(@Nullable String oldValue) { + this.oldValue = oldValue; + return this; + } + + /** + * The new value of a field that was changed. + */ + public Builder newValue(@Nullable String newValue) { + this.newValue = newValue; + return this; + } + + /** + * Name of the place where this change was updated through. + */ + public Builder updatedThroughName(@Nullable UpdatedThroughNameProperty updatedThroughName) { + this.updatedThroughName = updatedThroughName; + return this; + } + + /** + * The ISO 8601 formatted date-time when the associated contact, of this single instance of change in + * contact change history, was updated. + */ + public Builder updatedDate(@Nullable OffsetDateTime updatedDate) { + this.updatedDate = updatedDate; + return this; + } + + /** + * The name of a person who updated a contact that is associated with this single instance of change in + * contact change history. + */ + public Builder updatedBy(@Nullable String updatedBy) { + this.updatedBy = updatedBy; + return this; + } + + public ContactHistory build() { + return new ContactHistory(updatedFieldName, oldValue, newValue, updatedThroughName, updatedDate, updatedBy); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactHistoryJson.java b/packages/java/src/main/java/com/cvent/models/components/ContactHistoryJson.java deleted file mode 100644 index f67c0a673..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ContactHistoryJson.java +++ /dev/null @@ -1,303 +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.Override; -import java.lang.String; -import java.time.OffsetDateTime; -import java.util.Optional; - -/** - * ContactHistoryJson - * - *

A single instance of change for a specific contact in the contact's change history. - */ -public class ContactHistoryJson { - /** - * The name of a field that was changed and tracked by this single instance of change in contact change - * history. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("updatedFieldName") - private String updatedFieldName; - - /** - * The old value of a field that was changed. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("oldValue") - private String oldValue; - - /** - * The new value of a field that was changed. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("newValue") - private String newValue; - - /** - * Name of the place where this change was updated through. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("updatedThroughName") - private UpdatedThroughNamePropertyJson updatedThroughName; - - /** - * The ISO 8601 formatted date-time when the associated contact, of this single instance of change in - * contact change history, was updated. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("updatedDate") - private OffsetDateTime updatedDate; - - /** - * The name of a person who updated a contact that is associated with this single instance of change in - * contact change history. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("updatedBy") - private String updatedBy; - - @JsonCreator - public ContactHistoryJson( - @JsonProperty("updatedFieldName") @Nullable String updatedFieldName, - @JsonProperty("oldValue") @Nullable String oldValue, - @JsonProperty("newValue") @Nullable String newValue, - @JsonProperty("updatedThroughName") @Nullable UpdatedThroughNamePropertyJson updatedThroughName, - @JsonProperty("updatedDate") @Nullable OffsetDateTime updatedDate, - @JsonProperty("updatedBy") @Nullable String updatedBy) { - this.updatedFieldName = updatedFieldName; - this.oldValue = oldValue; - this.newValue = newValue; - this.updatedThroughName = updatedThroughName; - this.updatedDate = updatedDate; - this.updatedBy = updatedBy; - } - - public ContactHistoryJson() { - this(null, null, null, null, null, null); - } - - /** - * The name of a field that was changed and tracked by this single instance of change in contact change - * history. - */ - public Optional updatedFieldName() { - return Optional.ofNullable(this.updatedFieldName); - } - - /** - * The old value of a field that was changed. - */ - public Optional oldValue() { - return Optional.ofNullable(this.oldValue); - } - - /** - * The new value of a field that was changed. - */ - public Optional newValue() { - return Optional.ofNullable(this.newValue); - } - - /** - * Name of the place where this change was updated through. - */ - public Optional updatedThroughName() { - return Optional.ofNullable(this.updatedThroughName); - } - - /** - * The ISO 8601 formatted date-time when the associated contact, of this single instance of change in - * contact change history, was updated. - */ - public Optional updatedDate() { - return Optional.ofNullable(this.updatedDate); - } - - /** - * The name of a person who updated a contact that is associated with this single instance of change in - * contact change history. - */ - public Optional updatedBy() { - return Optional.ofNullable(this.updatedBy); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The name of a field that was changed and tracked by this single instance of change in contact change - * history. - */ - public ContactHistoryJson withUpdatedFieldName(@Nullable String updatedFieldName) { - this.updatedFieldName = updatedFieldName; - return this; - } - - /** - * The old value of a field that was changed. - */ - public ContactHistoryJson withOldValue(@Nullable String oldValue) { - this.oldValue = oldValue; - return this; - } - - /** - * The new value of a field that was changed. - */ - public ContactHistoryJson withNewValue(@Nullable String newValue) { - this.newValue = newValue; - return this; - } - - /** - * Name of the place where this change was updated through. - */ - public ContactHistoryJson withUpdatedThroughName(@Nullable UpdatedThroughNamePropertyJson updatedThroughName) { - this.updatedThroughName = updatedThroughName; - return this; - } - - /** - * The ISO 8601 formatted date-time when the associated contact, of this single instance of change in - * contact change history, was updated. - */ - public ContactHistoryJson withUpdatedDate(@Nullable OffsetDateTime updatedDate) { - this.updatedDate = updatedDate; - return this; - } - - /** - * The name of a person who updated a contact that is associated with this single instance of change in - * contact change history. - */ - public ContactHistoryJson withUpdatedBy(@Nullable String updatedBy) { - this.updatedBy = updatedBy; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ContactHistoryJson other = (ContactHistoryJson) o; - return Utils.enhancedDeepEquals(this.updatedFieldName, other.updatedFieldName) - && Utils.enhancedDeepEquals(this.oldValue, other.oldValue) - && Utils.enhancedDeepEquals(this.newValue, other.newValue) - && Utils.enhancedDeepEquals(this.updatedThroughName, other.updatedThroughName) - && Utils.enhancedDeepEquals(this.updatedDate, other.updatedDate) - && Utils.enhancedDeepEquals(this.updatedBy, other.updatedBy); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(updatedFieldName, oldValue, newValue, updatedThroughName, updatedDate, updatedBy); - } - - @Override - public String toString() { - return Utils.toString( - ContactHistoryJson.class, - "updatedFieldName", - updatedFieldName, - "oldValue", - oldValue, - "newValue", - newValue, - "updatedThroughName", - updatedThroughName, - "updatedDate", - updatedDate, - "updatedBy", - updatedBy); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String updatedFieldName; - - private String oldValue; - - private String newValue; - - private UpdatedThroughNamePropertyJson updatedThroughName; - - private OffsetDateTime updatedDate; - - private String updatedBy; - - private Builder() { - // force use of static builder() method - } - - /** - * The name of a field that was changed and tracked by this single instance of change in contact change - * history. - */ - public Builder updatedFieldName(@Nullable String updatedFieldName) { - this.updatedFieldName = updatedFieldName; - return this; - } - - /** - * The old value of a field that was changed. - */ - public Builder oldValue(@Nullable String oldValue) { - this.oldValue = oldValue; - return this; - } - - /** - * The new value of a field that was changed. - */ - public Builder newValue(@Nullable String newValue) { - this.newValue = newValue; - return this; - } - - /** - * Name of the place where this change was updated through. - */ - public Builder updatedThroughName(@Nullable UpdatedThroughNamePropertyJson updatedThroughName) { - this.updatedThroughName = updatedThroughName; - return this; - } - - /** - * The ISO 8601 formatted date-time when the associated contact, of this single instance of change in - * contact change history, was updated. - */ - public Builder updatedDate(@Nullable OffsetDateTime updatedDate) { - this.updatedDate = updatedDate; - return this; - } - - /** - * The name of a person who updated a contact that is associated with this single instance of change in - * contact change history. - */ - public Builder updatedBy(@Nullable String updatedBy) { - this.updatedBy = updatedBy; - return this; - } - - public ContactHistoryJson build() { - return new ContactHistoryJson( - updatedFieldName, oldValue, newValue, updatedThroughName, updatedDate, updatedBy); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactHistoryPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/ContactHistoryPaginatedResponse.java index 04ac487e5..52b0c12d2 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ContactHistoryPaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/ContactHistoryPaginatedResponse.java @@ -25,19 +25,19 @@ public class ContactHistoryPaginatedResponse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * Collection of change histories for a specific contact. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("data") - private List data; + private List data; @JsonCreator public ContactHistoryPaginatedResponse( - @JsonProperty("paging") @Nullable PagingJson paging, - @JsonProperty("data") @Nullable List data) { + @JsonProperty("paging") @Nullable Paging paging, + @JsonProperty("data") @Nullable List data) { this.paging = paging; this.data = data; } @@ -49,14 +49,14 @@ public ContactHistoryPaginatedResponse() { /** * Represents pagination information for a collection of resources. */ - public Optional paging() { + public Optional paging() { return Optional.ofNullable(this.paging); } /** * Collection of change histories for a specific contact. */ - public Optional> data() { + public Optional> data() { return Optional.ofNullable(this.data); } @@ -67,7 +67,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public ContactHistoryPaginatedResponse withPaging(@Nullable PagingJson paging) { + public ContactHistoryPaginatedResponse withPaging(@Nullable Paging paging) { this.paging = paging; return this; } @@ -75,7 +75,7 @@ public ContactHistoryPaginatedResponse withPaging(@Nullable PagingJson paging) { /** * Collection of change histories for a specific contact. */ - public ContactHistoryPaginatedResponse withData(@Nullable List data) { + public ContactHistoryPaginatedResponse withData(@Nullable List data) { this.data = data; return this; } @@ -105,9 +105,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; - private List data; + private List data; private Builder() { // force use of static builder() method @@ -116,7 +116,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nullable PagingJson paging) { + public Builder paging(@Nullable Paging paging) { this.paging = paging; return this; } @@ -124,7 +124,7 @@ public Builder paging(@Nullable PagingJson paging) { /** * Collection of change histories for a specific contact. */ - 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/ContactId.java b/packages/java/src/main/java/com/cvent/models/components/ContactId.java new file mode 100644 index 000000000..909d14c16 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ContactId.java @@ -0,0 +1,93 @@ +/* + * 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; + +/** + * ContactId + * + *

A contact id. + */ +public class ContactId { + /** + * The ID of the contact. + */ + @JsonProperty("id") + private String id; + + @JsonCreator + public ContactId(@JsonProperty("id") @Nonnull String id) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + } + + /** + * The ID of the contact. + */ + public String id() { + return this.id; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The ID of the contact. + */ + public ContactId 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; + } + ContactId other = (ContactId) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(ContactId.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * The ID of the contact. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + public ContactId build() { + return new ContactId(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactIdJson.java b/packages/java/src/main/java/com/cvent/models/components/ContactIdJson.java deleted file mode 100644 index f4deed8ac..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ContactIdJson.java +++ /dev/null @@ -1,93 +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.Optional; - -/** - * ContactIdJson - * - *

A contact id. - */ -public class ContactIdJson { - /** - * The ID of the contact. - */ - @JsonProperty("id") - private String id; - - @JsonCreator - public ContactIdJson(@JsonProperty("id") @Nonnull String id) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - } - - /** - * The ID of the contact. - */ - public String id() { - return this.id; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The ID of the contact. - */ - public ContactIdJson 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; - } - ContactIdJson other = (ContactIdJson) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(ContactIdJson.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * The ID of the contact. - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - public ContactIdJson build() { - return new ContactIdJson(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactIdPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/ContactIdPaginatedResponse.java index 7fd576b21..f2088d995 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ContactIdPaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/ContactIdPaginatedResponse.java @@ -23,17 +23,17 @@ public class ContactIdPaginatedResponse { * Represents pagination information for a collection of resources. */ @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * Collection of contact ids. */ @JsonProperty("data") - private List data; + private List data; @JsonCreator public ContactIdPaginatedResponse( - @JsonProperty("paging") @Nonnull PagingJson paging, @JsonProperty("data") @Nonnull List data) { + @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")); @@ -42,14 +42,14 @@ public ContactIdPaginatedResponse( /** * Represents pagination information for a collection of resources. */ - public PagingJson paging() { + public Paging paging() { return this.paging; } /** * Collection of contact ids. */ - public List data() { + public List data() { return this.data; } @@ -60,7 +60,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public ContactIdPaginatedResponse withPaging(@Nonnull PagingJson paging) { + public ContactIdPaginatedResponse withPaging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } @@ -68,7 +68,7 @@ public ContactIdPaginatedResponse withPaging(@Nonnull PagingJson paging) { /** * Collection of contact ids. */ - public ContactIdPaginatedResponse withData(@Nonnull List data) { + public ContactIdPaginatedResponse withData(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } @@ -98,9 +98,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; - private List data; + private List data; private Builder() { // force use of static builder() method @@ -109,7 +109,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nonnull PagingJson paging) { + public Builder paging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } @@ -117,7 +117,7 @@ public Builder paging(@Nonnull PagingJson paging) { /** * Collection of contact ids. */ - public Builder data(@Nonnull List data) { + public Builder data(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactJson.java b/packages/java/src/main/java/com/cvent/models/components/ContactJson.java new file mode 100644 index 000000000..052b30274 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ContactJson.java @@ -0,0 +1,832 @@ +/* + * 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.Override; +import java.lang.String; +import java.util.Optional; + +/** + * ContactJson + * + *

The contact details. + */ +public class ContactJson { + /** + * The contact types used for the proposal. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("contactType") + private ContactTypeJson contactType; + + /** + * 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 URL of the organization's website. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("organizationWebsite") + private String organizationWebsite; + + /** + * The name of the organization. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("organization") + private String organization; + + /** + * Designation of the contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("title") + private String title; + + /** + * The email address of the contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("email") + private String email; + + /** + * The country code for the contact's phone number. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("countryCode") + private String countryCode; + + /** + * The phone number of the organization. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("phone") + private String phone; + + /** + * The organization's fax number. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("fax") + private String fax; + + /** + * The mobile number of the contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("mobile") + private String mobile; + + /** + * Address line 1 of contact's street address. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("streetAddress1") + private String streetAddress1; + + /** + * Address line 2 of contact's street address. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("streetAddress2") + private String streetAddress2; + + /** + * Address line 3 of contact's street address. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("streetAddress3") + private String streetAddress3; + + /** + * The city of the contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("city") + private String city; + + /** + * The state province code used for contact information. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("stateProvince") + private StateProvinceJson stateProvince; + + /** + * The postal code of the contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("postalCode") + private String postalCode; + + /** + * ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("country") + private CountryJson country; + + /** + * Additional notes of the contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("notes") + private String notes; + + @JsonCreator + public ContactJson( + @JsonProperty("contactType") @Nullable ContactTypeJson contactType, + @JsonProperty("firstName") @Nullable String firstName, + @JsonProperty("lastName") @Nullable String lastName, + @JsonProperty("organizationWebsite") @Nullable String organizationWebsite, + @JsonProperty("organization") @Nullable String organization, + @JsonProperty("title") @Nullable String title, + @JsonProperty("email") @Nullable String email, + @JsonProperty("countryCode") @Nullable String countryCode, + @JsonProperty("phone") @Nullable String phone, + @JsonProperty("fax") @Nullable String fax, + @JsonProperty("mobile") @Nullable String mobile, + @JsonProperty("streetAddress1") @Nullable String streetAddress1, + @JsonProperty("streetAddress2") @Nullable String streetAddress2, + @JsonProperty("streetAddress3") @Nullable String streetAddress3, + @JsonProperty("city") @Nullable String city, + @JsonProperty("stateProvince") @Nullable StateProvinceJson stateProvince, + @JsonProperty("postalCode") @Nullable String postalCode, + @JsonProperty("country") @Nullable CountryJson country, + @JsonProperty("notes") @Nullable String notes) { + this.contactType = Optional.ofNullable(contactType).orElse(Builder._SINGLETON_VALUE_ContactType.value()); + this.firstName = firstName; + this.lastName = lastName; + this.organizationWebsite = organizationWebsite; + this.organization = organization; + this.title = title; + this.email = email; + this.countryCode = countryCode; + this.phone = phone; + this.fax = fax; + this.mobile = mobile; + this.streetAddress1 = streetAddress1; + this.streetAddress2 = streetAddress2; + this.streetAddress3 = streetAddress3; + this.city = city; + this.stateProvince = stateProvince; + this.postalCode = postalCode; + this.country = country; + this.notes = notes; + } + + public ContactJson() { + this( + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null); + } + + /** + * The contact types used for the proposal. + */ + public Optional contactType() { + return Optional.ofNullable(this.contactType); + } + + /** + * 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 URL of the organization's website. + */ + public Optional organizationWebsite() { + return Optional.ofNullable(this.organizationWebsite); + } + + /** + * The name of the organization. + */ + public Optional organization() { + return Optional.ofNullable(this.organization); + } + + /** + * Designation of the contact. + */ + public Optional title() { + return Optional.ofNullable(this.title); + } + + /** + * The email address of the contact. + */ + public Optional email() { + return Optional.ofNullable(this.email); + } + + /** + * The country code for the contact's phone number. + */ + public Optional countryCode() { + return Optional.ofNullable(this.countryCode); + } + + /** + * The phone number of the organization. + */ + public Optional phone() { + return Optional.ofNullable(this.phone); + } + + /** + * The organization's fax number. + */ + public Optional fax() { + return Optional.ofNullable(this.fax); + } + + /** + * The mobile number of the contact. + */ + public Optional mobile() { + return Optional.ofNullable(this.mobile); + } + + /** + * Address line 1 of contact's street address. + */ + public Optional streetAddress1() { + return Optional.ofNullable(this.streetAddress1); + } + + /** + * Address line 2 of contact's street address. + */ + public Optional streetAddress2() { + return Optional.ofNullable(this.streetAddress2); + } + + /** + * Address line 3 of contact's street address. + */ + public Optional streetAddress3() { + return Optional.ofNullable(this.streetAddress3); + } + + /** + * The city of the contact. + */ + public Optional city() { + return Optional.ofNullable(this.city); + } + + /** + * The state province code used for contact information. + */ + public Optional stateProvince() { + return Optional.ofNullable(this.stateProvince); + } + + /** + * The postal code of the contact. + */ + public Optional postalCode() { + return Optional.ofNullable(this.postalCode); + } + + /** + * ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. + */ + public Optional country() { + return Optional.ofNullable(this.country); + } + + /** + * Additional notes of the contact. + */ + public Optional notes() { + return Optional.ofNullable(this.notes); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The contact types used for the proposal. + */ + public ContactJson withContactType(@Nullable ContactTypeJson contactType) { + this.contactType = contactType; + return this; + } + + /** + * The first name of the contact. + */ + public ContactJson withFirstName(@Nullable String firstName) { + this.firstName = firstName; + return this; + } + + /** + * The last name of the contact. + */ + public ContactJson withLastName(@Nullable String lastName) { + this.lastName = lastName; + return this; + } + + /** + * The URL of the organization's website. + */ + public ContactJson withOrganizationWebsite(@Nullable String organizationWebsite) { + this.organizationWebsite = organizationWebsite; + return this; + } + + /** + * The name of the organization. + */ + public ContactJson withOrganization(@Nullable String organization) { + this.organization = organization; + return this; + } + + /** + * Designation of the contact. + */ + public ContactJson withTitle(@Nullable String title) { + this.title = title; + return this; + } + + /** + * The email address of the contact. + */ + public ContactJson withEmail(@Nullable String email) { + this.email = email; + return this; + } + + /** + * The country code for the contact's phone number. + */ + public ContactJson withCountryCode(@Nullable String countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * The phone number of the organization. + */ + public ContactJson withPhone(@Nullable String phone) { + this.phone = phone; + return this; + } + + /** + * The organization's fax number. + */ + public ContactJson withFax(@Nullable String fax) { + this.fax = fax; + return this; + } + + /** + * The mobile number of the contact. + */ + public ContactJson withMobile(@Nullable String mobile) { + this.mobile = mobile; + return this; + } + + /** + * Address line 1 of contact's street address. + */ + public ContactJson withStreetAddress1(@Nullable String streetAddress1) { + this.streetAddress1 = streetAddress1; + return this; + } + + /** + * Address line 2 of contact's street address. + */ + public ContactJson withStreetAddress2(@Nullable String streetAddress2) { + this.streetAddress2 = streetAddress2; + return this; + } + + /** + * Address line 3 of contact's street address. + */ + public ContactJson withStreetAddress3(@Nullable String streetAddress3) { + this.streetAddress3 = streetAddress3; + return this; + } + + /** + * The city of the contact. + */ + public ContactJson withCity(@Nullable String city) { + this.city = city; + return this; + } + + /** + * The state province code used for contact information. + */ + public ContactJson withStateProvince(@Nullable StateProvinceJson stateProvince) { + this.stateProvince = stateProvince; + return this; + } + + /** + * The postal code of the contact. + */ + public ContactJson withPostalCode(@Nullable String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. + */ + public ContactJson withCountry(@Nullable CountryJson country) { + this.country = country; + return this; + } + + /** + * Additional notes of the contact. + */ + public ContactJson withNotes(@Nullable String notes) { + this.notes = notes; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ContactJson other = (ContactJson) o; + return Utils.enhancedDeepEquals(this.contactType, other.contactType) + && Utils.enhancedDeepEquals(this.firstName, other.firstName) + && Utils.enhancedDeepEquals(this.lastName, other.lastName) + && Utils.enhancedDeepEquals(this.organizationWebsite, other.organizationWebsite) + && Utils.enhancedDeepEquals(this.organization, other.organization) + && Utils.enhancedDeepEquals(this.title, other.title) + && Utils.enhancedDeepEquals(this.email, other.email) + && Utils.enhancedDeepEquals(this.countryCode, other.countryCode) + && Utils.enhancedDeepEquals(this.phone, other.phone) + && Utils.enhancedDeepEquals(this.fax, other.fax) + && Utils.enhancedDeepEquals(this.mobile, other.mobile) + && Utils.enhancedDeepEquals(this.streetAddress1, other.streetAddress1) + && Utils.enhancedDeepEquals(this.streetAddress2, other.streetAddress2) + && Utils.enhancedDeepEquals(this.streetAddress3, other.streetAddress3) + && Utils.enhancedDeepEquals(this.city, other.city) + && Utils.enhancedDeepEquals(this.stateProvince, other.stateProvince) + && Utils.enhancedDeepEquals(this.postalCode, other.postalCode) + && Utils.enhancedDeepEquals(this.country, other.country) + && Utils.enhancedDeepEquals(this.notes, other.notes); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + contactType, + firstName, + lastName, + organizationWebsite, + organization, + title, + email, + countryCode, + phone, + fax, + mobile, + streetAddress1, + streetAddress2, + streetAddress3, + city, + stateProvince, + postalCode, + country, + notes); + } + + @Override + public String toString() { + return Utils.toString( + ContactJson.class, + "contactType", + contactType, + "firstName", + firstName, + "lastName", + lastName, + "organizationWebsite", + organizationWebsite, + "organization", + organization, + "title", + title, + "email", + email, + "countryCode", + countryCode, + "phone", + phone, + "fax", + fax, + "mobile", + mobile, + "streetAddress1", + streetAddress1, + "streetAddress2", + streetAddress2, + "streetAddress3", + streetAddress3, + "city", + city, + "stateProvince", + stateProvince, + "postalCode", + postalCode, + "country", + country, + "notes", + notes); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private ContactTypeJson contactType; + + private String firstName; + + private String lastName; + + private String organizationWebsite; + + private String organization; + + private String title; + + private String email; + + private String countryCode; + + private String phone; + + private String fax; + + private String mobile; + + private String streetAddress1; + + private String streetAddress2; + + private String streetAddress3; + + private String city; + + private StateProvinceJson stateProvince; + + private String postalCode; + + private CountryJson country; + + private String notes; + + private Builder() { + // force use of static builder() method + } + + /** + * The contact types used for the proposal. + */ + public Builder contactType(@Nullable ContactTypeJson contactType) { + this.contactType = contactType; + 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 URL of the organization's website. + */ + public Builder organizationWebsite(@Nullable String organizationWebsite) { + this.organizationWebsite = organizationWebsite; + return this; + } + + /** + * The name of the organization. + */ + public Builder organization(@Nullable String organization) { + this.organization = organization; + return this; + } + + /** + * Designation of the contact. + */ + public Builder title(@Nullable String title) { + this.title = title; + return this; + } + + /** + * The email address of the contact. + */ + public Builder email(@Nullable String email) { + this.email = email; + return this; + } + + /** + * The country code for the contact's phone number. + */ + public Builder countryCode(@Nullable String countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * The phone number of the organization. + */ + public Builder phone(@Nullable String phone) { + this.phone = phone; + return this; + } + + /** + * The organization's fax number. + */ + public Builder fax(@Nullable String fax) { + this.fax = fax; + return this; + } + + /** + * The mobile number of the contact. + */ + public Builder mobile(@Nullable String mobile) { + this.mobile = mobile; + return this; + } + + /** + * Address line 1 of contact's street address. + */ + public Builder streetAddress1(@Nullable String streetAddress1) { + this.streetAddress1 = streetAddress1; + return this; + } + + /** + * Address line 2 of contact's street address. + */ + public Builder streetAddress2(@Nullable String streetAddress2) { + this.streetAddress2 = streetAddress2; + return this; + } + + /** + * Address line 3 of contact's street address. + */ + public Builder streetAddress3(@Nullable String streetAddress3) { + this.streetAddress3 = streetAddress3; + return this; + } + + /** + * The city of the contact. + */ + public Builder city(@Nullable String city) { + this.city = city; + return this; + } + + /** + * The state province code used for contact information. + */ + public Builder stateProvince(@Nullable StateProvinceJson stateProvince) { + this.stateProvince = stateProvince; + return this; + } + + /** + * The postal code of the contact. + */ + public Builder postalCode(@Nullable String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. + */ + public Builder country(@Nullable CountryJson country) { + this.country = country; + return this; + } + + /** + * Additional notes of the contact. + */ + public Builder notes(@Nullable String notes) { + this.notes = notes; + return this; + } + + public ContactJson build() { + return new ContactJson( + contactType, + firstName, + lastName, + organizationWebsite, + organization, + title, + email, + countryCode, + phone, + fax, + mobile, + streetAddress1, + streetAddress2, + streetAddress3, + city, + stateProvince, + postalCode, + country, + notes); + } + + private static final LazySingletonValue _SINGLETON_VALUE_ContactType = + new LazySingletonValue<>("contactType", "\"PRIMARY\"", new TypeReference() {}); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactJson0.java b/packages/java/src/main/java/com/cvent/models/components/ContactJson0.java deleted file mode 100644 index 3499f959b..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ContactJson0.java +++ /dev/null @@ -1,464 +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.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Boolean; -import java.lang.Double; -import java.lang.Override; -import java.lang.String; -import java.util.List; -import java.util.Optional; - -/** - * ContactJson0 - * - *

Contact details of planner. - */ -public class ContactJson0 { - /** - * The first name of the planner. - */ - @JsonProperty("firstName") - private String firstName; - - /** - * The last name of the planner. - */ - @JsonProperty("lastName") - private String lastName; - - /** - * Email address of the planner. - */ - @JsonProperty("email") - private String email; - - /** - * Address details. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("address") - private AddressJson0 address; - - /** - * Rate of commission chargeable by the planner. Precision up to 2 decimal places is accepted. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("commissionRate") - private Double commissionRate; - - /** - * True indicates commission is to be charged from supplier. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("commissionable") - private Boolean commissionable; - - /** - * Phone number of the planner. - */ - @JsonProperty("phone") - private String phone; - - /** - * Name of the organization. - */ - @JsonProperty("organizationName") - private String organizationName; - - /** - * True indicates planner is a third party planner. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("thirdPartyPlanner") - private Boolean thirdPartyPlanner; - - /** - * List of preferred contact methods for the planner. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("preferredContactMethods") - private List preferredContactMethods; - - @JsonCreator - public ContactJson0( - @JsonProperty("firstName") @Nonnull String firstName, - @JsonProperty("lastName") @Nonnull String lastName, - @JsonProperty("email") @Nonnull String email, - @JsonProperty("address") @Nullable AddressJson0 address, - @JsonProperty("commissionRate") @Nullable Double commissionRate, - @JsonProperty("commissionable") @Nullable Boolean commissionable, - @JsonProperty("phone") @Nonnull String phone, - @JsonProperty("organizationName") @Nonnull String organizationName, - @JsonProperty("thirdPartyPlanner") @Nullable Boolean thirdPartyPlanner, - @JsonProperty("preferredContactMethods") @Nullable List preferredContactMethods) { - 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.email = Optional.ofNullable(email).orElseThrow(() -> new IllegalArgumentException("email cannot be null")); - this.address = address; - this.commissionRate = commissionRate; - this.commissionable = commissionable; - this.phone = Optional.ofNullable(phone).orElseThrow(() -> new IllegalArgumentException("phone cannot be null")); - this.organizationName = Optional.ofNullable(organizationName) - .orElseThrow(() -> new IllegalArgumentException("organizationName cannot be null")); - this.thirdPartyPlanner = thirdPartyPlanner; - this.preferredContactMethods = preferredContactMethods; - } - - public ContactJson0( - @Nonnull String firstName, - @Nonnull String lastName, - @Nonnull String email, - @Nonnull String phone, - @Nonnull String organizationName) { - this(firstName, lastName, email, null, null, null, phone, organizationName, null, null); - } - - /** - * The first name of the planner. - */ - public String firstName() { - return this.firstName; - } - - /** - * The last name of the planner. - */ - public String lastName() { - return this.lastName; - } - - /** - * Email address of the planner. - */ - public String email() { - return this.email; - } - - /** - * Address details. - */ - public Optional address() { - return Optional.ofNullable(this.address); - } - - /** - * Rate of commission chargeable by the planner. Precision up to 2 decimal places is accepted. - */ - public Optional commissionRate() { - return Optional.ofNullable(this.commissionRate); - } - - /** - * True indicates commission is to be charged from supplier. - */ - public Optional commissionable() { - return Optional.ofNullable(this.commissionable); - } - - /** - * Phone number of the planner. - */ - public String phone() { - return this.phone; - } - - /** - * Name of the organization. - */ - public String organizationName() { - return this.organizationName; - } - - /** - * True indicates planner is a third party planner. - */ - public Optional thirdPartyPlanner() { - return Optional.ofNullable(this.thirdPartyPlanner); - } - - /** - * List of preferred contact methods for the planner. - */ - public Optional> preferredContactMethods() { - return Optional.ofNullable(this.preferredContactMethods); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The first name of the planner. - */ - public ContactJson0 withFirstName(@Nonnull String firstName) { - this.firstName = Utils.checkNotNull(firstName, "firstName"); - return this; - } - - /** - * The last name of the planner. - */ - public ContactJson0 withLastName(@Nonnull String lastName) { - this.lastName = Utils.checkNotNull(lastName, "lastName"); - return this; - } - - /** - * Email address of the planner. - */ - public ContactJson0 withEmail(@Nonnull String email) { - this.email = Utils.checkNotNull(email, "email"); - return this; - } - - /** - * Address details. - */ - public ContactJson0 withAddress(@Nullable AddressJson0 address) { - this.address = address; - return this; - } - - /** - * Rate of commission chargeable by the planner. Precision up to 2 decimal places is accepted. - */ - public ContactJson0 withCommissionRate(@Nullable Double commissionRate) { - this.commissionRate = commissionRate; - return this; - } - - /** - * True indicates commission is to be charged from supplier. - */ - public ContactJson0 withCommissionable(@Nullable Boolean commissionable) { - this.commissionable = commissionable; - return this; - } - - /** - * Phone number of the planner. - */ - public ContactJson0 withPhone(@Nonnull String phone) { - this.phone = Utils.checkNotNull(phone, "phone"); - return this; - } - - /** - * Name of the organization. - */ - public ContactJson0 withOrganizationName(@Nonnull String organizationName) { - this.organizationName = Utils.checkNotNull(organizationName, "organizationName"); - return this; - } - - /** - * True indicates planner is a third party planner. - */ - public ContactJson0 withThirdPartyPlanner(@Nullable Boolean thirdPartyPlanner) { - this.thirdPartyPlanner = thirdPartyPlanner; - return this; - } - - /** - * List of preferred contact methods for the planner. - */ - public ContactJson0 withPreferredContactMethods(@Nullable List preferredContactMethods) { - this.preferredContactMethods = preferredContactMethods; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ContactJson0 other = (ContactJson0) o; - return Utils.enhancedDeepEquals(this.firstName, other.firstName) - && Utils.enhancedDeepEquals(this.lastName, other.lastName) - && Utils.enhancedDeepEquals(this.email, other.email) - && Utils.enhancedDeepEquals(this.address, other.address) - && Utils.enhancedDeepEquals(this.commissionRate, other.commissionRate) - && Utils.enhancedDeepEquals(this.commissionable, other.commissionable) - && Utils.enhancedDeepEquals(this.phone, other.phone) - && Utils.enhancedDeepEquals(this.organizationName, other.organizationName) - && Utils.enhancedDeepEquals(this.thirdPartyPlanner, other.thirdPartyPlanner) - && Utils.enhancedDeepEquals(this.preferredContactMethods, other.preferredContactMethods); - } - - @Override - public int hashCode() { - return Utils.enhancedHash( - firstName, - lastName, - email, - address, - commissionRate, - commissionable, - phone, - organizationName, - thirdPartyPlanner, - preferredContactMethods); - } - - @Override - public String toString() { - return Utils.toString( - ContactJson0.class, - "firstName", - firstName, - "lastName", - lastName, - "email", - email, - "address", - address, - "commissionRate", - commissionRate, - "commissionable", - commissionable, - "phone", - phone, - "organizationName", - organizationName, - "thirdPartyPlanner", - thirdPartyPlanner, - "preferredContactMethods", - preferredContactMethods); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String firstName; - - private String lastName; - - private String email; - - private AddressJson0 address; - - private Double commissionRate; - - private Boolean commissionable; - - private String phone; - - private String organizationName; - - private Boolean thirdPartyPlanner; - - private List preferredContactMethods; - - private Builder() { - // force use of static builder() method - } - - /** - * The first name of the planner. - */ - public Builder firstName(@Nonnull String firstName) { - this.firstName = Utils.checkNotNull(firstName, "firstName"); - return this; - } - - /** - * The last name of the planner. - */ - public Builder lastName(@Nonnull String lastName) { - this.lastName = Utils.checkNotNull(lastName, "lastName"); - return this; - } - - /** - * Email address of the planner. - */ - public Builder email(@Nonnull String email) { - this.email = Utils.checkNotNull(email, "email"); - return this; - } - - /** - * Address details. - */ - public Builder address(@Nullable AddressJson0 address) { - this.address = address; - return this; - } - - /** - * Rate of commission chargeable by the planner. Precision up to 2 decimal places is accepted. - */ - public Builder commissionRate(@Nullable Double commissionRate) { - this.commissionRate = commissionRate; - return this; - } - - /** - * True indicates commission is to be charged from supplier. - */ - public Builder commissionable(@Nullable Boolean commissionable) { - this.commissionable = commissionable; - return this; - } - - /** - * Phone number of the planner. - */ - public Builder phone(@Nonnull String phone) { - this.phone = Utils.checkNotNull(phone, "phone"); - return this; - } - - /** - * Name of the organization. - */ - public Builder organizationName(@Nonnull String organizationName) { - this.organizationName = Utils.checkNotNull(organizationName, "organizationName"); - return this; - } - - /** - * True indicates planner is a third party planner. - */ - public Builder thirdPartyPlanner(@Nullable Boolean thirdPartyPlanner) { - this.thirdPartyPlanner = thirdPartyPlanner; - return this; - } - - /** - * List of preferred contact methods for the planner. - */ - public Builder preferredContactMethods(@Nullable List preferredContactMethods) { - this.preferredContactMethods = preferredContactMethods; - return this; - } - - public ContactJson0 build() { - return new ContactJson0( - firstName, - lastName, - email, - address, - commissionRate, - commissionable, - phone, - organizationName, - thirdPartyPlanner, - preferredContactMethods); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactJson1.java b/packages/java/src/main/java/com/cvent/models/components/ContactJson1.java deleted file mode 100644 index acdceca1b..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ContactJson1.java +++ /dev/null @@ -1,832 +0,0 @@ -/* - * 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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ContactJson1 - * - *

The contact details. - */ -public class ContactJson1 { - /** - * The contact types used for the proposal. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("contactType") - private ContactTypeJson1 contactType; - - /** - * 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 URL of the organization's website. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("organizationWebsite") - private String organizationWebsite; - - /** - * The name of the organization. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("organization") - private String organization; - - /** - * Designation of the contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("title") - private String title; - - /** - * The email address of the contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("email") - private String email; - - /** - * The country code for the contact's phone number. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("countryCode") - private String countryCode; - - /** - * The phone number of the organization. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("phone") - private String phone; - - /** - * The organization's fax number. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("fax") - private String fax; - - /** - * The mobile number of the contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("mobile") - private String mobile; - - /** - * Address line 1 of contact's street address. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("streetAddress1") - private String streetAddress1; - - /** - * Address line 2 of contact's street address. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("streetAddress2") - private String streetAddress2; - - /** - * Address line 3 of contact's street address. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("streetAddress3") - private String streetAddress3; - - /** - * The city of the contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("city") - private String city; - - /** - * The state province code used for contact information. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("stateProvince") - private StateProvinceJson stateProvince; - - /** - * The postal code of the contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("postalCode") - private String postalCode; - - /** - * ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("country") - private CountryJson country; - - /** - * Additional notes of the contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("notes") - private String notes; - - @JsonCreator - public ContactJson1( - @JsonProperty("contactType") @Nullable ContactTypeJson1 contactType, - @JsonProperty("firstName") @Nullable String firstName, - @JsonProperty("lastName") @Nullable String lastName, - @JsonProperty("organizationWebsite") @Nullable String organizationWebsite, - @JsonProperty("organization") @Nullable String organization, - @JsonProperty("title") @Nullable String title, - @JsonProperty("email") @Nullable String email, - @JsonProperty("countryCode") @Nullable String countryCode, - @JsonProperty("phone") @Nullable String phone, - @JsonProperty("fax") @Nullable String fax, - @JsonProperty("mobile") @Nullable String mobile, - @JsonProperty("streetAddress1") @Nullable String streetAddress1, - @JsonProperty("streetAddress2") @Nullable String streetAddress2, - @JsonProperty("streetAddress3") @Nullable String streetAddress3, - @JsonProperty("city") @Nullable String city, - @JsonProperty("stateProvince") @Nullable StateProvinceJson stateProvince, - @JsonProperty("postalCode") @Nullable String postalCode, - @JsonProperty("country") @Nullable CountryJson country, - @JsonProperty("notes") @Nullable String notes) { - this.contactType = Optional.ofNullable(contactType).orElse(Builder._SINGLETON_VALUE_ContactType.value()); - this.firstName = firstName; - this.lastName = lastName; - this.organizationWebsite = organizationWebsite; - this.organization = organization; - this.title = title; - this.email = email; - this.countryCode = countryCode; - this.phone = phone; - this.fax = fax; - this.mobile = mobile; - this.streetAddress1 = streetAddress1; - this.streetAddress2 = streetAddress2; - this.streetAddress3 = streetAddress3; - this.city = city; - this.stateProvince = stateProvince; - this.postalCode = postalCode; - this.country = country; - this.notes = notes; - } - - public ContactJson1() { - this( - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null); - } - - /** - * The contact types used for the proposal. - */ - public Optional contactType() { - return Optional.ofNullable(this.contactType); - } - - /** - * 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 URL of the organization's website. - */ - public Optional organizationWebsite() { - return Optional.ofNullable(this.organizationWebsite); - } - - /** - * The name of the organization. - */ - public Optional organization() { - return Optional.ofNullable(this.organization); - } - - /** - * Designation of the contact. - */ - public Optional title() { - return Optional.ofNullable(this.title); - } - - /** - * The email address of the contact. - */ - public Optional email() { - return Optional.ofNullable(this.email); - } - - /** - * The country code for the contact's phone number. - */ - public Optional countryCode() { - return Optional.ofNullable(this.countryCode); - } - - /** - * The phone number of the organization. - */ - public Optional phone() { - return Optional.ofNullable(this.phone); - } - - /** - * The organization's fax number. - */ - public Optional fax() { - return Optional.ofNullable(this.fax); - } - - /** - * The mobile number of the contact. - */ - public Optional mobile() { - return Optional.ofNullable(this.mobile); - } - - /** - * Address line 1 of contact's street address. - */ - public Optional streetAddress1() { - return Optional.ofNullable(this.streetAddress1); - } - - /** - * Address line 2 of contact's street address. - */ - public Optional streetAddress2() { - return Optional.ofNullable(this.streetAddress2); - } - - /** - * Address line 3 of contact's street address. - */ - public Optional streetAddress3() { - return Optional.ofNullable(this.streetAddress3); - } - - /** - * The city of the contact. - */ - public Optional city() { - return Optional.ofNullable(this.city); - } - - /** - * The state province code used for contact information. - */ - public Optional stateProvince() { - return Optional.ofNullable(this.stateProvince); - } - - /** - * The postal code of the contact. - */ - public Optional postalCode() { - return Optional.ofNullable(this.postalCode); - } - - /** - * ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. - */ - public Optional country() { - return Optional.ofNullable(this.country); - } - - /** - * Additional notes of the contact. - */ - public Optional notes() { - return Optional.ofNullable(this.notes); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The contact types used for the proposal. - */ - public ContactJson1 withContactType(@Nullable ContactTypeJson1 contactType) { - this.contactType = contactType; - return this; - } - - /** - * The first name of the contact. - */ - public ContactJson1 withFirstName(@Nullable String firstName) { - this.firstName = firstName; - return this; - } - - /** - * The last name of the contact. - */ - public ContactJson1 withLastName(@Nullable String lastName) { - this.lastName = lastName; - return this; - } - - /** - * The URL of the organization's website. - */ - public ContactJson1 withOrganizationWebsite(@Nullable String organizationWebsite) { - this.organizationWebsite = organizationWebsite; - return this; - } - - /** - * The name of the organization. - */ - public ContactJson1 withOrganization(@Nullable String organization) { - this.organization = organization; - return this; - } - - /** - * Designation of the contact. - */ - public ContactJson1 withTitle(@Nullable String title) { - this.title = title; - return this; - } - - /** - * The email address of the contact. - */ - public ContactJson1 withEmail(@Nullable String email) { - this.email = email; - return this; - } - - /** - * The country code for the contact's phone number. - */ - public ContactJson1 withCountryCode(@Nullable String countryCode) { - this.countryCode = countryCode; - return this; - } - - /** - * The phone number of the organization. - */ - public ContactJson1 withPhone(@Nullable String phone) { - this.phone = phone; - return this; - } - - /** - * The organization's fax number. - */ - public ContactJson1 withFax(@Nullable String fax) { - this.fax = fax; - return this; - } - - /** - * The mobile number of the contact. - */ - public ContactJson1 withMobile(@Nullable String mobile) { - this.mobile = mobile; - return this; - } - - /** - * Address line 1 of contact's street address. - */ - public ContactJson1 withStreetAddress1(@Nullable String streetAddress1) { - this.streetAddress1 = streetAddress1; - return this; - } - - /** - * Address line 2 of contact's street address. - */ - public ContactJson1 withStreetAddress2(@Nullable String streetAddress2) { - this.streetAddress2 = streetAddress2; - return this; - } - - /** - * Address line 3 of contact's street address. - */ - public ContactJson1 withStreetAddress3(@Nullable String streetAddress3) { - this.streetAddress3 = streetAddress3; - return this; - } - - /** - * The city of the contact. - */ - public ContactJson1 withCity(@Nullable String city) { - this.city = city; - return this; - } - - /** - * The state province code used for contact information. - */ - public ContactJson1 withStateProvince(@Nullable StateProvinceJson stateProvince) { - this.stateProvince = stateProvince; - return this; - } - - /** - * The postal code of the contact. - */ - public ContactJson1 withPostalCode(@Nullable String postalCode) { - this.postalCode = postalCode; - return this; - } - - /** - * ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. - */ - public ContactJson1 withCountry(@Nullable CountryJson country) { - this.country = country; - return this; - } - - /** - * Additional notes of the contact. - */ - public ContactJson1 withNotes(@Nullable String notes) { - this.notes = notes; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ContactJson1 other = (ContactJson1) o; - return Utils.enhancedDeepEquals(this.contactType, other.contactType) - && Utils.enhancedDeepEquals(this.firstName, other.firstName) - && Utils.enhancedDeepEquals(this.lastName, other.lastName) - && Utils.enhancedDeepEquals(this.organizationWebsite, other.organizationWebsite) - && Utils.enhancedDeepEquals(this.organization, other.organization) - && Utils.enhancedDeepEquals(this.title, other.title) - && Utils.enhancedDeepEquals(this.email, other.email) - && Utils.enhancedDeepEquals(this.countryCode, other.countryCode) - && Utils.enhancedDeepEquals(this.phone, other.phone) - && Utils.enhancedDeepEquals(this.fax, other.fax) - && Utils.enhancedDeepEquals(this.mobile, other.mobile) - && Utils.enhancedDeepEquals(this.streetAddress1, other.streetAddress1) - && Utils.enhancedDeepEquals(this.streetAddress2, other.streetAddress2) - && Utils.enhancedDeepEquals(this.streetAddress3, other.streetAddress3) - && Utils.enhancedDeepEquals(this.city, other.city) - && Utils.enhancedDeepEquals(this.stateProvince, other.stateProvince) - && Utils.enhancedDeepEquals(this.postalCode, other.postalCode) - && Utils.enhancedDeepEquals(this.country, other.country) - && Utils.enhancedDeepEquals(this.notes, other.notes); - } - - @Override - public int hashCode() { - return Utils.enhancedHash( - contactType, - firstName, - lastName, - organizationWebsite, - organization, - title, - email, - countryCode, - phone, - fax, - mobile, - streetAddress1, - streetAddress2, - streetAddress3, - city, - stateProvince, - postalCode, - country, - notes); - } - - @Override - public String toString() { - return Utils.toString( - ContactJson1.class, - "contactType", - contactType, - "firstName", - firstName, - "lastName", - lastName, - "organizationWebsite", - organizationWebsite, - "organization", - organization, - "title", - title, - "email", - email, - "countryCode", - countryCode, - "phone", - phone, - "fax", - fax, - "mobile", - mobile, - "streetAddress1", - streetAddress1, - "streetAddress2", - streetAddress2, - "streetAddress3", - streetAddress3, - "city", - city, - "stateProvince", - stateProvince, - "postalCode", - postalCode, - "country", - country, - "notes", - notes); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private ContactTypeJson1 contactType; - - private String firstName; - - private String lastName; - - private String organizationWebsite; - - private String organization; - - private String title; - - private String email; - - private String countryCode; - - private String phone; - - private String fax; - - private String mobile; - - private String streetAddress1; - - private String streetAddress2; - - private String streetAddress3; - - private String city; - - private StateProvinceJson stateProvince; - - private String postalCode; - - private CountryJson country; - - private String notes; - - private Builder() { - // force use of static builder() method - } - - /** - * The contact types used for the proposal. - */ - public Builder contactType(@Nullable ContactTypeJson1 contactType) { - this.contactType = contactType; - 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 URL of the organization's website. - */ - public Builder organizationWebsite(@Nullable String organizationWebsite) { - this.organizationWebsite = organizationWebsite; - return this; - } - - /** - * The name of the organization. - */ - public Builder organization(@Nullable String organization) { - this.organization = organization; - return this; - } - - /** - * Designation of the contact. - */ - public Builder title(@Nullable String title) { - this.title = title; - return this; - } - - /** - * The email address of the contact. - */ - public Builder email(@Nullable String email) { - this.email = email; - return this; - } - - /** - * The country code for the contact's phone number. - */ - public Builder countryCode(@Nullable String countryCode) { - this.countryCode = countryCode; - return this; - } - - /** - * The phone number of the organization. - */ - public Builder phone(@Nullable String phone) { - this.phone = phone; - return this; - } - - /** - * The organization's fax number. - */ - public Builder fax(@Nullable String fax) { - this.fax = fax; - return this; - } - - /** - * The mobile number of the contact. - */ - public Builder mobile(@Nullable String mobile) { - this.mobile = mobile; - return this; - } - - /** - * Address line 1 of contact's street address. - */ - public Builder streetAddress1(@Nullable String streetAddress1) { - this.streetAddress1 = streetAddress1; - return this; - } - - /** - * Address line 2 of contact's street address. - */ - public Builder streetAddress2(@Nullable String streetAddress2) { - this.streetAddress2 = streetAddress2; - return this; - } - - /** - * Address line 3 of contact's street address. - */ - public Builder streetAddress3(@Nullable String streetAddress3) { - this.streetAddress3 = streetAddress3; - return this; - } - - /** - * The city of the contact. - */ - public Builder city(@Nullable String city) { - this.city = city; - return this; - } - - /** - * The state province code used for contact information. - */ - public Builder stateProvince(@Nullable StateProvinceJson stateProvince) { - this.stateProvince = stateProvince; - return this; - } - - /** - * The postal code of the contact. - */ - public Builder postalCode(@Nullable String postalCode) { - this.postalCode = postalCode; - return this; - } - - /** - * ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. - */ - public Builder country(@Nullable CountryJson country) { - this.country = country; - return this; - } - - /** - * Additional notes of the contact. - */ - public Builder notes(@Nullable String notes) { - this.notes = notes; - return this; - } - - public ContactJson1 build() { - return new ContactJson1( - contactType, - firstName, - lastName, - organizationWebsite, - organization, - title, - email, - countryCode, - phone, - fax, - mobile, - streetAddress1, - streetAddress2, - streetAddress3, - city, - stateProvince, - postalCode, - country, - notes); - } - - private static final LazySingletonValue _SINGLETON_VALUE_ContactType = - new LazySingletonValue<>("contactType", "\"PRIMARY\"", new TypeReference() {}); - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactJson2.java b/packages/java/src/main/java/com/cvent/models/components/ContactJson2.java deleted file mode 100644 index f0470384e..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ContactJson2.java +++ /dev/null @@ -1,100 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ContactJson2 - * - *

The contact details who watched a video - */ -public class ContactJson2 { - /** - * The unique ID of the contact who watched a video. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public ContactJson2(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public ContactJson2() { - this(null); - } - - /** - * The unique ID of the contact who watched a video. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique ID of the contact who watched a video. - */ - public ContactJson2 withId(@Nullable String id) { - this.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; - } - ContactJson2 other = (ContactJson2) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(ContactJson2.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique ID of the contact who watched a video. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public ContactJson2 build() { - return new ContactJson2(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactLinksInput.java b/packages/java/src/main/java/com/cvent/models/components/ContactLinksInput.java new file mode 100644 index 000000000..c4333f0c6 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ContactLinksInput.java @@ -0,0 +1,178 @@ +/* + * 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; + +/** + * ContactLinksInput + * + *

Collection of social media links for the contact. + */ +public class ContactLinksInput { + /** + * Represents a link to a related resource. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("twitterUrl") + private Link twitterUrl; + + /** + * Represents a link to a related resource. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("facebookUrl") + private Link facebookUrl; + + /** + * Represents a link to a related resource. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("linkedInUrl") + private Link linkedInUrl; + + @JsonCreator + public ContactLinksInput( + @JsonProperty("twitterUrl") @Nullable Link twitterUrl, + @JsonProperty("facebookUrl") @Nullable Link facebookUrl, + @JsonProperty("linkedInUrl") @Nullable Link linkedInUrl) { + this.twitterUrl = twitterUrl; + this.facebookUrl = facebookUrl; + this.linkedInUrl = linkedInUrl; + } + + public ContactLinksInput() { + this(null, null, null); + } + + /** + * Represents a link to a related resource. + */ + public Optional twitterUrl() { + return Optional.ofNullable(this.twitterUrl); + } + + /** + * Represents a link to a related resource. + */ + public Optional facebookUrl() { + return Optional.ofNullable(this.facebookUrl); + } + + /** + * Represents a link to a related resource. + */ + public Optional linkedInUrl() { + return Optional.ofNullable(this.linkedInUrl); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Represents a link to a related resource. + */ + public ContactLinksInput withTwitterUrl(@Nullable Link twitterUrl) { + this.twitterUrl = twitterUrl; + return this; + } + + /** + * Represents a link to a related resource. + */ + public ContactLinksInput withFacebookUrl(@Nullable Link facebookUrl) { + this.facebookUrl = facebookUrl; + return this; + } + + /** + * Represents a link to a related resource. + */ + public ContactLinksInput withLinkedInUrl(@Nullable Link linkedInUrl) { + this.linkedInUrl = linkedInUrl; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ContactLinksInput other = (ContactLinksInput) o; + return Utils.enhancedDeepEquals(this.twitterUrl, other.twitterUrl) + && Utils.enhancedDeepEquals(this.facebookUrl, other.facebookUrl) + && Utils.enhancedDeepEquals(this.linkedInUrl, other.linkedInUrl); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(twitterUrl, facebookUrl, linkedInUrl); + } + + @Override + public String toString() { + return Utils.toString( + ContactLinksInput.class, + "twitterUrl", + twitterUrl, + "facebookUrl", + facebookUrl, + "linkedInUrl", + linkedInUrl); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private Link twitterUrl; + + private Link facebookUrl; + + private Link linkedInUrl; + + private Builder() { + // force use of static builder() method + } + + /** + * Represents a link to a related resource. + */ + public Builder twitterUrl(@Nullable Link twitterUrl) { + this.twitterUrl = twitterUrl; + return this; + } + + /** + * Represents a link to a related resource. + */ + public Builder facebookUrl(@Nullable Link facebookUrl) { + this.facebookUrl = facebookUrl; + return this; + } + + /** + * Represents a link to a related resource. + */ + public Builder linkedInUrl(@Nullable Link linkedInUrl) { + this.linkedInUrl = linkedInUrl; + return this; + } + + public ContactLinksInput build() { + return new ContactLinksInput(twitterUrl, facebookUrl, linkedInUrl); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactLinksJson.java b/packages/java/src/main/java/com/cvent/models/components/ContactLinksJson.java deleted file mode 100644 index 11225c310..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ContactLinksJson.java +++ /dev/null @@ -1,215 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ContactLinksJson - * - *

Collection of social media links for the contact. - */ -public class ContactLinksJson { - /** - * Represents a link to a related resource. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("twitterUrl") - private LinkJson twitterUrl; - - /** - * Represents a link to a related resource. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("facebookUrl") - private LinkJson facebookUrl; - - /** - * Represents a link to a related resource. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("linkedInUrl") - private LinkJson linkedInUrl; - - /** - * Reference to a profile picture. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("profilePicture") - private ContactLinksJsonLink profilePicture; - - @JsonCreator - public ContactLinksJson( - @JsonProperty("twitterUrl") @Nullable LinkJson twitterUrl, - @JsonProperty("facebookUrl") @Nullable LinkJson facebookUrl, - @JsonProperty("linkedInUrl") @Nullable LinkJson linkedInUrl, - @JsonProperty("profilePicture") @Nullable ContactLinksJsonLink profilePicture) { - this.twitterUrl = twitterUrl; - this.facebookUrl = facebookUrl; - this.linkedInUrl = linkedInUrl; - this.profilePicture = profilePicture; - } - - public ContactLinksJson() { - this(null, null, null, null); - } - - /** - * Represents a link to a related resource. - */ - public Optional twitterUrl() { - return Optional.ofNullable(this.twitterUrl); - } - - /** - * Represents a link to a related resource. - */ - public Optional facebookUrl() { - return Optional.ofNullable(this.facebookUrl); - } - - /** - * Represents a link to a related resource. - */ - public Optional linkedInUrl() { - return Optional.ofNullable(this.linkedInUrl); - } - - /** - * Reference to a profile picture. - */ - public Optional profilePicture() { - return Optional.ofNullable(this.profilePicture); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Represents a link to a related resource. - */ - public ContactLinksJson withTwitterUrl(@Nullable LinkJson twitterUrl) { - this.twitterUrl = twitterUrl; - return this; - } - - /** - * Represents a link to a related resource. - */ - public ContactLinksJson withFacebookUrl(@Nullable LinkJson facebookUrl) { - this.facebookUrl = facebookUrl; - return this; - } - - /** - * Represents a link to a related resource. - */ - public ContactLinksJson withLinkedInUrl(@Nullable LinkJson linkedInUrl) { - this.linkedInUrl = linkedInUrl; - return this; - } - - /** - * Reference to a profile picture. - */ - public ContactLinksJson withProfilePicture(@Nullable ContactLinksJsonLink profilePicture) { - this.profilePicture = profilePicture; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ContactLinksJson other = (ContactLinksJson) o; - return Utils.enhancedDeepEquals(this.twitterUrl, other.twitterUrl) - && Utils.enhancedDeepEquals(this.facebookUrl, other.facebookUrl) - && Utils.enhancedDeepEquals(this.linkedInUrl, other.linkedInUrl) - && Utils.enhancedDeepEquals(this.profilePicture, other.profilePicture); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(twitterUrl, facebookUrl, linkedInUrl, profilePicture); - } - - @Override - public String toString() { - return Utils.toString( - ContactLinksJson.class, - "twitterUrl", - twitterUrl, - "facebookUrl", - facebookUrl, - "linkedInUrl", - linkedInUrl, - "profilePicture", - profilePicture); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private LinkJson twitterUrl; - - private LinkJson facebookUrl; - - private LinkJson linkedInUrl; - - private ContactLinksJsonLink profilePicture; - - private Builder() { - // force use of static builder() method - } - - /** - * Represents a link to a related resource. - */ - public Builder twitterUrl(@Nullable LinkJson twitterUrl) { - this.twitterUrl = twitterUrl; - return this; - } - - /** - * Represents a link to a related resource. - */ - public Builder facebookUrl(@Nullable LinkJson facebookUrl) { - this.facebookUrl = facebookUrl; - return this; - } - - /** - * Represents a link to a related resource. - */ - public Builder linkedInUrl(@Nullable LinkJson linkedInUrl) { - this.linkedInUrl = linkedInUrl; - return this; - } - - /** - * Reference to a profile picture. - */ - public Builder profilePicture(@Nullable ContactLinksJsonLink profilePicture) { - this.profilePicture = profilePicture; - return this; - } - - public ContactLinksJson build() { - return new ContactLinksJson(twitterUrl, facebookUrl, linkedInUrl, profilePicture); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactLinksJsonInput.java b/packages/java/src/main/java/com/cvent/models/components/ContactLinksJsonInput.java deleted file mode 100644 index 061fa5c11..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ContactLinksJsonInput.java +++ /dev/null @@ -1,178 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * ContactLinksJsonInput - * - *

Collection of social media links for the contact. - */ -public class ContactLinksJsonInput { - /** - * Represents a link to a related resource. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("twitterUrl") - private LinkJson twitterUrl; - - /** - * Represents a link to a related resource. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("facebookUrl") - private LinkJson facebookUrl; - - /** - * Represents a link to a related resource. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("linkedInUrl") - private LinkJson linkedInUrl; - - @JsonCreator - public ContactLinksJsonInput( - @JsonProperty("twitterUrl") @Nullable LinkJson twitterUrl, - @JsonProperty("facebookUrl") @Nullable LinkJson facebookUrl, - @JsonProperty("linkedInUrl") @Nullable LinkJson linkedInUrl) { - this.twitterUrl = twitterUrl; - this.facebookUrl = facebookUrl; - this.linkedInUrl = linkedInUrl; - } - - public ContactLinksJsonInput() { - this(null, null, null); - } - - /** - * Represents a link to a related resource. - */ - public Optional twitterUrl() { - return Optional.ofNullable(this.twitterUrl); - } - - /** - * Represents a link to a related resource. - */ - public Optional facebookUrl() { - return Optional.ofNullable(this.facebookUrl); - } - - /** - * Represents a link to a related resource. - */ - public Optional linkedInUrl() { - return Optional.ofNullable(this.linkedInUrl); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Represents a link to a related resource. - */ - public ContactLinksJsonInput withTwitterUrl(@Nullable LinkJson twitterUrl) { - this.twitterUrl = twitterUrl; - return this; - } - - /** - * Represents a link to a related resource. - */ - public ContactLinksJsonInput withFacebookUrl(@Nullable LinkJson facebookUrl) { - this.facebookUrl = facebookUrl; - return this; - } - - /** - * Represents a link to a related resource. - */ - public ContactLinksJsonInput withLinkedInUrl(@Nullable LinkJson linkedInUrl) { - this.linkedInUrl = linkedInUrl; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ContactLinksJsonInput other = (ContactLinksJsonInput) o; - return Utils.enhancedDeepEquals(this.twitterUrl, other.twitterUrl) - && Utils.enhancedDeepEquals(this.facebookUrl, other.facebookUrl) - && Utils.enhancedDeepEquals(this.linkedInUrl, other.linkedInUrl); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(twitterUrl, facebookUrl, linkedInUrl); - } - - @Override - public String toString() { - return Utils.toString( - ContactLinksJsonInput.class, - "twitterUrl", - twitterUrl, - "facebookUrl", - facebookUrl, - "linkedInUrl", - linkedInUrl); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private LinkJson twitterUrl; - - private LinkJson facebookUrl; - - private LinkJson linkedInUrl; - - private Builder() { - // force use of static builder() method - } - - /** - * Represents a link to a related resource. - */ - public Builder twitterUrl(@Nullable LinkJson twitterUrl) { - this.twitterUrl = twitterUrl; - return this; - } - - /** - * Represents a link to a related resource. - */ - public Builder facebookUrl(@Nullable LinkJson facebookUrl) { - this.facebookUrl = facebookUrl; - return this; - } - - /** - * Represents a link to a related resource. - */ - public Builder linkedInUrl(@Nullable LinkJson linkedInUrl) { - this.linkedInUrl = linkedInUrl; - return this; - } - - public ContactLinksJsonInput build() { - return new ContactLinksJsonInput(twitterUrl, facebookUrl, linkedInUrl); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactLinksJsonLink.java b/packages/java/src/main/java/com/cvent/models/components/ContactLinksJsonLink.java deleted file mode 100644 index 3bb76eff3..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ContactLinksJsonLink.java +++ /dev/null @@ -1,93 +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.Optional; - -/** - * ContactLinksJsonLink - * - *

Reference to a profile picture. - */ -public class ContactLinksJsonLink { - /** - * The url of the contact's profile picture - */ - @JsonProperty("href") - private String href; - - @JsonCreator - public ContactLinksJsonLink(@JsonProperty("href") @Nonnull String href) { - this.href = Optional.ofNullable(href).orElseThrow(() -> new IllegalArgumentException("href cannot be null")); - } - - /** - * The url of the contact's profile picture - */ - public String href() { - return this.href; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The url of the contact's profile picture - */ - public ContactLinksJsonLink withHref(@Nonnull String href) { - this.href = Utils.checkNotNull(href, "href"); - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ContactLinksJsonLink other = (ContactLinksJsonLink) o; - return Utils.enhancedDeepEquals(this.href, other.href); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(href); - } - - @Override - public String toString() { - return Utils.toString(ContactLinksJsonLink.class, "href", href); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String href; - - private Builder() { - // force use of static builder() method - } - - /** - * The url of the contact's profile picture - */ - public Builder href(@Nonnull String href) { - this.href = Utils.checkNotNull(href, "href"); - return this; - } - - public ContactLinksJsonLink build() { - return new ContactLinksJsonLink(href); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactMembership.java b/packages/java/src/main/java/com/cvent/models/components/ContactMembership.java new file mode 100644 index 000000000..d8af4b008 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ContactMembership.java @@ -0,0 +1,329 @@ +/* + * 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.Double; +import java.lang.Override; +import java.lang.String; +import java.time.LocalDate; +import java.util.Optional; + +/** + * ContactMembership + * + *

Contact Membership information + */ +public class ContactMembership { + /** + * The type of membership the contact has signed up for. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private String type; + + /** + * Describes the specific plan the contact has signed up for. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("plan") + private String plan; + + /** + * The ISO-8601 formatted date the contact began their membership. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("joined") + private LocalDate joined; + + /** + * The ISO-8601 formatted date the contact's membership will expire. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("expiration") + private LocalDate expiration; + + /** + * The ISO-8601 formatted date the contact last renewed their membership. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lastRenewal") + private LocalDate lastRenewal; + + /** + * The amount currently due for this membership. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("amountDue") + private Double amountDue; + + /** + * Indicates if the member details should be included in the member directory. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("listInDirectory") + private Boolean listInDirectory; + + @JsonCreator + public ContactMembership( + @JsonProperty("type") @Nullable String type, + @JsonProperty("plan") @Nullable String plan, + @JsonProperty("joined") @Nullable LocalDate joined, + @JsonProperty("expiration") @Nullable LocalDate expiration, + @JsonProperty("lastRenewal") @Nullable LocalDate lastRenewal, + @JsonProperty("amountDue") @Nullable Double amountDue, + @JsonProperty("listInDirectory") @Nullable Boolean listInDirectory) { + this.type = type; + this.plan = plan; + this.joined = joined; + this.expiration = expiration; + this.lastRenewal = lastRenewal; + this.amountDue = amountDue; + this.listInDirectory = listInDirectory; + } + + public ContactMembership() { + this(null, null, null, null, null, null, null); + } + + /** + * The type of membership the contact has signed up for. + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + /** + * Describes the specific plan the contact has signed up for. + */ + public Optional plan() { + return Optional.ofNullable(this.plan); + } + + /** + * The ISO-8601 formatted date the contact began their membership. + */ + public Optional joined() { + return Optional.ofNullable(this.joined); + } + + /** + * The ISO-8601 formatted date the contact's membership will expire. + */ + public Optional expiration() { + return Optional.ofNullable(this.expiration); + } + + /** + * The ISO-8601 formatted date the contact last renewed their membership. + */ + public Optional lastRenewal() { + return Optional.ofNullable(this.lastRenewal); + } + + /** + * The amount currently due for this membership. + */ + public Optional amountDue() { + return Optional.ofNullable(this.amountDue); + } + + /** + * Indicates if the member details should be included in the member directory. + */ + public Optional listInDirectory() { + return Optional.ofNullable(this.listInDirectory); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The type of membership the contact has signed up for. + */ + public ContactMembership withType(@Nullable String type) { + this.type = type; + return this; + } + + /** + * Describes the specific plan the contact has signed up for. + */ + public ContactMembership withPlan(@Nullable String plan) { + this.plan = plan; + return this; + } + + /** + * The ISO-8601 formatted date the contact began their membership. + */ + public ContactMembership withJoined(@Nullable LocalDate joined) { + this.joined = joined; + return this; + } + + /** + * The ISO-8601 formatted date the contact's membership will expire. + */ + public ContactMembership withExpiration(@Nullable LocalDate expiration) { + this.expiration = expiration; + return this; + } + + /** + * The ISO-8601 formatted date the contact last renewed their membership. + */ + public ContactMembership withLastRenewal(@Nullable LocalDate lastRenewal) { + this.lastRenewal = lastRenewal; + return this; + } + + /** + * The amount currently due for this membership. + */ + public ContactMembership withAmountDue(@Nullable Double amountDue) { + this.amountDue = amountDue; + return this; + } + + /** + * Indicates if the member details should be included in the member directory. + */ + public ContactMembership withListInDirectory(@Nullable Boolean listInDirectory) { + this.listInDirectory = listInDirectory; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ContactMembership other = (ContactMembership) o; + return Utils.enhancedDeepEquals(this.type, other.type) + && Utils.enhancedDeepEquals(this.plan, other.plan) + && Utils.enhancedDeepEquals(this.joined, other.joined) + && Utils.enhancedDeepEquals(this.expiration, other.expiration) + && Utils.enhancedDeepEquals(this.lastRenewal, other.lastRenewal) + && Utils.enhancedDeepEquals(this.amountDue, other.amountDue) + && Utils.enhancedDeepEquals(this.listInDirectory, other.listInDirectory); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(type, plan, joined, expiration, lastRenewal, amountDue, listInDirectory); + } + + @Override + public String toString() { + return Utils.toString( + ContactMembership.class, + "type", + type, + "plan", + plan, + "joined", + joined, + "expiration", + expiration, + "lastRenewal", + lastRenewal, + "amountDue", + amountDue, + "listInDirectory", + listInDirectory); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String type; + + private String plan; + + private LocalDate joined; + + private LocalDate expiration; + + private LocalDate lastRenewal; + + private Double amountDue; + + private Boolean listInDirectory; + + private Builder() { + // force use of static builder() method + } + + /** + * The type of membership the contact has signed up for. + */ + public Builder type(@Nullable String type) { + this.type = type; + return this; + } + + /** + * Describes the specific plan the contact has signed up for. + */ + public Builder plan(@Nullable String plan) { + this.plan = plan; + return this; + } + + /** + * The ISO-8601 formatted date the contact began their membership. + */ + public Builder joined(@Nullable LocalDate joined) { + this.joined = joined; + return this; + } + + /** + * The ISO-8601 formatted date the contact's membership will expire. + */ + public Builder expiration(@Nullable LocalDate expiration) { + this.expiration = expiration; + return this; + } + + /** + * The ISO-8601 formatted date the contact last renewed their membership. + */ + public Builder lastRenewal(@Nullable LocalDate lastRenewal) { + this.lastRenewal = lastRenewal; + return this; + } + + /** + * The amount currently due for this membership. + */ + public Builder amountDue(@Nullable Double amountDue) { + this.amountDue = amountDue; + return this; + } + + /** + * Indicates if the member details should be included in the member directory. + */ + public Builder listInDirectory(@Nullable Boolean listInDirectory) { + this.listInDirectory = listInDirectory; + return this; + } + + public ContactMembership build() { + return new ContactMembership(type, plan, joined, expiration, lastRenewal, amountDue, listInDirectory); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactMergeField.java b/packages/java/src/main/java/com/cvent/models/components/ContactMergeField.java new file mode 100644 index 000000000..68ead75a1 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ContactMergeField.java @@ -0,0 +1,130 @@ +/* + * 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; + +/** + * ContactMergeField + * + *

A pair of a contact field name and a contact id. + */ +public class ContactMergeField { + /** + * The name of a contact field. + */ + @JsonProperty("fieldName") + private String fieldName; + + /** + * ID of the contact. + */ + @JsonProperty("contactId") + private String contactId; + + @JsonCreator + public ContactMergeField( + @JsonProperty("fieldName") @Nonnull String fieldName, + @JsonProperty("contactId") @Nonnull String contactId) { + this.fieldName = Optional.ofNullable(fieldName) + .orElseThrow(() -> new IllegalArgumentException("fieldName cannot be null")); + this.contactId = Optional.ofNullable(contactId) + .orElseThrow(() -> new IllegalArgumentException("contactId cannot be null")); + } + + /** + * The name of a contact field. + */ + public String fieldName() { + return this.fieldName; + } + + /** + * ID of the contact. + */ + public String contactId() { + return this.contactId; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The name of a contact field. + */ + public ContactMergeField withFieldName(@Nonnull String fieldName) { + this.fieldName = Utils.checkNotNull(fieldName, "fieldName"); + return this; + } + + /** + * ID of the contact. + */ + public ContactMergeField withContactId(@Nonnull String contactId) { + this.contactId = Utils.checkNotNull(contactId, "contactId"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ContactMergeField other = (ContactMergeField) o; + return Utils.enhancedDeepEquals(this.fieldName, other.fieldName) + && Utils.enhancedDeepEquals(this.contactId, other.contactId); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(fieldName, contactId); + } + + @Override + public String toString() { + return Utils.toString(ContactMergeField.class, "fieldName", fieldName, "contactId", contactId); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String fieldName; + + private String contactId; + + private Builder() { + // force use of static builder() method + } + + /** + * The name of a contact field. + */ + public Builder fieldName(@Nonnull String fieldName) { + this.fieldName = Utils.checkNotNull(fieldName, "fieldName"); + return this; + } + + /** + * ID of the contact. + */ + public Builder contactId(@Nonnull String contactId) { + this.contactId = Utils.checkNotNull(contactId, "contactId"); + return this; + } + + public ContactMergeField build() { + return new ContactMergeField(fieldName, contactId); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactMergeFieldJson.java b/packages/java/src/main/java/com/cvent/models/components/ContactMergeFieldJson.java deleted file mode 100644 index 626209a19..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ContactMergeFieldJson.java +++ /dev/null @@ -1,130 +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.Optional; - -/** - * ContactMergeFieldJson - * - *

A pair of a contact field name and a contact id. - */ -public class ContactMergeFieldJson { - /** - * The name of a contact field. - */ - @JsonProperty("fieldName") - private String fieldName; - - /** - * ID of the contact. - */ - @JsonProperty("contactId") - private String contactId; - - @JsonCreator - public ContactMergeFieldJson( - @JsonProperty("fieldName") @Nonnull String fieldName, - @JsonProperty("contactId") @Nonnull String contactId) { - this.fieldName = Optional.ofNullable(fieldName) - .orElseThrow(() -> new IllegalArgumentException("fieldName cannot be null")); - this.contactId = Optional.ofNullable(contactId) - .orElseThrow(() -> new IllegalArgumentException("contactId cannot be null")); - } - - /** - * The name of a contact field. - */ - public String fieldName() { - return this.fieldName; - } - - /** - * ID of the contact. - */ - public String contactId() { - return this.contactId; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The name of a contact field. - */ - public ContactMergeFieldJson withFieldName(@Nonnull String fieldName) { - this.fieldName = Utils.checkNotNull(fieldName, "fieldName"); - return this; - } - - /** - * ID of the contact. - */ - public ContactMergeFieldJson withContactId(@Nonnull String contactId) { - this.contactId = Utils.checkNotNull(contactId, "contactId"); - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ContactMergeFieldJson other = (ContactMergeFieldJson) o; - return Utils.enhancedDeepEquals(this.fieldName, other.fieldName) - && Utils.enhancedDeepEquals(this.contactId, other.contactId); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(fieldName, contactId); - } - - @Override - public String toString() { - return Utils.toString(ContactMergeFieldJson.class, "fieldName", fieldName, "contactId", contactId); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String fieldName; - - private String contactId; - - private Builder() { - // force use of static builder() method - } - - /** - * The name of a contact field. - */ - public Builder fieldName(@Nonnull String fieldName) { - this.fieldName = Utils.checkNotNull(fieldName, "fieldName"); - return this; - } - - /** - * ID of the contact. - */ - public Builder contactId(@Nonnull String contactId) { - this.contactId = Utils.checkNotNull(contactId, "contactId"); - return this; - } - - public ContactMergeFieldJson build() { - return new ContactMergeFieldJson(fieldName, contactId); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactMethods.java b/packages/java/src/main/java/com/cvent/models/components/ContactMethods.java new file mode 100644 index 000000000..5705ce0a4 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ContactMethods.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; + +/** + * ContactMethods + * + *

Medium for contacting the person. + */ +public enum ContactMethods { + CVENT("CVENT"), + EMAIL("EMAIL"), + FAX("FAX"), + MOBILE("MOBILE"), + PHONE("PHONE"); + + @JsonValue + private final String value; + + ContactMethods(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (ContactMethods o : ContactMethods.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/ContactMethodsJson.java b/packages/java/src/main/java/com/cvent/models/components/ContactMethodsJson.java deleted file mode 100644 index 275c511b0..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ContactMethodsJson.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * 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; - -/** - * ContactMethodsJson - * - *

Medium for contacting the person. - */ -public enum ContactMethodsJson { - CVENT("CVENT"), - EMAIL("EMAIL"), - FAX("FAX"), - MOBILE("MOBILE"), - PHONE("PHONE"); - - @JsonValue - private final String value; - - ContactMethodsJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (ContactMethodsJson o : ContactMethodsJson.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/ContactObfuscationStatus.java b/packages/java/src/main/java/com/cvent/models/components/ContactObfuscationStatus.java index 742cfffef..4940430de 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ContactObfuscationStatus.java +++ b/packages/java/src/main/java/com/cvent/models/components/ContactObfuscationStatus.java @@ -34,7 +34,7 @@ public class ContactObfuscationStatus { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("status") - private ContactObfuscationStatusTypeJson status; + private ContactObfuscationStatusType status; /** * The obfuscation job identifier. @@ -48,13 +48,13 @@ public class ContactObfuscationStatus { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("contact") - private ContactIdJson contact; + private ContactId contact; @JsonCreator public ContactObfuscationStatus( - @JsonProperty("status") @Nullable ContactObfuscationStatusTypeJson status, + @JsonProperty("status") @Nullable ContactObfuscationStatusType status, @JsonProperty("obfuscateId") @Nullable String obfuscateId, - @JsonProperty("contact") @Nullable ContactIdJson contact) { + @JsonProperty("contact") @Nullable ContactId contact) { this.status = status; this.obfuscateId = obfuscateId; this.contact = contact; @@ -77,7 +77,7 @@ public ContactObfuscationStatus() { * *

FAILED - The obfuscation request failed due to an error. */ - public Optional status() { + public Optional status() { return Optional.ofNullable(this.status); } @@ -91,7 +91,7 @@ public Optional obfuscateId() { /** * A contact id. */ - public Optional contact() { + public Optional contact() { return Optional.ofNullable(this.contact); } @@ -112,7 +112,7 @@ public static Builder builder() { * *

FAILED - The obfuscation request failed due to an error. */ - public ContactObfuscationStatus withStatus(@Nullable ContactObfuscationStatusTypeJson status) { + public ContactObfuscationStatus withStatus(@Nullable ContactObfuscationStatusType status) { this.status = status; return this; } @@ -128,7 +128,7 @@ public ContactObfuscationStatus withObfuscateId(@Nullable String obfuscateId) { /** * A contact id. */ - public ContactObfuscationStatus withContact(@Nullable ContactIdJson contact) { + public ContactObfuscationStatus withContact(@Nullable ContactId contact) { this.contact = contact; return this; } @@ -161,11 +161,11 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private ContactObfuscationStatusTypeJson status; + private ContactObfuscationStatusType status; private String obfuscateId; - private ContactIdJson contact; + private ContactId contact; private Builder() { // force use of static builder() method @@ -184,7 +184,7 @@ private Builder() { * *

FAILED - The obfuscation request failed due to an error. */ - public Builder status(@Nullable ContactObfuscationStatusTypeJson status) { + public Builder status(@Nullable ContactObfuscationStatusType status) { this.status = status; return this; } @@ -200,7 +200,7 @@ public Builder obfuscateId(@Nullable String obfuscateId) { /** * A contact id. */ - public Builder contact(@Nullable ContactIdJson contact) { + public Builder contact(@Nullable ContactId contact) { this.contact = contact; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactObfuscationStatusType.java b/packages/java/src/main/java/com/cvent/models/components/ContactObfuscationStatusType.java new file mode 100644 index 000000000..86671130b --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ContactObfuscationStatusType.java @@ -0,0 +1,52 @@ +/* + * 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; + +/** + * ContactObfuscationStatusType + * + *

Status of the request to obfuscate a contact. + * + *

INITIATED - The obfuscation request has been received. + * + *

QUEUED - The obfuscation request is currently waiting in the queue to be executed. + * + *

PROCESSING - The obfuscation request is currently being processed. + * + *

COMPLETED - The obfuscation request is complete. + * + *

FAILED - The obfuscation request failed due to an error. + */ +public enum ContactObfuscationStatusType { + INITIATED("INITIATED"), + QUEUED("QUEUED"), + PROCESSING("PROCESSING"), + COMPLETED("COMPLETED"), + FAILED("FAILED"); + + @JsonValue + private final String value; + + ContactObfuscationStatusType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (ContactObfuscationStatusType o : ContactObfuscationStatusType.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/ContactObfuscationStatusTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/ContactObfuscationStatusTypeJson.java deleted file mode 100644 index e6b9a6a1c..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ContactObfuscationStatusTypeJson.java +++ /dev/null @@ -1,52 +0,0 @@ -/* - * 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; - -/** - * ContactObfuscationStatusTypeJson - * - *

Status of the request to obfuscate a contact. - * - *

INITIATED - The obfuscation request has been received. - * - *

QUEUED - The obfuscation request is currently waiting in the queue to be executed. - * - *

PROCESSING - The obfuscation request is currently being processed. - * - *

COMPLETED - The obfuscation request is complete. - * - *

FAILED - The obfuscation request failed due to an error. - */ -public enum ContactObfuscationStatusTypeJson { - INITIATED("INITIATED"), - QUEUED("QUEUED"), - PROCESSING("PROCESSING"), - COMPLETED("COMPLETED"), - FAILED("FAILED"); - - @JsonValue - private final String value; - - ContactObfuscationStatusTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (ContactObfuscationStatusTypeJson o : ContactObfuscationStatusTypeJson.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/ContactOptOut.java b/packages/java/src/main/java/com/cvent/models/components/ContactOptOut.java new file mode 100644 index 000000000..212b30d0f --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ContactOptOut.java @@ -0,0 +1,182 @@ +/* + * 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.time.OffsetDateTime; +import java.util.Optional; + +/** + * ContactOptOut + * + *

Details of an opt-out for a Contact. + */ +public class ContactOptOut { + /** + * Used to denote if a contact has opted-out of receiving system generated emails. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("optedOut") + private Boolean optedOut; + + /** + * The ISO 8601 zoned date time when this contact was opted-out. This value can change if the contact + * opts out multiple times. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("date") + private OffsetDateTime date; + + /** + * This is used to denote how a contact is opt'd out of Cvent system. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("by") + private OptoutBy by; + + @JsonCreator + public ContactOptOut( + @JsonProperty("optedOut") @Nullable Boolean optedOut, + @JsonProperty("date") @Nullable OffsetDateTime date, + @JsonProperty("by") @Nullable OptoutBy by) { + this.optedOut = Optional.ofNullable(optedOut).orElse(Builder._SINGLETON_VALUE_OptedOut.value()); + this.date = date; + this.by = by; + } + + public ContactOptOut() { + this(null, null, null); + } + + /** + * Used to denote if a contact has opted-out of receiving system generated emails. + */ + public Optional optedOut() { + return Optional.ofNullable(this.optedOut); + } + + /** + * The ISO 8601 zoned date time when this contact was opted-out. This value can change if the contact + * opts out multiple times. + */ + public Optional date() { + return Optional.ofNullable(this.date); + } + + /** + * This is used to denote how a contact is opt'd out of Cvent system. + */ + public Optional by() { + return Optional.ofNullable(this.by); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Used to denote if a contact has opted-out of receiving system generated emails. + */ + public ContactOptOut withOptedOut(@Nullable Boolean optedOut) { + this.optedOut = optedOut; + return this; + } + + /** + * The ISO 8601 zoned date time when this contact was opted-out. This value can change if the contact + * opts out multiple times. + */ + public ContactOptOut withDate(@Nullable OffsetDateTime date) { + this.date = date; + return this; + } + + /** + * This is used to denote how a contact is opt'd out of Cvent system. + */ + public ContactOptOut withBy(@Nullable OptoutBy by) { + this.by = by; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ContactOptOut other = (ContactOptOut) o; + return Utils.enhancedDeepEquals(this.optedOut, other.optedOut) + && Utils.enhancedDeepEquals(this.date, other.date) + && Utils.enhancedDeepEquals(this.by, other.by); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(optedOut, date, by); + } + + @Override + public String toString() { + return Utils.toString(ContactOptOut.class, "optedOut", optedOut, "date", date, "by", by); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private Boolean optedOut; + + private OffsetDateTime date; + + private OptoutBy by; + + private Builder() { + // force use of static builder() method + } + + /** + * Used to denote if a contact has opted-out of receiving system generated emails. + */ + public Builder optedOut(@Nullable Boolean optedOut) { + this.optedOut = optedOut; + return this; + } + + /** + * The ISO 8601 zoned date time when this contact was opted-out. This value can change if the contact + * opts out multiple times. + */ + public Builder date(@Nullable OffsetDateTime date) { + this.date = date; + return this; + } + + /** + * This is used to denote how a contact is opt'd out of Cvent system. + */ + public Builder by(@Nullable OptoutBy by) { + this.by = by; + return this; + } + + public ContactOptOut build() { + return new ContactOptOut(optedOut, date, by); + } + + private static final LazySingletonValue _SINGLETON_VALUE_OptedOut = + new LazySingletonValue<>("optedOut", "false", new TypeReference() {}); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactOptOutInput.java b/packages/java/src/main/java/com/cvent/models/components/ContactOptOutInput.java new file mode 100644 index 000000000..209920c19 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ContactOptOutInput.java @@ -0,0 +1,106 @@ +/* + * 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; + +/** + * ContactOptOutInput + * + *

Details of an opt-out for a Contact. + */ +public class ContactOptOutInput { + /** + * Used to denote if a contact has opted-out of receiving system generated emails. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("optedOut") + private Boolean optedOut; + + @JsonCreator + public ContactOptOutInput(@JsonProperty("optedOut") @Nullable Boolean optedOut) { + this.optedOut = Optional.ofNullable(optedOut).orElse(Builder._SINGLETON_VALUE_OptedOut.value()); + } + + public ContactOptOutInput() { + this(null); + } + + /** + * Used to denote if a contact has opted-out of receiving system generated emails. + */ + public Optional optedOut() { + return Optional.ofNullable(this.optedOut); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Used to denote if a contact has opted-out of receiving system generated emails. + */ + public ContactOptOutInput withOptedOut(@Nullable Boolean optedOut) { + this.optedOut = optedOut; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ContactOptOutInput other = (ContactOptOutInput) o; + return Utils.enhancedDeepEquals(this.optedOut, other.optedOut); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(optedOut); + } + + @Override + public String toString() { + return Utils.toString(ContactOptOutInput.class, "optedOut", optedOut); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private Boolean optedOut; + + private Builder() { + // force use of static builder() method + } + + /** + * Used to denote if a contact has opted-out of receiving system generated emails. + */ + public Builder optedOut(@Nullable Boolean optedOut) { + this.optedOut = optedOut; + return this; + } + + public ContactOptOutInput build() { + return new ContactOptOutInput(optedOut); + } + + private static final LazySingletonValue _SINGLETON_VALUE_OptedOut = + new LazySingletonValue<>("optedOut", "false", new TypeReference() {}); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/ContactPaginatedResponse.java index 7a22103c7..d11eb6540 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ContactPaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/ContactPaginatedResponse.java @@ -23,17 +23,17 @@ public class ContactPaginatedResponse { * Represents pagination information for a collection of resources. */ @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * Collection of contacts. */ @JsonProperty("data") - private List data; + private List data; @JsonCreator public ContactPaginatedResponse( - @JsonProperty("paging") @Nonnull PagingJson paging, @JsonProperty("data") @Nonnull List data) { + @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")); @@ -42,14 +42,14 @@ public ContactPaginatedResponse( /** * Represents pagination information for a collection of resources. */ - public PagingJson paging() { + public Paging paging() { return this.paging; } /** * Collection of contacts. */ - public List data() { + public List data() { return this.data; } @@ -60,7 +60,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public ContactPaginatedResponse withPaging(@Nonnull PagingJson paging) { + public ContactPaginatedResponse withPaging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } @@ -68,7 +68,7 @@ public ContactPaginatedResponse withPaging(@Nonnull PagingJson paging) { /** * Collection of contacts. */ - public ContactPaginatedResponse withData(@Nonnull List data) { + public ContactPaginatedResponse withData(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } @@ -98,9 +98,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; - private List data; + private List data; private Builder() { // force use of static builder() method @@ -109,7 +109,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nonnull PagingJson paging) { + public Builder paging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } @@ -117,7 +117,7 @@ public Builder paging(@Nonnull PagingJson paging) { /** * Collection of contacts. */ - public Builder data(@Nonnull List data) { + public Builder data(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactPatch.java b/packages/java/src/main/java/com/cvent/models/components/ContactPatch.java index 54eb3d685..c1f99c04a 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ContactPatch.java +++ b/packages/java/src/main/java/com/cvent/models/components/ContactPatch.java @@ -88,14 +88,14 @@ public class ContactPatch { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("type") - private AttendeeContactTypeJsonInput type; + private AttendeeContactTypeInput type; /** * The type of address. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("primaryAddressType") - private AddressTypeJson primaryAddressType; + private AddressType primaryAddressType; @JsonInclude(Include.NON_ABSENT) @JsonProperty("homeAddress") @@ -117,7 +117,7 @@ public class ContactPatch { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("workAddress") - private AddressJsonInput workAddress; + private AddressInput workAddress; /** * The phone number of the contact at their place of work. @@ -167,7 +167,7 @@ public class ContactPatch { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("optOut") - private OptOutJsonInput optOut; + private ContactOptOutInput optOut; /** * Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for @@ -204,7 +204,7 @@ public class ContactPatch { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("passport") - private PassportJsonInput passport; + private PassportInput passport; @JsonInclude(Include.NON_ABSENT) @JsonProperty("socialSecurityNumber") @@ -266,24 +266,24 @@ public ContactPatch( @JsonProperty("company") @Nullable Object company, @JsonProperty("designation") @Nullable String designation, @JsonProperty("title") @Nullable Object title, - @JsonProperty("type") @Nullable AttendeeContactTypeJsonInput type, - @JsonProperty("primaryAddressType") @Nullable AddressTypeJson primaryAddressType, + @JsonProperty("type") @Nullable AttendeeContactTypeInput type, + @JsonProperty("primaryAddressType") @Nullable AddressType primaryAddressType, @JsonProperty("homeAddress") @Nullable HomeAddress homeAddress, @JsonProperty("homePhone") @Nullable Object homePhone, @JsonProperty("homeFax") @Nullable String homeFax, - @JsonProperty("workAddress") @Nullable AddressJsonInput workAddress, + @JsonProperty("workAddress") @Nullable AddressInput workAddress, @JsonProperty("workPhone") @Nullable String workPhone, @JsonProperty("workFax") @Nullable String workFax, @JsonProperty("sourceId") @Nullable String sourceId, @JsonProperty("mobilePhone") @Nullable String mobilePhone, @JsonProperty("prefix") @Nullable String prefix, @JsonProperty("pager") @Nullable String pager, - @JsonProperty("optOut") @Nullable OptOutJsonInput optOut, + @JsonProperty("optOut") @Nullable ContactOptOutInput optOut, @JsonProperty("npi") @Nullable String npi, @JsonProperty("_links") @Nullable ContactPatchLinks links, @JsonProperty("dateOfBirth") @Nullable Object dateOfBirth, @JsonProperty("passportNumber") @Nullable String passportNumber, - @JsonProperty("passport") @Nullable PassportJsonInput passport, + @JsonProperty("passport") @Nullable PassportInput passport, @JsonProperty("socialSecurityNumber") @Nullable Object socialSecurityNumber, @JsonProperty("nationalIdentificationNumber") @Nullable String nationalIdentificationNumber, @JsonProperty("headline") @Nullable String headline, @@ -431,14 +431,14 @@ public Optional title() { /** * Contains details related to the attendee's contact type. */ - public Optional type() { + public Optional type() { return Optional.ofNullable(this.type); } /** * The type of address. */ - public Optional primaryAddressType() { + public Optional primaryAddressType() { return Optional.ofNullable(this.primaryAddressType); } @@ -460,7 +460,7 @@ public Optional homeFax() { /** * Contact address details. */ - public Optional workAddress() { + public Optional workAddress() { return Optional.ofNullable(this.workAddress); } @@ -510,7 +510,7 @@ public Optional pager() { /** * Details of an opt-out for a Contact. */ - public Optional optOut() { + public Optional optOut() { return Optional.ofNullable(this.optOut); } @@ -547,7 +547,7 @@ public Optional passportNumber() { /** * This entity represents a contact's passport information. */ - public Optional passport() { + public Optional passport() { return Optional.ofNullable(this.passport); } @@ -678,7 +678,7 @@ public ContactPatch withTitle(@Nullable Object title) { /** * Contains details related to the attendee's contact type. */ - public ContactPatch withType(@Nullable AttendeeContactTypeJsonInput type) { + public ContactPatch withType(@Nullable AttendeeContactTypeInput type) { this.type = type; return this; } @@ -686,7 +686,7 @@ public ContactPatch withType(@Nullable AttendeeContactTypeJsonInput type) { /** * The type of address. */ - public ContactPatch withPrimaryAddressType(@Nullable AddressTypeJson primaryAddressType) { + public ContactPatch withPrimaryAddressType(@Nullable AddressType primaryAddressType) { this.primaryAddressType = primaryAddressType; return this; } @@ -712,7 +712,7 @@ public ContactPatch withHomeFax(@Nullable String homeFax) { /** * Contact address details. */ - public ContactPatch withWorkAddress(@Nullable AddressJsonInput workAddress) { + public ContactPatch withWorkAddress(@Nullable AddressInput workAddress) { this.workAddress = workAddress; return this; } @@ -769,7 +769,7 @@ public ContactPatch withPager(@Nullable String pager) { /** * Details of an opt-out for a Contact. */ - public ContactPatch withOptOut(@Nullable OptOutJsonInput optOut) { + public ContactPatch withOptOut(@Nullable ContactOptOutInput optOut) { this.optOut = optOut; return this; } @@ -811,7 +811,7 @@ public ContactPatch withPassportNumber(@Nullable String passportNumber) { /** * This entity represents a contact's passport information. */ - public ContactPatch withPassport(@Nullable PassportJsonInput passport) { + public ContactPatch withPassport(@Nullable PassportInput passport) { this.passport = passport; return this; } @@ -1057,9 +1057,9 @@ public static final class Builder { private Object title; - private AttendeeContactTypeJsonInput type; + private AttendeeContactTypeInput type; - private AddressTypeJson primaryAddressType; + private AddressType primaryAddressType; private HomeAddress homeAddress; @@ -1067,7 +1067,7 @@ public static final class Builder { private String homeFax; - private AddressJsonInput workAddress; + private AddressInput workAddress; private String workPhone; @@ -1081,7 +1081,7 @@ public static final class Builder { private String pager; - private OptOutJsonInput optOut; + private ContactOptOutInput optOut; private String npi; @@ -1092,7 +1092,7 @@ public static final class Builder { @Deprecated private String passportNumber; - private PassportJsonInput passport; + private PassportInput passport; private Object socialSecurityNumber; @@ -1186,7 +1186,7 @@ public Builder title(@Nullable Object title) { /** * Contains details related to the attendee's contact type. */ - public Builder type(@Nullable AttendeeContactTypeJsonInput type) { + public Builder type(@Nullable AttendeeContactTypeInput type) { this.type = type; return this; } @@ -1194,7 +1194,7 @@ public Builder type(@Nullable AttendeeContactTypeJsonInput type) { /** * The type of address. */ - public Builder primaryAddressType(@Nullable AddressTypeJson primaryAddressType) { + public Builder primaryAddressType(@Nullable AddressType primaryAddressType) { this.primaryAddressType = primaryAddressType; return this; } @@ -1220,7 +1220,7 @@ public Builder homeFax(@Nullable String homeFax) { /** * Contact address details. */ - public Builder workAddress(@Nullable AddressJsonInput workAddress) { + public Builder workAddress(@Nullable AddressInput workAddress) { this.workAddress = workAddress; return this; } @@ -1277,7 +1277,7 @@ public Builder pager(@Nullable String pager) { /** * Details of an opt-out for a Contact. */ - public Builder optOut(@Nullable OptOutJsonInput optOut) { + public Builder optOut(@Nullable ContactOptOutInput optOut) { this.optOut = optOut; return this; } @@ -1319,7 +1319,7 @@ public Builder passportNumber(@Nullable String passportNumber) { /** * This entity represents a contact's passport information. */ - public Builder passport(@Nullable PassportJsonInput passport) { + public Builder passport(@Nullable PassportInput passport) { this.passport = passport; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactType.java b/packages/java/src/main/java/com/cvent/models/components/ContactType.java new file mode 100644 index 000000000..1cecf7b24 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ContactType.java @@ -0,0 +1,241 @@ +/* + * 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.Boolean; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * ContactType + * + *

This entity represents a contact type at contact level. + */ +public class ContactType { + /** + * The ID of the contact type. + */ + @JsonProperty("id") + private String id; + + /** + * The contact type code. Must be unique in the account. + */ + @JsonProperty("code") + private String code; + + /** + * Name of the contact type. + */ + @JsonProperty("name") + private String name; + + /** + * Description of the contact type. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("description") + private String description; + + /** + * Indicates whether the contact type is active. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("active") + private Boolean active; + + @JsonCreator + public ContactType( + @JsonProperty("id") @Nonnull String id, + @JsonProperty("code") @Nonnull String code, + @JsonProperty("name") @Nonnull String name, + @JsonProperty("description") @Nullable String description, + @JsonProperty("active") @Nullable Boolean active) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.code = Optional.ofNullable(code).orElseThrow(() -> new IllegalArgumentException("code cannot be null")); + this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); + this.description = description; + this.active = active; + } + + public ContactType(@Nonnull String id, @Nonnull String code, @Nonnull String name) { + this(id, code, name, null, null); + } + + /** + * The ID of the contact type. + */ + public String id() { + return this.id; + } + + /** + * The contact type code. Must be unique in the account. + */ + public String code() { + return this.code; + } + + /** + * Name of the contact type. + */ + public String name() { + return this.name; + } + + /** + * Description of the contact type. + */ + public Optional description() { + return Optional.ofNullable(this.description); + } + + /** + * Indicates whether the contact type is active. + */ + public Optional active() { + return Optional.ofNullable(this.active); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The ID of the contact type. + */ + public ContactType withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The contact type code. Must be unique in the account. + */ + public ContactType withCode(@Nonnull String code) { + this.code = Utils.checkNotNull(code, "code"); + return this; + } + + /** + * Name of the contact type. + */ + public ContactType withName(@Nonnull String name) { + this.name = Utils.checkNotNull(name, "name"); + return this; + } + + /** + * Description of the contact type. + */ + public ContactType withDescription(@Nullable String description) { + this.description = description; + return this; + } + + /** + * Indicates whether the contact type is active. + */ + public ContactType withActive(@Nullable Boolean active) { + this.active = active; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ContactType other = (ContactType) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.code, other.code) + && Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.description, other.description) + && Utils.enhancedDeepEquals(this.active, other.active); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, code, name, description, active); + } + + @Override + public String toString() { + return Utils.toString( + ContactType.class, "id", id, "code", code, "name", name, "description", description, "active", active); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String code; + + private String name; + + private String description; + + private Boolean active; + + private Builder() { + // force use of static builder() method + } + + /** + * The ID of the contact type. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The contact type code. Must be unique in the account. + */ + public Builder code(@Nonnull String code) { + this.code = Utils.checkNotNull(code, "code"); + return this; + } + + /** + * Name of the contact type. + */ + public Builder name(@Nonnull String name) { + this.name = Utils.checkNotNull(name, "name"); + return this; + } + + /** + * Description of the contact type. + */ + public Builder description(@Nullable String description) { + this.description = description; + return this; + } + + /** + * Indicates whether the contact type is active. + */ + public Builder active(@Nullable Boolean active) { + this.active = active; + return this; + } + + public ContactType build() { + return new ContactType(id, code, name, description, active); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/ContactTypeJson.java index 3ddacb508..35ed04a97 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ContactTypeJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/ContactTypeJson.java @@ -3,249 +3,37 @@ */ 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.Boolean; -import java.lang.Override; +import com.fasterxml.jackson.annotation.JsonValue; import java.lang.String; +import java.util.Objects; import java.util.Optional; /** * ContactTypeJson * - *

This entity represents a contact type at contact level. + *

The contact types used for the proposal. */ -public class ContactTypeJson { - /** - * The ID of the contact type. - */ - @JsonProperty("id") - private String id; +public enum ContactTypeJson { + PRIMARY("PRIMARY"), + SECONDARY("SECONDARY"); - /** - * The contact type code. Must be unique in the account. - */ - @JsonProperty("code") - private String code; + @JsonValue + private final String value; - /** - * Name of the contact type. - */ - @JsonProperty("name") - private String name; - - /** - * Description of the contact type. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("description") - private String description; - - /** - * Indicates whether the contact type is active. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("active") - private Boolean active; - - @JsonCreator - public ContactTypeJson( - @JsonProperty("id") @Nonnull String id, - @JsonProperty("code") @Nonnull String code, - @JsonProperty("name") @Nonnull String name, - @JsonProperty("description") @Nullable String description, - @JsonProperty("active") @Nullable Boolean active) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - this.code = Optional.ofNullable(code).orElseThrow(() -> new IllegalArgumentException("code cannot be null")); - this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); - this.description = description; - this.active = active; - } - - public ContactTypeJson(@Nonnull String id, @Nonnull String code, @Nonnull String name) { - this(id, code, name, null, null); - } - - /** - * The ID of the contact type. - */ - public String id() { - return this.id; - } - - /** - * The contact type code. Must be unique in the account. - */ - public String code() { - return this.code; - } - - /** - * Name of the contact type. - */ - public String name() { - return this.name; - } - - /** - * Description of the contact type. - */ - public Optional description() { - return Optional.ofNullable(this.description); + ContactTypeJson(String value) { + this.value = value; } - /** - * Indicates whether the contact type is active. - */ - public Optional active() { - return Optional.ofNullable(this.active); + public String value() { + return value; } - public static Builder builder() { - return new Builder(); - } - - /** - * The ID of the contact type. - */ - public ContactTypeJson withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The contact type code. Must be unique in the account. - */ - public ContactTypeJson withCode(@Nonnull String code) { - this.code = Utils.checkNotNull(code, "code"); - return this; - } - - /** - * Name of the contact type. - */ - public ContactTypeJson withName(@Nonnull String name) { - this.name = Utils.checkNotNull(name, "name"); - return this; - } - - /** - * Description of the contact type. - */ - public ContactTypeJson withDescription(@Nullable String description) { - this.description = description; - return this; - } - - /** - * Indicates whether the contact type is active. - */ - public ContactTypeJson withActive(@Nullable Boolean active) { - this.active = active; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ContactTypeJson other = (ContactTypeJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.code, other.code) - && Utils.enhancedDeepEquals(this.name, other.name) - && Utils.enhancedDeepEquals(this.description, other.description) - && Utils.enhancedDeepEquals(this.active, other.active); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, code, name, description, active); - } - - @Override - public String toString() { - return Utils.toString( - ContactTypeJson.class, - "id", - id, - "code", - code, - "name", - name, - "description", - description, - "active", - active); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String code; - - private String name; - - private String description; - - private Boolean active; - - private Builder() { - // force use of static builder() method - } - - /** - * The ID of the contact type. - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The contact type code. Must be unique in the account. - */ - public Builder code(@Nonnull String code) { - this.code = Utils.checkNotNull(code, "code"); - return this; - } - - /** - * Name of the contact type. - */ - public Builder name(@Nonnull String name) { - this.name = Utils.checkNotNull(name, "name"); - return this; - } - - /** - * Description of the contact type. - */ - public Builder description(@Nullable String description) { - this.description = description; - return this; - } - - /** - * Indicates whether the contact type is active. - */ - public Builder active(@Nullable Boolean active) { - this.active = active; - return this; - } - - public ContactTypeJson build() { - return new ContactTypeJson(id, code, name, description, active); + public static Optional fromValue(String value) { + for (ContactTypeJson o : ContactTypeJson.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/ContactTypeJson1.java b/packages/java/src/main/java/com/cvent/models/components/ContactTypeJson1.java deleted file mode 100644 index 73cd7fffc..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ContactTypeJson1.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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; - -/** - * ContactTypeJson1 - * - *

The contact types used for the proposal. - */ -public enum ContactTypeJson1 { - PRIMARY("PRIMARY"), - SECONDARY("SECONDARY"); - - @JsonValue - private final String value; - - ContactTypeJson1(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (ContactTypeJson1 o : ContactTypeJson1.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/ContactTypePaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/ContactTypePaginatedResponse.java index 27f573477..2de744edf 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ContactTypePaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/ContactTypePaginatedResponse.java @@ -23,18 +23,17 @@ public class ContactTypePaginatedResponse { * Represents pagination information for a collection of resources. */ @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * Collection of contact types. */ @JsonProperty("data") - private List data; + private List data; @JsonCreator public ContactTypePaginatedResponse( - @JsonProperty("paging") @Nonnull PagingJson paging, - @JsonProperty("data") @Nonnull List data) { + @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")); @@ -43,14 +42,14 @@ public ContactTypePaginatedResponse( /** * Represents pagination information for a collection of resources. */ - public PagingJson paging() { + public Paging paging() { return this.paging; } /** * Collection of contact types. */ - public List data() { + public List data() { return this.data; } @@ -61,7 +60,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public ContactTypePaginatedResponse withPaging(@Nonnull PagingJson paging) { + public ContactTypePaginatedResponse withPaging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } @@ -69,7 +68,7 @@ public ContactTypePaginatedResponse withPaging(@Nonnull PagingJson paging) { /** * Collection of contact types. */ - public ContactTypePaginatedResponse withData(@Nonnull List data) { + public ContactTypePaginatedResponse withData(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } @@ -99,9 +98,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; - private List data; + private List data; private Builder() { // force use of static builder() method @@ -110,7 +109,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nonnull PagingJson paging) { + public Builder paging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } @@ -118,7 +117,7 @@ public Builder paging(@Nonnull PagingJson paging) { /** * Collection of contact types. */ - public Builder data(@Nonnull List data) { + public Builder data(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactUpdate.java b/packages/java/src/main/java/com/cvent/models/components/ContactUpdate.java index 8a12156e3..503858990 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ContactUpdate.java +++ b/packages/java/src/main/java/com/cvent/models/components/ContactUpdate.java @@ -69,7 +69,7 @@ public class ContactUpdate { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("gender") - private GenderJson gender; + private Gender gender; /** * The company/organization the contact belongs to. @@ -97,21 +97,21 @@ public class ContactUpdate { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("type") - private AttendeeContactTypeJsonInput type; + private AttendeeContactTypeInput type; /** * The type of address. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("primaryAddressType") - private AddressTypeJson primaryAddressType; + private AddressType primaryAddressType; /** * Contact address details. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("homeAddress") - private AddressJsonInput homeAddress; + private AddressInput homeAddress; /** * The phone number of the contact at their place of residence. @@ -132,7 +132,7 @@ public class ContactUpdate { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("workAddress") - private AddressJsonInput workAddress; + private AddressInput workAddress; /** * The phone number of the contact at their place of work. @@ -182,7 +182,7 @@ public class ContactUpdate { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("optOut") - private OptOutJsonInput optOut; + private ContactOptOutInput optOut; /** * Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for @@ -197,7 +197,7 @@ public class ContactUpdate { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("_links") - private ContactLinksJsonInput links; + private ContactLinksInput links; /** * The date of birth of the contact. @@ -228,7 +228,7 @@ public class ContactUpdate { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("passport") - private PassportJsonInput passport; + private PassportInput passport; /** * The social security number of the contact. @@ -292,28 +292,28 @@ public ContactUpdate( @JsonProperty("nickname") @Nullable String nickname, @JsonProperty("email") @Nullable String email, @JsonProperty("ccEmail") @Nullable String ccEmail, - @JsonProperty("gender") @Nullable GenderJson gender, + @JsonProperty("gender") @Nullable Gender gender, @JsonProperty("company") @Nullable String company, @JsonProperty("designation") @Nullable String designation, @JsonProperty("title") @Nullable String title, - @JsonProperty("type") @Nullable AttendeeContactTypeJsonInput type, - @JsonProperty("primaryAddressType") @Nullable AddressTypeJson primaryAddressType, - @JsonProperty("homeAddress") @Nullable AddressJsonInput homeAddress, + @JsonProperty("type") @Nullable AttendeeContactTypeInput type, + @JsonProperty("primaryAddressType") @Nullable AddressType primaryAddressType, + @JsonProperty("homeAddress") @Nullable AddressInput homeAddress, @JsonProperty("homePhone") @Nullable String homePhone, @JsonProperty("homeFax") @Nullable String homeFax, - @JsonProperty("workAddress") @Nullable AddressJsonInput workAddress, + @JsonProperty("workAddress") @Nullable AddressInput workAddress, @JsonProperty("workPhone") @Nullable String workPhone, @JsonProperty("workFax") @Nullable String workFax, @JsonProperty("sourceId") @Nullable String sourceId, @JsonProperty("mobilePhone") @Nullable String mobilePhone, @JsonProperty("prefix") @Nullable String prefix, @JsonProperty("pager") @Nullable String pager, - @JsonProperty("optOut") @Nullable OptOutJsonInput optOut, + @JsonProperty("optOut") @Nullable ContactOptOutInput optOut, @JsonProperty("npi") @Nullable String npi, - @JsonProperty("_links") @Nullable ContactLinksJsonInput links, + @JsonProperty("_links") @Nullable ContactLinksInput links, @JsonProperty("dateOfBirth") @Nullable LocalDate dateOfBirth, @JsonProperty("passportNumber") @Nullable String passportNumber, - @JsonProperty("passport") @Nullable PassportJsonInput passport, + @JsonProperty("passport") @Nullable PassportInput passport, @JsonProperty("socialSecurityNumber") @Nullable String socialSecurityNumber, @JsonProperty("nationalIdentificationNumber") @Nullable String nationalIdentificationNumber, @JsonProperty("headline") @Nullable String headline, @@ -442,7 +442,7 @@ public Optional ccEmail() { /** * The gender of the contact. */ - public Optional gender() { + public Optional gender() { return Optional.ofNullable(this.gender); } @@ -470,21 +470,21 @@ public Optional title() { /** * Contains details related to the attendee's contact type. */ - public Optional type() { + public Optional type() { return Optional.ofNullable(this.type); } /** * The type of address. */ - public Optional primaryAddressType() { + public Optional primaryAddressType() { return Optional.ofNullable(this.primaryAddressType); } /** * Contact address details. */ - public Optional homeAddress() { + public Optional homeAddress() { return Optional.ofNullable(this.homeAddress); } @@ -505,7 +505,7 @@ public Optional homeFax() { /** * Contact address details. */ - public Optional workAddress() { + public Optional workAddress() { return Optional.ofNullable(this.workAddress); } @@ -555,7 +555,7 @@ public Optional pager() { /** * Details of an opt-out for a Contact. */ - public Optional optOut() { + public Optional optOut() { return Optional.ofNullable(this.optOut); } @@ -570,7 +570,7 @@ public Optional npi() { /** * Collection of social media links for the contact. */ - public Optional links() { + public Optional links() { return Optional.ofNullable(this.links); } @@ -601,7 +601,7 @@ public Optional passportNumber() { /** * This entity represents a contact's passport information. */ - public Optional passport() { + public Optional passport() { return Optional.ofNullable(this.passport); } @@ -715,7 +715,7 @@ public ContactUpdate withCcEmail(@Nullable String ccEmail) { /** * The gender of the contact. */ - public ContactUpdate withGender(@Nullable GenderJson gender) { + public ContactUpdate withGender(@Nullable Gender gender) { this.gender = gender; return this; } @@ -747,7 +747,7 @@ public ContactUpdate withTitle(@Nullable String title) { /** * Contains details related to the attendee's contact type. */ - public ContactUpdate withType(@Nullable AttendeeContactTypeJsonInput type) { + public ContactUpdate withType(@Nullable AttendeeContactTypeInput type) { this.type = type; return this; } @@ -755,7 +755,7 @@ public ContactUpdate withType(@Nullable AttendeeContactTypeJsonInput type) { /** * The type of address. */ - public ContactUpdate withPrimaryAddressType(@Nullable AddressTypeJson primaryAddressType) { + public ContactUpdate withPrimaryAddressType(@Nullable AddressType primaryAddressType) { this.primaryAddressType = primaryAddressType; return this; } @@ -763,7 +763,7 @@ public ContactUpdate withPrimaryAddressType(@Nullable AddressTypeJson primaryAdd /** * Contact address details. */ - public ContactUpdate withHomeAddress(@Nullable AddressJsonInput homeAddress) { + public ContactUpdate withHomeAddress(@Nullable AddressInput homeAddress) { this.homeAddress = homeAddress; return this; } @@ -787,7 +787,7 @@ public ContactUpdate withHomeFax(@Nullable String homeFax) { /** * Contact address details. */ - public ContactUpdate withWorkAddress(@Nullable AddressJsonInput workAddress) { + public ContactUpdate withWorkAddress(@Nullable AddressInput workAddress) { this.workAddress = workAddress; return this; } @@ -844,7 +844,7 @@ public ContactUpdate withPager(@Nullable String pager) { /** * Details of an opt-out for a Contact. */ - public ContactUpdate withOptOut(@Nullable OptOutJsonInput optOut) { + public ContactUpdate withOptOut(@Nullable ContactOptOutInput optOut) { this.optOut = optOut; return this; } @@ -861,7 +861,7 @@ public ContactUpdate withNpi(@Nullable String npi) { /** * Collection of social media links for the contact. */ - public ContactUpdate withLinks(@Nullable ContactLinksJsonInput links) { + public ContactUpdate withLinks(@Nullable ContactLinksInput links) { this.links = links; return this; } @@ -895,7 +895,7 @@ public ContactUpdate withPassportNumber(@Nullable String passportNumber) { /** * This entity represents a contact's passport information. */ - public ContactUpdate withPassport(@Nullable PassportJsonInput passport) { + public ContactUpdate withPassport(@Nullable PassportInput passport) { this.passport = passport; return this; } @@ -1139,7 +1139,7 @@ public static final class Builder { private String ccEmail; - private GenderJson gender; + private Gender gender; private String company; @@ -1147,17 +1147,17 @@ public static final class Builder { private String title; - private AttendeeContactTypeJsonInput type; + private AttendeeContactTypeInput type; - private AddressTypeJson primaryAddressType; + private AddressType primaryAddressType; - private AddressJsonInput homeAddress; + private AddressInput homeAddress; private String homePhone; private String homeFax; - private AddressJsonInput workAddress; + private AddressInput workAddress; private String workPhone; @@ -1171,18 +1171,18 @@ public static final class Builder { private String pager; - private OptOutJsonInput optOut; + private ContactOptOutInput optOut; private String npi; - private ContactLinksJsonInput links; + private ContactLinksInput links; private LocalDate dateOfBirth; @Deprecated private String passportNumber; - private PassportJsonInput passport; + private PassportInput passport; private String socialSecurityNumber; @@ -1253,7 +1253,7 @@ public Builder ccEmail(@Nullable String ccEmail) { /** * The gender of the contact. */ - public Builder gender(@Nullable GenderJson gender) { + public Builder gender(@Nullable Gender gender) { this.gender = gender; return this; } @@ -1285,7 +1285,7 @@ public Builder title(@Nullable String title) { /** * Contains details related to the attendee's contact type. */ - public Builder type(@Nullable AttendeeContactTypeJsonInput type) { + public Builder type(@Nullable AttendeeContactTypeInput type) { this.type = type; return this; } @@ -1293,7 +1293,7 @@ public Builder type(@Nullable AttendeeContactTypeJsonInput type) { /** * The type of address. */ - public Builder primaryAddressType(@Nullable AddressTypeJson primaryAddressType) { + public Builder primaryAddressType(@Nullable AddressType primaryAddressType) { this.primaryAddressType = primaryAddressType; return this; } @@ -1301,7 +1301,7 @@ public Builder primaryAddressType(@Nullable AddressTypeJson primaryAddressType) /** * Contact address details. */ - public Builder homeAddress(@Nullable AddressJsonInput homeAddress) { + public Builder homeAddress(@Nullable AddressInput homeAddress) { this.homeAddress = homeAddress; return this; } @@ -1325,7 +1325,7 @@ public Builder homeFax(@Nullable String homeFax) { /** * Contact address details. */ - public Builder workAddress(@Nullable AddressJsonInput workAddress) { + public Builder workAddress(@Nullable AddressInput workAddress) { this.workAddress = workAddress; return this; } @@ -1382,7 +1382,7 @@ public Builder pager(@Nullable String pager) { /** * Details of an opt-out for a Contact. */ - public Builder optOut(@Nullable OptOutJsonInput optOut) { + public Builder optOut(@Nullable ContactOptOutInput optOut) { this.optOut = optOut; return this; } @@ -1399,7 +1399,7 @@ public Builder npi(@Nullable String npi) { /** * Collection of social media links for the contact. */ - public Builder links(@Nullable ContactLinksJsonInput links) { + public Builder links(@Nullable ContactLinksInput links) { this.links = links; return this; } @@ -1433,7 +1433,7 @@ public Builder passportNumber(@Nullable String passportNumber) { /** * This entity represents a contact's passport information. */ - public Builder passport(@Nullable PassportJsonInput passport) { + public Builder passport(@Nullable PassportInput passport) { this.passport = passport; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/CreateTransactionResponse.java b/packages/java/src/main/java/com/cvent/models/components/CreateTransactionResponse.java index f06bcfe52..f80d4d6ed 100644 --- a/packages/java/src/main/java/com/cvent/models/components/CreateTransactionResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/CreateTransactionResponse.java @@ -71,7 +71,7 @@ public class CreateTransactionResponse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("attendee") - private Attendee2 attendee; + private Attendee attendee; /** * This denotes the order IDs corresponding to this transaction. @@ -173,7 +173,7 @@ public CreateTransactionResponse( @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, @JsonProperty("id") @Nullable String id, @JsonProperty("event") @Nullable Event2 event, - @JsonProperty("attendee") @Nullable Attendee2 attendee, + @JsonProperty("attendee") @Nullable Attendee attendee, @JsonProperty("orders") @Nullable List orders, @JsonProperty("journalNumber") @Nullable String journalNumber, @JsonProperty("paymentType") @Nonnull PaymentType paymentType, @@ -278,7 +278,7 @@ public Optional event() { /** * The reference to the attendee. Contains only the ID of the attendee. */ - public Optional attendee() { + public Optional attendee() { return Optional.ofNullable(this.attendee); } @@ -432,7 +432,7 @@ public CreateTransactionResponse withEvent(@Nullable Event2 event) { /** * The reference to the attendee. Contains only the ID of the attendee. */ - public CreateTransactionResponse withAttendee(@Nullable Attendee2 attendee) { + public CreateTransactionResponse withAttendee(@Nullable Attendee attendee) { this.attendee = attendee; return this; } @@ -657,7 +657,7 @@ public static final class Builder { private Event2 event; - private Attendee2 attendee; + private Attendee attendee; private List orders; @@ -738,7 +738,7 @@ public Builder event(@Nullable Event2 event) { /** * The reference to the attendee. Contains only the ID of the attendee. */ - public Builder attendee(@Nullable Attendee2 attendee) { + public Builder attendee(@Nullable Attendee attendee) { this.attendee = attendee; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/CreateTransactionResponseInput.java b/packages/java/src/main/java/com/cvent/models/components/CreateTransactionResponseInput.java index 5f8972eeb..5e274cd87 100644 --- a/packages/java/src/main/java/com/cvent/models/components/CreateTransactionResponseInput.java +++ b/packages/java/src/main/java/com/cvent/models/components/CreateTransactionResponseInput.java @@ -35,7 +35,7 @@ public class CreateTransactionResponseInput { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("attendee") - private Attendee2 attendee; + private Attendee attendee; /** * Denotes the type of transaction you're creating. Offline Charge: The transaction is a payment made @@ -102,7 +102,7 @@ public class CreateTransactionResponseInput { @JsonCreator public CreateTransactionResponseInput( @JsonProperty("event") @Nullable Event2 event, - @JsonProperty("attendee") @Nullable Attendee2 attendee, + @JsonProperty("attendee") @Nullable Attendee attendee, @JsonProperty("paymentType") @Nonnull PaymentType paymentType, @JsonProperty("paymentMethod") @Nonnull PaymentMethod paymentMethod, @JsonProperty("date") @Nonnull OffsetDateTime date, @@ -140,7 +140,7 @@ public Optional event() { /** * The reference to the attendee. Contains only the ID of the attendee. */ - public Optional attendee() { + public Optional attendee() { return Optional.ofNullable(this.attendee); } @@ -224,7 +224,7 @@ public CreateTransactionResponseInput withEvent(@Nullable Event2 event) { /** * The reference to the attendee. Contains only the ID of the attendee. */ - public CreateTransactionResponseInput withAttendee(@Nullable Attendee2 attendee) { + public CreateTransactionResponseInput withAttendee(@Nullable Attendee attendee) { this.attendee = attendee; return this; } @@ -370,7 +370,7 @@ public static final class Builder { private Event2 event; - private Attendee2 attendee; + private Attendee attendee; private PaymentType paymentType; @@ -403,7 +403,7 @@ public Builder event(@Nullable Event2 event) { /** * The reference to the attendee. Contains only the ID of the attendee. */ - public Builder attendee(@Nullable Attendee2 attendee) { + public Builder attendee(@Nullable Attendee attendee) { this.attendee = attendee; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/CreatedBy.java b/packages/java/src/main/java/com/cvent/models/components/CreatedBy.java new file mode 100644 index 000000000..c01017d85 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/CreatedBy.java @@ -0,0 +1,47 @@ +/* + * 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; + +/** + * CreatedBy + * + *

Denotes how the compliance request was created. + */ +public enum CreatedBy { + ATTENDEE("ATTENDEE"), + PLANNER("PLANNER"), + IMPORT("IMPORT"), + SOAP_API("SOAP_API"), + REST_API("REST_API"), + MARKETO("MARKETO"), + SALEFORCE("SALEFORCE"), + VIDEO_CENTER_MEMBER("VIDEO_CENTER_MEMBER"), + RESPONDENT("RESPONDENT"), + NOT_SET("NOT_SET"); + + @JsonValue + private final String value; + + CreatedBy(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (CreatedBy o : CreatedBy.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/CurrencyJson1.java b/packages/java/src/main/java/com/cvent/models/components/CurrencyJson1.java deleted file mode 100644 index 2530428ac..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/CurrencyJson1.java +++ /dev/null @@ -1,204 +0,0 @@ -/* - * 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; - -/** - * CurrencyJson1 - * - *

The ISO 4217 standard format currency code used for RFPs. - */ -public enum CurrencyJson1 { - USD("USD"), - CAD("CAD"), - AUD("AUD"), - EUR("EUR"), - GBP("GBP"), - HKD("HKD"), - NZD("NZD"), - AED("AED"), - NOK("NOK"), - INR("INR"), - MXN("MXN"), - SEK("SEK"), - DKK("DKK"), - MYR("MYR"), - JPY("JPY"), - SGD("SGD"), - THB("THB"), - IDR("IDR"), - KRW("KRW"), - CNY("CNY"), - TWD("TWD"), - RUB("RUB"), - CHF("CHF"), - CZK("CZK"), - HUF("HUF"), - QAR("QAR"), - ZAR("ZAR"), - RON("RON"), - HRK("HRK"), - TRY("TRY"), - BRL("BRL"), - PHP("PHP"), - SAR("SAR"), - PLN("PLN"), - ARS("ARS"), - AWG("AWG"), - AZN("AZN"), - BSD("BSD"), - BBD("BBD"), - BMD("BMD"), - CLP("CLP"), - COP("COP"), - CRC("CRC"), - DOP("DOP"), - XCD("XCD"), - ILS("ILS"), - JMD("JMD"), - LVL("LVL"), - LTL("LTL"), - MDL("MDL"), - ANG("ANG"), - OMR("OMR"), - TTD("TTD"), - UAH("UAH"), - UYU("UYU"), - RSD("RSD"), - AFN("AFN"), - AMD("AMD"), - AOA("AOA"), - BAM("BAM"), - BDT("BDT"), - BGN("BGN"), - BHD("BHD"), - BOB("BOB"), - DZD("DZD"), - EEK("EEK"), - EGP("EGP"), - FJD("FJD"), - GTQ("GTQ"), - HNL("HNL"), - ISK("ISK"), - JOD("JOD"), - KYD("KYD"), - KZT("KZT"), - LBP("LBP"), - MAD("MAD"), - NGN("NGN"), - NIO("NIO"), - ESP("ESP"), - FRF("FRF"), - PAB("PAB"), - PEN("PEN"), - PKR("PKR"), - PYG("PYG"), - SVC("SVC"), - SYP("SYP"), - VEF("VEF"), - VND("VND"), - XPF("XPF"), - GYD("GYD"), - MOP("MOP"), - PGK("PGK"), - XOF("XOF"), - XAF("XAF"), - BZD("BZD"), - BYR("BYR"), - BWP("BWP"), - BND("BND"), - BIF("BIF"), - KHR("KHR"), - CVE("CVE"), - KMF("KMF"), - CDF("CDF"), - DJF("DJF"), - ERN("ERN"), - FKP("FKP"), - GMD("GMD"), - GEL("GEL"), - GHS("GHS"), - GIP("GIP"), - GNF("GNF"), - HTG("HTG"), - KES("KES"), - KWD("KWD"), - KGS("KGS"), - LAK("LAK"), - LRD("LRD"), - MKD("MKD"), - MGA("MGA"), - MWK("MWK"), - MVR("MVR"), - MRO("MRO"), - MUR("MUR"), - MNT("MNT"), - MZN("MZN"), - MMK("MMK"), - NAD("NAD"), - NPR("NPR"), - RWF("RWF"), - SHP("SHP"), - WST("WST"), - STD("STD"), - SLL("SLL"), - SBD("SBD"), - SOS("SOS"), - LKR("LKR"), - SRD("SRD"), - SZL("SZL"), - TOP("TOP"), - TND("TND"), - UGX("UGX"), - UZS("UZS"), - VUV("VUV"), - YER("YER"), - ZMK("ZMK"), - ZWD("ZWD"), - SR("SR"), - ETB("ETB"), - GH("GH"), - GWP("GWP"), - IQD("IQD"), - IRR("IRR"), - KPW("KPW"), - LSL("LSL"), - ROL("ROL"), - SDG("SDG"), - SKK("SKK"), - TJS("TJS"), - TMT("TMT"), - TZS("TZS"), - ALL("ALL"), - BTN("BTN"), - CUP("CUP"), - LD("LD"), - SCR("SCR"), - ZMW("ZMW"), - ZWL("ZWL"); - - @JsonValue - private final String value; - - CurrencyJson1(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (CurrencyJson1 o : CurrencyJson1.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/CurrencyJson2.java b/packages/java/src/main/java/com/cvent/models/components/CurrencyJson2.java new file mode 100644 index 000000000..e612a3048 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/CurrencyJson2.java @@ -0,0 +1,204 @@ +/* + * 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; + +/** + * CurrencyJson2 + * + *

The ISO 4217 standard format currency code used for RFPs. + */ +public enum CurrencyJson2 { + USD("USD"), + CAD("CAD"), + AUD("AUD"), + EUR("EUR"), + GBP("GBP"), + HKD("HKD"), + NZD("NZD"), + AED("AED"), + NOK("NOK"), + INR("INR"), + MXN("MXN"), + SEK("SEK"), + DKK("DKK"), + MYR("MYR"), + JPY("JPY"), + SGD("SGD"), + THB("THB"), + IDR("IDR"), + KRW("KRW"), + CNY("CNY"), + TWD("TWD"), + RUB("RUB"), + CHF("CHF"), + CZK("CZK"), + HUF("HUF"), + QAR("QAR"), + ZAR("ZAR"), + RON("RON"), + HRK("HRK"), + TRY("TRY"), + BRL("BRL"), + PHP("PHP"), + SAR("SAR"), + PLN("PLN"), + ARS("ARS"), + AWG("AWG"), + AZN("AZN"), + BSD("BSD"), + BBD("BBD"), + BMD("BMD"), + CLP("CLP"), + COP("COP"), + CRC("CRC"), + DOP("DOP"), + XCD("XCD"), + ILS("ILS"), + JMD("JMD"), + LVL("LVL"), + LTL("LTL"), + MDL("MDL"), + ANG("ANG"), + OMR("OMR"), + TTD("TTD"), + UAH("UAH"), + UYU("UYU"), + RSD("RSD"), + AFN("AFN"), + AMD("AMD"), + AOA("AOA"), + BAM("BAM"), + BDT("BDT"), + BGN("BGN"), + BHD("BHD"), + BOB("BOB"), + DZD("DZD"), + EEK("EEK"), + EGP("EGP"), + FJD("FJD"), + GTQ("GTQ"), + HNL("HNL"), + ISK("ISK"), + JOD("JOD"), + KYD("KYD"), + KZT("KZT"), + LBP("LBP"), + MAD("MAD"), + NGN("NGN"), + NIO("NIO"), + ESP("ESP"), + FRF("FRF"), + PAB("PAB"), + PEN("PEN"), + PKR("PKR"), + PYG("PYG"), + SVC("SVC"), + SYP("SYP"), + VEF("VEF"), + VND("VND"), + XPF("XPF"), + GYD("GYD"), + MOP("MOP"), + PGK("PGK"), + XOF("XOF"), + XAF("XAF"), + BZD("BZD"), + BYR("BYR"), + BWP("BWP"), + BND("BND"), + BIF("BIF"), + KHR("KHR"), + CVE("CVE"), + KMF("KMF"), + CDF("CDF"), + DJF("DJF"), + ERN("ERN"), + FKP("FKP"), + GMD("GMD"), + GEL("GEL"), + GHS("GHS"), + GIP("GIP"), + GNF("GNF"), + HTG("HTG"), + KES("KES"), + KWD("KWD"), + KGS("KGS"), + LAK("LAK"), + LRD("LRD"), + MKD("MKD"), + MGA("MGA"), + MWK("MWK"), + MVR("MVR"), + MRO("MRO"), + MUR("MUR"), + MNT("MNT"), + MZN("MZN"), + MMK("MMK"), + NAD("NAD"), + NPR("NPR"), + RWF("RWF"), + SHP("SHP"), + WST("WST"), + STD("STD"), + SLL("SLL"), + SBD("SBD"), + SOS("SOS"), + LKR("LKR"), + SRD("SRD"), + SZL("SZL"), + TOP("TOP"), + TND("TND"), + UGX("UGX"), + UZS("UZS"), + VUV("VUV"), + YER("YER"), + ZMK("ZMK"), + ZWD("ZWD"), + SR("SR"), + ETB("ETB"), + GH("GH"), + GWP("GWP"), + IQD("IQD"), + IRR("IRR"), + KPW("KPW"), + LSL("LSL"), + ROL("ROL"), + SDG("SDG"), + SKK("SKK"), + TJS("TJS"), + TMT("TMT"), + TZS("TZS"), + ALL("ALL"), + BTN("BTN"), + CUP("CUP"), + LD("LD"), + SCR("SCR"), + ZMW("ZMW"), + ZWL("ZWL"); + + @JsonValue + private final String value; + + CurrencyJson2(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (CurrencyJson2 o : CurrencyJson2.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/CustomField3.java b/packages/java/src/main/java/com/cvent/models/components/CustomField3.java index 466e227ce..e3ae48282 100644 --- a/packages/java/src/main/java/com/cvent/models/components/CustomField3.java +++ b/packages/java/src/main/java/com/cvent/models/components/CustomField3.java @@ -53,7 +53,7 @@ public class CustomField3 { * are read only. */ @JsonProperty("type") - private CustomFieldTypeJson1 type; + private CustomFieldTypeJson type; /** * Type-specific details of the custom-field. @@ -123,7 +123,7 @@ public CustomField3( @JsonProperty("name") @Nonnull String name, @JsonProperty("code") @Nonnull String code, @JsonProperty("required") @Nullable Boolean required, - @JsonProperty("type") @Nonnull CustomFieldTypeJson1 type, + @JsonProperty("type") @Nonnull CustomFieldTypeJson type, @JsonProperty("details") @Nullable CustomField3Details details, @JsonProperty("helpText") @Nullable String helpText, @JsonProperty("displayInDataTag") @Nullable DisplayInDataTagJson displayInDataTag, @@ -154,7 +154,7 @@ public CustomField3( @Nonnull CustomFieldCategoryJson category, @Nonnull String name, @Nonnull String code, - @Nonnull CustomFieldTypeJson1 type) { + @Nonnull CustomFieldTypeJson type) { this(category, name, code, null, type, null, null, null, null, null, null, null, null); } @@ -190,7 +190,7 @@ public Optional required() { * This is used to denote the type of data collected by a custom field. Auto-Increment custom fields * are read only. */ - public CustomFieldTypeJson1 type() { + public CustomFieldTypeJson type() { return this.type; } @@ -296,7 +296,7 @@ public CustomField3 withRequired(@Nullable Boolean required) { * This is used to denote the type of data collected by a custom field. Auto-Increment custom fields * are read only. */ - public CustomField3 withType(@Nonnull CustomFieldTypeJson1 type) { + public CustomField3 withType(@Nonnull CustomFieldTypeJson type) { this.type = Utils.checkNotNull(type, "type"); return this; } @@ -456,7 +456,7 @@ public static final class Builder { private Boolean required; - private CustomFieldTypeJson1 type; + private CustomFieldTypeJson type; private CustomField3Details details; @@ -514,7 +514,7 @@ public Builder required(@Nullable Boolean required) { * This is used to denote the type of data collected by a custom field. Auto-Increment custom fields * are read only. */ - public Builder type(@Nonnull CustomFieldTypeJson1 type) { + public Builder type(@Nonnull CustomFieldTypeJson type) { this.type = Utils.checkNotNull(type, "type"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/CustomFieldAnswers.java b/packages/java/src/main/java/com/cvent/models/components/CustomFieldAnswers.java new file mode 100644 index 000000000..f0d6cde03 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/CustomFieldAnswers.java @@ -0,0 +1,155 @@ +/* + * 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; + +/** + * CustomFieldAnswers + * + *

This object contains RFP custom fields attributes only. + */ +public class CustomFieldAnswers { + /** + * An object containing custom field data. By default, contains only the field ID. + * + *

This is an **expandable** object. When requested via the `expand` query parameter with value + * `customField`, this object expands to include all properties of a custom field definition. + * + *

See the `expand` parameter documentation and refer to the [Get Custom + * Field](#tag/Custom-Fields/operation/getCustomField) API for the complete expanded schema. + */ + @JsonProperty("customField") + private ExpandableCustomObject customField; + + /** + * List of answers for the RFP custom field. + */ + @JsonProperty("answers") + private List answers; + + @JsonCreator + public CustomFieldAnswers( + @JsonProperty("customField") @Nonnull ExpandableCustomObject customField, + @JsonProperty("answers") @Nonnull List answers) { + this.customField = Optional.ofNullable(customField) + .orElseThrow(() -> new IllegalArgumentException("customField cannot be null")); + this.answers = + Optional.ofNullable(answers).orElseThrow(() -> new IllegalArgumentException("answers cannot be null")); + } + + /** + * An object containing custom field data. By default, contains only the field ID. + * + *

This is an **expandable** object. When requested via the `expand` query parameter with value + * `customField`, this object expands to include all properties of a custom field definition. + * + *

See the `expand` parameter documentation and refer to the [Get Custom + * Field](#tag/Custom-Fields/operation/getCustomField) API for the complete expanded schema. + */ + public ExpandableCustomObject customField() { + return this.customField; + } + + /** + * List of answers for the RFP custom field. + */ + public List answers() { + return this.answers; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * An object containing custom field data. By default, contains only the field ID. + * + *

This is an **expandable** object. When requested via the `expand` query parameter with value + * `customField`, this object expands to include all properties of a custom field definition. + * + *

See the `expand` parameter documentation and refer to the [Get Custom + * Field](#tag/Custom-Fields/operation/getCustomField) API for the complete expanded schema. + */ + public CustomFieldAnswers withCustomField(@Nonnull ExpandableCustomObject customField) { + this.customField = Utils.checkNotNull(customField, "customField"); + return this; + } + + /** + * List of answers for the RFP custom field. + */ + public CustomFieldAnswers withAnswers(@Nonnull List answers) { + this.answers = Utils.checkNotNull(answers, "answers"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CustomFieldAnswers other = (CustomFieldAnswers) o; + return Utils.enhancedDeepEquals(this.customField, other.customField) + && Utils.enhancedDeepEquals(this.answers, other.answers); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(customField, answers); + } + + @Override + public String toString() { + return Utils.toString(CustomFieldAnswers.class, "customField", customField, "answers", answers); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private ExpandableCustomObject customField; + + private List answers; + + private Builder() { + // force use of static builder() method + } + + /** + * An object containing custom field data. By default, contains only the field ID. + * + *

This is an **expandable** object. When requested via the `expand` query parameter with value + * `customField`, this object expands to include all properties of a custom field definition. + * + *

See the `expand` parameter documentation and refer to the [Get Custom + * Field](#tag/Custom-Fields/operation/getCustomField) API for the complete expanded schema. + */ + public Builder customField(@Nonnull ExpandableCustomObject customField) { + this.customField = Utils.checkNotNull(customField, "customField"); + return this; + } + + /** + * List of answers for the RFP custom field. + */ + public Builder answers(@Nonnull List answers) { + this.answers = Utils.checkNotNull(answers, "answers"); + return this; + } + + public CustomFieldAnswers build() { + return new CustomFieldAnswers(customField, answers); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/CustomFieldJson.java b/packages/java/src/main/java/com/cvent/models/components/CustomFieldJson.java new file mode 100644 index 000000000..cf9d4c46d --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/CustomFieldJson.java @@ -0,0 +1,243 @@ +/* + * 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.List; +import java.util.Optional; + +/** + * CustomFieldJson + * + *

A Custom Field + */ +public class CustomFieldJson { + /** + * The unique ID representing this custom field. + */ + @JsonProperty("id") + private String id; + + /** + * The actual text of the custom field. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + /** + * The type of data collected by a custom field. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private CustomFieldJsonCustomFieldType type; + + /** + * The set of answers or possible answers to a question. + */ + @JsonProperty("value") + private List value; + + /** + * The order of this question in the bigger list of questions. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("order") + private Long order; + + @JsonCreator + public CustomFieldJson( + @JsonProperty("id") @Nonnull String id, + @JsonProperty("name") @Nullable String name, + @JsonProperty("type") @Nullable CustomFieldJsonCustomFieldType type, + @JsonProperty("value") @Nonnull List value, + @JsonProperty("order") @Nullable Long order) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.name = name; + this.type = type; + this.value = Optional.ofNullable(value).orElseThrow(() -> new IllegalArgumentException("value cannot be null")); + this.order = order; + } + + public CustomFieldJson(@Nonnull String id, @Nonnull List value) { + this(id, null, null, value, null); + } + + /** + * The unique ID representing this custom field. + */ + public String id() { + return this.id; + } + + /** + * The actual text of the custom field. + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * The type of data collected by a custom field. + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + /** + * The set of answers or possible answers to a question. + */ + public List value() { + return this.value; + } + + /** + * The order of this question in the bigger list of questions. + */ + public Optional order() { + return Optional.ofNullable(this.order); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique ID representing this custom field. + */ + public CustomFieldJson withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The actual text of the custom field. + */ + public CustomFieldJson withName(@Nullable String name) { + this.name = name; + return this; + } + + /** + * The type of data collected by a custom field. + */ + public CustomFieldJson withType(@Nullable CustomFieldJsonCustomFieldType type) { + this.type = type; + return this; + } + + /** + * The set of answers or possible answers to a question. + */ + public CustomFieldJson withValue(@Nonnull List value) { + this.value = Utils.checkNotNull(value, "value"); + return this; + } + + /** + * The order of this question in the bigger list of questions. + */ + public CustomFieldJson withOrder(@Nullable Long order) { + this.order = order; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CustomFieldJson other = (CustomFieldJson) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.type, other.type) + && Utils.enhancedDeepEquals(this.value, other.value) + && Utils.enhancedDeepEquals(this.order, other.order); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, name, type, value, order); + } + + @Override + public String toString() { + return Utils.toString( + CustomFieldJson.class, "id", id, "name", name, "type", type, "value", value, "order", order); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String name; + + private CustomFieldJsonCustomFieldType type; + + private List value; + + private Long order; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique ID representing this custom field. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The actual text of the custom field. + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + /** + * The type of data collected by a custom field. + */ + public Builder type(@Nullable CustomFieldJsonCustomFieldType type) { + this.type = type; + return this; + } + + /** + * The set of answers or possible answers to a question. + */ + public Builder value(@Nonnull List value) { + this.value = Utils.checkNotNull(value, "value"); + return this; + } + + /** + * The order of this question in the bigger list of questions. + */ + public Builder order(@Nullable Long order) { + this.order = order; + return this; + } + + public CustomFieldJson build() { + return new CustomFieldJson(id, name, type, value, order); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/CustomFieldJson1.java b/packages/java/src/main/java/com/cvent/models/components/CustomFieldJson1.java index 0ad2af6af..9db90fd48 100644 --- a/packages/java/src/main/java/com/cvent/models/components/CustomFieldJson1.java +++ b/packages/java/src/main/java/com/cvent/models/components/CustomFieldJson1.java @@ -10,7 +10,6 @@ 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.List; @@ -19,11 +18,11 @@ /** * CustomFieldJson1 * - *

A Custom Field + *

A survey custom field. */ public class CustomFieldJson1 { /** - * The unique ID representing this custom field. + * The unique id representing this custom field. */ @JsonProperty("id") private String id; @@ -36,45 +35,43 @@ public class CustomFieldJson1 { private String name; /** - * The type of data collected by a custom field. + * Code to uniquely identify custom field. */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("code") + private String code; + @JsonInclude(Include.NON_ABSENT) @JsonProperty("type") private CustomFieldJson1CustomFieldType type; /** - * The set of answers or possible answers to a question. + * The set of values or possible values to a custom field. */ - @JsonProperty("value") - private List value; - - /** - * The order of this question in the bigger list of questions. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("order") - private Long order; + @JsonProperty("values") + private List values; @JsonCreator public CustomFieldJson1( @JsonProperty("id") @Nonnull String id, @JsonProperty("name") @Nullable String name, + @JsonProperty("code") @Nullable String code, @JsonProperty("type") @Nullable CustomFieldJson1CustomFieldType type, - @JsonProperty("value") @Nonnull List value, - @JsonProperty("order") @Nullable Long order) { + @JsonProperty("values") @Nonnull List values) { this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); this.name = name; + this.code = code; this.type = type; - this.value = Optional.ofNullable(value).orElseThrow(() -> new IllegalArgumentException("value cannot be null")); - this.order = order; + this.values = + Optional.ofNullable(values).orElseThrow(() -> new IllegalArgumentException("values cannot be null")); } - public CustomFieldJson1(@Nonnull String id, @Nonnull List value) { - this(id, null, null, value, null); + public CustomFieldJson1(@Nonnull String id, @Nonnull List values) { + this(id, null, null, null, values); } /** - * The unique ID representing this custom field. + * The unique id representing this custom field. */ public String id() { return this.id; @@ -88,24 +85,21 @@ public Optional name() { } /** - * The type of data collected by a custom field. + * Code to uniquely identify custom field. */ - public Optional type() { - return Optional.ofNullable(this.type); + public Optional code() { + return Optional.ofNullable(this.code); } - /** - * The set of answers or possible answers to a question. - */ - public List value() { - return this.value; + public Optional type() { + return Optional.ofNullable(this.type); } /** - * The order of this question in the bigger list of questions. + * The set of values or possible values to a custom field. */ - public Optional order() { - return Optional.ofNullable(this.order); + public List values() { + return this.values; } public static Builder builder() { @@ -113,7 +107,7 @@ public static Builder builder() { } /** - * The unique ID representing this custom field. + * The unique id representing this custom field. */ public CustomFieldJson1 withId(@Nonnull String id) { this.id = Utils.checkNotNull(id, "id"); @@ -129,26 +123,23 @@ public CustomFieldJson1 withName(@Nullable String name) { } /** - * The type of data collected by a custom field. + * Code to uniquely identify custom field. */ - public CustomFieldJson1 withType(@Nullable CustomFieldJson1CustomFieldType type) { - this.type = type; + public CustomFieldJson1 withCode(@Nullable String code) { + this.code = code; return this; } - /** - * The set of answers or possible answers to a question. - */ - public CustomFieldJson1 withValue(@Nonnull List value) { - this.value = Utils.checkNotNull(value, "value"); + public CustomFieldJson1 withType(@Nullable CustomFieldJson1CustomFieldType type) { + this.type = type; return this; } /** - * The order of this question in the bigger list of questions. + * The set of values or possible values to a custom field. */ - public CustomFieldJson1 withOrder(@Nullable Long order) { - this.order = order; + public CustomFieldJson1 withValues(@Nonnull List values) { + this.values = Utils.checkNotNull(values, "values"); return this; } @@ -163,20 +154,20 @@ public boolean equals(java.lang.Object o) { CustomFieldJson1 other = (CustomFieldJson1) o; return Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.code, other.code) && Utils.enhancedDeepEquals(this.type, other.type) - && Utils.enhancedDeepEquals(this.value, other.value) - && Utils.enhancedDeepEquals(this.order, other.order); + && Utils.enhancedDeepEquals(this.values, other.values); } @Override public int hashCode() { - return Utils.enhancedHash(id, name, type, value, order); + return Utils.enhancedHash(id, name, code, type, values); } @Override public String toString() { return Utils.toString( - CustomFieldJson1.class, "id", id, "name", name, "type", type, "value", value, "order", order); + CustomFieldJson1.class, "id", id, "name", name, "code", code, "type", type, "values", values); } @SuppressWarnings("UnusedReturnValue") @@ -186,18 +177,18 @@ public static final class Builder { private String name; - private CustomFieldJson1CustomFieldType type; + private String code; - private List value; + private CustomFieldJson1CustomFieldType type; - private Long order; + private List values; private Builder() { // force use of static builder() method } /** - * The unique ID representing this custom field. + * The unique id representing this custom field. */ public Builder id(@Nonnull String id) { this.id = Utils.checkNotNull(id, "id"); @@ -213,31 +204,28 @@ public Builder name(@Nullable String name) { } /** - * The type of data collected by a custom field. + * Code to uniquely identify custom field. */ - public Builder type(@Nullable CustomFieldJson1CustomFieldType type) { - this.type = type; + public Builder code(@Nullable String code) { + this.code = code; return this; } - /** - * The set of answers or possible answers to a question. - */ - public Builder value(@Nonnull List value) { - this.value = Utils.checkNotNull(value, "value"); + public Builder type(@Nullable CustomFieldJson1CustomFieldType type) { + this.type = type; return this; } /** - * The order of this question in the bigger list of questions. + * The set of values or possible values to a custom field. */ - public Builder order(@Nullable Long order) { - this.order = order; + public Builder values(@Nonnull List values) { + this.values = Utils.checkNotNull(values, "values"); return this; } public CustomFieldJson1 build() { - return new CustomFieldJson1(id, name, type, value, order); + return new CustomFieldJson1(id, name, code, type, values); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/CustomFieldJson1CustomFieldType.java b/packages/java/src/main/java/com/cvent/models/components/CustomFieldJson1CustomFieldType.java index 1239225eb..dc235b4f4 100644 --- a/packages/java/src/main/java/com/cvent/models/components/CustomFieldJson1CustomFieldType.java +++ b/packages/java/src/main/java/com/cvent/models/components/CustomFieldJson1CustomFieldType.java @@ -11,28 +11,14 @@ /** * CustomFieldJson1CustomFieldType * - *

The type of data collected by a custom field. + *

This is used to denote the type of data collected by a custom field. */ public enum CustomFieldJson1CustomFieldType { - AUTO_INCREMENT("AutoIncrement"), - CONSENT_QUESTION("ConsentQuestion"), - CURRENCY("Currency"), - DECIMAL("Decimal"), - DATE("Date"), - DATE_TIME("DateTime"), - EMAIL("Email"), - FILE_UPLOAD("FileUpload"), - FREE_TEXT("FreeText"), - GENERAL("General"), - MULTI_CHOICE("MultiChoice"), - MULTI_SELECT("MultiSelect"), - NUMBER("Number"), - OPEN_ENDED_DATE_TIME("OpenEndedDateTime"), - OPEN_ENDED_TEXT("OpenEndedText"), - SINGLE_CHOICE("SingleChoice"), - SINGLE_SELECT("SingleSelect"), - US_PHONE_NUMBER("USPhoneNumber"), - UNKNOWN("Unknown"); + OPEN_ENDED_TEXT_DATE_TIME("Open Ended Text - Date/Time"), + OPEN_ENDED_TEXT_ONE_LINE("Open Ended Text - One Line"), + OPEN_ENDED_TEXT_COMMENT_BOX("Open Ended Text - Comment Box"), + CHOICE_SINGLE_ANSWER("Choice - Single Answer"), + CHOICE_MULTIPLE_ANSWERS("Choice - Multiple Answers"); @JsonValue private final String value; diff --git a/packages/java/src/main/java/com/cvent/models/components/CustomFieldJson2.java b/packages/java/src/main/java/com/cvent/models/components/CustomFieldJson2.java index e8be070d7..8089c28e0 100644 --- a/packages/java/src/main/java/com/cvent/models/components/CustomFieldJson2.java +++ b/packages/java/src/main/java/com/cvent/models/components/CustomFieldJson2.java @@ -10,6 +10,7 @@ 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.List; @@ -18,11 +19,11 @@ /** * CustomFieldJson2 * - *

A survey custom field. + *

A Custom Field */ public class CustomFieldJson2 { /** - * The unique id representing this custom field. + * The unique ID representing this custom field. */ @JsonProperty("id") private String id; @@ -35,43 +36,45 @@ public class CustomFieldJson2 { private String name; /** - * Code to uniquely identify custom field. + * The set of answers or possible answers to a question. */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("code") - private String code; + @JsonProperty("value") + private List value; + /** + * The order of this question in the bigger list of questions. + */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private CustomFieldJson2CustomFieldType type; + @JsonProperty("order") + private Long order; /** - * The set of values or possible values to a custom field. + * The type of data collected by a custom field. */ - @JsonProperty("values") - private List values; + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private CustomFieldJson2CustomFieldType type; @JsonCreator public CustomFieldJson2( @JsonProperty("id") @Nonnull String id, @JsonProperty("name") @Nullable String name, - @JsonProperty("code") @Nullable String code, - @JsonProperty("type") @Nullable CustomFieldJson2CustomFieldType type, - @JsonProperty("values") @Nonnull List values) { + @JsonProperty("value") @Nonnull List value, + @JsonProperty("order") @Nullable Long order, + @JsonProperty("type") @Nullable CustomFieldJson2CustomFieldType type) { this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); this.name = name; - this.code = code; + this.value = Optional.ofNullable(value).orElseThrow(() -> new IllegalArgumentException("value cannot be null")); + this.order = order; this.type = type; - this.values = - Optional.ofNullable(values).orElseThrow(() -> new IllegalArgumentException("values cannot be null")); } - public CustomFieldJson2(@Nonnull String id, @Nonnull List values) { - this(id, null, null, null, values); + public CustomFieldJson2(@Nonnull String id, @Nonnull List value) { + this(id, null, value, null, null); } /** - * The unique id representing this custom field. + * The unique ID representing this custom field. */ public String id() { return this.id; @@ -85,21 +88,24 @@ public Optional name() { } /** - * Code to uniquely identify custom field. + * The set of answers or possible answers to a question. */ - public Optional code() { - return Optional.ofNullable(this.code); + public List value() { + return this.value; } - public Optional type() { - return Optional.ofNullable(this.type); + /** + * The order of this question in the bigger list of questions. + */ + public Optional order() { + return Optional.ofNullable(this.order); } /** - * The set of values or possible values to a custom field. + * The type of data collected by a custom field. */ - public List values() { - return this.values; + public Optional type() { + return Optional.ofNullable(this.type); } public static Builder builder() { @@ -107,7 +113,7 @@ public static Builder builder() { } /** - * The unique id representing this custom field. + * The unique ID representing this custom field. */ public CustomFieldJson2 withId(@Nonnull String id) { this.id = Utils.checkNotNull(id, "id"); @@ -123,23 +129,26 @@ public CustomFieldJson2 withName(@Nullable String name) { } /** - * Code to uniquely identify custom field. + * The set of answers or possible answers to a question. */ - public CustomFieldJson2 withCode(@Nullable String code) { - this.code = code; + public CustomFieldJson2 withValue(@Nonnull List value) { + this.value = Utils.checkNotNull(value, "value"); return this; } - public CustomFieldJson2 withType(@Nullable CustomFieldJson2CustomFieldType type) { - this.type = type; + /** + * The order of this question in the bigger list of questions. + */ + public CustomFieldJson2 withOrder(@Nullable Long order) { + this.order = order; return this; } /** - * The set of values or possible values to a custom field. + * The type of data collected by a custom field. */ - public CustomFieldJson2 withValues(@Nonnull List values) { - this.values = Utils.checkNotNull(values, "values"); + public CustomFieldJson2 withType(@Nullable CustomFieldJson2CustomFieldType type) { + this.type = type; return this; } @@ -154,20 +163,20 @@ public boolean equals(java.lang.Object o) { CustomFieldJson2 other = (CustomFieldJson2) o; return Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.name, other.name) - && Utils.enhancedDeepEquals(this.code, other.code) - && Utils.enhancedDeepEquals(this.type, other.type) - && Utils.enhancedDeepEquals(this.values, other.values); + && Utils.enhancedDeepEquals(this.value, other.value) + && Utils.enhancedDeepEquals(this.order, other.order) + && Utils.enhancedDeepEquals(this.type, other.type); } @Override public int hashCode() { - return Utils.enhancedHash(id, name, code, type, values); + return Utils.enhancedHash(id, name, value, order, type); } @Override public String toString() { return Utils.toString( - CustomFieldJson2.class, "id", id, "name", name, "code", code, "type", type, "values", values); + CustomFieldJson2.class, "id", id, "name", name, "value", value, "order", order, "type", type); } @SuppressWarnings("UnusedReturnValue") @@ -177,18 +186,18 @@ public static final class Builder { private String name; - private String code; + private List value; - private CustomFieldJson2CustomFieldType type; + private Long order; - private List values; + private CustomFieldJson2CustomFieldType type; private Builder() { // force use of static builder() method } /** - * The unique id representing this custom field. + * The unique ID representing this custom field. */ public Builder id(@Nonnull String id) { this.id = Utils.checkNotNull(id, "id"); @@ -204,28 +213,31 @@ public Builder name(@Nullable String name) { } /** - * Code to uniquely identify custom field. + * The set of answers or possible answers to a question. */ - public Builder code(@Nullable String code) { - this.code = code; + public Builder value(@Nonnull List value) { + this.value = Utils.checkNotNull(value, "value"); return this; } - public Builder type(@Nullable CustomFieldJson2CustomFieldType type) { - this.type = type; + /** + * The order of this question in the bigger list of questions. + */ + public Builder order(@Nullable Long order) { + this.order = order; return this; } /** - * The set of values or possible values to a custom field. + * The type of data collected by a custom field. */ - public Builder values(@Nonnull List values) { - this.values = Utils.checkNotNull(values, "values"); + public Builder type(@Nullable CustomFieldJson2CustomFieldType type) { + this.type = type; return this; } public CustomFieldJson2 build() { - return new CustomFieldJson2(id, name, code, type, values); + return new CustomFieldJson2(id, name, value, order, type); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/CustomFieldJson2CustomFieldType.java b/packages/java/src/main/java/com/cvent/models/components/CustomFieldJson2CustomFieldType.java index 9d774feb7..261b29fbe 100644 --- a/packages/java/src/main/java/com/cvent/models/components/CustomFieldJson2CustomFieldType.java +++ b/packages/java/src/main/java/com/cvent/models/components/CustomFieldJson2CustomFieldType.java @@ -11,14 +11,28 @@ /** * CustomFieldJson2CustomFieldType * - *

This is used to denote the type of data collected by a custom field. + *

The type of data collected by a custom field. */ public enum CustomFieldJson2CustomFieldType { - OPEN_ENDED_TEXT_DATE_TIME("Open Ended Text - Date/Time"), - OPEN_ENDED_TEXT_ONE_LINE("Open Ended Text - One Line"), - OPEN_ENDED_TEXT_COMMENT_BOX("Open Ended Text - Comment Box"), - CHOICE_SINGLE_ANSWER("Choice - Single Answer"), - CHOICE_MULTIPLE_ANSWERS("Choice - Multiple Answers"); + AUTO_INCREMENT("AutoIncrement"), + CONSENT_QUESTION("ConsentQuestion"), + CURRENCY("Currency"), + DECIMAL("Decimal"), + DATE("Date"), + DATE_TIME("DateTime"), + EMAIL("Email"), + FILE_UPLOAD("FileUpload"), + FREE_TEXT("FreeText"), + GENERAL("General"), + MULTI_CHOICE("MultiChoice"), + MULTI_SELECT("MultiSelect"), + NUMBER("Number"), + OPEN_ENDED_DATE_TIME("OpenEndedDateTime"), + OPEN_ENDED_TEXT("OpenEndedText"), + SINGLE_CHOICE("SingleChoice"), + SINGLE_SELECT("SingleSelect"), + US_PHONE_NUMBER("USPhoneNumber"), + UNKNOWN("Unknown"); @JsonValue private final String value; diff --git a/packages/java/src/main/java/com/cvent/models/components/CustomFieldJson3.java b/packages/java/src/main/java/com/cvent/models/components/CustomFieldJson3.java deleted file mode 100644 index 7171ef8ed..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/CustomFieldJson3.java +++ /dev/null @@ -1,243 +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.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Long; -import java.lang.Override; -import java.lang.String; -import java.util.List; -import java.util.Optional; - -/** - * CustomFieldJson3 - * - *

A Custom Field - */ -public class CustomFieldJson3 { - /** - * The unique ID representing this custom field. - */ - @JsonProperty("id") - private String id; - - /** - * The actual text of the custom field. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - /** - * The set of answers or possible answers to a question. - */ - @JsonProperty("value") - private List value; - - /** - * The order of this question in the bigger list of questions. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("order") - private Long order; - - /** - * The type of data collected by a custom field. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private CustomFieldJson3CustomFieldType type; - - @JsonCreator - public CustomFieldJson3( - @JsonProperty("id") @Nonnull String id, - @JsonProperty("name") @Nullable String name, - @JsonProperty("value") @Nonnull List value, - @JsonProperty("order") @Nullable Long order, - @JsonProperty("type") @Nullable CustomFieldJson3CustomFieldType type) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - this.name = name; - this.value = Optional.ofNullable(value).orElseThrow(() -> new IllegalArgumentException("value cannot be null")); - this.order = order; - this.type = type; - } - - public CustomFieldJson3(@Nonnull String id, @Nonnull List value) { - this(id, null, value, null, null); - } - - /** - * The unique ID representing this custom field. - */ - public String id() { - return this.id; - } - - /** - * The actual text of the custom field. - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - /** - * The set of answers or possible answers to a question. - */ - public List value() { - return this.value; - } - - /** - * The order of this question in the bigger list of questions. - */ - public Optional order() { - return Optional.ofNullable(this.order); - } - - /** - * The type of data collected by a custom field. - */ - public Optional type() { - return Optional.ofNullable(this.type); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique ID representing this custom field. - */ - public CustomFieldJson3 withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The actual text of the custom field. - */ - public CustomFieldJson3 withName(@Nullable String name) { - this.name = name; - return this; - } - - /** - * The set of answers or possible answers to a question. - */ - public CustomFieldJson3 withValue(@Nonnull List value) { - this.value = Utils.checkNotNull(value, "value"); - return this; - } - - /** - * The order of this question in the bigger list of questions. - */ - public CustomFieldJson3 withOrder(@Nullable Long order) { - this.order = order; - return this; - } - - /** - * The type of data collected by a custom field. - */ - public CustomFieldJson3 withType(@Nullable CustomFieldJson3CustomFieldType type) { - this.type = type; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CustomFieldJson3 other = (CustomFieldJson3) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.name, other.name) - && Utils.enhancedDeepEquals(this.value, other.value) - && Utils.enhancedDeepEquals(this.order, other.order) - && Utils.enhancedDeepEquals(this.type, other.type); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, name, value, order, type); - } - - @Override - public String toString() { - return Utils.toString( - CustomFieldJson3.class, "id", id, "name", name, "value", value, "order", order, "type", type); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String name; - - private List value; - - private Long order; - - private CustomFieldJson3CustomFieldType type; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique ID representing this custom field. - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * The actual text of the custom field. - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - /** - * The set of answers or possible answers to a question. - */ - public Builder value(@Nonnull List value) { - this.value = Utils.checkNotNull(value, "value"); - return this; - } - - /** - * The order of this question in the bigger list of questions. - */ - public Builder order(@Nullable Long order) { - this.order = order; - return this; - } - - /** - * The type of data collected by a custom field. - */ - public Builder type(@Nullable CustomFieldJson3CustomFieldType type) { - this.type = type; - return this; - } - - public CustomFieldJson3 build() { - return new CustomFieldJson3(id, name, value, order, type); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/CustomFieldJson3CustomFieldType.java b/packages/java/src/main/java/com/cvent/models/components/CustomFieldJson3CustomFieldType.java deleted file mode 100644 index 632902e58..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/CustomFieldJson3CustomFieldType.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * 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; - -/** - * CustomFieldJson3CustomFieldType - * - *

The type of data collected by a custom field. - */ -public enum CustomFieldJson3CustomFieldType { - AUTO_INCREMENT("AutoIncrement"), - CONSENT_QUESTION("ConsentQuestion"), - CURRENCY("Currency"), - DECIMAL("Decimal"), - DATE("Date"), - DATE_TIME("DateTime"), - EMAIL("Email"), - FILE_UPLOAD("FileUpload"), - FREE_TEXT("FreeText"), - GENERAL("General"), - MULTI_CHOICE("MultiChoice"), - MULTI_SELECT("MultiSelect"), - NUMBER("Number"), - OPEN_ENDED_DATE_TIME("OpenEndedDateTime"), - OPEN_ENDED_TEXT("OpenEndedText"), - SINGLE_CHOICE("SingleChoice"), - SINGLE_SELECT("SingleSelect"), - US_PHONE_NUMBER("USPhoneNumber"), - UNKNOWN("Unknown"); - - @JsonValue - private final String value; - - CustomFieldJson3CustomFieldType(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (CustomFieldJson3CustomFieldType o : CustomFieldJson3CustomFieldType.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/CustomFieldJsonCustomFieldType.java b/packages/java/src/main/java/com/cvent/models/components/CustomFieldJsonCustomFieldType.java new file mode 100644 index 000000000..dd3448e2d --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/CustomFieldJsonCustomFieldType.java @@ -0,0 +1,56 @@ +/* + * 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; + +/** + * CustomFieldJsonCustomFieldType + * + *

The type of data collected by a custom field. + */ +public enum CustomFieldJsonCustomFieldType { + AUTO_INCREMENT("AutoIncrement"), + CONSENT_QUESTION("ConsentQuestion"), + CURRENCY("Currency"), + DECIMAL("Decimal"), + DATE("Date"), + DATE_TIME("DateTime"), + EMAIL("Email"), + FILE_UPLOAD("FileUpload"), + FREE_TEXT("FreeText"), + GENERAL("General"), + MULTI_CHOICE("MultiChoice"), + MULTI_SELECT("MultiSelect"), + NUMBER("Number"), + OPEN_ENDED_DATE_TIME("OpenEndedDateTime"), + OPEN_ENDED_TEXT("OpenEndedText"), + SINGLE_CHOICE("SingleChoice"), + SINGLE_SELECT("SingleSelect"), + US_PHONE_NUMBER("USPhoneNumber"), + UNKNOWN("Unknown"); + + @JsonValue + private final String value; + + CustomFieldJsonCustomFieldType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (CustomFieldJsonCustomFieldType o : CustomFieldJsonCustomFieldType.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/CustomFieldTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/CustomFieldTypeJson.java new file mode 100644 index 000000000..0f0ef24a6 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/CustomFieldTypeJson.java @@ -0,0 +1,44 @@ +/* + * 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; + +/** + * CustomFieldTypeJson + * + *

This is used to denote the type of data collected by a custom field. Auto-Increment custom fields + * are read only. + */ +public enum CustomFieldTypeJson { + OPEN_ENDED_TEXT_DATE_TIME("Open Ended Text - Date/Time"), + OPEN_ENDED_TEXT_ONE_LINE("Open Ended Text - One Line"), + OPEN_ENDED_TEXT_COMMENT_BOX("Open Ended Text - Comment Box"), + CHOICE_SINGLE_ANSWER("Choice - Single Answer"), + CHOICE_MULTIPLE_ANSWERS("Choice - Multiple Answers"), + AUTO_INCREMENT("Auto-Increment"); + + @JsonValue + private final String value; + + CustomFieldTypeJson(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (CustomFieldTypeJson o : CustomFieldTypeJson.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/CustomFieldTypeJson1.java b/packages/java/src/main/java/com/cvent/models/components/CustomFieldTypeJson1.java deleted file mode 100644 index 9166e7aea..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/CustomFieldTypeJson1.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * 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; - -/** - * CustomFieldTypeJson1 - * - *

This is used to denote the type of data collected by a custom field. Auto-Increment custom fields - * are read only. - */ -public enum CustomFieldTypeJson1 { - OPEN_ENDED_TEXT_DATE_TIME("Open Ended Text - Date/Time"), - OPEN_ENDED_TEXT_ONE_LINE("Open Ended Text - One Line"), - OPEN_ENDED_TEXT_COMMENT_BOX("Open Ended Text - Comment Box"), - CHOICE_SINGLE_ANSWER("Choice - Single Answer"), - CHOICE_MULTIPLE_ANSWERS("Choice - Multiple Answers"), - AUTO_INCREMENT("Auto-Increment"); - - @JsonValue - private final String value; - - CustomFieldTypeJson1(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (CustomFieldTypeJson1 o : CustomFieldTypeJson1.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/CustomQuestionAnswerJson0.java b/packages/java/src/main/java/com/cvent/models/components/CustomQuestionAnswerJson0.java deleted file mode 100644 index cbec1f308..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/CustomQuestionAnswerJson0.java +++ /dev/null @@ -1,136 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * CustomQuestionAnswerJson0 - * - *

Represents custom question associated with a travel proposal. - */ -public class CustomQuestionAnswerJson0 { - /** - * Travel account that the proposal is responding to. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("question") - private CustomQuestionAnswerJson0Question question; - - /** - * Hotel's answer to the program's custom question. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("answer") - private String answer; - - @JsonCreator - public CustomQuestionAnswerJson0( - @JsonProperty("question") @Nullable CustomQuestionAnswerJson0Question question, - @JsonProperty("answer") @Nullable String answer) { - this.question = question; - this.answer = answer; - } - - public CustomQuestionAnswerJson0() { - this(null, null); - } - - /** - * Travel account that the proposal is responding to. - */ - public Optional question() { - return Optional.ofNullable(this.question); - } - - /** - * Hotel's answer to the program's custom question. - */ - public Optional answer() { - return Optional.ofNullable(this.answer); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Travel account that the proposal is responding to. - */ - public CustomQuestionAnswerJson0 withQuestion(@Nullable CustomQuestionAnswerJson0Question question) { - this.question = question; - return this; - } - - /** - * Hotel's answer to the program's custom question. - */ - public CustomQuestionAnswerJson0 withAnswer(@Nullable String answer) { - this.answer = answer; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CustomQuestionAnswerJson0 other = (CustomQuestionAnswerJson0) o; - return Utils.enhancedDeepEquals(this.question, other.question) - && Utils.enhancedDeepEquals(this.answer, other.answer); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(question, answer); - } - - @Override - public String toString() { - return Utils.toString(CustomQuestionAnswerJson0.class, "question", question, "answer", answer); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private CustomQuestionAnswerJson0Question question; - - private String answer; - - private Builder() { - // force use of static builder() method - } - - /** - * Travel account that the proposal is responding to. - */ - public Builder question(@Nullable CustomQuestionAnswerJson0Question question) { - this.question = question; - return this; - } - - /** - * Hotel's answer to the program's custom question. - */ - public Builder answer(@Nullable String answer) { - this.answer = answer; - return this; - } - - public CustomQuestionAnswerJson0 build() { - return new CustomQuestionAnswerJson0(question, answer); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/CustomQuestionAnswerJson0Question.java b/packages/java/src/main/java/com/cvent/models/components/CustomQuestionAnswerJson0Question.java deleted file mode 100644 index 3318a156a..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/CustomQuestionAnswerJson0Question.java +++ /dev/null @@ -1,100 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * CustomQuestionAnswerJson0Question - * - *

Travel account that the proposal is responding to. - */ -public class CustomQuestionAnswerJson0Question { - /** - * The unique ID of the question. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public CustomQuestionAnswerJson0Question(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public CustomQuestionAnswerJson0Question() { - this(null); - } - - /** - * The unique ID of the question. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique ID of the question. - */ - public CustomQuestionAnswerJson0Question withId(@Nullable String id) { - this.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; - } - CustomQuestionAnswerJson0Question other = (CustomQuestionAnswerJson0Question) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(CustomQuestionAnswerJson0Question.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique ID of the question. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public CustomQuestionAnswerJson0Question build() { - return new CustomQuestionAnswerJson0Question(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/DateAnswerFormat.java b/packages/java/src/main/java/com/cvent/models/components/DateAnswerFormat.java new file mode 100644 index 000000000..07f1ca78e --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/DateAnswerFormat.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; + +/** + * DateAnswerFormat + * + *

The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. + * `DateTime`: Answer format is stored in DateTime format. + * + *

`Time`: Answer format is stored in Time format. + */ +public enum DateAnswerFormat { + DATE("Date"), + DATE_TIME("DateTime"), + TIME("Time"); + + @JsonValue + private final String value; + + DateAnswerFormat(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (DateAnswerFormat o : DateAnswerFormat.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/DateAnswerFormatJson.java b/packages/java/src/main/java/com/cvent/models/components/DateAnswerFormatJson.java deleted file mode 100644 index e43299df4..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/DateAnswerFormatJson.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * 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; - -/** - * DateAnswerFormatJson - * - *

The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. - * `DateTime`: Answer format is stored in DateTime format. - * - *

`Time`: Answer format is stored in Time format. - */ -public enum DateAnswerFormatJson { - DATE("Date"), - DATE_TIME("DateTime"), - TIME("Time"); - - @JsonValue - private final String value; - - DateAnswerFormatJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (DateAnswerFormatJson o : DateAnswerFormatJson.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/DatePattern1.java b/packages/java/src/main/java/com/cvent/models/components/DatePattern1.java new file mode 100644 index 000000000..18d0a9d18 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/DatePattern1.java @@ -0,0 +1,295 @@ +/* + * 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.time.LocalDate; +import java.util.List; +import java.util.Optional; + +/** + * DatePattern1 + * + *

Date pattern for days on which event can occur. Used when dateMode is DATE_PATTERN. + */ +public class DatePattern1 { + /** + * Note along with date pattern requirements. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("note") + private String note; + + /** + * The ISO 8601 end date of the event. + */ + @JsonProperty("endDate") + private LocalDate endDate; + + /** + * The ISO 8601 start date of the event. + */ + @JsonProperty("startDate") + private LocalDate startDate; + + /** + * Number of days the event will go on. + */ + @JsonProperty("durationDays") + private long durationDays; + + /** + * Days of the week when event can start. + */ + @JsonProperty("startDays") + private List startDays; + + /** + * List of dates generated based on the date pattern. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("generatedDates") + private List generatedDates; + + @JsonCreator + public DatePattern1( + @JsonProperty("note") @Nullable String note, + @JsonProperty("endDate") @Nonnull LocalDate endDate, + @JsonProperty("startDate") @Nonnull LocalDate startDate, + @JsonProperty("durationDays") long durationDays, + @JsonProperty("startDays") @Nonnull List startDays, + @JsonProperty("generatedDates") @Nullable List generatedDates) { + this.note = note; + this.endDate = + Optional.ofNullable(endDate).orElseThrow(() -> new IllegalArgumentException("endDate cannot be null")); + this.startDate = Optional.ofNullable(startDate) + .orElseThrow(() -> new IllegalArgumentException("startDate cannot be null")); + this.durationDays = durationDays; + this.startDays = Optional.ofNullable(startDays) + .orElseThrow(() -> new IllegalArgumentException("startDays cannot be null")); + this.generatedDates = generatedDates; + } + + public DatePattern1( + @Nonnull LocalDate endDate, + @Nonnull LocalDate startDate, + long durationDays, + @Nonnull List startDays) { + this(null, endDate, startDate, durationDays, startDays, null); + } + + /** + * Note along with date pattern requirements. + */ + public Optional note() { + return Optional.ofNullable(this.note); + } + + /** + * The ISO 8601 end date of the event. + */ + public LocalDate endDate() { + return this.endDate; + } + + /** + * The ISO 8601 start date of the event. + */ + public LocalDate startDate() { + return this.startDate; + } + + /** + * Number of days the event will go on. + */ + public long durationDays() { + return this.durationDays; + } + + /** + * Days of the week when event can start. + */ + public List startDays() { + return this.startDays; + } + + /** + * List of dates generated based on the date pattern. + */ + public Optional> generatedDates() { + return Optional.ofNullable(this.generatedDates); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Note along with date pattern requirements. + */ + public DatePattern1 withNote(@Nullable String note) { + this.note = note; + return this; + } + + /** + * The ISO 8601 end date of the event. + */ + public DatePattern1 withEndDate(@Nonnull LocalDate endDate) { + this.endDate = Utils.checkNotNull(endDate, "endDate"); + return this; + } + + /** + * The ISO 8601 start date of the event. + */ + public DatePattern1 withStartDate(@Nonnull LocalDate startDate) { + this.startDate = Utils.checkNotNull(startDate, "startDate"); + return this; + } + + /** + * Number of days the event will go on. + */ + public DatePattern1 withDurationDays(long durationDays) { + this.durationDays = durationDays; + return this; + } + + /** + * Days of the week when event can start. + */ + public DatePattern1 withStartDays(@Nonnull List startDays) { + this.startDays = Utils.checkNotNull(startDays, "startDays"); + return this; + } + + /** + * List of dates generated based on the date pattern. + */ + public DatePattern1 withGeneratedDates(@Nullable List generatedDates) { + this.generatedDates = generatedDates; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DatePattern1 other = (DatePattern1) o; + return Utils.enhancedDeepEquals(this.note, other.note) + && Utils.enhancedDeepEquals(this.endDate, other.endDate) + && Utils.enhancedDeepEquals(this.startDate, other.startDate) + && Utils.enhancedDeepEquals(this.durationDays, other.durationDays) + && Utils.enhancedDeepEquals(this.startDays, other.startDays) + && Utils.enhancedDeepEquals(this.generatedDates, other.generatedDates); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(note, endDate, startDate, durationDays, startDays, generatedDates); + } + + @Override + public String toString() { + return Utils.toString( + DatePattern1.class, + "note", + note, + "endDate", + endDate, + "startDate", + startDate, + "durationDays", + durationDays, + "startDays", + startDays, + "generatedDates", + generatedDates); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String note; + + private LocalDate endDate; + + private LocalDate startDate; + + private long durationDays; + + private List startDays; + + private List generatedDates; + + private Builder() { + // force use of static builder() method + } + + /** + * Note along with date pattern requirements. + */ + public Builder note(@Nullable String note) { + this.note = note; + return this; + } + + /** + * The ISO 8601 end date of the event. + */ + public Builder endDate(@Nonnull LocalDate endDate) { + this.endDate = Utils.checkNotNull(endDate, "endDate"); + return this; + } + + /** + * The ISO 8601 start date of the event. + */ + public Builder startDate(@Nonnull LocalDate startDate) { + this.startDate = Utils.checkNotNull(startDate, "startDate"); + return this; + } + + /** + * Number of days the event will go on. + */ + public Builder durationDays(long durationDays) { + this.durationDays = durationDays; + return this; + } + + /** + * Days of the week when event can start. + */ + public Builder startDays(@Nonnull List startDays) { + this.startDays = Utils.checkNotNull(startDays, "startDays"); + return this; + } + + /** + * List of dates generated based on the date pattern. + */ + public Builder generatedDates(@Nullable List generatedDates) { + this.generatedDates = generatedDates; + return this; + } + + public DatePattern1 build() { + return new DatePattern1(note, endDate, startDate, durationDays, startDays, generatedDates); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/DatePatternJson0.java b/packages/java/src/main/java/com/cvent/models/components/DatePatternJson0.java deleted file mode 100644 index cec64092d..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/DatePatternJson0.java +++ /dev/null @@ -1,295 +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.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.time.LocalDate; -import java.util.List; -import java.util.Optional; - -/** - * DatePatternJson0 - * - *

Date pattern for days on which event can occur. Used when dateMode is DATE_PATTERN. - */ -public class DatePatternJson0 { - /** - * Note along with date pattern requirements. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("note") - private String note; - - /** - * The ISO 8601 end date of the event. - */ - @JsonProperty("endDate") - private LocalDate endDate; - - /** - * The ISO 8601 start date of the event. - */ - @JsonProperty("startDate") - private LocalDate startDate; - - /** - * Number of days the event will go on. - */ - @JsonProperty("durationDays") - private long durationDays; - - /** - * Days of the week when event can start. - */ - @JsonProperty("startDays") - private List startDays; - - /** - * List of dates generated based on the date pattern. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("generatedDates") - private List generatedDates; - - @JsonCreator - public DatePatternJson0( - @JsonProperty("note") @Nullable String note, - @JsonProperty("endDate") @Nonnull LocalDate endDate, - @JsonProperty("startDate") @Nonnull LocalDate startDate, - @JsonProperty("durationDays") long durationDays, - @JsonProperty("startDays") @Nonnull List startDays, - @JsonProperty("generatedDates") @Nullable List generatedDates) { - this.note = note; - this.endDate = - Optional.ofNullable(endDate).orElseThrow(() -> new IllegalArgumentException("endDate cannot be null")); - this.startDate = Optional.ofNullable(startDate) - .orElseThrow(() -> new IllegalArgumentException("startDate cannot be null")); - this.durationDays = durationDays; - this.startDays = Optional.ofNullable(startDays) - .orElseThrow(() -> new IllegalArgumentException("startDays cannot be null")); - this.generatedDates = generatedDates; - } - - public DatePatternJson0( - @Nonnull LocalDate endDate, - @Nonnull LocalDate startDate, - long durationDays, - @Nonnull List startDays) { - this(null, endDate, startDate, durationDays, startDays, null); - } - - /** - * Note along with date pattern requirements. - */ - public Optional note() { - return Optional.ofNullable(this.note); - } - - /** - * The ISO 8601 end date of the event. - */ - public LocalDate endDate() { - return this.endDate; - } - - /** - * The ISO 8601 start date of the event. - */ - public LocalDate startDate() { - return this.startDate; - } - - /** - * Number of days the event will go on. - */ - public long durationDays() { - return this.durationDays; - } - - /** - * Days of the week when event can start. - */ - public List startDays() { - return this.startDays; - } - - /** - * List of dates generated based on the date pattern. - */ - public Optional> generatedDates() { - return Optional.ofNullable(this.generatedDates); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Note along with date pattern requirements. - */ - public DatePatternJson0 withNote(@Nullable String note) { - this.note = note; - return this; - } - - /** - * The ISO 8601 end date of the event. - */ - public DatePatternJson0 withEndDate(@Nonnull LocalDate endDate) { - this.endDate = Utils.checkNotNull(endDate, "endDate"); - return this; - } - - /** - * The ISO 8601 start date of the event. - */ - public DatePatternJson0 withStartDate(@Nonnull LocalDate startDate) { - this.startDate = Utils.checkNotNull(startDate, "startDate"); - return this; - } - - /** - * Number of days the event will go on. - */ - public DatePatternJson0 withDurationDays(long durationDays) { - this.durationDays = durationDays; - return this; - } - - /** - * Days of the week when event can start. - */ - public DatePatternJson0 withStartDays(@Nonnull List startDays) { - this.startDays = Utils.checkNotNull(startDays, "startDays"); - return this; - } - - /** - * List of dates generated based on the date pattern. - */ - public DatePatternJson0 withGeneratedDates(@Nullable List generatedDates) { - this.generatedDates = generatedDates; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - DatePatternJson0 other = (DatePatternJson0) o; - return Utils.enhancedDeepEquals(this.note, other.note) - && Utils.enhancedDeepEquals(this.endDate, other.endDate) - && Utils.enhancedDeepEquals(this.startDate, other.startDate) - && Utils.enhancedDeepEquals(this.durationDays, other.durationDays) - && Utils.enhancedDeepEquals(this.startDays, other.startDays) - && Utils.enhancedDeepEquals(this.generatedDates, other.generatedDates); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(note, endDate, startDate, durationDays, startDays, generatedDates); - } - - @Override - public String toString() { - return Utils.toString( - DatePatternJson0.class, - "note", - note, - "endDate", - endDate, - "startDate", - startDate, - "durationDays", - durationDays, - "startDays", - startDays, - "generatedDates", - generatedDates); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String note; - - private LocalDate endDate; - - private LocalDate startDate; - - private long durationDays; - - private List startDays; - - private List generatedDates; - - private Builder() { - // force use of static builder() method - } - - /** - * Note along with date pattern requirements. - */ - public Builder note(@Nullable String note) { - this.note = note; - return this; - } - - /** - * The ISO 8601 end date of the event. - */ - public Builder endDate(@Nonnull LocalDate endDate) { - this.endDate = Utils.checkNotNull(endDate, "endDate"); - return this; - } - - /** - * The ISO 8601 start date of the event. - */ - public Builder startDate(@Nonnull LocalDate startDate) { - this.startDate = Utils.checkNotNull(startDate, "startDate"); - return this; - } - - /** - * Number of days the event will go on. - */ - public Builder durationDays(long durationDays) { - this.durationDays = durationDays; - return this; - } - - /** - * Days of the week when event can start. - */ - public Builder startDays(@Nonnull List startDays) { - this.startDays = Utils.checkNotNull(startDays, "startDays"); - return this; - } - - /** - * List of dates generated based on the date pattern. - */ - public Builder generatedDates(@Nullable List generatedDates) { - this.generatedDates = generatedDates; - return this; - } - - public DatePatternJson0 build() { - return new DatePatternJson0(note, endDate, startDate, durationDays, startDays, generatedDates); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/DateRequirements1.java b/packages/java/src/main/java/com/cvent/models/components/DateRequirements1.java new file mode 100644 index 000000000..542ecb4a6 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/DateRequirements1.java @@ -0,0 +1,227 @@ +/* + * 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.Boolean; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Optional; + +/** + * DateRequirements1 + * + *

Date requirements for the event. + */ +public class DateRequirements1 { + /** + * RfpDateMode + */ + @JsonProperty("mode") + private RfpDateMode mode; + + /** + * List of dates for the event. Can be used to provide set of alternate event dates when mode is + * ALTERNATE_DATE. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("alternateDates") + private List alternateDates; + + /** + * Date pattern for days on which event can occur. Used when dateMode is DATE_PATTERN. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("pattern") + private DatePattern1 pattern; + + /** + * True indicates that the event requires a range of availability dates. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("availabilityRangeRequired") + private Boolean availabilityRangeRequired; + + @JsonCreator + public DateRequirements1( + @JsonProperty("mode") @Nonnull RfpDateMode mode, + @JsonProperty("alternateDates") @Nullable List alternateDates, + @JsonProperty("pattern") @Nullable DatePattern1 pattern, + @JsonProperty("availabilityRangeRequired") @Nullable Boolean availabilityRangeRequired) { + this.mode = Optional.ofNullable(mode).orElseThrow(() -> new IllegalArgumentException("mode cannot be null")); + this.alternateDates = alternateDates; + this.pattern = pattern; + this.availabilityRangeRequired = Optional.ofNullable(availabilityRangeRequired) + .orElse(Builder._SINGLETON_VALUE_AvailabilityRangeRequired.value()); + } + + public DateRequirements1(@Nonnull RfpDateMode mode) { + this(mode, null, null, null); + } + + /** + * RfpDateMode + */ + public RfpDateMode mode() { + return this.mode; + } + + /** + * List of dates for the event. Can be used to provide set of alternate event dates when mode is + * ALTERNATE_DATE. + */ + public Optional> alternateDates() { + return Optional.ofNullable(this.alternateDates); + } + + /** + * Date pattern for days on which event can occur. Used when dateMode is DATE_PATTERN. + */ + public Optional pattern() { + return Optional.ofNullable(this.pattern); + } + + /** + * True indicates that the event requires a range of availability dates. + */ + public Optional availabilityRangeRequired() { + return Optional.ofNullable(this.availabilityRangeRequired); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * RfpDateMode + */ + public DateRequirements1 withMode(@Nonnull RfpDateMode mode) { + this.mode = Utils.checkNotNull(mode, "mode"); + return this; + } + + /** + * List of dates for the event. Can be used to provide set of alternate event dates when mode is + * ALTERNATE_DATE. + */ + public DateRequirements1 withAlternateDates(@Nullable List alternateDates) { + this.alternateDates = alternateDates; + return this; + } + + /** + * Date pattern for days on which event can occur. Used when dateMode is DATE_PATTERN. + */ + public DateRequirements1 withPattern(@Nullable DatePattern1 pattern) { + this.pattern = pattern; + return this; + } + + /** + * True indicates that the event requires a range of availability dates. + */ + public DateRequirements1 withAvailabilityRangeRequired(@Nullable Boolean availabilityRangeRequired) { + this.availabilityRangeRequired = availabilityRangeRequired; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DateRequirements1 other = (DateRequirements1) o; + return Utils.enhancedDeepEquals(this.mode, other.mode) + && Utils.enhancedDeepEquals(this.alternateDates, other.alternateDates) + && Utils.enhancedDeepEquals(this.pattern, other.pattern) + && Utils.enhancedDeepEquals(this.availabilityRangeRequired, other.availabilityRangeRequired); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(mode, alternateDates, pattern, availabilityRangeRequired); + } + + @Override + public String toString() { + return Utils.toString( + DateRequirements1.class, + "mode", + mode, + "alternateDates", + alternateDates, + "pattern", + pattern, + "availabilityRangeRequired", + availabilityRangeRequired); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private RfpDateMode mode; + + private List alternateDates; + + private DatePattern1 pattern; + + private Boolean availabilityRangeRequired; + + private Builder() { + // force use of static builder() method + } + + /** + * RfpDateMode + */ + public Builder mode(@Nonnull RfpDateMode mode) { + this.mode = Utils.checkNotNull(mode, "mode"); + return this; + } + + /** + * List of dates for the event. Can be used to provide set of alternate event dates when mode is + * ALTERNATE_DATE. + */ + public Builder alternateDates(@Nullable List alternateDates) { + this.alternateDates = alternateDates; + return this; + } + + /** + * Date pattern for days on which event can occur. Used when dateMode is DATE_PATTERN. + */ + public Builder pattern(@Nullable DatePattern1 pattern) { + this.pattern = pattern; + return this; + } + + /** + * True indicates that the event requires a range of availability dates. + */ + public Builder availabilityRangeRequired(@Nullable Boolean availabilityRangeRequired) { + this.availabilityRangeRequired = availabilityRangeRequired; + return this; + } + + public DateRequirements1 build() { + return new DateRequirements1(mode, alternateDates, pattern, availabilityRangeRequired); + } + + private static final LazySingletonValue _SINGLETON_VALUE_AvailabilityRangeRequired = + new LazySingletonValue<>("availabilityRangeRequired", "false", new TypeReference() {}); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/DateRequirementsJson0.java b/packages/java/src/main/java/com/cvent/models/components/DateRequirementsJson0.java deleted file mode 100644 index fdab72de4..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/DateRequirementsJson0.java +++ /dev/null @@ -1,227 +0,0 @@ -/* - * 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.Boolean; -import java.lang.Override; -import java.lang.String; -import java.util.List; -import java.util.Optional; - -/** - * DateRequirementsJson0 - * - *

Date requirements for the event. - */ -public class DateRequirementsJson0 { - /** - * Way of specifying dates for the event. - */ - @JsonProperty("mode") - private RfpDateModeJson0 mode; - - /** - * List of dates for the event. Can be used to provide set of alternate event dates when mode is - * ALTERNATE_DATE. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("alternateDates") - private List alternateDates; - - /** - * Date pattern for days on which event can occur. Used when dateMode is DATE_PATTERN. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("pattern") - private DatePatternJson0 pattern; - - /** - * True indicates that the event requires a range of availability dates. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("availabilityRangeRequired") - private Boolean availabilityRangeRequired; - - @JsonCreator - public DateRequirementsJson0( - @JsonProperty("mode") @Nonnull RfpDateModeJson0 mode, - @JsonProperty("alternateDates") @Nullable List alternateDates, - @JsonProperty("pattern") @Nullable DatePatternJson0 pattern, - @JsonProperty("availabilityRangeRequired") @Nullable Boolean availabilityRangeRequired) { - this.mode = Optional.ofNullable(mode).orElseThrow(() -> new IllegalArgumentException("mode cannot be null")); - this.alternateDates = alternateDates; - this.pattern = pattern; - this.availabilityRangeRequired = Optional.ofNullable(availabilityRangeRequired) - .orElse(Builder._SINGLETON_VALUE_AvailabilityRangeRequired.value()); - } - - public DateRequirementsJson0(@Nonnull RfpDateModeJson0 mode) { - this(mode, null, null, null); - } - - /** - * Way of specifying dates for the event. - */ - public RfpDateModeJson0 mode() { - return this.mode; - } - - /** - * List of dates for the event. Can be used to provide set of alternate event dates when mode is - * ALTERNATE_DATE. - */ - public Optional> alternateDates() { - return Optional.ofNullable(this.alternateDates); - } - - /** - * Date pattern for days on which event can occur. Used when dateMode is DATE_PATTERN. - */ - public Optional pattern() { - return Optional.ofNullable(this.pattern); - } - - /** - * True indicates that the event requires a range of availability dates. - */ - public Optional availabilityRangeRequired() { - return Optional.ofNullable(this.availabilityRangeRequired); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Way of specifying dates for the event. - */ - public DateRequirementsJson0 withMode(@Nonnull RfpDateModeJson0 mode) { - this.mode = Utils.checkNotNull(mode, "mode"); - return this; - } - - /** - * List of dates for the event. Can be used to provide set of alternate event dates when mode is - * ALTERNATE_DATE. - */ - public DateRequirementsJson0 withAlternateDates(@Nullable List alternateDates) { - this.alternateDates = alternateDates; - return this; - } - - /** - * Date pattern for days on which event can occur. Used when dateMode is DATE_PATTERN. - */ - public DateRequirementsJson0 withPattern(@Nullable DatePatternJson0 pattern) { - this.pattern = pattern; - return this; - } - - /** - * True indicates that the event requires a range of availability dates. - */ - public DateRequirementsJson0 withAvailabilityRangeRequired(@Nullable Boolean availabilityRangeRequired) { - this.availabilityRangeRequired = availabilityRangeRequired; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - DateRequirementsJson0 other = (DateRequirementsJson0) o; - return Utils.enhancedDeepEquals(this.mode, other.mode) - && Utils.enhancedDeepEquals(this.alternateDates, other.alternateDates) - && Utils.enhancedDeepEquals(this.pattern, other.pattern) - && Utils.enhancedDeepEquals(this.availabilityRangeRequired, other.availabilityRangeRequired); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(mode, alternateDates, pattern, availabilityRangeRequired); - } - - @Override - public String toString() { - return Utils.toString( - DateRequirementsJson0.class, - "mode", - mode, - "alternateDates", - alternateDates, - "pattern", - pattern, - "availabilityRangeRequired", - availabilityRangeRequired); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private RfpDateModeJson0 mode; - - private List alternateDates; - - private DatePatternJson0 pattern; - - private Boolean availabilityRangeRequired; - - private Builder() { - // force use of static builder() method - } - - /** - * Way of specifying dates for the event. - */ - public Builder mode(@Nonnull RfpDateModeJson0 mode) { - this.mode = Utils.checkNotNull(mode, "mode"); - return this; - } - - /** - * List of dates for the event. Can be used to provide set of alternate event dates when mode is - * ALTERNATE_DATE. - */ - public Builder alternateDates(@Nullable List alternateDates) { - this.alternateDates = alternateDates; - return this; - } - - /** - * Date pattern for days on which event can occur. Used when dateMode is DATE_PATTERN. - */ - public Builder pattern(@Nullable DatePatternJson0 pattern) { - this.pattern = pattern; - return this; - } - - /** - * True indicates that the event requires a range of availability dates. - */ - public Builder availabilityRangeRequired(@Nullable Boolean availabilityRangeRequired) { - this.availabilityRangeRequired = availabilityRangeRequired; - return this; - } - - public DateRequirementsJson0 build() { - return new DateRequirementsJson0(mode, alternateDates, pattern, availabilityRangeRequired); - } - - private static final LazySingletonValue _SINGLETON_VALUE_AvailabilityRangeRequired = - new LazySingletonValue<>("availabilityRangeRequired", "false", new TypeReference() {}); - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/DateTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/DateTypeJson.java new file mode 100644 index 000000000..2e7c40473 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/DateTypeJson.java @@ -0,0 +1,52 @@ +/* + * 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; + +/** + * DateTypeJson + * + *

The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with + * 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and + * so on). + */ +public enum DateTypeJson { + PREFERRED("PREFERRED"), + ALTERNATE1("ALTERNATE_1"), + ALTERNATE2("ALTERNATE_2"), + ALTERNATE3("ALTERNATE_3"), + ALTERNATE4("ALTERNATE_4"), + ALTERNATE5("ALTERNATE_5"), + ALTERNATE6("ALTERNATE_6"), + ALTERNATE7("ALTERNATE_7"), + ALTERNATE8("ALTERNATE_8"), + ALTERNATE9("ALTERNATE_9"), + ALTERNATE10("ALTERNATE_10"), + ALTERNATE11("ALTERNATE_11"), + ALTERNATE12("ALTERNATE_12"); + + @JsonValue + private final String value; + + DateTypeJson(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (DateTypeJson o : DateTypeJson.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/DateTypeJson1.java b/packages/java/src/main/java/com/cvent/models/components/DateTypeJson1.java deleted file mode 100644 index a134043d6..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/DateTypeJson1.java +++ /dev/null @@ -1,52 +0,0 @@ -/* - * 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; - -/** - * DateTypeJson1 - * - *

The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with - * 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and - * so on). - */ -public enum DateTypeJson1 { - PREFERRED("PREFERRED"), - ALTERNATE1("ALTERNATE_1"), - ALTERNATE2("ALTERNATE_2"), - ALTERNATE3("ALTERNATE_3"), - ALTERNATE4("ALTERNATE_4"), - ALTERNATE5("ALTERNATE_5"), - ALTERNATE6("ALTERNATE_6"), - ALTERNATE7("ALTERNATE_7"), - ALTERNATE8("ALTERNATE_8"), - ALTERNATE9("ALTERNATE_9"), - ALTERNATE10("ALTERNATE_10"), - ALTERNATE11("ALTERNATE_11"), - ALTERNATE12("ALTERNATE_12"); - - @JsonValue - private final String value; - - DateTypeJson1(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (DateTypeJson1 o : DateTypeJson1.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/Dates1.java b/packages/java/src/main/java/com/cvent/models/components/Dates1.java new file mode 100644 index 000000000..e0b92dfc7 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Dates1.java @@ -0,0 +1,254 @@ +/* + * 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.LocalDate; +import java.util.Optional; + +/** + * Dates1 + * + *

Dates on which event will occur. + */ +public class Dates1 { + /** + * True indicates these are preferred dates. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("preferred") + private Boolean preferred; + + /** + * Unique identifier for dates. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * The ISO 8601 end date of the event. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("endDate") + private LocalDate endDate; + + /** + * The ISO 8601 start date of the event. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("startDate") + private LocalDate startDate; + + /** + * A note detailing the requirements for the dates. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("note") + private String note; + + @JsonCreator + public Dates1( + @JsonProperty("preferred") @Nullable Boolean preferred, + @JsonProperty("id") @Nullable String id, + @JsonProperty("endDate") @Nullable LocalDate endDate, + @JsonProperty("startDate") @Nullable LocalDate startDate, + @JsonProperty("note") @Nullable String note) { + this.preferred = preferred; + this.id = id; + this.endDate = endDate; + this.startDate = startDate; + this.note = note; + } + + public Dates1() { + this(null, null, null, null, null); + } + + /** + * True indicates these are preferred dates. + */ + public Optional preferred() { + return Optional.ofNullable(this.preferred); + } + + /** + * Unique identifier for dates. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The ISO 8601 end date of the event. + */ + public Optional endDate() { + return Optional.ofNullable(this.endDate); + } + + /** + * The ISO 8601 start date of the event. + */ + public Optional startDate() { + return Optional.ofNullable(this.startDate); + } + + /** + * A note detailing the requirements for the dates. + */ + public Optional note() { + return Optional.ofNullable(this.note); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * True indicates these are preferred dates. + */ + public Dates1 withPreferred(@Nullable Boolean preferred) { + this.preferred = preferred; + return this; + } + + /** + * Unique identifier for dates. + */ + public Dates1 withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The ISO 8601 end date of the event. + */ + public Dates1 withEndDate(@Nullable LocalDate endDate) { + this.endDate = endDate; + return this; + } + + /** + * The ISO 8601 start date of the event. + */ + public Dates1 withStartDate(@Nullable LocalDate startDate) { + this.startDate = startDate; + return this; + } + + /** + * A note detailing the requirements for the dates. + */ + public Dates1 withNote(@Nullable String note) { + this.note = note; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Dates1 other = (Dates1) o; + return Utils.enhancedDeepEquals(this.preferred, other.preferred) + && Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.endDate, other.endDate) + && Utils.enhancedDeepEquals(this.startDate, other.startDate) + && Utils.enhancedDeepEquals(this.note, other.note); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(preferred, id, endDate, startDate, note); + } + + @Override + public String toString() { + return Utils.toString( + Dates1.class, + "preferred", + preferred, + "id", + id, + "endDate", + endDate, + "startDate", + startDate, + "note", + note); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private Boolean preferred; + + private String id; + + private LocalDate endDate; + + private LocalDate startDate; + + private String note; + + private Builder() { + // force use of static builder() method + } + + /** + * True indicates these are preferred dates. + */ + public Builder preferred(@Nullable Boolean preferred) { + this.preferred = preferred; + return this; + } + + /** + * Unique identifier for dates. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The ISO 8601 end date of the event. + */ + public Builder endDate(@Nullable LocalDate endDate) { + this.endDate = endDate; + return this; + } + + /** + * The ISO 8601 start date of the event. + */ + public Builder startDate(@Nullable LocalDate startDate) { + this.startDate = startDate; + return this; + } + + /** + * A note detailing the requirements for the dates. + */ + public Builder note(@Nullable String note) { + this.note = note; + return this; + } + + public Dates1 build() { + return new Dates1(preferred, id, endDate, startDate, note); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/DatesJson0.java b/packages/java/src/main/java/com/cvent/models/components/DatesJson0.java deleted file mode 100644 index 052b2a7ef..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/DatesJson0.java +++ /dev/null @@ -1,254 +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.Override; -import java.lang.String; -import java.time.LocalDate; -import java.util.Optional; - -/** - * DatesJson0 - * - *

Dates on which event will occur. - */ -public class DatesJson0 { - /** - * True indicates these are preferred dates. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("preferred") - private Boolean preferred; - - /** - * Unique identifier for dates. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * The ISO 8601 end date of the event. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("endDate") - private LocalDate endDate; - - /** - * The ISO 8601 start date of the event. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("startDate") - private LocalDate startDate; - - /** - * A note detailing the requirements for the dates. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("note") - private String note; - - @JsonCreator - public DatesJson0( - @JsonProperty("preferred") @Nullable Boolean preferred, - @JsonProperty("id") @Nullable String id, - @JsonProperty("endDate") @Nullable LocalDate endDate, - @JsonProperty("startDate") @Nullable LocalDate startDate, - @JsonProperty("note") @Nullable String note) { - this.preferred = preferred; - this.id = id; - this.endDate = endDate; - this.startDate = startDate; - this.note = note; - } - - public DatesJson0() { - this(null, null, null, null, null); - } - - /** - * True indicates these are preferred dates. - */ - public Optional preferred() { - return Optional.ofNullable(this.preferred); - } - - /** - * Unique identifier for dates. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * The ISO 8601 end date of the event. - */ - public Optional endDate() { - return Optional.ofNullable(this.endDate); - } - - /** - * The ISO 8601 start date of the event. - */ - public Optional startDate() { - return Optional.ofNullable(this.startDate); - } - - /** - * A note detailing the requirements for the dates. - */ - public Optional note() { - return Optional.ofNullable(this.note); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * True indicates these are preferred dates. - */ - public DatesJson0 withPreferred(@Nullable Boolean preferred) { - this.preferred = preferred; - return this; - } - - /** - * Unique identifier for dates. - */ - public DatesJson0 withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The ISO 8601 end date of the event. - */ - public DatesJson0 withEndDate(@Nullable LocalDate endDate) { - this.endDate = endDate; - return this; - } - - /** - * The ISO 8601 start date of the event. - */ - public DatesJson0 withStartDate(@Nullable LocalDate startDate) { - this.startDate = startDate; - return this; - } - - /** - * A note detailing the requirements for the dates. - */ - public DatesJson0 withNote(@Nullable String note) { - this.note = note; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - DatesJson0 other = (DatesJson0) o; - return Utils.enhancedDeepEquals(this.preferred, other.preferred) - && Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.endDate, other.endDate) - && Utils.enhancedDeepEquals(this.startDate, other.startDate) - && Utils.enhancedDeepEquals(this.note, other.note); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(preferred, id, endDate, startDate, note); - } - - @Override - public String toString() { - return Utils.toString( - DatesJson0.class, - "preferred", - preferred, - "id", - id, - "endDate", - endDate, - "startDate", - startDate, - "note", - note); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private Boolean preferred; - - private String id; - - private LocalDate endDate; - - private LocalDate startDate; - - private String note; - - private Builder() { - // force use of static builder() method - } - - /** - * True indicates these are preferred dates. - */ - public Builder preferred(@Nullable Boolean preferred) { - this.preferred = preferred; - return this; - } - - /** - * Unique identifier for dates. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The ISO 8601 end date of the event. - */ - public Builder endDate(@Nullable LocalDate endDate) { - this.endDate = endDate; - return this; - } - - /** - * The ISO 8601 start date of the event. - */ - public Builder startDate(@Nullable LocalDate startDate) { - this.startDate = startDate; - return this; - } - - /** - * A note detailing the requirements for the dates. - */ - public Builder note(@Nullable String note) { - this.note = note; - return this; - } - - public DatesJson0 build() { - return new DatesJson0(preferred, id, endDate, startDate, note); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/DayOfWeek.java b/packages/java/src/main/java/com/cvent/models/components/DayOfWeek.java new file mode 100644 index 000000000..44c4e5015 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/DayOfWeek.java @@ -0,0 +1,44 @@ +/* + * 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; + +/** + * DayOfWeek + * + *

DayOfWeek + */ +public enum DayOfWeek { + SUNDAY("SUNDAY"), + MONDAY("MONDAY"), + TUESDAY("TUESDAY"), + WEDNESDAY("WEDNESDAY"), + THURSDAY("THURSDAY"), + FRIDAY("FRIDAY"), + SATURDAY("SATURDAY"); + + @JsonValue + private final String value; + + DayOfWeek(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (DayOfWeek o : DayOfWeek.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/DayOfWeekJson0.java b/packages/java/src/main/java/com/cvent/models/components/DayOfWeekJson0.java deleted file mode 100644 index 30f9983f9..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/DayOfWeekJson0.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * 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; - -/** - * DayOfWeekJson0 - * - *

Day of week. - */ -public enum DayOfWeekJson0 { - SUNDAY("SUNDAY"), - MONDAY("MONDAY"), - TUESDAY("TUESDAY"), - WEDNESDAY("WEDNESDAY"), - THURSDAY("THURSDAY"), - FRIDAY("FRIDAY"), - SATURDAY("SATURDAY"); - - @JsonValue - private final String value; - - DayOfWeekJson0(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (DayOfWeekJson0 o : DayOfWeekJson0.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/Device1.java b/packages/java/src/main/java/com/cvent/models/components/Device1.java new file mode 100644 index 000000000..b6772acbe --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Device1.java @@ -0,0 +1,175 @@ +/* + * 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.Deprecated; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * Device1 + * + *

The device details used to watched a video. This field has been deprecated. + * + * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible. + */ +@Deprecated +public class Device1 { + /** + * The unique ID of the device the viewer used to watch the video. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private DeviceType type; + + /** + * The device's operating system. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("operatingSystem") + private String operatingSystem; + + @JsonCreator + public Device1( + @JsonProperty("id") @Nullable String id, + @JsonProperty("type") @Nullable DeviceType type, + @JsonProperty("operatingSystem") @Nullable String operatingSystem) { + this.id = id; + this.type = type; + this.operatingSystem = operatingSystem; + } + + public Device1() { + this(null, null, null); + } + + /** + * The unique ID of the device the viewer used to watch the video. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + /** + * The device's operating system. + */ + public Optional operatingSystem() { + return Optional.ofNullable(this.operatingSystem); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique ID of the device the viewer used to watch the video. + */ + public Device1 withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. + */ + public Device1 withType(@Nullable DeviceType type) { + this.type = type; + return this; + } + + /** + * The device's operating system. + */ + public Device1 withOperatingSystem(@Nullable String operatingSystem) { + this.operatingSystem = operatingSystem; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Device1 other = (Device1) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.type, other.type) + && Utils.enhancedDeepEquals(this.operatingSystem, other.operatingSystem); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, type, operatingSystem); + } + + @Override + public String toString() { + return Utils.toString(Device1.class, "id", id, "type", type, "operatingSystem", operatingSystem); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private DeviceType type; + + private String operatingSystem; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique ID of the device the viewer used to watch the video. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. + */ + public Builder type(@Nullable DeviceType type) { + this.type = type; + return this; + } + + /** + * The device's operating system. + */ + public Builder operatingSystem(@Nullable String operatingSystem) { + this.operatingSystem = operatingSystem; + return this; + } + + public Device1 build() { + return new Device1(id, type, operatingSystem); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/DeviceJson.java b/packages/java/src/main/java/com/cvent/models/components/DeviceJson.java deleted file mode 100644 index e710a561e..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/DeviceJson.java +++ /dev/null @@ -1,175 +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.Deprecated; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * DeviceJson - * - *

The device details used to watched a video. This field has been deprecated. - * - * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible. - */ -@Deprecated -public class DeviceJson { - /** - * The unique ID of the device the viewer used to watch the video. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private DeviceTypeJson type; - - /** - * The device's operating system. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("operatingSystem") - private String operatingSystem; - - @JsonCreator - public DeviceJson( - @JsonProperty("id") @Nullable String id, - @JsonProperty("type") @Nullable DeviceTypeJson type, - @JsonProperty("operatingSystem") @Nullable String operatingSystem) { - this.id = id; - this.type = type; - this.operatingSystem = operatingSystem; - } - - public DeviceJson() { - this(null, null, null); - } - - /** - * The unique ID of the device the viewer used to watch the video. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. - */ - public Optional type() { - return Optional.ofNullable(this.type); - } - - /** - * The device's operating system. - */ - public Optional operatingSystem() { - return Optional.ofNullable(this.operatingSystem); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique ID of the device the viewer used to watch the video. - */ - public DeviceJson withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. - */ - public DeviceJson withType(@Nullable DeviceTypeJson type) { - this.type = type; - return this; - } - - /** - * The device's operating system. - */ - public DeviceJson withOperatingSystem(@Nullable String operatingSystem) { - this.operatingSystem = operatingSystem; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - DeviceJson other = (DeviceJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.type, other.type) - && Utils.enhancedDeepEquals(this.operatingSystem, other.operatingSystem); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, type, operatingSystem); - } - - @Override - public String toString() { - return Utils.toString(DeviceJson.class, "id", id, "type", type, "operatingSystem", operatingSystem); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private DeviceTypeJson type; - - private String operatingSystem; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique ID of the device the viewer used to watch the video. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. - */ - public Builder type(@Nullable DeviceTypeJson type) { - this.type = type; - return this; - } - - /** - * The device's operating system. - */ - public Builder operatingSystem(@Nullable String operatingSystem) { - this.operatingSystem = operatingSystem; - return this; - } - - public DeviceJson build() { - return new DeviceJson(id, type, operatingSystem); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/DeviceType.java b/packages/java/src/main/java/com/cvent/models/components/DeviceType.java new file mode 100644 index 000000000..5c1a52a5d --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/DeviceType.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; + +/** + * DeviceType + * + *

The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. + */ +public enum DeviceType { + DESKTOP("DESKTOP"), + MOBILE("MOBILE"), + TABLET("TABLET"); + + @JsonValue + private final String value; + + DeviceType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (DeviceType o : DeviceType.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/DeviceTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/DeviceTypeJson.java deleted file mode 100644 index 14ace8b51..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/DeviceTypeJson.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * 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; - -/** - * DeviceTypeJson - * - *

The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. - */ -public enum DeviceTypeJson { - DESKTOP("DESKTOP"), - MOBILE("MOBILE"), - TABLET("TABLET"); - - @JsonValue - private final String value; - - DeviceTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (DeviceTypeJson o : DeviceTypeJson.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/DisplayType.java b/packages/java/src/main/java/com/cvent/models/components/DisplayType.java new file mode 100644 index 000000000..8b11bdf0d --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/DisplayType.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; + +/** + * DisplayType + * + *

The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: + * It is associated with drop down type questions. + * + *

`Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list + * type questions. `MultiSelectBox`: It is associated with multi select box type questions. + * + *

`Vertical`: It is associated with vertical type questions. + */ +public enum DisplayType { + BAR("Bar"), + DROP_DOWN("DropDown"), + HORIZONTAL("Horizontal"), + LIST("List"), + MULTI_SELECT_BOX("MultiSelectBox"), + VERTICAL("Vertical"); + + @JsonValue + private final String value; + + DisplayType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (DisplayType o : DisplayType.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/DisplayTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/DisplayTypeJson.java deleted file mode 100644 index 2701b0fbb..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/DisplayTypeJson.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * 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; - -/** - * DisplayTypeJson - * - *

The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: - * It is associated with drop down type questions. - * - *

`Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list - * type questions. `MultiSelectBox`: It is associated with multi select box type questions. - * - *

`Vertical`: It is associated with vertical type questions. - */ -public enum DisplayTypeJson { - BAR("Bar"), - DROP_DOWN("DropDown"), - HORIZONTAL("Horizontal"), - LIST("List"), - MULTI_SELECT_BOX("MultiSelectBox"), - VERTICAL("Vertical"); - - @JsonValue - private final String value; - - DisplayTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (DisplayTypeJson o : DisplayTypeJson.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/DistanceJson.java b/packages/java/src/main/java/com/cvent/models/components/DistanceJson.java new file mode 100644 index 000000000..a55990375 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/DistanceJson.java @@ -0,0 +1,129 @@ +/* + * 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; + +/** + * DistanceJson + * + *

Distance information. + */ +public class DistanceJson { + /** + * Distance from the hotel to the venue. + */ + @JsonProperty("distance") + private double distance; + + /** + * Unit of measurement for the distance. + */ + @JsonProperty("distanceUnit") + private DistanceUnit distanceUnit; + + @JsonCreator + public DistanceJson( + @JsonProperty("distance") double distance, + @JsonProperty("distanceUnit") @Nonnull DistanceUnit distanceUnit) { + this.distance = distance; + this.distanceUnit = Optional.ofNullable(distanceUnit) + .orElseThrow(() -> new IllegalArgumentException("distanceUnit cannot be null")); + } + + /** + * Distance from the hotel to the venue. + */ + public double distance() { + return this.distance; + } + + /** + * Unit of measurement for the distance. + */ + public DistanceUnit distanceUnit() { + return this.distanceUnit; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Distance from the hotel to the venue. + */ + public DistanceJson withDistance(double distance) { + this.distance = distance; + return this; + } + + /** + * Unit of measurement for the distance. + */ + public DistanceJson withDistanceUnit(@Nonnull DistanceUnit distanceUnit) { + this.distanceUnit = Utils.checkNotNull(distanceUnit, "distanceUnit"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DistanceJson other = (DistanceJson) o; + return Utils.enhancedDeepEquals(this.distance, other.distance) + && Utils.enhancedDeepEquals(this.distanceUnit, other.distanceUnit); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(distance, distanceUnit); + } + + @Override + public String toString() { + return Utils.toString(DistanceJson.class, "distance", distance, "distanceUnit", distanceUnit); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private double distance; + + private DistanceUnit distanceUnit; + + private Builder() { + // force use of static builder() method + } + + /** + * Distance from the hotel to the venue. + */ + public Builder distance(double distance) { + this.distance = distance; + return this; + } + + /** + * Unit of measurement for the distance. + */ + public Builder distanceUnit(@Nonnull DistanceUnit distanceUnit) { + this.distanceUnit = Utils.checkNotNull(distanceUnit, "distanceUnit"); + return this; + } + + public DistanceJson build() { + return new DistanceJson(distance, distanceUnit); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/DistanceJson1.java b/packages/java/src/main/java/com/cvent/models/components/DistanceJson1.java deleted file mode 100644 index f8314dd09..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/DistanceJson1.java +++ /dev/null @@ -1,129 +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.Optional; - -/** - * DistanceJson1 - * - *

Distance information. - */ -public class DistanceJson1 { - /** - * Distance from the hotel to the venue. - */ - @JsonProperty("distance") - private double distance; - - /** - * Unit of measurement for the distance. - */ - @JsonProperty("distanceUnit") - private DistanceUnit distanceUnit; - - @JsonCreator - public DistanceJson1( - @JsonProperty("distance") double distance, - @JsonProperty("distanceUnit") @Nonnull DistanceUnit distanceUnit) { - this.distance = distance; - this.distanceUnit = Optional.ofNullable(distanceUnit) - .orElseThrow(() -> new IllegalArgumentException("distanceUnit cannot be null")); - } - - /** - * Distance from the hotel to the venue. - */ - public double distance() { - return this.distance; - } - - /** - * Unit of measurement for the distance. - */ - public DistanceUnit distanceUnit() { - return this.distanceUnit; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Distance from the hotel to the venue. - */ - public DistanceJson1 withDistance(double distance) { - this.distance = distance; - return this; - } - - /** - * Unit of measurement for the distance. - */ - public DistanceJson1 withDistanceUnit(@Nonnull DistanceUnit distanceUnit) { - this.distanceUnit = Utils.checkNotNull(distanceUnit, "distanceUnit"); - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - DistanceJson1 other = (DistanceJson1) o; - return Utils.enhancedDeepEquals(this.distance, other.distance) - && Utils.enhancedDeepEquals(this.distanceUnit, other.distanceUnit); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(distance, distanceUnit); - } - - @Override - public String toString() { - return Utils.toString(DistanceJson1.class, "distance", distance, "distanceUnit", distanceUnit); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private double distance; - - private DistanceUnit distanceUnit; - - private Builder() { - // force use of static builder() method - } - - /** - * Distance from the hotel to the venue. - */ - public Builder distance(double distance) { - this.distance = distance; - return this; - } - - /** - * Unit of measurement for the distance. - */ - public Builder distanceUnit(@Nonnull DistanceUnit distanceUnit) { - this.distanceUnit = Utils.checkNotNull(distanceUnit, "distanceUnit"); - return this; - } - - public DistanceJson1 build() { - return new DistanceJson1(distance, distanceUnit); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/DistributionListInfo.java b/packages/java/src/main/java/com/cvent/models/components/DistributionListInfo.java new file mode 100644 index 000000000..20b2eb227 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/DistributionListInfo.java @@ -0,0 +1,199 @@ +/* + * 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; + +/** + * DistributionListInfo + * + *

Model representing a distribution list info. Only required if the contact group type is + * DISTRIBUTION_LIST. + */ +public class DistributionListInfo { + /** + * Type of distribution list security. For a public list, contacts can sign up themselves. For a + * semi-private list, contacts can add themselves, but a planner must approve their membership before + * they can receive emails. + * + *

For a private list, only planners can add contacts. Contacts can always remove themselves from lists + * on the Manage Profile page. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("securityType") + private DistributionListSecurityType securityType; + + /** + * Internal note for Distribution Lists. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("internalNote") + private String internalNote; + + /** + * Type of distribution list status. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("status") + private DistributionListStatus status; + + @JsonCreator + public DistributionListInfo( + @JsonProperty("securityType") @Nullable DistributionListSecurityType securityType, + @JsonProperty("internalNote") @Nullable String internalNote, + @JsonProperty("status") @Nullable DistributionListStatus status) { + this.securityType = securityType; + this.internalNote = internalNote; + this.status = status; + } + + public DistributionListInfo() { + this(null, null, null); + } + + /** + * Type of distribution list security. For a public list, contacts can sign up themselves. For a + * semi-private list, contacts can add themselves, but a planner must approve their membership before + * they can receive emails. + * + *

For a private list, only planners can add contacts. Contacts can always remove themselves from lists + * on the Manage Profile page. + */ + public Optional securityType() { + return Optional.ofNullable(this.securityType); + } + + /** + * Internal note for Distribution Lists. + */ + public Optional internalNote() { + return Optional.ofNullable(this.internalNote); + } + + /** + * Type of distribution list status. + */ + public Optional status() { + return Optional.ofNullable(this.status); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Type of distribution list security. For a public list, contacts can sign up themselves. For a + * semi-private list, contacts can add themselves, but a planner must approve their membership before + * they can receive emails. + * + *

For a private list, only planners can add contacts. Contacts can always remove themselves from lists + * on the Manage Profile page. + */ + public DistributionListInfo withSecurityType(@Nullable DistributionListSecurityType securityType) { + this.securityType = securityType; + return this; + } + + /** + * Internal note for Distribution Lists. + */ + public DistributionListInfo withInternalNote(@Nullable String internalNote) { + this.internalNote = internalNote; + return this; + } + + /** + * Type of distribution list status. + */ + public DistributionListInfo withStatus(@Nullable DistributionListStatus status) { + this.status = status; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DistributionListInfo other = (DistributionListInfo) o; + return Utils.enhancedDeepEquals(this.securityType, other.securityType) + && Utils.enhancedDeepEquals(this.internalNote, other.internalNote) + && Utils.enhancedDeepEquals(this.status, other.status); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(securityType, internalNote, status); + } + + @Override + public String toString() { + return Utils.toString( + DistributionListInfo.class, + "securityType", + securityType, + "internalNote", + internalNote, + "status", + status); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private DistributionListSecurityType securityType; + + private String internalNote; + + private DistributionListStatus status; + + private Builder() { + // force use of static builder() method + } + + /** + * Type of distribution list security. For a public list, contacts can sign up themselves. For a + * semi-private list, contacts can add themselves, but a planner must approve their membership before + * they can receive emails. + * + *

For a private list, only planners can add contacts. Contacts can always remove themselves from lists + * on the Manage Profile page. + */ + public Builder securityType(@Nullable DistributionListSecurityType securityType) { + this.securityType = securityType; + return this; + } + + /** + * Internal note for Distribution Lists. + */ + public Builder internalNote(@Nullable String internalNote) { + this.internalNote = internalNote; + return this; + } + + /** + * Type of distribution list status. + */ + public Builder status(@Nullable DistributionListStatus status) { + this.status = status; + return this; + } + + public DistributionListInfo build() { + return new DistributionListInfo(securityType, internalNote, status); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/DistributionListInfoInput.java b/packages/java/src/main/java/com/cvent/models/components/DistributionListInfoInput.java new file mode 100644 index 000000000..f35aa09e3 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/DistributionListInfoInput.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.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * DistributionListInfoInput + * + *

Model representing a distribution list info. Only required if the contact group type is + * DISTRIBUTION_LIST. + */ +public class DistributionListInfoInput { + /** + * Type of distribution list security. For a public list, contacts can sign up themselves. For a + * semi-private list, contacts can add themselves, but a planner must approve their membership before + * they can receive emails. + * + *

For a private list, only planners can add contacts. Contacts can always remove themselves from lists + * on the Manage Profile page. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("securityType") + private DistributionListSecurityType securityType; + + /** + * Internal note for Distribution Lists. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("internalNote") + private String internalNote; + + @JsonCreator + public DistributionListInfoInput( + @JsonProperty("securityType") @Nullable DistributionListSecurityType securityType, + @JsonProperty("internalNote") @Nullable String internalNote) { + this.securityType = securityType; + this.internalNote = internalNote; + } + + public DistributionListInfoInput() { + this(null, null); + } + + /** + * Type of distribution list security. For a public list, contacts can sign up themselves. For a + * semi-private list, contacts can add themselves, but a planner must approve their membership before + * they can receive emails. + * + *

For a private list, only planners can add contacts. Contacts can always remove themselves from lists + * on the Manage Profile page. + */ + public Optional securityType() { + return Optional.ofNullable(this.securityType); + } + + /** + * Internal note for Distribution Lists. + */ + public Optional internalNote() { + return Optional.ofNullable(this.internalNote); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Type of distribution list security. For a public list, contacts can sign up themselves. For a + * semi-private list, contacts can add themselves, but a planner must approve their membership before + * they can receive emails. + * + *

For a private list, only planners can add contacts. Contacts can always remove themselves from lists + * on the Manage Profile page. + */ + public DistributionListInfoInput withSecurityType(@Nullable DistributionListSecurityType securityType) { + this.securityType = securityType; + return this; + } + + /** + * Internal note for Distribution Lists. + */ + public DistributionListInfoInput withInternalNote(@Nullable String internalNote) { + this.internalNote = internalNote; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DistributionListInfoInput other = (DistributionListInfoInput) o; + return Utils.enhancedDeepEquals(this.securityType, other.securityType) + && Utils.enhancedDeepEquals(this.internalNote, other.internalNote); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(securityType, internalNote); + } + + @Override + public String toString() { + return Utils.toString( + DistributionListInfoInput.class, "securityType", securityType, "internalNote", internalNote); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private DistributionListSecurityType securityType; + + private String internalNote; + + private Builder() { + // force use of static builder() method + } + + /** + * Type of distribution list security. For a public list, contacts can sign up themselves. For a + * semi-private list, contacts can add themselves, but a planner must approve their membership before + * they can receive emails. + * + *

For a private list, only planners can add contacts. Contacts can always remove themselves from lists + * on the Manage Profile page. + */ + public Builder securityType(@Nullable DistributionListSecurityType securityType) { + this.securityType = securityType; + return this; + } + + /** + * Internal note for Distribution Lists. + */ + public Builder internalNote(@Nullable String internalNote) { + this.internalNote = internalNote; + return this; + } + + public DistributionListInfoInput build() { + return new DistributionListInfoInput(securityType, internalNote); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/DistributionListInfoJson.java b/packages/java/src/main/java/com/cvent/models/components/DistributionListInfoJson.java deleted file mode 100644 index 1c8a73431..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/DistributionListInfoJson.java +++ /dev/null @@ -1,199 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * DistributionListInfoJson - * - *

Model representing a distribution list info. Only required if the contact group type is - * DISTRIBUTION_LIST. - */ -public class DistributionListInfoJson { - /** - * Type of distribution list security. For a public list, contacts can sign up themselves. For a - * semi-private list, contacts can add themselves, but a planner must approve their membership before - * they can receive emails. - * - *

For a private list, only planners can add contacts. Contacts can always remove themselves from lists - * on the Manage Profile page. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("securityType") - private DistributionListSecurityTypeJson securityType; - - /** - * Internal note for Distribution Lists. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("internalNote") - private String internalNote; - - /** - * Type of distribution list status. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("status") - private DistributionListStatusJson status; - - @JsonCreator - public DistributionListInfoJson( - @JsonProperty("securityType") @Nullable DistributionListSecurityTypeJson securityType, - @JsonProperty("internalNote") @Nullable String internalNote, - @JsonProperty("status") @Nullable DistributionListStatusJson status) { - this.securityType = securityType; - this.internalNote = internalNote; - this.status = status; - } - - public DistributionListInfoJson() { - this(null, null, null); - } - - /** - * Type of distribution list security. For a public list, contacts can sign up themselves. For a - * semi-private list, contacts can add themselves, but a planner must approve their membership before - * they can receive emails. - * - *

For a private list, only planners can add contacts. Contacts can always remove themselves from lists - * on the Manage Profile page. - */ - public Optional securityType() { - return Optional.ofNullable(this.securityType); - } - - /** - * Internal note for Distribution Lists. - */ - public Optional internalNote() { - return Optional.ofNullable(this.internalNote); - } - - /** - * Type of distribution list status. - */ - public Optional status() { - return Optional.ofNullable(this.status); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Type of distribution list security. For a public list, contacts can sign up themselves. For a - * semi-private list, contacts can add themselves, but a planner must approve their membership before - * they can receive emails. - * - *

For a private list, only planners can add contacts. Contacts can always remove themselves from lists - * on the Manage Profile page. - */ - public DistributionListInfoJson withSecurityType(@Nullable DistributionListSecurityTypeJson securityType) { - this.securityType = securityType; - return this; - } - - /** - * Internal note for Distribution Lists. - */ - public DistributionListInfoJson withInternalNote(@Nullable String internalNote) { - this.internalNote = internalNote; - return this; - } - - /** - * Type of distribution list status. - */ - public DistributionListInfoJson withStatus(@Nullable DistributionListStatusJson status) { - this.status = status; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - DistributionListInfoJson other = (DistributionListInfoJson) o; - return Utils.enhancedDeepEquals(this.securityType, other.securityType) - && Utils.enhancedDeepEquals(this.internalNote, other.internalNote) - && Utils.enhancedDeepEquals(this.status, other.status); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(securityType, internalNote, status); - } - - @Override - public String toString() { - return Utils.toString( - DistributionListInfoJson.class, - "securityType", - securityType, - "internalNote", - internalNote, - "status", - status); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private DistributionListSecurityTypeJson securityType; - - private String internalNote; - - private DistributionListStatusJson status; - - private Builder() { - // force use of static builder() method - } - - /** - * Type of distribution list security. For a public list, contacts can sign up themselves. For a - * semi-private list, contacts can add themselves, but a planner must approve their membership before - * they can receive emails. - * - *

For a private list, only planners can add contacts. Contacts can always remove themselves from lists - * on the Manage Profile page. - */ - public Builder securityType(@Nullable DistributionListSecurityTypeJson securityType) { - this.securityType = securityType; - return this; - } - - /** - * Internal note for Distribution Lists. - */ - public Builder internalNote(@Nullable String internalNote) { - this.internalNote = internalNote; - return this; - } - - /** - * Type of distribution list status. - */ - public Builder status(@Nullable DistributionListStatusJson status) { - this.status = status; - return this; - } - - public DistributionListInfoJson build() { - return new DistributionListInfoJson(securityType, internalNote, status); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/DistributionListInfoJsonInput.java b/packages/java/src/main/java/com/cvent/models/components/DistributionListInfoJsonInput.java deleted file mode 100644 index 37d6fa1ea..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/DistributionListInfoJsonInput.java +++ /dev/null @@ -1,158 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * DistributionListInfoJsonInput - * - *

Model representing a distribution list info. Only required if the contact group type is - * DISTRIBUTION_LIST. - */ -public class DistributionListInfoJsonInput { - /** - * Type of distribution list security. For a public list, contacts can sign up themselves. For a - * semi-private list, contacts can add themselves, but a planner must approve their membership before - * they can receive emails. - * - *

For a private list, only planners can add contacts. Contacts can always remove themselves from lists - * on the Manage Profile page. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("securityType") - private DistributionListSecurityTypeJson securityType; - - /** - * Internal note for Distribution Lists. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("internalNote") - private String internalNote; - - @JsonCreator - public DistributionListInfoJsonInput( - @JsonProperty("securityType") @Nullable DistributionListSecurityTypeJson securityType, - @JsonProperty("internalNote") @Nullable String internalNote) { - this.securityType = securityType; - this.internalNote = internalNote; - } - - public DistributionListInfoJsonInput() { - this(null, null); - } - - /** - * Type of distribution list security. For a public list, contacts can sign up themselves. For a - * semi-private list, contacts can add themselves, but a planner must approve their membership before - * they can receive emails. - * - *

For a private list, only planners can add contacts. Contacts can always remove themselves from lists - * on the Manage Profile page. - */ - public Optional securityType() { - return Optional.ofNullable(this.securityType); - } - - /** - * Internal note for Distribution Lists. - */ - public Optional internalNote() { - return Optional.ofNullable(this.internalNote); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Type of distribution list security. For a public list, contacts can sign up themselves. For a - * semi-private list, contacts can add themselves, but a planner must approve their membership before - * they can receive emails. - * - *

For a private list, only planners can add contacts. Contacts can always remove themselves from lists - * on the Manage Profile page. - */ - public DistributionListInfoJsonInput withSecurityType(@Nullable DistributionListSecurityTypeJson securityType) { - this.securityType = securityType; - return this; - } - - /** - * Internal note for Distribution Lists. - */ - public DistributionListInfoJsonInput withInternalNote(@Nullable String internalNote) { - this.internalNote = internalNote; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - DistributionListInfoJsonInput other = (DistributionListInfoJsonInput) o; - return Utils.enhancedDeepEquals(this.securityType, other.securityType) - && Utils.enhancedDeepEquals(this.internalNote, other.internalNote); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(securityType, internalNote); - } - - @Override - public String toString() { - return Utils.toString( - DistributionListInfoJsonInput.class, "securityType", securityType, "internalNote", internalNote); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private DistributionListSecurityTypeJson securityType; - - private String internalNote; - - private Builder() { - // force use of static builder() method - } - - /** - * Type of distribution list security. For a public list, contacts can sign up themselves. For a - * semi-private list, contacts can add themselves, but a planner must approve their membership before - * they can receive emails. - * - *

For a private list, only planners can add contacts. Contacts can always remove themselves from lists - * on the Manage Profile page. - */ - public Builder securityType(@Nullable DistributionListSecurityTypeJson securityType) { - this.securityType = securityType; - return this; - } - - /** - * Internal note for Distribution Lists. - */ - public Builder internalNote(@Nullable String internalNote) { - this.internalNote = internalNote; - return this; - } - - public DistributionListInfoJsonInput build() { - return new DistributionListInfoJsonInput(securityType, internalNote); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/DistributionListSecurityType.java b/packages/java/src/main/java/com/cvent/models/components/DistributionListSecurityType.java new file mode 100644 index 000000000..f4c6eab9f --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/DistributionListSecurityType.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; + +/** + * DistributionListSecurityType + * + *

Type of distribution list security. For a public list, contacts can sign up themselves. For a + * semi-private list, contacts can add themselves, but a planner must approve their membership before + * they can receive emails. + * + *

For a private list, only planners can add contacts. Contacts can always remove themselves from lists + * on the Manage Profile page. + */ +public enum DistributionListSecurityType { + PRIVATE("PRIVATE"), + SEMI_PRIVATE("SEMI_PRIVATE"), + PUBLIC("PUBLIC"); + + @JsonValue + private final String value; + + DistributionListSecurityType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (DistributionListSecurityType o : DistributionListSecurityType.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/DistributionListSecurityTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/DistributionListSecurityTypeJson.java deleted file mode 100644 index 410dbbb98..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/DistributionListSecurityTypeJson.java +++ /dev/null @@ -1,45 +0,0 @@ -/* - * 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; - -/** - * DistributionListSecurityTypeJson - * - *

Type of distribution list security. For a public list, contacts can sign up themselves. For a - * semi-private list, contacts can add themselves, but a planner must approve their membership before - * they can receive emails. - * - *

For a private list, only planners can add contacts. Contacts can always remove themselves from lists - * on the Manage Profile page. - */ -public enum DistributionListSecurityTypeJson { - PRIVATE("PRIVATE"), - SEMI_PRIVATE("SEMI_PRIVATE"), - PUBLIC("PUBLIC"); - - @JsonValue - private final String value; - - DistributionListSecurityTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (DistributionListSecurityTypeJson o : DistributionListSecurityTypeJson.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/DistributionListStatus.java b/packages/java/src/main/java/com/cvent/models/components/DistributionListStatus.java new file mode 100644 index 000000000..ab50bd068 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/DistributionListStatus.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; + +/** + * DistributionListStatus + * + *

Type of distribution list status. + */ +public enum DistributionListStatus { + PENDING("PENDING"), + PROCESSING("PROCESSING"), + COMPLETE("COMPLETE"); + + @JsonValue + private final String value; + + DistributionListStatus(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (DistributionListStatus o : DistributionListStatus.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/DistributionListStatusJson.java b/packages/java/src/main/java/com/cvent/models/components/DistributionListStatusJson.java deleted file mode 100644 index 31f2c78b5..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/DistributionListStatusJson.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * 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; - -/** - * DistributionListStatusJson - * - *

Type of distribution list status. - */ -public enum DistributionListStatusJson { - PENDING("PENDING"), - PROCESSING("PROCESSING"), - COMPLETE("COMPLETE"); - - @JsonValue - private final String value; - - DistributionListStatusJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (DistributionListStatusJson o : DistributionListStatusJson.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/DocumentType1.java b/packages/java/src/main/java/com/cvent/models/components/DocumentType1.java new file mode 100644 index 000000000..ba4c15049 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/DocumentType1.java @@ -0,0 +1,70 @@ +/* + * 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; + +/** + * DocumentType1 + * + *

The document type. + */ +public enum DocumentType1 { + AI("AI"), + AVI("AVI"), + BMP("BMP"), + DOC("DOC"), + DOCX("DOCX"), + EML("EML"), + EPS("EPS"), + FLV("FLV"), + GIF("GIF"), + HTM("HTM"), + HTML("HTML"), + ICS("ICS"), + JFIF("JFIF"), + JPEG("JPEG"), + JPG("JPG"), + LINK("LINK"), + MOV("MOV"), + MP4("MP4"), + MSG("MSG"), + ONE("ONE"), + OST("OST"), + PDF("PDF"), + PNG("PNG"), + PPT("PPT"), + PPTX("PPTX"), + PST("PST"), + SVG("SVG"), + TIF("TIF"), + TIFF("TIFF"), + TXT("TXT"), + WMV("WMV"), + XLS("XLS"), + XLSX("XLSX"); + + @JsonValue + private final String value; + + DocumentType1(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (DocumentType1 o : DocumentType1.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/DocumentTypeJson0.java b/packages/java/src/main/java/com/cvent/models/components/DocumentTypeJson0.java deleted file mode 100644 index 732dda675..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/DocumentTypeJson0.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * 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; - -/** - * DocumentTypeJson0 - * - *

The document type. - */ -public enum DocumentTypeJson0 { - AI("AI"), - AVI("AVI"), - BMP("BMP"), - DOC("DOC"), - DOCX("DOCX"), - EML("EML"), - EPS("EPS"), - FLV("FLV"), - GIF("GIF"), - HTM("HTM"), - HTML("HTML"), - ICS("ICS"), - JFIF("JFIF"), - JPEG("JPEG"), - JPG("JPG"), - LINK("LINK"), - MOV("MOV"), - MP4("MP4"), - MSG("MSG"), - ONE("ONE"), - OST("OST"), - PDF("PDF"), - PNG("PNG"), - PPT("PPT"), - PPTX("PPTX"), - PST("PST"), - SVG("SVG"), - TIF("TIF"), - TIFF("TIFF"), - TXT("TXT"), - WMV("WMV"), - XLS("XLS"), - XLSX("XLSX"); - - @JsonValue - private final String value; - - DocumentTypeJson0(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (DocumentTypeJson0 o : DocumentTypeJson0.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/EmailHistoryJson.java b/packages/java/src/main/java/com/cvent/models/components/EmailHistoryJson.java index af35e3c47..80d32b35b 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EmailHistoryJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/EmailHistoryJson.java @@ -103,7 +103,7 @@ public class EmailHistoryJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("type") - private EmailTypeJson3 type; + private EmailTypeJson1 type; /** * The ISO 8601 zoned date time when this email was sent. @@ -174,7 +174,7 @@ public EmailHistoryJson( @JsonProperty("subject") @Nullable String subject, @JsonProperty("from") @Nullable String from, @JsonProperty("to") @Nullable String to, - @JsonProperty("type") @Nullable EmailTypeJson3 type, + @JsonProperty("type") @Nullable EmailTypeJson1 type, @JsonProperty("sent") @Nullable OffsetDateTime sent, @JsonProperty("status") @Nullable EmailStatusJson status, @JsonProperty("undeliverable") @Nullable Boolean undeliverable, @@ -309,7 +309,7 @@ public Optional to() { /** * Denotes the type of the email. */ - public Optional type() { + public Optional type() { return Optional.ofNullable(this.type); } @@ -464,7 +464,7 @@ public EmailHistoryJson withTo(@Nullable String to) { /** * Denotes the type of the email. */ - public EmailHistoryJson withType(@Nullable EmailTypeJson3 type) { + public EmailHistoryJson withType(@Nullable EmailTypeJson1 type) { this.type = type; return this; } @@ -660,7 +660,7 @@ public static final class Builder { private String to; - private EmailTypeJson3 type; + private EmailTypeJson1 type; private OffsetDateTime sent; @@ -773,7 +773,7 @@ public Builder to(@Nullable String to) { /** * Denotes the type of the email. */ - public Builder type(@Nullable EmailTypeJson3 type) { + public Builder type(@Nullable EmailTypeJson1 type) { this.type = type; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/EmailJson1.java b/packages/java/src/main/java/com/cvent/models/components/EmailJson1.java index 16605972f..512057dbf 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EmailJson1.java +++ b/packages/java/src/main/java/com/cvent/models/components/EmailJson1.java @@ -28,7 +28,7 @@ public class EmailJson1 { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("type") - private EmailTypeJson1 type; + private EmailTypeJson type; /** * The email of the user. @@ -45,7 +45,7 @@ public class EmailJson1 { @JsonCreator public EmailJson1( - @JsonProperty("type") @Nullable EmailTypeJson1 type, + @JsonProperty("type") @Nullable EmailTypeJson type, @JsonProperty("value") @Nonnull String value, @JsonProperty("primary") @Nullable Boolean primary) { this.type = Optional.ofNullable(type).orElse(Builder._SINGLETON_VALUE_Type.value()); @@ -60,7 +60,7 @@ public EmailJson1(@Nonnull String value) { /** * The type of the email. */ - public Optional type() { + public Optional type() { return Optional.ofNullable(this.type); } @@ -85,7 +85,7 @@ public static Builder builder() { /** * The type of the email. */ - public EmailJson1 withType(@Nullable EmailTypeJson1 type) { + public EmailJson1 withType(@Nullable EmailTypeJson type) { this.type = type; return this; } @@ -133,7 +133,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private EmailTypeJson1 type; + private EmailTypeJson type; private String value; @@ -146,7 +146,7 @@ private Builder() { /** * The type of the email. */ - public Builder type(@Nullable EmailTypeJson1 type) { + public Builder type(@Nullable EmailTypeJson type) { this.type = type; return this; } @@ -171,8 +171,8 @@ public EmailJson1 build() { return new EmailJson1(type, value, primary); } - private static final LazySingletonValue _SINGLETON_VALUE_Type = - new LazySingletonValue<>("type", "\"work\"", new TypeReference() {}); + private static final LazySingletonValue _SINGLETON_VALUE_Type = + new LazySingletonValue<>("type", "\"work\"", new TypeReference() {}); private static final LazySingletonValue _SINGLETON_VALUE_Primary = new LazySingletonValue<>("primary", "false", new TypeReference() {}); diff --git a/packages/java/src/main/java/com/cvent/models/components/EmailTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/EmailTypeJson.java new file mode 100644 index 000000000..23d669fc6 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/EmailTypeJson.java @@ -0,0 +1,39 @@ +/* + * 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; + +/** + * EmailTypeJson + * + *

The type of the email. + */ +public enum EmailTypeJson { + WORK("work"), + HOME("home"); + + @JsonValue + private final String value; + + EmailTypeJson(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (EmailTypeJson o : EmailTypeJson.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/EmailTypeJson1.java b/packages/java/src/main/java/com/cvent/models/components/EmailTypeJson1.java index 4265cd7c6..25c75ef61 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EmailTypeJson1.java +++ b/packages/java/src/main/java/com/cvent/models/components/EmailTypeJson1.java @@ -11,11 +11,71 @@ /** * EmailTypeJson1 * - *

The type of the email. + *

Denotes the type of the email. */ public enum EmailTypeJson1 { - WORK("work"), - HOME("home"); + INVITATION("Invitation"), + INVITATION_REMINDER("Invitation Reminder"), + REGISTRATION_CONFIRMATION("Registration Confirmation"), + REGRET("Regret"), + POST_EVENT_FEEDBACK("Post Event Feedback"), + CUSTOM_INVITEE_MESSAGE("Custom Invitee Message"), + CUSTOM_DECLINEE_MESSAGE("Custom Declinee Message"), + EVENT_REMINDER("Event Reminder"), + CUSTOM_ATTENDEE_MESSAGE("Custom Attendee Message"), + CUSTOM_ONE_TIME_MESSAGE("Custom One-Time Message"), + PLANNER_REPORT("Planner Report"), + EVENT_UPDATE("Event Update"), + CUSTOM_UNDECIDED_MESSAGE("Custom Undecided Message"), + CUSTOM_ATTENDED_MESSAGE("Custom Attended Message"), + MODIFICATION_CONFIRMATION("Modification Confirmation"), + CANCELLATION_CONFIRMATION("Cancellation Confirmation"), + GUEST_EVENT_REMINDER("Guest Event Reminder"), + GUEST_REGISTRATION_NOTIFICATION("Guest Registration Notification"), + CUSTOM_GUEST_MESSAGE("Custom Guest Message"), + GUEST_POST_EVENT_FEEDBACK("Guest Post Event Feedback"), + INVITEE_SESSION_EMAIL("Invitee Session Email"), + GUEST_SESSION_EMAIL("Guest Session Email"), + APPROVAL_PENDING_NOTIFICATION("Approval Pending Notification"), + APPROVAL_DENIED_NOTIFICATION("Approval Denied Notification"), + ADMINISTRATOR_REGISTRATION_CONFIRMATION("Administrator Registration Confirmation"), + CROWD_COMPASS_EVENT_GUIDE_INVITATION("CrowdCompass Event Guide Invitation"), + CROWD_COMPASS_APP_DOWNLOAD("CrowdCompass App Download"), + WAITLIST_NOTIFICATION("Waitlist Notification"), + SESSION_WAITLIST_NOTIFICATION("Session Waitlist Notification"), + SHOULDER_DATE_NOTIFICATION("Shoulder Date Notification"), + SELECTED_ROOMMATE_NOTIFICATION("Selected Roommate Notification"), + MATCHED_ROOMMATE_NOTIFICATION("Matched Roommate Notification"), + DECLINED_ROOMMATE_NOTIFICATION("Declined Roommate Notification"), + ON_ARRIVAL_POST_EVENT_FEEDBACK("OnArrival Post Event Feedback"), + ON_ARRIVAL_GUEST_POST_EVENT_FEEDBACK("OnArrival Guest Post Event Feedback"), + TRAVEL_MODIFICATION_CONFIRMATION("Travel Modification Confirmation"), + CUSTOM("Custom"), + NEW_APPOINTMENT("New Appointment"), + APPOINTMENT_ACCEPTED("Appointment Accepted"), + APPOINTMENT_DECLINED("Appointment Declined"), + APPOINTMENT_CANCELLED("Appointment Cancelled"), + APPOINTMENT_EDITED("Appointment Edited"), + PENDING_APPOINTMENT_REMINDER("Pending Appointment Reminder"), + UPCOMING_APPOINTMENT_REMINDER("Upcoming Appointment Reminder"), + ATTENDEE_REMOVED("Attendee Removed"), + OPT_IN_EMAIL("Opt In Email"), + RESOURCE_CENTER_INVITATION("Resource Center Invitation"), + SINGLE_TASK_REMINDER("Single Task Reminder"), + MOBILE_APP_INVITATION("Mobile App Invitation"), + LOGIN_VERIFICATION_CODE("Login Verification Code"), + SAVE_THE_DATE("Save The Date"), + ALL_TASKS_REMINDER("All Tasks Reminder"), + EXHIBITOR_ADMIN_INVITATION("Exhibitor Admin Invitation"), + EXHIBITOR_ADMIN_REMINDER("Exhibitor Admin Reminder"), + EXHIBITOR_DEVICE_RENTAL_ACCESS_CODE("Exhibitor Device Rental Access Code"), + EXHIBITOR_APP_LICENSE_ACCESS_CODE("Exhibitor App License Access Code"), + EXHIBITOR_LEADS_EXPORT("Exhibitor Leads Export"), + STAKEHOLDER_FEEDBACK_INVITATION("Stakeholder Feedback Invitation"), + EXHIBITOR_TASK_REMINDER("Exhibitor Task Reminder"), + LEAD_CAPTURE_REQUESTED_MATERIALS("LeadCapture Requested Materials"), + INTEGRATION_ALERTS("Integration Alerts"), + UNKNOWN("Unknown"); @JsonValue private final String value; diff --git a/packages/java/src/main/java/com/cvent/models/components/EmailTypeJson3.java b/packages/java/src/main/java/com/cvent/models/components/EmailTypeJson3.java deleted file mode 100644 index 3d081e74d..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/EmailTypeJson3.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * 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; - -/** - * EmailTypeJson3 - * - *

Denotes the type of the email. - */ -public enum EmailTypeJson3 { - INVITATION("Invitation"), - INVITATION_REMINDER("Invitation Reminder"), - REGISTRATION_CONFIRMATION("Registration Confirmation"), - REGRET("Regret"), - POST_EVENT_FEEDBACK("Post Event Feedback"), - CUSTOM_INVITEE_MESSAGE("Custom Invitee Message"), - CUSTOM_DECLINEE_MESSAGE("Custom Declinee Message"), - EVENT_REMINDER("Event Reminder"), - CUSTOM_ATTENDEE_MESSAGE("Custom Attendee Message"), - CUSTOM_ONE_TIME_MESSAGE("Custom One-Time Message"), - PLANNER_REPORT("Planner Report"), - EVENT_UPDATE("Event Update"), - CUSTOM_UNDECIDED_MESSAGE("Custom Undecided Message"), - CUSTOM_ATTENDED_MESSAGE("Custom Attended Message"), - MODIFICATION_CONFIRMATION("Modification Confirmation"), - CANCELLATION_CONFIRMATION("Cancellation Confirmation"), - GUEST_EVENT_REMINDER("Guest Event Reminder"), - GUEST_REGISTRATION_NOTIFICATION("Guest Registration Notification"), - CUSTOM_GUEST_MESSAGE("Custom Guest Message"), - GUEST_POST_EVENT_FEEDBACK("Guest Post Event Feedback"), - INVITEE_SESSION_EMAIL("Invitee Session Email"), - GUEST_SESSION_EMAIL("Guest Session Email"), - APPROVAL_PENDING_NOTIFICATION("Approval Pending Notification"), - APPROVAL_DENIED_NOTIFICATION("Approval Denied Notification"), - ADMINISTRATOR_REGISTRATION_CONFIRMATION("Administrator Registration Confirmation"), - CROWD_COMPASS_EVENT_GUIDE_INVITATION("CrowdCompass Event Guide Invitation"), - CROWD_COMPASS_APP_DOWNLOAD("CrowdCompass App Download"), - WAITLIST_NOTIFICATION("Waitlist Notification"), - SESSION_WAITLIST_NOTIFICATION("Session Waitlist Notification"), - SHOULDER_DATE_NOTIFICATION("Shoulder Date Notification"), - SELECTED_ROOMMATE_NOTIFICATION("Selected Roommate Notification"), - MATCHED_ROOMMATE_NOTIFICATION("Matched Roommate Notification"), - DECLINED_ROOMMATE_NOTIFICATION("Declined Roommate Notification"), - ON_ARRIVAL_POST_EVENT_FEEDBACK("OnArrival Post Event Feedback"), - ON_ARRIVAL_GUEST_POST_EVENT_FEEDBACK("OnArrival Guest Post Event Feedback"), - TRAVEL_MODIFICATION_CONFIRMATION("Travel Modification Confirmation"), - CUSTOM("Custom"), - NEW_APPOINTMENT("New Appointment"), - APPOINTMENT_ACCEPTED("Appointment Accepted"), - APPOINTMENT_DECLINED("Appointment Declined"), - APPOINTMENT_CANCELLED("Appointment Cancelled"), - APPOINTMENT_EDITED("Appointment Edited"), - PENDING_APPOINTMENT_REMINDER("Pending Appointment Reminder"), - UPCOMING_APPOINTMENT_REMINDER("Upcoming Appointment Reminder"), - ATTENDEE_REMOVED("Attendee Removed"), - OPT_IN_EMAIL("Opt In Email"), - RESOURCE_CENTER_INVITATION("Resource Center Invitation"), - SINGLE_TASK_REMINDER("Single Task Reminder"), - MOBILE_APP_INVITATION("Mobile App Invitation"), - LOGIN_VERIFICATION_CODE("Login Verification Code"), - SAVE_THE_DATE("Save The Date"), - ALL_TASKS_REMINDER("All Tasks Reminder"), - EXHIBITOR_ADMIN_INVITATION("Exhibitor Admin Invitation"), - EXHIBITOR_ADMIN_REMINDER("Exhibitor Admin Reminder"), - EXHIBITOR_DEVICE_RENTAL_ACCESS_CODE("Exhibitor Device Rental Access Code"), - EXHIBITOR_APP_LICENSE_ACCESS_CODE("Exhibitor App License Access Code"), - EXHIBITOR_LEADS_EXPORT("Exhibitor Leads Export"), - STAKEHOLDER_FEEDBACK_INVITATION("Stakeholder Feedback Invitation"), - EXHIBITOR_TASK_REMINDER("Exhibitor Task Reminder"), - LEAD_CAPTURE_REQUESTED_MATERIALS("LeadCapture Requested Materials"), - INTEGRATION_ALERTS("Integration Alerts"), - UNKNOWN("Unknown"); - - @JsonValue - private final String value; - - EmailTypeJson3(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (EmailTypeJson3 o : EmailTypeJson3.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/EncodingProfile.java b/packages/java/src/main/java/com/cvent/models/components/EncodingProfile.java new file mode 100644 index 000000000..4f97b3a1b --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/EncodingProfile.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; + +/** + * EncodingProfile + * + *

Denotes the profile to use when encoding the video. Planner profile is for encoding high-quality + * event content, like session videos. Attendee profile is for encoding lower-quality content intended + * to go on attendee profiles and social feeds in the event. + */ +public enum EncodingProfile { + PLANNER("Planner"), + ATTENDEE("Attendee"); + + @JsonValue + private final String value; + + EncodingProfile(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (EncodingProfile o : EncodingProfile.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/EncodingProfileJson.java b/packages/java/src/main/java/com/cvent/models/components/EncodingProfileJson.java deleted file mode 100644 index 8196fe08a..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/EncodingProfileJson.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * 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; - -/** - * EncodingProfileJson - * - *

Denotes the profile to use when encoding the video. Planner profile is for encoding high-quality - * event content, like session videos. Attendee profile is for encoding lower-quality content intended - * to go on attendee profiles and social feeds in the event. - */ -public enum EncodingProfileJson { - PLANNER("Planner"), - ATTENDEE("Attendee"); - - @JsonValue - private final String value; - - EncodingProfileJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (EncodingProfileJson o : EncodingProfileJson.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/ErrorResponse1.java b/packages/java/src/main/java/com/cvent/models/components/ErrorResponse1.java index 84888a811..ec67e0a20 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ErrorResponse1.java +++ b/packages/java/src/main/java/com/cvent/models/components/ErrorResponse1.java @@ -45,14 +45,14 @@ public class ErrorResponse1 { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("details") - private List details; + private List details; @JsonCreator public ErrorResponse1( @JsonProperty("code") long code, @JsonProperty("message") @Nonnull String message, @JsonProperty("target") @Nullable String target, - @JsonProperty("details") @Nullable List details) { + @JsonProperty("details") @Nullable List details) { this.code = code; this.message = Optional.ofNullable(message).orElseThrow(() -> new IllegalArgumentException("message cannot be null")); @@ -88,7 +88,7 @@ public Optional target() { /** * Additional details of cascading error messages. */ - public Optional> details() { + public Optional> details() { return Optional.ofNullable(this.details); } @@ -123,7 +123,7 @@ public ErrorResponse1 withTarget(@Nullable String target) { /** * Additional details of cascading error messages. */ - public ErrorResponse1 withDetails(@Nullable List details) { + public ErrorResponse1 withDetails(@Nullable List details) { this.details = details; return this; } @@ -163,7 +163,7 @@ public static final class Builder { private String target; - private List details; + private List details; private Builder() { // force use of static builder() method @@ -196,7 +196,7 @@ public Builder target(@Nullable String target) { /** * Additional details of cascading error messages. */ - public Builder details(@Nullable List details) { + public Builder details(@Nullable List details) { this.details = details; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ErrorResponse2.java b/packages/java/src/main/java/com/cvent/models/components/ErrorResponse2.java index 0edb29823..c943152ad 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ErrorResponse2.java +++ b/packages/java/src/main/java/com/cvent/models/components/ErrorResponse2.java @@ -45,14 +45,14 @@ public class ErrorResponse2 { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("details") - private List details; + private List details; @JsonCreator public ErrorResponse2( @JsonProperty("code") long code, @JsonProperty("message") @Nonnull String message, @JsonProperty("target") @Nullable String target, - @JsonProperty("details") @Nullable List details) { + @JsonProperty("details") @Nullable List details) { this.code = code; this.message = Optional.ofNullable(message).orElseThrow(() -> new IllegalArgumentException("message cannot be null")); @@ -88,7 +88,7 @@ public Optional target() { /** * Additional details of cascading error messages. */ - public Optional> details() { + public Optional> details() { return Optional.ofNullable(this.details); } @@ -123,7 +123,7 @@ public ErrorResponse2 withTarget(@Nullable String target) { /** * Additional details of cascading error messages. */ - public ErrorResponse2 withDetails(@Nullable List details) { + public ErrorResponse2 withDetails(@Nullable List details) { this.details = details; return this; } @@ -163,7 +163,7 @@ public static final class Builder { private String target; - private List details; + private List details; private Builder() { // force use of static builder() method @@ -196,7 +196,7 @@ public Builder target(@Nullable String target) { /** * Additional details of cascading error messages. */ - public Builder details(@Nullable List details) { + public Builder details(@Nullable List details) { this.details = details; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/Event1.java b/packages/java/src/main/java/com/cvent/models/components/Event1.java index 559475181..5312d27e6 100644 --- a/packages/java/src/main/java/com/cvent/models/components/Event1.java +++ b/packages/java/src/main/java/com/cvent/models/components/Event1.java @@ -231,7 +231,7 @@ public class Event1 { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("customFields") - private List customFields; + private List customFields; /** * The category to which this event belongs (no longer supported). @@ -248,7 +248,7 @@ public class Event1 { * Essentials. */ @JsonProperty("type") - private EventTypeJson1 type; + private EventTypeJson type; /** * Represents the links associated with an event. @@ -322,9 +322,9 @@ public Event1( @JsonProperty("capacity") @Nullable Long capacity, @JsonProperty("planners") @Nonnull List planners, @JsonProperty("stakeholders") @Nullable List stakeholders, - @JsonProperty("customFields") @Nullable List customFields, + @JsonProperty("customFields") @Nullable List customFields, @JsonProperty("category") @Nullable EventLookup category, - @JsonProperty("type") @Nonnull EventTypeJson1 type, + @JsonProperty("type") @Nonnull EventTypeJson type, @JsonProperty("_links") @Nullable EventLinksJson links, @JsonProperty("created") @Nullable OffsetDateTime created, @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, @@ -380,7 +380,7 @@ public Event1( @Nonnull String timezone, @Nonnull List languages, @Nonnull List planners, - @Nonnull EventTypeJson1 type) { + @Nonnull EventTypeJson type) { this( null, title, @@ -630,7 +630,7 @@ public Optional> stakeholders() { /** * Collection of custom fields. */ - public Optional> customFields() { + public Optional> customFields() { return Optional.ofNullable(this.customFields); } @@ -648,7 +648,7 @@ public Optional category() { * Type of event being created. The following event types are not supported: Cvent Webinar, Cvent * Essentials. */ - public EventTypeJson1 type() { + public EventTypeJson type() { return this.type; } @@ -935,7 +935,7 @@ public Event1 withStakeholders(@Nullable List stakeholders) { /** * Collection of custom fields. */ - public Event1 withCustomFields(@Nullable List customFields) { + public Event1 withCustomFields(@Nullable List customFields) { this.customFields = customFields; return this; } @@ -955,7 +955,7 @@ public Event1 withCategory(@Nullable EventLookup category) { * Type of event being created. The following event types are not supported: Cvent Webinar, Cvent * Essentials. */ - public Event1 withType(@Nonnull EventTypeJson1 type) { + public Event1 withType(@Nonnull EventTypeJson type) { this.type = Utils.checkNotNull(type, "type"); return this; } @@ -1238,12 +1238,12 @@ public static final class Builder { private List stakeholders; - private List customFields; + private List customFields; @Deprecated private EventLookup category; - private EventTypeJson1 type; + private EventTypeJson type; private EventLinksJson links; @@ -1498,7 +1498,7 @@ public Builder stakeholders(@Nullable List stakeholders) { /** * Collection of custom fields. */ - public Builder customFields(@Nullable List customFields) { + public Builder customFields(@Nullable List customFields) { this.customFields = customFields; return this; } @@ -1518,7 +1518,7 @@ public Builder category(@Nullable EventLookup category) { * Type of event being created. The following event types are not supported: Cvent Webinar, Cvent * Essentials. */ - public Builder type(@Nonnull EventTypeJson1 type) { + public Builder type(@Nonnull EventTypeJson type) { this.type = Utils.checkNotNull(type, "type"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/Event12.java b/packages/java/src/main/java/com/cvent/models/components/Event12.java new file mode 100644 index 000000000..c21130249 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Event12.java @@ -0,0 +1,100 @@ +/* + * 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; + +/** + * Event12 + * + *

Event details. + */ +public class Event12 { + /** + * Unique identifier for the event linked with the RFP, if any. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public Event12(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public Event12() { + this(null); + } + + /** + * Unique identifier for the event linked with the RFP, if any. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique identifier for the event linked with the RFP, if any. + */ + public Event12 withId(@Nullable String id) { + this.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; + } + Event12 other = (Event12) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(Event12.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique identifier for the event linked with the RFP, if any. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public Event12 build() { + return new Event12(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/Event21.java b/packages/java/src/main/java/com/cvent/models/components/Event21.java deleted file mode 100644 index 784c26bb0..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/Event21.java +++ /dev/null @@ -1,93 +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.Optional; - -/** - * Event21 - * - *

The Associated Event. - */ -public class Event21 { - /** - * Event id - */ - @JsonProperty("id") - private String id; - - @JsonCreator - public Event21(@JsonProperty("id") @Nonnull String id) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - } - - /** - * Event id - */ - public String id() { - return this.id; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Event id - */ - public Event21 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; - } - Event21 other = (Event21) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(Event21.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * Event id - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - public Event21 build() { - return new Event21(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/Event3.java b/packages/java/src/main/java/com/cvent/models/components/Event3.java new file mode 100644 index 000000000..190dfee4a --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Event3.java @@ -0,0 +1,93 @@ +/* + * 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; + +/** + * Event3 + * + *

The Associated Event. + */ +public class Event3 { + /** + * Event id + */ + @JsonProperty("id") + private String id; + + @JsonCreator + public Event3(@JsonProperty("id") @Nonnull String id) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + } + + /** + * Event id + */ + public String id() { + return this.id; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Event id + */ + public Event3 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; + } + Event3 other = (Event3) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(Event3.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * Event id + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + public Event3 build() { + return new Event3(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/EventAllOf.java b/packages/java/src/main/java/com/cvent/models/components/EventAllOf.java deleted file mode 100644 index fa1faca85..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/EventAllOf.java +++ /dev/null @@ -1,104 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * EventAllOf - * - *

Event ID - */ -public class EventAllOf { - /** - * ID of the event where the contact was created, applicable when contact snapshot is enabled for an - * event. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public EventAllOf(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public EventAllOf() { - this(null); - } - - /** - * ID of the event where the contact was created, applicable when contact snapshot is enabled for an - * event. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * ID of the event where the contact was created, applicable when contact snapshot is enabled for an - * event. - */ - public EventAllOf withId(@Nullable String id) { - this.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; - } - EventAllOf other = (EventAllOf) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(EventAllOf.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * ID of the event where the contact was created, applicable when contact snapshot is enabled for an - * event. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public EventAllOf build() { - return new EventAllOf(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/EventContactId.java b/packages/java/src/main/java/com/cvent/models/components/EventContactId.java new file mode 100644 index 000000000..056136aaa --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/EventContactId.java @@ -0,0 +1,129 @@ +/* + * 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; + +/** + * EventContactId + * + *

A pair of event and contact id. + */ +public class EventContactId { + /** + * ID of the event. + */ + @JsonProperty("eventId") + private String eventId; + + /** + * ID of the contact. + */ + @JsonProperty("contactId") + private String contactId; + + @JsonCreator + public EventContactId( + @JsonProperty("eventId") @Nonnull String eventId, @JsonProperty("contactId") @Nonnull String contactId) { + this.eventId = + Optional.ofNullable(eventId).orElseThrow(() -> new IllegalArgumentException("eventId cannot be null")); + this.contactId = Optional.ofNullable(contactId) + .orElseThrow(() -> new IllegalArgumentException("contactId cannot be null")); + } + + /** + * ID of the event. + */ + public String eventId() { + return this.eventId; + } + + /** + * ID of the contact. + */ + public String contactId() { + return this.contactId; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * ID of the event. + */ + public EventContactId withEventId(@Nonnull String eventId) { + this.eventId = Utils.checkNotNull(eventId, "eventId"); + return this; + } + + /** + * ID of the contact. + */ + public EventContactId withContactId(@Nonnull String contactId) { + this.contactId = Utils.checkNotNull(contactId, "contactId"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EventContactId other = (EventContactId) o; + return Utils.enhancedDeepEquals(this.eventId, other.eventId) + && Utils.enhancedDeepEquals(this.contactId, other.contactId); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(eventId, contactId); + } + + @Override + public String toString() { + return Utils.toString(EventContactId.class, "eventId", eventId, "contactId", contactId); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String eventId; + + private String contactId; + + private Builder() { + // force use of static builder() method + } + + /** + * ID of the event. + */ + public Builder eventId(@Nonnull String eventId) { + this.eventId = Utils.checkNotNull(eventId, "eventId"); + return this; + } + + /** + * ID of the contact. + */ + public Builder contactId(@Nonnull String contactId) { + this.contactId = Utils.checkNotNull(contactId, "contactId"); + return this; + } + + public EventContactId build() { + return new EventContactId(eventId, contactId); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/EventContactIdJson.java b/packages/java/src/main/java/com/cvent/models/components/EventContactIdJson.java deleted file mode 100644 index 003b95329..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/EventContactIdJson.java +++ /dev/null @@ -1,129 +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.Optional; - -/** - * EventContactIdJson - * - *

A pair of event and contact id. - */ -public class EventContactIdJson { - /** - * ID of the event. - */ - @JsonProperty("eventId") - private String eventId; - - /** - * ID of the contact. - */ - @JsonProperty("contactId") - private String contactId; - - @JsonCreator - public EventContactIdJson( - @JsonProperty("eventId") @Nonnull String eventId, @JsonProperty("contactId") @Nonnull String contactId) { - this.eventId = - Optional.ofNullable(eventId).orElseThrow(() -> new IllegalArgumentException("eventId cannot be null")); - this.contactId = Optional.ofNullable(contactId) - .orElseThrow(() -> new IllegalArgumentException("contactId cannot be null")); - } - - /** - * ID of the event. - */ - public String eventId() { - return this.eventId; - } - - /** - * ID of the contact. - */ - public String contactId() { - return this.contactId; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * ID of the event. - */ - public EventContactIdJson withEventId(@Nonnull String eventId) { - this.eventId = Utils.checkNotNull(eventId, "eventId"); - return this; - } - - /** - * ID of the contact. - */ - public EventContactIdJson withContactId(@Nonnull String contactId) { - this.contactId = Utils.checkNotNull(contactId, "contactId"); - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - EventContactIdJson other = (EventContactIdJson) o; - return Utils.enhancedDeepEquals(this.eventId, other.eventId) - && Utils.enhancedDeepEquals(this.contactId, other.contactId); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(eventId, contactId); - } - - @Override - public String toString() { - return Utils.toString(EventContactIdJson.class, "eventId", eventId, "contactId", contactId); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String eventId; - - private String contactId; - - private Builder() { - // force use of static builder() method - } - - /** - * ID of the event. - */ - public Builder eventId(@Nonnull String eventId) { - this.eventId = Utils.checkNotNull(eventId, "eventId"); - return this; - } - - /** - * ID of the contact. - */ - public Builder contactId(@Nonnull String contactId) { - this.contactId = Utils.checkNotNull(contactId, "contactId"); - return this; - } - - public EventContactIdJson build() { - return new EventContactIdJson(eventId, contactId); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/EventEmailsPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/EventEmailsPaginatedResponse.java index e6ea2e219..32786a549 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EventEmailsPaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/EventEmailsPaginatedResponse.java @@ -22,7 +22,7 @@ public class EventEmailsPaginatedResponse { * Represents pagination information for a collection of resources. */ @JsonProperty("paging") - private PagingJson19 paging; + private PagingJson2 paging; /** * Collection of emails for a specific event. @@ -32,7 +32,7 @@ public class EventEmailsPaginatedResponse { @JsonCreator public EventEmailsPaginatedResponse( - @JsonProperty("paging") @Nonnull PagingJson19 paging, + @JsonProperty("paging") @Nonnull PagingJson2 paging, @JsonProperty("data") @Nonnull List data) { this.paging = Optional.ofNullable(paging).orElseThrow(() -> new IllegalArgumentException("paging cannot be null")); @@ -42,7 +42,7 @@ public EventEmailsPaginatedResponse( /** * Represents pagination information for a collection of resources. */ - public PagingJson19 paging() { + public PagingJson2 paging() { return this.paging; } @@ -60,7 +60,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public EventEmailsPaginatedResponse withPaging(@Nonnull PagingJson19 paging) { + public EventEmailsPaginatedResponse withPaging(@Nonnull PagingJson2 paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } @@ -98,7 +98,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson19 paging; + private PagingJson2 paging; private List data; @@ -109,7 +109,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nonnull PagingJson19 paging) { + public Builder paging(@Nonnull PagingJson2 paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/EventFormatType.java b/packages/java/src/main/java/com/cvent/models/components/EventFormatType.java new file mode 100644 index 000000000..3df47f747 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/EventFormatType.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; + +/** + * EventFormatType + * + *

Event format type. + */ +public enum EventFormatType { + IN_PERSON("IN_PERSON"), + HYBRID("HYBRID"), + VIRTUAL("VIRTUAL"); + + @JsonValue + private final String value; + + EventFormatType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (EventFormatType o : EventFormatType.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/EventFormatTypeJson0.java b/packages/java/src/main/java/com/cvent/models/components/EventFormatTypeJson0.java deleted file mode 100644 index b6f609974..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/EventFormatTypeJson0.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * 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; - -/** - * EventFormatTypeJson0 - * - *

Event format type. - */ -public enum EventFormatTypeJson0 { - IN_PERSON("IN_PERSON"), - HYBRID("HYBRID"), - VIRTUAL("VIRTUAL"); - - @JsonValue - private final String value; - - EventFormatTypeJson0(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (EventFormatTypeJson0 o : EventFormatTypeJson0.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/EventInput.java b/packages/java/src/main/java/com/cvent/models/components/EventInput.java index e03c5eeff..4d75db408 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EventInput.java +++ b/packages/java/src/main/java/com/cvent/models/components/EventInput.java @@ -110,7 +110,7 @@ public class EventInput { * Essentials. */ @JsonProperty("type") - private EventTypeJson1 type; + private EventTypeJson type; @JsonCreator public EventInput( @@ -126,7 +126,7 @@ public EventInput( @JsonProperty("note") @Nullable String note, @JsonProperty("languages") @Nonnull List languages, @JsonProperty("planners") @Nonnull List planners, - @JsonProperty("type") @Nonnull EventTypeJson1 type) { + @JsonProperty("type") @Nonnull EventTypeJson type) { this.title = Optional.ofNullable(title).orElseThrow(() -> new IllegalArgumentException("title cannot be null")); this.format = Optional.ofNullable(format).orElseThrow(() -> new IllegalArgumentException("format cannot be null")); @@ -152,7 +152,7 @@ public EventInput( @Nonnull String timezone, @Nonnull List languages, @Nonnull List planners, - @Nonnull EventTypeJson1 type) { + @Nonnull EventTypeJson type) { this(title, format, null, null, null, timezone, null, null, null, null, languages, planners, type); } @@ -247,7 +247,7 @@ public List planners() { * Type of event being created. The following event types are not supported: Cvent Webinar, Cvent * Essentials. */ - public EventTypeJson1 type() { + public EventTypeJson type() { return this.type; } @@ -358,7 +358,7 @@ public EventInput withPlanners(@Nonnull List planners) { * Type of event being created. The following event types are not supported: Cvent Webinar, Cvent * Essentials. */ - public EventInput withType(@Nonnull EventTypeJson1 type) { + public EventInput withType(@Nonnull EventTypeJson type) { this.type = Utils.checkNotNull(type, "type"); return this; } @@ -464,7 +464,7 @@ public static final class Builder { private List planners; - private EventTypeJson1 type; + private EventTypeJson type; private Builder() { // force use of static builder() method @@ -573,7 +573,7 @@ public Builder planners(@Nonnull List planners) { * Type of event being created. The following event types are not supported: Cvent Webinar, Cvent * Essentials. */ - public Builder type(@Nonnull EventTypeJson1 type) { + public Builder type(@Nonnull EventTypeJson type) { this.type = Utils.checkNotNull(type, "type"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/EventJson.java b/packages/java/src/main/java/com/cvent/models/components/EventJson.java new file mode 100644 index 000000000..e0d7b78b8 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/EventJson.java @@ -0,0 +1,93 @@ +/* + * 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; + +/** + * EventJson + * + *

ID of the event. + */ +public class EventJson { + /** + * UUID of the event. + */ + @JsonProperty("id") + private String id; + + @JsonCreator + public EventJson(@JsonProperty("id") @Nonnull String id) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + } + + /** + * UUID of the event. + */ + public String id() { + return this.id; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * UUID of the event. + */ + public EventJson 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; + } + EventJson other = (EventJson) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(EventJson.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * UUID of the event. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + public EventJson build() { + return new EventJson(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/EventJson0.java b/packages/java/src/main/java/com/cvent/models/components/EventJson0.java deleted file mode 100644 index 9fd6ebb46..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/EventJson0.java +++ /dev/null @@ -1,100 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * EventJson0 - * - *

Event details. - */ -public class EventJson0 { - /** - * Unique identifier for the event linked with the RFP, if any. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public EventJson0(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public EventJson0() { - this(null); - } - - /** - * Unique identifier for the event linked with the RFP, if any. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Unique identifier for the event linked with the RFP, if any. - */ - public EventJson0 withId(@Nullable String id) { - this.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; - } - EventJson0 other = (EventJson0) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(EventJson0.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * Unique identifier for the event linked with the RFP, if any. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public EventJson0 build() { - return new EventJson0(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/EventJson1.java b/packages/java/src/main/java/com/cvent/models/components/EventJson1.java index e4e17d5ee..30df6a829 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EventJson1.java +++ b/packages/java/src/main/java/com/cvent/models/components/EventJson1.java @@ -5,8 +5,10 @@ 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.Optional; @@ -14,25 +16,30 @@ /** * EventJson1 * - *

ID of the event. + *

Event ID Information. */ public class EventJson1 { /** - * UUID of the event. + * Identifier of a particular Event. */ + @JsonInclude(Include.NON_ABSENT) @JsonProperty("id") private String id; @JsonCreator - public EventJson1(@JsonProperty("id") @Nonnull String id) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + public EventJson1(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public EventJson1() { + this(null); } /** - * UUID of the event. + * Identifier of a particular Event. */ - public String id() { - return this.id; + public Optional id() { + return Optional.ofNullable(this.id); } public static Builder builder() { @@ -40,10 +47,10 @@ public static Builder builder() { } /** - * UUID of the event. + * Identifier of a particular Event. */ - public EventJson1 withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); + public EventJson1 withId(@Nullable String id) { + this.id = id; return this; } @@ -79,10 +86,10 @@ private Builder() { } /** - * UUID of the event. + * Identifier of a particular Event. */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); + public Builder id(@Nullable String id) { + this.id = id; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/EventJson2.java b/packages/java/src/main/java/com/cvent/models/components/EventJson2.java deleted file mode 100644 index 06917e13d..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/EventJson2.java +++ /dev/null @@ -1,100 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * EventJson2 - * - *

Event ID Information. - */ -public class EventJson2 { - /** - * Identifier of a particular Event. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public EventJson2(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public EventJson2() { - this(null); - } - - /** - * Identifier of a particular Event. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Identifier of a particular Event. - */ - public EventJson2 withId(@Nullable String id) { - this.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; - } - EventJson2 other = (EventJson2) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(EventJson2.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * Identifier of a particular Event. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public EventJson2 build() { - return new EventJson2(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/EventJson3.java b/packages/java/src/main/java/com/cvent/models/components/EventJson3.java new file mode 100644 index 000000000..704439062 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/EventJson3.java @@ -0,0 +1,100 @@ +/* + * 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; + +/** + * EventJson3 + * + *

Detail object of an event which is associated to a survey. + */ +public class EventJson3 { + /** + * Id of the associated event + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public EventJson3(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public EventJson3() { + this(null); + } + + /** + * Id of the associated event + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Id of the associated event + */ + public EventJson3 withId(@Nullable String id) { + this.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; + } + EventJson3 other = (EventJson3) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(EventJson3.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * Id of the associated event + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public EventJson3 build() { + return new EventJson3(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/EventJson4.java b/packages/java/src/main/java/com/cvent/models/components/EventJson4.java deleted file mode 100644 index c010e70fd..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/EventJson4.java +++ /dev/null @@ -1,100 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * EventJson4 - * - *

Detail object of an event which is associated to a survey. - */ -public class EventJson4 { - /** - * Id of the associated event - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public EventJson4(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public EventJson4() { - this(null); - } - - /** - * Id of the associated event - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Id of the associated event - */ - public EventJson4 withId(@Nullable String id) { - this.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; - } - EventJson4 other = (EventJson4) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(EventJson4.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * Id of the associated event - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public EventJson4 build() { - return new EventJson4(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/EventJson5.java b/packages/java/src/main/java/com/cvent/models/components/EventJson5.java new file mode 100644 index 000000000..5db58866d --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/EventJson5.java @@ -0,0 +1,93 @@ +/* + * 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; + +/** + * EventJson5 + * + *

An event reference used in attendee insights to identify the event context for engagement data + */ +public class EventJson5 { + /** + * A unique identifier (UUID) for the event where the engagement score applies + */ + @JsonProperty("id") + private String id; + + @JsonCreator + public EventJson5(@JsonProperty("id") @Nonnull String id) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + } + + /** + * A unique identifier (UUID) for the event where the engagement score applies + */ + public String id() { + return this.id; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * A unique identifier (UUID) for the event where the engagement score applies + */ + public EventJson5 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; + } + EventJson5 other = (EventJson5) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(EventJson5.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * A unique identifier (UUID) for the event where the engagement score applies + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + public EventJson5 build() { + return new EventJson5(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/EventJson6.java b/packages/java/src/main/java/com/cvent/models/components/EventJson6.java index e621c884b..d64710ca9 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EventJson6.java +++ b/packages/java/src/main/java/com/cvent/models/components/EventJson6.java @@ -14,11 +14,11 @@ /** * EventJson6 * - *

An event reference used in attendee insights to identify the event context for engagement data + *

Details of the event. */ public class EventJson6 { /** - * A unique identifier (UUID) for the event where the engagement score applies + * The unique ID of the event. */ @JsonProperty("id") private String id; @@ -29,7 +29,7 @@ public EventJson6(@JsonProperty("id") @Nonnull String id) { } /** - * A unique identifier (UUID) for the event where the engagement score applies + * The unique ID of the event. */ public String id() { return this.id; @@ -40,7 +40,7 @@ public static Builder builder() { } /** - * A unique identifier (UUID) for the event where the engagement score applies + * The unique ID of the event. */ public EventJson6 withId(@Nonnull String id) { this.id = Utils.checkNotNull(id, "id"); @@ -79,7 +79,7 @@ private Builder() { } /** - * A unique identifier (UUID) for the event where the engagement score applies + * The unique ID of the event. */ public Builder id(@Nonnull String id) { this.id = Utils.checkNotNull(id, "id"); diff --git a/packages/java/src/main/java/com/cvent/models/components/EventJson8.java b/packages/java/src/main/java/com/cvent/models/components/EventJson8.java deleted file mode 100644 index 7a8426f67..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/EventJson8.java +++ /dev/null @@ -1,93 +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.Optional; - -/** - * EventJson8 - * - *

Details of the event. - */ -public class EventJson8 { - /** - * The unique ID of the event. - */ - @JsonProperty("id") - private String id; - - @JsonCreator - public EventJson8(@JsonProperty("id") @Nonnull String id) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - } - - /** - * The unique ID of the event. - */ - public String id() { - return this.id; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique ID of the event. - */ - public EventJson8 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; - } - EventJson8 other = (EventJson8) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(EventJson8.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique ID of the event. - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - public EventJson8 build() { - return new EventJson8(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/EventLite.java b/packages/java/src/main/java/com/cvent/models/components/EventLite.java new file mode 100644 index 000000000..c453df4d3 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/EventLite.java @@ -0,0 +1,93 @@ +/* + * 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; + +/** + * EventLite + * + *

The unique identifier of an event. + */ +public class EventLite { + /** + * The unique identifier for an event. + */ + @JsonProperty("id") + private String id; + + @JsonCreator + public EventLite(@JsonProperty("id") @Nonnull String id) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + } + + /** + * The unique identifier for an event. + */ + public String id() { + return this.id; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique identifier for an event. + */ + public EventLite 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; + } + EventLite other = (EventLite) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(EventLite.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique identifier for an event. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + public EventLite build() { + return new EventLite(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/EventLiteJson.java b/packages/java/src/main/java/com/cvent/models/components/EventLiteJson.java deleted file mode 100644 index e4ecbec29..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/EventLiteJson.java +++ /dev/null @@ -1,93 +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.Optional; - -/** - * EventLiteJson - * - *

The unique identifier of an event. - */ -public class EventLiteJson { - /** - * The unique identifier for an event. - */ - @JsonProperty("id") - private String id; - - @JsonCreator - public EventLiteJson(@JsonProperty("id") @Nonnull String id) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - } - - /** - * The unique identifier for an event. - */ - public String id() { - return this.id; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique identifier for an event. - */ - public EventLiteJson 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; - } - EventLiteJson other = (EventLiteJson) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(EventLiteJson.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique identifier for an event. - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - public EventLiteJson build() { - return new EventLiteJson(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/EventOrganization1.java b/packages/java/src/main/java/com/cvent/models/components/EventOrganization1.java new file mode 100644 index 000000000..1d39a8093 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/EventOrganization1.java @@ -0,0 +1,328 @@ +/* + * 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.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * EventOrganization1 + * + *

Details of organization which is hosting the event. + */ +public class EventOrganization1 { + /** + * Organization details. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("organization") + private Organization organization; + + /** + * True indicates organization profile has to be kept confidential. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("confidentialProfile") + private Boolean confidentialProfile; + + /** + * Industry + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("industry") + private Industry1 industry; + + /** + * Name of the organization hosting the event. + */ + @JsonProperty("name") + private String name; + + /** + * Organization type. + */ + @JsonProperty("type") + private OrganizationType1 type; + + /** + * Address details. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("address") + private Address1 address; + + /** + * Number of events per year. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("eventsPerYear") + private Long eventsPerYear; + + @JsonCreator + public EventOrganization1( + @JsonProperty("organization") @Nullable Organization organization, + @JsonProperty("confidentialProfile") @Nullable Boolean confidentialProfile, + @JsonProperty("industry") @Nullable Industry1 industry, + @JsonProperty("name") @Nonnull String name, + @JsonProperty("type") @Nonnull OrganizationType1 type, + @JsonProperty("address") @Nullable Address1 address, + @JsonProperty("eventsPerYear") @Nullable Long eventsPerYear) { + this.organization = organization; + this.confidentialProfile = confidentialProfile; + this.industry = industry; + this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); + this.type = Optional.ofNullable(type).orElseThrow(() -> new IllegalArgumentException("type cannot be null")); + this.address = address; + this.eventsPerYear = eventsPerYear; + } + + public EventOrganization1(@Nonnull String name, @Nonnull OrganizationType1 type) { + this(null, null, null, name, type, null, null); + } + + /** + * Organization details. + */ + public Optional organization() { + return Optional.ofNullable(this.organization); + } + + /** + * True indicates organization profile has to be kept confidential. + */ + public Optional confidentialProfile() { + return Optional.ofNullable(this.confidentialProfile); + } + + /** + * Industry + */ + public Optional industry() { + return Optional.ofNullable(this.industry); + } + + /** + * Name of the organization hosting the event. + */ + public String name() { + return this.name; + } + + /** + * Organization type. + */ + public OrganizationType1 type() { + return this.type; + } + + /** + * Address details. + */ + public Optional address() { + return Optional.ofNullable(this.address); + } + + /** + * Number of events per year. + */ + public Optional eventsPerYear() { + return Optional.ofNullable(this.eventsPerYear); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Organization details. + */ + public EventOrganization1 withOrganization(@Nullable Organization organization) { + this.organization = organization; + return this; + } + + /** + * True indicates organization profile has to be kept confidential. + */ + public EventOrganization1 withConfidentialProfile(@Nullable Boolean confidentialProfile) { + this.confidentialProfile = confidentialProfile; + return this; + } + + /** + * Industry + */ + public EventOrganization1 withIndustry(@Nullable Industry1 industry) { + this.industry = industry; + return this; + } + + /** + * Name of the organization hosting the event. + */ + public EventOrganization1 withName(@Nonnull String name) { + this.name = Utils.checkNotNull(name, "name"); + return this; + } + + /** + * Organization type. + */ + public EventOrganization1 withType(@Nonnull OrganizationType1 type) { + this.type = Utils.checkNotNull(type, "type"); + return this; + } + + /** + * Address details. + */ + public EventOrganization1 withAddress(@Nullable Address1 address) { + this.address = address; + return this; + } + + /** + * Number of events per year. + */ + public EventOrganization1 withEventsPerYear(@Nullable Long eventsPerYear) { + this.eventsPerYear = eventsPerYear; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EventOrganization1 other = (EventOrganization1) o; + return Utils.enhancedDeepEquals(this.organization, other.organization) + && Utils.enhancedDeepEquals(this.confidentialProfile, other.confidentialProfile) + && Utils.enhancedDeepEquals(this.industry, other.industry) + && Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.type, other.type) + && Utils.enhancedDeepEquals(this.address, other.address) + && Utils.enhancedDeepEquals(this.eventsPerYear, other.eventsPerYear); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(organization, confidentialProfile, industry, name, type, address, eventsPerYear); + } + + @Override + public String toString() { + return Utils.toString( + EventOrganization1.class, + "organization", + organization, + "confidentialProfile", + confidentialProfile, + "industry", + industry, + "name", + name, + "type", + type, + "address", + address, + "eventsPerYear", + eventsPerYear); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private Organization organization; + + private Boolean confidentialProfile; + + private Industry1 industry; + + private String name; + + private OrganizationType1 type; + + private Address1 address; + + private Long eventsPerYear; + + private Builder() { + // force use of static builder() method + } + + /** + * Organization details. + */ + public Builder organization(@Nullable Organization organization) { + this.organization = organization; + return this; + } + + /** + * True indicates organization profile has to be kept confidential. + */ + public Builder confidentialProfile(@Nullable Boolean confidentialProfile) { + this.confidentialProfile = confidentialProfile; + return this; + } + + /** + * Industry + */ + public Builder industry(@Nullable Industry1 industry) { + this.industry = industry; + return this; + } + + /** + * Name of the organization hosting the event. + */ + public Builder name(@Nonnull String name) { + this.name = Utils.checkNotNull(name, "name"); + return this; + } + + /** + * Organization type. + */ + public Builder type(@Nonnull OrganizationType1 type) { + this.type = Utils.checkNotNull(type, "type"); + return this; + } + + /** + * Address details. + */ + public Builder address(@Nullable Address1 address) { + this.address = address; + return this; + } + + /** + * Number of events per year. + */ + public Builder eventsPerYear(@Nullable Long eventsPerYear) { + this.eventsPerYear = eventsPerYear; + return this; + } + + public EventOrganization1 build() { + return new EventOrganization1( + organization, confidentialProfile, industry, name, type, address, eventsPerYear); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/EventQuestionJson.java b/packages/java/src/main/java/com/cvent/models/components/EventQuestionJson.java index 48d98a4dd..c3bb665de 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EventQuestionJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/EventQuestionJson.java @@ -105,7 +105,7 @@ public class EventQuestionJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("type") - private QuestionTypeJson3 type; + private QuestionTypeJson2 type; /** * Optional description to provide additional context of the question. @@ -127,7 +127,7 @@ public EventQuestionJson( @JsonProperty("tag") @Nullable String tag, @JsonProperty("session") @Nullable EventQuestionJsonSession session, @JsonProperty("admissionItem") @Nullable EventQuestionJsonAdmissionItem admissionItem, - @JsonProperty("type") @Nullable QuestionTypeJson3 type, + @JsonProperty("type") @Nullable QuestionTypeJson2 type, @JsonProperty("internalNote") @Nullable String internalNote) { this.created = created; this.createdBy = createdBy; @@ -231,7 +231,7 @@ public Optional admissionItem() { /** * This object represents the type of a question */ - public Optional type() { + public Optional type() { return Optional.ofNullable(this.type); } @@ -340,7 +340,7 @@ public EventQuestionJson withAdmissionItem(@Nullable EventQuestionJsonAdmissionI /** * This object represents the type of a question */ - public EventQuestionJson withType(@Nullable QuestionTypeJson3 type) { + public EventQuestionJson withType(@Nullable QuestionTypeJson2 type) { this.type = type; return this; } @@ -452,7 +452,7 @@ public static final class Builder { private EventQuestionJsonAdmissionItem admissionItem; - private QuestionTypeJson3 type; + private QuestionTypeJson2 type; private String internalNote; @@ -554,7 +554,7 @@ public Builder admissionItem(@Nullable EventQuestionJsonAdmissionItem admissionI /** * This object represents the type of a question */ - public Builder type(@Nullable QuestionTypeJson3 type) { + public Builder type(@Nullable QuestionTypeJson2 type) { this.type = type; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/EventSurveyQuestionJson.java b/packages/java/src/main/java/com/cvent/models/components/EventSurveyQuestionJson.java index 9e5e388ee..0400f6523 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EventSurveyQuestionJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/EventSurveyQuestionJson.java @@ -94,42 +94,42 @@ public class EventSurveyQuestionJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("type") - private QuestionTypeJson2 type; + private QuestionTypeJson1 type; /** * List of choices for the question. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("choices") - private List choices; + private List choices; /** * List of categories for the question. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("categories") - private List categories; + private List categories; /** * List of sub categories for matrix side-by-side questions */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("subCategories") - private List subCategories; + private List subCategories; /** * Contains text of additional choice i.e N/A choice or otherAnswer choice */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("notApplicableAnswer") - private AdditionalChoiceJson1 notApplicableAnswer; + private AdditionalChoiceJson notApplicableAnswer; /** * Contains text of additional choice i.e N/A choice or otherAnswer choice */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("otherAnswer") - private AdditionalChoiceJson1 otherAnswer; + private AdditionalChoiceJson otherAnswer; /** * Text Value of Comments Input box placeholder @@ -150,7 +150,7 @@ public class EventSurveyQuestionJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("fields") - private List fields; + private List fields; /** * Max possible score @@ -191,15 +191,15 @@ public EventSurveyQuestionJson( @JsonProperty("shortText") @Nullable String shortText, @JsonProperty("htmlText") @Nullable String htmlText, @JsonProperty("code") @Nullable String code, - @JsonProperty("type") @Nullable QuestionTypeJson2 type, - @JsonProperty("choices") @Nullable List choices, - @JsonProperty("categories") @Nullable List categories, - @JsonProperty("subCategories") @Nullable List subCategories, - @JsonProperty("notApplicableAnswer") @Nullable AdditionalChoiceJson1 notApplicableAnswer, - @JsonProperty("otherAnswer") @Nullable AdditionalChoiceJson1 otherAnswer, + @JsonProperty("type") @Nullable QuestionTypeJson1 type, + @JsonProperty("choices") @Nullable List choices, + @JsonProperty("categories") @Nullable List categories, + @JsonProperty("subCategories") @Nullable List subCategories, + @JsonProperty("notApplicableAnswer") @Nullable AdditionalChoiceJson notApplicableAnswer, + @JsonProperty("otherAnswer") @Nullable AdditionalChoiceJson otherAnswer, @JsonProperty("comments") @Nullable String comments, @JsonProperty("required") @Nullable Boolean required, - @JsonProperty("fields") @Nullable List fields, + @JsonProperty("fields") @Nullable List fields, @JsonProperty("maxScore") @Nullable Double maxScore, @JsonProperty("totalSum") @Nullable Long totalSum, @JsonProperty("survey") @Nullable UuidJson survey, @@ -320,42 +320,42 @@ public Optional code() { /** * Question Type. */ - public Optional type() { + public Optional type() { return Optional.ofNullable(this.type); } /** * List of choices for the question. */ - public Optional> choices() { + public Optional> choices() { return Optional.ofNullable(this.choices); } /** * List of categories for the question. */ - public Optional> categories() { + public Optional> categories() { return Optional.ofNullable(this.categories); } /** * List of sub categories for matrix side-by-side questions */ - public Optional> subCategories() { + public Optional> subCategories() { return Optional.ofNullable(this.subCategories); } /** * Contains text of additional choice i.e N/A choice or otherAnswer choice */ - public Optional notApplicableAnswer() { + public Optional notApplicableAnswer() { return Optional.ofNullable(this.notApplicableAnswer); } /** * Contains text of additional choice i.e N/A choice or otherAnswer choice */ - public Optional otherAnswer() { + public Optional otherAnswer() { return Optional.ofNullable(this.otherAnswer); } @@ -376,7 +376,7 @@ public Optional required() { /** * List of fields for form/matrix questions */ - public Optional> fields() { + public Optional> fields() { return Optional.ofNullable(this.fields); } @@ -487,7 +487,7 @@ public EventSurveyQuestionJson withCode(@Nullable String code) { /** * Question Type. */ - public EventSurveyQuestionJson withType(@Nullable QuestionTypeJson2 type) { + public EventSurveyQuestionJson withType(@Nullable QuestionTypeJson1 type) { this.type = type; return this; } @@ -495,7 +495,7 @@ public EventSurveyQuestionJson withType(@Nullable QuestionTypeJson2 type) { /** * List of choices for the question. */ - public EventSurveyQuestionJson withChoices(@Nullable List choices) { + public EventSurveyQuestionJson withChoices(@Nullable List choices) { this.choices = choices; return this; } @@ -503,7 +503,7 @@ public EventSurveyQuestionJson withChoices(@Nullable List choices) /** * List of categories for the question. */ - public EventSurveyQuestionJson withCategories(@Nullable List categories) { + public EventSurveyQuestionJson withCategories(@Nullable List categories) { this.categories = categories; return this; } @@ -511,7 +511,7 @@ public EventSurveyQuestionJson withCategories(@Nullable List cate /** * List of sub categories for matrix side-by-side questions */ - public EventSurveyQuestionJson withSubCategories(@Nullable List subCategories) { + public EventSurveyQuestionJson withSubCategories(@Nullable List subCategories) { this.subCategories = subCategories; return this; } @@ -519,7 +519,7 @@ public EventSurveyQuestionJson withSubCategories(@Nullable List /** * Contains text of additional choice i.e N/A choice or otherAnswer choice */ - public EventSurveyQuestionJson withNotApplicableAnswer(@Nullable AdditionalChoiceJson1 notApplicableAnswer) { + public EventSurveyQuestionJson withNotApplicableAnswer(@Nullable AdditionalChoiceJson notApplicableAnswer) { this.notApplicableAnswer = notApplicableAnswer; return this; } @@ -527,7 +527,7 @@ public EventSurveyQuestionJson withNotApplicableAnswer(@Nullable AdditionalChoic /** * Contains text of additional choice i.e N/A choice or otherAnswer choice */ - public EventSurveyQuestionJson withOtherAnswer(@Nullable AdditionalChoiceJson1 otherAnswer) { + public EventSurveyQuestionJson withOtherAnswer(@Nullable AdditionalChoiceJson otherAnswer) { this.otherAnswer = otherAnswer; return this; } @@ -551,7 +551,7 @@ public EventSurveyQuestionJson withRequired(@Nullable Boolean required) { /** * List of fields for form/matrix questions */ - public EventSurveyQuestionJson withFields(@Nullable List fields) { + public EventSurveyQuestionJson withFields(@Nullable List fields) { this.fields = fields; return this; } @@ -719,23 +719,23 @@ public static final class Builder { private String code; - private QuestionTypeJson2 type; + private QuestionTypeJson1 type; - private List choices; + private List choices; - private List categories; + private List categories; - private List subCategories; + private List subCategories; - private AdditionalChoiceJson1 notApplicableAnswer; + private AdditionalChoiceJson notApplicableAnswer; - private AdditionalChoiceJson1 otherAnswer; + private AdditionalChoiceJson otherAnswer; private String comments; private Boolean required; - private List fields; + private List fields; private Double maxScore; @@ -824,7 +824,7 @@ public Builder code(@Nullable String code) { /** * Question Type. */ - public Builder type(@Nullable QuestionTypeJson2 type) { + public Builder type(@Nullable QuestionTypeJson1 type) { this.type = type; return this; } @@ -832,7 +832,7 @@ public Builder type(@Nullable QuestionTypeJson2 type) { /** * List of choices for the question. */ - public Builder choices(@Nullable List choices) { + public Builder choices(@Nullable List choices) { this.choices = choices; return this; } @@ -840,7 +840,7 @@ public Builder choices(@Nullable List choices) { /** * List of categories for the question. */ - public Builder categories(@Nullable List categories) { + public Builder categories(@Nullable List categories) { this.categories = categories; return this; } @@ -848,7 +848,7 @@ public Builder categories(@Nullable List categories) { /** * List of sub categories for matrix side-by-side questions */ - public Builder subCategories(@Nullable List subCategories) { + public Builder subCategories(@Nullable List subCategories) { this.subCategories = subCategories; return this; } @@ -856,7 +856,7 @@ public Builder subCategories(@Nullable List subCategories) { /** * Contains text of additional choice i.e N/A choice or otherAnswer choice */ - public Builder notApplicableAnswer(@Nullable AdditionalChoiceJson1 notApplicableAnswer) { + public Builder notApplicableAnswer(@Nullable AdditionalChoiceJson notApplicableAnswer) { this.notApplicableAnswer = notApplicableAnswer; return this; } @@ -864,7 +864,7 @@ public Builder notApplicableAnswer(@Nullable AdditionalChoiceJson1 notApplicable /** * Contains text of additional choice i.e N/A choice or otherAnswer choice */ - public Builder otherAnswer(@Nullable AdditionalChoiceJson1 otherAnswer) { + public Builder otherAnswer(@Nullable AdditionalChoiceJson otherAnswer) { this.otherAnswer = otherAnswer; return this; } @@ -888,7 +888,7 @@ public Builder required(@Nullable Boolean required) { /** * List of fields for form/matrix questions */ - public Builder fields(@Nullable List fields) { + public Builder fields(@Nullable List fields) { this.fields = fields; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/EventSurveyRespondent.java b/packages/java/src/main/java/com/cvent/models/components/EventSurveyRespondent.java index fa6bd6b90..fdfcd6cdf 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EventSurveyRespondent.java +++ b/packages/java/src/main/java/com/cvent/models/components/EventSurveyRespondent.java @@ -145,7 +145,7 @@ public class EventSurveyRespondent { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("event") - private EventJson4 event; + private EventJson3 event; /** * Associated attendee. @@ -185,7 +185,7 @@ public EventSurveyRespondent( @JsonProperty("percentageScore") @Nullable Double percentageScore, @JsonProperty("_links") @Nullable EventSurveyRespondentLinks links, @JsonProperty("sourceId") @Nullable String sourceId, - @JsonProperty("event") @Nullable EventJson4 event, + @JsonProperty("event") @Nullable EventJson3 event, @JsonProperty("attendee") @Nullable EventSurveyRespondentAttendee attendee, @JsonProperty("contact") @Nullable EventSurveyRespondentContact contact, @JsonProperty("surveys") @Nullable List surveys) { @@ -354,7 +354,7 @@ public Optional sourceId() { /** * Detail object of an event which is associated to a survey. */ - public Optional event() { + public Optional event() { return Optional.ofNullable(this.event); } @@ -519,7 +519,7 @@ public EventSurveyRespondent withSourceId(@Nullable String sourceId) { /** * Detail object of an event which is associated to a survey. */ - public EventSurveyRespondent withEvent(@Nullable EventJson4 event) { + public EventSurveyRespondent withEvent(@Nullable EventJson3 event) { this.event = event; return this; } @@ -679,7 +679,7 @@ public static final class Builder { private String sourceId; - private EventJson4 event; + private EventJson3 event; private EventSurveyRespondentAttendee attendee; @@ -827,7 +827,7 @@ public Builder sourceId(@Nullable String sourceId) { /** * Detail object of an event which is associated to a survey. */ - public Builder event(@Nullable EventJson4 event) { + public Builder event(@Nullable EventJson3 event) { this.event = event; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/EventSurveyResponse.java b/packages/java/src/main/java/com/cvent/models/components/EventSurveyResponse.java index 854309714..afc810669 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EventSurveyResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/EventSurveyResponse.java @@ -90,7 +90,7 @@ public class EventSurveyResponse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("event") - private EventJson4 event; + private EventJson3 event; /** * The reference to the related entity. Contains only the ID of the related entity. @@ -124,7 +124,7 @@ public EventSurveyResponse( @JsonProperty("question") @Nonnull UuidJson question, @JsonProperty("answers") @Nonnull List answers, @JsonProperty("score") @Nullable Double score, - @JsonProperty("event") @Nullable EventJson4 event, + @JsonProperty("event") @Nullable EventJson3 event, @JsonProperty("survey") @Nullable UuidJson survey, @JsonProperty("session") @Nullable UuidJson session, @JsonProperty("speaker") @Nullable UuidJson speaker) { @@ -215,7 +215,7 @@ public Optional score() { /** * Detail object of an event which is associated to a survey. */ - public Optional event() { + public Optional event() { return Optional.ofNullable(this.event); } @@ -319,7 +319,7 @@ public EventSurveyResponse withScore(@Nullable Double score) { /** * Detail object of an event which is associated to a survey. */ - public EventSurveyResponse withEvent(@Nullable EventJson4 event) { + public EventSurveyResponse withEvent(@Nullable EventJson3 event) { this.event = event; return this; } @@ -444,7 +444,7 @@ public static final class Builder { @Deprecated private Double score; - private EventJson4 event; + private EventJson3 event; private UuidJson survey; @@ -531,7 +531,7 @@ public Builder score(@Nullable Double score) { /** * Detail object of an event which is associated to a survey. */ - public Builder event(@Nullable EventJson4 event) { + public Builder event(@Nullable EventJson3 event) { this.event = event; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/EventType1.java b/packages/java/src/main/java/com/cvent/models/components/EventType1.java new file mode 100644 index 000000000..7411b219c --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/EventType1.java @@ -0,0 +1,59 @@ +/* + * 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; + +/** + * EventType1 + * + *

Event type. + */ +public enum EventType1 { + ANNIVERSARY_BIRTHDAY("ANNIVERSARY_BIRTHDAY"), + BACHELOR_BACHELORETTE_PARTY("BACHELOR_BACHELORETTE_PARTY"), + BAR_BAT_MITZVAH("BAR_BAT_MITZVAH"), + BUSINESS_MEETING("BUSINESS_MEETING"), + CONFERENCE_CONVENTION("CONFERENCE_CONVENTION"), + CORPORATE_EVENT("CORPORATE_EVENT"), + CUSTOMER_EVENT("CUSTOMER_EVENT"), + EDUCATIONAL_SEMINAR("EDUCATIONAL_SEMINAR"), + FRATERNITY_SORORITY_GROUP("FRATERNITY_SORORITY_GROUP"), + FUNDRAISER_CHARITY_EVENT("FUNDRAISER_CHARITY_EVENT"), + RECEPTION_HOLIDAY_PARTY("RECEPTION_HOLIDAY_PARTY"), + INCENTIVE_TRAVEL("INCENTIVE_TRAVEL"), + REUNION("REUNION"), + SHAREHOLDERS_MEETING("SHAREHOLDERS_MEETING"), + SPECIAL_EVENT("SPECIAL_EVENT"), + SPORTS_EVENT("SPORTS_EVENT"), + TEAM_BUILDING_EVENT("TEAM_BUILDING_EVENT"), + TOUR_GROUP_VACATION("TOUR_GROUP_VACATION"), + TRADE_SHOW_CONSUMER_SHOW("TRADE_SHOW_CONSUMER_SHOW"), + TRAINING("TRAINING"), + WEDDING("WEDDING"), + OTHER("OTHER"); + + @JsonValue + private final String value; + + EventType1(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (EventType1 o : EventType1.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/EventTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/EventTypeJson.java new file mode 100644 index 000000000..b7b5a2008 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/EventTypeJson.java @@ -0,0 +1,58 @@ +/* + * 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; + +/** + * EventTypeJson + * + *

Type of event being created. The following event types are not supported: Cvent Webinar, Cvent + * Essentials. + */ +public enum EventTypeJson { + CELEBRATION("Celebration"), + CONFERENCE("Conference"), + CVENT_ESSENTIALS("CventEssentials"), + CVENT_WEBINAR("CventWebinar"), + DINNER("Dinner"), + FORUM("Forum"), + FUNDRAISER_BENEFIT("FundraiserBenefit"), + HOLIDAY("Holiday"), + INCENTIVE_TRIP("IncentiveTrip"), + MEETING("Meeting"), + OTHER_GENERAL("OtherGeneral"), + POLITICAL_EVENT("PoliticalEvent"), + REUNION("Reunion"), + SAVE_THE_DATE("SaveTheDate"), + SEMINAR("Seminar"), + SIMPLE_EVENT("SimpleEvent"), + SPORTS_EVENT("SportsEvent"), + TRADE_SHOW("TradeShow"), + TRAINING_SESSION("TrainingSession"), + WEBINAR("Webinar"); + + @JsonValue + private final String value; + + EventTypeJson(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (EventTypeJson o : EventTypeJson.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/EventTypeJson0.java b/packages/java/src/main/java/com/cvent/models/components/EventTypeJson0.java deleted file mode 100644 index bef2ba0f4..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/EventTypeJson0.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * 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; - -/** - * EventTypeJson0 - * - *

Event type. - */ -public enum EventTypeJson0 { - ANNIVERSARY_BIRTHDAY("ANNIVERSARY_BIRTHDAY"), - BACHELOR_BACHELORETTE_PARTY("BACHELOR_BACHELORETTE_PARTY"), - BAR_BAT_MITZVAH("BAR_BAT_MITZVAH"), - BUSINESS_MEETING("BUSINESS_MEETING"), - CONFERENCE_CONVENTION("CONFERENCE_CONVENTION"), - CORPORATE_EVENT("CORPORATE_EVENT"), - CUSTOMER_EVENT("CUSTOMER_EVENT"), - EDUCATIONAL_SEMINAR("EDUCATIONAL_SEMINAR"), - FRATERNITY_SORORITY_GROUP("FRATERNITY_SORORITY_GROUP"), - FUNDRAISER_CHARITY_EVENT("FUNDRAISER_CHARITY_EVENT"), - RECEPTION_HOLIDAY_PARTY("RECEPTION_HOLIDAY_PARTY"), - INCENTIVE_TRAVEL("INCENTIVE_TRAVEL"), - REUNION("REUNION"), - SHAREHOLDERS_MEETING("SHAREHOLDERS_MEETING"), - SPECIAL_EVENT("SPECIAL_EVENT"), - SPORTS_EVENT("SPORTS_EVENT"), - TEAM_BUILDING_EVENT("TEAM_BUILDING_EVENT"), - TOUR_GROUP_VACATION("TOUR_GROUP_VACATION"), - TRADE_SHOW_CONSUMER_SHOW("TRADE_SHOW_CONSUMER_SHOW"), - TRAINING("TRAINING"), - WEDDING("WEDDING"), - OTHER("OTHER"); - - @JsonValue - private final String value; - - EventTypeJson0(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (EventTypeJson0 o : EventTypeJson0.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/EventTypeJson1.java b/packages/java/src/main/java/com/cvent/models/components/EventTypeJson1.java deleted file mode 100644 index 38dfb24fe..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/EventTypeJson1.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * 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; - -/** - * EventTypeJson1 - * - *

Type of event being created. The following event types are not supported: Cvent Webinar, Cvent - * Essentials. - */ -public enum EventTypeJson1 { - CELEBRATION("Celebration"), - CONFERENCE("Conference"), - CVENT_ESSENTIALS("CventEssentials"), - CVENT_WEBINAR("CventWebinar"), - DINNER("Dinner"), - FORUM("Forum"), - FUNDRAISER_BENEFIT("FundraiserBenefit"), - HOLIDAY("Holiday"), - INCENTIVE_TRIP("IncentiveTrip"), - MEETING("Meeting"), - OTHER_GENERAL("OtherGeneral"), - POLITICAL_EVENT("PoliticalEvent"), - REUNION("Reunion"), - SAVE_THE_DATE("SaveTheDate"), - SEMINAR("Seminar"), - SIMPLE_EVENT("SimpleEvent"), - SPORTS_EVENT("SportsEvent"), - TRADE_SHOW("TradeShow"), - TRAINING_SESSION("TrainingSession"), - WEBINAR("Webinar"); - - @JsonValue - private final String value; - - EventTypeJson1(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (EventTypeJson1 o : EventTypeJson1.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/EventUpdate.java b/packages/java/src/main/java/com/cvent/models/components/EventUpdate.java index 83c6962a2..1eba9873e 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EventUpdate.java +++ b/packages/java/src/main/java/com/cvent/models/components/EventUpdate.java @@ -231,7 +231,7 @@ public class EventUpdate { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("customFields") - private List customFields; + private List customFields; /** * The category to which this event belongs (no longer supported). @@ -248,7 +248,7 @@ public class EventUpdate { * Essentials. */ @JsonProperty("type") - private EventTypeJson1 type; + private EventTypeJson type; /** * Represents the links associated with an event. @@ -322,9 +322,9 @@ public EventUpdate( @JsonProperty("capacity") @Nullable Long capacity, @JsonProperty("planners") @Nonnull List planners, @JsonProperty("stakeholders") @Nullable List stakeholders, - @JsonProperty("customFields") @Nullable List customFields, + @JsonProperty("customFields") @Nullable List customFields, @JsonProperty("category") @Nullable EventUpdateLookup category, - @JsonProperty("type") @Nonnull EventTypeJson1 type, + @JsonProperty("type") @Nonnull EventTypeJson type, @JsonProperty("_links") @Nullable EventLinksJson links, @JsonProperty("created") @Nullable OffsetDateTime created, @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, @@ -380,7 +380,7 @@ public EventUpdate( @Nonnull String timezone, @Nonnull List languages, @Nonnull List planners, - @Nonnull EventTypeJson1 type) { + @Nonnull EventTypeJson type) { this( null, title, @@ -630,7 +630,7 @@ public Optional> stakeholders() { /** * Collection of custom fields. */ - public Optional> customFields() { + public Optional> customFields() { return Optional.ofNullable(this.customFields); } @@ -648,7 +648,7 @@ public Optional category() { * Type of event being created. The following event types are not supported: Cvent Webinar, Cvent * Essentials. */ - public EventTypeJson1 type() { + public EventTypeJson type() { return this.type; } @@ -935,7 +935,7 @@ public EventUpdate withStakeholders(@Nullable List stakeholders /** * Collection of custom fields. */ - public EventUpdate withCustomFields(@Nullable List customFields) { + public EventUpdate withCustomFields(@Nullable List customFields) { this.customFields = customFields; return this; } @@ -955,7 +955,7 @@ public EventUpdate withCategory(@Nullable EventUpdateLookup category) { * Type of event being created. The following event types are not supported: Cvent Webinar, Cvent * Essentials. */ - public EventUpdate withType(@Nonnull EventTypeJson1 type) { + public EventUpdate withType(@Nonnull EventTypeJson type) { this.type = Utils.checkNotNull(type, "type"); return this; } @@ -1238,12 +1238,12 @@ public static final class Builder { private List stakeholders; - private List customFields; + private List customFields; @Deprecated private EventUpdateLookup category; - private EventTypeJson1 type; + private EventTypeJson type; private EventLinksJson links; @@ -1498,7 +1498,7 @@ public Builder stakeholders(@Nullable List stakeholders) { /** * Collection of custom fields. */ - public Builder customFields(@Nullable List customFields) { + public Builder customFields(@Nullable List customFields) { this.customFields = customFields; return this; } @@ -1518,7 +1518,7 @@ public Builder category(@Nullable EventUpdateLookup category) { * Type of event being created. The following event types are not supported: Cvent Webinar, Cvent * Essentials. */ - public Builder type(@Nonnull EventTypeJson1 type) { + public Builder type(@Nonnull EventTypeJson type) { this.type = Utils.checkNotNull(type, "type"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/EventUpdateInput.java b/packages/java/src/main/java/com/cvent/models/components/EventUpdateInput.java index 4300002b9..dd3a6b586 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EventUpdateInput.java +++ b/packages/java/src/main/java/com/cvent/models/components/EventUpdateInput.java @@ -133,7 +133,7 @@ public class EventUpdateInput { * Essentials. */ @JsonProperty("type") - private EventTypeJson1 type; + private EventTypeJson type; @JsonCreator public EventUpdateInput( @@ -152,7 +152,7 @@ public EventUpdateInput( @JsonProperty("languages") @Nonnull List languages, @JsonProperty("capacity") @Nullable Long capacity, @JsonProperty("planners") @Nonnull List planners, - @JsonProperty("type") @Nonnull EventTypeJson1 type) { + @JsonProperty("type") @Nonnull EventTypeJson type) { this.title = Optional.ofNullable(title).orElseThrow(() -> new IllegalArgumentException("title cannot be null")); this.format = Optional.ofNullable(format).orElseThrow(() -> new IllegalArgumentException("format cannot be null")); @@ -181,7 +181,7 @@ public EventUpdateInput( @Nonnull String timezone, @Nonnull List languages, @Nonnull List planners, - @Nonnull EventTypeJson1 type) { + @Nonnull EventTypeJson type) { this( title, format, @@ -314,7 +314,7 @@ public List planners() { * Type of event being created. The following event types are not supported: Cvent Webinar, Cvent * Essentials. */ - public EventTypeJson1 type() { + public EventTypeJson type() { return this.type; } @@ -450,7 +450,7 @@ public EventUpdateInput withPlanners(@Nonnull List planners) * Type of event being created. The following event types are not supported: Cvent Webinar, Cvent * Essentials. */ - public EventUpdateInput withType(@Nonnull EventTypeJson1 type) { + public EventUpdateInput withType(@Nonnull EventTypeJson type) { this.type = Utils.checkNotNull(type, "type"); return this; } @@ -574,7 +574,7 @@ public static final class Builder { private List planners; - private EventTypeJson1 type; + private EventTypeJson type; private Builder() { // force use of static builder() method @@ -708,7 +708,7 @@ public Builder planners(@Nonnull List planners) { * Type of event being created. The following event types are not supported: Cvent Webinar, Cvent * Essentials. */ - public Builder type(@Nonnull EventTypeJson1 type) { + public Builder type(@Nonnull EventTypeJson type) { this.type = Utils.checkNotNull(type, "type"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExhibitorCategoryRequest.java b/packages/java/src/main/java/com/cvent/models/components/ExhibitorCategoryRequest.java index cf41ce415..5a3b5afb2 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExhibitorCategoryRequest.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExhibitorCategoryRequest.java @@ -24,7 +24,7 @@ public class ExhibitorCategoryRequest { * The Associated Event. */ @JsonProperty("event") - private Event21 event; + private Event3 event; /** * Name of the exhibitor category @@ -53,7 +53,7 @@ public class ExhibitorCategoryRequest { @JsonCreator public ExhibitorCategoryRequest( - @JsonProperty("event") @Nonnull Event21 event, + @JsonProperty("event") @Nonnull Event3 event, @JsonProperty("name") @Nonnull String name, @JsonProperty("description") @Nullable String description, @JsonProperty("order") long order, @@ -66,14 +66,14 @@ public ExhibitorCategoryRequest( } public ExhibitorCategoryRequest( - @Nonnull Event21 event, @Nonnull String name, long order, @Nonnull ExhibitorCategoryRequestType type) { + @Nonnull Event3 event, @Nonnull String name, long order, @Nonnull ExhibitorCategoryRequestType type) { this(event, name, null, order, type); } /** * The Associated Event. */ - public Event21 event() { + public Event3 event() { return this.event; } @@ -112,7 +112,7 @@ public static Builder builder() { /** * The Associated Event. */ - public ExhibitorCategoryRequest withEvent(@Nonnull Event21 event) { + public ExhibitorCategoryRequest withEvent(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -189,7 +189,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private Event21 event; + private Event3 event; private String name; @@ -206,7 +206,7 @@ private Builder() { /** * The Associated Event. */ - public Builder event(@Nonnull Event21 event) { + public Builder event(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExhibitorCategoryResponse.java b/packages/java/src/main/java/com/cvent/models/components/ExhibitorCategoryResponse.java index 3fd8abaef..adab59cf7 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExhibitorCategoryResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExhibitorCategoryResponse.java @@ -53,7 +53,7 @@ public class ExhibitorCategoryResponse { * The Associated Event. */ @JsonProperty("event") - private Event21 event; + private Event3 event; /** * Name of the exhibitor category @@ -107,7 +107,7 @@ public ExhibitorCategoryResponse( @JsonProperty("createdBy") @Nullable String createdBy, @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, - @JsonProperty("event") @Nonnull Event21 event, + @JsonProperty("event") @Nonnull Event3 event, @JsonProperty("name") @Nonnull String name, @JsonProperty("description") @Nullable String description, @JsonProperty("order") long order, @@ -130,7 +130,7 @@ public ExhibitorCategoryResponse( } public ExhibitorCategoryResponse( - @Nonnull Event21 event, @Nonnull String name, long order, @Nonnull ExhibitorCategoryResponseType type) { + @Nonnull Event3 event, @Nonnull String name, long order, @Nonnull ExhibitorCategoryResponseType type) { this(null, null, null, null, event, name, null, order, type, null, null, null); } @@ -165,7 +165,7 @@ public Optional lastModifiedBy() { /** * The Associated Event. */ - public Event21 event() { + public Event3 event() { return this.event; } @@ -257,7 +257,7 @@ public ExhibitorCategoryResponse withLastModifiedBy(@Nullable String lastModifie /** * The Associated Event. */ - public ExhibitorCategoryResponse withEvent(@Nonnull Event21 event) { + public ExhibitorCategoryResponse withEvent(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -399,7 +399,7 @@ public static final class Builder { private String lastModifiedBy; - private Event21 event; + private Event3 event; private String name; @@ -454,7 +454,7 @@ public Builder lastModifiedBy(@Nullable String lastModifiedBy) { /** * The Associated Event. */ - public Builder event(@Nonnull Event21 event) { + public Builder event(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExhibitorRequest.java b/packages/java/src/main/java/com/cvent/models/components/ExhibitorRequest.java index aab767f7e..71ce24bed 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExhibitorRequest.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExhibitorRequest.java @@ -27,7 +27,7 @@ public class ExhibitorRequest { * The Associated Event. */ @JsonProperty("event") - private Event21 event; + private Event3 event; /** * Name of the exhibitor. Cvent suggests limiting this to a maximum of 200 characters for optimal @@ -69,7 +69,7 @@ public class ExhibitorRequest { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("address") - private Address2 address; + private Address4 address; /** * Email address of the exhibitor @@ -150,13 +150,13 @@ public class ExhibitorRequest { @JsonCreator public ExhibitorRequest( - @JsonProperty("event") @Nonnull Event21 event, + @JsonProperty("event") @Nonnull Event3 event, @JsonProperty("name") @Nonnull String name, @JsonProperty("description") @Nullable String description, @JsonProperty("code") @Nullable String code, @JsonProperty("sourceId") @Nullable String sourceId, @JsonProperty("location") @Nullable String location, - @JsonProperty("address") @Nullable Address2 address, + @JsonProperty("address") @Nullable Address4 address, @JsonProperty("email") @Nullable String email, @JsonProperty("mobilePhone") @Nullable String mobilePhone, @JsonProperty("workPhone") @Nullable String workPhone, @@ -188,7 +188,7 @@ public ExhibitorRequest( this.sponsorshipLevel = sponsorshipLevel; } - public ExhibitorRequest(@Nonnull Event21 event, @Nonnull String name) { + public ExhibitorRequest(@Nonnull Event3 event, @Nonnull String name) { this( event, name, @@ -213,7 +213,7 @@ public ExhibitorRequest(@Nonnull Event21 event, @Nonnull String name) { /** * The Associated Event. */ - public Event21 event() { + public Event3 event() { return this.event; } @@ -256,7 +256,7 @@ public Optional location() { /** * An object representing an address with various properties. */ - public Optional address() { + public Optional address() { return Optional.ofNullable(this.address); } @@ -344,7 +344,7 @@ public static Builder builder() { /** * The Associated Event. */ - public ExhibitorRequest withEvent(@Nonnull Event21 event) { + public ExhibitorRequest withEvent(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -393,7 +393,7 @@ public ExhibitorRequest withLocation(@Nullable String location) { /** * An object representing an address with various properties. */ - public ExhibitorRequest withAddress(@Nullable Address2 address) { + public ExhibitorRequest withAddress(@Nullable Address4 address) { this.address = address; return this; } @@ -583,7 +583,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private Event21 event; + private Event3 event; private String name; @@ -595,7 +595,7 @@ public static final class Builder { private String location; - private Address2 address; + private Address4 address; private String email; @@ -626,7 +626,7 @@ private Builder() { /** * The Associated Event. */ - public Builder event(@Nonnull Event21 event) { + public Builder event(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -675,7 +675,7 @@ public Builder location(@Nullable String location) { /** * An object representing an address with various properties. */ - public Builder address(@Nullable Address2 address) { + public Builder address(@Nullable Address4 address) { this.address = address; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExhibitorResponse.java b/packages/java/src/main/java/com/cvent/models/components/ExhibitorResponse.java index a622fdb24..2587e907b 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExhibitorResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExhibitorResponse.java @@ -56,7 +56,7 @@ public class ExhibitorResponse { * The Associated Event. */ @JsonProperty("event") - private Event21 event; + private Event3 event; /** * Name of the exhibitor. Cvent suggests limiting this to a maximum of 200 characters for optimal @@ -98,7 +98,7 @@ public class ExhibitorResponse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("address") - private Address2 address; + private Address4 address; /** * Email address of the exhibitor @@ -218,13 +218,13 @@ public ExhibitorResponse( @JsonProperty("createdBy") @Nullable String createdBy, @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, - @JsonProperty("event") @Nonnull Event21 event, + @JsonProperty("event") @Nonnull Event3 event, @JsonProperty("name") @Nonnull String name, @JsonProperty("description") @Nullable String description, @JsonProperty("code") @Nullable String code, @JsonProperty("sourceId") @Nullable String sourceId, @JsonProperty("location") @Nullable String location, - @JsonProperty("address") @Nullable Address2 address, + @JsonProperty("address") @Nullable Address4 address, @JsonProperty("email") @Nullable String email, @JsonProperty("mobilePhone") @Nullable String mobilePhone, @JsonProperty("workPhone") @Nullable String workPhone, @@ -270,7 +270,7 @@ public ExhibitorResponse( this.bannerUrl = bannerUrl; } - public ExhibitorResponse(@Nonnull Event21 event, @Nonnull String name) { + public ExhibitorResponse(@Nonnull Event3 event, @Nonnull String name) { this( null, null, @@ -332,7 +332,7 @@ public Optional lastModifiedBy() { /** * The Associated Event. */ - public Event21 event() { + public Event3 event() { return this.event; } @@ -375,7 +375,7 @@ public Optional location() { /** * An object representing an address with various properties. */ - public Optional address() { + public Optional address() { return Optional.ofNullable(this.address); } @@ -530,7 +530,7 @@ public ExhibitorResponse withLastModifiedBy(@Nullable String lastModifiedBy) { /** * The Associated Event. */ - public ExhibitorResponse withEvent(@Nonnull Event21 event) { + public ExhibitorResponse withEvent(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -579,7 +579,7 @@ public ExhibitorResponse withLocation(@Nullable String location) { /** * An object representing an address with various properties. */ - public ExhibitorResponse withAddress(@Nullable Address2 address) { + public ExhibitorResponse withAddress(@Nullable Address4 address) { this.address = address; return this; } @@ -853,7 +853,7 @@ public static final class Builder { private String lastModifiedBy; - private Event21 event; + private Event3 event; private String name; @@ -865,7 +865,7 @@ public static final class Builder { private String location; - private Address2 address; + private Address4 address; private String email; @@ -938,7 +938,7 @@ public Builder lastModifiedBy(@Nullable String lastModifiedBy) { /** * The Associated Event. */ - public Builder event(@Nonnull Event21 event) { + public Builder event(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -987,7 +987,7 @@ public Builder location(@Nullable String location) { /** * An object representing an address with various properties. */ - public Builder address(@Nullable Address2 address) { + public Builder address(@Nullable Address4 address) { this.address = address; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingAudienceSegment.java b/packages/java/src/main/java/com/cvent/models/components/ExistingAudienceSegment.java index 524e0aae0..03ec07405 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExistingAudienceSegment.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingAudienceSegment.java @@ -56,7 +56,7 @@ public class ExistingAudienceSegment { * ID of the event. */ @JsonProperty("event") - private EventJson1 event; + private EventJson event; /** * Name of the audience segment. Must be unique in the event where the segment exists. @@ -98,7 +98,7 @@ public ExistingAudienceSegment( @JsonProperty("createdBy") @Nullable String createdBy, @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, - @JsonProperty("event") @Nonnull EventJson1 event, + @JsonProperty("event") @Nonnull EventJson event, @JsonProperty("name") @Nonnull String name, @JsonProperty("description") @Nullable String description, @JsonProperty("id") @Nullable String id, @@ -116,7 +116,7 @@ public ExistingAudienceSegment( this.deleted = Optional.ofNullable(deleted).orElse(Builder._SINGLETON_VALUE_Deleted.value()); } - public ExistingAudienceSegment(@Nonnull EventJson1 event, @Nonnull String name) { + public ExistingAudienceSegment(@Nonnull EventJson event, @Nonnull String name) { this(null, null, null, null, event, name, null, null, null, null); } @@ -151,7 +151,7 @@ public Optional lastModifiedBy() { /** * ID of the event. */ - public EventJson1 event() { + public EventJson event() { return this.event; } @@ -229,7 +229,7 @@ public ExistingAudienceSegment withLastModifiedBy(@Nullable String lastModifiedB /** * ID of the event. */ - public ExistingAudienceSegment withEvent(@Nonnull EventJson1 event) { + public ExistingAudienceSegment withEvent(@Nonnull EventJson event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -338,7 +338,7 @@ public static final class Builder { private String lastModifiedBy; - private EventJson1 event; + private EventJson event; private String name; @@ -389,7 +389,7 @@ public Builder lastModifiedBy(@Nullable String lastModifiedBy) { /** * ID of the event. */ - public Builder event(@Nonnull EventJson1 event) { + public Builder event(@Nonnull EventJson event) { this.event = Utils.checkNotNull(event, "event"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingAudioTrack.java b/packages/java/src/main/java/com/cvent/models/components/ExistingAudioTrack.java index d7c7f363c..6ab616a2c 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExistingAudioTrack.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingAudioTrack.java @@ -57,13 +57,13 @@ public class ExistingAudioTrack { * Video that this asset was created with. */ @JsonProperty("video") - private VideoAssetIdJson video; + private VideoAssetID video; /** * Denotes the file format of the audio track. */ @JsonProperty("type") - private AudioTrackTypeJson type; + private AudioTrackType type; /** * IETF language tag for the audio track. @@ -82,7 +82,7 @@ public class ExistingAudioTrack { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("variant") - private AudioTrackVariantJson variant; + private AudioTrackVariant variant; /** * True indicates this is the default audio track. @@ -112,7 +112,7 @@ public class ExistingAudioTrack { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("status") - private AudioTrackStatusJson status; + private AudioTrackStatus status; /** * The identifier of an audio track. @@ -125,7 +125,7 @@ public class ExistingAudioTrack { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("url") - private AssetLocationJson url; + private AssetLocation url; @JsonCreator public ExistingAudioTrack( @@ -133,15 +133,15 @@ public ExistingAudioTrack( @JsonProperty("createdBy") @Nullable String createdBy, @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, - @JsonProperty("video") @Nonnull VideoAssetIdJson video, - @JsonProperty("type") @Nonnull AudioTrackTypeJson type, + @JsonProperty("video") @Nonnull VideoAssetID video, + @JsonProperty("type") @Nonnull AudioTrackType type, @JsonProperty("language") @Nonnull String language, - @JsonProperty("variant") @Nullable AudioTrackVariantJson variant, + @JsonProperty("variant") @Nullable AudioTrackVariant variant, @JsonProperty("default") @Nullable Boolean default_, @JsonProperty("duration") @Nullable Long duration, - @JsonProperty("status") @Nullable AudioTrackStatusJson status, + @JsonProperty("status") @Nullable AudioTrackStatus status, @JsonProperty("id") @Nonnull String id, - @JsonProperty("url") @Nullable AssetLocationJson url) { + @JsonProperty("url") @Nullable AssetLocation url) { this.created = created; this.createdBy = createdBy; this.lastModified = lastModified; @@ -159,10 +159,7 @@ public ExistingAudioTrack( } public ExistingAudioTrack( - @Nonnull VideoAssetIdJson video, - @Nonnull AudioTrackTypeJson type, - @Nonnull String language, - @Nonnull String id) { + @Nonnull VideoAssetID video, @Nonnull AudioTrackType type, @Nonnull String language, @Nonnull String id) { this(null, null, null, null, video, type, language, null, null, null, null, id, null); } @@ -197,14 +194,14 @@ public Optional lastModifiedBy() { /** * Video that this asset was created with. */ - public VideoAssetIdJson video() { + public VideoAssetID video() { return this.video; } /** * Denotes the file format of the audio track. */ - public AudioTrackTypeJson type() { + public AudioTrackType type() { return this.type; } @@ -224,7 +221,7 @@ public String language() { * *

Descriptive is an audio description of a video track. */ - public Optional variant() { + public Optional variant() { return Optional.ofNullable(this.variant); } @@ -254,7 +251,7 @@ public Optional duration() { *

Error indicates there was a problem processing the audio track. Available indicates the audio track * is available for use. */ - public Optional status() { + public Optional status() { return Optional.ofNullable(this.status); } @@ -268,7 +265,7 @@ public String id() { /** * A URL associated with the asset. */ - public Optional url() { + public Optional url() { return Optional.ofNullable(this.url); } @@ -311,7 +308,7 @@ public ExistingAudioTrack withLastModifiedBy(@Nullable String lastModifiedBy) { /** * Video that this asset was created with. */ - public ExistingAudioTrack withVideo(@Nonnull VideoAssetIdJson video) { + public ExistingAudioTrack withVideo(@Nonnull VideoAssetID video) { this.video = Utils.checkNotNull(video, "video"); return this; } @@ -319,7 +316,7 @@ public ExistingAudioTrack withVideo(@Nonnull VideoAssetIdJson video) { /** * Denotes the file format of the audio track. */ - public ExistingAudioTrack withType(@Nonnull AudioTrackTypeJson type) { + public ExistingAudioTrack withType(@Nonnull AudioTrackType type) { this.type = Utils.checkNotNull(type, "type"); return this; } @@ -341,7 +338,7 @@ public ExistingAudioTrack withLanguage(@Nonnull String language) { * *

Descriptive is an audio description of a video track. */ - public ExistingAudioTrack withVariant(@Nullable AudioTrackVariantJson variant) { + public ExistingAudioTrack withVariant(@Nullable AudioTrackVariant variant) { this.variant = variant; return this; } @@ -374,7 +371,7 @@ public ExistingAudioTrack withDuration(@Nullable Long duration) { *

Error indicates there was a problem processing the audio track. Available indicates the audio track * is available for use. */ - public ExistingAudioTrack withStatus(@Nullable AudioTrackStatusJson status) { + public ExistingAudioTrack withStatus(@Nullable AudioTrackStatus status) { this.status = status; return this; } @@ -390,7 +387,7 @@ public ExistingAudioTrack withId(@Nonnull String id) { /** * A URL associated with the asset. */ - public ExistingAudioTrack withUrl(@Nullable AssetLocationJson url) { + public ExistingAudioTrack withUrl(@Nullable AssetLocation url) { this.url = url; return this; } @@ -480,23 +477,23 @@ public static final class Builder { private String lastModifiedBy; - private VideoAssetIdJson video; + private VideoAssetID video; - private AudioTrackTypeJson type; + private AudioTrackType type; private String language; - private AudioTrackVariantJson variant; + private AudioTrackVariant variant; private Boolean default_; private Long duration; - private AudioTrackStatusJson status; + private AudioTrackStatus status; private String id; - private AssetLocationJson url; + private AssetLocation url; private Builder() { // force use of static builder() method @@ -537,7 +534,7 @@ public Builder lastModifiedBy(@Nullable String lastModifiedBy) { /** * Video that this asset was created with. */ - public Builder video(@Nonnull VideoAssetIdJson video) { + public Builder video(@Nonnull VideoAssetID video) { this.video = Utils.checkNotNull(video, "video"); return this; } @@ -545,7 +542,7 @@ public Builder video(@Nonnull VideoAssetIdJson video) { /** * Denotes the file format of the audio track. */ - public Builder type(@Nonnull AudioTrackTypeJson type) { + public Builder type(@Nonnull AudioTrackType type) { this.type = Utils.checkNotNull(type, "type"); return this; } @@ -567,7 +564,7 @@ public Builder language(@Nonnull String language) { * *

Descriptive is an audio description of a video track. */ - public Builder variant(@Nullable AudioTrackVariantJson variant) { + public Builder variant(@Nullable AudioTrackVariant variant) { this.variant = variant; return this; } @@ -600,7 +597,7 @@ public Builder duration(@Nullable Long duration) { *

Error indicates there was a problem processing the audio track. Available indicates the audio track * is available for use. */ - public Builder status(@Nullable AudioTrackStatusJson status) { + public Builder status(@Nullable AudioTrackStatus status) { this.status = status; return this; } @@ -616,7 +613,7 @@ public Builder id(@Nonnull String id) { /** * A URL associated with the asset. */ - public Builder url(@Nullable AssetLocationJson url) { + public Builder url(@Nullable AssetLocation url) { this.url = url; return this; } @@ -638,8 +635,8 @@ public ExistingAudioTrack build() { url); } - private static final LazySingletonValue _SINGLETON_VALUE_Variant = - new LazySingletonValue<>("variant", "\"Alternate\"", new TypeReference() {}); + private static final LazySingletonValue _SINGLETON_VALUE_Variant = + new LazySingletonValue<>("variant", "\"Alternate\"", new TypeReference() {}); private static final LazySingletonValue _SINGLETON_VALUE_Default = new LazySingletonValue<>("default", "false", new TypeReference() {}); diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingCustomField.java b/packages/java/src/main/java/com/cvent/models/components/ExistingCustomField.java index e36df0c6b..923716dcb 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExistingCustomField.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingCustomField.java @@ -83,7 +83,7 @@ public class ExistingCustomField { * are read only. */ @JsonProperty("type") - private CustomFieldTypeJson1 type; + private CustomFieldTypeJson type; /** * Type-specific details of the custom-field. @@ -171,7 +171,7 @@ public ExistingCustomField( @JsonProperty("name") @Nonnull String name, @JsonProperty("code") @Nonnull String code, @JsonProperty("required") @Nullable Boolean required, - @JsonProperty("type") @Nonnull CustomFieldTypeJson1 type, + @JsonProperty("type") @Nonnull CustomFieldTypeJson type, @JsonProperty("details") @Nullable ExistingCustomFieldDetails details, @JsonProperty("order") @Nullable Long order, @JsonProperty("helpText") @Nullable String helpText, @@ -210,7 +210,7 @@ public ExistingCustomField( @Nonnull CustomFieldCategoryJson category, @Nonnull String name, @Nonnull String code, - @Nonnull CustomFieldTypeJson1 type) { + @Nonnull CustomFieldTypeJson type) { this( null, null, @@ -293,7 +293,7 @@ public Optional required() { * This is used to denote the type of data collected by a custom field. Auto-Increment custom fields * are read only. */ - public CustomFieldTypeJson1 type() { + public CustomFieldTypeJson type() { return this.type; } @@ -445,7 +445,7 @@ public ExistingCustomField withRequired(@Nullable Boolean required) { * This is used to denote the type of data collected by a custom field. Auto-Increment custom fields * are read only. */ - public ExistingCustomField withType(@Nonnull CustomFieldTypeJson1 type) { + public ExistingCustomField withType(@Nonnull CustomFieldTypeJson type) { this.type = Utils.checkNotNull(type, "type"); return this; } @@ -653,7 +653,7 @@ public static final class Builder { private Boolean required; - private CustomFieldTypeJson1 type; + private CustomFieldTypeJson type; private ExistingCustomFieldDetails details; @@ -747,7 +747,7 @@ public Builder required(@Nullable Boolean required) { * This is used to denote the type of data collected by a custom field. Auto-Increment custom fields * are read only. */ - public Builder type(@Nonnull CustomFieldTypeJson1 type) { + public Builder type(@Nonnull CustomFieldTypeJson type) { this.type = Utils.checkNotNull(type, "type"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingCustomFieldDetails.java b/packages/java/src/main/java/com/cvent/models/components/ExistingCustomFieldDetails.java index 900d2d8c8..4facbfd24 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExistingCustomFieldDetails.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingCustomFieldDetails.java @@ -35,7 +35,7 @@ public static ExistingCustomFieldDetails of(ZeroOneOf1 value) { return new ExistingCustomFieldDetails(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); } - public static ExistingCustomFieldDetails of(OneOneOf value) { + public static ExistingCustomFieldDetails of(One value) { Utils.checkNotNull(value, "value"); return new ExistingCustomFieldDetails(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); } @@ -54,7 +54,7 @@ public static ExistingCustomFieldDetails of(Three value) { * Returns an instance of one of these types: *

    *
  • {@code com.cvent.models.components.ZeroOneOf1}
  • - *
  • {@code com.cvent.models.components.OneOneOf}
  • + *
  • {@code com.cvent.models.components.One}
  • *
  • {@code com.cvent.models.components.Two}
  • *
  • {@code com.cvent.models.components.Three}
  • *
@@ -99,7 +99,7 @@ public _Deserializer() { ExistingCustomFieldDetails.class, false, TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingCustomFieldDetailsInput.java b/packages/java/src/main/java/com/cvent/models/components/ExistingCustomFieldDetailsInput.java index 1b253ae15..55328adee 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExistingCustomFieldDetailsInput.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingCustomFieldDetailsInput.java @@ -35,7 +35,7 @@ public static ExistingCustomFieldDetailsInput of(ZeroOneOf1 value) { return new ExistingCustomFieldDetailsInput(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); } - public static ExistingCustomFieldDetailsInput of(OneOneOf value) { + public static ExistingCustomFieldDetailsInput of(One value) { Utils.checkNotNull(value, "value"); return new ExistingCustomFieldDetailsInput(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>() {})); } @@ -54,7 +54,7 @@ public static ExistingCustomFieldDetailsInput of(ThreeInput value) { * Returns an instance of one of these types: *
    *
  • {@code com.cvent.models.components.ZeroOneOf1}
  • - *
  • {@code com.cvent.models.components.OneOneOf}
  • + *
  • {@code com.cvent.models.components.One}
  • *
  • {@code com.cvent.models.components.Two}
  • *
  • {@code com.cvent.models.components.ThreeInput}
  • *
@@ -99,7 +99,7 @@ public _Deserializer() { ExistingCustomFieldDetailsInput.class, false, TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingCustomFieldInput.java b/packages/java/src/main/java/com/cvent/models/components/ExistingCustomFieldInput.java index 274958394..ecdec3b2a 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExistingCustomFieldInput.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingCustomFieldInput.java @@ -53,7 +53,7 @@ public class ExistingCustomFieldInput { * are read only. */ @JsonProperty("type") - private CustomFieldTypeJson1 type; + private CustomFieldTypeJson type; /** * Type-specific details of the custom-field. @@ -130,7 +130,7 @@ public ExistingCustomFieldInput( @JsonProperty("name") @Nonnull String name, @JsonProperty("code") @Nonnull String code, @JsonProperty("required") @Nullable Boolean required, - @JsonProperty("type") @Nonnull CustomFieldTypeJson1 type, + @JsonProperty("type") @Nonnull CustomFieldTypeJson type, @JsonProperty("details") @Nullable ExistingCustomFieldDetailsInput details, @JsonProperty("helpText") @Nullable String helpText, @JsonProperty("displayInDataTag") @Nullable DisplayInDataTagJson displayInDataTag, @@ -163,7 +163,7 @@ public ExistingCustomFieldInput( @Nonnull CustomFieldCategoryJson category, @Nonnull String name, @Nonnull String code, - @Nonnull CustomFieldTypeJson1 type) { + @Nonnull CustomFieldTypeJson type) { this(category, name, code, null, type, null, null, null, null, null, null, null, null, null); } @@ -199,7 +199,7 @@ public Optional required() { * This is used to denote the type of data collected by a custom field. Auto-Increment custom fields * are read only. */ - public CustomFieldTypeJson1 type() { + public CustomFieldTypeJson type() { return this.type; } @@ -312,7 +312,7 @@ public ExistingCustomFieldInput withRequired(@Nullable Boolean required) { * This is used to denote the type of data collected by a custom field. Auto-Increment custom fields * are read only. */ - public ExistingCustomFieldInput withType(@Nonnull CustomFieldTypeJson1 type) { + public ExistingCustomFieldInput withType(@Nonnull CustomFieldTypeJson type) { this.type = Utils.checkNotNull(type, "type"); return this; } @@ -484,7 +484,7 @@ public static final class Builder { private Boolean required; - private CustomFieldTypeJson1 type; + private CustomFieldTypeJson type; private ExistingCustomFieldDetailsInput details; @@ -544,7 +544,7 @@ public Builder required(@Nullable Boolean required) { * This is used to denote the type of data collected by a custom field. Auto-Increment custom fields * are read only. */ - public Builder type(@Nonnull CustomFieldTypeJson1 type) { + public Builder type(@Nonnull CustomFieldTypeJson type) { this.type = Utils.checkNotNull(type, "type"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingDurationType.java b/packages/java/src/main/java/com/cvent/models/components/ExistingDurationType.java index 04eca1ceb..c60c762e5 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExistingDurationType.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingDurationType.java @@ -19,7 +19,10 @@ public enum ExistingDurationType { EDIT("EDIT"), LIVE("LIVE"), ON_DEMAND("ON_DEMAND"), - API("API"); + API("API"), + MANUAL("MANUAL"), + IMPORT("IMPORT"), + EVENTAPP("EVENTAPP"); @JsonValue private final String value; diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingELiteratureRequestDataForLead.java b/packages/java/src/main/java/com/cvent/models/components/ExistingELiteratureRequestDataForLead.java index 9277e1b5c..12011610d 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExistingELiteratureRequestDataForLead.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingELiteratureRequestDataForLead.java @@ -54,7 +54,7 @@ public class ExistingELiteratureRequestDataForLead { * The Associated Event. */ @JsonProperty("event") - private Event21 event; + private Event3 event; /** * The Associated Exhibitor. @@ -87,7 +87,7 @@ public ExistingELiteratureRequestDataForLead( @JsonProperty("createdBy") @Nullable String createdBy, @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, - @JsonProperty("event") @Nonnull Event21 event, + @JsonProperty("event") @Nonnull Event3 event, @JsonProperty("exhibitor") @Nonnull Exhibitor exhibitor, @JsonProperty("lead") @Nonnull Lead2 lead, @JsonProperty("documents") @Nonnull List documents, @@ -106,7 +106,7 @@ public ExistingELiteratureRequestDataForLead( } public ExistingELiteratureRequestDataForLead( - @Nonnull Event21 event, + @Nonnull Event3 event, @Nonnull Exhibitor exhibitor, @Nonnull Lead2 lead, @Nonnull List documents) { @@ -144,7 +144,7 @@ public Optional lastModifiedBy() { /** * The Associated Event. */ - public Event21 event() { + public Event3 event() { return this.event; } @@ -215,7 +215,7 @@ public ExistingELiteratureRequestDataForLead withLastModifiedBy(@Nullable String /** * The Associated Event. */ - public ExistingELiteratureRequestDataForLead withEvent(@Nonnull Event21 event) { + public ExistingELiteratureRequestDataForLead withEvent(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -313,7 +313,7 @@ public static final class Builder { private String lastModifiedBy; - private Event21 event; + private Event3 event; private Exhibitor exhibitor; @@ -362,7 +362,7 @@ public Builder lastModifiedBy(@Nullable String lastModifiedBy) { /** * The Associated Event. */ - public Builder event(@Nonnull Event21 event) { + public Builder event(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingExhibitorAnswer.java b/packages/java/src/main/java/com/cvent/models/components/ExistingExhibitorAnswer.java index bf776d140..d1cbb8ac2 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExistingExhibitorAnswer.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingExhibitorAnswer.java @@ -60,7 +60,7 @@ public class ExistingExhibitorAnswer { * The Associated Event. */ @JsonProperty("event") - private Event21 event; + private Event3 event; /** * The Associated Exhibitor. @@ -87,7 +87,7 @@ public ExistingExhibitorAnswer( @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, @JsonProperty("question") @Nonnull Uuid question, - @JsonProperty("event") @Nonnull Event21 event, + @JsonProperty("event") @Nonnull Event3 event, @JsonProperty("exhibitor") @Nonnull Exhibitor exhibitor, @JsonProperty("answers") @Nonnull List answers, @JsonProperty("id") @Nonnull String id) { @@ -107,7 +107,7 @@ public ExistingExhibitorAnswer( public ExistingExhibitorAnswer( @Nonnull Uuid question, - @Nonnull Event21 event, + @Nonnull Event3 event, @Nonnull Exhibitor exhibitor, @Nonnull List answers, @Nonnull String id) { @@ -152,7 +152,7 @@ public Uuid question() { /** * The Associated Event. */ - public Event21 event() { + public Event3 event() { return this.event; } @@ -224,7 +224,7 @@ public ExistingExhibitorAnswer withQuestion(@Nonnull Uuid question) { /** * The Associated Event. */ - public ExistingExhibitorAnswer withEvent(@Nonnull Event21 event) { + public ExistingExhibitorAnswer withEvent(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -316,7 +316,7 @@ public static final class Builder { private Uuid question; - private Event21 event; + private Event3 event; private Exhibitor exhibitor; @@ -371,7 +371,7 @@ public Builder question(@Nonnull Uuid question) { /** * The Associated Event. */ - public Builder event(@Nonnull Event21 event) { + public Builder event(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingExhibitorAnswerInput.java b/packages/java/src/main/java/com/cvent/models/components/ExistingExhibitorAnswerInput.java index 389c45e51..a100cd4d1 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExistingExhibitorAnswerInput.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingExhibitorAnswerInput.java @@ -28,7 +28,7 @@ public class ExistingExhibitorAnswerInput { * The Associated Event. */ @JsonProperty("event") - private Event21 event; + private Event3 event; /** * The Associated Exhibitor. @@ -45,7 +45,7 @@ public class ExistingExhibitorAnswerInput { @JsonCreator public ExistingExhibitorAnswerInput( @JsonProperty("question") @Nonnull Uuid question, - @JsonProperty("event") @Nonnull Event21 event, + @JsonProperty("event") @Nonnull Event3 event, @JsonProperty("exhibitor") @Nonnull Exhibitor exhibitor, @JsonProperty("answers") @Nonnull List answers) { this.question = Optional.ofNullable(question) @@ -67,7 +67,7 @@ public Uuid question() { /** * The Associated Event. */ - public Event21 event() { + public Event3 event() { return this.event; } @@ -100,7 +100,7 @@ public ExistingExhibitorAnswerInput withQuestion(@Nonnull Uuid question) { /** * The Associated Event. */ - public ExistingExhibitorAnswerInput withEvent(@Nonnull Event21 event) { + public ExistingExhibitorAnswerInput withEvent(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -160,7 +160,7 @@ public static final class Builder { private Uuid question; - private Event21 event; + private Event3 event; private Exhibitor exhibitor; @@ -181,7 +181,7 @@ public Builder question(@Nonnull Uuid question) { /** * The Associated Event. */ - public Builder event(@Nonnull Event21 event) { + public Builder event(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingExhibitorQuestion.java b/packages/java/src/main/java/com/cvent/models/components/ExistingExhibitorQuestion.java index 5804cf380..bc5aac362 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExistingExhibitorQuestion.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingExhibitorQuestion.java @@ -58,7 +58,7 @@ public class ExistingExhibitorQuestion { * The Associated Event. */ @JsonProperty("event") - private Event21 event; + private Event3 event; /** * The actual text of the exhibitor question. @@ -103,14 +103,14 @@ public class ExistingExhibitorQuestion { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("notApplicableAnswer") - private AdditionalChoice notApplicableAnswer; + private AdditionalChoice1 notApplicableAnswer; /** * Contains text of additional choice */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("otherAnswer") - private AdditionalChoice otherAnswer; + private AdditionalChoice1 otherAnswer; /** * Specifies the format for displaying answers based on the question type. For SingleChoice questions, @@ -157,14 +157,14 @@ public ExistingExhibitorQuestion( @JsonProperty("createdBy") @Nullable String createdBy, @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, - @JsonProperty("event") @Nonnull Event21 event, + @JsonProperty("event") @Nonnull Event3 event, @JsonProperty("text") @Nonnull String text, @JsonProperty("code") @Nullable String code, @JsonProperty("type") @Nonnull ExhibitorQuestionType type, @JsonProperty("required") boolean required, @JsonProperty("choices") @Nullable List choices, - @JsonProperty("notApplicableAnswer") @Nullable AdditionalChoice notApplicableAnswer, - @JsonProperty("otherAnswer") @Nullable AdditionalChoice otherAnswer, + @JsonProperty("notApplicableAnswer") @Nullable AdditionalChoice1 notApplicableAnswer, + @JsonProperty("otherAnswer") @Nullable AdditionalChoice1 otherAnswer, @JsonProperty("answerFormat") @Nullable ExhibitorAnswerFormat answerFormat, @JsonProperty("answerLimits") @Nullable ExhibitorAnswerLimits answerLimits, @JsonProperty("defaultToCurrentDate") @Nullable Boolean defaultToCurrentDate, @@ -190,7 +190,7 @@ public ExistingExhibitorQuestion( } public ExistingExhibitorQuestion( - @Nonnull Event21 event, + @Nonnull Event3 event, @Nonnull String text, @Nonnull ExhibitorQuestionType type, boolean required, @@ -229,7 +229,7 @@ public Optional lastModifiedBy() { /** * The Associated Event. */ - public Event21 event() { + public Event3 event() { return this.event; } @@ -277,14 +277,14 @@ public Optional> choices() { /** * Contains text of additional choice */ - public Optional notApplicableAnswer() { + public Optional notApplicableAnswer() { return Optional.ofNullable(this.notApplicableAnswer); } /** * Contains text of additional choice */ - public Optional otherAnswer() { + public Optional otherAnswer() { return Optional.ofNullable(this.otherAnswer); } @@ -367,7 +367,7 @@ public ExistingExhibitorQuestion withLastModifiedBy(@Nullable String lastModifie /** * The Associated Event. */ - public ExistingExhibitorQuestion withEvent(@Nonnull Event21 event) { + public ExistingExhibitorQuestion withEvent(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -421,7 +421,7 @@ public ExistingExhibitorQuestion withChoices(@Nullable List choices) /** * Contains text of additional choice */ - public ExistingExhibitorQuestion withNotApplicableAnswer(@Nullable AdditionalChoice notApplicableAnswer) { + public ExistingExhibitorQuestion withNotApplicableAnswer(@Nullable AdditionalChoice1 notApplicableAnswer) { this.notApplicableAnswer = notApplicableAnswer; return this; } @@ -429,7 +429,7 @@ public ExistingExhibitorQuestion withNotApplicableAnswer(@Nullable AdditionalCho /** * Contains text of additional choice */ - public ExistingExhibitorQuestion withOtherAnswer(@Nullable AdditionalChoice otherAnswer) { + public ExistingExhibitorQuestion withOtherAnswer(@Nullable AdditionalChoice1 otherAnswer) { this.otherAnswer = otherAnswer; return this; } @@ -580,7 +580,7 @@ public static final class Builder { private String lastModifiedBy; - private Event21 event; + private Event3 event; private String text; @@ -592,9 +592,9 @@ public static final class Builder { private List choices; - private AdditionalChoice notApplicableAnswer; + private AdditionalChoice1 notApplicableAnswer; - private AdditionalChoice otherAnswer; + private AdditionalChoice1 otherAnswer; private ExhibitorAnswerFormat answerFormat; @@ -645,7 +645,7 @@ public Builder lastModifiedBy(@Nullable String lastModifiedBy) { /** * The Associated Event. */ - public Builder event(@Nonnull Event21 event) { + public Builder event(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -699,7 +699,7 @@ public Builder choices(@Nullable List choices) { /** * Contains text of additional choice */ - public Builder notApplicableAnswer(@Nullable AdditionalChoice notApplicableAnswer) { + public Builder notApplicableAnswer(@Nullable AdditionalChoice1 notApplicableAnswer) { this.notApplicableAnswer = notApplicableAnswer; return this; } @@ -707,7 +707,7 @@ public Builder notApplicableAnswer(@Nullable AdditionalChoice notApplicableAnswe /** * Contains text of additional choice */ - public Builder otherAnswer(@Nullable AdditionalChoice otherAnswer) { + public Builder otherAnswer(@Nullable AdditionalChoice1 otherAnswer) { this.otherAnswer = otherAnswer; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingFile.java b/packages/java/src/main/java/com/cvent/models/components/ExistingFile.java index 1ce171178..bf659c40b 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExistingFile.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingFile.java @@ -56,7 +56,7 @@ public class ExistingFile { * The Associated Event. */ @JsonProperty("event") - private Event21 event; + private Event3 event; /** * The Associated Exhibitor. @@ -96,7 +96,7 @@ public ExistingFile( @JsonProperty("createdBy") @Nullable String createdBy, @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, - @JsonProperty("event") @Nonnull Event21 event, + @JsonProperty("event") @Nonnull Event3 event, @JsonProperty("exhibitor") @Nonnull Exhibitor exhibitor, @JsonProperty("displayName") @Nonnull String displayName, @JsonProperty("hidden") @Nullable Boolean hidden, @@ -116,7 +116,7 @@ public ExistingFile( this.id = id; } - public ExistingFile(@Nonnull Event21 event, @Nonnull Exhibitor exhibitor, @Nonnull String displayName, long order) { + public ExistingFile(@Nonnull Event3 event, @Nonnull Exhibitor exhibitor, @Nonnull String displayName, long order) { this(null, null, null, null, event, exhibitor, displayName, null, order, null); } @@ -151,7 +151,7 @@ public Optional lastModifiedBy() { /** * The Associated Event. */ - public Event21 event() { + public Event3 event() { return this.event; } @@ -229,7 +229,7 @@ public ExistingFile withLastModifiedBy(@Nullable String lastModifiedBy) { /** * The Associated Event. */ - public ExistingFile withEvent(@Nonnull Event21 event) { + public ExistingFile withEvent(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -338,7 +338,7 @@ public static final class Builder { private String lastModifiedBy; - private Event21 event; + private Event3 event; private Exhibitor exhibitor; @@ -389,7 +389,7 @@ public Builder lastModifiedBy(@Nullable String lastModifiedBy) { /** * The Associated Event. */ - public Builder event(@Nonnull Event21 event) { + public Builder event(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingSpeaker.java b/packages/java/src/main/java/com/cvent/models/components/ExistingSpeaker.java index 4244778a4..53f62571f 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExistingSpeaker.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingSpeaker.java @@ -119,14 +119,14 @@ public class ExistingSpeaker { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("category") - private CategoryIdNameJson category; + private SpeakerCategory1 category; /** * Collection of social media links for the contact. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("links") - private ContactLinksJson links; + private ContactLinks links; /** * Indicates if a given speaker should be displayed on Event Website @@ -203,8 +203,8 @@ public ExistingSpeaker( @JsonProperty("designation") @Nullable String designation, @JsonProperty("company") @Nullable String company, @JsonProperty("title") @Nullable String title, - @JsonProperty("category") @Nullable CategoryIdNameJson category, - @JsonProperty("links") @Nullable ContactLinksJson links, + @JsonProperty("category") @Nullable SpeakerCategory1 category, + @JsonProperty("links") @Nullable ContactLinks links, @JsonProperty("visibility") @Nullable Boolean visibility, @JsonProperty("biography") @Nullable String biography, @JsonProperty("internalNote") @Nullable String internalNote, @@ -361,14 +361,14 @@ public Optional title() { /** * A defined speaker category. */ - public Optional category() { + public Optional category() { return Optional.ofNullable(this.category); } /** * Collection of social media links for the contact. */ - public Optional links() { + public Optional links() { return Optional.ofNullable(this.links); } @@ -543,7 +543,7 @@ public ExistingSpeaker withTitle(@Nullable String title) { /** * A defined speaker category. */ - public ExistingSpeaker withCategory(@Nullable CategoryIdNameJson category) { + public ExistingSpeaker withCategory(@Nullable SpeakerCategory1 category) { this.category = category; return this; } @@ -551,7 +551,7 @@ public ExistingSpeaker withCategory(@Nullable CategoryIdNameJson category) { /** * Collection of social media links for the contact. */ - public ExistingSpeaker withLinks(@Nullable ContactLinksJson links) { + public ExistingSpeaker withLinks(@Nullable ContactLinks links) { this.links = links; return this; } @@ -767,9 +767,9 @@ public static final class Builder { private String title; - private CategoryIdNameJson category; + private SpeakerCategory1 category; - private ContactLinksJson links; + private ContactLinks links; private Boolean visibility; @@ -898,7 +898,7 @@ public Builder title(@Nullable String title) { /** * A defined speaker category. */ - public Builder category(@Nullable CategoryIdNameJson category) { + public Builder category(@Nullable SpeakerCategory1 category) { this.category = category; return this; } @@ -906,7 +906,7 @@ public Builder category(@Nullable CategoryIdNameJson category) { /** * Collection of social media links for the contact. */ - public Builder links(@Nullable ContactLinksJson links) { + public Builder links(@Nullable ContactLinks links) { this.links = links; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingSpeakerInput.java b/packages/java/src/main/java/com/cvent/models/components/ExistingSpeakerInput.java index f27ddd73e..cf3c5e1ad 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExistingSpeakerInput.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingSpeakerInput.java @@ -89,14 +89,14 @@ public class ExistingSpeakerInput { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("category") - private CategoryIdNameJson category; + private SpeakerCategory1 category; /** * Collection of social media links for the contact. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("links") - private ContactLinksJsonInput links; + private ContactLinksInput links; /** * Indicates if a given speaker should be displayed on Event Website @@ -155,8 +155,8 @@ public ExistingSpeakerInput( @JsonProperty("designation") @Nullable String designation, @JsonProperty("company") @Nullable String company, @JsonProperty("title") @Nullable String title, - @JsonProperty("category") @Nullable CategoryIdNameJson category, - @JsonProperty("links") @Nullable ContactLinksJsonInput links, + @JsonProperty("category") @Nullable SpeakerCategory1 category, + @JsonProperty("links") @Nullable ContactLinksInput links, @JsonProperty("visibility") @Nullable Boolean visibility, @JsonProperty("biography") @Nullable String biography, @JsonProperty("internalNote") @Nullable String internalNote, @@ -272,14 +272,14 @@ public Optional title() { /** * A defined speaker category. */ - public Optional category() { + public Optional category() { return Optional.ofNullable(this.category); } /** * Collection of social media links for the contact. */ - public Optional links() { + public Optional links() { return Optional.ofNullable(this.links); } @@ -408,7 +408,7 @@ public ExistingSpeakerInput withTitle(@Nullable String title) { /** * A defined speaker category. */ - public ExistingSpeakerInput withCategory(@Nullable CategoryIdNameJson category) { + public ExistingSpeakerInput withCategory(@Nullable SpeakerCategory1 category) { this.category = category; return this; } @@ -416,7 +416,7 @@ public ExistingSpeakerInput withCategory(@Nullable CategoryIdNameJson category) /** * Collection of social media links for the contact. */ - public ExistingSpeakerInput withLinks(@Nullable ContactLinksJsonInput links) { + public ExistingSpeakerInput withLinks(@Nullable ContactLinksInput links) { this.links = links; return this; } @@ -584,9 +584,9 @@ public static final class Builder { private String title; - private CategoryIdNameJson category; + private SpeakerCategory1 category; - private ContactLinksJsonInput links; + private ContactLinksInput links; private Boolean visibility; @@ -679,7 +679,7 @@ public Builder title(@Nullable String title) { /** * A defined speaker category. */ - public Builder category(@Nullable CategoryIdNameJson category) { + public Builder category(@Nullable SpeakerCategory1 category) { this.category = category; return this; } @@ -687,7 +687,7 @@ public Builder category(@Nullable CategoryIdNameJson category) { /** * Collection of social media links for the contact. */ - public Builder links(@Nullable ContactLinksJsonInput links) { + public Builder links(@Nullable ContactLinksInput links) { this.links = links; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingSponsorshipLevel.java b/packages/java/src/main/java/com/cvent/models/components/ExistingSponsorshipLevel.java index 5e66c23d1..7abd16b1f 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExistingSponsorshipLevel.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingSponsorshipLevel.java @@ -54,7 +54,7 @@ public class ExistingSponsorshipLevel { * The Associated Event. */ @JsonProperty("event") - private Event21 event; + private Event3 event; /** * Name of the sponsorship level @@ -82,7 +82,7 @@ public ExistingSponsorshipLevel( @JsonProperty("createdBy") @Nullable String createdBy, @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, - @JsonProperty("event") @Nonnull Event21 event, + @JsonProperty("event") @Nonnull Event3 event, @JsonProperty("name") @Nonnull String name, @JsonProperty("id") @Nullable String id, @JsonProperty("rank") @Nullable Long rank) { @@ -96,7 +96,7 @@ public ExistingSponsorshipLevel( this.rank = rank; } - public ExistingSponsorshipLevel(@Nonnull Event21 event, @Nonnull String name) { + public ExistingSponsorshipLevel(@Nonnull Event3 event, @Nonnull String name) { this(null, null, null, null, event, name, null, null); } @@ -131,7 +131,7 @@ public Optional lastModifiedBy() { /** * The Associated Event. */ - public Event21 event() { + public Event3 event() { return this.event; } @@ -195,7 +195,7 @@ public ExistingSponsorshipLevel withLastModifiedBy(@Nullable String lastModified /** * The Associated Event. */ - public ExistingSponsorshipLevel withEvent(@Nonnull Event21 event) { + public ExistingSponsorshipLevel withEvent(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -281,7 +281,7 @@ public static final class Builder { private String lastModifiedBy; - private Event21 event; + private Event3 event; private String name; @@ -328,7 +328,7 @@ public Builder lastModifiedBy(@Nullable String lastModifiedBy) { /** * The Associated Event. */ - public Builder event(@Nonnull Event21 event) { + public Builder event(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingVideoResponse.java b/packages/java/src/main/java/com/cvent/models/components/ExistingVideoResponse.java index 50d5faf94..92bc5a7e2 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExistingVideoResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingVideoResponse.java @@ -93,14 +93,14 @@ public class ExistingVideoResponse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("thumbnail") - private VideoThumbnailJson thumbnail; + private VideoThumbnail thumbnail; /** * Video thumbnail */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("generatedThumbnail") - private VideoThumbnailJson generatedThumbnail; + private VideoThumbnail generatedThumbnail; /** * Denotes the status of a video. Started indicates the request to upload in the API was submitted, and @@ -115,14 +115,14 @@ public class ExistingVideoResponse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("status") - private VideoStatusJson status; + private VideoStatus status; /** * Source of video. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("source") - private VideoSourceJson source; + private VideoSource source; /** * A list of tags associated with this video. This feature is a developer extensability framework to @@ -137,7 +137,7 @@ public class ExistingVideoResponse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("type") - private VideoTypeJson type; + private VideoType type; /** * Event video asset was created with. This field has been deprecated. Use events instead. @@ -166,7 +166,7 @@ public class ExistingVideoResponse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("hlsInputsWithClips") - private List hlsInputsWithClips; + private List hlsInputsWithClips; /** * Recording details of video to be transcoded @@ -182,7 +182,7 @@ public class ExistingVideoResponse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("encodingProfile") - private EncodingProfileJson encodingProfile; + private EncodingProfile encodingProfile; /** * The identifier of a video. @@ -195,7 +195,7 @@ public class ExistingVideoResponse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("url") - private AssetLocationJson url; + private AssetLocation url; /** * File size in bytes for the video asset. @@ -251,14 +251,14 @@ public class ExistingVideoResponse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("errors") - private List errors; + private List errors; /** * This is used to denote the warnings for a video entity. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("warnings") - private List warnings; + private List warnings; @JsonCreator public ExistingVideoResponse( @@ -271,19 +271,19 @@ public ExistingVideoResponse( @JsonProperty("filename") @Nullable String filename, @JsonProperty("events") @Nullable List events, @JsonProperty("duration") @Nullable Long duration, - @JsonProperty("thumbnail") @Nullable VideoThumbnailJson thumbnail, - @JsonProperty("generatedThumbnail") @Nullable VideoThumbnailJson generatedThumbnail, - @JsonProperty("status") @Nullable VideoStatusJson status, - @JsonProperty("source") @Nullable VideoSourceJson source, + @JsonProperty("thumbnail") @Nullable VideoThumbnail thumbnail, + @JsonProperty("generatedThumbnail") @Nullable VideoThumbnail generatedThumbnail, + @JsonProperty("status") @Nullable VideoStatus status, + @JsonProperty("source") @Nullable VideoSource source, @JsonProperty("tags") @Nullable List tags, - @JsonProperty("type") @Nullable VideoTypeJson type, + @JsonProperty("type") @Nullable VideoType type, @JsonProperty("event") @Nullable ExistingVideoResponseUUID event, @JsonProperty("hlsInputs") @Nullable List hlsInputs, - @JsonProperty("hlsInputsWithClips") @Nullable List hlsInputsWithClips, + @JsonProperty("hlsInputsWithClips") @Nullable List hlsInputsWithClips, @JsonProperty("recording") @Nullable RecordingDetails recording, - @JsonProperty("encodingProfile") @Nullable EncodingProfileJson encodingProfile, + @JsonProperty("encodingProfile") @Nullable EncodingProfile encodingProfile, @JsonProperty("id") @Nonnull String id, - @JsonProperty("url") @Nullable AssetLocationJson url, + @JsonProperty("url") @Nullable AssetLocation url, @JsonProperty("size") @Nullable Long size, @JsonProperty("sessions") @Nullable List sessions, @JsonProperty("exhibitors") @Nullable List exhibitors, @@ -291,8 +291,8 @@ public ExistingVideoResponse( @JsonProperty("uploadStarted") @Nullable OffsetDateTime uploadStarted, @JsonProperty("uploadCompleted") @Nullable OffsetDateTime uploadCompleted, @JsonProperty("parent") @Nullable String parent, - @JsonProperty("errors") @Nullable List errors, - @JsonProperty("warnings") @Nullable List warnings) { + @JsonProperty("errors") @Nullable List errors, + @JsonProperty("warnings") @Nullable List warnings) { this.created = created; this.createdBy = createdBy; this.lastModified = lastModified; @@ -428,14 +428,14 @@ public Optional duration() { /** * Video thumbnail */ - public Optional thumbnail() { + public Optional thumbnail() { return Optional.ofNullable(this.thumbnail); } /** * Video thumbnail */ - public Optional generatedThumbnail() { + public Optional generatedThumbnail() { return Optional.ofNullable(this.generatedThumbnail); } @@ -450,14 +450,14 @@ public Optional generatedThumbnail() { *

Error indicates there was a problem processing the video. Available indicates the video is available * for use. */ - public Optional status() { + public Optional status() { return Optional.ofNullable(this.status); } /** * Source of video. */ - public Optional source() { + public Optional source() { return Optional.ofNullable(this.source); } @@ -472,7 +472,7 @@ public Optional> tags() { /** * This is used to denote type of a video */ - public Optional type() { + public Optional type() { return Optional.ofNullable(this.type); } @@ -501,7 +501,7 @@ public Optional> hlsInputs() { * A list of input object locations & clip information for HTTP Live Streaming (HLS) recordings. * Used to trim & stitch all inputs together to form a new video. */ - public Optional> hlsInputsWithClips() { + public Optional> hlsInputsWithClips() { return Optional.ofNullable(this.hlsInputsWithClips); } @@ -517,7 +517,7 @@ public Optional recording() { * event content, like session videos. Attendee profile is for encoding lower-quality content intended * to go on attendee profiles and social feeds in the event. */ - public Optional encodingProfile() { + public Optional encodingProfile() { return Optional.ofNullable(this.encodingProfile); } @@ -531,7 +531,7 @@ public String id() { /** * A URL associated with the asset. */ - public Optional url() { + public Optional url() { return Optional.ofNullable(this.url); } @@ -587,14 +587,14 @@ public Optional parent() { /** * This is used to denote the errors for a video entity. */ - public Optional> errors() { + public Optional> errors() { return Optional.ofNullable(this.errors); } /** * This is used to denote the warnings for a video entity. */ - public Optional> warnings() { + public Optional> warnings() { return Optional.ofNullable(this.warnings); } @@ -677,7 +677,7 @@ public ExistingVideoResponse withDuration(@Nullable Long duration) { /** * Video thumbnail */ - public ExistingVideoResponse withThumbnail(@Nullable VideoThumbnailJson thumbnail) { + public ExistingVideoResponse withThumbnail(@Nullable VideoThumbnail thumbnail) { this.thumbnail = thumbnail; return this; } @@ -685,7 +685,7 @@ public ExistingVideoResponse withThumbnail(@Nullable VideoThumbnailJson thumbnai /** * Video thumbnail */ - public ExistingVideoResponse withGeneratedThumbnail(@Nullable VideoThumbnailJson generatedThumbnail) { + public ExistingVideoResponse withGeneratedThumbnail(@Nullable VideoThumbnail generatedThumbnail) { this.generatedThumbnail = generatedThumbnail; return this; } @@ -701,7 +701,7 @@ public ExistingVideoResponse withGeneratedThumbnail(@Nullable VideoThumbnailJson *

Error indicates there was a problem processing the video. Available indicates the video is available * for use. */ - public ExistingVideoResponse withStatus(@Nullable VideoStatusJson status) { + public ExistingVideoResponse withStatus(@Nullable VideoStatus status) { this.status = status; return this; } @@ -709,7 +709,7 @@ public ExistingVideoResponse withStatus(@Nullable VideoStatusJson status) { /** * Source of video. */ - public ExistingVideoResponse withSource(@Nullable VideoSourceJson source) { + public ExistingVideoResponse withSource(@Nullable VideoSource source) { this.source = source; return this; } @@ -726,7 +726,7 @@ public ExistingVideoResponse withTags(@Nullable List tags) { /** * This is used to denote type of a video */ - public ExistingVideoResponse withType(@Nullable VideoTypeJson type) { + public ExistingVideoResponse withType(@Nullable VideoType type) { this.type = type; return this; } @@ -758,7 +758,7 @@ public ExistingVideoResponse withHlsInputs(@Nullable List hlsInputs) { * A list of input object locations & clip information for HTTP Live Streaming (HLS) recordings. * Used to trim & stitch all inputs together to form a new video. */ - public ExistingVideoResponse withHlsInputsWithClips(@Nullable List hlsInputsWithClips) { + public ExistingVideoResponse withHlsInputsWithClips(@Nullable List hlsInputsWithClips) { this.hlsInputsWithClips = hlsInputsWithClips; return this; } @@ -776,7 +776,7 @@ public ExistingVideoResponse withRecording(@Nullable RecordingDetails recording) * event content, like session videos. Attendee profile is for encoding lower-quality content intended * to go on attendee profiles and social feeds in the event. */ - public ExistingVideoResponse withEncodingProfile(@Nullable EncodingProfileJson encodingProfile) { + public ExistingVideoResponse withEncodingProfile(@Nullable EncodingProfile encodingProfile) { this.encodingProfile = encodingProfile; return this; } @@ -792,7 +792,7 @@ public ExistingVideoResponse withId(@Nonnull String id) { /** * A URL associated with the asset. */ - public ExistingVideoResponse withUrl(@Nullable AssetLocationJson url) { + public ExistingVideoResponse withUrl(@Nullable AssetLocation url) { this.url = url; return this; } @@ -856,7 +856,7 @@ public ExistingVideoResponse withParent(@Nullable String parent) { /** * This is used to denote the errors for a video entity. */ - public ExistingVideoResponse withErrors(@Nullable List errors) { + public ExistingVideoResponse withErrors(@Nullable List errors) { this.errors = errors; return this; } @@ -864,7 +864,7 @@ public ExistingVideoResponse withErrors(@Nullable List errors) { /** * This is used to denote the warnings for a video entity. */ - public ExistingVideoResponse withWarnings(@Nullable List warnings) { + public ExistingVideoResponse withWarnings(@Nullable List warnings) { this.warnings = warnings; return this; } @@ -1036,17 +1036,17 @@ public static final class Builder { private Long duration; - private VideoThumbnailJson thumbnail; + private VideoThumbnail thumbnail; - private VideoThumbnailJson generatedThumbnail; + private VideoThumbnail generatedThumbnail; - private VideoStatusJson status; + private VideoStatus status; - private VideoSourceJson source; + private VideoSource source; private List tags; - private VideoTypeJson type; + private VideoType type; @Deprecated private ExistingVideoResponseUUID event; @@ -1054,15 +1054,15 @@ public static final class Builder { @Deprecated private List hlsInputs; - private List hlsInputsWithClips; + private List hlsInputsWithClips; private RecordingDetails recording; - private EncodingProfileJson encodingProfile; + private EncodingProfile encodingProfile; private String id; - private AssetLocationJson url; + private AssetLocation url; private Long size; @@ -1078,9 +1078,9 @@ public static final class Builder { private String parent; - private List errors; + private List errors; - private List warnings; + private List warnings; private Builder() { // force use of static builder() method @@ -1161,7 +1161,7 @@ public Builder duration(@Nullable Long duration) { /** * Video thumbnail */ - public Builder thumbnail(@Nullable VideoThumbnailJson thumbnail) { + public Builder thumbnail(@Nullable VideoThumbnail thumbnail) { this.thumbnail = thumbnail; return this; } @@ -1169,7 +1169,7 @@ public Builder thumbnail(@Nullable VideoThumbnailJson thumbnail) { /** * Video thumbnail */ - public Builder generatedThumbnail(@Nullable VideoThumbnailJson generatedThumbnail) { + public Builder generatedThumbnail(@Nullable VideoThumbnail generatedThumbnail) { this.generatedThumbnail = generatedThumbnail; return this; } @@ -1185,7 +1185,7 @@ public Builder generatedThumbnail(@Nullable VideoThumbnailJson generatedThumbnai *

Error indicates there was a problem processing the video. Available indicates the video is available * for use. */ - public Builder status(@Nullable VideoStatusJson status) { + public Builder status(@Nullable VideoStatus status) { this.status = status; return this; } @@ -1193,7 +1193,7 @@ public Builder status(@Nullable VideoStatusJson status) { /** * Source of video. */ - public Builder source(@Nullable VideoSourceJson source) { + public Builder source(@Nullable VideoSource source) { this.source = source; return this; } @@ -1210,7 +1210,7 @@ public Builder tags(@Nullable List tags) { /** * This is used to denote type of a video */ - public Builder type(@Nullable VideoTypeJson type) { + public Builder type(@Nullable VideoType type) { this.type = type; return this; } @@ -1242,7 +1242,7 @@ public Builder hlsInputs(@Nullable List hlsInputs) { * A list of input object locations & clip information for HTTP Live Streaming (HLS) recordings. * Used to trim & stitch all inputs together to form a new video. */ - public Builder hlsInputsWithClips(@Nullable List hlsInputsWithClips) { + public Builder hlsInputsWithClips(@Nullable List hlsInputsWithClips) { this.hlsInputsWithClips = hlsInputsWithClips; return this; } @@ -1260,7 +1260,7 @@ public Builder recording(@Nullable RecordingDetails recording) { * event content, like session videos. Attendee profile is for encoding lower-quality content intended * to go on attendee profiles and social feeds in the event. */ - public Builder encodingProfile(@Nullable EncodingProfileJson encodingProfile) { + public Builder encodingProfile(@Nullable EncodingProfile encodingProfile) { this.encodingProfile = encodingProfile; return this; } @@ -1276,7 +1276,7 @@ public Builder id(@Nonnull String id) { /** * A URL associated with the asset. */ - public Builder url(@Nullable AssetLocationJson url) { + public Builder url(@Nullable AssetLocation url) { this.url = url; return this; } @@ -1340,7 +1340,7 @@ public Builder parent(@Nullable String parent) { /** * This is used to denote the errors for a video entity. */ - public Builder errors(@Nullable List errors) { + public Builder errors(@Nullable List errors) { this.errors = errors; return this; } @@ -1348,7 +1348,7 @@ public Builder errors(@Nullable List errors) { /** * This is used to denote the warnings for a video entity. */ - public Builder warnings(@Nullable List warnings) { + public Builder warnings(@Nullable List warnings) { this.warnings = warnings; return this; } @@ -1388,7 +1388,7 @@ public ExistingVideoResponse build() { warnings); } - private static final LazySingletonValue _SINGLETON_VALUE_EncodingProfile = - new LazySingletonValue<>("encodingProfile", "\"Planner\"", new TypeReference() {}); + private static final LazySingletonValue _SINGLETON_VALUE_EncodingProfile = + new LazySingletonValue<>("encodingProfile", "\"Planner\"", new TypeReference() {}); } } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingVideoTextTrack.java b/packages/java/src/main/java/com/cvent/models/components/ExistingVideoTextTrack.java index a1a496370..38fa6d82a 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExistingVideoTextTrack.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingVideoTextTrack.java @@ -57,7 +57,7 @@ public class ExistingVideoTextTrack { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("video") - private VideoAssetIdJson video; + private VideoAssetID video; /** * Name of the text track. @@ -76,7 +76,7 @@ public class ExistingVideoTextTrack { * Denotes the kind of video text track. Only subtitles are supported. */ @JsonProperty("kind") - private VideoTextTrackKindJson kind; + private VideoTextTrackKind kind; /** * True means that this text track has been published for your client. @@ -101,7 +101,7 @@ public class ExistingVideoTextTrack { * indicates there was a problem processing the VTT. */ @JsonProperty("status") - private VideoTextTrackStatusJson status; + private VideoTextTrackStatus status; /** * True indicates this text track was generated via machine transcription of the audio. @@ -121,7 +121,7 @@ public class ExistingVideoTextTrack { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("url") - private AssetLocationJson url; + private AssetLocation url; /** * A message indicating the error processing the text track, if any. @@ -136,16 +136,16 @@ public ExistingVideoTextTrack( @JsonProperty("createdBy") @Nullable String createdBy, @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, - @JsonProperty("video") @Nullable VideoAssetIdJson video, + @JsonProperty("video") @Nullable VideoAssetID video, @JsonProperty("label") @Nullable String label, @JsonProperty("language") @Nonnull String language, - @JsonProperty("kind") @Nonnull VideoTextTrackKindJson kind, + @JsonProperty("kind") @Nonnull VideoTextTrackKind kind, @JsonProperty("published") @Nullable Boolean published, @JsonProperty("default") @Nullable Boolean default_, - @JsonProperty("status") @Nonnull VideoTextTrackStatusJson status, + @JsonProperty("status") @Nonnull VideoTextTrackStatus status, @JsonProperty("autoGenerated") @Nullable Boolean autoGenerated, @JsonProperty("id") @Nonnull String id, - @JsonProperty("url") @Nullable AssetLocationJson url, + @JsonProperty("url") @Nullable AssetLocation url, @JsonProperty("errorMessage") @Nullable String errorMessage) { this.created = created; this.createdBy = createdBy; @@ -168,8 +168,8 @@ public ExistingVideoTextTrack( public ExistingVideoTextTrack( @Nonnull String language, - @Nonnull VideoTextTrackKindJson kind, - @Nonnull VideoTextTrackStatusJson status, + @Nonnull VideoTextTrackKind kind, + @Nonnull VideoTextTrackStatus status, @Nonnull String id) { this(null, null, null, null, null, null, language, kind, null, null, status, null, id, null, null); } @@ -205,7 +205,7 @@ public Optional lastModifiedBy() { /** * Video that this asset was created with. */ - public Optional video() { + public Optional video() { return Optional.ofNullable(this.video); } @@ -226,7 +226,7 @@ public String language() { /** * Denotes the kind of video text track. Only subtitles are supported. */ - public VideoTextTrackKindJson kind() { + public VideoTextTrackKind kind() { return this.kind; } @@ -252,7 +252,7 @@ public Optional default_() { *

Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error * indicates there was a problem processing the VTT. */ - public VideoTextTrackStatusJson status() { + public VideoTextTrackStatus status() { return this.status; } @@ -273,7 +273,7 @@ public String id() { /** * A URL associated with the asset. */ - public Optional url() { + public Optional url() { return Optional.ofNullable(this.url); } @@ -323,7 +323,7 @@ public ExistingVideoTextTrack withLastModifiedBy(@Nullable String lastModifiedBy /** * Video that this asset was created with. */ - public ExistingVideoTextTrack withVideo(@Nullable VideoAssetIdJson video) { + public ExistingVideoTextTrack withVideo(@Nullable VideoAssetID video) { this.video = video; return this; } @@ -347,7 +347,7 @@ public ExistingVideoTextTrack withLanguage(@Nonnull String language) { /** * Denotes the kind of video text track. Only subtitles are supported. */ - public ExistingVideoTextTrack withKind(@Nonnull VideoTextTrackKindJson kind) { + public ExistingVideoTextTrack withKind(@Nonnull VideoTextTrackKind kind) { this.kind = Utils.checkNotNull(kind, "kind"); return this; } @@ -376,7 +376,7 @@ public ExistingVideoTextTrack withDefault(@Nullable Boolean default_) { *

Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error * indicates there was a problem processing the VTT. */ - public ExistingVideoTextTrack withStatus(@Nonnull VideoTextTrackStatusJson status) { + public ExistingVideoTextTrack withStatus(@Nonnull VideoTextTrackStatus status) { this.status = Utils.checkNotNull(status, "status"); return this; } @@ -400,7 +400,7 @@ public ExistingVideoTextTrack withId(@Nonnull String id) { /** * A URL associated with the asset. */ - public ExistingVideoTextTrack withUrl(@Nullable AssetLocationJson url) { + public ExistingVideoTextTrack withUrl(@Nullable AssetLocation url) { this.url = url; return this; } @@ -506,25 +506,25 @@ public static final class Builder { private String lastModifiedBy; - private VideoAssetIdJson video; + private VideoAssetID video; private String label; private String language; - private VideoTextTrackKindJson kind; + private VideoTextTrackKind kind; private Boolean published; private Boolean default_; - private VideoTextTrackStatusJson status; + private VideoTextTrackStatus status; private Boolean autoGenerated; private String id; - private AssetLocationJson url; + private AssetLocation url; private String errorMessage; @@ -567,7 +567,7 @@ public Builder lastModifiedBy(@Nullable String lastModifiedBy) { /** * Video that this asset was created with. */ - public Builder video(@Nullable VideoAssetIdJson video) { + public Builder video(@Nullable VideoAssetID video) { this.video = video; return this; } @@ -591,7 +591,7 @@ public Builder language(@Nonnull String language) { /** * Denotes the kind of video text track. Only subtitles are supported. */ - public Builder kind(@Nonnull VideoTextTrackKindJson kind) { + public Builder kind(@Nonnull VideoTextTrackKind kind) { this.kind = Utils.checkNotNull(kind, "kind"); return this; } @@ -620,7 +620,7 @@ public Builder default_(@Nullable Boolean default_) { *

Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error * indicates there was a problem processing the VTT. */ - public Builder status(@Nonnull VideoTextTrackStatusJson status) { + public Builder status(@Nonnull VideoTextTrackStatus status) { this.status = Utils.checkNotNull(status, "status"); return this; } @@ -644,7 +644,7 @@ public Builder id(@Nonnull String id) { /** * A URL associated with the asset. */ - public Builder url(@Nullable AssetLocationJson url) { + public Builder url(@Nullable AssetLocation url) { this.url = url; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingVideoTextTrackInput.java b/packages/java/src/main/java/com/cvent/models/components/ExistingVideoTextTrackInput.java index ebae89034..76cfff576 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExistingVideoTextTrackInput.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingVideoTextTrackInput.java @@ -28,7 +28,7 @@ public class ExistingVideoTextTrackInput { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("video") - private VideoAssetIdJson video; + private VideoAssetID video; /** * Name of the text track. @@ -47,7 +47,7 @@ public class ExistingVideoTextTrackInput { * Denotes the kind of video text track. Only subtitles are supported. */ @JsonProperty("kind") - private VideoTextTrackKindJson kind; + private VideoTextTrackKind kind; /** * True means that this text track has been published for your client. @@ -72,7 +72,7 @@ public class ExistingVideoTextTrackInput { * indicates there was a problem processing the VTT. */ @JsonProperty("status") - private VideoTextTrackStatusJson status; + private VideoTextTrackStatus status; /** * True indicates this text track was generated via machine transcription of the audio. @@ -86,7 +86,7 @@ public class ExistingVideoTextTrackInput { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("url") - private AssetLocationJsonInput url; + private AssetLocationInput url; /** * A message indicating the error processing the text track, if any. @@ -97,15 +97,15 @@ public class ExistingVideoTextTrackInput { @JsonCreator public ExistingVideoTextTrackInput( - @JsonProperty("video") @Nullable VideoAssetIdJson video, + @JsonProperty("video") @Nullable VideoAssetID video, @JsonProperty("label") @Nullable String label, @JsonProperty("language") @Nonnull String language, - @JsonProperty("kind") @Nonnull VideoTextTrackKindJson kind, + @JsonProperty("kind") @Nonnull VideoTextTrackKind kind, @JsonProperty("published") @Nullable Boolean published, @JsonProperty("default") @Nullable Boolean default_, - @JsonProperty("status") @Nonnull VideoTextTrackStatusJson status, + @JsonProperty("status") @Nonnull VideoTextTrackStatus status, @JsonProperty("autoGenerated") @Nullable Boolean autoGenerated, - @JsonProperty("url") @Nullable AssetLocationJsonInput url, + @JsonProperty("url") @Nullable AssetLocationInput url, @JsonProperty("errorMessage") @Nullable String errorMessage) { this.video = video; this.label = label; @@ -122,14 +122,14 @@ public ExistingVideoTextTrackInput( } public ExistingVideoTextTrackInput( - @Nonnull String language, @Nonnull VideoTextTrackKindJson kind, @Nonnull VideoTextTrackStatusJson status) { + @Nonnull String language, @Nonnull VideoTextTrackKind kind, @Nonnull VideoTextTrackStatus status) { this(null, null, language, kind, null, null, status, null, null, null); } /** * Video that this asset was created with. */ - public Optional video() { + public Optional video() { return Optional.ofNullable(this.video); } @@ -150,7 +150,7 @@ public String language() { /** * Denotes the kind of video text track. Only subtitles are supported. */ - public VideoTextTrackKindJson kind() { + public VideoTextTrackKind kind() { return this.kind; } @@ -176,7 +176,7 @@ public Optional default_() { *

Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error * indicates there was a problem processing the VTT. */ - public VideoTextTrackStatusJson status() { + public VideoTextTrackStatus status() { return this.status; } @@ -190,7 +190,7 @@ public Optional autoGenerated() { /** * A URL associated with the asset. */ - public Optional url() { + public Optional url() { return Optional.ofNullable(this.url); } @@ -208,7 +208,7 @@ public static Builder builder() { /** * Video that this asset was created with. */ - public ExistingVideoTextTrackInput withVideo(@Nullable VideoAssetIdJson video) { + public ExistingVideoTextTrackInput withVideo(@Nullable VideoAssetID video) { this.video = video; return this; } @@ -232,7 +232,7 @@ public ExistingVideoTextTrackInput withLanguage(@Nonnull String language) { /** * Denotes the kind of video text track. Only subtitles are supported. */ - public ExistingVideoTextTrackInput withKind(@Nonnull VideoTextTrackKindJson kind) { + public ExistingVideoTextTrackInput withKind(@Nonnull VideoTextTrackKind kind) { this.kind = Utils.checkNotNull(kind, "kind"); return this; } @@ -261,7 +261,7 @@ public ExistingVideoTextTrackInput withDefault(@Nullable Boolean default_) { *

Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error * indicates there was a problem processing the VTT. */ - public ExistingVideoTextTrackInput withStatus(@Nonnull VideoTextTrackStatusJson status) { + public ExistingVideoTextTrackInput withStatus(@Nonnull VideoTextTrackStatus status) { this.status = Utils.checkNotNull(status, "status"); return this; } @@ -277,7 +277,7 @@ public ExistingVideoTextTrackInput withAutoGenerated(@Nullable Boolean autoGener /** * A URL associated with the asset. */ - public ExistingVideoTextTrackInput withUrl(@Nullable AssetLocationJsonInput url) { + public ExistingVideoTextTrackInput withUrl(@Nullable AssetLocationInput url) { this.url = url; return this; } @@ -346,23 +346,23 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private VideoAssetIdJson video; + private VideoAssetID video; private String label; private String language; - private VideoTextTrackKindJson kind; + private VideoTextTrackKind kind; private Boolean published; private Boolean default_; - private VideoTextTrackStatusJson status; + private VideoTextTrackStatus status; private Boolean autoGenerated; - private AssetLocationJsonInput url; + private AssetLocationInput url; private String errorMessage; @@ -373,7 +373,7 @@ private Builder() { /** * Video that this asset was created with. */ - public Builder video(@Nullable VideoAssetIdJson video) { + public Builder video(@Nullable VideoAssetID video) { this.video = video; return this; } @@ -397,7 +397,7 @@ public Builder language(@Nonnull String language) { /** * Denotes the kind of video text track. Only subtitles are supported. */ - public Builder kind(@Nonnull VideoTextTrackKindJson kind) { + public Builder kind(@Nonnull VideoTextTrackKind kind) { this.kind = Utils.checkNotNull(kind, "kind"); return this; } @@ -426,7 +426,7 @@ public Builder default_(@Nullable Boolean default_) { *

Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error * indicates there was a problem processing the VTT. */ - public Builder status(@Nonnull VideoTextTrackStatusJson status) { + public Builder status(@Nonnull VideoTextTrackStatus status) { this.status = Utils.checkNotNull(status, "status"); return this; } @@ -442,7 +442,7 @@ public Builder autoGenerated(@Nullable Boolean autoGenerated) { /** * A URL associated with the asset. */ - public Builder url(@Nullable AssetLocationJsonInput url) { + public Builder url(@Nullable AssetLocationInput url) { this.url = url; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingWeblink.java b/packages/java/src/main/java/com/cvent/models/components/ExistingWeblink.java index 3b7c95844..eae54d32f 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ExistingWeblink.java +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingWeblink.java @@ -56,7 +56,7 @@ public class ExistingWeblink { * The Associated Event. */ @JsonProperty("event") - private Event21 event; + private Event3 event; /** * The Associated Exhibitor. @@ -102,7 +102,7 @@ public ExistingWeblink( @JsonProperty("createdBy") @Nullable String createdBy, @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, - @JsonProperty("event") @Nonnull Event21 event, + @JsonProperty("event") @Nonnull Event3 event, @JsonProperty("exhibitor") @Nonnull Exhibitor exhibitor, @JsonProperty("name") @Nonnull String name, @JsonProperty("url") @Nonnull String url, @@ -124,7 +124,7 @@ public ExistingWeblink( } public ExistingWeblink( - @Nonnull Event21 event, + @Nonnull Event3 event, @Nonnull Exhibitor exhibitor, @Nonnull String name, @Nonnull String url, @@ -163,7 +163,7 @@ public Optional lastModifiedBy() { /** * The Associated Event. */ - public Event21 event() { + public Event3 event() { return this.event; } @@ -248,7 +248,7 @@ public ExistingWeblink withLastModifiedBy(@Nullable String lastModifiedBy) { /** * The Associated Event. */ - public ExistingWeblink withEvent(@Nonnull Event21 event) { + public ExistingWeblink withEvent(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -368,7 +368,7 @@ public static final class Builder { private String lastModifiedBy; - private Event21 event; + private Event3 event; private Exhibitor exhibitor; @@ -421,7 +421,7 @@ public Builder lastModifiedBy(@Nullable String lastModifiedBy) { /** * The Associated Event. */ - public Builder event(@Nonnull Event21 event) { + public Builder event(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/FairSeasonType.java b/packages/java/src/main/java/com/cvent/models/components/FairSeasonType.java new file mode 100644 index 000000000..83513bda8 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/FairSeasonType.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; + +/** + * FairSeasonType + * + *

Fair season type. Blackout means that no special rate is negotiated for that date and Best Available + * Rates will apply + */ +public enum FairSeasonType { + NEGOTIATED("negotiated"), + BLACKOUT("blackout"); + + @JsonValue + private final String value; + + FairSeasonType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (FairSeasonType o : FairSeasonType.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/FairSeasonTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/FairSeasonTypeJson.java deleted file mode 100644 index b7b32f5e9..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/FairSeasonTypeJson.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * 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; - -/** - * FairSeasonTypeJson - * - *

Fair season type. Blackout means that no special rate is negotiated for that date and Best Available - * Rates will apply - */ -public enum FairSeasonTypeJson { - NEGOTIATED("negotiated"), - BLACKOUT("blackout"); - - @JsonValue - private final String value; - - FairSeasonTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (FairSeasonTypeJson o : FairSeasonTypeJson.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/Field.java b/packages/java/src/main/java/com/cvent/models/components/Field.java new file mode 100644 index 000000000..7a1495f59 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Field.java @@ -0,0 +1,390 @@ +/* + * 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.List; +import java.util.Optional; + +/** + * Field + * + *

A question field. + */ +public class Field { + /** + * Text field ID. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * Text value of the field. Displays to users in the UI. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("text") + private String text; + + /** + * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of + * the question in reports. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("shortText") + private String shortText; + + /** + * Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: + * Data is one or more options from a list. + * + *

`Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is + * free-text input. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private FieldType type; + + /** + * List of choices for this field. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("choices") + private List choices; + + /** + * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("notApplicableAnswer") + private AdditionalChoice notApplicableAnswer; + + /** + * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("otherAnswer") + private AdditionalChoice otherAnswer; + + /** + * True indicates this is a mandatory question field. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("required") + private Boolean required; + + @JsonCreator + public Field( + @JsonProperty("id") @Nullable String id, + @JsonProperty("text") @Nullable String text, + @JsonProperty("shortText") @Nullable String shortText, + @JsonProperty("type") @Nullable FieldType type, + @JsonProperty("choices") @Nullable List choices, + @JsonProperty("notApplicableAnswer") @Nullable AdditionalChoice notApplicableAnswer, + @JsonProperty("otherAnswer") @Nullable AdditionalChoice otherAnswer, + @JsonProperty("required") @Nullable Boolean required) { + this.id = id; + this.text = text; + this.shortText = shortText; + this.type = type; + this.choices = choices; + this.notApplicableAnswer = notApplicableAnswer; + this.otherAnswer = otherAnswer; + this.required = Optional.ofNullable(required).orElse(Builder._SINGLETON_VALUE_Required.value()); + } + + public Field() { + this(null, null, null, null, null, null, null, null); + } + + /** + * Text field ID. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Text value of the field. Displays to users in the UI. + */ + public Optional text() { + return Optional.ofNullable(this.text); + } + + /** + * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of + * the question in reports. + */ + public Optional shortText() { + return Optional.ofNullable(this.shortText); + } + + /** + * Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: + * Data is one or more options from a list. + * + *

`Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is + * free-text input. + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + /** + * List of choices for this field. + */ + public Optional> choices() { + return Optional.ofNullable(this.choices); + } + + /** + * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + */ + public Optional notApplicableAnswer() { + return Optional.ofNullable(this.notApplicableAnswer); + } + + /** + * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + */ + public Optional otherAnswer() { + return Optional.ofNullable(this.otherAnswer); + } + + /** + * True indicates this is a mandatory question field. + */ + public Optional required() { + return Optional.ofNullable(this.required); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Text field ID. + */ + public Field withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Text value of the field. Displays to users in the UI. + */ + public Field withText(@Nullable String text) { + this.text = text; + return this; + } + + /** + * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of + * the question in reports. + */ + public Field withShortText(@Nullable String shortText) { + this.shortText = shortText; + return this; + } + + /** + * Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: + * Data is one or more options from a list. + * + *

`Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is + * free-text input. + */ + public Field withType(@Nullable FieldType type) { + this.type = type; + return this; + } + + /** + * List of choices for this field. + */ + public Field withChoices(@Nullable List choices) { + this.choices = choices; + return this; + } + + /** + * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + */ + public Field withNotApplicableAnswer(@Nullable AdditionalChoice notApplicableAnswer) { + this.notApplicableAnswer = notApplicableAnswer; + return this; + } + + /** + * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + */ + public Field withOtherAnswer(@Nullable AdditionalChoice otherAnswer) { + this.otherAnswer = otherAnswer; + return this; + } + + /** + * True indicates this is a mandatory question field. + */ + public Field withRequired(@Nullable Boolean required) { + this.required = required; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Field other = (Field) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.text, other.text) + && Utils.enhancedDeepEquals(this.shortText, other.shortText) + && Utils.enhancedDeepEquals(this.type, other.type) + && Utils.enhancedDeepEquals(this.choices, other.choices) + && Utils.enhancedDeepEquals(this.notApplicableAnswer, other.notApplicableAnswer) + && Utils.enhancedDeepEquals(this.otherAnswer, other.otherAnswer) + && Utils.enhancedDeepEquals(this.required, other.required); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, text, shortText, type, choices, notApplicableAnswer, otherAnswer, required); + } + + @Override + public String toString() { + return Utils.toString( + Field.class, + "id", + id, + "text", + text, + "shortText", + shortText, + "type", + type, + "choices", + choices, + "notApplicableAnswer", + notApplicableAnswer, + "otherAnswer", + otherAnswer, + "required", + required); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String text; + + private String shortText; + + private FieldType type; + + private List choices; + + private AdditionalChoice notApplicableAnswer; + + private AdditionalChoice otherAnswer; + + private Boolean required; + + private Builder() { + // force use of static builder() method + } + + /** + * Text field ID. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Text value of the field. Displays to users in the UI. + */ + public Builder text(@Nullable String text) { + this.text = text; + return this; + } + + /** + * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of + * the question in reports. + */ + public Builder shortText(@Nullable String shortText) { + this.shortText = shortText; + return this; + } + + /** + * Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: + * Data is one or more options from a list. + * + *

`Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is + * free-text input. + */ + public Builder type(@Nullable FieldType type) { + this.type = type; + return this; + } + + /** + * List of choices for this field. + */ + public Builder choices(@Nullable List choices) { + this.choices = choices; + return this; + } + + /** + * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + */ + public Builder notApplicableAnswer(@Nullable AdditionalChoice notApplicableAnswer) { + this.notApplicableAnswer = notApplicableAnswer; + return this; + } + + /** + * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + */ + public Builder otherAnswer(@Nullable AdditionalChoice otherAnswer) { + this.otherAnswer = otherAnswer; + return this; + } + + /** + * True indicates this is a mandatory question field. + */ + public Builder required(@Nullable Boolean required) { + this.required = required; + return this; + } + + public Field build() { + return new Field(id, text, shortText, type, choices, notApplicableAnswer, otherAnswer, required); + } + + private static final LazySingletonValue _SINGLETON_VALUE_Required = + new LazySingletonValue<>("required", "false", new TypeReference() {}); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/FieldJson.java b/packages/java/src/main/java/com/cvent/models/components/FieldJson.java index 816b965f5..41bae87a4 100644 --- a/packages/java/src/main/java/com/cvent/models/components/FieldJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/FieldJson.java @@ -20,7 +20,7 @@ /** * FieldJson * - *

A question field. + *

A survey field. */ public class FieldJson { /** @@ -31,26 +31,21 @@ public class FieldJson { private String id; /** - * Text value of the field. Displays to users in the UI. + * text Value of the Field */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("text") private String text; /** - * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of - * the question in reports. + * Reporting value of the Category, Its like a custom abbreviation */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("shortText") private String shortText; /** - * Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: - * Data is one or more options from a list. - * - *

`Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is - * free-text input. + * Field Type */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("type") @@ -61,24 +56,24 @@ public class FieldJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("choices") - private List choices; + private List choices; /** - * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + * Contains text of additional choice i.e N/A choice or otherAnswer choice */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("notApplicableAnswer") - private AdditionalChoiceJson2 notApplicableAnswer; + private AdditionalChoiceJson notApplicableAnswer; /** - * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + * Contains text of additional choice i.e N/A choice or otherAnswer choice */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("otherAnswer") - private AdditionalChoiceJson2 otherAnswer; + private AdditionalChoiceJson otherAnswer; /** - * True indicates this is a mandatory question field. + * Is this a mandatory field */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("required") @@ -90,9 +85,9 @@ public FieldJson( @JsonProperty("text") @Nullable String text, @JsonProperty("shortText") @Nullable String shortText, @JsonProperty("type") @Nullable FieldTypeJson type, - @JsonProperty("choices") @Nullable List choices, - @JsonProperty("notApplicableAnswer") @Nullable AdditionalChoiceJson2 notApplicableAnswer, - @JsonProperty("otherAnswer") @Nullable AdditionalChoiceJson2 otherAnswer, + @JsonProperty("choices") @Nullable List choices, + @JsonProperty("notApplicableAnswer") @Nullable AdditionalChoiceJson notApplicableAnswer, + @JsonProperty("otherAnswer") @Nullable AdditionalChoiceJson otherAnswer, @JsonProperty("required") @Nullable Boolean required) { this.id = id; this.text = text; @@ -116,26 +111,21 @@ public Optional id() { } /** - * Text value of the field. Displays to users in the UI. + * text Value of the Field */ public Optional text() { return Optional.ofNullable(this.text); } /** - * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of - * the question in reports. + * Reporting value of the Category, Its like a custom abbreviation */ public Optional shortText() { return Optional.ofNullable(this.shortText); } /** - * Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: - * Data is one or more options from a list. - * - *

`Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is - * free-text input. + * Field Type */ public Optional type() { return Optional.ofNullable(this.type); @@ -144,26 +134,26 @@ public Optional type() { /** * List of choices for this field. */ - public Optional> choices() { + public Optional> choices() { return Optional.ofNullable(this.choices); } /** - * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + * Contains text of additional choice i.e N/A choice or otherAnswer choice */ - public Optional notApplicableAnswer() { + public Optional notApplicableAnswer() { return Optional.ofNullable(this.notApplicableAnswer); } /** - * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + * Contains text of additional choice i.e N/A choice or otherAnswer choice */ - public Optional otherAnswer() { + public Optional otherAnswer() { return Optional.ofNullable(this.otherAnswer); } /** - * True indicates this is a mandatory question field. + * Is this a mandatory field */ public Optional required() { return Optional.ofNullable(this.required); @@ -182,7 +172,7 @@ public FieldJson withId(@Nullable String id) { } /** - * Text value of the field. Displays to users in the UI. + * text Value of the Field */ public FieldJson withText(@Nullable String text) { this.text = text; @@ -190,8 +180,7 @@ public FieldJson withText(@Nullable String text) { } /** - * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of - * the question in reports. + * Reporting value of the Category, Its like a custom abbreviation */ public FieldJson withShortText(@Nullable String shortText) { this.shortText = shortText; @@ -199,11 +188,7 @@ public FieldJson withShortText(@Nullable String shortText) { } /** - * Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: - * Data is one or more options from a list. - * - *

`Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is - * free-text input. + * Field Type */ public FieldJson withType(@Nullable FieldTypeJson type) { this.type = type; @@ -213,29 +198,29 @@ public FieldJson withType(@Nullable FieldTypeJson type) { /** * List of choices for this field. */ - public FieldJson withChoices(@Nullable List choices) { + public FieldJson withChoices(@Nullable List choices) { this.choices = choices; return this; } /** - * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + * Contains text of additional choice i.e N/A choice or otherAnswer choice */ - public FieldJson withNotApplicableAnswer(@Nullable AdditionalChoiceJson2 notApplicableAnswer) { + public FieldJson withNotApplicableAnswer(@Nullable AdditionalChoiceJson notApplicableAnswer) { this.notApplicableAnswer = notApplicableAnswer; return this; } /** - * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + * Contains text of additional choice i.e N/A choice or otherAnswer choice */ - public FieldJson withOtherAnswer(@Nullable AdditionalChoiceJson2 otherAnswer) { + public FieldJson withOtherAnswer(@Nullable AdditionalChoiceJson otherAnswer) { this.otherAnswer = otherAnswer; return this; } /** - * True indicates this is a mandatory question field. + * Is this a mandatory field */ public FieldJson withRequired(@Nullable Boolean required) { this.required = required; @@ -299,11 +284,11 @@ public static final class Builder { private FieldTypeJson type; - private List choices; + private List choices; - private AdditionalChoiceJson2 notApplicableAnswer; + private AdditionalChoiceJson notApplicableAnswer; - private AdditionalChoiceJson2 otherAnswer; + private AdditionalChoiceJson otherAnswer; private Boolean required; @@ -320,7 +305,7 @@ public Builder id(@Nullable String id) { } /** - * Text value of the field. Displays to users in the UI. + * text Value of the Field */ public Builder text(@Nullable String text) { this.text = text; @@ -328,8 +313,7 @@ public Builder text(@Nullable String text) { } /** - * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of - * the question in reports. + * Reporting value of the Category, Its like a custom abbreviation */ public Builder shortText(@Nullable String shortText) { this.shortText = shortText; @@ -337,11 +321,7 @@ public Builder shortText(@Nullable String shortText) { } /** - * Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: - * Data is one or more options from a list. - * - *

`Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is - * free-text input. + * Field Type */ public Builder type(@Nullable FieldTypeJson type) { this.type = type; @@ -351,29 +331,29 @@ public Builder type(@Nullable FieldTypeJson type) { /** * List of choices for this field. */ - public Builder choices(@Nullable List choices) { + public Builder choices(@Nullable List choices) { this.choices = choices; return this; } /** - * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + * Contains text of additional choice i.e N/A choice or otherAnswer choice */ - public Builder notApplicableAnswer(@Nullable AdditionalChoiceJson2 notApplicableAnswer) { + public Builder notApplicableAnswer(@Nullable AdditionalChoiceJson notApplicableAnswer) { this.notApplicableAnswer = notApplicableAnswer; return this; } /** - * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + * Contains text of additional choice i.e N/A choice or otherAnswer choice */ - public Builder otherAnswer(@Nullable AdditionalChoiceJson2 otherAnswer) { + public Builder otherAnswer(@Nullable AdditionalChoiceJson otherAnswer) { this.otherAnswer = otherAnswer; return this; } /** - * True indicates this is a mandatory question field. + * Is this a mandatory field */ public Builder required(@Nullable Boolean required) { this.required = required; diff --git a/packages/java/src/main/java/com/cvent/models/components/FieldJson2.java b/packages/java/src/main/java/com/cvent/models/components/FieldJson2.java deleted file mode 100644 index 5d8e7355f..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/FieldJson2.java +++ /dev/null @@ -1,370 +0,0 @@ -/* - * 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.List; -import java.util.Optional; - -/** - * FieldJson2 - * - *

A survey field. - */ -public class FieldJson2 { - /** - * Text field ID. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * text Value of the Field - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("text") - private String text; - - /** - * Reporting value of the Category, Its like a custom abbreviation - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("shortText") - private String shortText; - - /** - * Field Type - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private FieldTypeJson2 type; - - /** - * List of choices for this field. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("choices") - private List choices; - - /** - * Contains text of additional choice i.e N/A choice or otherAnswer choice - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("notApplicableAnswer") - private AdditionalChoiceJson1 notApplicableAnswer; - - /** - * Contains text of additional choice i.e N/A choice or otherAnswer choice - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("otherAnswer") - private AdditionalChoiceJson1 otherAnswer; - - /** - * Is this a mandatory field - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("required") - private Boolean required; - - @JsonCreator - public FieldJson2( - @JsonProperty("id") @Nullable String id, - @JsonProperty("text") @Nullable String text, - @JsonProperty("shortText") @Nullable String shortText, - @JsonProperty("type") @Nullable FieldTypeJson2 type, - @JsonProperty("choices") @Nullable List choices, - @JsonProperty("notApplicableAnswer") @Nullable AdditionalChoiceJson1 notApplicableAnswer, - @JsonProperty("otherAnswer") @Nullable AdditionalChoiceJson1 otherAnswer, - @JsonProperty("required") @Nullable Boolean required) { - this.id = id; - this.text = text; - this.shortText = shortText; - this.type = type; - this.choices = choices; - this.notApplicableAnswer = notApplicableAnswer; - this.otherAnswer = otherAnswer; - this.required = Optional.ofNullable(required).orElse(Builder._SINGLETON_VALUE_Required.value()); - } - - public FieldJson2() { - this(null, null, null, null, null, null, null, null); - } - - /** - * Text field ID. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * text Value of the Field - */ - public Optional text() { - return Optional.ofNullable(this.text); - } - - /** - * Reporting value of the Category, Its like a custom abbreviation - */ - public Optional shortText() { - return Optional.ofNullable(this.shortText); - } - - /** - * Field Type - */ - public Optional type() { - return Optional.ofNullable(this.type); - } - - /** - * List of choices for this field. - */ - public Optional> choices() { - return Optional.ofNullable(this.choices); - } - - /** - * Contains text of additional choice i.e N/A choice or otherAnswer choice - */ - public Optional notApplicableAnswer() { - return Optional.ofNullable(this.notApplicableAnswer); - } - - /** - * Contains text of additional choice i.e N/A choice or otherAnswer choice - */ - public Optional otherAnswer() { - return Optional.ofNullable(this.otherAnswer); - } - - /** - * Is this a mandatory field - */ - public Optional required() { - return Optional.ofNullable(this.required); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Text field ID. - */ - public FieldJson2 withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * text Value of the Field - */ - public FieldJson2 withText(@Nullable String text) { - this.text = text; - return this; - } - - /** - * Reporting value of the Category, Its like a custom abbreviation - */ - public FieldJson2 withShortText(@Nullable String shortText) { - this.shortText = shortText; - return this; - } - - /** - * Field Type - */ - public FieldJson2 withType(@Nullable FieldTypeJson2 type) { - this.type = type; - return this; - } - - /** - * List of choices for this field. - */ - public FieldJson2 withChoices(@Nullable List choices) { - this.choices = choices; - return this; - } - - /** - * Contains text of additional choice i.e N/A choice or otherAnswer choice - */ - public FieldJson2 withNotApplicableAnswer(@Nullable AdditionalChoiceJson1 notApplicableAnswer) { - this.notApplicableAnswer = notApplicableAnswer; - return this; - } - - /** - * Contains text of additional choice i.e N/A choice or otherAnswer choice - */ - public FieldJson2 withOtherAnswer(@Nullable AdditionalChoiceJson1 otherAnswer) { - this.otherAnswer = otherAnswer; - return this; - } - - /** - * Is this a mandatory field - */ - public FieldJson2 withRequired(@Nullable Boolean required) { - this.required = required; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - FieldJson2 other = (FieldJson2) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.text, other.text) - && Utils.enhancedDeepEquals(this.shortText, other.shortText) - && Utils.enhancedDeepEquals(this.type, other.type) - && Utils.enhancedDeepEquals(this.choices, other.choices) - && Utils.enhancedDeepEquals(this.notApplicableAnswer, other.notApplicableAnswer) - && Utils.enhancedDeepEquals(this.otherAnswer, other.otherAnswer) - && Utils.enhancedDeepEquals(this.required, other.required); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, text, shortText, type, choices, notApplicableAnswer, otherAnswer, required); - } - - @Override - public String toString() { - return Utils.toString( - FieldJson2.class, - "id", - id, - "text", - text, - "shortText", - shortText, - "type", - type, - "choices", - choices, - "notApplicableAnswer", - notApplicableAnswer, - "otherAnswer", - otherAnswer, - "required", - required); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String text; - - private String shortText; - - private FieldTypeJson2 type; - - private List choices; - - private AdditionalChoiceJson1 notApplicableAnswer; - - private AdditionalChoiceJson1 otherAnswer; - - private Boolean required; - - private Builder() { - // force use of static builder() method - } - - /** - * Text field ID. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * text Value of the Field - */ - public Builder text(@Nullable String text) { - this.text = text; - return this; - } - - /** - * Reporting value of the Category, Its like a custom abbreviation - */ - public Builder shortText(@Nullable String shortText) { - this.shortText = shortText; - return this; - } - - /** - * Field Type - */ - public Builder type(@Nullable FieldTypeJson2 type) { - this.type = type; - return this; - } - - /** - * List of choices for this field. - */ - public Builder choices(@Nullable List choices) { - this.choices = choices; - return this; - } - - /** - * Contains text of additional choice i.e N/A choice or otherAnswer choice - */ - public Builder notApplicableAnswer(@Nullable AdditionalChoiceJson1 notApplicableAnswer) { - this.notApplicableAnswer = notApplicableAnswer; - return this; - } - - /** - * Contains text of additional choice i.e N/A choice or otherAnswer choice - */ - public Builder otherAnswer(@Nullable AdditionalChoiceJson1 otherAnswer) { - this.otherAnswer = otherAnswer; - return this; - } - - /** - * Is this a mandatory field - */ - public Builder required(@Nullable Boolean required) { - this.required = required; - return this; - } - - public FieldJson2 build() { - return new FieldJson2(id, text, shortText, type, choices, notApplicableAnswer, otherAnswer, required); - } - - private static final LazySingletonValue _SINGLETON_VALUE_Required = - new LazySingletonValue<>("required", "false", new TypeReference() {}); - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/FieldType.java b/packages/java/src/main/java/com/cvent/models/components/FieldType.java new file mode 100644 index 000000000..b2eae83ca --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/FieldType.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; + +/** + * FieldType + * + *

Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: + * Data is one or more options from a list. + * + *

`Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is + * free-text input. + */ +public enum FieldType { + DATE_TIME("DateTime"), + MULTI_CHOICE("MultiChoice"), + NUMBER("Number"), + SINGLE_CHOICE("SingleChoice"), + TEXT("Text"); + + @JsonValue + private final String value; + + FieldType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (FieldType o : FieldType.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/FieldTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/FieldTypeJson.java index fd2e1c10b..886da24e9 100644 --- a/packages/java/src/main/java/com/cvent/models/components/FieldTypeJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/FieldTypeJson.java @@ -11,17 +11,13 @@ /** * FieldTypeJson * - *

Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: - * Data is one or more options from a list. - * - *

`Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is - * free-text input. + *

Field Type */ public enum FieldTypeJson { - DATE_TIME("DateTime"), + SINGLE_CHOICE("SingleChoice"), MULTI_CHOICE("MultiChoice"), + DATE_TIME("DateTime"), NUMBER("Number"), - SINGLE_CHOICE("SingleChoice"), TEXT("Text"); @JsonValue diff --git a/packages/java/src/main/java/com/cvent/models/components/FieldTypeJson2.java b/packages/java/src/main/java/com/cvent/models/components/FieldTypeJson2.java deleted file mode 100644 index 71c65b6b5..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/FieldTypeJson2.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * 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; - -/** - * FieldTypeJson2 - * - *

Field Type - */ -public enum FieldTypeJson2 { - SINGLE_CHOICE("SingleChoice"), - MULTI_CHOICE("MultiChoice"), - DATE_TIME("DateTime"), - NUMBER("Number"), - TEXT("Text"); - - @JsonValue - private final String value; - - FieldTypeJson2(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (FieldTypeJson2 o : FieldTypeJson2.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/FileInput.java b/packages/java/src/main/java/com/cvent/models/components/FileInput.java index 10cdaed16..5a55b4c47 100644 --- a/packages/java/src/main/java/com/cvent/models/components/FileInput.java +++ b/packages/java/src/main/java/com/cvent/models/components/FileInput.java @@ -27,7 +27,7 @@ public class FileInput { * The Associated Event. */ @JsonProperty("event") - private Event21 event; + private Event3 event; /** * The Associated Exhibitor. @@ -56,7 +56,7 @@ public class FileInput { @JsonCreator public FileInput( - @JsonProperty("event") @Nonnull Event21 event, + @JsonProperty("event") @Nonnull Event3 event, @JsonProperty("exhibitor") @Nonnull Exhibitor exhibitor, @JsonProperty("displayName") @Nonnull String displayName, @JsonProperty("hidden") @Nullable Boolean hidden, @@ -70,14 +70,14 @@ public FileInput( this.order = order; } - public FileInput(@Nonnull Event21 event, @Nonnull Exhibitor exhibitor, @Nonnull String displayName, long order) { + public FileInput(@Nonnull Event3 event, @Nonnull Exhibitor exhibitor, @Nonnull String displayName, long order) { this(event, exhibitor, displayName, null, order); } /** * The Associated Event. */ - public Event21 event() { + public Event3 event() { return this.event; } @@ -116,7 +116,7 @@ public static Builder builder() { /** * The Associated Event. */ - public FileInput withEvent(@Nonnull Event21 event) { + public FileInput withEvent(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -193,7 +193,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private Event21 event; + private Event3 event; private Exhibitor exhibitor; @@ -210,7 +210,7 @@ private Builder() { /** * The Associated Event. */ - public Builder event(@Nonnull Event21 event) { + public Builder event(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/FormatType.java b/packages/java/src/main/java/com/cvent/models/components/FormatType.java new file mode 100644 index 000000000..16495e87e --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/FormatType.java @@ -0,0 +1,39 @@ +/* + * 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; + +/** + * FormatType + * + *

Proposal format. + */ +public enum FormatType { + GBTA2013("gbta2013"), + UNIVERSAL("universal"); + + @JsonValue + private final String value; + + FormatType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (FormatType o : FormatType.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/FormatTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/FormatTypeJson.java deleted file mode 100644 index 49d17db46..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/FormatTypeJson.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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; - -/** - * FormatTypeJson - * - *

Proposal format. - */ -public enum FormatTypeJson { - GBTA2013("gbta2013"), - UNIVERSAL("universal"); - - @JsonValue - private final String value; - - FormatTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (FormatTypeJson o : FormatTypeJson.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/GenderJson.java b/packages/java/src/main/java/com/cvent/models/components/GenderJson.java deleted file mode 100644 index 04131f172..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/GenderJson.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * 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; - -/** - * GenderJson - * - *

The gender of the contact. - */ -public enum GenderJson { - MALE("Male"), - FEMALE("Female"), - NON_BINARY("Non-binary"), - RATHER_NOT_SAY("Rather not say"); - - @JsonValue - private final String value; - - GenderJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (GenderJson o : GenderJson.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/GuestJson.java b/packages/java/src/main/java/com/cvent/models/components/GuestJson.java index 246105aa8..f49f8a251 100644 --- a/packages/java/src/main/java/com/cvent/models/components/GuestJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/GuestJson.java @@ -110,7 +110,7 @@ public class GuestJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("homeAddress") - private AddressJson2 homeAddress; + private AddressJson homeAddress; /** * Payment information. @@ -133,7 +133,7 @@ public GuestJson( @JsonProperty("email") @Nullable String email, @JsonProperty("homePhone") @Nullable String homePhone, @JsonProperty("workPhone") @Nullable String workPhone, - @JsonProperty("homeAddress") @Nullable AddressJson2 homeAddress, + @JsonProperty("homeAddress") @Nullable AddressJson homeAddress, @JsonProperty("paymentInfo") @Nullable PaymentInfoJson paymentInfo) { this.arrival = arrival; this.departure = departure; @@ -244,7 +244,7 @@ public Optional workPhone() { * Address details. Required to create/update a guest's reservation if the hotel/event requires an * address in reservations. */ - public Optional homeAddress() { + public Optional homeAddress() { return Optional.ofNullable(this.homeAddress); } @@ -359,7 +359,7 @@ public GuestJson withWorkPhone(@Nullable String workPhone) { * Address details. Required to create/update a guest's reservation if the hotel/event requires an * address in reservations. */ - public GuestJson withHomeAddress(@Nullable AddressJson2 homeAddress) { + public GuestJson withHomeAddress(@Nullable AddressJson homeAddress) { this.homeAddress = homeAddress; return this; } @@ -477,7 +477,7 @@ public static final class Builder { private String workPhone; - private AddressJson2 homeAddress; + private AddressJson homeAddress; private PaymentInfoJson paymentInfo; @@ -585,7 +585,7 @@ public Builder workPhone(@Nullable String workPhone) { * Address details. Required to create/update a guest's reservation if the hotel/event requires an * address in reservations. */ - public Builder homeAddress(@Nullable AddressJson2 homeAddress) { + public Builder homeAddress(@Nullable AddressJson homeAddress) { this.homeAddress = homeAddress; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/GuestRoomOccupancy.java b/packages/java/src/main/java/com/cvent/models/components/GuestRoomOccupancy.java new file mode 100644 index 000000000..13baefb20 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/GuestRoomOccupancy.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; + +/** + * GuestRoomOccupancy + * + *

Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. + * + *

`TRIPLE`: Three occupants. `QUAD`: Four occupants. + */ +public enum GuestRoomOccupancy { + SINGLE("SINGLE"), + DOUBLE("DOUBLE"), + TRIPLE("TRIPLE"), + QUAD("QUAD"); + + @JsonValue + private final String value; + + GuestRoomOccupancy(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (GuestRoomOccupancy o : GuestRoomOccupancy.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/GuestRoomOccupancyJson.java b/packages/java/src/main/java/com/cvent/models/components/GuestRoomOccupancyJson.java deleted file mode 100644 index 4d50a59a0..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/GuestRoomOccupancyJson.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * 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; - -/** - * GuestRoomOccupancyJson - * - *

Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. - * - *

`TRIPLE`: Three occupants. `QUAD`: Four occupants. - */ -public enum GuestRoomOccupancyJson { - SINGLE("SINGLE"), - DOUBLE("DOUBLE"), - TRIPLE("TRIPLE"), - QUAD("QUAD"); - - @JsonValue - private final String value; - - GuestRoomOccupancyJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (GuestRoomOccupancyJson o : GuestRoomOccupancyJson.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/GuestRoomOccupancyPerRoomType.java b/packages/java/src/main/java/com/cvent/models/components/GuestRoomOccupancyPerRoomType.java new file mode 100644 index 000000000..3bf174921 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/GuestRoomOccupancyPerRoomType.java @@ -0,0 +1,151 @@ +/* + * 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; + +/** + * GuestRoomOccupancyPerRoomType + * + *

Room occupancy for a room type. + */ +public class GuestRoomOccupancyPerRoomType { + /** + * Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. + * + *

`TRIPLE`: Three occupants. `QUAD`: Four occupants. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("occupancy") + private GuestRoomOccupancy occupancy; + + /** + * 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private GuestRoomType type; + + @JsonCreator + public GuestRoomOccupancyPerRoomType( + @JsonProperty("occupancy") @Nullable GuestRoomOccupancy occupancy, + @JsonProperty("type") @Nullable GuestRoomType type) { + this.occupancy = occupancy; + this.type = type; + } + + public GuestRoomOccupancyPerRoomType() { + this(null, null); + } + + /** + * Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. + * + *

`TRIPLE`: Three occupants. `QUAD`: Four occupants. + */ + public Optional occupancy() { + return Optional.ofNullable(this.occupancy); + } + + /** + * 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. + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. + * + *

`TRIPLE`: Three occupants. `QUAD`: Four occupants. + */ + public GuestRoomOccupancyPerRoomType withOccupancy(@Nullable GuestRoomOccupancy occupancy) { + this.occupancy = occupancy; + return this; + } + + /** + * 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. + */ + public GuestRoomOccupancyPerRoomType withType(@Nullable GuestRoomType type) { + this.type = type; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GuestRoomOccupancyPerRoomType other = (GuestRoomOccupancyPerRoomType) o; + return Utils.enhancedDeepEquals(this.occupancy, other.occupancy) && Utils.enhancedDeepEquals(this.type, other.type); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(occupancy, type); + } + + @Override + public String toString() { + return Utils.toString(GuestRoomOccupancyPerRoomType.class, "occupancy", occupancy, "type", type); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private GuestRoomOccupancy occupancy; + + private GuestRoomType type; + + private Builder() { + // force use of static builder() method + } + + /** + * Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. + * + *

`TRIPLE`: Three occupants. `QUAD`: Four occupants. + */ + public Builder occupancy(@Nullable GuestRoomOccupancy occupancy) { + this.occupancy = occupancy; + return this; + } + + /** + * 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. + */ + public Builder type(@Nullable GuestRoomType type) { + this.type = type; + return this; + } + + public GuestRoomOccupancyPerRoomType build() { + return new GuestRoomOccupancyPerRoomType(occupancy, type); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/GuestRoomOccupancyPerRoomTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/GuestRoomOccupancyPerRoomTypeJson.java deleted file mode 100644 index 0004043e9..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/GuestRoomOccupancyPerRoomTypeJson.java +++ /dev/null @@ -1,151 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * GuestRoomOccupancyPerRoomTypeJson - * - *

Room occupancy for a room type. - */ -public class GuestRoomOccupancyPerRoomTypeJson { - /** - * Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. - * - *

`TRIPLE`: Three occupants. `QUAD`: Four occupants. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("occupancy") - private GuestRoomOccupancyJson occupancy; - - /** - * 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. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private GuestRoomTypeJson type; - - @JsonCreator - public GuestRoomOccupancyPerRoomTypeJson( - @JsonProperty("occupancy") @Nullable GuestRoomOccupancyJson occupancy, - @JsonProperty("type") @Nullable GuestRoomTypeJson type) { - this.occupancy = occupancy; - this.type = type; - } - - public GuestRoomOccupancyPerRoomTypeJson() { - this(null, null); - } - - /** - * Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. - * - *

`TRIPLE`: Three occupants. `QUAD`: Four occupants. - */ - public Optional occupancy() { - return Optional.ofNullable(this.occupancy); - } - - /** - * 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. - */ - public Optional type() { - return Optional.ofNullable(this.type); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. - * - *

`TRIPLE`: Three occupants. `QUAD`: Four occupants. - */ - public GuestRoomOccupancyPerRoomTypeJson withOccupancy(@Nullable GuestRoomOccupancyJson occupancy) { - this.occupancy = occupancy; - return this; - } - - /** - * 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. - */ - public GuestRoomOccupancyPerRoomTypeJson withType(@Nullable GuestRoomTypeJson type) { - this.type = type; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - GuestRoomOccupancyPerRoomTypeJson other = (GuestRoomOccupancyPerRoomTypeJson) o; - return Utils.enhancedDeepEquals(this.occupancy, other.occupancy) && Utils.enhancedDeepEquals(this.type, other.type); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(occupancy, type); - } - - @Override - public String toString() { - return Utils.toString(GuestRoomOccupancyPerRoomTypeJson.class, "occupancy", occupancy, "type", type); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private GuestRoomOccupancyJson occupancy; - - private GuestRoomTypeJson type; - - private Builder() { - // force use of static builder() method - } - - /** - * Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. - * - *

`TRIPLE`: Three occupants. `QUAD`: Four occupants. - */ - public Builder occupancy(@Nullable GuestRoomOccupancyJson occupancy) { - this.occupancy = occupancy; - return this; - } - - /** - * 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. - */ - public Builder type(@Nullable GuestRoomTypeJson type) { - this.type = type; - return this; - } - - public GuestRoomOccupancyPerRoomTypeJson build() { - return new GuestRoomOccupancyPerRoomTypeJson(occupancy, type); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/GuestRoomType.java b/packages/java/src/main/java/com/cvent/models/components/GuestRoomType.java new file mode 100644 index 000000000..36db8fadb --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/GuestRoomType.java @@ -0,0 +1,44 @@ +/* + * 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; + +/** + * GuestRoomType + * + *

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. + */ +public enum GuestRoomType { + ANY("ANY"), + SINGLE("SINGLE"), + DOUBLE("DOUBLE"), + SUITE("SUITE"), + STAFF("STAFF"); + + @JsonValue + private final String value; + + GuestRoomType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (GuestRoomType o : GuestRoomType.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/GuestRoomTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/GuestRoomTypeJson.java deleted file mode 100644 index 25d71947b..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/GuestRoomTypeJson.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * 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; - -/** - * GuestRoomTypeJson - * - *

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. - */ -public enum GuestRoomTypeJson { - ANY("ANY"), - SINGLE("SINGLE"), - DOUBLE("DOUBLE"), - SUITE("SUITE"), - STAFF("STAFF"); - - @JsonValue - private final String value; - - GuestRoomTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (GuestRoomTypeJson o : GuestRoomTypeJson.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/HlsInputWithClips.java b/packages/java/src/main/java/com/cvent/models/components/HlsInputWithClips.java new file mode 100644 index 000000000..41514a666 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/HlsInputWithClips.java @@ -0,0 +1,136 @@ +/* + * 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; + +/** + * HlsInputWithClips + * + *

HTTP Live Streaming input and clips. + */ +public class HlsInputWithClips { + /** + * Location for HTTP Live Streaming (HLS) recording. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("hlsInput") + private String hlsInput; + + /** + * Clips for the HLS recording. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("clips") + private List clips; + + @JsonCreator + public HlsInputWithClips( + @JsonProperty("hlsInput") @Nullable String hlsInput, + @JsonProperty("clips") @Nullable List clips) { + this.hlsInput = hlsInput; + this.clips = clips; + } + + public HlsInputWithClips() { + this(null, null); + } + + /** + * Location for HTTP Live Streaming (HLS) recording. + */ + public Optional hlsInput() { + return Optional.ofNullable(this.hlsInput); + } + + /** + * Clips for the HLS recording. + */ + public Optional> clips() { + return Optional.ofNullable(this.clips); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Location for HTTP Live Streaming (HLS) recording. + */ + public HlsInputWithClips withHlsInput(@Nullable String hlsInput) { + this.hlsInput = hlsInput; + return this; + } + + /** + * Clips for the HLS recording. + */ + public HlsInputWithClips withClips(@Nullable List clips) { + this.clips = clips; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + HlsInputWithClips other = (HlsInputWithClips) o; + return Utils.enhancedDeepEquals(this.hlsInput, other.hlsInput) && Utils.enhancedDeepEquals(this.clips, other.clips); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(hlsInput, clips); + } + + @Override + public String toString() { + return Utils.toString(HlsInputWithClips.class, "hlsInput", hlsInput, "clips", clips); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String hlsInput; + + private List clips; + + private Builder() { + // force use of static builder() method + } + + /** + * Location for HTTP Live Streaming (HLS) recording. + */ + public Builder hlsInput(@Nullable String hlsInput) { + this.hlsInput = hlsInput; + return this; + } + + /** + * Clips for the HLS recording. + */ + public Builder clips(@Nullable List clips) { + this.clips = clips; + return this; + } + + public HlsInputWithClips build() { + return new HlsInputWithClips(hlsInput, clips); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/HlsInputWithClipsJson.java b/packages/java/src/main/java/com/cvent/models/components/HlsInputWithClipsJson.java deleted file mode 100644 index 07b3c6cb6..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/HlsInputWithClipsJson.java +++ /dev/null @@ -1,136 +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.Override; -import java.lang.String; -import java.util.List; -import java.util.Optional; - -/** - * HlsInputWithClipsJson - * - *

HTTP Live Streaming input and clips. - */ -public class HlsInputWithClipsJson { - /** - * Location for HTTP Live Streaming (HLS) recording. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("hlsInput") - private String hlsInput; - - /** - * Clips for the HLS recording. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("clips") - private List clips; - - @JsonCreator - public HlsInputWithClipsJson( - @JsonProperty("hlsInput") @Nullable String hlsInput, - @JsonProperty("clips") @Nullable List clips) { - this.hlsInput = hlsInput; - this.clips = clips; - } - - public HlsInputWithClipsJson() { - this(null, null); - } - - /** - * Location for HTTP Live Streaming (HLS) recording. - */ - public Optional hlsInput() { - return Optional.ofNullable(this.hlsInput); - } - - /** - * Clips for the HLS recording. - */ - public Optional> clips() { - return Optional.ofNullable(this.clips); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Location for HTTP Live Streaming (HLS) recording. - */ - public HlsInputWithClipsJson withHlsInput(@Nullable String hlsInput) { - this.hlsInput = hlsInput; - return this; - } - - /** - * Clips for the HLS recording. - */ - public HlsInputWithClipsJson withClips(@Nullable List clips) { - this.clips = clips; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - HlsInputWithClipsJson other = (HlsInputWithClipsJson) o; - return Utils.enhancedDeepEquals(this.hlsInput, other.hlsInput) && Utils.enhancedDeepEquals(this.clips, other.clips); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(hlsInput, clips); - } - - @Override - public String toString() { - return Utils.toString(HlsInputWithClipsJson.class, "hlsInput", hlsInput, "clips", clips); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String hlsInput; - - private List clips; - - private Builder() { - // force use of static builder() method - } - - /** - * Location for HTTP Live Streaming (HLS) recording. - */ - public Builder hlsInput(@Nullable String hlsInput) { - this.hlsInput = hlsInput; - return this; - } - - /** - * Clips for the HLS recording. - */ - public Builder clips(@Nullable List clips) { - this.clips = clips; - return this; - } - - public HlsInputWithClipsJson build() { - return new HlsInputWithClipsJson(hlsInput, clips); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/HotelRequest.java b/packages/java/src/main/java/com/cvent/models/components/HotelRequest.java index 6d1537cdd..965875814 100644 --- a/packages/java/src/main/java/com/cvent/models/components/HotelRequest.java +++ b/packages/java/src/main/java/com/cvent/models/components/HotelRequest.java @@ -294,7 +294,7 @@ public class HotelRequest { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("hotelAddress") - private Address3 hotelAddress; + private Address5 hotelAddress; /** * Collection of hotel room rates the requester has taken. @@ -349,7 +349,7 @@ public HotelRequest( @JsonProperty("latestShoulderDate") @Nullable OffsetDateTime latestShoulderDate, @JsonProperty("roomTaxBillingExceptions") @Nullable String roomTaxBillingExceptions, @JsonProperty("incidentalBillingExceptions") @Nullable String incidentalBillingExceptions, - @JsonProperty("hotelAddress") @Nullable Address3 hotelAddress, + @JsonProperty("hotelAddress") @Nullable Address5 hotelAddress, @JsonProperty("hotelRoomRates") @Nullable List hotelRoomRates, @JsonProperty("hotelRequestAnswers") @Nullable List hotelRequestAnswers) { this.created = created; @@ -706,7 +706,7 @@ public Optional incidentalBillingExceptions() { /** * Address of the hotel. */ - public Optional hotelAddress() { + public Optional hotelAddress() { return Optional.ofNullable(this.hotelAddress); } @@ -1033,7 +1033,7 @@ public HotelRequest withIncidentalBillingExceptions(@Nullable String incidentalB /** * Address of the hotel. */ - public HotelRequest withHotelAddress(@Nullable Address3 hotelAddress) { + public HotelRequest withHotelAddress(@Nullable Address5 hotelAddress) { this.hotelAddress = hotelAddress; return this; } @@ -1313,7 +1313,7 @@ public static final class Builder { private String incidentalBillingExceptions; - private Address3 hotelAddress; + private Address5 hotelAddress; private List hotelRoomRates; @@ -1628,7 +1628,7 @@ public Builder incidentalBillingExceptions(@Nullable String incidentalBillingExc /** * Address of the hotel. */ - public Builder hotelAddress(@Nullable Address3 hotelAddress) { + public Builder hotelAddress(@Nullable Address5 hotelAddress) { this.hotelAddress = hotelAddress; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/HousingEventHotel.java b/packages/java/src/main/java/com/cvent/models/components/HousingEventHotel.java index ac0689a15..d3af5c448 100644 --- a/packages/java/src/main/java/com/cvent/models/components/HousingEventHotel.java +++ b/packages/java/src/main/java/com/cvent/models/components/HousingEventHotel.java @@ -86,7 +86,7 @@ public class HousingEventHotel { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("address") - private AddressJson2 address; + private AddressJson address; @JsonCreator public HousingEventHotel( @@ -99,7 +99,7 @@ public HousingEventHotel( @JsonProperty("proximity") @Nullable ProximityJson proximity, @JsonProperty("amenities") @Nullable List amenities, @JsonProperty("rating") @Nullable HotelRatingJson rating, - @JsonProperty("address") @Nullable AddressJson2 address) { + @JsonProperty("address") @Nullable AddressJson address) { this.id = id; this.housingEvent = Optional.ofNullable(housingEvent) .orElseThrow(() -> new IllegalArgumentException("housingEvent cannot be null")); @@ -186,7 +186,7 @@ public Optional rating() { * Address details. Required to create/update a guest's reservation if the hotel/event requires an * address in reservations. */ - public Optional address() { + public Optional address() { return Optional.ofNullable(this.address); } @@ -270,7 +270,7 @@ public HousingEventHotel withRating(@Nullable HotelRatingJson rating) { * Address details. Required to create/update a guest's reservation if the hotel/event requires an * address in reservations. */ - public HousingEventHotel withAddress(@Nullable AddressJson2 address) { + public HousingEventHotel withAddress(@Nullable AddressJson address) { this.address = address; return this; } @@ -349,7 +349,7 @@ public static final class Builder { private HotelRatingJson rating; - private AddressJson2 address; + private AddressJson address; private Builder() { // force use of static builder() method @@ -431,7 +431,7 @@ public Builder rating(@Nullable HotelRatingJson rating) { * Address details. Required to create/update a guest's reservation if the hotel/event requires an * address in reservations. */ - public Builder address(@Nullable AddressJson2 address) { + public Builder address(@Nullable AddressJson address) { this.address = address; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/HousingEventSummaryList.java b/packages/java/src/main/java/com/cvent/models/components/HousingEventSummaryList.java index c12c43baf..85864f149 100644 --- a/packages/java/src/main/java/com/cvent/models/components/HousingEventSummaryList.java +++ b/packages/java/src/main/java/com/cvent/models/components/HousingEventSummaryList.java @@ -28,11 +28,11 @@ public class HousingEventSummaryList { * List of housing events with key information, providing a summarized view of each event. */ @JsonProperty("data") - private List data; + private List data; @JsonCreator public HousingEventSummaryList( - @JsonProperty("paging") @Nonnull PagingJson paging, @JsonProperty("data") @Nonnull List data) { + @JsonProperty("paging") @Nonnull PagingJson 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")); @@ -48,7 +48,7 @@ public PagingJson paging() { /** * List of housing events with key information, providing a summarized view of each event. */ - public List data() { + public List data() { return this.data; } @@ -67,7 +67,7 @@ public HousingEventSummaryList withPaging(@Nonnull PagingJson paging) { /** * List of housing events with key information, providing a summarized view of each event. */ - public HousingEventSummaryList withData(@Nonnull List data) { + public HousingEventSummaryList withData(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } @@ -99,7 +99,7 @@ public static final class Builder { private PagingJson paging; - private List data; + private List data; private Builder() { // force use of static builder() method @@ -116,7 +116,7 @@ public Builder paging(@Nonnull PagingJson paging) { /** * List of housing events with key information, providing a summarized view of each event. */ - public Builder data(@Nonnull List data) { + public Builder data(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/IdJson.java b/packages/java/src/main/java/com/cvent/models/components/IdJson.java deleted file mode 100644 index b4ab80adf..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/IdJson.java +++ /dev/null @@ -1,93 +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.Optional; - -/** - * IdJson - * - *

An entity which only has an id. - */ -public class IdJson { - /** - * The entity's id value. - */ - @JsonProperty("id") - private String id; - - @JsonCreator - public IdJson(@JsonProperty("id") @Nonnull String id) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - } - - /** - * The entity's id value. - */ - public String id() { - return this.id; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The entity's id value. - */ - public IdJson 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; - } - IdJson other = (IdJson) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(IdJson.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * The entity's id value. - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - public IdJson build() { - return new IdJson(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/IdOnlyEntity.java b/packages/java/src/main/java/com/cvent/models/components/IdOnlyEntity.java new file mode 100644 index 000000000..e6ab1a15c --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/IdOnlyEntity.java @@ -0,0 +1,93 @@ +/* + * 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; + +/** + * IdOnlyEntity + * + *

An entity which only has an id. + */ +public class IdOnlyEntity { + /** + * The entity's id value. + */ + @JsonProperty("id") + private String id; + + @JsonCreator + public IdOnlyEntity(@JsonProperty("id") @Nonnull String id) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + } + + /** + * The entity's id value. + */ + public String id() { + return this.id; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The entity's id value. + */ + public IdOnlyEntity 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; + } + IdOnlyEntity other = (IdOnlyEntity) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(IdOnlyEntity.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * The entity's id value. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + public IdOnlyEntity build() { + return new IdOnlyEntity(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/Industry1.java b/packages/java/src/main/java/com/cvent/models/components/Industry1.java new file mode 100644 index 000000000..96867f4e8 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Industry1.java @@ -0,0 +1,56 @@ +/* + * 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; + +/** + * Industry1 + * + *

Industry + */ +public enum Industry1 { + AGRICULTURE_AND_MINING("AGRICULTURE_AND_MINING"), + BUSINESS_SERVICES("BUSINESS_SERVICES"), + COMPUTERS_AND_ELECTRONICS("COMPUTERS_AND_ELECTRONICS"), + CONSUMER_SERVICES("CONSUMER_SERVICES"), + EDUCATION("EDUCATION"), + ENERGY_AND_UTILITIES("ENERGY_AND_UTILITIES"), + FINANCIAL_SERVICES("FINANCIAL_SERVICES"), + GOVERNMENT("GOVERNMENT"), + HEALTHCARE_PHARMACEUTICALS_AND_BIOTECH("HEALTHCARE_PHARMACEUTICALS_AND_BIOTECH"), + MANUFACTURING("MANUFACTURING"), + MEDIA_AND_ENTERTAINMENT("MEDIA_AND_ENTERTAINMENT"), + OTHER("OTHER"), + REAL_ESTATE_AND_CONSTRUCTION("REAL_ESTATE_AND_CONSTRUCTION"), + RETAIL("RETAIL"), + SOFTWARE_AND_INTERNET("SOFTWARE_AND_INTERNET"), + TELECOMMUNICATIONS("TELECOMMUNICATIONS"), + TRANSPORTATION_AND_STORAGE("TRANSPORTATION_AND_STORAGE"), + TRAVEL_RECREATION_AND_LEISURE("TRAVEL_RECREATION_AND_LEISURE"), + WHOLESALE_AND_DISTRIBUTION("WHOLESALE_AND_DISTRIBUTION"); + + @JsonValue + private final String value; + + Industry1(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (Industry1 o : Industry1.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/IndustryJson0.java b/packages/java/src/main/java/com/cvent/models/components/IndustryJson0.java deleted file mode 100644 index a253c5a58..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/IndustryJson0.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * 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; - -/** - * IndustryJson0 - * - *

Industry - */ -public enum IndustryJson0 { - AGRICULTURE_AND_MINING("AGRICULTURE_AND_MINING"), - BUSINESS_SERVICES("BUSINESS_SERVICES"), - COMPUTERS_AND_ELECTRONICS("COMPUTERS_AND_ELECTRONICS"), - CONSUMER_SERVICES("CONSUMER_SERVICES"), - EDUCATION("EDUCATION"), - ENERGY_AND_UTILITIES("ENERGY_AND_UTILITIES"), - FINANCIAL_SERVICES("FINANCIAL_SERVICES"), - GOVERNMENT("GOVERNMENT"), - HEALTHCARE_PHARMACEUTICALS_AND_BIOTECH("HEALTHCARE_PHARMACEUTICALS_AND_BIOTECH"), - MANUFACTURING("MANUFACTURING"), - MEDIA_AND_ENTERTAINMENT("MEDIA_AND_ENTERTAINMENT"), - OTHER("OTHER"), - REAL_ESTATE_AND_CONSTRUCTION("REAL_ESTATE_AND_CONSTRUCTION"), - RETAIL("RETAIL"), - SOFTWARE_AND_INTERNET("SOFTWARE_AND_INTERNET"), - TELECOMMUNICATIONS("TELECOMMUNICATIONS"), - TRANSPORTATION_AND_STORAGE("TRANSPORTATION_AND_STORAGE"), - TRAVEL_RECREATION_AND_LEISURE("TRAVEL_RECREATION_AND_LEISURE"), - WHOLESALE_AND_DISTRIBUTION("WHOLESALE_AND_DISTRIBUTION"); - - @JsonValue - private final String value; - - IndustryJson0(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (IndustryJson0 o : IndustryJson0.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/InvitationListPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/InvitationListPaginatedResponse.java index 3be11d5e6..1c92939d1 100644 --- a/packages/java/src/main/java/com/cvent/models/components/InvitationListPaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/InvitationListPaginatedResponse.java @@ -22,7 +22,7 @@ public class InvitationListPaginatedResponse { * Represents pagination information for a collection of resources. */ @JsonProperty("paging") - private PagingJson19 paging; + private PagingJson2 paging; /** * Collection of invitation list objects. @@ -32,7 +32,7 @@ public class InvitationListPaginatedResponse { @JsonCreator public InvitationListPaginatedResponse( - @JsonProperty("paging") @Nonnull PagingJson19 paging, + @JsonProperty("paging") @Nonnull PagingJson2 paging, @JsonProperty("data") @Nonnull List data) { this.paging = Optional.ofNullable(paging).orElseThrow(() -> new IllegalArgumentException("paging cannot be null")); @@ -42,7 +42,7 @@ public InvitationListPaginatedResponse( /** * Represents pagination information for a collection of resources. */ - public PagingJson19 paging() { + public PagingJson2 paging() { return this.paging; } @@ -60,7 +60,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public InvitationListPaginatedResponse withPaging(@Nonnull PagingJson19 paging) { + public InvitationListPaginatedResponse withPaging(@Nonnull PagingJson2 paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } @@ -98,7 +98,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson19 paging; + private PagingJson2 paging; private List data; @@ -109,7 +109,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nonnull PagingJson19 paging) { + public Builder paging(@Nonnull PagingJson2 paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/Lead.java b/packages/java/src/main/java/com/cvent/models/components/Lead.java index dfe5fc117..34a22b61f 100644 --- a/packages/java/src/main/java/com/cvent/models/components/Lead.java +++ b/packages/java/src/main/java/com/cvent/models/components/Lead.java @@ -56,7 +56,7 @@ public class Lead { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("event") - private Event21 event; + private Event3 event; /** * The Associated Exhibitor. @@ -70,7 +70,7 @@ public class Lead { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("attendee") - private Attendee12 attendee; + private Attendee13 attendee; /** * A JSON schema representing Booth Staff entity @@ -140,7 +140,7 @@ public class Lead { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("homeAddress") - private Address12 homeAddress; + private Address11 homeAddress; /** * Home phone number of the lead @@ -154,7 +154,7 @@ public class Lead { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("workAddress") - private Address12 workAddress; + private Address11 workAddress; /** * Work Phone number of the lead @@ -246,9 +246,9 @@ public Lead( @JsonProperty("createdBy") @Nullable String createdBy, @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, - @JsonProperty("event") @Nullable Event21 event, + @JsonProperty("event") @Nullable Event3 event, @JsonProperty("exhibitor") @Nullable Exhibitor exhibitor, - @JsonProperty("attendee") @Nullable Attendee12 attendee, + @JsonProperty("attendee") @Nullable Attendee13 attendee, @JsonProperty("boothStaff") @Nullable BoothStaff boothStaff, @JsonProperty("device") @Nullable Device device, @JsonProperty("appointment") @Nullable Appointment1 appointment, @@ -258,9 +258,9 @@ public Lead( @JsonProperty("email") @Nullable String email, @JsonProperty("company") @Nullable String company, @JsonProperty("mobilePhone") @Nullable String mobilePhone, - @JsonProperty("homeAddress") @Nullable Address12 homeAddress, + @JsonProperty("homeAddress") @Nullable Address11 homeAddress, @JsonProperty("homePhone") @Nullable String homePhone, - @JsonProperty("workAddress") @Nullable Address12 workAddress, + @JsonProperty("workAddress") @Nullable Address11 workAddress, @JsonProperty("workPhone") @Nullable String workPhone, @JsonProperty("type") @Nullable LeadType type, @JsonProperty("application") @Nullable Application application, @@ -372,7 +372,7 @@ public Optional lastModifiedBy() { /** * The Associated Event. */ - public Optional event() { + public Optional event() { return Optional.ofNullable(this.event); } @@ -386,7 +386,7 @@ public Optional exhibitor() { /** * A JSON schema representing the Attendee object */ - public Optional attendee() { + public Optional attendee() { return Optional.ofNullable(this.attendee); } @@ -456,7 +456,7 @@ public Optional mobilePhone() { /** * Schema for address information */ - public Optional homeAddress() { + public Optional homeAddress() { return Optional.ofNullable(this.homeAddress); } @@ -470,7 +470,7 @@ public Optional homePhone() { /** * Schema for address information */ - public Optional workAddress() { + public Optional workAddress() { return Optional.ofNullable(this.workAddress); } @@ -597,7 +597,7 @@ public Lead withLastModifiedBy(@Nullable String lastModifiedBy) { /** * The Associated Event. */ - public Lead withEvent(@Nullable Event21 event) { + public Lead withEvent(@Nullable Event3 event) { this.event = event; return this; } @@ -613,7 +613,7 @@ public Lead withExhibitor(@Nullable Exhibitor exhibitor) { /** * A JSON schema representing the Attendee object */ - public Lead withAttendee(@Nullable Attendee12 attendee) { + public Lead withAttendee(@Nullable Attendee13 attendee) { this.attendee = attendee; return this; } @@ -693,7 +693,7 @@ public Lead withMobilePhone(@Nullable String mobilePhone) { /** * Schema for address information */ - public Lead withHomeAddress(@Nullable Address12 homeAddress) { + public Lead withHomeAddress(@Nullable Address11 homeAddress) { this.homeAddress = homeAddress; return this; } @@ -709,7 +709,7 @@ public Lead withHomePhone(@Nullable String homePhone) { /** * Schema for address information */ - public Lead withWorkAddress(@Nullable Address12 workAddress) { + public Lead withWorkAddress(@Nullable Address11 workAddress) { this.workAddress = workAddress; return this; } @@ -967,11 +967,11 @@ public static final class Builder { private String lastModifiedBy; - private Event21 event; + private Event3 event; private Exhibitor exhibitor; - private Attendee12 attendee; + private Attendee13 attendee; private BoothStaff boothStaff; @@ -991,11 +991,11 @@ public static final class Builder { private String mobilePhone; - private Address12 homeAddress; + private Address11 homeAddress; private String homePhone; - private Address12 workAddress; + private Address11 workAddress; private String workPhone; @@ -1060,7 +1060,7 @@ public Builder lastModifiedBy(@Nullable String lastModifiedBy) { /** * The Associated Event. */ - public Builder event(@Nullable Event21 event) { + public Builder event(@Nullable Event3 event) { this.event = event; return this; } @@ -1076,7 +1076,7 @@ public Builder exhibitor(@Nullable Exhibitor exhibitor) { /** * A JSON schema representing the Attendee object */ - public Builder attendee(@Nullable Attendee12 attendee) { + public Builder attendee(@Nullable Attendee13 attendee) { this.attendee = attendee; return this; } @@ -1156,7 +1156,7 @@ public Builder mobilePhone(@Nullable String mobilePhone) { /** * Schema for address information */ - public Builder homeAddress(@Nullable Address12 homeAddress) { + public Builder homeAddress(@Nullable Address11 homeAddress) { this.homeAddress = homeAddress; return this; } @@ -1172,7 +1172,7 @@ public Builder homePhone(@Nullable String homePhone) { /** * Schema for address information */ - public Builder workAddress(@Nullable Address12 workAddress) { + public Builder workAddress(@Nullable Address11 workAddress) { this.workAddress = workAddress; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/LeadQualificationAnswers.java b/packages/java/src/main/java/com/cvent/models/components/LeadQualificationAnswers.java index f1c176801..5d7ea4dbe 100644 --- a/packages/java/src/main/java/com/cvent/models/components/LeadQualificationAnswers.java +++ b/packages/java/src/main/java/com/cvent/models/components/LeadQualificationAnswers.java @@ -68,7 +68,7 @@ public class LeadQualificationAnswers { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("event") - private Event21 event; + private Event3 event; /** * The Associated Exhibitor. @@ -99,7 +99,7 @@ public LeadQualificationAnswers( @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, @JsonProperty("id") @Nullable String id, @JsonProperty("question") @Nullable Uuid question, - @JsonProperty("event") @Nullable Event21 event, + @JsonProperty("event") @Nullable Event3 event, @JsonProperty("exhibitor") @Nullable Exhibitor exhibitor, @JsonProperty("lead") @Nullable Lead2 lead, @JsonProperty("answers") @Nullable List answers) { @@ -164,7 +164,7 @@ public Optional question() { /** * The Associated Event. */ - public Optional event() { + public Optional event() { return Optional.ofNullable(this.event); } @@ -244,7 +244,7 @@ public LeadQualificationAnswers withQuestion(@Nullable Uuid question) { /** * The Associated Event. */ - public LeadQualificationAnswers withEvent(@Nullable Event21 event) { + public LeadQualificationAnswers withEvent(@Nullable Event3 event) { this.event = event; return this; } @@ -341,7 +341,7 @@ public static final class Builder { private Uuid question; - private Event21 event; + private Event3 event; private Exhibitor exhibitor; @@ -404,7 +404,7 @@ public Builder question(@Nullable Uuid question) { /** * The Associated Event. */ - public Builder event(@Nullable Event21 event) { + public Builder event(@Nullable Event3 event) { this.event = event; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/LeadQualificationQuestion.java b/packages/java/src/main/java/com/cvent/models/components/LeadQualificationQuestion.java index 291254784..2bdb67727 100644 --- a/packages/java/src/main/java/com/cvent/models/components/LeadQualificationQuestion.java +++ b/packages/java/src/main/java/com/cvent/models/components/LeadQualificationQuestion.java @@ -62,7 +62,7 @@ public class LeadQualificationQuestion { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("event") - private Event21 event; + private Event3 event; /** * The Associated Exhibitor. @@ -90,21 +90,21 @@ public class LeadQualificationQuestion { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("choices") - private List choices; + private List choices; /** * Contains text of additional choice */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("notApplicableAnswer") - private AdditionalChoice notApplicableAnswer; + private AdditionalChoice1 notApplicableAnswer; /** * Contains text of additional choice */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("otherAnswers") - private AdditionalChoice otherAnswers; + private AdditionalChoice1 otherAnswers; /** * A boolean indicating whether the question is mandatory or not @@ -127,13 +127,13 @@ public LeadQualificationQuestion( @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, @JsonProperty("id") @Nullable String id, - @JsonProperty("event") @Nullable Event21 event, + @JsonProperty("event") @Nullable Event3 event, @JsonProperty("exhibitor") @Nullable Exhibitor exhibitor, @JsonProperty("type") @Nullable LeadQualificationQuestionType type, @JsonProperty("code") @Nullable String code, - @JsonProperty("choices") @Nullable List choices, - @JsonProperty("notApplicableAnswer") @Nullable AdditionalChoice notApplicableAnswer, - @JsonProperty("otherAnswers") @Nullable AdditionalChoice otherAnswers, + @JsonProperty("choices") @Nullable List choices, + @JsonProperty("notApplicableAnswer") @Nullable AdditionalChoice1 notApplicableAnswer, + @JsonProperty("otherAnswers") @Nullable AdditionalChoice1 otherAnswers, @JsonProperty("required") @Nullable Boolean required, @JsonProperty("text") @Nullable String text) { this.created = created; @@ -194,7 +194,7 @@ public Optional id() { /** * The Associated Event. */ - public Optional event() { + public Optional event() { return Optional.ofNullable(this.event); } @@ -222,21 +222,21 @@ public Optional code() { /** * List of available choices for the question */ - public Optional> choices() { + public Optional> choices() { return Optional.ofNullable(this.choices); } /** * Contains text of additional choice */ - public Optional notApplicableAnswer() { + public Optional notApplicableAnswer() { return Optional.ofNullable(this.notApplicableAnswer); } /** * Contains text of additional choice */ - public Optional otherAnswers() { + public Optional otherAnswers() { return Optional.ofNullable(this.otherAnswers); } @@ -301,7 +301,7 @@ public LeadQualificationQuestion withId(@Nullable String id) { /** * The Associated Event. */ - public LeadQualificationQuestion withEvent(@Nullable Event21 event) { + public LeadQualificationQuestion withEvent(@Nullable Event3 event) { this.event = event; return this; } @@ -333,7 +333,7 @@ public LeadQualificationQuestion withCode(@Nullable String code) { /** * List of available choices for the question */ - public LeadQualificationQuestion withChoices(@Nullable List choices) { + public LeadQualificationQuestion withChoices(@Nullable List choices) { this.choices = choices; return this; } @@ -341,7 +341,7 @@ public LeadQualificationQuestion withChoices(@Nullable List choices) { /** * Contains text of additional choice */ - public LeadQualificationQuestion withNotApplicableAnswer(@Nullable AdditionalChoice notApplicableAnswer) { + public LeadQualificationQuestion withNotApplicableAnswer(@Nullable AdditionalChoice1 notApplicableAnswer) { this.notApplicableAnswer = notApplicableAnswer; return this; } @@ -349,7 +349,7 @@ public LeadQualificationQuestion withNotApplicableAnswer(@Nullable AdditionalCho /** * Contains text of additional choice */ - public LeadQualificationQuestion withOtherAnswers(@Nullable AdditionalChoice otherAnswers) { + public LeadQualificationQuestion withOtherAnswers(@Nullable AdditionalChoice1 otherAnswers) { this.otherAnswers = otherAnswers; return this; } @@ -461,7 +461,7 @@ public static final class Builder { private String id; - private Event21 event; + private Event3 event; private Exhibitor exhibitor; @@ -469,11 +469,11 @@ public static final class Builder { private String code; - private List choices; + private List choices; - private AdditionalChoice notApplicableAnswer; + private AdditionalChoice1 notApplicableAnswer; - private AdditionalChoice otherAnswers; + private AdditionalChoice1 otherAnswers; private Boolean required; @@ -526,7 +526,7 @@ public Builder id(@Nullable String id) { /** * The Associated Event. */ - public Builder event(@Nullable Event21 event) { + public Builder event(@Nullable Event3 event) { this.event = event; return this; } @@ -558,7 +558,7 @@ public Builder code(@Nullable String code) { /** * List of available choices for the question */ - public Builder choices(@Nullable List choices) { + public Builder choices(@Nullable List choices) { this.choices = choices; return this; } @@ -566,7 +566,7 @@ public Builder choices(@Nullable List choices) { /** * Contains text of additional choice */ - public Builder notApplicableAnswer(@Nullable AdditionalChoice notApplicableAnswer) { + public Builder notApplicableAnswer(@Nullable AdditionalChoice1 notApplicableAnswer) { this.notApplicableAnswer = notApplicableAnswer; return this; } @@ -574,7 +574,7 @@ public Builder notApplicableAnswer(@Nullable AdditionalChoice notApplicableAnswe /** * Contains text of additional choice */ - public Builder otherAnswers(@Nullable AdditionalChoice otherAnswers) { + public Builder otherAnswers(@Nullable AdditionalChoice1 otherAnswers) { this.otherAnswers = otherAnswers; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/LeadQualifiedQuestionResponseJson.java b/packages/java/src/main/java/com/cvent/models/components/LeadQualifiedQuestionResponseJson.java index c721ba289..bd5c3ef7d 100644 --- a/packages/java/src/main/java/com/cvent/models/components/LeadQualifiedQuestionResponseJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/LeadQualifiedQuestionResponseJson.java @@ -25,7 +25,7 @@ public class LeadQualifiedQuestionResponseJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("question") - private QuestionJson3 question; + private QuestionJson2 question; /** * List of answers. @@ -36,7 +36,7 @@ public class LeadQualifiedQuestionResponseJson { @JsonCreator public LeadQualifiedQuestionResponseJson( - @JsonProperty("question") @Nullable QuestionJson3 question, + @JsonProperty("question") @Nullable QuestionJson2 question, @JsonProperty("answers") @Nullable List answers) { this.question = question; this.answers = answers; @@ -49,7 +49,7 @@ public LeadQualifiedQuestionResponseJson() { /** * The question that was answered. */ - public Optional question() { + public Optional question() { return Optional.ofNullable(this.question); } @@ -67,7 +67,7 @@ public static Builder builder() { /** * The question that was answered. */ - public LeadQualifiedQuestionResponseJson withQuestion(@Nullable QuestionJson3 question) { + public LeadQualifiedQuestionResponseJson withQuestion(@Nullable QuestionJson2 question) { this.question = question; return this; } @@ -106,7 +106,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private QuestionJson3 question; + private QuestionJson2 question; private List answers; @@ -117,7 +117,7 @@ private Builder() { /** * The question that was answered. */ - public Builder question(@Nullable QuestionJson3 question) { + public Builder question(@Nullable QuestionJson2 question) { this.question = question; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/LeadSource.java b/packages/java/src/main/java/com/cvent/models/components/LeadSource.java index 6cb8fb065..1a9d1a7f2 100644 --- a/packages/java/src/main/java/com/cvent/models/components/LeadSource.java +++ b/packages/java/src/main/java/com/cvent/models/components/LeadSource.java @@ -32,11 +32,11 @@ public class LeadSource { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("section") - private LeadSourceSectionJson section; + private LeadSourceSection section; @JsonCreator public LeadSource( - @JsonProperty("id") @Nullable String id, @JsonProperty("section") @Nullable LeadSourceSectionJson section) { + @JsonProperty("id") @Nullable String id, @JsonProperty("section") @Nullable LeadSourceSection section) { this.id = id; this.section = section; } @@ -56,7 +56,7 @@ public Optional id() { /** * Represents lead source section details, which is a sub area of source generating the RFP. */ - public Optional section() { + public Optional section() { return Optional.ofNullable(this.section); } @@ -76,7 +76,7 @@ public LeadSource withId(@Nullable String id) { /** * Represents lead source section details, which is a sub area of source generating the RFP. */ - public LeadSource withSection(@Nullable LeadSourceSectionJson section) { + public LeadSource withSection(@Nullable LeadSourceSection section) { this.section = section; return this; } @@ -108,7 +108,7 @@ public static final class Builder { private String id; - private LeadSourceSectionJson section; + private LeadSourceSection section; private Builder() { // force use of static builder() method @@ -126,7 +126,7 @@ public Builder id(@Nullable String id) { /** * Represents lead source section details, which is a sub area of source generating the RFP. */ - public Builder section(@Nullable LeadSourceSectionJson section) { + public Builder section(@Nullable LeadSourceSection section) { this.section = section; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/LeadSourceJson.java b/packages/java/src/main/java/com/cvent/models/components/LeadSourceJson.java deleted file mode 100644 index 4c3da3093..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/LeadSourceJson.java +++ /dev/null @@ -1,138 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * LeadSourceJson - * - *

Lead source details. - */ -public class LeadSourceJson { - /** - * Unique identifier for source generating the RFP. Details about this lead source can be fetched using - * lead source API. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * Represents lead source section details, which is a sub area of source generating the RFP. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("section") - private LeadSourceSectionJson section; - - @JsonCreator - public LeadSourceJson( - @JsonProperty("id") @Nullable String id, @JsonProperty("section") @Nullable LeadSourceSectionJson section) { - this.id = id; - this.section = section; - } - - public LeadSourceJson() { - this(null, null); - } - - /** - * Unique identifier for source generating the RFP. Details about this lead source can be fetched using - * lead source API. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * Represents lead source section details, which is a sub area of source generating the RFP. - */ - public Optional section() { - return Optional.ofNullable(this.section); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Unique identifier for source generating the RFP. Details about this lead source can be fetched using - * lead source API. - */ - public LeadSourceJson withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * Represents lead source section details, which is a sub area of source generating the RFP. - */ - public LeadSourceJson withSection(@Nullable LeadSourceSectionJson section) { - this.section = section; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - LeadSourceJson other = (LeadSourceJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.section, other.section); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, section); - } - - @Override - public String toString() { - return Utils.toString(LeadSourceJson.class, "id", id, "section", section); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private LeadSourceSectionJson section; - - private Builder() { - // force use of static builder() method - } - - /** - * Unique identifier for source generating the RFP. Details about this lead source can be fetched using - * lead source API. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * Represents lead source section details, which is a sub area of source generating the RFP. - */ - public Builder section(@Nullable LeadSourceSectionJson section) { - this.section = section; - return this; - } - - public LeadSourceJson build() { - return new LeadSourceJson(id, section); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/LeadSourceSection.java b/packages/java/src/main/java/com/cvent/models/components/LeadSourceSection.java new file mode 100644 index 000000000..9fbaa453a --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/LeadSourceSection.java @@ -0,0 +1,108 @@ +/* + * 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; + +/** + * LeadSourceSection + * + *

Represents lead source section details, which is a sub area of source generating the RFP. + */ +public class LeadSourceSection { + /** + * Unique identifier for sub area of source generating the RFP. Details about this lead source section + * can be fetched using lead source + * section API. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public LeadSourceSection(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public LeadSourceSection() { + this(null); + } + + /** + * Unique identifier for sub area of source generating the RFP. Details about this lead source section + * can be fetched using lead source + * section API. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique identifier for sub area of source generating the RFP. Details about this lead source section + * can be fetched using lead source + * section API. + */ + public LeadSourceSection withId(@Nullable String id) { + this.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; + } + LeadSourceSection other = (LeadSourceSection) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(LeadSourceSection.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique identifier for sub area of source generating the RFP. Details about this lead source section + * can be fetched using lead source + * section API. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public LeadSourceSection build() { + return new LeadSourceSection(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/LeadSourceSectionJson.java b/packages/java/src/main/java/com/cvent/models/components/LeadSourceSectionJson.java deleted file mode 100644 index aa67e9c24..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/LeadSourceSectionJson.java +++ /dev/null @@ -1,108 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * LeadSourceSectionJson - * - *

Represents lead source section details, which is a sub area of source generating the RFP. - */ -public class LeadSourceSectionJson { - /** - * Unique identifier for sub area of source generating the RFP. Details about this lead source section - * can be fetched using lead source - * section API. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public LeadSourceSectionJson(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public LeadSourceSectionJson() { - this(null); - } - - /** - * Unique identifier for sub area of source generating the RFP. Details about this lead source section - * can be fetched using lead source - * section API. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Unique identifier for sub area of source generating the RFP. Details about this lead source section - * can be fetched using lead source - * section API. - */ - public LeadSourceSectionJson withId(@Nullable String id) { - this.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; - } - LeadSourceSectionJson other = (LeadSourceSectionJson) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(LeadSourceSectionJson.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * Unique identifier for sub area of source generating the RFP. Details about this lead source section - * can be fetched using lead source - * section API. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public LeadSourceSectionJson build() { - return new LeadSourceSectionJson(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ManagementLevelType1.java b/packages/java/src/main/java/com/cvent/models/components/ManagementLevelType1.java new file mode 100644 index 000000000..e447026c1 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ManagementLevelType1.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; + +/** + * ManagementLevelType1 + * + *

The management level of the travel account. Defined by the supply-side. + */ +public enum ManagementLevelType1 { + GLOBAL("global"), + NATIONAL("national"), + REGIONAL("regional"), + LOCAL("local"); + + @JsonValue + private final String value; + + ManagementLevelType1(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (ManagementLevelType1 o : ManagementLevelType1.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/ManagementLevelTypeJson1.java b/packages/java/src/main/java/com/cvent/models/components/ManagementLevelTypeJson1.java deleted file mode 100644 index b02162cf6..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ManagementLevelTypeJson1.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * 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; - -/** - * ManagementLevelTypeJson1 - * - *

The management level of the travel account. Defined by the supply-side. - */ -public enum ManagementLevelTypeJson1 { - GLOBAL("global"), - NATIONAL("national"), - REGIONAL("regional"), - LOCAL("local"); - - @JsonValue - private final String value; - - ManagementLevelTypeJson1(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (ManagementLevelTypeJson1 o : ManagementLevelTypeJson1.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/MeasurementUnit.java b/packages/java/src/main/java/com/cvent/models/components/MeasurementUnit.java new file mode 100644 index 000000000..677172e9b --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/MeasurementUnit.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; + +/** + * MeasurementUnit + * + *

Unit of measurement for area or space. + * + *

Values: + * - `SQUARE_FEET` — Square Feet + * - `SQUARE_METERS` — Square Meters + */ +public enum MeasurementUnit { + SQUARE_FEET("SQUARE_FEET"), + SQUARE_METERS("SQUARE_METERS"); + + @JsonValue + private final String value; + + MeasurementUnit(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (MeasurementUnit o : MeasurementUnit.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/MeasurementUnitJson0.java b/packages/java/src/main/java/com/cvent/models/components/MeasurementUnitJson0.java deleted file mode 100644 index f70b7a49f..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/MeasurementUnitJson0.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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; - -/** - * MeasurementUnitJson0 - * - *

Measurement unit. - */ -public enum MeasurementUnitJson0 { - SQUARE_FEET("SQUARE_FEET"), - SQUARE_METERS("SQUARE_METERS"); - - @JsonValue - private final String value; - - MeasurementUnitJson0(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (MeasurementUnitJson0 o : MeasurementUnitJson0.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/MeetingRequestQuestionJson.java b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestQuestionJson.java index 1082ca09a..ff2270451 100644 --- a/packages/java/src/main/java/com/cvent/models/components/MeetingRequestQuestionJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/MeetingRequestQuestionJson.java @@ -47,7 +47,7 @@ public class MeetingRequestQuestionJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("type") - private QuestionTypeJson1 type; + private QuestionTypeJson type; /** * An array of non-null answers to the question. The format of each item depends on the question @@ -106,7 +106,7 @@ public class MeetingRequestQuestionJson { public MeetingRequestQuestionJson( @JsonProperty("id") @Nonnull String id, @JsonProperty("name") @Nullable String name, - @JsonProperty("type") @Nullable QuestionTypeJson1 type, + @JsonProperty("type") @Nullable QuestionTypeJson type, @JsonProperty("value") @Nonnull List value, @JsonProperty("answerType") @Nullable AnswerTypeJson answerType, @JsonProperty("secondaryValue") @Nullable String secondaryValue, @@ -147,7 +147,7 @@ public Optional name() { /** * Denotes the type of data collected by a question. */ - public Optional type() { + public Optional type() { return Optional.ofNullable(this.type); } @@ -234,7 +234,7 @@ public MeetingRequestQuestionJson withName(@Nullable String name) { /** * Denotes the type of data collected by a question. */ - public MeetingRequestQuestionJson withType(@Nullable QuestionTypeJson1 type) { + public MeetingRequestQuestionJson withType(@Nullable QuestionTypeJson type) { this.type = type; return this; } @@ -347,7 +347,7 @@ public static final class Builder { private String name; - private QuestionTypeJson1 type; + private QuestionTypeJson type; private List value; @@ -386,7 +386,7 @@ public Builder name(@Nullable String name) { /** * Denotes the type of data collected by a question. */ - public Builder type(@Nullable QuestionTypeJson1 type) { + public Builder type(@Nullable QuestionTypeJson type) { this.type = type; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/MembershipJson.java b/packages/java/src/main/java/com/cvent/models/components/MembershipJson.java deleted file mode 100644 index f81461027..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/MembershipJson.java +++ /dev/null @@ -1,329 +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.Double; -import java.lang.Override; -import java.lang.String; -import java.time.LocalDate; -import java.util.Optional; - -/** - * MembershipJson - * - *

Contact Membership information - */ -public class MembershipJson { - /** - * The type of membership the contact has signed up for. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private String type; - - /** - * Describes the specific plan the contact has signed up for. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("plan") - private String plan; - - /** - * The ISO-8601 formatted date the contact began their membership. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("joined") - private LocalDate joined; - - /** - * The ISO-8601 formatted date the contact's membership will expire. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("expiration") - private LocalDate expiration; - - /** - * The ISO-8601 formatted date the contact last renewed their membership. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("lastRenewal") - private LocalDate lastRenewal; - - /** - * The amount currently due for this membership. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("amountDue") - private Double amountDue; - - /** - * Indicates if the member details should be included in the member directory. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("listInDirectory") - private Boolean listInDirectory; - - @JsonCreator - public MembershipJson( - @JsonProperty("type") @Nullable String type, - @JsonProperty("plan") @Nullable String plan, - @JsonProperty("joined") @Nullable LocalDate joined, - @JsonProperty("expiration") @Nullable LocalDate expiration, - @JsonProperty("lastRenewal") @Nullable LocalDate lastRenewal, - @JsonProperty("amountDue") @Nullable Double amountDue, - @JsonProperty("listInDirectory") @Nullable Boolean listInDirectory) { - this.type = type; - this.plan = plan; - this.joined = joined; - this.expiration = expiration; - this.lastRenewal = lastRenewal; - this.amountDue = amountDue; - this.listInDirectory = listInDirectory; - } - - public MembershipJson() { - this(null, null, null, null, null, null, null); - } - - /** - * The type of membership the contact has signed up for. - */ - public Optional type() { - return Optional.ofNullable(this.type); - } - - /** - * Describes the specific plan the contact has signed up for. - */ - public Optional plan() { - return Optional.ofNullable(this.plan); - } - - /** - * The ISO-8601 formatted date the contact began their membership. - */ - public Optional joined() { - return Optional.ofNullable(this.joined); - } - - /** - * The ISO-8601 formatted date the contact's membership will expire. - */ - public Optional expiration() { - return Optional.ofNullable(this.expiration); - } - - /** - * The ISO-8601 formatted date the contact last renewed their membership. - */ - public Optional lastRenewal() { - return Optional.ofNullable(this.lastRenewal); - } - - /** - * The amount currently due for this membership. - */ - public Optional amountDue() { - return Optional.ofNullable(this.amountDue); - } - - /** - * Indicates if the member details should be included in the member directory. - */ - public Optional listInDirectory() { - return Optional.ofNullable(this.listInDirectory); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The type of membership the contact has signed up for. - */ - public MembershipJson withType(@Nullable String type) { - this.type = type; - return this; - } - - /** - * Describes the specific plan the contact has signed up for. - */ - public MembershipJson withPlan(@Nullable String plan) { - this.plan = plan; - return this; - } - - /** - * The ISO-8601 formatted date the contact began their membership. - */ - public MembershipJson withJoined(@Nullable LocalDate joined) { - this.joined = joined; - return this; - } - - /** - * The ISO-8601 formatted date the contact's membership will expire. - */ - public MembershipJson withExpiration(@Nullable LocalDate expiration) { - this.expiration = expiration; - return this; - } - - /** - * The ISO-8601 formatted date the contact last renewed their membership. - */ - public MembershipJson withLastRenewal(@Nullable LocalDate lastRenewal) { - this.lastRenewal = lastRenewal; - return this; - } - - /** - * The amount currently due for this membership. - */ - public MembershipJson withAmountDue(@Nullable Double amountDue) { - this.amountDue = amountDue; - return this; - } - - /** - * Indicates if the member details should be included in the member directory. - */ - public MembershipJson withListInDirectory(@Nullable Boolean listInDirectory) { - this.listInDirectory = listInDirectory; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MembershipJson other = (MembershipJson) o; - return Utils.enhancedDeepEquals(this.type, other.type) - && Utils.enhancedDeepEquals(this.plan, other.plan) - && Utils.enhancedDeepEquals(this.joined, other.joined) - && Utils.enhancedDeepEquals(this.expiration, other.expiration) - && Utils.enhancedDeepEquals(this.lastRenewal, other.lastRenewal) - && Utils.enhancedDeepEquals(this.amountDue, other.amountDue) - && Utils.enhancedDeepEquals(this.listInDirectory, other.listInDirectory); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(type, plan, joined, expiration, lastRenewal, amountDue, listInDirectory); - } - - @Override - public String toString() { - return Utils.toString( - MembershipJson.class, - "type", - type, - "plan", - plan, - "joined", - joined, - "expiration", - expiration, - "lastRenewal", - lastRenewal, - "amountDue", - amountDue, - "listInDirectory", - listInDirectory); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String type; - - private String plan; - - private LocalDate joined; - - private LocalDate expiration; - - private LocalDate lastRenewal; - - private Double amountDue; - - private Boolean listInDirectory; - - private Builder() { - // force use of static builder() method - } - - /** - * The type of membership the contact has signed up for. - */ - public Builder type(@Nullable String type) { - this.type = type; - return this; - } - - /** - * Describes the specific plan the contact has signed up for. - */ - public Builder plan(@Nullable String plan) { - this.plan = plan; - return this; - } - - /** - * The ISO-8601 formatted date the contact began their membership. - */ - public Builder joined(@Nullable LocalDate joined) { - this.joined = joined; - return this; - } - - /** - * The ISO-8601 formatted date the contact's membership will expire. - */ - public Builder expiration(@Nullable LocalDate expiration) { - this.expiration = expiration; - return this; - } - - /** - * The ISO-8601 formatted date the contact last renewed their membership. - */ - public Builder lastRenewal(@Nullable LocalDate lastRenewal) { - this.lastRenewal = lastRenewal; - return this; - } - - /** - * The amount currently due for this membership. - */ - public Builder amountDue(@Nullable Double amountDue) { - this.amountDue = amountDue; - return this; - } - - /** - * Indicates if the member details should be included in the member directory. - */ - public Builder listInDirectory(@Nullable Boolean listInDirectory) { - this.listInDirectory = listInDirectory; - return this; - } - - public MembershipJson build() { - return new MembershipJson(type, plan, joined, expiration, lastRenewal, amountDue, listInDirectory); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/MessageRecipientResponse.java b/packages/java/src/main/java/com/cvent/models/components/MessageRecipientResponse.java new file mode 100644 index 000000000..b6e07ef68 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/MessageRecipientResponse.java @@ -0,0 +1,130 @@ +/* + * 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; + +/** + * MessageRecipientResponse + * + *

Members of the channel who received a message. + */ +public class MessageRecipientResponse { + /** + * The attendee object + */ + @JsonProperty("attendee") + private MessageRecipientResponseAttendee attendee; + + /** + * The channel object + */ + @JsonProperty("channel") + private Channel channel; + + @JsonCreator + public MessageRecipientResponse( + @JsonProperty("attendee") @Nonnull MessageRecipientResponseAttendee attendee, + @JsonProperty("channel") @Nonnull Channel channel) { + this.attendee = Optional.ofNullable(attendee) + .orElseThrow(() -> new IllegalArgumentException("attendee cannot be null")); + this.channel = + Optional.ofNullable(channel).orElseThrow(() -> new IllegalArgumentException("channel cannot be null")); + } + + /** + * The attendee object + */ + public MessageRecipientResponseAttendee attendee() { + return this.attendee; + } + + /** + * The channel object + */ + public Channel channel() { + return this.channel; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The attendee object + */ + public MessageRecipientResponse withAttendee(@Nonnull MessageRecipientResponseAttendee attendee) { + this.attendee = Utils.checkNotNull(attendee, "attendee"); + return this; + } + + /** + * The channel object + */ + public MessageRecipientResponse withChannel(@Nonnull Channel channel) { + this.channel = Utils.checkNotNull(channel, "channel"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MessageRecipientResponse other = (MessageRecipientResponse) o; + return Utils.enhancedDeepEquals(this.attendee, other.attendee) + && Utils.enhancedDeepEquals(this.channel, other.channel); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(attendee, channel); + } + + @Override + public String toString() { + return Utils.toString(MessageRecipientResponse.class, "attendee", attendee, "channel", channel); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private MessageRecipientResponseAttendee attendee; + + private Channel channel; + + private Builder() { + // force use of static builder() method + } + + /** + * The attendee object + */ + public Builder attendee(@Nonnull MessageRecipientResponseAttendee attendee) { + this.attendee = Utils.checkNotNull(attendee, "attendee"); + return this; + } + + /** + * The channel object + */ + public Builder channel(@Nonnull Channel channel) { + this.channel = Utils.checkNotNull(channel, "channel"); + return this; + } + + public MessageRecipientResponse build() { + return new MessageRecipientResponse(attendee, channel); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/MessageRecipientResponseAttendee.java b/packages/java/src/main/java/com/cvent/models/components/MessageRecipientResponseAttendee.java new file mode 100644 index 000000000..0da133591 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/MessageRecipientResponseAttendee.java @@ -0,0 +1,173 @@ +/* + * 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.time.OffsetDateTime; +import java.util.Optional; +import org.openapitools.jackson.nullable.JsonNullable; + +/** + * MessageRecipientResponseAttendee + * + *

The attendee object + */ +public class MessageRecipientResponseAttendee { + /** + * Unique identifier for the attendee. + */ + @JsonProperty("id") + private String id; + + /** + * True indicates the recipient is active in the channel. + */ + @JsonProperty("active") + private boolean active; + + /** + * ISO 8601 formatted timestamp when the attendee left the channel, if applicable. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("leftChannelAt") + private JsonNullable leftChannelAt; + + @JsonCreator + public MessageRecipientResponseAttendee( + @JsonProperty("id") @Nonnull String id, + @JsonProperty("active") boolean active, + @JsonProperty("leftChannelAt") @Nullable JsonNullable leftChannelAt) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.active = active; + this.leftChannelAt = Optional.ofNullable(leftChannelAt).orElse(JsonNullable.undefined()); + } + + public MessageRecipientResponseAttendee(@Nonnull String id, boolean active) { + this(id, active, null); + } + + /** + * Unique identifier for the attendee. + */ + public String id() { + return this.id; + } + + /** + * True indicates the recipient is active in the channel. + */ + public boolean active() { + return this.active; + } + + /** + * ISO 8601 formatted timestamp when the attendee left the channel, if applicable. + */ + public JsonNullable leftChannelAt() { + return this.leftChannelAt; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique identifier for the attendee. + */ + public MessageRecipientResponseAttendee withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * True indicates the recipient is active in the channel. + */ + public MessageRecipientResponseAttendee withActive(boolean active) { + this.active = active; + return this; + } + + /** + * ISO 8601 formatted timestamp when the attendee left the channel, if applicable. + */ + public MessageRecipientResponseAttendee withLeftChannelAt(@Nullable OffsetDateTime leftChannelAt) { + this.leftChannelAt = JsonNullable.of(leftChannelAt); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MessageRecipientResponseAttendee other = (MessageRecipientResponseAttendee) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.active, other.active) + && Utils.enhancedDeepEquals(this.leftChannelAt, other.leftChannelAt); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, active, leftChannelAt); + } + + @Override + public String toString() { + return Utils.toString( + MessageRecipientResponseAttendee.class, "id", id, "active", active, "leftChannelAt", leftChannelAt); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private boolean active; + + private JsonNullable leftChannelAt; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique identifier for the attendee. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * True indicates the recipient is active in the channel. + */ + public Builder active(boolean active) { + this.active = active; + return this; + } + + /** + * ISO 8601 formatted timestamp when the attendee left the channel, if applicable. + */ + public Builder leftChannelAt(@Nullable OffsetDateTime leftChannelAt) { + this.leftChannelAt = JsonNullable.of(leftChannelAt); + return this; + } + + public MessageRecipientResponseAttendee build() { + return new MessageRecipientResponseAttendee(id, active, leftChannelAt); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/MessageRecipientsPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/MessageRecipientsPaginatedResponse.java index 18e174e91..22cf8e139 100644 --- a/packages/java/src/main/java/com/cvent/models/components/MessageRecipientsPaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/MessageRecipientsPaginatedResponse.java @@ -22,18 +22,18 @@ public class MessageRecipientsPaginatedResponse { * Represents pagination information for a collection of resources. */ @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * Collection of channel members. */ @JsonProperty("data") - private List data; + private List data; @JsonCreator public MessageRecipientsPaginatedResponse( - @JsonProperty("paging") @Nonnull PagingJson paging, - @JsonProperty("data") @Nonnull List data) { + @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")); @@ -42,14 +42,14 @@ public MessageRecipientsPaginatedResponse( /** * Represents pagination information for a collection of resources. */ - public PagingJson paging() { + public Paging paging() { return this.paging; } /** * Collection of channel members. */ - public List data() { + public List data() { return this.data; } @@ -60,7 +60,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public MessageRecipientsPaginatedResponse withPaging(@Nonnull PagingJson paging) { + public MessageRecipientsPaginatedResponse withPaging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } @@ -68,7 +68,7 @@ public MessageRecipientsPaginatedResponse withPaging(@Nonnull PagingJson paging) /** * Collection of channel members. */ - public MessageRecipientsPaginatedResponse withData(@Nonnull List data) { + public MessageRecipientsPaginatedResponse withData(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } @@ -98,9 +98,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; - private List data; + private List data; private Builder() { // force use of static builder() method @@ -109,7 +109,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nonnull PagingJson paging) { + public Builder paging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } @@ -117,7 +117,7 @@ public Builder paging(@Nonnull PagingJson paging) { /** * Collection of channel members. */ - public Builder data(@Nonnull List data) { + public Builder data(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/MessageRecipientsResponseJson.java b/packages/java/src/main/java/com/cvent/models/components/MessageRecipientsResponseJson.java deleted file mode 100644 index 4b2a94cad..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/MessageRecipientsResponseJson.java +++ /dev/null @@ -1,130 +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.Optional; - -/** - * MessageRecipientsResponseJson - * - *

Members of the channel who received a message. - */ -public class MessageRecipientsResponseJson { - /** - * The attendee object - */ - @JsonProperty("attendee") - private MessageRecipientsResponseJsonAttendee attendee; - - /** - * The channel object - */ - @JsonProperty("channel") - private Channel channel; - - @JsonCreator - public MessageRecipientsResponseJson( - @JsonProperty("attendee") @Nonnull MessageRecipientsResponseJsonAttendee attendee, - @JsonProperty("channel") @Nonnull Channel channel) { - this.attendee = Optional.ofNullable(attendee) - .orElseThrow(() -> new IllegalArgumentException("attendee cannot be null")); - this.channel = - Optional.ofNullable(channel).orElseThrow(() -> new IllegalArgumentException("channel cannot be null")); - } - - /** - * The attendee object - */ - public MessageRecipientsResponseJsonAttendee attendee() { - return this.attendee; - } - - /** - * The channel object - */ - public Channel channel() { - return this.channel; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The attendee object - */ - public MessageRecipientsResponseJson withAttendee(@Nonnull MessageRecipientsResponseJsonAttendee attendee) { - this.attendee = Utils.checkNotNull(attendee, "attendee"); - return this; - } - - /** - * The channel object - */ - public MessageRecipientsResponseJson withChannel(@Nonnull Channel channel) { - this.channel = Utils.checkNotNull(channel, "channel"); - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MessageRecipientsResponseJson other = (MessageRecipientsResponseJson) o; - return Utils.enhancedDeepEquals(this.attendee, other.attendee) - && Utils.enhancedDeepEquals(this.channel, other.channel); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(attendee, channel); - } - - @Override - public String toString() { - return Utils.toString(MessageRecipientsResponseJson.class, "attendee", attendee, "channel", channel); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private MessageRecipientsResponseJsonAttendee attendee; - - private Channel channel; - - private Builder() { - // force use of static builder() method - } - - /** - * The attendee object - */ - public Builder attendee(@Nonnull MessageRecipientsResponseJsonAttendee attendee) { - this.attendee = Utils.checkNotNull(attendee, "attendee"); - return this; - } - - /** - * The channel object - */ - public Builder channel(@Nonnull Channel channel) { - this.channel = Utils.checkNotNull(channel, "channel"); - return this; - } - - public MessageRecipientsResponseJson build() { - return new MessageRecipientsResponseJson(attendee, channel); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/MessageRecipientsResponseJsonAttendee.java b/packages/java/src/main/java/com/cvent/models/components/MessageRecipientsResponseJsonAttendee.java deleted file mode 100644 index 1dd7eaa3c..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/MessageRecipientsResponseJsonAttendee.java +++ /dev/null @@ -1,179 +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.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Override; -import java.lang.String; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; - -/** - * MessageRecipientsResponseJsonAttendee - * - *

The attendee object - */ -public class MessageRecipientsResponseJsonAttendee { - /** - * Unique identifier for the attendee. - */ - @JsonProperty("id") - private String id; - - /** - * True indicates the recipient is active in the channel. - */ - @JsonProperty("active") - private boolean active; - - /** - * ISO 8601 formatted timestamp when the attendee left the channel, if applicable. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("leftChannelAt") - private JsonNullable leftChannelAt; - - @JsonCreator - public MessageRecipientsResponseJsonAttendee( - @JsonProperty("id") @Nonnull String id, - @JsonProperty("active") boolean active, - @JsonProperty("leftChannelAt") @Nullable JsonNullable leftChannelAt) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - this.active = active; - this.leftChannelAt = Optional.ofNullable(leftChannelAt).orElse(JsonNullable.undefined()); - } - - public MessageRecipientsResponseJsonAttendee(@Nonnull String id, boolean active) { - this(id, active, null); - } - - /** - * Unique identifier for the attendee. - */ - public String id() { - return this.id; - } - - /** - * True indicates the recipient is active in the channel. - */ - public boolean active() { - return this.active; - } - - /** - * ISO 8601 formatted timestamp when the attendee left the channel, if applicable. - */ - public JsonNullable leftChannelAt() { - return this.leftChannelAt; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Unique identifier for the attendee. - */ - public MessageRecipientsResponseJsonAttendee withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * True indicates the recipient is active in the channel. - */ - public MessageRecipientsResponseJsonAttendee withActive(boolean active) { - this.active = active; - return this; - } - - /** - * ISO 8601 formatted timestamp when the attendee left the channel, if applicable. - */ - public MessageRecipientsResponseJsonAttendee withLeftChannelAt(@Nullable OffsetDateTime leftChannelAt) { - this.leftChannelAt = JsonNullable.of(leftChannelAt); - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MessageRecipientsResponseJsonAttendee other = (MessageRecipientsResponseJsonAttendee) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.active, other.active) - && Utils.enhancedDeepEquals(this.leftChannelAt, other.leftChannelAt); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, active, leftChannelAt); - } - - @Override - public String toString() { - return Utils.toString( - MessageRecipientsResponseJsonAttendee.class, - "id", - id, - "active", - active, - "leftChannelAt", - leftChannelAt); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private boolean active; - - private JsonNullable leftChannelAt; - - private Builder() { - // force use of static builder() method - } - - /** - * Unique identifier for the attendee. - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * True indicates the recipient is active in the channel. - */ - public Builder active(boolean active) { - this.active = active; - return this; - } - - /** - * ISO 8601 formatted timestamp when the attendee left the channel, if applicable. - */ - public Builder leftChannelAt(@Nullable OffsetDateTime leftChannelAt) { - this.leftChannelAt = JsonNullable.of(leftChannelAt); - return this; - } - - public MessageRecipientsResponseJsonAttendee build() { - return new MessageRecipientsResponseJsonAttendee(id, active, leftChannelAt); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/NumericAnswerFormat.java b/packages/java/src/main/java/com/cvent/models/components/NumericAnswerFormat.java new file mode 100644 index 000000000..da81890d8 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/NumericAnswerFormat.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; + +/** + * NumericAnswerFormat + * + *

The answer format that a given number is stored in. + */ +public enum NumericAnswerFormat { + CURRENCY("Currency"), + DECIMAL("Decimal"), + NUMBER("Number"); + + @JsonValue + private final String value; + + NumericAnswerFormat(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (NumericAnswerFormat o : NumericAnswerFormat.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/NumericAnswerFormatJson.java b/packages/java/src/main/java/com/cvent/models/components/NumericAnswerFormatJson.java deleted file mode 100644 index 40ce18727..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/NumericAnswerFormatJson.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * 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; - -/** - * NumericAnswerFormatJson - * - *

The answer format that a given number is stored in. - */ -public enum NumericAnswerFormatJson { - CURRENCY("Currency"), - DECIMAL("Decimal"), - NUMBER("Number"); - - @JsonValue - private final String value; - - NumericAnswerFormatJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (NumericAnswerFormatJson o : NumericAnswerFormatJson.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/OfferingCostType1.java b/packages/java/src/main/java/com/cvent/models/components/OfferingCostType1.java new file mode 100644 index 000000000..f326f031a --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/OfferingCostType1.java @@ -0,0 +1,99 @@ +/* + * 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; + +/** + * OfferingCostType1 + * + *

Cost type associated with organizing and hosting events and meetings. + */ +public enum OfferingCostType1 { + AIRPORT_TRANSPORTATION("AIRPORT_TRANSPORTATION"), + AIR_CONDITIONING_HEATING("AIR_CONDITIONING_HEATING"), + AUDIO_PATCH("AUDIO_PATCH"), + AV_EQUIPMENT("AV_EQUIPMENT"), + BELLMAN_DELIVERY("BELLMAN_DELIVERY"), + BREAKFAST_BUFFET("BREAKFAST_BUFFET"), + BREAKFAST_CONTINENTAL("BREAKFAST_CONTINENTAL"), + BREAKFAST_PLATED("BREAKFAST_PLATED"), + BREAKOUT_LARGE("BREAKOUT_LARGE"), + BREAKOUT_MEDIUM("BREAKOUT_MEDIUM"), + BREAKOUT_SMALL("BREAKOUT_SMALL"), + BREAKOUT_TOTAL("BREAKOUT_TOTAL"), + BREAK_AM("BREAK_AM"), + BREAK_DRINKS_ONLY("BREAK_DRINKS_ONLY"), + BREAK_PM("BREAK_PM"), + BREAK_SNACKS_AND_DRINKS("BREAK_SNACKS_AND_DRINKS"), + BUILDING_OVERTIME("BUILDING_OVERTIME"), + BUSINESS_CENTER("BUSINESS_CENTER"), + CMP("CMP"), + CONFERENCE_CONCIERGE("CONFERENCE_CONCIERGE"), + CONFERENCE_PLANNING_MANAGER("CONFERENCE_PLANNING_MANAGER"), + DDR_FULL_DAY("DDR_FULL_DAY"), + DDR_HALF_DAY("DDR_HALF_DAY"), + DINNER_BUFFET("DINNER_BUFFET"), + DINNER_PLATED("DINNER_PLATED"), + EXHIBIT_SPACE("EXHIBIT_SPACE"), + FACILITY_FEE("FACILITY_FEE"), + FITNESS_CENTER("FITNESS_CENTER"), + GALLON_COFFEE("GALLON_COFFEE"), + GENERAL_SESSION("GENERAL_SESSION"), + HOUSEKEEPING("HOUSEKEEPING"), + INTERNET_GUEST_ROOM("INTERNET_GUEST_ROOM"), + INTERNET_MEETING_ROOM("INTERNET_MEETING_ROOM"), + LABOR("LABOR"), + LIGHTING("LIGHTING"), + LOCAL_TRANSPORTATION("LOCAL_TRANSPORTATION"), + LUNCH_BOXED("LUNCH_BOXED"), + LUNCH_BUFFET("LUNCH_BUFFET"), + LUNCH_PLATED("LUNCH_PLATED"), + MEETING_ROOMS_TOTAL("MEETING_ROOMS_TOTAL"), + NONE("NONE"), + OFFICE("OFFICE"), + OTHER_FB("OTHER_FB"), + OTHER_MISC("OTHER_MISC"), + OTHER_RENTAL("OTHER_RENTAL"), + OTHER_TRANSPORTATION("OTHER_TRANSPORTATION"), + PARKING_FEE_SELF("PARKING_FEE_SELF"), + PARKING_FEE_VALET("PARKING_FEE_VALET"), + POWER_DROP("POWER_DROP"), + RECEPTION_BEVERAGE("RECEPTION_BEVERAGE"), + RECEPTION_FOOD("RECEPTION_FOOD"), + RECEPTION_HEAVY_HORS_D_OEUVRES("RECEPTION_HEAVY_HORS_D_OEUVRES"), + RECEPTION_LIGHT_APPETIZERS("RECEPTION_LIGHT_APPETIZERS"), + RESORT_FEE("RESORT_FEE"), + ROOM_DROP("ROOM_DROP"), + SERVICE_CHARGES("SERVICE_CHARGES"), + SETUP("SETUP"), + SHIPPING_RECEIVING("SHIPPING_RECEIVING"), + GUEST_ROOMS("GUEST_ROOMS"), + STORAGE("STORAGE"), + TEARDOWN("TEARDOWN"), + TOTAL_FB_MINIMUM("TOTAL_FB_MINIMUM"); + + @JsonValue + private final String value; + + OfferingCostType1(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (OfferingCostType1 o : OfferingCostType1.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/OfferingCostTypeJson0.java b/packages/java/src/main/java/com/cvent/models/components/OfferingCostTypeJson0.java deleted file mode 100644 index aa7b14211..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/OfferingCostTypeJson0.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * 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; - -/** - * OfferingCostTypeJson0 - * - *

Cost type associated with organizing and hosting events and meetings. - */ -public enum OfferingCostTypeJson0 { - AIRPORT_TRANSPORTATION("AIRPORT_TRANSPORTATION"), - AIR_CONDITIONING_HEATING("AIR_CONDITIONING_HEATING"), - AUDIO_PATCH("AUDIO_PATCH"), - AV_EQUIPMENT("AV_EQUIPMENT"), - BELLMAN_DELIVERY("BELLMAN_DELIVERY"), - BREAKFAST_BUFFET("BREAKFAST_BUFFET"), - BREAKFAST_CONTINENTAL("BREAKFAST_CONTINENTAL"), - BREAKFAST_PLATED("BREAKFAST_PLATED"), - BREAKOUT_LARGE("BREAKOUT_LARGE"), - BREAKOUT_MEDIUM("BREAKOUT_MEDIUM"), - BREAKOUT_SMALL("BREAKOUT_SMALL"), - BREAKOUT_TOTAL("BREAKOUT_TOTAL"), - BREAK_AM("BREAK_AM"), - BREAK_DRINKS_ONLY("BREAK_DRINKS_ONLY"), - BREAK_PM("BREAK_PM"), - BREAK_SNACKS_AND_DRINKS("BREAK_SNACKS_AND_DRINKS"), - BUILDING_OVERTIME("BUILDING_OVERTIME"), - BUSINESS_CENTER("BUSINESS_CENTER"), - CMP("CMP"), - CONFERENCE_CONCIERGE("CONFERENCE_CONCIERGE"), - CONFERENCE_PLANNING_MANAGER("CONFERENCE_PLANNING_MANAGER"), - DDR_FULL_DAY("DDR_FULL_DAY"), - DDR_HALF_DAY("DDR_HALF_DAY"), - DINNER_BUFFET("DINNER_BUFFET"), - DINNER_PLATED("DINNER_PLATED"), - EXHIBIT_SPACE("EXHIBIT_SPACE"), - FACILITY_FEE("FACILITY_FEE"), - FITNESS_CENTER("FITNESS_CENTER"), - GALLON_COFFEE("GALLON_COFFEE"), - GENERAL_SESSION("GENERAL_SESSION"), - HOUSEKEEPING("HOUSEKEEPING"), - INTERNET_GUEST_ROOM("INTERNET_GUEST_ROOM"), - INTERNET_MEETING_ROOM("INTERNET_MEETING_ROOM"), - LABOR("LABOR"), - LIGHTING("LIGHTING"), - LOCAL_TRANSPORTATION("LOCAL_TRANSPORTATION"), - LUNCH_BOXED("LUNCH_BOXED"), - LUNCH_BUFFET("LUNCH_BUFFET"), - LUNCH_PLATED("LUNCH_PLATED"), - MEETING_ROOMS_TOTAL("MEETING_ROOMS_TOTAL"), - NONE("NONE"), - OFFICE("OFFICE"), - OTHER_FB("OTHER_FB"), - OTHER_MISC("OTHER_MISC"), - OTHER_RENTAL("OTHER_RENTAL"), - OTHER_TRANSPORTATION("OTHER_TRANSPORTATION"), - PARKING_FEE_SELF("PARKING_FEE_SELF"), - PARKING_FEE_VALET("PARKING_FEE_VALET"), - POWER_DROP("POWER_DROP"), - RECEPTION_BEVERAGE("RECEPTION_BEVERAGE"), - RECEPTION_FOOD("RECEPTION_FOOD"), - RECEPTION_HEAVY_HORS_D_OEUVRES("RECEPTION_HEAVY_HORS_D_OEUVRES"), - RECEPTION_LIGHT_APPETIZERS("RECEPTION_LIGHT_APPETIZERS"), - RESORT_FEE("RESORT_FEE"), - ROOM_DROP("ROOM_DROP"), - SERVICE_CHARGES("SERVICE_CHARGES"), - SETUP("SETUP"), - SHIPPING_RECEIVING("SHIPPING_RECEIVING"), - GUEST_ROOMS("GUEST_ROOMS"), - STORAGE("STORAGE"), - TEARDOWN("TEARDOWN"), - TOTAL_FB_MINIMUM("TOTAL_FB_MINIMUM"); - - @JsonValue - private final String value; - - OfferingCostTypeJson0(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (OfferingCostTypeJson0 o : OfferingCostTypeJson0.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/One.java b/packages/java/src/main/java/com/cvent/models/components/One.java new file mode 100644 index 000000000..3d2626ffe --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/One.java @@ -0,0 +1,260 @@ +/* + * 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.time.OffsetDateTime; +import java.util.Optional; + +/** + * One + * + *

This is used to denote the open ended date time type of custom field. + */ +public class One { + /** + * The ISO 8601 zoned minimum date time accepted. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("from") + private OffsetDateTime from; + + /** + * The ISO 8601 zoned maximum date time accepted. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("to") + private OffsetDateTime to; + + /** + * This is used to denote the display format type of date time type custom field. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("format") + private DateTimeDisplayFormatJson format; + + /** + * Whether it needs to be pre populated with current date. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("defaultToCurrentDate") + private Boolean defaultToCurrentDate; + + /** + * True means that a pop-up calendar will be displayed to assist date selection on UI. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("displayPopUpCalendar") + private Boolean displayPopUpCalendar; + + @JsonCreator + public One( + @JsonProperty("from") @Nullable OffsetDateTime from, + @JsonProperty("to") @Nullable OffsetDateTime to, + @JsonProperty("format") @Nullable DateTimeDisplayFormatJson format, + @JsonProperty("defaultToCurrentDate") @Nullable Boolean defaultToCurrentDate, + @JsonProperty("displayPopUpCalendar") @Nullable Boolean displayPopUpCalendar) { + this.from = from; + this.to = to; + this.format = format; + this.defaultToCurrentDate = defaultToCurrentDate; + this.displayPopUpCalendar = + Optional.ofNullable(displayPopUpCalendar).orElse(Builder._SINGLETON_VALUE_DisplayPopUpCalendar.value()); + } + + public One() { + this(null, null, null, null, null); + } + + /** + * The ISO 8601 zoned minimum date time accepted. + */ + public Optional from() { + return Optional.ofNullable(this.from); + } + + /** + * The ISO 8601 zoned maximum date time accepted. + */ + public Optional to() { + return Optional.ofNullable(this.to); + } + + /** + * This is used to denote the display format type of date time type custom field. + */ + public Optional format() { + return Optional.ofNullable(this.format); + } + + /** + * Whether it needs to be pre populated with current date. + */ + public Optional defaultToCurrentDate() { + return Optional.ofNullable(this.defaultToCurrentDate); + } + + /** + * True means that a pop-up calendar will be displayed to assist date selection on UI. + */ + public Optional displayPopUpCalendar() { + return Optional.ofNullable(this.displayPopUpCalendar); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The ISO 8601 zoned minimum date time accepted. + */ + public One withFrom(@Nullable OffsetDateTime from) { + this.from = from; + return this; + } + + /** + * The ISO 8601 zoned maximum date time accepted. + */ + public One withTo(@Nullable OffsetDateTime to) { + this.to = to; + return this; + } + + /** + * This is used to denote the display format type of date time type custom field. + */ + public One withFormat(@Nullable DateTimeDisplayFormatJson format) { + this.format = format; + return this; + } + + /** + * Whether it needs to be pre populated with current date. + */ + public One withDefaultToCurrentDate(@Nullable Boolean defaultToCurrentDate) { + this.defaultToCurrentDate = defaultToCurrentDate; + return this; + } + + /** + * True means that a pop-up calendar will be displayed to assist date selection on UI. + */ + public One withDisplayPopUpCalendar(@Nullable Boolean displayPopUpCalendar) { + this.displayPopUpCalendar = displayPopUpCalendar; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + One other = (One) o; + return Utils.enhancedDeepEquals(this.from, other.from) + && Utils.enhancedDeepEquals(this.to, other.to) + && Utils.enhancedDeepEquals(this.format, other.format) + && Utils.enhancedDeepEquals(this.defaultToCurrentDate, other.defaultToCurrentDate) + && Utils.enhancedDeepEquals(this.displayPopUpCalendar, other.displayPopUpCalendar); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(from, to, format, defaultToCurrentDate, displayPopUpCalendar); + } + + @Override + public String toString() { + return Utils.toString( + One.class, + "from", + from, + "to", + to, + "format", + format, + "defaultToCurrentDate", + defaultToCurrentDate, + "displayPopUpCalendar", + displayPopUpCalendar); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private OffsetDateTime from; + + private OffsetDateTime to; + + private DateTimeDisplayFormatJson format; + + private Boolean defaultToCurrentDate; + + private Boolean displayPopUpCalendar; + + private Builder() { + // force use of static builder() method + } + + /** + * The ISO 8601 zoned minimum date time accepted. + */ + public Builder from(@Nullable OffsetDateTime from) { + this.from = from; + return this; + } + + /** + * The ISO 8601 zoned maximum date time accepted. + */ + public Builder to(@Nullable OffsetDateTime to) { + this.to = to; + return this; + } + + /** + * This is used to denote the display format type of date time type custom field. + */ + public Builder format(@Nullable DateTimeDisplayFormatJson format) { + this.format = format; + return this; + } + + /** + * Whether it needs to be pre populated with current date. + */ + public Builder defaultToCurrentDate(@Nullable Boolean defaultToCurrentDate) { + this.defaultToCurrentDate = defaultToCurrentDate; + return this; + } + + /** + * True means that a pop-up calendar will be displayed to assist date selection on UI. + */ + public Builder displayPopUpCalendar(@Nullable Boolean displayPopUpCalendar) { + this.displayPopUpCalendar = displayPopUpCalendar; + return this; + } + + public One build() { + return new One(from, to, format, defaultToCurrentDate, displayPopUpCalendar); + } + + private static final LazySingletonValue _SINGLETON_VALUE_DisplayPopUpCalendar = + new LazySingletonValue<>("displayPopUpCalendar", "false", new TypeReference() {}); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/OneAllOf.java b/packages/java/src/main/java/com/cvent/models/components/OneAllOf.java deleted file mode 100644 index c5e2defa0..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/OneAllOf.java +++ /dev/null @@ -1,93 +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.Optional; - -/** - * OneAllOf - * - *

Represents a link to a related resource. - */ -public class OneAllOf { - /** - * A url provided that can be followed for linking - */ - @JsonProperty("href") - private String href; - - @JsonCreator - public OneAllOf(@JsonProperty("href") @Nonnull String href) { - this.href = Optional.ofNullable(href).orElseThrow(() -> new IllegalArgumentException("href cannot be null")); - } - - /** - * A url provided that can be followed for linking - */ - public String href() { - return this.href; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * A url provided that can be followed for linking - */ - public OneAllOf withHref(@Nonnull String href) { - this.href = Utils.checkNotNull(href, "href"); - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OneAllOf other = (OneAllOf) o; - return Utils.enhancedDeepEquals(this.href, other.href); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(href); - } - - @Override - public String toString() { - return Utils.toString(OneAllOf.class, "href", href); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String href; - - private Builder() { - // force use of static builder() method - } - - /** - * A url provided that can be followed for linking - */ - public Builder href(@Nonnull String href) { - this.href = Utils.checkNotNull(href, "href"); - return this; - } - - public OneAllOf build() { - return new OneAllOf(href); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/OneOneOf.java b/packages/java/src/main/java/com/cvent/models/components/OneOneOf.java deleted file mode 100644 index 85ddb561c..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/OneOneOf.java +++ /dev/null @@ -1,260 +0,0 @@ -/* - * 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.time.OffsetDateTime; -import java.util.Optional; - -/** - * OneOneOf - * - *

This is used to denote the open ended date time type of custom field. - */ -public class OneOneOf { - /** - * The ISO 8601 zoned minimum date time accepted. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("from") - private OffsetDateTime from; - - /** - * The ISO 8601 zoned maximum date time accepted. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("to") - private OffsetDateTime to; - - /** - * This is used to denote the display format type of date time type custom field. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("format") - private DateTimeDisplayFormatJson format; - - /** - * Whether it needs to be pre populated with current date. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("defaultToCurrentDate") - private Boolean defaultToCurrentDate; - - /** - * True means that a pop-up calendar will be displayed to assist date selection on UI. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("displayPopUpCalendar") - private Boolean displayPopUpCalendar; - - @JsonCreator - public OneOneOf( - @JsonProperty("from") @Nullable OffsetDateTime from, - @JsonProperty("to") @Nullable OffsetDateTime to, - @JsonProperty("format") @Nullable DateTimeDisplayFormatJson format, - @JsonProperty("defaultToCurrentDate") @Nullable Boolean defaultToCurrentDate, - @JsonProperty("displayPopUpCalendar") @Nullable Boolean displayPopUpCalendar) { - this.from = from; - this.to = to; - this.format = format; - this.defaultToCurrentDate = defaultToCurrentDate; - this.displayPopUpCalendar = - Optional.ofNullable(displayPopUpCalendar).orElse(Builder._SINGLETON_VALUE_DisplayPopUpCalendar.value()); - } - - public OneOneOf() { - this(null, null, null, null, null); - } - - /** - * The ISO 8601 zoned minimum date time accepted. - */ - public Optional from() { - return Optional.ofNullable(this.from); - } - - /** - * The ISO 8601 zoned maximum date time accepted. - */ - public Optional to() { - return Optional.ofNullable(this.to); - } - - /** - * This is used to denote the display format type of date time type custom field. - */ - public Optional format() { - return Optional.ofNullable(this.format); - } - - /** - * Whether it needs to be pre populated with current date. - */ - public Optional defaultToCurrentDate() { - return Optional.ofNullable(this.defaultToCurrentDate); - } - - /** - * True means that a pop-up calendar will be displayed to assist date selection on UI. - */ - public Optional displayPopUpCalendar() { - return Optional.ofNullable(this.displayPopUpCalendar); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The ISO 8601 zoned minimum date time accepted. - */ - public OneOneOf withFrom(@Nullable OffsetDateTime from) { - this.from = from; - return this; - } - - /** - * The ISO 8601 zoned maximum date time accepted. - */ - public OneOneOf withTo(@Nullable OffsetDateTime to) { - this.to = to; - return this; - } - - /** - * This is used to denote the display format type of date time type custom field. - */ - public OneOneOf withFormat(@Nullable DateTimeDisplayFormatJson format) { - this.format = format; - return this; - } - - /** - * Whether it needs to be pre populated with current date. - */ - public OneOneOf withDefaultToCurrentDate(@Nullable Boolean defaultToCurrentDate) { - this.defaultToCurrentDate = defaultToCurrentDate; - return this; - } - - /** - * True means that a pop-up calendar will be displayed to assist date selection on UI. - */ - public OneOneOf withDisplayPopUpCalendar(@Nullable Boolean displayPopUpCalendar) { - this.displayPopUpCalendar = displayPopUpCalendar; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OneOneOf other = (OneOneOf) o; - return Utils.enhancedDeepEquals(this.from, other.from) - && Utils.enhancedDeepEquals(this.to, other.to) - && Utils.enhancedDeepEquals(this.format, other.format) - && Utils.enhancedDeepEquals(this.defaultToCurrentDate, other.defaultToCurrentDate) - && Utils.enhancedDeepEquals(this.displayPopUpCalendar, other.displayPopUpCalendar); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(from, to, format, defaultToCurrentDate, displayPopUpCalendar); - } - - @Override - public String toString() { - return Utils.toString( - OneOneOf.class, - "from", - from, - "to", - to, - "format", - format, - "defaultToCurrentDate", - defaultToCurrentDate, - "displayPopUpCalendar", - displayPopUpCalendar); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private OffsetDateTime from; - - private OffsetDateTime to; - - private DateTimeDisplayFormatJson format; - - private Boolean defaultToCurrentDate; - - private Boolean displayPopUpCalendar; - - private Builder() { - // force use of static builder() method - } - - /** - * The ISO 8601 zoned minimum date time accepted. - */ - public Builder from(@Nullable OffsetDateTime from) { - this.from = from; - return this; - } - - /** - * The ISO 8601 zoned maximum date time accepted. - */ - public Builder to(@Nullable OffsetDateTime to) { - this.to = to; - return this; - } - - /** - * This is used to denote the display format type of date time type custom field. - */ - public Builder format(@Nullable DateTimeDisplayFormatJson format) { - this.format = format; - return this; - } - - /** - * Whether it needs to be pre populated with current date. - */ - public Builder defaultToCurrentDate(@Nullable Boolean defaultToCurrentDate) { - this.defaultToCurrentDate = defaultToCurrentDate; - return this; - } - - /** - * True means that a pop-up calendar will be displayed to assist date selection on UI. - */ - public Builder displayPopUpCalendar(@Nullable Boolean displayPopUpCalendar) { - this.displayPopUpCalendar = displayPopUpCalendar; - return this; - } - - public OneOneOf build() { - return new OneOneOf(from, to, format, defaultToCurrentDate, displayPopUpCalendar); - } - - private static final LazySingletonValue _SINGLETON_VALUE_DisplayPopUpCalendar = - new LazySingletonValue<>("displayPopUpCalendar", "false", new TypeReference() {}); - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/OptOutJson.java b/packages/java/src/main/java/com/cvent/models/components/OptOutJson.java deleted file mode 100644 index a599b5ce0..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/OptOutJson.java +++ /dev/null @@ -1,182 +0,0 @@ -/* - * 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.time.OffsetDateTime; -import java.util.Optional; - -/** - * OptOutJson - * - *

Details of an opt-out for a Contact. - */ -public class OptOutJson { - /** - * Used to denote if a contact has opted-out of receiving system generated emails. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("optedOut") - private Boolean optedOut; - - /** - * The ISO 8601 zoned date time when this contact was opted-out. This value can change if the contact - * opts out multiple times. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("date") - private OffsetDateTime date; - - /** - * This is used to denote how a contact is opt'd out of Cvent system. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("by") - private OptoutByJson by; - - @JsonCreator - public OptOutJson( - @JsonProperty("optedOut") @Nullable Boolean optedOut, - @JsonProperty("date") @Nullable OffsetDateTime date, - @JsonProperty("by") @Nullable OptoutByJson by) { - this.optedOut = Optional.ofNullable(optedOut).orElse(Builder._SINGLETON_VALUE_OptedOut.value()); - this.date = date; - this.by = by; - } - - public OptOutJson() { - this(null, null, null); - } - - /** - * Used to denote if a contact has opted-out of receiving system generated emails. - */ - public Optional optedOut() { - return Optional.ofNullable(this.optedOut); - } - - /** - * The ISO 8601 zoned date time when this contact was opted-out. This value can change if the contact - * opts out multiple times. - */ - public Optional date() { - return Optional.ofNullable(this.date); - } - - /** - * This is used to denote how a contact is opt'd out of Cvent system. - */ - public Optional by() { - return Optional.ofNullable(this.by); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Used to denote if a contact has opted-out of receiving system generated emails. - */ - public OptOutJson withOptedOut(@Nullable Boolean optedOut) { - this.optedOut = optedOut; - return this; - } - - /** - * The ISO 8601 zoned date time when this contact was opted-out. This value can change if the contact - * opts out multiple times. - */ - public OptOutJson withDate(@Nullable OffsetDateTime date) { - this.date = date; - return this; - } - - /** - * This is used to denote how a contact is opt'd out of Cvent system. - */ - public OptOutJson withBy(@Nullable OptoutByJson by) { - this.by = by; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OptOutJson other = (OptOutJson) o; - return Utils.enhancedDeepEquals(this.optedOut, other.optedOut) - && Utils.enhancedDeepEquals(this.date, other.date) - && Utils.enhancedDeepEquals(this.by, other.by); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(optedOut, date, by); - } - - @Override - public String toString() { - return Utils.toString(OptOutJson.class, "optedOut", optedOut, "date", date, "by", by); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private Boolean optedOut; - - private OffsetDateTime date; - - private OptoutByJson by; - - private Builder() { - // force use of static builder() method - } - - /** - * Used to denote if a contact has opted-out of receiving system generated emails. - */ - public Builder optedOut(@Nullable Boolean optedOut) { - this.optedOut = optedOut; - return this; - } - - /** - * The ISO 8601 zoned date time when this contact was opted-out. This value can change if the contact - * opts out multiple times. - */ - public Builder date(@Nullable OffsetDateTime date) { - this.date = date; - return this; - } - - /** - * This is used to denote how a contact is opt'd out of Cvent system. - */ - public Builder by(@Nullable OptoutByJson by) { - this.by = by; - return this; - } - - public OptOutJson build() { - return new OptOutJson(optedOut, date, by); - } - - private static final LazySingletonValue _SINGLETON_VALUE_OptedOut = - new LazySingletonValue<>("optedOut", "false", new TypeReference() {}); - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/OptOutJsonInput.java b/packages/java/src/main/java/com/cvent/models/components/OptOutJsonInput.java deleted file mode 100644 index 4840a414d..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/OptOutJsonInput.java +++ /dev/null @@ -1,106 +0,0 @@ -/* - * 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; - -/** - * OptOutJsonInput - * - *

Details of an opt-out for a Contact. - */ -public class OptOutJsonInput { - /** - * Used to denote if a contact has opted-out of receiving system generated emails. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("optedOut") - private Boolean optedOut; - - @JsonCreator - public OptOutJsonInput(@JsonProperty("optedOut") @Nullable Boolean optedOut) { - this.optedOut = Optional.ofNullable(optedOut).orElse(Builder._SINGLETON_VALUE_OptedOut.value()); - } - - public OptOutJsonInput() { - this(null); - } - - /** - * Used to denote if a contact has opted-out of receiving system generated emails. - */ - public Optional optedOut() { - return Optional.ofNullable(this.optedOut); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Used to denote if a contact has opted-out of receiving system generated emails. - */ - public OptOutJsonInput withOptedOut(@Nullable Boolean optedOut) { - this.optedOut = optedOut; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OptOutJsonInput other = (OptOutJsonInput) o; - return Utils.enhancedDeepEquals(this.optedOut, other.optedOut); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(optedOut); - } - - @Override - public String toString() { - return Utils.toString(OptOutJsonInput.class, "optedOut", optedOut); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private Boolean optedOut; - - private Builder() { - // force use of static builder() method - } - - /** - * Used to denote if a contact has opted-out of receiving system generated emails. - */ - public Builder optedOut(@Nullable Boolean optedOut) { - this.optedOut = optedOut; - return this; - } - - public OptOutJsonInput build() { - return new OptOutJsonInput(optedOut); - } - - private static final LazySingletonValue _SINGLETON_VALUE_OptedOut = - new LazySingletonValue<>("optedOut", "false", new TypeReference() {}); - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/OptoutBy.java b/packages/java/src/main/java/com/cvent/models/components/OptoutBy.java new file mode 100644 index 000000000..4863bad9b --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/OptoutBy.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; + +/** + * OptoutBy + * + *

This is used to denote how a contact is opt'd out of Cvent system. + */ +public enum OptoutBy { + ABUSE_COMPLAINT("Abuse Complaint"), + ACCOUNT_USER("Account User"), + API("API"), + CONTACT_SELF_OPT_OUT("Contact Self Opt-Out"), + CVENT_SUPPORT("Cvent Support"), + HARD_BOUNCE("Hard Bounce"), + IMPORT("Import"), + INVITEE_SELF_UNSUBSCRIBE("Invitee Self Unsubscribe"), + MULTIPLE_BOUNCE("Multiple Bounce"), + RESPONDENT_SELF_UNSUBSCRIBE("Respondent Self Unsubscribe"), + TEMPORARY_BLOCK("Temporary Block"), + CVENT_SALESFORCE_APP("Cvent Salesforce App"); + + @JsonValue + private final String value; + + OptoutBy(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (OptoutBy o : OptoutBy.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/OrderDetail.java b/packages/java/src/main/java/com/cvent/models/components/OrderDetail.java index 5d73c502f..853bbec4e 100644 --- a/packages/java/src/main/java/com/cvent/models/components/OrderDetail.java +++ b/packages/java/src/main/java/com/cvent/models/components/OrderDetail.java @@ -70,7 +70,7 @@ public class OrderDetail { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("attendee") - private Attendee2 attendee; + private Attendee attendee; /** * Order number for this order @@ -157,7 +157,7 @@ public OrderDetail( @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, @JsonProperty("id") @Nullable String id, @JsonProperty("event") @Nullable Event2 event, - @JsonProperty("attendee") @Nullable Attendee2 attendee, + @JsonProperty("attendee") @Nullable Attendee attendee, @JsonProperty("number") @Nullable String number, @JsonProperty("cancelled") @Nullable Boolean cancelled, @JsonProperty("type") @Nullable OrderType type, @@ -256,7 +256,7 @@ public Optional event() { /** * The reference to the attendee. Contains only the ID of the attendee. */ - public Optional attendee() { + public Optional attendee() { return Optional.ofNullable(this.attendee); } @@ -392,7 +392,7 @@ public OrderDetail withEvent(@Nullable Event2 event) { /** * The reference to the attendee. Contains only the ID of the attendee. */ - public OrderDetail withAttendee(@Nullable Attendee2 attendee) { + public OrderDetail withAttendee(@Nullable Attendee attendee) { this.attendee = attendee; return this; } @@ -594,7 +594,7 @@ public static final class Builder { private Event2 event; - private Attendee2 attendee; + private Attendee attendee; private String number; @@ -673,7 +673,7 @@ public Builder event(@Nullable Event2 event) { /** * The reference to the attendee. Contains only the ID of the attendee. */ - public Builder attendee(@Nullable Attendee2 attendee) { + public Builder attendee(@Nullable Attendee attendee) { this.attendee = attendee; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/OrderItemResponse.java b/packages/java/src/main/java/com/cvent/models/components/OrderItemResponse.java index 44b0141fb..8e0e5eae2 100644 --- a/packages/java/src/main/java/com/cvent/models/components/OrderItemResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/OrderItemResponse.java @@ -78,7 +78,7 @@ public class OrderItemResponse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("attendee") - private Attendee2 attendee; + private Attendee attendee; /** * Indicates if an attendee is a guest @@ -201,7 +201,7 @@ public OrderItemResponse( @JsonProperty("id") @Nullable String id, @JsonProperty("order") @Nullable OrderRef order, @JsonProperty("event") @Nullable Event2 event, - @JsonProperty("attendee") @Nullable Attendee2 attendee, + @JsonProperty("attendee") @Nullable Attendee attendee, @JsonProperty("guest") @Nullable Boolean guest, @JsonProperty("guestDetail") @Nullable Guest guestDetail, @JsonProperty("product") @Nullable ProductOrderItem product, @@ -324,7 +324,7 @@ public Optional event() { /** * The reference to the attendee. Contains only the ID of the attendee. */ - public Optional attendee() { + public Optional attendee() { return Optional.ofNullable(this.attendee); } @@ -503,7 +503,7 @@ public OrderItemResponse withEvent(@Nullable Event2 event) { /** * The reference to the attendee. Contains only the ID of the attendee. */ - public OrderItemResponse withAttendee(@Nullable Attendee2 attendee) { + public OrderItemResponse withAttendee(@Nullable Attendee attendee) { this.attendee = attendee; return this; } @@ -771,7 +771,7 @@ public static final class Builder { private Event2 event; - private Attendee2 attendee; + private Attendee attendee; private Boolean guest; @@ -868,7 +868,7 @@ public Builder event(@Nullable Event2 event) { /** * The reference to the attendee. Contains only the ID of the attendee. */ - public Builder attendee(@Nullable Attendee2 attendee) { + public Builder attendee(@Nullable Attendee attendee) { this.attendee = attendee; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/Organization.java b/packages/java/src/main/java/com/cvent/models/components/Organization.java new file mode 100644 index 000000000..707f9c534 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Organization.java @@ -0,0 +1,100 @@ +/* + * 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; + +/** + * Organization + * + *

Organization details. + */ +public class Organization { + /** + * Unique identifier for the organization. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public Organization(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public Organization() { + this(null); + } + + /** + * Unique identifier for the organization. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique identifier for the organization. + */ + public Organization withId(@Nullable String id) { + this.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; + } + Organization other = (Organization) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(Organization.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique identifier for the organization. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public Organization build() { + return new Organization(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/OrganizationJson.java b/packages/java/src/main/java/com/cvent/models/components/OrganizationJson.java deleted file mode 100644 index 4c5e735ee..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/OrganizationJson.java +++ /dev/null @@ -1,100 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * OrganizationJson - * - *

Organization details. - */ -public class OrganizationJson { - /** - * Unique identifier for the organization. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public OrganizationJson(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public OrganizationJson() { - this(null); - } - - /** - * Unique identifier for the organization. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Unique identifier for the organization. - */ - public OrganizationJson withId(@Nullable String id) { - this.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; - } - OrganizationJson other = (OrganizationJson) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(OrganizationJson.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * Unique identifier for the organization. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public OrganizationJson build() { - return new OrganizationJson(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/OrganizationType1.java b/packages/java/src/main/java/com/cvent/models/components/OrganizationType1.java new file mode 100644 index 000000000..5a999082b --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/OrganizationType1.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; + +/** + * OrganizationType1 + * + *

Organization type. + */ +public enum OrganizationType1 { + CORPORATE("CORPORATE"), + ASSOCIATION("ASSOCIATION"), + EDUCATION("EDUCATION"), + GOVERNMENT("GOVERNMENT"), + SOCIAL_LEISURE("SOCIAL_LEISURE"), + RELIGIOUS("RELIGIOUS"), + MILITARY("MILITARY"), + OTHER("OTHER"), + NON_PROFIT("NON_PROFIT"); + + @JsonValue + private final String value; + + OrganizationType1(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (OrganizationType1 o : OrganizationType1.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/OrganizationTypeJson0.java b/packages/java/src/main/java/com/cvent/models/components/OrganizationTypeJson0.java deleted file mode 100644 index f6d670980..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/OrganizationTypeJson0.java +++ /dev/null @@ -1,46 +0,0 @@ -/* - * 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; - -/** - * OrganizationTypeJson0 - * - *

Organization type. - */ -public enum OrganizationTypeJson0 { - CORPORATE("CORPORATE"), - ASSOCIATION("ASSOCIATION"), - EDUCATION("EDUCATION"), - GOVERNMENT("GOVERNMENT"), - SOCIAL_LEISURE("SOCIAL_LEISURE"), - RELIGIOUS("RELIGIOUS"), - MILITARY("MILITARY"), - OTHER("OTHER"), - NON_PROFIT("NON_PROFIT"); - - @JsonValue - private final String value; - - OrganizationTypeJson0(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (OrganizationTypeJson0 o : OrganizationTypeJson0.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/PackagePricingPreference.java b/packages/java/src/main/java/com/cvent/models/components/PackagePricingPreference.java new file mode 100644 index 000000000..6c001ba83 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/PackagePricingPreference.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; + +/** + * PackagePricingPreference + * + *

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. + */ +public enum PackagePricingPreference { + NO_PREFERENCE("NO_PREFERENCE"), + OPTIONAL("OPTIONAL"), + REQUIRED("REQUIRED"); + + @JsonValue + private final String value; + + PackagePricingPreference(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (PackagePricingPreference o : PackagePricingPreference.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/PackagePricingPreferenceJson.java b/packages/java/src/main/java/com/cvent/models/components/PackagePricingPreferenceJson.java deleted file mode 100644 index f06235a2b..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/PackagePricingPreferenceJson.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * 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; - -/** - * PackagePricingPreferenceJson - * - *

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. - */ -public enum PackagePricingPreferenceJson { - NO_PREFERENCE("NO_PREFERENCE"), - OPTIONAL("OPTIONAL"), - REQUIRED("REQUIRED"); - - @JsonValue - private final String value; - - PackagePricingPreferenceJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (PackagePricingPreferenceJson o : PackagePricingPreferenceJson.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/PaginatedInternalDocuments.java b/packages/java/src/main/java/com/cvent/models/components/PaginatedInternalDocuments.java index 480d3d4f6..5ae3a9ed5 100644 --- a/packages/java/src/main/java/com/cvent/models/components/PaginatedInternalDocuments.java +++ b/packages/java/src/main/java/com/cvent/models/components/PaginatedInternalDocuments.java @@ -25,19 +25,19 @@ public class PaginatedInternalDocuments { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * List of internal documents linked to an RFP. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("data") - private List data; + private List data; @JsonCreator public PaginatedInternalDocuments( - @JsonProperty("paging") @Nullable PagingJson paging, - @JsonProperty("data") @Nullable List data) { + @JsonProperty("paging") @Nullable Paging paging, + @JsonProperty("data") @Nullable List data) { this.paging = paging; this.data = data; } @@ -49,14 +49,14 @@ public PaginatedInternalDocuments() { /** * Represents pagination information for a collection of resources. */ - public Optional paging() { + public Optional paging() { return Optional.ofNullable(this.paging); } /** * List of internal documents linked to an RFP. */ - public Optional> data() { + public Optional> data() { return Optional.ofNullable(this.data); } @@ -67,7 +67,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public PaginatedInternalDocuments withPaging(@Nullable PagingJson paging) { + public PaginatedInternalDocuments withPaging(@Nullable Paging paging) { this.paging = paging; return this; } @@ -75,7 +75,7 @@ public PaginatedInternalDocuments withPaging(@Nullable PagingJson paging) { /** * List of internal documents linked to an RFP. */ - public PaginatedInternalDocuments withData(@Nullable List data) { + public PaginatedInternalDocuments withData(@Nullable List data) { this.data = data; return this; } @@ -105,9 +105,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; - private List data; + private List data; private Builder() { // force use of static builder() method @@ -116,7 +116,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nullable PagingJson paging) { + public Builder paging(@Nullable Paging paging) { this.paging = paging; return this; } @@ -124,7 +124,7 @@ public Builder paging(@Nullable PagingJson paging) { /** * List of internal documents linked to an RFP. */ - 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/PaginatedRfpAgendaItems.java b/packages/java/src/main/java/com/cvent/models/components/PaginatedRfpAgendaItems.java index 274e802f8..6f4a2dd95 100644 --- a/packages/java/src/main/java/com/cvent/models/components/PaginatedRfpAgendaItems.java +++ b/packages/java/src/main/java/com/cvent/models/components/PaginatedRfpAgendaItems.java @@ -25,19 +25,18 @@ public class PaginatedRfpAgendaItems { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * List of agenda items associated with an RFP. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("data") - private List data; + private List data; @JsonCreator public PaginatedRfpAgendaItems( - @JsonProperty("paging") @Nullable PagingJson paging, - @JsonProperty("data") @Nullable List data) { + @JsonProperty("paging") @Nullable Paging paging, @JsonProperty("data") @Nullable List data) { this.paging = paging; this.data = data; } @@ -49,14 +48,14 @@ public PaginatedRfpAgendaItems() { /** * Represents pagination information for a collection of resources. */ - public Optional paging() { + public Optional paging() { return Optional.ofNullable(this.paging); } /** * List of agenda items associated with an RFP. */ - public Optional> data() { + public Optional> data() { return Optional.ofNullable(this.data); } @@ -67,7 +66,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public PaginatedRfpAgendaItems withPaging(@Nullable PagingJson paging) { + public PaginatedRfpAgendaItems withPaging(@Nullable Paging paging) { this.paging = paging; return this; } @@ -75,7 +74,7 @@ public PaginatedRfpAgendaItems withPaging(@Nullable PagingJson paging) { /** * List of agenda items associated with an RFP. */ - public PaginatedRfpAgendaItems withData(@Nullable List data) { + public PaginatedRfpAgendaItems withData(@Nullable List data) { this.data = data; return this; } @@ -105,9 +104,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; - private List data; + private List data; private Builder() { // force use of static builder() method @@ -116,7 +115,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nullable PagingJson paging) { + public Builder paging(@Nullable Paging paging) { this.paging = paging; return this; } @@ -124,7 +123,7 @@ public Builder paging(@Nullable PagingJson paging) { /** * List of agenda items associated with an RFP. */ - 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/PaginatedRfpAgendaItemsSchedule.java b/packages/java/src/main/java/com/cvent/models/components/PaginatedRfpAgendaItemsSchedule.java index 450f871f3..67e8bb051 100644 --- a/packages/java/src/main/java/com/cvent/models/components/PaginatedRfpAgendaItemsSchedule.java +++ b/packages/java/src/main/java/com/cvent/models/components/PaginatedRfpAgendaItemsSchedule.java @@ -25,19 +25,19 @@ public class PaginatedRfpAgendaItemsSchedule { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * List of agenda items schedule attached to an RFP. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("data") - private List data; + private List data; @JsonCreator public PaginatedRfpAgendaItemsSchedule( - @JsonProperty("paging") @Nullable PagingJson paging, - @JsonProperty("data") @Nullable List data) { + @JsonProperty("paging") @Nullable Paging paging, + @JsonProperty("data") @Nullable List data) { this.paging = paging; this.data = data; } @@ -49,14 +49,14 @@ public PaginatedRfpAgendaItemsSchedule() { /** * Represents pagination information for a collection of resources. */ - public Optional paging() { + public Optional paging() { return Optional.ofNullable(this.paging); } /** * List of agenda items schedule attached to an RFP. */ - public Optional> data() { + public Optional> data() { return Optional.ofNullable(this.data); } @@ -67,7 +67,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public PaginatedRfpAgendaItemsSchedule withPaging(@Nullable PagingJson paging) { + public PaginatedRfpAgendaItemsSchedule withPaging(@Nullable Paging paging) { this.paging = paging; return this; } @@ -75,7 +75,7 @@ public PaginatedRfpAgendaItemsSchedule withPaging(@Nullable PagingJson paging) { /** * List of agenda items schedule attached to an RFP. */ - public PaginatedRfpAgendaItemsSchedule withData(@Nullable List data) { + public PaginatedRfpAgendaItemsSchedule withData(@Nullable List data) { this.data = data; return this; } @@ -105,9 +105,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; - private List data; + private List data; private Builder() { // force use of static builder() method @@ -116,7 +116,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nullable PagingJson paging) { + public Builder paging(@Nullable Paging paging) { this.paging = paging; return this; } @@ -124,7 +124,7 @@ public Builder paging(@Nullable PagingJson paging) { /** * List of agenda items schedule attached to an RFP. */ - 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/PaginatedRfpAttachments.java b/packages/java/src/main/java/com/cvent/models/components/PaginatedRfpAttachments.java index ab9c08606..b016463bb 100644 --- a/packages/java/src/main/java/com/cvent/models/components/PaginatedRfpAttachments.java +++ b/packages/java/src/main/java/com/cvent/models/components/PaginatedRfpAttachments.java @@ -22,18 +22,17 @@ public class PaginatedRfpAttachments { * Represents pagination information for a collection of resources. */ @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * List of attachments added on an RFP. */ @JsonProperty("data") - private List data; + private List data; @JsonCreator public PaginatedRfpAttachments( - @JsonProperty("paging") @Nonnull PagingJson paging, - @JsonProperty("data") @Nonnull List data) { + @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")); @@ -42,14 +41,14 @@ public PaginatedRfpAttachments( /** * Represents pagination information for a collection of resources. */ - public PagingJson paging() { + public Paging paging() { return this.paging; } /** * List of attachments added on an RFP. */ - public List data() { + public List data() { return this.data; } @@ -60,7 +59,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public PaginatedRfpAttachments withPaging(@Nonnull PagingJson paging) { + public PaginatedRfpAttachments withPaging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } @@ -68,7 +67,7 @@ public PaginatedRfpAttachments withPaging(@Nonnull PagingJson paging) { /** * List of attachments added on an RFP. */ - public PaginatedRfpAttachments withData(@Nonnull List data) { + public PaginatedRfpAttachments withData(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } @@ -98,9 +97,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; - private List data; + private List data; private Builder() { // force use of static builder() method @@ -109,7 +108,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nonnull PagingJson paging) { + public Builder paging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } @@ -117,7 +116,7 @@ public Builder paging(@Nonnull PagingJson paging) { /** * List of attachments added on an RFP. */ - public Builder data(@Nonnull List data) { + public Builder data(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/PaginatedRfpCustomField.java b/packages/java/src/main/java/com/cvent/models/components/PaginatedRfpCustomField.java index 25f32568b..34ba7b6d5 100644 --- a/packages/java/src/main/java/com/cvent/models/components/PaginatedRfpCustomField.java +++ b/packages/java/src/main/java/com/cvent/models/components/PaginatedRfpCustomField.java @@ -25,19 +25,19 @@ public class PaginatedRfpCustomField { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * List of RFP custom fields linked to an RFP. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("data") - private List data; + private List data; @JsonCreator public PaginatedRfpCustomField( - @JsonProperty("paging") @Nullable PagingJson paging, - @JsonProperty("data") @Nullable List data) { + @JsonProperty("paging") @Nullable Paging paging, + @JsonProperty("data") @Nullable List data) { this.paging = paging; this.data = data; } @@ -49,14 +49,14 @@ public PaginatedRfpCustomField() { /** * Represents pagination information for a collection of resources. */ - public Optional paging() { + public Optional paging() { return Optional.ofNullable(this.paging); } /** * List of RFP custom fields linked to an RFP. */ - public Optional> data() { + public Optional> data() { return Optional.ofNullable(this.data); } @@ -67,7 +67,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public PaginatedRfpCustomField withPaging(@Nullable PagingJson paging) { + public PaginatedRfpCustomField withPaging(@Nullable Paging paging) { this.paging = paging; return this; } @@ -75,7 +75,7 @@ public PaginatedRfpCustomField withPaging(@Nullable PagingJson paging) { /** * List of RFP custom fields linked to an RFP. */ - public PaginatedRfpCustomField withData(@Nullable List data) { + public PaginatedRfpCustomField withData(@Nullable List data) { this.data = data; return this; } @@ -105,9 +105,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; - private List data; + private List data; private Builder() { // force use of static builder() method @@ -116,7 +116,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nullable PagingJson paging) { + public Builder paging(@Nullable Paging paging) { this.paging = paging; return this; } @@ -124,7 +124,7 @@ public Builder paging(@Nullable PagingJson paging) { /** * List of RFP custom fields linked to an RFP. */ - 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/PaginatedRfpQuestions.java b/packages/java/src/main/java/com/cvent/models/components/PaginatedRfpQuestions.java index ad16f4f83..c9c988dd4 100644 --- a/packages/java/src/main/java/com/cvent/models/components/PaginatedRfpQuestions.java +++ b/packages/java/src/main/java/com/cvent/models/components/PaginatedRfpQuestions.java @@ -25,19 +25,18 @@ public class PaginatedRfpQuestions { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * List of questions associated to an RFP. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("data") - private List data; + private List data; @JsonCreator public PaginatedRfpQuestions( - @JsonProperty("paging") @Nullable PagingJson paging, - @JsonProperty("data") @Nullable List data) { + @JsonProperty("paging") @Nullable Paging paging, @JsonProperty("data") @Nullable List data) { this.paging = paging; this.data = data; } @@ -49,14 +48,14 @@ public PaginatedRfpQuestions() { /** * Represents pagination information for a collection of resources. */ - public Optional paging() { + public Optional paging() { return Optional.ofNullable(this.paging); } /** * List of questions associated to an RFP. */ - public Optional> data() { + public Optional> data() { return Optional.ofNullable(this.data); } @@ -67,7 +66,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public PaginatedRfpQuestions withPaging(@Nullable PagingJson paging) { + public PaginatedRfpQuestions withPaging(@Nullable Paging paging) { this.paging = paging; return this; } @@ -75,7 +74,7 @@ public PaginatedRfpQuestions withPaging(@Nullable PagingJson paging) { /** * List of questions associated to an RFP. */ - public PaginatedRfpQuestions withData(@Nullable List data) { + public PaginatedRfpQuestions withData(@Nullable List data) { this.data = data; return this; } @@ -105,9 +104,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; - private List data; + private List data; private Builder() { // force use of static builder() method @@ -116,7 +115,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nullable PagingJson paging) { + public Builder paging(@Nullable Paging paging) { this.paging = paging; return this; } @@ -124,7 +123,7 @@ public Builder paging(@Nullable PagingJson paging) { /** * List of questions associated to an RFP. */ - 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/PaginatedRfpRecipientsHistory.java b/packages/java/src/main/java/com/cvent/models/components/PaginatedRfpRecipientsHistory.java index cd1d83301..c4870c850 100644 --- a/packages/java/src/main/java/com/cvent/models/components/PaginatedRfpRecipientsHistory.java +++ b/packages/java/src/main/java/com/cvent/models/components/PaginatedRfpRecipientsHistory.java @@ -22,18 +22,18 @@ public class PaginatedRfpRecipientsHistory { * Represents pagination information for a collection of resources. */ @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * List of RFP recipient logs. */ @JsonProperty("data") - private List data; + private List data; @JsonCreator public PaginatedRfpRecipientsHistory( - @JsonProperty("paging") @Nonnull PagingJson paging, - @JsonProperty("data") @Nonnull List data) { + @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")); @@ -42,14 +42,14 @@ public PaginatedRfpRecipientsHistory( /** * Represents pagination information for a collection of resources. */ - public PagingJson paging() { + public Paging paging() { return this.paging; } /** * List of RFP recipient logs. */ - public List data() { + public List data() { return this.data; } @@ -60,7 +60,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public PaginatedRfpRecipientsHistory withPaging(@Nonnull PagingJson paging) { + public PaginatedRfpRecipientsHistory withPaging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } @@ -68,7 +68,7 @@ public PaginatedRfpRecipientsHistory withPaging(@Nonnull PagingJson paging) { /** * List of RFP recipient logs. */ - public PaginatedRfpRecipientsHistory withData(@Nonnull List data) { + public PaginatedRfpRecipientsHistory withData(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } @@ -98,9 +98,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; - private List data; + private List data; private Builder() { // force use of static builder() method @@ -109,7 +109,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nonnull PagingJson paging) { + public Builder paging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } @@ -117,7 +117,7 @@ public Builder paging(@Nonnull PagingJson paging) { /** * List of RFP recipient logs. */ - public Builder data(@Nonnull List data) { + public Builder data(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/PaginatedRfpSuppliers.java b/packages/java/src/main/java/com/cvent/models/components/PaginatedRfpSuppliers.java index 5b038413b..835ec3da2 100644 --- a/packages/java/src/main/java/com/cvent/models/components/PaginatedRfpSuppliers.java +++ b/packages/java/src/main/java/com/cvent/models/components/PaginatedRfpSuppliers.java @@ -22,18 +22,17 @@ public class PaginatedRfpSuppliers { * Represents pagination information for a collection of resources. */ @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * List of RFP suppliers. */ @JsonProperty("data") - private List data; + private List data; @JsonCreator public PaginatedRfpSuppliers( - @JsonProperty("paging") @Nonnull PagingJson paging, - @JsonProperty("data") @Nonnull List data) { + @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")); @@ -42,14 +41,14 @@ public PaginatedRfpSuppliers( /** * Represents pagination information for a collection of resources. */ - public PagingJson paging() { + public Paging paging() { return this.paging; } /** * List of RFP suppliers. */ - public List data() { + public List data() { return this.data; } @@ -60,7 +59,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public PaginatedRfpSuppliers withPaging(@Nonnull PagingJson paging) { + public PaginatedRfpSuppliers withPaging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } @@ -68,7 +67,7 @@ public PaginatedRfpSuppliers withPaging(@Nonnull PagingJson paging) { /** * List of RFP suppliers. */ - public PaginatedRfpSuppliers withData(@Nonnull List data) { + public PaginatedRfpSuppliers withData(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } @@ -98,9 +97,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; - private List data; + private List data; private Builder() { // force use of static builder() method @@ -109,7 +108,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nonnull PagingJson paging) { + public Builder paging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } @@ -117,7 +116,7 @@ public Builder paging(@Nonnull PagingJson paging) { /** * List of RFP suppliers. */ - public Builder data(@Nonnull List data) { + public Builder data(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/PagingJson19.java b/packages/java/src/main/java/com/cvent/models/components/PagingJson19.java deleted file mode 100644 index 3229ee2b8..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/PagingJson19.java +++ /dev/null @@ -1,257 +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.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Long; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * PagingJson19 - * - *

Represents pagination information for a collection of resources. - */ -public class PagingJson19 { - /** - * The pagination token for the next page; if available. You can use this to determine if there is - * additional data to fetch - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("nextToken") - private String nextToken; - - /** - * The pagination token for the current page - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("currentToken") - private String currentToken; - - /** - * The number of records to return on the page not to exceed 200 - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("limit") - private Long limit; - - /** - * The total number of records available - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("totalCount") - private Long totalCount; - - /** - * Represents pagination links for navigating between pages of data. - */ - @JsonProperty("_links") - private PaginationLinksJson links; - - @JsonCreator - public PagingJson19( - @JsonProperty("nextToken") @Nullable String nextToken, - @JsonProperty("currentToken") @Nullable String currentToken, - @JsonProperty("limit") @Nullable Long limit, - @JsonProperty("totalCount") @Nullable Long totalCount, - @JsonProperty("_links") @Nonnull PaginationLinksJson links) { - this.nextToken = nextToken; - this.currentToken = currentToken; - this.limit = limit; - this.totalCount = totalCount; - this.links = Optional.ofNullable(links).orElseThrow(() -> new IllegalArgumentException("links cannot be null")); - } - - public PagingJson19(@Nonnull PaginationLinksJson links) { - this(null, null, null, null, links); - } - - /** - * The pagination token for the next page; if available. You can use this to determine if there is - * additional data to fetch - */ - public Optional nextToken() { - return Optional.ofNullable(this.nextToken); - } - - /** - * The pagination token for the current page - */ - public Optional currentToken() { - return Optional.ofNullable(this.currentToken); - } - - /** - * The number of records to return on the page not to exceed 200 - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - - /** - * The total number of records available - */ - public Optional totalCount() { - return Optional.ofNullable(this.totalCount); - } - - /** - * Represents pagination links for navigating between pages of data. - */ - public PaginationLinksJson links() { - return this.links; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The pagination token for the next page; if available. You can use this to determine if there is - * additional data to fetch - */ - public PagingJson19 withNextToken(@Nullable String nextToken) { - this.nextToken = nextToken; - return this; - } - - /** - * The pagination token for the current page - */ - public PagingJson19 withCurrentToken(@Nullable String currentToken) { - this.currentToken = currentToken; - return this; - } - - /** - * The number of records to return on the page not to exceed 200 - */ - public PagingJson19 withLimit(@Nullable Long limit) { - this.limit = limit; - return this; - } - - /** - * The total number of records available - */ - public PagingJson19 withTotalCount(@Nullable Long totalCount) { - this.totalCount = totalCount; - return this; - } - - /** - * Represents pagination links for navigating between pages of data. - */ - public PagingJson19 withLinks(@Nonnull PaginationLinksJson links) { - this.links = Utils.checkNotNull(links, "links"); - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PagingJson19 other = (PagingJson19) o; - return Utils.enhancedDeepEquals(this.nextToken, other.nextToken) - && Utils.enhancedDeepEquals(this.currentToken, other.currentToken) - && Utils.enhancedDeepEquals(this.limit, other.limit) - && Utils.enhancedDeepEquals(this.totalCount, other.totalCount) - && Utils.enhancedDeepEquals(this.links, other.links); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(nextToken, currentToken, limit, totalCount, links); - } - - @Override - public String toString() { - return Utils.toString( - PagingJson19.class, - "nextToken", - nextToken, - "currentToken", - currentToken, - "limit", - limit, - "totalCount", - totalCount, - "links", - links); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String nextToken; - - private String currentToken; - - private Long limit; - - private Long totalCount; - - private PaginationLinksJson links; - - private Builder() { - // force use of static builder() method - } - - /** - * The pagination token for the next page; if available. You can use this to determine if there is - * additional data to fetch - */ - public Builder nextToken(@Nullable String nextToken) { - this.nextToken = nextToken; - return this; - } - - /** - * The pagination token for the current page - */ - public Builder currentToken(@Nullable String currentToken) { - this.currentToken = currentToken; - return this; - } - - /** - * The number of records to return on the page not to exceed 200 - */ - public Builder limit(@Nullable Long limit) { - this.limit = limit; - return this; - } - - /** - * The total number of records available - */ - public Builder totalCount(@Nullable Long totalCount) { - this.totalCount = totalCount; - return this; - } - - /** - * Represents pagination links for navigating between pages of data. - */ - public Builder links(@Nonnull PaginationLinksJson links) { - this.links = Utils.checkNotNull(links, "links"); - return this; - } - - public PagingJson19 build() { - return new PagingJson19(nextToken, currentToken, limit, totalCount, links); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/PagingJson2.java b/packages/java/src/main/java/com/cvent/models/components/PagingJson2.java new file mode 100644 index 000000000..a12448f33 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/PagingJson2.java @@ -0,0 +1,257 @@ +/* + * 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; + +/** + * PagingJson2 + * + *

Represents pagination information for a collection of resources. + */ +public class PagingJson2 { + /** + * The pagination token for the next page; if available. You can use this to determine if there is + * additional data to fetch + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("nextToken") + private String nextToken; + + /** + * The pagination token for the current page + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("currentToken") + private String currentToken; + + /** + * The number of records to return on the page not to exceed 200 + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("limit") + private Long limit; + + /** + * The total number of records available + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("totalCount") + private Long totalCount; + + /** + * Represents pagination links for navigating between pages of data. + */ + @JsonProperty("_links") + private PaginationLinksJson links; + + @JsonCreator + public PagingJson2( + @JsonProperty("nextToken") @Nullable String nextToken, + @JsonProperty("currentToken") @Nullable String currentToken, + @JsonProperty("limit") @Nullable Long limit, + @JsonProperty("totalCount") @Nullable Long totalCount, + @JsonProperty("_links") @Nonnull PaginationLinksJson links) { + this.nextToken = nextToken; + this.currentToken = currentToken; + this.limit = limit; + this.totalCount = totalCount; + this.links = Optional.ofNullable(links).orElseThrow(() -> new IllegalArgumentException("links cannot be null")); + } + + public PagingJson2(@Nonnull PaginationLinksJson links) { + this(null, null, null, null, links); + } + + /** + * The pagination token for the next page; if available. You can use this to determine if there is + * additional data to fetch + */ + public Optional nextToken() { + return Optional.ofNullable(this.nextToken); + } + + /** + * The pagination token for the current page + */ + public Optional currentToken() { + return Optional.ofNullable(this.currentToken); + } + + /** + * The number of records to return on the page not to exceed 200 + */ + public Optional limit() { + return Optional.ofNullable(this.limit); + } + + /** + * The total number of records available + */ + public Optional totalCount() { + return Optional.ofNullable(this.totalCount); + } + + /** + * Represents pagination links for navigating between pages of data. + */ + public PaginationLinksJson links() { + return this.links; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The pagination token for the next page; if available. You can use this to determine if there is + * additional data to fetch + */ + public PagingJson2 withNextToken(@Nullable String nextToken) { + this.nextToken = nextToken; + return this; + } + + /** + * The pagination token for the current page + */ + public PagingJson2 withCurrentToken(@Nullable String currentToken) { + this.currentToken = currentToken; + return this; + } + + /** + * The number of records to return on the page not to exceed 200 + */ + public PagingJson2 withLimit(@Nullable Long limit) { + this.limit = limit; + return this; + } + + /** + * The total number of records available + */ + public PagingJson2 withTotalCount(@Nullable Long totalCount) { + this.totalCount = totalCount; + return this; + } + + /** + * Represents pagination links for navigating between pages of data. + */ + public PagingJson2 withLinks(@Nonnull PaginationLinksJson links) { + this.links = Utils.checkNotNull(links, "links"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PagingJson2 other = (PagingJson2) o; + return Utils.enhancedDeepEquals(this.nextToken, other.nextToken) + && Utils.enhancedDeepEquals(this.currentToken, other.currentToken) + && Utils.enhancedDeepEquals(this.limit, other.limit) + && Utils.enhancedDeepEquals(this.totalCount, other.totalCount) + && Utils.enhancedDeepEquals(this.links, other.links); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(nextToken, currentToken, limit, totalCount, links); + } + + @Override + public String toString() { + return Utils.toString( + PagingJson2.class, + "nextToken", + nextToken, + "currentToken", + currentToken, + "limit", + limit, + "totalCount", + totalCount, + "links", + links); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String nextToken; + + private String currentToken; + + private Long limit; + + private Long totalCount; + + private PaginationLinksJson links; + + private Builder() { + // force use of static builder() method + } + + /** + * The pagination token for the next page; if available. You can use this to determine if there is + * additional data to fetch + */ + public Builder nextToken(@Nullable String nextToken) { + this.nextToken = nextToken; + return this; + } + + /** + * The pagination token for the current page + */ + public Builder currentToken(@Nullable String currentToken) { + this.currentToken = currentToken; + return this; + } + + /** + * The number of records to return on the page not to exceed 200 + */ + public Builder limit(@Nullable Long limit) { + this.limit = limit; + return this; + } + + /** + * The total number of records available + */ + public Builder totalCount(@Nullable Long totalCount) { + this.totalCount = totalCount; + return this; + } + + /** + * Represents pagination links for navigating between pages of data. + */ + public Builder links(@Nonnull PaginationLinksJson links) { + this.links = Utils.checkNotNull(links, "links"); + return this; + } + + public PagingJson2 build() { + return new PagingJson2(nextToken, currentToken, limit, totalCount, links); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/PagingNoTotalCountJson.java b/packages/java/src/main/java/com/cvent/models/components/PagingNoTotalCountJson.java new file mode 100644 index 000000000..f7868de71 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/PagingNoTotalCountJson.java @@ -0,0 +1,261 @@ +/* + * 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; + +/** + * PagingNoTotalCountJson + * + *

Represents pagination information for a collection of resources. + */ +public class PagingNoTotalCountJson { + /** + * The pagination token for the previous page, if one exists. You can use this token to navigate to the + * previous page of data. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("previousToken") + private String previousToken; + + /** + * The pagination token for the next page. If this value is present in the response, there is another + * page of data you can fetch. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("nextToken") + private String nextToken; + + /** + * The pagination token for the current page. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("currentToken") + private String currentToken; + + /** + * The number of records to return on the page. Not to exceed 200. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("limit") + private Long limit; + + /** + * Represents pagination links for navigating between pages of data. + */ + @JsonProperty("_links") + private PaginationLinksJson links; + + @JsonCreator + public PagingNoTotalCountJson( + @JsonProperty("previousToken") @Nullable String previousToken, + @JsonProperty("nextToken") @Nullable String nextToken, + @JsonProperty("currentToken") @Nullable String currentToken, + @JsonProperty("limit") @Nullable Long limit, + @JsonProperty("_links") @Nonnull PaginationLinksJson links) { + this.previousToken = previousToken; + this.nextToken = nextToken; + this.currentToken = currentToken; + this.limit = limit; + this.links = Optional.ofNullable(links).orElseThrow(() -> new IllegalArgumentException("links cannot be null")); + } + + public PagingNoTotalCountJson(@Nonnull PaginationLinksJson links) { + this(null, null, null, null, links); + } + + /** + * The pagination token for the previous page, if one exists. You can use this token to navigate to the + * previous page of data. + */ + public Optional previousToken() { + return Optional.ofNullable(this.previousToken); + } + + /** + * The pagination token for the next page. If this value is present in the response, there is another + * page of data you can fetch. + */ + public Optional nextToken() { + return Optional.ofNullable(this.nextToken); + } + + /** + * The pagination token for the current page. + */ + public Optional currentToken() { + return Optional.ofNullable(this.currentToken); + } + + /** + * The number of records to return on the page. Not to exceed 200. + */ + public Optional limit() { + return Optional.ofNullable(this.limit); + } + + /** + * Represents pagination links for navigating between pages of data. + */ + public PaginationLinksJson links() { + return this.links; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The pagination token for the previous page, if one exists. You can use this token to navigate to the + * previous page of data. + */ + public PagingNoTotalCountJson withPreviousToken(@Nullable String previousToken) { + this.previousToken = previousToken; + return this; + } + + /** + * The pagination token for the next page. If this value is present in the response, there is another + * page of data you can fetch. + */ + public PagingNoTotalCountJson withNextToken(@Nullable String nextToken) { + this.nextToken = nextToken; + return this; + } + + /** + * The pagination token for the current page. + */ + public PagingNoTotalCountJson withCurrentToken(@Nullable String currentToken) { + this.currentToken = currentToken; + return this; + } + + /** + * The number of records to return on the page. Not to exceed 200. + */ + public PagingNoTotalCountJson withLimit(@Nullable Long limit) { + this.limit = limit; + return this; + } + + /** + * Represents pagination links for navigating between pages of data. + */ + public PagingNoTotalCountJson withLinks(@Nonnull PaginationLinksJson links) { + this.links = Utils.checkNotNull(links, "links"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PagingNoTotalCountJson other = (PagingNoTotalCountJson) o; + return Utils.enhancedDeepEquals(this.previousToken, other.previousToken) + && Utils.enhancedDeepEquals(this.nextToken, other.nextToken) + && Utils.enhancedDeepEquals(this.currentToken, other.currentToken) + && Utils.enhancedDeepEquals(this.limit, other.limit) + && Utils.enhancedDeepEquals(this.links, other.links); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(previousToken, nextToken, currentToken, limit, links); + } + + @Override + public String toString() { + return Utils.toString( + PagingNoTotalCountJson.class, + "previousToken", + previousToken, + "nextToken", + nextToken, + "currentToken", + currentToken, + "limit", + limit, + "links", + links); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String previousToken; + + private String nextToken; + + private String currentToken; + + private Long limit; + + private PaginationLinksJson links; + + private Builder() { + // force use of static builder() method + } + + /** + * The pagination token for the previous page, if one exists. You can use this token to navigate to the + * previous page of data. + */ + public Builder previousToken(@Nullable String previousToken) { + this.previousToken = previousToken; + return this; + } + + /** + * The pagination token for the next page. If this value is present in the response, there is another + * page of data you can fetch. + */ + public Builder nextToken(@Nullable String nextToken) { + this.nextToken = nextToken; + return this; + } + + /** + * The pagination token for the current page. + */ + public Builder currentToken(@Nullable String currentToken) { + this.currentToken = currentToken; + return this; + } + + /** + * The number of records to return on the page. Not to exceed 200. + */ + public Builder limit(@Nullable Long limit) { + this.limit = limit; + return this; + } + + /** + * Represents pagination links for navigating between pages of data. + */ + public Builder links(@Nonnull PaginationLinksJson links) { + this.links = Utils.checkNotNull(links, "links"); + return this; + } + + public PagingNoTotalCountJson build() { + return new PagingNoTotalCountJson(previousToken, nextToken, currentToken, limit, links); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/PagingNoTotalCountJson2.java b/packages/java/src/main/java/com/cvent/models/components/PagingNoTotalCountJson2.java deleted file mode 100644 index ca7255268..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/PagingNoTotalCountJson2.java +++ /dev/null @@ -1,261 +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.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Long; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * PagingNoTotalCountJson2 - * - *

Represents pagination information for a collection of resources. - */ -public class PagingNoTotalCountJson2 { - /** - * The pagination token for the previous page, if one exists. You can use this token to navigate to the - * previous page of data. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("previousToken") - private String previousToken; - - /** - * The pagination token for the next page. If this value is present in the response, there is another - * page of data you can fetch. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("nextToken") - private String nextToken; - - /** - * The pagination token for the current page. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("currentToken") - private String currentToken; - - /** - * The number of records to return on the page. Not to exceed 200. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("limit") - private Long limit; - - /** - * Represents pagination links for navigating between pages of data. - */ - @JsonProperty("_links") - private PaginationLinksJson links; - - @JsonCreator - public PagingNoTotalCountJson2( - @JsonProperty("previousToken") @Nullable String previousToken, - @JsonProperty("nextToken") @Nullable String nextToken, - @JsonProperty("currentToken") @Nullable String currentToken, - @JsonProperty("limit") @Nullable Long limit, - @JsonProperty("_links") @Nonnull PaginationLinksJson links) { - this.previousToken = previousToken; - this.nextToken = nextToken; - this.currentToken = currentToken; - this.limit = limit; - this.links = Optional.ofNullable(links).orElseThrow(() -> new IllegalArgumentException("links cannot be null")); - } - - public PagingNoTotalCountJson2(@Nonnull PaginationLinksJson links) { - this(null, null, null, null, links); - } - - /** - * The pagination token for the previous page, if one exists. You can use this token to navigate to the - * previous page of data. - */ - public Optional previousToken() { - return Optional.ofNullable(this.previousToken); - } - - /** - * The pagination token for the next page. If this value is present in the response, there is another - * page of data you can fetch. - */ - public Optional nextToken() { - return Optional.ofNullable(this.nextToken); - } - - /** - * The pagination token for the current page. - */ - public Optional currentToken() { - return Optional.ofNullable(this.currentToken); - } - - /** - * The number of records to return on the page. Not to exceed 200. - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - - /** - * Represents pagination links for navigating between pages of data. - */ - public PaginationLinksJson links() { - return this.links; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The pagination token for the previous page, if one exists. You can use this token to navigate to the - * previous page of data. - */ - public PagingNoTotalCountJson2 withPreviousToken(@Nullable String previousToken) { - this.previousToken = previousToken; - return this; - } - - /** - * The pagination token for the next page. If this value is present in the response, there is another - * page of data you can fetch. - */ - public PagingNoTotalCountJson2 withNextToken(@Nullable String nextToken) { - this.nextToken = nextToken; - return this; - } - - /** - * The pagination token for the current page. - */ - public PagingNoTotalCountJson2 withCurrentToken(@Nullable String currentToken) { - this.currentToken = currentToken; - return this; - } - - /** - * The number of records to return on the page. Not to exceed 200. - */ - public PagingNoTotalCountJson2 withLimit(@Nullable Long limit) { - this.limit = limit; - return this; - } - - /** - * Represents pagination links for navigating between pages of data. - */ - public PagingNoTotalCountJson2 withLinks(@Nonnull PaginationLinksJson links) { - this.links = Utils.checkNotNull(links, "links"); - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PagingNoTotalCountJson2 other = (PagingNoTotalCountJson2) o; - return Utils.enhancedDeepEquals(this.previousToken, other.previousToken) - && Utils.enhancedDeepEquals(this.nextToken, other.nextToken) - && Utils.enhancedDeepEquals(this.currentToken, other.currentToken) - && Utils.enhancedDeepEquals(this.limit, other.limit) - && Utils.enhancedDeepEquals(this.links, other.links); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(previousToken, nextToken, currentToken, limit, links); - } - - @Override - public String toString() { - return Utils.toString( - PagingNoTotalCountJson2.class, - "previousToken", - previousToken, - "nextToken", - nextToken, - "currentToken", - currentToken, - "limit", - limit, - "links", - links); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String previousToken; - - private String nextToken; - - private String currentToken; - - private Long limit; - - private PaginationLinksJson links; - - private Builder() { - // force use of static builder() method - } - - /** - * The pagination token for the previous page, if one exists. You can use this token to navigate to the - * previous page of data. - */ - public Builder previousToken(@Nullable String previousToken) { - this.previousToken = previousToken; - return this; - } - - /** - * The pagination token for the next page. If this value is present in the response, there is another - * page of data you can fetch. - */ - public Builder nextToken(@Nullable String nextToken) { - this.nextToken = nextToken; - return this; - } - - /** - * The pagination token for the current page. - */ - public Builder currentToken(@Nullable String currentToken) { - this.currentToken = currentToken; - return this; - } - - /** - * The number of records to return on the page. Not to exceed 200. - */ - public Builder limit(@Nullable Long limit) { - this.limit = limit; - return this; - } - - /** - * Represents pagination links for navigating between pages of data. - */ - public Builder links(@Nonnull PaginationLinksJson links) { - this.links = Utils.checkNotNull(links, "links"); - return this; - } - - public PagingNoTotalCountJson2 build() { - return new PagingNoTotalCountJson2(previousToken, nextToken, currentToken, limit, links); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/Passport.java b/packages/java/src/main/java/com/cvent/models/components/Passport.java new file mode 100644 index 000000000..9c43df39f --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Passport.java @@ -0,0 +1,183 @@ +/* + * 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; + +/** + * Passport + * + *

This entity represents a contact's passport information. + */ +public class Passport { + /** + * The passport number of the contact. + * + *

Reading and writing of this field require the `event/contacts:read-sensitive` and + * `event/contacts:write-sensitive` scopes respectively. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("number") + private String number; + + /** + * The passport country of the contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("country") + private String country; + + /** + * The passport country code of the contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("countryCode") + private String countryCode; + + @JsonCreator + public Passport( + @JsonProperty("number") @Nullable String number, + @JsonProperty("country") @Nullable String country, + @JsonProperty("countryCode") @Nullable String countryCode) { + this.number = number; + this.country = country; + this.countryCode = countryCode; + } + + public Passport() { + this(null, null, null); + } + + /** + * The passport number of the contact. + * + *

Reading and writing of this field require the `event/contacts:read-sensitive` and + * `event/contacts:write-sensitive` scopes respectively. + */ + public Optional number() { + return Optional.ofNullable(this.number); + } + + /** + * The passport country of the contact. + */ + public Optional country() { + return Optional.ofNullable(this.country); + } + + /** + * The passport country code of the contact. + */ + public Optional countryCode() { + return Optional.ofNullable(this.countryCode); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The passport number of the contact. + * + *

Reading and writing of this field require the `event/contacts:read-sensitive` and + * `event/contacts:write-sensitive` scopes respectively. + */ + public Passport withNumber(@Nullable String number) { + this.number = number; + return this; + } + + /** + * The passport country of the contact. + */ + public Passport withCountry(@Nullable String country) { + this.country = country; + return this; + } + + /** + * The passport country code of the contact. + */ + public Passport withCountryCode(@Nullable String countryCode) { + this.countryCode = countryCode; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Passport other = (Passport) o; + return Utils.enhancedDeepEquals(this.number, other.number) + && Utils.enhancedDeepEquals(this.country, other.country) + && Utils.enhancedDeepEquals(this.countryCode, other.countryCode); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(number, country, countryCode); + } + + @Override + public String toString() { + return Utils.toString(Passport.class, "number", number, "country", country, "countryCode", countryCode); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String number; + + private String country; + + private String countryCode; + + private Builder() { + // force use of static builder() method + } + + /** + * The passport number of the contact. + * + *

Reading and writing of this field require the `event/contacts:read-sensitive` and + * `event/contacts:write-sensitive` scopes respectively. + */ + public Builder number(@Nullable String number) { + this.number = number; + return this; + } + + /** + * The passport country of the contact. + */ + public Builder country(@Nullable String country) { + this.country = country; + return this; + } + + /** + * The passport country code of the contact. + */ + public Builder countryCode(@Nullable String countryCode) { + this.countryCode = countryCode; + return this; + } + + public Passport build() { + return new Passport(number, country, countryCode); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/PassportInput.java b/packages/java/src/main/java/com/cvent/models/components/PassportInput.java new file mode 100644 index 000000000..bf1477df9 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/PassportInput.java @@ -0,0 +1,148 @@ +/* + * 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; + +/** + * PassportInput + * + *

This entity represents a contact's passport information. + */ +public class PassportInput { + /** + * The passport number of the contact. + * + *

Reading and writing of this field require the `event/contacts:read-sensitive` and + * `event/contacts:write-sensitive` scopes respectively. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("number") + private String number; + + /** + * The passport country code of the contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("countryCode") + private String countryCode; + + @JsonCreator + public PassportInput( + @JsonProperty("number") @Nullable String number, + @JsonProperty("countryCode") @Nullable String countryCode) { + this.number = number; + this.countryCode = countryCode; + } + + public PassportInput() { + this(null, null); + } + + /** + * The passport number of the contact. + * + *

Reading and writing of this field require the `event/contacts:read-sensitive` and + * `event/contacts:write-sensitive` scopes respectively. + */ + public Optional number() { + return Optional.ofNullable(this.number); + } + + /** + * The passport country code of the contact. + */ + public Optional countryCode() { + return Optional.ofNullable(this.countryCode); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The passport number of the contact. + * + *

Reading and writing of this field require the `event/contacts:read-sensitive` and + * `event/contacts:write-sensitive` scopes respectively. + */ + public PassportInput withNumber(@Nullable String number) { + this.number = number; + return this; + } + + /** + * The passport country code of the contact. + */ + public PassportInput withCountryCode(@Nullable String countryCode) { + this.countryCode = countryCode; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PassportInput other = (PassportInput) o; + return Utils.enhancedDeepEquals(this.number, other.number) + && Utils.enhancedDeepEquals(this.countryCode, other.countryCode); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(number, countryCode); + } + + @Override + public String toString() { + return Utils.toString(PassportInput.class, "number", number, "countryCode", countryCode); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String number; + + private String countryCode; + + private Builder() { + // force use of static builder() method + } + + /** + * The passport number of the contact. + * + *

Reading and writing of this field require the `event/contacts:read-sensitive` and + * `event/contacts:write-sensitive` scopes respectively. + */ + public Builder number(@Nullable String number) { + this.number = number; + return this; + } + + /** + * The passport country code of the contact. + */ + public Builder countryCode(@Nullable String countryCode) { + this.countryCode = countryCode; + return this; + } + + public PassportInput build() { + return new PassportInput(number, countryCode); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/PassportJson.java b/packages/java/src/main/java/com/cvent/models/components/PassportJson.java deleted file mode 100644 index fd838d29b..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/PassportJson.java +++ /dev/null @@ -1,183 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * PassportJson - * - *

This entity represents a contact's passport information. - */ -public class PassportJson { - /** - * The passport number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("number") - private String number; - - /** - * The passport country of the contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("country") - private String country; - - /** - * The passport country code of the contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("countryCode") - private String countryCode; - - @JsonCreator - public PassportJson( - @JsonProperty("number") @Nullable String number, - @JsonProperty("country") @Nullable String country, - @JsonProperty("countryCode") @Nullable String countryCode) { - this.number = number; - this.country = country; - this.countryCode = countryCode; - } - - public PassportJson() { - this(null, null, null); - } - - /** - * The passport number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - public Optional number() { - return Optional.ofNullable(this.number); - } - - /** - * The passport country of the contact. - */ - public Optional country() { - return Optional.ofNullable(this.country); - } - - /** - * The passport country code of the contact. - */ - public Optional countryCode() { - return Optional.ofNullable(this.countryCode); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The passport number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - public PassportJson withNumber(@Nullable String number) { - this.number = number; - return this; - } - - /** - * The passport country of the contact. - */ - public PassportJson withCountry(@Nullable String country) { - this.country = country; - return this; - } - - /** - * The passport country code of the contact. - */ - public PassportJson withCountryCode(@Nullable String countryCode) { - this.countryCode = countryCode; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PassportJson other = (PassportJson) o; - return Utils.enhancedDeepEquals(this.number, other.number) - && Utils.enhancedDeepEquals(this.country, other.country) - && Utils.enhancedDeepEquals(this.countryCode, other.countryCode); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(number, country, countryCode); - } - - @Override - public String toString() { - return Utils.toString(PassportJson.class, "number", number, "country", country, "countryCode", countryCode); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String number; - - private String country; - - private String countryCode; - - private Builder() { - // force use of static builder() method - } - - /** - * The passport number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - public Builder number(@Nullable String number) { - this.number = number; - return this; - } - - /** - * The passport country of the contact. - */ - public Builder country(@Nullable String country) { - this.country = country; - return this; - } - - /** - * The passport country code of the contact. - */ - public Builder countryCode(@Nullable String countryCode) { - this.countryCode = countryCode; - return this; - } - - public PassportJson build() { - return new PassportJson(number, country, countryCode); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/PassportJsonInput.java b/packages/java/src/main/java/com/cvent/models/components/PassportJsonInput.java deleted file mode 100644 index e4adad9f1..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/PassportJsonInput.java +++ /dev/null @@ -1,148 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * PassportJsonInput - * - *

This entity represents a contact's passport information. - */ -public class PassportJsonInput { - /** - * The passport number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("number") - private String number; - - /** - * The passport country code of the contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("countryCode") - private String countryCode; - - @JsonCreator - public PassportJsonInput( - @JsonProperty("number") @Nullable String number, - @JsonProperty("countryCode") @Nullable String countryCode) { - this.number = number; - this.countryCode = countryCode; - } - - public PassportJsonInput() { - this(null, null); - } - - /** - * The passport number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - public Optional number() { - return Optional.ofNullable(this.number); - } - - /** - * The passport country code of the contact. - */ - public Optional countryCode() { - return Optional.ofNullable(this.countryCode); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The passport number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - public PassportJsonInput withNumber(@Nullable String number) { - this.number = number; - return this; - } - - /** - * The passport country code of the contact. - */ - public PassportJsonInput withCountryCode(@Nullable String countryCode) { - this.countryCode = countryCode; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PassportJsonInput other = (PassportJsonInput) o; - return Utils.enhancedDeepEquals(this.number, other.number) - && Utils.enhancedDeepEquals(this.countryCode, other.countryCode); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(number, countryCode); - } - - @Override - public String toString() { - return Utils.toString(PassportJsonInput.class, "number", number, "countryCode", countryCode); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String number; - - private String countryCode; - - private Builder() { - // force use of static builder() method - } - - /** - * The passport number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - public Builder number(@Nullable String number) { - this.number = number; - return this; - } - - /** - * The passport country code of the contact. - */ - public Builder countryCode(@Nullable String countryCode) { - this.countryCode = countryCode; - return this; - } - - public PassportJsonInput build() { - return new PassportJsonInput(number, countryCode); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/PaymentInfoJson.java b/packages/java/src/main/java/com/cvent/models/components/PaymentInfoJson.java index ceca13676..7294e7161 100644 --- a/packages/java/src/main/java/com/cvent/models/components/PaymentInfoJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/PaymentInfoJson.java @@ -39,7 +39,7 @@ public class PaymentInfoJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("address") - private AddressJson2 address; + private AddressJson address; /** * Phone number. @@ -59,7 +59,7 @@ public class PaymentInfoJson { public PaymentInfoJson( @JsonProperty("paymentType") @Nullable PaymentTypesJson paymentType, @JsonProperty("fullName") @Nullable String fullName, - @JsonProperty("address") @Nullable AddressJson2 address, + @JsonProperty("address") @Nullable AddressJson address, @JsonProperty("phone") @Nullable String phone, @JsonProperty("other") @Nullable OtherPaymentJson other) { this.paymentType = paymentType; @@ -91,7 +91,7 @@ public Optional fullName() { * Address details. Required to create/update a guest's reservation if the hotel/event requires an * address in reservations. */ - public Optional address() { + public Optional address() { return Optional.ofNullable(this.address); } @@ -133,7 +133,7 @@ public PaymentInfoJson withFullName(@Nullable String fullName) { * Address details. Required to create/update a guest's reservation if the hotel/event requires an * address in reservations. */ - public PaymentInfoJson withAddress(@Nullable AddressJson2 address) { + public PaymentInfoJson withAddress(@Nullable AddressJson address) { this.address = address; return this; } @@ -198,7 +198,7 @@ public static final class Builder { private String fullName; - private AddressJson2 address; + private AddressJson address; private String phone; @@ -228,7 +228,7 @@ public Builder fullName(@Nullable String fullName) { * Address details. Required to create/update a guest's reservation if the hotel/event requires an * address in reservations. */ - public Builder address(@Nullable AddressJson2 address) { + public Builder address(@Nullable AddressJson address) { this.address = address; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/PlannerJson2.java b/packages/java/src/main/java/com/cvent/models/components/PlannerJson2.java index fd5dd7d0c..b89956cd6 100644 --- a/packages/java/src/main/java/com/cvent/models/components/PlannerJson2.java +++ b/packages/java/src/main/java/com/cvent/models/components/PlannerJson2.java @@ -251,7 +251,7 @@ public class PlannerJson2 { @JsonInclude(Include.NON_ABSENT) @JsonProperty("customFields") @Deprecated - private List customFields; + private List customFields; /** * This is an ID for the contact in an external system. NOTE: This value is expected to be unique for @@ -340,7 +340,7 @@ public PlannerJson2( @JsonProperty("workAddress") @Nullable PlannerJson2WorkAddressAddress workAddress, @JsonProperty("workPhone") @Nullable String workPhone, @JsonProperty("workFax") @Nullable String workFax, - @JsonProperty("customFields") @Nullable List customFields, + @JsonProperty("customFields") @Nullable List customFields, @JsonProperty("sourceId") @Nullable String sourceId, @JsonProperty("mobilePhone") @Nullable String mobilePhone, @JsonProperty("created") @Nullable OffsetDateTime created, @@ -639,7 +639,7 @@ public Optional workFax() { * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ @Deprecated - public Optional> customFields() { + public Optional> customFields() { return Optional.ofNullable(this.customFields); } @@ -956,7 +956,7 @@ public PlannerJson2 withWorkFax(@Nullable String workFax) { * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ @Deprecated - public PlannerJson2 withCustomFields(@Nullable List customFields) { + public PlannerJson2 withCustomFields(@Nullable List customFields) { this.customFields = customFields; return this; } @@ -1244,7 +1244,7 @@ public static final class Builder { private String workFax; @Deprecated - private List customFields; + private List customFields; @Deprecated private String sourceId; @@ -1516,7 +1516,7 @@ public Builder workFax(@Nullable String workFax) { * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ @Deprecated - public Builder customFields(@Nullable List customFields) { + public Builder customFields(@Nullable List customFields) { this.customFields = customFields; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/PolicyValueType.java b/packages/java/src/main/java/com/cvent/models/components/PolicyValueType.java new file mode 100644 index 000000000..dfd60005a --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/PolicyValueType.java @@ -0,0 +1,44 @@ +/* + * 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; + +/** + * PolicyValueType + * + *

Value type of the policy + */ +public enum PolicyValueType { + SELECTION_LIST("selection_list"), + INTEGER("integer"), + MONEY("money"), + PERCENT("percent"), + MULTI_SELECT("multi_select"), + TEXT_MULTI_LINE("text_multi_line"), + PERCENT_OR_MONEY("percent_or_money"); + + @JsonValue + private final String value; + + PolicyValueType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (PolicyValueType o : PolicyValueType.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/PolicyValueTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/PolicyValueTypeJson.java deleted file mode 100644 index 65e066c15..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/PolicyValueTypeJson.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * 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; - -/** - * PolicyValueTypeJson - * - *

Value type of the policy - */ -public enum PolicyValueTypeJson { - SELECTION_LIST("selection_list"), - INTEGER("integer"), - MONEY("money"), - PERCENT("percent"), - MULTI_SELECT("multi_select"), - TEXT_MULTI_LINE("text_multi_line"), - PERCENT_OR_MONEY("percent_or_money"); - - @JsonValue - private final String value; - - PolicyValueTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (PolicyValueTypeJson o : PolicyValueTypeJson.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/ProgramItemLite.java b/packages/java/src/main/java/com/cvent/models/components/ProgramItemLite.java new file mode 100644 index 000000000..51f487074 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ProgramItemLite.java @@ -0,0 +1,93 @@ +/* + * 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; + +/** + * ProgramItemLite + * + *

The unique identifier of a program item. + */ +public class ProgramItemLite { + /** + * The unique identifier for a program item. + */ + @JsonProperty("id") + private String id; + + @JsonCreator + public ProgramItemLite(@JsonProperty("id") @Nonnull String id) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + } + + /** + * The unique identifier for a program item. + */ + public String id() { + return this.id; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique identifier for a program item. + */ + public ProgramItemLite 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; + } + ProgramItemLite other = (ProgramItemLite) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(ProgramItemLite.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique identifier for a program item. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + public ProgramItemLite build() { + return new ProgramItemLite(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ProgramItemLiteJson.java b/packages/java/src/main/java/com/cvent/models/components/ProgramItemLiteJson.java deleted file mode 100644 index fdee09e20..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ProgramItemLiteJson.java +++ /dev/null @@ -1,93 +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.Optional; - -/** - * ProgramItemLiteJson - * - *

The unique identifier of a program item. - */ -public class ProgramItemLiteJson { - /** - * The unique identifier for a program item. - */ - @JsonProperty("id") - private String id; - - @JsonCreator - public ProgramItemLiteJson(@JsonProperty("id") @Nonnull String id) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - } - - /** - * The unique identifier for a program item. - */ - public String id() { - return this.id; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique identifier for a program item. - */ - public ProgramItemLiteJson 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; - } - ProgramItemLiteJson other = (ProgramItemLiteJson) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(ProgramItemLiteJson.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique identifier for a program item. - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - public ProgramItemLiteJson build() { - return new ProgramItemLiteJson(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ProgramItemSpeakerPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/ProgramItemSpeakerPaginatedResponse.java index 737694dbb..fbb841ff6 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ProgramItemSpeakerPaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/ProgramItemSpeakerPaginatedResponse.java @@ -22,7 +22,7 @@ public class ProgramItemSpeakerPaginatedResponse { * Represents pagination information for a collection of resources. */ @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * Collection of program item speakers. @@ -32,7 +32,7 @@ public class ProgramItemSpeakerPaginatedResponse { @JsonCreator public ProgramItemSpeakerPaginatedResponse( - @JsonProperty("paging") @Nonnull PagingJson paging, + @JsonProperty("paging") @Nonnull Paging paging, @JsonProperty("data") @Nonnull List data) { this.paging = Optional.ofNullable(paging).orElseThrow(() -> new IllegalArgumentException("paging cannot be null")); @@ -42,7 +42,7 @@ public ProgramItemSpeakerPaginatedResponse( /** * Represents pagination information for a collection of resources. */ - public PagingJson paging() { + public Paging paging() { return this.paging; } @@ -60,7 +60,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public ProgramItemSpeakerPaginatedResponse withPaging(@Nonnull PagingJson paging) { + public ProgramItemSpeakerPaginatedResponse withPaging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } @@ -98,7 +98,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; private List data; @@ -109,7 +109,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nonnull PagingJson paging) { + public Builder paging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/Property.java b/packages/java/src/main/java/com/cvent/models/components/Property.java index 511adacf4..25da286b9 100644 --- a/packages/java/src/main/java/com/cvent/models/components/Property.java +++ b/packages/java/src/main/java/com/cvent/models/components/Property.java @@ -106,7 +106,7 @@ public class Property { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("address") - private AddressJson3 address; + private AddressJson1 address; /** * Collection of external codes for a property. This includes GDS nd other codes used to identify a @@ -129,7 +129,7 @@ public Property( @JsonProperty("code") @Nullable String code, @JsonProperty("deleted") @Nullable Boolean deleted, @JsonProperty("currencyCode") @Nullable String currencyCode, - @JsonProperty("address") @Nullable AddressJson3 address, + @JsonProperty("address") @Nullable AddressJson1 address, @JsonProperty("externalCodes") @Nullable List externalCodes) { this.created = created; this.createdBy = createdBy; @@ -230,7 +230,7 @@ public Optional currencyCode() { /** * A physical address. */ - public Optional address() { + public Optional address() { return Optional.ofNullable(this.address); } @@ -337,7 +337,7 @@ public Property withCurrencyCode(@Nullable String currencyCode) { /** * A physical address. */ - public Property withAddress(@Nullable AddressJson3 address) { + public Property withAddress(@Nullable AddressJson1 address) { this.address = address; return this; } @@ -450,7 +450,7 @@ public static final class Builder { private String currencyCode; - private AddressJson3 address; + private AddressJson1 address; private List externalCodes; @@ -549,7 +549,7 @@ public Builder currencyCode(@Nullable String currencyCode) { /** * A physical address. */ - public Builder address(@Nullable AddressJson3 address) { + public Builder address(@Nullable AddressJson1 address) { this.address = address; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/PropertyRoom.java b/packages/java/src/main/java/com/cvent/models/components/PropertyRoom.java index 50c999279..9aa6839df 100644 --- a/packages/java/src/main/java/com/cvent/models/components/PropertyRoom.java +++ b/packages/java/src/main/java/com/cvent/models/components/PropertyRoom.java @@ -93,7 +93,7 @@ public class PropertyRoom { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("bedTypeCode") - private RoomBedTypeJson1 bedTypeCode; + private RoomBedTypeJson bedTypeCode; /** * The number of beds in the room. @@ -135,7 +135,7 @@ public PropertyRoom( @JsonProperty("code") @Nullable String code, @JsonProperty("property") @Nullable PropertyRoomProperty property, @JsonProperty("deleted") @Nullable Boolean deleted, - @JsonProperty("bedTypeCode") @Nullable RoomBedTypeJson1 bedTypeCode, + @JsonProperty("bedTypeCode") @Nullable RoomBedTypeJson bedTypeCode, @JsonProperty("numberOfBeds") @Nullable Long numberOfBeds, @JsonProperty("capacity") @Nullable Long capacity, @JsonProperty("description") @Nullable String description, @@ -226,7 +226,7 @@ public Optional deleted() { /** * Code representing the bed type. */ - public Optional bedTypeCode() { + public Optional bedTypeCode() { return Optional.ofNullable(this.bedTypeCode); } @@ -338,7 +338,7 @@ public PropertyRoom withDeleted(@Nullable Boolean deleted) { /** * Code representing the bed type. */ - public PropertyRoom withBedTypeCode(@Nullable RoomBedTypeJson1 bedTypeCode) { + public PropertyRoom withBedTypeCode(@Nullable RoomBedTypeJson bedTypeCode) { this.bedTypeCode = bedTypeCode; return this; } @@ -475,7 +475,7 @@ public static final class Builder { private Boolean deleted; - private RoomBedTypeJson1 bedTypeCode; + private RoomBedTypeJson bedTypeCode; private Long numberOfBeds; @@ -564,7 +564,7 @@ public Builder deleted(@Nullable Boolean deleted) { /** * Code representing the bed type. */ - public Builder bedTypeCode(@Nullable RoomBedTypeJson1 bedTypeCode) { + public Builder bedTypeCode(@Nullable RoomBedTypeJson bedTypeCode) { this.bedTypeCode = bedTypeCode; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ProposalDateJson.java b/packages/java/src/main/java/com/cvent/models/components/ProposalDateJson.java index 2bb353517..d96646cf8 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ProposalDateJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/ProposalDateJson.java @@ -29,7 +29,7 @@ public class ProposalDateJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("dateType") - private DateTypeJson1 dateType; + private DateTypeJson dateType; /** * The start date of the event. @@ -47,7 +47,7 @@ public class ProposalDateJson { @JsonCreator public ProposalDateJson( - @JsonProperty("dateType") @Nullable DateTypeJson1 dateType, + @JsonProperty("dateType") @Nullable DateTypeJson dateType, @JsonProperty("startDate") @Nullable LocalDate startDate, @JsonProperty("endDate") @Nullable LocalDate endDate) { this.dateType = Optional.ofNullable(dateType).orElse(Builder._SINGLETON_VALUE_DateType.value()); @@ -64,7 +64,7 @@ public ProposalDateJson() { * 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and * so on). */ - public Optional dateType() { + public Optional dateType() { return Optional.ofNullable(this.dateType); } @@ -91,7 +91,7 @@ public static Builder builder() { * 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and * so on). */ - public ProposalDateJson withDateType(@Nullable DateTypeJson1 dateType) { + public ProposalDateJson withDateType(@Nullable DateTypeJson dateType) { this.dateType = dateType; return this; } @@ -139,7 +139,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private DateTypeJson1 dateType; + private DateTypeJson dateType; private LocalDate startDate; @@ -154,7 +154,7 @@ private Builder() { * 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and * so on). */ - public Builder dateType(@Nullable DateTypeJson1 dateType) { + public Builder dateType(@Nullable DateTypeJson dateType) { this.dateType = dateType; return this; } @@ -179,7 +179,7 @@ public ProposalDateJson build() { return new ProposalDateJson(dateType, startDate, endDate); } - private static final LazySingletonValue _SINGLETON_VALUE_DateType = - new LazySingletonValue<>("dateType", "\"PREFERRED\"", new TypeReference() {}); + private static final LazySingletonValue _SINGLETON_VALUE_DateType = + new LazySingletonValue<>("dateType", "\"PREFERRED\"", new TypeReference() {}); } } diff --git a/packages/java/src/main/java/com/cvent/models/components/ProposalRequest.java b/packages/java/src/main/java/com/cvent/models/components/ProposalRequest.java index 09a43eadf..b03791c18 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ProposalRequest.java +++ b/packages/java/src/main/java/com/cvent/models/components/ProposalRequest.java @@ -90,7 +90,7 @@ public class ProposalRequest { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("currencyCode") - private CurrencyJson1 currencyCode; + private CurrencyJson2 currencyCode; /** * True indicates this is a commissionable bid. @@ -164,14 +164,14 @@ public class ProposalRequest { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("contacts") - private List contacts; + private List contacts; /** * List of all planner contacts. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("plannerContacts") - private List plannerContacts; + private List plannerContacts; /** * The meeting room. @@ -190,7 +190,7 @@ public ProposalRequest( @JsonProperty("statusSummary") @Nullable StatusSummaryJson statusSummary, @JsonProperty("introduction") @Nullable String introduction, @JsonProperty("billingContractualResponse") @Nullable String billingContractualResponse, - @JsonProperty("currencyCode") @Nullable CurrencyJson1 currencyCode, + @JsonProperty("currencyCode") @Nullable CurrencyJson2 currencyCode, @JsonProperty("commissionableBid") @Nullable Boolean commissionableBid, @JsonProperty("commissionRate") @Nullable Double commissionRate, @JsonProperty("name") @Nullable String name, @@ -200,8 +200,8 @@ public ProposalRequest( @JsonProperty("categoryItemsCost") @Nullable CategoryItemsCostJson categoryItemsCost, @JsonProperty("aggregatedCost") @Nullable AggregatedCostJson aggregatedCost, @JsonProperty("estimatedCost") @Nullable EstimatedCostJson estimatedCost, - @JsonProperty("contacts") @Nullable List contacts, - @JsonProperty("plannerContacts") @Nullable List plannerContacts, + @JsonProperty("contacts") @Nullable List contacts, + @JsonProperty("plannerContacts") @Nullable List plannerContacts, @JsonProperty("meetingRoom") @Nullable MeetingRoomJson meetingRoom) { this.scpTemplateId = scpTemplateId; this.type = Optional.ofNullable(type).orElse(Builder._SINGLETON_VALUE_Type.value()); @@ -314,7 +314,7 @@ public Optional billingContractualResponse() { /** * The ISO 4217 standard format currency code used for RFPs. */ - public Optional currencyCode() { + public Optional currencyCode() { return Optional.ofNullable(this.currencyCode); } @@ -388,14 +388,14 @@ public Optional estimatedCost() { /** * List of all contacts. */ - public Optional> contacts() { + public Optional> contacts() { return Optional.ofNullable(this.contacts); } /** * List of all planner contacts. */ - public Optional> plannerContacts() { + public Optional> plannerContacts() { return Optional.ofNullable(this.plannerContacts); } @@ -481,7 +481,7 @@ public ProposalRequest withBillingContractualResponse(@Nullable String billingCo /** * The ISO 4217 standard format currency code used for RFPs. */ - public ProposalRequest withCurrencyCode(@Nullable CurrencyJson1 currencyCode) { + public ProposalRequest withCurrencyCode(@Nullable CurrencyJson2 currencyCode) { this.currencyCode = currencyCode; return this; } @@ -565,7 +565,7 @@ public ProposalRequest withEstimatedCost(@Nullable EstimatedCostJson estimatedCo /** * List of all contacts. */ - public ProposalRequest withContacts(@Nullable List contacts) { + public ProposalRequest withContacts(@Nullable List contacts) { this.contacts = contacts; return this; } @@ -573,7 +573,7 @@ public ProposalRequest withContacts(@Nullable List contacts) { /** * List of all planner contacts. */ - public ProposalRequest withPlannerContacts(@Nullable List plannerContacts) { + public ProposalRequest withPlannerContacts(@Nullable List plannerContacts) { this.plannerContacts = plannerContacts; return this; } @@ -712,7 +712,7 @@ public static final class Builder { @Deprecated private String billingContractualResponse; - private CurrencyJson1 currencyCode; + private CurrencyJson2 currencyCode; private Boolean commissionableBid; @@ -733,9 +733,9 @@ public static final class Builder { private EstimatedCostJson estimatedCost; - private List contacts; + private List contacts; - private List plannerContacts; + private List plannerContacts; private MeetingRoomJson meetingRoom; @@ -814,7 +814,7 @@ public Builder billingContractualResponse(@Nullable String billingContractualRes /** * The ISO 4217 standard format currency code used for RFPs. */ - public Builder currencyCode(@Nullable CurrencyJson1 currencyCode) { + public Builder currencyCode(@Nullable CurrencyJson2 currencyCode) { this.currencyCode = currencyCode; return this; } @@ -898,7 +898,7 @@ public Builder estimatedCost(@Nullable EstimatedCostJson estimatedCost) { /** * List of all contacts. */ - public Builder contacts(@Nullable List contacts) { + public Builder contacts(@Nullable List contacts) { this.contacts = contacts; return this; } @@ -906,7 +906,7 @@ public Builder contacts(@Nullable List contacts) { /** * List of all planner contacts. */ - public Builder plannerContacts(@Nullable List plannerContacts) { + public Builder plannerContacts(@Nullable List plannerContacts) { this.plannerContacts = plannerContacts; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ProposalResponse.java b/packages/java/src/main/java/com/cvent/models/components/ProposalResponse.java index e68cbe6ea..3eb10d024 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ProposalResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/ProposalResponse.java @@ -120,7 +120,7 @@ public class ProposalResponse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("currencyCode") - private CurrencyJson1 currencyCode; + private CurrencyJson2 currencyCode; /** * True indicates this is a commissionable bid. @@ -194,14 +194,14 @@ public class ProposalResponse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("contacts") - private List contacts; + private List contacts; /** * List of all planner contacts. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("plannerContacts") - private List plannerContacts; + private List plannerContacts; /** * The meeting room. @@ -278,7 +278,7 @@ public ProposalResponse( @JsonProperty("statusSummary") @Nullable StatusSummaryJson statusSummary, @JsonProperty("introduction") @Nullable String introduction, @JsonProperty("billingContractualResponse") @Nullable String billingContractualResponse, - @JsonProperty("currencyCode") @Nullable CurrencyJson1 currencyCode, + @JsonProperty("currencyCode") @Nullable CurrencyJson2 currencyCode, @JsonProperty("commissionableBid") @Nullable Boolean commissionableBid, @JsonProperty("commissionRate") @Nullable Double commissionRate, @JsonProperty("name") @Nullable String name, @@ -288,8 +288,8 @@ public ProposalResponse( @JsonProperty("categoryItemsCost") @Nullable CategoryItemsCostJson categoryItemsCost, @JsonProperty("aggregatedCost") @Nullable AggregatedCostJson aggregatedCost, @JsonProperty("estimatedCost") @Nullable EstimatedCostJson estimatedCost, - @JsonProperty("contacts") @Nullable List contacts, - @JsonProperty("plannerContacts") @Nullable List plannerContacts, + @JsonProperty("contacts") @Nullable List contacts, + @JsonProperty("plannerContacts") @Nullable List plannerContacts, @JsonProperty("meetingRoom") @Nullable MeetingRoomJson meetingRoom, @JsonProperty("transaction") @Nullable TransactionJson transaction, @JsonProperty("id") @Nonnull String id, @@ -463,7 +463,7 @@ public Optional billingContractualResponse() { /** * The ISO 4217 standard format currency code used for RFPs. */ - public Optional currencyCode() { + public Optional currencyCode() { return Optional.ofNullable(this.currencyCode); } @@ -537,14 +537,14 @@ public Optional estimatedCost() { /** * List of all contacts. */ - public Optional> contacts() { + public Optional> contacts() { return Optional.ofNullable(this.contacts); } /** * List of all planner contacts. */ - public Optional> plannerContacts() { + public Optional> plannerContacts() { return Optional.ofNullable(this.plannerContacts); } @@ -719,7 +719,7 @@ public ProposalResponse withBillingContractualResponse(@Nullable String billingC /** * The ISO 4217 standard format currency code used for RFPs. */ - public ProposalResponse withCurrencyCode(@Nullable CurrencyJson1 currencyCode) { + public ProposalResponse withCurrencyCode(@Nullable CurrencyJson2 currencyCode) { this.currencyCode = currencyCode; return this; } @@ -803,7 +803,7 @@ public ProposalResponse withEstimatedCost(@Nullable EstimatedCostJson estimatedC /** * List of all contacts. */ - public ProposalResponse withContacts(@Nullable List contacts) { + public ProposalResponse withContacts(@Nullable List contacts) { this.contacts = contacts; return this; } @@ -811,7 +811,7 @@ public ProposalResponse withContacts(@Nullable List contacts) { /** * List of all planner contacts. */ - public ProposalResponse withPlannerContacts(@Nullable List plannerContacts) { + public ProposalResponse withPlannerContacts(@Nullable List plannerContacts) { this.plannerContacts = plannerContacts; return this; } @@ -1071,7 +1071,7 @@ public static final class Builder { @Deprecated private String billingContractualResponse; - private CurrencyJson1 currencyCode; + private CurrencyJson2 currencyCode; private Boolean commissionableBid; @@ -1092,9 +1092,9 @@ public static final class Builder { private EstimatedCostJson estimatedCost; - private List contacts; + private List contacts; - private List plannerContacts; + private List plannerContacts; private MeetingRoomJson meetingRoom; @@ -1221,7 +1221,7 @@ public Builder billingContractualResponse(@Nullable String billingContractualRes /** * The ISO 4217 standard format currency code used for RFPs. */ - public Builder currencyCode(@Nullable CurrencyJson1 currencyCode) { + public Builder currencyCode(@Nullable CurrencyJson2 currencyCode) { this.currencyCode = currencyCode; return this; } @@ -1305,7 +1305,7 @@ public Builder estimatedCost(@Nullable EstimatedCostJson estimatedCost) { /** * List of all contacts. */ - public Builder contacts(@Nullable List contacts) { + public Builder contacts(@Nullable List contacts) { this.contacts = contacts; return this; } @@ -1313,7 +1313,7 @@ public Builder contacts(@Nullable List contacts) { /** * List of all planner contacts. */ - public Builder plannerContacts(@Nullable List plannerContacts) { + public Builder plannerContacts(@Nullable List plannerContacts) { this.plannerContacts = plannerContacts; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ProposalStatusType.java b/packages/java/src/main/java/com/cvent/models/components/ProposalStatusType.java new file mode 100644 index 000000000..255cbbb79 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ProposalStatusType.java @@ -0,0 +1,50 @@ +/* + * 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; + +/** + * ProposalStatusType + * + *

The status of the proposal + */ +public enum ProposalStatusType { + PARTICIPATION_REQUESTED("participation_requested"), + NEW("new"), + ACTIVE("active"), + SUBMITTED("submitted"), + DECLINED_PARTICIPATION("declined_participation"), + VERIFIED("verified"), + APPROVED("approved"), + ACCOUNT_ACCEPTED("account_accepted"), + ACCOUNT_REJECTED("account_rejected"), + INTERNAL_REJECTED("internal_rejected"), + REQUEST_RENEGOTIATION("request_renegotiation"), + DECLINE_RENEGOTIATION("decline_renegotiation"), + DELETED("deleted"); + + @JsonValue + private final String value; + + ProposalStatusType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (ProposalStatusType o : ProposalStatusType.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/ProposalStatusTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/ProposalStatusTypeJson.java deleted file mode 100644 index b3dd0e5e8..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ProposalStatusTypeJson.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * 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; - -/** - * ProposalStatusTypeJson - * - *

The status of the proposal - */ -public enum ProposalStatusTypeJson { - PARTICIPATION_REQUESTED("participation_requested"), - NEW("new"), - ACTIVE("active"), - SUBMITTED("submitted"), - DECLINED_PARTICIPATION("declined_participation"), - VERIFIED("verified"), - APPROVED("approved"), - ACCOUNT_ACCEPTED("account_accepted"), - ACCOUNT_REJECTED("account_rejected"), - INTERNAL_REJECTED("internal_rejected"), - REQUEST_RENEGOTIATION("request_renegotiation"), - DECLINE_RENEGOTIATION("decline_renegotiation"), - DELETED("deleted"); - - @JsonValue - private final String value; - - ProposalStatusTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (ProposalStatusTypeJson o : ProposalStatusTypeJson.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/ProximityJson.java b/packages/java/src/main/java/com/cvent/models/components/ProximityJson.java index c25e6f6cb..bb3a84261 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ProximityJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/ProximityJson.java @@ -24,7 +24,7 @@ public class ProximityJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("distance") - private DistanceJson1 distance; + private DistanceJson distance; /** * Message shown on map. @@ -35,7 +35,7 @@ public class ProximityJson { @JsonCreator public ProximityJson( - @JsonProperty("distance") @Nullable DistanceJson1 distance, + @JsonProperty("distance") @Nullable DistanceJson distance, @JsonProperty("mapMessage") @Nullable String mapMessage) { this.distance = distance; this.mapMessage = mapMessage; @@ -48,7 +48,7 @@ public ProximityJson() { /** * Distance information. */ - public Optional distance() { + public Optional distance() { return Optional.ofNullable(this.distance); } @@ -66,7 +66,7 @@ public static Builder builder() { /** * Distance information. */ - public ProximityJson withDistance(@Nullable DistanceJson1 distance) { + public ProximityJson withDistance(@Nullable DistanceJson distance) { this.distance = distance; return this; } @@ -105,7 +105,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private DistanceJson1 distance; + private DistanceJson distance; private String mapMessage; @@ -116,7 +116,7 @@ private Builder() { /** * Distance information. */ - public Builder distance(@Nullable DistanceJson1 distance) { + public Builder distance(@Nullable DistanceJson distance) { this.distance = distance; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/Question.java b/packages/java/src/main/java/com/cvent/models/components/Question.java index bfb13f535..a2ef24bcc 100644 --- a/packages/java/src/main/java/com/cvent/models/components/Question.java +++ b/packages/java/src/main/java/com/cvent/models/components/Question.java @@ -77,21 +77,21 @@ public class Question { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("responseType") - private QuestionResponseTypeJson responseType; + private QuestionResponseType responseType; /** * Code representing the expected data type of the question response. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("responseDataType") - private QuestionResponseDataTypeJson responseDataType; + private QuestionResponseDataType responseDataType; /** * Code representing the format the text of the response will be in. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("responseFormat") - private QuestionResponseFormatJson responseFormat; + private QuestionResponseFormat responseFormat; /** * A list of options for the question. This only applies when responseType is 'choice' @@ -109,9 +109,9 @@ public Question( @JsonProperty("id") @Nullable String id, @JsonProperty("text") @Nullable String text, @JsonProperty("required") @Nullable Boolean required, - @JsonProperty("responseType") @Nullable QuestionResponseTypeJson responseType, - @JsonProperty("responseDataType") @Nullable QuestionResponseDataTypeJson responseDataType, - @JsonProperty("responseFormat") @Nullable QuestionResponseFormatJson responseFormat, + @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; @@ -183,21 +183,21 @@ public Optional 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() { + public Optional responseType() { return Optional.ofNullable(this.responseType); } /** * Code representing the expected data type of the question response. */ - public Optional responseDataType() { + public Optional responseDataType() { return Optional.ofNullable(this.responseDataType); } /** * Code representing the format the text of the response will be in. */ - public Optional responseFormat() { + public Optional responseFormat() { return Optional.ofNullable(this.responseFormat); } @@ -272,7 +272,7 @@ public Question 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 Question withResponseType(@Nullable QuestionResponseTypeJson responseType) { + public Question withResponseType(@Nullable QuestionResponseType responseType) { this.responseType = responseType; return this; } @@ -280,7 +280,7 @@ public Question withResponseType(@Nullable QuestionResponseTypeJson responseType /** * Code representing the expected data type of the question response. */ - public Question withResponseDataType(@Nullable QuestionResponseDataTypeJson responseDataType) { + public Question withResponseDataType(@Nullable QuestionResponseDataType responseDataType) { this.responseDataType = responseDataType; return this; } @@ -288,7 +288,7 @@ public Question withResponseDataType(@Nullable QuestionResponseDataTypeJson resp /** * Code representing the format the text of the response will be in. */ - public Question withResponseFormat(@Nullable QuestionResponseFormatJson responseFormat) { + public Question withResponseFormat(@Nullable QuestionResponseFormat responseFormat) { this.responseFormat = responseFormat; return this; } @@ -384,11 +384,11 @@ public static final class Builder { private Boolean required; - private QuestionResponseTypeJson responseType; + private QuestionResponseType responseType; - private QuestionResponseDataTypeJson responseDataType; + private QuestionResponseDataType responseDataType; - private QuestionResponseFormatJson responseFormat; + private QuestionResponseFormat responseFormat; private List responseChoices; @@ -456,7 +456,7 @@ 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 QuestionResponseTypeJson responseType) { + public Builder responseType(@Nullable QuestionResponseType responseType) { this.responseType = responseType; return this; } @@ -464,7 +464,7 @@ public Builder responseType(@Nullable QuestionResponseTypeJson responseType) { /** * Code representing the expected data type of the question response. */ - public Builder responseDataType(@Nullable QuestionResponseDataTypeJson responseDataType) { + public Builder responseDataType(@Nullable QuestionResponseDataType responseDataType) { this.responseDataType = responseDataType; return this; } @@ -472,7 +472,7 @@ public Builder responseDataType(@Nullable QuestionResponseDataTypeJson responseD /** * Code representing the format the text of the response will be in. */ - public Builder responseFormat(@Nullable QuestionResponseFormatJson responseFormat) { + public Builder responseFormat(@Nullable QuestionResponseFormat responseFormat) { this.responseFormat = responseFormat; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/QuestionClassificationType.java b/packages/java/src/main/java/com/cvent/models/components/QuestionClassificationType.java new file mode 100644 index 000000000..7907ca5a2 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/QuestionClassificationType.java @@ -0,0 +1,44 @@ +/* + * 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; + +/** + * QuestionClassificationType + * + *

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. + */ +public enum QuestionClassificationType { + MEETING_ROOM("MEETING_ROOM"), + GUEST_ROOM("GUEST_ROOM"), + ALL_RFPS("ALL_RFPS"); + + @JsonValue + private final String value; + + QuestionClassificationType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (QuestionClassificationType o : QuestionClassificationType.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/QuestionClassificationTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/QuestionClassificationTypeJson.java deleted file mode 100644 index 9c23fd818..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/QuestionClassificationTypeJson.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * 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; - -/** - * QuestionClassificationTypeJson - * - *

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. - */ -public enum QuestionClassificationTypeJson { - MEETING_ROOM("MEETING_ROOM"), - GUEST_ROOM("GUEST_ROOM"), - ALL_RFPS("ALL_RFPS"); - - @JsonValue - private final String value; - - QuestionClassificationTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (QuestionClassificationTypeJson o : QuestionClassificationTypeJson.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/QuestionJson.java b/packages/java/src/main/java/com/cvent/models/components/QuestionJson.java new file mode 100644 index 000000000..23d420184 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/QuestionJson.java @@ -0,0 +1,243 @@ +/* + * 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.Boolean; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * QuestionJson + * + *

Question details + */ +public class QuestionJson { + /** + * The question ID. + */ + @JsonProperty("id") + private String id; + + /** + * The question text. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("text") + private String text; + + /** + * The status of the question. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("status") + private String status; + + /** + * Whether question is asked anonymously. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("anonymous") + private Boolean anonymous; + + /** + * The answer text. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("answer") + private String answer; + + @JsonCreator + public QuestionJson( + @JsonProperty("id") @Nonnull String id, + @JsonProperty("text") @Nullable String text, + @JsonProperty("status") @Nullable String status, + @JsonProperty("anonymous") @Nullable Boolean anonymous, + @JsonProperty("answer") @Nullable String answer) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.text = text; + this.status = status; + this.anonymous = anonymous; + this.answer = answer; + } + + public QuestionJson(@Nonnull String id) { + this(id, null, null, null, null); + } + + /** + * The question ID. + */ + public String id() { + return this.id; + } + + /** + * The question text. + */ + public Optional text() { + return Optional.ofNullable(this.text); + } + + /** + * The status of the question. + */ + public Optional status() { + return Optional.ofNullable(this.status); + } + + /** + * Whether question is asked anonymously. + */ + public Optional anonymous() { + return Optional.ofNullable(this.anonymous); + } + + /** + * The answer text. + */ + public Optional answer() { + return Optional.ofNullable(this.answer); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The question ID. + */ + public QuestionJson withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The question text. + */ + public QuestionJson withText(@Nullable String text) { + this.text = text; + return this; + } + + /** + * The status of the question. + */ + public QuestionJson withStatus(@Nullable String status) { + this.status = status; + return this; + } + + /** + * Whether question is asked anonymously. + */ + public QuestionJson withAnonymous(@Nullable Boolean anonymous) { + this.anonymous = anonymous; + return this; + } + + /** + * The answer text. + */ + public QuestionJson withAnswer(@Nullable String answer) { + this.answer = answer; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + QuestionJson other = (QuestionJson) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.text, other.text) + && Utils.enhancedDeepEquals(this.status, other.status) + && Utils.enhancedDeepEquals(this.anonymous, other.anonymous) + && Utils.enhancedDeepEquals(this.answer, other.answer); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, text, status, anonymous, answer); + } + + @Override + public String toString() { + return Utils.toString( + QuestionJson.class, "id", id, "text", text, "status", status, "anonymous", anonymous, "answer", answer); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String text; + + private String status; + + private Boolean anonymous; + + private String answer; + + private Builder() { + // force use of static builder() method + } + + /** + * The question ID. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The question text. + */ + public Builder text(@Nullable String text) { + this.text = text; + return this; + } + + /** + * The status of the question. + */ + public Builder status(@Nullable String status) { + this.status = status; + return this; + } + + /** + * Whether question is asked anonymously. + */ + public Builder anonymous(@Nullable Boolean anonymous) { + this.anonymous = anonymous; + return this; + } + + /** + * The answer text. + */ + public Builder answer(@Nullable String answer) { + this.answer = answer; + return this; + } + + public QuestionJson build() { + return new QuestionJson(id, text, status, anonymous, answer); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/QuestionJson1.java b/packages/java/src/main/java/com/cvent/models/components/QuestionJson1.java index cab32067a..2c80d9b9d 100644 --- a/packages/java/src/main/java/com/cvent/models/components/QuestionJson1.java +++ b/packages/java/src/main/java/com/cvent/models/components/QuestionJson1.java @@ -3,109 +3,409 @@ */ 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 jakarta.annotation.Nonnull; +import com.fasterxml.jackson.core.type.TypeReference; import jakarta.annotation.Nullable; import java.lang.Boolean; +import java.lang.Double; +import java.lang.Long; import java.lang.Override; import java.lang.String; +import java.time.OffsetDateTime; +import java.util.List; import java.util.Optional; /** * QuestionJson1 * - *

Question details + *

A survey question. */ public class QuestionJson1 { /** - * The question ID. + * 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; + + /** + * Text field ID. + */ + @JsonInclude(Include.NON_ABSENT) @JsonProperty("id") private String id; /** - * The question text. + * text Value of the Field */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("text") private String text; /** - * The status of the question. + * Reporting value of the Category, Its like a custom abbreviation + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("shortText") + private String shortText; + + /** + * Html of the question + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("htmlText") + private String htmlText; + + /** + * Question Code + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("code") + private String code; + + /** + * Question Type. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private QuestionTypeJson1 type; + + /** + * List of choices for the question. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("choices") + private List choices; + + /** + * List of categories for the question. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("categories") + private List categories; + + /** + * List of sub categories for matrix side-by-side questions */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("status") - private String status; + @JsonProperty("subCategories") + private List subCategories; /** - * Whether question is asked anonymously. + * Contains text of additional choice i.e N/A choice or otherAnswer choice */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("anonymous") - private Boolean anonymous; + @JsonProperty("notApplicableAnswer") + private AdditionalChoiceJson notApplicableAnswer; /** - * The answer text. + * Contains text of additional choice i.e N/A choice or otherAnswer choice */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("answer") - private String answer; + @JsonProperty("otherAnswer") + private AdditionalChoiceJson otherAnswer; + + /** + * Text Value of Comments Input box placeholder + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("comments") + private String comments; + + /** + * Is this a mandatory question + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("required") + private Boolean required; + + /** + * List of fields for form/matrix questions + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("fields") + private List fields; + + /** + * Max possible score + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("maxScore") + private Double maxScore; + + /** + * Total configured sum of all choices for number allocation question + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("totalSum") + private Long totalSum; + + /** + * The reference to the related entity. Contains only the ID of the related entity. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("survey") + private UuidJson survey; + + /** + * The reference to the related entity. Contains only the ID of the related entity. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("chapter") + private UuidJson chapter; @JsonCreator public QuestionJson1( - @JsonProperty("id") @Nonnull String id, + @JsonProperty("created") @Nullable OffsetDateTime created, + @JsonProperty("createdBy") @Nullable String createdBy, + @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, + @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, + @JsonProperty("id") @Nullable String id, @JsonProperty("text") @Nullable String text, - @JsonProperty("status") @Nullable String status, - @JsonProperty("anonymous") @Nullable Boolean anonymous, - @JsonProperty("answer") @Nullable String answer) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + @JsonProperty("shortText") @Nullable String shortText, + @JsonProperty("htmlText") @Nullable String htmlText, + @JsonProperty("code") @Nullable String code, + @JsonProperty("type") @Nullable QuestionTypeJson1 type, + @JsonProperty("choices") @Nullable List choices, + @JsonProperty("categories") @Nullable List categories, + @JsonProperty("subCategories") @Nullable List subCategories, + @JsonProperty("notApplicableAnswer") @Nullable AdditionalChoiceJson notApplicableAnswer, + @JsonProperty("otherAnswer") @Nullable AdditionalChoiceJson otherAnswer, + @JsonProperty("comments") @Nullable String comments, + @JsonProperty("required") @Nullable Boolean required, + @JsonProperty("fields") @Nullable List fields, + @JsonProperty("maxScore") @Nullable Double maxScore, + @JsonProperty("totalSum") @Nullable Long totalSum, + @JsonProperty("survey") @Nullable UuidJson survey, + @JsonProperty("chapter") @Nullable UuidJson chapter) { + this.created = created; + this.createdBy = createdBy; + this.lastModified = lastModified; + this.lastModifiedBy = lastModifiedBy; + this.id = id; this.text = text; - this.status = status; - this.anonymous = anonymous; - this.answer = answer; + this.shortText = shortText; + this.htmlText = htmlText; + this.code = code; + this.type = type; + this.choices = choices; + this.categories = categories; + this.subCategories = subCategories; + this.notApplicableAnswer = notApplicableAnswer; + this.otherAnswer = otherAnswer; + this.comments = comments; + this.required = Optional.ofNullable(required).orElse(Builder._SINGLETON_VALUE_Required.value()); + this.fields = fields; + this.maxScore = maxScore; + this.totalSum = totalSum; + this.survey = survey; + this.chapter = chapter; + } + + public QuestionJson1() { + this( + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + 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); } - public QuestionJson1(@Nonnull String id) { - this(id, null, null, null, null); + /** + * The identifier of the user that last updated this record. + */ + public Optional lastModifiedBy() { + return Optional.ofNullable(this.lastModifiedBy); } /** - * The question ID. + * Text field ID. */ - public String id() { - return this.id; + public Optional id() { + return Optional.ofNullable(this.id); } /** - * The question text. + * text Value of the Field */ public Optional text() { return Optional.ofNullable(this.text); } /** - * The status of the question. + * Reporting value of the Category, Its like a custom abbreviation + */ + public Optional shortText() { + return Optional.ofNullable(this.shortText); + } + + /** + * Html of the question + */ + public Optional htmlText() { + return Optional.ofNullable(this.htmlText); + } + + /** + * Question Code + */ + public Optional code() { + return Optional.ofNullable(this.code); + } + + /** + * Question Type. + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + /** + * List of choices for the question. + */ + public Optional> choices() { + return Optional.ofNullable(this.choices); + } + + /** + * List of categories for the question. + */ + public Optional> categories() { + return Optional.ofNullable(this.categories); + } + + /** + * List of sub categories for matrix side-by-side questions + */ + public Optional> subCategories() { + return Optional.ofNullable(this.subCategories); + } + + /** + * Contains text of additional choice i.e N/A choice or otherAnswer choice + */ + public Optional notApplicableAnswer() { + return Optional.ofNullable(this.notApplicableAnswer); + } + + /** + * Contains text of additional choice i.e N/A choice or otherAnswer choice + */ + public Optional otherAnswer() { + return Optional.ofNullable(this.otherAnswer); + } + + /** + * Text Value of Comments Input box placeholder + */ + public Optional comments() { + return Optional.ofNullable(this.comments); + } + + /** + * Is this a mandatory question + */ + public Optional required() { + return Optional.ofNullable(this.required); + } + + /** + * List of fields for form/matrix questions */ - public Optional status() { - return Optional.ofNullable(this.status); + public Optional> fields() { + return Optional.ofNullable(this.fields); } /** - * Whether question is asked anonymously. + * Max possible score */ - public Optional anonymous() { - return Optional.ofNullable(this.anonymous); + public Optional maxScore() { + return Optional.ofNullable(this.maxScore); } /** - * The answer text. + * Total configured sum of all choices for number allocation question */ - public Optional answer() { - return Optional.ofNullable(this.answer); + public Optional totalSum() { + return Optional.ofNullable(this.totalSum); + } + + /** + * The reference to the related entity. Contains only the ID of the related entity. + */ + public Optional survey() { + return Optional.ofNullable(this.survey); + } + + /** + * The reference to the related entity. Contains only the ID of the related entity. + */ + public Optional chapter() { + return Optional.ofNullable(this.chapter); } public static Builder builder() { @@ -113,15 +413,47 @@ public static Builder builder() { } /** - * The question ID. + * The ISO 8601 zoned date time when this record was created. + */ + public QuestionJson1 withCreated(@Nullable OffsetDateTime created) { + this.created = created; + return this; + } + + /** + * The identifier of the user that created this record. */ - public QuestionJson1 withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); + public QuestionJson1 withCreatedBy(@Nullable String createdBy) { + this.createdBy = createdBy; return this; } /** - * The question text. + * The ISO 8601 zoned date time when this record was updated. + */ + public QuestionJson1 withLastModified(@Nullable OffsetDateTime lastModified) { + this.lastModified = lastModified; + return this; + } + + /** + * The identifier of the user that last updated this record. + */ + public QuestionJson1 withLastModifiedBy(@Nullable String lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + return this; + } + + /** + * Text field ID. + */ + public QuestionJson1 withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * text Value of the Field */ public QuestionJson1 withText(@Nullable String text) { this.text = text; @@ -129,26 +461,130 @@ public QuestionJson1 withText(@Nullable String text) { } /** - * The status of the question. + * Reporting value of the Category, Its like a custom abbreviation + */ + public QuestionJson1 withShortText(@Nullable String shortText) { + this.shortText = shortText; + return this; + } + + /** + * Html of the question */ - public QuestionJson1 withStatus(@Nullable String status) { - this.status = status; + public QuestionJson1 withHtmlText(@Nullable String htmlText) { + this.htmlText = htmlText; return this; } /** - * Whether question is asked anonymously. + * Question Code */ - public QuestionJson1 withAnonymous(@Nullable Boolean anonymous) { - this.anonymous = anonymous; + public QuestionJson1 withCode(@Nullable String code) { + this.code = code; return this; } /** - * The answer text. + * Question Type. */ - public QuestionJson1 withAnswer(@Nullable String answer) { - this.answer = answer; + public QuestionJson1 withType(@Nullable QuestionTypeJson1 type) { + this.type = type; + return this; + } + + /** + * List of choices for the question. + */ + public QuestionJson1 withChoices(@Nullable List choices) { + this.choices = choices; + return this; + } + + /** + * List of categories for the question. + */ + public QuestionJson1 withCategories(@Nullable List categories) { + this.categories = categories; + return this; + } + + /** + * List of sub categories for matrix side-by-side questions + */ + public QuestionJson1 withSubCategories(@Nullable List subCategories) { + this.subCategories = subCategories; + return this; + } + + /** + * Contains text of additional choice i.e N/A choice or otherAnswer choice + */ + public QuestionJson1 withNotApplicableAnswer(@Nullable AdditionalChoiceJson notApplicableAnswer) { + this.notApplicableAnswer = notApplicableAnswer; + return this; + } + + /** + * Contains text of additional choice i.e N/A choice or otherAnswer choice + */ + public QuestionJson1 withOtherAnswer(@Nullable AdditionalChoiceJson otherAnswer) { + this.otherAnswer = otherAnswer; + return this; + } + + /** + * Text Value of Comments Input box placeholder + */ + public QuestionJson1 withComments(@Nullable String comments) { + this.comments = comments; + return this; + } + + /** + * Is this a mandatory question + */ + public QuestionJson1 withRequired(@Nullable Boolean required) { + this.required = required; + return this; + } + + /** + * List of fields for form/matrix questions + */ + public QuestionJson1 withFields(@Nullable List fields) { + this.fields = fields; + return this; + } + + /** + * Max possible score + */ + public QuestionJson1 withMaxScore(@Nullable Double maxScore) { + this.maxScore = maxScore; + return this; + } + + /** + * Total configured sum of all choices for number allocation question + */ + public QuestionJson1 withTotalSum(@Nullable Long totalSum) { + this.totalSum = totalSum; + return this; + } + + /** + * The reference to the related entity. Contains only the ID of the related entity. + */ + public QuestionJson1 withSurvey(@Nullable UuidJson survey) { + this.survey = survey; + return this; + } + + /** + * The reference to the related entity. Contains only the ID of the related entity. + */ + public QuestionJson1 withChapter(@Nullable UuidJson chapter) { + this.chapter = chapter; return this; } @@ -161,61 +597,200 @@ public boolean equals(java.lang.Object o) { return false; } QuestionJson1 other = (QuestionJson1) o; - return Utils.enhancedDeepEquals(this.id, other.id) + 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.id, other.id) && Utils.enhancedDeepEquals(this.text, other.text) - && Utils.enhancedDeepEquals(this.status, other.status) - && Utils.enhancedDeepEquals(this.anonymous, other.anonymous) - && Utils.enhancedDeepEquals(this.answer, other.answer); + && Utils.enhancedDeepEquals(this.shortText, other.shortText) + && Utils.enhancedDeepEquals(this.htmlText, other.htmlText) + && Utils.enhancedDeepEquals(this.code, other.code) + && Utils.enhancedDeepEquals(this.type, other.type) + && Utils.enhancedDeepEquals(this.choices, other.choices) + && Utils.enhancedDeepEquals(this.categories, other.categories) + && Utils.enhancedDeepEquals(this.subCategories, other.subCategories) + && Utils.enhancedDeepEquals(this.notApplicableAnswer, other.notApplicableAnswer) + && Utils.enhancedDeepEquals(this.otherAnswer, other.otherAnswer) + && Utils.enhancedDeepEquals(this.comments, other.comments) + && Utils.enhancedDeepEquals(this.required, other.required) + && Utils.enhancedDeepEquals(this.fields, other.fields) + && Utils.enhancedDeepEquals(this.maxScore, other.maxScore) + && Utils.enhancedDeepEquals(this.totalSum, other.totalSum) + && Utils.enhancedDeepEquals(this.survey, other.survey) + && Utils.enhancedDeepEquals(this.chapter, other.chapter); } @Override public int hashCode() { - return Utils.enhancedHash(id, text, status, anonymous, answer); + return Utils.enhancedHash( + created, + createdBy, + lastModified, + lastModifiedBy, + id, + text, + shortText, + htmlText, + code, + type, + choices, + categories, + subCategories, + notApplicableAnswer, + otherAnswer, + comments, + required, + fields, + maxScore, + totalSum, + survey, + chapter); } @Override public String toString() { return Utils.toString( QuestionJson1.class, + "created", + created, + "createdBy", + createdBy, + "lastModified", + lastModified, + "lastModifiedBy", + lastModifiedBy, "id", id, "text", text, - "status", - status, - "anonymous", - anonymous, - "answer", - answer); + "shortText", + shortText, + "htmlText", + htmlText, + "code", + code, + "type", + type, + "choices", + choices, + "categories", + categories, + "subCategories", + subCategories, + "notApplicableAnswer", + notApplicableAnswer, + "otherAnswer", + otherAnswer, + "comments", + comments, + "required", + required, + "fields", + fields, + "maxScore", + maxScore, + "totalSum", + totalSum, + "survey", + survey, + "chapter", + chapter); } @SuppressWarnings("UnusedReturnValue") public static final class Builder { + private OffsetDateTime created; + + private String createdBy; + + private OffsetDateTime lastModified; + + private String lastModifiedBy; + private String id; private String text; - private String status; + private String shortText; + + private String htmlText; + + private String code; + + private QuestionTypeJson1 type; + + private List choices; + + private List categories; + + private List subCategories; + + private AdditionalChoiceJson notApplicableAnswer; + + private AdditionalChoiceJson otherAnswer; - private Boolean anonymous; + private String comments; - private String answer; + private Boolean required; + + private List fields; + + private Double maxScore; + + private Long totalSum; + + private UuidJson survey; + + private UuidJson chapter; private Builder() { // force use of static builder() method } /** - * The question ID. + * 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 id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); + public Builder createdBy(@Nullable String createdBy) { + this.createdBy = createdBy; return this; } /** - * The question text. + * 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; + } + + /** + * Text field ID. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * text Value of the Field */ public Builder text(@Nullable String text) { this.text = text; @@ -223,31 +798,160 @@ public Builder text(@Nullable String text) { } /** - * The status of the question. + * Reporting value of the Category, Its like a custom abbreviation + */ + public Builder shortText(@Nullable String shortText) { + this.shortText = shortText; + return this; + } + + /** + * Html of the question */ - public Builder status(@Nullable String status) { - this.status = status; + public Builder htmlText(@Nullable String htmlText) { + this.htmlText = htmlText; return this; } /** - * Whether question is asked anonymously. + * Question Code */ - public Builder anonymous(@Nullable Boolean anonymous) { - this.anonymous = anonymous; + public Builder code(@Nullable String code) { + this.code = code; return this; } /** - * The answer text. + * Question Type. */ - public Builder answer(@Nullable String answer) { - this.answer = answer; + public Builder type(@Nullable QuestionTypeJson1 type) { + this.type = type; + return this; + } + + /** + * List of choices for the question. + */ + public Builder choices(@Nullable List choices) { + this.choices = choices; + return this; + } + + /** + * List of categories for the question. + */ + public Builder categories(@Nullable List categories) { + this.categories = categories; + return this; + } + + /** + * List of sub categories for matrix side-by-side questions + */ + public Builder subCategories(@Nullable List subCategories) { + this.subCategories = subCategories; + return this; + } + + /** + * Contains text of additional choice i.e N/A choice or otherAnswer choice + */ + public Builder notApplicableAnswer(@Nullable AdditionalChoiceJson notApplicableAnswer) { + this.notApplicableAnswer = notApplicableAnswer; + return this; + } + + /** + * Contains text of additional choice i.e N/A choice or otherAnswer choice + */ + public Builder otherAnswer(@Nullable AdditionalChoiceJson otherAnswer) { + this.otherAnswer = otherAnswer; + return this; + } + + /** + * Text Value of Comments Input box placeholder + */ + public Builder comments(@Nullable String comments) { + this.comments = comments; + return this; + } + + /** + * Is this a mandatory question + */ + public Builder required(@Nullable Boolean required) { + this.required = required; + return this; + } + + /** + * List of fields for form/matrix questions + */ + public Builder fields(@Nullable List fields) { + this.fields = fields; + return this; + } + + /** + * Max possible score + */ + public Builder maxScore(@Nullable Double maxScore) { + this.maxScore = maxScore; + return this; + } + + /** + * Total configured sum of all choices for number allocation question + */ + public Builder totalSum(@Nullable Long totalSum) { + this.totalSum = totalSum; + return this; + } + + /** + * The reference to the related entity. Contains only the ID of the related entity. + */ + public Builder survey(@Nullable UuidJson survey) { + this.survey = survey; + return this; + } + + /** + * The reference to the related entity. Contains only the ID of the related entity. + */ + public Builder chapter(@Nullable UuidJson chapter) { + this.chapter = chapter; return this; } public QuestionJson1 build() { - return new QuestionJson1(id, text, status, anonymous, answer); + return new QuestionJson1( + created, + createdBy, + lastModified, + lastModifiedBy, + id, + text, + shortText, + htmlText, + code, + type, + choices, + categories, + subCategories, + notApplicableAnswer, + otherAnswer, + comments, + required, + fields, + maxScore, + totalSum, + survey, + chapter); } + + private static final LazySingletonValue _SINGLETON_VALUE_Required = + new LazySingletonValue<>("required", "false", new TypeReference() {}); } } diff --git a/packages/java/src/main/java/com/cvent/models/components/QuestionJson2.java b/packages/java/src/main/java/com/cvent/models/components/QuestionJson2.java index 4446abc29..d7ffac547 100644 --- a/packages/java/src/main/java/com/cvent/models/components/QuestionJson2.java +++ b/packages/java/src/main/java/com/cvent/models/components/QuestionJson2.java @@ -3,449 +3,84 @@ */ 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.Double; -import java.lang.Long; import java.lang.Override; import java.lang.String; -import java.time.OffsetDateTime; -import java.util.List; import java.util.Optional; /** * QuestionJson2 * - *

A survey question. + *

The question that was answered. */ public class QuestionJson2 { /** - * 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; - - /** - * Text field ID. + * The unique identifier of the question. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("id") private String id; /** - * text Value of the Field + * Question text. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("text") private String text; /** - * Reporting value of the Category, Its like a custom abbreviation - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("shortText") - private String shortText; - - /** - * Html of the question - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("htmlText") - private String htmlText; - - /** - * Question Code + * Question code. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("code") private String code; - /** - * Question Type. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private QuestionTypeJson2 type; - - /** - * List of choices for the question. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("choices") - private List choices; - - /** - * List of categories for the question. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("categories") - private List categories; - - /** - * List of sub categories for matrix side-by-side questions - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("subCategories") - private List subCategories; - - /** - * Contains text of additional choice i.e N/A choice or otherAnswer choice - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("notApplicableAnswer") - private AdditionalChoiceJson1 notApplicableAnswer; - - /** - * Contains text of additional choice i.e N/A choice or otherAnswer choice - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("otherAnswer") - private AdditionalChoiceJson1 otherAnswer; - - /** - * Text Value of Comments Input box placeholder - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("comments") - private String comments; - - /** - * Is this a mandatory question - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("required") - private Boolean required; - - /** - * List of fields for form/matrix questions - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("fields") - private List fields; - - /** - * Max possible score - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("maxScore") - private Double maxScore; - - /** - * Total configured sum of all choices for number allocation question - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("totalSum") - private Long totalSum; - - /** - * The reference to the related entity. Contains only the ID of the related entity. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("survey") - private UuidJson survey; - - /** - * The reference to the related entity. Contains only the ID of the related entity. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("chapter") - private UuidJson chapter; - @JsonCreator public QuestionJson2( - @JsonProperty("created") @Nullable OffsetDateTime created, - @JsonProperty("createdBy") @Nullable String createdBy, - @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, - @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, @JsonProperty("id") @Nullable String id, @JsonProperty("text") @Nullable String text, - @JsonProperty("shortText") @Nullable String shortText, - @JsonProperty("htmlText") @Nullable String htmlText, - @JsonProperty("code") @Nullable String code, - @JsonProperty("type") @Nullable QuestionTypeJson2 type, - @JsonProperty("choices") @Nullable List choices, - @JsonProperty("categories") @Nullable List categories, - @JsonProperty("subCategories") @Nullable List subCategories, - @JsonProperty("notApplicableAnswer") @Nullable AdditionalChoiceJson1 notApplicableAnswer, - @JsonProperty("otherAnswer") @Nullable AdditionalChoiceJson1 otherAnswer, - @JsonProperty("comments") @Nullable String comments, - @JsonProperty("required") @Nullable Boolean required, - @JsonProperty("fields") @Nullable List fields, - @JsonProperty("maxScore") @Nullable Double maxScore, - @JsonProperty("totalSum") @Nullable Long totalSum, - @JsonProperty("survey") @Nullable UuidJson survey, - @JsonProperty("chapter") @Nullable UuidJson chapter) { - this.created = created; - this.createdBy = createdBy; - this.lastModified = lastModified; - this.lastModifiedBy = lastModifiedBy; + @JsonProperty("code") @Nullable String code) { this.id = id; this.text = text; - this.shortText = shortText; - this.htmlText = htmlText; this.code = code; - this.type = type; - this.choices = choices; - this.categories = categories; - this.subCategories = subCategories; - this.notApplicableAnswer = notApplicableAnswer; - this.otherAnswer = otherAnswer; - this.comments = comments; - this.required = Optional.ofNullable(required).orElse(Builder._SINGLETON_VALUE_Required.value()); - this.fields = fields; - this.maxScore = maxScore; - this.totalSum = totalSum; - this.survey = survey; - this.chapter = chapter; } public QuestionJson2() { - this( - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - 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); + this(null, null, null); } /** - * 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); - } - - /** - * Text field ID. + * The unique identifier of the question. */ public Optional id() { return Optional.ofNullable(this.id); } /** - * text Value of the Field + * Question text. */ public Optional text() { return Optional.ofNullable(this.text); } /** - * Reporting value of the Category, Its like a custom abbreviation - */ - public Optional shortText() { - return Optional.ofNullable(this.shortText); - } - - /** - * Html of the question - */ - public Optional htmlText() { - return Optional.ofNullable(this.htmlText); - } - - /** - * Question Code + * Question code. */ public Optional code() { return Optional.ofNullable(this.code); } - /** - * Question Type. - */ - public Optional type() { - return Optional.ofNullable(this.type); - } - - /** - * List of choices for the question. - */ - public Optional> choices() { - return Optional.ofNullable(this.choices); - } - - /** - * List of categories for the question. - */ - public Optional> categories() { - return Optional.ofNullable(this.categories); - } - - /** - * List of sub categories for matrix side-by-side questions - */ - public Optional> subCategories() { - return Optional.ofNullable(this.subCategories); - } - - /** - * Contains text of additional choice i.e N/A choice or otherAnswer choice - */ - public Optional notApplicableAnswer() { - return Optional.ofNullable(this.notApplicableAnswer); - } - - /** - * Contains text of additional choice i.e N/A choice or otherAnswer choice - */ - public Optional otherAnswer() { - return Optional.ofNullable(this.otherAnswer); - } - - /** - * Text Value of Comments Input box placeholder - */ - public Optional comments() { - return Optional.ofNullable(this.comments); - } - - /** - * Is this a mandatory question - */ - public Optional required() { - return Optional.ofNullable(this.required); - } - - /** - * List of fields for form/matrix questions - */ - public Optional> fields() { - return Optional.ofNullable(this.fields); - } - - /** - * Max possible score - */ - public Optional maxScore() { - return Optional.ofNullable(this.maxScore); - } - - /** - * Total configured sum of all choices for number allocation question - */ - public Optional totalSum() { - return Optional.ofNullable(this.totalSum); - } - - /** - * The reference to the related entity. Contains only the ID of the related entity. - */ - public Optional survey() { - return Optional.ofNullable(this.survey); - } - - /** - * The reference to the related entity. Contains only the ID of the related entity. - */ - public Optional chapter() { - return Optional.ofNullable(this.chapter); - } - public static Builder builder() { return new Builder(); } /** - * The ISO 8601 zoned date time when this record was created. - */ - public QuestionJson2 withCreated(@Nullable OffsetDateTime created) { - this.created = created; - return this; - } - - /** - * The identifier of the user that created this record. - */ - public QuestionJson2 withCreatedBy(@Nullable String createdBy) { - this.createdBy = createdBy; - return this; - } - - /** - * The ISO 8601 zoned date time when this record was updated. - */ - public QuestionJson2 withLastModified(@Nullable OffsetDateTime lastModified) { - this.lastModified = lastModified; - return this; - } - - /** - * The identifier of the user that last updated this record. - */ - public QuestionJson2 withLastModifiedBy(@Nullable String lastModifiedBy) { - this.lastModifiedBy = lastModifiedBy; - return this; - } - - /** - * Text field ID. + * The unique identifier of the question. */ public QuestionJson2 withId(@Nullable String id) { this.id = id; @@ -453,7 +88,7 @@ public QuestionJson2 withId(@Nullable String id) { } /** - * text Value of the Field + * Question text. */ public QuestionJson2 withText(@Nullable String text) { this.text = text; @@ -461,133 +96,13 @@ public QuestionJson2 withText(@Nullable String text) { } /** - * Reporting value of the Category, Its like a custom abbreviation - */ - public QuestionJson2 withShortText(@Nullable String shortText) { - this.shortText = shortText; - return this; - } - - /** - * Html of the question - */ - public QuestionJson2 withHtmlText(@Nullable String htmlText) { - this.htmlText = htmlText; - return this; - } - - /** - * Question Code + * Question code. */ public QuestionJson2 withCode(@Nullable String code) { this.code = code; return this; } - /** - * Question Type. - */ - public QuestionJson2 withType(@Nullable QuestionTypeJson2 type) { - this.type = type; - return this; - } - - /** - * List of choices for the question. - */ - public QuestionJson2 withChoices(@Nullable List choices) { - this.choices = choices; - return this; - } - - /** - * List of categories for the question. - */ - public QuestionJson2 withCategories(@Nullable List categories) { - this.categories = categories; - return this; - } - - /** - * List of sub categories for matrix side-by-side questions - */ - public QuestionJson2 withSubCategories(@Nullable List subCategories) { - this.subCategories = subCategories; - return this; - } - - /** - * Contains text of additional choice i.e N/A choice or otherAnswer choice - */ - public QuestionJson2 withNotApplicableAnswer(@Nullable AdditionalChoiceJson1 notApplicableAnswer) { - this.notApplicableAnswer = notApplicableAnswer; - return this; - } - - /** - * Contains text of additional choice i.e N/A choice or otherAnswer choice - */ - public QuestionJson2 withOtherAnswer(@Nullable AdditionalChoiceJson1 otherAnswer) { - this.otherAnswer = otherAnswer; - return this; - } - - /** - * Text Value of Comments Input box placeholder - */ - public QuestionJson2 withComments(@Nullable String comments) { - this.comments = comments; - return this; - } - - /** - * Is this a mandatory question - */ - public QuestionJson2 withRequired(@Nullable Boolean required) { - this.required = required; - return this; - } - - /** - * List of fields for form/matrix questions - */ - public QuestionJson2 withFields(@Nullable List fields) { - this.fields = fields; - return this; - } - - /** - * Max possible score - */ - public QuestionJson2 withMaxScore(@Nullable Double maxScore) { - this.maxScore = maxScore; - return this; - } - - /** - * Total configured sum of all choices for number allocation question - */ - public QuestionJson2 withTotalSum(@Nullable Long totalSum) { - this.totalSum = totalSum; - return this; - } - - /** - * The reference to the related entity. Contains only the ID of the related entity. - */ - public QuestionJson2 withSurvey(@Nullable UuidJson survey) { - this.survey = survey; - return this; - } - - /** - * The reference to the related entity. Contains only the ID of the related entity. - */ - public QuestionJson2 withChapter(@Nullable UuidJson chapter) { - this.chapter = chapter; - return this; - } - @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -597,192 +112,36 @@ public boolean equals(java.lang.Object o) { return false; } QuestionJson2 other = (QuestionJson2) 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.id, other.id) + return Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.text, other.text) - && Utils.enhancedDeepEquals(this.shortText, other.shortText) - && Utils.enhancedDeepEquals(this.htmlText, other.htmlText) - && Utils.enhancedDeepEquals(this.code, other.code) - && Utils.enhancedDeepEquals(this.type, other.type) - && Utils.enhancedDeepEquals(this.choices, other.choices) - && Utils.enhancedDeepEquals(this.categories, other.categories) - && Utils.enhancedDeepEquals(this.subCategories, other.subCategories) - && Utils.enhancedDeepEquals(this.notApplicableAnswer, other.notApplicableAnswer) - && Utils.enhancedDeepEquals(this.otherAnswer, other.otherAnswer) - && Utils.enhancedDeepEquals(this.comments, other.comments) - && Utils.enhancedDeepEquals(this.required, other.required) - && Utils.enhancedDeepEquals(this.fields, other.fields) - && Utils.enhancedDeepEquals(this.maxScore, other.maxScore) - && Utils.enhancedDeepEquals(this.totalSum, other.totalSum) - && Utils.enhancedDeepEquals(this.survey, other.survey) - && Utils.enhancedDeepEquals(this.chapter, other.chapter); + && Utils.enhancedDeepEquals(this.code, other.code); } @Override public int hashCode() { - return Utils.enhancedHash( - created, - createdBy, - lastModified, - lastModifiedBy, - id, - text, - shortText, - htmlText, - code, - type, - choices, - categories, - subCategories, - notApplicableAnswer, - otherAnswer, - comments, - required, - fields, - maxScore, - totalSum, - survey, - chapter); + return Utils.enhancedHash(id, text, code); } @Override public String toString() { - return Utils.toString( - QuestionJson2.class, - "created", - created, - "createdBy", - createdBy, - "lastModified", - lastModified, - "lastModifiedBy", - lastModifiedBy, - "id", - id, - "text", - text, - "shortText", - shortText, - "htmlText", - htmlText, - "code", - code, - "type", - type, - "choices", - choices, - "categories", - categories, - "subCategories", - subCategories, - "notApplicableAnswer", - notApplicableAnswer, - "otherAnswer", - otherAnswer, - "comments", - comments, - "required", - required, - "fields", - fields, - "maxScore", - maxScore, - "totalSum", - totalSum, - "survey", - survey, - "chapter", - chapter); + return Utils.toString(QuestionJson2.class, "id", id, "text", text, "code", code); } @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private OffsetDateTime created; - - private String createdBy; - - private OffsetDateTime lastModified; - - private String lastModifiedBy; - private String id; private String text; - private String shortText; - - private String htmlText; - private String code; - private QuestionTypeJson2 type; - - private List choices; - - private List categories; - - private List subCategories; - - private AdditionalChoiceJson1 notApplicableAnswer; - - private AdditionalChoiceJson1 otherAnswer; - - private String comments; - - private Boolean required; - - private List fields; - - private Double maxScore; - - private Long totalSum; - - private UuidJson survey; - - private UuidJson chapter; - 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; - } - - /** - * Text field ID. + * The unique identifier of the question. */ public Builder id(@Nullable String id) { this.id = id; @@ -790,7 +149,7 @@ public Builder id(@Nullable String id) { } /** - * text Value of the Field + * Question text. */ public Builder text(@Nullable String text) { this.text = text; @@ -798,160 +157,15 @@ public Builder text(@Nullable String text) { } /** - * Reporting value of the Category, Its like a custom abbreviation - */ - public Builder shortText(@Nullable String shortText) { - this.shortText = shortText; - return this; - } - - /** - * Html of the question - */ - public Builder htmlText(@Nullable String htmlText) { - this.htmlText = htmlText; - return this; - } - - /** - * Question Code + * Question code. */ public Builder code(@Nullable String code) { this.code = code; return this; } - /** - * Question Type. - */ - public Builder type(@Nullable QuestionTypeJson2 type) { - this.type = type; - return this; - } - - /** - * List of choices for the question. - */ - public Builder choices(@Nullable List choices) { - this.choices = choices; - return this; - } - - /** - * List of categories for the question. - */ - public Builder categories(@Nullable List categories) { - this.categories = categories; - return this; - } - - /** - * List of sub categories for matrix side-by-side questions - */ - public Builder subCategories(@Nullable List subCategories) { - this.subCategories = subCategories; - return this; - } - - /** - * Contains text of additional choice i.e N/A choice or otherAnswer choice - */ - public Builder notApplicableAnswer(@Nullable AdditionalChoiceJson1 notApplicableAnswer) { - this.notApplicableAnswer = notApplicableAnswer; - return this; - } - - /** - * Contains text of additional choice i.e N/A choice or otherAnswer choice - */ - public Builder otherAnswer(@Nullable AdditionalChoiceJson1 otherAnswer) { - this.otherAnswer = otherAnswer; - return this; - } - - /** - * Text Value of Comments Input box placeholder - */ - public Builder comments(@Nullable String comments) { - this.comments = comments; - return this; - } - - /** - * Is this a mandatory question - */ - public Builder required(@Nullable Boolean required) { - this.required = required; - return this; - } - - /** - * List of fields for form/matrix questions - */ - public Builder fields(@Nullable List fields) { - this.fields = fields; - return this; - } - - /** - * Max possible score - */ - public Builder maxScore(@Nullable Double maxScore) { - this.maxScore = maxScore; - return this; - } - - /** - * Total configured sum of all choices for number allocation question - */ - public Builder totalSum(@Nullable Long totalSum) { - this.totalSum = totalSum; - return this; - } - - /** - * The reference to the related entity. Contains only the ID of the related entity. - */ - public Builder survey(@Nullable UuidJson survey) { - this.survey = survey; - return this; - } - - /** - * The reference to the related entity. Contains only the ID of the related entity. - */ - public Builder chapter(@Nullable UuidJson chapter) { - this.chapter = chapter; - return this; - } - public QuestionJson2 build() { - return new QuestionJson2( - created, - createdBy, - lastModified, - lastModifiedBy, - id, - text, - shortText, - htmlText, - code, - type, - choices, - categories, - subCategories, - notApplicableAnswer, - otherAnswer, - comments, - required, - fields, - maxScore, - totalSum, - survey, - chapter); + return new QuestionJson2(id, text, code); } - - private static final LazySingletonValue _SINGLETON_VALUE_Required = - new LazySingletonValue<>("required", "false", new TypeReference() {}); } } diff --git a/packages/java/src/main/java/com/cvent/models/components/QuestionJson3.java b/packages/java/src/main/java/com/cvent/models/components/QuestionJson3.java deleted file mode 100644 index 03ef046ea..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/QuestionJson3.java +++ /dev/null @@ -1,171 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * QuestionJson3 - * - *

The question that was answered. - */ -public class QuestionJson3 { - /** - * The unique identifier of the question. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * Question text. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("text") - private String text; - - /** - * Question code. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("code") - private String code; - - @JsonCreator - public QuestionJson3( - @JsonProperty("id") @Nullable String id, - @JsonProperty("text") @Nullable String text, - @JsonProperty("code") @Nullable String code) { - this.id = id; - this.text = text; - this.code = code; - } - - public QuestionJson3() { - this(null, null, null); - } - - /** - * The unique identifier of the question. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * Question text. - */ - public Optional text() { - return Optional.ofNullable(this.text); - } - - /** - * Question code. - */ - public Optional code() { - return Optional.ofNullable(this.code); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique identifier of the question. - */ - public QuestionJson3 withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * Question text. - */ - public QuestionJson3 withText(@Nullable String text) { - this.text = text; - return this; - } - - /** - * Question code. - */ - public QuestionJson3 withCode(@Nullable String code) { - this.code = code; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QuestionJson3 other = (QuestionJson3) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.text, other.text) - && Utils.enhancedDeepEquals(this.code, other.code); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, text, code); - } - - @Override - public String toString() { - return Utils.toString(QuestionJson3.class, "id", id, "text", text, "code", code); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String text; - - private String code; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique identifier of the question. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * Question text. - */ - public Builder text(@Nullable String text) { - this.text = text; - return this; - } - - /** - * Question code. - */ - public Builder code(@Nullable String code) { - this.code = code; - return this; - } - - public QuestionJson3 build() { - return new QuestionJson3(id, text, code); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/QuestionPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/QuestionPaginatedResponse.java index 32ceb98e4..a6a34af8b 100644 --- a/packages/java/src/main/java/com/cvent/models/components/QuestionPaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/QuestionPaginatedResponse.java @@ -25,7 +25,7 @@ public class QuestionPaginatedResponse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * Collection of Questions. @@ -36,7 +36,7 @@ public class QuestionPaginatedResponse { @JsonCreator public QuestionPaginatedResponse( - @JsonProperty("paging") @Nullable PagingJson paging, @JsonProperty("data") @Nullable List data) { + @JsonProperty("paging") @Nullable Paging paging, @JsonProperty("data") @Nullable List data) { this.paging = paging; this.data = data; } @@ -48,7 +48,7 @@ public QuestionPaginatedResponse() { /** * Represents pagination information for a collection of resources. */ - public Optional paging() { + public Optional paging() { return Optional.ofNullable(this.paging); } @@ -66,7 +66,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public QuestionPaginatedResponse withPaging(@Nullable PagingJson paging) { + public QuestionPaginatedResponse withPaging(@Nullable Paging paging) { this.paging = paging; return this; } @@ -104,7 +104,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; private List data; @@ -115,7 +115,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nullable PagingJson paging) { + public Builder paging(@Nullable Paging paging) { this.paging = paging; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/QuestionResponseDataType.java b/packages/java/src/main/java/com/cvent/models/components/QuestionResponseDataType.java new file mode 100644 index 000000000..84c9c3301 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/QuestionResponseDataType.java @@ -0,0 +1,44 @@ +/* + * 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; + +/** + * QuestionResponseDataType + * + *

Code representing the expected data type of the question response. + */ +public enum QuestionResponseDataType { + TEXT("text"), + DATE("date"), + DATE_TIME("date_time"), + TIME("time"), + NUMBER("number"), + EMAIL("email"), + BOOLEAN("boolean"); + + @JsonValue + private final String value; + + QuestionResponseDataType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (QuestionResponseDataType o : QuestionResponseDataType.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/QuestionResponseDataTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/QuestionResponseDataTypeJson.java deleted file mode 100644 index 51118e5d1..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/QuestionResponseDataTypeJson.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * 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; - -/** - * QuestionResponseDataTypeJson - * - *

Code representing the expected data type of the question response. - */ -public enum QuestionResponseDataTypeJson { - TEXT("text"), - DATE("date"), - DATE_TIME("date_time"), - TIME("time"), - NUMBER("number"), - EMAIL("email"), - BOOLEAN("boolean"); - - @JsonValue - private final String value; - - QuestionResponseDataTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (QuestionResponseDataTypeJson o : QuestionResponseDataTypeJson.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/QuestionResponseFormat.java b/packages/java/src/main/java/com/cvent/models/components/QuestionResponseFormat.java new file mode 100644 index 000000000..2d29fe011 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/QuestionResponseFormat.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; + +/** + * QuestionResponseFormat + * + *

Code representing the format the text of the response will be in. + */ +public enum QuestionResponseFormat { + LOWER_CASE("lower_case"), + PROPER_CASE("proper_case"), + UPPER_CASE("upper_case"); + + @JsonValue + private final String value; + + QuestionResponseFormat(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (QuestionResponseFormat o : QuestionResponseFormat.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/QuestionResponseFormatJson.java b/packages/java/src/main/java/com/cvent/models/components/QuestionResponseFormatJson.java deleted file mode 100644 index 4291559b5..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/QuestionResponseFormatJson.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * 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; - -/** - * QuestionResponseFormatJson - * - *

Code representing the format the text of the response will be in. - */ -public enum QuestionResponseFormatJson { - LOWER_CASE("lower_case"), - PROPER_CASE("proper_case"), - UPPER_CASE("upper_case"); - - @JsonValue - private final String value; - - QuestionResponseFormatJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (QuestionResponseFormatJson o : QuestionResponseFormatJson.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/QuestionResponseJson.java b/packages/java/src/main/java/com/cvent/models/components/QuestionResponseJson.java index 3c5af2a69..6f07cd2f9 100644 --- a/packages/java/src/main/java/com/cvent/models/components/QuestionResponseJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/QuestionResponseJson.java @@ -25,7 +25,7 @@ public class QuestionResponseJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("question") - private QuestionJson3 question; + private QuestionJson2 question; /** * List of answers. @@ -36,7 +36,7 @@ public class QuestionResponseJson { @JsonCreator public QuestionResponseJson( - @JsonProperty("question") @Nullable QuestionJson3 question, + @JsonProperty("question") @Nullable QuestionJson2 question, @JsonProperty("answers") @Nullable List answers) { this.question = question; this.answers = answers; @@ -49,7 +49,7 @@ public QuestionResponseJson() { /** * The question that was answered. */ - public Optional question() { + public Optional question() { return Optional.ofNullable(this.question); } @@ -67,7 +67,7 @@ public static Builder builder() { /** * The question that was answered. */ - public QuestionResponseJson withQuestion(@Nullable QuestionJson3 question) { + public QuestionResponseJson withQuestion(@Nullable QuestionJson2 question) { this.question = question; return this; } @@ -106,7 +106,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private QuestionJson3 question; + private QuestionJson2 question; private List answers; @@ -117,7 +117,7 @@ private Builder() { /** * The question that was answered. */ - public Builder question(@Nullable QuestionJson3 question) { + public Builder question(@Nullable QuestionJson2 question) { this.question = question; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/QuestionResponseType.java b/packages/java/src/main/java/com/cvent/models/components/QuestionResponseType.java new file mode 100644 index 000000000..10f70f569 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/QuestionResponseType.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; + +/** + * QuestionResponseType + * + *

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 enum QuestionResponseType { + SINGLE("single"), + CHOICE("choice"); + + @JsonValue + private final String value; + + QuestionResponseType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (QuestionResponseType o : QuestionResponseType.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/QuestionResponseTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/QuestionResponseTypeJson.java deleted file mode 100644 index d273d56de..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/QuestionResponseTypeJson.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * 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; - -/** - * QuestionResponseTypeJson - * - *

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 enum QuestionResponseTypeJson { - SINGLE("single"), - CHOICE("choice"); - - @JsonValue - private final String value; - - QuestionResponseTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (QuestionResponseTypeJson o : QuestionResponseTypeJson.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/QuestionSection.java b/packages/java/src/main/java/com/cvent/models/components/QuestionSection.java new file mode 100644 index 000000000..bb105d081 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/QuestionSection.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; + +/** + * QuestionSection + * + *

Code representing the section where the question belongs. Currently, program_client (client + * specific) and program_g_and_m (group and meeting) are supported. + */ +public enum QuestionSection { + PROGRAM_CLIENT("program_client"), + PROGRAM_G_AND_M("program_g_and_m"); + + @JsonValue + private final String value; + + QuestionSection(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (QuestionSection o : QuestionSection.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/QuestionSectionJson.java b/packages/java/src/main/java/com/cvent/models/components/QuestionSectionJson.java deleted file mode 100644 index c7fa9ccce..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/QuestionSectionJson.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * 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; - -/** - * QuestionSectionJson - * - *

Code representing the section where the question belongs. Currently, program_client (client - * specific) and program_g_and_m (group and meeting) are supported. - */ -public enum QuestionSectionJson { - PROGRAM_CLIENT("program_client"), - PROGRAM_G_AND_M("program_g_and_m"); - - @JsonValue - private final String value; - - QuestionSectionJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (QuestionSectionJson o : QuestionSectionJson.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/QuestionType.java b/packages/java/src/main/java/com/cvent/models/components/QuestionType.java new file mode 100644 index 000000000..27b7eb002 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/QuestionType.java @@ -0,0 +1,61 @@ +/* + * 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; + +/** + * QuestionType + * + *

The type of question. See [this + * article](https://support.cvent.com/s/communityarticle/Survey-Adding-Questions) for details on each + * enum. + */ +public enum QuestionType { + COMMENT_BOX("CommentBox"), + DATE_TIME("DateTime"), + FILE_UPLOAD("FileUpload"), + FORM("Form"), + LARGE_CHOICES("LargeChoices"), + MATRIX_MULTI_CHOICE("MatrixMultiChoice"), + MATRIX_RATING("MatrixRating"), + MATRIX_SIDE_BY_SIDE("MatrixSideBySide"), + MATRIX_SINGLE_CHOICE("MatrixSingleChoice"), + MATRIX_SPREAD_SHEET("MatrixSpreadSheet"), + MULTI_CHOICE("MultiChoice"), + NET_PROMOTER("NetPromoter"), + NUMBER("Number"), + NUMBER_ALLOCATION("NumberAllocation"), + OPEN_ENDED_DATE_TIME("OpenEndedDateTime"), + OPEN_ENDED_NUMERIC("OpenEndedNumeric"), + OPEN_ENDED_TEXT_COMMENT_BOX("OpenEndedTextCommentBox"), + OPEN_ENDED_TEXT_ONE_LINE("OpenEndedTextOneLine"), + RANK_ORDER("RankOrder"), + RATING("Rating"), + SINGLE_CHOICE("SingleChoice"), + TEXT("Text"); + + @JsonValue + private final String value; + + QuestionType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (QuestionType o : QuestionType.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/QuestionTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/QuestionTypeJson.java index 4173bd054..4e480779c 100644 --- a/packages/java/src/main/java/com/cvent/models/components/QuestionTypeJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/QuestionTypeJson.java @@ -11,33 +11,28 @@ /** * QuestionTypeJson * - *

The type of question. See [this - * article](https://support.cvent.com/s/communityarticle/Survey-Adding-Questions) for details on each - * enum. + *

Denotes the type of data collected by a question. */ public enum QuestionTypeJson { - COMMENT_BOX("CommentBox"), + AUTO_INCREMENT("AutoIncrement"), + BUDGET_ESTIMATES("BudgetEstimates"), + CONSENT_QUESTION("ConsentQuestion"), + COUNTRY("Country"), + CURRENCY("Currency"), + DECIMAL("Decimal"), + DATE("Date"), DATE_TIME("DateTime"), + EMAIL("Email"), FILE_UPLOAD("FileUpload"), - FORM("Form"), - LARGE_CHOICES("LargeChoices"), - MATRIX_MULTI_CHOICE("MatrixMultiChoice"), - MATRIX_RATING("MatrixRating"), - MATRIX_SIDE_BY_SIDE("MatrixSideBySide"), - MATRIX_SINGLE_CHOICE("MatrixSingleChoice"), - MATRIX_SPREAD_SHEET("MatrixSpreadSheet"), - MULTI_CHOICE("MultiChoice"), - NET_PROMOTER("NetPromoter"), + FREE_TEXT("FreeText"), + GENERAL("General"), NUMBER("Number"), - NUMBER_ALLOCATION("NumberAllocation"), - OPEN_ENDED_DATE_TIME("OpenEndedDateTime"), - OPEN_ENDED_NUMERIC("OpenEndedNumeric"), - OPEN_ENDED_TEXT_COMMENT_BOX("OpenEndedTextCommentBox"), - OPEN_ENDED_TEXT_ONE_LINE("OpenEndedTextOneLine"), - RANK_ORDER("RankOrder"), - RATING("Rating"), - SINGLE_CHOICE("SingleChoice"), - TEXT("Text"); + MEETING_ROOM_REQUIREMENTS("MeetingRoomRequirements"), + MULTI_SELECT("MultiSelect"), + SINGLE_SELECT("SingleSelect"), + SLEEPING_ROOM_REQUIREMENTS("SleepingRoomRequirements"), + US_PHONE_NUMBER("USPhoneNumber"), + UNKNOWN("Unknown"); @JsonValue private final String value; diff --git a/packages/java/src/main/java/com/cvent/models/components/QuestionTypeJson1.java b/packages/java/src/main/java/com/cvent/models/components/QuestionTypeJson1.java index 0482c85cb..172eef3d2 100644 --- a/packages/java/src/main/java/com/cvent/models/components/QuestionTypeJson1.java +++ b/packages/java/src/main/java/com/cvent/models/components/QuestionTypeJson1.java @@ -11,28 +11,27 @@ /** * QuestionTypeJson1 * - *

Denotes the type of data collected by a question. + *

Question Type. */ public enum QuestionTypeJson1 { - AUTO_INCREMENT("AutoIncrement"), - BUDGET_ESTIMATES("BudgetEstimates"), - CONSENT_QUESTION("ConsentQuestion"), - COUNTRY("Country"), - CURRENCY("Currency"), - DECIMAL("Decimal"), - DATE("Date"), + SINGLE_CHOICE("SingleChoice"), + MULTI_CHOICE("MultiChoice"), + MATRIX_SINGLE_CHOICE("MatrixSingleChoice"), + MATRIX_MULTI_CHOICE("MatrixMultiChoice"), + MATRIX_SIDE_BY_SIDE("MatrixSideBySide"), + MATRIX_SPREAD_SHEET("MatrixSpreadSheet"), DATE_TIME("DateTime"), - EMAIL("Email"), - FILE_UPLOAD("FileUpload"), - FREE_TEXT("FreeText"), - GENERAL("General"), NUMBER("Number"), - MEETING_ROOM_REQUIREMENTS("MeetingRoomRequirements"), - MULTI_SELECT("MultiSelect"), - SINGLE_SELECT("SingleSelect"), - SLEEPING_ROOM_REQUIREMENTS("SleepingRoomRequirements"), - US_PHONE_NUMBER("USPhoneNumber"), - UNKNOWN("Unknown"); + TEXT("Text"), + COMMENT_BOX("CommentBox"), + FORM("Form"), + RANK_ORDER("RankOrder"), + FILE_UPLOAD("FileUpload"), + NET_PROMOTER("NetPromoter"), + RATING("Rating"), + MATRIX_RATING("MatrixRating"), + NUMBER_ALLOCATION("NumberAllocation"), + LARGE_CHOICES("LargeChoices"); @JsonValue private final String value; diff --git a/packages/java/src/main/java/com/cvent/models/components/QuestionTypeJson2.java b/packages/java/src/main/java/com/cvent/models/components/QuestionTypeJson2.java index 1d4fd45b9..199ccc1b3 100644 --- a/packages/java/src/main/java/com/cvent/models/components/QuestionTypeJson2.java +++ b/packages/java/src/main/java/com/cvent/models/components/QuestionTypeJson2.java @@ -11,27 +11,18 @@ /** * QuestionTypeJson2 * - *

Question Type. + *

This object represents the type of a question */ public enum QuestionTypeJson2 { SINGLE_CHOICE("SingleChoice"), MULTI_CHOICE("MultiChoice"), - MATRIX_SINGLE_CHOICE("MatrixSingleChoice"), - MATRIX_MULTI_CHOICE("MatrixMultiChoice"), - MATRIX_SIDE_BY_SIDE("MatrixSideBySide"), - MATRIX_SPREAD_SHEET("MatrixSpreadSheet"), - DATE_TIME("DateTime"), - NUMBER("Number"), - TEXT("Text"), - COMMENT_BOX("CommentBox"), - FORM("Form"), - RANK_ORDER("RankOrder"), + OPEN_ENDED_DATE_TIME("OpenEndedDateTime"), + OPEN_ENDED_TEXT_ONE_LINE("OpenEndedTextOneLine"), + OPEN_ENDED_TEXT_COMMENT_BOX("OpenEndedTextCommentBox"), + OPEN_ENDED_NUMERIC("OpenEndedNumeric"), FILE_UPLOAD("FileUpload"), - NET_PROMOTER("NetPromoter"), - RATING("Rating"), - MATRIX_RATING("MatrixRating"), - NUMBER_ALLOCATION("NumberAllocation"), - LARGE_CHOICES("LargeChoices"); + MATRIX_SINGLE_PER_ROW("MatrixSinglePerRow"), + MATRIX_MULTI_PER_ROW("MatrixMultiPerRow"); @JsonValue private final String value; diff --git a/packages/java/src/main/java/com/cvent/models/components/QuestionTypeJson3.java b/packages/java/src/main/java/com/cvent/models/components/QuestionTypeJson3.java deleted file mode 100644 index 9d7908d4f..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/QuestionTypeJson3.java +++ /dev/null @@ -1,46 +0,0 @@ -/* - * 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; - -/** - * QuestionTypeJson3 - * - *

This object represents the type of a question - */ -public enum QuestionTypeJson3 { - SINGLE_CHOICE("SingleChoice"), - MULTI_CHOICE("MultiChoice"), - OPEN_ENDED_DATE_TIME("OpenEndedDateTime"), - OPEN_ENDED_TEXT_ONE_LINE("OpenEndedTextOneLine"), - OPEN_ENDED_TEXT_COMMENT_BOX("OpenEndedTextCommentBox"), - OPEN_ENDED_NUMERIC("OpenEndedNumeric"), - FILE_UPLOAD("FileUpload"), - MATRIX_SINGLE_PER_ROW("MatrixSinglePerRow"), - MATRIX_MULTI_PER_ROW("MatrixMultiPerRow"); - - @JsonValue - private final String value; - - QuestionTypeJson3(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (QuestionTypeJson3 o : QuestionTypeJson3.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/QuestionWithProgramIdJson.java b/packages/java/src/main/java/com/cvent/models/components/QuestionWithProgramIdJson.java deleted file mode 100644 index a9eeea773..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/QuestionWithProgramIdJson.java +++ /dev/null @@ -1,542 +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.Override; -import java.lang.String; -import java.time.OffsetDateTime; -import java.util.List; -import java.util.Optional; - -/** - * QuestionWithProgramIdJson - * - *

A question, defined by the program, for the supplier to answer as part of their proposal. - */ -public class QuestionWithProgramIdJson { - /** - * 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 QuestionWithProgramIdJsonTravelProgram 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 QuestionResponseTypeJson responseType; - - /** - * Code representing the expected data type of the question response. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("responseDataType") - private QuestionResponseDataTypeJson responseDataType; - - /** - * Code representing the format the text of the response will be in. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("responseFormat") - private QuestionResponseFormatJson 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 QuestionWithProgramIdJson( - @JsonProperty("created") @Nullable OffsetDateTime created, - @JsonProperty("createdBy") @Nullable String createdBy, - @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, - @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, - @JsonProperty("travelProgram") @Nullable QuestionWithProgramIdJsonTravelProgram travelProgram, - @JsonProperty("id") @Nullable String id, - @JsonProperty("text") @Nullable String text, - @JsonProperty("required") @Nullable Boolean required, - @JsonProperty("responseType") @Nullable QuestionResponseTypeJson responseType, - @JsonProperty("responseDataType") @Nullable QuestionResponseDataTypeJson responseDataType, - @JsonProperty("responseFormat") @Nullable QuestionResponseFormatJson 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 QuestionWithProgramIdJson() { - 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 QuestionWithProgramIdJson withCreated(@Nullable OffsetDateTime created) { - this.created = created; - return this; - } - - /** - * The identifier of the user that created this record. - */ - public QuestionWithProgramIdJson withCreatedBy(@Nullable String createdBy) { - this.createdBy = createdBy; - return this; - } - - /** - * The ISO 8601 zoned date time when this record was updated. - */ - public QuestionWithProgramIdJson withLastModified(@Nullable OffsetDateTime lastModified) { - this.lastModified = lastModified; - return this; - } - - /** - * The identifier of the user that last updated this record. - */ - public QuestionWithProgramIdJson withLastModifiedBy(@Nullable String lastModifiedBy) { - this.lastModifiedBy = lastModifiedBy; - return this; - } - - /** - * Travel program that the question belongs to. - */ - public QuestionWithProgramIdJson withTravelProgram(@Nullable QuestionWithProgramIdJsonTravelProgram travelProgram) { - this.travelProgram = travelProgram; - return this; - } - - /** - * The unique ID of the question. - */ - public QuestionWithProgramIdJson withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The text of the question. - */ - public QuestionWithProgramIdJson withText(@Nullable String text) { - this.text = text; - return this; - } - - /** - * Is this question required by default? - */ - public QuestionWithProgramIdJson 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 QuestionWithProgramIdJson withResponseType(@Nullable QuestionResponseTypeJson responseType) { - this.responseType = responseType; - return this; - } - - /** - * Code representing the expected data type of the question response. - */ - public QuestionWithProgramIdJson withResponseDataType(@Nullable QuestionResponseDataTypeJson responseDataType) { - this.responseDataType = responseDataType; - return this; - } - - /** - * Code representing the format the text of the response will be in. - */ - public QuestionWithProgramIdJson withResponseFormat(@Nullable QuestionResponseFormatJson responseFormat) { - this.responseFormat = responseFormat; - return this; - } - - /** - * A list of options for the question. This only applies when responseType is 'choice' - */ - public QuestionWithProgramIdJson 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; - } - QuestionWithProgramIdJson other = (QuestionWithProgramIdJson) 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( - QuestionWithProgramIdJson.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 QuestionWithProgramIdJsonTravelProgram travelProgram; - - private String id; - - private String text; - - private Boolean required; - - private QuestionResponseTypeJson responseType; - - private QuestionResponseDataTypeJson responseDataType; - - private QuestionResponseFormatJson 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 QuestionWithProgramIdJsonTravelProgram 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 QuestionResponseTypeJson responseType) { - this.responseType = responseType; - return this; - } - - /** - * Code representing the expected data type of the question response. - */ - public Builder responseDataType(@Nullable QuestionResponseDataTypeJson responseDataType) { - this.responseDataType = responseDataType; - return this; - } - - /** - * Code representing the format the text of the response will be in. - */ - public Builder responseFormat(@Nullable QuestionResponseFormatJson 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 QuestionWithProgramIdJson build() { - return new QuestionWithProgramIdJson( - created, - createdBy, - lastModified, - lastModifiedBy, - travelProgram, - id, - text, - required, - responseType, - responseDataType, - responseFormat, - responseChoices); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/QuestionWithProgramIdJsonTravelProgram.java b/packages/java/src/main/java/com/cvent/models/components/QuestionWithProgramIdJsonTravelProgram.java deleted file mode 100644 index 6c834fc78..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/QuestionWithProgramIdJsonTravelProgram.java +++ /dev/null @@ -1,100 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * QuestionWithProgramIdJsonTravelProgram - * - *

Travel program that the question belongs to. - */ -public class QuestionWithProgramIdJsonTravelProgram { - /** - * The unique ID of the travel program. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public QuestionWithProgramIdJsonTravelProgram(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public QuestionWithProgramIdJsonTravelProgram() { - this(null); - } - - /** - * The unique ID of the travel program. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique ID of the travel program. - */ - public QuestionWithProgramIdJsonTravelProgram withId(@Nullable String id) { - this.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; - } - QuestionWithProgramIdJsonTravelProgram other = (QuestionWithProgramIdJsonTravelProgram) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(QuestionWithProgramIdJsonTravelProgram.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique ID of the travel program. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public QuestionWithProgramIdJsonTravelProgram build() { - return new QuestionWithProgramIdJsonTravelProgram(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/QuestionsPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/QuestionsPaginatedResponse.java index ec3304188..4890f1e76 100644 --- a/packages/java/src/main/java/com/cvent/models/components/QuestionsPaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/QuestionsPaginatedResponse.java @@ -28,12 +28,12 @@ public class QuestionsPaginatedResponse { * Collection of questions for surveys. */ @JsonProperty("data") - private List data; + private List data; @JsonCreator public QuestionsPaginatedResponse( @JsonProperty("paging") @Nonnull PagingJson paging, - @JsonProperty("data") @Nonnull List data) { + @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")); @@ -49,7 +49,7 @@ public PagingJson paging() { /** * Collection of questions for surveys. */ - public List data() { + public List data() { return this.data; } @@ -68,7 +68,7 @@ public QuestionsPaginatedResponse withPaging(@Nonnull PagingJson paging) { /** * Collection of questions for surveys. */ - public QuestionsPaginatedResponse withData(@Nonnull List data) { + public QuestionsPaginatedResponse withData(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } @@ -100,7 +100,7 @@ public static final class Builder { private PagingJson paging; - private List data; + private List data; private Builder() { // force use of static builder() method @@ -117,7 +117,7 @@ public Builder paging(@Nonnull PagingJson paging) { /** * Collection of questions for surveys. */ - public Builder data(@Nonnull List data) { + public Builder data(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } 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 cd27a4636..c8c84c75d 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 @@ -25,19 +25,19 @@ public class QuestionsPaginatedResponse1 { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * Collection of Questions. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("data") - private List data; + private List data; @JsonCreator public QuestionsPaginatedResponse1( - @JsonProperty("paging") @Nullable PagingJson paging, - @JsonProperty("data") @Nullable List data) { + @JsonProperty("paging") @Nullable Paging paging, + @JsonProperty("data") @Nullable List data) { this.paging = paging; this.data = data; } @@ -49,14 +49,14 @@ public QuestionsPaginatedResponse1() { /** * Represents pagination information for a collection of resources. */ - public Optional paging() { + public Optional paging() { return Optional.ofNullable(this.paging); } /** * Collection of Questions. */ - public Optional> data() { + public Optional> data() { return Optional.ofNullable(this.data); } @@ -67,7 +67,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public QuestionsPaginatedResponse1 withPaging(@Nullable PagingJson paging) { + public QuestionsPaginatedResponse1 withPaging(@Nullable Paging paging) { this.paging = paging; return this; } @@ -75,7 +75,7 @@ public QuestionsPaginatedResponse1 withPaging(@Nullable PagingJson paging) { /** * Collection of Questions. */ - public QuestionsPaginatedResponse1 withData(@Nullable List data) { + public QuestionsPaginatedResponse1 withData(@Nullable List data) { this.data = data; return this; } @@ -105,9 +105,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; - private List data; + private List data; private Builder() { // force use of static builder() method @@ -116,7 +116,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nullable PagingJson paging) { + public Builder paging(@Nullable Paging paging) { this.paging = paging; return this; } @@ -124,7 +124,7 @@ public Builder paging(@Nullable PagingJson 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/RateLevelType.java b/packages/java/src/main/java/com/cvent/models/components/RateLevelType.java new file mode 100644 index 000000000..822619daa --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/RateLevelType.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; + +/** + * RateLevelType + * + *

Rate level + */ +public enum RateLevelType { + CORPORATE("corporate"), + LEISURE("leisure"), + GOVERNMENT("government"); + + @JsonValue + private final String value; + + RateLevelType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (RateLevelType o : RateLevelType.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/RateLevelTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/RateLevelTypeJson.java deleted file mode 100644 index 5c02f7f5d..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/RateLevelTypeJson.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * 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; - -/** - * RateLevelTypeJson - * - *

Rate level - */ -public enum RateLevelTypeJson { - CORPORATE("corporate"), - LEISURE("leisure"), - GOVERNMENT("government"); - - @JsonValue - private final String value; - - RateLevelTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (RateLevelTypeJson o : RateLevelTypeJson.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/RateReviewStatusType.java b/packages/java/src/main/java/com/cvent/models/components/RateReviewStatusType.java new file mode 100644 index 000000000..10c4f8e14 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/RateReviewStatusType.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; + +/** + * RateReviewStatusType + * + *

The rate review status of the proposal + */ +public enum RateReviewStatusType { + REQUESTED("requested"), + NOT_REQUIRED("not_required"), + APPROVED("approved"), + REJECTED("rejected"); + + @JsonValue + private final String value; + + RateReviewStatusType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (RateReviewStatusType o : RateReviewStatusType.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/RateReviewStatusTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/RateReviewStatusTypeJson.java deleted file mode 100644 index 43cc7fa01..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/RateReviewStatusTypeJson.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * 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; - -/** - * RateReviewStatusTypeJson - * - *

The rate review status of the proposal - */ -public enum RateReviewStatusTypeJson { - REQUESTED("requested"), - NOT_REQUIRED("not_required"), - APPROVED("approved"), - REJECTED("rejected"); - - @JsonValue - private final String value; - - RateReviewStatusTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (RateReviewStatusTypeJson o : RateReviewStatusTypeJson.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/RateType.java b/packages/java/src/main/java/com/cvent/models/components/RateType.java new file mode 100644 index 000000000..0ed49b417 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/RateType.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; + +/** + * RateType + * + *

Rate type. + */ +public enum RateType { + FIXED("fixed"), + DYNAMIC("dynamic"), + DYNAMICWITHCEILING("dynamicwithceiling"); + + @JsonValue + private final String value; + + RateType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (RateType o : RateType.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/RateTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/RateTypeJson.java deleted file mode 100644 index 8fa85981e..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/RateTypeJson.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * 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; - -/** - * RateTypeJson - * - *

Rate type. - */ -public enum RateTypeJson { - FIXED("fixed"), - DYNAMIC("dynamic"), - DYNAMICWITHCEILING("dynamicwithceiling"); - - @JsonValue - private final String value; - - RateTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (RateTypeJson o : RateTypeJson.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/RebateType.java b/packages/java/src/main/java/com/cvent/models/components/RebateType.java new file mode 100644 index 000000000..2554f4a60 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/RebateType.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; + +/** + * RebateType + * + *

Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the + * rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will + * represent a percentage. + */ +public enum RebateType { + BY_AMOUNT("BY_AMOUNT"), + BY_PERCENTAGE("BY_PERCENTAGE"); + + @JsonValue + private final String value; + + RebateType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (RebateType o : RebateType.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/RebateTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/RebateTypeJson.java deleted file mode 100644 index a7a4e11fe..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/RebateTypeJson.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * 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; - -/** - * RebateTypeJson - * - *

Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the - * rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will - * represent a percentage. - */ -public enum RebateTypeJson { - BY_AMOUNT("BY_AMOUNT"), - BY_PERCENTAGE("BY_PERCENTAGE"); - - @JsonValue - private final String value; - - RebateTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (RebateTypeJson o : RebateTypeJson.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/RecipientInfo.java b/packages/java/src/main/java/com/cvent/models/components/RecipientInfo.java new file mode 100644 index 000000000..84746f76f --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/RecipientInfo.java @@ -0,0 +1,176 @@ +/* + * 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.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * RecipientInfo + * + *

Represents the details of the RFP recipient. + */ +public class RecipientInfo { + /** + * The position at which this recipient will be displayed. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("order") + private Long order; + + /** + * Type of Recipient + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private RecipientType type; + + /** + * If the recipient is ACCOUNT_USER or ACCOUNT_USER_GROUP, this field holds their unique ID. If the + * recipient is EMAIL, this field holds the email provided by the user. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("value") + private String value; + + @JsonCreator + public RecipientInfo( + @JsonProperty("order") @Nullable Long order, + @JsonProperty("type") @Nullable RecipientType type, + @JsonProperty("value") @Nullable String value) { + this.order = order; + this.type = type; + this.value = value; + } + + public RecipientInfo() { + this(null, null, null); + } + + /** + * The position at which this recipient will be displayed. + */ + public Optional order() { + return Optional.ofNullable(this.order); + } + + /** + * Type of Recipient + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + /** + * If the recipient is ACCOUNT_USER or ACCOUNT_USER_GROUP, this field holds their unique ID. If the + * recipient is EMAIL, this field holds the email provided by the user. + */ + public Optional value() { + return Optional.ofNullable(this.value); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The position at which this recipient will be displayed. + */ + public RecipientInfo withOrder(@Nullable Long order) { + this.order = order; + return this; + } + + /** + * Type of Recipient + */ + public RecipientInfo withType(@Nullable RecipientType type) { + this.type = type; + return this; + } + + /** + * If the recipient is ACCOUNT_USER or ACCOUNT_USER_GROUP, this field holds their unique ID. If the + * recipient is EMAIL, this field holds the email provided by the user. + */ + public RecipientInfo withValue(@Nullable String 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; + } + RecipientInfo other = (RecipientInfo) o; + return Utils.enhancedDeepEquals(this.order, other.order) + && Utils.enhancedDeepEquals(this.type, other.type) + && Utils.enhancedDeepEquals(this.value, other.value); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(order, type, value); + } + + @Override + public String toString() { + return Utils.toString(RecipientInfo.class, "order", order, "type", type, "value", value); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private Long order; + + private RecipientType type; + + private String value; + + private Builder() { + // force use of static builder() method + } + + /** + * The position at which this recipient will be displayed. + */ + public Builder order(@Nullable Long order) { + this.order = order; + return this; + } + + /** + * Type of Recipient + */ + public Builder type(@Nullable RecipientType type) { + this.type = type; + return this; + } + + /** + * If the recipient is ACCOUNT_USER or ACCOUNT_USER_GROUP, this field holds their unique ID. If the + * recipient is EMAIL, this field holds the email provided by the user. + */ + public Builder value(@Nullable String value) { + this.value = value; + return this; + } + + public RecipientInfo build() { + return new RecipientInfo(order, type, value); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/RecipientInfoJson0.java b/packages/java/src/main/java/com/cvent/models/components/RecipientInfoJson0.java deleted file mode 100644 index b55e61785..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/RecipientInfoJson0.java +++ /dev/null @@ -1,176 +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.Long; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * RecipientInfoJson0 - * - *

Represents the details of the RFP recipient. - */ -public class RecipientInfoJson0 { - /** - * The position at which this recipient will be displayed. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("order") - private Long order; - - /** - * Type of Recipient - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private RecipientTypeJson0 type; - - /** - * If the recipient is ACCOUNT_USER or ACCOUNT_USER_GROUP, this field holds their unique ID. If the - * recipient is EMAIL, this field holds the email provided by the user. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("value") - private String value; - - @JsonCreator - public RecipientInfoJson0( - @JsonProperty("order") @Nullable Long order, - @JsonProperty("type") @Nullable RecipientTypeJson0 type, - @JsonProperty("value") @Nullable String value) { - this.order = order; - this.type = type; - this.value = value; - } - - public RecipientInfoJson0() { - this(null, null, null); - } - - /** - * The position at which this recipient will be displayed. - */ - public Optional order() { - return Optional.ofNullable(this.order); - } - - /** - * Type of Recipient - */ - public Optional type() { - return Optional.ofNullable(this.type); - } - - /** - * If the recipient is ACCOUNT_USER or ACCOUNT_USER_GROUP, this field holds their unique ID. If the - * recipient is EMAIL, this field holds the email provided by the user. - */ - public Optional value() { - return Optional.ofNullable(this.value); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The position at which this recipient will be displayed. - */ - public RecipientInfoJson0 withOrder(@Nullable Long order) { - this.order = order; - return this; - } - - /** - * Type of Recipient - */ - public RecipientInfoJson0 withType(@Nullable RecipientTypeJson0 type) { - this.type = type; - return this; - } - - /** - * If the recipient is ACCOUNT_USER or ACCOUNT_USER_GROUP, this field holds their unique ID. If the - * recipient is EMAIL, this field holds the email provided by the user. - */ - public RecipientInfoJson0 withValue(@Nullable String 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; - } - RecipientInfoJson0 other = (RecipientInfoJson0) o; - return Utils.enhancedDeepEquals(this.order, other.order) - && Utils.enhancedDeepEquals(this.type, other.type) - && Utils.enhancedDeepEquals(this.value, other.value); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(order, type, value); - } - - @Override - public String toString() { - return Utils.toString(RecipientInfoJson0.class, "order", order, "type", type, "value", value); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private Long order; - - private RecipientTypeJson0 type; - - private String value; - - private Builder() { - // force use of static builder() method - } - - /** - * The position at which this recipient will be displayed. - */ - public Builder order(@Nullable Long order) { - this.order = order; - return this; - } - - /** - * Type of Recipient - */ - public Builder type(@Nullable RecipientTypeJson0 type) { - this.type = type; - return this; - } - - /** - * If the recipient is ACCOUNT_USER or ACCOUNT_USER_GROUP, this field holds their unique ID. If the - * recipient is EMAIL, this field holds the email provided by the user. - */ - public Builder value(@Nullable String value) { - this.value = value; - return this; - } - - public RecipientInfoJson0 build() { - return new RecipientInfoJson0(order, type, value); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/RecipientType.java b/packages/java/src/main/java/com/cvent/models/components/RecipientType.java new file mode 100644 index 000000000..a1ef547e5 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/RecipientType.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; + +/** + * RecipientType + * + *

Type of Recipient + */ +public enum RecipientType { + EMAIL("EMAIL"), + ACCOUNT_USER("ACCOUNT_USER"), + ACCOUNT_USER_GROUP("ACCOUNT_USER_GROUP"); + + @JsonValue + private final String value; + + RecipientType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (RecipientType o : RecipientType.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/RecipientTypeJson0.java b/packages/java/src/main/java/com/cvent/models/components/RecipientTypeJson0.java deleted file mode 100644 index 4715fae6d..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/RecipientTypeJson0.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * 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; - -/** - * RecipientTypeJson0 - * - *

Type of Recipient - */ -public enum RecipientTypeJson0 { - EMAIL("EMAIL"), - ACCOUNT_USER("ACCOUNT_USER"), - ACCOUNT_USER_GROUP("ACCOUNT_USER_GROUP"); - - @JsonValue - private final String value; - - RecipientTypeJson0(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (RecipientTypeJson0 o : RecipientTypeJson0.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/RegistrationPackRequest.java b/packages/java/src/main/java/com/cvent/models/components/RegistrationPackRequest.java index 4d67cdd8b..af33a4246 100644 --- a/packages/java/src/main/java/com/cvent/models/components/RegistrationPackRequest.java +++ b/packages/java/src/main/java/com/cvent/models/components/RegistrationPackRequest.java @@ -23,7 +23,7 @@ public class RegistrationPackRequest { * The Associated Event. */ @JsonProperty("event") - private Event21 event; + private Event3 event; /** * The Associated Exhibitor. @@ -39,7 +39,7 @@ public class RegistrationPackRequest { @JsonCreator public RegistrationPackRequest( - @JsonProperty("event") @Nonnull Event21 event, + @JsonProperty("event") @Nonnull Event3 event, @JsonProperty("exhibitor") @Nonnull Exhibitor exhibitor, @JsonProperty("capacities") @Nonnull List capacities) { this.event = Optional.ofNullable(event).orElseThrow(() -> new IllegalArgumentException("event cannot be null")); @@ -52,7 +52,7 @@ public RegistrationPackRequest( /** * The Associated Event. */ - public Event21 event() { + public Event3 event() { return this.event; } @@ -77,7 +77,7 @@ public static Builder builder() { /** * The Associated Event. */ - public RegistrationPackRequest withEvent(@Nonnull Event21 event) { + public RegistrationPackRequest withEvent(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -126,7 +126,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private Event21 event; + private Event3 event; private Exhibitor exhibitor; @@ -139,7 +139,7 @@ private Builder() { /** * The Associated Event. */ - public Builder event(@Nonnull Event21 event) { + public Builder event(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/RegistrationPackResponse.java b/packages/java/src/main/java/com/cvent/models/components/RegistrationPackResponse.java index 4036743a9..add8aa358 100644 --- a/packages/java/src/main/java/com/cvent/models/components/RegistrationPackResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/RegistrationPackResponse.java @@ -28,7 +28,7 @@ public class RegistrationPackResponse { * The Associated Event. */ @JsonProperty("event") - private Event21 event; + private Event3 event; /** * The Associated Exhibitor. @@ -45,7 +45,7 @@ public class RegistrationPackResponse { @JsonCreator public RegistrationPackResponse( @JsonProperty("id") @Nonnull String id, - @JsonProperty("event") @Nonnull Event21 event, + @JsonProperty("event") @Nonnull Event3 event, @JsonProperty("exhibitor") @Nonnull Exhibitor exhibitor, @JsonProperty("capacities") @Nonnull List capacities) { this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); @@ -66,7 +66,7 @@ public String id() { /** * The Associated Event. */ - public Event21 event() { + public Event3 event() { return this.event; } @@ -99,7 +99,7 @@ public RegistrationPackResponse withId(@Nonnull String id) { /** * The Associated Event. */ - public RegistrationPackResponse withEvent(@Nonnull Event21 event) { + public RegistrationPackResponse withEvent(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -159,7 +159,7 @@ public static final class Builder { private String id; - private Event21 event; + private Event3 event; private Exhibitor exhibitor; @@ -180,7 +180,7 @@ public Builder id(@Nonnull String id) { /** * The Associated Event. */ - public Builder event(@Nonnull Event21 event) { + public Builder event(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ReservationGuestJsonInput.java b/packages/java/src/main/java/com/cvent/models/components/ReservationGuestJsonInput.java index 5d00c9e00..b3b187d69 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ReservationGuestJsonInput.java +++ b/packages/java/src/main/java/com/cvent/models/components/ReservationGuestJsonInput.java @@ -109,7 +109,7 @@ public class ReservationGuestJsonInput { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("homeAddress") - private AddressJson2 homeAddress; + private AddressJson homeAddress; /** * Payment information. @@ -153,7 +153,7 @@ public ReservationGuestJsonInput( @JsonProperty("email") @Nonnull String email, @JsonProperty("homePhone") @Nullable String homePhone, @JsonProperty("workPhone") @Nullable String workPhone, - @JsonProperty("homeAddress") @Nullable AddressJson2 homeAddress, + @JsonProperty("homeAddress") @Nullable AddressJson homeAddress, @JsonProperty("paymentInfo") @Nullable ReservationPaymentInfoJsonInput paymentInfo, @JsonProperty("ageQualifyingCode") @Nullable AgeQualifyingCode ageQualifyingCode, @JsonProperty("primary") @Nullable Boolean primary, @@ -296,7 +296,7 @@ public Optional workPhone() { * Address details. Required to create/update a guest's reservation if the hotel/event requires an * address in reservations. */ - public Optional homeAddress() { + public Optional homeAddress() { return Optional.ofNullable(this.homeAddress); } @@ -432,7 +432,7 @@ public ReservationGuestJsonInput withWorkPhone(@Nullable String workPhone) { * Address details. Required to create/update a guest's reservation if the hotel/event requires an * address in reservations. */ - public ReservationGuestJsonInput withHomeAddress(@Nullable AddressJson2 homeAddress) { + public ReservationGuestJsonInput withHomeAddress(@Nullable AddressJson homeAddress) { this.homeAddress = homeAddress; return this; } @@ -586,7 +586,7 @@ public static final class Builder { private String workPhone; - private AddressJson2 homeAddress; + private AddressJson homeAddress; private ReservationPaymentInfoJsonInput paymentInfo; @@ -700,7 +700,7 @@ public Builder workPhone(@Nullable String workPhone) { * Address details. Required to create/update a guest's reservation if the hotel/event requires an * address in reservations. */ - public Builder homeAddress(@Nullable AddressJson2 homeAddress) { + public Builder homeAddress(@Nullable AddressJson homeAddress) { this.homeAddress = homeAddress; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ReservationGuestJsonOutput.java b/packages/java/src/main/java/com/cvent/models/components/ReservationGuestJsonOutput.java index d004e9de0..45e5e022e 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ReservationGuestJsonOutput.java +++ b/packages/java/src/main/java/com/cvent/models/components/ReservationGuestJsonOutput.java @@ -109,7 +109,7 @@ public class ReservationGuestJsonOutput { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("homeAddress") - private AddressJson2 homeAddress; + private AddressJson homeAddress; /** * Payment information. @@ -153,7 +153,7 @@ public ReservationGuestJsonOutput( @JsonProperty("email") @Nonnull String email, @JsonProperty("homePhone") @Nullable String homePhone, @JsonProperty("workPhone") @Nullable String workPhone, - @JsonProperty("homeAddress") @Nullable AddressJson2 homeAddress, + @JsonProperty("homeAddress") @Nullable AddressJson homeAddress, @JsonProperty("paymentInfo") @Nullable ReservationPaymentInfoJsonOutput paymentInfo, @JsonProperty("ageQualifyingCode") @Nullable AgeQualifyingCode ageQualifyingCode, @JsonProperty("primary") @Nullable Boolean primary, @@ -296,7 +296,7 @@ public Optional workPhone() { * Address details. Required to create/update a guest's reservation if the hotel/event requires an * address in reservations. */ - public Optional homeAddress() { + public Optional homeAddress() { return Optional.ofNullable(this.homeAddress); } @@ -432,7 +432,7 @@ public ReservationGuestJsonOutput withWorkPhone(@Nullable String workPhone) { * Address details. Required to create/update a guest's reservation if the hotel/event requires an * address in reservations. */ - public ReservationGuestJsonOutput withHomeAddress(@Nullable AddressJson2 homeAddress) { + public ReservationGuestJsonOutput withHomeAddress(@Nullable AddressJson homeAddress) { this.homeAddress = homeAddress; return this; } @@ -586,7 +586,7 @@ public static final class Builder { private String workPhone; - private AddressJson2 homeAddress; + private AddressJson homeAddress; private ReservationPaymentInfoJsonOutput paymentInfo; @@ -700,7 +700,7 @@ public Builder workPhone(@Nullable String workPhone) { * Address details. Required to create/update a guest's reservation if the hotel/event requires an * address in reservations. */ - public Builder homeAddress(@Nullable AddressJson2 homeAddress) { + public Builder homeAddress(@Nullable AddressJson homeAddress) { this.homeAddress = homeAddress; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ReservationPaymentInfoJsonInput.java b/packages/java/src/main/java/com/cvent/models/components/ReservationPaymentInfoJsonInput.java index e11a5d87e..5bb4973fe 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ReservationPaymentInfoJsonInput.java +++ b/packages/java/src/main/java/com/cvent/models/components/ReservationPaymentInfoJsonInput.java @@ -39,7 +39,7 @@ public class ReservationPaymentInfoJsonInput { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("address") - private AddressJson2 address; + private AddressJson address; /** * Phone number. @@ -66,7 +66,7 @@ public class ReservationPaymentInfoJsonInput { public ReservationPaymentInfoJsonInput( @JsonProperty("paymentType") @Nullable PaymentTypesJson paymentType, @JsonProperty("fullName") @Nullable String fullName, - @JsonProperty("address") @Nullable AddressJson2 address, + @JsonProperty("address") @Nullable AddressJson address, @JsonProperty("phone") @Nullable String phone, @JsonProperty("other") @Nullable OtherPaymentJson other, @JsonProperty("creditCard") @Nullable TokenizedCreditCardJsonInput creditCard) { @@ -100,7 +100,7 @@ public Optional fullName() { * Address details. Required to create/update a guest's reservation if the hotel/event requires an * address in reservations. */ - public Optional address() { + public Optional address() { return Optional.ofNullable(this.address); } @@ -149,7 +149,7 @@ public ReservationPaymentInfoJsonInput withFullName(@Nullable String fullName) { * Address details. Required to create/update a guest's reservation if the hotel/event requires an * address in reservations. */ - public ReservationPaymentInfoJsonInput withAddress(@Nullable AddressJson2 address) { + public ReservationPaymentInfoJsonInput withAddress(@Nullable AddressJson address) { this.address = address; return this; } @@ -225,7 +225,7 @@ public static final class Builder { private String fullName; - private AddressJson2 address; + private AddressJson address; private String phone; @@ -257,7 +257,7 @@ public Builder fullName(@Nullable String fullName) { * Address details. Required to create/update a guest's reservation if the hotel/event requires an * address in reservations. */ - public Builder address(@Nullable AddressJson2 address) { + public Builder address(@Nullable AddressJson address) { this.address = address; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ReservationPaymentInfoJsonOutput.java b/packages/java/src/main/java/com/cvent/models/components/ReservationPaymentInfoJsonOutput.java index 87562fafe..77f692770 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ReservationPaymentInfoJsonOutput.java +++ b/packages/java/src/main/java/com/cvent/models/components/ReservationPaymentInfoJsonOutput.java @@ -39,7 +39,7 @@ public class ReservationPaymentInfoJsonOutput { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("address") - private AddressJson2 address; + private AddressJson address; /** * Phone number. @@ -66,7 +66,7 @@ public class ReservationPaymentInfoJsonOutput { public ReservationPaymentInfoJsonOutput( @JsonProperty("paymentType") @Nullable PaymentTypesJson paymentType, @JsonProperty("fullName") @Nullable String fullName, - @JsonProperty("address") @Nullable AddressJson2 address, + @JsonProperty("address") @Nullable AddressJson address, @JsonProperty("phone") @Nullable String phone, @JsonProperty("other") @Nullable OtherPaymentJson other, @JsonProperty("creditCard") @Nullable TokenizedCreditCardJsonOutput creditCard) { @@ -100,7 +100,7 @@ public Optional fullName() { * Address details. Required to create/update a guest's reservation if the hotel/event requires an * address in reservations. */ - public Optional address() { + public Optional address() { return Optional.ofNullable(this.address); } @@ -149,7 +149,7 @@ public ReservationPaymentInfoJsonOutput withFullName(@Nullable String fullName) * Address details. Required to create/update a guest's reservation if the hotel/event requires an * address in reservations. */ - public ReservationPaymentInfoJsonOutput withAddress(@Nullable AddressJson2 address) { + public ReservationPaymentInfoJsonOutput withAddress(@Nullable AddressJson address) { this.address = address; return this; } @@ -225,7 +225,7 @@ public static final class Builder { private String fullName; - private AddressJson2 address; + private AddressJson address; private String phone; @@ -257,7 +257,7 @@ public Builder fullName(@Nullable String fullName) { * Address details. Required to create/update a guest's reservation if the hotel/event requires an * address in reservations. */ - public Builder address(@Nullable AddressJson2 address) { + public Builder address(@Nullable AddressJson address) { this.address = address; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/RespondentJson.java b/packages/java/src/main/java/com/cvent/models/components/RespondentJson.java index d1cec7c72..b5a8c6e3d 100644 --- a/packages/java/src/main/java/com/cvent/models/components/RespondentJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/RespondentJson.java @@ -146,7 +146,7 @@ public class RespondentJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("event") - private EventJson4 event; + private EventJson3 event; /** * The reference to the related entity. Contains only the ID of the related entity. @@ -230,7 +230,7 @@ public RespondentJson( @JsonProperty("percentageScore") @Nullable Double percentageScore, @JsonProperty("_links") @Nullable RespondentJsonLinks links, @JsonProperty("sourceId") @Nullable String sourceId, - @JsonProperty("event") @Nullable EventJson4 event, + @JsonProperty("event") @Nullable EventJson3 event, @JsonProperty("contact") @Nullable UuidJson contact, @JsonProperty("attendee") @Nullable UuidJson attendee, @JsonProperty("survey") @Nullable UuidJson survey, @@ -417,7 +417,7 @@ public Optional sourceId() { /** * Detail object of an event which is associated to a survey. */ - public Optional event() { + public Optional event() { return Optional.ofNullable(this.event); } @@ -626,7 +626,7 @@ public RespondentJson withSourceId(@Nullable String sourceId) { /** * Detail object of an event which is associated to a survey. */ - public RespondentJson withEvent(@Nullable EventJson4 event) { + public RespondentJson withEvent(@Nullable EventJson3 event) { this.event = event; return this; } @@ -860,7 +860,7 @@ public static final class Builder { private String sourceId; - private EventJson4 event; + private EventJson3 event; private UuidJson contact; @@ -1020,7 +1020,7 @@ public Builder sourceId(@Nullable String sourceId) { /** * Detail object of an event which is associated to a survey. */ - public Builder event(@Nullable EventJson4 event) { + public Builder event(@Nullable EventJson3 event) { this.event = event; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/Rfp.java b/packages/java/src/main/java/com/cvent/models/components/Rfp.java index 46e5f6b98..f8eeb0049 100644 --- a/packages/java/src/main/java/com/cvent/models/components/Rfp.java +++ b/packages/java/src/main/java/com/cvent/models/components/Rfp.java @@ -79,14 +79,14 @@ public class Rfp { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("dateRequirements") - private DateRequirementsJson0 dateRequirements; + private DateRequirements1 dateRequirements; /** * RFP event details. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("rfpEvent") - private RfpEventJson rfpEvent; + private RfpEvent rfpEvent; /** * The ISO 8601 date representing the start date of agenda. @@ -100,14 +100,14 @@ public class Rfp { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("contact") - private ContactJson0 contact; + private Contact1 contact; /** * Details of organization which is hosting the event. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("rfpEventOrganization") - private RfpEventOrganizationJson rfpEventOrganization; + private EventOrganization1 rfpEventOrganization; /** * Decision factors based on which RFP will be awarded. These can be price, location, or quality of @@ -143,7 +143,7 @@ public class Rfp { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("billingDetails") - private BillingDetailsJson0 billingDetails; + private BillingDetails1 billingDetails; /** * Internal note for planners. This note is not shared with suppliers. @@ -160,25 +160,29 @@ public class Rfp { private String currencyCode; /** - * Measurement unit. + * Unit of measurement for area or space. + * + *

Values: + * - `SQUARE_FEET` — Square Feet + * - `SQUARE_METERS` — Square Meters */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("measurementUnit") - private MeasurementUnitJson0 measurementUnit; + private MeasurementUnit measurementUnit; /** * This contains cost items which are marked as required for suppliers in the RFP. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("requiredCostItems") - private List requiredCostItems; + private List requiredCostItems; /** * This contains cost items which are marked as not needed for suppliers in the RFP. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("hiddenCostItems") - private List hiddenCostItems; + private List hiddenCostItems; /** * True indicates suppliers added on the RFP should be allowed to forward the RFP. @@ -207,7 +211,7 @@ public class Rfp { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("notificationRecipients") - private List notificationRecipients; + private List notificationRecipients; /** * True indicates award details can be shared with other suppliers added in RFP. @@ -221,7 +225,7 @@ public class Rfp { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("leadSource") - private LeadSourceJson leadSource; + private LeadSource leadSource; /** * Unique identifier for RFPs originating from outside Cvent network provided by source system where @@ -259,7 +263,7 @@ public class Rfp { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("weddingDetails") - private WeddingDetailsJson0 weddingDetails; + private WeddingDetails1 weddingDetails; /** * True indicates catering is required. @@ -276,7 +280,7 @@ public class Rfp { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("packagePricingPreference") - private PackagePricingPreferenceJson packagePricingPreference; + private PackagePricingPreference packagePricingPreference; /** * True indicates RFP was created with fee transparency enabled. @@ -303,14 +307,14 @@ public class Rfp { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("status") - private RfpStatusJson0 status; + private RfpStatus1 status; /** * RFP types based on event requirements. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("type") - private RfpTypeJson0 type; + private RfpType1 type; /** * Details of the user who approved the RFP. @@ -339,7 +343,7 @@ public class Rfp { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("cancellationDetails") - private CancellationDetailsJson cancellationDetails; + private CancellationDetails cancellationDetails; /** * The ISO 8601 date time (in UTC) when RFP was last sent. @@ -408,44 +412,44 @@ public Rfp( @JsonProperty("needsMeetingSpace") boolean needsMeetingSpace, @JsonProperty("needsGuestRooms") boolean needsGuestRooms, @JsonProperty("description") @Nullable String description, - @JsonProperty("dateRequirements") @Nullable DateRequirementsJson0 dateRequirements, - @JsonProperty("rfpEvent") @Nullable RfpEventJson rfpEvent, + @JsonProperty("dateRequirements") @Nullable DateRequirements1 dateRequirements, + @JsonProperty("rfpEvent") @Nullable RfpEvent rfpEvent, @JsonProperty("agendaStartDate") @Nullable LocalDate agendaStartDate, - @JsonProperty("contact") @Nullable ContactJson0 contact, - @JsonProperty("rfpEventOrganization") @Nullable RfpEventOrganizationJson rfpEventOrganization, + @JsonProperty("contact") @Nullable Contact1 contact, + @JsonProperty("rfpEventOrganization") @Nullable EventOrganization1 rfpEventOrganization, @JsonProperty("decisionFactors") @Nullable String decisionFactors, @JsonProperty("citywideEvent") @Nullable Boolean citywideEvent, @JsonProperty("responseDueDate") @Nullable LocalDate responseDueDate, @JsonProperty("decisionDate") @Nullable LocalDate decisionDate, - @JsonProperty("billingDetails") @Nullable BillingDetailsJson0 billingDetails, + @JsonProperty("billingDetails") @Nullable BillingDetails1 billingDetails, @JsonProperty("internalNote") @Nullable String internalNote, @JsonProperty("currencyCode") @Nullable String currencyCode, - @JsonProperty("measurementUnit") @Nullable MeasurementUnitJson0 measurementUnit, - @JsonProperty("requiredCostItems") @Nullable List requiredCostItems, - @JsonProperty("hiddenCostItems") @Nullable List hiddenCostItems, + @JsonProperty("measurementUnit") @Nullable MeasurementUnit measurementUnit, + @JsonProperty("requiredCostItems") @Nullable List requiredCostItems, + @JsonProperty("hiddenCostItems") @Nullable List hiddenCostItems, @JsonProperty("forwardable") @Nullable Boolean forwardable, @JsonProperty("cvbForwardLimit") @Nullable Long cvbForwardLimit, @JsonProperty("allowEmailNotifications") @Nullable Boolean allowEmailNotifications, - @JsonProperty("notificationRecipients") @Nullable List notificationRecipients, + @JsonProperty("notificationRecipients") @Nullable List notificationRecipients, @JsonProperty("shareAwardDetails") @Nullable Boolean shareAwardDetails, - @JsonProperty("leadSource") @Nullable LeadSourceJson leadSource, + @JsonProperty("leadSource") @Nullable LeadSource leadSource, @JsonProperty("sourceId") @Nullable String sourceId, @JsonProperty("showcaseEnabled") @Nullable Boolean showcaseEnabled, @JsonProperty("autoAddToShowcaseEnabled") @Nullable Boolean autoAddToShowcaseEnabled, @JsonProperty("destinationExpertsRequiredOnProposal") @Nullable Boolean destinationExpertsRequiredOnProposal, - @JsonProperty("weddingDetails") @Nullable WeddingDetailsJson0 weddingDetails, + @JsonProperty("weddingDetails") @Nullable WeddingDetails1 weddingDetails, @JsonProperty("needsCatering") @Nullable Boolean needsCatering, - @JsonProperty("packagePricingPreference") @Nullable PackagePricingPreferenceJson packagePricingPreference, + @JsonProperty("packagePricingPreference") @Nullable PackagePricingPreference packagePricingPreference, @JsonProperty("feeTransparencyEnabled") @Nullable Boolean feeTransparencyEnabled, @JsonProperty("id") @Nonnull String id, @JsonProperty("code") @Nullable String code, - @JsonProperty("status") @Nullable RfpStatusJson0 status, - @JsonProperty("type") @Nullable RfpTypeJson0 type, + @JsonProperty("status") @Nullable RfpStatus1 status, + @JsonProperty("type") @Nullable RfpType1 type, @JsonProperty("approvedBy") @Nullable String approvedBy, @JsonProperty("approvedDateTime") @Nullable OffsetDateTime approvedDateTime, @JsonProperty("approved") @Nullable Boolean approved, - @JsonProperty("cancellationDetails") @Nullable CancellationDetailsJson cancellationDetails, + @JsonProperty("cancellationDetails") @Nullable CancellationDetails cancellationDetails, @JsonProperty("lastSentDateTime") @Nullable OffsetDateTime lastSentDateTime, @JsonProperty("originalSentDateTime") @Nullable OffsetDateTime originalSentDateTime, @JsonProperty("sentVenueCount") @Nullable Long sentVenueCount, @@ -620,14 +624,14 @@ public Optional description() { /** * Date requirements for the event. */ - public Optional dateRequirements() { + public Optional dateRequirements() { return Optional.ofNullable(this.dateRequirements); } /** * RFP event details. */ - public Optional rfpEvent() { + public Optional rfpEvent() { return Optional.ofNullable(this.rfpEvent); } @@ -641,14 +645,14 @@ public Optional agendaStartDate() { /** * Contact details of planner. */ - public Optional contact() { + public Optional contact() { return Optional.ofNullable(this.contact); } /** * Details of organization which is hosting the event. */ - public Optional rfpEventOrganization() { + public Optional rfpEventOrganization() { return Optional.ofNullable(this.rfpEventOrganization); } @@ -684,7 +688,7 @@ public Optional decisionDate() { /** * Billing details for RFP. */ - public Optional billingDetails() { + public Optional billingDetails() { return Optional.ofNullable(this.billingDetails); } @@ -703,23 +707,27 @@ public Optional currencyCode() { } /** - * Measurement unit. + * Unit of measurement for area or space. + * + *

Values: + * - `SQUARE_FEET` — Square Feet + * - `SQUARE_METERS` — Square Meters */ - public Optional measurementUnit() { + public Optional measurementUnit() { return Optional.ofNullable(this.measurementUnit); } /** * This contains cost items which are marked as required for suppliers in the RFP. */ - public Optional> requiredCostItems() { + public Optional> requiredCostItems() { return Optional.ofNullable(this.requiredCostItems); } /** * This contains cost items which are marked as not needed for suppliers in the RFP. */ - public Optional> hiddenCostItems() { + public Optional> hiddenCostItems() { return Optional.ofNullable(this.hiddenCostItems); } @@ -748,7 +756,7 @@ public Optional allowEmailNotifications() { * This contains recipients who would get notified every time a new response is received back from the * suppliers */ - public Optional> notificationRecipients() { + public Optional> notificationRecipients() { return Optional.ofNullable(this.notificationRecipients); } @@ -762,7 +770,7 @@ public Optional shareAwardDetails() { /** * Lead source details. */ - public Optional leadSource() { + public Optional leadSource() { return Optional.ofNullable(this.leadSource); } @@ -800,7 +808,7 @@ public Optional destinationExpertsRequiredOnProposal() { /** * Wedding details. */ - public Optional weddingDetails() { + public Optional weddingDetails() { return Optional.ofNullable(this.weddingDetails); } @@ -817,7 +825,7 @@ public Optional needsCatering() { * mandatory to provide pricing preference, and REQUIRED means package information is mandatory to be * provided by supplier. */ - public Optional packagePricingPreference() { + public Optional packagePricingPreference() { return Optional.ofNullable(this.packagePricingPreference); } @@ -845,14 +853,14 @@ public Optional code() { /** * Represents state of the RFP. */ - public Optional status() { + 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); } @@ -881,7 +889,7 @@ public Optional approved() { /** * Information about cancellation of RFP. */ - public Optional cancellationDetails() { + public Optional cancellationDetails() { return Optional.ofNullable(this.cancellationDetails); } @@ -1006,7 +1014,7 @@ public Rfp withDescription(@Nullable String description) { /** * Date requirements for the event. */ - public Rfp withDateRequirements(@Nullable DateRequirementsJson0 dateRequirements) { + public Rfp withDateRequirements(@Nullable DateRequirements1 dateRequirements) { this.dateRequirements = dateRequirements; return this; } @@ -1014,7 +1022,7 @@ public Rfp withDateRequirements(@Nullable DateRequirementsJson0 dateRequirements /** * RFP event details. */ - public Rfp withRfpEvent(@Nullable RfpEventJson rfpEvent) { + public Rfp withRfpEvent(@Nullable RfpEvent rfpEvent) { this.rfpEvent = rfpEvent; return this; } @@ -1030,7 +1038,7 @@ public Rfp withAgendaStartDate(@Nullable LocalDate agendaStartDate) { /** * Contact details of planner. */ - public Rfp withContact(@Nullable ContactJson0 contact) { + public Rfp withContact(@Nullable Contact1 contact) { this.contact = contact; return this; } @@ -1038,7 +1046,7 @@ public Rfp withContact(@Nullable ContactJson0 contact) { /** * Details of organization which is hosting the event. */ - public Rfp withRfpEventOrganization(@Nullable RfpEventOrganizationJson rfpEventOrganization) { + public Rfp withRfpEventOrganization(@Nullable EventOrganization1 rfpEventOrganization) { this.rfpEventOrganization = rfpEventOrganization; return this; } @@ -1079,7 +1087,7 @@ public Rfp withDecisionDate(@Nullable LocalDate decisionDate) { /** * Billing details for RFP. */ - public Rfp withBillingDetails(@Nullable BillingDetailsJson0 billingDetails) { + public Rfp withBillingDetails(@Nullable BillingDetails1 billingDetails) { this.billingDetails = billingDetails; return this; } @@ -1101,9 +1109,13 @@ public Rfp withCurrencyCode(@Nullable String currencyCode) { } /** - * Measurement unit. + * Unit of measurement for area or space. + * + *

Values: + * - `SQUARE_FEET` — Square Feet + * - `SQUARE_METERS` — Square Meters */ - public Rfp withMeasurementUnit(@Nullable MeasurementUnitJson0 measurementUnit) { + public Rfp withMeasurementUnit(@Nullable MeasurementUnit measurementUnit) { this.measurementUnit = measurementUnit; return this; } @@ -1111,7 +1123,7 @@ public Rfp withMeasurementUnit(@Nullable MeasurementUnitJson0 measurementUnit) { /** * This contains cost items which are marked as required for suppliers in the RFP. */ - public Rfp withRequiredCostItems(@Nullable List requiredCostItems) { + public Rfp withRequiredCostItems(@Nullable List requiredCostItems) { this.requiredCostItems = requiredCostItems; return this; } @@ -1119,7 +1131,7 @@ public Rfp withRequiredCostItems(@Nullable List requiredC /** * This contains cost items which are marked as not needed for suppliers in the RFP. */ - public Rfp withHiddenCostItems(@Nullable List hiddenCostItems) { + public Rfp withHiddenCostItems(@Nullable List hiddenCostItems) { this.hiddenCostItems = hiddenCostItems; return this; } @@ -1152,7 +1164,7 @@ public Rfp withAllowEmailNotifications(@Nullable Boolean allowEmailNotifications * This contains recipients who would get notified every time a new response is received back from the * suppliers */ - public Rfp withNotificationRecipients(@Nullable List notificationRecipients) { + public Rfp withNotificationRecipients(@Nullable List notificationRecipients) { this.notificationRecipients = notificationRecipients; return this; } @@ -1168,7 +1180,7 @@ public Rfp withShareAwardDetails(@Nullable Boolean shareAwardDetails) { /** * Lead source details. */ - public Rfp withLeadSource(@Nullable LeadSourceJson leadSource) { + public Rfp withLeadSource(@Nullable LeadSource leadSource) { this.leadSource = leadSource; return this; } @@ -1211,7 +1223,7 @@ public Rfp withDestinationExpertsRequiredOnProposal(@Nullable Boolean destinatio /** * Wedding details. */ - public Rfp withWeddingDetails(@Nullable WeddingDetailsJson0 weddingDetails) { + public Rfp withWeddingDetails(@Nullable WeddingDetails1 weddingDetails) { this.weddingDetails = weddingDetails; return this; } @@ -1230,7 +1242,7 @@ public Rfp withNeedsCatering(@Nullable Boolean needsCatering) { * mandatory to provide pricing preference, and REQUIRED means package information is mandatory to be * provided by supplier. */ - public Rfp withPackagePricingPreference(@Nullable PackagePricingPreferenceJson packagePricingPreference) { + public Rfp withPackagePricingPreference(@Nullable PackagePricingPreference packagePricingPreference) { this.packagePricingPreference = packagePricingPreference; return this; } @@ -1262,7 +1274,7 @@ public Rfp withCode(@Nullable String code) { /** * Represents state of the RFP. */ - public Rfp withStatus(@Nullable RfpStatusJson0 status) { + public Rfp withStatus(@Nullable RfpStatus1 status) { this.status = status; return this; } @@ -1270,7 +1282,7 @@ public Rfp withStatus(@Nullable RfpStatusJson0 status) { /** * RFP types based on event requirements. */ - public Rfp withType(@Nullable RfpTypeJson0 type) { + public Rfp withType(@Nullable RfpType1 type) { this.type = type; return this; } @@ -1303,7 +1315,7 @@ public Rfp withApproved(@Nullable Boolean approved) { /** * Information about cancellation of RFP. */ - public Rfp withCancellationDetails(@Nullable CancellationDetailsJson cancellationDetails) { + public Rfp withCancellationDetails(@Nullable CancellationDetails cancellationDetails) { this.cancellationDetails = cancellationDetails; return this; } @@ -1621,15 +1633,15 @@ public static final class Builder { private String description; - private DateRequirementsJson0 dateRequirements; + private DateRequirements1 dateRequirements; - private RfpEventJson rfpEvent; + private RfpEvent rfpEvent; private LocalDate agendaStartDate; - private ContactJson0 contact; + private Contact1 contact; - private RfpEventOrganizationJson rfpEventOrganization; + private EventOrganization1 rfpEventOrganization; private String decisionFactors; @@ -1639,17 +1651,17 @@ public static final class Builder { private LocalDate decisionDate; - private BillingDetailsJson0 billingDetails; + private BillingDetails1 billingDetails; private String internalNote; private String currencyCode; - private MeasurementUnitJson0 measurementUnit; + private MeasurementUnit measurementUnit; - private List requiredCostItems; + private List requiredCostItems; - private List hiddenCostItems; + private List hiddenCostItems; private Boolean forwardable; @@ -1657,11 +1669,11 @@ public static final class Builder { private Boolean allowEmailNotifications; - private List notificationRecipients; + private List notificationRecipients; private Boolean shareAwardDetails; - private LeadSourceJson leadSource; + private LeadSource leadSource; private String sourceId; @@ -1671,11 +1683,11 @@ public static final class Builder { private Boolean destinationExpertsRequiredOnProposal; - private WeddingDetailsJson0 weddingDetails; + private WeddingDetails1 weddingDetails; private Boolean needsCatering; - private PackagePricingPreferenceJson packagePricingPreference; + private PackagePricingPreference packagePricingPreference; private Boolean feeTransparencyEnabled; @@ -1683,9 +1695,9 @@ public static final class Builder { private String code; - private RfpStatusJson0 status; + private RfpStatus1 status; - private RfpTypeJson0 type; + private RfpType1 type; private String approvedBy; @@ -1693,7 +1705,7 @@ public static final class Builder { private Boolean approved; - private CancellationDetailsJson cancellationDetails; + private CancellationDetails cancellationDetails; private OffsetDateTime lastSentDateTime; @@ -1774,7 +1786,7 @@ public Builder description(@Nullable String description) { /** * Date requirements for the event. */ - public Builder dateRequirements(@Nullable DateRequirementsJson0 dateRequirements) { + public Builder dateRequirements(@Nullable DateRequirements1 dateRequirements) { this.dateRequirements = dateRequirements; return this; } @@ -1782,7 +1794,7 @@ public Builder dateRequirements(@Nullable DateRequirementsJson0 dateRequirements /** * RFP event details. */ - public Builder rfpEvent(@Nullable RfpEventJson rfpEvent) { + public Builder rfpEvent(@Nullable RfpEvent rfpEvent) { this.rfpEvent = rfpEvent; return this; } @@ -1798,7 +1810,7 @@ public Builder agendaStartDate(@Nullable LocalDate agendaStartDate) { /** * Contact details of planner. */ - public Builder contact(@Nullable ContactJson0 contact) { + public Builder contact(@Nullable Contact1 contact) { this.contact = contact; return this; } @@ -1806,7 +1818,7 @@ public Builder contact(@Nullable ContactJson0 contact) { /** * Details of organization which is hosting the event. */ - public Builder rfpEventOrganization(@Nullable RfpEventOrganizationJson rfpEventOrganization) { + public Builder rfpEventOrganization(@Nullable EventOrganization1 rfpEventOrganization) { this.rfpEventOrganization = rfpEventOrganization; return this; } @@ -1847,7 +1859,7 @@ public Builder decisionDate(@Nullable LocalDate decisionDate) { /** * Billing details for RFP. */ - public Builder billingDetails(@Nullable BillingDetailsJson0 billingDetails) { + public Builder billingDetails(@Nullable BillingDetails1 billingDetails) { this.billingDetails = billingDetails; return this; } @@ -1869,9 +1881,13 @@ public Builder currencyCode(@Nullable String currencyCode) { } /** - * Measurement unit. + * Unit of measurement for area or space. + * + *

Values: + * - `SQUARE_FEET` — Square Feet + * - `SQUARE_METERS` — Square Meters */ - public Builder measurementUnit(@Nullable MeasurementUnitJson0 measurementUnit) { + public Builder measurementUnit(@Nullable MeasurementUnit measurementUnit) { this.measurementUnit = measurementUnit; return this; } @@ -1879,7 +1895,7 @@ public Builder measurementUnit(@Nullable MeasurementUnitJson0 measurementUnit) { /** * This contains cost items which are marked as required for suppliers in the RFP. */ - public Builder requiredCostItems(@Nullable List requiredCostItems) { + public Builder requiredCostItems(@Nullable List requiredCostItems) { this.requiredCostItems = requiredCostItems; return this; } @@ -1887,7 +1903,7 @@ public Builder requiredCostItems(@Nullable List requiredC /** * This contains cost items which are marked as not needed for suppliers in the RFP. */ - public Builder hiddenCostItems(@Nullable List hiddenCostItems) { + public Builder hiddenCostItems(@Nullable List hiddenCostItems) { this.hiddenCostItems = hiddenCostItems; return this; } @@ -1920,7 +1936,7 @@ public Builder allowEmailNotifications(@Nullable Boolean allowEmailNotifications * This contains recipients who would get notified every time a new response is received back from the * suppliers */ - public Builder notificationRecipients(@Nullable List notificationRecipients) { + public Builder notificationRecipients(@Nullable List notificationRecipients) { this.notificationRecipients = notificationRecipients; return this; } @@ -1936,7 +1952,7 @@ public Builder shareAwardDetails(@Nullable Boolean shareAwardDetails) { /** * Lead source details. */ - public Builder leadSource(@Nullable LeadSourceJson leadSource) { + public Builder leadSource(@Nullable LeadSource leadSource) { this.leadSource = leadSource; return this; } @@ -1979,7 +1995,7 @@ public Builder destinationExpertsRequiredOnProposal(@Nullable Boolean destinatio /** * Wedding details. */ - public Builder weddingDetails(@Nullable WeddingDetailsJson0 weddingDetails) { + public Builder weddingDetails(@Nullable WeddingDetails1 weddingDetails) { this.weddingDetails = weddingDetails; return this; } @@ -1998,7 +2014,7 @@ public Builder needsCatering(@Nullable Boolean needsCatering) { * mandatory to provide pricing preference, and REQUIRED means package information is mandatory to be * provided by supplier. */ - public Builder packagePricingPreference(@Nullable PackagePricingPreferenceJson packagePricingPreference) { + public Builder packagePricingPreference(@Nullable PackagePricingPreference packagePricingPreference) { this.packagePricingPreference = packagePricingPreference; return this; } @@ -2030,7 +2046,7 @@ public Builder code(@Nullable String code) { /** * Represents state of the RFP. */ - public Builder status(@Nullable RfpStatusJson0 status) { + public Builder status(@Nullable RfpStatus1 status) { this.status = status; return this; } @@ -2038,7 +2054,7 @@ public Builder status(@Nullable RfpStatusJson0 status) { /** * RFP types based on event requirements. */ - public Builder type(@Nullable RfpTypeJson0 type) { + public Builder type(@Nullable RfpType1 type) { this.type = type; return this; } @@ -2071,7 +2087,7 @@ public Builder approved(@Nullable Boolean approved) { /** * Information about cancellation of RFP. */ - public Builder cancellationDetails(@Nullable CancellationDetailsJson cancellationDetails) { + public Builder cancellationDetails(@Nullable CancellationDetails cancellationDetails) { this.cancellationDetails = cancellationDetails; return this; } @@ -2201,9 +2217,9 @@ public Rfp build() { private static final LazySingletonValue _SINGLETON_VALUE_NeedsCatering = new LazySingletonValue<>("needsCatering", "false", new TypeReference() {}); - private static final LazySingletonValue _SINGLETON_VALUE_PackagePricingPreference = + private static final LazySingletonValue _SINGLETON_VALUE_PackagePricingPreference = new LazySingletonValue<>( - "packagePricingPreference", "\"NO_PREFERENCE\"", new TypeReference() {}); + "packagePricingPreference", "\"NO_PREFERENCE\"", new TypeReference() {}); private static final LazySingletonValue _SINGLETON_VALUE_FeeTransparencyEnabled = new LazySingletonValue<>("feeTransparencyEnabled", "false", new TypeReference() {}); diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpAgendaItem.java b/packages/java/src/main/java/com/cvent/models/components/RfpAgendaItem.java new file mode 100644 index 000000000..a52a0ed16 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/RfpAgendaItem.java @@ -0,0 +1,890 @@ +/* + * 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.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; + +/** + * RfpAgendaItem + * + *

Agenda item associated with an RFP. + */ +public class RfpAgendaItem { + /** + * 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; + + /** + * The name of the agenda item. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + /** + * Type of the agenda. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private AgendaItemType type; + + /** + * Setup type for the agenda. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("setup") + private AgendaItemSetup setup; + + /** + * The note sent along with agenda item. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("note") + private String note; + + /** + * The start time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at + * event location. For RFPs spanning multiple time zones, this time applies uniformly in each + * location's respective timezone (e.g., 13:00:00 means 1 PM local time at every venue). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("startTime") + private String startTime; + + /** + * The end time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at + * event location. For RFPs spanning multiple time zones, this time applies uniformly in each + * location's respective timezone (e.g., 14:00:00 means 2 PM local time at every venue). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("endTime") + private String endTime; + + /** + * The required room size. It is specified in the default measurement unit of the RFP. Use GET RFP API to get the default measurement unit. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("roomSize") + private Long roomSize; + + /** + * Expected number of people attending the agenda. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("attendeeCount") + private Long attendeeCount; + + /** + * True indicates room information like type, description is required. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("roomInfoRequired") + private Boolean roomInfoRequired; + + /** + * True indicates that twenty four hour hold is required. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("twentyFourHourHold") + private Boolean twentyFourHourHold; + + /** + * True indicates that agenda location is at primary event venue. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("locatedAtPrimaryEventVenue") + private Boolean locatedAtPrimaryEventVenue; + + /** + * Meal type offered during the agenda. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("rfpMeal") + private RfpMeal rfpMeal; + + /** + * The sequence number of the agenda item. + */ + @JsonProperty("number") + private long number; + + /** + * List of dates when this agenda item is scheduled. + */ + @JsonProperty("schedules") + private List schedules; + + /** + * Unique ID of the agenda item. + */ + @JsonProperty("id") + private String id; + + /** + * Attachment whose data was used to create the agenda item. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("agendaBuilderAttachment") + private AgendaBuilderAttachment agendaBuilderAttachment; + + @JsonCreator + public RfpAgendaItem( + @JsonProperty("created") @Nullable OffsetDateTime created, + @JsonProperty("createdBy") @Nullable String createdBy, + @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, + @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, + @JsonProperty("name") @Nullable String name, + @JsonProperty("type") @Nullable AgendaItemType type, + @JsonProperty("setup") @Nullable AgendaItemSetup setup, + @JsonProperty("note") @Nullable String note, + @JsonProperty("startTime") @Nullable String startTime, + @JsonProperty("endTime") @Nullable String endTime, + @JsonProperty("roomSize") @Nullable Long roomSize, + @JsonProperty("attendeeCount") @Nullable Long attendeeCount, + @JsonProperty("roomInfoRequired") @Nullable Boolean roomInfoRequired, + @JsonProperty("twentyFourHourHold") @Nullable Boolean twentyFourHourHold, + @JsonProperty("locatedAtPrimaryEventVenue") @Nullable Boolean locatedAtPrimaryEventVenue, + @JsonProperty("rfpMeal") @Nullable RfpMeal rfpMeal, + @JsonProperty("number") long number, + @JsonProperty("schedules") @Nonnull List schedules, + @JsonProperty("id") @Nonnull String id, + @JsonProperty("agendaBuilderAttachment") @Nullable AgendaBuilderAttachment agendaBuilderAttachment) { + this.created = created; + this.createdBy = createdBy; + this.lastModified = lastModified; + this.lastModifiedBy = lastModifiedBy; + this.name = name; + this.type = type; + this.setup = setup; + this.note = note; + this.startTime = startTime; + this.endTime = endTime; + this.roomSize = roomSize; + this.attendeeCount = attendeeCount; + this.roomInfoRequired = roomInfoRequired; + this.twentyFourHourHold = twentyFourHourHold; + this.locatedAtPrimaryEventVenue = locatedAtPrimaryEventVenue; + this.rfpMeal = rfpMeal; + this.number = number; + this.schedules = Optional.ofNullable(schedules) + .orElseThrow(() -> new IllegalArgumentException("schedules cannot be null")); + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.agendaBuilderAttachment = agendaBuilderAttachment; + } + + public RfpAgendaItem(long number, @Nonnull List schedules, @Nonnull String id) { + this( + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + number, + schedules, + id, + 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); + } + + /** + * The name of the agenda item. + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * Type of the agenda. + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + /** + * Setup type for the agenda. + */ + public Optional setup() { + return Optional.ofNullable(this.setup); + } + + /** + * The note sent along with agenda item. + */ + public Optional note() { + return Optional.ofNullable(this.note); + } + + /** + * The start time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at + * event location. For RFPs spanning multiple time zones, this time applies uniformly in each + * location's respective timezone (e.g., 13:00:00 means 1 PM local time at every venue). + */ + public Optional startTime() { + return Optional.ofNullable(this.startTime); + } + + /** + * The end time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at + * event location. For RFPs spanning multiple time zones, this time applies uniformly in each + * location's respective timezone (e.g., 14:00:00 means 2 PM local time at every venue). + */ + public Optional endTime() { + return Optional.ofNullable(this.endTime); + } + + /** + * The required room size. It is specified in the default measurement unit of the RFP. Use GET RFP API to get the default measurement unit. + */ + public Optional roomSize() { + return Optional.ofNullable(this.roomSize); + } + + /** + * Expected number of people attending the agenda. + */ + public Optional attendeeCount() { + return Optional.ofNullable(this.attendeeCount); + } + + /** + * True indicates room information like type, description is required. + */ + public Optional roomInfoRequired() { + return Optional.ofNullable(this.roomInfoRequired); + } + + /** + * True indicates that twenty four hour hold is required. + */ + public Optional twentyFourHourHold() { + return Optional.ofNullable(this.twentyFourHourHold); + } + + /** + * True indicates that agenda location is at primary event venue. + */ + public Optional locatedAtPrimaryEventVenue() { + return Optional.ofNullable(this.locatedAtPrimaryEventVenue); + } + + /** + * Meal type offered during the agenda. + */ + public Optional rfpMeal() { + return Optional.ofNullable(this.rfpMeal); + } + + /** + * The sequence number of the agenda item. + */ + public long number() { + return this.number; + } + + /** + * List of dates when this agenda item is scheduled. + */ + public List schedules() { + return this.schedules; + } + + /** + * Unique ID of the agenda item. + */ + public String id() { + return this.id; + } + + /** + * Attachment whose data was used to create the agenda item. + */ + public Optional agendaBuilderAttachment() { + return Optional.ofNullable(this.agendaBuilderAttachment); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The ISO 8601 zoned date time when this record was created. + */ + public RfpAgendaItem withCreated(@Nullable OffsetDateTime created) { + this.created = created; + return this; + } + + /** + * The identifier of the user that created this record. + */ + public RfpAgendaItem withCreatedBy(@Nullable String createdBy) { + this.createdBy = createdBy; + return this; + } + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + public RfpAgendaItem withLastModified(@Nullable OffsetDateTime lastModified) { + this.lastModified = lastModified; + return this; + } + + /** + * The identifier of the user that last updated this record. + */ + public RfpAgendaItem withLastModifiedBy(@Nullable String lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + return this; + } + + /** + * The name of the agenda item. + */ + public RfpAgendaItem withName(@Nullable String name) { + this.name = name; + return this; + } + + /** + * Type of the agenda. + */ + public RfpAgendaItem withType(@Nullable AgendaItemType type) { + this.type = type; + return this; + } + + /** + * Setup type for the agenda. + */ + public RfpAgendaItem withSetup(@Nullable AgendaItemSetup setup) { + this.setup = setup; + return this; + } + + /** + * The note sent along with agenda item. + */ + public RfpAgendaItem withNote(@Nullable String note) { + this.note = note; + return this; + } + + /** + * The start time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at + * event location. For RFPs spanning multiple time zones, this time applies uniformly in each + * location's respective timezone (e.g., 13:00:00 means 1 PM local time at every venue). + */ + public RfpAgendaItem withStartTime(@Nullable String startTime) { + this.startTime = startTime; + return this; + } + + /** + * The end time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at + * event location. For RFPs spanning multiple time zones, this time applies uniformly in each + * location's respective timezone (e.g., 14:00:00 means 2 PM local time at every venue). + */ + public RfpAgendaItem withEndTime(@Nullable String endTime) { + this.endTime = endTime; + return this; + } + + /** + * The required room size. It is specified in the default measurement unit of the RFP. Use GET RFP API to get the default measurement unit. + */ + public RfpAgendaItem withRoomSize(@Nullable Long roomSize) { + this.roomSize = roomSize; + return this; + } + + /** + * Expected number of people attending the agenda. + */ + public RfpAgendaItem withAttendeeCount(@Nullable Long attendeeCount) { + this.attendeeCount = attendeeCount; + return this; + } + + /** + * True indicates room information like type, description is required. + */ + public RfpAgendaItem withRoomInfoRequired(@Nullable Boolean roomInfoRequired) { + this.roomInfoRequired = roomInfoRequired; + return this; + } + + /** + * True indicates that twenty four hour hold is required. + */ + public RfpAgendaItem withTwentyFourHourHold(@Nullable Boolean twentyFourHourHold) { + this.twentyFourHourHold = twentyFourHourHold; + return this; + } + + /** + * True indicates that agenda location is at primary event venue. + */ + public RfpAgendaItem withLocatedAtPrimaryEventVenue(@Nullable Boolean locatedAtPrimaryEventVenue) { + this.locatedAtPrimaryEventVenue = locatedAtPrimaryEventVenue; + return this; + } + + /** + * Meal type offered during the agenda. + */ + public RfpAgendaItem withRfpMeal(@Nullable RfpMeal rfpMeal) { + this.rfpMeal = rfpMeal; + return this; + } + + /** + * The sequence number of the agenda item. + */ + public RfpAgendaItem withNumber(long number) { + this.number = number; + return this; + } + + /** + * List of dates when this agenda item is scheduled. + */ + public RfpAgendaItem withSchedules(@Nonnull List schedules) { + this.schedules = Utils.checkNotNull(schedules, "schedules"); + return this; + } + + /** + * Unique ID of the agenda item. + */ + public RfpAgendaItem withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * Attachment whose data was used to create the agenda item. + */ + public RfpAgendaItem withAgendaBuilderAttachment(@Nullable AgendaBuilderAttachment agendaBuilderAttachment) { + this.agendaBuilderAttachment = agendaBuilderAttachment; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RfpAgendaItem other = (RfpAgendaItem) 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.name, other.name) + && Utils.enhancedDeepEquals(this.type, other.type) + && Utils.enhancedDeepEquals(this.setup, other.setup) + && Utils.enhancedDeepEquals(this.note, other.note) + && Utils.enhancedDeepEquals(this.startTime, other.startTime) + && Utils.enhancedDeepEquals(this.endTime, other.endTime) + && Utils.enhancedDeepEquals(this.roomSize, other.roomSize) + && Utils.enhancedDeepEquals(this.attendeeCount, other.attendeeCount) + && Utils.enhancedDeepEquals(this.roomInfoRequired, other.roomInfoRequired) + && Utils.enhancedDeepEquals(this.twentyFourHourHold, other.twentyFourHourHold) + && Utils.enhancedDeepEquals(this.locatedAtPrimaryEventVenue, other.locatedAtPrimaryEventVenue) + && Utils.enhancedDeepEquals(this.rfpMeal, other.rfpMeal) + && Utils.enhancedDeepEquals(this.number, other.number) + && Utils.enhancedDeepEquals(this.schedules, other.schedules) + && Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.agendaBuilderAttachment, other.agendaBuilderAttachment); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + created, + createdBy, + lastModified, + lastModifiedBy, + name, + type, + setup, + note, + startTime, + endTime, + roomSize, + attendeeCount, + roomInfoRequired, + twentyFourHourHold, + locatedAtPrimaryEventVenue, + rfpMeal, + number, + schedules, + id, + agendaBuilderAttachment); + } + + @Override + public String toString() { + return Utils.toString( + RfpAgendaItem.class, + "created", + created, + "createdBy", + createdBy, + "lastModified", + lastModified, + "lastModifiedBy", + lastModifiedBy, + "name", + name, + "type", + type, + "setup", + setup, + "note", + note, + "startTime", + startTime, + "endTime", + endTime, + "roomSize", + roomSize, + "attendeeCount", + attendeeCount, + "roomInfoRequired", + roomInfoRequired, + "twentyFourHourHold", + twentyFourHourHold, + "locatedAtPrimaryEventVenue", + locatedAtPrimaryEventVenue, + "rfpMeal", + rfpMeal, + "number", + number, + "schedules", + schedules, + "id", + id, + "agendaBuilderAttachment", + agendaBuilderAttachment); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private OffsetDateTime created; + + private String createdBy; + + private OffsetDateTime lastModified; + + private String lastModifiedBy; + + private String name; + + private AgendaItemType type; + + private AgendaItemSetup setup; + + private String note; + + private String startTime; + + private String endTime; + + private Long roomSize; + + private Long attendeeCount; + + private Boolean roomInfoRequired; + + private Boolean twentyFourHourHold; + + private Boolean locatedAtPrimaryEventVenue; + + private RfpMeal rfpMeal; + + private long number; + + private List schedules; + + private String id; + + private AgendaBuilderAttachment agendaBuilderAttachment; + + 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; + } + + /** + * The name of the agenda item. + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + /** + * Type of the agenda. + */ + public Builder type(@Nullable AgendaItemType type) { + this.type = type; + return this; + } + + /** + * Setup type for the agenda. + */ + public Builder setup(@Nullable AgendaItemSetup setup) { + this.setup = setup; + return this; + } + + /** + * The note sent along with agenda item. + */ + public Builder note(@Nullable String note) { + this.note = note; + return this; + } + + /** + * The start time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at + * event location. For RFPs spanning multiple time zones, this time applies uniformly in each + * location's respective timezone (e.g., 13:00:00 means 1 PM local time at every venue). + */ + public Builder startTime(@Nullable String startTime) { + this.startTime = startTime; + return this; + } + + /** + * The end time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at + * event location. For RFPs spanning multiple time zones, this time applies uniformly in each + * location's respective timezone (e.g., 14:00:00 means 2 PM local time at every venue). + */ + public Builder endTime(@Nullable String endTime) { + this.endTime = endTime; + return this; + } + + /** + * The required room size. It is specified in the default measurement unit of the RFP. Use GET RFP API to get the default measurement unit. + */ + public Builder roomSize(@Nullable Long roomSize) { + this.roomSize = roomSize; + return this; + } + + /** + * Expected number of people attending the agenda. + */ + public Builder attendeeCount(@Nullable Long attendeeCount) { + this.attendeeCount = attendeeCount; + return this; + } + + /** + * True indicates room information like type, description is required. + */ + public Builder roomInfoRequired(@Nullable Boolean roomInfoRequired) { + this.roomInfoRequired = roomInfoRequired; + return this; + } + + /** + * True indicates that twenty four hour hold is required. + */ + public Builder twentyFourHourHold(@Nullable Boolean twentyFourHourHold) { + this.twentyFourHourHold = twentyFourHourHold; + return this; + } + + /** + * True indicates that agenda location is at primary event venue. + */ + public Builder locatedAtPrimaryEventVenue(@Nullable Boolean locatedAtPrimaryEventVenue) { + this.locatedAtPrimaryEventVenue = locatedAtPrimaryEventVenue; + return this; + } + + /** + * Meal type offered during the agenda. + */ + public Builder rfpMeal(@Nullable RfpMeal rfpMeal) { + this.rfpMeal = rfpMeal; + return this; + } + + /** + * The sequence number of the agenda item. + */ + public Builder number(long number) { + this.number = number; + return this; + } + + /** + * List of dates when this agenda item is scheduled. + */ + public Builder schedules(@Nonnull List schedules) { + this.schedules = Utils.checkNotNull(schedules, "schedules"); + return this; + } + + /** + * Unique ID of the agenda item. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * Attachment whose data was used to create the agenda item. + */ + public Builder agendaBuilderAttachment(@Nullable AgendaBuilderAttachment agendaBuilderAttachment) { + this.agendaBuilderAttachment = agendaBuilderAttachment; + return this; + } + + public RfpAgendaItem build() { + return new RfpAgendaItem( + created, + createdBy, + lastModified, + lastModifiedBy, + name, + type, + setup, + note, + startTime, + endTime, + roomSize, + attendeeCount, + roomInfoRequired, + twentyFourHourHold, + locatedAtPrimaryEventVenue, + rfpMeal, + number, + schedules, + id, + agendaBuilderAttachment); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpAgendaItemJson.java b/packages/java/src/main/java/com/cvent/models/components/RfpAgendaItemJson.java deleted file mode 100644 index f4b8b0562..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/RfpAgendaItemJson.java +++ /dev/null @@ -1,890 +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.Nonnull; -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; - -/** - * RfpAgendaItemJson - * - *

Agenda item associated with an RFP. - */ -public class RfpAgendaItemJson { - /** - * 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; - - /** - * The name of the agenda item. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - /** - * Type of the agenda. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private AgendaItemTypeJson type; - - /** - * Setup type for the agenda. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("setup") - private AgendaItemSetupJson setup; - - /** - * The note sent along with agenda item. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("note") - private String note; - - /** - * The start time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at - * event location. For RFPs spanning multiple time zones, this time applies uniformly in each - * location's respective timezone (e.g., 13:00:00 means 1 PM local time at every venue). - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("startTime") - private String startTime; - - /** - * The end time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at - * event location. For RFPs spanning multiple time zones, this time applies uniformly in each - * location's respective timezone (e.g., 14:00:00 means 2 PM local time at every venue). - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("endTime") - private String endTime; - - /** - * The required room size. It is specified in the default measurement unit of the RFP. Use GET RFP API to get the default measurement unit. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("roomSize") - private Long roomSize; - - /** - * Expected number of people attending the agenda. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("attendeeCount") - private Long attendeeCount; - - /** - * True indicates room information like type, description is required. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("roomInfoRequired") - private Boolean roomInfoRequired; - - /** - * True indicates that twenty four hour hold is required. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("twentyFourHourHold") - private Boolean twentyFourHourHold; - - /** - * True indicates that agenda location is at primary event venue. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("locatedAtPrimaryEventVenue") - private Boolean locatedAtPrimaryEventVenue; - - /** - * Meal type offered during the agenda. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("rfpMeal") - private RfpMealJson rfpMeal; - - /** - * The sequence number of the agenda item. - */ - @JsonProperty("number") - private long number; - - /** - * List of dates when this agenda item is scheduled. - */ - @JsonProperty("schedules") - private List schedules; - - /** - * Unique ID of the agenda item. - */ - @JsonProperty("id") - private String id; - - /** - * Attachment whose data was used to create the agenda item. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("agendaBuilderAttachment") - private AgendaBuilderAttachment agendaBuilderAttachment; - - @JsonCreator - public RfpAgendaItemJson( - @JsonProperty("created") @Nullable OffsetDateTime created, - @JsonProperty("createdBy") @Nullable String createdBy, - @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, - @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, - @JsonProperty("name") @Nullable String name, - @JsonProperty("type") @Nullable AgendaItemTypeJson type, - @JsonProperty("setup") @Nullable AgendaItemSetupJson setup, - @JsonProperty("note") @Nullable String note, - @JsonProperty("startTime") @Nullable String startTime, - @JsonProperty("endTime") @Nullable String endTime, - @JsonProperty("roomSize") @Nullable Long roomSize, - @JsonProperty("attendeeCount") @Nullable Long attendeeCount, - @JsonProperty("roomInfoRequired") @Nullable Boolean roomInfoRequired, - @JsonProperty("twentyFourHourHold") @Nullable Boolean twentyFourHourHold, - @JsonProperty("locatedAtPrimaryEventVenue") @Nullable Boolean locatedAtPrimaryEventVenue, - @JsonProperty("rfpMeal") @Nullable RfpMealJson rfpMeal, - @JsonProperty("number") long number, - @JsonProperty("schedules") @Nonnull List schedules, - @JsonProperty("id") @Nonnull String id, - @JsonProperty("agendaBuilderAttachment") @Nullable AgendaBuilderAttachment agendaBuilderAttachment) { - this.created = created; - this.createdBy = createdBy; - this.lastModified = lastModified; - this.lastModifiedBy = lastModifiedBy; - this.name = name; - this.type = type; - this.setup = setup; - this.note = note; - this.startTime = startTime; - this.endTime = endTime; - this.roomSize = roomSize; - this.attendeeCount = attendeeCount; - this.roomInfoRequired = roomInfoRequired; - this.twentyFourHourHold = twentyFourHourHold; - this.locatedAtPrimaryEventVenue = locatedAtPrimaryEventVenue; - this.rfpMeal = rfpMeal; - this.number = number; - this.schedules = Optional.ofNullable(schedules) - .orElseThrow(() -> new IllegalArgumentException("schedules cannot be null")); - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - this.agendaBuilderAttachment = agendaBuilderAttachment; - } - - public RfpAgendaItemJson(long number, @Nonnull List schedules, @Nonnull String id) { - this( - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - number, - schedules, - id, - 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); - } - - /** - * The name of the agenda item. - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - /** - * Type of the agenda. - */ - public Optional type() { - return Optional.ofNullable(this.type); - } - - /** - * Setup type for the agenda. - */ - public Optional setup() { - return Optional.ofNullable(this.setup); - } - - /** - * The note sent along with agenda item. - */ - public Optional note() { - return Optional.ofNullable(this.note); - } - - /** - * The start time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at - * event location. For RFPs spanning multiple time zones, this time applies uniformly in each - * location's respective timezone (e.g., 13:00:00 means 1 PM local time at every venue). - */ - public Optional startTime() { - return Optional.ofNullable(this.startTime); - } - - /** - * The end time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at - * event location. For RFPs spanning multiple time zones, this time applies uniformly in each - * location's respective timezone (e.g., 14:00:00 means 2 PM local time at every venue). - */ - public Optional endTime() { - return Optional.ofNullable(this.endTime); - } - - /** - * The required room size. It is specified in the default measurement unit of the RFP. Use GET RFP API to get the default measurement unit. - */ - public Optional roomSize() { - return Optional.ofNullable(this.roomSize); - } - - /** - * Expected number of people attending the agenda. - */ - public Optional attendeeCount() { - return Optional.ofNullable(this.attendeeCount); - } - - /** - * True indicates room information like type, description is required. - */ - public Optional roomInfoRequired() { - return Optional.ofNullable(this.roomInfoRequired); - } - - /** - * True indicates that twenty four hour hold is required. - */ - public Optional twentyFourHourHold() { - return Optional.ofNullable(this.twentyFourHourHold); - } - - /** - * True indicates that agenda location is at primary event venue. - */ - public Optional locatedAtPrimaryEventVenue() { - return Optional.ofNullable(this.locatedAtPrimaryEventVenue); - } - - /** - * Meal type offered during the agenda. - */ - public Optional rfpMeal() { - return Optional.ofNullable(this.rfpMeal); - } - - /** - * The sequence number of the agenda item. - */ - public long number() { - return this.number; - } - - /** - * List of dates when this agenda item is scheduled. - */ - public List schedules() { - return this.schedules; - } - - /** - * Unique ID of the agenda item. - */ - public String id() { - return this.id; - } - - /** - * Attachment whose data was used to create the agenda item. - */ - public Optional agendaBuilderAttachment() { - return Optional.ofNullable(this.agendaBuilderAttachment); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The ISO 8601 zoned date time when this record was created. - */ - public RfpAgendaItemJson withCreated(@Nullable OffsetDateTime created) { - this.created = created; - return this; - } - - /** - * The identifier of the user that created this record. - */ - public RfpAgendaItemJson withCreatedBy(@Nullable String createdBy) { - this.createdBy = createdBy; - return this; - } - - /** - * The ISO 8601 zoned date time when this record was updated. - */ - public RfpAgendaItemJson withLastModified(@Nullable OffsetDateTime lastModified) { - this.lastModified = lastModified; - return this; - } - - /** - * The identifier of the user that last updated this record. - */ - public RfpAgendaItemJson withLastModifiedBy(@Nullable String lastModifiedBy) { - this.lastModifiedBy = lastModifiedBy; - return this; - } - - /** - * The name of the agenda item. - */ - public RfpAgendaItemJson withName(@Nullable String name) { - this.name = name; - return this; - } - - /** - * Type of the agenda. - */ - public RfpAgendaItemJson withType(@Nullable AgendaItemTypeJson type) { - this.type = type; - return this; - } - - /** - * Setup type for the agenda. - */ - public RfpAgendaItemJson withSetup(@Nullable AgendaItemSetupJson setup) { - this.setup = setup; - return this; - } - - /** - * The note sent along with agenda item. - */ - public RfpAgendaItemJson withNote(@Nullable String note) { - this.note = note; - return this; - } - - /** - * The start time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at - * event location. For RFPs spanning multiple time zones, this time applies uniformly in each - * location's respective timezone (e.g., 13:00:00 means 1 PM local time at every venue). - */ - public RfpAgendaItemJson withStartTime(@Nullable String startTime) { - this.startTime = startTime; - return this; - } - - /** - * The end time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at - * event location. For RFPs spanning multiple time zones, this time applies uniformly in each - * location's respective timezone (e.g., 14:00:00 means 2 PM local time at every venue). - */ - public RfpAgendaItemJson withEndTime(@Nullable String endTime) { - this.endTime = endTime; - return this; - } - - /** - * The required room size. It is specified in the default measurement unit of the RFP. Use GET RFP API to get the default measurement unit. - */ - public RfpAgendaItemJson withRoomSize(@Nullable Long roomSize) { - this.roomSize = roomSize; - return this; - } - - /** - * Expected number of people attending the agenda. - */ - public RfpAgendaItemJson withAttendeeCount(@Nullable Long attendeeCount) { - this.attendeeCount = attendeeCount; - return this; - } - - /** - * True indicates room information like type, description is required. - */ - public RfpAgendaItemJson withRoomInfoRequired(@Nullable Boolean roomInfoRequired) { - this.roomInfoRequired = roomInfoRequired; - return this; - } - - /** - * True indicates that twenty four hour hold is required. - */ - public RfpAgendaItemJson withTwentyFourHourHold(@Nullable Boolean twentyFourHourHold) { - this.twentyFourHourHold = twentyFourHourHold; - return this; - } - - /** - * True indicates that agenda location is at primary event venue. - */ - public RfpAgendaItemJson withLocatedAtPrimaryEventVenue(@Nullable Boolean locatedAtPrimaryEventVenue) { - this.locatedAtPrimaryEventVenue = locatedAtPrimaryEventVenue; - return this; - } - - /** - * Meal type offered during the agenda. - */ - public RfpAgendaItemJson withRfpMeal(@Nullable RfpMealJson rfpMeal) { - this.rfpMeal = rfpMeal; - return this; - } - - /** - * The sequence number of the agenda item. - */ - public RfpAgendaItemJson withNumber(long number) { - this.number = number; - return this; - } - - /** - * List of dates when this agenda item is scheduled. - */ - public RfpAgendaItemJson withSchedules(@Nonnull List schedules) { - this.schedules = Utils.checkNotNull(schedules, "schedules"); - return this; - } - - /** - * Unique ID of the agenda item. - */ - public RfpAgendaItemJson withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * Attachment whose data was used to create the agenda item. - */ - public RfpAgendaItemJson withAgendaBuilderAttachment(@Nullable AgendaBuilderAttachment agendaBuilderAttachment) { - this.agendaBuilderAttachment = agendaBuilderAttachment; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - RfpAgendaItemJson other = (RfpAgendaItemJson) 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.name, other.name) - && Utils.enhancedDeepEquals(this.type, other.type) - && Utils.enhancedDeepEquals(this.setup, other.setup) - && Utils.enhancedDeepEquals(this.note, other.note) - && Utils.enhancedDeepEquals(this.startTime, other.startTime) - && Utils.enhancedDeepEquals(this.endTime, other.endTime) - && Utils.enhancedDeepEquals(this.roomSize, other.roomSize) - && Utils.enhancedDeepEquals(this.attendeeCount, other.attendeeCount) - && Utils.enhancedDeepEquals(this.roomInfoRequired, other.roomInfoRequired) - && Utils.enhancedDeepEquals(this.twentyFourHourHold, other.twentyFourHourHold) - && Utils.enhancedDeepEquals(this.locatedAtPrimaryEventVenue, other.locatedAtPrimaryEventVenue) - && Utils.enhancedDeepEquals(this.rfpMeal, other.rfpMeal) - && Utils.enhancedDeepEquals(this.number, other.number) - && Utils.enhancedDeepEquals(this.schedules, other.schedules) - && Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.agendaBuilderAttachment, other.agendaBuilderAttachment); - } - - @Override - public int hashCode() { - return Utils.enhancedHash( - created, - createdBy, - lastModified, - lastModifiedBy, - name, - type, - setup, - note, - startTime, - endTime, - roomSize, - attendeeCount, - roomInfoRequired, - twentyFourHourHold, - locatedAtPrimaryEventVenue, - rfpMeal, - number, - schedules, - id, - agendaBuilderAttachment); - } - - @Override - public String toString() { - return Utils.toString( - RfpAgendaItemJson.class, - "created", - created, - "createdBy", - createdBy, - "lastModified", - lastModified, - "lastModifiedBy", - lastModifiedBy, - "name", - name, - "type", - type, - "setup", - setup, - "note", - note, - "startTime", - startTime, - "endTime", - endTime, - "roomSize", - roomSize, - "attendeeCount", - attendeeCount, - "roomInfoRequired", - roomInfoRequired, - "twentyFourHourHold", - twentyFourHourHold, - "locatedAtPrimaryEventVenue", - locatedAtPrimaryEventVenue, - "rfpMeal", - rfpMeal, - "number", - number, - "schedules", - schedules, - "id", - id, - "agendaBuilderAttachment", - agendaBuilderAttachment); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private OffsetDateTime created; - - private String createdBy; - - private OffsetDateTime lastModified; - - private String lastModifiedBy; - - private String name; - - private AgendaItemTypeJson type; - - private AgendaItemSetupJson setup; - - private String note; - - private String startTime; - - private String endTime; - - private Long roomSize; - - private Long attendeeCount; - - private Boolean roomInfoRequired; - - private Boolean twentyFourHourHold; - - private Boolean locatedAtPrimaryEventVenue; - - private RfpMealJson rfpMeal; - - private long number; - - private List schedules; - - private String id; - - private AgendaBuilderAttachment agendaBuilderAttachment; - - 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; - } - - /** - * The name of the agenda item. - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - /** - * Type of the agenda. - */ - public Builder type(@Nullable AgendaItemTypeJson type) { - this.type = type; - return this; - } - - /** - * Setup type for the agenda. - */ - public Builder setup(@Nullable AgendaItemSetupJson setup) { - this.setup = setup; - return this; - } - - /** - * The note sent along with agenda item. - */ - public Builder note(@Nullable String note) { - this.note = note; - return this; - } - - /** - * The start time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at - * event location. For RFPs spanning multiple time zones, this time applies uniformly in each - * location's respective timezone (e.g., 13:00:00 means 1 PM local time at every venue). - */ - public Builder startTime(@Nullable String startTime) { - this.startTime = startTime; - return this; - } - - /** - * The end time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at - * event location. For RFPs spanning multiple time zones, this time applies uniformly in each - * location's respective timezone (e.g., 14:00:00 means 2 PM local time at every venue). - */ - public Builder endTime(@Nullable String endTime) { - this.endTime = endTime; - return this; - } - - /** - * The required room size. It is specified in the default measurement unit of the RFP. Use GET RFP API to get the default measurement unit. - */ - public Builder roomSize(@Nullable Long roomSize) { - this.roomSize = roomSize; - return this; - } - - /** - * Expected number of people attending the agenda. - */ - public Builder attendeeCount(@Nullable Long attendeeCount) { - this.attendeeCount = attendeeCount; - return this; - } - - /** - * True indicates room information like type, description is required. - */ - public Builder roomInfoRequired(@Nullable Boolean roomInfoRequired) { - this.roomInfoRequired = roomInfoRequired; - return this; - } - - /** - * True indicates that twenty four hour hold is required. - */ - public Builder twentyFourHourHold(@Nullable Boolean twentyFourHourHold) { - this.twentyFourHourHold = twentyFourHourHold; - return this; - } - - /** - * True indicates that agenda location is at primary event venue. - */ - public Builder locatedAtPrimaryEventVenue(@Nullable Boolean locatedAtPrimaryEventVenue) { - this.locatedAtPrimaryEventVenue = locatedAtPrimaryEventVenue; - return this; - } - - /** - * Meal type offered during the agenda. - */ - public Builder rfpMeal(@Nullable RfpMealJson rfpMeal) { - this.rfpMeal = rfpMeal; - return this; - } - - /** - * The sequence number of the agenda item. - */ - public Builder number(long number) { - this.number = number; - return this; - } - - /** - * List of dates when this agenda item is scheduled. - */ - public Builder schedules(@Nonnull List schedules) { - this.schedules = Utils.checkNotNull(schedules, "schedules"); - return this; - } - - /** - * Unique ID of the agenda item. - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * Attachment whose data was used to create the agenda item. - */ - public Builder agendaBuilderAttachment(@Nullable AgendaBuilderAttachment agendaBuilderAttachment) { - this.agendaBuilderAttachment = agendaBuilderAttachment; - return this; - } - - public RfpAgendaItemJson build() { - return new RfpAgendaItemJson( - created, - createdBy, - lastModified, - lastModifiedBy, - name, - type, - setup, - note, - startTime, - endTime, - roomSize, - attendeeCount, - roomInfoRequired, - twentyFourHourHold, - locatedAtPrimaryEventVenue, - rfpMeal, - number, - schedules, - id, - agendaBuilderAttachment); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpAgendaItemSchedule.java b/packages/java/src/main/java/com/cvent/models/components/RfpAgendaItemSchedule.java new file mode 100644 index 000000000..47c7253dc --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/RfpAgendaItemSchedule.java @@ -0,0 +1,134 @@ +/* + * 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.time.LocalDate; +import java.util.Optional; + +/** + * RfpAgendaItemSchedule + * + *

Schedule information for an RFP agenda item. + */ +public class RfpAgendaItemSchedule { + /** + * Day number relative to start of event on which the agenda item occurs. + */ + @JsonProperty("dayNumber") + private long dayNumber; + + /** + * The ISO 8601 date of the agenda item. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("date") + private LocalDate date; + + @JsonCreator + public RfpAgendaItemSchedule( + @JsonProperty("dayNumber") long dayNumber, @JsonProperty("date") @Nullable LocalDate date) { + this.dayNumber = dayNumber; + this.date = date; + } + + public RfpAgendaItemSchedule(long dayNumber) { + this(dayNumber, null); + } + + /** + * Day number relative to start of event on which the agenda item occurs. + */ + public long dayNumber() { + return this.dayNumber; + } + + /** + * The ISO 8601 date of the agenda item. + */ + public Optional date() { + return Optional.ofNullable(this.date); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Day number relative to start of event on which the agenda item occurs. + */ + public RfpAgendaItemSchedule withDayNumber(long dayNumber) { + this.dayNumber = dayNumber; + return this; + } + + /** + * The ISO 8601 date of the agenda item. + */ + public RfpAgendaItemSchedule withDate(@Nullable LocalDate date) { + this.date = date; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RfpAgendaItemSchedule other = (RfpAgendaItemSchedule) o; + return Utils.enhancedDeepEquals(this.dayNumber, other.dayNumber) && Utils.enhancedDeepEquals(this.date, other.date); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(dayNumber, date); + } + + @Override + public String toString() { + return Utils.toString(RfpAgendaItemSchedule.class, "dayNumber", dayNumber, "date", date); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private long dayNumber; + + private LocalDate date; + + private Builder() { + // force use of static builder() method + } + + /** + * Day number relative to start of event on which the agenda item occurs. + */ + public Builder dayNumber(long dayNumber) { + this.dayNumber = dayNumber; + return this; + } + + /** + * The ISO 8601 date of the agenda item. + */ + public Builder date(@Nullable LocalDate date) { + this.date = date; + return this; + } + + public RfpAgendaItemSchedule build() { + return new RfpAgendaItemSchedule(dayNumber, date); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpAgendaItemScheduleJson.java b/packages/java/src/main/java/com/cvent/models/components/RfpAgendaItemScheduleJson.java deleted file mode 100644 index 180584f98..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/RfpAgendaItemScheduleJson.java +++ /dev/null @@ -1,134 +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.Override; -import java.lang.String; -import java.time.LocalDate; -import java.util.Optional; - -/** - * RfpAgendaItemScheduleJson - * - *

Schedule information for an RFP agenda item. - */ -public class RfpAgendaItemScheduleJson { - /** - * Day number relative to start of event on which the agenda item occurs. - */ - @JsonProperty("dayNumber") - private long dayNumber; - - /** - * The ISO 8601 date of the agenda item. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("date") - private LocalDate date; - - @JsonCreator - public RfpAgendaItemScheduleJson( - @JsonProperty("dayNumber") long dayNumber, @JsonProperty("date") @Nullable LocalDate date) { - this.dayNumber = dayNumber; - this.date = date; - } - - public RfpAgendaItemScheduleJson(long dayNumber) { - this(dayNumber, null); - } - - /** - * Day number relative to start of event on which the agenda item occurs. - */ - public long dayNumber() { - return this.dayNumber; - } - - /** - * The ISO 8601 date of the agenda item. - */ - public Optional date() { - return Optional.ofNullable(this.date); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Day number relative to start of event on which the agenda item occurs. - */ - public RfpAgendaItemScheduleJson withDayNumber(long dayNumber) { - this.dayNumber = dayNumber; - return this; - } - - /** - * The ISO 8601 date of the agenda item. - */ - public RfpAgendaItemScheduleJson withDate(@Nullable LocalDate date) { - this.date = date; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - RfpAgendaItemScheduleJson other = (RfpAgendaItemScheduleJson) o; - return Utils.enhancedDeepEquals(this.dayNumber, other.dayNumber) && Utils.enhancedDeepEquals(this.date, other.date); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(dayNumber, date); - } - - @Override - public String toString() { - return Utils.toString(RfpAgendaItemScheduleJson.class, "dayNumber", dayNumber, "date", date); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private long dayNumber; - - private LocalDate date; - - private Builder() { - // force use of static builder() method - } - - /** - * Day number relative to start of event on which the agenda item occurs. - */ - public Builder dayNumber(long dayNumber) { - this.dayNumber = dayNumber; - return this; - } - - /** - * The ISO 8601 date of the agenda item. - */ - public Builder date(@Nullable LocalDate date) { - this.date = date; - return this; - } - - public RfpAgendaItemScheduleJson build() { - return new RfpAgendaItemScheduleJson(dayNumber, date); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpAgendaItemScheduleWithId.java b/packages/java/src/main/java/com/cvent/models/components/RfpAgendaItemScheduleWithId.java new file mode 100644 index 000000000..8325e5ff7 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/RfpAgendaItemScheduleWithId.java @@ -0,0 +1,171 @@ +/* + * 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.time.LocalDate; +import java.util.Optional; + +/** + * RfpAgendaItemScheduleWithId + * + *

Contains RFP specific agenda items schedule information with agenda item id. + */ +public class RfpAgendaItemScheduleWithId { + /** + * Day number relative to start of event on which the agenda item occurs. + */ + @JsonProperty("dayNumber") + private long dayNumber; + + /** + * The ISO 8601 date of the agenda item. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("date") + private LocalDate date; + + /** + * Unique ID of the agenda item. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public RfpAgendaItemScheduleWithId( + @JsonProperty("dayNumber") long dayNumber, + @JsonProperty("date") @Nullable LocalDate date, + @JsonProperty("id") @Nullable String id) { + this.dayNumber = dayNumber; + this.date = date; + this.id = id; + } + + public RfpAgendaItemScheduleWithId(long dayNumber) { + this(dayNumber, null, null); + } + + /** + * Day number relative to start of event on which the agenda item occurs. + */ + public long dayNumber() { + return this.dayNumber; + } + + /** + * The ISO 8601 date of the agenda item. + */ + public Optional date() { + return Optional.ofNullable(this.date); + } + + /** + * Unique ID of the agenda item. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Day number relative to start of event on which the agenda item occurs. + */ + public RfpAgendaItemScheduleWithId withDayNumber(long dayNumber) { + this.dayNumber = dayNumber; + return this; + } + + /** + * The ISO 8601 date of the agenda item. + */ + public RfpAgendaItemScheduleWithId withDate(@Nullable LocalDate date) { + this.date = date; + return this; + } + + /** + * Unique ID of the agenda item. + */ + public RfpAgendaItemScheduleWithId withId(@Nullable String id) { + this.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; + } + RfpAgendaItemScheduleWithId other = (RfpAgendaItemScheduleWithId) o; + return Utils.enhancedDeepEquals(this.dayNumber, other.dayNumber) + && Utils.enhancedDeepEquals(this.date, other.date) + && Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(dayNumber, date, id); + } + + @Override + public String toString() { + return Utils.toString(RfpAgendaItemScheduleWithId.class, "dayNumber", dayNumber, "date", date, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private long dayNumber; + + private LocalDate date; + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * Day number relative to start of event on which the agenda item occurs. + */ + public Builder dayNumber(long dayNumber) { + this.dayNumber = dayNumber; + return this; + } + + /** + * The ISO 8601 date of the agenda item. + */ + public Builder date(@Nullable LocalDate date) { + this.date = date; + return this; + } + + /** + * Unique ID of the agenda item. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public RfpAgendaItemScheduleWithId build() { + return new RfpAgendaItemScheduleWithId(dayNumber, date, id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpAgendaItemScheduleWithIdJson.java b/packages/java/src/main/java/com/cvent/models/components/RfpAgendaItemScheduleWithIdJson.java deleted file mode 100644 index fb76ef3d0..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/RfpAgendaItemScheduleWithIdJson.java +++ /dev/null @@ -1,171 +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.Override; -import java.lang.String; -import java.time.LocalDate; -import java.util.Optional; - -/** - * RfpAgendaItemScheduleWithIdJson - * - *

Contains RFP specific agenda items schedule information with agenda item id. - */ -public class RfpAgendaItemScheduleWithIdJson { - /** - * Day number relative to start of event on which the agenda item occurs. - */ - @JsonProperty("dayNumber") - private long dayNumber; - - /** - * The ISO 8601 date of the agenda item. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("date") - private LocalDate date; - - /** - * Unique ID of the agenda item. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public RfpAgendaItemScheduleWithIdJson( - @JsonProperty("dayNumber") long dayNumber, - @JsonProperty("date") @Nullable LocalDate date, - @JsonProperty("id") @Nullable String id) { - this.dayNumber = dayNumber; - this.date = date; - this.id = id; - } - - public RfpAgendaItemScheduleWithIdJson(long dayNumber) { - this(dayNumber, null, null); - } - - /** - * Day number relative to start of event on which the agenda item occurs. - */ - public long dayNumber() { - return this.dayNumber; - } - - /** - * The ISO 8601 date of the agenda item. - */ - public Optional date() { - return Optional.ofNullable(this.date); - } - - /** - * Unique ID of the agenda item. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Day number relative to start of event on which the agenda item occurs. - */ - public RfpAgendaItemScheduleWithIdJson withDayNumber(long dayNumber) { - this.dayNumber = dayNumber; - return this; - } - - /** - * The ISO 8601 date of the agenda item. - */ - public RfpAgendaItemScheduleWithIdJson withDate(@Nullable LocalDate date) { - this.date = date; - return this; - } - - /** - * Unique ID of the agenda item. - */ - public RfpAgendaItemScheduleWithIdJson withId(@Nullable String id) { - this.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; - } - RfpAgendaItemScheduleWithIdJson other = (RfpAgendaItemScheduleWithIdJson) o; - return Utils.enhancedDeepEquals(this.dayNumber, other.dayNumber) - && Utils.enhancedDeepEquals(this.date, other.date) - && Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(dayNumber, date, id); - } - - @Override - public String toString() { - return Utils.toString(RfpAgendaItemScheduleWithIdJson.class, "dayNumber", dayNumber, "date", date, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private long dayNumber; - - private LocalDate date; - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * Day number relative to start of event on which the agenda item occurs. - */ - public Builder dayNumber(long dayNumber) { - this.dayNumber = dayNumber; - return this; - } - - /** - * The ISO 8601 date of the agenda item. - */ - public Builder date(@Nullable LocalDate date) { - this.date = date; - return this; - } - - /** - * Unique ID of the agenda item. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public RfpAgendaItemScheduleWithIdJson build() { - return new RfpAgendaItemScheduleWithIdJson(dayNumber, date, id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpAttachment.java b/packages/java/src/main/java/com/cvent/models/components/RfpAttachment.java new file mode 100644 index 000000000..5cdb3cb85 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/RfpAttachment.java @@ -0,0 +1,702 @@ +/* + * 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.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Optional; + +/** + * RfpAttachment + * + *

This object contains Rfp specific attachments attributes. + */ +public class RfpAttachment { + /** + * Unique identifier for this attachment record. + */ + @JsonProperty("id") + private String id; + + /** + * ISO 8601 date-time the attachment was uploaded. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("created") + private OffsetDateTime created; + + /** + * The size of attachment in bytes. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("size") + private Long size; + + /** + * The document type. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private DocumentType1 type; + + /** + * True indicates the attachment is uploaded behind a secured URL. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("secure") + private Boolean secure; + + /** + * Display name of the attachment. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + /** + * Name of the attachment. Must be unique in the account. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("uniqueName") + private String uniqueName; + + /** + * The content type of the attachment + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("mimeType") + private String mimeType; + + /** + * The source from where the attachment was uploaded. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("source") + private AttachmentSource source; + + /** + * The file path pointing to where the attachment is stored in Cvent. This path is relative to the base + * URL of the storage system and omits the root address. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("relativePath") + private String relativePath; + + /** + * True indicates the attachment should be sent in emails that notify suppliers about RFPs. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("sendInEmail") + private Boolean sendInEmail; + + /** + * True indicates this attachment can be deleted. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("deletionAllowed") + private Boolean deletionAllowed; + + /** + * URL of the attachment if `secure` is false. This field is null if `secure` is true. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("url") + private String url; + + /** + * Supplier associated with the attachment. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("supplier") + private RfpAttachmentSupplier supplier; + + /** + * True indicates the attachment is only shown in the UI to the supplier whose ID is present in + * supplier.id field. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("supplierSpecific") + private Boolean supplierSpecific; + + /** + * True indicates the attachment is selected for the supplier whose ID is present in supplier.id field. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("selectedForSupplier") + private Boolean selectedForSupplier; + + @JsonCreator + public RfpAttachment( + @JsonProperty("id") @Nonnull String id, + @JsonProperty("created") @Nullable OffsetDateTime created, + @JsonProperty("size") @Nullable Long size, + @JsonProperty("type") @Nullable DocumentType1 type, + @JsonProperty("secure") @Nullable Boolean secure, + @JsonProperty("name") @Nullable String name, + @JsonProperty("uniqueName") @Nullable String uniqueName, + @JsonProperty("mimeType") @Nullable String mimeType, + @JsonProperty("source") @Nullable AttachmentSource source, + @JsonProperty("relativePath") @Nullable String relativePath, + @JsonProperty("sendInEmail") @Nullable Boolean sendInEmail, + @JsonProperty("deletionAllowed") @Nullable Boolean deletionAllowed, + @JsonProperty("url") @Nullable String url, + @JsonProperty("supplier") @Nullable RfpAttachmentSupplier supplier, + @JsonProperty("supplierSpecific") @Nullable Boolean supplierSpecific, + @JsonProperty("selectedForSupplier") @Nullable Boolean selectedForSupplier) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.created = created; + this.size = size; + this.type = type; + this.secure = secure; + this.name = name; + this.uniqueName = uniqueName; + this.mimeType = mimeType; + this.source = source; + this.relativePath = relativePath; + this.sendInEmail = sendInEmail; + this.deletionAllowed = deletionAllowed; + this.url = url; + this.supplier = supplier; + this.supplierSpecific = supplierSpecific; + this.selectedForSupplier = selectedForSupplier; + } + + public RfpAttachment(@Nonnull String id) { + this(id, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null); + } + + /** + * Unique identifier for this attachment record. + */ + public String id() { + return this.id; + } + + /** + * ISO 8601 date-time the attachment was uploaded. + */ + public Optional created() { + return Optional.ofNullable(this.created); + } + + /** + * The size of attachment in bytes. + */ + public Optional size() { + return Optional.ofNullable(this.size); + } + + /** + * The document type. + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + /** + * True indicates the attachment is uploaded behind a secured URL. + */ + public Optional secure() { + return Optional.ofNullable(this.secure); + } + + /** + * Display name of the attachment. + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * Name of the attachment. Must be unique in the account. + */ + public Optional uniqueName() { + return Optional.ofNullable(this.uniqueName); + } + + /** + * The content type of the attachment + */ + public Optional mimeType() { + return Optional.ofNullable(this.mimeType); + } + + /** + * The source from where the attachment was uploaded. + */ + public Optional source() { + return Optional.ofNullable(this.source); + } + + /** + * The file path pointing to where the attachment is stored in Cvent. This path is relative to the base + * URL of the storage system and omits the root address. + */ + public Optional relativePath() { + return Optional.ofNullable(this.relativePath); + } + + /** + * True indicates the attachment should be sent in emails that notify suppliers about RFPs. + */ + public Optional sendInEmail() { + return Optional.ofNullable(this.sendInEmail); + } + + /** + * True indicates this attachment can be deleted. + */ + public Optional deletionAllowed() { + return Optional.ofNullable(this.deletionAllowed); + } + + /** + * URL of the attachment if `secure` is false. This field is null if `secure` is true. + */ + public Optional url() { + return Optional.ofNullable(this.url); + } + + /** + * Supplier associated with the attachment. + */ + public Optional supplier() { + return Optional.ofNullable(this.supplier); + } + + /** + * True indicates the attachment is only shown in the UI to the supplier whose ID is present in + * supplier.id field. + */ + public Optional supplierSpecific() { + return Optional.ofNullable(this.supplierSpecific); + } + + /** + * True indicates the attachment is selected for the supplier whose ID is present in supplier.id field. + */ + public Optional selectedForSupplier() { + return Optional.ofNullable(this.selectedForSupplier); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique identifier for this attachment record. + */ + public RfpAttachment withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * ISO 8601 date-time the attachment was uploaded. + */ + public RfpAttachment withCreated(@Nullable OffsetDateTime created) { + this.created = created; + return this; + } + + /** + * The size of attachment in bytes. + */ + public RfpAttachment withSize(@Nullable Long size) { + this.size = size; + return this; + } + + /** + * The document type. + */ + public RfpAttachment withType(@Nullable DocumentType1 type) { + this.type = type; + return this; + } + + /** + * True indicates the attachment is uploaded behind a secured URL. + */ + public RfpAttachment withSecure(@Nullable Boolean secure) { + this.secure = secure; + return this; + } + + /** + * Display name of the attachment. + */ + public RfpAttachment withName(@Nullable String name) { + this.name = name; + return this; + } + + /** + * Name of the attachment. Must be unique in the account. + */ + public RfpAttachment withUniqueName(@Nullable String uniqueName) { + this.uniqueName = uniqueName; + return this; + } + + /** + * The content type of the attachment + */ + public RfpAttachment withMimeType(@Nullable String mimeType) { + this.mimeType = mimeType; + return this; + } + + /** + * The source from where the attachment was uploaded. + */ + public RfpAttachment withSource(@Nullable AttachmentSource source) { + this.source = source; + return this; + } + + /** + * The file path pointing to where the attachment is stored in Cvent. This path is relative to the base + * URL of the storage system and omits the root address. + */ + public RfpAttachment withRelativePath(@Nullable String relativePath) { + this.relativePath = relativePath; + return this; + } + + /** + * True indicates the attachment should be sent in emails that notify suppliers about RFPs. + */ + public RfpAttachment withSendInEmail(@Nullable Boolean sendInEmail) { + this.sendInEmail = sendInEmail; + return this; + } + + /** + * True indicates this attachment can be deleted. + */ + public RfpAttachment withDeletionAllowed(@Nullable Boolean deletionAllowed) { + this.deletionAllowed = deletionAllowed; + return this; + } + + /** + * URL of the attachment if `secure` is false. This field is null if `secure` is true. + */ + public RfpAttachment withUrl(@Nullable String url) { + this.url = url; + return this; + } + + /** + * Supplier associated with the attachment. + */ + public RfpAttachment withSupplier(@Nullable RfpAttachmentSupplier supplier) { + this.supplier = supplier; + return this; + } + + /** + * True indicates the attachment is only shown in the UI to the supplier whose ID is present in + * supplier.id field. + */ + public RfpAttachment withSupplierSpecific(@Nullable Boolean supplierSpecific) { + this.supplierSpecific = supplierSpecific; + return this; + } + + /** + * True indicates the attachment is selected for the supplier whose ID is present in supplier.id field. + */ + public RfpAttachment withSelectedForSupplier(@Nullable Boolean selectedForSupplier) { + this.selectedForSupplier = selectedForSupplier; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RfpAttachment other = (RfpAttachment) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.created, other.created) + && Utils.enhancedDeepEquals(this.size, other.size) + && Utils.enhancedDeepEquals(this.type, other.type) + && Utils.enhancedDeepEquals(this.secure, other.secure) + && Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.uniqueName, other.uniqueName) + && Utils.enhancedDeepEquals(this.mimeType, other.mimeType) + && Utils.enhancedDeepEquals(this.source, other.source) + && Utils.enhancedDeepEquals(this.relativePath, other.relativePath) + && Utils.enhancedDeepEquals(this.sendInEmail, other.sendInEmail) + && Utils.enhancedDeepEquals(this.deletionAllowed, other.deletionAllowed) + && Utils.enhancedDeepEquals(this.url, other.url) + && Utils.enhancedDeepEquals(this.supplier, other.supplier) + && Utils.enhancedDeepEquals(this.supplierSpecific, other.supplierSpecific) + && Utils.enhancedDeepEquals(this.selectedForSupplier, other.selectedForSupplier); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + id, + created, + size, + type, + secure, + name, + uniqueName, + mimeType, + source, + relativePath, + sendInEmail, + deletionAllowed, + url, + supplier, + supplierSpecific, + selectedForSupplier); + } + + @Override + public String toString() { + return Utils.toString( + RfpAttachment.class, + "id", + id, + "created", + created, + "size", + size, + "type", + type, + "secure", + secure, + "name", + name, + "uniqueName", + uniqueName, + "mimeType", + mimeType, + "source", + source, + "relativePath", + relativePath, + "sendInEmail", + sendInEmail, + "deletionAllowed", + deletionAllowed, + "url", + url, + "supplier", + supplier, + "supplierSpecific", + supplierSpecific, + "selectedForSupplier", + selectedForSupplier); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private OffsetDateTime created; + + private Long size; + + private DocumentType1 type; + + private Boolean secure; + + private String name; + + private String uniqueName; + + private String mimeType; + + private AttachmentSource source; + + private String relativePath; + + private Boolean sendInEmail; + + private Boolean deletionAllowed; + + private String url; + + private RfpAttachmentSupplier supplier; + + private Boolean supplierSpecific; + + private Boolean selectedForSupplier; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique identifier for this attachment record. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * ISO 8601 date-time the attachment was uploaded. + */ + public Builder created(@Nullable OffsetDateTime created) { + this.created = created; + return this; + } + + /** + * The size of attachment in bytes. + */ + public Builder size(@Nullable Long size) { + this.size = size; + return this; + } + + /** + * The document type. + */ + public Builder type(@Nullable DocumentType1 type) { + this.type = type; + return this; + } + + /** + * True indicates the attachment is uploaded behind a secured URL. + */ + public Builder secure(@Nullable Boolean secure) { + this.secure = secure; + return this; + } + + /** + * Display name of the attachment. + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + /** + * Name of the attachment. Must be unique in the account. + */ + public Builder uniqueName(@Nullable String uniqueName) { + this.uniqueName = uniqueName; + return this; + } + + /** + * The content type of the attachment + */ + public Builder mimeType(@Nullable String mimeType) { + this.mimeType = mimeType; + return this; + } + + /** + * The source from where the attachment was uploaded. + */ + public Builder source(@Nullable AttachmentSource source) { + this.source = source; + return this; + } + + /** + * The file path pointing to where the attachment is stored in Cvent. This path is relative to the base + * URL of the storage system and omits the root address. + */ + public Builder relativePath(@Nullable String relativePath) { + this.relativePath = relativePath; + return this; + } + + /** + * True indicates the attachment should be sent in emails that notify suppliers about RFPs. + */ + public Builder sendInEmail(@Nullable Boolean sendInEmail) { + this.sendInEmail = sendInEmail; + return this; + } + + /** + * True indicates this attachment can be deleted. + */ + public Builder deletionAllowed(@Nullable Boolean deletionAllowed) { + this.deletionAllowed = deletionAllowed; + return this; + } + + /** + * URL of the attachment if `secure` is false. This field is null if `secure` is true. + */ + public Builder url(@Nullable String url) { + this.url = url; + return this; + } + + /** + * Supplier associated with the attachment. + */ + public Builder supplier(@Nullable RfpAttachmentSupplier supplier) { + this.supplier = supplier; + return this; + } + + /** + * True indicates the attachment is only shown in the UI to the supplier whose ID is present in + * supplier.id field. + */ + public Builder supplierSpecific(@Nullable Boolean supplierSpecific) { + this.supplierSpecific = supplierSpecific; + return this; + } + + /** + * True indicates the attachment is selected for the supplier whose ID is present in supplier.id field. + */ + public Builder selectedForSupplier(@Nullable Boolean selectedForSupplier) { + this.selectedForSupplier = selectedForSupplier; + return this; + } + + public RfpAttachment build() { + return new RfpAttachment( + id, + created, + size, + type, + secure, + name, + uniqueName, + mimeType, + source, + relativePath, + sendInEmail, + deletionAllowed, + url, + supplier, + supplierSpecific, + selectedForSupplier); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpAttachmentJson.java b/packages/java/src/main/java/com/cvent/models/components/RfpAttachmentJson.java deleted file mode 100644 index 94761346f..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/RfpAttachmentJson.java +++ /dev/null @@ -1,702 +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.Nonnull; -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.Optional; - -/** - * RfpAttachmentJson - * - *

This object contains Rfp specific attachments attributes. - */ -public class RfpAttachmentJson { - /** - * Unique identifier for this attachment record. - */ - @JsonProperty("id") - private String id; - - /** - * ISO 8601 date-time the attachment was uploaded. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("created") - private OffsetDateTime created; - - /** - * The size of attachment in bytes. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("size") - private Long size; - - /** - * The document type. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private DocumentTypeJson0 type; - - /** - * True indicates the attachment is uploaded behind a secured URL. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("secure") - private Boolean secure; - - /** - * Display name of the attachment. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - /** - * Name of the attachment. Must be unique in the account. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("uniqueName") - private String uniqueName; - - /** - * The content type of the attachment - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("mimeType") - private String mimeType; - - /** - * The source from where the attachment was uploaded. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("source") - private AttachmentSourceJson source; - - /** - * The file path pointing to where the attachment is stored in Cvent. This path is relative to the base - * URL of the storage system and omits the root address. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("relativePath") - private String relativePath; - - /** - * True indicates the attachment should be sent in emails that notify suppliers about RFPs. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("sendInEmail") - private Boolean sendInEmail; - - /** - * True indicates this attachment can be deleted. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("deletionAllowed") - private Boolean deletionAllowed; - - /** - * URL of the attachment if `secure` is false. This field is null if `secure` is true. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("url") - private String url; - - /** - * Supplier associated with the attachment. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("supplier") - private RfpAttachmentJsonSupplier supplier; - - /** - * True indicates the attachment is only shown in the UI to the supplier whose ID is present in - * supplier.id field. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("supplierSpecific") - private Boolean supplierSpecific; - - /** - * True indicates the attachment is selected for the supplier whose ID is present in supplier.id field. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("selectedForSupplier") - private Boolean selectedForSupplier; - - @JsonCreator - public RfpAttachmentJson( - @JsonProperty("id") @Nonnull String id, - @JsonProperty("created") @Nullable OffsetDateTime created, - @JsonProperty("size") @Nullable Long size, - @JsonProperty("type") @Nullable DocumentTypeJson0 type, - @JsonProperty("secure") @Nullable Boolean secure, - @JsonProperty("name") @Nullable String name, - @JsonProperty("uniqueName") @Nullable String uniqueName, - @JsonProperty("mimeType") @Nullable String mimeType, - @JsonProperty("source") @Nullable AttachmentSourceJson source, - @JsonProperty("relativePath") @Nullable String relativePath, - @JsonProperty("sendInEmail") @Nullable Boolean sendInEmail, - @JsonProperty("deletionAllowed") @Nullable Boolean deletionAllowed, - @JsonProperty("url") @Nullable String url, - @JsonProperty("supplier") @Nullable RfpAttachmentJsonSupplier supplier, - @JsonProperty("supplierSpecific") @Nullable Boolean supplierSpecific, - @JsonProperty("selectedForSupplier") @Nullable Boolean selectedForSupplier) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - this.created = created; - this.size = size; - this.type = type; - this.secure = secure; - this.name = name; - this.uniqueName = uniqueName; - this.mimeType = mimeType; - this.source = source; - this.relativePath = relativePath; - this.sendInEmail = sendInEmail; - this.deletionAllowed = deletionAllowed; - this.url = url; - this.supplier = supplier; - this.supplierSpecific = supplierSpecific; - this.selectedForSupplier = selectedForSupplier; - } - - public RfpAttachmentJson(@Nonnull String id) { - this(id, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null); - } - - /** - * Unique identifier for this attachment record. - */ - public String id() { - return this.id; - } - - /** - * ISO 8601 date-time the attachment was uploaded. - */ - public Optional created() { - return Optional.ofNullable(this.created); - } - - /** - * The size of attachment in bytes. - */ - public Optional size() { - return Optional.ofNullable(this.size); - } - - /** - * The document type. - */ - public Optional type() { - return Optional.ofNullable(this.type); - } - - /** - * True indicates the attachment is uploaded behind a secured URL. - */ - public Optional secure() { - return Optional.ofNullable(this.secure); - } - - /** - * Display name of the attachment. - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - /** - * Name of the attachment. Must be unique in the account. - */ - public Optional uniqueName() { - return Optional.ofNullable(this.uniqueName); - } - - /** - * The content type of the attachment - */ - public Optional mimeType() { - return Optional.ofNullable(this.mimeType); - } - - /** - * The source from where the attachment was uploaded. - */ - public Optional source() { - return Optional.ofNullable(this.source); - } - - /** - * The file path pointing to where the attachment is stored in Cvent. This path is relative to the base - * URL of the storage system and omits the root address. - */ - public Optional relativePath() { - return Optional.ofNullable(this.relativePath); - } - - /** - * True indicates the attachment should be sent in emails that notify suppliers about RFPs. - */ - public Optional sendInEmail() { - return Optional.ofNullable(this.sendInEmail); - } - - /** - * True indicates this attachment can be deleted. - */ - public Optional deletionAllowed() { - return Optional.ofNullable(this.deletionAllowed); - } - - /** - * URL of the attachment if `secure` is false. This field is null if `secure` is true. - */ - public Optional url() { - return Optional.ofNullable(this.url); - } - - /** - * Supplier associated with the attachment. - */ - public Optional supplier() { - return Optional.ofNullable(this.supplier); - } - - /** - * True indicates the attachment is only shown in the UI to the supplier whose ID is present in - * supplier.id field. - */ - public Optional supplierSpecific() { - return Optional.ofNullable(this.supplierSpecific); - } - - /** - * True indicates the attachment is selected for the supplier whose ID is present in supplier.id field. - */ - public Optional selectedForSupplier() { - return Optional.ofNullable(this.selectedForSupplier); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Unique identifier for this attachment record. - */ - public RfpAttachmentJson withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * ISO 8601 date-time the attachment was uploaded. - */ - public RfpAttachmentJson withCreated(@Nullable OffsetDateTime created) { - this.created = created; - return this; - } - - /** - * The size of attachment in bytes. - */ - public RfpAttachmentJson withSize(@Nullable Long size) { - this.size = size; - return this; - } - - /** - * The document type. - */ - public RfpAttachmentJson withType(@Nullable DocumentTypeJson0 type) { - this.type = type; - return this; - } - - /** - * True indicates the attachment is uploaded behind a secured URL. - */ - public RfpAttachmentJson withSecure(@Nullable Boolean secure) { - this.secure = secure; - return this; - } - - /** - * Display name of the attachment. - */ - public RfpAttachmentJson withName(@Nullable String name) { - this.name = name; - return this; - } - - /** - * Name of the attachment. Must be unique in the account. - */ - public RfpAttachmentJson withUniqueName(@Nullable String uniqueName) { - this.uniqueName = uniqueName; - return this; - } - - /** - * The content type of the attachment - */ - public RfpAttachmentJson withMimeType(@Nullable String mimeType) { - this.mimeType = mimeType; - return this; - } - - /** - * The source from where the attachment was uploaded. - */ - public RfpAttachmentJson withSource(@Nullable AttachmentSourceJson source) { - this.source = source; - return this; - } - - /** - * The file path pointing to where the attachment is stored in Cvent. This path is relative to the base - * URL of the storage system and omits the root address. - */ - public RfpAttachmentJson withRelativePath(@Nullable String relativePath) { - this.relativePath = relativePath; - return this; - } - - /** - * True indicates the attachment should be sent in emails that notify suppliers about RFPs. - */ - public RfpAttachmentJson withSendInEmail(@Nullable Boolean sendInEmail) { - this.sendInEmail = sendInEmail; - return this; - } - - /** - * True indicates this attachment can be deleted. - */ - public RfpAttachmentJson withDeletionAllowed(@Nullable Boolean deletionAllowed) { - this.deletionAllowed = deletionAllowed; - return this; - } - - /** - * URL of the attachment if `secure` is false. This field is null if `secure` is true. - */ - public RfpAttachmentJson withUrl(@Nullable String url) { - this.url = url; - return this; - } - - /** - * Supplier associated with the attachment. - */ - public RfpAttachmentJson withSupplier(@Nullable RfpAttachmentJsonSupplier supplier) { - this.supplier = supplier; - return this; - } - - /** - * True indicates the attachment is only shown in the UI to the supplier whose ID is present in - * supplier.id field. - */ - public RfpAttachmentJson withSupplierSpecific(@Nullable Boolean supplierSpecific) { - this.supplierSpecific = supplierSpecific; - return this; - } - - /** - * True indicates the attachment is selected for the supplier whose ID is present in supplier.id field. - */ - public RfpAttachmentJson withSelectedForSupplier(@Nullable Boolean selectedForSupplier) { - this.selectedForSupplier = selectedForSupplier; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - RfpAttachmentJson other = (RfpAttachmentJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.created, other.created) - && Utils.enhancedDeepEquals(this.size, other.size) - && Utils.enhancedDeepEquals(this.type, other.type) - && Utils.enhancedDeepEquals(this.secure, other.secure) - && Utils.enhancedDeepEquals(this.name, other.name) - && Utils.enhancedDeepEquals(this.uniqueName, other.uniqueName) - && Utils.enhancedDeepEquals(this.mimeType, other.mimeType) - && Utils.enhancedDeepEquals(this.source, other.source) - && Utils.enhancedDeepEquals(this.relativePath, other.relativePath) - && Utils.enhancedDeepEquals(this.sendInEmail, other.sendInEmail) - && Utils.enhancedDeepEquals(this.deletionAllowed, other.deletionAllowed) - && Utils.enhancedDeepEquals(this.url, other.url) - && Utils.enhancedDeepEquals(this.supplier, other.supplier) - && Utils.enhancedDeepEquals(this.supplierSpecific, other.supplierSpecific) - && Utils.enhancedDeepEquals(this.selectedForSupplier, other.selectedForSupplier); - } - - @Override - public int hashCode() { - return Utils.enhancedHash( - id, - created, - size, - type, - secure, - name, - uniqueName, - mimeType, - source, - relativePath, - sendInEmail, - deletionAllowed, - url, - supplier, - supplierSpecific, - selectedForSupplier); - } - - @Override - public String toString() { - return Utils.toString( - RfpAttachmentJson.class, - "id", - id, - "created", - created, - "size", - size, - "type", - type, - "secure", - secure, - "name", - name, - "uniqueName", - uniqueName, - "mimeType", - mimeType, - "source", - source, - "relativePath", - relativePath, - "sendInEmail", - sendInEmail, - "deletionAllowed", - deletionAllowed, - "url", - url, - "supplier", - supplier, - "supplierSpecific", - supplierSpecific, - "selectedForSupplier", - selectedForSupplier); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private OffsetDateTime created; - - private Long size; - - private DocumentTypeJson0 type; - - private Boolean secure; - - private String name; - - private String uniqueName; - - private String mimeType; - - private AttachmentSourceJson source; - - private String relativePath; - - private Boolean sendInEmail; - - private Boolean deletionAllowed; - - private String url; - - private RfpAttachmentJsonSupplier supplier; - - private Boolean supplierSpecific; - - private Boolean selectedForSupplier; - - private Builder() { - // force use of static builder() method - } - - /** - * Unique identifier for this attachment record. - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * ISO 8601 date-time the attachment was uploaded. - */ - public Builder created(@Nullable OffsetDateTime created) { - this.created = created; - return this; - } - - /** - * The size of attachment in bytes. - */ - public Builder size(@Nullable Long size) { - this.size = size; - return this; - } - - /** - * The document type. - */ - public Builder type(@Nullable DocumentTypeJson0 type) { - this.type = type; - return this; - } - - /** - * True indicates the attachment is uploaded behind a secured URL. - */ - public Builder secure(@Nullable Boolean secure) { - this.secure = secure; - return this; - } - - /** - * Display name of the attachment. - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - /** - * Name of the attachment. Must be unique in the account. - */ - public Builder uniqueName(@Nullable String uniqueName) { - this.uniqueName = uniqueName; - return this; - } - - /** - * The content type of the attachment - */ - public Builder mimeType(@Nullable String mimeType) { - this.mimeType = mimeType; - return this; - } - - /** - * The source from where the attachment was uploaded. - */ - public Builder source(@Nullable AttachmentSourceJson source) { - this.source = source; - return this; - } - - /** - * The file path pointing to where the attachment is stored in Cvent. This path is relative to the base - * URL of the storage system and omits the root address. - */ - public Builder relativePath(@Nullable String relativePath) { - this.relativePath = relativePath; - return this; - } - - /** - * True indicates the attachment should be sent in emails that notify suppliers about RFPs. - */ - public Builder sendInEmail(@Nullable Boolean sendInEmail) { - this.sendInEmail = sendInEmail; - return this; - } - - /** - * True indicates this attachment can be deleted. - */ - public Builder deletionAllowed(@Nullable Boolean deletionAllowed) { - this.deletionAllowed = deletionAllowed; - return this; - } - - /** - * URL of the attachment if `secure` is false. This field is null if `secure` is true. - */ - public Builder url(@Nullable String url) { - this.url = url; - return this; - } - - /** - * Supplier associated with the attachment. - */ - public Builder supplier(@Nullable RfpAttachmentJsonSupplier supplier) { - this.supplier = supplier; - return this; - } - - /** - * True indicates the attachment is only shown in the UI to the supplier whose ID is present in - * supplier.id field. - */ - public Builder supplierSpecific(@Nullable Boolean supplierSpecific) { - this.supplierSpecific = supplierSpecific; - return this; - } - - /** - * True indicates the attachment is selected for the supplier whose ID is present in supplier.id field. - */ - public Builder selectedForSupplier(@Nullable Boolean selectedForSupplier) { - this.selectedForSupplier = selectedForSupplier; - return this; - } - - public RfpAttachmentJson build() { - return new RfpAttachmentJson( - id, - created, - size, - type, - secure, - name, - uniqueName, - mimeType, - source, - relativePath, - sendInEmail, - deletionAllowed, - url, - supplier, - supplierSpecific, - selectedForSupplier); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpAttachmentJsonSupplier.java b/packages/java/src/main/java/com/cvent/models/components/RfpAttachmentJsonSupplier.java deleted file mode 100644 index adcd9fd92..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/RfpAttachmentJsonSupplier.java +++ /dev/null @@ -1,100 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * RfpAttachmentJsonSupplier - * - *

Supplier associated with the attachment. - */ -public class RfpAttachmentJsonSupplier { - /** - * ID of the supplier. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public RfpAttachmentJsonSupplier(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public RfpAttachmentJsonSupplier() { - this(null); - } - - /** - * ID of the supplier. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * ID of the supplier. - */ - public RfpAttachmentJsonSupplier withId(@Nullable String id) { - this.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; - } - RfpAttachmentJsonSupplier other = (RfpAttachmentJsonSupplier) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(RfpAttachmentJsonSupplier.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * ID of the supplier. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public RfpAttachmentJsonSupplier build() { - return new RfpAttachmentJsonSupplier(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpAttachmentSupplier.java b/packages/java/src/main/java/com/cvent/models/components/RfpAttachmentSupplier.java new file mode 100644 index 000000000..8aa63512a --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/RfpAttachmentSupplier.java @@ -0,0 +1,100 @@ +/* + * 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; + +/** + * RfpAttachmentSupplier + * + *

Supplier associated with the attachment. + */ +public class RfpAttachmentSupplier { + /** + * ID of the supplier. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public RfpAttachmentSupplier(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public RfpAttachmentSupplier() { + this(null); + } + + /** + * ID of the supplier. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * ID of the supplier. + */ + public RfpAttachmentSupplier withId(@Nullable String id) { + this.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; + } + RfpAttachmentSupplier other = (RfpAttachmentSupplier) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(RfpAttachmentSupplier.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * ID of the supplier. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public RfpAttachmentSupplier build() { + return new RfpAttachmentSupplier(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpCustomFieldJson.java b/packages/java/src/main/java/com/cvent/models/components/RfpCustomFieldJson.java deleted file mode 100644 index 07e898436..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/RfpCustomFieldJson.java +++ /dev/null @@ -1,155 +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; - -/** - * RfpCustomFieldJson - * - *

This object contains RFP custom fields attributes only. - */ -public class RfpCustomFieldJson { - /** - * An object containing custom field data. By default, contains only the field ID. - * - *

This is an **expandable** object. When requested via the `expand` query parameter with value - * `customField`, this object expands to include all properties of a custom field definition. - * - *

See the `expand` parameter documentation and refer to the [Get Custom - * Field](#tag/Custom-Fields/operation/getCustomField) API for the complete expanded schema. - */ - @JsonProperty("customField") - private ExpandableCustomObject customField; - - /** - * List of answers for the RFP custom field. - */ - @JsonProperty("answers") - private List answers; - - @JsonCreator - public RfpCustomFieldJson( - @JsonProperty("customField") @Nonnull ExpandableCustomObject customField, - @JsonProperty("answers") @Nonnull List answers) { - this.customField = Optional.ofNullable(customField) - .orElseThrow(() -> new IllegalArgumentException("customField cannot be null")); - this.answers = - Optional.ofNullable(answers).orElseThrow(() -> new IllegalArgumentException("answers cannot be null")); - } - - /** - * An object containing custom field data. By default, contains only the field ID. - * - *

This is an **expandable** object. When requested via the `expand` query parameter with value - * `customField`, this object expands to include all properties of a custom field definition. - * - *

See the `expand` parameter documentation and refer to the [Get Custom - * Field](#tag/Custom-Fields/operation/getCustomField) API for the complete expanded schema. - */ - public ExpandableCustomObject customField() { - return this.customField; - } - - /** - * List of answers for the RFP custom field. - */ - public List answers() { - return this.answers; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * An object containing custom field data. By default, contains only the field ID. - * - *

This is an **expandable** object. When requested via the `expand` query parameter with value - * `customField`, this object expands to include all properties of a custom field definition. - * - *

See the `expand` parameter documentation and refer to the [Get Custom - * Field](#tag/Custom-Fields/operation/getCustomField) API for the complete expanded schema. - */ - public RfpCustomFieldJson withCustomField(@Nonnull ExpandableCustomObject customField) { - this.customField = Utils.checkNotNull(customField, "customField"); - return this; - } - - /** - * List of answers for the RFP custom field. - */ - public RfpCustomFieldJson withAnswers(@Nonnull List answers) { - this.answers = Utils.checkNotNull(answers, "answers"); - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - RfpCustomFieldJson other = (RfpCustomFieldJson) o; - return Utils.enhancedDeepEquals(this.customField, other.customField) - && Utils.enhancedDeepEquals(this.answers, other.answers); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(customField, answers); - } - - @Override - public String toString() { - return Utils.toString(RfpCustomFieldJson.class, "customField", customField, "answers", answers); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private ExpandableCustomObject customField; - - private List answers; - - private Builder() { - // force use of static builder() method - } - - /** - * An object containing custom field data. By default, contains only the field ID. - * - *

This is an **expandable** object. When requested via the `expand` query parameter with value - * `customField`, this object expands to include all properties of a custom field definition. - * - *

See the `expand` parameter documentation and refer to the [Get Custom - * Field](#tag/Custom-Fields/operation/getCustomField) API for the complete expanded schema. - */ - public Builder customField(@Nonnull ExpandableCustomObject customField) { - this.customField = Utils.checkNotNull(customField, "customField"); - return this; - } - - /** - * List of answers for the RFP custom field. - */ - public Builder answers(@Nonnull List answers) { - this.answers = Utils.checkNotNull(answers, "answers"); - return this; - } - - public RfpCustomFieldJson build() { - return new RfpCustomFieldJson(customField, answers); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpDateMode.java b/packages/java/src/main/java/com/cvent/models/components/RfpDateMode.java new file mode 100644 index 000000000..fd94c85c0 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/RfpDateMode.java @@ -0,0 +1,39 @@ +/* + * 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; + +/** + * RfpDateMode + * + *

RfpDateMode + */ +public enum RfpDateMode { + ALTERNATE_DATE("ALTERNATE_DATE"), + DATE_PATTERN("DATE_PATTERN"); + + @JsonValue + private final String value; + + RfpDateMode(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (RfpDateMode o : RfpDateMode.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/RfpDateModeJson0.java b/packages/java/src/main/java/com/cvent/models/components/RfpDateModeJson0.java deleted file mode 100644 index a3c5d13c4..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/RfpDateModeJson0.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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; - -/** - * RfpDateModeJson0 - * - *

Way of specifying dates for the event. - */ -public enum RfpDateModeJson0 { - ALTERNATE_DATE("ALTERNATE_DATE"), - DATE_PATTERN("DATE_PATTERN"); - - @JsonValue - private final String value; - - RfpDateModeJson0(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (RfpDateModeJson0 o : RfpDateModeJson0.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/RfpEvent.java b/packages/java/src/main/java/com/cvent/models/components/RfpEvent.java new file mode 100644 index 000000000..30dc1ba96 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/RfpEvent.java @@ -0,0 +1,870 @@ +/* + * 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.Double; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * RfpEvent + * + *

RFP event details. + */ +public class RfpEvent { + /** + * Event details. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("event") + private Event12 event; + + /** + * Name of the event linked with the RFP. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + /** + * Location where the contract will be signed. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("contractSignatureLocation") + private String contractSignatureLocation; + + /** + * Destinations under consideration for the event. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("destinationsUnderConsideration") + private String destinationsUnderConsideration; + + /** + * True indicates that the event is associated with an external meeting request. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("externalMeetingRequest") + private Boolean externalMeetingRequest; + + /** + * Event type. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private EventType1 type; + + /** + * Space area divisons. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("totalMeetingSpaceRequired") + private SpaceArea totalMeetingSpaceRequired; + + /** + * Audio visual requirements. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("audioVisualNeeds") + private String audioVisualNeeds; + + /** + * Maximum number of meeting rooms required during the event. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("peakMeetingRooms") + private Long peakMeetingRooms; + + /** + * True indicates the event dates are flexible. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("flexibleDates") + private Boolean flexibleDates; + + /** + * True indicates event is a repeat occurrence. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("repeat") + private Boolean repeat; + + /** + * Number of in-person attendees per day. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("attendeesPerDay") + private Long attendeesPerDay; + + /** + * Reference number for the event. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("referenceNumber") + private String referenceNumber; + + /** + * Space area divisons. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("largestMeetingSpaceRequired") + private SpaceArea largestMeetingSpaceRequired; + + /** + * Unique identifier for meeting request associated with the event. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("meetingRequestId") + private String meetingRequestId; + + /** + * Event format type. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("formatType") + private EventFormatType formatType; + + /** + * Number of virtual attendees per day. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("virtualAttendeesPerDay") + private Long virtualAttendeesPerDay; + + /** + * Total budget amount. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("budget") + private Double budget; + + /** + * Budget for rooms rates. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("roomRateBudget") + private Double roomRateBudget; + + /** + * Budget for food and beverage. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("foodBeverageBudget") + private Double foodBeverageBudget; + + @JsonCreator + public RfpEvent( + @JsonProperty("event") @Nullable Event12 event, + @JsonProperty("name") @Nullable String name, + @JsonProperty("contractSignatureLocation") @Nullable String contractSignatureLocation, + @JsonProperty("destinationsUnderConsideration") @Nullable String destinationsUnderConsideration, + @JsonProperty("externalMeetingRequest") @Nullable Boolean externalMeetingRequest, + @JsonProperty("type") @Nullable EventType1 type, + @JsonProperty("totalMeetingSpaceRequired") @Nullable SpaceArea totalMeetingSpaceRequired, + @JsonProperty("audioVisualNeeds") @Nullable String audioVisualNeeds, + @JsonProperty("peakMeetingRooms") @Nullable Long peakMeetingRooms, + @JsonProperty("flexibleDates") @Nullable Boolean flexibleDates, + @JsonProperty("repeat") @Nullable Boolean repeat, + @JsonProperty("attendeesPerDay") @Nullable Long attendeesPerDay, + @JsonProperty("referenceNumber") @Nullable String referenceNumber, + @JsonProperty("largestMeetingSpaceRequired") @Nullable SpaceArea largestMeetingSpaceRequired, + @JsonProperty("meetingRequestId") @Nullable String meetingRequestId, + @JsonProperty("formatType") @Nullable EventFormatType formatType, + @JsonProperty("virtualAttendeesPerDay") @Nullable Long virtualAttendeesPerDay, + @JsonProperty("budget") @Nullable Double budget, + @JsonProperty("roomRateBudget") @Nullable Double roomRateBudget, + @JsonProperty("foodBeverageBudget") @Nullable Double foodBeverageBudget) { + this.event = event; + this.name = name; + this.contractSignatureLocation = contractSignatureLocation; + this.destinationsUnderConsideration = destinationsUnderConsideration; + this.externalMeetingRequest = externalMeetingRequest; + this.type = type; + this.totalMeetingSpaceRequired = totalMeetingSpaceRequired; + this.audioVisualNeeds = audioVisualNeeds; + this.peakMeetingRooms = peakMeetingRooms; + this.flexibleDates = flexibleDates; + this.repeat = repeat; + this.attendeesPerDay = attendeesPerDay; + this.referenceNumber = referenceNumber; + this.largestMeetingSpaceRequired = largestMeetingSpaceRequired; + this.meetingRequestId = meetingRequestId; + this.formatType = formatType; + this.virtualAttendeesPerDay = virtualAttendeesPerDay; + this.budget = budget; + this.roomRateBudget = roomRateBudget; + this.foodBeverageBudget = foodBeverageBudget; + } + + public RfpEvent() { + this( + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null); + } + + /** + * Event details. + */ + public Optional event() { + return Optional.ofNullable(this.event); + } + + /** + * Name of the event linked with the RFP. + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * Location where the contract will be signed. + */ + public Optional contractSignatureLocation() { + return Optional.ofNullable(this.contractSignatureLocation); + } + + /** + * Destinations under consideration for the event. + */ + public Optional destinationsUnderConsideration() { + return Optional.ofNullable(this.destinationsUnderConsideration); + } + + /** + * True indicates that the event is associated with an external meeting request. + */ + public Optional externalMeetingRequest() { + return Optional.ofNullable(this.externalMeetingRequest); + } + + /** + * Event type. + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + /** + * Space area divisons. + */ + public Optional totalMeetingSpaceRequired() { + return Optional.ofNullable(this.totalMeetingSpaceRequired); + } + + /** + * Audio visual requirements. + */ + public Optional audioVisualNeeds() { + return Optional.ofNullable(this.audioVisualNeeds); + } + + /** + * Maximum number of meeting rooms required during the event. + */ + public Optional peakMeetingRooms() { + return Optional.ofNullable(this.peakMeetingRooms); + } + + /** + * True indicates the event dates are flexible. + */ + public Optional flexibleDates() { + return Optional.ofNullable(this.flexibleDates); + } + + /** + * True indicates event is a repeat occurrence. + */ + public Optional repeat() { + return Optional.ofNullable(this.repeat); + } + + /** + * Number of in-person attendees per day. + */ + public Optional attendeesPerDay() { + return Optional.ofNullable(this.attendeesPerDay); + } + + /** + * Reference number for the event. + */ + public Optional referenceNumber() { + return Optional.ofNullable(this.referenceNumber); + } + + /** + * Space area divisons. + */ + public Optional largestMeetingSpaceRequired() { + return Optional.ofNullable(this.largestMeetingSpaceRequired); + } + + /** + * Unique identifier for meeting request associated with the event. + */ + public Optional meetingRequestId() { + return Optional.ofNullable(this.meetingRequestId); + } + + /** + * Event format type. + */ + public Optional formatType() { + return Optional.ofNullable(this.formatType); + } + + /** + * Number of virtual attendees per day. + */ + public Optional virtualAttendeesPerDay() { + return Optional.ofNullable(this.virtualAttendeesPerDay); + } + + /** + * Total budget amount. + */ + public Optional budget() { + return Optional.ofNullable(this.budget); + } + + /** + * Budget for rooms rates. + */ + public Optional roomRateBudget() { + return Optional.ofNullable(this.roomRateBudget); + } + + /** + * Budget for food and beverage. + */ + public Optional foodBeverageBudget() { + return Optional.ofNullable(this.foodBeverageBudget); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Event details. + */ + public RfpEvent withEvent(@Nullable Event12 event) { + this.event = event; + return this; + } + + /** + * Name of the event linked with the RFP. + */ + public RfpEvent withName(@Nullable String name) { + this.name = name; + return this; + } + + /** + * Location where the contract will be signed. + */ + public RfpEvent withContractSignatureLocation(@Nullable String contractSignatureLocation) { + this.contractSignatureLocation = contractSignatureLocation; + return this; + } + + /** + * Destinations under consideration for the event. + */ + public RfpEvent withDestinationsUnderConsideration(@Nullable String destinationsUnderConsideration) { + this.destinationsUnderConsideration = destinationsUnderConsideration; + return this; + } + + /** + * True indicates that the event is associated with an external meeting request. + */ + public RfpEvent withExternalMeetingRequest(@Nullable Boolean externalMeetingRequest) { + this.externalMeetingRequest = externalMeetingRequest; + return this; + } + + /** + * Event type. + */ + public RfpEvent withType(@Nullable EventType1 type) { + this.type = type; + return this; + } + + /** + * Space area divisons. + */ + public RfpEvent withTotalMeetingSpaceRequired(@Nullable SpaceArea totalMeetingSpaceRequired) { + this.totalMeetingSpaceRequired = totalMeetingSpaceRequired; + return this; + } + + /** + * Audio visual requirements. + */ + public RfpEvent withAudioVisualNeeds(@Nullable String audioVisualNeeds) { + this.audioVisualNeeds = audioVisualNeeds; + return this; + } + + /** + * Maximum number of meeting rooms required during the event. + */ + public RfpEvent withPeakMeetingRooms(@Nullable Long peakMeetingRooms) { + this.peakMeetingRooms = peakMeetingRooms; + return this; + } + + /** + * True indicates the event dates are flexible. + */ + public RfpEvent withFlexibleDates(@Nullable Boolean flexibleDates) { + this.flexibleDates = flexibleDates; + return this; + } + + /** + * True indicates event is a repeat occurrence. + */ + public RfpEvent withRepeat(@Nullable Boolean repeat) { + this.repeat = repeat; + return this; + } + + /** + * Number of in-person attendees per day. + */ + public RfpEvent withAttendeesPerDay(@Nullable Long attendeesPerDay) { + this.attendeesPerDay = attendeesPerDay; + return this; + } + + /** + * Reference number for the event. + */ + public RfpEvent withReferenceNumber(@Nullable String referenceNumber) { + this.referenceNumber = referenceNumber; + return this; + } + + /** + * Space area divisons. + */ + public RfpEvent withLargestMeetingSpaceRequired(@Nullable SpaceArea largestMeetingSpaceRequired) { + this.largestMeetingSpaceRequired = largestMeetingSpaceRequired; + return this; + } + + /** + * Unique identifier for meeting request associated with the event. + */ + public RfpEvent withMeetingRequestId(@Nullable String meetingRequestId) { + this.meetingRequestId = meetingRequestId; + return this; + } + + /** + * Event format type. + */ + public RfpEvent withFormatType(@Nullable EventFormatType formatType) { + this.formatType = formatType; + return this; + } + + /** + * Number of virtual attendees per day. + */ + public RfpEvent withVirtualAttendeesPerDay(@Nullable Long virtualAttendeesPerDay) { + this.virtualAttendeesPerDay = virtualAttendeesPerDay; + return this; + } + + /** + * Total budget amount. + */ + public RfpEvent withBudget(@Nullable Double budget) { + this.budget = budget; + return this; + } + + /** + * Budget for rooms rates. + */ + public RfpEvent withRoomRateBudget(@Nullable Double roomRateBudget) { + this.roomRateBudget = roomRateBudget; + return this; + } + + /** + * Budget for food and beverage. + */ + public RfpEvent withFoodBeverageBudget(@Nullable Double foodBeverageBudget) { + this.foodBeverageBudget = foodBeverageBudget; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RfpEvent other = (RfpEvent) o; + return Utils.enhancedDeepEquals(this.event, other.event) + && Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.contractSignatureLocation, other.contractSignatureLocation) + && Utils.enhancedDeepEquals(this.destinationsUnderConsideration, other.destinationsUnderConsideration) + && Utils.enhancedDeepEquals(this.externalMeetingRequest, other.externalMeetingRequest) + && Utils.enhancedDeepEquals(this.type, other.type) + && Utils.enhancedDeepEquals(this.totalMeetingSpaceRequired, other.totalMeetingSpaceRequired) + && Utils.enhancedDeepEquals(this.audioVisualNeeds, other.audioVisualNeeds) + && Utils.enhancedDeepEquals(this.peakMeetingRooms, other.peakMeetingRooms) + && Utils.enhancedDeepEquals(this.flexibleDates, other.flexibleDates) + && Utils.enhancedDeepEquals(this.repeat, other.repeat) + && Utils.enhancedDeepEquals(this.attendeesPerDay, other.attendeesPerDay) + && Utils.enhancedDeepEquals(this.referenceNumber, other.referenceNumber) + && Utils.enhancedDeepEquals(this.largestMeetingSpaceRequired, other.largestMeetingSpaceRequired) + && Utils.enhancedDeepEquals(this.meetingRequestId, other.meetingRequestId) + && Utils.enhancedDeepEquals(this.formatType, other.formatType) + && Utils.enhancedDeepEquals(this.virtualAttendeesPerDay, other.virtualAttendeesPerDay) + && Utils.enhancedDeepEquals(this.budget, other.budget) + && Utils.enhancedDeepEquals(this.roomRateBudget, other.roomRateBudget) + && Utils.enhancedDeepEquals(this.foodBeverageBudget, other.foodBeverageBudget); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + event, + name, + contractSignatureLocation, + destinationsUnderConsideration, + externalMeetingRequest, + type, + totalMeetingSpaceRequired, + audioVisualNeeds, + peakMeetingRooms, + flexibleDates, + repeat, + attendeesPerDay, + referenceNumber, + largestMeetingSpaceRequired, + meetingRequestId, + formatType, + virtualAttendeesPerDay, + budget, + roomRateBudget, + foodBeverageBudget); + } + + @Override + public String toString() { + return Utils.toString( + RfpEvent.class, + "event", + event, + "name", + name, + "contractSignatureLocation", + contractSignatureLocation, + "destinationsUnderConsideration", + destinationsUnderConsideration, + "externalMeetingRequest", + externalMeetingRequest, + "type", + type, + "totalMeetingSpaceRequired", + totalMeetingSpaceRequired, + "audioVisualNeeds", + audioVisualNeeds, + "peakMeetingRooms", + peakMeetingRooms, + "flexibleDates", + flexibleDates, + "repeat", + repeat, + "attendeesPerDay", + attendeesPerDay, + "referenceNumber", + referenceNumber, + "largestMeetingSpaceRequired", + largestMeetingSpaceRequired, + "meetingRequestId", + meetingRequestId, + "formatType", + formatType, + "virtualAttendeesPerDay", + virtualAttendeesPerDay, + "budget", + budget, + "roomRateBudget", + roomRateBudget, + "foodBeverageBudget", + foodBeverageBudget); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private Event12 event; + + private String name; + + private String contractSignatureLocation; + + private String destinationsUnderConsideration; + + private Boolean externalMeetingRequest; + + private EventType1 type; + + private SpaceArea totalMeetingSpaceRequired; + + private String audioVisualNeeds; + + private Long peakMeetingRooms; + + private Boolean flexibleDates; + + private Boolean repeat; + + private Long attendeesPerDay; + + private String referenceNumber; + + private SpaceArea largestMeetingSpaceRequired; + + private String meetingRequestId; + + private EventFormatType formatType; + + private Long virtualAttendeesPerDay; + + private Double budget; + + private Double roomRateBudget; + + private Double foodBeverageBudget; + + private Builder() { + // force use of static builder() method + } + + /** + * Event details. + */ + public Builder event(@Nullable Event12 event) { + this.event = event; + return this; + } + + /** + * Name of the event linked with the RFP. + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + /** + * Location where the contract will be signed. + */ + public Builder contractSignatureLocation(@Nullable String contractSignatureLocation) { + this.contractSignatureLocation = contractSignatureLocation; + return this; + } + + /** + * Destinations under consideration for the event. + */ + public Builder destinationsUnderConsideration(@Nullable String destinationsUnderConsideration) { + this.destinationsUnderConsideration = destinationsUnderConsideration; + return this; + } + + /** + * True indicates that the event is associated with an external meeting request. + */ + public Builder externalMeetingRequest(@Nullable Boolean externalMeetingRequest) { + this.externalMeetingRequest = externalMeetingRequest; + return this; + } + + /** + * Event type. + */ + public Builder type(@Nullable EventType1 type) { + this.type = type; + return this; + } + + /** + * Space area divisons. + */ + public Builder totalMeetingSpaceRequired(@Nullable SpaceArea totalMeetingSpaceRequired) { + this.totalMeetingSpaceRequired = totalMeetingSpaceRequired; + return this; + } + + /** + * Audio visual requirements. + */ + public Builder audioVisualNeeds(@Nullable String audioVisualNeeds) { + this.audioVisualNeeds = audioVisualNeeds; + return this; + } + + /** + * Maximum number of meeting rooms required during the event. + */ + public Builder peakMeetingRooms(@Nullable Long peakMeetingRooms) { + this.peakMeetingRooms = peakMeetingRooms; + return this; + } + + /** + * True indicates the event dates are flexible. + */ + public Builder flexibleDates(@Nullable Boolean flexibleDates) { + this.flexibleDates = flexibleDates; + return this; + } + + /** + * True indicates event is a repeat occurrence. + */ + public Builder repeat(@Nullable Boolean repeat) { + this.repeat = repeat; + return this; + } + + /** + * Number of in-person attendees per day. + */ + public Builder attendeesPerDay(@Nullable Long attendeesPerDay) { + this.attendeesPerDay = attendeesPerDay; + return this; + } + + /** + * Reference number for the event. + */ + public Builder referenceNumber(@Nullable String referenceNumber) { + this.referenceNumber = referenceNumber; + return this; + } + + /** + * Space area divisons. + */ + public Builder largestMeetingSpaceRequired(@Nullable SpaceArea largestMeetingSpaceRequired) { + this.largestMeetingSpaceRequired = largestMeetingSpaceRequired; + return this; + } + + /** + * Unique identifier for meeting request associated with the event. + */ + public Builder meetingRequestId(@Nullable String meetingRequestId) { + this.meetingRequestId = meetingRequestId; + return this; + } + + /** + * Event format type. + */ + public Builder formatType(@Nullable EventFormatType formatType) { + this.formatType = formatType; + return this; + } + + /** + * Number of virtual attendees per day. + */ + public Builder virtualAttendeesPerDay(@Nullable Long virtualAttendeesPerDay) { + this.virtualAttendeesPerDay = virtualAttendeesPerDay; + return this; + } + + /** + * Total budget amount. + */ + public Builder budget(@Nullable Double budget) { + this.budget = budget; + return this; + } + + /** + * Budget for rooms rates. + */ + public Builder roomRateBudget(@Nullable Double roomRateBudget) { + this.roomRateBudget = roomRateBudget; + return this; + } + + /** + * Budget for food and beverage. + */ + public Builder foodBeverageBudget(@Nullable Double foodBeverageBudget) { + this.foodBeverageBudget = foodBeverageBudget; + return this; + } + + public RfpEvent build() { + return new RfpEvent( + event, + name, + contractSignatureLocation, + destinationsUnderConsideration, + externalMeetingRequest, + type, + totalMeetingSpaceRequired, + audioVisualNeeds, + peakMeetingRooms, + flexibleDates, + repeat, + attendeesPerDay, + referenceNumber, + largestMeetingSpaceRequired, + meetingRequestId, + formatType, + virtualAttendeesPerDay, + budget, + roomRateBudget, + foodBeverageBudget); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpEventJson.java b/packages/java/src/main/java/com/cvent/models/components/RfpEventJson.java deleted file mode 100644 index 14fa60ca8..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/RfpEventJson.java +++ /dev/null @@ -1,870 +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.Double; -import java.lang.Long; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * RfpEventJson - * - *

RFP event details. - */ -public class RfpEventJson { - /** - * Event details. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("event") - private EventJson0 event; - - /** - * Name of the event linked with the RFP. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - /** - * Location where the contract will be signed. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("contractSignatureLocation") - private String contractSignatureLocation; - - /** - * Destinations under consideration for the event. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("destinationsUnderConsideration") - private String destinationsUnderConsideration; - - /** - * True indicates that the event is associated with an external meeting request. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("externalMeetingRequest") - private Boolean externalMeetingRequest; - - /** - * Event type. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private EventTypeJson0 type; - - /** - * Space area divisons. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("totalMeetingSpaceRequired") - private SpaceAreaJson0 totalMeetingSpaceRequired; - - /** - * Audio visual requirements. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("audioVisualNeeds") - private String audioVisualNeeds; - - /** - * Maximum number of meeting rooms required during the event. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("peakMeetingRooms") - private Long peakMeetingRooms; - - /** - * True indicates the event dates are flexible. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("flexibleDates") - private Boolean flexibleDates; - - /** - * True indicates event is a repeat occurrence. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("repeat") - private Boolean repeat; - - /** - * Number of in-person attendees per day. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("attendeesPerDay") - private Long attendeesPerDay; - - /** - * Reference number for the event. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("referenceNumber") - private String referenceNumber; - - /** - * Space area divisons. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("largestMeetingSpaceRequired") - private SpaceAreaJson0 largestMeetingSpaceRequired; - - /** - * Unique identifier for meeting request associated with the event. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("meetingRequestId") - private String meetingRequestId; - - /** - * Event format type. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("formatType") - private EventFormatTypeJson0 formatType; - - /** - * Number of virtual attendees per day. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("virtualAttendeesPerDay") - private Long virtualAttendeesPerDay; - - /** - * Total budget amount. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("budget") - private Double budget; - - /** - * Budget for rooms rates. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("roomRateBudget") - private Double roomRateBudget; - - /** - * Budget for food and beverage. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("foodBeverageBudget") - private Double foodBeverageBudget; - - @JsonCreator - public RfpEventJson( - @JsonProperty("event") @Nullable EventJson0 event, - @JsonProperty("name") @Nullable String name, - @JsonProperty("contractSignatureLocation") @Nullable String contractSignatureLocation, - @JsonProperty("destinationsUnderConsideration") @Nullable String destinationsUnderConsideration, - @JsonProperty("externalMeetingRequest") @Nullable Boolean externalMeetingRequest, - @JsonProperty("type") @Nullable EventTypeJson0 type, - @JsonProperty("totalMeetingSpaceRequired") @Nullable SpaceAreaJson0 totalMeetingSpaceRequired, - @JsonProperty("audioVisualNeeds") @Nullable String audioVisualNeeds, - @JsonProperty("peakMeetingRooms") @Nullable Long peakMeetingRooms, - @JsonProperty("flexibleDates") @Nullable Boolean flexibleDates, - @JsonProperty("repeat") @Nullable Boolean repeat, - @JsonProperty("attendeesPerDay") @Nullable Long attendeesPerDay, - @JsonProperty("referenceNumber") @Nullable String referenceNumber, - @JsonProperty("largestMeetingSpaceRequired") @Nullable SpaceAreaJson0 largestMeetingSpaceRequired, - @JsonProperty("meetingRequestId") @Nullable String meetingRequestId, - @JsonProperty("formatType") @Nullable EventFormatTypeJson0 formatType, - @JsonProperty("virtualAttendeesPerDay") @Nullable Long virtualAttendeesPerDay, - @JsonProperty("budget") @Nullable Double budget, - @JsonProperty("roomRateBudget") @Nullable Double roomRateBudget, - @JsonProperty("foodBeverageBudget") @Nullable Double foodBeverageBudget) { - this.event = event; - this.name = name; - this.contractSignatureLocation = contractSignatureLocation; - this.destinationsUnderConsideration = destinationsUnderConsideration; - this.externalMeetingRequest = externalMeetingRequest; - this.type = type; - this.totalMeetingSpaceRequired = totalMeetingSpaceRequired; - this.audioVisualNeeds = audioVisualNeeds; - this.peakMeetingRooms = peakMeetingRooms; - this.flexibleDates = flexibleDates; - this.repeat = repeat; - this.attendeesPerDay = attendeesPerDay; - this.referenceNumber = referenceNumber; - this.largestMeetingSpaceRequired = largestMeetingSpaceRequired; - this.meetingRequestId = meetingRequestId; - this.formatType = formatType; - this.virtualAttendeesPerDay = virtualAttendeesPerDay; - this.budget = budget; - this.roomRateBudget = roomRateBudget; - this.foodBeverageBudget = foodBeverageBudget; - } - - public RfpEventJson() { - this( - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null); - } - - /** - * Event details. - */ - public Optional event() { - return Optional.ofNullable(this.event); - } - - /** - * Name of the event linked with the RFP. - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - /** - * Location where the contract will be signed. - */ - public Optional contractSignatureLocation() { - return Optional.ofNullable(this.contractSignatureLocation); - } - - /** - * Destinations under consideration for the event. - */ - public Optional destinationsUnderConsideration() { - return Optional.ofNullable(this.destinationsUnderConsideration); - } - - /** - * True indicates that the event is associated with an external meeting request. - */ - public Optional externalMeetingRequest() { - return Optional.ofNullable(this.externalMeetingRequest); - } - - /** - * Event type. - */ - public Optional type() { - return Optional.ofNullable(this.type); - } - - /** - * Space area divisons. - */ - public Optional totalMeetingSpaceRequired() { - return Optional.ofNullable(this.totalMeetingSpaceRequired); - } - - /** - * Audio visual requirements. - */ - public Optional audioVisualNeeds() { - return Optional.ofNullable(this.audioVisualNeeds); - } - - /** - * Maximum number of meeting rooms required during the event. - */ - public Optional peakMeetingRooms() { - return Optional.ofNullable(this.peakMeetingRooms); - } - - /** - * True indicates the event dates are flexible. - */ - public Optional flexibleDates() { - return Optional.ofNullable(this.flexibleDates); - } - - /** - * True indicates event is a repeat occurrence. - */ - public Optional repeat() { - return Optional.ofNullable(this.repeat); - } - - /** - * Number of in-person attendees per day. - */ - public Optional attendeesPerDay() { - return Optional.ofNullable(this.attendeesPerDay); - } - - /** - * Reference number for the event. - */ - public Optional referenceNumber() { - return Optional.ofNullable(this.referenceNumber); - } - - /** - * Space area divisons. - */ - public Optional largestMeetingSpaceRequired() { - return Optional.ofNullable(this.largestMeetingSpaceRequired); - } - - /** - * Unique identifier for meeting request associated with the event. - */ - public Optional meetingRequestId() { - return Optional.ofNullable(this.meetingRequestId); - } - - /** - * Event format type. - */ - public Optional formatType() { - return Optional.ofNullable(this.formatType); - } - - /** - * Number of virtual attendees per day. - */ - public Optional virtualAttendeesPerDay() { - return Optional.ofNullable(this.virtualAttendeesPerDay); - } - - /** - * Total budget amount. - */ - public Optional budget() { - return Optional.ofNullable(this.budget); - } - - /** - * Budget for rooms rates. - */ - public Optional roomRateBudget() { - return Optional.ofNullable(this.roomRateBudget); - } - - /** - * Budget for food and beverage. - */ - public Optional foodBeverageBudget() { - return Optional.ofNullable(this.foodBeverageBudget); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Event details. - */ - public RfpEventJson withEvent(@Nullable EventJson0 event) { - this.event = event; - return this; - } - - /** - * Name of the event linked with the RFP. - */ - public RfpEventJson withName(@Nullable String name) { - this.name = name; - return this; - } - - /** - * Location where the contract will be signed. - */ - public RfpEventJson withContractSignatureLocation(@Nullable String contractSignatureLocation) { - this.contractSignatureLocation = contractSignatureLocation; - return this; - } - - /** - * Destinations under consideration for the event. - */ - public RfpEventJson withDestinationsUnderConsideration(@Nullable String destinationsUnderConsideration) { - this.destinationsUnderConsideration = destinationsUnderConsideration; - return this; - } - - /** - * True indicates that the event is associated with an external meeting request. - */ - public RfpEventJson withExternalMeetingRequest(@Nullable Boolean externalMeetingRequest) { - this.externalMeetingRequest = externalMeetingRequest; - return this; - } - - /** - * Event type. - */ - public RfpEventJson withType(@Nullable EventTypeJson0 type) { - this.type = type; - return this; - } - - /** - * Space area divisons. - */ - public RfpEventJson withTotalMeetingSpaceRequired(@Nullable SpaceAreaJson0 totalMeetingSpaceRequired) { - this.totalMeetingSpaceRequired = totalMeetingSpaceRequired; - return this; - } - - /** - * Audio visual requirements. - */ - public RfpEventJson withAudioVisualNeeds(@Nullable String audioVisualNeeds) { - this.audioVisualNeeds = audioVisualNeeds; - return this; - } - - /** - * Maximum number of meeting rooms required during the event. - */ - public RfpEventJson withPeakMeetingRooms(@Nullable Long peakMeetingRooms) { - this.peakMeetingRooms = peakMeetingRooms; - return this; - } - - /** - * True indicates the event dates are flexible. - */ - public RfpEventJson withFlexibleDates(@Nullable Boolean flexibleDates) { - this.flexibleDates = flexibleDates; - return this; - } - - /** - * True indicates event is a repeat occurrence. - */ - public RfpEventJson withRepeat(@Nullable Boolean repeat) { - this.repeat = repeat; - return this; - } - - /** - * Number of in-person attendees per day. - */ - public RfpEventJson withAttendeesPerDay(@Nullable Long attendeesPerDay) { - this.attendeesPerDay = attendeesPerDay; - return this; - } - - /** - * Reference number for the event. - */ - public RfpEventJson withReferenceNumber(@Nullable String referenceNumber) { - this.referenceNumber = referenceNumber; - return this; - } - - /** - * Space area divisons. - */ - public RfpEventJson withLargestMeetingSpaceRequired(@Nullable SpaceAreaJson0 largestMeetingSpaceRequired) { - this.largestMeetingSpaceRequired = largestMeetingSpaceRequired; - return this; - } - - /** - * Unique identifier for meeting request associated with the event. - */ - public RfpEventJson withMeetingRequestId(@Nullable String meetingRequestId) { - this.meetingRequestId = meetingRequestId; - return this; - } - - /** - * Event format type. - */ - public RfpEventJson withFormatType(@Nullable EventFormatTypeJson0 formatType) { - this.formatType = formatType; - return this; - } - - /** - * Number of virtual attendees per day. - */ - public RfpEventJson withVirtualAttendeesPerDay(@Nullable Long virtualAttendeesPerDay) { - this.virtualAttendeesPerDay = virtualAttendeesPerDay; - return this; - } - - /** - * Total budget amount. - */ - public RfpEventJson withBudget(@Nullable Double budget) { - this.budget = budget; - return this; - } - - /** - * Budget for rooms rates. - */ - public RfpEventJson withRoomRateBudget(@Nullable Double roomRateBudget) { - this.roomRateBudget = roomRateBudget; - return this; - } - - /** - * Budget for food and beverage. - */ - public RfpEventJson withFoodBeverageBudget(@Nullable Double foodBeverageBudget) { - this.foodBeverageBudget = foodBeverageBudget; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - RfpEventJson other = (RfpEventJson) o; - return Utils.enhancedDeepEquals(this.event, other.event) - && Utils.enhancedDeepEquals(this.name, other.name) - && Utils.enhancedDeepEquals(this.contractSignatureLocation, other.contractSignatureLocation) - && Utils.enhancedDeepEquals(this.destinationsUnderConsideration, other.destinationsUnderConsideration) - && Utils.enhancedDeepEquals(this.externalMeetingRequest, other.externalMeetingRequest) - && Utils.enhancedDeepEquals(this.type, other.type) - && Utils.enhancedDeepEquals(this.totalMeetingSpaceRequired, other.totalMeetingSpaceRequired) - && Utils.enhancedDeepEquals(this.audioVisualNeeds, other.audioVisualNeeds) - && Utils.enhancedDeepEquals(this.peakMeetingRooms, other.peakMeetingRooms) - && Utils.enhancedDeepEquals(this.flexibleDates, other.flexibleDates) - && Utils.enhancedDeepEquals(this.repeat, other.repeat) - && Utils.enhancedDeepEquals(this.attendeesPerDay, other.attendeesPerDay) - && Utils.enhancedDeepEquals(this.referenceNumber, other.referenceNumber) - && Utils.enhancedDeepEquals(this.largestMeetingSpaceRequired, other.largestMeetingSpaceRequired) - && Utils.enhancedDeepEquals(this.meetingRequestId, other.meetingRequestId) - && Utils.enhancedDeepEquals(this.formatType, other.formatType) - && Utils.enhancedDeepEquals(this.virtualAttendeesPerDay, other.virtualAttendeesPerDay) - && Utils.enhancedDeepEquals(this.budget, other.budget) - && Utils.enhancedDeepEquals(this.roomRateBudget, other.roomRateBudget) - && Utils.enhancedDeepEquals(this.foodBeverageBudget, other.foodBeverageBudget); - } - - @Override - public int hashCode() { - return Utils.enhancedHash( - event, - name, - contractSignatureLocation, - destinationsUnderConsideration, - externalMeetingRequest, - type, - totalMeetingSpaceRequired, - audioVisualNeeds, - peakMeetingRooms, - flexibleDates, - repeat, - attendeesPerDay, - referenceNumber, - largestMeetingSpaceRequired, - meetingRequestId, - formatType, - virtualAttendeesPerDay, - budget, - roomRateBudget, - foodBeverageBudget); - } - - @Override - public String toString() { - return Utils.toString( - RfpEventJson.class, - "event", - event, - "name", - name, - "contractSignatureLocation", - contractSignatureLocation, - "destinationsUnderConsideration", - destinationsUnderConsideration, - "externalMeetingRequest", - externalMeetingRequest, - "type", - type, - "totalMeetingSpaceRequired", - totalMeetingSpaceRequired, - "audioVisualNeeds", - audioVisualNeeds, - "peakMeetingRooms", - peakMeetingRooms, - "flexibleDates", - flexibleDates, - "repeat", - repeat, - "attendeesPerDay", - attendeesPerDay, - "referenceNumber", - referenceNumber, - "largestMeetingSpaceRequired", - largestMeetingSpaceRequired, - "meetingRequestId", - meetingRequestId, - "formatType", - formatType, - "virtualAttendeesPerDay", - virtualAttendeesPerDay, - "budget", - budget, - "roomRateBudget", - roomRateBudget, - "foodBeverageBudget", - foodBeverageBudget); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private EventJson0 event; - - private String name; - - private String contractSignatureLocation; - - private String destinationsUnderConsideration; - - private Boolean externalMeetingRequest; - - private EventTypeJson0 type; - - private SpaceAreaJson0 totalMeetingSpaceRequired; - - private String audioVisualNeeds; - - private Long peakMeetingRooms; - - private Boolean flexibleDates; - - private Boolean repeat; - - private Long attendeesPerDay; - - private String referenceNumber; - - private SpaceAreaJson0 largestMeetingSpaceRequired; - - private String meetingRequestId; - - private EventFormatTypeJson0 formatType; - - private Long virtualAttendeesPerDay; - - private Double budget; - - private Double roomRateBudget; - - private Double foodBeverageBudget; - - private Builder() { - // force use of static builder() method - } - - /** - * Event details. - */ - public Builder event(@Nullable EventJson0 event) { - this.event = event; - return this; - } - - /** - * Name of the event linked with the RFP. - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - /** - * Location where the contract will be signed. - */ - public Builder contractSignatureLocation(@Nullable String contractSignatureLocation) { - this.contractSignatureLocation = contractSignatureLocation; - return this; - } - - /** - * Destinations under consideration for the event. - */ - public Builder destinationsUnderConsideration(@Nullable String destinationsUnderConsideration) { - this.destinationsUnderConsideration = destinationsUnderConsideration; - return this; - } - - /** - * True indicates that the event is associated with an external meeting request. - */ - public Builder externalMeetingRequest(@Nullable Boolean externalMeetingRequest) { - this.externalMeetingRequest = externalMeetingRequest; - return this; - } - - /** - * Event type. - */ - public Builder type(@Nullable EventTypeJson0 type) { - this.type = type; - return this; - } - - /** - * Space area divisons. - */ - public Builder totalMeetingSpaceRequired(@Nullable SpaceAreaJson0 totalMeetingSpaceRequired) { - this.totalMeetingSpaceRequired = totalMeetingSpaceRequired; - return this; - } - - /** - * Audio visual requirements. - */ - public Builder audioVisualNeeds(@Nullable String audioVisualNeeds) { - this.audioVisualNeeds = audioVisualNeeds; - return this; - } - - /** - * Maximum number of meeting rooms required during the event. - */ - public Builder peakMeetingRooms(@Nullable Long peakMeetingRooms) { - this.peakMeetingRooms = peakMeetingRooms; - return this; - } - - /** - * True indicates the event dates are flexible. - */ - public Builder flexibleDates(@Nullable Boolean flexibleDates) { - this.flexibleDates = flexibleDates; - return this; - } - - /** - * True indicates event is a repeat occurrence. - */ - public Builder repeat(@Nullable Boolean repeat) { - this.repeat = repeat; - return this; - } - - /** - * Number of in-person attendees per day. - */ - public Builder attendeesPerDay(@Nullable Long attendeesPerDay) { - this.attendeesPerDay = attendeesPerDay; - return this; - } - - /** - * Reference number for the event. - */ - public Builder referenceNumber(@Nullable String referenceNumber) { - this.referenceNumber = referenceNumber; - return this; - } - - /** - * Space area divisons. - */ - public Builder largestMeetingSpaceRequired(@Nullable SpaceAreaJson0 largestMeetingSpaceRequired) { - this.largestMeetingSpaceRequired = largestMeetingSpaceRequired; - return this; - } - - /** - * Unique identifier for meeting request associated with the event. - */ - public Builder meetingRequestId(@Nullable String meetingRequestId) { - this.meetingRequestId = meetingRequestId; - return this; - } - - /** - * Event format type. - */ - public Builder formatType(@Nullable EventFormatTypeJson0 formatType) { - this.formatType = formatType; - return this; - } - - /** - * Number of virtual attendees per day. - */ - public Builder virtualAttendeesPerDay(@Nullable Long virtualAttendeesPerDay) { - this.virtualAttendeesPerDay = virtualAttendeesPerDay; - return this; - } - - /** - * Total budget amount. - */ - public Builder budget(@Nullable Double budget) { - this.budget = budget; - return this; - } - - /** - * Budget for rooms rates. - */ - public Builder roomRateBudget(@Nullable Double roomRateBudget) { - this.roomRateBudget = roomRateBudget; - return this; - } - - /** - * Budget for food and beverage. - */ - public Builder foodBeverageBudget(@Nullable Double foodBeverageBudget) { - this.foodBeverageBudget = foodBeverageBudget; - return this; - } - - public RfpEventJson build() { - return new RfpEventJson( - event, - name, - contractSignatureLocation, - destinationsUnderConsideration, - externalMeetingRequest, - type, - totalMeetingSpaceRequired, - audioVisualNeeds, - peakMeetingRooms, - flexibleDates, - repeat, - attendeesPerDay, - referenceNumber, - largestMeetingSpaceRequired, - meetingRequestId, - formatType, - virtualAttendeesPerDay, - budget, - roomRateBudget, - foodBeverageBudget); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpEventOrganizationJson.java b/packages/java/src/main/java/com/cvent/models/components/RfpEventOrganizationJson.java deleted file mode 100644 index e4e4e6b28..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/RfpEventOrganizationJson.java +++ /dev/null @@ -1,328 +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.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Boolean; -import java.lang.Long; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * RfpEventOrganizationJson - * - *

Details of organization which is hosting the event. - */ -public class RfpEventOrganizationJson { - /** - * Organization details. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("organization") - private OrganizationJson organization; - - /** - * True indicates organization profile has to be kept confidential. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("confidentialProfile") - private Boolean confidentialProfile; - - /** - * Industry - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("industry") - private IndustryJson0 industry; - - /** - * Name of the organization hosting the event. - */ - @JsonProperty("name") - private String name; - - /** - * Organization type. - */ - @JsonProperty("type") - private OrganizationTypeJson0 type; - - /** - * Address details. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("address") - private AddressJson0 address; - - /** - * Number of events per year. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("eventsPerYear") - private Long eventsPerYear; - - @JsonCreator - public RfpEventOrganizationJson( - @JsonProperty("organization") @Nullable OrganizationJson organization, - @JsonProperty("confidentialProfile") @Nullable Boolean confidentialProfile, - @JsonProperty("industry") @Nullable IndustryJson0 industry, - @JsonProperty("name") @Nonnull String name, - @JsonProperty("type") @Nonnull OrganizationTypeJson0 type, - @JsonProperty("address") @Nullable AddressJson0 address, - @JsonProperty("eventsPerYear") @Nullable Long eventsPerYear) { - this.organization = organization; - this.confidentialProfile = confidentialProfile; - this.industry = industry; - this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); - this.type = Optional.ofNullable(type).orElseThrow(() -> new IllegalArgumentException("type cannot be null")); - this.address = address; - this.eventsPerYear = eventsPerYear; - } - - public RfpEventOrganizationJson(@Nonnull String name, @Nonnull OrganizationTypeJson0 type) { - this(null, null, null, name, type, null, null); - } - - /** - * Organization details. - */ - public Optional organization() { - return Optional.ofNullable(this.organization); - } - - /** - * True indicates organization profile has to be kept confidential. - */ - public Optional confidentialProfile() { - return Optional.ofNullable(this.confidentialProfile); - } - - /** - * Industry - */ - public Optional industry() { - return Optional.ofNullable(this.industry); - } - - /** - * Name of the organization hosting the event. - */ - public String name() { - return this.name; - } - - /** - * Organization type. - */ - public OrganizationTypeJson0 type() { - return this.type; - } - - /** - * Address details. - */ - public Optional address() { - return Optional.ofNullable(this.address); - } - - /** - * Number of events per year. - */ - public Optional eventsPerYear() { - return Optional.ofNullable(this.eventsPerYear); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Organization details. - */ - public RfpEventOrganizationJson withOrganization(@Nullable OrganizationJson organization) { - this.organization = organization; - return this; - } - - /** - * True indicates organization profile has to be kept confidential. - */ - public RfpEventOrganizationJson withConfidentialProfile(@Nullable Boolean confidentialProfile) { - this.confidentialProfile = confidentialProfile; - return this; - } - - /** - * Industry - */ - public RfpEventOrganizationJson withIndustry(@Nullable IndustryJson0 industry) { - this.industry = industry; - return this; - } - - /** - * Name of the organization hosting the event. - */ - public RfpEventOrganizationJson withName(@Nonnull String name) { - this.name = Utils.checkNotNull(name, "name"); - return this; - } - - /** - * Organization type. - */ - public RfpEventOrganizationJson withType(@Nonnull OrganizationTypeJson0 type) { - this.type = Utils.checkNotNull(type, "type"); - return this; - } - - /** - * Address details. - */ - public RfpEventOrganizationJson withAddress(@Nullable AddressJson0 address) { - this.address = address; - return this; - } - - /** - * Number of events per year. - */ - public RfpEventOrganizationJson withEventsPerYear(@Nullable Long eventsPerYear) { - this.eventsPerYear = eventsPerYear; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - RfpEventOrganizationJson other = (RfpEventOrganizationJson) o; - return Utils.enhancedDeepEquals(this.organization, other.organization) - && Utils.enhancedDeepEquals(this.confidentialProfile, other.confidentialProfile) - && Utils.enhancedDeepEquals(this.industry, other.industry) - && Utils.enhancedDeepEquals(this.name, other.name) - && Utils.enhancedDeepEquals(this.type, other.type) - && Utils.enhancedDeepEquals(this.address, other.address) - && Utils.enhancedDeepEquals(this.eventsPerYear, other.eventsPerYear); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(organization, confidentialProfile, industry, name, type, address, eventsPerYear); - } - - @Override - public String toString() { - return Utils.toString( - RfpEventOrganizationJson.class, - "organization", - organization, - "confidentialProfile", - confidentialProfile, - "industry", - industry, - "name", - name, - "type", - type, - "address", - address, - "eventsPerYear", - eventsPerYear); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private OrganizationJson organization; - - private Boolean confidentialProfile; - - private IndustryJson0 industry; - - private String name; - - private OrganizationTypeJson0 type; - - private AddressJson0 address; - - private Long eventsPerYear; - - private Builder() { - // force use of static builder() method - } - - /** - * Organization details. - */ - public Builder organization(@Nullable OrganizationJson organization) { - this.organization = organization; - return this; - } - - /** - * True indicates organization profile has to be kept confidential. - */ - public Builder confidentialProfile(@Nullable Boolean confidentialProfile) { - this.confidentialProfile = confidentialProfile; - return this; - } - - /** - * Industry - */ - public Builder industry(@Nullable IndustryJson0 industry) { - this.industry = industry; - return this; - } - - /** - * Name of the organization hosting the event. - */ - public Builder name(@Nonnull String name) { - this.name = Utils.checkNotNull(name, "name"); - return this; - } - - /** - * Organization type. - */ - public Builder type(@Nonnull OrganizationTypeJson0 type) { - this.type = Utils.checkNotNull(type, "type"); - return this; - } - - /** - * Address details. - */ - public Builder address(@Nullable AddressJson0 address) { - this.address = address; - return this; - } - - /** - * Number of events per year. - */ - public Builder eventsPerYear(@Nullable Long eventsPerYear) { - this.eventsPerYear = eventsPerYear; - return this; - } - - public RfpEventOrganizationJson build() { - return new RfpEventOrganizationJson( - organization, confidentialProfile, industry, name, type, address, eventsPerYear); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpGuestRooms.java b/packages/java/src/main/java/com/cvent/models/components/RfpGuestRooms.java index 17c5ae4fe..b199bfdfb 100644 --- a/packages/java/src/main/java/com/cvent/models/components/RfpGuestRooms.java +++ b/packages/java/src/main/java/com/cvent/models/components/RfpGuestRooms.java @@ -41,7 +41,7 @@ public class RfpGuestRooms { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("occupancies") - private List occupancies; + private List occupancies; /** * The ISO 8601 check-in date. @@ -55,7 +55,7 @@ public class RfpGuestRooms { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("roomBlocks") - private List roomBlocks; + private List roomBlocks; /** * Additional Info (if any). @@ -68,9 +68,9 @@ public class RfpGuestRooms { public RfpGuestRooms( @JsonProperty("totalRooms") @Nullable Long totalRooms, @JsonProperty("peakRooms") @Nullable Long peakRooms, - @JsonProperty("occupancies") @Nullable List occupancies, + @JsonProperty("occupancies") @Nullable List occupancies, @JsonProperty("checkInDate") @Nullable LocalDate checkInDate, - @JsonProperty("roomBlocks") @Nullable List roomBlocks, + @JsonProperty("roomBlocks") @Nullable List roomBlocks, @JsonProperty("additionalInformation") @Nullable String additionalInformation) { this.totalRooms = totalRooms; this.peakRooms = peakRooms; @@ -101,7 +101,7 @@ public Optional peakRooms() { /** * Occupancies for every room type. */ - public Optional> occupancies() { + public Optional> occupancies() { return Optional.ofNullable(this.occupancies); } @@ -115,7 +115,7 @@ public Optional checkInDate() { /** * List of room blocks required. */ - public Optional> roomBlocks() { + public Optional> roomBlocks() { return Optional.ofNullable(this.roomBlocks); } @@ -149,7 +149,7 @@ public RfpGuestRooms withPeakRooms(@Nullable Long peakRooms) { /** * Occupancies for every room type. */ - public RfpGuestRooms withOccupancies(@Nullable List occupancies) { + public RfpGuestRooms withOccupancies(@Nullable List occupancies) { this.occupancies = occupancies; return this; } @@ -165,7 +165,7 @@ public RfpGuestRooms withCheckInDate(@Nullable LocalDate checkInDate) { /** * List of room blocks required. */ - public RfpGuestRooms withRoomBlocks(@Nullable List roomBlocks) { + public RfpGuestRooms withRoomBlocks(@Nullable List roomBlocks) { this.roomBlocks = roomBlocks; return this; } @@ -225,11 +225,11 @@ public static final class Builder { private Long peakRooms; - private List occupancies; + private List occupancies; private LocalDate checkInDate; - private List roomBlocks; + private List roomBlocks; private String additionalInformation; @@ -256,7 +256,7 @@ public Builder peakRooms(@Nullable Long peakRooms) { /** * Occupancies for every room type. */ - public Builder occupancies(@Nullable List occupancies) { + public Builder occupancies(@Nullable List occupancies) { this.occupancies = occupancies; return this; } @@ -272,7 +272,7 @@ public Builder checkInDate(@Nullable LocalDate checkInDate) { /** * List of room blocks required. */ - public Builder roomBlocks(@Nullable List roomBlocks) { + public Builder roomBlocks(@Nullable List roomBlocks) { this.roomBlocks = roomBlocks; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpIdJson.java b/packages/java/src/main/java/com/cvent/models/components/RfpIdJson.java new file mode 100644 index 000000000..0d0c7ff16 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/RfpIdJson.java @@ -0,0 +1,100 @@ +/* + * 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; + +/** + * RfpIdJson + * + *

RFP ID Information. + */ +public class RfpIdJson { + /** + * Identifier of a particular RFP. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public RfpIdJson(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public RfpIdJson() { + this(null); + } + + /** + * Identifier of a particular RFP. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Identifier of a particular RFP. + */ + public RfpIdJson withId(@Nullable String id) { + this.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; + } + RfpIdJson other = (RfpIdJson) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(RfpIdJson.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * Identifier of a particular RFP. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public RfpIdJson build() { + return new RfpIdJson(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpIdJson1.java b/packages/java/src/main/java/com/cvent/models/components/RfpIdJson1.java deleted file mode 100644 index 737f6df60..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/RfpIdJson1.java +++ /dev/null @@ -1,100 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * RfpIdJson1 - * - *

RFP ID Information. - */ -public class RfpIdJson1 { - /** - * Identifier of a particular RFP. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public RfpIdJson1(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public RfpIdJson1() { - this(null); - } - - /** - * Identifier of a particular RFP. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Identifier of a particular RFP. - */ - public RfpIdJson1 withId(@Nullable String id) { - this.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; - } - RfpIdJson1 other = (RfpIdJson1) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(RfpIdJson1.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * Identifier of a particular RFP. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public RfpIdJson1 build() { - return new RfpIdJson1(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpInternalDocument.java b/packages/java/src/main/java/com/cvent/models/components/RfpInternalDocument.java new file mode 100644 index 000000000..1b6b96041 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/RfpInternalDocument.java @@ -0,0 +1,365 @@ +/* + * 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.time.OffsetDateTime; +import java.util.Optional; + +/** + * RfpInternalDocument + * + *

This object contains RFP specific internal documents attributes only. + */ +public class RfpInternalDocument { + /** + * Unique ID of the file. + */ + @JsonProperty("id") + private String id; + + /** + * ISO 8601 date-time the document was uploaded. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("created") + private OffsetDateTime created; + + /** + * Display name of the document. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + /** + * Name of the document. Must be unique in the account. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("uniqueName") + private String uniqueName; + + /** + * The size of document in bytes. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("size") + private Long size; + + /** + * URL of the document if `secure` is false. This field is null if `secure` is true. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("url") + private String url; + + /** + * The document type. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private DocumentType1 type; + + /** + * The content type of the document. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("mimeType") + private String mimeType; + + @JsonCreator + public RfpInternalDocument( + @JsonProperty("id") @Nonnull String id, + @JsonProperty("created") @Nullable OffsetDateTime created, + @JsonProperty("name") @Nullable String name, + @JsonProperty("uniqueName") @Nullable String uniqueName, + @JsonProperty("size") @Nullable Long size, + @JsonProperty("url") @Nullable String url, + @JsonProperty("type") @Nullable DocumentType1 type, + @JsonProperty("mimeType") @Nullable String mimeType) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.created = created; + this.name = name; + this.uniqueName = uniqueName; + this.size = size; + this.url = url; + this.type = type; + this.mimeType = mimeType; + } + + public RfpInternalDocument(@Nonnull String id) { + this(id, null, null, null, null, null, null, null); + } + + /** + * Unique ID of the file. + */ + public String id() { + return this.id; + } + + /** + * ISO 8601 date-time the document was uploaded. + */ + public Optional created() { + return Optional.ofNullable(this.created); + } + + /** + * Display name of the document. + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * Name of the document. Must be unique in the account. + */ + public Optional uniqueName() { + return Optional.ofNullable(this.uniqueName); + } + + /** + * The size of document in bytes. + */ + public Optional size() { + return Optional.ofNullable(this.size); + } + + /** + * URL of the document if `secure` is false. This field is null if `secure` is true. + */ + public Optional url() { + return Optional.ofNullable(this.url); + } + + /** + * The document type. + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + /** + * The content type of the document. + */ + public Optional mimeType() { + return Optional.ofNullable(this.mimeType); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique ID of the file. + */ + public RfpInternalDocument withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * ISO 8601 date-time the document was uploaded. + */ + public RfpInternalDocument withCreated(@Nullable OffsetDateTime created) { + this.created = created; + return this; + } + + /** + * Display name of the document. + */ + public RfpInternalDocument withName(@Nullable String name) { + this.name = name; + return this; + } + + /** + * Name of the document. Must be unique in the account. + */ + public RfpInternalDocument withUniqueName(@Nullable String uniqueName) { + this.uniqueName = uniqueName; + return this; + } + + /** + * The size of document in bytes. + */ + public RfpInternalDocument withSize(@Nullable Long size) { + this.size = size; + return this; + } + + /** + * URL of the document if `secure` is false. This field is null if `secure` is true. + */ + public RfpInternalDocument withUrl(@Nullable String url) { + this.url = url; + return this; + } + + /** + * The document type. + */ + public RfpInternalDocument withType(@Nullable DocumentType1 type) { + this.type = type; + return this; + } + + /** + * The content type of the document. + */ + public RfpInternalDocument withMimeType(@Nullable String mimeType) { + this.mimeType = mimeType; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RfpInternalDocument other = (RfpInternalDocument) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.created, other.created) + && Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.uniqueName, other.uniqueName) + && Utils.enhancedDeepEquals(this.size, other.size) + && Utils.enhancedDeepEquals(this.url, other.url) + && Utils.enhancedDeepEquals(this.type, other.type) + && Utils.enhancedDeepEquals(this.mimeType, other.mimeType); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, created, name, uniqueName, size, url, type, mimeType); + } + + @Override + public String toString() { + return Utils.toString( + RfpInternalDocument.class, + "id", + id, + "created", + created, + "name", + name, + "uniqueName", + uniqueName, + "size", + size, + "url", + url, + "type", + type, + "mimeType", + mimeType); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private OffsetDateTime created; + + private String name; + + private String uniqueName; + + private Long size; + + private String url; + + private DocumentType1 type; + + private String mimeType; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique ID of the file. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * ISO 8601 date-time the document was uploaded. + */ + public Builder created(@Nullable OffsetDateTime created) { + this.created = created; + return this; + } + + /** + * Display name of the document. + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + /** + * Name of the document. Must be unique in the account. + */ + public Builder uniqueName(@Nullable String uniqueName) { + this.uniqueName = uniqueName; + return this; + } + + /** + * The size of document in bytes. + */ + public Builder size(@Nullable Long size) { + this.size = size; + return this; + } + + /** + * URL of the document if `secure` is false. This field is null if `secure` is true. + */ + public Builder url(@Nullable String url) { + this.url = url; + return this; + } + + /** + * The document type. + */ + public Builder type(@Nullable DocumentType1 type) { + this.type = type; + return this; + } + + /** + * The content type of the document. + */ + public Builder mimeType(@Nullable String mimeType) { + this.mimeType = mimeType; + return this; + } + + public RfpInternalDocument build() { + return new RfpInternalDocument(id, created, name, uniqueName, size, url, type, mimeType); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpInternalDocumentJson0.java b/packages/java/src/main/java/com/cvent/models/components/RfpInternalDocumentJson0.java deleted file mode 100644 index 258c77f7b..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/RfpInternalDocumentJson0.java +++ /dev/null @@ -1,365 +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.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Long; -import java.lang.Override; -import java.lang.String; -import java.time.OffsetDateTime; -import java.util.Optional; - -/** - * RfpInternalDocumentJson0 - * - *

This object contains RFP specific internal documents attributes only. - */ -public class RfpInternalDocumentJson0 { - /** - * Unique ID of the file. - */ - @JsonProperty("id") - private String id; - - /** - * ISO 8601 date-time the document was uploaded. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("created") - private OffsetDateTime created; - - /** - * Display name of the document. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - /** - * Name of the document. Must be unique in the account. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("uniqueName") - private String uniqueName; - - /** - * The size of document in bytes. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("size") - private Long size; - - /** - * URL of the document if `secure` is false. This field is null if `secure` is true. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("url") - private String url; - - /** - * The document type. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private DocumentTypeJson0 type; - - /** - * The content type of the document. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("mimeType") - private String mimeType; - - @JsonCreator - public RfpInternalDocumentJson0( - @JsonProperty("id") @Nonnull String id, - @JsonProperty("created") @Nullable OffsetDateTime created, - @JsonProperty("name") @Nullable String name, - @JsonProperty("uniqueName") @Nullable String uniqueName, - @JsonProperty("size") @Nullable Long size, - @JsonProperty("url") @Nullable String url, - @JsonProperty("type") @Nullable DocumentTypeJson0 type, - @JsonProperty("mimeType") @Nullable String mimeType) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - this.created = created; - this.name = name; - this.uniqueName = uniqueName; - this.size = size; - this.url = url; - this.type = type; - this.mimeType = mimeType; - } - - public RfpInternalDocumentJson0(@Nonnull String id) { - this(id, null, null, null, null, null, null, null); - } - - /** - * Unique ID of the file. - */ - public String id() { - return this.id; - } - - /** - * ISO 8601 date-time the document was uploaded. - */ - public Optional created() { - return Optional.ofNullable(this.created); - } - - /** - * Display name of the document. - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - /** - * Name of the document. Must be unique in the account. - */ - public Optional uniqueName() { - return Optional.ofNullable(this.uniqueName); - } - - /** - * The size of document in bytes. - */ - public Optional size() { - return Optional.ofNullable(this.size); - } - - /** - * URL of the document if `secure` is false. This field is null if `secure` is true. - */ - public Optional url() { - return Optional.ofNullable(this.url); - } - - /** - * The document type. - */ - public Optional type() { - return Optional.ofNullable(this.type); - } - - /** - * The content type of the document. - */ - public Optional mimeType() { - return Optional.ofNullable(this.mimeType); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Unique ID of the file. - */ - public RfpInternalDocumentJson0 withId(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * ISO 8601 date-time the document was uploaded. - */ - public RfpInternalDocumentJson0 withCreated(@Nullable OffsetDateTime created) { - this.created = created; - return this; - } - - /** - * Display name of the document. - */ - public RfpInternalDocumentJson0 withName(@Nullable String name) { - this.name = name; - return this; - } - - /** - * Name of the document. Must be unique in the account. - */ - public RfpInternalDocumentJson0 withUniqueName(@Nullable String uniqueName) { - this.uniqueName = uniqueName; - return this; - } - - /** - * The size of document in bytes. - */ - public RfpInternalDocumentJson0 withSize(@Nullable Long size) { - this.size = size; - return this; - } - - /** - * URL of the document if `secure` is false. This field is null if `secure` is true. - */ - public RfpInternalDocumentJson0 withUrl(@Nullable String url) { - this.url = url; - return this; - } - - /** - * The document type. - */ - public RfpInternalDocumentJson0 withType(@Nullable DocumentTypeJson0 type) { - this.type = type; - return this; - } - - /** - * The content type of the document. - */ - public RfpInternalDocumentJson0 withMimeType(@Nullable String mimeType) { - this.mimeType = mimeType; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - RfpInternalDocumentJson0 other = (RfpInternalDocumentJson0) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.created, other.created) - && Utils.enhancedDeepEquals(this.name, other.name) - && Utils.enhancedDeepEquals(this.uniqueName, other.uniqueName) - && Utils.enhancedDeepEquals(this.size, other.size) - && Utils.enhancedDeepEquals(this.url, other.url) - && Utils.enhancedDeepEquals(this.type, other.type) - && Utils.enhancedDeepEquals(this.mimeType, other.mimeType); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, created, name, uniqueName, size, url, type, mimeType); - } - - @Override - public String toString() { - return Utils.toString( - RfpInternalDocumentJson0.class, - "id", - id, - "created", - created, - "name", - name, - "uniqueName", - uniqueName, - "size", - size, - "url", - url, - "type", - type, - "mimeType", - mimeType); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private OffsetDateTime created; - - private String name; - - private String uniqueName; - - private Long size; - - private String url; - - private DocumentTypeJson0 type; - - private String mimeType; - - private Builder() { - // force use of static builder() method - } - - /** - * Unique ID of the file. - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - /** - * ISO 8601 date-time the document was uploaded. - */ - public Builder created(@Nullable OffsetDateTime created) { - this.created = created; - return this; - } - - /** - * Display name of the document. - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - /** - * Name of the document. Must be unique in the account. - */ - public Builder uniqueName(@Nullable String uniqueName) { - this.uniqueName = uniqueName; - return this; - } - - /** - * The size of document in bytes. - */ - public Builder size(@Nullable Long size) { - this.size = size; - return this; - } - - /** - * URL of the document if `secure` is false. This field is null if `secure` is true. - */ - public Builder url(@Nullable String url) { - this.url = url; - return this; - } - - /** - * The document type. - */ - public Builder type(@Nullable DocumentTypeJson0 type) { - this.type = type; - return this; - } - - /** - * The content type of the document. - */ - public Builder mimeType(@Nullable String mimeType) { - this.mimeType = mimeType; - return this; - } - - public RfpInternalDocumentJson0 build() { - return new RfpInternalDocumentJson0(id, created, name, uniqueName, size, url, type, mimeType); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpMeal.java b/packages/java/src/main/java/com/cvent/models/components/RfpMeal.java new file mode 100644 index 000000000..687952829 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/RfpMeal.java @@ -0,0 +1,50 @@ +/* + * 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; + +/** + * RfpMeal + * + *

Meal type offered during the agenda. + */ +public enum RfpMeal { + BREAKFAST_BUFFET("BREAKFAST_BUFFET"), + BREAKFAST_CONTINENTAL("BREAKFAST_CONTINENTAL"), + BREAKFAST_PLATED("BREAKFAST_PLATED"), + BREAK_DRINKS_ONLY("BREAK_DRINKS_ONLY"), + BREAK_SNACKS_AND_DRINKS("BREAK_SNACKS_AND_DRINKS"), + CONTACT_ME_ABOUT_FB_REQUIREMENTS("CONTACT_ME_ABOUT_F_B_REQUIREMENTS"), + DINNER_BUFFET("DINNER_BUFFET"), + DINNER_PLATED("DINNER_PLATED"), + LUNCH_BOXED("LUNCH_BOXED"), + LUNCH_BUFFET("LUNCH_BUFFET"), + LUNCH_PLATED("LUNCH_PLATED"), + RECEPTION_HEAVY_HORS_D_OEUVRES("RECEPTION_HEAVY_HORS_D_OEUVRES"), + RECEPTION_LIGHT_APPETIZERS("RECEPTION_LIGHT_APPETIZERS"); + + @JsonValue + private final String value; + + RfpMeal(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (RfpMeal o : RfpMeal.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/RfpMealJson.java b/packages/java/src/main/java/com/cvent/models/components/RfpMealJson.java deleted file mode 100644 index 3353cc012..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/RfpMealJson.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * 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; - -/** - * RfpMealJson - * - *

Meal type offered during the agenda. - */ -public enum RfpMealJson { - BREAKFAST_BUFFET("BREAKFAST_BUFFET"), - BREAKFAST_CONTINENTAL("BREAKFAST_CONTINENTAL"), - BREAKFAST_PLATED("BREAKFAST_PLATED"), - BREAK_DRINKS_ONLY("BREAK_DRINKS_ONLY"), - BREAK_SNACKS_AND_DRINKS("BREAK_SNACKS_AND_DRINKS"), - CONTACT_ME_ABOUT_FB_REQUIREMENTS("CONTACT_ME_ABOUT_F_B_REQUIREMENTS"), - DINNER_BUFFET("DINNER_BUFFET"), - DINNER_PLATED("DINNER_PLATED"), - LUNCH_BOXED("LUNCH_BOXED"), - LUNCH_BUFFET("LUNCH_BUFFET"), - LUNCH_PLATED("LUNCH_PLATED"), - RECEPTION_HEAVY_HORS_D_OEUVRES("RECEPTION_HEAVY_HORS_D_OEUVRES"), - RECEPTION_LIGHT_APPETIZERS("RECEPTION_LIGHT_APPETIZERS"); - - @JsonValue - private final String value; - - RfpMealJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (RfpMealJson o : RfpMealJson.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/RfpPastEvent.java b/packages/java/src/main/java/com/cvent/models/components/RfpPastEvent.java new file mode 100644 index 000000000..e9553b0ce --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/RfpPastEvent.java @@ -0,0 +1,458 @@ +/* + * 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; + +/** + * RfpPastEvent + * + *

This object includes information about past events hosted by the planner. + */ +public class RfpPastEvent { + /** + * Name of the venue where the event was hosted. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("venueName") + private String venueName; + + /** + * Name of the city where the event was hosted. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("city") + private String city; + + /** + * ISO 3166-2 code for name of the state or province where the event was hosted. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("stateProvince") + private String stateProvince; + + /** + * Free form text field for the planner to provide details on the event date. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("date") + private String date; + + /** + * Number of event attendees. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("attendeeCount") + private Long attendeeCount; + + /** + * Count of rooms picked up by planners for use during the event. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("guestRoomsPickedUp") + private Long guestRoomsPickedUp; + + /** + * Count of rooms blocked by planner for the event. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("guestRoomsBlocked") + private Long guestRoomsBlocked; + + /** + * Expenditure on food and beverage. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("foodBeverageSpend") + private String foodBeverageSpend; + + /** + * Any other information about the event. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("notes") + private String notes; + + /** + * Unique ID for the event detail. + */ + @JsonProperty("id") + private String id; + + @JsonCreator + public RfpPastEvent( + @JsonProperty("venueName") @Nullable String venueName, + @JsonProperty("city") @Nullable String city, + @JsonProperty("stateProvince") @Nullable String stateProvince, + @JsonProperty("date") @Nullable String date, + @JsonProperty("attendeeCount") @Nullable Long attendeeCount, + @JsonProperty("guestRoomsPickedUp") @Nullable Long guestRoomsPickedUp, + @JsonProperty("guestRoomsBlocked") @Nullable Long guestRoomsBlocked, + @JsonProperty("foodBeverageSpend") @Nullable String foodBeverageSpend, + @JsonProperty("notes") @Nullable String notes, + @JsonProperty("id") @Nonnull String id) { + this.venueName = venueName; + this.city = city; + this.stateProvince = stateProvince; + this.date = date; + this.attendeeCount = attendeeCount; + this.guestRoomsPickedUp = guestRoomsPickedUp; + this.guestRoomsBlocked = guestRoomsBlocked; + this.foodBeverageSpend = foodBeverageSpend; + this.notes = notes; + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + } + + public RfpPastEvent(@Nonnull String id) { + this(null, null, null, null, null, null, null, null, null, id); + } + + /** + * Name of the venue where the event was hosted. + */ + public Optional venueName() { + return Optional.ofNullable(this.venueName); + } + + /** + * Name of the city where the event was hosted. + */ + public Optional city() { + return Optional.ofNullable(this.city); + } + + /** + * ISO 3166-2 code for name of the state or province where the event was hosted. + */ + public Optional stateProvince() { + return Optional.ofNullable(this.stateProvince); + } + + /** + * Free form text field for the planner to provide details on the event date. + */ + public Optional date() { + return Optional.ofNullable(this.date); + } + + /** + * Number of event attendees. + */ + public Optional attendeeCount() { + return Optional.ofNullable(this.attendeeCount); + } + + /** + * Count of rooms picked up by planners for use during the event. + */ + public Optional guestRoomsPickedUp() { + return Optional.ofNullable(this.guestRoomsPickedUp); + } + + /** + * Count of rooms blocked by planner for the event. + */ + public Optional guestRoomsBlocked() { + return Optional.ofNullable(this.guestRoomsBlocked); + } + + /** + * Expenditure on food and beverage. + */ + public Optional foodBeverageSpend() { + return Optional.ofNullable(this.foodBeverageSpend); + } + + /** + * Any other information about the event. + */ + public Optional notes() { + return Optional.ofNullable(this.notes); + } + + /** + * Unique ID for the event detail. + */ + public String id() { + return this.id; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Name of the venue where the event was hosted. + */ + public RfpPastEvent withVenueName(@Nullable String venueName) { + this.venueName = venueName; + return this; + } + + /** + * Name of the city where the event was hosted. + */ + public RfpPastEvent withCity(@Nullable String city) { + this.city = city; + return this; + } + + /** + * ISO 3166-2 code for name of the state or province where the event was hosted. + */ + public RfpPastEvent withStateProvince(@Nullable String stateProvince) { + this.stateProvince = stateProvince; + return this; + } + + /** + * Free form text field for the planner to provide details on the event date. + */ + public RfpPastEvent withDate(@Nullable String date) { + this.date = date; + return this; + } + + /** + * Number of event attendees. + */ + public RfpPastEvent withAttendeeCount(@Nullable Long attendeeCount) { + this.attendeeCount = attendeeCount; + return this; + } + + /** + * Count of rooms picked up by planners for use during the event. + */ + public RfpPastEvent withGuestRoomsPickedUp(@Nullable Long guestRoomsPickedUp) { + this.guestRoomsPickedUp = guestRoomsPickedUp; + return this; + } + + /** + * Count of rooms blocked by planner for the event. + */ + public RfpPastEvent withGuestRoomsBlocked(@Nullable Long guestRoomsBlocked) { + this.guestRoomsBlocked = guestRoomsBlocked; + return this; + } + + /** + * Expenditure on food and beverage. + */ + public RfpPastEvent withFoodBeverageSpend(@Nullable String foodBeverageSpend) { + this.foodBeverageSpend = foodBeverageSpend; + return this; + } + + /** + * Any other information about the event. + */ + public RfpPastEvent withNotes(@Nullable String notes) { + this.notes = notes; + return this; + } + + /** + * Unique ID for the event detail. + */ + public RfpPastEvent 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; + } + RfpPastEvent other = (RfpPastEvent) o; + return Utils.enhancedDeepEquals(this.venueName, other.venueName) + && Utils.enhancedDeepEquals(this.city, other.city) + && Utils.enhancedDeepEquals(this.stateProvince, other.stateProvince) + && Utils.enhancedDeepEquals(this.date, other.date) + && Utils.enhancedDeepEquals(this.attendeeCount, other.attendeeCount) + && Utils.enhancedDeepEquals(this.guestRoomsPickedUp, other.guestRoomsPickedUp) + && Utils.enhancedDeepEquals(this.guestRoomsBlocked, other.guestRoomsBlocked) + && Utils.enhancedDeepEquals(this.foodBeverageSpend, other.foodBeverageSpend) + && Utils.enhancedDeepEquals(this.notes, other.notes) + && Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + venueName, + city, + stateProvince, + date, + attendeeCount, + guestRoomsPickedUp, + guestRoomsBlocked, + foodBeverageSpend, + notes, + id); + } + + @Override + public String toString() { + return Utils.toString( + RfpPastEvent.class, + "venueName", + venueName, + "city", + city, + "stateProvince", + stateProvince, + "date", + date, + "attendeeCount", + attendeeCount, + "guestRoomsPickedUp", + guestRoomsPickedUp, + "guestRoomsBlocked", + guestRoomsBlocked, + "foodBeverageSpend", + foodBeverageSpend, + "notes", + notes, + "id", + id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String venueName; + + private String city; + + private String stateProvince; + + private String date; + + private Long attendeeCount; + + private Long guestRoomsPickedUp; + + private Long guestRoomsBlocked; + + private String foodBeverageSpend; + + private String notes; + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * Name of the venue where the event was hosted. + */ + public Builder venueName(@Nullable String venueName) { + this.venueName = venueName; + return this; + } + + /** + * Name of the city where the event was hosted. + */ + public Builder city(@Nullable String city) { + this.city = city; + return this; + } + + /** + * ISO 3166-2 code for name of the state or province where the event was hosted. + */ + public Builder stateProvince(@Nullable String stateProvince) { + this.stateProvince = stateProvince; + return this; + } + + /** + * Free form text field for the planner to provide details on the event date. + */ + public Builder date(@Nullable String date) { + this.date = date; + return this; + } + + /** + * Number of event attendees. + */ + public Builder attendeeCount(@Nullable Long attendeeCount) { + this.attendeeCount = attendeeCount; + return this; + } + + /** + * Count of rooms picked up by planners for use during the event. + */ + public Builder guestRoomsPickedUp(@Nullable Long guestRoomsPickedUp) { + this.guestRoomsPickedUp = guestRoomsPickedUp; + return this; + } + + /** + * Count of rooms blocked by planner for the event. + */ + public Builder guestRoomsBlocked(@Nullable Long guestRoomsBlocked) { + this.guestRoomsBlocked = guestRoomsBlocked; + return this; + } + + /** + * Expenditure on food and beverage. + */ + public Builder foodBeverageSpend(@Nullable String foodBeverageSpend) { + this.foodBeverageSpend = foodBeverageSpend; + return this; + } + + /** + * Any other information about the event. + */ + public Builder notes(@Nullable String notes) { + this.notes = notes; + return this; + } + + /** + * Unique ID for the event detail. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + public RfpPastEvent build() { + return new RfpPastEvent( + venueName, + city, + stateProvince, + date, + attendeeCount, + guestRoomsPickedUp, + guestRoomsBlocked, + foodBeverageSpend, + notes, + id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpPastEventJson.java b/packages/java/src/main/java/com/cvent/models/components/RfpPastEventJson.java deleted file mode 100644 index d772d87d1..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/RfpPastEventJson.java +++ /dev/null @@ -1,458 +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.Nonnull; -import jakarta.annotation.Nullable; -import java.lang.Long; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * RfpPastEventJson - * - *

This object includes information about past events hosted by the planner. - */ -public class RfpPastEventJson { - /** - * Name of the venue where the event was hosted. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("venueName") - private String venueName; - - /** - * Name of the city where the event was hosted. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("city") - private String city; - - /** - * ISO 3166-2 code for name of the state or province where the event was hosted. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("stateProvince") - private String stateProvince; - - /** - * Free form text field for the planner to provide details on the event date. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("date") - private String date; - - /** - * Number of event attendees. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("attendeeCount") - private Long attendeeCount; - - /** - * Count of rooms picked up by planners for use during the event. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("guestRoomsPickedUp") - private Long guestRoomsPickedUp; - - /** - * Count of rooms blocked by planner for the event. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("guestRoomsBlocked") - private Long guestRoomsBlocked; - - /** - * Expenditure on food and beverage. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("foodBeverageSpend") - private String foodBeverageSpend; - - /** - * Any other information about the event. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("notes") - private String notes; - - /** - * Unique ID for the event detail. - */ - @JsonProperty("id") - private String id; - - @JsonCreator - public RfpPastEventJson( - @JsonProperty("venueName") @Nullable String venueName, - @JsonProperty("city") @Nullable String city, - @JsonProperty("stateProvince") @Nullable String stateProvince, - @JsonProperty("date") @Nullable String date, - @JsonProperty("attendeeCount") @Nullable Long attendeeCount, - @JsonProperty("guestRoomsPickedUp") @Nullable Long guestRoomsPickedUp, - @JsonProperty("guestRoomsBlocked") @Nullable Long guestRoomsBlocked, - @JsonProperty("foodBeverageSpend") @Nullable String foodBeverageSpend, - @JsonProperty("notes") @Nullable String notes, - @JsonProperty("id") @Nonnull String id) { - this.venueName = venueName; - this.city = city; - this.stateProvince = stateProvince; - this.date = date; - this.attendeeCount = attendeeCount; - this.guestRoomsPickedUp = guestRoomsPickedUp; - this.guestRoomsBlocked = guestRoomsBlocked; - this.foodBeverageSpend = foodBeverageSpend; - this.notes = notes; - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - } - - public RfpPastEventJson(@Nonnull String id) { - this(null, null, null, null, null, null, null, null, null, id); - } - - /** - * Name of the venue where the event was hosted. - */ - public Optional venueName() { - return Optional.ofNullable(this.venueName); - } - - /** - * Name of the city where the event was hosted. - */ - public Optional city() { - return Optional.ofNullable(this.city); - } - - /** - * ISO 3166-2 code for name of the state or province where the event was hosted. - */ - public Optional stateProvince() { - return Optional.ofNullable(this.stateProvince); - } - - /** - * Free form text field for the planner to provide details on the event date. - */ - public Optional date() { - return Optional.ofNullable(this.date); - } - - /** - * Number of event attendees. - */ - public Optional attendeeCount() { - return Optional.ofNullable(this.attendeeCount); - } - - /** - * Count of rooms picked up by planners for use during the event. - */ - public Optional guestRoomsPickedUp() { - return Optional.ofNullable(this.guestRoomsPickedUp); - } - - /** - * Count of rooms blocked by planner for the event. - */ - public Optional guestRoomsBlocked() { - return Optional.ofNullable(this.guestRoomsBlocked); - } - - /** - * Expenditure on food and beverage. - */ - public Optional foodBeverageSpend() { - return Optional.ofNullable(this.foodBeverageSpend); - } - - /** - * Any other information about the event. - */ - public Optional notes() { - return Optional.ofNullable(this.notes); - } - - /** - * Unique ID for the event detail. - */ - public String id() { - return this.id; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Name of the venue where the event was hosted. - */ - public RfpPastEventJson withVenueName(@Nullable String venueName) { - this.venueName = venueName; - return this; - } - - /** - * Name of the city where the event was hosted. - */ - public RfpPastEventJson withCity(@Nullable String city) { - this.city = city; - return this; - } - - /** - * ISO 3166-2 code for name of the state or province where the event was hosted. - */ - public RfpPastEventJson withStateProvince(@Nullable String stateProvince) { - this.stateProvince = stateProvince; - return this; - } - - /** - * Free form text field for the planner to provide details on the event date. - */ - public RfpPastEventJson withDate(@Nullable String date) { - this.date = date; - return this; - } - - /** - * Number of event attendees. - */ - public RfpPastEventJson withAttendeeCount(@Nullable Long attendeeCount) { - this.attendeeCount = attendeeCount; - return this; - } - - /** - * Count of rooms picked up by planners for use during the event. - */ - public RfpPastEventJson withGuestRoomsPickedUp(@Nullable Long guestRoomsPickedUp) { - this.guestRoomsPickedUp = guestRoomsPickedUp; - return this; - } - - /** - * Count of rooms blocked by planner for the event. - */ - public RfpPastEventJson withGuestRoomsBlocked(@Nullable Long guestRoomsBlocked) { - this.guestRoomsBlocked = guestRoomsBlocked; - return this; - } - - /** - * Expenditure on food and beverage. - */ - public RfpPastEventJson withFoodBeverageSpend(@Nullable String foodBeverageSpend) { - this.foodBeverageSpend = foodBeverageSpend; - return this; - } - - /** - * Any other information about the event. - */ - public RfpPastEventJson withNotes(@Nullable String notes) { - this.notes = notes; - return this; - } - - /** - * Unique ID for the event detail. - */ - public RfpPastEventJson 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; - } - RfpPastEventJson other = (RfpPastEventJson) o; - return Utils.enhancedDeepEquals(this.venueName, other.venueName) - && Utils.enhancedDeepEquals(this.city, other.city) - && Utils.enhancedDeepEquals(this.stateProvince, other.stateProvince) - && Utils.enhancedDeepEquals(this.date, other.date) - && Utils.enhancedDeepEquals(this.attendeeCount, other.attendeeCount) - && Utils.enhancedDeepEquals(this.guestRoomsPickedUp, other.guestRoomsPickedUp) - && Utils.enhancedDeepEquals(this.guestRoomsBlocked, other.guestRoomsBlocked) - && Utils.enhancedDeepEquals(this.foodBeverageSpend, other.foodBeverageSpend) - && Utils.enhancedDeepEquals(this.notes, other.notes) - && Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash( - venueName, - city, - stateProvince, - date, - attendeeCount, - guestRoomsPickedUp, - guestRoomsBlocked, - foodBeverageSpend, - notes, - id); - } - - @Override - public String toString() { - return Utils.toString( - RfpPastEventJson.class, - "venueName", - venueName, - "city", - city, - "stateProvince", - stateProvince, - "date", - date, - "attendeeCount", - attendeeCount, - "guestRoomsPickedUp", - guestRoomsPickedUp, - "guestRoomsBlocked", - guestRoomsBlocked, - "foodBeverageSpend", - foodBeverageSpend, - "notes", - notes, - "id", - id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String venueName; - - private String city; - - private String stateProvince; - - private String date; - - private Long attendeeCount; - - private Long guestRoomsPickedUp; - - private Long guestRoomsBlocked; - - private String foodBeverageSpend; - - private String notes; - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * Name of the venue where the event was hosted. - */ - public Builder venueName(@Nullable String venueName) { - this.venueName = venueName; - return this; - } - - /** - * Name of the city where the event was hosted. - */ - public Builder city(@Nullable String city) { - this.city = city; - return this; - } - - /** - * ISO 3166-2 code for name of the state or province where the event was hosted. - */ - public Builder stateProvince(@Nullable String stateProvince) { - this.stateProvince = stateProvince; - return this; - } - - /** - * Free form text field for the planner to provide details on the event date. - */ - public Builder date(@Nullable String date) { - this.date = date; - return this; - } - - /** - * Number of event attendees. - */ - public Builder attendeeCount(@Nullable Long attendeeCount) { - this.attendeeCount = attendeeCount; - return this; - } - - /** - * Count of rooms picked up by planners for use during the event. - */ - public Builder guestRoomsPickedUp(@Nullable Long guestRoomsPickedUp) { - this.guestRoomsPickedUp = guestRoomsPickedUp; - return this; - } - - /** - * Count of rooms blocked by planner for the event. - */ - public Builder guestRoomsBlocked(@Nullable Long guestRoomsBlocked) { - this.guestRoomsBlocked = guestRoomsBlocked; - return this; - } - - /** - * Expenditure on food and beverage. - */ - public Builder foodBeverageSpend(@Nullable String foodBeverageSpend) { - this.foodBeverageSpend = foodBeverageSpend; - return this; - } - - /** - * Any other information about the event. - */ - public Builder notes(@Nullable String notes) { - this.notes = notes; - return this; - } - - /** - * Unique ID for the event detail. - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - public RfpPastEventJson build() { - return new RfpPastEventJson( - venueName, - city, - stateProvince, - date, - attendeeCount, - guestRoomsPickedUp, - guestRoomsBlocked, - foodBeverageSpend, - notes, - id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpPastEvents.java b/packages/java/src/main/java/com/cvent/models/components/RfpPastEvents.java index 93ffb0631..5a09e7a11 100644 --- a/packages/java/src/main/java/com/cvent/models/components/RfpPastEvents.java +++ b/packages/java/src/main/java/com/cvent/models/components/RfpPastEvents.java @@ -25,10 +25,10 @@ public class RfpPastEvents { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("data") - private List data; + private List data; @JsonCreator - public RfpPastEvents(@JsonProperty("data") @Nullable List data) { + public RfpPastEvents(@JsonProperty("data") @Nullable List data) { this.data = data; } @@ -39,7 +39,7 @@ public RfpPastEvents() { /** * List of past events saved on RFP by planner. */ - public Optional> data() { + public Optional> data() { return Optional.ofNullable(this.data); } @@ -50,7 +50,7 @@ public static Builder builder() { /** * List of past events saved on RFP by planner. */ - public RfpPastEvents withData(@Nullable List data) { + public RfpPastEvents withData(@Nullable List data) { this.data = data; return this; } @@ -80,7 +80,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private List data; + private List data; private Builder() { // force use of static builder() method @@ -89,7 +89,7 @@ private Builder() { /** * List of past events saved on RFP by planner. */ - 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/RfpQuestion.java b/packages/java/src/main/java/com/cvent/models/components/RfpQuestion.java new file mode 100644 index 000000000..3c79ec618 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/RfpQuestion.java @@ -0,0 +1,1842 @@ +/* + * 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.Double; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.time.LocalDate; +import java.time.OffsetDateTime; +import java.util.List; +import java.util.Optional; + +/** + * RfpQuestion + * + *

Question associated with an RFP. + */ +public class RfpQuestion { + /** + * 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; + + /** + * Unique identifier of the question. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * Text value of the question field. Displays to users in the UI. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("text") + private String text; + + /** + * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of + * the question in reports. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("shortText") + private String shortText; + + /** + * Html of the question. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("htmlText") + private String htmlText; + + /** + * Question code is unique identifier for every questions within a survey (can be same across surveys). + * This code is used in reporting and in question and answer data tags for emails. With every new + * question a random question code is generated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("code") + private String code; + + /** + * The type of question. See [this + * article](https://support.cvent.com/s/communityarticle/Survey-Adding-Questions) for details on each + * enum. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private QuestionType type; + + /** + * List of choices for the question. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("choices") + private List choices; + + /** + * List of categories for the question. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("categories") + private List categories; + + /** + * List of sub categories for matrix side-by-side questions. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("subCategories") + private List subCategories; + + /** + * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("notApplicableAnswer") + private AdditionalChoice notApplicableAnswer; + + /** + * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("otherAnswer") + private AdditionalChoice otherAnswer; + + /** + * Text Value of Comments Input box placeholder. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("comments") + private String comments; + + /** + * True indicates this is a mandatory question field. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("required") + private Boolean required; + + /** + * List of fields for form/matrix questions. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("fields") + private List fields; + + /** + * Max possible score. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("maxScore") + private Double maxScore; + + /** + * Total configured sum of all choices for number allocation question. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("totalSum") + private Long totalSum; + + /** + * The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: + * Sorted in the order they were added, oldest choices first. + * + *

`Random`: Random sort. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("choiceSortOrder") + private ChoiceSortOrder choiceSortOrder; + + /** + * The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: + * It is associated with drop down type questions. + * + *

`Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list + * type questions. `MultiSelectBox`: It is associated with multi select box type questions. + * + *

`Vertical`: It is associated with vertical type questions. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("displayType") + private DisplayType displayType; + + /** + * Minimum number of choices that must be selected. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("minSelection") + private Long minSelection; + + /** + * Maximum number of choices that can be selected. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("maxSelection") + private Long maxSelection; + + /** + * The earliest date that can be selected, starting from or after this date. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("minDate") + private LocalDate minDate; + + /** + * The latest date that can be selected, up to or before this date. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("maxDate") + private LocalDate maxDate; + + /** + * Indicates if this is a date range question. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("showDateSelector") + private Boolean showDateSelector; + + /** + * Indicates if the current date should be shown. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("showCurrentDate") + private Boolean showCurrentDate; + + /** + * The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. + * `DateTime`: Answer format is stored in DateTime format. + * + *

`Time`: Answer format is stored in Time format. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("dateAnswerFormat") + private DateAnswerFormat dateAnswerFormat; + + /** + * The answer format that a given number is stored in. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("numericAnswerFormat") + private NumericAnswerFormat numericAnswerFormat; + + /** + * Label to add before or after textbox. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("unitLabel") + private String unitLabel; + + /** + * Unit position used for text box question type. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("unitPosition") + private UnitPosition unitPosition; + + /** + * Minimum number of characters that must be entered. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("minLength") + private Long minLength; + + /** + * Maximum number of characters that can be entered. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("maxLength") + private Long maxLength; + + /** + * 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("textAnswerFormat") + private TextAnswerFormat textAnswerFormat; + + /** + * An object that contains custom answer format data. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("customAnswerFormat") + private CustomAnswerFormat customAnswerFormat; + + /** + * List of supplier types that can view the question on the RFP. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("supplierTypes") + private List supplierTypes; + + /** + * 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("classificationType") + private QuestionClassificationType classificationType; + + /** + * Determines the display order for questions on the RFP. Questions with smaller values appear first. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("order") + private Long order; + + /** + * Standard questions are selected from a predefined list of Cvent questions that can be used in an + * RFP. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("standardQuestion") + private StandardQuestion standardQuestion; + + /** + * Represents the AI generation source for the custom question on RFP. This field is set during + * question creation and cannot be modified afterwards. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("aiQuestionGenerationSource") + private String aiQuestionGenerationSource; + + @JsonCreator + public RfpQuestion( + @JsonProperty("created") @Nullable OffsetDateTime created, + @JsonProperty("createdBy") @Nullable String createdBy, + @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, + @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, + @JsonProperty("id") @Nullable String id, + @JsonProperty("text") @Nullable String text, + @JsonProperty("shortText") @Nullable String shortText, + @JsonProperty("htmlText") @Nullable String htmlText, + @JsonProperty("code") @Nullable String code, + @JsonProperty("type") @Nullable QuestionType type, + @JsonProperty("choices") @Nullable List choices, + @JsonProperty("categories") @Nullable List categories, + @JsonProperty("subCategories") @Nullable List subCategories, + @JsonProperty("notApplicableAnswer") @Nullable AdditionalChoice notApplicableAnswer, + @JsonProperty("otherAnswer") @Nullable AdditionalChoice otherAnswer, + @JsonProperty("comments") @Nullable String comments, + @JsonProperty("required") @Nullable Boolean required, + @JsonProperty("fields") @Nullable List fields, + @JsonProperty("maxScore") @Nullable Double maxScore, + @JsonProperty("totalSum") @Nullable Long totalSum, + @JsonProperty("choiceSortOrder") @Nullable ChoiceSortOrder choiceSortOrder, + @JsonProperty("displayType") @Nullable DisplayType displayType, + @JsonProperty("minSelection") @Nullable Long minSelection, + @JsonProperty("maxSelection") @Nullable Long maxSelection, + @JsonProperty("minDate") @Nullable LocalDate minDate, + @JsonProperty("maxDate") @Nullable LocalDate maxDate, + @JsonProperty("showDateSelector") @Nullable Boolean showDateSelector, + @JsonProperty("showCurrentDate") @Nullable Boolean showCurrentDate, + @JsonProperty("dateAnswerFormat") @Nullable DateAnswerFormat dateAnswerFormat, + @JsonProperty("numericAnswerFormat") @Nullable NumericAnswerFormat numericAnswerFormat, + @JsonProperty("unitLabel") @Nullable String unitLabel, + @JsonProperty("unitPosition") @Nullable UnitPosition unitPosition, + @JsonProperty("minLength") @Nullable Long minLength, + @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("order") @Nullable Long order, + @JsonProperty("standardQuestion") @Nullable StandardQuestion standardQuestion, + @JsonProperty("aiQuestionGenerationSource") @Nullable String aiQuestionGenerationSource) { + this.created = created; + this.createdBy = createdBy; + this.lastModified = lastModified; + this.lastModifiedBy = lastModifiedBy; + this.id = id; + this.text = text; + this.shortText = shortText; + this.htmlText = htmlText; + this.code = code; + this.type = type; + this.choices = choices; + this.categories = categories; + this.subCategories = subCategories; + this.notApplicableAnswer = notApplicableAnswer; + this.otherAnswer = otherAnswer; + this.comments = comments; + this.required = Optional.ofNullable(required).orElse(Builder._SINGLETON_VALUE_Required.value()); + this.fields = fields; + this.maxScore = maxScore; + this.totalSum = totalSum; + this.choiceSortOrder = choiceSortOrder; + this.displayType = displayType; + this.minSelection = Optional.ofNullable(minSelection).orElse(Builder._SINGLETON_VALUE_MinSelection.value()); + this.maxSelection = Optional.ofNullable(maxSelection).orElse(Builder._SINGLETON_VALUE_MaxSelection.value()); + this.minDate = minDate; + this.maxDate = maxDate; + this.showDateSelector = showDateSelector; + this.showCurrentDate = showCurrentDate; + this.dateAnswerFormat = + Optional.ofNullable(dateAnswerFormat).orElse(Builder._SINGLETON_VALUE_DateAnswerFormat.value()); + this.numericAnswerFormat = numericAnswerFormat; + this.unitLabel = unitLabel; + this.unitPosition = unitPosition; + this.minLength = Optional.ofNullable(minLength).orElse(Builder._SINGLETON_VALUE_MinLength.value()); + this.maxLength = Optional.ofNullable(maxLength).orElse(Builder._SINGLETON_VALUE_MaxLength.value()); + this.textAnswerFormat = textAnswerFormat; + this.customAnswerFormat = customAnswerFormat; + this.supplierTypes = supplierTypes; + this.classificationType = classificationType; + this.order = order; + this.standardQuestion = standardQuestion; + this.aiQuestionGenerationSource = aiQuestionGenerationSource; + } + + public RfpQuestion() { + this( + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + 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); + } + + /** + * Unique identifier of the question. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Text value of the question field. Displays to users in the UI. + */ + public Optional text() { + return Optional.ofNullable(this.text); + } + + /** + * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of + * the question in reports. + */ + public Optional shortText() { + return Optional.ofNullable(this.shortText); + } + + /** + * Html of the question. + */ + public Optional htmlText() { + return Optional.ofNullable(this.htmlText); + } + + /** + * Question code is unique identifier for every questions within a survey (can be same across surveys). + * This code is used in reporting and in question and answer data tags for emails. With every new + * question a random question code is generated. + */ + public Optional code() { + return Optional.ofNullable(this.code); + } + + /** + * The type of question. See [this + * article](https://support.cvent.com/s/communityarticle/Survey-Adding-Questions) for details on each + * enum. + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + /** + * List of choices for the question. + */ + public Optional> choices() { + return Optional.ofNullable(this.choices); + } + + /** + * List of categories for the question. + */ + public Optional> categories() { + return Optional.ofNullable(this.categories); + } + + /** + * List of sub categories for matrix side-by-side questions. + */ + public Optional> subCategories() { + return Optional.ofNullable(this.subCategories); + } + + /** + * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + */ + public Optional notApplicableAnswer() { + return Optional.ofNullable(this.notApplicableAnswer); + } + + /** + * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + */ + public Optional otherAnswer() { + return Optional.ofNullable(this.otherAnswer); + } + + /** + * Text Value of Comments Input box placeholder. + */ + public Optional comments() { + return Optional.ofNullable(this.comments); + } + + /** + * True indicates this is a mandatory question field. + */ + public Optional required() { + return Optional.ofNullable(this.required); + } + + /** + * List of fields for form/matrix questions. + */ + public Optional> fields() { + return Optional.ofNullable(this.fields); + } + + /** + * Max possible score. + */ + public Optional maxScore() { + return Optional.ofNullable(this.maxScore); + } + + /** + * Total configured sum of all choices for number allocation question. + */ + public Optional totalSum() { + return Optional.ofNullable(this.totalSum); + } + + /** + * The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: + * Sorted in the order they were added, oldest choices first. + * + *

`Random`: Random sort. + */ + public Optional choiceSortOrder() { + return Optional.ofNullable(this.choiceSortOrder); + } + + /** + * The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: + * It is associated with drop down type questions. + * + *

`Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list + * type questions. `MultiSelectBox`: It is associated with multi select box type questions. + * + *

`Vertical`: It is associated with vertical type questions. + */ + public Optional displayType() { + return Optional.ofNullable(this.displayType); + } + + /** + * Minimum number of choices that must be selected. + */ + public Optional minSelection() { + return Optional.ofNullable(this.minSelection); + } + + /** + * Maximum number of choices that can be selected. + */ + public Optional maxSelection() { + return Optional.ofNullable(this.maxSelection); + } + + /** + * The earliest date that can be selected, starting from or after this date. + */ + public Optional minDate() { + return Optional.ofNullable(this.minDate); + } + + /** + * The latest date that can be selected, up to or before this date. + */ + public Optional maxDate() { + return Optional.ofNullable(this.maxDate); + } + + /** + * Indicates if this is a date range question. + */ + public Optional showDateSelector() { + return Optional.ofNullable(this.showDateSelector); + } + + /** + * Indicates if the current date should be shown. + */ + public Optional showCurrentDate() { + return Optional.ofNullable(this.showCurrentDate); + } + + /** + * The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. + * `DateTime`: Answer format is stored in DateTime format. + * + *

`Time`: Answer format is stored in Time format. + */ + public Optional dateAnswerFormat() { + return Optional.ofNullable(this.dateAnswerFormat); + } + + /** + * The answer format that a given number is stored in. + */ + public Optional numericAnswerFormat() { + return Optional.ofNullable(this.numericAnswerFormat); + } + + /** + * Label to add before or after textbox. + */ + public Optional unitLabel() { + return Optional.ofNullable(this.unitLabel); + } + + /** + * Unit position used for text box question type. + */ + public Optional unitPosition() { + return Optional.ofNullable(this.unitPosition); + } + + /** + * Minimum number of characters that must be entered. + */ + public Optional minLength() { + return Optional.ofNullable(this.minLength); + } + + /** + * Maximum number of characters that can be entered. + */ + public Optional maxLength() { + return Optional.ofNullable(this.maxLength); + } + + /** + * 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. + */ + public Optional textAnswerFormat() { + return Optional.ofNullable(this.textAnswerFormat); + } + + /** + * An object that contains custom answer format data. + */ + public Optional customAnswerFormat() { + return Optional.ofNullable(this.customAnswerFormat); + } + + /** + * List of supplier types that can view the question on the RFP. + */ + public Optional> supplierTypes() { + return Optional.ofNullable(this.supplierTypes); + } + + /** + * 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. + */ + public Optional classificationType() { + return Optional.ofNullable(this.classificationType); + } + + /** + * Determines the display order for questions on the RFP. Questions with smaller values appear first. + */ + public Optional order() { + return Optional.ofNullable(this.order); + } + + /** + * Standard questions are selected from a predefined list of Cvent questions that can be used in an + * RFP. + */ + public Optional standardQuestion() { + return Optional.ofNullable(this.standardQuestion); + } + + /** + * Represents the AI generation source for the custom question on RFP. This field is set during + * question creation and cannot be modified afterwards. + */ + public Optional aiQuestionGenerationSource() { + return Optional.ofNullable(this.aiQuestionGenerationSource); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The ISO 8601 zoned date time when this record was created. + */ + public RfpQuestion withCreated(@Nullable OffsetDateTime created) { + this.created = created; + return this; + } + + /** + * The identifier of the user that created this record. + */ + public RfpQuestion withCreatedBy(@Nullable String createdBy) { + this.createdBy = createdBy; + return this; + } + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + public RfpQuestion withLastModified(@Nullable OffsetDateTime lastModified) { + this.lastModified = lastModified; + return this; + } + + /** + * The identifier of the user that last updated this record. + */ + public RfpQuestion withLastModifiedBy(@Nullable String lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + return this; + } + + /** + * Unique identifier of the question. + */ + public RfpQuestion withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Text value of the question field. Displays to users in the UI. + */ + public RfpQuestion withText(@Nullable String text) { + this.text = text; + return this; + } + + /** + * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of + * the question in reports. + */ + public RfpQuestion withShortText(@Nullable String shortText) { + this.shortText = shortText; + return this; + } + + /** + * Html of the question. + */ + public RfpQuestion withHtmlText(@Nullable String htmlText) { + this.htmlText = htmlText; + return this; + } + + /** + * Question code is unique identifier for every questions within a survey (can be same across surveys). + * This code is used in reporting and in question and answer data tags for emails. With every new + * question a random question code is generated. + */ + public RfpQuestion withCode(@Nullable String code) { + this.code = code; + return this; + } + + /** + * The type of question. See [this + * article](https://support.cvent.com/s/communityarticle/Survey-Adding-Questions) for details on each + * enum. + */ + public RfpQuestion withType(@Nullable QuestionType type) { + this.type = type; + return this; + } + + /** + * List of choices for the question. + */ + public RfpQuestion withChoices(@Nullable List choices) { + this.choices = choices; + return this; + } + + /** + * List of categories for the question. + */ + public RfpQuestion withCategories(@Nullable List categories) { + this.categories = categories; + return this; + } + + /** + * List of sub categories for matrix side-by-side questions. + */ + public RfpQuestion withSubCategories(@Nullable List subCategories) { + this.subCategories = subCategories; + return this; + } + + /** + * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + */ + public RfpQuestion withNotApplicableAnswer(@Nullable AdditionalChoice notApplicableAnswer) { + this.notApplicableAnswer = notApplicableAnswer; + return this; + } + + /** + * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + */ + public RfpQuestion withOtherAnswer(@Nullable AdditionalChoice otherAnswer) { + this.otherAnswer = otherAnswer; + return this; + } + + /** + * Text Value of Comments Input box placeholder. + */ + public RfpQuestion withComments(@Nullable String comments) { + this.comments = comments; + return this; + } + + /** + * True indicates this is a mandatory question field. + */ + public RfpQuestion withRequired(@Nullable Boolean required) { + this.required = required; + return this; + } + + /** + * List of fields for form/matrix questions. + */ + public RfpQuestion withFields(@Nullable List fields) { + this.fields = fields; + return this; + } + + /** + * Max possible score. + */ + public RfpQuestion withMaxScore(@Nullable Double maxScore) { + this.maxScore = maxScore; + return this; + } + + /** + * Total configured sum of all choices for number allocation question. + */ + public RfpQuestion withTotalSum(@Nullable Long totalSum) { + this.totalSum = totalSum; + return this; + } + + /** + * The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: + * Sorted in the order they were added, oldest choices first. + * + *

`Random`: Random sort. + */ + public RfpQuestion withChoiceSortOrder(@Nullable ChoiceSortOrder choiceSortOrder) { + this.choiceSortOrder = choiceSortOrder; + return this; + } + + /** + * The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: + * It is associated with drop down type questions. + * + *

`Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list + * type questions. `MultiSelectBox`: It is associated with multi select box type questions. + * + *

`Vertical`: It is associated with vertical type questions. + */ + public RfpQuestion withDisplayType(@Nullable DisplayType displayType) { + this.displayType = displayType; + return this; + } + + /** + * Minimum number of choices that must be selected. + */ + public RfpQuestion withMinSelection(@Nullable Long minSelection) { + this.minSelection = minSelection; + return this; + } + + /** + * Maximum number of choices that can be selected. + */ + public RfpQuestion withMaxSelection(@Nullable Long maxSelection) { + this.maxSelection = maxSelection; + return this; + } + + /** + * The earliest date that can be selected, starting from or after this date. + */ + public RfpQuestion withMinDate(@Nullable LocalDate minDate) { + this.minDate = minDate; + return this; + } + + /** + * The latest date that can be selected, up to or before this date. + */ + public RfpQuestion withMaxDate(@Nullable LocalDate maxDate) { + this.maxDate = maxDate; + return this; + } + + /** + * Indicates if this is a date range question. + */ + public RfpQuestion withShowDateSelector(@Nullable Boolean showDateSelector) { + this.showDateSelector = showDateSelector; + return this; + } + + /** + * Indicates if the current date should be shown. + */ + public RfpQuestion withShowCurrentDate(@Nullable Boolean showCurrentDate) { + this.showCurrentDate = showCurrentDate; + return this; + } + + /** + * The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. + * `DateTime`: Answer format is stored in DateTime format. + * + *

`Time`: Answer format is stored in Time format. + */ + public RfpQuestion withDateAnswerFormat(@Nullable DateAnswerFormat dateAnswerFormat) { + this.dateAnswerFormat = dateAnswerFormat; + return this; + } + + /** + * The answer format that a given number is stored in. + */ + public RfpQuestion withNumericAnswerFormat(@Nullable NumericAnswerFormat numericAnswerFormat) { + this.numericAnswerFormat = numericAnswerFormat; + return this; + } + + /** + * Label to add before or after textbox. + */ + public RfpQuestion withUnitLabel(@Nullable String unitLabel) { + this.unitLabel = unitLabel; + return this; + } + + /** + * Unit position used for text box question type. + */ + public RfpQuestion withUnitPosition(@Nullable UnitPosition unitPosition) { + this.unitPosition = unitPosition; + return this; + } + + /** + * Minimum number of characters that must be entered. + */ + public RfpQuestion withMinLength(@Nullable Long minLength) { + this.minLength = minLength; + return this; + } + + /** + * Maximum number of characters that can be entered. + */ + public RfpQuestion withMaxLength(@Nullable Long maxLength) { + this.maxLength = maxLength; + return this; + } + + /** + * 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. + */ + public RfpQuestion withTextAnswerFormat(@Nullable TextAnswerFormat textAnswerFormat) { + this.textAnswerFormat = textAnswerFormat; + return this; + } + + /** + * An object that contains custom answer format data. + */ + public RfpQuestion withCustomAnswerFormat(@Nullable CustomAnswerFormat customAnswerFormat) { + this.customAnswerFormat = customAnswerFormat; + return this; + } + + /** + * List of supplier types that can view the question on the RFP. + */ + public RfpQuestion withSupplierTypes(@Nullable List supplierTypes) { + this.supplierTypes = supplierTypes; + return this; + } + + /** + * 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. + */ + public RfpQuestion withClassificationType(@Nullable QuestionClassificationType classificationType) { + this.classificationType = classificationType; + return this; + } + + /** + * Determines the display order for questions on the RFP. Questions with smaller values appear first. + */ + public RfpQuestion withOrder(@Nullable Long order) { + this.order = order; + return this; + } + + /** + * Standard questions are selected from a predefined list of Cvent questions that can be used in an + * RFP. + */ + public RfpQuestion withStandardQuestion(@Nullable StandardQuestion standardQuestion) { + this.standardQuestion = standardQuestion; + return this; + } + + /** + * Represents the AI generation source for the custom question on RFP. This field is set during + * question creation and cannot be modified afterwards. + */ + public RfpQuestion withAiQuestionGenerationSource(@Nullable String aiQuestionGenerationSource) { + this.aiQuestionGenerationSource = aiQuestionGenerationSource; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RfpQuestion other = (RfpQuestion) 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.id, other.id) + && Utils.enhancedDeepEquals(this.text, other.text) + && Utils.enhancedDeepEquals(this.shortText, other.shortText) + && Utils.enhancedDeepEquals(this.htmlText, other.htmlText) + && Utils.enhancedDeepEquals(this.code, other.code) + && Utils.enhancedDeepEquals(this.type, other.type) + && Utils.enhancedDeepEquals(this.choices, other.choices) + && Utils.enhancedDeepEquals(this.categories, other.categories) + && Utils.enhancedDeepEquals(this.subCategories, other.subCategories) + && Utils.enhancedDeepEquals(this.notApplicableAnswer, other.notApplicableAnswer) + && Utils.enhancedDeepEquals(this.otherAnswer, other.otherAnswer) + && Utils.enhancedDeepEquals(this.comments, other.comments) + && Utils.enhancedDeepEquals(this.required, other.required) + && Utils.enhancedDeepEquals(this.fields, other.fields) + && Utils.enhancedDeepEquals(this.maxScore, other.maxScore) + && Utils.enhancedDeepEquals(this.totalSum, other.totalSum) + && Utils.enhancedDeepEquals(this.choiceSortOrder, other.choiceSortOrder) + && Utils.enhancedDeepEquals(this.displayType, other.displayType) + && Utils.enhancedDeepEquals(this.minSelection, other.minSelection) + && Utils.enhancedDeepEquals(this.maxSelection, other.maxSelection) + && Utils.enhancedDeepEquals(this.minDate, other.minDate) + && Utils.enhancedDeepEquals(this.maxDate, other.maxDate) + && Utils.enhancedDeepEquals(this.showDateSelector, other.showDateSelector) + && Utils.enhancedDeepEquals(this.showCurrentDate, other.showCurrentDate) + && Utils.enhancedDeepEquals(this.dateAnswerFormat, other.dateAnswerFormat) + && Utils.enhancedDeepEquals(this.numericAnswerFormat, other.numericAnswerFormat) + && Utils.enhancedDeepEquals(this.unitLabel, other.unitLabel) + && Utils.enhancedDeepEquals(this.unitPosition, other.unitPosition) + && Utils.enhancedDeepEquals(this.minLength, other.minLength) + && Utils.enhancedDeepEquals(this.maxLength, other.maxLength) + && Utils.enhancedDeepEquals(this.textAnswerFormat, other.textAnswerFormat) + && Utils.enhancedDeepEquals(this.customAnswerFormat, other.customAnswerFormat) + && Utils.enhancedDeepEquals(this.supplierTypes, other.supplierTypes) + && Utils.enhancedDeepEquals(this.classificationType, other.classificationType) + && Utils.enhancedDeepEquals(this.order, other.order) + && Utils.enhancedDeepEquals(this.standardQuestion, other.standardQuestion) + && Utils.enhancedDeepEquals(this.aiQuestionGenerationSource, other.aiQuestionGenerationSource); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + created, + createdBy, + lastModified, + lastModifiedBy, + id, + text, + shortText, + htmlText, + code, + type, + choices, + categories, + subCategories, + notApplicableAnswer, + otherAnswer, + comments, + required, + fields, + maxScore, + totalSum, + choiceSortOrder, + displayType, + minSelection, + maxSelection, + minDate, + maxDate, + showDateSelector, + showCurrentDate, + dateAnswerFormat, + numericAnswerFormat, + unitLabel, + unitPosition, + minLength, + maxLength, + textAnswerFormat, + customAnswerFormat, + supplierTypes, + classificationType, + order, + standardQuestion, + aiQuestionGenerationSource); + } + + @Override + public String toString() { + return Utils.toString( + RfpQuestion.class, + "created", + created, + "createdBy", + createdBy, + "lastModified", + lastModified, + "lastModifiedBy", + lastModifiedBy, + "id", + id, + "text", + text, + "shortText", + shortText, + "htmlText", + htmlText, + "code", + code, + "type", + type, + "choices", + choices, + "categories", + categories, + "subCategories", + subCategories, + "notApplicableAnswer", + notApplicableAnswer, + "otherAnswer", + otherAnswer, + "comments", + comments, + "required", + required, + "fields", + fields, + "maxScore", + maxScore, + "totalSum", + totalSum, + "choiceSortOrder", + choiceSortOrder, + "displayType", + displayType, + "minSelection", + minSelection, + "maxSelection", + maxSelection, + "minDate", + minDate, + "maxDate", + maxDate, + "showDateSelector", + showDateSelector, + "showCurrentDate", + showCurrentDate, + "dateAnswerFormat", + dateAnswerFormat, + "numericAnswerFormat", + numericAnswerFormat, + "unitLabel", + unitLabel, + "unitPosition", + unitPosition, + "minLength", + minLength, + "maxLength", + maxLength, + "textAnswerFormat", + textAnswerFormat, + "customAnswerFormat", + customAnswerFormat, + "supplierTypes", + supplierTypes, + "classificationType", + classificationType, + "order", + order, + "standardQuestion", + standardQuestion, + "aiQuestionGenerationSource", + aiQuestionGenerationSource); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private OffsetDateTime created; + + private String createdBy; + + private OffsetDateTime lastModified; + + private String lastModifiedBy; + + private String id; + + private String text; + + private String shortText; + + private String htmlText; + + private String code; + + private QuestionType type; + + private List choices; + + private List categories; + + private List subCategories; + + private AdditionalChoice notApplicableAnswer; + + private AdditionalChoice otherAnswer; + + private String comments; + + private Boolean required; + + private List fields; + + private Double maxScore; + + private Long totalSum; + + private ChoiceSortOrder choiceSortOrder; + + private DisplayType displayType; + + private Long minSelection; + + private Long maxSelection; + + private LocalDate minDate; + + private LocalDate maxDate; + + private Boolean showDateSelector; + + private Boolean showCurrentDate; + + private DateAnswerFormat dateAnswerFormat; + + private NumericAnswerFormat numericAnswerFormat; + + private String unitLabel; + + private UnitPosition unitPosition; + + private Long minLength; + + private Long maxLength; + + private TextAnswerFormat textAnswerFormat; + + private CustomAnswerFormat customAnswerFormat; + + private List supplierTypes; + + private QuestionClassificationType classificationType; + + private Long order; + + private StandardQuestion standardQuestion; + + private String aiQuestionGenerationSource; + + 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; + } + + /** + * Unique identifier of the question. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Text value of the question field. Displays to users in the UI. + */ + public Builder text(@Nullable String text) { + this.text = text; + return this; + } + + /** + * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of + * the question in reports. + */ + public Builder shortText(@Nullable String shortText) { + this.shortText = shortText; + return this; + } + + /** + * Html of the question. + */ + public Builder htmlText(@Nullable String htmlText) { + this.htmlText = htmlText; + return this; + } + + /** + * Question code is unique identifier for every questions within a survey (can be same across surveys). + * This code is used in reporting and in question and answer data tags for emails. With every new + * question a random question code is generated. + */ + public Builder code(@Nullable String code) { + this.code = code; + return this; + } + + /** + * The type of question. See [this + * article](https://support.cvent.com/s/communityarticle/Survey-Adding-Questions) for details on each + * enum. + */ + public Builder type(@Nullable QuestionType type) { + this.type = type; + return this; + } + + /** + * List of choices for the question. + */ + public Builder choices(@Nullable List choices) { + this.choices = choices; + return this; + } + + /** + * List of categories for the question. + */ + public Builder categories(@Nullable List categories) { + this.categories = categories; + return this; + } + + /** + * List of sub categories for matrix side-by-side questions. + */ + public Builder subCategories(@Nullable List subCategories) { + this.subCategories = subCategories; + return this; + } + + /** + * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + */ + public Builder notApplicableAnswer(@Nullable AdditionalChoice notApplicableAnswer) { + this.notApplicableAnswer = notApplicableAnswer; + return this; + } + + /** + * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + */ + public Builder otherAnswer(@Nullable AdditionalChoice otherAnswer) { + this.otherAnswer = otherAnswer; + return this; + } + + /** + * Text Value of Comments Input box placeholder. + */ + public Builder comments(@Nullable String comments) { + this.comments = comments; + return this; + } + + /** + * True indicates this is a mandatory question field. + */ + public Builder required(@Nullable Boolean required) { + this.required = required; + return this; + } + + /** + * List of fields for form/matrix questions. + */ + public Builder fields(@Nullable List fields) { + this.fields = fields; + return this; + } + + /** + * Max possible score. + */ + public Builder maxScore(@Nullable Double maxScore) { + this.maxScore = maxScore; + return this; + } + + /** + * Total configured sum of all choices for number allocation question. + */ + public Builder totalSum(@Nullable Long totalSum) { + this.totalSum = totalSum; + return this; + } + + /** + * The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: + * Sorted in the order they were added, oldest choices first. + * + *

`Random`: Random sort. + */ + public Builder choiceSortOrder(@Nullable ChoiceSortOrder choiceSortOrder) { + this.choiceSortOrder = choiceSortOrder; + return this; + } + + /** + * The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: + * It is associated with drop down type questions. + * + *

`Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list + * type questions. `MultiSelectBox`: It is associated with multi select box type questions. + * + *

`Vertical`: It is associated with vertical type questions. + */ + public Builder displayType(@Nullable DisplayType displayType) { + this.displayType = displayType; + return this; + } + + /** + * Minimum number of choices that must be selected. + */ + public Builder minSelection(@Nullable Long minSelection) { + this.minSelection = minSelection; + return this; + } + + /** + * Maximum number of choices that can be selected. + */ + public Builder maxSelection(@Nullable Long maxSelection) { + this.maxSelection = maxSelection; + return this; + } + + /** + * The earliest date that can be selected, starting from or after this date. + */ + public Builder minDate(@Nullable LocalDate minDate) { + this.minDate = minDate; + return this; + } + + /** + * The latest date that can be selected, up to or before this date. + */ + public Builder maxDate(@Nullable LocalDate maxDate) { + this.maxDate = maxDate; + return this; + } + + /** + * Indicates if this is a date range question. + */ + public Builder showDateSelector(@Nullable Boolean showDateSelector) { + this.showDateSelector = showDateSelector; + return this; + } + + /** + * Indicates if the current date should be shown. + */ + public Builder showCurrentDate(@Nullable Boolean showCurrentDate) { + this.showCurrentDate = showCurrentDate; + return this; + } + + /** + * The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. + * `DateTime`: Answer format is stored in DateTime format. + * + *

`Time`: Answer format is stored in Time format. + */ + public Builder dateAnswerFormat(@Nullable DateAnswerFormat dateAnswerFormat) { + this.dateAnswerFormat = dateAnswerFormat; + return this; + } + + /** + * The answer format that a given number is stored in. + */ + public Builder numericAnswerFormat(@Nullable NumericAnswerFormat numericAnswerFormat) { + this.numericAnswerFormat = numericAnswerFormat; + return this; + } + + /** + * Label to add before or after textbox. + */ + public Builder unitLabel(@Nullable String unitLabel) { + this.unitLabel = unitLabel; + return this; + } + + /** + * Unit position used for text box question type. + */ + public Builder unitPosition(@Nullable UnitPosition unitPosition) { + this.unitPosition = unitPosition; + return this; + } + + /** + * Minimum number of characters that must be entered. + */ + public Builder minLength(@Nullable Long minLength) { + this.minLength = minLength; + return this; + } + + /** + * Maximum number of characters that can be entered. + */ + public Builder maxLength(@Nullable Long maxLength) { + this.maxLength = maxLength; + return this; + } + + /** + * 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. + */ + public Builder textAnswerFormat(@Nullable TextAnswerFormat textAnswerFormat) { + this.textAnswerFormat = textAnswerFormat; + return this; + } + + /** + * An object that contains custom answer format data. + */ + public Builder customAnswerFormat(@Nullable CustomAnswerFormat customAnswerFormat) { + this.customAnswerFormat = customAnswerFormat; + return this; + } + + /** + * List of supplier types that can view the question on the RFP. + */ + public Builder supplierTypes(@Nullable List supplierTypes) { + this.supplierTypes = supplierTypes; + return this; + } + + /** + * 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. + */ + public Builder classificationType(@Nullable QuestionClassificationType classificationType) { + this.classificationType = classificationType; + return this; + } + + /** + * Determines the display order for questions on the RFP. Questions with smaller values appear first. + */ + public Builder order(@Nullable Long order) { + this.order = order; + return this; + } + + /** + * Standard questions are selected from a predefined list of Cvent questions that can be used in an + * RFP. + */ + public Builder standardQuestion(@Nullable StandardQuestion standardQuestion) { + this.standardQuestion = standardQuestion; + return this; + } + + /** + * Represents the AI generation source for the custom question on RFP. This field is set during + * question creation and cannot be modified afterwards. + */ + public Builder aiQuestionGenerationSource(@Nullable String aiQuestionGenerationSource) { + this.aiQuestionGenerationSource = aiQuestionGenerationSource; + return this; + } + + public RfpQuestion build() { + return new RfpQuestion( + created, + createdBy, + lastModified, + lastModifiedBy, + id, + text, + shortText, + htmlText, + code, + type, + choices, + categories, + subCategories, + notApplicableAnswer, + otherAnswer, + comments, + required, + fields, + maxScore, + totalSum, + choiceSortOrder, + displayType, + minSelection, + maxSelection, + minDate, + maxDate, + showDateSelector, + showCurrentDate, + dateAnswerFormat, + numericAnswerFormat, + unitLabel, + unitPosition, + minLength, + maxLength, + textAnswerFormat, + customAnswerFormat, + supplierTypes, + classificationType, + order, + standardQuestion, + aiQuestionGenerationSource); + } + + private static final LazySingletonValue _SINGLETON_VALUE_Required = + new LazySingletonValue<>("required", "false", new TypeReference() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_MinSelection = + new LazySingletonValue<>("minSelection", "0", new TypeReference() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_MaxSelection = + new LazySingletonValue<>("maxSelection", "0", new TypeReference() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_DateAnswerFormat = + new LazySingletonValue<>("dateAnswerFormat", "\"DateTime\"", new TypeReference() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_MinLength = + new LazySingletonValue<>("minLength", "0", new TypeReference() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_MaxLength = + new LazySingletonValue<>("maxLength", "500", new TypeReference() {}); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpQuestionJson.java b/packages/java/src/main/java/com/cvent/models/components/RfpQuestionJson.java deleted file mode 100644 index e71fcec5c..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/RfpQuestionJson.java +++ /dev/null @@ -1,1842 +0,0 @@ -/* - * 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.Double; -import java.lang.Long; -import java.lang.Override; -import java.lang.String; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.List; -import java.util.Optional; - -/** - * RfpQuestionJson - * - *

Question associated with an RFP. - */ -public class RfpQuestionJson { - /** - * 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; - - /** - * Unique identifier of the question. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * Text value of the question field. Displays to users in the UI. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("text") - private String text; - - /** - * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of - * the question in reports. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("shortText") - private String shortText; - - /** - * Html of the question. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("htmlText") - private String htmlText; - - /** - * Question code is unique identifier for every questions within a survey (can be same across surveys). - * This code is used in reporting and in question and answer data tags for emails. With every new - * question a random question code is generated. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("code") - private String code; - - /** - * The type of question. See [this - * article](https://support.cvent.com/s/communityarticle/Survey-Adding-Questions) for details on each - * enum. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private QuestionTypeJson type; - - /** - * List of choices for the question. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("choices") - private List choices; - - /** - * List of categories for the question. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("categories") - private List categories; - - /** - * List of sub categories for matrix side-by-side questions. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("subCategories") - private List subCategories; - - /** - * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("notApplicableAnswer") - private AdditionalChoiceJson2 notApplicableAnswer; - - /** - * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("otherAnswer") - private AdditionalChoiceJson2 otherAnswer; - - /** - * Text Value of Comments Input box placeholder. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("comments") - private String comments; - - /** - * True indicates this is a mandatory question field. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("required") - private Boolean required; - - /** - * List of fields for form/matrix questions. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("fields") - private List fields; - - /** - * Max possible score. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("maxScore") - private Double maxScore; - - /** - * Total configured sum of all choices for number allocation question. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("totalSum") - private Long totalSum; - - /** - * The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: - * Sorted in the order they were added, oldest choices first. - * - *

`Random`: Random sort. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("choiceSortOrder") - private ChoiceSortOrderJson choiceSortOrder; - - /** - * The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: - * It is associated with drop down type questions. - * - *

`Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list - * type questions. `MultiSelectBox`: It is associated with multi select box type questions. - * - *

`Vertical`: It is associated with vertical type questions. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("displayType") - private DisplayTypeJson displayType; - - /** - * Minimum number of choices that must be selected. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("minSelection") - private Long minSelection; - - /** - * Maximum number of choices that can be selected. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("maxSelection") - private Long maxSelection; - - /** - * The earliest date that can be selected, starting from or after this date. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("minDate") - private LocalDate minDate; - - /** - * The latest date that can be selected, up to or before this date. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("maxDate") - private LocalDate maxDate; - - /** - * Indicates if this is a date range question. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("showDateSelector") - private Boolean showDateSelector; - - /** - * Indicates if the current date should be shown. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("showCurrentDate") - private Boolean showCurrentDate; - - /** - * The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. - * `DateTime`: Answer format is stored in DateTime format. - * - *

`Time`: Answer format is stored in Time format. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("dateAnswerFormat") - private DateAnswerFormatJson dateAnswerFormat; - - /** - * The answer format that a given number is stored in. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("numericAnswerFormat") - private NumericAnswerFormatJson numericAnswerFormat; - - /** - * Label to add before or after textbox. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("unitLabel") - private String unitLabel; - - /** - * Unit position used for text box question type. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("unitPosition") - private UnitPositionJson unitPosition; - - /** - * Minimum number of characters that must be entered. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("minLength") - private Long minLength; - - /** - * Maximum number of characters that can be entered. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("maxLength") - private Long maxLength; - - /** - * 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. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("textAnswerFormat") - private TextAnswerFormatJson textAnswerFormat; - - /** - * An object that contains custom answer format data. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("customAnswerFormat") - private CustomAnswerFormat customAnswerFormat; - - /** - * List of supplier types that can view the question on the RFP. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("supplierTypes") - private List supplierTypes; - - /** - * 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. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("classificationType") - private QuestionClassificationTypeJson classificationType; - - /** - * Determines the display order for questions on the RFP. Questions with smaller values appear first. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("order") - private Long order; - - /** - * Standard questions are selected from a predefined list of Cvent questions that can be used in an - * RFP. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("standardQuestion") - private StandardQuestionJson standardQuestion; - - /** - * Represents the AI generation source for the custom question on RFP. This field is set during - * question creation and cannot be modified afterwards. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("aiQuestionGenerationSource") - private String aiQuestionGenerationSource; - - @JsonCreator - public RfpQuestionJson( - @JsonProperty("created") @Nullable OffsetDateTime created, - @JsonProperty("createdBy") @Nullable String createdBy, - @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, - @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, - @JsonProperty("id") @Nullable String id, - @JsonProperty("text") @Nullable String text, - @JsonProperty("shortText") @Nullable String shortText, - @JsonProperty("htmlText") @Nullable String htmlText, - @JsonProperty("code") @Nullable String code, - @JsonProperty("type") @Nullable QuestionTypeJson type, - @JsonProperty("choices") @Nullable List choices, - @JsonProperty("categories") @Nullable List categories, - @JsonProperty("subCategories") @Nullable List subCategories, - @JsonProperty("notApplicableAnswer") @Nullable AdditionalChoiceJson2 notApplicableAnswer, - @JsonProperty("otherAnswer") @Nullable AdditionalChoiceJson2 otherAnswer, - @JsonProperty("comments") @Nullable String comments, - @JsonProperty("required") @Nullable Boolean required, - @JsonProperty("fields") @Nullable List fields, - @JsonProperty("maxScore") @Nullable Double maxScore, - @JsonProperty("totalSum") @Nullable Long totalSum, - @JsonProperty("choiceSortOrder") @Nullable ChoiceSortOrderJson choiceSortOrder, - @JsonProperty("displayType") @Nullable DisplayTypeJson displayType, - @JsonProperty("minSelection") @Nullable Long minSelection, - @JsonProperty("maxSelection") @Nullable Long maxSelection, - @JsonProperty("minDate") @Nullable LocalDate minDate, - @JsonProperty("maxDate") @Nullable LocalDate maxDate, - @JsonProperty("showDateSelector") @Nullable Boolean showDateSelector, - @JsonProperty("showCurrentDate") @Nullable Boolean showCurrentDate, - @JsonProperty("dateAnswerFormat") @Nullable DateAnswerFormatJson dateAnswerFormat, - @JsonProperty("numericAnswerFormat") @Nullable NumericAnswerFormatJson numericAnswerFormat, - @JsonProperty("unitLabel") @Nullable String unitLabel, - @JsonProperty("unitPosition") @Nullable UnitPositionJson unitPosition, - @JsonProperty("minLength") @Nullable Long minLength, - @JsonProperty("maxLength") @Nullable Long maxLength, - @JsonProperty("textAnswerFormat") @Nullable TextAnswerFormatJson textAnswerFormat, - @JsonProperty("customAnswerFormat") @Nullable CustomAnswerFormat customAnswerFormat, - @JsonProperty("supplierTypes") @Nullable List supplierTypes, - @JsonProperty("classificationType") @Nullable QuestionClassificationTypeJson classificationType, - @JsonProperty("order") @Nullable Long order, - @JsonProperty("standardQuestion") @Nullable StandardQuestionJson standardQuestion, - @JsonProperty("aiQuestionGenerationSource") @Nullable String aiQuestionGenerationSource) { - this.created = created; - this.createdBy = createdBy; - this.lastModified = lastModified; - this.lastModifiedBy = lastModifiedBy; - this.id = id; - this.text = text; - this.shortText = shortText; - this.htmlText = htmlText; - this.code = code; - this.type = type; - this.choices = choices; - this.categories = categories; - this.subCategories = subCategories; - this.notApplicableAnswer = notApplicableAnswer; - this.otherAnswer = otherAnswer; - this.comments = comments; - this.required = Optional.ofNullable(required).orElse(Builder._SINGLETON_VALUE_Required.value()); - this.fields = fields; - this.maxScore = maxScore; - this.totalSum = totalSum; - this.choiceSortOrder = choiceSortOrder; - this.displayType = displayType; - this.minSelection = Optional.ofNullable(minSelection).orElse(Builder._SINGLETON_VALUE_MinSelection.value()); - this.maxSelection = Optional.ofNullable(maxSelection).orElse(Builder._SINGLETON_VALUE_MaxSelection.value()); - this.minDate = minDate; - this.maxDate = maxDate; - this.showDateSelector = showDateSelector; - this.showCurrentDate = showCurrentDate; - this.dateAnswerFormat = - Optional.ofNullable(dateAnswerFormat).orElse(Builder._SINGLETON_VALUE_DateAnswerFormat.value()); - this.numericAnswerFormat = numericAnswerFormat; - this.unitLabel = unitLabel; - this.unitPosition = unitPosition; - this.minLength = Optional.ofNullable(minLength).orElse(Builder._SINGLETON_VALUE_MinLength.value()); - this.maxLength = Optional.ofNullable(maxLength).orElse(Builder._SINGLETON_VALUE_MaxLength.value()); - this.textAnswerFormat = textAnswerFormat; - this.customAnswerFormat = customAnswerFormat; - this.supplierTypes = supplierTypes; - this.classificationType = classificationType; - this.order = order; - this.standardQuestion = standardQuestion; - this.aiQuestionGenerationSource = aiQuestionGenerationSource; - } - - public RfpQuestionJson() { - this( - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - 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); - } - - /** - * Unique identifier of the question. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * Text value of the question field. Displays to users in the UI. - */ - public Optional text() { - return Optional.ofNullable(this.text); - } - - /** - * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of - * the question in reports. - */ - public Optional shortText() { - return Optional.ofNullable(this.shortText); - } - - /** - * Html of the question. - */ - public Optional htmlText() { - return Optional.ofNullable(this.htmlText); - } - - /** - * Question code is unique identifier for every questions within a survey (can be same across surveys). - * This code is used in reporting and in question and answer data tags for emails. With every new - * question a random question code is generated. - */ - public Optional code() { - return Optional.ofNullable(this.code); - } - - /** - * The type of question. See [this - * article](https://support.cvent.com/s/communityarticle/Survey-Adding-Questions) for details on each - * enum. - */ - public Optional type() { - return Optional.ofNullable(this.type); - } - - /** - * List of choices for the question. - */ - public Optional> choices() { - return Optional.ofNullable(this.choices); - } - - /** - * List of categories for the question. - */ - public Optional> categories() { - return Optional.ofNullable(this.categories); - } - - /** - * List of sub categories for matrix side-by-side questions. - */ - public Optional> subCategories() { - return Optional.ofNullable(this.subCategories); - } - - /** - * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. - */ - public Optional notApplicableAnswer() { - return Optional.ofNullable(this.notApplicableAnswer); - } - - /** - * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. - */ - public Optional otherAnswer() { - return Optional.ofNullable(this.otherAnswer); - } - - /** - * Text Value of Comments Input box placeholder. - */ - public Optional comments() { - return Optional.ofNullable(this.comments); - } - - /** - * True indicates this is a mandatory question field. - */ - public Optional required() { - return Optional.ofNullable(this.required); - } - - /** - * List of fields for form/matrix questions. - */ - public Optional> fields() { - return Optional.ofNullable(this.fields); - } - - /** - * Max possible score. - */ - public Optional maxScore() { - return Optional.ofNullable(this.maxScore); - } - - /** - * Total configured sum of all choices for number allocation question. - */ - public Optional totalSum() { - return Optional.ofNullable(this.totalSum); - } - - /** - * The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: - * Sorted in the order they were added, oldest choices first. - * - *

`Random`: Random sort. - */ - public Optional choiceSortOrder() { - return Optional.ofNullable(this.choiceSortOrder); - } - - /** - * The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: - * It is associated with drop down type questions. - * - *

`Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list - * type questions. `MultiSelectBox`: It is associated with multi select box type questions. - * - *

`Vertical`: It is associated with vertical type questions. - */ - public Optional displayType() { - return Optional.ofNullable(this.displayType); - } - - /** - * Minimum number of choices that must be selected. - */ - public Optional minSelection() { - return Optional.ofNullable(this.minSelection); - } - - /** - * Maximum number of choices that can be selected. - */ - public Optional maxSelection() { - return Optional.ofNullable(this.maxSelection); - } - - /** - * The earliest date that can be selected, starting from or after this date. - */ - public Optional minDate() { - return Optional.ofNullable(this.minDate); - } - - /** - * The latest date that can be selected, up to or before this date. - */ - public Optional maxDate() { - return Optional.ofNullable(this.maxDate); - } - - /** - * Indicates if this is a date range question. - */ - public Optional showDateSelector() { - return Optional.ofNullable(this.showDateSelector); - } - - /** - * Indicates if the current date should be shown. - */ - public Optional showCurrentDate() { - return Optional.ofNullable(this.showCurrentDate); - } - - /** - * The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. - * `DateTime`: Answer format is stored in DateTime format. - * - *

`Time`: Answer format is stored in Time format. - */ - public Optional dateAnswerFormat() { - return Optional.ofNullable(this.dateAnswerFormat); - } - - /** - * The answer format that a given number is stored in. - */ - public Optional numericAnswerFormat() { - return Optional.ofNullable(this.numericAnswerFormat); - } - - /** - * Label to add before or after textbox. - */ - public Optional unitLabel() { - return Optional.ofNullable(this.unitLabel); - } - - /** - * Unit position used for text box question type. - */ - public Optional unitPosition() { - return Optional.ofNullable(this.unitPosition); - } - - /** - * Minimum number of characters that must be entered. - */ - public Optional minLength() { - return Optional.ofNullable(this.minLength); - } - - /** - * Maximum number of characters that can be entered. - */ - public Optional maxLength() { - return Optional.ofNullable(this.maxLength); - } - - /** - * 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. - */ - public Optional textAnswerFormat() { - return Optional.ofNullable(this.textAnswerFormat); - } - - /** - * An object that contains custom answer format data. - */ - public Optional customAnswerFormat() { - return Optional.ofNullable(this.customAnswerFormat); - } - - /** - * List of supplier types that can view the question on the RFP. - */ - public Optional> supplierTypes() { - return Optional.ofNullable(this.supplierTypes); - } - - /** - * 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. - */ - public Optional classificationType() { - return Optional.ofNullable(this.classificationType); - } - - /** - * Determines the display order for questions on the RFP. Questions with smaller values appear first. - */ - public Optional order() { - return Optional.ofNullable(this.order); - } - - /** - * Standard questions are selected from a predefined list of Cvent questions that can be used in an - * RFP. - */ - public Optional standardQuestion() { - return Optional.ofNullable(this.standardQuestion); - } - - /** - * Represents the AI generation source for the custom question on RFP. This field is set during - * question creation and cannot be modified afterwards. - */ - public Optional aiQuestionGenerationSource() { - return Optional.ofNullable(this.aiQuestionGenerationSource); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The ISO 8601 zoned date time when this record was created. - */ - public RfpQuestionJson withCreated(@Nullable OffsetDateTime created) { - this.created = created; - return this; - } - - /** - * The identifier of the user that created this record. - */ - public RfpQuestionJson withCreatedBy(@Nullable String createdBy) { - this.createdBy = createdBy; - return this; - } - - /** - * The ISO 8601 zoned date time when this record was updated. - */ - public RfpQuestionJson withLastModified(@Nullable OffsetDateTime lastModified) { - this.lastModified = lastModified; - return this; - } - - /** - * The identifier of the user that last updated this record. - */ - public RfpQuestionJson withLastModifiedBy(@Nullable String lastModifiedBy) { - this.lastModifiedBy = lastModifiedBy; - return this; - } - - /** - * Unique identifier of the question. - */ - public RfpQuestionJson withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * Text value of the question field. Displays to users in the UI. - */ - public RfpQuestionJson withText(@Nullable String text) { - this.text = text; - return this; - } - - /** - * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of - * the question in reports. - */ - public RfpQuestionJson withShortText(@Nullable String shortText) { - this.shortText = shortText; - return this; - } - - /** - * Html of the question. - */ - public RfpQuestionJson withHtmlText(@Nullable String htmlText) { - this.htmlText = htmlText; - return this; - } - - /** - * Question code is unique identifier for every questions within a survey (can be same across surveys). - * This code is used in reporting and in question and answer data tags for emails. With every new - * question a random question code is generated. - */ - public RfpQuestionJson withCode(@Nullable String code) { - this.code = code; - return this; - } - - /** - * The type of question. See [this - * article](https://support.cvent.com/s/communityarticle/Survey-Adding-Questions) for details on each - * enum. - */ - public RfpQuestionJson withType(@Nullable QuestionTypeJson type) { - this.type = type; - return this; - } - - /** - * List of choices for the question. - */ - public RfpQuestionJson withChoices(@Nullable List choices) { - this.choices = choices; - return this; - } - - /** - * List of categories for the question. - */ - public RfpQuestionJson withCategories(@Nullable List categories) { - this.categories = categories; - return this; - } - - /** - * List of sub categories for matrix side-by-side questions. - */ - public RfpQuestionJson withSubCategories(@Nullable List subCategories) { - this.subCategories = subCategories; - return this; - } - - /** - * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. - */ - public RfpQuestionJson withNotApplicableAnswer(@Nullable AdditionalChoiceJson2 notApplicableAnswer) { - this.notApplicableAnswer = notApplicableAnswer; - return this; - } - - /** - * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. - */ - public RfpQuestionJson withOtherAnswer(@Nullable AdditionalChoiceJson2 otherAnswer) { - this.otherAnswer = otherAnswer; - return this; - } - - /** - * Text Value of Comments Input box placeholder. - */ - public RfpQuestionJson withComments(@Nullable String comments) { - this.comments = comments; - return this; - } - - /** - * True indicates this is a mandatory question field. - */ - public RfpQuestionJson withRequired(@Nullable Boolean required) { - this.required = required; - return this; - } - - /** - * List of fields for form/matrix questions. - */ - public RfpQuestionJson withFields(@Nullable List fields) { - this.fields = fields; - return this; - } - - /** - * Max possible score. - */ - public RfpQuestionJson withMaxScore(@Nullable Double maxScore) { - this.maxScore = maxScore; - return this; - } - - /** - * Total configured sum of all choices for number allocation question. - */ - public RfpQuestionJson withTotalSum(@Nullable Long totalSum) { - this.totalSum = totalSum; - return this; - } - - /** - * The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: - * Sorted in the order they were added, oldest choices first. - * - *

`Random`: Random sort. - */ - public RfpQuestionJson withChoiceSortOrder(@Nullable ChoiceSortOrderJson choiceSortOrder) { - this.choiceSortOrder = choiceSortOrder; - return this; - } - - /** - * The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: - * It is associated with drop down type questions. - * - *

`Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list - * type questions. `MultiSelectBox`: It is associated with multi select box type questions. - * - *

`Vertical`: It is associated with vertical type questions. - */ - public RfpQuestionJson withDisplayType(@Nullable DisplayTypeJson displayType) { - this.displayType = displayType; - return this; - } - - /** - * Minimum number of choices that must be selected. - */ - public RfpQuestionJson withMinSelection(@Nullable Long minSelection) { - this.minSelection = minSelection; - return this; - } - - /** - * Maximum number of choices that can be selected. - */ - public RfpQuestionJson withMaxSelection(@Nullable Long maxSelection) { - this.maxSelection = maxSelection; - return this; - } - - /** - * The earliest date that can be selected, starting from or after this date. - */ - public RfpQuestionJson withMinDate(@Nullable LocalDate minDate) { - this.minDate = minDate; - return this; - } - - /** - * The latest date that can be selected, up to or before this date. - */ - public RfpQuestionJson withMaxDate(@Nullable LocalDate maxDate) { - this.maxDate = maxDate; - return this; - } - - /** - * Indicates if this is a date range question. - */ - public RfpQuestionJson withShowDateSelector(@Nullable Boolean showDateSelector) { - this.showDateSelector = showDateSelector; - return this; - } - - /** - * Indicates if the current date should be shown. - */ - public RfpQuestionJson withShowCurrentDate(@Nullable Boolean showCurrentDate) { - this.showCurrentDate = showCurrentDate; - return this; - } - - /** - * The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. - * `DateTime`: Answer format is stored in DateTime format. - * - *

`Time`: Answer format is stored in Time format. - */ - public RfpQuestionJson withDateAnswerFormat(@Nullable DateAnswerFormatJson dateAnswerFormat) { - this.dateAnswerFormat = dateAnswerFormat; - return this; - } - - /** - * The answer format that a given number is stored in. - */ - public RfpQuestionJson withNumericAnswerFormat(@Nullable NumericAnswerFormatJson numericAnswerFormat) { - this.numericAnswerFormat = numericAnswerFormat; - return this; - } - - /** - * Label to add before or after textbox. - */ - public RfpQuestionJson withUnitLabel(@Nullable String unitLabel) { - this.unitLabel = unitLabel; - return this; - } - - /** - * Unit position used for text box question type. - */ - public RfpQuestionJson withUnitPosition(@Nullable UnitPositionJson unitPosition) { - this.unitPosition = unitPosition; - return this; - } - - /** - * Minimum number of characters that must be entered. - */ - public RfpQuestionJson withMinLength(@Nullable Long minLength) { - this.minLength = minLength; - return this; - } - - /** - * Maximum number of characters that can be entered. - */ - public RfpQuestionJson withMaxLength(@Nullable Long maxLength) { - this.maxLength = maxLength; - return this; - } - - /** - * 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. - */ - public RfpQuestionJson withTextAnswerFormat(@Nullable TextAnswerFormatJson textAnswerFormat) { - this.textAnswerFormat = textAnswerFormat; - return this; - } - - /** - * An object that contains custom answer format data. - */ - public RfpQuestionJson withCustomAnswerFormat(@Nullable CustomAnswerFormat customAnswerFormat) { - this.customAnswerFormat = customAnswerFormat; - return this; - } - - /** - * List of supplier types that can view the question on the RFP. - */ - public RfpQuestionJson withSupplierTypes(@Nullable List supplierTypes) { - this.supplierTypes = supplierTypes; - return this; - } - - /** - * 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. - */ - public RfpQuestionJson withClassificationType(@Nullable QuestionClassificationTypeJson classificationType) { - this.classificationType = classificationType; - return this; - } - - /** - * Determines the display order for questions on the RFP. Questions with smaller values appear first. - */ - public RfpQuestionJson withOrder(@Nullable Long order) { - this.order = order; - return this; - } - - /** - * Standard questions are selected from a predefined list of Cvent questions that can be used in an - * RFP. - */ - public RfpQuestionJson withStandardQuestion(@Nullable StandardQuestionJson standardQuestion) { - this.standardQuestion = standardQuestion; - return this; - } - - /** - * Represents the AI generation source for the custom question on RFP. This field is set during - * question creation and cannot be modified afterwards. - */ - public RfpQuestionJson withAiQuestionGenerationSource(@Nullable String aiQuestionGenerationSource) { - this.aiQuestionGenerationSource = aiQuestionGenerationSource; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - RfpQuestionJson other = (RfpQuestionJson) 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.id, other.id) - && Utils.enhancedDeepEquals(this.text, other.text) - && Utils.enhancedDeepEquals(this.shortText, other.shortText) - && Utils.enhancedDeepEquals(this.htmlText, other.htmlText) - && Utils.enhancedDeepEquals(this.code, other.code) - && Utils.enhancedDeepEquals(this.type, other.type) - && Utils.enhancedDeepEquals(this.choices, other.choices) - && Utils.enhancedDeepEquals(this.categories, other.categories) - && Utils.enhancedDeepEquals(this.subCategories, other.subCategories) - && Utils.enhancedDeepEquals(this.notApplicableAnswer, other.notApplicableAnswer) - && Utils.enhancedDeepEquals(this.otherAnswer, other.otherAnswer) - && Utils.enhancedDeepEquals(this.comments, other.comments) - && Utils.enhancedDeepEquals(this.required, other.required) - && Utils.enhancedDeepEquals(this.fields, other.fields) - && Utils.enhancedDeepEquals(this.maxScore, other.maxScore) - && Utils.enhancedDeepEquals(this.totalSum, other.totalSum) - && Utils.enhancedDeepEquals(this.choiceSortOrder, other.choiceSortOrder) - && Utils.enhancedDeepEquals(this.displayType, other.displayType) - && Utils.enhancedDeepEquals(this.minSelection, other.minSelection) - && Utils.enhancedDeepEquals(this.maxSelection, other.maxSelection) - && Utils.enhancedDeepEquals(this.minDate, other.minDate) - && Utils.enhancedDeepEquals(this.maxDate, other.maxDate) - && Utils.enhancedDeepEquals(this.showDateSelector, other.showDateSelector) - && Utils.enhancedDeepEquals(this.showCurrentDate, other.showCurrentDate) - && Utils.enhancedDeepEquals(this.dateAnswerFormat, other.dateAnswerFormat) - && Utils.enhancedDeepEquals(this.numericAnswerFormat, other.numericAnswerFormat) - && Utils.enhancedDeepEquals(this.unitLabel, other.unitLabel) - && Utils.enhancedDeepEquals(this.unitPosition, other.unitPosition) - && Utils.enhancedDeepEquals(this.minLength, other.minLength) - && Utils.enhancedDeepEquals(this.maxLength, other.maxLength) - && Utils.enhancedDeepEquals(this.textAnswerFormat, other.textAnswerFormat) - && Utils.enhancedDeepEquals(this.customAnswerFormat, other.customAnswerFormat) - && Utils.enhancedDeepEquals(this.supplierTypes, other.supplierTypes) - && Utils.enhancedDeepEquals(this.classificationType, other.classificationType) - && Utils.enhancedDeepEquals(this.order, other.order) - && Utils.enhancedDeepEquals(this.standardQuestion, other.standardQuestion) - && Utils.enhancedDeepEquals(this.aiQuestionGenerationSource, other.aiQuestionGenerationSource); - } - - @Override - public int hashCode() { - return Utils.enhancedHash( - created, - createdBy, - lastModified, - lastModifiedBy, - id, - text, - shortText, - htmlText, - code, - type, - choices, - categories, - subCategories, - notApplicableAnswer, - otherAnswer, - comments, - required, - fields, - maxScore, - totalSum, - choiceSortOrder, - displayType, - minSelection, - maxSelection, - minDate, - maxDate, - showDateSelector, - showCurrentDate, - dateAnswerFormat, - numericAnswerFormat, - unitLabel, - unitPosition, - minLength, - maxLength, - textAnswerFormat, - customAnswerFormat, - supplierTypes, - classificationType, - order, - standardQuestion, - aiQuestionGenerationSource); - } - - @Override - public String toString() { - return Utils.toString( - RfpQuestionJson.class, - "created", - created, - "createdBy", - createdBy, - "lastModified", - lastModified, - "lastModifiedBy", - lastModifiedBy, - "id", - id, - "text", - text, - "shortText", - shortText, - "htmlText", - htmlText, - "code", - code, - "type", - type, - "choices", - choices, - "categories", - categories, - "subCategories", - subCategories, - "notApplicableAnswer", - notApplicableAnswer, - "otherAnswer", - otherAnswer, - "comments", - comments, - "required", - required, - "fields", - fields, - "maxScore", - maxScore, - "totalSum", - totalSum, - "choiceSortOrder", - choiceSortOrder, - "displayType", - displayType, - "minSelection", - minSelection, - "maxSelection", - maxSelection, - "minDate", - minDate, - "maxDate", - maxDate, - "showDateSelector", - showDateSelector, - "showCurrentDate", - showCurrentDate, - "dateAnswerFormat", - dateAnswerFormat, - "numericAnswerFormat", - numericAnswerFormat, - "unitLabel", - unitLabel, - "unitPosition", - unitPosition, - "minLength", - minLength, - "maxLength", - maxLength, - "textAnswerFormat", - textAnswerFormat, - "customAnswerFormat", - customAnswerFormat, - "supplierTypes", - supplierTypes, - "classificationType", - classificationType, - "order", - order, - "standardQuestion", - standardQuestion, - "aiQuestionGenerationSource", - aiQuestionGenerationSource); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private OffsetDateTime created; - - private String createdBy; - - private OffsetDateTime lastModified; - - private String lastModifiedBy; - - private String id; - - private String text; - - private String shortText; - - private String htmlText; - - private String code; - - private QuestionTypeJson type; - - private List choices; - - private List categories; - - private List subCategories; - - private AdditionalChoiceJson2 notApplicableAnswer; - - private AdditionalChoiceJson2 otherAnswer; - - private String comments; - - private Boolean required; - - private List fields; - - private Double maxScore; - - private Long totalSum; - - private ChoiceSortOrderJson choiceSortOrder; - - private DisplayTypeJson displayType; - - private Long minSelection; - - private Long maxSelection; - - private LocalDate minDate; - - private LocalDate maxDate; - - private Boolean showDateSelector; - - private Boolean showCurrentDate; - - private DateAnswerFormatJson dateAnswerFormat; - - private NumericAnswerFormatJson numericAnswerFormat; - - private String unitLabel; - - private UnitPositionJson unitPosition; - - private Long minLength; - - private Long maxLength; - - private TextAnswerFormatJson textAnswerFormat; - - private CustomAnswerFormat customAnswerFormat; - - private List supplierTypes; - - private QuestionClassificationTypeJson classificationType; - - private Long order; - - private StandardQuestionJson standardQuestion; - - private String aiQuestionGenerationSource; - - 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; - } - - /** - * Unique identifier of the question. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * Text value of the question field. Displays to users in the UI. - */ - public Builder text(@Nullable String text) { - this.text = text; - return this; - } - - /** - * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of - * the question in reports. - */ - public Builder shortText(@Nullable String shortText) { - this.shortText = shortText; - return this; - } - - /** - * Html of the question. - */ - public Builder htmlText(@Nullable String htmlText) { - this.htmlText = htmlText; - return this; - } - - /** - * Question code is unique identifier for every questions within a survey (can be same across surveys). - * This code is used in reporting and in question and answer data tags for emails. With every new - * question a random question code is generated. - */ - public Builder code(@Nullable String code) { - this.code = code; - return this; - } - - /** - * The type of question. See [this - * article](https://support.cvent.com/s/communityarticle/Survey-Adding-Questions) for details on each - * enum. - */ - public Builder type(@Nullable QuestionTypeJson type) { - this.type = type; - return this; - } - - /** - * List of choices for the question. - */ - public Builder choices(@Nullable List choices) { - this.choices = choices; - return this; - } - - /** - * List of categories for the question. - */ - public Builder categories(@Nullable List categories) { - this.categories = categories; - return this; - } - - /** - * List of sub categories for matrix side-by-side questions. - */ - public Builder subCategories(@Nullable List subCategories) { - this.subCategories = subCategories; - return this; - } - - /** - * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. - */ - public Builder notApplicableAnswer(@Nullable AdditionalChoiceJson2 notApplicableAnswer) { - this.notApplicableAnswer = notApplicableAnswer; - return this; - } - - /** - * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. - */ - public Builder otherAnswer(@Nullable AdditionalChoiceJson2 otherAnswer) { - this.otherAnswer = otherAnswer; - return this; - } - - /** - * Text Value of Comments Input box placeholder. - */ - public Builder comments(@Nullable String comments) { - this.comments = comments; - return this; - } - - /** - * True indicates this is a mandatory question field. - */ - public Builder required(@Nullable Boolean required) { - this.required = required; - return this; - } - - /** - * List of fields for form/matrix questions. - */ - public Builder fields(@Nullable List fields) { - this.fields = fields; - return this; - } - - /** - * Max possible score. - */ - public Builder maxScore(@Nullable Double maxScore) { - this.maxScore = maxScore; - return this; - } - - /** - * Total configured sum of all choices for number allocation question. - */ - public Builder totalSum(@Nullable Long totalSum) { - this.totalSum = totalSum; - return this; - } - - /** - * The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: - * Sorted in the order they were added, oldest choices first. - * - *

`Random`: Random sort. - */ - public Builder choiceSortOrder(@Nullable ChoiceSortOrderJson choiceSortOrder) { - this.choiceSortOrder = choiceSortOrder; - return this; - } - - /** - * The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: - * It is associated with drop down type questions. - * - *

`Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list - * type questions. `MultiSelectBox`: It is associated with multi select box type questions. - * - *

`Vertical`: It is associated with vertical type questions. - */ - public Builder displayType(@Nullable DisplayTypeJson displayType) { - this.displayType = displayType; - return this; - } - - /** - * Minimum number of choices that must be selected. - */ - public Builder minSelection(@Nullable Long minSelection) { - this.minSelection = minSelection; - return this; - } - - /** - * Maximum number of choices that can be selected. - */ - public Builder maxSelection(@Nullable Long maxSelection) { - this.maxSelection = maxSelection; - return this; - } - - /** - * The earliest date that can be selected, starting from or after this date. - */ - public Builder minDate(@Nullable LocalDate minDate) { - this.minDate = minDate; - return this; - } - - /** - * The latest date that can be selected, up to or before this date. - */ - public Builder maxDate(@Nullable LocalDate maxDate) { - this.maxDate = maxDate; - return this; - } - - /** - * Indicates if this is a date range question. - */ - public Builder showDateSelector(@Nullable Boolean showDateSelector) { - this.showDateSelector = showDateSelector; - return this; - } - - /** - * Indicates if the current date should be shown. - */ - public Builder showCurrentDate(@Nullable Boolean showCurrentDate) { - this.showCurrentDate = showCurrentDate; - return this; - } - - /** - * The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. - * `DateTime`: Answer format is stored in DateTime format. - * - *

`Time`: Answer format is stored in Time format. - */ - public Builder dateAnswerFormat(@Nullable DateAnswerFormatJson dateAnswerFormat) { - this.dateAnswerFormat = dateAnswerFormat; - return this; - } - - /** - * The answer format that a given number is stored in. - */ - public Builder numericAnswerFormat(@Nullable NumericAnswerFormatJson numericAnswerFormat) { - this.numericAnswerFormat = numericAnswerFormat; - return this; - } - - /** - * Label to add before or after textbox. - */ - public Builder unitLabel(@Nullable String unitLabel) { - this.unitLabel = unitLabel; - return this; - } - - /** - * Unit position used for text box question type. - */ - public Builder unitPosition(@Nullable UnitPositionJson unitPosition) { - this.unitPosition = unitPosition; - return this; - } - - /** - * Minimum number of characters that must be entered. - */ - public Builder minLength(@Nullable Long minLength) { - this.minLength = minLength; - return this; - } - - /** - * Maximum number of characters that can be entered. - */ - public Builder maxLength(@Nullable Long maxLength) { - this.maxLength = maxLength; - return this; - } - - /** - * 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. - */ - public Builder textAnswerFormat(@Nullable TextAnswerFormatJson textAnswerFormat) { - this.textAnswerFormat = textAnswerFormat; - return this; - } - - /** - * An object that contains custom answer format data. - */ - public Builder customAnswerFormat(@Nullable CustomAnswerFormat customAnswerFormat) { - this.customAnswerFormat = customAnswerFormat; - return this; - } - - /** - * List of supplier types that can view the question on the RFP. - */ - public Builder supplierTypes(@Nullable List supplierTypes) { - this.supplierTypes = supplierTypes; - return this; - } - - /** - * 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. - */ - public Builder classificationType(@Nullable QuestionClassificationTypeJson classificationType) { - this.classificationType = classificationType; - return this; - } - - /** - * Determines the display order for questions on the RFP. Questions with smaller values appear first. - */ - public Builder order(@Nullable Long order) { - this.order = order; - return this; - } - - /** - * Standard questions are selected from a predefined list of Cvent questions that can be used in an - * RFP. - */ - public Builder standardQuestion(@Nullable StandardQuestionJson standardQuestion) { - this.standardQuestion = standardQuestion; - return this; - } - - /** - * Represents the AI generation source for the custom question on RFP. This field is set during - * question creation and cannot be modified afterwards. - */ - public Builder aiQuestionGenerationSource(@Nullable String aiQuestionGenerationSource) { - this.aiQuestionGenerationSource = aiQuestionGenerationSource; - return this; - } - - public RfpQuestionJson build() { - return new RfpQuestionJson( - created, - createdBy, - lastModified, - lastModifiedBy, - id, - text, - shortText, - htmlText, - code, - type, - choices, - categories, - subCategories, - notApplicableAnswer, - otherAnswer, - comments, - required, - fields, - maxScore, - totalSum, - choiceSortOrder, - displayType, - minSelection, - maxSelection, - minDate, - maxDate, - showDateSelector, - showCurrentDate, - dateAnswerFormat, - numericAnswerFormat, - unitLabel, - unitPosition, - minLength, - maxLength, - textAnswerFormat, - customAnswerFormat, - supplierTypes, - classificationType, - order, - standardQuestion, - aiQuestionGenerationSource); - } - - private static final LazySingletonValue _SINGLETON_VALUE_Required = - new LazySingletonValue<>("required", "false", new TypeReference() {}); - - private static final LazySingletonValue _SINGLETON_VALUE_MinSelection = - new LazySingletonValue<>("minSelection", "0", new TypeReference() {}); - - private static final LazySingletonValue _SINGLETON_VALUE_MaxSelection = - new LazySingletonValue<>("maxSelection", "0", new TypeReference() {}); - - private static final LazySingletonValue _SINGLETON_VALUE_DateAnswerFormat = - new LazySingletonValue<>("dateAnswerFormat", "\"DateTime\"", new TypeReference() {}); - - private static final LazySingletonValue _SINGLETON_VALUE_MinLength = - new LazySingletonValue<>("minLength", "0", new TypeReference() {}); - - private static final LazySingletonValue _SINGLETON_VALUE_MaxLength = - new LazySingletonValue<>("maxLength", "500", new TypeReference() {}); - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpRecipientLogEntry.java b/packages/java/src/main/java/com/cvent/models/components/RfpRecipientLogEntry.java new file mode 100644 index 000000000..7899877a8 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/RfpRecipientLogEntry.java @@ -0,0 +1,337 @@ +/* + * 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.Optional; + +/** + * RfpRecipientLogEntry + * + *

Contains the log entry when the recipient was copied on an RFP. + */ +public class RfpRecipientLogEntry { + /** + * The supplier associated with the recipient. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("supplier") + private RfpRecipientLogEntrySupplier supplier; + + /** + * This can either be the email address or the code of the recipient. This will not be present if the + * target type is MEETING_BROKER + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("recipientIdentifier") + private String recipientIdentifier; + + /** + * True indicates that the recipient is active for receiving emails. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("active") + private Boolean active; + + /** + * True indicates that the recipient was added by the National Sales Office. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("addedByNso") + private Boolean addedByNso; + + /** + * The target type can either refer to the type of recipient or the type of action that made the + * recipient a participant in the RFP process. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("targetType") + private TargetType targetType; + + /** + * The ISO 8601 send date and time in UTC. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("sendDateTime") + private OffsetDateTime sendDateTime; + + /** + * Message for the recipient. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("message") + private RfpRecipientLogEntryMessage message; + + @JsonCreator + public RfpRecipientLogEntry( + @JsonProperty("supplier") @Nullable RfpRecipientLogEntrySupplier supplier, + @JsonProperty("recipientIdentifier") @Nullable String recipientIdentifier, + @JsonProperty("active") @Nullable Boolean active, + @JsonProperty("addedByNso") @Nullable Boolean addedByNso, + @JsonProperty("targetType") @Nullable TargetType targetType, + @JsonProperty("sendDateTime") @Nullable OffsetDateTime sendDateTime, + @JsonProperty("message") @Nullable RfpRecipientLogEntryMessage message) { + this.supplier = supplier; + this.recipientIdentifier = recipientIdentifier; + this.active = active; + this.addedByNso = addedByNso; + this.targetType = targetType; + this.sendDateTime = sendDateTime; + this.message = message; + } + + public RfpRecipientLogEntry() { + this(null, null, null, null, null, null, null); + } + + /** + * The supplier associated with the recipient. + */ + public Optional supplier() { + return Optional.ofNullable(this.supplier); + } + + /** + * This can either be the email address or the code of the recipient. This will not be present if the + * target type is MEETING_BROKER + */ + public Optional recipientIdentifier() { + return Optional.ofNullable(this.recipientIdentifier); + } + + /** + * True indicates that the recipient is active for receiving emails. + */ + public Optional active() { + return Optional.ofNullable(this.active); + } + + /** + * True indicates that the recipient was added by the National Sales Office. + */ + public Optional addedByNso() { + return Optional.ofNullable(this.addedByNso); + } + + /** + * The target type can either refer to the type of recipient or the type of action that made the + * recipient a participant in the RFP process. + */ + public Optional targetType() { + return Optional.ofNullable(this.targetType); + } + + /** + * The ISO 8601 send date and time in UTC. + */ + public Optional sendDateTime() { + return Optional.ofNullable(this.sendDateTime); + } + + /** + * Message for the recipient. + */ + public Optional message() { + return Optional.ofNullable(this.message); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The supplier associated with the recipient. + */ + public RfpRecipientLogEntry withSupplier(@Nullable RfpRecipientLogEntrySupplier supplier) { + this.supplier = supplier; + return this; + } + + /** + * This can either be the email address or the code of the recipient. This will not be present if the + * target type is MEETING_BROKER + */ + public RfpRecipientLogEntry withRecipientIdentifier(@Nullable String recipientIdentifier) { + this.recipientIdentifier = recipientIdentifier; + return this; + } + + /** + * True indicates that the recipient is active for receiving emails. + */ + public RfpRecipientLogEntry withActive(@Nullable Boolean active) { + this.active = active; + return this; + } + + /** + * True indicates that the recipient was added by the National Sales Office. + */ + public RfpRecipientLogEntry withAddedByNso(@Nullable Boolean addedByNso) { + this.addedByNso = addedByNso; + return this; + } + + /** + * The target type can either refer to the type of recipient or the type of action that made the + * recipient a participant in the RFP process. + */ + public RfpRecipientLogEntry withTargetType(@Nullable TargetType targetType) { + this.targetType = targetType; + return this; + } + + /** + * The ISO 8601 send date and time in UTC. + */ + public RfpRecipientLogEntry withSendDateTime(@Nullable OffsetDateTime sendDateTime) { + this.sendDateTime = sendDateTime; + return this; + } + + /** + * Message for the recipient. + */ + public RfpRecipientLogEntry withMessage(@Nullable RfpRecipientLogEntryMessage message) { + this.message = message; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RfpRecipientLogEntry other = (RfpRecipientLogEntry) o; + return Utils.enhancedDeepEquals(this.supplier, other.supplier) + && Utils.enhancedDeepEquals(this.recipientIdentifier, other.recipientIdentifier) + && Utils.enhancedDeepEquals(this.active, other.active) + && Utils.enhancedDeepEquals(this.addedByNso, other.addedByNso) + && Utils.enhancedDeepEquals(this.targetType, other.targetType) + && Utils.enhancedDeepEquals(this.sendDateTime, other.sendDateTime) + && Utils.enhancedDeepEquals(this.message, other.message); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(supplier, recipientIdentifier, active, addedByNso, targetType, sendDateTime, message); + } + + @Override + public String toString() { + return Utils.toString( + RfpRecipientLogEntry.class, + "supplier", + supplier, + "recipientIdentifier", + recipientIdentifier, + "active", + active, + "addedByNso", + addedByNso, + "targetType", + targetType, + "sendDateTime", + sendDateTime, + "message", + message); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private RfpRecipientLogEntrySupplier supplier; + + private String recipientIdentifier; + + private Boolean active; + + private Boolean addedByNso; + + private TargetType targetType; + + private OffsetDateTime sendDateTime; + + private RfpRecipientLogEntryMessage message; + + private Builder() { + // force use of static builder() method + } + + /** + * The supplier associated with the recipient. + */ + public Builder supplier(@Nullable RfpRecipientLogEntrySupplier supplier) { + this.supplier = supplier; + return this; + } + + /** + * This can either be the email address or the code of the recipient. This will not be present if the + * target type is MEETING_BROKER + */ + public Builder recipientIdentifier(@Nullable String recipientIdentifier) { + this.recipientIdentifier = recipientIdentifier; + return this; + } + + /** + * True indicates that the recipient is active for receiving emails. + */ + public Builder active(@Nullable Boolean active) { + this.active = active; + return this; + } + + /** + * True indicates that the recipient was added by the National Sales Office. + */ + public Builder addedByNso(@Nullable Boolean addedByNso) { + this.addedByNso = addedByNso; + return this; + } + + /** + * The target type can either refer to the type of recipient or the type of action that made the + * recipient a participant in the RFP process. + */ + public Builder targetType(@Nullable TargetType targetType) { + this.targetType = targetType; + return this; + } + + /** + * The ISO 8601 send date and time in UTC. + */ + public Builder sendDateTime(@Nullable OffsetDateTime sendDateTime) { + this.sendDateTime = sendDateTime; + return this; + } + + /** + * Message for the recipient. + */ + public Builder message(@Nullable RfpRecipientLogEntryMessage message) { + this.message = message; + return this; + } + + public RfpRecipientLogEntry build() { + return new RfpRecipientLogEntry( + supplier, recipientIdentifier, active, addedByNso, targetType, sendDateTime, message); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpRecipientLogEntryJson.java b/packages/java/src/main/java/com/cvent/models/components/RfpRecipientLogEntryJson.java deleted file mode 100644 index 1f4e25f63..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/RfpRecipientLogEntryJson.java +++ /dev/null @@ -1,337 +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.Override; -import java.lang.String; -import java.time.OffsetDateTime; -import java.util.Optional; - -/** - * RfpRecipientLogEntryJson - * - *

Contains the log entry when the recipient was copied on an RFP. - */ -public class RfpRecipientLogEntryJson { - /** - * The supplier associated with the recipient. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("supplier") - private RfpRecipientLogEntryJsonSupplier supplier; - - /** - * This can either be the email address or the code of the recipient. This will not be present if the - * target type is MEETING_BROKER - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("recipientIdentifier") - private String recipientIdentifier; - - /** - * True indicates that the recipient is active for receiving emails. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("active") - private Boolean active; - - /** - * True indicates that the recipient was added by the National Sales Office. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("addedByNso") - private Boolean addedByNso; - - /** - * The target type can either refer to the type of recipient or the type of action that made the - * recipient a participant in the RFP process. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("targetType") - private TargetTypeJson targetType; - - /** - * The ISO 8601 send date and time in UTC. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("sendDateTime") - private OffsetDateTime sendDateTime; - - /** - * Message for the recipient. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("message") - private RfpRecipientLogEntryJsonMessage message; - - @JsonCreator - public RfpRecipientLogEntryJson( - @JsonProperty("supplier") @Nullable RfpRecipientLogEntryJsonSupplier supplier, - @JsonProperty("recipientIdentifier") @Nullable String recipientIdentifier, - @JsonProperty("active") @Nullable Boolean active, - @JsonProperty("addedByNso") @Nullable Boolean addedByNso, - @JsonProperty("targetType") @Nullable TargetTypeJson targetType, - @JsonProperty("sendDateTime") @Nullable OffsetDateTime sendDateTime, - @JsonProperty("message") @Nullable RfpRecipientLogEntryJsonMessage message) { - this.supplier = supplier; - this.recipientIdentifier = recipientIdentifier; - this.active = active; - this.addedByNso = addedByNso; - this.targetType = targetType; - this.sendDateTime = sendDateTime; - this.message = message; - } - - public RfpRecipientLogEntryJson() { - this(null, null, null, null, null, null, null); - } - - /** - * The supplier associated with the recipient. - */ - public Optional supplier() { - return Optional.ofNullable(this.supplier); - } - - /** - * This can either be the email address or the code of the recipient. This will not be present if the - * target type is MEETING_BROKER - */ - public Optional recipientIdentifier() { - return Optional.ofNullable(this.recipientIdentifier); - } - - /** - * True indicates that the recipient is active for receiving emails. - */ - public Optional active() { - return Optional.ofNullable(this.active); - } - - /** - * True indicates that the recipient was added by the National Sales Office. - */ - public Optional addedByNso() { - return Optional.ofNullable(this.addedByNso); - } - - /** - * The target type can either refer to the type of recipient or the type of action that made the - * recipient a participant in the RFP process. - */ - public Optional targetType() { - return Optional.ofNullable(this.targetType); - } - - /** - * The ISO 8601 send date and time in UTC. - */ - public Optional sendDateTime() { - return Optional.ofNullable(this.sendDateTime); - } - - /** - * Message for the recipient. - */ - public Optional message() { - return Optional.ofNullable(this.message); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The supplier associated with the recipient. - */ - public RfpRecipientLogEntryJson withSupplier(@Nullable RfpRecipientLogEntryJsonSupplier supplier) { - this.supplier = supplier; - return this; - } - - /** - * This can either be the email address or the code of the recipient. This will not be present if the - * target type is MEETING_BROKER - */ - public RfpRecipientLogEntryJson withRecipientIdentifier(@Nullable String recipientIdentifier) { - this.recipientIdentifier = recipientIdentifier; - return this; - } - - /** - * True indicates that the recipient is active for receiving emails. - */ - public RfpRecipientLogEntryJson withActive(@Nullable Boolean active) { - this.active = active; - return this; - } - - /** - * True indicates that the recipient was added by the National Sales Office. - */ - public RfpRecipientLogEntryJson withAddedByNso(@Nullable Boolean addedByNso) { - this.addedByNso = addedByNso; - return this; - } - - /** - * The target type can either refer to the type of recipient or the type of action that made the - * recipient a participant in the RFP process. - */ - public RfpRecipientLogEntryJson withTargetType(@Nullable TargetTypeJson targetType) { - this.targetType = targetType; - return this; - } - - /** - * The ISO 8601 send date and time in UTC. - */ - public RfpRecipientLogEntryJson withSendDateTime(@Nullable OffsetDateTime sendDateTime) { - this.sendDateTime = sendDateTime; - return this; - } - - /** - * Message for the recipient. - */ - public RfpRecipientLogEntryJson withMessage(@Nullable RfpRecipientLogEntryJsonMessage message) { - this.message = message; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - RfpRecipientLogEntryJson other = (RfpRecipientLogEntryJson) o; - return Utils.enhancedDeepEquals(this.supplier, other.supplier) - && Utils.enhancedDeepEquals(this.recipientIdentifier, other.recipientIdentifier) - && Utils.enhancedDeepEquals(this.active, other.active) - && Utils.enhancedDeepEquals(this.addedByNso, other.addedByNso) - && Utils.enhancedDeepEquals(this.targetType, other.targetType) - && Utils.enhancedDeepEquals(this.sendDateTime, other.sendDateTime) - && Utils.enhancedDeepEquals(this.message, other.message); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(supplier, recipientIdentifier, active, addedByNso, targetType, sendDateTime, message); - } - - @Override - public String toString() { - return Utils.toString( - RfpRecipientLogEntryJson.class, - "supplier", - supplier, - "recipientIdentifier", - recipientIdentifier, - "active", - active, - "addedByNso", - addedByNso, - "targetType", - targetType, - "sendDateTime", - sendDateTime, - "message", - message); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private RfpRecipientLogEntryJsonSupplier supplier; - - private String recipientIdentifier; - - private Boolean active; - - private Boolean addedByNso; - - private TargetTypeJson targetType; - - private OffsetDateTime sendDateTime; - - private RfpRecipientLogEntryJsonMessage message; - - private Builder() { - // force use of static builder() method - } - - /** - * The supplier associated with the recipient. - */ - public Builder supplier(@Nullable RfpRecipientLogEntryJsonSupplier supplier) { - this.supplier = supplier; - return this; - } - - /** - * This can either be the email address or the code of the recipient. This will not be present if the - * target type is MEETING_BROKER - */ - public Builder recipientIdentifier(@Nullable String recipientIdentifier) { - this.recipientIdentifier = recipientIdentifier; - return this; - } - - /** - * True indicates that the recipient is active for receiving emails. - */ - public Builder active(@Nullable Boolean active) { - this.active = active; - return this; - } - - /** - * True indicates that the recipient was added by the National Sales Office. - */ - public Builder addedByNso(@Nullable Boolean addedByNso) { - this.addedByNso = addedByNso; - return this; - } - - /** - * The target type can either refer to the type of recipient or the type of action that made the - * recipient a participant in the RFP process. - */ - public Builder targetType(@Nullable TargetTypeJson targetType) { - this.targetType = targetType; - return this; - } - - /** - * The ISO 8601 send date and time in UTC. - */ - public Builder sendDateTime(@Nullable OffsetDateTime sendDateTime) { - this.sendDateTime = sendDateTime; - return this; - } - - /** - * Message for the recipient. - */ - public Builder message(@Nullable RfpRecipientLogEntryJsonMessage message) { - this.message = message; - return this; - } - - public RfpRecipientLogEntryJson build() { - return new RfpRecipientLogEntryJson( - supplier, recipientIdentifier, active, addedByNso, targetType, sendDateTime, message); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpRecipientLogEntryJsonMessage.java b/packages/java/src/main/java/com/cvent/models/components/RfpRecipientLogEntryJsonMessage.java deleted file mode 100644 index 65b8aba4a..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/RfpRecipientLogEntryJsonMessage.java +++ /dev/null @@ -1,100 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * RfpRecipientLogEntryJsonMessage - * - *

Message for the recipient. - */ -public class RfpRecipientLogEntryJsonMessage { - /** - * The unique identifier of the message. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public RfpRecipientLogEntryJsonMessage(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public RfpRecipientLogEntryJsonMessage() { - this(null); - } - - /** - * The unique identifier of the message. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique identifier of the message. - */ - public RfpRecipientLogEntryJsonMessage withId(@Nullable String id) { - this.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; - } - RfpRecipientLogEntryJsonMessage other = (RfpRecipientLogEntryJsonMessage) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(RfpRecipientLogEntryJsonMessage.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique identifier of the message. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public RfpRecipientLogEntryJsonMessage build() { - return new RfpRecipientLogEntryJsonMessage(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpRecipientLogEntryJsonSupplier.java b/packages/java/src/main/java/com/cvent/models/components/RfpRecipientLogEntryJsonSupplier.java deleted file mode 100644 index d8b5496c7..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/RfpRecipientLogEntryJsonSupplier.java +++ /dev/null @@ -1,100 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * RfpRecipientLogEntryJsonSupplier - * - *

The supplier associated with the recipient. - */ -public class RfpRecipientLogEntryJsonSupplier { - /** - * The unique identifier of the supplier. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public RfpRecipientLogEntryJsonSupplier(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public RfpRecipientLogEntryJsonSupplier() { - this(null); - } - - /** - * The unique identifier of the supplier. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique identifier of the supplier. - */ - public RfpRecipientLogEntryJsonSupplier withId(@Nullable String id) { - this.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; - } - RfpRecipientLogEntryJsonSupplier other = (RfpRecipientLogEntryJsonSupplier) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(RfpRecipientLogEntryJsonSupplier.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique identifier of the supplier. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public RfpRecipientLogEntryJsonSupplier build() { - return new RfpRecipientLogEntryJsonSupplier(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpRecipientLogEntryMessage.java b/packages/java/src/main/java/com/cvent/models/components/RfpRecipientLogEntryMessage.java new file mode 100644 index 000000000..af4618da1 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/RfpRecipientLogEntryMessage.java @@ -0,0 +1,100 @@ +/* + * 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; + +/** + * RfpRecipientLogEntryMessage + * + *

Message for the recipient. + */ +public class RfpRecipientLogEntryMessage { + /** + * The unique identifier of the message. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public RfpRecipientLogEntryMessage(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public RfpRecipientLogEntryMessage() { + this(null); + } + + /** + * The unique identifier of the message. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique identifier of the message. + */ + public RfpRecipientLogEntryMessage withId(@Nullable String id) { + this.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; + } + RfpRecipientLogEntryMessage other = (RfpRecipientLogEntryMessage) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(RfpRecipientLogEntryMessage.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique identifier of the message. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public RfpRecipientLogEntryMessage build() { + return new RfpRecipientLogEntryMessage(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpRecipientLogEntrySupplier.java b/packages/java/src/main/java/com/cvent/models/components/RfpRecipientLogEntrySupplier.java new file mode 100644 index 000000000..6d9a95a20 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/RfpRecipientLogEntrySupplier.java @@ -0,0 +1,100 @@ +/* + * 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; + +/** + * RfpRecipientLogEntrySupplier + * + *

The supplier associated with the recipient. + */ +public class RfpRecipientLogEntrySupplier { + /** + * The unique identifier of the supplier. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public RfpRecipientLogEntrySupplier(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public RfpRecipientLogEntrySupplier() { + this(null); + } + + /** + * The unique identifier of the supplier. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique identifier of the supplier. + */ + public RfpRecipientLogEntrySupplier withId(@Nullable String id) { + this.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; + } + RfpRecipientLogEntrySupplier other = (RfpRecipientLogEntrySupplier) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(RfpRecipientLogEntrySupplier.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique identifier of the supplier. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public RfpRecipientLogEntrySupplier build() { + return new RfpRecipientLogEntrySupplier(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpResponseReason.java b/packages/java/src/main/java/com/cvent/models/components/RfpResponseReason.java new file mode 100644 index 000000000..8c2bcfd0f --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/RfpResponseReason.java @@ -0,0 +1,78 @@ +/* + * 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; + +/** + * RfpResponseReason + * + *

Reason given for a response to an RFP. + */ +public enum RfpResponseReason { + BOOKED_ANOTHER_VENUE_OR_DESTINATION("BOOKED_ANOTHER_VENUE_OR_DESTINATION"), + CLIENT_BOOKED_DIRECTLY("CLIENT_BOOKED_DIRECTLY"), + COMPETITOR_CONTRACT_AGREEMENT("COMPETITOR_CONTRACT_AGREEMENT"), + DATES_OR_PATTERN("DATES_OR_PATTERN"), + DECISION_DATE_PASSED("DECISION_DATE_PASSED"), + DID_NOT_MEET_REQUIREMENTS("DID_NOT_MEET_REQUIREMENTS"), + EPIDEMIC_OR_PANDEMIC("EPIDEMIC_OR_PANDEMIC"), + EVENT_CANCELLED("EVENT_CANCELLED"), + EVENT_POSTPONED("EVENT_POSTPONED"), + FOOD_AND_BEVERAGE_MINIMUM_TOO_HIGH("FOOD_AND_BEVERAGE_MINIMUM_TOO_HIGH"), + FOOD_AND_BEVERAGE_TOO_LOW("FOOD_AND_BEVERAGE_TOO_LOW"), + INCOMPLETE_RFP("INCOMPLETE_RFP"), + LATE_RESPONSE("LATE_RESPONSE"), + LOW_BUDGET("LOW_BUDGET"), + MEDICAL_EMERGENCY("MEDICAL_EMERGENCY"), + MEETING_ROOM_RENTAL_TOO_HIGH("MEETING_ROOM_RENTAL_TOO_HIGH"), + MEETING_SPACE_CEILING_HEIGHT("MEETING_SPACE_CEILING_HEIGHT"), + MEETING_SPACE_NO_LONGER_AVAILABLE("MEETING_SPACE_NO_LONGER_AVAILABLE"), + MEETING_SPACE_UNAVAILABLE("MEETING_SPACE_UNAVAILABLE"), + NATURAL_DISASTER("NATURAL_DISASTER"), + NO_FOOD_AND_BEVERAGE("NO_FOOD_AND_BEVERAGE"), + OTHER("OTHER"), + POLITICAL_OR_CIVIL_UNREST("POLITICAL_OR_CIVIL_UNREST"), + PREFERRED_OR_ALTERNATE_DATES_UNAVAILABLE("PREFERRED_OR_ALTERNATE_DATES_UNAVAILABLE"), + PROPERTY_AMENITIES_OR_SERVICES("PROPERTY_AMENITIES_OR_SERVICES"), + PROPERTY_LOCATION("PROPERTY_LOCATION"), + RENOVATIONS("RENOVATIONS"), + REQUESTED_ROOM_RATE_TOO_LOW("REQUESTED_ROOM_RATE_TOO_LOW"), + REQUIREMENTS_CHANGED("REQUIREMENTS_CHANGED"), + ROOMS_TO_SPACE_RATIO("ROOMS_TO_SPACE_RATIO"), + SELECTED_OTHER_CITY("SELECTED_OTHER_CITY"), + SELECTED_OTHER_HOTEL_OR_VENUE("SELECTED_OTHER_HOTEL_OR_VENUE"), + SIZE_OF_MEETING_SPACE("SIZE_OF_MEETING_SPACE"), + GUEST_ROOM_RATE_TOO_HIGH("GUEST_ROOM_RATE_TOO_HIGH"), + GUEST_ROOMS_NO_LONGER_AVAILABLE("GUEST_ROOMS_NO_LONGER_AVAILABLE"), + GUEST_ROOMS_UNAVAILABLE("GUEST_ROOMS_UNAVAILABLE"), + SUITE_AVAILABILITY("SUITE_AVAILABILITY"), + TOO_SPACE_INTENSIVE("TOO_SPACE_INTENSIVE"), + VENUE_PERMANENTLY_CLOSED("VENUE_PERMANENTLY_CLOSED"), + VENUE_TEMPORARILY_CLOSED("VENUE_TEMPORARILY_CLOSED"), + VENUE_TOO_SMALL("VENUE_TOO_SMALL"); + + @JsonValue + private final String value; + + RfpResponseReason(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (RfpResponseReason o : RfpResponseReason.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/RfpResponseReasonJson.java b/packages/java/src/main/java/com/cvent/models/components/RfpResponseReasonJson.java deleted file mode 100644 index 1ed340bf0..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/RfpResponseReasonJson.java +++ /dev/null @@ -1,78 +0,0 @@ -/* - * 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; - -/** - * RfpResponseReasonJson - * - *

Reason given for a response to an RFP. - */ -public enum RfpResponseReasonJson { - BOOKED_ANOTHER_VENUE_OR_DESTINATION("BOOKED_ANOTHER_VENUE_OR_DESTINATION"), - CLIENT_BOOKED_DIRECTLY("CLIENT_BOOKED_DIRECTLY"), - COMPETITOR_CONTRACT_AGREEMENT("COMPETITOR_CONTRACT_AGREEMENT"), - DATES_OR_PATTERN("DATES_OR_PATTERN"), - DECISION_DATE_PASSED("DECISION_DATE_PASSED"), - DID_NOT_MEET_REQUIREMENTS("DID_NOT_MEET_REQUIREMENTS"), - EPIDEMIC_OR_PANDEMIC("EPIDEMIC_OR_PANDEMIC"), - EVENT_CANCELLED("EVENT_CANCELLED"), - EVENT_POSTPONED("EVENT_POSTPONED"), - FOOD_AND_BEVERAGE_MINIMUM_TOO_HIGH("FOOD_AND_BEVERAGE_MINIMUM_TOO_HIGH"), - FOOD_AND_BEVERAGE_TOO_LOW("FOOD_AND_BEVERAGE_TOO_LOW"), - INCOMPLETE_RFP("INCOMPLETE_RFP"), - LATE_RESPONSE("LATE_RESPONSE"), - LOW_BUDGET("LOW_BUDGET"), - MEDICAL_EMERGENCY("MEDICAL_EMERGENCY"), - MEETING_ROOM_RENTAL_TOO_HIGH("MEETING_ROOM_RENTAL_TOO_HIGH"), - MEETING_SPACE_CEILING_HEIGHT("MEETING_SPACE_CEILING_HEIGHT"), - MEETING_SPACE_NO_LONGER_AVAILABLE("MEETING_SPACE_NO_LONGER_AVAILABLE"), - MEETING_SPACE_UNAVAILABLE("MEETING_SPACE_UNAVAILABLE"), - NATURAL_DISASTER("NATURAL_DISASTER"), - NO_FOOD_AND_BEVERAGE("NO_FOOD_AND_BEVERAGE"), - OTHER("OTHER"), - POLITICAL_OR_CIVIL_UNREST("POLITICAL_OR_CIVIL_UNREST"), - PREFERRED_OR_ALTERNATE_DATES_UNAVAILABLE("PREFERRED_OR_ALTERNATE_DATES_UNAVAILABLE"), - PROPERTY_AMENITIES_OR_SERVICES("PROPERTY_AMENITIES_OR_SERVICES"), - PROPERTY_LOCATION("PROPERTY_LOCATION"), - RENOVATIONS("RENOVATIONS"), - REQUESTED_ROOM_RATE_TOO_LOW("REQUESTED_ROOM_RATE_TOO_LOW"), - REQUIREMENTS_CHANGED("REQUIREMENTS_CHANGED"), - ROOMS_TO_SPACE_RATIO("ROOMS_TO_SPACE_RATIO"), - SELECTED_OTHER_CITY("SELECTED_OTHER_CITY"), - SELECTED_OTHER_HOTEL_OR_VENUE("SELECTED_OTHER_HOTEL_OR_VENUE"), - SIZE_OF_MEETING_SPACE("SIZE_OF_MEETING_SPACE"), - GUEST_ROOM_RATE_TOO_HIGH("GUEST_ROOM_RATE_TOO_HIGH"), - GUEST_ROOMS_NO_LONGER_AVAILABLE("GUEST_ROOMS_NO_LONGER_AVAILABLE"), - GUEST_ROOMS_UNAVAILABLE("GUEST_ROOMS_UNAVAILABLE"), - SUITE_AVAILABILITY("SUITE_AVAILABILITY"), - TOO_SPACE_INTENSIVE("TOO_SPACE_INTENSIVE"), - VENUE_PERMANENTLY_CLOSED("VENUE_PERMANENTLY_CLOSED"), - VENUE_TEMPORARILY_CLOSED("VENUE_TEMPORARILY_CLOSED"), - VENUE_TOO_SMALL("VENUE_TOO_SMALL"); - - @JsonValue - private final String value; - - RfpResponseReasonJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (RfpResponseReasonJson o : RfpResponseReasonJson.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/RfpStatus1.java b/packages/java/src/main/java/com/cvent/models/components/RfpStatus1.java new file mode 100644 index 000000000..244b69c8f --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/RfpStatus1.java @@ -0,0 +1,44 @@ +/* + * 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; + +/** + * RfpStatus1 + * + *

Represents state of the RFP. + */ +public enum RfpStatus1 { + PENDING("PENDING"), + ACTIVE("ACTIVE"), + AWARDED("AWARDED"), + DRAFT("DRAFT"), + HISTORIC("HISTORIC"), + CANCELLED("CANCELLED"), + DELETED("DELETED"); + + @JsonValue + private final String value; + + RfpStatus1(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (RfpStatus1 o : RfpStatus1.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/RfpStatusJson0.java b/packages/java/src/main/java/com/cvent/models/components/RfpStatusJson0.java deleted file mode 100644 index 16aefdc5e..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/RfpStatusJson0.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * 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; - -/** - * RfpStatusJson0 - * - *

Represents state of the RFP. - */ -public enum RfpStatusJson0 { - PENDING("PENDING"), - ACTIVE("ACTIVE"), - AWARDED("AWARDED"), - DRAFT("DRAFT"), - HISTORIC("HISTORIC"), - CANCELLED("CANCELLED"), - DELETED("DELETED"); - - @JsonValue - private final String value; - - RfpStatusJson0(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (RfpStatusJson0 o : RfpStatusJson0.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/RfpSupplier.java b/packages/java/src/main/java/com/cvent/models/components/RfpSupplier.java new file mode 100644 index 000000000..142ec85dd --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/RfpSupplier.java @@ -0,0 +1,1214 @@ +/* + * 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.time.OffsetDateTime; +import java.util.Optional; + +/** + * RfpSupplier + * + *

Supplier data for an RFP. + */ +public class RfpSupplier { + /** + * 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; + + /** + * The supplier associated with the RFP. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("supplier") + private ReferenceToSupplier supplier; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("rfp") + private ReferenceToRFP rfp; + + /** + * External supplier associated with the RFP. If planners cannot find a supplier in Cvent, they can add + * the supplier by providing the name when awarding the RFP. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("externalSupplier") + private ExternalSupplier externalSupplier; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("associatedAdvertisements") + private SupplierAssociatedAds associatedAdvertisements; + + /** + * True indicates that proposal creation is in progress by supplier. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("proposalInProgress") + private Boolean proposalInProgress; + + /** + * Internal note by planner for supplier. This is not visible to the supplier. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("internalNote") + private String internalNote; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("leadSource") + private RfpSupplierLeadSource leadSource; + + /** + * True indicates the largest meeting room criteria is met. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("largestMeetingRoomMet") + private Boolean largestMeetingRoomMet; + + /** + * True indicates the number of guest rooms criteria is met. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("numberOfGuestRoomsMet") + private Boolean numberOfGuestRoomsMet; + + /** + * True indicates the total meeting space criteria is met. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("totalMeetingSpaceMet") + private Boolean totalMeetingSpaceMet; + + /** + * Promotion applied by planner while adding supplier on RFP. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("promotion") + private Promotion promotion; + + /** + * Recommendations added by planner for supplier. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("recommendationNote") + private String recommendationNote; + + /** + * Shortlisted order for the supplier. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("shortlistOrder") + private Long shortlistOrder; + + /** + * True indicates the supplier was added by using RFP showcase feature. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("showcase") + private Boolean showcase; + + /** + * True indicates the RFP is starred by supplier. This is not visible to the planner. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("starred") + private Boolean starred; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("status") + private RfpSupplierStatus status; + + /** + * The ISO 8601 date time (in UTC) when the status was last changed. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("statusChangedDateTime") + private OffsetDateTime statusChangedDateTime; + + /** + * Name of the recipient associated with supplier who responded to the RFP. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("responder") + private String responder; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("response") + private SupplierResponse response; + + /** + * Unique identifier for proposal created by supplier in the external system where it originated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("externalProposalId") + private String externalProposalId; + + /** + * Unique identifier for RFP in the external system where it originated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("externalId") + private String externalId; + + /** + * The unique identifier generated when supplier forwards the RFP to other suppliers. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("forwardId") + private String forwardId; + + /** + * The ISO 8601 date time (in UTC) when the RFP was last sent to the supplier. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lastSentDateTime") + private OffsetDateTime lastSentDateTime; + + /** + * The ISO 8601 date time (in UTC) when the RFP was last viewed by the supplier. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lastViewedDateTime") + private OffsetDateTime lastViewedDateTime; + + /** + * The ISO 8601 date time (in UTC) when the RFP was originally sent to the supplier. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("sentDateTime") + private OffsetDateTime sentDateTime; + + /** + * True indicates the RFP was sent to NSO (National Sales Office) associated with supplier. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("sentToNso") + private Boolean sentToNso; + + @JsonCreator + public RfpSupplier( + @JsonProperty("created") @Nullable OffsetDateTime created, + @JsonProperty("createdBy") @Nullable String createdBy, + @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, + @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, + @JsonProperty("supplier") @Nullable ReferenceToSupplier supplier, + @JsonProperty("rfp") @Nullable ReferenceToRFP rfp, + @JsonProperty("externalSupplier") @Nullable ExternalSupplier externalSupplier, + @JsonProperty("associatedAdvertisements") @Nullable SupplierAssociatedAds associatedAdvertisements, + @JsonProperty("proposalInProgress") @Nullable Boolean proposalInProgress, + @JsonProperty("internalNote") @Nullable String internalNote, + @JsonProperty("leadSource") @Nullable RfpSupplierLeadSource leadSource, + @JsonProperty("largestMeetingRoomMet") @Nullable Boolean largestMeetingRoomMet, + @JsonProperty("numberOfGuestRoomsMet") @Nullable Boolean numberOfGuestRoomsMet, + @JsonProperty("totalMeetingSpaceMet") @Nullable Boolean totalMeetingSpaceMet, + @JsonProperty("promotion") @Nullable Promotion promotion, + @JsonProperty("recommendationNote") @Nullable String recommendationNote, + @JsonProperty("shortlistOrder") @Nullable Long shortlistOrder, + @JsonProperty("showcase") @Nullable Boolean showcase, + @JsonProperty("starred") @Nullable Boolean starred, + @JsonProperty("status") @Nullable RfpSupplierStatus status, + @JsonProperty("statusChangedDateTime") @Nullable OffsetDateTime statusChangedDateTime, + @JsonProperty("responder") @Nullable String responder, + @JsonProperty("response") @Nullable SupplierResponse response, + @JsonProperty("externalProposalId") @Nullable String externalProposalId, + @JsonProperty("externalId") @Nullable String externalId, + @JsonProperty("forwardId") @Nullable String forwardId, + @JsonProperty("lastSentDateTime") @Nullable OffsetDateTime lastSentDateTime, + @JsonProperty("lastViewedDateTime") @Nullable OffsetDateTime lastViewedDateTime, + @JsonProperty("sentDateTime") @Nullable OffsetDateTime sentDateTime, + @JsonProperty("sentToNso") @Nullable Boolean sentToNso) { + this.created = created; + this.createdBy = createdBy; + this.lastModified = lastModified; + this.lastModifiedBy = lastModifiedBy; + this.supplier = supplier; + this.rfp = rfp; + this.externalSupplier = externalSupplier; + this.associatedAdvertisements = associatedAdvertisements; + this.proposalInProgress = proposalInProgress; + this.internalNote = internalNote; + this.leadSource = leadSource; + this.largestMeetingRoomMet = largestMeetingRoomMet; + this.numberOfGuestRoomsMet = numberOfGuestRoomsMet; + this.totalMeetingSpaceMet = totalMeetingSpaceMet; + this.promotion = promotion; + this.recommendationNote = recommendationNote; + this.shortlistOrder = shortlistOrder; + this.showcase = showcase; + this.starred = starred; + this.status = status; + this.statusChangedDateTime = statusChangedDateTime; + this.responder = responder; + this.response = response; + this.externalProposalId = externalProposalId; + this.externalId = externalId; + this.forwardId = forwardId; + this.lastSentDateTime = lastSentDateTime; + this.lastViewedDateTime = lastViewedDateTime; + this.sentDateTime = sentDateTime; + this.sentToNso = sentToNso; + } + + public RfpSupplier() { + this( + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + 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); + } + + /** + * The supplier associated with the RFP. + */ + public Optional supplier() { + return Optional.ofNullable(this.supplier); + } + + public Optional rfp() { + return Optional.ofNullable(this.rfp); + } + + /** + * External supplier associated with the RFP. If planners cannot find a supplier in Cvent, they can add + * the supplier by providing the name when awarding the RFP. + */ + public Optional externalSupplier() { + return Optional.ofNullable(this.externalSupplier); + } + + public Optional associatedAdvertisements() { + return Optional.ofNullable(this.associatedAdvertisements); + } + + /** + * True indicates that proposal creation is in progress by supplier. + */ + public Optional proposalInProgress() { + return Optional.ofNullable(this.proposalInProgress); + } + + /** + * Internal note by planner for supplier. This is not visible to the supplier. + */ + public Optional internalNote() { + return Optional.ofNullable(this.internalNote); + } + + public Optional leadSource() { + return Optional.ofNullable(this.leadSource); + } + + /** + * True indicates the largest meeting room criteria is met. + */ + public Optional largestMeetingRoomMet() { + return Optional.ofNullable(this.largestMeetingRoomMet); + } + + /** + * True indicates the number of guest rooms criteria is met. + */ + public Optional numberOfGuestRoomsMet() { + return Optional.ofNullable(this.numberOfGuestRoomsMet); + } + + /** + * True indicates the total meeting space criteria is met. + */ + public Optional totalMeetingSpaceMet() { + return Optional.ofNullable(this.totalMeetingSpaceMet); + } + + /** + * Promotion applied by planner while adding supplier on RFP. + */ + public Optional promotion() { + return Optional.ofNullable(this.promotion); + } + + /** + * Recommendations added by planner for supplier. + */ + public Optional recommendationNote() { + return Optional.ofNullable(this.recommendationNote); + } + + /** + * Shortlisted order for the supplier. + */ + public Optional shortlistOrder() { + return Optional.ofNullable(this.shortlistOrder); + } + + /** + * True indicates the supplier was added by using RFP showcase feature. + */ + public Optional showcase() { + return Optional.ofNullable(this.showcase); + } + + /** + * True indicates the RFP is starred by supplier. This is not visible to the planner. + */ + public Optional starred() { + return Optional.ofNullable(this.starred); + } + + public Optional status() { + return Optional.ofNullable(this.status); + } + + /** + * The ISO 8601 date time (in UTC) when the status was last changed. + */ + public Optional statusChangedDateTime() { + return Optional.ofNullable(this.statusChangedDateTime); + } + + /** + * Name of the recipient associated with supplier who responded to the RFP. + */ + public Optional responder() { + return Optional.ofNullable(this.responder); + } + + public Optional response() { + return Optional.ofNullable(this.response); + } + + /** + * Unique identifier for proposal created by supplier in the external system where it originated. + */ + public Optional externalProposalId() { + return Optional.ofNullable(this.externalProposalId); + } + + /** + * Unique identifier for RFP in the external system where it originated. + */ + public Optional externalId() { + return Optional.ofNullable(this.externalId); + } + + /** + * The unique identifier generated when supplier forwards the RFP to other suppliers. + */ + public Optional forwardId() { + return Optional.ofNullable(this.forwardId); + } + + /** + * The ISO 8601 date time (in UTC) when the RFP was last sent to the supplier. + */ + public Optional lastSentDateTime() { + return Optional.ofNullable(this.lastSentDateTime); + } + + /** + * The ISO 8601 date time (in UTC) when the RFP was last viewed by the supplier. + */ + public Optional lastViewedDateTime() { + return Optional.ofNullable(this.lastViewedDateTime); + } + + /** + * The ISO 8601 date time (in UTC) when the RFP was originally sent to the supplier. + */ + public Optional sentDateTime() { + return Optional.ofNullable(this.sentDateTime); + } + + /** + * True indicates the RFP was sent to NSO (National Sales Office) associated with supplier. + */ + public Optional sentToNso() { + return Optional.ofNullable(this.sentToNso); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The ISO 8601 zoned date time when this record was created. + */ + public RfpSupplier withCreated(@Nullable OffsetDateTime created) { + this.created = created; + return this; + } + + /** + * The identifier of the user that created this record. + */ + public RfpSupplier withCreatedBy(@Nullable String createdBy) { + this.createdBy = createdBy; + return this; + } + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + public RfpSupplier withLastModified(@Nullable OffsetDateTime lastModified) { + this.lastModified = lastModified; + return this; + } + + /** + * The identifier of the user that last updated this record. + */ + public RfpSupplier withLastModifiedBy(@Nullable String lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + return this; + } + + /** + * The supplier associated with the RFP. + */ + public RfpSupplier withSupplier(@Nullable ReferenceToSupplier supplier) { + this.supplier = supplier; + return this; + } + + public RfpSupplier withRfp(@Nullable ReferenceToRFP rfp) { + this.rfp = rfp; + return this; + } + + /** + * External supplier associated with the RFP. If planners cannot find a supplier in Cvent, they can add + * the supplier by providing the name when awarding the RFP. + */ + public RfpSupplier withExternalSupplier(@Nullable ExternalSupplier externalSupplier) { + this.externalSupplier = externalSupplier; + return this; + } + + public RfpSupplier withAssociatedAdvertisements(@Nullable SupplierAssociatedAds associatedAdvertisements) { + this.associatedAdvertisements = associatedAdvertisements; + return this; + } + + /** + * True indicates that proposal creation is in progress by supplier. + */ + public RfpSupplier withProposalInProgress(@Nullable Boolean proposalInProgress) { + this.proposalInProgress = proposalInProgress; + return this; + } + + /** + * Internal note by planner for supplier. This is not visible to the supplier. + */ + public RfpSupplier withInternalNote(@Nullable String internalNote) { + this.internalNote = internalNote; + return this; + } + + public RfpSupplier withLeadSource(@Nullable RfpSupplierLeadSource leadSource) { + this.leadSource = leadSource; + return this; + } + + /** + * True indicates the largest meeting room criteria is met. + */ + public RfpSupplier withLargestMeetingRoomMet(@Nullable Boolean largestMeetingRoomMet) { + this.largestMeetingRoomMet = largestMeetingRoomMet; + return this; + } + + /** + * True indicates the number of guest rooms criteria is met. + */ + public RfpSupplier withNumberOfGuestRoomsMet(@Nullable Boolean numberOfGuestRoomsMet) { + this.numberOfGuestRoomsMet = numberOfGuestRoomsMet; + return this; + } + + /** + * True indicates the total meeting space criteria is met. + */ + public RfpSupplier withTotalMeetingSpaceMet(@Nullable Boolean totalMeetingSpaceMet) { + this.totalMeetingSpaceMet = totalMeetingSpaceMet; + return this; + } + + /** + * Promotion applied by planner while adding supplier on RFP. + */ + public RfpSupplier withPromotion(@Nullable Promotion promotion) { + this.promotion = promotion; + return this; + } + + /** + * Recommendations added by planner for supplier. + */ + public RfpSupplier withRecommendationNote(@Nullable String recommendationNote) { + this.recommendationNote = recommendationNote; + return this; + } + + /** + * Shortlisted order for the supplier. + */ + public RfpSupplier withShortlistOrder(@Nullable Long shortlistOrder) { + this.shortlistOrder = shortlistOrder; + return this; + } + + /** + * True indicates the supplier was added by using RFP showcase feature. + */ + public RfpSupplier withShowcase(@Nullable Boolean showcase) { + this.showcase = showcase; + return this; + } + + /** + * True indicates the RFP is starred by supplier. This is not visible to the planner. + */ + public RfpSupplier withStarred(@Nullable Boolean starred) { + this.starred = starred; + return this; + } + + public RfpSupplier withStatus(@Nullable RfpSupplierStatus status) { + this.status = status; + return this; + } + + /** + * The ISO 8601 date time (in UTC) when the status was last changed. + */ + public RfpSupplier withStatusChangedDateTime(@Nullable OffsetDateTime statusChangedDateTime) { + this.statusChangedDateTime = statusChangedDateTime; + return this; + } + + /** + * Name of the recipient associated with supplier who responded to the RFP. + */ + public RfpSupplier withResponder(@Nullable String responder) { + this.responder = responder; + return this; + } + + public RfpSupplier withResponse(@Nullable SupplierResponse response) { + this.response = response; + return this; + } + + /** + * Unique identifier for proposal created by supplier in the external system where it originated. + */ + public RfpSupplier withExternalProposalId(@Nullable String externalProposalId) { + this.externalProposalId = externalProposalId; + return this; + } + + /** + * Unique identifier for RFP in the external system where it originated. + */ + public RfpSupplier withExternalId(@Nullable String externalId) { + this.externalId = externalId; + return this; + } + + /** + * The unique identifier generated when supplier forwards the RFP to other suppliers. + */ + public RfpSupplier withForwardId(@Nullable String forwardId) { + this.forwardId = forwardId; + return this; + } + + /** + * The ISO 8601 date time (in UTC) when the RFP was last sent to the supplier. + */ + public RfpSupplier withLastSentDateTime(@Nullable OffsetDateTime lastSentDateTime) { + this.lastSentDateTime = lastSentDateTime; + return this; + } + + /** + * The ISO 8601 date time (in UTC) when the RFP was last viewed by the supplier. + */ + public RfpSupplier withLastViewedDateTime(@Nullable OffsetDateTime lastViewedDateTime) { + this.lastViewedDateTime = lastViewedDateTime; + return this; + } + + /** + * The ISO 8601 date time (in UTC) when the RFP was originally sent to the supplier. + */ + public RfpSupplier withSentDateTime(@Nullable OffsetDateTime sentDateTime) { + this.sentDateTime = sentDateTime; + return this; + } + + /** + * True indicates the RFP was sent to NSO (National Sales Office) associated with supplier. + */ + public RfpSupplier withSentToNso(@Nullable Boolean sentToNso) { + this.sentToNso = sentToNso; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RfpSupplier other = (RfpSupplier) 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.supplier, other.supplier) + && Utils.enhancedDeepEquals(this.rfp, other.rfp) + && Utils.enhancedDeepEquals(this.externalSupplier, other.externalSupplier) + && Utils.enhancedDeepEquals(this.associatedAdvertisements, other.associatedAdvertisements) + && Utils.enhancedDeepEquals(this.proposalInProgress, other.proposalInProgress) + && Utils.enhancedDeepEquals(this.internalNote, other.internalNote) + && Utils.enhancedDeepEquals(this.leadSource, other.leadSource) + && Utils.enhancedDeepEquals(this.largestMeetingRoomMet, other.largestMeetingRoomMet) + && Utils.enhancedDeepEquals(this.numberOfGuestRoomsMet, other.numberOfGuestRoomsMet) + && Utils.enhancedDeepEquals(this.totalMeetingSpaceMet, other.totalMeetingSpaceMet) + && Utils.enhancedDeepEquals(this.promotion, other.promotion) + && Utils.enhancedDeepEquals(this.recommendationNote, other.recommendationNote) + && Utils.enhancedDeepEquals(this.shortlistOrder, other.shortlistOrder) + && Utils.enhancedDeepEquals(this.showcase, other.showcase) + && Utils.enhancedDeepEquals(this.starred, other.starred) + && Utils.enhancedDeepEquals(this.status, other.status) + && Utils.enhancedDeepEquals(this.statusChangedDateTime, other.statusChangedDateTime) + && Utils.enhancedDeepEquals(this.responder, other.responder) + && Utils.enhancedDeepEquals(this.response, other.response) + && Utils.enhancedDeepEquals(this.externalProposalId, other.externalProposalId) + && Utils.enhancedDeepEquals(this.externalId, other.externalId) + && Utils.enhancedDeepEquals(this.forwardId, other.forwardId) + && Utils.enhancedDeepEquals(this.lastSentDateTime, other.lastSentDateTime) + && Utils.enhancedDeepEquals(this.lastViewedDateTime, other.lastViewedDateTime) + && Utils.enhancedDeepEquals(this.sentDateTime, other.sentDateTime) + && Utils.enhancedDeepEquals(this.sentToNso, other.sentToNso); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + created, + createdBy, + lastModified, + lastModifiedBy, + supplier, + rfp, + externalSupplier, + associatedAdvertisements, + proposalInProgress, + internalNote, + leadSource, + largestMeetingRoomMet, + numberOfGuestRoomsMet, + totalMeetingSpaceMet, + promotion, + recommendationNote, + shortlistOrder, + showcase, + starred, + status, + statusChangedDateTime, + responder, + response, + externalProposalId, + externalId, + forwardId, + lastSentDateTime, + lastViewedDateTime, + sentDateTime, + sentToNso); + } + + @Override + public String toString() { + return Utils.toString( + RfpSupplier.class, + "created", + created, + "createdBy", + createdBy, + "lastModified", + lastModified, + "lastModifiedBy", + lastModifiedBy, + "supplier", + supplier, + "rfp", + rfp, + "externalSupplier", + externalSupplier, + "associatedAdvertisements", + associatedAdvertisements, + "proposalInProgress", + proposalInProgress, + "internalNote", + internalNote, + "leadSource", + leadSource, + "largestMeetingRoomMet", + largestMeetingRoomMet, + "numberOfGuestRoomsMet", + numberOfGuestRoomsMet, + "totalMeetingSpaceMet", + totalMeetingSpaceMet, + "promotion", + promotion, + "recommendationNote", + recommendationNote, + "shortlistOrder", + shortlistOrder, + "showcase", + showcase, + "starred", + starred, + "status", + status, + "statusChangedDateTime", + statusChangedDateTime, + "responder", + responder, + "response", + response, + "externalProposalId", + externalProposalId, + "externalId", + externalId, + "forwardId", + forwardId, + "lastSentDateTime", + lastSentDateTime, + "lastViewedDateTime", + lastViewedDateTime, + "sentDateTime", + sentDateTime, + "sentToNso", + sentToNso); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private OffsetDateTime created; + + private String createdBy; + + private OffsetDateTime lastModified; + + private String lastModifiedBy; + + private ReferenceToSupplier supplier; + + private ReferenceToRFP rfp; + + private ExternalSupplier externalSupplier; + + private SupplierAssociatedAds associatedAdvertisements; + + private Boolean proposalInProgress; + + private String internalNote; + + private RfpSupplierLeadSource leadSource; + + private Boolean largestMeetingRoomMet; + + private Boolean numberOfGuestRoomsMet; + + private Boolean totalMeetingSpaceMet; + + private Promotion promotion; + + private String recommendationNote; + + private Long shortlistOrder; + + private Boolean showcase; + + private Boolean starred; + + private RfpSupplierStatus status; + + private OffsetDateTime statusChangedDateTime; + + private String responder; + + private SupplierResponse response; + + private String externalProposalId; + + private String externalId; + + private String forwardId; + + private OffsetDateTime lastSentDateTime; + + private OffsetDateTime lastViewedDateTime; + + private OffsetDateTime sentDateTime; + + private Boolean sentToNso; + + 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; + } + + /** + * The supplier associated with the RFP. + */ + public Builder supplier(@Nullable ReferenceToSupplier supplier) { + this.supplier = supplier; + return this; + } + + public Builder rfp(@Nullable ReferenceToRFP rfp) { + this.rfp = rfp; + return this; + } + + /** + * External supplier associated with the RFP. If planners cannot find a supplier in Cvent, they can add + * the supplier by providing the name when awarding the RFP. + */ + public Builder externalSupplier(@Nullable ExternalSupplier externalSupplier) { + this.externalSupplier = externalSupplier; + return this; + } + + public Builder associatedAdvertisements(@Nullable SupplierAssociatedAds associatedAdvertisements) { + this.associatedAdvertisements = associatedAdvertisements; + return this; + } + + /** + * True indicates that proposal creation is in progress by supplier. + */ + public Builder proposalInProgress(@Nullable Boolean proposalInProgress) { + this.proposalInProgress = proposalInProgress; + return this; + } + + /** + * Internal note by planner for supplier. This is not visible to the supplier. + */ + public Builder internalNote(@Nullable String internalNote) { + this.internalNote = internalNote; + return this; + } + + public Builder leadSource(@Nullable RfpSupplierLeadSource leadSource) { + this.leadSource = leadSource; + return this; + } + + /** + * True indicates the largest meeting room criteria is met. + */ + public Builder largestMeetingRoomMet(@Nullable Boolean largestMeetingRoomMet) { + this.largestMeetingRoomMet = largestMeetingRoomMet; + return this; + } + + /** + * True indicates the number of guest rooms criteria is met. + */ + public Builder numberOfGuestRoomsMet(@Nullable Boolean numberOfGuestRoomsMet) { + this.numberOfGuestRoomsMet = numberOfGuestRoomsMet; + return this; + } + + /** + * True indicates the total meeting space criteria is met. + */ + public Builder totalMeetingSpaceMet(@Nullable Boolean totalMeetingSpaceMet) { + this.totalMeetingSpaceMet = totalMeetingSpaceMet; + return this; + } + + /** + * Promotion applied by planner while adding supplier on RFP. + */ + public Builder promotion(@Nullable Promotion promotion) { + this.promotion = promotion; + return this; + } + + /** + * Recommendations added by planner for supplier. + */ + public Builder recommendationNote(@Nullable String recommendationNote) { + this.recommendationNote = recommendationNote; + return this; + } + + /** + * Shortlisted order for the supplier. + */ + public Builder shortlistOrder(@Nullable Long shortlistOrder) { + this.shortlistOrder = shortlistOrder; + return this; + } + + /** + * True indicates the supplier was added by using RFP showcase feature. + */ + public Builder showcase(@Nullable Boolean showcase) { + this.showcase = showcase; + return this; + } + + /** + * True indicates the RFP is starred by supplier. This is not visible to the planner. + */ + public Builder starred(@Nullable Boolean starred) { + this.starred = starred; + return this; + } + + public Builder status(@Nullable RfpSupplierStatus status) { + this.status = status; + return this; + } + + /** + * The ISO 8601 date time (in UTC) when the status was last changed. + */ + public Builder statusChangedDateTime(@Nullable OffsetDateTime statusChangedDateTime) { + this.statusChangedDateTime = statusChangedDateTime; + return this; + } + + /** + * Name of the recipient associated with supplier who responded to the RFP. + */ + public Builder responder(@Nullable String responder) { + this.responder = responder; + return this; + } + + public Builder response(@Nullable SupplierResponse response) { + this.response = response; + return this; + } + + /** + * Unique identifier for proposal created by supplier in the external system where it originated. + */ + public Builder externalProposalId(@Nullable String externalProposalId) { + this.externalProposalId = externalProposalId; + return this; + } + + /** + * Unique identifier for RFP in the external system where it originated. + */ + public Builder externalId(@Nullable String externalId) { + this.externalId = externalId; + return this; + } + + /** + * The unique identifier generated when supplier forwards the RFP to other suppliers. + */ + public Builder forwardId(@Nullable String forwardId) { + this.forwardId = forwardId; + return this; + } + + /** + * The ISO 8601 date time (in UTC) when the RFP was last sent to the supplier. + */ + public Builder lastSentDateTime(@Nullable OffsetDateTime lastSentDateTime) { + this.lastSentDateTime = lastSentDateTime; + return this; + } + + /** + * The ISO 8601 date time (in UTC) when the RFP was last viewed by the supplier. + */ + public Builder lastViewedDateTime(@Nullable OffsetDateTime lastViewedDateTime) { + this.lastViewedDateTime = lastViewedDateTime; + return this; + } + + /** + * The ISO 8601 date time (in UTC) when the RFP was originally sent to the supplier. + */ + public Builder sentDateTime(@Nullable OffsetDateTime sentDateTime) { + this.sentDateTime = sentDateTime; + return this; + } + + /** + * True indicates the RFP was sent to NSO (National Sales Office) associated with supplier. + */ + public Builder sentToNso(@Nullable Boolean sentToNso) { + this.sentToNso = sentToNso; + return this; + } + + public RfpSupplier build() { + return new RfpSupplier( + created, + createdBy, + lastModified, + lastModifiedBy, + supplier, + rfp, + externalSupplier, + associatedAdvertisements, + proposalInProgress, + internalNote, + leadSource, + largestMeetingRoomMet, + numberOfGuestRoomsMet, + totalMeetingSpaceMet, + promotion, + recommendationNote, + shortlistOrder, + showcase, + starred, + status, + statusChangedDateTime, + responder, + response, + externalProposalId, + externalId, + forwardId, + lastSentDateTime, + lastViewedDateTime, + sentDateTime, + sentToNso); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpSupplierJson.java b/packages/java/src/main/java/com/cvent/models/components/RfpSupplierJson.java deleted file mode 100644 index ae871de7d..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/RfpSupplierJson.java +++ /dev/null @@ -1,1215 +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.Nonnull; -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.Optional; - -/** - * RfpSupplierJson - * - *

Supplier data for an RFP. - */ -public class RfpSupplierJson { - /** - * 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; - - /** - * The supplier associated with the RFP. - */ - @JsonProperty("supplier") - private ReferenceToSupplier supplier; - - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("rfp") - private ReferenceToRFP rfp; - - /** - * External supplier associated with the RFP. If planners cannot find a supplier in Cvent, they can add - * the supplier by providing the name when awarding the RFP. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("externalSupplier") - private ExternalSupplier externalSupplier; - - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("associatedAdvertisements") - private SupplierAssociatedAds associatedAdvertisements; - - /** - * True indicates that proposal creation is in progress by supplier. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("proposalInProgress") - private Boolean proposalInProgress; - - /** - * Internal note by planner for supplier. This is not visible to the supplier. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("internalNote") - private String internalNote; - - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("leadSource") - private LeadSource leadSource; - - /** - * True indicates the largest meeting room criteria is met. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("largestMeetingRoomMet") - private Boolean largestMeetingRoomMet; - - /** - * True indicates the number of guest rooms criteria is met. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("numberOfGuestRoomsMet") - private Boolean numberOfGuestRoomsMet; - - /** - * True indicates the total meeting space criteria is met. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("totalMeetingSpaceMet") - private Boolean totalMeetingSpaceMet; - - /** - * Promotion applied by planner while adding supplier on RFP. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("promotion") - private Promotion promotion; - - /** - * Recommendations added by planner for supplier. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("recommendationNote") - private String recommendationNote; - - /** - * Shortlisted order for the supplier. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("shortlistOrder") - private Long shortlistOrder; - - /** - * True indicates the supplier was added by using RFP showcase feature. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("showcase") - private Boolean showcase; - - /** - * True indicates the RFP is starred by supplier. This is not visible to the planner. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("starred") - private Boolean starred; - - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("status") - private RfpSupplierStatus status; - - /** - * The ISO 8601 date time (in UTC) when the status was last changed. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("statusChangedDateTime") - private OffsetDateTime statusChangedDateTime; - - /** - * Name of the recipient associated with supplier who responded to the RFP. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("responder") - private String responder; - - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("response") - private SupplierResponse response; - - /** - * Unique identifier for proposal created by supplier in the external system where it originated. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("externalProposalId") - private String externalProposalId; - - /** - * Unique identifier for RFP in the external system where it originated. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("externalId") - private String externalId; - - /** - * The unique identifier generated when supplier forwards the RFP to other suppliers. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("forwardId") - private String forwardId; - - /** - * The ISO 8601 date time (in UTC) when the RFP was last sent to the supplier. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("lastSentDateTime") - private OffsetDateTime lastSentDateTime; - - /** - * The ISO 8601 date time (in UTC) when the RFP was last viewed by the supplier. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("lastViewedDateTime") - private OffsetDateTime lastViewedDateTime; - - /** - * The ISO 8601 date time (in UTC) when the RFP was originally sent to the supplier. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("sentDateTime") - private OffsetDateTime sentDateTime; - - /** - * True indicates the RFP was sent to NSO (National Sales Office) associated with supplier. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("sentToNso") - private Boolean sentToNso; - - @JsonCreator - public RfpSupplierJson( - @JsonProperty("created") @Nullable OffsetDateTime created, - @JsonProperty("createdBy") @Nullable String createdBy, - @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, - @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, - @JsonProperty("supplier") @Nonnull ReferenceToSupplier supplier, - @JsonProperty("rfp") @Nullable ReferenceToRFP rfp, - @JsonProperty("externalSupplier") @Nullable ExternalSupplier externalSupplier, - @JsonProperty("associatedAdvertisements") @Nullable SupplierAssociatedAds associatedAdvertisements, - @JsonProperty("proposalInProgress") @Nullable Boolean proposalInProgress, - @JsonProperty("internalNote") @Nullable String internalNote, - @JsonProperty("leadSource") @Nullable LeadSource leadSource, - @JsonProperty("largestMeetingRoomMet") @Nullable Boolean largestMeetingRoomMet, - @JsonProperty("numberOfGuestRoomsMet") @Nullable Boolean numberOfGuestRoomsMet, - @JsonProperty("totalMeetingSpaceMet") @Nullable Boolean totalMeetingSpaceMet, - @JsonProperty("promotion") @Nullable Promotion promotion, - @JsonProperty("recommendationNote") @Nullable String recommendationNote, - @JsonProperty("shortlistOrder") @Nullable Long shortlistOrder, - @JsonProperty("showcase") @Nullable Boolean showcase, - @JsonProperty("starred") @Nullable Boolean starred, - @JsonProperty("status") @Nullable RfpSupplierStatus status, - @JsonProperty("statusChangedDateTime") @Nullable OffsetDateTime statusChangedDateTime, - @JsonProperty("responder") @Nullable String responder, - @JsonProperty("response") @Nullable SupplierResponse response, - @JsonProperty("externalProposalId") @Nullable String externalProposalId, - @JsonProperty("externalId") @Nullable String externalId, - @JsonProperty("forwardId") @Nullable String forwardId, - @JsonProperty("lastSentDateTime") @Nullable OffsetDateTime lastSentDateTime, - @JsonProperty("lastViewedDateTime") @Nullable OffsetDateTime lastViewedDateTime, - @JsonProperty("sentDateTime") @Nullable OffsetDateTime sentDateTime, - @JsonProperty("sentToNso") @Nullable Boolean sentToNso) { - this.created = created; - this.createdBy = createdBy; - this.lastModified = lastModified; - this.lastModifiedBy = lastModifiedBy; - this.supplier = Optional.ofNullable(supplier) - .orElseThrow(() -> new IllegalArgumentException("supplier cannot be null")); - this.rfp = rfp; - this.externalSupplier = externalSupplier; - this.associatedAdvertisements = associatedAdvertisements; - this.proposalInProgress = proposalInProgress; - this.internalNote = internalNote; - this.leadSource = leadSource; - this.largestMeetingRoomMet = largestMeetingRoomMet; - this.numberOfGuestRoomsMet = numberOfGuestRoomsMet; - this.totalMeetingSpaceMet = totalMeetingSpaceMet; - this.promotion = promotion; - this.recommendationNote = recommendationNote; - this.shortlistOrder = shortlistOrder; - this.showcase = showcase; - this.starred = starred; - this.status = status; - this.statusChangedDateTime = statusChangedDateTime; - this.responder = responder; - this.response = response; - this.externalProposalId = externalProposalId; - this.externalId = externalId; - this.forwardId = forwardId; - this.lastSentDateTime = lastSentDateTime; - this.lastViewedDateTime = lastViewedDateTime; - this.sentDateTime = sentDateTime; - this.sentToNso = sentToNso; - } - - public RfpSupplierJson(@Nonnull ReferenceToSupplier supplier) { - this( - null, - null, - null, - null, - supplier, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - 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); - } - - /** - * The supplier associated with the RFP. - */ - public ReferenceToSupplier supplier() { - return this.supplier; - } - - public Optional rfp() { - return Optional.ofNullable(this.rfp); - } - - /** - * External supplier associated with the RFP. If planners cannot find a supplier in Cvent, they can add - * the supplier by providing the name when awarding the RFP. - */ - public Optional externalSupplier() { - return Optional.ofNullable(this.externalSupplier); - } - - public Optional associatedAdvertisements() { - return Optional.ofNullable(this.associatedAdvertisements); - } - - /** - * True indicates that proposal creation is in progress by supplier. - */ - public Optional proposalInProgress() { - return Optional.ofNullable(this.proposalInProgress); - } - - /** - * Internal note by planner for supplier. This is not visible to the supplier. - */ - public Optional internalNote() { - return Optional.ofNullable(this.internalNote); - } - - public Optional leadSource() { - return Optional.ofNullable(this.leadSource); - } - - /** - * True indicates the largest meeting room criteria is met. - */ - public Optional largestMeetingRoomMet() { - return Optional.ofNullable(this.largestMeetingRoomMet); - } - - /** - * True indicates the number of guest rooms criteria is met. - */ - public Optional numberOfGuestRoomsMet() { - return Optional.ofNullable(this.numberOfGuestRoomsMet); - } - - /** - * True indicates the total meeting space criteria is met. - */ - public Optional totalMeetingSpaceMet() { - return Optional.ofNullable(this.totalMeetingSpaceMet); - } - - /** - * Promotion applied by planner while adding supplier on RFP. - */ - public Optional promotion() { - return Optional.ofNullable(this.promotion); - } - - /** - * Recommendations added by planner for supplier. - */ - public Optional recommendationNote() { - return Optional.ofNullable(this.recommendationNote); - } - - /** - * Shortlisted order for the supplier. - */ - public Optional shortlistOrder() { - return Optional.ofNullable(this.shortlistOrder); - } - - /** - * True indicates the supplier was added by using RFP showcase feature. - */ - public Optional showcase() { - return Optional.ofNullable(this.showcase); - } - - /** - * True indicates the RFP is starred by supplier. This is not visible to the planner. - */ - public Optional starred() { - return Optional.ofNullable(this.starred); - } - - public Optional status() { - return Optional.ofNullable(this.status); - } - - /** - * The ISO 8601 date time (in UTC) when the status was last changed. - */ - public Optional statusChangedDateTime() { - return Optional.ofNullable(this.statusChangedDateTime); - } - - /** - * Name of the recipient associated with supplier who responded to the RFP. - */ - public Optional responder() { - return Optional.ofNullable(this.responder); - } - - public Optional response() { - return Optional.ofNullable(this.response); - } - - /** - * Unique identifier for proposal created by supplier in the external system where it originated. - */ - public Optional externalProposalId() { - return Optional.ofNullable(this.externalProposalId); - } - - /** - * Unique identifier for RFP in the external system where it originated. - */ - public Optional externalId() { - return Optional.ofNullable(this.externalId); - } - - /** - * The unique identifier generated when supplier forwards the RFP to other suppliers. - */ - public Optional forwardId() { - return Optional.ofNullable(this.forwardId); - } - - /** - * The ISO 8601 date time (in UTC) when the RFP was last sent to the supplier. - */ - public Optional lastSentDateTime() { - return Optional.ofNullable(this.lastSentDateTime); - } - - /** - * The ISO 8601 date time (in UTC) when the RFP was last viewed by the supplier. - */ - public Optional lastViewedDateTime() { - return Optional.ofNullable(this.lastViewedDateTime); - } - - /** - * The ISO 8601 date time (in UTC) when the RFP was originally sent to the supplier. - */ - public Optional sentDateTime() { - return Optional.ofNullable(this.sentDateTime); - } - - /** - * True indicates the RFP was sent to NSO (National Sales Office) associated with supplier. - */ - public Optional sentToNso() { - return Optional.ofNullable(this.sentToNso); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The ISO 8601 zoned date time when this record was created. - */ - public RfpSupplierJson withCreated(@Nullable OffsetDateTime created) { - this.created = created; - return this; - } - - /** - * The identifier of the user that created this record. - */ - public RfpSupplierJson withCreatedBy(@Nullable String createdBy) { - this.createdBy = createdBy; - return this; - } - - /** - * The ISO 8601 zoned date time when this record was updated. - */ - public RfpSupplierJson withLastModified(@Nullable OffsetDateTime lastModified) { - this.lastModified = lastModified; - return this; - } - - /** - * The identifier of the user that last updated this record. - */ - public RfpSupplierJson withLastModifiedBy(@Nullable String lastModifiedBy) { - this.lastModifiedBy = lastModifiedBy; - return this; - } - - /** - * The supplier associated with the RFP. - */ - public RfpSupplierJson withSupplier(@Nonnull ReferenceToSupplier supplier) { - this.supplier = Utils.checkNotNull(supplier, "supplier"); - return this; - } - - public RfpSupplierJson withRfp(@Nullable ReferenceToRFP rfp) { - this.rfp = rfp; - return this; - } - - /** - * External supplier associated with the RFP. If planners cannot find a supplier in Cvent, they can add - * the supplier by providing the name when awarding the RFP. - */ - public RfpSupplierJson withExternalSupplier(@Nullable ExternalSupplier externalSupplier) { - this.externalSupplier = externalSupplier; - return this; - } - - public RfpSupplierJson withAssociatedAdvertisements(@Nullable SupplierAssociatedAds associatedAdvertisements) { - this.associatedAdvertisements = associatedAdvertisements; - return this; - } - - /** - * True indicates that proposal creation is in progress by supplier. - */ - public RfpSupplierJson withProposalInProgress(@Nullable Boolean proposalInProgress) { - this.proposalInProgress = proposalInProgress; - return this; - } - - /** - * Internal note by planner for supplier. This is not visible to the supplier. - */ - public RfpSupplierJson withInternalNote(@Nullable String internalNote) { - this.internalNote = internalNote; - return this; - } - - public RfpSupplierJson withLeadSource(@Nullable LeadSource leadSource) { - this.leadSource = leadSource; - return this; - } - - /** - * True indicates the largest meeting room criteria is met. - */ - public RfpSupplierJson withLargestMeetingRoomMet(@Nullable Boolean largestMeetingRoomMet) { - this.largestMeetingRoomMet = largestMeetingRoomMet; - return this; - } - - /** - * True indicates the number of guest rooms criteria is met. - */ - public RfpSupplierJson withNumberOfGuestRoomsMet(@Nullable Boolean numberOfGuestRoomsMet) { - this.numberOfGuestRoomsMet = numberOfGuestRoomsMet; - return this; - } - - /** - * True indicates the total meeting space criteria is met. - */ - public RfpSupplierJson withTotalMeetingSpaceMet(@Nullable Boolean totalMeetingSpaceMet) { - this.totalMeetingSpaceMet = totalMeetingSpaceMet; - return this; - } - - /** - * Promotion applied by planner while adding supplier on RFP. - */ - public RfpSupplierJson withPromotion(@Nullable Promotion promotion) { - this.promotion = promotion; - return this; - } - - /** - * Recommendations added by planner for supplier. - */ - public RfpSupplierJson withRecommendationNote(@Nullable String recommendationNote) { - this.recommendationNote = recommendationNote; - return this; - } - - /** - * Shortlisted order for the supplier. - */ - public RfpSupplierJson withShortlistOrder(@Nullable Long shortlistOrder) { - this.shortlistOrder = shortlistOrder; - return this; - } - - /** - * True indicates the supplier was added by using RFP showcase feature. - */ - public RfpSupplierJson withShowcase(@Nullable Boolean showcase) { - this.showcase = showcase; - return this; - } - - /** - * True indicates the RFP is starred by supplier. This is not visible to the planner. - */ - public RfpSupplierJson withStarred(@Nullable Boolean starred) { - this.starred = starred; - return this; - } - - public RfpSupplierJson withStatus(@Nullable RfpSupplierStatus status) { - this.status = status; - return this; - } - - /** - * The ISO 8601 date time (in UTC) when the status was last changed. - */ - public RfpSupplierJson withStatusChangedDateTime(@Nullable OffsetDateTime statusChangedDateTime) { - this.statusChangedDateTime = statusChangedDateTime; - return this; - } - - /** - * Name of the recipient associated with supplier who responded to the RFP. - */ - public RfpSupplierJson withResponder(@Nullable String responder) { - this.responder = responder; - return this; - } - - public RfpSupplierJson withResponse(@Nullable SupplierResponse response) { - this.response = response; - return this; - } - - /** - * Unique identifier for proposal created by supplier in the external system where it originated. - */ - public RfpSupplierJson withExternalProposalId(@Nullable String externalProposalId) { - this.externalProposalId = externalProposalId; - return this; - } - - /** - * Unique identifier for RFP in the external system where it originated. - */ - public RfpSupplierJson withExternalId(@Nullable String externalId) { - this.externalId = externalId; - return this; - } - - /** - * The unique identifier generated when supplier forwards the RFP to other suppliers. - */ - public RfpSupplierJson withForwardId(@Nullable String forwardId) { - this.forwardId = forwardId; - return this; - } - - /** - * The ISO 8601 date time (in UTC) when the RFP was last sent to the supplier. - */ - public RfpSupplierJson withLastSentDateTime(@Nullable OffsetDateTime lastSentDateTime) { - this.lastSentDateTime = lastSentDateTime; - return this; - } - - /** - * The ISO 8601 date time (in UTC) when the RFP was last viewed by the supplier. - */ - public RfpSupplierJson withLastViewedDateTime(@Nullable OffsetDateTime lastViewedDateTime) { - this.lastViewedDateTime = lastViewedDateTime; - return this; - } - - /** - * The ISO 8601 date time (in UTC) when the RFP was originally sent to the supplier. - */ - public RfpSupplierJson withSentDateTime(@Nullable OffsetDateTime sentDateTime) { - this.sentDateTime = sentDateTime; - return this; - } - - /** - * True indicates the RFP was sent to NSO (National Sales Office) associated with supplier. - */ - public RfpSupplierJson withSentToNso(@Nullable Boolean sentToNso) { - this.sentToNso = sentToNso; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - RfpSupplierJson other = (RfpSupplierJson) 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.supplier, other.supplier) - && Utils.enhancedDeepEquals(this.rfp, other.rfp) - && Utils.enhancedDeepEquals(this.externalSupplier, other.externalSupplier) - && Utils.enhancedDeepEquals(this.associatedAdvertisements, other.associatedAdvertisements) - && Utils.enhancedDeepEquals(this.proposalInProgress, other.proposalInProgress) - && Utils.enhancedDeepEquals(this.internalNote, other.internalNote) - && Utils.enhancedDeepEquals(this.leadSource, other.leadSource) - && Utils.enhancedDeepEquals(this.largestMeetingRoomMet, other.largestMeetingRoomMet) - && Utils.enhancedDeepEquals(this.numberOfGuestRoomsMet, other.numberOfGuestRoomsMet) - && Utils.enhancedDeepEquals(this.totalMeetingSpaceMet, other.totalMeetingSpaceMet) - && Utils.enhancedDeepEquals(this.promotion, other.promotion) - && Utils.enhancedDeepEquals(this.recommendationNote, other.recommendationNote) - && Utils.enhancedDeepEquals(this.shortlistOrder, other.shortlistOrder) - && Utils.enhancedDeepEquals(this.showcase, other.showcase) - && Utils.enhancedDeepEquals(this.starred, other.starred) - && Utils.enhancedDeepEquals(this.status, other.status) - && Utils.enhancedDeepEquals(this.statusChangedDateTime, other.statusChangedDateTime) - && Utils.enhancedDeepEquals(this.responder, other.responder) - && Utils.enhancedDeepEquals(this.response, other.response) - && Utils.enhancedDeepEquals(this.externalProposalId, other.externalProposalId) - && Utils.enhancedDeepEquals(this.externalId, other.externalId) - && Utils.enhancedDeepEquals(this.forwardId, other.forwardId) - && Utils.enhancedDeepEquals(this.lastSentDateTime, other.lastSentDateTime) - && Utils.enhancedDeepEquals(this.lastViewedDateTime, other.lastViewedDateTime) - && Utils.enhancedDeepEquals(this.sentDateTime, other.sentDateTime) - && Utils.enhancedDeepEquals(this.sentToNso, other.sentToNso); - } - - @Override - public int hashCode() { - return Utils.enhancedHash( - created, - createdBy, - lastModified, - lastModifiedBy, - supplier, - rfp, - externalSupplier, - associatedAdvertisements, - proposalInProgress, - internalNote, - leadSource, - largestMeetingRoomMet, - numberOfGuestRoomsMet, - totalMeetingSpaceMet, - promotion, - recommendationNote, - shortlistOrder, - showcase, - starred, - status, - statusChangedDateTime, - responder, - response, - externalProposalId, - externalId, - forwardId, - lastSentDateTime, - lastViewedDateTime, - sentDateTime, - sentToNso); - } - - @Override - public String toString() { - return Utils.toString( - RfpSupplierJson.class, - "created", - created, - "createdBy", - createdBy, - "lastModified", - lastModified, - "lastModifiedBy", - lastModifiedBy, - "supplier", - supplier, - "rfp", - rfp, - "externalSupplier", - externalSupplier, - "associatedAdvertisements", - associatedAdvertisements, - "proposalInProgress", - proposalInProgress, - "internalNote", - internalNote, - "leadSource", - leadSource, - "largestMeetingRoomMet", - largestMeetingRoomMet, - "numberOfGuestRoomsMet", - numberOfGuestRoomsMet, - "totalMeetingSpaceMet", - totalMeetingSpaceMet, - "promotion", - promotion, - "recommendationNote", - recommendationNote, - "shortlistOrder", - shortlistOrder, - "showcase", - showcase, - "starred", - starred, - "status", - status, - "statusChangedDateTime", - statusChangedDateTime, - "responder", - responder, - "response", - response, - "externalProposalId", - externalProposalId, - "externalId", - externalId, - "forwardId", - forwardId, - "lastSentDateTime", - lastSentDateTime, - "lastViewedDateTime", - lastViewedDateTime, - "sentDateTime", - sentDateTime, - "sentToNso", - sentToNso); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private OffsetDateTime created; - - private String createdBy; - - private OffsetDateTime lastModified; - - private String lastModifiedBy; - - private ReferenceToSupplier supplier; - - private ReferenceToRFP rfp; - - private ExternalSupplier externalSupplier; - - private SupplierAssociatedAds associatedAdvertisements; - - private Boolean proposalInProgress; - - private String internalNote; - - private LeadSource leadSource; - - private Boolean largestMeetingRoomMet; - - private Boolean numberOfGuestRoomsMet; - - private Boolean totalMeetingSpaceMet; - - private Promotion promotion; - - private String recommendationNote; - - private Long shortlistOrder; - - private Boolean showcase; - - private Boolean starred; - - private RfpSupplierStatus status; - - private OffsetDateTime statusChangedDateTime; - - private String responder; - - private SupplierResponse response; - - private String externalProposalId; - - private String externalId; - - private String forwardId; - - private OffsetDateTime lastSentDateTime; - - private OffsetDateTime lastViewedDateTime; - - private OffsetDateTime sentDateTime; - - private Boolean sentToNso; - - 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; - } - - /** - * The supplier associated with the RFP. - */ - public Builder supplier(@Nonnull ReferenceToSupplier supplier) { - this.supplier = Utils.checkNotNull(supplier, "supplier"); - return this; - } - - public Builder rfp(@Nullable ReferenceToRFP rfp) { - this.rfp = rfp; - return this; - } - - /** - * External supplier associated with the RFP. If planners cannot find a supplier in Cvent, they can add - * the supplier by providing the name when awarding the RFP. - */ - public Builder externalSupplier(@Nullable ExternalSupplier externalSupplier) { - this.externalSupplier = externalSupplier; - return this; - } - - public Builder associatedAdvertisements(@Nullable SupplierAssociatedAds associatedAdvertisements) { - this.associatedAdvertisements = associatedAdvertisements; - return this; - } - - /** - * True indicates that proposal creation is in progress by supplier. - */ - public Builder proposalInProgress(@Nullable Boolean proposalInProgress) { - this.proposalInProgress = proposalInProgress; - return this; - } - - /** - * Internal note by planner for supplier. This is not visible to the supplier. - */ - public Builder internalNote(@Nullable String internalNote) { - this.internalNote = internalNote; - return this; - } - - public Builder leadSource(@Nullable LeadSource leadSource) { - this.leadSource = leadSource; - return this; - } - - /** - * True indicates the largest meeting room criteria is met. - */ - public Builder largestMeetingRoomMet(@Nullable Boolean largestMeetingRoomMet) { - this.largestMeetingRoomMet = largestMeetingRoomMet; - return this; - } - - /** - * True indicates the number of guest rooms criteria is met. - */ - public Builder numberOfGuestRoomsMet(@Nullable Boolean numberOfGuestRoomsMet) { - this.numberOfGuestRoomsMet = numberOfGuestRoomsMet; - return this; - } - - /** - * True indicates the total meeting space criteria is met. - */ - public Builder totalMeetingSpaceMet(@Nullable Boolean totalMeetingSpaceMet) { - this.totalMeetingSpaceMet = totalMeetingSpaceMet; - return this; - } - - /** - * Promotion applied by planner while adding supplier on RFP. - */ - public Builder promotion(@Nullable Promotion promotion) { - this.promotion = promotion; - return this; - } - - /** - * Recommendations added by planner for supplier. - */ - public Builder recommendationNote(@Nullable String recommendationNote) { - this.recommendationNote = recommendationNote; - return this; - } - - /** - * Shortlisted order for the supplier. - */ - public Builder shortlistOrder(@Nullable Long shortlistOrder) { - this.shortlistOrder = shortlistOrder; - return this; - } - - /** - * True indicates the supplier was added by using RFP showcase feature. - */ - public Builder showcase(@Nullable Boolean showcase) { - this.showcase = showcase; - return this; - } - - /** - * True indicates the RFP is starred by supplier. This is not visible to the planner. - */ - public Builder starred(@Nullable Boolean starred) { - this.starred = starred; - return this; - } - - public Builder status(@Nullable RfpSupplierStatus status) { - this.status = status; - return this; - } - - /** - * The ISO 8601 date time (in UTC) when the status was last changed. - */ - public Builder statusChangedDateTime(@Nullable OffsetDateTime statusChangedDateTime) { - this.statusChangedDateTime = statusChangedDateTime; - return this; - } - - /** - * Name of the recipient associated with supplier who responded to the RFP. - */ - public Builder responder(@Nullable String responder) { - this.responder = responder; - return this; - } - - public Builder response(@Nullable SupplierResponse response) { - this.response = response; - return this; - } - - /** - * Unique identifier for proposal created by supplier in the external system where it originated. - */ - public Builder externalProposalId(@Nullable String externalProposalId) { - this.externalProposalId = externalProposalId; - return this; - } - - /** - * Unique identifier for RFP in the external system where it originated. - */ - public Builder externalId(@Nullable String externalId) { - this.externalId = externalId; - return this; - } - - /** - * The unique identifier generated when supplier forwards the RFP to other suppliers. - */ - public Builder forwardId(@Nullable String forwardId) { - this.forwardId = forwardId; - return this; - } - - /** - * The ISO 8601 date time (in UTC) when the RFP was last sent to the supplier. - */ - public Builder lastSentDateTime(@Nullable OffsetDateTime lastSentDateTime) { - this.lastSentDateTime = lastSentDateTime; - return this; - } - - /** - * The ISO 8601 date time (in UTC) when the RFP was last viewed by the supplier. - */ - public Builder lastViewedDateTime(@Nullable OffsetDateTime lastViewedDateTime) { - this.lastViewedDateTime = lastViewedDateTime; - return this; - } - - /** - * The ISO 8601 date time (in UTC) when the RFP was originally sent to the supplier. - */ - public Builder sentDateTime(@Nullable OffsetDateTime sentDateTime) { - this.sentDateTime = sentDateTime; - return this; - } - - /** - * True indicates the RFP was sent to NSO (National Sales Office) associated with supplier. - */ - public Builder sentToNso(@Nullable Boolean sentToNso) { - this.sentToNso = sentToNso; - return this; - } - - public RfpSupplierJson build() { - return new RfpSupplierJson( - created, - createdBy, - lastModified, - lastModifiedBy, - supplier, - rfp, - externalSupplier, - associatedAdvertisements, - proposalInProgress, - internalNote, - leadSource, - largestMeetingRoomMet, - numberOfGuestRoomsMet, - totalMeetingSpaceMet, - promotion, - recommendationNote, - shortlistOrder, - showcase, - starred, - status, - statusChangedDateTime, - responder, - response, - externalProposalId, - externalId, - forwardId, - lastSentDateTime, - lastViewedDateTime, - sentDateTime, - sentToNso); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpSupplierLeadSource.java b/packages/java/src/main/java/com/cvent/models/components/RfpSupplierLeadSource.java new file mode 100644 index 000000000..10fb8bf9c --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/RfpSupplierLeadSource.java @@ -0,0 +1,138 @@ +/* + * 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; + +/** + * RfpSupplierLeadSource + * + *

Lead source details. + */ +public class RfpSupplierLeadSource { + /** + * Unique identifier for source generating the RFP. Details about this lead source can be fetched using + * lead source API. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * Represents lead source section details, which is a sub area of source generating the RFP. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("section") + private LeadSourceSection section; + + @JsonCreator + public RfpSupplierLeadSource( + @JsonProperty("id") @Nullable String id, @JsonProperty("section") @Nullable LeadSourceSection section) { + this.id = id; + this.section = section; + } + + public RfpSupplierLeadSource() { + this(null, null); + } + + /** + * Unique identifier for source generating the RFP. Details about this lead source can be fetched using + * lead source API. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Represents lead source section details, which is a sub area of source generating the RFP. + */ + public Optional section() { + return Optional.ofNullable(this.section); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique identifier for source generating the RFP. Details about this lead source can be fetched using + * lead source API. + */ + public RfpSupplierLeadSource withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Represents lead source section details, which is a sub area of source generating the RFP. + */ + public RfpSupplierLeadSource withSection(@Nullable LeadSourceSection section) { + this.section = section; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RfpSupplierLeadSource other = (RfpSupplierLeadSource) o; + return Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.section, other.section); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, section); + } + + @Override + public String toString() { + return Utils.toString(RfpSupplierLeadSource.class, "id", id, "section", section); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private LeadSourceSection section; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique identifier for source generating the RFP. Details about this lead source can be fetched using + * lead source API. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Represents lead source section details, which is a sub area of source generating the RFP. + */ + public Builder section(@Nullable LeadSourceSection section) { + this.section = section; + return this; + } + + public RfpSupplierLeadSource build() { + return new RfpSupplierLeadSource(id, section); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpType1.java b/packages/java/src/main/java/com/cvent/models/components/RfpType1.java new file mode 100644 index 000000000..84e82d5f3 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/RfpType1.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; + +/** + * RfpType1 + * + *

RFP types based on event requirements. + */ +public enum RfpType1 { + MEETING_SPACE_AND_GUEST_ROOMS("MEETING_SPACE_AND_GUEST_ROOMS"), + MEETING_SPACE_ONLY("MEETING_SPACE_ONLY"), + GUEST_ROOMS_ONLY("GUEST_ROOMS_ONLY"), + RESTAURANT_RFP("RESTAURANT_RFP"), + SERVICE_PROVIDER("SERVICE_PROVIDER"); + + @JsonValue + private final String value; + + RfpType1(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (RfpType1 o : RfpType1.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/RfpTypeJson0.java b/packages/java/src/main/java/com/cvent/models/components/RfpTypeJson0.java deleted file mode 100644 index 93d5c7be5..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/RfpTypeJson0.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * 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; - -/** - * RfpTypeJson0 - * - *

RFP types based on event requirements. - */ -public enum RfpTypeJson0 { - MEETING_SPACE_AND_GUEST_ROOMS("MEETING_SPACE_AND_GUEST_ROOMS"), - MEETING_SPACE_ONLY("MEETING_SPACE_ONLY"), - GUEST_ROOMS_ONLY("GUEST_ROOMS_ONLY"), - RESTAURANT_RFP("RESTAURANT_RFP"), - SERVICE_PROVIDER("SERVICE_PROVIDER"); - - @JsonValue - private final String value; - - RfpTypeJson0(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (RfpTypeJson0 o : RfpTypeJson0.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/RoomBedTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/RoomBedTypeJson.java new file mode 100644 index 000000000..199cdf379 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/RoomBedTypeJson.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; + +/** + * RoomBedTypeJson + * + *

Code representing the bed type. + */ +public enum RoomBedTypeJson { + SOFA_BED("sofa_bed"), + DOUBLE("double"), + FULL("full"), + KING("king"), + MURPHY("murphy"), + QUEEN("queen"), + RUN_OF_HOUSE("run_of_house"), + SINGLE("single"), + TWIN("twin"); + + @JsonValue + private final String value; + + RoomBedTypeJson(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (RoomBedTypeJson o : RoomBedTypeJson.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/RoomBedTypeJson1.java b/packages/java/src/main/java/com/cvent/models/components/RoomBedTypeJson1.java deleted file mode 100644 index 6e8ed6c06..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/RoomBedTypeJson1.java +++ /dev/null @@ -1,46 +0,0 @@ -/* - * 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; - -/** - * RoomBedTypeJson1 - * - *

Code representing the bed type. - */ -public enum RoomBedTypeJson1 { - SOFA_BED("sofa_bed"), - DOUBLE("double"), - FULL("full"), - KING("king"), - MURPHY("murphy"), - QUEEN("queen"), - RUN_OF_HOUSE("run_of_house"), - SINGLE("single"), - TWIN("twin"); - - @JsonValue - private final String value; - - RoomBedTypeJson1(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (RoomBedTypeJson1 o : RoomBedTypeJson1.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/RoomBlock.java b/packages/java/src/main/java/com/cvent/models/components/RoomBlock.java new file mode 100644 index 000000000..304c67700 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/RoomBlock.java @@ -0,0 +1,255 @@ +/* + * 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.Long; +import java.lang.Override; +import java.lang.String; +import java.time.LocalDate; +import java.util.List; +import java.util.Optional; + +/** + * RoomBlock + * + *

Contains details related to room allotment for a day. + */ +public class RoomBlock { + /** + * Unique identifier for the room block. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * The ISO 8601 date when the rooms are required. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("date") + private LocalDate date; + + /** + * Counter for day number. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("dayNumber") + private Long dayNumber; + + /** + * Total number of rooms required for the day. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("totalRooms") + private Long totalRooms; + + /** + * Contains detail of quantity required for each room type. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("details") + private List details; + + @JsonCreator + public RoomBlock( + @JsonProperty("id") @Nullable String id, + @JsonProperty("date") @Nullable LocalDate date, + @JsonProperty("dayNumber") @Nullable Long dayNumber, + @JsonProperty("totalRooms") @Nullable Long totalRooms, + @JsonProperty("details") @Nullable List details) { + this.id = id; + this.date = date; + this.dayNumber = dayNumber; + this.totalRooms = totalRooms; + this.details = details; + } + + public RoomBlock() { + this(null, null, null, null, null); + } + + /** + * Unique identifier for the room block. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The ISO 8601 date when the rooms are required. + */ + public Optional date() { + return Optional.ofNullable(this.date); + } + + /** + * Counter for day number. + */ + public Optional dayNumber() { + return Optional.ofNullable(this.dayNumber); + } + + /** + * Total number of rooms required for the day. + */ + public Optional totalRooms() { + return Optional.ofNullable(this.totalRooms); + } + + /** + * Contains detail of quantity required for each room type. + */ + public Optional> details() { + return Optional.ofNullable(this.details); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique identifier for the room block. + */ + public RoomBlock withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The ISO 8601 date when the rooms are required. + */ + public RoomBlock withDate(@Nullable LocalDate date) { + this.date = date; + return this; + } + + /** + * Counter for day number. + */ + public RoomBlock withDayNumber(@Nullable Long dayNumber) { + this.dayNumber = dayNumber; + return this; + } + + /** + * Total number of rooms required for the day. + */ + public RoomBlock withTotalRooms(@Nullable Long totalRooms) { + this.totalRooms = totalRooms; + return this; + } + + /** + * Contains detail of quantity required for each room type. + */ + public RoomBlock withDetails(@Nullable List details) { + this.details = details; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RoomBlock other = (RoomBlock) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.date, other.date) + && Utils.enhancedDeepEquals(this.dayNumber, other.dayNumber) + && Utils.enhancedDeepEquals(this.totalRooms, other.totalRooms) + && Utils.enhancedDeepEquals(this.details, other.details); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, date, dayNumber, totalRooms, details); + } + + @Override + public String toString() { + return Utils.toString( + RoomBlock.class, + "id", + id, + "date", + date, + "dayNumber", + dayNumber, + "totalRooms", + totalRooms, + "details", + details); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private LocalDate date; + + private Long dayNumber; + + private Long totalRooms; + + private List details; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique identifier for the room block. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The ISO 8601 date when the rooms are required. + */ + public Builder date(@Nullable LocalDate date) { + this.date = date; + return this; + } + + /** + * Counter for day number. + */ + public Builder dayNumber(@Nullable Long dayNumber) { + this.dayNumber = dayNumber; + return this; + } + + /** + * Total number of rooms required for the day. + */ + public Builder totalRooms(@Nullable Long totalRooms) { + this.totalRooms = totalRooms; + return this; + } + + /** + * Contains detail of quantity required for each room type. + */ + public Builder details(@Nullable List details) { + this.details = details; + return this; + } + + public RoomBlock build() { + return new RoomBlock(id, date, dayNumber, totalRooms, details); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/RoomBlockDetails.java b/packages/java/src/main/java/com/cvent/models/components/RoomBlockDetails.java new file mode 100644 index 000000000..61c8d906c --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/RoomBlockDetails.java @@ -0,0 +1,143 @@ +/* + * 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.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * RoomBlockDetails + * + *

Contains details related to room allotment for a room type. + */ +public class RoomBlockDetails { + /** + * Quantity of rooms required. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("quantity") + private Long quantity; + + /** + * 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private GuestRoomType type; + + @JsonCreator + public RoomBlockDetails( + @JsonProperty("quantity") @Nullable Long quantity, @JsonProperty("type") @Nullable GuestRoomType type) { + this.quantity = quantity; + this.type = type; + } + + public RoomBlockDetails() { + this(null, null); + } + + /** + * Quantity of rooms required. + */ + public Optional quantity() { + return Optional.ofNullable(this.quantity); + } + + /** + * 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. + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Quantity of rooms required. + */ + public RoomBlockDetails withQuantity(@Nullable Long quantity) { + this.quantity = quantity; + return this; + } + + /** + * 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. + */ + public RoomBlockDetails withType(@Nullable GuestRoomType type) { + this.type = type; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RoomBlockDetails other = (RoomBlockDetails) o; + return Utils.enhancedDeepEquals(this.quantity, other.quantity) && Utils.enhancedDeepEquals(this.type, other.type); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(quantity, type); + } + + @Override + public String toString() { + return Utils.toString(RoomBlockDetails.class, "quantity", quantity, "type", type); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private Long quantity; + + private GuestRoomType type; + + private Builder() { + // force use of static builder() method + } + + /** + * Quantity of rooms required. + */ + public Builder quantity(@Nullable Long quantity) { + this.quantity = quantity; + return this; + } + + /** + * 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. + */ + public Builder type(@Nullable GuestRoomType type) { + this.type = type; + return this; + } + + public RoomBlockDetails build() { + return new RoomBlockDetails(quantity, type); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/RoomBlockDetailsJson.java b/packages/java/src/main/java/com/cvent/models/components/RoomBlockDetailsJson.java deleted file mode 100644 index 6ef15e908..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/RoomBlockDetailsJson.java +++ /dev/null @@ -1,143 +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.Long; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * RoomBlockDetailsJson - * - *

Contains details related to room allotment for a room type. - */ -public class RoomBlockDetailsJson { - /** - * Quantity of rooms required. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("quantity") - private Long quantity; - - /** - * 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. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private GuestRoomTypeJson type; - - @JsonCreator - public RoomBlockDetailsJson( - @JsonProperty("quantity") @Nullable Long quantity, @JsonProperty("type") @Nullable GuestRoomTypeJson type) { - this.quantity = quantity; - this.type = type; - } - - public RoomBlockDetailsJson() { - this(null, null); - } - - /** - * Quantity of rooms required. - */ - public Optional quantity() { - return Optional.ofNullable(this.quantity); - } - - /** - * 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. - */ - public Optional type() { - return Optional.ofNullable(this.type); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Quantity of rooms required. - */ - public RoomBlockDetailsJson withQuantity(@Nullable Long quantity) { - this.quantity = quantity; - return this; - } - - /** - * 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. - */ - public RoomBlockDetailsJson withType(@Nullable GuestRoomTypeJson type) { - this.type = type; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - RoomBlockDetailsJson other = (RoomBlockDetailsJson) o; - return Utils.enhancedDeepEquals(this.quantity, other.quantity) && Utils.enhancedDeepEquals(this.type, other.type); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(quantity, type); - } - - @Override - public String toString() { - return Utils.toString(RoomBlockDetailsJson.class, "quantity", quantity, "type", type); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private Long quantity; - - private GuestRoomTypeJson type; - - private Builder() { - // force use of static builder() method - } - - /** - * Quantity of rooms required. - */ - public Builder quantity(@Nullable Long quantity) { - this.quantity = quantity; - return this; - } - - /** - * 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. - */ - public Builder type(@Nullable GuestRoomTypeJson type) { - this.type = type; - return this; - } - - public RoomBlockDetailsJson build() { - return new RoomBlockDetailsJson(quantity, type); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/RoomBlockJson.java b/packages/java/src/main/java/com/cvent/models/components/RoomBlockJson.java deleted file mode 100644 index d5d78c82e..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/RoomBlockJson.java +++ /dev/null @@ -1,255 +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.Long; -import java.lang.Override; -import java.lang.String; -import java.time.LocalDate; -import java.util.List; -import java.util.Optional; - -/** - * RoomBlockJson - * - *

Contains details related to room allotment for a day. - */ -public class RoomBlockJson { - /** - * Unique identifier for the room block. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * The ISO 8601 date when the rooms are required. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("date") - private LocalDate date; - - /** - * Counter for day number. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("dayNumber") - private Long dayNumber; - - /** - * Total number of rooms required for the day. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("totalRooms") - private Long totalRooms; - - /** - * Contains detail of quantity required for each room type. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("details") - private List details; - - @JsonCreator - public RoomBlockJson( - @JsonProperty("id") @Nullable String id, - @JsonProperty("date") @Nullable LocalDate date, - @JsonProperty("dayNumber") @Nullable Long dayNumber, - @JsonProperty("totalRooms") @Nullable Long totalRooms, - @JsonProperty("details") @Nullable List details) { - this.id = id; - this.date = date; - this.dayNumber = dayNumber; - this.totalRooms = totalRooms; - this.details = details; - } - - public RoomBlockJson() { - this(null, null, null, null, null); - } - - /** - * Unique identifier for the room block. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * The ISO 8601 date when the rooms are required. - */ - public Optional date() { - return Optional.ofNullable(this.date); - } - - /** - * Counter for day number. - */ - public Optional dayNumber() { - return Optional.ofNullable(this.dayNumber); - } - - /** - * Total number of rooms required for the day. - */ - public Optional totalRooms() { - return Optional.ofNullable(this.totalRooms); - } - - /** - * Contains detail of quantity required for each room type. - */ - public Optional> details() { - return Optional.ofNullable(this.details); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Unique identifier for the room block. - */ - public RoomBlockJson withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The ISO 8601 date when the rooms are required. - */ - public RoomBlockJson withDate(@Nullable LocalDate date) { - this.date = date; - return this; - } - - /** - * Counter for day number. - */ - public RoomBlockJson withDayNumber(@Nullable Long dayNumber) { - this.dayNumber = dayNumber; - return this; - } - - /** - * Total number of rooms required for the day. - */ - public RoomBlockJson withTotalRooms(@Nullable Long totalRooms) { - this.totalRooms = totalRooms; - return this; - } - - /** - * Contains detail of quantity required for each room type. - */ - public RoomBlockJson withDetails(@Nullable List details) { - this.details = details; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - RoomBlockJson other = (RoomBlockJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.date, other.date) - && Utils.enhancedDeepEquals(this.dayNumber, other.dayNumber) - && Utils.enhancedDeepEquals(this.totalRooms, other.totalRooms) - && Utils.enhancedDeepEquals(this.details, other.details); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, date, dayNumber, totalRooms, details); - } - - @Override - public String toString() { - return Utils.toString( - RoomBlockJson.class, - "id", - id, - "date", - date, - "dayNumber", - dayNumber, - "totalRooms", - totalRooms, - "details", - details); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private LocalDate date; - - private Long dayNumber; - - private Long totalRooms; - - private List details; - - private Builder() { - // force use of static builder() method - } - - /** - * Unique identifier for the room block. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The ISO 8601 date when the rooms are required. - */ - public Builder date(@Nullable LocalDate date) { - this.date = date; - return this; - } - - /** - * Counter for day number. - */ - public Builder dayNumber(@Nullable Long dayNumber) { - this.dayNumber = dayNumber; - return this; - } - - /** - * Total number of rooms required for the day. - */ - public Builder totalRooms(@Nullable Long totalRooms) { - this.totalRooms = totalRooms; - return this; - } - - /** - * Contains detail of quantity required for each room type. - */ - public Builder details(@Nullable List details) { - this.details = details; - return this; - } - - public RoomBlockJson build() { - return new RoomBlockJson(id, date, dayNumber, totalRooms, details); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ScoresJson.java b/packages/java/src/main/java/com/cvent/models/components/ScoresJson.java index 5573bfa27..2a8befd94 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ScoresJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/ScoresJson.java @@ -62,7 +62,7 @@ public class ScoresJson { * An event reference used in attendee insights to identify the event context for engagement data */ @JsonProperty("event") - private EventJson6 event; + private EventJson5 event; /** * The number of points earned by an attendee in this engagement score. @@ -85,7 +85,7 @@ public ScoresJson( @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, @JsonProperty("attendee") @Nonnull ScoresJsonAttendee attendee, - @JsonProperty("event") @Nonnull EventJson6 event, + @JsonProperty("event") @Nonnull EventJson5 event, @JsonProperty("points") @Nullable Long points, @JsonProperty("rank") @Nullable Long rank) { this.created = created; @@ -99,7 +99,7 @@ public ScoresJson( this.rank = Optional.ofNullable(rank).orElse(Builder._SINGLETON_VALUE_Rank.value()); } - public ScoresJson(@Nonnull ScoresJsonAttendee attendee, @Nonnull EventJson6 event) { + public ScoresJson(@Nonnull ScoresJsonAttendee attendee, @Nonnull EventJson5 event) { this(null, null, null, null, attendee, event, null, null); } @@ -141,7 +141,7 @@ public ScoresJsonAttendee attendee() { /** * An event reference used in attendee insights to identify the event context for engagement data */ - public EventJson6 event() { + public EventJson5 event() { return this.event; } @@ -206,7 +206,7 @@ public ScoresJson withAttendee(@Nonnull ScoresJsonAttendee attendee) { /** * An event reference used in attendee insights to identify the event context for engagement data */ - public ScoresJson withEvent(@Nonnull EventJson6 event) { + public ScoresJson withEvent(@Nonnull EventJson5 event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -286,7 +286,7 @@ public static final class Builder { private ScoresJsonAttendee attendee; - private EventJson6 event; + private EventJson5 event; private Long points; @@ -339,7 +339,7 @@ public Builder attendee(@Nonnull ScoresJsonAttendee attendee) { /** * An event reference used in attendee insights to identify the event context for engagement data */ - public Builder event(@Nonnull EventJson6 event) { + public Builder event(@Nonnull EventJson5 event) { this.event = Utils.checkNotNull(event, "event"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/SendEmailEventRequest.java b/packages/java/src/main/java/com/cvent/models/components/SendEmailEventRequest.java index 64e769f34..834e543f8 100644 --- a/packages/java/src/main/java/com/cvent/models/components/SendEmailEventRequest.java +++ b/packages/java/src/main/java/com/cvent/models/components/SendEmailEventRequest.java @@ -22,7 +22,7 @@ public class SendEmailEventRequest { * Details of the event. */ @JsonProperty("event") - private EventJson8 event; + private EventJson6 event; /** * Details of an email to be send. @@ -45,7 +45,7 @@ public class SendEmailEventRequest { @JsonCreator public SendEmailEventRequest( - @JsonProperty("event") @Nonnull EventJson8 event, + @JsonProperty("event") @Nonnull EventJson6 event, @JsonProperty("email") @Nonnull EmailJson2 email, @JsonProperty("resendToPreviousRecipients") boolean resendToPreviousRecipients, @JsonProperty("attendees") @Nonnull List attendees) { @@ -59,7 +59,7 @@ public SendEmailEventRequest( /** * Details of the event. */ - public EventJson8 event() { + public EventJson6 event() { return this.event; } @@ -92,7 +92,7 @@ public static Builder builder() { /** * Details of the event. */ - public SendEmailEventRequest withEvent(@Nonnull EventJson8 event) { + public SendEmailEventRequest withEvent(@Nonnull EventJson6 event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -159,7 +159,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private EventJson8 event; + private EventJson6 event; private EmailJson2 email; @@ -174,7 +174,7 @@ private Builder() { /** * Details of the event. */ - public Builder event(@Nonnull EventJson8 event) { + public Builder event(@Nonnull EventJson6 event) { this.event = Utils.checkNotNull(event, "event"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/SendEmailEventResponse.java b/packages/java/src/main/java/com/cvent/models/components/SendEmailEventResponse.java index 90d56cfff..fa144efef 100644 --- a/packages/java/src/main/java/com/cvent/models/components/SendEmailEventResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/SendEmailEventResponse.java @@ -75,7 +75,7 @@ public class SendEmailEventResponse { * Details of the event. */ @JsonProperty("event") - private EventJson8 event; + private EventJson6 event; /** * Details of an email to be send. @@ -106,7 +106,7 @@ public SendEmailEventResponse( @JsonProperty("requestId") @Nonnull String requestId, @JsonProperty("status") @Nullable SendEmailRequestStatusJson status, @JsonProperty("description") @Nullable String description, - @JsonProperty("event") @Nonnull EventJson8 event, + @JsonProperty("event") @Nonnull EventJson6 event, @JsonProperty("email") @Nonnull EmailJson2 email, @JsonProperty("resendToPreviousRecipients") boolean resendToPreviousRecipients, @JsonProperty("attendeeResponses") @Nullable List attendeeResponses) { @@ -126,7 +126,7 @@ public SendEmailEventResponse( public SendEmailEventResponse( @Nonnull String requestId, - @Nonnull EventJson8 event, + @Nonnull EventJson6 event, @Nonnull EmailJson2 email, boolean resendToPreviousRecipients) { this(null, null, null, null, requestId, null, null, event, email, resendToPreviousRecipients, null); @@ -185,7 +185,7 @@ public Optional description() { /** * Details of the event. */ - public EventJson8 event() { + public EventJson6 event() { return this.event; } @@ -275,7 +275,7 @@ public SendEmailEventResponse withDescription(@Nullable String description) { /** * Details of the event. */ - public SendEmailEventResponse withEvent(@Nonnull EventJson8 event) { + public SendEmailEventResponse withEvent(@Nonnull EventJson6 event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -388,7 +388,7 @@ public static final class Builder { private String description; - private EventJson8 event; + private EventJson6 event; private EmailJson2 email; @@ -460,7 +460,7 @@ public Builder description(@Nullable String description) { /** * Details of the event. */ - public Builder event(@Nonnull EventJson8 event) { + public Builder event(@Nonnull EventJson6 event) { this.event = Utils.checkNotNull(event, "event"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/SessionLite.java b/packages/java/src/main/java/com/cvent/models/components/SessionLite.java new file mode 100644 index 000000000..44d404c54 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/SessionLite.java @@ -0,0 +1,93 @@ +/* + * 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; + +/** + * SessionLite + * + *

The unique identifier of a session. + */ +public class SessionLite { + /** + * The unique identifier for a session. + */ + @JsonProperty("id") + private String id; + + @JsonCreator + public SessionLite(@JsonProperty("id") @Nonnull String id) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + } + + /** + * The unique identifier for a session. + */ + public String id() { + return this.id; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique identifier for a session. + */ + public SessionLite 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; + } + SessionLite other = (SessionLite) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(SessionLite.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique identifier for a session. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + public SessionLite build() { + return new SessionLite(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/SessionLiteJson.java b/packages/java/src/main/java/com/cvent/models/components/SessionLiteJson.java deleted file mode 100644 index 6558d27da..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/SessionLiteJson.java +++ /dev/null @@ -1,93 +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.Optional; - -/** - * SessionLiteJson - * - *

The unique identifier of a session. - */ -public class SessionLiteJson { - /** - * The unique identifier for a session. - */ - @JsonProperty("id") - private String id; - - @JsonCreator - public SessionLiteJson(@JsonProperty("id") @Nonnull String id) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - } - - /** - * The unique identifier for a session. - */ - public String id() { - return this.id; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique identifier for a session. - */ - public SessionLiteJson 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; - } - SessionLiteJson other = (SessionLiteJson) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(SessionLiteJson.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique identifier for a session. - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - public SessionLiteJson build() { - return new SessionLiteJson(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/SessionQaMessage.java b/packages/java/src/main/java/com/cvent/models/components/SessionQaMessage.java index c4f1a3fe5..84d4f93f5 100644 --- a/packages/java/src/main/java/com/cvent/models/components/SessionQaMessage.java +++ b/packages/java/src/main/java/com/cvent/models/components/SessionQaMessage.java @@ -38,13 +38,13 @@ public class SessionQaMessage { * Question details */ @JsonProperty("question") - private QuestionJson1 question; + private QuestionJson question; @JsonCreator public SessionQaMessage( @JsonProperty("actionType") @Nonnull SessionQaActionTypeJson actionType, @JsonProperty("attendee") @Nonnull AttendeeJson attendee, - @JsonProperty("question") @Nonnull QuestionJson1 question) { + @JsonProperty("question") @Nonnull QuestionJson question) { this.actionType = Optional.ofNullable(actionType) .orElseThrow(() -> new IllegalArgumentException("actionType cannot be null")); this.attendee = Optional.ofNullable(attendee) @@ -75,7 +75,7 @@ public AttendeeJson attendee() { /** * Question details */ - public QuestionJson1 question() { + public QuestionJson question() { return this.question; } @@ -107,7 +107,7 @@ public SessionQaMessage withAttendee(@Nonnull AttendeeJson attendee) { /** * Question details */ - public SessionQaMessage withQuestion(@Nonnull QuestionJson1 question) { + public SessionQaMessage withQuestion(@Nonnull QuestionJson question) { this.question = Utils.checkNotNull(question, "question"); return this; } @@ -144,7 +144,7 @@ public static final class Builder { private AttendeeJson attendee; - private QuestionJson1 question; + private QuestionJson question; private Builder() { // force use of static builder() method @@ -174,7 +174,7 @@ public Builder attendee(@Nonnull AttendeeJson attendee) { /** * Question details */ - public Builder question(@Nonnull QuestionJson1 question) { + public Builder question(@Nonnull QuestionJson question) { this.question = Utils.checkNotNull(question, "question"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/SessionSpeaker.java b/packages/java/src/main/java/com/cvent/models/components/SessionSpeaker.java new file mode 100644 index 000000000..09449b36e --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/SessionSpeaker.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.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * SessionSpeaker + * + *

A session speaker + */ +public class SessionSpeaker { + /** + * A string that has to be a format matching the industry standard uuid + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * The unique identifier of a session. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("session") + private SessionLite session; + + /** + * A defined speaker category. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("category") + private SpeakerCategory1 category; + + /** + * The order of the speaker in a session. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("order") + private Long order; + + @JsonCreator + public SessionSpeaker( + @JsonProperty("id") @Nullable String id, + @JsonProperty("session") @Nullable SessionLite session, + @JsonProperty("category") @Nullable SpeakerCategory1 category, + @JsonProperty("order") @Nullable Long order) { + this.id = id; + this.session = session; + this.category = category; + this.order = order; + } + + public SessionSpeaker() { + this(null, null, null, null); + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The unique identifier of a session. + */ + public Optional session() { + return Optional.ofNullable(this.session); + } + + /** + * A defined speaker category. + */ + public Optional category() { + return Optional.ofNullable(this.category); + } + + /** + * The order of the speaker in a session. + */ + public Optional order() { + return Optional.ofNullable(this.order); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public SessionSpeaker withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The unique identifier of a session. + */ + public SessionSpeaker withSession(@Nullable SessionLite session) { + this.session = session; + return this; + } + + /** + * A defined speaker category. + */ + public SessionSpeaker withCategory(@Nullable SpeakerCategory1 category) { + this.category = category; + return this; + } + + /** + * The order of the speaker in a session. + */ + public SessionSpeaker withOrder(@Nullable Long order) { + this.order = order; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SessionSpeaker other = (SessionSpeaker) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.session, other.session) + && Utils.enhancedDeepEquals(this.category, other.category) + && Utils.enhancedDeepEquals(this.order, other.order); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, session, category, order); + } + + @Override + public String toString() { + return Utils.toString(SessionSpeaker.class, "id", id, "session", session, "category", category, "order", order); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private SessionLite session; + + private SpeakerCategory1 category; + + private Long order; + + private Builder() { + // force use of static builder() method + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The unique identifier of a session. + */ + public Builder session(@Nullable SessionLite session) { + this.session = session; + return this; + } + + /** + * A defined speaker category. + */ + public Builder category(@Nullable SpeakerCategory1 category) { + this.category = category; + return this; + } + + /** + * The order of the speaker in a session. + */ + public Builder order(@Nullable Long order) { + this.order = order; + return this; + } + + public SessionSpeaker build() { + return new SessionSpeaker(id, session, category, order); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/SessionSpeakerJson.java b/packages/java/src/main/java/com/cvent/models/components/SessionSpeakerJson.java deleted file mode 100644 index 26462086d..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/SessionSpeakerJson.java +++ /dev/null @@ -1,208 +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.Long; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * SessionSpeakerJson - * - *

A session speaker - */ -public class SessionSpeakerJson { - /** - * A string that has to be a format matching the industry standard uuid - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * The unique identifier of a session. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("session") - private SessionLiteJson session; - - /** - * A defined speaker category. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("category") - private CategoryIdNameJson category; - - /** - * The order of the speaker in a session. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("order") - private Long order; - - @JsonCreator - public SessionSpeakerJson( - @JsonProperty("id") @Nullable String id, - @JsonProperty("session") @Nullable SessionLiteJson session, - @JsonProperty("category") @Nullable CategoryIdNameJson category, - @JsonProperty("order") @Nullable Long order) { - this.id = id; - this.session = session; - this.category = category; - this.order = order; - } - - public SessionSpeakerJson() { - this(null, null, null, null); - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * The unique identifier of a session. - */ - public Optional session() { - return Optional.ofNullable(this.session); - } - - /** - * A defined speaker category. - */ - public Optional category() { - return Optional.ofNullable(this.category); - } - - /** - * The order of the speaker in a session. - */ - public Optional order() { - return Optional.ofNullable(this.order); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public SessionSpeakerJson withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The unique identifier of a session. - */ - public SessionSpeakerJson withSession(@Nullable SessionLiteJson session) { - this.session = session; - return this; - } - - /** - * A defined speaker category. - */ - public SessionSpeakerJson withCategory(@Nullable CategoryIdNameJson category) { - this.category = category; - return this; - } - - /** - * The order of the speaker in a session. - */ - public SessionSpeakerJson withOrder(@Nullable Long order) { - this.order = order; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SessionSpeakerJson other = (SessionSpeakerJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.session, other.session) - && Utils.enhancedDeepEquals(this.category, other.category) - && Utils.enhancedDeepEquals(this.order, other.order); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, session, category, order); - } - - @Override - public String toString() { - return Utils.toString( - SessionSpeakerJson.class, "id", id, "session", session, "category", category, "order", order); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private SessionLiteJson session; - - private CategoryIdNameJson category; - - private Long order; - - private Builder() { - // force use of static builder() method - } - - /** - * A string that has to be a format matching the industry standard uuid - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The unique identifier of a session. - */ - public Builder session(@Nullable SessionLiteJson session) { - this.session = session; - return this; - } - - /** - * A defined speaker category. - */ - public Builder category(@Nullable CategoryIdNameJson category) { - this.category = category; - return this; - } - - /** - * The order of the speaker in a session. - */ - public Builder order(@Nullable Long order) { - this.order = order; - return this; - } - - public SessionSpeakerJson build() { - return new SessionSpeakerJson(id, session, category, order); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/SessionSpeakerPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/SessionSpeakerPaginatedResponse.java index 58bd67f61..212bbd693 100644 --- a/packages/java/src/main/java/com/cvent/models/components/SessionSpeakerPaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/SessionSpeakerPaginatedResponse.java @@ -23,18 +23,17 @@ public class SessionSpeakerPaginatedResponse { * Represents pagination information for a collection of resources. */ @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * Collection of a session's speakers. */ @JsonProperty("data") - private List data; + private List data; @JsonCreator public SessionSpeakerPaginatedResponse( - @JsonProperty("paging") @Nonnull PagingJson paging, - @JsonProperty("data") @Nonnull List data) { + @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")); @@ -43,14 +42,14 @@ public SessionSpeakerPaginatedResponse( /** * Represents pagination information for a collection of resources. */ - public PagingJson paging() { + public Paging paging() { return this.paging; } /** * Collection of a session's speakers. */ - public List data() { + public List data() { return this.data; } @@ -61,7 +60,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public SessionSpeakerPaginatedResponse withPaging(@Nonnull PagingJson paging) { + public SessionSpeakerPaginatedResponse withPaging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } @@ -69,7 +68,7 @@ public SessionSpeakerPaginatedResponse withPaging(@Nonnull PagingJson paging) { /** * Collection of a session's speakers. */ - public SessionSpeakerPaginatedResponse withData(@Nonnull List data) { + public SessionSpeakerPaginatedResponse withData(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } @@ -99,9 +98,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; - private List data; + private List data; private Builder() { // force use of static builder() method @@ -110,7 +109,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nonnull PagingJson paging) { + public Builder paging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } @@ -118,7 +117,7 @@ public Builder paging(@Nonnull PagingJson paging) { /** * Collection of a session's speakers. */ - public Builder data(@Nonnull List data) { + public Builder data(@Nonnull List data) { this.data = Utils.checkNotNull(data, "data"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/SleepingRoomBlockJson.java b/packages/java/src/main/java/com/cvent/models/components/SleepingRoomBlockJson.java index 0bd4eb958..ff5a68c11 100644 --- a/packages/java/src/main/java/com/cvent/models/components/SleepingRoomBlockJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/SleepingRoomBlockJson.java @@ -31,7 +31,7 @@ public class SleepingRoomBlockJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("proposalDateType") - private DateTypeJson1 proposalDateType; + private DateTypeJson proposalDateType; /** * Sleeping room type @@ -63,7 +63,7 @@ public class SleepingRoomBlockJson { @JsonCreator public SleepingRoomBlockJson( - @JsonProperty("proposalDateType") @Nullable DateTypeJson1 proposalDateType, + @JsonProperty("proposalDateType") @Nullable DateTypeJson proposalDateType, @JsonProperty("sleepingRoomType") @Nullable SleepingRoomTypeJson sleepingRoomType, @JsonProperty("date") @Nullable LocalDate date, @JsonProperty("quantity") @Nullable Long quantity, @@ -85,7 +85,7 @@ public SleepingRoomBlockJson() { * 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and * so on). */ - public Optional proposalDateType() { + public Optional proposalDateType() { return Optional.ofNullable(this.proposalDateType); } @@ -126,7 +126,7 @@ public static Builder builder() { * 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and * so on). */ - public SleepingRoomBlockJson withProposalDateType(@Nullable DateTypeJson1 proposalDateType) { + public SleepingRoomBlockJson withProposalDateType(@Nullable DateTypeJson proposalDateType) { this.proposalDateType = proposalDateType; return this; } @@ -203,7 +203,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private DateTypeJson1 proposalDateType; + private DateTypeJson proposalDateType; private SleepingRoomTypeJson sleepingRoomType; @@ -222,7 +222,7 @@ private Builder() { * 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and * so on). */ - public Builder proposalDateType(@Nullable DateTypeJson1 proposalDateType) { + public Builder proposalDateType(@Nullable DateTypeJson proposalDateType) { this.proposalDateType = proposalDateType; return this; } @@ -263,7 +263,7 @@ public SleepingRoomBlockJson build() { return new SleepingRoomBlockJson(proposalDateType, sleepingRoomType, date, quantity, rate); } - private static final LazySingletonValue _SINGLETON_VALUE_ProposalDateType = - new LazySingletonValue<>("proposalDateType", "\"PREFERRED\"", new TypeReference() {}); + private static final LazySingletonValue _SINGLETON_VALUE_ProposalDateType = + new LazySingletonValue<>("proposalDateType", "\"PREFERRED\"", new TypeReference() {}); } } diff --git a/packages/java/src/main/java/com/cvent/models/components/SleepingRoomJson.java b/packages/java/src/main/java/com/cvent/models/components/SleepingRoomJson.java index 01a3f2de8..21ce15bef 100644 --- a/packages/java/src/main/java/com/cvent/models/components/SleepingRoomJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/SleepingRoomJson.java @@ -32,7 +32,7 @@ public class SleepingRoomJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("proposalDateType") - private DateTypeJson1 proposalDateType; + private DateTypeJson proposalDateType; /** * The check in date for attendees. @@ -134,7 +134,7 @@ public class SleepingRoomJson { @JsonCreator public SleepingRoomJson( - @JsonProperty("proposalDateType") @Nullable DateTypeJson1 proposalDateType, + @JsonProperty("proposalDateType") @Nullable DateTypeJson proposalDateType, @JsonProperty("checkInDate") @Nullable LocalDate checkInDate, @JsonProperty("checkOutDate") @Nullable LocalDate checkOutDate, @JsonProperty("peakRoomNights") @Nullable Long peakRoomNights, @@ -176,7 +176,7 @@ public SleepingRoomJson() { * 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and * so on). */ - public Optional proposalDateType() { + public Optional proposalDateType() { return Optional.ofNullable(this.proposalDateType); } @@ -287,7 +287,7 @@ public static Builder builder() { * 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and * so on). */ - public SleepingRoomJson withProposalDateType(@Nullable DateTypeJson1 proposalDateType) { + public SleepingRoomJson withProposalDateType(@Nullable DateTypeJson proposalDateType) { this.proposalDateType = proposalDateType; return this; } @@ -489,7 +489,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private DateTypeJson1 proposalDateType; + private DateTypeJson proposalDateType; private LocalDate checkInDate; @@ -528,7 +528,7 @@ private Builder() { * 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and * so on). */ - public Builder proposalDateType(@Nullable DateTypeJson1 proposalDateType) { + public Builder proposalDateType(@Nullable DateTypeJson proposalDateType) { this.proposalDateType = proposalDateType; return this; } @@ -664,7 +664,7 @@ public SleepingRoomJson build() { sleepingRoomBlocks); } - private static final LazySingletonValue _SINGLETON_VALUE_ProposalDateType = - new LazySingletonValue<>("proposalDateType", "\"PREFERRED\"", new TypeReference() {}); + private static final LazySingletonValue _SINGLETON_VALUE_ProposalDateType = + new LazySingletonValue<>("proposalDateType", "\"PREFERRED\"", new TypeReference() {}); } } diff --git a/packages/java/src/main/java/com/cvent/models/components/Solution.java b/packages/java/src/main/java/com/cvent/models/components/Solution.java new file mode 100644 index 000000000..2c4749ecf --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Solution.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; + +/** + * Solution + * + *

The solution where the video exists. Attendee Hub and Events+ represent two different solutions + * where the video can be found. + */ +public enum Solution { + ATTENDEE_HUB("ATTENDEE_HUB"), + EVENTS_PLUS("EVENTS_PLUS"); + + @JsonValue + private final String value; + + Solution(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (Solution o : Solution.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/SolutionJson.java b/packages/java/src/main/java/com/cvent/models/components/SolutionJson.java deleted file mode 100644 index 9c096902c..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/SolutionJson.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * 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; - -/** - * SolutionJson - * - *

The solution where the video exists. Attendee Hub and Events+ represent two different solutions - * where the video can be found. - */ -public enum SolutionJson { - ATTENDEE_HUB("ATTENDEE_HUB"), - EVENTS_PLUS("EVENTS_PLUS"); - - @JsonValue - private final String value; - - SolutionJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (SolutionJson o : SolutionJson.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/SpaceArea.java b/packages/java/src/main/java/com/cvent/models/components/SpaceArea.java new file mode 100644 index 000000000..03ef48c94 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/SpaceArea.java @@ -0,0 +1,111 @@ +/* + * 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; + +/** + * SpaceArea + * + *

Space area divisons. + */ +public enum SpaceArea { + LESS_THAN_ONE_THOUSAND_SQ_FT("LESS_THAN_ONE_THOUSAND_SQ_FT"), + ONE_THOUSAND_SQ_FT("ONE_THOUSAND_SQ_FT"), + TWO_THOUSAND_SQ_FT("TWO_THOUSAND_SQ_FT"), + THREE_THOUSAND_SQ_FT("THREE_THOUSAND_SQ_FT"), + FOUR_THOUSAND_SQ_FT("FOUR_THOUSAND_SQ_FT"), + FIVE_THOUSAND_SQ_FT("FIVE_THOUSAND_SQ_FT"), + SIX_THOUSAND_SQ_FT("SIX_THOUSAND_SQ_FT"), + SEVEN_THOUSAND_SQ_FT("SEVEN_THOUSAND_SQ_FT"), + EIGHT_THOUSAND_SQ_FT("EIGHT_THOUSAND_SQ_FT"), + NINE_THOUSAND_SQ_FT("NINE_THOUSAND_SQ_FT"), + TEN_THOUSAND_SQ_FT("TEN_THOUSAND_SQ_FT"), + ELEVEN_THOUSAND_SQ_FT("ELEVEN_THOUSAND_SQ_FT"), + TWELVE_THOUSAND_SQ_FT("TWELVE_THOUSAND_SQ_FT"), + THIRTEEN_THOUSAND_SQ_FT("THIRTEEN_THOUSAND_SQ_FT"), + FOURTEEN_THOUSAND_SQ_FT("FOURTEEN_THOUSAND_SQ_FT"), + FIFTEEN_THOUSAND_SQ_FT("FIFTEEN_THOUSAND_SQ_FT"), + SIXTEEN_THOUSAND_SQ_FT("SIXTEEN_THOUSAND_SQ_FT"), + SEVENTEEN_THOUSAND_SQ_FT("SEVENTEEN_THOUSAND_SQ_FT"), + EIGHTEEN_THOUSAND_SQ_FT("EIGHTEEN_THOUSAND_SQ_FT"), + NINETEEN_THOUSAND_SQ_FT("NINETEEN_THOUSAND_SQ_FT"), + TWENTY_THOUSAND_SQ_FT("TWENTY_THOUSAND_SQ_FT"), + TWENTY_FIVE_THOUSAND_SQ_FT("TWENTY_FIVE_THOUSAND_SQ_FT"), + THIRTY_THOUSAND_SQ_FT("THIRTY_THOUSAND_SQ_FT"), + THIRTY_FIVE_THOUSAND_SQ_FT("THIRTY_FIVE_THOUSAND_SQ_FT"), + FORTY_THOUSAND_SQ_FT("FORTY_THOUSAND_SQ_FT"), + FORTY_FIVE_THOUSAND_SQ_FT("FORTY_FIVE_THOUSAND_SQ_FT"), + FIFTY_THOUSAND_SQ_FT("FIFTY_THOUSAND_SQ_FT"), + FIFTY_FIVE_THOUSAND_SQ_FT("FIFTY_FIVE_THOUSAND_SQ_FT"), + SIXTY_THOUSAND_SQ_FT("SIXTY_THOUSAND_SQ_FT"), + SIXTY_FIVE_THOUSAND_SQ_FT("SIXTY_FIVE_THOUSAND_SQ_FT"), + SEVENTY_THOUSAND_SQ_FT("SEVENTY_THOUSAND_SQ_FT"), + SEVENTY_FIVE_THOUSAND_SQ_FT("SEVENTY_FIVE_THOUSAND_SQ_FT"), + EIGHTY_THOUSAND_SQ_FT("EIGHTY_THOUSAND_SQ_FT"), + EIGHTY_FIVE_THOUSAND_SQ_FT("EIGHTY_FIVE_THOUSAND_SQ_FT"), + NINETY_THOUSAND_SQ_FT("NINETY_THOUSAND_SQ_FT"), + ONE_HUNDRED_THOUSAND_SQ_FT("ONE_HUNDRED_THOUSAND_SQ_FT"), + GREATER_THAN_ONE_HUNDRED_THOUSAND_SQ_FT("GREATER_THAN_ONE_HUNDRED_THOUSAND_SQ_FT"), + LESS_THAN_ONE_HUNDRED_SQ_MTR("LESS_THAN_ONE_HUNDRED_SQ_MTR"), + ONE_HUNDRED_SQ_MTR("ONE_HUNDRED_SQ_MTR"), + TWO_HUNDRED_SQ_MTR("TWO_HUNDRED_SQ_MTR"), + THREE_HUNDRED_SQ_MTR("THREE_HUNDRED_SQ_MTR"), + FOUR_HUNDRED_SQ_MTR("FOUR_HUNDRED_SQ_MTR"), + FIVE_HUNDRED_SQ_MTR("FIVE_HUNDRED_SQ_MTR"), + SIX_HUNDRED_SQ_MTR("SIX_HUNDRED_SQ_MTR"), + SEVEN_HUNDRED_SQ_MTR("SEVEN_HUNDRED_SQ_MTR"), + EIGHT_HUNDRED_SQ_MTR("EIGHT_HUNDRED_SQ_MTR"), + NINE_HUNDRED_SQ_MTR("NINE_HUNDRED_SQ_MTR"), + ONE_THOUSAND_SQ_MTR("ONE_THOUSAND_SQ_MTR"), + ELEVEN_HUNDRED_SQ_MTR("ELEVEN_HUNDRED_SQ_MTR"), + TWELVE_HUNDRED_SQ_MTR("TWELVE_HUNDRED_SQ_MTR"), + THIRTEEN_HUNDRED_SQ_MTR("THIRTEEN_HUNDRED_SQ_MTR"), + FOURTEEN_HUNDRED_SQ_MTR("FOURTEEN_HUNDRED_SQ_MTR"), + FIFTEEN_HUNDRED_SQ_MTR("FIFTEEN_HUNDRED_SQ_MTR"), + SIXTEEN_HUNDRED_SQ_MTR("SIXTEEN_HUNDRED_SQ_MTR"), + SEVENTEEN_HUNDRED_SQ_MTR("SEVENTEEN_HUNDRED_SQ_MTR"), + EIGHTEEN_HUNDRED_SQ_MTR("EIGHTEEN_HUNDRED_SQ_MTR"), + NINETEEN_HUNDRED_SQ_MTR("NINETEEN_HUNDRED_SQ_MTR"), + TWO_THOUSAND_SQ_MTR("TWO_THOUSAND_SQ_MTR"), + TWENTY_FIVE_HUNDRED_SQ_MTR("TWENTY_FIVE_HUNDRED_SQ_MTR"), + THREE_THOUSAND_SQ_MTR("THREE_THOUSAND_SQ_MTR"), + THIRTY_FIVE_HUNDRED_SQ_MTR("THIRTY_FIVE_HUNDRED_SQ_MTR"), + FOUR_THOUSAND_SQ_MTR("FOUR_THOUSAND_SQ_MTR"), + FORTY_FIVE_HUNDRED_SQ_MTR("FORTY_FIVE_HUNDRED_SQ_MTR"), + FIVE_THOUSAND_SQ_MTR("FIVE_THOUSAND_SQ_MTR"), + FIFTY_FIVE_HUNDRED_SQ_MTR("FIFTY_FIVE_HUNDRED_SQ_MTR"), + SIX_THOUSAND_SQ_MTR("SIX_THOUSAND_SQ_MTR"), + SIXTY_FIVE_HUNDRED_SQ_MTR("SIXTY_FIVE_HUNDRED_SQ_MTR"), + SEVEN_THOUSAND_SQ_MTR("SEVEN_THOUSAND_SQ_MTR"), + SEVENTY_FIVE_HUNDRED_SQ_MTR("SEVENTY_FIVE_HUNDRED_SQ_MTR"), + EIGHT_THOUSAND_SQ_MTR("EIGHT_THOUSAND_SQ_MTR"), + EIGHTY_FIVE_HUNDRED_SQ_MTR("EIGHTY_FIVE_HUNDRED_SQ_MTR"), + NINE_THOUSAND_SQ_MTR("NINE_THOUSAND_SQ_MTR"), + TEN_THOUSAND_SQ_MTR("TEN_THOUSAND_SQ_MTR"), + GREATER_THAN_TEN_THOUSAND_SQ_MTR("GREATER_THAN_TEN_THOUSAND_SQ_MTR"); + + @JsonValue + private final String value; + + SpaceArea(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (SpaceArea o : SpaceArea.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/SpaceAreaJson0.java b/packages/java/src/main/java/com/cvent/models/components/SpaceAreaJson0.java deleted file mode 100644 index d1870dc1e..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/SpaceAreaJson0.java +++ /dev/null @@ -1,111 +0,0 @@ -/* - * 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; - -/** - * SpaceAreaJson0 - * - *

Space area divisons. - */ -public enum SpaceAreaJson0 { - LESS_THAN_ONE_THOUSAND_SQ_FT("LESS_THAN_ONE_THOUSAND_SQ_FT"), - ONE_THOUSAND_SQ_FT("ONE_THOUSAND_SQ_FT"), - TWO_THOUSAND_SQ_FT("TWO_THOUSAND_SQ_FT"), - THREE_THOUSAND_SQ_FT("THREE_THOUSAND_SQ_FT"), - FOUR_THOUSAND_SQ_FT("FOUR_THOUSAND_SQ_FT"), - FIVE_THOUSAND_SQ_FT("FIVE_THOUSAND_SQ_FT"), - SIX_THOUSAND_SQ_FT("SIX_THOUSAND_SQ_FT"), - SEVEN_THOUSAND_SQ_FT("SEVEN_THOUSAND_SQ_FT"), - EIGHT_THOUSAND_SQ_FT("EIGHT_THOUSAND_SQ_FT"), - NINE_THOUSAND_SQ_FT("NINE_THOUSAND_SQ_FT"), - TEN_THOUSAND_SQ_FT("TEN_THOUSAND_SQ_FT"), - ELEVEN_THOUSAND_SQ_FT("ELEVEN_THOUSAND_SQ_FT"), - TWELVE_THOUSAND_SQ_FT("TWELVE_THOUSAND_SQ_FT"), - THIRTEEN_THOUSAND_SQ_FT("THIRTEEN_THOUSAND_SQ_FT"), - FOURTEEN_THOUSAND_SQ_FT("FOURTEEN_THOUSAND_SQ_FT"), - FIFTEEN_THOUSAND_SQ_FT("FIFTEEN_THOUSAND_SQ_FT"), - SIXTEEN_THOUSAND_SQ_FT("SIXTEEN_THOUSAND_SQ_FT"), - SEVENTEEN_THOUSAND_SQ_FT("SEVENTEEN_THOUSAND_SQ_FT"), - EIGHTEEN_THOUSAND_SQ_FT("EIGHTEEN_THOUSAND_SQ_FT"), - NINETEEN_THOUSAND_SQ_FT("NINETEEN_THOUSAND_SQ_FT"), - TWENTY_THOUSAND_SQ_FT("TWENTY_THOUSAND_SQ_FT"), - TWENTY_FIVE_THOUSAND_SQ_FT("TWENTY_FIVE_THOUSAND_SQ_FT"), - THIRTY_THOUSAND_SQ_FT("THIRTY_THOUSAND_SQ_FT"), - THIRTY_FIVE_THOUSAND_SQ_FT("THIRTY_FIVE_THOUSAND_SQ_FT"), - FORTY_THOUSAND_SQ_FT("FORTY_THOUSAND_SQ_FT"), - FORTY_FIVE_THOUSAND_SQ_FT("FORTY_FIVE_THOUSAND_SQ_FT"), - FIFTY_THOUSAND_SQ_FT("FIFTY_THOUSAND_SQ_FT"), - FIFTY_FIVE_THOUSAND_SQ_FT("FIFTY_FIVE_THOUSAND_SQ_FT"), - SIXTY_THOUSAND_SQ_FT("SIXTY_THOUSAND_SQ_FT"), - SIXTY_FIVE_THOUSAND_SQ_FT("SIXTY_FIVE_THOUSAND_SQ_FT"), - SEVENTY_THOUSAND_SQ_FT("SEVENTY_THOUSAND_SQ_FT"), - SEVENTY_FIVE_THOUSAND_SQ_FT("SEVENTY_FIVE_THOUSAND_SQ_FT"), - EIGHTY_THOUSAND_SQ_FT("EIGHTY_THOUSAND_SQ_FT"), - EIGHTY_FIVE_THOUSAND_SQ_FT("EIGHTY_FIVE_THOUSAND_SQ_FT"), - NINETY_THOUSAND_SQ_FT("NINETY_THOUSAND_SQ_FT"), - ONE_HUNDRED_THOUSAND_SQ_FT("ONE_HUNDRED_THOUSAND_SQ_FT"), - GREATER_THAN_ONE_HUNDRED_THOUSAND_SQ_FT("GREATER_THAN_ONE_HUNDRED_THOUSAND_SQ_FT"), - LESS_THAN_ONE_HUNDRED_SQ_MTR("LESS_THAN_ONE_HUNDRED_SQ_MTR"), - ONE_HUNDRED_SQ_MTR("ONE_HUNDRED_SQ_MTR"), - TWO_HUNDRED_SQ_MTR("TWO_HUNDRED_SQ_MTR"), - THREE_HUNDRED_SQ_MTR("THREE_HUNDRED_SQ_MTR"), - FOUR_HUNDRED_SQ_MTR("FOUR_HUNDRED_SQ_MTR"), - FIVE_HUNDRED_SQ_MTR("FIVE_HUNDRED_SQ_MTR"), - SIX_HUNDRED_SQ_MTR("SIX_HUNDRED_SQ_MTR"), - SEVEN_HUNDRED_SQ_MTR("SEVEN_HUNDRED_SQ_MTR"), - EIGHT_HUNDRED_SQ_MTR("EIGHT_HUNDRED_SQ_MTR"), - NINE_HUNDRED_SQ_MTR("NINE_HUNDRED_SQ_MTR"), - ONE_THOUSAND_SQ_MTR("ONE_THOUSAND_SQ_MTR"), - ELEVEN_HUNDRED_SQ_MTR("ELEVEN_HUNDRED_SQ_MTR"), - TWELVE_HUNDRED_SQ_MTR("TWELVE_HUNDRED_SQ_MTR"), - THIRTEEN_HUNDRED_SQ_MTR("THIRTEEN_HUNDRED_SQ_MTR"), - FOURTEEN_HUNDRED_SQ_MTR("FOURTEEN_HUNDRED_SQ_MTR"), - FIFTEEN_HUNDRED_SQ_MTR("FIFTEEN_HUNDRED_SQ_MTR"), - SIXTEEN_HUNDRED_SQ_MTR("SIXTEEN_HUNDRED_SQ_MTR"), - SEVENTEEN_HUNDRED_SQ_MTR("SEVENTEEN_HUNDRED_SQ_MTR"), - EIGHTEEN_HUNDRED_SQ_MTR("EIGHTEEN_HUNDRED_SQ_MTR"), - NINETEEN_HUNDRED_SQ_MTR("NINETEEN_HUNDRED_SQ_MTR"), - TWO_THOUSAND_SQ_MTR("TWO_THOUSAND_SQ_MTR"), - TWENTY_FIVE_HUNDRED_SQ_MTR("TWENTY_FIVE_HUNDRED_SQ_MTR"), - THREE_THOUSAND_SQ_MTR("THREE_THOUSAND_SQ_MTR"), - THIRTY_FIVE_HUNDRED_SQ_MTR("THIRTY_FIVE_HUNDRED_SQ_MTR"), - FOUR_THOUSAND_SQ_MTR("FOUR_THOUSAND_SQ_MTR"), - FORTY_FIVE_HUNDRED_SQ_MTR("FORTY_FIVE_HUNDRED_SQ_MTR"), - FIVE_THOUSAND_SQ_MTR("FIVE_THOUSAND_SQ_MTR"), - FIFTY_FIVE_HUNDRED_SQ_MTR("FIFTY_FIVE_HUNDRED_SQ_MTR"), - SIX_THOUSAND_SQ_MTR("SIX_THOUSAND_SQ_MTR"), - SIXTY_FIVE_HUNDRED_SQ_MTR("SIXTY_FIVE_HUNDRED_SQ_MTR"), - SEVEN_THOUSAND_SQ_MTR("SEVEN_THOUSAND_SQ_MTR"), - SEVENTY_FIVE_HUNDRED_SQ_MTR("SEVENTY_FIVE_HUNDRED_SQ_MTR"), - EIGHT_THOUSAND_SQ_MTR("EIGHT_THOUSAND_SQ_MTR"), - EIGHTY_FIVE_HUNDRED_SQ_MTR("EIGHTY_FIVE_HUNDRED_SQ_MTR"), - NINE_THOUSAND_SQ_MTR("NINE_THOUSAND_SQ_MTR"), - TEN_THOUSAND_SQ_MTR("TEN_THOUSAND_SQ_MTR"), - GREATER_THAN_TEN_THOUSAND_SQ_MTR("GREATER_THAN_TEN_THOUSAND_SQ_MTR"); - - @JsonValue - private final String value; - - SpaceAreaJson0(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (SpaceAreaJson0 o : SpaceAreaJson0.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/Speaker.java b/packages/java/src/main/java/com/cvent/models/components/Speaker.java index a7c8cf965..a9042c69b 100644 --- a/packages/java/src/main/java/com/cvent/models/components/Speaker.java +++ b/packages/java/src/main/java/com/cvent/models/components/Speaker.java @@ -89,14 +89,14 @@ public class Speaker { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("category") - private CategoryIdNameJson category; + private SpeakerCategory1 category; /** * Collection of social media links for the contact. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("links") - private ContactLinksJsonInput links; + private ContactLinksInput links; /** * Indicates if a given speaker should be displayed on Event Website @@ -148,8 +148,8 @@ public Speaker( @JsonProperty("designation") @Nullable String designation, @JsonProperty("company") @Nullable String company, @JsonProperty("title") @Nullable String title, - @JsonProperty("category") @Nullable CategoryIdNameJson category, - @JsonProperty("links") @Nullable ContactLinksJsonInput links, + @JsonProperty("category") @Nullable SpeakerCategory1 category, + @JsonProperty("links") @Nullable ContactLinksInput links, @JsonProperty("visibility") @Nullable Boolean visibility, @JsonProperty("biography") @Nullable String biography, @JsonProperty("internalNote") @Nullable String internalNote, @@ -245,14 +245,14 @@ public Optional title() { /** * A defined speaker category. */ - public Optional category() { + public Optional category() { return Optional.ofNullable(this.category); } /** * Collection of social media links for the contact. */ - public Optional links() { + public Optional links() { return Optional.ofNullable(this.links); } @@ -374,7 +374,7 @@ public Speaker withTitle(@Nullable String title) { /** * A defined speaker category. */ - public Speaker withCategory(@Nullable CategoryIdNameJson category) { + public Speaker withCategory(@Nullable SpeakerCategory1 category) { this.category = category; return this; } @@ -382,7 +382,7 @@ public Speaker withCategory(@Nullable CategoryIdNameJson category) { /** * Collection of social media links for the contact. */ - public Speaker withLinks(@Nullable ContactLinksJsonInput links) { + public Speaker withLinks(@Nullable ContactLinksInput links) { this.links = links; return this; } @@ -538,9 +538,9 @@ public static final class Builder { private String title; - private CategoryIdNameJson category; + private SpeakerCategory1 category; - private ContactLinksJsonInput links; + private ContactLinksInput links; private Boolean visibility; @@ -631,7 +631,7 @@ public Builder title(@Nullable String title) { /** * A defined speaker category. */ - public Builder category(@Nullable CategoryIdNameJson category) { + public Builder category(@Nullable SpeakerCategory1 category) { this.category = category; return this; } @@ -639,7 +639,7 @@ public Builder category(@Nullable CategoryIdNameJson category) { /** * Collection of social media links for the contact. */ - public Builder links(@Nullable ContactLinksJsonInput links) { + public Builder links(@Nullable ContactLinksInput links) { this.links = links; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/SpeakerCategory.java b/packages/java/src/main/java/com/cvent/models/components/SpeakerCategory.java deleted file mode 100644 index 947b6c728..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/SpeakerCategory.java +++ /dev/null @@ -1,100 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * SpeakerCategory - * - *

A speaker category. - */ -public class SpeakerCategory { - /** - * The name of the speaker category - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - @JsonCreator - public SpeakerCategory(@JsonProperty("name") @Nullable String name) { - this.name = name; - } - - public SpeakerCategory() { - this(null); - } - - /** - * The name of the speaker category - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The name of the speaker category - */ - public SpeakerCategory withName(@Nullable String name) { - this.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; - } - SpeakerCategory other = (SpeakerCategory) o; - return Utils.enhancedDeepEquals(this.name, other.name); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(name); - } - - @Override - public String toString() { - return Utils.toString(SpeakerCategory.class, "name", name); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String name; - - private Builder() { - // force use of static builder() method - } - - /** - * The name of the speaker category - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - public SpeakerCategory build() { - return new SpeakerCategory(name); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/SpeakerCategory1.java b/packages/java/src/main/java/com/cvent/models/components/SpeakerCategory1.java new file mode 100644 index 000000000..5569b1926 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/SpeakerCategory1.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.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.Optional; + +/** + * SpeakerCategory1 + * + *

A defined speaker category. + */ +public class SpeakerCategory1 { + /** + * A string that has to be a format matching the industry standard uuid + */ + @JsonProperty("id") + private String id; + + /** + * The name of the speaker category + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + @JsonCreator + public SpeakerCategory1(@JsonProperty("id") @Nonnull String id, @JsonProperty("name") @Nullable String name) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.name = name; + } + + public SpeakerCategory1(@Nonnull String id) { + this(id, null); + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public String id() { + return this.id; + } + + /** + * The name of the speaker category + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public SpeakerCategory1 withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The name of the speaker category + */ + public SpeakerCategory1 withName(@Nullable String name) { + this.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; + } + SpeakerCategory1 other = (SpeakerCategory1) o; + return Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.name, other.name); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, name); + } + + @Override + public String toString() { + return Utils.toString(SpeakerCategory1.class, "id", id, "name", name); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String name; + + private Builder() { + // force use of static builder() method + } + + /** + * A string that has to be a format matching the industry standard uuid + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The name of the speaker category + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + public SpeakerCategory1 build() { + return new SpeakerCategory1(id, name); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/SpeakerCategory2.java b/packages/java/src/main/java/com/cvent/models/components/SpeakerCategory2.java new file mode 100644 index 000000000..65defdef7 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/SpeakerCategory2.java @@ -0,0 +1,100 @@ +/* + * 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; + +/** + * SpeakerCategory2 + * + *

A speaker category. + */ +public class SpeakerCategory2 { + /** + * The name of the speaker category + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + @JsonCreator + public SpeakerCategory2(@JsonProperty("name") @Nullable String name) { + this.name = name; + } + + public SpeakerCategory2() { + this(null); + } + + /** + * The name of the speaker category + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The name of the speaker category + */ + public SpeakerCategory2 withName(@Nullable String name) { + this.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; + } + SpeakerCategory2 other = (SpeakerCategory2) o; + return Utils.enhancedDeepEquals(this.name, other.name); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(name); + } + + @Override + public String toString() { + return Utils.toString(SpeakerCategory2.class, "name", name); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String name; + + private Builder() { + // force use of static builder() method + } + + /** + * The name of the speaker category + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + public SpeakerCategory2 build() { + return new SpeakerCategory2(name); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/SpeakerCategoryPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/SpeakerCategoryPaginatedResponse.java index 297b34e19..570a45a04 100644 --- a/packages/java/src/main/java/com/cvent/models/components/SpeakerCategoryPaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/SpeakerCategoryPaginatedResponse.java @@ -23,7 +23,7 @@ public class SpeakerCategoryPaginatedResponse { * Represents pagination information for a collection of resources. */ @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * Collection of speaker categories. @@ -33,7 +33,7 @@ public class SpeakerCategoryPaginatedResponse { @JsonCreator public SpeakerCategoryPaginatedResponse( - @JsonProperty("paging") @Nonnull PagingJson paging, + @JsonProperty("paging") @Nonnull Paging paging, @JsonProperty("data") @Nonnull List data) { this.paging = Optional.ofNullable(paging).orElseThrow(() -> new IllegalArgumentException("paging cannot be null")); @@ -43,7 +43,7 @@ public SpeakerCategoryPaginatedResponse( /** * Represents pagination information for a collection of resources. */ - public PagingJson paging() { + public Paging paging() { return this.paging; } @@ -61,7 +61,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public SpeakerCategoryPaginatedResponse withPaging(@Nonnull PagingJson paging) { + public SpeakerCategoryPaginatedResponse withPaging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } @@ -99,7 +99,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; private List data; @@ -110,7 +110,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nonnull PagingJson paging) { + public Builder paging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/SpeakerDocumentPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/SpeakerDocumentPaginatedResponse.java index dc3207026..3cd9c5f36 100644 --- a/packages/java/src/main/java/com/cvent/models/components/SpeakerDocumentPaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/SpeakerDocumentPaginatedResponse.java @@ -23,7 +23,7 @@ public class SpeakerDocumentPaginatedResponse { * Represents pagination information for a collection of resources. */ @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * Collection of a speaker's documents. @@ -33,7 +33,7 @@ public class SpeakerDocumentPaginatedResponse { @JsonCreator public SpeakerDocumentPaginatedResponse( - @JsonProperty("paging") @Nonnull PagingJson paging, @JsonProperty("data") @Nonnull List data) { + @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")); @@ -42,7 +42,7 @@ public SpeakerDocumentPaginatedResponse( /** * Represents pagination information for a collection of resources. */ - public PagingJson paging() { + public Paging paging() { return this.paging; } @@ -60,7 +60,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public SpeakerDocumentPaginatedResponse withPaging(@Nonnull PagingJson paging) { + public SpeakerDocumentPaginatedResponse withPaging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } @@ -98,7 +98,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; private List data; @@ -109,7 +109,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nonnull PagingJson paging) { + public Builder paging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/SpeakerLite1.java b/packages/java/src/main/java/com/cvent/models/components/SpeakerLite1.java new file mode 100644 index 000000000..0b9ff57b6 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/SpeakerLite1.java @@ -0,0 +1,93 @@ +/* + * 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; + +/** + * SpeakerLite1 + * + *

The unique identifier of a speaker. + */ +public class SpeakerLite1 { + /** + * The unique identifier for a speaker. + */ + @JsonProperty("id") + private String id; + + @JsonCreator + public SpeakerLite1(@JsonProperty("id") @Nonnull String id) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + } + + /** + * The unique identifier for a speaker. + */ + public String id() { + return this.id; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique identifier for a speaker. + */ + public SpeakerLite1 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; + } + SpeakerLite1 other = (SpeakerLite1) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(SpeakerLite1.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique identifier for a speaker. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + public SpeakerLite1 build() { + return new SpeakerLite1(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/SpeakerLiteJson.java b/packages/java/src/main/java/com/cvent/models/components/SpeakerLiteJson.java deleted file mode 100644 index 60c15e062..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/SpeakerLiteJson.java +++ /dev/null @@ -1,93 +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.Optional; - -/** - * SpeakerLiteJson - * - *

The unique identifier of a speaker. - */ -public class SpeakerLiteJson { - /** - * The unique identifier for a speaker. - */ - @JsonProperty("id") - private String id; - - @JsonCreator - public SpeakerLiteJson(@JsonProperty("id") @Nonnull String id) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - } - - /** - * The unique identifier for a speaker. - */ - public String id() { - return this.id; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique identifier for a speaker. - */ - public SpeakerLiteJson 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; - } - SpeakerLiteJson other = (SpeakerLiteJson) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(SpeakerLiteJson.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique identifier for a speaker. - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - public SpeakerLiteJson build() { - return new SpeakerLiteJson(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/SpeakerPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/SpeakerPaginatedResponse.java index 22ccbe0f8..0cfb4fb5c 100644 --- a/packages/java/src/main/java/com/cvent/models/components/SpeakerPaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/SpeakerPaginatedResponse.java @@ -23,7 +23,7 @@ public class SpeakerPaginatedResponse { * Represents pagination information for a collection of resources. */ @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * Collection of speakers. @@ -33,8 +33,7 @@ public class SpeakerPaginatedResponse { @JsonCreator public SpeakerPaginatedResponse( - @JsonProperty("paging") @Nonnull PagingJson paging, - @JsonProperty("data") @Nonnull List data) { + @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")); @@ -43,7 +42,7 @@ public SpeakerPaginatedResponse( /** * Represents pagination information for a collection of resources. */ - public PagingJson paging() { + public Paging paging() { return this.paging; } @@ -61,7 +60,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public SpeakerPaginatedResponse withPaging(@Nonnull PagingJson paging) { + public SpeakerPaginatedResponse withPaging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } @@ -99,7 +98,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; private List data; @@ -110,7 +109,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nonnull PagingJson paging) { + public Builder paging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/SpeakerProgramItem.java b/packages/java/src/main/java/com/cvent/models/components/SpeakerProgramItem.java index 132f918bd..4843e280c 100644 --- a/packages/java/src/main/java/com/cvent/models/components/SpeakerProgramItem.java +++ b/packages/java/src/main/java/com/cvent/models/components/SpeakerProgramItem.java @@ -60,25 +60,25 @@ public class SpeakerProgramItem { * The unique identifier of an event. */ @JsonProperty("event") - private EventLiteJson event; + private EventLite event; /** * The unique identifier of a session. */ @JsonProperty("session") - private SessionLiteJson session; + private SessionLite session; /** * The unique identifier of a speaker. */ @JsonProperty("speaker") - private SpeakerLiteJson speaker; + private SpeakerLite speaker; /** * The unique identifier of a program item. */ @JsonProperty("programItem") - private ProgramItemLiteJson programItem; + private ProgramItemLite programItem; @JsonCreator public SpeakerProgramItem( @@ -87,10 +87,10 @@ public SpeakerProgramItem( @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, @JsonProperty("id") @Nullable String id, - @JsonProperty("event") @Nonnull EventLiteJson event, - @JsonProperty("session") @Nonnull SessionLiteJson session, - @JsonProperty("speaker") @Nonnull SpeakerLiteJson speaker, - @JsonProperty("programItem") @Nonnull ProgramItemLiteJson programItem) { + @JsonProperty("event") @Nonnull EventLite event, + @JsonProperty("session") @Nonnull SessionLite session, + @JsonProperty("speaker") @Nonnull SpeakerLite speaker, + @JsonProperty("programItem") @Nonnull ProgramItemLite programItem) { this.created = created; this.createdBy = createdBy; this.lastModified = lastModified; @@ -106,10 +106,10 @@ public SpeakerProgramItem( } public SpeakerProgramItem( - @Nonnull EventLiteJson event, - @Nonnull SessionLiteJson session, - @Nonnull SpeakerLiteJson speaker, - @Nonnull ProgramItemLiteJson programItem) { + @Nonnull EventLite event, + @Nonnull SessionLite session, + @Nonnull SpeakerLite speaker, + @Nonnull ProgramItemLite programItem) { this(null, null, null, null, null, event, session, speaker, programItem); } @@ -151,28 +151,28 @@ public Optional id() { /** * The unique identifier of an event. */ - public EventLiteJson event() { + public EventLite event() { return this.event; } /** * The unique identifier of a session. */ - public SessionLiteJson session() { + public SessionLite session() { return this.session; } /** * The unique identifier of a speaker. */ - public SpeakerLiteJson speaker() { + public SpeakerLite speaker() { return this.speaker; } /** * The unique identifier of a program item. */ - public ProgramItemLiteJson programItem() { + public ProgramItemLite programItem() { return this.programItem; } @@ -223,7 +223,7 @@ public SpeakerProgramItem withId(@Nullable String id) { /** * The unique identifier of an event. */ - public SpeakerProgramItem withEvent(@Nonnull EventLiteJson event) { + public SpeakerProgramItem withEvent(@Nonnull EventLite event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -231,7 +231,7 @@ public SpeakerProgramItem withEvent(@Nonnull EventLiteJson event) { /** * The unique identifier of a session. */ - public SpeakerProgramItem withSession(@Nonnull SessionLiteJson session) { + public SpeakerProgramItem withSession(@Nonnull SessionLite session) { this.session = Utils.checkNotNull(session, "session"); return this; } @@ -239,7 +239,7 @@ public SpeakerProgramItem withSession(@Nonnull SessionLiteJson session) { /** * The unique identifier of a speaker. */ - public SpeakerProgramItem withSpeaker(@Nonnull SpeakerLiteJson speaker) { + public SpeakerProgramItem withSpeaker(@Nonnull SpeakerLite speaker) { this.speaker = Utils.checkNotNull(speaker, "speaker"); return this; } @@ -247,7 +247,7 @@ public SpeakerProgramItem withSpeaker(@Nonnull SpeakerLiteJson speaker) { /** * The unique identifier of a program item. */ - public SpeakerProgramItem withProgramItem(@Nonnull ProgramItemLiteJson programItem) { + public SpeakerProgramItem withProgramItem(@Nonnull ProgramItemLite programItem) { this.programItem = Utils.checkNotNull(programItem, "programItem"); return this; } @@ -315,13 +315,13 @@ public static final class Builder { private String id; - private EventLiteJson event; + private EventLite event; - private SessionLiteJson session; + private SessionLite session; - private SpeakerLiteJson speaker; + private SpeakerLite speaker; - private ProgramItemLiteJson programItem; + private ProgramItemLite programItem; private Builder() { // force use of static builder() method @@ -370,7 +370,7 @@ public Builder id(@Nullable String id) { /** * The unique identifier of an event. */ - public Builder event(@Nonnull EventLiteJson event) { + public Builder event(@Nonnull EventLite event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -378,7 +378,7 @@ public Builder event(@Nonnull EventLiteJson event) { /** * The unique identifier of a session. */ - public Builder session(@Nonnull SessionLiteJson session) { + public Builder session(@Nonnull SessionLite session) { this.session = Utils.checkNotNull(session, "session"); return this; } @@ -386,7 +386,7 @@ public Builder session(@Nonnull SessionLiteJson session) { /** * The unique identifier of a speaker. */ - public Builder speaker(@Nonnull SpeakerLiteJson speaker) { + public Builder speaker(@Nonnull SpeakerLite speaker) { this.speaker = Utils.checkNotNull(speaker, "speaker"); return this; } @@ -394,7 +394,7 @@ public Builder speaker(@Nonnull SpeakerLiteJson speaker) { /** * The unique identifier of a program item. */ - public Builder programItem(@Nonnull ProgramItemLiteJson programItem) { + public Builder programItem(@Nonnull ProgramItemLite programItem) { this.programItem = Utils.checkNotNull(programItem, "programItem"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/SpeakerSession.java b/packages/java/src/main/java/com/cvent/models/components/SpeakerSession.java index c84960339..958965a38 100644 --- a/packages/java/src/main/java/com/cvent/models/components/SpeakerSession.java +++ b/packages/java/src/main/java/com/cvent/models/components/SpeakerSession.java @@ -31,7 +31,7 @@ public class SpeakerSession { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("speaker") - private SpeakerLite speaker; + private SpeakerLite1 speaker; /** * A Named object @@ -43,7 +43,7 @@ public class SpeakerSession { @JsonCreator public SpeakerSession( @JsonProperty("id") @Nullable String id, - @JsonProperty("speaker") @Nullable SpeakerLite speaker, + @JsonProperty("speaker") @Nullable SpeakerLite1 speaker, @JsonProperty("category") @Nullable NamedObject category) { this.id = id; this.speaker = speaker; @@ -64,7 +64,7 @@ public Optional id() { /** * The unique identifier of a speaker. */ - public Optional speaker() { + public Optional speaker() { return Optional.ofNullable(this.speaker); } @@ -90,7 +90,7 @@ public SpeakerSession withId(@Nullable String id) { /** * The unique identifier of a speaker. */ - public SpeakerSession withSpeaker(@Nullable SpeakerLite speaker) { + public SpeakerSession withSpeaker(@Nullable SpeakerLite1 speaker) { this.speaker = speaker; return this; } @@ -132,7 +132,7 @@ public static final class Builder { private String id; - private SpeakerLite speaker; + private SpeakerLite1 speaker; private NamedObject category; @@ -151,7 +151,7 @@ public Builder id(@Nullable String id) { /** * The unique identifier of a speaker. */ - public Builder speaker(@Nullable SpeakerLite speaker) { + public Builder speaker(@Nullable SpeakerLite1 speaker) { this.speaker = speaker; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/StakeholderJson.java b/packages/java/src/main/java/com/cvent/models/components/StakeholderJson.java index f8eefef12..713bc6411 100644 --- a/packages/java/src/main/java/com/cvent/models/components/StakeholderJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/StakeholderJson.java @@ -243,7 +243,7 @@ public class StakeholderJson { @JsonInclude(Include.NON_ABSENT) @JsonProperty("customFields") @Deprecated - private List customFields; + private List customFields; /** * This is an ID for the contact in an external system. NOTE: This value is expected to be unique for @@ -322,7 +322,7 @@ public StakeholderJson( @JsonProperty("primaryAddressType") @Nullable StakeholderJsonAddressType primaryAddressType, @JsonProperty("homeAddress") @Nullable StakeholderJsonHomeAddressAddress homeAddress, @JsonProperty("homeFax") @Nullable String homeFax, - @JsonProperty("customFields") @Nullable List customFields, + @JsonProperty("customFields") @Nullable List customFields, @JsonProperty("sourceId") @Nullable String sourceId, @JsonProperty("created") @Nullable OffsetDateTime created, @JsonProperty("createdBy") @Nullable String createdBy, @@ -610,7 +610,7 @@ public Optional homeFax() { * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ @Deprecated - public Optional> customFields() { + public Optional> customFields() { return Optional.ofNullable(this.customFields); } @@ -909,7 +909,7 @@ public StakeholderJson withHomeFax(@Nullable String homeFax) { * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ @Deprecated - public StakeholderJson withCustomFields(@Nullable List customFields) { + public StakeholderJson withCustomFields(@Nullable List customFields) { this.customFields = customFields; return this; } @@ -1180,7 +1180,7 @@ public static final class Builder { private String homeFax; @Deprecated - private List customFields; + private List customFields; @Deprecated private String sourceId; @@ -1441,7 +1441,7 @@ public Builder homeFax(@Nullable String homeFax) { * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ @Deprecated - public Builder customFields(@Nullable List customFields) { + public Builder customFields(@Nullable List customFields) { this.customFields = customFields; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/StandardQuestion.java b/packages/java/src/main/java/com/cvent/models/components/StandardQuestion.java new file mode 100644 index 000000000..b6faf9a37 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/StandardQuestion.java @@ -0,0 +1,101 @@ +/* + * 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; + +/** + * StandardQuestion + * + *

Standard questions are selected from a predefined list of Cvent questions that can be used in an + * RFP. + */ +public class StandardQuestion { + /** + * Unique identifier for standard question. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public StandardQuestion(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public StandardQuestion() { + this(null); + } + + /** + * Unique identifier for standard question. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique identifier for standard question. + */ + public StandardQuestion withId(@Nullable String id) { + this.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; + } + StandardQuestion other = (StandardQuestion) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(StandardQuestion.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique identifier for standard question. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public StandardQuestion build() { + return new StandardQuestion(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/StandardQuestionJson.java b/packages/java/src/main/java/com/cvent/models/components/StandardQuestionJson.java deleted file mode 100644 index 0b3548031..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/StandardQuestionJson.java +++ /dev/null @@ -1,101 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * StandardQuestionJson - * - *

Standard questions are selected from a predefined list of Cvent questions that can be used in an - * RFP. - */ -public class StandardQuestionJson { - /** - * Unique identifier for standard question. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public StandardQuestionJson(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public StandardQuestionJson() { - this(null); - } - - /** - * Unique identifier for standard question. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Unique identifier for standard question. - */ - public StandardQuestionJson withId(@Nullable String id) { - this.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; - } - StandardQuestionJson other = (StandardQuestionJson) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(StandardQuestionJson.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * Unique identifier for standard question. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public StandardQuestionJson build() { - return new StandardQuestionJson(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/StandardSurveyJson.java b/packages/java/src/main/java/com/cvent/models/components/StandardSurveyJson.java index 81748ef4f..ef2c4a215 100644 --- a/packages/java/src/main/java/com/cvent/models/components/StandardSurveyJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/StandardSurveyJson.java @@ -125,7 +125,7 @@ public class StandardSurveyJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("customFields") - private List customFields; + private List customFields; @JsonCreator public StandardSurveyJson( @@ -143,7 +143,7 @@ public StandardSurveyJson( @JsonProperty("responseCount") @Nullable Long responseCount, @JsonProperty("status") @Nullable SurveyStatusJson status, @JsonProperty("archiveAfter") @Nullable OffsetDateTime archiveAfter, - @JsonProperty("customFields") @Nullable List customFields) { + @JsonProperty("customFields") @Nullable List customFields) { this.created = created; this.createdBy = createdBy; this.lastModified = lastModified; @@ -266,7 +266,7 @@ public Optional archiveAfter() { /** * Collection of survey custom fields. */ - public Optional> customFields() { + public Optional> customFields() { return Optional.ofNullable(this.customFields); } @@ -389,7 +389,7 @@ public StandardSurveyJson withArchiveAfter(@Nullable OffsetDateTime archiveAfter /** * Collection of survey custom fields. */ - public StandardSurveyJson withCustomFields(@Nullable List customFields) { + public StandardSurveyJson withCustomFields(@Nullable List customFields) { this.customFields = customFields; return this; } @@ -507,7 +507,7 @@ public static final class Builder { private OffsetDateTime archiveAfter; - private List customFields; + private List customFields; private Builder() { // force use of static builder() method @@ -628,7 +628,7 @@ public Builder archiveAfter(@Nullable OffsetDateTime archiveAfter) { /** * Collection of survey custom fields. */ - public Builder customFields(@Nullable List customFields) { + public Builder customFields(@Nullable List customFields) { this.customFields = customFields; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/StandardSurveyQuestionJson.java b/packages/java/src/main/java/com/cvent/models/components/StandardSurveyQuestionJson.java index 5097786db..88664fb8d 100644 --- a/packages/java/src/main/java/com/cvent/models/components/StandardSurveyQuestionJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/StandardSurveyQuestionJson.java @@ -94,42 +94,42 @@ public class StandardSurveyQuestionJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("type") - private QuestionTypeJson2 type; + private QuestionTypeJson1 type; /** * List of choices for the question. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("choices") - private List choices; + private List choices; /** * List of categories for the question. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("categories") - private List categories; + private List categories; /** * List of sub categories for matrix side-by-side questions */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("subCategories") - private List subCategories; + private List subCategories; /** * Contains text of additional choice i.e N/A choice or otherAnswer choice */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("notApplicableAnswer") - private AdditionalChoiceJson1 notApplicableAnswer; + private AdditionalChoiceJson notApplicableAnswer; /** * Contains text of additional choice i.e N/A choice or otherAnswer choice */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("otherAnswer") - private AdditionalChoiceJson1 otherAnswer; + private AdditionalChoiceJson otherAnswer; /** * Text Value of Comments Input box placeholder @@ -150,7 +150,7 @@ public class StandardSurveyQuestionJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("fields") - private List fields; + private List fields; /** * Max possible score @@ -191,15 +191,15 @@ public StandardSurveyQuestionJson( @JsonProperty("shortText") @Nullable String shortText, @JsonProperty("htmlText") @Nullable String htmlText, @JsonProperty("code") @Nullable String code, - @JsonProperty("type") @Nullable QuestionTypeJson2 type, - @JsonProperty("choices") @Nullable List choices, - @JsonProperty("categories") @Nullable List categories, - @JsonProperty("subCategories") @Nullable List subCategories, - @JsonProperty("notApplicableAnswer") @Nullable AdditionalChoiceJson1 notApplicableAnswer, - @JsonProperty("otherAnswer") @Nullable AdditionalChoiceJson1 otherAnswer, + @JsonProperty("type") @Nullable QuestionTypeJson1 type, + @JsonProperty("choices") @Nullable List choices, + @JsonProperty("categories") @Nullable List categories, + @JsonProperty("subCategories") @Nullable List subCategories, + @JsonProperty("notApplicableAnswer") @Nullable AdditionalChoiceJson notApplicableAnswer, + @JsonProperty("otherAnswer") @Nullable AdditionalChoiceJson otherAnswer, @JsonProperty("comments") @Nullable String comments, @JsonProperty("required") @Nullable Boolean required, - @JsonProperty("fields") @Nullable List fields, + @JsonProperty("fields") @Nullable List fields, @JsonProperty("maxScore") @Nullable Double maxScore, @JsonProperty("totalSum") @Nullable Long totalSum, @JsonProperty("survey") @Nullable UuidJson survey, @@ -320,42 +320,42 @@ public Optional code() { /** * Question Type. */ - public Optional type() { + public Optional type() { return Optional.ofNullable(this.type); } /** * List of choices for the question. */ - public Optional> choices() { + public Optional> choices() { return Optional.ofNullable(this.choices); } /** * List of categories for the question. */ - public Optional> categories() { + public Optional> categories() { return Optional.ofNullable(this.categories); } /** * List of sub categories for matrix side-by-side questions */ - public Optional> subCategories() { + public Optional> subCategories() { return Optional.ofNullable(this.subCategories); } /** * Contains text of additional choice i.e N/A choice or otherAnswer choice */ - public Optional notApplicableAnswer() { + public Optional notApplicableAnswer() { return Optional.ofNullable(this.notApplicableAnswer); } /** * Contains text of additional choice i.e N/A choice or otherAnswer choice */ - public Optional otherAnswer() { + public Optional otherAnswer() { return Optional.ofNullable(this.otherAnswer); } @@ -376,7 +376,7 @@ public Optional required() { /** * List of fields for form/matrix questions */ - public Optional> fields() { + public Optional> fields() { return Optional.ofNullable(this.fields); } @@ -487,7 +487,7 @@ public StandardSurveyQuestionJson withCode(@Nullable String code) { /** * Question Type. */ - public StandardSurveyQuestionJson withType(@Nullable QuestionTypeJson2 type) { + public StandardSurveyQuestionJson withType(@Nullable QuestionTypeJson1 type) { this.type = type; return this; } @@ -495,7 +495,7 @@ public StandardSurveyQuestionJson withType(@Nullable QuestionTypeJson2 type) { /** * List of choices for the question. */ - public StandardSurveyQuestionJson withChoices(@Nullable List choices) { + public StandardSurveyQuestionJson withChoices(@Nullable List choices) { this.choices = choices; return this; } @@ -503,7 +503,7 @@ public StandardSurveyQuestionJson withChoices(@Nullable List choice /** * List of categories for the question. */ - public StandardSurveyQuestionJson withCategories(@Nullable List categories) { + public StandardSurveyQuestionJson withCategories(@Nullable List categories) { this.categories = categories; return this; } @@ -511,7 +511,7 @@ public StandardSurveyQuestionJson withCategories(@Nullable List c /** * List of sub categories for matrix side-by-side questions */ - public StandardSurveyQuestionJson withSubCategories(@Nullable List subCategories) { + public StandardSurveyQuestionJson withSubCategories(@Nullable List subCategories) { this.subCategories = subCategories; return this; } @@ -519,7 +519,7 @@ public StandardSurveyQuestionJson withSubCategories(@Nullable List fields) { + public StandardSurveyQuestionJson withFields(@Nullable List fields) { this.fields = fields; return this; } @@ -719,23 +719,23 @@ public static final class Builder { private String code; - private QuestionTypeJson2 type; + private QuestionTypeJson1 type; - private List choices; + private List choices; - private List categories; + private List categories; - private List subCategories; + private List subCategories; - private AdditionalChoiceJson1 notApplicableAnswer; + private AdditionalChoiceJson notApplicableAnswer; - private AdditionalChoiceJson1 otherAnswer; + private AdditionalChoiceJson otherAnswer; private String comments; private Boolean required; - private List fields; + private List fields; private Double maxScore; @@ -824,7 +824,7 @@ public Builder code(@Nullable String code) { /** * Question Type. */ - public Builder type(@Nullable QuestionTypeJson2 type) { + public Builder type(@Nullable QuestionTypeJson1 type) { this.type = type; return this; } @@ -832,7 +832,7 @@ public Builder type(@Nullable QuestionTypeJson2 type) { /** * List of choices for the question. */ - public Builder choices(@Nullable List choices) { + public Builder choices(@Nullable List choices) { this.choices = choices; return this; } @@ -840,7 +840,7 @@ public Builder choices(@Nullable List choices) { /** * List of categories for the question. */ - public Builder categories(@Nullable List categories) { + public Builder categories(@Nullable List categories) { this.categories = categories; return this; } @@ -848,7 +848,7 @@ public Builder categories(@Nullable List categories) { /** * List of sub categories for matrix side-by-side questions */ - public Builder subCategories(@Nullable List subCategories) { + public Builder subCategories(@Nullable List subCategories) { this.subCategories = subCategories; return this; } @@ -856,7 +856,7 @@ public Builder subCategories(@Nullable List subCategories) { /** * Contains text of additional choice i.e N/A choice or otherAnswer choice */ - public Builder notApplicableAnswer(@Nullable AdditionalChoiceJson1 notApplicableAnswer) { + public Builder notApplicableAnswer(@Nullable AdditionalChoiceJson notApplicableAnswer) { this.notApplicableAnswer = notApplicableAnswer; return this; } @@ -864,7 +864,7 @@ public Builder notApplicableAnswer(@Nullable AdditionalChoiceJson1 notApplicable /** * Contains text of additional choice i.e N/A choice or otherAnswer choice */ - public Builder otherAnswer(@Nullable AdditionalChoiceJson1 otherAnswer) { + public Builder otherAnswer(@Nullable AdditionalChoiceJson otherAnswer) { this.otherAnswer = otherAnswer; return this; } @@ -888,7 +888,7 @@ public Builder required(@Nullable Boolean required) { /** * List of fields for form/matrix questions */ - public Builder fields(@Nullable List fields) { + public Builder fields(@Nullable List fields) { this.fields = fields; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/SupplierResponse.java b/packages/java/src/main/java/com/cvent/models/components/SupplierResponse.java index 683bd68b1..fa8daa41f 100644 --- a/packages/java/src/main/java/com/cvent/models/components/SupplierResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/SupplierResponse.java @@ -32,7 +32,7 @@ public class SupplierResponse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("reason") - private RfpResponseReasonJson reason; + private RfpResponseReason reason; /** * Comment for the response reason. @@ -44,7 +44,7 @@ public class SupplierResponse { @JsonCreator public SupplierResponse( @JsonProperty("dateTime") @Nullable OffsetDateTime dateTime, - @JsonProperty("reason") @Nullable RfpResponseReasonJson reason, + @JsonProperty("reason") @Nullable RfpResponseReason reason, @JsonProperty("comment") @Nullable String comment) { this.dateTime = dateTime; this.reason = reason; @@ -65,7 +65,7 @@ public Optional dateTime() { /** * Reason given for a response to an RFP. */ - public Optional reason() { + public Optional reason() { return Optional.ofNullable(this.reason); } @@ -91,7 +91,7 @@ public SupplierResponse withDateTime(@Nullable OffsetDateTime dateTime) { /** * Reason given for a response to an RFP. */ - public SupplierResponse withReason(@Nullable RfpResponseReasonJson reason) { + public SupplierResponse withReason(@Nullable RfpResponseReason reason) { this.reason = reason; return this; } @@ -133,7 +133,7 @@ public static final class Builder { private OffsetDateTime dateTime; - private RfpResponseReasonJson reason; + private RfpResponseReason reason; private String comment; @@ -152,7 +152,7 @@ public Builder dateTime(@Nullable OffsetDateTime dateTime) { /** * Reason given for a response to an RFP. */ - public Builder reason(@Nullable RfpResponseReasonJson reason) { + public Builder reason(@Nullable RfpResponseReason reason) { this.reason = reason; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/SupplierType.java b/packages/java/src/main/java/com/cvent/models/components/SupplierType.java new file mode 100644 index 000000000..6ecdddd61 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/SupplierType.java @@ -0,0 +1,47 @@ +/* + * 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; + +/** + * SupplierType + * + *

Type of supplier. `CONVENTION_AND_CONFERENCE_CENTER`: Supplier of large event venues such as + * convention centers, conference centers, and exposition halls. `CVB`: CVBs (Convention and Visitors + * Bureau) are suppliers that assist in the promotion and facilitation of tourism, conventions, and + * events in their respective areas. + * + *

`HOTEL`: Suppliers that are hotels or resorts. `OTHER`: Suppliers that do not fall under other + * categories. + */ +public enum SupplierType { + CONVENTION_AND_CONFERENCE_CENTER("CONVENTION_AND_CONFERENCE_CENTER"), + CVB("CVB"), + HOTEL("HOTEL"), + OTHER("OTHER"); + + @JsonValue + private final String value; + + SupplierType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (SupplierType o : SupplierType.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/SupplierTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/SupplierTypeJson.java index f5584ce5b..6b41c2ddb 100644 --- a/packages/java/src/main/java/com/cvent/models/components/SupplierTypeJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/SupplierTypeJson.java @@ -11,19 +11,11 @@ /** * SupplierTypeJson * - *

Type of supplier. `CONVENTION_AND_CONFERENCE_CENTER`: Supplier of large event venues such as - * convention centers, conference centers, and exposition halls. `CVB`: CVBs (Convention and Visitors - * Bureau) are suppliers that assist in the promotion and facilitation of tourism, conventions, and - * events in their respective areas. - * - *

`HOTEL`: Suppliers that are hotels or resorts. `OTHER`: Suppliers that do not fall under other - * categories. + *

The supplier's type. VENUE: A hotel, convention and visitors bureau (CVB), or other location for an + * event. */ public enum SupplierTypeJson { - CONVENTION_AND_CONFERENCE_CENTER("CONVENTION_AND_CONFERENCE_CENTER"), - CVB("CVB"), - HOTEL("HOTEL"), - OTHER("OTHER"); + VENUE("VENUE"); @JsonValue private final String value; diff --git a/packages/java/src/main/java/com/cvent/models/components/SupplierTypeJson1.java b/packages/java/src/main/java/com/cvent/models/components/SupplierTypeJson1.java deleted file mode 100644 index d5ff035b1..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/SupplierTypeJson1.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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; - -/** - * SupplierTypeJson1 - * - *

The supplier's type. VENUE: A hotel, convention and visitors bureau (CVB), or other location for an - * event. - */ -public enum SupplierTypeJson1 { - VENUE("VENUE"); - - @JsonValue - private final String value; - - SupplierTypeJson1(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (SupplierTypeJson1 o : SupplierTypeJson1.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/SurveyContactId.java b/packages/java/src/main/java/com/cvent/models/components/SurveyContactId.java new file mode 100644 index 000000000..d03ca5021 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/SurveyContactId.java @@ -0,0 +1,129 @@ +/* + * 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; + +/** + * SurveyContactId + * + *

A pair of survey and contact id. + */ +public class SurveyContactId { + /** + * ID of the survey + */ + @JsonProperty("surveyId") + private String surveyId; + + /** + * ID of the contact + */ + @JsonProperty("contactId") + private String contactId; + + @JsonCreator + public SurveyContactId( + @JsonProperty("surveyId") @Nonnull String surveyId, @JsonProperty("contactId") @Nonnull String contactId) { + this.surveyId = Optional.ofNullable(surveyId) + .orElseThrow(() -> new IllegalArgumentException("surveyId cannot be null")); + this.contactId = Optional.ofNullable(contactId) + .orElseThrow(() -> new IllegalArgumentException("contactId cannot be null")); + } + + /** + * ID of the survey + */ + public String surveyId() { + return this.surveyId; + } + + /** + * ID of the contact + */ + public String contactId() { + return this.contactId; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * ID of the survey + */ + public SurveyContactId withSurveyId(@Nonnull String surveyId) { + this.surveyId = Utils.checkNotNull(surveyId, "surveyId"); + return this; + } + + /** + * ID of the contact + */ + public SurveyContactId withContactId(@Nonnull String contactId) { + this.contactId = Utils.checkNotNull(contactId, "contactId"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SurveyContactId other = (SurveyContactId) o; + return Utils.enhancedDeepEquals(this.surveyId, other.surveyId) + && Utils.enhancedDeepEquals(this.contactId, other.contactId); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(surveyId, contactId); + } + + @Override + public String toString() { + return Utils.toString(SurveyContactId.class, "surveyId", surveyId, "contactId", contactId); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String surveyId; + + private String contactId; + + private Builder() { + // force use of static builder() method + } + + /** + * ID of the survey + */ + public Builder surveyId(@Nonnull String surveyId) { + this.surveyId = Utils.checkNotNull(surveyId, "surveyId"); + return this; + } + + /** + * ID of the contact + */ + public Builder contactId(@Nonnull String contactId) { + this.contactId = Utils.checkNotNull(contactId, "contactId"); + return this; + } + + public SurveyContactId build() { + return new SurveyContactId(surveyId, contactId); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/SurveyContactIdJson.java b/packages/java/src/main/java/com/cvent/models/components/SurveyContactIdJson.java deleted file mode 100644 index a6cc9a739..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/SurveyContactIdJson.java +++ /dev/null @@ -1,129 +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.Optional; - -/** - * SurveyContactIdJson - * - *

A pair of survey and contact id. - */ -public class SurveyContactIdJson { - /** - * ID of the survey - */ - @JsonProperty("surveyId") - private String surveyId; - - /** - * ID of the contact - */ - @JsonProperty("contactId") - private String contactId; - - @JsonCreator - public SurveyContactIdJson( - @JsonProperty("surveyId") @Nonnull String surveyId, @JsonProperty("contactId") @Nonnull String contactId) { - this.surveyId = Optional.ofNullable(surveyId) - .orElseThrow(() -> new IllegalArgumentException("surveyId cannot be null")); - this.contactId = Optional.ofNullable(contactId) - .orElseThrow(() -> new IllegalArgumentException("contactId cannot be null")); - } - - /** - * ID of the survey - */ - public String surveyId() { - return this.surveyId; - } - - /** - * ID of the contact - */ - public String contactId() { - return this.contactId; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * ID of the survey - */ - public SurveyContactIdJson withSurveyId(@Nonnull String surveyId) { - this.surveyId = Utils.checkNotNull(surveyId, "surveyId"); - return this; - } - - /** - * ID of the contact - */ - public SurveyContactIdJson withContactId(@Nonnull String contactId) { - this.contactId = Utils.checkNotNull(contactId, "contactId"); - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SurveyContactIdJson other = (SurveyContactIdJson) o; - return Utils.enhancedDeepEquals(this.surveyId, other.surveyId) - && Utils.enhancedDeepEquals(this.contactId, other.contactId); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(surveyId, contactId); - } - - @Override - public String toString() { - return Utils.toString(SurveyContactIdJson.class, "surveyId", surveyId, "contactId", contactId); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String surveyId; - - private String contactId; - - private Builder() { - // force use of static builder() method - } - - /** - * ID of the survey - */ - public Builder surveyId(@Nonnull String surveyId) { - this.surveyId = Utils.checkNotNull(surveyId, "surveyId"); - return this; - } - - /** - * ID of the contact - */ - public Builder contactId(@Nonnull String contactId) { - this.contactId = Utils.checkNotNull(contactId, "contactId"); - return this; - } - - public SurveyContactIdJson build() { - return new SurveyContactIdJson(surveyId, contactId); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/SurveyJson.java b/packages/java/src/main/java/com/cvent/models/components/SurveyJson.java index c6b69c832..24ca4bad2 100644 --- a/packages/java/src/main/java/com/cvent/models/components/SurveyJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/SurveyJson.java @@ -135,7 +135,7 @@ public class SurveyJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("events") - private List events; + private List events; @JsonCreator public SurveyJson( @@ -154,7 +154,7 @@ public SurveyJson( @JsonProperty("status") @Nullable SurveyStatusJson status, @JsonProperty("type") @Nullable SurveyTypeJson type, @JsonProperty("activateDate") @Nullable OffsetDateTime activateDate, - @JsonProperty("events") @Nullable List events) { + @JsonProperty("events") @Nullable List events) { this.created = created; this.createdBy = createdBy; this.lastModified = lastModified; @@ -288,7 +288,7 @@ public Optional activateDate() { /** * List of events with which this survey is linked. */ - public Optional> events() { + public Optional> events() { return Optional.ofNullable(this.events); } @@ -422,7 +422,7 @@ public SurveyJson withActivateDate(@Nullable OffsetDateTime activateDate) { /** * List of events with which this survey is linked. */ - public SurveyJson withEvents(@Nullable List events) { + public SurveyJson withEvents(@Nullable List events) { this.events = events; return this; } @@ -546,7 +546,7 @@ public static final class Builder { private OffsetDateTime activateDate; - private List events; + private List events; private Builder() { // force use of static builder() method @@ -678,7 +678,7 @@ public Builder activateDate(@Nullable OffsetDateTime activateDate) { /** * List of events with which this survey is linked. */ - public Builder events(@Nullable List events) { + public Builder events(@Nullable List events) { this.events = events; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/TargetType.java b/packages/java/src/main/java/com/cvent/models/components/TargetType.java new file mode 100644 index 000000000..c9d19b881 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TargetType.java @@ -0,0 +1,56 @@ +/* + * 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; + +/** + * TargetType + * + *

The target type can either refer to the type of recipient or the type of action that made the + * recipient a participant in the RFP process. + */ +public enum TargetType { + ASSIGNEE("ASSIGNEE"), + BILLING_CONTACT("BILLING_CONTACT"), + FORWARDING_NSO("FORWARDING_NSO"), + FORWARDING_SUPPLIER("FORWARDING_SUPPLIER"), + HYATT_ENVISION("HYATT_ENVISION"), + IN_PROGRESS("IN_PROGRESS"), + MARRIOTT_SIEBEL("MARRIOTT_SIEBEL"), + MEETING_BROKER("MEETING_BROKER"), + OPERA("OPERA"), + PLANNER("PLANNER"), + PRIVATE_NSO("PRIVATE_NSO"), + PROPOSAL_CC("PROPOSAL_CC"), + PROPOSAL("PROPOSAL"), + PUBLIC_NSO("PUBLIC_NSO"), + RECEIPT_CONFIRMED("RECEIPT_CONFIRMED"), + RFP_CC_RECIPIENT("RFP_CC_RECIPIENT"), + SUPPLIER("SUPPLIER"), + TURN_DOWN("TURN_DOWN"); + + @JsonValue + private final String value; + + TargetType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (TargetType o : TargetType.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/TargetTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/TargetTypeJson.java deleted file mode 100644 index b48be4e5f..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TargetTypeJson.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * 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; - -/** - * TargetTypeJson - * - *

The target type can either refer to the type of recipient or the type of action that made the - * recipient a participant in the RFP process. - */ -public enum TargetTypeJson { - ASSIGNEE("ASSIGNEE"), - BILLING_CONTACT("BILLING_CONTACT"), - FORWARDING_NSO("FORWARDING_NSO"), - FORWARDING_SUPPLIER("FORWARDING_SUPPLIER"), - HYATT_ENVISION("HYATT_ENVISION"), - IN_PROGRESS("IN_PROGRESS"), - MARRIOTT_SIEBEL("MARRIOTT_SIEBEL"), - MEETING_BROKER("MEETING_BROKER"), - OPERA("OPERA"), - PLANNER("PLANNER"), - PRIVATE_NSO("PRIVATE_NSO"), - PROPOSAL_CC("PROPOSAL_CC"), - PROPOSAL("PROPOSAL"), - PUBLIC_NSO("PUBLIC_NSO"), - RECEIPT_CONFIRMED("RECEIPT_CONFIRMED"), - RFP_CC_RECIPIENT("RFP_CC_RECIPIENT"), - SUPPLIER("SUPPLIER"), - TURN_DOWN("TURN_DOWN"); - - @JsonValue - private final String value; - - TargetTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (TargetTypeJson o : TargetTypeJson.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/TaxType.java b/packages/java/src/main/java/com/cvent/models/components/TaxType.java new file mode 100644 index 000000000..688eae784 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TaxType.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; + +/** + * TaxType + * + *

Bid tax type. + */ +public enum TaxType { + CITY_TAX("city_tax"), + LODGING_TAX("lodging_tax"), + OCCUPANCY_TAX("occupancy_tax"), + SERVICE_FEE("service_fee"), + STATE_TAX("state_tax"), + VAT_TAX("vat_tax"), + VATFB_TAX("vatfb_tax"), + OTHER_TAX("other_tax"), + RESORT_FEE("resort_fee"); + + @JsonValue + private final String value; + + TaxType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (TaxType o : TaxType.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/TaxTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/TaxTypeJson.java deleted file mode 100644 index 3709b8cbd..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TaxTypeJson.java +++ /dev/null @@ -1,46 +0,0 @@ -/* - * 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; - -/** - * TaxTypeJson - * - *

Bid tax type. - */ -public enum TaxTypeJson { - CITY_TAX("city_tax"), - LODGING_TAX("lodging_tax"), - OCCUPANCY_TAX("occupancy_tax"), - SERVICE_FEE("service_fee"), - STATE_TAX("state_tax"), - VAT_TAX("vat_tax"), - VATFB_TAX("vatfb_tax"), - OTHER_TAX("other_tax"), - RESORT_FEE("resort_fee"); - - @JsonValue - private final String value; - - TaxTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (TaxTypeJson o : TaxTypeJson.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/TextAnswerFormat.java b/packages/java/src/main/java/com/cvent/models/components/TextAnswerFormat.java new file mode 100644 index 000000000..b31fd9929 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TextAnswerFormat.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; + +/** + * TextAnswerFormat + * + *

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. + */ +public enum TextAnswerFormat { + CUSTOM_FORMAT("CustomFormat"), + EMAIL_ADDRESS("EmailAddress"), + GENERAL("General"), + US_PHONE_NUMBER("USPhoneNumber"); + + @JsonValue + private final String value; + + TextAnswerFormat(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (TextAnswerFormat o : TextAnswerFormat.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/TextAnswerFormatJson.java b/packages/java/src/main/java/com/cvent/models/components/TextAnswerFormatJson.java deleted file mode 100644 index f55daa53a..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TextAnswerFormatJson.java +++ /dev/null @@ -1,45 +0,0 @@ -/* - * 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; - -/** - * TextAnswerFormatJson - * - *

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. - */ -public enum TextAnswerFormatJson { - CUSTOM_FORMAT("CustomFormat"), - EMAIL_ADDRESS("EmailAddress"), - GENERAL("General"), - US_PHONE_NUMBER("USPhoneNumber"); - - @JsonValue - private final String value; - - TextAnswerFormatJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (TextAnswerFormatJson o : TextAnswerFormatJson.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/TextField.java b/packages/java/src/main/java/com/cvent/models/components/TextField.java new file mode 100644 index 000000000..21c57733c --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TextField.java @@ -0,0 +1,175 @@ +/* + * 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; + +/** + * TextField + * + *

A survey text field. + */ +public class TextField { + /** + * Text field ID. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * Text value of the field. Displays to users in the UI. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("text") + private String text; + + /** + * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of + * the question in reports. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("shortText") + private String shortText; + + @JsonCreator + public TextField( + @JsonProperty("id") @Nullable String id, + @JsonProperty("text") @Nullable String text, + @JsonProperty("shortText") @Nullable String shortText) { + this.id = id; + this.text = text; + this.shortText = shortText; + } + + public TextField() { + this(null, null, null); + } + + /** + * Text field ID. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Text value of the field. Displays to users in the UI. + */ + public Optional text() { + return Optional.ofNullable(this.text); + } + + /** + * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of + * the question in reports. + */ + public Optional shortText() { + return Optional.ofNullable(this.shortText); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Text field ID. + */ + public TextField withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Text value of the field. Displays to users in the UI. + */ + public TextField withText(@Nullable String text) { + this.text = text; + return this; + } + + /** + * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of + * the question in reports. + */ + public TextField withShortText(@Nullable String shortText) { + this.shortText = shortText; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TextField other = (TextField) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.text, other.text) + && Utils.enhancedDeepEquals(this.shortText, other.shortText); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, text, shortText); + } + + @Override + public String toString() { + return Utils.toString(TextField.class, "id", id, "text", text, "shortText", shortText); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String text; + + private String shortText; + + private Builder() { + // force use of static builder() method + } + + /** + * Text field ID. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Text value of the field. Displays to users in the UI. + */ + public Builder text(@Nullable String text) { + this.text = text; + return this; + } + + /** + * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of + * the question in reports. + */ + public Builder shortText(@Nullable String shortText) { + this.shortText = shortText; + return this; + } + + public TextField build() { + return new TextField(id, text, shortText); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TextFieldJson.java b/packages/java/src/main/java/com/cvent/models/components/TextFieldJson.java index 84c250380..dc7769dd9 100644 --- a/packages/java/src/main/java/com/cvent/models/components/TextFieldJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/TextFieldJson.java @@ -27,15 +27,14 @@ public class TextFieldJson { private String id; /** - * Text value of the field. Displays to users in the UI. + * text Value of the Field */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("text") private String text; /** - * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of - * the question in reports. + * Reporting value of the Category, Its like a custom abbreviation */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("shortText") @@ -63,15 +62,14 @@ public Optional id() { } /** - * Text value of the field. Displays to users in the UI. + * text Value of the Field */ public Optional text() { return Optional.ofNullable(this.text); } /** - * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of - * the question in reports. + * Reporting value of the Category, Its like a custom abbreviation */ public Optional shortText() { return Optional.ofNullable(this.shortText); @@ -90,7 +88,7 @@ public TextFieldJson withId(@Nullable String id) { } /** - * Text value of the field. Displays to users in the UI. + * text Value of the Field */ public TextFieldJson withText(@Nullable String text) { this.text = text; @@ -98,8 +96,7 @@ public TextFieldJson withText(@Nullable String text) { } /** - * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of - * the question in reports. + * Reporting value of the Category, Its like a custom abbreviation */ public TextFieldJson withShortText(@Nullable String shortText) { this.shortText = shortText; @@ -152,7 +149,7 @@ public Builder id(@Nullable String id) { } /** - * Text value of the field. Displays to users in the UI. + * text Value of the Field */ public Builder text(@Nullable String text) { this.text = text; @@ -160,8 +157,7 @@ public Builder text(@Nullable String text) { } /** - * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of - * the question in reports. + * Reporting value of the Category, Its like a custom abbreviation */ public Builder shortText(@Nullable String shortText) { this.shortText = shortText; diff --git a/packages/java/src/main/java/com/cvent/models/components/TextFieldJson1.java b/packages/java/src/main/java/com/cvent/models/components/TextFieldJson1.java deleted file mode 100644 index 06cc50792..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TextFieldJson1.java +++ /dev/null @@ -1,171 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * TextFieldJson1 - * - *

A survey text field. - */ -public class TextFieldJson1 { - /** - * Text field ID. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * text Value of the Field - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("text") - private String text; - - /** - * Reporting value of the Category, Its like a custom abbreviation - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("shortText") - private String shortText; - - @JsonCreator - public TextFieldJson1( - @JsonProperty("id") @Nullable String id, - @JsonProperty("text") @Nullable String text, - @JsonProperty("shortText") @Nullable String shortText) { - this.id = id; - this.text = text; - this.shortText = shortText; - } - - public TextFieldJson1() { - this(null, null, null); - } - - /** - * Text field ID. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * text Value of the Field - */ - public Optional text() { - return Optional.ofNullable(this.text); - } - - /** - * Reporting value of the Category, Its like a custom abbreviation - */ - public Optional shortText() { - return Optional.ofNullable(this.shortText); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Text field ID. - */ - public TextFieldJson1 withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * text Value of the Field - */ - public TextFieldJson1 withText(@Nullable String text) { - this.text = text; - return this; - } - - /** - * Reporting value of the Category, Its like a custom abbreviation - */ - public TextFieldJson1 withShortText(@Nullable String shortText) { - this.shortText = shortText; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - TextFieldJson1 other = (TextFieldJson1) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.text, other.text) - && Utils.enhancedDeepEquals(this.shortText, other.shortText); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, text, shortText); - } - - @Override - public String toString() { - return Utils.toString(TextFieldJson1.class, "id", id, "text", text, "shortText", shortText); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private String text; - - private String shortText; - - private Builder() { - // force use of static builder() method - } - - /** - * Text field ID. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * text Value of the Field - */ - public Builder text(@Nullable String text) { - this.text = text; - return this; - } - - /** - * Reporting value of the Category, Its like a custom abbreviation - */ - public Builder shortText(@Nullable String shortText) { - this.shortText = shortText; - return this; - } - - public TextFieldJson1 build() { - return new TextFieldJson1(id, text, shortText); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/Three.java b/packages/java/src/main/java/com/cvent/models/components/Three.java index 2bfd56de2..b90c49c8c 100644 --- a/packages/java/src/main/java/com/cvent/models/components/Three.java +++ b/packages/java/src/main/java/com/cvent/models/components/Three.java @@ -25,7 +25,7 @@ public class Three { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("choices") - private List choices; + private List choices; /** * Display type indicating how to display the choices on UI. For 'Choice - Single Answer' custom field @@ -38,7 +38,7 @@ public class Three { @JsonCreator public Three( - @JsonProperty("choices") @Nullable List choices, + @JsonProperty("choices") @Nullable List choices, @JsonProperty("displayType") @Nullable ChoicesDisplayTypeJson displayType) { this.choices = choices; this.displayType = displayType; @@ -51,7 +51,7 @@ public Three() { /** * Choices of custom fields. */ - public Optional> choices() { + public Optional> choices() { return Optional.ofNullable(this.choices); } @@ -71,7 +71,7 @@ public static Builder builder() { /** * Choices of custom fields. */ - public Three withChoices(@Nullable List choices) { + public Three withChoices(@Nullable List choices) { this.choices = choices; return this; } @@ -112,7 +112,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private List choices; + private List choices; private ChoicesDisplayTypeJson displayType; @@ -123,7 +123,7 @@ private Builder() { /** * Choices of custom fields. */ - public Builder choices(@Nullable List choices) { + public Builder choices(@Nullable List choices) { this.choices = choices; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ThreeInput.java b/packages/java/src/main/java/com/cvent/models/components/ThreeInput.java index 92e897079..02ce1daec 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ThreeInput.java +++ b/packages/java/src/main/java/com/cvent/models/components/ThreeInput.java @@ -25,7 +25,7 @@ public class ThreeInput { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("choices") - private List choices; + private List choices; /** * Display type indicating how to display the choices on UI. For 'Choice - Single Answer' custom field @@ -38,7 +38,7 @@ public class ThreeInput { @JsonCreator public ThreeInput( - @JsonProperty("choices") @Nullable List choices, + @JsonProperty("choices") @Nullable List choices, @JsonProperty("displayType") @Nullable ChoicesDisplayTypeJson displayType) { this.choices = choices; this.displayType = displayType; @@ -51,7 +51,7 @@ public ThreeInput() { /** * Choices of custom fields. */ - public Optional> choices() { + public Optional> choices() { return Optional.ofNullable(this.choices); } @@ -71,7 +71,7 @@ public static Builder builder() { /** * Choices of custom fields. */ - public ThreeInput withChoices(@Nullable List choices) { + public ThreeInput withChoices(@Nullable List choices) { this.choices = choices; return this; } @@ -112,7 +112,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private List choices; + private List choices; private ChoicesDisplayTypeJson displayType; @@ -123,7 +123,7 @@ private Builder() { /** * Choices of custom fields. */ - public Builder choices(@Nullable List choices) { + public Builder choices(@Nullable List choices) { this.choices = choices; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ThumbnailStatus.java b/packages/java/src/main/java/com/cvent/models/components/ThumbnailStatus.java new file mode 100644 index 000000000..af06445c9 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ThumbnailStatus.java @@ -0,0 +1,47 @@ +/* + * 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; + +/** + * ThumbnailStatus + * + *

Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, + * and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was + * completed. + * + *

Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the + * scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. + */ +public enum ThumbnailStatus { + STARTED("Started"), + UPLOADED("Uploaded"), + PROCESSING("Processing"), + AVAILABLE("Available"), + REJECTED("Rejected"); + + @JsonValue + private final String value; + + ThumbnailStatus(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (ThumbnailStatus o : ThumbnailStatus.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/ThumbnailStatusJson.java b/packages/java/src/main/java/com/cvent/models/components/ThumbnailStatusJson.java deleted file mode 100644 index 1bc831d27..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ThumbnailStatusJson.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * 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; - -/** - * ThumbnailStatusJson - * - *

Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, - * and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was - * completed. - * - *

Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the - * scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. - */ -public enum ThumbnailStatusJson { - STARTED("Started"), - UPLOADED("Uploaded"), - PROCESSING("Processing"), - AVAILABLE("Available"), - REJECTED("Rejected"); - - @JsonValue - private final String value; - - ThumbnailStatusJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (ThumbnailStatusJson o : ThumbnailStatusJson.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/ThumbnailType.java b/packages/java/src/main/java/com/cvent/models/components/ThumbnailType.java new file mode 100644 index 000000000..82d1295a0 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ThumbnailType.java @@ -0,0 +1,44 @@ +/* + * 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; + +/** + * ThumbnailType + * + *

This is used to denote the file type of a thumbnail + */ +public enum ThumbnailType { + BMP("bmp"), + GIF("gif"), + JPE("jpe"), + JPEG("jpeg"), + JPG("jpg"), + PNG("png"), + SVG("svg"); + + @JsonValue + private final String value; + + ThumbnailType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (ThumbnailType o : ThumbnailType.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/ThumbnailTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/ThumbnailTypeJson.java deleted file mode 100644 index 1ab275e64..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ThumbnailTypeJson.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * 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; - -/** - * ThumbnailTypeJson - * - *

This is used to denote the file type of a thumbnail - */ -public enum ThumbnailTypeJson { - BMP("bmp"), - GIF("gif"), - JPE("jpe"), - JPEG("jpeg"), - JPG("jpg"), - PNG("png"), - SVG("svg"); - - @JsonValue - private final String value; - - ThumbnailTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (ThumbnailTypeJson o : ThumbnailTypeJson.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/TransactionDetailResponse.java b/packages/java/src/main/java/com/cvent/models/components/TransactionDetailResponse.java index ba93efba0..02f7e5c08 100644 --- a/packages/java/src/main/java/com/cvent/models/components/TransactionDetailResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/TransactionDetailResponse.java @@ -77,7 +77,7 @@ public class TransactionDetailResponse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("attendee") - private Attendee2 attendee; + private Attendee attendee; /** * This denotes the order IDs corresponding to this transaction. @@ -193,7 +193,7 @@ public TransactionDetailResponse( @JsonProperty("id") @Nullable String id, @JsonProperty("processorTransactionId") @Nullable String processorTransactionId, @JsonProperty("event") @Nullable Event2 event, - @JsonProperty("attendee") @Nullable Attendee2 attendee, + @JsonProperty("attendee") @Nullable Attendee attendee, @JsonProperty("orders") @Nullable List orders, @JsonProperty("journalNumber") @Nullable String journalNumber, @JsonProperty("paymentType") @Nullable PaymentType1 paymentType, @@ -310,7 +310,7 @@ public Optional event() { /** * The reference to the attendee. Contains only the ID of the attendee. */ - public Optional attendee() { + public Optional attendee() { return Optional.ofNullable(this.attendee); } @@ -482,7 +482,7 @@ public TransactionDetailResponse withEvent(@Nullable Event2 event) { /** * The reference to the attendee. Contains only the ID of the attendee. */ - public TransactionDetailResponse withAttendee(@Nullable Attendee2 attendee) { + public TransactionDetailResponse withAttendee(@Nullable Attendee attendee) { this.attendee = attendee; return this; } @@ -734,7 +734,7 @@ public static final class Builder { private Event2 event; - private Attendee2 attendee; + private Attendee attendee; private List orders; @@ -827,7 +827,7 @@ public Builder event(@Nullable Event2 event) { /** * The reference to the attendee. Contains only the ID of the attendee. */ - public Builder attendee(@Nullable Attendee2 attendee) { + public Builder attendee(@Nullable Attendee attendee) { this.attendee = attendee; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/TransactionItemResponse.java b/packages/java/src/main/java/com/cvent/models/components/TransactionItemResponse.java index 433a64144..e02dfab40 100644 --- a/packages/java/src/main/java/com/cvent/models/components/TransactionItemResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/TransactionItemResponse.java @@ -83,7 +83,7 @@ public class TransactionItemResponse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("attendee") - private Attendee2 attendee; + private Attendee attendee; /** * This is used to denote the product details in an order item @@ -130,7 +130,7 @@ public TransactionItemResponse( @JsonProperty("uniqueId") @Nullable String uniqueId, @JsonProperty("transaction") @Nullable TransactionId transaction, @JsonProperty("event") @Nullable Event2 event, - @JsonProperty("attendee") @Nullable Attendee2 attendee, + @JsonProperty("attendee") @Nullable Attendee attendee, @JsonProperty("product") @Nullable ProductOrderItem product, @JsonProperty("orderItem") @Nullable OrderItemRef orderItem, @JsonProperty("name") @Nullable String name, @@ -216,7 +216,7 @@ public Optional event() { /** * The reference to the attendee. Contains only the ID of the attendee. */ - public Optional attendee() { + public Optional attendee() { return Optional.ofNullable(this.attendee); } @@ -327,7 +327,7 @@ public TransactionItemResponse withEvent(@Nullable Event2 event) { /** * The reference to the attendee. Contains only the ID of the attendee. */ - public TransactionItemResponse withAttendee(@Nullable Attendee2 attendee) { + public TransactionItemResponse withAttendee(@Nullable Attendee attendee) { this.attendee = attendee; return this; } @@ -469,7 +469,7 @@ public static final class Builder { private Event2 event; - private Attendee2 attendee; + private Attendee attendee; private ProductOrderItem product; @@ -553,7 +553,7 @@ public Builder event(@Nullable Event2 event) { /** * The reference to the attendee. Contains only the ID of the attendee. */ - public Builder attendee(@Nullable Attendee2 attendee) { + public Builder attendee(@Nullable Attendee attendee) { this.attendee = attendee; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelAccount.java b/packages/java/src/main/java/com/cvent/models/components/TravelAccount.java index f22b9c559..71981ca9d 100644 --- a/packages/java/src/main/java/com/cvent/models/components/TravelAccount.java +++ b/packages/java/src/main/java/com/cvent/models/components/TravelAccount.java @@ -69,7 +69,7 @@ public class TravelAccount { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("type") - private TravelAccountTypeJson type; + private TravelAccountType type; /** * Is this a certified travel account? @@ -83,7 +83,7 @@ public class TravelAccount { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("addresses") - private List addresses; + private List addresses; @JsonCreator public TravelAccount( @@ -93,9 +93,9 @@ public TravelAccount( @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, @JsonProperty("id") @Nullable String id, @JsonProperty("name") @Nullable String name, - @JsonProperty("type") @Nullable TravelAccountTypeJson type, + @JsonProperty("type") @Nullable TravelAccountType type, @JsonProperty("certified") @Nullable Boolean certified, - @JsonProperty("addresses") @Nullable List addresses) { + @JsonProperty("addresses") @Nullable List addresses) { this.created = created; this.createdBy = createdBy; this.lastModified = lastModified; @@ -156,7 +156,7 @@ public Optional name() { /** * Code representing the travel account type. */ - public Optional type() { + public Optional type() { return Optional.ofNullable(this.type); } @@ -170,7 +170,7 @@ public Optional certified() { /** * List of addresses associated with the travel account. */ - public Optional> addresses() { + public Optional> addresses() { return Optional.ofNullable(this.addresses); } @@ -229,7 +229,7 @@ public TravelAccount withName(@Nullable String name) { /** * Code representing the travel account type. */ - public TravelAccount withType(@Nullable TravelAccountTypeJson type) { + public TravelAccount withType(@Nullable TravelAccountType type) { this.type = type; return this; } @@ -245,7 +245,7 @@ public TravelAccount withCertified(@Nullable Boolean certified) { /** * List of addresses associated with the travel account. */ - public TravelAccount withAddresses(@Nullable List addresses) { + public TravelAccount withAddresses(@Nullable List addresses) { this.addresses = addresses; return this; } @@ -315,11 +315,11 @@ public static final class Builder { private String name; - private TravelAccountTypeJson type; + private TravelAccountType type; private Boolean certified; - private List addresses; + private List addresses; private Builder() { // force use of static builder() method @@ -376,7 +376,7 @@ public Builder name(@Nullable String name) { /** * Code representing the travel account type. */ - public Builder type(@Nullable TravelAccountTypeJson type) { + public Builder type(@Nullable TravelAccountType type) { this.type = type; return this; } @@ -392,7 +392,7 @@ public Builder certified(@Nullable Boolean certified) { /** * List of addresses associated with the travel account. */ - public Builder addresses(@Nullable List addresses) { + public Builder addresses(@Nullable List addresses) { this.addresses = addresses; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelAccountPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/TravelAccountPaginatedResponse.java index 4e3901d21..c61286688 100644 --- a/packages/java/src/main/java/com/cvent/models/components/TravelAccountPaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/TravelAccountPaginatedResponse.java @@ -25,7 +25,7 @@ public class TravelAccountPaginatedResponse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * Collection of travel accounts and their related details. @@ -36,8 +36,7 @@ public class TravelAccountPaginatedResponse { @JsonCreator public TravelAccountPaginatedResponse( - @JsonProperty("paging") @Nullable PagingJson paging, - @JsonProperty("data") @Nullable List data) { + @JsonProperty("paging") @Nullable Paging paging, @JsonProperty("data") @Nullable List data) { this.paging = paging; this.data = data; } @@ -49,7 +48,7 @@ public TravelAccountPaginatedResponse() { /** * Represents pagination information for a collection of resources. */ - public Optional paging() { + public Optional paging() { return Optional.ofNullable(this.paging); } @@ -67,7 +66,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public TravelAccountPaginatedResponse withPaging(@Nullable PagingJson paging) { + public TravelAccountPaginatedResponse withPaging(@Nullable Paging paging) { this.paging = paging; return this; } @@ -105,7 +104,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; private List data; @@ -116,7 +115,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nullable PagingJson paging) { + public Builder paging(@Nullable Paging paging) { this.paging = paging; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelAccountSupplierAccount.java b/packages/java/src/main/java/com/cvent/models/components/TravelAccountSupplierAccount.java index ff0532962..eca7fe7ff 100644 --- a/packages/java/src/main/java/com/cvent/models/components/TravelAccountSupplierAccount.java +++ b/packages/java/src/main/java/com/cvent/models/components/TravelAccountSupplierAccount.java @@ -40,7 +40,7 @@ public class TravelAccountSupplierAccount { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("managementLevel") - private ManagementLevelTypeJson1 managementLevel; + private ManagementLevelType1 managementLevel; /** * Is this account active for the supplier's hotels. @@ -75,7 +75,7 @@ public class TravelAccountSupplierAccount { public TravelAccountSupplierAccount( @JsonProperty("travelAccount") @Nullable TravelAccountSupplierAccountTravelAccount travelAccount, @JsonProperty("name") @Nullable String name, - @JsonProperty("managementLevel") @Nullable ManagementLevelTypeJson1 managementLevel, + @JsonProperty("managementLevel") @Nullable ManagementLevelType1 managementLevel, @JsonProperty("active") @Nullable Boolean active, @JsonProperty("crmId") @Nullable String crmId, @JsonProperty("chainDefinedId") @Nullable String chainDefinedId, @@ -110,7 +110,7 @@ public Optional name() { /** * The management level of the travel account. Defined by the supply-side. */ - public Optional managementLevel() { + public Optional managementLevel() { return Optional.ofNullable(this.managementLevel); } @@ -167,7 +167,7 @@ public TravelAccountSupplierAccount withName(@Nullable String name) { /** * The management level of the travel account. Defined by the supply-side. */ - public TravelAccountSupplierAccount withManagementLevel(@Nullable ManagementLevelTypeJson1 managementLevel) { + public TravelAccountSupplierAccount withManagementLevel(@Nullable ManagementLevelType1 managementLevel) { this.managementLevel = managementLevel; return this; } @@ -256,7 +256,7 @@ public static final class Builder { private String name; - private ManagementLevelTypeJson1 managementLevel; + private ManagementLevelType1 managementLevel; private Boolean active; @@ -289,7 +289,7 @@ public Builder name(@Nullable String name) { /** * The management level of the travel account. Defined by the supply-side. */ - public Builder managementLevel(@Nullable ManagementLevelTypeJson1 managementLevel) { + public Builder managementLevel(@Nullable ManagementLevelType1 managementLevel) { this.managementLevel = managementLevel; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelAccountSupplierAccountPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/TravelAccountSupplierAccountPaginatedResponse.java index de136b82e..b53cff1bc 100644 --- a/packages/java/src/main/java/com/cvent/models/components/TravelAccountSupplierAccountPaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/TravelAccountSupplierAccountPaginatedResponse.java @@ -25,7 +25,7 @@ public class TravelAccountSupplierAccountPaginatedResponse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * Collection of suppliers travel accounts and their related details. @@ -36,7 +36,7 @@ public class TravelAccountSupplierAccountPaginatedResponse { @JsonCreator public TravelAccountSupplierAccountPaginatedResponse( - @JsonProperty("paging") @Nullable PagingJson paging, + @JsonProperty("paging") @Nullable Paging paging, @JsonProperty("data") @Nullable List data) { this.paging = paging; this.data = data; @@ -49,7 +49,7 @@ public TravelAccountSupplierAccountPaginatedResponse() { /** * Represents pagination information for a collection of resources. */ - public Optional paging() { + public Optional paging() { return Optional.ofNullable(this.paging); } @@ -67,7 +67,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public TravelAccountSupplierAccountPaginatedResponse withPaging(@Nullable PagingJson paging) { + public TravelAccountSupplierAccountPaginatedResponse withPaging(@Nullable Paging paging) { this.paging = paging; return this; } @@ -105,7 +105,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; private List data; @@ -116,7 +116,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nullable PagingJson paging) { + public Builder paging(@Nullable Paging paging) { this.paging = paging; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelAccountType.java b/packages/java/src/main/java/com/cvent/models/components/TravelAccountType.java new file mode 100644 index 000000000..50656fdfc --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelAccountType.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; + +/** + * TravelAccountType + * + *

Code representing the travel account type. + */ +public enum TravelAccountType { + CORPORATE("corporate"), + LEISURE("leisure"), + CONSORTIA("consortia"); + + @JsonValue + private final String value; + + TravelAccountType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (TravelAccountType o : TravelAccountType.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/TravelAccountTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/TravelAccountTypeJson.java deleted file mode 100644 index 91b9d0112..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelAccountTypeJson.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * 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; - -/** - * TravelAccountTypeJson - * - *

Code representing the travel account type. - */ -public enum TravelAccountTypeJson { - CORPORATE("corporate"), - LEISURE("leisure"), - CONSORTIA("consortia"); - - @JsonValue - private final String value; - - TravelAccountTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (TravelAccountTypeJson o : TravelAccountTypeJson.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/TravelAmenityJson.java b/packages/java/src/main/java/com/cvent/models/components/TravelAmenityJson.java deleted file mode 100644 index 59c065265..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelAmenityJson.java +++ /dev/null @@ -1,381 +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.Double; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * TravelAmenityJson - * - *

Group and meeting amenity info. - */ -public class TravelAmenityJson { - /** - * True indicates a liquid crystal display (LCD) is included in the amenity. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("lcdIncluded") - private Boolean lcdIncluded; - - /** - * Price of the liquid crystal display (LCD). - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("lcdPrice") - private Double lcdPrice; - - /** - * True indicates a screen is included in the amenity. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("screenIncluded") - private Boolean screenIncluded; - - /** - * Price of the screen. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("screenPrice") - private Double screenPrice; - - /** - * True indicates high speed internet access is included in the amenity. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("hsiaIncluded") - private Boolean hsiaIncluded; - - /** - * Price of high speed internet access (HSIA). - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("hsiaPrice") - private Double hsiaPrice; - - /** - * True indicates parking is included in the amenity. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("complementaryParkingIncluded") - private Boolean complementaryParkingIncluded; - - /** - * Name of company providing AV equipment. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("whatCompanyProvidesAVEquipment") - private String whatCompanyProvidesAVEquipment; - - @JsonCreator - public TravelAmenityJson( - @JsonProperty("lcdIncluded") @Nullable Boolean lcdIncluded, - @JsonProperty("lcdPrice") @Nullable Double lcdPrice, - @JsonProperty("screenIncluded") @Nullable Boolean screenIncluded, - @JsonProperty("screenPrice") @Nullable Double screenPrice, - @JsonProperty("hsiaIncluded") @Nullable Boolean hsiaIncluded, - @JsonProperty("hsiaPrice") @Nullable Double hsiaPrice, - @JsonProperty("complementaryParkingIncluded") @Nullable Boolean complementaryParkingIncluded, - @JsonProperty("whatCompanyProvidesAVEquipment") @Nullable String whatCompanyProvidesAVEquipment) { - this.lcdIncluded = lcdIncluded; - this.lcdPrice = lcdPrice; - this.screenIncluded = screenIncluded; - this.screenPrice = screenPrice; - this.hsiaIncluded = hsiaIncluded; - this.hsiaPrice = hsiaPrice; - this.complementaryParkingIncluded = complementaryParkingIncluded; - this.whatCompanyProvidesAVEquipment = whatCompanyProvidesAVEquipment; - } - - public TravelAmenityJson() { - this(null, null, null, null, null, null, null, null); - } - - /** - * True indicates a liquid crystal display (LCD) is included in the amenity. - */ - public Optional lcdIncluded() { - return Optional.ofNullable(this.lcdIncluded); - } - - /** - * Price of the liquid crystal display (LCD). - */ - public Optional lcdPrice() { - return Optional.ofNullable(this.lcdPrice); - } - - /** - * True indicates a screen is included in the amenity. - */ - public Optional screenIncluded() { - return Optional.ofNullable(this.screenIncluded); - } - - /** - * Price of the screen. - */ - public Optional screenPrice() { - return Optional.ofNullable(this.screenPrice); - } - - /** - * True indicates high speed internet access is included in the amenity. - */ - public Optional hsiaIncluded() { - return Optional.ofNullable(this.hsiaIncluded); - } - - /** - * Price of high speed internet access (HSIA). - */ - public Optional hsiaPrice() { - return Optional.ofNullable(this.hsiaPrice); - } - - /** - * True indicates parking is included in the amenity. - */ - public Optional complementaryParkingIncluded() { - return Optional.ofNullable(this.complementaryParkingIncluded); - } - - /** - * Name of company providing AV equipment. - */ - public Optional whatCompanyProvidesAVEquipment() { - return Optional.ofNullable(this.whatCompanyProvidesAVEquipment); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * True indicates a liquid crystal display (LCD) is included in the amenity. - */ - public TravelAmenityJson withLcdIncluded(@Nullable Boolean lcdIncluded) { - this.lcdIncluded = lcdIncluded; - return this; - } - - /** - * Price of the liquid crystal display (LCD). - */ - public TravelAmenityJson withLcdPrice(@Nullable Double lcdPrice) { - this.lcdPrice = lcdPrice; - return this; - } - - /** - * True indicates a screen is included in the amenity. - */ - public TravelAmenityJson withScreenIncluded(@Nullable Boolean screenIncluded) { - this.screenIncluded = screenIncluded; - return this; - } - - /** - * Price of the screen. - */ - public TravelAmenityJson withScreenPrice(@Nullable Double screenPrice) { - this.screenPrice = screenPrice; - return this; - } - - /** - * True indicates high speed internet access is included in the amenity. - */ - public TravelAmenityJson withHsiaIncluded(@Nullable Boolean hsiaIncluded) { - this.hsiaIncluded = hsiaIncluded; - return this; - } - - /** - * Price of high speed internet access (HSIA). - */ - public TravelAmenityJson withHsiaPrice(@Nullable Double hsiaPrice) { - this.hsiaPrice = hsiaPrice; - return this; - } - - /** - * True indicates parking is included in the amenity. - */ - public TravelAmenityJson withComplementaryParkingIncluded(@Nullable Boolean complementaryParkingIncluded) { - this.complementaryParkingIncluded = complementaryParkingIncluded; - return this; - } - - /** - * Name of company providing AV equipment. - */ - public TravelAmenityJson withWhatCompanyProvidesAVEquipment(@Nullable String whatCompanyProvidesAVEquipment) { - this.whatCompanyProvidesAVEquipment = whatCompanyProvidesAVEquipment; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - TravelAmenityJson other = (TravelAmenityJson) o; - return Utils.enhancedDeepEquals(this.lcdIncluded, other.lcdIncluded) - && Utils.enhancedDeepEquals(this.lcdPrice, other.lcdPrice) - && Utils.enhancedDeepEquals(this.screenIncluded, other.screenIncluded) - && Utils.enhancedDeepEquals(this.screenPrice, other.screenPrice) - && Utils.enhancedDeepEquals(this.hsiaIncluded, other.hsiaIncluded) - && Utils.enhancedDeepEquals(this.hsiaPrice, other.hsiaPrice) - && Utils.enhancedDeepEquals(this.complementaryParkingIncluded, other.complementaryParkingIncluded) - && Utils.enhancedDeepEquals(this.whatCompanyProvidesAVEquipment, other.whatCompanyProvidesAVEquipment); - } - - @Override - public int hashCode() { - return Utils.enhancedHash( - lcdIncluded, - lcdPrice, - screenIncluded, - screenPrice, - hsiaIncluded, - hsiaPrice, - complementaryParkingIncluded, - whatCompanyProvidesAVEquipment); - } - - @Override - public String toString() { - return Utils.toString( - TravelAmenityJson.class, - "lcdIncluded", - lcdIncluded, - "lcdPrice", - lcdPrice, - "screenIncluded", - screenIncluded, - "screenPrice", - screenPrice, - "hsiaIncluded", - hsiaIncluded, - "hsiaPrice", - hsiaPrice, - "complementaryParkingIncluded", - complementaryParkingIncluded, - "whatCompanyProvidesAVEquipment", - whatCompanyProvidesAVEquipment); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private Boolean lcdIncluded; - - private Double lcdPrice; - - private Boolean screenIncluded; - - private Double screenPrice; - - private Boolean hsiaIncluded; - - private Double hsiaPrice; - - private Boolean complementaryParkingIncluded; - - private String whatCompanyProvidesAVEquipment; - - private Builder() { - // force use of static builder() method - } - - /** - * True indicates a liquid crystal display (LCD) is included in the amenity. - */ - public Builder lcdIncluded(@Nullable Boolean lcdIncluded) { - this.lcdIncluded = lcdIncluded; - return this; - } - - /** - * Price of the liquid crystal display (LCD). - */ - public Builder lcdPrice(@Nullable Double lcdPrice) { - this.lcdPrice = lcdPrice; - return this; - } - - /** - * True indicates a screen is included in the amenity. - */ - public Builder screenIncluded(@Nullable Boolean screenIncluded) { - this.screenIncluded = screenIncluded; - return this; - } - - /** - * Price of the screen. - */ - public Builder screenPrice(@Nullable Double screenPrice) { - this.screenPrice = screenPrice; - return this; - } - - /** - * True indicates high speed internet access is included in the amenity. - */ - public Builder hsiaIncluded(@Nullable Boolean hsiaIncluded) { - this.hsiaIncluded = hsiaIncluded; - return this; - } - - /** - * Price of high speed internet access (HSIA). - */ - public Builder hsiaPrice(@Nullable Double hsiaPrice) { - this.hsiaPrice = hsiaPrice; - return this; - } - - /** - * True indicates parking is included in the amenity. - */ - public Builder complementaryParkingIncluded(@Nullable Boolean complementaryParkingIncluded) { - this.complementaryParkingIncluded = complementaryParkingIncluded; - return this; - } - - /** - * Name of company providing AV equipment. - */ - public Builder whatCompanyProvidesAVEquipment(@Nullable String whatCompanyProvidesAVEquipment) { - this.whatCompanyProvidesAVEquipment = whatCompanyProvidesAVEquipment; - return this; - } - - public TravelAmenityJson build() { - return new TravelAmenityJson( - lcdIncluded, - lcdPrice, - screenIncluded, - screenPrice, - hsiaIncluded, - hsiaPrice, - complementaryParkingIncluded, - whatCompanyProvidesAVEquipment); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidAmenity.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidAmenity.java new file mode 100644 index 000000000..1a2c6562c --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelBidAmenity.java @@ -0,0 +1,413 @@ +/* + * 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.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * TravelBidAmenity + * + *

Amenity details for a travel bid. + */ +public class TravelBidAmenity { + /** + * Amenity type + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private AmenityType type; + + /** + * The code representing the amenity. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("code") + private String code; + + /** + * The category of the amenity. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("category") + private String category; + + /** + * True indicates the amenity price is included in the rate. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("included") + private Boolean included; + + /** + * The price of the amenity. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("price") + private Double price; + + /** + * The price of the amenity after discounts. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("discountAmount") + private Double discountAmount; + + /** + * Internal cost of the amenity. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("internalCost") + private Double internalCost; + + /** + * Additional notes on the amenity. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("description") + private String description; + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("status") + private BidItemStatusType status; + + @JsonCreator + public TravelBidAmenity( + @JsonProperty("type") @Nullable AmenityType type, + @JsonProperty("code") @Nullable String code, + @JsonProperty("category") @Nullable String category, + @JsonProperty("included") @Nullable Boolean included, + @JsonProperty("price") @Nullable Double price, + @JsonProperty("discountAmount") @Nullable Double discountAmount, + @JsonProperty("internalCost") @Nullable Double internalCost, + @JsonProperty("description") @Nullable String description, + @JsonProperty("status") @Nullable BidItemStatusType status) { + this.type = type; + this.code = code; + this.category = category; + this.included = Optional.ofNullable(included).orElse(Builder._SINGLETON_VALUE_Included.value()); + this.price = price; + this.discountAmount = discountAmount; + this.internalCost = internalCost; + this.description = description; + this.status = status; + } + + public TravelBidAmenity() { + this(null, null, null, null, null, null, null, null, null); + } + + /** + * Amenity type + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + /** + * The code representing the amenity. + */ + public Optional code() { + return Optional.ofNullable(this.code); + } + + /** + * The category of the amenity. + */ + public Optional category() { + return Optional.ofNullable(this.category); + } + + /** + * True indicates the amenity price is included in the rate. + */ + public Optional included() { + return Optional.ofNullable(this.included); + } + + /** + * The price of the amenity. + */ + public Optional price() { + return Optional.ofNullable(this.price); + } + + /** + * The price of the amenity after discounts. + */ + public Optional discountAmount() { + return Optional.ofNullable(this.discountAmount); + } + + /** + * Internal cost of the amenity. + */ + public Optional internalCost() { + return Optional.ofNullable(this.internalCost); + } + + /** + * Additional notes on the amenity. + */ + public Optional description() { + return Optional.ofNullable(this.description); + } + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + public Optional status() { + return Optional.ofNullable(this.status); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Amenity type + */ + public TravelBidAmenity withType(@Nullable AmenityType type) { + this.type = type; + return this; + } + + /** + * The code representing the amenity. + */ + public TravelBidAmenity withCode(@Nullable String code) { + this.code = code; + return this; + } + + /** + * The category of the amenity. + */ + public TravelBidAmenity withCategory(@Nullable String category) { + this.category = category; + return this; + } + + /** + * True indicates the amenity price is included in the rate. + */ + public TravelBidAmenity withIncluded(@Nullable Boolean included) { + this.included = included; + return this; + } + + /** + * The price of the amenity. + */ + public TravelBidAmenity withPrice(@Nullable Double price) { + this.price = price; + return this; + } + + /** + * The price of the amenity after discounts. + */ + public TravelBidAmenity withDiscountAmount(@Nullable Double discountAmount) { + this.discountAmount = discountAmount; + return this; + } + + /** + * Internal cost of the amenity. + */ + public TravelBidAmenity withInternalCost(@Nullable Double internalCost) { + this.internalCost = internalCost; + return this; + } + + /** + * Additional notes on the amenity. + */ + public TravelBidAmenity withDescription(@Nullable String description) { + this.description = description; + return this; + } + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + public TravelBidAmenity withStatus(@Nullable BidItemStatusType status) { + this.status = status; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TravelBidAmenity other = (TravelBidAmenity) o; + return Utils.enhancedDeepEquals(this.type, other.type) + && Utils.enhancedDeepEquals(this.code, other.code) + && Utils.enhancedDeepEquals(this.category, other.category) + && Utils.enhancedDeepEquals(this.included, other.included) + && Utils.enhancedDeepEquals(this.price, other.price) + && Utils.enhancedDeepEquals(this.discountAmount, other.discountAmount) + && Utils.enhancedDeepEquals(this.internalCost, other.internalCost) + && Utils.enhancedDeepEquals(this.description, other.description) + && Utils.enhancedDeepEquals(this.status, other.status); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + type, code, category, included, price, discountAmount, internalCost, description, status); + } + + @Override + public String toString() { + return Utils.toString( + TravelBidAmenity.class, + "type", + type, + "code", + code, + "category", + category, + "included", + included, + "price", + price, + "discountAmount", + discountAmount, + "internalCost", + internalCost, + "description", + description, + "status", + status); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private AmenityType type; + + private String code; + + private String category; + + private Boolean included; + + private Double price; + + private Double discountAmount; + + private Double internalCost; + + private String description; + + private BidItemStatusType status; + + private Builder() { + // force use of static builder() method + } + + /** + * Amenity type + */ + public Builder type(@Nullable AmenityType type) { + this.type = type; + return this; + } + + /** + * The code representing the amenity. + */ + public Builder code(@Nullable String code) { + this.code = code; + return this; + } + + /** + * The category of the amenity. + */ + public Builder category(@Nullable String category) { + this.category = category; + return this; + } + + /** + * True indicates the amenity price is included in the rate. + */ + public Builder included(@Nullable Boolean included) { + this.included = included; + return this; + } + + /** + * The price of the amenity. + */ + public Builder price(@Nullable Double price) { + this.price = price; + return this; + } + + /** + * The price of the amenity after discounts. + */ + public Builder discountAmount(@Nullable Double discountAmount) { + this.discountAmount = discountAmount; + return this; + } + + /** + * Internal cost of the amenity. + */ + public Builder internalCost(@Nullable Double internalCost) { + this.internalCost = internalCost; + return this; + } + + /** + * Additional notes on the amenity. + */ + public Builder description(@Nullable String description) { + this.description = description; + return this; + } + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + public Builder status(@Nullable BidItemStatusType status) { + this.status = status; + return this; + } + + public TravelBidAmenity build() { + return new TravelBidAmenity( + type, code, category, included, price, discountAmount, internalCost, description, status); + } + + private static final LazySingletonValue _SINGLETON_VALUE_Included = + new LazySingletonValue<>("included", "false", new TypeReference() {}); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidAmenityJson.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidAmenityJson.java deleted file mode 100644 index 7ce7e644a..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelBidAmenityJson.java +++ /dev/null @@ -1,413 +0,0 @@ -/* - * 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.Double; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * TravelBidAmenityJson - * - *

Amenity details for a travel bid. - */ -public class TravelBidAmenityJson { - /** - * Amenity type - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private AmenityTypeJson type; - - /** - * The code representing the amenity. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("code") - private String code; - - /** - * The category of the amenity. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("category") - private String category; - - /** - * True indicates the amenity price is included in the rate. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("included") - private Boolean included; - - /** - * The price of the amenity. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("price") - private Double price; - - /** - * The price of the amenity after discounts. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("discountAmount") - private Double discountAmount; - - /** - * Internal cost of the amenity. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("internalCost") - private Double internalCost; - - /** - * Additional notes on the amenity. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("description") - private String description; - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("status") - private BidItemStatusTypeJson status; - - @JsonCreator - public TravelBidAmenityJson( - @JsonProperty("type") @Nullable AmenityTypeJson type, - @JsonProperty("code") @Nullable String code, - @JsonProperty("category") @Nullable String category, - @JsonProperty("included") @Nullable Boolean included, - @JsonProperty("price") @Nullable Double price, - @JsonProperty("discountAmount") @Nullable Double discountAmount, - @JsonProperty("internalCost") @Nullable Double internalCost, - @JsonProperty("description") @Nullable String description, - @JsonProperty("status") @Nullable BidItemStatusTypeJson status) { - this.type = type; - this.code = code; - this.category = category; - this.included = Optional.ofNullable(included).orElse(Builder._SINGLETON_VALUE_Included.value()); - this.price = price; - this.discountAmount = discountAmount; - this.internalCost = internalCost; - this.description = description; - this.status = status; - } - - public TravelBidAmenityJson() { - this(null, null, null, null, null, null, null, null, null); - } - - /** - * Amenity type - */ - public Optional type() { - return Optional.ofNullable(this.type); - } - - /** - * The code representing the amenity. - */ - public Optional code() { - return Optional.ofNullable(this.code); - } - - /** - * The category of the amenity. - */ - public Optional category() { - return Optional.ofNullable(this.category); - } - - /** - * True indicates the amenity price is included in the rate. - */ - public Optional included() { - return Optional.ofNullable(this.included); - } - - /** - * The price of the amenity. - */ - public Optional price() { - return Optional.ofNullable(this.price); - } - - /** - * The price of the amenity after discounts. - */ - public Optional discountAmount() { - return Optional.ofNullable(this.discountAmount); - } - - /** - * Internal cost of the amenity. - */ - public Optional internalCost() { - return Optional.ofNullable(this.internalCost); - } - - /** - * Additional notes on the amenity. - */ - public Optional description() { - return Optional.ofNullable(this.description); - } - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - public Optional status() { - return Optional.ofNullable(this.status); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Amenity type - */ - public TravelBidAmenityJson withType(@Nullable AmenityTypeJson type) { - this.type = type; - return this; - } - - /** - * The code representing the amenity. - */ - public TravelBidAmenityJson withCode(@Nullable String code) { - this.code = code; - return this; - } - - /** - * The category of the amenity. - */ - public TravelBidAmenityJson withCategory(@Nullable String category) { - this.category = category; - return this; - } - - /** - * True indicates the amenity price is included in the rate. - */ - public TravelBidAmenityJson withIncluded(@Nullable Boolean included) { - this.included = included; - return this; - } - - /** - * The price of the amenity. - */ - public TravelBidAmenityJson withPrice(@Nullable Double price) { - this.price = price; - return this; - } - - /** - * The price of the amenity after discounts. - */ - public TravelBidAmenityJson withDiscountAmount(@Nullable Double discountAmount) { - this.discountAmount = discountAmount; - return this; - } - - /** - * Internal cost of the amenity. - */ - public TravelBidAmenityJson withInternalCost(@Nullable Double internalCost) { - this.internalCost = internalCost; - return this; - } - - /** - * Additional notes on the amenity. - */ - public TravelBidAmenityJson withDescription(@Nullable String description) { - this.description = description; - return this; - } - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - public TravelBidAmenityJson withStatus(@Nullable BidItemStatusTypeJson status) { - this.status = status; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - TravelBidAmenityJson other = (TravelBidAmenityJson) o; - return Utils.enhancedDeepEquals(this.type, other.type) - && Utils.enhancedDeepEquals(this.code, other.code) - && Utils.enhancedDeepEquals(this.category, other.category) - && Utils.enhancedDeepEquals(this.included, other.included) - && Utils.enhancedDeepEquals(this.price, other.price) - && Utils.enhancedDeepEquals(this.discountAmount, other.discountAmount) - && Utils.enhancedDeepEquals(this.internalCost, other.internalCost) - && Utils.enhancedDeepEquals(this.description, other.description) - && Utils.enhancedDeepEquals(this.status, other.status); - } - - @Override - public int hashCode() { - return Utils.enhancedHash( - type, code, category, included, price, discountAmount, internalCost, description, status); - } - - @Override - public String toString() { - return Utils.toString( - TravelBidAmenityJson.class, - "type", - type, - "code", - code, - "category", - category, - "included", - included, - "price", - price, - "discountAmount", - discountAmount, - "internalCost", - internalCost, - "description", - description, - "status", - status); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private AmenityTypeJson type; - - private String code; - - private String category; - - private Boolean included; - - private Double price; - - private Double discountAmount; - - private Double internalCost; - - private String description; - - private BidItemStatusTypeJson status; - - private Builder() { - // force use of static builder() method - } - - /** - * Amenity type - */ - public Builder type(@Nullable AmenityTypeJson type) { - this.type = type; - return this; - } - - /** - * The code representing the amenity. - */ - public Builder code(@Nullable String code) { - this.code = code; - return this; - } - - /** - * The category of the amenity. - */ - public Builder category(@Nullable String category) { - this.category = category; - return this; - } - - /** - * True indicates the amenity price is included in the rate. - */ - public Builder included(@Nullable Boolean included) { - this.included = included; - return this; - } - - /** - * The price of the amenity. - */ - public Builder price(@Nullable Double price) { - this.price = price; - return this; - } - - /** - * The price of the amenity after discounts. - */ - public Builder discountAmount(@Nullable Double discountAmount) { - this.discountAmount = discountAmount; - return this; - } - - /** - * Internal cost of the amenity. - */ - public Builder internalCost(@Nullable Double internalCost) { - this.internalCost = internalCost; - return this; - } - - /** - * Additional notes on the amenity. - */ - public Builder description(@Nullable String description) { - this.description = description; - return this; - } - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - public Builder status(@Nullable BidItemStatusTypeJson status) { - this.status = status; - return this; - } - - public TravelBidAmenityJson build() { - return new TravelBidAmenityJson( - type, code, category, included, price, discountAmount, internalCost, description, status); - } - - private static final LazySingletonValue _SINGLETON_VALUE_Included = - new LazySingletonValue<>("included", "false", new TypeReference() {}); - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidComment.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidComment.java new file mode 100644 index 000000000..cc9e299fd --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelBidComment.java @@ -0,0 +1,136 @@ +/* + * 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; + +/** + * TravelBidComment + * + *

A comment on a travel bid. + */ +public class TravelBidComment { + /** + * Bid comment type + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("commentType") + private CommentType commentType; + + /** + * The text of the comment. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("comment") + private String comment; + + @JsonCreator + public TravelBidComment( + @JsonProperty("commentType") @Nullable CommentType commentType, + @JsonProperty("comment") @Nullable String comment) { + this.commentType = commentType; + this.comment = comment; + } + + public TravelBidComment() { + this(null, null); + } + + /** + * Bid comment type + */ + public Optional commentType() { + return Optional.ofNullable(this.commentType); + } + + /** + * The text of the comment. + */ + public Optional comment() { + return Optional.ofNullable(this.comment); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Bid comment type + */ + public TravelBidComment withCommentType(@Nullable CommentType commentType) { + this.commentType = commentType; + return this; + } + + /** + * The text of the comment. + */ + public TravelBidComment withComment(@Nullable String comment) { + this.comment = comment; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TravelBidComment other = (TravelBidComment) o; + return Utils.enhancedDeepEquals(this.commentType, other.commentType) + && Utils.enhancedDeepEquals(this.comment, other.comment); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(commentType, comment); + } + + @Override + public String toString() { + return Utils.toString(TravelBidComment.class, "commentType", commentType, "comment", comment); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private CommentType commentType; + + private String comment; + + private Builder() { + // force use of static builder() method + } + + /** + * Bid comment type + */ + public Builder commentType(@Nullable CommentType commentType) { + this.commentType = commentType; + return this; + } + + /** + * The text of the comment. + */ + public Builder comment(@Nullable String comment) { + this.comment = comment; + return this; + } + + public TravelBidComment build() { + return new TravelBidComment(commentType, comment); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidCommentJson.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidCommentJson.java deleted file mode 100644 index 3396ba91a..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelBidCommentJson.java +++ /dev/null @@ -1,136 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * TravelBidCommentJson - * - *

A comment on a travel bid. - */ -public class TravelBidCommentJson { - /** - * Bid comment type - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("commentType") - private CommentTypeJson commentType; - - /** - * The text of the comment. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("comment") - private String comment; - - @JsonCreator - public TravelBidCommentJson( - @JsonProperty("commentType") @Nullable CommentTypeJson commentType, - @JsonProperty("comment") @Nullable String comment) { - this.commentType = commentType; - this.comment = comment; - } - - public TravelBidCommentJson() { - this(null, null); - } - - /** - * Bid comment type - */ - public Optional commentType() { - return Optional.ofNullable(this.commentType); - } - - /** - * The text of the comment. - */ - public Optional comment() { - return Optional.ofNullable(this.comment); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Bid comment type - */ - public TravelBidCommentJson withCommentType(@Nullable CommentTypeJson commentType) { - this.commentType = commentType; - return this; - } - - /** - * The text of the comment. - */ - public TravelBidCommentJson withComment(@Nullable String comment) { - this.comment = comment; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - TravelBidCommentJson other = (TravelBidCommentJson) o; - return Utils.enhancedDeepEquals(this.commentType, other.commentType) - && Utils.enhancedDeepEquals(this.comment, other.comment); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(commentType, comment); - } - - @Override - public String toString() { - return Utils.toString(TravelBidCommentJson.class, "commentType", commentType, "comment", comment); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private CommentTypeJson commentType; - - private String comment; - - private Builder() { - // force use of static builder() method - } - - /** - * Bid comment type - */ - public Builder commentType(@Nullable CommentTypeJson commentType) { - this.commentType = commentType; - return this; - } - - /** - * The text of the comment. - */ - public Builder comment(@Nullable String comment) { - this.comment = comment; - return this; - } - - public TravelBidCommentJson build() { - return new TravelBidCommentJson(commentType, comment); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidDiscount.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidDiscount.java new file mode 100644 index 000000000..aff991d60 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelBidDiscount.java @@ -0,0 +1,177 @@ +/* + * 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.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * TravelBidDiscount + * + *

Discount for a travel bid. + */ +public class TravelBidDiscount { + /** + * ID of the property's room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("propertyRoom") + private TravelBidDiscountPropertyRoom propertyRoom; + + /** + * Discount percentage for the dynamic rate. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("discount") + private Long discount; + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("status") + private BidItemStatusType status; + + @JsonCreator + public TravelBidDiscount( + @JsonProperty("propertyRoom") @Nullable TravelBidDiscountPropertyRoom propertyRoom, + @JsonProperty("discount") @Nullable Long discount, + @JsonProperty("status") @Nullable BidItemStatusType status) { + this.propertyRoom = propertyRoom; + this.discount = discount; + this.status = status; + } + + public TravelBidDiscount() { + this(null, null, null); + } + + /** + * ID of the property's room. + */ + public Optional propertyRoom() { + return Optional.ofNullable(this.propertyRoom); + } + + /** + * Discount percentage for the dynamic rate. + */ + public Optional discount() { + return Optional.ofNullable(this.discount); + } + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + public Optional status() { + return Optional.ofNullable(this.status); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * ID of the property's room. + */ + public TravelBidDiscount withPropertyRoom(@Nullable TravelBidDiscountPropertyRoom propertyRoom) { + this.propertyRoom = propertyRoom; + return this; + } + + /** + * Discount percentage for the dynamic rate. + */ + public TravelBidDiscount withDiscount(@Nullable Long discount) { + this.discount = discount; + return this; + } + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + public TravelBidDiscount withStatus(@Nullable BidItemStatusType status) { + this.status = status; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TravelBidDiscount other = (TravelBidDiscount) o; + return Utils.enhancedDeepEquals(this.propertyRoom, other.propertyRoom) + && Utils.enhancedDeepEquals(this.discount, other.discount) + && Utils.enhancedDeepEquals(this.status, other.status); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(propertyRoom, discount, status); + } + + @Override + public String toString() { + return Utils.toString( + TravelBidDiscount.class, "propertyRoom", propertyRoom, "discount", discount, "status", status); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private TravelBidDiscountPropertyRoom propertyRoom; + + private Long discount; + + private BidItemStatusType status; + + private Builder() { + // force use of static builder() method + } + + /** + * ID of the property's room. + */ + public Builder propertyRoom(@Nullable TravelBidDiscountPropertyRoom propertyRoom) { + this.propertyRoom = propertyRoom; + return this; + } + + /** + * Discount percentage for the dynamic rate. + */ + public Builder discount(@Nullable Long discount) { + this.discount = discount; + return this; + } + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + public Builder status(@Nullable BidItemStatusType status) { + this.status = status; + return this; + } + + public TravelBidDiscount build() { + return new TravelBidDiscount(propertyRoom, discount, status); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidDiscountJson.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidDiscountJson.java deleted file mode 100644 index d7f577d73..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelBidDiscountJson.java +++ /dev/null @@ -1,177 +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.Long; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * TravelBidDiscountJson - * - *

Discount for a travel bid. - */ -public class TravelBidDiscountJson { - /** - * ID of the property's room. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("propertyRoom") - private TravelBidDiscountJsonPropertyRoom propertyRoom; - - /** - * Discount percentage for the dynamic rate. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("discount") - private Long discount; - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("status") - private BidItemStatusTypeJson status; - - @JsonCreator - public TravelBidDiscountJson( - @JsonProperty("propertyRoom") @Nullable TravelBidDiscountJsonPropertyRoom propertyRoom, - @JsonProperty("discount") @Nullable Long discount, - @JsonProperty("status") @Nullable BidItemStatusTypeJson status) { - this.propertyRoom = propertyRoom; - this.discount = discount; - this.status = status; - } - - public TravelBidDiscountJson() { - this(null, null, null); - } - - /** - * ID of the property's room. - */ - public Optional propertyRoom() { - return Optional.ofNullable(this.propertyRoom); - } - - /** - * Discount percentage for the dynamic rate. - */ - public Optional discount() { - return Optional.ofNullable(this.discount); - } - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - public Optional status() { - return Optional.ofNullable(this.status); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * ID of the property's room. - */ - public TravelBidDiscountJson withPropertyRoom(@Nullable TravelBidDiscountJsonPropertyRoom propertyRoom) { - this.propertyRoom = propertyRoom; - return this; - } - - /** - * Discount percentage for the dynamic rate. - */ - public TravelBidDiscountJson withDiscount(@Nullable Long discount) { - this.discount = discount; - return this; - } - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - public TravelBidDiscountJson withStatus(@Nullable BidItemStatusTypeJson status) { - this.status = status; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - TravelBidDiscountJson other = (TravelBidDiscountJson) o; - return Utils.enhancedDeepEquals(this.propertyRoom, other.propertyRoom) - && Utils.enhancedDeepEquals(this.discount, other.discount) - && Utils.enhancedDeepEquals(this.status, other.status); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(propertyRoom, discount, status); - } - - @Override - public String toString() { - return Utils.toString( - TravelBidDiscountJson.class, "propertyRoom", propertyRoom, "discount", discount, "status", status); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private TravelBidDiscountJsonPropertyRoom propertyRoom; - - private Long discount; - - private BidItemStatusTypeJson status; - - private Builder() { - // force use of static builder() method - } - - /** - * ID of the property's room. - */ - public Builder propertyRoom(@Nullable TravelBidDiscountJsonPropertyRoom propertyRoom) { - this.propertyRoom = propertyRoom; - return this; - } - - /** - * Discount percentage for the dynamic rate. - */ - public Builder discount(@Nullable Long discount) { - this.discount = discount; - return this; - } - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - public Builder status(@Nullable BidItemStatusTypeJson status) { - this.status = status; - return this; - } - - public TravelBidDiscountJson build() { - return new TravelBidDiscountJson(propertyRoom, discount, status); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidDiscountJsonPropertyRoom.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidDiscountJsonPropertyRoom.java deleted file mode 100644 index b66598682..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelBidDiscountJsonPropertyRoom.java +++ /dev/null @@ -1,100 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * TravelBidDiscountJsonPropertyRoom - * - *

ID of the property's room. - */ -public class TravelBidDiscountJsonPropertyRoom { - /** - * The unique ID of the property room. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public TravelBidDiscountJsonPropertyRoom(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public TravelBidDiscountJsonPropertyRoom() { - this(null); - } - - /** - * The unique ID of the property room. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique ID of the property room. - */ - public TravelBidDiscountJsonPropertyRoom withId(@Nullable String id) { - this.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; - } - TravelBidDiscountJsonPropertyRoom other = (TravelBidDiscountJsonPropertyRoom) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(TravelBidDiscountJsonPropertyRoom.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique ID of the property room. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public TravelBidDiscountJsonPropertyRoom build() { - return new TravelBidDiscountJsonPropertyRoom(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidDiscountPropertyRoom.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidDiscountPropertyRoom.java new file mode 100644 index 000000000..74d403b12 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelBidDiscountPropertyRoom.java @@ -0,0 +1,100 @@ +/* + * 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; + +/** + * TravelBidDiscountPropertyRoom + * + *

ID of the property's room. + */ +public class TravelBidDiscountPropertyRoom { + /** + * The unique ID of the property room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public TravelBidDiscountPropertyRoom(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public TravelBidDiscountPropertyRoom() { + this(null); + } + + /** + * The unique ID of the property room. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique ID of the property room. + */ + public TravelBidDiscountPropertyRoom withId(@Nullable String id) { + this.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; + } + TravelBidDiscountPropertyRoom other = (TravelBidDiscountPropertyRoom) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(TravelBidDiscountPropertyRoom.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique ID of the property room. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public TravelBidDiscountPropertyRoom build() { + return new TravelBidDiscountPropertyRoom(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidDisposition.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidDisposition.java new file mode 100644 index 000000000..9a301a5e3 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelBidDisposition.java @@ -0,0 +1,179 @@ +/* + * 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.Override; +import java.lang.String; +import java.util.List; +import java.util.Optional; + +/** + * TravelBidDisposition + * + *

Represents bid disposition details. + */ +public class TravelBidDisposition { + /** + * A travel proposal bid. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("bid") + private TravelProposalBid1 bid; + + /** + * List of accepted bid rooms. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("acceptedBidRooms") + private List acceptedBidRooms; + + /** + * Rate type. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("rateType") + private RateType rateType; + + @JsonCreator + public TravelBidDisposition( + @JsonProperty("bid") @Nullable TravelProposalBid1 bid, + @JsonProperty("acceptedBidRooms") @Nullable List acceptedBidRooms, + @JsonProperty("rateType") @Nullable RateType rateType) { + this.bid = bid; + this.acceptedBidRooms = acceptedBidRooms; + this.rateType = Optional.ofNullable(rateType).orElse(Builder._SINGLETON_VALUE_RateType.value()); + } + + public TravelBidDisposition() { + this(null, null, null); + } + + /** + * A travel proposal bid. + */ + public Optional bid() { + return Optional.ofNullable(this.bid); + } + + /** + * List of accepted bid rooms. + */ + public Optional> acceptedBidRooms() { + return Optional.ofNullable(this.acceptedBidRooms); + } + + /** + * Rate type. + */ + public Optional rateType() { + return Optional.ofNullable(this.rateType); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * A travel proposal bid. + */ + public TravelBidDisposition withBid(@Nullable TravelProposalBid1 bid) { + this.bid = bid; + return this; + } + + /** + * List of accepted bid rooms. + */ + public TravelBidDisposition withAcceptedBidRooms( + @Nullable List acceptedBidRooms) { + this.acceptedBidRooms = acceptedBidRooms; + return this; + } + + /** + * Rate type. + */ + public TravelBidDisposition withRateType(@Nullable RateType rateType) { + this.rateType = rateType; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TravelBidDisposition other = (TravelBidDisposition) o; + return Utils.enhancedDeepEquals(this.bid, other.bid) + && Utils.enhancedDeepEquals(this.acceptedBidRooms, other.acceptedBidRooms) + && Utils.enhancedDeepEquals(this.rateType, other.rateType); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(bid, acceptedBidRooms, rateType); + } + + @Override + public String toString() { + return Utils.toString( + TravelBidDisposition.class, "bid", bid, "acceptedBidRooms", acceptedBidRooms, "rateType", rateType); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private TravelProposalBid1 bid; + + private List acceptedBidRooms; + + private RateType rateType; + + private Builder() { + // force use of static builder() method + } + + /** + * A travel proposal bid. + */ + public Builder bid(@Nullable TravelProposalBid1 bid) { + this.bid = bid; + return this; + } + + /** + * List of accepted bid rooms. + */ + public Builder acceptedBidRooms(@Nullable List acceptedBidRooms) { + this.acceptedBidRooms = acceptedBidRooms; + return this; + } + + /** + * Rate type. + */ + public Builder rateType(@Nullable RateType rateType) { + this.rateType = rateType; + return this; + } + + public TravelBidDisposition build() { + return new TravelBidDisposition(bid, acceptedBidRooms, rateType); + } + + private static final LazySingletonValue _SINGLETON_VALUE_RateType = + new LazySingletonValue<>("rateType", "\"fixed\"", new TypeReference() {}); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidDispositionAcceptedRoom.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidDispositionAcceptedRoom.java new file mode 100644 index 000000000..80adc273f --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelBidDispositionAcceptedRoom.java @@ -0,0 +1,180 @@ +/* + * 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; + +/** + * TravelBidDispositionAcceptedRoom + * + *

Represents bid disposition's accepted room. + */ +public class TravelBidDispositionAcceptedRoom { + /** + * ID of the property's room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("propertyRoom") + private TravelBidDispositionAcceptedRoomPropertyRoom propertyRoom; + + /** + * Indicates whether the LRA rates are accepted. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lraRateAccepted") + private Boolean lraRateAccepted; + + /** + * Indicates whether the NLRA rates are accepted. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("nlraRateAccepted") + private Boolean nlraRateAccepted; + + @JsonCreator + public TravelBidDispositionAcceptedRoom( + @JsonProperty("propertyRoom") @Nullable TravelBidDispositionAcceptedRoomPropertyRoom propertyRoom, + @JsonProperty("lraRateAccepted") @Nullable Boolean lraRateAccepted, + @JsonProperty("nlraRateAccepted") @Nullable Boolean nlraRateAccepted) { + this.propertyRoom = propertyRoom; + this.lraRateAccepted = lraRateAccepted; + this.nlraRateAccepted = nlraRateAccepted; + } + + public TravelBidDispositionAcceptedRoom() { + this(null, null, null); + } + + /** + * ID of the property's room. + */ + public Optional propertyRoom() { + return Optional.ofNullable(this.propertyRoom); + } + + /** + * Indicates whether the LRA rates are accepted. + */ + public Optional lraRateAccepted() { + return Optional.ofNullable(this.lraRateAccepted); + } + + /** + * Indicates whether the NLRA rates are accepted. + */ + public Optional nlraRateAccepted() { + return Optional.ofNullable(this.nlraRateAccepted); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * ID of the property's room. + */ + public TravelBidDispositionAcceptedRoom withPropertyRoom( + @Nullable TravelBidDispositionAcceptedRoomPropertyRoom propertyRoom) { + this.propertyRoom = propertyRoom; + return this; + } + + /** + * Indicates whether the LRA rates are accepted. + */ + public TravelBidDispositionAcceptedRoom withLraRateAccepted(@Nullable Boolean lraRateAccepted) { + this.lraRateAccepted = lraRateAccepted; + return this; + } + + /** + * Indicates whether the NLRA rates are accepted. + */ + public TravelBidDispositionAcceptedRoom withNlraRateAccepted(@Nullable Boolean nlraRateAccepted) { + this.nlraRateAccepted = nlraRateAccepted; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TravelBidDispositionAcceptedRoom other = (TravelBidDispositionAcceptedRoom) o; + return Utils.enhancedDeepEquals(this.propertyRoom, other.propertyRoom) + && Utils.enhancedDeepEquals(this.lraRateAccepted, other.lraRateAccepted) + && Utils.enhancedDeepEquals(this.nlraRateAccepted, other.nlraRateAccepted); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(propertyRoom, lraRateAccepted, nlraRateAccepted); + } + + @Override + public String toString() { + return Utils.toString( + TravelBidDispositionAcceptedRoom.class, + "propertyRoom", + propertyRoom, + "lraRateAccepted", + lraRateAccepted, + "nlraRateAccepted", + nlraRateAccepted); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private TravelBidDispositionAcceptedRoomPropertyRoom propertyRoom; + + private Boolean lraRateAccepted; + + private Boolean nlraRateAccepted; + + private Builder() { + // force use of static builder() method + } + + /** + * ID of the property's room. + */ + public Builder propertyRoom(@Nullable TravelBidDispositionAcceptedRoomPropertyRoom propertyRoom) { + this.propertyRoom = propertyRoom; + return this; + } + + /** + * Indicates whether the LRA rates are accepted. + */ + public Builder lraRateAccepted(@Nullable Boolean lraRateAccepted) { + this.lraRateAccepted = lraRateAccepted; + return this; + } + + /** + * Indicates whether the NLRA rates are accepted. + */ + public Builder nlraRateAccepted(@Nullable Boolean nlraRateAccepted) { + this.nlraRateAccepted = nlraRateAccepted; + return this; + } + + public TravelBidDispositionAcceptedRoom build() { + return new TravelBidDispositionAcceptedRoom(propertyRoom, lraRateAccepted, nlraRateAccepted); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidDispositionAcceptedRoomJson.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidDispositionAcceptedRoomJson.java deleted file mode 100644 index 76c661142..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelBidDispositionAcceptedRoomJson.java +++ /dev/null @@ -1,180 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * TravelBidDispositionAcceptedRoomJson - * - *

Represents bid disposition's accepted room. - */ -public class TravelBidDispositionAcceptedRoomJson { - /** - * ID of the property's room. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("propertyRoom") - private TravelBidDispositionAcceptedRoomJsonPropertyRoom propertyRoom; - - /** - * Indicates whether the LRA rates are accepted. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("lraRateAccepted") - private Boolean lraRateAccepted; - - /** - * Indicates whether the NLRA rates are accepted. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("nlraRateAccepted") - private Boolean nlraRateAccepted; - - @JsonCreator - public TravelBidDispositionAcceptedRoomJson( - @JsonProperty("propertyRoom") @Nullable TravelBidDispositionAcceptedRoomJsonPropertyRoom propertyRoom, - @JsonProperty("lraRateAccepted") @Nullable Boolean lraRateAccepted, - @JsonProperty("nlraRateAccepted") @Nullable Boolean nlraRateAccepted) { - this.propertyRoom = propertyRoom; - this.lraRateAccepted = lraRateAccepted; - this.nlraRateAccepted = nlraRateAccepted; - } - - public TravelBidDispositionAcceptedRoomJson() { - this(null, null, null); - } - - /** - * ID of the property's room. - */ - public Optional propertyRoom() { - return Optional.ofNullable(this.propertyRoom); - } - - /** - * Indicates whether the LRA rates are accepted. - */ - public Optional lraRateAccepted() { - return Optional.ofNullable(this.lraRateAccepted); - } - - /** - * Indicates whether the NLRA rates are accepted. - */ - public Optional nlraRateAccepted() { - return Optional.ofNullable(this.nlraRateAccepted); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * ID of the property's room. - */ - public TravelBidDispositionAcceptedRoomJson withPropertyRoom( - @Nullable TravelBidDispositionAcceptedRoomJsonPropertyRoom propertyRoom) { - this.propertyRoom = propertyRoom; - return this; - } - - /** - * Indicates whether the LRA rates are accepted. - */ - public TravelBidDispositionAcceptedRoomJson withLraRateAccepted(@Nullable Boolean lraRateAccepted) { - this.lraRateAccepted = lraRateAccepted; - return this; - } - - /** - * Indicates whether the NLRA rates are accepted. - */ - public TravelBidDispositionAcceptedRoomJson withNlraRateAccepted(@Nullable Boolean nlraRateAccepted) { - this.nlraRateAccepted = nlraRateAccepted; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - TravelBidDispositionAcceptedRoomJson other = (TravelBidDispositionAcceptedRoomJson) o; - return Utils.enhancedDeepEquals(this.propertyRoom, other.propertyRoom) - && Utils.enhancedDeepEquals(this.lraRateAccepted, other.lraRateAccepted) - && Utils.enhancedDeepEquals(this.nlraRateAccepted, other.nlraRateAccepted); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(propertyRoom, lraRateAccepted, nlraRateAccepted); - } - - @Override - public String toString() { - return Utils.toString( - TravelBidDispositionAcceptedRoomJson.class, - "propertyRoom", - propertyRoom, - "lraRateAccepted", - lraRateAccepted, - "nlraRateAccepted", - nlraRateAccepted); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private TravelBidDispositionAcceptedRoomJsonPropertyRoom propertyRoom; - - private Boolean lraRateAccepted; - - private Boolean nlraRateAccepted; - - private Builder() { - // force use of static builder() method - } - - /** - * ID of the property's room. - */ - public Builder propertyRoom(@Nullable TravelBidDispositionAcceptedRoomJsonPropertyRoom propertyRoom) { - this.propertyRoom = propertyRoom; - return this; - } - - /** - * Indicates whether the LRA rates are accepted. - */ - public Builder lraRateAccepted(@Nullable Boolean lraRateAccepted) { - this.lraRateAccepted = lraRateAccepted; - return this; - } - - /** - * Indicates whether the NLRA rates are accepted. - */ - public Builder nlraRateAccepted(@Nullable Boolean nlraRateAccepted) { - this.nlraRateAccepted = nlraRateAccepted; - return this; - } - - public TravelBidDispositionAcceptedRoomJson build() { - return new TravelBidDispositionAcceptedRoomJson(propertyRoom, lraRateAccepted, nlraRateAccepted); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidDispositionAcceptedRoomJsonPropertyRoom.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidDispositionAcceptedRoomJsonPropertyRoom.java deleted file mode 100644 index 7a295218a..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelBidDispositionAcceptedRoomJsonPropertyRoom.java +++ /dev/null @@ -1,100 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * TravelBidDispositionAcceptedRoomJsonPropertyRoom - * - *

ID of the property's room. - */ -public class TravelBidDispositionAcceptedRoomJsonPropertyRoom { - /** - * The unique ID of the property room. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public TravelBidDispositionAcceptedRoomJsonPropertyRoom(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public TravelBidDispositionAcceptedRoomJsonPropertyRoom() { - this(null); - } - - /** - * The unique ID of the property room. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique ID of the property room. - */ - public TravelBidDispositionAcceptedRoomJsonPropertyRoom withId(@Nullable String id) { - this.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; - } - TravelBidDispositionAcceptedRoomJsonPropertyRoom other = (TravelBidDispositionAcceptedRoomJsonPropertyRoom) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(TravelBidDispositionAcceptedRoomJsonPropertyRoom.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique ID of the property room. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public TravelBidDispositionAcceptedRoomJsonPropertyRoom build() { - return new TravelBidDispositionAcceptedRoomJsonPropertyRoom(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidDispositionAcceptedRoomPropertyRoom.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidDispositionAcceptedRoomPropertyRoom.java new file mode 100644 index 000000000..812030b88 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelBidDispositionAcceptedRoomPropertyRoom.java @@ -0,0 +1,100 @@ +/* + * 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; + +/** + * TravelBidDispositionAcceptedRoomPropertyRoom + * + *

ID of the property's room. + */ +public class TravelBidDispositionAcceptedRoomPropertyRoom { + /** + * The unique ID of the property room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public TravelBidDispositionAcceptedRoomPropertyRoom(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public TravelBidDispositionAcceptedRoomPropertyRoom() { + this(null); + } + + /** + * The unique ID of the property room. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique ID of the property room. + */ + public TravelBidDispositionAcceptedRoomPropertyRoom withId(@Nullable String id) { + this.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; + } + TravelBidDispositionAcceptedRoomPropertyRoom other = (TravelBidDispositionAcceptedRoomPropertyRoom) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(TravelBidDispositionAcceptedRoomPropertyRoom.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique ID of the property room. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public TravelBidDispositionAcceptedRoomPropertyRoom build() { + return new TravelBidDispositionAcceptedRoomPropertyRoom(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidDispositionJson.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidDispositionJson.java deleted file mode 100644 index e4906741d..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelBidDispositionJson.java +++ /dev/null @@ -1,179 +0,0 @@ -/* - * 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.Override; -import java.lang.String; -import java.util.List; -import java.util.Optional; - -/** - * TravelBidDispositionJson - * - *

Represents bid disposition details. - */ -public class TravelBidDispositionJson { - /** - * A travel proposal bid. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("bid") - private TravelProposalBidIdJson bid; - - /** - * List of accepted bid rooms. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("acceptedBidRooms") - private List acceptedBidRooms; - - /** - * Rate type. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("rateType") - private RateTypeJson rateType; - - @JsonCreator - public TravelBidDispositionJson( - @JsonProperty("bid") @Nullable TravelProposalBidIdJson bid, - @JsonProperty("acceptedBidRooms") @Nullable List acceptedBidRooms, - @JsonProperty("rateType") @Nullable RateTypeJson rateType) { - this.bid = bid; - this.acceptedBidRooms = acceptedBidRooms; - this.rateType = Optional.ofNullable(rateType).orElse(Builder._SINGLETON_VALUE_RateType.value()); - } - - public TravelBidDispositionJson() { - this(null, null, null); - } - - /** - * A travel proposal bid. - */ - public Optional bid() { - return Optional.ofNullable(this.bid); - } - - /** - * List of accepted bid rooms. - */ - public Optional> acceptedBidRooms() { - return Optional.ofNullable(this.acceptedBidRooms); - } - - /** - * Rate type. - */ - public Optional rateType() { - return Optional.ofNullable(this.rateType); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * A travel proposal bid. - */ - public TravelBidDispositionJson withBid(@Nullable TravelProposalBidIdJson bid) { - this.bid = bid; - return this; - } - - /** - * List of accepted bid rooms. - */ - public TravelBidDispositionJson withAcceptedBidRooms( - @Nullable List acceptedBidRooms) { - this.acceptedBidRooms = acceptedBidRooms; - return this; - } - - /** - * Rate type. - */ - public TravelBidDispositionJson withRateType(@Nullable RateTypeJson rateType) { - this.rateType = rateType; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - TravelBidDispositionJson other = (TravelBidDispositionJson) o; - return Utils.enhancedDeepEquals(this.bid, other.bid) - && Utils.enhancedDeepEquals(this.acceptedBidRooms, other.acceptedBidRooms) - && Utils.enhancedDeepEquals(this.rateType, other.rateType); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(bid, acceptedBidRooms, rateType); - } - - @Override - public String toString() { - return Utils.toString( - TravelBidDispositionJson.class, "bid", bid, "acceptedBidRooms", acceptedBidRooms, "rateType", rateType); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private TravelProposalBidIdJson bid; - - private List acceptedBidRooms; - - private RateTypeJson rateType; - - private Builder() { - // force use of static builder() method - } - - /** - * A travel proposal bid. - */ - public Builder bid(@Nullable TravelProposalBidIdJson bid) { - this.bid = bid; - return this; - } - - /** - * List of accepted bid rooms. - */ - public Builder acceptedBidRooms(@Nullable List acceptedBidRooms) { - this.acceptedBidRooms = acceptedBidRooms; - return this; - } - - /** - * Rate type. - */ - public Builder rateType(@Nullable RateTypeJson rateType) { - this.rateType = rateType; - return this; - } - - public TravelBidDispositionJson build() { - return new TravelBidDispositionJson(bid, acceptedBidRooms, rateType); - } - - private static final LazySingletonValue _SINGLETON_VALUE_RateType = - new LazySingletonValue<>("rateType", "\"fixed\"", new TypeReference() {}); - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeason.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeason.java new file mode 100644 index 000000000..5ec9aa6fc --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeason.java @@ -0,0 +1,384 @@ +/* + * 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.Long; +import java.lang.Override; +import java.lang.String; +import java.time.LocalDate; +import java.util.List; +import java.util.Optional; + +/** + * TravelBidFairSeason + * + *

The fair season for a travel bid. + */ +public class TravelBidFairSeason { + /** + * Fair season type. Blackout means that no special rate is negotiated for that date and Best Available + * Rates will apply + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private FairSeasonType type; + + /** + * Fair season name. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + /** + * The ISO 8601 start date of the fair season. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("startDate") + private LocalDate startDate; + + /** + * The ISO 8601 end date of the fair season. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("endDate") + private LocalDate endDate; + + /** + * Minimum length of stay for the fair season. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("minLengthOfStay") + private Long minLengthOfStay; + + /** + * Release period for the fair season. Release period is the minimum number of days between the booking + * being made and the earliest arrival date. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("releasePeriod") + private Long releasePeriod; + + /** + * Collection of rates for the fair season. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("rates") + private List rates; + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("status") + private BidItemStatusType status; + + @JsonCreator + public TravelBidFairSeason( + @JsonProperty("type") @Nullable FairSeasonType type, + @JsonProperty("name") @Nullable String name, + @JsonProperty("startDate") @Nullable LocalDate startDate, + @JsonProperty("endDate") @Nullable LocalDate endDate, + @JsonProperty("minLengthOfStay") @Nullable Long minLengthOfStay, + @JsonProperty("releasePeriod") @Nullable Long releasePeriod, + @JsonProperty("rates") @Nullable List rates, + @JsonProperty("status") @Nullable BidItemStatusType status) { + this.type = Optional.ofNullable(type).orElse(Builder._SINGLETON_VALUE_Type.value()); + this.name = name; + this.startDate = startDate; + this.endDate = endDate; + this.minLengthOfStay = minLengthOfStay; + this.releasePeriod = releasePeriod; + this.rates = rates; + this.status = status; + } + + public TravelBidFairSeason() { + this(null, null, null, null, null, null, null, null); + } + + /** + * Fair season type. Blackout means that no special rate is negotiated for that date and Best Available + * Rates will apply + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + /** + * Fair season name. + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * The ISO 8601 start date of the fair season. + */ + public Optional startDate() { + return Optional.ofNullable(this.startDate); + } + + /** + * The ISO 8601 end date of the fair season. + */ + public Optional endDate() { + return Optional.ofNullable(this.endDate); + } + + /** + * Minimum length of stay for the fair season. + */ + public Optional minLengthOfStay() { + return Optional.ofNullable(this.minLengthOfStay); + } + + /** + * Release period for the fair season. Release period is the minimum number of days between the booking + * being made and the earliest arrival date. + */ + public Optional releasePeriod() { + return Optional.ofNullable(this.releasePeriod); + } + + /** + * Collection of rates for the fair season. + */ + public Optional> rates() { + return Optional.ofNullable(this.rates); + } + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + public Optional status() { + return Optional.ofNullable(this.status); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Fair season type. Blackout means that no special rate is negotiated for that date and Best Available + * Rates will apply + */ + public TravelBidFairSeason withType(@Nullable FairSeasonType type) { + this.type = type; + return this; + } + + /** + * Fair season name. + */ + public TravelBidFairSeason withName(@Nullable String name) { + this.name = name; + return this; + } + + /** + * The ISO 8601 start date of the fair season. + */ + public TravelBidFairSeason withStartDate(@Nullable LocalDate startDate) { + this.startDate = startDate; + return this; + } + + /** + * The ISO 8601 end date of the fair season. + */ + public TravelBidFairSeason withEndDate(@Nullable LocalDate endDate) { + this.endDate = endDate; + return this; + } + + /** + * Minimum length of stay for the fair season. + */ + public TravelBidFairSeason withMinLengthOfStay(@Nullable Long minLengthOfStay) { + this.minLengthOfStay = minLengthOfStay; + return this; + } + + /** + * Release period for the fair season. Release period is the minimum number of days between the booking + * being made and the earliest arrival date. + */ + public TravelBidFairSeason withReleasePeriod(@Nullable Long releasePeriod) { + this.releasePeriod = releasePeriod; + return this; + } + + /** + * Collection of rates for the fair season. + */ + public TravelBidFairSeason withRates(@Nullable List rates) { + this.rates = rates; + return this; + } + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + public TravelBidFairSeason withStatus(@Nullable BidItemStatusType status) { + this.status = status; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TravelBidFairSeason other = (TravelBidFairSeason) o; + return Utils.enhancedDeepEquals(this.type, other.type) + && Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.startDate, other.startDate) + && Utils.enhancedDeepEquals(this.endDate, other.endDate) + && Utils.enhancedDeepEquals(this.minLengthOfStay, other.minLengthOfStay) + && Utils.enhancedDeepEquals(this.releasePeriod, other.releasePeriod) + && Utils.enhancedDeepEquals(this.rates, other.rates) + && Utils.enhancedDeepEquals(this.status, other.status); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(type, name, startDate, endDate, minLengthOfStay, releasePeriod, rates, status); + } + + @Override + public String toString() { + return Utils.toString( + TravelBidFairSeason.class, + "type", + type, + "name", + name, + "startDate", + startDate, + "endDate", + endDate, + "minLengthOfStay", + minLengthOfStay, + "releasePeriod", + releasePeriod, + "rates", + rates, + "status", + status); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private FairSeasonType type; + + private String name; + + private LocalDate startDate; + + private LocalDate endDate; + + private Long minLengthOfStay; + + private Long releasePeriod; + + private List rates; + + private BidItemStatusType status; + + private Builder() { + // force use of static builder() method + } + + /** + * Fair season type. Blackout means that no special rate is negotiated for that date and Best Available + * Rates will apply + */ + public Builder type(@Nullable FairSeasonType type) { + this.type = type; + return this; + } + + /** + * Fair season name. + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + /** + * The ISO 8601 start date of the fair season. + */ + public Builder startDate(@Nullable LocalDate startDate) { + this.startDate = startDate; + return this; + } + + /** + * The ISO 8601 end date of the fair season. + */ + public Builder endDate(@Nullable LocalDate endDate) { + this.endDate = endDate; + return this; + } + + /** + * Minimum length of stay for the fair season. + */ + public Builder minLengthOfStay(@Nullable Long minLengthOfStay) { + this.minLengthOfStay = minLengthOfStay; + return this; + } + + /** + * Release period for the fair season. Release period is the minimum number of days between the booking + * being made and the earliest arrival date. + */ + public Builder releasePeriod(@Nullable Long releasePeriod) { + this.releasePeriod = releasePeriod; + return this; + } + + /** + * Collection of rates for the fair season. + */ + public Builder rates(@Nullable List rates) { + this.rates = rates; + return this; + } + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + public Builder status(@Nullable BidItemStatusType status) { + this.status = status; + return this; + } + + public TravelBidFairSeason build() { + return new TravelBidFairSeason( + type, name, startDate, endDate, minLengthOfStay, releasePeriod, rates, status); + } + + private static final LazySingletonValue _SINGLETON_VALUE_Type = + new LazySingletonValue<>("type", "\"negotiated\"", new TypeReference() {}); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeasonJson.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeasonJson.java deleted file mode 100644 index 2bb74acd6..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeasonJson.java +++ /dev/null @@ -1,384 +0,0 @@ -/* - * 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.Long; -import java.lang.Override; -import java.lang.String; -import java.time.LocalDate; -import java.util.List; -import java.util.Optional; - -/** - * TravelBidFairSeasonJson - * - *

The fair season for a travel bid. - */ -public class TravelBidFairSeasonJson { - /** - * Fair season type. Blackout means that no special rate is negotiated for that date and Best Available - * Rates will apply - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private FairSeasonTypeJson type; - - /** - * Fair season name. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - /** - * The ISO 8601 start date of the fair season. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("startDate") - private LocalDate startDate; - - /** - * The ISO 8601 end date of the fair season. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("endDate") - private LocalDate endDate; - - /** - * Minimum length of stay for the fair season. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("minLengthOfStay") - private Long minLengthOfStay; - - /** - * Release period for the fair season. Release period is the minimum number of days between the booking - * being made and the earliest arrival date. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("releasePeriod") - private Long releasePeriod; - - /** - * Collection of rates for the fair season. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("rates") - private List rates; - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("status") - private BidItemStatusTypeJson status; - - @JsonCreator - public TravelBidFairSeasonJson( - @JsonProperty("type") @Nullable FairSeasonTypeJson type, - @JsonProperty("name") @Nullable String name, - @JsonProperty("startDate") @Nullable LocalDate startDate, - @JsonProperty("endDate") @Nullable LocalDate endDate, - @JsonProperty("minLengthOfStay") @Nullable Long minLengthOfStay, - @JsonProperty("releasePeriod") @Nullable Long releasePeriod, - @JsonProperty("rates") @Nullable List rates, - @JsonProperty("status") @Nullable BidItemStatusTypeJson status) { - this.type = Optional.ofNullable(type).orElse(Builder._SINGLETON_VALUE_Type.value()); - this.name = name; - this.startDate = startDate; - this.endDate = endDate; - this.minLengthOfStay = minLengthOfStay; - this.releasePeriod = releasePeriod; - this.rates = rates; - this.status = status; - } - - public TravelBidFairSeasonJson() { - this(null, null, null, null, null, null, null, null); - } - - /** - * Fair season type. Blackout means that no special rate is negotiated for that date and Best Available - * Rates will apply - */ - public Optional type() { - return Optional.ofNullable(this.type); - } - - /** - * Fair season name. - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - /** - * The ISO 8601 start date of the fair season. - */ - public Optional startDate() { - return Optional.ofNullable(this.startDate); - } - - /** - * The ISO 8601 end date of the fair season. - */ - public Optional endDate() { - return Optional.ofNullable(this.endDate); - } - - /** - * Minimum length of stay for the fair season. - */ - public Optional minLengthOfStay() { - return Optional.ofNullable(this.minLengthOfStay); - } - - /** - * Release period for the fair season. Release period is the minimum number of days between the booking - * being made and the earliest arrival date. - */ - public Optional releasePeriod() { - return Optional.ofNullable(this.releasePeriod); - } - - /** - * Collection of rates for the fair season. - */ - public Optional> rates() { - return Optional.ofNullable(this.rates); - } - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - public Optional status() { - return Optional.ofNullable(this.status); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Fair season type. Blackout means that no special rate is negotiated for that date and Best Available - * Rates will apply - */ - public TravelBidFairSeasonJson withType(@Nullable FairSeasonTypeJson type) { - this.type = type; - return this; - } - - /** - * Fair season name. - */ - public TravelBidFairSeasonJson withName(@Nullable String name) { - this.name = name; - return this; - } - - /** - * The ISO 8601 start date of the fair season. - */ - public TravelBidFairSeasonJson withStartDate(@Nullable LocalDate startDate) { - this.startDate = startDate; - return this; - } - - /** - * The ISO 8601 end date of the fair season. - */ - public TravelBidFairSeasonJson withEndDate(@Nullable LocalDate endDate) { - this.endDate = endDate; - return this; - } - - /** - * Minimum length of stay for the fair season. - */ - public TravelBidFairSeasonJson withMinLengthOfStay(@Nullable Long minLengthOfStay) { - this.minLengthOfStay = minLengthOfStay; - return this; - } - - /** - * Release period for the fair season. Release period is the minimum number of days between the booking - * being made and the earliest arrival date. - */ - public TravelBidFairSeasonJson withReleasePeriod(@Nullable Long releasePeriod) { - this.releasePeriod = releasePeriod; - return this; - } - - /** - * Collection of rates for the fair season. - */ - public TravelBidFairSeasonJson withRates(@Nullable List rates) { - this.rates = rates; - return this; - } - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - public TravelBidFairSeasonJson withStatus(@Nullable BidItemStatusTypeJson status) { - this.status = status; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - TravelBidFairSeasonJson other = (TravelBidFairSeasonJson) o; - return Utils.enhancedDeepEquals(this.type, other.type) - && Utils.enhancedDeepEquals(this.name, other.name) - && Utils.enhancedDeepEquals(this.startDate, other.startDate) - && Utils.enhancedDeepEquals(this.endDate, other.endDate) - && Utils.enhancedDeepEquals(this.minLengthOfStay, other.minLengthOfStay) - && Utils.enhancedDeepEquals(this.releasePeriod, other.releasePeriod) - && Utils.enhancedDeepEquals(this.rates, other.rates) - && Utils.enhancedDeepEquals(this.status, other.status); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(type, name, startDate, endDate, minLengthOfStay, releasePeriod, rates, status); - } - - @Override - public String toString() { - return Utils.toString( - TravelBidFairSeasonJson.class, - "type", - type, - "name", - name, - "startDate", - startDate, - "endDate", - endDate, - "minLengthOfStay", - minLengthOfStay, - "releasePeriod", - releasePeriod, - "rates", - rates, - "status", - status); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private FairSeasonTypeJson type; - - private String name; - - private LocalDate startDate; - - private LocalDate endDate; - - private Long minLengthOfStay; - - private Long releasePeriod; - - private List rates; - - private BidItemStatusTypeJson status; - - private Builder() { - // force use of static builder() method - } - - /** - * Fair season type. Blackout means that no special rate is negotiated for that date and Best Available - * Rates will apply - */ - public Builder type(@Nullable FairSeasonTypeJson type) { - this.type = type; - return this; - } - - /** - * Fair season name. - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - /** - * The ISO 8601 start date of the fair season. - */ - public Builder startDate(@Nullable LocalDate startDate) { - this.startDate = startDate; - return this; - } - - /** - * The ISO 8601 end date of the fair season. - */ - public Builder endDate(@Nullable LocalDate endDate) { - this.endDate = endDate; - return this; - } - - /** - * Minimum length of stay for the fair season. - */ - public Builder minLengthOfStay(@Nullable Long minLengthOfStay) { - this.minLengthOfStay = minLengthOfStay; - return this; - } - - /** - * Release period for the fair season. Release period is the minimum number of days between the booking - * being made and the earliest arrival date. - */ - public Builder releasePeriod(@Nullable Long releasePeriod) { - this.releasePeriod = releasePeriod; - return this; - } - - /** - * Collection of rates for the fair season. - */ - public Builder rates(@Nullable List rates) { - this.rates = rates; - return this; - } - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - public Builder status(@Nullable BidItemStatusTypeJson status) { - this.status = status; - return this; - } - - public TravelBidFairSeasonJson build() { - return new TravelBidFairSeasonJson( - type, name, startDate, endDate, minLengthOfStay, releasePeriod, rates, status); - } - - private static final LazySingletonValue _SINGLETON_VALUE_Type = - new LazySingletonValue<>("type", "\"negotiated\"", new TypeReference() {}); - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeasonRate.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeasonRate.java new file mode 100644 index 000000000..f836c8230 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeasonRate.java @@ -0,0 +1,333 @@ +/* + * 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.Double; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * TravelBidFairSeasonRate + * + *

The negotiated rates for a property room during the fair season. + */ +public class TravelBidFairSeasonRate { + /** + * ID of the property's room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("propertyRoom") + private TravelBidFairSeasonRatePropertyRoom propertyRoom; + + /** + * The single room rate. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("singleRate") + private Double singleRate; + + /** + * The double room rate. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("doubleRate") + private Double doubleRate; + + /** + * The triple room rate. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("tripleRate") + private Double tripleRate; + + /** + * The quadruple room rate. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("quadRate") + private Double quadRate; + + /** + * The number of rooms allotted at the negotiated rate. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("allotment") + private Long allotment; + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("status") + private BidItemStatusType status; + + @JsonCreator + public TravelBidFairSeasonRate( + @JsonProperty("propertyRoom") @Nullable TravelBidFairSeasonRatePropertyRoom propertyRoom, + @JsonProperty("singleRate") @Nullable Double singleRate, + @JsonProperty("doubleRate") @Nullable Double doubleRate, + @JsonProperty("tripleRate") @Nullable Double tripleRate, + @JsonProperty("quadRate") @Nullable Double quadRate, + @JsonProperty("allotment") @Nullable Long allotment, + @JsonProperty("status") @Nullable BidItemStatusType status) { + this.propertyRoom = propertyRoom; + this.singleRate = singleRate; + this.doubleRate = doubleRate; + this.tripleRate = tripleRate; + this.quadRate = quadRate; + this.allotment = allotment; + this.status = status; + } + + public TravelBidFairSeasonRate() { + this(null, null, null, null, null, null, null); + } + + /** + * ID of the property's room. + */ + public Optional propertyRoom() { + return Optional.ofNullable(this.propertyRoom); + } + + /** + * The single room rate. + */ + public Optional singleRate() { + return Optional.ofNullable(this.singleRate); + } + + /** + * The double room rate. + */ + public Optional doubleRate() { + return Optional.ofNullable(this.doubleRate); + } + + /** + * The triple room rate. + */ + public Optional tripleRate() { + return Optional.ofNullable(this.tripleRate); + } + + /** + * The quadruple room rate. + */ + public Optional quadRate() { + return Optional.ofNullable(this.quadRate); + } + + /** + * The number of rooms allotted at the negotiated rate. + */ + public Optional allotment() { + return Optional.ofNullable(this.allotment); + } + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + public Optional status() { + return Optional.ofNullable(this.status); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * ID of the property's room. + */ + public TravelBidFairSeasonRate withPropertyRoom(@Nullable TravelBidFairSeasonRatePropertyRoom propertyRoom) { + this.propertyRoom = propertyRoom; + return this; + } + + /** + * The single room rate. + */ + public TravelBidFairSeasonRate withSingleRate(@Nullable Double singleRate) { + this.singleRate = singleRate; + return this; + } + + /** + * The double room rate. + */ + public TravelBidFairSeasonRate withDoubleRate(@Nullable Double doubleRate) { + this.doubleRate = doubleRate; + return this; + } + + /** + * The triple room rate. + */ + public TravelBidFairSeasonRate withTripleRate(@Nullable Double tripleRate) { + this.tripleRate = tripleRate; + return this; + } + + /** + * The quadruple room rate. + */ + public TravelBidFairSeasonRate withQuadRate(@Nullable Double quadRate) { + this.quadRate = quadRate; + return this; + } + + /** + * The number of rooms allotted at the negotiated rate. + */ + public TravelBidFairSeasonRate withAllotment(@Nullable Long allotment) { + this.allotment = allotment; + return this; + } + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + public TravelBidFairSeasonRate withStatus(@Nullable BidItemStatusType status) { + this.status = status; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TravelBidFairSeasonRate other = (TravelBidFairSeasonRate) o; + return Utils.enhancedDeepEquals(this.propertyRoom, other.propertyRoom) + && Utils.enhancedDeepEquals(this.singleRate, other.singleRate) + && Utils.enhancedDeepEquals(this.doubleRate, other.doubleRate) + && Utils.enhancedDeepEquals(this.tripleRate, other.tripleRate) + && Utils.enhancedDeepEquals(this.quadRate, other.quadRate) + && Utils.enhancedDeepEquals(this.allotment, other.allotment) + && Utils.enhancedDeepEquals(this.status, other.status); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(propertyRoom, singleRate, doubleRate, tripleRate, quadRate, allotment, status); + } + + @Override + public String toString() { + return Utils.toString( + TravelBidFairSeasonRate.class, + "propertyRoom", + propertyRoom, + "singleRate", + singleRate, + "doubleRate", + doubleRate, + "tripleRate", + tripleRate, + "quadRate", + quadRate, + "allotment", + allotment, + "status", + status); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private TravelBidFairSeasonRatePropertyRoom propertyRoom; + + private Double singleRate; + + private Double doubleRate; + + private Double tripleRate; + + private Double quadRate; + + private Long allotment; + + private BidItemStatusType status; + + private Builder() { + // force use of static builder() method + } + + /** + * ID of the property's room. + */ + public Builder propertyRoom(@Nullable TravelBidFairSeasonRatePropertyRoom propertyRoom) { + this.propertyRoom = propertyRoom; + return this; + } + + /** + * The single room rate. + */ + public Builder singleRate(@Nullable Double singleRate) { + this.singleRate = singleRate; + return this; + } + + /** + * The double room rate. + */ + public Builder doubleRate(@Nullable Double doubleRate) { + this.doubleRate = doubleRate; + return this; + } + + /** + * The triple room rate. + */ + public Builder tripleRate(@Nullable Double tripleRate) { + this.tripleRate = tripleRate; + return this; + } + + /** + * The quadruple room rate. + */ + public Builder quadRate(@Nullable Double quadRate) { + this.quadRate = quadRate; + return this; + } + + /** + * The number of rooms allotted at the negotiated rate. + */ + public Builder allotment(@Nullable Long allotment) { + this.allotment = allotment; + return this; + } + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + public Builder status(@Nullable BidItemStatusType status) { + this.status = status; + return this; + } + + public TravelBidFairSeasonRate build() { + return new TravelBidFairSeasonRate( + propertyRoom, singleRate, doubleRate, tripleRate, quadRate, allotment, status); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeasonRateJson.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeasonRateJson.java deleted file mode 100644 index 32afdfccb..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeasonRateJson.java +++ /dev/null @@ -1,334 +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.Double; -import java.lang.Long; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * TravelBidFairSeasonRateJson - * - *

The negotiated rates for a property room during the fair season. - */ -public class TravelBidFairSeasonRateJson { - /** - * ID of the property's room. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("propertyRoom") - private TravelBidFairSeasonRateJsonPropertyRoom propertyRoom; - - /** - * The single room rate. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("singleRate") - private Double singleRate; - - /** - * The double room rate. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("doubleRate") - private Double doubleRate; - - /** - * The triple room rate. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("tripleRate") - private Double tripleRate; - - /** - * The quadruple room rate. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("quadRate") - private Double quadRate; - - /** - * The number of rooms allotted at the negotiated rate. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("allotment") - private Long allotment; - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("status") - private BidItemStatusTypeJson status; - - @JsonCreator - public TravelBidFairSeasonRateJson( - @JsonProperty("propertyRoom") @Nullable TravelBidFairSeasonRateJsonPropertyRoom propertyRoom, - @JsonProperty("singleRate") @Nullable Double singleRate, - @JsonProperty("doubleRate") @Nullable Double doubleRate, - @JsonProperty("tripleRate") @Nullable Double tripleRate, - @JsonProperty("quadRate") @Nullable Double quadRate, - @JsonProperty("allotment") @Nullable Long allotment, - @JsonProperty("status") @Nullable BidItemStatusTypeJson status) { - this.propertyRoom = propertyRoom; - this.singleRate = singleRate; - this.doubleRate = doubleRate; - this.tripleRate = tripleRate; - this.quadRate = quadRate; - this.allotment = allotment; - this.status = status; - } - - public TravelBidFairSeasonRateJson() { - this(null, null, null, null, null, null, null); - } - - /** - * ID of the property's room. - */ - public Optional propertyRoom() { - return Optional.ofNullable(this.propertyRoom); - } - - /** - * The single room rate. - */ - public Optional singleRate() { - return Optional.ofNullable(this.singleRate); - } - - /** - * The double room rate. - */ - public Optional doubleRate() { - return Optional.ofNullable(this.doubleRate); - } - - /** - * The triple room rate. - */ - public Optional tripleRate() { - return Optional.ofNullable(this.tripleRate); - } - - /** - * The quadruple room rate. - */ - public Optional quadRate() { - return Optional.ofNullable(this.quadRate); - } - - /** - * The number of rooms allotted at the negotiated rate. - */ - public Optional allotment() { - return Optional.ofNullable(this.allotment); - } - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - public Optional status() { - return Optional.ofNullable(this.status); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * ID of the property's room. - */ - public TravelBidFairSeasonRateJson withPropertyRoom( - @Nullable TravelBidFairSeasonRateJsonPropertyRoom propertyRoom) { - this.propertyRoom = propertyRoom; - return this; - } - - /** - * The single room rate. - */ - public TravelBidFairSeasonRateJson withSingleRate(@Nullable Double singleRate) { - this.singleRate = singleRate; - return this; - } - - /** - * The double room rate. - */ - public TravelBidFairSeasonRateJson withDoubleRate(@Nullable Double doubleRate) { - this.doubleRate = doubleRate; - return this; - } - - /** - * The triple room rate. - */ - public TravelBidFairSeasonRateJson withTripleRate(@Nullable Double tripleRate) { - this.tripleRate = tripleRate; - return this; - } - - /** - * The quadruple room rate. - */ - public TravelBidFairSeasonRateJson withQuadRate(@Nullable Double quadRate) { - this.quadRate = quadRate; - return this; - } - - /** - * The number of rooms allotted at the negotiated rate. - */ - public TravelBidFairSeasonRateJson withAllotment(@Nullable Long allotment) { - this.allotment = allotment; - return this; - } - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - public TravelBidFairSeasonRateJson withStatus(@Nullable BidItemStatusTypeJson status) { - this.status = status; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - TravelBidFairSeasonRateJson other = (TravelBidFairSeasonRateJson) o; - return Utils.enhancedDeepEquals(this.propertyRoom, other.propertyRoom) - && Utils.enhancedDeepEquals(this.singleRate, other.singleRate) - && Utils.enhancedDeepEquals(this.doubleRate, other.doubleRate) - && Utils.enhancedDeepEquals(this.tripleRate, other.tripleRate) - && Utils.enhancedDeepEquals(this.quadRate, other.quadRate) - && Utils.enhancedDeepEquals(this.allotment, other.allotment) - && Utils.enhancedDeepEquals(this.status, other.status); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(propertyRoom, singleRate, doubleRate, tripleRate, quadRate, allotment, status); - } - - @Override - public String toString() { - return Utils.toString( - TravelBidFairSeasonRateJson.class, - "propertyRoom", - propertyRoom, - "singleRate", - singleRate, - "doubleRate", - doubleRate, - "tripleRate", - tripleRate, - "quadRate", - quadRate, - "allotment", - allotment, - "status", - status); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private TravelBidFairSeasonRateJsonPropertyRoom propertyRoom; - - private Double singleRate; - - private Double doubleRate; - - private Double tripleRate; - - private Double quadRate; - - private Long allotment; - - private BidItemStatusTypeJson status; - - private Builder() { - // force use of static builder() method - } - - /** - * ID of the property's room. - */ - public Builder propertyRoom(@Nullable TravelBidFairSeasonRateJsonPropertyRoom propertyRoom) { - this.propertyRoom = propertyRoom; - return this; - } - - /** - * The single room rate. - */ - public Builder singleRate(@Nullable Double singleRate) { - this.singleRate = singleRate; - return this; - } - - /** - * The double room rate. - */ - public Builder doubleRate(@Nullable Double doubleRate) { - this.doubleRate = doubleRate; - return this; - } - - /** - * The triple room rate. - */ - public Builder tripleRate(@Nullable Double tripleRate) { - this.tripleRate = tripleRate; - return this; - } - - /** - * The quadruple room rate. - */ - public Builder quadRate(@Nullable Double quadRate) { - this.quadRate = quadRate; - return this; - } - - /** - * The number of rooms allotted at the negotiated rate. - */ - public Builder allotment(@Nullable Long allotment) { - this.allotment = allotment; - return this; - } - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - public Builder status(@Nullable BidItemStatusTypeJson status) { - this.status = status; - return this; - } - - public TravelBidFairSeasonRateJson build() { - return new TravelBidFairSeasonRateJson( - propertyRoom, singleRate, doubleRate, tripleRate, quadRate, allotment, status); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeasonRateJsonPropertyRoom.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeasonRateJsonPropertyRoom.java deleted file mode 100644 index 4aac98c6d..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeasonRateJsonPropertyRoom.java +++ /dev/null @@ -1,100 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * TravelBidFairSeasonRateJsonPropertyRoom - * - *

ID of the property's room. - */ -public class TravelBidFairSeasonRateJsonPropertyRoom { - /** - * The unique ID of the property room. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public TravelBidFairSeasonRateJsonPropertyRoom(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public TravelBidFairSeasonRateJsonPropertyRoom() { - this(null); - } - - /** - * The unique ID of the property room. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique ID of the property room. - */ - public TravelBidFairSeasonRateJsonPropertyRoom withId(@Nullable String id) { - this.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; - } - TravelBidFairSeasonRateJsonPropertyRoom other = (TravelBidFairSeasonRateJsonPropertyRoom) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(TravelBidFairSeasonRateJsonPropertyRoom.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique ID of the property room. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public TravelBidFairSeasonRateJsonPropertyRoom build() { - return new TravelBidFairSeasonRateJsonPropertyRoom(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeasonRatePropertyRoom.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeasonRatePropertyRoom.java new file mode 100644 index 000000000..9ed5dd431 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelBidFairSeasonRatePropertyRoom.java @@ -0,0 +1,100 @@ +/* + * 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; + +/** + * TravelBidFairSeasonRatePropertyRoom + * + *

ID of the property's room. + */ +public class TravelBidFairSeasonRatePropertyRoom { + /** + * The unique ID of the property room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public TravelBidFairSeasonRatePropertyRoom(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public TravelBidFairSeasonRatePropertyRoom() { + this(null); + } + + /** + * The unique ID of the property room. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique ID of the property room. + */ + public TravelBidFairSeasonRatePropertyRoom withId(@Nullable String id) { + this.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; + } + TravelBidFairSeasonRatePropertyRoom other = (TravelBidFairSeasonRatePropertyRoom) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(TravelBidFairSeasonRatePropertyRoom.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique ID of the property room. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public TravelBidFairSeasonRatePropertyRoom build() { + return new TravelBidFairSeasonRatePropertyRoom(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidPolicy.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidPolicy.java new file mode 100644 index 000000000..21141e937 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelBidPolicy.java @@ -0,0 +1,340 @@ +/* + * 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; + +/** + * TravelBidPolicy + * + *

A policy that is associated with a travel bid. + */ +public class TravelBidPolicy { + /** + * The code representing the policy. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("code") + private String code; + + /** + * The category the policy falls under. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("category") + private String category; + + /** + * The value of the policy. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("value") + private String value; + + /** + * Value type of the policy + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("valueType") + private PolicyValueType valueType; + + /** + * True indicates the policy fee included in the rate. Only applies to policies with a value type of + * money or percent. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("included") + private Boolean included; + + /** + * Additional notes on the policy. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("description") + private String description; + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("status") + private BidItemStatusType status; + + @JsonCreator + public TravelBidPolicy( + @JsonProperty("code") @Nullable String code, + @JsonProperty("category") @Nullable String category, + @JsonProperty("value") @Nullable String value, + @JsonProperty("valueType") @Nullable PolicyValueType valueType, + @JsonProperty("included") @Nullable Boolean included, + @JsonProperty("description") @Nullable String description, + @JsonProperty("status") @Nullable BidItemStatusType status) { + this.code = code; + this.category = category; + this.value = value; + this.valueType = valueType; + this.included = Optional.ofNullable(included).orElse(Builder._SINGLETON_VALUE_Included.value()); + this.description = description; + this.status = status; + } + + public TravelBidPolicy() { + this(null, null, null, null, null, null, null); + } + + /** + * The code representing the policy. + */ + public Optional code() { + return Optional.ofNullable(this.code); + } + + /** + * The category the policy falls under. + */ + public Optional category() { + return Optional.ofNullable(this.category); + } + + /** + * The value of the policy. + */ + public Optional value() { + return Optional.ofNullable(this.value); + } + + /** + * Value type of the policy + */ + public Optional valueType() { + return Optional.ofNullable(this.valueType); + } + + /** + * True indicates the policy fee included in the rate. Only applies to policies with a value type of + * money or percent. + */ + public Optional included() { + return Optional.ofNullable(this.included); + } + + /** + * Additional notes on the policy. + */ + public Optional description() { + return Optional.ofNullable(this.description); + } + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + public Optional status() { + return Optional.ofNullable(this.status); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The code representing the policy. + */ + public TravelBidPolicy withCode(@Nullable String code) { + this.code = code; + return this; + } + + /** + * The category the policy falls under. + */ + public TravelBidPolicy withCategory(@Nullable String category) { + this.category = category; + return this; + } + + /** + * The value of the policy. + */ + public TravelBidPolicy withValue(@Nullable String value) { + this.value = value; + return this; + } + + /** + * Value type of the policy + */ + public TravelBidPolicy withValueType(@Nullable PolicyValueType valueType) { + this.valueType = valueType; + return this; + } + + /** + * True indicates the policy fee included in the rate. Only applies to policies with a value type of + * money or percent. + */ + public TravelBidPolicy withIncluded(@Nullable Boolean included) { + this.included = included; + return this; + } + + /** + * Additional notes on the policy. + */ + public TravelBidPolicy withDescription(@Nullable String description) { + this.description = description; + return this; + } + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + public TravelBidPolicy withStatus(@Nullable BidItemStatusType status) { + this.status = status; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TravelBidPolicy other = (TravelBidPolicy) o; + return Utils.enhancedDeepEquals(this.code, other.code) + && Utils.enhancedDeepEquals(this.category, other.category) + && Utils.enhancedDeepEquals(this.value, other.value) + && Utils.enhancedDeepEquals(this.valueType, other.valueType) + && Utils.enhancedDeepEquals(this.included, other.included) + && Utils.enhancedDeepEquals(this.description, other.description) + && Utils.enhancedDeepEquals(this.status, other.status); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(code, category, value, valueType, included, description, status); + } + + @Override + public String toString() { + return Utils.toString( + TravelBidPolicy.class, + "code", + code, + "category", + category, + "value", + value, + "valueType", + valueType, + "included", + included, + "description", + description, + "status", + status); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String code; + + private String category; + + private String value; + + private PolicyValueType valueType; + + private Boolean included; + + private String description; + + private BidItemStatusType status; + + private Builder() { + // force use of static builder() method + } + + /** + * The code representing the policy. + */ + public Builder code(@Nullable String code) { + this.code = code; + return this; + } + + /** + * The category the policy falls under. + */ + public Builder category(@Nullable String category) { + this.category = category; + return this; + } + + /** + * The value of the policy. + */ + public Builder value(@Nullable String value) { + this.value = value; + return this; + } + + /** + * Value type of the policy + */ + public Builder valueType(@Nullable PolicyValueType valueType) { + this.valueType = valueType; + return this; + } + + /** + * True indicates the policy fee included in the rate. Only applies to policies with a value type of + * money or percent. + */ + public Builder included(@Nullable Boolean included) { + this.included = included; + return this; + } + + /** + * Additional notes on the policy. + */ + public Builder description(@Nullable String description) { + this.description = description; + return this; + } + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + public Builder status(@Nullable BidItemStatusType status) { + this.status = status; + return this; + } + + public TravelBidPolicy build() { + return new TravelBidPolicy(code, category, value, valueType, included, description, status); + } + + private static final LazySingletonValue _SINGLETON_VALUE_Included = + new LazySingletonValue<>("included", "false", new TypeReference() {}); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidPolicyJson.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidPolicyJson.java deleted file mode 100644 index 11cbbed6e..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelBidPolicyJson.java +++ /dev/null @@ -1,340 +0,0 @@ -/* - * 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; - -/** - * TravelBidPolicyJson - * - *

A policy that is associated with a travel bid. - */ -public class TravelBidPolicyJson { - /** - * The code representing the policy. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("code") - private String code; - - /** - * The category the policy falls under. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("category") - private String category; - - /** - * The value of the policy. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("value") - private String value; - - /** - * Value type of the policy - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("valueType") - private PolicyValueTypeJson valueType; - - /** - * True indicates the policy fee included in the rate. Only applies to policies with a value type of - * money or percent. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("included") - private Boolean included; - - /** - * Additional notes on the policy. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("description") - private String description; - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("status") - private BidItemStatusTypeJson status; - - @JsonCreator - public TravelBidPolicyJson( - @JsonProperty("code") @Nullable String code, - @JsonProperty("category") @Nullable String category, - @JsonProperty("value") @Nullable String value, - @JsonProperty("valueType") @Nullable PolicyValueTypeJson valueType, - @JsonProperty("included") @Nullable Boolean included, - @JsonProperty("description") @Nullable String description, - @JsonProperty("status") @Nullable BidItemStatusTypeJson status) { - this.code = code; - this.category = category; - this.value = value; - this.valueType = valueType; - this.included = Optional.ofNullable(included).orElse(Builder._SINGLETON_VALUE_Included.value()); - this.description = description; - this.status = status; - } - - public TravelBidPolicyJson() { - this(null, null, null, null, null, null, null); - } - - /** - * The code representing the policy. - */ - public Optional code() { - return Optional.ofNullable(this.code); - } - - /** - * The category the policy falls under. - */ - public Optional category() { - return Optional.ofNullable(this.category); - } - - /** - * The value of the policy. - */ - public Optional value() { - return Optional.ofNullable(this.value); - } - - /** - * Value type of the policy - */ - public Optional valueType() { - return Optional.ofNullable(this.valueType); - } - - /** - * True indicates the policy fee included in the rate. Only applies to policies with a value type of - * money or percent. - */ - public Optional included() { - return Optional.ofNullable(this.included); - } - - /** - * Additional notes on the policy. - */ - public Optional description() { - return Optional.ofNullable(this.description); - } - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - public Optional status() { - return Optional.ofNullable(this.status); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The code representing the policy. - */ - public TravelBidPolicyJson withCode(@Nullable String code) { - this.code = code; - return this; - } - - /** - * The category the policy falls under. - */ - public TravelBidPolicyJson withCategory(@Nullable String category) { - this.category = category; - return this; - } - - /** - * The value of the policy. - */ - public TravelBidPolicyJson withValue(@Nullable String value) { - this.value = value; - return this; - } - - /** - * Value type of the policy - */ - public TravelBidPolicyJson withValueType(@Nullable PolicyValueTypeJson valueType) { - this.valueType = valueType; - return this; - } - - /** - * True indicates the policy fee included in the rate. Only applies to policies with a value type of - * money or percent. - */ - public TravelBidPolicyJson withIncluded(@Nullable Boolean included) { - this.included = included; - return this; - } - - /** - * Additional notes on the policy. - */ - public TravelBidPolicyJson withDescription(@Nullable String description) { - this.description = description; - return this; - } - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - public TravelBidPolicyJson withStatus(@Nullable BidItemStatusTypeJson status) { - this.status = status; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - TravelBidPolicyJson other = (TravelBidPolicyJson) o; - return Utils.enhancedDeepEquals(this.code, other.code) - && Utils.enhancedDeepEquals(this.category, other.category) - && Utils.enhancedDeepEquals(this.value, other.value) - && Utils.enhancedDeepEquals(this.valueType, other.valueType) - && Utils.enhancedDeepEquals(this.included, other.included) - && Utils.enhancedDeepEquals(this.description, other.description) - && Utils.enhancedDeepEquals(this.status, other.status); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(code, category, value, valueType, included, description, status); - } - - @Override - public String toString() { - return Utils.toString( - TravelBidPolicyJson.class, - "code", - code, - "category", - category, - "value", - value, - "valueType", - valueType, - "included", - included, - "description", - description, - "status", - status); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String code; - - private String category; - - private String value; - - private PolicyValueTypeJson valueType; - - private Boolean included; - - private String description; - - private BidItemStatusTypeJson status; - - private Builder() { - // force use of static builder() method - } - - /** - * The code representing the policy. - */ - public Builder code(@Nullable String code) { - this.code = code; - return this; - } - - /** - * The category the policy falls under. - */ - public Builder category(@Nullable String category) { - this.category = category; - return this; - } - - /** - * The value of the policy. - */ - public Builder value(@Nullable String value) { - this.value = value; - return this; - } - - /** - * Value type of the policy - */ - public Builder valueType(@Nullable PolicyValueTypeJson valueType) { - this.valueType = valueType; - return this; - } - - /** - * True indicates the policy fee included in the rate. Only applies to policies with a value type of - * money or percent. - */ - public Builder included(@Nullable Boolean included) { - this.included = included; - return this; - } - - /** - * Additional notes on the policy. - */ - public Builder description(@Nullable String description) { - this.description = description; - return this; - } - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - public Builder status(@Nullable BidItemStatusTypeJson status) { - this.status = status; - return this; - } - - public TravelBidPolicyJson build() { - return new TravelBidPolicyJson(code, category, value, valueType, included, description, status); - } - - private static final LazySingletonValue _SINGLETON_VALUE_Included = - new LazySingletonValue<>("included", "false", new TypeReference() {}); - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidRateJson.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidRateJson.java deleted file mode 100644 index 5a4e6df19..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelBidRateJson.java +++ /dev/null @@ -1,212 +0,0 @@ -/* - * 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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * TravelBidRateJson - * - *

The rate (cost) information for a travel bid. - */ -public class TravelBidRateJson { - /** - * Rate level - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("level") - private RateLevelTypeJson level; - - /** - * Rate type. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private RateTypeJson type; - - /** - * The code given to the bid (also called rate plan) by the supplier. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("planCode") - private String planCode; - - /** - * The rate tier given to the bid (also called rate plan) by the supplier. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("tier") - private String tier; - - @JsonCreator - public TravelBidRateJson( - @JsonProperty("level") @Nullable RateLevelTypeJson level, - @JsonProperty("type") @Nullable RateTypeJson type, - @JsonProperty("planCode") @Nullable String planCode, - @JsonProperty("tier") @Nullable String tier) { - this.level = level; - this.type = Optional.ofNullable(type).orElse(Builder._SINGLETON_VALUE_Type.value()); - this.planCode = planCode; - this.tier = tier; - } - - public TravelBidRateJson() { - this(null, null, null, null); - } - - /** - * Rate level - */ - public Optional level() { - return Optional.ofNullable(this.level); - } - - /** - * Rate type. - */ - public Optional type() { - return Optional.ofNullable(this.type); - } - - /** - * The code given to the bid (also called rate plan) by the supplier. - */ - public Optional planCode() { - return Optional.ofNullable(this.planCode); - } - - /** - * The rate tier given to the bid (also called rate plan) by the supplier. - */ - public Optional tier() { - return Optional.ofNullable(this.tier); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Rate level - */ - public TravelBidRateJson withLevel(@Nullable RateLevelTypeJson level) { - this.level = level; - return this; - } - - /** - * Rate type. - */ - public TravelBidRateJson withType(@Nullable RateTypeJson type) { - this.type = type; - return this; - } - - /** - * The code given to the bid (also called rate plan) by the supplier. - */ - public TravelBidRateJson withPlanCode(@Nullable String planCode) { - this.planCode = planCode; - return this; - } - - /** - * The rate tier given to the bid (also called rate plan) by the supplier. - */ - public TravelBidRateJson withTier(@Nullable String tier) { - this.tier = tier; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - TravelBidRateJson other = (TravelBidRateJson) o; - return Utils.enhancedDeepEquals(this.level, other.level) - && Utils.enhancedDeepEquals(this.type, other.type) - && Utils.enhancedDeepEquals(this.planCode, other.planCode) - && Utils.enhancedDeepEquals(this.tier, other.tier); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(level, type, planCode, tier); - } - - @Override - public String toString() { - return Utils.toString( - TravelBidRateJson.class, "level", level, "type", type, "planCode", planCode, "tier", tier); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private RateLevelTypeJson level; - - private RateTypeJson type; - - private String planCode; - - private String tier; - - private Builder() { - // force use of static builder() method - } - - /** - * Rate level - */ - public Builder level(@Nullable RateLevelTypeJson level) { - this.level = level; - return this; - } - - /** - * Rate type. - */ - public Builder type(@Nullable RateTypeJson type) { - this.type = type; - return this; - } - - /** - * The code given to the bid (also called rate plan) by the supplier. - */ - public Builder planCode(@Nullable String planCode) { - this.planCode = planCode; - return this; - } - - /** - * The rate tier given to the bid (also called rate plan) by the supplier. - */ - public Builder tier(@Nullable String tier) { - this.tier = tier; - return this; - } - - public TravelBidRateJson build() { - return new TravelBidRateJson(level, type, planCode, tier); - } - - private static final LazySingletonValue _SINGLETON_VALUE_Type = - new LazySingletonValue<>("type", "\"fixed\"", new TypeReference() {}); - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidRoom.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidRoom.java new file mode 100644 index 000000000..81a182efe --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelBidRoom.java @@ -0,0 +1,220 @@ +/* + * 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.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * TravelBidRoom + * + *

A room in a travel bid. + */ +public class TravelBidRoom { + /** + * ID of the property's room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("propertyRoom") + private TravelBidRoomPropertyRoom propertyRoom; + + /** + * The number of rooms allocated to the bid. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("allocation") + private Long allocation; + + /** + * The order of the room in the bid. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("order") + private Long order; + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("status") + private BidItemStatusType status; + + @JsonCreator + public TravelBidRoom( + @JsonProperty("propertyRoom") @Nullable TravelBidRoomPropertyRoom propertyRoom, + @JsonProperty("allocation") @Nullable Long allocation, + @JsonProperty("order") @Nullable Long order, + @JsonProperty("status") @Nullable BidItemStatusType status) { + this.propertyRoom = propertyRoom; + this.allocation = allocation; + this.order = order; + this.status = status; + } + + public TravelBidRoom() { + this(null, null, null, null); + } + + /** + * ID of the property's room. + */ + public Optional propertyRoom() { + return Optional.ofNullable(this.propertyRoom); + } + + /** + * The number of rooms allocated to the bid. + */ + public Optional allocation() { + return Optional.ofNullable(this.allocation); + } + + /** + * The order of the room in the bid. + */ + public Optional order() { + return Optional.ofNullable(this.order); + } + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + public Optional status() { + return Optional.ofNullable(this.status); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * ID of the property's room. + */ + public TravelBidRoom withPropertyRoom(@Nullable TravelBidRoomPropertyRoom propertyRoom) { + this.propertyRoom = propertyRoom; + return this; + } + + /** + * The number of rooms allocated to the bid. + */ + public TravelBidRoom withAllocation(@Nullable Long allocation) { + this.allocation = allocation; + return this; + } + + /** + * The order of the room in the bid. + */ + public TravelBidRoom withOrder(@Nullable Long order) { + this.order = order; + return this; + } + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + public TravelBidRoom withStatus(@Nullable BidItemStatusType status) { + this.status = status; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TravelBidRoom other = (TravelBidRoom) o; + return Utils.enhancedDeepEquals(this.propertyRoom, other.propertyRoom) + && Utils.enhancedDeepEquals(this.allocation, other.allocation) + && Utils.enhancedDeepEquals(this.order, other.order) + && Utils.enhancedDeepEquals(this.status, other.status); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(propertyRoom, allocation, order, status); + } + + @Override + public String toString() { + return Utils.toString( + TravelBidRoom.class, + "propertyRoom", + propertyRoom, + "allocation", + allocation, + "order", + order, + "status", + status); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private TravelBidRoomPropertyRoom propertyRoom; + + private Long allocation; + + private Long order; + + private BidItemStatusType status; + + private Builder() { + // force use of static builder() method + } + + /** + * ID of the property's room. + */ + public Builder propertyRoom(@Nullable TravelBidRoomPropertyRoom propertyRoom) { + this.propertyRoom = propertyRoom; + return this; + } + + /** + * The number of rooms allocated to the bid. + */ + public Builder allocation(@Nullable Long allocation) { + this.allocation = allocation; + return this; + } + + /** + * The order of the room in the bid. + */ + public Builder order(@Nullable Long order) { + this.order = order; + return this; + } + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + public Builder status(@Nullable BidItemStatusType status) { + this.status = status; + return this; + } + + public TravelBidRoom build() { + return new TravelBidRoom(propertyRoom, allocation, order, status); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidRoomJson.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidRoomJson.java deleted file mode 100644 index 2231b4c8d..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelBidRoomJson.java +++ /dev/null @@ -1,220 +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.Long; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * TravelBidRoomJson - * - *

A room in a travel bid. - */ -public class TravelBidRoomJson { - /** - * ID of the property's room. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("propertyRoom") - private TravelBidRoomJsonPropertyRoom propertyRoom; - - /** - * The number of rooms allocated to the bid. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("allocation") - private Long allocation; - - /** - * The order of the room in the bid. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("order") - private Long order; - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("status") - private BidItemStatusTypeJson status; - - @JsonCreator - public TravelBidRoomJson( - @JsonProperty("propertyRoom") @Nullable TravelBidRoomJsonPropertyRoom propertyRoom, - @JsonProperty("allocation") @Nullable Long allocation, - @JsonProperty("order") @Nullable Long order, - @JsonProperty("status") @Nullable BidItemStatusTypeJson status) { - this.propertyRoom = propertyRoom; - this.allocation = allocation; - this.order = order; - this.status = status; - } - - public TravelBidRoomJson() { - this(null, null, null, null); - } - - /** - * ID of the property's room. - */ - public Optional propertyRoom() { - return Optional.ofNullable(this.propertyRoom); - } - - /** - * The number of rooms allocated to the bid. - */ - public Optional allocation() { - return Optional.ofNullable(this.allocation); - } - - /** - * The order of the room in the bid. - */ - public Optional order() { - return Optional.ofNullable(this.order); - } - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - public Optional status() { - return Optional.ofNullable(this.status); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * ID of the property's room. - */ - public TravelBidRoomJson withPropertyRoom(@Nullable TravelBidRoomJsonPropertyRoom propertyRoom) { - this.propertyRoom = propertyRoom; - return this; - } - - /** - * The number of rooms allocated to the bid. - */ - public TravelBidRoomJson withAllocation(@Nullable Long allocation) { - this.allocation = allocation; - return this; - } - - /** - * The order of the room in the bid. - */ - public TravelBidRoomJson withOrder(@Nullable Long order) { - this.order = order; - return this; - } - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - public TravelBidRoomJson withStatus(@Nullable BidItemStatusTypeJson status) { - this.status = status; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - TravelBidRoomJson other = (TravelBidRoomJson) o; - return Utils.enhancedDeepEquals(this.propertyRoom, other.propertyRoom) - && Utils.enhancedDeepEquals(this.allocation, other.allocation) - && Utils.enhancedDeepEquals(this.order, other.order) - && Utils.enhancedDeepEquals(this.status, other.status); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(propertyRoom, allocation, order, status); - } - - @Override - public String toString() { - return Utils.toString( - TravelBidRoomJson.class, - "propertyRoom", - propertyRoom, - "allocation", - allocation, - "order", - order, - "status", - status); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private TravelBidRoomJsonPropertyRoom propertyRoom; - - private Long allocation; - - private Long order; - - private BidItemStatusTypeJson status; - - private Builder() { - // force use of static builder() method - } - - /** - * ID of the property's room. - */ - public Builder propertyRoom(@Nullable TravelBidRoomJsonPropertyRoom propertyRoom) { - this.propertyRoom = propertyRoom; - return this; - } - - /** - * The number of rooms allocated to the bid. - */ - public Builder allocation(@Nullable Long allocation) { - this.allocation = allocation; - return this; - } - - /** - * The order of the room in the bid. - */ - public Builder order(@Nullable Long order) { - this.order = order; - return this; - } - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - public Builder status(@Nullable BidItemStatusTypeJson status) { - this.status = status; - return this; - } - - public TravelBidRoomJson build() { - return new TravelBidRoomJson(propertyRoom, allocation, order, status); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidRoomJsonPropertyRoom.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidRoomJsonPropertyRoom.java deleted file mode 100644 index e72008ac6..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelBidRoomJsonPropertyRoom.java +++ /dev/null @@ -1,100 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * TravelBidRoomJsonPropertyRoom - * - *

ID of the property's room. - */ -public class TravelBidRoomJsonPropertyRoom { - /** - * The unique ID of the property room. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public TravelBidRoomJsonPropertyRoom(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public TravelBidRoomJsonPropertyRoom() { - this(null); - } - - /** - * The unique ID of the property room. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique ID of the property room. - */ - public TravelBidRoomJsonPropertyRoom withId(@Nullable String id) { - this.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; - } - TravelBidRoomJsonPropertyRoom other = (TravelBidRoomJsonPropertyRoom) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(TravelBidRoomJsonPropertyRoom.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique ID of the property room. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public TravelBidRoomJsonPropertyRoom build() { - return new TravelBidRoomJsonPropertyRoom(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidRoomPropertyRoom.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidRoomPropertyRoom.java new file mode 100644 index 000000000..191a047d3 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelBidRoomPropertyRoom.java @@ -0,0 +1,100 @@ +/* + * 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; + +/** + * TravelBidRoomPropertyRoom + * + *

ID of the property's room. + */ +public class TravelBidRoomPropertyRoom { + /** + * The unique ID of the property room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public TravelBidRoomPropertyRoom(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public TravelBidRoomPropertyRoom() { + this(null); + } + + /** + * The unique ID of the property room. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique ID of the property room. + */ + public TravelBidRoomPropertyRoom withId(@Nullable String id) { + this.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; + } + TravelBidRoomPropertyRoom other = (TravelBidRoomPropertyRoom) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(TravelBidRoomPropertyRoom.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique ID of the property room. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public TravelBidRoomPropertyRoom build() { + return new TravelBidRoomPropertyRoom(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidSeason.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidSeason.java new file mode 100644 index 000000000..29656356e --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelBidSeason.java @@ -0,0 +1,372 @@ +/* + * 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.Long; +import java.lang.Override; +import java.lang.String; +import java.time.LocalDate; +import java.util.List; +import java.util.Optional; + +/** + * TravelBidSeason + * + *

Season details for a travel bid. + */ +public class TravelBidSeason { + /** + * Season name. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + /** + * The ISO 8601 start date of the season. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("startDate") + private LocalDate startDate; + + /** + * The ISO 8601 end date of the season. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("endDate") + private LocalDate endDate; + + /** + * Number of release periods. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("releasePeriod") + private Long releasePeriod; + + /** + * Number of weekend release periods. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("weekendReleasePeriod") + private Long weekendReleasePeriod; + + /** + * Collection of rates for the season. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("rates") + private List rates; + + /** + * Collection of weekend rates for the season. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("weekendRates") + private List weekendRates; + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("status") + private BidItemStatusType status; + + @JsonCreator + public TravelBidSeason( + @JsonProperty("name") @Nullable String name, + @JsonProperty("startDate") @Nullable LocalDate startDate, + @JsonProperty("endDate") @Nullable LocalDate endDate, + @JsonProperty("releasePeriod") @Nullable Long releasePeriod, + @JsonProperty("weekendReleasePeriod") @Nullable Long weekendReleasePeriod, + @JsonProperty("rates") @Nullable List rates, + @JsonProperty("weekendRates") @Nullable List weekendRates, + @JsonProperty("status") @Nullable BidItemStatusType status) { + this.name = name; + this.startDate = startDate; + this.endDate = endDate; + this.releasePeriod = releasePeriod; + this.weekendReleasePeriod = weekendReleasePeriod; + this.rates = rates; + this.weekendRates = weekendRates; + this.status = status; + } + + public TravelBidSeason() { + this(null, null, null, null, null, null, null, null); + } + + /** + * Season name. + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * The ISO 8601 start date of the season. + */ + public Optional startDate() { + return Optional.ofNullable(this.startDate); + } + + /** + * The ISO 8601 end date of the season. + */ + public Optional endDate() { + return Optional.ofNullable(this.endDate); + } + + /** + * Number of release periods. + */ + public Optional releasePeriod() { + return Optional.ofNullable(this.releasePeriod); + } + + /** + * Number of weekend release periods. + */ + public Optional weekendReleasePeriod() { + return Optional.ofNullable(this.weekendReleasePeriod); + } + + /** + * Collection of rates for the season. + */ + public Optional> rates() { + return Optional.ofNullable(this.rates); + } + + /** + * Collection of weekend rates for the season. + */ + public Optional> weekendRates() { + return Optional.ofNullable(this.weekendRates); + } + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + public Optional status() { + return Optional.ofNullable(this.status); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Season name. + */ + public TravelBidSeason withName(@Nullable String name) { + this.name = name; + return this; + } + + /** + * The ISO 8601 start date of the season. + */ + public TravelBidSeason withStartDate(@Nullable LocalDate startDate) { + this.startDate = startDate; + return this; + } + + /** + * The ISO 8601 end date of the season. + */ + public TravelBidSeason withEndDate(@Nullable LocalDate endDate) { + this.endDate = endDate; + return this; + } + + /** + * Number of release periods. + */ + public TravelBidSeason withReleasePeriod(@Nullable Long releasePeriod) { + this.releasePeriod = releasePeriod; + return this; + } + + /** + * Number of weekend release periods. + */ + public TravelBidSeason withWeekendReleasePeriod(@Nullable Long weekendReleasePeriod) { + this.weekendReleasePeriod = weekendReleasePeriod; + return this; + } + + /** + * Collection of rates for the season. + */ + public TravelBidSeason withRates(@Nullable List rates) { + this.rates = rates; + return this; + } + + /** + * Collection of weekend rates for the season. + */ + public TravelBidSeason withWeekendRates(@Nullable List weekendRates) { + this.weekendRates = weekendRates; + return this; + } + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + public TravelBidSeason withStatus(@Nullable BidItemStatusType status) { + this.status = status; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TravelBidSeason other = (TravelBidSeason) o; + return Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.startDate, other.startDate) + && Utils.enhancedDeepEquals(this.endDate, other.endDate) + && Utils.enhancedDeepEquals(this.releasePeriod, other.releasePeriod) + && Utils.enhancedDeepEquals(this.weekendReleasePeriod, other.weekendReleasePeriod) + && Utils.enhancedDeepEquals(this.rates, other.rates) + && Utils.enhancedDeepEquals(this.weekendRates, other.weekendRates) + && Utils.enhancedDeepEquals(this.status, other.status); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + name, startDate, endDate, releasePeriod, weekendReleasePeriod, rates, weekendRates, status); + } + + @Override + public String toString() { + return Utils.toString( + TravelBidSeason.class, + "name", + name, + "startDate", + startDate, + "endDate", + endDate, + "releasePeriod", + releasePeriod, + "weekendReleasePeriod", + weekendReleasePeriod, + "rates", + rates, + "weekendRates", + weekendRates, + "status", + status); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String name; + + private LocalDate startDate; + + private LocalDate endDate; + + private Long releasePeriod; + + private Long weekendReleasePeriod; + + private List rates; + + private List weekendRates; + + private BidItemStatusType status; + + private Builder() { + // force use of static builder() method + } + + /** + * Season name. + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + /** + * The ISO 8601 start date of the season. + */ + public Builder startDate(@Nullable LocalDate startDate) { + this.startDate = startDate; + return this; + } + + /** + * The ISO 8601 end date of the season. + */ + public Builder endDate(@Nullable LocalDate endDate) { + this.endDate = endDate; + return this; + } + + /** + * Number of release periods. + */ + public Builder releasePeriod(@Nullable Long releasePeriod) { + this.releasePeriod = releasePeriod; + return this; + } + + /** + * Number of weekend release periods. + */ + public Builder weekendReleasePeriod(@Nullable Long weekendReleasePeriod) { + this.weekendReleasePeriod = weekendReleasePeriod; + return this; + } + + /** + * Collection of rates for the season. + */ + public Builder rates(@Nullable List rates) { + this.rates = rates; + return this; + } + + /** + * Collection of weekend rates for the season. + */ + public Builder weekendRates(@Nullable List weekendRates) { + this.weekendRates = weekendRates; + return this; + } + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + public Builder status(@Nullable BidItemStatusType status) { + this.status = status; + return this; + } + + public TravelBidSeason build() { + return new TravelBidSeason( + name, startDate, endDate, releasePeriod, weekendReleasePeriod, rates, weekendRates, status); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidSeasonJson.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidSeasonJson.java deleted file mode 100644 index d172cd40e..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelBidSeasonJson.java +++ /dev/null @@ -1,372 +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.Long; -import java.lang.Override; -import java.lang.String; -import java.time.LocalDate; -import java.util.List; -import java.util.Optional; - -/** - * TravelBidSeasonJson - * - *

Season details for a travel bid. - */ -public class TravelBidSeasonJson { - /** - * Season name. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - /** - * The ISO 8601 start date of the season. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("startDate") - private LocalDate startDate; - - /** - * The ISO 8601 end date of the season. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("endDate") - private LocalDate endDate; - - /** - * Number of release periods. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("releasePeriod") - private Long releasePeriod; - - /** - * Number of weekend release periods. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("weekendReleasePeriod") - private Long weekendReleasePeriod; - - /** - * Collection of rates for the season. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("rates") - private List rates; - - /** - * Collection of weekend rates for the season. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("weekendRates") - private List weekendRates; - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("status") - private BidItemStatusTypeJson status; - - @JsonCreator - public TravelBidSeasonJson( - @JsonProperty("name") @Nullable String name, - @JsonProperty("startDate") @Nullable LocalDate startDate, - @JsonProperty("endDate") @Nullable LocalDate endDate, - @JsonProperty("releasePeriod") @Nullable Long releasePeriod, - @JsonProperty("weekendReleasePeriod") @Nullable Long weekendReleasePeriod, - @JsonProperty("rates") @Nullable List rates, - @JsonProperty("weekendRates") @Nullable List weekendRates, - @JsonProperty("status") @Nullable BidItemStatusTypeJson status) { - this.name = name; - this.startDate = startDate; - this.endDate = endDate; - this.releasePeriod = releasePeriod; - this.weekendReleasePeriod = weekendReleasePeriod; - this.rates = rates; - this.weekendRates = weekendRates; - this.status = status; - } - - public TravelBidSeasonJson() { - this(null, null, null, null, null, null, null, null); - } - - /** - * Season name. - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - /** - * The ISO 8601 start date of the season. - */ - public Optional startDate() { - return Optional.ofNullable(this.startDate); - } - - /** - * The ISO 8601 end date of the season. - */ - public Optional endDate() { - return Optional.ofNullable(this.endDate); - } - - /** - * Number of release periods. - */ - public Optional releasePeriod() { - return Optional.ofNullable(this.releasePeriod); - } - - /** - * Number of weekend release periods. - */ - public Optional weekendReleasePeriod() { - return Optional.ofNullable(this.weekendReleasePeriod); - } - - /** - * Collection of rates for the season. - */ - public Optional> rates() { - return Optional.ofNullable(this.rates); - } - - /** - * Collection of weekend rates for the season. - */ - public Optional> weekendRates() { - return Optional.ofNullable(this.weekendRates); - } - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - public Optional status() { - return Optional.ofNullable(this.status); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Season name. - */ - public TravelBidSeasonJson withName(@Nullable String name) { - this.name = name; - return this; - } - - /** - * The ISO 8601 start date of the season. - */ - public TravelBidSeasonJson withStartDate(@Nullable LocalDate startDate) { - this.startDate = startDate; - return this; - } - - /** - * The ISO 8601 end date of the season. - */ - public TravelBidSeasonJson withEndDate(@Nullable LocalDate endDate) { - this.endDate = endDate; - return this; - } - - /** - * Number of release periods. - */ - public TravelBidSeasonJson withReleasePeriod(@Nullable Long releasePeriod) { - this.releasePeriod = releasePeriod; - return this; - } - - /** - * Number of weekend release periods. - */ - public TravelBidSeasonJson withWeekendReleasePeriod(@Nullable Long weekendReleasePeriod) { - this.weekendReleasePeriod = weekendReleasePeriod; - return this; - } - - /** - * Collection of rates for the season. - */ - public TravelBidSeasonJson withRates(@Nullable List rates) { - this.rates = rates; - return this; - } - - /** - * Collection of weekend rates for the season. - */ - public TravelBidSeasonJson withWeekendRates(@Nullable List weekendRates) { - this.weekendRates = weekendRates; - return this; - } - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - public TravelBidSeasonJson withStatus(@Nullable BidItemStatusTypeJson status) { - this.status = status; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - TravelBidSeasonJson other = (TravelBidSeasonJson) o; - return Utils.enhancedDeepEquals(this.name, other.name) - && Utils.enhancedDeepEquals(this.startDate, other.startDate) - && Utils.enhancedDeepEquals(this.endDate, other.endDate) - && Utils.enhancedDeepEquals(this.releasePeriod, other.releasePeriod) - && Utils.enhancedDeepEquals(this.weekendReleasePeriod, other.weekendReleasePeriod) - && Utils.enhancedDeepEquals(this.rates, other.rates) - && Utils.enhancedDeepEquals(this.weekendRates, other.weekendRates) - && Utils.enhancedDeepEquals(this.status, other.status); - } - - @Override - public int hashCode() { - return Utils.enhancedHash( - name, startDate, endDate, releasePeriod, weekendReleasePeriod, rates, weekendRates, status); - } - - @Override - public String toString() { - return Utils.toString( - TravelBidSeasonJson.class, - "name", - name, - "startDate", - startDate, - "endDate", - endDate, - "releasePeriod", - releasePeriod, - "weekendReleasePeriod", - weekendReleasePeriod, - "rates", - rates, - "weekendRates", - weekendRates, - "status", - status); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String name; - - private LocalDate startDate; - - private LocalDate endDate; - - private Long releasePeriod; - - private Long weekendReleasePeriod; - - private List rates; - - private List weekendRates; - - private BidItemStatusTypeJson status; - - private Builder() { - // force use of static builder() method - } - - /** - * Season name. - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - /** - * The ISO 8601 start date of the season. - */ - public Builder startDate(@Nullable LocalDate startDate) { - this.startDate = startDate; - return this; - } - - /** - * The ISO 8601 end date of the season. - */ - public Builder endDate(@Nullable LocalDate endDate) { - this.endDate = endDate; - return this; - } - - /** - * Number of release periods. - */ - public Builder releasePeriod(@Nullable Long releasePeriod) { - this.releasePeriod = releasePeriod; - return this; - } - - /** - * Number of weekend release periods. - */ - public Builder weekendReleasePeriod(@Nullable Long weekendReleasePeriod) { - this.weekendReleasePeriod = weekendReleasePeriod; - return this; - } - - /** - * Collection of rates for the season. - */ - public Builder rates(@Nullable List rates) { - this.rates = rates; - return this; - } - - /** - * Collection of weekend rates for the season. - */ - public Builder weekendRates(@Nullable List weekendRates) { - this.weekendRates = weekendRates; - return this; - } - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - public Builder status(@Nullable BidItemStatusTypeJson status) { - this.status = status; - return this; - } - - public TravelBidSeasonJson build() { - return new TravelBidSeasonJson( - name, startDate, endDate, releasePeriod, weekendReleasePeriod, rates, weekendRates, status); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidSeasonRate.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidSeasonRate.java new file mode 100644 index 000000000..eb66ac896 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelBidSeasonRate.java @@ -0,0 +1,424 @@ +/* + * 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.Double; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * TravelBidSeasonRate + * + *

The negotiated rates for a property room during a specific season. + */ +public class TravelBidSeasonRate { + /** + * ID of the property's room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("propertyRoom") + private TravelBidSeasonRatePropertyRoom propertyRoom; + + /** + * The last room available (LRA) single rate. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("singleRate") + private Double singleRate; + + /** + * The last room available (LRA) double rate. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("doubleRate") + private Double doubleRate; + + /** + * The last room available (LRA) triple rate. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("tripleRate") + private Double tripleRate; + + /** + * The last room available (LRA) quad rate. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("quadRate") + private Double quadRate; + + /** + * The non last room available (NLRA) single rate. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("nlraSingleRate") + private Double nlraSingleRate; + + /** + * The non last room available (NLRA) double rate. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("nlraDoubleRate") + private Double nlraDoubleRate; + + /** + * The number of rooms allotted at the negotiated rate. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("allotment") + private Long allotment; + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("status") + private BidItemStatusType status; + + @JsonCreator + public TravelBidSeasonRate( + @JsonProperty("propertyRoom") @Nullable TravelBidSeasonRatePropertyRoom propertyRoom, + @JsonProperty("singleRate") @Nullable Double singleRate, + @JsonProperty("doubleRate") @Nullable Double doubleRate, + @JsonProperty("tripleRate") @Nullable Double tripleRate, + @JsonProperty("quadRate") @Nullable Double quadRate, + @JsonProperty("nlraSingleRate") @Nullable Double nlraSingleRate, + @JsonProperty("nlraDoubleRate") @Nullable Double nlraDoubleRate, + @JsonProperty("allotment") @Nullable Long allotment, + @JsonProperty("status") @Nullable BidItemStatusType status) { + this.propertyRoom = propertyRoom; + this.singleRate = singleRate; + this.doubleRate = doubleRate; + this.tripleRate = tripleRate; + this.quadRate = quadRate; + this.nlraSingleRate = nlraSingleRate; + this.nlraDoubleRate = nlraDoubleRate; + this.allotment = allotment; + this.status = status; + } + + public TravelBidSeasonRate() { + this(null, null, null, null, null, null, null, null, null); + } + + /** + * ID of the property's room. + */ + public Optional propertyRoom() { + return Optional.ofNullable(this.propertyRoom); + } + + /** + * The last room available (LRA) single rate. + */ + public Optional singleRate() { + return Optional.ofNullable(this.singleRate); + } + + /** + * The last room available (LRA) double rate. + */ + public Optional doubleRate() { + return Optional.ofNullable(this.doubleRate); + } + + /** + * The last room available (LRA) triple rate. + */ + public Optional tripleRate() { + return Optional.ofNullable(this.tripleRate); + } + + /** + * The last room available (LRA) quad rate. + */ + public Optional quadRate() { + return Optional.ofNullable(this.quadRate); + } + + /** + * The non last room available (NLRA) single rate. + */ + public Optional nlraSingleRate() { + return Optional.ofNullable(this.nlraSingleRate); + } + + /** + * The non last room available (NLRA) double rate. + */ + public Optional nlraDoubleRate() { + return Optional.ofNullable(this.nlraDoubleRate); + } + + /** + * The number of rooms allotted at the negotiated rate. + */ + public Optional allotment() { + return Optional.ofNullable(this.allotment); + } + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + public Optional status() { + return Optional.ofNullable(this.status); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * ID of the property's room. + */ + public TravelBidSeasonRate withPropertyRoom(@Nullable TravelBidSeasonRatePropertyRoom propertyRoom) { + this.propertyRoom = propertyRoom; + return this; + } + + /** + * The last room available (LRA) single rate. + */ + public TravelBidSeasonRate withSingleRate(@Nullable Double singleRate) { + this.singleRate = singleRate; + return this; + } + + /** + * The last room available (LRA) double rate. + */ + public TravelBidSeasonRate withDoubleRate(@Nullable Double doubleRate) { + this.doubleRate = doubleRate; + return this; + } + + /** + * The last room available (LRA) triple rate. + */ + public TravelBidSeasonRate withTripleRate(@Nullable Double tripleRate) { + this.tripleRate = tripleRate; + return this; + } + + /** + * The last room available (LRA) quad rate. + */ + public TravelBidSeasonRate withQuadRate(@Nullable Double quadRate) { + this.quadRate = quadRate; + return this; + } + + /** + * The non last room available (NLRA) single rate. + */ + public TravelBidSeasonRate withNlraSingleRate(@Nullable Double nlraSingleRate) { + this.nlraSingleRate = nlraSingleRate; + return this; + } + + /** + * The non last room available (NLRA) double rate. + */ + public TravelBidSeasonRate withNlraDoubleRate(@Nullable Double nlraDoubleRate) { + this.nlraDoubleRate = nlraDoubleRate; + return this; + } + + /** + * The number of rooms allotted at the negotiated rate. + */ + public TravelBidSeasonRate withAllotment(@Nullable Long allotment) { + this.allotment = allotment; + return this; + } + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + public TravelBidSeasonRate withStatus(@Nullable BidItemStatusType status) { + this.status = status; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TravelBidSeasonRate other = (TravelBidSeasonRate) o; + return Utils.enhancedDeepEquals(this.propertyRoom, other.propertyRoom) + && Utils.enhancedDeepEquals(this.singleRate, other.singleRate) + && Utils.enhancedDeepEquals(this.doubleRate, other.doubleRate) + && Utils.enhancedDeepEquals(this.tripleRate, other.tripleRate) + && Utils.enhancedDeepEquals(this.quadRate, other.quadRate) + && Utils.enhancedDeepEquals(this.nlraSingleRate, other.nlraSingleRate) + && Utils.enhancedDeepEquals(this.nlraDoubleRate, other.nlraDoubleRate) + && Utils.enhancedDeepEquals(this.allotment, other.allotment) + && Utils.enhancedDeepEquals(this.status, other.status); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + propertyRoom, + singleRate, + doubleRate, + tripleRate, + quadRate, + nlraSingleRate, + nlraDoubleRate, + allotment, + status); + } + + @Override + public String toString() { + return Utils.toString( + TravelBidSeasonRate.class, + "propertyRoom", + propertyRoom, + "singleRate", + singleRate, + "doubleRate", + doubleRate, + "tripleRate", + tripleRate, + "quadRate", + quadRate, + "nlraSingleRate", + nlraSingleRate, + "nlraDoubleRate", + nlraDoubleRate, + "allotment", + allotment, + "status", + status); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private TravelBidSeasonRatePropertyRoom propertyRoom; + + private Double singleRate; + + private Double doubleRate; + + private Double tripleRate; + + private Double quadRate; + + private Double nlraSingleRate; + + private Double nlraDoubleRate; + + private Long allotment; + + private BidItemStatusType status; + + private Builder() { + // force use of static builder() method + } + + /** + * ID of the property's room. + */ + public Builder propertyRoom(@Nullable TravelBidSeasonRatePropertyRoom propertyRoom) { + this.propertyRoom = propertyRoom; + return this; + } + + /** + * The last room available (LRA) single rate. + */ + public Builder singleRate(@Nullable Double singleRate) { + this.singleRate = singleRate; + return this; + } + + /** + * The last room available (LRA) double rate. + */ + public Builder doubleRate(@Nullable Double doubleRate) { + this.doubleRate = doubleRate; + return this; + } + + /** + * The last room available (LRA) triple rate. + */ + public Builder tripleRate(@Nullable Double tripleRate) { + this.tripleRate = tripleRate; + return this; + } + + /** + * The last room available (LRA) quad rate. + */ + public Builder quadRate(@Nullable Double quadRate) { + this.quadRate = quadRate; + return this; + } + + /** + * The non last room available (NLRA) single rate. + */ + public Builder nlraSingleRate(@Nullable Double nlraSingleRate) { + this.nlraSingleRate = nlraSingleRate; + return this; + } + + /** + * The non last room available (NLRA) double rate. + */ + public Builder nlraDoubleRate(@Nullable Double nlraDoubleRate) { + this.nlraDoubleRate = nlraDoubleRate; + return this; + } + + /** + * The number of rooms allotted at the negotiated rate. + */ + public Builder allotment(@Nullable Long allotment) { + this.allotment = allotment; + return this; + } + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + public Builder status(@Nullable BidItemStatusType status) { + this.status = status; + return this; + } + + public TravelBidSeasonRate build() { + return new TravelBidSeasonRate( + propertyRoom, + singleRate, + doubleRate, + tripleRate, + quadRate, + nlraSingleRate, + nlraDoubleRate, + allotment, + status); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidSeasonRateJson.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidSeasonRateJson.java deleted file mode 100644 index eade7e738..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelBidSeasonRateJson.java +++ /dev/null @@ -1,424 +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.Double; -import java.lang.Long; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * TravelBidSeasonRateJson - * - *

The negotiated rates for a property room during a specific season. - */ -public class TravelBidSeasonRateJson { - /** - * ID of the property's room. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("propertyRoom") - private TravelBidSeasonRateJsonPropertyRoom propertyRoom; - - /** - * The last room available (LRA) single rate. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("singleRate") - private Double singleRate; - - /** - * The last room available (LRA) double rate. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("doubleRate") - private Double doubleRate; - - /** - * The last room available (LRA) triple rate. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("tripleRate") - private Double tripleRate; - - /** - * The last room available (LRA) quad rate. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("quadRate") - private Double quadRate; - - /** - * The non last room available (NLRA) single rate. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("nlraSingleRate") - private Double nlraSingleRate; - - /** - * The non last room available (NLRA) double rate. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("nlraDoubleRate") - private Double nlraDoubleRate; - - /** - * The number of rooms allotted at the negotiated rate. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("allotment") - private Long allotment; - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("status") - private BidItemStatusTypeJson status; - - @JsonCreator - public TravelBidSeasonRateJson( - @JsonProperty("propertyRoom") @Nullable TravelBidSeasonRateJsonPropertyRoom propertyRoom, - @JsonProperty("singleRate") @Nullable Double singleRate, - @JsonProperty("doubleRate") @Nullable Double doubleRate, - @JsonProperty("tripleRate") @Nullable Double tripleRate, - @JsonProperty("quadRate") @Nullable Double quadRate, - @JsonProperty("nlraSingleRate") @Nullable Double nlraSingleRate, - @JsonProperty("nlraDoubleRate") @Nullable Double nlraDoubleRate, - @JsonProperty("allotment") @Nullable Long allotment, - @JsonProperty("status") @Nullable BidItemStatusTypeJson status) { - this.propertyRoom = propertyRoom; - this.singleRate = singleRate; - this.doubleRate = doubleRate; - this.tripleRate = tripleRate; - this.quadRate = quadRate; - this.nlraSingleRate = nlraSingleRate; - this.nlraDoubleRate = nlraDoubleRate; - this.allotment = allotment; - this.status = status; - } - - public TravelBidSeasonRateJson() { - this(null, null, null, null, null, null, null, null, null); - } - - /** - * ID of the property's room. - */ - public Optional propertyRoom() { - return Optional.ofNullable(this.propertyRoom); - } - - /** - * The last room available (LRA) single rate. - */ - public Optional singleRate() { - return Optional.ofNullable(this.singleRate); - } - - /** - * The last room available (LRA) double rate. - */ - public Optional doubleRate() { - return Optional.ofNullable(this.doubleRate); - } - - /** - * The last room available (LRA) triple rate. - */ - public Optional tripleRate() { - return Optional.ofNullable(this.tripleRate); - } - - /** - * The last room available (LRA) quad rate. - */ - public Optional quadRate() { - return Optional.ofNullable(this.quadRate); - } - - /** - * The non last room available (NLRA) single rate. - */ - public Optional nlraSingleRate() { - return Optional.ofNullable(this.nlraSingleRate); - } - - /** - * The non last room available (NLRA) double rate. - */ - public Optional nlraDoubleRate() { - return Optional.ofNullable(this.nlraDoubleRate); - } - - /** - * The number of rooms allotted at the negotiated rate. - */ - public Optional allotment() { - return Optional.ofNullable(this.allotment); - } - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - public Optional status() { - return Optional.ofNullable(this.status); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * ID of the property's room. - */ - public TravelBidSeasonRateJson withPropertyRoom(@Nullable TravelBidSeasonRateJsonPropertyRoom propertyRoom) { - this.propertyRoom = propertyRoom; - return this; - } - - /** - * The last room available (LRA) single rate. - */ - public TravelBidSeasonRateJson withSingleRate(@Nullable Double singleRate) { - this.singleRate = singleRate; - return this; - } - - /** - * The last room available (LRA) double rate. - */ - public TravelBidSeasonRateJson withDoubleRate(@Nullable Double doubleRate) { - this.doubleRate = doubleRate; - return this; - } - - /** - * The last room available (LRA) triple rate. - */ - public TravelBidSeasonRateJson withTripleRate(@Nullable Double tripleRate) { - this.tripleRate = tripleRate; - return this; - } - - /** - * The last room available (LRA) quad rate. - */ - public TravelBidSeasonRateJson withQuadRate(@Nullable Double quadRate) { - this.quadRate = quadRate; - return this; - } - - /** - * The non last room available (NLRA) single rate. - */ - public TravelBidSeasonRateJson withNlraSingleRate(@Nullable Double nlraSingleRate) { - this.nlraSingleRate = nlraSingleRate; - return this; - } - - /** - * The non last room available (NLRA) double rate. - */ - public TravelBidSeasonRateJson withNlraDoubleRate(@Nullable Double nlraDoubleRate) { - this.nlraDoubleRate = nlraDoubleRate; - return this; - } - - /** - * The number of rooms allotted at the negotiated rate. - */ - public TravelBidSeasonRateJson withAllotment(@Nullable Long allotment) { - this.allotment = allotment; - return this; - } - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - public TravelBidSeasonRateJson withStatus(@Nullable BidItemStatusTypeJson status) { - this.status = status; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - TravelBidSeasonRateJson other = (TravelBidSeasonRateJson) o; - return Utils.enhancedDeepEquals(this.propertyRoom, other.propertyRoom) - && Utils.enhancedDeepEquals(this.singleRate, other.singleRate) - && Utils.enhancedDeepEquals(this.doubleRate, other.doubleRate) - && Utils.enhancedDeepEquals(this.tripleRate, other.tripleRate) - && Utils.enhancedDeepEquals(this.quadRate, other.quadRate) - && Utils.enhancedDeepEquals(this.nlraSingleRate, other.nlraSingleRate) - && Utils.enhancedDeepEquals(this.nlraDoubleRate, other.nlraDoubleRate) - && Utils.enhancedDeepEquals(this.allotment, other.allotment) - && Utils.enhancedDeepEquals(this.status, other.status); - } - - @Override - public int hashCode() { - return Utils.enhancedHash( - propertyRoom, - singleRate, - doubleRate, - tripleRate, - quadRate, - nlraSingleRate, - nlraDoubleRate, - allotment, - status); - } - - @Override - public String toString() { - return Utils.toString( - TravelBidSeasonRateJson.class, - "propertyRoom", - propertyRoom, - "singleRate", - singleRate, - "doubleRate", - doubleRate, - "tripleRate", - tripleRate, - "quadRate", - quadRate, - "nlraSingleRate", - nlraSingleRate, - "nlraDoubleRate", - nlraDoubleRate, - "allotment", - allotment, - "status", - status); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private TravelBidSeasonRateJsonPropertyRoom propertyRoom; - - private Double singleRate; - - private Double doubleRate; - - private Double tripleRate; - - private Double quadRate; - - private Double nlraSingleRate; - - private Double nlraDoubleRate; - - private Long allotment; - - private BidItemStatusTypeJson status; - - private Builder() { - // force use of static builder() method - } - - /** - * ID of the property's room. - */ - public Builder propertyRoom(@Nullable TravelBidSeasonRateJsonPropertyRoom propertyRoom) { - this.propertyRoom = propertyRoom; - return this; - } - - /** - * The last room available (LRA) single rate. - */ - public Builder singleRate(@Nullable Double singleRate) { - this.singleRate = singleRate; - return this; - } - - /** - * The last room available (LRA) double rate. - */ - public Builder doubleRate(@Nullable Double doubleRate) { - this.doubleRate = doubleRate; - return this; - } - - /** - * The last room available (LRA) triple rate. - */ - public Builder tripleRate(@Nullable Double tripleRate) { - this.tripleRate = tripleRate; - return this; - } - - /** - * The last room available (LRA) quad rate. - */ - public Builder quadRate(@Nullable Double quadRate) { - this.quadRate = quadRate; - return this; - } - - /** - * The non last room available (NLRA) single rate. - */ - public Builder nlraSingleRate(@Nullable Double nlraSingleRate) { - this.nlraSingleRate = nlraSingleRate; - return this; - } - - /** - * The non last room available (NLRA) double rate. - */ - public Builder nlraDoubleRate(@Nullable Double nlraDoubleRate) { - this.nlraDoubleRate = nlraDoubleRate; - return this; - } - - /** - * The number of rooms allotted at the negotiated rate. - */ - public Builder allotment(@Nullable Long allotment) { - this.allotment = allotment; - return this; - } - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - public Builder status(@Nullable BidItemStatusTypeJson status) { - this.status = status; - return this; - } - - public TravelBidSeasonRateJson build() { - return new TravelBidSeasonRateJson( - propertyRoom, - singleRate, - doubleRate, - tripleRate, - quadRate, - nlraSingleRate, - nlraDoubleRate, - allotment, - status); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidSeasonRateJsonPropertyRoom.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidSeasonRateJsonPropertyRoom.java deleted file mode 100644 index 69dc84524..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelBidSeasonRateJsonPropertyRoom.java +++ /dev/null @@ -1,100 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * TravelBidSeasonRateJsonPropertyRoom - * - *

ID of the property's room. - */ -public class TravelBidSeasonRateJsonPropertyRoom { - /** - * The unique ID of the property room. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public TravelBidSeasonRateJsonPropertyRoom(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public TravelBidSeasonRateJsonPropertyRoom() { - this(null); - } - - /** - * The unique ID of the property room. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique ID of the property room. - */ - public TravelBidSeasonRateJsonPropertyRoom withId(@Nullable String id) { - this.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; - } - TravelBidSeasonRateJsonPropertyRoom other = (TravelBidSeasonRateJsonPropertyRoom) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(TravelBidSeasonRateJsonPropertyRoom.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique ID of the property room. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public TravelBidSeasonRateJsonPropertyRoom build() { - return new TravelBidSeasonRateJsonPropertyRoom(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidSeasonRatePropertyRoom.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidSeasonRatePropertyRoom.java new file mode 100644 index 000000000..78b882310 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelBidSeasonRatePropertyRoom.java @@ -0,0 +1,100 @@ +/* + * 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; + +/** + * TravelBidSeasonRatePropertyRoom + * + *

ID of the property's room. + */ +public class TravelBidSeasonRatePropertyRoom { + /** + * The unique ID of the property room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public TravelBidSeasonRatePropertyRoom(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public TravelBidSeasonRatePropertyRoom() { + this(null); + } + + /** + * The unique ID of the property room. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique ID of the property room. + */ + public TravelBidSeasonRatePropertyRoom withId(@Nullable String id) { + this.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; + } + TravelBidSeasonRatePropertyRoom other = (TravelBidSeasonRatePropertyRoom) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(TravelBidSeasonRatePropertyRoom.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique ID of the property room. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public TravelBidSeasonRatePropertyRoom build() { + return new TravelBidSeasonRatePropertyRoom(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidTaxAndFee.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidTaxAndFee.java new file mode 100644 index 000000000..3018482a5 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelBidTaxAndFee.java @@ -0,0 +1,307 @@ +/* + * 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.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * TravelBidTaxAndFee + * + *

A tax or fee associated with a travel bid. + */ +public class TravelBidTaxAndFee { + /** + * Bid tax type. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("code") + private TaxType code; + + /** + * The amount of the tax/fee. This may be a percent or monetary value depending on the value in + * `percent`. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("amount") + private Double amount; + + /** + * True indicates the tax/fee amount represents a percentage, instead of a monetary value. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("percent") + private Boolean percent; + + /** + * True indicates the tax/fee included in the negotiated rate. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("included") + private Boolean included; + + /** + * Additional notes on the tax/fee. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("notes") + private String notes; + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("status") + private BidItemStatusType status; + + @JsonCreator + public TravelBidTaxAndFee( + @JsonProperty("code") @Nullable TaxType code, + @JsonProperty("amount") @Nullable Double amount, + @JsonProperty("percent") @Nullable Boolean percent, + @JsonProperty("included") @Nullable Boolean included, + @JsonProperty("notes") @Nullable String notes, + @JsonProperty("status") @Nullable BidItemStatusType status) { + this.code = code; + this.amount = amount; + this.percent = Optional.ofNullable(percent).orElse(Builder._SINGLETON_VALUE_Percent.value()); + this.included = Optional.ofNullable(included).orElse(Builder._SINGLETON_VALUE_Included.value()); + this.notes = notes; + this.status = status; + } + + public TravelBidTaxAndFee() { + this(null, null, null, null, null, null); + } + + /** + * Bid tax type. + */ + public Optional code() { + return Optional.ofNullable(this.code); + } + + /** + * The amount of the tax/fee. This may be a percent or monetary value depending on the value in + * `percent`. + */ + public Optional amount() { + return Optional.ofNullable(this.amount); + } + + /** + * True indicates the tax/fee amount represents a percentage, instead of a monetary value. + */ + public Optional percent() { + return Optional.ofNullable(this.percent); + } + + /** + * True indicates the tax/fee included in the negotiated rate. + */ + public Optional included() { + return Optional.ofNullable(this.included); + } + + /** + * Additional notes on the tax/fee. + */ + public Optional notes() { + return Optional.ofNullable(this.notes); + } + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + public Optional status() { + return Optional.ofNullable(this.status); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Bid tax type. + */ + public TravelBidTaxAndFee withCode(@Nullable TaxType code) { + this.code = code; + return this; + } + + /** + * The amount of the tax/fee. This may be a percent or monetary value depending on the value in + * `percent`. + */ + public TravelBidTaxAndFee withAmount(@Nullable Double amount) { + this.amount = amount; + return this; + } + + /** + * True indicates the tax/fee amount represents a percentage, instead of a monetary value. + */ + public TravelBidTaxAndFee withPercent(@Nullable Boolean percent) { + this.percent = percent; + return this; + } + + /** + * True indicates the tax/fee included in the negotiated rate. + */ + public TravelBidTaxAndFee withIncluded(@Nullable Boolean included) { + this.included = included; + return this; + } + + /** + * Additional notes on the tax/fee. + */ + public TravelBidTaxAndFee withNotes(@Nullable String notes) { + this.notes = notes; + return this; + } + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + public TravelBidTaxAndFee withStatus(@Nullable BidItemStatusType status) { + this.status = status; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TravelBidTaxAndFee other = (TravelBidTaxAndFee) o; + return Utils.enhancedDeepEquals(this.code, other.code) + && Utils.enhancedDeepEquals(this.amount, other.amount) + && Utils.enhancedDeepEquals(this.percent, other.percent) + && Utils.enhancedDeepEquals(this.included, other.included) + && Utils.enhancedDeepEquals(this.notes, other.notes) + && Utils.enhancedDeepEquals(this.status, other.status); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(code, amount, percent, included, notes, status); + } + + @Override + public String toString() { + return Utils.toString( + TravelBidTaxAndFee.class, + "code", + code, + "amount", + amount, + "percent", + percent, + "included", + included, + "notes", + notes, + "status", + status); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private TaxType code; + + private Double amount; + + private Boolean percent; + + private Boolean included; + + private String notes; + + private BidItemStatusType status; + + private Builder() { + // force use of static builder() method + } + + /** + * Bid tax type. + */ + public Builder code(@Nullable TaxType code) { + this.code = code; + return this; + } + + /** + * The amount of the tax/fee. This may be a percent or monetary value depending on the value in + * `percent`. + */ + public Builder amount(@Nullable Double amount) { + this.amount = amount; + return this; + } + + /** + * True indicates the tax/fee amount represents a percentage, instead of a monetary value. + */ + public Builder percent(@Nullable Boolean percent) { + this.percent = percent; + return this; + } + + /** + * True indicates the tax/fee included in the negotiated rate. + */ + public Builder included(@Nullable Boolean included) { + this.included = included; + return this; + } + + /** + * Additional notes on the tax/fee. + */ + public Builder notes(@Nullable String notes) { + this.notes = notes; + return this; + } + + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, + * and the hotel, if they agree, can update the item to deleted. + */ + public Builder status(@Nullable BidItemStatusType status) { + this.status = status; + return this; + } + + public TravelBidTaxAndFee build() { + return new TravelBidTaxAndFee(code, amount, percent, included, notes, status); + } + + private static final LazySingletonValue _SINGLETON_VALUE_Percent = + new LazySingletonValue<>("percent", "false", new TypeReference() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_Included = + new LazySingletonValue<>("included", "false", new TypeReference() {}); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidTaxFeeJson.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidTaxFeeJson.java deleted file mode 100644 index 460b3a93a..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelBidTaxFeeJson.java +++ /dev/null @@ -1,307 +0,0 @@ -/* - * 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.Double; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * TravelBidTaxFeeJson - * - *

A tax or fee associated with a travel bid. - */ -public class TravelBidTaxFeeJson { - /** - * Bid tax type. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("code") - private TaxTypeJson code; - - /** - * The amount of the tax/fee. This may be a percent or monetary value depending on the value in - * `percent`. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("amount") - private Double amount; - - /** - * True indicates the tax/fee amount represents a percentage, instead of a monetary value. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("percent") - private Boolean percent; - - /** - * True indicates the tax/fee included in the negotiated rate. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("included") - private Boolean included; - - /** - * Additional notes on the tax/fee. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("notes") - private String notes; - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("status") - private BidItemStatusTypeJson status; - - @JsonCreator - public TravelBidTaxFeeJson( - @JsonProperty("code") @Nullable TaxTypeJson code, - @JsonProperty("amount") @Nullable Double amount, - @JsonProperty("percent") @Nullable Boolean percent, - @JsonProperty("included") @Nullable Boolean included, - @JsonProperty("notes") @Nullable String notes, - @JsonProperty("status") @Nullable BidItemStatusTypeJson status) { - this.code = code; - this.amount = amount; - this.percent = Optional.ofNullable(percent).orElse(Builder._SINGLETON_VALUE_Percent.value()); - this.included = Optional.ofNullable(included).orElse(Builder._SINGLETON_VALUE_Included.value()); - this.notes = notes; - this.status = status; - } - - public TravelBidTaxFeeJson() { - this(null, null, null, null, null, null); - } - - /** - * Bid tax type. - */ - public Optional code() { - return Optional.ofNullable(this.code); - } - - /** - * The amount of the tax/fee. This may be a percent or monetary value depending on the value in - * `percent`. - */ - public Optional amount() { - return Optional.ofNullable(this.amount); - } - - /** - * True indicates the tax/fee amount represents a percentage, instead of a monetary value. - */ - public Optional percent() { - return Optional.ofNullable(this.percent); - } - - /** - * True indicates the tax/fee included in the negotiated rate. - */ - public Optional included() { - return Optional.ofNullable(this.included); - } - - /** - * Additional notes on the tax/fee. - */ - public Optional notes() { - return Optional.ofNullable(this.notes); - } - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - public Optional status() { - return Optional.ofNullable(this.status); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Bid tax type. - */ - public TravelBidTaxFeeJson withCode(@Nullable TaxTypeJson code) { - this.code = code; - return this; - } - - /** - * The amount of the tax/fee. This may be a percent or monetary value depending on the value in - * `percent`. - */ - public TravelBidTaxFeeJson withAmount(@Nullable Double amount) { - this.amount = amount; - return this; - } - - /** - * True indicates the tax/fee amount represents a percentage, instead of a monetary value. - */ - public TravelBidTaxFeeJson withPercent(@Nullable Boolean percent) { - this.percent = percent; - return this; - } - - /** - * True indicates the tax/fee included in the negotiated rate. - */ - public TravelBidTaxFeeJson withIncluded(@Nullable Boolean included) { - this.included = included; - return this; - } - - /** - * Additional notes on the tax/fee. - */ - public TravelBidTaxFeeJson withNotes(@Nullable String notes) { - this.notes = notes; - return this; - } - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - public TravelBidTaxFeeJson withStatus(@Nullable BidItemStatusTypeJson status) { - this.status = status; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - TravelBidTaxFeeJson other = (TravelBidTaxFeeJson) o; - return Utils.enhancedDeepEquals(this.code, other.code) - && Utils.enhancedDeepEquals(this.amount, other.amount) - && Utils.enhancedDeepEquals(this.percent, other.percent) - && Utils.enhancedDeepEquals(this.included, other.included) - && Utils.enhancedDeepEquals(this.notes, other.notes) - && Utils.enhancedDeepEquals(this.status, other.status); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(code, amount, percent, included, notes, status); - } - - @Override - public String toString() { - return Utils.toString( - TravelBidTaxFeeJson.class, - "code", - code, - "amount", - amount, - "percent", - percent, - "included", - included, - "notes", - notes, - "status", - status); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private TaxTypeJson code; - - private Double amount; - - private Boolean percent; - - private Boolean included; - - private String notes; - - private BidItemStatusTypeJson status; - - private Builder() { - // force use of static builder() method - } - - /** - * Bid tax type. - */ - public Builder code(@Nullable TaxTypeJson code) { - this.code = code; - return this; - } - - /** - * The amount of the tax/fee. This may be a percent or monetary value depending on the value in - * `percent`. - */ - public Builder amount(@Nullable Double amount) { - this.amount = amount; - return this; - } - - /** - * True indicates the tax/fee amount represents a percentage, instead of a monetary value. - */ - public Builder percent(@Nullable Boolean percent) { - this.percent = percent; - return this; - } - - /** - * True indicates the tax/fee included in the negotiated rate. - */ - public Builder included(@Nullable Boolean included) { - this.included = included; - return this; - } - - /** - * Additional notes on the tax/fee. - */ - public Builder notes(@Nullable String notes) { - this.notes = notes; - return this; - } - - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, - * and the hotel, if they agree, can update the item to deleted. - */ - public Builder status(@Nullable BidItemStatusTypeJson status) { - this.status = status; - return this; - } - - public TravelBidTaxFeeJson build() { - return new TravelBidTaxFeeJson(code, amount, percent, included, notes, status); - } - - private static final LazySingletonValue _SINGLETON_VALUE_Percent = - new LazySingletonValue<>("percent", "false", new TypeReference() {}); - - private static final LazySingletonValue _SINGLETON_VALUE_Included = - new LazySingletonValue<>("included", "false", new TypeReference() {}); - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelBidWeekendDayJson.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidWeekendDayJson.java deleted file mode 100644 index 96898da48..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelBidWeekendDayJson.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * 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; - -/** - * TravelBidWeekendDayJson - * - *

Days considered weekend days for pricing purposes in the travel bid. - */ -public enum TravelBidWeekendDayJson { - MONDAY("Monday"), - TUESDAY("Tuesday"), - WEDNESDAY("Wednesday"), - THURSDAY("Thursday"), - FRIDAY("Friday"), - SATURDAY("Saturday"), - SUNDAY("Sunday"); - - @JsonValue - private final String value; - - TravelBidWeekendDayJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (TravelBidWeekendDayJson o : TravelBidWeekendDayJson.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/TravelBidWeekendDays.java b/packages/java/src/main/java/com/cvent/models/components/TravelBidWeekendDays.java new file mode 100644 index 000000000..8471fbac5 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelBidWeekendDays.java @@ -0,0 +1,44 @@ +/* + * 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; + +/** + * TravelBidWeekendDays + * + *

Days considered weekend days for pricing purposes in the travel bid. + */ +public enum TravelBidWeekendDays { + MONDAY("Monday"), + TUESDAY("Tuesday"), + WEDNESDAY("Wednesday"), + THURSDAY("Thursday"), + FRIDAY("Friday"), + SATURDAY("Saturday"), + SUNDAY("Sunday"); + + @JsonValue + private final String value; + + TravelBidWeekendDays(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (TravelBidWeekendDays o : TravelBidWeekendDays.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/TravelBreakOutRoomJson.java b/packages/java/src/main/java/com/cvent/models/components/TravelBreakOutRoomJson.java deleted file mode 100644 index 31e27e324..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelBreakOutRoomJson.java +++ /dev/null @@ -1,264 +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.Double; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * TravelBreakOutRoomJson - * - *

Break-out room information. - */ -public class TravelBreakOutRoomJson { - /** - * True indicates a 10 person room is included. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("10PersonRoomIncluded") - private Boolean tenPersonRoomIncluded; - - /** - * Price for 10 person room. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("price10PersonRoom") - private Double price10PersonRoom; - - /** - * True indicates a 25 person room included. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("25PersonRoomIncluded") - private Boolean twentyFivePersonRoomIncluded; - - /** - * Price for 25 person room. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("price25PersonRoom") - private Double price25PersonRoom; - - /** - * True indicates there is a permanent board room set up. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("permanentBoardRoomSetUp") - private Boolean permanentBoardRoomSetUp; - - @JsonCreator - public TravelBreakOutRoomJson( - @JsonProperty("10PersonRoomIncluded") @Nullable Boolean tenPersonRoomIncluded, - @JsonProperty("price10PersonRoom") @Nullable Double price10PersonRoom, - @JsonProperty("25PersonRoomIncluded") @Nullable Boolean twentyFivePersonRoomIncluded, - @JsonProperty("price25PersonRoom") @Nullable Double price25PersonRoom, - @JsonProperty("permanentBoardRoomSetUp") @Nullable Boolean permanentBoardRoomSetUp) { - this.tenPersonRoomIncluded = tenPersonRoomIncluded; - this.price10PersonRoom = price10PersonRoom; - this.twentyFivePersonRoomIncluded = twentyFivePersonRoomIncluded; - this.price25PersonRoom = price25PersonRoom; - this.permanentBoardRoomSetUp = permanentBoardRoomSetUp; - } - - public TravelBreakOutRoomJson() { - this(null, null, null, null, null); - } - - /** - * True indicates a 10 person room is included. - */ - public Optional tenPersonRoomIncluded() { - return Optional.ofNullable(this.tenPersonRoomIncluded); - } - - /** - * Price for 10 person room. - */ - public Optional price10PersonRoom() { - return Optional.ofNullable(this.price10PersonRoom); - } - - /** - * True indicates a 25 person room included. - */ - public Optional twentyFivePersonRoomIncluded() { - return Optional.ofNullable(this.twentyFivePersonRoomIncluded); - } - - /** - * Price for 25 person room. - */ - public Optional price25PersonRoom() { - return Optional.ofNullable(this.price25PersonRoom); - } - - /** - * True indicates there is a permanent board room set up. - */ - public Optional permanentBoardRoomSetUp() { - return Optional.ofNullable(this.permanentBoardRoomSetUp); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * True indicates a 10 person room is included. - */ - public TravelBreakOutRoomJson withTenPersonRoomIncluded(@Nullable Boolean tenPersonRoomIncluded) { - this.tenPersonRoomIncluded = tenPersonRoomIncluded; - return this; - } - - /** - * Price for 10 person room. - */ - public TravelBreakOutRoomJson withPrice10PersonRoom(@Nullable Double price10PersonRoom) { - this.price10PersonRoom = price10PersonRoom; - return this; - } - - /** - * True indicates a 25 person room included. - */ - public TravelBreakOutRoomJson withTwentyFivePersonRoomIncluded(@Nullable Boolean twentyFivePersonRoomIncluded) { - this.twentyFivePersonRoomIncluded = twentyFivePersonRoomIncluded; - return this; - } - - /** - * Price for 25 person room. - */ - public TravelBreakOutRoomJson withPrice25PersonRoom(@Nullable Double price25PersonRoom) { - this.price25PersonRoom = price25PersonRoom; - return this; - } - - /** - * True indicates there is a permanent board room set up. - */ - public TravelBreakOutRoomJson withPermanentBoardRoomSetUp(@Nullable Boolean permanentBoardRoomSetUp) { - this.permanentBoardRoomSetUp = permanentBoardRoomSetUp; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - TravelBreakOutRoomJson other = (TravelBreakOutRoomJson) o; - return Utils.enhancedDeepEquals(this.tenPersonRoomIncluded, other.tenPersonRoomIncluded) - && Utils.enhancedDeepEquals(this.price10PersonRoom, other.price10PersonRoom) - && Utils.enhancedDeepEquals(this.twentyFivePersonRoomIncluded, other.twentyFivePersonRoomIncluded) - && Utils.enhancedDeepEquals(this.price25PersonRoom, other.price25PersonRoom) - && Utils.enhancedDeepEquals(this.permanentBoardRoomSetUp, other.permanentBoardRoomSetUp); - } - - @Override - public int hashCode() { - return Utils.enhancedHash( - tenPersonRoomIncluded, - price10PersonRoom, - twentyFivePersonRoomIncluded, - price25PersonRoom, - permanentBoardRoomSetUp); - } - - @Override - public String toString() { - return Utils.toString( - TravelBreakOutRoomJson.class, - "tenPersonRoomIncluded", - tenPersonRoomIncluded, - "price10PersonRoom", - price10PersonRoom, - "twentyFivePersonRoomIncluded", - twentyFivePersonRoomIncluded, - "price25PersonRoom", - price25PersonRoom, - "permanentBoardRoomSetUp", - permanentBoardRoomSetUp); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private Boolean tenPersonRoomIncluded; - - private Double price10PersonRoom; - - private Boolean twentyFivePersonRoomIncluded; - - private Double price25PersonRoom; - - private Boolean permanentBoardRoomSetUp; - - private Builder() { - // force use of static builder() method - } - - /** - * True indicates a 10 person room is included. - */ - public Builder tenPersonRoomIncluded(@Nullable Boolean tenPersonRoomIncluded) { - this.tenPersonRoomIncluded = tenPersonRoomIncluded; - return this; - } - - /** - * Price for 10 person room. - */ - public Builder price10PersonRoom(@Nullable Double price10PersonRoom) { - this.price10PersonRoom = price10PersonRoom; - return this; - } - - /** - * True indicates a 25 person room included. - */ - public Builder twentyFivePersonRoomIncluded(@Nullable Boolean twentyFivePersonRoomIncluded) { - this.twentyFivePersonRoomIncluded = twentyFivePersonRoomIncluded; - return this; - } - - /** - * Price for 25 person room. - */ - public Builder price25PersonRoom(@Nullable Double price25PersonRoom) { - this.price25PersonRoom = price25PersonRoom; - return this; - } - - /** - * True indicates there is a permanent board room set up. - */ - public Builder permanentBoardRoomSetUp(@Nullable Boolean permanentBoardRoomSetUp) { - this.permanentBoardRoomSetUp = permanentBoardRoomSetUp; - return this; - } - - public TravelBreakOutRoomJson build() { - return new TravelBreakOutRoomJson( - tenPersonRoomIncluded, - price10PersonRoom, - twentyFivePersonRoomIncluded, - price25PersonRoom, - permanentBoardRoomSetUp); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelDayDelegateRateJson.java b/packages/java/src/main/java/com/cvent/models/components/TravelDayDelegateRateJson.java deleted file mode 100644 index 7494f3933..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelDayDelegateRateJson.java +++ /dev/null @@ -1,218 +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.Double; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * TravelDayDelegateRateJson - * - *

Day delegate rate information. This represents the costs for hosting meeting at the venue for a half - * or full day. - */ -public class TravelDayDelegateRateJson { - /** - * Full day delegate rate for 10 to 50 people. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("fullDay10To50People") - private Double fullDay10To50People; - - /** - * Full day delegate rate for 51 to 100 people. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("fullDay51To100People") - private Double fullDay51To100People; - - /** - * Half day delegate rate for 10 to 50 people. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("halfDay10To50People") - private Double halfDay10To50People; - - /** - * Half day delegate rate for 51 to 100 people. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("halfDay51To100People") - private Double halfDay51To100People; - - @JsonCreator - public TravelDayDelegateRateJson( - @JsonProperty("fullDay10To50People") @Nullable Double fullDay10To50People, - @JsonProperty("fullDay51To100People") @Nullable Double fullDay51To100People, - @JsonProperty("halfDay10To50People") @Nullable Double halfDay10To50People, - @JsonProperty("halfDay51To100People") @Nullable Double halfDay51To100People) { - this.fullDay10To50People = fullDay10To50People; - this.fullDay51To100People = fullDay51To100People; - this.halfDay10To50People = halfDay10To50People; - this.halfDay51To100People = halfDay51To100People; - } - - public TravelDayDelegateRateJson() { - this(null, null, null, null); - } - - /** - * Full day delegate rate for 10 to 50 people. - */ - public Optional fullDay10To50People() { - return Optional.ofNullable(this.fullDay10To50People); - } - - /** - * Full day delegate rate for 51 to 100 people. - */ - public Optional fullDay51To100People() { - return Optional.ofNullable(this.fullDay51To100People); - } - - /** - * Half day delegate rate for 10 to 50 people. - */ - public Optional halfDay10To50People() { - return Optional.ofNullable(this.halfDay10To50People); - } - - /** - * Half day delegate rate for 51 to 100 people. - */ - public Optional halfDay51To100People() { - return Optional.ofNullable(this.halfDay51To100People); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Full day delegate rate for 10 to 50 people. - */ - public TravelDayDelegateRateJson withFullDay10To50People(@Nullable Double fullDay10To50People) { - this.fullDay10To50People = fullDay10To50People; - return this; - } - - /** - * Full day delegate rate for 51 to 100 people. - */ - public TravelDayDelegateRateJson withFullDay51To100People(@Nullable Double fullDay51To100People) { - this.fullDay51To100People = fullDay51To100People; - return this; - } - - /** - * Half day delegate rate for 10 to 50 people. - */ - public TravelDayDelegateRateJson withHalfDay10To50People(@Nullable Double halfDay10To50People) { - this.halfDay10To50People = halfDay10To50People; - return this; - } - - /** - * Half day delegate rate for 51 to 100 people. - */ - public TravelDayDelegateRateJson withHalfDay51To100People(@Nullable Double halfDay51To100People) { - this.halfDay51To100People = halfDay51To100People; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - TravelDayDelegateRateJson other = (TravelDayDelegateRateJson) o; - return Utils.enhancedDeepEquals(this.fullDay10To50People, other.fullDay10To50People) - && Utils.enhancedDeepEquals(this.fullDay51To100People, other.fullDay51To100People) - && Utils.enhancedDeepEquals(this.halfDay10To50People, other.halfDay10To50People) - && Utils.enhancedDeepEquals(this.halfDay51To100People, other.halfDay51To100People); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(fullDay10To50People, fullDay51To100People, halfDay10To50People, halfDay51To100People); - } - - @Override - public String toString() { - return Utils.toString( - TravelDayDelegateRateJson.class, - "fullDay10To50People", - fullDay10To50People, - "fullDay51To100People", - fullDay51To100People, - "halfDay10To50People", - halfDay10To50People, - "halfDay51To100People", - halfDay51To100People); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private Double fullDay10To50People; - - private Double fullDay51To100People; - - private Double halfDay10To50People; - - private Double halfDay51To100People; - - private Builder() { - // force use of static builder() method - } - - /** - * Full day delegate rate for 10 to 50 people. - */ - public Builder fullDay10To50People(@Nullable Double fullDay10To50People) { - this.fullDay10To50People = fullDay10To50People; - return this; - } - - /** - * Full day delegate rate for 51 to 100 people. - */ - public Builder fullDay51To100People(@Nullable Double fullDay51To100People) { - this.fullDay51To100People = fullDay51To100People; - return this; - } - - /** - * Half day delegate rate for 10 to 50 people. - */ - public Builder halfDay10To50People(@Nullable Double halfDay10To50People) { - this.halfDay10To50People = halfDay10To50People; - return this; - } - - /** - * Half day delegate rate for 51 to 100 people. - */ - public Builder halfDay51To100People(@Nullable Double halfDay51To100People) { - this.halfDay51To100People = halfDay51To100People; - return this; - } - - public TravelDayDelegateRateJson build() { - return new TravelDayDelegateRateJson( - fullDay10To50People, fullDay51To100People, halfDay10To50People, halfDay51To100People); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelGroupAndMeetingJson.java b/packages/java/src/main/java/com/cvent/models/components/TravelGroupAndMeetingJson.java deleted file mode 100644 index c568545b0..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelGroupAndMeetingJson.java +++ /dev/null @@ -1,309 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * TravelGroupAndMeetingJson - * - *

Group and meeting information. - */ -public class TravelGroupAndMeetingJson { - /** - * Run of house rate information. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("runOfHouseRate") - private TravelRunOfHouseRateJson runOfHouseRate; - - /** - * Day delegate rate information. This represents the costs for hosting meeting at the venue for a half - * or full day. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("dayDelegateRate") - private TravelDayDelegateRateJson dayDelegateRate; - - /** - * Tax and service charge information. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("taxAndServiceCharge") - private TravelTaxAndServiceChargeJson taxAndServiceCharge; - - /** - * Meeting room basic information. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("meetingRoomBasicInformation") - private TravelMeetingRoomBasicInfoJson meetingRoomBasicInformation; - - /** - * Group and meeting amenity info. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("amenity") - private TravelAmenityJson amenity; - - /** - * Break-out room information. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("breakOutRoom") - private TravelBreakOutRoomJson breakOutRoom; - - @JsonCreator - public TravelGroupAndMeetingJson( - @JsonProperty("runOfHouseRate") @Nullable TravelRunOfHouseRateJson runOfHouseRate, - @JsonProperty("dayDelegateRate") @Nullable TravelDayDelegateRateJson dayDelegateRate, - @JsonProperty("taxAndServiceCharge") @Nullable TravelTaxAndServiceChargeJson taxAndServiceCharge, - @JsonProperty("meetingRoomBasicInformation") @Nullable - TravelMeetingRoomBasicInfoJson meetingRoomBasicInformation, - @JsonProperty("amenity") @Nullable TravelAmenityJson amenity, - @JsonProperty("breakOutRoom") @Nullable TravelBreakOutRoomJson breakOutRoom) { - this.runOfHouseRate = runOfHouseRate; - this.dayDelegateRate = dayDelegateRate; - this.taxAndServiceCharge = taxAndServiceCharge; - this.meetingRoomBasicInformation = meetingRoomBasicInformation; - this.amenity = amenity; - this.breakOutRoom = breakOutRoom; - } - - public TravelGroupAndMeetingJson() { - this(null, null, null, null, null, null); - } - - /** - * Run of house rate information. - */ - public Optional runOfHouseRate() { - return Optional.ofNullable(this.runOfHouseRate); - } - - /** - * Day delegate rate information. This represents the costs for hosting meeting at the venue for a half - * or full day. - */ - public Optional dayDelegateRate() { - return Optional.ofNullable(this.dayDelegateRate); - } - - /** - * Tax and service charge information. - */ - public Optional taxAndServiceCharge() { - return Optional.ofNullable(this.taxAndServiceCharge); - } - - /** - * Meeting room basic information. - */ - public Optional meetingRoomBasicInformation() { - return Optional.ofNullable(this.meetingRoomBasicInformation); - } - - /** - * Group and meeting amenity info. - */ - public Optional amenity() { - return Optional.ofNullable(this.amenity); - } - - /** - * Break-out room information. - */ - public Optional breakOutRoom() { - return Optional.ofNullable(this.breakOutRoom); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Run of house rate information. - */ - public TravelGroupAndMeetingJson withRunOfHouseRate(@Nullable TravelRunOfHouseRateJson runOfHouseRate) { - this.runOfHouseRate = runOfHouseRate; - return this; - } - - /** - * Day delegate rate information. This represents the costs for hosting meeting at the venue for a half - * or full day. - */ - public TravelGroupAndMeetingJson withDayDelegateRate(@Nullable TravelDayDelegateRateJson dayDelegateRate) { - this.dayDelegateRate = dayDelegateRate; - return this; - } - - /** - * Tax and service charge information. - */ - public TravelGroupAndMeetingJson withTaxAndServiceCharge( - @Nullable TravelTaxAndServiceChargeJson taxAndServiceCharge) { - this.taxAndServiceCharge = taxAndServiceCharge; - return this; - } - - /** - * Meeting room basic information. - */ - public TravelGroupAndMeetingJson withMeetingRoomBasicInformation( - @Nullable TravelMeetingRoomBasicInfoJson meetingRoomBasicInformation) { - this.meetingRoomBasicInformation = meetingRoomBasicInformation; - return this; - } - - /** - * Group and meeting amenity info. - */ - public TravelGroupAndMeetingJson withAmenity(@Nullable TravelAmenityJson amenity) { - this.amenity = amenity; - return this; - } - - /** - * Break-out room information. - */ - public TravelGroupAndMeetingJson withBreakOutRoom(@Nullable TravelBreakOutRoomJson breakOutRoom) { - this.breakOutRoom = breakOutRoom; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - TravelGroupAndMeetingJson other = (TravelGroupAndMeetingJson) o; - return Utils.enhancedDeepEquals(this.runOfHouseRate, other.runOfHouseRate) - && Utils.enhancedDeepEquals(this.dayDelegateRate, other.dayDelegateRate) - && Utils.enhancedDeepEquals(this.taxAndServiceCharge, other.taxAndServiceCharge) - && Utils.enhancedDeepEquals(this.meetingRoomBasicInformation, other.meetingRoomBasicInformation) - && Utils.enhancedDeepEquals(this.amenity, other.amenity) - && Utils.enhancedDeepEquals(this.breakOutRoom, other.breakOutRoom); - } - - @Override - public int hashCode() { - return Utils.enhancedHash( - runOfHouseRate, - dayDelegateRate, - taxAndServiceCharge, - meetingRoomBasicInformation, - amenity, - breakOutRoom); - } - - @Override - public String toString() { - return Utils.toString( - TravelGroupAndMeetingJson.class, - "runOfHouseRate", - runOfHouseRate, - "dayDelegateRate", - dayDelegateRate, - "taxAndServiceCharge", - taxAndServiceCharge, - "meetingRoomBasicInformation", - meetingRoomBasicInformation, - "amenity", - amenity, - "breakOutRoom", - breakOutRoom); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private TravelRunOfHouseRateJson runOfHouseRate; - - private TravelDayDelegateRateJson dayDelegateRate; - - private TravelTaxAndServiceChargeJson taxAndServiceCharge; - - private TravelMeetingRoomBasicInfoJson meetingRoomBasicInformation; - - private TravelAmenityJson amenity; - - private TravelBreakOutRoomJson breakOutRoom; - - private Builder() { - // force use of static builder() method - } - - /** - * Run of house rate information. - */ - public Builder runOfHouseRate(@Nullable TravelRunOfHouseRateJson runOfHouseRate) { - this.runOfHouseRate = runOfHouseRate; - return this; - } - - /** - * Day delegate rate information. This represents the costs for hosting meeting at the venue for a half - * or full day. - */ - public Builder dayDelegateRate(@Nullable TravelDayDelegateRateJson dayDelegateRate) { - this.dayDelegateRate = dayDelegateRate; - return this; - } - - /** - * Tax and service charge information. - */ - public Builder taxAndServiceCharge(@Nullable TravelTaxAndServiceChargeJson taxAndServiceCharge) { - this.taxAndServiceCharge = taxAndServiceCharge; - return this; - } - - /** - * Meeting room basic information. - */ - public Builder meetingRoomBasicInformation( - @Nullable TravelMeetingRoomBasicInfoJson meetingRoomBasicInformation) { - this.meetingRoomBasicInformation = meetingRoomBasicInformation; - return this; - } - - /** - * Group and meeting amenity info. - */ - public Builder amenity(@Nullable TravelAmenityJson amenity) { - this.amenity = amenity; - return this; - } - - /** - * Break-out room information. - */ - public Builder breakOutRoom(@Nullable TravelBreakOutRoomJson breakOutRoom) { - this.breakOutRoom = breakOutRoom; - return this; - } - - public TravelGroupAndMeetingJson build() { - return new TravelGroupAndMeetingJson( - runOfHouseRate, - dayDelegateRate, - taxAndServiceCharge, - meetingRoomBasicInformation, - amenity, - breakOutRoom); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelMeetingRoomBasicInfoJson.java b/packages/java/src/main/java/com/cvent/models/components/TravelMeetingRoomBasicInfoJson.java deleted file mode 100644 index c47f8b8e2..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelMeetingRoomBasicInfoJson.java +++ /dev/null @@ -1,179 +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.Long; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * TravelMeetingRoomBasicInfoJson - * - *

Meeting room basic information. - */ -public class TravelMeetingRoomBasicInfoJson { - /** - * Size of the largest meeting room. Units of measurement determined by `unitOfMeasurement` field. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("largestMeetingRoom") - private Long largestMeetingRoom; - - /** - * Unit of measurement of the `largestMeetingRoom`'s size. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("unitOfMeasurement") - private String unitOfMeasurement; - - /** - * Total number of meeting rooms. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("meetingRooms") - private Long meetingRooms; - - @JsonCreator - public TravelMeetingRoomBasicInfoJson( - @JsonProperty("largestMeetingRoom") @Nullable Long largestMeetingRoom, - @JsonProperty("unitOfMeasurement") @Nullable String unitOfMeasurement, - @JsonProperty("meetingRooms") @Nullable Long meetingRooms) { - this.largestMeetingRoom = largestMeetingRoom; - this.unitOfMeasurement = unitOfMeasurement; - this.meetingRooms = meetingRooms; - } - - public TravelMeetingRoomBasicInfoJson() { - this(null, null, null); - } - - /** - * Size of the largest meeting room. Units of measurement determined by `unitOfMeasurement` field. - */ - public Optional largestMeetingRoom() { - return Optional.ofNullable(this.largestMeetingRoom); - } - - /** - * Unit of measurement of the `largestMeetingRoom`'s size. - */ - public Optional unitOfMeasurement() { - return Optional.ofNullable(this.unitOfMeasurement); - } - - /** - * Total number of meeting rooms. - */ - public Optional meetingRooms() { - return Optional.ofNullable(this.meetingRooms); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Size of the largest meeting room. Units of measurement determined by `unitOfMeasurement` field. - */ - public TravelMeetingRoomBasicInfoJson withLargestMeetingRoom(@Nullable Long largestMeetingRoom) { - this.largestMeetingRoom = largestMeetingRoom; - return this; - } - - /** - * Unit of measurement of the `largestMeetingRoom`'s size. - */ - public TravelMeetingRoomBasicInfoJson withUnitOfMeasurement(@Nullable String unitOfMeasurement) { - this.unitOfMeasurement = unitOfMeasurement; - return this; - } - - /** - * Total number of meeting rooms. - */ - public TravelMeetingRoomBasicInfoJson withMeetingRooms(@Nullable Long meetingRooms) { - this.meetingRooms = meetingRooms; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - TravelMeetingRoomBasicInfoJson other = (TravelMeetingRoomBasicInfoJson) o; - return Utils.enhancedDeepEquals(this.largestMeetingRoom, other.largestMeetingRoom) - && Utils.enhancedDeepEquals(this.unitOfMeasurement, other.unitOfMeasurement) - && Utils.enhancedDeepEquals(this.meetingRooms, other.meetingRooms); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(largestMeetingRoom, unitOfMeasurement, meetingRooms); - } - - @Override - public String toString() { - return Utils.toString( - TravelMeetingRoomBasicInfoJson.class, - "largestMeetingRoom", - largestMeetingRoom, - "unitOfMeasurement", - unitOfMeasurement, - "meetingRooms", - meetingRooms); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private Long largestMeetingRoom; - - private String unitOfMeasurement; - - private Long meetingRooms; - - private Builder() { - // force use of static builder() method - } - - /** - * Size of the largest meeting room. Units of measurement determined by `unitOfMeasurement` field. - */ - public Builder largestMeetingRoom(@Nullable Long largestMeetingRoom) { - this.largestMeetingRoom = largestMeetingRoom; - return this; - } - - /** - * Unit of measurement of the `largestMeetingRoom`'s size. - */ - public Builder unitOfMeasurement(@Nullable String unitOfMeasurement) { - this.unitOfMeasurement = unitOfMeasurement; - return this; - } - - /** - * Total number of meeting rooms. - */ - public Builder meetingRooms(@Nullable Long meetingRooms) { - this.meetingRooms = meetingRooms; - return this; - } - - public TravelMeetingRoomBasicInfoJson build() { - return new TravelMeetingRoomBasicInfoJson(largestMeetingRoom, unitOfMeasurement, meetingRooms); - } - } -} 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 41097b439..3d7acafb0 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 @@ -77,21 +77,21 @@ public class TravelProgram { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("type") - private TravelProgramTypeJson type; + private TravelProgramType type; /** * Code representing the format of the travel program. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("format") - private TravelProgramFormatTypeJson format; + private TravelProgramFormatType format; /** * Code representing the status of the travel program. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("status") - private TravelProgramStatusJson status; + private TravelProgramStatus status; /** * Travel account that the program belongs to. @@ -106,7 +106,7 @@ public class TravelProgram { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("stayType") - private TravelProgramStayTypeJson stayType; + private TravelProgramStayType stayType; /** * The ISO 8601 formatted start date (in GMT) of the travel program. @@ -141,7 +141,7 @@ public class TravelProgram { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("questions") - private List questions; + private List questions; @JsonCreator public TravelProgram( @@ -152,16 +152,16 @@ public TravelProgram( @JsonProperty("id") @Nullable String id, @JsonProperty("name") @Nullable String name, @JsonProperty("contractPeriod") @Nullable Long contractPeriod, - @JsonProperty("type") @Nullable TravelProgramTypeJson type, - @JsonProperty("format") @Nullable TravelProgramFormatTypeJson format, - @JsonProperty("status") @Nullable TravelProgramStatusJson status, + @JsonProperty("type") @Nullable TravelProgramType type, + @JsonProperty("format") @Nullable TravelProgramFormatType format, + @JsonProperty("status") @Nullable TravelProgramStatus status, @JsonProperty("travelAccount") @Nullable TravelProgramTravelAccount travelAccount, - @JsonProperty("stayType") @Nullable TravelProgramStayTypeJson stayType, + @JsonProperty("stayType") @Nullable TravelProgramStayType stayType, @JsonProperty("startDate") @Nullable LocalDate startDate, @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; @@ -237,21 +237,21 @@ public Optional contractPeriod() { /** * Code representing the travel program type. */ - public Optional type() { + public Optional type() { return Optional.ofNullable(this.type); } /** * Code representing the format of the travel program. */ - public Optional format() { + public Optional format() { return Optional.ofNullable(this.format); } /** * Code representing the status of the travel program. */ - public Optional status() { + public Optional status() { return Optional.ofNullable(this.status); } @@ -266,7 +266,7 @@ public Optional travelAccount() { * Code representing the stay types requested by the program. Programs can accept daily only, or daily * and extended stay proposals. */ - public Optional stayType() { + public Optional stayType() { return Optional.ofNullable(this.stayType); } @@ -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); } @@ -368,7 +368,7 @@ public TravelProgram withContractPeriod(@Nullable Long contractPeriod) { /** * Code representing the travel program type. */ - public TravelProgram withType(@Nullable TravelProgramTypeJson type) { + public TravelProgram withType(@Nullable TravelProgramType type) { this.type = type; return this; } @@ -376,7 +376,7 @@ public TravelProgram withType(@Nullable TravelProgramTypeJson type) { /** * Code representing the format of the travel program. */ - public TravelProgram withFormat(@Nullable TravelProgramFormatTypeJson format) { + public TravelProgram withFormat(@Nullable TravelProgramFormatType format) { this.format = format; return this; } @@ -384,7 +384,7 @@ public TravelProgram withFormat(@Nullable TravelProgramFormatTypeJson format) { /** * Code representing the status of the travel program. */ - public TravelProgram withStatus(@Nullable TravelProgramStatusJson status) { + public TravelProgram withStatus(@Nullable TravelProgramStatus status) { this.status = status; return this; } @@ -401,7 +401,7 @@ public TravelProgram withTravelAccount(@Nullable TravelProgramTravelAccount trav * Code representing the stay types requested by the program. Programs can accept daily only, or daily * and extended stay proposals. */ - public TravelProgram withStayType(@Nullable TravelProgramStayTypeJson stayType) { + public TravelProgram withStayType(@Nullable TravelProgramStayType stayType) { this.stayType = stayType; return this; } @@ -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; } @@ -553,15 +553,15 @@ public static final class Builder { private Long contractPeriod; - private TravelProgramTypeJson type; + private TravelProgramType type; - private TravelProgramFormatTypeJson format; + private TravelProgramFormatType format; - private TravelProgramStatusJson status; + private TravelProgramStatus status; private TravelProgramTravelAccount travelAccount; - private TravelProgramStayTypeJson stayType; + private TravelProgramStayType stayType; private LocalDate startDate; @@ -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 @@ -636,7 +636,7 @@ public Builder contractPeriod(@Nullable Long contractPeriod) { /** * Code representing the travel program type. */ - public Builder type(@Nullable TravelProgramTypeJson type) { + public Builder type(@Nullable TravelProgramType type) { this.type = type; return this; } @@ -644,7 +644,7 @@ public Builder type(@Nullable TravelProgramTypeJson type) { /** * Code representing the format of the travel program. */ - public Builder format(@Nullable TravelProgramFormatTypeJson format) { + public Builder format(@Nullable TravelProgramFormatType format) { this.format = format; return this; } @@ -652,7 +652,7 @@ public Builder format(@Nullable TravelProgramFormatTypeJson format) { /** * Code representing the status of the travel program. */ - public Builder status(@Nullable TravelProgramStatusJson status) { + public Builder status(@Nullable TravelProgramStatus status) { this.status = status; return this; } @@ -669,7 +669,7 @@ public Builder travelAccount(@Nullable TravelProgramTravelAccount travelAccount) * Code representing the stay types requested by the program. Programs can accept daily only, or daily * and extended stay proposals. */ - public Builder stayType(@Nullable TravelProgramStayTypeJson stayType) { + public Builder stayType(@Nullable TravelProgramStayType stayType) { this.stayType = stayType; return this; } @@ -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/TravelProgramFormatType.java b/packages/java/src/main/java/com/cvent/models/components/TravelProgramFormatType.java new file mode 100644 index 000000000..c4263864e --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelProgramFormatType.java @@ -0,0 +1,39 @@ +/* + * 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; + +/** + * TravelProgramFormatType + * + *

Code representing the format of the travel program. + */ +public enum TravelProgramFormatType { + GBTA2013("gbta2013"), + UNIVERSAL("universal"); + + @JsonValue + private final String value; + + TravelProgramFormatType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (TravelProgramFormatType o : TravelProgramFormatType.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/TravelProgramFormatTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/TravelProgramFormatTypeJson.java deleted file mode 100644 index d4ea63afc..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelProgramFormatTypeJson.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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; - -/** - * TravelProgramFormatTypeJson - * - *

Code representing the format of the travel program. - */ -public enum TravelProgramFormatTypeJson { - GBTA2013("gbta2013"), - UNIVERSAL("universal"); - - @JsonValue - private final String value; - - TravelProgramFormatTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (TravelProgramFormatTypeJson o : TravelProgramFormatTypeJson.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/TravelProgramPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/TravelProgramPaginatedResponse.java index c27a72822..c05ad0590 100644 --- a/packages/java/src/main/java/com/cvent/models/components/TravelProgramPaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/TravelProgramPaginatedResponse.java @@ -25,7 +25,7 @@ public class TravelProgramPaginatedResponse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * Collection of travel programs and their related details. @@ -36,8 +36,7 @@ public class TravelProgramPaginatedResponse { @JsonCreator public TravelProgramPaginatedResponse( - @JsonProperty("paging") @Nullable PagingJson paging, - @JsonProperty("data") @Nullable List data) { + @JsonProperty("paging") @Nullable Paging paging, @JsonProperty("data") @Nullable List data) { this.paging = paging; this.data = data; } @@ -49,7 +48,7 @@ public TravelProgramPaginatedResponse() { /** * Represents pagination information for a collection of resources. */ - public Optional paging() { + public Optional paging() { return Optional.ofNullable(this.paging); } @@ -67,7 +66,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public TravelProgramPaginatedResponse withPaging(@Nullable PagingJson paging) { + public TravelProgramPaginatedResponse withPaging(@Nullable Paging paging) { this.paging = paging; return this; } @@ -105,7 +104,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; private List data; @@ -116,7 +115,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nullable PagingJson paging) { + public Builder paging(@Nullable Paging paging) { this.paging = paging; 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 new file mode 100644 index 000000000..faef95d8e --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelProgramQuestion.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; + +/** + * TravelProgramQuestion + * + *

A question, defined by the program, for the supplier to answer as part of their proposal. + */ +public class TravelProgramQuestion { + /** + * 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 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? + */ + @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 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("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 TravelProgramQuestion() { + 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 TravelProgramQuestion withCreated(@Nullable OffsetDateTime created) { + this.created = created; + return this; + } + + /** + * The identifier of the user that created this record. + */ + public TravelProgramQuestion withCreatedBy(@Nullable String createdBy) { + this.createdBy = createdBy; + 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? + */ + public TravelProgramQuestion 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 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' + */ + public TravelProgramQuestion 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; + } + 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) + && 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( + TravelProgramQuestion.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 TravelProgramQuestionTravelProgram 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 TravelProgramQuestionTravelProgram 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 TravelProgramQuestion build() { + return new TravelProgramQuestion( + created, + createdBy, + lastModified, + lastModifiedBy, + travelProgram, + id, + text, + required, + responseType, + responseDataType, + responseFormat, + responseChoices); + } + } +} 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 new file mode 100644 index 000000000..ff1d70d43 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelProgramQuestion1.java @@ -0,0 +1,221 @@ +/* + * 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/TravelProgramQuestionJson.java b/packages/java/src/main/java/com/cvent/models/components/TravelProgramQuestionJson.java deleted file mode 100644 index b80cfc116..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelProgramQuestionJson.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; - -/** - * TravelProgramQuestionJson - * - *

A question, defined by the account, for the supplier to answer as part of their proposal. - */ -public class TravelProgramQuestionJson { - /** - * 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 QuestionSectionJson 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 TravelProgramQuestionJson( - @JsonProperty("questionId") @Nullable String questionId, - @JsonProperty("section") @Nullable QuestionSectionJson section, - @JsonProperty("required") @Nullable Boolean required, - @JsonProperty("sequence") @Nullable Long sequence) { - this.questionId = questionId; - this.section = section; - this.required = required; - this.sequence = sequence; - } - - public TravelProgramQuestionJson() { - 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 TravelProgramQuestionJson 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 TravelProgramQuestionJson withSection(@Nullable QuestionSectionJson section) { - this.section = section; - return this; - } - - /** - * Is it required for suppliers to answer this question in their proposal? - */ - public TravelProgramQuestionJson withRequired(@Nullable Boolean required) { - this.required = required; - return this; - } - - /** - * The sequence number of the question within the proposal. - */ - public TravelProgramQuestionJson 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; - } - TravelProgramQuestionJson other = (TravelProgramQuestionJson) 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( - TravelProgramQuestionJson.class, - "questionId", - questionId, - "section", - section, - "required", - required, - "sequence", - sequence); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String questionId; - - private QuestionSectionJson 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 QuestionSectionJson 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 TravelProgramQuestionJson build() { - return new TravelProgramQuestionJson(questionId, section, required, sequence); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelProgramQuestionTravelProgram.java b/packages/java/src/main/java/com/cvent/models/components/TravelProgramQuestionTravelProgram.java new file mode 100644 index 000000000..e24706fd3 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelProgramQuestionTravelProgram.java @@ -0,0 +1,100 @@ +/* + * 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; + +/** + * TravelProgramQuestionTravelProgram + * + *

Travel program that the question belongs to. + */ +public class TravelProgramQuestionTravelProgram { + /** + * The unique ID of the travel program. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public TravelProgramQuestionTravelProgram(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public TravelProgramQuestionTravelProgram() { + this(null); + } + + /** + * The unique ID of the travel program. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique ID of the travel program. + */ + public TravelProgramQuestionTravelProgram withId(@Nullable String id) { + this.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; + } + TravelProgramQuestionTravelProgram other = (TravelProgramQuestionTravelProgram) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(TravelProgramQuestionTravelProgram.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique ID of the travel program. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public TravelProgramQuestionTravelProgram build() { + return new TravelProgramQuestionTravelProgram(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelProgramStatus.java b/packages/java/src/main/java/com/cvent/models/components/TravelProgramStatus.java new file mode 100644 index 000000000..429842a56 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelProgramStatus.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; + +/** + * TravelProgramStatus + * + *

Code representing the status of the travel program. + */ +public enum TravelProgramStatus { + IN_PROGRESS("in_progress"), + COMPLETE("complete"), + CLOSED("closed"); + + @JsonValue + private final String value; + + TravelProgramStatus(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (TravelProgramStatus o : TravelProgramStatus.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/TravelProgramStatusJson.java b/packages/java/src/main/java/com/cvent/models/components/TravelProgramStatusJson.java deleted file mode 100644 index b91e15dac..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelProgramStatusJson.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * 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; - -/** - * TravelProgramStatusJson - * - *

Code representing the status of the travel program. - */ -public enum TravelProgramStatusJson { - IN_PROGRESS("in_progress"), - COMPLETE("complete"), - CLOSED("closed"); - - @JsonValue - private final String value; - - TravelProgramStatusJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (TravelProgramStatusJson o : TravelProgramStatusJson.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/TravelProgramStayType.java b/packages/java/src/main/java/com/cvent/models/components/TravelProgramStayType.java new file mode 100644 index 000000000..1ff29dae8 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelProgramStayType.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; + +/** + * TravelProgramStayType + * + *

Code representing the stay types requested by the program. Programs can accept daily only, or daily + * and extended stay proposals. + */ +public enum TravelProgramStayType { + DAILY("daily"), + DAILY_AND_EXTENDED_STAY("daily_and_extended_stay"); + + @JsonValue + private final String value; + + TravelProgramStayType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (TravelProgramStayType o : TravelProgramStayType.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/TravelProgramStayTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/TravelProgramStayTypeJson.java deleted file mode 100644 index 164967746..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelProgramStayTypeJson.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * 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; - -/** - * TravelProgramStayTypeJson - * - *

Code representing the stay types requested by the program. Programs can accept daily only, or daily - * and extended stay proposals. - */ -public enum TravelProgramStayTypeJson { - DAILY("daily"), - DAILY_AND_EXTENDED_STAY("daily_and_extended_stay"); - - @JsonValue - private final String value; - - TravelProgramStayTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (TravelProgramStayTypeJson o : TravelProgramStayTypeJson.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/TravelProgramType.java b/packages/java/src/main/java/com/cvent/models/components/TravelProgramType.java new file mode 100644 index 000000000..68ef3631f --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelProgramType.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; + +/** + * TravelProgramType + * + *

Code representing the travel program type. + */ +public enum TravelProgramType { + CORPORATE("corporate"), + LEISURE("leisure"), + CONSORTIA("consortia"); + + @JsonValue + private final String value; + + TravelProgramType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (TravelProgramType o : TravelProgramType.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/TravelProgramTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/TravelProgramTypeJson.java deleted file mode 100644 index 49db66abd..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelProgramTypeJson.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * 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; - -/** - * TravelProgramTypeJson - * - *

Code representing the travel program type. - */ -public enum TravelProgramTypeJson { - CORPORATE("corporate"), - LEISURE("leisure"), - CONSORTIA("consortia"); - - @JsonValue - private final String value; - - TravelProgramTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (TravelProgramTypeJson o : TravelProgramTypeJson.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/TravelProposal.java b/packages/java/src/main/java/com/cvent/models/components/TravelProposal.java index 17fd134f0..64d9d561a 100644 --- a/packages/java/src/main/java/com/cvent/models/components/TravelProposal.java +++ b/packages/java/src/main/java/com/cvent/models/components/TravelProposal.java @@ -87,7 +87,7 @@ public class TravelProposal { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("status") - private ProposalStatusTypeJson status; + private ProposalStatusType status; /** * True indicates the proposal is deleted. @@ -101,21 +101,21 @@ public class TravelProposal { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("rateReviewStatus") - private RateReviewStatusTypeJson rateReviewStatus; + private RateReviewStatusType rateReviewStatus; /** * Business type. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("businessType") - private BusinessTypeJson businessType; + private BusinessType businessType; /** * Proposal format. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("format") - private FormatTypeJson format; + private FormatType format; /** * True indicates the documents been read by the supply-side. @@ -179,28 +179,28 @@ public class TravelProposal { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("bids") - private List bids; + private List bids; /** * Collection of custom questions. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("customQuestionAnswers") - private List customQuestionAnswers; + private List customQuestionAnswers; /** * Group and meeting information. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("groupAndMeeting") - private TravelGroupAndMeetingJson groupAndMeeting; + private TravelProposalGroupAndMeeting groupAndMeeting; /** * Represent proposal disposition details. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("proposalDisposition") - private TravelProposalDispositionJson proposalDisposition; + private TravelProposalDisposition proposalDisposition; @JsonCreator public TravelProposal( @@ -212,11 +212,11 @@ public TravelProposal( @JsonProperty("supplierProperty") @Nullable SupplierProperty supplierProperty, @JsonProperty("travelProgram") @Nullable TravelProposalTravelProgram travelProgram, @JsonProperty("contractPeriod") @Nullable Long contractPeriod, - @JsonProperty("status") @Nullable ProposalStatusTypeJson status, + @JsonProperty("status") @Nullable ProposalStatusType status, @JsonProperty("deleted") @Nullable Boolean deleted, - @JsonProperty("rateReviewStatus") @Nullable RateReviewStatusTypeJson rateReviewStatus, - @JsonProperty("businessType") @Nullable BusinessTypeJson businessType, - @JsonProperty("format") @Nullable FormatTypeJson format, + @JsonProperty("rateReviewStatus") @Nullable RateReviewStatusType rateReviewStatus, + @JsonProperty("businessType") @Nullable BusinessType businessType, + @JsonProperty("format") @Nullable FormatType format, @JsonProperty("documentRead") @Nullable Boolean documentRead, @JsonProperty("rejectReasonCode") @Nullable String rejectReasonCode, @JsonProperty("rejectComment") @Nullable String rejectComment, @@ -225,10 +225,10 @@ public TravelProposal( @JsonProperty("negotiationDueDate") @Nullable OffsetDateTime negotiationDueDate, @JsonProperty("roomNightConsumption") @Nullable Long roomNightConsumption, @JsonProperty("draft") @Nullable Boolean draft, - @JsonProperty("bids") @Nullable List bids, - @JsonProperty("customQuestionAnswers") @Nullable List customQuestionAnswers, - @JsonProperty("groupAndMeeting") @Nullable TravelGroupAndMeetingJson groupAndMeeting, - @JsonProperty("proposalDisposition") @Nullable TravelProposalDispositionJson proposalDisposition) { + @JsonProperty("bids") @Nullable List bids, + @JsonProperty("customQuestionAnswers") @Nullable List customQuestionAnswers, + @JsonProperty("groupAndMeeting") @Nullable TravelProposalGroupAndMeeting groupAndMeeting, + @JsonProperty("proposalDisposition") @Nullable TravelProposalDisposition proposalDisposition) { this.created = created; this.createdBy = createdBy; this.lastModified = lastModified; @@ -344,7 +344,7 @@ public Optional contractPeriod() { /** * The status of the proposal */ - public Optional status() { + public Optional status() { return Optional.ofNullable(this.status); } @@ -358,21 +358,21 @@ public Optional deleted() { /** * The rate review status of the proposal */ - public Optional rateReviewStatus() { + public Optional rateReviewStatus() { return Optional.ofNullable(this.rateReviewStatus); } /** * Business type. */ - public Optional businessType() { + public Optional businessType() { return Optional.ofNullable(this.businessType); } /** * Proposal format. */ - public Optional format() { + public Optional format() { return Optional.ofNullable(this.format); } @@ -436,28 +436,28 @@ public Optional draft() { /** * Collection of bid IDs attached to the proposal. */ - public Optional> bids() { + public Optional> bids() { return Optional.ofNullable(this.bids); } /** * Collection of custom questions. */ - public Optional> customQuestionAnswers() { + public Optional> customQuestionAnswers() { return Optional.ofNullable(this.customQuestionAnswers); } /** * Group and meeting information. */ - public Optional groupAndMeeting() { + public Optional groupAndMeeting() { return Optional.ofNullable(this.groupAndMeeting); } /** * Represent proposal disposition details. */ - public Optional proposalDisposition() { + public Optional proposalDisposition() { return Optional.ofNullable(this.proposalDisposition); } @@ -532,7 +532,7 @@ public TravelProposal withContractPeriod(@Nullable Long contractPeriod) { /** * The status of the proposal */ - public TravelProposal withStatus(@Nullable ProposalStatusTypeJson status) { + public TravelProposal withStatus(@Nullable ProposalStatusType status) { this.status = status; return this; } @@ -548,7 +548,7 @@ public TravelProposal withDeleted(@Nullable Boolean deleted) { /** * The rate review status of the proposal */ - public TravelProposal withRateReviewStatus(@Nullable RateReviewStatusTypeJson rateReviewStatus) { + public TravelProposal withRateReviewStatus(@Nullable RateReviewStatusType rateReviewStatus) { this.rateReviewStatus = rateReviewStatus; return this; } @@ -556,7 +556,7 @@ public TravelProposal withRateReviewStatus(@Nullable RateReviewStatusTypeJson ra /** * Business type. */ - public TravelProposal withBusinessType(@Nullable BusinessTypeJson businessType) { + public TravelProposal withBusinessType(@Nullable BusinessType businessType) { this.businessType = businessType; return this; } @@ -564,7 +564,7 @@ public TravelProposal withBusinessType(@Nullable BusinessTypeJson businessType) /** * Proposal format. */ - public TravelProposal withFormat(@Nullable FormatTypeJson format) { + public TravelProposal withFormat(@Nullable FormatType format) { this.format = format; return this; } @@ -637,7 +637,7 @@ public TravelProposal withDraft(@Nullable Boolean draft) { /** * Collection of bid IDs attached to the proposal. */ - public TravelProposal withBids(@Nullable List bids) { + public TravelProposal withBids(@Nullable List bids) { this.bids = bids; return this; } @@ -645,7 +645,8 @@ public TravelProposal withBids(@Nullable List bids) { /** * Collection of custom questions. */ - public TravelProposal withCustomQuestionAnswers(@Nullable List customQuestionAnswers) { + public TravelProposal withCustomQuestionAnswers( + @Nullable List customQuestionAnswers) { this.customQuestionAnswers = customQuestionAnswers; return this; } @@ -653,7 +654,7 @@ public TravelProposal withCustomQuestionAnswers(@Nullable List bids; + private List bids; - private List customQuestionAnswers; + private List customQuestionAnswers; - private TravelGroupAndMeetingJson groupAndMeeting; + private TravelProposalGroupAndMeeting groupAndMeeting; - private TravelProposalDispositionJson proposalDisposition; + private TravelProposalDisposition proposalDisposition; private Builder() { // force use of static builder() method @@ -912,7 +913,7 @@ public Builder contractPeriod(@Nullable Long contractPeriod) { /** * The status of the proposal */ - public Builder status(@Nullable ProposalStatusTypeJson status) { + public Builder status(@Nullable ProposalStatusType status) { this.status = status; return this; } @@ -928,7 +929,7 @@ public Builder deleted(@Nullable Boolean deleted) { /** * The rate review status of the proposal */ - public Builder rateReviewStatus(@Nullable RateReviewStatusTypeJson rateReviewStatus) { + public Builder rateReviewStatus(@Nullable RateReviewStatusType rateReviewStatus) { this.rateReviewStatus = rateReviewStatus; return this; } @@ -936,7 +937,7 @@ public Builder rateReviewStatus(@Nullable RateReviewStatusTypeJson rateReviewSta /** * Business type. */ - public Builder businessType(@Nullable BusinessTypeJson businessType) { + public Builder businessType(@Nullable BusinessType businessType) { this.businessType = businessType; return this; } @@ -944,7 +945,7 @@ public Builder businessType(@Nullable BusinessTypeJson businessType) { /** * Proposal format. */ - public Builder format(@Nullable FormatTypeJson format) { + public Builder format(@Nullable FormatType format) { this.format = format; return this; } @@ -1017,7 +1018,7 @@ public Builder draft(@Nullable Boolean draft) { /** * Collection of bid IDs attached to the proposal. */ - public Builder bids(@Nullable List bids) { + public Builder bids(@Nullable List bids) { this.bids = bids; return this; } @@ -1025,7 +1026,7 @@ public Builder bids(@Nullable List bids) { /** * Collection of custom questions. */ - public Builder customQuestionAnswers(@Nullable List customQuestionAnswers) { + public Builder customQuestionAnswers(@Nullable List customQuestionAnswers) { this.customQuestionAnswers = customQuestionAnswers; return this; } @@ -1033,7 +1034,7 @@ public Builder customQuestionAnswers(@Nullable List c /** * Group and meeting information. */ - public Builder groupAndMeeting(@Nullable TravelGroupAndMeetingJson groupAndMeeting) { + public Builder groupAndMeeting(@Nullable TravelProposalGroupAndMeeting groupAndMeeting) { this.groupAndMeeting = groupAndMeeting; return this; } @@ -1041,7 +1042,7 @@ public Builder groupAndMeeting(@Nullable TravelGroupAndMeetingJson groupAndMeeti /** * Represent proposal disposition details. */ - public Builder proposalDisposition(@Nullable TravelProposalDispositionJson proposalDisposition) { + public Builder proposalDisposition(@Nullable TravelProposalDisposition proposalDisposition) { this.proposalDisposition = proposalDisposition; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelProposalBid.java b/packages/java/src/main/java/com/cvent/models/components/TravelProposalBid.java deleted file mode 100644 index 8afe389fe..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelProposalBid.java +++ /dev/null @@ -1,978 +0,0 @@ -/* - * 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.Long; -import java.lang.Override; -import java.lang.String; -import java.util.List; -import java.util.Optional; - -/** - * TravelProposalBid - * - *

A travel proposal bid rate plan that is being proposed to a customer. - */ -public class TravelProposalBid { - /** - * The travel proposal that the bid belongs to. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("travelProposal") - private TravelProposalBidTravelProposal travelProposal; - - /** - * The unique ID of the bid. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * Bid stay type. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("stayType") - private BidStayTypeJson stayType; - - /** - * The order of the bid compared to other bids of the same stay type. This is used to distinguish - * between extended stay 1 vs extended stay 2. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("order") - private Long order; - - /** - * Bid stay type. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("status") - private BidStatusTypeJson status; - - /** - * Name given to the bid. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - /** - * The rate (cost) information for a travel bid. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("rate") - private TravelBidRateJson rate; - - /** - * The market code given to the rate plan / bid by the supplier. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("marketCode") - private String marketCode; - - /** - * The ISO 4217 currency code used for the rates and other monetary values in the bid. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("currencyCode") - private String currencyCode; - - /** - * Days of the week that are considered weekend days, to apply weekend rates. Does not apply when - * format is GBTA2013. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("weekendDays") - private List weekendDays; - - /** - * Does the bid include LRA (Last Room Availability) rates? - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("lra") - private Boolean lra; - - /** - * Does the bid include non-LRA rates? - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("nlra") - private Boolean nlra; - - /** - * Are the fair date rates LRA (Last Room Availability)? - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("fairDateLra") - private Boolean fairDateLra; - - /** - * Additional comments passed from the domain-level rate plan. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("internalNote") - private String internalNote; - - /** - * Additional Info - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("comments") - private List comments; - - /** - * Room Types associated with the bid - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("roomTypes") - private List roomTypes; - - /** - * Seasons associated with the bid - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("seasons") - private List seasons; - - /** - * Dynamic discounts associated with the bid - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("discounts") - private List discounts; - - /** - * Fair seasons associated with the bid - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("fairSeasons") - private List fairSeasons; - - /** - * Amenities associated with the bid - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("amenities") - private List amenities; - - /** - * Policies associated with the bid - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("policies") - private List policies; - - /** - * Taxes & fees associated with the bid - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("taxesAndFees") - private List taxesAndFees; - - @JsonCreator - public TravelProposalBid( - @JsonProperty("travelProposal") @Nullable TravelProposalBidTravelProposal travelProposal, - @JsonProperty("id") @Nullable String id, - @JsonProperty("stayType") @Nullable BidStayTypeJson stayType, - @JsonProperty("order") @Nullable Long order, - @JsonProperty("status") @Nullable BidStatusTypeJson status, - @JsonProperty("name") @Nullable String name, - @JsonProperty("rate") @Nullable TravelBidRateJson rate, - @JsonProperty("marketCode") @Nullable String marketCode, - @JsonProperty("currencyCode") @Nullable String currencyCode, - @JsonProperty("weekendDays") @Nullable List weekendDays, - @JsonProperty("lra") @Nullable Boolean lra, - @JsonProperty("nlra") @Nullable Boolean nlra, - @JsonProperty("fairDateLra") @Nullable Boolean fairDateLra, - @JsonProperty("internalNote") @Nullable String internalNote, - @JsonProperty("comments") @Nullable List comments, - @JsonProperty("roomTypes") @Nullable List roomTypes, - @JsonProperty("seasons") @Nullable List seasons, - @JsonProperty("discounts") @Nullable List discounts, - @JsonProperty("fairSeasons") @Nullable List fairSeasons, - @JsonProperty("amenities") @Nullable List amenities, - @JsonProperty("policies") @Nullable List policies, - @JsonProperty("taxesAndFees") @Nullable List taxesAndFees) { - this.travelProposal = travelProposal; - this.id = id; - this.stayType = Optional.ofNullable(stayType).orElse(Builder._SINGLETON_VALUE_StayType.value()); - this.order = Optional.ofNullable(order).orElse(Builder._SINGLETON_VALUE_Order.value()); - this.status = Optional.ofNullable(status).orElse(Builder._SINGLETON_VALUE_Status.value()); - this.name = name; - this.rate = rate; - this.marketCode = marketCode; - this.currencyCode = currencyCode; - this.weekendDays = weekendDays; - this.lra = Optional.ofNullable(lra).orElse(Builder._SINGLETON_VALUE_Lra.value()); - this.nlra = Optional.ofNullable(nlra).orElse(Builder._SINGLETON_VALUE_Nlra.value()); - this.fairDateLra = Optional.ofNullable(fairDateLra).orElse(Builder._SINGLETON_VALUE_FairDateLra.value()); - this.internalNote = internalNote; - this.comments = comments; - this.roomTypes = roomTypes; - this.seasons = seasons; - this.discounts = discounts; - this.fairSeasons = fairSeasons; - this.amenities = amenities; - this.policies = policies; - this.taxesAndFees = taxesAndFees; - } - - public TravelProposalBid() { - this( - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null); - } - - /** - * The travel proposal that the bid belongs to. - */ - public Optional travelProposal() { - return Optional.ofNullable(this.travelProposal); - } - - /** - * The unique ID of the bid. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * Bid stay type. - */ - public Optional stayType() { - return Optional.ofNullable(this.stayType); - } - - /** - * The order of the bid compared to other bids of the same stay type. This is used to distinguish - * between extended stay 1 vs extended stay 2. - */ - public Optional order() { - return Optional.ofNullable(this.order); - } - - /** - * Bid stay type. - */ - public Optional status() { - return Optional.ofNullable(this.status); - } - - /** - * Name given to the bid. - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - /** - * The rate (cost) information for a travel bid. - */ - public Optional rate() { - return Optional.ofNullable(this.rate); - } - - /** - * The market code given to the rate plan / bid by the supplier. - */ - public Optional marketCode() { - return Optional.ofNullable(this.marketCode); - } - - /** - * The ISO 4217 currency code used for the rates and other monetary values in the bid. - */ - public Optional currencyCode() { - return Optional.ofNullable(this.currencyCode); - } - - /** - * Days of the week that are considered weekend days, to apply weekend rates. Does not apply when - * format is GBTA2013. - */ - public Optional> weekendDays() { - return Optional.ofNullable(this.weekendDays); - } - - /** - * Does the bid include LRA (Last Room Availability) rates? - */ - public Optional lra() { - return Optional.ofNullable(this.lra); - } - - /** - * Does the bid include non-LRA rates? - */ - public Optional nlra() { - return Optional.ofNullable(this.nlra); - } - - /** - * Are the fair date rates LRA (Last Room Availability)? - */ - public Optional fairDateLra() { - return Optional.ofNullable(this.fairDateLra); - } - - /** - * Additional comments passed from the domain-level rate plan. - */ - public Optional internalNote() { - return Optional.ofNullable(this.internalNote); - } - - /** - * Additional Info - */ - public Optional> comments() { - return Optional.ofNullable(this.comments); - } - - /** - * Room Types associated with the bid - */ - public Optional> roomTypes() { - return Optional.ofNullable(this.roomTypes); - } - - /** - * Seasons associated with the bid - */ - public Optional> seasons() { - return Optional.ofNullable(this.seasons); - } - - /** - * Dynamic discounts associated with the bid - */ - public Optional> discounts() { - return Optional.ofNullable(this.discounts); - } - - /** - * Fair seasons associated with the bid - */ - public Optional> fairSeasons() { - return Optional.ofNullable(this.fairSeasons); - } - - /** - * Amenities associated with the bid - */ - public Optional> amenities() { - return Optional.ofNullable(this.amenities); - } - - /** - * Policies associated with the bid - */ - public Optional> policies() { - return Optional.ofNullable(this.policies); - } - - /** - * Taxes & fees associated with the bid - */ - public Optional> taxesAndFees() { - return Optional.ofNullable(this.taxesAndFees); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The travel proposal that the bid belongs to. - */ - public TravelProposalBid withTravelProposal(@Nullable TravelProposalBidTravelProposal travelProposal) { - this.travelProposal = travelProposal; - return this; - } - - /** - * The unique ID of the bid. - */ - public TravelProposalBid withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * Bid stay type. - */ - public TravelProposalBid withStayType(@Nullable BidStayTypeJson stayType) { - this.stayType = stayType; - return this; - } - - /** - * The order of the bid compared to other bids of the same stay type. This is used to distinguish - * between extended stay 1 vs extended stay 2. - */ - public TravelProposalBid withOrder(@Nullable Long order) { - this.order = order; - return this; - } - - /** - * Bid stay type. - */ - public TravelProposalBid withStatus(@Nullable BidStatusTypeJson status) { - this.status = status; - return this; - } - - /** - * Name given to the bid. - */ - public TravelProposalBid withName(@Nullable String name) { - this.name = name; - return this; - } - - /** - * The rate (cost) information for a travel bid. - */ - public TravelProposalBid withRate(@Nullable TravelBidRateJson rate) { - this.rate = rate; - return this; - } - - /** - * The market code given to the rate plan / bid by the supplier. - */ - public TravelProposalBid withMarketCode(@Nullable String marketCode) { - this.marketCode = marketCode; - return this; - } - - /** - * The ISO 4217 currency code used for the rates and other monetary values in the bid. - */ - public TravelProposalBid withCurrencyCode(@Nullable String currencyCode) { - this.currencyCode = currencyCode; - return this; - } - - /** - * Days of the week that are considered weekend days, to apply weekend rates. Does not apply when - * format is GBTA2013. - */ - public TravelProposalBid withWeekendDays(@Nullable List weekendDays) { - this.weekendDays = weekendDays; - return this; - } - - /** - * Does the bid include LRA (Last Room Availability) rates? - */ - public TravelProposalBid withLra(@Nullable Boolean lra) { - this.lra = lra; - return this; - } - - /** - * Does the bid include non-LRA rates? - */ - public TravelProposalBid withNlra(@Nullable Boolean nlra) { - this.nlra = nlra; - return this; - } - - /** - * Are the fair date rates LRA (Last Room Availability)? - */ - public TravelProposalBid withFairDateLra(@Nullable Boolean fairDateLra) { - this.fairDateLra = fairDateLra; - return this; - } - - /** - * Additional comments passed from the domain-level rate plan. - */ - public TravelProposalBid withInternalNote(@Nullable String internalNote) { - this.internalNote = internalNote; - return this; - } - - /** - * Additional Info - */ - public TravelProposalBid withComments(@Nullable List comments) { - this.comments = comments; - return this; - } - - /** - * Room Types associated with the bid - */ - public TravelProposalBid withRoomTypes(@Nullable List roomTypes) { - this.roomTypes = roomTypes; - return this; - } - - /** - * Seasons associated with the bid - */ - public TravelProposalBid withSeasons(@Nullable List seasons) { - this.seasons = seasons; - return this; - } - - /** - * Dynamic discounts associated with the bid - */ - public TravelProposalBid withDiscounts(@Nullable List discounts) { - this.discounts = discounts; - return this; - } - - /** - * Fair seasons associated with the bid - */ - public TravelProposalBid withFairSeasons(@Nullable List fairSeasons) { - this.fairSeasons = fairSeasons; - return this; - } - - /** - * Amenities associated with the bid - */ - public TravelProposalBid withAmenities(@Nullable List amenities) { - this.amenities = amenities; - return this; - } - - /** - * Policies associated with the bid - */ - public TravelProposalBid withPolicies(@Nullable List policies) { - this.policies = policies; - return this; - } - - /** - * Taxes & fees associated with the bid - */ - public TravelProposalBid withTaxesAndFees(@Nullable List taxesAndFees) { - this.taxesAndFees = taxesAndFees; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - TravelProposalBid other = (TravelProposalBid) o; - return Utils.enhancedDeepEquals(this.travelProposal, other.travelProposal) - && Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.stayType, other.stayType) - && Utils.enhancedDeepEquals(this.order, other.order) - && Utils.enhancedDeepEquals(this.status, other.status) - && Utils.enhancedDeepEquals(this.name, other.name) - && Utils.enhancedDeepEquals(this.rate, other.rate) - && Utils.enhancedDeepEquals(this.marketCode, other.marketCode) - && Utils.enhancedDeepEquals(this.currencyCode, other.currencyCode) - && Utils.enhancedDeepEquals(this.weekendDays, other.weekendDays) - && Utils.enhancedDeepEquals(this.lra, other.lra) - && Utils.enhancedDeepEquals(this.nlra, other.nlra) - && Utils.enhancedDeepEquals(this.fairDateLra, other.fairDateLra) - && Utils.enhancedDeepEquals(this.internalNote, other.internalNote) - && Utils.enhancedDeepEquals(this.comments, other.comments) - && Utils.enhancedDeepEquals(this.roomTypes, other.roomTypes) - && Utils.enhancedDeepEquals(this.seasons, other.seasons) - && Utils.enhancedDeepEquals(this.discounts, other.discounts) - && Utils.enhancedDeepEquals(this.fairSeasons, other.fairSeasons) - && Utils.enhancedDeepEquals(this.amenities, other.amenities) - && Utils.enhancedDeepEquals(this.policies, other.policies) - && Utils.enhancedDeepEquals(this.taxesAndFees, other.taxesAndFees); - } - - @Override - public int hashCode() { - return Utils.enhancedHash( - travelProposal, - id, - stayType, - order, - status, - name, - rate, - marketCode, - currencyCode, - weekendDays, - lra, - nlra, - fairDateLra, - internalNote, - comments, - roomTypes, - seasons, - discounts, - fairSeasons, - amenities, - policies, - taxesAndFees); - } - - @Override - public String toString() { - return Utils.toString( - TravelProposalBid.class, - "travelProposal", - travelProposal, - "id", - id, - "stayType", - stayType, - "order", - order, - "status", - status, - "name", - name, - "rate", - rate, - "marketCode", - marketCode, - "currencyCode", - currencyCode, - "weekendDays", - weekendDays, - "lra", - lra, - "nlra", - nlra, - "fairDateLra", - fairDateLra, - "internalNote", - internalNote, - "comments", - comments, - "roomTypes", - roomTypes, - "seasons", - seasons, - "discounts", - discounts, - "fairSeasons", - fairSeasons, - "amenities", - amenities, - "policies", - policies, - "taxesAndFees", - taxesAndFees); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private TravelProposalBidTravelProposal travelProposal; - - private String id; - - private BidStayTypeJson stayType; - - private Long order; - - private BidStatusTypeJson status; - - private String name; - - private TravelBidRateJson rate; - - private String marketCode; - - private String currencyCode; - - private List weekendDays; - - private Boolean lra; - - private Boolean nlra; - - private Boolean fairDateLra; - - private String internalNote; - - private List comments; - - private List roomTypes; - - private List seasons; - - private List discounts; - - private List fairSeasons; - - private List amenities; - - private List policies; - - private List taxesAndFees; - - private Builder() { - // force use of static builder() method - } - - /** - * The travel proposal that the bid belongs to. - */ - public Builder travelProposal(@Nullable TravelProposalBidTravelProposal travelProposal) { - this.travelProposal = travelProposal; - return this; - } - - /** - * The unique ID of the bid. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * Bid stay type. - */ - public Builder stayType(@Nullable BidStayTypeJson stayType) { - this.stayType = stayType; - return this; - } - - /** - * The order of the bid compared to other bids of the same stay type. This is used to distinguish - * between extended stay 1 vs extended stay 2. - */ - public Builder order(@Nullable Long order) { - this.order = order; - return this; - } - - /** - * Bid stay type. - */ - public Builder status(@Nullable BidStatusTypeJson status) { - this.status = status; - return this; - } - - /** - * Name given to the bid. - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - /** - * The rate (cost) information for a travel bid. - */ - public Builder rate(@Nullable TravelBidRateJson rate) { - this.rate = rate; - return this; - } - - /** - * The market code given to the rate plan / bid by the supplier. - */ - public Builder marketCode(@Nullable String marketCode) { - this.marketCode = marketCode; - return this; - } - - /** - * The ISO 4217 currency code used for the rates and other monetary values in the bid. - */ - public Builder currencyCode(@Nullable String currencyCode) { - this.currencyCode = currencyCode; - return this; - } - - /** - * Days of the week that are considered weekend days, to apply weekend rates. Does not apply when - * format is GBTA2013. - */ - public Builder weekendDays(@Nullable List weekendDays) { - this.weekendDays = weekendDays; - return this; - } - - /** - * Does the bid include LRA (Last Room Availability) rates? - */ - public Builder lra(@Nullable Boolean lra) { - this.lra = lra; - return this; - } - - /** - * Does the bid include non-LRA rates? - */ - public Builder nlra(@Nullable Boolean nlra) { - this.nlra = nlra; - return this; - } - - /** - * Are the fair date rates LRA (Last Room Availability)? - */ - public Builder fairDateLra(@Nullable Boolean fairDateLra) { - this.fairDateLra = fairDateLra; - return this; - } - - /** - * Additional comments passed from the domain-level rate plan. - */ - public Builder internalNote(@Nullable String internalNote) { - this.internalNote = internalNote; - return this; - } - - /** - * Additional Info - */ - public Builder comments(@Nullable List comments) { - this.comments = comments; - return this; - } - - /** - * Room Types associated with the bid - */ - public Builder roomTypes(@Nullable List roomTypes) { - this.roomTypes = roomTypes; - return this; - } - - /** - * Seasons associated with the bid - */ - public Builder seasons(@Nullable List seasons) { - this.seasons = seasons; - return this; - } - - /** - * Dynamic discounts associated with the bid - */ - public Builder discounts(@Nullable List discounts) { - this.discounts = discounts; - return this; - } - - /** - * Fair seasons associated with the bid - */ - public Builder fairSeasons(@Nullable List fairSeasons) { - this.fairSeasons = fairSeasons; - return this; - } - - /** - * Amenities associated with the bid - */ - public Builder amenities(@Nullable List amenities) { - this.amenities = amenities; - return this; - } - - /** - * Policies associated with the bid - */ - public Builder policies(@Nullable List policies) { - this.policies = policies; - return this; - } - - /** - * Taxes & fees associated with the bid - */ - public Builder taxesAndFees(@Nullable List taxesAndFees) { - this.taxesAndFees = taxesAndFees; - return this; - } - - public TravelProposalBid build() { - return new TravelProposalBid( - travelProposal, - id, - stayType, - order, - status, - name, - rate, - marketCode, - currencyCode, - weekendDays, - lra, - nlra, - fairDateLra, - internalNote, - comments, - roomTypes, - seasons, - discounts, - fairSeasons, - amenities, - policies, - taxesAndFees); - } - - private static final LazySingletonValue _SINGLETON_VALUE_StayType = - new LazySingletonValue<>("stayType", "\"daily\"", new TypeReference() {}); - - private static final LazySingletonValue _SINGLETON_VALUE_Order = - new LazySingletonValue<>("order", "1", new TypeReference() {}); - - private static final LazySingletonValue _SINGLETON_VALUE_Status = - new LazySingletonValue<>("status", "\"in_progress\"", new TypeReference() {}); - - private static final LazySingletonValue _SINGLETON_VALUE_Lra = - new LazySingletonValue<>("lra", "true", new TypeReference() {}); - - private static final LazySingletonValue _SINGLETON_VALUE_Nlra = - new LazySingletonValue<>("nlra", "true", new TypeReference() {}); - - private static final LazySingletonValue _SINGLETON_VALUE_FairDateLra = - new LazySingletonValue<>("fairDateLra", "true", new TypeReference() {}); - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelProposalBid1.java b/packages/java/src/main/java/com/cvent/models/components/TravelProposalBid1.java new file mode 100644 index 000000000..bdb3ae739 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelProposalBid1.java @@ -0,0 +1,100 @@ +/* + * 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; + +/** + * TravelProposalBid1 + * + *

A travel proposal bid. + */ +public class TravelProposalBid1 { + /** + * The ID of the bid. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public TravelProposalBid1(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public TravelProposalBid1() { + this(null); + } + + /** + * The ID of the bid. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The ID of the bid. + */ + public TravelProposalBid1 withId(@Nullable String id) { + this.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; + } + TravelProposalBid1 other = (TravelProposalBid1) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(TravelProposalBid1.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * The ID of the bid. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public TravelProposalBid1 build() { + return new TravelProposalBid1(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelProposalBid2.java b/packages/java/src/main/java/com/cvent/models/components/TravelProposalBid2.java new file mode 100644 index 000000000..2041b8b2d --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelProposalBid2.java @@ -0,0 +1,978 @@ +/* + * 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.Long; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Optional; + +/** + * TravelProposalBid2 + * + *

A travel proposal bid rate plan that is being proposed to a customer. + */ +public class TravelProposalBid2 { + /** + * The travel proposal that the bid belongs to. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("travelProposal") + private TravelProposalBidTravelProposal travelProposal; + + /** + * The unique ID of the bid. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * Bid stay type. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("stayType") + private BidStayType stayType; + + /** + * The order of the bid compared to other bids of the same stay type. This is used to distinguish + * between extended stay 1 vs extended stay 2. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("order") + private Long order; + + /** + * Bid stay type. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("status") + private BidStatusType status; + + /** + * Name given to the bid. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + /** + * The rate (cost) information for a travel bid. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("rate") + private TravelProposalBidRate rate; + + /** + * The market code given to the rate plan / bid by the supplier. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("marketCode") + private String marketCode; + + /** + * The ISO 4217 currency code used for the rates and other monetary values in the bid. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("currencyCode") + private String currencyCode; + + /** + * Days of the week that are considered weekend days, to apply weekend rates. Does not apply when + * format is GBTA2013. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("weekendDays") + private List weekendDays; + + /** + * Does the bid include LRA (Last Room Availability) rates? + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lra") + private Boolean lra; + + /** + * Does the bid include non-LRA rates? + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("nlra") + private Boolean nlra; + + /** + * Are the fair date rates LRA (Last Room Availability)? + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("fairDateLra") + private Boolean fairDateLra; + + /** + * Additional comments passed from the domain-level rate plan. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("internalNote") + private String internalNote; + + /** + * Additional Info + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("comments") + private List comments; + + /** + * Room Types associated with the bid + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("roomTypes") + private List roomTypes; + + /** + * Seasons associated with the bid + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("seasons") + private List seasons; + + /** + * Dynamic discounts associated with the bid + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("discounts") + private List discounts; + + /** + * Fair seasons associated with the bid + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("fairSeasons") + private List fairSeasons; + + /** + * Amenities associated with the bid + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("amenities") + private List amenities; + + /** + * Policies associated with the bid + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("policies") + private List policies; + + /** + * Taxes & fees associated with the bid + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("taxesAndFees") + private List taxesAndFees; + + @JsonCreator + public TravelProposalBid2( + @JsonProperty("travelProposal") @Nullable TravelProposalBidTravelProposal travelProposal, + @JsonProperty("id") @Nullable String id, + @JsonProperty("stayType") @Nullable BidStayType stayType, + @JsonProperty("order") @Nullable Long order, + @JsonProperty("status") @Nullable BidStatusType status, + @JsonProperty("name") @Nullable String name, + @JsonProperty("rate") @Nullable TravelProposalBidRate rate, + @JsonProperty("marketCode") @Nullable String marketCode, + @JsonProperty("currencyCode") @Nullable String currencyCode, + @JsonProperty("weekendDays") @Nullable List weekendDays, + @JsonProperty("lra") @Nullable Boolean lra, + @JsonProperty("nlra") @Nullable Boolean nlra, + @JsonProperty("fairDateLra") @Nullable Boolean fairDateLra, + @JsonProperty("internalNote") @Nullable String internalNote, + @JsonProperty("comments") @Nullable List comments, + @JsonProperty("roomTypes") @Nullable List roomTypes, + @JsonProperty("seasons") @Nullable List seasons, + @JsonProperty("discounts") @Nullable List discounts, + @JsonProperty("fairSeasons") @Nullable List fairSeasons, + @JsonProperty("amenities") @Nullable List amenities, + @JsonProperty("policies") @Nullable List policies, + @JsonProperty("taxesAndFees") @Nullable List taxesAndFees) { + this.travelProposal = travelProposal; + this.id = id; + this.stayType = Optional.ofNullable(stayType).orElse(Builder._SINGLETON_VALUE_StayType.value()); + this.order = Optional.ofNullable(order).orElse(Builder._SINGLETON_VALUE_Order.value()); + this.status = Optional.ofNullable(status).orElse(Builder._SINGLETON_VALUE_Status.value()); + this.name = name; + this.rate = rate; + this.marketCode = marketCode; + this.currencyCode = currencyCode; + this.weekendDays = weekendDays; + this.lra = Optional.ofNullable(lra).orElse(Builder._SINGLETON_VALUE_Lra.value()); + this.nlra = Optional.ofNullable(nlra).orElse(Builder._SINGLETON_VALUE_Nlra.value()); + this.fairDateLra = Optional.ofNullable(fairDateLra).orElse(Builder._SINGLETON_VALUE_FairDateLra.value()); + this.internalNote = internalNote; + this.comments = comments; + this.roomTypes = roomTypes; + this.seasons = seasons; + this.discounts = discounts; + this.fairSeasons = fairSeasons; + this.amenities = amenities; + this.policies = policies; + this.taxesAndFees = taxesAndFees; + } + + public TravelProposalBid2() { + this( + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null); + } + + /** + * The travel proposal that the bid belongs to. + */ + public Optional travelProposal() { + return Optional.ofNullable(this.travelProposal); + } + + /** + * The unique ID of the bid. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Bid stay type. + */ + public Optional stayType() { + return Optional.ofNullable(this.stayType); + } + + /** + * The order of the bid compared to other bids of the same stay type. This is used to distinguish + * between extended stay 1 vs extended stay 2. + */ + public Optional order() { + return Optional.ofNullable(this.order); + } + + /** + * Bid stay type. + */ + public Optional status() { + return Optional.ofNullable(this.status); + } + + /** + * Name given to the bid. + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * The rate (cost) information for a travel bid. + */ + public Optional rate() { + return Optional.ofNullable(this.rate); + } + + /** + * The market code given to the rate plan / bid by the supplier. + */ + public Optional marketCode() { + return Optional.ofNullable(this.marketCode); + } + + /** + * The ISO 4217 currency code used for the rates and other monetary values in the bid. + */ + public Optional currencyCode() { + return Optional.ofNullable(this.currencyCode); + } + + /** + * Days of the week that are considered weekend days, to apply weekend rates. Does not apply when + * format is GBTA2013. + */ + public Optional> weekendDays() { + return Optional.ofNullable(this.weekendDays); + } + + /** + * Does the bid include LRA (Last Room Availability) rates? + */ + public Optional lra() { + return Optional.ofNullable(this.lra); + } + + /** + * Does the bid include non-LRA rates? + */ + public Optional nlra() { + return Optional.ofNullable(this.nlra); + } + + /** + * Are the fair date rates LRA (Last Room Availability)? + */ + public Optional fairDateLra() { + return Optional.ofNullable(this.fairDateLra); + } + + /** + * Additional comments passed from the domain-level rate plan. + */ + public Optional internalNote() { + return Optional.ofNullable(this.internalNote); + } + + /** + * Additional Info + */ + public Optional> comments() { + return Optional.ofNullable(this.comments); + } + + /** + * Room Types associated with the bid + */ + public Optional> roomTypes() { + return Optional.ofNullable(this.roomTypes); + } + + /** + * Seasons associated with the bid + */ + public Optional> seasons() { + return Optional.ofNullable(this.seasons); + } + + /** + * Dynamic discounts associated with the bid + */ + public Optional> discounts() { + return Optional.ofNullable(this.discounts); + } + + /** + * Fair seasons associated with the bid + */ + public Optional> fairSeasons() { + return Optional.ofNullable(this.fairSeasons); + } + + /** + * Amenities associated with the bid + */ + public Optional> amenities() { + return Optional.ofNullable(this.amenities); + } + + /** + * Policies associated with the bid + */ + public Optional> policies() { + return Optional.ofNullable(this.policies); + } + + /** + * Taxes & fees associated with the bid + */ + public Optional> taxesAndFees() { + return Optional.ofNullable(this.taxesAndFees); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The travel proposal that the bid belongs to. + */ + public TravelProposalBid2 withTravelProposal(@Nullable TravelProposalBidTravelProposal travelProposal) { + this.travelProposal = travelProposal; + return this; + } + + /** + * The unique ID of the bid. + */ + public TravelProposalBid2 withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Bid stay type. + */ + public TravelProposalBid2 withStayType(@Nullable BidStayType stayType) { + this.stayType = stayType; + return this; + } + + /** + * The order of the bid compared to other bids of the same stay type. This is used to distinguish + * between extended stay 1 vs extended stay 2. + */ + public TravelProposalBid2 withOrder(@Nullable Long order) { + this.order = order; + return this; + } + + /** + * Bid stay type. + */ + public TravelProposalBid2 withStatus(@Nullable BidStatusType status) { + this.status = status; + return this; + } + + /** + * Name given to the bid. + */ + public TravelProposalBid2 withName(@Nullable String name) { + this.name = name; + return this; + } + + /** + * The rate (cost) information for a travel bid. + */ + public TravelProposalBid2 withRate(@Nullable TravelProposalBidRate rate) { + this.rate = rate; + return this; + } + + /** + * The market code given to the rate plan / bid by the supplier. + */ + public TravelProposalBid2 withMarketCode(@Nullable String marketCode) { + this.marketCode = marketCode; + return this; + } + + /** + * The ISO 4217 currency code used for the rates and other monetary values in the bid. + */ + public TravelProposalBid2 withCurrencyCode(@Nullable String currencyCode) { + this.currencyCode = currencyCode; + return this; + } + + /** + * Days of the week that are considered weekend days, to apply weekend rates. Does not apply when + * format is GBTA2013. + */ + public TravelProposalBid2 withWeekendDays(@Nullable List weekendDays) { + this.weekendDays = weekendDays; + return this; + } + + /** + * Does the bid include LRA (Last Room Availability) rates? + */ + public TravelProposalBid2 withLra(@Nullable Boolean lra) { + this.lra = lra; + return this; + } + + /** + * Does the bid include non-LRA rates? + */ + public TravelProposalBid2 withNlra(@Nullable Boolean nlra) { + this.nlra = nlra; + return this; + } + + /** + * Are the fair date rates LRA (Last Room Availability)? + */ + public TravelProposalBid2 withFairDateLra(@Nullable Boolean fairDateLra) { + this.fairDateLra = fairDateLra; + return this; + } + + /** + * Additional comments passed from the domain-level rate plan. + */ + public TravelProposalBid2 withInternalNote(@Nullable String internalNote) { + this.internalNote = internalNote; + return this; + } + + /** + * Additional Info + */ + public TravelProposalBid2 withComments(@Nullable List comments) { + this.comments = comments; + return this; + } + + /** + * Room Types associated with the bid + */ + public TravelProposalBid2 withRoomTypes(@Nullable List roomTypes) { + this.roomTypes = roomTypes; + return this; + } + + /** + * Seasons associated with the bid + */ + public TravelProposalBid2 withSeasons(@Nullable List seasons) { + this.seasons = seasons; + return this; + } + + /** + * Dynamic discounts associated with the bid + */ + public TravelProposalBid2 withDiscounts(@Nullable List discounts) { + this.discounts = discounts; + return this; + } + + /** + * Fair seasons associated with the bid + */ + public TravelProposalBid2 withFairSeasons(@Nullable List fairSeasons) { + this.fairSeasons = fairSeasons; + return this; + } + + /** + * Amenities associated with the bid + */ + public TravelProposalBid2 withAmenities(@Nullable List amenities) { + this.amenities = amenities; + return this; + } + + /** + * Policies associated with the bid + */ + public TravelProposalBid2 withPolicies(@Nullable List policies) { + this.policies = policies; + return this; + } + + /** + * Taxes & fees associated with the bid + */ + public TravelProposalBid2 withTaxesAndFees(@Nullable List taxesAndFees) { + this.taxesAndFees = taxesAndFees; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TravelProposalBid2 other = (TravelProposalBid2) o; + return Utils.enhancedDeepEquals(this.travelProposal, other.travelProposal) + && Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.stayType, other.stayType) + && Utils.enhancedDeepEquals(this.order, other.order) + && Utils.enhancedDeepEquals(this.status, other.status) + && Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.rate, other.rate) + && Utils.enhancedDeepEquals(this.marketCode, other.marketCode) + && Utils.enhancedDeepEquals(this.currencyCode, other.currencyCode) + && Utils.enhancedDeepEquals(this.weekendDays, other.weekendDays) + && Utils.enhancedDeepEquals(this.lra, other.lra) + && Utils.enhancedDeepEquals(this.nlra, other.nlra) + && Utils.enhancedDeepEquals(this.fairDateLra, other.fairDateLra) + && Utils.enhancedDeepEquals(this.internalNote, other.internalNote) + && Utils.enhancedDeepEquals(this.comments, other.comments) + && Utils.enhancedDeepEquals(this.roomTypes, other.roomTypes) + && Utils.enhancedDeepEquals(this.seasons, other.seasons) + && Utils.enhancedDeepEquals(this.discounts, other.discounts) + && Utils.enhancedDeepEquals(this.fairSeasons, other.fairSeasons) + && Utils.enhancedDeepEquals(this.amenities, other.amenities) + && Utils.enhancedDeepEquals(this.policies, other.policies) + && Utils.enhancedDeepEquals(this.taxesAndFees, other.taxesAndFees); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + travelProposal, + id, + stayType, + order, + status, + name, + rate, + marketCode, + currencyCode, + weekendDays, + lra, + nlra, + fairDateLra, + internalNote, + comments, + roomTypes, + seasons, + discounts, + fairSeasons, + amenities, + policies, + taxesAndFees); + } + + @Override + public String toString() { + return Utils.toString( + TravelProposalBid2.class, + "travelProposal", + travelProposal, + "id", + id, + "stayType", + stayType, + "order", + order, + "status", + status, + "name", + name, + "rate", + rate, + "marketCode", + marketCode, + "currencyCode", + currencyCode, + "weekendDays", + weekendDays, + "lra", + lra, + "nlra", + nlra, + "fairDateLra", + fairDateLra, + "internalNote", + internalNote, + "comments", + comments, + "roomTypes", + roomTypes, + "seasons", + seasons, + "discounts", + discounts, + "fairSeasons", + fairSeasons, + "amenities", + amenities, + "policies", + policies, + "taxesAndFees", + taxesAndFees); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private TravelProposalBidTravelProposal travelProposal; + + private String id; + + private BidStayType stayType; + + private Long order; + + private BidStatusType status; + + private String name; + + private TravelProposalBidRate rate; + + private String marketCode; + + private String currencyCode; + + private List weekendDays; + + private Boolean lra; + + private Boolean nlra; + + private Boolean fairDateLra; + + private String internalNote; + + private List comments; + + private List roomTypes; + + private List seasons; + + private List discounts; + + private List fairSeasons; + + private List amenities; + + private List policies; + + private List taxesAndFees; + + private Builder() { + // force use of static builder() method + } + + /** + * The travel proposal that the bid belongs to. + */ + public Builder travelProposal(@Nullable TravelProposalBidTravelProposal travelProposal) { + this.travelProposal = travelProposal; + return this; + } + + /** + * The unique ID of the bid. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Bid stay type. + */ + public Builder stayType(@Nullable BidStayType stayType) { + this.stayType = stayType; + return this; + } + + /** + * The order of the bid compared to other bids of the same stay type. This is used to distinguish + * between extended stay 1 vs extended stay 2. + */ + public Builder order(@Nullable Long order) { + this.order = order; + return this; + } + + /** + * Bid stay type. + */ + public Builder status(@Nullable BidStatusType status) { + this.status = status; + return this; + } + + /** + * Name given to the bid. + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + /** + * The rate (cost) information for a travel bid. + */ + public Builder rate(@Nullable TravelProposalBidRate rate) { + this.rate = rate; + return this; + } + + /** + * The market code given to the rate plan / bid by the supplier. + */ + public Builder marketCode(@Nullable String marketCode) { + this.marketCode = marketCode; + return this; + } + + /** + * The ISO 4217 currency code used for the rates and other monetary values in the bid. + */ + public Builder currencyCode(@Nullable String currencyCode) { + this.currencyCode = currencyCode; + return this; + } + + /** + * Days of the week that are considered weekend days, to apply weekend rates. Does not apply when + * format is GBTA2013. + */ + public Builder weekendDays(@Nullable List weekendDays) { + this.weekendDays = weekendDays; + return this; + } + + /** + * Does the bid include LRA (Last Room Availability) rates? + */ + public Builder lra(@Nullable Boolean lra) { + this.lra = lra; + return this; + } + + /** + * Does the bid include non-LRA rates? + */ + public Builder nlra(@Nullable Boolean nlra) { + this.nlra = nlra; + return this; + } + + /** + * Are the fair date rates LRA (Last Room Availability)? + */ + public Builder fairDateLra(@Nullable Boolean fairDateLra) { + this.fairDateLra = fairDateLra; + return this; + } + + /** + * Additional comments passed from the domain-level rate plan. + */ + public Builder internalNote(@Nullable String internalNote) { + this.internalNote = internalNote; + return this; + } + + /** + * Additional Info + */ + public Builder comments(@Nullable List comments) { + this.comments = comments; + return this; + } + + /** + * Room Types associated with the bid + */ + public Builder roomTypes(@Nullable List roomTypes) { + this.roomTypes = roomTypes; + return this; + } + + /** + * Seasons associated with the bid + */ + public Builder seasons(@Nullable List seasons) { + this.seasons = seasons; + return this; + } + + /** + * Dynamic discounts associated with the bid + */ + public Builder discounts(@Nullable List discounts) { + this.discounts = discounts; + return this; + } + + /** + * Fair seasons associated with the bid + */ + public Builder fairSeasons(@Nullable List fairSeasons) { + this.fairSeasons = fairSeasons; + return this; + } + + /** + * Amenities associated with the bid + */ + public Builder amenities(@Nullable List amenities) { + this.amenities = amenities; + return this; + } + + /** + * Policies associated with the bid + */ + public Builder policies(@Nullable List policies) { + this.policies = policies; + return this; + } + + /** + * Taxes & fees associated with the bid + */ + public Builder taxesAndFees(@Nullable List taxesAndFees) { + this.taxesAndFees = taxesAndFees; + return this; + } + + public TravelProposalBid2 build() { + return new TravelProposalBid2( + travelProposal, + id, + stayType, + order, + status, + name, + rate, + marketCode, + currencyCode, + weekendDays, + lra, + nlra, + fairDateLra, + internalNote, + comments, + roomTypes, + seasons, + discounts, + fairSeasons, + amenities, + policies, + taxesAndFees); + } + + private static final LazySingletonValue _SINGLETON_VALUE_StayType = + new LazySingletonValue<>("stayType", "\"daily\"", new TypeReference() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_Order = + new LazySingletonValue<>("order", "1", new TypeReference() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_Status = + new LazySingletonValue<>("status", "\"in_progress\"", new TypeReference() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_Lra = + new LazySingletonValue<>("lra", "true", new TypeReference() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_Nlra = + new LazySingletonValue<>("nlra", "true", new TypeReference() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_FairDateLra = + new LazySingletonValue<>("fairDateLra", "true", new TypeReference() {}); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelProposalBidIdJson.java b/packages/java/src/main/java/com/cvent/models/components/TravelProposalBidIdJson.java deleted file mode 100644 index 796794ecd..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelProposalBidIdJson.java +++ /dev/null @@ -1,100 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * TravelProposalBidIdJson - * - *

A travel proposal bid. - */ -public class TravelProposalBidIdJson { - /** - * The ID of the bid. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public TravelProposalBidIdJson(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public TravelProposalBidIdJson() { - this(null); - } - - /** - * The ID of the bid. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The ID of the bid. - */ - public TravelProposalBidIdJson withId(@Nullable String id) { - this.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; - } - TravelProposalBidIdJson other = (TravelProposalBidIdJson) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(TravelProposalBidIdJson.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * The ID of the bid. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public TravelProposalBidIdJson build() { - return new TravelProposalBidIdJson(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelProposalBidPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/TravelProposalBidPaginatedResponse.java index 4b7588fda..ad982c0b7 100644 --- a/packages/java/src/main/java/com/cvent/models/components/TravelProposalBidPaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/TravelProposalBidPaginatedResponse.java @@ -25,19 +25,19 @@ public class TravelProposalBidPaginatedResponse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * Paginated list of business transient proposal bids. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("data") - private List data; + private List data; @JsonCreator public TravelProposalBidPaginatedResponse( - @JsonProperty("paging") @Nullable PagingJson paging, - @JsonProperty("data") @Nullable List data) { + @JsonProperty("paging") @Nullable Paging paging, + @JsonProperty("data") @Nullable List data) { this.paging = paging; this.data = data; } @@ -49,14 +49,14 @@ public TravelProposalBidPaginatedResponse() { /** * Represents pagination information for a collection of resources. */ - public Optional paging() { + public Optional paging() { return Optional.ofNullable(this.paging); } /** * Paginated list of business transient proposal bids. */ - public Optional> data() { + public Optional> data() { return Optional.ofNullable(this.data); } @@ -67,7 +67,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public TravelProposalBidPaginatedResponse withPaging(@Nullable PagingJson paging) { + public TravelProposalBidPaginatedResponse withPaging(@Nullable Paging paging) { this.paging = paging; return this; } @@ -75,7 +75,7 @@ public TravelProposalBidPaginatedResponse withPaging(@Nullable PagingJson paging /** * Paginated list of business transient proposal bids. */ - public TravelProposalBidPaginatedResponse withData(@Nullable List data) { + public TravelProposalBidPaginatedResponse withData(@Nullable List data) { this.data = data; return this; } @@ -105,9 +105,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; - private List data; + private List data; private Builder() { // force use of static builder() method @@ -116,7 +116,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nullable PagingJson paging) { + public Builder paging(@Nullable Paging paging) { this.paging = paging; return this; } @@ -124,7 +124,7 @@ public Builder paging(@Nullable PagingJson paging) { /** * Paginated list of business transient proposal bids. */ - 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/TravelProposalBidRate.java b/packages/java/src/main/java/com/cvent/models/components/TravelProposalBidRate.java new file mode 100644 index 000000000..1c7b00b39 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelProposalBidRate.java @@ -0,0 +1,212 @@ +/* + * 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.Override; +import java.lang.String; +import java.util.Optional; + +/** + * TravelProposalBidRate + * + *

The rate (cost) information for a travel bid. + */ +public class TravelProposalBidRate { + /** + * Rate level + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("level") + private RateLevelType level; + + /** + * Rate type. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private RateType type; + + /** + * The code given to the bid (also called rate plan) by the supplier. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("planCode") + private String planCode; + + /** + * The rate tier given to the bid (also called rate plan) by the supplier. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("tier") + private String tier; + + @JsonCreator + public TravelProposalBidRate( + @JsonProperty("level") @Nullable RateLevelType level, + @JsonProperty("type") @Nullable RateType type, + @JsonProperty("planCode") @Nullable String planCode, + @JsonProperty("tier") @Nullable String tier) { + this.level = level; + this.type = Optional.ofNullable(type).orElse(Builder._SINGLETON_VALUE_Type.value()); + this.planCode = planCode; + this.tier = tier; + } + + public TravelProposalBidRate() { + this(null, null, null, null); + } + + /** + * Rate level + */ + public Optional level() { + return Optional.ofNullable(this.level); + } + + /** + * Rate type. + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + /** + * The code given to the bid (also called rate plan) by the supplier. + */ + public Optional planCode() { + return Optional.ofNullable(this.planCode); + } + + /** + * The rate tier given to the bid (also called rate plan) by the supplier. + */ + public Optional tier() { + return Optional.ofNullable(this.tier); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Rate level + */ + public TravelProposalBidRate withLevel(@Nullable RateLevelType level) { + this.level = level; + return this; + } + + /** + * Rate type. + */ + public TravelProposalBidRate withType(@Nullable RateType type) { + this.type = type; + return this; + } + + /** + * The code given to the bid (also called rate plan) by the supplier. + */ + public TravelProposalBidRate withPlanCode(@Nullable String planCode) { + this.planCode = planCode; + return this; + } + + /** + * The rate tier given to the bid (also called rate plan) by the supplier. + */ + public TravelProposalBidRate withTier(@Nullable String tier) { + this.tier = tier; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TravelProposalBidRate other = (TravelProposalBidRate) o; + return Utils.enhancedDeepEquals(this.level, other.level) + && Utils.enhancedDeepEquals(this.type, other.type) + && Utils.enhancedDeepEquals(this.planCode, other.planCode) + && Utils.enhancedDeepEquals(this.tier, other.tier); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(level, type, planCode, tier); + } + + @Override + public String toString() { + return Utils.toString( + TravelProposalBidRate.class, "level", level, "type", type, "planCode", planCode, "tier", tier); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private RateLevelType level; + + private RateType type; + + private String planCode; + + private String tier; + + private Builder() { + // force use of static builder() method + } + + /** + * Rate level + */ + public Builder level(@Nullable RateLevelType level) { + this.level = level; + return this; + } + + /** + * Rate type. + */ + public Builder type(@Nullable RateType type) { + this.type = type; + return this; + } + + /** + * The code given to the bid (also called rate plan) by the supplier. + */ + public Builder planCode(@Nullable String planCode) { + this.planCode = planCode; + return this; + } + + /** + * The rate tier given to the bid (also called rate plan) by the supplier. + */ + public Builder tier(@Nullable String tier) { + this.tier = tier; + return this; + } + + public TravelProposalBidRate build() { + return new TravelProposalBidRate(level, type, planCode, tier); + } + + private static final LazySingletonValue _SINGLETON_VALUE_Type = + new LazySingletonValue<>("type", "\"fixed\"", new TypeReference() {}); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelProposalCustomQuestion.java b/packages/java/src/main/java/com/cvent/models/components/TravelProposalCustomQuestion.java new file mode 100644 index 000000000..df589c5c4 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelProposalCustomQuestion.java @@ -0,0 +1,136 @@ +/* + * 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; + +/** + * TravelProposalCustomQuestion + * + *

Represents custom question associated with a travel proposal. + */ +public class TravelProposalCustomQuestion { + /** + * Travel account that the proposal is responding to. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("question") + private TravelProposalCustomQuestionQuestion question; + + /** + * Hotel's answer to the program's custom question. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("answer") + private String answer; + + @JsonCreator + public TravelProposalCustomQuestion( + @JsonProperty("question") @Nullable TravelProposalCustomQuestionQuestion question, + @JsonProperty("answer") @Nullable String answer) { + this.question = question; + this.answer = answer; + } + + public TravelProposalCustomQuestion() { + this(null, null); + } + + /** + * Travel account that the proposal is responding to. + */ + public Optional question() { + return Optional.ofNullable(this.question); + } + + /** + * Hotel's answer to the program's custom question. + */ + public Optional answer() { + return Optional.ofNullable(this.answer); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Travel account that the proposal is responding to. + */ + public TravelProposalCustomQuestion withQuestion(@Nullable TravelProposalCustomQuestionQuestion question) { + this.question = question; + return this; + } + + /** + * Hotel's answer to the program's custom question. + */ + public TravelProposalCustomQuestion withAnswer(@Nullable String answer) { + this.answer = answer; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TravelProposalCustomQuestion other = (TravelProposalCustomQuestion) o; + return Utils.enhancedDeepEquals(this.question, other.question) + && Utils.enhancedDeepEquals(this.answer, other.answer); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(question, answer); + } + + @Override + public String toString() { + return Utils.toString(TravelProposalCustomQuestion.class, "question", question, "answer", answer); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private TravelProposalCustomQuestionQuestion question; + + private String answer; + + private Builder() { + // force use of static builder() method + } + + /** + * Travel account that the proposal is responding to. + */ + public Builder question(@Nullable TravelProposalCustomQuestionQuestion question) { + this.question = question; + return this; + } + + /** + * Hotel's answer to the program's custom question. + */ + public Builder answer(@Nullable String answer) { + this.answer = answer; + return this; + } + + public TravelProposalCustomQuestion build() { + return new TravelProposalCustomQuestion(question, answer); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelProposalCustomQuestionQuestion.java b/packages/java/src/main/java/com/cvent/models/components/TravelProposalCustomQuestionQuestion.java new file mode 100644 index 000000000..a8141da2a --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelProposalCustomQuestionQuestion.java @@ -0,0 +1,100 @@ +/* + * 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; + +/** + * TravelProposalCustomQuestionQuestion + * + *

Travel account that the proposal is responding to. + */ +public class TravelProposalCustomQuestionQuestion { + /** + * The unique ID of the question. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public TravelProposalCustomQuestionQuestion(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public TravelProposalCustomQuestionQuestion() { + this(null); + } + + /** + * The unique ID of the question. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique ID of the question. + */ + public TravelProposalCustomQuestionQuestion withId(@Nullable String id) { + this.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; + } + TravelProposalCustomQuestionQuestion other = (TravelProposalCustomQuestionQuestion) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(TravelProposalCustomQuestionQuestion.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique ID of the question. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public TravelProposalCustomQuestionQuestion build() { + return new TravelProposalCustomQuestionQuestion(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelProposalDisposition.java b/packages/java/src/main/java/com/cvent/models/components/TravelProposalDisposition.java new file mode 100644 index 000000000..85e5ce802 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelProposalDisposition.java @@ -0,0 +1,143 @@ +/* + * 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.List; +import java.util.Optional; + +/** + * TravelProposalDisposition + * + *

Represent proposal disposition details. + */ +public class TravelProposalDisposition { + /** + * List of bid dispositions. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("bidDispositions") + private List bidDispositions; + + /** + * Indicates if the group and meeting is accepted. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("groupAndMeetingAccepted") + private Boolean groupAndMeetingAccepted; + + @JsonCreator + public TravelProposalDisposition( + @JsonProperty("bidDispositions") @Nullable List bidDispositions, + @JsonProperty("groupAndMeetingAccepted") @Nullable Boolean groupAndMeetingAccepted) { + this.bidDispositions = bidDispositions; + this.groupAndMeetingAccepted = groupAndMeetingAccepted; + } + + public TravelProposalDisposition() { + this(null, null); + } + + /** + * List of bid dispositions. + */ + public Optional> bidDispositions() { + return Optional.ofNullable(this.bidDispositions); + } + + /** + * Indicates if the group and meeting is accepted. + */ + public Optional groupAndMeetingAccepted() { + return Optional.ofNullable(this.groupAndMeetingAccepted); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * List of bid dispositions. + */ + public TravelProposalDisposition withBidDispositions(@Nullable List bidDispositions) { + this.bidDispositions = bidDispositions; + return this; + } + + /** + * Indicates if the group and meeting is accepted. + */ + public TravelProposalDisposition withGroupAndMeetingAccepted(@Nullable Boolean groupAndMeetingAccepted) { + this.groupAndMeetingAccepted = groupAndMeetingAccepted; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TravelProposalDisposition other = (TravelProposalDisposition) o; + return Utils.enhancedDeepEquals(this.bidDispositions, other.bidDispositions) + && Utils.enhancedDeepEquals(this.groupAndMeetingAccepted, other.groupAndMeetingAccepted); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(bidDispositions, groupAndMeetingAccepted); + } + + @Override + public String toString() { + return Utils.toString( + TravelProposalDisposition.class, + "bidDispositions", + bidDispositions, + "groupAndMeetingAccepted", + groupAndMeetingAccepted); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private List bidDispositions; + + private Boolean groupAndMeetingAccepted; + + private Builder() { + // force use of static builder() method + } + + /** + * List of bid dispositions. + */ + public Builder bidDispositions(@Nullable List bidDispositions) { + this.bidDispositions = bidDispositions; + return this; + } + + /** + * Indicates if the group and meeting is accepted. + */ + public Builder groupAndMeetingAccepted(@Nullable Boolean groupAndMeetingAccepted) { + this.groupAndMeetingAccepted = groupAndMeetingAccepted; + return this; + } + + public TravelProposalDisposition build() { + return new TravelProposalDisposition(bidDispositions, groupAndMeetingAccepted); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelProposalDispositionJson.java b/packages/java/src/main/java/com/cvent/models/components/TravelProposalDispositionJson.java deleted file mode 100644 index 437b6a3f1..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelProposalDispositionJson.java +++ /dev/null @@ -1,143 +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.Override; -import java.lang.String; -import java.util.List; -import java.util.Optional; - -/** - * TravelProposalDispositionJson - * - *

Represent proposal disposition details. - */ -public class TravelProposalDispositionJson { - /** - * List of bid dispositions. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("bidDispositions") - private List bidDispositions; - - /** - * Indicates if the group and meeting is accepted. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("groupAndMeetingAccepted") - private Boolean groupAndMeetingAccepted; - - @JsonCreator - public TravelProposalDispositionJson( - @JsonProperty("bidDispositions") @Nullable List bidDispositions, - @JsonProperty("groupAndMeetingAccepted") @Nullable Boolean groupAndMeetingAccepted) { - this.bidDispositions = bidDispositions; - this.groupAndMeetingAccepted = groupAndMeetingAccepted; - } - - public TravelProposalDispositionJson() { - this(null, null); - } - - /** - * List of bid dispositions. - */ - public Optional> bidDispositions() { - return Optional.ofNullable(this.bidDispositions); - } - - /** - * Indicates if the group and meeting is accepted. - */ - public Optional groupAndMeetingAccepted() { - return Optional.ofNullable(this.groupAndMeetingAccepted); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * List of bid dispositions. - */ - public TravelProposalDispositionJson withBidDispositions(@Nullable List bidDispositions) { - this.bidDispositions = bidDispositions; - return this; - } - - /** - * Indicates if the group and meeting is accepted. - */ - public TravelProposalDispositionJson withGroupAndMeetingAccepted(@Nullable Boolean groupAndMeetingAccepted) { - this.groupAndMeetingAccepted = groupAndMeetingAccepted; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - TravelProposalDispositionJson other = (TravelProposalDispositionJson) o; - return Utils.enhancedDeepEquals(this.bidDispositions, other.bidDispositions) - && Utils.enhancedDeepEquals(this.groupAndMeetingAccepted, other.groupAndMeetingAccepted); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(bidDispositions, groupAndMeetingAccepted); - } - - @Override - public String toString() { - return Utils.toString( - TravelProposalDispositionJson.class, - "bidDispositions", - bidDispositions, - "groupAndMeetingAccepted", - groupAndMeetingAccepted); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private List bidDispositions; - - private Boolean groupAndMeetingAccepted; - - private Builder() { - // force use of static builder() method - } - - /** - * List of bid dispositions. - */ - public Builder bidDispositions(@Nullable List bidDispositions) { - this.bidDispositions = bidDispositions; - return this; - } - - /** - * Indicates if the group and meeting is accepted. - */ - public Builder groupAndMeetingAccepted(@Nullable Boolean groupAndMeetingAccepted) { - this.groupAndMeetingAccepted = groupAndMeetingAccepted; - return this; - } - - public TravelProposalDispositionJson build() { - return new TravelProposalDispositionJson(bidDispositions, groupAndMeetingAccepted); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelProposalGroupAndMeeting.java b/packages/java/src/main/java/com/cvent/models/components/TravelProposalGroupAndMeeting.java new file mode 100644 index 000000000..4ea1fa9db --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelProposalGroupAndMeeting.java @@ -0,0 +1,314 @@ +/* + * 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; + +/** + * TravelProposalGroupAndMeeting + * + *

Group and meeting information. + */ +public class TravelProposalGroupAndMeeting { + /** + * Run of house rate information. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("runOfHouseRate") + private TravelProposalGroupAndMeetingRunOfHouseRate runOfHouseRate; + + /** + * Day delegate rate information. This represents the costs for hosting meeting at the venue for a half + * or full day. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("dayDelegateRate") + private TravelProposalGroupAndMeetingDayDelegateRate dayDelegateRate; + + /** + * Tax and service charge information. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("taxAndServiceCharge") + private TravelProposalGroupAndMeetingTaxAndServiceCharge taxAndServiceCharge; + + /** + * Meeting room basic information. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("meetingRoomBasicInformation") + private TravelProposalGroupAndMeetingMeetingRoomBasicInformation meetingRoomBasicInformation; + + /** + * Group and meeting amenity info. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("amenity") + private TravelProposalGroupAndMeetingAmenity amenity; + + /** + * Break-out room information. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("breakOutRoom") + private TravelProposalGroupAndMeetingBreakOutRoom breakOutRoom; + + @JsonCreator + public TravelProposalGroupAndMeeting( + @JsonProperty("runOfHouseRate") @Nullable TravelProposalGroupAndMeetingRunOfHouseRate runOfHouseRate, + @JsonProperty("dayDelegateRate") @Nullable TravelProposalGroupAndMeetingDayDelegateRate dayDelegateRate, + @JsonProperty("taxAndServiceCharge") @Nullable + TravelProposalGroupAndMeetingTaxAndServiceCharge taxAndServiceCharge, + @JsonProperty("meetingRoomBasicInformation") @Nullable + TravelProposalGroupAndMeetingMeetingRoomBasicInformation meetingRoomBasicInformation, + @JsonProperty("amenity") @Nullable TravelProposalGroupAndMeetingAmenity amenity, + @JsonProperty("breakOutRoom") @Nullable TravelProposalGroupAndMeetingBreakOutRoom breakOutRoom) { + this.runOfHouseRate = runOfHouseRate; + this.dayDelegateRate = dayDelegateRate; + this.taxAndServiceCharge = taxAndServiceCharge; + this.meetingRoomBasicInformation = meetingRoomBasicInformation; + this.amenity = amenity; + this.breakOutRoom = breakOutRoom; + } + + public TravelProposalGroupAndMeeting() { + this(null, null, null, null, null, null); + } + + /** + * Run of house rate information. + */ + public Optional runOfHouseRate() { + return Optional.ofNullable(this.runOfHouseRate); + } + + /** + * Day delegate rate information. This represents the costs for hosting meeting at the venue for a half + * or full day. + */ + public Optional dayDelegateRate() { + return Optional.ofNullable(this.dayDelegateRate); + } + + /** + * Tax and service charge information. + */ + public Optional taxAndServiceCharge() { + return Optional.ofNullable(this.taxAndServiceCharge); + } + + /** + * Meeting room basic information. + */ + public Optional meetingRoomBasicInformation() { + return Optional.ofNullable(this.meetingRoomBasicInformation); + } + + /** + * Group and meeting amenity info. + */ + public Optional amenity() { + return Optional.ofNullable(this.amenity); + } + + /** + * Break-out room information. + */ + public Optional breakOutRoom() { + return Optional.ofNullable(this.breakOutRoom); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Run of house rate information. + */ + public TravelProposalGroupAndMeeting withRunOfHouseRate( + @Nullable TravelProposalGroupAndMeetingRunOfHouseRate runOfHouseRate) { + this.runOfHouseRate = runOfHouseRate; + return this; + } + + /** + * Day delegate rate information. This represents the costs for hosting meeting at the venue for a half + * or full day. + */ + public TravelProposalGroupAndMeeting withDayDelegateRate( + @Nullable TravelProposalGroupAndMeetingDayDelegateRate dayDelegateRate) { + this.dayDelegateRate = dayDelegateRate; + return this; + } + + /** + * Tax and service charge information. + */ + public TravelProposalGroupAndMeeting withTaxAndServiceCharge( + @Nullable TravelProposalGroupAndMeetingTaxAndServiceCharge taxAndServiceCharge) { + this.taxAndServiceCharge = taxAndServiceCharge; + return this; + } + + /** + * Meeting room basic information. + */ + public TravelProposalGroupAndMeeting withMeetingRoomBasicInformation( + @Nullable TravelProposalGroupAndMeetingMeetingRoomBasicInformation meetingRoomBasicInformation) { + this.meetingRoomBasicInformation = meetingRoomBasicInformation; + return this; + } + + /** + * Group and meeting amenity info. + */ + public TravelProposalGroupAndMeeting withAmenity(@Nullable TravelProposalGroupAndMeetingAmenity amenity) { + this.amenity = amenity; + return this; + } + + /** + * Break-out room information. + */ + public TravelProposalGroupAndMeeting withBreakOutRoom( + @Nullable TravelProposalGroupAndMeetingBreakOutRoom breakOutRoom) { + this.breakOutRoom = breakOutRoom; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TravelProposalGroupAndMeeting other = (TravelProposalGroupAndMeeting) o; + return Utils.enhancedDeepEquals(this.runOfHouseRate, other.runOfHouseRate) + && Utils.enhancedDeepEquals(this.dayDelegateRate, other.dayDelegateRate) + && Utils.enhancedDeepEquals(this.taxAndServiceCharge, other.taxAndServiceCharge) + && Utils.enhancedDeepEquals(this.meetingRoomBasicInformation, other.meetingRoomBasicInformation) + && Utils.enhancedDeepEquals(this.amenity, other.amenity) + && Utils.enhancedDeepEquals(this.breakOutRoom, other.breakOutRoom); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + runOfHouseRate, + dayDelegateRate, + taxAndServiceCharge, + meetingRoomBasicInformation, + amenity, + breakOutRoom); + } + + @Override + public String toString() { + return Utils.toString( + TravelProposalGroupAndMeeting.class, + "runOfHouseRate", + runOfHouseRate, + "dayDelegateRate", + dayDelegateRate, + "taxAndServiceCharge", + taxAndServiceCharge, + "meetingRoomBasicInformation", + meetingRoomBasicInformation, + "amenity", + amenity, + "breakOutRoom", + breakOutRoom); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private TravelProposalGroupAndMeetingRunOfHouseRate runOfHouseRate; + + private TravelProposalGroupAndMeetingDayDelegateRate dayDelegateRate; + + private TravelProposalGroupAndMeetingTaxAndServiceCharge taxAndServiceCharge; + + private TravelProposalGroupAndMeetingMeetingRoomBasicInformation meetingRoomBasicInformation; + + private TravelProposalGroupAndMeetingAmenity amenity; + + private TravelProposalGroupAndMeetingBreakOutRoom breakOutRoom; + + private Builder() { + // force use of static builder() method + } + + /** + * Run of house rate information. + */ + public Builder runOfHouseRate(@Nullable TravelProposalGroupAndMeetingRunOfHouseRate runOfHouseRate) { + this.runOfHouseRate = runOfHouseRate; + return this; + } + + /** + * Day delegate rate information. This represents the costs for hosting meeting at the venue for a half + * or full day. + */ + public Builder dayDelegateRate(@Nullable TravelProposalGroupAndMeetingDayDelegateRate dayDelegateRate) { + this.dayDelegateRate = dayDelegateRate; + return this; + } + + /** + * Tax and service charge information. + */ + public Builder taxAndServiceCharge( + @Nullable TravelProposalGroupAndMeetingTaxAndServiceCharge taxAndServiceCharge) { + this.taxAndServiceCharge = taxAndServiceCharge; + return this; + } + + /** + * Meeting room basic information. + */ + public Builder meetingRoomBasicInformation( + @Nullable TravelProposalGroupAndMeetingMeetingRoomBasicInformation meetingRoomBasicInformation) { + this.meetingRoomBasicInformation = meetingRoomBasicInformation; + return this; + } + + /** + * Group and meeting amenity info. + */ + public Builder amenity(@Nullable TravelProposalGroupAndMeetingAmenity amenity) { + this.amenity = amenity; + return this; + } + + /** + * Break-out room information. + */ + public Builder breakOutRoom(@Nullable TravelProposalGroupAndMeetingBreakOutRoom breakOutRoom) { + this.breakOutRoom = breakOutRoom; + return this; + } + + public TravelProposalGroupAndMeeting build() { + return new TravelProposalGroupAndMeeting( + runOfHouseRate, + dayDelegateRate, + taxAndServiceCharge, + meetingRoomBasicInformation, + amenity, + breakOutRoom); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelProposalGroupAndMeetingAmenity.java b/packages/java/src/main/java/com/cvent/models/components/TravelProposalGroupAndMeetingAmenity.java new file mode 100644 index 000000000..37ad16181 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelProposalGroupAndMeetingAmenity.java @@ -0,0 +1,383 @@ +/* + * 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.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * TravelProposalGroupAndMeetingAmenity + * + *

Group and meeting amenity info. + */ +public class TravelProposalGroupAndMeetingAmenity { + /** + * True indicates a liquid crystal display (LCD) is included in the amenity. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lcdIncluded") + private Boolean lcdIncluded; + + /** + * Price of the liquid crystal display (LCD). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lcdPrice") + private Double lcdPrice; + + /** + * True indicates a screen is included in the amenity. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("screenIncluded") + private Boolean screenIncluded; + + /** + * Price of the screen. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("screenPrice") + private Double screenPrice; + + /** + * True indicates high speed internet access is included in the amenity. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("hsiaIncluded") + private Boolean hsiaIncluded; + + /** + * Price of high speed internet access (HSIA). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("hsiaPrice") + private Double hsiaPrice; + + /** + * True indicates parking is included in the amenity. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("complementaryParkingIncluded") + private Boolean complementaryParkingIncluded; + + /** + * Name of company providing AV equipment. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("whatCompanyProvidesAVEquipment") + private String whatCompanyProvidesAVEquipment; + + @JsonCreator + public TravelProposalGroupAndMeetingAmenity( + @JsonProperty("lcdIncluded") @Nullable Boolean lcdIncluded, + @JsonProperty("lcdPrice") @Nullable Double lcdPrice, + @JsonProperty("screenIncluded") @Nullable Boolean screenIncluded, + @JsonProperty("screenPrice") @Nullable Double screenPrice, + @JsonProperty("hsiaIncluded") @Nullable Boolean hsiaIncluded, + @JsonProperty("hsiaPrice") @Nullable Double hsiaPrice, + @JsonProperty("complementaryParkingIncluded") @Nullable Boolean complementaryParkingIncluded, + @JsonProperty("whatCompanyProvidesAVEquipment") @Nullable String whatCompanyProvidesAVEquipment) { + this.lcdIncluded = lcdIncluded; + this.lcdPrice = lcdPrice; + this.screenIncluded = screenIncluded; + this.screenPrice = screenPrice; + this.hsiaIncluded = hsiaIncluded; + this.hsiaPrice = hsiaPrice; + this.complementaryParkingIncluded = complementaryParkingIncluded; + this.whatCompanyProvidesAVEquipment = whatCompanyProvidesAVEquipment; + } + + public TravelProposalGroupAndMeetingAmenity() { + this(null, null, null, null, null, null, null, null); + } + + /** + * True indicates a liquid crystal display (LCD) is included in the amenity. + */ + public Optional lcdIncluded() { + return Optional.ofNullable(this.lcdIncluded); + } + + /** + * Price of the liquid crystal display (LCD). + */ + public Optional lcdPrice() { + return Optional.ofNullable(this.lcdPrice); + } + + /** + * True indicates a screen is included in the amenity. + */ + public Optional screenIncluded() { + return Optional.ofNullable(this.screenIncluded); + } + + /** + * Price of the screen. + */ + public Optional screenPrice() { + return Optional.ofNullable(this.screenPrice); + } + + /** + * True indicates high speed internet access is included in the amenity. + */ + public Optional hsiaIncluded() { + return Optional.ofNullable(this.hsiaIncluded); + } + + /** + * Price of high speed internet access (HSIA). + */ + public Optional hsiaPrice() { + return Optional.ofNullable(this.hsiaPrice); + } + + /** + * True indicates parking is included in the amenity. + */ + public Optional complementaryParkingIncluded() { + return Optional.ofNullable(this.complementaryParkingIncluded); + } + + /** + * Name of company providing AV equipment. + */ + public Optional whatCompanyProvidesAVEquipment() { + return Optional.ofNullable(this.whatCompanyProvidesAVEquipment); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * True indicates a liquid crystal display (LCD) is included in the amenity. + */ + public TravelProposalGroupAndMeetingAmenity withLcdIncluded(@Nullable Boolean lcdIncluded) { + this.lcdIncluded = lcdIncluded; + return this; + } + + /** + * Price of the liquid crystal display (LCD). + */ + public TravelProposalGroupAndMeetingAmenity withLcdPrice(@Nullable Double lcdPrice) { + this.lcdPrice = lcdPrice; + return this; + } + + /** + * True indicates a screen is included in the amenity. + */ + public TravelProposalGroupAndMeetingAmenity withScreenIncluded(@Nullable Boolean screenIncluded) { + this.screenIncluded = screenIncluded; + return this; + } + + /** + * Price of the screen. + */ + public TravelProposalGroupAndMeetingAmenity withScreenPrice(@Nullable Double screenPrice) { + this.screenPrice = screenPrice; + return this; + } + + /** + * True indicates high speed internet access is included in the amenity. + */ + public TravelProposalGroupAndMeetingAmenity withHsiaIncluded(@Nullable Boolean hsiaIncluded) { + this.hsiaIncluded = hsiaIncluded; + return this; + } + + /** + * Price of high speed internet access (HSIA). + */ + public TravelProposalGroupAndMeetingAmenity withHsiaPrice(@Nullable Double hsiaPrice) { + this.hsiaPrice = hsiaPrice; + return this; + } + + /** + * True indicates parking is included in the amenity. + */ + public TravelProposalGroupAndMeetingAmenity withComplementaryParkingIncluded( + @Nullable Boolean complementaryParkingIncluded) { + this.complementaryParkingIncluded = complementaryParkingIncluded; + return this; + } + + /** + * Name of company providing AV equipment. + */ + public TravelProposalGroupAndMeetingAmenity withWhatCompanyProvidesAVEquipment( + @Nullable String whatCompanyProvidesAVEquipment) { + this.whatCompanyProvidesAVEquipment = whatCompanyProvidesAVEquipment; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TravelProposalGroupAndMeetingAmenity other = (TravelProposalGroupAndMeetingAmenity) o; + return Utils.enhancedDeepEquals(this.lcdIncluded, other.lcdIncluded) + && Utils.enhancedDeepEquals(this.lcdPrice, other.lcdPrice) + && Utils.enhancedDeepEquals(this.screenIncluded, other.screenIncluded) + && Utils.enhancedDeepEquals(this.screenPrice, other.screenPrice) + && Utils.enhancedDeepEquals(this.hsiaIncluded, other.hsiaIncluded) + && Utils.enhancedDeepEquals(this.hsiaPrice, other.hsiaPrice) + && Utils.enhancedDeepEquals(this.complementaryParkingIncluded, other.complementaryParkingIncluded) + && Utils.enhancedDeepEquals(this.whatCompanyProvidesAVEquipment, other.whatCompanyProvidesAVEquipment); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + lcdIncluded, + lcdPrice, + screenIncluded, + screenPrice, + hsiaIncluded, + hsiaPrice, + complementaryParkingIncluded, + whatCompanyProvidesAVEquipment); + } + + @Override + public String toString() { + return Utils.toString( + TravelProposalGroupAndMeetingAmenity.class, + "lcdIncluded", + lcdIncluded, + "lcdPrice", + lcdPrice, + "screenIncluded", + screenIncluded, + "screenPrice", + screenPrice, + "hsiaIncluded", + hsiaIncluded, + "hsiaPrice", + hsiaPrice, + "complementaryParkingIncluded", + complementaryParkingIncluded, + "whatCompanyProvidesAVEquipment", + whatCompanyProvidesAVEquipment); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private Boolean lcdIncluded; + + private Double lcdPrice; + + private Boolean screenIncluded; + + private Double screenPrice; + + private Boolean hsiaIncluded; + + private Double hsiaPrice; + + private Boolean complementaryParkingIncluded; + + private String whatCompanyProvidesAVEquipment; + + private Builder() { + // force use of static builder() method + } + + /** + * True indicates a liquid crystal display (LCD) is included in the amenity. + */ + public Builder lcdIncluded(@Nullable Boolean lcdIncluded) { + this.lcdIncluded = lcdIncluded; + return this; + } + + /** + * Price of the liquid crystal display (LCD). + */ + public Builder lcdPrice(@Nullable Double lcdPrice) { + this.lcdPrice = lcdPrice; + return this; + } + + /** + * True indicates a screen is included in the amenity. + */ + public Builder screenIncluded(@Nullable Boolean screenIncluded) { + this.screenIncluded = screenIncluded; + return this; + } + + /** + * Price of the screen. + */ + public Builder screenPrice(@Nullable Double screenPrice) { + this.screenPrice = screenPrice; + return this; + } + + /** + * True indicates high speed internet access is included in the amenity. + */ + public Builder hsiaIncluded(@Nullable Boolean hsiaIncluded) { + this.hsiaIncluded = hsiaIncluded; + return this; + } + + /** + * Price of high speed internet access (HSIA). + */ + public Builder hsiaPrice(@Nullable Double hsiaPrice) { + this.hsiaPrice = hsiaPrice; + return this; + } + + /** + * True indicates parking is included in the amenity. + */ + public Builder complementaryParkingIncluded(@Nullable Boolean complementaryParkingIncluded) { + this.complementaryParkingIncluded = complementaryParkingIncluded; + return this; + } + + /** + * Name of company providing AV equipment. + */ + public Builder whatCompanyProvidesAVEquipment(@Nullable String whatCompanyProvidesAVEquipment) { + this.whatCompanyProvidesAVEquipment = whatCompanyProvidesAVEquipment; + return this; + } + + public TravelProposalGroupAndMeetingAmenity build() { + return new TravelProposalGroupAndMeetingAmenity( + lcdIncluded, + lcdPrice, + screenIncluded, + screenPrice, + hsiaIncluded, + hsiaPrice, + complementaryParkingIncluded, + whatCompanyProvidesAVEquipment); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelProposalGroupAndMeetingBreakOutRoom.java b/packages/java/src/main/java/com/cvent/models/components/TravelProposalGroupAndMeetingBreakOutRoom.java new file mode 100644 index 000000000..1aa34d0c5 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelProposalGroupAndMeetingBreakOutRoom.java @@ -0,0 +1,267 @@ +/* + * 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.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * TravelProposalGroupAndMeetingBreakOutRoom + * + *

Break-out room information. + */ +public class TravelProposalGroupAndMeetingBreakOutRoom { + /** + * True indicates a 10 person room is included. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("10PersonRoomIncluded") + private Boolean tenPersonRoomIncluded; + + /** + * Price for 10 person room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("price10PersonRoom") + private Double price10PersonRoom; + + /** + * True indicates a 25 person room included. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("25PersonRoomIncluded") + private Boolean twentyFivePersonRoomIncluded; + + /** + * Price for 25 person room. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("price25PersonRoom") + private Double price25PersonRoom; + + /** + * True indicates there is a permanent board room set up. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("permanentBoardRoomSetUp") + private Boolean permanentBoardRoomSetUp; + + @JsonCreator + public TravelProposalGroupAndMeetingBreakOutRoom( + @JsonProperty("10PersonRoomIncluded") @Nullable Boolean tenPersonRoomIncluded, + @JsonProperty("price10PersonRoom") @Nullable Double price10PersonRoom, + @JsonProperty("25PersonRoomIncluded") @Nullable Boolean twentyFivePersonRoomIncluded, + @JsonProperty("price25PersonRoom") @Nullable Double price25PersonRoom, + @JsonProperty("permanentBoardRoomSetUp") @Nullable Boolean permanentBoardRoomSetUp) { + this.tenPersonRoomIncluded = tenPersonRoomIncluded; + this.price10PersonRoom = price10PersonRoom; + this.twentyFivePersonRoomIncluded = twentyFivePersonRoomIncluded; + this.price25PersonRoom = price25PersonRoom; + this.permanentBoardRoomSetUp = permanentBoardRoomSetUp; + } + + public TravelProposalGroupAndMeetingBreakOutRoom() { + this(null, null, null, null, null); + } + + /** + * True indicates a 10 person room is included. + */ + public Optional tenPersonRoomIncluded() { + return Optional.ofNullable(this.tenPersonRoomIncluded); + } + + /** + * Price for 10 person room. + */ + public Optional price10PersonRoom() { + return Optional.ofNullable(this.price10PersonRoom); + } + + /** + * True indicates a 25 person room included. + */ + public Optional twentyFivePersonRoomIncluded() { + return Optional.ofNullable(this.twentyFivePersonRoomIncluded); + } + + /** + * Price for 25 person room. + */ + public Optional price25PersonRoom() { + return Optional.ofNullable(this.price25PersonRoom); + } + + /** + * True indicates there is a permanent board room set up. + */ + public Optional permanentBoardRoomSetUp() { + return Optional.ofNullable(this.permanentBoardRoomSetUp); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * True indicates a 10 person room is included. + */ + public TravelProposalGroupAndMeetingBreakOutRoom withTenPersonRoomIncluded( + @Nullable Boolean tenPersonRoomIncluded) { + this.tenPersonRoomIncluded = tenPersonRoomIncluded; + return this; + } + + /** + * Price for 10 person room. + */ + public TravelProposalGroupAndMeetingBreakOutRoom withPrice10PersonRoom(@Nullable Double price10PersonRoom) { + this.price10PersonRoom = price10PersonRoom; + return this; + } + + /** + * True indicates a 25 person room included. + */ + public TravelProposalGroupAndMeetingBreakOutRoom withTwentyFivePersonRoomIncluded( + @Nullable Boolean twentyFivePersonRoomIncluded) { + this.twentyFivePersonRoomIncluded = twentyFivePersonRoomIncluded; + return this; + } + + /** + * Price for 25 person room. + */ + public TravelProposalGroupAndMeetingBreakOutRoom withPrice25PersonRoom(@Nullable Double price25PersonRoom) { + this.price25PersonRoom = price25PersonRoom; + return this; + } + + /** + * True indicates there is a permanent board room set up. + */ + public TravelProposalGroupAndMeetingBreakOutRoom withPermanentBoardRoomSetUp( + @Nullable Boolean permanentBoardRoomSetUp) { + this.permanentBoardRoomSetUp = permanentBoardRoomSetUp; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TravelProposalGroupAndMeetingBreakOutRoom other = (TravelProposalGroupAndMeetingBreakOutRoom) o; + return Utils.enhancedDeepEquals(this.tenPersonRoomIncluded, other.tenPersonRoomIncluded) + && Utils.enhancedDeepEquals(this.price10PersonRoom, other.price10PersonRoom) + && Utils.enhancedDeepEquals(this.twentyFivePersonRoomIncluded, other.twentyFivePersonRoomIncluded) + && Utils.enhancedDeepEquals(this.price25PersonRoom, other.price25PersonRoom) + && Utils.enhancedDeepEquals(this.permanentBoardRoomSetUp, other.permanentBoardRoomSetUp); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + tenPersonRoomIncluded, + price10PersonRoom, + twentyFivePersonRoomIncluded, + price25PersonRoom, + permanentBoardRoomSetUp); + } + + @Override + public String toString() { + return Utils.toString( + TravelProposalGroupAndMeetingBreakOutRoom.class, + "tenPersonRoomIncluded", + tenPersonRoomIncluded, + "price10PersonRoom", + price10PersonRoom, + "twentyFivePersonRoomIncluded", + twentyFivePersonRoomIncluded, + "price25PersonRoom", + price25PersonRoom, + "permanentBoardRoomSetUp", + permanentBoardRoomSetUp); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private Boolean tenPersonRoomIncluded; + + private Double price10PersonRoom; + + private Boolean twentyFivePersonRoomIncluded; + + private Double price25PersonRoom; + + private Boolean permanentBoardRoomSetUp; + + private Builder() { + // force use of static builder() method + } + + /** + * True indicates a 10 person room is included. + */ + public Builder tenPersonRoomIncluded(@Nullable Boolean tenPersonRoomIncluded) { + this.tenPersonRoomIncluded = tenPersonRoomIncluded; + return this; + } + + /** + * Price for 10 person room. + */ + public Builder price10PersonRoom(@Nullable Double price10PersonRoom) { + this.price10PersonRoom = price10PersonRoom; + return this; + } + + /** + * True indicates a 25 person room included. + */ + public Builder twentyFivePersonRoomIncluded(@Nullable Boolean twentyFivePersonRoomIncluded) { + this.twentyFivePersonRoomIncluded = twentyFivePersonRoomIncluded; + return this; + } + + /** + * Price for 25 person room. + */ + public Builder price25PersonRoom(@Nullable Double price25PersonRoom) { + this.price25PersonRoom = price25PersonRoom; + return this; + } + + /** + * True indicates there is a permanent board room set up. + */ + public Builder permanentBoardRoomSetUp(@Nullable Boolean permanentBoardRoomSetUp) { + this.permanentBoardRoomSetUp = permanentBoardRoomSetUp; + return this; + } + + public TravelProposalGroupAndMeetingBreakOutRoom build() { + return new TravelProposalGroupAndMeetingBreakOutRoom( + tenPersonRoomIncluded, + price10PersonRoom, + twentyFivePersonRoomIncluded, + price25PersonRoom, + permanentBoardRoomSetUp); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelProposalGroupAndMeetingDayDelegateRate.java b/packages/java/src/main/java/com/cvent/models/components/TravelProposalGroupAndMeetingDayDelegateRate.java new file mode 100644 index 000000000..9d689a098 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelProposalGroupAndMeetingDayDelegateRate.java @@ -0,0 +1,220 @@ +/* + * 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.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * TravelProposalGroupAndMeetingDayDelegateRate + * + *

Day delegate rate information. This represents the costs for hosting meeting at the venue for a half + * or full day. + */ +public class TravelProposalGroupAndMeetingDayDelegateRate { + /** + * Full day delegate rate for 10 to 50 people. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("fullDay10To50People") + private Double fullDay10To50People; + + /** + * Full day delegate rate for 51 to 100 people. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("fullDay51To100People") + private Double fullDay51To100People; + + /** + * Half day delegate rate for 10 to 50 people. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("halfDay10To50People") + private Double halfDay10To50People; + + /** + * Half day delegate rate for 51 to 100 people. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("halfDay51To100People") + private Double halfDay51To100People; + + @JsonCreator + public TravelProposalGroupAndMeetingDayDelegateRate( + @JsonProperty("fullDay10To50People") @Nullable Double fullDay10To50People, + @JsonProperty("fullDay51To100People") @Nullable Double fullDay51To100People, + @JsonProperty("halfDay10To50People") @Nullable Double halfDay10To50People, + @JsonProperty("halfDay51To100People") @Nullable Double halfDay51To100People) { + this.fullDay10To50People = fullDay10To50People; + this.fullDay51To100People = fullDay51To100People; + this.halfDay10To50People = halfDay10To50People; + this.halfDay51To100People = halfDay51To100People; + } + + public TravelProposalGroupAndMeetingDayDelegateRate() { + this(null, null, null, null); + } + + /** + * Full day delegate rate for 10 to 50 people. + */ + public Optional fullDay10To50People() { + return Optional.ofNullable(this.fullDay10To50People); + } + + /** + * Full day delegate rate for 51 to 100 people. + */ + public Optional fullDay51To100People() { + return Optional.ofNullable(this.fullDay51To100People); + } + + /** + * Half day delegate rate for 10 to 50 people. + */ + public Optional halfDay10To50People() { + return Optional.ofNullable(this.halfDay10To50People); + } + + /** + * Half day delegate rate for 51 to 100 people. + */ + public Optional halfDay51To100People() { + return Optional.ofNullable(this.halfDay51To100People); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Full day delegate rate for 10 to 50 people. + */ + public TravelProposalGroupAndMeetingDayDelegateRate withFullDay10To50People(@Nullable Double fullDay10To50People) { + this.fullDay10To50People = fullDay10To50People; + return this; + } + + /** + * Full day delegate rate for 51 to 100 people. + */ + public TravelProposalGroupAndMeetingDayDelegateRate withFullDay51To100People( + @Nullable Double fullDay51To100People) { + this.fullDay51To100People = fullDay51To100People; + return this; + } + + /** + * Half day delegate rate for 10 to 50 people. + */ + public TravelProposalGroupAndMeetingDayDelegateRate withHalfDay10To50People(@Nullable Double halfDay10To50People) { + this.halfDay10To50People = halfDay10To50People; + return this; + } + + /** + * Half day delegate rate for 51 to 100 people. + */ + public TravelProposalGroupAndMeetingDayDelegateRate withHalfDay51To100People( + @Nullable Double halfDay51To100People) { + this.halfDay51To100People = halfDay51To100People; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TravelProposalGroupAndMeetingDayDelegateRate other = (TravelProposalGroupAndMeetingDayDelegateRate) o; + return Utils.enhancedDeepEquals(this.fullDay10To50People, other.fullDay10To50People) + && Utils.enhancedDeepEquals(this.fullDay51To100People, other.fullDay51To100People) + && Utils.enhancedDeepEquals(this.halfDay10To50People, other.halfDay10To50People) + && Utils.enhancedDeepEquals(this.halfDay51To100People, other.halfDay51To100People); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(fullDay10To50People, fullDay51To100People, halfDay10To50People, halfDay51To100People); + } + + @Override + public String toString() { + return Utils.toString( + TravelProposalGroupAndMeetingDayDelegateRate.class, + "fullDay10To50People", + fullDay10To50People, + "fullDay51To100People", + fullDay51To100People, + "halfDay10To50People", + halfDay10To50People, + "halfDay51To100People", + halfDay51To100People); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private Double fullDay10To50People; + + private Double fullDay51To100People; + + private Double halfDay10To50People; + + private Double halfDay51To100People; + + private Builder() { + // force use of static builder() method + } + + /** + * Full day delegate rate for 10 to 50 people. + */ + public Builder fullDay10To50People(@Nullable Double fullDay10To50People) { + this.fullDay10To50People = fullDay10To50People; + return this; + } + + /** + * Full day delegate rate for 51 to 100 people. + */ + public Builder fullDay51To100People(@Nullable Double fullDay51To100People) { + this.fullDay51To100People = fullDay51To100People; + return this; + } + + /** + * Half day delegate rate for 10 to 50 people. + */ + public Builder halfDay10To50People(@Nullable Double halfDay10To50People) { + this.halfDay10To50People = halfDay10To50People; + return this; + } + + /** + * Half day delegate rate for 51 to 100 people. + */ + public Builder halfDay51To100People(@Nullable Double halfDay51To100People) { + this.halfDay51To100People = halfDay51To100People; + return this; + } + + public TravelProposalGroupAndMeetingDayDelegateRate build() { + return new TravelProposalGroupAndMeetingDayDelegateRate( + fullDay10To50People, fullDay51To100People, halfDay10To50People, halfDay51To100People); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelProposalGroupAndMeetingMeetingRoomBasicInformation.java b/packages/java/src/main/java/com/cvent/models/components/TravelProposalGroupAndMeetingMeetingRoomBasicInformation.java new file mode 100644 index 000000000..ecfa52a41 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelProposalGroupAndMeetingMeetingRoomBasicInformation.java @@ -0,0 +1,183 @@ +/* + * 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.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * TravelProposalGroupAndMeetingMeetingRoomBasicInformation + * + *

Meeting room basic information. + */ +public class TravelProposalGroupAndMeetingMeetingRoomBasicInformation { + /** + * Size of the largest meeting room. Units of measurement determined by `unitOfMeasurement` field. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("largestMeetingRoom") + private Long largestMeetingRoom; + + /** + * Unit of measurement of the `largestMeetingRoom`'s size. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("unitOfMeasurement") + private String unitOfMeasurement; + + /** + * Total number of meeting rooms. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("meetingRooms") + private Long meetingRooms; + + @JsonCreator + public TravelProposalGroupAndMeetingMeetingRoomBasicInformation( + @JsonProperty("largestMeetingRoom") @Nullable Long largestMeetingRoom, + @JsonProperty("unitOfMeasurement") @Nullable String unitOfMeasurement, + @JsonProperty("meetingRooms") @Nullable Long meetingRooms) { + this.largestMeetingRoom = largestMeetingRoom; + this.unitOfMeasurement = unitOfMeasurement; + this.meetingRooms = meetingRooms; + } + + public TravelProposalGroupAndMeetingMeetingRoomBasicInformation() { + this(null, null, null); + } + + /** + * Size of the largest meeting room. Units of measurement determined by `unitOfMeasurement` field. + */ + public Optional largestMeetingRoom() { + return Optional.ofNullable(this.largestMeetingRoom); + } + + /** + * Unit of measurement of the `largestMeetingRoom`'s size. + */ + public Optional unitOfMeasurement() { + return Optional.ofNullable(this.unitOfMeasurement); + } + + /** + * Total number of meeting rooms. + */ + public Optional meetingRooms() { + return Optional.ofNullable(this.meetingRooms); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Size of the largest meeting room. Units of measurement determined by `unitOfMeasurement` field. + */ + public TravelProposalGroupAndMeetingMeetingRoomBasicInformation withLargestMeetingRoom( + @Nullable Long largestMeetingRoom) { + this.largestMeetingRoom = largestMeetingRoom; + return this; + } + + /** + * Unit of measurement of the `largestMeetingRoom`'s size. + */ + public TravelProposalGroupAndMeetingMeetingRoomBasicInformation withUnitOfMeasurement( + @Nullable String unitOfMeasurement) { + this.unitOfMeasurement = unitOfMeasurement; + return this; + } + + /** + * Total number of meeting rooms. + */ + public TravelProposalGroupAndMeetingMeetingRoomBasicInformation withMeetingRooms(@Nullable Long meetingRooms) { + this.meetingRooms = meetingRooms; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TravelProposalGroupAndMeetingMeetingRoomBasicInformation other = + (TravelProposalGroupAndMeetingMeetingRoomBasicInformation) o; + return Utils.enhancedDeepEquals(this.largestMeetingRoom, other.largestMeetingRoom) + && Utils.enhancedDeepEquals(this.unitOfMeasurement, other.unitOfMeasurement) + && Utils.enhancedDeepEquals(this.meetingRooms, other.meetingRooms); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(largestMeetingRoom, unitOfMeasurement, meetingRooms); + } + + @Override + public String toString() { + return Utils.toString( + TravelProposalGroupAndMeetingMeetingRoomBasicInformation.class, + "largestMeetingRoom", + largestMeetingRoom, + "unitOfMeasurement", + unitOfMeasurement, + "meetingRooms", + meetingRooms); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private Long largestMeetingRoom; + + private String unitOfMeasurement; + + private Long meetingRooms; + + private Builder() { + // force use of static builder() method + } + + /** + * Size of the largest meeting room. Units of measurement determined by `unitOfMeasurement` field. + */ + public Builder largestMeetingRoom(@Nullable Long largestMeetingRoom) { + this.largestMeetingRoom = largestMeetingRoom; + return this; + } + + /** + * Unit of measurement of the `largestMeetingRoom`'s size. + */ + public Builder unitOfMeasurement(@Nullable String unitOfMeasurement) { + this.unitOfMeasurement = unitOfMeasurement; + return this; + } + + /** + * Total number of meeting rooms. + */ + public Builder meetingRooms(@Nullable Long meetingRooms) { + this.meetingRooms = meetingRooms; + return this; + } + + public TravelProposalGroupAndMeetingMeetingRoomBasicInformation build() { + return new TravelProposalGroupAndMeetingMeetingRoomBasicInformation( + largestMeetingRoom, unitOfMeasurement, meetingRooms); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelProposalGroupAndMeetingRunOfHouseRate.java b/packages/java/src/main/java/com/cvent/models/components/TravelProposalGroupAndMeetingRunOfHouseRate.java new file mode 100644 index 000000000..91ca1e073 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelProposalGroupAndMeetingRunOfHouseRate.java @@ -0,0 +1,468 @@ +/* + * 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.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * TravelProposalGroupAndMeetingRunOfHouseRate + * + *

Run of house rate information. + */ +public class TravelProposalGroupAndMeetingRunOfHouseRate { + /** + * Season one run of house rate for 10-50 people. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("seasonOne10To50People") + private Double seasonOne10To50People; + + /** + * Season one run of house rate for 51-100 people. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("seasonOne51To100People") + private Double seasonOne51To100People; + + /** + * Season two run of house rate for 10-50 people. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("seasonTwo10To50People") + private Double seasonTwo10To50People; + + /** + * Season two run of house rate for 51-100 people. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("seasonTwo51To100People") + private Double seasonTwo51To100People; + + /** + * Season three run of house rate for 10-50 people. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("seasonThree10To50People") + private Double seasonThree10To50People; + + /** + * Season three run of house rate for 51-100 people. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("seasonThree51To100People") + private Double seasonThree51To100People; + + /** + * Season four run of house rate for 10-50 people. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("seasonFour10To50People") + private Double seasonFour10To50People; + + /** + * Season four run of house rate for 51-100 people. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("seasonFour51To100People") + private Double seasonFour51To100People; + + /** + * Season five run of house rate for 10-50 people. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("seasonFive10To50People") + private Double seasonFive10To50People; + + /** + * Season five run of house rate for 51-100 people. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("seasonFive51To100People") + private Double seasonFive51To100People; + + @JsonCreator + public TravelProposalGroupAndMeetingRunOfHouseRate( + @JsonProperty("seasonOne10To50People") @Nullable Double seasonOne10To50People, + @JsonProperty("seasonOne51To100People") @Nullable Double seasonOne51To100People, + @JsonProperty("seasonTwo10To50People") @Nullable Double seasonTwo10To50People, + @JsonProperty("seasonTwo51To100People") @Nullable Double seasonTwo51To100People, + @JsonProperty("seasonThree10To50People") @Nullable Double seasonThree10To50People, + @JsonProperty("seasonThree51To100People") @Nullable Double seasonThree51To100People, + @JsonProperty("seasonFour10To50People") @Nullable Double seasonFour10To50People, + @JsonProperty("seasonFour51To100People") @Nullable Double seasonFour51To100People, + @JsonProperty("seasonFive10To50People") @Nullable Double seasonFive10To50People, + @JsonProperty("seasonFive51To100People") @Nullable Double seasonFive51To100People) { + this.seasonOne10To50People = seasonOne10To50People; + this.seasonOne51To100People = seasonOne51To100People; + this.seasonTwo10To50People = seasonTwo10To50People; + this.seasonTwo51To100People = seasonTwo51To100People; + this.seasonThree10To50People = seasonThree10To50People; + this.seasonThree51To100People = seasonThree51To100People; + this.seasonFour10To50People = seasonFour10To50People; + this.seasonFour51To100People = seasonFour51To100People; + this.seasonFive10To50People = seasonFive10To50People; + this.seasonFive51To100People = seasonFive51To100People; + } + + public TravelProposalGroupAndMeetingRunOfHouseRate() { + this(null, null, null, null, null, null, null, null, null, null); + } + + /** + * Season one run of house rate for 10-50 people. + */ + public Optional seasonOne10To50People() { + return Optional.ofNullable(this.seasonOne10To50People); + } + + /** + * Season one run of house rate for 51-100 people. + */ + public Optional seasonOne51To100People() { + return Optional.ofNullable(this.seasonOne51To100People); + } + + /** + * Season two run of house rate for 10-50 people. + */ + public Optional seasonTwo10To50People() { + return Optional.ofNullable(this.seasonTwo10To50People); + } + + /** + * Season two run of house rate for 51-100 people. + */ + public Optional seasonTwo51To100People() { + return Optional.ofNullable(this.seasonTwo51To100People); + } + + /** + * Season three run of house rate for 10-50 people. + */ + public Optional seasonThree10To50People() { + return Optional.ofNullable(this.seasonThree10To50People); + } + + /** + * Season three run of house rate for 51-100 people. + */ + public Optional seasonThree51To100People() { + return Optional.ofNullable(this.seasonThree51To100People); + } + + /** + * Season four run of house rate for 10-50 people. + */ + public Optional seasonFour10To50People() { + return Optional.ofNullable(this.seasonFour10To50People); + } + + /** + * Season four run of house rate for 51-100 people. + */ + public Optional seasonFour51To100People() { + return Optional.ofNullable(this.seasonFour51To100People); + } + + /** + * Season five run of house rate for 10-50 people. + */ + public Optional seasonFive10To50People() { + return Optional.ofNullable(this.seasonFive10To50People); + } + + /** + * Season five run of house rate for 51-100 people. + */ + public Optional seasonFive51To100People() { + return Optional.ofNullable(this.seasonFive51To100People); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Season one run of house rate for 10-50 people. + */ + public TravelProposalGroupAndMeetingRunOfHouseRate withSeasonOne10To50People( + @Nullable Double seasonOne10To50People) { + this.seasonOne10To50People = seasonOne10To50People; + return this; + } + + /** + * Season one run of house rate for 51-100 people. + */ + public TravelProposalGroupAndMeetingRunOfHouseRate withSeasonOne51To100People( + @Nullable Double seasonOne51To100People) { + this.seasonOne51To100People = seasonOne51To100People; + return this; + } + + /** + * Season two run of house rate for 10-50 people. + */ + public TravelProposalGroupAndMeetingRunOfHouseRate withSeasonTwo10To50People( + @Nullable Double seasonTwo10To50People) { + this.seasonTwo10To50People = seasonTwo10To50People; + return this; + } + + /** + * Season two run of house rate for 51-100 people. + */ + public TravelProposalGroupAndMeetingRunOfHouseRate withSeasonTwo51To100People( + @Nullable Double seasonTwo51To100People) { + this.seasonTwo51To100People = seasonTwo51To100People; + return this; + } + + /** + * Season three run of house rate for 10-50 people. + */ + public TravelProposalGroupAndMeetingRunOfHouseRate withSeasonThree10To50People( + @Nullable Double seasonThree10To50People) { + this.seasonThree10To50People = seasonThree10To50People; + return this; + } + + /** + * Season three run of house rate for 51-100 people. + */ + public TravelProposalGroupAndMeetingRunOfHouseRate withSeasonThree51To100People( + @Nullable Double seasonThree51To100People) { + this.seasonThree51To100People = seasonThree51To100People; + return this; + } + + /** + * Season four run of house rate for 10-50 people. + */ + public TravelProposalGroupAndMeetingRunOfHouseRate withSeasonFour10To50People( + @Nullable Double seasonFour10To50People) { + this.seasonFour10To50People = seasonFour10To50People; + return this; + } + + /** + * Season four run of house rate for 51-100 people. + */ + public TravelProposalGroupAndMeetingRunOfHouseRate withSeasonFour51To100People( + @Nullable Double seasonFour51To100People) { + this.seasonFour51To100People = seasonFour51To100People; + return this; + } + + /** + * Season five run of house rate for 10-50 people. + */ + public TravelProposalGroupAndMeetingRunOfHouseRate withSeasonFive10To50People( + @Nullable Double seasonFive10To50People) { + this.seasonFive10To50People = seasonFive10To50People; + return this; + } + + /** + * Season five run of house rate for 51-100 people. + */ + public TravelProposalGroupAndMeetingRunOfHouseRate withSeasonFive51To100People( + @Nullable Double seasonFive51To100People) { + this.seasonFive51To100People = seasonFive51To100People; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TravelProposalGroupAndMeetingRunOfHouseRate other = (TravelProposalGroupAndMeetingRunOfHouseRate) o; + return Utils.enhancedDeepEquals(this.seasonOne10To50People, other.seasonOne10To50People) + && Utils.enhancedDeepEquals(this.seasonOne51To100People, other.seasonOne51To100People) + && Utils.enhancedDeepEquals(this.seasonTwo10To50People, other.seasonTwo10To50People) + && Utils.enhancedDeepEquals(this.seasonTwo51To100People, other.seasonTwo51To100People) + && Utils.enhancedDeepEquals(this.seasonThree10To50People, other.seasonThree10To50People) + && Utils.enhancedDeepEquals(this.seasonThree51To100People, other.seasonThree51To100People) + && Utils.enhancedDeepEquals(this.seasonFour10To50People, other.seasonFour10To50People) + && Utils.enhancedDeepEquals(this.seasonFour51To100People, other.seasonFour51To100People) + && Utils.enhancedDeepEquals(this.seasonFive10To50People, other.seasonFive10To50People) + && Utils.enhancedDeepEquals(this.seasonFive51To100People, other.seasonFive51To100People); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + seasonOne10To50People, + seasonOne51To100People, + seasonTwo10To50People, + seasonTwo51To100People, + seasonThree10To50People, + seasonThree51To100People, + seasonFour10To50People, + seasonFour51To100People, + seasonFive10To50People, + seasonFive51To100People); + } + + @Override + public String toString() { + return Utils.toString( + TravelProposalGroupAndMeetingRunOfHouseRate.class, + "seasonOne10To50People", + seasonOne10To50People, + "seasonOne51To100People", + seasonOne51To100People, + "seasonTwo10To50People", + seasonTwo10To50People, + "seasonTwo51To100People", + seasonTwo51To100People, + "seasonThree10To50People", + seasonThree10To50People, + "seasonThree51To100People", + seasonThree51To100People, + "seasonFour10To50People", + seasonFour10To50People, + "seasonFour51To100People", + seasonFour51To100People, + "seasonFive10To50People", + seasonFive10To50People, + "seasonFive51To100People", + seasonFive51To100People); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private Double seasonOne10To50People; + + private Double seasonOne51To100People; + + private Double seasonTwo10To50People; + + private Double seasonTwo51To100People; + + private Double seasonThree10To50People; + + private Double seasonThree51To100People; + + private Double seasonFour10To50People; + + private Double seasonFour51To100People; + + private Double seasonFive10To50People; + + private Double seasonFive51To100People; + + private Builder() { + // force use of static builder() method + } + + /** + * Season one run of house rate for 10-50 people. + */ + public Builder seasonOne10To50People(@Nullable Double seasonOne10To50People) { + this.seasonOne10To50People = seasonOne10To50People; + return this; + } + + /** + * Season one run of house rate for 51-100 people. + */ + public Builder seasonOne51To100People(@Nullable Double seasonOne51To100People) { + this.seasonOne51To100People = seasonOne51To100People; + return this; + } + + /** + * Season two run of house rate for 10-50 people. + */ + public Builder seasonTwo10To50People(@Nullable Double seasonTwo10To50People) { + this.seasonTwo10To50People = seasonTwo10To50People; + return this; + } + + /** + * Season two run of house rate for 51-100 people. + */ + public Builder seasonTwo51To100People(@Nullable Double seasonTwo51To100People) { + this.seasonTwo51To100People = seasonTwo51To100People; + return this; + } + + /** + * Season three run of house rate for 10-50 people. + */ + public Builder seasonThree10To50People(@Nullable Double seasonThree10To50People) { + this.seasonThree10To50People = seasonThree10To50People; + return this; + } + + /** + * Season three run of house rate for 51-100 people. + */ + public Builder seasonThree51To100People(@Nullable Double seasonThree51To100People) { + this.seasonThree51To100People = seasonThree51To100People; + return this; + } + + /** + * Season four run of house rate for 10-50 people. + */ + public Builder seasonFour10To50People(@Nullable Double seasonFour10To50People) { + this.seasonFour10To50People = seasonFour10To50People; + return this; + } + + /** + * Season four run of house rate for 51-100 people. + */ + public Builder seasonFour51To100People(@Nullable Double seasonFour51To100People) { + this.seasonFour51To100People = seasonFour51To100People; + return this; + } + + /** + * Season five run of house rate for 10-50 people. + */ + public Builder seasonFive10To50People(@Nullable Double seasonFive10To50People) { + this.seasonFive10To50People = seasonFive10To50People; + return this; + } + + /** + * Season five run of house rate for 51-100 people. + */ + public Builder seasonFive51To100People(@Nullable Double seasonFive51To100People) { + this.seasonFive51To100People = seasonFive51To100People; + return this; + } + + public TravelProposalGroupAndMeetingRunOfHouseRate build() { + return new TravelProposalGroupAndMeetingRunOfHouseRate( + seasonOne10To50People, + seasonOne51To100People, + seasonTwo10To50People, + seasonTwo51To100People, + seasonThree10To50People, + seasonThree51To100People, + seasonFour10To50People, + seasonFour51To100People, + seasonFive10To50People, + seasonFive51To100People); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelProposalGroupAndMeetingTaxAndServiceCharge.java b/packages/java/src/main/java/com/cvent/models/components/TravelProposalGroupAndMeetingTaxAndServiceCharge.java new file mode 100644 index 000000000..bb20d6a97 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/TravelProposalGroupAndMeetingTaxAndServiceCharge.java @@ -0,0 +1,301 @@ +/* + * 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.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * TravelProposalGroupAndMeetingTaxAndServiceCharge + * + *

Tax and service charge information. + */ +public class TravelProposalGroupAndMeetingTaxAndServiceCharge { + /** + * Tax amount. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("taxAmount") + private Double taxAmount; + + /** + * True indicates the tax amount represents a percentage, instead of a monetary value. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("taxPercent") + private Boolean taxPercent; + + /** + * True indicates the tax included. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("taxIncluded") + private Boolean taxIncluded; + + /** + * Service charge amount. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("serviceChargeAmount") + private Double serviceChargeAmount; + + /** + * True indicates the service charge amount represents a percentage, instead of a monetary value + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("serviceChargePercent") + private Boolean serviceChargePercent; + + /** + * True indicates the service charge is included. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("serviceChargeIncluded") + private Boolean serviceChargeIncluded; + + @JsonCreator + public TravelProposalGroupAndMeetingTaxAndServiceCharge( + @JsonProperty("taxAmount") @Nullable Double taxAmount, + @JsonProperty("taxPercent") @Nullable Boolean taxPercent, + @JsonProperty("taxIncluded") @Nullable Boolean taxIncluded, + @JsonProperty("serviceChargeAmount") @Nullable Double serviceChargeAmount, + @JsonProperty("serviceChargePercent") @Nullable Boolean serviceChargePercent, + @JsonProperty("serviceChargeIncluded") @Nullable Boolean serviceChargeIncluded) { + this.taxAmount = taxAmount; + this.taxPercent = taxPercent; + this.taxIncluded = taxIncluded; + this.serviceChargeAmount = serviceChargeAmount; + this.serviceChargePercent = serviceChargePercent; + this.serviceChargeIncluded = serviceChargeIncluded; + } + + public TravelProposalGroupAndMeetingTaxAndServiceCharge() { + this(null, null, null, null, null, null); + } + + /** + * Tax amount. + */ + public Optional taxAmount() { + return Optional.ofNullable(this.taxAmount); + } + + /** + * True indicates the tax amount represents a percentage, instead of a monetary value. + */ + public Optional taxPercent() { + return Optional.ofNullable(this.taxPercent); + } + + /** + * True indicates the tax included. + */ + public Optional taxIncluded() { + return Optional.ofNullable(this.taxIncluded); + } + + /** + * Service charge amount. + */ + public Optional serviceChargeAmount() { + return Optional.ofNullable(this.serviceChargeAmount); + } + + /** + * True indicates the service charge amount represents a percentage, instead of a monetary value + */ + public Optional serviceChargePercent() { + return Optional.ofNullable(this.serviceChargePercent); + } + + /** + * True indicates the service charge is included. + */ + public Optional serviceChargeIncluded() { + return Optional.ofNullable(this.serviceChargeIncluded); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Tax amount. + */ + public TravelProposalGroupAndMeetingTaxAndServiceCharge withTaxAmount(@Nullable Double taxAmount) { + this.taxAmount = taxAmount; + return this; + } + + /** + * True indicates the tax amount represents a percentage, instead of a monetary value. + */ + public TravelProposalGroupAndMeetingTaxAndServiceCharge withTaxPercent(@Nullable Boolean taxPercent) { + this.taxPercent = taxPercent; + return this; + } + + /** + * True indicates the tax included. + */ + public TravelProposalGroupAndMeetingTaxAndServiceCharge withTaxIncluded(@Nullable Boolean taxIncluded) { + this.taxIncluded = taxIncluded; + return this; + } + + /** + * Service charge amount. + */ + public TravelProposalGroupAndMeetingTaxAndServiceCharge withServiceChargeAmount( + @Nullable Double serviceChargeAmount) { + this.serviceChargeAmount = serviceChargeAmount; + return this; + } + + /** + * True indicates the service charge amount represents a percentage, instead of a monetary value + */ + public TravelProposalGroupAndMeetingTaxAndServiceCharge withServiceChargePercent( + @Nullable Boolean serviceChargePercent) { + this.serviceChargePercent = serviceChargePercent; + return this; + } + + /** + * True indicates the service charge is included. + */ + public TravelProposalGroupAndMeetingTaxAndServiceCharge withServiceChargeIncluded( + @Nullable Boolean serviceChargeIncluded) { + this.serviceChargeIncluded = serviceChargeIncluded; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TravelProposalGroupAndMeetingTaxAndServiceCharge other = (TravelProposalGroupAndMeetingTaxAndServiceCharge) o; + return Utils.enhancedDeepEquals(this.taxAmount, other.taxAmount) + && Utils.enhancedDeepEquals(this.taxPercent, other.taxPercent) + && Utils.enhancedDeepEquals(this.taxIncluded, other.taxIncluded) + && Utils.enhancedDeepEquals(this.serviceChargeAmount, other.serviceChargeAmount) + && Utils.enhancedDeepEquals(this.serviceChargePercent, other.serviceChargePercent) + && Utils.enhancedDeepEquals(this.serviceChargeIncluded, other.serviceChargeIncluded); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + taxAmount, taxPercent, taxIncluded, serviceChargeAmount, serviceChargePercent, serviceChargeIncluded); + } + + @Override + public String toString() { + return Utils.toString( + TravelProposalGroupAndMeetingTaxAndServiceCharge.class, + "taxAmount", + taxAmount, + "taxPercent", + taxPercent, + "taxIncluded", + taxIncluded, + "serviceChargeAmount", + serviceChargeAmount, + "serviceChargePercent", + serviceChargePercent, + "serviceChargeIncluded", + serviceChargeIncluded); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private Double taxAmount; + + private Boolean taxPercent; + + private Boolean taxIncluded; + + private Double serviceChargeAmount; + + private Boolean serviceChargePercent; + + private Boolean serviceChargeIncluded; + + private Builder() { + // force use of static builder() method + } + + /** + * Tax amount. + */ + public Builder taxAmount(@Nullable Double taxAmount) { + this.taxAmount = taxAmount; + return this; + } + + /** + * True indicates the tax amount represents a percentage, instead of a monetary value. + */ + public Builder taxPercent(@Nullable Boolean taxPercent) { + this.taxPercent = taxPercent; + return this; + } + + /** + * True indicates the tax included. + */ + public Builder taxIncluded(@Nullable Boolean taxIncluded) { + this.taxIncluded = taxIncluded; + return this; + } + + /** + * Service charge amount. + */ + public Builder serviceChargeAmount(@Nullable Double serviceChargeAmount) { + this.serviceChargeAmount = serviceChargeAmount; + return this; + } + + /** + * True indicates the service charge amount represents a percentage, instead of a monetary value + */ + public Builder serviceChargePercent(@Nullable Boolean serviceChargePercent) { + this.serviceChargePercent = serviceChargePercent; + return this; + } + + /** + * True indicates the service charge is included. + */ + public Builder serviceChargeIncluded(@Nullable Boolean serviceChargeIncluded) { + this.serviceChargeIncluded = serviceChargeIncluded; + return this; + } + + public TravelProposalGroupAndMeetingTaxAndServiceCharge build() { + return new TravelProposalGroupAndMeetingTaxAndServiceCharge( + taxAmount, + taxPercent, + taxIncluded, + serviceChargeAmount, + serviceChargePercent, + serviceChargeIncluded); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelProposalPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/TravelProposalPaginatedResponse.java index 17ddbe8fc..8f4c79db8 100644 --- a/packages/java/src/main/java/com/cvent/models/components/TravelProposalPaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/TravelProposalPaginatedResponse.java @@ -25,7 +25,7 @@ public class TravelProposalPaginatedResponse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * Paginated list of business transient proposals. @@ -36,7 +36,7 @@ public class TravelProposalPaginatedResponse { @JsonCreator public TravelProposalPaginatedResponse( - @JsonProperty("paging") @Nullable PagingJson paging, + @JsonProperty("paging") @Nullable Paging paging, @JsonProperty("data") @Nullable List data) { this.paging = paging; this.data = data; @@ -49,7 +49,7 @@ public TravelProposalPaginatedResponse() { /** * Represents pagination information for a collection of resources. */ - public Optional paging() { + public Optional paging() { return Optional.ofNullable(this.paging); } @@ -67,7 +67,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public TravelProposalPaginatedResponse withPaging(@Nullable PagingJson paging) { + public TravelProposalPaginatedResponse withPaging(@Nullable Paging paging) { this.paging = paging; return this; } @@ -105,7 +105,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; private List data; @@ -116,7 +116,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nullable PagingJson paging) { + public Builder paging(@Nullable Paging paging) { this.paging = paging; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelRunOfHouseRateJson.java b/packages/java/src/main/java/com/cvent/models/components/TravelRunOfHouseRateJson.java deleted file mode 100644 index a80eca123..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelRunOfHouseRateJson.java +++ /dev/null @@ -1,458 +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.Double; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * TravelRunOfHouseRateJson - * - *

Run of house rate information. - */ -public class TravelRunOfHouseRateJson { - /** - * Season one run of house rate for 10-50 people. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("seasonOne10To50People") - private Double seasonOne10To50People; - - /** - * Season one run of house rate for 51-100 people. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("seasonOne51To100People") - private Double seasonOne51To100People; - - /** - * Season two run of house rate for 10-50 people. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("seasonTwo10To50People") - private Double seasonTwo10To50People; - - /** - * Season two run of house rate for 51-100 people. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("seasonTwo51To100People") - private Double seasonTwo51To100People; - - /** - * Season three run of house rate for 10-50 people. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("seasonThree10To50People") - private Double seasonThree10To50People; - - /** - * Season three run of house rate for 51-100 people. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("seasonThree51To100People") - private Double seasonThree51To100People; - - /** - * Season four run of house rate for 10-50 people. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("seasonFour10To50People") - private Double seasonFour10To50People; - - /** - * Season four run of house rate for 51-100 people. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("seasonFour51To100People") - private Double seasonFour51To100People; - - /** - * Season five run of house rate for 10-50 people. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("seasonFive10To50People") - private Double seasonFive10To50People; - - /** - * Season five run of house rate for 51-100 people. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("seasonFive51To100People") - private Double seasonFive51To100People; - - @JsonCreator - public TravelRunOfHouseRateJson( - @JsonProperty("seasonOne10To50People") @Nullable Double seasonOne10To50People, - @JsonProperty("seasonOne51To100People") @Nullable Double seasonOne51To100People, - @JsonProperty("seasonTwo10To50People") @Nullable Double seasonTwo10To50People, - @JsonProperty("seasonTwo51To100People") @Nullable Double seasonTwo51To100People, - @JsonProperty("seasonThree10To50People") @Nullable Double seasonThree10To50People, - @JsonProperty("seasonThree51To100People") @Nullable Double seasonThree51To100People, - @JsonProperty("seasonFour10To50People") @Nullable Double seasonFour10To50People, - @JsonProperty("seasonFour51To100People") @Nullable Double seasonFour51To100People, - @JsonProperty("seasonFive10To50People") @Nullable Double seasonFive10To50People, - @JsonProperty("seasonFive51To100People") @Nullable Double seasonFive51To100People) { - this.seasonOne10To50People = seasonOne10To50People; - this.seasonOne51To100People = seasonOne51To100People; - this.seasonTwo10To50People = seasonTwo10To50People; - this.seasonTwo51To100People = seasonTwo51To100People; - this.seasonThree10To50People = seasonThree10To50People; - this.seasonThree51To100People = seasonThree51To100People; - this.seasonFour10To50People = seasonFour10To50People; - this.seasonFour51To100People = seasonFour51To100People; - this.seasonFive10To50People = seasonFive10To50People; - this.seasonFive51To100People = seasonFive51To100People; - } - - public TravelRunOfHouseRateJson() { - this(null, null, null, null, null, null, null, null, null, null); - } - - /** - * Season one run of house rate for 10-50 people. - */ - public Optional seasonOne10To50People() { - return Optional.ofNullable(this.seasonOne10To50People); - } - - /** - * Season one run of house rate for 51-100 people. - */ - public Optional seasonOne51To100People() { - return Optional.ofNullable(this.seasonOne51To100People); - } - - /** - * Season two run of house rate for 10-50 people. - */ - public Optional seasonTwo10To50People() { - return Optional.ofNullable(this.seasonTwo10To50People); - } - - /** - * Season two run of house rate for 51-100 people. - */ - public Optional seasonTwo51To100People() { - return Optional.ofNullable(this.seasonTwo51To100People); - } - - /** - * Season three run of house rate for 10-50 people. - */ - public Optional seasonThree10To50People() { - return Optional.ofNullable(this.seasonThree10To50People); - } - - /** - * Season three run of house rate for 51-100 people. - */ - public Optional seasonThree51To100People() { - return Optional.ofNullable(this.seasonThree51To100People); - } - - /** - * Season four run of house rate for 10-50 people. - */ - public Optional seasonFour10To50People() { - return Optional.ofNullable(this.seasonFour10To50People); - } - - /** - * Season four run of house rate for 51-100 people. - */ - public Optional seasonFour51To100People() { - return Optional.ofNullable(this.seasonFour51To100People); - } - - /** - * Season five run of house rate for 10-50 people. - */ - public Optional seasonFive10To50People() { - return Optional.ofNullable(this.seasonFive10To50People); - } - - /** - * Season five run of house rate for 51-100 people. - */ - public Optional seasonFive51To100People() { - return Optional.ofNullable(this.seasonFive51To100People); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Season one run of house rate for 10-50 people. - */ - public TravelRunOfHouseRateJson withSeasonOne10To50People(@Nullable Double seasonOne10To50People) { - this.seasonOne10To50People = seasonOne10To50People; - return this; - } - - /** - * Season one run of house rate for 51-100 people. - */ - public TravelRunOfHouseRateJson withSeasonOne51To100People(@Nullable Double seasonOne51To100People) { - this.seasonOne51To100People = seasonOne51To100People; - return this; - } - - /** - * Season two run of house rate for 10-50 people. - */ - public TravelRunOfHouseRateJson withSeasonTwo10To50People(@Nullable Double seasonTwo10To50People) { - this.seasonTwo10To50People = seasonTwo10To50People; - return this; - } - - /** - * Season two run of house rate for 51-100 people. - */ - public TravelRunOfHouseRateJson withSeasonTwo51To100People(@Nullable Double seasonTwo51To100People) { - this.seasonTwo51To100People = seasonTwo51To100People; - return this; - } - - /** - * Season three run of house rate for 10-50 people. - */ - public TravelRunOfHouseRateJson withSeasonThree10To50People(@Nullable Double seasonThree10To50People) { - this.seasonThree10To50People = seasonThree10To50People; - return this; - } - - /** - * Season three run of house rate for 51-100 people. - */ - public TravelRunOfHouseRateJson withSeasonThree51To100People(@Nullable Double seasonThree51To100People) { - this.seasonThree51To100People = seasonThree51To100People; - return this; - } - - /** - * Season four run of house rate for 10-50 people. - */ - public TravelRunOfHouseRateJson withSeasonFour10To50People(@Nullable Double seasonFour10To50People) { - this.seasonFour10To50People = seasonFour10To50People; - return this; - } - - /** - * Season four run of house rate for 51-100 people. - */ - public TravelRunOfHouseRateJson withSeasonFour51To100People(@Nullable Double seasonFour51To100People) { - this.seasonFour51To100People = seasonFour51To100People; - return this; - } - - /** - * Season five run of house rate for 10-50 people. - */ - public TravelRunOfHouseRateJson withSeasonFive10To50People(@Nullable Double seasonFive10To50People) { - this.seasonFive10To50People = seasonFive10To50People; - return this; - } - - /** - * Season five run of house rate for 51-100 people. - */ - public TravelRunOfHouseRateJson withSeasonFive51To100People(@Nullable Double seasonFive51To100People) { - this.seasonFive51To100People = seasonFive51To100People; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - TravelRunOfHouseRateJson other = (TravelRunOfHouseRateJson) o; - return Utils.enhancedDeepEquals(this.seasonOne10To50People, other.seasonOne10To50People) - && Utils.enhancedDeepEquals(this.seasonOne51To100People, other.seasonOne51To100People) - && Utils.enhancedDeepEquals(this.seasonTwo10To50People, other.seasonTwo10To50People) - && Utils.enhancedDeepEquals(this.seasonTwo51To100People, other.seasonTwo51To100People) - && Utils.enhancedDeepEquals(this.seasonThree10To50People, other.seasonThree10To50People) - && Utils.enhancedDeepEquals(this.seasonThree51To100People, other.seasonThree51To100People) - && Utils.enhancedDeepEquals(this.seasonFour10To50People, other.seasonFour10To50People) - && Utils.enhancedDeepEquals(this.seasonFour51To100People, other.seasonFour51To100People) - && Utils.enhancedDeepEquals(this.seasonFive10To50People, other.seasonFive10To50People) - && Utils.enhancedDeepEquals(this.seasonFive51To100People, other.seasonFive51To100People); - } - - @Override - public int hashCode() { - return Utils.enhancedHash( - seasonOne10To50People, - seasonOne51To100People, - seasonTwo10To50People, - seasonTwo51To100People, - seasonThree10To50People, - seasonThree51To100People, - seasonFour10To50People, - seasonFour51To100People, - seasonFive10To50People, - seasonFive51To100People); - } - - @Override - public String toString() { - return Utils.toString( - TravelRunOfHouseRateJson.class, - "seasonOne10To50People", - seasonOne10To50People, - "seasonOne51To100People", - seasonOne51To100People, - "seasonTwo10To50People", - seasonTwo10To50People, - "seasonTwo51To100People", - seasonTwo51To100People, - "seasonThree10To50People", - seasonThree10To50People, - "seasonThree51To100People", - seasonThree51To100People, - "seasonFour10To50People", - seasonFour10To50People, - "seasonFour51To100People", - seasonFour51To100People, - "seasonFive10To50People", - seasonFive10To50People, - "seasonFive51To100People", - seasonFive51To100People); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private Double seasonOne10To50People; - - private Double seasonOne51To100People; - - private Double seasonTwo10To50People; - - private Double seasonTwo51To100People; - - private Double seasonThree10To50People; - - private Double seasonThree51To100People; - - private Double seasonFour10To50People; - - private Double seasonFour51To100People; - - private Double seasonFive10To50People; - - private Double seasonFive51To100People; - - private Builder() { - // force use of static builder() method - } - - /** - * Season one run of house rate for 10-50 people. - */ - public Builder seasonOne10To50People(@Nullable Double seasonOne10To50People) { - this.seasonOne10To50People = seasonOne10To50People; - return this; - } - - /** - * Season one run of house rate for 51-100 people. - */ - public Builder seasonOne51To100People(@Nullable Double seasonOne51To100People) { - this.seasonOne51To100People = seasonOne51To100People; - return this; - } - - /** - * Season two run of house rate for 10-50 people. - */ - public Builder seasonTwo10To50People(@Nullable Double seasonTwo10To50People) { - this.seasonTwo10To50People = seasonTwo10To50People; - return this; - } - - /** - * Season two run of house rate for 51-100 people. - */ - public Builder seasonTwo51To100People(@Nullable Double seasonTwo51To100People) { - this.seasonTwo51To100People = seasonTwo51To100People; - return this; - } - - /** - * Season three run of house rate for 10-50 people. - */ - public Builder seasonThree10To50People(@Nullable Double seasonThree10To50People) { - this.seasonThree10To50People = seasonThree10To50People; - return this; - } - - /** - * Season three run of house rate for 51-100 people. - */ - public Builder seasonThree51To100People(@Nullable Double seasonThree51To100People) { - this.seasonThree51To100People = seasonThree51To100People; - return this; - } - - /** - * Season four run of house rate for 10-50 people. - */ - public Builder seasonFour10To50People(@Nullable Double seasonFour10To50People) { - this.seasonFour10To50People = seasonFour10To50People; - return this; - } - - /** - * Season four run of house rate for 51-100 people. - */ - public Builder seasonFour51To100People(@Nullable Double seasonFour51To100People) { - this.seasonFour51To100People = seasonFour51To100People; - return this; - } - - /** - * Season five run of house rate for 10-50 people. - */ - public Builder seasonFive10To50People(@Nullable Double seasonFive10To50People) { - this.seasonFive10To50People = seasonFive10To50People; - return this; - } - - /** - * Season five run of house rate for 51-100 people. - */ - public Builder seasonFive51To100People(@Nullable Double seasonFive51To100People) { - this.seasonFive51To100People = seasonFive51To100People; - return this; - } - - public TravelRunOfHouseRateJson build() { - return new TravelRunOfHouseRateJson( - seasonOne10To50People, - seasonOne51To100People, - seasonTwo10To50People, - seasonTwo51To100People, - seasonThree10To50People, - seasonThree51To100People, - seasonFour10To50People, - seasonFour51To100People, - seasonFive10To50People, - seasonFive51To100People); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelTaxAndServiceChargeJson.java b/packages/java/src/main/java/com/cvent/models/components/TravelTaxAndServiceChargeJson.java deleted file mode 100644 index 23a76e63b..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelTaxAndServiceChargeJson.java +++ /dev/null @@ -1,298 +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.Double; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * TravelTaxAndServiceChargeJson - * - *

Tax and service charge information. - */ -public class TravelTaxAndServiceChargeJson { - /** - * Tax amount. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("taxAmount") - private Double taxAmount; - - /** - * True indicates the tax amount represents a percentage, instead of a monetary value. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("taxPercent") - private Boolean taxPercent; - - /** - * True indicates the tax included. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("taxIncluded") - private Boolean taxIncluded; - - /** - * Service charge amount. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("serviceChargeAmount") - private Double serviceChargeAmount; - - /** - * True indicates the service charge amount represents a percentage, instead of a monetary value - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("serviceChargePercent") - private Boolean serviceChargePercent; - - /** - * True indicates the service charge is included. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("serviceChargeIncluded") - private Boolean serviceChargeIncluded; - - @JsonCreator - public TravelTaxAndServiceChargeJson( - @JsonProperty("taxAmount") @Nullable Double taxAmount, - @JsonProperty("taxPercent") @Nullable Boolean taxPercent, - @JsonProperty("taxIncluded") @Nullable Boolean taxIncluded, - @JsonProperty("serviceChargeAmount") @Nullable Double serviceChargeAmount, - @JsonProperty("serviceChargePercent") @Nullable Boolean serviceChargePercent, - @JsonProperty("serviceChargeIncluded") @Nullable Boolean serviceChargeIncluded) { - this.taxAmount = taxAmount; - this.taxPercent = taxPercent; - this.taxIncluded = taxIncluded; - this.serviceChargeAmount = serviceChargeAmount; - this.serviceChargePercent = serviceChargePercent; - this.serviceChargeIncluded = serviceChargeIncluded; - } - - public TravelTaxAndServiceChargeJson() { - this(null, null, null, null, null, null); - } - - /** - * Tax amount. - */ - public Optional taxAmount() { - return Optional.ofNullable(this.taxAmount); - } - - /** - * True indicates the tax amount represents a percentage, instead of a monetary value. - */ - public Optional taxPercent() { - return Optional.ofNullable(this.taxPercent); - } - - /** - * True indicates the tax included. - */ - public Optional taxIncluded() { - return Optional.ofNullable(this.taxIncluded); - } - - /** - * Service charge amount. - */ - public Optional serviceChargeAmount() { - return Optional.ofNullable(this.serviceChargeAmount); - } - - /** - * True indicates the service charge amount represents a percentage, instead of a monetary value - */ - public Optional serviceChargePercent() { - return Optional.ofNullable(this.serviceChargePercent); - } - - /** - * True indicates the service charge is included. - */ - public Optional serviceChargeIncluded() { - return Optional.ofNullable(this.serviceChargeIncluded); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Tax amount. - */ - public TravelTaxAndServiceChargeJson withTaxAmount(@Nullable Double taxAmount) { - this.taxAmount = taxAmount; - return this; - } - - /** - * True indicates the tax amount represents a percentage, instead of a monetary value. - */ - public TravelTaxAndServiceChargeJson withTaxPercent(@Nullable Boolean taxPercent) { - this.taxPercent = taxPercent; - return this; - } - - /** - * True indicates the tax included. - */ - public TravelTaxAndServiceChargeJson withTaxIncluded(@Nullable Boolean taxIncluded) { - this.taxIncluded = taxIncluded; - return this; - } - - /** - * Service charge amount. - */ - public TravelTaxAndServiceChargeJson withServiceChargeAmount(@Nullable Double serviceChargeAmount) { - this.serviceChargeAmount = serviceChargeAmount; - return this; - } - - /** - * True indicates the service charge amount represents a percentage, instead of a monetary value - */ - public TravelTaxAndServiceChargeJson withServiceChargePercent(@Nullable Boolean serviceChargePercent) { - this.serviceChargePercent = serviceChargePercent; - return this; - } - - /** - * True indicates the service charge is included. - */ - public TravelTaxAndServiceChargeJson withServiceChargeIncluded(@Nullable Boolean serviceChargeIncluded) { - this.serviceChargeIncluded = serviceChargeIncluded; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - TravelTaxAndServiceChargeJson other = (TravelTaxAndServiceChargeJson) o; - return Utils.enhancedDeepEquals(this.taxAmount, other.taxAmount) - && Utils.enhancedDeepEquals(this.taxPercent, other.taxPercent) - && Utils.enhancedDeepEquals(this.taxIncluded, other.taxIncluded) - && Utils.enhancedDeepEquals(this.serviceChargeAmount, other.serviceChargeAmount) - && Utils.enhancedDeepEquals(this.serviceChargePercent, other.serviceChargePercent) - && Utils.enhancedDeepEquals(this.serviceChargeIncluded, other.serviceChargeIncluded); - } - - @Override - public int hashCode() { - return Utils.enhancedHash( - taxAmount, taxPercent, taxIncluded, serviceChargeAmount, serviceChargePercent, serviceChargeIncluded); - } - - @Override - public String toString() { - return Utils.toString( - TravelTaxAndServiceChargeJson.class, - "taxAmount", - taxAmount, - "taxPercent", - taxPercent, - "taxIncluded", - taxIncluded, - "serviceChargeAmount", - serviceChargeAmount, - "serviceChargePercent", - serviceChargePercent, - "serviceChargeIncluded", - serviceChargeIncluded); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private Double taxAmount; - - private Boolean taxPercent; - - private Boolean taxIncluded; - - private Double serviceChargeAmount; - - private Boolean serviceChargePercent; - - private Boolean serviceChargeIncluded; - - private Builder() { - // force use of static builder() method - } - - /** - * Tax amount. - */ - public Builder taxAmount(@Nullable Double taxAmount) { - this.taxAmount = taxAmount; - return this; - } - - /** - * True indicates the tax amount represents a percentage, instead of a monetary value. - */ - public Builder taxPercent(@Nullable Boolean taxPercent) { - this.taxPercent = taxPercent; - return this; - } - - /** - * True indicates the tax included. - */ - public Builder taxIncluded(@Nullable Boolean taxIncluded) { - this.taxIncluded = taxIncluded; - return this; - } - - /** - * Service charge amount. - */ - public Builder serviceChargeAmount(@Nullable Double serviceChargeAmount) { - this.serviceChargeAmount = serviceChargeAmount; - return this; - } - - /** - * True indicates the service charge amount represents a percentage, instead of a monetary value - */ - public Builder serviceChargePercent(@Nullable Boolean serviceChargePercent) { - this.serviceChargePercent = serviceChargePercent; - return this; - } - - /** - * True indicates the service charge is included. - */ - public Builder serviceChargeIncluded(@Nullable Boolean serviceChargeIncluded) { - this.serviceChargeIncluded = serviceChargeIncluded; - return this; - } - - public TravelTaxAndServiceChargeJson build() { - return new TravelTaxAndServiceChargeJson( - taxAmount, - taxPercent, - taxIncluded, - serviceChargeAmount, - serviceChargePercent, - serviceChargeIncluded); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/UnitPosition.java b/packages/java/src/main/java/com/cvent/models/components/UnitPosition.java new file mode 100644 index 000000000..71654bc6a --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/UnitPosition.java @@ -0,0 +1,39 @@ +/* + * 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; + +/** + * UnitPosition + * + *

Unit position used for text box question type. + */ +public enum UnitPosition { + LEFT("Left"), + RIGHT("Right"); + + @JsonValue + private final String value; + + UnitPosition(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (UnitPosition o : UnitPosition.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/UnitPositionJson.java b/packages/java/src/main/java/com/cvent/models/components/UnitPositionJson.java deleted file mode 100644 index abae1015d..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/UnitPositionJson.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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; - -/** - * UnitPositionJson - * - *

Unit position used for text box question type. - */ -public enum UnitPositionJson { - LEFT("Left"), - RIGHT("Right"); - - @JsonValue - private final String value; - - UnitPositionJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (UnitPositionJson o : UnitPositionJson.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/UpdatedThroughNameProperty.java b/packages/java/src/main/java/com/cvent/models/components/UpdatedThroughNameProperty.java new file mode 100644 index 000000000..d769e19ba --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/UpdatedThroughNameProperty.java @@ -0,0 +1,126 @@ +/* + * 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; + +/** + * UpdatedThroughNameProperty + * + *

Name of the place where this change was updated through. + */ +public enum UpdatedThroughNameProperty { + ABSTRACT_GUEST_SIDE_AUTHOR_UPDATE("Abstract Guest Side Author Update"), + ABSTRACT_GUEST_SIDE_REVIEWER_UPDATE("Abstract Guest Side Reviewer Update"), + ABSTRACT_GUEST_SIDE_USER("Abstract Guest Side User"), + ABSTRACT_PLANNER_SIDE("Abstract Planner side"), + ADDRESS_BOOK_PROFILE("Address Book Profile"), + AMEX_CARD_DELETE("Amex Card Delete"), + AMEX_CARD_INSERT("Amex Card Insert"), + AMEX_CARD_UPDATE("Amex Card Update"), + ANSWERS_REPLACED_FROM_ADMINISTRATION("Answers Replaced from Administration"), + APPOINTMENT_GUEST_SIDE("Appointment Guest Side"), + ATTENDEE_HUB("Attendee Hub"), + BUDGET_ALLOCATION_UPDATE("Budget Allocation Update"), + BUDGET_ATTENDEE_UPDATE("Budget Attendee Update"), + BUDGET_ITEM_CUSTOM_FIELD_ANSWERS_REPLACED_FROM_ADMINISTRATION( + "Budget Item Custom Field Answers Replaced from Administration"), + BUDGET_ITEM_DELETE("Budget Item Delete"), + BUDGET_ITEM_DUPLICATE("Budget Item Duplicate"), + BUDGET_ITEM_IMPORT("Budget Item Import"), + BUDGET_ITEM_INSERT_VIA_RESTAPI("Budget Item Insert via REST API"), + BUDGET_ITEM_INSERT("Budget Item Insert"), + BUDGET_ITEM_SINGLE_UPDATE("Budget Item Single Update"), + BUDGET_ITEM_TEMPLATE_IMPORT("Budget Item Template Import"), + BUDGET_ITEM_UPDATE_VIA_RESTAPI("Budget Item Update via REST API"), + BUDGET_ITEMS_BULK_ASSIGN_VENDOR("Budget Items Bulk Assign Vendor"), + BUDGET_ITEMS_BULK_COPY_COST_LABEL("Budget Items Bulk Copy Cost label"), + BUDGET_ITEMS_BULK_COPY("Budget Items Bulk Copy"), + BUDGET_ITEMS_BULK_DELETE("Budget Items Bulk Delete"), + BUDGET_ITEMS_BULK_UPDATE("Budget Items Bulk Update"), + BUDGET_VERSION_UPDATE("Budget Version Update"), + BULK_UPDATE_CONTACT_FIELD_ANSWER("Bulk Update Contact Field Answer"), + CONCUR_RECONCILIATION_CREATE_NEW_BUDGET_ITEM_FOR_EACH_EXPENSE( + "Concur Reconciliation - Create New Budget Item For Each Expense"), + CONCUR_RECONCILIATION_MAP_TO_EXISTING_BUDGET_ITEM("Concur Reconciliation - Map to Existing Budget Item"), + CONFIRM_OPT_IN_EMAIL("Confirm Opt In Email"), + CONTACT_IMPORT("Contact Import"), + CONTACT_NEW_MEMBERSHIP("Contact New Membership"), + CONTACT_PENDING_OBFUSCATION("Contact Pending Obfuscation"), + CONTACT_WEBSITE_PROFILE_UPDATE("Contact Website Profile Update"), + CREATED_WITHIN_MEETING_REQUEST("Created Within Meeting Request"), + CREATED_FROM_API("Created from API"), + CREATED_FROM_REQUEST_WEBSITE("Created from Request Website"), + CROWD_COMPASS_PROFILE_UPDATE("Crowd Compass Profile Update"), + CUSTOM_FIELD_ADDED_FROM_ADMIN("Custom Field Added From Admin"), + CUSTOM_FIELD_ADDED_VIA_RESTAPI("Custom Field Added via REST API"), + CUSTOM_FIELD_DELETED_FROM_ADMIN("Custom Field Deleted From Admin"), + CUSTOM_FIELD_MODIFIED_FROM_ADMIN("Custom Field Modified From Admin"), + CUSTOM_FIELD_MODIFIED_VIA_RESTAPI("Custom Field Modified via REST API"), + DELETED_WITHIN_ADMINISTRATION("Deleted Within Administration"), + DELETED_FROM_MEETING_REQUEST_FORM("Deleted from Meeting Request Form"), + DELETED_FROM_REQUEST_WEBSITE("Deleted from Request Website"), + DELETED_WITHIN_MEETING_REQUEST("Deleted within Meeting Request"), + EVENT_AUTOMATICALLY_CREATED_FROM_MEETING_REQUEST("Event Automatically Created from Meeting Request"), + EVENT_CREATED_FROM_API("Event Created from API"), + EVENT_CREATED_FROM_EVENT_WIZARD("Event Created from Event Wizard"), + EVENT_GUEST_SIDE_MODIFICATION("Event Guest Side Modification"), + EVENT_GUEST_SIDE_REGISTRATION("Event Guest Side Registration"), + EVENT_IMPORT("Event Import"), + EVENT_MODIFIED_FROM_MEETING_REQUEST_VIA_API("Event Modified from Meeting Request via API"), + EVENT_MODIFIED_FROM_MEETING_REQUEST("Event Modified from Meeting Request"), + EVENT_ONSITE_REGISTRATION("Event Onsite Registration"), + EVENT_POST("Event POST"), + EVENT_PLANNER_CONTACT_INFORMATION_UPDATE("Event Planner Contact Information Update"), + EVENT_PLANNER_SIDE_MODIFICATION("Event Planner Side Modification"), + EVENT_PLANNER_SIDE_REGISTRATION("Event Planner Side Registration"), + HOTEL_REQUEST_IMPORT("Hotel Request Import"), + MARKETO_CONTACT_IMPORT("Marketo Contact Import"), + MODIFIED_WITHIN_EVENT("Modified Within Event"), + MODIFIED_WITHIN_MEETING_REQUEST("Modified Within Meeting Request"), + MODIFIED_FROM_API("Modified from API"), + MODIFIED_FROM_EVENT_DOCUMENTS("Modified from Event Documents"), + MODIFIED_FROM_MEETING_REQUEST_VIA_NOTIFICATION("Modified from Meeting Request via Notification"), + MODIFIED_FROM_REQUEST_WEBSITE("Modified from Request Website"), + REGISTRATION_IMPORT("Registration Import"), + REST_API("REST API"), + SALESFORCE_INTEGRATION("Salesforce Integration"), + SURVEY_AUTHOR_MODIFICATION("Survey Author Modification"), + SURVEY_AUTHOR_RESPONSE("Survey Author Response"), + SURVEY_GUEST_SIDE_MODIFICATION("Survey Guest Side Modification"), + SURVEY_GUEST_SIDE_RESPONSE("Survey Guest Side Response"), + SURVEY_POST("Survey POST"), + TRAVEL_COST_IMPORT_MAP_TO_EXISTING_BUDGET_ITEM("Travel Cost Import - Map to Existing Budget item"), + TRAVEL_COST_IMPORT_MAP_TO_NEW_BUDGET_ITEM("Travel Cost Import - Map to New Budget Item"), + VCN_TRANSACTION_CREATE_NEW_BUDGET_ITEM_FOR_EACH_TRANSACTION( + "VCN Transaction - Create New Budget Item For Each Transaction"), + VCN_TRANSACTION_MAP_TO_MULTIPLE_BUDGET_ITEM("VCN Transaction - Map to Multiple Budget Item"), + VCN_TRANSACTION_MAP_TO_SINGLE_BUDGET_ITEM("VCN Transaction - Map to Single Budget Item"), + VCN_TRANSACTION_REMOVED_FROM_BUDGET_ITEM("VCN Transaction - Removed from Budget Item"), + WEB_SERVICES("Web Services"), + E_MARKETING_PROFILE_UPDATE("eMarketing Profile Update"); + + @JsonValue + private final String value; + + UpdatedThroughNameProperty(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (UpdatedThroughNameProperty o : UpdatedThroughNameProperty.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/UpdatedThroughNamePropertyJson.java b/packages/java/src/main/java/com/cvent/models/components/UpdatedThroughNamePropertyJson.java deleted file mode 100644 index 01647c5d4..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/UpdatedThroughNamePropertyJson.java +++ /dev/null @@ -1,126 +0,0 @@ -/* - * 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; - -/** - * UpdatedThroughNamePropertyJson - * - *

Name of the place where this change was updated through. - */ -public enum UpdatedThroughNamePropertyJson { - ABSTRACT_GUEST_SIDE_AUTHOR_UPDATE("Abstract Guest Side Author Update"), - ABSTRACT_GUEST_SIDE_REVIEWER_UPDATE("Abstract Guest Side Reviewer Update"), - ABSTRACT_GUEST_SIDE_USER("Abstract Guest Side User"), - ABSTRACT_PLANNER_SIDE("Abstract Planner side"), - ADDRESS_BOOK_PROFILE("Address Book Profile"), - AMEX_CARD_DELETE("Amex Card Delete"), - AMEX_CARD_INSERT("Amex Card Insert"), - AMEX_CARD_UPDATE("Amex Card Update"), - ANSWERS_REPLACED_FROM_ADMINISTRATION("Answers Replaced from Administration"), - APPOINTMENT_GUEST_SIDE("Appointment Guest Side"), - ATTENDEE_HUB("Attendee Hub"), - BUDGET_ALLOCATION_UPDATE("Budget Allocation Update"), - BUDGET_ATTENDEE_UPDATE("Budget Attendee Update"), - BUDGET_ITEM_CUSTOM_FIELD_ANSWERS_REPLACED_FROM_ADMINISTRATION( - "Budget Item Custom Field Answers Replaced from Administration"), - BUDGET_ITEM_DELETE("Budget Item Delete"), - BUDGET_ITEM_DUPLICATE("Budget Item Duplicate"), - BUDGET_ITEM_IMPORT("Budget Item Import"), - BUDGET_ITEM_INSERT_VIA_RESTAPI("Budget Item Insert via REST API"), - BUDGET_ITEM_INSERT("Budget Item Insert"), - BUDGET_ITEM_SINGLE_UPDATE("Budget Item Single Update"), - BUDGET_ITEM_TEMPLATE_IMPORT("Budget Item Template Import"), - BUDGET_ITEM_UPDATE_VIA_RESTAPI("Budget Item Update via REST API"), - BUDGET_ITEMS_BULK_ASSIGN_VENDOR("Budget Items Bulk Assign Vendor"), - BUDGET_ITEMS_BULK_COPY_COST_LABEL("Budget Items Bulk Copy Cost label"), - BUDGET_ITEMS_BULK_COPY("Budget Items Bulk Copy"), - BUDGET_ITEMS_BULK_DELETE("Budget Items Bulk Delete"), - BUDGET_ITEMS_BULK_UPDATE("Budget Items Bulk Update"), - BUDGET_VERSION_UPDATE("Budget Version Update"), - BULK_UPDATE_CONTACT_FIELD_ANSWER("Bulk Update Contact Field Answer"), - CONCUR_RECONCILIATION_CREATE_NEW_BUDGET_ITEM_FOR_EACH_EXPENSE( - "Concur Reconciliation - Create New Budget Item For Each Expense"), - CONCUR_RECONCILIATION_MAP_TO_EXISTING_BUDGET_ITEM("Concur Reconciliation - Map to Existing Budget Item"), - CONFIRM_OPT_IN_EMAIL("Confirm Opt In Email"), - CONTACT_IMPORT("Contact Import"), - CONTACT_NEW_MEMBERSHIP("Contact New Membership"), - CONTACT_PENDING_OBFUSCATION("Contact Pending Obfuscation"), - CONTACT_WEBSITE_PROFILE_UPDATE("Contact Website Profile Update"), - CREATED_WITHIN_MEETING_REQUEST("Created Within Meeting Request"), - CREATED_FROM_API("Created from API"), - CREATED_FROM_REQUEST_WEBSITE("Created from Request Website"), - CROWD_COMPASS_PROFILE_UPDATE("Crowd Compass Profile Update"), - CUSTOM_FIELD_ADDED_FROM_ADMIN("Custom Field Added From Admin"), - CUSTOM_FIELD_ADDED_VIA_RESTAPI("Custom Field Added via REST API"), - CUSTOM_FIELD_DELETED_FROM_ADMIN("Custom Field Deleted From Admin"), - CUSTOM_FIELD_MODIFIED_FROM_ADMIN("Custom Field Modified From Admin"), - CUSTOM_FIELD_MODIFIED_VIA_RESTAPI("Custom Field Modified via REST API"), - DELETED_WITHIN_ADMINISTRATION("Deleted Within Administration"), - DELETED_FROM_MEETING_REQUEST_FORM("Deleted from Meeting Request Form"), - DELETED_FROM_REQUEST_WEBSITE("Deleted from Request Website"), - DELETED_WITHIN_MEETING_REQUEST("Deleted within Meeting Request"), - EVENT_AUTOMATICALLY_CREATED_FROM_MEETING_REQUEST("Event Automatically Created from Meeting Request"), - EVENT_CREATED_FROM_API("Event Created from API"), - EVENT_CREATED_FROM_EVENT_WIZARD("Event Created from Event Wizard"), - EVENT_GUEST_SIDE_MODIFICATION("Event Guest Side Modification"), - EVENT_GUEST_SIDE_REGISTRATION("Event Guest Side Registration"), - EVENT_IMPORT("Event Import"), - EVENT_MODIFIED_FROM_MEETING_REQUEST_VIA_API("Event Modified from Meeting Request via API"), - EVENT_MODIFIED_FROM_MEETING_REQUEST("Event Modified from Meeting Request"), - EVENT_ONSITE_REGISTRATION("Event Onsite Registration"), - EVENT_POST("Event POST"), - EVENT_PLANNER_CONTACT_INFORMATION_UPDATE("Event Planner Contact Information Update"), - EVENT_PLANNER_SIDE_MODIFICATION("Event Planner Side Modification"), - EVENT_PLANNER_SIDE_REGISTRATION("Event Planner Side Registration"), - HOTEL_REQUEST_IMPORT("Hotel Request Import"), - MARKETO_CONTACT_IMPORT("Marketo Contact Import"), - MODIFIED_WITHIN_EVENT("Modified Within Event"), - MODIFIED_WITHIN_MEETING_REQUEST("Modified Within Meeting Request"), - MODIFIED_FROM_API("Modified from API"), - MODIFIED_FROM_EVENT_DOCUMENTS("Modified from Event Documents"), - MODIFIED_FROM_MEETING_REQUEST_VIA_NOTIFICATION("Modified from Meeting Request via Notification"), - MODIFIED_FROM_REQUEST_WEBSITE("Modified from Request Website"), - REGISTRATION_IMPORT("Registration Import"), - REST_API("REST API"), - SALESFORCE_INTEGRATION("Salesforce Integration"), - SURVEY_AUTHOR_MODIFICATION("Survey Author Modification"), - SURVEY_AUTHOR_RESPONSE("Survey Author Response"), - SURVEY_GUEST_SIDE_MODIFICATION("Survey Guest Side Modification"), - SURVEY_GUEST_SIDE_RESPONSE("Survey Guest Side Response"), - SURVEY_POST("Survey POST"), - TRAVEL_COST_IMPORT_MAP_TO_EXISTING_BUDGET_ITEM("Travel Cost Import - Map to Existing Budget item"), - TRAVEL_COST_IMPORT_MAP_TO_NEW_BUDGET_ITEM("Travel Cost Import - Map to New Budget Item"), - VCN_TRANSACTION_CREATE_NEW_BUDGET_ITEM_FOR_EACH_TRANSACTION( - "VCN Transaction - Create New Budget Item For Each Transaction"), - VCN_TRANSACTION_MAP_TO_MULTIPLE_BUDGET_ITEM("VCN Transaction - Map to Multiple Budget Item"), - VCN_TRANSACTION_MAP_TO_SINGLE_BUDGET_ITEM("VCN Transaction - Map to Single Budget Item"), - VCN_TRANSACTION_REMOVED_FROM_BUDGET_ITEM("VCN Transaction - Removed from Budget Item"), - WEB_SERVICES("Web Services"), - E_MARKETING_PROFILE_UPDATE("eMarketing Profile Update"); - - @JsonValue - private final String value; - - UpdatedThroughNamePropertyJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (UpdatedThroughNamePropertyJson o : UpdatedThroughNamePropertyJson.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/User.java b/packages/java/src/main/java/com/cvent/models/components/User.java index cc812948b..accb79d3a 100644 --- a/packages/java/src/main/java/com/cvent/models/components/User.java +++ b/packages/java/src/main/java/com/cvent/models/components/User.java @@ -90,7 +90,7 @@ public class User { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("addresses") - private List addresses; + private List addresses; /** * The type of the user. @@ -140,7 +140,7 @@ public User( @JsonProperty("emails") @Nonnull List emails, @JsonProperty("title") @Nullable String title, @JsonProperty("phoneNumbers") @Nullable List phoneNumbers, - @JsonProperty("addresses") @Nullable List addresses, + @JsonProperty("addresses") @Nullable List addresses, @JsonProperty("userType") @Nonnull UserTypeJson userType, @JsonProperty("timezone") @Nullable String timezone, @JsonProperty("locale") @Nonnull String locale, @@ -264,7 +264,7 @@ public Optional> phoneNumbers() { *

One address is selected based on the following sequence of criteria: primary, work type, first in * the sequence */ - public Optional> addresses() { + public Optional> addresses() { return Optional.ofNullable(this.addresses); } @@ -389,7 +389,7 @@ public User withPhoneNumbers(@Nullable List phoneNumbers) { *

One address is selected based on the following sequence of criteria: primary, work type, first in * the sequence */ - public User withAddresses(@Nullable List addresses) { + public User withAddresses(@Nullable List addresses) { this.addresses = addresses; return this; } @@ -547,7 +547,7 @@ public static final class Builder { private List phoneNumbers; - private List addresses; + private List addresses; private UserTypeJson userType; @@ -640,7 +640,7 @@ public Builder phoneNumbers(@Nullable List phoneNumbers) { *

One address is selected based on the following sequence of criteria: primary, work type, first in * the sequence */ - public Builder addresses(@Nullable List addresses) { + public Builder addresses(@Nullable List addresses) { this.addresses = addresses; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/UserInput.java b/packages/java/src/main/java/com/cvent/models/components/UserInput.java index a93633931..74990671c 100644 --- a/packages/java/src/main/java/com/cvent/models/components/UserInput.java +++ b/packages/java/src/main/java/com/cvent/models/components/UserInput.java @@ -76,7 +76,7 @@ public class UserInput { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("addresses") - private List addresses; + private List addresses; /** * The type of the user. @@ -117,7 +117,7 @@ public UserInput( @JsonProperty("emails") @Nonnull List emails, @JsonProperty("title") @Nullable String title, @JsonProperty("phoneNumbers") @Nullable List phoneNumbers, - @JsonProperty("addresses") @Nullable List addresses, + @JsonProperty("addresses") @Nullable List addresses, @JsonProperty("userType") @Nonnull UserTypeJson userType, @JsonProperty("timezone") @Nullable String timezone, @JsonProperty("locale") @Nonnull String locale, @@ -220,7 +220,7 @@ public Optional> phoneNumbers() { *

One address is selected based on the following sequence of criteria: primary, work type, first in * the sequence */ - public Optional> addresses() { + public Optional> addresses() { return Optional.ofNullable(this.addresses); } @@ -322,7 +322,7 @@ public UserInput withPhoneNumbers(@Nullable List phoneNumbers) *

One address is selected based on the following sequence of criteria: primary, work type, first in * the sequence */ - public UserInput withAddresses(@Nullable List addresses) { + public UserInput withAddresses(@Nullable List addresses) { this.addresses = addresses; return this; } @@ -456,7 +456,7 @@ public static final class Builder { private List phoneNumbers; - private List addresses; + private List addresses; private UserTypeJson userType; @@ -531,7 +531,7 @@ public Builder phoneNumbers(@Nullable List phoneNumbers) { *

One address is selected based on the following sequence of criteria: primary, work type, first in * the sequence */ - public Builder addresses(@Nullable List addresses) { + public Builder addresses(@Nullable List addresses) { this.addresses = addresses; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/UserJson.java b/packages/java/src/main/java/com/cvent/models/components/UserJson.java index 0d2bac5db..07db5da41 100644 --- a/packages/java/src/main/java/com/cvent/models/components/UserJson.java +++ b/packages/java/src/main/java/com/cvent/models/components/UserJson.java @@ -90,7 +90,7 @@ public class UserJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("addresses") - private List addresses; + private List addresses; /** * The type of the user. @@ -140,7 +140,7 @@ public UserJson( @JsonProperty("emails") @Nonnull List emails, @JsonProperty("title") @Nullable String title, @JsonProperty("phoneNumbers") @Nullable List phoneNumbers, - @JsonProperty("addresses") @Nullable List addresses, + @JsonProperty("addresses") @Nullable List addresses, @JsonProperty("userType") @Nonnull UserTypeJson userType, @JsonProperty("timezone") @Nullable String timezone, @JsonProperty("locale") @Nonnull String locale, @@ -264,7 +264,7 @@ public Optional> phoneNumbers() { *

One address is selected based on the following sequence of criteria: primary, work type, first in * the sequence */ - public Optional> addresses() { + public Optional> addresses() { return Optional.ofNullable(this.addresses); } @@ -389,7 +389,7 @@ public UserJson withPhoneNumbers(@Nullable List phoneNumbers) *

One address is selected based on the following sequence of criteria: primary, work type, first in * the sequence */ - public UserJson withAddresses(@Nullable List addresses) { + public UserJson withAddresses(@Nullable List addresses) { this.addresses = addresses; return this; } @@ -547,7 +547,7 @@ public static final class Builder { private List phoneNumbers; - private List addresses; + private List addresses; private UserTypeJson userType; @@ -640,7 +640,7 @@ public Builder phoneNumbers(@Nullable List phoneNumbers) { *

One address is selected based on the following sequence of criteria: primary, work type, first in * the sequence */ - public Builder addresses(@Nullable List addresses) { + public Builder addresses(@Nullable List addresses) { this.addresses = addresses; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/VenueSummary.java b/packages/java/src/main/java/com/cvent/models/components/VenueSummary.java index a7fe107d4..ac8bc769e 100644 --- a/packages/java/src/main/java/com/cvent/models/components/VenueSummary.java +++ b/packages/java/src/main/java/com/cvent/models/components/VenueSummary.java @@ -27,7 +27,7 @@ public class VenueSummary implements Supplier { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("type") - private SupplierTypeJson1 type; + private SupplierTypeJson type; /** * The unique ID of the venue. @@ -45,7 +45,7 @@ public class VenueSummary implements Supplier { @JsonCreator public VenueSummary( - @JsonProperty("type") @Nullable SupplierTypeJson1 type, + @JsonProperty("type") @Nullable SupplierTypeJson type, @JsonProperty("id") @Nullable String id, @JsonProperty("name") @Nullable String name) { this.type = Optional.ofNullable(type).orElse(Builder._SINGLETON_VALUE_Type.value()); @@ -88,7 +88,7 @@ public static Builder builder() { * The supplier's type. VENUE: A hotel, convention and visitors bureau (CVB), or other location for an * event. */ - public VenueSummary withType(@Nullable SupplierTypeJson1 type) { + public VenueSummary withType(@Nullable SupplierTypeJson type) { this.type = type; return this; } @@ -136,7 +136,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private SupplierTypeJson1 type; + private SupplierTypeJson type; private String id; @@ -150,7 +150,7 @@ private Builder() { * The supplier's type. VENUE: A hotel, convention and visitors bureau (CVB), or other location for an * event. */ - public Builder type(@Nullable SupplierTypeJson1 type) { + public Builder type(@Nullable SupplierTypeJson type) { this.type = type; return this; } @@ -175,7 +175,7 @@ public VenueSummary build() { return new VenueSummary(type, id, name); } - private static final LazySingletonValue _SINGLETON_VALUE_Type = - new LazySingletonValue<>("type", "\"VENUE\"", new TypeReference() {}); + private static final LazySingletonValue _SINGLETON_VALUE_Type = + new LazySingletonValue<>("type", "\"VENUE\"", new TypeReference() {}); } } diff --git a/packages/java/src/main/java/com/cvent/models/components/Video1.java b/packages/java/src/main/java/com/cvent/models/components/Video1.java new file mode 100644 index 000000000..e846b60f4 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Video1.java @@ -0,0 +1,100 @@ +/* + * 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; + +/** + * Video1 + * + *

The details of a video + */ +public class Video1 { + /** + * The unique ID of the video. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + @JsonCreator + public Video1(@JsonProperty("id") @Nullable String id) { + this.id = id; + } + + public Video1() { + this(null); + } + + /** + * The unique ID of the video. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The unique ID of the video. + */ + public Video1 withId(@Nullable String id) { + this.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; + } + Video1 other = (Video1) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(Video1.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique ID of the video. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + public Video1 build() { + return new Video1(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VideoAssetID.java b/packages/java/src/main/java/com/cvent/models/components/VideoAssetID.java new file mode 100644 index 000000000..8bcac8aba --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VideoAssetID.java @@ -0,0 +1,93 @@ +/* + * 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; + +/** + * VideoAssetID + * + *

Video that this asset was created with. + */ +public class VideoAssetID { + /** + * The identifier of a video. + */ + @JsonProperty("id") + private String id; + + @JsonCreator + public VideoAssetID(@JsonProperty("id") @Nonnull String id) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + } + + /** + * The identifier of a video. + */ + public String id() { + return this.id; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The identifier of a video. + */ + public VideoAssetID 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; + } + VideoAssetID other = (VideoAssetID) o; + return Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id); + } + + @Override + public String toString() { + return Utils.toString(VideoAssetID.class, "id", id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * The identifier of a video. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + public VideoAssetID build() { + return new VideoAssetID(id); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VideoAssetIdJson.java b/packages/java/src/main/java/com/cvent/models/components/VideoAssetIdJson.java deleted file mode 100644 index a8a7f4de4..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/VideoAssetIdJson.java +++ /dev/null @@ -1,93 +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.Optional; - -/** - * VideoAssetIdJson - * - *

Video that this asset was created with. - */ -public class VideoAssetIdJson { - /** - * The identifier of a video. - */ - @JsonProperty("id") - private String id; - - @JsonCreator - public VideoAssetIdJson(@JsonProperty("id") @Nonnull String id) { - this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); - } - - /** - * The identifier of a video. - */ - public String id() { - return this.id; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The identifier of a video. - */ - public VideoAssetIdJson 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; - } - VideoAssetIdJson other = (VideoAssetIdJson) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(VideoAssetIdJson.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * The identifier of a video. - */ - public Builder id(@Nonnull String id) { - this.id = Utils.checkNotNull(id, "id"); - return this; - } - - public VideoAssetIdJson build() { - return new VideoAssetIdJson(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/VideoClip.java b/packages/java/src/main/java/com/cvent/models/components/VideoClip.java new file mode 100644 index 000000000..b83246ad3 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VideoClip.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.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; + +/** + * VideoClip + * + *

Video clip details. + */ +public class VideoClip { + /** + * The timecode to start the clip in HH:MM:SS:FF format + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("start") + private String start; + + /** + * The timecode to end the clip in HH:MM:SS:FF format. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("end") + private String end; + + @JsonCreator + public VideoClip(@JsonProperty("start") @Nullable String start, @JsonProperty("end") @Nullable String end) { + this.start = start; + this.end = end; + } + + public VideoClip() { + this(null, null); + } + + /** + * The timecode to start the clip in HH:MM:SS:FF format + */ + public Optional start() { + return Optional.ofNullable(this.start); + } + + /** + * The timecode to end the clip in HH:MM:SS:FF format. + */ + public Optional end() { + return Optional.ofNullable(this.end); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The timecode to start the clip in HH:MM:SS:FF format + */ + public VideoClip withStart(@Nullable String start) { + this.start = start; + return this; + } + + /** + * The timecode to end the clip in HH:MM:SS:FF format. + */ + public VideoClip withEnd(@Nullable String end) { + this.end = end; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + VideoClip other = (VideoClip) o; + return Utils.enhancedDeepEquals(this.start, other.start) && Utils.enhancedDeepEquals(this.end, other.end); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(start, end); + } + + @Override + public String toString() { + return Utils.toString(VideoClip.class, "start", start, "end", end); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String start; + + private String end; + + private Builder() { + // force use of static builder() method + } + + /** + * The timecode to start the clip in HH:MM:SS:FF format + */ + public Builder start(@Nullable String start) { + this.start = start; + return this; + } + + /** + * The timecode to end the clip in HH:MM:SS:FF format. + */ + public Builder end(@Nullable String end) { + this.end = end; + return this; + } + + public VideoClip build() { + return new VideoClip(start, end); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VideoClipJson.java b/packages/java/src/main/java/com/cvent/models/components/VideoClipJson.java deleted file mode 100644 index 340b10bed..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/VideoClipJson.java +++ /dev/null @@ -1,133 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * VideoClipJson - * - *

Video clip details. - */ -public class VideoClipJson { - /** - * The timecode to start the clip in HH:MM:SS:FF format - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("start") - private String start; - - /** - * The timecode to end the clip in HH:MM:SS:FF format. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("end") - private String end; - - @JsonCreator - public VideoClipJson(@JsonProperty("start") @Nullable String start, @JsonProperty("end") @Nullable String end) { - this.start = start; - this.end = end; - } - - public VideoClipJson() { - this(null, null); - } - - /** - * The timecode to start the clip in HH:MM:SS:FF format - */ - public Optional start() { - return Optional.ofNullable(this.start); - } - - /** - * The timecode to end the clip in HH:MM:SS:FF format. - */ - public Optional end() { - return Optional.ofNullable(this.end); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The timecode to start the clip in HH:MM:SS:FF format - */ - public VideoClipJson withStart(@Nullable String start) { - this.start = start; - return this; - } - - /** - * The timecode to end the clip in HH:MM:SS:FF format. - */ - public VideoClipJson withEnd(@Nullable String end) { - this.end = end; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - VideoClipJson other = (VideoClipJson) o; - return Utils.enhancedDeepEquals(this.start, other.start) && Utils.enhancedDeepEquals(this.end, other.end); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(start, end); - } - - @Override - public String toString() { - return Utils.toString(VideoClipJson.class, "start", start, "end", end); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String start; - - private String end; - - private Builder() { - // force use of static builder() method - } - - /** - * The timecode to start the clip in HH:MM:SS:FF format - */ - public Builder start(@Nullable String start) { - this.start = start; - return this; - } - - /** - * The timecode to end the clip in HH:MM:SS:FF format. - */ - public Builder end(@Nullable String end) { - this.end = end; - return this; - } - - public VideoClipJson build() { - return new VideoClipJson(start, end); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/VideoError.java b/packages/java/src/main/java/com/cvent/models/components/VideoError.java new file mode 100644 index 000000000..40bcefc02 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VideoError.java @@ -0,0 +1,131 @@ +/* + * 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; + +/** + * VideoError + * + *

This is used to denote the errors for a video entity. + */ +public class VideoError { + /** + * This is used to denote the error codes for a video entity. + */ + @JsonProperty("code") + private VideoErrorCode code; + + /** + * Error message for the video. Message is a developer convenience never to be used in any context that + * needs localisation, subject to change at any time. + */ + @JsonProperty("message") + private String message; + + @JsonCreator + public VideoError( + @JsonProperty("code") @Nonnull VideoErrorCode code, @JsonProperty("message") @Nonnull String message) { + this.code = Optional.ofNullable(code).orElseThrow(() -> new IllegalArgumentException("code cannot be null")); + this.message = + Optional.ofNullable(message).orElseThrow(() -> new IllegalArgumentException("message cannot be null")); + } + + /** + * This is used to denote the error codes for a video entity. + */ + public VideoErrorCode code() { + return this.code; + } + + /** + * Error message for the video. Message is a developer convenience never to be used in any context that + * needs localisation, subject to change at any time. + */ + public String message() { + return this.message; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * This is used to denote the error codes for a video entity. + */ + public VideoError withCode(@Nonnull VideoErrorCode code) { + this.code = Utils.checkNotNull(code, "code"); + return this; + } + + /** + * Error message for the video. Message is a developer convenience never to be used in any context that + * needs localisation, subject to change at any time. + */ + public VideoError withMessage(@Nonnull String message) { + this.message = Utils.checkNotNull(message, "message"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + VideoError other = (VideoError) o; + return Utils.enhancedDeepEquals(this.code, other.code) && Utils.enhancedDeepEquals(this.message, other.message); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(code, message); + } + + @Override + public String toString() { + return Utils.toString(VideoError.class, "code", code, "message", message); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private VideoErrorCode code; + + private String message; + + private Builder() { + // force use of static builder() method + } + + /** + * This is used to denote the error codes for a video entity. + */ + public Builder code(@Nonnull VideoErrorCode code) { + this.code = Utils.checkNotNull(code, "code"); + return this; + } + + /** + * Error message for the video. Message is a developer convenience never to be used in any context that + * needs localisation, subject to change at any time. + */ + public Builder message(@Nonnull String message) { + this.message = Utils.checkNotNull(message, "message"); + return this; + } + + public VideoError build() { + return new VideoError(code, message); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VideoErrorCode.java b/packages/java/src/main/java/com/cvent/models/components/VideoErrorCode.java new file mode 100644 index 000000000..13f3f4abc --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VideoErrorCode.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.util.Objects; +import java.util.Optional; + +/** + * VideoErrorCode + * + *

This is used to denote the error codes for a video entity. + */ +public enum VideoErrorCode { + SIX_HUNDRED(600L), + SIX_HUNDRED_AND_ONE(601L), + SIX_HUNDRED_AND_TWO(602L), + SIX_HUNDRED_AND_THREE(603L), + SIX_HUNDRED_AND_FOUR(604L), + SIX_HUNDRED_AND_FIVE(605L), + SIX_HUNDRED_AND_SIX(606L), + SIX_HUNDRED_AND_SEVEN(607L), + SIX_HUNDRED_AND_EIGHT(608L); + + @JsonValue + private final long value; + + VideoErrorCode(long value) { + this.value = value; + } + + public long value() { + return value; + } + + public static Optional fromValue(long value) { + for (VideoErrorCode o : VideoErrorCode.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/VideoErrorCodeJson.java b/packages/java/src/main/java/com/cvent/models/components/VideoErrorCodeJson.java deleted file mode 100644 index 1593e352e..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/VideoErrorCodeJson.java +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.fasterxml.jackson.annotation.JsonValue; -import java.util.Objects; -import java.util.Optional; - -/** - * VideoErrorCodeJson - * - *

This is used to denote the error codes for a video entity. - */ -public enum VideoErrorCodeJson { - SIX_HUNDRED(600L), - SIX_HUNDRED_AND_ONE(601L), - SIX_HUNDRED_AND_TWO(602L), - SIX_HUNDRED_AND_THREE(603L), - SIX_HUNDRED_AND_FOUR(604L), - SIX_HUNDRED_AND_FIVE(605L), - SIX_HUNDRED_AND_SIX(606L), - SIX_HUNDRED_AND_SEVEN(607L), - SIX_HUNDRED_AND_EIGHT(608L); - - @JsonValue - private final long value; - - VideoErrorCodeJson(long value) { - this.value = value; - } - - public long value() { - return value; - } - - public static Optional fromValue(long value) { - for (VideoErrorCodeJson o : VideoErrorCodeJson.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/VideoErrorJson.java b/packages/java/src/main/java/com/cvent/models/components/VideoErrorJson.java deleted file mode 100644 index 707c58e28..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/VideoErrorJson.java +++ /dev/null @@ -1,131 +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.Optional; - -/** - * VideoErrorJson - * - *

This is used to denote the errors for a video entity. - */ -public class VideoErrorJson { - /** - * This is used to denote the error codes for a video entity. - */ - @JsonProperty("code") - private VideoErrorCodeJson code; - - /** - * Error message for the video. Message is a developer convenience never to be used in any context that - * needs localisation, subject to change at any time. - */ - @JsonProperty("message") - private String message; - - @JsonCreator - public VideoErrorJson( - @JsonProperty("code") @Nonnull VideoErrorCodeJson code, @JsonProperty("message") @Nonnull String message) { - this.code = Optional.ofNullable(code).orElseThrow(() -> new IllegalArgumentException("code cannot be null")); - this.message = - Optional.ofNullable(message).orElseThrow(() -> new IllegalArgumentException("message cannot be null")); - } - - /** - * This is used to denote the error codes for a video entity. - */ - public VideoErrorCodeJson code() { - return this.code; - } - - /** - * Error message for the video. Message is a developer convenience never to be used in any context that - * needs localisation, subject to change at any time. - */ - public String message() { - return this.message; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * This is used to denote the error codes for a video entity. - */ - public VideoErrorJson withCode(@Nonnull VideoErrorCodeJson code) { - this.code = Utils.checkNotNull(code, "code"); - return this; - } - - /** - * Error message for the video. Message is a developer convenience never to be used in any context that - * needs localisation, subject to change at any time. - */ - public VideoErrorJson withMessage(@Nonnull String message) { - this.message = Utils.checkNotNull(message, "message"); - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - VideoErrorJson other = (VideoErrorJson) o; - return Utils.enhancedDeepEquals(this.code, other.code) && Utils.enhancedDeepEquals(this.message, other.message); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(code, message); - } - - @Override - public String toString() { - return Utils.toString(VideoErrorJson.class, "code", code, "message", message); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private VideoErrorCodeJson code; - - private String message; - - private Builder() { - // force use of static builder() method - } - - /** - * This is used to denote the error codes for a video entity. - */ - public Builder code(@Nonnull VideoErrorCodeJson code) { - this.code = Utils.checkNotNull(code, "code"); - return this; - } - - /** - * Error message for the video. Message is a developer convenience never to be used in any context that - * needs localisation, subject to change at any time. - */ - public Builder message(@Nonnull String message) { - this.message = Utils.checkNotNull(message, "message"); - return this; - } - - public VideoErrorJson build() { - return new VideoErrorJson(code, message); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/VideoJson.java b/packages/java/src/main/java/com/cvent/models/components/VideoJson.java deleted file mode 100644 index e57fc2578..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/VideoJson.java +++ /dev/null @@ -1,100 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * VideoJson - * - *

The details of a video - */ -public class VideoJson { - /** - * The unique ID of the video. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - @JsonCreator - public VideoJson(@JsonProperty("id") @Nullable String id) { - this.id = id; - } - - public VideoJson() { - this(null); - } - - /** - * The unique ID of the video. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique ID of the video. - */ - public VideoJson withId(@Nullable String id) { - this.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; - } - VideoJson other = (VideoJson) o; - return Utils.enhancedDeepEquals(this.id, other.id); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id); - } - - @Override - public String toString() { - return Utils.toString(VideoJson.class, "id", id); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique ID of the video. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - public VideoJson build() { - return new VideoJson(id); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/VideoRendition.java b/packages/java/src/main/java/com/cvent/models/components/VideoRendition.java new file mode 100644 index 000000000..3ca207dd7 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VideoRendition.java @@ -0,0 +1,404 @@ +/* + * 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.Long; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Optional; + +/** + * VideoRendition + * + *

Video rendition + */ +public class VideoRendition { + /** + * 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; + + /** + * Video that this asset was created with. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("video") + private VideoAssetID video; + + /** + * Denotes the type of rendition. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private VideoRenditionType type; + + /** + * Location where the rendition is stored. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("location") + private VideoRenditionLink location; + + /** + * The video's frame width in pixels. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("width") + private Long width; + + /** + * The video's frame height in pixels. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("height") + private Long height; + + @JsonCreator + public VideoRendition( + @JsonProperty("created") @Nullable OffsetDateTime created, + @JsonProperty("createdBy") @Nullable String createdBy, + @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, + @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, + @JsonProperty("video") @Nullable VideoAssetID video, + @JsonProperty("type") @Nullable VideoRenditionType type, + @JsonProperty("location") @Nullable VideoRenditionLink location, + @JsonProperty("width") @Nullable Long width, + @JsonProperty("height") @Nullable Long height) { + this.created = created; + this.createdBy = createdBy; + this.lastModified = lastModified; + this.lastModifiedBy = lastModifiedBy; + this.video = video; + this.type = type; + this.location = location; + this.width = width; + this.height = height; + } + + public VideoRendition() { + this(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); + } + + /** + * Video that this asset was created with. + */ + public Optional video() { + return Optional.ofNullable(this.video); + } + + /** + * Denotes the type of rendition. + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + /** + * Location where the rendition is stored. + */ + public Optional location() { + return Optional.ofNullable(this.location); + } + + /** + * The video's frame width in pixels. + */ + public Optional width() { + return Optional.ofNullable(this.width); + } + + /** + * The video's frame height in pixels. + */ + public Optional height() { + return Optional.ofNullable(this.height); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The ISO 8601 zoned date time when this record was created. + */ + public VideoRendition withCreated(@Nullable OffsetDateTime created) { + this.created = created; + return this; + } + + /** + * The identifier of the user that created this record. + */ + public VideoRendition withCreatedBy(@Nullable String createdBy) { + this.createdBy = createdBy; + return this; + } + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + public VideoRendition withLastModified(@Nullable OffsetDateTime lastModified) { + this.lastModified = lastModified; + return this; + } + + /** + * The identifier of the user that last updated this record. + */ + public VideoRendition withLastModifiedBy(@Nullable String lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + return this; + } + + /** + * Video that this asset was created with. + */ + public VideoRendition withVideo(@Nullable VideoAssetID video) { + this.video = video; + return this; + } + + /** + * Denotes the type of rendition. + */ + public VideoRendition withType(@Nullable VideoRenditionType type) { + this.type = type; + return this; + } + + /** + * Location where the rendition is stored. + */ + public VideoRendition withLocation(@Nullable VideoRenditionLink location) { + this.location = location; + return this; + } + + /** + * The video's frame width in pixels. + */ + public VideoRendition withWidth(@Nullable Long width) { + this.width = width; + return this; + } + + /** + * The video's frame height in pixels. + */ + public VideoRendition withHeight(@Nullable Long height) { + this.height = height; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + VideoRendition other = (VideoRendition) 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.video, other.video) + && Utils.enhancedDeepEquals(this.type, other.type) + && Utils.enhancedDeepEquals(this.location, other.location) + && Utils.enhancedDeepEquals(this.width, other.width) + && Utils.enhancedDeepEquals(this.height, other.height); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + created, createdBy, lastModified, lastModifiedBy, video, type, location, width, height); + } + + @Override + public String toString() { + return Utils.toString( + VideoRendition.class, + "created", + created, + "createdBy", + createdBy, + "lastModified", + lastModified, + "lastModifiedBy", + lastModifiedBy, + "video", + video, + "type", + type, + "location", + location, + "width", + width, + "height", + height); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private OffsetDateTime created; + + private String createdBy; + + private OffsetDateTime lastModified; + + private String lastModifiedBy; + + private VideoAssetID video; + + private VideoRenditionType type; + + private VideoRenditionLink location; + + private Long width; + + private Long height; + + 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; + } + + /** + * Video that this asset was created with. + */ + public Builder video(@Nullable VideoAssetID video) { + this.video = video; + return this; + } + + /** + * Denotes the type of rendition. + */ + public Builder type(@Nullable VideoRenditionType type) { + this.type = type; + return this; + } + + /** + * Location where the rendition is stored. + */ + public Builder location(@Nullable VideoRenditionLink location) { + this.location = location; + return this; + } + + /** + * The video's frame width in pixels. + */ + public Builder width(@Nullable Long width) { + this.width = width; + return this; + } + + /** + * The video's frame height in pixels. + */ + public Builder height(@Nullable Long height) { + this.height = height; + return this; + } + + public VideoRendition build() { + return new VideoRendition( + created, createdBy, lastModified, lastModifiedBy, video, type, location, width, height); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VideoRenditionJson.java b/packages/java/src/main/java/com/cvent/models/components/VideoRenditionJson.java deleted file mode 100644 index a76c7daec..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/VideoRenditionJson.java +++ /dev/null @@ -1,404 +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.Long; -import java.lang.Override; -import java.lang.String; -import java.time.OffsetDateTime; -import java.util.Optional; - -/** - * VideoRenditionJson - * - *

Video rendition - */ -public class VideoRenditionJson { - /** - * 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; - - /** - * Video that this asset was created with. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("video") - private VideoAssetIdJson video; - - /** - * Denotes the type of rendition. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private VideoRenditionTypeJson type; - - /** - * Location where the rendition is stored. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("location") - private VideoRenditionJsonLink location; - - /** - * The video's frame width in pixels. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("width") - private Long width; - - /** - * The video's frame height in pixels. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("height") - private Long height; - - @JsonCreator - public VideoRenditionJson( - @JsonProperty("created") @Nullable OffsetDateTime created, - @JsonProperty("createdBy") @Nullable String createdBy, - @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, - @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, - @JsonProperty("video") @Nullable VideoAssetIdJson video, - @JsonProperty("type") @Nullable VideoRenditionTypeJson type, - @JsonProperty("location") @Nullable VideoRenditionJsonLink location, - @JsonProperty("width") @Nullable Long width, - @JsonProperty("height") @Nullable Long height) { - this.created = created; - this.createdBy = createdBy; - this.lastModified = lastModified; - this.lastModifiedBy = lastModifiedBy; - this.video = video; - this.type = type; - this.location = location; - this.width = width; - this.height = height; - } - - public VideoRenditionJson() { - this(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); - } - - /** - * Video that this asset was created with. - */ - public Optional video() { - return Optional.ofNullable(this.video); - } - - /** - * Denotes the type of rendition. - */ - public Optional type() { - return Optional.ofNullable(this.type); - } - - /** - * Location where the rendition is stored. - */ - public Optional location() { - return Optional.ofNullable(this.location); - } - - /** - * The video's frame width in pixels. - */ - public Optional width() { - return Optional.ofNullable(this.width); - } - - /** - * The video's frame height in pixels. - */ - public Optional height() { - return Optional.ofNullable(this.height); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The ISO 8601 zoned date time when this record was created. - */ - public VideoRenditionJson withCreated(@Nullable OffsetDateTime created) { - this.created = created; - return this; - } - - /** - * The identifier of the user that created this record. - */ - public VideoRenditionJson withCreatedBy(@Nullable String createdBy) { - this.createdBy = createdBy; - return this; - } - - /** - * The ISO 8601 zoned date time when this record was updated. - */ - public VideoRenditionJson withLastModified(@Nullable OffsetDateTime lastModified) { - this.lastModified = lastModified; - return this; - } - - /** - * The identifier of the user that last updated this record. - */ - public VideoRenditionJson withLastModifiedBy(@Nullable String lastModifiedBy) { - this.lastModifiedBy = lastModifiedBy; - return this; - } - - /** - * Video that this asset was created with. - */ - public VideoRenditionJson withVideo(@Nullable VideoAssetIdJson video) { - this.video = video; - return this; - } - - /** - * Denotes the type of rendition. - */ - public VideoRenditionJson withType(@Nullable VideoRenditionTypeJson type) { - this.type = type; - return this; - } - - /** - * Location where the rendition is stored. - */ - public VideoRenditionJson withLocation(@Nullable VideoRenditionJsonLink location) { - this.location = location; - return this; - } - - /** - * The video's frame width in pixels. - */ - public VideoRenditionJson withWidth(@Nullable Long width) { - this.width = width; - return this; - } - - /** - * The video's frame height in pixels. - */ - public VideoRenditionJson withHeight(@Nullable Long height) { - this.height = height; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - VideoRenditionJson other = (VideoRenditionJson) 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.video, other.video) - && Utils.enhancedDeepEquals(this.type, other.type) - && Utils.enhancedDeepEquals(this.location, other.location) - && Utils.enhancedDeepEquals(this.width, other.width) - && Utils.enhancedDeepEquals(this.height, other.height); - } - - @Override - public int hashCode() { - return Utils.enhancedHash( - created, createdBy, lastModified, lastModifiedBy, video, type, location, width, height); - } - - @Override - public String toString() { - return Utils.toString( - VideoRenditionJson.class, - "created", - created, - "createdBy", - createdBy, - "lastModified", - lastModified, - "lastModifiedBy", - lastModifiedBy, - "video", - video, - "type", - type, - "location", - location, - "width", - width, - "height", - height); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private OffsetDateTime created; - - private String createdBy; - - private OffsetDateTime lastModified; - - private String lastModifiedBy; - - private VideoAssetIdJson video; - - private VideoRenditionTypeJson type; - - private VideoRenditionJsonLink location; - - private Long width; - - private Long height; - - 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; - } - - /** - * Video that this asset was created with. - */ - public Builder video(@Nullable VideoAssetIdJson video) { - this.video = video; - return this; - } - - /** - * Denotes the type of rendition. - */ - public Builder type(@Nullable VideoRenditionTypeJson type) { - this.type = type; - return this; - } - - /** - * Location where the rendition is stored. - */ - public Builder location(@Nullable VideoRenditionJsonLink location) { - this.location = location; - return this; - } - - /** - * The video's frame width in pixels. - */ - public Builder width(@Nullable Long width) { - this.width = width; - return this; - } - - /** - * The video's frame height in pixels. - */ - public Builder height(@Nullable Long height) { - this.height = height; - return this; - } - - public VideoRenditionJson build() { - return new VideoRenditionJson( - created, createdBy, lastModified, lastModifiedBy, video, type, location, width, height); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/VideoRenditionJsonLink.java b/packages/java/src/main/java/com/cvent/models/components/VideoRenditionJsonLink.java deleted file mode 100644 index dfb24ee4b..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/VideoRenditionJsonLink.java +++ /dev/null @@ -1,93 +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.Optional; - -/** - * VideoRenditionJsonLink - * - *

Location where the rendition is stored. - */ -public class VideoRenditionJsonLink { - /** - * A pre-signed URL with an expiration of 2 hours that provides the location. - */ - @JsonProperty("href") - private String href; - - @JsonCreator - public VideoRenditionJsonLink(@JsonProperty("href") @Nonnull String href) { - this.href = Optional.ofNullable(href).orElseThrow(() -> new IllegalArgumentException("href cannot be null")); - } - - /** - * A pre-signed URL with an expiration of 2 hours that provides the location. - */ - public String href() { - return this.href; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * A pre-signed URL with an expiration of 2 hours that provides the location. - */ - public VideoRenditionJsonLink withHref(@Nonnull String href) { - this.href = Utils.checkNotNull(href, "href"); - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - VideoRenditionJsonLink other = (VideoRenditionJsonLink) o; - return Utils.enhancedDeepEquals(this.href, other.href); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(href); - } - - @Override - public String toString() { - return Utils.toString(VideoRenditionJsonLink.class, "href", href); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String href; - - private Builder() { - // force use of static builder() method - } - - /** - * A pre-signed URL with an expiration of 2 hours that provides the location. - */ - public Builder href(@Nonnull String href) { - this.href = Utils.checkNotNull(href, "href"); - return this; - } - - public VideoRenditionJsonLink build() { - return new VideoRenditionJsonLink(href); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/VideoRenditionLink.java b/packages/java/src/main/java/com/cvent/models/components/VideoRenditionLink.java new file mode 100644 index 000000000..a8a48ac8b --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VideoRenditionLink.java @@ -0,0 +1,93 @@ +/* + * 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; + +/** + * VideoRenditionLink + * + *

Location where the rendition is stored. + */ +public class VideoRenditionLink { + /** + * A pre-signed URL with an expiration of 2 hours that provides the location. + */ + @JsonProperty("href") + private String href; + + @JsonCreator + public VideoRenditionLink(@JsonProperty("href") @Nonnull String href) { + this.href = Optional.ofNullable(href).orElseThrow(() -> new IllegalArgumentException("href cannot be null")); + } + + /** + * A pre-signed URL with an expiration of 2 hours that provides the location. + */ + public String href() { + return this.href; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * A pre-signed URL with an expiration of 2 hours that provides the location. + */ + public VideoRenditionLink withHref(@Nonnull String href) { + this.href = Utils.checkNotNull(href, "href"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + VideoRenditionLink other = (VideoRenditionLink) o; + return Utils.enhancedDeepEquals(this.href, other.href); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(href); + } + + @Override + public String toString() { + return Utils.toString(VideoRenditionLink.class, "href", href); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String href; + + private Builder() { + // force use of static builder() method + } + + /** + * A pre-signed URL with an expiration of 2 hours that provides the location. + */ + public Builder href(@Nonnull String href) { + this.href = Utils.checkNotNull(href, "href"); + return this; + } + + public VideoRenditionLink build() { + return new VideoRenditionLink(href); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VideoRenditionType.java b/packages/java/src/main/java/com/cvent/models/components/VideoRenditionType.java new file mode 100644 index 000000000..3e781287e --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VideoRenditionType.java @@ -0,0 +1,44 @@ +/* + * 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; + +/** + * VideoRenditionType + * + *

Denotes the type of rendition. + */ +public enum VideoRenditionType { + HLS("Hls"), + HLS_MASTER("HlsMaster"), + MP4("Mp4"), + POSTER("Poster"), + MP4_PREVIEW("Mp4Preview"), + MP3("Mp3"), + AUDIO("Audio"); + + @JsonValue + private final String value; + + VideoRenditionType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (VideoRenditionType o : VideoRenditionType.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/VideoRenditionTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/VideoRenditionTypeJson.java deleted file mode 100644 index 79f5b27ae..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/VideoRenditionTypeJson.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * 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; - -/** - * VideoRenditionTypeJson - * - *

Denotes the type of rendition. - */ -public enum VideoRenditionTypeJson { - HLS("Hls"), - HLS_MASTER("HlsMaster"), - MP4("Mp4"), - POSTER("Poster"), - MP4_PREVIEW("Mp4Preview"), - MP3("Mp3"), - AUDIO("Audio"); - - @JsonValue - private final String value; - - VideoRenditionTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (VideoRenditionTypeJson o : VideoRenditionTypeJson.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/VideoRenditionsResponse.java b/packages/java/src/main/java/com/cvent/models/components/VideoRenditionsResponse.java index aab31dca1..02a1638cb 100644 --- a/packages/java/src/main/java/com/cvent/models/components/VideoRenditionsResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/VideoRenditionsResponse.java @@ -25,10 +25,10 @@ public class VideoRenditionsResponse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("data") - private List data; + private List data; @JsonCreator - public VideoRenditionsResponse(@JsonProperty("data") @Nullable List data) { + public VideoRenditionsResponse(@JsonProperty("data") @Nullable List data) { this.data = data; } @@ -39,7 +39,7 @@ public VideoRenditionsResponse() { /** * Collection of video renditions. */ - public Optional> data() { + public Optional> data() { return Optional.ofNullable(this.data); } @@ -50,7 +50,7 @@ public static Builder builder() { /** * Collection of video renditions. */ - public VideoRenditionsResponse withData(@Nullable List data) { + public VideoRenditionsResponse withData(@Nullable List data) { this.data = data; return this; } @@ -80,7 +80,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private List data; + private List data; private Builder() { // force use of static builder() method @@ -89,7 +89,7 @@ private Builder() { /** * Collection of video renditions. */ - 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/VideoSource.java b/packages/java/src/main/java/com/cvent/models/components/VideoSource.java new file mode 100644 index 000000000..72720b438 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VideoSource.java @@ -0,0 +1,134 @@ +/* + * 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; + +/** + * VideoSource + * + *

Source of video. + */ +public class VideoSource { + /** + * The id of a video in the external system + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * Denotes the status of the video in the third-party system. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("status") + private VideoSourceStatus status; + + @JsonCreator + public VideoSource( + @JsonProperty("id") @Nullable String id, @JsonProperty("status") @Nullable VideoSourceStatus status) { + this.id = id; + this.status = status; + } + + public VideoSource() { + this(null, null); + } + + /** + * The id of a video in the external system + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Denotes the status of the video in the third-party system. + */ + public Optional status() { + return Optional.ofNullable(this.status); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The id of a video in the external system + */ + public VideoSource withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Denotes the status of the video in the third-party system. + */ + public VideoSource withStatus(@Nullable VideoSourceStatus status) { + this.status = status; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + VideoSource other = (VideoSource) o; + return Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.status, other.status); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, status); + } + + @Override + public String toString() { + return Utils.toString(VideoSource.class, "id", id, "status", status); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private VideoSourceStatus status; + + private Builder() { + // force use of static builder() method + } + + /** + * The id of a video in the external system + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * Denotes the status of the video in the third-party system. + */ + public Builder status(@Nullable VideoSourceStatus status) { + this.status = status; + return this; + } + + public VideoSource build() { + return new VideoSource(id, status); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VideoSourceJson.java b/packages/java/src/main/java/com/cvent/models/components/VideoSourceJson.java deleted file mode 100644 index 917260746..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/VideoSourceJson.java +++ /dev/null @@ -1,134 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * VideoSourceJson - * - *

Source of video. - */ -public class VideoSourceJson { - /** - * The id of a video in the external system - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * Denotes the status of the video in the third-party system. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("status") - private VideoSourceJsonStatus status; - - @JsonCreator - public VideoSourceJson( - @JsonProperty("id") @Nullable String id, @JsonProperty("status") @Nullable VideoSourceJsonStatus status) { - this.id = id; - this.status = status; - } - - public VideoSourceJson() { - this(null, null); - } - - /** - * The id of a video in the external system - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * Denotes the status of the video in the third-party system. - */ - public Optional status() { - return Optional.ofNullable(this.status); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The id of a video in the external system - */ - public VideoSourceJson withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * Denotes the status of the video in the third-party system. - */ - public VideoSourceJson withStatus(@Nullable VideoSourceJsonStatus status) { - this.status = status; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - VideoSourceJson other = (VideoSourceJson) o; - return Utils.enhancedDeepEquals(this.id, other.id) && Utils.enhancedDeepEquals(this.status, other.status); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, status); - } - - @Override - public String toString() { - return Utils.toString(VideoSourceJson.class, "id", id, "status", status); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String id; - - private VideoSourceJsonStatus status; - - private Builder() { - // force use of static builder() method - } - - /** - * The id of a video in the external system - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * Denotes the status of the video in the third-party system. - */ - public Builder status(@Nullable VideoSourceJsonStatus status) { - this.status = status; - return this; - } - - public VideoSourceJson build() { - return new VideoSourceJson(id, status); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/VideoSourceJsonStatus.java b/packages/java/src/main/java/com/cvent/models/components/VideoSourceJsonStatus.java deleted file mode 100644 index bb933eccd..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/VideoSourceJsonStatus.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * 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; - -/** - * VideoSourceJsonStatus - * - *

Denotes the status of the video in the third-party system. - */ -public enum VideoSourceJsonStatus { - ACTIVE("Active"), - INACTIVE("Inactive"), - PENDING("Pending"), - DELETED("Deleted"); - - @JsonValue - private final String value; - - VideoSourceJsonStatus(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (VideoSourceJsonStatus o : VideoSourceJsonStatus.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/VideoSourceStatus.java b/packages/java/src/main/java/com/cvent/models/components/VideoSourceStatus.java new file mode 100644 index 000000000..370d977fa --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VideoSourceStatus.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; + +/** + * VideoSourceStatus + * + *

Denotes the status of the video in the third-party system. + */ +public enum VideoSourceStatus { + ACTIVE("Active"), + INACTIVE("Inactive"), + PENDING("Pending"), + DELETED("Deleted"); + + @JsonValue + private final String value; + + VideoSourceStatus(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (VideoSourceStatus o : VideoSourceStatus.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/VideoStatus.java b/packages/java/src/main/java/com/cvent/models/components/VideoStatus.java new file mode 100644 index 000000000..475f68b1b --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VideoStatus.java @@ -0,0 +1,55 @@ +/* + * 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; + +/** + * VideoStatus + * + *

Denotes the status of a video. Started indicates the request to upload in the API was submitted, and + * the URL to upload to was returned. Uploaded indicates that the upload was completed. + * + *

Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a + * successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. + * Rejected indicates a failed virus scan. + * + *

Error indicates there was a problem processing the video. Available indicates the video is available + * for use. + */ +public enum VideoStatus { + STARTED("Started"), + UPLOADED("Uploaded"), + SCANNING("Scanning"), + SCANNED("Scanned"), + SYNCING("Syncing"), + REJECTED("Rejected"), + ERROR("Error"), + AVAILABLE("Available"), + UPCOMING("Upcoming"), + RE_SYNCING("ReSyncing"); + + @JsonValue + private final String value; + + VideoStatus(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (VideoStatus o : VideoStatus.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/VideoStatusJson.java b/packages/java/src/main/java/com/cvent/models/components/VideoStatusJson.java deleted file mode 100644 index ddae20cf5..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/VideoStatusJson.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * 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; - -/** - * VideoStatusJson - * - *

Denotes the status of a video. Started indicates the request to upload in the API was submitted, and - * the URL to upload to was returned. Uploaded indicates that the upload was completed. - * - *

Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a - * successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. - * Rejected indicates a failed virus scan. - * - *

Error indicates there was a problem processing the video. Available indicates the video is available - * for use. - */ -public enum VideoStatusJson { - STARTED("Started"), - UPLOADED("Uploaded"), - SCANNING("Scanning"), - SCANNED("Scanned"), - SYNCING("Syncing"), - REJECTED("Rejected"), - ERROR("Error"), - AVAILABLE("Available"), - UPCOMING("Upcoming"), - RE_SYNCING("ReSyncing"); - - @JsonValue - private final String value; - - VideoStatusJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (VideoStatusJson o : VideoStatusJson.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/VideoTextTrack.java b/packages/java/src/main/java/com/cvent/models/components/VideoTextTrack.java index 4a5175231..ef4de3ed0 100644 --- a/packages/java/src/main/java/com/cvent/models/components/VideoTextTrack.java +++ b/packages/java/src/main/java/com/cvent/models/components/VideoTextTrack.java @@ -28,7 +28,7 @@ public class VideoTextTrack { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("video") - private VideoAssetIdJson video; + private VideoAssetID video; /** * Name of the text track. @@ -47,7 +47,7 @@ public class VideoTextTrack { * Denotes the kind of video text track. Only subtitles are supported. */ @JsonProperty("kind") - private VideoTextTrackKindJson kind; + private VideoTextTrackKind kind; /** * True means that this text track has been published for your client. @@ -73,7 +73,7 @@ public class VideoTextTrack { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("status") - private VideoTextTrackStatusJson status; + private VideoTextTrackStatus status; /** * True indicates this text track was generated via machine transcription of the audio. @@ -84,13 +84,13 @@ public class VideoTextTrack { @JsonCreator public VideoTextTrack( - @JsonProperty("video") @Nullable VideoAssetIdJson video, + @JsonProperty("video") @Nullable VideoAssetID video, @JsonProperty("label") @Nullable String label, @JsonProperty("language") @Nonnull String language, - @JsonProperty("kind") @Nonnull VideoTextTrackKindJson kind, + @JsonProperty("kind") @Nonnull VideoTextTrackKind kind, @JsonProperty("published") @Nullable Boolean published, @JsonProperty("default") @Nullable Boolean default_, - @JsonProperty("status") @Nullable VideoTextTrackStatusJson status, + @JsonProperty("status") @Nullable VideoTextTrackStatus status, @JsonProperty("autoGenerated") @Nullable Boolean autoGenerated) { this.video = video; this.label = label; @@ -103,14 +103,14 @@ public VideoTextTrack( this.autoGenerated = Optional.ofNullable(autoGenerated).orElse(Builder._SINGLETON_VALUE_AutoGenerated.value()); } - public VideoTextTrack(@Nonnull String language, @Nonnull VideoTextTrackKindJson kind) { + public VideoTextTrack(@Nonnull String language, @Nonnull VideoTextTrackKind kind) { this(null, null, language, kind, null, null, null, null); } /** * Video that this asset was created with. */ - public Optional video() { + public Optional video() { return Optional.ofNullable(this.video); } @@ -131,7 +131,7 @@ public String language() { /** * Denotes the kind of video text track. Only subtitles are supported. */ - public VideoTextTrackKindJson kind() { + public VideoTextTrackKind kind() { return this.kind; } @@ -157,7 +157,7 @@ public Optional default_() { *

Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error * indicates there was a problem processing the VTT. */ - public Optional status() { + public Optional status() { return Optional.ofNullable(this.status); } @@ -175,7 +175,7 @@ public static Builder builder() { /** * Video that this asset was created with. */ - public VideoTextTrack withVideo(@Nullable VideoAssetIdJson video) { + public VideoTextTrack withVideo(@Nullable VideoAssetID video) { this.video = video; return this; } @@ -199,7 +199,7 @@ public VideoTextTrack withLanguage(@Nonnull String language) { /** * Denotes the kind of video text track. Only subtitles are supported. */ - public VideoTextTrack withKind(@Nonnull VideoTextTrackKindJson kind) { + public VideoTextTrack withKind(@Nonnull VideoTextTrackKind kind) { this.kind = Utils.checkNotNull(kind, "kind"); return this; } @@ -228,7 +228,7 @@ public VideoTextTrack withDefault(@Nullable Boolean default_) { *

Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error * indicates there was a problem processing the VTT. */ - public VideoTextTrack withStatus(@Nullable VideoTextTrackStatusJson status) { + public VideoTextTrack withStatus(@Nullable VideoTextTrackStatus status) { this.status = status; return this; } @@ -290,19 +290,19 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private VideoAssetIdJson video; + private VideoAssetID video; private String label; private String language; - private VideoTextTrackKindJson kind; + private VideoTextTrackKind kind; private Boolean published; private Boolean default_; - private VideoTextTrackStatusJson status; + private VideoTextTrackStatus status; private Boolean autoGenerated; @@ -313,7 +313,7 @@ private Builder() { /** * Video that this asset was created with. */ - public Builder video(@Nullable VideoAssetIdJson video) { + public Builder video(@Nullable VideoAssetID video) { this.video = video; return this; } @@ -337,7 +337,7 @@ public Builder language(@Nonnull String language) { /** * Denotes the kind of video text track. Only subtitles are supported. */ - public Builder kind(@Nonnull VideoTextTrackKindJson kind) { + public Builder kind(@Nonnull VideoTextTrackKind kind) { this.kind = Utils.checkNotNull(kind, "kind"); return this; } @@ -366,7 +366,7 @@ public Builder default_(@Nullable Boolean default_) { *

Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error * indicates there was a problem processing the VTT. */ - public Builder status(@Nullable VideoTextTrackStatusJson status) { + public Builder status(@Nullable VideoTextTrackStatus status) { this.status = status; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/VideoTextTrackKind.java b/packages/java/src/main/java/com/cvent/models/components/VideoTextTrackKind.java new file mode 100644 index 000000000..68a374ae5 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VideoTextTrackKind.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; + +/** + * VideoTextTrackKind + * + *

Denotes the kind of video text track. Only subtitles are supported. + */ +public enum VideoTextTrackKind { + SUBTITLES("subtitles"), + CAPTIONS("captions"), + DESCRIPTIONS("descriptions"), + CHAPTERS("chapters"), + METADATA("metadata"); + + @JsonValue + private final String value; + + VideoTextTrackKind(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (VideoTextTrackKind o : VideoTextTrackKind.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/VideoTextTrackKindJson.java b/packages/java/src/main/java/com/cvent/models/components/VideoTextTrackKindJson.java deleted file mode 100644 index aad65eac1..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/VideoTextTrackKindJson.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * 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; - -/** - * VideoTextTrackKindJson - * - *

Denotes the kind of video text track. Only subtitles are supported. - */ -public enum VideoTextTrackKindJson { - SUBTITLES("subtitles"), - CAPTIONS("captions"), - DESCRIPTIONS("descriptions"), - CHAPTERS("chapters"), - METADATA("metadata"); - - @JsonValue - private final String value; - - VideoTextTrackKindJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (VideoTextTrackKindJson o : VideoTextTrackKindJson.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/VideoTextTrackStatus.java b/packages/java/src/main/java/com/cvent/models/components/VideoTextTrackStatus.java new file mode 100644 index 000000000..2c6e481ca --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VideoTextTrackStatus.java @@ -0,0 +1,50 @@ +/* + * 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; + +/** + * VideoTextTrackStatus + * + *

Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, + * and the URL to upload to was returned. Uploaded indicates that the upload was completed. + * + *

Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error + * indicates there was a problem processing the VTT. + */ +public enum VideoTextTrackStatus { + STARTED("Started"), + UPLOADED("Uploaded"), + PROCESSING("Processing"), + AVAILABLE("Available"), + REJECTED("Rejected"), + UPDATING("Updating"), + TRANSLATING("Translating"), + TRANSCRIBING("Transcribing"), + ERROR("Error"); + + @JsonValue + private final String value; + + VideoTextTrackStatus(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (VideoTextTrackStatus o : VideoTextTrackStatus.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/VideoTextTrackStatusJson.java b/packages/java/src/main/java/com/cvent/models/components/VideoTextTrackStatusJson.java deleted file mode 100644 index a1aea2f60..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/VideoTextTrackStatusJson.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * 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; - -/** - * VideoTextTrackStatusJson - * - *

Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, - * and the URL to upload to was returned. Uploaded indicates that the upload was completed. - * - *

Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error - * indicates there was a problem processing the VTT. - */ -public enum VideoTextTrackStatusJson { - STARTED("Started"), - UPLOADED("Uploaded"), - PROCESSING("Processing"), - AVAILABLE("Available"), - REJECTED("Rejected"), - UPDATING("Updating"), - TRANSLATING("Translating"), - TRANSCRIBING("Transcribing"), - ERROR("Error"); - - @JsonValue - private final String value; - - VideoTextTrackStatusJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (VideoTextTrackStatusJson o : VideoTextTrackStatusJson.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/VideoThumbnail.java b/packages/java/src/main/java/com/cvent/models/components/VideoThumbnail.java new file mode 100644 index 000000000..4e3a81ba2 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VideoThumbnail.java @@ -0,0 +1,310 @@ +/* + * 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.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * VideoThumbnail + * + *

Video thumbnail + */ +public class VideoThumbnail { + /** + * Represents a link to a related resource. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("url") + private Link url; + + /** + * File size in bytes for the thumbnail + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("size") + private Long size; + + /** + * frame height in pixels + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("height") + private Long height; + + /** + * frame width in pixels + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("width") + private Long width; + + /** + * This is used to denote the file type of a thumbnail + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private ThumbnailType type; + + /** + * Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, + * and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was + * completed. + * + *

Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the + * scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("status") + private ThumbnailStatus status; + + @JsonCreator + public VideoThumbnail( + @JsonProperty("url") @Nullable Link url, + @JsonProperty("size") @Nullable Long size, + @JsonProperty("height") @Nullable Long height, + @JsonProperty("width") @Nullable Long width, + @JsonProperty("type") @Nullable ThumbnailType type, + @JsonProperty("status") @Nullable ThumbnailStatus status) { + this.url = url; + this.size = size; + this.height = height; + this.width = width; + this.type = type; + this.status = status; + } + + public VideoThumbnail() { + this(null, null, null, null, null, null); + } + + /** + * Represents a link to a related resource. + */ + public Optional url() { + return Optional.ofNullable(this.url); + } + + /** + * File size in bytes for the thumbnail + */ + public Optional size() { + return Optional.ofNullable(this.size); + } + + /** + * frame height in pixels + */ + public Optional height() { + return Optional.ofNullable(this.height); + } + + /** + * frame width in pixels + */ + public Optional width() { + return Optional.ofNullable(this.width); + } + + /** + * This is used to denote the file type of a thumbnail + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + /** + * Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, + * and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was + * completed. + * + *

Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the + * scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. + */ + public Optional status() { + return Optional.ofNullable(this.status); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Represents a link to a related resource. + */ + public VideoThumbnail withUrl(@Nullable Link url) { + this.url = url; + return this; + } + + /** + * File size in bytes for the thumbnail + */ + public VideoThumbnail withSize(@Nullable Long size) { + this.size = size; + return this; + } + + /** + * frame height in pixels + */ + public VideoThumbnail withHeight(@Nullable Long height) { + this.height = height; + return this; + } + + /** + * frame width in pixels + */ + public VideoThumbnail withWidth(@Nullable Long width) { + this.width = width; + return this; + } + + /** + * This is used to denote the file type of a thumbnail + */ + public VideoThumbnail withType(@Nullable ThumbnailType type) { + this.type = type; + return this; + } + + /** + * Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, + * and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was + * completed. + * + *

Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the + * scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. + */ + public VideoThumbnail withStatus(@Nullable ThumbnailStatus status) { + this.status = status; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + VideoThumbnail other = (VideoThumbnail) o; + return Utils.enhancedDeepEquals(this.url, other.url) + && Utils.enhancedDeepEquals(this.size, other.size) + && Utils.enhancedDeepEquals(this.height, other.height) + && Utils.enhancedDeepEquals(this.width, other.width) + && Utils.enhancedDeepEquals(this.type, other.type) + && Utils.enhancedDeepEquals(this.status, other.status); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(url, size, height, width, type, status); + } + + @Override + public String toString() { + return Utils.toString( + VideoThumbnail.class, + "url", + url, + "size", + size, + "height", + height, + "width", + width, + "type", + type, + "status", + status); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private Link url; + + private Long size; + + private Long height; + + private Long width; + + private ThumbnailType type; + + private ThumbnailStatus status; + + private Builder() { + // force use of static builder() method + } + + /** + * Represents a link to a related resource. + */ + public Builder url(@Nullable Link url) { + this.url = url; + return this; + } + + /** + * File size in bytes for the thumbnail + */ + public Builder size(@Nullable Long size) { + this.size = size; + return this; + } + + /** + * frame height in pixels + */ + public Builder height(@Nullable Long height) { + this.height = height; + return this; + } + + /** + * frame width in pixels + */ + public Builder width(@Nullable Long width) { + this.width = width; + return this; + } + + /** + * This is used to denote the file type of a thumbnail + */ + public Builder type(@Nullable ThumbnailType type) { + this.type = type; + return this; + } + + /** + * Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, + * and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was + * completed. + * + *

Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the + * scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. + */ + public Builder status(@Nullable ThumbnailStatus status) { + this.status = status; + return this; + } + + public VideoThumbnail build() { + return new VideoThumbnail(url, size, height, width, type, status); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VideoThumbnailJson.java b/packages/java/src/main/java/com/cvent/models/components/VideoThumbnailJson.java deleted file mode 100644 index 4bf41267f..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/VideoThumbnailJson.java +++ /dev/null @@ -1,310 +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.Long; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * VideoThumbnailJson - * - *

Video thumbnail - */ -public class VideoThumbnailJson { - /** - * Represents a link to a related resource. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("url") - private OneAllOf url; - - /** - * File size in bytes for the thumbnail - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("size") - private Long size; - - /** - * frame height in pixels - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("height") - private Long height; - - /** - * frame width in pixels - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("width") - private Long width; - - /** - * This is used to denote the file type of a thumbnail - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private ThumbnailTypeJson type; - - /** - * Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, - * and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was - * completed. - * - *

Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the - * scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("status") - private ThumbnailStatusJson status; - - @JsonCreator - public VideoThumbnailJson( - @JsonProperty("url") @Nullable OneAllOf url, - @JsonProperty("size") @Nullable Long size, - @JsonProperty("height") @Nullable Long height, - @JsonProperty("width") @Nullable Long width, - @JsonProperty("type") @Nullable ThumbnailTypeJson type, - @JsonProperty("status") @Nullable ThumbnailStatusJson status) { - this.url = url; - this.size = size; - this.height = height; - this.width = width; - this.type = type; - this.status = status; - } - - public VideoThumbnailJson() { - this(null, null, null, null, null, null); - } - - /** - * Represents a link to a related resource. - */ - public Optional url() { - return Optional.ofNullable(this.url); - } - - /** - * File size in bytes for the thumbnail - */ - public Optional size() { - return Optional.ofNullable(this.size); - } - - /** - * frame height in pixels - */ - public Optional height() { - return Optional.ofNullable(this.height); - } - - /** - * frame width in pixels - */ - public Optional width() { - return Optional.ofNullable(this.width); - } - - /** - * This is used to denote the file type of a thumbnail - */ - public Optional type() { - return Optional.ofNullable(this.type); - } - - /** - * Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, - * and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was - * completed. - * - *

Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the - * scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. - */ - public Optional status() { - return Optional.ofNullable(this.status); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Represents a link to a related resource. - */ - public VideoThumbnailJson withUrl(@Nullable OneAllOf url) { - this.url = url; - return this; - } - - /** - * File size in bytes for the thumbnail - */ - public VideoThumbnailJson withSize(@Nullable Long size) { - this.size = size; - return this; - } - - /** - * frame height in pixels - */ - public VideoThumbnailJson withHeight(@Nullable Long height) { - this.height = height; - return this; - } - - /** - * frame width in pixels - */ - public VideoThumbnailJson withWidth(@Nullable Long width) { - this.width = width; - return this; - } - - /** - * This is used to denote the file type of a thumbnail - */ - public VideoThumbnailJson withType(@Nullable ThumbnailTypeJson type) { - this.type = type; - return this; - } - - /** - * Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, - * and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was - * completed. - * - *

Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the - * scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. - */ - public VideoThumbnailJson withStatus(@Nullable ThumbnailStatusJson status) { - this.status = status; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - VideoThumbnailJson other = (VideoThumbnailJson) o; - return Utils.enhancedDeepEquals(this.url, other.url) - && Utils.enhancedDeepEquals(this.size, other.size) - && Utils.enhancedDeepEquals(this.height, other.height) - && Utils.enhancedDeepEquals(this.width, other.width) - && Utils.enhancedDeepEquals(this.type, other.type) - && Utils.enhancedDeepEquals(this.status, other.status); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(url, size, height, width, type, status); - } - - @Override - public String toString() { - return Utils.toString( - VideoThumbnailJson.class, - "url", - url, - "size", - size, - "height", - height, - "width", - width, - "type", - type, - "status", - status); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private OneAllOf url; - - private Long size; - - private Long height; - - private Long width; - - private ThumbnailTypeJson type; - - private ThumbnailStatusJson status; - - private Builder() { - // force use of static builder() method - } - - /** - * Represents a link to a related resource. - */ - public Builder url(@Nullable OneAllOf url) { - this.url = url; - return this; - } - - /** - * File size in bytes for the thumbnail - */ - public Builder size(@Nullable Long size) { - this.size = size; - return this; - } - - /** - * frame height in pixels - */ - public Builder height(@Nullable Long height) { - this.height = height; - return this; - } - - /** - * frame width in pixels - */ - public Builder width(@Nullable Long width) { - this.width = width; - return this; - } - - /** - * This is used to denote the file type of a thumbnail - */ - public Builder type(@Nullable ThumbnailTypeJson type) { - this.type = type; - return this; - } - - /** - * Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, - * and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was - * completed. - * - *

Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the - * scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. - */ - public Builder status(@Nullable ThumbnailStatusJson status) { - this.status = status; - return this; - } - - public VideoThumbnailJson build() { - return new VideoThumbnailJson(url, size, height, width, type, status); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/VideoType.java b/packages/java/src/main/java/com/cvent/models/components/VideoType.java new file mode 100644 index 000000000..959e18189 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VideoType.java @@ -0,0 +1,48 @@ +/* + * 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; + +/** + * VideoType + * + *

This is used to denote type of a video + */ +public enum VideoType { + MPG2("mpg2"), + MOV("mov"), + MP2("mp2"), + MP4("mp4"), + MPE("mpe"), + MPEG("mpeg"), + MPG("mpg"), + MPV("mpv"), + QT("qt"), + WEBM("webm"), + HLS("hls"); + + @JsonValue + private final String value; + + VideoType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (VideoType o : VideoType.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/VideoTypeJson.java b/packages/java/src/main/java/com/cvent/models/components/VideoTypeJson.java deleted file mode 100644 index a46264114..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/VideoTypeJson.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * 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; - -/** - * VideoTypeJson - * - *

This is used to denote type of a video - */ -public enum VideoTypeJson { - MPG2("mpg2"), - MOV("mov"), - MP2("mp2"), - MP4("mp4"), - MPE("mpe"), - MPEG("mpeg"), - MPG("mpg"), - MPV("mpv"), - QT("qt"), - WEBM("webm"), - HLS("hls"); - - @JsonValue - private final String value; - - VideoTypeJson(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (VideoTypeJson o : VideoTypeJson.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/VideoView.java b/packages/java/src/main/java/com/cvent/models/components/VideoView.java new file mode 100644 index 000000000..e52125715 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VideoView.java @@ -0,0 +1,384 @@ +/* + * 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.Deprecated; +import java.lang.Double; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * VideoView + * + *

Details of a single video view + */ +public class VideoView { + /** + * The contact details who watched a video + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("contact") + private Contact2 contact; + + /** + * The solution where the video exists. Attendee Hub and Events+ represent two different solutions + * where the video can be found. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("solution") + private Solution solution; + + /** + * The device details used to watched a video. This field has been deprecated. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("device") + @Deprecated + private Device1 device; + + /** + * The details of a video + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("video") + private Video1 video; + + /** + * The view type of the video. Videos can be viewed live or as a recording. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private ViewType1 type; + + /** + * The total duration of the video (in milliseconds). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("totalDuration") + private Long totalDuration; + + /** + * The total duration of the video watched by the viewer (in milliseconds). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("watchDuration") + private Long watchDuration; + + /** + * The percentage of the video watched by the viewer. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("watchPercentage") + private Double watchPercentage; + + @JsonCreator + public VideoView( + @JsonProperty("contact") @Nullable Contact2 contact, + @JsonProperty("solution") @Nullable Solution solution, + @JsonProperty("device") @Nullable Device1 device, + @JsonProperty("video") @Nullable Video1 video, + @JsonProperty("type") @Nullable ViewType1 type, + @JsonProperty("totalDuration") @Nullable Long totalDuration, + @JsonProperty("watchDuration") @Nullable Long watchDuration, + @JsonProperty("watchPercentage") @Nullable Double watchPercentage) { + this.contact = contact; + this.solution = solution; + this.device = device; + this.video = video; + this.type = type; + this.totalDuration = totalDuration; + this.watchDuration = watchDuration; + this.watchPercentage = watchPercentage; + } + + public VideoView() { + this(null, null, null, null, null, null, null, null); + } + + /** + * The contact details who watched a video + */ + public Optional contact() { + return Optional.ofNullable(this.contact); + } + + /** + * The solution where the video exists. Attendee Hub and Events+ represent two different solutions + * where the video can be found. + */ + public Optional solution() { + return Optional.ofNullable(this.solution); + } + + /** + * The device details used to watched a video. This field has been deprecated. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Optional device() { + return Optional.ofNullable(this.device); + } + + /** + * The details of a video + */ + public Optional video() { + return Optional.ofNullable(this.video); + } + + /** + * The view type of the video. Videos can be viewed live or as a recording. + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + /** + * The total duration of the video (in milliseconds). + */ + public Optional totalDuration() { + return Optional.ofNullable(this.totalDuration); + } + + /** + * The total duration of the video watched by the viewer (in milliseconds). + */ + public Optional watchDuration() { + return Optional.ofNullable(this.watchDuration); + } + + /** + * The percentage of the video watched by the viewer. + */ + public Optional watchPercentage() { + return Optional.ofNullable(this.watchPercentage); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The contact details who watched a video + */ + public VideoView withContact(@Nullable Contact2 contact) { + this.contact = contact; + return this; + } + + /** + * The solution where the video exists. Attendee Hub and Events+ represent two different solutions + * where the video can be found. + */ + public VideoView withSolution(@Nullable Solution solution) { + this.solution = solution; + return this; + } + + /** + * The device details used to watched a video. This field has been deprecated. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public VideoView withDevice(@Nullable Device1 device) { + this.device = device; + return this; + } + + /** + * The details of a video + */ + public VideoView withVideo(@Nullable Video1 video) { + this.video = video; + return this; + } + + /** + * The view type of the video. Videos can be viewed live or as a recording. + */ + public VideoView withType(@Nullable ViewType1 type) { + this.type = type; + return this; + } + + /** + * The total duration of the video (in milliseconds). + */ + public VideoView withTotalDuration(@Nullable Long totalDuration) { + this.totalDuration = totalDuration; + return this; + } + + /** + * The total duration of the video watched by the viewer (in milliseconds). + */ + public VideoView withWatchDuration(@Nullable Long watchDuration) { + this.watchDuration = watchDuration; + return this; + } + + /** + * The percentage of the video watched by the viewer. + */ + public VideoView withWatchPercentage(@Nullable Double watchPercentage) { + this.watchPercentage = watchPercentage; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + VideoView other = (VideoView) o; + return Utils.enhancedDeepEquals(this.contact, other.contact) + && Utils.enhancedDeepEquals(this.solution, other.solution) + && Utils.enhancedDeepEquals(this.device, other.device) + && Utils.enhancedDeepEquals(this.video, other.video) + && Utils.enhancedDeepEquals(this.type, other.type) + && Utils.enhancedDeepEquals(this.totalDuration, other.totalDuration) + && Utils.enhancedDeepEquals(this.watchDuration, other.watchDuration) + && Utils.enhancedDeepEquals(this.watchPercentage, other.watchPercentage); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + contact, solution, device, video, type, totalDuration, watchDuration, watchPercentage); + } + + @Override + public String toString() { + return Utils.toString( + VideoView.class, + "contact", + contact, + "solution", + solution, + "device", + device, + "video", + video, + "type", + type, + "totalDuration", + totalDuration, + "watchDuration", + watchDuration, + "watchPercentage", + watchPercentage); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private Contact2 contact; + + private Solution solution; + + @Deprecated + private Device1 device; + + private Video1 video; + + private ViewType1 type; + + private Long totalDuration; + + private Long watchDuration; + + private Double watchPercentage; + + private Builder() { + // force use of static builder() method + } + + /** + * The contact details who watched a video + */ + public Builder contact(@Nullable Contact2 contact) { + this.contact = contact; + return this; + } + + /** + * The solution where the video exists. Attendee Hub and Events+ represent two different solutions + * where the video can be found. + */ + public Builder solution(@Nullable Solution solution) { + this.solution = solution; + return this; + } + + /** + * The device details used to watched a video. This field has been deprecated. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated + public Builder device(@Nullable Device1 device) { + this.device = device; + return this; + } + + /** + * The details of a video + */ + public Builder video(@Nullable Video1 video) { + this.video = video; + return this; + } + + /** + * The view type of the video. Videos can be viewed live or as a recording. + */ + public Builder type(@Nullable ViewType1 type) { + this.type = type; + return this; + } + + /** + * The total duration of the video (in milliseconds). + */ + public Builder totalDuration(@Nullable Long totalDuration) { + this.totalDuration = totalDuration; + return this; + } + + /** + * The total duration of the video watched by the viewer (in milliseconds). + */ + public Builder watchDuration(@Nullable Long watchDuration) { + this.watchDuration = watchDuration; + return this; + } + + /** + * The percentage of the video watched by the viewer. + */ + public Builder watchPercentage(@Nullable Double watchPercentage) { + this.watchPercentage = watchPercentage; + return this; + } + + public VideoView build() { + return new VideoView(contact, solution, device, video, type, totalDuration, watchDuration, watchPercentage); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VideoViewJson.java b/packages/java/src/main/java/com/cvent/models/components/VideoViewJson.java deleted file mode 100644 index 9fc25cf9d..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/VideoViewJson.java +++ /dev/null @@ -1,385 +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.Deprecated; -import java.lang.Double; -import java.lang.Long; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * VideoViewJson - * - *

Details of a single video view - */ -public class VideoViewJson { - /** - * The contact details who watched a video - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("contact") - private ContactJson2 contact; - - /** - * The solution where the video exists. Attendee Hub and Events+ represent two different solutions - * where the video can be found. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("solution") - private SolutionJson solution; - - /** - * The device details used to watched a video. This field has been deprecated. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("device") - @Deprecated - private DeviceJson device; - - /** - * The details of a video - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("video") - private VideoJson video; - - /** - * The view type of the video. Videos can be viewed live or as a recording. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private ViewTypeJson1 type; - - /** - * The total duration of the video (in milliseconds). - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("totalDuration") - private Long totalDuration; - - /** - * The total duration of the video watched by the viewer (in milliseconds). - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("watchDuration") - private Long watchDuration; - - /** - * The percentage of the video watched by the viewer. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("watchPercentage") - private Double watchPercentage; - - @JsonCreator - public VideoViewJson( - @JsonProperty("contact") @Nullable ContactJson2 contact, - @JsonProperty("solution") @Nullable SolutionJson solution, - @JsonProperty("device") @Nullable DeviceJson device, - @JsonProperty("video") @Nullable VideoJson video, - @JsonProperty("type") @Nullable ViewTypeJson1 type, - @JsonProperty("totalDuration") @Nullable Long totalDuration, - @JsonProperty("watchDuration") @Nullable Long watchDuration, - @JsonProperty("watchPercentage") @Nullable Double watchPercentage) { - this.contact = contact; - this.solution = solution; - this.device = device; - this.video = video; - this.type = type; - this.totalDuration = totalDuration; - this.watchDuration = watchDuration; - this.watchPercentage = watchPercentage; - } - - public VideoViewJson() { - this(null, null, null, null, null, null, null, null); - } - - /** - * The contact details who watched a video - */ - public Optional contact() { - return Optional.ofNullable(this.contact); - } - - /** - * The solution where the video exists. Attendee Hub and Events+ represent two different solutions - * where the video can be found. - */ - public Optional solution() { - return Optional.ofNullable(this.solution); - } - - /** - * The device details used to watched a video. This field has been deprecated. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Optional device() { - return Optional.ofNullable(this.device); - } - - /** - * The details of a video - */ - public Optional video() { - return Optional.ofNullable(this.video); - } - - /** - * The view type of the video. Videos can be viewed live or as a recording. - */ - public Optional type() { - return Optional.ofNullable(this.type); - } - - /** - * The total duration of the video (in milliseconds). - */ - public Optional totalDuration() { - return Optional.ofNullable(this.totalDuration); - } - - /** - * The total duration of the video watched by the viewer (in milliseconds). - */ - public Optional watchDuration() { - return Optional.ofNullable(this.watchDuration); - } - - /** - * The percentage of the video watched by the viewer. - */ - public Optional watchPercentage() { - return Optional.ofNullable(this.watchPercentage); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The contact details who watched a video - */ - public VideoViewJson withContact(@Nullable ContactJson2 contact) { - this.contact = contact; - return this; - } - - /** - * The solution where the video exists. Attendee Hub and Events+ represent two different solutions - * where the video can be found. - */ - public VideoViewJson withSolution(@Nullable SolutionJson solution) { - this.solution = solution; - return this; - } - - /** - * The device details used to watched a video. This field has been deprecated. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public VideoViewJson withDevice(@Nullable DeviceJson device) { - this.device = device; - return this; - } - - /** - * The details of a video - */ - public VideoViewJson withVideo(@Nullable VideoJson video) { - this.video = video; - return this; - } - - /** - * The view type of the video. Videos can be viewed live or as a recording. - */ - public VideoViewJson withType(@Nullable ViewTypeJson1 type) { - this.type = type; - return this; - } - - /** - * The total duration of the video (in milliseconds). - */ - public VideoViewJson withTotalDuration(@Nullable Long totalDuration) { - this.totalDuration = totalDuration; - return this; - } - - /** - * The total duration of the video watched by the viewer (in milliseconds). - */ - public VideoViewJson withWatchDuration(@Nullable Long watchDuration) { - this.watchDuration = watchDuration; - return this; - } - - /** - * The percentage of the video watched by the viewer. - */ - public VideoViewJson withWatchPercentage(@Nullable Double watchPercentage) { - this.watchPercentage = watchPercentage; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - VideoViewJson other = (VideoViewJson) o; - return Utils.enhancedDeepEquals(this.contact, other.contact) - && Utils.enhancedDeepEquals(this.solution, other.solution) - && Utils.enhancedDeepEquals(this.device, other.device) - && Utils.enhancedDeepEquals(this.video, other.video) - && Utils.enhancedDeepEquals(this.type, other.type) - && Utils.enhancedDeepEquals(this.totalDuration, other.totalDuration) - && Utils.enhancedDeepEquals(this.watchDuration, other.watchDuration) - && Utils.enhancedDeepEquals(this.watchPercentage, other.watchPercentage); - } - - @Override - public int hashCode() { - return Utils.enhancedHash( - contact, solution, device, video, type, totalDuration, watchDuration, watchPercentage); - } - - @Override - public String toString() { - return Utils.toString( - VideoViewJson.class, - "contact", - contact, - "solution", - solution, - "device", - device, - "video", - video, - "type", - type, - "totalDuration", - totalDuration, - "watchDuration", - watchDuration, - "watchPercentage", - watchPercentage); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private ContactJson2 contact; - - private SolutionJson solution; - - @Deprecated - private DeviceJson device; - - private VideoJson video; - - private ViewTypeJson1 type; - - private Long totalDuration; - - private Long watchDuration; - - private Double watchPercentage; - - private Builder() { - // force use of static builder() method - } - - /** - * The contact details who watched a video - */ - public Builder contact(@Nullable ContactJson2 contact) { - this.contact = contact; - return this; - } - - /** - * The solution where the video exists. Attendee Hub and Events+ represent two different solutions - * where the video can be found. - */ - public Builder solution(@Nullable SolutionJson solution) { - this.solution = solution; - return this; - } - - /** - * The device details used to watched a video. This field has been deprecated. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Builder device(@Nullable DeviceJson device) { - this.device = device; - return this; - } - - /** - * The details of a video - */ - public Builder video(@Nullable VideoJson video) { - this.video = video; - return this; - } - - /** - * The view type of the video. Videos can be viewed live or as a recording. - */ - public Builder type(@Nullable ViewTypeJson1 type) { - this.type = type; - return this; - } - - /** - * The total duration of the video (in milliseconds). - */ - public Builder totalDuration(@Nullable Long totalDuration) { - this.totalDuration = totalDuration; - return this; - } - - /** - * The total duration of the video watched by the viewer (in milliseconds). - */ - public Builder watchDuration(@Nullable Long watchDuration) { - this.watchDuration = watchDuration; - return this; - } - - /** - * The percentage of the video watched by the viewer. - */ - public Builder watchPercentage(@Nullable Double watchPercentage) { - this.watchPercentage = watchPercentage; - return this; - } - - public VideoViewJson build() { - return new VideoViewJson( - contact, solution, device, video, type, totalDuration, watchDuration, watchPercentage); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/VideoViewsPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/VideoViewsPaginatedResponse.java index 784e9f492..76b315495 100644 --- a/packages/java/src/main/java/com/cvent/models/components/VideoViewsPaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/VideoViewsPaginatedResponse.java @@ -25,19 +25,18 @@ public class VideoViewsPaginatedResponse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * List of unique video views. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("data") - private List data; + private List data; @JsonCreator public VideoViewsPaginatedResponse( - @JsonProperty("paging") @Nullable PagingJson paging, - @JsonProperty("data") @Nullable List data) { + @JsonProperty("paging") @Nullable Paging paging, @JsonProperty("data") @Nullable List data) { this.paging = paging; this.data = data; } @@ -49,14 +48,14 @@ public VideoViewsPaginatedResponse() { /** * Represents pagination information for a collection of resources. */ - public Optional paging() { + public Optional paging() { return Optional.ofNullable(this.paging); } /** * List of unique video views. */ - public Optional> data() { + public Optional> data() { return Optional.ofNullable(this.data); } @@ -67,7 +66,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public VideoViewsPaginatedResponse withPaging(@Nullable PagingJson paging) { + public VideoViewsPaginatedResponse withPaging(@Nullable Paging paging) { this.paging = paging; return this; } @@ -75,7 +74,7 @@ public VideoViewsPaginatedResponse withPaging(@Nullable PagingJson paging) { /** * List of unique video views. */ - public VideoViewsPaginatedResponse withData(@Nullable List data) { + public VideoViewsPaginatedResponse withData(@Nullable List data) { this.data = data; return this; } @@ -105,9 +104,9 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; - private List data; + private List data; private Builder() { // force use of static builder() method @@ -116,7 +115,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nullable PagingJson paging) { + public Builder paging(@Nullable Paging paging) { this.paging = paging; return this; } @@ -124,7 +123,7 @@ public Builder paging(@Nullable PagingJson paging) { /** * List of unique video views. */ - 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/VideoWarning.java b/packages/java/src/main/java/com/cvent/models/components/VideoWarning.java new file mode 100644 index 000000000..f9a840ec5 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VideoWarning.java @@ -0,0 +1,131 @@ +/* + * 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; + +/** + * VideoWarning + * + *

This is used to denote the warnings for a video entity. + */ +public class VideoWarning { + /** + * This is used to denote the warning codes for a video entity. + */ + @JsonProperty("code") + private VideoWarningCode code; + + /** + * Warning message for the video. Message is a developer convenience never to be used in any context + * that needs localisation, subject to change at any time. + */ + @JsonProperty("message") + private String message; + + @JsonCreator + public VideoWarning( + @JsonProperty("code") @Nonnull VideoWarningCode code, @JsonProperty("message") @Nonnull String message) { + this.code = Optional.ofNullable(code).orElseThrow(() -> new IllegalArgumentException("code cannot be null")); + this.message = + Optional.ofNullable(message).orElseThrow(() -> new IllegalArgumentException("message cannot be null")); + } + + /** + * This is used to denote the warning codes for a video entity. + */ + public VideoWarningCode code() { + return this.code; + } + + /** + * Warning message for the video. Message is a developer convenience never to be used in any context + * that needs localisation, subject to change at any time. + */ + public String message() { + return this.message; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * This is used to denote the warning codes for a video entity. + */ + public VideoWarning withCode(@Nonnull VideoWarningCode code) { + this.code = Utils.checkNotNull(code, "code"); + return this; + } + + /** + * Warning message for the video. Message is a developer convenience never to be used in any context + * that needs localisation, subject to change at any time. + */ + public VideoWarning withMessage(@Nonnull String message) { + this.message = Utils.checkNotNull(message, "message"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + VideoWarning other = (VideoWarning) o; + return Utils.enhancedDeepEquals(this.code, other.code) && Utils.enhancedDeepEquals(this.message, other.message); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(code, message); + } + + @Override + public String toString() { + return Utils.toString(VideoWarning.class, "code", code, "message", message); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private VideoWarningCode code; + + private String message; + + private Builder() { + // force use of static builder() method + } + + /** + * This is used to denote the warning codes for a video entity. + */ + public Builder code(@Nonnull VideoWarningCode code) { + this.code = Utils.checkNotNull(code, "code"); + return this; + } + + /** + * Warning message for the video. Message is a developer convenience never to be used in any context + * that needs localisation, subject to change at any time. + */ + public Builder message(@Nonnull String message) { + this.message = Utils.checkNotNull(message, "message"); + return this; + } + + public VideoWarning build() { + return new VideoWarning(code, message); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VideoWarningCode.java b/packages/java/src/main/java/com/cvent/models/components/VideoWarningCode.java new file mode 100644 index 000000000..32eea291e --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VideoWarningCode.java @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Objects; +import java.util.Optional; + +/** + * VideoWarningCode + * + *

This is used to denote the warning codes for a video entity. + */ +public enum VideoWarningCode { + SEVEN_HUNDRED(700L); + + @JsonValue + private final long value; + + VideoWarningCode(long value) { + this.value = value; + } + + public long value() { + return value; + } + + public static Optional fromValue(long value) { + for (VideoWarningCode o : VideoWarningCode.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/VideoWarningCodeJson.java b/packages/java/src/main/java/com/cvent/models/components/VideoWarningCodeJson.java deleted file mode 100644 index 5d7f1cb99..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/VideoWarningCodeJson.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.fasterxml.jackson.annotation.JsonValue; -import java.util.Objects; -import java.util.Optional; - -/** - * VideoWarningCodeJson - * - *

This is used to denote the warning codes for a video entity. - */ -public enum VideoWarningCodeJson { - SEVEN_HUNDRED(700L); - - @JsonValue - private final long value; - - VideoWarningCodeJson(long value) { - this.value = value; - } - - public long value() { - return value; - } - - public static Optional fromValue(long value) { - for (VideoWarningCodeJson o : VideoWarningCodeJson.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/VideoWarningJson.java b/packages/java/src/main/java/com/cvent/models/components/VideoWarningJson.java deleted file mode 100644 index bf4c00a1d..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/VideoWarningJson.java +++ /dev/null @@ -1,132 +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.Optional; - -/** - * VideoWarningJson - * - *

This is used to denote the warnings for a video entity. - */ -public class VideoWarningJson { - /** - * This is used to denote the warning codes for a video entity. - */ - @JsonProperty("code") - private VideoWarningCodeJson code; - - /** - * Warning message for the video. Message is a developer convenience never to be used in any context - * that needs localisation, subject to change at any time. - */ - @JsonProperty("message") - private String message; - - @JsonCreator - public VideoWarningJson( - @JsonProperty("code") @Nonnull VideoWarningCodeJson code, - @JsonProperty("message") @Nonnull String message) { - this.code = Optional.ofNullable(code).orElseThrow(() -> new IllegalArgumentException("code cannot be null")); - this.message = - Optional.ofNullable(message).orElseThrow(() -> new IllegalArgumentException("message cannot be null")); - } - - /** - * This is used to denote the warning codes for a video entity. - */ - public VideoWarningCodeJson code() { - return this.code; - } - - /** - * Warning message for the video. Message is a developer convenience never to be used in any context - * that needs localisation, subject to change at any time. - */ - public String message() { - return this.message; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * This is used to denote the warning codes for a video entity. - */ - public VideoWarningJson withCode(@Nonnull VideoWarningCodeJson code) { - this.code = Utils.checkNotNull(code, "code"); - return this; - } - - /** - * Warning message for the video. Message is a developer convenience never to be used in any context - * that needs localisation, subject to change at any time. - */ - public VideoWarningJson withMessage(@Nonnull String message) { - this.message = Utils.checkNotNull(message, "message"); - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - VideoWarningJson other = (VideoWarningJson) o; - return Utils.enhancedDeepEquals(this.code, other.code) && Utils.enhancedDeepEquals(this.message, other.message); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(code, message); - } - - @Override - public String toString() { - return Utils.toString(VideoWarningJson.class, "code", code, "message", message); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private VideoWarningCodeJson code; - - private String message; - - private Builder() { - // force use of static builder() method - } - - /** - * This is used to denote the warning codes for a video entity. - */ - public Builder code(@Nonnull VideoWarningCodeJson code) { - this.code = Utils.checkNotNull(code, "code"); - return this; - } - - /** - * Warning message for the video. Message is a developer convenience never to be used in any context - * that needs localisation, subject to change at any time. - */ - public Builder message(@Nonnull String message) { - this.message = Utils.checkNotNull(message, "message"); - return this; - } - - public VideoWarningJson build() { - return new VideoWarningJson(code, message); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/VideosPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/VideosPaginatedResponse.java index 261eedeed..2b94672e5 100644 --- a/packages/java/src/main/java/com/cvent/models/components/VideosPaginatedResponse.java +++ b/packages/java/src/main/java/com/cvent/models/components/VideosPaginatedResponse.java @@ -23,7 +23,7 @@ public class VideosPaginatedResponse { * Represents pagination information for a collection of resources. */ @JsonProperty("paging") - private PagingJson paging; + private Paging paging; /** * Collection of videos. @@ -33,7 +33,7 @@ public class VideosPaginatedResponse { @JsonCreator public VideosPaginatedResponse( - @JsonProperty("paging") @Nonnull PagingJson paging, + @JsonProperty("paging") @Nonnull Paging paging, @JsonProperty("data") @Nonnull List data) { this.paging = Optional.ofNullable(paging).orElseThrow(() -> new IllegalArgumentException("paging cannot be null")); @@ -43,7 +43,7 @@ public VideosPaginatedResponse( /** * Represents pagination information for a collection of resources. */ - public PagingJson paging() { + public Paging paging() { return this.paging; } @@ -61,7 +61,7 @@ public static Builder builder() { /** * Represents pagination information for a collection of resources. */ - public VideosPaginatedResponse withPaging(@Nonnull PagingJson paging) { + public VideosPaginatedResponse withPaging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } @@ -99,7 +99,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private PagingJson paging; + private Paging paging; private List data; @@ -110,7 +110,7 @@ private Builder() { /** * Represents pagination information for a collection of resources. */ - public Builder paging(@Nonnull PagingJson paging) { + public Builder paging(@Nonnull Paging paging) { this.paging = Utils.checkNotNull(paging, "paging"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ViewType1.java b/packages/java/src/main/java/com/cvent/models/components/ViewType1.java new file mode 100644 index 000000000..22219e48f --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ViewType1.java @@ -0,0 +1,39 @@ +/* + * 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; + +/** + * ViewType1 + * + *

The view type of the video. Videos can be viewed live or as a recording. + */ +public enum ViewType1 { + LIVE("LIVE"), + RECORDING("RECORDING"); + + @JsonValue + private final String value; + + ViewType1(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (ViewType1 o : ViewType1.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/ViewTypeJson1.java b/packages/java/src/main/java/com/cvent/models/components/ViewTypeJson1.java deleted file mode 100644 index f1f1d38a3..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ViewTypeJson1.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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; - -/** - * ViewTypeJson1 - * - *

The view type of the video. Videos can be viewed live or as a recording. - */ -public enum ViewTypeJson1 { - LIVE("LIVE"), - RECORDING("RECORDING"); - - @JsonValue - private final String value; - - ViewTypeJson1(String value) { - this.value = value; - } - - public String value() { - return value; - } - - public static Optional fromValue(String value) { - for (ViewTypeJson1 o : ViewTypeJson1.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/Voucher.java b/packages/java/src/main/java/com/cvent/models/components/Voucher.java new file mode 100644 index 000000000..f337c3e54 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/Voucher.java @@ -0,0 +1,332 @@ +/* + * 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.time.OffsetDateTime; +import java.util.Optional; + +/** + * Voucher + * + *

Represents a voucher configured for an event. Event-level vouchers are special codes that can be + * assigned to invitees or attendees, enabling benefits such as free registration, discounted pricing, + * or other promotional entitlements during the registration process. + */ +public class Voucher { + /** + * Voucher ID. + */ + @JsonProperty("id") + private String id; + + /** + * The unique planner-defined code that invitees enter during registration to redeem the voucher. + */ + @JsonProperty("code") + private String code; + + /** + * A description of the voucher and its intended use. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("description") + private String description; + + /** + * The email address that receives a notification whenever the voucher is redeemed. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("alertEmailAddress") + private String alertEmailAddress; + + /** + * Represents the capacity details for a voucher, including the total allowed redemptions and the + * number already redeemed. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("capacity") + private VoucherCapacity capacity; + + /** + * The identity of the user or system that last modified the voucher. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lastModifiedBy") + private String lastModifiedBy; + + /** + * The ISO 8601 formatted date and time when the voucher was last modified, expressed in UTC. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lastModifiedDate") + private OffsetDateTime lastModifiedDate; + + @JsonCreator + public Voucher( + @JsonProperty("id") @Nonnull String id, + @JsonProperty("code") @Nonnull String code, + @JsonProperty("description") @Nullable String description, + @JsonProperty("alertEmailAddress") @Nullable String alertEmailAddress, + @JsonProperty("capacity") @Nullable VoucherCapacity capacity, + @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, + @JsonProperty("lastModifiedDate") @Nullable OffsetDateTime lastModifiedDate) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.code = Optional.ofNullable(code).orElseThrow(() -> new IllegalArgumentException("code cannot be null")); + this.description = description; + this.alertEmailAddress = alertEmailAddress; + this.capacity = capacity; + this.lastModifiedBy = lastModifiedBy; + this.lastModifiedDate = lastModifiedDate; + } + + public Voucher(@Nonnull String id, @Nonnull String code) { + this(id, code, null, null, null, null, null); + } + + /** + * Voucher ID. + */ + public String id() { + return this.id; + } + + /** + * The unique planner-defined code that invitees enter during registration to redeem the voucher. + */ + public String code() { + return this.code; + } + + /** + * A description of the voucher and its intended use. + */ + public Optional description() { + return Optional.ofNullable(this.description); + } + + /** + * The email address that receives a notification whenever the voucher is redeemed. + */ + public Optional alertEmailAddress() { + return Optional.ofNullable(this.alertEmailAddress); + } + + /** + * Represents the capacity details for a voucher, including the total allowed redemptions and the + * number already redeemed. + */ + public Optional capacity() { + return Optional.ofNullable(this.capacity); + } + + /** + * The identity of the user or system that last modified the voucher. + */ + public Optional lastModifiedBy() { + return Optional.ofNullable(this.lastModifiedBy); + } + + /** + * The ISO 8601 formatted date and time when the voucher was last modified, expressed in UTC. + */ + public Optional lastModifiedDate() { + return Optional.ofNullable(this.lastModifiedDate); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Voucher ID. + */ + public Voucher withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The unique planner-defined code that invitees enter during registration to redeem the voucher. + */ + public Voucher withCode(@Nonnull String code) { + this.code = Utils.checkNotNull(code, "code"); + return this; + } + + /** + * A description of the voucher and its intended use. + */ + public Voucher withDescription(@Nullable String description) { + this.description = description; + return this; + } + + /** + * The email address that receives a notification whenever the voucher is redeemed. + */ + public Voucher withAlertEmailAddress(@Nullable String alertEmailAddress) { + this.alertEmailAddress = alertEmailAddress; + return this; + } + + /** + * Represents the capacity details for a voucher, including the total allowed redemptions and the + * number already redeemed. + */ + public Voucher withCapacity(@Nullable VoucherCapacity capacity) { + this.capacity = capacity; + return this; + } + + /** + * The identity of the user or system that last modified the voucher. + */ + public Voucher withLastModifiedBy(@Nullable String lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + return this; + } + + /** + * The ISO 8601 formatted date and time when the voucher was last modified, expressed in UTC. + */ + public Voucher withLastModifiedDate(@Nullable OffsetDateTime lastModifiedDate) { + this.lastModifiedDate = lastModifiedDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Voucher other = (Voucher) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.code, other.code) + && Utils.enhancedDeepEquals(this.description, other.description) + && Utils.enhancedDeepEquals(this.alertEmailAddress, other.alertEmailAddress) + && Utils.enhancedDeepEquals(this.capacity, other.capacity) + && Utils.enhancedDeepEquals(this.lastModifiedBy, other.lastModifiedBy) + && Utils.enhancedDeepEquals(this.lastModifiedDate, other.lastModifiedDate); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, code, description, alertEmailAddress, capacity, lastModifiedBy, lastModifiedDate); + } + + @Override + public String toString() { + return Utils.toString( + Voucher.class, + "id", + id, + "code", + code, + "description", + description, + "alertEmailAddress", + alertEmailAddress, + "capacity", + capacity, + "lastModifiedBy", + lastModifiedBy, + "lastModifiedDate", + lastModifiedDate); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String code; + + private String description; + + private String alertEmailAddress; + + private VoucherCapacity capacity; + + private String lastModifiedBy; + + private OffsetDateTime lastModifiedDate; + + private Builder() { + // force use of static builder() method + } + + /** + * Voucher ID. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The unique planner-defined code that invitees enter during registration to redeem the voucher. + */ + public Builder code(@Nonnull String code) { + this.code = Utils.checkNotNull(code, "code"); + return this; + } + + /** + * A description of the voucher and its intended use. + */ + public Builder description(@Nullable String description) { + this.description = description; + return this; + } + + /** + * The email address that receives a notification whenever the voucher is redeemed. + */ + public Builder alertEmailAddress(@Nullable String alertEmailAddress) { + this.alertEmailAddress = alertEmailAddress; + return this; + } + + /** + * Represents the capacity details for a voucher, including the total allowed redemptions and the + * number already redeemed. + */ + public Builder capacity(@Nullable VoucherCapacity capacity) { + this.capacity = capacity; + return this; + } + + /** + * The identity of the user or system that last modified the voucher. + */ + public Builder lastModifiedBy(@Nullable String lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + return this; + } + + /** + * The ISO 8601 formatted date and time when the voucher was last modified, expressed in UTC. + */ + public Builder lastModifiedDate(@Nullable OffsetDateTime lastModifiedDate) { + this.lastModifiedDate = lastModifiedDate; + return this; + } + + public Voucher build() { + return new Voucher(id, code, description, alertEmailAddress, capacity, lastModifiedBy, lastModifiedDate); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VoucherCapacity.java b/packages/java/src/main/java/com/cvent/models/components/VoucherCapacity.java new file mode 100644 index 000000000..f99d53210 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VoucherCapacity.java @@ -0,0 +1,129 @@ +/* + * 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 java.lang.Override; +import java.lang.String; + +/** + * VoucherCapacity + * + *

Represents the capacity details for a voucher, including the total allowed redemptions and the + * number already redeemed. + */ +public class VoucherCapacity { + /** + * The maximum number of times the voucher can be redeemed. Default value of -1 indicates unlimited + * capacity. + */ + @JsonProperty("total") + private long total; + + /** + * The number of times the voucher has already been redeemed. + */ + @JsonProperty("redeemedCount") + private long redeemedCount; + + @JsonCreator + public VoucherCapacity(@JsonProperty("total") long total, @JsonProperty("redeemedCount") long redeemedCount) { + this.total = total; + this.redeemedCount = redeemedCount; + } + + /** + * The maximum number of times the voucher can be redeemed. Default value of -1 indicates unlimited + * capacity. + */ + public long total() { + return this.total; + } + + /** + * The number of times the voucher has already been redeemed. + */ + public long redeemedCount() { + return this.redeemedCount; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The maximum number of times the voucher can be redeemed. Default value of -1 indicates unlimited + * capacity. + */ + public VoucherCapacity withTotal(long total) { + this.total = total; + return this; + } + + /** + * The number of times the voucher has already been redeemed. + */ + public VoucherCapacity withRedeemedCount(long redeemedCount) { + this.redeemedCount = redeemedCount; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + VoucherCapacity other = (VoucherCapacity) o; + return Utils.enhancedDeepEquals(this.total, other.total) + && Utils.enhancedDeepEquals(this.redeemedCount, other.redeemedCount); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(total, redeemedCount); + } + + @Override + public String toString() { + return Utils.toString(VoucherCapacity.class, "total", total, "redeemedCount", redeemedCount); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private long total; + + private long redeemedCount; + + private Builder() { + // force use of static builder() method + } + + /** + * The maximum number of times the voucher can be redeemed. Default value of -1 indicates unlimited + * capacity. + */ + public Builder total(long total) { + this.total = total; + return this; + } + + /** + * The number of times the voucher has already been redeemed. + */ + public Builder redeemedCount(long redeemedCount) { + this.redeemedCount = redeemedCount; + return this; + } + + public VoucherCapacity build() { + return new VoucherCapacity(total, redeemedCount); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VouchersPaginatedResponse.java b/packages/java/src/main/java/com/cvent/models/components/VouchersPaginatedResponse.java new file mode 100644 index 000000000..88728d0fc --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VouchersPaginatedResponse.java @@ -0,0 +1,128 @@ +/* + * 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; + +/** + * VouchersPaginatedResponse + * + *

A paginated response of vouchers. + */ +public class VouchersPaginatedResponse { + /** + * Represents pagination information for a collection of resources. + */ + @JsonProperty("paging") + private Paging paging; + + /** + * Collection of vouchers. + */ + @JsonProperty("data") + private List data; + + @JsonCreator + public VouchersPaginatedResponse( + @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; + } + + /** + * Collection of vouchers. + */ + public List data() { + return this.data; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Represents pagination information for a collection of resources. + */ + public VouchersPaginatedResponse withPaging(@Nonnull Paging paging) { + this.paging = Utils.checkNotNull(paging, "paging"); + return this; + } + + /** + * Collection of vouchers. + */ + public VouchersPaginatedResponse 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; + } + VouchersPaginatedResponse other = (VouchersPaginatedResponse) 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(VouchersPaginatedResponse.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; + } + + /** + * Collection of vouchers. + */ + public Builder data(@Nonnull List data) { + this.data = Utils.checkNotNull(data, "data"); + return this; + } + + public VouchersPaginatedResponse build() { + return new VouchersPaginatedResponse(paging, data); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/Weblink.java b/packages/java/src/main/java/com/cvent/models/components/Weblink.java index 737a8055f..c5380fc8e 100644 --- a/packages/java/src/main/java/com/cvent/models/components/Weblink.java +++ b/packages/java/src/main/java/com/cvent/models/components/Weblink.java @@ -27,7 +27,7 @@ public class Weblink { * The Associated Event. */ @JsonProperty("event") - private Event21 event; + private Event3 event; /** * The Associated Exhibitor. @@ -62,7 +62,7 @@ public class Weblink { @JsonCreator public Weblink( - @JsonProperty("event") @Nonnull Event21 event, + @JsonProperty("event") @Nonnull Event3 event, @JsonProperty("exhibitor") @Nonnull Exhibitor exhibitor, @JsonProperty("name") @Nonnull String name, @JsonProperty("url") @Nonnull String url, @@ -78,7 +78,7 @@ public Weblink( } public Weblink( - @Nonnull Event21 event, + @Nonnull Event3 event, @Nonnull Exhibitor exhibitor, @Nonnull String name, @Nonnull String url, @@ -89,7 +89,7 @@ public Weblink( /** * The Associated Event. */ - public Event21 event() { + public Event3 event() { return this.event; } @@ -135,7 +135,7 @@ public static Builder builder() { /** * The Associated Event. */ - public Weblink withEvent(@Nonnull Event21 event) { + public Weblink withEvent(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } @@ -223,7 +223,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private Event21 event; + private Event3 event; private Exhibitor exhibitor; @@ -242,7 +242,7 @@ private Builder() { /** * The Associated Event. */ - public Builder event(@Nonnull Event21 event) { + public Builder event(@Nonnull Event3 event) { this.event = Utils.checkNotNull(event, "event"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/WeddingDetails1.java b/packages/java/src/main/java/com/cvent/models/components/WeddingDetails1.java new file mode 100644 index 000000000..49ec4ab0e --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/WeddingDetails1.java @@ -0,0 +1,291 @@ +/* + * 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; + +/** + * WeddingDetails1 + * + *

Wedding details. + */ +public class WeddingDetails1 { + /** + * Represents wedding partner. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("firstPartner") + private WeddingPartner firstPartner; + + /** + * Represents wedding partner. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("secondPartner") + private WeddingPartner secondPartner; + + /** + * True indicates ceremony is planned. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("ceremony") + private Boolean ceremony; + + /** + * True indicates reception is planned. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("reception") + private Boolean reception; + + /** + * True indicates farewell brunch is planned. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("farewellBrunch") + private Boolean farewellBrunch; + + /** + * True indicates rehearsal dinner is planned. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("rehearsalDinner") + private Boolean rehearsalDinner; + + @JsonCreator + public WeddingDetails1( + @JsonProperty("firstPartner") @Nullable WeddingPartner firstPartner, + @JsonProperty("secondPartner") @Nullable WeddingPartner secondPartner, + @JsonProperty("ceremony") @Nullable Boolean ceremony, + @JsonProperty("reception") @Nullable Boolean reception, + @JsonProperty("farewellBrunch") @Nullable Boolean farewellBrunch, + @JsonProperty("rehearsalDinner") @Nullable Boolean rehearsalDinner) { + this.firstPartner = firstPartner; + this.secondPartner = secondPartner; + this.ceremony = ceremony; + this.reception = reception; + this.farewellBrunch = farewellBrunch; + this.rehearsalDinner = rehearsalDinner; + } + + public WeddingDetails1() { + this(null, null, null, null, null, null); + } + + /** + * Represents wedding partner. + */ + public Optional firstPartner() { + return Optional.ofNullable(this.firstPartner); + } + + /** + * Represents wedding partner. + */ + public Optional secondPartner() { + return Optional.ofNullable(this.secondPartner); + } + + /** + * True indicates ceremony is planned. + */ + public Optional ceremony() { + return Optional.ofNullable(this.ceremony); + } + + /** + * True indicates reception is planned. + */ + public Optional reception() { + return Optional.ofNullable(this.reception); + } + + /** + * True indicates farewell brunch is planned. + */ + public Optional farewellBrunch() { + return Optional.ofNullable(this.farewellBrunch); + } + + /** + * True indicates rehearsal dinner is planned. + */ + public Optional rehearsalDinner() { + return Optional.ofNullable(this.rehearsalDinner); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Represents wedding partner. + */ + public WeddingDetails1 withFirstPartner(@Nullable WeddingPartner firstPartner) { + this.firstPartner = firstPartner; + return this; + } + + /** + * Represents wedding partner. + */ + public WeddingDetails1 withSecondPartner(@Nullable WeddingPartner secondPartner) { + this.secondPartner = secondPartner; + return this; + } + + /** + * True indicates ceremony is planned. + */ + public WeddingDetails1 withCeremony(@Nullable Boolean ceremony) { + this.ceremony = ceremony; + return this; + } + + /** + * True indicates reception is planned. + */ + public WeddingDetails1 withReception(@Nullable Boolean reception) { + this.reception = reception; + return this; + } + + /** + * True indicates farewell brunch is planned. + */ + public WeddingDetails1 withFarewellBrunch(@Nullable Boolean farewellBrunch) { + this.farewellBrunch = farewellBrunch; + return this; + } + + /** + * True indicates rehearsal dinner is planned. + */ + public WeddingDetails1 withRehearsalDinner(@Nullable Boolean rehearsalDinner) { + this.rehearsalDinner = rehearsalDinner; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + WeddingDetails1 other = (WeddingDetails1) o; + return Utils.enhancedDeepEquals(this.firstPartner, other.firstPartner) + && Utils.enhancedDeepEquals(this.secondPartner, other.secondPartner) + && Utils.enhancedDeepEquals(this.ceremony, other.ceremony) + && Utils.enhancedDeepEquals(this.reception, other.reception) + && Utils.enhancedDeepEquals(this.farewellBrunch, other.farewellBrunch) + && Utils.enhancedDeepEquals(this.rehearsalDinner, other.rehearsalDinner); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(firstPartner, secondPartner, ceremony, reception, farewellBrunch, rehearsalDinner); + } + + @Override + public String toString() { + return Utils.toString( + WeddingDetails1.class, + "firstPartner", + firstPartner, + "secondPartner", + secondPartner, + "ceremony", + ceremony, + "reception", + reception, + "farewellBrunch", + farewellBrunch, + "rehearsalDinner", + rehearsalDinner); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private WeddingPartner firstPartner; + + private WeddingPartner secondPartner; + + private Boolean ceremony; + + private Boolean reception; + + private Boolean farewellBrunch; + + private Boolean rehearsalDinner; + + private Builder() { + // force use of static builder() method + } + + /** + * Represents wedding partner. + */ + public Builder firstPartner(@Nullable WeddingPartner firstPartner) { + this.firstPartner = firstPartner; + return this; + } + + /** + * Represents wedding partner. + */ + public Builder secondPartner(@Nullable WeddingPartner secondPartner) { + this.secondPartner = secondPartner; + return this; + } + + /** + * True indicates ceremony is planned. + */ + public Builder ceremony(@Nullable Boolean ceremony) { + this.ceremony = ceremony; + return this; + } + + /** + * True indicates reception is planned. + */ + public Builder reception(@Nullable Boolean reception) { + this.reception = reception; + return this; + } + + /** + * True indicates farewell brunch is planned. + */ + public Builder farewellBrunch(@Nullable Boolean farewellBrunch) { + this.farewellBrunch = farewellBrunch; + return this; + } + + /** + * True indicates rehearsal dinner is planned. + */ + public Builder rehearsalDinner(@Nullable Boolean rehearsalDinner) { + this.rehearsalDinner = rehearsalDinner; + return this; + } + + public WeddingDetails1 build() { + return new WeddingDetails1( + firstPartner, secondPartner, ceremony, reception, farewellBrunch, rehearsalDinner); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/WeddingDetailsJson0.java b/packages/java/src/main/java/com/cvent/models/components/WeddingDetailsJson0.java deleted file mode 100644 index 495d42867..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/WeddingDetailsJson0.java +++ /dev/null @@ -1,291 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * WeddingDetailsJson0 - * - *

Wedding details. - */ -public class WeddingDetailsJson0 { - /** - * Represents wedding partner. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("firstPartner") - private WeddingPartnerJson firstPartner; - - /** - * Represents wedding partner. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("secondPartner") - private WeddingPartnerJson secondPartner; - - /** - * True indicates ceremony is planned. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("ceremony") - private Boolean ceremony; - - /** - * True indicates reception is planned. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("reception") - private Boolean reception; - - /** - * True indicates farewell brunch is planned. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("farewellBrunch") - private Boolean farewellBrunch; - - /** - * True indicates rehearsal dinner is planned. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("rehearsalDinner") - private Boolean rehearsalDinner; - - @JsonCreator - public WeddingDetailsJson0( - @JsonProperty("firstPartner") @Nullable WeddingPartnerJson firstPartner, - @JsonProperty("secondPartner") @Nullable WeddingPartnerJson secondPartner, - @JsonProperty("ceremony") @Nullable Boolean ceremony, - @JsonProperty("reception") @Nullable Boolean reception, - @JsonProperty("farewellBrunch") @Nullable Boolean farewellBrunch, - @JsonProperty("rehearsalDinner") @Nullable Boolean rehearsalDinner) { - this.firstPartner = firstPartner; - this.secondPartner = secondPartner; - this.ceremony = ceremony; - this.reception = reception; - this.farewellBrunch = farewellBrunch; - this.rehearsalDinner = rehearsalDinner; - } - - public WeddingDetailsJson0() { - this(null, null, null, null, null, null); - } - - /** - * Represents wedding partner. - */ - public Optional firstPartner() { - return Optional.ofNullable(this.firstPartner); - } - - /** - * Represents wedding partner. - */ - public Optional secondPartner() { - return Optional.ofNullable(this.secondPartner); - } - - /** - * True indicates ceremony is planned. - */ - public Optional ceremony() { - return Optional.ofNullable(this.ceremony); - } - - /** - * True indicates reception is planned. - */ - public Optional reception() { - return Optional.ofNullable(this.reception); - } - - /** - * True indicates farewell brunch is planned. - */ - public Optional farewellBrunch() { - return Optional.ofNullable(this.farewellBrunch); - } - - /** - * True indicates rehearsal dinner is planned. - */ - public Optional rehearsalDinner() { - return Optional.ofNullable(this.rehearsalDinner); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Represents wedding partner. - */ - public WeddingDetailsJson0 withFirstPartner(@Nullable WeddingPartnerJson firstPartner) { - this.firstPartner = firstPartner; - return this; - } - - /** - * Represents wedding partner. - */ - public WeddingDetailsJson0 withSecondPartner(@Nullable WeddingPartnerJson secondPartner) { - this.secondPartner = secondPartner; - return this; - } - - /** - * True indicates ceremony is planned. - */ - public WeddingDetailsJson0 withCeremony(@Nullable Boolean ceremony) { - this.ceremony = ceremony; - return this; - } - - /** - * True indicates reception is planned. - */ - public WeddingDetailsJson0 withReception(@Nullable Boolean reception) { - this.reception = reception; - return this; - } - - /** - * True indicates farewell brunch is planned. - */ - public WeddingDetailsJson0 withFarewellBrunch(@Nullable Boolean farewellBrunch) { - this.farewellBrunch = farewellBrunch; - return this; - } - - /** - * True indicates rehearsal dinner is planned. - */ - public WeddingDetailsJson0 withRehearsalDinner(@Nullable Boolean rehearsalDinner) { - this.rehearsalDinner = rehearsalDinner; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - WeddingDetailsJson0 other = (WeddingDetailsJson0) o; - return Utils.enhancedDeepEquals(this.firstPartner, other.firstPartner) - && Utils.enhancedDeepEquals(this.secondPartner, other.secondPartner) - && Utils.enhancedDeepEquals(this.ceremony, other.ceremony) - && Utils.enhancedDeepEquals(this.reception, other.reception) - && Utils.enhancedDeepEquals(this.farewellBrunch, other.farewellBrunch) - && Utils.enhancedDeepEquals(this.rehearsalDinner, other.rehearsalDinner); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(firstPartner, secondPartner, ceremony, reception, farewellBrunch, rehearsalDinner); - } - - @Override - public String toString() { - return Utils.toString( - WeddingDetailsJson0.class, - "firstPartner", - firstPartner, - "secondPartner", - secondPartner, - "ceremony", - ceremony, - "reception", - reception, - "farewellBrunch", - farewellBrunch, - "rehearsalDinner", - rehearsalDinner); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private WeddingPartnerJson firstPartner; - - private WeddingPartnerJson secondPartner; - - private Boolean ceremony; - - private Boolean reception; - - private Boolean farewellBrunch; - - private Boolean rehearsalDinner; - - private Builder() { - // force use of static builder() method - } - - /** - * Represents wedding partner. - */ - public Builder firstPartner(@Nullable WeddingPartnerJson firstPartner) { - this.firstPartner = firstPartner; - return this; - } - - /** - * Represents wedding partner. - */ - public Builder secondPartner(@Nullable WeddingPartnerJson secondPartner) { - this.secondPartner = secondPartner; - return this; - } - - /** - * True indicates ceremony is planned. - */ - public Builder ceremony(@Nullable Boolean ceremony) { - this.ceremony = ceremony; - return this; - } - - /** - * True indicates reception is planned. - */ - public Builder reception(@Nullable Boolean reception) { - this.reception = reception; - return this; - } - - /** - * True indicates farewell brunch is planned. - */ - public Builder farewellBrunch(@Nullable Boolean farewellBrunch) { - this.farewellBrunch = farewellBrunch; - return this; - } - - /** - * True indicates rehearsal dinner is planned. - */ - public Builder rehearsalDinner(@Nullable Boolean rehearsalDinner) { - this.rehearsalDinner = rehearsalDinner; - return this; - } - - public WeddingDetailsJson0 build() { - return new WeddingDetailsJson0( - firstPartner, secondPartner, ceremony, reception, farewellBrunch, rehearsalDinner); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/WeddingPartner.java b/packages/java/src/main/java/com/cvent/models/components/WeddingPartner.java new file mode 100644 index 000000000..96a82173b --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/WeddingPartner.java @@ -0,0 +1,134 @@ +/* + * 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; + +/** + * WeddingPartner + * + *

Represents wedding partner. + */ +public class WeddingPartner { + /** + * BrideGroomType + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private BrideGroomType type; + + /** + * Name of the partner of the wedding couple. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private String name; + + @JsonCreator + public WeddingPartner( + @JsonProperty("type") @Nullable BrideGroomType type, @JsonProperty("name") @Nullable String name) { + this.type = type; + this.name = name; + } + + public WeddingPartner() { + this(null, null); + } + + /** + * BrideGroomType + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + /** + * Name of the partner of the wedding couple. + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * BrideGroomType + */ + public WeddingPartner withType(@Nullable BrideGroomType type) { + this.type = type; + return this; + } + + /** + * Name of the partner of the wedding couple. + */ + public WeddingPartner withName(@Nullable String name) { + this.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; + } + WeddingPartner other = (WeddingPartner) o; + return Utils.enhancedDeepEquals(this.type, other.type) && Utils.enhancedDeepEquals(this.name, other.name); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(type, name); + } + + @Override + public String toString() { + return Utils.toString(WeddingPartner.class, "type", type, "name", name); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private BrideGroomType type; + + private String name; + + private Builder() { + // force use of static builder() method + } + + /** + * BrideGroomType + */ + public Builder type(@Nullable BrideGroomType type) { + this.type = type; + return this; + } + + /** + * Name of the partner of the wedding couple. + */ + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + + public WeddingPartner build() { + return new WeddingPartner(type, name); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/WeddingPartnerJson.java b/packages/java/src/main/java/com/cvent/models/components/WeddingPartnerJson.java deleted file mode 100644 index a0345d425..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/WeddingPartnerJson.java +++ /dev/null @@ -1,134 +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.Override; -import java.lang.String; -import java.util.Optional; - -/** - * WeddingPartnerJson - * - *

Represents wedding partner. - */ -public class WeddingPartnerJson { - /** - * Bride groom type. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private BrideGroomTypeJson0 type; - - /** - * Name of the partner of the wedding couple. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("name") - private String name; - - @JsonCreator - public WeddingPartnerJson( - @JsonProperty("type") @Nullable BrideGroomTypeJson0 type, @JsonProperty("name") @Nullable String name) { - this.type = type; - this.name = name; - } - - public WeddingPartnerJson() { - this(null, null); - } - - /** - * Bride groom type. - */ - public Optional type() { - return Optional.ofNullable(this.type); - } - - /** - * Name of the partner of the wedding couple. - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Bride groom type. - */ - public WeddingPartnerJson withType(@Nullable BrideGroomTypeJson0 type) { - this.type = type; - return this; - } - - /** - * Name of the partner of the wedding couple. - */ - public WeddingPartnerJson withName(@Nullable String name) { - this.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; - } - WeddingPartnerJson other = (WeddingPartnerJson) o; - return Utils.enhancedDeepEquals(this.type, other.type) && Utils.enhancedDeepEquals(this.name, other.name); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(type, name); - } - - @Override - public String toString() { - return Utils.toString(WeddingPartnerJson.class, "type", type, "name", name); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private BrideGroomTypeJson0 type; - - private String name; - - private Builder() { - // force use of static builder() method - } - - /** - * Bride groom type. - */ - public Builder type(@Nullable BrideGroomTypeJson0 type) { - this.type = type; - return this; - } - - /** - * Name of the partner of the wedding couple. - */ - public Builder name(@Nullable String name) { - this.name = name; - return this; - } - - public WeddingPartnerJson build() { - return new WeddingPartnerJson(type, name); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf7.java b/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf7.java index fef227100..de90dfcd5 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf7.java +++ b/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf7.java @@ -3,1999 +3,204 @@ */ 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.Boolean; -import java.lang.Deprecated; import java.lang.Override; import java.lang.String; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.List; import java.util.Optional; /** * ZeroAllOf7 * - *

Represents a contact that has been created and has an id. + *

Represents an error response for the checkin APIs that includes a unique id. */ public class ZeroAllOf7 { /** - * The ISO 8601 zoned date time when this record was created. + * The unique identifier for the error response. */ @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; - - /** - * 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 middle name of the contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("middleName") - private String middleName; - - /** - * The nickname of the contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("nickname") - private String nickname; - - /** - * The email address of the contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("email") - private String email; - - /** - * An alternate email address of the contact that can be cc'd on email communications. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("ccEmail") - private String ccEmail; - - /** - * The gender of the contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("gender") - private GenderJson gender; - - /** - * The company/organization the contact belongs to. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("company") - private String company; - - /** - * The designation of the contact, typically an award or credential. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("designation") - private String designation; - - /** - * The job title of the contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("title") - private String title; - - /** - * Contains details related to the attendee's contact type. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("type") - private AttendeeContactTypeJson type; - - /** - * Contact Membership information - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("membership") - private MembershipJson membership; - - /** - * The type of address. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("primaryAddressType") - private AddressTypeJson primaryAddressType; - - /** - * Contact address details. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("homeAddress") - private AddressJson homeAddress; - - /** - * The phone number of the contact at their place of residence. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("homePhone") - private String homePhone; - - /** - * The fax number of the contact at their place of residence. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("homeFax") - private String homeFax; - - /** - * Contact address details. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("workAddress") - private AddressJson workAddress; - - /** - * The phone number of the contact at their place of work. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("workPhone") - private String workPhone; - - /** - * The fax number of the contact at their place of work. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("workFax") - private String workFax; - - /** - * Collection of custom fields. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("customFields") - private List customFields; - - /** - * This is a ID for the contact in an external system. NOTE: This value is expected to be unique for - * each contact within an account. Consider adding the external system name as part of the ID. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("sourceId") - private String sourceId; - - /** - * The contact's mobile phone number. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("mobilePhone") - private String mobilePhone; - - /** - * Detail related to compliance with the contact's privacy rights under various legislation. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("compliance") - private List compliance; - - /** - * Denotes what is traditionally a title of an individual. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("prefix") - private String prefix; - - /** - * The pager number of the contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("pager") - private String pager; - - /** - * True indicates a contact is deleted. Deleted contacts still have their data retained, but the - * contact is inactive. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("deleted") - private Boolean deleted; - - /** - * True indicates a contact is purged. Purged contacts have only partial data retained, and will be - * permanently deleted in 30 days. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("purged") - private Boolean purged; - - /** - * Details of an opt-out for a Contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("optOut") - private OptOutJson optOut; - - /** - * Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for - * health care providers in the United States. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("npi") - private String npi; - - /** - * Collection of social media links for the contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("_links") - private ContactLinksJson links; - - /** - * The date of birth of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("dateOfBirth") - private LocalDate dateOfBirth; - - /** - * The passport number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use - * the passport.number field. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("passportNumber") - @Deprecated - private String passportNumber; - - /** - * This entity represents a contact's passport information. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("passport") - private PassportJson passport; - - /** - * The social security number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("socialSecurityNumber") - private String socialSecurityNumber; - - /** - * The national identification number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("nationalIdentificationNumber") - private String nationalIdentificationNumber; - - /** - * The headline of the contact's profile, which summarizes their professional experience and qualities. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("headline") - private String headline; - - /** - * A contact's personal website URL. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("personalWebsite") - private String personalWebsite; - - /** - * A contact's biographical writeup. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("biography") - private String biography; - - /** - * Represents the preferred pronouns of a contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("pronouns") - private String pronouns; + @JsonProperty("id") + private String id; /** - * The ID of the contact. + * The HTTP status code representing the error. */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; + @JsonProperty("code") + private long code; /** - * ID of the parent contact, applicable with contact snapshot. + * A brief description of the error. */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("parentId") - private String parentId; + @JsonProperty("message") + private String message; /** - * Event ID + * The target resource of the error. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("event") - private EventAllOf event; + @JsonProperty("target") + private String target; @JsonCreator public ZeroAllOf7( - @JsonProperty("created") @Nullable OffsetDateTime created, - @JsonProperty("createdBy") @Nullable String createdBy, - @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, - @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, - @JsonProperty("firstName") @Nullable String firstName, - @JsonProperty("lastName") @Nullable String lastName, - @JsonProperty("middleName") @Nullable String middleName, - @JsonProperty("nickname") @Nullable String nickname, - @JsonProperty("email") @Nullable String email, - @JsonProperty("ccEmail") @Nullable String ccEmail, - @JsonProperty("gender") @Nullable GenderJson gender, - @JsonProperty("company") @Nullable String company, - @JsonProperty("designation") @Nullable String designation, - @JsonProperty("title") @Nullable String title, - @JsonProperty("type") @Nullable AttendeeContactTypeJson type, - @JsonProperty("membership") @Nullable MembershipJson membership, - @JsonProperty("primaryAddressType") @Nullable AddressTypeJson primaryAddressType, - @JsonProperty("homeAddress") @Nullable AddressJson homeAddress, - @JsonProperty("homePhone") @Nullable String homePhone, - @JsonProperty("homeFax") @Nullable String homeFax, - @JsonProperty("workAddress") @Nullable AddressJson workAddress, - @JsonProperty("workPhone") @Nullable String workPhone, - @JsonProperty("workFax") @Nullable String workFax, - @JsonProperty("customFields") @Nullable List customFields, - @JsonProperty("sourceId") @Nullable String sourceId, - @JsonProperty("mobilePhone") @Nullable String mobilePhone, - @JsonProperty("compliance") @Nullable List compliance, - @JsonProperty("prefix") @Nullable String prefix, - @JsonProperty("pager") @Nullable String pager, - @JsonProperty("deleted") @Nullable Boolean deleted, - @JsonProperty("purged") @Nullable Boolean purged, - @JsonProperty("optOut") @Nullable OptOutJson optOut, - @JsonProperty("npi") @Nullable String npi, - @JsonProperty("_links") @Nullable ContactLinksJson links, - @JsonProperty("dateOfBirth") @Nullable LocalDate dateOfBirth, - @JsonProperty("passportNumber") @Nullable String passportNumber, - @JsonProperty("passport") @Nullable PassportJson passport, - @JsonProperty("socialSecurityNumber") @Nullable String socialSecurityNumber, - @JsonProperty("nationalIdentificationNumber") @Nullable String nationalIdentificationNumber, - @JsonProperty("headline") @Nullable String headline, - @JsonProperty("personalWebsite") @Nullable String personalWebsite, - @JsonProperty("biography") @Nullable String biography, - @JsonProperty("pronouns") @Nullable String pronouns, @JsonProperty("id") @Nullable String id, - @JsonProperty("parentId") @Nullable String parentId, - @JsonProperty("event") @Nullable EventAllOf event) { - this.created = created; - this.createdBy = createdBy; - this.lastModified = lastModified; - this.lastModifiedBy = lastModifiedBy; - this.firstName = firstName; - this.lastName = lastName; - this.middleName = middleName; - this.nickname = nickname; - this.email = email; - this.ccEmail = ccEmail; - this.gender = gender; - this.company = company; - this.designation = designation; - this.title = title; - this.type = type; - this.membership = membership; - this.primaryAddressType = primaryAddressType; - this.homeAddress = homeAddress; - this.homePhone = homePhone; - this.homeFax = homeFax; - this.workAddress = workAddress; - this.workPhone = workPhone; - this.workFax = workFax; - this.customFields = customFields; - this.sourceId = sourceId; - this.mobilePhone = mobilePhone; - this.compliance = compliance; - this.prefix = prefix; - this.pager = pager; - this.deleted = Optional.ofNullable(deleted).orElse(Builder._SINGLETON_VALUE_Deleted.value()); - this.purged = Optional.ofNullable(purged).orElse(Builder._SINGLETON_VALUE_Purged.value()); - this.optOut = optOut; - this.npi = npi; - this.links = links; - this.dateOfBirth = dateOfBirth; - this.passportNumber = passportNumber; - this.passport = passport; - this.socialSecurityNumber = socialSecurityNumber; - this.nationalIdentificationNumber = nationalIdentificationNumber; - this.headline = headline; - this.personalWebsite = personalWebsite; - this.biography = biography; - this.pronouns = pronouns; + @JsonProperty("code") long code, + @JsonProperty("message") @Nonnull String message, + @JsonProperty("target") @Nullable String target) { this.id = id; - this.parentId = parentId; - this.event = event; - } - - public ZeroAllOf7() { - this( - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null); + this.code = code; + this.message = + Optional.ofNullable(message).orElseThrow(() -> new IllegalArgumentException("message cannot be null")); + this.target = target; } - /** - * The ISO 8601 zoned date time when this record was created. - */ - public Optional created() { - return Optional.ofNullable(this.created); + public ZeroAllOf7(long code, @Nonnull String message) { + this(null, code, message, null); } /** - * The identifier of the user that created this record. + * The unique identifier for the error response. */ - public Optional createdBy() { - return Optional.ofNullable(this.createdBy); + public Optional id() { + return Optional.ofNullable(this.id); } /** - * The ISO 8601 zoned date time when this record was updated. + * The HTTP status code representing the error. */ - public Optional lastModified() { - return Optional.ofNullable(this.lastModified); + public long code() { + return this.code; } /** - * The identifier of the user that last updated this record. + * A brief description of the error. */ - public Optional lastModifiedBy() { - return Optional.ofNullable(this.lastModifiedBy); + public String message() { + return this.message; } /** - * The first name of the contact. + * The target resource of the error. */ - public Optional firstName() { - return Optional.ofNullable(this.firstName); + public Optional target() { + return Optional.ofNullable(this.target); } - /** - * The last name of the contact. - */ - public Optional lastName() { - return Optional.ofNullable(this.lastName); + public static Builder builder() { + return new Builder(); } /** - * The middle name of the contact. + * The unique identifier for the error response. */ - public Optional middleName() { - return Optional.ofNullable(this.middleName); + public ZeroAllOf7 withId(@Nullable String id) { + this.id = id; + return this; } /** - * The nickname of the contact. + * The HTTP status code representing the error. */ - public Optional nickname() { - return Optional.ofNullable(this.nickname); + public ZeroAllOf7 withCode(long code) { + this.code = code; + return this; } /** - * The email address of the contact. + * A brief description of the error. */ - public Optional email() { - return Optional.ofNullable(this.email); + public ZeroAllOf7 withMessage(@Nonnull String message) { + this.message = Utils.checkNotNull(message, "message"); + return this; } /** - * An alternate email address of the contact that can be cc'd on email communications. + * The target resource of the error. */ - public Optional ccEmail() { - return Optional.ofNullable(this.ccEmail); + public ZeroAllOf7 withTarget(@Nullable String target) { + this.target = target; + return this; } - /** - * The gender of the contact. - */ - public Optional gender() { - return Optional.ofNullable(this.gender); + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ZeroAllOf7 other = (ZeroAllOf7) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.code, other.code) + && Utils.enhancedDeepEquals(this.message, other.message) + && Utils.enhancedDeepEquals(this.target, other.target); } - /** - * The company/organization the contact belongs to. - */ - public Optional company() { - return Optional.ofNullable(this.company); + @Override + public int hashCode() { + return Utils.enhancedHash(id, code, message, target); } - /** - * The designation of the contact, typically an award or credential. - */ - public Optional designation() { - return Optional.ofNullable(this.designation); + @Override + public String toString() { + return Utils.toString(ZeroAllOf7.class, "id", id, "code", code, "message", message, "target", target); } - /** - * The job title of the contact. - */ - public Optional title() { - return Optional.ofNullable(this.title); - } + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { - /** - * Contains details related to the attendee's contact type. - */ - public Optional type() { - return Optional.ofNullable(this.type); - } + private String id; - /** - * Contact Membership information - */ - public Optional membership() { - return Optional.ofNullable(this.membership); - } + private long code; - /** - * The type of address. - */ - public Optional primaryAddressType() { - return Optional.ofNullable(this.primaryAddressType); - } + private String message; - /** - * Contact address details. - */ - public Optional homeAddress() { - return Optional.ofNullable(this.homeAddress); - } + private String target; - /** - * The phone number of the contact at their place of residence. - */ - public Optional homePhone() { - return Optional.ofNullable(this.homePhone); - } + private Builder() { + // force use of static builder() method + } - /** - * The fax number of the contact at their place of residence. - */ - public Optional homeFax() { - return Optional.ofNullable(this.homeFax); - } + /** + * The unique identifier for the error response. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } - /** - * Contact address details. - */ - public Optional workAddress() { - return Optional.ofNullable(this.workAddress); - } + /** + * The HTTP status code representing the error. + */ + public Builder code(long code) { + this.code = code; + return this; + } - /** - * The phone number of the contact at their place of work. - */ - public Optional workPhone() { - return Optional.ofNullable(this.workPhone); - } - - /** - * The fax number of the contact at their place of work. - */ - public Optional workFax() { - return Optional.ofNullable(this.workFax); - } - - /** - * Collection of custom fields. - */ - public Optional> customFields() { - return Optional.ofNullable(this.customFields); - } - - /** - * This is a ID for the contact in an external system. NOTE: This value is expected to be unique for - * each contact within an account. Consider adding the external system name as part of the ID. - */ - public Optional sourceId() { - return Optional.ofNullable(this.sourceId); - } - - /** - * The contact's mobile phone number. - */ - public Optional mobilePhone() { - return Optional.ofNullable(this.mobilePhone); - } - - /** - * Detail related to compliance with the contact's privacy rights under various legislation. - */ - public Optional> compliance() { - return Optional.ofNullable(this.compliance); - } - - /** - * Denotes what is traditionally a title of an individual. - */ - public Optional prefix() { - return Optional.ofNullable(this.prefix); - } - - /** - * The pager number of the contact. - */ - public Optional pager() { - return Optional.ofNullable(this.pager); - } - - /** - * True indicates a contact is deleted. Deleted contacts still have their data retained, but the - * contact is inactive. - */ - public Optional deleted() { - return Optional.ofNullable(this.deleted); - } - - /** - * True indicates a contact is purged. Purged contacts have only partial data retained, and will be - * permanently deleted in 30 days. - */ - public Optional purged() { - return Optional.ofNullable(this.purged); - } - - /** - * Details of an opt-out for a Contact. - */ - public Optional optOut() { - return Optional.ofNullable(this.optOut); - } - - /** - * Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for - * health care providers in the United States. - */ - public Optional npi() { - return Optional.ofNullable(this.npi); - } - - /** - * Collection of social media links for the contact. - */ - public Optional links() { - return Optional.ofNullable(this.links); - } - - /** - * The date of birth of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - public Optional dateOfBirth() { - return Optional.ofNullable(this.dateOfBirth); - } - - /** - * The passport number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use - * the passport.number field. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Optional passportNumber() { - return Optional.ofNullable(this.passportNumber); - } - - /** - * This entity represents a contact's passport information. - */ - public Optional passport() { - return Optional.ofNullable(this.passport); - } - - /** - * The social security number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - public Optional socialSecurityNumber() { - return Optional.ofNullable(this.socialSecurityNumber); - } - - /** - * The national identification number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - public Optional nationalIdentificationNumber() { - return Optional.ofNullable(this.nationalIdentificationNumber); - } - - /** - * The headline of the contact's profile, which summarizes their professional experience and qualities. - */ - public Optional headline() { - return Optional.ofNullable(this.headline); - } - - /** - * A contact's personal website URL. - */ - public Optional personalWebsite() { - return Optional.ofNullable(this.personalWebsite); - } - - /** - * A contact's biographical writeup. - */ - public Optional biography() { - return Optional.ofNullable(this.biography); - } - - /** - * Represents the preferred pronouns of a contact. - */ - public Optional pronouns() { - return Optional.ofNullable(this.pronouns); - } - - /** - * The ID of the contact. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * ID of the parent contact, applicable with contact snapshot. - */ - public Optional parentId() { - return Optional.ofNullable(this.parentId); - } - - /** - * Event ID - */ - public Optional event() { - return Optional.ofNullable(this.event); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The ISO 8601 zoned date time when this record was created. - */ - public ZeroAllOf7 withCreated(@Nullable OffsetDateTime created) { - this.created = created; - return this; - } - - /** - * The identifier of the user that created this record. - */ - public ZeroAllOf7 withCreatedBy(@Nullable String createdBy) { - this.createdBy = createdBy; - return this; - } - - /** - * The ISO 8601 zoned date time when this record was updated. - */ - public ZeroAllOf7 withLastModified(@Nullable OffsetDateTime lastModified) { - this.lastModified = lastModified; - return this; - } - - /** - * The identifier of the user that last updated this record. - */ - public ZeroAllOf7 withLastModifiedBy(@Nullable String lastModifiedBy) { - this.lastModifiedBy = lastModifiedBy; - return this; - } - - /** - * The first name of the contact. - */ - public ZeroAllOf7 withFirstName(@Nullable String firstName) { - this.firstName = firstName; - return this; - } - - /** - * The last name of the contact. - */ - public ZeroAllOf7 withLastName(@Nullable String lastName) { - this.lastName = lastName; - return this; - } - - /** - * The middle name of the contact. - */ - public ZeroAllOf7 withMiddleName(@Nullable String middleName) { - this.middleName = middleName; - return this; - } - - /** - * The nickname of the contact. - */ - public ZeroAllOf7 withNickname(@Nullable String nickname) { - this.nickname = nickname; - return this; - } - - /** - * The email address of the contact. - */ - public ZeroAllOf7 withEmail(@Nullable String email) { - this.email = email; - return this; - } - - /** - * An alternate email address of the contact that can be cc'd on email communications. - */ - public ZeroAllOf7 withCcEmail(@Nullable String ccEmail) { - this.ccEmail = ccEmail; - return this; - } - - /** - * The gender of the contact. - */ - public ZeroAllOf7 withGender(@Nullable GenderJson gender) { - this.gender = gender; - return this; - } - - /** - * The company/organization the contact belongs to. - */ - public ZeroAllOf7 withCompany(@Nullable String company) { - this.company = company; - return this; - } - - /** - * The designation of the contact, typically an award or credential. - */ - public ZeroAllOf7 withDesignation(@Nullable String designation) { - this.designation = designation; - return this; - } - - /** - * The job title of the contact. - */ - public ZeroAllOf7 withTitle(@Nullable String title) { - this.title = title; - return this; - } - - /** - * Contains details related to the attendee's contact type. - */ - public ZeroAllOf7 withType(@Nullable AttendeeContactTypeJson type) { - this.type = type; - return this; - } - - /** - * Contact Membership information - */ - public ZeroAllOf7 withMembership(@Nullable MembershipJson membership) { - this.membership = membership; - return this; - } - - /** - * The type of address. - */ - public ZeroAllOf7 withPrimaryAddressType(@Nullable AddressTypeJson primaryAddressType) { - this.primaryAddressType = primaryAddressType; - return this; - } - - /** - * Contact address details. - */ - public ZeroAllOf7 withHomeAddress(@Nullable AddressJson homeAddress) { - this.homeAddress = homeAddress; - return this; - } - - /** - * The phone number of the contact at their place of residence. - */ - public ZeroAllOf7 withHomePhone(@Nullable String homePhone) { - this.homePhone = homePhone; - return this; - } - - /** - * The fax number of the contact at their place of residence. - */ - public ZeroAllOf7 withHomeFax(@Nullable String homeFax) { - this.homeFax = homeFax; - return this; - } - - /** - * Contact address details. - */ - public ZeroAllOf7 withWorkAddress(@Nullable AddressJson workAddress) { - this.workAddress = workAddress; - return this; - } - - /** - * The phone number of the contact at their place of work. - */ - public ZeroAllOf7 withWorkPhone(@Nullable String workPhone) { - this.workPhone = workPhone; - return this; - } - - /** - * The fax number of the contact at their place of work. - */ - public ZeroAllOf7 withWorkFax(@Nullable String workFax) { - this.workFax = workFax; - return this; - } - - /** - * Collection of custom fields. - */ - public ZeroAllOf7 withCustomFields(@Nullable List customFields) { - this.customFields = customFields; - return this; - } - - /** - * This is a ID for the contact in an external system. NOTE: This value is expected to be unique for - * each contact within an account. Consider adding the external system name as part of the ID. - */ - public ZeroAllOf7 withSourceId(@Nullable String sourceId) { - this.sourceId = sourceId; - return this; - } - - /** - * The contact's mobile phone number. - */ - public ZeroAllOf7 withMobilePhone(@Nullable String mobilePhone) { - this.mobilePhone = mobilePhone; - return this; - } - - /** - * Detail related to compliance with the contact's privacy rights under various legislation. - */ - public ZeroAllOf7 withCompliance(@Nullable List compliance) { - this.compliance = compliance; - return this; - } - - /** - * Denotes what is traditionally a title of an individual. - */ - public ZeroAllOf7 withPrefix(@Nullable String prefix) { - this.prefix = prefix; - return this; - } - - /** - * The pager number of the contact. - */ - public ZeroAllOf7 withPager(@Nullable String pager) { - this.pager = pager; - return this; - } - - /** - * True indicates a contact is deleted. Deleted contacts still have their data retained, but the - * contact is inactive. - */ - public ZeroAllOf7 withDeleted(@Nullable Boolean deleted) { - this.deleted = deleted; - return this; - } - - /** - * True indicates a contact is purged. Purged contacts have only partial data retained, and will be - * permanently deleted in 30 days. - */ - public ZeroAllOf7 withPurged(@Nullable Boolean purged) { - this.purged = purged; - return this; - } - - /** - * Details of an opt-out for a Contact. - */ - public ZeroAllOf7 withOptOut(@Nullable OptOutJson optOut) { - this.optOut = optOut; - return this; - } - - /** - * Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for - * health care providers in the United States. - */ - public ZeroAllOf7 withNpi(@Nullable String npi) { - this.npi = npi; - return this; - } - - /** - * Collection of social media links for the contact. - */ - public ZeroAllOf7 withLinks(@Nullable ContactLinksJson links) { - this.links = links; - return this; - } - - /** - * The date of birth of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - public ZeroAllOf7 withDateOfBirth(@Nullable LocalDate dateOfBirth) { - this.dateOfBirth = dateOfBirth; - return this; - } - - /** - * The passport number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use - * the passport.number field. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public ZeroAllOf7 withPassportNumber(@Nullable String passportNumber) { - this.passportNumber = passportNumber; - return this; - } - - /** - * This entity represents a contact's passport information. - */ - public ZeroAllOf7 withPassport(@Nullable PassportJson passport) { - this.passport = passport; - return this; - } - - /** - * The social security number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - public ZeroAllOf7 withSocialSecurityNumber(@Nullable String socialSecurityNumber) { - this.socialSecurityNumber = socialSecurityNumber; - return this; - } - - /** - * The national identification number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - public ZeroAllOf7 withNationalIdentificationNumber(@Nullable String nationalIdentificationNumber) { - this.nationalIdentificationNumber = nationalIdentificationNumber; - return this; - } - - /** - * The headline of the contact's profile, which summarizes their professional experience and qualities. - */ - public ZeroAllOf7 withHeadline(@Nullable String headline) { - this.headline = headline; - return this; - } - - /** - * A contact's personal website URL. - */ - public ZeroAllOf7 withPersonalWebsite(@Nullable String personalWebsite) { - this.personalWebsite = personalWebsite; - return this; - } - - /** - * A contact's biographical writeup. - */ - public ZeroAllOf7 withBiography(@Nullable String biography) { - this.biography = biography; - return this; - } - - /** - * Represents the preferred pronouns of a contact. - */ - public ZeroAllOf7 withPronouns(@Nullable String pronouns) { - this.pronouns = pronouns; - return this; - } - - /** - * The ID of the contact. - */ - public ZeroAllOf7 withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * ID of the parent contact, applicable with contact snapshot. - */ - public ZeroAllOf7 withParentId(@Nullable String parentId) { - this.parentId = parentId; - return this; - } - - /** - * Event ID - */ - public ZeroAllOf7 withEvent(@Nullable EventAllOf event) { - this.event = event; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ZeroAllOf7 other = (ZeroAllOf7) 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.middleName, other.middleName) - && Utils.enhancedDeepEquals(this.nickname, other.nickname) - && Utils.enhancedDeepEquals(this.email, other.email) - && Utils.enhancedDeepEquals(this.ccEmail, other.ccEmail) - && Utils.enhancedDeepEquals(this.gender, other.gender) - && Utils.enhancedDeepEquals(this.company, other.company) - && Utils.enhancedDeepEquals(this.designation, other.designation) - && Utils.enhancedDeepEquals(this.title, other.title) - && Utils.enhancedDeepEquals(this.type, other.type) - && Utils.enhancedDeepEquals(this.membership, other.membership) - && Utils.enhancedDeepEquals(this.primaryAddressType, other.primaryAddressType) - && Utils.enhancedDeepEquals(this.homeAddress, other.homeAddress) - && Utils.enhancedDeepEquals(this.homePhone, other.homePhone) - && Utils.enhancedDeepEquals(this.homeFax, other.homeFax) - && Utils.enhancedDeepEquals(this.workAddress, other.workAddress) - && Utils.enhancedDeepEquals(this.workPhone, other.workPhone) - && Utils.enhancedDeepEquals(this.workFax, other.workFax) - && Utils.enhancedDeepEquals(this.customFields, other.customFields) - && Utils.enhancedDeepEquals(this.sourceId, other.sourceId) - && Utils.enhancedDeepEquals(this.mobilePhone, other.mobilePhone) - && Utils.enhancedDeepEquals(this.compliance, other.compliance) - && Utils.enhancedDeepEquals(this.prefix, other.prefix) - && Utils.enhancedDeepEquals(this.pager, other.pager) - && Utils.enhancedDeepEquals(this.deleted, other.deleted) - && Utils.enhancedDeepEquals(this.purged, other.purged) - && Utils.enhancedDeepEquals(this.optOut, other.optOut) - && Utils.enhancedDeepEquals(this.npi, other.npi) - && Utils.enhancedDeepEquals(this.links, other.links) - && Utils.enhancedDeepEquals(this.dateOfBirth, other.dateOfBirth) - && Utils.enhancedDeepEquals(this.passportNumber, other.passportNumber) - && Utils.enhancedDeepEquals(this.passport, other.passport) - && Utils.enhancedDeepEquals(this.socialSecurityNumber, other.socialSecurityNumber) - && Utils.enhancedDeepEquals(this.nationalIdentificationNumber, other.nationalIdentificationNumber) - && Utils.enhancedDeepEquals(this.headline, other.headline) - && Utils.enhancedDeepEquals(this.personalWebsite, other.personalWebsite) - && Utils.enhancedDeepEquals(this.biography, other.biography) - && Utils.enhancedDeepEquals(this.pronouns, other.pronouns) - && Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.parentId, other.parentId) - && Utils.enhancedDeepEquals(this.event, other.event); - } - - @Override - public int hashCode() { - return Utils.enhancedHash( - created, - createdBy, - lastModified, - lastModifiedBy, - firstName, - lastName, - middleName, - nickname, - email, - ccEmail, - gender, - company, - designation, - title, - type, - membership, - primaryAddressType, - homeAddress, - homePhone, - homeFax, - workAddress, - workPhone, - workFax, - customFields, - sourceId, - mobilePhone, - compliance, - prefix, - pager, - deleted, - purged, - optOut, - npi, - links, - dateOfBirth, - passportNumber, - passport, - socialSecurityNumber, - nationalIdentificationNumber, - headline, - personalWebsite, - biography, - pronouns, - id, - parentId, - event); - } - - @Override - public String toString() { - return Utils.toString( - ZeroAllOf7.class, - "created", - created, - "createdBy", - createdBy, - "lastModified", - lastModified, - "lastModifiedBy", - lastModifiedBy, - "firstName", - firstName, - "lastName", - lastName, - "middleName", - middleName, - "nickname", - nickname, - "email", - email, - "ccEmail", - ccEmail, - "gender", - gender, - "company", - company, - "designation", - designation, - "title", - title, - "type", - type, - "membership", - membership, - "primaryAddressType", - primaryAddressType, - "homeAddress", - homeAddress, - "homePhone", - homePhone, - "homeFax", - homeFax, - "workAddress", - workAddress, - "workPhone", - workPhone, - "workFax", - workFax, - "customFields", - customFields, - "sourceId", - sourceId, - "mobilePhone", - mobilePhone, - "compliance", - compliance, - "prefix", - prefix, - "pager", - pager, - "deleted", - deleted, - "purged", - purged, - "optOut", - optOut, - "npi", - npi, - "links", - links, - "dateOfBirth", - dateOfBirth, - "passportNumber", - passportNumber, - "passport", - passport, - "socialSecurityNumber", - socialSecurityNumber, - "nationalIdentificationNumber", - nationalIdentificationNumber, - "headline", - headline, - "personalWebsite", - personalWebsite, - "biography", - biography, - "pronouns", - pronouns, - "id", - id, - "parentId", - parentId, - "event", - event); - } - - @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 middleName; - - private String nickname; - - private String email; - - private String ccEmail; - - private GenderJson gender; - - private String company; - - private String designation; - - private String title; - - private AttendeeContactTypeJson type; - - private MembershipJson membership; - - private AddressTypeJson primaryAddressType; - - private AddressJson homeAddress; - - private String homePhone; - - private String homeFax; - - private AddressJson workAddress; - - private String workPhone; - - private String workFax; - - private List customFields; - - private String sourceId; - - private String mobilePhone; - - private List compliance; - - private String prefix; - - private String pager; - - private Boolean deleted; - - private Boolean purged; - - private OptOutJson optOut; - - private String npi; - - private ContactLinksJson links; - - private LocalDate dateOfBirth; - - @Deprecated - private String passportNumber; - - private PassportJson passport; - - private String socialSecurityNumber; - - private String nationalIdentificationNumber; - - private String headline; - - private String personalWebsite; - - private String biography; - - private String pronouns; - - private String id; - - private String parentId; - - private EventAllOf event; - - 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; - } - - /** - * 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 middle name of the contact. - */ - public Builder middleName(@Nullable String middleName) { - this.middleName = middleName; - return this; - } - - /** - * The nickname of the contact. - */ - public Builder nickname(@Nullable String nickname) { - this.nickname = nickname; - return this; - } - - /** - * The email address of the contact. - */ - public Builder email(@Nullable String email) { - this.email = email; - return this; - } - - /** - * An alternate email address of the contact that can be cc'd on email communications. - */ - public Builder ccEmail(@Nullable String ccEmail) { - this.ccEmail = ccEmail; - return this; - } - - /** - * The gender of the contact. - */ - public Builder gender(@Nullable GenderJson gender) { - this.gender = gender; - return this; - } - - /** - * The company/organization the contact belongs to. - */ - public Builder company(@Nullable String company) { - this.company = company; - return this; - } - - /** - * The designation of the contact, typically an award or credential. - */ - public Builder designation(@Nullable String designation) { - this.designation = designation; - return this; - } - - /** - * The job title of the contact. - */ - public Builder title(@Nullable String title) { - this.title = title; - return this; - } - - /** - * Contains details related to the attendee's contact type. - */ - public Builder type(@Nullable AttendeeContactTypeJson type) { - this.type = type; - return this; - } - - /** - * Contact Membership information - */ - public Builder membership(@Nullable MembershipJson membership) { - this.membership = membership; - return this; - } - - /** - * The type of address. - */ - public Builder primaryAddressType(@Nullable AddressTypeJson primaryAddressType) { - this.primaryAddressType = primaryAddressType; - return this; - } - - /** - * Contact address details. - */ - public Builder homeAddress(@Nullable AddressJson homeAddress) { - this.homeAddress = homeAddress; - return this; - } - - /** - * The phone number of the contact at their place of residence. - */ - public Builder homePhone(@Nullable String homePhone) { - this.homePhone = homePhone; - return this; - } - - /** - * The fax number of the contact at their place of residence. - */ - public Builder homeFax(@Nullable String homeFax) { - this.homeFax = homeFax; - return this; - } - - /** - * Contact address details. - */ - public Builder workAddress(@Nullable AddressJson workAddress) { - this.workAddress = workAddress; - return this; - } - - /** - * The phone number of the contact at their place of work. - */ - public Builder workPhone(@Nullable String workPhone) { - this.workPhone = workPhone; - return this; - } - - /** - * The fax number of the contact at their place of work. - */ - public Builder workFax(@Nullable String workFax) { - this.workFax = workFax; - return this; - } - - /** - * Collection of custom fields. - */ - public Builder customFields(@Nullable List customFields) { - this.customFields = customFields; - return this; - } - - /** - * This is a ID for the contact in an external system. NOTE: This value is expected to be unique for - * each contact within an account. Consider adding the external system name as part of the ID. - */ - public Builder sourceId(@Nullable String sourceId) { - this.sourceId = sourceId; - return this; - } - - /** - * The contact's mobile phone number. - */ - public Builder mobilePhone(@Nullable String mobilePhone) { - this.mobilePhone = mobilePhone; - return this; - } - - /** - * Detail related to compliance with the contact's privacy rights under various legislation. - */ - public Builder compliance(@Nullable List compliance) { - this.compliance = compliance; - return this; - } - - /** - * Denotes what is traditionally a title of an individual. - */ - public Builder prefix(@Nullable String prefix) { - this.prefix = prefix; - return this; - } - - /** - * The pager number of the contact. - */ - public Builder pager(@Nullable String pager) { - this.pager = pager; - return this; - } - - /** - * True indicates a contact is deleted. Deleted contacts still have their data retained, but the - * contact is inactive. - */ - public Builder deleted(@Nullable Boolean deleted) { - this.deleted = deleted; - return this; - } - - /** - * True indicates a contact is purged. Purged contacts have only partial data retained, and will be - * permanently deleted in 30 days. - */ - public Builder purged(@Nullable Boolean purged) { - this.purged = purged; - return this; - } - - /** - * Details of an opt-out for a Contact. - */ - public Builder optOut(@Nullable OptOutJson optOut) { - this.optOut = optOut; - return this; - } - - /** - * Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for - * health care providers in the United States. - */ - public Builder npi(@Nullable String npi) { - this.npi = npi; - return this; - } + /** + * A brief description of the error. + */ + public Builder message(@Nonnull String message) { + this.message = Utils.checkNotNull(message, "message"); + return this; + } /** - * Collection of social media links for the contact. + * The target resource of the error. */ - public Builder links(@Nullable ContactLinksJson links) { - this.links = links; - return this; - } - - /** - * The date of birth of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - public Builder dateOfBirth(@Nullable LocalDate dateOfBirth) { - this.dateOfBirth = dateOfBirth; - return this; - } - - /** - * The passport number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use - * the passport.number field. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - @Deprecated - public Builder passportNumber(@Nullable String passportNumber) { - this.passportNumber = passportNumber; - return this; - } - - /** - * This entity represents a contact's passport information. - */ - public Builder passport(@Nullable PassportJson passport) { - this.passport = passport; - return this; - } - - /** - * The social security number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - public Builder socialSecurityNumber(@Nullable String socialSecurityNumber) { - this.socialSecurityNumber = socialSecurityNumber; - return this; - } - - /** - * The national identification number of the contact. - * - *

Reading and writing of this field require the `event/contacts:read-sensitive` and - * `event/contacts:write-sensitive` scopes respectively. - */ - public Builder nationalIdentificationNumber(@Nullable String nationalIdentificationNumber) { - this.nationalIdentificationNumber = nationalIdentificationNumber; - return this; - } - - /** - * The headline of the contact's profile, which summarizes their professional experience and qualities. - */ - public Builder headline(@Nullable String headline) { - this.headline = headline; - return this; - } - - /** - * A contact's personal website URL. - */ - public Builder personalWebsite(@Nullable String personalWebsite) { - this.personalWebsite = personalWebsite; - return this; - } - - /** - * A contact's biographical writeup. - */ - public Builder biography(@Nullable String biography) { - this.biography = biography; - return this; - } - - /** - * Represents the preferred pronouns of a contact. - */ - public Builder pronouns(@Nullable String pronouns) { - this.pronouns = pronouns; - return this; - } - - /** - * The ID of the contact. - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * ID of the parent contact, applicable with contact snapshot. - */ - public Builder parentId(@Nullable String parentId) { - this.parentId = parentId; - return this; - } - - /** - * Event ID - */ - public Builder event(@Nullable EventAllOf event) { - this.event = event; + public Builder target(@Nullable String target) { + this.target = target; return this; } public ZeroAllOf7 build() { - return new ZeroAllOf7( - created, - createdBy, - lastModified, - lastModifiedBy, - firstName, - lastName, - middleName, - nickname, - email, - ccEmail, - gender, - company, - designation, - title, - type, - membership, - primaryAddressType, - homeAddress, - homePhone, - homeFax, - workAddress, - workPhone, - workFax, - customFields, - sourceId, - mobilePhone, - compliance, - prefix, - pager, - deleted, - purged, - optOut, - npi, - links, - dateOfBirth, - passportNumber, - passport, - socialSecurityNumber, - nationalIdentificationNumber, - headline, - personalWebsite, - biography, - pronouns, - id, - parentId, - event); + return new ZeroAllOf7(id, code, message, target); } - - private static final LazySingletonValue _SINGLETON_VALUE_Deleted = - new LazySingletonValue<>("deleted", "false", new TypeReference() {}); - - private static final LazySingletonValue _SINGLETON_VALUE_Purged = - new LazySingletonValue<>("purged", "false", new TypeReference() {}); } } diff --git a/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf8.java b/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf8.java index e12f7f0b3..5ab830538 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf8.java +++ b/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf8.java @@ -5,90 +5,148 @@ 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.time.OffsetDateTime; import java.util.Optional; /** * ZeroAllOf8 * - *

Represents an error response for the checkin APIs that includes a unique id. + *

Information about housing event with key information, providing a summarized view. */ public class ZeroAllOf8 { /** - * The unique identifier for the error response. + * The unique ID of the housing event. */ - @JsonInclude(Include.NON_ABSENT) @JsonProperty("id") - private String id; + private long id; /** - * The HTTP status code representing the error. + * Event name. */ - @JsonProperty("code") - private long code; + @JsonProperty("name") + private String name; /** - * A brief description of the error. + * The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder + * days. */ - @JsonProperty("message") - private String message; + @JsonProperty("start") + private OffsetDateTime start; /** - * The target resource of the error. + * The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("target") - private String target; + @JsonProperty("end") + private OffsetDateTime end; + + /** + * The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable + * business rules, like releasing reserved room blocks back to general availability. + */ + @JsonProperty("cutOff") + private OffsetDateTime cutOff; + + /** + * The event timezone from the Olson specification. + */ + @JsonProperty("timeZone") + private String timeZone; + + /** + * Event venue details. + */ + @JsonProperty("venue") + private VenueJson1 venue; + + /** + * Housing event status. + */ + @JsonProperty("status") + private HousingEventStatusesJson status; @JsonCreator public ZeroAllOf8( - @JsonProperty("id") @Nullable String id, - @JsonProperty("code") long code, - @JsonProperty("message") @Nonnull String message, - @JsonProperty("target") @Nullable String target) { + @JsonProperty("id") long id, + @JsonProperty("name") @Nonnull String name, + @JsonProperty("start") @Nonnull OffsetDateTime start, + @JsonProperty("end") @Nonnull OffsetDateTime end, + @JsonProperty("cutOff") @Nonnull OffsetDateTime cutOff, + @JsonProperty("timeZone") @Nonnull String timeZone, + @JsonProperty("venue") @Nonnull VenueJson1 venue, + @JsonProperty("status") @Nonnull HousingEventStatusesJson status) { this.id = id; - this.code = code; - this.message = - Optional.ofNullable(message).orElseThrow(() -> new IllegalArgumentException("message cannot be null")); - this.target = target; + this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); + this.start = Optional.ofNullable(start).orElseThrow(() -> new IllegalArgumentException("start cannot be null")); + this.end = Optional.ofNullable(end).orElseThrow(() -> new IllegalArgumentException("end cannot be null")); + this.cutOff = + Optional.ofNullable(cutOff).orElseThrow(() -> new IllegalArgumentException("cutOff cannot be null")); + this.timeZone = Optional.ofNullable(timeZone) + .orElseThrow(() -> new IllegalArgumentException("timeZone cannot be null")); + this.venue = Optional.ofNullable(venue).orElseThrow(() -> new IllegalArgumentException("venue cannot be null")); + this.status = + Optional.ofNullable(status).orElseThrow(() -> new IllegalArgumentException("status cannot be null")); } - public ZeroAllOf8(long code, @Nonnull String message) { - this(null, code, message, null); + /** + * The unique ID of the housing event. + */ + public long id() { + return this.id; + } + + /** + * Event name. + */ + public String name() { + return this.name; } /** - * The unique identifier for the error response. + * The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder + * days. */ - public Optional id() { - return Optional.ofNullable(this.id); + public OffsetDateTime start() { + return this.start; } /** - * The HTTP status code representing the error. + * The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. */ - public long code() { - return this.code; + public OffsetDateTime end() { + return this.end; } /** - * A brief description of the error. + * The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable + * business rules, like releasing reserved room blocks back to general availability. */ - public String message() { - return this.message; + public OffsetDateTime cutOff() { + return this.cutOff; } /** - * The target resource of the error. + * The event timezone from the Olson specification. */ - public Optional target() { - return Optional.ofNullable(this.target); + public String timeZone() { + return this.timeZone; + } + + /** + * Event venue details. + */ + public VenueJson1 venue() { + return this.venue; + } + + /** + * Housing event status. + */ + public HousingEventStatusesJson status() { + return this.status; } public static Builder builder() { @@ -96,34 +154,68 @@ public static Builder builder() { } /** - * The unique identifier for the error response. + * The unique ID of the housing event. */ - public ZeroAllOf8 withId(@Nullable String id) { + public ZeroAllOf8 withId(long id) { this.id = id; return this; } /** - * The HTTP status code representing the error. + * Event name. + */ + public ZeroAllOf8 withName(@Nonnull String name) { + this.name = Utils.checkNotNull(name, "name"); + return this; + } + + /** + * The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder + * days. + */ + public ZeroAllOf8 withStart(@Nonnull OffsetDateTime start) { + this.start = Utils.checkNotNull(start, "start"); + return this; + } + + /** + * The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. + */ + public ZeroAllOf8 withEnd(@Nonnull OffsetDateTime end) { + this.end = Utils.checkNotNull(end, "end"); + return this; + } + + /** + * The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable + * business rules, like releasing reserved room blocks back to general availability. + */ + public ZeroAllOf8 withCutOff(@Nonnull OffsetDateTime cutOff) { + this.cutOff = Utils.checkNotNull(cutOff, "cutOff"); + return this; + } + + /** + * The event timezone from the Olson specification. */ - public ZeroAllOf8 withCode(long code) { - this.code = code; + public ZeroAllOf8 withTimeZone(@Nonnull String timeZone) { + this.timeZone = Utils.checkNotNull(timeZone, "timeZone"); return this; } /** - * A brief description of the error. + * Event venue details. */ - public ZeroAllOf8 withMessage(@Nonnull String message) { - this.message = Utils.checkNotNull(message, "message"); + public ZeroAllOf8 withVenue(@Nonnull VenueJson1 venue) { + this.venue = Utils.checkNotNull(venue, "venue"); return this; } /** - * The target resource of the error. + * Housing event status. */ - public ZeroAllOf8 withTarget(@Nullable String target) { - this.target = target; + public ZeroAllOf8 withStatus(@Nonnull HousingEventStatusesJson status) { + this.status = Utils.checkNotNull(status, "status"); return this; } @@ -137,70 +229,133 @@ public boolean equals(java.lang.Object o) { } ZeroAllOf8 other = (ZeroAllOf8) o; return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.code, other.code) - && Utils.enhancedDeepEquals(this.message, other.message) - && Utils.enhancedDeepEquals(this.target, other.target); + && Utils.enhancedDeepEquals(this.name, other.name) + && Utils.enhancedDeepEquals(this.start, other.start) + && Utils.enhancedDeepEquals(this.end, other.end) + && Utils.enhancedDeepEquals(this.cutOff, other.cutOff) + && Utils.enhancedDeepEquals(this.timeZone, other.timeZone) + && Utils.enhancedDeepEquals(this.venue, other.venue) + && Utils.enhancedDeepEquals(this.status, other.status); } @Override public int hashCode() { - return Utils.enhancedHash(id, code, message, target); + return Utils.enhancedHash(id, name, start, end, cutOff, timeZone, venue, status); } @Override public String toString() { - return Utils.toString(ZeroAllOf8.class, "id", id, "code", code, "message", message, "target", target); + return Utils.toString( + ZeroAllOf8.class, + "id", + id, + "name", + name, + "start", + start, + "end", + end, + "cutOff", + cutOff, + "timeZone", + timeZone, + "venue", + venue, + "status", + status); } @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private String id; + private long id; + + private String name; + + private OffsetDateTime start; + + private OffsetDateTime end; - private long code; + private OffsetDateTime cutOff; - private String message; + private String timeZone; - private String target; + private VenueJson1 venue; + + private HousingEventStatusesJson status; private Builder() { // force use of static builder() method } /** - * The unique identifier for the error response. + * The unique ID of the housing event. */ - public Builder id(@Nullable String id) { + public Builder id(long id) { this.id = id; return this; } /** - * The HTTP status code representing the error. + * Event name. + */ + public Builder name(@Nonnull String name) { + this.name = Utils.checkNotNull(name, "name"); + return this; + } + + /** + * The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder + * days. + */ + public Builder start(@Nonnull OffsetDateTime start) { + this.start = Utils.checkNotNull(start, "start"); + return this; + } + + /** + * The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. + */ + public Builder end(@Nonnull OffsetDateTime end) { + this.end = Utils.checkNotNull(end, "end"); + return this; + } + + /** + * The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable + * business rules, like releasing reserved room blocks back to general availability. + */ + public Builder cutOff(@Nonnull OffsetDateTime cutOff) { + this.cutOff = Utils.checkNotNull(cutOff, "cutOff"); + return this; + } + + /** + * The event timezone from the Olson specification. */ - public Builder code(long code) { - this.code = code; + public Builder timeZone(@Nonnull String timeZone) { + this.timeZone = Utils.checkNotNull(timeZone, "timeZone"); return this; } /** - * A brief description of the error. + * Event venue details. */ - public Builder message(@Nonnull String message) { - this.message = Utils.checkNotNull(message, "message"); + public Builder venue(@Nonnull VenueJson1 venue) { + this.venue = Utils.checkNotNull(venue, "venue"); return this; } /** - * The target resource of the error. + * Housing event status. */ - public Builder target(@Nullable String target) { - this.target = target; + public Builder status(@Nonnull HousingEventStatusesJson status) { + this.status = Utils.checkNotNull(status, "status"); return this; } public ZeroAllOf8 build() { - return new ZeroAllOf8(id, code, message, target); + return new ZeroAllOf8(id, name, start, end, cutOff, timeZone, venue, status); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf9.java b/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf9.java deleted file mode 100644 index 5056b95cc..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ZeroAllOf9.java +++ /dev/null @@ -1,361 +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.time.OffsetDateTime; -import java.util.Optional; - -/** - * ZeroAllOf9 - * - *

Information about housing event with key information, providing a summarized view. - */ -public class ZeroAllOf9 { - /** - * The unique ID of the housing event. - */ - @JsonProperty("id") - private long id; - - /** - * Event name. - */ - @JsonProperty("name") - private String name; - - /** - * The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder - * days. - */ - @JsonProperty("start") - private OffsetDateTime start; - - /** - * The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. - */ - @JsonProperty("end") - private OffsetDateTime end; - - /** - * The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable - * business rules, like releasing reserved room blocks back to general availability. - */ - @JsonProperty("cutOff") - private OffsetDateTime cutOff; - - /** - * The event timezone from the Olson specification. - */ - @JsonProperty("timeZone") - private String timeZone; - - /** - * Event venue details. - */ - @JsonProperty("venue") - private VenueJson1 venue; - - /** - * Housing event status. - */ - @JsonProperty("status") - private HousingEventStatusesJson status; - - @JsonCreator - public ZeroAllOf9( - @JsonProperty("id") long id, - @JsonProperty("name") @Nonnull String name, - @JsonProperty("start") @Nonnull OffsetDateTime start, - @JsonProperty("end") @Nonnull OffsetDateTime end, - @JsonProperty("cutOff") @Nonnull OffsetDateTime cutOff, - @JsonProperty("timeZone") @Nonnull String timeZone, - @JsonProperty("venue") @Nonnull VenueJson1 venue, - @JsonProperty("status") @Nonnull HousingEventStatusesJson status) { - this.id = id; - this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); - this.start = Optional.ofNullable(start).orElseThrow(() -> new IllegalArgumentException("start cannot be null")); - this.end = Optional.ofNullable(end).orElseThrow(() -> new IllegalArgumentException("end cannot be null")); - this.cutOff = - Optional.ofNullable(cutOff).orElseThrow(() -> new IllegalArgumentException("cutOff cannot be null")); - this.timeZone = Optional.ofNullable(timeZone) - .orElseThrow(() -> new IllegalArgumentException("timeZone cannot be null")); - this.venue = Optional.ofNullable(venue).orElseThrow(() -> new IllegalArgumentException("venue cannot be null")); - this.status = - Optional.ofNullable(status).orElseThrow(() -> new IllegalArgumentException("status cannot be null")); - } - - /** - * The unique ID of the housing event. - */ - public long id() { - return this.id; - } - - /** - * Event name. - */ - public String name() { - return this.name; - } - - /** - * The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder - * days. - */ - public OffsetDateTime start() { - return this.start; - } - - /** - * The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. - */ - public OffsetDateTime end() { - return this.end; - } - - /** - * The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable - * business rules, like releasing reserved room blocks back to general availability. - */ - public OffsetDateTime cutOff() { - return this.cutOff; - } - - /** - * The event timezone from the Olson specification. - */ - public String timeZone() { - return this.timeZone; - } - - /** - * Event venue details. - */ - public VenueJson1 venue() { - return this.venue; - } - - /** - * Housing event status. - */ - public HousingEventStatusesJson status() { - return this.status; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique ID of the housing event. - */ - public ZeroAllOf9 withId(long id) { - this.id = id; - return this; - } - - /** - * Event name. - */ - public ZeroAllOf9 withName(@Nonnull String name) { - this.name = Utils.checkNotNull(name, "name"); - return this; - } - - /** - * The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder - * days. - */ - public ZeroAllOf9 withStart(@Nonnull OffsetDateTime start) { - this.start = Utils.checkNotNull(start, "start"); - return this; - } - - /** - * The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. - */ - public ZeroAllOf9 withEnd(@Nonnull OffsetDateTime end) { - this.end = Utils.checkNotNull(end, "end"); - return this; - } - - /** - * The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable - * business rules, like releasing reserved room blocks back to general availability. - */ - public ZeroAllOf9 withCutOff(@Nonnull OffsetDateTime cutOff) { - this.cutOff = Utils.checkNotNull(cutOff, "cutOff"); - return this; - } - - /** - * The event timezone from the Olson specification. - */ - public ZeroAllOf9 withTimeZone(@Nonnull String timeZone) { - this.timeZone = Utils.checkNotNull(timeZone, "timeZone"); - return this; - } - - /** - * Event venue details. - */ - public ZeroAllOf9 withVenue(@Nonnull VenueJson1 venue) { - this.venue = Utils.checkNotNull(venue, "venue"); - return this; - } - - /** - * Housing event status. - */ - public ZeroAllOf9 withStatus(@Nonnull HousingEventStatusesJson status) { - this.status = Utils.checkNotNull(status, "status"); - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ZeroAllOf9 other = (ZeroAllOf9) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.name, other.name) - && Utils.enhancedDeepEquals(this.start, other.start) - && Utils.enhancedDeepEquals(this.end, other.end) - && Utils.enhancedDeepEquals(this.cutOff, other.cutOff) - && Utils.enhancedDeepEquals(this.timeZone, other.timeZone) - && Utils.enhancedDeepEquals(this.venue, other.venue) - && Utils.enhancedDeepEquals(this.status, other.status); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(id, name, start, end, cutOff, timeZone, venue, status); - } - - @Override - public String toString() { - return Utils.toString( - ZeroAllOf9.class, - "id", - id, - "name", - name, - "start", - start, - "end", - end, - "cutOff", - cutOff, - "timeZone", - timeZone, - "venue", - venue, - "status", - status); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private long id; - - private String name; - - private OffsetDateTime start; - - private OffsetDateTime end; - - private OffsetDateTime cutOff; - - private String timeZone; - - private VenueJson1 venue; - - private HousingEventStatusesJson status; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique ID of the housing event. - */ - public Builder id(long id) { - this.id = id; - return this; - } - - /** - * Event name. - */ - public Builder name(@Nonnull String name) { - this.name = Utils.checkNotNull(name, "name"); - return this; - } - - /** - * The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder - * days. - */ - public Builder start(@Nonnull OffsetDateTime start) { - this.start = Utils.checkNotNull(start, "start"); - return this; - } - - /** - * The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. - */ - public Builder end(@Nonnull OffsetDateTime end) { - this.end = Utils.checkNotNull(end, "end"); - return this; - } - - /** - * The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable - * business rules, like releasing reserved room blocks back to general availability. - */ - public Builder cutOff(@Nonnull OffsetDateTime cutOff) { - this.cutOff = Utils.checkNotNull(cutOff, "cutOff"); - return this; - } - - /** - * The event timezone from the Olson specification. - */ - public Builder timeZone(@Nonnull String timeZone) { - this.timeZone = Utils.checkNotNull(timeZone, "timeZone"); - return this; - } - - /** - * Event venue details. - */ - public Builder venue(@Nonnull VenueJson1 venue) { - this.venue = Utils.checkNotNull(venue, "venue"); - return this; - } - - /** - * Housing event status. - */ - public Builder status(@Nonnull HousingEventStatusesJson status) { - this.status = Utils.checkNotNull(status, "status"); - return this; - } - - public ZeroAllOf9 build() { - return new ZeroAllOf9(id, name, start, end, cutOff, timeZone, venue, status); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/errors/ErrorResponse1.java b/packages/java/src/main/java/com/cvent/models/errors/ErrorResponse1.java index 2070f24b4..87f371f00 100644 --- a/packages/java/src/main/java/com/cvent/models/errors/ErrorResponse1.java +++ b/packages/java/src/main/java/com/cvent/models/errors/ErrorResponse1.java @@ -3,7 +3,7 @@ */ package com.cvent.models.errors; -import com.cvent.models.components.ZeroAllOf1; +import com.cvent.models.components.ErrorResponseBase; import com.cvent.utils.Blob; import com.cvent.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; @@ -96,7 +96,7 @@ public Optional target() { * Additional details of cascading error messages. */ @Deprecated - public Optional> details() { + public Optional> details() { return data().flatMap(Data::details); } @@ -140,14 +140,14 @@ public static class Data { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("details") - private List details; + private List details; @JsonCreator public Data( @JsonProperty("code") long code, @JsonProperty("message") @Nonnull String message, @JsonProperty("target") @Nullable String target, - @JsonProperty("details") @Nullable List details) { + @JsonProperty("details") @Nullable List details) { this.code = code; this.message = Optional.ofNullable(message) .orElseThrow(() -> new IllegalArgumentException("message cannot be null")); @@ -183,7 +183,7 @@ public Optional target() { /** * Additional details of cascading error messages. */ - public Optional> details() { + public Optional> details() { return Optional.ofNullable(this.details); } @@ -218,7 +218,7 @@ public Data withTarget(@Nullable String target) { /** * Additional details of cascading error messages. */ - public Data withDetails(@Nullable List details) { + public Data withDetails(@Nullable List details) { this.details = details; return this; } @@ -257,7 +257,7 @@ public static final class Builder { private String target; - private List details; + private List details; private Builder() { // force use of static builder() method @@ -290,7 +290,7 @@ public Builder target(@Nullable String target) { /** * Additional details of cascading error messages. */ - public Builder details(@Nullable List details) { + public Builder details(@Nullable List details) { this.details = details; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/errors/ErrorResponse2.java b/packages/java/src/main/java/com/cvent/models/errors/ErrorResponse2.java index ebaebe016..a7eeb1152 100644 --- a/packages/java/src/main/java/com/cvent/models/errors/ErrorResponse2.java +++ b/packages/java/src/main/java/com/cvent/models/errors/ErrorResponse2.java @@ -3,7 +3,7 @@ */ package com.cvent.models.errors; -import com.cvent.models.components.ErrorResponseBase; +import com.cvent.models.components.ZeroAllOf1; import com.cvent.utils.Blob; import com.cvent.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; @@ -96,7 +96,7 @@ public Optional target() { * Additional details of cascading error messages. */ @Deprecated - public Optional> details() { + public Optional> details() { return data().flatMap(Data::details); } @@ -140,14 +140,14 @@ public static class Data { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("details") - private List details; + private List details; @JsonCreator public Data( @JsonProperty("code") long code, @JsonProperty("message") @Nonnull String message, @JsonProperty("target") @Nullable String target, - @JsonProperty("details") @Nullable List details) { + @JsonProperty("details") @Nullable List details) { this.code = code; this.message = Optional.ofNullable(message) .orElseThrow(() -> new IllegalArgumentException("message cannot be null")); @@ -183,7 +183,7 @@ public Optional target() { /** * Additional details of cascading error messages. */ - public Optional> details() { + public Optional> details() { return Optional.ofNullable(this.details); } @@ -218,7 +218,7 @@ public Data withTarget(@Nullable String target) { /** * Additional details of cascading error messages. */ - public Data withDetails(@Nullable List details) { + public Data withDetails(@Nullable List details) { this.details = details; return this; } @@ -257,7 +257,7 @@ public static final class Builder { private String target; - private List details; + private List details; private Builder() { // force use of static builder() method @@ -290,7 +290,7 @@ public Builder target(@Nullable String target) { /** * Additional details of cascading error messages. */ - public Builder details(@Nullable List details) { + public Builder details(@Nullable List details) { this.details = details; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/errors/ErrorResponseJson12.java b/packages/java/src/main/java/com/cvent/models/errors/ErrorResponseJson12.java new file mode 100644 index 000000000..ca9967d1f --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/errors/ErrorResponseJson12.java @@ -0,0 +1,321 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.errors; + +import com.cvent.models.components.ErrorScimTypeJson; +import com.cvent.utils.Blob; +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.io.InputStream; +import java.lang.Deprecated; +import java.lang.Exception; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.lang.Throwable; +import java.net.http.HttpResponse; +import java.util.List; +import java.util.Optional; +import java.util.concurrent.CompletableFuture; + +@SuppressWarnings("serial") +public class ErrorResponseJson12 extends CventSDKError { + + @Nullable + private final Data data; + + @Nullable + private final Throwable deserializationException; + + public ErrorResponseJson12( + int code, + byte[] body, + HttpResponse rawResponse, + @Nullable Data data, + @Nullable Throwable deserializationException) { + super("API error occurred", code, body, rawResponse, null); + this.data = data; + this.deserializationException = deserializationException; + } + + /** + * Parse a response into an instance of ErrorResponseJson12. If deserialization of the response body fails, + * the resulting ErrorResponseJson12 instance will have a null data() value and a non-null deserializationException(). + */ + public static ErrorResponseJson12 from(HttpResponse response) { + try { + byte[] bytes = Utils.extractByteArrayFromBody(response); + Data data = Utils.mapper().readValue(bytes, Data.class); + return new ErrorResponseJson12(response.statusCode(), bytes, response, data, null); + } catch (Exception e) { + return new ErrorResponseJson12(response.statusCode(), null, response, null, e); + } + } + + /** + * Parse a response into an instance of ErrorResponseJson12 asynchronously. If deserialization of the response body fails, + * the resulting ErrorResponseJson12 instance will have a null data() value and a non-null deserializationException(). + */ + public static CompletableFuture fromAsync(HttpResponse response) { + return response.body().toByteArray().handle((bytes, err) -> { + // if a body read error occurs, we want to transform the exception + if (err != null) { + throw new AsyncAPIException( + "Error reading response body: " + err.getMessage(), response.statusCode(), null, response, err); + } + + try { + return new ErrorResponseJson12( + response.statusCode(), + bytes, + response, + Utils.mapper().readValue(bytes, new TypeReference() {}), + null); + } catch (Exception e) { + return new ErrorResponseJson12(response.statusCode(), bytes, response, null, e); + } + }); + } + + /** + * The collection of error schemas. + */ + @Deprecated + public Optional> schemas() { + return data().flatMap(Data::schemas); + } + + /** + * Status code for error. + */ + @Deprecated + public Optional status() { + return data().map(Data::status); + } + + /** + * Details of the error. + */ + @Deprecated + public Optional detail() { + return data().map(Data::detail); + } + + /** + * This is used to denote the scim type of the error. + */ + @Deprecated + public Optional scimType() { + return data().flatMap(Data::scimType); + } + + public Optional data() { + return Optional.ofNullable(data); + } + + /** + * Returns the exception if an error occurs while deserializing the response body. + */ + public Optional deserializationException() { + return Optional.ofNullable(deserializationException); + } + /** + * Data + * + *

The error response. + */ + public static class Data { + /** + * The collection of error schemas. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("schemas") + private List schemas; + + /** + * Status code for error. + */ + @JsonProperty("status") + private long status; + + /** + * Details of the error. + */ + @JsonProperty("detail") + private String detail; + + /** + * This is used to denote the scim type of the error. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("scimType") + private ErrorScimTypeJson scimType; + + @JsonCreator + public Data( + @JsonProperty("schemas") @Nullable List schemas, + @JsonProperty("status") long status, + @JsonProperty("detail") @Nonnull String detail, + @JsonProperty("scimType") @Nullable ErrorScimTypeJson scimType) { + this.schemas = schemas; + this.status = status; + this.detail = Optional.ofNullable(detail) + .orElseThrow(() -> new IllegalArgumentException("detail cannot be null")); + this.scimType = scimType; + } + + public Data(long status, @Nonnull String detail) { + this(null, status, detail, null); + } + + /** + * The collection of error schemas. + */ + public Optional> schemas() { + return Optional.ofNullable(this.schemas); + } + + /** + * Status code for error. + */ + public long status() { + return this.status; + } + + /** + * Details of the error. + */ + public String detail() { + return this.detail; + } + + /** + * This is used to denote the scim type of the error. + */ + public Optional scimType() { + return Optional.ofNullable(this.scimType); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The collection of error schemas. + */ + public Data withSchemas(@Nullable List schemas) { + this.schemas = schemas; + return this; + } + + /** + * Status code for error. + */ + public Data withStatus(long status) { + this.status = status; + return this; + } + + /** + * Details of the error. + */ + public Data withDetail(@Nonnull String detail) { + this.detail = Utils.checkNotNull(detail, "detail"); + return this; + } + + /** + * This is used to denote the scim type of the error. + */ + public Data withScimType(@Nullable ErrorScimTypeJson scimType) { + this.scimType = scimType; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Data other = (Data) o; + return Utils.enhancedDeepEquals(this.schemas, other.schemas) + && Utils.enhancedDeepEquals(this.status, other.status) + && Utils.enhancedDeepEquals(this.detail, other.detail) + && Utils.enhancedDeepEquals(this.scimType, other.scimType); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(schemas, status, detail, scimType); + } + + @Override + public String toString() { + return Utils.toString( + Data.class, "schemas", schemas, "status", status, "detail", detail, "scimType", scimType); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private List schemas; + + private long status; + + private String detail; + + private ErrorScimTypeJson scimType; + + private Builder() { + // force use of static builder() method + } + + /** + * The collection of error schemas. + */ + public Builder schemas(@Nullable List schemas) { + this.schemas = schemas; + return this; + } + + /** + * Status code for error. + */ + public Builder status(long status) { + this.status = status; + return this; + } + + /** + * Details of the error. + */ + public Builder detail(@Nonnull String detail) { + this.detail = Utils.checkNotNull(detail, "detail"); + return this; + } + + /** + * This is used to denote the scim type of the error. + */ + public Builder scimType(@Nullable ErrorScimTypeJson scimType) { + this.scimType = scimType; + return this; + } + + public Data build() { + return new Data(schemas, status, detail, scimType); + } + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/errors/ErrorResponseJson17.java b/packages/java/src/main/java/com/cvent/models/errors/ErrorResponseJson17.java deleted file mode 100644 index 27d8c818f..000000000 --- a/packages/java/src/main/java/com/cvent/models/errors/ErrorResponseJson17.java +++ /dev/null @@ -1,321 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.errors; - -import com.cvent.models.components.ErrorScimTypeJson; -import com.cvent.utils.Blob; -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.io.InputStream; -import java.lang.Deprecated; -import java.lang.Exception; -import java.lang.Long; -import java.lang.Override; -import java.lang.String; -import java.lang.SuppressWarnings; -import java.lang.Throwable; -import java.net.http.HttpResponse; -import java.util.List; -import java.util.Optional; -import java.util.concurrent.CompletableFuture; - -@SuppressWarnings("serial") -public class ErrorResponseJson17 extends CventSDKError { - - @Nullable - private final Data data; - - @Nullable - private final Throwable deserializationException; - - public ErrorResponseJson17( - int code, - byte[] body, - HttpResponse rawResponse, - @Nullable Data data, - @Nullable Throwable deserializationException) { - super("API error occurred", code, body, rawResponse, null); - this.data = data; - this.deserializationException = deserializationException; - } - - /** - * Parse a response into an instance of ErrorResponseJson17. If deserialization of the response body fails, - * the resulting ErrorResponseJson17 instance will have a null data() value and a non-null deserializationException(). - */ - public static ErrorResponseJson17 from(HttpResponse response) { - try { - byte[] bytes = Utils.extractByteArrayFromBody(response); - Data data = Utils.mapper().readValue(bytes, Data.class); - return new ErrorResponseJson17(response.statusCode(), bytes, response, data, null); - } catch (Exception e) { - return new ErrorResponseJson17(response.statusCode(), null, response, null, e); - } - } - - /** - * Parse a response into an instance of ErrorResponseJson17 asynchronously. If deserialization of the response body fails, - * the resulting ErrorResponseJson17 instance will have a null data() value and a non-null deserializationException(). - */ - public static CompletableFuture fromAsync(HttpResponse response) { - return response.body().toByteArray().handle((bytes, err) -> { - // if a body read error occurs, we want to transform the exception - if (err != null) { - throw new AsyncAPIException( - "Error reading response body: " + err.getMessage(), response.statusCode(), null, response, err); - } - - try { - return new ErrorResponseJson17( - response.statusCode(), - bytes, - response, - Utils.mapper().readValue(bytes, new TypeReference() {}), - null); - } catch (Exception e) { - return new ErrorResponseJson17(response.statusCode(), bytes, response, null, e); - } - }); - } - - /** - * The collection of error schemas. - */ - @Deprecated - public Optional> schemas() { - return data().flatMap(Data::schemas); - } - - /** - * Status code for error. - */ - @Deprecated - public Optional status() { - return data().map(Data::status); - } - - /** - * Details of the error. - */ - @Deprecated - public Optional detail() { - return data().map(Data::detail); - } - - /** - * This is used to denote the scim type of the error. - */ - @Deprecated - public Optional scimType() { - return data().flatMap(Data::scimType); - } - - public Optional data() { - return Optional.ofNullable(data); - } - - /** - * Returns the exception if an error occurs while deserializing the response body. - */ - public Optional deserializationException() { - return Optional.ofNullable(deserializationException); - } - /** - * Data - * - *

The error response. - */ - public static class Data { - /** - * The collection of error schemas. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("schemas") - private List schemas; - - /** - * Status code for error. - */ - @JsonProperty("status") - private long status; - - /** - * Details of the error. - */ - @JsonProperty("detail") - private String detail; - - /** - * This is used to denote the scim type of the error. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("scimType") - private ErrorScimTypeJson scimType; - - @JsonCreator - public Data( - @JsonProperty("schemas") @Nullable List schemas, - @JsonProperty("status") long status, - @JsonProperty("detail") @Nonnull String detail, - @JsonProperty("scimType") @Nullable ErrorScimTypeJson scimType) { - this.schemas = schemas; - this.status = status; - this.detail = Optional.ofNullable(detail) - .orElseThrow(() -> new IllegalArgumentException("detail cannot be null")); - this.scimType = scimType; - } - - public Data(long status, @Nonnull String detail) { - this(null, status, detail, null); - } - - /** - * The collection of error schemas. - */ - public Optional> schemas() { - return Optional.ofNullable(this.schemas); - } - - /** - * Status code for error. - */ - public long status() { - return this.status; - } - - /** - * Details of the error. - */ - public String detail() { - return this.detail; - } - - /** - * This is used to denote the scim type of the error. - */ - public Optional scimType() { - return Optional.ofNullable(this.scimType); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The collection of error schemas. - */ - public Data withSchemas(@Nullable List schemas) { - this.schemas = schemas; - return this; - } - - /** - * Status code for error. - */ - public Data withStatus(long status) { - this.status = status; - return this; - } - - /** - * Details of the error. - */ - public Data withDetail(@Nonnull String detail) { - this.detail = Utils.checkNotNull(detail, "detail"); - return this; - } - - /** - * This is used to denote the scim type of the error. - */ - public Data withScimType(@Nullable ErrorScimTypeJson scimType) { - this.scimType = scimType; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Data other = (Data) o; - return Utils.enhancedDeepEquals(this.schemas, other.schemas) - && Utils.enhancedDeepEquals(this.status, other.status) - && Utils.enhancedDeepEquals(this.detail, other.detail) - && Utils.enhancedDeepEquals(this.scimType, other.scimType); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(schemas, status, detail, scimType); - } - - @Override - public String toString() { - return Utils.toString( - Data.class, "schemas", schemas, "status", status, "detail", detail, "scimType", scimType); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private List schemas; - - private long status; - - private String detail; - - private ErrorScimTypeJson scimType; - - private Builder() { - // force use of static builder() method - } - - /** - * The collection of error schemas. - */ - public Builder schemas(@Nullable List schemas) { - this.schemas = schemas; - return this; - } - - /** - * Status code for error. - */ - public Builder status(long status) { - this.status = status; - return this; - } - - /** - * Details of the error. - */ - public Builder detail(@Nonnull String detail) { - this.detail = Utils.checkNotNull(detail, "detail"); - return this; - } - - /** - * This is used to denote the scim type of the error. - */ - public Builder scimType(@Nullable ErrorScimTypeJson scimType) { - this.scimType = scimType; - return this; - } - - public Data build() { - return new Data(schemas, status, detail, scimType); - } - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/operations/AddSpeakerCategoryRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/AddSpeakerCategoryRequestBuilder.java index 42c0c15d7..fc5c82d26 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/AddSpeakerCategoryRequestBuilder.java +++ b/packages/java/src/main/java/com/cvent/models/operations/AddSpeakerCategoryRequestBuilder.java @@ -6,7 +6,7 @@ import static com.cvent.operations.Operations.RequestOperation; import com.cvent.SDKConfiguration; -import com.cvent.models.components.SpeakerCategory; +import com.cvent.models.components.SpeakerCategory2; import com.cvent.operations.AddSpeakerCategory; import com.cvent.utils.Headers; import com.cvent.utils.Options; @@ -18,7 +18,7 @@ public class AddSpeakerCategoryRequestBuilder { private final SDKConfiguration sdkConfiguration; private final Headers _headers = new Headers(); - private SpeakerCategory request; + private SpeakerCategory2 request; private final Options.Builder optionsBuilder; public AddSpeakerCategoryRequestBuilder(SDKConfiguration sdkConfiguration) { @@ -31,12 +31,12 @@ public AddSpeakerCategoryRequestBuilder retryConfig(RetryConfig retryConfig) { return this; } - public AddSpeakerCategoryRequestBuilder request(@Nonnull SpeakerCategory request) { + public AddSpeakerCategoryRequestBuilder request(@Nonnull SpeakerCategory2 request) { this.request = Utils.checkNotNull(request, "request"); return this; } - private SpeakerCategory _buildRequest() { + private SpeakerCategory2 _buildRequest() { return this.request; } @@ -54,7 +54,7 @@ public AddSpeakerCategoryRequestBuilder header(String name, String value) { */ public AddSpeakerCategoryResponse call() { Options options = optionsBuilder.build(); - RequestOperation operation = + RequestOperation operation = new AddSpeakerCategory.Sync(sdkConfiguration, options, _headers); return operation.handleResponse(operation.doRequest(this._buildRequest())); } diff --git a/packages/java/src/main/java/com/cvent/models/operations/CreateContactsRequest.java b/packages/java/src/main/java/com/cvent/models/operations/CreateContactsRequest.java index a3c7a245c..5889673d3 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/CreateContactsRequest.java +++ b/packages/java/src/main/java/com/cvent/models/operations/CreateContactsRequest.java @@ -3,7 +3,7 @@ */ package com.cvent.models.operations; -import com.cvent.models.components.ContactCreateRequestJson; +import com.cvent.models.components.ContactCreate; import com.cvent.utils.LazySingletonValue; import com.cvent.utils.SpeakeasyMetadata; import com.cvent.utils.Utils; @@ -38,16 +38,16 @@ public class CreateContactsRequest { * List of contacts to be created. Up to **10 contacts** can be created per call. */ @SpeakeasyMetadata("request:mediaType=application/json") - private List requestBody; + private List requestBody; @JsonCreator - public CreateContactsRequest(@Nullable Boolean upsert, @Nonnull List requestBody) { + public CreateContactsRequest(@Nullable Boolean upsert, @Nonnull List requestBody) { this.upsert = Optional.ofNullable(upsert).orElse(Builder._SINGLETON_VALUE_Upsert.value()); this.requestBody = Optional.ofNullable(requestBody) .orElseThrow(() -> new IllegalArgumentException("requestBody cannot be null")); } - public CreateContactsRequest(@Nonnull List requestBody) { + public CreateContactsRequest(@Nonnull List requestBody) { this(null, requestBody); } @@ -71,7 +71,7 @@ public Optional upsert() { /** * List of contacts to be created. Up to **10 contacts** can be created per call. */ - public List requestBody() { + public List requestBody() { return this.requestBody; } @@ -100,7 +100,7 @@ public CreateContactsRequest withUpsert(@Nullable Boolean upsert) { /** * List of contacts to be created. Up to **10 contacts** can be created per call. */ - public CreateContactsRequest withRequestBody(@Nonnull List requestBody) { + public CreateContactsRequest withRequestBody(@Nonnull List requestBody) { this.requestBody = Utils.checkNotNull(requestBody, "requestBody"); return this; } @@ -133,7 +133,7 @@ public static final class Builder { private Boolean upsert; - private List requestBody; + private List requestBody; private Builder() { // force use of static builder() method @@ -160,7 +160,7 @@ public Builder upsert(@Nullable Boolean upsert) { /** * List of contacts to be created. Up to **10 contacts** can be created per call. */ - public Builder requestBody(@Nonnull List requestBody) { + public Builder requestBody(@Nonnull List requestBody) { this.requestBody = Utils.checkNotNull(requestBody, "requestBody"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/operations/CreateContactsResponse.java b/packages/java/src/main/java/com/cvent/models/operations/CreateContactsResponse.java index 79018b754..417622fc5 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/CreateContactsResponse.java +++ b/packages/java/src/main/java/com/cvent/models/operations/CreateContactsResponse.java @@ -3,7 +3,7 @@ */ package com.cvent.models.operations; -import com.cvent.models.components.ContactBulkItemJson; +import com.cvent.models.components.ContactBulkResponseItem; import com.cvent.utils.Response; import com.cvent.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; @@ -35,14 +35,14 @@ public class CreateContactsResponse implements Response { /** * Successfully created a list of contacts. */ - private List contactBulkResponse; + private List contactBulkResponse; @JsonCreator public CreateContactsResponse( @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse, - @Nullable List contactBulkResponse) { + @Nullable List contactBulkResponse) { this.contentType = Optional.ofNullable(contentType) .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); this.statusCode = statusCode; @@ -80,7 +80,7 @@ public HttpResponse rawResponse() { /** * Successfully created a list of contacts. */ - public Optional> contactBulkResponse() { + public Optional> contactBulkResponse() { return Optional.ofNullable(this.contactBulkResponse); } @@ -115,7 +115,7 @@ public CreateContactsResponse withRawResponse(@Nonnull HttpResponse /** * Successfully created a list of contacts. */ - public CreateContactsResponse withContactBulkResponse(@Nullable List contactBulkResponse) { + public CreateContactsResponse withContactBulkResponse(@Nullable List contactBulkResponse) { this.contactBulkResponse = contactBulkResponse; return this; } @@ -163,7 +163,7 @@ public static final class Builder { private HttpResponse rawResponse; - private List contactBulkResponse; + private List contactBulkResponse; private Builder() { // force use of static builder() method @@ -196,7 +196,7 @@ public Builder rawResponse(@Nonnull HttpResponse rawResponse) { /** * Successfully created a list of contacts. */ - public Builder contactBulkResponse(@Nullable List contactBulkResponse) { + public Builder contactBulkResponse(@Nullable List contactBulkResponse) { this.contactBulkResponse = contactBulkResponse; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/operations/GetAttendeeByIdResponse.java b/packages/java/src/main/java/com/cvent/models/operations/GetAttendeeByIdResponse.java index 49ab1b405..6a0466e5d 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/GetAttendeeByIdResponse.java +++ b/packages/java/src/main/java/com/cvent/models/operations/GetAttendeeByIdResponse.java @@ -3,7 +3,7 @@ */ package com.cvent.models.operations; -import com.cvent.models.components.Attendee1; +import com.cvent.models.components.Attendee11; import com.cvent.utils.Response; import com.cvent.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; @@ -34,20 +34,20 @@ public class GetAttendeeByIdResponse implements Response { /** * Successfully retrieved an attendee object. */ - private Attendee1 attendee; + private Attendee11 attendee1; @JsonCreator public GetAttendeeByIdResponse( @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse, - @Nullable Attendee1 attendee) { + @Nullable Attendee11 attendee1) { 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.attendee = attendee; + this.attendee1 = attendee1; } public GetAttendeeByIdResponse( @@ -79,8 +79,8 @@ public HttpResponse rawResponse() { /** * Successfully retrieved an attendee object. */ - public Optional attendee() { - return Optional.ofNullable(this.attendee); + public Optional attendee1() { + return Optional.ofNullable(this.attendee1); } public static Builder builder() { @@ -114,8 +114,8 @@ public GetAttendeeByIdResponse withRawResponse(@Nonnull HttpResponse rawResponse; - private Attendee1 attendee; + private Attendee11 attendee1; private Builder() { // force use of static builder() method @@ -195,13 +195,13 @@ public Builder rawResponse(@Nonnull HttpResponse rawResponse) { /** * Successfully retrieved an attendee object. */ - public Builder attendee(@Nullable Attendee1 attendee) { - this.attendee = attendee; + public Builder attendee1(@Nullable Attendee11 attendee1) { + this.attendee1 = attendee1; return this; } public GetAttendeeByIdResponse build() { - return new GetAttendeeByIdResponse(contentType, statusCode, rawResponse, attendee); + return new GetAttendeeByIdResponse(contentType, statusCode, rawResponse, attendee1); } } } diff --git a/packages/java/src/main/java/com/cvent/models/operations/GetAttendeeMessagesMembersRequest.java b/packages/java/src/main/java/com/cvent/models/operations/GetAttendeeMessagesMembersRequest.java index d06015358..b66d4d63d 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/GetAttendeeMessagesMembersRequest.java +++ b/packages/java/src/main/java/com/cvent/models/operations/GetAttendeeMessagesMembersRequest.java @@ -36,23 +36,26 @@ public class GetAttendeeMessagesMembersRequest { private String token; /** - * Filters are used to narrow the results returned and support a combination of logical and comparison - * operators. + * Filters narrow results returned based on the criteria you supply. * - *

The filter adheres to the pattern `filter='field' comparisonType 'value'`. + *

Filters follow the pattern `filter='field' operator 'value'`. * - *

These are the comparison types that can be used in filter expressions: - * - equals to: eq - * - match any of the values in the list: in + *

The following comparison operators are supported: + * - `eq`: equals to + * - `in`: match any of the values in the list * - *

The following operators can be used: - * - or + *

The following fields are supported: * - *

The following fields are filterable: - * * `channel.id` (eq/in) + *

| Field | Operators | + * |------------------|------------------------------------| + * | channel.id | `eq`, `in` | * - *

Examples: - * - Filter channel IDs: + *

The following logical operators are supported for combining filters: + * - `or` + * + *

**Examples:** + * + *

Filter channel IDs: * * `filter=channel.id in ('production_group_0cb93bab-32d2-4f82-b430-e1911f2348ac', * 'production_group_f6dfb98a-c734-487c-97e1-7c7a09a9125f')` * * `filter=channel.id eq 'production_attendee_616241fd-e97d-48c5-8c4b-4b926f50e8c3' or channel.id eq @@ -99,23 +102,26 @@ public Optional token() { } /** - * Filters are used to narrow the results returned and support a combination of logical and comparison - * operators. + * Filters narrow results returned based on the criteria you supply. + * + *

Filters follow the pattern `filter='field' operator 'value'`. + * + *

The following comparison operators are supported: + * - `eq`: equals to + * - `in`: match any of the values in the list * - *

The filter adheres to the pattern `filter='field' comparisonType 'value'`. + *

The following fields are supported: * - *

These are the comparison types that can be used in filter expressions: - * - equals to: eq - * - match any of the values in the list: in + *

| Field | Operators | + * |------------------|------------------------------------| + * | channel.id | `eq`, `in` | * - *

The following operators can be used: - * - or + *

The following logical operators are supported for combining filters: + * - `or` * - *

The following fields are filterable: - * * `channel.id` (eq/in) + *

**Examples:** * - *

Examples: - * - Filter channel IDs: + *

Filter channel IDs: * * `filter=channel.id in ('production_group_0cb93bab-32d2-4f82-b430-e1911f2348ac', * 'production_group_f6dfb98a-c734-487c-97e1-7c7a09a9125f')` * * `filter=channel.id eq 'production_attendee_616241fd-e97d-48c5-8c4b-4b926f50e8c3' or channel.id eq @@ -155,23 +161,26 @@ public GetAttendeeMessagesMembersRequest withToken(@Nullable String token) { } /** - * Filters are used to narrow the results returned and support a combination of logical and comparison - * operators. + * Filters narrow results returned based on the criteria you supply. * - *

The filter adheres to the pattern `filter='field' comparisonType 'value'`. + *

Filters follow the pattern `filter='field' operator 'value'`. * - *

These are the comparison types that can be used in filter expressions: - * - equals to: eq - * - match any of the values in the list: in + *

The following comparison operators are supported: + * - `eq`: equals to + * - `in`: match any of the values in the list * - *

The following operators can be used: - * - or + *

The following fields are supported: * - *

The following fields are filterable: - * * `channel.id` (eq/in) + *

| Field | Operators | + * |------------------|------------------------------------| + * | channel.id | `eq`, `in` | * - *

Examples: - * - Filter channel IDs: + *

The following logical operators are supported for combining filters: + * - `or` + * + *

**Examples:** + * + *

Filter channel IDs: * * `filter=channel.id in ('production_group_0cb93bab-32d2-4f82-b430-e1911f2348ac', * 'production_group_f6dfb98a-c734-487c-97e1-7c7a09a9125f')` * * `filter=channel.id eq 'production_attendee_616241fd-e97d-48c5-8c4b-4b926f50e8c3' or channel.id eq @@ -257,23 +266,26 @@ public Builder token(@Nullable String token) { } /** - * Filters are used to narrow the results returned and support a combination of logical and comparison - * operators. + * Filters narrow results returned based on the criteria you supply. + * + *

Filters follow the pattern `filter='field' operator 'value'`. + * + *

The following comparison operators are supported: + * - `eq`: equals to + * - `in`: match any of the values in the list * - *

The filter adheres to the pattern `filter='field' comparisonType 'value'`. + *

The following fields are supported: * - *

These are the comparison types that can be used in filter expressions: - * - equals to: eq - * - match any of the values in the list: in + *

| Field | Operators | + * |------------------|------------------------------------| + * | channel.id | `eq`, `in` | * - *

The following operators can be used: - * - or + *

The following logical operators are supported for combining filters: + * - `or` * - *

The following fields are filterable: - * * `channel.id` (eq/in) + *

**Examples:** * - *

Examples: - * - Filter channel IDs: + *

Filter channel IDs: * * `filter=channel.id in ('production_group_0cb93bab-32d2-4f82-b430-e1911f2348ac', * 'production_group_f6dfb98a-c734-487c-97e1-7c7a09a9125f')` * * `filter=channel.id eq 'production_attendee_616241fd-e97d-48c5-8c4b-4b926f50e8c3' or channel.id eq diff --git a/packages/java/src/main/java/com/cvent/models/operations/GetTravelProposalBidResponse.java b/packages/java/src/main/java/com/cvent/models/operations/GetTravelProposalBidResponse.java index 5e6da62fc..a5d713ab1 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/GetTravelProposalBidResponse.java +++ b/packages/java/src/main/java/com/cvent/models/operations/GetTravelProposalBidResponse.java @@ -3,7 +3,7 @@ */ package com.cvent.models.operations; -import com.cvent.models.components.TravelProposalBid; +import com.cvent.models.components.TravelProposalBid2; import com.cvent.utils.Response; import com.cvent.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; @@ -34,14 +34,14 @@ public class GetTravelProposalBidResponse implements Response { /** * Successfully retrieved a travel proposal bid. */ - private TravelProposalBid travelProposalBid; + private TravelProposalBid2 travelProposalBid; @JsonCreator public GetTravelProposalBidResponse( @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse, - @Nullable TravelProposalBid travelProposalBid) { + @Nullable TravelProposalBid2 travelProposalBid) { this.contentType = Optional.ofNullable(contentType) .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); this.statusCode = statusCode; @@ -79,7 +79,7 @@ public HttpResponse rawResponse() { /** * Successfully retrieved a travel proposal bid. */ - public Optional travelProposalBid() { + public Optional travelProposalBid() { return Optional.ofNullable(this.travelProposalBid); } @@ -114,7 +114,7 @@ public GetTravelProposalBidResponse withRawResponse(@Nonnull HttpResponse rawResponse; - private TravelProposalBid travelProposalBid; + private TravelProposalBid2 travelProposalBid; private Builder() { // force use of static builder() method @@ -195,7 +195,7 @@ public Builder rawResponse(@Nonnull HttpResponse rawResponse) { /** * Successfully retrieved a travel proposal bid. */ - public Builder travelProposalBid(@Nullable TravelProposalBid travelProposalBid) { + public Builder travelProposalBid(@Nullable TravelProposalBid2 travelProposalBid) { this.travelProposalBid = travelProposalBid; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/operations/GetVideoViewsRequest.java b/packages/java/src/main/java/com/cvent/models/operations/GetVideoViewsRequest.java index cc8156705..60afd34e4 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/GetVideoViewsRequest.java +++ b/packages/java/src/main/java/com/cvent/models/operations/GetVideoViewsRequest.java @@ -43,23 +43,24 @@ public class GetVideoViewsRequest { private String token; /** - * 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'. - * The filter query supports maximum three fields in filter expression. + * Use filter query parameters to limit results + * to data that matches your criteria. See + * [Filters](/docs/rest-api/reference/filters) for details. * - *

There is one comparison type that can be used in filter expressions: - * * equal: eq + *

Supported fields and operators are listed below: * - *

The following fields are filterable: - * * contact.id (eq) - * * solution (eq) - * * device.type (eq) [deprecated] - * * device.operatingSystem (eq) [deprecated] - * * video.id (eq) - * * type (eq) + *

| Field | Operators | Notes | + * |------------------------|-----------|------------| + * | contact.id | `eq` | | + * | solution | `eq` | | + * | device.type | `eq` | deprecated | + * | device.operatingSystem | `eq` | deprecated | + * | video.id | `eq` | | + * | type | `eq` | | * - *

The following operators are available: + *

The filter query supports maximum three fields in a filter expression. + * + *

The following logical operators are supported for combining filters: * * and */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=filter") @@ -114,23 +115,24 @@ public Optional token() { } /** - * 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'. - * The filter query supports maximum three fields in filter expression. + * Use filter query parameters to limit results + * to data that matches your criteria. See + * [Filters](/docs/rest-api/reference/filters) for details. + * + *

Supported fields and operators are listed below: * - *

There is one comparison type that can be used in filter expressions: - * * equal: eq + *

| Field | Operators | Notes | + * |------------------------|-----------|------------| + * | contact.id | `eq` | | + * | solution | `eq` | | + * | device.type | `eq` | deprecated | + * | device.operatingSystem | `eq` | deprecated | + * | video.id | `eq` | | + * | type | `eq` | | * - *

The following fields are filterable: - * * contact.id (eq) - * * solution (eq) - * * device.type (eq) [deprecated] - * * device.operatingSystem (eq) [deprecated] - * * video.id (eq) - * * type (eq) + *

The filter query supports maximum three fields in a filter expression. * - *

The following operators are available: + *

The following logical operators are supported for combining filters: * * and */ public Optional filter() { @@ -176,23 +178,24 @@ public GetVideoViewsRequest withToken(@Nullable String token) { } /** - * 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'. - * The filter query supports maximum three fields in filter expression. + * Use filter query parameters to limit results + * to data that matches your criteria. See + * [Filters](/docs/rest-api/reference/filters) for details. * - *

There is one comparison type that can be used in filter expressions: - * * equal: eq + *

Supported fields and operators are listed below: * - *

The following fields are filterable: - * * contact.id (eq) - * * solution (eq) - * * device.type (eq) [deprecated] - * * device.operatingSystem (eq) [deprecated] - * * video.id (eq) - * * type (eq) + *

| Field | Operators | Notes | + * |------------------------|-----------|------------| + * | contact.id | `eq` | | + * | solution | `eq` | | + * | device.type | `eq` | deprecated | + * | device.operatingSystem | `eq` | deprecated | + * | video.id | `eq` | | + * | type | `eq` | | * - *

The following operators are available: + *

The filter query supports maximum three fields in a filter expression. + * + *

The following logical operators are supported for combining filters: * * and */ public GetVideoViewsRequest withFilter(@Nullable String filter) { @@ -289,23 +292,24 @@ public Builder token(@Nullable String token) { } /** - * 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'. - * The filter query supports maximum three fields in filter expression. + * Use filter query parameters to limit results + * to data that matches your criteria. See + * [Filters](/docs/rest-api/reference/filters) for details. + * + *

Supported fields and operators are listed below: * - *

There is one comparison type that can be used in filter expressions: - * * equal: eq + *

| Field | Operators | Notes | + * |------------------------|-----------|------------| + * | contact.id | `eq` | | + * | solution | `eq` | | + * | device.type | `eq` | deprecated | + * | device.operatingSystem | `eq` | deprecated | + * | video.id | `eq` | | + * | type | `eq` | | * - *

The following fields are filterable: - * * contact.id (eq) - * * solution (eq) - * * device.type (eq) [deprecated] - * * device.operatingSystem (eq) [deprecated] - * * video.id (eq) - * * type (eq) + *

The filter query supports maximum three fields in a filter expression. * - *

The following operators are available: + *

The following logical operators are supported for combining filters: * * and */ public Builder filter(@Nullable String filter) { diff --git a/packages/java/src/main/java/com/cvent/models/operations/ListDurationsRequest.java b/packages/java/src/main/java/com/cvent/models/operations/ListDurationsRequest.java index e19ab64fa..00f25002c 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/ListDurationsRequest.java +++ b/packages/java/src/main/java/com/cvent/models/operations/ListDurationsRequest.java @@ -63,34 +63,26 @@ public class ListDurationsRequest { private String sort; /** - * A filter string passed in the body of the request, narrows search results and supports the - * combination of logical and comparison operators. - * The filter adheres to the pattern filter='field' comparisonType 'value'. + * Use filter query parameters to limit results + * to data that matches your criteria. See + * [Filters](/docs/rest-api/reference/filters) for details. * - *

There are eight comparison types that can be used in filter expressions: - * * equal: eq - * * not equal: ne - * * greater than: gt - * * greater or equal: ge - * * less than: lt - * * less than or equal: le - * * starts with: sw - * * contains a value: contains - * * includes value(s): in + *

Supported fields and operators are listed below: * - *

The following fields are filterable: - * * id (eq|ne) - * * event.id (eq|ne|in) - * * session.id (eq|ne|in) - * * attendee.id (eq|ne|in) - * * type (contains|eq|ne|in) - * * deleted (eq|ne) - * * firstSeen (eq|ne|lt|le|gt|ge) - * * lastSeen (eq|ne|lt|le|gt|ge) - * * duration (eq|ne|lt|le|gt|ge) - * * created (eq|ne|lt|le|gt|ge) + *

| Field | Operators | + * |-------------|------------------------------------| + * | id | `eq`, `ne` | + * | event.id | `eq`, `ne`, `in` | + * | session.id | `eq`, `ne`, `in` | + * | attendee.id | `eq`, `ne`, `in` | + * | type | `contains`, `eq`, `ne`, `in` | + * | deleted | `eq`, `ne` | + * | firstSeen | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | + * | lastSeen | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | + * | duration | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | + * | created | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | * - *

The following operators are available: + *

The following logical operators are supported for combining filters: * * and * * or */ @@ -169,34 +161,26 @@ public Optional sort() { } /** - * A filter string passed in the body of the request, narrows search results and supports the - * combination of logical and comparison operators. - * The filter adheres to the pattern filter='field' comparisonType 'value'. + * Use filter query parameters to limit results + * to data that matches your criteria. See + * [Filters](/docs/rest-api/reference/filters) for details. * - *

There are eight comparison types that can be used in filter expressions: - * * equal: eq - * * not equal: ne - * * greater than: gt - * * greater or equal: ge - * * less than: lt - * * less than or equal: le - * * starts with: sw - * * contains a value: contains - * * includes value(s): in + *

Supported fields and operators are listed below: * - *

The following fields are filterable: - * * id (eq|ne) - * * event.id (eq|ne|in) - * * session.id (eq|ne|in) - * * attendee.id (eq|ne|in) - * * type (contains|eq|ne|in) - * * deleted (eq|ne) - * * firstSeen (eq|ne|lt|le|gt|ge) - * * lastSeen (eq|ne|lt|le|gt|ge) - * * duration (eq|ne|lt|le|gt|ge) - * * created (eq|ne|lt|le|gt|ge) + *

| Field | Operators | + * |-------------|------------------------------------| + * | id | `eq`, `ne` | + * | event.id | `eq`, `ne`, `in` | + * | session.id | `eq`, `ne`, `in` | + * | attendee.id | `eq`, `ne`, `in` | + * | type | `contains`, `eq`, `ne`, `in` | + * | deleted | `eq`, `ne` | + * | firstSeen | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | + * | lastSeen | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | + * | duration | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | + * | created | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | * - *

The following operators are available: + *

The following logical operators are supported for combining filters: * * and * * or */ @@ -265,34 +249,26 @@ public ListDurationsRequest withSort(@Nullable String sort) { } /** - * A filter string passed in the body of the request, narrows search results and supports the - * combination of logical and comparison operators. - * The filter adheres to the pattern filter='field' comparisonType 'value'. + * Use filter query parameters to limit results + * to data that matches your criteria. See + * [Filters](/docs/rest-api/reference/filters) for details. * - *

There are eight comparison types that can be used in filter expressions: - * * equal: eq - * * not equal: ne - * * greater than: gt - * * greater or equal: ge - * * less than: lt - * * less than or equal: le - * * starts with: sw - * * contains a value: contains - * * includes value(s): in + *

Supported fields and operators are listed below: * - *

The following fields are filterable: - * * id (eq|ne) - * * event.id (eq|ne|in) - * * session.id (eq|ne|in) - * * attendee.id (eq|ne|in) - * * type (contains|eq|ne|in) - * * deleted (eq|ne) - * * firstSeen (eq|ne|lt|le|gt|ge) - * * lastSeen (eq|ne|lt|le|gt|ge) - * * duration (eq|ne|lt|le|gt|ge) - * * created (eq|ne|lt|le|gt|ge) + *

| Field | Operators | + * |-------------|------------------------------------| + * | id | `eq`, `ne` | + * | event.id | `eq`, `ne`, `in` | + * | session.id | `eq`, `ne`, `in` | + * | attendee.id | `eq`, `ne`, `in` | + * | type | `contains`, `eq`, `ne`, `in` | + * | deleted | `eq`, `ne` | + * | firstSeen | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | + * | lastSeen | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | + * | duration | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | + * | created | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | * - *

The following operators are available: + *

The following logical operators are supported for combining filters: * * and * * or */ @@ -417,34 +393,26 @@ public Builder sort(@Nullable String sort) { } /** - * A filter string passed in the body of the request, narrows search results and supports the - * combination of logical and comparison operators. - * The filter adheres to the pattern filter='field' comparisonType 'value'. + * Use filter query parameters to limit results + * to data that matches your criteria. See + * [Filters](/docs/rest-api/reference/filters) for details. * - *

There are eight comparison types that can be used in filter expressions: - * * equal: eq - * * not equal: ne - * * greater than: gt - * * greater or equal: ge - * * less than: lt - * * less than or equal: le - * * starts with: sw - * * contains a value: contains - * * includes value(s): in + *

Supported fields and operators are listed below: * - *

The following fields are filterable: - * * id (eq|ne) - * * event.id (eq|ne|in) - * * session.id (eq|ne|in) - * * attendee.id (eq|ne|in) - * * type (contains|eq|ne|in) - * * deleted (eq|ne) - * * firstSeen (eq|ne|lt|le|gt|ge) - * * lastSeen (eq|ne|lt|le|gt|ge) - * * duration (eq|ne|lt|le|gt|ge) - * * created (eq|ne|lt|le|gt|ge) + *

| Field | Operators | + * |-------------|------------------------------------| + * | id | `eq`, `ne` | + * | event.id | `eq`, `ne`, `in` | + * | session.id | `eq`, `ne`, `in` | + * | attendee.id | `eq`, `ne`, `in` | + * | type | `contains`, `eq`, `ne`, `in` | + * | deleted | `eq`, `ne` | + * | firstSeen | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | + * | lastSeen | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | + * | duration | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | + * | created | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | * - *

The following operators are available: + *

The following logical operators are supported for combining filters: * * and * * or */ diff --git a/packages/java/src/main/java/com/cvent/models/operations/ListEventVoucherAttendeesRequest.java b/packages/java/src/main/java/com/cvent/models/operations/ListEventVoucherAttendeesRequest.java new file mode 100644 index 000000000..dcc85db92 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/ListEventVoucherAttendeesRequest.java @@ -0,0 +1,213 @@ +/* + * 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 ListEventVoucherAttendeesRequest { + /** + * Unique ID of an event. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id") + private String id; + + /** + * Unique ID of a voucher. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=voucherId") + private String voucherId; + + /** + * 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 ListEventVoucherAttendeesRequest( + @Nonnull String id, @Nonnull String voucherId, @Nullable Long limit, @Nullable String token) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.voucherId = Optional.ofNullable(voucherId) + .orElseThrow(() -> new IllegalArgumentException("voucherId cannot be null")); + this.limit = Optional.ofNullable(limit).orElse(Builder._SINGLETON_VALUE_Limit.value()); + this.token = token; + } + + public ListEventVoucherAttendeesRequest(@Nonnull String id, @Nonnull String voucherId) { + this(id, voucherId, null, null); + } + + /** + * Unique ID of an event. + */ + public String id() { + return this.id; + } + + /** + * Unique ID of a voucher. + */ + public String voucherId() { + return this.voucherId; + } + + /** + * 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 ID of an event. + */ + public ListEventVoucherAttendeesRequest withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * Unique ID of a voucher. + */ + public ListEventVoucherAttendeesRequest withVoucherId(@Nonnull String voucherId) { + this.voucherId = Utils.checkNotNull(voucherId, "voucherId"); + return this; + } + + /** + * The maximum number of records to return per page. + */ + public ListEventVoucherAttendeesRequest 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 ListEventVoucherAttendeesRequest 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; + } + ListEventVoucherAttendeesRequest other = (ListEventVoucherAttendeesRequest) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.voucherId, other.voucherId) + && Utils.enhancedDeepEquals(this.limit, other.limit) + && Utils.enhancedDeepEquals(this.token, other.token); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, voucherId, limit, token); + } + + @Override + public String toString() { + return Utils.toString( + ListEventVoucherAttendeesRequest.class, + "id", + id, + "voucherId", + voucherId, + "limit", + limit, + "token", + token); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String voucherId; + + private Long limit; + + private String token; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique ID of an event. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * Unique ID of a voucher. + */ + public Builder voucherId(@Nonnull String voucherId) { + this.voucherId = Utils.checkNotNull(voucherId, "voucherId"); + 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 ListEventVoucherAttendeesRequest build() { + return new ListEventVoucherAttendeesRequest(id, voucherId, 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/ListEventVoucherAttendeesRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/ListEventVoucherAttendeesRequestBuilder.java new file mode 100644 index 000000000..faa2e61f4 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/ListEventVoucherAttendeesRequestBuilder.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.ListEventVoucherAttendees; +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 ListEventVoucherAttendeesRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private ListEventVoucherAttendeesRequest request; + private final Options.Builder optionsBuilder; + + public ListEventVoucherAttendeesRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public ListEventVoucherAttendeesRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public ListEventVoucherAttendeesRequestBuilder request(@Nonnull ListEventVoucherAttendeesRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private ListEventVoucherAttendeesRequest _buildRequest() { + return this.request; + } + + public ListEventVoucherAttendeesRequestBuilder 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 ListEventVoucherAttendeesResponse call() { + Options options = optionsBuilder.build(); + RequestOperation operation = + new ListEventVoucherAttendees.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 (ListEventVoucherAttendeesResponse page : builder.callAsIterable()) {
+     *     // Process each page
+     * }
+     * 
+ * + * @return An iterable that can be used to iterate through all pages + */ + public Iterable callAsIterable() { + ListEventVoucherAttendeesRequest request = this.request; + Options options = optionsBuilder.build(); + RequestOperation operation = + new ListEventVoucherAttendees.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/ListEventVoucherAttendeesResponse.java b/packages/java/src/main/java/com/cvent/models/operations/ListEventVoucherAttendeesResponse.java new file mode 100644 index 000000000..6deeeda00 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/ListEventVoucherAttendeesResponse.java @@ -0,0 +1,209 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.models.components.AttendeesPaginatedResponse; +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 ListEventVoucherAttendeesResponse 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 a paginated list of attendees for the voucher. + */ + private AttendeesPaginatedResponse attendeesPaginatedResponse; + + @JsonCreator + public ListEventVoucherAttendeesResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable AttendeesPaginatedResponse attendeesPaginatedResponse) { + 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.attendeesPaginatedResponse = attendeesPaginatedResponse; + } + + public ListEventVoucherAttendeesResponse( + @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 a paginated list of attendees for the voucher. + */ + public Optional attendeesPaginatedResponse() { + return Optional.ofNullable(this.attendeesPaginatedResponse); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public ListEventVoucherAttendeesResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public ListEventVoucherAttendeesResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public ListEventVoucherAttendeesResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully retrieved a paginated list of attendees for the voucher. + */ + public ListEventVoucherAttendeesResponse withAttendeesPaginatedResponse( + @Nullable AttendeesPaginatedResponse attendeesPaginatedResponse) { + this.attendeesPaginatedResponse = attendeesPaginatedResponse; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ListEventVoucherAttendeesResponse other = (ListEventVoucherAttendeesResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.attendeesPaginatedResponse, other.attendeesPaginatedResponse); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, attendeesPaginatedResponse); + } + + @Override + public String toString() { + return Utils.toString( + ListEventVoucherAttendeesResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "attendeesPaginatedResponse", + attendeesPaginatedResponse); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private AttendeesPaginatedResponse attendeesPaginatedResponse; + + 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 a paginated list of attendees for the voucher. + */ + public Builder attendeesPaginatedResponse(@Nullable AttendeesPaginatedResponse attendeesPaginatedResponse) { + this.attendeesPaginatedResponse = attendeesPaginatedResponse; + return this; + } + + public ListEventVoucherAttendeesResponse build() { + return new ListEventVoucherAttendeesResponse( + contentType, statusCode, rawResponse, attendeesPaginatedResponse); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/ListEventVouchersPostFilterRequest.java b/packages/java/src/main/java/com/cvent/models/operations/ListEventVouchersPostFilterRequest.java new file mode 100644 index 000000000..014fa4c17 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/ListEventVouchersPostFilterRequest.java @@ -0,0 +1,369 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.models.components.Filter; +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.time.OffsetDateTime; +import java.util.Optional; + +public class ListEventVouchersPostFilterRequest { + /** + * Unique ID of an event. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id") + private String id; + + /** + * 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; + + /** + * Used to query records that have been added or updated before this time point. + */ + @SpeakeasyMetadata("queryParam:style=form,explode=true,name=before") + private OffsetDateTime before; + + /** + * Used to query records that have been added or updated after this time point. Default to the + * beginning of time of the data store. + */ + @SpeakeasyMetadata("queryParam:style=form,explode=true,name=after") + private OffsetDateTime after; + + /** + * The sort order for the results, expressed as a priority-ordered list of field and direction pairs. + * + *

There are two sort directions: + * * ascending: ASC + * * descending: DESC + * + *

The following fields are sortable: + * * code + * + *

When not provided, results are sorted by `code` ascending. + */ + @SpeakeasyMetadata("queryParam:style=form,explode=true,name=sort") + private String sort; + + /** + * See the `filter` parameter in [List Event Vouchers](#operation/listEventVouchers) for full filtering + * information. + */ + @SpeakeasyMetadata("request:mediaType=application/json") + private Filter filter; + + @JsonCreator + public ListEventVouchersPostFilterRequest( + @Nonnull String id, + @Nullable Long limit, + @Nullable String token, + @Nullable OffsetDateTime before, + @Nullable OffsetDateTime after, + @Nullable String sort, + @Nullable Filter filter) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.limit = Optional.ofNullable(limit).orElse(Builder._SINGLETON_VALUE_Limit.value()); + this.token = token; + this.before = before; + this.after = after; + this.sort = sort; + this.filter = filter; + } + + public ListEventVouchersPostFilterRequest(@Nonnull String id) { + this(id, null, null, null, null, null, null); + } + + /** + * Unique ID of an event. + */ + public String id() { + return this.id; + } + + /** + * 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); + } + + /** + * Used to query records that have been added or updated before this time point. + */ + public Optional before() { + return Optional.ofNullable(this.before); + } + + /** + * Used to query records that have been added or updated after this time point. Default to the + * beginning of time of the data store. + */ + public Optional after() { + return Optional.ofNullable(this.after); + } + + /** + * The sort order for the results, expressed as a priority-ordered list of field and direction pairs. + * + *

There are two sort directions: + * * ascending: ASC + * * descending: DESC + * + *

The following fields are sortable: + * * code + * + *

When not provided, results are sorted by `code` ascending. + */ + public Optional sort() { + return Optional.ofNullable(this.sort); + } + + /** + * See the `filter` parameter in [List Event Vouchers](#operation/listEventVouchers) for full filtering + * information. + */ + public Optional filter() { + return Optional.ofNullable(this.filter); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique ID of an event. + */ + public ListEventVouchersPostFilterRequest withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The maximum number of records to return per page. + */ + public ListEventVouchersPostFilterRequest 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 ListEventVouchersPostFilterRequest withToken(@Nullable String token) { + this.token = token; + return this; + } + + /** + * Used to query records that have been added or updated before this time point. + */ + public ListEventVouchersPostFilterRequest withBefore(@Nullable OffsetDateTime before) { + this.before = before; + return this; + } + + /** + * Used to query records that have been added or updated after this time point. Default to the + * beginning of time of the data store. + */ + public ListEventVouchersPostFilterRequest withAfter(@Nullable OffsetDateTime after) { + this.after = after; + return this; + } + + /** + * The sort order for the results, expressed as a priority-ordered list of field and direction pairs. + * + *

There are two sort directions: + * * ascending: ASC + * * descending: DESC + * + *

The following fields are sortable: + * * code + * + *

When not provided, results are sorted by `code` ascending. + */ + public ListEventVouchersPostFilterRequest withSort(@Nullable String sort) { + this.sort = sort; + return this; + } + + /** + * See the `filter` parameter in [List Event Vouchers](#operation/listEventVouchers) for full filtering + * information. + */ + public ListEventVouchersPostFilterRequest withFilter(@Nullable Filter filter) { + this.filter = filter; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ListEventVouchersPostFilterRequest other = (ListEventVouchersPostFilterRequest) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.limit, other.limit) + && Utils.enhancedDeepEquals(this.token, other.token) + && Utils.enhancedDeepEquals(this.before, other.before) + && Utils.enhancedDeepEquals(this.after, other.after) + && Utils.enhancedDeepEquals(this.sort, other.sort) + && Utils.enhancedDeepEquals(this.filter, other.filter); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, limit, token, before, after, sort, filter); + } + + @Override + public String toString() { + return Utils.toString( + ListEventVouchersPostFilterRequest.class, + "id", + id, + "limit", + limit, + "token", + token, + "before", + before, + "after", + after, + "sort", + sort, + "filter", + filter); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Long limit; + + private String token; + + private OffsetDateTime before; + + private OffsetDateTime after; + + private String sort; + + private Filter filter; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique ID of an event. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + 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; + } + + /** + * Used to query records that have been added or updated before this time point. + */ + public Builder before(@Nullable OffsetDateTime before) { + this.before = before; + return this; + } + + /** + * Used to query records that have been added or updated after this time point. Default to the + * beginning of time of the data store. + */ + public Builder after(@Nullable OffsetDateTime after) { + this.after = after; + return this; + } + + /** + * The sort order for the results, expressed as a priority-ordered list of field and direction pairs. + * + *

There are two sort directions: + * * ascending: ASC + * * descending: DESC + * + *

The following fields are sortable: + * * code + * + *

When not provided, results are sorted by `code` ascending. + */ + public Builder sort(@Nullable String sort) { + this.sort = sort; + return this; + } + + /** + * See the `filter` parameter in [List Event Vouchers](#operation/listEventVouchers) for full filtering + * information. + */ + public Builder filter(@Nullable Filter filter) { + this.filter = filter; + return this; + } + + public ListEventVouchersPostFilterRequest build() { + return new ListEventVouchersPostFilterRequest(id, limit, token, before, after, sort, filter); + } + + 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/ListEventVouchersPostFilterRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/ListEventVouchersPostFilterRequestBuilder.java new file mode 100644 index 000000000..21b1192b0 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/ListEventVouchersPostFilterRequestBuilder.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.ListEventVouchersPostFilter; +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 ListEventVouchersPostFilterRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private ListEventVouchersPostFilterRequest request; + private final Options.Builder optionsBuilder; + + public ListEventVouchersPostFilterRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public ListEventVouchersPostFilterRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public ListEventVouchersPostFilterRequestBuilder request(@Nonnull ListEventVouchersPostFilterRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private ListEventVouchersPostFilterRequest _buildRequest() { + return this.request; + } + + public ListEventVouchersPostFilterRequestBuilder 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 ListEventVouchersPostFilterResponse call() { + Options options = optionsBuilder.build(); + RequestOperation operation = + new ListEventVouchersPostFilter.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 (ListEventVouchersPostFilterResponse page : builder.callAsIterable()) {
+     *     // Process each page
+     * }
+     * 
+ * + * @return An iterable that can be used to iterate through all pages + */ + public Iterable callAsIterable() { + ListEventVouchersPostFilterRequest request = this.request; + Options options = optionsBuilder.build(); + RequestOperation operation = + new ListEventVouchersPostFilter.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/ListEventVouchersPostFilterResponse.java b/packages/java/src/main/java/com/cvent/models/operations/ListEventVouchersPostFilterResponse.java new file mode 100644 index 000000000..e2f0af91f --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/ListEventVouchersPostFilterResponse.java @@ -0,0 +1,209 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.models.components.VouchersPaginatedResponse; +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 ListEventVouchersPostFilterResponse 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 a paginated list of vouchers. + */ + private VouchersPaginatedResponse vouchersPaginatedResponse; + + @JsonCreator + public ListEventVouchersPostFilterResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable VouchersPaginatedResponse vouchersPaginatedResponse) { + 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.vouchersPaginatedResponse = vouchersPaginatedResponse; + } + + public ListEventVouchersPostFilterResponse( + @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 a paginated list of vouchers. + */ + public Optional vouchersPaginatedResponse() { + return Optional.ofNullable(this.vouchersPaginatedResponse); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public ListEventVouchersPostFilterResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public ListEventVouchersPostFilterResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public ListEventVouchersPostFilterResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully retrieved a paginated list of vouchers. + */ + public ListEventVouchersPostFilterResponse withVouchersPaginatedResponse( + @Nullable VouchersPaginatedResponse vouchersPaginatedResponse) { + this.vouchersPaginatedResponse = vouchersPaginatedResponse; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ListEventVouchersPostFilterResponse other = (ListEventVouchersPostFilterResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.vouchersPaginatedResponse, other.vouchersPaginatedResponse); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, vouchersPaginatedResponse); + } + + @Override + public String toString() { + return Utils.toString( + ListEventVouchersPostFilterResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "vouchersPaginatedResponse", + vouchersPaginatedResponse); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private VouchersPaginatedResponse vouchersPaginatedResponse; + + 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 a paginated list of vouchers. + */ + public Builder vouchersPaginatedResponse(@Nullable VouchersPaginatedResponse vouchersPaginatedResponse) { + this.vouchersPaginatedResponse = vouchersPaginatedResponse; + return this; + } + + public ListEventVouchersPostFilterResponse build() { + return new ListEventVouchersPostFilterResponse( + contentType, statusCode, rawResponse, vouchersPaginatedResponse); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/ListEventVouchersRequest.java b/packages/java/src/main/java/com/cvent/models/operations/ListEventVouchersRequest.java new file mode 100644 index 000000000..c941ed585 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/ListEventVouchersRequest.java @@ -0,0 +1,404 @@ +/* + * 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.time.OffsetDateTime; +import java.util.Optional; + +public class ListEventVouchersRequest { + /** + * Unique ID of an event. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=id") + private String id; + + /** + * 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; + + /** + * Used to query records that have been added or updated before this time point. + */ + @SpeakeasyMetadata("queryParam:style=form,explode=true,name=before") + private OffsetDateTime before; + + /** + * Used to query records that have been added or updated after this time point. Default to the + * beginning of time of the data store. + */ + @SpeakeasyMetadata("queryParam:style=form,explode=true,name=after") + private OffsetDateTime after; + + /** + * The sort order for the results, expressed as a priority-ordered list of field and direction pairs. + * + *

There are two sort directions: + * * ascending: ASC + * * descending: DESC + * + *

The following fields are sortable: + * * code + * + *

When not provided, results are sorted by `code` ascending. + */ + @SpeakeasyMetadata("queryParam:style=form,explode=true,name=sort") + private String sort; + + /** + * Use filter query parameters to limit results + * to data that matches your criteria. See + * [Filters](/docs/rest-api/reference/filters) for details. + * + *

Supported fields and operators are listed below: + * + *

| Field | Operators | + * |-------|-----------| + * | id | `in` | + * + *

No logical operators are available. + */ + @SpeakeasyMetadata("queryParam:style=form,explode=true,name=filter") + private String filter; + + @JsonCreator + public ListEventVouchersRequest( + @Nonnull String id, + @Nullable Long limit, + @Nullable String token, + @Nullable OffsetDateTime before, + @Nullable OffsetDateTime after, + @Nullable String sort, + @Nullable String filter) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.limit = Optional.ofNullable(limit).orElse(Builder._SINGLETON_VALUE_Limit.value()); + this.token = token; + this.before = before; + this.after = after; + this.sort = sort; + this.filter = filter; + } + + public ListEventVouchersRequest(@Nonnull String id) { + this(id, null, null, null, null, null, null); + } + + /** + * Unique ID of an event. + */ + public String id() { + return this.id; + } + + /** + * 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); + } + + /** + * Used to query records that have been added or updated before this time point. + */ + public Optional before() { + return Optional.ofNullable(this.before); + } + + /** + * Used to query records that have been added or updated after this time point. Default to the + * beginning of time of the data store. + */ + public Optional after() { + return Optional.ofNullable(this.after); + } + + /** + * The sort order for the results, expressed as a priority-ordered list of field and direction pairs. + * + *

There are two sort directions: + * * ascending: ASC + * * descending: DESC + * + *

The following fields are sortable: + * * code + * + *

When not provided, results are sorted by `code` ascending. + */ + public Optional sort() { + return Optional.ofNullable(this.sort); + } + + /** + * Use filter query parameters to limit results + * to data that matches your criteria. See + * [Filters](/docs/rest-api/reference/filters) for details. + * + *

Supported fields and operators are listed below: + * + *

| Field | Operators | + * |-------|-----------| + * | id | `in` | + * + *

No logical operators are available. + */ + public Optional filter() { + return Optional.ofNullable(this.filter); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique ID of an event. + */ + public ListEventVouchersRequest withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The maximum number of records to return per page. + */ + public ListEventVouchersRequest 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 ListEventVouchersRequest withToken(@Nullable String token) { + this.token = token; + return this; + } + + /** + * Used to query records that have been added or updated before this time point. + */ + public ListEventVouchersRequest withBefore(@Nullable OffsetDateTime before) { + this.before = before; + return this; + } + + /** + * Used to query records that have been added or updated after this time point. Default to the + * beginning of time of the data store. + */ + public ListEventVouchersRequest withAfter(@Nullable OffsetDateTime after) { + this.after = after; + return this; + } + + /** + * The sort order for the results, expressed as a priority-ordered list of field and direction pairs. + * + *

There are two sort directions: + * * ascending: ASC + * * descending: DESC + * + *

The following fields are sortable: + * * code + * + *

When not provided, results are sorted by `code` ascending. + */ + public ListEventVouchersRequest withSort(@Nullable String sort) { + this.sort = sort; + return this; + } + + /** + * Use filter query parameters to limit results + * to data that matches your criteria. See + * [Filters](/docs/rest-api/reference/filters) for details. + * + *

Supported fields and operators are listed below: + * + *

| Field | Operators | + * |-------|-----------| + * | id | `in` | + * + *

No logical operators are available. + */ + public ListEventVouchersRequest withFilter(@Nullable String filter) { + this.filter = filter; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ListEventVouchersRequest other = (ListEventVouchersRequest) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.limit, other.limit) + && Utils.enhancedDeepEquals(this.token, other.token) + && Utils.enhancedDeepEquals(this.before, other.before) + && Utils.enhancedDeepEquals(this.after, other.after) + && Utils.enhancedDeepEquals(this.sort, other.sort) + && Utils.enhancedDeepEquals(this.filter, other.filter); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, limit, token, before, after, sort, filter); + } + + @Override + public String toString() { + return Utils.toString( + ListEventVouchersRequest.class, + "id", + id, + "limit", + limit, + "token", + token, + "before", + before, + "after", + after, + "sort", + sort, + "filter", + filter); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private Long limit; + + private String token; + + private OffsetDateTime before; + + private OffsetDateTime after; + + private String sort; + + private String filter; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique ID of an event. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + 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; + } + + /** + * Used to query records that have been added or updated before this time point. + */ + public Builder before(@Nullable OffsetDateTime before) { + this.before = before; + return this; + } + + /** + * Used to query records that have been added or updated after this time point. Default to the + * beginning of time of the data store. + */ + public Builder after(@Nullable OffsetDateTime after) { + this.after = after; + return this; + } + + /** + * The sort order for the results, expressed as a priority-ordered list of field and direction pairs. + * + *

There are two sort directions: + * * ascending: ASC + * * descending: DESC + * + *

The following fields are sortable: + * * code + * + *

When not provided, results are sorted by `code` ascending. + */ + public Builder sort(@Nullable String sort) { + this.sort = sort; + return this; + } + + /** + * Use filter query parameters to limit results + * to data that matches your criteria. See + * [Filters](/docs/rest-api/reference/filters) for details. + * + *

Supported fields and operators are listed below: + * + *

| Field | Operators | + * |-------|-----------| + * | id | `in` | + * + *

No logical operators are available. + */ + public Builder filter(@Nullable String filter) { + this.filter = filter; + return this; + } + + public ListEventVouchersRequest build() { + return new ListEventVouchersRequest(id, limit, token, before, after, sort, filter); + } + + 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/ListEventVouchersRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/ListEventVouchersRequestBuilder.java new file mode 100644 index 000000000..2ccbf901a --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/ListEventVouchersRequestBuilder.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.ListEventVouchers; +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 ListEventVouchersRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private ListEventVouchersRequest request; + private final Options.Builder optionsBuilder; + + public ListEventVouchersRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public ListEventVouchersRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public ListEventVouchersRequestBuilder request(@Nonnull ListEventVouchersRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private ListEventVouchersRequest _buildRequest() { + return this.request; + } + + public ListEventVouchersRequestBuilder 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 ListEventVouchersResponse call() { + Options options = optionsBuilder.build(); + RequestOperation operation = + new ListEventVouchers.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 (ListEventVouchersResponse page : builder.callAsIterable()) {
+     *     // Process each page
+     * }
+     * 
+ * + * @return An iterable that can be used to iterate through all pages + */ + public Iterable callAsIterable() { + ListEventVouchersRequest request = this.request; + Options options = optionsBuilder.build(); + RequestOperation operation = + new ListEventVouchers.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/ListEventVouchersResponse.java b/packages/java/src/main/java/com/cvent/models/operations/ListEventVouchersResponse.java new file mode 100644 index 000000000..23f8cd014 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/ListEventVouchersResponse.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.VouchersPaginatedResponse; +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 ListEventVouchersResponse 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 a paginated list of vouchers. + */ + private VouchersPaginatedResponse vouchersPaginatedResponse; + + @JsonCreator + public ListEventVouchersResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable VouchersPaginatedResponse vouchersPaginatedResponse) { + 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.vouchersPaginatedResponse = vouchersPaginatedResponse; + } + + public ListEventVouchersResponse( + @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 a paginated list of vouchers. + */ + public Optional vouchersPaginatedResponse() { + return Optional.ofNullable(this.vouchersPaginatedResponse); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public ListEventVouchersResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public ListEventVouchersResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public ListEventVouchersResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully retrieved a paginated list of vouchers. + */ + public ListEventVouchersResponse withVouchersPaginatedResponse( + @Nullable VouchersPaginatedResponse vouchersPaginatedResponse) { + this.vouchersPaginatedResponse = vouchersPaginatedResponse; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ListEventVouchersResponse other = (ListEventVouchersResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.vouchersPaginatedResponse, other.vouchersPaginatedResponse); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, vouchersPaginatedResponse); + } + + @Override + public String toString() { + return Utils.toString( + ListEventVouchersResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "vouchersPaginatedResponse", + vouchersPaginatedResponse); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private VouchersPaginatedResponse vouchersPaginatedResponse; + + 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 a paginated list of vouchers. + */ + public Builder vouchersPaginatedResponse(@Nullable VouchersPaginatedResponse vouchersPaginatedResponse) { + this.vouchersPaginatedResponse = vouchersPaginatedResponse; + return this; + } + + public ListEventVouchersResponse build() { + return new ListEventVouchersResponse(contentType, statusCode, rawResponse, vouchersPaginatedResponse); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/ListVideosRequest.java b/packages/java/src/main/java/com/cvent/models/operations/ListVideosRequest.java index f9141eec0..10417b5e6 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/ListVideosRequest.java +++ b/packages/java/src/main/java/com/cvent/models/operations/ListVideosRequest.java @@ -44,31 +44,28 @@ public class ListVideosRequest { private String token; /** - * 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'. + * Use filter query parameters to limit results + * to data that matches your criteria. See + * [Filters](/docs/rest-api/reference/filters) for details. * - *

There are six comparison types that can be used in filter expressions: - * * equal: eq - * * not equal: ne - * * greater than: gt - * * greater or equal: ge - * * less than: lt - * * less than or equal: le + *

Supported fields and operators are listed below: * - *

The following fields are filterable: - * * id (eq|ne) - * * events (eq|ne) - * * sessions (eq|ne) - * * exhibitors (eq|ne) - * * speakers (eq|ne) - * * source.id (eq|ne) - * * status (eq|ne) - * * tags (eq|ne) - * * recording.id (eq|ne) + *

| Field | Operators | Notes | + * |--------------|------------|----------------------------------| + * | id | `eq`, `ne` | | + * | events | `eq`, `ne` | | + * | sessions | `eq`, `ne` | | + * | exhibitors | `eq`, `ne` | | + * | speakers | `eq`, `ne` | | + * | source.id | `eq`, `ne` | | + * | status | `eq`, `ne` | | + * | tags | `eq`, `ne` | | + * | recording.id | `eq`, `ne` | | + * | event.id | `eq`, `ne` | deprecated, use `events` instead | * - *

The following filterable fields have been deprecated, use the plural form above: - * * event.id (eq|ne) + *

The following logical operators are supported for combining filters: + * * and + * * or */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=filter") private String filter; @@ -131,31 +128,28 @@ public Optional token() { } /** - * 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'. + * Use filter query parameters to limit results + * to data that matches your criteria. See + * [Filters](/docs/rest-api/reference/filters) for details. * - *

There are six comparison types that can be used in filter expressions: - * * equal: eq - * * not equal: ne - * * greater than: gt - * * greater or equal: ge - * * less than: lt - * * less than or equal: le + *

Supported fields and operators are listed below: * - *

The following fields are filterable: - * * id (eq|ne) - * * events (eq|ne) - * * sessions (eq|ne) - * * exhibitors (eq|ne) - * * speakers (eq|ne) - * * source.id (eq|ne) - * * status (eq|ne) - * * tags (eq|ne) - * * recording.id (eq|ne) + *

| Field | Operators | Notes | + * |--------------|------------|----------------------------------| + * | id | `eq`, `ne` | | + * | events | `eq`, `ne` | | + * | sessions | `eq`, `ne` | | + * | exhibitors | `eq`, `ne` | | + * | speakers | `eq`, `ne` | | + * | source.id | `eq`, `ne` | | + * | status | `eq`, `ne` | | + * | tags | `eq`, `ne` | | + * | recording.id | `eq`, `ne` | | + * | event.id | `eq`, `ne` | deprecated, use `events` instead | * - *

The following filterable fields have been deprecated, use the plural form above: - * * event.id (eq|ne) + *

The following logical operators are supported for combining filters: + * * and + * * or */ public Optional filter() { return Optional.ofNullable(this.filter); @@ -208,31 +202,28 @@ public ListVideosRequest withToken(@Nullable String token) { } /** - * 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'. + * Use filter query parameters to limit results + * to data that matches your criteria. See + * [Filters](/docs/rest-api/reference/filters) for details. * - *

There are six comparison types that can be used in filter expressions: - * * equal: eq - * * not equal: ne - * * greater than: gt - * * greater or equal: ge - * * less than: lt - * * less than or equal: le + *

Supported fields and operators are listed below: * - *

The following fields are filterable: - * * id (eq|ne) - * * events (eq|ne) - * * sessions (eq|ne) - * * exhibitors (eq|ne) - * * speakers (eq|ne) - * * source.id (eq|ne) - * * status (eq|ne) - * * tags (eq|ne) - * * recording.id (eq|ne) + *

| Field | Operators | Notes | + * |--------------|------------|----------------------------------| + * | id | `eq`, `ne` | | + * | events | `eq`, `ne` | | + * | sessions | `eq`, `ne` | | + * | exhibitors | `eq`, `ne` | | + * | speakers | `eq`, `ne` | | + * | source.id | `eq`, `ne` | | + * | status | `eq`, `ne` | | + * | tags | `eq`, `ne` | | + * | recording.id | `eq`, `ne` | | + * | event.id | `eq`, `ne` | deprecated, use `events` instead | * - *

The following filterable fields have been deprecated, use the plural form above: - * * event.id (eq|ne) + *

The following logical operators are supported for combining filters: + * * and + * * or */ public ListVideosRequest withFilter(@Nullable String filter) { this.filter = filter; @@ -342,31 +333,28 @@ public Builder token(@Nullable String token) { } /** - * 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'. + * Use filter query parameters to limit results + * to data that matches your criteria. See + * [Filters](/docs/rest-api/reference/filters) for details. * - *

There are six comparison types that can be used in filter expressions: - * * equal: eq - * * not equal: ne - * * greater than: gt - * * greater or equal: ge - * * less than: lt - * * less than or equal: le + *

Supported fields and operators are listed below: * - *

The following fields are filterable: - * * id (eq|ne) - * * events (eq|ne) - * * sessions (eq|ne) - * * exhibitors (eq|ne) - * * speakers (eq|ne) - * * source.id (eq|ne) - * * status (eq|ne) - * * tags (eq|ne) - * * recording.id (eq|ne) + *

| Field | Operators | Notes | + * |--------------|------------|----------------------------------| + * | id | `eq`, `ne` | | + * | events | `eq`, `ne` | | + * | sessions | `eq`, `ne` | | + * | exhibitors | `eq`, `ne` | | + * | speakers | `eq`, `ne` | | + * | source.id | `eq`, `ne` | | + * | status | `eq`, `ne` | | + * | tags | `eq`, `ne` | | + * | recording.id | `eq`, `ne` | | + * | event.id | `eq`, `ne` | deprecated, use `events` instead | * - *

The following filterable fields have been deprecated, use the plural form above: - * * event.id (eq|ne) + *

The following logical operators are supported for combining filters: + * * and + * * or */ public Builder filter(@Nullable String filter) { this.filter = filter; diff --git a/packages/java/src/main/java/com/cvent/models/operations/PatchContactsResponse.java b/packages/java/src/main/java/com/cvent/models/operations/PatchContactsResponse.java index 5b628585e..2c64bef8d 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/PatchContactsResponse.java +++ b/packages/java/src/main/java/com/cvent/models/operations/PatchContactsResponse.java @@ -3,7 +3,7 @@ */ package com.cvent.models.operations; -import com.cvent.models.components.ContactBulkItemJson; +import com.cvent.models.components.ContactBulkResponseItem; import com.cvent.utils.Response; import com.cvent.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; @@ -35,14 +35,14 @@ public class PatchContactsResponse implements Response { /** * Successfully updated a list of contacts. */ - private List contactBulkResponse; + private List contactBulkResponse; @JsonCreator public PatchContactsResponse( @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse, - @Nullable List contactBulkResponse) { + @Nullable List contactBulkResponse) { this.contentType = Optional.ofNullable(contentType) .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); this.statusCode = statusCode; @@ -80,7 +80,7 @@ public HttpResponse rawResponse() { /** * Successfully updated a list of contacts. */ - public Optional> contactBulkResponse() { + public Optional> contactBulkResponse() { return Optional.ofNullable(this.contactBulkResponse); } @@ -115,7 +115,7 @@ public PatchContactsResponse withRawResponse(@Nonnull HttpResponse /** * Successfully updated a list of contacts. */ - public PatchContactsResponse withContactBulkResponse(@Nullable List contactBulkResponse) { + public PatchContactsResponse withContactBulkResponse(@Nullable List contactBulkResponse) { this.contactBulkResponse = contactBulkResponse; return this; } @@ -163,7 +163,7 @@ public static final class Builder { private HttpResponse rawResponse; - private List contactBulkResponse; + private List contactBulkResponse; private Builder() { // force use of static builder() method @@ -196,7 +196,7 @@ public Builder rawResponse(@Nonnull HttpResponse rawResponse) { /** * Successfully updated a list of contacts. */ - public Builder contactBulkResponse(@Nullable List contactBulkResponse) { + public Builder contactBulkResponse(@Nullable List contactBulkResponse) { this.contactBulkResponse = contactBulkResponse; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/operations/UpdateAttendeeResponse.java b/packages/java/src/main/java/com/cvent/models/operations/UpdateAttendeeResponse.java index bc681a5d3..43f48339c 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/UpdateAttendeeResponse.java +++ b/packages/java/src/main/java/com/cvent/models/operations/UpdateAttendeeResponse.java @@ -3,7 +3,7 @@ */ package com.cvent.models.operations; -import com.cvent.models.components.Attendee1; +import com.cvent.models.components.Attendee11; import com.cvent.utils.Response; import com.cvent.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; @@ -34,20 +34,20 @@ public class UpdateAttendeeResponse implements Response { /** * Successfully updated the attendee. */ - private Attendee1 attendee; + private Attendee11 attendee1; @JsonCreator public UpdateAttendeeResponse( @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse, - @Nullable Attendee1 attendee) { + @Nullable Attendee11 attendee1) { 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.attendee = attendee; + this.attendee1 = attendee1; } public UpdateAttendeeResponse( @@ -79,8 +79,8 @@ public HttpResponse rawResponse() { /** * Successfully updated the attendee. */ - public Optional attendee() { - return Optional.ofNullable(this.attendee); + public Optional attendee1() { + return Optional.ofNullable(this.attendee1); } public static Builder builder() { @@ -114,8 +114,8 @@ public UpdateAttendeeResponse withRawResponse(@Nonnull HttpResponse /** * Successfully updated the attendee. */ - public UpdateAttendeeResponse withAttendee(@Nullable Attendee1 attendee) { - this.attendee = attendee; + public UpdateAttendeeResponse withAttendee1(@Nullable Attendee11 attendee1) { + this.attendee1 = attendee1; return this; } @@ -131,12 +131,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.attendee, other.attendee); + && Utils.enhancedDeepEquals(this.attendee1, other.attendee1); } @Override public int hashCode() { - return Utils.enhancedHash(contentType, statusCode, rawResponse, attendee); + return Utils.enhancedHash(contentType, statusCode, rawResponse, attendee1); } @Override @@ -149,8 +149,8 @@ public String toString() { statusCode, "rawResponse", rawResponse, - "attendee", - attendee); + "attendee1", + attendee1); } @SuppressWarnings("UnusedReturnValue") @@ -162,7 +162,7 @@ public static final class Builder { private HttpResponse rawResponse; - private Attendee1 attendee; + private Attendee11 attendee1; private Builder() { // force use of static builder() method @@ -195,13 +195,13 @@ public Builder rawResponse(@Nonnull HttpResponse rawResponse) { /** * Successfully updated the attendee. */ - public Builder attendee(@Nullable Attendee1 attendee) { - this.attendee = attendee; + public Builder attendee1(@Nullable Attendee11 attendee1) { + this.attendee1 = attendee1; return this; } public UpdateAttendeeResponse build() { - return new UpdateAttendeeResponse(contentType, statusCode, rawResponse, attendee); + return new UpdateAttendeeResponse(contentType, statusCode, rawResponse, attendee1); } } } diff --git a/packages/java/src/main/java/com/cvent/models/operations/UpdateContactsResponse.java b/packages/java/src/main/java/com/cvent/models/operations/UpdateContactsResponse.java index ecc35d312..e949065ba 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/UpdateContactsResponse.java +++ b/packages/java/src/main/java/com/cvent/models/operations/UpdateContactsResponse.java @@ -3,7 +3,7 @@ */ package com.cvent.models.operations; -import com.cvent.models.components.ContactBulkItemJson; +import com.cvent.models.components.ContactBulkResponseItem; import com.cvent.utils.Response; import com.cvent.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; @@ -35,14 +35,14 @@ public class UpdateContactsResponse implements Response { /** * Successfully updated a list of Contacts. */ - private List contactBulkResponse; + private List contactBulkResponse; @JsonCreator public UpdateContactsResponse( @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse, - @Nullable List contactBulkResponse) { + @Nullable List contactBulkResponse) { this.contentType = Optional.ofNullable(contentType) .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); this.statusCode = statusCode; @@ -80,7 +80,7 @@ public HttpResponse rawResponse() { /** * Successfully updated a list of Contacts. */ - public Optional> contactBulkResponse() { + public Optional> contactBulkResponse() { return Optional.ofNullable(this.contactBulkResponse); } @@ -115,7 +115,7 @@ public UpdateContactsResponse withRawResponse(@Nonnull HttpResponse /** * Successfully updated a list of Contacts. */ - public UpdateContactsResponse withContactBulkResponse(@Nullable List contactBulkResponse) { + public UpdateContactsResponse withContactBulkResponse(@Nullable List contactBulkResponse) { this.contactBulkResponse = contactBulkResponse; return this; } @@ -163,7 +163,7 @@ public static final class Builder { private HttpResponse rawResponse; - private List contactBulkResponse; + private List contactBulkResponse; private Builder() { // force use of static builder() method @@ -196,7 +196,7 @@ public Builder rawResponse(@Nonnull HttpResponse rawResponse) { /** * Successfully updated a list of Contacts. */ - public Builder contactBulkResponse(@Nullable List contactBulkResponse) { + public Builder contactBulkResponse(@Nullable List contactBulkResponse) { this.contactBulkResponse = contactBulkResponse; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/AddSpeakerCategoryRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/async/AddSpeakerCategoryRequestBuilder.java index eadb0dd11..576459bff 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/async/AddSpeakerCategoryRequestBuilder.java +++ b/packages/java/src/main/java/com/cvent/models/operations/async/AddSpeakerCategoryRequestBuilder.java @@ -6,7 +6,7 @@ import static com.cvent.operations.Operations.AsyncRequestOperation; import com.cvent.SDKConfiguration; -import com.cvent.models.components.SpeakerCategory; +import com.cvent.models.components.SpeakerCategory2; import com.cvent.operations.AddSpeakerCategory; import com.cvent.utils.Headers; import com.cvent.utils.Options; @@ -19,7 +19,7 @@ public class AddSpeakerCategoryRequestBuilder { private final SDKConfiguration sdkConfiguration; private final Headers _headers = new Headers(); - private SpeakerCategory request; + private SpeakerCategory2 request; private final Options.Builder optionsBuilder; public AddSpeakerCategoryRequestBuilder(SDKConfiguration sdkConfiguration) { @@ -32,12 +32,12 @@ public AddSpeakerCategoryRequestBuilder retryConfig(RetryConfig retryConfig) { return this; } - public AddSpeakerCategoryRequestBuilder request(@Nonnull SpeakerCategory request) { + public AddSpeakerCategoryRequestBuilder request(@Nonnull SpeakerCategory2 request) { this.request = Utils.checkNotNull(request, "request"); return this; } - private SpeakerCategory _buildRequest() { + private SpeakerCategory2 _buildRequest() { return this.request; } @@ -55,7 +55,7 @@ public AddSpeakerCategoryRequestBuilder header(String name, String value) { */ public CompletableFuture call() { Options options = optionsBuilder.build(); - AsyncRequestOperation operation = + AsyncRequestOperation operation = new AddSpeakerCategory.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/CreateContactsResponse.java b/packages/java/src/main/java/com/cvent/models/operations/async/CreateContactsResponse.java index dd0f8d00c..d75bdfa26 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/async/CreateContactsResponse.java +++ b/packages/java/src/main/java/com/cvent/models/operations/async/CreateContactsResponse.java @@ -3,7 +3,7 @@ */ package com.cvent.models.operations.async; -import com.cvent.models.components.ContactBulkItemJson; +import com.cvent.models.components.ContactBulkResponseItem; import com.cvent.utils.AsyncResponse; import com.cvent.utils.Blob; import com.cvent.utils.Utils; @@ -36,14 +36,14 @@ public class CreateContactsResponse implements AsyncResponse { /** * Successfully created a list of contacts. */ - private List contactBulkResponse; + private List contactBulkResponse; @JsonCreator public CreateContactsResponse( @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse, - @Nullable List contactBulkResponse) { + @Nullable List contactBulkResponse) { this.contentType = Optional.ofNullable(contentType) .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); this.statusCode = statusCode; @@ -81,7 +81,7 @@ public HttpResponse rawResponse() { /** * Successfully created a list of contacts. */ - public Optional> contactBulkResponse() { + public Optional> contactBulkResponse() { return Optional.ofNullable(this.contactBulkResponse); } @@ -116,7 +116,7 @@ public CreateContactsResponse withRawResponse(@Nonnull HttpResponse rawRes /** * Successfully created a list of contacts. */ - public CreateContactsResponse withContactBulkResponse(@Nullable List contactBulkResponse) { + public CreateContactsResponse withContactBulkResponse(@Nullable List contactBulkResponse) { this.contactBulkResponse = contactBulkResponse; return this; } @@ -164,7 +164,7 @@ public static final class Builder { private HttpResponse rawResponse; - private List contactBulkResponse; + private List contactBulkResponse; private Builder() { // force use of static builder() method @@ -197,7 +197,7 @@ public Builder rawResponse(@Nonnull HttpResponse rawResponse) { /** * Successfully created a list of contacts. */ - public Builder contactBulkResponse(@Nullable List contactBulkResponse) { + public Builder contactBulkResponse(@Nullable List contactBulkResponse) { this.contactBulkResponse = contactBulkResponse; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/GetAttendeeByIdResponse.java b/packages/java/src/main/java/com/cvent/models/operations/async/GetAttendeeByIdResponse.java index da6acc1c4..e70bda029 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/async/GetAttendeeByIdResponse.java +++ b/packages/java/src/main/java/com/cvent/models/operations/async/GetAttendeeByIdResponse.java @@ -3,7 +3,7 @@ */ package com.cvent.models.operations.async; -import com.cvent.models.components.Attendee1; +import com.cvent.models.components.Attendee11; import com.cvent.utils.AsyncResponse; import com.cvent.utils.Blob; import com.cvent.utils.Utils; @@ -35,20 +35,20 @@ public class GetAttendeeByIdResponse implements AsyncResponse { /** * Successfully retrieved an attendee object. */ - private Attendee1 attendee; + private Attendee11 attendee1; @JsonCreator public GetAttendeeByIdResponse( @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse, - @Nullable Attendee1 attendee) { + @Nullable Attendee11 attendee1) { 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.attendee = attendee; + this.attendee1 = attendee1; } public GetAttendeeByIdResponse( @@ -80,8 +80,8 @@ public HttpResponse rawResponse() { /** * Successfully retrieved an attendee object. */ - public Optional attendee() { - return Optional.ofNullable(this.attendee); + public Optional attendee1() { + return Optional.ofNullable(this.attendee1); } public static Builder builder() { @@ -115,8 +115,8 @@ public GetAttendeeByIdResponse withRawResponse(@Nonnull HttpResponse rawRe /** * Successfully retrieved an attendee object. */ - public GetAttendeeByIdResponse withAttendee(@Nullable Attendee1 attendee) { - this.attendee = attendee; + public GetAttendeeByIdResponse withAttendee1(@Nullable Attendee11 attendee1) { + this.attendee1 = attendee1; return this; } @@ -132,12 +132,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.attendee, other.attendee); + && Utils.enhancedDeepEquals(this.attendee1, other.attendee1); } @Override public int hashCode() { - return Utils.enhancedHash(contentType, statusCode, rawResponse, attendee); + return Utils.enhancedHash(contentType, statusCode, rawResponse, attendee1); } @Override @@ -150,8 +150,8 @@ public String toString() { statusCode, "rawResponse", rawResponse, - "attendee", - attendee); + "attendee1", + attendee1); } @SuppressWarnings("UnusedReturnValue") @@ -163,7 +163,7 @@ public static final class Builder { private HttpResponse rawResponse; - private Attendee1 attendee; + private Attendee11 attendee1; private Builder() { // force use of static builder() method @@ -196,13 +196,13 @@ public Builder rawResponse(@Nonnull HttpResponse rawResponse) { /** * Successfully retrieved an attendee object. */ - public Builder attendee(@Nullable Attendee1 attendee) { - this.attendee = attendee; + public Builder attendee1(@Nullable Attendee11 attendee1) { + this.attendee1 = attendee1; return this; } public GetAttendeeByIdResponse build() { - return new GetAttendeeByIdResponse(contentType, statusCode, rawResponse, attendee); + return new GetAttendeeByIdResponse(contentType, statusCode, rawResponse, attendee1); } } } diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/GetTravelProposalBidResponse.java b/packages/java/src/main/java/com/cvent/models/operations/async/GetTravelProposalBidResponse.java index 9592ca93e..9af3d7ad1 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/async/GetTravelProposalBidResponse.java +++ b/packages/java/src/main/java/com/cvent/models/operations/async/GetTravelProposalBidResponse.java @@ -3,7 +3,7 @@ */ package com.cvent.models.operations.async; -import com.cvent.models.components.TravelProposalBid; +import com.cvent.models.components.TravelProposalBid2; import com.cvent.utils.AsyncResponse; import com.cvent.utils.Blob; import com.cvent.utils.Utils; @@ -35,14 +35,14 @@ public class GetTravelProposalBidResponse implements AsyncResponse { /** * Successfully retrieved a travel proposal bid. */ - private TravelProposalBid travelProposalBid; + private TravelProposalBid2 travelProposalBid; @JsonCreator public GetTravelProposalBidResponse( @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse, - @Nullable TravelProposalBid travelProposalBid) { + @Nullable TravelProposalBid2 travelProposalBid) { this.contentType = Optional.ofNullable(contentType) .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); this.statusCode = statusCode; @@ -80,7 +80,7 @@ public HttpResponse rawResponse() { /** * Successfully retrieved a travel proposal bid. */ - public Optional travelProposalBid() { + public Optional travelProposalBid() { return Optional.ofNullable(this.travelProposalBid); } @@ -115,7 +115,7 @@ public GetTravelProposalBidResponse withRawResponse(@Nonnull HttpResponse /** * Successfully retrieved a travel proposal bid. */ - public GetTravelProposalBidResponse withTravelProposalBid(@Nullable TravelProposalBid travelProposalBid) { + public GetTravelProposalBidResponse withTravelProposalBid(@Nullable TravelProposalBid2 travelProposalBid) { this.travelProposalBid = travelProposalBid; return this; } @@ -163,7 +163,7 @@ public static final class Builder { private HttpResponse rawResponse; - private TravelProposalBid travelProposalBid; + private TravelProposalBid2 travelProposalBid; private Builder() { // force use of static builder() method @@ -196,7 +196,7 @@ public Builder rawResponse(@Nonnull HttpResponse rawResponse) { /** * Successfully retrieved a travel proposal bid. */ - public Builder travelProposalBid(@Nullable TravelProposalBid travelProposalBid) { + public Builder travelProposalBid(@Nullable TravelProposalBid2 travelProposalBid) { this.travelProposalBid = travelProposalBid; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/ListEventVoucherAttendeesRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/async/ListEventVoucherAttendeesRequestBuilder.java new file mode 100644 index 000000000..5d75404ef --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/ListEventVoucherAttendeesRequestBuilder.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.ListEventVoucherAttendeesRequest; +import com.cvent.operations.ListEventVoucherAttendees; +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 ListEventVoucherAttendeesRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private ListEventVoucherAttendeesRequest request; + private final Options.Builder optionsBuilder; + + public ListEventVoucherAttendeesRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public ListEventVoucherAttendeesRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public ListEventVoucherAttendeesRequestBuilder request(@Nonnull ListEventVoucherAttendeesRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private ListEventVoucherAttendeesRequest _buildRequest() { + return this.request; + } + + public ListEventVoucherAttendeesRequestBuilder 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 ListEventVoucherAttendees.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<ListEventVoucherAttendeesResponse> publisher = builder.callAsPublisher();
+     * publisher.subscribe(new Subscriber<ListEventVoucherAttendeesResponse>() {
+     *     // Handle onNext, onError, onComplete
+     * });
+     * 
+ * + * @return A {@link Publisher} that emits pages asynchronously + */ + public Publisher callAsPublisher() { + ListEventVoucherAttendeesRequest request = this.request; + Options options = optionsBuilder.build(); + AsyncRequestOperation operation = + new ListEventVoucherAttendees.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/ListEventVoucherAttendeesResponse.java b/packages/java/src/main/java/com/cvent/models/operations/async/ListEventVoucherAttendeesResponse.java new file mode 100644 index 000000000..ccbff28c9 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/ListEventVoucherAttendeesResponse.java @@ -0,0 +1,210 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import com.cvent.models.components.AttendeesPaginatedResponse; +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 ListEventVoucherAttendeesResponse 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 a paginated list of attendees for the voucher. + */ + private AttendeesPaginatedResponse attendeesPaginatedResponse; + + @JsonCreator + public ListEventVoucherAttendeesResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable AttendeesPaginatedResponse attendeesPaginatedResponse) { + 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.attendeesPaginatedResponse = attendeesPaginatedResponse; + } + + public ListEventVoucherAttendeesResponse( + @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 a paginated list of attendees for the voucher. + */ + public Optional attendeesPaginatedResponse() { + return Optional.ofNullable(this.attendeesPaginatedResponse); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public ListEventVoucherAttendeesResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public ListEventVoucherAttendeesResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public ListEventVoucherAttendeesResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully retrieved a paginated list of attendees for the voucher. + */ + public ListEventVoucherAttendeesResponse withAttendeesPaginatedResponse( + @Nullable AttendeesPaginatedResponse attendeesPaginatedResponse) { + this.attendeesPaginatedResponse = attendeesPaginatedResponse; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ListEventVoucherAttendeesResponse other = (ListEventVoucherAttendeesResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.attendeesPaginatedResponse, other.attendeesPaginatedResponse); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, attendeesPaginatedResponse); + } + + @Override + public String toString() { + return Utils.toString( + ListEventVoucherAttendeesResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "attendeesPaginatedResponse", + attendeesPaginatedResponse); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private AttendeesPaginatedResponse attendeesPaginatedResponse; + + 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 a paginated list of attendees for the voucher. + */ + public Builder attendeesPaginatedResponse(@Nullable AttendeesPaginatedResponse attendeesPaginatedResponse) { + this.attendeesPaginatedResponse = attendeesPaginatedResponse; + return this; + } + + public ListEventVoucherAttendeesResponse build() { + return new ListEventVoucherAttendeesResponse( + contentType, statusCode, rawResponse, attendeesPaginatedResponse); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/ListEventVouchersPostFilterRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/async/ListEventVouchersPostFilterRequestBuilder.java new file mode 100644 index 000000000..3c10af2ac --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/ListEventVouchersPostFilterRequestBuilder.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.ListEventVouchersPostFilterRequest; +import com.cvent.operations.ListEventVouchersPostFilter; +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 ListEventVouchersPostFilterRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private ListEventVouchersPostFilterRequest request; + private final Options.Builder optionsBuilder; + + public ListEventVouchersPostFilterRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public ListEventVouchersPostFilterRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public ListEventVouchersPostFilterRequestBuilder request(@Nonnull ListEventVouchersPostFilterRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private ListEventVouchersPostFilterRequest _buildRequest() { + return this.request; + } + + public ListEventVouchersPostFilterRequestBuilder 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 ListEventVouchersPostFilter.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<ListEventVouchersPostFilterResponse> publisher = builder.callAsPublisher();
+     * publisher.subscribe(new Subscriber<ListEventVouchersPostFilterResponse>() {
+     *     // Handle onNext, onError, onComplete
+     * });
+     * 
+ * + * @return A {@link Publisher} that emits pages asynchronously + */ + public Publisher callAsPublisher() { + ListEventVouchersPostFilterRequest request = this.request; + Options options = optionsBuilder.build(); + AsyncRequestOperation operation = + new ListEventVouchersPostFilter.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/ListEventVouchersPostFilterResponse.java b/packages/java/src/main/java/com/cvent/models/operations/async/ListEventVouchersPostFilterResponse.java new file mode 100644 index 000000000..f270eefd7 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/ListEventVouchersPostFilterResponse.java @@ -0,0 +1,210 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import com.cvent.models.components.VouchersPaginatedResponse; +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 ListEventVouchersPostFilterResponse 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 a paginated list of vouchers. + */ + private VouchersPaginatedResponse vouchersPaginatedResponse; + + @JsonCreator + public ListEventVouchersPostFilterResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable VouchersPaginatedResponse vouchersPaginatedResponse) { + 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.vouchersPaginatedResponse = vouchersPaginatedResponse; + } + + public ListEventVouchersPostFilterResponse( + @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 a paginated list of vouchers. + */ + public Optional vouchersPaginatedResponse() { + return Optional.ofNullable(this.vouchersPaginatedResponse); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public ListEventVouchersPostFilterResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public ListEventVouchersPostFilterResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public ListEventVouchersPostFilterResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully retrieved a paginated list of vouchers. + */ + public ListEventVouchersPostFilterResponse withVouchersPaginatedResponse( + @Nullable VouchersPaginatedResponse vouchersPaginatedResponse) { + this.vouchersPaginatedResponse = vouchersPaginatedResponse; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ListEventVouchersPostFilterResponse other = (ListEventVouchersPostFilterResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.vouchersPaginatedResponse, other.vouchersPaginatedResponse); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, vouchersPaginatedResponse); + } + + @Override + public String toString() { + return Utils.toString( + ListEventVouchersPostFilterResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "vouchersPaginatedResponse", + vouchersPaginatedResponse); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private VouchersPaginatedResponse vouchersPaginatedResponse; + + 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 a paginated list of vouchers. + */ + public Builder vouchersPaginatedResponse(@Nullable VouchersPaginatedResponse vouchersPaginatedResponse) { + this.vouchersPaginatedResponse = vouchersPaginatedResponse; + return this; + } + + public ListEventVouchersPostFilterResponse build() { + return new ListEventVouchersPostFilterResponse( + contentType, statusCode, rawResponse, vouchersPaginatedResponse); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/ListEventVouchersRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/async/ListEventVouchersRequestBuilder.java new file mode 100644 index 000000000..af4363e57 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/ListEventVouchersRequestBuilder.java @@ -0,0 +1,105 @@ +/* + * 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.ListEventVouchersRequest; +import com.cvent.operations.ListEventVouchers; +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 ListEventVouchersRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private ListEventVouchersRequest request; + private final Options.Builder optionsBuilder; + + public ListEventVouchersRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public ListEventVouchersRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public ListEventVouchersRequestBuilder request(@Nonnull ListEventVouchersRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private ListEventVouchersRequest _buildRequest() { + return this.request; + } + + public ListEventVouchersRequestBuilder 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 ListEventVouchers.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<ListEventVouchersResponse> publisher = builder.callAsPublisher();
+     * publisher.subscribe(new Subscriber<ListEventVouchersResponse>() {
+     *     // Handle onNext, onError, onComplete
+     * });
+     * 
+ * + * @return A {@link Publisher} that emits pages asynchronously + */ + public Publisher callAsPublisher() { + ListEventVouchersRequest request = this.request; + Options options = optionsBuilder.build(); + AsyncRequestOperation operation = + new ListEventVouchers.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/ListEventVouchersResponse.java b/packages/java/src/main/java/com/cvent/models/operations/async/ListEventVouchersResponse.java new file mode 100644 index 000000000..1b95244cd --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/ListEventVouchersResponse.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.VouchersPaginatedResponse; +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 ListEventVouchersResponse 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 a paginated list of vouchers. + */ + private VouchersPaginatedResponse vouchersPaginatedResponse; + + @JsonCreator + public ListEventVouchersResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable VouchersPaginatedResponse vouchersPaginatedResponse) { + 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.vouchersPaginatedResponse = vouchersPaginatedResponse; + } + + public ListEventVouchersResponse( + @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 a paginated list of vouchers. + */ + public Optional vouchersPaginatedResponse() { + return Optional.ofNullable(this.vouchersPaginatedResponse); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public ListEventVouchersResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public ListEventVouchersResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public ListEventVouchersResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully retrieved a paginated list of vouchers. + */ + public ListEventVouchersResponse withVouchersPaginatedResponse( + @Nullable VouchersPaginatedResponse vouchersPaginatedResponse) { + this.vouchersPaginatedResponse = vouchersPaginatedResponse; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ListEventVouchersResponse other = (ListEventVouchersResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.vouchersPaginatedResponse, other.vouchersPaginatedResponse); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, vouchersPaginatedResponse); + } + + @Override + public String toString() { + return Utils.toString( + ListEventVouchersResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "vouchersPaginatedResponse", + vouchersPaginatedResponse); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private VouchersPaginatedResponse vouchersPaginatedResponse; + + 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 a paginated list of vouchers. + */ + public Builder vouchersPaginatedResponse(@Nullable VouchersPaginatedResponse vouchersPaginatedResponse) { + this.vouchersPaginatedResponse = vouchersPaginatedResponse; + return this; + } + + public ListEventVouchersResponse build() { + return new ListEventVouchersResponse(contentType, statusCode, rawResponse, vouchersPaginatedResponse); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/PatchContactsResponse.java b/packages/java/src/main/java/com/cvent/models/operations/async/PatchContactsResponse.java index aa5972b71..0d5c7e82f 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/async/PatchContactsResponse.java +++ b/packages/java/src/main/java/com/cvent/models/operations/async/PatchContactsResponse.java @@ -3,7 +3,7 @@ */ package com.cvent.models.operations.async; -import com.cvent.models.components.ContactBulkItemJson; +import com.cvent.models.components.ContactBulkResponseItem; import com.cvent.utils.AsyncResponse; import com.cvent.utils.Blob; import com.cvent.utils.Utils; @@ -36,14 +36,14 @@ public class PatchContactsResponse implements AsyncResponse { /** * Successfully updated a list of contacts. */ - private List contactBulkResponse; + private List contactBulkResponse; @JsonCreator public PatchContactsResponse( @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse, - @Nullable List contactBulkResponse) { + @Nullable List contactBulkResponse) { this.contentType = Optional.ofNullable(contentType) .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); this.statusCode = statusCode; @@ -80,7 +80,7 @@ public HttpResponse rawResponse() { /** * Successfully updated a list of contacts. */ - public Optional> contactBulkResponse() { + public Optional> contactBulkResponse() { return Optional.ofNullable(this.contactBulkResponse); } @@ -115,7 +115,7 @@ public PatchContactsResponse withRawResponse(@Nonnull HttpResponse rawResp /** * Successfully updated a list of contacts. */ - public PatchContactsResponse withContactBulkResponse(@Nullable List contactBulkResponse) { + public PatchContactsResponse withContactBulkResponse(@Nullable List contactBulkResponse) { this.contactBulkResponse = contactBulkResponse; return this; } @@ -163,7 +163,7 @@ public static final class Builder { private HttpResponse rawResponse; - private List contactBulkResponse; + private List contactBulkResponse; private Builder() { // force use of static builder() method @@ -196,7 +196,7 @@ public Builder rawResponse(@Nonnull HttpResponse rawResponse) { /** * Successfully updated a list of contacts. */ - public Builder contactBulkResponse(@Nullable List contactBulkResponse) { + public Builder contactBulkResponse(@Nullable List contactBulkResponse) { this.contactBulkResponse = contactBulkResponse; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/UpdateAttendeeResponse.java b/packages/java/src/main/java/com/cvent/models/operations/async/UpdateAttendeeResponse.java index 10d613966..24c28f2d5 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/async/UpdateAttendeeResponse.java +++ b/packages/java/src/main/java/com/cvent/models/operations/async/UpdateAttendeeResponse.java @@ -3,7 +3,7 @@ */ package com.cvent.models.operations.async; -import com.cvent.models.components.Attendee1; +import com.cvent.models.components.Attendee11; import com.cvent.utils.AsyncResponse; import com.cvent.utils.Blob; import com.cvent.utils.Utils; @@ -35,20 +35,20 @@ public class UpdateAttendeeResponse implements AsyncResponse { /** * Successfully updated the attendee. */ - private Attendee1 attendee; + private Attendee11 attendee1; @JsonCreator public UpdateAttendeeResponse( @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse, - @Nullable Attendee1 attendee) { + @Nullable Attendee11 attendee1) { 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.attendee = attendee; + this.attendee1 = attendee1; } public UpdateAttendeeResponse( @@ -80,8 +80,8 @@ public HttpResponse rawResponse() { /** * Successfully updated the attendee. */ - public Optional attendee() { - return Optional.ofNullable(this.attendee); + public Optional attendee1() { + return Optional.ofNullable(this.attendee1); } public static Builder builder() { @@ -115,8 +115,8 @@ public UpdateAttendeeResponse withRawResponse(@Nonnull HttpResponse rawRes /** * Successfully updated the attendee. */ - public UpdateAttendeeResponse withAttendee(@Nullable Attendee1 attendee) { - this.attendee = attendee; + public UpdateAttendeeResponse withAttendee1(@Nullable Attendee11 attendee1) { + this.attendee1 = attendee1; return this; } @@ -132,12 +132,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.attendee, other.attendee); + && Utils.enhancedDeepEquals(this.attendee1, other.attendee1); } @Override public int hashCode() { - return Utils.enhancedHash(contentType, statusCode, rawResponse, attendee); + return Utils.enhancedHash(contentType, statusCode, rawResponse, attendee1); } @Override @@ -150,8 +150,8 @@ public String toString() { statusCode, "rawResponse", rawResponse, - "attendee", - attendee); + "attendee1", + attendee1); } @SuppressWarnings("UnusedReturnValue") @@ -163,7 +163,7 @@ public static final class Builder { private HttpResponse rawResponse; - private Attendee1 attendee; + private Attendee11 attendee1; private Builder() { // force use of static builder() method @@ -196,13 +196,13 @@ public Builder rawResponse(@Nonnull HttpResponse rawResponse) { /** * Successfully updated the attendee. */ - public Builder attendee(@Nullable Attendee1 attendee) { - this.attendee = attendee; + public Builder attendee1(@Nullable Attendee11 attendee1) { + this.attendee1 = attendee1; return this; } public UpdateAttendeeResponse build() { - return new UpdateAttendeeResponse(contentType, statusCode, rawResponse, attendee); + return new UpdateAttendeeResponse(contentType, statusCode, rawResponse, attendee1); } } } diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/UpdateContactsResponse.java b/packages/java/src/main/java/com/cvent/models/operations/async/UpdateContactsResponse.java index c05e3949c..692094bdf 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/async/UpdateContactsResponse.java +++ b/packages/java/src/main/java/com/cvent/models/operations/async/UpdateContactsResponse.java @@ -3,7 +3,7 @@ */ package com.cvent.models.operations.async; -import com.cvent.models.components.ContactBulkItemJson; +import com.cvent.models.components.ContactBulkResponseItem; import com.cvent.utils.AsyncResponse; import com.cvent.utils.Blob; import com.cvent.utils.Utils; @@ -36,14 +36,14 @@ public class UpdateContactsResponse implements AsyncResponse { /** * Successfully updated a list of Contacts. */ - private List contactBulkResponse; + private List contactBulkResponse; @JsonCreator public UpdateContactsResponse( @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse, - @Nullable List contactBulkResponse) { + @Nullable List contactBulkResponse) { this.contentType = Optional.ofNullable(contentType) .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); this.statusCode = statusCode; @@ -81,7 +81,7 @@ public HttpResponse rawResponse() { /** * Successfully updated a list of Contacts. */ - public Optional> contactBulkResponse() { + public Optional> contactBulkResponse() { return Optional.ofNullable(this.contactBulkResponse); } @@ -116,7 +116,7 @@ public UpdateContactsResponse withRawResponse(@Nonnull HttpResponse rawRes /** * Successfully updated a list of Contacts. */ - public UpdateContactsResponse withContactBulkResponse(@Nullable List contactBulkResponse) { + public UpdateContactsResponse withContactBulkResponse(@Nullable List contactBulkResponse) { this.contactBulkResponse = contactBulkResponse; return this; } @@ -164,7 +164,7 @@ public static final class Builder { private HttpResponse rawResponse; - private List contactBulkResponse; + private List contactBulkResponse; private Builder() { // force use of static builder() method @@ -197,7 +197,7 @@ public Builder rawResponse(@Nonnull HttpResponse rawResponse) { /** * Successfully updated a list of Contacts. */ - public Builder contactBulkResponse(@Nullable List contactBulkResponse) { + public Builder contactBulkResponse(@Nullable List contactBulkResponse) { this.contactBulkResponse = contactBulkResponse; return this; } diff --git a/packages/java/src/main/java/com/cvent/operations/AddSpeakerCategory.java b/packages/java/src/main/java/com/cvent/operations/AddSpeakerCategory.java index 7a55d7c3e..92ca963b8 100644 --- a/packages/java/src/main/java/com/cvent/operations/AddSpeakerCategory.java +++ b/packages/java/src/main/java/com/cvent/operations/AddSpeakerCategory.java @@ -10,7 +10,7 @@ import com.cvent.SDKConfiguration; import com.cvent.SecuritySource; import com.cvent.models.components.ExistingSpeakerCategory; -import com.cvent.models.components.SpeakerCategory; +import com.cvent.models.components.SpeakerCategory2; import com.cvent.models.errors.APIException; import com.cvent.models.errors.ErrorResponse1; import com.cvent.models.operations.AddSpeakerCategoryResponse; @@ -129,13 +129,13 @@ HttpRequest buildRequest(T request, TypeReference typeReference) throw } } - public static class Sync extends Base implements RequestOperation { + 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(SpeakerCategory request) throws Exception { - HttpRequest req = buildRequest(request, new TypeReference() {}); + private HttpRequest onBuildRequest(SpeakerCategory2 request) throws Exception { + HttpRequest req = buildRequest(request, new TypeReference() {}); return sdkConfiguration.hooks().beforeRequest(createBeforeRequestContext(), req); } @@ -151,7 +151,7 @@ private HttpResponse onSuccess(HttpResponse response) } @Override - public HttpResponse doRequest(SpeakerCategory request) { + public HttpResponse doRequest(SpeakerCategory2 request) { Retries retries = Retries.builder() .action(() -> { HttpRequest r; @@ -215,7 +215,7 @@ public AddSpeakerCategoryResponse handleResponse(HttpResponse respo public static class Async extends Base implements AsyncRequestOperation< - SpeakerCategory, com.cvent.models.operations.async.AddSpeakerCategoryResponse> { + SpeakerCategory2, com.cvent.models.operations.async.AddSpeakerCategoryResponse> { private final ScheduledExecutorService retryScheduler; public Async( @@ -227,8 +227,8 @@ public Async( this.retryScheduler = retryScheduler; } - private CompletableFuture onBuildRequest(SpeakerCategory request) throws Exception { - HttpRequest req = buildRequest(request, new TypeReference() {}); + private CompletableFuture onBuildRequest(SpeakerCategory2 request) throws Exception { + HttpRequest req = buildRequest(request, new TypeReference() {}); return this.sdkConfiguration.asyncHooks().beforeRequest(createBeforeRequestContext(), req); } @@ -241,7 +241,7 @@ private CompletableFuture> onSuccess(HttpResponse respo } @Override - public CompletableFuture> doRequest(SpeakerCategory request) { + public CompletableFuture> doRequest(SpeakerCategory2 request) { AsyncRetries retries = AsyncRetries.builder() .retryConfig(retryConfig) .statusCodes(retryStatusCodes) diff --git a/packages/java/src/main/java/com/cvent/operations/AssociateAttendeeToSegment.java b/packages/java/src/main/java/com/cvent/operations/AssociateAttendeeToSegment.java index 810093414..6b4d60965 100644 --- a/packages/java/src/main/java/com/cvent/operations/AssociateAttendeeToSegment.java +++ b/packages/java/src/main/java/com/cvent/operations/AssociateAttendeeToSegment.java @@ -11,6 +11,7 @@ import com.cvent.SecuritySource; import com.cvent.models.errors.APIException; import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.errors.ErrorResponse2; import com.cvent.models.errors.SegmentsErrorResponse; import com.cvent.models.operations.AssociateAttendeeToSegmentRequest; import com.cvent.models.operations.AssociateAttendeeToSegmentResponse; @@ -193,7 +194,14 @@ public AssociateAttendeeToSegmentResponse handleResponse(HttpResponse response) } if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponse2.from(response); + throw ErrorResponse1.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -275,7 +275,7 @@ public CompletableFuture // no content return res; } - if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.statusCodeMatches(response.statusCode(), "400")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse2.from(response); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "401", "403", "404", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { throw ErrorResponse1.from(response); } else { @@ -268,7 +276,14 @@ public CompletableFuture respon throw APIException.from("Unexpected content-type received: " + contentType, response); } } - if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "422", "429")) { + if (Utils.statusCodeMatches(response.statusCode(), "422")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse2.from(response); + } 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 ErrorResponse1.from(response); } else { @@ -288,7 +296,14 @@ public CompletableFuture re throw APIException.from("Unexpected content-type received: " + contentType, response); } } - if (Utils.statusCodeMatches(response.statusCode(), "401", "403", "422", "429")) { + if (Utils.statusCodeMatches(response.statusCode(), "422")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse2.from(response); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "401", "403", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { throw ErrorResponse1.from(response); } else { @@ -300,7 +308,14 @@ public CompletableFuture response) } if (Utils.statusCodeMatches(response.statusCode(), "409")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponse1.from(response); + throw ErrorResponse2.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } } if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponse2.from(response); + throw ErrorResponse1.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -293,14 +293,14 @@ public CompletableFuture response) if (Utils.statusCodeMatches(response.statusCode(), "207")) { if (Utils.contentTypeMatches(contentType, "application/json")) { return res.withContactBulkResponse( - Utils.unmarshal(response, new TypeReference>() {})); + Utils.unmarshal(response, new TypeReference>() {})); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -282,7 +282,7 @@ public CompletableFuture>() {}) + return Utils.unmarshalAsync(response, new TypeReference>() {}) .thenApply(res::withContactBulkResponse); } else { return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); diff --git a/packages/java/src/main/java/com/cvent/operations/CreateExhibitorWeblink.java b/packages/java/src/main/java/com/cvent/operations/CreateExhibitorWeblink.java index a861b3981..927e06f73 100644 --- a/packages/java/src/main/java/com/cvent/operations/CreateExhibitorWeblink.java +++ b/packages/java/src/main/java/com/cvent/operations/CreateExhibitorWeblink.java @@ -12,6 +12,7 @@ import com.cvent.models.components.ExistingWeblink; import com.cvent.models.errors.APIException; import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.errors.ErrorResponse2; import com.cvent.models.operations.CreateExhibitorWeblinkRequest; import com.cvent.models.operations.CreateExhibitorWeblinkResponse; import com.cvent.utils.AsyncRetries; @@ -200,7 +201,14 @@ public CreateExhibitorWeblinkResponse handleResponse(HttpResponse r throw APIException.from("Unexpected content-type received: " + contentType, response); } } - if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "422", "429")) { + if (Utils.statusCodeMatches(response.statusCode(), "422")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse2.from(response); + } 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 ErrorResponse1.from(response); } else { @@ -293,7 +301,14 @@ public CompletableFuture response) { } if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "409", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponseJson17.from(response); + throw ErrorResponseJson12.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -280,7 +280,7 @@ public CompletableFuture h } if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "409", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - return ErrorResponseJson17.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + return ErrorResponseJson12.fromAsync(response).thenCompose(CompletableFuture::failedFuture); } else { return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); } diff --git a/packages/java/src/main/java/com/cvent/operations/DeleteRegistrationPack.java b/packages/java/src/main/java/com/cvent/operations/DeleteRegistrationPack.java index ed7b27468..729c5c726 100644 --- a/packages/java/src/main/java/com/cvent/operations/DeleteRegistrationPack.java +++ b/packages/java/src/main/java/com/cvent/operations/DeleteRegistrationPack.java @@ -11,6 +11,7 @@ import com.cvent.SecuritySource; import com.cvent.models.errors.APIException; import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.errors.ErrorResponse2; import com.cvent.models.operations.DeleteRegistrationPackRequest; import com.cvent.models.operations.DeleteRegistrationPackResponse; import com.cvent.utils.AsyncRetries; @@ -185,7 +186,14 @@ public DeleteRegistrationPackResponse handleResponse(HttpResponse r // no content return res; } - if (Utils.statusCodeMatches(response.statusCode(), "401", "403", "404", "409", "429")) { + if (Utils.statusCodeMatches(response.statusCode(), "409")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse2.from(response); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "401", "403", "404", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { throw ErrorResponse1.from(response); } else { @@ -270,7 +278,14 @@ public CompletableFuture response) { } if (Utils.statusCodeMatches(response.statusCode(), "401", "403", "404", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponseJson17.from(response); + throw ErrorResponseJson12.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -264,7 +264,7 @@ public CompletableFuture h } if (Utils.statusCodeMatches(response.statusCode(), "401", "403", "404", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - return ErrorResponseJson17.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + return ErrorResponseJson12.fromAsync(response).thenCompose(CompletableFuture::failedFuture); } else { return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); } diff --git a/packages/java/src/main/java/com/cvent/operations/GetAttendeeById.java b/packages/java/src/main/java/com/cvent/operations/GetAttendeeById.java index 0ac2c18c1..629399877 100644 --- a/packages/java/src/main/java/com/cvent/operations/GetAttendeeById.java +++ b/packages/java/src/main/java/com/cvent/operations/GetAttendeeById.java @@ -9,7 +9,7 @@ import com.cvent.SDKConfiguration; import com.cvent.SecuritySource; -import com.cvent.models.components.Attendee1; +import com.cvent.models.components.Attendee11; import com.cvent.models.errors.APIException; import com.cvent.models.errors.ErrorResponse1; import com.cvent.models.operations.GetAttendeeByIdRequest; @@ -181,7 +181,7 @@ public GetAttendeeByIdResponse handleResponse(HttpResponse response if (Utils.statusCodeMatches(response.statusCode(), "200")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - return res.withAttendee(Utils.unmarshal(response, new TypeReference() {})); + return res.withAttendee1(Utils.unmarshal(response, new TypeReference() {})); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -269,8 +269,8 @@ public CompletableFuture() {}) - .thenApply(res::withAttendee); + return Utils.unmarshalAsync(response, new TypeReference() {}) + .thenApply(res::withAttendee1); } else { return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); } diff --git a/packages/java/src/main/java/com/cvent/operations/GetBulkJobById.java b/packages/java/src/main/java/com/cvent/operations/GetBulkJobById.java index e5aa692f0..3c1be83cf 100644 --- a/packages/java/src/main/java/com/cvent/operations/GetBulkJobById.java +++ b/packages/java/src/main/java/com/cvent/operations/GetBulkJobById.java @@ -11,7 +11,7 @@ import com.cvent.SecuritySource; import com.cvent.models.components.BulkJob; import com.cvent.models.errors.APIException; -import com.cvent.models.errors.ErrorResponse2; +import com.cvent.models.errors.ErrorResponse1; import com.cvent.models.operations.GetBulkJobByIdRequest; import com.cvent.models.operations.GetBulkJobByIdResponse; import com.cvent.utils.AsyncRetries; @@ -186,7 +186,7 @@ public GetBulkJobByIdResponse handleResponse(HttpResponse response) } if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponse2.from(response); + throw ErrorResponse1.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -275,7 +275,7 @@ public CompletableFuture response) { throw APIException.from("Unexpected content-type received: " + contentType, response); } } - if (Utils.statusCodeMatches(response.statusCode(), "401", "403", "404", "422", "429")) { + if (Utils.statusCodeMatches(response.statusCode(), "422")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse2.from(response); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "401", "403", "404", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { throw ErrorResponse1.from(response); } else { @@ -273,7 +281,14 @@ public CompletableFuture h return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); } } - if (Utils.statusCodeMatches(response.statusCode(), "401", "403", "404", "422", "429")) { + if (Utils.statusCodeMatches(response.statusCode(), "422")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return ErrorResponse2.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "401", "403", "404", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { return ErrorResponse1.fromAsync(response).thenCompose(CompletableFuture::failedFuture); } else { diff --git a/packages/java/src/main/java/com/cvent/operations/GetResourceType.java b/packages/java/src/main/java/com/cvent/operations/GetResourceType.java index a3c7164b3..23d52b775 100644 --- a/packages/java/src/main/java/com/cvent/operations/GetResourceType.java +++ b/packages/java/src/main/java/com/cvent/operations/GetResourceType.java @@ -11,7 +11,7 @@ import com.cvent.SecuritySource; import com.cvent.models.components.ResourceType; import com.cvent.models.errors.APIException; -import com.cvent.models.errors.ErrorResponseJson17; +import com.cvent.models.errors.ErrorResponseJson12; import com.cvent.models.operations.GetResourceTypeRequest; import com.cvent.models.operations.GetResourceTypeResponse; import com.cvent.utils.AsyncRetries; @@ -186,7 +186,7 @@ public GetResourceTypeResponse handleResponse(HttpResponse response } if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponseJson17.from(response); + throw ErrorResponseJson12.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -275,7 +275,7 @@ public CompletableFuture respons } if (Utils.statusCodeMatches(response.statusCode(), "401", "403", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponseJson17.from(response); + throw ErrorResponseJson12.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -272,7 +272,7 @@ public CompletableFuture response) { } if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponseJson17.from(response); + throw ErrorResponseJson12.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -274,7 +274,7 @@ public CompletableFuture ha } if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - return ErrorResponseJson17.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + return ErrorResponseJson12.fromAsync(response).thenCompose(CompletableFuture::failedFuture); } else { return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); } diff --git a/packages/java/src/main/java/com/cvent/operations/GetSchemas.java b/packages/java/src/main/java/com/cvent/operations/GetSchemas.java index e2fd63880..9cd223db7 100644 --- a/packages/java/src/main/java/com/cvent/operations/GetSchemas.java +++ b/packages/java/src/main/java/com/cvent/operations/GetSchemas.java @@ -11,7 +11,7 @@ import com.cvent.SecuritySource; import com.cvent.models.components.UsersSchemas; import com.cvent.models.errors.APIException; -import com.cvent.models.errors.ErrorResponseJson17; +import com.cvent.models.errors.ErrorResponseJson12; import com.cvent.models.operations.GetSchemasResponse; import com.cvent.utils.AsyncRetries; import com.cvent.utils.BackoffStrategy; @@ -184,7 +184,7 @@ public GetSchemasResponse handleResponse(HttpResponse response) { } if (Utils.statusCodeMatches(response.statusCode(), "401", "403", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponseJson17.from(response); + throw ErrorResponseJson12.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -272,7 +272,7 @@ public CompletableFuture h } if (Utils.statusCodeMatches(response.statusCode(), "401", "403", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - return ErrorResponseJson17.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + return ErrorResponseJson12.fromAsync(response).thenCompose(CompletableFuture::failedFuture); } else { return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); } diff --git a/packages/java/src/main/java/com/cvent/operations/GetServiceProviderConfig.java b/packages/java/src/main/java/com/cvent/operations/GetServiceProviderConfig.java index f9164fa20..0616be810 100644 --- a/packages/java/src/main/java/com/cvent/operations/GetServiceProviderConfig.java +++ b/packages/java/src/main/java/com/cvent/operations/GetServiceProviderConfig.java @@ -11,7 +11,7 @@ import com.cvent.SecuritySource; import com.cvent.models.components.ServiceProviderConfig; import com.cvent.models.errors.APIException; -import com.cvent.models.errors.ErrorResponseJson17; +import com.cvent.models.errors.ErrorResponseJson12; import com.cvent.models.operations.GetServiceProviderConfigResponse; import com.cvent.utils.AsyncRetries; import com.cvent.utils.BackoffStrategy; @@ -185,7 +185,7 @@ public GetServiceProviderConfigResponse handleResponse(HttpResponse } if (Utils.statusCodeMatches(response.statusCode(), "401", "403", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponseJson17.from(response); + throw ErrorResponseJson12.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -273,7 +273,7 @@ public CompletableFuture res if (Utils.statusCodeMatches(response.statusCode(), "200")) { if (Utils.contentTypeMatches(contentType, "application/json")) { return res.withTravelProposalBid( - Utils.unmarshal(response, new TypeReference() {})); + Utils.unmarshal(response, new TypeReference() {})); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -270,7 +270,7 @@ public CompletableFuture() {}) + return Utils.unmarshalAsync(response, new TypeReference() {}) .thenApply(res::withTravelProposalBid); } else { return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); diff --git a/packages/java/src/main/java/com/cvent/operations/GetUser.java b/packages/java/src/main/java/com/cvent/operations/GetUser.java index 6f0a2d7c8..fa41ac596 100644 --- a/packages/java/src/main/java/com/cvent/operations/GetUser.java +++ b/packages/java/src/main/java/com/cvent/operations/GetUser.java @@ -11,7 +11,7 @@ import com.cvent.SecuritySource; import com.cvent.models.components.User; import com.cvent.models.errors.APIException; -import com.cvent.models.errors.ErrorResponseJson17; +import com.cvent.models.errors.ErrorResponseJson12; import com.cvent.models.operations.GetUserRequest; import com.cvent.models.operations.GetUserResponse; import com.cvent.utils.AsyncRetries; @@ -186,7 +186,7 @@ public GetUserResponse handleResponse(HttpResponse response) { } if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponseJson17.from(response); + throw ErrorResponseJson12.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -274,7 +274,7 @@ public CompletableFuture hand } if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - return ErrorResponseJson17.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + return ErrorResponseJson12.fromAsync(response).thenCompose(CompletableFuture::failedFuture); } else { return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); } diff --git a/packages/java/src/main/java/com/cvent/operations/GetUserGroups.java b/packages/java/src/main/java/com/cvent/operations/GetUserGroups.java index be96f5a1b..6d426cee8 100644 --- a/packages/java/src/main/java/com/cvent/operations/GetUserGroups.java +++ b/packages/java/src/main/java/com/cvent/operations/GetUserGroups.java @@ -11,7 +11,7 @@ import com.cvent.SecuritySource; import com.cvent.models.components.UserGroups; import com.cvent.models.errors.APIException; -import com.cvent.models.errors.ErrorResponseJson17; +import com.cvent.models.errors.ErrorResponseJson12; import com.cvent.models.operations.GetUserGroupsRequest; import com.cvent.models.operations.GetUserGroupsResponse; import com.cvent.utils.AsyncRetries; @@ -187,7 +187,7 @@ public GetUserGroupsResponse handleResponse(HttpResponse response) } if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponseJson17.from(response); + throw ErrorResponseJson12.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -276,7 +276,7 @@ public CompletableFuture respon } if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponse2.from(response); + throw ErrorResponse1.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -279,7 +279,7 @@ public CompletableFuture 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, + "listEventVoucherAttendees", + java.util.Optional.of(java.util.List.of("event/vouchers:read")), + securitySource()); + } + + AfterSuccessContextImpl createAfterSuccessContext() { + return new AfterSuccessContextImpl( + this.sdkConfiguration, + this.baseUrl, + "listEventVoucherAttendees", + java.util.Optional.of(java.util.List.of("event/vouchers:read")), + securitySource()); + } + + AfterErrorContextImpl createAfterErrorContext() { + return new AfterErrorContextImpl( + this.sdkConfiguration, + this.baseUrl, + "listEventVoucherAttendees", + java.util.Optional.of(java.util.List.of("event/vouchers:read")), + securitySource()); + } + + HttpRequest buildRequest(T request, Class klass) throws Exception { + String url = Utils.generateURL( + klass, this.baseUrl, "/events/{id}/vouchers/{voucherId}/attendees", 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(ListEventVoucherAttendeesRequest request) throws Exception { + HttpRequest req = buildRequest(request, ListEventVoucherAttendeesRequest.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(ListEventVoucherAttendeesRequest 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 ListEventVoucherAttendeesResponse handleResponse(HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + ListEventVoucherAttendeesResponse.Builder resBuilder = ListEventVoucherAttendeesResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + ListEventVoucherAttendeesResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return res.withAttendeesPaginatedResponse( + 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 ErrorResponse1.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< + ListEventVoucherAttendeesRequest, + com.cvent.models.operations.async.ListEventVoucherAttendeesResponse> { + 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(ListEventVoucherAttendeesRequest request) + throws Exception { + HttpRequest req = buildRequest(request, ListEventVoucherAttendeesRequest.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(ListEventVoucherAttendeesRequest 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.ListEventVoucherAttendeesResponse.Builder resBuilder = + com.cvent.models.operations.async.ListEventVoucherAttendeesResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + com.cvent.models.operations.async.ListEventVoucherAttendeesResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return Utils.unmarshalAsync(response, new TypeReference() {}) + .thenApply(res::withAttendeesPaginatedResponse); + } 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 ErrorResponse1.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/ListEventVouchers.java b/packages/java/src/main/java/com/cvent/operations/ListEventVouchers.java new file mode 100644 index 000000000..4256d8f56 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/operations/ListEventVouchers.java @@ -0,0 +1,298 @@ +/* + * 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.VouchersPaginatedResponse; +import com.cvent.models.errors.APIException; +import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.operations.ListEventVouchersRequest; +import com.cvent.models.operations.ListEventVouchersResponse; +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 ListEventVouchers { + + 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, + "listEventVouchers", + java.util.Optional.of(java.util.List.of("event/vouchers:read")), + securitySource()); + } + + AfterSuccessContextImpl createAfterSuccessContext() { + return new AfterSuccessContextImpl( + this.sdkConfiguration, + this.baseUrl, + "listEventVouchers", + java.util.Optional.of(java.util.List.of("event/vouchers:read")), + securitySource()); + } + + AfterErrorContextImpl createAfterErrorContext() { + return new AfterErrorContextImpl( + this.sdkConfiguration, + this.baseUrl, + "listEventVouchers", + java.util.Optional.of(java.util.List.of("event/vouchers:read")), + securitySource()); + } + + HttpRequest buildRequest(T request, Class klass) throws Exception { + String url = Utils.generateURL(klass, this.baseUrl, "/events/{id}/vouchers", 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(ListEventVouchersRequest request) throws Exception { + HttpRequest req = buildRequest(request, ListEventVouchersRequest.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(ListEventVouchersRequest 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 ListEventVouchersResponse handleResponse(HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + ListEventVouchersResponse.Builder resBuilder = ListEventVouchersResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + ListEventVouchersResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return res.withVouchersPaginatedResponse( + 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 ErrorResponse1.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< + ListEventVouchersRequest, com.cvent.models.operations.async.ListEventVouchersResponse> { + 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(ListEventVouchersRequest request) throws Exception { + HttpRequest req = buildRequest(request, ListEventVouchersRequest.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(ListEventVouchersRequest 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.ListEventVouchersResponse.Builder resBuilder = + com.cvent.models.operations.async.ListEventVouchersResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + com.cvent.models.operations.async.ListEventVouchersResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return Utils.unmarshalAsync(response, new TypeReference() {}) + .thenApply(res::withVouchersPaginatedResponse); + } 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 ErrorResponse1.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/ListEventVouchersPostFilter.java b/packages/java/src/main/java/com/cvent/operations/ListEventVouchersPostFilter.java new file mode 100644 index 000000000..c4c890734 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/operations/ListEventVouchersPostFilter.java @@ -0,0 +1,313 @@ +/* + * 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.VouchersPaginatedResponse; +import com.cvent.models.errors.APIException; +import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.operations.ListEventVouchersPostFilterRequest; +import com.cvent.models.operations.ListEventVouchersPostFilterResponse; +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.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 ListEventVouchersPostFilter { + + 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, + "listEventVouchersPostFilter", + java.util.Optional.of(java.util.List.of("event/vouchers:read")), + securitySource()); + } + + AfterSuccessContextImpl createAfterSuccessContext() { + return new AfterSuccessContextImpl( + this.sdkConfiguration, + this.baseUrl, + "listEventVouchersPostFilter", + java.util.Optional.of(java.util.List.of("event/vouchers:read")), + securitySource()); + } + + AfterErrorContextImpl createAfterErrorContext() { + return new AfterErrorContextImpl( + this.sdkConfiguration, + this.baseUrl, + "listEventVouchersPostFilter", + java.util.Optional.of(java.util.List.of("event/vouchers:read")), + securitySource()); + } + + HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { + String url = Utils.generateURL(klass, this.baseUrl, "/events/{id}/vouchers/filter", request, null); + HTTPRequest req = new HTTPRequest(url, "POST"); + Object convertedRequest = Utils.convertToShape(request, JsonShape.DEFAULT, typeReference); + SerializedBody serializedRequestBody = + Utils.serializeRequestBody(convertedRequest, "filter", "json", false); + 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))); + + 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(ListEventVouchersPostFilterRequest request) throws Exception { + HttpRequest req = buildRequest( + request, + ListEventVouchersPostFilterRequest.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(ListEventVouchersPostFilterRequest 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 ListEventVouchersPostFilterResponse handleResponse(HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + ListEventVouchersPostFilterResponse.Builder resBuilder = ListEventVouchersPostFilterResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + ListEventVouchersPostFilterResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return res.withVouchersPaginatedResponse( + 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 ErrorResponse1.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< + ListEventVouchersPostFilterRequest, + com.cvent.models.operations.async.ListEventVouchersPostFilterResponse> { + 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(ListEventVouchersPostFilterRequest request) + throws Exception { + HttpRequest req = buildRequest( + request, + ListEventVouchersPostFilterRequest.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(ListEventVouchersPostFilterRequest 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.ListEventVouchersPostFilterResponse.Builder resBuilder = + com.cvent.models.operations.async.ListEventVouchersPostFilterResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + com.cvent.models.operations.async.ListEventVouchersPostFilterResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return Utils.unmarshalAsync(response, new TypeReference() {}) + .thenApply(res::withVouchersPaginatedResponse); + } 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 ErrorResponse1.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/ListTravelAccounts.java b/packages/java/src/main/java/com/cvent/operations/ListTravelAccounts.java index b3a118136..12cd2680b 100644 --- a/packages/java/src/main/java/com/cvent/operations/ListTravelAccounts.java +++ b/packages/java/src/main/java/com/cvent/operations/ListTravelAccounts.java @@ -86,7 +86,8 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ListTravelAccounts", - java.util.Optional.of(java.util.List.of("business-transient/travel-accounts:read")), + java.util.Optional.of(java.util.List.of( + "business-transient/travel-accounts:read", "business-travel/travel-accounts:read")), securitySource()); } @@ -95,7 +96,8 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ListTravelAccounts", - java.util.Optional.of(java.util.List.of("business-transient/travel-accounts:read")), + java.util.Optional.of(java.util.List.of( + "business-transient/travel-accounts:read", "business-travel/travel-accounts:read")), securitySource()); } @@ -104,7 +106,8 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ListTravelAccounts", - java.util.Optional.of(java.util.List.of("business-transient/travel-accounts:read")), + java.util.Optional.of(java.util.List.of( + "business-transient/travel-accounts:read", "business-travel/travel-accounts:read")), securitySource()); } diff --git a/packages/java/src/main/java/com/cvent/operations/ListTravelProgramQuestions.java b/packages/java/src/main/java/com/cvent/operations/ListTravelProgramQuestions.java index 4e8a94da9..61b07237a 100644 --- a/packages/java/src/main/java/com/cvent/operations/ListTravelProgramQuestions.java +++ b/packages/java/src/main/java/com/cvent/operations/ListTravelProgramQuestions.java @@ -86,7 +86,9 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ListTravelProgramQuestions", - java.util.Optional.of(java.util.List.of("business-transient/travel-program-questions:read")), + java.util.Optional.of(java.util.List.of( + "business-transient/travel-program-questions:read", + "business-travel/travel-program-questions:read")), securitySource()); } @@ -95,7 +97,9 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ListTravelProgramQuestions", - java.util.Optional.of(java.util.List.of("business-transient/travel-program-questions:read")), + java.util.Optional.of(java.util.List.of( + "business-transient/travel-program-questions:read", + "business-travel/travel-program-questions:read")), securitySource()); } @@ -104,7 +108,9 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ListTravelProgramQuestions", - java.util.Optional.of(java.util.List.of("business-transient/travel-program-questions:read")), + java.util.Optional.of(java.util.List.of( + "business-transient/travel-program-questions:read", + "business-travel/travel-program-questions:read")), securitySource()); } diff --git a/packages/java/src/main/java/com/cvent/operations/ListTravelPrograms.java b/packages/java/src/main/java/com/cvent/operations/ListTravelPrograms.java index b5609a412..9b8690c10 100644 --- a/packages/java/src/main/java/com/cvent/operations/ListTravelPrograms.java +++ b/packages/java/src/main/java/com/cvent/operations/ListTravelPrograms.java @@ -86,7 +86,8 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ListTravelPrograms", - java.util.Optional.of(java.util.List.of("business-transient/travel-programs:read")), + java.util.Optional.of(java.util.List.of( + "business-transient/travel-programs:read", "business-travel/travel-programs:read")), securitySource()); } @@ -95,7 +96,8 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ListTravelPrograms", - java.util.Optional.of(java.util.List.of("business-transient/travel-programs:read")), + java.util.Optional.of(java.util.List.of( + "business-transient/travel-programs:read", "business-travel/travel-programs:read")), securitySource()); } @@ -104,7 +106,8 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ListTravelPrograms", - java.util.Optional.of(java.util.List.of("business-transient/travel-programs:read")), + java.util.Optional.of(java.util.List.of( + "business-transient/travel-programs:read", "business-travel/travel-programs:read")), securitySource()); } diff --git a/packages/java/src/main/java/com/cvent/operations/ListTravelProgramsQuestions.java b/packages/java/src/main/java/com/cvent/operations/ListTravelProgramsQuestions.java index e99985750..3ff2fea58 100644 --- a/packages/java/src/main/java/com/cvent/operations/ListTravelProgramsQuestions.java +++ b/packages/java/src/main/java/com/cvent/operations/ListTravelProgramsQuestions.java @@ -86,7 +86,9 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ListTravelProgramsQuestions", - java.util.Optional.of(java.util.List.of("business-transient/travel-program-questions:read")), + java.util.Optional.of(java.util.List.of( + "business-transient/travel-program-questions:read", + "business-travel/travel-program-questions:read")), securitySource()); } @@ -95,7 +97,9 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ListTravelProgramsQuestions", - java.util.Optional.of(java.util.List.of("business-transient/travel-program-questions:read")), + java.util.Optional.of(java.util.List.of( + "business-transient/travel-program-questions:read", + "business-travel/travel-program-questions:read")), securitySource()); } @@ -104,7 +108,9 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ListTravelProgramsQuestions", - java.util.Optional.of(java.util.List.of("business-transient/travel-program-questions:read")), + java.util.Optional.of(java.util.List.of( + "business-transient/travel-program-questions:read", + "business-travel/travel-program-questions:read")), securitySource()); } diff --git a/packages/java/src/main/java/com/cvent/operations/ListUsers.java b/packages/java/src/main/java/com/cvent/operations/ListUsers.java index 6555b1afc..e79796428 100644 --- a/packages/java/src/main/java/com/cvent/operations/ListUsers.java +++ b/packages/java/src/main/java/com/cvent/operations/ListUsers.java @@ -11,7 +11,7 @@ import com.cvent.SecuritySource; import com.cvent.models.components.Users; import com.cvent.models.errors.APIException; -import com.cvent.models.errors.ErrorResponseJson17; +import com.cvent.models.errors.ErrorResponseJson12; import com.cvent.models.operations.ListUsersRequest; import com.cvent.models.operations.ListUsersResponse; import com.cvent.utils.AsyncRetries; @@ -187,7 +187,7 @@ public ListUsersResponse handleResponse(HttpResponse response) { } if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponseJson17.from(response); + throw ErrorResponseJson12.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -275,7 +275,7 @@ public CompletableFuture ha } if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - return ErrorResponseJson17.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + return ErrorResponseJson12.fromAsync(response).thenCompose(CompletableFuture::failedFuture); } else { return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); } diff --git a/packages/java/src/main/java/com/cvent/operations/PatchContacts.java b/packages/java/src/main/java/com/cvent/operations/PatchContacts.java index 293a0f699..8bef27d66 100644 --- a/packages/java/src/main/java/com/cvent/operations/PatchContacts.java +++ b/packages/java/src/main/java/com/cvent/operations/PatchContacts.java @@ -9,7 +9,7 @@ import com.cvent.SDKConfiguration; import com.cvent.SecuritySource; -import com.cvent.models.components.ContactBulkItemJson; +import com.cvent.models.components.ContactBulkResponseItem; import com.cvent.models.components.ContactPatch; import com.cvent.models.errors.APIException; import com.cvent.models.errors.ErrorResponse1; @@ -189,7 +189,7 @@ public PatchContactsResponse handleResponse(HttpResponse response) if (Utils.statusCodeMatches(response.statusCode(), "207")) { if (Utils.contentTypeMatches(contentType, "application/json")) { return res.withContactBulkResponse( - Utils.unmarshal(response, new TypeReference>() {})); + Utils.unmarshal(response, new TypeReference>() {})); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -277,7 +277,7 @@ public CompletableFuture>() {}) + return Utils.unmarshalAsync(response, new TypeReference>() {}) .thenApply(res::withContactBulkResponse); } else { return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); diff --git a/packages/java/src/main/java/com/cvent/operations/PostRegistrationPack.java b/packages/java/src/main/java/com/cvent/operations/PostRegistrationPack.java index 52b64819b..c377db05b 100644 --- a/packages/java/src/main/java/com/cvent/operations/PostRegistrationPack.java +++ b/packages/java/src/main/java/com/cvent/operations/PostRegistrationPack.java @@ -12,6 +12,7 @@ import com.cvent.models.components.RegistrationPackResponse; import com.cvent.models.errors.APIException; import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.errors.ErrorResponse2; import com.cvent.models.operations.PostRegistrationPackRequest; import com.cvent.models.operations.PostRegistrationPackResponse; import com.cvent.utils.AsyncRetries; @@ -199,7 +200,14 @@ public PostRegistrationPackResponse handleResponse(HttpResponse res throw APIException.from("Unexpected content-type received: " + contentType, response); } } - if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "409", "429")) { + if (Utils.statusCodeMatches(response.statusCode(), "409")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse2.from(response); + } 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 ErrorResponse1.from(response); } else { @@ -290,7 +298,14 @@ public CompletableFuture> doRequest(RelateProgramItemToSessio return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); } } - if (Utils.statusCodeMatches(response.statusCode(), "401", "403", "404", "409", "429")) { + if (Utils.statusCodeMatches(response.statusCode(), "409")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return ErrorResponse2.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "401", "403", "404", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { return ErrorResponse1.fromAsync(response).thenCompose(CompletableFuture::failedFuture); } else { diff --git a/packages/java/src/main/java/com/cvent/operations/RunBulkJob.java b/packages/java/src/main/java/com/cvent/operations/RunBulkJob.java index 7cf959dab..1d6fa6bdb 100644 --- a/packages/java/src/main/java/com/cvent/operations/RunBulkJob.java +++ b/packages/java/src/main/java/com/cvent/operations/RunBulkJob.java @@ -187,14 +187,14 @@ public RunBulkJobResponse handleResponse(HttpResponse response) { } if (Utils.statusCodeMatches(response.statusCode(), "409")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponse1.from(response); + throw ErrorResponse2.from(response); } 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 ErrorResponse2.from(response); + throw ErrorResponse1.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -283,14 +283,14 @@ public CompletableFuture h } if (Utils.statusCodeMatches(response.statusCode(), "409")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - return ErrorResponse1.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + return ErrorResponse2.fromAsync(response).thenCompose(CompletableFuture::failedFuture); } 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 ErrorResponse2.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + return ErrorResponse1.fromAsync(response).thenCompose(CompletableFuture::failedFuture); } else { return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); } diff --git a/packages/java/src/main/java/com/cvent/operations/UpdateAppointment.java b/packages/java/src/main/java/com/cvent/operations/UpdateAppointment.java index 76f46c144..9e00d128b 100644 --- a/packages/java/src/main/java/com/cvent/operations/UpdateAppointment.java +++ b/packages/java/src/main/java/com/cvent/operations/UpdateAppointment.java @@ -12,6 +12,7 @@ import com.cvent.models.components.AppointmentWithQuestions; import com.cvent.models.errors.APIException; import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.errors.ErrorResponse2; import com.cvent.models.operations.UpdateAppointmentRequest; import com.cvent.models.operations.UpdateAppointmentResponse; import com.cvent.utils.AsyncRetries; @@ -197,7 +198,14 @@ public UpdateAppointmentResponse handleResponse(HttpResponse respon throw APIException.from("Unexpected content-type received: " + contentType, response); } } - if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "422", "429")) { + if (Utils.statusCodeMatches(response.statusCode(), "422")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse2.from(response); + } 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 ErrorResponse1.from(response); } else { @@ -288,7 +296,14 @@ public CompletableFuture response) if (Utils.statusCodeMatches(response.statusCode(), "200")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - return res.withAttendee(Utils.unmarshal(response, new TypeReference() {})); + return res.withAttendee1(Utils.unmarshal(response, new TypeReference() {})); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -280,8 +280,8 @@ public CompletableFuture() {}) - .thenApply(res::withAttendee); + return Utils.unmarshalAsync(response, new TypeReference() {}) + .thenApply(res::withAttendee1); } else { return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); } diff --git a/packages/java/src/main/java/com/cvent/operations/UpdateAudienceSegment.java b/packages/java/src/main/java/com/cvent/operations/UpdateAudienceSegment.java index ad0a03a22..4e7b2a82d 100644 --- a/packages/java/src/main/java/com/cvent/operations/UpdateAudienceSegment.java +++ b/packages/java/src/main/java/com/cvent/operations/UpdateAudienceSegment.java @@ -12,6 +12,7 @@ import com.cvent.models.components.ExistingAudienceSegment; import com.cvent.models.errors.APIException; import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.errors.ErrorResponse2; import com.cvent.models.operations.UpdateAudienceSegmentRequest; import com.cvent.models.operations.UpdateAudienceSegmentResponse; import com.cvent.utils.AsyncRetries; @@ -199,7 +200,14 @@ public UpdateAudienceSegmentResponse handleResponse(HttpResponse re throw APIException.from("Unexpected content-type received: " + contentType, response); } } - if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "422", "429")) { + if (Utils.statusCodeMatches(response.statusCode(), "422")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse2.from(response); + } 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 ErrorResponse1.from(response); } else { @@ -290,7 +298,14 @@ public CompletableFuture response) if (Utils.statusCodeMatches(response.statusCode(), "207")) { if (Utils.contentTypeMatches(contentType, "application/json")) { return res.withContactBulkResponse( - Utils.unmarshal(response, new TypeReference>() {})); + Utils.unmarshal(response, new TypeReference>() {})); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -277,7 +277,7 @@ public CompletableFuture>() {}) + return Utils.unmarshalAsync(response, new TypeReference>() {}) .thenApply(res::withContactBulkResponse); } else { return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); diff --git a/packages/java/src/main/java/com/cvent/operations/UpdateExhibitorFile.java b/packages/java/src/main/java/com/cvent/operations/UpdateExhibitorFile.java index 6a51855ab..513f2f3db 100644 --- a/packages/java/src/main/java/com/cvent/operations/UpdateExhibitorFile.java +++ b/packages/java/src/main/java/com/cvent/operations/UpdateExhibitorFile.java @@ -12,6 +12,7 @@ import com.cvent.models.components.ExistingFile; import com.cvent.models.errors.APIException; import com.cvent.models.errors.ErrorResponse1; +import com.cvent.models.errors.ErrorResponse2; import com.cvent.models.operations.UpdateExhibitorFileRequest; import com.cvent.models.operations.UpdateExhibitorFileResponse; import com.cvent.utils.AsyncRetries; @@ -197,7 +198,14 @@ public UpdateExhibitorFileResponse handleResponse(HttpResponse resp throw APIException.from("Unexpected content-type received: " + contentType, response); } } - if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "422", "429")) { + if (Utils.statusCodeMatches(response.statusCode(), "422")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse2.from(response); + } 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 ErrorResponse1.from(response); } else { @@ -288,7 +296,14 @@ public CompletableFuture r throw APIException.from("Unexpected content-type received: " + contentType, response); } } - if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "422", "429")) { + if (Utils.statusCodeMatches(response.statusCode(), "422")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse2.from(response); + } 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 ErrorResponse1.from(response); } else { @@ -293,7 +301,14 @@ public CompletableFuture throw APIException.from("Unexpected content-type received: " + contentType, response); } } - if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.statusCodeMatches(response.statusCode(), "400")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse2.from(response); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "401", "403", "404", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { throw ErrorResponse1.from(response); } else { @@ -295,7 +303,14 @@ public CompletableFuture response) { } if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponseJson17.from(response); + throw ErrorResponseJson12.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -280,7 +280,7 @@ public CompletableFuture h } if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - return ErrorResponseJson17.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + return ErrorResponseJson12.fromAsync(response).thenCompose(CompletableFuture::failedFuture); } else { return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); } diff --git a/packages/java/src/main/java/com/cvent/operations/UploadBulkJobData.java b/packages/java/src/main/java/com/cvent/operations/UploadBulkJobData.java index e45ea64e5..2bd1996aa 100644 --- a/packages/java/src/main/java/com/cvent/operations/UploadBulkJobData.java +++ b/packages/java/src/main/java/com/cvent/operations/UploadBulkJobData.java @@ -201,14 +201,14 @@ public UploadBulkJobDataResponse handleResponse(HttpResponse respon } if (Utils.statusCodeMatches(response.statusCode(), "409")) { if (Utils.contentTypeMatches(contentType, "application/json")) { - throw ErrorResponse1.from(response); + throw ErrorResponse2.from(response); } 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 ErrorResponse2.from(response); + throw ErrorResponse1.from(response); } else { throw APIException.from("Unexpected content-type received: " + contentType, response); } @@ -299,14 +299,14 @@ public CompletableFuture diff --git a/packages/typescript/docs/models/components/accountbudgetitemlistresponsejson.md b/packages/typescript/docs/models/components/accountbudgetitemlistresponsejson.md index 8ad75cfcd..26ac9ae8a 100644 --- a/packages/typescript/docs/models/components/accountbudgetitemlistresponsejson.md +++ b/packages/typescript/docs/models/components/accountbudgetitemlistresponsejson.md @@ -44,8 +44,8 @@ let value: AccountBudgetItemListResponseJson = { | `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 | -| `event` | [components.EventJson2](../../models/components/eventjson2.md) | :heavy_minus_sign: | Event ID Information. | | -| `rfp` | [components.RfpIdJson1](../../models/components/rfpidjson1.md) | :heavy_minus_sign: | RFP ID Information. | | +| `event` | [components.EventJson1](../../models/components/eventjson1.md) | :heavy_minus_sign: | Event ID Information. | | +| `rfp` | [components.RfpIdJson](../../models/components/rfpidjson.md) | :heavy_minus_sign: | RFP ID Information. | | | `budgetVersion` | [components.BudgetVersionIdJson](../../models/components/budgetversionidjson.md) | :heavy_minus_sign: | Budget Version ID Information. | | | `id` | *string* | :heavy_minus_sign: | The identifier of the budget item. | 9463c74e-18c6-401a-a710-ae0f485bf959 | | `name` | *string* | :heavy_minus_sign: | Name of the budget item. | Airport Transportation | diff --git a/packages/typescript/docs/models/components/action.md b/packages/typescript/docs/models/components/action.md new file mode 100644 index 000000000..8da369759 --- /dev/null +++ b/packages/typescript/docs/models/components/action.md @@ -0,0 +1,17 @@ +# Action + +Action to take for a compliance request. + +## Example Usage + +```typescript +import { Action } from "@cvent/sdk/models/components"; + +let value: Action = "DO_NOT_SELL"; +``` + +## Values + +```typescript +"DO_NOT_SELL" | "OK_TO_SELL" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/additionalchoice.md b/packages/typescript/docs/models/components/additionalchoice.md index 310969e32..acfcc51ec 100644 --- a/packages/typescript/docs/models/components/additionalchoice.md +++ b/packages/typescript/docs/models/components/additionalchoice.md @@ -1,6 +1,6 @@ # AdditionalChoice -Contains text of additional choice +Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. ## Example Usage @@ -8,12 +8,14 @@ Contains text of additional choice import { AdditionalChoice } from "@cvent/sdk/models/components"; let value: AdditionalChoice = { - text: "Not Applicable or Other", + text: "Dietary Restriction - Other", + shortText: "Dietary Preference - Other Allergies", }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `text` | *string* | :heavy_minus_sign: | Text Value of additional choice | Not Applicable or Other | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| `text` | *string* | :heavy_minus_sign: | Display text of additional choice. | Dietary Restriction - Other | +| `shortText` | *string* | :heavy_minus_sign: | Name of additional choice text in reporting. | Dietary Preference - Other Allergies | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/additionalchoice1.md b/packages/typescript/docs/models/components/additionalchoice1.md new file mode 100644 index 000000000..cf515df40 --- /dev/null +++ b/packages/typescript/docs/models/components/additionalchoice1.md @@ -0,0 +1,19 @@ +# AdditionalChoice1 + +Contains text of additional choice + +## Example Usage + +```typescript +import { AdditionalChoice1 } from "@cvent/sdk/models/components"; + +let value: AdditionalChoice1 = { + text: "Not Applicable or Other", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `text` | *string* | :heavy_minus_sign: | Text Value of additional choice | Not Applicable or Other | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/additionalchoicejson.md b/packages/typescript/docs/models/components/additionalchoicejson.md new file mode 100644 index 000000000..cccf38086 --- /dev/null +++ b/packages/typescript/docs/models/components/additionalchoicejson.md @@ -0,0 +1,21 @@ +# AdditionalChoiceJson + +Contains text of additional choice i.e N/A choice or otherAnswer choice + +## Example Usage + +```typescript +import { AdditionalChoiceJson } from "@cvent/sdk/models/components"; + +let value: AdditionalChoiceJson = { + text: "N/A or Other", + shortText: "N/A or Other Reporting value", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | +| `text` | *string* | :heavy_minus_sign: | Text Value of additional choice | N/A or Other | +| `shortText` | *string* | :heavy_minus_sign: | Reporting value of additional choice text | N/A or Other Reporting value | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/additionalchoicejson1.md b/packages/typescript/docs/models/components/additionalchoicejson1.md deleted file mode 100644 index 6475f0493..000000000 --- a/packages/typescript/docs/models/components/additionalchoicejson1.md +++ /dev/null @@ -1,21 +0,0 @@ -# AdditionalChoiceJson1 - -Contains text of additional choice i.e N/A choice or otherAnswer choice - -## Example Usage - -```typescript -import { AdditionalChoiceJson1 } from "@cvent/sdk/models/components"; - -let value: AdditionalChoiceJson1 = { - text: "N/A or Other", - shortText: "N/A or Other Reporting value", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | -| `text` | *string* | :heavy_minus_sign: | Text Value of additional choice | N/A or Other | -| `shortText` | *string* | :heavy_minus_sign: | Reporting value of additional choice text | N/A or Other Reporting value | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/additionalchoicejson2.md b/packages/typescript/docs/models/components/additionalchoicejson2.md deleted file mode 100644 index 9dd193279..000000000 --- a/packages/typescript/docs/models/components/additionalchoicejson2.md +++ /dev/null @@ -1,21 +0,0 @@ -# AdditionalChoiceJson2 - -Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. - -## Example Usage - -```typescript -import { AdditionalChoiceJson2 } from "@cvent/sdk/models/components"; - -let value: AdditionalChoiceJson2 = { - text: "Dietary Restriction - Other", - shortText: "Dietary Preference - Other Allergies", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `text` | *string* | :heavy_minus_sign: | Display text of additional choice. | Dietary Restriction - Other | -| `shortText` | *string* | :heavy_minus_sign: | Name of additional choice text in reporting. | Dietary Preference - Other Allergies | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/address.md b/packages/typescript/docs/models/components/address.md new file mode 100644 index 000000000..c450e9782 --- /dev/null +++ b/packages/typescript/docs/models/components/address.md @@ -0,0 +1,35 @@ +# Address + +Contact address details. + +## Example Usage + +```typescript +import { Address } from "@cvent/sdk/models/components"; + +let value: Address = { + address1: "Cvent Inc.", + address2: "4001 West Parmer Lane", + address3: "PO Box 123", + city: "Austin", + countryCode: "US", + postalCode: "78727", + region: "Texas", + regionCode: "TX", + country: "United States of America", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `address1` | *string* | :heavy_minus_sign: | The first line of an address. | Cvent Inc. | +| `address2` | *string* | :heavy_minus_sign: | The second line of an address. | 4001 West Parmer Lane | +| `address3` | *string* | :heavy_minus_sign: | The third line of an address. | PO Box 123 | +| `city` | *string* | :heavy_minus_sign: | The name of the city. | Austin | +| `countryCode` | *string* | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country code. | US | +| `postalCode` | *string* | :heavy_minus_sign: | Postal code (also known as zipcode) of the address. | 78727 | +| `region` | *string* | :heavy_minus_sign: | The name of the state/province/region of the address. | Texas | +| `regionCode` | *string* | :heavy_minus_sign: | The abbreviation of the state/province/region of the address. | TX | +| `country` | *string* | :heavy_minus_sign: | Name of the country of the address. | United States of America | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/address1.md b/packages/typescript/docs/models/components/address1.md new file mode 100644 index 000000000..f7b610614 --- /dev/null +++ b/packages/typescript/docs/models/components/address1.md @@ -0,0 +1,23 @@ +# Address1 + +Address details. + +## Example Usage + +```typescript +import { Address1 } from "@cvent/sdk/models/components"; + +let value: Address1 = { + countryCode: "US", + city: "Austin", + regionCode: "US-AL", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `countryCode` | *string* | :heavy_check_mark: | ISO 3166 code for the country. | US | +| `city` | *string* | :heavy_check_mark: | The name of the city. | Austin | +| `regionCode` | *string* | :heavy_minus_sign: | ISO 3166-2 code for the state/province/region. | US-AL | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/address11.md b/packages/typescript/docs/models/components/address11.md index 38d261dc2..2f8d76643 100644 --- a/packages/typescript/docs/models/components/address11.md +++ b/packages/typescript/docs/models/components/address11.md @@ -1,6 +1,6 @@ # Address11 -Address details +Schema for address information ## Example Usage @@ -10,15 +10,12 @@ import { Address11 } from "@cvent/sdk/models/components"; let value: Address11 = { address1: "Cvent Inc.", address2: "4001 West Parmer Lane", - address3: "PO Box 123", city: "Austin", - countryCode: "US", - postalCode: "78727", region: "Texas", regionCode: "TX", + postalCode: "78727", country: "United States of America", - latitude: 30, - longitude: -97, + countryCode: "US", }; ``` @@ -26,14 +23,11 @@ let value: Address11 = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| `address1` | *string* | :heavy_minus_sign: | The first line of an address. | Cvent Inc. | -| `address2` | *string* | :heavy_minus_sign: | The second line of an address. | 4001 West Parmer Lane | -| `address3` | *string* | :heavy_minus_sign: | The third line of an address. | PO Box 123 | +| `address1` | *string* | :heavy_minus_sign: | The first line of an address | Cvent Inc. | +| `address2` | *string* | :heavy_minus_sign: | The second line of an address | 4001 West Parmer Lane | | `city` | *string* | :heavy_minus_sign: | The name of the city. | Austin | -| `countryCode` | *string* | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country code. | US | -| `postalCode` | *string* | :heavy_minus_sign: | Postal code (also known as zipcode) of the address. | 78727 | | `region` | *string* | :heavy_minus_sign: | The name of the state/province/region of the address. | Texas | | `regionCode` | *string* | :heavy_minus_sign: | The abbreviation of the state/province/region of the address. | TX | -| `country` | *string* | :heavy_minus_sign: | Name of the country of the address. | United States of America | -| `latitude` | *number* | :heavy_minus_sign: | The geo latitude of the address. | 30 | -| `longitude` | *number* | :heavy_minus_sign: | The geo longitude of the address. | -97 | \ No newline at end of file +| `postalCode` | *string* | :heavy_minus_sign: | postal code (also known as zipcode) of the address | 78727 | +| `country` | *string* | :heavy_minus_sign: | Name of the country for example, 'United States' | United States of America | +| `countryCode` | *string* | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country code | US | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/address12.md b/packages/typescript/docs/models/components/address12.md deleted file mode 100644 index 5d307561a..000000000 --- a/packages/typescript/docs/models/components/address12.md +++ /dev/null @@ -1,33 +0,0 @@ -# Address12 - -Schema for address information - -## Example Usage - -```typescript -import { Address12 } from "@cvent/sdk/models/components"; - -let value: Address12 = { - address1: "Cvent Inc.", - address2: "4001 West Parmer Lane", - city: "Austin", - region: "Texas", - regionCode: "TX", - postalCode: "78727", - country: "United States of America", - countryCode: "US", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| `address1` | *string* | :heavy_minus_sign: | The first line of an address | Cvent Inc. | -| `address2` | *string* | :heavy_minus_sign: | The second line of an address | 4001 West Parmer Lane | -| `city` | *string* | :heavy_minus_sign: | The name of the city. | Austin | -| `region` | *string* | :heavy_minus_sign: | The name of the state/province/region of the address. | Texas | -| `regionCode` | *string* | :heavy_minus_sign: | The abbreviation of the state/province/region of the address. | TX | -| `postalCode` | *string* | :heavy_minus_sign: | postal code (also known as zipcode) of the address | 78727 | -| `country` | *string* | :heavy_minus_sign: | Name of the country for example, 'United States' | United States of America | -| `countryCode` | *string* | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country code | US | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/address2.md b/packages/typescript/docs/models/components/address2.md deleted file mode 100644 index ccba6e7b9..000000000 --- a/packages/typescript/docs/models/components/address2.md +++ /dev/null @@ -1,29 +0,0 @@ -# Address2 - -An object representing an address with various properties. - -## Example Usage - -```typescript -import { Address2 } from "@cvent/sdk/models/components"; - -let value: Address2 = { - address1: "Cvent Inc.", - address2: "4001 West Parmer Lane", - city: "Austin", - region: "Texas", - postalCode: "78727", - country: "United States of America", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | -| `address1` | *string* | :heavy_minus_sign: | The first line of an address | Cvent Inc. | -| `address2` | *string* | :heavy_minus_sign: | The second line of an address | 4001 West Parmer Lane | -| `city` | *string* | :heavy_minus_sign: | The name of the city. | Austin | -| `region` | *string* | :heavy_minus_sign: | The name of the state/province/region of the address. | Texas | -| `postalCode` | *string* | :heavy_minus_sign: | postal code (also known as zipcode) of the address | 78727 | -| `country` | *string* | :heavy_minus_sign: | Name of the country for example, 'United States' | United States of America | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/address3.md b/packages/typescript/docs/models/components/address3.md index 2139b0106..876378e1d 100644 --- a/packages/typescript/docs/models/components/address3.md +++ b/packages/typescript/docs/models/components/address3.md @@ -1,6 +1,6 @@ # Address3 -Address of the hotel. +Address details ## Example Usage @@ -17,6 +17,8 @@ let value: Address3 = { region: "Texas", regionCode: "TX", country: "United States of America", + latitude: 30, + longitude: -97, }; ``` @@ -32,4 +34,6 @@ let value: Address3 = { | `postalCode` | *string* | :heavy_minus_sign: | Postal code (also known as zipcode) of the address. | 78727 | | `region` | *string* | :heavy_minus_sign: | The name of the state/province/region of the address. | Texas | | `regionCode` | *string* | :heavy_minus_sign: | The abbreviation of the state/province/region of the address. | TX | -| `country` | *string* | :heavy_minus_sign: | Name of the country. | United States of America | \ No newline at end of file +| `country` | *string* | :heavy_minus_sign: | Name of the country of the address. | United States of America | +| `latitude` | *number* | :heavy_minus_sign: | The geo latitude of the address. | 30 | +| `longitude` | *number* | :heavy_minus_sign: | The geo longitude of the address. | -97 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/address4.md b/packages/typescript/docs/models/components/address4.md new file mode 100644 index 000000000..7264f024f --- /dev/null +++ b/packages/typescript/docs/models/components/address4.md @@ -0,0 +1,29 @@ +# Address4 + +An object representing an address with various properties. + +## Example Usage + +```typescript +import { Address4 } from "@cvent/sdk/models/components"; + +let value: Address4 = { + address1: "Cvent Inc.", + address2: "4001 West Parmer Lane", + city: "Austin", + region: "Texas", + postalCode: "78727", + country: "United States of America", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | +| `address1` | *string* | :heavy_minus_sign: | The first line of an address | Cvent Inc. | +| `address2` | *string* | :heavy_minus_sign: | The second line of an address | 4001 West Parmer Lane | +| `city` | *string* | :heavy_minus_sign: | The name of the city. | Austin | +| `region` | *string* | :heavy_minus_sign: | The name of the state/province/region of the address. | Texas | +| `postalCode` | *string* | :heavy_minus_sign: | postal code (also known as zipcode) of the address | 78727 | +| `country` | *string* | :heavy_minus_sign: | Name of the country for example, 'United States' | United States of America | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/address5.md b/packages/typescript/docs/models/components/address5.md new file mode 100644 index 000000000..111a4cf4d --- /dev/null +++ b/packages/typescript/docs/models/components/address5.md @@ -0,0 +1,35 @@ +# Address5 + +Address of the hotel. + +## Example Usage + +```typescript +import { Address5 } from "@cvent/sdk/models/components"; + +let value: Address5 = { + address1: "Cvent Inc.", + address2: "4001 West Parmer Lane", + address3: "PO Box 123", + city: "Austin", + countryCode: "US", + postalCode: "78727", + region: "Texas", + regionCode: "TX", + country: "United States of America", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `address1` | *string* | :heavy_minus_sign: | The first line of an address. | Cvent Inc. | +| `address2` | *string* | :heavy_minus_sign: | The second line of an address. | 4001 West Parmer Lane | +| `address3` | *string* | :heavy_minus_sign: | The third line of an address. | PO Box 123 | +| `city` | *string* | :heavy_minus_sign: | The name of the city. | Austin | +| `countryCode` | *string* | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country code. | US | +| `postalCode` | *string* | :heavy_minus_sign: | Postal code (also known as zipcode) of the address. | 78727 | +| `region` | *string* | :heavy_minus_sign: | The name of the state/province/region of the address. | Texas | +| `regionCode` | *string* | :heavy_minus_sign: | The abbreviation of the state/province/region of the address. | TX | +| `country` | *string* | :heavy_minus_sign: | Name of the country. | United States of America | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/address6.md b/packages/typescript/docs/models/components/address6.md new file mode 100644 index 000000000..d935dfa88 --- /dev/null +++ b/packages/typescript/docs/models/components/address6.md @@ -0,0 +1,33 @@ +# Address6 + +Address details. + +## Example Usage + +```typescript +import { Address6 } from "@cvent/sdk/models/components"; + +let value: Address6 = { + address1: "717 N Harwood St", + address2: "Suite 2800", + city: "Dallas", + region: "Texas", + regionCode: "TX", + postalCode: "75201", + country: "United States", + countryCode: "US", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | +| `address1` | *string* | :heavy_minus_sign: | Address line 1. | 717 N Harwood St | +| `address2` | *string* | :heavy_minus_sign: | Address line 2. | Suite 2800 | +| `city` | *string* | :heavy_minus_sign: | City name. | Dallas | +| `region` | *string* | :heavy_minus_sign: | Region name. | Texas | +| `regionCode` | *string* | :heavy_minus_sign: | Region code. | TX | +| `postalCode` | *string* | :heavy_minus_sign: | Postal code. | 75201 | +| `country` | *string* | :heavy_minus_sign: | Country name. | United States | +| `countryCode` | *string* | :heavy_minus_sign: | ISO 3166 alpha-2 country code. | US | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/addressinput.md b/packages/typescript/docs/models/components/addressinput.md new file mode 100644 index 000000000..4aa73fe7d --- /dev/null +++ b/packages/typescript/docs/models/components/addressinput.md @@ -0,0 +1,31 @@ +# AddressInput + +Contact address details. + +## Example Usage + +```typescript +import { AddressInput } from "@cvent/sdk/models/components"; + +let value: AddressInput = { + address1: "Cvent Inc.", + address2: "4001 West Parmer Lane", + address3: "PO Box 123", + city: "Austin", + countryCode: "US", + postalCode: "78727", + regionCode: "TX", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `address1` | *string* | :heavy_minus_sign: | The first line of an address. | Cvent Inc. | +| `address2` | *string* | :heavy_minus_sign: | The second line of an address. | 4001 West Parmer Lane | +| `address3` | *string* | :heavy_minus_sign: | The third line of an address. | PO Box 123 | +| `city` | *string* | :heavy_minus_sign: | The name of the city. | Austin | +| `countryCode` | *string* | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country code. | US | +| `postalCode` | *string* | :heavy_minus_sign: | Postal code (also known as zipcode) of the address. | 78727 | +| `regionCode` | *string* | :heavy_minus_sign: | The abbreviation of the state/province/region of the address. | TX | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/addressjson.md b/packages/typescript/docs/models/components/addressjson.md index 86d2f3864..a3770ad69 100644 --- a/packages/typescript/docs/models/components/addressjson.md +++ b/packages/typescript/docs/models/components/addressjson.md @@ -1,6 +1,6 @@ # AddressJson -Contact address details. +Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. ## Example Usage @@ -8,28 +8,26 @@ Contact address details. import { AddressJson } from "@cvent/sdk/models/components"; let value: AddressJson = { - address1: "Cvent Inc.", - address2: "4001 West Parmer Lane", - address3: "PO Box 123", + address1: "West St. 1", + address2: "Apt. 16", city: "Austin", - countryCode: "US", - postalCode: "78727", region: "Texas", regionCode: "TX", + postalCode: "23452AB", country: "United States of America", + countryCode: "US", }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| `address1` | *string* | :heavy_minus_sign: | The first line of an address. | Cvent Inc. | -| `address2` | *string* | :heavy_minus_sign: | The second line of an address. | 4001 West Parmer Lane | -| `address3` | *string* | :heavy_minus_sign: | The third line of an address. | PO Box 123 | -| `city` | *string* | :heavy_minus_sign: | The name of the city. | Austin | -| `countryCode` | *string* | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country code. | US | -| `postalCode` | *string* | :heavy_minus_sign: | Postal code (also known as zipcode) of the address. | 78727 | -| `region` | *string* | :heavy_minus_sign: | The name of the state/province/region of the address. | Texas | -| `regionCode` | *string* | :heavy_minus_sign: | The abbreviation of the state/province/region of the address. | TX | -| `country` | *string* | :heavy_minus_sign: | Name of the country of the address. | United States of America | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | +| `address1` | *string* | :heavy_minus_sign: | Address line 1. | West St. 1 | +| `address2` | *string* | :heavy_minus_sign: | Address line 2. | Apt. 16 | +| `city` | *string* | :heavy_minus_sign: | City name. | Austin | +| `region` | *string* | :heavy_minus_sign: | Region name. | Texas | +| `regionCode` | *string* | :heavy_minus_sign: | Region code. | TX | +| `postalCode` | *string* | :heavy_minus_sign: | Postal code. | 23452AB | +| `country` | *string* | :heavy_minus_sign: | Country name. | United States of America | +| `countryCode` | *string* | :heavy_minus_sign: | ISO 3166 alpha-2 country code. | US | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/addressjson0.md b/packages/typescript/docs/models/components/addressjson0.md deleted file mode 100644 index 3c132ae4b..000000000 --- a/packages/typescript/docs/models/components/addressjson0.md +++ /dev/null @@ -1,23 +0,0 @@ -# AddressJson0 - -Address details. - -## Example Usage - -```typescript -import { AddressJson0 } from "@cvent/sdk/models/components"; - -let value: AddressJson0 = { - countryCode: "US", - city: "Austin", - regionCode: "US-AL", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `countryCode` | *string* | :heavy_check_mark: | ISO 3166 code for the country. | US | -| `city` | *string* | :heavy_check_mark: | The name of the city. | Austin | -| `regionCode` | *string* | :heavy_minus_sign: | ISO 3166-2 code for the state/province/region. | US-AL | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/addressjson1.md b/packages/typescript/docs/models/components/addressjson1.md new file mode 100644 index 000000000..54e955b71 --- /dev/null +++ b/packages/typescript/docs/models/components/addressjson1.md @@ -0,0 +1,33 @@ +# AddressJson1 + +A physical address. + +## Example Usage + +```typescript +import { AddressJson1 } from "@cvent/sdk/models/components"; + +let value: AddressJson1 = { + address1: "717 N Harwood St", + address2: "Suite 2800", + city: "Dallas", + region: "Texas", + regionCode: "TX", + postalCode: "75201", + country: "United States", + countryCode: "US", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | +| `address1` | *string* | :heavy_minus_sign: | Address line 1. | 717 N Harwood St | +| `address2` | *string* | :heavy_minus_sign: | Address line 2. | Suite 2800 | +| `city` | *string* | :heavy_minus_sign: | City name. | Dallas | +| `region` | *string* | :heavy_minus_sign: | Region name. | Texas | +| `regionCode` | *string* | :heavy_minus_sign: | Region code. | TX | +| `postalCode` | *string* | :heavy_minus_sign: | Postal code. | 75201 | +| `country` | *string* | :heavy_minus_sign: | Country name. | United States | +| `countryCode` | *string* | :heavy_minus_sign: | ISO 3166 alpha-2 country code. | US | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/addressjson2.md b/packages/typescript/docs/models/components/addressjson2.md index a664913f5..95438d8a1 100644 --- a/packages/typescript/docs/models/components/addressjson2.md +++ b/packages/typescript/docs/models/components/addressjson2.md @@ -1,6 +1,6 @@ # AddressJson2 -Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. +Address ## Example Usage @@ -8,26 +8,24 @@ Address details. Required to create/update a guest's reservation if the hotel/ev import { AddressJson2 } from "@cvent/sdk/models/components"; let value: AddressJson2 = { - address1: "West St. 1", - address2: "Apt. 16", - city: "Austin", - region: "Texas", - regionCode: "TX", - postalCode: "23452AB", - country: "United States of America", - countryCode: "US", + type: "work", + streetAddress: "100 Universal City Plaza", + locality: "Hollywood", + region: "CA", + postalCode: "91608", + country: "USA", + primary: true, }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | -| `address1` | *string* | :heavy_minus_sign: | Address line 1. | West St. 1 | -| `address2` | *string* | :heavy_minus_sign: | Address line 2. | Apt. 16 | -| `city` | *string* | :heavy_minus_sign: | City name. | Austin | -| `region` | *string* | :heavy_minus_sign: | Region name. | Texas | -| `regionCode` | *string* | :heavy_minus_sign: | Region code. | TX | -| `postalCode` | *string* | :heavy_minus_sign: | Postal code. | 23452AB | -| `country` | *string* | :heavy_minus_sign: | Country name. | United States of America | -| `countryCode` | *string* | :heavy_minus_sign: | ISO 3166 alpha-2 country code. | US | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `type` | [components.AddressTypeJson](../../models/components/addresstypejson.md) | :heavy_check_mark: | The type of the address. | work | +| `streetAddress` | *string* | :heavy_minus_sign: | The street address of the user. | 100 Universal City Plaza | +| `locality` | *string* | :heavy_minus_sign: | The locality/city of the user. | Hollywood | +| `region` | *string* | :heavy_minus_sign: | The region/state/province of the user. | CA | +| `postalCode` | *string* | :heavy_minus_sign: | Postal code (also known as zipcode) of the user. | 91608 | +| `country` | *string* | :heavy_minus_sign: | The country of the user. | USA | +| `primary` | *boolean* | :heavy_minus_sign: | True indicates the address is primary. | true | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/addressjson3.md b/packages/typescript/docs/models/components/addressjson3.md deleted file mode 100644 index 4ca903cbf..000000000 --- a/packages/typescript/docs/models/components/addressjson3.md +++ /dev/null @@ -1,33 +0,0 @@ -# AddressJson3 - -A physical address. - -## Example Usage - -```typescript -import { AddressJson3 } from "@cvent/sdk/models/components"; - -let value: AddressJson3 = { - address1: "717 N Harwood St", - address2: "Suite 2800", - city: "Dallas", - region: "Texas", - regionCode: "TX", - postalCode: "75201", - country: "United States", - countryCode: "US", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | -| `address1` | *string* | :heavy_minus_sign: | Address line 1. | 717 N Harwood St | -| `address2` | *string* | :heavy_minus_sign: | Address line 2. | Suite 2800 | -| `city` | *string* | :heavy_minus_sign: | City name. | Dallas | -| `region` | *string* | :heavy_minus_sign: | Region name. | Texas | -| `regionCode` | *string* | :heavy_minus_sign: | Region code. | TX | -| `postalCode` | *string* | :heavy_minus_sign: | Postal code. | 75201 | -| `country` | *string* | :heavy_minus_sign: | Country name. | United States | -| `countryCode` | *string* | :heavy_minus_sign: | ISO 3166 alpha-2 country code. | US | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/addressjson4.md b/packages/typescript/docs/models/components/addressjson4.md deleted file mode 100644 index 81650eade..000000000 --- a/packages/typescript/docs/models/components/addressjson4.md +++ /dev/null @@ -1,31 +0,0 @@ -# AddressJson4 - -Address - -## Example Usage - -```typescript -import { AddressJson4 } from "@cvent/sdk/models/components"; - -let value: AddressJson4 = { - type: "work", - streetAddress: "100 Universal City Plaza", - locality: "Hollywood", - region: "CA", - postalCode: "91608", - country: "USA", - primary: true, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `type` | [components.AddressTypeJson1](../../models/components/addresstypejson1.md) | :heavy_check_mark: | The type of the address. | work | -| `streetAddress` | *string* | :heavy_minus_sign: | The street address of the user. | 100 Universal City Plaza | -| `locality` | *string* | :heavy_minus_sign: | The locality/city of the user. | Hollywood | -| `region` | *string* | :heavy_minus_sign: | The region/state/province of the user. | CA | -| `postalCode` | *string* | :heavy_minus_sign: | Postal code (also known as zipcode) of the user. | 91608 | -| `country` | *string* | :heavy_minus_sign: | The country of the user. | USA | -| `primary` | *boolean* | :heavy_minus_sign: | True indicates the address is primary. | true | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/addressjson5.md b/packages/typescript/docs/models/components/addressjson5.md deleted file mode 100644 index c0d8936e6..000000000 --- a/packages/typescript/docs/models/components/addressjson5.md +++ /dev/null @@ -1,33 +0,0 @@ -# AddressJson5 - -Address details. - -## Example Usage - -```typescript -import { AddressJson5 } from "@cvent/sdk/models/components"; - -let value: AddressJson5 = { - address1: "717 N Harwood St", - address2: "Suite 2800", - city: "Dallas", - region: "Texas", - regionCode: "TX", - postalCode: "75201", - country: "United States", - countryCode: "US", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | -| `address1` | *string* | :heavy_minus_sign: | Address line 1. | 717 N Harwood St | -| `address2` | *string* | :heavy_minus_sign: | Address line 2. | Suite 2800 | -| `city` | *string* | :heavy_minus_sign: | City name. | Dallas | -| `region` | *string* | :heavy_minus_sign: | Region name. | Texas | -| `regionCode` | *string* | :heavy_minus_sign: | Region code. | TX | -| `postalCode` | *string* | :heavy_minus_sign: | Postal code. | 75201 | -| `country` | *string* | :heavy_minus_sign: | Country name. | United States | -| `countryCode` | *string* | :heavy_minus_sign: | ISO 3166 alpha-2 country code. | US | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/addressjsoninput.md b/packages/typescript/docs/models/components/addressjsoninput.md deleted file mode 100644 index 85c975964..000000000 --- a/packages/typescript/docs/models/components/addressjsoninput.md +++ /dev/null @@ -1,31 +0,0 @@ -# AddressJsonInput - -Contact address details. - -## Example Usage - -```typescript -import { AddressJsonInput } from "@cvent/sdk/models/components"; - -let value: AddressJsonInput = { - address1: "Cvent Inc.", - address2: "4001 West Parmer Lane", - address3: "PO Box 123", - city: "Austin", - countryCode: "US", - postalCode: "78727", - regionCode: "TX", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| `address1` | *string* | :heavy_minus_sign: | The first line of an address. | Cvent Inc. | -| `address2` | *string* | :heavy_minus_sign: | The second line of an address. | 4001 West Parmer Lane | -| `address3` | *string* | :heavy_minus_sign: | The third line of an address. | PO Box 123 | -| `city` | *string* | :heavy_minus_sign: | The name of the city. | Austin | -| `countryCode` | *string* | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country code. | US | -| `postalCode` | *string* | :heavy_minus_sign: | Postal code (also known as zipcode) of the address. | 78727 | -| `regionCode` | *string* | :heavy_minus_sign: | The abbreviation of the state/province/region of the address. | TX | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/addresstypejson.md b/packages/typescript/docs/models/components/addresstypejson.md index 2be9102f4..d4ed51f42 100644 --- a/packages/typescript/docs/models/components/addresstypejson.md +++ b/packages/typescript/docs/models/components/addresstypejson.md @@ -1,17 +1,17 @@ # AddressTypeJson -The type of address. +The type of the address. ## Example Usage ```typescript import { AddressTypeJson } from "@cvent/sdk/models/components"; -let value: AddressTypeJson = "Home"; +let value: AddressTypeJson = "work"; ``` ## Values ```typescript -"Home" | "Work" +"work" | "home" ``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/addresstypejson1.md b/packages/typescript/docs/models/components/addresstypejson1.md deleted file mode 100644 index 10d47cffd..000000000 --- a/packages/typescript/docs/models/components/addresstypejson1.md +++ /dev/null @@ -1,17 +0,0 @@ -# AddressTypeJson1 - -The type of the address. - -## Example Usage - -```typescript -import { AddressTypeJson1 } from "@cvent/sdk/models/components"; - -let value: AddressTypeJson1 = "work"; -``` - -## Values - -```typescript -"work" | "home" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/agendaitemsetup.md b/packages/typescript/docs/models/components/agendaitemsetup.md new file mode 100644 index 000000000..10ef63cb6 --- /dev/null +++ b/packages/typescript/docs/models/components/agendaitemsetup.md @@ -0,0 +1,17 @@ +# AgendaItemSetup + +Setup type for the agenda. + +## Example Usage + +```typescript +import { AgendaItemSetup } from "@cvent/sdk/models/components"; + +let value: AgendaItemSetup = "CHEVRON"; +``` + +## Values + +```typescript +"BUFFET" | "CABARET" | "CHEVRON" | "CLASSROOM" | "CONFERENCE" | "CRESCENT_ROUNDS" | "EIGHT_BY_TEN" | "FLOW" | "HERRINGBONE" | "HOLLOW_SQUARE" | "ISLAND" | "OFFSITE" | "OTHER" | "PENINSULA" | "PLATED" | "RECEPTION" | "ROUNDS" | "ROUNDS_OF_10" | "ROUNDS_OF_6" | "ROUNDS_OF_8" | "SCHOOL_ROOM" | "TABLETOP" | "TEN_BY_TEN" | "THEATER" | "T_SHAPED" | "U_SHAPED" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/agendaitemsetupjson.md b/packages/typescript/docs/models/components/agendaitemsetupjson.md deleted file mode 100644 index d2a666d44..000000000 --- a/packages/typescript/docs/models/components/agendaitemsetupjson.md +++ /dev/null @@ -1,17 +0,0 @@ -# AgendaItemSetupJson - -Setup type for the agenda. - -## Example Usage - -```typescript -import { AgendaItemSetupJson } from "@cvent/sdk/models/components"; - -let value: AgendaItemSetupJson = "OTHER"; -``` - -## Values - -```typescript -"BUFFET" | "CABARET" | "CHEVRON" | "CLASSROOM" | "CONFERENCE" | "CRESCENT_ROUNDS" | "EIGHT_BY_TEN" | "FLOW" | "HERRINGBONE" | "HOLLOW_SQUARE" | "ISLAND" | "OFFSITE" | "OTHER" | "PENINSULA" | "PLATED" | "RECEPTION" | "ROUNDS" | "ROUNDS_OF_10" | "ROUNDS_OF_6" | "ROUNDS_OF_8" | "SCHOOL_ROOM" | "TABLETOP" | "TEN_BY_TEN" | "THEATER" | "T_SHAPED" | "U_SHAPED" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/agendaitemtype.md b/packages/typescript/docs/models/components/agendaitemtype.md new file mode 100644 index 000000000..1ed14fc37 --- /dev/null +++ b/packages/typescript/docs/models/components/agendaitemtype.md @@ -0,0 +1,17 @@ +# AgendaItemType + +Type of the agenda. + +## Example Usage + +```typescript +import { AgendaItemType } from "@cvent/sdk/models/components"; + +let value: AgendaItemType = "MEETING"; +``` + +## Values + +```typescript +"BREAK" | "BREAKFAST" | "BREAKOUT" | "DINNER" | "EXHIBIT" | "GENERAL_SESSION" | "HOSPITALITY_DESK" | "HOSPITALITY_SUITE" | "LUNCH" | "MEETING" | "OFFICE" | "OTHER" | "RECEPTION" | "REGISTRATION" | "SETUP" | "SNACK" | "SPEAKER_ROOM" | "STORAGE_ROOM" | "TEARDOWN" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/agendaitemtypejson.md b/packages/typescript/docs/models/components/agendaitemtypejson.md deleted file mode 100644 index fa88f6eff..000000000 --- a/packages/typescript/docs/models/components/agendaitemtypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# AgendaItemTypeJson - -Type of the agenda. - -## Example Usage - -```typescript -import { AgendaItemTypeJson } from "@cvent/sdk/models/components"; - -let value: AgendaItemTypeJson = "GENERAL_SESSION"; -``` - -## Values - -```typescript -"BREAK" | "BREAKFAST" | "BREAKOUT" | "DINNER" | "EXHIBIT" | "GENERAL_SESSION" | "HOSPITALITY_DESK" | "HOSPITALITY_SUITE" | "LUNCH" | "MEETING" | "OFFICE" | "OTHER" | "RECEPTION" | "REGISTRATION" | "SETUP" | "SNACK" | "SPEAKER_ROOM" | "STORAGE_ROOM" | "TEARDOWN" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/amenitytype.md b/packages/typescript/docs/models/components/amenitytype.md new file mode 100644 index 000000000..e6dc0a965 --- /dev/null +++ b/packages/typescript/docs/models/components/amenitytype.md @@ -0,0 +1,17 @@ +# AmenityType + +Amenity type + +## Example Usage + +```typescript +import { AmenityType } from "@cvent/sdk/models/components"; + +let value: AmenityType = "amenity"; +``` + +## Values + +```typescript +"included_amenity" | "amenity" | "bundled_supplement" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/amenitytypejson.md b/packages/typescript/docs/models/components/amenitytypejson.md deleted file mode 100644 index 1259e5b3c..000000000 --- a/packages/typescript/docs/models/components/amenitytypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# AmenityTypeJson - -Amenity type - -## Example Usage - -```typescript -import { AmenityTypeJson } from "@cvent/sdk/models/components"; - -let value: AmenityTypeJson = "amenity"; -``` - -## Values - -```typescript -"included_amenity" | "amenity" | "bundled_supplement" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/appointmentwithquestions.md b/packages/typescript/docs/models/components/appointmentwithquestions.md index 475452293..c898f5f46 100644 --- a/packages/typescript/docs/models/components/appointmentwithquestions.md +++ b/packages/typescript/docs/models/components/appointmentwithquestions.md @@ -93,4 +93,4 @@ let value: AppointmentWithQuestions = { | `enforceScheduleRules` | *boolean* | :heavy_minus_sign: | True indicates that existing schedule rules were enforced when the appointment was created. | false | | ~~`modified`~~ | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated please use - lastModified | 2019-04-12T15:30:00.000Z | | `deleted` | *boolean* | :heavy_minus_sign: | True indicates the appointment has been logically deleted. | false | -| `questions` | [components.CustomFieldJson1](../../models/components/customfieldjson1.md)[] | :heavy_minus_sign: | Collection of custom questions asked to participants of the appointment. | | \ No newline at end of file +| `questions` | [components.CustomFieldJson](../../models/components/customfieldjson.md)[] | :heavy_minus_sign: | Collection of custom questions asked to participants of the appointment. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/assetlocation.md b/packages/typescript/docs/models/components/assetlocation.md new file mode 100644 index 000000000..8640bf2d9 --- /dev/null +++ b/packages/typescript/docs/models/components/assetlocation.md @@ -0,0 +1,20 @@ +# AssetLocation + +A URL associated with the asset. + +## Example Usage + +```typescript +import { AssetLocation } from "@cvent/sdk/models/components"; + +let value: AssetLocation = { + href: + "https://ap-southeast-2.example.com/sign2-bucket-hchq3nwuo8ns/sign-demo.json?X-Exa-Date=20170125T044127Z&X-Exa-Expires=60&X-Exa-Signature=24db05", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | +| `href` | *string* | :heavy_check_mark: | A pre-signed URL with an expiration of 2 hours to the asset's location. | https://ap-southeast-2.example.com/sign2-bucket-hchq3nwuo8ns/sign-demo.json?X-Exa-Date=20170125T044127Z&X-Exa-Expires=60&X-Exa-Signature=24db05 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/assetlocationinput.md b/packages/typescript/docs/models/components/assetlocationinput.md new file mode 100644 index 000000000..047370341 --- /dev/null +++ b/packages/typescript/docs/models/components/assetlocationinput.md @@ -0,0 +1,16 @@ +# AssetLocationInput + +A URL associated with the asset. + +## Example Usage + +```typescript +import { AssetLocationInput } from "@cvent/sdk/models/components"; + +let value: AssetLocationInput = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/assetlocationjson.md b/packages/typescript/docs/models/components/assetlocationjson.md deleted file mode 100644 index 5fe11aa1f..000000000 --- a/packages/typescript/docs/models/components/assetlocationjson.md +++ /dev/null @@ -1,20 +0,0 @@ -# AssetLocationJson - -A URL associated with the asset. - -## Example Usage - -```typescript -import { AssetLocationJson } from "@cvent/sdk/models/components"; - -let value: AssetLocationJson = { - href: - "https://ap-southeast-2.example.com/sign2-bucket-hchq3nwuo8ns/sign-demo.json?X-Exa-Date=20170125T044127Z&X-Exa-Expires=60&X-Exa-Signature=24db05", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | -| `href` | *string* | :heavy_check_mark: | A pre-signed URL with an expiration of 2 hours to the asset's location. | https://ap-southeast-2.example.com/sign2-bucket-hchq3nwuo8ns/sign-demo.json?X-Exa-Date=20170125T044127Z&X-Exa-Expires=60&X-Exa-Signature=24db05 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/assetlocationjsoninput.md b/packages/typescript/docs/models/components/assetlocationjsoninput.md deleted file mode 100644 index 2a3651d35..000000000 --- a/packages/typescript/docs/models/components/assetlocationjsoninput.md +++ /dev/null @@ -1,16 +0,0 @@ -# AssetLocationJsonInput - -A URL associated with the asset. - -## Example Usage - -```typescript -import { AssetLocationJsonInput } from "@cvent/sdk/models/components"; - -let value: AssetLocationJsonInput = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attachmentsource.md b/packages/typescript/docs/models/components/attachmentsource.md new file mode 100644 index 000000000..70ef5bd86 --- /dev/null +++ b/packages/typescript/docs/models/components/attachmentsource.md @@ -0,0 +1,17 @@ +# AttachmentSource + +The source from where the attachment was uploaded. + +## Example Usage + +```typescript +import { AttachmentSource } from "@cvent/sdk/models/components"; + +let value: AttachmentSource = "FILE_COPY_ADMIN_LIBRARY"; +``` + +## Values + +```typescript +"FILE_COPY_ADMIN_LIBRARY" | "FILE_UPLOAD_LINK_URL" | "FILE_UPLOAD_TO_CUSTOM_DRIVE" | "FILE_UPLOAD_TO_TEMP_LOCATION" | "USER_DOCUMENT_LINK_URL" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attachmentsourcejson.md b/packages/typescript/docs/models/components/attachmentsourcejson.md deleted file mode 100644 index 13cf31e2d..000000000 --- a/packages/typescript/docs/models/components/attachmentsourcejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# AttachmentSourceJson - -The source from where the attachment was uploaded. - -## Example Usage - -```typescript -import { AttachmentSourceJson } from "@cvent/sdk/models/components"; - -let value: AttachmentSourceJson = "FILE_UPLOAD_TO_CUSTOM_DRIVE"; -``` - -## Values - -```typescript -"FILE_COPY_ADMIN_LIBRARY" | "FILE_UPLOAD_LINK_URL" | "FILE_UPLOAD_TO_CUSTOM_DRIVE" | "FILE_UPLOAD_TO_TEMP_LOCATION" | "USER_DOCUMENT_LINK_URL" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attendee.md b/packages/typescript/docs/models/components/attendee.md new file mode 100644 index 000000000..1ef507ee4 --- /dev/null +++ b/packages/typescript/docs/models/components/attendee.md @@ -0,0 +1,19 @@ +# Attendee + +The reference to the attendee. Contains only the ID of the attendee. + +## Example Usage + +```typescript +import { Attendee } from "@cvent/sdk/models/components"; + +let value: Attendee = { + id: "5b0e8d1f-8fd6-4ebe-977a-602b4a1f9c43", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | Unique identifier of the primary invitee for the current attendee's registration. | 5b0e8d1f-8fd6-4ebe-977a-602b4a1f9c43 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attendee1.md b/packages/typescript/docs/models/components/attendee1.md deleted file mode 100644 index 7cf4292e4..000000000 --- a/packages/typescript/docs/models/components/attendee1.md +++ /dev/null @@ -1,235 +0,0 @@ -# Attendee1 - -An event attendee. - -## Example Usage - -```typescript -import { Attendee1 } from "@cvent/sdk/models/components"; - -let value: Attendee1 = { - created: new Date("2017-01-02T02:00:00Z"), - createdBy: "hporter", - lastModified: new Date("2019-02-12T03:00:00Z"), - lastModifiedBy: "hporter", - confirmationNumber: "VNNDLJ6DKVK", - contact: { - firstName: "Henry", - lastName: "Potterfield", - middleName: "A", - nickname: "Harry", - email: "h.potterfield@test.com", - ccEmail: "h.porter@tesing.com", - gender: "Male", - company: "Cvent Inc.", - designation: "Event", - title: "Event Planner", - type: { - id: "861B51EC-AA7E-475F-B38D-4C8E35C47D63", - name: "VIP Member", - }, - primaryAddressType: "Home", - homeAddress: { - address1: "Cvent Inc.", - address2: "4001 West Parmer Lane", - address3: "PO Box 123", - city: "Austin", - countryCode: "US", - postalCode: "78727", - region: "Texas", - regionCode: "TX", - country: "United States of America", - latitude: 30, - longitude: -97, - }, - homePhone: "555-555-5555", - homeFax: "555-555-5555", - workAddress: { - address1: "Cvent Inc.", - address2: "4001 West Parmer Lane", - address3: "PO Box 123", - city: "Austin", - countryCode: "US", - postalCode: "78727", - region: "Texas", - regionCode: "TX", - country: "United States of America", - latitude: 30, - longitude: -97, - }, - workPhone: "555-555-5555", - workFax: "555-555-5555", - optOut: {}, - customFields: [ - { - id: "8cbf1ce9-c677-4dcf-9fbe-5c465eaf5ee1", - name: "What is your favorite color?", - value: [ - "Choice C", - "Choice A", - ], - order: 1, - type: "MultiSelect", - }, - ], - sourceId: "system-a-00000000-0000-0000-0000-000000000000", - mobilePhone: "555-555-5555", - compliance: [ - { - creationTime: new Date("2021-03-08T17:30:01.727Z"), - complianceScope: "CCPA", - action: "DO_NOT_SELL", - createdBy: "PLANNER", - }, - ], - prefix: "Dr.", - pager: "555-555-5555", - headline: - "Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands", - personalWebsite: "https://www.example.com", - biography: - "I am a marketing professional with experience in event planning and brand strategy.", - pronouns: "he/him/she/her/they/them", - links: { - twitterUrl: { - href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", - }, - facebookUrl: { - href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", - }, - linkedInUrl: { - href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", - }, - profilePicture: { - href: "https://cvent.com/picture123", - }, - }, - }, - checkedIn: true, - checkIn: new Date("2018-01-13T02:00:00Z"), - checkOut: new Date("2018-01-13T02:00:00Z"), - duration: 4000, - registrationPath: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - code: "MU", - name: "Meet up", - }, - invitationList: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - name: "Sample Object name", - }, - webLinks: { - acceptRegistration: "https://example.com/123ABC?i=abcdefghijklmnopqrstuv", - declineRegistration: "https://example.com/123ABC?i=abcdefghijklmnopqrstuv", - }, - registrationType: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - code: "MU", - name: "Meet up", - }, - referenceId: "refid-plannerside", - externalReferences: [ - { - type: "Cvent Salesforce App", - id: "0000X123sfjhooks", - referenceId: "000X123jhooks", - }, - ], - note: "Would like to sit near the front of the room for sessions.", - guest: true, - deletedGuest: false, - group: { - id: "d97d28b6-cf35-4d6c-90eb-bb10fef1d1ce", - member: true, - leader: true, - }, - administrator: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - }, - status: "Accepted", - registeredAt: new Date("2018-01-13T02:00:00Z"), - registrationLastModified: new Date("2018-01-13T02:00:00Z"), - registrationCancelledAt: new Date("2018-01-13T02:00:00Z"), - invitedBy: "Planner-Invited", - responseMethod: "Self-Responded", - answers: [ - { - question: { - id: "60f1d05b-e3ee-4d70-a7f3-0edb9a76af4a", - }, - value: [ - "1234", - ], - }, - ], - admissionItem: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - code: "MU", - name: "Meet up", - }, - visibility: "Private", - bio: - "In west Philadelphia, born and raised, on the playground is where I spent most of my days.", - websiteUrl: "https://www.example.com", - allowPushNotifications: false, - allowAppointmentPushNotifications: false, - testRecord: false, - attendeeLastModified: new Date("2018-01-13T02:00:00Z"), - appointmentGroups: [ - { - id: "bf183d50-56ad-454b-8b9f-06d8e923e1fd", - }, - ], - credit: 10, -}; -``` - -## 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 | -| `id` | *string* | :heavy_minus_sign: | The ID of attendee in the given event. | | -| `event` | [components.AttendeeEvent](../../models/components/attendeeevent.md) | :heavy_minus_sign: | The attendee's associated event. | | -| `confirmationNumber` | *string* | :heavy_minus_sign: | The confirmation number is a code unique to each attendee. Cvent assigns one to the attendee upon registration for the event. Serves as proof of registration. | VNNDLJ6DKVK | -| `contact` | [components.AttendeeContactInfo](../../models/components/attendeecontactinfo.md) | :heavy_minus_sign: | Information about attendee contact added to an event. | | -| `checkedIn` | *boolean* | :heavy_minus_sign: | True indicates the attendee checked in to the event. | true | -| ~~`checkin`~~ | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The date time when attendee was checked in to an event. Note: this field is deprecated. Please use the `checkIn` field instead. | 2018-01-13T02:00:00Z | -| `checkIn` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when attendee was checked in to an event. | 2018-01-13T02:00:00Z | -| `checkOut` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when attendee checked out from an event. | 2018-01-13T02:00:00Z | -| `duration` | *number* | :heavy_minus_sign: | The duration, in milliseconds, the attendee was present at the event. | 4000 | -| `registrationPath` | [components.Lookup](../../models/components/lookup.md) | :heavy_minus_sign: | Lookup response object | | -| `invitationList` | [components.NamedObject](../../models/components/namedobject.md) | :heavy_minus_sign: | A Named object | | -| `webLinks` | [components.AttendeeWebLinks](../../models/components/attendeeweblinks.md) | :heavy_minus_sign: | Web links for an attendee. | | -| `registrationType` | [components.Lookup](../../models/components/lookup.md) | :heavy_minus_sign: | Lookup response object | | -| `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-plannerside | -| `externalReferences` | [components.ExternalReference](../../models/components/externalreference.md)[] | :heavy_minus_sign: | The details of an attendee in an external systems. | | -| `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. | -| `guest` | *boolean* | :heavy_minus_sign: | True indicates the attendee is a guest of another attendee. | true | -| `deletedGuest` | *boolean* | :heavy_minus_sign: | True indicates this attendee is a deleted guest. | false | -| `primaryId` | *string* | :heavy_minus_sign: | The ID of the primary attendee to whom this guest attendee is associated. Only applicable if this attendee is a guest. | | -| `group` | [components.AttendeeGroup](../../models/components/attendeegroup.md) | :heavy_minus_sign: | An attendee group. | | -| `administrator` | [components.Uuid](../../models/components/uuid.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | -| ~~`unsubscribed`~~ | *boolean* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

DEPRECATED: True indicates this attendee is unsubscribed from this event's emails. They'll still receive emails triggered by their own actions (like registration modification). This field has been deprecated. Please use PUT /attendees/{id}/email-subscriptions instead. | false | -| `status` | [components.AttendeeStatus](../../models/components/attendeestatus.md) | :heavy_minus_sign: | This is used to denote the status of an attendee. | Accepted | -| `registeredAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when attendee was registered. | 2018-01-13T02:00:00Z | -| `registrationLastModified` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when attendee's registration was modified. This field is updated when there are changes to the registration, such as adding or removing products. | 2018-01-13T02:00:00Z | -| `registrationCancelledAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when attendee registration was cancelled. | 2018-01-13T02:00:00Z | -| `invitedBy` | [components.AttendeeInvitedBy1](../../models/components/attendeeinvitedby1.md) | :heavy_minus_sign: | Method by which the attendee was invited to the event. | Planner-Invited | -| `responseMethod` | [components.AttendeeResponseMethod1](../../models/components/attendeeresponsemethod1.md) | :heavy_minus_sign: | Represents the method by which an attendee registered for the event.

- Administrator Responded: The invitee was registered by another contact acting as their administrator.
- API-Responded: The invitee was registered through a custom process configured via an API integration.
- Appointments Event Website: The invitee registered via an appointments event website.
- Cvent Salesforce App: The invitee registered through an action in the Cvent Salesforce App.
- External Registration: The attendee was registered through an external integration, such as Marketo.
- Group Leader Responded: The invitee was registered by a group leader and added to a group.
- Historical Import: The invitee's registration was imported into the event as historical data.
- Imported: The invitee's registration was imported into the event.
- No Response: The invitee has not registered.
- On-site Responded: The invitee registered onsite using OnArrival's Kiosk Mode.
- Planner-Imported: An account user imported the invitee's registration into the event.
- Planner-Responded: An account user registered the invitee from the Cvent back-end or the planner-side of the OnArrival app.
- Post Event: The invitee was registered by an account user after the event's end date or while the event was in Completed status.
- Self-Responded: The invitee registered themselves through a weblink or invitation.

Note: The responseMethod can only be set if the invitee's status is No Response. | Self-Responded | -| ~~`questions`~~ | [components.CustomFieldSchema](../../models/components/customfieldschema.md)[] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

A list of answers to contact custom fields. Note: This field is deprecated. Answers to custom contact fields can be found in the 'contact' model, `customFields` field instead. | | -| `answers` | [components.AttendeeAnswer](../../models/components/attendeeanswer.md)[] | :heavy_minus_sign: | The list of answers to the registration questions. | | -| `admissionItem` | [components.AttendeeLookup](../../models/components/attendeelookup.md) | :heavy_minus_sign: | Contains details related to the attendee's admission item. | | -| `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 | -| `bio` | *string* | :heavy_minus_sign: | The attendee's biographical writeup. | In west Philadelphia, born and raised, on the playground is where I spent most of my days. | -| ~~`showPopupNotification`~~ | *boolean* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Notification setting in the Attendee Hub app or website. Note: This field is deprecated. Use `allowPushNotification` field instead. | false | -| `websiteUrl` | *string* | :heavy_minus_sign: | An attendee's website URL, appears on their profile. | https://www.example.com | -| `allowPushNotifications` | *boolean* | :heavy_minus_sign: | True indicates attendee will recieve push notifications for session-schedule changes, promotions and other event activities in the Attendee Hub app. | false | -| `allowAppointmentPushNotifications` | *boolean* | :heavy_minus_sign: | True indicaites attendee will recieve push notifications for appointments related activities in the Attendee Hub app. | false | -| `testRecord` | *boolean* | :heavy_minus_sign: | True indicates this attendee record was created as part of a test scenario. | false | -| `attendeeLastModified` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date-time indicates when the attendee's non-contact properties were modified. Updates to the attendee's contact properties do not update this field. This field is updated when planners or attendees make changes to the attendee record, such as flagging as a participant. It is not updated for registration or product changes. | 2018-01-13T02:00:00Z | -| `appointmentGroups` | [components.AppointmentGroup](../../models/components/appointmentgroup.md)[] | :heavy_minus_sign: | List of appointment groups associated with attendee. These control permissions and visibility in appointments associated with the event. | | -| `credit` | *number* | :heavy_minus_sign: | The amount of credit associated with the attendee. | 10 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attendee11.md b/packages/typescript/docs/models/components/attendee11.md index ec243aeaf..092e24fe9 100644 --- a/packages/typescript/docs/models/components/attendee11.md +++ b/packages/typescript/docs/models/components/attendee11.md @@ -1,6 +1,6 @@ # Attendee11 -The associated Attendee. +An event attendee. ## Example Usage @@ -8,12 +8,228 @@ The associated Attendee. import { Attendee11 } from "@cvent/sdk/models/components"; let value: Attendee11 = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + created: new Date("2017-01-02T02:00:00Z"), + createdBy: "hporter", + lastModified: new Date("2019-02-12T03:00:00Z"), + lastModifiedBy: "hporter", + confirmationNumber: "VNNDLJ6DKVK", + contact: { + firstName: "Henry", + lastName: "Potterfield", + middleName: "A", + nickname: "Harry", + email: "h.potterfield@test.com", + ccEmail: "h.porter@tesing.com", + gender: "Male", + company: "Cvent Inc.", + designation: "Event", + title: "Event Planner", + type: { + id: "861B51EC-AA7E-475F-B38D-4C8E35C47D63", + name: "VIP Member", + }, + primaryAddressType: "Home", + homeAddress: { + address1: "Cvent Inc.", + address2: "4001 West Parmer Lane", + address3: "PO Box 123", + city: "Austin", + countryCode: "US", + postalCode: "78727", + region: "Texas", + regionCode: "TX", + country: "United States of America", + latitude: 30, + longitude: -97, + }, + homePhone: "555-555-5555", + homeFax: "555-555-5555", + workAddress: { + address1: "Cvent Inc.", + address2: "4001 West Parmer Lane", + address3: "PO Box 123", + city: "Austin", + countryCode: "US", + postalCode: "78727", + region: "Texas", + regionCode: "TX", + country: "United States of America", + latitude: 30, + longitude: -97, + }, + workPhone: "555-555-5555", + workFax: "555-555-5555", + optOut: {}, + customFields: [ + { + id: "8cbf1ce9-c677-4dcf-9fbe-5c465eaf5ee1", + name: "What is your favorite color?", + value: [ + "Choice C", + "Choice A", + ], + order: 1, + type: "MultiSelect", + }, + ], + sourceId: "system-a-00000000-0000-0000-0000-000000000000", + mobilePhone: "555-555-5555", + compliance: [ + { + creationTime: new Date("2021-03-08T17:30:01.727Z"), + complianceScope: "CCPA", + action: "DO_NOT_SELL", + createdBy: "PLANNER", + }, + ], + prefix: "Dr.", + pager: "555-555-5555", + headline: + "Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands", + personalWebsite: "https://www.example.com", + biography: + "I am a marketing professional with experience in event planning and brand strategy.", + pronouns: "he/him/she/her/they/them", + links: { + twitterUrl: { + href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", + }, + facebookUrl: { + href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", + }, + linkedInUrl: { + href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", + }, + profilePicture: { + href: "https://cvent.com/picture123", + }, + }, + }, + checkedIn: true, + checkIn: new Date("2018-01-13T02:00:00Z"), + checkOut: new Date("2018-01-13T02:00:00Z"), + duration: 4000, + registrationPath: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + code: "MU", + name: "Meet up", + }, + invitationList: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "Sample Object name", + }, + webLinks: { + acceptRegistration: "https://example.com/123ABC?i=abcdefghijklmnopqrstuv", + declineRegistration: "https://example.com/123ABC?i=abcdefghijklmnopqrstuv", + }, + registrationType: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + code: "MU", + name: "Meet up", + }, + referenceId: "refid-plannerside", + externalReferences: [ + { + type: "Cvent Salesforce App", + id: "0000X123sfjhooks", + referenceId: "000X123jhooks", + }, + ], + note: "Would like to sit near the front of the room for sessions.", + guest: true, + deletedGuest: false, + group: { + id: "d97d28b6-cf35-4d6c-90eb-bb10fef1d1ce", + member: true, + leader: true, + }, + administrator: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + }, + status: "Accepted", + registeredAt: new Date("2018-01-13T02:00:00Z"), + registrationLastModified: new Date("2018-01-13T02:00:00Z"), + registrationCancelledAt: new Date("2018-01-13T02:00:00Z"), + invitedBy: "Planner-Invited", + responseMethod: "Self-Responded", + answers: [ + { + question: { + id: "60f1d05b-e3ee-4d70-a7f3-0edb9a76af4a", + }, + value: [ + "1234", + ], + }, + ], + admissionItem: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + code: "MU", + name: "Meet up", + }, + visibility: "Private", + bio: + "In west Philadelphia, born and raised, on the playground is where I spent most of my days.", + websiteUrl: "https://www.example.com", + allowPushNotifications: false, + allowAppointmentPushNotifications: false, + testRecord: false, + attendeeLastModified: new Date("2018-01-13T02:00:00Z"), + appointmentGroups: [ + { + id: "bf183d50-56ad-454b-8b9f-06d8e923e1fd", + }, + ], + credit: 10, }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *string* | :heavy_check_mark: | Attendee id | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ 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 | +| `id` | *string* | :heavy_minus_sign: | The ID of attendee in the given event. | | +| `event` | [components.Attendee1Event](../../models/components/attendee1event.md) | :heavy_minus_sign: | The attendee's associated event. | | +| `confirmationNumber` | *string* | :heavy_minus_sign: | The confirmation number is a code unique to each attendee. Cvent assigns one to the attendee upon registration for the event. Serves as proof of registration. | VNNDLJ6DKVK | +| `contact` | [components.AttendeeContactInfo](../../models/components/attendeecontactinfo.md) | :heavy_minus_sign: | Information about attendee contact added to an event. | | +| `checkedIn` | *boolean* | :heavy_minus_sign: | True indicates the attendee checked in to the event. | true | +| ~~`checkin`~~ | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The date time when attendee was checked in to an event. Note: this field is deprecated. Please use the `checkIn` field instead. | 2018-01-13T02:00:00Z | +| `checkIn` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when attendee was checked in to an event. | 2018-01-13T02:00:00Z | +| `checkOut` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when attendee checked out from an event. | 2018-01-13T02:00:00Z | +| `duration` | *number* | :heavy_minus_sign: | The duration, in milliseconds, the attendee was present at the event. | 4000 | +| `registrationPath` | [components.Lookup](../../models/components/lookup.md) | :heavy_minus_sign: | Lookup response object | | +| `invitationList` | [components.NamedObject](../../models/components/namedobject.md) | :heavy_minus_sign: | A Named object | | +| `webLinks` | [components.AttendeeWebLinks](../../models/components/attendeeweblinks.md) | :heavy_minus_sign: | Web links for an attendee. | | +| `registrationType` | [components.Lookup](../../models/components/lookup.md) | :heavy_minus_sign: | Lookup response object | | +| `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-plannerside | +| `externalReferences` | [components.ExternalReference](../../models/components/externalreference.md)[] | :heavy_minus_sign: | The details of an attendee in an external systems. | | +| `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. | +| `guest` | *boolean* | :heavy_minus_sign: | True indicates the attendee is a guest of another attendee. | true | +| `deletedGuest` | *boolean* | :heavy_minus_sign: | True indicates this attendee is a deleted guest. | false | +| `primaryId` | *string* | :heavy_minus_sign: | The ID of the primary attendee to whom this guest attendee is associated. Only applicable if this attendee is a guest. | | +| `group` | [components.AttendeeGroup](../../models/components/attendeegroup.md) | :heavy_minus_sign: | An attendee group. | | +| `administrator` | [components.Uuid](../../models/components/uuid.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | +| ~~`unsubscribed`~~ | *boolean* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

DEPRECATED: True indicates this attendee is unsubscribed from this event's emails. They'll still receive emails triggered by their own actions (like registration modification). This field has been deprecated. Please use PUT /attendees/{id}/email-subscriptions instead. | false | +| `status` | [components.AttendeeStatus](../../models/components/attendeestatus.md) | :heavy_minus_sign: | This is used to denote the status of an attendee. | Accepted | +| `registeredAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when attendee was registered. | 2018-01-13T02:00:00Z | +| `registrationLastModified` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when attendee's registration was modified. This field is updated when there are changes to the registration, such as adding or removing products. | 2018-01-13T02:00:00Z | +| `registrationCancelledAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when attendee registration was cancelled. | 2018-01-13T02:00:00Z | +| `invitedBy` | [components.AttendeeInvitedBy1](../../models/components/attendeeinvitedby1.md) | :heavy_minus_sign: | Method by which the attendee was invited to the event. | Planner-Invited | +| `responseMethod` | [components.AttendeeResponseMethod1](../../models/components/attendeeresponsemethod1.md) | :heavy_minus_sign: | Represents the method by which an attendee registered for the event.

- Administrator Responded: The invitee was registered by another contact acting as their administrator.
- API-Responded: The invitee was registered through a custom process configured via an API integration.
- Appointments Event Website: The invitee registered via an appointments event website.
- Cvent Salesforce App: The invitee registered through an action in the Cvent Salesforce App.
- External Registration: The attendee was registered through an external integration, such as Marketo.
- Group Leader Responded: The invitee was registered by a group leader and added to a group.
- Historical Import: The invitee's registration was imported into the event as historical data.
- Imported: The invitee's registration was imported into the event.
- No Response: The invitee has not registered.
- On-site Responded: The invitee registered onsite using OnArrival's Kiosk Mode.
- Planner-Imported: An account user imported the invitee's registration into the event.
- Planner-Responded: An account user registered the invitee from the Cvent back-end or the planner-side of the OnArrival app.
- Post Event: The invitee was registered by an account user after the event's end date or while the event was in Completed status.
- Self-Responded: The invitee registered themselves through a weblink or invitation.

Note: The responseMethod can only be set if the invitee's status is No Response. | Self-Responded | +| ~~`questions`~~ | [components.CustomFieldSchema](../../models/components/customfieldschema.md)[] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

A list of answers to contact custom fields. Note: This field is deprecated. Answers to custom contact fields can be found in the 'contact' model, `customFields` field instead. | | +| `answers` | [components.AttendeeAnswer](../../models/components/attendeeanswer.md)[] | :heavy_minus_sign: | The list of answers to the registration questions. | | +| `admissionItem` | [components.Attendee1Lookup](../../models/components/attendee1lookup.md) | :heavy_minus_sign: | Contains details related to the attendee's admission item. | | +| `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 | +| `bio` | *string* | :heavy_minus_sign: | The attendee's biographical writeup. | In west Philadelphia, born and raised, on the playground is where I spent most of my days. | +| ~~`showPopupNotification`~~ | *boolean* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Notification setting in the Attendee Hub app or website. Note: This field is deprecated. Use `allowPushNotification` field instead. | false | +| `websiteUrl` | *string* | :heavy_minus_sign: | An attendee's website URL, appears on their profile. | https://www.example.com | +| `allowPushNotifications` | *boolean* | :heavy_minus_sign: | True indicates attendee will recieve push notifications for session-schedule changes, promotions and other event activities in the Attendee Hub app. | false | +| `allowAppointmentPushNotifications` | *boolean* | :heavy_minus_sign: | True indicaites attendee will recieve push notifications for appointments related activities in the Attendee Hub app. | false | +| `testRecord` | *boolean* | :heavy_minus_sign: | True indicates this attendee record was created as part of a test scenario. | false | +| `attendeeLastModified` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date-time indicates when the attendee's non-contact properties were modified. Updates to the attendee's contact properties do not update this field. This field is updated when planners or attendees make changes to the attendee record, such as flagging as a participant. It is not updated for registration or product changes. | 2018-01-13T02:00:00Z | +| `appointmentGroups` | [components.AppointmentGroup](../../models/components/appointmentgroup.md)[] | :heavy_minus_sign: | List of appointment groups associated with attendee. These control permissions and visibility in appointments associated with the event. | | +| `credit` | *number* | :heavy_minus_sign: | The amount of credit associated with the attendee. | 10 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attendee12.md b/packages/typescript/docs/models/components/attendee12.md index 1879a4237..6a020aff5 100644 --- a/packages/typescript/docs/models/components/attendee12.md +++ b/packages/typescript/docs/models/components/attendee12.md @@ -1,6 +1,6 @@ # Attendee12 -A JSON schema representing the Attendee object +The associated Attendee. ## Example Usage @@ -16,4 +16,4 @@ let value: Attendee12 = { | Field | Type | Required | Description | Example | | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | Attendee id | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| `id` | *string* | :heavy_check_mark: | Attendee id | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attendee13.md b/packages/typescript/docs/models/components/attendee13.md new file mode 100644 index 000000000..a43a2eb03 --- /dev/null +++ b/packages/typescript/docs/models/components/attendee13.md @@ -0,0 +1,19 @@ +# Attendee13 + +A JSON schema representing the Attendee object + +## Example Usage + +```typescript +import { Attendee13 } from "@cvent/sdk/models/components"; + +let value: Attendee13 = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_minus_sign: | Attendee id | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attendee1event.md b/packages/typescript/docs/models/components/attendee1event.md new file mode 100644 index 000000000..7c92f62c2 --- /dev/null +++ b/packages/typescript/docs/models/components/attendee1event.md @@ -0,0 +1,17 @@ +# Attendee1Event + +The attendee's associated event. + +## Example Usage + +```typescript +import { Attendee1Event } from "@cvent/sdk/models/components"; + +let value: Attendee1Event = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_minus_sign: | The event ID. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attendee1lookup.md b/packages/typescript/docs/models/components/attendee1lookup.md new file mode 100644 index 000000000..c90942873 --- /dev/null +++ b/packages/typescript/docs/models/components/attendee1lookup.md @@ -0,0 +1,23 @@ +# Attendee1Lookup + +Contains details related to the attendee's admission item. + +## Example Usage + +```typescript +import { Attendee1Lookup } from "@cvent/sdk/models/components"; + +let value: Attendee1Lookup = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + code: "MU", + name: "Meet up", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `code` | *string* | :heavy_minus_sign: | Code / Abbreviation of the lookup item. | MU | +| `name` | *string* | :heavy_minus_sign: | Name of the lookup item. | Meet up | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attendee2.md b/packages/typescript/docs/models/components/attendee2.md index 0391c1d06..eb32a042b 100644 --- a/packages/typescript/docs/models/components/attendee2.md +++ b/packages/typescript/docs/models/components/attendee2.md @@ -14,6 +14,6 @@ let value: Attendee2 = { ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | Unique identifier of the primary invitee for the current attendee's registration. | 5b0e8d1f-8fd6-4ebe-977a-602b4a1f9c43 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_check_mark: | Attendee ID. | 5b0e8d1f-8fd6-4ebe-977a-602b4a1f9c43 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attendeeaddbulkitemeventjsonerrorresponse.md b/packages/typescript/docs/models/components/attendeeaddbulkitemeventjsonerrorresponse.md index 92d72124b..8fc30f456 100644 --- a/packages/typescript/docs/models/components/attendeeaddbulkitemeventjsonerrorresponse.md +++ b/packages/typescript/docs/models/components/attendeeaddbulkitemeventjsonerrorresponse.md @@ -31,4 +31,4 @@ let value: AttendeeAddBulkItemEventJsonErrorResponse = { | `code` | *number* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | | `message` | *string* | :heavy_check_mark: | A brief description of the error. | Bad Request | | `target` | *string* | :heavy_minus_sign: | The target resource of the error. | example target | -| `details` | [components.ZeroAllOf8](../../models/components/zeroallof8.md)[] | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file +| `details` | [components.ZeroAllOf7](../../models/components/zeroallof7.md)[] | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attendeeaddbulkitemjsondata.md b/packages/typescript/docs/models/components/attendeeaddbulkitemjsondata.md index 4b2547ab8..e1748635f 100644 --- a/packages/typescript/docs/models/components/attendeeaddbulkitemjsondata.md +++ b/packages/typescript/docs/models/components/attendeeaddbulkitemjsondata.md @@ -11,10 +11,10 @@ const value: components.ZeroOneOf2 = { }; ``` -### `components.ErrorResponse1` +### `components.ErrorResponse2` ```typescript -const value: components.ErrorResponse1 = { +const value: components.ErrorResponse2 = { code: 400, message: "Bad Request", target: "example target", diff --git a/packages/typescript/docs/models/components/attendeecontactinfo.md b/packages/typescript/docs/models/components/attendeecontactinfo.md index 71cd81800..ebe786768 100644 --- a/packages/typescript/docs/models/components/attendeecontactinfo.md +++ b/packages/typescript/docs/models/components/attendeecontactinfo.md @@ -123,10 +123,10 @@ let value: AttendeeContactInfo = { | `type` | [components.AttendeeContactType](../../models/components/attendeecontacttype.md) | :heavy_minus_sign: | Contains details related to the attendee's contact type. | | | ~~`membership`~~ | [components.AttendeeContactMembership](../../models/components/attendeecontactmembership.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Attendee's contact membership information. Note: This field is deprecated. Previous documentation incorrectly listed support for this feature. | | | `primaryAddressType` | [components.AddressType](../../models/components/addresstype.md) | :heavy_minus_sign: | The type of address. | Home | -| `homeAddress` | [components.Address11](../../models/components/address11.md) | :heavy_minus_sign: | Address details | | +| `homeAddress` | [components.Address3](../../models/components/address3.md) | :heavy_minus_sign: | Address details | | | `homePhone` | *string* | :heavy_minus_sign: | Home phone number | 555-555-5555 | | `homeFax` | *string* | :heavy_minus_sign: | Home FAX number | 555-555-5555 | -| `workAddress` | [components.Address11](../../models/components/address11.md) | :heavy_minus_sign: | Address details | | +| `workAddress` | [components.Address3](../../models/components/address3.md) | :heavy_minus_sign: | Address details | | | `workPhone` | *string* | :heavy_minus_sign: | Work phone number | 555-555-5555 | | `workFax` | *string* | :heavy_minus_sign: | Work FAX number | 555-555-5555 | | `optOut` | [components.OptOut](../../models/components/optout.md) | :heavy_minus_sign: | Opt-out choices. | | diff --git a/packages/typescript/docs/models/components/attendeecontacttypeinput.md b/packages/typescript/docs/models/components/attendeecontacttypeinput.md new file mode 100644 index 000000000..507837f49 --- /dev/null +++ b/packages/typescript/docs/models/components/attendeecontacttypeinput.md @@ -0,0 +1,19 @@ +# AttendeeContactTypeInput + +Contains details related to the attendee's contact type. + +## Example Usage + +```typescript +import { AttendeeContactTypeInput } from "@cvent/sdk/models/components"; + +let value: AttendeeContactTypeInput = { + id: "861B51EC-AA7E-475F-B38D-4C8E35C47D63", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | The unique identifier of the contact type | 861B51EC-AA7E-475F-B38D-4C8E35C47D63 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attendeecontacttypejson.md b/packages/typescript/docs/models/components/attendeecontacttypejson.md deleted file mode 100644 index cd794074b..000000000 --- a/packages/typescript/docs/models/components/attendeecontacttypejson.md +++ /dev/null @@ -1,21 +0,0 @@ -# AttendeeContactTypeJson - -Contains details related to the attendee's contact type. - -## Example Usage - -```typescript -import { AttendeeContactTypeJson } from "@cvent/sdk/models/components"; - -let value: AttendeeContactTypeJson = { - id: "861B51EC-AA7E-475F-B38D-4C8E35C47D63", - name: "VIP Member", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | The unique identifier of the contact type | 861B51EC-AA7E-475F-B38D-4C8E35C47D63 | -| `name` | *string* | :heavy_minus_sign: | A descriptive name for the contact type | VIP Member | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attendeecontacttypejsoninput.md b/packages/typescript/docs/models/components/attendeecontacttypejsoninput.md deleted file mode 100644 index e1fd14799..000000000 --- a/packages/typescript/docs/models/components/attendeecontacttypejsoninput.md +++ /dev/null @@ -1,19 +0,0 @@ -# AttendeeContactTypeJsonInput - -Contains details related to the attendee's contact type. - -## Example Usage - -```typescript -import { AttendeeContactTypeJsonInput } from "@cvent/sdk/models/components"; - -let value: AttendeeContactTypeJsonInput = { - id: "861B51EC-AA7E-475F-B38D-4C8E35C47D63", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | The unique identifier of the contact type | 861B51EC-AA7E-475F-B38D-4C8E35C47D63 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attendeeevent.md b/packages/typescript/docs/models/components/attendeeevent.md deleted file mode 100644 index 04e0373be..000000000 --- a/packages/typescript/docs/models/components/attendeeevent.md +++ /dev/null @@ -1,17 +0,0 @@ -# AttendeeEvent - -The attendee's associated event. - -## Example Usage - -```typescript -import { AttendeeEvent } from "@cvent/sdk/models/components"; - -let value: AttendeeEvent = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *string* | :heavy_minus_sign: | The event ID. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attendeeinsights.md b/packages/typescript/docs/models/components/attendeeinsights.md index 59b2f5fa8..216321656 100644 --- a/packages/typescript/docs/models/components/attendeeinsights.md +++ b/packages/typescript/docs/models/components/attendeeinsights.md @@ -33,5 +33,5 @@ let value: AttendeeInsights = { | `id` | *string* | :heavy_check_mark: | The identifier of the engagement score. | 3f1b949b-2f69-42e2-b205-3780f9a76eaf | | `name` | *string* | :heavy_check_mark: | Name of the engagement score. | General Interest | | `description` | *string* | :heavy_minus_sign: | Description of the engagement score. | A score to capture engagement for general attendees. | -| `event` | [components.EventJson6](../../models/components/eventjson6.md) | :heavy_check_mark: | An event reference used in attendee insights to identify the event context for engagement data | | +| `event` | [components.EventJson5](../../models/components/eventjson5.md) | :heavy_check_mark: | An event reference used in attendee insights to identify the event context for engagement data | | | `default` | *boolean* | :heavy_check_mark: | True indicates this is the default engagement score in the event. | false | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attendeelinkbulkresponseitemjsondata.md b/packages/typescript/docs/models/components/attendeelinkbulkresponseitemjsondata.md index af0b9876a..1dcbdf929 100644 --- a/packages/typescript/docs/models/components/attendeelinkbulkresponseitemjsondata.md +++ b/packages/typescript/docs/models/components/attendeelinkbulkresponseitemjsondata.md @@ -32,10 +32,10 @@ const value: components.ExistingAttendeeLink = { }; ``` -### `components.ErrorResponse1` +### `components.ErrorResponse2` ```typescript -const value: components.ErrorResponse1 = { +const value: components.ErrorResponse2 = { code: 400, message: "Bad Request", target: "example target", diff --git a/packages/typescript/docs/models/components/attendeelookup.md b/packages/typescript/docs/models/components/attendeelookup.md deleted file mode 100644 index 67e666ef8..000000000 --- a/packages/typescript/docs/models/components/attendeelookup.md +++ /dev/null @@ -1,23 +0,0 @@ -# AttendeeLookup - -Contains details related to the attendee's admission item. - -## Example Usage - -```typescript -import { AttendeeLookup } from "@cvent/sdk/models/components"; - -let value: AttendeeLookup = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - code: "MU", - name: "Meet up", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `code` | *string* | :heavy_minus_sign: | Code / Abbreviation of the lookup item. | MU | -| `name` | *string* | :heavy_minus_sign: | Name of the lookup item. | Meet up | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attendeepaginatedresponse.md b/packages/typescript/docs/models/components/attendeepaginatedresponse.md index ed1604fcc..37fa42772 100644 --- a/packages/typescript/docs/models/components/attendeepaginatedresponse.md +++ b/packages/typescript/docs/models/components/attendeepaginatedresponse.md @@ -35,4 +35,4 @@ let value: AttendeePaginatedResponse = { | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | | `paging` | [components.Paging](../../models/components/paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | [components.Attendee1](../../models/components/attendee1.md)[] | :heavy_check_mark: | Collection of attendees. | \ No newline at end of file +| `data` | [components.Attendee11](../../models/components/attendee11.md)[] | :heavy_check_mark: | Collection of attendees. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attendees.md b/packages/typescript/docs/models/components/attendees.md index e6b797571..fba7ca03b 100644 --- a/packages/typescript/docs/models/components/attendees.md +++ b/packages/typescript/docs/models/components/attendees.md @@ -11,10 +11,10 @@ const value: components.AttendeeAddResponse = { }; ``` -### `components.ErrorResponse2` +### `components.ErrorResponse1` ```typescript -const value: components.ErrorResponse2 = { +const value: components.ErrorResponse1 = { code: 400, message: "Bad Request", target: "example target", diff --git a/packages/typescript/docs/models/components/attendeespaginatedresponse.md b/packages/typescript/docs/models/components/attendeespaginatedresponse.md new file mode 100644 index 000000000..5860d1320 --- /dev/null +++ b/packages/typescript/docs/models/components/attendeespaginatedresponse.md @@ -0,0 +1,42 @@ +# AttendeesPaginatedResponse + +A paginated response containing a list of attendees who have redeemed a voucher. + +## Example Usage + +```typescript +import { AttendeesPaginatedResponse } from "@cvent/sdk/models/components"; + +let value: AttendeesPaginatedResponse = { + 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: "5b0e8d1f-8fd6-4ebe-977a-602b4a1f9c43", + }, + ], +}; +``` + +## 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.Attendee2](../../models/components/attendee2.md)[] | :heavy_check_mark: | Collection of attendees who have redeemed the voucher. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/audiencesegment.md b/packages/typescript/docs/models/components/audiencesegment.md index d74d3d183..b457a19a6 100644 --- a/packages/typescript/docs/models/components/audiencesegment.md +++ b/packages/typescript/docs/models/components/audiencesegment.md @@ -20,6 +20,6 @@ let value: AudienceSegment = { | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | -| `event` | [components.EventJson1](../../models/components/eventjson1.md) | :heavy_check_mark: | ID of the event. | | +| `event` | [components.EventJson](../../models/components/eventjson.md) | :heavy_check_mark: | ID of the event. | | | `name` | *string* | :heavy_check_mark: | Name of the audience segment. Must be unique in the event where the segment exists. | VIP Attendees | | `description` | *string* | :heavy_minus_sign: | Description of the audience segment. | A group of VIP attendees. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/audiencesegmentcreate.md b/packages/typescript/docs/models/components/audiencesegmentcreate.md index b2b06f7b3..a09abb0f3 100644 --- a/packages/typescript/docs/models/components/audiencesegmentcreate.md +++ b/packages/typescript/docs/models/components/audiencesegmentcreate.md @@ -20,7 +20,7 @@ let value: AudienceSegmentCreate = { | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `event` | [components.EventJson1](../../models/components/eventjson1.md) | :heavy_check_mark: | ID of the event. | | +| `event` | [components.EventJson](../../models/components/eventjson.md) | :heavy_check_mark: | ID of the event. | | | `name` | *string* | :heavy_check_mark: | Name of the audience segment. Must be unique in the event where the segment exists. | VIP Attendees | | `description` | *string* | :heavy_minus_sign: | Description of the audience segment. | A group of VIP attendees. | | `creationType` | [components.AudienceSegmentCreationTypeJson](../../models/components/audiencesegmentcreationtypejson.md) | :heavy_minus_sign: | Creation type of the audience segment. | MANUAL | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/audiencesegmentresponse.md b/packages/typescript/docs/models/components/audiencesegmentresponse.md index e4739ff9e..0e0acab3f 100644 --- a/packages/typescript/docs/models/components/audiencesegmentresponse.md +++ b/packages/typescript/docs/models/components/audiencesegmentresponse.md @@ -30,7 +30,7 @@ let value: AudienceSegmentResponse = { | `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 | -| `event` | [components.EventJson1](../../models/components/eventjson1.md) | :heavy_check_mark: | ID of the event. | | +| `event` | [components.EventJson](../../models/components/eventjson.md) | :heavy_check_mark: | ID of the event. | | | `name` | *string* | :heavy_check_mark: | Name of the audience segment. Must be unique in the event where the segment exists. | VIP Attendees | | `description` | *string* | :heavy_minus_sign: | Description of the audience segment. | A group of VIP attendees. | | `id` | *string* | :heavy_minus_sign: | ID of the audience segment. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | diff --git a/packages/typescript/docs/models/components/audiotrackstatus.md b/packages/typescript/docs/models/components/audiotrackstatus.md new file mode 100644 index 000000000..0f42fd02a --- /dev/null +++ b/packages/typescript/docs/models/components/audiotrackstatus.md @@ -0,0 +1,17 @@ +# AudioTrackStatus + +Denotes the status of an audio track. Started indicates the request to upload in the API was submitted, and the URL you'll upload an audio track to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the audio track. Available indicates the audio track is available for use. + +## Example Usage + +```typescript +import { AudioTrackStatus } from "@cvent/sdk/models/components"; + +let value: AudioTrackStatus = "Started"; +``` + +## Values + +```typescript +"Started" | "Uploaded" | "Scanning" | "Scanned" | "Syncing" | "Rejected" | "Error" | "Available" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/audiotrackstatusjson.md b/packages/typescript/docs/models/components/audiotrackstatusjson.md deleted file mode 100644 index 9aede95d8..000000000 --- a/packages/typescript/docs/models/components/audiotrackstatusjson.md +++ /dev/null @@ -1,17 +0,0 @@ -# AudioTrackStatusJson - -Denotes the status of an audio track. Started indicates the request to upload in the API was submitted, and the URL you'll upload an audio track to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the audio track. Available indicates the audio track is available for use. - -## Example Usage - -```typescript -import { AudioTrackStatusJson } from "@cvent/sdk/models/components"; - -let value: AudioTrackStatusJson = "Started"; -``` - -## Values - -```typescript -"Started" | "Uploaded" | "Scanning" | "Scanned" | "Syncing" | "Rejected" | "Error" | "Available" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/audiotracktype.md b/packages/typescript/docs/models/components/audiotracktype.md new file mode 100644 index 000000000..d58c1a52f --- /dev/null +++ b/packages/typescript/docs/models/components/audiotracktype.md @@ -0,0 +1,17 @@ +# AudioTrackType + +Denotes the file format of the audio track. + +## Example Usage + +```typescript +import { AudioTrackType } from "@cvent/sdk/models/components"; + +let value: AudioTrackType = "mp3"; +``` + +## Values + +```typescript +"asf" | "wma" | "wmv" | "mp3" | "ts" | "mp4" | "mka" | "oga" | "mov" | "wav" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/audiotracktypejson.md b/packages/typescript/docs/models/components/audiotracktypejson.md deleted file mode 100644 index 4667605b7..000000000 --- a/packages/typescript/docs/models/components/audiotracktypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# AudioTrackTypeJson - -Denotes the file format of the audio track. - -## Example Usage - -```typescript -import { AudioTrackTypeJson } from "@cvent/sdk/models/components"; - -let value: AudioTrackTypeJson = "mp3"; -``` - -## Values - -```typescript -"asf" | "wma" | "wmv" | "mp3" | "ts" | "mp4" | "mka" | "oga" | "mov" | "wav" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/audiotrackvariant.md b/packages/typescript/docs/models/components/audiotrackvariant.md new file mode 100644 index 000000000..cb1aa5214 --- /dev/null +++ b/packages/typescript/docs/models/components/audiotrackvariant.md @@ -0,0 +1,17 @@ +# AudioTrackVariant + +Denotes the variant of an audio track. Main is the primary audio track for this video. Alternate is a possible alternative to the main track. Commentary is a commentary on the primary audio or video track, e.g. a director's commentary. Dub is a translated version of the main audio track. Descriptive is an audio description of a video track. + +## Example Usage + +```typescript +import { AudioTrackVariant } from "@cvent/sdk/models/components"; + +let value: AudioTrackVariant = "Alternate"; +``` + +## Values + +```typescript +"Main" | "Alternate" | "Commentary" | "Dub" | "Descriptive" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/audiotrackvariantjson.md b/packages/typescript/docs/models/components/audiotrackvariantjson.md deleted file mode 100644 index dceb8916b..000000000 --- a/packages/typescript/docs/models/components/audiotrackvariantjson.md +++ /dev/null @@ -1,17 +0,0 @@ -# AudioTrackVariantJson - -Denotes the variant of an audio track. Main is the primary audio track for this video. Alternate is a possible alternative to the main track. Commentary is a commentary on the primary audio or video track, e.g. a director's commentary. Dub is a translated version of the main audio track. Descriptive is an audio description of a video track. - -## Example Usage - -```typescript -import { AudioTrackVariantJson } from "@cvent/sdk/models/components"; - -let value: AudioTrackVariantJson = "Alternate"; -``` - -## Values - -```typescript -"Main" | "Alternate" | "Commentary" | "Dub" | "Descriptive" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/badge.md b/packages/typescript/docs/models/components/badge.md index a4ca51c2f..601047b9f 100644 --- a/packages/typescript/docs/models/components/badge.md +++ b/packages/typescript/docs/models/components/badge.md @@ -35,5 +35,5 @@ let value: Badge = { | `id` | *string* | :heavy_check_mark: | Id of a badge | abc123 | | `status` | [components.BadgeStatus](../../models/components/badgestatus.md) | :heavy_check_mark: | Badge status | Active | | `type` | [components.BadgeType](../../models/components/badgetype.md) | :heavy_check_mark: | Badge type | Epc | -| `attendee` | [components.Attendee11](../../models/components/attendee11.md) | :heavy_check_mark: | The associated Attendee. | | -| `event` | [components.Event21](../../models/components/event21.md) | :heavy_check_mark: | The Associated Event. | | \ No newline at end of file +| `attendee` | [components.Attendee12](../../models/components/attendee12.md) | :heavy_check_mark: | The associated Attendee. | | +| `event` | [components.Event3](../../models/components/event3.md) | :heavy_check_mark: | The Associated Event. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/badgeinput.md b/packages/typescript/docs/models/components/badgeinput.md index f637ccd67..3a1ab7f3a 100644 --- a/packages/typescript/docs/models/components/badgeinput.md +++ b/packages/typescript/docs/models/components/badgeinput.md @@ -27,5 +27,5 @@ let value: BadgeInput = { | `id` | *string* | :heavy_check_mark: | Id of a badge | abc123 | | `status` | [components.BadgeStatus](../../models/components/badgestatus.md) | :heavy_check_mark: | Badge status | Active | | `type` | [components.BadgeType](../../models/components/badgetype.md) | :heavy_check_mark: | Badge type | Epc | -| `attendee` | [components.Attendee11](../../models/components/attendee11.md) | :heavy_check_mark: | The associated Attendee. | | -| `event` | [components.Event21](../../models/components/event21.md) | :heavy_check_mark: | The Associated Event. | | \ No newline at end of file +| `attendee` | [components.Attendee12](../../models/components/attendee12.md) | :heavy_check_mark: | The associated Attendee. | | +| `event` | [components.Event3](../../models/components/event3.md) | :heavy_check_mark: | The Associated Event. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/biditemstatustype.md b/packages/typescript/docs/models/components/biditemstatustype.md new file mode 100644 index 000000000..3c9e0b26e --- /dev/null +++ b/packages/typescript/docs/models/components/biditemstatustype.md @@ -0,0 +1,17 @@ +# BidItemStatusType + +The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + +## Example Usage + +```typescript +import { BidItemStatusType } from "@cvent/sdk/models/components"; + +let value: BidItemStatusType = "requested"; +``` + +## Values + +```typescript +"requested" | "delete_requested" | "deleted" | "not_available" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/biditemstatustypejson.md b/packages/typescript/docs/models/components/biditemstatustypejson.md deleted file mode 100644 index fa8be6c60..000000000 --- a/packages/typescript/docs/models/components/biditemstatustypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# BidItemStatusTypeJson - -The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. - -## Example Usage - -```typescript -import { BidItemStatusTypeJson } from "@cvent/sdk/models/components"; - -let value: BidItemStatusTypeJson = "requested"; -``` - -## Values - -```typescript -"requested" | "delete_requested" | "deleted" | "not_available" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/bidstatustype.md b/packages/typescript/docs/models/components/bidstatustype.md new file mode 100644 index 000000000..2a1028c03 --- /dev/null +++ b/packages/typescript/docs/models/components/bidstatustype.md @@ -0,0 +1,17 @@ +# BidStatusType + +Bid stay type. + +## Example Usage + +```typescript +import { BidStatusType } from "@cvent/sdk/models/components"; + +let value: BidStatusType = "attached"; +``` + +## Values + +```typescript +"in_progress" | "attached" | "deleted" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/bidstatustypejson.md b/packages/typescript/docs/models/components/bidstatustypejson.md deleted file mode 100644 index 3613fdcce..000000000 --- a/packages/typescript/docs/models/components/bidstatustypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# BidStatusTypeJson - -Bid stay type. - -## Example Usage - -```typescript -import { BidStatusTypeJson } from "@cvent/sdk/models/components"; - -let value: BidStatusTypeJson = "attached"; -``` - -## Values - -```typescript -"in_progress" | "attached" | "deleted" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/bidstaytype.md b/packages/typescript/docs/models/components/bidstaytype.md new file mode 100644 index 000000000..f3aba5b48 --- /dev/null +++ b/packages/typescript/docs/models/components/bidstaytype.md @@ -0,0 +1,17 @@ +# BidStayType + +Bid stay type. + +## Example Usage + +```typescript +import { BidStayType } from "@cvent/sdk/models/components"; + +let value: BidStayType = "extended"; +``` + +## Values + +```typescript +"daily" | "extended" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/bidstaytypejson.md b/packages/typescript/docs/models/components/bidstaytypejson.md deleted file mode 100644 index cac5390a6..000000000 --- a/packages/typescript/docs/models/components/bidstaytypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# BidStayTypeJson - -Bid stay type. - -## Example Usage - -```typescript -import { BidStayTypeJson } from "@cvent/sdk/models/components"; - -let value: BidStayTypeJson = "daily"; -``` - -## Values - -```typescript -"daily" | "extended" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/billingdetails1.md b/packages/typescript/docs/models/components/billingdetails1.md new file mode 100644 index 000000000..3fa1ff293 --- /dev/null +++ b/packages/typescript/docs/models/components/billingdetails1.md @@ -0,0 +1,26 @@ +# BillingDetails1 + +Billing details for RFP. + +## Example Usage + +```typescript +import { BillingDetails1 } from "@cvent/sdk/models/components"; + +let value: BillingDetails1 = { + additionalInformation: + "Guest rooms will be a mix of IPO and RM&TX to master. Will submit rooming list with billing specified. Credit card will be provided as guarantee.", + concessionsContractualInfo: "Request use of LOI or Express Agreement.", + rebateValue: 10, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `additionalInformation` | *string* | :heavy_minus_sign: | Information regarding billing. | Guest rooms will be a mix of IPO and RM&TX to master. Will submit rooming list with billing specified. Credit card will be provided as guarantee. | +| `concessionsContractualInfo` | *string* | :heavy_minus_sign: | Concessions and contractual information. | Request use of LOI or Express Agreement. | +| `rebateType` | [components.RebateType](../../models/components/rebatetype.md) | :heavy_minus_sign: | Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will represent a percentage. | | +| `acceptingRebatesAndIncentives` | *boolean* | :heavy_minus_sign: | True indicates that rebates and incentives are accepted, applicable only for citywide RFPs. | | +| `rebateValue` | *number* | :heavy_minus_sign: | The value of the rebate. The impact of this value on the price is determined by `RebateType`. | 10 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/billingdetailsjson0.md b/packages/typescript/docs/models/components/billingdetailsjson0.md deleted file mode 100644 index a04a22c03..000000000 --- a/packages/typescript/docs/models/components/billingdetailsjson0.md +++ /dev/null @@ -1,26 +0,0 @@ -# BillingDetailsJson0 - -Billing details for RFP. - -## Example Usage - -```typescript -import { BillingDetailsJson0 } from "@cvent/sdk/models/components"; - -let value: BillingDetailsJson0 = { - additionalInformation: - "Guest rooms will be a mix of IPO and RM&TX to master. Will submit rooming list with billing specified. Credit card will be provided as guarantee.", - concessionsContractualInfo: "Request use of LOI or Express Agreement.", - rebateValue: 10, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `additionalInformation` | *string* | :heavy_minus_sign: | Information regarding billing. | Guest rooms will be a mix of IPO and RM&TX to master. Will submit rooming list with billing specified. Credit card will be provided as guarantee. | -| `concessionsContractualInfo` | *string* | :heavy_minus_sign: | Concessions and contractual information. | Request use of LOI or Express Agreement. | -| `rebateType` | [components.RebateTypeJson](../../models/components/rebatetypejson.md) | :heavy_minus_sign: | Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will represent a percentage. | | -| `acceptingRebatesAndIncentives` | *boolean* | :heavy_minus_sign: | True indicates that rebates and incentives are accepted, applicable only for citywide RFPs. | | -| `rebateValue` | *number* | :heavy_minus_sign: | The value of the rebate. The impact of this value on the price is determined by `RebateType`. | 10 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/boothstaffrequest.md b/packages/typescript/docs/models/components/boothstaffrequest.md index db67ad26d..f18b21f85 100644 --- a/packages/typescript/docs/models/components/boothstaffrequest.md +++ b/packages/typescript/docs/models/components/boothstaffrequest.md @@ -24,6 +24,6 @@ let value: BoothStaffRequest = { | Field | Type | Required | Description | | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `attendee` | [components.Attendee11](../../models/components/attendee11.md) | :heavy_check_mark: | The associated Attendee. | -| `event` | [components.Event21](../../models/components/event21.md) | :heavy_check_mark: | The Associated Event. | +| `attendee` | [components.Attendee12](../../models/components/attendee12.md) | :heavy_check_mark: | The associated Attendee. | +| `event` | [components.Event3](../../models/components/event3.md) | :heavy_check_mark: | The Associated Event. | | `exhibitor` | [components.Exhibitor](../../models/components/exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/boothstaffresponse.md b/packages/typescript/docs/models/components/boothstaffresponse.md index 0d5dc3e22..004092cf6 100644 --- a/packages/typescript/docs/models/components/boothstaffresponse.md +++ b/packages/typescript/docs/models/components/boothstaffresponse.md @@ -33,7 +33,7 @@ let value: BoothStaffResponse = { | `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.Attendee11](../../models/components/attendee11.md) | :heavy_check_mark: | The associated Attendee. | | -| `event` | [components.Event21](../../models/components/event21.md) | :heavy_check_mark: | The Associated Event. | | +| `attendee` | [components.Attendee12](../../models/components/attendee12.md) | :heavy_check_mark: | The associated Attendee. | | +| `event` | [components.Event3](../../models/components/event3.md) | :heavy_check_mark: | The Associated Event. | | | `exhibitor` | [components.Exhibitor](../../models/components/exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | | `id` | *string* | :heavy_minus_sign: | ID of an exhibitor booth staff member. | 4e0f5152-515e-11ee-be56-0242ac120002 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/bouncedetailsjson.md b/packages/typescript/docs/models/components/bouncedetailsjson.md index 8853c838f..56e6890f7 100644 --- a/packages/typescript/docs/models/components/bouncedetailsjson.md +++ b/packages/typescript/docs/models/components/bouncedetailsjson.md @@ -41,6 +41,6 @@ let value: BounceDetailsJson = { | `subject` | *string* | :heavy_minus_sign: | Subject of email. | Invitation to the event | | `productLine` | [components.ProductLineJson](../../models/components/productlinejson.md) | :heavy_minus_sign: | Cvent product lines or additional features. | EVENT | | `productId` | *string* | :heavy_minus_sign: | Unique ID of the product. | 2A941E55-3367-4C50-B21B-B6A7613DFB23 | -| `emailType` | [components.EmailTypeJson3](../../models/components/emailtypejson3.md) | :heavy_minus_sign: | Denotes the type of the email. | Invitation | +| `emailType` | [components.EmailTypeJson1](../../models/components/emailtypejson1.md) | :heavy_minus_sign: | Denotes the type of the email. | Invitation | | `emailId` | *string* | :heavy_minus_sign: | Unique ID of the email. | 2A941E55-3367-4C50-B21B-B6A7613DFB23 | | `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 formatted date time (in UTC) when the email was sent. | 2023-01-01T02:00:00Z | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/bouncedetailsresponse.md b/packages/typescript/docs/models/components/bouncedetailsresponse.md index 0cbe8ecf4..ac6cfaaf2 100644 --- a/packages/typescript/docs/models/components/bouncedetailsresponse.md +++ b/packages/typescript/docs/models/components/bouncedetailsresponse.md @@ -31,7 +31,7 @@ let value: BounceDetailsResponse = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `paging` | [components.PagingNoTotalCountJson2](../../models/components/pagingnototalcountjson2.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | [components.BounceDetailsJson](../../models/components/bouncedetailsjson.md)[] | :heavy_check_mark: | Bounce details. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `paging` | [components.PagingNoTotalCountJson](../../models/components/pagingnototalcountjson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `data` | [components.BounceDetailsJson](../../models/components/bouncedetailsjson.md)[] | :heavy_check_mark: | Bounce details. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/brand.md b/packages/typescript/docs/models/components/brand.md index 8694b3a4e..2b5869a0a 100644 --- a/packages/typescript/docs/models/components/brand.md +++ b/packages/typescript/docs/models/components/brand.md @@ -37,5 +37,5 @@ let value: Brand = { | `lastModifiedBy` | *string* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | | `id` | *string* | :heavy_minus_sign: | The ID of the travel supplier brand. | NorthernHotels | | `name` | *string* | :heavy_minus_sign: | The name of the travel supplier brand. | Northern Hotel Group | -| `address` | [components.AddressJson3](../../models/components/addressjson3.md) | :heavy_minus_sign: | A physical address. | | +| `address` | [components.AddressJson1](../../models/components/addressjson1.md) | :heavy_minus_sign: | A physical address. | | | `deleted` | *boolean* | :heavy_minus_sign: | True indicates the brand is deleted. | false | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/bridegroomtype.md b/packages/typescript/docs/models/components/bridegroomtype.md new file mode 100644 index 000000000..970fea0b8 --- /dev/null +++ b/packages/typescript/docs/models/components/bridegroomtype.md @@ -0,0 +1,17 @@ +# BrideGroomType + +BrideGroomType + +## Example Usage + +```typescript +import { BrideGroomType } from "@cvent/sdk/models/components"; + +let value: BrideGroomType = "GROOM"; +``` + +## Values + +```typescript +"BRIDE" | "GROOM" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/bridegroomtypejson0.md b/packages/typescript/docs/models/components/bridegroomtypejson0.md deleted file mode 100644 index 108ffe966..000000000 --- a/packages/typescript/docs/models/components/bridegroomtypejson0.md +++ /dev/null @@ -1,17 +0,0 @@ -# BrideGroomTypeJson0 - -Bride groom type. - -## Example Usage - -```typescript -import { BrideGroomTypeJson0 } from "@cvent/sdk/models/components"; - -let value: BrideGroomTypeJson0 = "GROOM"; -``` - -## Values - -```typescript -"BRIDE" | "GROOM" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/businesstype.md b/packages/typescript/docs/models/components/businesstype.md new file mode 100644 index 000000000..cb80dd3f8 --- /dev/null +++ b/packages/typescript/docs/models/components/businesstype.md @@ -0,0 +1,17 @@ +# BusinessType + +Business type. + +## Example Usage + +```typescript +import { BusinessType } from "@cvent/sdk/models/components"; + +let value: BusinessType = "corporate"; +``` + +## Values + +```typescript +"corporate" | "leisure" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/businesstypejson.md b/packages/typescript/docs/models/components/businesstypejson.md deleted file mode 100644 index c0ef3929c..000000000 --- a/packages/typescript/docs/models/components/businesstypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# BusinessTypeJson - -Business type. - -## Example Usage - -```typescript -import { BusinessTypeJson } from "@cvent/sdk/models/components"; - -let value: BusinessTypeJson = "corporate"; -``` - -## Values - -```typescript -"corporate" | "leisure" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/cancellationdetails.md b/packages/typescript/docs/models/components/cancellationdetails.md new file mode 100644 index 000000000..181f39b72 --- /dev/null +++ b/packages/typescript/docs/models/components/cancellationdetails.md @@ -0,0 +1,22 @@ +# CancellationDetails + +Information about cancellation of RFP. + +## Example Usage + +```typescript +import { CancellationDetails } from "@cvent/sdk/models/components"; + +let value: CancellationDetails = { + dateTime: new Date("2021-01-13T14:06:20.080Z"), + comments: "I am cancelling my event, postponing to Q4.", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `dateTime` | [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 cancelled. | 2021-01-13T14:06:20.080Z | +| `reason` | [components.CancelledReason1](../../models/components/cancelledreason1.md) | :heavy_minus_sign: | Reason for cancelling the RFP. | | +| `comments` | *string* | :heavy_minus_sign: | Additional comments while cancelling the RFP. | I am cancelling my event, postponing to Q4. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/cancellationdetailsjson.md b/packages/typescript/docs/models/components/cancellationdetailsjson.md deleted file mode 100644 index 2844176f5..000000000 --- a/packages/typescript/docs/models/components/cancellationdetailsjson.md +++ /dev/null @@ -1,22 +0,0 @@ -# CancellationDetailsJson - -Information about cancellation of RFP. - -## Example Usage - -```typescript -import { CancellationDetailsJson } from "@cvent/sdk/models/components"; - -let value: CancellationDetailsJson = { - dateTime: new Date("2021-01-13T14:06:20.080Z"), - comments: "I am cancelling my event, postponing to Q4.", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `dateTime` | [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 cancelled. | 2021-01-13T14:06:20.080Z | -| `reason` | [components.CancelledReasonJson0](../../models/components/cancelledreasonjson0.md) | :heavy_minus_sign: | Reason for cancelling the RFP. | | -| `comments` | *string* | :heavy_minus_sign: | Additional comments while cancelling the RFP. | I am cancelling my event, postponing to Q4. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/cancelledreason1.md b/packages/typescript/docs/models/components/cancelledreason1.md new file mode 100644 index 000000000..aa461bd15 --- /dev/null +++ b/packages/typescript/docs/models/components/cancelledreason1.md @@ -0,0 +1,17 @@ +# CancelledReason1 + +Reason for cancelling the RFP. + +## Example Usage + +```typescript +import { CancelledReason1 } from "@cvent/sdk/models/components"; + +let value: CancelledReason1 = "NATURAL_DISASTER"; +``` + +## Values + +```typescript +"BOOKED_ANOTHER_VENUE_OR_DESTINATION" | "CLIENT_BOOKED_DIRECTLY" | "EPIDEMIC_OR_PANDEMIC" | "EVENT_CANCELLED" | "EVENT_POSTPONED" | "MEDICAL_EMERGENCY" | "NATURAL_DISASTER" | "OTHER" | "POLITICAL_OR_CIVIL_UNREST" | "REQUIREMENTS_CHANGED" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/cancelledreasonjson0.md b/packages/typescript/docs/models/components/cancelledreasonjson0.md deleted file mode 100644 index 16148b8e4..000000000 --- a/packages/typescript/docs/models/components/cancelledreasonjson0.md +++ /dev/null @@ -1,17 +0,0 @@ -# CancelledReasonJson0 - -Reason for cancelling the RFP. - -## Example Usage - -```typescript -import { CancelledReasonJson0 } from "@cvent/sdk/models/components"; - -let value: CancelledReasonJson0 = "POLITICAL_OR_CIVIL_UNREST"; -``` - -## Values - -```typescript -"BOOKED_ANOTHER_VENUE_OR_DESTINATION" | "CLIENT_BOOKED_DIRECTLY" | "EPIDEMIC_OR_PANDEMIC" | "EVENT_CANCELLED" | "EVENT_POSTPONED" | "MEDICAL_EMERGENCY" | "NATURAL_DISASTER" | "OTHER" | "POLITICAL_OR_CIVIL_UNREST" | "REQUIREMENTS_CHANGED" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/category.md b/packages/typescript/docs/models/components/category.md new file mode 100644 index 000000000..5d226267d --- /dev/null +++ b/packages/typescript/docs/models/components/category.md @@ -0,0 +1,25 @@ +# Category + +A question category. + +## Example Usage + +```typescript +import { Category } from "@cvent/sdk/models/components"; + +let value: Category = { + text: + "Are you spending any significant time offsite and need transportation?", + shortText: "Needs offsite transportation?", + required: true, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | Text field ID. | | +| `text` | *string* | :heavy_minus_sign: | Text value of the field. Displays to users in the UI. | Are you spending any significant time offsite and need transportation? | +| `shortText` | *string* | :heavy_minus_sign: | Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. | Needs offsite transportation? | +| `required` | *boolean* | :heavy_minus_sign: | True indicates the category is mandatory for answer. | true | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/categoryidnamejson.md b/packages/typescript/docs/models/components/categoryidnamejson.md deleted file mode 100644 index 94aa3cace..000000000 --- a/packages/typescript/docs/models/components/categoryidnamejson.md +++ /dev/null @@ -1,21 +0,0 @@ -# CategoryIdNameJson - -A defined speaker category. - -## Example Usage - -```typescript -import { CategoryIdNameJson } from "@cvent/sdk/models/components"; - -let value: CategoryIdNameJson = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - name: "Presenters", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `name` | *string* | :heavy_minus_sign: | The name of the speaker category | Presenters | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/categoryitemscostjson.md b/packages/typescript/docs/models/components/categoryitemscostjson.md index 509283e9d..6b257e331 100644 --- a/packages/typescript/docs/models/components/categoryitemscostjson.md +++ b/packages/typescript/docs/models/components/categoryitemscostjson.md @@ -33,8 +33,8 @@ let value: CategoryItemsCostJson = { ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `notes` | *string* | :heavy_minus_sign: | Notes on category items cost from the venue. | We are offering a discount on projectors. | -| `totalCost` | *number* | :heavy_minus_sign: | Total cost across all categories. | 10000.99 | -| `categories` | [components.CategoryJson1](../../models/components/categoryjson1.md)[] | :heavy_minus_sign: | List of categories. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `notes` | *string* | :heavy_minus_sign: | Notes on category items cost from the venue. | We are offering a discount on projectors. | +| `totalCost` | *number* | :heavy_minus_sign: | Total cost across all categories. | 10000.99 | +| `categories` | [components.CategoryJson](../../models/components/categoryjson.md)[] | :heavy_minus_sign: | List of categories. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/categoryjson.md b/packages/typescript/docs/models/components/categoryjson.md index 95a847ae5..3065eeb26 100644 --- a/packages/typescript/docs/models/components/categoryjson.md +++ b/packages/typescript/docs/models/components/categoryjson.md @@ -1,6 +1,6 @@ # CategoryJson -A question category. +A category of items. ## Example Usage @@ -8,18 +8,26 @@ A question category. import { CategoryJson } from "@cvent/sdk/models/components"; let value: CategoryJson = { - text: - "Are you spending any significant time offsite and need transportation?", - shortText: "Needs offsite transportation?", - required: true, + type: "AVProduction", + name: "Audio Video Production", + totalCost: 10000.99, + items: [ + { + itemId: "AC-127-3B", + name: "Earphones", + quantity: 20, + totalCost: 10000.99, + notes: "This item is very popular.", + }, + ], }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | Text field ID. | | -| `text` | *string* | :heavy_minus_sign: | Text value of the field. Displays to users in the UI. | Are you spending any significant time offsite and need transportation? | -| `shortText` | *string* | :heavy_minus_sign: | Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. | Needs offsite transportation? | -| `required` | *boolean* | :heavy_minus_sign: | True indicates the category is mandatory for answer. | true | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `type` | *string* | :heavy_minus_sign: | The category type. | AVProduction | +| `name` | *string* | :heavy_minus_sign: | The name of the category. | Audio Video Production | +| `totalCost` | *number* | :heavy_minus_sign: | Total cost for all items within this category. | 10000.99 | +| `items` | [components.ItemJson](../../models/components/itemjson.md)[] | :heavy_minus_sign: | List of items in this category. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/categoryjson1.md b/packages/typescript/docs/models/components/categoryjson1.md index 0bc2f2e3f..486208484 100644 --- a/packages/typescript/docs/models/components/categoryjson1.md +++ b/packages/typescript/docs/models/components/categoryjson1.md @@ -1,6 +1,6 @@ # CategoryJson1 -A category of items. +A survey category. ## Example Usage @@ -8,26 +8,17 @@ A category of items. import { CategoryJson1 } from "@cvent/sdk/models/components"; let value: CategoryJson1 = { - type: "AVProduction", - name: "Audio Video Production", - totalCost: 10000.99, - items: [ - { - itemId: "AC-127-3B", - name: "Earphones", - quantity: 20, - totalCost: 10000.99, - notes: "This item is very popular.", - }, - ], + text: "Field value", + shortText: "Category 1 Reporting value", + required: true, }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `type` | *string* | :heavy_minus_sign: | The category type. | AVProduction | -| `name` | *string* | :heavy_minus_sign: | The name of the category. | Audio Video Production | -| `totalCost` | *number* | :heavy_minus_sign: | Total cost for all items within this category. | 10000.99 | -| `items` | [components.ItemJson](../../models/components/itemjson.md)[] | :heavy_minus_sign: | List of items in this category. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | Text field ID. | | +| `text` | *string* | :heavy_minus_sign: | text Value of the Field | Field value | +| `shortText` | *string* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | +| `required` | *boolean* | :heavy_minus_sign: | is the category mandatory for answer | true | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/categoryjson2.md b/packages/typescript/docs/models/components/categoryjson2.md deleted file mode 100644 index f73151f00..000000000 --- a/packages/typescript/docs/models/components/categoryjson2.md +++ /dev/null @@ -1,24 +0,0 @@ -# CategoryJson2 - -A survey category. - -## Example Usage - -```typescript -import { CategoryJson2 } from "@cvent/sdk/models/components"; - -let value: CategoryJson2 = { - text: "Field value", - shortText: "Category 1 Reporting value", - required: true, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | Text field ID. | | -| `text` | *string* | :heavy_minus_sign: | text Value of the Field | Field value | -| `shortText` | *string* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | -| `required` | *boolean* | :heavy_minus_sign: | is the category mandatory for answer | true | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/chain.md b/packages/typescript/docs/models/components/chain.md index e54f82949..62df25e25 100644 --- a/packages/typescript/docs/models/components/chain.md +++ b/packages/typescript/docs/models/components/chain.md @@ -43,5 +43,5 @@ let value: Chain = { | `name` | *string* | :heavy_minus_sign: | The name of the travel supplier chain. | Northern Hotels | | `code` | *string* | :heavy_minus_sign: | The code identifying the travel supplier chain. | NH | | `brand` | [components.ChainBrand](../../models/components/chainbrand.md) | :heavy_minus_sign: | The brand that the chain belongs to. | | -| `address` | [components.AddressJson3](../../models/components/addressjson3.md) | :heavy_minus_sign: | A physical address. | | +| `address` | [components.AddressJson1](../../models/components/addressjson1.md) | :heavy_minus_sign: | A physical address. | | | `deleted` | *boolean* | :heavy_minus_sign: | True indicates the chain is deleted. | false | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/choice.md b/packages/typescript/docs/models/components/choice.md index 25d5490f8..2b7fe74e8 100644 --- a/packages/typescript/docs/models/components/choice.md +++ b/packages/typescript/docs/models/components/choice.md @@ -1,6 +1,6 @@ # Choice -A schema representing a choice object +A question choice. ## Example Usage @@ -8,15 +8,18 @@ A schema representing a choice object import { Choice } from "@cvent/sdk/models/components"; let value: Choice = { - text: "Choice 1", + text: + "Are you spending any significant time offsite and need transportation?", + shortText: "Needs offsite transportation?", label: "Choice A", }; ``` ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -| `id` | *string* | :heavy_minus_sign: | Unique identifier for the choice | | -| `text` | *string* | :heavy_minus_sign: | Text value of the field | Choice 1 | -| `label` | *string* | :heavy_minus_sign: | Label of choice | Choice A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | Text field ID. | | +| `text` | *string* | :heavy_minus_sign: | Text value of the field. Displays to users in the UI. | Are you spending any significant time offsite and need transportation? | +| `shortText` | *string* | :heavy_minus_sign: | Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. | Needs offsite transportation? | +| `label` | *string* | :heavy_minus_sign: | Label of choice. | Choice A | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/choice1.md b/packages/typescript/docs/models/components/choice1.md new file mode 100644 index 000000000..1859e8814 --- /dev/null +++ b/packages/typescript/docs/models/components/choice1.md @@ -0,0 +1,22 @@ +# Choice1 + +A schema representing a choice object + +## Example Usage + +```typescript +import { Choice1 } from "@cvent/sdk/models/components"; + +let value: Choice1 = { + text: "Choice 1", + label: "Choice A", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | +| `id` | *string* | :heavy_minus_sign: | Unique identifier for the choice | | +| `text` | *string* | :heavy_minus_sign: | Text value of the field | Choice 1 | +| `label` | *string* | :heavy_minus_sign: | Label of choice | Choice A | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/choicejson.md b/packages/typescript/docs/models/components/choicejson.md deleted file mode 100644 index 7e5bb21a4..000000000 --- a/packages/typescript/docs/models/components/choicejson.md +++ /dev/null @@ -1,25 +0,0 @@ -# ChoiceJson - -A question choice. - -## Example Usage - -```typescript -import { ChoiceJson } from "@cvent/sdk/models/components"; - -let value: ChoiceJson = { - text: - "Are you spending any significant time offsite and need transportation?", - shortText: "Needs offsite transportation?", - label: "Choice A", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | Text field ID. | | -| `text` | *string* | :heavy_minus_sign: | Text value of the field. Displays to users in the UI. | Are you spending any significant time offsite and need transportation? | -| `shortText` | *string* | :heavy_minus_sign: | Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. | Needs offsite transportation? | -| `label` | *string* | :heavy_minus_sign: | Label of choice. | Choice A | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/choicejson1.md b/packages/typescript/docs/models/components/choicejson1.md new file mode 100644 index 000000000..f70a60b18 --- /dev/null +++ b/packages/typescript/docs/models/components/choicejson1.md @@ -0,0 +1,24 @@ +# ChoiceJson1 + +A survey choice. + +## Example Usage + +```typescript +import { ChoiceJson1 } from "@cvent/sdk/models/components"; + +let value: ChoiceJson1 = { + text: "Field value", + shortText: "Category 1 Reporting value", + label: "Choice A", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | Text field ID. | | +| `text` | *string* | :heavy_minus_sign: | text Value of the Field | Field value | +| `shortText` | *string* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | +| `label` | *string* | :heavy_minus_sign: | Label of choice | Choice A | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/choicejson2.md b/packages/typescript/docs/models/components/choicejson2.md index 5bd6f1236..78f91f160 100644 --- a/packages/typescript/docs/models/components/choicejson2.md +++ b/packages/typescript/docs/models/components/choicejson2.md @@ -1,6 +1,6 @@ # ChoiceJson2 -A survey choice. +This is used to denote the choice of custom field. ## Example Usage @@ -8,17 +8,13 @@ A survey choice. import { ChoiceJson2 } from "@cvent/sdk/models/components"; let value: ChoiceJson2 = { - text: "Field value", - shortText: "Category 1 Reporting value", - label: "Choice A", + text: "What is your current designation?", }; ``` ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | Text field ID. | | -| `text` | *string* | :heavy_minus_sign: | text Value of the Field | Field value | -| `shortText` | *string* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | -| `label` | *string* | :heavy_minus_sign: | Label of choice | Choice A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | The ID of the custom field choice. If you supply the choice's existing ID in a PUT call, the choice keeps its current ID and the choice text is updated. If this `id` field is left blank in a PUT call, this choice text will be replaced with the text supplied, and a new choice ID is created. | | +| `text` | *string* | :heavy_check_mark: | The text for the custom field choice. | What is your current designation? | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/choicejson2input.md b/packages/typescript/docs/models/components/choicejson2input.md new file mode 100644 index 000000000..938b58b3f --- /dev/null +++ b/packages/typescript/docs/models/components/choicejson2input.md @@ -0,0 +1,19 @@ +# ChoiceJson2Input + +This is used to denote the choice of custom field. + +## Example Usage + +```typescript +import { ChoiceJson2Input } from "@cvent/sdk/models/components"; + +let value: ChoiceJson2Input = { + text: "What is your current designation?", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | +| `text` | *string* | :heavy_check_mark: | The text for the custom field choice. | What is your current designation? | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/choicejson3.md b/packages/typescript/docs/models/components/choicejson3.md deleted file mode 100644 index dfcc44688..000000000 --- a/packages/typescript/docs/models/components/choicejson3.md +++ /dev/null @@ -1,20 +0,0 @@ -# ChoiceJson3 - -This is used to denote the choice of custom field. - -## Example Usage - -```typescript -import { ChoiceJson3 } from "@cvent/sdk/models/components"; - -let value: ChoiceJson3 = { - text: "What is your current designation?", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | The ID of the custom field choice. If you supply the choice's existing ID in a PUT call, the choice keeps its current ID and the choice text is updated. If this `id` field is left blank in a PUT call, this choice text will be replaced with the text supplied, and a new choice ID is created. | | -| `text` | *string* | :heavy_check_mark: | The text for the custom field choice. | What is your current designation? | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/choicejson3input.md b/packages/typescript/docs/models/components/choicejson3input.md deleted file mode 100644 index 742cd86b3..000000000 --- a/packages/typescript/docs/models/components/choicejson3input.md +++ /dev/null @@ -1,19 +0,0 @@ -# ChoiceJson3Input - -This is used to denote the choice of custom field. - -## Example Usage - -```typescript -import { ChoiceJson3Input } from "@cvent/sdk/models/components"; - -let value: ChoiceJson3Input = { - text: "What is your current designation?", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | -| `text` | *string* | :heavy_check_mark: | The text for the custom field choice. | What is your current designation? | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/choices.md b/packages/typescript/docs/models/components/choices.md index b17695be3..502653f5e 100644 --- a/packages/typescript/docs/models/components/choices.md +++ b/packages/typescript/docs/models/components/choices.md @@ -20,5 +20,5 @@ let value: Choices = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `choices` | [components.ChoiceJson3Input](../../models/components/choicejson3input.md)[] | :heavy_minus_sign: | Choices of custom fields. | +| `choices` | [components.ChoiceJson2Input](../../models/components/choicejson2input.md)[] | :heavy_minus_sign: | Choices of custom fields. | | `displayType` | [components.ChoicesDisplayTypeJson](../../models/components/choicesdisplaytypejson.md) | :heavy_minus_sign: | Display type indicating how to display the choices on UI. For 'Choice - Single Answer' custom field type, this defaults to Dropdown. For 'Choice - Multiple Answers' custom field type, this defaults to MultiSelectBox. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/choicesortorder.md b/packages/typescript/docs/models/components/choicesortorder.md new file mode 100644 index 000000000..d88dff3c7 --- /dev/null +++ b/packages/typescript/docs/models/components/choicesortorder.md @@ -0,0 +1,17 @@ +# ChoiceSortOrder + +The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: Sorted in the order they were added, oldest choices first. `Random`: Random sort. + +## Example Usage + +```typescript +import { ChoiceSortOrder } from "@cvent/sdk/models/components"; + +let value: ChoiceSortOrder = "AToZ"; +``` + +## Values + +```typescript +"AToZ" | "AsEntered" | "Random" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/choicesortorderjson.md b/packages/typescript/docs/models/components/choicesortorderjson.md deleted file mode 100644 index 413ec8d28..000000000 --- a/packages/typescript/docs/models/components/choicesortorderjson.md +++ /dev/null @@ -1,17 +0,0 @@ -# ChoiceSortOrderJson - -The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: Sorted in the order they were added, oldest choices first. `Random`: Random sort. - -## Example Usage - -```typescript -import { ChoiceSortOrderJson } from "@cvent/sdk/models/components"; - -let value: ChoiceSortOrderJson = "AToZ"; -``` - -## Values - -```typescript -"AToZ" | "AsEntered" | "Random" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/commenttype.md b/packages/typescript/docs/models/components/commenttype.md new file mode 100644 index 000000000..538f5e889 --- /dev/null +++ b/packages/typescript/docs/models/components/commenttype.md @@ -0,0 +1,17 @@ +# CommentType + +Bid comment type + +## Example Usage + +```typescript +import { CommentType } from "@cvent/sdk/models/components"; + +let value: CommentType = "promotions"; +``` + +## Values + +```typescript +"promotions" | "special_offers" | "child_policies" | "other_information" | "internal_comments" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/commenttypejson.md b/packages/typescript/docs/models/components/commenttypejson.md deleted file mode 100644 index e1054afdc..000000000 --- a/packages/typescript/docs/models/components/commenttypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# CommentTypeJson - -Bid comment type - -## Example Usage - -```typescript -import { CommentTypeJson } from "@cvent/sdk/models/components"; - -let value: CommentTypeJson = "promotions"; -``` - -## Values - -```typescript -"promotions" | "special_offers" | "child_policies" | "other_information" | "internal_comments" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/compliance.md b/packages/typescript/docs/models/components/compliance.md index e9b6ed3bc..dc7754be6 100644 --- a/packages/typescript/docs/models/components/compliance.md +++ b/packages/typescript/docs/models/components/compliance.md @@ -20,6 +20,6 @@ let value: Compliance = { | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | | `creationTime` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Date-time (in GMT) when privacy compliance details were created for the contact. | 2021-03-08T17:30:01.727Z | -| `complianceScope` | [components.ComplianceComplianceScope](../../models/components/compliancecompliancescope.md) | :heavy_minus_sign: | Scope of privacy compliance. | CCPA | -| `action` | [components.ComplianceAction](../../models/components/complianceaction.md) | :heavy_minus_sign: | Action to take for a compliance request. | DO_NOT_SELL | -| `createdBy` | [components.ComplianceCreatedBy](../../models/components/compliancecreatedby.md) | :heavy_minus_sign: | Denotes how the compliance request was created. | PLANNER | \ No newline at end of file +| `complianceScope` | [components.ComplianceScope](../../models/components/compliancescope.md) | :heavy_minus_sign: | Scope of privacy compliance. | CCPA | +| `action` | [components.Action](../../models/components/action.md) | :heavy_minus_sign: | Action to take for a compliance request. | DO_NOT_SELL | +| `createdBy` | [components.CreatedBy](../../models/components/createdby.md) | :heavy_minus_sign: | Denotes how the compliance request was created. | PLANNER | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/complianceaction.md b/packages/typescript/docs/models/components/complianceaction.md deleted file mode 100644 index 3ba6424c2..000000000 --- a/packages/typescript/docs/models/components/complianceaction.md +++ /dev/null @@ -1,17 +0,0 @@ -# ComplianceAction - -Action to take for a compliance request. - -## Example Usage - -```typescript -import { ComplianceAction } from "@cvent/sdk/models/components"; - -let value: ComplianceAction = "DO_NOT_SELL"; -``` - -## Values - -```typescript -"DO_NOT_SELL" | "OK_TO_SELL" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/compliancecompliancescope.md b/packages/typescript/docs/models/components/compliancecompliancescope.md deleted file mode 100644 index 967e9cb4b..000000000 --- a/packages/typescript/docs/models/components/compliancecompliancescope.md +++ /dev/null @@ -1,17 +0,0 @@ -# ComplianceComplianceScope - -Scope of privacy compliance. - -## Example Usage - -```typescript -import { ComplianceComplianceScope } from "@cvent/sdk/models/components"; - -let value: ComplianceComplianceScope = "CCPA"; -``` - -## Values - -```typescript -"CCPA" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/compliancecreatedby.md b/packages/typescript/docs/models/components/compliancecreatedby.md deleted file mode 100644 index 260db2dda..000000000 --- a/packages/typescript/docs/models/components/compliancecreatedby.md +++ /dev/null @@ -1,17 +0,0 @@ -# ComplianceCreatedBy - -Denotes how the compliance request was created. - -## Example Usage - -```typescript -import { ComplianceCreatedBy } from "@cvent/sdk/models/components"; - -let value: ComplianceCreatedBy = "PLANNER"; -``` - -## Values - -```typescript -"ATTENDEE" | "PLANNER" | "IMPORT" | "SOAP_API" | "REST_API" | "MARKETO" | "SALEFORCE" | "VIDEO_CENTER_MEMBER" | "RESPONDENT" | "NOT_SET" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/compliancejson.md b/packages/typescript/docs/models/components/compliancejson.md deleted file mode 100644 index 5b41e15c3..000000000 --- a/packages/typescript/docs/models/components/compliancejson.md +++ /dev/null @@ -1,25 +0,0 @@ -# ComplianceJson - -Privacy compliance fields for a contact. - -## Example Usage - -```typescript -import { ComplianceJson } from "@cvent/sdk/models/components"; - -let value: ComplianceJson = { - creationTime: new Date("2021-03-08T17:30:01.727Z"), - complianceScope: "CCPA", - action: "DO_NOT_SELL", - createdBy: "PLANNER", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `creationTime` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Date-time (in GMT) when privacy compliance details were created for the contact. | 2021-03-08T17:30:01.727Z | -| `complianceScope` | [components.ComplianceJsonComplianceScope](../../models/components/compliancejsoncompliancescope.md) | :heavy_minus_sign: | Scope of privacy compliance. | CCPA | -| `action` | [components.ComplianceJsonAction](../../models/components/compliancejsonaction.md) | :heavy_minus_sign: | Action to take for a compliance request. | DO_NOT_SELL | -| `createdBy` | [components.ComplianceJsonCreatedBy](../../models/components/compliancejsoncreatedby.md) | :heavy_minus_sign: | Denotes how the compliance request was created. | PLANNER | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/compliancejsonaction.md b/packages/typescript/docs/models/components/compliancejsonaction.md deleted file mode 100644 index c633ef8af..000000000 --- a/packages/typescript/docs/models/components/compliancejsonaction.md +++ /dev/null @@ -1,17 +0,0 @@ -# ComplianceJsonAction - -Action to take for a compliance request. - -## Example Usage - -```typescript -import { ComplianceJsonAction } from "@cvent/sdk/models/components"; - -let value: ComplianceJsonAction = "DO_NOT_SELL"; -``` - -## Values - -```typescript -"DO_NOT_SELL" | "OK_TO_SELL" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/compliancejsoncompliancescope.md b/packages/typescript/docs/models/components/compliancejsoncompliancescope.md deleted file mode 100644 index 7ed1f2572..000000000 --- a/packages/typescript/docs/models/components/compliancejsoncompliancescope.md +++ /dev/null @@ -1,17 +0,0 @@ -# ComplianceJsonComplianceScope - -Scope of privacy compliance. - -## Example Usage - -```typescript -import { ComplianceJsonComplianceScope } from "@cvent/sdk/models/components"; - -let value: ComplianceJsonComplianceScope = "CCPA"; -``` - -## Values - -```typescript -"CCPA" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/compliancejsoncreatedby.md b/packages/typescript/docs/models/components/compliancejsoncreatedby.md deleted file mode 100644 index 40fb88194..000000000 --- a/packages/typescript/docs/models/components/compliancejsoncreatedby.md +++ /dev/null @@ -1,17 +0,0 @@ -# ComplianceJsonCreatedBy - -Denotes how the compliance request was created. - -## Example Usage - -```typescript -import { ComplianceJsonCreatedBy } from "@cvent/sdk/models/components"; - -let value: ComplianceJsonCreatedBy = "PLANNER"; -``` - -## Values - -```typescript -"ATTENDEE" | "PLANNER" | "IMPORT" | "SOAP_API" | "REST_API" | "MARKETO" | "SALEFORCE" | "VIDEO_CENTER_MEMBER" | "RESPONDENT" | "NOT_SET" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/compliancescope.md b/packages/typescript/docs/models/components/compliancescope.md new file mode 100644 index 000000000..b375e0303 --- /dev/null +++ b/packages/typescript/docs/models/components/compliancescope.md @@ -0,0 +1,17 @@ +# ComplianceScope + +Scope of privacy compliance. + +## Example Usage + +```typescript +import { ComplianceScope } from "@cvent/sdk/models/components"; + +let value: ComplianceScope = "CCPA"; +``` + +## Values + +```typescript +"CCPA" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/conflictresolution.md b/packages/typescript/docs/models/components/conflictresolution.md index ceb54828d..070e5709e 100644 --- a/packages/typescript/docs/models/components/conflictresolution.md +++ b/packages/typescript/docs/models/components/conflictresolution.md @@ -21,7 +21,7 @@ let value: ConflictResolution = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `events` | [components.EventContactIdJson](../../models/components/eventcontactidjson.md)[] | :heavy_minus_sign: | For each event (designated by event id), choose a contact id whose linked attendee will be associated with the resulting merged contact. Use whenever at least two contacts exist as attendees in a single event. | -| `surveys` | [components.SurveyContactIdJson](../../models/components/surveycontactidjson.md)[] | :heavy_minus_sign: | For each survey (designated by survey id), choose a contact id whose linked respondent will be associated with the resulting merged contact. Use whenever at least two contacts exist as respondents in a single survey. | +| `events` | [components.EventContactId](../../models/components/eventcontactid.md)[] | :heavy_minus_sign: | For each event (designated by event id), choose a contact id whose linked attendee will be associated with the resulting merged contact. Use whenever at least two contacts exist as attendees in a single event. | +| `surveys` | [components.SurveyContactId](../../models/components/surveycontactid.md)[] | :heavy_minus_sign: | For each survey (designated by survey id), choose a contact id whose linked respondent will be associated with the resulting merged contact. Use whenever at least two contacts exist as respondents in a single survey. | | `relatedContacts` | *string* | :heavy_minus_sign: | The id of the contact to keep the relationships of in the resulting merged contact. Only one contact can be chosen, and relationships of the other contact(s) will be discarded. | -| `contactFields` | [components.ContactMergeFieldJson](../../models/components/contactmergefieldjson.md)[] | :heavy_minus_sign: | Specify which contact to use values from for any contact field. | \ No newline at end of file +| `contactFields` | [components.ContactMergeField](../../models/components/contactmergefield.md)[] | :heavy_minus_sign: | Specify which contact to use values from for any contact field. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contact.md b/packages/typescript/docs/models/components/contact.md index e91b0e565..3c3b7ef5f 100644 --- a/packages/typescript/docs/models/components/contact.md +++ b/packages/typescript/docs/models/components/contact.md @@ -137,33 +137,33 @@ let value: Contact = { | `nickname` | *string* | :heavy_minus_sign: | The nickname of the contact. | Harry | | `email` | *string* | :heavy_minus_sign: | The email address of the contact. | h.potterfield@test.com | | `ccEmail` | *string* | :heavy_minus_sign: | An alternate email address of the contact that can be cc'd on email communications. | h.porter@tesing.com | -| `gender` | [components.GenderJson](../../models/components/genderjson.md) | :heavy_minus_sign: | The gender of the contact. | Male | +| `gender` | [components.Gender](../../models/components/gender.md) | :heavy_minus_sign: | The gender of the contact. | Male | | `company` | *string* | :heavy_minus_sign: | The company/organization the contact belongs to. | Cvent Inc. | | `designation` | *string* | :heavy_minus_sign: | The designation of the contact, typically an award or credential. | CPA | | `title` | *string* | :heavy_minus_sign: | The job title of the contact. | Event Planner | -| `type` | [components.AttendeeContactTypeJson](../../models/components/attendeecontacttypejson.md) | :heavy_minus_sign: | Contains details related to the attendee's contact type. | | -| `membership` | [components.MembershipJson](../../models/components/membershipjson.md) | :heavy_minus_sign: | Contact Membership information | | -| `primaryAddressType` | [components.AddressTypeJson](../../models/components/addresstypejson.md) | :heavy_minus_sign: | The type of address. | Home | -| `homeAddress` | [components.AddressJson](../../models/components/addressjson.md) | :heavy_minus_sign: | Contact address details. | | +| `type` | [components.AttendeeContactType](../../models/components/attendeecontacttype.md) | :heavy_minus_sign: | Contains details related to the attendee's contact type. | | +| `membership` | [components.ContactMembership](../../models/components/contactmembership.md) | :heavy_minus_sign: | Contact Membership information | | +| `primaryAddressType` | [components.AddressType](../../models/components/addresstype.md) | :heavy_minus_sign: | The type of address. | Home | +| `homeAddress` | [components.Address](../../models/components/address.md) | :heavy_minus_sign: | Contact address details. | | | `homePhone` | *string* | :heavy_minus_sign: | The phone number of the contact at their place of residence. | 555-555-5555 | | `homeFax` | *string* | :heavy_minus_sign: | The fax number of the contact at their place of residence. | 555-555-5555 | -| `workAddress` | [components.AddressJson](../../models/components/addressjson.md) | :heavy_minus_sign: | Contact address details. | | +| `workAddress` | [components.Address](../../models/components/address.md) | :heavy_minus_sign: | Contact address details. | | | `workPhone` | *string* | :heavy_minus_sign: | The phone number of the contact at their place of work. | 555-555-5555 | | `workFax` | *string* | :heavy_minus_sign: | The fax number of the contact at their place of work. | 555-555-5555 | | `customFields` | [components.CustomField](../../models/components/customfield.md)[] | :heavy_minus_sign: | Collection of custom fields. | | | `sourceId` | *string* | :heavy_minus_sign: | This is a ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. | system-a-00000000-0000-0000-0000-000000000000 | | `mobilePhone` | *string* | :heavy_minus_sign: | The contact's mobile phone number. | 555-555-5555 | -| `compliance` | [components.ComplianceJson](../../models/components/compliancejson.md)[] | :heavy_minus_sign: | Detail related to compliance with the contact's privacy rights under various legislation. | | +| `compliance` | [components.Compliance](../../models/components/compliance.md)[] | :heavy_minus_sign: | Detail related to compliance with the contact's privacy rights under various legislation. | | | `prefix` | *string* | :heavy_minus_sign: | Denotes what is traditionally a title of an individual. | Mr. | | `pager` | *string* | :heavy_minus_sign: | The pager number of the contact. | 555-555-5555 | | `deleted` | *boolean* | :heavy_minus_sign: | True indicates a contact is deleted. Deleted contacts still have their data retained, but the contact is inactive. | false | | `purged` | *boolean* | :heavy_minus_sign: | True indicates a contact is purged. Purged contacts have only partial data retained, and will be permanently deleted in 30 days. | false | -| `optOut` | [components.OptOutJson](../../models/components/optoutjson.md) | :heavy_minus_sign: | Details of an opt-out for a Contact. | | +| `optOut` | [components.ContactOptOut](../../models/components/contactoptout.md) | :heavy_minus_sign: | Details of an opt-out for a Contact. | | | `npi` | *string* | :heavy_minus_sign: | Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. | 5555555555 | -| `links` | [components.ContactLinksJson](../../models/components/contactlinksjson.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | +| `links` | [components.ContactLinks](../../models/components/contactlinks.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | | `dateOfBirth` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The date of birth of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 1990-01-01 | | ~~`passportNumber`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The passport number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use the passport.number field. | 123456789 | -| `passport` | [components.PassportJson](../../models/components/passportjson.md) | :heavy_minus_sign: | This entity represents a contact's passport information. | | +| `passport` | [components.Passport](../../models/components/passport.md) | :heavy_minus_sign: | This entity represents a contact's passport information. | | | `socialSecurityNumber` | *string* | :heavy_minus_sign: | The social security number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123-45-6789 | | `nationalIdentificationNumber` | *string* | :heavy_minus_sign: | The national identification number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123456789 | | `headline` | *string* | :heavy_minus_sign: | The headline of the contact's profile, which summarizes their professional experience and qualities. | Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands | diff --git a/packages/typescript/docs/models/components/contact1.md b/packages/typescript/docs/models/components/contact1.md new file mode 100644 index 000000000..f7e184078 --- /dev/null +++ b/packages/typescript/docs/models/components/contact1.md @@ -0,0 +1,41 @@ +# Contact1 + +Contact details of planner. + +## Example Usage + +```typescript +import { Contact1 } from "@cvent/sdk/models/components"; + +let value: Contact1 = { + firstName: "James", + lastName: "West", + email: "jwest@example.com", + address: { + countryCode: "US", + city: "Austin", + regionCode: "US-AL", + }, + commissionRate: 10.75, + phone: "555-555-5555", + organizationName: "Five Star Planners Inc.", + preferredContactMethods: [ + "CVENT", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | +| `firstName` | *string* | :heavy_check_mark: | The first name of the planner. | James | +| `lastName` | *string* | :heavy_check_mark: | The last name of the planner. | West | +| `email` | *string* | :heavy_check_mark: | Email address of the planner. | jwest@example.com | +| `address` | [components.Address1](../../models/components/address1.md) | :heavy_minus_sign: | Address details. | | +| `commissionRate` | *number* | :heavy_minus_sign: | Rate of commission chargeable by the planner. Precision up to 2 decimal places is accepted. | 10.75 | +| `commissionable` | *boolean* | :heavy_minus_sign: | True indicates commission is to be charged from supplier. | | +| `phone` | *string* | :heavy_check_mark: | Phone number of the planner. | 555-555-5555 | +| `organizationName` | *string* | :heavy_check_mark: | Name of the organization. | Five Star Planners Inc. | +| `thirdPartyPlanner` | *boolean* | :heavy_minus_sign: | True indicates planner is a third party planner. | | +| `preferredContactMethods` | [components.ContactMethods](../../models/components/contactmethods.md)[] | :heavy_minus_sign: | List of preferred contact methods for the planner. | [
"CVENT"
] | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contact2.md b/packages/typescript/docs/models/components/contact2.md new file mode 100644 index 000000000..7b69803e2 --- /dev/null +++ b/packages/typescript/docs/models/components/contact2.md @@ -0,0 +1,19 @@ +# Contact2 + +The contact details who watched a video + +## Example Usage + +```typescript +import { Contact2 } from "@cvent/sdk/models/components"; + +let value: Contact2 = { + id: "123e4567-e89b-12d3-a456-426614174000", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | The unique ID of the contact who watched a video. | 123e4567-e89b-12d3-a456-426614174000 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactbulkitemjson.md b/packages/typescript/docs/models/components/contactbulkitemjson.md deleted file mode 100644 index 3ee55ba2c..000000000 --- a/packages/typescript/docs/models/components/contactbulkitemjson.md +++ /dev/null @@ -1,151 +0,0 @@ -# ContactBulkItemJson - -This entity is used to represent a single item that is returned as part of a Bulk request call. - -## Example Usage - -```typescript -import { ContactBulkItemJson } from "@cvent/sdk/models/components"; -import { RFCDate } from "@cvent/sdk/types"; - -let value: ContactBulkItemJson = { - data: { - created: new Date("2017-01-02T02:00:00Z"), - createdBy: "hporter", - lastModified: new Date("2019-02-12T03:00:00Z"), - lastModifiedBy: "hporter", - firstName: "Henry", - lastName: "Potterfield", - middleName: "A", - nickname: "Harry", - email: "h.potterfield@test.com", - ccEmail: "h.porter@tesing.com", - gender: "Male", - company: "Cvent Inc.", - designation: "CPA", - title: "Event Planner", - type: { - id: "861B51EC-AA7E-475F-B38D-4C8E35C47D63", - name: "VIP Member", - }, - membership: { - type: "Corporate Sponsor", - plan: "Gold Level", - joined: new RFCDate("2017-02-10"), - expiration: new RFCDate("2020-02-09"), - lastRenewal: new RFCDate("2019-02-08"), - amountDue: 50.5, - listInDirectory: false, - }, - primaryAddressType: "Home", - homeAddress: { - address1: "Cvent Inc.", - address2: "4001 West Parmer Lane", - address3: "PO Box 123", - city: "Austin", - countryCode: "US", - postalCode: "78727", - region: "Texas", - regionCode: "TX", - country: "United States of America", - }, - homePhone: "555-555-5555", - homeFax: "555-555-5555", - workAddress: { - address1: "Cvent Inc.", - address2: "4001 West Parmer Lane", - address3: "PO Box 123", - city: "Austin", - countryCode: "US", - postalCode: "78727", - region: "Texas", - regionCode: "TX", - country: "United States of America", - }, - workPhone: "555-555-5555", - workFax: "555-555-5555", - customFields: [ - { - id: "83a71a44-67ee-4908-8cd1-7dd6c5fdc88f", - name: "What is your favorite color?", - value: [ - "Choice C", - "Choice A", - ], - order: 1, - type: "MultiSelect", - }, - ], - sourceId: "system-a-00000000-0000-0000-0000-000000000000", - mobilePhone: "555-555-5555", - compliance: [ - { - creationTime: new Date("2021-03-08T17:30:01.727Z"), - complianceScope: "CCPA", - action: "DO_NOT_SELL", - createdBy: "PLANNER", - }, - ], - prefix: "Mr.", - pager: "555-555-5555", - deleted: false, - purged: false, - optOut: { - optedOut: false, - date: new Date("2019-02-12T03:00:00Z"), - by: "Account User", - }, - npi: "5555555555", - links: { - twitterUrl: { - href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", - }, - facebookUrl: { - href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", - }, - linkedInUrl: { - href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", - }, - profilePicture: { - href: "https://cvent.com/picture123", - }, - }, - dateOfBirth: new RFCDate("1990-01-01"), - passport: { - number: "123456789", - country: "United Kingdom", - countryCode: "GB", - }, - socialSecurityNumber: "123-45-6789", - nationalIdentificationNumber: "123456789", - headline: - "Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands", - personalWebsite: "https://www.example.com", - biography: - "I am a marketing professional with experience in event planning and brand strategy.", - pronouns: "he/him/she/her/they/them", - }, - status: 400, - message: "Example error message.", - request: { - "operation": "PUT", - "headers": { - "header1": "header1Value", - "header2": "header2Value", - }, - "queryParams": { - "param1": "param1Value", - "param2": "param2Value", - }, - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `data` | *components.ContactBulkItemJsonData* | :heavy_check_mark: | N/A | | -| `status` | *number* | :heavy_check_mark: | http status code representing processing status of a single item | 400 | -| `message` | *string* | :heavy_minus_sign: | Quick description of what happened with processing | Example error message. | -| `request` | Record | :heavy_minus_sign: | The processed request tied to this response. This field is only sent when processing fails. | {
"operation": "PUT",
"headers": {
"header1": "header1Value",
"header2": "header2Value"
},
"queryParams": {
"param1": "param1Value",
"param2": "param2Value"
}
} | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactbulkitemjsondata.md b/packages/typescript/docs/models/components/contactbulkitemjsondata.md deleted file mode 100644 index 4465c7021..000000000 --- a/packages/typescript/docs/models/components/contactbulkitemjsondata.md +++ /dev/null @@ -1,140 +0,0 @@ -# ContactBulkItemJsonData - - -## Supported Types - -### `components.ZeroAllOf7` - -```typescript -const value: components.ZeroAllOf7 = { - created: new Date("2017-01-02T02:00:00Z"), - createdBy: "hporter", - lastModified: new Date("2019-02-12T03:00:00Z"), - lastModifiedBy: "hporter", - firstName: "Henry", - lastName: "Potterfield", - middleName: "A", - nickname: "Harry", - email: "h.potterfield@test.com", - ccEmail: "h.porter@tesing.com", - gender: "Male", - company: "Cvent Inc.", - designation: "CPA", - title: "Event Planner", - type: { - id: "861B51EC-AA7E-475F-B38D-4C8E35C47D63", - name: "VIP Member", - }, - membership: { - type: "Corporate Sponsor", - plan: "Gold Level", - joined: new RFCDate("2017-02-10"), - expiration: new RFCDate("2020-02-09"), - lastRenewal: new RFCDate("2019-02-08"), - amountDue: 50.5, - listInDirectory: false, - }, - primaryAddressType: "Home", - homeAddress: { - address1: "Cvent Inc.", - address2: "4001 West Parmer Lane", - address3: "PO Box 123", - city: "Austin", - countryCode: "US", - postalCode: "78727", - region: "Texas", - regionCode: "TX", - country: "United States of America", - }, - homePhone: "555-555-5555", - homeFax: "555-555-5555", - workAddress: { - address1: "Cvent Inc.", - address2: "4001 West Parmer Lane", - address3: "PO Box 123", - city: "Austin", - countryCode: "US", - postalCode: "78727", - region: "Texas", - regionCode: "TX", - country: "United States of America", - }, - workPhone: "555-555-5555", - workFax: "555-555-5555", - customFields: [ - { - id: "83a71a44-67ee-4908-8cd1-7dd6c5fdc88f", - name: "What is your favorite color?", - value: [ - "Choice C", - "Choice A", - ], - order: 1, - type: "MultiSelect", - }, - ], - sourceId: "system-a-00000000-0000-0000-0000-000000000000", - mobilePhone: "555-555-5555", - compliance: [ - { - creationTime: new Date("2021-03-08T17:30:01.727Z"), - complianceScope: "CCPA", - action: "DO_NOT_SELL", - createdBy: "PLANNER", - }, - ], - prefix: "Mr.", - pager: "555-555-5555", - optOut: { - date: new Date("2019-02-12T03:00:00Z"), - by: "Account User", - }, - npi: "5555555555", - links: { - twitterUrl: { - href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", - }, - facebookUrl: { - href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", - }, - linkedInUrl: { - href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", - }, - profilePicture: { - href: "https://cvent.com/picture123", - }, - }, - dateOfBirth: new RFCDate("1990-01-01"), - passport: { - number: "123456789", - country: "United Kingdom", - countryCode: "GB", - }, - socialSecurityNumber: "123-45-6789", - nationalIdentificationNumber: "123456789", - headline: - "Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands", - personalWebsite: "https://www.example.com", - biography: - "I am a marketing professional with experience in event planning and brand strategy.", - pronouns: "he/him/she/her/they/them", -}; -``` - -### `components.ErrorResponse1` - -```typescript -const value: components.ErrorResponse1 = { - code: 400, - message: "Bad Request", - target: "example target", - details: [ - { - code: 400, - message: "Bad Request", - target: "example target", - }, - ], -}; -``` - diff --git a/packages/typescript/docs/models/components/contactbulkresponseitem.md b/packages/typescript/docs/models/components/contactbulkresponseitem.md new file mode 100644 index 000000000..fb3bbf885 --- /dev/null +++ b/packages/typescript/docs/models/components/contactbulkresponseitem.md @@ -0,0 +1,151 @@ +# ContactBulkResponseItem + +This entity is used to represent a single item that is returned as part of a Bulk request call. + +## Example Usage + +```typescript +import { ContactBulkResponseItem } from "@cvent/sdk/models/components"; +import { RFCDate } from "@cvent/sdk/types"; + +let value: ContactBulkResponseItem = { + data: { + created: new Date("2017-01-02T02:00:00Z"), + createdBy: "hporter", + lastModified: new Date("2019-02-12T03:00:00Z"), + lastModifiedBy: "hporter", + firstName: "Henry", + lastName: "Potterfield", + middleName: "A", + nickname: "Harry", + email: "h.potterfield@test.com", + ccEmail: "h.porter@tesing.com", + gender: "Male", + company: "Cvent Inc.", + designation: "CPA", + title: "Event Planner", + type: { + id: "861B51EC-AA7E-475F-B38D-4C8E35C47D63", + name: "VIP Member", + }, + membership: { + type: "Corporate Sponsor", + plan: "Gold Level", + joined: new RFCDate("2017-02-10"), + expiration: new RFCDate("2020-02-09"), + lastRenewal: new RFCDate("2019-02-08"), + amountDue: 50.5, + listInDirectory: false, + }, + primaryAddressType: "Home", + homeAddress: { + address1: "Cvent Inc.", + address2: "4001 West Parmer Lane", + address3: "PO Box 123", + city: "Austin", + countryCode: "US", + postalCode: "78727", + region: "Texas", + regionCode: "TX", + country: "United States of America", + }, + homePhone: "555-555-5555", + homeFax: "555-555-5555", + workAddress: { + address1: "Cvent Inc.", + address2: "4001 West Parmer Lane", + address3: "PO Box 123", + city: "Austin", + countryCode: "US", + postalCode: "78727", + region: "Texas", + regionCode: "TX", + country: "United States of America", + }, + workPhone: "555-555-5555", + workFax: "555-555-5555", + customFields: [ + { + id: "83a71a44-67ee-4908-8cd1-7dd6c5fdc88f", + name: "What is your favorite color?", + value: [ + "Choice C", + "Choice A", + ], + order: 1, + type: "MultiSelect", + }, + ], + sourceId: "system-a-00000000-0000-0000-0000-000000000000", + mobilePhone: "555-555-5555", + compliance: [ + { + creationTime: new Date("2021-03-08T17:30:01.727Z"), + complianceScope: "CCPA", + action: "DO_NOT_SELL", + createdBy: "PLANNER", + }, + ], + prefix: "Mr.", + pager: "555-555-5555", + deleted: false, + purged: false, + optOut: { + optedOut: false, + date: new Date("2019-02-12T03:00:00Z"), + by: "Account User", + }, + npi: "5555555555", + links: { + twitterUrl: { + href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", + }, + facebookUrl: { + href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", + }, + linkedInUrl: { + href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", + }, + profilePicture: { + href: "https://cvent.com/picture123", + }, + }, + dateOfBirth: new RFCDate("1990-01-01"), + passport: { + number: "123456789", + country: "United Kingdom", + countryCode: "GB", + }, + socialSecurityNumber: "123-45-6789", + nationalIdentificationNumber: "123456789", + headline: + "Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands", + personalWebsite: "https://www.example.com", + biography: + "I am a marketing professional with experience in event planning and brand strategy.", + pronouns: "he/him/she/her/they/them", + }, + status: 400, + message: "Example error message.", + request: { + "operation": "PUT", + "headers": { + "header1": "header1Value", + "header2": "header2Value", + }, + "queryParams": { + "param1": "param1Value", + "param2": "param2Value", + }, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `data` | *components.ContactBulkResponseItemData* | :heavy_check_mark: | N/A | | +| `status` | *number* | :heavy_check_mark: | http status code representing processing status of a single item | 400 | +| `message` | *string* | :heavy_minus_sign: | Quick description of what happened with processing | Example error message. | +| `request` | Record | :heavy_minus_sign: | The processed request tied to this response. This field is only sent when processing fails. | {
"operation": "PUT",
"headers": {
"header1": "header1Value",
"header2": "header2Value"
},
"queryParams": {
"param1": "param1Value",
"param2": "param2Value"
}
} | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactbulkresponseitemdata.md b/packages/typescript/docs/models/components/contactbulkresponseitemdata.md new file mode 100644 index 000000000..1a6fb5874 --- /dev/null +++ b/packages/typescript/docs/models/components/contactbulkresponseitemdata.md @@ -0,0 +1,140 @@ +# ContactBulkResponseItemData + + +## Supported Types + +### `components.Contact` + +```typescript +const value: components.Contact = { + created: new Date("2017-01-02T02:00:00Z"), + createdBy: "hporter", + lastModified: new Date("2019-02-12T03:00:00Z"), + lastModifiedBy: "hporter", + firstName: "Henry", + lastName: "Potterfield", + middleName: "A", + nickname: "Harry", + email: "h.potterfield@test.com", + ccEmail: "h.porter@tesing.com", + gender: "Male", + company: "Cvent Inc.", + designation: "CPA", + title: "Event Planner", + type: { + id: "861B51EC-AA7E-475F-B38D-4C8E35C47D63", + name: "VIP Member", + }, + membership: { + type: "Corporate Sponsor", + plan: "Gold Level", + joined: new RFCDate("2017-02-10"), + expiration: new RFCDate("2020-02-09"), + lastRenewal: new RFCDate("2019-02-08"), + amountDue: 50.5, + listInDirectory: false, + }, + primaryAddressType: "Home", + homeAddress: { + address1: "Cvent Inc.", + address2: "4001 West Parmer Lane", + address3: "PO Box 123", + city: "Austin", + countryCode: "US", + postalCode: "78727", + region: "Texas", + regionCode: "TX", + country: "United States of America", + }, + homePhone: "555-555-5555", + homeFax: "555-555-5555", + workAddress: { + address1: "Cvent Inc.", + address2: "4001 West Parmer Lane", + address3: "PO Box 123", + city: "Austin", + countryCode: "US", + postalCode: "78727", + region: "Texas", + regionCode: "TX", + country: "United States of America", + }, + workPhone: "555-555-5555", + workFax: "555-555-5555", + customFields: [ + { + id: "83a71a44-67ee-4908-8cd1-7dd6c5fdc88f", + name: "What is your favorite color?", + value: [ + "Choice C", + "Choice A", + ], + order: 1, + type: "MultiSelect", + }, + ], + sourceId: "system-a-00000000-0000-0000-0000-000000000000", + mobilePhone: "555-555-5555", + compliance: [ + { + creationTime: new Date("2021-03-08T17:30:01.727Z"), + complianceScope: "CCPA", + action: "DO_NOT_SELL", + createdBy: "PLANNER", + }, + ], + prefix: "Mr.", + pager: "555-555-5555", + optOut: { + date: new Date("2019-02-12T03:00:00Z"), + by: "Account User", + }, + npi: "5555555555", + links: { + twitterUrl: { + href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", + }, + facebookUrl: { + href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", + }, + linkedInUrl: { + href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", + }, + profilePicture: { + href: "https://cvent.com/picture123", + }, + }, + dateOfBirth: new RFCDate("1990-01-01"), + passport: { + number: "123456789", + country: "United Kingdom", + countryCode: "GB", + }, + socialSecurityNumber: "123-45-6789", + nationalIdentificationNumber: "123456789", + headline: + "Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands", + personalWebsite: "https://www.example.com", + biography: + "I am a marketing professional with experience in event planning and brand strategy.", + pronouns: "he/him/she/her/they/them", +}; +``` + +### `components.ErrorResponse1` + +```typescript +const value: components.ErrorResponse1 = { + code: 400, + message: "Bad Request", + target: "example target", + details: [ + { + code: 400, + message: "Bad Request", + target: "example target", + }, + ], +}; +``` + diff --git a/packages/typescript/docs/models/components/contactcreate.md b/packages/typescript/docs/models/components/contactcreate.md new file mode 100644 index 000000000..0c88b786b --- /dev/null +++ b/packages/typescript/docs/models/components/contactcreate.md @@ -0,0 +1,120 @@ +# ContactCreate + +This entity is used to represent a single item that is posted for a contact create + +## Example Usage + +```typescript +import { ContactCreate } from "@cvent/sdk/models/components"; +import { RFCDate } from "@cvent/sdk/types"; + +let value: ContactCreate = { + firstName: "Henry", + lastName: "Potterfield", + middleName: "A", + nickname: "Harry", + email: "h.potterfield@test.com", + ccEmail: "h.porter@tesing.com", + gender: "Male", + company: "Cvent Inc.", + designation: "CPA", + title: "Event Planner", + type: { + id: "861B51EC-AA7E-475F-B38D-4C8E35C47D63", + }, + primaryAddressType: "Home", + homeAddress: { + address1: "Cvent Inc.", + address2: "4001 West Parmer Lane", + address3: "PO Box 123", + city: "Austin", + countryCode: "US", + postalCode: "78727", + regionCode: "TX", + }, + homePhone: "555-555-5555", + homeFax: "555-555-5555", + workAddress: { + address1: "Cvent Inc.", + address2: "4001 West Parmer Lane", + address3: "PO Box 123", + city: "Austin", + countryCode: "US", + postalCode: "78727", + regionCode: "TX", + }, + workPhone: "555-555-5555", + workFax: "555-555-5555", + sourceId: "system-a-00000000-0000-0000-0000-000000000000", + mobilePhone: "555-555-5555", + prefix: "Mr.", + pager: "555-555-5555", + optOut: {}, + npi: "5555555555", + links: { + twitterUrl: { + href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", + }, + facebookUrl: { + href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", + }, + linkedInUrl: { + href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", + }, + }, + dateOfBirth: new RFCDate("1990-01-01"), + passport: { + number: "123456789", + countryCode: "GB", + }, + socialSecurityNumber: "123-45-6789", + nationalIdentificationNumber: "123456789", + headline: + "Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands", + personalWebsite: "https://www.example.com", + biography: + "I am a marketing professional with experience in event planning and brand strategy.", + pronouns: "he/him/she/her/they/them", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `firstName` | *string* | :heavy_minus_sign: | The first name of the contact. | Henry | +| `lastName` | *string* | :heavy_minus_sign: | The last name of the contact. | Potterfield | +| `middleName` | *string* | :heavy_minus_sign: | The middle name of the contact. | A | +| `nickname` | *string* | :heavy_minus_sign: | The nickname of the contact. | Harry | +| `email` | *string* | :heavy_minus_sign: | The email address of the contact. | h.potterfield@test.com | +| `ccEmail` | *string* | :heavy_minus_sign: | An alternate email address of the contact that can be cc'd on email communications. | h.porter@tesing.com | +| `gender` | [components.Gender](../../models/components/gender.md) | :heavy_minus_sign: | The gender of the contact. | Male | +| `company` | *string* | :heavy_minus_sign: | The company/organization the contact belongs to. | Cvent Inc. | +| `designation` | *string* | :heavy_minus_sign: | The designation of the contact, typically an award or credential. | CPA | +| `title` | *string* | :heavy_minus_sign: | The job title of the contact. | Event Planner | +| `type` | [components.AttendeeContactTypeInput](../../models/components/attendeecontacttypeinput.md) | :heavy_minus_sign: | Contains details related to the attendee's contact type. | | +| `primaryAddressType` | [components.AddressType](../../models/components/addresstype.md) | :heavy_minus_sign: | The type of address. | Home | +| `homeAddress` | [components.AddressInput](../../models/components/addressinput.md) | :heavy_minus_sign: | Contact address details. | | +| `homePhone` | *string* | :heavy_minus_sign: | The phone number of the contact at their place of residence. | 555-555-5555 | +| `homeFax` | *string* | :heavy_minus_sign: | The fax number of the contact at their place of residence. | 555-555-5555 | +| `workAddress` | [components.AddressInput](../../models/components/addressinput.md) | :heavy_minus_sign: | Contact address details. | | +| `workPhone` | *string* | :heavy_minus_sign: | The phone number of the contact at their place of work. | 555-555-5555 | +| `workFax` | *string* | :heavy_minus_sign: | The fax number of the contact at their place of work. | 555-555-5555 | +| `sourceId` | *string* | :heavy_minus_sign: | This is a ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. | system-a-00000000-0000-0000-0000-000000000000 | +| `mobilePhone` | *string* | :heavy_minus_sign: | The contact's mobile phone number. | 555-555-5555 | +| `prefix` | *string* | :heavy_minus_sign: | Denotes what is traditionally a title of an individual. | Mr. | +| `pager` | *string* | :heavy_minus_sign: | The pager number of the contact. | 555-555-5555 | +| `optOut` | [components.ContactOptOutInput](../../models/components/contactoptoutinput.md) | :heavy_minus_sign: | Details of an opt-out for a Contact. | | +| `npi` | *string* | :heavy_minus_sign: | Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. | 5555555555 | +| `links` | [components.ContactLinksInput](../../models/components/contactlinksinput.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | +| `dateOfBirth` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The date of birth of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 1990-01-01 | +| ~~`passportNumber`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The passport number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use the passport.number field. | 123456789 | +| `passport` | [components.PassportInput](../../models/components/passportinput.md) | :heavy_minus_sign: | This entity represents a contact's passport information. | | +| `socialSecurityNumber` | *string* | :heavy_minus_sign: | The social security number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123-45-6789 | +| `nationalIdentificationNumber` | *string* | :heavy_minus_sign: | The national identification number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123456789 | +| `headline` | *string* | :heavy_minus_sign: | The headline of the contact's profile, which summarizes their professional experience and qualities. | Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands | +| `personalWebsite` | *string* | :heavy_minus_sign: | A contact's personal website URL. | https://www.example.com | +| `biography` | *string* | :heavy_minus_sign: | A contact's biographical writeup. | I am a marketing professional with experience in event planning and brand strategy. | +| `pronouns` | *string* | :heavy_minus_sign: | Represents the preferred pronouns of a contact. | he/him/she/her/they/them | +| ~~`parentId`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

ID of the parent contact, applicable with contact snapshot. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be automatically created through the Add attendees API. | | +| ~~`event`~~ | [components.ContactCreateEvent](../../models/components/contactcreateevent.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Event ID | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactcreateevent.md b/packages/typescript/docs/models/components/contactcreateevent.md new file mode 100644 index 000000000..3927ece59 --- /dev/null +++ b/packages/typescript/docs/models/components/contactcreateevent.md @@ -0,0 +1,19 @@ +# ~~ContactCreateEvent~~ + +Event ID + +> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. + +## Example Usage + +```typescript +import { ContactCreateEvent } from "@cvent/sdk/models/components"; + +let value: ContactCreateEvent = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| ~~`id`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

ID of the event where the contact was created, applicable when contact snapshot is enabled for an event. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be automatically created through the Add attendees API. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactcreaterequestjson.md b/packages/typescript/docs/models/components/contactcreaterequestjson.md deleted file mode 100644 index 321d4e1e0..000000000 --- a/packages/typescript/docs/models/components/contactcreaterequestjson.md +++ /dev/null @@ -1,120 +0,0 @@ -# ContactCreateRequestJson - -This entity is used to represent a single item that is posted for a contact create - -## Example Usage - -```typescript -import { ContactCreateRequestJson } from "@cvent/sdk/models/components"; -import { RFCDate } from "@cvent/sdk/types"; - -let value: ContactCreateRequestJson = { - firstName: "Henry", - lastName: "Potterfield", - middleName: "A", - nickname: "Harry", - email: "h.potterfield@test.com", - ccEmail: "h.porter@tesing.com", - gender: "Male", - company: "Cvent Inc.", - designation: "CPA", - title: "Event Planner", - type: { - id: "861B51EC-AA7E-475F-B38D-4C8E35C47D63", - }, - primaryAddressType: "Home", - homeAddress: { - address1: "Cvent Inc.", - address2: "4001 West Parmer Lane", - address3: "PO Box 123", - city: "Austin", - countryCode: "US", - postalCode: "78727", - regionCode: "TX", - }, - homePhone: "555-555-5555", - homeFax: "555-555-5555", - workAddress: { - address1: "Cvent Inc.", - address2: "4001 West Parmer Lane", - address3: "PO Box 123", - city: "Austin", - countryCode: "US", - postalCode: "78727", - regionCode: "TX", - }, - workPhone: "555-555-5555", - workFax: "555-555-5555", - sourceId: "system-a-00000000-0000-0000-0000-000000000000", - mobilePhone: "555-555-5555", - prefix: "Mr.", - pager: "555-555-5555", - optOut: {}, - npi: "5555555555", - links: { - twitterUrl: { - href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", - }, - facebookUrl: { - href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", - }, - linkedInUrl: { - href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", - }, - }, - dateOfBirth: new RFCDate("1990-01-01"), - passport: { - number: "123456789", - countryCode: "GB", - }, - socialSecurityNumber: "123-45-6789", - nationalIdentificationNumber: "123456789", - headline: - "Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands", - personalWebsite: "https://www.example.com", - biography: - "I am a marketing professional with experience in event planning and brand strategy.", - pronouns: "he/him/she/her/they/them", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `firstName` | *string* | :heavy_minus_sign: | The first name of the contact. | Henry | -| `lastName` | *string* | :heavy_minus_sign: | The last name of the contact. | Potterfield | -| `middleName` | *string* | :heavy_minus_sign: | The middle name of the contact. | A | -| `nickname` | *string* | :heavy_minus_sign: | The nickname of the contact. | Harry | -| `email` | *string* | :heavy_minus_sign: | The email address of the contact. | h.potterfield@test.com | -| `ccEmail` | *string* | :heavy_minus_sign: | An alternate email address of the contact that can be cc'd on email communications. | h.porter@tesing.com | -| `gender` | [components.GenderJson](../../models/components/genderjson.md) | :heavy_minus_sign: | The gender of the contact. | Male | -| `company` | *string* | :heavy_minus_sign: | The company/organization the contact belongs to. | Cvent Inc. | -| `designation` | *string* | :heavy_minus_sign: | The designation of the contact, typically an award or credential. | CPA | -| `title` | *string* | :heavy_minus_sign: | The job title of the contact. | Event Planner | -| `type` | [components.AttendeeContactTypeJsonInput](../../models/components/attendeecontacttypejsoninput.md) | :heavy_minus_sign: | Contains details related to the attendee's contact type. | | -| `primaryAddressType` | [components.AddressTypeJson](../../models/components/addresstypejson.md) | :heavy_minus_sign: | The type of address. | Home | -| `homeAddress` | [components.AddressJsonInput](../../models/components/addressjsoninput.md) | :heavy_minus_sign: | Contact address details. | | -| `homePhone` | *string* | :heavy_minus_sign: | The phone number of the contact at their place of residence. | 555-555-5555 | -| `homeFax` | *string* | :heavy_minus_sign: | The fax number of the contact at their place of residence. | 555-555-5555 | -| `workAddress` | [components.AddressJsonInput](../../models/components/addressjsoninput.md) | :heavy_minus_sign: | Contact address details. | | -| `workPhone` | *string* | :heavy_minus_sign: | The phone number of the contact at their place of work. | 555-555-5555 | -| `workFax` | *string* | :heavy_minus_sign: | The fax number of the contact at their place of work. | 555-555-5555 | -| `sourceId` | *string* | :heavy_minus_sign: | This is a ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. | system-a-00000000-0000-0000-0000-000000000000 | -| `mobilePhone` | *string* | :heavy_minus_sign: | The contact's mobile phone number. | 555-555-5555 | -| `prefix` | *string* | :heavy_minus_sign: | Denotes what is traditionally a title of an individual. | Mr. | -| `pager` | *string* | :heavy_minus_sign: | The pager number of the contact. | 555-555-5555 | -| `optOut` | [components.OptOutJsonInput](../../models/components/optoutjsoninput.md) | :heavy_minus_sign: | Details of an opt-out for a Contact. | | -| `npi` | *string* | :heavy_minus_sign: | Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. | 5555555555 | -| `links` | [components.ContactLinksJsonInput](../../models/components/contactlinksjsoninput.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | -| `dateOfBirth` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The date of birth of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 1990-01-01 | -| ~~`passportNumber`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The passport number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use the passport.number field. | 123456789 | -| `passport` | [components.PassportJsonInput](../../models/components/passportjsoninput.md) | :heavy_minus_sign: | This entity represents a contact's passport information. | | -| `socialSecurityNumber` | *string* | :heavy_minus_sign: | The social security number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123-45-6789 | -| `nationalIdentificationNumber` | *string* | :heavy_minus_sign: | The national identification number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123456789 | -| `headline` | *string* | :heavy_minus_sign: | The headline of the contact's profile, which summarizes their professional experience and qualities. | Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands | -| `personalWebsite` | *string* | :heavy_minus_sign: | A contact's personal website URL. | https://www.example.com | -| `biography` | *string* | :heavy_minus_sign: | A contact's biographical writeup. | I am a marketing professional with experience in event planning and brand strategy. | -| `pronouns` | *string* | :heavy_minus_sign: | Represents the preferred pronouns of a contact. | he/him/she/her/they/them | -| ~~`parentId`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

ID of the parent contact, applicable with contact snapshot. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be automatically created through the Add attendees API. | | -| ~~`event`~~ | [components.ContactCreateRequestJsonEvent](../../models/components/contactcreaterequestjsonevent.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Event ID | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactcreaterequestjsonevent.md b/packages/typescript/docs/models/components/contactcreaterequestjsonevent.md deleted file mode 100644 index ad4aabbff..000000000 --- a/packages/typescript/docs/models/components/contactcreaterequestjsonevent.md +++ /dev/null @@ -1,19 +0,0 @@ -# ~~ContactCreateRequestJsonEvent~~ - -Event ID - -> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. - -## Example Usage - -```typescript -import { ContactCreateRequestJsonEvent } from "@cvent/sdk/models/components"; - -let value: ContactCreateRequestJsonEvent = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| ~~`id`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

ID of the event where the contact was created, applicable when contact snapshot is enabled for an event. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be automatically created through the Add attendees API. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactgroup.md b/packages/typescript/docs/models/components/contactgroup.md index 8eaeac2be..d65e2d234 100644 --- a/packages/typescript/docs/models/components/contactgroup.md +++ b/packages/typescript/docs/models/components/contactgroup.md @@ -35,6 +35,6 @@ let value: ContactGroup = { | `name` | *string* | :heavy_check_mark: | Name of the contact group. | group name | | `shortDescription` | *string* | :heavy_minus_sign: | Short description of the contact group. | short description | | `description` | *string* | :heavy_minus_sign: | Full description of the contact group. | long description | -| `type` | [components.ContactGroupTypeJson](../../models/components/contactgrouptypejson.md) | :heavy_minus_sign: | Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. `STANDARD` is a multi-purpose group for organizing contacts. | STANDARD | +| `type` | [components.ContactGroupType](../../models/components/contactgrouptype.md) | :heavy_minus_sign: | Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. `STANDARD` is a multi-purpose group for organizing contacts. | STANDARD | | ~~`note`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Moved to internalNote in the DistributionListInfo object. The note field only applies to Distribution List. | Sample internal note | -| `distributionListInfo` | [components.DistributionListInfoJson](../../models/components/distributionlistinfojson.md) | :heavy_minus_sign: | Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. | | \ No newline at end of file +| `distributionListInfo` | [components.DistributionListInfo](../../models/components/distributionlistinfo.md) | :heavy_minus_sign: | Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactgroupinput.md b/packages/typescript/docs/models/components/contactgroupinput.md index 17d566a59..7b5dbdaa3 100644 --- a/packages/typescript/docs/models/components/contactgroupinput.md +++ b/packages/typescript/docs/models/components/contactgroupinput.md @@ -24,6 +24,6 @@ let value: ContactGroupInput = { | `name` | *string* | :heavy_check_mark: | Name of the contact group. | group name | | `shortDescription` | *string* | :heavy_minus_sign: | Short description of the contact group. | short description | | `description` | *string* | :heavy_minus_sign: | Full description of the contact group. | long description | -| `type` | [components.ContactGroupTypeJson](../../models/components/contactgrouptypejson.md) | :heavy_minus_sign: | Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. `STANDARD` is a multi-purpose group for organizing contacts. | STANDARD | +| `type` | [components.ContactGroupType](../../models/components/contactgrouptype.md) | :heavy_minus_sign: | Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. `STANDARD` is a multi-purpose group for organizing contacts. | STANDARD | | ~~`note`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Moved to internalNote in the DistributionListInfo object. The note field only applies to Distribution List. | Sample internal note | -| `distributionListInfo` | [components.DistributionListInfoJsonInput](../../models/components/distributionlistinfojsoninput.md) | :heavy_minus_sign: | Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. | | \ No newline at end of file +| `distributionListInfo` | [components.DistributionListInfoInput](../../models/components/distributionlistinfoinput.md) | :heavy_minus_sign: | Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactgrouppaginatedresponse.md b/packages/typescript/docs/models/components/contactgrouppaginatedresponse.md index 6d7f383be..3fd3eb6a4 100644 --- a/packages/typescript/docs/models/components/contactgrouppaginatedresponse.md +++ b/packages/typescript/docs/models/components/contactgrouppaginatedresponse.md @@ -49,5 +49,5 @@ let value: ContactGroupPaginatedResponse = { | Field | Type | Required | Description | | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | | `data` | [components.ContactGroup](../../models/components/contactgroup.md)[] | :heavy_check_mark: | Collection of contact groups. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactgrouptype.md b/packages/typescript/docs/models/components/contactgrouptype.md new file mode 100644 index 000000000..1714c0b90 --- /dev/null +++ b/packages/typescript/docs/models/components/contactgrouptype.md @@ -0,0 +1,17 @@ +# ContactGroupType + +Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. `STANDARD` is a multi-purpose group for organizing contacts. + +## Example Usage + +```typescript +import { ContactGroupType } from "@cvent/sdk/models/components"; + +let value: ContactGroupType = "STANDARD"; +``` + +## Values + +```typescript +"BLACKLIST" | "DISTRIBUTION_LIST" | "STANDARD" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactgrouptypejson.md b/packages/typescript/docs/models/components/contactgrouptypejson.md deleted file mode 100644 index 0060153f5..000000000 --- a/packages/typescript/docs/models/components/contactgrouptypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# ContactGroupTypeJson - -Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. `STANDARD` is a multi-purpose group for organizing contacts. - -## Example Usage - -```typescript -import { ContactGroupTypeJson } from "@cvent/sdk/models/components"; - -let value: ContactGroupTypeJson = "STANDARD"; -``` - -## Values - -```typescript -"BLACKLIST" | "DISTRIBUTION_LIST" | "STANDARD" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contacthistory.md b/packages/typescript/docs/models/components/contacthistory.md new file mode 100644 index 000000000..a7b87b3d9 --- /dev/null +++ b/packages/typescript/docs/models/components/contacthistory.md @@ -0,0 +1,29 @@ +# ContactHistory + +A single instance of change for a specific contact in the contact's change history. + +## Example Usage + +```typescript +import { ContactHistory } from "@cvent/sdk/models/components"; + +let value: ContactHistory = { + updatedFieldName: "Last Name", + oldValue: "Wilson", + newValue: "James", + updatedThroughName: "Address Book Profile", + updatedDate: new Date("2023-08-03T14:51:00.777Z"), + updatedBy: "John Doe", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | +| `updatedFieldName` | *string* | :heavy_minus_sign: | The name of a field that was changed and tracked by this single instance of change in contact change history. | Last Name | +| `oldValue` | *string* | :heavy_minus_sign: | The old value of a field that was changed. | Wilson | +| `newValue` | *string* | :heavy_minus_sign: | The new value of a field that was changed. | James | +| `updatedThroughName` | [components.UpdatedThroughNameProperty](../../models/components/updatedthroughnameproperty.md) | :heavy_minus_sign: | Name of the place where this change was updated through. | Address Book Profile | +| `updatedDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 formatted date-time when the associated contact, of this single instance of change in contact change history, was updated. | 2023-08-03T14:51:00.777Z | +| `updatedBy` | *string* | :heavy_minus_sign: | The name of a person who updated a contact that is associated with this single instance of change in contact change history. | John Doe | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contacthistoryjson.md b/packages/typescript/docs/models/components/contacthistoryjson.md deleted file mode 100644 index c22f8fc15..000000000 --- a/packages/typescript/docs/models/components/contacthistoryjson.md +++ /dev/null @@ -1,29 +0,0 @@ -# ContactHistoryJson - -A single instance of change for a specific contact in the contact's change history. - -## Example Usage - -```typescript -import { ContactHistoryJson } from "@cvent/sdk/models/components"; - -let value: ContactHistoryJson = { - updatedFieldName: "Last Name", - oldValue: "Wilson", - newValue: "James", - updatedThroughName: "Address Book Profile", - updatedDate: new Date("2023-08-03T14:51:00.777Z"), - updatedBy: "John Doe", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | -| `updatedFieldName` | *string* | :heavy_minus_sign: | The name of a field that was changed and tracked by this single instance of change in contact change history. | Last Name | -| `oldValue` | *string* | :heavy_minus_sign: | The old value of a field that was changed. | Wilson | -| `newValue` | *string* | :heavy_minus_sign: | The new value of a field that was changed. | James | -| `updatedThroughName` | [components.UpdatedThroughNamePropertyJson](../../models/components/updatedthroughnamepropertyjson.md) | :heavy_minus_sign: | Name of the place where this change was updated through. | Address Book Profile | -| `updatedDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 formatted date-time when the associated contact, of this single instance of change in contact change history, was updated. | 2023-08-03T14:51:00.777Z | -| `updatedBy` | *string* | :heavy_minus_sign: | The name of a person who updated a contact that is associated with this single instance of change in contact change history. | John Doe | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contacthistorypaginatedresponse.md b/packages/typescript/docs/models/components/contacthistorypaginatedresponse.md index b461e42a8..5b179dd12 100644 --- a/packages/typescript/docs/models/components/contacthistorypaginatedresponse.md +++ b/packages/typescript/docs/models/components/contacthistorypaginatedresponse.md @@ -41,7 +41,7 @@ let value: ContactHistoryPaginatedResponse = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `data` | [components.ContactHistoryJson](../../models/components/contacthistoryjson.md)[] | :heavy_minus_sign: | Collection of change histories for a specific contact. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `data` | [components.ContactHistory](../../models/components/contacthistory.md)[] | :heavy_minus_sign: | Collection of change histories for a specific contact. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactid.md b/packages/typescript/docs/models/components/contactid.md new file mode 100644 index 000000000..12e16d750 --- /dev/null +++ b/packages/typescript/docs/models/components/contactid.md @@ -0,0 +1,19 @@ +# ContactId + +A contact id. + +## Example Usage + +```typescript +import { ContactId } from "@cvent/sdk/models/components"; + +let value: ContactId = { + id: "ef62212f-c57b-4ff7-9bd1-b530799b2440", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `id` | *string* | :heavy_check_mark: | The ID of the contact. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactidjson.md b/packages/typescript/docs/models/components/contactidjson.md deleted file mode 100644 index 4a5ec48b4..000000000 --- a/packages/typescript/docs/models/components/contactidjson.md +++ /dev/null @@ -1,19 +0,0 @@ -# ContactIdJson - -A contact id. - -## Example Usage - -```typescript -import { ContactIdJson } from "@cvent/sdk/models/components"; - -let value: ContactIdJson = { - id: "61720706-b9a0-4d3c-9beb-71392988b4fc", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `id` | *string* | :heavy_check_mark: | The ID of the contact. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactidpaginatedresponse.md b/packages/typescript/docs/models/components/contactidpaginatedresponse.md index 51f5da526..de3914aa1 100644 --- a/packages/typescript/docs/models/components/contactidpaginatedresponse.md +++ b/packages/typescript/docs/models/components/contactidpaginatedresponse.md @@ -32,7 +32,7 @@ let value: ContactIdPaginatedResponse = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | [components.IdJson](../../models/components/idjson.md)[] | :heavy_check_mark: | Collection of contact ids. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `data` | [components.IdOnlyEntity](../../models/components/idonlyentity.md)[] | :heavy_check_mark: | Collection of contact ids. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactjson.md b/packages/typescript/docs/models/components/contactjson.md new file mode 100644 index 000000000..3b40043fb --- /dev/null +++ b/packages/typescript/docs/models/components/contactjson.md @@ -0,0 +1,52 @@ +# ContactJson + +The contact details. + +## Example Usage + +```typescript +import { ContactJson } from "@cvent/sdk/models/components"; + +let value: ContactJson = { + firstName: "Saurabh", + lastName: "Sachdeva", + organizationWebsite: "www.cvent.com", + organization: "Cvent", + title: "Co-founder", + email: "saurabhsachdeva@xyz.com", + countryCode: "1", + phone: "198752236", + fax: "2487234567", + mobile: "2487649053", + streetAddress1: "299 ABC Street", + streetAddress2: "Unit 1A", + streetAddress3: "Seattle, Washington", + city: "Seattle", + postalCode: "110079", + notes: "Available between 8am - 5pm.", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `contactType` | [components.ContactTypeJson](../../models/components/contacttypejson.md) | :heavy_minus_sign: | The contact types used for the proposal. | | +| `firstName` | *string* | :heavy_minus_sign: | The first name of the contact. | Saurabh | +| `lastName` | *string* | :heavy_minus_sign: | The last name of the contact. | Sachdeva | +| `organizationWebsite` | *string* | :heavy_minus_sign: | The URL of the organization's website. | www.cvent.com | +| `organization` | *string* | :heavy_minus_sign: | The name of the organization. | Cvent | +| `title` | *string* | :heavy_minus_sign: | Designation of the contact. | Co-founder | +| `email` | *string* | :heavy_minus_sign: | The email address of the contact. | saurabhsachdeva@xyz.com | +| `countryCode` | *string* | :heavy_minus_sign: | The country code for the contact's phone number. | 1 | +| `phone` | *string* | :heavy_minus_sign: | The phone number of the organization. | 198752236 | +| `fax` | *string* | :heavy_minus_sign: | The organization's fax number. | 2487234567 | +| `mobile` | *string* | :heavy_minus_sign: | The mobile number of the contact. | 2487649053 | +| `streetAddress1` | *string* | :heavy_minus_sign: | Address line 1 of contact's street address. | 299 ABC Street | +| `streetAddress2` | *string* | :heavy_minus_sign: | Address line 2 of contact's street address. | Unit 1A | +| `streetAddress3` | *string* | :heavy_minus_sign: | Address line 3 of contact's street address. | Seattle, Washington | +| `city` | *string* | :heavy_minus_sign: | The city of the contact. | Seattle | +| `stateProvince` | [components.StateProvinceJson](../../models/components/stateprovincejson.md) | :heavy_minus_sign: | The state province code used for contact information. | | +| `postalCode` | *string* | :heavy_minus_sign: | The postal code of the contact. | 110079 | +| `country` | [components.CountryJson](../../models/components/countryjson.md) | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. | | +| `notes` | *string* | :heavy_minus_sign: | Additional notes of the contact. | Available between 8am - 5pm. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactjson0.md b/packages/typescript/docs/models/components/contactjson0.md deleted file mode 100644 index e73411d08..000000000 --- a/packages/typescript/docs/models/components/contactjson0.md +++ /dev/null @@ -1,41 +0,0 @@ -# ContactJson0 - -Contact details of planner. - -## Example Usage - -```typescript -import { ContactJson0 } from "@cvent/sdk/models/components"; - -let value: ContactJson0 = { - firstName: "James", - lastName: "West", - email: "jwest@example.com", - address: { - countryCode: "US", - city: "Austin", - regionCode: "US-AL", - }, - commissionRate: 10.75, - phone: "555-555-5555", - organizationName: "Five Star Planners Inc.", - preferredContactMethods: [ - "CVENT", - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | -| `firstName` | *string* | :heavy_check_mark: | The first name of the planner. | James | -| `lastName` | *string* | :heavy_check_mark: | The last name of the planner. | West | -| `email` | *string* | :heavy_check_mark: | Email address of the planner. | jwest@example.com | -| `address` | [components.AddressJson0](../../models/components/addressjson0.md) | :heavy_minus_sign: | Address details. | | -| `commissionRate` | *number* | :heavy_minus_sign: | Rate of commission chargeable by the planner. Precision up to 2 decimal places is accepted. | 10.75 | -| `commissionable` | *boolean* | :heavy_minus_sign: | True indicates commission is to be charged from supplier. | | -| `phone` | *string* | :heavy_check_mark: | Phone number of the planner. | 555-555-5555 | -| `organizationName` | *string* | :heavy_check_mark: | Name of the organization. | Five Star Planners Inc. | -| `thirdPartyPlanner` | *boolean* | :heavy_minus_sign: | True indicates planner is a third party planner. | | -| `preferredContactMethods` | [components.ContactMethodsJson](../../models/components/contactmethodsjson.md)[] | :heavy_minus_sign: | List of preferred contact methods for the planner. | [
"CVENT"
] | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactjson1.md b/packages/typescript/docs/models/components/contactjson1.md deleted file mode 100644 index 2ba259bda..000000000 --- a/packages/typescript/docs/models/components/contactjson1.md +++ /dev/null @@ -1,52 +0,0 @@ -# ContactJson1 - -The contact details. - -## Example Usage - -```typescript -import { ContactJson1 } from "@cvent/sdk/models/components"; - -let value: ContactJson1 = { - firstName: "Saurabh", - lastName: "Sachdeva", - organizationWebsite: "www.cvent.com", - organization: "Cvent", - title: "Co-founder", - email: "saurabhsachdeva@xyz.com", - countryCode: "1", - phone: "198752236", - fax: "2487234567", - mobile: "2487649053", - streetAddress1: "299 ABC Street", - streetAddress2: "Unit 1A", - streetAddress3: "Seattle, Washington", - city: "Seattle", - postalCode: "110079", - notes: "Available between 8am - 5pm.", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | -| `contactType` | [components.ContactTypeJson1](../../models/components/contacttypejson1.md) | :heavy_minus_sign: | The contact types used for the proposal. | | -| `firstName` | *string* | :heavy_minus_sign: | The first name of the contact. | Saurabh | -| `lastName` | *string* | :heavy_minus_sign: | The last name of the contact. | Sachdeva | -| `organizationWebsite` | *string* | :heavy_minus_sign: | The URL of the organization's website. | www.cvent.com | -| `organization` | *string* | :heavy_minus_sign: | The name of the organization. | Cvent | -| `title` | *string* | :heavy_minus_sign: | Designation of the contact. | Co-founder | -| `email` | *string* | :heavy_minus_sign: | The email address of the contact. | saurabhsachdeva@xyz.com | -| `countryCode` | *string* | :heavy_minus_sign: | The country code for the contact's phone number. | 1 | -| `phone` | *string* | :heavy_minus_sign: | The phone number of the organization. | 198752236 | -| `fax` | *string* | :heavy_minus_sign: | The organization's fax number. | 2487234567 | -| `mobile` | *string* | :heavy_minus_sign: | The mobile number of the contact. | 2487649053 | -| `streetAddress1` | *string* | :heavy_minus_sign: | Address line 1 of contact's street address. | 299 ABC Street | -| `streetAddress2` | *string* | :heavy_minus_sign: | Address line 2 of contact's street address. | Unit 1A | -| `streetAddress3` | *string* | :heavy_minus_sign: | Address line 3 of contact's street address. | Seattle, Washington | -| `city` | *string* | :heavy_minus_sign: | The city of the contact. | Seattle | -| `stateProvince` | [components.StateProvinceJson](../../models/components/stateprovincejson.md) | :heavy_minus_sign: | The state province code used for contact information. | | -| `postalCode` | *string* | :heavy_minus_sign: | The postal code of the contact. | 110079 | -| `country` | [components.CountryJson](../../models/components/countryjson.md) | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. | | -| `notes` | *string* | :heavy_minus_sign: | Additional notes of the contact. | Available between 8am - 5pm. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactjson2.md b/packages/typescript/docs/models/components/contactjson2.md deleted file mode 100644 index 2134826c7..000000000 --- a/packages/typescript/docs/models/components/contactjson2.md +++ /dev/null @@ -1,19 +0,0 @@ -# ContactJson2 - -The contact details who watched a video - -## Example Usage - -```typescript -import { ContactJson2 } from "@cvent/sdk/models/components"; - -let value: ContactJson2 = { - id: "123e4567-e89b-12d3-a456-426614174000", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | The unique ID of the contact who watched a video. | 123e4567-e89b-12d3-a456-426614174000 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactlinksinput.md b/packages/typescript/docs/models/components/contactlinksinput.md new file mode 100644 index 000000000..4e93ae21f --- /dev/null +++ b/packages/typescript/docs/models/components/contactlinksinput.md @@ -0,0 +1,29 @@ +# ContactLinksInput + +Collection of social media links for the contact. + +## Example Usage + +```typescript +import { ContactLinksInput } from "@cvent/sdk/models/components"; + +let value: ContactLinksInput = { + twitterUrl: { + href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", + }, + facebookUrl: { + href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", + }, + linkedInUrl: { + href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | +| `twitterUrl` | [components.Link](../../models/components/link.md) | :heavy_minus_sign: | Represents a link to a related resource. | +| `facebookUrl` | [components.Link](../../models/components/link.md) | :heavy_minus_sign: | Represents a link to a related resource. | +| `linkedInUrl` | [components.Link](../../models/components/link.md) | :heavy_minus_sign: | Represents a link to a related resource. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactlinksjson.md b/packages/typescript/docs/models/components/contactlinksjson.md deleted file mode 100644 index e822d4186..000000000 --- a/packages/typescript/docs/models/components/contactlinksjson.md +++ /dev/null @@ -1,33 +0,0 @@ -# ContactLinksJson - -Collection of social media links for the contact. - -## Example Usage - -```typescript -import { ContactLinksJson } from "@cvent/sdk/models/components"; - -let value: ContactLinksJson = { - twitterUrl: { - href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", - }, - facebookUrl: { - href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", - }, - linkedInUrl: { - href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", - }, - profilePicture: { - href: "https://cvent.com/picture123", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `twitterUrl` | [components.LinkJson](../../models/components/linkjson.md) | :heavy_minus_sign: | Represents a link to a related resource. | -| `facebookUrl` | [components.LinkJson](../../models/components/linkjson.md) | :heavy_minus_sign: | Represents a link to a related resource. | -| `linkedInUrl` | [components.LinkJson](../../models/components/linkjson.md) | :heavy_minus_sign: | Represents a link to a related resource. | -| `profilePicture` | [components.ContactLinksJsonLink](../../models/components/contactlinksjsonlink.md) | :heavy_minus_sign: | Reference to a profile picture. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactlinksjsoninput.md b/packages/typescript/docs/models/components/contactlinksjsoninput.md deleted file mode 100644 index 235d648b3..000000000 --- a/packages/typescript/docs/models/components/contactlinksjsoninput.md +++ /dev/null @@ -1,29 +0,0 @@ -# ContactLinksJsonInput - -Collection of social media links for the contact. - -## Example Usage - -```typescript -import { ContactLinksJsonInput } from "@cvent/sdk/models/components"; - -let value: ContactLinksJsonInput = { - twitterUrl: { - href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", - }, - facebookUrl: { - href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", - }, - linkedInUrl: { - href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `twitterUrl` | [components.LinkJson](../../models/components/linkjson.md) | :heavy_minus_sign: | Represents a link to a related resource. | -| `facebookUrl` | [components.LinkJson](../../models/components/linkjson.md) | :heavy_minus_sign: | Represents a link to a related resource. | -| `linkedInUrl` | [components.LinkJson](../../models/components/linkjson.md) | :heavy_minus_sign: | Represents a link to a related resource. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactlinksjsonlink.md b/packages/typescript/docs/models/components/contactlinksjsonlink.md deleted file mode 100644 index bc9c777e6..000000000 --- a/packages/typescript/docs/models/components/contactlinksjsonlink.md +++ /dev/null @@ -1,19 +0,0 @@ -# ContactLinksJsonLink - -Reference to a profile picture. - -## Example Usage - -```typescript -import { ContactLinksJsonLink } from "@cvent/sdk/models/components"; - -let value: ContactLinksJsonLink = { - href: "https://cvent.com/picture123", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `href` | *string* | :heavy_check_mark: | The url of the contact's profile picture | https://cvent.com/picture123 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactmembership.md b/packages/typescript/docs/models/components/contactmembership.md new file mode 100644 index 000000000..6b0bda144 --- /dev/null +++ b/packages/typescript/docs/models/components/contactmembership.md @@ -0,0 +1,32 @@ +# ContactMembership + +Contact Membership information + +## Example Usage + +```typescript +import { ContactMembership } from "@cvent/sdk/models/components"; +import { RFCDate } from "@cvent/sdk/types"; + +let value: ContactMembership = { + type: "Corporate Sponsor", + plan: "Gold Level", + joined: new RFCDate("2017-02-10"), + expiration: new RFCDate("2020-02-09"), + lastRenewal: new RFCDate("2019-02-08"), + amountDue: 50.5, + listInDirectory: false, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `type` | *string* | :heavy_minus_sign: | The type of membership the contact has signed up for. | Corporate Sponsor | +| `plan` | *string* | :heavy_minus_sign: | Describes the specific plan the contact has signed up for. | Gold Level | +| `joined` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO-8601 formatted date the contact began their membership. | 2017-02-10 | +| `expiration` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO-8601 formatted date the contact's membership will expire. | 2020-02-09 | +| `lastRenewal` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO-8601 formatted date the contact last renewed their membership. | 2019-02-08 | +| `amountDue` | *number* | :heavy_minus_sign: | The amount currently due for this membership. | 50.5 | +| `listInDirectory` | *boolean* | :heavy_minus_sign: | Indicates if the member details should be included in the member directory. | false | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactmergefield.md b/packages/typescript/docs/models/components/contactmergefield.md new file mode 100644 index 000000000..85d232d59 --- /dev/null +++ b/packages/typescript/docs/models/components/contactmergefield.md @@ -0,0 +1,21 @@ +# ContactMergeField + +A pair of a contact field name and a contact id. + +## Example Usage + +```typescript +import { ContactMergeField } from "@cvent/sdk/models/components"; + +let value: ContactMergeField = { + fieldName: "firstName", + contactId: "a45a3341-d30f-4bd9-bfd8-fbcdae37f0f2", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `fieldName` | *string* | :heavy_check_mark: | The name of a contact field. | firstName | +| `contactId` | *string* | :heavy_check_mark: | ID of the contact. | a45a3341-d30f-4bd9-bfd8-fbcdae37f0f2 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactmergefieldjson.md b/packages/typescript/docs/models/components/contactmergefieldjson.md deleted file mode 100644 index 5479b64e2..000000000 --- a/packages/typescript/docs/models/components/contactmergefieldjson.md +++ /dev/null @@ -1,21 +0,0 @@ -# ContactMergeFieldJson - -A pair of a contact field name and a contact id. - -## Example Usage - -```typescript -import { ContactMergeFieldJson } from "@cvent/sdk/models/components"; - -let value: ContactMergeFieldJson = { - fieldName: "firstName", - contactId: "a45a3341-d30f-4bd9-bfd8-fbcdae37f0f2", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `fieldName` | *string* | :heavy_check_mark: | The name of a contact field. | firstName | -| `contactId` | *string* | :heavy_check_mark: | ID of the contact. | a45a3341-d30f-4bd9-bfd8-fbcdae37f0f2 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactmethods.md b/packages/typescript/docs/models/components/contactmethods.md new file mode 100644 index 000000000..5c9e6946d --- /dev/null +++ b/packages/typescript/docs/models/components/contactmethods.md @@ -0,0 +1,17 @@ +# ContactMethods + +Medium for contacting the person. + +## Example Usage + +```typescript +import { ContactMethods } from "@cvent/sdk/models/components"; + +let value: ContactMethods = "FAX"; +``` + +## Values + +```typescript +"CVENT" | "EMAIL" | "FAX" | "MOBILE" | "PHONE" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactmethodsjson.md b/packages/typescript/docs/models/components/contactmethodsjson.md deleted file mode 100644 index c23218c62..000000000 --- a/packages/typescript/docs/models/components/contactmethodsjson.md +++ /dev/null @@ -1,17 +0,0 @@ -# ContactMethodsJson - -Medium for contacting the person. - -## Example Usage - -```typescript -import { ContactMethodsJson } from "@cvent/sdk/models/components"; - -let value: ContactMethodsJson = "PHONE"; -``` - -## Values - -```typescript -"CVENT" | "EMAIL" | "FAX" | "MOBILE" | "PHONE" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactobfuscationstatus.md b/packages/typescript/docs/models/components/contactobfuscationstatus.md index 0757bb1d0..547d10cd5 100644 --- a/packages/typescript/docs/models/components/contactobfuscationstatus.md +++ b/packages/typescript/docs/models/components/contactobfuscationstatus.md @@ -16,6 +16,6 @@ let value: ContactObfuscationStatus = { | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `status` | [components.ContactObfuscationStatusTypeJson](../../models/components/contactobfuscationstatustypejson.md) | :heavy_minus_sign: | Status of the request to obfuscate a contact.

INITIATED - The obfuscation request has been received.

QUEUED - The obfuscation request is currently waiting in the queue to be executed.

PROCESSING - The obfuscation request is currently being processed.

COMPLETED - The obfuscation request is complete.

FAILED - The obfuscation request failed due to an error. | INITIATED | +| `status` | [components.ContactObfuscationStatusType](../../models/components/contactobfuscationstatustype.md) | :heavy_minus_sign: | Status of the request to obfuscate a contact.

INITIATED - The obfuscation request has been received.

QUEUED - The obfuscation request is currently waiting in the queue to be executed.

PROCESSING - The obfuscation request is currently being processed.

COMPLETED - The obfuscation request is complete.

FAILED - The obfuscation request failed due to an error. | INITIATED | | `obfuscateId` | *string* | :heavy_minus_sign: | The obfuscation job identifier. | | -| `contact` | [components.ContactIdJson](../../models/components/contactidjson.md) | :heavy_minus_sign: | A contact id. | | \ No newline at end of file +| `contact` | [components.ContactId](../../models/components/contactid.md) | :heavy_minus_sign: | A contact id. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactobfuscationstatustype.md b/packages/typescript/docs/models/components/contactobfuscationstatustype.md new file mode 100644 index 000000000..43ca85592 --- /dev/null +++ b/packages/typescript/docs/models/components/contactobfuscationstatustype.md @@ -0,0 +1,27 @@ +# ContactObfuscationStatusType + +Status of the request to obfuscate a contact. + +INITIATED - The obfuscation request has been received. + +QUEUED - The obfuscation request is currently waiting in the queue to be executed. + +PROCESSING - The obfuscation request is currently being processed. + +COMPLETED - The obfuscation request is complete. + +FAILED - The obfuscation request failed due to an error. + +## Example Usage + +```typescript +import { ContactObfuscationStatusType } from "@cvent/sdk/models/components"; + +let value: ContactObfuscationStatusType = "INITIATED"; +``` + +## Values + +```typescript +"INITIATED" | "QUEUED" | "PROCESSING" | "COMPLETED" | "FAILED" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactobfuscationstatustypejson.md b/packages/typescript/docs/models/components/contactobfuscationstatustypejson.md deleted file mode 100644 index 7dd51d1ef..000000000 --- a/packages/typescript/docs/models/components/contactobfuscationstatustypejson.md +++ /dev/null @@ -1,27 +0,0 @@ -# ContactObfuscationStatusTypeJson - -Status of the request to obfuscate a contact. - -INITIATED - The obfuscation request has been received. - -QUEUED - The obfuscation request is currently waiting in the queue to be executed. - -PROCESSING - The obfuscation request is currently being processed. - -COMPLETED - The obfuscation request is complete. - -FAILED - The obfuscation request failed due to an error. - -## Example Usage - -```typescript -import { ContactObfuscationStatusTypeJson } from "@cvent/sdk/models/components"; - -let value: ContactObfuscationStatusTypeJson = "INITIATED"; -``` - -## Values - -```typescript -"INITIATED" | "QUEUED" | "PROCESSING" | "COMPLETED" | "FAILED" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactoptout.md b/packages/typescript/docs/models/components/contactoptout.md new file mode 100644 index 000000000..fe06c0e2d --- /dev/null +++ b/packages/typescript/docs/models/components/contactoptout.md @@ -0,0 +1,22 @@ +# ContactOptOut + +Details of an opt-out for a Contact. + +## Example Usage + +```typescript +import { ContactOptOut } from "@cvent/sdk/models/components"; + +let value: ContactOptOut = { + date: new Date("2019-02-12T03:00:00Z"), + by: "Account User", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | +| `optedOut` | *boolean* | :heavy_minus_sign: | Used to denote if a contact has opted-out of receiving system generated emails. | false | +| `date` | [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 contact was opted-out. This value can change if the contact opts out multiple times. | 2019-02-12T03:00:00Z | +| `by` | [components.OptoutBy](../../models/components/optoutby.md) | :heavy_minus_sign: | This is used to denote how a contact is opt'd out of Cvent system. | Account User | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactoptoutinput.md b/packages/typescript/docs/models/components/contactoptoutinput.md new file mode 100644 index 000000000..91f4b673d --- /dev/null +++ b/packages/typescript/docs/models/components/contactoptoutinput.md @@ -0,0 +1,17 @@ +# ContactOptOutInput + +Details of an opt-out for a Contact. + +## Example Usage + +```typescript +import { ContactOptOutInput } from "@cvent/sdk/models/components"; + +let value: ContactOptOutInput = {}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `optedOut` | *boolean* | :heavy_minus_sign: | Used to denote if a contact has opted-out of receiving system generated emails. | false | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactpaginatedresponse.md b/packages/typescript/docs/models/components/contactpaginatedresponse.md index 68b7e7ef0..40042c792 100644 --- a/packages/typescript/docs/models/components/contactpaginatedresponse.md +++ b/packages/typescript/docs/models/components/contactpaginatedresponse.md @@ -149,5 +149,5 @@ let value: ContactPaginatedResponse = { | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | [components.ZeroAllOf7](../../models/components/zeroallof7.md)[] | :heavy_check_mark: | Collection of contacts. | \ No newline at end of file +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `data` | [components.Contact](../../models/components/contact.md)[] | :heavy_check_mark: | Collection of contacts. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactpatch.md b/packages/typescript/docs/models/components/contactpatch.md index 33947bdd6..d890b6f5b 100644 --- a/packages/typescript/docs/models/components/contactpatch.md +++ b/packages/typescript/docs/models/components/contactpatch.md @@ -66,24 +66,24 @@ let value: ContactPatch = { | `company` | *any* | :heavy_minus_sign: | N/A | | | `designation` | *string* | :heavy_minus_sign: | The designation of the contact, typically an award or credential. | CPA | | `title` | *any* | :heavy_minus_sign: | N/A | | -| `type` | [components.AttendeeContactTypeJsonInput](../../models/components/attendeecontacttypejsoninput.md) | :heavy_minus_sign: | Contains details related to the attendee's contact type. | | -| `primaryAddressType` | [components.AddressTypeJson](../../models/components/addresstypejson.md) | :heavy_minus_sign: | The type of address. | Home | +| `type` | [components.AttendeeContactTypeInput](../../models/components/attendeecontacttypeinput.md) | :heavy_minus_sign: | Contains details related to the attendee's contact type. | | +| `primaryAddressType` | [components.AddressType](../../models/components/addresstype.md) | :heavy_minus_sign: | The type of address. | Home | | `homeAddress` | [components.HomeAddress](../../models/components/homeaddress.md) | :heavy_minus_sign: | N/A | | | `homePhone` | *any* | :heavy_minus_sign: | N/A | | | `homeFax` | *string* | :heavy_minus_sign: | The fax number of the contact at their place of residence. | 555-555-5555 | -| `workAddress` | [components.AddressJsonInput](../../models/components/addressjsoninput.md) | :heavy_minus_sign: | Contact address details. | | +| `workAddress` | [components.AddressInput](../../models/components/addressinput.md) | :heavy_minus_sign: | Contact address details. | | | `workPhone` | *string* | :heavy_minus_sign: | The phone number of the contact at their place of work. | 555-555-5555 | | `workFax` | *string* | :heavy_minus_sign: | The fax number of the contact at their place of work. | 555-555-5555 | | `sourceId` | *string* | :heavy_minus_sign: | This is a ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. | system-a-00000000-0000-0000-0000-000000000000 | | `mobilePhone` | *string* | :heavy_minus_sign: | The contact's mobile phone number. | 555-555-5555 | | `prefix` | *string* | :heavy_minus_sign: | Denotes what is traditionally a title of an individual. | Mr. | | `pager` | *string* | :heavy_minus_sign: | The pager number of the contact. | 555-555-5555 | -| `optOut` | [components.OptOutJsonInput](../../models/components/optoutjsoninput.md) | :heavy_minus_sign: | Details of an opt-out for a Contact. | | +| `optOut` | [components.ContactOptOutInput](../../models/components/contactoptoutinput.md) | :heavy_minus_sign: | Details of an opt-out for a Contact. | | | `npi` | *string* | :heavy_minus_sign: | Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. | 5555555555 | | `links` | [components.ContactPatchLinks](../../models/components/contactpatchlinks.md) | :heavy_minus_sign: | N/A | | | `dateOfBirth` | *any* | :heavy_minus_sign: | N/A | | | ~~`passportNumber`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The passport number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use the passport.number field. | 123456789 | -| `passport` | [components.PassportJsonInput](../../models/components/passportjsoninput.md) | :heavy_minus_sign: | This entity represents a contact's passport information. | | +| `passport` | [components.PassportInput](../../models/components/passportinput.md) | :heavy_minus_sign: | This entity represents a contact's passport information. | | | `socialSecurityNumber` | *any* | :heavy_minus_sign: | N/A | | | `nationalIdentificationNumber` | *string* | :heavy_minus_sign: | The national identification number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123456789 | | `headline` | *string* | :heavy_minus_sign: | The headline of the contact's profile, which summarizes their professional experience and qualities. | Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands | diff --git a/packages/typescript/docs/models/components/contacttype.md b/packages/typescript/docs/models/components/contacttype.md new file mode 100644 index 000000000..ede7eb58c --- /dev/null +++ b/packages/typescript/docs/models/components/contacttype.md @@ -0,0 +1,27 @@ +# ContactType + +This entity represents a contact type at contact level. + +## Example Usage + +```typescript +import { ContactType } from "@cvent/sdk/models/components"; + +let value: ContactType = { + id: "48915621-1b82-4bdc-916c-5d665da3372f", + code: "VIP", + name: "VIP Attendee", + description: "Very important attendee.", + active: true, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | The ID of the contact type. | | +| `code` | *string* | :heavy_check_mark: | The contact type code. Must be unique in the account. | VIP | +| `name` | *string* | :heavy_check_mark: | Name of the contact type. | VIP Attendee | +| `description` | *string* | :heavy_minus_sign: | Description of the contact type. | Very important attendee. | +| `active` | *boolean* | :heavy_minus_sign: | Indicates whether the contact type is active. | true | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contacttypejson.md b/packages/typescript/docs/models/components/contacttypejson.md index d198b33aa..389af7a1b 100644 --- a/packages/typescript/docs/models/components/contacttypejson.md +++ b/packages/typescript/docs/models/components/contacttypejson.md @@ -1,27 +1,17 @@ # ContactTypeJson -This entity represents a contact type at contact level. +The contact types used for the proposal. ## Example Usage ```typescript import { ContactTypeJson } from "@cvent/sdk/models/components"; -let value: ContactTypeJson = { - id: "9cae4b92-64c4-43c9-9ff0-6b61d0e77398", - code: "VIP", - name: "VIP Attendee", - description: "Very important attendee.", - active: true, -}; +let value: ContactTypeJson = "SECONDARY"; ``` -## Fields +## Values -| Field | Type | Required | Description | Example | -| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | The ID of the contact type. | | -| `code` | *string* | :heavy_check_mark: | The contact type code. Must be unique in the account. | VIP | -| `name` | *string* | :heavy_check_mark: | Name of the contact type. | VIP Attendee | -| `description` | *string* | :heavy_minus_sign: | Description of the contact type. | Very important attendee. | -| `active` | *boolean* | :heavy_minus_sign: | Indicates whether the contact type is active. | true | \ No newline at end of file +```typescript +"PRIMARY" | "SECONDARY" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contacttypejson1.md b/packages/typescript/docs/models/components/contacttypejson1.md deleted file mode 100644 index 441358cc2..000000000 --- a/packages/typescript/docs/models/components/contacttypejson1.md +++ /dev/null @@ -1,17 +0,0 @@ -# ContactTypeJson1 - -The contact types used for the proposal. - -## Example Usage - -```typescript -import { ContactTypeJson1 } from "@cvent/sdk/models/components"; - -let value: ContactTypeJson1 = "SECONDARY"; -``` - -## Values - -```typescript -"PRIMARY" | "SECONDARY" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contacttypepaginatedresponse.md b/packages/typescript/docs/models/components/contacttypepaginatedresponse.md index 3e1ffac83..2932823e8 100644 --- a/packages/typescript/docs/models/components/contacttypepaginatedresponse.md +++ b/packages/typescript/docs/models/components/contacttypepaginatedresponse.md @@ -40,7 +40,7 @@ let value: ContactTypePaginatedResponse = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | [components.ContactTypeJson](../../models/components/contacttypejson.md)[] | :heavy_check_mark: | Collection of contact types. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `data` | [components.ContactType](../../models/components/contacttype.md)[] | :heavy_check_mark: | Collection of contact types. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactupdate.md b/packages/typescript/docs/models/components/contactupdate.md index 73b445674..4c2b27747 100644 --- a/packages/typescript/docs/models/components/contactupdate.md +++ b/packages/typescript/docs/models/components/contactupdate.md @@ -89,28 +89,28 @@ let value: ContactUpdate = { | `nickname` | *string* | :heavy_minus_sign: | The nickname of the contact. | Harry | | `email` | *string* | :heavy_minus_sign: | The email address of the contact. | h.potterfield@test.com | | `ccEmail` | *string* | :heavy_minus_sign: | An alternate email address of the contact that can be cc'd on email communications. | h.porter@tesing.com | -| `gender` | [components.GenderJson](../../models/components/genderjson.md) | :heavy_minus_sign: | The gender of the contact. | Male | +| `gender` | [components.Gender](../../models/components/gender.md) | :heavy_minus_sign: | The gender of the contact. | Male | | `company` | *string* | :heavy_minus_sign: | The company/organization the contact belongs to. | Cvent Inc. | | `designation` | *string* | :heavy_minus_sign: | The designation of the contact, typically an award or credential. | CPA | | `title` | *string* | :heavy_minus_sign: | The job title of the contact. | Event Planner | -| `type` | [components.AttendeeContactTypeJsonInput](../../models/components/attendeecontacttypejsoninput.md) | :heavy_minus_sign: | Contains details related to the attendee's contact type. | | -| `primaryAddressType` | [components.AddressTypeJson](../../models/components/addresstypejson.md) | :heavy_minus_sign: | The type of address. | Home | -| `homeAddress` | [components.AddressJsonInput](../../models/components/addressjsoninput.md) | :heavy_minus_sign: | Contact address details. | | +| `type` | [components.AttendeeContactTypeInput](../../models/components/attendeecontacttypeinput.md) | :heavy_minus_sign: | Contains details related to the attendee's contact type. | | +| `primaryAddressType` | [components.AddressType](../../models/components/addresstype.md) | :heavy_minus_sign: | The type of address. | Home | +| `homeAddress` | [components.AddressInput](../../models/components/addressinput.md) | :heavy_minus_sign: | Contact address details. | | | `homePhone` | *string* | :heavy_minus_sign: | The phone number of the contact at their place of residence. | 555-555-5555 | | `homeFax` | *string* | :heavy_minus_sign: | The fax number of the contact at their place of residence. | 555-555-5555 | -| `workAddress` | [components.AddressJsonInput](../../models/components/addressjsoninput.md) | :heavy_minus_sign: | Contact address details. | | +| `workAddress` | [components.AddressInput](../../models/components/addressinput.md) | :heavy_minus_sign: | Contact address details. | | | `workPhone` | *string* | :heavy_minus_sign: | The phone number of the contact at their place of work. | 555-555-5555 | | `workFax` | *string* | :heavy_minus_sign: | The fax number of the contact at their place of work. | 555-555-5555 | | `sourceId` | *string* | :heavy_minus_sign: | This is a ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. | system-a-00000000-0000-0000-0000-000000000000 | | `mobilePhone` | *string* | :heavy_minus_sign: | The contact's mobile phone number. | 555-555-5555 | | `prefix` | *string* | :heavy_minus_sign: | Denotes what is traditionally a title of an individual. | Mr. | | `pager` | *string* | :heavy_minus_sign: | The pager number of the contact. | 555-555-5555 | -| `optOut` | [components.OptOutJsonInput](../../models/components/optoutjsoninput.md) | :heavy_minus_sign: | Details of an opt-out for a Contact. | | +| `optOut` | [components.ContactOptOutInput](../../models/components/contactoptoutinput.md) | :heavy_minus_sign: | Details of an opt-out for a Contact. | | | `npi` | *string* | :heavy_minus_sign: | Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. | 5555555555 | -| `links` | [components.ContactLinksJsonInput](../../models/components/contactlinksjsoninput.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | +| `links` | [components.ContactLinksInput](../../models/components/contactlinksinput.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | | `dateOfBirth` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The date of birth of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 1990-01-01 | | ~~`passportNumber`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The passport number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use the passport.number field. | 123456789 | -| `passport` | [components.PassportJsonInput](../../models/components/passportjsoninput.md) | :heavy_minus_sign: | This entity represents a contact's passport information. | | +| `passport` | [components.PassportInput](../../models/components/passportinput.md) | :heavy_minus_sign: | This entity represents a contact's passport information. | | | `socialSecurityNumber` | *string* | :heavy_minus_sign: | The social security number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123-45-6789 | | `nationalIdentificationNumber` | *string* | :heavy_minus_sign: | The national identification number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123456789 | | `headline` | *string* | :heavy_minus_sign: | The headline of the contact's profile, which summarizes their professional experience and qualities. | Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands | diff --git a/packages/typescript/docs/models/components/createdby.md b/packages/typescript/docs/models/components/createdby.md new file mode 100644 index 000000000..2955ee6bc --- /dev/null +++ b/packages/typescript/docs/models/components/createdby.md @@ -0,0 +1,17 @@ +# CreatedBy + +Denotes how the compliance request was created. + +## Example Usage + +```typescript +import { CreatedBy } from "@cvent/sdk/models/components"; + +let value: CreatedBy = "PLANNER"; +``` + +## Values + +```typescript +"ATTENDEE" | "PLANNER" | "IMPORT" | "SOAP_API" | "REST_API" | "MARKETO" | "SALEFORCE" | "VIDEO_CENTER_MEMBER" | "RESPONDENT" | "NOT_SET" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/createtransactionresponse.md b/packages/typescript/docs/models/components/createtransactionresponse.md index e094f6bf2..4ae604d9f 100644 --- a/packages/typescript/docs/models/components/createtransactionresponse.md +++ b/packages/typescript/docs/models/components/createtransactionresponse.md @@ -61,7 +61,7 @@ let value: CreateTransactionResponse = { | `lastModifiedBy` | *string* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | | `id` | *string* | :heavy_minus_sign: | A unique ID representing the transaction. | 18549806a69f4727a315f2199a08d8b6 | | `event` | [components.Event2](../../models/components/event2.md) | :heavy_minus_sign: | The reference to the event. Contains only the ID of the event. | | -| `attendee` | [components.Attendee2](../../models/components/attendee2.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | +| `attendee` | [components.Attendee](../../models/components/attendee.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | | `orders` | [components.Order](../../models/components/order.md)[] | :heavy_minus_sign: | This denotes the order IDs corresponding to this transaction. | [
{
"id": "7c4a5acd-9610-4c42-bd10-10e279e69ddc"
},
{
"id": "b479e85e-b5b0-49e7-9f11-65bad23350b1"
},
{
"id": "d1c24041-9ca4-4afd-a2f8-a0905d935aa9"
}
] | | `journalNumber` | *string* | :heavy_minus_sign: | Journal number for this transaction. Represents an identifier for the transaction in your bank or ledger. | PZNK2PKZH4N | | `paymentType` | [components.PaymentType](../../models/components/paymenttype.md) | :heavy_check_mark: | Denotes the type of transaction you're creating. Offline Charge: The transaction is a payment made to the attendee's order electronically in another system of record, or paid in physical currency. To create an offline charge, the attendee must have a balance owing. Offline Refund: The transaction is a refund issued to the attendee electronically in another system of record, or paid in physical currency. To create an offline refund, the attendee must have a balance due. | Offline Charge | diff --git a/packages/typescript/docs/models/components/createtransactionresponseinput.md b/packages/typescript/docs/models/components/createtransactionresponseinput.md index e8973c686..e77bcce28 100644 --- a/packages/typescript/docs/models/components/createtransactionresponseinput.md +++ b/packages/typescript/docs/models/components/createtransactionresponseinput.md @@ -37,7 +37,7 @@ let value: CreateTransactionResponseInput = { | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `event` | [components.Event2](../../models/components/event2.md) | :heavy_minus_sign: | The reference to the event. Contains only the ID of the event. | | -| `attendee` | [components.Attendee2](../../models/components/attendee2.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | +| `attendee` | [components.Attendee](../../models/components/attendee.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | | `paymentType` | [components.PaymentType](../../models/components/paymenttype.md) | :heavy_check_mark: | Denotes the type of transaction you're creating. Offline Charge: The transaction is a payment made to the attendee's order electronically in another system of record, or paid in physical currency. To create an offline charge, the attendee must have a balance owing. Offline Refund: The transaction is a refund issued to the attendee electronically in another system of record, or paid in physical currency. To create an offline refund, the attendee must have a balance due. | Offline Charge | | `paymentMethod` | [components.PaymentMethod](../../models/components/paymentmethod.md) | :heavy_check_mark: | This denotes the payment method in a transaction. | Mastercard | | `date` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 zoned date time when attendee made the transaction. | 2018-01-13T02:00:00Z | diff --git a/packages/typescript/docs/models/components/currencyjson1.md b/packages/typescript/docs/models/components/currencyjson1.md deleted file mode 100644 index d1690925f..000000000 --- a/packages/typescript/docs/models/components/currencyjson1.md +++ /dev/null @@ -1,17 +0,0 @@ -# CurrencyJson1 - -The ISO 4217 standard format currency code used for RFPs. - -## Example Usage - -```typescript -import { CurrencyJson1 } from "@cvent/sdk/models/components"; - -let value: CurrencyJson1 = "BOB"; -``` - -## Values - -```typescript -"USD" | "CAD" | "AUD" | "EUR" | "GBP" | "HKD" | "NZD" | "AED" | "NOK" | "INR" | "MXN" | "SEK" | "DKK" | "MYR" | "JPY" | "SGD" | "THB" | "IDR" | "KRW" | "CNY" | "TWD" | "RUB" | "CHF" | "CZK" | "HUF" | "QAR" | "ZAR" | "RON" | "HRK" | "TRY" | "BRL" | "PHP" | "SAR" | "PLN" | "ARS" | "AWG" | "AZN" | "BSD" | "BBD" | "BMD" | "CLP" | "COP" | "CRC" | "DOP" | "XCD" | "ILS" | "JMD" | "LVL" | "LTL" | "MDL" | "ANG" | "OMR" | "TTD" | "UAH" | "UYU" | "RSD" | "AFN" | "AMD" | "AOA" | "BAM" | "BDT" | "BGN" | "BHD" | "BOB" | "DZD" | "EEK" | "EGP" | "FJD" | "GTQ" | "HNL" | "ISK" | "JOD" | "KYD" | "KZT" | "LBP" | "MAD" | "NGN" | "NIO" | "ESP" | "FRF" | "PAB" | "PEN" | "PKR" | "PYG" | "SVC" | "SYP" | "VEF" | "VND" | "XPF" | "GYD" | "MOP" | "PGK" | "XOF" | "XAF" | "BZD" | "BYR" | "BWP" | "BND" | "BIF" | "KHR" | "CVE" | "KMF" | "CDF" | "DJF" | "ERN" | "FKP" | "GMD" | "GEL" | "GHS" | "GIP" | "GNF" | "HTG" | "KES" | "KWD" | "KGS" | "LAK" | "LRD" | "MKD" | "MGA" | "MWK" | "MVR" | "MRO" | "MUR" | "MNT" | "MZN" | "MMK" | "NAD" | "NPR" | "RWF" | "SHP" | "WST" | "STD" | "SLL" | "SBD" | "SOS" | "LKR" | "SRD" | "SZL" | "TOP" | "TND" | "UGX" | "UZS" | "VUV" | "YER" | "ZMK" | "ZWD" | "SR" | "ETB" | "GH" | "GWP" | "IQD" | "IRR" | "KPW" | "LSL" | "ROL" | "SDG" | "SKK" | "TJS" | "TMT" | "TZS" | "ALL" | "BTN" | "CUP" | "LD" | "SCR" | "ZMW" | "ZWL" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/currencyjson2.md b/packages/typescript/docs/models/components/currencyjson2.md new file mode 100644 index 000000000..cc6d66067 --- /dev/null +++ b/packages/typescript/docs/models/components/currencyjson2.md @@ -0,0 +1,17 @@ +# CurrencyJson2 + +The ISO 4217 standard format currency code used for RFPs. + +## Example Usage + +```typescript +import { CurrencyJson2 } from "@cvent/sdk/models/components"; + +let value: CurrencyJson2 = "EEK"; +``` + +## Values + +```typescript +"USD" | "CAD" | "AUD" | "EUR" | "GBP" | "HKD" | "NZD" | "AED" | "NOK" | "INR" | "MXN" | "SEK" | "DKK" | "MYR" | "JPY" | "SGD" | "THB" | "IDR" | "KRW" | "CNY" | "TWD" | "RUB" | "CHF" | "CZK" | "HUF" | "QAR" | "ZAR" | "RON" | "HRK" | "TRY" | "BRL" | "PHP" | "SAR" | "PLN" | "ARS" | "AWG" | "AZN" | "BSD" | "BBD" | "BMD" | "CLP" | "COP" | "CRC" | "DOP" | "XCD" | "ILS" | "JMD" | "LVL" | "LTL" | "MDL" | "ANG" | "OMR" | "TTD" | "UAH" | "UYU" | "RSD" | "AFN" | "AMD" | "AOA" | "BAM" | "BDT" | "BGN" | "BHD" | "BOB" | "DZD" | "EEK" | "EGP" | "FJD" | "GTQ" | "HNL" | "ISK" | "JOD" | "KYD" | "KZT" | "LBP" | "MAD" | "NGN" | "NIO" | "ESP" | "FRF" | "PAB" | "PEN" | "PKR" | "PYG" | "SVC" | "SYP" | "VEF" | "VND" | "XPF" | "GYD" | "MOP" | "PGK" | "XOF" | "XAF" | "BZD" | "BYR" | "BWP" | "BND" | "BIF" | "KHR" | "CVE" | "KMF" | "CDF" | "DJF" | "ERN" | "FKP" | "GMD" | "GEL" | "GHS" | "GIP" | "GNF" | "HTG" | "KES" | "KWD" | "KGS" | "LAK" | "LRD" | "MKD" | "MGA" | "MWK" | "MVR" | "MRO" | "MUR" | "MNT" | "MZN" | "MMK" | "NAD" | "NPR" | "RWF" | "SHP" | "WST" | "STD" | "SLL" | "SBD" | "SOS" | "LKR" | "SRD" | "SZL" | "TOP" | "TND" | "UGX" | "UZS" | "VUV" | "YER" | "ZMK" | "ZWD" | "SR" | "ETB" | "GH" | "GWP" | "IQD" | "IRR" | "KPW" | "LSL" | "ROL" | "SDG" | "SKK" | "TJS" | "TMT" | "TZS" | "ALL" | "BTN" | "CUP" | "LD" | "SCR" | "ZMW" | "ZWL" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/customfield3.md b/packages/typescript/docs/models/components/customfield3.md index 84cb17345..40aedb297 100644 --- a/packages/typescript/docs/models/components/customfield3.md +++ b/packages/typescript/docs/models/components/customfield3.md @@ -32,7 +32,7 @@ let value: CustomField3 = { | `name` | *string* | :heavy_check_mark: | The actual text of the custom field. | What is a your favorite color? | | `code` | *string* | :heavy_check_mark: | Code to uniquely identify custom field. | FAVORITE_COLOR_CODE | | `required` | *boolean* | :heavy_minus_sign: | Whether answer to custom field is mandatory or not. | true | -| `type` | [components.CustomFieldTypeJson1](../../models/components/customfieldtypejson1.md) | :heavy_check_mark: | This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. | Open Ended Text - One Line | +| `type` | [components.CustomFieldTypeJson](../../models/components/customfieldtypejson.md) | :heavy_check_mark: | This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. | Open Ended Text - One Line | | `details` | *components.CustomField3Details* | :heavy_minus_sign: | Type-specific details of the custom-field. | | | `helpText` | *string* | :heavy_minus_sign: | The help text of the custom field. | Enter your favorite color. | | `displayInDataTag` | [components.DisplayInDataTagJson](../../models/components/displayindatatagjson.md) | :heavy_minus_sign: | This option allows you to choose whether to display the custom field in emails. The field name and the value entered by the invitee are used in the My Agenda data tag. You can set the custom field to display always or only when answered. Only applicable to session custom fields. | No | diff --git a/packages/typescript/docs/models/components/customfieldanswers.md b/packages/typescript/docs/models/components/customfieldanswers.md new file mode 100644 index 000000000..7a83deb21 --- /dev/null +++ b/packages/typescript/docs/models/components/customfieldanswers.md @@ -0,0 +1,25 @@ +# CustomFieldAnswers + +This object contains RFP custom fields attributes only. + +## Example Usage + +```typescript +import { CustomFieldAnswers } from "@cvent/sdk/models/components"; + +let value: CustomFieldAnswers = { + customField: { + id: "50dc08af-24a9-4d01-84be-3d43133dc945", + }, + answers: [ + "Choice 1", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `customField` | [components.ExpandableCustomObject](../../models/components/expandablecustomobject.md) | :heavy_check_mark: | An object containing custom field data. By default, contains only the field ID.

This is an **expandable** object. When requested via the `expand` query parameter with value `customField`, this object expands to include all properties of a custom field definition.

See the `expand` parameter documentation and refer to the [Get Custom Field](#tag/Custom-Fields/operation/getCustomField) API for the complete expanded schema. | +| `answers` | *string*[] | :heavy_check_mark: | List of answers for the RFP custom field. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/customfieldjson.md b/packages/typescript/docs/models/components/customfieldjson.md new file mode 100644 index 000000000..876def8d2 --- /dev/null +++ b/packages/typescript/docs/models/components/customfieldjson.md @@ -0,0 +1,30 @@ +# CustomFieldJson + +A Custom Field + +## Example Usage + +```typescript +import { CustomFieldJson } from "@cvent/sdk/models/components"; + +let value: CustomFieldJson = { + id: "1621ccd9-9925-4ae5-b3a7-47fd3acf4357", + name: "What is a your favorite color?", + type: "MultiSelect", + value: [ + "Choice C", + "Choice A", + ], + order: 1, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | The unique ID representing this custom field. | | +| `name` | *string* | :heavy_minus_sign: | The actual text of the custom field. | What is a your favorite color? | +| `type` | [components.CustomFieldJsonCustomFieldType](../../models/components/customfieldjsoncustomfieldtype.md) | :heavy_minus_sign: | The type of data collected by a custom field. | MultiSelect | +| `value` | *string*[] | :heavy_check_mark: | The set of answers or possible answers to a question. | [
"Choice C",
"Choice A"
] | +| `order` | *number* | :heavy_minus_sign: | The order of this question in the bigger list of questions. | 1 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/customfieldjson1.md b/packages/typescript/docs/models/components/customfieldjson1.md index b6d274064..9a0bd6115 100644 --- a/packages/typescript/docs/models/components/customfieldjson1.md +++ b/packages/typescript/docs/models/components/customfieldjson1.md @@ -1,6 +1,6 @@ # CustomFieldJson1 -A Custom Field +A survey custom field. ## Example Usage @@ -8,14 +8,14 @@ A Custom Field import { CustomFieldJson1 } from "@cvent/sdk/models/components"; let value: CustomFieldJson1 = { - id: "affe3a06-1368-4744-8d32-a9f3a059bfa9", + id: "bd57aeda-3483-4bcf-886e-c976e9f4454a", name: "What is a your favorite color?", - type: "MultiSelect", - value: [ - "Choice C", - "Choice A", + code: "FAVORITE_COLOR_CODE", + type: "Choice - Multiple Answers", + values: [ + "Green", + "Blue", ], - order: 1, }; ``` @@ -23,8 +23,8 @@ let value: CustomFieldJson1 = { | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | The unique ID representing this custom field. | | +| `id` | *string* | :heavy_check_mark: | The unique id representing this custom field. | bd57aeda-3483-4bcf-886e-c976e9f4454a | | `name` | *string* | :heavy_minus_sign: | The actual text of the custom field. | What is a your favorite color? | -| `type` | [components.CustomFieldJson1CustomFieldType](../../models/components/customfieldjson1customfieldtype.md) | :heavy_minus_sign: | The type of data collected by a custom field. | MultiSelect | -| `value` | *string*[] | :heavy_check_mark: | The set of answers or possible answers to a question. | [
"Choice C",
"Choice A"
] | -| `order` | *number* | :heavy_minus_sign: | The order of this question in the bigger list of questions. | 1 | \ No newline at end of file +| `code` | *string* | :heavy_minus_sign: | Code to uniquely identify custom field. | FAVORITE_COLOR_CODE | +| `type` | [components.CustomFieldJson1CustomFieldType](../../models/components/customfieldjson1customfieldtype.md) | :heavy_minus_sign: | N/A | Choice - Multiple Answers | +| `values` | *string*[] | :heavy_check_mark: | The set of values or possible values to a custom field. | [
"Green",
"Blue"
] | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/customfieldjson1customfieldtype.md b/packages/typescript/docs/models/components/customfieldjson1customfieldtype.md index 0d98d94f4..0dab994c9 100644 --- a/packages/typescript/docs/models/components/customfieldjson1customfieldtype.md +++ b/packages/typescript/docs/models/components/customfieldjson1customfieldtype.md @@ -1,17 +1,17 @@ # CustomFieldJson1CustomFieldType -The type of data collected by a custom field. +This is used to denote the type of data collected by a custom field. ## Example Usage ```typescript import { CustomFieldJson1CustomFieldType } from "@cvent/sdk/models/components"; -let value: CustomFieldJson1CustomFieldType = "MultiSelect"; +let value: CustomFieldJson1CustomFieldType = "Choice - Multiple Answers"; ``` ## Values ```typescript -"AutoIncrement" | "ConsentQuestion" | "Currency" | "Decimal" | "Date" | "DateTime" | "Email" | "FileUpload" | "FreeText" | "General" | "MultiChoice" | "MultiSelect" | "Number" | "OpenEndedDateTime" | "OpenEndedText" | "SingleChoice" | "SingleSelect" | "USPhoneNumber" | "Unknown" +"Open Ended Text - Date/Time" | "Open Ended Text - One Line" | "Open Ended Text - Comment Box" | "Choice - Single Answer" | "Choice - Multiple Answers" ``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/customfieldjson2.md b/packages/typescript/docs/models/components/customfieldjson2.md index 802477f58..8f4efcbf3 100644 --- a/packages/typescript/docs/models/components/customfieldjson2.md +++ b/packages/typescript/docs/models/components/customfieldjson2.md @@ -1,6 +1,6 @@ # CustomFieldJson2 -A survey custom field. +A Custom Field ## Example Usage @@ -8,14 +8,14 @@ A survey custom field. import { CustomFieldJson2 } from "@cvent/sdk/models/components"; let value: CustomFieldJson2 = { - id: "bd57aeda-3483-4bcf-886e-c976e9f4454a", - name: "What is a your favorite color?", - code: "FAVORITE_COLOR_CODE", - type: "Choice - Multiple Answers", - values: [ - "Green", - "Blue", + id: "aafda261-f00a-4f9b-8520-7aa20daa5fc2", + name: "What is your favorite color?", + value: [ + "Choice C", + "Choice A", ], + order: 1, + type: "MultiSelect", }; ``` @@ -23,8 +23,8 @@ let value: CustomFieldJson2 = { | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | The unique id representing this custom field. | bd57aeda-3483-4bcf-886e-c976e9f4454a | -| `name` | *string* | :heavy_minus_sign: | The actual text of the custom field. | What is a your favorite color? | -| `code` | *string* | :heavy_minus_sign: | Code to uniquely identify custom field. | FAVORITE_COLOR_CODE | -| `type` | [components.CustomFieldJson2CustomFieldType](../../models/components/customfieldjson2customfieldtype.md) | :heavy_minus_sign: | N/A | Choice - Multiple Answers | -| `values` | *string*[] | :heavy_check_mark: | The set of values or possible values to a custom field. | [
"Green",
"Blue"
] | \ No newline at end of file +| `id` | *string* | :heavy_check_mark: | The unique ID representing this custom field. | | +| `name` | *string* | :heavy_minus_sign: | The actual text of the custom field. | What is your favorite color? | +| `value` | *string*[] | :heavy_check_mark: | The set of answers or possible answers to a question. | [
"Choice C",
"Choice A"
] | +| `order` | *number* | :heavy_minus_sign: | The order of this question in the bigger list of questions. | 1 | +| `type` | [components.CustomFieldJson2CustomFieldType](../../models/components/customfieldjson2customfieldtype.md) | :heavy_minus_sign: | The type of data collected by a custom field. | MultiSelect | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/customfieldjson2customfieldtype.md b/packages/typescript/docs/models/components/customfieldjson2customfieldtype.md index 5d0c4e955..19e900adb 100644 --- a/packages/typescript/docs/models/components/customfieldjson2customfieldtype.md +++ b/packages/typescript/docs/models/components/customfieldjson2customfieldtype.md @@ -1,17 +1,17 @@ # CustomFieldJson2CustomFieldType -This is used to denote the type of data collected by a custom field. +The type of data collected by a custom field. ## Example Usage ```typescript import { CustomFieldJson2CustomFieldType } from "@cvent/sdk/models/components"; -let value: CustomFieldJson2CustomFieldType = "Choice - Multiple Answers"; +let value: CustomFieldJson2CustomFieldType = "MultiSelect"; ``` ## Values ```typescript -"Open Ended Text - Date/Time" | "Open Ended Text - One Line" | "Open Ended Text - Comment Box" | "Choice - Single Answer" | "Choice - Multiple Answers" +"AutoIncrement" | "ConsentQuestion" | "Currency" | "Decimal" | "Date" | "DateTime" | "Email" | "FileUpload" | "FreeText" | "General" | "MultiChoice" | "MultiSelect" | "Number" | "OpenEndedDateTime" | "OpenEndedText" | "SingleChoice" | "SingleSelect" | "USPhoneNumber" | "Unknown" ``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/customfieldjson3.md b/packages/typescript/docs/models/components/customfieldjson3.md deleted file mode 100644 index 07b8ba2de..000000000 --- a/packages/typescript/docs/models/components/customfieldjson3.md +++ /dev/null @@ -1,30 +0,0 @@ -# CustomFieldJson3 - -A Custom Field - -## Example Usage - -```typescript -import { CustomFieldJson3 } from "@cvent/sdk/models/components"; - -let value: CustomFieldJson3 = { - id: "e6b227d6-0971-41b5-8b01-f4380e92fcda", - name: "What is your favorite color?", - value: [ - "Choice C", - "Choice A", - ], - order: 1, - type: "MultiSelect", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | The unique ID representing this custom field. | | -| `name` | *string* | :heavy_minus_sign: | The actual text of the custom field. | What is your favorite color? | -| `value` | *string*[] | :heavy_check_mark: | The set of answers or possible answers to a question. | [
"Choice C",
"Choice A"
] | -| `order` | *number* | :heavy_minus_sign: | The order of this question in the bigger list of questions. | 1 | -| `type` | [components.CustomFieldJson3CustomFieldType](../../models/components/customfieldjson3customfieldtype.md) | :heavy_minus_sign: | The type of data collected by a custom field. | MultiSelect | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/customfieldjson3customfieldtype.md b/packages/typescript/docs/models/components/customfieldjson3customfieldtype.md deleted file mode 100644 index 3970156b0..000000000 --- a/packages/typescript/docs/models/components/customfieldjson3customfieldtype.md +++ /dev/null @@ -1,17 +0,0 @@ -# CustomFieldJson3CustomFieldType - -The type of data collected by a custom field. - -## Example Usage - -```typescript -import { CustomFieldJson3CustomFieldType } from "@cvent/sdk/models/components"; - -let value: CustomFieldJson3CustomFieldType = "MultiSelect"; -``` - -## Values - -```typescript -"AutoIncrement" | "ConsentQuestion" | "Currency" | "Decimal" | "Date" | "DateTime" | "Email" | "FileUpload" | "FreeText" | "General" | "MultiChoice" | "MultiSelect" | "Number" | "OpenEndedDateTime" | "OpenEndedText" | "SingleChoice" | "SingleSelect" | "USPhoneNumber" | "Unknown" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/customfieldjsoncustomfieldtype.md b/packages/typescript/docs/models/components/customfieldjsoncustomfieldtype.md new file mode 100644 index 000000000..3bcbf7cee --- /dev/null +++ b/packages/typescript/docs/models/components/customfieldjsoncustomfieldtype.md @@ -0,0 +1,17 @@ +# CustomFieldJsonCustomFieldType + +The type of data collected by a custom field. + +## Example Usage + +```typescript +import { CustomFieldJsonCustomFieldType } from "@cvent/sdk/models/components"; + +let value: CustomFieldJsonCustomFieldType = "MultiSelect"; +``` + +## Values + +```typescript +"AutoIncrement" | "ConsentQuestion" | "Currency" | "Decimal" | "Date" | "DateTime" | "Email" | "FileUpload" | "FreeText" | "General" | "MultiChoice" | "MultiSelect" | "Number" | "OpenEndedDateTime" | "OpenEndedText" | "SingleChoice" | "SingleSelect" | "USPhoneNumber" | "Unknown" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/customfieldtypejson.md b/packages/typescript/docs/models/components/customfieldtypejson.md new file mode 100644 index 000000000..4227cbdc7 --- /dev/null +++ b/packages/typescript/docs/models/components/customfieldtypejson.md @@ -0,0 +1,17 @@ +# CustomFieldTypeJson + +This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. + +## Example Usage + +```typescript +import { CustomFieldTypeJson } from "@cvent/sdk/models/components"; + +let value: CustomFieldTypeJson = "Open Ended Text - One Line"; +``` + +## Values + +```typescript +"Open Ended Text - Date/Time" | "Open Ended Text - One Line" | "Open Ended Text - Comment Box" | "Choice - Single Answer" | "Choice - Multiple Answers" | "Auto-Increment" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/customfieldtypejson1.md b/packages/typescript/docs/models/components/customfieldtypejson1.md deleted file mode 100644 index 0864e55d6..000000000 --- a/packages/typescript/docs/models/components/customfieldtypejson1.md +++ /dev/null @@ -1,17 +0,0 @@ -# CustomFieldTypeJson1 - -This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. - -## Example Usage - -```typescript -import { CustomFieldTypeJson1 } from "@cvent/sdk/models/components"; - -let value: CustomFieldTypeJson1 = "Open Ended Text - One Line"; -``` - -## Values - -```typescript -"Open Ended Text - Date/Time" | "Open Ended Text - One Line" | "Open Ended Text - Comment Box" | "Choice - Single Answer" | "Choice - Multiple Answers" | "Auto-Increment" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/customquestionanswerjson0.md b/packages/typescript/docs/models/components/customquestionanswerjson0.md deleted file mode 100644 index 5c1d4811a..000000000 --- a/packages/typescript/docs/models/components/customquestionanswerjson0.md +++ /dev/null @@ -1,23 +0,0 @@ -# CustomQuestionAnswerJson0 - -Represents custom question associated with a travel proposal. - -## Example Usage - -```typescript -import { CustomQuestionAnswerJson0 } from "@cvent/sdk/models/components"; - -let value: CustomQuestionAnswerJson0 = { - question: { - id: "565ceabb-786a-4a6d-8c85-e2fccc867e88", - }, - answer: "No.", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `question` | [components.CustomQuestionAnswerJson0Question](../../models/components/customquestionanswerjson0question.md) | :heavy_minus_sign: | Travel account that the proposal is responding to. | | -| `answer` | *string* | :heavy_minus_sign: | Hotel's answer to the program's custom question. | No. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/customquestionanswerjson0question.md b/packages/typescript/docs/models/components/customquestionanswerjson0question.md deleted file mode 100644 index 33b869c75..000000000 --- a/packages/typescript/docs/models/components/customquestionanswerjson0question.md +++ /dev/null @@ -1,19 +0,0 @@ -# CustomQuestionAnswerJson0Question - -Travel account that the proposal is responding to. - -## Example Usage - -```typescript -import { CustomQuestionAnswerJson0Question } from "@cvent/sdk/models/components"; - -let value: CustomQuestionAnswerJson0Question = { - id: "565ceabb-786a-4a6d-8c85-e2fccc867e88", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | The unique ID of the question. | 565ceabb-786a-4a6d-8c85-e2fccc867e88 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/dateanswerformat.md b/packages/typescript/docs/models/components/dateanswerformat.md new file mode 100644 index 000000000..2ff3a7eb2 --- /dev/null +++ b/packages/typescript/docs/models/components/dateanswerformat.md @@ -0,0 +1,17 @@ +# DateAnswerFormat + +The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. `DateTime`: Answer format is stored in DateTime format. `Time`: Answer format is stored in Time format. + +## Example Usage + +```typescript +import { DateAnswerFormat } from "@cvent/sdk/models/components"; + +let value: DateAnswerFormat = "Date"; +``` + +## Values + +```typescript +"Date" | "DateTime" | "Time" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/dateanswerformatjson.md b/packages/typescript/docs/models/components/dateanswerformatjson.md deleted file mode 100644 index 60288ef07..000000000 --- a/packages/typescript/docs/models/components/dateanswerformatjson.md +++ /dev/null @@ -1,17 +0,0 @@ -# DateAnswerFormatJson - -The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. `DateTime`: Answer format is stored in DateTime format. `Time`: Answer format is stored in Time format. - -## Example Usage - -```typescript -import { DateAnswerFormatJson } from "@cvent/sdk/models/components"; - -let value: DateAnswerFormatJson = "DateTime"; -``` - -## Values - -```typescript -"Date" | "DateTime" | "Time" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/datepattern1.md b/packages/typescript/docs/models/components/datepattern1.md new file mode 100644 index 000000000..aaaee726a --- /dev/null +++ b/packages/typescript/docs/models/components/datepattern1.md @@ -0,0 +1,38 @@ +# DatePattern1 + +Date pattern for days on which event can occur. Used when dateMode is DATE_PATTERN. + +## Example Usage + +```typescript +import { DatePattern1 } from "@cvent/sdk/models/components"; +import { RFCDate } from "@cvent/sdk/types"; + +let value: DatePattern1 = { + note: "Flexible dates on weekends.", + endDate: new RFCDate("2016-10-15"), + startDate: new RFCDate("2016-10-13"), + durationDays: 3, + startDays: [], + generatedDates: [ + { + preferred: true, + id: "50dc08af-24a9-4d01-84be-3d43133dc945", + endDate: new RFCDate("2016-10-13"), + startDate: new RFCDate("2016-10-15"), + note: "Flexible dates", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `note` | *string* | :heavy_minus_sign: | Note along with date pattern requirements. | Flexible dates on weekends. | +| `endDate` | [RFCDate](../../types/rfcdate.md) | :heavy_check_mark: | The ISO 8601 end date of the event. | 2016-10-15 | +| `startDate` | [RFCDate](../../types/rfcdate.md) | :heavy_check_mark: | The ISO 8601 start date of the event. | 2016-10-13 | +| `durationDays` | *number* | :heavy_check_mark: | Number of days the event will go on. | 3 | +| `startDays` | [components.DayOfWeek](../../models/components/dayofweek.md)[] | :heavy_check_mark: | Days of the week when event can start. | | +| `generatedDates` | [components.Dates1](../../models/components/dates1.md)[] | :heavy_minus_sign: | List of dates generated based on the date pattern. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/datepatternjson0.md b/packages/typescript/docs/models/components/datepatternjson0.md deleted file mode 100644 index d348c3c5c..000000000 --- a/packages/typescript/docs/models/components/datepatternjson0.md +++ /dev/null @@ -1,40 +0,0 @@ -# DatePatternJson0 - -Date pattern for days on which event can occur. Used when dateMode is DATE_PATTERN. - -## Example Usage - -```typescript -import { DatePatternJson0 } from "@cvent/sdk/models/components"; -import { RFCDate } from "@cvent/sdk/types"; - -let value: DatePatternJson0 = { - note: "Flexible dates on weekends.", - endDate: new RFCDate("2016-10-15"), - startDate: new RFCDate("2016-10-13"), - durationDays: 3, - startDays: [ - "MONDAY", - ], - generatedDates: [ - { - preferred: true, - id: "50dc08af-24a9-4d01-84be-3d43133dc945", - endDate: new RFCDate("2016-10-13"), - startDate: new RFCDate("2016-10-15"), - note: "Flexible dates", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `note` | *string* | :heavy_minus_sign: | Note along with date pattern requirements. | Flexible dates on weekends. | -| `endDate` | [RFCDate](../../types/rfcdate.md) | :heavy_check_mark: | The ISO 8601 end date of the event. | 2016-10-15 | -| `startDate` | [RFCDate](../../types/rfcdate.md) | :heavy_check_mark: | The ISO 8601 start date of the event. | 2016-10-13 | -| `durationDays` | *number* | :heavy_check_mark: | Number of days the event will go on. | 3 | -| `startDays` | [components.DayOfWeekJson0](../../models/components/dayofweekjson0.md)[] | :heavy_check_mark: | Days of the week when event can start. | | -| `generatedDates` | [components.DatesJson0](../../models/components/datesjson0.md)[] | :heavy_minus_sign: | List of dates generated based on the date pattern. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/daterequirements1.md b/packages/typescript/docs/models/components/daterequirements1.md new file mode 100644 index 000000000..5dd1cc9f4 --- /dev/null +++ b/packages/typescript/docs/models/components/daterequirements1.md @@ -0,0 +1,48 @@ +# DateRequirements1 + +Date requirements for the event. + +## Example Usage + +```typescript +import { DateRequirements1 } from "@cvent/sdk/models/components"; +import { RFCDate } from "@cvent/sdk/types"; + +let value: DateRequirements1 = { + mode: "DATE_PATTERN", + alternateDates: [ + { + preferred: true, + id: "50dc08af-24a9-4d01-84be-3d43133dc945", + endDate: new RFCDate("2016-10-13"), + startDate: new RFCDate("2016-10-15"), + note: "Flexible dates", + }, + ], + pattern: { + note: "Flexible dates on weekends.", + endDate: new RFCDate("2016-10-15"), + startDate: new RFCDate("2016-10-13"), + durationDays: 3, + startDays: [], + generatedDates: [ + { + preferred: true, + id: "50dc08af-24a9-4d01-84be-3d43133dc945", + endDate: new RFCDate("2016-10-13"), + startDate: new RFCDate("2016-10-15"), + note: "Flexible dates", + }, + ], + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| `mode` | [components.RfpDateMode](../../models/components/rfpdatemode.md) | :heavy_check_mark: | RfpDateMode | +| `alternateDates` | [components.Dates1](../../models/components/dates1.md)[] | :heavy_minus_sign: | List of dates for the event. Can be used to provide set of alternate event dates when mode is ALTERNATE_DATE. | +| `pattern` | [components.DatePattern1](../../models/components/datepattern1.md) | :heavy_minus_sign: | Date pattern for days on which event can occur. Used when dateMode is DATE_PATTERN. | +| `availabilityRangeRequired` | *boolean* | :heavy_minus_sign: | True indicates that the event requires a range of availability dates. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/daterequirementsjson0.md b/packages/typescript/docs/models/components/daterequirementsjson0.md deleted file mode 100644 index b24a5bf59..000000000 --- a/packages/typescript/docs/models/components/daterequirementsjson0.md +++ /dev/null @@ -1,48 +0,0 @@ -# DateRequirementsJson0 - -Date requirements for the event. - -## Example Usage - -```typescript -import { DateRequirementsJson0 } from "@cvent/sdk/models/components"; -import { RFCDate } from "@cvent/sdk/types"; - -let value: DateRequirementsJson0 = { - mode: "DATE_PATTERN", - alternateDates: [ - { - preferred: true, - id: "50dc08af-24a9-4d01-84be-3d43133dc945", - endDate: new RFCDate("2016-10-13"), - startDate: new RFCDate("2016-10-15"), - note: "Flexible dates", - }, - ], - pattern: { - note: "Flexible dates on weekends.", - endDate: new RFCDate("2016-10-15"), - startDate: new RFCDate("2016-10-13"), - durationDays: 3, - startDays: [], - generatedDates: [ - { - preferred: true, - id: "50dc08af-24a9-4d01-84be-3d43133dc945", - endDate: new RFCDate("2016-10-13"), - startDate: new RFCDate("2016-10-15"), - note: "Flexible dates", - }, - ], - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | -| `mode` | [components.RfpDateModeJson0](../../models/components/rfpdatemodejson0.md) | :heavy_check_mark: | Way of specifying dates for the event. | -| `alternateDates` | [components.DatesJson0](../../models/components/datesjson0.md)[] | :heavy_minus_sign: | List of dates for the event. Can be used to provide set of alternate event dates when mode is ALTERNATE_DATE. | -| `pattern` | [components.DatePatternJson0](../../models/components/datepatternjson0.md) | :heavy_minus_sign: | Date pattern for days on which event can occur. Used when dateMode is DATE_PATTERN. | -| `availabilityRangeRequired` | *boolean* | :heavy_minus_sign: | True indicates that the event requires a range of availability dates. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/dates1.md b/packages/typescript/docs/models/components/dates1.md new file mode 100644 index 000000000..41c3d8382 --- /dev/null +++ b/packages/typescript/docs/models/components/dates1.md @@ -0,0 +1,28 @@ +# Dates1 + +Dates on which event will occur. + +## Example Usage + +```typescript +import { Dates1 } from "@cvent/sdk/models/components"; +import { RFCDate } from "@cvent/sdk/types"; + +let value: Dates1 = { + preferred: true, + id: "50dc08af-24a9-4d01-84be-3d43133dc945", + endDate: new RFCDate("2016-10-13"), + startDate: new RFCDate("2016-10-15"), + note: "Flexible dates", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | +| `preferred` | *boolean* | :heavy_minus_sign: | True indicates these are preferred dates. | true | +| `id` | *string* | :heavy_minus_sign: | Unique identifier for dates. | 50dc08af-24a9-4d01-84be-3d43133dc945 | +| `endDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 end date of the event. | 2016-10-13 | +| `startDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 start date of the event. | 2016-10-15 | +| `note` | *string* | :heavy_minus_sign: | A note detailing the requirements for the dates. | Flexible dates | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/datesjson0.md b/packages/typescript/docs/models/components/datesjson0.md deleted file mode 100644 index f75bc35ef..000000000 --- a/packages/typescript/docs/models/components/datesjson0.md +++ /dev/null @@ -1,28 +0,0 @@ -# DatesJson0 - -Dates on which event will occur. - -## Example Usage - -```typescript -import { DatesJson0 } from "@cvent/sdk/models/components"; -import { RFCDate } from "@cvent/sdk/types"; - -let value: DatesJson0 = { - preferred: true, - id: "50dc08af-24a9-4d01-84be-3d43133dc945", - endDate: new RFCDate("2016-10-13"), - startDate: new RFCDate("2016-10-15"), - note: "Flexible dates", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | -| `preferred` | *boolean* | :heavy_minus_sign: | True indicates these are preferred dates. | true | -| `id` | *string* | :heavy_minus_sign: | Unique identifier for dates. | 50dc08af-24a9-4d01-84be-3d43133dc945 | -| `endDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 end date of the event. | 2016-10-13 | -| `startDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 start date of the event. | 2016-10-15 | -| `note` | *string* | :heavy_minus_sign: | A note detailing the requirements for the dates. | Flexible dates | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/datetypejson.md b/packages/typescript/docs/models/components/datetypejson.md new file mode 100644 index 000000000..0265267ad --- /dev/null +++ b/packages/typescript/docs/models/components/datetypejson.md @@ -0,0 +1,17 @@ +# DateTypeJson + +The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). + +## Example Usage + +```typescript +import { DateTypeJson } from "@cvent/sdk/models/components"; + +let value: DateTypeJson = "ALTERNATE_8"; +``` + +## Values + +```typescript +"PREFERRED" | "ALTERNATE_1" | "ALTERNATE_2" | "ALTERNATE_3" | "ALTERNATE_4" | "ALTERNATE_5" | "ALTERNATE_6" | "ALTERNATE_7" | "ALTERNATE_8" | "ALTERNATE_9" | "ALTERNATE_10" | "ALTERNATE_11" | "ALTERNATE_12" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/datetypejson1.md b/packages/typescript/docs/models/components/datetypejson1.md deleted file mode 100644 index ec50324e0..000000000 --- a/packages/typescript/docs/models/components/datetypejson1.md +++ /dev/null @@ -1,17 +0,0 @@ -# DateTypeJson1 - -The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). - -## Example Usage - -```typescript -import { DateTypeJson1 } from "@cvent/sdk/models/components"; - -let value: DateTypeJson1 = "ALTERNATE_5"; -``` - -## Values - -```typescript -"PREFERRED" | "ALTERNATE_1" | "ALTERNATE_2" | "ALTERNATE_3" | "ALTERNATE_4" | "ALTERNATE_5" | "ALTERNATE_6" | "ALTERNATE_7" | "ALTERNATE_8" | "ALTERNATE_9" | "ALTERNATE_10" | "ALTERNATE_11" | "ALTERNATE_12" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/dayofweek.md b/packages/typescript/docs/models/components/dayofweek.md new file mode 100644 index 000000000..4688c9414 --- /dev/null +++ b/packages/typescript/docs/models/components/dayofweek.md @@ -0,0 +1,17 @@ +# DayOfWeek + +DayOfWeek + +## Example Usage + +```typescript +import { DayOfWeek } from "@cvent/sdk/models/components"; + +let value: DayOfWeek = "TUESDAY"; +``` + +## Values + +```typescript +"SUNDAY" | "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/dayofweekjson0.md b/packages/typescript/docs/models/components/dayofweekjson0.md deleted file mode 100644 index df714cb9f..000000000 --- a/packages/typescript/docs/models/components/dayofweekjson0.md +++ /dev/null @@ -1,17 +0,0 @@ -# DayOfWeekJson0 - -Day of week. - -## Example Usage - -```typescript -import { DayOfWeekJson0 } from "@cvent/sdk/models/components"; - -let value: DayOfWeekJson0 = "THURSDAY"; -``` - -## Values - -```typescript -"SUNDAY" | "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/device1.md b/packages/typescript/docs/models/components/device1.md new file mode 100644 index 000000000..2be1112c8 --- /dev/null +++ b/packages/typescript/docs/models/components/device1.md @@ -0,0 +1,24 @@ +# ~~Device1~~ + +The device details used to watched a video. This field has been deprecated. + +> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. + +## Example Usage + +```typescript +import { Device1 } from "@cvent/sdk/models/components"; + +let value: Device1 = { + id: "CA1.b4c5061e36fa60ebc5aad0ccea95f900b34794ecad49e965eaa94f7c534dec83", + operatingSystem: "Mac OS", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | The unique ID of the device the viewer used to watch the video. | CA1.b4c5061e36fa60ebc5aad0ccea95f900b34794ecad49e965eaa94f7c534dec83 | +| `type` | [components.DeviceType](../../models/components/devicetype.md) | :heavy_minus_sign: | The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. | | +| `operatingSystem` | *string* | :heavy_minus_sign: | The device's operating system. | Mac OS | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/devicejson.md b/packages/typescript/docs/models/components/devicejson.md deleted file mode 100644 index 7156352c3..000000000 --- a/packages/typescript/docs/models/components/devicejson.md +++ /dev/null @@ -1,24 +0,0 @@ -# ~~DeviceJson~~ - -The device details used to watched a video. This field has been deprecated. - -> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. - -## Example Usage - -```typescript -import { DeviceJson } from "@cvent/sdk/models/components"; - -let value: DeviceJson = { - id: "CA1.b4c5061e36fa60ebc5aad0ccea95f900b34794ecad49e965eaa94f7c534dec83", - operatingSystem: "Mac OS", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | The unique ID of the device the viewer used to watch the video. | CA1.b4c5061e36fa60ebc5aad0ccea95f900b34794ecad49e965eaa94f7c534dec83 | -| `type` | [components.DeviceTypeJson](../../models/components/devicetypejson.md) | :heavy_minus_sign: | The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. | | -| `operatingSystem` | *string* | :heavy_minus_sign: | The device's operating system. | Mac OS | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/devicetype.md b/packages/typescript/docs/models/components/devicetype.md new file mode 100644 index 000000000..b76c16646 --- /dev/null +++ b/packages/typescript/docs/models/components/devicetype.md @@ -0,0 +1,17 @@ +# DeviceType + +The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. + +## Example Usage + +```typescript +import { DeviceType } from "@cvent/sdk/models/components"; + +let value: DeviceType = "DESKTOP"; +``` + +## Values + +```typescript +"DESKTOP" | "MOBILE" | "TABLET" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/devicetypejson.md b/packages/typescript/docs/models/components/devicetypejson.md deleted file mode 100644 index 7a728b898..000000000 --- a/packages/typescript/docs/models/components/devicetypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# DeviceTypeJson - -The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. - -## Example Usage - -```typescript -import { DeviceTypeJson } from "@cvent/sdk/models/components"; - -let value: DeviceTypeJson = "DESKTOP"; -``` - -## Values - -```typescript -"DESKTOP" | "MOBILE" | "TABLET" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/displaytype.md b/packages/typescript/docs/models/components/displaytype.md new file mode 100644 index 000000000..a7273c759 --- /dev/null +++ b/packages/typescript/docs/models/components/displaytype.md @@ -0,0 +1,17 @@ +# DisplayType + +The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: It is associated with drop down type questions. `Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list type questions. `MultiSelectBox`: It is associated with multi select box type questions. `Vertical`: It is associated with vertical type questions. + +## Example Usage + +```typescript +import { DisplayType } from "@cvent/sdk/models/components"; + +let value: DisplayType = "Bar"; +``` + +## Values + +```typescript +"Bar" | "DropDown" | "Horizontal" | "List" | "MultiSelectBox" | "Vertical" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/displaytypejson.md b/packages/typescript/docs/models/components/displaytypejson.md deleted file mode 100644 index 80cddd7a6..000000000 --- a/packages/typescript/docs/models/components/displaytypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# DisplayTypeJson - -The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: It is associated with drop down type questions. `Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list type questions. `MultiSelectBox`: It is associated with multi select box type questions. `Vertical`: It is associated with vertical type questions. - -## Example Usage - -```typescript -import { DisplayTypeJson } from "@cvent/sdk/models/components"; - -let value: DisplayTypeJson = "Bar"; -``` - -## Values - -```typescript -"Bar" | "DropDown" | "Horizontal" | "List" | "MultiSelectBox" | "Vertical" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/distancejson.md b/packages/typescript/docs/models/components/distancejson.md new file mode 100644 index 000000000..9e1a55612 --- /dev/null +++ b/packages/typescript/docs/models/components/distancejson.md @@ -0,0 +1,21 @@ +# DistanceJson + +Distance information. + +## Example Usage + +```typescript +import { DistanceJson } from "@cvent/sdk/models/components"; + +let value: DistanceJson = { + distance: 18.3, + distanceUnit: "Kilometers", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `distance` | *number* | :heavy_check_mark: | Distance from the hotel to the venue. | 18.3 | +| `distanceUnit` | [components.DistanceUnit](../../models/components/distanceunit.md) | :heavy_check_mark: | Unit of measurement for the distance. | Kilometers | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/distancejson1.md b/packages/typescript/docs/models/components/distancejson1.md deleted file mode 100644 index ef4b0d72d..000000000 --- a/packages/typescript/docs/models/components/distancejson1.md +++ /dev/null @@ -1,21 +0,0 @@ -# DistanceJson1 - -Distance information. - -## Example Usage - -```typescript -import { DistanceJson1 } from "@cvent/sdk/models/components"; - -let value: DistanceJson1 = { - distance: 18.3, - distanceUnit: "Kilometers", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `distance` | *number* | :heavy_check_mark: | Distance from the hotel to the venue. | 18.3 | -| `distanceUnit` | [components.DistanceUnit](../../models/components/distanceunit.md) | :heavy_check_mark: | Unit of measurement for the distance. | Kilometers | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/distributionlistinfo.md b/packages/typescript/docs/models/components/distributionlistinfo.md new file mode 100644 index 000000000..573385321 --- /dev/null +++ b/packages/typescript/docs/models/components/distributionlistinfo.md @@ -0,0 +1,22 @@ +# DistributionListInfo + +Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. + +## Example Usage + +```typescript +import { DistributionListInfo } from "@cvent/sdk/models/components"; + +let value: DistributionListInfo = { + internalNote: "Sample distribution list internal note", + status: "PENDING", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `securityType` | [components.DistributionListSecurityType](../../models/components/distributionlistsecuritytype.md) | :heavy_minus_sign: | Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. | | +| `internalNote` | *string* | :heavy_minus_sign: | Internal note for Distribution Lists. | Sample distribution list internal note | +| `status` | [components.DistributionListStatus](../../models/components/distributionliststatus.md) | :heavy_minus_sign: | Type of distribution list status. | PENDING | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/distributionlistinfoinput.md b/packages/typescript/docs/models/components/distributionlistinfoinput.md new file mode 100644 index 000000000..4125b7212 --- /dev/null +++ b/packages/typescript/docs/models/components/distributionlistinfoinput.md @@ -0,0 +1,20 @@ +# DistributionListInfoInput + +Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. + +## Example Usage + +```typescript +import { DistributionListInfoInput } from "@cvent/sdk/models/components"; + +let value: DistributionListInfoInput = { + internalNote: "Sample distribution list internal note", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `securityType` | [components.DistributionListSecurityType](../../models/components/distributionlistsecuritytype.md) | :heavy_minus_sign: | Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. | | +| `internalNote` | *string* | :heavy_minus_sign: | Internal note for Distribution Lists. | Sample distribution list internal note | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/distributionlistinfojson.md b/packages/typescript/docs/models/components/distributionlistinfojson.md deleted file mode 100644 index a55d14995..000000000 --- a/packages/typescript/docs/models/components/distributionlistinfojson.md +++ /dev/null @@ -1,22 +0,0 @@ -# DistributionListInfoJson - -Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. - -## Example Usage - -```typescript -import { DistributionListInfoJson } from "@cvent/sdk/models/components"; - -let value: DistributionListInfoJson = { - internalNote: "Sample distribution list internal note", - status: "PENDING", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `securityType` | [components.DistributionListSecurityTypeJson](../../models/components/distributionlistsecuritytypejson.md) | :heavy_minus_sign: | Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. | | -| `internalNote` | *string* | :heavy_minus_sign: | Internal note for Distribution Lists. | Sample distribution list internal note | -| `status` | [components.DistributionListStatusJson](../../models/components/distributionliststatusjson.md) | :heavy_minus_sign: | Type of distribution list status. | PENDING | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/distributionlistinfojsoninput.md b/packages/typescript/docs/models/components/distributionlistinfojsoninput.md deleted file mode 100644 index 04764f901..000000000 --- a/packages/typescript/docs/models/components/distributionlistinfojsoninput.md +++ /dev/null @@ -1,20 +0,0 @@ -# DistributionListInfoJsonInput - -Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. - -## Example Usage - -```typescript -import { DistributionListInfoJsonInput } from "@cvent/sdk/models/components"; - -let value: DistributionListInfoJsonInput = { - internalNote: "Sample distribution list internal note", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `securityType` | [components.DistributionListSecurityTypeJson](../../models/components/distributionlistsecuritytypejson.md) | :heavy_minus_sign: | Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. | | -| `internalNote` | *string* | :heavy_minus_sign: | Internal note for Distribution Lists. | Sample distribution list internal note | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/distributionlistsecuritytype.md b/packages/typescript/docs/models/components/distributionlistsecuritytype.md new file mode 100644 index 000000000..57da725f8 --- /dev/null +++ b/packages/typescript/docs/models/components/distributionlistsecuritytype.md @@ -0,0 +1,17 @@ +# DistributionListSecurityType + +Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. + +## Example Usage + +```typescript +import { DistributionListSecurityType } from "@cvent/sdk/models/components"; + +let value: DistributionListSecurityType = "PRIVATE"; +``` + +## Values + +```typescript +"PRIVATE" | "SEMI_PRIVATE" | "PUBLIC" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/distributionlistsecuritytypejson.md b/packages/typescript/docs/models/components/distributionlistsecuritytypejson.md deleted file mode 100644 index 109cf3991..000000000 --- a/packages/typescript/docs/models/components/distributionlistsecuritytypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# DistributionListSecurityTypeJson - -Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. - -## Example Usage - -```typescript -import { DistributionListSecurityTypeJson } from "@cvent/sdk/models/components"; - -let value: DistributionListSecurityTypeJson = "PRIVATE"; -``` - -## Values - -```typescript -"PRIVATE" | "SEMI_PRIVATE" | "PUBLIC" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/distributionliststatus.md b/packages/typescript/docs/models/components/distributionliststatus.md new file mode 100644 index 000000000..9a5cc451f --- /dev/null +++ b/packages/typescript/docs/models/components/distributionliststatus.md @@ -0,0 +1,17 @@ +# DistributionListStatus + +Type of distribution list status. + +## Example Usage + +```typescript +import { DistributionListStatus } from "@cvent/sdk/models/components"; + +let value: DistributionListStatus = "PENDING"; +``` + +## Values + +```typescript +"PENDING" | "PROCESSING" | "COMPLETE" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/distributionliststatusjson.md b/packages/typescript/docs/models/components/distributionliststatusjson.md deleted file mode 100644 index 87fd33c04..000000000 --- a/packages/typescript/docs/models/components/distributionliststatusjson.md +++ /dev/null @@ -1,17 +0,0 @@ -# DistributionListStatusJson - -Type of distribution list status. - -## Example Usage - -```typescript -import { DistributionListStatusJson } from "@cvent/sdk/models/components"; - -let value: DistributionListStatusJson = "PENDING"; -``` - -## Values - -```typescript -"PENDING" | "PROCESSING" | "COMPLETE" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/documenttype1.md b/packages/typescript/docs/models/components/documenttype1.md new file mode 100644 index 000000000..bd2ea8e8f --- /dev/null +++ b/packages/typescript/docs/models/components/documenttype1.md @@ -0,0 +1,17 @@ +# DocumentType1 + +The document type. + +## Example Usage + +```typescript +import { DocumentType1 } from "@cvent/sdk/models/components"; + +let value: DocumentType1 = "HTM"; +``` + +## Values + +```typescript +"AI" | "AVI" | "BMP" | "DOC" | "DOCX" | "EML" | "EPS" | "FLV" | "GIF" | "HTM" | "HTML" | "ICS" | "JFIF" | "JPEG" | "JPG" | "LINK" | "MOV" | "MP4" | "MSG" | "ONE" | "OST" | "PDF" | "PNG" | "PPT" | "PPTX" | "PST" | "SVG" | "TIF" | "TIFF" | "TXT" | "WMV" | "XLS" | "XLSX" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/documenttypejson0.md b/packages/typescript/docs/models/components/documenttypejson0.md deleted file mode 100644 index 811b61db2..000000000 --- a/packages/typescript/docs/models/components/documenttypejson0.md +++ /dev/null @@ -1,17 +0,0 @@ -# DocumentTypeJson0 - -The document type. - -## Example Usage - -```typescript -import { DocumentTypeJson0 } from "@cvent/sdk/models/components"; - -let value: DocumentTypeJson0 = "EPS"; -``` - -## Values - -```typescript -"AI" | "AVI" | "BMP" | "DOC" | "DOCX" | "EML" | "EPS" | "FLV" | "GIF" | "HTM" | "HTML" | "ICS" | "JFIF" | "JPEG" | "JPG" | "LINK" | "MOV" | "MP4" | "MSG" | "ONE" | "OST" | "PDF" | "PNG" | "PPT" | "PPTX" | "PST" | "SVG" | "TIF" | "TIFF" | "TXT" | "WMV" | "XLS" | "XLSX" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/emailhistoryjson.md b/packages/typescript/docs/models/components/emailhistoryjson.md index a3a34f80e..bd8d385e1 100644 --- a/packages/typescript/docs/models/components/emailhistoryjson.md +++ b/packages/typescript/docs/models/components/emailhistoryjson.md @@ -52,7 +52,7 @@ let value: EmailHistoryJson = { | `subject` | *string* | :heavy_minus_sign: | Subject of the email. | Event Invitation | | `from` | *string* | :heavy_minus_sign: | From email address of the email. | example@example.com | | `to` | *string* | :heavy_minus_sign: | Recipient address of the email. | example@example.com | -| `type` | [components.EmailTypeJson3](../../models/components/emailtypejson3.md) | :heavy_minus_sign: | Denotes the type of the email. | Invitation | +| `type` | [components.EmailTypeJson1](../../models/components/emailtypejson1.md) | :heavy_minus_sign: | Denotes the type of the email. | Invitation | | `sent` | [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 email was sent. | 2017-01-02T02:30:00Z | | `status` | [components.EmailStatusJson](../../models/components/emailstatusjson.md) | :heavy_minus_sign: | This is used to denote the status of the email sending | Sent | | `undeliverable` | *boolean* | :heavy_minus_sign: | Flag to indicate if email was undelivered. | false | diff --git a/packages/typescript/docs/models/components/emailjson1.md b/packages/typescript/docs/models/components/emailjson1.md index 336e784f1..33992c886 100644 --- a/packages/typescript/docs/models/components/emailjson1.md +++ b/packages/typescript/docs/models/components/emailjson1.md @@ -15,8 +15,8 @@ let value: EmailJson1 = { ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `type` | [components.EmailTypeJson1](../../models/components/emailtypejson1.md) | :heavy_minus_sign: | The type of the email. | work | -| `value` | *string* | :heavy_check_mark: | The email of the user. | support@cvent.com | -| `primary` | *boolean* | :heavy_minus_sign: | True indicates the email is primary. | true | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `type` | [components.EmailTypeJson](../../models/components/emailtypejson.md) | :heavy_minus_sign: | The type of the email. | work | +| `value` | *string* | :heavy_check_mark: | The email of the user. | support@cvent.com | +| `primary` | *boolean* | :heavy_minus_sign: | True indicates the email is primary. | true | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/emailtypejson.md b/packages/typescript/docs/models/components/emailtypejson.md new file mode 100644 index 000000000..82c795442 --- /dev/null +++ b/packages/typescript/docs/models/components/emailtypejson.md @@ -0,0 +1,17 @@ +# EmailTypeJson + +The type of the email. + +## Example Usage + +```typescript +import { EmailTypeJson } from "@cvent/sdk/models/components"; + +let value: EmailTypeJson = "work"; +``` + +## Values + +```typescript +"work" | "home" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/emailtypejson1.md b/packages/typescript/docs/models/components/emailtypejson1.md index 56dcf2815..795288b0d 100644 --- a/packages/typescript/docs/models/components/emailtypejson1.md +++ b/packages/typescript/docs/models/components/emailtypejson1.md @@ -1,17 +1,17 @@ # EmailTypeJson1 -The type of the email. +Denotes the type of the email. ## Example Usage ```typescript import { EmailTypeJson1 } from "@cvent/sdk/models/components"; -let value: EmailTypeJson1 = "work"; +let value: EmailTypeJson1 = "Invitation"; ``` ## Values ```typescript -"work" | "home" +"Invitation" | "Invitation Reminder" | "Registration Confirmation" | "Regret" | "Post Event Feedback" | "Custom Invitee Message" | "Custom Declinee Message" | "Event Reminder" | "Custom Attendee Message" | "Custom One-Time Message" | "Planner Report" | "Event Update" | "Custom Undecided Message" | "Custom Attended Message" | "Modification Confirmation" | "Cancellation Confirmation" | "Guest Event Reminder" | "Guest Registration Notification" | "Custom Guest Message" | "Guest Post Event Feedback" | "Invitee Session Email" | "Guest Session Email" | "Approval Pending Notification" | "Approval Denied Notification" | "Administrator Registration Confirmation" | "CrowdCompass Event Guide Invitation" | "CrowdCompass App Download" | "Waitlist Notification" | "Session Waitlist Notification" | "Shoulder Date Notification" | "Selected Roommate Notification" | "Matched Roommate Notification" | "Declined Roommate Notification" | "OnArrival Post Event Feedback" | "OnArrival Guest Post Event Feedback" | "Travel Modification Confirmation" | "Custom" | "New Appointment" | "Appointment Accepted" | "Appointment Declined" | "Appointment Cancelled" | "Appointment Edited" | "Pending Appointment Reminder" | "Upcoming Appointment Reminder" | "Attendee Removed" | "Opt In Email" | "Resource Center Invitation" | "Single Task Reminder" | "Mobile App Invitation" | "Login Verification Code" | "Save The Date" | "All Tasks Reminder" | "Exhibitor Admin Invitation" | "Exhibitor Admin Reminder" | "Exhibitor Device Rental Access Code" | "Exhibitor App License Access Code" | "Exhibitor Leads Export" | "Stakeholder Feedback Invitation" | "Exhibitor Task Reminder" | "LeadCapture Requested Materials" | "Integration Alerts" | "Unknown" ``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/emailtypejson3.md b/packages/typescript/docs/models/components/emailtypejson3.md deleted file mode 100644 index 8d3578b49..000000000 --- a/packages/typescript/docs/models/components/emailtypejson3.md +++ /dev/null @@ -1,17 +0,0 @@ -# EmailTypeJson3 - -Denotes the type of the email. - -## Example Usage - -```typescript -import { EmailTypeJson3 } from "@cvent/sdk/models/components"; - -let value: EmailTypeJson3 = "Invitation"; -``` - -## Values - -```typescript -"Invitation" | "Invitation Reminder" | "Registration Confirmation" | "Regret" | "Post Event Feedback" | "Custom Invitee Message" | "Custom Declinee Message" | "Event Reminder" | "Custom Attendee Message" | "Custom One-Time Message" | "Planner Report" | "Event Update" | "Custom Undecided Message" | "Custom Attended Message" | "Modification Confirmation" | "Cancellation Confirmation" | "Guest Event Reminder" | "Guest Registration Notification" | "Custom Guest Message" | "Guest Post Event Feedback" | "Invitee Session Email" | "Guest Session Email" | "Approval Pending Notification" | "Approval Denied Notification" | "Administrator Registration Confirmation" | "CrowdCompass Event Guide Invitation" | "CrowdCompass App Download" | "Waitlist Notification" | "Session Waitlist Notification" | "Shoulder Date Notification" | "Selected Roommate Notification" | "Matched Roommate Notification" | "Declined Roommate Notification" | "OnArrival Post Event Feedback" | "OnArrival Guest Post Event Feedback" | "Travel Modification Confirmation" | "Custom" | "New Appointment" | "Appointment Accepted" | "Appointment Declined" | "Appointment Cancelled" | "Appointment Edited" | "Pending Appointment Reminder" | "Upcoming Appointment Reminder" | "Attendee Removed" | "Opt In Email" | "Resource Center Invitation" | "Single Task Reminder" | "Mobile App Invitation" | "Login Verification Code" | "Save The Date" | "All Tasks Reminder" | "Exhibitor Admin Invitation" | "Exhibitor Admin Reminder" | "Exhibitor Device Rental Access Code" | "Exhibitor App License Access Code" | "Exhibitor Leads Export" | "Stakeholder Feedback Invitation" | "Exhibitor Task Reminder" | "LeadCapture Requested Materials" | "Integration Alerts" | "Unknown" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/encodingprofile.md b/packages/typescript/docs/models/components/encodingprofile.md new file mode 100644 index 000000000..5df113d40 --- /dev/null +++ b/packages/typescript/docs/models/components/encodingprofile.md @@ -0,0 +1,17 @@ +# EncodingProfile + +Denotes the profile to use when encoding the video. Planner profile is for encoding high-quality event content, like session videos. Attendee profile is for encoding lower-quality content intended to go on attendee profiles and social feeds in the event. + +## Example Usage + +```typescript +import { EncodingProfile } from "@cvent/sdk/models/components"; + +let value: EncodingProfile = "Planner"; +``` + +## Values + +```typescript +"Planner" | "Attendee" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/encodingprofilejson.md b/packages/typescript/docs/models/components/encodingprofilejson.md deleted file mode 100644 index a348023d3..000000000 --- a/packages/typescript/docs/models/components/encodingprofilejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# EncodingProfileJson - -Denotes the profile to use when encoding the video. Planner profile is for encoding high-quality event content, like session videos. Attendee profile is for encoding lower-quality content intended to go on attendee profiles and social feeds in the event. - -## Example Usage - -```typescript -import { EncodingProfileJson } from "@cvent/sdk/models/components"; - -let value: EncodingProfileJson = "Planner"; -``` - -## Values - -```typescript -"Planner" | "Attendee" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/errorresponse1.md b/packages/typescript/docs/models/components/errorresponse1.md index 1be4a9302..1fff6a842 100644 --- a/packages/typescript/docs/models/components/errorresponse1.md +++ b/packages/typescript/docs/models/components/errorresponse1.md @@ -23,9 +23,9 @@ let value: ErrorResponse1 = { ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `code` | *number* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | -| `message` | *string* | :heavy_check_mark: | A brief description of the error. | Bad Request | -| `target` | *string* | :heavy_minus_sign: | The target resource of the error. | example target | -| `details` | [components.ZeroAllOf1](../../models/components/zeroallof1.md)[] | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `code` | *number* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | +| `message` | *string* | :heavy_check_mark: | A brief description of the error. | Bad Request | +| `target` | *string* | :heavy_minus_sign: | The target resource of the error. | example target | +| `details` | [components.ErrorResponseBase](../../models/components/errorresponsebase.md)[] | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/errorresponse2.md b/packages/typescript/docs/models/components/errorresponse2.md index c0331a4ca..379bae578 100644 --- a/packages/typescript/docs/models/components/errorresponse2.md +++ b/packages/typescript/docs/models/components/errorresponse2.md @@ -23,9 +23,9 @@ let value: ErrorResponse2 = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `code` | *number* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | -| `message` | *string* | :heavy_check_mark: | A brief description of the error. | Bad Request | -| `target` | *string* | :heavy_minus_sign: | The target resource of the error. | example target | -| `details` | [components.ErrorResponseBase](../../models/components/errorresponsebase.md)[] | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `code` | *number* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | +| `message` | *string* | :heavy_check_mark: | A brief description of the error. | Bad Request | +| `target` | *string* | :heavy_minus_sign: | The target resource of the error. | example target | +| `details` | [components.ZeroAllOf1](../../models/components/zeroallof1.md)[] | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/event1.md b/packages/typescript/docs/models/components/event1.md index 56b60aabe..0effb9368 100644 --- a/packages/typescript/docs/models/components/event1.md +++ b/packages/typescript/docs/models/components/event1.md @@ -141,9 +141,9 @@ let value: Event1 = { | `capacity` | *number* | :heavy_minus_sign: | The maximum amount of attendees that can attend the event. Only used for events with the registration feature. | 50 | | `planners` | [components.PlannerJson2](../../models/components/plannerjson2.md)[] | :heavy_check_mark: | A collection of contacts representing the event planners. | | | `stakeholders` | [components.StakeholderJson](../../models/components/stakeholderjson.md)[] | :heavy_minus_sign: | A collection of contacts representing event stakeholders. | | -| `customFields` | [components.CustomFieldJson3](../../models/components/customfieldjson3.md)[] | :heavy_minus_sign: | Collection of custom fields. | | +| `customFields` | [components.CustomFieldJson2](../../models/components/customfieldjson2.md)[] | :heavy_minus_sign: | Collection of custom fields. | | | ~~`category`~~ | [components.EventLookup](../../models/components/eventlookup.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The category to which this event belongs (no longer supported). | | -| `type` | [components.EventTypeJson1](../../models/components/eventtypejson1.md) | :heavy_check_mark: | Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. | Conference | +| `type` | [components.EventTypeJson](../../models/components/eventtypejson.md) | :heavy_check_mark: | Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. | Conference | | `links` | [components.EventLinksJson](../../models/components/eventlinksjson.md) | :heavy_minus_sign: | Represents the links associated with an event. | {
"invitation": {
"href": "https://cvent.com"
},
"agenda": {
"href": "https://cvent.com"
},
"summary": {
"href": "https://cvent.com"
},
"registration": {
"href": "https://cvent.com"
}
} | | `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 | | `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 | diff --git a/packages/typescript/docs/models/components/event12.md b/packages/typescript/docs/models/components/event12.md new file mode 100644 index 000000000..f53e256d8 --- /dev/null +++ b/packages/typescript/docs/models/components/event12.md @@ -0,0 +1,19 @@ +# Event12 + +Event details. + +## Example Usage + +```typescript +import { Event12 } from "@cvent/sdk/models/components"; + +let value: Event12 = { + id: "50dc08af-24a9-4d01-84be-3d43133dc945", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `id` | *string* | :heavy_minus_sign: | Unique identifier for the event linked with the RFP, if any. | 50dc08af-24a9-4d01-84be-3d43133dc945 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/event21.md b/packages/typescript/docs/models/components/event21.md deleted file mode 100644 index 441d524a7..000000000 --- a/packages/typescript/docs/models/components/event21.md +++ /dev/null @@ -1,19 +0,0 @@ -# Event21 - -The Associated Event. - -## Example Usage - -```typescript -import { Event21 } from "@cvent/sdk/models/components"; - -let value: Event21 = { - id: "3db28cfc-db22-11eb-8d19-0242ac130003", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *string* | :heavy_check_mark: | Event id | 3db28cfc-db22-11eb-8d19-0242ac130003 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/event3.md b/packages/typescript/docs/models/components/event3.md new file mode 100644 index 000000000..8f239017f --- /dev/null +++ b/packages/typescript/docs/models/components/event3.md @@ -0,0 +1,19 @@ +# Event3 + +The Associated Event. + +## Example Usage + +```typescript +import { Event3 } from "@cvent/sdk/models/components"; + +let value: Event3 = { + id: "3db28cfc-db22-11eb-8d19-0242ac130003", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_check_mark: | Event id | 3db28cfc-db22-11eb-8d19-0242ac130003 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventallof.md b/packages/typescript/docs/models/components/eventallof.md deleted file mode 100644 index 3e6411dce..000000000 --- a/packages/typescript/docs/models/components/eventallof.md +++ /dev/null @@ -1,17 +0,0 @@ -# EventAllOf - -Event ID - -## Example Usage - -```typescript -import { EventAllOf } from "@cvent/sdk/models/components"; - -let value: EventAllOf = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | ID of the event where the contact was created, applicable when contact snapshot is enabled for an event. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventcontactid.md b/packages/typescript/docs/models/components/eventcontactid.md new file mode 100644 index 000000000..1d86b72e1 --- /dev/null +++ b/packages/typescript/docs/models/components/eventcontactid.md @@ -0,0 +1,21 @@ +# EventContactId + +A pair of event and contact id. + +## Example Usage + +```typescript +import { EventContactId } from "@cvent/sdk/models/components"; + +let value: EventContactId = { + eventId: "5ed83e8c-7476-4a6a-8553-4dc91889dab5", + contactId: "5d8913d8-630e-4a79-ba34-9d500b6aaa92", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `eventId` | *string* | :heavy_check_mark: | ID of the event. | +| `contactId` | *string* | :heavy_check_mark: | ID of the contact. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventcontactidjson.md b/packages/typescript/docs/models/components/eventcontactidjson.md deleted file mode 100644 index d4a8d7fd1..000000000 --- a/packages/typescript/docs/models/components/eventcontactidjson.md +++ /dev/null @@ -1,21 +0,0 @@ -# EventContactIdJson - -A pair of event and contact id. - -## Example Usage - -```typescript -import { EventContactIdJson } from "@cvent/sdk/models/components"; - -let value: EventContactIdJson = { - eventId: "e549e33d-88a0-4c92-ab6b-f9fbd0b81d32", - contactId: "a3d0f6f1-6ed7-4c66-ac4b-738fcaeae4e1", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `eventId` | *string* | :heavy_check_mark: | ID of the event. | -| `contactId` | *string* | :heavy_check_mark: | ID of the contact. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventemailspaginatedresponse.md b/packages/typescript/docs/models/components/eventemailspaginatedresponse.md index d64ee7d28..4dc6daf52 100644 --- a/packages/typescript/docs/models/components/eventemailspaginatedresponse.md +++ b/packages/typescript/docs/models/components/eventemailspaginatedresponse.md @@ -57,5 +57,5 @@ let value: EventEmailsPaginatedResponse = { | Field | Type | Required | Description | | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `paging` | [components.PagingJson19](../../models/components/pagingjson19.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `paging` | [components.PagingJson2](../../models/components/pagingjson2.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | | `data` | [components.EventEmailJson](../../models/components/eventemailjson.md)[] | :heavy_check_mark: | Collection of emails for a specific event. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventformattype.md b/packages/typescript/docs/models/components/eventformattype.md new file mode 100644 index 000000000..d23f85248 --- /dev/null +++ b/packages/typescript/docs/models/components/eventformattype.md @@ -0,0 +1,17 @@ +# EventFormatType + +Event format type. + +## Example Usage + +```typescript +import { EventFormatType } from "@cvent/sdk/models/components"; + +let value: EventFormatType = "VIRTUAL"; +``` + +## Values + +```typescript +"IN_PERSON" | "HYBRID" | "VIRTUAL" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventformattypejson0.md b/packages/typescript/docs/models/components/eventformattypejson0.md deleted file mode 100644 index 392c0dd32..000000000 --- a/packages/typescript/docs/models/components/eventformattypejson0.md +++ /dev/null @@ -1,17 +0,0 @@ -# EventFormatTypeJson0 - -Event format type. - -## Example Usage - -```typescript -import { EventFormatTypeJson0 } from "@cvent/sdk/models/components"; - -let value: EventFormatTypeJson0 = "HYBRID"; -``` - -## Values - -```typescript -"IN_PERSON" | "HYBRID" | "VIRTUAL" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventinput.md b/packages/typescript/docs/models/components/eventinput.md index 9c1922be5..daf775589 100644 --- a/packages/typescript/docs/models/components/eventinput.md +++ b/packages/typescript/docs/models/components/eventinput.md @@ -53,4 +53,4 @@ let value: EventInput = { | `note` | *string* | :heavy_minus_sign: | Event note created by planners for internal use. | This event will need some coordination with external systems. | | `languages` | *string*[] | :heavy_check_mark: | List of IETF language tags enabled for the event. This field supports reading multiple language tags but supports writing only one language to an event. | | | `planners` | [components.PlannerJson2Input](../../models/components/plannerjson2input.md)[] | :heavy_check_mark: | A collection of contacts representing the event planners. | | -| `type` | [components.EventTypeJson1](../../models/components/eventtypejson1.md) | :heavy_check_mark: | Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. | Conference | \ No newline at end of file +| `type` | [components.EventTypeJson](../../models/components/eventtypejson.md) | :heavy_check_mark: | Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. | Conference | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventjson.md b/packages/typescript/docs/models/components/eventjson.md new file mode 100644 index 000000000..c6f6f577c --- /dev/null +++ b/packages/typescript/docs/models/components/eventjson.md @@ -0,0 +1,19 @@ +# EventJson + +ID of the event. + +## Example Usage + +```typescript +import { EventJson } from "@cvent/sdk/models/components"; + +let value: EventJson = { + id: "103097a4-143d-11e5-9f99-d0a637ee0032", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_check_mark: | UUID of the event. | 103097a4-143d-11e5-9f99-d0a637ee0032 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventjson0.md b/packages/typescript/docs/models/components/eventjson0.md deleted file mode 100644 index a534a3ea1..000000000 --- a/packages/typescript/docs/models/components/eventjson0.md +++ /dev/null @@ -1,19 +0,0 @@ -# EventJson0 - -Event details. - -## Example Usage - -```typescript -import { EventJson0 } from "@cvent/sdk/models/components"; - -let value: EventJson0 = { - id: "50dc08af-24a9-4d01-84be-3d43133dc945", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | Unique identifier for the event linked with the RFP, if any. | 50dc08af-24a9-4d01-84be-3d43133dc945 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventjson1.md b/packages/typescript/docs/models/components/eventjson1.md index bb9ec1967..e99b3a2e9 100644 --- a/packages/typescript/docs/models/components/eventjson1.md +++ b/packages/typescript/docs/models/components/eventjson1.md @@ -1,6 +1,6 @@ # EventJson1 -ID of the event. +Event ID Information. ## Example Usage @@ -8,7 +8,7 @@ ID of the event. import { EventJson1 } from "@cvent/sdk/models/components"; let value: EventJson1 = { - id: "103097a4-143d-11e5-9f99-d0a637ee0032", + id: "3d808ee8-94f8-4f3a-9ad1-6b23f4e4c329", }; ``` @@ -16,4 +16,4 @@ let value: EventJson1 = { | Field | Type | Required | Description | Example | | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *string* | :heavy_check_mark: | UUID of the event. | 103097a4-143d-11e5-9f99-d0a637ee0032 | \ No newline at end of file +| `id` | *string* | :heavy_minus_sign: | Identifier of a particular Event. | 3d808ee8-94f8-4f3a-9ad1-6b23f4e4c329 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventjson2.md b/packages/typescript/docs/models/components/eventjson2.md deleted file mode 100644 index 2753553ef..000000000 --- a/packages/typescript/docs/models/components/eventjson2.md +++ /dev/null @@ -1,19 +0,0 @@ -# EventJson2 - -Event ID Information. - -## Example Usage - -```typescript -import { EventJson2 } from "@cvent/sdk/models/components"; - -let value: EventJson2 = { - id: "3d808ee8-94f8-4f3a-9ad1-6b23f4e4c329", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | Identifier of a particular Event. | 3d808ee8-94f8-4f3a-9ad1-6b23f4e4c329 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventjson3.md b/packages/typescript/docs/models/components/eventjson3.md new file mode 100644 index 000000000..293911140 --- /dev/null +++ b/packages/typescript/docs/models/components/eventjson3.md @@ -0,0 +1,19 @@ +# EventJson3 + +Detail object of an event which is associated to a survey. + +## Example Usage + +```typescript +import { EventJson3 } from "@cvent/sdk/models/components"; + +let value: EventJson3 = { + id: "9463c74e-18c6-401a-a710-ae0f485bf059", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_minus_sign: | Id of the associated event | 9463c74e-18c6-401a-a710-ae0f485bf059 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventjson4.md b/packages/typescript/docs/models/components/eventjson4.md deleted file mode 100644 index 3204da7f8..000000000 --- a/packages/typescript/docs/models/components/eventjson4.md +++ /dev/null @@ -1,19 +0,0 @@ -# EventJson4 - -Detail object of an event which is associated to a survey. - -## Example Usage - -```typescript -import { EventJson4 } from "@cvent/sdk/models/components"; - -let value: EventJson4 = { - id: "9463c74e-18c6-401a-a710-ae0f485bf059", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | Id of the associated event | 9463c74e-18c6-401a-a710-ae0f485bf059 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventjson5.md b/packages/typescript/docs/models/components/eventjson5.md new file mode 100644 index 000000000..c32b1d2cb --- /dev/null +++ b/packages/typescript/docs/models/components/eventjson5.md @@ -0,0 +1,19 @@ +# EventJson5 + +An event reference used in attendee insights to identify the event context for engagement data + +## Example Usage + +```typescript +import { EventJson5 } from "@cvent/sdk/models/components"; + +let value: EventJson5 = { + id: "04cb6ae2-0dc3-487b-953e-86d6abbdf7d3", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | A unique identifier (UUID) for the event where the engagement score applies | 04cb6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventjson6.md b/packages/typescript/docs/models/components/eventjson6.md index 6dcd021ea..9ba7828b7 100644 --- a/packages/typescript/docs/models/components/eventjson6.md +++ b/packages/typescript/docs/models/components/eventjson6.md @@ -1,6 +1,6 @@ # EventJson6 -An event reference used in attendee insights to identify the event context for engagement data +Details of the event. ## Example Usage @@ -8,12 +8,12 @@ An event reference used in attendee insights to identify the event context for e import { EventJson6 } from "@cvent/sdk/models/components"; let value: EventJson6 = { - id: "04cb6ae2-0dc3-487b-953e-86d6abbdf7d3", + id: "a150f1ee-6c54-4b01-90e6-d701748f0851", }; ``` ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | A unique identifier (UUID) for the event where the engagement score applies | 04cb6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_check_mark: | The unique ID of the event. | a150f1ee-6c54-4b01-90e6-d701748f0851 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventjson8.md b/packages/typescript/docs/models/components/eventjson8.md deleted file mode 100644 index b27152b6d..000000000 --- a/packages/typescript/docs/models/components/eventjson8.md +++ /dev/null @@ -1,19 +0,0 @@ -# EventJson8 - -Details of the event. - -## Example Usage - -```typescript -import { EventJson8 } from "@cvent/sdk/models/components"; - -let value: EventJson8 = { - id: "a150f1ee-6c54-4b01-90e6-d701748f0851", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *string* | :heavy_check_mark: | The unique ID of the event. | a150f1ee-6c54-4b01-90e6-d701748f0851 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventlite.md b/packages/typescript/docs/models/components/eventlite.md new file mode 100644 index 000000000..fed3d5796 --- /dev/null +++ b/packages/typescript/docs/models/components/eventlite.md @@ -0,0 +1,19 @@ +# EventLite + +The unique identifier of an event. + +## Example Usage + +```typescript +import { EventLite } from "@cvent/sdk/models/components"; + +let value: EventLite = { + id: "2ef03846-fced-4ce3-a077-d64ca891a4b1", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_check_mark: | The unique identifier for an event. | 2ef03846-fced-4ce3-a077-d64ca891a4b1 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventlitejson.md b/packages/typescript/docs/models/components/eventlitejson.md deleted file mode 100644 index 745fde7e6..000000000 --- a/packages/typescript/docs/models/components/eventlitejson.md +++ /dev/null @@ -1,19 +0,0 @@ -# EventLiteJson - -The unique identifier of an event. - -## Example Usage - -```typescript -import { EventLiteJson } from "@cvent/sdk/models/components"; - -let value: EventLiteJson = { - id: "2ef03846-fced-4ce3-a077-d64ca891a4b1", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *string* | :heavy_check_mark: | The unique identifier for an event. | 2ef03846-fced-4ce3-a077-d64ca891a4b1 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventorganization1.md b/packages/typescript/docs/models/components/eventorganization1.md new file mode 100644 index 000000000..233ade6d6 --- /dev/null +++ b/packages/typescript/docs/models/components/eventorganization1.md @@ -0,0 +1,35 @@ +# EventOrganization1 + +Details of organization which is hosting the event. + +## Example Usage + +```typescript +import { EventOrganization1 } from "@cvent/sdk/models/components"; + +let value: EventOrganization1 = { + organization: { + id: "50dc08af-24a9-4d01-84be-3d43133dc945", + }, + name: "Cvent Inc.", + type: "MILITARY", + address: { + countryCode: "US", + city: "Austin", + regionCode: "US-AL", + }, + eventsPerYear: 450, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `organization` | [components.Organization](../../models/components/organization.md) | :heavy_minus_sign: | Organization details. | | +| `confidentialProfile` | *boolean* | :heavy_minus_sign: | True indicates organization profile has to be kept confidential. | | +| `industry` | [components.Industry1](../../models/components/industry1.md) | :heavy_minus_sign: | Industry | | +| `name` | *string* | :heavy_check_mark: | Name of the organization hosting the event. | Cvent Inc. | +| `type` | [components.OrganizationType1](../../models/components/organizationtype1.md) | :heavy_check_mark: | Organization type. | | +| `address` | [components.Address1](../../models/components/address1.md) | :heavy_minus_sign: | Address details. | | +| `eventsPerYear` | *number* | :heavy_minus_sign: | Number of events per year. | 450 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventquestionjson.md b/packages/typescript/docs/models/components/eventquestionjson.md index d9df336cc..1d96f779a 100644 --- a/packages/typescript/docs/models/components/eventquestionjson.md +++ b/packages/typescript/docs/models/components/eventquestionjson.md @@ -44,5 +44,5 @@ let value: EventQuestionJson = { | `tag` | *string* | :heavy_minus_sign: | Tag of the question. It allows comparison of similar questions across multiple events. | All Admission Items | | `session` | [components.EventQuestionJsonSession](../../models/components/eventquestionjsonsession.md) | :heavy_minus_sign: | Represents the session associated to the question, if any. Blank if no session is associated. In addition, only one of the `session` or `admissionItem` object are populated - never both. | | | `admissionItem` | [components.EventQuestionJsonAdmissionItem](../../models/components/eventquestionjsonadmissionitem.md) | :heavy_minus_sign: | Represents the admission item associated to the question, if any. Blank if no admission item is associated. In addition, only one of the `session` or `admissionItem` object are populated - never both. | | -| `type` | [components.QuestionTypeJson3](../../models/components/questiontypejson3.md) | :heavy_minus_sign: | This object represents the type of a question | | +| `type` | [components.QuestionTypeJson2](../../models/components/questiontypejson2.md) | :heavy_minus_sign: | This object represents the type of a question | | | `internalNote` | *string* | :heavy_minus_sign: | Optional description to provide additional context of the question. | This question is for the event registration form. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventsurveyquestionjson.md b/packages/typescript/docs/models/components/eventsurveyquestionjson.md index 2a77b9f50..30fbf4f1e 100644 --- a/packages/typescript/docs/models/components/eventsurveyquestionjson.md +++ b/packages/typescript/docs/models/components/eventsurveyquestionjson.md @@ -94,15 +94,15 @@ let value: EventSurveyQuestionJson = { | `shortText` | *string* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | | `htmlText` | *string* | :heavy_minus_sign: | Html of the question | Question Html | | `code` | *string* | :heavy_minus_sign: | Question Code | 4l6x | -| `type` | [components.QuestionTypeJson2](../../models/components/questiontypejson2.md) | :heavy_minus_sign: | Question Type. | SingleChoice | -| `choices` | [components.ChoiceJson2](../../models/components/choicejson2.md)[] | :heavy_minus_sign: | List of choices for the question. | | -| `categories` | [components.CategoryJson2](../../models/components/categoryjson2.md)[] | :heavy_minus_sign: | List of categories for the question. | | -| `subCategories` | [components.TextFieldJson1](../../models/components/textfieldjson1.md)[] | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions | | -| `notApplicableAnswer` | [components.AdditionalChoiceJson1](../../models/components/additionalchoicejson1.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | -| `otherAnswer` | [components.AdditionalChoiceJson1](../../models/components/additionalchoicejson1.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | +| `type` | [components.QuestionTypeJson1](../../models/components/questiontypejson1.md) | :heavy_minus_sign: | Question Type. | SingleChoice | +| `choices` | [components.ChoiceJson1](../../models/components/choicejson1.md)[] | :heavy_minus_sign: | List of choices for the question. | | +| `categories` | [components.CategoryJson1](../../models/components/categoryjson1.md)[] | :heavy_minus_sign: | List of categories for the question. | | +| `subCategories` | [components.TextFieldJson](../../models/components/textfieldjson.md)[] | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions | | +| `notApplicableAnswer` | [components.AdditionalChoiceJson](../../models/components/additionalchoicejson.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | +| `otherAnswer` | [components.AdditionalChoiceJson](../../models/components/additionalchoicejson.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | | `comments` | *string* | :heavy_minus_sign: | Text Value of Comments Input box placeholder | Comments Text | | `required` | *boolean* | :heavy_minus_sign: | Is this a mandatory question | true | -| `fields` | [components.FieldJson2](../../models/components/fieldjson2.md)[] | :heavy_minus_sign: | List of fields for form/matrix questions | | +| `fields` | [components.FieldJson](../../models/components/fieldjson.md)[] | :heavy_minus_sign: | List of fields for form/matrix questions | | | `maxScore` | *number* | :heavy_minus_sign: | Max possible score | 20 | | `totalSum` | *number* | :heavy_minus_sign: | Total configured sum of all choices for number allocation question | 45 | | `survey` | [components.UuidJson](../../models/components/uuidjson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | diff --git a/packages/typescript/docs/models/components/eventsurveyrespondent.md b/packages/typescript/docs/models/components/eventsurveyrespondent.md index 3266dd378..3f0d3accd 100644 --- a/packages/typescript/docs/models/components/eventsurveyrespondent.md +++ b/packages/typescript/docs/models/components/eventsurveyrespondent.md @@ -69,7 +69,7 @@ let value: EventSurveyRespondent = { | `percentageScore` | *number* | :heavy_minus_sign: | Respondent Percentage Score | 70 | | `links` | [components.EventSurveyRespondentLinks](../../models/components/eventsurveyrespondentlinks.md) | :heavy_minus_sign: | Related links. | | | `sourceId` | *string* | :heavy_minus_sign: | Source IDs track respondents in an external system integrated with the Cvent survey. | IN4IDS1 | -| `event` | [components.EventJson4](../../models/components/eventjson4.md) | :heavy_minus_sign: | Detail object of an event which is associated to a survey. | | +| `event` | [components.EventJson3](../../models/components/eventjson3.md) | :heavy_minus_sign: | Detail object of an event which is associated to a survey. | | | `attendee` | [components.EventSurveyRespondentAttendee](../../models/components/eventsurveyrespondentattendee.md) | :heavy_minus_sign: | Associated attendee. | | | `contact` | [components.EventSurveyRespondentContact](../../models/components/eventsurveyrespondentcontact.md) | :heavy_minus_sign: | Associated contact. | | | `surveys` | [components.RespondentEventSurveyReferenceJson](../../models/components/respondenteventsurveyreferencejson.md)[] | :heavy_minus_sign: | List of associated surveys. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventsurveyresponse.md b/packages/typescript/docs/models/components/eventsurveyresponse.md index 173f491e2..2ea5a38ad 100644 --- a/packages/typescript/docs/models/components/eventsurveyresponse.md +++ b/packages/typescript/docs/models/components/eventsurveyresponse.md @@ -64,7 +64,7 @@ let value: EventSurveyResponse = { | `question` | [components.UuidJson](../../models/components/uuidjson.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | | | `answers` | [components.AnswerJson](../../models/components/answerjson.md)[] | :heavy_check_mark: | List of responded survey answers. | | | ~~`score`~~ | *number* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Answer score (This property is not supported). | 20 | -| `event` | [components.EventJson4](../../models/components/eventjson4.md) | :heavy_minus_sign: | Detail object of an event which is associated to a survey. | | +| `event` | [components.EventJson3](../../models/components/eventjson3.md) | :heavy_minus_sign: | Detail object of an event which is associated to a survey. | | | `survey` | [components.UuidJson](../../models/components/uuidjson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | | `session` | [components.UuidJson](../../models/components/uuidjson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | | `speaker` | [components.UuidJson](../../models/components/uuidjson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventtype1.md b/packages/typescript/docs/models/components/eventtype1.md new file mode 100644 index 000000000..752a0dda1 --- /dev/null +++ b/packages/typescript/docs/models/components/eventtype1.md @@ -0,0 +1,17 @@ +# EventType1 + +Event type. + +## Example Usage + +```typescript +import { EventType1 } from "@cvent/sdk/models/components"; + +let value: EventType1 = "BACHELOR_BACHELORETTE_PARTY"; +``` + +## Values + +```typescript +"ANNIVERSARY_BIRTHDAY" | "BACHELOR_BACHELORETTE_PARTY" | "BAR_BAT_MITZVAH" | "BUSINESS_MEETING" | "CONFERENCE_CONVENTION" | "CORPORATE_EVENT" | "CUSTOMER_EVENT" | "EDUCATIONAL_SEMINAR" | "FRATERNITY_SORORITY_GROUP" | "FUNDRAISER_CHARITY_EVENT" | "RECEPTION_HOLIDAY_PARTY" | "INCENTIVE_TRAVEL" | "REUNION" | "SHAREHOLDERS_MEETING" | "SPECIAL_EVENT" | "SPORTS_EVENT" | "TEAM_BUILDING_EVENT" | "TOUR_GROUP_VACATION" | "TRADE_SHOW_CONSUMER_SHOW" | "TRAINING" | "WEDDING" | "OTHER" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventtypejson.md b/packages/typescript/docs/models/components/eventtypejson.md new file mode 100644 index 000000000..f2a07b5c9 --- /dev/null +++ b/packages/typescript/docs/models/components/eventtypejson.md @@ -0,0 +1,17 @@ +# EventTypeJson + +Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. + +## Example Usage + +```typescript +import { EventTypeJson } from "@cvent/sdk/models/components"; + +let value: EventTypeJson = "Conference"; +``` + +## Values + +```typescript +"Celebration" | "Conference" | "CventEssentials" | "CventWebinar" | "Dinner" | "Forum" | "FundraiserBenefit" | "Holiday" | "IncentiveTrip" | "Meeting" | "OtherGeneral" | "PoliticalEvent" | "Reunion" | "SaveTheDate" | "Seminar" | "SimpleEvent" | "SportsEvent" | "TradeShow" | "TrainingSession" | "Webinar" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventtypejson0.md b/packages/typescript/docs/models/components/eventtypejson0.md deleted file mode 100644 index 90b42579a..000000000 --- a/packages/typescript/docs/models/components/eventtypejson0.md +++ /dev/null @@ -1,17 +0,0 @@ -# EventTypeJson0 - -Event type. - -## Example Usage - -```typescript -import { EventTypeJson0 } from "@cvent/sdk/models/components"; - -let value: EventTypeJson0 = "OTHER"; -``` - -## Values - -```typescript -"ANNIVERSARY_BIRTHDAY" | "BACHELOR_BACHELORETTE_PARTY" | "BAR_BAT_MITZVAH" | "BUSINESS_MEETING" | "CONFERENCE_CONVENTION" | "CORPORATE_EVENT" | "CUSTOMER_EVENT" | "EDUCATIONAL_SEMINAR" | "FRATERNITY_SORORITY_GROUP" | "FUNDRAISER_CHARITY_EVENT" | "RECEPTION_HOLIDAY_PARTY" | "INCENTIVE_TRAVEL" | "REUNION" | "SHAREHOLDERS_MEETING" | "SPECIAL_EVENT" | "SPORTS_EVENT" | "TEAM_BUILDING_EVENT" | "TOUR_GROUP_VACATION" | "TRADE_SHOW_CONSUMER_SHOW" | "TRAINING" | "WEDDING" | "OTHER" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventtypejson1.md b/packages/typescript/docs/models/components/eventtypejson1.md deleted file mode 100644 index ef755cfbe..000000000 --- a/packages/typescript/docs/models/components/eventtypejson1.md +++ /dev/null @@ -1,17 +0,0 @@ -# EventTypeJson1 - -Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. - -## Example Usage - -```typescript -import { EventTypeJson1 } from "@cvent/sdk/models/components"; - -let value: EventTypeJson1 = "Conference"; -``` - -## Values - -```typescript -"Celebration" | "Conference" | "CventEssentials" | "CventWebinar" | "Dinner" | "Forum" | "FundraiserBenefit" | "Holiday" | "IncentiveTrip" | "Meeting" | "OtherGeneral" | "PoliticalEvent" | "Reunion" | "SaveTheDate" | "Seminar" | "SimpleEvent" | "SportsEvent" | "TradeShow" | "TrainingSession" | "Webinar" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventupdate.md b/packages/typescript/docs/models/components/eventupdate.md index cc4d571af..4f1536237 100644 --- a/packages/typescript/docs/models/components/eventupdate.md +++ b/packages/typescript/docs/models/components/eventupdate.md @@ -131,9 +131,9 @@ let value: EventUpdate = { | `capacity` | *number* | :heavy_minus_sign: | The maximum number of individuals that can attend the event. Only used for events with the registration feature. | 50 | | `planners` | [components.PlannerJson2](../../models/components/plannerjson2.md)[] | :heavy_check_mark: | A collection of contacts representing the event planners. | | | `stakeholders` | [components.StakeholderJson](../../models/components/stakeholderjson.md)[] | :heavy_minus_sign: | A collection of contacts representing event stakeholders. | | -| `customFields` | [components.CustomFieldJson3](../../models/components/customfieldjson3.md)[] | :heavy_minus_sign: | Collection of custom fields. | | +| `customFields` | [components.CustomFieldJson2](../../models/components/customfieldjson2.md)[] | :heavy_minus_sign: | Collection of custom fields. | | | ~~`category`~~ | [components.EventUpdateLookup](../../models/components/eventupdatelookup.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The category to which this event belongs (no longer supported). | | -| `type` | [components.EventTypeJson1](../../models/components/eventtypejson1.md) | :heavy_check_mark: | Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. | Conference | +| `type` | [components.EventTypeJson](../../models/components/eventtypejson.md) | :heavy_check_mark: | Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. | Conference | | `links` | [components.EventLinksJson](../../models/components/eventlinksjson.md) | :heavy_minus_sign: | Represents the links associated with an event. | {
"invitation": {
"href": "https://cvent.com"
},
"agenda": {
"href": "https://cvent.com"
},
"summary": {
"href": "https://cvent.com"
},
"registration": {
"href": "https://cvent.com"
}
} | | `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 | | `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 | diff --git a/packages/typescript/docs/models/components/eventupdateinput.md b/packages/typescript/docs/models/components/eventupdateinput.md index 64db9ed37..d7b3b2b91 100644 --- a/packages/typescript/docs/models/components/eventupdateinput.md +++ b/packages/typescript/docs/models/components/eventupdateinput.md @@ -59,4 +59,4 @@ let value: EventUpdateInput = { | `languages` | *string*[] | :heavy_check_mark: | List of IETF language tags enabled for the event. This field supports reading multiple language tags but supports writing only one language to an event. | | | `capacity` | *number* | :heavy_minus_sign: | The maximum number of individuals that can attend the event. Only used for events with the registration feature. | 50 | | `planners` | [components.PlannerJson2Input](../../models/components/plannerjson2input.md)[] | :heavy_check_mark: | A collection of contacts representing the event planners. | | -| `type` | [components.EventTypeJson1](../../models/components/eventtypejson1.md) | :heavy_check_mark: | Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. | Conference | \ No newline at end of file +| `type` | [components.EventTypeJson](../../models/components/eventtypejson.md) | :heavy_check_mark: | Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. | Conference | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/exhibitorcategoryrequest.md b/packages/typescript/docs/models/components/exhibitorcategoryrequest.md index c5ddbb2e8..edc5ba662 100644 --- a/packages/typescript/docs/models/components/exhibitorcategoryrequest.md +++ b/packages/typescript/docs/models/components/exhibitorcategoryrequest.md @@ -22,7 +22,7 @@ let value: ExhibitorCategoryRequest = { | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `event` | [components.Event21](../../models/components/event21.md) | :heavy_check_mark: | The Associated Event. | | +| `event` | [components.Event3](../../models/components/event3.md) | :heavy_check_mark: | The Associated Event. | | | `name` | *string* | :heavy_check_mark: | Name of the exhibitor category | Automobile | | `description` | *string* | :heavy_minus_sign: | Exhibitor Category description | everything related to automobiles | | `order` | *number* | :heavy_check_mark: | order for exhibitor category | 3 | diff --git a/packages/typescript/docs/models/components/exhibitorcategoryresponse.md b/packages/typescript/docs/models/components/exhibitorcategoryresponse.md index eb4e5b7a9..d20ec9c23 100644 --- a/packages/typescript/docs/models/components/exhibitorcategoryresponse.md +++ b/packages/typescript/docs/models/components/exhibitorcategoryresponse.md @@ -33,7 +33,7 @@ let value: ExhibitorCategoryResponse = { | `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 | -| `event` | [components.Event21](../../models/components/event21.md) | :heavy_check_mark: | The Associated Event. | | +| `event` | [components.Event3](../../models/components/event3.md) | :heavy_check_mark: | The Associated Event. | | | `name` | *string* | :heavy_check_mark: | Name of the exhibitor category | Automobile | | `description` | *string* | :heavy_minus_sign: | Exhibitor Category description | everything related to automobiles | | `order` | *number* | :heavy_check_mark: | order for exhibitor category | 3 | diff --git a/packages/typescript/docs/models/components/exhibitorrequest.md b/packages/typescript/docs/models/components/exhibitorrequest.md index 342436aa2..5338ed37a 100644 --- a/packages/typescript/docs/models/components/exhibitorrequest.md +++ b/packages/typescript/docs/models/components/exhibitorrequest.md @@ -53,13 +53,13 @@ let value: ExhibitorRequest = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `event` | [components.Event21](../../models/components/event21.md) | :heavy_check_mark: | The Associated Event. | | +| `event` | [components.Event3](../../models/components/event3.md) | :heavy_check_mark: | The Associated Event. | | | `name` | *string* | :heavy_check_mark: | Name of the exhibitor. Cvent suggests limiting this to a maximum of 200 characters for optimal results. | Potterfield Harry | | `description` | *string* | :heavy_minus_sign: | Exhibitor description | A man who sells relatively good hotdogs | | `code` | *string* | :heavy_minus_sign: | Code used to identify the exhibitor | abc123 | | `sourceId` | *string* | :heavy_minus_sign: | Code used for marketing groupings | software | | `location` | *string* | :heavy_minus_sign: | Exhibitor location | Taj Mahal | -| `address` | [components.Address2](../../models/components/address2.md) | :heavy_minus_sign: | An object representing an address with various properties. | | +| `address` | [components.Address4](../../models/components/address4.md) | :heavy_minus_sign: | An object representing an address with various properties. | | | `email` | *string* | :heavy_minus_sign: | Email address of the exhibitor | h.potterfield@test.com | | `mobilePhone` | *string* | :heavy_minus_sign: | Mobile Phone of the exhibitor | 555-555-5555 | | `workPhone` | *string* | :heavy_minus_sign: | Work Phone of the exhibitor | 555-555-5555 | diff --git a/packages/typescript/docs/models/components/exhibitorresponse.md b/packages/typescript/docs/models/components/exhibitorresponse.md index 81f4fba87..4d98a723e 100644 --- a/packages/typescript/docs/models/components/exhibitorresponse.md +++ b/packages/typescript/docs/models/components/exhibitorresponse.md @@ -66,13 +66,13 @@ let value: ExhibitorResponse = { | `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 | -| `event` | [components.Event21](../../models/components/event21.md) | :heavy_check_mark: | The Associated Event. | | +| `event` | [components.Event3](../../models/components/event3.md) | :heavy_check_mark: | The Associated Event. | | | `name` | *string* | :heavy_check_mark: | Name of the exhibitor. Cvent suggests limiting this to a maximum of 200 characters for optimal results. | Potterfield Harry | | `description` | *string* | :heavy_minus_sign: | Exhibitor description | A man who sells relatively good hotdogs | | `code` | *string* | :heavy_minus_sign: | Code used to identify the exhibitor | abc123 | | `sourceId` | *string* | :heavy_minus_sign: | Code used for marketing groupings | software | | `location` | *string* | :heavy_minus_sign: | Exhibitor location | Taj Mahal | -| `address` | [components.Address2](../../models/components/address2.md) | :heavy_minus_sign: | An object representing an address with various properties. | | +| `address` | [components.Address4](../../models/components/address4.md) | :heavy_minus_sign: | An object representing an address with various properties. | | | `email` | *string* | :heavy_minus_sign: | Email address of the exhibitor | h.potterfield@test.com | | `mobilePhone` | *string* | :heavy_minus_sign: | Mobile Phone of the exhibitor | 555-555-5555 | | `workPhone` | *string* | :heavy_minus_sign: | Work Phone of the exhibitor | 555-555-5555 | diff --git a/packages/typescript/docs/models/components/existingaudiencesegment.md b/packages/typescript/docs/models/components/existingaudiencesegment.md index a52d60b87..250daf7ee 100644 --- a/packages/typescript/docs/models/components/existingaudiencesegment.md +++ b/packages/typescript/docs/models/components/existingaudiencesegment.md @@ -30,7 +30,7 @@ let value: ExistingAudienceSegment = { | `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 | -| `event` | [components.EventJson1](../../models/components/eventjson1.md) | :heavy_check_mark: | ID of the event. | | +| `event` | [components.EventJson](../../models/components/eventjson.md) | :heavy_check_mark: | ID of the event. | | | `name` | *string* | :heavy_check_mark: | Name of the audience segment. Must be unique in the event where the segment exists. | VIP Attendees | | `description` | *string* | :heavy_minus_sign: | Description of the audience segment. | A group of VIP attendees. | | `id` | *string* | :heavy_minus_sign: | ID of the audience segment. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | diff --git a/packages/typescript/docs/models/components/existingaudiotrack.md b/packages/typescript/docs/models/components/existingaudiotrack.md index 15e8a4dee..1b0b922cf 100644 --- a/packages/typescript/docs/models/components/existingaudiotrack.md +++ b/packages/typescript/docs/models/components/existingaudiotrack.md @@ -35,12 +35,12 @@ let value: ExistingAudioTrack = { | `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 | -| `video` | [components.VideoAssetIdJson](../../models/components/videoassetidjson.md) | :heavy_check_mark: | Video that this asset was created with. | | -| `type` | [components.AudioTrackTypeJson](../../models/components/audiotracktypejson.md) | :heavy_check_mark: | Denotes the file format of the audio track. | mp3 | +| `video` | [components.VideoAssetID](../../models/components/videoassetid.md) | :heavy_check_mark: | Video that this asset was created with. | | +| `type` | [components.AudioTrackType](../../models/components/audiotracktype.md) | :heavy_check_mark: | Denotes the file format of the audio track. | mp3 | | `language` | *string* | :heavy_check_mark: | IETF language tag for the audio track. | en-US | -| `variant` | [components.AudioTrackVariantJson](../../models/components/audiotrackvariantjson.md) | :heavy_minus_sign: | Denotes the variant of an audio track. Main is the primary audio track for this video. Alternate is a possible alternative to the main track. Commentary is a commentary on the primary audio or video track, e.g. a director's commentary. Dub is a translated version of the main audio track. Descriptive is an audio description of a video track. | Alternate | +| `variant` | [components.AudioTrackVariant](../../models/components/audiotrackvariant.md) | :heavy_minus_sign: | Denotes the variant of an audio track. Main is the primary audio track for this video. Alternate is a possible alternative to the main track. Commentary is a commentary on the primary audio or video track, e.g. a director's commentary. Dub is a translated version of the main audio track. Descriptive is an audio description of a video track. | Alternate | | `default` | *boolean* | :heavy_minus_sign: | True indicates this is the default audio track. | | | `duration` | *number* | :heavy_minus_sign: | Audio track duration (in milliseconds). | 3600000 | -| `status` | [components.AudioTrackStatusJson](../../models/components/audiotrackstatusjson.md) | :heavy_minus_sign: | Denotes the status of an audio track. Started indicates the request to upload in the API was submitted, and the URL you'll upload an audio track to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the audio track. Available indicates the audio track is available for use. | Started | +| `status` | [components.AudioTrackStatus](../../models/components/audiotrackstatus.md) | :heavy_minus_sign: | Denotes the status of an audio track. Started indicates the request to upload in the API was submitted, and the URL you'll upload an audio track to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the audio track. Available indicates the audio track is available for use. | Started | | `id` | *string* | :heavy_check_mark: | The identifier of an audio track. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `url` | [components.AssetLocationJson](../../models/components/assetlocationjson.md) | :heavy_minus_sign: | A URL associated with the asset. | | \ No newline at end of file +| `url` | [components.AssetLocation](../../models/components/assetlocation.md) | :heavy_minus_sign: | A URL associated with the asset. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/existingcustomfield.md b/packages/typescript/docs/models/components/existingcustomfield.md index da58a1a62..2c8c70a09 100644 --- a/packages/typescript/docs/models/components/existingcustomfield.md +++ b/packages/typescript/docs/models/components/existingcustomfield.md @@ -38,7 +38,7 @@ let value: ExistingCustomField = { | `name` | *string* | :heavy_check_mark: | The actual text of the custom field. | What is a your favorite color? | | `code` | *string* | :heavy_check_mark: | Code to uniquely identify custom field. | FAVORITE_COLOR_CODE | | `required` | *boolean* | :heavy_minus_sign: | Whether answer to custom field is mandatory or not. | true | -| `type` | [components.CustomFieldTypeJson1](../../models/components/customfieldtypejson1.md) | :heavy_check_mark: | This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. | Open Ended Text - One Line | +| `type` | [components.CustomFieldTypeJson](../../models/components/customfieldtypejson.md) | :heavy_check_mark: | This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. | Open Ended Text - One Line | | `details` | *components.ExistingCustomFieldDetails* | :heavy_minus_sign: | Type-specific details of the custom-field. | | | `order` | *number* | :heavy_minus_sign: | The order of the custom field on the display page. | 1 | | `helpText` | *string* | :heavy_minus_sign: | The help text of the custom field. | Enter your favorite color. | diff --git a/packages/typescript/docs/models/components/existingcustomfielddetails.md b/packages/typescript/docs/models/components/existingcustomfielddetails.md index a004fbd46..16b52a7c0 100644 --- a/packages/typescript/docs/models/components/existingcustomfielddetails.md +++ b/packages/typescript/docs/models/components/existingcustomfielddetails.md @@ -15,10 +15,10 @@ const value: components.ZeroOneOf1 = { }; ``` -### `components.OneOneOf` +### `components.One` ```typescript -const value: components.OneOneOf = { +const value: components.One = { from: new Date("2021-01-02T02:00:00Z"), to: new Date("2021-02-02T02:00:00Z"), format: "DateOnlyMonthFirst", diff --git a/packages/typescript/docs/models/components/existingcustomfielddetailsinput.md b/packages/typescript/docs/models/components/existingcustomfielddetailsinput.md index 407eb6ad0..40561819f 100644 --- a/packages/typescript/docs/models/components/existingcustomfielddetailsinput.md +++ b/packages/typescript/docs/models/components/existingcustomfielddetailsinput.md @@ -15,10 +15,10 @@ const value: components.ZeroOneOf1 = { }; ``` -### `components.OneOneOf` +### `components.One` ```typescript -const value: components.OneOneOf = { +const value: components.One = { from: new Date("2021-01-02T02:00:00Z"), to: new Date("2021-02-02T02:00:00Z"), format: "DateOnlyMonthFirst", diff --git a/packages/typescript/docs/models/components/existingcustomfieldinput.md b/packages/typescript/docs/models/components/existingcustomfieldinput.md index 395dbb314..d6d22cc27 100644 --- a/packages/typescript/docs/models/components/existingcustomfieldinput.md +++ b/packages/typescript/docs/models/components/existingcustomfieldinput.md @@ -32,7 +32,7 @@ let value: ExistingCustomFieldInput = { | `name` | *string* | :heavy_check_mark: | The actual text of the custom field. | What is a your favorite color? | | `code` | *string* | :heavy_check_mark: | Code to uniquely identify custom field. | FAVORITE_COLOR_CODE | | `required` | *boolean* | :heavy_minus_sign: | Whether answer to custom field is mandatory or not. | true | -| `type` | [components.CustomFieldTypeJson1](../../models/components/customfieldtypejson1.md) | :heavy_check_mark: | This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. | Open Ended Text - One Line | +| `type` | [components.CustomFieldTypeJson](../../models/components/customfieldtypejson.md) | :heavy_check_mark: | This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. | Open Ended Text - One Line | | `details` | *components.ExistingCustomFieldDetailsInput* | :heavy_minus_sign: | Type-specific details of the custom-field. | | | `helpText` | *string* | :heavy_minus_sign: | The help text of the custom field. | Enter your favorite color. | | `displayInDataTag` | [components.DisplayInDataTagJson](../../models/components/displayindatatagjson.md) | :heavy_minus_sign: | This option allows you to choose whether to display the custom field in emails. The field name and the value entered by the invitee are used in the My Agenda data tag. You can set the custom field to display always or only when answered. Only applicable to session custom fields. | No | diff --git a/packages/typescript/docs/models/components/existingdurationtype.md b/packages/typescript/docs/models/components/existingdurationtype.md index 83079a626..57d59231f 100644 --- a/packages/typescript/docs/models/components/existingdurationtype.md +++ b/packages/typescript/docs/models/components/existingdurationtype.md @@ -13,5 +13,5 @@ let value: ExistingDurationType = "API"; ## Values ```typescript -"RFID" | "OA" | "EDIT" | "LIVE" | "ON_DEMAND" | "API" +"RFID" | "OA" | "EDIT" | "LIVE" | "ON_DEMAND" | "API" | "MANUAL" | "IMPORT" | "EVENTAPP" ``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/existingeliteraturerequestdataforlead.md b/packages/typescript/docs/models/components/existingeliteraturerequestdataforlead.md index 047c737c8..1cbfbcfa4 100644 --- a/packages/typescript/docs/models/components/existingeliteraturerequestdataforlead.md +++ b/packages/typescript/docs/models/components/existingeliteraturerequestdataforlead.md @@ -34,7 +34,7 @@ let value: ExistingELiteratureRequestDataForLead = { | `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 | -| `event` | [components.Event21](../../models/components/event21.md) | :heavy_check_mark: | The Associated Event. | | +| `event` | [components.Event3](../../models/components/event3.md) | :heavy_check_mark: | The Associated Event. | | | `exhibitor` | [components.Exhibitor](../../models/components/exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | | `lead` | [components.Lead2](../../models/components/lead2.md) | :heavy_check_mark: | JSON schema for the Lead object | | | `documents` | [components.ELiteratureDocument](../../models/components/eliteraturedocument.md)[] | :heavy_check_mark: | Collection of E-literature documents sent to lead. | | diff --git a/packages/typescript/docs/models/components/existingexhibitoranswer.md b/packages/typescript/docs/models/components/existingexhibitoranswer.md index 6ea7e908e..f53e42088 100644 --- a/packages/typescript/docs/models/components/existingexhibitoranswer.md +++ b/packages/typescript/docs/models/components/existingexhibitoranswer.md @@ -35,7 +35,7 @@ let value: ExistingExhibitorAnswer = { | `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 | | `question` | [components.Uuid](../../models/components/uuid.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | | -| `event` | [components.Event21](../../models/components/event21.md) | :heavy_check_mark: | The Associated Event. | | +| `event` | [components.Event3](../../models/components/event3.md) | :heavy_check_mark: | The Associated Event. | | | `exhibitor` | [components.Exhibitor](../../models/components/exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | | `answers` | [components.Answer2](../../models/components/answer2.md)[] | :heavy_check_mark: | List of answers | | | `id` | *string* | :heavy_check_mark: | Exhibitor Answer id | 06d2bfce-1793-11ec-9621-0242ac130002 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/existingexhibitoranswerinput.md b/packages/typescript/docs/models/components/existingexhibitoranswerinput.md index 80937de5a..f1bcccb8c 100644 --- a/packages/typescript/docs/models/components/existingexhibitoranswerinput.md +++ b/packages/typescript/docs/models/components/existingexhibitoranswerinput.md @@ -26,6 +26,6 @@ let value: ExistingExhibitorAnswerInput = { | Field | Type | Required | Description | | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | | `question` | [components.Uuid](../../models/components/uuid.md) | :heavy_check_mark: | The reference to the related entity. Contains only the ID of the related entity. | -| `event` | [components.Event21](../../models/components/event21.md) | :heavy_check_mark: | The Associated Event. | +| `event` | [components.Event3](../../models/components/event3.md) | :heavy_check_mark: | The Associated Event. | | `exhibitor` | [components.Exhibitor](../../models/components/exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | `answers` | [components.Answer2](../../models/components/answer2.md)[] | :heavy_check_mark: | List of answers | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/existingexhibitorquestion.md b/packages/typescript/docs/models/components/existingexhibitorquestion.md index f95b7a791..8b0ca096e 100644 --- a/packages/typescript/docs/models/components/existingexhibitorquestion.md +++ b/packages/typescript/docs/models/components/existingexhibitorquestion.md @@ -48,14 +48,14 @@ let value: ExistingExhibitorQuestion = { | `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 | -| `event` | [components.Event21](../../models/components/event21.md) | :heavy_check_mark: | The Associated Event. | | +| `event` | [components.Event3](../../models/components/event3.md) | :heavy_check_mark: | The Associated Event. | | | `text` | *string* | :heavy_check_mark: | The actual text of the exhibitor question. | Is there a business need? | | `code` | *string* | :heavy_minus_sign: | System or User defined event level unique exhibitor question code. | A001 | | `type` | [components.ExhibitorQuestionType](../../models/components/exhibitorquestiontype.md) | :heavy_check_mark: | Enumeration indicating the type of data collected by an exhibitor question. 'MultiChoice': Respondents select multiple options from a list. 'SingleChoice': restricts respondents to a single option from a list, often displayed as a dropdown or radio button. 'OpenEndedTextOneLine': brief text responses, such as names or short answers. 'OpenEndedTextCommentBox': longer text responses for detailed feedback. 'OpenEndedDateTime': captures date and time information from respondents. | SingleChoice | | `required` | *boolean* | :heavy_check_mark: | A boolean indicating whether the question is mandatory or not | true | | `choices` | [components.BaseChoice](../../models/components/basechoice.md)[] | :heavy_minus_sign: | An array of choices for the exhibitor question. | | -| `notApplicableAnswer` | [components.AdditionalChoice](../../models/components/additionalchoice.md) | :heavy_minus_sign: | Contains text of additional choice | | -| `otherAnswer` | [components.AdditionalChoice](../../models/components/additionalchoice.md) | :heavy_minus_sign: | Contains text of additional choice | | +| `notApplicableAnswer` | [components.AdditionalChoice1](../../models/components/additionalchoice1.md) | :heavy_minus_sign: | Contains text of additional choice | | +| `otherAnswer` | [components.AdditionalChoice1](../../models/components/additionalchoice1.md) | :heavy_minus_sign: | Contains text of additional choice | | | `answerFormat` | [components.ExhibitorAnswerFormat](../../models/components/exhibitoranswerformat.md) | :heavy_minus_sign: | Specifies the format for displaying answers based on the question type. For SingleChoice questions, choose between 'Dropdown' or 'RadioButton'. For OpenEndedTextOneLine questions, select 'General', 'EmailAddress', or 'PhoneNumber'. For OpenEndedDateTime questions, use 'DateAndTime' or 'Date'. | RadioButton | | `answerLimits` | [components.ExhibitorAnswerLimits](../../models/components/exhibitoranswerlimits.md) | :heavy_minus_sign: | Defines the limits for answers to exhibitor questions. | | | `defaultToCurrentDate` | *boolean* | :heavy_minus_sign: | True indicates the current date and time is automatically set as the default value for OpenEndedDateTime questions. | true | diff --git a/packages/typescript/docs/models/components/existingfile.md b/packages/typescript/docs/models/components/existingfile.md index 8ac904fff..7cb2822a4 100644 --- a/packages/typescript/docs/models/components/existingfile.md +++ b/packages/typescript/docs/models/components/existingfile.md @@ -32,7 +32,7 @@ let value: ExistingFile = { | `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 | -| `event` | [components.Event21](../../models/components/event21.md) | :heavy_check_mark: | The Associated Event. | | +| `event` | [components.Event3](../../models/components/event3.md) | :heavy_check_mark: | The Associated Event. | | | `exhibitor` | [components.Exhibitor](../../models/components/exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | | `displayName` | *string* | :heavy_check_mark: | Display name of the file. | Marketing Page | | `hidden` | *boolean* | :heavy_minus_sign: | True indicates the file is hidden from attendees. | | diff --git a/packages/typescript/docs/models/components/existingspeaker.md b/packages/typescript/docs/models/components/existingspeaker.md index a6a9a892d..7e0e886f3 100644 --- a/packages/typescript/docs/models/components/existingspeaker.md +++ b/packages/typescript/docs/models/components/existingspeaker.md @@ -68,8 +68,8 @@ let value: ExistingSpeaker = { | `designation` | *string* | :heavy_minus_sign: | The speaker's Designation | PhD | | `company` | *string* | :heavy_minus_sign: | The company to which the speaker is associated | Cvent | | `title` | *string* | :heavy_minus_sign: | The speaker's title | Lead Engineer | -| `category` | [components.CategoryIdNameJson](../../models/components/categoryidnamejson.md) | :heavy_minus_sign: | A defined speaker category. | | -| `links` | [components.ContactLinksJson](../../models/components/contactlinksjson.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | +| `category` | [components.SpeakerCategory1](../../models/components/speakercategory1.md) | :heavy_minus_sign: | A defined speaker category. | | +| `links` | [components.ContactLinks](../../models/components/contactlinks.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | | `visibility` | *boolean* | :heavy_minus_sign: | Indicates if a given speaker should be displayed on Event Website | false | | `biography` | *string* | :heavy_minus_sign: | The speaker's biography | Presentation and Speaking voice expert, Barbara is a highly regarded coach and facilitator | | `internalNote` | *string* | :heavy_minus_sign: | The Internal Note of the speaker | Barbara is multilingual | diff --git a/packages/typescript/docs/models/components/existingspeakerinput.md b/packages/typescript/docs/models/components/existingspeakerinput.md index ad1782657..51376426a 100644 --- a/packages/typescript/docs/models/components/existingspeakerinput.md +++ b/packages/typescript/docs/models/components/existingspeakerinput.md @@ -53,8 +53,8 @@ let value: ExistingSpeakerInput = { | `designation` | *string* | :heavy_minus_sign: | The speaker's Designation | PhD | | `company` | *string* | :heavy_minus_sign: | The company to which the speaker is associated | Cvent | | `title` | *string* | :heavy_minus_sign: | The speaker's title | Lead Engineer | -| `category` | [components.CategoryIdNameJson](../../models/components/categoryidnamejson.md) | :heavy_minus_sign: | A defined speaker category. | | -| `links` | [components.ContactLinksJsonInput](../../models/components/contactlinksjsoninput.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | +| `category` | [components.SpeakerCategory1](../../models/components/speakercategory1.md) | :heavy_minus_sign: | A defined speaker category. | | +| `links` | [components.ContactLinksInput](../../models/components/contactlinksinput.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | | `visibility` | *boolean* | :heavy_minus_sign: | Indicates if a given speaker should be displayed on Event Website | false | | `biography` | *string* | :heavy_minus_sign: | The speaker's biography | Presentation and Speaking voice expert, Barbara is a highly regarded coach and facilitator | | `internalNote` | *string* | :heavy_minus_sign: | The Internal Note of the speaker | Barbara is multilingual | diff --git a/packages/typescript/docs/models/components/existingsponsorshiplevel.md b/packages/typescript/docs/models/components/existingsponsorshiplevel.md index a38d5346b..6336ac393 100644 --- a/packages/typescript/docs/models/components/existingsponsorshiplevel.md +++ b/packages/typescript/docs/models/components/existingsponsorshiplevel.md @@ -29,7 +29,7 @@ let value: ExistingSponsorshipLevel = { | `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 | -| `event` | [components.Event21](../../models/components/event21.md) | :heavy_check_mark: | The Associated Event. | | +| `event` | [components.Event3](../../models/components/event3.md) | :heavy_check_mark: | The Associated Event. | | | `name` | *string* | :heavy_check_mark: | Name of the sponsorship level | Silver | | `id` | *string* | :heavy_minus_sign: | ID of event sponsorship level. | 1765848c-2a7f-48d2-85a2-6668b8e64ffb | | `rank` | *number* | :heavy_minus_sign: | Represents the order sponsors appear in a list. | 3 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/existingvideoresponse.md b/packages/typescript/docs/models/components/existingvideoresponse.md index a9ea0aacd..344fea0f9 100644 --- a/packages/typescript/docs/models/components/existingvideoresponse.md +++ b/packages/typescript/docs/models/components/existingvideoresponse.md @@ -109,19 +109,19 @@ let value: ExistingVideoResponse = { | `filename` | *string* | :heavy_minus_sign: | Filename associated with the video at time of upload. Cannot be modified. | Cvent Keynote Version 5.mp4 | | `events` | *string*[] | :heavy_minus_sign: | A list of events associated with this video asset | | | `duration` | *number* | :heavy_minus_sign: | Video duration (milliseconds) | 3600000 | -| `thumbnail` | [components.VideoThumbnailJson](../../models/components/videothumbnailjson.md) | :heavy_minus_sign: | Video thumbnail | | -| `generatedThumbnail` | [components.VideoThumbnailJson](../../models/components/videothumbnailjson.md) | :heavy_minus_sign: | Video thumbnail | | -| `status` | [components.VideoStatusJson](../../models/components/videostatusjson.md) | :heavy_minus_sign: | Denotes the status of a video. Started indicates the request to upload in the API was submitted, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the video. Available indicates the video is available for use. | Started | -| `source` | [components.VideoSourceJson](../../models/components/videosourcejson.md) | :heavy_minus_sign: | Source of video. | | +| `thumbnail` | [components.VideoThumbnail](../../models/components/videothumbnail.md) | :heavy_minus_sign: | Video thumbnail | | +| `generatedThumbnail` | [components.VideoThumbnail](../../models/components/videothumbnail.md) | :heavy_minus_sign: | Video thumbnail | | +| `status` | [components.VideoStatus](../../models/components/videostatus.md) | :heavy_minus_sign: | Denotes the status of a video. Started indicates the request to upload in the API was submitted, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the video. Available indicates the video is available for use. | Started | +| `source` | [components.VideoSource](../../models/components/videosource.md) | :heavy_minus_sign: | Source of video. | | | `tags` | *string*[] | :heavy_minus_sign: | A list of tags associated with this video. This feature is a developer extensability framework to add data to videos. | [
"edited",
"exhibitor"
] | -| `type` | [components.VideoTypeJson](../../models/components/videotypejson.md) | :heavy_minus_sign: | This is used to denote type of a video | mp4 | +| `type` | [components.VideoType](../../models/components/videotype.md) | :heavy_minus_sign: | This is used to denote type of a video | mp4 | | ~~`event`~~ | [components.ExistingVideoResponseUUID](../../models/components/existingvideoresponseuuid.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Event video asset was created with. This field has been deprecated. Use events instead. | | | ~~`hlsInputs`~~ | *string*[] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

List of locations for HLS recordings that will be combined to form a new video. This field has been deprecated. Use hlsInputsWithClips instead. | | -| `hlsInputsWithClips` | [components.HlsInputWithClipsJson](../../models/components/hlsinputwithclipsjson.md)[] | :heavy_minus_sign: | A list of input object locations & clip information for HTTP Live Streaming (HLS) recordings. Used to trim & stitch all inputs together to form a new video. | | +| `hlsInputsWithClips` | [components.HlsInputWithClips](../../models/components/hlsinputwithclips.md)[] | :heavy_minus_sign: | A list of input object locations & clip information for HTTP Live Streaming (HLS) recordings. Used to trim & stitch all inputs together to form a new video. | | | `recording` | [components.RecordingDetails](../../models/components/recordingdetails.md) | :heavy_minus_sign: | Recording details of video to be transcoded | | -| `encodingProfile` | [components.EncodingProfileJson](../../models/components/encodingprofilejson.md) | :heavy_minus_sign: | Denotes the profile to use when encoding the video. Planner profile is for encoding high-quality event content, like session videos. Attendee profile is for encoding lower-quality content intended to go on attendee profiles and social feeds in the event. | Planner | +| `encodingProfile` | [components.EncodingProfile](../../models/components/encodingprofile.md) | :heavy_minus_sign: | Denotes the profile to use when encoding the video. Planner profile is for encoding high-quality event content, like session videos. Attendee profile is for encoding lower-quality content intended to go on attendee profiles and social feeds in the event. | Planner | | `id` | *string* | :heavy_check_mark: | The identifier of a video. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `url` | [components.AssetLocationJson](../../models/components/assetlocationjson.md) | :heavy_minus_sign: | A URL associated with the asset. | | +| `url` | [components.AssetLocation](../../models/components/assetlocation.md) | :heavy_minus_sign: | A URL associated with the asset. | | | `size` | *number* | :heavy_minus_sign: | File size in bytes for the video asset. | 32768 | | `sessions` | *string*[] | :heavy_minus_sign: | Sessions associated with the video asset. | | | `exhibitors` | *string*[] | :heavy_minus_sign: | Exhibitors associated with the video asset. | | @@ -129,5 +129,5 @@ let value: ExistingVideoResponse = { | `uploadStarted` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when the upload started. | 2024-01-05T15:30:00Z | | `uploadCompleted` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when the uploaded ended. | 2024-01-05T15:35:00Z | | `parent` | *string* | :heavy_minus_sign: | The ID of the video this was created from. | | -| `errors` | [components.VideoErrorJson](../../models/components/videoerrorjson.md)[] | :heavy_minus_sign: | This is used to denote the errors for a video entity. | | -| `warnings` | [components.VideoWarningJson](../../models/components/videowarningjson.md)[] | :heavy_minus_sign: | This is used to denote the warnings for a video entity. | | \ No newline at end of file +| `errors` | [components.VideoError](../../models/components/videoerror.md)[] | :heavy_minus_sign: | This is used to denote the errors for a video entity. | | +| `warnings` | [components.VideoWarning](../../models/components/videowarning.md)[] | :heavy_minus_sign: | This is used to denote the warnings for a video entity. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/existingvideotexttrack.md b/packages/typescript/docs/models/components/existingvideotexttrack.md index 70a1f1a66..5762aba25 100644 --- a/packages/typescript/docs/models/components/existingvideotexttrack.md +++ b/packages/typescript/docs/models/components/existingvideotexttrack.md @@ -36,14 +36,14 @@ let value: ExistingVideoTextTrack = { | `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 | -| `video` | [components.VideoAssetIdJson](../../models/components/videoassetidjson.md) | :heavy_minus_sign: | Video that this asset was created with. | | +| `video` | [components.VideoAssetID](../../models/components/videoassetid.md) | :heavy_minus_sign: | Video that this asset was created with. | | | `label` | *string* | :heavy_minus_sign: | Name of the text track. | English | | `language` | *string* | :heavy_check_mark: | IETF language tag for the text track. | en-US | -| `kind` | [components.VideoTextTrackKindJson](../../models/components/videotexttrackkindjson.md) | :heavy_check_mark: | Denotes the kind of video text track. Only subtitles are supported. | subtitles | +| `kind` | [components.VideoTextTrackKind](../../models/components/videotexttrackkind.md) | :heavy_check_mark: | Denotes the kind of video text track. Only subtitles are supported. | subtitles | | `published` | *boolean* | :heavy_minus_sign: | True means that this text track has been published for your client. | | | `default` | *boolean* | :heavy_minus_sign: | True indicates this is the default text track. Each kind of text track can have a separate default assigned. | | -| `status` | [components.VideoTextTrackStatusJson](../../models/components/videotexttrackstatusjson.md) | :heavy_check_mark: | Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. | Started | +| `status` | [components.VideoTextTrackStatus](../../models/components/videotexttrackstatus.md) | :heavy_check_mark: | Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. | Started | | `autoGenerated` | *boolean* | :heavy_minus_sign: | True indicates this text track was generated via machine transcription of the audio. | | | `id` | *string* | :heavy_check_mark: | The identifier of a video text track. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `url` | [components.AssetLocationJson](../../models/components/assetlocationjson.md) | :heavy_minus_sign: | A URL associated with the asset. | | +| `url` | [components.AssetLocation](../../models/components/assetlocation.md) | :heavy_minus_sign: | A URL associated with the asset. | | | `errorMessage` | *string* | :heavy_minus_sign: | A message indicating the error processing the text track, if any. | Input file was empty | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/existingvideotexttrackinput.md b/packages/typescript/docs/models/components/existingvideotexttrackinput.md index c59290e7c..b2e9549d9 100644 --- a/packages/typescript/docs/models/components/existingvideotexttrackinput.md +++ b/packages/typescript/docs/models/components/existingvideotexttrackinput.md @@ -23,13 +23,13 @@ let value: ExistingVideoTextTrackInput = { | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `video` | [components.VideoAssetIdJson](../../models/components/videoassetidjson.md) | :heavy_minus_sign: | Video that this asset was created with. | | +| `video` | [components.VideoAssetID](../../models/components/videoassetid.md) | :heavy_minus_sign: | Video that this asset was created with. | | | `label` | *string* | :heavy_minus_sign: | Name of the text track. | English | | `language` | *string* | :heavy_check_mark: | IETF language tag for the text track. | en-US | -| `kind` | [components.VideoTextTrackKindJson](../../models/components/videotexttrackkindjson.md) | :heavy_check_mark: | Denotes the kind of video text track. Only subtitles are supported. | subtitles | +| `kind` | [components.VideoTextTrackKind](../../models/components/videotexttrackkind.md) | :heavy_check_mark: | Denotes the kind of video text track. Only subtitles are supported. | subtitles | | `published` | *boolean* | :heavy_minus_sign: | True means that this text track has been published for your client. | | | `default` | *boolean* | :heavy_minus_sign: | True indicates this is the default text track. Each kind of text track can have a separate default assigned. | | -| `status` | [components.VideoTextTrackStatusJson](../../models/components/videotexttrackstatusjson.md) | :heavy_check_mark: | Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. | Started | +| `status` | [components.VideoTextTrackStatus](../../models/components/videotexttrackstatus.md) | :heavy_check_mark: | Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. | Started | | `autoGenerated` | *boolean* | :heavy_minus_sign: | True indicates this text track was generated via machine transcription of the audio. | | -| `url` | [components.AssetLocationJsonInput](../../models/components/assetlocationjsoninput.md) | :heavy_minus_sign: | A URL associated with the asset. | | +| `url` | [components.AssetLocationInput](../../models/components/assetlocationinput.md) | :heavy_minus_sign: | A URL associated with the asset. | | | `errorMessage` | *string* | :heavy_minus_sign: | A message indicating the error processing the text track, if any. | Input file was empty | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/existingweblink.md b/packages/typescript/docs/models/components/existingweblink.md index 867a777e7..bc96dc7ae 100644 --- a/packages/typescript/docs/models/components/existingweblink.md +++ b/packages/typescript/docs/models/components/existingweblink.md @@ -33,7 +33,7 @@ let value: ExistingWeblink = { | `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 | -| `event` | [components.Event21](../../models/components/event21.md) | :heavy_check_mark: | The Associated Event. | | +| `event` | [components.Event3](../../models/components/event3.md) | :heavy_check_mark: | The Associated Event. | | | `exhibitor` | [components.Exhibitor](../../models/components/exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | | `name` | *string* | :heavy_check_mark: | Display name of the weblink. | Marketing Page | | `url` | *string* | :heavy_check_mark: | The URL of the weblink. | http://www.example.com | diff --git a/packages/typescript/docs/models/components/fairseasontype.md b/packages/typescript/docs/models/components/fairseasontype.md new file mode 100644 index 000000000..9f4f13590 --- /dev/null +++ b/packages/typescript/docs/models/components/fairseasontype.md @@ -0,0 +1,17 @@ +# FairSeasonType + +Fair season type. Blackout means that no special rate is negotiated for that date and Best Available Rates will apply + +## Example Usage + +```typescript +import { FairSeasonType } from "@cvent/sdk/models/components"; + +let value: FairSeasonType = "negotiated"; +``` + +## Values + +```typescript +"negotiated" | "blackout" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/fairseasontypejson.md b/packages/typescript/docs/models/components/fairseasontypejson.md deleted file mode 100644 index 95a79d6d1..000000000 --- a/packages/typescript/docs/models/components/fairseasontypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# FairSeasonTypeJson - -Fair season type. Blackout means that no special rate is negotiated for that date and Best Available Rates will apply - -## Example Usage - -```typescript -import { FairSeasonTypeJson } from "@cvent/sdk/models/components"; - -let value: FairSeasonTypeJson = "negotiated"; -``` - -## Values - -```typescript -"negotiated" | "blackout" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/field.md b/packages/typescript/docs/models/components/field.md new file mode 100644 index 000000000..36af62ac1 --- /dev/null +++ b/packages/typescript/docs/models/components/field.md @@ -0,0 +1,45 @@ +# Field + +A question field. + +## Example Usage + +```typescript +import { Field } from "@cvent/sdk/models/components"; + +let value: Field = { + 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, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | Text field ID. | | +| `text` | *string* | :heavy_minus_sign: | Text value of the field. Displays to users in the UI. | Are you spending any significant time offsite and need transportation? | +| `shortText` | *string* | :heavy_minus_sign: | Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. | Needs offsite transportation? | +| `type` | [components.FieldType](../../models/components/fieldtype.md) | :heavy_minus_sign: | Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: Data is one or more options from a list. `Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is free-text input. | | +| `choices` | [components.Choice](../../models/components/choice.md)[] | :heavy_minus_sign: | List of choices for this field. | | +| `notApplicableAnswer` | [components.AdditionalChoice](../../models/components/additionalchoice.md) | :heavy_minus_sign: | Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. | | +| `otherAnswer` | [components.AdditionalChoice](../../models/components/additionalchoice.md) | :heavy_minus_sign: | Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. | | +| `required` | *boolean* | :heavy_minus_sign: | True indicates this is a mandatory question field. | true | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/fieldjson.md b/packages/typescript/docs/models/components/fieldjson.md index bd3db6c2d..3a555c32b 100644 --- a/packages/typescript/docs/models/components/fieldjson.md +++ b/packages/typescript/docs/models/components/fieldjson.md @@ -1,6 +1,6 @@ # FieldJson -A question field. +A survey field. ## Example Usage @@ -8,24 +8,23 @@ A question field. import { FieldJson } from "@cvent/sdk/models/components"; let value: FieldJson = { - text: - "Are you spending any significant time offsite and need transportation?", - shortText: "Needs offsite transportation?", + text: "Field value", + shortText: "Category 1 Reporting value", + type: "SingleChoice", choices: [ { - text: - "Are you spending any significant time offsite and need transportation?", - shortText: "Needs offsite transportation?", + text: "Field value", + shortText: "Category 1 Reporting value", label: "Choice A", }, ], notApplicableAnswer: { - text: "Dietary Restriction - Other", - shortText: "Dietary Preference - Other Allergies", + text: "N/A or Other", + shortText: "N/A or Other Reporting value", }, otherAnswer: { - text: "Dietary Restriction - Other", - shortText: "Dietary Preference - Other Allergies", + text: "N/A or Other", + shortText: "N/A or Other Reporting value", }, required: true, }; @@ -33,13 +32,13 @@ let value: FieldJson = { ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | Text field ID. | | -| `text` | *string* | :heavy_minus_sign: | Text value of the field. Displays to users in the UI. | Are you spending any significant time offsite and need transportation? | -| `shortText` | *string* | :heavy_minus_sign: | Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. | Needs offsite transportation? | -| `type` | [components.FieldTypeJson](../../models/components/fieldtypejson.md) | :heavy_minus_sign: | Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: Data is one or more options from a list. `Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is free-text input. | | -| `choices` | [components.ChoiceJson](../../models/components/choicejson.md)[] | :heavy_minus_sign: | List of choices for this field. | | -| `notApplicableAnswer` | [components.AdditionalChoiceJson2](../../models/components/additionalchoicejson2.md) | :heavy_minus_sign: | Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. | | -| `otherAnswer` | [components.AdditionalChoiceJson2](../../models/components/additionalchoicejson2.md) | :heavy_minus_sign: | Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. | | -| `required` | *boolean* | :heavy_minus_sign: | True indicates this is a mandatory question field. | true | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | Text field ID. | | +| `text` | *string* | :heavy_minus_sign: | text Value of the Field | Field value | +| `shortText` | *string* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | +| `type` | [components.FieldTypeJson](../../models/components/fieldtypejson.md) | :heavy_minus_sign: | Field Type | SingleChoice | +| `choices` | [components.ChoiceJson1](../../models/components/choicejson1.md)[] | :heavy_minus_sign: | List of choices for this field. | | +| `notApplicableAnswer` | [components.AdditionalChoiceJson](../../models/components/additionalchoicejson.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | +| `otherAnswer` | [components.AdditionalChoiceJson](../../models/components/additionalchoicejson.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | +| `required` | *boolean* | :heavy_minus_sign: | Is this a mandatory field | true | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/fieldjson2.md b/packages/typescript/docs/models/components/fieldjson2.md deleted file mode 100644 index 639136ebf..000000000 --- a/packages/typescript/docs/models/components/fieldjson2.md +++ /dev/null @@ -1,44 +0,0 @@ -# FieldJson2 - -A survey field. - -## Example Usage - -```typescript -import { FieldJson2 } from "@cvent/sdk/models/components"; - -let value: FieldJson2 = { - text: "Field value", - shortText: "Category 1 Reporting value", - type: "SingleChoice", - choices: [ - { - text: "Field value", - shortText: "Category 1 Reporting value", - label: "Choice A", - }, - ], - notApplicableAnswer: { - text: "N/A or Other", - shortText: "N/A or Other Reporting value", - }, - otherAnswer: { - text: "N/A or Other", - shortText: "N/A or Other Reporting value", - }, - required: true, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | Text field ID. | | -| `text` | *string* | :heavy_minus_sign: | text Value of the Field | Field value | -| `shortText` | *string* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | -| `type` | [components.FieldTypeJson2](../../models/components/fieldtypejson2.md) | :heavy_minus_sign: | Field Type | SingleChoice | -| `choices` | [components.ChoiceJson2](../../models/components/choicejson2.md)[] | :heavy_minus_sign: | List of choices for this field. | | -| `notApplicableAnswer` | [components.AdditionalChoiceJson1](../../models/components/additionalchoicejson1.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | -| `otherAnswer` | [components.AdditionalChoiceJson1](../../models/components/additionalchoicejson1.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | -| `required` | *boolean* | :heavy_minus_sign: | Is this a mandatory field | true | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/fieldtype.md b/packages/typescript/docs/models/components/fieldtype.md new file mode 100644 index 000000000..a8b40ef09 --- /dev/null +++ b/packages/typescript/docs/models/components/fieldtype.md @@ -0,0 +1,17 @@ +# FieldType + +Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: Data is one or more options from a list. `Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is free-text input. + +## Example Usage + +```typescript +import { FieldType } from "@cvent/sdk/models/components"; + +let value: FieldType = "SingleChoice"; +``` + +## Values + +```typescript +"DateTime" | "MultiChoice" | "Number" | "SingleChoice" | "Text" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/fieldtypejson.md b/packages/typescript/docs/models/components/fieldtypejson.md index a4161ab22..3373e8651 100644 --- a/packages/typescript/docs/models/components/fieldtypejson.md +++ b/packages/typescript/docs/models/components/fieldtypejson.md @@ -1,17 +1,17 @@ # FieldTypeJson -Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: Data is one or more options from a list. `Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is free-text input. +Field Type ## Example Usage ```typescript import { FieldTypeJson } from "@cvent/sdk/models/components"; -let value: FieldTypeJson = "MultiChoice"; +let value: FieldTypeJson = "SingleChoice"; ``` ## Values ```typescript -"DateTime" | "MultiChoice" | "Number" | "SingleChoice" | "Text" +"SingleChoice" | "MultiChoice" | "DateTime" | "Number" | "Text" ``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/fieldtypejson2.md b/packages/typescript/docs/models/components/fieldtypejson2.md deleted file mode 100644 index f2370ff58..000000000 --- a/packages/typescript/docs/models/components/fieldtypejson2.md +++ /dev/null @@ -1,17 +0,0 @@ -# FieldTypeJson2 - -Field Type - -## Example Usage - -```typescript -import { FieldTypeJson2 } from "@cvent/sdk/models/components"; - -let value: FieldTypeJson2 = "SingleChoice"; -``` - -## Values - -```typescript -"SingleChoice" | "MultiChoice" | "DateTime" | "Number" | "Text" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/fileinput.md b/packages/typescript/docs/models/components/fileinput.md index 5c597cc39..6ea68c3d1 100644 --- a/packages/typescript/docs/models/components/fileinput.md +++ b/packages/typescript/docs/models/components/fileinput.md @@ -23,7 +23,7 @@ let value: FileInput = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `event` | [components.Event21](../../models/components/event21.md) | :heavy_check_mark: | The Associated Event. | | +| `event` | [components.Event3](../../models/components/event3.md) | :heavy_check_mark: | The Associated Event. | | | `exhibitor` | [components.Exhibitor](../../models/components/exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | | `displayName` | *string* | :heavy_check_mark: | Display name of the file. | Marketing Page | | `hidden` | *boolean* | :heavy_minus_sign: | True indicates the file is hidden from attendees. | | diff --git a/packages/typescript/docs/models/components/formattype.md b/packages/typescript/docs/models/components/formattype.md new file mode 100644 index 000000000..8a42dca88 --- /dev/null +++ b/packages/typescript/docs/models/components/formattype.md @@ -0,0 +1,17 @@ +# FormatType + +Proposal format. + +## Example Usage + +```typescript +import { FormatType } from "@cvent/sdk/models/components"; + +let value: FormatType = "gbta2013"; +``` + +## Values + +```typescript +"gbta2013" | "universal" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/formattypejson.md b/packages/typescript/docs/models/components/formattypejson.md deleted file mode 100644 index db5696268..000000000 --- a/packages/typescript/docs/models/components/formattypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# FormatTypeJson - -Proposal format. - -## Example Usage - -```typescript -import { FormatTypeJson } from "@cvent/sdk/models/components"; - -let value: FormatTypeJson = "gbta2013"; -``` - -## Values - -```typescript -"gbta2013" | "universal" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/genderjson.md b/packages/typescript/docs/models/components/genderjson.md deleted file mode 100644 index 909d9481e..000000000 --- a/packages/typescript/docs/models/components/genderjson.md +++ /dev/null @@ -1,17 +0,0 @@ -# GenderJson - -The gender of the contact. - -## Example Usage - -```typescript -import { GenderJson } from "@cvent/sdk/models/components"; - -let value: GenderJson = "Male"; -``` - -## Values - -```typescript -"Male" | "Female" | "Non-binary" | "Rather not say" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/guestjson.md b/packages/typescript/docs/models/components/guestjson.md index c0e38752d..37a3ebeed 100644 --- a/packages/typescript/docs/models/components/guestjson.md +++ b/packages/typescript/docs/models/components/guestjson.md @@ -72,5 +72,5 @@ let value: GuestJson = { | `email` | *string* | :heavy_minus_sign: | Email address of the guest. | guest@cvent.com | | `homePhone` | *string* | :heavy_minus_sign: | Home phone number of the guest. Required if the hotel/event requires address in reservations. | (231)-213-1222 | | `workPhone` | *string* | :heavy_minus_sign: | Work phone number of the guest. | (231)-213-1222 | -| `homeAddress` | [components.AddressJson2](../../models/components/addressjson2.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | +| `homeAddress` | [components.AddressJson](../../models/components/addressjson.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | | `paymentInfo` | [components.PaymentInfoJson](../../models/components/paymentinfojson.md) | :heavy_minus_sign: | Payment information. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/guestroomoccupancy.md b/packages/typescript/docs/models/components/guestroomoccupancy.md new file mode 100644 index 000000000..5e9dbc5eb --- /dev/null +++ b/packages/typescript/docs/models/components/guestroomoccupancy.md @@ -0,0 +1,17 @@ +# GuestRoomOccupancy + +Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. `TRIPLE`: Three occupants. `QUAD`: Four occupants. + +## Example Usage + +```typescript +import { GuestRoomOccupancy } from "@cvent/sdk/models/components"; + +let value: GuestRoomOccupancy = "SINGLE"; +``` + +## Values + +```typescript +"SINGLE" | "DOUBLE" | "TRIPLE" | "QUAD" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/guestroomoccupancyjson.md b/packages/typescript/docs/models/components/guestroomoccupancyjson.md deleted file mode 100644 index 9c2ba313e..000000000 --- a/packages/typescript/docs/models/components/guestroomoccupancyjson.md +++ /dev/null @@ -1,17 +0,0 @@ -# GuestRoomOccupancyJson - -Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. `TRIPLE`: Three occupants. `QUAD`: Four occupants. - -## Example Usage - -```typescript -import { GuestRoomOccupancyJson } from "@cvent/sdk/models/components"; - -let value: GuestRoomOccupancyJson = "SINGLE"; -``` - -## Values - -```typescript -"SINGLE" | "DOUBLE" | "TRIPLE" | "QUAD" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/guestroomoccupancyperroomtype.md b/packages/typescript/docs/models/components/guestroomoccupancyperroomtype.md new file mode 100644 index 000000000..e33f0df9a --- /dev/null +++ b/packages/typescript/docs/models/components/guestroomoccupancyperroomtype.md @@ -0,0 +1,21 @@ +# GuestRoomOccupancyPerRoomType + +Room occupancy for a room type. + +## Example Usage + +```typescript +import { GuestRoomOccupancyPerRoomType } from "@cvent/sdk/models/components"; + +let value: GuestRoomOccupancyPerRoomType = { + occupancy: "SINGLE", + type: "DOUBLE", +}; +``` + +## Fields + +| 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 diff --git a/packages/typescript/docs/models/components/guestroomoccupancyperroomtypejson.md b/packages/typescript/docs/models/components/guestroomoccupancyperroomtypejson.md deleted file mode 100644 index d55474dcb..000000000 --- a/packages/typescript/docs/models/components/guestroomoccupancyperroomtypejson.md +++ /dev/null @@ -1,21 +0,0 @@ -# GuestRoomOccupancyPerRoomTypeJson - -Room occupancy for a room type. - -## Example Usage - -```typescript -import { GuestRoomOccupancyPerRoomTypeJson } from "@cvent/sdk/models/components"; - -let value: GuestRoomOccupancyPerRoomTypeJson = { - occupancy: "SINGLE", - type: "DOUBLE", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `occupancy` | [components.GuestRoomOccupancyJson](../../models/components/guestroomoccupancyjson.md) | :heavy_minus_sign: | Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. `TRIPLE`: Three occupants. `QUAD`: Four occupants. | SINGLE | -| `type` | [components.GuestRoomTypeJson](../../models/components/guestroomtypejson.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 diff --git a/packages/typescript/docs/models/components/guestroomtype.md b/packages/typescript/docs/models/components/guestroomtype.md new file mode 100644 index 000000000..31fa8ee47 --- /dev/null +++ b/packages/typescript/docs/models/components/guestroomtype.md @@ -0,0 +1,17 @@ +# GuestRoomType + +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. + +## Example Usage + +```typescript +import { GuestRoomType } from "@cvent/sdk/models/components"; + +let value: GuestRoomType = "DOUBLE"; +``` + +## Values + +```typescript +"ANY" | "SINGLE" | "DOUBLE" | "SUITE" | "STAFF" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/guestroomtypejson.md b/packages/typescript/docs/models/components/guestroomtypejson.md deleted file mode 100644 index febf4e541..000000000 --- a/packages/typescript/docs/models/components/guestroomtypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# GuestRoomTypeJson - -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. - -## Example Usage - -```typescript -import { GuestRoomTypeJson } from "@cvent/sdk/models/components"; - -let value: GuestRoomTypeJson = "DOUBLE"; -``` - -## Values - -```typescript -"ANY" | "SINGLE" | "DOUBLE" | "SUITE" | "STAFF" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/hlsinputwithclips.md b/packages/typescript/docs/models/components/hlsinputwithclips.md new file mode 100644 index 000000000..a94d753a6 --- /dev/null +++ b/packages/typescript/docs/models/components/hlsinputwithclips.md @@ -0,0 +1,26 @@ +# HlsInputWithClips + +HTTP Live Streaming input and clips. + +## Example Usage + +```typescript +import { HlsInputWithClips } from "@cvent/sdk/models/components"; + +let value: HlsInputWithClips = { + hlsInput: "s3://bucket/path/to/recording/video.m3u8", + clips: [ + { + start: "00:01:01:00", + end: "00:05:00:00", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `hlsInput` | *string* | :heavy_minus_sign: | Location for HTTP Live Streaming (HLS) recording. | s3://bucket/path/to/recording/video.m3u8 | +| `clips` | [components.VideoClip](../../models/components/videoclip.md)[] | :heavy_minus_sign: | Clips for the HLS recording. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/hlsinputwithclipsjson.md b/packages/typescript/docs/models/components/hlsinputwithclipsjson.md deleted file mode 100644 index 2cff19816..000000000 --- a/packages/typescript/docs/models/components/hlsinputwithclipsjson.md +++ /dev/null @@ -1,26 +0,0 @@ -# HlsInputWithClipsJson - -HTTP Live Streaming input and clips. - -## Example Usage - -```typescript -import { HlsInputWithClipsJson } from "@cvent/sdk/models/components"; - -let value: HlsInputWithClipsJson = { - hlsInput: "s3://bucket/path/to/recording/video.m3u8", - clips: [ - { - start: "00:01:01:00", - end: "00:05:00:00", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `hlsInput` | *string* | :heavy_minus_sign: | Location for HTTP Live Streaming (HLS) recording. | s3://bucket/path/to/recording/video.m3u8 | -| `clips` | [components.VideoClipJson](../../models/components/videoclipjson.md)[] | :heavy_minus_sign: | Clips for the HLS recording. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/hotelrequest.md b/packages/typescript/docs/models/components/hotelrequest.md index 1ea1796ee..e50fd132d 100644 --- a/packages/typescript/docs/models/components/hotelrequest.md +++ b/packages/typescript/docs/models/components/hotelrequest.md @@ -110,6 +110,6 @@ let value: HotelRequest = { | `latestShoulderDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time (in UTC) when the requester is requesting for an latest shoulder date. | 2023-05-19T00:00:00Z | | `roomTaxBillingExceptions` | *string* | :heavy_minus_sign: | Specifies who the hotel will charge for the room rate's tax. | exceptions noted here. | | `incidentalBillingExceptions` | *string* | :heavy_minus_sign: | Specifies who the hotel will charge incidental (extra) room expenses, like room service or long-distance calling. | exceptions noted here. | -| `hotelAddress` | [components.Address3](../../models/components/address3.md) | :heavy_minus_sign: | Address of the hotel. | | +| `hotelAddress` | [components.Address5](../../models/components/address5.md) | :heavy_minus_sign: | Address of the hotel. | | | `hotelRoomRates` | [components.HotelRoomRate](../../models/components/hotelroomrate.md)[] | :heavy_minus_sign: | Collection of hotel room rates the requester has taken. | | | `hotelRequestAnswers` | [components.AttendeeAnswer1](../../models/components/attendeeanswer1.md)[] | :heavy_minus_sign: | Answer provided by requester to the hotel request related question. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/housingeventhotel.md b/packages/typescript/docs/models/components/housingeventhotel.md index a3c7cef7a..dc815abb7 100644 --- a/packages/typescript/docs/models/components/housingeventhotel.md +++ b/packages/typescript/docs/models/components/housingeventhotel.md @@ -59,4 +59,4 @@ let value: HousingEventHotel = { | `proximity` | [components.ProximityJson](../../models/components/proximityjson.md) | :heavy_minus_sign: | Proximity of the event venue to the hotel. | | | `amenities` | *string*[] | :heavy_minus_sign: | List of available amenities at the hotel. | | | `rating` | [components.HotelRatingJson](../../models/components/hotelratingjson.md) | :heavy_minus_sign: | The hotel's rating, used to classify the hotel's quality. | 3 Star | -| `address` | [components.AddressJson2](../../models/components/addressjson2.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | \ No newline at end of file +| `address` | [components.AddressJson](../../models/components/addressjson.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/housingeventsummarylist.md b/packages/typescript/docs/models/components/housingeventsummarylist.md index 556f05a55..a8bd2a574 100644 --- a/packages/typescript/docs/models/components/housingeventsummarylist.md +++ b/packages/typescript/docs/models/components/housingeventsummarylist.md @@ -60,4 +60,4 @@ let value: HousingEventSummaryList = { | Field | Type | Required | Description | | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | | `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | [components.ZeroAllOf9](../../models/components/zeroallof9.md)[] | :heavy_check_mark: | List of housing events with key information, providing a summarized view of each event. | \ No newline at end of file +| `data` | [components.ZeroAllOf8](../../models/components/zeroallof8.md)[] | :heavy_check_mark: | List of housing events with key information, providing a summarized view of each event. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/idjson.md b/packages/typescript/docs/models/components/idjson.md deleted file mode 100644 index 11395c176..000000000 --- a/packages/typescript/docs/models/components/idjson.md +++ /dev/null @@ -1,19 +0,0 @@ -# IdJson - -An entity which only has an id. - -## Example Usage - -```typescript -import { IdJson } from "@cvent/sdk/models/components"; - -let value: IdJson = { - id: "abc-123", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `id` | *string* | :heavy_check_mark: | The entity's id value. | abc-123 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/idonlyentity.md b/packages/typescript/docs/models/components/idonlyentity.md new file mode 100644 index 000000000..78dc800bd --- /dev/null +++ b/packages/typescript/docs/models/components/idonlyentity.md @@ -0,0 +1,19 @@ +# IdOnlyEntity + +An entity which only has an id. + +## Example Usage + +```typescript +import { IdOnlyEntity } from "@cvent/sdk/models/components"; + +let value: IdOnlyEntity = { + id: "abc-123", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `id` | *string* | :heavy_check_mark: | The entity's id value. | abc-123 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/industry1.md b/packages/typescript/docs/models/components/industry1.md new file mode 100644 index 000000000..a15b9e587 --- /dev/null +++ b/packages/typescript/docs/models/components/industry1.md @@ -0,0 +1,17 @@ +# Industry1 + +Industry + +## Example Usage + +```typescript +import { Industry1 } from "@cvent/sdk/models/components"; + +let value: Industry1 = "TELECOMMUNICATIONS"; +``` + +## Values + +```typescript +"AGRICULTURE_AND_MINING" | "BUSINESS_SERVICES" | "COMPUTERS_AND_ELECTRONICS" | "CONSUMER_SERVICES" | "EDUCATION" | "ENERGY_AND_UTILITIES" | "FINANCIAL_SERVICES" | "GOVERNMENT" | "HEALTHCARE_PHARMACEUTICALS_AND_BIOTECH" | "MANUFACTURING" | "MEDIA_AND_ENTERTAINMENT" | "OTHER" | "REAL_ESTATE_AND_CONSTRUCTION" | "RETAIL" | "SOFTWARE_AND_INTERNET" | "TELECOMMUNICATIONS" | "TRANSPORTATION_AND_STORAGE" | "TRAVEL_RECREATION_AND_LEISURE" | "WHOLESALE_AND_DISTRIBUTION" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/industryjson0.md b/packages/typescript/docs/models/components/industryjson0.md deleted file mode 100644 index e625e1320..000000000 --- a/packages/typescript/docs/models/components/industryjson0.md +++ /dev/null @@ -1,17 +0,0 @@ -# IndustryJson0 - -Industry - -## Example Usage - -```typescript -import { IndustryJson0 } from "@cvent/sdk/models/components"; - -let value: IndustryJson0 = "BUSINESS_SERVICES"; -``` - -## Values - -```typescript -"AGRICULTURE_AND_MINING" | "BUSINESS_SERVICES" | "COMPUTERS_AND_ELECTRONICS" | "CONSUMER_SERVICES" | "EDUCATION" | "ENERGY_AND_UTILITIES" | "FINANCIAL_SERVICES" | "GOVERNMENT" | "HEALTHCARE_PHARMACEUTICALS_AND_BIOTECH" | "MANUFACTURING" | "MEDIA_AND_ENTERTAINMENT" | "OTHER" | "REAL_ESTATE_AND_CONSTRUCTION" | "RETAIL" | "SOFTWARE_AND_INTERNET" | "TELECOMMUNICATIONS" | "TRANSPORTATION_AND_STORAGE" | "TRAVEL_RECREATION_AND_LEISURE" | "WHOLESALE_AND_DISTRIBUTION" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/invitationlistpaginatedresponse.md b/packages/typescript/docs/models/components/invitationlistpaginatedresponse.md index 03adef491..31f339f43 100644 --- a/packages/typescript/docs/models/components/invitationlistpaginatedresponse.md +++ b/packages/typescript/docs/models/components/invitationlistpaginatedresponse.md @@ -44,5 +44,5 @@ let value: InvitationListPaginatedResponse = { | Field | Type | Required | Description | | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `paging` | [components.PagingJson19](../../models/components/pagingjson19.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `paging` | [components.PagingJson2](../../models/components/pagingjson2.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | | `data` | [components.InvitationListJson](../../models/components/invitationlistjson.md)[] | :heavy_check_mark: | Collection of invitation list objects. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/lead.md b/packages/typescript/docs/models/components/lead.md index 4daabd31e..30d80bf2a 100644 --- a/packages/typescript/docs/models/components/lead.md +++ b/packages/typescript/docs/models/components/lead.md @@ -75,9 +75,9 @@ let value: Lead = { | `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 | -| `event` | [components.Event21](../../models/components/event21.md) | :heavy_minus_sign: | The Associated Event. | | +| `event` | [components.Event3](../../models/components/event3.md) | :heavy_minus_sign: | The Associated Event. | | | `exhibitor` | [components.Exhibitor](../../models/components/exhibitor.md) | :heavy_minus_sign: | The Associated Exhibitor. | | -| `attendee` | [components.Attendee12](../../models/components/attendee12.md) | :heavy_minus_sign: | A JSON schema representing the Attendee object | | +| `attendee` | [components.Attendee13](../../models/components/attendee13.md) | :heavy_minus_sign: | A JSON schema representing the Attendee object | | | `boothStaff` | [components.BoothStaff](../../models/components/boothstaff.md) | :heavy_minus_sign: | A JSON schema representing Booth Staff entity | | | `device` | [components.Device](../../models/components/device.md) | :heavy_minus_sign: | A JSON object representing an electronic device used to capture leads. | | | `appointment` | [components.Appointment1](../../models/components/appointment1.md) | :heavy_minus_sign: | A JSON schema representing the structure of an appointment object. | | @@ -87,9 +87,9 @@ let value: Lead = { | `email` | *string* | :heavy_minus_sign: | The email address of the lead | h.potterfield@test.com | | `company` | *string* | :heavy_minus_sign: | The company/organization the lead belongs to. | Cvent Inc | | `mobilePhone` | *string* | :heavy_minus_sign: | Mobile phone number of the lead | 555-555-5555 | -| `homeAddress` | [components.Address12](../../models/components/address12.md) | :heavy_minus_sign: | Schema for address information | | +| `homeAddress` | [components.Address11](../../models/components/address11.md) | :heavy_minus_sign: | Schema for address information | | | `homePhone` | *string* | :heavy_minus_sign: | Home phone number of the lead | 555-555-5555 | -| `workAddress` | [components.Address12](../../models/components/address12.md) | :heavy_minus_sign: | Schema for address information | | +| `workAddress` | [components.Address11](../../models/components/address11.md) | :heavy_minus_sign: | Schema for address information | | | `workPhone` | *string* | :heavy_minus_sign: | Work Phone number of the lead | 555-555-5555 | | `type` | [components.LeadType](../../models/components/leadtype.md) | :heavy_minus_sign: | The type of lead. | | | `application` | [components.Application](../../models/components/application.md) | :heavy_minus_sign: | The application used to capture lead. | | diff --git a/packages/typescript/docs/models/components/leadqualificationanswers.md b/packages/typescript/docs/models/components/leadqualificationanswers.md index ad088ed9f..3b4317ff1 100644 --- a/packages/typescript/docs/models/components/leadqualificationanswers.md +++ b/packages/typescript/docs/models/components/leadqualificationanswers.md @@ -47,7 +47,7 @@ let value: LeadQualificationAnswers = { | `lastModifiedBy` | *string* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | | `id` | *string* | :heavy_minus_sign: | Lead Qualification Answer id | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `question` | [components.Uuid](../../models/components/uuid.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | -| `event` | [components.Event21](../../models/components/event21.md) | :heavy_minus_sign: | The Associated Event. | | +| `event` | [components.Event3](../../models/components/event3.md) | :heavy_minus_sign: | The Associated Event. | | | `exhibitor` | [components.Exhibitor](../../models/components/exhibitor.md) | :heavy_minus_sign: | The Associated Exhibitor. | | | `lead` | [components.Lead2](../../models/components/lead2.md) | :heavy_minus_sign: | JSON schema for the Lead object | | | `answers` | [components.Answer1](../../models/components/answer1.md)[] | :heavy_minus_sign: | List of answers | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/leadqualificationquestion.md b/packages/typescript/docs/models/components/leadqualificationquestion.md index 831f056f4..e48406250 100644 --- a/packages/typescript/docs/models/components/leadqualificationquestion.md +++ b/packages/typescript/docs/models/components/leadqualificationquestion.md @@ -46,12 +46,12 @@ let value: LeadQualificationQuestion = { | `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 | | `id` | *string* | :heavy_minus_sign: | Lead Qualification Question id | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `event` | [components.Event21](../../models/components/event21.md) | :heavy_minus_sign: | The Associated Event. | | +| `event` | [components.Event3](../../models/components/event3.md) | :heavy_minus_sign: | The Associated Event. | | | `exhibitor` | [components.Exhibitor](../../models/components/exhibitor.md) | :heavy_minus_sign: | The Associated Exhibitor. | | | `type` | [components.LeadQualificationQuestionType](../../models/components/leadqualificationquestiontype.md) | :heavy_minus_sign: | Type of question | | | `code` | *string* | :heavy_minus_sign: | question code | cult | -| `choices` | [components.Choice](../../models/components/choice.md)[] | :heavy_minus_sign: | List of available choices for the question | | -| `notApplicableAnswer` | [components.AdditionalChoice](../../models/components/additionalchoice.md) | :heavy_minus_sign: | Contains text of additional choice | | -| `otherAnswers` | [components.AdditionalChoice](../../models/components/additionalchoice.md) | :heavy_minus_sign: | Contains text of additional choice | | +| `choices` | [components.Choice1](../../models/components/choice1.md)[] | :heavy_minus_sign: | List of available choices for the question | | +| `notApplicableAnswer` | [components.AdditionalChoice1](../../models/components/additionalchoice1.md) | :heavy_minus_sign: | Contains text of additional choice | | +| `otherAnswers` | [components.AdditionalChoice1](../../models/components/additionalchoice1.md) | :heavy_minus_sign: | Contains text of additional choice | | | `required` | *boolean* | :heavy_minus_sign: | A boolean indicating whether the question is mandatory or not | true | | `text` | *string* | :heavy_minus_sign: | text of the question | Is there a business need? | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/leadqualifiedquestionresponsejson.md b/packages/typescript/docs/models/components/leadqualifiedquestionresponsejson.md index 92691b66b..4a7cdd6e7 100644 --- a/packages/typescript/docs/models/components/leadqualifiedquestionresponsejson.md +++ b/packages/typescript/docs/models/components/leadqualifiedquestionresponsejson.md @@ -27,5 +27,5 @@ let value: LeadQualifiedQuestionResponseJson = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `question` | [components.QuestionJson3](../../models/components/questionjson3.md) | :heavy_minus_sign: | The question that was answered. | +| `question` | [components.QuestionJson2](../../models/components/questionjson2.md) | :heavy_minus_sign: | The question that was answered. | | `answers` | [components.LeadQualifiedAnswerJson](../../models/components/leadqualifiedanswerjson.md)[] | :heavy_minus_sign: | List of answers. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/leadsource.md b/packages/typescript/docs/models/components/leadsource.md index 38ee0dd1c..3a6425d71 100644 --- a/packages/typescript/docs/models/components/leadsource.md +++ b/packages/typescript/docs/models/components/leadsource.md @@ -20,4 +20,4 @@ let value: LeadSource = { | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `id` | *string* | :heavy_minus_sign: | Unique identifier for source generating the RFP. Details about this lead source can be fetched using lead source API. | 50dc08af-24a9-4d01-84be-3d43133dc945 | -| `section` | [components.LeadSourceSectionJson](../../models/components/leadsourcesectionjson.md) | :heavy_minus_sign: | Represents lead source section details, which is a sub area of source generating the RFP. | | \ No newline at end of file +| `section` | [components.LeadSourceSection](../../models/components/leadsourcesection.md) | :heavy_minus_sign: | Represents lead source section details, which is a sub area of source generating the RFP. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/leadsourcejson.md b/packages/typescript/docs/models/components/leadsourcejson.md deleted file mode 100644 index 684420649..000000000 --- a/packages/typescript/docs/models/components/leadsourcejson.md +++ /dev/null @@ -1,23 +0,0 @@ -# LeadSourceJson - -Lead source details. - -## Example Usage - -```typescript -import { LeadSourceJson } from "@cvent/sdk/models/components"; - -let value: LeadSourceJson = { - id: "50dc08af-24a9-4d01-84be-3d43133dc945", - section: { - id: "40dc08af-24a9-4d01-84be-3d43133dc945", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | Unique identifier for source generating the RFP. Details about this lead source can be fetched using lead source API. | 50dc08af-24a9-4d01-84be-3d43133dc945 | -| `section` | [components.LeadSourceSectionJson](../../models/components/leadsourcesectionjson.md) | :heavy_minus_sign: | Represents lead source section details, which is a sub area of source generating the RFP. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/leadsourcesection.md b/packages/typescript/docs/models/components/leadsourcesection.md new file mode 100644 index 000000000..2c8341d29 --- /dev/null +++ b/packages/typescript/docs/models/components/leadsourcesection.md @@ -0,0 +1,19 @@ +# LeadSourceSection + +Represents lead source section details, which is a sub area of source generating the RFP. + +## Example Usage + +```typescript +import { LeadSourceSection } from "@cvent/sdk/models/components"; + +let value: LeadSourceSection = { + id: "40dc08af-24a9-4d01-84be-3d43133dc945", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | Unique identifier for sub area of source generating the RFP. Details about this lead source section can be fetched using lead source section API. | 40dc08af-24a9-4d01-84be-3d43133dc945 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/leadsourcesectionjson.md b/packages/typescript/docs/models/components/leadsourcesectionjson.md deleted file mode 100644 index 0ab9ee016..000000000 --- a/packages/typescript/docs/models/components/leadsourcesectionjson.md +++ /dev/null @@ -1,19 +0,0 @@ -# LeadSourceSectionJson - -Represents lead source section details, which is a sub area of source generating the RFP. - -## Example Usage - -```typescript -import { LeadSourceSectionJson } from "@cvent/sdk/models/components"; - -let value: LeadSourceSectionJson = { - id: "40dc08af-24a9-4d01-84be-3d43133dc945", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | Unique identifier for sub area of source generating the RFP. Details about this lead source section can be fetched using lead source section API. | 40dc08af-24a9-4d01-84be-3d43133dc945 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/managementleveltype1.md b/packages/typescript/docs/models/components/managementleveltype1.md new file mode 100644 index 000000000..92d0f6d7a --- /dev/null +++ b/packages/typescript/docs/models/components/managementleveltype1.md @@ -0,0 +1,17 @@ +# ManagementLevelType1 + +The management level of the travel account. Defined by the supply-side. + +## Example Usage + +```typescript +import { ManagementLevelType1 } from "@cvent/sdk/models/components"; + +let value: ManagementLevelType1 = "global"; +``` + +## Values + +```typescript +"global" | "national" | "regional" | "local" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/managementleveltypejson1.md b/packages/typescript/docs/models/components/managementleveltypejson1.md deleted file mode 100644 index 8716d01fa..000000000 --- a/packages/typescript/docs/models/components/managementleveltypejson1.md +++ /dev/null @@ -1,17 +0,0 @@ -# ManagementLevelTypeJson1 - -The management level of the travel account. Defined by the supply-side. - -## Example Usage - -```typescript -import { ManagementLevelTypeJson1 } from "@cvent/sdk/models/components"; - -let value: ManagementLevelTypeJson1 = "global"; -``` - -## Values - -```typescript -"global" | "national" | "regional" | "local" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/measurementunit.md b/packages/typescript/docs/models/components/measurementunit.md new file mode 100644 index 000000000..b96537305 --- /dev/null +++ b/packages/typescript/docs/models/components/measurementunit.md @@ -0,0 +1,21 @@ +# MeasurementUnit + +Unit of measurement for area or space. + +Values: +- `SQUARE_FEET` — Square Feet +- `SQUARE_METERS` — Square Meters + +## Example Usage + +```typescript +import { MeasurementUnit } from "@cvent/sdk/models/components"; + +let value: MeasurementUnit = "SQUARE_METERS"; +``` + +## Values + +```typescript +"SQUARE_FEET" | "SQUARE_METERS" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/measurementunitjson0.md b/packages/typescript/docs/models/components/measurementunitjson0.md deleted file mode 100644 index 861521799..000000000 --- a/packages/typescript/docs/models/components/measurementunitjson0.md +++ /dev/null @@ -1,17 +0,0 @@ -# MeasurementUnitJson0 - -Measurement unit. - -## Example Usage - -```typescript -import { MeasurementUnitJson0 } from "@cvent/sdk/models/components"; - -let value: MeasurementUnitJson0 = "SQUARE_METERS"; -``` - -## Values - -```typescript -"SQUARE_FEET" | "SQUARE_METERS" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/meetingrequestquestionjson.md b/packages/typescript/docs/models/components/meetingrequestquestionjson.md index 241aef851..712188901 100644 --- a/packages/typescript/docs/models/components/meetingrequestquestionjson.md +++ b/packages/typescript/docs/models/components/meetingrequestquestionjson.md @@ -26,7 +26,7 @@ let value: MeetingRequestQuestionJson = { | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `id` | *string* | :heavy_check_mark: | The unique ID of the question. Some questions have fixed, well-known IDs shared across all accounts:
* Event Country/Region — `da9a6706-7af3-42fc-b2c1-708050a791c1`
* Requester Country/Region — `d8fa449b-ec97-4e91-8193-b753df11e064`
* Stakeholder Country/Region — `ddd9035a-44a2-49b0-8d31-66cdca0c13c7`
* Meeting Room Requirements — `9a224e41-58d9-43a2-ae59-6d1aa16442ce`
* Sleeping Room Requirements — `cc63aa7c-0800-4fa5-a04b-073793e197f3`
* Budget Estimates — `1479fb2d-e94c-4bfb-a63f-4af808a22160` | f1ea56cd-6860-4f1a-baf7-973118384384 | | `name` | *string* | :heavy_minus_sign: | The display text of the question. | What is your favorite color? | -| `type` | [components.QuestionTypeJson1](../../models/components/questiontypejson1.md) | :heavy_minus_sign: | Denotes the type of data collected by a question. | SingleSelect | +| `type` | [components.QuestionTypeJson](../../models/components/questiontypejson.md) | :heavy_minus_sign: | Denotes the type of data collected by a question. | SingleSelect | | `value` | *string*[] | :heavy_check_mark: | An array of non-null answers to the question. The format of each item depends on the question `type`.

**Standard questions:** Each item is a plain string (for example, `"Green"`).

**Country/Region questions (`type: Country`):** Each item is either a country name (for example, `"Canada"`) or a country code (for example, `"CA"`). Clients should provide either country names or country codes, but not both formats in the same request. See the Country Codes reference for the list of supported country codes and corresponding country names.

**Complex questions (`type: MeetingRoomRequirements`, `SleepingRoomRequirements`, or `BudgetEstimates`):** Each item is a JSON-serialized string. See `compositeValue` for the same data in parsed form. | | | `answerType` | [components.AnswerTypeJson](../../models/components/answertypejson.md) | :heavy_minus_sign: | Indicates the type of the answer, which determines how the `value` and `secondaryValue` fields are interpreted.

Set to **"Other"** when the question has the **"Other"** choice option enabled, indicating the answer in the **"secondaryValue"** field is a free-text response to that option.

Set to **"NA"** when the question has the **"N/A"** choice option enabled, to indicate an N/A type answer; in this case, `value` is omitted.

In all other cases, `answerType` is not expected to be set. | Other | | `secondaryValue` | *string* | :heavy_minus_sign: | The secondary value of the question. This can be the other answer of choice questions which have `Other` as an answer type. | The other answer for the question. | diff --git a/packages/typescript/docs/models/components/membershipjson.md b/packages/typescript/docs/models/components/membershipjson.md deleted file mode 100644 index 2486ebacc..000000000 --- a/packages/typescript/docs/models/components/membershipjson.md +++ /dev/null @@ -1,32 +0,0 @@ -# MembershipJson - -Contact Membership information - -## Example Usage - -```typescript -import { MembershipJson } from "@cvent/sdk/models/components"; -import { RFCDate } from "@cvent/sdk/types"; - -let value: MembershipJson = { - type: "Corporate Sponsor", - plan: "Gold Level", - joined: new RFCDate("2017-02-10"), - expiration: new RFCDate("2020-02-09"), - lastRenewal: new RFCDate("2019-02-08"), - amountDue: 50.5, - listInDirectory: false, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | -| `type` | *string* | :heavy_minus_sign: | The type of membership the contact has signed up for. | Corporate Sponsor | -| `plan` | *string* | :heavy_minus_sign: | Describes the specific plan the contact has signed up for. | Gold Level | -| `joined` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO-8601 formatted date the contact began their membership. | 2017-02-10 | -| `expiration` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO-8601 formatted date the contact's membership will expire. | 2020-02-09 | -| `lastRenewal` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO-8601 formatted date the contact last renewed their membership. | 2019-02-08 | -| `amountDue` | *number* | :heavy_minus_sign: | The amount currently due for this membership. | 50.5 | -| `listInDirectory` | *boolean* | :heavy_minus_sign: | Indicates if the member details should be included in the member directory. | false | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/messagerecipientresponse.md b/packages/typescript/docs/models/components/messagerecipientresponse.md new file mode 100644 index 000000000..6fbd69531 --- /dev/null +++ b/packages/typescript/docs/models/components/messagerecipientresponse.md @@ -0,0 +1,27 @@ +# MessageRecipientResponse + +Members of the channel who received a message. + +## Example Usage + +```typescript +import { MessageRecipientResponse } from "@cvent/sdk/models/components"; + +let value: MessageRecipientResponse = { + attendee: { + id: "0a459133-1f5e-43b2-8694-7da9541b3f58", + active: false, + leftChannelAt: new Date("2025-03-13T18:00:00.000Z"), + }, + channel: { + id: "production_group_0cb93bab-32d2-4f82-b430-e1911f2348ac", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `attendee` | [components.MessageRecipientResponseAttendee](../../models/components/messagerecipientresponseattendee.md) | :heavy_check_mark: | The attendee object | +| `channel` | [components.Channel](../../models/components/channel.md) | :heavy_check_mark: | The channel object | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/messagerecipientresponseattendee.md b/packages/typescript/docs/models/components/messagerecipientresponseattendee.md new file mode 100644 index 000000000..f56910e37 --- /dev/null +++ b/packages/typescript/docs/models/components/messagerecipientresponseattendee.md @@ -0,0 +1,23 @@ +# MessageRecipientResponseAttendee + +The attendee object + +## Example Usage + +```typescript +import { MessageRecipientResponseAttendee } from "@cvent/sdk/models/components"; + +let value: MessageRecipientResponseAttendee = { + id: "0a459133-1f5e-43b2-8694-7da9541b3f58", + active: false, + leftChannelAt: new Date("2025-03-13T18:00:00.000Z"), +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | Unique identifier for the attendee. | 0a459133-1f5e-43b2-8694-7da9541b3f58 | +| `active` | *boolean* | :heavy_check_mark: | True indicates the recipient is active in the channel. | false | +| `leftChannelAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | ISO 8601 formatted timestamp when the attendee left the channel, if applicable. | 2025-03-13T18:00:00.000Z | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/messagerecipientspaginatedresponse.md b/packages/typescript/docs/models/components/messagerecipientspaginatedresponse.md index 9d9af39b8..dd1afc38d 100644 --- a/packages/typescript/docs/models/components/messagerecipientspaginatedresponse.md +++ b/packages/typescript/docs/models/components/messagerecipientspaginatedresponse.md @@ -32,7 +32,7 @@ let value: MessageRecipientsPaginatedResponse = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | [components.MessageRecipientsResponseJson](../../models/components/messagerecipientsresponsejson.md)[] | :heavy_check_mark: | Collection of channel members. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `data` | [components.MessageRecipientResponse](../../models/components/messagerecipientresponse.md)[] | :heavy_check_mark: | Collection of channel members. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/messagerecipientsresponsejson.md b/packages/typescript/docs/models/components/messagerecipientsresponsejson.md deleted file mode 100644 index 19df141ca..000000000 --- a/packages/typescript/docs/models/components/messagerecipientsresponsejson.md +++ /dev/null @@ -1,27 +0,0 @@ -# MessageRecipientsResponseJson - -Members of the channel who received a message. - -## Example Usage - -```typescript -import { MessageRecipientsResponseJson } from "@cvent/sdk/models/components"; - -let value: MessageRecipientsResponseJson = { - attendee: { - id: "0a459133-1f5e-43b2-8694-7da9541b3f58", - active: false, - leftChannelAt: new Date("2025-03-13T18:00:00.000Z"), - }, - channel: { - id: "production_group_0cb93bab-32d2-4f82-b430-e1911f2348ac", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `attendee` | [components.MessageRecipientsResponseJsonAttendee](../../models/components/messagerecipientsresponsejsonattendee.md) | :heavy_check_mark: | The attendee object | -| `channel` | [components.Channel](../../models/components/channel.md) | :heavy_check_mark: | The channel object | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/messagerecipientsresponsejsonattendee.md b/packages/typescript/docs/models/components/messagerecipientsresponsejsonattendee.md deleted file mode 100644 index e4230bf09..000000000 --- a/packages/typescript/docs/models/components/messagerecipientsresponsejsonattendee.md +++ /dev/null @@ -1,23 +0,0 @@ -# MessageRecipientsResponseJsonAttendee - -The attendee object - -## Example Usage - -```typescript -import { MessageRecipientsResponseJsonAttendee } from "@cvent/sdk/models/components"; - -let value: MessageRecipientsResponseJsonAttendee = { - id: "0a459133-1f5e-43b2-8694-7da9541b3f58", - active: false, - leftChannelAt: new Date("2025-03-13T18:00:00.000Z"), -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | Unique identifier for the attendee. | 0a459133-1f5e-43b2-8694-7da9541b3f58 | -| `active` | *boolean* | :heavy_check_mark: | True indicates the recipient is active in the channel. | false | -| `leftChannelAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | ISO 8601 formatted timestamp when the attendee left the channel, if applicable. | 2025-03-13T18:00:00.000Z | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/numericanswerformat.md b/packages/typescript/docs/models/components/numericanswerformat.md new file mode 100644 index 000000000..a1a299057 --- /dev/null +++ b/packages/typescript/docs/models/components/numericanswerformat.md @@ -0,0 +1,17 @@ +# NumericAnswerFormat + +The answer format that a given number is stored in. + +## Example Usage + +```typescript +import { NumericAnswerFormat } from "@cvent/sdk/models/components"; + +let value: NumericAnswerFormat = "Currency"; +``` + +## Values + +```typescript +"Currency" | "Decimal" | "Number" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/numericanswerformatjson.md b/packages/typescript/docs/models/components/numericanswerformatjson.md deleted file mode 100644 index 6c2634341..000000000 --- a/packages/typescript/docs/models/components/numericanswerformatjson.md +++ /dev/null @@ -1,17 +0,0 @@ -# NumericAnswerFormatJson - -The answer format that a given number is stored in. - -## Example Usage - -```typescript -import { NumericAnswerFormatJson } from "@cvent/sdk/models/components"; - -let value: NumericAnswerFormatJson = "Decimal"; -``` - -## Values - -```typescript -"Currency" | "Decimal" | "Number" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/offeringcosttype1.md b/packages/typescript/docs/models/components/offeringcosttype1.md new file mode 100644 index 000000000..564b5cc0d --- /dev/null +++ b/packages/typescript/docs/models/components/offeringcosttype1.md @@ -0,0 +1,17 @@ +# OfferingCostType1 + +Cost type associated with organizing and hosting events and meetings. + +## Example Usage + +```typescript +import { OfferingCostType1 } from "@cvent/sdk/models/components"; + +let value: OfferingCostType1 = "ROOM_DROP"; +``` + +## Values + +```typescript +"AIRPORT_TRANSPORTATION" | "AIR_CONDITIONING_HEATING" | "AUDIO_PATCH" | "AV_EQUIPMENT" | "BELLMAN_DELIVERY" | "BREAKFAST_BUFFET" | "BREAKFAST_CONTINENTAL" | "BREAKFAST_PLATED" | "BREAKOUT_LARGE" | "BREAKOUT_MEDIUM" | "BREAKOUT_SMALL" | "BREAKOUT_TOTAL" | "BREAK_AM" | "BREAK_DRINKS_ONLY" | "BREAK_PM" | "BREAK_SNACKS_AND_DRINKS" | "BUILDING_OVERTIME" | "BUSINESS_CENTER" | "CMP" | "CONFERENCE_CONCIERGE" | "CONFERENCE_PLANNING_MANAGER" | "DDR_FULL_DAY" | "DDR_HALF_DAY" | "DINNER_BUFFET" | "DINNER_PLATED" | "EXHIBIT_SPACE" | "FACILITY_FEE" | "FITNESS_CENTER" | "GALLON_COFFEE" | "GENERAL_SESSION" | "HOUSEKEEPING" | "INTERNET_GUEST_ROOM" | "INTERNET_MEETING_ROOM" | "LABOR" | "LIGHTING" | "LOCAL_TRANSPORTATION" | "LUNCH_BOXED" | "LUNCH_BUFFET" | "LUNCH_PLATED" | "MEETING_ROOMS_TOTAL" | "NONE" | "OFFICE" | "OTHER_FB" | "OTHER_MISC" | "OTHER_RENTAL" | "OTHER_TRANSPORTATION" | "PARKING_FEE_SELF" | "PARKING_FEE_VALET" | "POWER_DROP" | "RECEPTION_BEVERAGE" | "RECEPTION_FOOD" | "RECEPTION_HEAVY_HORS_D_OEUVRES" | "RECEPTION_LIGHT_APPETIZERS" | "RESORT_FEE" | "ROOM_DROP" | "SERVICE_CHARGES" | "SETUP" | "SHIPPING_RECEIVING" | "GUEST_ROOMS" | "STORAGE" | "TEARDOWN" | "TOTAL_FB_MINIMUM" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/offeringcosttypejson0.md b/packages/typescript/docs/models/components/offeringcosttypejson0.md deleted file mode 100644 index 456a47cf8..000000000 --- a/packages/typescript/docs/models/components/offeringcosttypejson0.md +++ /dev/null @@ -1,17 +0,0 @@ -# OfferingCostTypeJson0 - -Cost type associated with organizing and hosting events and meetings. - -## Example Usage - -```typescript -import { OfferingCostTypeJson0 } from "@cvent/sdk/models/components"; - -let value: OfferingCostTypeJson0 = "OTHER_FB"; -``` - -## Values - -```typescript -"AIRPORT_TRANSPORTATION" | "AIR_CONDITIONING_HEATING" | "AUDIO_PATCH" | "AV_EQUIPMENT" | "BELLMAN_DELIVERY" | "BREAKFAST_BUFFET" | "BREAKFAST_CONTINENTAL" | "BREAKFAST_PLATED" | "BREAKOUT_LARGE" | "BREAKOUT_MEDIUM" | "BREAKOUT_SMALL" | "BREAKOUT_TOTAL" | "BREAK_AM" | "BREAK_DRINKS_ONLY" | "BREAK_PM" | "BREAK_SNACKS_AND_DRINKS" | "BUILDING_OVERTIME" | "BUSINESS_CENTER" | "CMP" | "CONFERENCE_CONCIERGE" | "CONFERENCE_PLANNING_MANAGER" | "DDR_FULL_DAY" | "DDR_HALF_DAY" | "DINNER_BUFFET" | "DINNER_PLATED" | "EXHIBIT_SPACE" | "FACILITY_FEE" | "FITNESS_CENTER" | "GALLON_COFFEE" | "GENERAL_SESSION" | "HOUSEKEEPING" | "INTERNET_GUEST_ROOM" | "INTERNET_MEETING_ROOM" | "LABOR" | "LIGHTING" | "LOCAL_TRANSPORTATION" | "LUNCH_BOXED" | "LUNCH_BUFFET" | "LUNCH_PLATED" | "MEETING_ROOMS_TOTAL" | "NONE" | "OFFICE" | "OTHER_FB" | "OTHER_MISC" | "OTHER_RENTAL" | "OTHER_TRANSPORTATION" | "PARKING_FEE_SELF" | "PARKING_FEE_VALET" | "POWER_DROP" | "RECEPTION_BEVERAGE" | "RECEPTION_FOOD" | "RECEPTION_HEAVY_HORS_D_OEUVRES" | "RECEPTION_LIGHT_APPETIZERS" | "RESORT_FEE" | "ROOM_DROP" | "SERVICE_CHARGES" | "SETUP" | "SHIPPING_RECEIVING" | "GUEST_ROOMS" | "STORAGE" | "TEARDOWN" | "TOTAL_FB_MINIMUM" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/one.md b/packages/typescript/docs/models/components/one.md new file mode 100644 index 000000000..a419a2382 --- /dev/null +++ b/packages/typescript/docs/models/components/one.md @@ -0,0 +1,26 @@ +# One + +This is used to denote the open ended date time type of custom field. + +## Example Usage + +```typescript +import { One } from "@cvent/sdk/models/components"; + +let value: One = { + from: new Date("2021-01-02T02:00:00Z"), + to: new Date("2021-02-02T02:00:00Z"), + format: "DateOnlyMonthFirst", + defaultToCurrentDate: false, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `from` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned minimum date time accepted. | 2021-01-02T02:00:00Z | +| `to` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned maximum date time accepted. | 2021-02-02T02:00:00Z | +| `format` | [components.DateTimeDisplayFormatJson](../../models/components/datetimedisplayformatjson.md) | :heavy_minus_sign: | This is used to denote the display format type of date time type custom field. | DateOnlyMonthFirst | +| `defaultToCurrentDate` | *boolean* | :heavy_minus_sign: | Whether it needs to be pre populated with current date. | false | +| `displayPopUpCalendar` | *boolean* | :heavy_minus_sign: | True means that a pop-up calendar will be displayed to assist date selection on UI. | false | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/oneallof.md b/packages/typescript/docs/models/components/oneallof.md deleted file mode 100644 index d3a0843a3..000000000 --- a/packages/typescript/docs/models/components/oneallof.md +++ /dev/null @@ -1,19 +0,0 @@ -# OneAllOf - -Represents a link to a related resource. - -## Example Usage - -```typescript -import { OneAllOf } from "@cvent/sdk/models/components"; - -let value: OneAllOf = { - href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | -| `href` | *string* | :heavy_check_mark: | A url provided that can be followed for linking | ?token=90c5f062-76ad-4ea4-aa53-00eb698d9262 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/oneoneof.md b/packages/typescript/docs/models/components/oneoneof.md deleted file mode 100644 index 7bf751f18..000000000 --- a/packages/typescript/docs/models/components/oneoneof.md +++ /dev/null @@ -1,26 +0,0 @@ -# OneOneOf - -This is used to denote the open ended date time type of custom field. - -## Example Usage - -```typescript -import { OneOneOf } from "@cvent/sdk/models/components"; - -let value: OneOneOf = { - from: new Date("2021-01-02T02:00:00Z"), - to: new Date("2021-02-02T02:00:00Z"), - format: "DateOnlyMonthFirst", - defaultToCurrentDate: false, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `from` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned minimum date time accepted. | 2021-01-02T02:00:00Z | -| `to` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned maximum date time accepted. | 2021-02-02T02:00:00Z | -| `format` | [components.DateTimeDisplayFormatJson](../../models/components/datetimedisplayformatjson.md) | :heavy_minus_sign: | This is used to denote the display format type of date time type custom field. | DateOnlyMonthFirst | -| `defaultToCurrentDate` | *boolean* | :heavy_minus_sign: | Whether it needs to be pre populated with current date. | false | -| `displayPopUpCalendar` | *boolean* | :heavy_minus_sign: | True means that a pop-up calendar will be displayed to assist date selection on UI. | false | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/optoutby.md b/packages/typescript/docs/models/components/optoutby.md new file mode 100644 index 000000000..434315434 --- /dev/null +++ b/packages/typescript/docs/models/components/optoutby.md @@ -0,0 +1,17 @@ +# OptoutBy + +This is used to denote how a contact is opt'd out of Cvent system. + +## Example Usage + +```typescript +import { OptoutBy } from "@cvent/sdk/models/components"; + +let value: OptoutBy = "Account User"; +``` + +## Values + +```typescript +"Abuse Complaint" | "Account User" | "API" | "Contact Self Opt-Out" | "Cvent Support" | "Hard Bounce" | "Import" | "Invitee Self Unsubscribe" | "Multiple Bounce" | "Respondent Self Unsubscribe" | "Temporary Block" | "Cvent Salesforce App" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/optoutjson.md b/packages/typescript/docs/models/components/optoutjson.md deleted file mode 100644 index 3f3c887ec..000000000 --- a/packages/typescript/docs/models/components/optoutjson.md +++ /dev/null @@ -1,22 +0,0 @@ -# OptOutJson - -Details of an opt-out for a Contact. - -## Example Usage - -```typescript -import { OptOutJson } from "@cvent/sdk/models/components"; - -let value: OptOutJson = { - date: new Date("2019-02-12T03:00:00Z"), - by: "Account User", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | -| `optedOut` | *boolean* | :heavy_minus_sign: | Used to denote if a contact has opted-out of receiving system generated emails. | false | -| `date` | [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 contact was opted-out. This value can change if the contact opts out multiple times. | 2019-02-12T03:00:00Z | -| `by` | [components.OptoutByJson](../../models/components/optoutbyjson.md) | :heavy_minus_sign: | This is used to denote how a contact is opt'd out of Cvent system. | Account User | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/optoutjsoninput.md b/packages/typescript/docs/models/components/optoutjsoninput.md deleted file mode 100644 index d10023bc4..000000000 --- a/packages/typescript/docs/models/components/optoutjsoninput.md +++ /dev/null @@ -1,17 +0,0 @@ -# OptOutJsonInput - -Details of an opt-out for a Contact. - -## Example Usage - -```typescript -import { OptOutJsonInput } from "@cvent/sdk/models/components"; - -let value: OptOutJsonInput = {}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | -| `optedOut` | *boolean* | :heavy_minus_sign: | Used to denote if a contact has opted-out of receiving system generated emails. | false | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/orderdetail.md b/packages/typescript/docs/models/components/orderdetail.md index 0857c98a2..bb895cba6 100644 --- a/packages/typescript/docs/models/components/orderdetail.md +++ b/packages/typescript/docs/models/components/orderdetail.md @@ -52,7 +52,7 @@ let value: OrderDetail = { | `lastModifiedBy` | *string* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | | `id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `event` | [components.Event2](../../models/components/event2.md) | :heavy_minus_sign: | The reference to the event. Contains only the ID of the event. | | -| `attendee` | [components.Attendee2](../../models/components/attendee2.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | +| `attendee` | [components.Attendee](../../models/components/attendee.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | | `number` | *string* | :heavy_minus_sign: | Order number for this order | PZNK2PKZH4N | | `cancelled` | *boolean* | :heavy_minus_sign: | This denotes if an order is cancelled or not. | false | | `type` | [components.OrderType](../../models/components/ordertype.md) | :heavy_minus_sign: | This is used to denote the type of order made by an attendee. | Online Refund | diff --git a/packages/typescript/docs/models/components/orderitemresponse.md b/packages/typescript/docs/models/components/orderitemresponse.md index 6bd65564b..a6013d33b 100644 --- a/packages/typescript/docs/models/components/orderitemresponse.md +++ b/packages/typescript/docs/models/components/orderitemresponse.md @@ -77,7 +77,7 @@ let value: OrderItemResponse = { | `id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `order` | [components.OrderRef](../../models/components/orderref.md) | :heavy_minus_sign: | Represents an order by its ID and includes the order type. | | | `event` | [components.Event2](../../models/components/event2.md) | :heavy_minus_sign: | The reference to the event. Contains only the ID of the event. | | -| `attendee` | [components.Attendee2](../../models/components/attendee2.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | +| `attendee` | [components.Attendee](../../models/components/attendee.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | | `guest` | *boolean* | :heavy_minus_sign: | Indicates if an attendee is a guest | true | | `guestDetail` | [components.Guest](../../models/components/guest.md) | :heavy_minus_sign: | The reference to the guest. Contains only the ID of the guest. | | | `product` | [components.ProductOrderItem](../../models/components/productorderitem.md) | :heavy_minus_sign: | This is used to denote the product details in an order item | | diff --git a/packages/typescript/docs/models/components/organization.md b/packages/typescript/docs/models/components/organization.md new file mode 100644 index 000000000..dab252945 --- /dev/null +++ b/packages/typescript/docs/models/components/organization.md @@ -0,0 +1,19 @@ +# Organization + +Organization details. + +## Example Usage + +```typescript +import { Organization } from "@cvent/sdk/models/components"; + +let value: Organization = { + id: "50dc08af-24a9-4d01-84be-3d43133dc945", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | Unique identifier for the organization. | 50dc08af-24a9-4d01-84be-3d43133dc945 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/organizationjson.md b/packages/typescript/docs/models/components/organizationjson.md deleted file mode 100644 index 437ad9802..000000000 --- a/packages/typescript/docs/models/components/organizationjson.md +++ /dev/null @@ -1,19 +0,0 @@ -# OrganizationJson - -Organization details. - -## Example Usage - -```typescript -import { OrganizationJson } from "@cvent/sdk/models/components"; - -let value: OrganizationJson = { - id: "50dc08af-24a9-4d01-84be-3d43133dc945", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | Unique identifier for the organization. | 50dc08af-24a9-4d01-84be-3d43133dc945 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/organizationtype1.md b/packages/typescript/docs/models/components/organizationtype1.md new file mode 100644 index 000000000..c22030255 --- /dev/null +++ b/packages/typescript/docs/models/components/organizationtype1.md @@ -0,0 +1,17 @@ +# OrganizationType1 + +Organization type. + +## Example Usage + +```typescript +import { OrganizationType1 } from "@cvent/sdk/models/components"; + +let value: OrganizationType1 = "RELIGIOUS"; +``` + +## Values + +```typescript +"CORPORATE" | "ASSOCIATION" | "EDUCATION" | "GOVERNMENT" | "SOCIAL_LEISURE" | "RELIGIOUS" | "MILITARY" | "OTHER" | "NON_PROFIT" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/organizationtypejson0.md b/packages/typescript/docs/models/components/organizationtypejson0.md deleted file mode 100644 index b58a2216c..000000000 --- a/packages/typescript/docs/models/components/organizationtypejson0.md +++ /dev/null @@ -1,17 +0,0 @@ -# OrganizationTypeJson0 - -Organization type. - -## Example Usage - -```typescript -import { OrganizationTypeJson0 } from "@cvent/sdk/models/components"; - -let value: OrganizationTypeJson0 = "OTHER"; -``` - -## Values - -```typescript -"CORPORATE" | "ASSOCIATION" | "EDUCATION" | "GOVERNMENT" | "SOCIAL_LEISURE" | "RELIGIOUS" | "MILITARY" | "OTHER" | "NON_PROFIT" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/packagepricingpreference.md b/packages/typescript/docs/models/components/packagepricingpreference.md new file mode 100644 index 000000000..a17352b35 --- /dev/null +++ b/packages/typescript/docs/models/components/packagepricingpreference.md @@ -0,0 +1,17 @@ +# PackagePricingPreference + +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. + +## Example Usage + +```typescript +import { PackagePricingPreference } from "@cvent/sdk/models/components"; + +let value: PackagePricingPreference = "OPTIONAL"; +``` + +## Values + +```typescript +"NO_PREFERENCE" | "OPTIONAL" | "REQUIRED" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/packagepricingpreferencejson.md b/packages/typescript/docs/models/components/packagepricingpreferencejson.md deleted file mode 100644 index e1367679f..000000000 --- a/packages/typescript/docs/models/components/packagepricingpreferencejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# PackagePricingPreferenceJson - -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. - -## Example Usage - -```typescript -import { PackagePricingPreferenceJson } from "@cvent/sdk/models/components"; - -let value: PackagePricingPreferenceJson = "OPTIONAL"; -``` - -## Values - -```typescript -"NO_PREFERENCE" | "OPTIONAL" | "REQUIRED" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/paginatedinternaldocuments.md b/packages/typescript/docs/models/components/paginatedinternaldocuments.md index e7dc164de..944851de5 100644 --- a/packages/typescript/docs/models/components/paginatedinternaldocuments.md +++ b/packages/typescript/docs/models/components/paginatedinternaldocuments.md @@ -43,7 +43,7 @@ let value: PaginatedInternalDocuments = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `data` | [components.RfpInternalDocumentJson0](../../models/components/rfpinternaldocumentjson0.md)[] | :heavy_minus_sign: | List of internal documents linked to an RFP. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `data` | [components.RfpInternalDocument](../../models/components/rfpinternaldocument.md)[] | :heavy_minus_sign: | List of internal documents linked to an RFP. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/paginatedrfpagendaitems.md b/packages/typescript/docs/models/components/paginatedrfpagendaitems.md index d894a8b3a..2825db3b0 100644 --- a/packages/typescript/docs/models/components/paginatedrfpagendaitems.md +++ b/packages/typescript/docs/models/components/paginatedrfpagendaitems.md @@ -54,7 +54,7 @@ let value: PaginatedRfpAgendaItems = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `data` | [components.RfpAgendaItemJson](../../models/components/rfpagendaitemjson.md)[] | :heavy_minus_sign: | List of agenda items associated with an RFP. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `data` | [components.RfpAgendaItem](../../models/components/rfpagendaitem.md)[] | :heavy_minus_sign: | List of agenda items associated with an RFP. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/paginatedrfpagendaitemsschedule.md b/packages/typescript/docs/models/components/paginatedrfpagendaitemsschedule.md index 46b08ea15..77d1fd0b6 100644 --- a/packages/typescript/docs/models/components/paginatedrfpagendaitemsschedule.md +++ b/packages/typescript/docs/models/components/paginatedrfpagendaitemsschedule.md @@ -39,7 +39,7 @@ let value: PaginatedRfpAgendaItemsSchedule = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `data` | [components.RfpAgendaItemScheduleWithIdJson](../../models/components/rfpagendaitemschedulewithidjson.md)[] | :heavy_minus_sign: | List of agenda items schedule attached to an RFP. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `data` | [components.RfpAgendaItemScheduleWithId](../../models/components/rfpagendaitemschedulewithid.md)[] | :heavy_minus_sign: | List of agenda items schedule attached to an RFP. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/paginatedrfpattachments.md b/packages/typescript/docs/models/components/paginatedrfpattachments.md index e70ca100b..093fac1f1 100644 --- a/packages/typescript/docs/models/components/paginatedrfpattachments.md +++ b/packages/typescript/docs/models/components/paginatedrfpattachments.md @@ -32,7 +32,7 @@ let value: PaginatedRfpAttachments = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | [components.RfpAttachmentJson](../../models/components/rfpattachmentjson.md)[] | :heavy_check_mark: | List of attachments added on an RFP. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `data` | [components.RfpAttachment](../../models/components/rfpattachment.md)[] | :heavy_check_mark: | List of attachments added on an RFP. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/paginatedrfpcustomfield.md b/packages/typescript/docs/models/components/paginatedrfpcustomfield.md index 9acfd872a..8b9bfb037 100644 --- a/packages/typescript/docs/models/components/paginatedrfpcustomfield.md +++ b/packages/typescript/docs/models/components/paginatedrfpcustomfield.md @@ -43,5 +43,5 @@ let value: PaginatedRfpCustomField = { | Field | Type | Required | Description | | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `data` | [components.RfpCustomFieldJson](../../models/components/rfpcustomfieldjson.md)[] | :heavy_minus_sign: | List of RFP custom fields linked to an RFP. | \ No newline at end of file +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `data` | [components.CustomFieldAnswers](../../models/components/customfieldanswers.md)[] | :heavy_minus_sign: | List of RFP custom fields linked to an RFP. | \ 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 a649be4bc..28dd9035b 100644 --- a/packages/typescript/docs/models/components/paginatedrfpquestions.md +++ b/packages/typescript/docs/models/components/paginatedrfpquestions.md @@ -126,7 +126,7 @@ let value: PaginatedRfpQuestions = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `data` | [components.RfpQuestionJson](../../models/components/rfpquestionjson.md)[] | :heavy_minus_sign: | List of questions associated to an RFP. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `data` | [components.RfpQuestion](../../models/components/rfpquestion.md)[] | :heavy_minus_sign: | List of questions associated to an RFP. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/paginatedrfprecipientshistory.md b/packages/typescript/docs/models/components/paginatedrfprecipientshistory.md index 39bfbf550..bc1cc0482 100644 --- a/packages/typescript/docs/models/components/paginatedrfprecipientshistory.md +++ b/packages/typescript/docs/models/components/paginatedrfprecipientshistory.md @@ -46,7 +46,7 @@ let value: PaginatedRfpRecipientsHistory = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | [components.RfpRecipientLogEntryJson](../../models/components/rfprecipientlogentryjson.md)[] | :heavy_check_mark: | List of RFP recipient logs. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `data` | [components.RfpRecipientLogEntry](../../models/components/rfprecipientlogentry.md)[] | :heavy_check_mark: | List of RFP recipient logs. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/paginatedrfpsuppliers.md b/packages/typescript/docs/models/components/paginatedrfpsuppliers.md index 09836207d..b971e28d3 100644 --- a/packages/typescript/docs/models/components/paginatedrfpsuppliers.md +++ b/packages/typescript/docs/models/components/paginatedrfpsuppliers.md @@ -32,7 +32,7 @@ let value: PaginatedRfpSuppliers = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | [components.RfpSupplierJson](../../models/components/rfpsupplierjson.md)[] | :heavy_check_mark: | List of RFP suppliers. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `data` | [components.RfpSupplier](../../models/components/rfpsupplier.md)[] | :heavy_check_mark: | List of RFP suppliers. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/pagingjson19.md b/packages/typescript/docs/models/components/pagingjson19.md deleted file mode 100644 index 4ce85c7f7..000000000 --- a/packages/typescript/docs/models/components/pagingjson19.md +++ /dev/null @@ -1,37 +0,0 @@ -# PagingJson19 - -Represents pagination information for a collection of resources. - -## Example Usage - -```typescript -import { PagingJson19 } from "@cvent/sdk/models/components"; - -let value: PagingJson19 = { - nextToken: "3b2359a7-4583-40ed-8afd-67e5f15373d3", - currentToken: "90c5f062-76ad-4ea4-aa53-00eb698d9262", - 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", - }, - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `nextToken` | *string* | :heavy_minus_sign: | The pagination token for the next page; if available. You can use this to determine if there is additional data to fetch | 3b2359a7-4583-40ed-8afd-67e5f15373d3 | -| `currentToken` | *string* | :heavy_minus_sign: | The pagination token for the current page | 90c5f062-76ad-4ea4-aa53-00eb698d9262 | -| `limit` | *number* | :heavy_minus_sign: | The number of records to return on the page not to exceed 200 | 100 | -| `totalCount` | *number* | :heavy_minus_sign: | The total number of records available | 2 | -| `links` | [components.PaginationLinksJson](../../models/components/paginationlinksjson.md) | :heavy_check_mark: | Represents pagination links for navigating between pages of data. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/pagingjson2.md b/packages/typescript/docs/models/components/pagingjson2.md new file mode 100644 index 000000000..7e27294ba --- /dev/null +++ b/packages/typescript/docs/models/components/pagingjson2.md @@ -0,0 +1,37 @@ +# PagingJson2 + +Represents pagination information for a collection of resources. + +## Example Usage + +```typescript +import { PagingJson2 } from "@cvent/sdk/models/components"; + +let value: PagingJson2 = { + nextToken: "3b2359a7-4583-40ed-8afd-67e5f15373d3", + currentToken: "90c5f062-76ad-4ea4-aa53-00eb698d9262", + 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", + }, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `nextToken` | *string* | :heavy_minus_sign: | The pagination token for the next page; if available. You can use this to determine if there is additional data to fetch | 3b2359a7-4583-40ed-8afd-67e5f15373d3 | +| `currentToken` | *string* | :heavy_minus_sign: | The pagination token for the current page | 90c5f062-76ad-4ea4-aa53-00eb698d9262 | +| `limit` | *number* | :heavy_minus_sign: | The number of records to return on the page not to exceed 200 | 100 | +| `totalCount` | *number* | :heavy_minus_sign: | The total number of records available | 2 | +| `links` | [components.PaginationLinksJson](../../models/components/paginationlinksjson.md) | :heavy_check_mark: | Represents pagination links for navigating between pages of data. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/pagingnototalcountjson.md b/packages/typescript/docs/models/components/pagingnototalcountjson.md new file mode 100644 index 000000000..eeb909bad --- /dev/null +++ b/packages/typescript/docs/models/components/pagingnototalcountjson.md @@ -0,0 +1,37 @@ +# PagingNoTotalCountJson + +Represents pagination information for a collection of resources. + +## Example Usage + +```typescript +import { PagingNoTotalCountJson } from "@cvent/sdk/models/components"; + +let value: PagingNoTotalCountJson = { + previousToken: "1a2b3c4d5e6f7g8h9i10j11k", + nextToken: "1a2b3c4d5e6f7g8h9i10j11k", + currentToken: "1a2b3c4d5e6f7g8h9i10j11k", + limit: 100, + 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", + }, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `previousToken` | *string* | :heavy_minus_sign: | The pagination token for the previous page, if one exists. You can use this token to navigate to the previous page of data. | 1a2b3c4d5e6f7g8h9i10j11k | +| `nextToken` | *string* | :heavy_minus_sign: | The pagination token for the next page. If this value is present in the response, there is another page of data you can fetch. | 1a2b3c4d5e6f7g8h9i10j11k | +| `currentToken` | *string* | :heavy_minus_sign: | The pagination token for the current page. | 1a2b3c4d5e6f7g8h9i10j11k | +| `limit` | *number* | :heavy_minus_sign: | The number of records to return on the page. Not to exceed 200. | 100 | +| `links` | [components.PaginationLinksJson](../../models/components/paginationlinksjson.md) | :heavy_check_mark: | Represents pagination links for navigating between pages of data. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/pagingnototalcountjson2.md b/packages/typescript/docs/models/components/pagingnototalcountjson2.md deleted file mode 100644 index 57dbb5215..000000000 --- a/packages/typescript/docs/models/components/pagingnototalcountjson2.md +++ /dev/null @@ -1,37 +0,0 @@ -# PagingNoTotalCountJson2 - -Represents pagination information for a collection of resources. - -## Example Usage - -```typescript -import { PagingNoTotalCountJson2 } from "@cvent/sdk/models/components"; - -let value: PagingNoTotalCountJson2 = { - previousToken: "1a2b3c4d5e6f7g8h9i10j11k", - nextToken: "1a2b3c4d5e6f7g8h9i10j11k", - currentToken: "1a2b3c4d5e6f7g8h9i10j11k", - limit: 100, - 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", - }, - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `previousToken` | *string* | :heavy_minus_sign: | The pagination token for the previous page, if one exists. You can use this token to navigate to the previous page of data. | 1a2b3c4d5e6f7g8h9i10j11k | -| `nextToken` | *string* | :heavy_minus_sign: | The pagination token for the next page. If this value is present in the response, there is another page of data you can fetch. | 1a2b3c4d5e6f7g8h9i10j11k | -| `currentToken` | *string* | :heavy_minus_sign: | The pagination token for the current page. | 1a2b3c4d5e6f7g8h9i10j11k | -| `limit` | *number* | :heavy_minus_sign: | The number of records to return on the page. Not to exceed 200. | 100 | -| `links` | [components.PaginationLinksJson](../../models/components/paginationlinksjson.md) | :heavy_check_mark: | Represents pagination links for navigating between pages of data. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/passport.md b/packages/typescript/docs/models/components/passport.md new file mode 100644 index 000000000..da10c341d --- /dev/null +++ b/packages/typescript/docs/models/components/passport.md @@ -0,0 +1,23 @@ +# Passport + +This entity represents a contact's passport information. + +## Example Usage + +```typescript +import { Passport } from "@cvent/sdk/models/components"; + +let value: Passport = { + number: "123456789", + country: "United Kingdom", + countryCode: "GB", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `number` | *string* | :heavy_minus_sign: | The passport number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123456789 | +| `country` | *string* | :heavy_minus_sign: | The passport country of the contact. | United Kingdom | +| `countryCode` | *string* | :heavy_minus_sign: | The passport country code of the contact. | GB | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/passportinput.md b/packages/typescript/docs/models/components/passportinput.md new file mode 100644 index 000000000..a64e3d2b2 --- /dev/null +++ b/packages/typescript/docs/models/components/passportinput.md @@ -0,0 +1,21 @@ +# PassportInput + +This entity represents a contact's passport information. + +## Example Usage + +```typescript +import { PassportInput } from "@cvent/sdk/models/components"; + +let value: PassportInput = { + number: "123456789", + countryCode: "GB", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `number` | *string* | :heavy_minus_sign: | The passport number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123456789 | +| `countryCode` | *string* | :heavy_minus_sign: | The passport country code of the contact. | GB | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/passportjson.md b/packages/typescript/docs/models/components/passportjson.md deleted file mode 100644 index d76600770..000000000 --- a/packages/typescript/docs/models/components/passportjson.md +++ /dev/null @@ -1,23 +0,0 @@ -# PassportJson - -This entity represents a contact's passport information. - -## Example Usage - -```typescript -import { PassportJson } from "@cvent/sdk/models/components"; - -let value: PassportJson = { - number: "123456789", - country: "United Kingdom", - countryCode: "GB", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `number` | *string* | :heavy_minus_sign: | The passport number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123456789 | -| `country` | *string* | :heavy_minus_sign: | The passport country of the contact. | United Kingdom | -| `countryCode` | *string* | :heavy_minus_sign: | The passport country code of the contact. | GB | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/passportjsoninput.md b/packages/typescript/docs/models/components/passportjsoninput.md deleted file mode 100644 index ea8248cf2..000000000 --- a/packages/typescript/docs/models/components/passportjsoninput.md +++ /dev/null @@ -1,21 +0,0 @@ -# PassportJsonInput - -This entity represents a contact's passport information. - -## Example Usage - -```typescript -import { PassportJsonInput } from "@cvent/sdk/models/components"; - -let value: PassportJsonInput = { - number: "123456789", - countryCode: "GB", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `number` | *string* | :heavy_minus_sign: | The passport number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123456789 | -| `countryCode` | *string* | :heavy_minus_sign: | The passport country code of the contact. | GB | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/paymentinfojson.md b/packages/typescript/docs/models/components/paymentinfojson.md index 69c74e5b8..e1948fb76 100644 --- a/packages/typescript/docs/models/components/paymentinfojson.md +++ b/packages/typescript/docs/models/components/paymentinfojson.md @@ -38,6 +38,6 @@ let value: PaymentInfoJson = { | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | | `paymentType` | [components.PaymentTypesJson](../../models/components/paymenttypesjson.md) | :heavy_minus_sign: | Payment type. | | | `fullName` | *string* | :heavy_minus_sign: | Full name. | Gustav Schultz | -| `address` | [components.AddressJson2](../../models/components/addressjson2.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | +| `address` | [components.AddressJson](../../models/components/addressjson.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | | `phone` | *string* | :heavy_minus_sign: | Phone number. | (231)213-1222 | | `other` | [components.OtherPaymentJson](../../models/components/otherpaymentjson.md) | :heavy_minus_sign: | Other payment details. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/plannerjson2.md b/packages/typescript/docs/models/components/plannerjson2.md index f47b24c03..65a03d03c 100644 --- a/packages/typescript/docs/models/components/plannerjson2.md +++ b/packages/typescript/docs/models/components/plannerjson2.md @@ -46,7 +46,7 @@ let value: PlannerJson2 = { | ~~`workAddress`~~ | [components.PlannerJson2WorkAddressAddress](../../models/components/plannerjson2workaddressaddress.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | | | ~~`workPhone`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Work phone number. | 555-555-5555 | | ~~`workFax`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Work fax number. | 555-555-5555 | -| ~~`customFields`~~ | [components.CustomFieldJson3](../../models/components/customfieldjson3.md)[] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Collection of custom fields. | | +| ~~`customFields`~~ | [components.CustomFieldJson2](../../models/components/customfieldjson2.md)[] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Collection of custom fields. | | | ~~`sourceId`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This is an ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. | system-a-00000000-0000-0000-0000-000000000000 | | ~~`mobilePhone`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Mobile phone number. | 555-555-5555 | | ~~`created`~~ | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The ISO 8601 zoned date time when this record was created. | 2023-12-31T15:00:00Z | diff --git a/packages/typescript/docs/models/components/policyvaluetype.md b/packages/typescript/docs/models/components/policyvaluetype.md new file mode 100644 index 000000000..5375d128d --- /dev/null +++ b/packages/typescript/docs/models/components/policyvaluetype.md @@ -0,0 +1,17 @@ +# PolicyValueType + +Value type of the policy + +## Example Usage + +```typescript +import { PolicyValueType } from "@cvent/sdk/models/components"; + +let value: PolicyValueType = "money"; +``` + +## Values + +```typescript +"selection_list" | "integer" | "money" | "percent" | "multi_select" | "text_multi_line" | "percent_or_money" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/policyvaluetypejson.md b/packages/typescript/docs/models/components/policyvaluetypejson.md deleted file mode 100644 index 5b1e14165..000000000 --- a/packages/typescript/docs/models/components/policyvaluetypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# PolicyValueTypeJson - -Value type of the policy - -## Example Usage - -```typescript -import { PolicyValueTypeJson } from "@cvent/sdk/models/components"; - -let value: PolicyValueTypeJson = "text_multi_line"; -``` - -## Values - -```typescript -"selection_list" | "integer" | "money" | "percent" | "multi_select" | "text_multi_line" | "percent_or_money" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/programitemlite.md b/packages/typescript/docs/models/components/programitemlite.md new file mode 100644 index 000000000..01850952a --- /dev/null +++ b/packages/typescript/docs/models/components/programitemlite.md @@ -0,0 +1,19 @@ +# ProgramItemLite + +The unique identifier of a program item. + +## Example Usage + +```typescript +import { ProgramItemLite } from "@cvent/sdk/models/components"; + +let value: ProgramItemLite = { + id: "221984b2-9e3e-4c1c-8ef4-306b1b75fa3e", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | +| `id` | *string* | :heavy_check_mark: | The unique identifier for a program item. | 221984b2-9e3e-4c1c-8ef4-306b1b75fa3e | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/programitemlitejson.md b/packages/typescript/docs/models/components/programitemlitejson.md deleted file mode 100644 index 931104146..000000000 --- a/packages/typescript/docs/models/components/programitemlitejson.md +++ /dev/null @@ -1,19 +0,0 @@ -# ProgramItemLiteJson - -The unique identifier of a program item. - -## Example Usage - -```typescript -import { ProgramItemLiteJson } from "@cvent/sdk/models/components"; - -let value: ProgramItemLiteJson = { - id: "221984b2-9e3e-4c1c-8ef4-306b1b75fa3e", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | -| `id` | *string* | :heavy_check_mark: | The unique identifier for a program item. | 221984b2-9e3e-4c1c-8ef4-306b1b75fa3e | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/programitemspeakerpaginatedresponse.md b/packages/typescript/docs/models/components/programitemspeakerpaginatedresponse.md index 06075442f..9b4f632a5 100644 --- a/packages/typescript/docs/models/components/programitemspeakerpaginatedresponse.md +++ b/packages/typescript/docs/models/components/programitemspeakerpaginatedresponse.md @@ -34,5 +34,5 @@ let value: ProgramItemSpeakerPaginatedResponse = { | Field | Type | Required | Description | | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | | `data` | [components.SpeakerProgramItem](../../models/components/speakerprogramitem.md)[] | :heavy_check_mark: | Collection of program item speakers. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/property.md b/packages/typescript/docs/models/components/property.md index d4713312a..fc21e8fd2 100644 --- a/packages/typescript/docs/models/components/property.md +++ b/packages/typescript/docs/models/components/property.md @@ -56,5 +56,5 @@ let value: Property = { | `code` | *string* | :heavy_minus_sign: | The property code for the property. | GH101 | | `deleted` | *boolean* | :heavy_minus_sign: | True indicates that the property is deleted. | false | | `currencyCode` | *string* | :heavy_minus_sign: | The ISO 4217 standard format currency code specified for the property. | USD | -| `address` | [components.AddressJson3](../../models/components/addressjson3.md) | :heavy_minus_sign: | A physical address. | | +| `address` | [components.AddressJson1](../../models/components/addressjson1.md) | :heavy_minus_sign: | A physical address. | | | `externalCodes` | [components.PropertyExternalCodeJson](../../models/components/propertyexternalcodejson.md)[] | :heavy_minus_sign: | Collection of external codes for a property. This includes GDS nd other codes used to identify a property in external systems. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/propertyroom.md b/packages/typescript/docs/models/components/propertyroom.md index 4a7e9e6d9..65b35e2ed 100644 --- a/packages/typescript/docs/models/components/propertyroom.md +++ b/packages/typescript/docs/models/components/propertyroom.md @@ -44,7 +44,7 @@ let value: PropertyRoom = { | `code` | *string* | :heavy_minus_sign: | Room code of the property room. | std | | `property` | [components.PropertyRoomProperty](../../models/components/propertyroomproperty.md) | :heavy_minus_sign: | The property that the room belongs to. | | | `deleted` | *boolean* | :heavy_minus_sign: | True indicates the property room is deleted. | false | -| `bedTypeCode` | [components.RoomBedTypeJson1](../../models/components/roombedtypejson1.md) | :heavy_minus_sign: | Code representing the bed type. | queen | +| `bedTypeCode` | [components.RoomBedTypeJson](../../models/components/roombedtypejson.md) | :heavy_minus_sign: | Code representing the bed type. | queen | | `numberOfBeds` | *number* | :heavy_minus_sign: | The number of beds in the room. | 2 | | `capacity` | *number* | :heavy_minus_sign: | Maximum capacity of people that can sleep in the room. | 6 | | `description` | *string* | :heavy_minus_sign: | A description of the room. | A standard room with two queen beds. | diff --git a/packages/typescript/docs/models/components/proposaldatejson.md b/packages/typescript/docs/models/components/proposaldatejson.md index 31fed1bab..43bb298cc 100644 --- a/packages/typescript/docs/models/components/proposaldatejson.md +++ b/packages/typescript/docs/models/components/proposaldatejson.md @@ -18,6 +18,6 @@ let value: ProposalDateJson = { | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `dateType` | [components.DateTypeJson1](../../models/components/datetypejson1.md) | :heavy_minus_sign: | The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). | | +| `dateType` | [components.DateTypeJson](../../models/components/datetypejson.md) | :heavy_minus_sign: | The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). | | | `startDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The start date of the event. | 2021-01-13 | | `endDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The end date of the event. | 2021-01-13 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/proposalrequest.md b/packages/typescript/docs/models/components/proposalrequest.md index b712598c4..2c61cf440 100644 --- a/packages/typescript/docs/models/components/proposalrequest.md +++ b/packages/typescript/docs/models/components/proposalrequest.md @@ -129,7 +129,7 @@ let value: ProposalRequest = { | `statusSummary` | [components.StatusSummaryJson](../../models/components/statussummaryjson.md) | :heavy_minus_sign: | Represents a summary of status associated with this proposal. | | | `introduction` | *string* | :heavy_minus_sign: | Introduction text for the proposal. | Let us design the day of your dreams at our property. | | ~~`billingContractualResponse`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Details about concessions or contractual requirements from the supplier. DEPRECATED - This field is deprecated. Only applied to proposal made from vendor marketplace, a sunset product. | All invoices must be paid in 30 days. | -| `currencyCode` | [components.CurrencyJson1](../../models/components/currencyjson1.md) | :heavy_minus_sign: | The ISO 4217 standard format currency code used for RFPs. | | +| `currencyCode` | [components.CurrencyJson2](../../models/components/currencyjson2.md) | :heavy_minus_sign: | The ISO 4217 standard format currency code used for RFPs. | | | `commissionableBid` | *boolean* | :heavy_minus_sign: | True indicates this is a commissionable bid. | true | | `commissionRate` | *number* | :heavy_minus_sign: | The proposal's commission rate. | 10.12 | | `name` | *string* | :heavy_minus_sign: | Name of the proposal. | Proposal for Royal Bank of Spain. | @@ -139,6 +139,6 @@ let value: ProposalRequest = { | ~~`categoryItemsCost`~~ | [components.CategoryItemsCostJson](../../models/components/categoryitemscostjson.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Category items cost. DEPRECATED - This field is deprecated. Only applied to proposals made by vendors, and the vendor marketplace is sunset. | | | `aggregatedCost` | [components.AggregatedCostJson](../../models/components/aggregatedcostjson.md) | :heavy_minus_sign: | The aggregated cost | | | `estimatedCost` | [components.EstimatedCostJson](../../models/components/estimatedcostjson.md) | :heavy_minus_sign: | The estimated cost | | -| `contacts` | [components.ContactJson1](../../models/components/contactjson1.md)[] | :heavy_minus_sign: | List of all contacts. | | -| `plannerContacts` | [components.ContactJson1](../../models/components/contactjson1.md)[] | :heavy_minus_sign: | List of all planner contacts. | | +| `contacts` | [components.ContactJson](../../models/components/contactjson.md)[] | :heavy_minus_sign: | List of all contacts. | | +| `plannerContacts` | [components.ContactJson](../../models/components/contactjson.md)[] | :heavy_minus_sign: | List of all planner contacts. | | | `meetingRoom` | [components.MeetingRoomJson](../../models/components/meetingroomjson.md) | :heavy_minus_sign: | The meeting room. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/proposalresponse.md b/packages/typescript/docs/models/components/proposalresponse.md index 08169cbfa..a90f83976 100644 --- a/packages/typescript/docs/models/components/proposalresponse.md +++ b/packages/typescript/docs/models/components/proposalresponse.md @@ -147,7 +147,7 @@ let value: ProposalResponse = { | `statusSummary` | [components.StatusSummaryJson](../../models/components/statussummaryjson.md) | :heavy_minus_sign: | Represents a summary of status associated with this proposal. | | | `introduction` | *string* | :heavy_minus_sign: | Introduction text for the proposal. | Let us design the day of your dreams at our property. | | ~~`billingContractualResponse`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Details about concessions or contractual requirements from the supplier. DEPRECATED - This field is deprecated. Only applied to proposal made from vendor marketplace, a sunset product. | All invoices must be paid in 30 days. | -| `currencyCode` | [components.CurrencyJson1](../../models/components/currencyjson1.md) | :heavy_minus_sign: | The ISO 4217 standard format currency code used for RFPs. | | +| `currencyCode` | [components.CurrencyJson2](../../models/components/currencyjson2.md) | :heavy_minus_sign: | The ISO 4217 standard format currency code used for RFPs. | | | `commissionableBid` | *boolean* | :heavy_minus_sign: | True indicates this is a commissionable bid. | true | | `commissionRate` | *number* | :heavy_minus_sign: | The proposal's commission rate. | 10.12 | | `name` | *string* | :heavy_minus_sign: | Name of the proposal. | Proposal for Royal Bank of Spain. | @@ -157,8 +157,8 @@ let value: ProposalResponse = { | ~~`categoryItemsCost`~~ | [components.CategoryItemsCostJson](../../models/components/categoryitemscostjson.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Category items cost. DEPRECATED - This field is deprecated. Only applied to proposals made by vendors, and the vendor marketplace is sunset. | | | `aggregatedCost` | [components.AggregatedCostJson](../../models/components/aggregatedcostjson.md) | :heavy_minus_sign: | The aggregated cost | | | `estimatedCost` | [components.EstimatedCostJson](../../models/components/estimatedcostjson.md) | :heavy_minus_sign: | The estimated cost | | -| `contacts` | [components.ContactJson1](../../models/components/contactjson1.md)[] | :heavy_minus_sign: | List of all contacts. | | -| `plannerContacts` | [components.ContactJson1](../../models/components/contactjson1.md)[] | :heavy_minus_sign: | List of all planner contacts. | | +| `contacts` | [components.ContactJson](../../models/components/contactjson.md)[] | :heavy_minus_sign: | List of all contacts. | | +| `plannerContacts` | [components.ContactJson](../../models/components/contactjson.md)[] | :heavy_minus_sign: | List of all planner contacts. | | | `meetingRoom` | [components.MeetingRoomJson](../../models/components/meetingroomjson.md) | :heavy_minus_sign: | The meeting room. | | | `transaction` | [components.TransactionJson](../../models/components/transactionjson.md) | :heavy_minus_sign: | The latest transaction that took place on a given proposal | | | `id` | *string* | :heavy_check_mark: | The unique ID of the proposal. | cf5fd2cc-3d09-11ee-be56-0242ac120002 | diff --git a/packages/typescript/docs/models/components/proposalstatustype.md b/packages/typescript/docs/models/components/proposalstatustype.md new file mode 100644 index 000000000..ef4ad3671 --- /dev/null +++ b/packages/typescript/docs/models/components/proposalstatustype.md @@ -0,0 +1,17 @@ +# ProposalStatusType + +The status of the proposal + +## Example Usage + +```typescript +import { ProposalStatusType } from "@cvent/sdk/models/components"; + +let value: ProposalStatusType = "account_accepted"; +``` + +## Values + +```typescript +"participation_requested" | "new" | "active" | "submitted" | "declined_participation" | "verified" | "approved" | "account_accepted" | "account_rejected" | "internal_rejected" | "request_renegotiation" | "decline_renegotiation" | "deleted" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/proposalstatustypejson.md b/packages/typescript/docs/models/components/proposalstatustypejson.md deleted file mode 100644 index 009a0f65e..000000000 --- a/packages/typescript/docs/models/components/proposalstatustypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# ProposalStatusTypeJson - -The status of the proposal - -## Example Usage - -```typescript -import { ProposalStatusTypeJson } from "@cvent/sdk/models/components"; - -let value: ProposalStatusTypeJson = "account_accepted"; -``` - -## Values - -```typescript -"participation_requested" | "new" | "active" | "submitted" | "declined_participation" | "verified" | "approved" | "account_accepted" | "account_rejected" | "internal_rejected" | "request_renegotiation" | "decline_renegotiation" | "deleted" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/proximityjson.md b/packages/typescript/docs/models/components/proximityjson.md index 16e55b840..6e2b380d9 100644 --- a/packages/typescript/docs/models/components/proximityjson.md +++ b/packages/typescript/docs/models/components/proximityjson.md @@ -18,7 +18,7 @@ let value: ProximityJson = { ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `distance` | [components.DistanceJson1](../../models/components/distancejson1.md) | :heavy_minus_sign: | Distance information. | | -| `mapMessage` | *string* | :heavy_minus_sign: | Message shown on map. | Your hotel is located here. | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `distance` | [components.DistanceJson](../../models/components/distancejson.md) | :heavy_minus_sign: | Distance information. | | +| `mapMessage` | *string* | :heavy_minus_sign: | Message shown on map. | Your hotel is located here. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/question.md b/packages/typescript/docs/models/components/question.md index 82718673f..be049ef6a 100644 --- a/packages/typescript/docs/models/components/question.md +++ b/packages/typescript/docs/models/components/question.md @@ -38,7 +38,7 @@ let value: Question = { | `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.QuestionResponseTypeJson](../../models/components/questionresponsetypejson.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.QuestionResponseDataTypeJson](../../models/components/questionresponsedatatypejson.md) | :heavy_minus_sign: | Code representing the expected data type of the question response. | text | -| `responseFormat` | [components.QuestionResponseFormatJson](../../models/components/questionresponseformatjson.md) | :heavy_minus_sign: | Code representing the format the text of the response will be in. | proper_case | +| `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/questionclassificationtype.md b/packages/typescript/docs/models/components/questionclassificationtype.md new file mode 100644 index 000000000..e7654d717 --- /dev/null +++ b/packages/typescript/docs/models/components/questionclassificationtype.md @@ -0,0 +1,17 @@ +# QuestionClassificationType + +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. + +## Example Usage + +```typescript +import { QuestionClassificationType } from "@cvent/sdk/models/components"; + +let value: QuestionClassificationType = "ALL_RFPS"; +``` + +## Values + +```typescript +"MEETING_ROOM" | "GUEST_ROOM" | "ALL_RFPS" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questionclassificationtypejson.md b/packages/typescript/docs/models/components/questionclassificationtypejson.md deleted file mode 100644 index 7a95c5f92..000000000 --- a/packages/typescript/docs/models/components/questionclassificationtypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# QuestionClassificationTypeJson - -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. - -## Example Usage - -```typescript -import { QuestionClassificationTypeJson } from "@cvent/sdk/models/components"; - -let value: QuestionClassificationTypeJson = "GUEST_ROOM"; -``` - -## Values - -```typescript -"MEETING_ROOM" | "GUEST_ROOM" | "ALL_RFPS" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questionjson.md b/packages/typescript/docs/models/components/questionjson.md new file mode 100644 index 000000000..5ce9c0652 --- /dev/null +++ b/packages/typescript/docs/models/components/questionjson.md @@ -0,0 +1,27 @@ +# QuestionJson + +Question details + +## Example Usage + +```typescript +import { QuestionJson } from "@cvent/sdk/models/components"; + +let value: QuestionJson = { + id: "2385098a-ab4e-4e06-b3b7-487cad288587", + text: "Sample question?", + status: "approved", + anonymous: true, + answer: "Sample answer.", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `id` | *string* | :heavy_check_mark: | The question ID. | 2385098a-ab4e-4e06-b3b7-487cad288587 | +| `text` | *string* | :heavy_minus_sign: | The question text. | Sample question? | +| `status` | *string* | :heavy_minus_sign: | The status of the question. | approved | +| `anonymous` | *boolean* | :heavy_minus_sign: | Whether question is asked anonymously. | true | +| `answer` | *string* | :heavy_minus_sign: | The answer text. | Sample answer. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questionjson1.md b/packages/typescript/docs/models/components/questionjson1.md index 76ffedc5c..caf0130f5 100644 --- a/packages/typescript/docs/models/components/questionjson1.md +++ b/packages/typescript/docs/models/components/questionjson1.md @@ -1,6 +1,6 @@ # QuestionJson1 -Question details +A survey question. ## Example Usage @@ -8,20 +8,102 @@ Question details import { QuestionJson1 } from "@cvent/sdk/models/components"; let value: QuestionJson1 = { - id: "2385098a-ab4e-4e06-b3b7-487cad288587", - text: "Sample question?", - status: "approved", - anonymous: true, - answer: "Sample answer.", + created: new Date("2017-01-02T02:00:00Z"), + createdBy: "hporter", + lastModified: new Date("2019-02-12T03:00:00Z"), + lastModifiedBy: "hporter", + text: "Field value", + shortText: "Category 1 Reporting value", + htmlText: "Question Html", + code: "4l6x", + type: "SingleChoice", + choices: [ + { + text: "Field value", + shortText: "Category 1 Reporting value", + label: "Choice A", + }, + ], + categories: [ + { + text: "Field value", + shortText: "Category 1 Reporting value", + required: true, + }, + ], + subCategories: [ + { + text: "Field value", + shortText: "Category 1 Reporting value", + }, + ], + notApplicableAnswer: { + text: "N/A or Other", + shortText: "N/A or Other Reporting value", + }, + otherAnswer: { + text: "N/A or Other", + shortText: "N/A or Other Reporting value", + }, + comments: "Comments Text", + required: true, + fields: [ + { + text: "Field value", + shortText: "Category 1 Reporting value", + type: "SingleChoice", + choices: [ + { + text: "Field value", + shortText: "Category 1 Reporting value", + label: "Choice A", + }, + ], + notApplicableAnswer: { + text: "N/A or Other", + shortText: "N/A or Other Reporting value", + }, + otherAnswer: { + text: "N/A or Other", + shortText: "N/A or Other Reporting value", + }, + required: true, + }, + ], + maxScore: 20, + totalSum: 45, + survey: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + }, + chapter: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + }, }; ``` ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `id` | *string* | :heavy_check_mark: | The question ID. | 2385098a-ab4e-4e06-b3b7-487cad288587 | -| `text` | *string* | :heavy_minus_sign: | The question text. | Sample question? | -| `status` | *string* | :heavy_minus_sign: | The status of the question. | approved | -| `anonymous` | *boolean* | :heavy_minus_sign: | Whether question is asked anonymously. | true | -| `answer` | *string* | :heavy_minus_sign: | The answer text. | Sample answer. | \ 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 | +| `id` | *string* | :heavy_minus_sign: | Text field ID. | | +| `text` | *string* | :heavy_minus_sign: | text Value of the Field | Field value | +| `shortText` | *string* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | +| `htmlText` | *string* | :heavy_minus_sign: | Html of the question | Question Html | +| `code` | *string* | :heavy_minus_sign: | Question Code | 4l6x | +| `type` | [components.QuestionTypeJson1](../../models/components/questiontypejson1.md) | :heavy_minus_sign: | Question Type. | SingleChoice | +| `choices` | [components.ChoiceJson1](../../models/components/choicejson1.md)[] | :heavy_minus_sign: | List of choices for the question. | | +| `categories` | [components.CategoryJson1](../../models/components/categoryjson1.md)[] | :heavy_minus_sign: | List of categories for the question. | | +| `subCategories` | [components.TextFieldJson](../../models/components/textfieldjson.md)[] | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions | | +| `notApplicableAnswer` | [components.AdditionalChoiceJson](../../models/components/additionalchoicejson.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | +| `otherAnswer` | [components.AdditionalChoiceJson](../../models/components/additionalchoicejson.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | +| `comments` | *string* | :heavy_minus_sign: | Text Value of Comments Input box placeholder | Comments Text | +| `required` | *boolean* | :heavy_minus_sign: | Is this a mandatory question | true | +| `fields` | [components.FieldJson](../../models/components/fieldjson.md)[] | :heavy_minus_sign: | List of fields for form/matrix questions | | +| `maxScore` | *number* | :heavy_minus_sign: | Max possible score | 20 | +| `totalSum` | *number* | :heavy_minus_sign: | Total configured sum of all choices for number allocation question | 45 | +| `survey` | [components.UuidJson](../../models/components/uuidjson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | +| `chapter` | [components.UuidJson](../../models/components/uuidjson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questionjson2.md b/packages/typescript/docs/models/components/questionjson2.md index 8c4a8db3a..962f01f57 100644 --- a/packages/typescript/docs/models/components/questionjson2.md +++ b/packages/typescript/docs/models/components/questionjson2.md @@ -1,6 +1,6 @@ # QuestionJson2 -A survey question. +The question that was answered. ## Example Usage @@ -8,102 +8,16 @@ A survey question. import { QuestionJson2 } from "@cvent/sdk/models/components"; let value: QuestionJson2 = { - created: new Date("2017-01-02T02:00:00Z"), - createdBy: "hporter", - lastModified: new Date("2019-02-12T03:00:00Z"), - lastModifiedBy: "hporter", - text: "Field value", - shortText: "Category 1 Reporting value", - htmlText: "Question Html", - code: "4l6x", - type: "SingleChoice", - choices: [ - { - text: "Field value", - shortText: "Category 1 Reporting value", - label: "Choice A", - }, - ], - categories: [ - { - text: "Field value", - shortText: "Category 1 Reporting value", - required: true, - }, - ], - subCategories: [ - { - text: "Field value", - shortText: "Category 1 Reporting value", - }, - ], - notApplicableAnswer: { - text: "N/A or Other", - shortText: "N/A or Other Reporting value", - }, - otherAnswer: { - text: "N/A or Other", - shortText: "N/A or Other Reporting value", - }, - comments: "Comments Text", - required: true, - fields: [ - { - text: "Field value", - shortText: "Category 1 Reporting value", - type: "SingleChoice", - choices: [ - { - text: "Field value", - shortText: "Category 1 Reporting value", - label: "Choice A", - }, - ], - notApplicableAnswer: { - text: "N/A or Other", - shortText: "N/A or Other Reporting value", - }, - otherAnswer: { - text: "N/A or Other", - shortText: "N/A or Other Reporting value", - }, - required: true, - }, - ], - maxScore: 20, - totalSum: 45, - survey: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - }, - chapter: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - }, + id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", + text: "How would you rate this session?", + code: "CODE_A", }; ``` ## 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 | -| `id` | *string* | :heavy_minus_sign: | Text field ID. | | -| `text` | *string* | :heavy_minus_sign: | text Value of the Field | Field value | -| `shortText` | *string* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | -| `htmlText` | *string* | :heavy_minus_sign: | Html of the question | Question Html | -| `code` | *string* | :heavy_minus_sign: | Question Code | 4l6x | -| `type` | [components.QuestionTypeJson2](../../models/components/questiontypejson2.md) | :heavy_minus_sign: | Question Type. | SingleChoice | -| `choices` | [components.ChoiceJson2](../../models/components/choicejson2.md)[] | :heavy_minus_sign: | List of choices for the question. | | -| `categories` | [components.CategoryJson2](../../models/components/categoryjson2.md)[] | :heavy_minus_sign: | List of categories for the question. | | -| `subCategories` | [components.TextFieldJson1](../../models/components/textfieldjson1.md)[] | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions | | -| `notApplicableAnswer` | [components.AdditionalChoiceJson1](../../models/components/additionalchoicejson1.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | -| `otherAnswer` | [components.AdditionalChoiceJson1](../../models/components/additionalchoicejson1.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | -| `comments` | *string* | :heavy_minus_sign: | Text Value of Comments Input box placeholder | Comments Text | -| `required` | *boolean* | :heavy_minus_sign: | Is this a mandatory question | true | -| `fields` | [components.FieldJson2](../../models/components/fieldjson2.md)[] | :heavy_minus_sign: | List of fields for form/matrix questions | | -| `maxScore` | *number* | :heavy_minus_sign: | Max possible score | 20 | -| `totalSum` | *number* | :heavy_minus_sign: | Total configured sum of all choices for number allocation question | 45 | -| `survey` | [components.UuidJson](../../models/components/uuidjson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | -| `chapter` | [components.UuidJson](../../models/components/uuidjson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | The unique identifier of the question. | 861b51ec-aa7e-475f-b38d-4c8e35c47d63 | +| `text` | *string* | :heavy_minus_sign: | Question text. | How would you rate this session? | +| `code` | *string* | :heavy_minus_sign: | Question code. | CODE_A | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questionjson3.md b/packages/typescript/docs/models/components/questionjson3.md deleted file mode 100644 index 796315681..000000000 --- a/packages/typescript/docs/models/components/questionjson3.md +++ /dev/null @@ -1,23 +0,0 @@ -# QuestionJson3 - -The question that was answered. - -## Example Usage - -```typescript -import { QuestionJson3 } from "@cvent/sdk/models/components"; - -let value: QuestionJson3 = { - id: "861b51ec-aa7e-475f-b38d-4c8e35c47d63", - text: "How would you rate this session?", - code: "CODE_A", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | The unique identifier of the question. | 861b51ec-aa7e-475f-b38d-4c8e35c47d63 | -| `text` | *string* | :heavy_minus_sign: | Question text. | How would you rate this session? | -| `code` | *string* | :heavy_minus_sign: | Question code. | CODE_A | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questionpaginatedresponse.md b/packages/typescript/docs/models/components/questionpaginatedresponse.md index 0c5aac5b8..4f705db50 100644 --- a/packages/typescript/docs/models/components/questionpaginatedresponse.md +++ b/packages/typescript/docs/models/components/questionpaginatedresponse.md @@ -53,5 +53,5 @@ let value: QuestionPaginatedResponse = { | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | | `data` | [components.Question](../../models/components/question.md)[] | :heavy_minus_sign: | Collection of Questions. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questionresponsedatatype.md b/packages/typescript/docs/models/components/questionresponsedatatype.md new file mode 100644 index 000000000..708c4065e --- /dev/null +++ b/packages/typescript/docs/models/components/questionresponsedatatype.md @@ -0,0 +1,17 @@ +# QuestionResponseDataType + +Code representing the expected data type of the question response. + +## Example Usage + +```typescript +import { QuestionResponseDataType } from "@cvent/sdk/models/components"; + +let value: QuestionResponseDataType = "text"; +``` + +## Values + +```typescript +"text" | "date" | "date_time" | "time" | "number" | "email" | "boolean" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questionresponsedatatypejson.md b/packages/typescript/docs/models/components/questionresponsedatatypejson.md deleted file mode 100644 index d14e21d7b..000000000 --- a/packages/typescript/docs/models/components/questionresponsedatatypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# QuestionResponseDataTypeJson - -Code representing the expected data type of the question response. - -## Example Usage - -```typescript -import { QuestionResponseDataTypeJson } from "@cvent/sdk/models/components"; - -let value: QuestionResponseDataTypeJson = "text"; -``` - -## Values - -```typescript -"text" | "date" | "date_time" | "time" | "number" | "email" | "boolean" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questionresponseformat.md b/packages/typescript/docs/models/components/questionresponseformat.md new file mode 100644 index 000000000..9c248350d --- /dev/null +++ b/packages/typescript/docs/models/components/questionresponseformat.md @@ -0,0 +1,17 @@ +# QuestionResponseFormat + +Code representing the format the text of the response will be in. + +## Example Usage + +```typescript +import { QuestionResponseFormat } from "@cvent/sdk/models/components"; + +let value: QuestionResponseFormat = "proper_case"; +``` + +## Values + +```typescript +"lower_case" | "proper_case" | "upper_case" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questionresponseformatjson.md b/packages/typescript/docs/models/components/questionresponseformatjson.md deleted file mode 100644 index 881073dd3..000000000 --- a/packages/typescript/docs/models/components/questionresponseformatjson.md +++ /dev/null @@ -1,17 +0,0 @@ -# QuestionResponseFormatJson - -Code representing the format the text of the response will be in. - -## Example Usage - -```typescript -import { QuestionResponseFormatJson } from "@cvent/sdk/models/components"; - -let value: QuestionResponseFormatJson = "proper_case"; -``` - -## Values - -```typescript -"lower_case" | "proper_case" | "upper_case" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questionresponsejson.md b/packages/typescript/docs/models/components/questionresponsejson.md index c14d5cf5c..4ac4b8d17 100644 --- a/packages/typescript/docs/models/components/questionresponsejson.md +++ b/packages/typescript/docs/models/components/questionresponsejson.md @@ -26,5 +26,5 @@ let value: QuestionResponseJson = { | Field | Type | Required | Description | | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `question` | [components.QuestionJson3](../../models/components/questionjson3.md) | :heavy_minus_sign: | The question that was answered. | +| `question` | [components.QuestionJson2](../../models/components/questionjson2.md) | :heavy_minus_sign: | The question that was answered. | | `answers` | [components.AnswerJson1](../../models/components/answerjson1.md)[] | :heavy_minus_sign: | List of answers. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questionresponsetype.md b/packages/typescript/docs/models/components/questionresponsetype.md new file mode 100644 index 000000000..76456395f --- /dev/null +++ b/packages/typescript/docs/models/components/questionresponsetype.md @@ -0,0 +1,17 @@ +# QuestionResponseType + +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. + +## Example Usage + +```typescript +import { QuestionResponseType } from "@cvent/sdk/models/components"; + +let value: QuestionResponseType = "choice"; +``` + +## Values + +```typescript +"single" | "choice" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questionresponsetypejson.md b/packages/typescript/docs/models/components/questionresponsetypejson.md deleted file mode 100644 index 5dfe8e7f9..000000000 --- a/packages/typescript/docs/models/components/questionresponsetypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# QuestionResponseTypeJson - -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. - -## Example Usage - -```typescript -import { QuestionResponseTypeJson } from "@cvent/sdk/models/components"; - -let value: QuestionResponseTypeJson = "choice"; -``` - -## Values - -```typescript -"single" | "choice" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questionsection.md b/packages/typescript/docs/models/components/questionsection.md new file mode 100644 index 000000000..9756fbc5a --- /dev/null +++ b/packages/typescript/docs/models/components/questionsection.md @@ -0,0 +1,17 @@ +# QuestionSection + +Code representing the section where the question belongs. Currently, program_client (client specific) and program_g_and_m (group and meeting) are supported. + +## Example Usage + +```typescript +import { QuestionSection } from "@cvent/sdk/models/components"; + +let value: QuestionSection = "program_client"; +``` + +## Values + +```typescript +"program_client" | "program_g_and_m" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questionsectionjson.md b/packages/typescript/docs/models/components/questionsectionjson.md deleted file mode 100644 index 7a0b6a5a0..000000000 --- a/packages/typescript/docs/models/components/questionsectionjson.md +++ /dev/null @@ -1,17 +0,0 @@ -# QuestionSectionJson - -Code representing the section where the question belongs. Currently, program_client (client specific) and program_g_and_m (group and meeting) are supported. - -## Example Usage - -```typescript -import { QuestionSectionJson } from "@cvent/sdk/models/components"; - -let value: QuestionSectionJson = "program_client"; -``` - -## Values - -```typescript -"program_client" | "program_g_and_m" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questionspaginatedresponse.md b/packages/typescript/docs/models/components/questionspaginatedresponse.md index 277575c8e..1e100a921 100644 --- a/packages/typescript/docs/models/components/questionspaginatedresponse.md +++ b/packages/typescript/docs/models/components/questionspaginatedresponse.md @@ -108,4 +108,4 @@ let value: QuestionsPaginatedResponse = { | Field | Type | Required | Description | | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | | `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | [components.QuestionJson2](../../models/components/questionjson2.md)[] | :heavy_check_mark: | Collection of questions for surveys. | \ No newline at end of file +| `data` | [components.QuestionJson1](../../models/components/questionjson1.md)[] | :heavy_check_mark: | Collection of questions for surveys. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questionspaginatedresponse1.md b/packages/typescript/docs/models/components/questionspaginatedresponse1.md index 78be6cb5b..abceaf038 100644 --- a/packages/typescript/docs/models/components/questionspaginatedresponse1.md +++ b/packages/typescript/docs/models/components/questionspaginatedresponse1.md @@ -54,7 +54,7 @@ let value: QuestionsPaginatedResponse1 = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `data` | [components.QuestionWithProgramIdJson](../../models/components/questionwithprogramidjson.md)[] | :heavy_minus_sign: | Collection of Questions. | \ No newline at end of file +| 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 diff --git a/packages/typescript/docs/models/components/questiontype.md b/packages/typescript/docs/models/components/questiontype.md new file mode 100644 index 000000000..e7e13ed16 --- /dev/null +++ b/packages/typescript/docs/models/components/questiontype.md @@ -0,0 +1,17 @@ +# QuestionType + +The type of question. See [this article](https://support.cvent.com/s/communityarticle/Survey-Adding-Questions) for details on each enum. + +## Example Usage + +```typescript +import { QuestionType } from "@cvent/sdk/models/components"; + +let value: QuestionType = "SingleChoice"; +``` + +## Values + +```typescript +"CommentBox" | "DateTime" | "FileUpload" | "Form" | "LargeChoices" | "MatrixMultiChoice" | "MatrixRating" | "MatrixSideBySide" | "MatrixSingleChoice" | "MatrixSpreadSheet" | "MultiChoice" | "NetPromoter" | "Number" | "NumberAllocation" | "OpenEndedDateTime" | "OpenEndedNumeric" | "OpenEndedTextCommentBox" | "OpenEndedTextOneLine" | "RankOrder" | "Rating" | "SingleChoice" | "Text" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questiontypejson.md b/packages/typescript/docs/models/components/questiontypejson.md index ba4fcef39..9f2e7fcee 100644 --- a/packages/typescript/docs/models/components/questiontypejson.md +++ b/packages/typescript/docs/models/components/questiontypejson.md @@ -1,17 +1,17 @@ # QuestionTypeJson -The type of question. See [this article](https://support.cvent.com/s/communityarticle/Survey-Adding-Questions) for details on each enum. +Denotes the type of data collected by a question. ## Example Usage ```typescript import { QuestionTypeJson } from "@cvent/sdk/models/components"; -let value: QuestionTypeJson = "SingleChoice"; +let value: QuestionTypeJson = "SingleSelect"; ``` ## Values ```typescript -"CommentBox" | "DateTime" | "FileUpload" | "Form" | "LargeChoices" | "MatrixMultiChoice" | "MatrixRating" | "MatrixSideBySide" | "MatrixSingleChoice" | "MatrixSpreadSheet" | "MultiChoice" | "NetPromoter" | "Number" | "NumberAllocation" | "OpenEndedDateTime" | "OpenEndedNumeric" | "OpenEndedTextCommentBox" | "OpenEndedTextOneLine" | "RankOrder" | "Rating" | "SingleChoice" | "Text" +"AutoIncrement" | "BudgetEstimates" | "ConsentQuestion" | "Country" | "Currency" | "Decimal" | "Date" | "DateTime" | "Email" | "FileUpload" | "FreeText" | "General" | "Number" | "MeetingRoomRequirements" | "MultiSelect" | "SingleSelect" | "SleepingRoomRequirements" | "USPhoneNumber" | "Unknown" ``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questiontypejson1.md b/packages/typescript/docs/models/components/questiontypejson1.md index 3d08d821b..3251fbfea 100644 --- a/packages/typescript/docs/models/components/questiontypejson1.md +++ b/packages/typescript/docs/models/components/questiontypejson1.md @@ -1,17 +1,17 @@ # QuestionTypeJson1 -Denotes the type of data collected by a question. +Question Type. ## Example Usage ```typescript import { QuestionTypeJson1 } from "@cvent/sdk/models/components"; -let value: QuestionTypeJson1 = "SingleSelect"; +let value: QuestionTypeJson1 = "SingleChoice"; ``` ## Values ```typescript -"AutoIncrement" | "BudgetEstimates" | "ConsentQuestion" | "Country" | "Currency" | "Decimal" | "Date" | "DateTime" | "Email" | "FileUpload" | "FreeText" | "General" | "Number" | "MeetingRoomRequirements" | "MultiSelect" | "SingleSelect" | "SleepingRoomRequirements" | "USPhoneNumber" | "Unknown" +"SingleChoice" | "MultiChoice" | "MatrixSingleChoice" | "MatrixMultiChoice" | "MatrixSideBySide" | "MatrixSpreadSheet" | "DateTime" | "Number" | "Text" | "CommentBox" | "Form" | "RankOrder" | "FileUpload" | "NetPromoter" | "Rating" | "MatrixRating" | "NumberAllocation" | "LargeChoices" ``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questiontypejson2.md b/packages/typescript/docs/models/components/questiontypejson2.md index 841fe7a70..ae18e8000 100644 --- a/packages/typescript/docs/models/components/questiontypejson2.md +++ b/packages/typescript/docs/models/components/questiontypejson2.md @@ -1,17 +1,17 @@ # QuestionTypeJson2 -Question Type. +This object represents the type of a question ## Example Usage ```typescript import { QuestionTypeJson2 } from "@cvent/sdk/models/components"; -let value: QuestionTypeJson2 = "SingleChoice"; +let value: QuestionTypeJson2 = "MatrixSinglePerRow"; ``` ## Values ```typescript -"SingleChoice" | "MultiChoice" | "MatrixSingleChoice" | "MatrixMultiChoice" | "MatrixSideBySide" | "MatrixSpreadSheet" | "DateTime" | "Number" | "Text" | "CommentBox" | "Form" | "RankOrder" | "FileUpload" | "NetPromoter" | "Rating" | "MatrixRating" | "NumberAllocation" | "LargeChoices" +"SingleChoice" | "MultiChoice" | "OpenEndedDateTime" | "OpenEndedTextOneLine" | "OpenEndedTextCommentBox" | "OpenEndedNumeric" | "FileUpload" | "MatrixSinglePerRow" | "MatrixMultiPerRow" ``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questiontypejson3.md b/packages/typescript/docs/models/components/questiontypejson3.md deleted file mode 100644 index 70c20ccab..000000000 --- a/packages/typescript/docs/models/components/questiontypejson3.md +++ /dev/null @@ -1,17 +0,0 @@ -# QuestionTypeJson3 - -This object represents the type of a question - -## Example Usage - -```typescript -import { QuestionTypeJson3 } from "@cvent/sdk/models/components"; - -let value: QuestionTypeJson3 = "OpenEndedNumeric"; -``` - -## Values - -```typescript -"SingleChoice" | "MultiChoice" | "OpenEndedDateTime" | "OpenEndedTextOneLine" | "OpenEndedTextCommentBox" | "OpenEndedNumeric" | "FileUpload" | "MatrixSinglePerRow" | "MatrixMultiPerRow" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questionwithprogramidjson.md b/packages/typescript/docs/models/components/questionwithprogramidjson.md deleted file mode 100644 index 28ee8ce89..000000000 --- a/packages/typescript/docs/models/components/questionwithprogramidjson.md +++ /dev/null @@ -1,48 +0,0 @@ -# QuestionWithProgramIdJson - -A question, defined by the program, for the supplier to answer as part of their proposal. - -## Example Usage - -```typescript -import { QuestionWithProgramIdJson } from "@cvent/sdk/models/components"; - -let value: QuestionWithProgramIdJson = { - 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.QuestionWithProgramIdJsonTravelProgram](../../models/components/questionwithprogramidjsontravelprogram.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.QuestionResponseTypeJson](../../models/components/questionresponsetypejson.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.QuestionResponseDataTypeJson](../../models/components/questionresponsedatatypejson.md) | :heavy_minus_sign: | Code representing the expected data type of the question response. | text | -| `responseFormat` | [components.QuestionResponseFormatJson](../../models/components/questionresponseformatjson.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/questionwithprogramidjsontravelprogram.md b/packages/typescript/docs/models/components/questionwithprogramidjsontravelprogram.md deleted file mode 100644 index 96b133d4b..000000000 --- a/packages/typescript/docs/models/components/questionwithprogramidjsontravelprogram.md +++ /dev/null @@ -1,19 +0,0 @@ -# QuestionWithProgramIdJsonTravelProgram - -Travel program that the question belongs to. - -## Example Usage - -```typescript -import { QuestionWithProgramIdJsonTravelProgram } from "@cvent/sdk/models/components"; - -let value: QuestionWithProgramIdJsonTravelProgram = { - id: "ddc61444-45c7-4e1d-9fdd-07713c8baf9b", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | The unique ID of the travel program. | ddc61444-45c7-4e1d-9fdd-07713c8baf9b | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rateleveltype.md b/packages/typescript/docs/models/components/rateleveltype.md new file mode 100644 index 000000000..d7b834af3 --- /dev/null +++ b/packages/typescript/docs/models/components/rateleveltype.md @@ -0,0 +1,17 @@ +# RateLevelType + +Rate level + +## Example Usage + +```typescript +import { RateLevelType } from "@cvent/sdk/models/components"; + +let value: RateLevelType = "corporate"; +``` + +## Values + +```typescript +"corporate" | "leisure" | "government" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rateleveltypejson.md b/packages/typescript/docs/models/components/rateleveltypejson.md deleted file mode 100644 index 542df3613..000000000 --- a/packages/typescript/docs/models/components/rateleveltypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# RateLevelTypeJson - -Rate level - -## Example Usage - -```typescript -import { RateLevelTypeJson } from "@cvent/sdk/models/components"; - -let value: RateLevelTypeJson = "corporate"; -``` - -## Values - -```typescript -"corporate" | "leisure" | "government" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/ratereviewstatustype.md b/packages/typescript/docs/models/components/ratereviewstatustype.md new file mode 100644 index 000000000..4934c90db --- /dev/null +++ b/packages/typescript/docs/models/components/ratereviewstatustype.md @@ -0,0 +1,17 @@ +# RateReviewStatusType + +The rate review status of the proposal + +## Example Usage + +```typescript +import { RateReviewStatusType } from "@cvent/sdk/models/components"; + +let value: RateReviewStatusType = "rejected"; +``` + +## Values + +```typescript +"requested" | "not_required" | "approved" | "rejected" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/ratereviewstatustypejson.md b/packages/typescript/docs/models/components/ratereviewstatustypejson.md deleted file mode 100644 index a8eed882a..000000000 --- a/packages/typescript/docs/models/components/ratereviewstatustypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# RateReviewStatusTypeJson - -The rate review status of the proposal - -## Example Usage - -```typescript -import { RateReviewStatusTypeJson } from "@cvent/sdk/models/components"; - -let value: RateReviewStatusTypeJson = "rejected"; -``` - -## Values - -```typescript -"requested" | "not_required" | "approved" | "rejected" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/ratetype.md b/packages/typescript/docs/models/components/ratetype.md new file mode 100644 index 000000000..fdc150004 --- /dev/null +++ b/packages/typescript/docs/models/components/ratetype.md @@ -0,0 +1,17 @@ +# RateType + +Rate type. + +## Example Usage + +```typescript +import { RateType } from "@cvent/sdk/models/components"; + +let value: RateType = "dynamicwithceiling"; +``` + +## Values + +```typescript +"fixed" | "dynamic" | "dynamicwithceiling" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/ratetypejson.md b/packages/typescript/docs/models/components/ratetypejson.md deleted file mode 100644 index b73ebb0a3..000000000 --- a/packages/typescript/docs/models/components/ratetypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# RateTypeJson - -Rate type. - -## Example Usage - -```typescript -import { RateTypeJson } from "@cvent/sdk/models/components"; - -let value: RateTypeJson = "fixed"; -``` - -## Values - -```typescript -"fixed" | "dynamic" | "dynamicwithceiling" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rebatetype.md b/packages/typescript/docs/models/components/rebatetype.md new file mode 100644 index 000000000..df19819a9 --- /dev/null +++ b/packages/typescript/docs/models/components/rebatetype.md @@ -0,0 +1,17 @@ +# RebateType + +Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will represent a percentage. + +## Example Usage + +```typescript +import { RebateType } from "@cvent/sdk/models/components"; + +let value: RebateType = "BY_PERCENTAGE"; +``` + +## Values + +```typescript +"BY_AMOUNT" | "BY_PERCENTAGE" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rebatetypejson.md b/packages/typescript/docs/models/components/rebatetypejson.md deleted file mode 100644 index 925b3933a..000000000 --- a/packages/typescript/docs/models/components/rebatetypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# RebateTypeJson - -Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will represent a percentage. - -## Example Usage - -```typescript -import { RebateTypeJson } from "@cvent/sdk/models/components"; - -let value: RebateTypeJson = "BY_AMOUNT"; -``` - -## Values - -```typescript -"BY_AMOUNT" | "BY_PERCENTAGE" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/recipientinfo.md b/packages/typescript/docs/models/components/recipientinfo.md new file mode 100644 index 000000000..57dab0c89 --- /dev/null +++ b/packages/typescript/docs/models/components/recipientinfo.md @@ -0,0 +1,22 @@ +# RecipientInfo + +Represents the details of the RFP recipient. + +## Example Usage + +```typescript +import { RecipientInfo } from "@cvent/sdk/models/components"; + +let value: RecipientInfo = { + order: 2, + value: "janeDoe@example.com", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `order` | *number* | :heavy_minus_sign: | The position at which this recipient will be displayed. | 2 | +| `type` | [components.RecipientType](../../models/components/recipienttype.md) | :heavy_minus_sign: | Type of Recipient | | +| `value` | *string* | :heavy_minus_sign: | If the recipient is ACCOUNT_USER or ACCOUNT_USER_GROUP, this field holds their unique ID. If the recipient is EMAIL, this field holds the email provided by the user. | janeDoe@example.com | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/recipientinfojson0.md b/packages/typescript/docs/models/components/recipientinfojson0.md deleted file mode 100644 index 15add5650..000000000 --- a/packages/typescript/docs/models/components/recipientinfojson0.md +++ /dev/null @@ -1,22 +0,0 @@ -# RecipientInfoJson0 - -Represents the details of the RFP recipient. - -## Example Usage - -```typescript -import { RecipientInfoJson0 } from "@cvent/sdk/models/components"; - -let value: RecipientInfoJson0 = { - order: 2, - value: "janeDoe@example.com", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `order` | *number* | :heavy_minus_sign: | The position at which this recipient will be displayed. | 2 | -| `type` | [components.RecipientTypeJson0](../../models/components/recipienttypejson0.md) | :heavy_minus_sign: | Type of Recipient | | -| `value` | *string* | :heavy_minus_sign: | If the recipient is ACCOUNT_USER or ACCOUNT_USER_GROUP, this field holds their unique ID. If the recipient is EMAIL, this field holds the email provided by the user. | janeDoe@example.com | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/recipienttype.md b/packages/typescript/docs/models/components/recipienttype.md new file mode 100644 index 000000000..9d89da2eb --- /dev/null +++ b/packages/typescript/docs/models/components/recipienttype.md @@ -0,0 +1,17 @@ +# RecipientType + +Type of Recipient + +## Example Usage + +```typescript +import { RecipientType } from "@cvent/sdk/models/components"; + +let value: RecipientType = "ACCOUNT_USER"; +``` + +## Values + +```typescript +"EMAIL" | "ACCOUNT_USER" | "ACCOUNT_USER_GROUP" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/recipienttypejson0.md b/packages/typescript/docs/models/components/recipienttypejson0.md deleted file mode 100644 index 2f8cd42c4..000000000 --- a/packages/typescript/docs/models/components/recipienttypejson0.md +++ /dev/null @@ -1,17 +0,0 @@ -# RecipientTypeJson0 - -Type of Recipient - -## Example Usage - -```typescript -import { RecipientTypeJson0 } from "@cvent/sdk/models/components"; - -let value: RecipientTypeJson0 = "EMAIL"; -``` - -## Values - -```typescript -"EMAIL" | "ACCOUNT_USER" | "ACCOUNT_USER_GROUP" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/registrationpackrequest.md b/packages/typescript/docs/models/components/registrationpackrequest.md index f864a57c3..34bc50f0b 100644 --- a/packages/typescript/docs/models/components/registrationpackrequest.md +++ b/packages/typescript/docs/models/components/registrationpackrequest.md @@ -22,6 +22,6 @@ let value: RegistrationPackRequest = { | Field | Type | Required | Description | | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `event` | [components.Event21](../../models/components/event21.md) | :heavy_check_mark: | The Associated Event. | +| `event` | [components.Event3](../../models/components/event3.md) | :heavy_check_mark: | The Associated Event. | | `exhibitor` | [components.Exhibitor](../../models/components/exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | `capacities` | [components.Capacity](../../models/components/capacity.md)[] | :heavy_check_mark: | An array of capacities for the registration pack. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/registrationpackresponse.md b/packages/typescript/docs/models/components/registrationpackresponse.md index 6d5d84b20..76602a525 100644 --- a/packages/typescript/docs/models/components/registrationpackresponse.md +++ b/packages/typescript/docs/models/components/registrationpackresponse.md @@ -24,6 +24,6 @@ let value: RegistrationPackResponse = { | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | | `id` | *string* | :heavy_check_mark: | Registration pack id | 50f4f0df-0c2d-4e6b-8e68-e1413b6917f5 | -| `event` | [components.Event21](../../models/components/event21.md) | :heavy_check_mark: | The Associated Event. | | +| `event` | [components.Event3](../../models/components/event3.md) | :heavy_check_mark: | The Associated Event. | | | `exhibitor` | [components.Exhibitor](../../models/components/exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | | `capacities` | [components.ExistingCapacity](../../models/components/existingcapacity.md)[] | :heavy_check_mark: | Capacities allocated per registration type for this exhibitor's registration pack. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/reservationguestjsoninput.md b/packages/typescript/docs/models/components/reservationguestjsoninput.md index 934ccfe6a..f39fb14dc 100644 --- a/packages/typescript/docs/models/components/reservationguestjsoninput.md +++ b/packages/typescript/docs/models/components/reservationguestjsoninput.md @@ -77,7 +77,7 @@ let value: ReservationGuestJsonInput = { | `email` | *string* | :heavy_check_mark: | Email address of the guest. | guest@cvent.com | | `homePhone` | *string* | :heavy_minus_sign: | Home phone number of the guest. Required if the hotel/event requires address in reservations. | (231)-213-1222 | | `workPhone` | *string* | :heavy_minus_sign: | Work phone number of the guest. | (231)-213-1222 | -| `homeAddress` | [components.AddressJson2](../../models/components/addressjson2.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | +| `homeAddress` | [components.AddressJson](../../models/components/addressjson.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | | `paymentInfo` | [components.ReservationPaymentInfoJsonInput](../../models/components/reservationpaymentinfojsoninput.md) | :heavy_minus_sign: | Payment information. | | | `ageQualifyingCode` | [components.AgeQualifyingCode](../../models/components/agequalifyingcode.md) | :heavy_minus_sign: | Code that specifies if the guest is an adult or child. (10 - adult, 8 - child) | | | `primary` | *boolean* | :heavy_minus_sign: | True indicates this guest is the primary guest for the reservation. | true | diff --git a/packages/typescript/docs/models/components/reservationguestjsonoutput.md b/packages/typescript/docs/models/components/reservationguestjsonoutput.md index 7229517b7..173550994 100644 --- a/packages/typescript/docs/models/components/reservationguestjsonoutput.md +++ b/packages/typescript/docs/models/components/reservationguestjsonoutput.md @@ -78,7 +78,7 @@ let value: ReservationGuestJsonOutput = { | `email` | *string* | :heavy_check_mark: | Email address of the guest. | guest@cvent.com | | `homePhone` | *string* | :heavy_minus_sign: | Home phone number of the guest. Required if the hotel/event requires address in reservations. | (231)-213-1222 | | `workPhone` | *string* | :heavy_minus_sign: | Work phone number of the guest. | (231)-213-1222 | -| `homeAddress` | [components.AddressJson2](../../models/components/addressjson2.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | +| `homeAddress` | [components.AddressJson](../../models/components/addressjson.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | | `paymentInfo` | [components.ReservationPaymentInfoJsonOutput](../../models/components/reservationpaymentinfojsonoutput.md) | :heavy_minus_sign: | Payment information. | | | `ageQualifyingCode` | [components.AgeQualifyingCode](../../models/components/agequalifyingcode.md) | :heavy_minus_sign: | Code that specifies if the guest is an adult or child. (10 - adult, 8 - child) | | | `primary` | *boolean* | :heavy_minus_sign: | True indicates this guest is the primary guest for the reservation. | true | diff --git a/packages/typescript/docs/models/components/reservationpaymentinfojsoninput.md b/packages/typescript/docs/models/components/reservationpaymentinfojsoninput.md index 5326d2d4c..f036c8f5e 100644 --- a/packages/typescript/docs/models/components/reservationpaymentinfojsoninput.md +++ b/packages/typescript/docs/models/components/reservationpaymentinfojsoninput.md @@ -41,7 +41,7 @@ let value: ReservationPaymentInfoJsonInput = { | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | | `paymentType` | [components.PaymentTypesJson](../../models/components/paymenttypesjson.md) | :heavy_minus_sign: | Payment type. | | | `fullName` | *string* | :heavy_minus_sign: | Full name. | Gustav Schultz | -| `address` | [components.AddressJson2](../../models/components/addressjson2.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | +| `address` | [components.AddressJson](../../models/components/addressjson.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | | `phone` | *string* | :heavy_minus_sign: | Phone number. | (231)213-1222 | | `other` | [components.OtherPaymentJson](../../models/components/otherpaymentjson.md) | :heavy_minus_sign: | Other payment details. | | | `creditCard` | [components.TokenizedCreditCardJsonInput](../../models/components/tokenizedcreditcardjsoninput.md) | :heavy_minus_sign: | Credit card info. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/reservationpaymentinfojsonoutput.md b/packages/typescript/docs/models/components/reservationpaymentinfojsonoutput.md index ce91931d0..60b5d9844 100644 --- a/packages/typescript/docs/models/components/reservationpaymentinfojsonoutput.md +++ b/packages/typescript/docs/models/components/reservationpaymentinfojsonoutput.md @@ -42,7 +42,7 @@ let value: ReservationPaymentInfoJsonOutput = { | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | | `paymentType` | [components.PaymentTypesJson](../../models/components/paymenttypesjson.md) | :heavy_minus_sign: | Payment type. | | | `fullName` | *string* | :heavy_minus_sign: | Full name. | Gustav Schultz | -| `address` | [components.AddressJson2](../../models/components/addressjson2.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | +| `address` | [components.AddressJson](../../models/components/addressjson.md) | :heavy_minus_sign: | Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. | | | `phone` | *string* | :heavy_minus_sign: | Phone number. | (231)213-1222 | | `other` | [components.OtherPaymentJson](../../models/components/otherpaymentjson.md) | :heavy_minus_sign: | Other payment details. | | | `creditCard` | [components.TokenizedCreditCardJsonOutput](../../models/components/tokenizedcreditcardjsonoutput.md) | :heavy_minus_sign: | Credit card info. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/respondentjson.md b/packages/typescript/docs/models/components/respondentjson.md index 40812d5aa..4251b15f0 100644 --- a/packages/typescript/docs/models/components/respondentjson.md +++ b/packages/typescript/docs/models/components/respondentjson.md @@ -81,7 +81,7 @@ let value: RespondentJson = { | `percentageScore` | *number* | :heavy_minus_sign: | Respondent Percentage Score | 70 | | `links` | [components.RespondentJsonLinks](../../models/components/respondentjsonlinks.md) | :heavy_minus_sign: | Related links. | | | `sourceId` | *string* | :heavy_minus_sign: | Source IDs track respondents in an external system integrated with the Cvent survey. | IN4IDS1 | -| `event` | [components.EventJson4](../../models/components/eventjson4.md) | :heavy_minus_sign: | Detail object of an event which is associated to a survey. | | +| `event` | [components.EventJson3](../../models/components/eventjson3.md) | :heavy_minus_sign: | Detail object of an event which is associated to a survey. | | | `contact` | [components.UuidJson](../../models/components/uuidjson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | | `attendee` | [components.UuidJson](../../models/components/uuidjson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | | `survey` | [components.UuidJson](../../models/components/uuidjson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | diff --git a/packages/typescript/docs/models/components/rfp.md b/packages/typescript/docs/models/components/rfp.md index 65a10bae2..72bcd8d31 100644 --- a/packages/typescript/docs/models/components/rfp.md +++ b/packages/typescript/docs/models/components/rfp.md @@ -174,43 +174,43 @@ let value: Rfp = { | `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.DateRequirementsJson0](../../models/components/daterequirementsjson0.md) | :heavy_minus_sign: | Date requirements for the event. | | -| `rfpEvent` | [components.RfpEventJson](../../models/components/rfpeventjson.md) | :heavy_minus_sign: | RFP event details. | | +| `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.ContactJson0](../../models/components/contactjson0.md) | :heavy_minus_sign: | Contact details of planner. | | -| `rfpEventOrganization` | [components.RfpEventOrganizationJson](../../models/components/rfpeventorganizationjson.md) | :heavy_minus_sign: | Details of organization which is hosting the event. | | +| `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.BillingDetailsJson0](../../models/components/billingdetailsjson0.md) | :heavy_minus_sign: | Billing details for RFP. | | +| `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.MeasurementUnitJson0](../../models/components/measurementunitjson0.md) | :heavy_minus_sign: | Measurement unit. | | -| `requiredCostItems` | [components.OfferingCostTypeJson0](../../models/components/offeringcosttypejson0.md)[] | :heavy_minus_sign: | This contains cost items which are marked as required for suppliers in the RFP. | [
"BREAK_AM",
"BREAK_PM"
] | -| `hiddenCostItems` | [components.OfferingCostTypeJson0](../../models/components/offeringcosttypejson0.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"
] | +| `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.RecipientInfoJson0](../../models/components/recipientinfojson0.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"
}
] | +| `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.LeadSourceJson](../../models/components/leadsourcejson.md) | :heavy_minus_sign: | Lead source details. | | +| `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.WeddingDetailsJson0](../../models/components/weddingdetailsjson0.md) | :heavy_minus_sign: | Wedding details. | | +| `weddingDetails` | [components.WeddingDetails1](../../models/components/weddingdetails1.md) | :heavy_minus_sign: | Wedding details. | | | `needsCatering` | *boolean* | :heavy_minus_sign: | True indicates catering is required. | | -| `packagePricingPreference` | [components.PackagePricingPreferenceJson](../../models/components/packagepricingpreferencejson.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 | +| `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. | | | `id` | *string* | :heavy_check_mark: | Unique identifier for RFP. | 50dc08af-24a9-4d01-84be-3d43133dc945 | | `code` | *string* | :heavy_minus_sign: | Unique code of RFP. | JBNJN7BGJ5J | -| `status` | [components.RfpStatusJson0](../../models/components/rfpstatusjson0.md) | :heavy_minus_sign: | Represents state of the RFP. | | -| `type` | [components.RfpTypeJson0](../../models/components/rfptypejson0.md) | :heavy_minus_sign: | RFP types based on event requirements. | | +| `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.CancellationDetailsJson](../../models/components/cancellationdetailsjson.md) | :heavy_minus_sign: | Information about cancellation of RFP. | | +| `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 | diff --git a/packages/typescript/docs/models/components/rfpagendaitem.md b/packages/typescript/docs/models/components/rfpagendaitem.md new file mode 100644 index 000000000..4decaf124 --- /dev/null +++ b/packages/typescript/docs/models/components/rfpagendaitem.md @@ -0,0 +1,62 @@ +# RfpAgendaItem + +Agenda item associated with an RFP. + +## Example Usage + +```typescript +import { RfpAgendaItem } from "@cvent/sdk/models/components"; +import { RFCDate } from "@cvent/sdk/types"; + +let value: RfpAgendaItem = { + created: new Date("2017-01-02T02:00:00Z"), + createdBy: "hporter", + lastModified: new Date("2019-02-12T03:00:00Z"), + lastModifiedBy: "hporter", + name: "Agenda Item 1", + note: "This is a sample comment for this agenda item.", + startTime: "10:00:00", + endTime: "10:30:00", + roomSize: 1000, + attendeeCount: 10000, + roomInfoRequired: false, + twentyFourHourHold: true, + locatedAtPrimaryEventVenue: false, + number: 5, + schedules: [ + { + dayNumber: 1, + date: new RFCDate("2021-07-03"), + }, + ], + id: "f56a51a4-84b0-46c9-a612-716dc95a1c96", + agendaBuilderAttachment: { + id: "50dc08af-24a9-4d01-84be-3d43133dc945", + }, +}; +``` + +## 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 | +| `name` | *string* | :heavy_minus_sign: | The name of the agenda item. | Agenda Item 1 | +| `type` | [components.AgendaItemType](../../models/components/agendaitemtype.md) | :heavy_minus_sign: | Type of the agenda. | | +| `setup` | [components.AgendaItemSetup](../../models/components/agendaitemsetup.md) | :heavy_minus_sign: | Setup type for the agenda. | | +| `note` | *string* | :heavy_minus_sign: | The note sent along with agenda item. | This is a sample comment for this agenda item. | +| `startTime` | *string* | :heavy_minus_sign: | The start time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at event location. For RFPs spanning multiple time zones, this time applies uniformly in each location's respective timezone (e.g., 13:00:00 means 1 PM local time at every venue). | 10:00:00 | +| `endTime` | *string* | :heavy_minus_sign: | The end time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at event location. For RFPs spanning multiple time zones, this time applies uniformly in each location's respective timezone (e.g., 14:00:00 means 2 PM local time at every venue). | 10:30:00 | +| `roomSize` | *number* | :heavy_minus_sign: | The required room size. It is specified in the default measurement unit of the RFP. Use GET RFP API to get the default measurement unit. | 1000 | +| `attendeeCount` | *number* | :heavy_minus_sign: | Expected number of people attending the agenda. | 10000 | +| `roomInfoRequired` | *boolean* | :heavy_minus_sign: | True indicates room information like type, description is required. | false | +| `twentyFourHourHold` | *boolean* | :heavy_minus_sign: | True indicates that twenty four hour hold is required. | true | +| `locatedAtPrimaryEventVenue` | *boolean* | :heavy_minus_sign: | True indicates that agenda location is at primary event venue. | false | +| `rfpMeal` | [components.RfpMeal](../../models/components/rfpmeal.md) | :heavy_minus_sign: | Meal type offered during the agenda. | | +| `number` | *number* | :heavy_check_mark: | The sequence number of the agenda item. | 5 | +| `schedules` | [components.RfpAgendaItemSchedule](../../models/components/rfpagendaitemschedule.md)[] | :heavy_check_mark: | List of dates when this agenda item is scheduled. | | +| `id` | *string* | :heavy_check_mark: | Unique ID of the agenda item. | f56a51a4-84b0-46c9-a612-716dc95a1c96 | +| `agendaBuilderAttachment` | [components.AgendaBuilderAttachment](../../models/components/agendabuilderattachment.md) | :heavy_minus_sign: | Attachment whose data was used to create the agenda item. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfpagendaitemjson.md b/packages/typescript/docs/models/components/rfpagendaitemjson.md deleted file mode 100644 index 1d979612d..000000000 --- a/packages/typescript/docs/models/components/rfpagendaitemjson.md +++ /dev/null @@ -1,62 +0,0 @@ -# RfpAgendaItemJson - -Agenda item associated with an RFP. - -## Example Usage - -```typescript -import { RfpAgendaItemJson } from "@cvent/sdk/models/components"; -import { RFCDate } from "@cvent/sdk/types"; - -let value: RfpAgendaItemJson = { - created: new Date("2017-01-02T02:00:00Z"), - createdBy: "hporter", - lastModified: new Date("2019-02-12T03:00:00Z"), - lastModifiedBy: "hporter", - name: "Agenda Item 1", - note: "This is a sample comment for this agenda item.", - startTime: "10:00:00", - endTime: "10:30:00", - roomSize: 1000, - attendeeCount: 10000, - roomInfoRequired: false, - twentyFourHourHold: true, - locatedAtPrimaryEventVenue: false, - number: 5, - schedules: [ - { - dayNumber: 1, - date: new RFCDate("2021-07-03"), - }, - ], - id: "f56a51a4-84b0-46c9-a612-716dc95a1c96", - agendaBuilderAttachment: { - id: "50dc08af-24a9-4d01-84be-3d43133dc945", - }, -}; -``` - -## 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 | -| `name` | *string* | :heavy_minus_sign: | The name of the agenda item. | Agenda Item 1 | -| `type` | [components.AgendaItemTypeJson](../../models/components/agendaitemtypejson.md) | :heavy_minus_sign: | Type of the agenda. | | -| `setup` | [components.AgendaItemSetupJson](../../models/components/agendaitemsetupjson.md) | :heavy_minus_sign: | Setup type for the agenda. | | -| `note` | *string* | :heavy_minus_sign: | The note sent along with agenda item. | This is a sample comment for this agenda item. | -| `startTime` | *string* | :heavy_minus_sign: | The start time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at event location. For RFPs spanning multiple time zones, this time applies uniformly in each location's respective timezone (e.g., 13:00:00 means 1 PM local time at every venue). | 10:00:00 | -| `endTime` | *string* | :heavy_minus_sign: | The end time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at event location. For RFPs spanning multiple time zones, this time applies uniformly in each location's respective timezone (e.g., 14:00:00 means 2 PM local time at every venue). | 10:30:00 | -| `roomSize` | *number* | :heavy_minus_sign: | The required room size. It is specified in the default measurement unit of the RFP. Use GET RFP API to get the default measurement unit. | 1000 | -| `attendeeCount` | *number* | :heavy_minus_sign: | Expected number of people attending the agenda. | 10000 | -| `roomInfoRequired` | *boolean* | :heavy_minus_sign: | True indicates room information like type, description is required. | false | -| `twentyFourHourHold` | *boolean* | :heavy_minus_sign: | True indicates that twenty four hour hold is required. | true | -| `locatedAtPrimaryEventVenue` | *boolean* | :heavy_minus_sign: | True indicates that agenda location is at primary event venue. | false | -| `rfpMeal` | [components.RfpMealJson](../../models/components/rfpmealjson.md) | :heavy_minus_sign: | Meal type offered during the agenda. | | -| `number` | *number* | :heavy_check_mark: | The sequence number of the agenda item. | 5 | -| `schedules` | [components.RfpAgendaItemScheduleJson](../../models/components/rfpagendaitemschedulejson.md)[] | :heavy_check_mark: | List of dates when this agenda item is scheduled. | | -| `id` | *string* | :heavy_check_mark: | Unique ID of the agenda item. | f56a51a4-84b0-46c9-a612-716dc95a1c96 | -| `agendaBuilderAttachment` | [components.AgendaBuilderAttachment](../../models/components/agendabuilderattachment.md) | :heavy_minus_sign: | Attachment whose data was used to create the agenda item. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfpagendaitemschedule.md b/packages/typescript/docs/models/components/rfpagendaitemschedule.md new file mode 100644 index 000000000..7c825590f --- /dev/null +++ b/packages/typescript/docs/models/components/rfpagendaitemschedule.md @@ -0,0 +1,22 @@ +# RfpAgendaItemSchedule + +Schedule information for an RFP agenda item. + +## Example Usage + +```typescript +import { RfpAgendaItemSchedule } from "@cvent/sdk/models/components"; +import { RFCDate } from "@cvent/sdk/types"; + +let value: RfpAgendaItemSchedule = { + dayNumber: 1, + date: new RFCDate("2021-07-03"), +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `dayNumber` | *number* | :heavy_check_mark: | Day number relative to start of event on which the agenda item occurs. | 1 | +| `date` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 date of the agenda item. | 2021-07-03 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfpagendaitemschedulejson.md b/packages/typescript/docs/models/components/rfpagendaitemschedulejson.md deleted file mode 100644 index 531f9098b..000000000 --- a/packages/typescript/docs/models/components/rfpagendaitemschedulejson.md +++ /dev/null @@ -1,22 +0,0 @@ -# RfpAgendaItemScheduleJson - -Schedule information for an RFP agenda item. - -## Example Usage - -```typescript -import { RfpAgendaItemScheduleJson } from "@cvent/sdk/models/components"; -import { RFCDate } from "@cvent/sdk/types"; - -let value: RfpAgendaItemScheduleJson = { - dayNumber: 1, - date: new RFCDate("2021-07-03"), -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `dayNumber` | *number* | :heavy_check_mark: | Day number relative to start of event on which the agenda item occurs. | 1 | -| `date` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 date of the agenda item. | 2021-07-03 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfpagendaitemschedulewithid.md b/packages/typescript/docs/models/components/rfpagendaitemschedulewithid.md new file mode 100644 index 000000000..eb04d6386 --- /dev/null +++ b/packages/typescript/docs/models/components/rfpagendaitemschedulewithid.md @@ -0,0 +1,24 @@ +# RfpAgendaItemScheduleWithId + +Contains RFP specific agenda items schedule information with agenda item id. + +## Example Usage + +```typescript +import { RfpAgendaItemScheduleWithId } from "@cvent/sdk/models/components"; +import { RFCDate } from "@cvent/sdk/types"; + +let value: RfpAgendaItemScheduleWithId = { + dayNumber: 1, + date: new RFCDate("2021-07-03"), + id: "50dc08af-24a9-4d01-84be-3d43133dc945", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `dayNumber` | *number* | :heavy_check_mark: | Day number relative to start of event on which the agenda item occurs. | 1 | +| `date` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 date of the agenda item. | 2021-07-03 | +| `id` | *string* | :heavy_minus_sign: | Unique ID of the agenda item. | 50dc08af-24a9-4d01-84be-3d43133dc945 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfpagendaitemschedulewithidjson.md b/packages/typescript/docs/models/components/rfpagendaitemschedulewithidjson.md deleted file mode 100644 index 86d2b62b0..000000000 --- a/packages/typescript/docs/models/components/rfpagendaitemschedulewithidjson.md +++ /dev/null @@ -1,24 +0,0 @@ -# RfpAgendaItemScheduleWithIdJson - -Contains RFP specific agenda items schedule information with agenda item id. - -## Example Usage - -```typescript -import { RfpAgendaItemScheduleWithIdJson } from "@cvent/sdk/models/components"; -import { RFCDate } from "@cvent/sdk/types"; - -let value: RfpAgendaItemScheduleWithIdJson = { - dayNumber: 1, - date: new RFCDate("2021-07-03"), - id: "50dc08af-24a9-4d01-84be-3d43133dc945", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `dayNumber` | *number* | :heavy_check_mark: | Day number relative to start of event on which the agenda item occurs. | 1 | -| `date` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 date of the agenda item. | 2021-07-03 | -| `id` | *string* | :heavy_minus_sign: | Unique ID of the agenda item. | 50dc08af-24a9-4d01-84be-3d43133dc945 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfpattachment.md b/packages/typescript/docs/models/components/rfpattachment.md new file mode 100644 index 000000000..928ff0089 --- /dev/null +++ b/packages/typescript/docs/models/components/rfpattachment.md @@ -0,0 +1,51 @@ +# RfpAttachment + +This object contains Rfp specific attachments attributes. + +## Example Usage + +```typescript +import { RfpAttachment } from "@cvent/sdk/models/components"; + +let value: RfpAttachment = { + id: "f56a51a4-84b0-46c9-a612-716dc95a1c96", + created: new Date("2021-01-13T14:06:20.080Z"), + size: 777835, + secure: true, + name: "BudgetCostSavings", + uniqueName: "183f9efaa4c14070985782ee31abbf3c.jpg", + mimeType: "image/jpeg", + relativePath: + "0B7DEF22676A4434982BDAD2D6EC591F/files/supplier/0713cef78d4e4d818899d4522022d5ad/73ab2e3054fd4321a5e0f846a7adb0d7.jpg", + sendInEmail: false, + deletionAllowed: true, + url: + "https://custom.t2.cvent.com/0B7DEF22676A4434982BDAD2D6EC591F/files/supplier/0713cef78d4e4d818899d4522022d5ad/73ab2e3054fd4321a5e0f846a7adb0d7.jpg", + supplier: { + id: "C20A0114-2635-48C3-9F59-9386361B517B", + }, + supplierSpecific: true, + selectedForSupplier: true, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | Unique identifier for this attachment record. | f56a51a4-84b0-46c9-a612-716dc95a1c96 | +| `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | ISO 8601 date-time the attachment was uploaded. | 2021-01-13T14:06:20.080Z | +| `size` | *number* | :heavy_minus_sign: | The size of attachment in bytes. | 777835 | +| `type` | [components.DocumentType1](../../models/components/documenttype1.md) | :heavy_minus_sign: | The document type. | | +| `secure` | *boolean* | :heavy_minus_sign: | True indicates the attachment is uploaded behind a secured URL. | true | +| `name` | *string* | :heavy_minus_sign: | Display name of the attachment. | BudgetCostSavings | +| `uniqueName` | *string* | :heavy_minus_sign: | Name of the attachment. Must be unique in the account. | 183f9efaa4c14070985782ee31abbf3c.jpg | +| `mimeType` | *string* | :heavy_minus_sign: | The content type of the attachment | image/jpeg | +| `source` | [components.AttachmentSource](../../models/components/attachmentsource.md) | :heavy_minus_sign: | The source from where the attachment was uploaded. | | +| `relativePath` | *string* | :heavy_minus_sign: | The file path pointing to where the attachment is stored in Cvent. This path is relative to the base URL of the storage system and omits the root address. | 0B7DEF22676A4434982BDAD2D6EC591F/files/supplier/0713cef78d4e4d818899d4522022d5ad/73ab2e3054fd4321a5e0f846a7adb0d7.jpg | +| `sendInEmail` | *boolean* | :heavy_minus_sign: | True indicates the attachment should be sent in emails that notify suppliers about RFPs. | false | +| `deletionAllowed` | *boolean* | :heavy_minus_sign: | True indicates this attachment can be deleted. | true | +| `url` | *string* | :heavy_minus_sign: | URL of the attachment if `secure` is false. This field is null if `secure` is true. | https://custom.t2.cvent.com/0B7DEF22676A4434982BDAD2D6EC591F/files/supplier/0713cef78d4e4d818899d4522022d5ad/73ab2e3054fd4321a5e0f846a7adb0d7.jpg | +| `supplier` | [components.RfpAttachmentSupplier](../../models/components/rfpattachmentsupplier.md) | :heavy_minus_sign: | Supplier associated with the attachment. | | +| `supplierSpecific` | *boolean* | :heavy_minus_sign: | True indicates the attachment is only shown in the UI to the supplier whose ID is present in supplier.id field. | true | +| `selectedForSupplier` | *boolean* | :heavy_minus_sign: | True indicates the attachment is selected for the supplier whose ID is present in supplier.id field. | true | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfpattachmentjson.md b/packages/typescript/docs/models/components/rfpattachmentjson.md deleted file mode 100644 index f7ae66dab..000000000 --- a/packages/typescript/docs/models/components/rfpattachmentjson.md +++ /dev/null @@ -1,51 +0,0 @@ -# RfpAttachmentJson - -This object contains Rfp specific attachments attributes. - -## Example Usage - -```typescript -import { RfpAttachmentJson } from "@cvent/sdk/models/components"; - -let value: RfpAttachmentJson = { - id: "f56a51a4-84b0-46c9-a612-716dc95a1c96", - created: new Date("2021-01-13T14:06:20.080Z"), - size: 777835, - secure: true, - name: "BudgetCostSavings", - uniqueName: "183f9efaa4c14070985782ee31abbf3c.jpg", - mimeType: "image/jpeg", - relativePath: - "0B7DEF22676A4434982BDAD2D6EC591F/files/supplier/0713cef78d4e4d818899d4522022d5ad/73ab2e3054fd4321a5e0f846a7adb0d7.jpg", - sendInEmail: false, - deletionAllowed: true, - url: - "https://custom.t2.cvent.com/0B7DEF22676A4434982BDAD2D6EC591F/files/supplier/0713cef78d4e4d818899d4522022d5ad/73ab2e3054fd4321a5e0f846a7adb0d7.jpg", - supplier: { - id: "C20A0114-2635-48C3-9F59-9386361B517B", - }, - supplierSpecific: true, - selectedForSupplier: true, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | Unique identifier for this attachment record. | f56a51a4-84b0-46c9-a612-716dc95a1c96 | -| `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | ISO 8601 date-time the attachment was uploaded. | 2021-01-13T14:06:20.080Z | -| `size` | *number* | :heavy_minus_sign: | The size of attachment in bytes. | 777835 | -| `type` | [components.DocumentTypeJson0](../../models/components/documenttypejson0.md) | :heavy_minus_sign: | The document type. | | -| `secure` | *boolean* | :heavy_minus_sign: | True indicates the attachment is uploaded behind a secured URL. | true | -| `name` | *string* | :heavy_minus_sign: | Display name of the attachment. | BudgetCostSavings | -| `uniqueName` | *string* | :heavy_minus_sign: | Name of the attachment. Must be unique in the account. | 183f9efaa4c14070985782ee31abbf3c.jpg | -| `mimeType` | *string* | :heavy_minus_sign: | The content type of the attachment | image/jpeg | -| `source` | [components.AttachmentSourceJson](../../models/components/attachmentsourcejson.md) | :heavy_minus_sign: | The source from where the attachment was uploaded. | | -| `relativePath` | *string* | :heavy_minus_sign: | The file path pointing to where the attachment is stored in Cvent. This path is relative to the base URL of the storage system and omits the root address. | 0B7DEF22676A4434982BDAD2D6EC591F/files/supplier/0713cef78d4e4d818899d4522022d5ad/73ab2e3054fd4321a5e0f846a7adb0d7.jpg | -| `sendInEmail` | *boolean* | :heavy_minus_sign: | True indicates the attachment should be sent in emails that notify suppliers about RFPs. | false | -| `deletionAllowed` | *boolean* | :heavy_minus_sign: | True indicates this attachment can be deleted. | true | -| `url` | *string* | :heavy_minus_sign: | URL of the attachment if `secure` is false. This field is null if `secure` is true. | https://custom.t2.cvent.com/0B7DEF22676A4434982BDAD2D6EC591F/files/supplier/0713cef78d4e4d818899d4522022d5ad/73ab2e3054fd4321a5e0f846a7adb0d7.jpg | -| `supplier` | [components.RfpAttachmentJsonSupplier](../../models/components/rfpattachmentjsonsupplier.md) | :heavy_minus_sign: | Supplier associated with the attachment. | | -| `supplierSpecific` | *boolean* | :heavy_minus_sign: | True indicates the attachment is only shown in the UI to the supplier whose ID is present in supplier.id field. | true | -| `selectedForSupplier` | *boolean* | :heavy_minus_sign: | True indicates the attachment is selected for the supplier whose ID is present in supplier.id field. | true | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfpattachmentjsonsupplier.md b/packages/typescript/docs/models/components/rfpattachmentjsonsupplier.md deleted file mode 100644 index f2899b3d9..000000000 --- a/packages/typescript/docs/models/components/rfpattachmentjsonsupplier.md +++ /dev/null @@ -1,19 +0,0 @@ -# RfpAttachmentJsonSupplier - -Supplier associated with the attachment. - -## Example Usage - -```typescript -import { RfpAttachmentJsonSupplier } from "@cvent/sdk/models/components"; - -let value: RfpAttachmentJsonSupplier = { - id: "C20A0114-2635-48C3-9F59-9386361B517B", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | ID of the supplier. | C20A0114-2635-48C3-9F59-9386361B517B | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfpattachmentsupplier.md b/packages/typescript/docs/models/components/rfpattachmentsupplier.md new file mode 100644 index 000000000..76419718f --- /dev/null +++ b/packages/typescript/docs/models/components/rfpattachmentsupplier.md @@ -0,0 +1,19 @@ +# RfpAttachmentSupplier + +Supplier associated with the attachment. + +## Example Usage + +```typescript +import { RfpAttachmentSupplier } from "@cvent/sdk/models/components"; + +let value: RfpAttachmentSupplier = { + id: "C20A0114-2635-48C3-9F59-9386361B517B", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_minus_sign: | ID of the supplier. | C20A0114-2635-48C3-9F59-9386361B517B | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfpcustomfieldjson.md b/packages/typescript/docs/models/components/rfpcustomfieldjson.md deleted file mode 100644 index f99f0cb9c..000000000 --- a/packages/typescript/docs/models/components/rfpcustomfieldjson.md +++ /dev/null @@ -1,25 +0,0 @@ -# RfpCustomFieldJson - -This object contains RFP custom fields attributes only. - -## Example Usage - -```typescript -import { RfpCustomFieldJson } from "@cvent/sdk/models/components"; - -let value: RfpCustomFieldJson = { - customField: { - id: "50dc08af-24a9-4d01-84be-3d43133dc945", - }, - answers: [ - "Choice 1", - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `customField` | [components.ExpandableCustomObject](../../models/components/expandablecustomobject.md) | :heavy_check_mark: | An object containing custom field data. By default, contains only the field ID.

This is an **expandable** object. When requested via the `expand` query parameter with value `customField`, this object expands to include all properties of a custom field definition.

See the `expand` parameter documentation and refer to the [Get Custom Field](#tag/Custom-Fields/operation/getCustomField) API for the complete expanded schema. | -| `answers` | *string*[] | :heavy_check_mark: | List of answers for the RFP custom field. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfpdatemode.md b/packages/typescript/docs/models/components/rfpdatemode.md new file mode 100644 index 000000000..f0704f893 --- /dev/null +++ b/packages/typescript/docs/models/components/rfpdatemode.md @@ -0,0 +1,17 @@ +# RfpDateMode + +RfpDateMode + +## Example Usage + +```typescript +import { RfpDateMode } from "@cvent/sdk/models/components"; + +let value: RfpDateMode = "ALTERNATE_DATE"; +``` + +## Values + +```typescript +"ALTERNATE_DATE" | "DATE_PATTERN" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfpdatemodejson0.md b/packages/typescript/docs/models/components/rfpdatemodejson0.md deleted file mode 100644 index ab69f227d..000000000 --- a/packages/typescript/docs/models/components/rfpdatemodejson0.md +++ /dev/null @@ -1,17 +0,0 @@ -# RfpDateModeJson0 - -Way of specifying dates for the event. - -## Example Usage - -```typescript -import { RfpDateModeJson0 } from "@cvent/sdk/models/components"; - -let value: RfpDateModeJson0 = "ALTERNATE_DATE"; -``` - -## Values - -```typescript -"ALTERNATE_DATE" | "DATE_PATTERN" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfpevent.md b/packages/typescript/docs/models/components/rfpevent.md new file mode 100644 index 000000000..c204569ce --- /dev/null +++ b/packages/typescript/docs/models/components/rfpevent.md @@ -0,0 +1,53 @@ +# RfpEvent + +RFP event details. + +## Example Usage + +```typescript +import { RfpEvent } from "@cvent/sdk/models/components"; + +let value: RfpEvent = { + event: { + id: "50dc08af-24a9-4d01-84be-3d43133dc945", + }, + name: "friday event", + contractSignatureLocation: "Atlanta", + destinationsUnderConsideration: "New York", + externalMeetingRequest: true, + audioVisualNeeds: "Need a projector in each meeting room.", + peakMeetingRooms: 14, + attendeesPerDay: 500, + referenceNumber: "XVYMP8970S", + meetingRequestId: "50dc08af-24a9-4d01-84be-3d43133dc945", + virtualAttendeesPerDay: 2000, + budget: 10000, + roomRateBudget: 200, + foodBeverageBudget: 1000, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `event` | [components.Event12](../../models/components/event12.md) | :heavy_minus_sign: | Event details. | | +| `name` | *string* | :heavy_minus_sign: | Name of the event linked with the RFP. | friday event | +| `contractSignatureLocation` | *string* | :heavy_minus_sign: | Location where the contract will be signed. | Atlanta | +| `destinationsUnderConsideration` | *string* | :heavy_minus_sign: | Destinations under consideration for the event. | New York | +| `externalMeetingRequest` | *boolean* | :heavy_minus_sign: | True indicates that the event is associated with an external meeting request. | true | +| `type` | [components.EventType1](../../models/components/eventtype1.md) | :heavy_minus_sign: | Event type. | | +| `totalMeetingSpaceRequired` | [components.SpaceArea](../../models/components/spacearea.md) | :heavy_minus_sign: | Space area divisons. | | +| `audioVisualNeeds` | *string* | :heavy_minus_sign: | Audio visual requirements. | Need a projector in each meeting room. | +| `peakMeetingRooms` | *number* | :heavy_minus_sign: | Maximum number of meeting rooms required during the event. | 14 | +| `flexibleDates` | *boolean* | :heavy_minus_sign: | True indicates the event dates are flexible. | | +| `repeat` | *boolean* | :heavy_minus_sign: | True indicates event is a repeat occurrence. | | +| `attendeesPerDay` | *number* | :heavy_minus_sign: | Number of in-person attendees per day. | 500 | +| `referenceNumber` | *string* | :heavy_minus_sign: | Reference number for the event. | XVYMP8970S | +| `largestMeetingSpaceRequired` | [components.SpaceArea](../../models/components/spacearea.md) | :heavy_minus_sign: | Space area divisons. | | +| `meetingRequestId` | *string* | :heavy_minus_sign: | Unique identifier for meeting request associated with the event. | 50dc08af-24a9-4d01-84be-3d43133dc945 | +| `formatType` | [components.EventFormatType](../../models/components/eventformattype.md) | :heavy_minus_sign: | Event format type. | | +| `virtualAttendeesPerDay` | *number* | :heavy_minus_sign: | Number of virtual attendees per day. | 2000 | +| `budget` | *number* | :heavy_minus_sign: | Total budget amount. | 10000 | +| `roomRateBudget` | *number* | :heavy_minus_sign: | Budget for rooms rates. | 200 | +| `foodBeverageBudget` | *number* | :heavy_minus_sign: | Budget for food and beverage. | 1000 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfpeventjson.md b/packages/typescript/docs/models/components/rfpeventjson.md deleted file mode 100644 index eceb595ad..000000000 --- a/packages/typescript/docs/models/components/rfpeventjson.md +++ /dev/null @@ -1,53 +0,0 @@ -# RfpEventJson - -RFP event details. - -## Example Usage - -```typescript -import { RfpEventJson } from "@cvent/sdk/models/components"; - -let value: RfpEventJson = { - event: { - id: "50dc08af-24a9-4d01-84be-3d43133dc945", - }, - name: "friday event", - contractSignatureLocation: "Atlanta", - destinationsUnderConsideration: "New York", - externalMeetingRequest: true, - audioVisualNeeds: "Need a projector in each meeting room.", - peakMeetingRooms: 14, - attendeesPerDay: 500, - referenceNumber: "XVYMP8970S", - meetingRequestId: "50dc08af-24a9-4d01-84be-3d43133dc945", - virtualAttendeesPerDay: 2000, - budget: 10000, - roomRateBudget: 200, - foodBeverageBudget: 1000, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `event` | [components.EventJson0](../../models/components/eventjson0.md) | :heavy_minus_sign: | Event details. | | -| `name` | *string* | :heavy_minus_sign: | Name of the event linked with the RFP. | friday event | -| `contractSignatureLocation` | *string* | :heavy_minus_sign: | Location where the contract will be signed. | Atlanta | -| `destinationsUnderConsideration` | *string* | :heavy_minus_sign: | Destinations under consideration for the event. | New York | -| `externalMeetingRequest` | *boolean* | :heavy_minus_sign: | True indicates that the event is associated with an external meeting request. | true | -| `type` | [components.EventTypeJson0](../../models/components/eventtypejson0.md) | :heavy_minus_sign: | Event type. | | -| `totalMeetingSpaceRequired` | [components.SpaceAreaJson0](../../models/components/spaceareajson0.md) | :heavy_minus_sign: | Space area divisons. | | -| `audioVisualNeeds` | *string* | :heavy_minus_sign: | Audio visual requirements. | Need a projector in each meeting room. | -| `peakMeetingRooms` | *number* | :heavy_minus_sign: | Maximum number of meeting rooms required during the event. | 14 | -| `flexibleDates` | *boolean* | :heavy_minus_sign: | True indicates the event dates are flexible. | | -| `repeat` | *boolean* | :heavy_minus_sign: | True indicates event is a repeat occurrence. | | -| `attendeesPerDay` | *number* | :heavy_minus_sign: | Number of in-person attendees per day. | 500 | -| `referenceNumber` | *string* | :heavy_minus_sign: | Reference number for the event. | XVYMP8970S | -| `largestMeetingSpaceRequired` | [components.SpaceAreaJson0](../../models/components/spaceareajson0.md) | :heavy_minus_sign: | Space area divisons. | | -| `meetingRequestId` | *string* | :heavy_minus_sign: | Unique identifier for meeting request associated with the event. | 50dc08af-24a9-4d01-84be-3d43133dc945 | -| `formatType` | [components.EventFormatTypeJson0](../../models/components/eventformattypejson0.md) | :heavy_minus_sign: | Event format type. | | -| `virtualAttendeesPerDay` | *number* | :heavy_minus_sign: | Number of virtual attendees per day. | 2000 | -| `budget` | *number* | :heavy_minus_sign: | Total budget amount. | 10000 | -| `roomRateBudget` | *number* | :heavy_minus_sign: | Budget for rooms rates. | 200 | -| `foodBeverageBudget` | *number* | :heavy_minus_sign: | Budget for food and beverage. | 1000 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfpeventorganizationjson.md b/packages/typescript/docs/models/components/rfpeventorganizationjson.md deleted file mode 100644 index 90d587120..000000000 --- a/packages/typescript/docs/models/components/rfpeventorganizationjson.md +++ /dev/null @@ -1,35 +0,0 @@ -# RfpEventOrganizationJson - -Details of organization which is hosting the event. - -## Example Usage - -```typescript -import { RfpEventOrganizationJson } from "@cvent/sdk/models/components"; - -let value: RfpEventOrganizationJson = { - organization: { - id: "50dc08af-24a9-4d01-84be-3d43133dc945", - }, - name: "Cvent Inc.", - type: "MILITARY", - address: { - countryCode: "US", - city: "Austin", - regionCode: "US-AL", - }, - eventsPerYear: 450, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `organization` | [components.OrganizationJson](../../models/components/organizationjson.md) | :heavy_minus_sign: | Organization details. | | -| `confidentialProfile` | *boolean* | :heavy_minus_sign: | True indicates organization profile has to be kept confidential. | | -| `industry` | [components.IndustryJson0](../../models/components/industryjson0.md) | :heavy_minus_sign: | Industry | | -| `name` | *string* | :heavy_check_mark: | Name of the organization hosting the event. | Cvent Inc. | -| `type` | [components.OrganizationTypeJson0](../../models/components/organizationtypejson0.md) | :heavy_check_mark: | Organization type. | | -| `address` | [components.AddressJson0](../../models/components/addressjson0.md) | :heavy_minus_sign: | Address details. | | -| `eventsPerYear` | *number* | :heavy_minus_sign: | Number of events per year. | 450 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfpguestrooms.md b/packages/typescript/docs/models/components/rfpguestrooms.md index f93c8b341..3fd11d95b 100644 --- a/packages/typescript/docs/models/components/rfpguestrooms.md +++ b/packages/typescript/docs/models/components/rfpguestrooms.md @@ -38,11 +38,11 @@ let value: RfpGuestRooms = { ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `totalRooms` | *number* | :heavy_minus_sign: | Sum of the number of rooms required each night across all the nights for the event. | 24 | -| `peakRooms` | *number* | :heavy_minus_sign: | The number of rooms required during peak nights. | 24 | -| `occupancies` | [components.GuestRoomOccupancyPerRoomTypeJson](../../models/components/guestroomoccupancyperroomtypejson.md)[] | :heavy_minus_sign: | Occupancies for every room type. | | -| `checkInDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 check-in date. | 2025-10-13 | -| `roomBlocks` | [components.RoomBlockJson](../../models/components/roomblockjson.md)[] | :heavy_minus_sign: | List of room blocks required. | | -| `additionalInformation` | *string* | :heavy_minus_sign: | Additional Info (if any). | 2 Executive suites are mandatory. | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `totalRooms` | *number* | :heavy_minus_sign: | Sum of the number of rooms required each night across all the nights for the event. | 24 | +| `peakRooms` | *number* | :heavy_minus_sign: | The number of rooms required during peak nights. | 24 | +| `occupancies` | [components.GuestRoomOccupancyPerRoomType](../../models/components/guestroomoccupancyperroomtype.md)[] | :heavy_minus_sign: | Occupancies for every room type. | | +| `checkInDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 check-in date. | 2025-10-13 | +| `roomBlocks` | [components.RoomBlock](../../models/components/roomblock.md)[] | :heavy_minus_sign: | List of room blocks required. | | +| `additionalInformation` | *string* | :heavy_minus_sign: | Additional Info (if any). | 2 Executive suites are mandatory. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfpidjson.md b/packages/typescript/docs/models/components/rfpidjson.md new file mode 100644 index 000000000..af449d089 --- /dev/null +++ b/packages/typescript/docs/models/components/rfpidjson.md @@ -0,0 +1,19 @@ +# RfpIdJson + +RFP ID Information. + +## Example Usage + +```typescript +import { RfpIdJson } from "@cvent/sdk/models/components"; + +let value: RfpIdJson = { + id: "3d808ee8-94f8-4f3a-9ad1-6b23f4e4c329", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_minus_sign: | Identifier of a particular RFP. | 3d808ee8-94f8-4f3a-9ad1-6b23f4e4c329 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfpidjson1.md b/packages/typescript/docs/models/components/rfpidjson1.md deleted file mode 100644 index adb01a65f..000000000 --- a/packages/typescript/docs/models/components/rfpidjson1.md +++ /dev/null @@ -1,19 +0,0 @@ -# RfpIdJson1 - -RFP ID Information. - -## Example Usage - -```typescript -import { RfpIdJson1 } from "@cvent/sdk/models/components"; - -let value: RfpIdJson1 = { - id: "3d808ee8-94f8-4f3a-9ad1-6b23f4e4c329", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | Identifier of a particular RFP. | 3d808ee8-94f8-4f3a-9ad1-6b23f4e4c329 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfpinternaldocument.md b/packages/typescript/docs/models/components/rfpinternaldocument.md new file mode 100644 index 000000000..1f346279c --- /dev/null +++ b/packages/typescript/docs/models/components/rfpinternaldocument.md @@ -0,0 +1,33 @@ +# RfpInternalDocument + +This object contains RFP specific internal documents attributes only. + +## Example Usage + +```typescript +import { RfpInternalDocument } from "@cvent/sdk/models/components"; + +let value: RfpInternalDocument = { + id: "f56a51a4-84b0-46c9-a612-716dc95a1c96", + created: new Date("2021-01-13T14:06:20.080Z"), + name: "BudgetCostSavings", + uniqueName: "183f9efaa4c14070985782ee31abbf3c.jpg", + size: 777835, + url: + "https://custom.cvent.com/0B7DEF22676A4434982BDAD2D6EC591F/files/supplier/0713cef78d4e4d818899d4522022d5ad/73ab2e3054fd4321a5e0f846a7adb0d7.jpg", + mimeType: "image/jpeg", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | Unique ID of the file. | f56a51a4-84b0-46c9-a612-716dc95a1c96 | +| `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | ISO 8601 date-time the document was uploaded. | 2021-01-13T14:06:20.080Z | +| `name` | *string* | :heavy_minus_sign: | Display name of the document. | BudgetCostSavings | +| `uniqueName` | *string* | :heavy_minus_sign: | Name of the document. Must be unique in the account. | 183f9efaa4c14070985782ee31abbf3c.jpg | +| `size` | *number* | :heavy_minus_sign: | The size of document in bytes. | 777835 | +| `url` | *string* | :heavy_minus_sign: | URL of the document if `secure` is false. This field is null if `secure` is true. | https://custom.cvent.com/0B7DEF22676A4434982BDAD2D6EC591F/files/supplier/0713cef78d4e4d818899d4522022d5ad/73ab2e3054fd4321a5e0f846a7adb0d7.jpg | +| `type` | [components.DocumentType1](../../models/components/documenttype1.md) | :heavy_minus_sign: | The document type. | | +| `mimeType` | *string* | :heavy_minus_sign: | The content type of the document. | image/jpeg | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfpinternaldocumentjson0.md b/packages/typescript/docs/models/components/rfpinternaldocumentjson0.md deleted file mode 100644 index bd8a2670d..000000000 --- a/packages/typescript/docs/models/components/rfpinternaldocumentjson0.md +++ /dev/null @@ -1,33 +0,0 @@ -# RfpInternalDocumentJson0 - -This object contains RFP specific internal documents attributes only. - -## Example Usage - -```typescript -import { RfpInternalDocumentJson0 } from "@cvent/sdk/models/components"; - -let value: RfpInternalDocumentJson0 = { - id: "f56a51a4-84b0-46c9-a612-716dc95a1c96", - created: new Date("2021-01-13T14:06:20.080Z"), - name: "BudgetCostSavings", - uniqueName: "183f9efaa4c14070985782ee31abbf3c.jpg", - size: 777835, - url: - "https://custom.cvent.com/0B7DEF22676A4434982BDAD2D6EC591F/files/supplier/0713cef78d4e4d818899d4522022d5ad/73ab2e3054fd4321a5e0f846a7adb0d7.jpg", - mimeType: "image/jpeg", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | Unique ID of the file. | f56a51a4-84b0-46c9-a612-716dc95a1c96 | -| `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | ISO 8601 date-time the document was uploaded. | 2021-01-13T14:06:20.080Z | -| `name` | *string* | :heavy_minus_sign: | Display name of the document. | BudgetCostSavings | -| `uniqueName` | *string* | :heavy_minus_sign: | Name of the document. Must be unique in the account. | 183f9efaa4c14070985782ee31abbf3c.jpg | -| `size` | *number* | :heavy_minus_sign: | The size of document in bytes. | 777835 | -| `url` | *string* | :heavy_minus_sign: | URL of the document if `secure` is false. This field is null if `secure` is true. | https://custom.cvent.com/0B7DEF22676A4434982BDAD2D6EC591F/files/supplier/0713cef78d4e4d818899d4522022d5ad/73ab2e3054fd4321a5e0f846a7adb0d7.jpg | -| `type` | [components.DocumentTypeJson0](../../models/components/documenttypejson0.md) | :heavy_minus_sign: | The document type. | | -| `mimeType` | *string* | :heavy_minus_sign: | The content type of the document. | image/jpeg | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfpmeal.md b/packages/typescript/docs/models/components/rfpmeal.md new file mode 100644 index 000000000..afbb00c77 --- /dev/null +++ b/packages/typescript/docs/models/components/rfpmeal.md @@ -0,0 +1,17 @@ +# RfpMeal + +Meal type offered during the agenda. + +## Example Usage + +```typescript +import { RfpMeal } from "@cvent/sdk/models/components"; + +let value: RfpMeal = "RECEPTION_HEAVY_HORS_D_OEUVRES"; +``` + +## Values + +```typescript +"BREAKFAST_BUFFET" | "BREAKFAST_CONTINENTAL" | "BREAKFAST_PLATED" | "BREAK_DRINKS_ONLY" | "BREAK_SNACKS_AND_DRINKS" | "CONTACT_ME_ABOUT_F_B_REQUIREMENTS" | "DINNER_BUFFET" | "DINNER_PLATED" | "LUNCH_BOXED" | "LUNCH_BUFFET" | "LUNCH_PLATED" | "RECEPTION_HEAVY_HORS_D_OEUVRES" | "RECEPTION_LIGHT_APPETIZERS" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfpmealjson.md b/packages/typescript/docs/models/components/rfpmealjson.md deleted file mode 100644 index f40e40940..000000000 --- a/packages/typescript/docs/models/components/rfpmealjson.md +++ /dev/null @@ -1,17 +0,0 @@ -# RfpMealJson - -Meal type offered during the agenda. - -## Example Usage - -```typescript -import { RfpMealJson } from "@cvent/sdk/models/components"; - -let value: RfpMealJson = "BREAK_DRINKS_ONLY"; -``` - -## Values - -```typescript -"BREAKFAST_BUFFET" | "BREAKFAST_CONTINENTAL" | "BREAKFAST_PLATED" | "BREAK_DRINKS_ONLY" | "BREAK_SNACKS_AND_DRINKS" | "CONTACT_ME_ABOUT_F_B_REQUIREMENTS" | "DINNER_BUFFET" | "DINNER_PLATED" | "LUNCH_BOXED" | "LUNCH_BUFFET" | "LUNCH_PLATED" | "RECEPTION_HEAVY_HORS_D_OEUVRES" | "RECEPTION_LIGHT_APPETIZERS" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfppastevent.md b/packages/typescript/docs/models/components/rfppastevent.md new file mode 100644 index 000000000..80f5dd4ef --- /dev/null +++ b/packages/typescript/docs/models/components/rfppastevent.md @@ -0,0 +1,37 @@ +# RfpPastEvent + +This object includes information about past events hosted by the planner. + +## Example Usage + +```typescript +import { RfpPastEvent } from "@cvent/sdk/models/components"; + +let value: RfpPastEvent = { + venueName: "Delta Inn by Supreme Hotels", + city: "New Delhi", + stateProvince: "US-AL", + date: "First week of January 2024", + attendeeCount: 500, + guestRoomsPickedUp: 500, + guestRoomsBlocked: 500, + foodBeverageSpend: "3,000 dollars", + notes: "This was the 25th event hosted by Alpha Planners.", + id: "f56a51a4-84b0-46c9-a612-716dc95a1c96", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `venueName` | *string* | :heavy_minus_sign: | Name of the venue where the event was hosted. | Delta Inn by Supreme Hotels | +| `city` | *string* | :heavy_minus_sign: | Name of the city where the event was hosted. | New Delhi | +| `stateProvince` | *string* | :heavy_minus_sign: | ISO 3166-2 code for name of the state or province where the event was hosted. | US-AL | +| `date` | *string* | :heavy_minus_sign: | Free form text field for the planner to provide details on the event date. | First week of January 2024 | +| `attendeeCount` | *number* | :heavy_minus_sign: | Number of event attendees. | 500 | +| `guestRoomsPickedUp` | *number* | :heavy_minus_sign: | Count of rooms picked up by planners for use during the event. | 500 | +| `guestRoomsBlocked` | *number* | :heavy_minus_sign: | Count of rooms blocked by planner for the event. | 500 | +| `foodBeverageSpend` | *string* | :heavy_minus_sign: | Expenditure on food and beverage. | 3,000 dollars | +| `notes` | *string* | :heavy_minus_sign: | Any other information about the event. | This was the 25th event hosted by Alpha Planners. | +| `id` | *string* | :heavy_check_mark: | Unique ID for the event detail. | f56a51a4-84b0-46c9-a612-716dc95a1c96 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfppasteventjson.md b/packages/typescript/docs/models/components/rfppasteventjson.md deleted file mode 100644 index ac05c5dcc..000000000 --- a/packages/typescript/docs/models/components/rfppasteventjson.md +++ /dev/null @@ -1,37 +0,0 @@ -# RfpPastEventJson - -This object includes information about past events hosted by the planner. - -## Example Usage - -```typescript -import { RfpPastEventJson } from "@cvent/sdk/models/components"; - -let value: RfpPastEventJson = { - venueName: "Delta Inn by Supreme Hotels", - city: "New Delhi", - stateProvince: "US-AL", - date: "First week of January 2024", - attendeeCount: 500, - guestRoomsPickedUp: 500, - guestRoomsBlocked: 500, - foodBeverageSpend: "3,000 dollars", - notes: "This was the 25th event hosted by Alpha Planners.", - id: "f56a51a4-84b0-46c9-a612-716dc95a1c96", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `venueName` | *string* | :heavy_minus_sign: | Name of the venue where the event was hosted. | Delta Inn by Supreme Hotels | -| `city` | *string* | :heavy_minus_sign: | Name of the city where the event was hosted. | New Delhi | -| `stateProvince` | *string* | :heavy_minus_sign: | ISO 3166-2 code for name of the state or province where the event was hosted. | US-AL | -| `date` | *string* | :heavy_minus_sign: | Free form text field for the planner to provide details on the event date. | First week of January 2024 | -| `attendeeCount` | *number* | :heavy_minus_sign: | Number of event attendees. | 500 | -| `guestRoomsPickedUp` | *number* | :heavy_minus_sign: | Count of rooms picked up by planners for use during the event. | 500 | -| `guestRoomsBlocked` | *number* | :heavy_minus_sign: | Count of rooms blocked by planner for the event. | 500 | -| `foodBeverageSpend` | *string* | :heavy_minus_sign: | Expenditure on food and beverage. | 3,000 dollars | -| `notes` | *string* | :heavy_minus_sign: | Any other information about the event. | This was the 25th event hosted by Alpha Planners. | -| `id` | *string* | :heavy_check_mark: | Unique ID for the event detail. | f56a51a4-84b0-46c9-a612-716dc95a1c96 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfppastevents.md b/packages/typescript/docs/models/components/rfppastevents.md index 84063fc4d..53d141d64 100644 --- a/packages/typescript/docs/models/components/rfppastevents.md +++ b/packages/typescript/docs/models/components/rfppastevents.md @@ -27,6 +27,6 @@ let value: RfpPastEvents = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `data` | [components.RfpPastEventJson](../../models/components/rfppasteventjson.md)[] | :heavy_minus_sign: | List of past events saved on RFP by planner. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `data` | [components.RfpPastEvent](../../models/components/rfppastevent.md)[] | :heavy_minus_sign: | List of past events saved on RFP by planner. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfpquestion.md b/packages/typescript/docs/models/components/rfpquestion.md new file mode 100644 index 000000000..8d11c2f37 --- /dev/null +++ b/packages/typescript/docs/models/components/rfpquestion.md @@ -0,0 +1,149 @@ +# RfpQuestion + +Question associated with an RFP. + +## Example Usage + +```typescript +import { RfpQuestion } from "@cvent/sdk/models/components"; +import { RFCDate } from "@cvent/sdk/types"; + +let value: RfpQuestion = { + created: new Date("2017-01-02T02:00:00Z"), + createdBy: "hporter", + lastModified: new Date("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: new RFCDate("2020-01-01"), + maxDate: new RFCDate("2020-12-31"), + showDateSelector: true, + showCurrentDate: true, + 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", +}; +``` + +## 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 | +| `id` | *string* | :heavy_minus_sign: | Unique identifier of the question. | | +| `text` | *string* | :heavy_minus_sign: | Text value of the question field. Displays to users in the UI. | Are you spending any significant time offsite and need transportation? | +| `shortText` | *string* | :heavy_minus_sign: | Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. | Needs offsite transportation? | +| `htmlText` | *string* | :heavy_minus_sign: | Html of the question. | Question Html | +| `code` | *string* | :heavy_minus_sign: | Question code is unique identifier for every questions within a survey (can be same across surveys). This code is used in reporting and in question and answer data tags for emails. With every new question a random question code is generated. | 4l6x | +| `type` | [components.QuestionType](../../models/components/questiontype.md) | :heavy_minus_sign: | The type of question. See [this article](https://support.cvent.com/s/communityarticle/Survey-Adding-Questions) for details on each enum. | SingleChoice | +| `choices` | [components.Choice](../../models/components/choice.md)[] | :heavy_minus_sign: | List of choices for the question. | | +| `categories` | [components.Category](../../models/components/category.md)[] | :heavy_minus_sign: | List of categories for the question. | | +| `subCategories` | [components.TextField](../../models/components/textfield.md)[] | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions. | | +| `notApplicableAnswer` | [components.AdditionalChoice](../../models/components/additionalchoice.md) | :heavy_minus_sign: | Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. | | +| `otherAnswer` | [components.AdditionalChoice](../../models/components/additionalchoice.md) | :heavy_minus_sign: | Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. | | +| `comments` | *string* | :heavy_minus_sign: | Text Value of Comments Input box placeholder. | Comments Text | +| `required` | *boolean* | :heavy_minus_sign: | True indicates this is a mandatory question field. | true | +| `fields` | [components.Field](../../models/components/field.md)[] | :heavy_minus_sign: | List of fields for form/matrix questions. | | +| `maxScore` | *number* | :heavy_minus_sign: | Max possible score. | 20 | +| `totalSum` | *number* | :heavy_minus_sign: | Total configured sum of all choices for number allocation question. | 45 | +| `choiceSortOrder` | [components.ChoiceSortOrder](../../models/components/choicesortorder.md) | :heavy_minus_sign: | The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: Sorted in the order they were added, oldest choices first. `Random`: Random sort. | | +| `displayType` | [components.DisplayType](../../models/components/displaytype.md) | :heavy_minus_sign: | The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: It is associated with drop down type questions. `Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list type questions. `MultiSelectBox`: It is associated with multi select box type questions. `Vertical`: It is associated with vertical type questions. | | +| `minSelection` | *number* | :heavy_minus_sign: | Minimum number of choices that must be selected. | 1 | +| `maxSelection` | *number* | :heavy_minus_sign: | Maximum number of choices that can be selected. | 3 | +| `minDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The earliest date that can be selected, starting from or after this date. | 2020-01-01 | +| `maxDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The latest date that can be selected, up to or before this date. | 2020-12-31 | +| `showDateSelector` | *boolean* | :heavy_minus_sign: | Indicates if this is a date range question. | true | +| `showCurrentDate` | *boolean* | :heavy_minus_sign: | Indicates if the current date should be shown. | true | +| `dateAnswerFormat` | [components.DateAnswerFormat](../../models/components/dateanswerformat.md) | :heavy_minus_sign: | The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. `DateTime`: Answer format is stored in DateTime format. `Time`: Answer format is stored in Time format. | | +| `numericAnswerFormat` | [components.NumericAnswerFormat](../../models/components/numericanswerformat.md) | :heavy_minus_sign: | The answer format that a given number is stored in. | | +| `unitLabel` | *string* | :heavy_minus_sign: | Label to add before or after textbox. | miles | +| `unitPosition` | [components.UnitPosition](../../models/components/unitposition.md) | :heavy_minus_sign: | Unit position used for text box question type. | | +| `minLength` | *number* | :heavy_minus_sign: | Minimum number of characters that must be entered. | 5 | +| `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. | | +| `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/rfpquestionjson.md b/packages/typescript/docs/models/components/rfpquestionjson.md deleted file mode 100644 index 93d7ef3c9..000000000 --- a/packages/typescript/docs/models/components/rfpquestionjson.md +++ /dev/null @@ -1,149 +0,0 @@ -# RfpQuestionJson - -Question associated with an RFP. - -## Example Usage - -```typescript -import { RfpQuestionJson } from "@cvent/sdk/models/components"; -import { RFCDate } from "@cvent/sdk/types"; - -let value: RfpQuestionJson = { - created: new Date("2017-01-02T02:00:00Z"), - createdBy: "hporter", - lastModified: new Date("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: new RFCDate("2020-01-01"), - maxDate: new RFCDate("2020-12-31"), - showDateSelector: true, - showCurrentDate: true, - 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", -}; -``` - -## 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 | -| `id` | *string* | :heavy_minus_sign: | Unique identifier of the question. | | -| `text` | *string* | :heavy_minus_sign: | Text value of the question field. Displays to users in the UI. | Are you spending any significant time offsite and need transportation? | -| `shortText` | *string* | :heavy_minus_sign: | Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. | Needs offsite transportation? | -| `htmlText` | *string* | :heavy_minus_sign: | Html of the question. | Question Html | -| `code` | *string* | :heavy_minus_sign: | Question code is unique identifier for every questions within a survey (can be same across surveys). This code is used in reporting and in question and answer data tags for emails. With every new question a random question code is generated. | 4l6x | -| `type` | [components.QuestionTypeJson](../../models/components/questiontypejson.md) | :heavy_minus_sign: | The type of question. See [this article](https://support.cvent.com/s/communityarticle/Survey-Adding-Questions) for details on each enum. | SingleChoice | -| `choices` | [components.ChoiceJson](../../models/components/choicejson.md)[] | :heavy_minus_sign: | List of choices for the question. | | -| `categories` | [components.CategoryJson](../../models/components/categoryjson.md)[] | :heavy_minus_sign: | List of categories for the question. | | -| `subCategories` | [components.TextFieldJson](../../models/components/textfieldjson.md)[] | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions. | | -| `notApplicableAnswer` | [components.AdditionalChoiceJson2](../../models/components/additionalchoicejson2.md) | :heavy_minus_sign: | Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. | | -| `otherAnswer` | [components.AdditionalChoiceJson2](../../models/components/additionalchoicejson2.md) | :heavy_minus_sign: | Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. | | -| `comments` | *string* | :heavy_minus_sign: | Text Value of Comments Input box placeholder. | Comments Text | -| `required` | *boolean* | :heavy_minus_sign: | True indicates this is a mandatory question field. | true | -| `fields` | [components.FieldJson](../../models/components/fieldjson.md)[] | :heavy_minus_sign: | List of fields for form/matrix questions. | | -| `maxScore` | *number* | :heavy_minus_sign: | Max possible score. | 20 | -| `totalSum` | *number* | :heavy_minus_sign: | Total configured sum of all choices for number allocation question. | 45 | -| `choiceSortOrder` | [components.ChoiceSortOrderJson](../../models/components/choicesortorderjson.md) | :heavy_minus_sign: | The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: Sorted in the order they were added, oldest choices first. `Random`: Random sort. | | -| `displayType` | [components.DisplayTypeJson](../../models/components/displaytypejson.md) | :heavy_minus_sign: | The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: It is associated with drop down type questions. `Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list type questions. `MultiSelectBox`: It is associated with multi select box type questions. `Vertical`: It is associated with vertical type questions. | | -| `minSelection` | *number* | :heavy_minus_sign: | Minimum number of choices that must be selected. | 1 | -| `maxSelection` | *number* | :heavy_minus_sign: | Maximum number of choices that can be selected. | 3 | -| `minDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The earliest date that can be selected, starting from or after this date. | 2020-01-01 | -| `maxDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The latest date that can be selected, up to or before this date. | 2020-12-31 | -| `showDateSelector` | *boolean* | :heavy_minus_sign: | Indicates if this is a date range question. | true | -| `showCurrentDate` | *boolean* | :heavy_minus_sign: | Indicates if the current date should be shown. | true | -| `dateAnswerFormat` | [components.DateAnswerFormatJson](../../models/components/dateanswerformatjson.md) | :heavy_minus_sign: | The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. `DateTime`: Answer format is stored in DateTime format. `Time`: Answer format is stored in Time format. | | -| `numericAnswerFormat` | [components.NumericAnswerFormatJson](../../models/components/numericanswerformatjson.md) | :heavy_minus_sign: | The answer format that a given number is stored in. | | -| `unitLabel` | *string* | :heavy_minus_sign: | Label to add before or after textbox. | miles | -| `unitPosition` | [components.UnitPositionJson](../../models/components/unitpositionjson.md) | :heavy_minus_sign: | Unit position used for text box question type. | | -| `minLength` | *number* | :heavy_minus_sign: | Minimum number of characters that must be entered. | 5 | -| `maxLength` | *number* | :heavy_minus_sign: | Maximum number of characters that can be entered. | 100 | -| `textAnswerFormat` | [components.TextAnswerFormatJson](../../models/components/textanswerformatjson.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.SupplierTypeJson](../../models/components/suppliertypejson.md)[] | :heavy_minus_sign: | List of supplier types that can view the question on the RFP. | [
"CVB",
"HOTEL"
] | -| `classificationType` | [components.QuestionClassificationTypeJson](../../models/components/questionclassificationtypejson.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. | | -| `order` | *number* | :heavy_minus_sign: | Determines the display order for questions on the RFP. Questions with smaller values appear first. | 1 | -| `standardQuestion` | [components.StandardQuestionJson](../../models/components/standardquestionjson.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/rfprecipientlogentry.md b/packages/typescript/docs/models/components/rfprecipientlogentry.md new file mode 100644 index 000000000..9ddff2195 --- /dev/null +++ b/packages/typescript/docs/models/components/rfprecipientlogentry.md @@ -0,0 +1,35 @@ +# RfpRecipientLogEntry + +Contains the log entry when the recipient was copied on an RFP. + +## Example Usage + +```typescript +import { RfpRecipientLogEntry } from "@cvent/sdk/models/components"; + +let value: RfpRecipientLogEntry = { + supplier: { + id: "d024cc04-adf1-443c-854a-97ab9f5a14b2", + }, + recipientIdentifier: "jwest@example.com", + active: true, + addedByNso: false, + targetType: "PUBLIC_NSO", + sendDateTime: new Date("2024-08-20T00:00:01Z"), + message: { + id: "a1c776ab-51ee-44a7-8720-b3dfc44d689b", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | +| `supplier` | [components.RfpRecipientLogEntrySupplier](../../models/components/rfprecipientlogentrysupplier.md) | :heavy_minus_sign: | The supplier associated with the recipient. | | +| `recipientIdentifier` | *string* | :heavy_minus_sign: | This can either be the email address or the code of the recipient. This will not be present if the target type is MEETING_BROKER | jwest@example.com | +| `active` | *boolean* | :heavy_minus_sign: | True indicates that the recipient is active for receiving emails. | true | +| `addedByNso` | *boolean* | :heavy_minus_sign: | True indicates that the recipient was added by the National Sales Office. | false | +| `targetType` | [components.TargetType](../../models/components/targettype.md) | :heavy_minus_sign: | The target type can either refer to the type of recipient or the type of action that made the recipient a participant in the RFP process. | PUBLIC_NSO | +| `sendDateTime` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 send date and time in UTC. | 2024-08-20T00:00:01Z | +| `message` | [components.RfpRecipientLogEntryMessage](../../models/components/rfprecipientlogentrymessage.md) | :heavy_minus_sign: | Message for the recipient. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfprecipientlogentryjson.md b/packages/typescript/docs/models/components/rfprecipientlogentryjson.md deleted file mode 100644 index 7895f6d8e..000000000 --- a/packages/typescript/docs/models/components/rfprecipientlogentryjson.md +++ /dev/null @@ -1,35 +0,0 @@ -# RfpRecipientLogEntryJson - -Contains the log entry when the recipient was copied on an RFP. - -## Example Usage - -```typescript -import { RfpRecipientLogEntryJson } from "@cvent/sdk/models/components"; - -let value: RfpRecipientLogEntryJson = { - supplier: { - id: "d024cc04-adf1-443c-854a-97ab9f5a14b2", - }, - recipientIdentifier: "jwest@example.com", - active: true, - addedByNso: false, - targetType: "PUBLIC_NSO", - sendDateTime: new Date("2024-08-20T00:00:01Z"), - message: { - id: "a1c776ab-51ee-44a7-8720-b3dfc44d689b", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -| `supplier` | [components.RfpRecipientLogEntryJsonSupplier](../../models/components/rfprecipientlogentryjsonsupplier.md) | :heavy_minus_sign: | The supplier associated with the recipient. | | -| `recipientIdentifier` | *string* | :heavy_minus_sign: | This can either be the email address or the code of the recipient. This will not be present if the target type is MEETING_BROKER | jwest@example.com | -| `active` | *boolean* | :heavy_minus_sign: | True indicates that the recipient is active for receiving emails. | true | -| `addedByNso` | *boolean* | :heavy_minus_sign: | True indicates that the recipient was added by the National Sales Office. | false | -| `targetType` | [components.TargetTypeJson](../../models/components/targettypejson.md) | :heavy_minus_sign: | The target type can either refer to the type of recipient or the type of action that made the recipient a participant in the RFP process. | PUBLIC_NSO | -| `sendDateTime` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 send date and time in UTC. | 2024-08-20T00:00:01Z | -| `message` | [components.RfpRecipientLogEntryJsonMessage](../../models/components/rfprecipientlogentryjsonmessage.md) | :heavy_minus_sign: | Message for the recipient. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfprecipientlogentryjsonmessage.md b/packages/typescript/docs/models/components/rfprecipientlogentryjsonmessage.md deleted file mode 100644 index b8c5a2870..000000000 --- a/packages/typescript/docs/models/components/rfprecipientlogentryjsonmessage.md +++ /dev/null @@ -1,19 +0,0 @@ -# RfpRecipientLogEntryJsonMessage - -Message for the recipient. - -## Example Usage - -```typescript -import { RfpRecipientLogEntryJsonMessage } from "@cvent/sdk/models/components"; - -let value: RfpRecipientLogEntryJsonMessage = { - id: "a1c776ab-51ee-44a7-8720-b3dfc44d689b", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | The unique identifier of the message. | a1c776ab-51ee-44a7-8720-b3dfc44d689b | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfprecipientlogentryjsonsupplier.md b/packages/typescript/docs/models/components/rfprecipientlogentryjsonsupplier.md deleted file mode 100644 index c64cbeae5..000000000 --- a/packages/typescript/docs/models/components/rfprecipientlogentryjsonsupplier.md +++ /dev/null @@ -1,19 +0,0 @@ -# RfpRecipientLogEntryJsonSupplier - -The supplier associated with the recipient. - -## Example Usage - -```typescript -import { RfpRecipientLogEntryJsonSupplier } from "@cvent/sdk/models/components"; - -let value: RfpRecipientLogEntryJsonSupplier = { - id: "d024cc04-adf1-443c-854a-97ab9f5a14b2", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | The unique identifier of the supplier. | d024cc04-adf1-443c-854a-97ab9f5a14b2 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfprecipientlogentrymessage.md b/packages/typescript/docs/models/components/rfprecipientlogentrymessage.md new file mode 100644 index 000000000..3e6b475a7 --- /dev/null +++ b/packages/typescript/docs/models/components/rfprecipientlogentrymessage.md @@ -0,0 +1,19 @@ +# RfpRecipientLogEntryMessage + +Message for the recipient. + +## Example Usage + +```typescript +import { RfpRecipientLogEntryMessage } from "@cvent/sdk/models/components"; + +let value: RfpRecipientLogEntryMessage = { + id: "a1c776ab-51ee-44a7-8720-b3dfc44d689b", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | The unique identifier of the message. | a1c776ab-51ee-44a7-8720-b3dfc44d689b | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfprecipientlogentrysupplier.md b/packages/typescript/docs/models/components/rfprecipientlogentrysupplier.md new file mode 100644 index 000000000..d26020b64 --- /dev/null +++ b/packages/typescript/docs/models/components/rfprecipientlogentrysupplier.md @@ -0,0 +1,19 @@ +# RfpRecipientLogEntrySupplier + +The supplier associated with the recipient. + +## Example Usage + +```typescript +import { RfpRecipientLogEntrySupplier } from "@cvent/sdk/models/components"; + +let value: RfpRecipientLogEntrySupplier = { + id: "d024cc04-adf1-443c-854a-97ab9f5a14b2", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | The unique identifier of the supplier. | d024cc04-adf1-443c-854a-97ab9f5a14b2 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfpresponsereason.md b/packages/typescript/docs/models/components/rfpresponsereason.md new file mode 100644 index 000000000..c7df9b610 --- /dev/null +++ b/packages/typescript/docs/models/components/rfpresponsereason.md @@ -0,0 +1,17 @@ +# RfpResponseReason + +Reason given for a response to an RFP. + +## Example Usage + +```typescript +import { RfpResponseReason } from "@cvent/sdk/models/components"; + +let value: RfpResponseReason = "GUEST_ROOMS_NO_LONGER_AVAILABLE"; +``` + +## Values + +```typescript +"BOOKED_ANOTHER_VENUE_OR_DESTINATION" | "CLIENT_BOOKED_DIRECTLY" | "COMPETITOR_CONTRACT_AGREEMENT" | "DATES_OR_PATTERN" | "DECISION_DATE_PASSED" | "DID_NOT_MEET_REQUIREMENTS" | "EPIDEMIC_OR_PANDEMIC" | "EVENT_CANCELLED" | "EVENT_POSTPONED" | "FOOD_AND_BEVERAGE_MINIMUM_TOO_HIGH" | "FOOD_AND_BEVERAGE_TOO_LOW" | "INCOMPLETE_RFP" | "LATE_RESPONSE" | "LOW_BUDGET" | "MEDICAL_EMERGENCY" | "MEETING_ROOM_RENTAL_TOO_HIGH" | "MEETING_SPACE_CEILING_HEIGHT" | "MEETING_SPACE_NO_LONGER_AVAILABLE" | "MEETING_SPACE_UNAVAILABLE" | "NATURAL_DISASTER" | "NO_FOOD_AND_BEVERAGE" | "OTHER" | "POLITICAL_OR_CIVIL_UNREST" | "PREFERRED_OR_ALTERNATE_DATES_UNAVAILABLE" | "PROPERTY_AMENITIES_OR_SERVICES" | "PROPERTY_LOCATION" | "RENOVATIONS" | "REQUESTED_ROOM_RATE_TOO_LOW" | "REQUIREMENTS_CHANGED" | "ROOMS_TO_SPACE_RATIO" | "SELECTED_OTHER_CITY" | "SELECTED_OTHER_HOTEL_OR_VENUE" | "SIZE_OF_MEETING_SPACE" | "GUEST_ROOM_RATE_TOO_HIGH" | "GUEST_ROOMS_NO_LONGER_AVAILABLE" | "GUEST_ROOMS_UNAVAILABLE" | "SUITE_AVAILABILITY" | "TOO_SPACE_INTENSIVE" | "VENUE_PERMANENTLY_CLOSED" | "VENUE_TEMPORARILY_CLOSED" | "VENUE_TOO_SMALL" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfpresponsereasonjson.md b/packages/typescript/docs/models/components/rfpresponsereasonjson.md deleted file mode 100644 index 2932c0e8c..000000000 --- a/packages/typescript/docs/models/components/rfpresponsereasonjson.md +++ /dev/null @@ -1,17 +0,0 @@ -# RfpResponseReasonJson - -Reason given for a response to an RFP. - -## Example Usage - -```typescript -import { RfpResponseReasonJson } from "@cvent/sdk/models/components"; - -let value: RfpResponseReasonJson = "GUEST_ROOMS_NO_LONGER_AVAILABLE"; -``` - -## Values - -```typescript -"BOOKED_ANOTHER_VENUE_OR_DESTINATION" | "CLIENT_BOOKED_DIRECTLY" | "COMPETITOR_CONTRACT_AGREEMENT" | "DATES_OR_PATTERN" | "DECISION_DATE_PASSED" | "DID_NOT_MEET_REQUIREMENTS" | "EPIDEMIC_OR_PANDEMIC" | "EVENT_CANCELLED" | "EVENT_POSTPONED" | "FOOD_AND_BEVERAGE_MINIMUM_TOO_HIGH" | "FOOD_AND_BEVERAGE_TOO_LOW" | "INCOMPLETE_RFP" | "LATE_RESPONSE" | "LOW_BUDGET" | "MEDICAL_EMERGENCY" | "MEETING_ROOM_RENTAL_TOO_HIGH" | "MEETING_SPACE_CEILING_HEIGHT" | "MEETING_SPACE_NO_LONGER_AVAILABLE" | "MEETING_SPACE_UNAVAILABLE" | "NATURAL_DISASTER" | "NO_FOOD_AND_BEVERAGE" | "OTHER" | "POLITICAL_OR_CIVIL_UNREST" | "PREFERRED_OR_ALTERNATE_DATES_UNAVAILABLE" | "PROPERTY_AMENITIES_OR_SERVICES" | "PROPERTY_LOCATION" | "RENOVATIONS" | "REQUESTED_ROOM_RATE_TOO_LOW" | "REQUIREMENTS_CHANGED" | "ROOMS_TO_SPACE_RATIO" | "SELECTED_OTHER_CITY" | "SELECTED_OTHER_HOTEL_OR_VENUE" | "SIZE_OF_MEETING_SPACE" | "GUEST_ROOM_RATE_TOO_HIGH" | "GUEST_ROOMS_NO_LONGER_AVAILABLE" | "GUEST_ROOMS_UNAVAILABLE" | "SUITE_AVAILABILITY" | "TOO_SPACE_INTENSIVE" | "VENUE_PERMANENTLY_CLOSED" | "VENUE_TEMPORARILY_CLOSED" | "VENUE_TOO_SMALL" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfpstatus1.md b/packages/typescript/docs/models/components/rfpstatus1.md new file mode 100644 index 000000000..7796f615a --- /dev/null +++ b/packages/typescript/docs/models/components/rfpstatus1.md @@ -0,0 +1,17 @@ +# RfpStatus1 + +Represents state of the RFP. + +## Example Usage + +```typescript +import { RfpStatus1 } from "@cvent/sdk/models/components"; + +let value: RfpStatus1 = "PENDING"; +``` + +## Values + +```typescript +"PENDING" | "ACTIVE" | "AWARDED" | "DRAFT" | "HISTORIC" | "CANCELLED" | "DELETED" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfpstatusjson0.md b/packages/typescript/docs/models/components/rfpstatusjson0.md deleted file mode 100644 index ef25a3ef8..000000000 --- a/packages/typescript/docs/models/components/rfpstatusjson0.md +++ /dev/null @@ -1,17 +0,0 @@ -# RfpStatusJson0 - -Represents state of the RFP. - -## Example Usage - -```typescript -import { RfpStatusJson0 } from "@cvent/sdk/models/components"; - -let value: RfpStatusJson0 = "AWARDED"; -``` - -## Values - -```typescript -"PENDING" | "ACTIVE" | "AWARDED" | "DRAFT" | "HISTORIC" | "CANCELLED" | "DELETED" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfpsupplier.md b/packages/typescript/docs/models/components/rfpsupplier.md new file mode 100644 index 000000000..5d71d25f1 --- /dev/null +++ b/packages/typescript/docs/models/components/rfpsupplier.md @@ -0,0 +1,102 @@ +# RfpSupplier + +Supplier data for an RFP. + +## Example Usage + +```typescript +import { RfpSupplier } from "@cvent/sdk/models/components"; + +let value: RfpSupplier = { + created: new Date("2017-01-02T02:00:00Z"), + createdBy: "hporter", + lastModified: new Date("2019-02-12T03:00:00Z"), + lastModifiedBy: "hporter", + supplier: { + id: "50dc08af-24a9-4d01-84be-3d43133dc945", + }, + rfp: { + id: "a0f3116a-4dd8-4923-b778-188cbe00a68f", + }, + externalSupplier: { + name: "ABC Corp", + }, + associatedAdvertisements: { + firstClicked: { + code: "RXBMLPSP", + }, + lastClicked: { + code: "RXBMLPSP", + }, + }, + proposalInProgress: true, + internalNote: "Don't award this RFP to the same venue as last year.", + leadSource: { + id: "50dc08af-24a9-4d01-84be-3d43133dc945", + section: { + id: "40dc08af-24a9-4d01-84be-3d43133dc945", + }, + }, + largestMeetingRoomMet: true, + numberOfGuestRoomsMet: true, + totalMeetingSpaceMet: true, + promotion: { + id: "41cc09ag-61a0-5e21-942e-2d41232dc923", + }, + recommendationNote: "The staff should be courteous.", + shortlistOrder: 45, + showcase: true, + starred: false, + status: "AWAITING_PROPOSAL", + statusChangedDateTime: new Date("2017-01-02T02:59:59.999Z"), + responder: "John Doe", + response: { + dateTime: new Date("2017-02-02T03:19:19.991Z"), + reason: "GUEST_ROOMS_NO_LONGER_AVAILABLE", + comment: + "We are unable to accommodate the request on the required dates. Please let us know if we can help with any other dates.", + }, + externalProposalId: "143227", + externalId: "234123", + forwardId: "d024cc04-adf1-443c-854a-97ab9f5a14b2", + lastSentDateTime: new Date("2017-01-02T02:59:59.999Z"), + lastViewedDateTime: new Date("2017-01-02T02:59:59.999Z"), + sentDateTime: new Date("2017-01-02T02:59:59.999Z"), + sentToNso: false, +}; +``` + +## 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 | +| `supplier` | [components.ReferenceToSupplier](../../models/components/referencetosupplier.md) | :heavy_minus_sign: | The supplier associated with the RFP. | | +| `rfp` | [components.ReferenceToRFP](../../models/components/referencetorfp.md) | :heavy_minus_sign: | N/A | | +| `externalSupplier` | [components.ExternalSupplier](../../models/components/externalsupplier.md) | :heavy_minus_sign: | External supplier associated with the RFP. If planners cannot find a supplier in Cvent, they can add the supplier by providing the name when awarding the RFP. | | +| `associatedAdvertisements` | [components.SupplierAssociatedAds](../../models/components/supplierassociatedads.md) | :heavy_minus_sign: | N/A | | +| `proposalInProgress` | *boolean* | :heavy_minus_sign: | True indicates that proposal creation is in progress by supplier. | true | +| `internalNote` | *string* | :heavy_minus_sign: | Internal note by planner for supplier. This is not visible to the supplier. | Don't award this RFP to the same venue as last year. | +| `leadSource` | [components.RfpSupplierLeadSource](../../models/components/rfpsupplierleadsource.md) | :heavy_minus_sign: | N/A | | +| `largestMeetingRoomMet` | *boolean* | :heavy_minus_sign: | True indicates the largest meeting room criteria is met. | true | +| `numberOfGuestRoomsMet` | *boolean* | :heavy_minus_sign: | True indicates the number of guest rooms criteria is met. | true | +| `totalMeetingSpaceMet` | *boolean* | :heavy_minus_sign: | True indicates the total meeting space criteria is met. | true | +| `promotion` | [components.Promotion](../../models/components/promotion.md) | :heavy_minus_sign: | Promotion applied by planner while adding supplier on RFP. | | +| `recommendationNote` | *string* | :heavy_minus_sign: | Recommendations added by planner for supplier. | The staff should be courteous. | +| `shortlistOrder` | *number* | :heavy_minus_sign: | Shortlisted order for the supplier. | 45 | +| `showcase` | *boolean* | :heavy_minus_sign: | True indicates the supplier was added by using RFP showcase feature. | true | +| `starred` | *boolean* | :heavy_minus_sign: | True indicates the RFP is starred by supplier. This is not visible to the planner. | false | +| `status` | [components.RfpSupplierStatus](../../models/components/rfpsupplierstatus.md) | :heavy_minus_sign: | N/A | AWAITING_PROPOSAL | +| `statusChangedDateTime` | [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 status was last changed. | 2017-01-02T02:59:59.999Z | +| `responder` | *string* | :heavy_minus_sign: | Name of the recipient associated with supplier who responded to the RFP. | John Doe | +| `response` | [components.SupplierResponse](../../models/components/supplierresponse.md) | :heavy_minus_sign: | N/A | | +| `externalProposalId` | *string* | :heavy_minus_sign: | Unique identifier for proposal created by supplier in the external system where it originated. | 143227 | +| `externalId` | *string* | :heavy_minus_sign: | Unique identifier for RFP in the external system where it originated. | 234123 | +| `forwardId` | *string* | :heavy_minus_sign: | The unique identifier generated when supplier forwards the RFP to other suppliers. | d024cc04-adf1-443c-854a-97ab9f5a14b2 | +| `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 the RFP was last sent to the supplier. | 2017-01-02T02:59:59.999Z | +| `lastViewedDateTime` | [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 last viewed by the supplier. | 2017-01-02T02:59:59.999Z | +| `sentDateTime` | [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 originally sent to the supplier. | 2017-01-02T02:59:59.999Z | +| `sentToNso` | *boolean* | :heavy_minus_sign: | True indicates the RFP was sent to NSO (National Sales Office) associated with supplier. | false | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfpsupplierjson.md b/packages/typescript/docs/models/components/rfpsupplierjson.md deleted file mode 100644 index 239270452..000000000 --- a/packages/typescript/docs/models/components/rfpsupplierjson.md +++ /dev/null @@ -1,102 +0,0 @@ -# RfpSupplierJson - -Supplier data for an RFP. - -## Example Usage - -```typescript -import { RfpSupplierJson } from "@cvent/sdk/models/components"; - -let value: RfpSupplierJson = { - created: new Date("2017-01-02T02:00:00Z"), - createdBy: "hporter", - lastModified: new Date("2019-02-12T03:00:00Z"), - lastModifiedBy: "hporter", - supplier: { - id: "50dc08af-24a9-4d01-84be-3d43133dc945", - }, - rfp: { - id: "a0f3116a-4dd8-4923-b778-188cbe00a68f", - }, - externalSupplier: { - name: "ABC Corp", - }, - associatedAdvertisements: { - firstClicked: { - code: "RXBMLPSP", - }, - lastClicked: { - code: "RXBMLPSP", - }, - }, - proposalInProgress: true, - internalNote: "Don't award this RFP to the same venue as last year.", - leadSource: { - id: "50dc08af-24a9-4d01-84be-3d43133dc945", - section: { - id: "40dc08af-24a9-4d01-84be-3d43133dc945", - }, - }, - largestMeetingRoomMet: true, - numberOfGuestRoomsMet: true, - totalMeetingSpaceMet: true, - promotion: { - id: "41cc09ag-61a0-5e21-942e-2d41232dc923", - }, - recommendationNote: "The staff should be courteous.", - shortlistOrder: 45, - showcase: true, - starred: false, - status: "AWAITING_PROPOSAL", - statusChangedDateTime: new Date("2017-01-02T02:59:59.999Z"), - responder: "John Doe", - response: { - dateTime: new Date("2017-02-02T03:19:19.991Z"), - reason: "GUEST_ROOMS_NO_LONGER_AVAILABLE", - comment: - "We are unable to accommodate the request on the required dates. Please let us know if we can help with any other dates.", - }, - externalProposalId: "143227", - externalId: "234123", - forwardId: "d024cc04-adf1-443c-854a-97ab9f5a14b2", - lastSentDateTime: new Date("2017-01-02T02:59:59.999Z"), - lastViewedDateTime: new Date("2017-01-02T02:59:59.999Z"), - sentDateTime: new Date("2017-01-02T02:59:59.999Z"), - sentToNso: false, -}; -``` - -## 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 | -| `supplier` | [components.ReferenceToSupplier](../../models/components/referencetosupplier.md) | :heavy_check_mark: | The supplier associated with the RFP. | | -| `rfp` | [components.ReferenceToRFP](../../models/components/referencetorfp.md) | :heavy_minus_sign: | N/A | | -| `externalSupplier` | [components.ExternalSupplier](../../models/components/externalsupplier.md) | :heavy_minus_sign: | External supplier associated with the RFP. If planners cannot find a supplier in Cvent, they can add the supplier by providing the name when awarding the RFP. | | -| `associatedAdvertisements` | [components.SupplierAssociatedAds](../../models/components/supplierassociatedads.md) | :heavy_minus_sign: | N/A | | -| `proposalInProgress` | *boolean* | :heavy_minus_sign: | True indicates that proposal creation is in progress by supplier. | true | -| `internalNote` | *string* | :heavy_minus_sign: | Internal note by planner for supplier. This is not visible to the supplier. | Don't award this RFP to the same venue as last year. | -| `leadSource` | [components.LeadSource](../../models/components/leadsource.md) | :heavy_minus_sign: | N/A | | -| `largestMeetingRoomMet` | *boolean* | :heavy_minus_sign: | True indicates the largest meeting room criteria is met. | true | -| `numberOfGuestRoomsMet` | *boolean* | :heavy_minus_sign: | True indicates the number of guest rooms criteria is met. | true | -| `totalMeetingSpaceMet` | *boolean* | :heavy_minus_sign: | True indicates the total meeting space criteria is met. | true | -| `promotion` | [components.Promotion](../../models/components/promotion.md) | :heavy_minus_sign: | Promotion applied by planner while adding supplier on RFP. | | -| `recommendationNote` | *string* | :heavy_minus_sign: | Recommendations added by planner for supplier. | The staff should be courteous. | -| `shortlistOrder` | *number* | :heavy_minus_sign: | Shortlisted order for the supplier. | 45 | -| `showcase` | *boolean* | :heavy_minus_sign: | True indicates the supplier was added by using RFP showcase feature. | true | -| `starred` | *boolean* | :heavy_minus_sign: | True indicates the RFP is starred by supplier. This is not visible to the planner. | false | -| `status` | [components.RfpSupplierStatus](../../models/components/rfpsupplierstatus.md) | :heavy_minus_sign: | N/A | AWAITING_PROPOSAL | -| `statusChangedDateTime` | [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 status was last changed. | 2017-01-02T02:59:59.999Z | -| `responder` | *string* | :heavy_minus_sign: | Name of the recipient associated with supplier who responded to the RFP. | John Doe | -| `response` | [components.SupplierResponse](../../models/components/supplierresponse.md) | :heavy_minus_sign: | N/A | | -| `externalProposalId` | *string* | :heavy_minus_sign: | Unique identifier for proposal created by supplier in the external system where it originated. | 143227 | -| `externalId` | *string* | :heavy_minus_sign: | Unique identifier for RFP in the external system where it originated. | 234123 | -| `forwardId` | *string* | :heavy_minus_sign: | The unique identifier generated when supplier forwards the RFP to other suppliers. | d024cc04-adf1-443c-854a-97ab9f5a14b2 | -| `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 the RFP was last sent to the supplier. | 2017-01-02T02:59:59.999Z | -| `lastViewedDateTime` | [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 last viewed by the supplier. | 2017-01-02T02:59:59.999Z | -| `sentDateTime` | [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 originally sent to the supplier. | 2017-01-02T02:59:59.999Z | -| `sentToNso` | *boolean* | :heavy_minus_sign: | True indicates the RFP was sent to NSO (National Sales Office) associated with supplier. | false | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfpsupplierleadsource.md b/packages/typescript/docs/models/components/rfpsupplierleadsource.md new file mode 100644 index 000000000..ffa26679a --- /dev/null +++ b/packages/typescript/docs/models/components/rfpsupplierleadsource.md @@ -0,0 +1,23 @@ +# RfpSupplierLeadSource + +Lead source details. + +## Example Usage + +```typescript +import { RfpSupplierLeadSource } from "@cvent/sdk/models/components"; + +let value: RfpSupplierLeadSource = { + id: "50dc08af-24a9-4d01-84be-3d43133dc945", + section: { + id: "40dc08af-24a9-4d01-84be-3d43133dc945", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | Unique identifier for source generating the RFP. Details about this lead source can be fetched using lead source API. | 50dc08af-24a9-4d01-84be-3d43133dc945 | +| `section` | [components.LeadSourceSection](../../models/components/leadsourcesection.md) | :heavy_minus_sign: | Represents lead source section details, which is a sub area of source generating the RFP. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfptype1.md b/packages/typescript/docs/models/components/rfptype1.md new file mode 100644 index 000000000..d68d5bffa --- /dev/null +++ b/packages/typescript/docs/models/components/rfptype1.md @@ -0,0 +1,17 @@ +# RfpType1 + +RFP types based on event requirements. + +## Example Usage + +```typescript +import { RfpType1 } from "@cvent/sdk/models/components"; + +let value: RfpType1 = "GUEST_ROOMS_ONLY"; +``` + +## Values + +```typescript +"MEETING_SPACE_AND_GUEST_ROOMS" | "MEETING_SPACE_ONLY" | "GUEST_ROOMS_ONLY" | "RESTAURANT_RFP" | "SERVICE_PROVIDER" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfptypejson0.md b/packages/typescript/docs/models/components/rfptypejson0.md deleted file mode 100644 index c80f6dd0e..000000000 --- a/packages/typescript/docs/models/components/rfptypejson0.md +++ /dev/null @@ -1,17 +0,0 @@ -# RfpTypeJson0 - -RFP types based on event requirements. - -## Example Usage - -```typescript -import { RfpTypeJson0 } from "@cvent/sdk/models/components"; - -let value: RfpTypeJson0 = "SERVICE_PROVIDER"; -``` - -## Values - -```typescript -"MEETING_SPACE_AND_GUEST_ROOMS" | "MEETING_SPACE_ONLY" | "GUEST_ROOMS_ONLY" | "RESTAURANT_RFP" | "SERVICE_PROVIDER" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/roombedtypejson.md b/packages/typescript/docs/models/components/roombedtypejson.md new file mode 100644 index 000000000..f17902c7f --- /dev/null +++ b/packages/typescript/docs/models/components/roombedtypejson.md @@ -0,0 +1,17 @@ +# RoomBedTypeJson + +Code representing the bed type. + +## Example Usage + +```typescript +import { RoomBedTypeJson } from "@cvent/sdk/models/components"; + +let value: RoomBedTypeJson = "queen"; +``` + +## Values + +```typescript +"sofa_bed" | "double" | "full" | "king" | "murphy" | "queen" | "run_of_house" | "single" | "twin" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/roombedtypejson1.md b/packages/typescript/docs/models/components/roombedtypejson1.md deleted file mode 100644 index a6d635f62..000000000 --- a/packages/typescript/docs/models/components/roombedtypejson1.md +++ /dev/null @@ -1,17 +0,0 @@ -# RoomBedTypeJson1 - -Code representing the bed type. - -## Example Usage - -```typescript -import { RoomBedTypeJson1 } from "@cvent/sdk/models/components"; - -let value: RoomBedTypeJson1 = "queen"; -``` - -## Values - -```typescript -"sofa_bed" | "double" | "full" | "king" | "murphy" | "queen" | "run_of_house" | "single" | "twin" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/roomblock.md b/packages/typescript/docs/models/components/roomblock.md new file mode 100644 index 000000000..3dd96afe6 --- /dev/null +++ b/packages/typescript/docs/models/components/roomblock.md @@ -0,0 +1,33 @@ +# RoomBlock + +Contains details related to room allotment for a day. + +## Example Usage + +```typescript +import { RoomBlock } from "@cvent/sdk/models/components"; +import { RFCDate } from "@cvent/sdk/types"; + +let value: RoomBlock = { + id: "1f6193da-e12b-4638-b1e2-13dd60d0adeb", + date: new RFCDate("2025-10-13"), + dayNumber: 3, + totalRooms: 24, + details: [ + { + quantity: 24, + type: "DOUBLE", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | Unique identifier for the room block. | 1f6193da-e12b-4638-b1e2-13dd60d0adeb | +| `date` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 date when the rooms are required. | 2025-10-13 | +| `dayNumber` | *number* | :heavy_minus_sign: | Counter for day number. | 3 | +| `totalRooms` | *number* | :heavy_minus_sign: | Total number of rooms required for the day. | 24 | +| `details` | [components.RoomBlockDetails](../../models/components/roomblockdetails.md)[] | :heavy_minus_sign: | Contains detail of quantity required for each room type. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/roomblockdetails.md b/packages/typescript/docs/models/components/roomblockdetails.md new file mode 100644 index 000000000..0ed79e4ad --- /dev/null +++ b/packages/typescript/docs/models/components/roomblockdetails.md @@ -0,0 +1,21 @@ +# RoomBlockDetails + +Contains details related to room allotment for a room type. + +## Example Usage + +```typescript +import { RoomBlockDetails } from "@cvent/sdk/models/components"; + +let value: RoomBlockDetails = { + quantity: 24, + type: "DOUBLE", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `quantity` | *number* | :heavy_minus_sign: | Quantity of rooms required. | 24 | +| `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 diff --git a/packages/typescript/docs/models/components/roomblockdetailsjson.md b/packages/typescript/docs/models/components/roomblockdetailsjson.md deleted file mode 100644 index 83e7cc4f3..000000000 --- a/packages/typescript/docs/models/components/roomblockdetailsjson.md +++ /dev/null @@ -1,21 +0,0 @@ -# RoomBlockDetailsJson - -Contains details related to room allotment for a room type. - -## Example Usage - -```typescript -import { RoomBlockDetailsJson } from "@cvent/sdk/models/components"; - -let value: RoomBlockDetailsJson = { - quantity: 24, - type: "DOUBLE", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `quantity` | *number* | :heavy_minus_sign: | Quantity of rooms required. | 24 | -| `type` | [components.GuestRoomTypeJson](../../models/components/guestroomtypejson.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 diff --git a/packages/typescript/docs/models/components/roomblockjson.md b/packages/typescript/docs/models/components/roomblockjson.md deleted file mode 100644 index 2d556bf23..000000000 --- a/packages/typescript/docs/models/components/roomblockjson.md +++ /dev/null @@ -1,33 +0,0 @@ -# RoomBlockJson - -Contains details related to room allotment for a day. - -## Example Usage - -```typescript -import { RoomBlockJson } from "@cvent/sdk/models/components"; -import { RFCDate } from "@cvent/sdk/types"; - -let value: RoomBlockJson = { - id: "1f6193da-e12b-4638-b1e2-13dd60d0adeb", - date: new RFCDate("2025-10-13"), - dayNumber: 3, - totalRooms: 24, - details: [ - { - quantity: 24, - type: "DOUBLE", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | Unique identifier for the room block. | 1f6193da-e12b-4638-b1e2-13dd60d0adeb | -| `date` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 date when the rooms are required. | 2025-10-13 | -| `dayNumber` | *number* | :heavy_minus_sign: | Counter for day number. | 3 | -| `totalRooms` | *number* | :heavy_minus_sign: | Total number of rooms required for the day. | 24 | -| `details` | [components.RoomBlockDetailsJson](../../models/components/roomblockdetailsjson.md)[] | :heavy_minus_sign: | Contains detail of quantity required for each room type. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/scoresjson.md b/packages/typescript/docs/models/components/scoresjson.md index d895afa70..ed4a5422a 100644 --- a/packages/typescript/docs/models/components/scoresjson.md +++ b/packages/typescript/docs/models/components/scoresjson.md @@ -30,6 +30,6 @@ let value: ScoresJson = { | `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.ScoresJsonAttendee](../../models/components/scoresjsonattendee.md) | :heavy_check_mark: | The attendee with points in this engagement score. | | -| `event` | [components.EventJson6](../../models/components/eventjson6.md) | :heavy_check_mark: | An event reference used in attendee insights to identify the event context for engagement data | | +| `event` | [components.EventJson5](../../models/components/eventjson5.md) | :heavy_check_mark: | An event reference used in attendee insights to identify the event context for engagement data | | | `points` | *number* | :heavy_minus_sign: | The number of points earned by an attendee in this engagement score. | 45 | | `rank` | *number* | :heavy_minus_sign: | Attendees rank amongst other attendees in terms of points scored. | 10 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/sendemaileventrequest.md b/packages/typescript/docs/models/components/sendemaileventrequest.md index a2cd849ae..841596926 100644 --- a/packages/typescript/docs/models/components/sendemaileventrequest.md +++ b/packages/typescript/docs/models/components/sendemaileventrequest.md @@ -25,7 +25,7 @@ let value: SendEmailEventRequest = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `event` | [components.EventJson8](../../models/components/eventjson8.md) | :heavy_check_mark: | Details of the event. | | +| `event` | [components.EventJson6](../../models/components/eventjson6.md) | :heavy_check_mark: | Details of the event. | | | `email` | [components.EmailJson2](../../models/components/emailjson2.md) | :heavy_check_mark: | Details of an email to be send. | | | `resendToPreviousRecipients` | *boolean* | :heavy_check_mark: | True indicates this email should be resent to attendees who had already received this email previously. | true | | `attendees` | *string*[] | :heavy_check_mark: | Array of attendee identifiers to whom email is to be sent. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/sendemaileventresponse.md b/packages/typescript/docs/models/components/sendemaileventresponse.md index 219dc16be..0c1d23dfd 100644 --- a/packages/typescript/docs/models/components/sendemaileventresponse.md +++ b/packages/typescript/docs/models/components/sendemaileventresponse.md @@ -43,7 +43,7 @@ let value: SendEmailEventResponse = { | `requestId` | *string* | :heavy_check_mark: | The request ID for the email send request. | 3A541E55-3367-4C50-B21B-B6A7613DFB23 | | `status` | [components.SendEmailRequestStatusJson](../../models/components/sendemailrequeststatusjson.md) | :heavy_minus_sign: | Denotes the status of the send email request. | ERROR | | `description` | *string* | :heavy_minus_sign: | The description of the response. If the `status` is `ERROR`, this field contains the reason for the failure. | Cannot send an email from deleted event. | -| `event` | [components.EventJson8](../../models/components/eventjson8.md) | :heavy_check_mark: | Details of the event. | | +| `event` | [components.EventJson6](../../models/components/eventjson6.md) | :heavy_check_mark: | Details of the event. | | | `email` | [components.EmailJson2](../../models/components/emailjson2.md) | :heavy_check_mark: | Details of an email to be send. | | | `resendToPreviousRecipients` | *boolean* | :heavy_check_mark: | True indicates this email should be resent to attendees who had already received this email previously. | true | | `attendeeResponses` | [components.AttendeeResponseJson](../../models/components/attendeeresponsejson.md)[] | :heavy_minus_sign: | List of responses specifying the status of email request for each attendee. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/sessionlite.md b/packages/typescript/docs/models/components/sessionlite.md new file mode 100644 index 000000000..c480efd12 --- /dev/null +++ b/packages/typescript/docs/models/components/sessionlite.md @@ -0,0 +1,19 @@ +# SessionLite + +The unique identifier of a session. + +## Example Usage + +```typescript +import { SessionLite } from "@cvent/sdk/models/components"; + +let value: SessionLite = { + id: "832cb481-74c5-4859-ba21-bbb5be8b86e0", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_check_mark: | The unique identifier for a session. | 832cb481-74c5-4859-ba21-bbb5be8b86e0 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/sessionlitejson.md b/packages/typescript/docs/models/components/sessionlitejson.md deleted file mode 100644 index fd962758d..000000000 --- a/packages/typescript/docs/models/components/sessionlitejson.md +++ /dev/null @@ -1,19 +0,0 @@ -# SessionLiteJson - -The unique identifier of a session. - -## Example Usage - -```typescript -import { SessionLiteJson } from "@cvent/sdk/models/components"; - -let value: SessionLiteJson = { - id: "832cb481-74c5-4859-ba21-bbb5be8b86e0", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *string* | :heavy_check_mark: | The unique identifier for a session. | 832cb481-74c5-4859-ba21-bbb5be8b86e0 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/sessionqamessage.md b/packages/typescript/docs/models/components/sessionqamessage.md index b268be01b..215ff2572 100644 --- a/packages/typescript/docs/models/components/sessionqamessage.md +++ b/packages/typescript/docs/models/components/sessionqamessage.md @@ -28,4 +28,4 @@ let value: SessionQaMessage = { | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `actionType` | [components.SessionQaActionTypeJson](../../models/components/sessionqaactiontypejson.md) | :heavy_check_mark: | The user action that just occurred.
`question.asked` - A question was asked.
`question.upvoted` - A question was upvoted.
`question.statusUpdated` - The status of a question was updated.
`question.answered` - Either question was answered or the earlier provided answer was updated.
`answer.deleted` - An answer was deleted. | question.asked | | `attendee` | [components.AttendeeJson](../../models/components/attendeejson.md) | :heavy_check_mark: | Attendee details | | -| `question` | [components.QuestionJson1](../../models/components/questionjson1.md) | :heavy_check_mark: | Question details | | \ No newline at end of file +| `question` | [components.QuestionJson](../../models/components/questionjson.md) | :heavy_check_mark: | Question details | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/sessionspeaker.md b/packages/typescript/docs/models/components/sessionspeaker.md new file mode 100644 index 000000000..a6a13ec18 --- /dev/null +++ b/packages/typescript/docs/models/components/sessionspeaker.md @@ -0,0 +1,30 @@ +# SessionSpeaker + +A session speaker + +## Example Usage + +```typescript +import { SessionSpeaker } from "@cvent/sdk/models/components"; + +let value: SessionSpeaker = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + session: { + id: "832cb481-74c5-4859-ba21-bbb5be8b86e0", + }, + category: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "Presenters", + }, + order: 1, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `session` | [components.SessionLite](../../models/components/sessionlite.md) | :heavy_minus_sign: | The unique identifier of a session. | | +| `category` | [components.SpeakerCategory1](../../models/components/speakercategory1.md) | :heavy_minus_sign: | A defined speaker category. | | +| `order` | *number* | :heavy_minus_sign: | The order of the speaker in a session. | 1 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/sessionspeakerjson.md b/packages/typescript/docs/models/components/sessionspeakerjson.md deleted file mode 100644 index bb954c2f7..000000000 --- a/packages/typescript/docs/models/components/sessionspeakerjson.md +++ /dev/null @@ -1,30 +0,0 @@ -# SessionSpeakerJson - -A session speaker - -## Example Usage - -```typescript -import { SessionSpeakerJson } from "@cvent/sdk/models/components"; - -let value: SessionSpeakerJson = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - session: { - id: "832cb481-74c5-4859-ba21-bbb5be8b86e0", - }, - category: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - name: "Presenters", - }, - order: 1, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `session` | [components.SessionLiteJson](../../models/components/sessionlitejson.md) | :heavy_minus_sign: | The unique identifier of a session. | | -| `category` | [components.CategoryIdNameJson](../../models/components/categoryidnamejson.md) | :heavy_minus_sign: | A defined speaker category. | | -| `order` | *number* | :heavy_minus_sign: | The order of the speaker in a session. | 1 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/sessionspeakerpaginatedresponse.md b/packages/typescript/docs/models/components/sessionspeakerpaginatedresponse.md index ef1742f1e..4e04b10f9 100644 --- a/packages/typescript/docs/models/components/sessionspeakerpaginatedresponse.md +++ b/packages/typescript/docs/models/components/sessionspeakerpaginatedresponse.md @@ -32,7 +32,7 @@ let value: SessionSpeakerPaginatedResponse = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | -| `data` | [components.SessionSpeakerJson](../../models/components/sessionspeakerjson.md)[] | :heavy_check_mark: | Collection of a session's speakers. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `data` | [components.SessionSpeaker](../../models/components/sessionspeaker.md)[] | :heavy_check_mark: | Collection of a session's speakers. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/sleepingroomblockjson.md b/packages/typescript/docs/models/components/sleepingroomblockjson.md index 49d4c5d1a..5e5fc3d84 100644 --- a/packages/typescript/docs/models/components/sleepingroomblockjson.md +++ b/packages/typescript/docs/models/components/sleepingroomblockjson.md @@ -19,7 +19,7 @@ let value: SleepingRoomBlockJson = { | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `proposalDateType` | [components.DateTypeJson1](../../models/components/datetypejson1.md) | :heavy_minus_sign: | The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). | | +| `proposalDateType` | [components.DateTypeJson](../../models/components/datetypejson.md) | :heavy_minus_sign: | The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). | | | `sleepingRoomType` | [components.SleepingRoomTypeJson](../../models/components/sleepingroomtypejson.md) | :heavy_minus_sign: | Sleeping room type | | | `date` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | Date the rooms in the room block are available. | 2021-01-13 | | `quantity` | *number* | :heavy_minus_sign: | The total number of rooms for this room block. | 20 | diff --git a/packages/typescript/docs/models/components/sleepingroomjson.md b/packages/typescript/docs/models/components/sleepingroomjson.md index 731c71802..d639035e9 100644 --- a/packages/typescript/docs/models/components/sleepingroomjson.md +++ b/packages/typescript/docs/models/components/sleepingroomjson.md @@ -36,7 +36,7 @@ let value: SleepingRoomJson = { | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `proposalDateType` | [components.DateTypeJson1](../../models/components/datetypejson1.md) | :heavy_minus_sign: | The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). | | +| `proposalDateType` | [components.DateTypeJson](../../models/components/datetypejson.md) | :heavy_minus_sign: | The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). | | | `checkInDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The check in date for attendees. | 2021-01-13 | | `checkOutDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The check out date for attendees. | 2021-01-13 | | `peakRoomNights` | *number* | :heavy_minus_sign: | The night during an event when the most sleeping rooms are occupied. | 2 | diff --git a/packages/typescript/docs/models/components/solution.md b/packages/typescript/docs/models/components/solution.md new file mode 100644 index 000000000..a2befea61 --- /dev/null +++ b/packages/typescript/docs/models/components/solution.md @@ -0,0 +1,17 @@ +# Solution + +The solution where the video exists. Attendee Hub and Events+ represent two different solutions where the video can be found. + +## Example Usage + +```typescript +import { Solution } from "@cvent/sdk/models/components"; + +let value: Solution = "EVENTS_PLUS"; +``` + +## Values + +```typescript +"ATTENDEE_HUB" | "EVENTS_PLUS" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/solutionjson.md b/packages/typescript/docs/models/components/solutionjson.md deleted file mode 100644 index fae4bcbf1..000000000 --- a/packages/typescript/docs/models/components/solutionjson.md +++ /dev/null @@ -1,17 +0,0 @@ -# SolutionJson - -The solution where the video exists. Attendee Hub and Events+ represent two different solutions where the video can be found. - -## Example Usage - -```typescript -import { SolutionJson } from "@cvent/sdk/models/components"; - -let value: SolutionJson = "EVENTS_PLUS"; -``` - -## Values - -```typescript -"ATTENDEE_HUB" | "EVENTS_PLUS" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/spacearea.md b/packages/typescript/docs/models/components/spacearea.md new file mode 100644 index 000000000..79a5c8255 --- /dev/null +++ b/packages/typescript/docs/models/components/spacearea.md @@ -0,0 +1,17 @@ +# SpaceArea + +Space area divisons. + +## Example Usage + +```typescript +import { SpaceArea } from "@cvent/sdk/models/components"; + +let value: SpaceArea = "SEVENTY_THOUSAND_SQ_FT"; +``` + +## Values + +```typescript +"LESS_THAN_ONE_THOUSAND_SQ_FT" | "ONE_THOUSAND_SQ_FT" | "TWO_THOUSAND_SQ_FT" | "THREE_THOUSAND_SQ_FT" | "FOUR_THOUSAND_SQ_FT" | "FIVE_THOUSAND_SQ_FT" | "SIX_THOUSAND_SQ_FT" | "SEVEN_THOUSAND_SQ_FT" | "EIGHT_THOUSAND_SQ_FT" | "NINE_THOUSAND_SQ_FT" | "TEN_THOUSAND_SQ_FT" | "ELEVEN_THOUSAND_SQ_FT" | "TWELVE_THOUSAND_SQ_FT" | "THIRTEEN_THOUSAND_SQ_FT" | "FOURTEEN_THOUSAND_SQ_FT" | "FIFTEEN_THOUSAND_SQ_FT" | "SIXTEEN_THOUSAND_SQ_FT" | "SEVENTEEN_THOUSAND_SQ_FT" | "EIGHTEEN_THOUSAND_SQ_FT" | "NINETEEN_THOUSAND_SQ_FT" | "TWENTY_THOUSAND_SQ_FT" | "TWENTY_FIVE_THOUSAND_SQ_FT" | "THIRTY_THOUSAND_SQ_FT" | "THIRTY_FIVE_THOUSAND_SQ_FT" | "FORTY_THOUSAND_SQ_FT" | "FORTY_FIVE_THOUSAND_SQ_FT" | "FIFTY_THOUSAND_SQ_FT" | "FIFTY_FIVE_THOUSAND_SQ_FT" | "SIXTY_THOUSAND_SQ_FT" | "SIXTY_FIVE_THOUSAND_SQ_FT" | "SEVENTY_THOUSAND_SQ_FT" | "SEVENTY_FIVE_THOUSAND_SQ_FT" | "EIGHTY_THOUSAND_SQ_FT" | "EIGHTY_FIVE_THOUSAND_SQ_FT" | "NINETY_THOUSAND_SQ_FT" | "ONE_HUNDRED_THOUSAND_SQ_FT" | "GREATER_THAN_ONE_HUNDRED_THOUSAND_SQ_FT" | "LESS_THAN_ONE_HUNDRED_SQ_MTR" | "ONE_HUNDRED_SQ_MTR" | "TWO_HUNDRED_SQ_MTR" | "THREE_HUNDRED_SQ_MTR" | "FOUR_HUNDRED_SQ_MTR" | "FIVE_HUNDRED_SQ_MTR" | "SIX_HUNDRED_SQ_MTR" | "SEVEN_HUNDRED_SQ_MTR" | "EIGHT_HUNDRED_SQ_MTR" | "NINE_HUNDRED_SQ_MTR" | "ONE_THOUSAND_SQ_MTR" | "ELEVEN_HUNDRED_SQ_MTR" | "TWELVE_HUNDRED_SQ_MTR" | "THIRTEEN_HUNDRED_SQ_MTR" | "FOURTEEN_HUNDRED_SQ_MTR" | "FIFTEEN_HUNDRED_SQ_MTR" | "SIXTEEN_HUNDRED_SQ_MTR" | "SEVENTEEN_HUNDRED_SQ_MTR" | "EIGHTEEN_HUNDRED_SQ_MTR" | "NINETEEN_HUNDRED_SQ_MTR" | "TWO_THOUSAND_SQ_MTR" | "TWENTY_FIVE_HUNDRED_SQ_MTR" | "THREE_THOUSAND_SQ_MTR" | "THIRTY_FIVE_HUNDRED_SQ_MTR" | "FOUR_THOUSAND_SQ_MTR" | "FORTY_FIVE_HUNDRED_SQ_MTR" | "FIVE_THOUSAND_SQ_MTR" | "FIFTY_FIVE_HUNDRED_SQ_MTR" | "SIX_THOUSAND_SQ_MTR" | "SIXTY_FIVE_HUNDRED_SQ_MTR" | "SEVEN_THOUSAND_SQ_MTR" | "SEVENTY_FIVE_HUNDRED_SQ_MTR" | "EIGHT_THOUSAND_SQ_MTR" | "EIGHTY_FIVE_HUNDRED_SQ_MTR" | "NINE_THOUSAND_SQ_MTR" | "TEN_THOUSAND_SQ_MTR" | "GREATER_THAN_TEN_THOUSAND_SQ_MTR" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/spaceareajson0.md b/packages/typescript/docs/models/components/spaceareajson0.md deleted file mode 100644 index 98205df22..000000000 --- a/packages/typescript/docs/models/components/spaceareajson0.md +++ /dev/null @@ -1,17 +0,0 @@ -# SpaceAreaJson0 - -Space area divisons. - -## Example Usage - -```typescript -import { SpaceAreaJson0 } from "@cvent/sdk/models/components"; - -let value: SpaceAreaJson0 = "NINETEEN_THOUSAND_SQ_FT"; -``` - -## Values - -```typescript -"LESS_THAN_ONE_THOUSAND_SQ_FT" | "ONE_THOUSAND_SQ_FT" | "TWO_THOUSAND_SQ_FT" | "THREE_THOUSAND_SQ_FT" | "FOUR_THOUSAND_SQ_FT" | "FIVE_THOUSAND_SQ_FT" | "SIX_THOUSAND_SQ_FT" | "SEVEN_THOUSAND_SQ_FT" | "EIGHT_THOUSAND_SQ_FT" | "NINE_THOUSAND_SQ_FT" | "TEN_THOUSAND_SQ_FT" | "ELEVEN_THOUSAND_SQ_FT" | "TWELVE_THOUSAND_SQ_FT" | "THIRTEEN_THOUSAND_SQ_FT" | "FOURTEEN_THOUSAND_SQ_FT" | "FIFTEEN_THOUSAND_SQ_FT" | "SIXTEEN_THOUSAND_SQ_FT" | "SEVENTEEN_THOUSAND_SQ_FT" | "EIGHTEEN_THOUSAND_SQ_FT" | "NINETEEN_THOUSAND_SQ_FT" | "TWENTY_THOUSAND_SQ_FT" | "TWENTY_FIVE_THOUSAND_SQ_FT" | "THIRTY_THOUSAND_SQ_FT" | "THIRTY_FIVE_THOUSAND_SQ_FT" | "FORTY_THOUSAND_SQ_FT" | "FORTY_FIVE_THOUSAND_SQ_FT" | "FIFTY_THOUSAND_SQ_FT" | "FIFTY_FIVE_THOUSAND_SQ_FT" | "SIXTY_THOUSAND_SQ_FT" | "SIXTY_FIVE_THOUSAND_SQ_FT" | "SEVENTY_THOUSAND_SQ_FT" | "SEVENTY_FIVE_THOUSAND_SQ_FT" | "EIGHTY_THOUSAND_SQ_FT" | "EIGHTY_FIVE_THOUSAND_SQ_FT" | "NINETY_THOUSAND_SQ_FT" | "ONE_HUNDRED_THOUSAND_SQ_FT" | "GREATER_THAN_ONE_HUNDRED_THOUSAND_SQ_FT" | "LESS_THAN_ONE_HUNDRED_SQ_MTR" | "ONE_HUNDRED_SQ_MTR" | "TWO_HUNDRED_SQ_MTR" | "THREE_HUNDRED_SQ_MTR" | "FOUR_HUNDRED_SQ_MTR" | "FIVE_HUNDRED_SQ_MTR" | "SIX_HUNDRED_SQ_MTR" | "SEVEN_HUNDRED_SQ_MTR" | "EIGHT_HUNDRED_SQ_MTR" | "NINE_HUNDRED_SQ_MTR" | "ONE_THOUSAND_SQ_MTR" | "ELEVEN_HUNDRED_SQ_MTR" | "TWELVE_HUNDRED_SQ_MTR" | "THIRTEEN_HUNDRED_SQ_MTR" | "FOURTEEN_HUNDRED_SQ_MTR" | "FIFTEEN_HUNDRED_SQ_MTR" | "SIXTEEN_HUNDRED_SQ_MTR" | "SEVENTEEN_HUNDRED_SQ_MTR" | "EIGHTEEN_HUNDRED_SQ_MTR" | "NINETEEN_HUNDRED_SQ_MTR" | "TWO_THOUSAND_SQ_MTR" | "TWENTY_FIVE_HUNDRED_SQ_MTR" | "THREE_THOUSAND_SQ_MTR" | "THIRTY_FIVE_HUNDRED_SQ_MTR" | "FOUR_THOUSAND_SQ_MTR" | "FORTY_FIVE_HUNDRED_SQ_MTR" | "FIVE_THOUSAND_SQ_MTR" | "FIFTY_FIVE_HUNDRED_SQ_MTR" | "SIX_THOUSAND_SQ_MTR" | "SIXTY_FIVE_HUNDRED_SQ_MTR" | "SEVEN_THOUSAND_SQ_MTR" | "SEVENTY_FIVE_HUNDRED_SQ_MTR" | "EIGHT_THOUSAND_SQ_MTR" | "EIGHTY_FIVE_HUNDRED_SQ_MTR" | "NINE_THOUSAND_SQ_MTR" | "TEN_THOUSAND_SQ_MTR" | "GREATER_THAN_TEN_THOUSAND_SQ_MTR" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/speaker.md b/packages/typescript/docs/models/components/speaker.md index 914a22a3a..af291d507 100644 --- a/packages/typescript/docs/models/components/speaker.md +++ b/packages/typescript/docs/models/components/speaker.md @@ -53,8 +53,8 @@ let value: Speaker = { | `designation` | *string* | :heavy_minus_sign: | The speaker's Designation | PhD | | `company` | *string* | :heavy_minus_sign: | The company to which the speaker is associated | Cvent | | `title` | *string* | :heavy_minus_sign: | The speaker's title | Lead Engineer | -| `category` | [components.CategoryIdNameJson](../../models/components/categoryidnamejson.md) | :heavy_minus_sign: | A defined speaker category. | | -| `links` | [components.ContactLinksJsonInput](../../models/components/contactlinksjsoninput.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | +| `category` | [components.SpeakerCategory1](../../models/components/speakercategory1.md) | :heavy_minus_sign: | A defined speaker category. | | +| `links` | [components.ContactLinksInput](../../models/components/contactlinksinput.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | | `visibility` | *boolean* | :heavy_minus_sign: | Indicates if a given speaker should be displayed on Event Website | false | | `biography` | *string* | :heavy_minus_sign: | The speaker's biography | Presentation and Speaking voice expert, Barbara is a highly regarded coach and facilitator | | `internalNote` | *string* | :heavy_minus_sign: | The Internal Note of the speaker | Barbara is multilingual | diff --git a/packages/typescript/docs/models/components/speakercategory.md b/packages/typescript/docs/models/components/speakercategory.md deleted file mode 100644 index d79e6a2e7..000000000 --- a/packages/typescript/docs/models/components/speakercategory.md +++ /dev/null @@ -1,19 +0,0 @@ -# SpeakerCategory - -A speaker category. - -## Example Usage - -```typescript -import { SpeakerCategory } from "@cvent/sdk/models/components"; - -let value: SpeakerCategory = { - name: "Presenters", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -| `name` | *string* | :heavy_minus_sign: | The name of the speaker category | Presenters | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/speakercategory1.md b/packages/typescript/docs/models/components/speakercategory1.md new file mode 100644 index 000000000..814ea6236 --- /dev/null +++ b/packages/typescript/docs/models/components/speakercategory1.md @@ -0,0 +1,21 @@ +# SpeakerCategory1 + +A defined speaker category. + +## Example Usage + +```typescript +import { SpeakerCategory1 } from "@cvent/sdk/models/components"; + +let value: SpeakerCategory1 = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + name: "Presenters", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `name` | *string* | :heavy_minus_sign: | The name of the speaker category | Presenters | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/speakercategory2.md b/packages/typescript/docs/models/components/speakercategory2.md new file mode 100644 index 000000000..283ab08ab --- /dev/null +++ b/packages/typescript/docs/models/components/speakercategory2.md @@ -0,0 +1,19 @@ +# SpeakerCategory2 + +A speaker category. + +## Example Usage + +```typescript +import { SpeakerCategory2 } from "@cvent/sdk/models/components"; + +let value: SpeakerCategory2 = { + name: "Presenters", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | +| `name` | *string* | :heavy_minus_sign: | The name of the speaker category | Presenters | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/speakercategorypaginatedresponse.md b/packages/typescript/docs/models/components/speakercategorypaginatedresponse.md index 927b6d059..2e6134768 100644 --- a/packages/typescript/docs/models/components/speakercategorypaginatedresponse.md +++ b/packages/typescript/docs/models/components/speakercategorypaginatedresponse.md @@ -34,5 +34,5 @@ let value: SpeakerCategoryPaginatedResponse = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | | `data` | [components.ExistingSpeakerCategory](../../models/components/existingspeakercategory.md)[] | :heavy_check_mark: | Collection of speaker categories. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/speakerdocumentpaginatedresponse.md b/packages/typescript/docs/models/components/speakerdocumentpaginatedresponse.md index 4ff177fbc..586e1b786 100644 --- a/packages/typescript/docs/models/components/speakerdocumentpaginatedresponse.md +++ b/packages/typescript/docs/models/components/speakerdocumentpaginatedresponse.md @@ -34,5 +34,5 @@ let value: SpeakerDocumentPaginatedResponse = { | Field | Type | Required | Description | | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | | `data` | [components.SpeakerFile](../../models/components/speakerfile.md)[] | :heavy_check_mark: | Collection of a speaker's documents. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/speakerlite.md b/packages/typescript/docs/models/components/speakerlite.md index b4ebe9b39..861bf2e4c 100644 --- a/packages/typescript/docs/models/components/speakerlite.md +++ b/packages/typescript/docs/models/components/speakerlite.md @@ -8,12 +8,12 @@ The unique identifier of a speaker. import { SpeakerLite } from "@cvent/sdk/models/components"; let value: SpeakerLite = { - id: "db38da6b-acf7-4fc3-8bd1-0f1887002160", + id: "6077a9f1-a230-40cd-9e32-b493a84aaa80", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *string* | :heavy_check_mark: | The unique identifier for a speaker. | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_check_mark: | The unique identifier for a speaker. | 6077a9f1-a230-40cd-9e32-b493a84aaa80 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/speakerlite1.md b/packages/typescript/docs/models/components/speakerlite1.md new file mode 100644 index 000000000..067548e1e --- /dev/null +++ b/packages/typescript/docs/models/components/speakerlite1.md @@ -0,0 +1,19 @@ +# SpeakerLite1 + +The unique identifier of a speaker. + +## Example Usage + +```typescript +import { SpeakerLite1 } from "@cvent/sdk/models/components"; + +let value: SpeakerLite1 = { + id: "82210fbe-e269-4bad-b8d4-d8b288d65ca4", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_check_mark: | The unique identifier for a speaker. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/speakerlitejson.md b/packages/typescript/docs/models/components/speakerlitejson.md deleted file mode 100644 index 5750a61b0..000000000 --- a/packages/typescript/docs/models/components/speakerlitejson.md +++ /dev/null @@ -1,19 +0,0 @@ -# SpeakerLiteJson - -The unique identifier of a speaker. - -## Example Usage - -```typescript -import { SpeakerLiteJson } from "@cvent/sdk/models/components"; - -let value: SpeakerLiteJson = { - id: "6077a9f1-a230-40cd-9e32-b493a84aaa80", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *string* | :heavy_check_mark: | The unique identifier for a speaker. | 6077a9f1-a230-40cd-9e32-b493a84aaa80 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/speakerpaginatedresponse.md b/packages/typescript/docs/models/components/speakerpaginatedresponse.md index 2345d384c..f75ca7145 100644 --- a/packages/typescript/docs/models/components/speakerpaginatedresponse.md +++ b/packages/typescript/docs/models/components/speakerpaginatedresponse.md @@ -77,5 +77,5 @@ let value: SpeakerPaginatedResponse = { | Field | Type | Required | Description | | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | | `data` | [components.ExistingSpeaker](../../models/components/existingspeaker.md)[] | :heavy_check_mark: | Collection of speakers. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/speakerprogramitem.md b/packages/typescript/docs/models/components/speakerprogramitem.md index e62e87d35..170d18c28 100644 --- a/packages/typescript/docs/models/components/speakerprogramitem.md +++ b/packages/typescript/docs/models/components/speakerprogramitem.md @@ -37,7 +37,7 @@ let value: SpeakerProgramItem = { | `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 | | `id` | *string* | :heavy_minus_sign: | ID of the speaker to program item relationship. | 38db6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `event` | [components.EventLiteJson](../../models/components/eventlitejson.md) | :heavy_check_mark: | The unique identifier of an event. | | -| `session` | [components.SessionLiteJson](../../models/components/sessionlitejson.md) | :heavy_check_mark: | The unique identifier of a session. | | -| `speaker` | [components.SpeakerLiteJson](../../models/components/speakerlitejson.md) | :heavy_check_mark: | The unique identifier of a speaker. | | -| `programItem` | [components.ProgramItemLiteJson](../../models/components/programitemlitejson.md) | :heavy_check_mark: | The unique identifier of a program item. | | \ No newline at end of file +| `event` | [components.EventLite](../../models/components/eventlite.md) | :heavy_check_mark: | The unique identifier of an event. | | +| `session` | [components.SessionLite](../../models/components/sessionlite.md) | :heavy_check_mark: | The unique identifier of a session. | | +| `speaker` | [components.SpeakerLite](../../models/components/speakerlite.md) | :heavy_check_mark: | The unique identifier of a speaker. | | +| `programItem` | [components.ProgramItemLite](../../models/components/programitemlite.md) | :heavy_check_mark: | The unique identifier of a program item. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/speakersession.md b/packages/typescript/docs/models/components/speakersession.md index 20e042ad9..929e145a7 100644 --- a/packages/typescript/docs/models/components/speakersession.md +++ b/packages/typescript/docs/models/components/speakersession.md @@ -21,5 +21,5 @@ let value: SpeakerSession = { | Field | Type | Required | Description | Example | | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | | `id` | *string* | :heavy_minus_sign: | A string that has to be a format matching the industry standard uuid | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | -| `speaker` | [components.SpeakerLite](../../models/components/speakerlite.md) | :heavy_minus_sign: | The unique identifier of a speaker. | | +| `speaker` | [components.SpeakerLite1](../../models/components/speakerlite1.md) | :heavy_minus_sign: | The unique identifier of a speaker. | | | `category` | [components.NamedObject](../../models/components/namedobject.md) | :heavy_minus_sign: | A Named object | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/stakeholderjson.md b/packages/typescript/docs/models/components/stakeholderjson.md index bf5a02405..1231a5d9b 100644 --- a/packages/typescript/docs/models/components/stakeholderjson.md +++ b/packages/typescript/docs/models/components/stakeholderjson.md @@ -48,7 +48,7 @@ let value: StakeholderJson = { | ~~`primaryAddressType`~~ | [components.StakeholderJsonAddressType](../../models/components/stakeholderjsonaddresstype.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | Home | | ~~`homeAddress`~~ | [components.StakeholderJsonHomeAddressAddress](../../models/components/stakeholderjsonhomeaddressaddress.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | | | ~~`homeFax`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Home fax number. | 555-555-5555 | -| ~~`customFields`~~ | [components.CustomFieldJson3](../../models/components/customfieldjson3.md)[] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Collection of custom fields. | | +| ~~`customFields`~~ | [components.CustomFieldJson2](../../models/components/customfieldjson2.md)[] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Collection of custom fields. | | | ~~`sourceId`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This is an ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. | system-a-00000000-0000-0000-0000-000000000000 | | ~~`created`~~ | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The ISO 8601 zoned date time when this record was created. | 2023-12-01T13:00:00Z | | ~~`createdBy`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The identifier of the user that created this record. | hporter | diff --git a/packages/typescript/docs/models/components/standardquestion.md b/packages/typescript/docs/models/components/standardquestion.md new file mode 100644 index 000000000..2956d21af --- /dev/null +++ b/packages/typescript/docs/models/components/standardquestion.md @@ -0,0 +1,19 @@ +# StandardQuestion + +Standard questions are selected from a predefined list of Cvent questions that can be used in an RFP. + +## Example Usage + +```typescript +import { StandardQuestion } from "@cvent/sdk/models/components"; + +let value: StandardQuestion = { + id: "50dc08af-24a9-4d01-84be-3d43133dc945", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | Unique identifier for standard question. | 50dc08af-24a9-4d01-84be-3d43133dc945 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/standardquestionjson.md b/packages/typescript/docs/models/components/standardquestionjson.md deleted file mode 100644 index e8de8d74c..000000000 --- a/packages/typescript/docs/models/components/standardquestionjson.md +++ /dev/null @@ -1,19 +0,0 @@ -# StandardQuestionJson - -Standard questions are selected from a predefined list of Cvent questions that can be used in an RFP. - -## Example Usage - -```typescript -import { StandardQuestionJson } from "@cvent/sdk/models/components"; - -let value: StandardQuestionJson = { - id: "50dc08af-24a9-4d01-84be-3d43133dc945", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | Unique identifier for standard question. | 50dc08af-24a9-4d01-84be-3d43133dc945 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/standardsurveyjson.md b/packages/typescript/docs/models/components/standardsurveyjson.md index 552f6d700..2fa01dc43 100644 --- a/packages/typescript/docs/models/components/standardsurveyjson.md +++ b/packages/typescript/docs/models/components/standardsurveyjson.md @@ -61,4 +61,4 @@ let value: StandardSurveyJson = { | `responseCount` | *number* | :heavy_minus_sign: | The count of responses. | 10 | | `status` | [components.SurveyStatusJson](../../models/components/surveystatusjson.md) | :heavy_minus_sign: | Survey Status | Active | | `archiveAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The survey will be archived after this ISO 8601 formatted date and time. | 2022-05-07T12:00:00.000Z | -| `customFields` | [components.CustomFieldJson2](../../models/components/customfieldjson2.md)[] | :heavy_minus_sign: | Collection of survey custom fields. | | \ No newline at end of file +| `customFields` | [components.CustomFieldJson1](../../models/components/customfieldjson1.md)[] | :heavy_minus_sign: | Collection of survey custom fields. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/standardsurveyquestionjson.md b/packages/typescript/docs/models/components/standardsurveyquestionjson.md index a511597d6..4ef96961e 100644 --- a/packages/typescript/docs/models/components/standardsurveyquestionjson.md +++ b/packages/typescript/docs/models/components/standardsurveyquestionjson.md @@ -94,15 +94,15 @@ let value: StandardSurveyQuestionJson = { | `shortText` | *string* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | | `htmlText` | *string* | :heavy_minus_sign: | Html of the question | Question Html | | `code` | *string* | :heavy_minus_sign: | Question Code | 4l6x | -| `type` | [components.QuestionTypeJson2](../../models/components/questiontypejson2.md) | :heavy_minus_sign: | Question Type. | SingleChoice | -| `choices` | [components.ChoiceJson2](../../models/components/choicejson2.md)[] | :heavy_minus_sign: | List of choices for the question. | | -| `categories` | [components.CategoryJson2](../../models/components/categoryjson2.md)[] | :heavy_minus_sign: | List of categories for the question. | | -| `subCategories` | [components.TextFieldJson1](../../models/components/textfieldjson1.md)[] | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions | | -| `notApplicableAnswer` | [components.AdditionalChoiceJson1](../../models/components/additionalchoicejson1.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | -| `otherAnswer` | [components.AdditionalChoiceJson1](../../models/components/additionalchoicejson1.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | +| `type` | [components.QuestionTypeJson1](../../models/components/questiontypejson1.md) | :heavy_minus_sign: | Question Type. | SingleChoice | +| `choices` | [components.ChoiceJson1](../../models/components/choicejson1.md)[] | :heavy_minus_sign: | List of choices for the question. | | +| `categories` | [components.CategoryJson1](../../models/components/categoryjson1.md)[] | :heavy_minus_sign: | List of categories for the question. | | +| `subCategories` | [components.TextFieldJson](../../models/components/textfieldjson.md)[] | :heavy_minus_sign: | List of sub categories for matrix side-by-side questions | | +| `notApplicableAnswer` | [components.AdditionalChoiceJson](../../models/components/additionalchoicejson.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | +| `otherAnswer` | [components.AdditionalChoiceJson](../../models/components/additionalchoicejson.md) | :heavy_minus_sign: | Contains text of additional choice i.e N/A choice or otherAnswer choice | | | `comments` | *string* | :heavy_minus_sign: | Text Value of Comments Input box placeholder | Comments Text | | `required` | *boolean* | :heavy_minus_sign: | Is this a mandatory question | true | -| `fields` | [components.FieldJson2](../../models/components/fieldjson2.md)[] | :heavy_minus_sign: | List of fields for form/matrix questions | | +| `fields` | [components.FieldJson](../../models/components/fieldjson.md)[] | :heavy_minus_sign: | List of fields for form/matrix questions | | | `maxScore` | *number* | :heavy_minus_sign: | Max possible score | 20 | | `totalSum` | *number* | :heavy_minus_sign: | Total configured sum of all choices for number allocation question | 45 | | `survey` | [components.UuidJson](../../models/components/uuidjson.md) | :heavy_minus_sign: | The reference to the related entity. Contains only the ID of the related entity. | | diff --git a/packages/typescript/docs/models/components/supplierresponse.md b/packages/typescript/docs/models/components/supplierresponse.md index d31738828..cf9cfdc58 100644 --- a/packages/typescript/docs/models/components/supplierresponse.md +++ b/packages/typescript/docs/models/components/supplierresponse.md @@ -20,5 +20,5 @@ let value: SupplierResponse = { | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | | `dateTime` | [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 response was sent by supplier. | 2017-02-02T03:19:19.991Z | -| `reason` | [components.RfpResponseReasonJson](../../models/components/rfpresponsereasonjson.md) | :heavy_minus_sign: | Reason given for a response to an RFP. | GUEST_ROOMS_NO_LONGER_AVAILABLE | +| `reason` | [components.RfpResponseReason](../../models/components/rfpresponsereason.md) | :heavy_minus_sign: | Reason given for a response to an RFP. | GUEST_ROOMS_NO_LONGER_AVAILABLE | | `comment` | *string* | :heavy_minus_sign: | Comment for the response reason. | We are unable to accommodate the request on the required dates. Please let us know if we can help with any other dates. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/suppliertype.md b/packages/typescript/docs/models/components/suppliertype.md new file mode 100644 index 000000000..ef20b6ace --- /dev/null +++ b/packages/typescript/docs/models/components/suppliertype.md @@ -0,0 +1,17 @@ +# SupplierType + +Type of supplier. `CONVENTION_AND_CONFERENCE_CENTER`: Supplier of large event venues such as convention centers, conference centers, and exposition halls. `CVB`: CVBs (Convention and Visitors Bureau) are suppliers that assist in the promotion and facilitation of tourism, conventions, and events in their respective areas. `HOTEL`: Suppliers that are hotels or resorts. `OTHER`: Suppliers that do not fall under other categories. + +## Example Usage + +```typescript +import { SupplierType } from "@cvent/sdk/models/components"; + +let value: SupplierType = "CONVENTION_AND_CONFERENCE_CENTER"; +``` + +## Values + +```typescript +"CONVENTION_AND_CONFERENCE_CENTER" | "CVB" | "HOTEL" | "OTHER" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/suppliertypejson.md b/packages/typescript/docs/models/components/suppliertypejson.md deleted file mode 100644 index 9cd8d28c7..000000000 --- a/packages/typescript/docs/models/components/suppliertypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# SupplierTypeJson - -Type of supplier. `CONVENTION_AND_CONFERENCE_CENTER`: Supplier of large event venues such as convention centers, conference centers, and exposition halls. `CVB`: CVBs (Convention and Visitors Bureau) are suppliers that assist in the promotion and facilitation of tourism, conventions, and events in their respective areas. `HOTEL`: Suppliers that are hotels or resorts. `OTHER`: Suppliers that do not fall under other categories. - -## Example Usage - -```typescript -import { SupplierTypeJson } from "@cvent/sdk/models/components"; - -let value: SupplierTypeJson = "CONVENTION_AND_CONFERENCE_CENTER"; -``` - -## Values - -```typescript -"CONVENTION_AND_CONFERENCE_CENTER" | "CVB" | "HOTEL" | "OTHER" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/surveycontactid.md b/packages/typescript/docs/models/components/surveycontactid.md new file mode 100644 index 000000000..3dc49e35e --- /dev/null +++ b/packages/typescript/docs/models/components/surveycontactid.md @@ -0,0 +1,21 @@ +# SurveyContactId + +A pair of survey and contact id. + +## Example Usage + +```typescript +import { SurveyContactId } from "@cvent/sdk/models/components"; + +let value: SurveyContactId = { + surveyId: "4e0726b6-77b8-443e-a7c8-a06d889b0ed1", + contactId: "5a6d071e-14b5-4b10-8494-67701dd388c7", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `surveyId` | *string* | :heavy_check_mark: | ID of the survey | +| `contactId` | *string* | :heavy_check_mark: | ID of the contact | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/surveycontactidjson.md b/packages/typescript/docs/models/components/surveycontactidjson.md deleted file mode 100644 index 45764e540..000000000 --- a/packages/typescript/docs/models/components/surveycontactidjson.md +++ /dev/null @@ -1,21 +0,0 @@ -# SurveyContactIdJson - -A pair of survey and contact id. - -## Example Usage - -```typescript -import { SurveyContactIdJson } from "@cvent/sdk/models/components"; - -let value: SurveyContactIdJson = { - surveyId: "7f986e32-b18a-4cf4-9ad6-cadd58fd0e18", - contactId: "a9a5ee5f-656d-4c2f-885f-556852819a5e", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `surveyId` | *string* | :heavy_check_mark: | ID of the survey | -| `contactId` | *string* | :heavy_check_mark: | ID of the contact | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/surveyjson.md b/packages/typescript/docs/models/components/surveyjson.md index ac1bedcdf..eb6814cb9 100644 --- a/packages/typescript/docs/models/components/surveyjson.md +++ b/packages/typescript/docs/models/components/surveyjson.md @@ -56,4 +56,4 @@ let value: SurveyJson = { | `status` | [components.SurveyStatusJson](../../models/components/surveystatusjson.md) | :heavy_minus_sign: | Survey Status | Active | | `type` | [components.SurveyTypeJson](../../models/components/surveytypejson.md) | :heavy_minus_sign: | Describes the survey's type. `Standalone` indicates the survey exists independent of an event. `Event` indicates the survey is an event or session feedback survey. `Assessment` indicates the survey is associated with an event and is for assessing attendees. | Event | | `activateDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The survey will be activated on this ISO 8601 formatted date and time. | 2022-02-01T23:59:00.000Z | -| `events` | [components.EventJson4](../../models/components/eventjson4.md)[] | :heavy_minus_sign: | List of events with which this survey is linked. | | \ No newline at end of file +| `events` | [components.EventJson3](../../models/components/eventjson3.md)[] | :heavy_minus_sign: | List of events with which this survey is linked. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/targettype.md b/packages/typescript/docs/models/components/targettype.md new file mode 100644 index 000000000..4709bd99a --- /dev/null +++ b/packages/typescript/docs/models/components/targettype.md @@ -0,0 +1,17 @@ +# TargetType + +The target type can either refer to the type of recipient or the type of action that made the recipient a participant in the RFP process. + +## Example Usage + +```typescript +import { TargetType } from "@cvent/sdk/models/components"; + +let value: TargetType = "PUBLIC_NSO"; +``` + +## Values + +```typescript +"ASSIGNEE" | "BILLING_CONTACT" | "FORWARDING_NSO" | "FORWARDING_SUPPLIER" | "HYATT_ENVISION" | "IN_PROGRESS" | "MARRIOTT_SIEBEL" | "MEETING_BROKER" | "OPERA" | "PLANNER" | "PRIVATE_NSO" | "PROPOSAL_CC" | "PROPOSAL" | "PUBLIC_NSO" | "RECEIPT_CONFIRMED" | "RFP_CC_RECIPIENT" | "SUPPLIER" | "TURN_DOWN" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/targettypejson.md b/packages/typescript/docs/models/components/targettypejson.md deleted file mode 100644 index c2faa0e9a..000000000 --- a/packages/typescript/docs/models/components/targettypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# TargetTypeJson - -The target type can either refer to the type of recipient or the type of action that made the recipient a participant in the RFP process. - -## Example Usage - -```typescript -import { TargetTypeJson } from "@cvent/sdk/models/components"; - -let value: TargetTypeJson = "PUBLIC_NSO"; -``` - -## Values - -```typescript -"ASSIGNEE" | "BILLING_CONTACT" | "FORWARDING_NSO" | "FORWARDING_SUPPLIER" | "HYATT_ENVISION" | "IN_PROGRESS" | "MARRIOTT_SIEBEL" | "MEETING_BROKER" | "OPERA" | "PLANNER" | "PRIVATE_NSO" | "PROPOSAL_CC" | "PROPOSAL" | "PUBLIC_NSO" | "RECEIPT_CONFIRMED" | "RFP_CC_RECIPIENT" | "SUPPLIER" | "TURN_DOWN" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/taxtype.md b/packages/typescript/docs/models/components/taxtype.md new file mode 100644 index 000000000..d9a51d053 --- /dev/null +++ b/packages/typescript/docs/models/components/taxtype.md @@ -0,0 +1,17 @@ +# TaxType + +Bid tax type. + +## Example Usage + +```typescript +import { TaxType } from "@cvent/sdk/models/components"; + +let value: TaxType = "city_tax"; +``` + +## Values + +```typescript +"city_tax" | "lodging_tax" | "occupancy_tax" | "service_fee" | "state_tax" | "vat_tax" | "vatfb_tax" | "other_tax" | "resort_fee" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/taxtypejson.md b/packages/typescript/docs/models/components/taxtypejson.md deleted file mode 100644 index 6c5a875d8..000000000 --- a/packages/typescript/docs/models/components/taxtypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# TaxTypeJson - -Bid tax type. - -## Example Usage - -```typescript -import { TaxTypeJson } from "@cvent/sdk/models/components"; - -let value: TaxTypeJson = "city_tax"; -``` - -## Values - -```typescript -"city_tax" | "lodging_tax" | "occupancy_tax" | "service_fee" | "state_tax" | "vat_tax" | "vatfb_tax" | "other_tax" | "resort_fee" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/textanswerformat.md b/packages/typescript/docs/models/components/textanswerformat.md new file mode 100644 index 000000000..15e5e36d4 --- /dev/null +++ b/packages/typescript/docs/models/components/textanswerformat.md @@ -0,0 +1,17 @@ +# TextAnswerFormat + +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. + +## Example Usage + +```typescript +import { TextAnswerFormat } from "@cvent/sdk/models/components"; + +let value: TextAnswerFormat = "CustomFormat"; +``` + +## Values + +```typescript +"CustomFormat" | "EmailAddress" | "General" | "USPhoneNumber" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/textanswerformatjson.md b/packages/typescript/docs/models/components/textanswerformatjson.md deleted file mode 100644 index 0485ce9fb..000000000 --- a/packages/typescript/docs/models/components/textanswerformatjson.md +++ /dev/null @@ -1,17 +0,0 @@ -# TextAnswerFormatJson - -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. - -## Example Usage - -```typescript -import { TextAnswerFormatJson } from "@cvent/sdk/models/components"; - -let value: TextAnswerFormatJson = "CustomFormat"; -``` - -## Values - -```typescript -"CustomFormat" | "EmailAddress" | "General" | "USPhoneNumber" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/textfield.md b/packages/typescript/docs/models/components/textfield.md new file mode 100644 index 000000000..33669754d --- /dev/null +++ b/packages/typescript/docs/models/components/textfield.md @@ -0,0 +1,23 @@ +# TextField + +A survey text field. + +## Example Usage + +```typescript +import { TextField } from "@cvent/sdk/models/components"; + +let value: TextField = { + text: + "Are you spending any significant time offsite and need transportation?", + shortText: "Needs offsite transportation?", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | Text field ID. | | +| `text` | *string* | :heavy_minus_sign: | Text value of the field. Displays to users in the UI. | Are you spending any significant time offsite and need transportation? | +| `shortText` | *string* | :heavy_minus_sign: | Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. | Needs offsite transportation? | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/textfieldjson.md b/packages/typescript/docs/models/components/textfieldjson.md index 055fc4029..6282de013 100644 --- a/packages/typescript/docs/models/components/textfieldjson.md +++ b/packages/typescript/docs/models/components/textfieldjson.md @@ -8,16 +8,15 @@ A survey text field. import { TextFieldJson } from "@cvent/sdk/models/components"; let value: TextFieldJson = { - text: - "Are you spending any significant time offsite and need transportation?", - shortText: "Needs offsite transportation?", + text: "Field value", + shortText: "Category 1 Reporting value", }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | Text field ID. | | -| `text` | *string* | :heavy_minus_sign: | Text value of the field. Displays to users in the UI. | Are you spending any significant time offsite and need transportation? | -| `shortText` | *string* | :heavy_minus_sign: | Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. | Needs offsite transportation? | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | Text field ID. | | +| `text` | *string* | :heavy_minus_sign: | text Value of the Field | Field value | +| `shortText` | *string* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/textfieldjson1.md b/packages/typescript/docs/models/components/textfieldjson1.md deleted file mode 100644 index 70197fcc9..000000000 --- a/packages/typescript/docs/models/components/textfieldjson1.md +++ /dev/null @@ -1,22 +0,0 @@ -# TextFieldJson1 - -A survey text field. - -## Example Usage - -```typescript -import { TextFieldJson1 } from "@cvent/sdk/models/components"; - -let value: TextFieldJson1 = { - text: "Field value", - shortText: "Category 1 Reporting value", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | Text field ID. | | -| `text` | *string* | :heavy_minus_sign: | text Value of the Field | Field value | -| `shortText` | *string* | :heavy_minus_sign: | Reporting value of the Category, Its like a custom abbreviation | Category 1 Reporting value | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/three.md b/packages/typescript/docs/models/components/three.md index da6e1d526..e9dfe54d4 100644 --- a/packages/typescript/docs/models/components/three.md +++ b/packages/typescript/docs/models/components/three.md @@ -20,5 +20,5 @@ let value: Three = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `choices` | [components.ChoiceJson3](../../models/components/choicejson3.md)[] | :heavy_minus_sign: | Choices of custom fields. | +| `choices` | [components.ChoiceJson2](../../models/components/choicejson2.md)[] | :heavy_minus_sign: | Choices of custom fields. | | `displayType` | [components.ChoicesDisplayTypeJson](../../models/components/choicesdisplaytypejson.md) | :heavy_minus_sign: | Display type indicating how to display the choices on UI. For 'Choice - Single Answer' custom field type, this defaults to Dropdown. For 'Choice - Multiple Answers' custom field type, this defaults to MultiSelectBox. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/threeinput.md b/packages/typescript/docs/models/components/threeinput.md index 51c215c6e..aa41a72e6 100644 --- a/packages/typescript/docs/models/components/threeinput.md +++ b/packages/typescript/docs/models/components/threeinput.md @@ -20,5 +20,5 @@ let value: ThreeInput = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `choices` | [components.ChoiceJson3Input](../../models/components/choicejson3input.md)[] | :heavy_minus_sign: | Choices of custom fields. | +| `choices` | [components.ChoiceJson2Input](../../models/components/choicejson2input.md)[] | :heavy_minus_sign: | Choices of custom fields. | | `displayType` | [components.ChoicesDisplayTypeJson](../../models/components/choicesdisplaytypejson.md) | :heavy_minus_sign: | Display type indicating how to display the choices on UI. For 'Choice - Single Answer' custom field type, this defaults to Dropdown. For 'Choice - Multiple Answers' custom field type, this defaults to MultiSelectBox. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/thumbnailstatus.md b/packages/typescript/docs/models/components/thumbnailstatus.md new file mode 100644 index 000000000..c164b8d11 --- /dev/null +++ b/packages/typescript/docs/models/components/thumbnailstatus.md @@ -0,0 +1,17 @@ +# ThumbnailStatus + +Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was completed. Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. + +## Example Usage + +```typescript +import { ThumbnailStatus } from "@cvent/sdk/models/components"; + +let value: ThumbnailStatus = "Started"; +``` + +## Values + +```typescript +"Started" | "Uploaded" | "Processing" | "Available" | "Rejected" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/thumbnailstatusjson.md b/packages/typescript/docs/models/components/thumbnailstatusjson.md deleted file mode 100644 index ef9d8ee1c..000000000 --- a/packages/typescript/docs/models/components/thumbnailstatusjson.md +++ /dev/null @@ -1,17 +0,0 @@ -# ThumbnailStatusJson - -Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was completed. Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. - -## Example Usage - -```typescript -import { ThumbnailStatusJson } from "@cvent/sdk/models/components"; - -let value: ThumbnailStatusJson = "Started"; -``` - -## Values - -```typescript -"Started" | "Uploaded" | "Processing" | "Available" | "Rejected" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/thumbnailtype.md b/packages/typescript/docs/models/components/thumbnailtype.md new file mode 100644 index 000000000..b677a69fb --- /dev/null +++ b/packages/typescript/docs/models/components/thumbnailtype.md @@ -0,0 +1,17 @@ +# ThumbnailType + +This is used to denote the file type of a thumbnail + +## Example Usage + +```typescript +import { ThumbnailType } from "@cvent/sdk/models/components"; + +let value: ThumbnailType = "png"; +``` + +## Values + +```typescript +"bmp" | "gif" | "jpe" | "jpeg" | "jpg" | "png" | "svg" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/thumbnailtypejson.md b/packages/typescript/docs/models/components/thumbnailtypejson.md deleted file mode 100644 index bee78762a..000000000 --- a/packages/typescript/docs/models/components/thumbnailtypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# ThumbnailTypeJson - -This is used to denote the file type of a thumbnail - -## Example Usage - -```typescript -import { ThumbnailTypeJson } from "@cvent/sdk/models/components"; - -let value: ThumbnailTypeJson = "png"; -``` - -## Values - -```typescript -"bmp" | "gif" | "jpe" | "jpeg" | "jpg" | "png" | "svg" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/transactiondetailresponse.md b/packages/typescript/docs/models/components/transactiondetailresponse.md index deba39bf1..559166b69 100644 --- a/packages/typescript/docs/models/components/transactiondetailresponse.md +++ b/packages/typescript/docs/models/components/transactiondetailresponse.md @@ -67,7 +67,7 @@ let value: TransactionDetailResponse = { | `id` | *string* | :heavy_minus_sign: | A unique id representing the transaction. | 18549806a69f4727a315f2199a08d8b6 | | `processorTransactionId` | *string* | :heavy_minus_sign: | This denotes the online processor transaction Id for transactions. | ch_3Lrr4TBhiDV0mZz50nZpGx4a | | `event` | [components.Event2](../../models/components/event2.md) | :heavy_minus_sign: | The reference to the event. Contains only the ID of the event. | | -| `attendee` | [components.Attendee2](../../models/components/attendee2.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | +| `attendee` | [components.Attendee](../../models/components/attendee.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | | `orders` | [components.Order](../../models/components/order.md)[] | :heavy_minus_sign: | This denotes the order IDs corresponding to this transaction. | [
{
"id": "7c4a5acd-9610-4c42-bd10-10e279e69ddc"
},
{
"id": "b479e85e-b5b0-49e7-9f11-65bad23350b1"
},
{
"id": "d1c24041-9ca4-4afd-a2f8-a0905d935aa9"
}
] | | `journalNumber` | *string* | :heavy_minus_sign: | Journal number for this transaction. | PZNK2PKZH4N | | `paymentType` | [components.PaymentType1](../../models/components/paymenttype1.md) | :heavy_minus_sign: | Denotes the type of payment made by an attendee. Authorization: Online payment that has been approved by the cardholder's bank but has not been executed. Online Charge: Online payment recieved in Cvent. Online Refund: Online refund to attendee processed in Cvent. Offline Charge: The transaction is a payment made to the attendee's order electronically in another system of record, or paid in physical currency. Offline Refund: The transaction is a refund issued to the attendee electronically in another system of record, or paid in physical currency. | Online Refund | diff --git a/packages/typescript/docs/models/components/transactionitemresponse.md b/packages/typescript/docs/models/components/transactionitemresponse.md index 1293aedef..ed62642d4 100644 --- a/packages/typescript/docs/models/components/transactionitemresponse.md +++ b/packages/typescript/docs/models/components/transactionitemresponse.md @@ -49,7 +49,7 @@ let value: TransactionItemResponse = { | `uniqueId` | *string* | :heavy_minus_sign: | A unique identifier for the transaction item. | 9a8b7c6d-e5f4-3210-bacd-3456789012de::7f3e2a1b-c4d5-6789-efab-2345678901bc | | `transaction` | [components.TransactionId](../../models/components/transactionid.md) | :heavy_minus_sign: | This is used to denote the id and merchant/processor transaction id for transaction items. | | | `event` | [components.Event2](../../models/components/event2.md) | :heavy_minus_sign: | The reference to the event. Contains only the ID of the event. | | -| `attendee` | [components.Attendee2](../../models/components/attendee2.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | +| `attendee` | [components.Attendee](../../models/components/attendee.md) | :heavy_minus_sign: | The reference to the attendee. Contains only the ID of the attendee. | | | `product` | [components.ProductOrderItem](../../models/components/productorderitem.md) | :heavy_minus_sign: | This is used to denote the product details in an order item | | | `orderItem` | [components.OrderItemRef](../../models/components/orderitemref.md) | :heavy_minus_sign: | Represents an order item by its ID. | | | `name` | *string* | :heavy_minus_sign: | This denotes the name of the item | Dinner Session | diff --git a/packages/typescript/docs/models/components/travelaccount.md b/packages/typescript/docs/models/components/travelaccount.md index 9c60c2d29..46e91fbf1 100644 --- a/packages/typescript/docs/models/components/travelaccount.md +++ b/packages/typescript/docs/models/components/travelaccount.md @@ -41,6 +41,6 @@ let value: TravelAccount = { | `lastModifiedBy` | *string* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | | `id` | *string* | :heavy_minus_sign: | A uuid used to uniquely identify the travel account. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `name` | *string* | :heavy_minus_sign: | The name of the travel account. | Test Corporation | -| `type` | [components.TravelAccountTypeJson](../../models/components/travelaccounttypejson.md) | :heavy_minus_sign: | Code representing the travel account type. | corporate | +| `type` | [components.TravelAccountType](../../models/components/travelaccounttype.md) | :heavy_minus_sign: | Code representing the travel account type. | corporate | | `certified` | *boolean* | :heavy_minus_sign: | Is this a certified travel account? | true | -| `addresses` | [components.AddressJson5](../../models/components/addressjson5.md)[] | :heavy_minus_sign: | List of addresses associated with the travel account. | | \ No newline at end of file +| `addresses` | [components.Address6](../../models/components/address6.md)[] | :heavy_minus_sign: | List of addresses associated with the travel account. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelaccountpaginatedresponse.md b/packages/typescript/docs/models/components/travelaccountpaginatedresponse.md index 5f5fa1632..f26727260 100644 --- a/packages/typescript/docs/models/components/travelaccountpaginatedresponse.md +++ b/packages/typescript/docs/models/components/travelaccountpaginatedresponse.md @@ -57,5 +57,5 @@ let value: TravelAccountPaginatedResponse = { | Field | Type | Required | Description | | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | | `data` | [components.TravelAccount](../../models/components/travelaccount.md)[] | :heavy_minus_sign: | Collection of travel accounts and their related details. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelaccountsupplieraccount.md b/packages/typescript/docs/models/components/travelaccountsupplieraccount.md index ffc8f217a..11cc21544 100644 --- a/packages/typescript/docs/models/components/travelaccountsupplieraccount.md +++ b/packages/typescript/docs/models/components/travelaccountsupplieraccount.md @@ -26,7 +26,7 @@ let value: TravelAccountSupplierAccount = { | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | | `travelAccount` | [components.TravelAccountSupplierAccountTravelAccount](../../models/components/travelaccountsupplieraccounttravelaccount.md) | :heavy_minus_sign: | The travel account that the supplier account is associated with. | | | `name` | *string* | :heavy_minus_sign: | The name of the travel account. | Test Corporation | -| `managementLevel` | [components.ManagementLevelTypeJson1](../../models/components/managementleveltypejson1.md) | :heavy_minus_sign: | The management level of the travel account. Defined by the supply-side. | global | +| `managementLevel` | [components.ManagementLevelType1](../../models/components/managementleveltype1.md) | :heavy_minus_sign: | The management level of the travel account. Defined by the supply-side. | global | | `active` | *boolean* | :heavy_minus_sign: | Is this account active for the supplier's hotels. | true | | `crmId` | *string* | :heavy_minus_sign: | ID of the travel account in the suppliers Customer Relationship Management system. Defined by supplier. | ABC123 | | `chainDefinedId` | *string* | :heavy_minus_sign: | Travel account ID defined at the supplier chain level. | 1000000299 | diff --git a/packages/typescript/docs/models/components/travelaccountsupplieraccountpaginatedresponse.md b/packages/typescript/docs/models/components/travelaccountsupplieraccountpaginatedresponse.md index 608aa100a..acc2dac21 100644 --- a/packages/typescript/docs/models/components/travelaccountsupplieraccountpaginatedresponse.md +++ b/packages/typescript/docs/models/components/travelaccountsupplieraccountpaginatedresponse.md @@ -46,5 +46,5 @@ let value: TravelAccountSupplierAccountPaginatedResponse = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | | `data` | [components.TravelAccountSupplierAccount](../../models/components/travelaccountsupplieraccount.md)[] | :heavy_minus_sign: | Collection of suppliers travel accounts and their related details. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelaccounttype.md b/packages/typescript/docs/models/components/travelaccounttype.md new file mode 100644 index 000000000..052bdad04 --- /dev/null +++ b/packages/typescript/docs/models/components/travelaccounttype.md @@ -0,0 +1,17 @@ +# TravelAccountType + +Code representing the travel account type. + +## Example Usage + +```typescript +import { TravelAccountType } from "@cvent/sdk/models/components"; + +let value: TravelAccountType = "corporate"; +``` + +## Values + +```typescript +"corporate" | "leisure" | "consortia" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelaccounttypejson.md b/packages/typescript/docs/models/components/travelaccounttypejson.md deleted file mode 100644 index 265144ef8..000000000 --- a/packages/typescript/docs/models/components/travelaccounttypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# TravelAccountTypeJson - -Code representing the travel account type. - -## Example Usage - -```typescript -import { TravelAccountTypeJson } from "@cvent/sdk/models/components"; - -let value: TravelAccountTypeJson = "corporate"; -``` - -## Values - -```typescript -"corporate" | "leisure" | "consortia" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelamenityjson.md b/packages/typescript/docs/models/components/travelamenityjson.md deleted file mode 100644 index f3f0ad4f4..000000000 --- a/packages/typescript/docs/models/components/travelamenityjson.md +++ /dev/null @@ -1,29 +0,0 @@ -# TravelAmenityJson - -Group and meeting amenity info. - -## Example Usage - -```typescript -import { TravelAmenityJson } from "@cvent/sdk/models/components"; - -let value: TravelAmenityJson = { - lcdPrice: 100, - screenPrice: 100, - hsiaPrice: 100, - whatCompanyProvidesAVEquipment: "Some company", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `lcdIncluded` | *boolean* | :heavy_minus_sign: | True indicates a liquid crystal display (LCD) is included in the amenity. | | -| `lcdPrice` | *number* | :heavy_minus_sign: | Price of the liquid crystal display (LCD). | 100 | -| `screenIncluded` | *boolean* | :heavy_minus_sign: | True indicates a screen is included in the amenity. | | -| `screenPrice` | *number* | :heavy_minus_sign: | Price of the screen. | 100 | -| `hsiaIncluded` | *boolean* | :heavy_minus_sign: | True indicates high speed internet access is included in the amenity. | | -| `hsiaPrice` | *number* | :heavy_minus_sign: | Price of high speed internet access (HSIA). | 100 | -| `complementaryParkingIncluded` | *boolean* | :heavy_minus_sign: | True indicates parking is included in the amenity. | | -| `whatCompanyProvidesAVEquipment` | *string* | :heavy_minus_sign: | Name of company providing AV equipment. | Some company | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidamenity.md b/packages/typescript/docs/models/components/travelbidamenity.md new file mode 100644 index 000000000..63aefe381 --- /dev/null +++ b/packages/typescript/docs/models/components/travelbidamenity.md @@ -0,0 +1,34 @@ +# TravelBidAmenity + +Amenity details for a travel bid. + +## Example Usage + +```typescript +import { TravelBidAmenity } from "@cvent/sdk/models/components"; + +let value: TravelBidAmenity = { + type: "amenity", + code: "parking_valet", + category: "Parking", + price: 100, + discountAmount: 90, + internalCost: 80, + description: "Valet parking is available for all guests.", + status: "requested", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [components.AmenityType](../../models/components/amenitytype.md) | :heavy_minus_sign: | Amenity type | amenity | +| `code` | *string* | :heavy_minus_sign: | The code representing the amenity. | parking_valet | +| `category` | *string* | :heavy_minus_sign: | The category of the amenity. | Parking | +| `included` | *boolean* | :heavy_minus_sign: | True indicates the amenity price is included in the rate. | | +| `price` | *number* | :heavy_minus_sign: | The price of the amenity. | 100 | +| `discountAmount` | *number* | :heavy_minus_sign: | The price of the amenity after discounts. | 90 | +| `internalCost` | *number* | :heavy_minus_sign: | Internal cost of the amenity. | 80 | +| `description` | *string* | :heavy_minus_sign: | Additional notes on the amenity. | Valet parking is available for all guests. | +| `status` | [components.BidItemStatusType](../../models/components/biditemstatustype.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidamenityjson.md b/packages/typescript/docs/models/components/travelbidamenityjson.md deleted file mode 100644 index ab9a3906e..000000000 --- a/packages/typescript/docs/models/components/travelbidamenityjson.md +++ /dev/null @@ -1,34 +0,0 @@ -# TravelBidAmenityJson - -Amenity details for a travel bid. - -## Example Usage - -```typescript -import { TravelBidAmenityJson } from "@cvent/sdk/models/components"; - -let value: TravelBidAmenityJson = { - type: "amenity", - code: "parking_valet", - category: "Parking", - price: 100, - discountAmount: 90, - internalCost: 80, - description: "Valet parking is available for all guests.", - status: "requested", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [components.AmenityTypeJson](../../models/components/amenitytypejson.md) | :heavy_minus_sign: | Amenity type | amenity | -| `code` | *string* | :heavy_minus_sign: | The code representing the amenity. | parking_valet | -| `category` | *string* | :heavy_minus_sign: | The category of the amenity. | Parking | -| `included` | *boolean* | :heavy_minus_sign: | True indicates the amenity price is included in the rate. | | -| `price` | *number* | :heavy_minus_sign: | The price of the amenity. | 100 | -| `discountAmount` | *number* | :heavy_minus_sign: | The price of the amenity after discounts. | 90 | -| `internalCost` | *number* | :heavy_minus_sign: | Internal cost of the amenity. | 80 | -| `description` | *string* | :heavy_minus_sign: | Additional notes on the amenity. | Valet parking is available for all guests. | -| `status` | [components.BidItemStatusTypeJson](../../models/components/biditemstatustypejson.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidcomment.md b/packages/typescript/docs/models/components/travelbidcomment.md new file mode 100644 index 000000000..828d7b1ca --- /dev/null +++ b/packages/typescript/docs/models/components/travelbidcomment.md @@ -0,0 +1,21 @@ +# TravelBidComment + +A comment on a travel bid. + +## Example Usage + +```typescript +import { TravelBidComment } from "@cvent/sdk/models/components"; + +let value: TravelBidComment = { + commentType: "promotions", + comment: "This is a high value client.", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `commentType` | [components.CommentType](../../models/components/commenttype.md) | :heavy_minus_sign: | Bid comment type | promotions | +| `comment` | *string* | :heavy_minus_sign: | The text of the comment. | This is a high value client. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidcommentjson.md b/packages/typescript/docs/models/components/travelbidcommentjson.md deleted file mode 100644 index 4a9a4ffd9..000000000 --- a/packages/typescript/docs/models/components/travelbidcommentjson.md +++ /dev/null @@ -1,21 +0,0 @@ -# TravelBidCommentJson - -A comment on a travel bid. - -## Example Usage - -```typescript -import { TravelBidCommentJson } from "@cvent/sdk/models/components"; - -let value: TravelBidCommentJson = { - commentType: "promotions", - comment: "This is a high value client.", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `commentType` | [components.CommentTypeJson](../../models/components/commenttypejson.md) | :heavy_minus_sign: | Bid comment type | promotions | -| `comment` | *string* | :heavy_minus_sign: | The text of the comment. | This is a high value client. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbiddiscount.md b/packages/typescript/docs/models/components/travelbiddiscount.md new file mode 100644 index 000000000..f44aaafa9 --- /dev/null +++ b/packages/typescript/docs/models/components/travelbiddiscount.md @@ -0,0 +1,25 @@ +# TravelBidDiscount + +Discount for a travel bid. + +## Example Usage + +```typescript +import { TravelBidDiscount } from "@cvent/sdk/models/components"; + +let value: TravelBidDiscount = { + propertyRoom: { + id: "9ea95519-2fc5-49d8-991b-e954f49044fe", + }, + discount: 10, + status: "requested", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `propertyRoom` | [components.TravelBidDiscountPropertyRoom](../../models/components/travelbiddiscountpropertyroom.md) | :heavy_minus_sign: | ID of the property's room. | | +| `discount` | *number* | :heavy_minus_sign: | Discount percentage for the dynamic rate. | 10 | +| `status` | [components.BidItemStatusType](../../models/components/biditemstatustype.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbiddiscountjson.md b/packages/typescript/docs/models/components/travelbiddiscountjson.md deleted file mode 100644 index 6e90df101..000000000 --- a/packages/typescript/docs/models/components/travelbiddiscountjson.md +++ /dev/null @@ -1,25 +0,0 @@ -# TravelBidDiscountJson - -Discount for a travel bid. - -## Example Usage - -```typescript -import { TravelBidDiscountJson } from "@cvent/sdk/models/components"; - -let value: TravelBidDiscountJson = { - propertyRoom: { - id: "9ea95519-2fc5-49d8-991b-e954f49044fe", - }, - discount: 10, - status: "requested", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `propertyRoom` | [components.TravelBidDiscountJsonPropertyRoom](../../models/components/travelbiddiscountjsonpropertyroom.md) | :heavy_minus_sign: | ID of the property's room. | | -| `discount` | *number* | :heavy_minus_sign: | Discount percentage for the dynamic rate. | 10 | -| `status` | [components.BidItemStatusTypeJson](../../models/components/biditemstatustypejson.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbiddiscountjsonpropertyroom.md b/packages/typescript/docs/models/components/travelbiddiscountjsonpropertyroom.md deleted file mode 100644 index c13b81afb..000000000 --- a/packages/typescript/docs/models/components/travelbiddiscountjsonpropertyroom.md +++ /dev/null @@ -1,19 +0,0 @@ -# TravelBidDiscountJsonPropertyRoom - -ID of the property's room. - -## Example Usage - -```typescript -import { TravelBidDiscountJsonPropertyRoom } from "@cvent/sdk/models/components"; - -let value: TravelBidDiscountJsonPropertyRoom = { - id: "9ea95519-2fc5-49d8-991b-e954f49044fe", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | The unique ID of the property room. | 9ea95519-2fc5-49d8-991b-e954f49044fe | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbiddiscountpropertyroom.md b/packages/typescript/docs/models/components/travelbiddiscountpropertyroom.md new file mode 100644 index 000000000..d0e9700ab --- /dev/null +++ b/packages/typescript/docs/models/components/travelbiddiscountpropertyroom.md @@ -0,0 +1,19 @@ +# TravelBidDiscountPropertyRoom + +ID of the property's room. + +## Example Usage + +```typescript +import { TravelBidDiscountPropertyRoom } from "@cvent/sdk/models/components"; + +let value: TravelBidDiscountPropertyRoom = { + id: "9ea95519-2fc5-49d8-991b-e954f49044fe", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_minus_sign: | The unique ID of the property room. | 9ea95519-2fc5-49d8-991b-e954f49044fe | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbiddisposition.md b/packages/typescript/docs/models/components/travelbiddisposition.md new file mode 100644 index 000000000..f96600729 --- /dev/null +++ b/packages/typescript/docs/models/components/travelbiddisposition.md @@ -0,0 +1,32 @@ +# TravelBidDisposition + +Represents bid disposition details. + +## Example Usage + +```typescript +import { TravelBidDisposition } from "@cvent/sdk/models/components"; + +let value: TravelBidDisposition = { + bid: { + id: "1c208c0d-cf96-42ec-a2c3-7ab7a5c04825", + }, + acceptedBidRooms: [ + { + propertyRoom: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + }, + lraRateAccepted: true, + nlraRateAccepted: true, + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `bid` | [components.TravelProposalBid1](../../models/components/travelproposalbid1.md) | :heavy_minus_sign: | A travel proposal bid. | +| `acceptedBidRooms` | [components.TravelBidDispositionAcceptedRoom](../../models/components/travelbiddispositionacceptedroom.md)[] | :heavy_minus_sign: | List of accepted bid rooms. | +| `rateType` | [components.RateType](../../models/components/ratetype.md) | :heavy_minus_sign: | Rate type. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbiddispositionacceptedroom.md b/packages/typescript/docs/models/components/travelbiddispositionacceptedroom.md new file mode 100644 index 000000000..d7900a942 --- /dev/null +++ b/packages/typescript/docs/models/components/travelbiddispositionacceptedroom.md @@ -0,0 +1,25 @@ +# TravelBidDispositionAcceptedRoom + +Represents bid disposition's accepted room. + +## Example Usage + +```typescript +import { TravelBidDispositionAcceptedRoom } from "@cvent/sdk/models/components"; + +let value: TravelBidDispositionAcceptedRoom = { + propertyRoom: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + }, + lraRateAccepted: true, + nlraRateAccepted: true, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `propertyRoom` | [components.TravelBidDispositionAcceptedRoomPropertyRoom](../../models/components/travelbiddispositionacceptedroompropertyroom.md) | :heavy_minus_sign: | ID of the property's room. | | +| `lraRateAccepted` | *boolean* | :heavy_minus_sign: | Indicates whether the LRA rates are accepted. | true | +| `nlraRateAccepted` | *boolean* | :heavy_minus_sign: | Indicates whether the NLRA rates are accepted. | true | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbiddispositionacceptedroomjson.md b/packages/typescript/docs/models/components/travelbiddispositionacceptedroomjson.md deleted file mode 100644 index ca820221f..000000000 --- a/packages/typescript/docs/models/components/travelbiddispositionacceptedroomjson.md +++ /dev/null @@ -1,25 +0,0 @@ -# TravelBidDispositionAcceptedRoomJson - -Represents bid disposition's accepted room. - -## Example Usage - -```typescript -import { TravelBidDispositionAcceptedRoomJson } from "@cvent/sdk/models/components"; - -let value: TravelBidDispositionAcceptedRoomJson = { - propertyRoom: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - }, - lraRateAccepted: true, - nlraRateAccepted: true, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | -| `propertyRoom` | [components.TravelBidDispositionAcceptedRoomJsonPropertyRoom](../../models/components/travelbiddispositionacceptedroomjsonpropertyroom.md) | :heavy_minus_sign: | ID of the property's room. | | -| `lraRateAccepted` | *boolean* | :heavy_minus_sign: | Indicates whether the LRA rates are accepted. | true | -| `nlraRateAccepted` | *boolean* | :heavy_minus_sign: | Indicates whether the NLRA rates are accepted. | true | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbiddispositionacceptedroomjsonpropertyroom.md b/packages/typescript/docs/models/components/travelbiddispositionacceptedroomjsonpropertyroom.md deleted file mode 100644 index 2c4e53b21..000000000 --- a/packages/typescript/docs/models/components/travelbiddispositionacceptedroomjsonpropertyroom.md +++ /dev/null @@ -1,19 +0,0 @@ -# TravelBidDispositionAcceptedRoomJsonPropertyRoom - -ID of the property's room. - -## Example Usage - -```typescript -import { TravelBidDispositionAcceptedRoomJsonPropertyRoom } from "@cvent/sdk/models/components"; - -let value: TravelBidDispositionAcceptedRoomJsonPropertyRoom = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | The unique ID of the property room. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbiddispositionacceptedroompropertyroom.md b/packages/typescript/docs/models/components/travelbiddispositionacceptedroompropertyroom.md new file mode 100644 index 000000000..31e29ab3b --- /dev/null +++ b/packages/typescript/docs/models/components/travelbiddispositionacceptedroompropertyroom.md @@ -0,0 +1,19 @@ +# TravelBidDispositionAcceptedRoomPropertyRoom + +ID of the property's room. + +## Example Usage + +```typescript +import { TravelBidDispositionAcceptedRoomPropertyRoom } from "@cvent/sdk/models/components"; + +let value: TravelBidDispositionAcceptedRoomPropertyRoom = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_minus_sign: | The unique ID of the property room. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbiddispositionjson.md b/packages/typescript/docs/models/components/travelbiddispositionjson.md deleted file mode 100644 index f91e2fb0c..000000000 --- a/packages/typescript/docs/models/components/travelbiddispositionjson.md +++ /dev/null @@ -1,32 +0,0 @@ -# TravelBidDispositionJson - -Represents bid disposition details. - -## Example Usage - -```typescript -import { TravelBidDispositionJson } from "@cvent/sdk/models/components"; - -let value: TravelBidDispositionJson = { - bid: { - id: "1c208c0d-cf96-42ec-a2c3-7ab7a5c04825", - }, - acceptedBidRooms: [ - { - propertyRoom: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - }, - lraRateAccepted: true, - nlraRateAccepted: true, - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `bid` | [components.TravelProposalBidIdJson](../../models/components/travelproposalbididjson.md) | :heavy_minus_sign: | A travel proposal bid. | -| `acceptedBidRooms` | [components.TravelBidDispositionAcceptedRoomJson](../../models/components/travelbiddispositionacceptedroomjson.md)[] | :heavy_minus_sign: | List of accepted bid rooms. | -| `rateType` | [components.RateTypeJson](../../models/components/ratetypejson.md) | :heavy_minus_sign: | Rate type. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidfairseason.md b/packages/typescript/docs/models/components/travelbidfairseason.md new file mode 100644 index 000000000..45ce261f9 --- /dev/null +++ b/packages/typescript/docs/models/components/travelbidfairseason.md @@ -0,0 +1,45 @@ +# TravelBidFairSeason + +The fair season for a travel bid. + +## Example Usage + +```typescript +import { TravelBidFairSeason } from "@cvent/sdk/models/components"; +import { RFCDate } from "@cvent/sdk/types"; + +let value: TravelBidFairSeason = { + name: "Fair season 1", + startDate: new RFCDate("2021-07-13"), + endDate: new RFCDate("2021-07-13"), + minLengthOfStay: 1, + releasePeriod: 1, + rates: [ + { + propertyRoom: { + id: "9ea95519-2fc5-49d8-991b-e954f49044fe", + }, + singleRate: 100, + doubleRate: 101, + tripleRate: 102, + quadRate: 103, + allotment: 100, + status: "requested", + }, + ], + status: "requested", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [components.FairSeasonType](../../models/components/fairseasontype.md) | :heavy_minus_sign: | Fair season type. Blackout means that no special rate is negotiated for that date and Best Available Rates will apply | | +| `name` | *string* | :heavy_minus_sign: | Fair season name. | Fair season 1 | +| `startDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 start date of the fair season. | 2021-07-13 | +| `endDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 end date of the fair season. | 2021-07-13 | +| `minLengthOfStay` | *number* | :heavy_minus_sign: | Minimum length of stay for the fair season. | 1 | +| `releasePeriod` | *number* | :heavy_minus_sign: | Release period for the fair season. Release period is the minimum number of days between the booking being made and the earliest arrival date. | 1 | +| `rates` | [components.TravelBidFairSeasonRate](../../models/components/travelbidfairseasonrate.md)[] | :heavy_minus_sign: | Collection of rates for the fair season. | | +| `status` | [components.BidItemStatusType](../../models/components/biditemstatustype.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidfairseasonjson.md b/packages/typescript/docs/models/components/travelbidfairseasonjson.md deleted file mode 100644 index f1f766c45..000000000 --- a/packages/typescript/docs/models/components/travelbidfairseasonjson.md +++ /dev/null @@ -1,45 +0,0 @@ -# TravelBidFairSeasonJson - -The fair season for a travel bid. - -## Example Usage - -```typescript -import { TravelBidFairSeasonJson } from "@cvent/sdk/models/components"; -import { RFCDate } from "@cvent/sdk/types"; - -let value: TravelBidFairSeasonJson = { - name: "Fair season 1", - startDate: new RFCDate("2021-07-13"), - endDate: new RFCDate("2021-07-13"), - minLengthOfStay: 1, - releasePeriod: 1, - rates: [ - { - propertyRoom: { - id: "9ea95519-2fc5-49d8-991b-e954f49044fe", - }, - singleRate: 100, - doubleRate: 101, - tripleRate: 102, - quadRate: 103, - allotment: 100, - status: "requested", - }, - ], - status: "requested", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [components.FairSeasonTypeJson](../../models/components/fairseasontypejson.md) | :heavy_minus_sign: | Fair season type. Blackout means that no special rate is negotiated for that date and Best Available Rates will apply | | -| `name` | *string* | :heavy_minus_sign: | Fair season name. | Fair season 1 | -| `startDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 start date of the fair season. | 2021-07-13 | -| `endDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 end date of the fair season. | 2021-07-13 | -| `minLengthOfStay` | *number* | :heavy_minus_sign: | Minimum length of stay for the fair season. | 1 | -| `releasePeriod` | *number* | :heavy_minus_sign: | Release period for the fair season. Release period is the minimum number of days between the booking being made and the earliest arrival date. | 1 | -| `rates` | [components.TravelBidFairSeasonRateJson](../../models/components/travelbidfairseasonratejson.md)[] | :heavy_minus_sign: | Collection of rates for the fair season. | | -| `status` | [components.BidItemStatusTypeJson](../../models/components/biditemstatustypejson.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidfairseasonrate.md b/packages/typescript/docs/models/components/travelbidfairseasonrate.md new file mode 100644 index 000000000..3aa66cfd2 --- /dev/null +++ b/packages/typescript/docs/models/components/travelbidfairseasonrate.md @@ -0,0 +1,33 @@ +# TravelBidFairSeasonRate + +The negotiated rates for a property room during the fair season. + +## Example Usage + +```typescript +import { TravelBidFairSeasonRate } from "@cvent/sdk/models/components"; + +let value: TravelBidFairSeasonRate = { + propertyRoom: { + id: "9ea95519-2fc5-49d8-991b-e954f49044fe", + }, + singleRate: 100, + doubleRate: 101, + tripleRate: 102, + quadRate: 103, + allotment: 100, + status: "requested", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `propertyRoom` | [components.TravelBidFairSeasonRatePropertyRoom](../../models/components/travelbidfairseasonratepropertyroom.md) | :heavy_minus_sign: | ID of the property's room. | | +| `singleRate` | *number* | :heavy_minus_sign: | The single room rate. | 100 | +| `doubleRate` | *number* | :heavy_minus_sign: | The double room rate. | 101 | +| `tripleRate` | *number* | :heavy_minus_sign: | The triple room rate. | 102 | +| `quadRate` | *number* | :heavy_minus_sign: | The quadruple room rate. | 103 | +| `allotment` | *number* | :heavy_minus_sign: | The number of rooms allotted at the negotiated rate. | 100 | +| `status` | [components.BidItemStatusType](../../models/components/biditemstatustype.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidfairseasonratejson.md b/packages/typescript/docs/models/components/travelbidfairseasonratejson.md deleted file mode 100644 index 61e64cdb3..000000000 --- a/packages/typescript/docs/models/components/travelbidfairseasonratejson.md +++ /dev/null @@ -1,33 +0,0 @@ -# TravelBidFairSeasonRateJson - -The negotiated rates for a property room during the fair season. - -## Example Usage - -```typescript -import { TravelBidFairSeasonRateJson } from "@cvent/sdk/models/components"; - -let value: TravelBidFairSeasonRateJson = { - propertyRoom: { - id: "9ea95519-2fc5-49d8-991b-e954f49044fe", - }, - singleRate: 100, - doubleRate: 101, - tripleRate: 102, - quadRate: 103, - allotment: 100, - status: "requested", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `propertyRoom` | [components.TravelBidFairSeasonRateJsonPropertyRoom](../../models/components/travelbidfairseasonratejsonpropertyroom.md) | :heavy_minus_sign: | ID of the property's room. | | -| `singleRate` | *number* | :heavy_minus_sign: | The single room rate. | 100 | -| `doubleRate` | *number* | :heavy_minus_sign: | The double room rate. | 101 | -| `tripleRate` | *number* | :heavy_minus_sign: | The triple room rate. | 102 | -| `quadRate` | *number* | :heavy_minus_sign: | The quadruple room rate. | 103 | -| `allotment` | *number* | :heavy_minus_sign: | The number of rooms allotted at the negotiated rate. | 100 | -| `status` | [components.BidItemStatusTypeJson](../../models/components/biditemstatustypejson.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidfairseasonratejsonpropertyroom.md b/packages/typescript/docs/models/components/travelbidfairseasonratejsonpropertyroom.md deleted file mode 100644 index d577de6d8..000000000 --- a/packages/typescript/docs/models/components/travelbidfairseasonratejsonpropertyroom.md +++ /dev/null @@ -1,19 +0,0 @@ -# TravelBidFairSeasonRateJsonPropertyRoom - -ID of the property's room. - -## Example Usage - -```typescript -import { TravelBidFairSeasonRateJsonPropertyRoom } from "@cvent/sdk/models/components"; - -let value: TravelBidFairSeasonRateJsonPropertyRoom = { - id: "9ea95519-2fc5-49d8-991b-e954f49044fe", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | The unique ID of the property room. | 9ea95519-2fc5-49d8-991b-e954f49044fe | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidfairseasonratepropertyroom.md b/packages/typescript/docs/models/components/travelbidfairseasonratepropertyroom.md new file mode 100644 index 000000000..c65288c44 --- /dev/null +++ b/packages/typescript/docs/models/components/travelbidfairseasonratepropertyroom.md @@ -0,0 +1,19 @@ +# TravelBidFairSeasonRatePropertyRoom + +ID of the property's room. + +## Example Usage + +```typescript +import { TravelBidFairSeasonRatePropertyRoom } from "@cvent/sdk/models/components"; + +let value: TravelBidFairSeasonRatePropertyRoom = { + id: "9ea95519-2fc5-49d8-991b-e954f49044fe", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_minus_sign: | The unique ID of the property room. | 9ea95519-2fc5-49d8-991b-e954f49044fe | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidpolicy.md b/packages/typescript/docs/models/components/travelbidpolicy.md new file mode 100644 index 000000000..1f15130fe --- /dev/null +++ b/packages/typescript/docs/models/components/travelbidpolicy.md @@ -0,0 +1,29 @@ +# TravelBidPolicy + +A policy that is associated with a travel bid. + +## Example Usage + +```typescript +import { TravelBidPolicy } from "@cvent/sdk/models/components"; + +let value: TravelBidPolicy = { + code: "cancellation_period", + category: "cancellation_period", + value: "24h", + description: "The cancellation period is 24 hours.", + status: "requested", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `code` | *string* | :heavy_minus_sign: | The code representing the policy. | cancellation_period | +| `category` | *string* | :heavy_minus_sign: | The category the policy falls under. | cancellation_period | +| `value` | *string* | :heavy_minus_sign: | The value of the policy. | 24h | +| `valueType` | [components.PolicyValueType](../../models/components/policyvaluetype.md) | :heavy_minus_sign: | Value type of the policy | | +| `included` | *boolean* | :heavy_minus_sign: | True indicates the policy fee included in the rate. Only applies to policies with a value type of money or percent. | | +| `description` | *string* | :heavy_minus_sign: | Additional notes on the policy. | The cancellation period is 24 hours. | +| `status` | [components.BidItemStatusType](../../models/components/biditemstatustype.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidpolicyjson.md b/packages/typescript/docs/models/components/travelbidpolicyjson.md deleted file mode 100644 index c250400e6..000000000 --- a/packages/typescript/docs/models/components/travelbidpolicyjson.md +++ /dev/null @@ -1,29 +0,0 @@ -# TravelBidPolicyJson - -A policy that is associated with a travel bid. - -## Example Usage - -```typescript -import { TravelBidPolicyJson } from "@cvent/sdk/models/components"; - -let value: TravelBidPolicyJson = { - code: "cancellation_period", - category: "cancellation_period", - value: "24h", - description: "The cancellation period is 24 hours.", - status: "requested", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `code` | *string* | :heavy_minus_sign: | The code representing the policy. | cancellation_period | -| `category` | *string* | :heavy_minus_sign: | The category the policy falls under. | cancellation_period | -| `value` | *string* | :heavy_minus_sign: | The value of the policy. | 24h | -| `valueType` | [components.PolicyValueTypeJson](../../models/components/policyvaluetypejson.md) | :heavy_minus_sign: | Value type of the policy | | -| `included` | *boolean* | :heavy_minus_sign: | True indicates the policy fee included in the rate. Only applies to policies with a value type of money or percent. | | -| `description` | *string* | :heavy_minus_sign: | Additional notes on the policy. | The cancellation period is 24 hours. | -| `status` | [components.BidItemStatusTypeJson](../../models/components/biditemstatustypejson.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidratejson.md b/packages/typescript/docs/models/components/travelbidratejson.md deleted file mode 100644 index 3935a72f4..000000000 --- a/packages/typescript/docs/models/components/travelbidratejson.md +++ /dev/null @@ -1,24 +0,0 @@ -# TravelBidRateJson - -The rate (cost) information for a travel bid. - -## Example Usage - -```typescript -import { TravelBidRateJson } from "@cvent/sdk/models/components"; - -let value: TravelBidRateJson = { - level: "corporate", - planCode: "rp123", - tier: "tier1", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `level` | [components.RateLevelTypeJson](../../models/components/rateleveltypejson.md) | :heavy_minus_sign: | Rate level | corporate | -| `type` | [components.RateTypeJson](../../models/components/ratetypejson.md) | :heavy_minus_sign: | Rate type. | | -| `planCode` | *string* | :heavy_minus_sign: | The code given to the bid (also called rate plan) by the supplier. | rp123 | -| `tier` | *string* | :heavy_minus_sign: | The rate tier given to the bid (also called rate plan) by the supplier. | tier1 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidroom.md b/packages/typescript/docs/models/components/travelbidroom.md new file mode 100644 index 000000000..2d6a61275 --- /dev/null +++ b/packages/typescript/docs/models/components/travelbidroom.md @@ -0,0 +1,27 @@ +# TravelBidRoom + +A room in a travel bid. + +## Example Usage + +```typescript +import { TravelBidRoom } from "@cvent/sdk/models/components"; + +let value: TravelBidRoom = { + propertyRoom: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + }, + allocation: 10, + order: 1, + status: "requested", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `propertyRoom` | [components.TravelBidRoomPropertyRoom](../../models/components/travelbidroompropertyroom.md) | :heavy_minus_sign: | ID of the property's room. | | +| `allocation` | *number* | :heavy_minus_sign: | The number of rooms allocated to the bid. | 10 | +| `order` | *number* | :heavy_minus_sign: | The order of the room in the bid. | 1 | +| `status` | [components.BidItemStatusType](../../models/components/biditemstatustype.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidroomjson.md b/packages/typescript/docs/models/components/travelbidroomjson.md deleted file mode 100644 index 6e451d245..000000000 --- a/packages/typescript/docs/models/components/travelbidroomjson.md +++ /dev/null @@ -1,27 +0,0 @@ -# TravelBidRoomJson - -A room in a travel bid. - -## Example Usage - -```typescript -import { TravelBidRoomJson } from "@cvent/sdk/models/components"; - -let value: TravelBidRoomJson = { - propertyRoom: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - }, - allocation: 10, - order: 1, - status: "requested", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `propertyRoom` | [components.TravelBidRoomJsonPropertyRoom](../../models/components/travelbidroomjsonpropertyroom.md) | :heavy_minus_sign: | ID of the property's room. | | -| `allocation` | *number* | :heavy_minus_sign: | The number of rooms allocated to the bid. | 10 | -| `order` | *number* | :heavy_minus_sign: | The order of the room in the bid. | 1 | -| `status` | [components.BidItemStatusTypeJson](../../models/components/biditemstatustypejson.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidroomjsonpropertyroom.md b/packages/typescript/docs/models/components/travelbidroomjsonpropertyroom.md deleted file mode 100644 index 5dbcf1511..000000000 --- a/packages/typescript/docs/models/components/travelbidroomjsonpropertyroom.md +++ /dev/null @@ -1,19 +0,0 @@ -# TravelBidRoomJsonPropertyRoom - -ID of the property's room. - -## Example Usage - -```typescript -import { TravelBidRoomJsonPropertyRoom } from "@cvent/sdk/models/components"; - -let value: TravelBidRoomJsonPropertyRoom = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | The unique ID of the property room. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidroompropertyroom.md b/packages/typescript/docs/models/components/travelbidroompropertyroom.md new file mode 100644 index 000000000..a1c4e6d78 --- /dev/null +++ b/packages/typescript/docs/models/components/travelbidroompropertyroom.md @@ -0,0 +1,19 @@ +# TravelBidRoomPropertyRoom + +ID of the property's room. + +## Example Usage + +```typescript +import { TravelBidRoomPropertyRoom } from "@cvent/sdk/models/components"; + +let value: TravelBidRoomPropertyRoom = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_minus_sign: | The unique ID of the property room. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidseason.md b/packages/typescript/docs/models/components/travelbidseason.md new file mode 100644 index 000000000..6c33d563f --- /dev/null +++ b/packages/typescript/docs/models/components/travelbidseason.md @@ -0,0 +1,62 @@ +# TravelBidSeason + +Season details for a travel bid. + +## Example Usage + +```typescript +import { TravelBidSeason } from "@cvent/sdk/models/components"; +import { RFCDate } from "@cvent/sdk/types"; + +let value: TravelBidSeason = { + name: "Season 1", + startDate: new RFCDate("2021-07-13"), + endDate: new RFCDate("2021-07-13"), + releasePeriod: 1, + weekendReleasePeriod: 2, + rates: [ + { + propertyRoom: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + }, + singleRate: 100, + doubleRate: 101, + tripleRate: 102, + quadRate: 103, + nlraSingleRate: 104, + nlraDoubleRate: 105, + allotment: 100, + status: "requested", + }, + ], + weekendRates: [ + { + propertyRoom: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + }, + singleRate: 100, + doubleRate: 101, + tripleRate: 102, + quadRate: 103, + nlraSingleRate: 104, + nlraDoubleRate: 105, + allotment: 100, + status: "requested", + }, + ], + status: "requested", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `name` | *string* | :heavy_minus_sign: | Season name. | Season 1 | +| `startDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 start date of the season. | 2021-07-13 | +| `endDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 end date of the season. | 2021-07-13 | +| `releasePeriod` | *number* | :heavy_minus_sign: | Number of release periods. | 1 | +| `weekendReleasePeriod` | *number* | :heavy_minus_sign: | Number of weekend release periods. | 2 | +| `rates` | [components.TravelBidSeasonRate](../../models/components/travelbidseasonrate.md)[] | :heavy_minus_sign: | Collection of rates for the season. | | +| `weekendRates` | [components.TravelBidSeasonRate](../../models/components/travelbidseasonrate.md)[] | :heavy_minus_sign: | Collection of weekend rates for the season. | | +| `status` | [components.BidItemStatusType](../../models/components/biditemstatustype.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidseasonjson.md b/packages/typescript/docs/models/components/travelbidseasonjson.md deleted file mode 100644 index 3bfb14f7f..000000000 --- a/packages/typescript/docs/models/components/travelbidseasonjson.md +++ /dev/null @@ -1,62 +0,0 @@ -# TravelBidSeasonJson - -Season details for a travel bid. - -## Example Usage - -```typescript -import { TravelBidSeasonJson } from "@cvent/sdk/models/components"; -import { RFCDate } from "@cvent/sdk/types"; - -let value: TravelBidSeasonJson = { - name: "Season 1", - startDate: new RFCDate("2021-07-13"), - endDate: new RFCDate("2021-07-13"), - releasePeriod: 1, - weekendReleasePeriod: 2, - rates: [ - { - propertyRoom: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - }, - singleRate: 100, - doubleRate: 101, - tripleRate: 102, - quadRate: 103, - nlraSingleRate: 104, - nlraDoubleRate: 105, - allotment: 100, - status: "requested", - }, - ], - weekendRates: [ - { - propertyRoom: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - }, - singleRate: 100, - doubleRate: 101, - tripleRate: 102, - quadRate: 103, - nlraSingleRate: 104, - nlraDoubleRate: 105, - allotment: 100, - status: "requested", - }, - ], - status: "requested", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `name` | *string* | :heavy_minus_sign: | Season name. | Season 1 | -| `startDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 start date of the season. | 2021-07-13 | -| `endDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 end date of the season. | 2021-07-13 | -| `releasePeriod` | *number* | :heavy_minus_sign: | Number of release periods. | 1 | -| `weekendReleasePeriod` | *number* | :heavy_minus_sign: | Number of weekend release periods. | 2 | -| `rates` | [components.TravelBidSeasonRateJson](../../models/components/travelbidseasonratejson.md)[] | :heavy_minus_sign: | Collection of rates for the season. | | -| `weekendRates` | [components.TravelBidSeasonRateJson](../../models/components/travelbidseasonratejson.md)[] | :heavy_minus_sign: | Collection of weekend rates for the season. | | -| `status` | [components.BidItemStatusTypeJson](../../models/components/biditemstatustypejson.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidseasonrate.md b/packages/typescript/docs/models/components/travelbidseasonrate.md new file mode 100644 index 000000000..b531cae68 --- /dev/null +++ b/packages/typescript/docs/models/components/travelbidseasonrate.md @@ -0,0 +1,37 @@ +# TravelBidSeasonRate + +The negotiated rates for a property room during a specific season. + +## Example Usage + +```typescript +import { TravelBidSeasonRate } from "@cvent/sdk/models/components"; + +let value: TravelBidSeasonRate = { + propertyRoom: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + }, + singleRate: 100, + doubleRate: 101, + tripleRate: 102, + quadRate: 103, + nlraSingleRate: 104, + nlraDoubleRate: 105, + allotment: 100, + status: "requested", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `propertyRoom` | [components.TravelBidSeasonRatePropertyRoom](../../models/components/travelbidseasonratepropertyroom.md) | :heavy_minus_sign: | ID of the property's room. | | +| `singleRate` | *number* | :heavy_minus_sign: | The last room available (LRA) single rate. | 100 | +| `doubleRate` | *number* | :heavy_minus_sign: | The last room available (LRA) double rate. | 101 | +| `tripleRate` | *number* | :heavy_minus_sign: | The last room available (LRA) triple rate. | 102 | +| `quadRate` | *number* | :heavy_minus_sign: | The last room available (LRA) quad rate. | 103 | +| `nlraSingleRate` | *number* | :heavy_minus_sign: | The non last room available (NLRA) single rate. | 104 | +| `nlraDoubleRate` | *number* | :heavy_minus_sign: | The non last room available (NLRA) double rate. | 105 | +| `allotment` | *number* | :heavy_minus_sign: | The number of rooms allotted at the negotiated rate. | 100 | +| `status` | [components.BidItemStatusType](../../models/components/biditemstatustype.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidseasonratejson.md b/packages/typescript/docs/models/components/travelbidseasonratejson.md deleted file mode 100644 index 078949662..000000000 --- a/packages/typescript/docs/models/components/travelbidseasonratejson.md +++ /dev/null @@ -1,37 +0,0 @@ -# TravelBidSeasonRateJson - -The negotiated rates for a property room during a specific season. - -## Example Usage - -```typescript -import { TravelBidSeasonRateJson } from "@cvent/sdk/models/components"; - -let value: TravelBidSeasonRateJson = { - propertyRoom: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - }, - singleRate: 100, - doubleRate: 101, - tripleRate: 102, - quadRate: 103, - nlraSingleRate: 104, - nlraDoubleRate: 105, - allotment: 100, - status: "requested", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `propertyRoom` | [components.TravelBidSeasonRateJsonPropertyRoom](../../models/components/travelbidseasonratejsonpropertyroom.md) | :heavy_minus_sign: | ID of the property's room. | | -| `singleRate` | *number* | :heavy_minus_sign: | The last room available (LRA) single rate. | 100 | -| `doubleRate` | *number* | :heavy_minus_sign: | The last room available (LRA) double rate. | 101 | -| `tripleRate` | *number* | :heavy_minus_sign: | The last room available (LRA) triple rate. | 102 | -| `quadRate` | *number* | :heavy_minus_sign: | The last room available (LRA) quad rate. | 103 | -| `nlraSingleRate` | *number* | :heavy_minus_sign: | The non last room available (NLRA) single rate. | 104 | -| `nlraDoubleRate` | *number* | :heavy_minus_sign: | The non last room available (NLRA) double rate. | 105 | -| `allotment` | *number* | :heavy_minus_sign: | The number of rooms allotted at the negotiated rate. | 100 | -| `status` | [components.BidItemStatusTypeJson](../../models/components/biditemstatustypejson.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidseasonratejsonpropertyroom.md b/packages/typescript/docs/models/components/travelbidseasonratejsonpropertyroom.md deleted file mode 100644 index d560fa791..000000000 --- a/packages/typescript/docs/models/components/travelbidseasonratejsonpropertyroom.md +++ /dev/null @@ -1,19 +0,0 @@ -# TravelBidSeasonRateJsonPropertyRoom - -ID of the property's room. - -## Example Usage - -```typescript -import { TravelBidSeasonRateJsonPropertyRoom } from "@cvent/sdk/models/components"; - -let value: TravelBidSeasonRateJsonPropertyRoom = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | The unique ID of the property room. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidseasonratepropertyroom.md b/packages/typescript/docs/models/components/travelbidseasonratepropertyroom.md new file mode 100644 index 000000000..8c5a8903e --- /dev/null +++ b/packages/typescript/docs/models/components/travelbidseasonratepropertyroom.md @@ -0,0 +1,19 @@ +# TravelBidSeasonRatePropertyRoom + +ID of the property's room. + +## Example Usage + +```typescript +import { TravelBidSeasonRatePropertyRoom } from "@cvent/sdk/models/components"; + +let value: TravelBidSeasonRatePropertyRoom = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_minus_sign: | The unique ID of the property room. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidtaxandfee.md b/packages/typescript/docs/models/components/travelbidtaxandfee.md new file mode 100644 index 000000000..fec0515ba --- /dev/null +++ b/packages/typescript/docs/models/components/travelbidtaxandfee.md @@ -0,0 +1,27 @@ +# TravelBidTaxAndFee + +A tax or fee associated with a travel bid. + +## Example Usage + +```typescript +import { TravelBidTaxAndFee } from "@cvent/sdk/models/components"; + +let value: TravelBidTaxAndFee = { + code: "city_tax", + amount: 20, + notes: "This is a tax", + status: "requested", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `code` | [components.TaxType](../../models/components/taxtype.md) | :heavy_minus_sign: | Bid tax type. | city_tax | +| `amount` | *number* | :heavy_minus_sign: | The amount of the tax/fee. This may be a percent or monetary value depending on the value in `percent`. | 20 | +| `percent` | *boolean* | :heavy_minus_sign: | True indicates the tax/fee amount represents a percentage, instead of a monetary value. | | +| `included` | *boolean* | :heavy_minus_sign: | True indicates the tax/fee included in the negotiated rate. | | +| `notes` | *string* | :heavy_minus_sign: | Additional notes on the tax/fee. | This is a tax | +| `status` | [components.BidItemStatusType](../../models/components/biditemstatustype.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidtaxfeejson.md b/packages/typescript/docs/models/components/travelbidtaxfeejson.md deleted file mode 100644 index d3e9a0783..000000000 --- a/packages/typescript/docs/models/components/travelbidtaxfeejson.md +++ /dev/null @@ -1,27 +0,0 @@ -# TravelBidTaxFeeJson - -A tax or fee associated with a travel bid. - -## Example Usage - -```typescript -import { TravelBidTaxFeeJson } from "@cvent/sdk/models/components"; - -let value: TravelBidTaxFeeJson = { - code: "city_tax", - amount: 20, - notes: "This is a tax", - status: "requested", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `code` | [components.TaxTypeJson](../../models/components/taxtypejson.md) | :heavy_minus_sign: | Bid tax type. | city_tax | -| `amount` | *number* | :heavy_minus_sign: | The amount of the tax/fee. This may be a percent or monetary value depending on the value in `percent`. | 20 | -| `percent` | *boolean* | :heavy_minus_sign: | True indicates the tax/fee amount represents a percentage, instead of a monetary value. | | -| `included` | *boolean* | :heavy_minus_sign: | True indicates the tax/fee included in the negotiated rate. | | -| `notes` | *string* | :heavy_minus_sign: | Additional notes on the tax/fee. | This is a tax | -| `status` | [components.BidItemStatusTypeJson](../../models/components/biditemstatustypejson.md) | :heavy_minus_sign: | The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. | requested | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidweekenddayjson.md b/packages/typescript/docs/models/components/travelbidweekenddayjson.md deleted file mode 100644 index a97d102c4..000000000 --- a/packages/typescript/docs/models/components/travelbidweekenddayjson.md +++ /dev/null @@ -1,17 +0,0 @@ -# TravelBidWeekendDayJson - -Days considered weekend days for pricing purposes in the travel bid. - -## Example Usage - -```typescript -import { TravelBidWeekendDayJson } from "@cvent/sdk/models/components"; - -let value: TravelBidWeekendDayJson = "Sunday"; -``` - -## Values - -```typescript -"Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbidweekenddays.md b/packages/typescript/docs/models/components/travelbidweekenddays.md new file mode 100644 index 000000000..96947684b --- /dev/null +++ b/packages/typescript/docs/models/components/travelbidweekenddays.md @@ -0,0 +1,17 @@ +# TravelBidWeekendDays + +Days considered weekend days for pricing purposes in the travel bid. + +## Example Usage + +```typescript +import { TravelBidWeekendDays } from "@cvent/sdk/models/components"; + +let value: TravelBidWeekendDays = "Sunday"; +``` + +## Values + +```typescript +"Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelbreakoutroomjson.md b/packages/typescript/docs/models/components/travelbreakoutroomjson.md deleted file mode 100644 index 5b4a67c8f..000000000 --- a/packages/typescript/docs/models/components/travelbreakoutroomjson.md +++ /dev/null @@ -1,24 +0,0 @@ -# TravelBreakOutRoomJson - -Break-out room information. - -## Example Usage - -```typescript -import { TravelBreakOutRoomJson } from "@cvent/sdk/models/components"; - -let value: TravelBreakOutRoomJson = { - price10PersonRoom: 100, - price25PersonRoom: 100, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `tenPersonRoomIncluded` | *boolean* | :heavy_minus_sign: | True indicates a 10 person room is included. | | -| `price10PersonRoom` | *number* | :heavy_minus_sign: | Price for 10 person room. | 100 | -| `twentyFivePersonRoomIncluded` | *boolean* | :heavy_minus_sign: | True indicates a 25 person room included. | | -| `price25PersonRoom` | *number* | :heavy_minus_sign: | Price for 25 person room. | 100 | -| `permanentBoardRoomSetUp` | *boolean* | :heavy_minus_sign: | True indicates there is a permanent board room set up. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/traveldaydelegateratejson.md b/packages/typescript/docs/models/components/traveldaydelegateratejson.md deleted file mode 100644 index ce08fc04b..000000000 --- a/packages/typescript/docs/models/components/traveldaydelegateratejson.md +++ /dev/null @@ -1,25 +0,0 @@ -# TravelDayDelegateRateJson - -Day delegate rate information. This represents the costs for hosting meeting at the venue for a half or full day. - -## Example Usage - -```typescript -import { TravelDayDelegateRateJson } from "@cvent/sdk/models/components"; - -let value: TravelDayDelegateRateJson = { - fullDay10To50People: 100, - fullDay51To100People: 200, - halfDay10To50People: 50, - halfDay51To100People: 100, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `fullDay10To50People` | *number* | :heavy_minus_sign: | Full day delegate rate for 10 to 50 people. | 100 | -| `fullDay51To100People` | *number* | :heavy_minus_sign: | Full day delegate rate for 51 to 100 people. | 200 | -| `halfDay10To50People` | *number* | :heavy_minus_sign: | Half day delegate rate for 10 to 50 people. | 50 | -| `halfDay51To100People` | *number* | :heavy_minus_sign: | Half day delegate rate for 51 to 100 people. | 100 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelgroupandmeetingjson.md b/packages/typescript/docs/models/components/travelgroupandmeetingjson.md deleted file mode 100644 index aee3b3720..000000000 --- a/packages/typescript/docs/models/components/travelgroupandmeetingjson.md +++ /dev/null @@ -1,60 +0,0 @@ -# TravelGroupAndMeetingJson - -Group and meeting information. - -## Example Usage - -```typescript -import { TravelGroupAndMeetingJson } from "@cvent/sdk/models/components"; - -let value: TravelGroupAndMeetingJson = { - runOfHouseRate: { - seasonOne10To50People: 100, - seasonOne51To100People: 200, - seasonTwo10To50People: 300, - seasonTwo51To100People: 400, - seasonThree10To50People: 500, - seasonThree51To100People: 600, - seasonFour10To50People: 700, - seasonFour51To100People: 800, - seasonFive10To50People: 900, - seasonFive51To100People: 1000, - }, - dayDelegateRate: { - fullDay10To50People: 100, - fullDay51To100People: 200, - halfDay10To50People: 50, - halfDay51To100People: 100, - }, - taxAndServiceCharge: { - taxAmount: 0, - serviceChargeAmount: 1, - }, - meetingRoomBasicInformation: { - largestMeetingRoom: 1000, - unitOfMeasurement: "sq.ft.", - meetingRooms: 10, - }, - amenity: { - lcdPrice: 100, - screenPrice: 100, - hsiaPrice: 100, - whatCompanyProvidesAVEquipment: "Some company", - }, - breakOutRoom: { - price10PersonRoom: 100, - price25PersonRoom: 100, - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | -| `runOfHouseRate` | [components.TravelRunOfHouseRateJson](../../models/components/travelrunofhouseratejson.md) | :heavy_minus_sign: | Run of house rate information. | -| `dayDelegateRate` | [components.TravelDayDelegateRateJson](../../models/components/traveldaydelegateratejson.md) | :heavy_minus_sign: | Day delegate rate information. This represents the costs for hosting meeting at the venue for a half or full day. | -| `taxAndServiceCharge` | [components.TravelTaxAndServiceChargeJson](../../models/components/traveltaxandservicechargejson.md) | :heavy_minus_sign: | Tax and service charge information. | -| `meetingRoomBasicInformation` | [components.TravelMeetingRoomBasicInfoJson](../../models/components/travelmeetingroombasicinfojson.md) | :heavy_minus_sign: | Meeting room basic information. | -| `amenity` | [components.TravelAmenityJson](../../models/components/travelamenityjson.md) | :heavy_minus_sign: | Group and meeting amenity info. | -| `breakOutRoom` | [components.TravelBreakOutRoomJson](../../models/components/travelbreakoutroomjson.md) | :heavy_minus_sign: | Break-out room information. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelmeetingroombasicinfojson.md b/packages/typescript/docs/models/components/travelmeetingroombasicinfojson.md deleted file mode 100644 index 98f660709..000000000 --- a/packages/typescript/docs/models/components/travelmeetingroombasicinfojson.md +++ /dev/null @@ -1,23 +0,0 @@ -# TravelMeetingRoomBasicInfoJson - -Meeting room basic information. - -## Example Usage - -```typescript -import { TravelMeetingRoomBasicInfoJson } from "@cvent/sdk/models/components"; - -let value: TravelMeetingRoomBasicInfoJson = { - largestMeetingRoom: 1000, - unitOfMeasurement: "sq.ft.", - meetingRooms: 10, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | -| `largestMeetingRoom` | *number* | :heavy_minus_sign: | Size of the largest meeting room. Units of measurement determined by `unitOfMeasurement` field. | 1000 | -| `unitOfMeasurement` | *string* | :heavy_minus_sign: | Unit of measurement of the `largestMeetingRoom`'s size. | sq.ft. | -| `meetingRooms` | *number* | :heavy_minus_sign: | Total number of meeting rooms. | 10 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelprogram.md b/packages/typescript/docs/models/components/travelprogram.md index 7b7a9b3f8..135f53c97 100644 --- a/packages/typescript/docs/models/components/travelprogram.md +++ b/packages/typescript/docs/models/components/travelprogram.md @@ -49,13 +49,13 @@ let value: TravelProgram = { | `id` | *string* | :heavy_minus_sign: | The unique ID of the travel program. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | | `name` | *string* | :heavy_minus_sign: | The name of the travel program. | Test Program | | `contractPeriod` | *number* | :heavy_minus_sign: | The contract year in which the travel program originated. | 2023 | -| `type` | [components.TravelProgramTypeJson](../../models/components/travelprogramtypejson.md) | :heavy_minus_sign: | Code representing the travel program type. | corporate | -| `format` | [components.TravelProgramFormatTypeJson](../../models/components/travelprogramformattypejson.md) | :heavy_minus_sign: | Code representing the format of the travel program. | gbta2013 | -| `status` | [components.TravelProgramStatusJson](../../models/components/travelprogramstatusjson.md) | :heavy_minus_sign: | Code representing the status of the travel program. | complete | +| `type` | [components.TravelProgramType](../../models/components/travelprogramtype.md) | :heavy_minus_sign: | Code representing the travel program type. | corporate | +| `format` | [components.TravelProgramFormatType](../../models/components/travelprogramformattype.md) | :heavy_minus_sign: | Code representing the format of the travel program. | gbta2013 | +| `status` | [components.TravelProgramStatus](../../models/components/travelprogramstatus.md) | :heavy_minus_sign: | Code representing the status of the travel program. | complete | | `travelAccount` | [components.TravelProgramTravelAccount](../../models/components/travelprogramtravelaccount.md) | :heavy_minus_sign: | Travel account that the program belongs to. | | -| `stayType` | [components.TravelProgramStayTypeJson](../../models/components/travelprogramstaytypejson.md) | :heavy_minus_sign: | Code representing the stay types requested by the program. Programs can accept daily only, or daily and extended stay proposals. | daily | +| `stayType` | [components.TravelProgramStayType](../../models/components/travelprogramstaytype.md) | :heavy_minus_sign: | Code representing the stay types requested by the program. Programs can accept daily only, or daily and extended stay proposals. | daily | | `startDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 formatted start date (in GMT) of the travel program. | 2024-01-01 | | `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.TravelProgramQuestionJson](../../models/components/travelprogramquestionjson.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.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 diff --git a/packages/typescript/docs/models/components/travelprogramformattype.md b/packages/typescript/docs/models/components/travelprogramformattype.md new file mode 100644 index 000000000..846e45e98 --- /dev/null +++ b/packages/typescript/docs/models/components/travelprogramformattype.md @@ -0,0 +1,17 @@ +# TravelProgramFormatType + +Code representing the format of the travel program. + +## Example Usage + +```typescript +import { TravelProgramFormatType } from "@cvent/sdk/models/components"; + +let value: TravelProgramFormatType = "gbta2013"; +``` + +## Values + +```typescript +"gbta2013" | "universal" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelprogramformattypejson.md b/packages/typescript/docs/models/components/travelprogramformattypejson.md deleted file mode 100644 index d24ce0cce..000000000 --- a/packages/typescript/docs/models/components/travelprogramformattypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# TravelProgramFormatTypeJson - -Code representing the format of the travel program. - -## Example Usage - -```typescript -import { TravelProgramFormatTypeJson } from "@cvent/sdk/models/components"; - -let value: TravelProgramFormatTypeJson = "gbta2013"; -``` - -## Values - -```typescript -"gbta2013" | "universal" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelprogrampaginatedresponse.md b/packages/typescript/docs/models/components/travelprogrampaginatedresponse.md index 2817a4158..d475bd4e9 100644 --- a/packages/typescript/docs/models/components/travelprogrampaginatedresponse.md +++ b/packages/typescript/docs/models/components/travelprogrampaginatedresponse.md @@ -64,5 +64,5 @@ let value: TravelProgramPaginatedResponse = { | Field | Type | Required | Description | | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | | `data` | [components.TravelProgram](../../models/components/travelprogram.md)[] | :heavy_minus_sign: | Collection of travel programs and their related details. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelprogramquestion.md b/packages/typescript/docs/models/components/travelprogramquestion.md new file mode 100644 index 000000000..1a38bcd6a --- /dev/null +++ b/packages/typescript/docs/models/components/travelprogramquestion.md @@ -0,0 +1,48 @@ +# TravelProgramQuestion + +A question, defined by the program, for the supplier to answer as part of their proposal. + +## Example Usage + +```typescript +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?", + 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.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 diff --git a/packages/typescript/docs/models/components/travelprogramquestion1.md b/packages/typescript/docs/models/components/travelprogramquestion1.md new file mode 100644 index 000000000..a3e547a4a --- /dev/null +++ b/packages/typescript/docs/models/components/travelprogramquestion1.md @@ -0,0 +1,25 @@ +# TravelProgramQuestion1 + +A question, defined by the account, for the supplier to answer as part of their proposal. + +## Example Usage + +```typescript +import { TravelProgramQuestion1 } from "@cvent/sdk/models/components"; + +let value: TravelProgramQuestion1 = { + questionId: "76c461cb-77f6-40b3-acc8-db44452f11c4", + section: "program_client", + required: true, + sequence: 1, +}; +``` + +## Fields + +| 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/travelprogramquestionjson.md b/packages/typescript/docs/models/components/travelprogramquestionjson.md deleted file mode 100644 index deea77979..000000000 --- a/packages/typescript/docs/models/components/travelprogramquestionjson.md +++ /dev/null @@ -1,25 +0,0 @@ -# TravelProgramQuestionJson - -A question, defined by the account, for the supplier to answer as part of their proposal. - -## Example Usage - -```typescript -import { TravelProgramQuestionJson } from "@cvent/sdk/models/components"; - -let value: TravelProgramQuestionJson = { - questionId: "76c461cb-77f6-40b3-acc8-db44452f11c4", - section: "program_client", - required: true, - sequence: 1, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `questionId` | *string* | :heavy_minus_sign: | The unique ID of the custom question. | 76c461cb-77f6-40b3-acc8-db44452f11c4 | -| `section` | [components.QuestionSectionJson](../../models/components/questionsectionjson.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/travelprogramquestiontravelprogram.md b/packages/typescript/docs/models/components/travelprogramquestiontravelprogram.md new file mode 100644 index 000000000..99ff28441 --- /dev/null +++ b/packages/typescript/docs/models/components/travelprogramquestiontravelprogram.md @@ -0,0 +1,19 @@ +# TravelProgramQuestionTravelProgram + +Travel program that the question belongs to. + +## Example Usage + +```typescript +import { TravelProgramQuestionTravelProgram } from "@cvent/sdk/models/components"; + +let value: TravelProgramQuestionTravelProgram = { + id: "ddc61444-45c7-4e1d-9fdd-07713c8baf9b", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_minus_sign: | The unique ID of the travel program. | ddc61444-45c7-4e1d-9fdd-07713c8baf9b | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelprogramstatus.md b/packages/typescript/docs/models/components/travelprogramstatus.md new file mode 100644 index 000000000..c858f80d7 --- /dev/null +++ b/packages/typescript/docs/models/components/travelprogramstatus.md @@ -0,0 +1,17 @@ +# TravelProgramStatus + +Code representing the status of the travel program. + +## Example Usage + +```typescript +import { TravelProgramStatus } from "@cvent/sdk/models/components"; + +let value: TravelProgramStatus = "complete"; +``` + +## Values + +```typescript +"in_progress" | "complete" | "closed" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelprogramstatusjson.md b/packages/typescript/docs/models/components/travelprogramstatusjson.md deleted file mode 100644 index a13e8fc73..000000000 --- a/packages/typescript/docs/models/components/travelprogramstatusjson.md +++ /dev/null @@ -1,17 +0,0 @@ -# TravelProgramStatusJson - -Code representing the status of the travel program. - -## Example Usage - -```typescript -import { TravelProgramStatusJson } from "@cvent/sdk/models/components"; - -let value: TravelProgramStatusJson = "complete"; -``` - -## Values - -```typescript -"in_progress" | "complete" | "closed" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelprogramstaytype.md b/packages/typescript/docs/models/components/travelprogramstaytype.md new file mode 100644 index 000000000..a56147b5f --- /dev/null +++ b/packages/typescript/docs/models/components/travelprogramstaytype.md @@ -0,0 +1,17 @@ +# TravelProgramStayType + +Code representing the stay types requested by the program. Programs can accept daily only, or daily and extended stay proposals. + +## Example Usage + +```typescript +import { TravelProgramStayType } from "@cvent/sdk/models/components"; + +let value: TravelProgramStayType = "daily"; +``` + +## Values + +```typescript +"daily" | "daily_and_extended_stay" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelprogramstaytypejson.md b/packages/typescript/docs/models/components/travelprogramstaytypejson.md deleted file mode 100644 index 8a1a5d957..000000000 --- a/packages/typescript/docs/models/components/travelprogramstaytypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# TravelProgramStayTypeJson - -Code representing the stay types requested by the program. Programs can accept daily only, or daily and extended stay proposals. - -## Example Usage - -```typescript -import { TravelProgramStayTypeJson } from "@cvent/sdk/models/components"; - -let value: TravelProgramStayTypeJson = "daily"; -``` - -## Values - -```typescript -"daily" | "daily_and_extended_stay" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelprogramtype.md b/packages/typescript/docs/models/components/travelprogramtype.md new file mode 100644 index 000000000..999af9d6b --- /dev/null +++ b/packages/typescript/docs/models/components/travelprogramtype.md @@ -0,0 +1,17 @@ +# TravelProgramType + +Code representing the travel program type. + +## Example Usage + +```typescript +import { TravelProgramType } from "@cvent/sdk/models/components"; + +let value: TravelProgramType = "corporate"; +``` + +## Values + +```typescript +"corporate" | "leisure" | "consortia" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelprogramtypejson.md b/packages/typescript/docs/models/components/travelprogramtypejson.md deleted file mode 100644 index 2d67b1879..000000000 --- a/packages/typescript/docs/models/components/travelprogramtypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# TravelProgramTypeJson - -Code representing the travel program type. - -## Example Usage - -```typescript -import { TravelProgramTypeJson } from "@cvent/sdk/models/components"; - -let value: TravelProgramTypeJson = "corporate"; -``` - -## Values - -```typescript -"corporate" | "leisure" | "consortia" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelproposal.md b/packages/typescript/docs/models/components/travelproposal.md index 4724a5240..867a51e5a 100644 --- a/packages/typescript/docs/models/components/travelproposal.md +++ b/packages/typescript/docs/models/components/travelproposal.md @@ -115,11 +115,11 @@ let value: TravelProposal = { | `supplierProperty` | [components.SupplierProperty](../../models/components/supplierproperty.md) | :heavy_minus_sign: | Supplier property that the proposal is tied to. | | | `travelProgram` | [components.TravelProposalTravelProgram](../../models/components/travelproposaltravelprogram.md) | :heavy_minus_sign: | Travel program that the proposal is in response to. | | | `contractPeriod` | *number* | :heavy_minus_sign: | Contract period of the proposal. The year the contract begins. | 2021 | -| `status` | [components.ProposalStatusTypeJson](../../models/components/proposalstatustypejson.md) | :heavy_minus_sign: | The status of the proposal | account_accepted | +| `status` | [components.ProposalStatusType](../../models/components/proposalstatustype.md) | :heavy_minus_sign: | The status of the proposal | account_accepted | | `deleted` | *boolean* | :heavy_minus_sign: | True indicates the proposal is deleted. | | -| `rateReviewStatus` | [components.RateReviewStatusTypeJson](../../models/components/ratereviewstatustypejson.md) | :heavy_minus_sign: | The rate review status of the proposal | | -| `businessType` | [components.BusinessTypeJson](../../models/components/businesstypejson.md) | :heavy_minus_sign: | Business type. | corporate | -| `format` | [components.FormatTypeJson](../../models/components/formattypejson.md) | :heavy_minus_sign: | Proposal format. | gbta2013 | +| `rateReviewStatus` | [components.RateReviewStatusType](../../models/components/ratereviewstatustype.md) | :heavy_minus_sign: | The rate review status of the proposal | | +| `businessType` | [components.BusinessType](../../models/components/businesstype.md) | :heavy_minus_sign: | Business type. | corporate | +| `format` | [components.FormatType](../../models/components/formattype.md) | :heavy_minus_sign: | Proposal format. | gbta2013 | | `documentRead` | *boolean* | :heavy_minus_sign: | True indicates the documents been read by the supply-side. | | | `rejectReasonCode` | *string* | :heavy_minus_sign: | Reason the reject/decline action was performed. Used for certain actions/statuses. | Other | | `rejectComment` | *string* | :heavy_minus_sign: | Comments regarding the reasoning for the reject/decline action. This only comes into play for certain actions/statuses. | other reasons | @@ -128,7 +128,7 @@ let value: TravelProposal = { | `negotiationDueDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 datetime when the negotiation response is due. | 2030-02-10T00:00:00.000Z | | `roomNightConsumption` | *number* | :heavy_minus_sign: | Client room nights produced at property from January 1 through June 30. | 100 | | `draft` | *boolean* | :heavy_minus_sign: | True indicates this proposal is a draft copy that is not sent to the other party. | | -| `bids` | [components.TravelProposalBidIdJson](../../models/components/travelproposalbididjson.md)[] | :heavy_minus_sign: | Collection of bid IDs attached to the proposal. | | -| `customQuestionAnswers` | [components.CustomQuestionAnswerJson0](../../models/components/customquestionanswerjson0.md)[] | :heavy_minus_sign: | Collection of custom questions. | | -| `groupAndMeeting` | [components.TravelGroupAndMeetingJson](../../models/components/travelgroupandmeetingjson.md) | :heavy_minus_sign: | Group and meeting information. | | -| `proposalDisposition` | [components.TravelProposalDispositionJson](../../models/components/travelproposaldispositionjson.md) | :heavy_minus_sign: | Represent proposal disposition details. | | \ No newline at end of file +| `bids` | [components.TravelProposalBid1](../../models/components/travelproposalbid1.md)[] | :heavy_minus_sign: | Collection of bid IDs attached to the proposal. | | +| `customQuestionAnswers` | [components.TravelProposalCustomQuestion](../../models/components/travelproposalcustomquestion.md)[] | :heavy_minus_sign: | Collection of custom questions. | | +| `groupAndMeeting` | [components.TravelProposalGroupAndMeeting](../../models/components/travelproposalgroupandmeeting.md) | :heavy_minus_sign: | Group and meeting information. | | +| `proposalDisposition` | [components.TravelProposalDisposition](../../models/components/travelproposaldisposition.md) | :heavy_minus_sign: | Represent proposal disposition details. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelproposalbid.md b/packages/typescript/docs/models/components/travelproposalbid.md deleted file mode 100644 index f66e924f8..000000000 --- a/packages/typescript/docs/models/components/travelproposalbid.md +++ /dev/null @@ -1,173 +0,0 @@ -# TravelProposalBid - -A travel proposal bid rate plan that is being proposed to a customer. - -## Example Usage - -```typescript -import { TravelProposalBid } from "@cvent/sdk/models/components"; -import { RFCDate } from "@cvent/sdk/types"; - -let value: TravelProposalBid = { - travelProposal: { - id: "a91187db-d3c2-4035-b696-1d77fb1ab9d8", - }, - id: "3e2a8614-7d52-442e-8c4f-a6a18ed9ac4d", - name: "My Corporate Bid", - rate: { - level: "corporate", - planCode: "rp123", - tier: "tier1", - }, - marketCode: "mc12", - currencyCode: "USD", - weekendDays: [ - "Sunday", - ], - internalNote: "", - comments: [ - { - commentType: "promotions", - comment: "This is a high value client.", - }, - ], - roomTypes: [ - { - propertyRoom: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - }, - allocation: 10, - order: 1, - status: "requested", - }, - ], - seasons: [ - { - name: "Season 1", - startDate: new RFCDate("2021-07-13"), - endDate: new RFCDate("2021-07-13"), - releasePeriod: 1, - weekendReleasePeriod: 2, - rates: [ - { - propertyRoom: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - }, - singleRate: 100, - doubleRate: 101, - tripleRate: 102, - quadRate: 103, - nlraSingleRate: 104, - nlraDoubleRate: 105, - allotment: 100, - status: "requested", - }, - ], - weekendRates: [ - { - propertyRoom: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - }, - singleRate: 100, - doubleRate: 101, - tripleRate: 102, - quadRate: 103, - nlraSingleRate: 104, - nlraDoubleRate: 105, - allotment: 100, - status: "requested", - }, - ], - status: "requested", - }, - ], - discounts: [ - { - propertyRoom: { - id: "9ea95519-2fc5-49d8-991b-e954f49044fe", - }, - discount: 10, - status: "requested", - }, - ], - fairSeasons: [ - { - name: "Fair season 1", - startDate: new RFCDate("2021-07-13"), - endDate: new RFCDate("2021-07-13"), - minLengthOfStay: 1, - releasePeriod: 1, - rates: [ - { - propertyRoom: { - id: "9ea95519-2fc5-49d8-991b-e954f49044fe", - }, - singleRate: 100, - doubleRate: 101, - tripleRate: 102, - quadRate: 103, - allotment: 100, - status: "requested", - }, - ], - status: "requested", - }, - ], - amenities: [ - { - type: "amenity", - code: "parking_valet", - category: "Parking", - price: 100, - discountAmount: 90, - internalCost: 80, - description: "Valet parking is available for all guests.", - status: "requested", - }, - ], - policies: [ - { - code: "cancellation_period", - category: "cancellation_period", - value: "24h", - description: "The cancellation period is 24 hours.", - status: "requested", - }, - ], - taxesAndFees: [ - { - code: "city_tax", - amount: 20, - notes: "This is a tax", - status: "requested", - }, - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | -| `travelProposal` | [components.TravelProposalBidTravelProposal](../../models/components/travelproposalbidtravelproposal.md) | :heavy_minus_sign: | The travel proposal that the bid belongs to. | | -| `id` | *string* | :heavy_minus_sign: | The unique ID of the bid. | 3e2a8614-7d52-442e-8c4f-a6a18ed9ac4d | -| `stayType` | [components.BidStayTypeJson](../../models/components/bidstaytypejson.md) | :heavy_minus_sign: | Bid stay type. | | -| `order` | *number* | :heavy_minus_sign: | The order of the bid compared to other bids of the same stay type. This is used to distinguish between extended stay 1 vs extended stay 2. | 1 | -| `status` | [components.BidStatusTypeJson](../../models/components/bidstatustypejson.md) | :heavy_minus_sign: | Bid stay type. | | -| `name` | *string* | :heavy_minus_sign: | Name given to the bid. | My Corporate Bid | -| `rate` | [components.TravelBidRateJson](../../models/components/travelbidratejson.md) | :heavy_minus_sign: | The rate (cost) information for a travel bid. | | -| `marketCode` | *string* | :heavy_minus_sign: | The market code given to the rate plan / bid by the supplier. | mc12 | -| `currencyCode` | *string* | :heavy_minus_sign: | The ISO 4217 currency code used for the rates and other monetary values in the bid. | USD | -| `weekendDays` | [components.TravelBidWeekendDayJson](../../models/components/travelbidweekenddayjson.md)[] | :heavy_minus_sign: | Days of the week that are considered weekend days, to apply weekend rates. Does not apply when format is GBTA2013. | | -| `lra` | *boolean* | :heavy_minus_sign: | Does the bid include LRA (Last Room Availability) rates? | | -| `nlra` | *boolean* | :heavy_minus_sign: | Does the bid include non-LRA rates? | | -| `fairDateLra` | *boolean* | :heavy_minus_sign: | Are the fair date rates LRA (Last Room Availability)? | | -| `internalNote` | *string* | :heavy_minus_sign: | Additional comments passed from the domain-level rate plan. | | -| `comments` | [components.TravelBidCommentJson](../../models/components/travelbidcommentjson.md)[] | :heavy_minus_sign: | Additional Info | | -| `roomTypes` | [components.TravelBidRoomJson](../../models/components/travelbidroomjson.md)[] | :heavy_minus_sign: | Room Types associated with the bid | | -| `seasons` | [components.TravelBidSeasonJson](../../models/components/travelbidseasonjson.md)[] | :heavy_minus_sign: | Seasons associated with the bid | | -| `discounts` | [components.TravelBidDiscountJson](../../models/components/travelbiddiscountjson.md)[] | :heavy_minus_sign: | Dynamic discounts associated with the bid | | -| `fairSeasons` | [components.TravelBidFairSeasonJson](../../models/components/travelbidfairseasonjson.md)[] | :heavy_minus_sign: | Fair seasons associated with the bid | | -| `amenities` | [components.TravelBidAmenityJson](../../models/components/travelbidamenityjson.md)[] | :heavy_minus_sign: | Amenities associated with the bid | | -| `policies` | [components.TravelBidPolicyJson](../../models/components/travelbidpolicyjson.md)[] | :heavy_minus_sign: | Policies associated with the bid | | -| `taxesAndFees` | [components.TravelBidTaxFeeJson](../../models/components/travelbidtaxfeejson.md)[] | :heavy_minus_sign: | Taxes & fees associated with the bid | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelproposalbid1.md b/packages/typescript/docs/models/components/travelproposalbid1.md new file mode 100644 index 000000000..9d720837d --- /dev/null +++ b/packages/typescript/docs/models/components/travelproposalbid1.md @@ -0,0 +1,19 @@ +# TravelProposalBid1 + +A travel proposal bid. + +## Example Usage + +```typescript +import { TravelProposalBid1 } from "@cvent/sdk/models/components"; + +let value: TravelProposalBid1 = { + id: "1c208c0d-cf96-42ec-a2c3-7ab7a5c04825", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_minus_sign: | The ID of the bid. | 1c208c0d-cf96-42ec-a2c3-7ab7a5c04825 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelproposalbid2.md b/packages/typescript/docs/models/components/travelproposalbid2.md new file mode 100644 index 000000000..e15590009 --- /dev/null +++ b/packages/typescript/docs/models/components/travelproposalbid2.md @@ -0,0 +1,173 @@ +# TravelProposalBid2 + +A travel proposal bid rate plan that is being proposed to a customer. + +## Example Usage + +```typescript +import { TravelProposalBid2 } from "@cvent/sdk/models/components"; +import { RFCDate } from "@cvent/sdk/types"; + +let value: TravelProposalBid2 = { + travelProposal: { + id: "a91187db-d3c2-4035-b696-1d77fb1ab9d8", + }, + id: "3e2a8614-7d52-442e-8c4f-a6a18ed9ac4d", + name: "My Corporate Bid", + rate: { + level: "corporate", + planCode: "rp123", + tier: "tier1", + }, + marketCode: "mc12", + currencyCode: "USD", + weekendDays: [ + "Sunday", + ], + internalNote: "", + comments: [ + { + commentType: "promotions", + comment: "This is a high value client.", + }, + ], + roomTypes: [ + { + propertyRoom: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + }, + allocation: 10, + order: 1, + status: "requested", + }, + ], + seasons: [ + { + name: "Season 1", + startDate: new RFCDate("2021-07-13"), + endDate: new RFCDate("2021-07-13"), + releasePeriod: 1, + weekendReleasePeriod: 2, + rates: [ + { + propertyRoom: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + }, + singleRate: 100, + doubleRate: 101, + tripleRate: 102, + quadRate: 103, + nlraSingleRate: 104, + nlraDoubleRate: 105, + allotment: 100, + status: "requested", + }, + ], + weekendRates: [ + { + propertyRoom: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + }, + singleRate: 100, + doubleRate: 101, + tripleRate: 102, + quadRate: 103, + nlraSingleRate: 104, + nlraDoubleRate: 105, + allotment: 100, + status: "requested", + }, + ], + status: "requested", + }, + ], + discounts: [ + { + propertyRoom: { + id: "9ea95519-2fc5-49d8-991b-e954f49044fe", + }, + discount: 10, + status: "requested", + }, + ], + fairSeasons: [ + { + name: "Fair season 1", + startDate: new RFCDate("2021-07-13"), + endDate: new RFCDate("2021-07-13"), + minLengthOfStay: 1, + releasePeriod: 1, + rates: [ + { + propertyRoom: { + id: "9ea95519-2fc5-49d8-991b-e954f49044fe", + }, + singleRate: 100, + doubleRate: 101, + tripleRate: 102, + quadRate: 103, + allotment: 100, + status: "requested", + }, + ], + status: "requested", + }, + ], + amenities: [ + { + type: "amenity", + code: "parking_valet", + category: "Parking", + price: 100, + discountAmount: 90, + internalCost: 80, + description: "Valet parking is available for all guests.", + status: "requested", + }, + ], + policies: [ + { + code: "cancellation_period", + category: "cancellation_period", + value: "24h", + description: "The cancellation period is 24 hours.", + status: "requested", + }, + ], + taxesAndFees: [ + { + code: "city_tax", + amount: 20, + notes: "This is a tax", + status: "requested", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | +| `travelProposal` | [components.TravelProposalBidTravelProposal](../../models/components/travelproposalbidtravelproposal.md) | :heavy_minus_sign: | The travel proposal that the bid belongs to. | | +| `id` | *string* | :heavy_minus_sign: | The unique ID of the bid. | 3e2a8614-7d52-442e-8c4f-a6a18ed9ac4d | +| `stayType` | [components.BidStayType](../../models/components/bidstaytype.md) | :heavy_minus_sign: | Bid stay type. | | +| `order` | *number* | :heavy_minus_sign: | The order of the bid compared to other bids of the same stay type. This is used to distinguish between extended stay 1 vs extended stay 2. | 1 | +| `status` | [components.BidStatusType](../../models/components/bidstatustype.md) | :heavy_minus_sign: | Bid stay type. | | +| `name` | *string* | :heavy_minus_sign: | Name given to the bid. | My Corporate Bid | +| `rate` | [components.TravelProposalBidRate](../../models/components/travelproposalbidrate.md) | :heavy_minus_sign: | The rate (cost) information for a travel bid. | | +| `marketCode` | *string* | :heavy_minus_sign: | The market code given to the rate plan / bid by the supplier. | mc12 | +| `currencyCode` | *string* | :heavy_minus_sign: | The ISO 4217 currency code used for the rates and other monetary values in the bid. | USD | +| `weekendDays` | [components.TravelBidWeekendDays](../../models/components/travelbidweekenddays.md)[] | :heavy_minus_sign: | Days of the week that are considered weekend days, to apply weekend rates. Does not apply when format is GBTA2013. | | +| `lra` | *boolean* | :heavy_minus_sign: | Does the bid include LRA (Last Room Availability) rates? | | +| `nlra` | *boolean* | :heavy_minus_sign: | Does the bid include non-LRA rates? | | +| `fairDateLra` | *boolean* | :heavy_minus_sign: | Are the fair date rates LRA (Last Room Availability)? | | +| `internalNote` | *string* | :heavy_minus_sign: | Additional comments passed from the domain-level rate plan. | | +| `comments` | [components.TravelBidComment](../../models/components/travelbidcomment.md)[] | :heavy_minus_sign: | Additional Info | | +| `roomTypes` | [components.TravelBidRoom](../../models/components/travelbidroom.md)[] | :heavy_minus_sign: | Room Types associated with the bid | | +| `seasons` | [components.TravelBidSeason](../../models/components/travelbidseason.md)[] | :heavy_minus_sign: | Seasons associated with the bid | | +| `discounts` | [components.TravelBidDiscount](../../models/components/travelbiddiscount.md)[] | :heavy_minus_sign: | Dynamic discounts associated with the bid | | +| `fairSeasons` | [components.TravelBidFairSeason](../../models/components/travelbidfairseason.md)[] | :heavy_minus_sign: | Fair seasons associated with the bid | | +| `amenities` | [components.TravelBidAmenity](../../models/components/travelbidamenity.md)[] | :heavy_minus_sign: | Amenities associated with the bid | | +| `policies` | [components.TravelBidPolicy](../../models/components/travelbidpolicy.md)[] | :heavy_minus_sign: | Policies associated with the bid | | +| `taxesAndFees` | [components.TravelBidTaxAndFee](../../models/components/travelbidtaxandfee.md)[] | :heavy_minus_sign: | Taxes & fees associated with the bid | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelproposalbididjson.md b/packages/typescript/docs/models/components/travelproposalbididjson.md deleted file mode 100644 index aaaeebd34..000000000 --- a/packages/typescript/docs/models/components/travelproposalbididjson.md +++ /dev/null @@ -1,19 +0,0 @@ -# TravelProposalBidIdJson - -A travel proposal bid. - -## Example Usage - -```typescript -import { TravelProposalBidIdJson } from "@cvent/sdk/models/components"; - -let value: TravelProposalBidIdJson = { - id: "1c208c0d-cf96-42ec-a2c3-7ab7a5c04825", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | The ID of the bid. | 1c208c0d-cf96-42ec-a2c3-7ab7a5c04825 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelproposalbidpaginatedresponse.md b/packages/typescript/docs/models/components/travelproposalbidpaginatedresponse.md index 434e3ba51..4efbc30a5 100644 --- a/packages/typescript/docs/models/components/travelproposalbidpaginatedresponse.md +++ b/packages/typescript/docs/models/components/travelproposalbidpaginatedresponse.md @@ -169,7 +169,7 @@ let value: TravelProposalBidPaginatedResponse = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `data` | [components.TravelProposalBid](../../models/components/travelproposalbid.md)[] | :heavy_minus_sign: | Paginated list of business transient proposal bids. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `data` | [components.TravelProposalBid2](../../models/components/travelproposalbid2.md)[] | :heavy_minus_sign: | Paginated list of business transient proposal bids. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelproposalbidrate.md b/packages/typescript/docs/models/components/travelproposalbidrate.md new file mode 100644 index 000000000..a2ad8fd64 --- /dev/null +++ b/packages/typescript/docs/models/components/travelproposalbidrate.md @@ -0,0 +1,24 @@ +# TravelProposalBidRate + +The rate (cost) information for a travel bid. + +## Example Usage + +```typescript +import { TravelProposalBidRate } from "@cvent/sdk/models/components"; + +let value: TravelProposalBidRate = { + level: "corporate", + planCode: "rp123", + tier: "tier1", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `level` | [components.RateLevelType](../../models/components/rateleveltype.md) | :heavy_minus_sign: | Rate level | corporate | +| `type` | [components.RateType](../../models/components/ratetype.md) | :heavy_minus_sign: | Rate type. | | +| `planCode` | *string* | :heavy_minus_sign: | The code given to the bid (also called rate plan) by the supplier. | rp123 | +| `tier` | *string* | :heavy_minus_sign: | The rate tier given to the bid (also called rate plan) by the supplier. | tier1 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelproposalcustomquestion.md b/packages/typescript/docs/models/components/travelproposalcustomquestion.md new file mode 100644 index 000000000..104de1ea3 --- /dev/null +++ b/packages/typescript/docs/models/components/travelproposalcustomquestion.md @@ -0,0 +1,23 @@ +# TravelProposalCustomQuestion + +Represents custom question associated with a travel proposal. + +## Example Usage + +```typescript +import { TravelProposalCustomQuestion } from "@cvent/sdk/models/components"; + +let value: TravelProposalCustomQuestion = { + question: { + id: "565ceabb-786a-4a6d-8c85-e2fccc867e88", + }, + answer: "No.", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `question` | [components.TravelProposalCustomQuestionQuestion](../../models/components/travelproposalcustomquestionquestion.md) | :heavy_minus_sign: | Travel account that the proposal is responding to. | | +| `answer` | *string* | :heavy_minus_sign: | Hotel's answer to the program's custom question. | No. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelproposalcustomquestionquestion.md b/packages/typescript/docs/models/components/travelproposalcustomquestionquestion.md new file mode 100644 index 000000000..0a811c4a8 --- /dev/null +++ b/packages/typescript/docs/models/components/travelproposalcustomquestionquestion.md @@ -0,0 +1,19 @@ +# TravelProposalCustomQuestionQuestion + +Travel account that the proposal is responding to. + +## Example Usage + +```typescript +import { TravelProposalCustomQuestionQuestion } from "@cvent/sdk/models/components"; + +let value: TravelProposalCustomQuestionQuestion = { + id: "565ceabb-786a-4a6d-8c85-e2fccc867e88", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_minus_sign: | The unique ID of the question. | 565ceabb-786a-4a6d-8c85-e2fccc867e88 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelproposaldisposition.md b/packages/typescript/docs/models/components/travelproposaldisposition.md new file mode 100644 index 000000000..4b673429c --- /dev/null +++ b/packages/typescript/docs/models/components/travelproposaldisposition.md @@ -0,0 +1,36 @@ +# TravelProposalDisposition + +Represent proposal disposition details. + +## Example Usage + +```typescript +import { TravelProposalDisposition } from "@cvent/sdk/models/components"; + +let value: TravelProposalDisposition = { + bidDispositions: [ + { + bid: { + id: "1c208c0d-cf96-42ec-a2c3-7ab7a5c04825", + }, + acceptedBidRooms: [ + { + propertyRoom: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + }, + lraRateAccepted: true, + nlraRateAccepted: true, + }, + ], + }, + ], + groupAndMeetingAccepted: true, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `bidDispositions` | [components.TravelBidDisposition](../../models/components/travelbiddisposition.md)[] | :heavy_minus_sign: | List of bid dispositions. | | +| `groupAndMeetingAccepted` | *boolean* | :heavy_minus_sign: | Indicates if the group and meeting is accepted. | true | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelproposaldispositionjson.md b/packages/typescript/docs/models/components/travelproposaldispositionjson.md deleted file mode 100644 index 70ce90d19..000000000 --- a/packages/typescript/docs/models/components/travelproposaldispositionjson.md +++ /dev/null @@ -1,36 +0,0 @@ -# TravelProposalDispositionJson - -Represent proposal disposition details. - -## Example Usage - -```typescript -import { TravelProposalDispositionJson } from "@cvent/sdk/models/components"; - -let value: TravelProposalDispositionJson = { - bidDispositions: [ - { - bid: { - id: "1c208c0d-cf96-42ec-a2c3-7ab7a5c04825", - }, - acceptedBidRooms: [ - { - propertyRoom: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - }, - lraRateAccepted: true, - nlraRateAccepted: true, - }, - ], - }, - ], - groupAndMeetingAccepted: true, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| `bidDispositions` | [components.TravelBidDispositionJson](../../models/components/travelbiddispositionjson.md)[] | :heavy_minus_sign: | List of bid dispositions. | | -| `groupAndMeetingAccepted` | *boolean* | :heavy_minus_sign: | Indicates if the group and meeting is accepted. | true | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelproposalgroupandmeeting.md b/packages/typescript/docs/models/components/travelproposalgroupandmeeting.md new file mode 100644 index 000000000..d46752113 --- /dev/null +++ b/packages/typescript/docs/models/components/travelproposalgroupandmeeting.md @@ -0,0 +1,60 @@ +# TravelProposalGroupAndMeeting + +Group and meeting information. + +## Example Usage + +```typescript +import { TravelProposalGroupAndMeeting } from "@cvent/sdk/models/components"; + +let value: TravelProposalGroupAndMeeting = { + runOfHouseRate: { + seasonOne10To50People: 100, + seasonOne51To100People: 200, + seasonTwo10To50People: 300, + seasonTwo51To100People: 400, + seasonThree10To50People: 500, + seasonThree51To100People: 600, + seasonFour10To50People: 700, + seasonFour51To100People: 800, + seasonFive10To50People: 900, + seasonFive51To100People: 1000, + }, + dayDelegateRate: { + fullDay10To50People: 100, + fullDay51To100People: 200, + halfDay10To50People: 50, + halfDay51To100People: 100, + }, + taxAndServiceCharge: { + taxAmount: 0, + serviceChargeAmount: 1, + }, + meetingRoomBasicInformation: { + largestMeetingRoom: 1000, + unitOfMeasurement: "sq.ft.", + meetingRooms: 10, + }, + amenity: { + lcdPrice: 100, + screenPrice: 100, + hsiaPrice: 100, + whatCompanyProvidesAVEquipment: "Some company", + }, + breakOutRoom: { + price10PersonRoom: 100, + price25PersonRoom: 100, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `runOfHouseRate` | [components.TravelProposalGroupAndMeetingRunOfHouseRate](../../models/components/travelproposalgroupandmeetingrunofhouserate.md) | :heavy_minus_sign: | Run of house rate information. | +| `dayDelegateRate` | [components.TravelProposalGroupAndMeetingDayDelegateRate](../../models/components/travelproposalgroupandmeetingdaydelegaterate.md) | :heavy_minus_sign: | Day delegate rate information. This represents the costs for hosting meeting at the venue for a half or full day. | +| `taxAndServiceCharge` | [components.TravelProposalGroupAndMeetingTaxAndServiceCharge](../../models/components/travelproposalgroupandmeetingtaxandservicecharge.md) | :heavy_minus_sign: | Tax and service charge information. | +| `meetingRoomBasicInformation` | [components.TravelProposalGroupAndMeetingMeetingRoomBasicInformation](../../models/components/travelproposalgroupandmeetingmeetingroombasicinformation.md) | :heavy_minus_sign: | Meeting room basic information. | +| `amenity` | [components.TravelProposalGroupAndMeetingAmenity](../../models/components/travelproposalgroupandmeetingamenity.md) | :heavy_minus_sign: | Group and meeting amenity info. | +| `breakOutRoom` | [components.TravelProposalGroupAndMeetingBreakOutRoom](../../models/components/travelproposalgroupandmeetingbreakoutroom.md) | :heavy_minus_sign: | Break-out room information. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelproposalgroupandmeetingamenity.md b/packages/typescript/docs/models/components/travelproposalgroupandmeetingamenity.md new file mode 100644 index 000000000..2793e249f --- /dev/null +++ b/packages/typescript/docs/models/components/travelproposalgroupandmeetingamenity.md @@ -0,0 +1,29 @@ +# TravelProposalGroupAndMeetingAmenity + +Group and meeting amenity info. + +## Example Usage + +```typescript +import { TravelProposalGroupAndMeetingAmenity } from "@cvent/sdk/models/components"; + +let value: TravelProposalGroupAndMeetingAmenity = { + lcdPrice: 100, + screenPrice: 100, + hsiaPrice: 100, + whatCompanyProvidesAVEquipment: "Some company", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `lcdIncluded` | *boolean* | :heavy_minus_sign: | True indicates a liquid crystal display (LCD) is included in the amenity. | | +| `lcdPrice` | *number* | :heavy_minus_sign: | Price of the liquid crystal display (LCD). | 100 | +| `screenIncluded` | *boolean* | :heavy_minus_sign: | True indicates a screen is included in the amenity. | | +| `screenPrice` | *number* | :heavy_minus_sign: | Price of the screen. | 100 | +| `hsiaIncluded` | *boolean* | :heavy_minus_sign: | True indicates high speed internet access is included in the amenity. | | +| `hsiaPrice` | *number* | :heavy_minus_sign: | Price of high speed internet access (HSIA). | 100 | +| `complementaryParkingIncluded` | *boolean* | :heavy_minus_sign: | True indicates parking is included in the amenity. | | +| `whatCompanyProvidesAVEquipment` | *string* | :heavy_minus_sign: | Name of company providing AV equipment. | Some company | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelproposalgroupandmeetingbreakoutroom.md b/packages/typescript/docs/models/components/travelproposalgroupandmeetingbreakoutroom.md new file mode 100644 index 000000000..306e713b8 --- /dev/null +++ b/packages/typescript/docs/models/components/travelproposalgroupandmeetingbreakoutroom.md @@ -0,0 +1,24 @@ +# TravelProposalGroupAndMeetingBreakOutRoom + +Break-out room information. + +## Example Usage + +```typescript +import { TravelProposalGroupAndMeetingBreakOutRoom } from "@cvent/sdk/models/components"; + +let value: TravelProposalGroupAndMeetingBreakOutRoom = { + price10PersonRoom: 100, + price25PersonRoom: 100, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `tenPersonRoomIncluded` | *boolean* | :heavy_minus_sign: | True indicates a 10 person room is included. | | +| `price10PersonRoom` | *number* | :heavy_minus_sign: | Price for 10 person room. | 100 | +| `twentyFivePersonRoomIncluded` | *boolean* | :heavy_minus_sign: | True indicates a 25 person room included. | | +| `price25PersonRoom` | *number* | :heavy_minus_sign: | Price for 25 person room. | 100 | +| `permanentBoardRoomSetUp` | *boolean* | :heavy_minus_sign: | True indicates there is a permanent board room set up. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelproposalgroupandmeetingdaydelegaterate.md b/packages/typescript/docs/models/components/travelproposalgroupandmeetingdaydelegaterate.md new file mode 100644 index 000000000..a15ca7048 --- /dev/null +++ b/packages/typescript/docs/models/components/travelproposalgroupandmeetingdaydelegaterate.md @@ -0,0 +1,25 @@ +# TravelProposalGroupAndMeetingDayDelegateRate + +Day delegate rate information. This represents the costs for hosting meeting at the venue for a half or full day. + +## Example Usage + +```typescript +import { TravelProposalGroupAndMeetingDayDelegateRate } from "@cvent/sdk/models/components"; + +let value: TravelProposalGroupAndMeetingDayDelegateRate = { + fullDay10To50People: 100, + fullDay51To100People: 200, + halfDay10To50People: 50, + halfDay51To100People: 100, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| `fullDay10To50People` | *number* | :heavy_minus_sign: | Full day delegate rate for 10 to 50 people. | 100 | +| `fullDay51To100People` | *number* | :heavy_minus_sign: | Full day delegate rate for 51 to 100 people. | 200 | +| `halfDay10To50People` | *number* | :heavy_minus_sign: | Half day delegate rate for 10 to 50 people. | 50 | +| `halfDay51To100People` | *number* | :heavy_minus_sign: | Half day delegate rate for 51 to 100 people. | 100 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelproposalgroupandmeetingmeetingroombasicinformation.md b/packages/typescript/docs/models/components/travelproposalgroupandmeetingmeetingroombasicinformation.md new file mode 100644 index 000000000..308209ca0 --- /dev/null +++ b/packages/typescript/docs/models/components/travelproposalgroupandmeetingmeetingroombasicinformation.md @@ -0,0 +1,23 @@ +# TravelProposalGroupAndMeetingMeetingRoomBasicInformation + +Meeting room basic information. + +## Example Usage + +```typescript +import { TravelProposalGroupAndMeetingMeetingRoomBasicInformation } from "@cvent/sdk/models/components"; + +let value: TravelProposalGroupAndMeetingMeetingRoomBasicInformation = { + largestMeetingRoom: 1000, + unitOfMeasurement: "sq.ft.", + meetingRooms: 10, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | +| `largestMeetingRoom` | *number* | :heavy_minus_sign: | Size of the largest meeting room. Units of measurement determined by `unitOfMeasurement` field. | 1000 | +| `unitOfMeasurement` | *string* | :heavy_minus_sign: | Unit of measurement of the `largestMeetingRoom`'s size. | sq.ft. | +| `meetingRooms` | *number* | :heavy_minus_sign: | Total number of meeting rooms. | 10 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelproposalgroupandmeetingrunofhouserate.md b/packages/typescript/docs/models/components/travelproposalgroupandmeetingrunofhouserate.md new file mode 100644 index 000000000..40735925c --- /dev/null +++ b/packages/typescript/docs/models/components/travelproposalgroupandmeetingrunofhouserate.md @@ -0,0 +1,37 @@ +# TravelProposalGroupAndMeetingRunOfHouseRate + +Run of house rate information. + +## Example Usage + +```typescript +import { TravelProposalGroupAndMeetingRunOfHouseRate } from "@cvent/sdk/models/components"; + +let value: TravelProposalGroupAndMeetingRunOfHouseRate = { + seasonOne10To50People: 100, + seasonOne51To100People: 200, + seasonTwo10To50People: 300, + seasonTwo51To100People: 400, + seasonThree10To50People: 500, + seasonThree51To100People: 600, + seasonFour10To50People: 700, + seasonFour51To100People: 800, + seasonFive10To50People: 900, + seasonFive51To100People: 1000, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | +| `seasonOne10To50People` | *number* | :heavy_minus_sign: | Season one run of house rate for 10-50 people. | 100 | +| `seasonOne51To100People` | *number* | :heavy_minus_sign: | Season one run of house rate for 51-100 people. | 200 | +| `seasonTwo10To50People` | *number* | :heavy_minus_sign: | Season two run of house rate for 10-50 people. | 300 | +| `seasonTwo51To100People` | *number* | :heavy_minus_sign: | Season two run of house rate for 51-100 people. | 400 | +| `seasonThree10To50People` | *number* | :heavy_minus_sign: | Season three run of house rate for 10-50 people. | 500 | +| `seasonThree51To100People` | *number* | :heavy_minus_sign: | Season three run of house rate for 51-100 people. | 600 | +| `seasonFour10To50People` | *number* | :heavy_minus_sign: | Season four run of house rate for 10-50 people. | 700 | +| `seasonFour51To100People` | *number* | :heavy_minus_sign: | Season four run of house rate for 51-100 people. | 800 | +| `seasonFive10To50People` | *number* | :heavy_minus_sign: | Season five run of house rate for 10-50 people. | 900 | +| `seasonFive51To100People` | *number* | :heavy_minus_sign: | Season five run of house rate for 51-100 people. | 1000 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelproposalgroupandmeetingtaxandservicecharge.md b/packages/typescript/docs/models/components/travelproposalgroupandmeetingtaxandservicecharge.md new file mode 100644 index 000000000..b194cec23 --- /dev/null +++ b/packages/typescript/docs/models/components/travelproposalgroupandmeetingtaxandservicecharge.md @@ -0,0 +1,25 @@ +# TravelProposalGroupAndMeetingTaxAndServiceCharge + +Tax and service charge information. + +## Example Usage + +```typescript +import { TravelProposalGroupAndMeetingTaxAndServiceCharge } from "@cvent/sdk/models/components"; + +let value: TravelProposalGroupAndMeetingTaxAndServiceCharge = { + taxAmount: 0, + serviceChargeAmount: 1, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `taxAmount` | *number* | :heavy_minus_sign: | Tax amount. | 0 | +| `taxPercent` | *boolean* | :heavy_minus_sign: | True indicates the tax amount represents a percentage, instead of a monetary value. | | +| `taxIncluded` | *boolean* | :heavy_minus_sign: | True indicates the tax included. | | +| `serviceChargeAmount` | *number* | :heavy_minus_sign: | Service charge amount. | 1 | +| `serviceChargePercent` | *boolean* | :heavy_minus_sign: | True indicates the service charge amount represents a percentage, instead of a monetary value | | +| `serviceChargeIncluded` | *boolean* | :heavy_minus_sign: | True indicates the service charge is included. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelproposalpaginatedresponse.md b/packages/typescript/docs/models/components/travelproposalpaginatedresponse.md index 63f31f84d..7bbb2c5c5 100644 --- a/packages/typescript/docs/models/components/travelproposalpaginatedresponse.md +++ b/packages/typescript/docs/models/components/travelproposalpaginatedresponse.md @@ -129,5 +129,5 @@ let value: TravelProposalPaginatedResponse = { | Field | Type | Required | Description | | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | | `data` | [components.TravelProposal](../../models/components/travelproposal.md)[] | :heavy_minus_sign: | Paginated list of business transient proposals. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelrunofhouseratejson.md b/packages/typescript/docs/models/components/travelrunofhouseratejson.md deleted file mode 100644 index 7d16ceb88..000000000 --- a/packages/typescript/docs/models/components/travelrunofhouseratejson.md +++ /dev/null @@ -1,37 +0,0 @@ -# TravelRunOfHouseRateJson - -Run of house rate information. - -## Example Usage - -```typescript -import { TravelRunOfHouseRateJson } from "@cvent/sdk/models/components"; - -let value: TravelRunOfHouseRateJson = { - seasonOne10To50People: 100, - seasonOne51To100People: 200, - seasonTwo10To50People: 300, - seasonTwo51To100People: 400, - seasonThree10To50People: 500, - seasonThree51To100People: 600, - seasonFour10To50People: 700, - seasonFour51To100People: 800, - seasonFive10To50People: 900, - seasonFive51To100People: 1000, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | -| `seasonOne10To50People` | *number* | :heavy_minus_sign: | Season one run of house rate for 10-50 people. | 100 | -| `seasonOne51To100People` | *number* | :heavy_minus_sign: | Season one run of house rate for 51-100 people. | 200 | -| `seasonTwo10To50People` | *number* | :heavy_minus_sign: | Season two run of house rate for 10-50 people. | 300 | -| `seasonTwo51To100People` | *number* | :heavy_minus_sign: | Season two run of house rate for 51-100 people. | 400 | -| `seasonThree10To50People` | *number* | :heavy_minus_sign: | Season three run of house rate for 10-50 people. | 500 | -| `seasonThree51To100People` | *number* | :heavy_minus_sign: | Season three run of house rate for 51-100 people. | 600 | -| `seasonFour10To50People` | *number* | :heavy_minus_sign: | Season four run of house rate for 10-50 people. | 700 | -| `seasonFour51To100People` | *number* | :heavy_minus_sign: | Season four run of house rate for 51-100 people. | 800 | -| `seasonFive10To50People` | *number* | :heavy_minus_sign: | Season five run of house rate for 10-50 people. | 900 | -| `seasonFive51To100People` | *number* | :heavy_minus_sign: | Season five run of house rate for 51-100 people. | 1000 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/traveltaxandservicechargejson.md b/packages/typescript/docs/models/components/traveltaxandservicechargejson.md deleted file mode 100644 index 2363cd45c..000000000 --- a/packages/typescript/docs/models/components/traveltaxandservicechargejson.md +++ /dev/null @@ -1,25 +0,0 @@ -# TravelTaxAndServiceChargeJson - -Tax and service charge information. - -## Example Usage - -```typescript -import { TravelTaxAndServiceChargeJson } from "@cvent/sdk/models/components"; - -let value: TravelTaxAndServiceChargeJson = { - taxAmount: 0, - serviceChargeAmount: 1, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `taxAmount` | *number* | :heavy_minus_sign: | Tax amount. | 0 | -| `taxPercent` | *boolean* | :heavy_minus_sign: | True indicates the tax amount represents a percentage, instead of a monetary value. | | -| `taxIncluded` | *boolean* | :heavy_minus_sign: | True indicates the tax included. | | -| `serviceChargeAmount` | *number* | :heavy_minus_sign: | Service charge amount. | 1 | -| `serviceChargePercent` | *boolean* | :heavy_minus_sign: | True indicates the service charge amount represents a percentage, instead of a monetary value | | -| `serviceChargeIncluded` | *boolean* | :heavy_minus_sign: | True indicates the service charge is included. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/unitposition.md b/packages/typescript/docs/models/components/unitposition.md new file mode 100644 index 000000000..e31c0e083 --- /dev/null +++ b/packages/typescript/docs/models/components/unitposition.md @@ -0,0 +1,17 @@ +# UnitPosition + +Unit position used for text box question type. + +## Example Usage + +```typescript +import { UnitPosition } from "@cvent/sdk/models/components"; + +let value: UnitPosition = "Left"; +``` + +## Values + +```typescript +"Left" | "Right" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/unitpositionjson.md b/packages/typescript/docs/models/components/unitpositionjson.md deleted file mode 100644 index 594725bba..000000000 --- a/packages/typescript/docs/models/components/unitpositionjson.md +++ /dev/null @@ -1,17 +0,0 @@ -# UnitPositionJson - -Unit position used for text box question type. - -## Example Usage - -```typescript -import { UnitPositionJson } from "@cvent/sdk/models/components"; - -let value: UnitPositionJson = "Left"; -``` - -## Values - -```typescript -"Left" | "Right" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/updatedthroughnameproperty.md b/packages/typescript/docs/models/components/updatedthroughnameproperty.md new file mode 100644 index 000000000..d872849dd --- /dev/null +++ b/packages/typescript/docs/models/components/updatedthroughnameproperty.md @@ -0,0 +1,17 @@ +# UpdatedThroughNameProperty + +Name of the place where this change was updated through. + +## Example Usage + +```typescript +import { UpdatedThroughNameProperty } from "@cvent/sdk/models/components"; + +let value: UpdatedThroughNameProperty = "Address Book Profile"; +``` + +## Values + +```typescript +"Abstract Guest Side Author Update" | "Abstract Guest Side Reviewer Update" | "Abstract Guest Side User" | "Abstract Planner side" | "Address Book Profile" | "Amex Card Delete" | "Amex Card Insert" | "Amex Card Update" | "Answers Replaced from Administration" | "Appointment Guest Side" | "Attendee Hub" | "Budget Allocation Update" | "Budget Attendee Update" | "Budget Item Custom Field Answers Replaced from Administration" | "Budget Item Delete" | "Budget Item Duplicate" | "Budget Item Import" | "Budget Item Insert via REST API" | "Budget Item Insert" | "Budget Item Single Update" | "Budget Item Template Import" | "Budget Item Update via REST API" | "Budget Items Bulk Assign Vendor" | "Budget Items Bulk Copy Cost label" | "Budget Items Bulk Copy" | "Budget Items Bulk Delete" | "Budget Items Bulk Update" | "Budget Version Update" | "Bulk Update Contact Field Answer" | "Concur Reconciliation - Create New Budget Item For Each Expense" | "Concur Reconciliation - Map to Existing Budget Item" | "Confirm Opt In Email" | "Contact Import" | "Contact New Membership" | "Contact Pending Obfuscation" | "Contact Website Profile Update" | "Created Within Meeting Request" | "Created from API" | "Created from Request Website" | "Crowd Compass Profile Update" | "Custom Field Added From Admin" | "Custom Field Added via REST API" | "Custom Field Deleted From Admin" | "Custom Field Modified From Admin" | "Custom Field Modified via REST API" | "Deleted Within Administration" | "Deleted from Meeting Request Form" | "Deleted from Request Website" | "Deleted within Meeting Request" | "Event Automatically Created from Meeting Request" | "Event Created from API" | "Event Created from Event Wizard" | "Event Guest Side Modification" | "Event Guest Side Registration" | "Event Import" | "Event Modified from Meeting Request via API" | "Event Modified from Meeting Request" | "Event Onsite Registration" | "Event POST" | "Event Planner Contact Information Update" | "Event Planner Side Modification" | "Event Planner Side Registration" | "Hotel Request Import" | "Marketo Contact Import" | "Modified Within Event" | "Modified Within Meeting Request" | "Modified from API" | "Modified from Event Documents" | "Modified from Meeting Request via Notification" | "Modified from Request Website" | "Registration Import" | "REST API" | "Salesforce Integration" | "Survey Author Modification" | "Survey Author Response" | "Survey Guest Side Modification" | "Survey Guest Side Response" | "Survey POST" | "Travel Cost Import - Map to Existing Budget item" | "Travel Cost Import - Map to New Budget Item" | "VCN Transaction - Create New Budget Item For Each Transaction" | "VCN Transaction - Map to Multiple Budget Item" | "VCN Transaction - Map to Single Budget Item" | "VCN Transaction - Removed from Budget Item" | "Web Services" | "eMarketing Profile Update" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/updatedthroughnamepropertyjson.md b/packages/typescript/docs/models/components/updatedthroughnamepropertyjson.md deleted file mode 100644 index b7b6e119e..000000000 --- a/packages/typescript/docs/models/components/updatedthroughnamepropertyjson.md +++ /dev/null @@ -1,17 +0,0 @@ -# UpdatedThroughNamePropertyJson - -Name of the place where this change was updated through. - -## Example Usage - -```typescript -import { UpdatedThroughNamePropertyJson } from "@cvent/sdk/models/components"; - -let value: UpdatedThroughNamePropertyJson = "Address Book Profile"; -``` - -## Values - -```typescript -"Abstract Guest Side Author Update" | "Abstract Guest Side Reviewer Update" | "Abstract Guest Side User" | "Abstract Planner side" | "Address Book Profile" | "Amex Card Delete" | "Amex Card Insert" | "Amex Card Update" | "Answers Replaced from Administration" | "Appointment Guest Side" | "Attendee Hub" | "Budget Allocation Update" | "Budget Attendee Update" | "Budget Item Custom Field Answers Replaced from Administration" | "Budget Item Delete" | "Budget Item Duplicate" | "Budget Item Import" | "Budget Item Insert via REST API" | "Budget Item Insert" | "Budget Item Single Update" | "Budget Item Template Import" | "Budget Item Update via REST API" | "Budget Items Bulk Assign Vendor" | "Budget Items Bulk Copy Cost label" | "Budget Items Bulk Copy" | "Budget Items Bulk Delete" | "Budget Items Bulk Update" | "Budget Version Update" | "Bulk Update Contact Field Answer" | "Concur Reconciliation - Create New Budget Item For Each Expense" | "Concur Reconciliation - Map to Existing Budget Item" | "Confirm Opt In Email" | "Contact Import" | "Contact New Membership" | "Contact Pending Obfuscation" | "Contact Website Profile Update" | "Created Within Meeting Request" | "Created from API" | "Created from Request Website" | "Crowd Compass Profile Update" | "Custom Field Added From Admin" | "Custom Field Added via REST API" | "Custom Field Deleted From Admin" | "Custom Field Modified From Admin" | "Custom Field Modified via REST API" | "Deleted Within Administration" | "Deleted from Meeting Request Form" | "Deleted from Request Website" | "Deleted within Meeting Request" | "Event Automatically Created from Meeting Request" | "Event Created from API" | "Event Created from Event Wizard" | "Event Guest Side Modification" | "Event Guest Side Registration" | "Event Import" | "Event Modified from Meeting Request via API" | "Event Modified from Meeting Request" | "Event Onsite Registration" | "Event POST" | "Event Planner Contact Information Update" | "Event Planner Side Modification" | "Event Planner Side Registration" | "Hotel Request Import" | "Marketo Contact Import" | "Modified Within Event" | "Modified Within Meeting Request" | "Modified from API" | "Modified from Event Documents" | "Modified from Meeting Request via Notification" | "Modified from Request Website" | "Registration Import" | "REST API" | "Salesforce Integration" | "Survey Author Modification" | "Survey Author Response" | "Survey Guest Side Modification" | "Survey Guest Side Response" | "Survey POST" | "Travel Cost Import - Map to Existing Budget item" | "Travel Cost Import - Map to New Budget Item" | "VCN Transaction - Create New Budget Item For Each Transaction" | "VCN Transaction - Map to Multiple Budget Item" | "VCN Transaction - Map to Single Budget Item" | "VCN Transaction - Removed from Budget Item" | "Web Services" | "eMarketing Profile Update" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/user.md b/packages/typescript/docs/models/components/user.md index df3adbcf7..99d115e7c 100644 --- a/packages/typescript/docs/models/components/user.md +++ b/packages/typescript/docs/models/components/user.md @@ -74,7 +74,7 @@ let value: User = { | `emails` | [components.EmailJson1](../../models/components/emailjson1.md)[] | :heavy_check_mark: | The email of the user. The Cvent user can have only one email address.
If multiple email addresses are provided, only one is accepted and rest are ignored. One email is selected based on the following sequence of criteria: primary email, then work type, and finally first in the sequence. | | | `title` | *string* | :heavy_minus_sign: | The title of the user. | Vice President | | `phoneNumbers` | [components.PhoneNumberJson1](../../models/components/phonenumberjson1.md)[] | :heavy_minus_sign: | The phone numbers of the user.
If more than one number per type is provided, only one is accepted and rest are ignored. | | -| `addresses` | [components.AddressJson4](../../models/components/addressjson4.md)[] | :heavy_minus_sign: | The address of the user. The user can have only one address.
If multiple addresses are provided, only one is accepted and rest are ignored. One address is selected based on the following sequence of criteria: primary, work type, first in the sequence | | +| `addresses` | [components.AddressJson2](../../models/components/addressjson2.md)[] | :heavy_minus_sign: | The address of the user. The user can have only one address.
If multiple addresses are provided, only one is accepted and rest are ignored. One address is selected based on the following sequence of criteria: primary, work type, first in the sequence | | | `userType` | [components.UserTypeJson](../../models/components/usertypejson.md) | :heavy_check_mark: | The type of the user. | Planner Account User | | `timezone` | *string* | :heavy_minus_sign: | List of Timezones supported. | America/New_York | | `locale` | *string* | :heavy_check_mark: | The locale of the user. The IETF Language Tag format is used. | en-US | diff --git a/packages/typescript/docs/models/components/userinput.md b/packages/typescript/docs/models/components/userinput.md index 2698ebfcf..9cce4dc6e 100644 --- a/packages/typescript/docs/models/components/userinput.md +++ b/packages/typescript/docs/models/components/userinput.md @@ -62,7 +62,7 @@ let value: UserInput = { | `emails` | [components.EmailJson1](../../models/components/emailjson1.md)[] | :heavy_check_mark: | The email of the user. The Cvent user can have only one email address.
If multiple email addresses are provided, only one is accepted and rest are ignored. One email is selected based on the following sequence of criteria: primary email, then work type, and finally first in the sequence. | | | `title` | *string* | :heavy_minus_sign: | The title of the user. | Vice President | | `phoneNumbers` | [components.PhoneNumberJson1](../../models/components/phonenumberjson1.md)[] | :heavy_minus_sign: | The phone numbers of the user.
If more than one number per type is provided, only one is accepted and rest are ignored. | | -| `addresses` | [components.AddressJson4](../../models/components/addressjson4.md)[] | :heavy_minus_sign: | The address of the user. The user can have only one address.
If multiple addresses are provided, only one is accepted and rest are ignored. One address is selected based on the following sequence of criteria: primary, work type, first in the sequence | | +| `addresses` | [components.AddressJson2](../../models/components/addressjson2.md)[] | :heavy_minus_sign: | The address of the user. The user can have only one address.
If multiple addresses are provided, only one is accepted and rest are ignored. One address is selected based on the following sequence of criteria: primary, work type, first in the sequence | | | `userType` | [components.UserTypeJson](../../models/components/usertypejson.md) | :heavy_check_mark: | The type of the user. | Planner Account User | | `timezone` | *string* | :heavy_minus_sign: | List of Timezones supported. | America/New_York | | `locale` | *string* | :heavy_check_mark: | The locale of the user. The IETF Language Tag format is used. | en-US | diff --git a/packages/typescript/docs/models/components/userjson.md b/packages/typescript/docs/models/components/userjson.md index d9c588fde..e005c2c92 100644 --- a/packages/typescript/docs/models/components/userjson.md +++ b/packages/typescript/docs/models/components/userjson.md @@ -74,7 +74,7 @@ let value: UserJson = { | `emails` | [components.EmailJson1](../../models/components/emailjson1.md)[] | :heavy_check_mark: | The email of the user. The Cvent user can have only one email address.
If multiple email addresses are provided, only one is accepted and rest are ignored. One email is selected based on the following sequence of criteria: primary email, then work type, and finally first in the sequence. | | | `title` | *string* | :heavy_minus_sign: | The title of the user. | Vice President | | `phoneNumbers` | [components.PhoneNumberJson1](../../models/components/phonenumberjson1.md)[] | :heavy_minus_sign: | The phone numbers of the user.
If more than one number per type is provided, only one is accepted and rest are ignored. | | -| `addresses` | [components.AddressJson4](../../models/components/addressjson4.md)[] | :heavy_minus_sign: | The address of the user. The user can have only one address.
If multiple addresses are provided, only one is accepted and rest are ignored. One address is selected based on the following sequence of criteria: primary, work type, first in the sequence | | +| `addresses` | [components.AddressJson2](../../models/components/addressjson2.md)[] | :heavy_minus_sign: | The address of the user. The user can have only one address.
If multiple addresses are provided, only one is accepted and rest are ignored. One address is selected based on the following sequence of criteria: primary, work type, first in the sequence | | | `userType` | [components.UserTypeJson](../../models/components/usertypejson.md) | :heavy_check_mark: | The type of the user. | Planner Account User | | `timezone` | *string* | :heavy_minus_sign: | List of Timezones supported. | America/New_York | | `locale` | *string* | :heavy_check_mark: | The locale of the user. The IETF Language Tag format is used. | en-US | diff --git a/packages/typescript/docs/models/components/video1.md b/packages/typescript/docs/models/components/video1.md new file mode 100644 index 000000000..1929461eb --- /dev/null +++ b/packages/typescript/docs/models/components/video1.md @@ -0,0 +1,19 @@ +# Video1 + +The details of a video + +## Example Usage + +```typescript +import { Video1 } from "@cvent/sdk/models/components"; + +let value: Video1 = { + id: "456e4567-e89b-12d3-a456-426614174000", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_minus_sign: | The unique ID of the video. | 456e4567-e89b-12d3-a456-426614174000 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videoassetid.md b/packages/typescript/docs/models/components/videoassetid.md new file mode 100644 index 000000000..2c04177c8 --- /dev/null +++ b/packages/typescript/docs/models/components/videoassetid.md @@ -0,0 +1,19 @@ +# VideoAssetID + +Video that this asset was created with. + +## Example Usage + +```typescript +import { VideoAssetID } from "@cvent/sdk/models/components"; + +let value: VideoAssetID = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_check_mark: | The identifier of a video. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videoassetidjson.md b/packages/typescript/docs/models/components/videoassetidjson.md deleted file mode 100644 index eebdc9cea..000000000 --- a/packages/typescript/docs/models/components/videoassetidjson.md +++ /dev/null @@ -1,19 +0,0 @@ -# VideoAssetIdJson - -Video that this asset was created with. - -## Example Usage - -```typescript -import { VideoAssetIdJson } from "@cvent/sdk/models/components"; - -let value: VideoAssetIdJson = { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *string* | :heavy_check_mark: | The identifier of a video. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videoclip.md b/packages/typescript/docs/models/components/videoclip.md new file mode 100644 index 000000000..0bc429469 --- /dev/null +++ b/packages/typescript/docs/models/components/videoclip.md @@ -0,0 +1,21 @@ +# VideoClip + +Video clip details. + +## Example Usage + +```typescript +import { VideoClip } from "@cvent/sdk/models/components"; + +let value: VideoClip = { + start: "00:01:01:00", + end: "00:05:00:00", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `start` | *string* | :heavy_minus_sign: | The timecode to start the clip in HH:MM:SS:FF format | 00:01:01:00 | +| `end` | *string* | :heavy_minus_sign: | The timecode to end the clip in HH:MM:SS:FF format. | 00:05:00:00 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videoclipjson.md b/packages/typescript/docs/models/components/videoclipjson.md deleted file mode 100644 index 81d749d32..000000000 --- a/packages/typescript/docs/models/components/videoclipjson.md +++ /dev/null @@ -1,21 +0,0 @@ -# VideoClipJson - -Video clip details. - -## Example Usage - -```typescript -import { VideoClipJson } from "@cvent/sdk/models/components"; - -let value: VideoClipJson = { - start: "00:01:01:00", - end: "00:05:00:00", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | -| `start` | *string* | :heavy_minus_sign: | The timecode to start the clip in HH:MM:SS:FF format | 00:01:01:00 | -| `end` | *string* | :heavy_minus_sign: | The timecode to end the clip in HH:MM:SS:FF format. | 00:05:00:00 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videoerror.md b/packages/typescript/docs/models/components/videoerror.md new file mode 100644 index 000000000..6d07f97f7 --- /dev/null +++ b/packages/typescript/docs/models/components/videoerror.md @@ -0,0 +1,21 @@ +# VideoError + +This is used to denote the errors for a video entity. + +## Example Usage + +```typescript +import { VideoError } from "@cvent/sdk/models/components"; + +let value: VideoError = { + code: 601, + message: "Transcoding failed due to an unsupported video codec.", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `code` | [components.VideoErrorCode](../../models/components/videoerrorcode.md) | :heavy_check_mark: | This is used to denote the error codes for a video entity. | 601 | +| `message` | *string* | :heavy_check_mark: | Error message for the video. Message is a developer convenience never to be used in any context that needs localisation, subject to change at any time. | Transcoding failed due to an unsupported video codec. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videoerrorcode.md b/packages/typescript/docs/models/components/videoerrorcode.md new file mode 100644 index 000000000..15109d9f9 --- /dev/null +++ b/packages/typescript/docs/models/components/videoerrorcode.md @@ -0,0 +1,17 @@ +# VideoErrorCode + +This is used to denote the error codes for a video entity. + +## Example Usage + +```typescript +import { VideoErrorCode } from "@cvent/sdk/models/components"; + +let value: VideoErrorCode = 601; +``` + +## Values + +```typescript +600 | 601 | 602 | 603 | 604 | 605 | 606 | 607 | 608 +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videoerrorcodejson.md b/packages/typescript/docs/models/components/videoerrorcodejson.md deleted file mode 100644 index 61d04b1bb..000000000 --- a/packages/typescript/docs/models/components/videoerrorcodejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# VideoErrorCodeJson - -This is used to denote the error codes for a video entity. - -## Example Usage - -```typescript -import { VideoErrorCodeJson } from "@cvent/sdk/models/components"; - -let value: VideoErrorCodeJson = 601; -``` - -## Values - -```typescript -600 | 601 | 602 | 603 | 604 | 605 | 606 | 607 | 608 -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videoerrorjson.md b/packages/typescript/docs/models/components/videoerrorjson.md deleted file mode 100644 index fc06738da..000000000 --- a/packages/typescript/docs/models/components/videoerrorjson.md +++ /dev/null @@ -1,21 +0,0 @@ -# VideoErrorJson - -This is used to denote the errors for a video entity. - -## Example Usage - -```typescript -import { VideoErrorJson } from "@cvent/sdk/models/components"; - -let value: VideoErrorJson = { - code: 601, - message: "Transcoding failed due to an unsupported video codec.", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `code` | [components.VideoErrorCodeJson](../../models/components/videoerrorcodejson.md) | :heavy_check_mark: | This is used to denote the error codes for a video entity. | 601 | -| `message` | *string* | :heavy_check_mark: | Error message for the video. Message is a developer convenience never to be used in any context that needs localisation, subject to change at any time. | Transcoding failed due to an unsupported video codec. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videojson.md b/packages/typescript/docs/models/components/videojson.md deleted file mode 100644 index abc4c2f99..000000000 --- a/packages/typescript/docs/models/components/videojson.md +++ /dev/null @@ -1,19 +0,0 @@ -# VideoJson - -The details of a video - -## Example Usage - -```typescript -import { VideoJson } from "@cvent/sdk/models/components"; - -let value: VideoJson = { - id: "456e4567-e89b-12d3-a456-426614174000", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | The unique ID of the video. | 456e4567-e89b-12d3-a456-426614174000 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videorendition.md b/packages/typescript/docs/models/components/videorendition.md new file mode 100644 index 000000000..3da0494d9 --- /dev/null +++ b/packages/typescript/docs/models/components/videorendition.md @@ -0,0 +1,40 @@ +# VideoRendition + +Video rendition + +## Example Usage + +```typescript +import { VideoRendition } from "@cvent/sdk/models/components"; + +let value: VideoRendition = { + created: new Date("2017-01-02T02:00:00Z"), + createdBy: "hporter", + lastModified: new Date("2019-02-12T03:00:00Z"), + lastModifiedBy: "hporter", + video: { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + }, + type: "Hls", + location: { + href: + "https://example.com/M8/7f378243-2c62-49fa-82e9-90e5498d30c3?Policy=eyJTdGF0ZW1lbnUysx5cE4-KWfUQ__&Key-Pair-Id=K6XDZ8UJY4Q0X", + }, + width: 300, + height: 400, +}; +``` + +## 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 | +| `video` | [components.VideoAssetID](../../models/components/videoassetid.md) | :heavy_minus_sign: | Video that this asset was created with. | | +| `type` | [components.VideoRenditionType](../../models/components/videorenditiontype.md) | :heavy_minus_sign: | Denotes the type of rendition. | Hls | +| `location` | [components.VideoRenditionLink](../../models/components/videorenditionlink.md) | :heavy_minus_sign: | Location where the rendition is stored. | | +| `width` | *number* | :heavy_minus_sign: | The video's frame width in pixels. | 300 | +| `height` | *number* | :heavy_minus_sign: | The video's frame height in pixels. | 400 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videorenditionjson.md b/packages/typescript/docs/models/components/videorenditionjson.md deleted file mode 100644 index 80b58754b..000000000 --- a/packages/typescript/docs/models/components/videorenditionjson.md +++ /dev/null @@ -1,40 +0,0 @@ -# VideoRenditionJson - -Video rendition - -## Example Usage - -```typescript -import { VideoRenditionJson } from "@cvent/sdk/models/components"; - -let value: VideoRenditionJson = { - created: new Date("2017-01-02T02:00:00Z"), - createdBy: "hporter", - lastModified: new Date("2019-02-12T03:00:00Z"), - lastModifiedBy: "hporter", - video: { - id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", - }, - type: "Hls", - location: { - href: - "https://example.com/M8/7f378243-2c62-49fa-82e9-90e5498d30c3?Policy=eyJTdGF0ZW1lbnUysx5cE4-KWfUQ__&Key-Pair-Id=K6XDZ8UJY4Q0X", - }, - width: 300, - height: 400, -}; -``` - -## 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 | -| `video` | [components.VideoAssetIdJson](../../models/components/videoassetidjson.md) | :heavy_minus_sign: | Video that this asset was created with. | | -| `type` | [components.VideoRenditionTypeJson](../../models/components/videorenditiontypejson.md) | :heavy_minus_sign: | Denotes the type of rendition. | Hls | -| `location` | [components.VideoRenditionJsonLink](../../models/components/videorenditionjsonlink.md) | :heavy_minus_sign: | Location where the rendition is stored. | | -| `width` | *number* | :heavy_minus_sign: | The video's frame width in pixels. | 300 | -| `height` | *number* | :heavy_minus_sign: | The video's frame height in pixels. | 400 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videorenditionjsonlink.md b/packages/typescript/docs/models/components/videorenditionjsonlink.md deleted file mode 100644 index 03a4afef5..000000000 --- a/packages/typescript/docs/models/components/videorenditionjsonlink.md +++ /dev/null @@ -1,20 +0,0 @@ -# VideoRenditionJsonLink - -Location where the rendition is stored. - -## Example Usage - -```typescript -import { VideoRenditionJsonLink } from "@cvent/sdk/models/components"; - -let value: VideoRenditionJsonLink = { - href: - "https://example.com/M8/7f378243-2c62-49fa-82e9-90e5498d30c3?Policy=eyJTdGF0ZW1lbnUysx5cE4-KWfUQ__&Key-Pair-Id=K6XDZ8UJY4Q0X", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | -| `href` | *string* | :heavy_check_mark: | A pre-signed URL with an expiration of 2 hours that provides the location. | https://example.com/M8/7f378243-2c62-49fa-82e9-90e5498d30c3?Policy=eyJTdGF0ZW1lbnUysx5cE4-KWfUQ__&Key-Pair-Id=K6XDZ8UJY4Q0X | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videorenditionlink.md b/packages/typescript/docs/models/components/videorenditionlink.md new file mode 100644 index 000000000..94eaa6312 --- /dev/null +++ b/packages/typescript/docs/models/components/videorenditionlink.md @@ -0,0 +1,20 @@ +# VideoRenditionLink + +Location where the rendition is stored. + +## Example Usage + +```typescript +import { VideoRenditionLink } from "@cvent/sdk/models/components"; + +let value: VideoRenditionLink = { + href: + "https://example.com/M8/7f378243-2c62-49fa-82e9-90e5498d30c3?Policy=eyJTdGF0ZW1lbnUysx5cE4-KWfUQ__&Key-Pair-Id=K6XDZ8UJY4Q0X", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | +| `href` | *string* | :heavy_check_mark: | A pre-signed URL with an expiration of 2 hours that provides the location. | https://example.com/M8/7f378243-2c62-49fa-82e9-90e5498d30c3?Policy=eyJTdGF0ZW1lbnUysx5cE4-KWfUQ__&Key-Pair-Id=K6XDZ8UJY4Q0X | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videorenditionsresponse.md b/packages/typescript/docs/models/components/videorenditionsresponse.md index 456281d47..710af9bae 100644 --- a/packages/typescript/docs/models/components/videorenditionsresponse.md +++ b/packages/typescript/docs/models/components/videorenditionsresponse.md @@ -31,6 +31,6 @@ let value: VideoRenditionsResponse = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `data` | [components.VideoRenditionJson](../../models/components/videorenditionjson.md)[] | :heavy_minus_sign: | Collection of video renditions. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `data` | [components.VideoRendition](../../models/components/videorendition.md)[] | :heavy_minus_sign: | Collection of video renditions. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videorenditiontype.md b/packages/typescript/docs/models/components/videorenditiontype.md new file mode 100644 index 000000000..99194af90 --- /dev/null +++ b/packages/typescript/docs/models/components/videorenditiontype.md @@ -0,0 +1,17 @@ +# VideoRenditionType + +Denotes the type of rendition. + +## Example Usage + +```typescript +import { VideoRenditionType } from "@cvent/sdk/models/components"; + +let value: VideoRenditionType = "Hls"; +``` + +## Values + +```typescript +"Hls" | "HlsMaster" | "Mp4" | "Poster" | "Mp4Preview" | "Mp3" | "Audio" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videorenditiontypejson.md b/packages/typescript/docs/models/components/videorenditiontypejson.md deleted file mode 100644 index b7a9f0f71..000000000 --- a/packages/typescript/docs/models/components/videorenditiontypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# VideoRenditionTypeJson - -Denotes the type of rendition. - -## Example Usage - -```typescript -import { VideoRenditionTypeJson } from "@cvent/sdk/models/components"; - -let value: VideoRenditionTypeJson = "Hls"; -``` - -## Values - -```typescript -"Hls" | "HlsMaster" | "Mp4" | "Poster" | "Mp4Preview" | "Mp3" | "Audio" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videosource.md b/packages/typescript/docs/models/components/videosource.md new file mode 100644 index 000000000..26418eac9 --- /dev/null +++ b/packages/typescript/docs/models/components/videosource.md @@ -0,0 +1,21 @@ +# VideoSource + +Source of video. + +## Example Usage + +```typescript +import { VideoSource } from "@cvent/sdk/models/components"; + +let value: VideoSource = { + id: "VD134567", + status: "Active", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | The id of a video in the external system | VD134567 | +| `status` | [components.VideoSourceStatus](../../models/components/videosourcestatus.md) | :heavy_minus_sign: | Denotes the status of the video in the third-party system. | Active | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videosourcejson.md b/packages/typescript/docs/models/components/videosourcejson.md deleted file mode 100644 index a18f61326..000000000 --- a/packages/typescript/docs/models/components/videosourcejson.md +++ /dev/null @@ -1,21 +0,0 @@ -# VideoSourceJson - -Source of video. - -## Example Usage - -```typescript -import { VideoSourceJson } from "@cvent/sdk/models/components"; - -let value: VideoSourceJson = { - id: "VD134567", - status: "Active", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | The id of a video in the external system | VD134567 | -| `status` | [components.VideoSourceJsonStatus](../../models/components/videosourcejsonstatus.md) | :heavy_minus_sign: | Denotes the status of the video in the third-party system. | Active | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videosourcejsonstatus.md b/packages/typescript/docs/models/components/videosourcejsonstatus.md deleted file mode 100644 index 7b6cbbdcb..000000000 --- a/packages/typescript/docs/models/components/videosourcejsonstatus.md +++ /dev/null @@ -1,17 +0,0 @@ -# VideoSourceJsonStatus - -Denotes the status of the video in the third-party system. - -## Example Usage - -```typescript -import { VideoSourceJsonStatus } from "@cvent/sdk/models/components"; - -let value: VideoSourceJsonStatus = "Active"; -``` - -## Values - -```typescript -"Active" | "Inactive" | "Pending" | "Deleted" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videosourcestatus.md b/packages/typescript/docs/models/components/videosourcestatus.md new file mode 100644 index 000000000..f31a26f53 --- /dev/null +++ b/packages/typescript/docs/models/components/videosourcestatus.md @@ -0,0 +1,17 @@ +# VideoSourceStatus + +Denotes the status of the video in the third-party system. + +## Example Usage + +```typescript +import { VideoSourceStatus } from "@cvent/sdk/models/components"; + +let value: VideoSourceStatus = "Active"; +``` + +## Values + +```typescript +"Active" | "Inactive" | "Pending" | "Deleted" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videospaginatedresponse.md b/packages/typescript/docs/models/components/videospaginatedresponse.md index 2952213e8..4489b701d 100644 --- a/packages/typescript/docs/models/components/videospaginatedresponse.md +++ b/packages/typescript/docs/models/components/videospaginatedresponse.md @@ -123,5 +123,5 @@ let value: VideosPaginatedResponse = { | Field | Type | Required | Description | | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | | `data` | [components.ExistingVideoResponse](../../models/components/existingvideoresponse.md)[] | :heavy_check_mark: | Collection of videos. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videostatus.md b/packages/typescript/docs/models/components/videostatus.md new file mode 100644 index 000000000..94a2b628f --- /dev/null +++ b/packages/typescript/docs/models/components/videostatus.md @@ -0,0 +1,17 @@ +# VideoStatus + +Denotes the status of a video. Started indicates the request to upload in the API was submitted, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the video. Available indicates the video is available for use. + +## Example Usage + +```typescript +import { VideoStatus } from "@cvent/sdk/models/components"; + +let value: VideoStatus = "Started"; +``` + +## Values + +```typescript +"Started" | "Uploaded" | "Scanning" | "Scanned" | "Syncing" | "Rejected" | "Error" | "Available" | "Upcoming" | "ReSyncing" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videostatusjson.md b/packages/typescript/docs/models/components/videostatusjson.md deleted file mode 100644 index 6ceb43983..000000000 --- a/packages/typescript/docs/models/components/videostatusjson.md +++ /dev/null @@ -1,17 +0,0 @@ -# VideoStatusJson - -Denotes the status of a video. Started indicates the request to upload in the API was submitted, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the video. Available indicates the video is available for use. - -## Example Usage - -```typescript -import { VideoStatusJson } from "@cvent/sdk/models/components"; - -let value: VideoStatusJson = "Started"; -``` - -## Values - -```typescript -"Started" | "Uploaded" | "Scanning" | "Scanned" | "Syncing" | "Rejected" | "Error" | "Available" | "Upcoming" | "ReSyncing" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videotexttrack.md b/packages/typescript/docs/models/components/videotexttrack.md index c8f2bf066..466d272c1 100644 --- a/packages/typescript/docs/models/components/videotexttrack.md +++ b/packages/typescript/docs/models/components/videotexttrack.md @@ -22,11 +22,11 @@ let value: VideoTextTrack = { | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `video` | [components.VideoAssetIdJson](../../models/components/videoassetidjson.md) | :heavy_minus_sign: | Video that this asset was created with. | | +| `video` | [components.VideoAssetID](../../models/components/videoassetid.md) | :heavy_minus_sign: | Video that this asset was created with. | | | `label` | *string* | :heavy_minus_sign: | Name of the text track. | English | | `language` | *string* | :heavy_check_mark: | IETF language tag for the text track. | en-US | -| `kind` | [components.VideoTextTrackKindJson](../../models/components/videotexttrackkindjson.md) | :heavy_check_mark: | Denotes the kind of video text track. Only subtitles are supported. | subtitles | +| `kind` | [components.VideoTextTrackKind](../../models/components/videotexttrackkind.md) | :heavy_check_mark: | Denotes the kind of video text track. Only subtitles are supported. | subtitles | | `published` | *boolean* | :heavy_minus_sign: | True means that this text track has been published for your client. | | | `default` | *boolean* | :heavy_minus_sign: | True indicates this is the default text track. Each kind of text track can have a separate default assigned. | | -| `status` | [components.VideoTextTrackStatusJson](../../models/components/videotexttrackstatusjson.md) | :heavy_minus_sign: | Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. | Started | +| `status` | [components.VideoTextTrackStatus](../../models/components/videotexttrackstatus.md) | :heavy_minus_sign: | Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. | Started | | `autoGenerated` | *boolean* | :heavy_minus_sign: | True indicates this text track was generated via machine transcription of the audio. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videotexttrackkind.md b/packages/typescript/docs/models/components/videotexttrackkind.md new file mode 100644 index 000000000..aca0e5311 --- /dev/null +++ b/packages/typescript/docs/models/components/videotexttrackkind.md @@ -0,0 +1,17 @@ +# VideoTextTrackKind + +Denotes the kind of video text track. Only subtitles are supported. + +## Example Usage + +```typescript +import { VideoTextTrackKind } from "@cvent/sdk/models/components"; + +let value: VideoTextTrackKind = "subtitles"; +``` + +## Values + +```typescript +"subtitles" | "captions" | "descriptions" | "chapters" | "metadata" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videotexttrackkindjson.md b/packages/typescript/docs/models/components/videotexttrackkindjson.md deleted file mode 100644 index 6ec92e7e5..000000000 --- a/packages/typescript/docs/models/components/videotexttrackkindjson.md +++ /dev/null @@ -1,17 +0,0 @@ -# VideoTextTrackKindJson - -Denotes the kind of video text track. Only subtitles are supported. - -## Example Usage - -```typescript -import { VideoTextTrackKindJson } from "@cvent/sdk/models/components"; - -let value: VideoTextTrackKindJson = "subtitles"; -``` - -## Values - -```typescript -"subtitles" | "captions" | "descriptions" | "chapters" | "metadata" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videotexttrackstatus.md b/packages/typescript/docs/models/components/videotexttrackstatus.md new file mode 100644 index 000000000..c5a4b59a5 --- /dev/null +++ b/packages/typescript/docs/models/components/videotexttrackstatus.md @@ -0,0 +1,17 @@ +# VideoTextTrackStatus + +Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. + +## Example Usage + +```typescript +import { VideoTextTrackStatus } from "@cvent/sdk/models/components"; + +let value: VideoTextTrackStatus = "Started"; +``` + +## Values + +```typescript +"Started" | "Uploaded" | "Processing" | "Available" | "Rejected" | "Updating" | "Translating" | "Transcribing" | "Error" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videotexttrackstatusjson.md b/packages/typescript/docs/models/components/videotexttrackstatusjson.md deleted file mode 100644 index 946338018..000000000 --- a/packages/typescript/docs/models/components/videotexttrackstatusjson.md +++ /dev/null @@ -1,17 +0,0 @@ -# VideoTextTrackStatusJson - -Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. - -## Example Usage - -```typescript -import { VideoTextTrackStatusJson } from "@cvent/sdk/models/components"; - -let value: VideoTextTrackStatusJson = "Started"; -``` - -## Values - -```typescript -"Started" | "Uploaded" | "Processing" | "Available" | "Rejected" | "Updating" | "Translating" | "Transcribing" | "Error" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videothumbnail.md b/packages/typescript/docs/models/components/videothumbnail.md new file mode 100644 index 000000000..ca1497a82 --- /dev/null +++ b/packages/typescript/docs/models/components/videothumbnail.md @@ -0,0 +1,31 @@ +# VideoThumbnail + +Video thumbnail + +## Example Usage + +```typescript +import { VideoThumbnail } from "@cvent/sdk/models/components"; + +let value: VideoThumbnail = { + url: { + href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", + }, + size: 4098675830, + height: 400, + width: 300, + type: "png", + status: "Started", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `url` | [components.Link](../../models/components/link.md) | :heavy_minus_sign: | Represents a link to a related resource. | | +| `size` | *number* | :heavy_minus_sign: | File size in bytes for the thumbnail | 4098675830 | +| `height` | *number* | :heavy_minus_sign: | frame height in pixels | 400 | +| `width` | *number* | :heavy_minus_sign: | frame width in pixels | 300 | +| `type` | [components.ThumbnailType](../../models/components/thumbnailtype.md) | :heavy_minus_sign: | This is used to denote the file type of a thumbnail | png | +| `status` | [components.ThumbnailStatus](../../models/components/thumbnailstatus.md) | :heavy_minus_sign: | Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was completed. Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. | Started | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videothumbnailjson.md b/packages/typescript/docs/models/components/videothumbnailjson.md deleted file mode 100644 index 0c32d2d92..000000000 --- a/packages/typescript/docs/models/components/videothumbnailjson.md +++ /dev/null @@ -1,31 +0,0 @@ -# VideoThumbnailJson - -Video thumbnail - -## Example Usage - -```typescript -import { VideoThumbnailJson } from "@cvent/sdk/models/components"; - -let value: VideoThumbnailJson = { - url: { - href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", - }, - size: 4098675830, - height: 400, - width: 300, - type: "png", - status: "Started", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `url` | [components.OneAllOf](../../models/components/oneallof.md) | :heavy_minus_sign: | Represents a link to a related resource. | | -| `size` | *number* | :heavy_minus_sign: | File size in bytes for the thumbnail | 4098675830 | -| `height` | *number* | :heavy_minus_sign: | frame height in pixels | 400 | -| `width` | *number* | :heavy_minus_sign: | frame width in pixels | 300 | -| `type` | [components.ThumbnailTypeJson](../../models/components/thumbnailtypejson.md) | :heavy_minus_sign: | This is used to denote the file type of a thumbnail | png | -| `status` | [components.ThumbnailStatusJson](../../models/components/thumbnailstatusjson.md) | :heavy_minus_sign: | Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was completed. Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. | Started | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videotype.md b/packages/typescript/docs/models/components/videotype.md new file mode 100644 index 000000000..ff4316a22 --- /dev/null +++ b/packages/typescript/docs/models/components/videotype.md @@ -0,0 +1,17 @@ +# VideoType + +This is used to denote type of a video + +## Example Usage + +```typescript +import { VideoType } from "@cvent/sdk/models/components"; + +let value: VideoType = "mp4"; +``` + +## Values + +```typescript +"mpg2" | "mov" | "mp2" | "mp4" | "mpe" | "mpeg" | "mpg" | "mpv" | "qt" | "webm" | "hls" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videotypejson.md b/packages/typescript/docs/models/components/videotypejson.md deleted file mode 100644 index a80d6a487..000000000 --- a/packages/typescript/docs/models/components/videotypejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# VideoTypeJson - -This is used to denote type of a video - -## Example Usage - -```typescript -import { VideoTypeJson } from "@cvent/sdk/models/components"; - -let value: VideoTypeJson = "mp4"; -``` - -## Values - -```typescript -"mpg2" | "mov" | "mp2" | "mp4" | "mpe" | "mpeg" | "mpg" | "mpv" | "qt" | "webm" | "hls" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videoview.md b/packages/typescript/docs/models/components/videoview.md new file mode 100644 index 000000000..5b75f98bd --- /dev/null +++ b/packages/typescript/docs/models/components/videoview.md @@ -0,0 +1,35 @@ +# VideoView + +Details of a single video view + +## Example Usage + +```typescript +import { VideoView } from "@cvent/sdk/models/components"; + +let value: VideoView = { + contact: { + id: "123e4567-e89b-12d3-a456-426614174000", + }, + solution: "EVENTS_PLUS", + video: { + id: "456e4567-e89b-12d3-a456-426614174000", + }, + totalDuration: 233000, + watchDuration: 153600, + watchPercentage: 52, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `contact` | [components.Contact2](../../models/components/contact2.md) | :heavy_minus_sign: | The contact details who watched a video | | +| `solution` | [components.Solution](../../models/components/solution.md) | :heavy_minus_sign: | The solution where the video exists. Attendee Hub and Events+ represent two different solutions where the video can be found. | EVENTS_PLUS | +| ~~`device`~~ | [components.Device1](../../models/components/device1.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The device details used to watched a video. This field has been deprecated. | | +| `video` | [components.Video1](../../models/components/video1.md) | :heavy_minus_sign: | The details of a video | | +| `type` | [components.ViewType1](../../models/components/viewtype1.md) | :heavy_minus_sign: | The view type of the video. Videos can be viewed live or as a recording. | | +| `totalDuration` | *number* | :heavy_minus_sign: | The total duration of the video (in milliseconds). | 233000 | +| `watchDuration` | *number* | :heavy_minus_sign: | The total duration of the video watched by the viewer (in milliseconds). | 153600 | +| `watchPercentage` | *number* | :heavy_minus_sign: | The percentage of the video watched by the viewer. | 52 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videoviewjson.md b/packages/typescript/docs/models/components/videoviewjson.md deleted file mode 100644 index 29ca0e56c..000000000 --- a/packages/typescript/docs/models/components/videoviewjson.md +++ /dev/null @@ -1,35 +0,0 @@ -# VideoViewJson - -Details of a single video view - -## Example Usage - -```typescript -import { VideoViewJson } from "@cvent/sdk/models/components"; - -let value: VideoViewJson = { - contact: { - id: "123e4567-e89b-12d3-a456-426614174000", - }, - solution: "EVENTS_PLUS", - video: { - id: "456e4567-e89b-12d3-a456-426614174000", - }, - totalDuration: 233000, - watchDuration: 153600, - watchPercentage: 52, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `contact` | [components.ContactJson2](../../models/components/contactjson2.md) | :heavy_minus_sign: | The contact details who watched a video | | -| `solution` | [components.SolutionJson](../../models/components/solutionjson.md) | :heavy_minus_sign: | The solution where the video exists. Attendee Hub and Events+ represent two different solutions where the video can be found. | EVENTS_PLUS | -| ~~`device`~~ | [components.DeviceJson](../../models/components/devicejson.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The device details used to watched a video. This field has been deprecated. | | -| `video` | [components.VideoJson](../../models/components/videojson.md) | :heavy_minus_sign: | The details of a video | | -| `type` | [components.ViewTypeJson1](../../models/components/viewtypejson1.md) | :heavy_minus_sign: | The view type of the video. Videos can be viewed live or as a recording. | | -| `totalDuration` | *number* | :heavy_minus_sign: | The total duration of the video (in milliseconds). | 233000 | -| `watchDuration` | *number* | :heavy_minus_sign: | The total duration of the video watched by the viewer (in milliseconds). | 153600 | -| `watchPercentage` | *number* | :heavy_minus_sign: | The percentage of the video watched by the viewer. | 52 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videoviewspaginatedresponse.md b/packages/typescript/docs/models/components/videoviewspaginatedresponse.md index 53f46f459..d916b745b 100644 --- a/packages/typescript/docs/models/components/videoviewspaginatedresponse.md +++ b/packages/typescript/docs/models/components/videoviewspaginatedresponse.md @@ -45,7 +45,7 @@ let value: VideoViewsPaginatedResponse = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `paging` | [components.PagingJson](../../models/components/pagingjson.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `data` | [components.VideoViewJson](../../models/components/videoviewjson.md)[] | :heavy_minus_sign: | List of unique video views. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | +| `data` | [components.VideoView](../../models/components/videoview.md)[] | :heavy_minus_sign: | List of unique video views. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videowarning.md b/packages/typescript/docs/models/components/videowarning.md new file mode 100644 index 000000000..53629bd3c --- /dev/null +++ b/packages/typescript/docs/models/components/videowarning.md @@ -0,0 +1,22 @@ +# VideoWarning + +This is used to denote the warnings for a video entity. + +## Example Usage + +```typescript +import { VideoWarning } from "@cvent/sdk/models/components"; + +let value: VideoWarning = { + code: 700, + message: + "Video with ID: 5779387f-3f50-4685-8641-b25a2909845f has a bitrate of 586 kbps, which is lower than the minimum allowed bitrate of 3500 kbps.", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `code` | [components.VideoWarningCode](../../models/components/videowarningcode.md) | :heavy_check_mark: | This is used to denote the warning codes for a video entity. | 700 | +| `message` | *string* | :heavy_check_mark: | Warning message for the video. Message is a developer convenience never to be used in any context that needs localisation, subject to change at any time. | Video with ID: 5779387f-3f50-4685-8641-b25a2909845f has a bitrate of 586 kbps, which is lower than the minimum allowed bitrate of 3500 kbps. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videowarningcode.md b/packages/typescript/docs/models/components/videowarningcode.md new file mode 100644 index 000000000..15aa8ada6 --- /dev/null +++ b/packages/typescript/docs/models/components/videowarningcode.md @@ -0,0 +1,17 @@ +# VideoWarningCode + +This is used to denote the warning codes for a video entity. + +## Example Usage + +```typescript +import { VideoWarningCode } from "@cvent/sdk/models/components"; + +let value: VideoWarningCode = 700; +``` + +## Values + +```typescript +700 +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videowarningcodejson.md b/packages/typescript/docs/models/components/videowarningcodejson.md deleted file mode 100644 index 731326763..000000000 --- a/packages/typescript/docs/models/components/videowarningcodejson.md +++ /dev/null @@ -1,17 +0,0 @@ -# VideoWarningCodeJson - -This is used to denote the warning codes for a video entity. - -## Example Usage - -```typescript -import { VideoWarningCodeJson } from "@cvent/sdk/models/components"; - -let value: VideoWarningCodeJson = 700; -``` - -## Values - -```typescript -700 -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/videowarningjson.md b/packages/typescript/docs/models/components/videowarningjson.md deleted file mode 100644 index 921298c6f..000000000 --- a/packages/typescript/docs/models/components/videowarningjson.md +++ /dev/null @@ -1,22 +0,0 @@ -# VideoWarningJson - -This is used to denote the warnings for a video entity. - -## Example Usage - -```typescript -import { VideoWarningJson } from "@cvent/sdk/models/components"; - -let value: VideoWarningJson = { - code: 700, - message: - "Video with ID: 5779387f-3f50-4685-8641-b25a2909845f has a bitrate of 586 kbps, which is lower than the minimum allowed bitrate of 3500 kbps.", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `code` | [components.VideoWarningCodeJson](../../models/components/videowarningcodejson.md) | :heavy_check_mark: | This is used to denote the warning codes for a video entity. | 700 | -| `message` | *string* | :heavy_check_mark: | Warning message for the video. Message is a developer convenience never to be used in any context that needs localisation, subject to change at any time. | Video with ID: 5779387f-3f50-4685-8641-b25a2909845f has a bitrate of 586 kbps, which is lower than the minimum allowed bitrate of 3500 kbps. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/viewtype1.md b/packages/typescript/docs/models/components/viewtype1.md new file mode 100644 index 000000000..5705a8c14 --- /dev/null +++ b/packages/typescript/docs/models/components/viewtype1.md @@ -0,0 +1,17 @@ +# ViewType1 + +The view type of the video. Videos can be viewed live or as a recording. + +## Example Usage + +```typescript +import { ViewType1 } from "@cvent/sdk/models/components"; + +let value: ViewType1 = "RECORDING"; +``` + +## Values + +```typescript +"LIVE" | "RECORDING" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/viewtypejson1.md b/packages/typescript/docs/models/components/viewtypejson1.md deleted file mode 100644 index 30abd63ef..000000000 --- a/packages/typescript/docs/models/components/viewtypejson1.md +++ /dev/null @@ -1,17 +0,0 @@ -# ViewTypeJson1 - -The view type of the video. Videos can be viewed live or as a recording. - -## Example Usage - -```typescript -import { ViewTypeJson1 } from "@cvent/sdk/models/components"; - -let value: ViewTypeJson1 = "LIVE"; -``` - -## Values - -```typescript -"LIVE" | "RECORDING" -``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/voucher.md b/packages/typescript/docs/models/components/voucher.md new file mode 100644 index 000000000..37c46b84e --- /dev/null +++ b/packages/typescript/docs/models/components/voucher.md @@ -0,0 +1,34 @@ +# Voucher + +Represents a voucher configured for an event. Event-level vouchers are special codes that can be assigned to invitees or attendees, enabling benefits such as free registration, discounted pricing, or other promotional entitlements during the registration process. + +## Example Usage + +```typescript +import { Voucher } from "@cvent/sdk/models/components"; + +let value: Voucher = { + id: "1800c9bd-b5f4-438a-a92c-ea1f59553a5c", + code: "VIP-100", + description: "VIP full-comp voucher for keynote attendees.", + alertEmailAddress: "planner@example.com", + capacity: { + total: 100, + redeemedCount: 42, + }, + lastModifiedBy: "planner@example.com", + lastModifiedDate: new Date("2026-04-08T02:05:12.000Z"), +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | Voucher ID. | 1800c9bd-b5f4-438a-a92c-ea1f59553a5c | +| `code` | *string* | :heavy_check_mark: | The unique planner-defined code that invitees enter during registration to redeem the voucher. | VIP-100 | +| `description` | *string* | :heavy_minus_sign: | A description of the voucher and its intended use. | VIP full-comp voucher for keynote attendees. | +| `alertEmailAddress` | *string* | :heavy_minus_sign: | The email address that receives a notification whenever the voucher is redeemed. | planner@example.com | +| `capacity` | [components.VoucherCapacity](../../models/components/vouchercapacity.md) | :heavy_minus_sign: | Represents the capacity details for a voucher, including the total allowed redemptions and the number already redeemed. | | +| `lastModifiedBy` | *string* | :heavy_minus_sign: | The identity of the user or system that last modified the voucher. | planner@example.com | +| `lastModifiedDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 formatted date and time when the voucher was last modified, expressed in UTC. | 2026-04-08T02:05:12.000Z | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/vouchercapacity.md b/packages/typescript/docs/models/components/vouchercapacity.md new file mode 100644 index 000000000..cd7aaffda --- /dev/null +++ b/packages/typescript/docs/models/components/vouchercapacity.md @@ -0,0 +1,21 @@ +# VoucherCapacity + +Represents the capacity details for a voucher, including the total allowed redemptions and the number already redeemed. + +## Example Usage + +```typescript +import { VoucherCapacity } from "@cvent/sdk/models/components"; + +let value: VoucherCapacity = { + total: 100, + redeemedCount: 42, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `total` | *number* | :heavy_check_mark: | The maximum number of times the voucher can be redeemed. Default value of -1 indicates unlimited capacity. | 100 | +| `redeemedCount` | *number* | :heavy_check_mark: | The number of times the voucher has already been redeemed. | 42 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/voucherspaginatedresponse.md b/packages/typescript/docs/models/components/voucherspaginatedresponse.md new file mode 100644 index 000000000..9b23ac5ff --- /dev/null +++ b/packages/typescript/docs/models/components/voucherspaginatedresponse.md @@ -0,0 +1,51 @@ +# VouchersPaginatedResponse + +A paginated response of vouchers. + +## Example Usage + +```typescript +import { VouchersPaginatedResponse } from "@cvent/sdk/models/components"; + +let value: VouchersPaginatedResponse = { + 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: "1800c9bd-b5f4-438a-a92c-ea1f59553a5c", + code: "VIP-100", + description: "VIP full-comp voucher for keynote attendees.", + alertEmailAddress: "planner@example.com", + capacity: { + total: 100, + redeemedCount: 42, + }, + lastModifiedBy: "planner@example.com", + lastModifiedDate: new Date("2026-04-08T02:05:12.000Z"), + }, + ], +}; +``` + +## 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.Voucher](../../models/components/voucher.md)[] | :heavy_check_mark: | Collection of vouchers. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/weblink.md b/packages/typescript/docs/models/components/weblink.md index cf8989cd1..605bf3e3c 100644 --- a/packages/typescript/docs/models/components/weblink.md +++ b/packages/typescript/docs/models/components/weblink.md @@ -24,7 +24,7 @@ let value: Weblink = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `event` | [components.Event21](../../models/components/event21.md) | :heavy_check_mark: | The Associated Event. | | +| `event` | [components.Event3](../../models/components/event3.md) | :heavy_check_mark: | The Associated Event. | | | `exhibitor` | [components.Exhibitor](../../models/components/exhibitor.md) | :heavy_check_mark: | The Associated Exhibitor. | | | `name` | *string* | :heavy_check_mark: | Display name of the weblink. | Marketing Page | | `url` | *string* | :heavy_check_mark: | The URL of the weblink. | http://www.example.com | diff --git a/packages/typescript/docs/models/components/weddingdetails1.md b/packages/typescript/docs/models/components/weddingdetails1.md new file mode 100644 index 000000000..e362d2991 --- /dev/null +++ b/packages/typescript/docs/models/components/weddingdetails1.md @@ -0,0 +1,29 @@ +# WeddingDetails1 + +Wedding details. + +## Example Usage + +```typescript +import { WeddingDetails1 } from "@cvent/sdk/models/components"; + +let value: WeddingDetails1 = { + firstPartner: { + name: "John Doe", + }, + secondPartner: { + name: "John Doe", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `firstPartner` | [components.WeddingPartner](../../models/components/weddingpartner.md) | :heavy_minus_sign: | Represents wedding partner. | +| `secondPartner` | [components.WeddingPartner](../../models/components/weddingpartner.md) | :heavy_minus_sign: | Represents wedding partner. | +| `ceremony` | *boolean* | :heavy_minus_sign: | True indicates ceremony is planned. | +| `reception` | *boolean* | :heavy_minus_sign: | True indicates reception is planned. | +| `farewellBrunch` | *boolean* | :heavy_minus_sign: | True indicates farewell brunch is planned. | +| `rehearsalDinner` | *boolean* | :heavy_minus_sign: | True indicates rehearsal dinner is planned. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/weddingdetailsjson0.md b/packages/typescript/docs/models/components/weddingdetailsjson0.md deleted file mode 100644 index e8edda588..000000000 --- a/packages/typescript/docs/models/components/weddingdetailsjson0.md +++ /dev/null @@ -1,29 +0,0 @@ -# WeddingDetailsJson0 - -Wedding details. - -## Example Usage - -```typescript -import { WeddingDetailsJson0 } from "@cvent/sdk/models/components"; - -let value: WeddingDetailsJson0 = { - firstPartner: { - name: "John Doe", - }, - secondPartner: { - name: "John Doe", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `firstPartner` | [components.WeddingPartnerJson](../../models/components/weddingpartnerjson.md) | :heavy_minus_sign: | Represents wedding partner. | -| `secondPartner` | [components.WeddingPartnerJson](../../models/components/weddingpartnerjson.md) | :heavy_minus_sign: | Represents wedding partner. | -| `ceremony` | *boolean* | :heavy_minus_sign: | True indicates ceremony is planned. | -| `reception` | *boolean* | :heavy_minus_sign: | True indicates reception is planned. | -| `farewellBrunch` | *boolean* | :heavy_minus_sign: | True indicates farewell brunch is planned. | -| `rehearsalDinner` | *boolean* | :heavy_minus_sign: | True indicates rehearsal dinner is planned. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/weddingpartner.md b/packages/typescript/docs/models/components/weddingpartner.md new file mode 100644 index 000000000..f4b89c023 --- /dev/null +++ b/packages/typescript/docs/models/components/weddingpartner.md @@ -0,0 +1,20 @@ +# WeddingPartner + +Represents wedding partner. + +## Example Usage + +```typescript +import { WeddingPartner } from "@cvent/sdk/models/components"; + +let value: WeddingPartner = { + name: "John Doe", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `type` | [components.BrideGroomType](../../models/components/bridegroomtype.md) | :heavy_minus_sign: | BrideGroomType | | +| `name` | *string* | :heavy_minus_sign: | Name of the partner of the wedding couple. | John Doe | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/weddingpartnerjson.md b/packages/typescript/docs/models/components/weddingpartnerjson.md deleted file mode 100644 index 2163031da..000000000 --- a/packages/typescript/docs/models/components/weddingpartnerjson.md +++ /dev/null @@ -1,20 +0,0 @@ -# WeddingPartnerJson - -Represents wedding partner. - -## Example Usage - -```typescript -import { WeddingPartnerJson } from "@cvent/sdk/models/components"; - -let value: WeddingPartnerJson = { - name: "John Doe", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `type` | [components.BrideGroomTypeJson0](../../models/components/bridegroomtypejson0.md) | :heavy_minus_sign: | Bride groom type. | | -| `name` | *string* | :heavy_minus_sign: | Name of the partner of the wedding couple. | John Doe | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/zeroallof7.md b/packages/typescript/docs/models/components/zeroallof7.md index 24f5be402..8f58d15aa 100644 --- a/packages/typescript/docs/models/components/zeroallof7.md +++ b/packages/typescript/docs/models/components/zeroallof7.md @@ -1,175 +1,25 @@ # ZeroAllOf7 -Represents a contact that has been created and has an id. +Represents an error response for the checkin APIs that includes a unique id. ## Example Usage ```typescript import { ZeroAllOf7 } from "@cvent/sdk/models/components"; -import { RFCDate } from "@cvent/sdk/types"; let value: ZeroAllOf7 = { - created: new Date("2017-01-02T02:00:00Z"), - createdBy: "hporter", - lastModified: new Date("2019-02-12T03:00:00Z"), - lastModifiedBy: "hporter", - firstName: "Henry", - lastName: "Potterfield", - middleName: "A", - nickname: "Harry", - email: "h.potterfield@test.com", - ccEmail: "h.porter@tesing.com", - gender: "Male", - company: "Cvent Inc.", - designation: "CPA", - title: "Event Planner", - type: { - id: "861B51EC-AA7E-475F-B38D-4C8E35C47D63", - name: "VIP Member", - }, - membership: { - type: "Corporate Sponsor", - plan: "Gold Level", - joined: new RFCDate("2017-02-10"), - expiration: new RFCDate("2020-02-09"), - lastRenewal: new RFCDate("2019-02-08"), - amountDue: 50.5, - listInDirectory: false, - }, - primaryAddressType: "Home", - homeAddress: { - address1: "Cvent Inc.", - address2: "4001 West Parmer Lane", - address3: "PO Box 123", - city: "Austin", - countryCode: "US", - postalCode: "78727", - region: "Texas", - regionCode: "TX", - country: "United States of America", - }, - homePhone: "555-555-5555", - homeFax: "555-555-5555", - workAddress: { - address1: "Cvent Inc.", - address2: "4001 West Parmer Lane", - address3: "PO Box 123", - city: "Austin", - countryCode: "US", - postalCode: "78727", - region: "Texas", - regionCode: "TX", - country: "United States of America", - }, - workPhone: "555-555-5555", - workFax: "555-555-5555", - customFields: [ - { - id: "83a71a44-67ee-4908-8cd1-7dd6c5fdc88f", - name: "What is your favorite color?", - value: [ - "Choice C", - "Choice A", - ], - order: 1, - type: "MultiSelect", - }, - ], - sourceId: "system-a-00000000-0000-0000-0000-000000000000", - mobilePhone: "555-555-5555", - compliance: [ - { - creationTime: new Date("2021-03-08T17:30:01.727Z"), - complianceScope: "CCPA", - action: "DO_NOT_SELL", - createdBy: "PLANNER", - }, - ], - prefix: "Mr.", - pager: "555-555-5555", - optOut: { - date: new Date("2019-02-12T03:00:00Z"), - by: "Account User", - }, - npi: "5555555555", - links: { - twitterUrl: { - href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", - }, - facebookUrl: { - href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", - }, - linkedInUrl: { - href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", - }, - profilePicture: { - href: "https://cvent.com/picture123", - }, - }, - dateOfBirth: new RFCDate("1990-01-01"), - passport: { - number: "123456789", - country: "United Kingdom", - countryCode: "GB", - }, - socialSecurityNumber: "123-45-6789", - nationalIdentificationNumber: "123456789", - headline: - "Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands", - personalWebsite: "https://www.example.com", - biography: - "I am a marketing professional with experience in event planning and brand strategy.", - pronouns: "he/him/she/her/they/them", + id: "a96e7faa-b23e-49de-9040-c908473ba7ac", + code: 400, + message: "Bad Request", + target: "example target", }; ``` ## 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_minus_sign: | The first name of the contact. | Henry | -| `lastName` | *string* | :heavy_minus_sign: | The last name of the contact. | Potterfield | -| `middleName` | *string* | :heavy_minus_sign: | The middle name of the contact. | A | -| `nickname` | *string* | :heavy_minus_sign: | The nickname of the contact. | Harry | -| `email` | *string* | :heavy_minus_sign: | The email address of the contact. | h.potterfield@test.com | -| `ccEmail` | *string* | :heavy_minus_sign: | An alternate email address of the contact that can be cc'd on email communications. | h.porter@tesing.com | -| `gender` | [components.GenderJson](../../models/components/genderjson.md) | :heavy_minus_sign: | The gender of the contact. | Male | -| `company` | *string* | :heavy_minus_sign: | The company/organization the contact belongs to. | Cvent Inc. | -| `designation` | *string* | :heavy_minus_sign: | The designation of the contact, typically an award or credential. | CPA | -| `title` | *string* | :heavy_minus_sign: | The job title of the contact. | Event Planner | -| `type` | [components.AttendeeContactTypeJson](../../models/components/attendeecontacttypejson.md) | :heavy_minus_sign: | Contains details related to the attendee's contact type. | | -| `membership` | [components.MembershipJson](../../models/components/membershipjson.md) | :heavy_minus_sign: | Contact Membership information | | -| `primaryAddressType` | [components.AddressTypeJson](../../models/components/addresstypejson.md) | :heavy_minus_sign: | The type of address. | Home | -| `homeAddress` | [components.AddressJson](../../models/components/addressjson.md) | :heavy_minus_sign: | Contact address details. | | -| `homePhone` | *string* | :heavy_minus_sign: | The phone number of the contact at their place of residence. | 555-555-5555 | -| `homeFax` | *string* | :heavy_minus_sign: | The fax number of the contact at their place of residence. | 555-555-5555 | -| `workAddress` | [components.AddressJson](../../models/components/addressjson.md) | :heavy_minus_sign: | Contact address details. | | -| `workPhone` | *string* | :heavy_minus_sign: | The phone number of the contact at their place of work. | 555-555-5555 | -| `workFax` | *string* | :heavy_minus_sign: | The fax number of the contact at their place of work. | 555-555-5555 | -| `customFields` | [components.CustomField](../../models/components/customfield.md)[] | :heavy_minus_sign: | Collection of custom fields. | | -| `sourceId` | *string* | :heavy_minus_sign: | This is a ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. | system-a-00000000-0000-0000-0000-000000000000 | -| `mobilePhone` | *string* | :heavy_minus_sign: | The contact's mobile phone number. | 555-555-5555 | -| `compliance` | [components.ComplianceJson](../../models/components/compliancejson.md)[] | :heavy_minus_sign: | Detail related to compliance with the contact's privacy rights under various legislation. | | -| `prefix` | *string* | :heavy_minus_sign: | Denotes what is traditionally a title of an individual. | Mr. | -| `pager` | *string* | :heavy_minus_sign: | The pager number of the contact. | 555-555-5555 | -| `deleted` | *boolean* | :heavy_minus_sign: | True indicates a contact is deleted. Deleted contacts still have their data retained, but the contact is inactive. | false | -| `purged` | *boolean* | :heavy_minus_sign: | True indicates a contact is purged. Purged contacts have only partial data retained, and will be permanently deleted in 30 days. | false | -| `optOut` | [components.OptOutJson](../../models/components/optoutjson.md) | :heavy_minus_sign: | Details of an opt-out for a Contact. | | -| `npi` | *string* | :heavy_minus_sign: | Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. | 5555555555 | -| `links` | [components.ContactLinksJson](../../models/components/contactlinksjson.md) | :heavy_minus_sign: | Collection of social media links for the contact. | | -| `dateOfBirth` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The date of birth of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 1990-01-01 | -| ~~`passportNumber`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The passport number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use the passport.number field. | 123456789 | -| `passport` | [components.PassportJson](../../models/components/passportjson.md) | :heavy_minus_sign: | This entity represents a contact's passport information. | | -| `socialSecurityNumber` | *string* | :heavy_minus_sign: | The social security number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123-45-6789 | -| `nationalIdentificationNumber` | *string* | :heavy_minus_sign: | The national identification number of the contact.

Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. | 123456789 | -| `headline` | *string* | :heavy_minus_sign: | The headline of the contact's profile, which summarizes their professional experience and qualities. | Marketing Director Crafting Memorable Campaigns that Engage Audiences and Elevate Brands | -| `personalWebsite` | *string* | :heavy_minus_sign: | A contact's personal website URL. | https://www.example.com | -| `biography` | *string* | :heavy_minus_sign: | A contact's biographical writeup. | I am a marketing professional with experience in event planning and brand strategy. | -| `pronouns` | *string* | :heavy_minus_sign: | Represents the preferred pronouns of a contact. | he/him/she/her/they/them | -| `id` | *string* | :heavy_minus_sign: | The ID of the contact. | | -| `parentId` | *string* | :heavy_minus_sign: | ID of the parent contact, applicable with contact snapshot. | | -| `event` | [components.EventAllOf](../../models/components/eventallof.md) | :heavy_minus_sign: | Event ID | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | The unique identifier for the error response. | a96e7faa-b23e-49de-9040-c908473ba7ac | +| `code` | *number* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | +| `message` | *string* | :heavy_check_mark: | A brief description of the error. | Bad Request | +| `target` | *string* | :heavy_minus_sign: | The target resource of the error. | example target | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/zeroallof8.md b/packages/typescript/docs/models/components/zeroallof8.md index 9fb13557b..a9563e686 100644 --- a/packages/typescript/docs/models/components/zeroallof8.md +++ b/packages/typescript/docs/models/components/zeroallof8.md @@ -1,6 +1,6 @@ # ZeroAllOf8 -Represents an error response for the checkin APIs that includes a unique id. +Information about housing event with key information, providing a summarized view. ## Example Usage @@ -8,18 +8,40 @@ Represents an error response for the checkin APIs that includes a unique id. import { ZeroAllOf8 } from "@cvent/sdk/models/components"; let value: ZeroAllOf8 = { - id: "a96e7faa-b23e-49de-9040-c908473ba7ac", - code: 400, - message: "Bad Request", - target: "example target", + id: 21738574, + name: "Summit 2027", + start: new Date("2027-01-13T05:00:00Z"), + end: new Date("2027-01-15T05:00:00Z"), + cutOff: new Date("2026-10-13T04:00:00Z"), + timeZone: "America/New_York", + venue: { + name: "Holiday Inn", + address: { + address1: "West St. 1", + address2: "Apt. 16", + city: "Austin", + region: "Texas", + regionCode: "TX", + postalCode: "23452AB", + country: "United States of America", + countryCode: "US", + latitude: 2342.23423, + longitude: 231234.23423, + }, + }, + status: "PreOpen", }; ``` ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | The unique identifier for the error response. | a96e7faa-b23e-49de-9040-c908473ba7ac | -| `code` | *number* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | -| `message` | *string* | :heavy_check_mark: | A brief description of the error. | Bad Request | -| `target` | *string* | :heavy_minus_sign: | The target resource of the error. | example target | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *number* | :heavy_check_mark: | The unique ID of the housing event. | 21738574 | +| `name` | *string* | :heavy_check_mark: | Event name. | Summit 2027 | +| `start` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder days. | 2027-01-13T05:00:00Z | +| `end` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. | 2027-01-15T05:00:00Z | +| `cutOff` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable business rules, like releasing reserved room blocks back to general availability. | 2026-10-13T04:00:00Z | +| `timeZone` | *string* | :heavy_check_mark: | The event timezone from the Olson specification. | America/New_York | +| `venue` | [components.VenueJson1](../../models/components/venuejson1.md) | :heavy_check_mark: | Event venue details. | | +| `status` | [components.HousingEventStatusesJson](../../models/components/housingeventstatusesjson.md) | :heavy_check_mark: | Housing event status. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/zeroallof9.md b/packages/typescript/docs/models/components/zeroallof9.md deleted file mode 100644 index f33fd4839..000000000 --- a/packages/typescript/docs/models/components/zeroallof9.md +++ /dev/null @@ -1,47 +0,0 @@ -# ZeroAllOf9 - -Information about housing event with key information, providing a summarized view. - -## Example Usage - -```typescript -import { ZeroAllOf9 } from "@cvent/sdk/models/components"; - -let value: ZeroAllOf9 = { - id: 21738574, - name: "Summit 2027", - start: new Date("2027-01-13T05:00:00Z"), - end: new Date("2027-01-15T05:00:00Z"), - cutOff: new Date("2026-10-13T04:00:00Z"), - timeZone: "America/New_York", - venue: { - name: "Holiday Inn", - address: { - address1: "West St. 1", - address2: "Apt. 16", - city: "Austin", - region: "Texas", - regionCode: "TX", - postalCode: "23452AB", - country: "United States of America", - countryCode: "US", - latitude: 2342.23423, - longitude: 231234.23423, - }, - }, - status: "Closed", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *number* | :heavy_check_mark: | The unique ID of the housing event. | 21738574 | -| `name` | *string* | :heavy_check_mark: | Event name. | Summit 2027 | -| `start` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder days. | 2027-01-13T05:00:00Z | -| `end` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. | 2027-01-15T05:00:00Z | -| `cutOff` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable business rules, like releasing reserved room blocks back to general availability. | 2026-10-13T04:00:00Z | -| `timeZone` | *string* | :heavy_check_mark: | The event timezone from the Olson specification. | America/New_York | -| `venue` | [components.VenueJson1](../../models/components/venuejson1.md) | :heavy_check_mark: | Event venue details. | | -| `status` | [components.HousingEventStatusesJson](../../models/components/housingeventstatusesjson.md) | :heavy_check_mark: | Housing event status. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/errors/errorresponse1.md b/packages/typescript/docs/models/errors/errorresponse1.md index 6d78fd72f..290777fb4 100644 --- a/packages/typescript/docs/models/errors/errorresponse1.md +++ b/packages/typescript/docs/models/errors/errorresponse1.md @@ -12,9 +12,9 @@ import { ErrorResponse1 } from "@cvent/sdk/models/errors"; ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `code` | *number* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | -| `message` | *string* | :heavy_check_mark: | A brief description of the error. | Bad Request | -| `target` | *string* | :heavy_minus_sign: | The target resource of the error. | example target | -| `details` | [components.ZeroAllOf1](../../models/components/zeroallof1.md)[] | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `code` | *number* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | +| `message` | *string* | :heavy_check_mark: | A brief description of the error. | Bad Request | +| `target` | *string* | :heavy_minus_sign: | The target resource of the error. | example target | +| `details` | [components.ErrorResponseBase](../../models/components/errorresponsebase.md)[] | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/errors/errorresponse2.md b/packages/typescript/docs/models/errors/errorresponse2.md index bf3da76e8..5a69fc30f 100644 --- a/packages/typescript/docs/models/errors/errorresponse2.md +++ b/packages/typescript/docs/models/errors/errorresponse2.md @@ -12,9 +12,9 @@ import { ErrorResponse2 } from "@cvent/sdk/models/errors"; ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `code` | *number* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | -| `message` | *string* | :heavy_check_mark: | A brief description of the error. | Bad Request | -| `target` | *string* | :heavy_minus_sign: | The target resource of the error. | example target | -| `details` | [components.ErrorResponseBase](../../models/components/errorresponsebase.md)[] | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `code` | *number* | :heavy_check_mark: | The HTTP status code representing the error. | 400 | +| `message` | *string* | :heavy_check_mark: | A brief description of the error. | Bad Request | +| `target` | *string* | :heavy_minus_sign: | The target resource of the error. | example target | +| `details` | [components.ZeroAllOf1](../../models/components/zeroallof1.md)[] | :heavy_minus_sign: | Additional details of cascading error messages. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/errors/errorresponsejson12.md b/packages/typescript/docs/models/errors/errorresponsejson12.md new file mode 100644 index 000000000..211fc0fbe --- /dev/null +++ b/packages/typescript/docs/models/errors/errorresponsejson12.md @@ -0,0 +1,20 @@ +# ErrorResponseJson12 + +The error response. + +## Example Usage + +```typescript +import { ErrorResponseJson12 } from "@cvent/sdk/models/errors"; + +// No examples available for this model +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `schemas` | *string*[] | :heavy_minus_sign: | The collection of error schemas. | | +| `status` | *number* | :heavy_check_mark: | Status code for error. | 400 | +| `detail` | *string* | :heavy_check_mark: | Details of the error. | Request is unparsable, syntactically incorrect, or violates schema. | +| `scimType` | [components.ErrorScimTypeJson](../../models/components/errorscimtypejson.md) | :heavy_minus_sign: | This is used to denote the scim type of the error. | invalidSyntax | \ No newline at end of file diff --git a/packages/typescript/docs/models/errors/errorresponsejson17.md b/packages/typescript/docs/models/errors/errorresponsejson17.md deleted file mode 100644 index 95305bcb5..000000000 --- a/packages/typescript/docs/models/errors/errorresponsejson17.md +++ /dev/null @@ -1,20 +0,0 @@ -# ErrorResponseJson17 - -The error response. - -## Example Usage - -```typescript -import { ErrorResponseJson17 } from "@cvent/sdk/models/errors"; - -// No examples available for this model -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `schemas` | *string*[] | :heavy_minus_sign: | The collection of error schemas. | | -| `status` | *number* | :heavy_check_mark: | Status code for error. | 400 | -| `detail` | *string* | :heavy_check_mark: | Details of the error. | Request is unparsable, syntactically incorrect, or violates schema. | -| `scimType` | [components.ErrorScimTypeJson](../../models/components/errorscimtypejson.md) | :heavy_minus_sign: | This is used to denote the scim type of the error. | invalidSyntax | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/createcontactsrequest.md b/packages/typescript/docs/models/operations/createcontactsrequest.md index 047970931..04f3b7703 100644 --- a/packages/typescript/docs/models/operations/createcontactsrequest.md +++ b/packages/typescript/docs/models/operations/createcontactsrequest.md @@ -16,4 +16,4 @@ let value: CreateContactsRequest = { | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `upsert` | *boolean* | :heavy_minus_sign: | This parameter determines whether the POST operation should be treated as an upsert. Upserts update existing contacts if they already exist, and otherwise create new contacts.

True indicates that this operation creates new contacts and updates existing contacts if they exist. False means that it only creates new contacts, and attempting to create an existing contact will result in the API returning an error.

Existing contacts are matched to the upsert request via the account's [match key](https://support.cvent.com/s/communityarticle/Allowing-Multiple-People-to-Use-the-Same-Email-Address). By default, the match key for contacts is their email. The match key can also be altered to match contacts based on a combination of their first name, last name, and email.
| true | -| `requestBody` | [components.ContactCreateRequestJson](../../models/components/contactcreaterequestjson.md)[] | :heavy_check_mark: | List of contacts to be created. Up to **10 contacts** can be created per call. | | \ No newline at end of file +| `requestBody` | [components.ContactCreate](../../models/components/contactcreate.md)[] | :heavy_check_mark: | List of contacts to be created. Up to **10 contacts** can be created per call. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/getattendeemessagesmembersrequest.md b/packages/typescript/docs/models/operations/getattendeemessagesmembersrequest.md index 6a23a5009..c475d7816 100644 --- a/packages/typescript/docs/models/operations/getattendeemessagesmembersrequest.md +++ b/packages/typescript/docs/models/operations/getattendeemessagesmembersrequest.md @@ -14,9 +14,9 @@ let value: GetAttendeeMessagesMembersRequest = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `eventId` | *string* | :heavy_check_mark: | Unique ID of an event | eeeeb4b4-d132-4db4-aaa7-5ec58efd65c8 | -| `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 | -| `filter` | *string* | :heavy_check_mark: | Filters are used to narrow the results returned and support a 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:
- equals to: eq
- match any of the values in the list: in

The following operators can be used:
- or

The following fields are filterable:
* `channel.id` (eq/in)

Examples:
- Filter channel IDs:
* `filter=channel.id in ('production_group_0cb93bab-32d2-4f82-b430-e1911f2348ac', 'production_group_f6dfb98a-c734-487c-97e1-7c7a09a9125f')`
* `filter=channel.id eq 'production_attendee_616241fd-e97d-48c5-8c4b-4b926f50e8c3' or channel.id eq 'production_group_616241fd-e97d-48c5-8c4b-4b926f50e8c3'`
| | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `eventId` | *string* | :heavy_check_mark: | Unique ID of an event | eeeeb4b4-d132-4db4-aaa7-5ec58efd65c8 | +| `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 | +| `filter` | *string* | :heavy_check_mark: | Filters narrow results returned based on the criteria you supply.

Filters follow the pattern `filter='field' operator 'value'`.

The following comparison operators are supported:
- `eq`: equals to
- `in`: match any of the values in the list

The following fields are supported:

\| Field \| Operators \|
\|------------------\|------------------------------------\|
\| channel.id \| `eq`, `in` \|

The following logical operators are supported for combining filters:
- `or`

**Examples:**

Filter channel IDs:
* `filter=channel.id in ('production_group_0cb93bab-32d2-4f82-b430-e1911f2348ac', 'production_group_f6dfb98a-c734-487c-97e1-7c7a09a9125f')`
* `filter=channel.id eq 'production_attendee_616241fd-e97d-48c5-8c4b-4b926f50e8c3' or channel.id eq 'production_group_616241fd-e97d-48c5-8c4b-4b926f50e8c3'`
| | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/getvideoviewsrequest.md b/packages/typescript/docs/models/operations/getvideoviewsrequest.md index 242f82096..e37d4b34f 100644 --- a/packages/typescript/docs/models/operations/getvideoviewsrequest.md +++ b/packages/typescript/docs/models/operations/getvideoviewsrequest.md @@ -16,10 +16,10 @@ let value: GetVideoViewsRequest = { ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `after` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | -| `before` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | -| `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 | -| `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'.
The filter query supports maximum three fields in filter expression.

There is one comparison type that can be used in filter expressions:
* equal: eq

The following fields are filterable:
* contact.id (eq)
* solution (eq)
* device.type (eq) [deprecated]
* device.operatingSystem (eq) [deprecated]
* video.id (eq)
* type (eq)

The following operators are available:
* and
| contact.id eq '123e4567-e89b-12d3-a456-426614174000' and solution eq 'EVENTS_PLUS' | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `after` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | +| `before` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | +| `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 | +| `filter` | *string* | :heavy_minus_sign: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \| Notes \|
\|------------------------\|-----------\|------------\|
\| contact.id \| `eq` \| \|
\| solution \| `eq` \| \|
\| device.type \| `eq` \| deprecated \|
\| device.operatingSystem \| `eq` \| deprecated \|
\| video.id \| `eq` \| \|
\| type \| `eq` \| \|

The filter query supports maximum three fields in a filter expression.

The following logical operators are supported for combining filters:
* and
| contact.id eq '123e4567-e89b-12d3-a456-426614174000' and solution eq 'EVENTS_PLUS' | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/listdurationsrequest.md b/packages/typescript/docs/models/operations/listdurationsrequest.md index c007b9cca..16d3e563d 100644 --- a/packages/typescript/docs/models/operations/listdurationsrequest.md +++ b/packages/typescript/docs/models/operations/listdurationsrequest.md @@ -17,11 +17,11 @@ let value: ListDurationsRequest = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `after` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | -| `before` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | -| `limit` | *number* | :heavy_minus_sign: | The maximum number of attendance duration records returned per page. | | -| `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 | -| `sort` | *string* | :heavy_minus_sign: | The sort order passed as a parameter, used to control the order of the
search results as a priority ordered list of sorts

There are two orders:
* ascending: ASC
* descending: DESC

The following fields are sortable:
* event
* session
* attendee
* type
* firstSeen
* duration
* lastModified - default
| start:DESC,title:ASC | -| `filter` | *string* | :heavy_minus_sign: | A filter string passed in the body of the request, narrows search results and supports the combination of logical and comparison operators.
The filter adheres to the pattern filter='field' comparisonType 'value'.

There are eight comparison types that can be used in filter expressions:
* equal: eq
* not equal: ne
* greater than: gt
* greater or equal: ge
* less than: lt
* less than or equal: le
* starts with: sw
* contains a value: contains
* includes value(s): in

The following fields are filterable:
* id (eq\|ne)
* event.id (eq\|ne\|in)
* session.id (eq\|ne\|in)
* attendee.id (eq\|ne\|in)
* type (contains\|eq\|ne\|in)
* deleted (eq\|ne)
* firstSeen (eq\|ne\|lt\|le\|gt\|ge)
* lastSeen (eq\|ne\|lt\|le\|gt\|ge)
* duration (eq\|ne\|lt\|le\|gt\|ge)
* created (eq\|ne\|lt\|le\|gt\|ge)

The following operators are available:
* and
* or
| firstSeen gt '2020-02-07T12:00:00.000Z' and session.id = '0e2f583e-62ae-40d8-9b5c-b8e67a6ba1ab' | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `after` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | +| `before` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | +| `limit` | *number* | :heavy_minus_sign: | The maximum number of attendance duration records returned per page. | | +| `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 | +| `sort` | *string* | :heavy_minus_sign: | The sort order passed as a parameter, used to control the order of the
search results as a priority ordered list of sorts

There are two orders:
* ascending: ASC
* descending: DESC

The following fields are sortable:
* event
* session
* attendee
* type
* firstSeen
* duration
* lastModified - default
| start:DESC,title:ASC | +| `filter` | *string* | :heavy_minus_sign: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \|
\|-------------\|------------------------------------\|
\| id \| `eq`, `ne` \|
\| event.id \| `eq`, `ne`, `in` \|
\| session.id \| `eq`, `ne`, `in` \|
\| attendee.id \| `eq`, `ne`, `in` \|
\| type \| `contains`, `eq`, `ne`, `in` \|
\| deleted \| `eq`, `ne` \|
\| firstSeen \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \|
\| lastSeen \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \|
\| duration \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \|
\| created \| `eq`, `ne`, `lt`, `le`, `gt`, `ge` \|

The following logical operators are supported for combining filters:
* and
* or
| firstSeen gt '2020-02-07T12:00:00.000Z' and session.id = '0e2f583e-62ae-40d8-9b5c-b8e67a6ba1ab' | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/listeventvoucherattendeesrequest.md b/packages/typescript/docs/models/operations/listeventvoucherattendeesrequest.md new file mode 100644 index 000000000..a4417b419 --- /dev/null +++ b/packages/typescript/docs/models/operations/listeventvoucherattendeesrequest.md @@ -0,0 +1,22 @@ +# ListEventVoucherAttendeesRequest + +## Example Usage + +```typescript +import { ListEventVoucherAttendeesRequest } from "@cvent/sdk/models/operations"; + +let value: ListEventVoucherAttendeesRequest = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + voucherId: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | Unique ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `voucherId` | *string* | :heavy_check_mark: | Unique ID of a voucher. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `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/listeventvoucherattendeesresponse.md b/packages/typescript/docs/models/operations/listeventvoucherattendeesresponse.md new file mode 100644 index 000000000..8445cee3f --- /dev/null +++ b/packages/typescript/docs/models/operations/listeventvoucherattendeesresponse.md @@ -0,0 +1,41 @@ +# ListEventVoucherAttendeesResponse + +## Example Usage + +```typescript +import { ListEventVoucherAttendeesResponse } from "@cvent/sdk/models/operations"; + +let value: ListEventVoucherAttendeesResponse = { + 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: "5b0e8d1f-8fd6-4ebe-977a-602b4a1f9c43", + }, + ], + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `result` | [components.AttendeesPaginatedResponse](../../models/components/attendeespaginatedresponse.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/listeventvoucherspostfilterrequest.md b/packages/typescript/docs/models/operations/listeventvoucherspostfilterrequest.md new file mode 100644 index 000000000..fb4ba86c5 --- /dev/null +++ b/packages/typescript/docs/models/operations/listeventvoucherspostfilterrequest.md @@ -0,0 +1,27 @@ +# ListEventVouchersPostFilterRequest + +## Example Usage + +```typescript +import { ListEventVouchersPostFilterRequest } from "@cvent/sdk/models/operations"; + +let value: ListEventVouchersPostFilterRequest = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", + before: new Date("2017-01-02T02:00:00Z"), + after: new Date("2017-01-02T02:00:00Z"), + sort: "code:ASC", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | Unique ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `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 | +| `before` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | +| `after` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | +| `sort` | *string* | :heavy_minus_sign: | The sort order for the results, expressed as a priority-ordered list of field and direction pairs.

There are two sort directions:
* ascending: ASC
* descending: DESC

The following fields are sortable:
* code

When not provided, results are sorted by `code` ascending.
| code:ASC | +| `filter` | [components.Filter](../../models/components/filter.md) | :heavy_minus_sign: | See the `filter` parameter in [List Event Vouchers](#operation/listEventVouchers) for full filtering information.
| | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/listeventvoucherspostfilterresponse.md b/packages/typescript/docs/models/operations/listeventvoucherspostfilterresponse.md new file mode 100644 index 000000000..ab58c77b4 --- /dev/null +++ b/packages/typescript/docs/models/operations/listeventvoucherspostfilterresponse.md @@ -0,0 +1,50 @@ +# ListEventVouchersPostFilterResponse + +## Example Usage + +```typescript +import { ListEventVouchersPostFilterResponse } from "@cvent/sdk/models/operations"; + +let value: ListEventVouchersPostFilterResponse = { + 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: "1800c9bd-b5f4-438a-a92c-ea1f59553a5c", + code: "VIP-100", + description: "VIP full-comp voucher for keynote attendees.", + alertEmailAddress: "planner@example.com", + capacity: { + total: 100, + redeemedCount: 42, + }, + lastModifiedBy: "planner@example.com", + lastModifiedDate: new Date("2026-04-08T02:05:12.000Z"), + }, + ], + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `result` | [components.VouchersPaginatedResponse](../../models/components/voucherspaginatedresponse.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/listeventvouchersrequest.md b/packages/typescript/docs/models/operations/listeventvouchersrequest.md new file mode 100644 index 000000000..b645c00d5 --- /dev/null +++ b/packages/typescript/docs/models/operations/listeventvouchersrequest.md @@ -0,0 +1,29 @@ +# ListEventVouchersRequest + +## Example Usage + +```typescript +import { ListEventVouchersRequest } from "@cvent/sdk/models/operations"; + +let value: ListEventVouchersRequest = { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", + before: new Date("2017-01-02T02:00:00Z"), + after: new Date("2017-01-02T02:00:00Z"), + sort: "code:ASC", + filter: + "id in ('1800c9bd-b5f4-438a-a92c-ea1f59553a5c', '2900d8ce-c6f5-449b-b03d-fb2f60664b6d')", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | Unique ID of an event. | 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 | +| `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 | +| `before` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | +| `after` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | +| `sort` | *string* | :heavy_minus_sign: | The sort order for the results, expressed as a priority-ordered list of field and direction pairs.

There are two sort directions:
* ascending: ASC
* descending: DESC

The following fields are sortable:
* code

When not provided, results are sorted by `code` ascending.
| code:ASC | +| `filter` | *string* | :heavy_minus_sign: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \|
\|-------\|-----------\|
\| id \| `in` \|

No logical operators are available.
| id in ('1800c9bd-b5f4-438a-a92c-ea1f59553a5c', '2900d8ce-c6f5-449b-b03d-fb2f60664b6d') | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/listeventvouchersresponse.md b/packages/typescript/docs/models/operations/listeventvouchersresponse.md new file mode 100644 index 000000000..f9ffdbc20 --- /dev/null +++ b/packages/typescript/docs/models/operations/listeventvouchersresponse.md @@ -0,0 +1,50 @@ +# ListEventVouchersResponse + +## Example Usage + +```typescript +import { ListEventVouchersResponse } from "@cvent/sdk/models/operations"; + +let value: ListEventVouchersResponse = { + 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: "1800c9bd-b5f4-438a-a92c-ea1f59553a5c", + code: "VIP-100", + description: "VIP full-comp voucher for keynote attendees.", + alertEmailAddress: "planner@example.com", + capacity: { + total: 100, + redeemedCount: 42, + }, + lastModifiedBy: "planner@example.com", + lastModifiedDate: new Date("2026-04-08T02:05:12.000Z"), + }, + ], + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `result` | [components.VouchersPaginatedResponse](../../models/components/voucherspaginatedresponse.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/listvideosrequest.md b/packages/typescript/docs/models/operations/listvideosrequest.md index 3ce9ab729..b1400b75a 100644 --- a/packages/typescript/docs/models/operations/listvideosrequest.md +++ b/packages/typescript/docs/models/operations/listvideosrequest.md @@ -17,11 +17,11 @@ let value: ListVideosRequest = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `after` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | -| `before` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | -| `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 | -| `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'.

There are six comparison types that can be used in filter expressions:
* equal: eq
* not equal: ne
* greater than: gt
* greater or equal: ge
* less than: lt
* less than or equal: le

The following fields are filterable:
* id (eq\|ne)
* events (eq\|ne)
* sessions (eq\|ne)
* exhibitors (eq\|ne)
* speakers (eq\|ne)
* source.id (eq\|ne)
* status (eq\|ne)
* tags (eq\|ne)
* recording.id (eq\|ne)

The following filterable fields have been deprecated, use the plural form above:
* event.id (eq\|ne)
| events eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' and source.id ne 'sampleWebcastSystemId' | -| `deleted` | *boolean* | :heavy_minus_sign: | True means only videos marked as deleted will be queried. False means only non-deleted videos will be queried. | true | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `after` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. | 2017-01-02T02:00:00Z | +| `before` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Used to query records that have been added or updated before this time point. | 2017-01-02T02:00:00Z | +| `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 | +| `filter` | *string* | :heavy_minus_sign: | Use filter query parameters to limit results
to data that matches your criteria. See
[Filters](/docs/rest-api/reference/filters) for details.

Supported fields and operators are listed below:

\| Field \| Operators \| Notes \|
\|--------------\|------------\|----------------------------------\|
\| id \| `eq`, `ne` \| \|
\| events \| `eq`, `ne` \| \|
\| sessions \| `eq`, `ne` \| \|
\| exhibitors \| `eq`, `ne` \| \|
\| speakers \| `eq`, `ne` \| \|
\| source.id \| `eq`, `ne` \| \|
\| status \| `eq`, `ne` \| \|
\| tags \| `eq`, `ne` \| \|
\| recording.id \| `eq`, `ne` \| \|
\| event.id \| `eq`, `ne` \| deprecated, use `events` instead \|

The following logical operators are supported for combining filters:
* and
* or
| events eq '04ca6ae2-0dc3-487b-953e-86d6abbdf7d3' and source.id ne 'sampleWebcastSystemId' | +| `deleted` | *boolean* | :heavy_minus_sign: | True means only videos marked as deleted will be queried. False means only non-deleted videos will be queried. | true | \ No newline at end of file diff --git a/packages/typescript/docs/sdks/appointments/README.md b/packages/typescript/docs/sdks/appointments/README.md index 7956e46b1..0e04b87b6 100644 --- a/packages/typescript/docs/sdks/appointments/README.md +++ b/packages/typescript/docs/sdks/appointments/README.md @@ -937,10 +937,11 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| ---------------------------- | ---------------------------- | ---------------------------- | -| errors.ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | -| errors.APIError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse2 | 422 | application/json | +| errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | ## updateAppointment @@ -1068,10 +1069,11 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| ---------------------------- | ---------------------------- | ---------------------------- | -| errors.ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | -| errors.APIError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse2 | 422 | application/json | +| errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | ## cancelAppointment diff --git a/packages/typescript/docs/sdks/attendees/README.md b/packages/typescript/docs/sdks/attendees/README.md index d11b9a072..69b4595f3 100644 --- a/packages/typescript/docs/sdks/attendees/README.md +++ b/packages/typescript/docs/sdks/attendees/README.md @@ -598,7 +598,7 @@ run(); ### Response -**Promise\<[components.Attendee1](../../models/components/attendee1.md)\>** +**Promise\<[components.Attendee11](../../models/components/attendee11.md)\>** ### Errors @@ -753,7 +753,7 @@ run(); ### Response -**Promise\<[components.Attendee1](../../models/components/attendee1.md)\>** +**Promise\<[components.Attendee11](../../models/components/attendee11.md)\>** ### Errors diff --git a/packages/typescript/docs/sdks/audiencesegments/README.md b/packages/typescript/docs/sdks/audiencesegments/README.md index 1e27e2fb5..aa8fc8113 100644 --- a/packages/typescript/docs/sdks/audiencesegments/README.md +++ b/packages/typescript/docs/sdks/audiencesegments/README.md @@ -415,7 +415,8 @@ run(); | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | | errors.SegmentsErrorResponse | 400 | application/json | -| errors.ErrorResponse1 | 401, 403, 422, 429 | application/json | +| errors.ErrorResponse2 | 422 | application/json | +| errors.ErrorResponse1 | 401, 403, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | ## listAudienceSegments @@ -828,10 +829,11 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| ---------------------------- | ---------------------------- | ---------------------------- | -| errors.ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | -| errors.APIError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse2 | 422 | application/json | +| errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | ## deleteAudienceSegment @@ -1121,7 +1123,8 @@ run(); | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | | errors.SegmentsErrorResponse | 400 | application/json | -| errors.ErrorResponse1 | 401, 403, 404, 422, 429 | application/json | +| errors.ErrorResponse2 | 422 | application/json | +| errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | ## disassociateAttendeeFromAudienceSegment diff --git a/packages/typescript/docs/sdks/bulk/README.md b/packages/typescript/docs/sdks/bulk/README.md index cc2b65f78..80a5440cb 100644 --- a/packages/typescript/docs/sdks/bulk/README.md +++ b/packages/typescript/docs/sdks/bulk/README.md @@ -184,8 +184,8 @@ run(); | Error Type | Status Code | Content Type | | --------------------- | --------------------- | --------------------- | -| errors.ErrorResponse1 | 409 | application/json | -| errors.ErrorResponse2 | 400, 401, 403, 429 | application/json | +| errors.ErrorResponse2 | 409 | application/json | +| errors.ErrorResponse1 | 400, 401, 403, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | ## getBulkJobById @@ -273,7 +273,7 @@ run(); | Error Type | Status Code | Content Type | | ----------------------- | ----------------------- | ----------------------- | -| errors.ErrorResponse2 | 400, 401, 403, 404, 429 | application/json | +| errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | ## cancelBulkJob @@ -361,7 +361,7 @@ run(); | Error Type | Status Code | Content Type | | ----------------------- | ----------------------- | ----------------------- | -| errors.ErrorResponse2 | 400, 401, 403, 404, 429 | application/json | +| errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | ## uploadBulkJobData @@ -503,8 +503,8 @@ run(); | Error Type | Status Code | Content Type | | ----------------------- | ----------------------- | ----------------------- | -| errors.ErrorResponse1 | 409 | application/json | -| errors.ErrorResponse2 | 400, 401, 403, 404, 429 | application/json | +| errors.ErrorResponse2 | 409 | application/json | +| errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | ## listBulkJobResult @@ -604,7 +604,7 @@ run(); | Error Type | Status Code | Content Type | | ----------------------- | ----------------------- | ----------------------- | -| errors.ErrorResponse2 | 400, 401, 403, 404, 429 | application/json | +| errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | ## runBulkJob @@ -694,6 +694,6 @@ run(); | Error Type | Status Code | Content Type | | ----------------------- | ----------------------- | ----------------------- | -| errors.ErrorResponse1 | 409 | application/json | -| errors.ErrorResponse2 | 400, 401, 403, 404, 429 | application/json | +| errors.ErrorResponse2 | 409 | application/json | +| errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/packages/typescript/docs/sdks/contacts/README.md b/packages/typescript/docs/sdks/contacts/README.md index 14ce21939..4dd4891e4 100644 --- a/packages/typescript/docs/sdks/contacts/README.md +++ b/packages/typescript/docs/sdks/contacts/README.md @@ -1091,7 +1091,7 @@ run(); ### Response -**Promise\<[components.ContactBulkItemJson[]](../../models/.md)\>** +**Promise\<[components.ContactBulkResponseItem[]](../../models/.md)\>** ### Errors @@ -1269,7 +1269,7 @@ run(); ### Response -**Promise\<[components.ContactBulkItemJson[]](../../models/.md)\>** +**Promise\<[components.ContactBulkResponseItem[]](../../models/.md)\>** ### Errors @@ -1500,7 +1500,7 @@ run(); ### Response -**Promise\<[components.ContactBulkItemJson[]](../../models/.md)\>** +**Promise\<[components.ContactBulkResponseItem[]](../../models/.md)\>** ### Errors diff --git a/packages/typescript/docs/sdks/events/README.md b/packages/typescript/docs/sdks/events/README.md index 172f60c5f..cc97cb3d2 100644 --- a/packages/typescript/docs/sdks/events/README.md +++ b/packages/typescript/docs/sdks/events/README.md @@ -46,6 +46,9 @@ Events are used to collect registrations and allow attendees to select their sch * [listEventUserGroups](#listeventusergroups) - List Event User Groups * [associateEventUserGroup](#associateeventusergroup) - Associate User Group to Event * [disassociateEventUserGroup](#disassociateeventusergroup) - Disassociate Group from Event +* [listEventVouchers](#listeventvouchers) - List Event Vouchers +* [listEventVouchersPostFilter](#listeventvoucherspostfilter) - List Event Vouchers (Filter) +* [listEventVoucherAttendees](#listeventvoucherattendees) - List Voucher Attendees * [updateQuantityItemRegistrationForAttendee](#updatequantityitemregistrationforattendee) - Update Quantity Item * [listSessionsAttendance](#listsessionsattendance) - Session Attendance * [listSessionsEnrollment](#listsessionsenrollment) - List Session Registrants @@ -4230,6 +4233,313 @@ run(); | errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | +## listEventVouchers + +Retrieves a paginated list of vouchers set up for a specific event. + + +### 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.events.listEventVouchers({ + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", + before: new Date("2017-01-02T02:00:00Z"), + after: new Date("2017-01-02T02:00:00Z"), + sort: "code:ASC", + filter: "id in ('1800c9bd-b5f4-438a-a92c-ea1f59553a5c', '2900d8ce-c6f5-449b-b03d-fb2f60664b6d')", + }); + + 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 { eventsListEventVouchers } from "@cvent/sdk/funcs/eventsListEventVouchers.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 eventsListEventVouchers(cventSDK, { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", + before: new Date("2017-01-02T02:00:00Z"), + after: new Date("2017-01-02T02:00:00Z"), + sort: "code:ASC", + filter: "id in ('1800c9bd-b5f4-438a-a92c-ea1f59553a5c', '2900d8ce-c6f5-449b-b03d-fb2f60664b6d')", + }); + if (res.ok) { + const { value: result } = res; + for await (const page of result) { + console.log(page); + } + } else { + console.log("eventsListEventVouchers failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.ListEventVouchersRequest](../../models/operations/listeventvouchersrequest.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.ListEventVouchersResponse](../../models/operations/listeventvouchersresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | + +## listEventVouchersPostFilter + +Retrieves a paginated list of vouchers configured for an event using a filter provided in the body of the request. + + +### 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.events.listEventVouchersPostFilter({ + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", + before: new Date("2017-01-02T02:00:00Z"), + after: new Date("2017-01-02T02:00:00Z"), + sort: "code:ASC", + filter: { + filter: "id in ('1800c9bd-b5f4-438a-a92c-ea1f59553a5c', '2900d8ce-c6f5-449b-b03d-fb2f60664b6d')", + }, + }); + + 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 { eventsListEventVouchersPostFilter } from "@cvent/sdk/funcs/eventsListEventVouchersPostFilter.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 eventsListEventVouchersPostFilter(cventSDK, { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", + before: new Date("2017-01-02T02:00:00Z"), + after: new Date("2017-01-02T02:00:00Z"), + sort: "code:ASC", + filter: { + filter: "id in ('1800c9bd-b5f4-438a-a92c-ea1f59553a5c', '2900d8ce-c6f5-449b-b03d-fb2f60664b6d')", + }, + }); + if (res.ok) { + const { value: result } = res; + for await (const page of result) { + console.log(page); + } + } else { + console.log("eventsListEventVouchersPostFilter failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.ListEventVouchersPostFilterRequest](../../models/operations/listeventvoucherspostfilterrequest.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.ListEventVouchersPostFilterResponse](../../models/operations/listeventvoucherspostfilterresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | + +## listEventVoucherAttendees + +Retrieves a paginated list of attendees who have redeemed a specific voucher for the given event. + + +### 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.events.listEventVoucherAttendees({ + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + voucherId: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + 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 { eventsListEventVoucherAttendees } from "@cvent/sdk/funcs/eventsListEventVoucherAttendees.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 eventsListEventVoucherAttendees(cventSDK, { + id: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + voucherId: "04ca6ae2-0dc3-487b-953e-86d6abbdf7d3", + 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("eventsListEventVoucherAttendees failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.ListEventVoucherAttendeesRequest](../../models/operations/listeventvoucherattendeesrequest.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.ListEventVoucherAttendeesResponse](../../models/operations/listeventvoucherattendeesresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | + ## updateQuantityItemRegistrationForAttendee Update a specific [quantity item](https://support.cvent.com/s/communityarticle/Creating-Quantity-Items) for an attendee's registration based on the details supplied in the body of the request. diff --git a/packages/typescript/docs/sdks/exhibitor/README.md b/packages/typescript/docs/sdks/exhibitor/README.md index 832572e85..725bdb386 100644 --- a/packages/typescript/docs/sdks/exhibitor/README.md +++ b/packages/typescript/docs/sdks/exhibitor/README.md @@ -2590,10 +2590,11 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| ---------------------------- | ---------------------------- | ---------------------------- | -| errors.ErrorResponse1 | 400, 401, 403, 404, 409, 429 | application/json | -| errors.APIError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse2 | 409 | application/json | +| errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | ## getExhibitorRegistrationPacks @@ -3002,10 +3003,11 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| ----------------------- | ----------------------- | ----------------------- | -| errors.ErrorResponse1 | 401, 403, 404, 409, 429 | application/json | -| errors.APIError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| --------------------- | --------------------- | --------------------- | +| errors.ErrorResponse2 | 409 | application/json | +| errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | ## getSponsorshipLevels diff --git a/packages/typescript/docs/sdks/exhibitorcontent/README.md b/packages/typescript/docs/sdks/exhibitorcontent/README.md index 76f95b05a..6f2360316 100644 --- a/packages/typescript/docs/sdks/exhibitorcontent/README.md +++ b/packages/typescript/docs/sdks/exhibitorcontent/README.md @@ -316,10 +316,11 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| ---------------------------- | ---------------------------- | ---------------------------- | -| errors.ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | -| errors.APIError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse2 | 422 | application/json | +| errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | ## disassociateExhibitorFile @@ -619,10 +620,11 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| ---------------------------- | ---------------------------- | ---------------------------- | -| errors.ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | -| errors.APIError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse2 | 422 | application/json | +| errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | ## getExhibitorWeblink @@ -831,10 +833,11 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| ---------------------------- | ---------------------------- | ---------------------------- | -| errors.ErrorResponse1 | 400, 401, 403, 404, 422, 429 | application/json | -| errors.APIError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse2 | 422 | application/json | +| errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | ## deleteExhibitorWeblink diff --git a/packages/typescript/docs/sdks/housing/README.md b/packages/typescript/docs/sdks/housing/README.md index 1339797cd..fac1dd3fa 100644 --- a/packages/typescript/docs/sdks/housing/README.md +++ b/packages/typescript/docs/sdks/housing/README.md @@ -1619,10 +1619,11 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| ----------------------- | ----------------------- | ----------------------- | -| errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | -| errors.APIError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| --------------------- | --------------------- | --------------------- | +| errors.ErrorResponse2 | 400 | application/json | +| errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | ## cancelReservationRequest @@ -1707,10 +1708,11 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| ----------------------- | ----------------------- | ----------------------- | -| errors.ErrorResponse1 | 400, 401, 403, 404, 429 | application/json | -| errors.APIError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| --------------------- | --------------------- | --------------------- | +| errors.ErrorResponse2 | 400 | application/json | +| errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | ## linkReservation diff --git a/packages/typescript/docs/sdks/meetingrequest/README.md b/packages/typescript/docs/sdks/meetingrequest/README.md index 4384f25c9..c74d32119 100644 --- a/packages/typescript/docs/sdks/meetingrequest/README.md +++ b/packages/typescript/docs/sdks/meetingrequest/README.md @@ -289,10 +289,11 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| ----------------------- | ----------------------- | ----------------------- | -| errors.ErrorResponse1 | 401, 403, 404, 422, 429 | application/json | -| errors.APIError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| --------------------- | --------------------- | --------------------- | +| errors.ErrorResponse2 | 422 | application/json | +| errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | ## createMeetingRequest diff --git a/packages/typescript/docs/sdks/sessions/README.md b/packages/typescript/docs/sdks/sessions/README.md index de6ab30cb..00ac7d38d 100644 --- a/packages/typescript/docs/sdks/sessions/README.md +++ b/packages/typescript/docs/sdks/sessions/README.md @@ -1016,10 +1016,11 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| ----------------------- | ----------------------- | ----------------------- | -| errors.ErrorResponse1 | 401, 403, 404, 409, 429 | application/json | -| errors.APIError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| --------------------- | --------------------- | --------------------- | +| errors.ErrorResponse2 | 409 | application/json | +| errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | ## getProgramItemSessionDocument diff --git a/packages/typescript/docs/sdks/speakers/README.md b/packages/typescript/docs/sdks/speakers/README.md index 3b81f8256..42fc6ae1a 100644 --- a/packages/typescript/docs/sdks/speakers/README.md +++ b/packages/typescript/docs/sdks/speakers/README.md @@ -309,10 +309,11 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| ----------------------- | ----------------------- | ----------------------- | -| errors.ErrorResponse1 | 401, 403, 404, 409, 429 | application/json | -| errors.APIError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| --------------------- | --------------------- | --------------------- | +| errors.ErrorResponse2 | 409 | application/json | +| errors.ErrorResponse1 | 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | ## getSessionProgramSpeaker @@ -668,7 +669,7 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [components.SpeakerCategory](../../models/components/speakercategory.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [components.SpeakerCategory2](../../models/components/speakercategory2.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. | diff --git a/packages/typescript/docs/sdks/travelrfps/README.md b/packages/typescript/docs/sdks/travelrfps/README.md index 64be06a09..7d94462f3 100644 --- a/packages/typescript/docs/sdks/travelrfps/README.md +++ b/packages/typescript/docs/sdks/travelrfps/README.md @@ -766,7 +766,7 @@ run(); ### Response -**Promise\<[components.TravelProposalBid](../../models/components/travelproposalbid.md)\>** +**Promise\<[components.TravelProposalBid2](../../models/components/travelproposalbid2.md)\>** ### Errors diff --git a/packages/typescript/docs/sdks/userscim/README.md b/packages/typescript/docs/sdks/userscim/README.md index 8be581d5f..845a0ea9a 100644 --- a/packages/typescript/docs/sdks/userscim/README.md +++ b/packages/typescript/docs/sdks/userscim/README.md @@ -102,7 +102,7 @@ run(); | Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | -| errors.ErrorResponseJson17 | 400, 401, 403, 429 | application/json | +| errors.ErrorResponseJson12 | 400, 401, 403, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | ## getResourceTypes @@ -188,7 +188,7 @@ run(); | Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | -| errors.ErrorResponseJson17 | 401, 403, 429 | application/json | +| errors.ErrorResponseJson12 | 401, 403, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | ## getResourceType @@ -279,7 +279,7 @@ run(); | Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | -| errors.ErrorResponseJson17 | 400, 401, 403, 404, 429 | application/json | +| errors.ErrorResponseJson12 | 400, 401, 403, 404, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | ## getSchemas @@ -365,7 +365,7 @@ run(); | Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | -| errors.ErrorResponseJson17 | 401, 403, 429 | application/json | +| errors.ErrorResponseJson12 | 401, 403, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | ## getSchema @@ -456,7 +456,7 @@ run(); | Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | -| errors.ErrorResponseJson17 | 400, 401, 403, 404, 429 | application/json | +| errors.ErrorResponseJson12 | 400, 401, 403, 404, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | ## getServiceProviderConfig @@ -542,7 +542,7 @@ run(); | Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | -| errors.ErrorResponseJson17 | 401, 403, 429 | application/json | +| errors.ErrorResponseJson12 | 401, 403, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | ## createUser @@ -703,7 +703,7 @@ run(); | Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | -| errors.ErrorResponseJson17 | 400, 401, 403, 409, 429 | application/json | +| errors.ErrorResponseJson12 | 400, 401, 403, 409, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | ## listUsers @@ -794,7 +794,7 @@ run(); | Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | -| errors.ErrorResponseJson17 | 400, 401, 403, 429 | application/json | +| errors.ErrorResponseJson12 | 400, 401, 403, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | ## getUser @@ -885,7 +885,7 @@ run(); | Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | -| errors.ErrorResponseJson17 | 400, 401, 403, 404, 429 | application/json | +| errors.ErrorResponseJson12 | 400, 401, 403, 404, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | ## updateUser @@ -1062,7 +1062,7 @@ run(); | Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | -| errors.ErrorResponseJson17 | 400, 401, 403, 404, 429 | application/json | +| errors.ErrorResponseJson12 | 400, 401, 403, 404, 429 | application/json | | errors.APIError | 4XX, 5XX | \*/\* | ## deleteUser @@ -1153,5 +1153,5 @@ run(); | Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | -| errors.ErrorResponseJson17 | 401, 403, 404, 429 | application/json | +| errors.ErrorResponseJson12 | 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 7793f6ed6..7082fb764 100644 --- a/packages/typescript/jsr.json +++ b/packages/typescript/jsr.json @@ -2,7 +2,7 @@ { "name": "@cvent/sdk", - "version": "1.4.0", + "version": "1.5.0", "exports": { ".": "./src/index.ts", "./models/errors": "./src/models/errors/index.ts", diff --git a/packages/typescript/package.json b/packages/typescript/package.json index e069c8e27..2d552d008 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@cvent/sdk", - "version": "1.4.0", + "version": "1.5.0", "author": "Cvent", "files": [ "dist/", diff --git a/packages/typescript/src/funcs/appointmentsCreateAppointment.ts b/packages/typescript/src/funcs/appointmentsCreateAppointment.ts index 0651d3161..c76436d15 100644 --- a/packages/typescript/src/funcs/appointmentsCreateAppointment.ts +++ b/packages/typescript/src/funcs/appointmentsCreateAppointment.ts @@ -41,6 +41,7 @@ export function appointmentsCreateAppointment( ): APIPromise< Result< components.AppointmentWithQuestions, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -67,6 +68,7 @@ async function $do( [ Result< components.AppointmentWithQuestions, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -172,6 +174,7 @@ async function $do( const [result] = await M.match< components.AppointmentWithQuestions, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -183,10 +186,8 @@ async function $do( | SDKValidationError >( M.json(201, components.AppointmentWithQuestions$inboundSchema), - M.jsonErr( - [400, 401, 403, 404, 422, 429], - errors.ErrorResponse1$inboundSchema, - ), + M.jsonErr(422, errors.ErrorResponse2$inboundSchema), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/appointmentsUpdateAppointment.ts b/packages/typescript/src/funcs/appointmentsUpdateAppointment.ts index 4c8a5bfd9..71bddfebd 100644 --- a/packages/typescript/src/funcs/appointmentsUpdateAppointment.ts +++ b/packages/typescript/src/funcs/appointmentsUpdateAppointment.ts @@ -41,6 +41,7 @@ export function appointmentsUpdateAppointment( ): APIPromise< Result< components.AppointmentWithQuestions, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -67,6 +68,7 @@ async function $do( [ Result< components.AppointmentWithQuestions, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -178,6 +180,7 @@ async function $do( const [result] = await M.match< components.AppointmentWithQuestions, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -189,10 +192,8 @@ async function $do( | SDKValidationError >( M.json(200, components.AppointmentWithQuestions$inboundSchema), - M.jsonErr( - [400, 401, 403, 404, 422, 429], - errors.ErrorResponse1$inboundSchema, - ), + M.jsonErr(422, errors.ErrorResponse2$inboundSchema), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/attendeesGetAttendeeById.ts b/packages/typescript/src/funcs/attendeesGetAttendeeById.ts index d0afaa360..b1c7cd775 100644 --- a/packages/typescript/src/funcs/attendeesGetAttendeeById.ts +++ b/packages/typescript/src/funcs/attendeesGetAttendeeById.ts @@ -40,7 +40,7 @@ export function attendeesGetAttendeeById( options?: RequestOptions, ): APIPromise< Result< - components.Attendee1, + components.Attendee11, | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -66,7 +66,7 @@ async function $do( ): Promise< [ Result< - components.Attendee1, + components.Attendee11, | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -168,7 +168,7 @@ async function $do( }; const [result] = await M.match< - components.Attendee1, + components.Attendee11, | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -179,7 +179,7 @@ async function $do( | UnexpectedClientError | SDKValidationError >( - M.json(200, components.Attendee1$inboundSchema), + M.json(200, components.Attendee11$inboundSchema), M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), diff --git a/packages/typescript/src/funcs/attendeesUpdateAttendee.ts b/packages/typescript/src/funcs/attendeesUpdateAttendee.ts index 55f0bc7af..1e7443512 100644 --- a/packages/typescript/src/funcs/attendeesUpdateAttendee.ts +++ b/packages/typescript/src/funcs/attendeesUpdateAttendee.ts @@ -40,7 +40,7 @@ export function attendeesUpdateAttendee( options?: RequestOptions, ): APIPromise< Result< - components.Attendee1, + components.Attendee11, | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -66,7 +66,7 @@ async function $do( ): Promise< [ Result< - components.Attendee1, + components.Attendee11, | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -166,7 +166,7 @@ async function $do( }; const [result] = await M.match< - components.Attendee1, + components.Attendee11, | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -177,7 +177,7 @@ async function $do( | UnexpectedClientError | SDKValidationError >( - M.json(200, components.Attendee1$inboundSchema), + M.json(200, components.Attendee11$inboundSchema), M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), diff --git a/packages/typescript/src/funcs/audienceSegmentsAssociateAttendeeToSegment.ts b/packages/typescript/src/funcs/audienceSegmentsAssociateAttendeeToSegment.ts index c31663e51..ece5f2a63 100644 --- a/packages/typescript/src/funcs/audienceSegmentsAssociateAttendeeToSegment.ts +++ b/packages/typescript/src/funcs/audienceSegmentsAssociateAttendeeToSegment.ts @@ -42,6 +42,7 @@ export function audienceSegmentsAssociateAttendeeToSegment( Result< void, | errors.SegmentsErrorResponse + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -69,6 +70,7 @@ async function $do( Result< void, | errors.SegmentsErrorResponse + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -175,6 +177,7 @@ async function $do( const [result] = await M.match< void, | errors.SegmentsErrorResponse + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -187,7 +190,8 @@ async function $do( >( M.nil(204, z.void()), M.jsonErr(400, errors.SegmentsErrorResponse$inboundSchema), - M.jsonErr([401, 403, 404, 422, 429], errors.ErrorResponse1$inboundSchema), + M.jsonErr(422, errors.ErrorResponse2$inboundSchema), + M.jsonErr([401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/audienceSegmentsCreateAudienceSegment.ts b/packages/typescript/src/funcs/audienceSegmentsCreateAudienceSegment.ts index 93fd95a8b..07f830301 100644 --- a/packages/typescript/src/funcs/audienceSegmentsCreateAudienceSegment.ts +++ b/packages/typescript/src/funcs/audienceSegmentsCreateAudienceSegment.ts @@ -41,6 +41,7 @@ export function audienceSegmentsCreateAudienceSegment( Result< components.ExistingAudienceSegment, | errors.SegmentsErrorResponse + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -68,6 +69,7 @@ async function $do( Result< components.ExistingAudienceSegment, | errors.SegmentsErrorResponse + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -160,6 +162,7 @@ async function $do( const [result] = await M.match< components.ExistingAudienceSegment, | errors.SegmentsErrorResponse + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -172,7 +175,8 @@ async function $do( >( M.json(201, components.ExistingAudienceSegment$inboundSchema), M.jsonErr(400, errors.SegmentsErrorResponse$inboundSchema), - M.jsonErr([401, 403, 422, 429], errors.ErrorResponse1$inboundSchema), + M.jsonErr(422, errors.ErrorResponse2$inboundSchema), + M.jsonErr([401, 403, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/audienceSegmentsUpdateAudienceSegment.ts b/packages/typescript/src/funcs/audienceSegmentsUpdateAudienceSegment.ts index 2797bc683..cd5c64ae5 100644 --- a/packages/typescript/src/funcs/audienceSegmentsUpdateAudienceSegment.ts +++ b/packages/typescript/src/funcs/audienceSegmentsUpdateAudienceSegment.ts @@ -41,6 +41,7 @@ export function audienceSegmentsUpdateAudienceSegment( ): APIPromise< Result< components.ExistingAudienceSegment, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -67,6 +68,7 @@ async function $do( [ Result< components.ExistingAudienceSegment, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -169,6 +171,7 @@ async function $do( const [result] = await M.match< components.ExistingAudienceSegment, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -180,10 +183,8 @@ async function $do( | SDKValidationError >( M.json(200, components.ExistingAudienceSegment$inboundSchema), - M.jsonErr( - [400, 401, 403, 404, 422, 429], - errors.ErrorResponse1$inboundSchema, - ), + M.jsonErr(422, errors.ErrorResponse2$inboundSchema), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/bulkCancelBulkJob.ts b/packages/typescript/src/funcs/bulkCancelBulkJob.ts index f7083ba9a..a080da5c6 100644 --- a/packages/typescript/src/funcs/bulkCancelBulkJob.ts +++ b/packages/typescript/src/funcs/bulkCancelBulkJob.ts @@ -39,7 +39,7 @@ export function bulkCancelBulkJob( ): APIPromise< Result< components.BulkJob, - | errors.ErrorResponse2 + | errors.ErrorResponse1 | CventSDKError | ResponseValidationError | ConnectionError @@ -65,7 +65,7 @@ async function $do( [ Result< components.BulkJob, - | errors.ErrorResponse2 + | errors.ErrorResponse1 | CventSDKError | ResponseValidationError | ConnectionError @@ -162,7 +162,7 @@ async function $do( const [result] = await M.match< components.BulkJob, - | errors.ErrorResponse2 + | errors.ErrorResponse1 | CventSDKError | ResponseValidationError | ConnectionError @@ -173,7 +173,7 @@ async function $do( | SDKValidationError >( M.json(200, components.BulkJob$inboundSchema), - M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse2$inboundSchema), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/bulkCreateBulkJob.ts b/packages/typescript/src/funcs/bulkCreateBulkJob.ts index fefafb124..734b934a3 100644 --- a/packages/typescript/src/funcs/bulkCreateBulkJob.ts +++ b/packages/typescript/src/funcs/bulkCreateBulkJob.ts @@ -45,8 +45,8 @@ export function bulkCreateBulkJob( ): APIPromise< Result< components.BulkJobWithData, - | errors.ErrorResponse1 | errors.ErrorResponse2 + | errors.ErrorResponse1 | CventSDKError | ResponseValidationError | ConnectionError @@ -72,8 +72,8 @@ async function $do( [ Result< components.BulkJobWithData, - | errors.ErrorResponse1 | errors.ErrorResponse2 + | errors.ErrorResponse1 | CventSDKError | ResponseValidationError | ConnectionError @@ -164,8 +164,8 @@ async function $do( const [result] = await M.match< components.BulkJobWithData, - | errors.ErrorResponse1 | errors.ErrorResponse2 + | errors.ErrorResponse1 | CventSDKError | ResponseValidationError | ConnectionError @@ -176,8 +176,8 @@ async function $do( | SDKValidationError >( M.json(201, components.BulkJobWithData$inboundSchema), - M.jsonErr(409, errors.ErrorResponse1$inboundSchema), - M.jsonErr([400, 401, 403, 429], errors.ErrorResponse2$inboundSchema), + M.jsonErr(409, errors.ErrorResponse2$inboundSchema), + M.jsonErr([400, 401, 403, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/bulkGetBulkJobById.ts b/packages/typescript/src/funcs/bulkGetBulkJobById.ts index 7b9d6e3c4..1cba8cd79 100644 --- a/packages/typescript/src/funcs/bulkGetBulkJobById.ts +++ b/packages/typescript/src/funcs/bulkGetBulkJobById.ts @@ -39,7 +39,7 @@ export function bulkGetBulkJobById( ): APIPromise< Result< components.BulkJob, - | errors.ErrorResponse2 + | errors.ErrorResponse1 | CventSDKError | ResponseValidationError | ConnectionError @@ -65,7 +65,7 @@ async function $do( [ Result< components.BulkJob, - | errors.ErrorResponse2 + | errors.ErrorResponse1 | CventSDKError | ResponseValidationError | ConnectionError @@ -162,7 +162,7 @@ async function $do( const [result] = await M.match< components.BulkJob, - | errors.ErrorResponse2 + | errors.ErrorResponse1 | CventSDKError | ResponseValidationError | ConnectionError @@ -173,7 +173,7 @@ async function $do( | SDKValidationError >( M.json(200, components.BulkJob$inboundSchema), - M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse2$inboundSchema), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/bulkListBulkJobResult.ts b/packages/typescript/src/funcs/bulkListBulkJobResult.ts index ba67f3f70..3fd8409bc 100644 --- a/packages/typescript/src/funcs/bulkListBulkJobResult.ts +++ b/packages/typescript/src/funcs/bulkListBulkJobResult.ts @@ -46,7 +46,7 @@ export function bulkListBulkJobResult( PageIterator< Result< operations.ListBulkJobResultResponse, - | errors.ErrorResponse2 + | errors.ErrorResponse1 | CventSDKError | ResponseValidationError | ConnectionError @@ -75,7 +75,7 @@ async function $do( PageIterator< Result< operations.ListBulkJobResultResponse, - | errors.ErrorResponse2 + | errors.ErrorResponse1 | CventSDKError | ResponseValidationError | ConnectionError @@ -183,7 +183,7 @@ async function $do( const [result, raw] = await M.match< operations.ListBulkJobResultResponse, - | errors.ErrorResponse2 + | errors.ErrorResponse1 | CventSDKError | ResponseValidationError | ConnectionError @@ -196,7 +196,7 @@ async function $do( M.json(200, operations.ListBulkJobResultResponse$inboundSchema, { key: "Result", }), - M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse2$inboundSchema), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); @@ -214,7 +214,7 @@ async function $do( next: Paginator< Result< operations.ListBulkJobResultResponse, - | errors.ErrorResponse2 + | errors.ErrorResponse1 | CventSDKError | ResponseValidationError | ConnectionError diff --git a/packages/typescript/src/funcs/bulkRunBulkJob.ts b/packages/typescript/src/funcs/bulkRunBulkJob.ts index 3beceafc9..b4d97183d 100644 --- a/packages/typescript/src/funcs/bulkRunBulkJob.ts +++ b/packages/typescript/src/funcs/bulkRunBulkJob.ts @@ -41,8 +41,8 @@ export function bulkRunBulkJob( ): APIPromise< Result< components.BulkJob, - | errors.ErrorResponse1 | errors.ErrorResponse2 + | errors.ErrorResponse1 | CventSDKError | ResponseValidationError | ConnectionError @@ -68,8 +68,8 @@ async function $do( [ Result< components.BulkJob, - | errors.ErrorResponse1 | errors.ErrorResponse2 + | errors.ErrorResponse1 | CventSDKError | ResponseValidationError | ConnectionError @@ -166,8 +166,8 @@ async function $do( const [result] = await M.match< components.BulkJob, - | errors.ErrorResponse1 | errors.ErrorResponse2 + | errors.ErrorResponse1 | CventSDKError | ResponseValidationError | ConnectionError @@ -178,8 +178,8 @@ async function $do( | SDKValidationError >( M.json(200, components.BulkJob$inboundSchema), - M.jsonErr(409, errors.ErrorResponse1$inboundSchema), - M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse2$inboundSchema), + M.jsonErr(409, errors.ErrorResponse2$inboundSchema), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/bulkUploadBulkJobData.ts b/packages/typescript/src/funcs/bulkUploadBulkJobData.ts index a123bab60..7ca9b266e 100644 --- a/packages/typescript/src/funcs/bulkUploadBulkJobData.ts +++ b/packages/typescript/src/funcs/bulkUploadBulkJobData.ts @@ -44,8 +44,8 @@ export function bulkUploadBulkJobData( ): APIPromise< Result< components.BulkDataUploadResponse, - | errors.ErrorResponse1 | errors.ErrorResponse2 + | errors.ErrorResponse1 | CventSDKError | ResponseValidationError | ConnectionError @@ -71,8 +71,8 @@ async function $do( [ Result< components.BulkDataUploadResponse, - | errors.ErrorResponse1 | errors.ErrorResponse2 + | errors.ErrorResponse1 | CventSDKError | ResponseValidationError | ConnectionError @@ -170,8 +170,8 @@ async function $do( const [result] = await M.match< components.BulkDataUploadResponse, - | errors.ErrorResponse1 | errors.ErrorResponse2 + | errors.ErrorResponse1 | CventSDKError | ResponseValidationError | ConnectionError @@ -182,8 +182,8 @@ async function $do( | SDKValidationError >( M.json(200, components.BulkDataUploadResponse$inboundSchema), - M.jsonErr(409, errors.ErrorResponse1$inboundSchema), - M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse2$inboundSchema), + M.jsonErr(409, errors.ErrorResponse2$inboundSchema), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/contactsCreateContacts.ts b/packages/typescript/src/funcs/contactsCreateContacts.ts index 5bd7d0b84..f7fb86bb7 100644 --- a/packages/typescript/src/funcs/contactsCreateContacts.ts +++ b/packages/typescript/src/funcs/contactsCreateContacts.ts @@ -42,7 +42,7 @@ export function contactsCreateContacts( options?: RequestOptions, ): APIPromise< Result< - Array, + Array, | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -68,7 +68,7 @@ async function $do( ): Promise< [ Result< - Array, + Array, | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -164,7 +164,7 @@ async function $do( }; const [result] = await M.match< - Array, + Array, | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -175,7 +175,7 @@ async function $do( | UnexpectedClientError | SDKValidationError >( - M.json(207, z.array(components.ContactBulkItemJson$inboundSchema)), + M.json(207, z.array(components.ContactBulkResponseItem$inboundSchema)), M.jsonErr([400, 401, 403, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), diff --git a/packages/typescript/src/funcs/contactsPatchContacts.ts b/packages/typescript/src/funcs/contactsPatchContacts.ts index e31e96b6d..ae3dfca19 100644 --- a/packages/typescript/src/funcs/contactsPatchContacts.ts +++ b/packages/typescript/src/funcs/contactsPatchContacts.ts @@ -46,7 +46,7 @@ export function contactsPatchContacts( options?: RequestOptions, ): APIPromise< Result< - Array, + Array, | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -72,7 +72,7 @@ async function $do( ): Promise< [ Result< - Array, + Array, | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -163,7 +163,7 @@ async function $do( }; const [result] = await M.match< - Array, + Array, | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -174,7 +174,7 @@ async function $do( | UnexpectedClientError | SDKValidationError >( - M.json(207, z.array(components.ContactBulkItemJson$inboundSchema)), + M.json(207, z.array(components.ContactBulkResponseItem$inboundSchema)), M.jsonErr([400, 401, 403, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), diff --git a/packages/typescript/src/funcs/contactsUpdateContacts.ts b/packages/typescript/src/funcs/contactsUpdateContacts.ts index cfb2f9562..1c3492ae9 100644 --- a/packages/typescript/src/funcs/contactsUpdateContacts.ts +++ b/packages/typescript/src/funcs/contactsUpdateContacts.ts @@ -41,7 +41,7 @@ export function contactsUpdateContacts( options?: RequestOptions, ): APIPromise< Result< - Array, + Array, | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -67,7 +67,7 @@ async function $do( ): Promise< [ Result< - Array, + Array, | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -158,7 +158,7 @@ async function $do( }; const [result] = await M.match< - Array, + Array, | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -169,7 +169,7 @@ async function $do( | UnexpectedClientError | SDKValidationError >( - M.json(207, z.array(components.ContactBulkItemJson$inboundSchema)), + M.json(207, z.array(components.ContactBulkResponseItem$inboundSchema)), M.jsonErr([400, 401, 403, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), diff --git a/packages/typescript/src/funcs/eventsListEventVoucherAttendees.ts b/packages/typescript/src/funcs/eventsListEventVoucherAttendees.ts new file mode 100644 index 000000000..9b0571289 --- /dev/null +++ b/packages/typescript/src/funcs/eventsListEventVoucherAttendees.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 Voucher Attendees + * + * @remarks + * Retrieves a paginated list of attendees who have redeemed a specific voucher for the given event. + */ +export function eventsListEventVoucherAttendees( + client: CventSDKCore, + request: operations.ListEventVoucherAttendeesRequest, + options?: RequestOptions, +): APIPromise< + PageIterator< + Result< + operations.ListEventVoucherAttendeesResponse, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + { cursor: string } + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: CventSDKCore, + request: operations.ListEventVoucherAttendeesRequest, + options?: RequestOptions, +): Promise< + [ + PageIterator< + Result< + operations.ListEventVoucherAttendeesResponse, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + { cursor: string } + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => + operations.ListEventVoucherAttendeesRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [haltIterator(parsed), { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + id: encodeSimple("id", payload.id, { + explode: false, + charEncoding: "percent", + }), + voucherId: encodeSimple("voucherId", payload.voucherId, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/events/{id}/vouchers/{voucherId}/attendees")( + 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: "listEventVoucherAttendees", + oAuth2Scopes: ["event/vouchers: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.ListEventVoucherAttendeesResponse, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, operations.ListEventVoucherAttendeesResponse$inboundSchema, { + key: "Result", + }), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$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.ListEventVoucherAttendeesResponse, + | errors.ErrorResponse1 + | 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 = () => + eventsListEventVoucherAttendees( + 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/eventsListEventVouchers.ts b/packages/typescript/src/funcs/eventsListEventVouchers.ts new file mode 100644 index 000000000..5edbc0f7c --- /dev/null +++ b/packages/typescript/src/funcs/eventsListEventVouchers.ts @@ -0,0 +1,258 @@ +/* + * 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 Event Vouchers + * + * @remarks + * Retrieves a paginated list of vouchers set up for a specific event. + */ +export function eventsListEventVouchers( + client: CventSDKCore, + request: operations.ListEventVouchersRequest, + options?: RequestOptions, +): APIPromise< + PageIterator< + Result< + operations.ListEventVouchersResponse, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + { cursor: string } + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: CventSDKCore, + request: operations.ListEventVouchersRequest, + options?: RequestOptions, +): Promise< + [ + PageIterator< + Result< + operations.ListEventVouchersResponse, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + { cursor: string } + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => operations.ListEventVouchersRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [haltIterator(parsed), { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + id: encodeSimple("id", payload.id, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/events/{id}/vouchers")(pathParams); + + const query = encodeFormQuery({ + "after": payload.after, + "before": payload.before, + "filter": payload.filter, + "limit": payload.limit, + "sort": payload.sort, + "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: "listEventVouchers", + oAuth2Scopes: ["event/vouchers: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.ListEventVouchersResponse, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, operations.ListEventVouchersResponse$inboundSchema, { + key: "Result", + }), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$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.ListEventVouchersResponse, + | errors.ErrorResponse1 + | 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 = () => + eventsListEventVouchers( + 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/eventsListEventVouchersPostFilter.ts b/packages/typescript/src/funcs/eventsListEventVouchersPostFilter.ts new file mode 100644 index 000000000..220c7475e --- /dev/null +++ b/packages/typescript/src/funcs/eventsListEventVouchersPostFilter.ts @@ -0,0 +1,259 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { CventSDKCore } from "../core.js"; +import { dlv } from "../lib/dlv.js"; +import { encodeFormQuery, 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"; +import { + createPageIterator, + haltIterator, + PageIterator, + Paginator, +} from "../types/operations.js"; + +/** + * List Event Vouchers (Filter) + * + * @remarks + * Retrieves a paginated list of vouchers configured for an event using a filter provided in the body of the request. + */ +export function eventsListEventVouchersPostFilter( + client: CventSDKCore, + request: operations.ListEventVouchersPostFilterRequest, + options?: RequestOptions, +): APIPromise< + PageIterator< + Result< + operations.ListEventVouchersPostFilterResponse, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + { cursor: string } + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: CventSDKCore, + request: operations.ListEventVouchersPostFilterRequest, + options?: RequestOptions, +): Promise< + [ + PageIterator< + Result< + operations.ListEventVouchersPostFilterResponse, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + { cursor: string } + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => + operations.ListEventVouchersPostFilterRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [haltIterator(parsed), { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.filter, { explode: true }); + + const pathParams = { + id: encodeSimple("id", payload.id, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/events/{id}/vouchers/filter")(pathParams); + + const query = encodeFormQuery({ + "after": payload.after, + "before": payload.before, + "limit": payload.limit, + "sort": payload.sort, + "token": payload.token, + }); + + 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: "listEventVouchersPostFilter", + oAuth2Scopes: ["event/vouchers: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: "POST", + 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.ListEventVouchersPostFilterResponse, + | errors.ErrorResponse1 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, operations.ListEventVouchersPostFilterResponse$inboundSchema, { + key: "Result", + }), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$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.ListEventVouchersPostFilterResponse, + | errors.ErrorResponse1 + | 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 = () => + eventsListEventVouchersPostFilter( + 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/exhibitorContentCreateExhibitorWeblink.ts b/packages/typescript/src/funcs/exhibitorContentCreateExhibitorWeblink.ts index 500e2e919..a15ed0d74 100644 --- a/packages/typescript/src/funcs/exhibitorContentCreateExhibitorWeblink.ts +++ b/packages/typescript/src/funcs/exhibitorContentCreateExhibitorWeblink.ts @@ -41,6 +41,7 @@ export function exhibitorContentCreateExhibitorWeblink( ): APIPromise< Result< components.ExistingWeblink, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -67,6 +68,7 @@ async function $do( [ Result< components.ExistingWeblink, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -172,6 +174,7 @@ async function $do( const [result] = await M.match< components.ExistingWeblink, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -183,10 +186,8 @@ async function $do( | SDKValidationError >( M.json(201, components.ExistingWeblink$inboundSchema), - M.jsonErr( - [400, 401, 403, 404, 422, 429], - errors.ErrorResponse1$inboundSchema, - ), + M.jsonErr(422, errors.ErrorResponse2$inboundSchema), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/exhibitorContentUpdateExhibitorFile.ts b/packages/typescript/src/funcs/exhibitorContentUpdateExhibitorFile.ts index bb280335f..918daa6b8 100644 --- a/packages/typescript/src/funcs/exhibitorContentUpdateExhibitorFile.ts +++ b/packages/typescript/src/funcs/exhibitorContentUpdateExhibitorFile.ts @@ -41,6 +41,7 @@ export function exhibitorContentUpdateExhibitorFile( ): APIPromise< Result< components.ExistingFile, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -67,6 +68,7 @@ async function $do( [ Result< components.ExistingFile, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -176,6 +178,7 @@ async function $do( const [result] = await M.match< components.ExistingFile, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -187,10 +190,8 @@ async function $do( | SDKValidationError >( M.json(200, components.ExistingFile$inboundSchema), - M.jsonErr( - [400, 401, 403, 404, 422, 429], - errors.ErrorResponse1$inboundSchema, - ), + M.jsonErr(422, errors.ErrorResponse2$inboundSchema), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/exhibitorContentUpdateExhibitorWeblink.ts b/packages/typescript/src/funcs/exhibitorContentUpdateExhibitorWeblink.ts index 5d77f6501..e087d6adc 100644 --- a/packages/typescript/src/funcs/exhibitorContentUpdateExhibitorWeblink.ts +++ b/packages/typescript/src/funcs/exhibitorContentUpdateExhibitorWeblink.ts @@ -41,6 +41,7 @@ export function exhibitorContentUpdateExhibitorWeblink( ): APIPromise< Result< components.ExistingWeblink, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -67,6 +68,7 @@ async function $do( [ Result< components.ExistingWeblink, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -176,6 +178,7 @@ async function $do( const [result] = await M.match< components.ExistingWeblink, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -187,10 +190,8 @@ async function $do( | SDKValidationError >( M.json(200, components.ExistingWeblink$inboundSchema), - M.jsonErr( - [400, 401, 403, 404, 422, 429], - errors.ErrorResponse1$inboundSchema, - ), + M.jsonErr(422, errors.ErrorResponse2$inboundSchema), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/exhibitorDeleteRegistrationPack.ts b/packages/typescript/src/funcs/exhibitorDeleteRegistrationPack.ts index b68fd4b83..86f2fe96d 100644 --- a/packages/typescript/src/funcs/exhibitorDeleteRegistrationPack.ts +++ b/packages/typescript/src/funcs/exhibitorDeleteRegistrationPack.ts @@ -41,6 +41,7 @@ export function exhibitorDeleteRegistrationPack( ): APIPromise< Result< void, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -67,6 +68,7 @@ async function $do( [ Result< void, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -176,6 +178,7 @@ async function $do( const [result] = await M.match< void, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -187,7 +190,8 @@ async function $do( | SDKValidationError >( M.nil(204, z.void()), - M.jsonErr([401, 403, 404, 409, 429], errors.ErrorResponse1$inboundSchema), + M.jsonErr(409, errors.ErrorResponse2$inboundSchema), + M.jsonErr([401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/exhibitorPostRegistrationPack.ts b/packages/typescript/src/funcs/exhibitorPostRegistrationPack.ts index f19f43959..ca755ee2f 100644 --- a/packages/typescript/src/funcs/exhibitorPostRegistrationPack.ts +++ b/packages/typescript/src/funcs/exhibitorPostRegistrationPack.ts @@ -41,6 +41,7 @@ export function exhibitorPostRegistrationPack( ): APIPromise< Result< components.RegistrationPackResponse, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -67,6 +68,7 @@ async function $do( [ Result< components.RegistrationPackResponse, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -174,6 +176,7 @@ async function $do( const [result] = await M.match< components.RegistrationPackResponse, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -185,10 +188,8 @@ async function $do( | SDKValidationError >( M.json(201, components.RegistrationPackResponse$inboundSchema), - M.jsonErr( - [400, 401, 403, 404, 409, 429], - errors.ErrorResponse1$inboundSchema, - ), + M.jsonErr(409, errors.ErrorResponse2$inboundSchema), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/housingCancelReservationRequest.ts b/packages/typescript/src/funcs/housingCancelReservationRequest.ts index 5fd3da383..a6fdb9337 100644 --- a/packages/typescript/src/funcs/housingCancelReservationRequest.ts +++ b/packages/typescript/src/funcs/housingCancelReservationRequest.ts @@ -39,6 +39,7 @@ export function housingCancelReservationRequest( ): APIPromise< Result< void, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -65,6 +66,7 @@ async function $do( [ Result< void, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -166,6 +168,7 @@ async function $do( const [result] = await M.match< void, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -177,7 +180,8 @@ async function $do( | SDKValidationError >( M.nil(204, z.void()), - M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), + M.jsonErr(400, errors.ErrorResponse2$inboundSchema), + M.jsonErr([401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/housingUpdateReservationRequest.ts b/packages/typescript/src/funcs/housingUpdateReservationRequest.ts index 4e1d56c50..c0dd0014b 100644 --- a/packages/typescript/src/funcs/housingUpdateReservationRequest.ts +++ b/packages/typescript/src/funcs/housingUpdateReservationRequest.ts @@ -39,6 +39,7 @@ export function housingUpdateReservationRequest( ): APIPromise< Result< components.ExistingReservationRequest, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -65,6 +66,7 @@ async function $do( [ Result< components.ExistingReservationRequest, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -169,6 +171,7 @@ async function $do( const [result] = await M.match< components.ExistingReservationRequest, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -180,7 +183,8 @@ async function $do( | SDKValidationError >( M.json(200, components.ExistingReservationRequest$inboundSchema), - M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), + M.jsonErr(400, errors.ErrorResponse2$inboundSchema), + M.jsonErr([401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/meetingRequestGetMRFById.ts b/packages/typescript/src/funcs/meetingRequestGetMRFById.ts index 487d2e6d6..7a9985e87 100644 --- a/packages/typescript/src/funcs/meetingRequestGetMRFById.ts +++ b/packages/typescript/src/funcs/meetingRequestGetMRFById.ts @@ -41,6 +41,7 @@ export function meetingRequestGetMRFById( ): APIPromise< Result< components.MeetingRequestForm, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -67,6 +68,7 @@ async function $do( [ Result< components.MeetingRequestForm, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -164,6 +166,7 @@ async function $do( const [result] = await M.match< components.MeetingRequestForm, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -175,7 +178,8 @@ async function $do( | SDKValidationError >( M.json(200, components.MeetingRequestForm$inboundSchema), - M.jsonErr([401, 403, 404, 422, 429], errors.ErrorResponse1$inboundSchema), + M.jsonErr(422, errors.ErrorResponse2$inboundSchema), + M.jsonErr([401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/sessionsRelateProgramItemToSessionDocument.ts b/packages/typescript/src/funcs/sessionsRelateProgramItemToSessionDocument.ts index 5739e8dca..9d39cf0a4 100644 --- a/packages/typescript/src/funcs/sessionsRelateProgramItemToSessionDocument.ts +++ b/packages/typescript/src/funcs/sessionsRelateProgramItemToSessionDocument.ts @@ -39,6 +39,7 @@ export function sessionsRelateProgramItemToSessionDocument( ): APIPromise< Result< components.ProgramItemSessionDocument, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -65,6 +66,7 @@ async function $do( [ Result< components.ProgramItemSessionDocument, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -171,6 +173,7 @@ async function $do( const [result] = await M.match< components.ProgramItemSessionDocument, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -182,7 +185,8 @@ async function $do( | SDKValidationError >( M.json(200, components.ProgramItemSessionDocument$inboundSchema), - M.jsonErr([401, 403, 404, 409, 429], errors.ErrorResponse1$inboundSchema), + M.jsonErr(409, errors.ErrorResponse2$inboundSchema), + M.jsonErr([401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/speakersAddSpeakerCategory.ts b/packages/typescript/src/funcs/speakersAddSpeakerCategory.ts index e3fa803c2..f8b4070e1 100644 --- a/packages/typescript/src/funcs/speakersAddSpeakerCategory.ts +++ b/packages/typescript/src/funcs/speakersAddSpeakerCategory.ts @@ -35,7 +35,7 @@ import { Result } from "../types/fp.js"; */ export function speakersAddSpeakerCategory( client: CventSDKCore, - request: components.SpeakerCategory, + request: components.SpeakerCategory2, options?: RequestOptions, ): APIPromise< Result< @@ -60,7 +60,7 @@ export function speakersAddSpeakerCategory( async function $do( client: CventSDKCore, - request: components.SpeakerCategory, + request: components.SpeakerCategory2, options?: RequestOptions, ): Promise< [ @@ -81,7 +81,7 @@ async function $do( > { const parsed = safeParse( request, - (value) => components.SpeakerCategory$outboundSchema.parse(value), + (value) => components.SpeakerCategory2$outboundSchema.parse(value), "Input validation failed", ); if (!parsed.ok) { diff --git a/packages/typescript/src/funcs/speakersCreateSessionProgramSpeaker.ts b/packages/typescript/src/funcs/speakersCreateSessionProgramSpeaker.ts index 9fcd0400b..4f2732125 100644 --- a/packages/typescript/src/funcs/speakersCreateSessionProgramSpeaker.ts +++ b/packages/typescript/src/funcs/speakersCreateSessionProgramSpeaker.ts @@ -39,6 +39,7 @@ export function speakersCreateSessionProgramSpeaker( ): APIPromise< Result< components.SpeakerProgramItem, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -65,6 +66,7 @@ async function $do( [ Result< components.SpeakerProgramItem, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -169,6 +171,7 @@ async function $do( const [result] = await M.match< components.SpeakerProgramItem, + | errors.ErrorResponse2 | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -180,7 +183,8 @@ async function $do( | SDKValidationError >( M.json(200, components.SpeakerProgramItem$inboundSchema), - M.jsonErr([401, 403, 404, 409, 429], errors.ErrorResponse1$inboundSchema), + M.jsonErr(409, errors.ErrorResponse2$inboundSchema), + M.jsonErr([401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/travelAccountsGetTravelAccount.ts b/packages/typescript/src/funcs/travelAccountsGetTravelAccount.ts index 409d06936..7535638f5 100644 --- a/packages/typescript/src/funcs/travelAccountsGetTravelAccount.ts +++ b/packages/typescript/src/funcs/travelAccountsGetTravelAccount.ts @@ -109,7 +109,10 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getTravelAccount", - oAuth2Scopes: ["business-transient/travel-accounts:read"], + oAuth2Scopes: [ + "business-transient/travel-accounts:read", + "business-travel/travel-accounts:read", + ], resolvedSecurity: requestSecurity, diff --git a/packages/typescript/src/funcs/travelAccountsListTravelAccounts.ts b/packages/typescript/src/funcs/travelAccountsListTravelAccounts.ts index f5c0dfb64..b03ac3404 100644 --- a/packages/typescript/src/funcs/travelAccountsListTravelAccounts.ts +++ b/packages/typescript/src/funcs/travelAccountsListTravelAccounts.ts @@ -122,7 +122,10 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "ListTravelAccounts", - oAuth2Scopes: ["business-transient/travel-accounts:read"], + oAuth2Scopes: [ + "business-transient/travel-accounts:read", + "business-travel/travel-accounts:read", + ], resolvedSecurity: requestSecurity, diff --git a/packages/typescript/src/funcs/travelRFPsGetTravelProgram.ts b/packages/typescript/src/funcs/travelRFPsGetTravelProgram.ts index af0aeac15..af4713021 100644 --- a/packages/typescript/src/funcs/travelRFPsGetTravelProgram.ts +++ b/packages/typescript/src/funcs/travelRFPsGetTravelProgram.ts @@ -109,7 +109,10 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getTravelProgram", - oAuth2Scopes: ["business-transient/travel-programs:read"], + oAuth2Scopes: [ + "business-transient/travel-programs:read", + "business-travel/travel-programs:read", + ], resolvedSecurity: requestSecurity, diff --git a/packages/typescript/src/funcs/travelRFPsGetTravelProgramQuestion.ts b/packages/typescript/src/funcs/travelRFPsGetTravelProgramQuestion.ts index 18fd00a9b..492c72557 100644 --- a/packages/typescript/src/funcs/travelRFPsGetTravelProgramQuestion.ts +++ b/packages/typescript/src/funcs/travelRFPsGetTravelProgramQuestion.ts @@ -116,7 +116,10 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getTravelProgramQuestion", - oAuth2Scopes: ["business-transient/travel-program-questions:read"], + oAuth2Scopes: [ + "business-transient/travel-program-questions:read", + "business-travel/travel-program-questions:read", + ], resolvedSecurity: requestSecurity, diff --git a/packages/typescript/src/funcs/travelRFPsGetTravelProposalBid.ts b/packages/typescript/src/funcs/travelRFPsGetTravelProposalBid.ts index 4509551a1..2f69a41eb 100644 --- a/packages/typescript/src/funcs/travelRFPsGetTravelProposalBid.ts +++ b/packages/typescript/src/funcs/travelRFPsGetTravelProposalBid.ts @@ -38,7 +38,7 @@ export function travelRFPsGetTravelProposalBid( options?: RequestOptions, ): APIPromise< Result< - components.TravelProposalBid, + components.TravelProposalBid2, | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -64,7 +64,7 @@ async function $do( ): Promise< [ Result< - components.TravelProposalBid, + components.TravelProposalBid2, | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -165,7 +165,7 @@ async function $do( }; const [result] = await M.match< - components.TravelProposalBid, + components.TravelProposalBid2, | errors.ErrorResponse1 | CventSDKError | ResponseValidationError @@ -176,7 +176,7 @@ async function $do( | UnexpectedClientError | SDKValidationError >( - M.json(200, components.TravelProposalBid$inboundSchema), + M.json(200, components.TravelProposalBid2$inboundSchema), M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse1$inboundSchema), M.fail("4XX"), M.fail("5XX"), diff --git a/packages/typescript/src/funcs/travelRFPsListTravelProgramQuestions.ts b/packages/typescript/src/funcs/travelRFPsListTravelProgramQuestions.ts index 60bb33aff..ce475ffe2 100644 --- a/packages/typescript/src/funcs/travelRFPsListTravelProgramQuestions.ts +++ b/packages/typescript/src/funcs/travelRFPsListTravelProgramQuestions.ts @@ -129,7 +129,10 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "ListTravelProgramQuestions", - oAuth2Scopes: ["business-transient/travel-program-questions:read"], + oAuth2Scopes: [ + "business-transient/travel-program-questions:read", + "business-travel/travel-program-questions:read", + ], resolvedSecurity: requestSecurity, diff --git a/packages/typescript/src/funcs/travelRFPsListTravelPrograms.ts b/packages/typescript/src/funcs/travelRFPsListTravelPrograms.ts index d2ecc8285..9d49a49f1 100644 --- a/packages/typescript/src/funcs/travelRFPsListTravelPrograms.ts +++ b/packages/typescript/src/funcs/travelRFPsListTravelPrograms.ts @@ -122,7 +122,10 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "ListTravelPrograms", - oAuth2Scopes: ["business-transient/travel-programs:read"], + oAuth2Scopes: [ + "business-transient/travel-programs:read", + "business-travel/travel-programs:read", + ], resolvedSecurity: requestSecurity, diff --git a/packages/typescript/src/funcs/travelRFPsListTravelProgramsQuestions.ts b/packages/typescript/src/funcs/travelRFPsListTravelProgramsQuestions.ts index 2c2511cb9..fd1046ae6 100644 --- a/packages/typescript/src/funcs/travelRFPsListTravelProgramsQuestions.ts +++ b/packages/typescript/src/funcs/travelRFPsListTravelProgramsQuestions.ts @@ -122,7 +122,10 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "ListTravelProgramsQuestions", - oAuth2Scopes: ["business-transient/travel-program-questions:read"], + oAuth2Scopes: [ + "business-transient/travel-program-questions:read", + "business-travel/travel-program-questions:read", + ], resolvedSecurity: requestSecurity, diff --git a/packages/typescript/src/funcs/userSCIMCreateUser.ts b/packages/typescript/src/funcs/userSCIMCreateUser.ts index 6a3cd8b62..000ff88c4 100644 --- a/packages/typescript/src/funcs/userSCIMCreateUser.ts +++ b/packages/typescript/src/funcs/userSCIMCreateUser.ts @@ -40,7 +40,7 @@ export function userSCIMCreateUser( ): APIPromise< Result< components.User, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -66,7 +66,7 @@ async function $do( [ Result< components.User, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -159,7 +159,7 @@ async function $do( const [result] = await M.match< components.User, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -172,7 +172,7 @@ async function $do( M.json(201, components.User$inboundSchema), M.jsonErr( [400, 401, 403, 409, 429], - errors.ErrorResponseJson17$inboundSchema, + errors.ErrorResponseJson12$inboundSchema, ), M.fail("4XX"), M.fail("5XX"), diff --git a/packages/typescript/src/funcs/userSCIMDeleteUser.ts b/packages/typescript/src/funcs/userSCIMDeleteUser.ts index 677a71765..a28143277 100644 --- a/packages/typescript/src/funcs/userSCIMDeleteUser.ts +++ b/packages/typescript/src/funcs/userSCIMDeleteUser.ts @@ -41,7 +41,7 @@ export function userSCIMDeleteUser( ): APIPromise< Result< void, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -67,7 +67,7 @@ async function $do( [ Result< void, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -164,7 +164,7 @@ async function $do( const [result] = await M.match< void, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -175,7 +175,7 @@ async function $do( | SDKValidationError >( M.nil(204, z.void()), - M.jsonErr([401, 403, 404, 429], errors.ErrorResponseJson17$inboundSchema), + M.jsonErr([401, 403, 404, 429], errors.ErrorResponseJson12$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/userSCIMGetResourceType.ts b/packages/typescript/src/funcs/userSCIMGetResourceType.ts index a76618c90..e082a7e80 100644 --- a/packages/typescript/src/funcs/userSCIMGetResourceType.ts +++ b/packages/typescript/src/funcs/userSCIMGetResourceType.ts @@ -41,7 +41,7 @@ export function userSCIMGetResourceType( ): APIPromise< Result< components.ResourceType, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -67,7 +67,7 @@ async function $do( [ Result< components.ResourceType, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -164,7 +164,7 @@ async function $do( const [result] = await M.match< components.ResourceType, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -177,7 +177,7 @@ async function $do( M.json(200, components.ResourceType$inboundSchema), M.jsonErr( [400, 401, 403, 404, 429], - errors.ErrorResponseJson17$inboundSchema, + errors.ErrorResponseJson12$inboundSchema, ), M.fail("4XX"), M.fail("5XX"), diff --git a/packages/typescript/src/funcs/userSCIMGetResourceTypes.ts b/packages/typescript/src/funcs/userSCIMGetResourceTypes.ts index dc06306d5..83a8c8079 100644 --- a/packages/typescript/src/funcs/userSCIMGetResourceTypes.ts +++ b/packages/typescript/src/funcs/userSCIMGetResourceTypes.ts @@ -37,7 +37,7 @@ export function userSCIMGetResourceTypes( ): APIPromise< Result< components.ResourceTypes, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -61,7 +61,7 @@ async function $do( [ Result< components.ResourceTypes, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -139,7 +139,7 @@ async function $do( const [result] = await M.match< components.ResourceTypes, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -150,7 +150,7 @@ async function $do( | SDKValidationError >( M.json(200, components.ResourceTypes$inboundSchema), - M.jsonErr([401, 403, 429], errors.ErrorResponseJson17$inboundSchema), + M.jsonErr([401, 403, 429], errors.ErrorResponseJson12$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/userSCIMGetSchema.ts b/packages/typescript/src/funcs/userSCIMGetSchema.ts index 64b0ce035..761d31949 100644 --- a/packages/typescript/src/funcs/userSCIMGetSchema.ts +++ b/packages/typescript/src/funcs/userSCIMGetSchema.ts @@ -41,7 +41,7 @@ export function userSCIMGetSchema( ): APIPromise< Result< components.UsersSchema, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -67,7 +67,7 @@ async function $do( [ Result< components.UsersSchema, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -164,7 +164,7 @@ async function $do( const [result] = await M.match< components.UsersSchema, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -177,7 +177,7 @@ async function $do( M.json(200, components.UsersSchema$inboundSchema), M.jsonErr( [400, 401, 403, 404, 429], - errors.ErrorResponseJson17$inboundSchema, + errors.ErrorResponseJson12$inboundSchema, ), M.fail("4XX"), M.fail("5XX"), diff --git a/packages/typescript/src/funcs/userSCIMGetSchemas.ts b/packages/typescript/src/funcs/userSCIMGetSchemas.ts index 3128588c9..886d1b16d 100644 --- a/packages/typescript/src/funcs/userSCIMGetSchemas.ts +++ b/packages/typescript/src/funcs/userSCIMGetSchemas.ts @@ -37,7 +37,7 @@ export function userSCIMGetSchemas( ): APIPromise< Result< components.UsersSchemas, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -61,7 +61,7 @@ async function $do( [ Result< components.UsersSchemas, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -139,7 +139,7 @@ async function $do( const [result] = await M.match< components.UsersSchemas, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -150,7 +150,7 @@ async function $do( | SDKValidationError >( M.json(200, components.UsersSchemas$inboundSchema), - M.jsonErr([401, 403, 429], errors.ErrorResponseJson17$inboundSchema), + M.jsonErr([401, 403, 429], errors.ErrorResponseJson12$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/userSCIMGetServiceProviderConfig.ts b/packages/typescript/src/funcs/userSCIMGetServiceProviderConfig.ts index 382b0f9ec..6fb0633d4 100644 --- a/packages/typescript/src/funcs/userSCIMGetServiceProviderConfig.ts +++ b/packages/typescript/src/funcs/userSCIMGetServiceProviderConfig.ts @@ -37,7 +37,7 @@ export function userSCIMGetServiceProviderConfig( ): APIPromise< Result< components.ServiceProviderConfig, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -61,7 +61,7 @@ async function $do( [ Result< components.ServiceProviderConfig, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -139,7 +139,7 @@ async function $do( const [result] = await M.match< components.ServiceProviderConfig, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -150,7 +150,7 @@ async function $do( | SDKValidationError >( M.json(200, components.ServiceProviderConfig$inboundSchema), - M.jsonErr([401, 403, 429], errors.ErrorResponseJson17$inboundSchema), + M.jsonErr([401, 403, 429], errors.ErrorResponseJson12$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/userSCIMGetUser.ts b/packages/typescript/src/funcs/userSCIMGetUser.ts index 402350456..18f68da59 100644 --- a/packages/typescript/src/funcs/userSCIMGetUser.ts +++ b/packages/typescript/src/funcs/userSCIMGetUser.ts @@ -41,7 +41,7 @@ export function userSCIMGetUser( ): APIPromise< Result< components.User, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -67,7 +67,7 @@ async function $do( [ Result< components.User, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -164,7 +164,7 @@ async function $do( const [result] = await M.match< components.User, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -177,7 +177,7 @@ async function $do( M.json(200, components.User$inboundSchema), M.jsonErr( [400, 401, 403, 404, 429], - errors.ErrorResponseJson17$inboundSchema, + errors.ErrorResponseJson12$inboundSchema, ), M.fail("4XX"), M.fail("5XX"), diff --git a/packages/typescript/src/funcs/userSCIMGetUserGroups.ts b/packages/typescript/src/funcs/userSCIMGetUserGroups.ts index ee87478ff..c97008d7e 100644 --- a/packages/typescript/src/funcs/userSCIMGetUserGroups.ts +++ b/packages/typescript/src/funcs/userSCIMGetUserGroups.ts @@ -41,7 +41,7 @@ export function userSCIMGetUserGroups( ): APIPromise< Result< components.UserGroups, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -67,7 +67,7 @@ async function $do( [ Result< components.UserGroups, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -163,7 +163,7 @@ async function $do( const [result] = await M.match< components.UserGroups, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -174,7 +174,7 @@ async function $do( | SDKValidationError >( M.json(200, components.UserGroups$inboundSchema), - M.jsonErr([400, 401, 403, 429], errors.ErrorResponseJson17$inboundSchema), + M.jsonErr([400, 401, 403, 429], errors.ErrorResponseJson12$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/userSCIMListUsers.ts b/packages/typescript/src/funcs/userSCIMListUsers.ts index 52bdc1155..78e76b1de 100644 --- a/packages/typescript/src/funcs/userSCIMListUsers.ts +++ b/packages/typescript/src/funcs/userSCIMListUsers.ts @@ -41,7 +41,7 @@ export function userSCIMListUsers( ): APIPromise< Result< components.Users, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -67,7 +67,7 @@ async function $do( [ Result< components.Users, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -164,7 +164,7 @@ async function $do( const [result] = await M.match< components.Users, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -175,7 +175,7 @@ async function $do( | SDKValidationError >( M.json(200, components.Users$inboundSchema), - M.jsonErr([400, 401, 403, 429], errors.ErrorResponseJson17$inboundSchema), + M.jsonErr([400, 401, 403, 429], errors.ErrorResponseJson12$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req, { extraFields: responseFields }); diff --git a/packages/typescript/src/funcs/userSCIMUpdateUser.ts b/packages/typescript/src/funcs/userSCIMUpdateUser.ts index 489f00ace..d2589235d 100644 --- a/packages/typescript/src/funcs/userSCIMUpdateUser.ts +++ b/packages/typescript/src/funcs/userSCIMUpdateUser.ts @@ -41,7 +41,7 @@ export function userSCIMUpdateUser( ): APIPromise< Result< components.User, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -67,7 +67,7 @@ async function $do( [ Result< components.User, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -165,7 +165,7 @@ async function $do( const [result] = await M.match< components.User, - | errors.ErrorResponseJson17 + | errors.ErrorResponseJson12 | CventSDKError | ResponseValidationError | ConnectionError @@ -178,7 +178,7 @@ async function $do( M.json(200, components.User$inboundSchema), M.jsonErr( [400, 401, 403, 404, 429], - errors.ErrorResponseJson17$inboundSchema, + errors.ErrorResponseJson12$inboundSchema, ), M.fail("4XX"), M.fail("5XX"), diff --git a/packages/typescript/src/hooks/oauth2scopes.ts b/packages/typescript/src/hooks/oauth2scopes.ts index 18dbea0b0..476110dc2 100644 --- a/packages/typescript/src/hooks/oauth2scopes.ts +++ b/packages/typescript/src/hooks/oauth2scopes.ts @@ -145,6 +145,14 @@ export type OAuth2AuthorizationCodeOAuth2Scope = * Allows creation of card transactions. */ | "budget/transactions:write" + /** + * Allows the reading of BT Bid data + */ + | "business-transient/bids:read" + /** + * Allows the reading of BT Proposal data + */ + | "business-transient/proposals:read" /** * Allows the reading of communication compliance */ @@ -509,6 +517,10 @@ export type OAuth2AuthorizationCodeOAuth2Scope = * Allows the creation/updating of video data. */ | "event/videos:write" + /** + * Allows reading of event vouchers and their associated attendees. + */ + | "event/vouchers:read" /** * Allows the deletion of webcast */ @@ -981,6 +993,18 @@ export type OAuth2ClientCredentialsOAuth2Scope = * Allows the reading of business transient travel supplier account data. */ | "business-transient/travel-supplier-accounts:read" + /** + * Allows the reading of business travel account data. + */ + | "business-travel/travel-accounts:read" + /** + * Allows the reading of business travel program question data. + */ + | "business-travel/travel-program-questions:read" + /** + * Allows the reading of business travel program data. + */ + | "business-travel/travel-programs:read" /** * Allows the reading of communication compliance */ @@ -1345,6 +1369,10 @@ export type OAuth2ClientCredentialsOAuth2Scope = * Allows the creation/updating of video data. */ | "event/videos:write" + /** + * Allows reading of event vouchers. + */ + | "event/vouchers:read" /** * Allows the deletion of webcast */ diff --git a/packages/typescript/src/lib/config.ts b/packages/typescript/src/lib/config.ts index fa3f534bb..47d66a80f 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.4.0", + sdkVersion: "1.5.0", genVersion: "2.859.2", - userAgent: "speakeasy-sdk/typescript 1.4.0 2.859.2 ea @cvent/sdk", + userAgent: "speakeasy-sdk/typescript 1.5.0 2.859.2 ea @cvent/sdk", } as const; diff --git a/packages/typescript/src/models/components/accountbudgetitemlistresponsejson.ts b/packages/typescript/src/models/components/accountbudgetitemlistresponsejson.ts index 3f9424826..c948f44c7 100644 --- a/packages/typescript/src/models/components/accountbudgetitemlistresponsejson.ts +++ b/packages/typescript/src/models/components/accountbudgetitemlistresponsejson.ts @@ -18,8 +18,8 @@ import { BudgetVersionIdJson, BudgetVersionIdJson$inboundSchema, } from "./budgetversionidjson.js"; -import { EventJson2, EventJson2$inboundSchema } from "./eventjson2.js"; -import { RfpIdJson1, RfpIdJson1$inboundSchema } from "./rfpidjson1.js"; +import { EventJson1, EventJson1$inboundSchema } from "./eventjson1.js"; +import { RfpIdJson, RfpIdJson$inboundSchema } from "./rfpidjson.js"; /** * The response from a request to retrieve list of budget items across all events linked to the account. @@ -44,11 +44,11 @@ export type AccountBudgetItemListResponseJson = { /** * Event ID Information. */ - event?: EventJson2 | undefined; + event?: EventJson1 | undefined; /** * RFP ID Information. */ - rfp?: RfpIdJson1 | undefined; + rfp?: RfpIdJson | undefined; /** * Budget Version ID Information. */ @@ -92,8 +92,8 @@ export const AccountBudgetItemListResponseJson$inboundSchema: z.ZodType< new Date(v) ).optional(), lastModifiedBy: z.string().optional(), - event: EventJson2$inboundSchema.optional(), - rfp: RfpIdJson1$inboundSchema.optional(), + event: EventJson1$inboundSchema.optional(), + rfp: RfpIdJson$inboundSchema.optional(), budgetVersion: BudgetVersionIdJson$inboundSchema.optional(), id: z.string().optional(), name: z.string().optional(), diff --git a/packages/typescript/src/models/components/additionalchoice.ts b/packages/typescript/src/models/components/additionalchoice.ts index c3870d541..0366d28a3 100644 --- a/packages/typescript/src/models/components/additionalchoice.ts +++ b/packages/typescript/src/models/components/additionalchoice.ts @@ -8,13 +8,17 @@ import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** - * Contains text of additional choice + * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. */ export type AdditionalChoice = { /** - * Text Value of additional choice + * Display text of additional choice. */ text?: string | undefined; + /** + * Name of additional choice text in reporting. + */ + shortText?: string | undefined; }; /** @internal */ @@ -24,6 +28,7 @@ export const AdditionalChoice$inboundSchema: z.ZodType< unknown > = z.object({ text: z.string().optional(), + shortText: z.string().optional(), }); export function additionalChoiceFromJSON( diff --git a/packages/typescript/src/models/components/additionalchoice1.ts b/packages/typescript/src/models/components/additionalchoice1.ts new file mode 100644 index 000000000..50f0ec8b0 --- /dev/null +++ b/packages/typescript/src/models/components/additionalchoice1.ts @@ -0,0 +1,37 @@ +/* + * 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"; + +/** + * Contains text of additional choice + */ +export type AdditionalChoice1 = { + /** + * Text Value of additional choice + */ + text?: string | undefined; +}; + +/** @internal */ +export const AdditionalChoice1$inboundSchema: z.ZodType< + AdditionalChoice1, + z.ZodTypeDef, + unknown +> = z.object({ + text: z.string().optional(), +}); + +export function additionalChoice1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AdditionalChoice1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AdditionalChoice1' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/additionalchoicejson.ts b/packages/typescript/src/models/components/additionalchoicejson.ts new file mode 100644 index 000000000..b24d2d6eb --- /dev/null +++ b/packages/typescript/src/models/components/additionalchoicejson.ts @@ -0,0 +1,42 @@ +/* + * 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"; + +/** + * Contains text of additional choice i.e N/A choice or otherAnswer choice + */ +export type AdditionalChoiceJson = { + /** + * Text Value of additional choice + */ + text?: string | undefined; + /** + * Reporting value of additional choice text + */ + shortText?: string | undefined; +}; + +/** @internal */ +export const AdditionalChoiceJson$inboundSchema: z.ZodType< + AdditionalChoiceJson, + z.ZodTypeDef, + unknown +> = z.object({ + text: z.string().optional(), + shortText: z.string().optional(), +}); + +export function additionalChoiceJsonFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AdditionalChoiceJson$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AdditionalChoiceJson' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/additionalchoicejson1.ts b/packages/typescript/src/models/components/additionalchoicejson1.ts deleted file mode 100644 index c22808da4..000000000 --- a/packages/typescript/src/models/components/additionalchoicejson1.ts +++ /dev/null @@ -1,42 +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"; - -/** - * Contains text of additional choice i.e N/A choice or otherAnswer choice - */ -export type AdditionalChoiceJson1 = { - /** - * Text Value of additional choice - */ - text?: string | undefined; - /** - * Reporting value of additional choice text - */ - shortText?: string | undefined; -}; - -/** @internal */ -export const AdditionalChoiceJson1$inboundSchema: z.ZodType< - AdditionalChoiceJson1, - z.ZodTypeDef, - unknown -> = z.object({ - text: z.string().optional(), - shortText: z.string().optional(), -}); - -export function additionalChoiceJson1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AdditionalChoiceJson1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AdditionalChoiceJson1' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/additionalchoicejson2.ts b/packages/typescript/src/models/components/additionalchoicejson2.ts deleted file mode 100644 index abb1a37b3..000000000 --- a/packages/typescript/src/models/components/additionalchoicejson2.ts +++ /dev/null @@ -1,42 +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"; - -/** - * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. - */ -export type AdditionalChoiceJson2 = { - /** - * Display text of additional choice. - */ - text?: string | undefined; - /** - * Name of additional choice text in reporting. - */ - shortText?: string | undefined; -}; - -/** @internal */ -export const AdditionalChoiceJson2$inboundSchema: z.ZodType< - AdditionalChoiceJson2, - z.ZodTypeDef, - unknown -> = z.object({ - text: z.string().optional(), - shortText: z.string().optional(), -}); - -export function additionalChoiceJson2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AdditionalChoiceJson2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AdditionalChoiceJson2' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/address.ts b/packages/typescript/src/models/components/address.ts new file mode 100644 index 000000000..192fa4975 --- /dev/null +++ b/packages/typescript/src/models/components/address.ts @@ -0,0 +1,74 @@ +/* + * 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"; + +/** + * Contact address details. + */ +export type Address = { + /** + * The first line of an address. + */ + address1?: string | undefined; + /** + * The second line of an address. + */ + address2?: string | undefined; + /** + * The third line of an address. + */ + address3?: string | undefined; + /** + * The name of the city. + */ + city?: string | undefined; + /** + * ISO 3166 two-letter (alpha-2) country code. + */ + countryCode?: string | undefined; + /** + * Postal code (also known as zipcode) of the address. + */ + postalCode?: string | undefined; + /** + * The name of the state/province/region of the address. + */ + region?: string | undefined; + /** + * The abbreviation of the state/province/region of the address. + */ + regionCode?: string | undefined; + /** + * Name of the country of the address. + */ + country?: string | undefined; +}; + +/** @internal */ +export const Address$inboundSchema: z.ZodType = + z.object({ + address1: z.string().optional(), + address2: z.string().optional(), + address3: z.string().optional(), + city: z.string().optional(), + countryCode: z.string().optional(), + postalCode: z.string().optional(), + region: z.string().optional(), + regionCode: z.string().optional(), + country: z.string().optional(), + }); + +export function addressFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Address$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Address' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/address1.ts b/packages/typescript/src/models/components/address1.ts new file mode 100644 index 000000000..ac06bef8e --- /dev/null +++ b/packages/typescript/src/models/components/address1.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"; + +/** + * Address details. + */ +export type Address1 = { + /** + * ISO 3166 code for the country. + */ + countryCode: string; + /** + * The name of the city. + */ + city: string; + /** + * ISO 3166-2 code for the state/province/region. + */ + regionCode?: string | undefined; +}; + +/** @internal */ +export const Address1$inboundSchema: z.ZodType< + Address1, + z.ZodTypeDef, + unknown +> = z.object({ + countryCode: z.string(), + city: z.string(), + regionCode: z.string().optional(), +}); + +export function address1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Address1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Address1' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/address11.ts b/packages/typescript/src/models/components/address11.ts index 2f92466a6..623f334ae 100644 --- a/packages/typescript/src/models/components/address11.ts +++ b/packages/typescript/src/models/components/address11.ts @@ -8,33 +8,21 @@ import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** - * Address details + * Schema for address information */ export type Address11 = { /** - * The first line of an address. + * The first line of an address */ address1?: string | undefined; /** - * The second line of an address. + * The second line of an address */ address2?: string | undefined; - /** - * The third line of an address. - */ - address3?: string | undefined; /** * The name of the city. */ city?: string | undefined; - /** - * ISO 3166 two-letter (alpha-2) country code. - */ - countryCode?: string | undefined; - /** - * Postal code (also known as zipcode) of the address. - */ - postalCode?: string | undefined; /** * The name of the state/province/region of the address. */ @@ -44,17 +32,17 @@ export type Address11 = { */ regionCode?: string | undefined; /** - * Name of the country of the address. + * postal code (also known as zipcode) of the address */ - country?: string | undefined; + postalCode?: string | undefined; /** - * The geo latitude of the address. + * Name of the country for example, 'United States' */ - latitude?: number | undefined; + country?: string | undefined; /** - * The geo longitude of the address. + * ISO 3166 two-letter (alpha-2) country code */ - longitude?: number | undefined; + countryCode?: string | undefined; }; /** @internal */ @@ -65,15 +53,12 @@ export const Address11$inboundSchema: z.ZodType< > = z.object({ address1: z.string().optional(), address2: z.string().optional(), - address3: z.string().optional(), city: z.string().optional(), - countryCode: z.string().optional(), - postalCode: z.string().optional(), region: z.string().optional(), regionCode: z.string().optional(), + postalCode: z.string().optional(), country: z.string().optional(), - latitude: z.number().int().optional(), - longitude: z.number().int().optional(), + countryCode: z.string().optional(), }); export function address11FromJSON( diff --git a/packages/typescript/src/models/components/address12.ts b/packages/typescript/src/models/components/address12.ts deleted file mode 100644 index d6115fdbb..000000000 --- a/packages/typescript/src/models/components/address12.ts +++ /dev/null @@ -1,72 +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"; - -/** - * Schema for address information - */ -export type Address12 = { - /** - * The first line of an address - */ - address1?: string | undefined; - /** - * The second line of an address - */ - address2?: string | undefined; - /** - * The name of the city. - */ - city?: string | undefined; - /** - * The name of the state/province/region of the address. - */ - region?: string | undefined; - /** - * The abbreviation of the state/province/region of the address. - */ - regionCode?: string | undefined; - /** - * postal code (also known as zipcode) of the address - */ - postalCode?: string | undefined; - /** - * Name of the country for example, 'United States' - */ - country?: string | undefined; - /** - * ISO 3166 two-letter (alpha-2) country code - */ - countryCode?: string | undefined; -}; - -/** @internal */ -export const Address12$inboundSchema: z.ZodType< - Address12, - z.ZodTypeDef, - unknown -> = z.object({ - address1: z.string().optional(), - address2: z.string().optional(), - city: z.string().optional(), - region: z.string().optional(), - regionCode: z.string().optional(), - postalCode: z.string().optional(), - country: z.string().optional(), - countryCode: z.string().optional(), -}); - -export function address12FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Address12$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Address12' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/address2.ts b/packages/typescript/src/models/components/address2.ts deleted file mode 100644 index ed1696478..000000000 --- a/packages/typescript/src/models/components/address2.ts +++ /dev/null @@ -1,88 +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"; - -/** - * An object representing an address with various properties. - */ -export type Address2 = { - /** - * The first line of an address - */ - address1?: string | undefined; - /** - * The second line of an address - */ - address2?: string | undefined; - /** - * The name of the city. - */ - city?: string | undefined; - /** - * The name of the state/province/region of the address. - */ - region?: string | undefined; - /** - * postal code (also known as zipcode) of the address - */ - postalCode?: string | undefined; - /** - * Name of the country for example, 'United States' - */ - country?: string | undefined; -}; - -/** @internal */ -export const Address2$inboundSchema: z.ZodType< - Address2, - z.ZodTypeDef, - unknown -> = z.object({ - address1: z.string().optional(), - address2: z.string().optional(), - city: z.string().optional(), - region: z.string().optional(), - postalCode: z.string().optional(), - country: z.string().optional(), -}); -/** @internal */ -export type Address2$Outbound = { - address1?: string | undefined; - address2?: string | undefined; - city?: string | undefined; - region?: string | undefined; - postalCode?: string | undefined; - country?: string | undefined; -}; - -/** @internal */ -export const Address2$outboundSchema: z.ZodType< - Address2$Outbound, - z.ZodTypeDef, - Address2 -> = z.object({ - address1: z.string().optional(), - address2: z.string().optional(), - city: z.string().optional(), - region: z.string().optional(), - postalCode: z.string().optional(), - country: z.string().optional(), -}); - -export function address2ToJSON(address2: Address2): string { - return JSON.stringify(Address2$outboundSchema.parse(address2)); -} -export function address2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Address2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Address2' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/address3.ts b/packages/typescript/src/models/components/address3.ts index 77f8c1d4b..5861ff2de 100644 --- a/packages/typescript/src/models/components/address3.ts +++ b/packages/typescript/src/models/components/address3.ts @@ -8,7 +8,7 @@ import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** - * Address of the hotel. + * Address details */ export type Address3 = { /** @@ -44,9 +44,17 @@ export type Address3 = { */ regionCode?: string | undefined; /** - * Name of the country. + * Name of the country of the address. */ country?: string | undefined; + /** + * The geo latitude of the address. + */ + latitude?: number | undefined; + /** + * The geo longitude of the address. + */ + longitude?: number | undefined; }; /** @internal */ @@ -64,6 +72,8 @@ export const Address3$inboundSchema: z.ZodType< region: z.string().optional(), regionCode: z.string().optional(), country: z.string().optional(), + latitude: z.number().int().optional(), + longitude: z.number().int().optional(), }); export function address3FromJSON( diff --git a/packages/typescript/src/models/components/address4.ts b/packages/typescript/src/models/components/address4.ts new file mode 100644 index 000000000..1f880bd0a --- /dev/null +++ b/packages/typescript/src/models/components/address4.ts @@ -0,0 +1,88 @@ +/* + * 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"; + +/** + * An object representing an address with various properties. + */ +export type Address4 = { + /** + * The first line of an address + */ + address1?: string | undefined; + /** + * The second line of an address + */ + address2?: string | undefined; + /** + * The name of the city. + */ + city?: string | undefined; + /** + * The name of the state/province/region of the address. + */ + region?: string | undefined; + /** + * postal code (also known as zipcode) of the address + */ + postalCode?: string | undefined; + /** + * Name of the country for example, 'United States' + */ + country?: string | undefined; +}; + +/** @internal */ +export const Address4$inboundSchema: z.ZodType< + Address4, + z.ZodTypeDef, + unknown +> = z.object({ + address1: z.string().optional(), + address2: z.string().optional(), + city: z.string().optional(), + region: z.string().optional(), + postalCode: z.string().optional(), + country: z.string().optional(), +}); +/** @internal */ +export type Address4$Outbound = { + address1?: string | undefined; + address2?: string | undefined; + city?: string | undefined; + region?: string | undefined; + postalCode?: string | undefined; + country?: string | undefined; +}; + +/** @internal */ +export const Address4$outboundSchema: z.ZodType< + Address4$Outbound, + z.ZodTypeDef, + Address4 +> = z.object({ + address1: z.string().optional(), + address2: z.string().optional(), + city: z.string().optional(), + region: z.string().optional(), + postalCode: z.string().optional(), + country: z.string().optional(), +}); + +export function address4ToJSON(address4: Address4): string { + return JSON.stringify(Address4$outboundSchema.parse(address4)); +} +export function address4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Address4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Address4' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/address5.ts b/packages/typescript/src/models/components/address5.ts new file mode 100644 index 000000000..25cd4c3a3 --- /dev/null +++ b/packages/typescript/src/models/components/address5.ts @@ -0,0 +1,77 @@ +/* + * 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"; + +/** + * Address of the hotel. + */ +export type Address5 = { + /** + * The first line of an address. + */ + address1?: string | undefined; + /** + * The second line of an address. + */ + address2?: string | undefined; + /** + * The third line of an address. + */ + address3?: string | undefined; + /** + * The name of the city. + */ + city?: string | undefined; + /** + * ISO 3166 two-letter (alpha-2) country code. + */ + countryCode?: string | undefined; + /** + * Postal code (also known as zipcode) of the address. + */ + postalCode?: string | undefined; + /** + * The name of the state/province/region of the address. + */ + region?: string | undefined; + /** + * The abbreviation of the state/province/region of the address. + */ + regionCode?: string | undefined; + /** + * Name of the country. + */ + country?: string | undefined; +}; + +/** @internal */ +export const Address5$inboundSchema: z.ZodType< + Address5, + z.ZodTypeDef, + unknown +> = z.object({ + address1: z.string().optional(), + address2: z.string().optional(), + address3: z.string().optional(), + city: z.string().optional(), + countryCode: z.string().optional(), + postalCode: z.string().optional(), + region: z.string().optional(), + regionCode: z.string().optional(), + country: z.string().optional(), +}); + +export function address5FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Address5$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Address5' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/address6.ts b/packages/typescript/src/models/components/address6.ts new file mode 100644 index 000000000..d78855dd1 --- /dev/null +++ b/packages/typescript/src/models/components/address6.ts @@ -0,0 +1,72 @@ +/* + * 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"; + +/** + * Address details. + */ +export type Address6 = { + /** + * Address line 1. + */ + address1?: string | undefined; + /** + * Address line 2. + */ + address2?: string | undefined; + /** + * City name. + */ + city?: string | undefined; + /** + * Region name. + */ + region?: string | undefined; + /** + * Region code. + */ + regionCode?: string | undefined; + /** + * Postal code. + */ + postalCode?: string | undefined; + /** + * Country name. + */ + country?: string | undefined; + /** + * ISO 3166 alpha-2 country code. + */ + countryCode?: string | undefined; +}; + +/** @internal */ +export const Address6$inboundSchema: z.ZodType< + Address6, + z.ZodTypeDef, + unknown +> = z.object({ + address1: z.string().optional(), + address2: z.string().optional(), + city: z.string().optional(), + region: z.string().optional(), + regionCode: z.string().optional(), + postalCode: z.string().optional(), + country: z.string().optional(), + countryCode: z.string().optional(), +}); + +export function address6FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Address6$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Address6' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/addressinput.ts b/packages/typescript/src/models/components/addressinput.ts new file mode 100644 index 000000000..3b474a275 --- /dev/null +++ b/packages/typescript/src/models/components/addressinput.ts @@ -0,0 +1,69 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; + +/** + * Contact address details. + */ +export type AddressInput = { + /** + * The first line of an address. + */ + address1?: string | undefined; + /** + * The second line of an address. + */ + address2?: string | undefined; + /** + * The third line of an address. + */ + address3?: string | undefined; + /** + * The name of the city. + */ + city?: string | undefined; + /** + * ISO 3166 two-letter (alpha-2) country code. + */ + countryCode?: string | undefined; + /** + * Postal code (also known as zipcode) of the address. + */ + postalCode?: string | undefined; + /** + * The abbreviation of the state/province/region of the address. + */ + regionCode?: string | undefined; +}; + +/** @internal */ +export type AddressInput$Outbound = { + address1?: string | undefined; + address2?: string | undefined; + address3?: string | undefined; + city?: string | undefined; + countryCode?: string | undefined; + postalCode?: string | undefined; + regionCode?: string | undefined; +}; + +/** @internal */ +export const AddressInput$outboundSchema: z.ZodType< + AddressInput$Outbound, + z.ZodTypeDef, + AddressInput +> = z.object({ + address1: z.string().optional(), + address2: z.string().optional(), + address3: z.string().optional(), + city: z.string().optional(), + countryCode: z.string().optional(), + postalCode: z.string().optional(), + regionCode: z.string().optional(), +}); + +export function addressInputToJSON(addressInput: AddressInput): string { + return JSON.stringify(AddressInput$outboundSchema.parse(addressInput)); +} diff --git a/packages/typescript/src/models/components/addressjson.ts b/packages/typescript/src/models/components/addressjson.ts index 265738f19..8e12e376f 100644 --- a/packages/typescript/src/models/components/addressjson.ts +++ b/packages/typescript/src/models/components/addressjson.ts @@ -8,45 +8,41 @@ import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** - * Contact address details. + * Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. */ export type AddressJson = { /** - * The first line of an address. + * Address line 1. */ address1?: string | undefined; /** - * The second line of an address. + * Address line 2. */ address2?: string | undefined; /** - * The third line of an address. - */ - address3?: string | undefined; - /** - * The name of the city. + * City name. */ city?: string | undefined; /** - * ISO 3166 two-letter (alpha-2) country code. + * Region name. */ - countryCode?: string | undefined; + region?: string | undefined; /** - * Postal code (also known as zipcode) of the address. + * Region code. */ - postalCode?: string | undefined; + regionCode?: string | undefined; /** - * The name of the state/province/region of the address. + * Postal code. */ - region?: string | undefined; + postalCode?: string | undefined; /** - * The abbreviation of the state/province/region of the address. + * Country name. */ - regionCode?: string | undefined; + country?: string | undefined; /** - * Name of the country of the address. + * ISO 3166 alpha-2 country code. */ - country?: string | undefined; + countryCode?: string | undefined; }; /** @internal */ @@ -57,15 +53,44 @@ export const AddressJson$inboundSchema: z.ZodType< > = z.object({ address1: z.string().optional(), address2: z.string().optional(), - address3: z.string().optional(), city: z.string().optional(), - countryCode: z.string().optional(), + region: z.string().optional(), + regionCode: z.string().optional(), postalCode: z.string().optional(), + country: z.string().optional(), + countryCode: z.string().optional(), +}); +/** @internal */ +export type AddressJson$Outbound = { + address1?: string | undefined; + address2?: string | undefined; + city?: string | undefined; + region?: string | undefined; + regionCode?: string | undefined; + postalCode?: string | undefined; + country?: string | undefined; + countryCode?: string | undefined; +}; + +/** @internal */ +export const AddressJson$outboundSchema: z.ZodType< + AddressJson$Outbound, + z.ZodTypeDef, + AddressJson +> = z.object({ + address1: z.string().optional(), + address2: z.string().optional(), + city: z.string().optional(), region: z.string().optional(), regionCode: z.string().optional(), + postalCode: z.string().optional(), country: z.string().optional(), + countryCode: z.string().optional(), }); +export function addressJsonToJSON(addressJson: AddressJson): string { + return JSON.stringify(AddressJson$outboundSchema.parse(addressJson)); +} export function addressJsonFromJSON( jsonString: string, ): SafeParseResult { diff --git a/packages/typescript/src/models/components/addressjson0.ts b/packages/typescript/src/models/components/addressjson0.ts deleted file mode 100644 index 806df31b6..000000000 --- a/packages/typescript/src/models/components/addressjson0.ts +++ /dev/null @@ -1,47 +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"; - -/** - * Address details. - */ -export type AddressJson0 = { - /** - * ISO 3166 code for the country. - */ - countryCode: string; - /** - * The name of the city. - */ - city: string; - /** - * ISO 3166-2 code for the state/province/region. - */ - regionCode?: string | undefined; -}; - -/** @internal */ -export const AddressJson0$inboundSchema: z.ZodType< - AddressJson0, - z.ZodTypeDef, - unknown -> = z.object({ - countryCode: z.string(), - city: z.string(), - regionCode: z.string().optional(), -}); - -export function addressJson0FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AddressJson0$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AddressJson0' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/addressjson1.ts b/packages/typescript/src/models/components/addressjson1.ts new file mode 100644 index 000000000..efcd61541 --- /dev/null +++ b/packages/typescript/src/models/components/addressjson1.ts @@ -0,0 +1,72 @@ +/* + * 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 physical address. + */ +export type AddressJson1 = { + /** + * Address line 1. + */ + address1?: string | undefined; + /** + * Address line 2. + */ + address2?: string | undefined; + /** + * City name. + */ + city?: string | undefined; + /** + * Region name. + */ + region?: string | undefined; + /** + * Region code. + */ + regionCode?: string | undefined; + /** + * Postal code. + */ + postalCode?: string | undefined; + /** + * Country name. + */ + country?: string | undefined; + /** + * ISO 3166 alpha-2 country code. + */ + countryCode?: string | undefined; +}; + +/** @internal */ +export const AddressJson1$inboundSchema: z.ZodType< + AddressJson1, + z.ZodTypeDef, + unknown +> = z.object({ + address1: z.string().optional(), + address2: z.string().optional(), + city: z.string().optional(), + region: z.string().optional(), + regionCode: z.string().optional(), + postalCode: z.string().optional(), + country: z.string().optional(), + countryCode: z.string().optional(), +}); + +export function addressJson1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AddressJson1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AddressJson1' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/addressjson2.ts b/packages/typescript/src/models/components/addressjson2.ts index f8af0de21..c676e32b3 100644 --- a/packages/typescript/src/models/components/addressjson2.ts +++ b/packages/typescript/src/models/components/addressjson2.ts @@ -6,43 +6,44 @@ 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 { + AddressTypeJson, + AddressTypeJson$inboundSchema, + AddressTypeJson$outboundSchema, +} from "./addresstypejson.js"; /** - * Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. + * Address */ export type AddressJson2 = { /** - * Address line 1. + * The type of the address. */ - address1?: string | undefined; + type: AddressTypeJson; /** - * Address line 2. + * The street address of the user. */ - address2?: string | undefined; + streetAddress?: string | undefined; /** - * City name. + * The locality/city of the user. */ - city?: string | undefined; + locality?: string | undefined; /** - * Region name. + * The region/state/province of the user. */ region?: string | undefined; /** - * Region code. - */ - regionCode?: string | undefined; - /** - * Postal code. + * Postal code (also known as zipcode) of the user. */ postalCode?: string | undefined; /** - * Country name. + * The country of the user. */ country?: string | undefined; /** - * ISO 3166 alpha-2 country code. + * True indicates the address is primary. */ - countryCode?: string | undefined; + primary?: boolean | undefined; }; /** @internal */ @@ -51,25 +52,23 @@ export const AddressJson2$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - address1: z.string().optional(), - address2: z.string().optional(), - city: z.string().optional(), + type: AddressTypeJson$inboundSchema, + streetAddress: z.string().optional(), + locality: z.string().optional(), region: z.string().optional(), - regionCode: z.string().optional(), postalCode: z.string().optional(), country: z.string().optional(), - countryCode: z.string().optional(), + primary: z.boolean().default(false), }); /** @internal */ export type AddressJson2$Outbound = { - address1?: string | undefined; - address2?: string | undefined; - city?: string | undefined; + type: string; + streetAddress?: string | undefined; + locality?: string | undefined; region?: string | undefined; - regionCode?: string | undefined; postalCode?: string | undefined; country?: string | undefined; - countryCode?: string | undefined; + primary: boolean; }; /** @internal */ @@ -78,14 +77,13 @@ export const AddressJson2$outboundSchema: z.ZodType< z.ZodTypeDef, AddressJson2 > = z.object({ - address1: z.string().optional(), - address2: z.string().optional(), - city: z.string().optional(), + type: AddressTypeJson$outboundSchema, + streetAddress: z.string().optional(), + locality: z.string().optional(), region: z.string().optional(), - regionCode: z.string().optional(), postalCode: z.string().optional(), country: z.string().optional(), - countryCode: z.string().optional(), + primary: z.boolean().default(false), }); export function addressJson2ToJSON(addressJson2: AddressJson2): string { diff --git a/packages/typescript/src/models/components/addressjson3.ts b/packages/typescript/src/models/components/addressjson3.ts deleted file mode 100644 index 6d76bc87f..000000000 --- a/packages/typescript/src/models/components/addressjson3.ts +++ /dev/null @@ -1,72 +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"; - -/** - * A physical address. - */ -export type AddressJson3 = { - /** - * Address line 1. - */ - address1?: string | undefined; - /** - * Address line 2. - */ - address2?: string | undefined; - /** - * City name. - */ - city?: string | undefined; - /** - * Region name. - */ - region?: string | undefined; - /** - * Region code. - */ - regionCode?: string | undefined; - /** - * Postal code. - */ - postalCode?: string | undefined; - /** - * Country name. - */ - country?: string | undefined; - /** - * ISO 3166 alpha-2 country code. - */ - countryCode?: string | undefined; -}; - -/** @internal */ -export const AddressJson3$inboundSchema: z.ZodType< - AddressJson3, - z.ZodTypeDef, - unknown -> = z.object({ - address1: z.string().optional(), - address2: z.string().optional(), - city: z.string().optional(), - region: z.string().optional(), - regionCode: z.string().optional(), - postalCode: z.string().optional(), - country: z.string().optional(), - countryCode: z.string().optional(), -}); - -export function addressJson3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AddressJson3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AddressJson3' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/addressjson4.ts b/packages/typescript/src/models/components/addressjson4.ts deleted file mode 100644 index c5f37f324..000000000 --- a/packages/typescript/src/models/components/addressjson4.ts +++ /dev/null @@ -1,100 +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 { - AddressTypeJson1, - AddressTypeJson1$inboundSchema, - AddressTypeJson1$outboundSchema, -} from "./addresstypejson1.js"; - -/** - * Address - */ -export type AddressJson4 = { - /** - * The type of the address. - */ - type: AddressTypeJson1; - /** - * The street address of the user. - */ - streetAddress?: string | undefined; - /** - * The locality/city of the user. - */ - locality?: string | undefined; - /** - * The region/state/province of the user. - */ - region?: string | undefined; - /** - * Postal code (also known as zipcode) of the user. - */ - postalCode?: string | undefined; - /** - * The country of the user. - */ - country?: string | undefined; - /** - * True indicates the address is primary. - */ - primary?: boolean | undefined; -}; - -/** @internal */ -export const AddressJson4$inboundSchema: z.ZodType< - AddressJson4, - z.ZodTypeDef, - unknown -> = z.object({ - type: AddressTypeJson1$inboundSchema, - streetAddress: z.string().optional(), - locality: z.string().optional(), - region: z.string().optional(), - postalCode: z.string().optional(), - country: z.string().optional(), - primary: z.boolean().default(false), -}); -/** @internal */ -export type AddressJson4$Outbound = { - type: string; - streetAddress?: string | undefined; - locality?: string | undefined; - region?: string | undefined; - postalCode?: string | undefined; - country?: string | undefined; - primary: boolean; -}; - -/** @internal */ -export const AddressJson4$outboundSchema: z.ZodType< - AddressJson4$Outbound, - z.ZodTypeDef, - AddressJson4 -> = z.object({ - type: AddressTypeJson1$outboundSchema, - streetAddress: z.string().optional(), - locality: z.string().optional(), - region: z.string().optional(), - postalCode: z.string().optional(), - country: z.string().optional(), - primary: z.boolean().default(false), -}); - -export function addressJson4ToJSON(addressJson4: AddressJson4): string { - return JSON.stringify(AddressJson4$outboundSchema.parse(addressJson4)); -} -export function addressJson4FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AddressJson4$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AddressJson4' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/addressjson5.ts b/packages/typescript/src/models/components/addressjson5.ts deleted file mode 100644 index d5349199a..000000000 --- a/packages/typescript/src/models/components/addressjson5.ts +++ /dev/null @@ -1,72 +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"; - -/** - * Address details. - */ -export type AddressJson5 = { - /** - * Address line 1. - */ - address1?: string | undefined; - /** - * Address line 2. - */ - address2?: string | undefined; - /** - * City name. - */ - city?: string | undefined; - /** - * Region name. - */ - region?: string | undefined; - /** - * Region code. - */ - regionCode?: string | undefined; - /** - * Postal code. - */ - postalCode?: string | undefined; - /** - * Country name. - */ - country?: string | undefined; - /** - * ISO 3166 alpha-2 country code. - */ - countryCode?: string | undefined; -}; - -/** @internal */ -export const AddressJson5$inboundSchema: z.ZodType< - AddressJson5, - z.ZodTypeDef, - unknown -> = z.object({ - address1: z.string().optional(), - address2: z.string().optional(), - city: z.string().optional(), - region: z.string().optional(), - regionCode: z.string().optional(), - postalCode: z.string().optional(), - country: z.string().optional(), - countryCode: z.string().optional(), -}); - -export function addressJson5FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AddressJson5$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AddressJson5' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/addressjsoninput.ts b/packages/typescript/src/models/components/addressjsoninput.ts deleted file mode 100644 index 9a5a4dce4..000000000 --- a/packages/typescript/src/models/components/addressjsoninput.ts +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; - -/** - * Contact address details. - */ -export type AddressJsonInput = { - /** - * The first line of an address. - */ - address1?: string | undefined; - /** - * The second line of an address. - */ - address2?: string | undefined; - /** - * The third line of an address. - */ - address3?: string | undefined; - /** - * The name of the city. - */ - city?: string | undefined; - /** - * ISO 3166 two-letter (alpha-2) country code. - */ - countryCode?: string | undefined; - /** - * Postal code (also known as zipcode) of the address. - */ - postalCode?: string | undefined; - /** - * The abbreviation of the state/province/region of the address. - */ - regionCode?: string | undefined; -}; - -/** @internal */ -export type AddressJsonInput$Outbound = { - address1?: string | undefined; - address2?: string | undefined; - address3?: string | undefined; - city?: string | undefined; - countryCode?: string | undefined; - postalCode?: string | undefined; - regionCode?: string | undefined; -}; - -/** @internal */ -export const AddressJsonInput$outboundSchema: z.ZodType< - AddressJsonInput$Outbound, - z.ZodTypeDef, - AddressJsonInput -> = z.object({ - address1: z.string().optional(), - address2: z.string().optional(), - address3: z.string().optional(), - city: z.string().optional(), - countryCode: z.string().optional(), - postalCode: z.string().optional(), - regionCode: z.string().optional(), -}); - -export function addressJsonInputToJSON( - addressJsonInput: AddressJsonInput, -): string { - return JSON.stringify( - AddressJsonInput$outboundSchema.parse(addressJsonInput), - ); -} diff --git a/packages/typescript/src/models/components/addresstype.ts b/packages/typescript/src/models/components/addresstype.ts index e1b88d393..528a0b327 100644 --- a/packages/typescript/src/models/components/addresstype.ts +++ b/packages/typescript/src/models/components/addresstype.ts @@ -20,3 +20,6 @@ export type AddressType = ClosedEnum; /** @internal */ export const AddressType$inboundSchema: z.ZodNativeEnum = z .nativeEnum(AddressType); +/** @internal */ +export const AddressType$outboundSchema: z.ZodNativeEnum = + AddressType$inboundSchema; diff --git a/packages/typescript/src/models/components/addresstypejson.ts b/packages/typescript/src/models/components/addresstypejson.ts index d0063487e..4a8804f12 100644 --- a/packages/typescript/src/models/components/addresstypejson.ts +++ b/packages/typescript/src/models/components/addresstypejson.ts @@ -6,14 +6,14 @@ import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; /** - * The type of address. + * The type of the address. */ export const AddressTypeJson = { - Home: "Home", - Work: "Work", + Work: "work", + Home: "home", } as const; /** - * The type of address. + * The type of the address. */ export type AddressTypeJson = ClosedEnum; diff --git a/packages/typescript/src/models/components/addresstypejson1.ts b/packages/typescript/src/models/components/addresstypejson1.ts deleted file mode 100644 index eeaedcbd2..000000000 --- a/packages/typescript/src/models/components/addresstypejson1.ts +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * The type of the address. - */ -export const AddressTypeJson1 = { - Work: "work", - Home: "home", -} as const; -/** - * The type of the address. - */ -export type AddressTypeJson1 = ClosedEnum; - -/** @internal */ -export const AddressTypeJson1$inboundSchema: z.ZodNativeEnum< - typeof AddressTypeJson1 -> = z.nativeEnum(AddressTypeJson1); -/** @internal */ -export const AddressTypeJson1$outboundSchema: z.ZodNativeEnum< - typeof AddressTypeJson1 -> = AddressTypeJson1$inboundSchema; diff --git a/packages/typescript/src/models/components/agendaitemsetup.ts b/packages/typescript/src/models/components/agendaitemsetup.ts new file mode 100644 index 000000000..184113e2d --- /dev/null +++ b/packages/typescript/src/models/components/agendaitemsetup.ts @@ -0,0 +1,47 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Setup type for the agenda. + */ +export const AgendaItemSetup = { + Buffet: "BUFFET", + Cabaret: "CABARET", + Chevron: "CHEVRON", + Classroom: "CLASSROOM", + Conference: "CONFERENCE", + CrescentRounds: "CRESCENT_ROUNDS", + EightByTen: "EIGHT_BY_TEN", + Flow: "FLOW", + Herringbone: "HERRINGBONE", + HollowSquare: "HOLLOW_SQUARE", + Island: "ISLAND", + Offsite: "OFFSITE", + Other: "OTHER", + Peninsula: "PENINSULA", + Plated: "PLATED", + Reception: "RECEPTION", + Rounds: "ROUNDS", + RoundsOf10: "ROUNDS_OF_10", + RoundsOf6: "ROUNDS_OF_6", + RoundsOf8: "ROUNDS_OF_8", + SchoolRoom: "SCHOOL_ROOM", + Tabletop: "TABLETOP", + TenByTen: "TEN_BY_TEN", + Theater: "THEATER", + TShaped: "T_SHAPED", + UShaped: "U_SHAPED", +} as const; +/** + * Setup type for the agenda. + */ +export type AgendaItemSetup = ClosedEnum; + +/** @internal */ +export const AgendaItemSetup$inboundSchema: z.ZodNativeEnum< + typeof AgendaItemSetup +> = z.nativeEnum(AgendaItemSetup); diff --git a/packages/typescript/src/models/components/agendaitemsetupjson.ts b/packages/typescript/src/models/components/agendaitemsetupjson.ts deleted file mode 100644 index b42aef767..000000000 --- a/packages/typescript/src/models/components/agendaitemsetupjson.ts +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Setup type for the agenda. - */ -export const AgendaItemSetupJson = { - Buffet: "BUFFET", - Cabaret: "CABARET", - Chevron: "CHEVRON", - Classroom: "CLASSROOM", - Conference: "CONFERENCE", - CrescentRounds: "CRESCENT_ROUNDS", - EightByTen: "EIGHT_BY_TEN", - Flow: "FLOW", - Herringbone: "HERRINGBONE", - HollowSquare: "HOLLOW_SQUARE", - Island: "ISLAND", - Offsite: "OFFSITE", - Other: "OTHER", - Peninsula: "PENINSULA", - Plated: "PLATED", - Reception: "RECEPTION", - Rounds: "ROUNDS", - RoundsOf10: "ROUNDS_OF_10", - RoundsOf6: "ROUNDS_OF_6", - RoundsOf8: "ROUNDS_OF_8", - SchoolRoom: "SCHOOL_ROOM", - Tabletop: "TABLETOP", - TenByTen: "TEN_BY_TEN", - Theater: "THEATER", - TShaped: "T_SHAPED", - UShaped: "U_SHAPED", -} as const; -/** - * Setup type for the agenda. - */ -export type AgendaItemSetupJson = ClosedEnum; - -/** @internal */ -export const AgendaItemSetupJson$inboundSchema: z.ZodNativeEnum< - typeof AgendaItemSetupJson -> = z.nativeEnum(AgendaItemSetupJson); diff --git a/packages/typescript/src/models/components/agendaitemtype.ts b/packages/typescript/src/models/components/agendaitemtype.ts new file mode 100644 index 000000000..85c67ad36 --- /dev/null +++ b/packages/typescript/src/models/components/agendaitemtype.ts @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Type of the agenda. + */ +export const AgendaItemType = { + Break: "BREAK", + Breakfast: "BREAKFAST", + Breakout: "BREAKOUT", + Dinner: "DINNER", + Exhibit: "EXHIBIT", + GeneralSession: "GENERAL_SESSION", + HospitalityDesk: "HOSPITALITY_DESK", + HospitalitySuite: "HOSPITALITY_SUITE", + Lunch: "LUNCH", + Meeting: "MEETING", + Office: "OFFICE", + Other: "OTHER", + Reception: "RECEPTION", + Registration: "REGISTRATION", + Setup: "SETUP", + Snack: "SNACK", + SpeakerRoom: "SPEAKER_ROOM", + StorageRoom: "STORAGE_ROOM", + Teardown: "TEARDOWN", +} as const; +/** + * Type of the agenda. + */ +export type AgendaItemType = ClosedEnum; + +/** @internal */ +export const AgendaItemType$inboundSchema: z.ZodNativeEnum< + typeof AgendaItemType +> = z.nativeEnum(AgendaItemType); diff --git a/packages/typescript/src/models/components/agendaitemtypejson.ts b/packages/typescript/src/models/components/agendaitemtypejson.ts deleted file mode 100644 index 240aa2793..000000000 --- a/packages/typescript/src/models/components/agendaitemtypejson.ts +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Type of the agenda. - */ -export const AgendaItemTypeJson = { - Break: "BREAK", - Breakfast: "BREAKFAST", - Breakout: "BREAKOUT", - Dinner: "DINNER", - Exhibit: "EXHIBIT", - GeneralSession: "GENERAL_SESSION", - HospitalityDesk: "HOSPITALITY_DESK", - HospitalitySuite: "HOSPITALITY_SUITE", - Lunch: "LUNCH", - Meeting: "MEETING", - Office: "OFFICE", - Other: "OTHER", - Reception: "RECEPTION", - Registration: "REGISTRATION", - Setup: "SETUP", - Snack: "SNACK", - SpeakerRoom: "SPEAKER_ROOM", - StorageRoom: "STORAGE_ROOM", - Teardown: "TEARDOWN", -} as const; -/** - * Type of the agenda. - */ -export type AgendaItemTypeJson = ClosedEnum; - -/** @internal */ -export const AgendaItemTypeJson$inboundSchema: z.ZodNativeEnum< - typeof AgendaItemTypeJson -> = z.nativeEnum(AgendaItemTypeJson); diff --git a/packages/typescript/src/models/components/amenitytype.ts b/packages/typescript/src/models/components/amenitytype.ts new file mode 100644 index 000000000..427e54c06 --- /dev/null +++ b/packages/typescript/src/models/components/amenitytype.ts @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Amenity type + */ +export const AmenityType = { + IncludedAmenity: "included_amenity", + Amenity: "amenity", + BundledSupplement: "bundled_supplement", +} as const; +/** + * Amenity type + */ +export type AmenityType = ClosedEnum; + +/** @internal */ +export const AmenityType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(AmenityType); diff --git a/packages/typescript/src/models/components/amenitytypejson.ts b/packages/typescript/src/models/components/amenitytypejson.ts deleted file mode 100644 index 76e37171c..000000000 --- a/packages/typescript/src/models/components/amenitytypejson.ts +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Amenity type - */ -export const AmenityTypeJson = { - IncludedAmenity: "included_amenity", - Amenity: "amenity", - BundledSupplement: "bundled_supplement", -} as const; -/** - * Amenity type - */ -export type AmenityTypeJson = ClosedEnum; - -/** @internal */ -export const AmenityTypeJson$inboundSchema: z.ZodNativeEnum< - typeof AmenityTypeJson -> = z.nativeEnum(AmenityTypeJson); diff --git a/packages/typescript/src/models/components/appointmentwithquestions.ts b/packages/typescript/src/models/components/appointmentwithquestions.ts index 62f7b87aa..7d03dd951 100644 --- a/packages/typescript/src/models/components/appointmentwithquestions.ts +++ b/packages/typescript/src/models/components/appointmentwithquestions.ts @@ -15,9 +15,9 @@ import { AppointmentStatusJson$inboundSchema, } from "./appointmentstatusjson.js"; import { - CustomFieldJson1, - CustomFieldJson1$inboundSchema, -} from "./customfieldjson1.js"; + CustomFieldJson, + CustomFieldJson$inboundSchema, +} from "./customfieldjson.js"; import { UuidJson, UuidJson$inboundSchema } from "./uuidjson.js"; /** @@ -125,7 +125,7 @@ export type AppointmentWithQuestions = { /** * Collection of custom questions asked to participants of the appointment. */ - questions?: Array | undefined; + questions?: Array | undefined; }; /** @internal */ @@ -196,7 +196,7 @@ export const AppointmentWithQuestions$inboundSchema: z.ZodType< modified: z.string().datetime({ offset: true }).transform(v => new Date(v)) .optional(), deleted: z.boolean().optional(), - questions: z.array(CustomFieldJson1$inboundSchema).optional(), + questions: z.array(CustomFieldJson$inboundSchema).optional(), }); export function appointmentWithQuestionsFromJSON( diff --git a/packages/typescript/src/models/components/assetlocation.ts b/packages/typescript/src/models/components/assetlocation.ts new file mode 100644 index 000000000..62c53ad41 --- /dev/null +++ b/packages/typescript/src/models/components/assetlocation.ts @@ -0,0 +1,37 @@ +/* + * 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 URL associated with the asset. + */ +export type AssetLocation = { + /** + * A pre-signed URL with an expiration of 2 hours to the asset's location. + */ + href: string; +}; + +/** @internal */ +export const AssetLocation$inboundSchema: z.ZodType< + AssetLocation, + z.ZodTypeDef, + unknown +> = z.object({ + href: z.string(), +}); + +export function assetLocationFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AssetLocation$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AssetLocation' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/assetlocationinput.ts b/packages/typescript/src/models/components/assetlocationinput.ts new file mode 100644 index 000000000..38b6cec24 --- /dev/null +++ b/packages/typescript/src/models/components/assetlocationinput.ts @@ -0,0 +1,28 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; + +/** + * A URL associated with the asset. + */ +export type AssetLocationInput = {}; + +/** @internal */ +export type AssetLocationInput$Outbound = {}; + +/** @internal */ +export const AssetLocationInput$outboundSchema: z.ZodType< + AssetLocationInput$Outbound, + z.ZodTypeDef, + AssetLocationInput +> = z.object({}); + +export function assetLocationInputToJSON( + assetLocationInput: AssetLocationInput, +): string { + return JSON.stringify( + AssetLocationInput$outboundSchema.parse(assetLocationInput), + ); +} diff --git a/packages/typescript/src/models/components/assetlocationjson.ts b/packages/typescript/src/models/components/assetlocationjson.ts deleted file mode 100644 index 4a616ce23..000000000 --- a/packages/typescript/src/models/components/assetlocationjson.ts +++ /dev/null @@ -1,37 +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"; - -/** - * A URL associated with the asset. - */ -export type AssetLocationJson = { - /** - * A pre-signed URL with an expiration of 2 hours to the asset's location. - */ - href: string; -}; - -/** @internal */ -export const AssetLocationJson$inboundSchema: z.ZodType< - AssetLocationJson, - z.ZodTypeDef, - unknown -> = z.object({ - href: z.string(), -}); - -export function assetLocationJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AssetLocationJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AssetLocationJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/assetlocationjsoninput.ts b/packages/typescript/src/models/components/assetlocationjsoninput.ts deleted file mode 100644 index c924eb33a..000000000 --- a/packages/typescript/src/models/components/assetlocationjsoninput.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; - -/** - * A URL associated with the asset. - */ -export type AssetLocationJsonInput = {}; - -/** @internal */ -export type AssetLocationJsonInput$Outbound = {}; - -/** @internal */ -export const AssetLocationJsonInput$outboundSchema: z.ZodType< - AssetLocationJsonInput$Outbound, - z.ZodTypeDef, - AssetLocationJsonInput -> = z.object({}); - -export function assetLocationJsonInputToJSON( - assetLocationJsonInput: AssetLocationJsonInput, -): string { - return JSON.stringify( - AssetLocationJsonInput$outboundSchema.parse(assetLocationJsonInput), - ); -} diff --git a/packages/typescript/src/models/components/attachmentsource.ts b/packages/typescript/src/models/components/attachmentsource.ts new file mode 100644 index 000000000..b58bb78b2 --- /dev/null +++ b/packages/typescript/src/models/components/attachmentsource.ts @@ -0,0 +1,26 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * The source from where the attachment was uploaded. + */ +export const AttachmentSource = { + FileCopyAdminLibrary: "FILE_COPY_ADMIN_LIBRARY", + FileUploadLinkUrl: "FILE_UPLOAD_LINK_URL", + FileUploadToCustomDrive: "FILE_UPLOAD_TO_CUSTOM_DRIVE", + FileUploadToTempLocation: "FILE_UPLOAD_TO_TEMP_LOCATION", + UserDocumentLinkUrl: "USER_DOCUMENT_LINK_URL", +} as const; +/** + * The source from where the attachment was uploaded. + */ +export type AttachmentSource = ClosedEnum; + +/** @internal */ +export const AttachmentSource$inboundSchema: z.ZodNativeEnum< + typeof AttachmentSource +> = z.nativeEnum(AttachmentSource); diff --git a/packages/typescript/src/models/components/attachmentsourcejson.ts b/packages/typescript/src/models/components/attachmentsourcejson.ts deleted file mode 100644 index 2d5f1414a..000000000 --- a/packages/typescript/src/models/components/attachmentsourcejson.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * The source from where the attachment was uploaded. - */ -export const AttachmentSourceJson = { - FileCopyAdminLibrary: "FILE_COPY_ADMIN_LIBRARY", - FileUploadLinkUrl: "FILE_UPLOAD_LINK_URL", - FileUploadToCustomDrive: "FILE_UPLOAD_TO_CUSTOM_DRIVE", - FileUploadToTempLocation: "FILE_UPLOAD_TO_TEMP_LOCATION", - UserDocumentLinkUrl: "USER_DOCUMENT_LINK_URL", -} as const; -/** - * The source from where the attachment was uploaded. - */ -export type AttachmentSourceJson = ClosedEnum; - -/** @internal */ -export const AttachmentSourceJson$inboundSchema: z.ZodNativeEnum< - typeof AttachmentSourceJson -> = z.nativeEnum(AttachmentSourceJson); diff --git a/packages/typescript/src/models/components/attendee.ts b/packages/typescript/src/models/components/attendee.ts new file mode 100644 index 000000000..a79a86c8d --- /dev/null +++ b/packages/typescript/src/models/components/attendee.ts @@ -0,0 +1,53 @@ +/* + * 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"; + +/** + * The reference to the attendee. Contains only the ID of the attendee. + */ +export type Attendee = { + /** + * Unique identifier of the primary invitee for the current attendee's registration. + */ + id: string; +}; + +/** @internal */ +export const Attendee$inboundSchema: z.ZodType< + Attendee, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), +}); +/** @internal */ +export type Attendee$Outbound = { + id: string; +}; + +/** @internal */ +export const Attendee$outboundSchema: z.ZodType< + Attendee$Outbound, + z.ZodTypeDef, + Attendee +> = z.object({ + id: z.string(), +}); + +export function attendeeToJSON(attendee: Attendee): string { + return JSON.stringify(Attendee$outboundSchema.parse(attendee)); +} +export function attendeeFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Attendee$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Attendee' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/attendee1.ts b/packages/typescript/src/models/components/attendee1.ts deleted file mode 100644 index 1c922ab6b..000000000 --- a/packages/typescript/src/models/components/attendee1.ts +++ /dev/null @@ -1,410 +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 { - AppointmentGroup, - AppointmentGroup$inboundSchema, -} from "./appointmentgroup.js"; -import { - AttendeeAnswer, - AttendeeAnswer$inboundSchema, -} from "./attendeeanswer.js"; -import { - AttendeeContactInfo, - AttendeeContactInfo$inboundSchema, -} from "./attendeecontactinfo.js"; -import { AttendeeGroup, AttendeeGroup$inboundSchema } from "./attendeegroup.js"; -import { - AttendeeInvitedBy1, - AttendeeInvitedBy1$inboundSchema, -} from "./attendeeinvitedby1.js"; -import { - AttendeeResponseMethod1, - AttendeeResponseMethod1$inboundSchema, -} from "./attendeeresponsemethod1.js"; -import { - AttendeeStatus, - AttendeeStatus$inboundSchema, -} from "./attendeestatus.js"; -import { - AttendeeVisibility, - AttendeeVisibility$inboundSchema, -} from "./attendeevisibility.js"; -import { - AttendeeWebLinks, - AttendeeWebLinks$inboundSchema, -} from "./attendeeweblinks.js"; -import { - CustomFieldSchema, - CustomFieldSchema$inboundSchema, -} from "./customfieldschema.js"; -import { - ExternalReference, - ExternalReference$inboundSchema, -} from "./externalreference.js"; -import { Lookup, Lookup$inboundSchema } from "./lookup.js"; -import { NamedObject, NamedObject$inboundSchema } from "./namedobject.js"; -import { Uuid, Uuid$inboundSchema } from "./uuid.js"; - -/** - * The attendee's associated event. - */ -export type AttendeeEvent = { - /** - * The event ID. - */ - id?: string | undefined; -}; - -/** - * Contains details related to the attendee's admission item. - */ -export type AttendeeLookup = { - /** - * A string that has to be a format matching the industry standard uuid - */ - id?: string | undefined; - /** - * Code / Abbreviation of the lookup item. - */ - code?: string | undefined; - /** - * Name of the lookup item. - */ - name?: string | undefined; -}; - -/** - * An event attendee. - */ -export type Attendee1 = { - /** - * 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; - /** - * The ID of attendee in the given event. - */ - id?: string | undefined; - /** - * The attendee's associated event. - */ - event?: AttendeeEvent | undefined; - /** - * The confirmation number is a code unique to each attendee. Cvent assigns one to the attendee upon registration for the event. Serves as proof of registration. - */ - confirmationNumber?: string | undefined; - /** - * Information about attendee contact added to an event. - */ - contact?: AttendeeContactInfo | undefined; - /** - * True indicates the attendee checked in to the event. - */ - checkedIn?: boolean | undefined; - /** - * The date time when attendee was checked in to an event. Note: this field is deprecated. Please use the `checkIn` field instead. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - checkin?: Date | undefined; - /** - * The ISO 8601 zoned date time when attendee was checked in to an event. - */ - checkIn?: Date | undefined; - /** - * The ISO 8601 zoned date time when attendee checked out from an event. - */ - checkOut?: Date | undefined; - /** - * The duration, in milliseconds, the attendee was present at the event. - */ - duration?: number | undefined; - /** - * Lookup response object - */ - registrationPath?: Lookup | undefined; - /** - * A Named object - */ - invitationList?: NamedObject | undefined; - /** - * Web links for an attendee. - */ - webLinks?: AttendeeWebLinks | undefined; - /** - * Lookup response object - */ - registrationType?: Lookup | undefined; - /** - * The reference ID of an attendee. A planner determined string used to track which link attendee's used to reach the event registration. - */ - referenceId?: string | undefined; - /** - * The details of an attendee in an external systems. - */ - externalReferences?: Array | undefined; - /** - * A planner created note for an attendee, used to track details about the attendee. - */ - note?: string | undefined; - /** - * True indicates the attendee is a guest of another attendee. - */ - guest?: boolean | undefined; - /** - * True indicates this attendee is a deleted guest. - */ - deletedGuest?: boolean | undefined; - /** - * The ID of the primary attendee to whom this guest attendee is associated. Only applicable if this attendee is a guest. - */ - primaryId?: string | undefined; - /** - * An attendee group. - */ - group?: AttendeeGroup | undefined; - /** - * The reference to the related entity. Contains only the ID of the related entity. - */ - administrator?: Uuid | undefined; - /** - * DEPRECATED: True indicates this attendee is unsubscribed from this event's emails. They'll still receive emails triggered by their own actions (like registration modification). This field has been deprecated. Please use PUT /attendees/{id}/email-subscriptions instead. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - unsubscribed?: boolean | undefined; - /** - * This is used to denote the status of an attendee. - */ - status?: AttendeeStatus | undefined; - /** - * The ISO 8601 zoned date time when attendee was registered. - */ - registeredAt?: Date | undefined; - /** - * The ISO 8601 zoned date time when attendee's registration was modified. This field is updated when there are changes to the registration, such as adding or removing products. - */ - registrationLastModified?: Date | undefined; - /** - * The ISO 8601 zoned date time when attendee registration was cancelled. - */ - registrationCancelledAt?: Date | undefined; - /** - * Method by which the attendee was invited to the event. - */ - invitedBy?: AttendeeInvitedBy1 | undefined; - /** - * Represents the method by which an attendee registered for the event. - * - * @remarks - * - * - Administrator Responded: The invitee was registered by another contact acting as their administrator. - * - API-Responded: The invitee was registered through a custom process configured via an API integration. - * - Appointments Event Website: The invitee registered via an appointments event website. - * - Cvent Salesforce App: The invitee registered through an action in the Cvent Salesforce App. - * - External Registration: The attendee was registered through an external integration, such as Marketo. - * - Group Leader Responded: The invitee was registered by a group leader and added to a group. - * - Historical Import: The invitee's registration was imported into the event as historical data. - * - Imported: The invitee's registration was imported into the event. - * - No Response: The invitee has not registered. - * - On-site Responded: The invitee registered onsite using OnArrival's Kiosk Mode. - * - Planner-Imported: An account user imported the invitee's registration into the event. - * - Planner-Responded: An account user registered the invitee from the Cvent back-end or the planner-side of the OnArrival app. - * - Post Event: The invitee was registered by an account user after the event's end date or while the event was in Completed status. - * - Self-Responded: The invitee registered themselves through a weblink or invitation. - * - * Note: The responseMethod can only be set if the invitee's status is No Response. - */ - responseMethod?: AttendeeResponseMethod1 | undefined; - /** - * A list of answers to contact custom fields. Note: This field is deprecated. Answers to custom contact fields can be found in the 'contact' model, `customFields` field instead. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - questions?: Array | undefined; - /** - * The list of answers to the registration questions. - */ - answers?: Array | undefined; - /** - * Contains details related to the attendee's admission item. - */ - admissionItem?: AttendeeLookup | undefined; - /** - * Denotes the visibility of the attendee profile to other attendees. Private: Their profile is not visible. Public: Their profile is visible. - */ - visibility?: AttendeeVisibility | undefined; - /** - * The attendee's biographical writeup. - */ - bio?: string | undefined; - /** - * Notification setting in the Attendee Hub app or website. Note: This field is deprecated. Use `allowPushNotification` field instead. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - showPopupNotification?: boolean | undefined; - /** - * An attendee's website URL, appears on their profile. - */ - websiteUrl?: string | undefined; - /** - * True indicates attendee will recieve push notifications for session-schedule changes, promotions and other event activities in the Attendee Hub app. - */ - allowPushNotifications?: boolean | undefined; - /** - * True indicaites attendee will recieve push notifications for appointments related activities in the Attendee Hub app. - */ - allowAppointmentPushNotifications?: boolean | undefined; - /** - * True indicates this attendee record was created as part of a test scenario. - */ - testRecord?: boolean | undefined; - /** - * The ISO 8601 zoned date-time indicates when the attendee's non-contact properties were modified. Updates to the attendee's contact properties do not update this field. This field is updated when planners or attendees make changes to the attendee record, such as flagging as a participant. It is not updated for registration or product changes. - */ - attendeeLastModified?: Date | undefined; - /** - * List of appointment groups associated with attendee. These control permissions and visibility in appointments associated with the event. - */ - appointmentGroups?: Array | undefined; - /** - * The amount of credit associated with the attendee. - */ - credit?: number | undefined; -}; - -/** @internal */ -export const AttendeeEvent$inboundSchema: z.ZodType< - AttendeeEvent, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function attendeeEventFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AttendeeEvent$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AttendeeEvent' from JSON`, - ); -} - -/** @internal */ -export const AttendeeLookup$inboundSchema: z.ZodType< - AttendeeLookup, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - code: z.string().optional(), - name: z.string().optional(), -}); - -export function attendeeLookupFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AttendeeLookup$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AttendeeLookup' from JSON`, - ); -} - -/** @internal */ -export const Attendee1$inboundSchema: z.ZodType< - Attendee1, - 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(), - id: z.string().optional(), - event: z.lazy(() => AttendeeEvent$inboundSchema).optional(), - confirmationNumber: z.string().optional(), - contact: AttendeeContactInfo$inboundSchema.optional(), - checkedIn: z.boolean().optional(), - checkin: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - checkIn: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - checkOut: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - duration: z.number().int().optional(), - registrationPath: Lookup$inboundSchema.optional(), - invitationList: NamedObject$inboundSchema.optional(), - webLinks: AttendeeWebLinks$inboundSchema.optional(), - registrationType: Lookup$inboundSchema.optional(), - referenceId: z.string().optional(), - externalReferences: z.array(ExternalReference$inboundSchema).optional(), - note: z.string().optional(), - guest: z.boolean().optional(), - deletedGuest: z.boolean().optional(), - primaryId: z.string().optional(), - group: AttendeeGroup$inboundSchema.optional(), - administrator: Uuid$inboundSchema.optional(), - unsubscribed: z.boolean().optional(), - status: AttendeeStatus$inboundSchema.optional(), - registeredAt: z.string().datetime({ offset: true }).transform(v => - new Date(v) - ).optional(), - registrationLastModified: z.string().datetime({ offset: true }).transform(v => - new Date(v) - ).optional(), - registrationCancelledAt: z.string().datetime({ offset: true }).transform(v => - new Date(v) - ).optional(), - invitedBy: AttendeeInvitedBy1$inboundSchema.optional(), - responseMethod: AttendeeResponseMethod1$inboundSchema.optional(), - questions: z.array(CustomFieldSchema$inboundSchema).optional(), - answers: z.array(AttendeeAnswer$inboundSchema).optional(), - admissionItem: z.lazy(() => AttendeeLookup$inboundSchema).optional(), - visibility: AttendeeVisibility$inboundSchema.optional(), - bio: z.string().optional(), - showPopupNotification: z.boolean().optional(), - websiteUrl: z.string().optional(), - allowPushNotifications: z.boolean().optional(), - allowAppointmentPushNotifications: z.boolean().optional(), - testRecord: z.boolean().optional(), - attendeeLastModified: z.string().datetime({ offset: true }).transform(v => - new Date(v) - ).optional(), - appointmentGroups: z.array(AppointmentGroup$inboundSchema).optional(), - credit: z.number().optional(), -}); - -export function attendee1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Attendee1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Attendee1' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/attendee11.ts b/packages/typescript/src/models/components/attendee11.ts index c00c218cd..16b4eef2f 100644 --- a/packages/typescript/src/models/components/attendee11.ts +++ b/packages/typescript/src/models/components/attendee11.ts @@ -6,42 +6,399 @@ 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 { + AppointmentGroup, + AppointmentGroup$inboundSchema, +} from "./appointmentgroup.js"; +import { + AttendeeAnswer, + AttendeeAnswer$inboundSchema, +} from "./attendeeanswer.js"; +import { + AttendeeContactInfo, + AttendeeContactInfo$inboundSchema, +} from "./attendeecontactinfo.js"; +import { AttendeeGroup, AttendeeGroup$inboundSchema } from "./attendeegroup.js"; +import { + AttendeeInvitedBy1, + AttendeeInvitedBy1$inboundSchema, +} from "./attendeeinvitedby1.js"; +import { + AttendeeResponseMethod1, + AttendeeResponseMethod1$inboundSchema, +} from "./attendeeresponsemethod1.js"; +import { + AttendeeStatus, + AttendeeStatus$inboundSchema, +} from "./attendeestatus.js"; +import { + AttendeeVisibility, + AttendeeVisibility$inboundSchema, +} from "./attendeevisibility.js"; +import { + AttendeeWebLinks, + AttendeeWebLinks$inboundSchema, +} from "./attendeeweblinks.js"; +import { + CustomFieldSchema, + CustomFieldSchema$inboundSchema, +} from "./customfieldschema.js"; +import { + ExternalReference, + ExternalReference$inboundSchema, +} from "./externalreference.js"; +import { Lookup, Lookup$inboundSchema } from "./lookup.js"; +import { NamedObject, NamedObject$inboundSchema } from "./namedobject.js"; +import { Uuid, Uuid$inboundSchema } from "./uuid.js"; /** - * The associated Attendee. + * The attendee's associated event. + */ +export type Attendee1Event = { + /** + * The event ID. + */ + id?: string | undefined; +}; + +/** + * Contains details related to the attendee's admission item. + */ +export type Attendee1Lookup = { + /** + * A string that has to be a format matching the industry standard uuid + */ + id?: string | undefined; + /** + * Code / Abbreviation of the lookup item. + */ + code?: string | undefined; + /** + * Name of the lookup item. + */ + name?: string | undefined; +}; + +/** + * An event attendee. */ export type Attendee11 = { /** - * Attendee id + * 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; + /** + * The ID of attendee in the given event. + */ + id?: string | undefined; + /** + * The attendee's associated event. + */ + event?: Attendee1Event | undefined; + /** + * The confirmation number is a code unique to each attendee. Cvent assigns one to the attendee upon registration for the event. Serves as proof of registration. + */ + confirmationNumber?: string | undefined; + /** + * Information about attendee contact added to an event. + */ + contact?: AttendeeContactInfo | undefined; + /** + * True indicates the attendee checked in to the event. + */ + checkedIn?: boolean | undefined; + /** + * The date time when attendee was checked in to an event. Note: this field is deprecated. Please use the `checkIn` field instead. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + checkin?: Date | undefined; + /** + * The ISO 8601 zoned date time when attendee was checked in to an event. + */ + checkIn?: Date | undefined; + /** + * The ISO 8601 zoned date time when attendee checked out from an event. + */ + checkOut?: Date | undefined; + /** + * The duration, in milliseconds, the attendee was present at the event. + */ + duration?: number | undefined; + /** + * Lookup response object + */ + registrationPath?: Lookup | undefined; + /** + * A Named object + */ + invitationList?: NamedObject | undefined; + /** + * Web links for an attendee. + */ + webLinks?: AttendeeWebLinks | undefined; + /** + * Lookup response object + */ + registrationType?: Lookup | undefined; + /** + * The reference ID of an attendee. A planner determined string used to track which link attendee's used to reach the event registration. + */ + referenceId?: string | undefined; + /** + * The details of an attendee in an external systems. + */ + externalReferences?: Array | undefined; + /** + * A planner created note for an attendee, used to track details about the attendee. + */ + note?: string | undefined; + /** + * True indicates the attendee is a guest of another attendee. + */ + guest?: boolean | undefined; + /** + * True indicates this attendee is a deleted guest. + */ + deletedGuest?: boolean | undefined; + /** + * The ID of the primary attendee to whom this guest attendee is associated. Only applicable if this attendee is a guest. + */ + primaryId?: string | undefined; + /** + * An attendee group. + */ + group?: AttendeeGroup | undefined; + /** + * The reference to the related entity. Contains only the ID of the related entity. */ - id: string; + administrator?: Uuid | undefined; + /** + * DEPRECATED: True indicates this attendee is unsubscribed from this event's emails. They'll still receive emails triggered by their own actions (like registration modification). This field has been deprecated. Please use PUT /attendees/{id}/email-subscriptions instead. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + unsubscribed?: boolean | undefined; + /** + * This is used to denote the status of an attendee. + */ + status?: AttendeeStatus | undefined; + /** + * The ISO 8601 zoned date time when attendee was registered. + */ + registeredAt?: Date | undefined; + /** + * The ISO 8601 zoned date time when attendee's registration was modified. This field is updated when there are changes to the registration, such as adding or removing products. + */ + registrationLastModified?: Date | undefined; + /** + * The ISO 8601 zoned date time when attendee registration was cancelled. + */ + registrationCancelledAt?: Date | undefined; + /** + * Method by which the attendee was invited to the event. + */ + invitedBy?: AttendeeInvitedBy1 | undefined; + /** + * Represents the method by which an attendee registered for the event. + * + * @remarks + * + * - Administrator Responded: The invitee was registered by another contact acting as their administrator. + * - API-Responded: The invitee was registered through a custom process configured via an API integration. + * - Appointments Event Website: The invitee registered via an appointments event website. + * - Cvent Salesforce App: The invitee registered through an action in the Cvent Salesforce App. + * - External Registration: The attendee was registered through an external integration, such as Marketo. + * - Group Leader Responded: The invitee was registered by a group leader and added to a group. + * - Historical Import: The invitee's registration was imported into the event as historical data. + * - Imported: The invitee's registration was imported into the event. + * - No Response: The invitee has not registered. + * - On-site Responded: The invitee registered onsite using OnArrival's Kiosk Mode. + * - Planner-Imported: An account user imported the invitee's registration into the event. + * - Planner-Responded: An account user registered the invitee from the Cvent back-end or the planner-side of the OnArrival app. + * - Post Event: The invitee was registered by an account user after the event's end date or while the event was in Completed status. + * - Self-Responded: The invitee registered themselves through a weblink or invitation. + * + * Note: The responseMethod can only be set if the invitee's status is No Response. + */ + responseMethod?: AttendeeResponseMethod1 | undefined; + /** + * A list of answers to contact custom fields. Note: This field is deprecated. Answers to custom contact fields can be found in the 'contact' model, `customFields` field instead. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + questions?: Array | undefined; + /** + * The list of answers to the registration questions. + */ + answers?: Array | undefined; + /** + * Contains details related to the attendee's admission item. + */ + admissionItem?: Attendee1Lookup | undefined; + /** + * Denotes the visibility of the attendee profile to other attendees. Private: Their profile is not visible. Public: Their profile is visible. + */ + visibility?: AttendeeVisibility | undefined; + /** + * The attendee's biographical writeup. + */ + bio?: string | undefined; + /** + * Notification setting in the Attendee Hub app or website. Note: This field is deprecated. Use `allowPushNotification` field instead. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + showPopupNotification?: boolean | undefined; + /** + * An attendee's website URL, appears on their profile. + */ + websiteUrl?: string | undefined; + /** + * True indicates attendee will recieve push notifications for session-schedule changes, promotions and other event activities in the Attendee Hub app. + */ + allowPushNotifications?: boolean | undefined; + /** + * True indicaites attendee will recieve push notifications for appointments related activities in the Attendee Hub app. + */ + allowAppointmentPushNotifications?: boolean | undefined; + /** + * True indicates this attendee record was created as part of a test scenario. + */ + testRecord?: boolean | undefined; + /** + * The ISO 8601 zoned date-time indicates when the attendee's non-contact properties were modified. Updates to the attendee's contact properties do not update this field. This field is updated when planners or attendees make changes to the attendee record, such as flagging as a participant. It is not updated for registration or product changes. + */ + attendeeLastModified?: Date | undefined; + /** + * List of appointment groups associated with attendee. These control permissions and visibility in appointments associated with the event. + */ + appointmentGroups?: Array | undefined; + /** + * The amount of credit associated with the attendee. + */ + credit?: number | undefined; }; /** @internal */ -export const Attendee11$inboundSchema: z.ZodType< - Attendee11, +export const Attendee1Event$inboundSchema: z.ZodType< + Attendee1Event, z.ZodTypeDef, unknown > = z.object({ - id: z.string(), + id: z.string().optional(), }); -/** @internal */ -export type Attendee11$Outbound = { - id: string; -}; + +export function attendee1EventFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Attendee1Event$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Attendee1Event' from JSON`, + ); +} /** @internal */ -export const Attendee11$outboundSchema: z.ZodType< - Attendee11$Outbound, +export const Attendee1Lookup$inboundSchema: z.ZodType< + Attendee1Lookup, z.ZodTypeDef, - Attendee11 + unknown > = z.object({ - id: z.string(), + id: z.string().optional(), + code: z.string().optional(), + name: z.string().optional(), }); -export function attendee11ToJSON(attendee11: Attendee11): string { - return JSON.stringify(Attendee11$outboundSchema.parse(attendee11)); +export function attendee1LookupFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Attendee1Lookup$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Attendee1Lookup' from JSON`, + ); } + +/** @internal */ +export const Attendee11$inboundSchema: z.ZodType< + Attendee11, + 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(), + id: z.string().optional(), + event: z.lazy(() => Attendee1Event$inboundSchema).optional(), + confirmationNumber: z.string().optional(), + contact: AttendeeContactInfo$inboundSchema.optional(), + checkedIn: z.boolean().optional(), + checkin: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + checkIn: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + checkOut: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + duration: z.number().int().optional(), + registrationPath: Lookup$inboundSchema.optional(), + invitationList: NamedObject$inboundSchema.optional(), + webLinks: AttendeeWebLinks$inboundSchema.optional(), + registrationType: Lookup$inboundSchema.optional(), + referenceId: z.string().optional(), + externalReferences: z.array(ExternalReference$inboundSchema).optional(), + note: z.string().optional(), + guest: z.boolean().optional(), + deletedGuest: z.boolean().optional(), + primaryId: z.string().optional(), + group: AttendeeGroup$inboundSchema.optional(), + administrator: Uuid$inboundSchema.optional(), + unsubscribed: z.boolean().optional(), + status: AttendeeStatus$inboundSchema.optional(), + registeredAt: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ).optional(), + registrationLastModified: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ).optional(), + registrationCancelledAt: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ).optional(), + invitedBy: AttendeeInvitedBy1$inboundSchema.optional(), + responseMethod: AttendeeResponseMethod1$inboundSchema.optional(), + questions: z.array(CustomFieldSchema$inboundSchema).optional(), + answers: z.array(AttendeeAnswer$inboundSchema).optional(), + admissionItem: z.lazy(() => Attendee1Lookup$inboundSchema).optional(), + visibility: AttendeeVisibility$inboundSchema.optional(), + bio: z.string().optional(), + showPopupNotification: z.boolean().optional(), + websiteUrl: z.string().optional(), + allowPushNotifications: z.boolean().optional(), + allowAppointmentPushNotifications: z.boolean().optional(), + testRecord: z.boolean().optional(), + attendeeLastModified: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ).optional(), + appointmentGroups: z.array(AppointmentGroup$inboundSchema).optional(), + credit: z.number().optional(), +}); + export function attendee11FromJSON( jsonString: string, ): SafeParseResult { diff --git a/packages/typescript/src/models/components/attendee12.ts b/packages/typescript/src/models/components/attendee12.ts index 04d7b36e3..27bd46249 100644 --- a/packages/typescript/src/models/components/attendee12.ts +++ b/packages/typescript/src/models/components/attendee12.ts @@ -8,13 +8,13 @@ import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** - * A JSON schema representing the Attendee object + * The associated Attendee. */ export type Attendee12 = { /** * Attendee id */ - id?: string | undefined; + id: string; }; /** @internal */ @@ -23,9 +23,25 @@ export const Attendee12$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - id: z.string().optional(), + id: z.string(), +}); +/** @internal */ +export type Attendee12$Outbound = { + id: string; +}; + +/** @internal */ +export const Attendee12$outboundSchema: z.ZodType< + Attendee12$Outbound, + z.ZodTypeDef, + Attendee12 +> = z.object({ + id: z.string(), }); +export function attendee12ToJSON(attendee12: Attendee12): string { + return JSON.stringify(Attendee12$outboundSchema.parse(attendee12)); +} export function attendee12FromJSON( jsonString: string, ): SafeParseResult { diff --git a/packages/typescript/src/models/components/attendee13.ts b/packages/typescript/src/models/components/attendee13.ts new file mode 100644 index 000000000..8d9ed5dea --- /dev/null +++ b/packages/typescript/src/models/components/attendee13.ts @@ -0,0 +1,37 @@ +/* + * 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 JSON schema representing the Attendee object + */ +export type Attendee13 = { + /** + * Attendee id + */ + id?: string | undefined; +}; + +/** @internal */ +export const Attendee13$inboundSchema: z.ZodType< + Attendee13, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function attendee13FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Attendee13$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Attendee13' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/attendee2.ts b/packages/typescript/src/models/components/attendee2.ts index d341c9e0d..2a4b30577 100644 --- a/packages/typescript/src/models/components/attendee2.ts +++ b/packages/typescript/src/models/components/attendee2.ts @@ -12,7 +12,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js"; */ export type Attendee2 = { /** - * Unique identifier of the primary invitee for the current attendee's registration. + * Attendee ID. */ id: string; }; @@ -25,23 +25,7 @@ export const Attendee2$inboundSchema: z.ZodType< > = z.object({ id: z.string(), }); -/** @internal */ -export type Attendee2$Outbound = { - id: string; -}; - -/** @internal */ -export const Attendee2$outboundSchema: z.ZodType< - Attendee2$Outbound, - z.ZodTypeDef, - Attendee2 -> = z.object({ - id: z.string(), -}); -export function attendee2ToJSON(attendee2: Attendee2): string { - return JSON.stringify(Attendee2$outboundSchema.parse(attendee2)); -} export function attendee2FromJSON( jsonString: string, ): SafeParseResult { diff --git a/packages/typescript/src/models/components/attendeeaddbulkitemeventjson.ts b/packages/typescript/src/models/components/attendeeaddbulkitemeventjson.ts index 9b7850cf4..f5af42821 100644 --- a/packages/typescript/src/models/components/attendeeaddbulkitemeventjson.ts +++ b/packages/typescript/src/models/components/attendeeaddbulkitemeventjson.ts @@ -6,7 +6,7 @@ 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 { ZeroAllOf8, ZeroAllOf8$inboundSchema } from "./zeroallof8.js"; +import { ZeroAllOf7, ZeroAllOf7$inboundSchema } from "./zeroallof7.js"; import { ZeroOneOf2, ZeroOneOf2$inboundSchema } from "./zerooneof2.js"; /** @@ -32,7 +32,7 @@ export type AttendeeAddBulkItemEventJsonErrorResponse = { /** * Additional details of cascading error messages. */ - details?: Array | undefined; + details?: Array | undefined; }; export type AttendeeAddBulkItemEventJsonData = @@ -68,7 +68,7 @@ export const AttendeeAddBulkItemEventJsonErrorResponse$inboundSchema: z.ZodType< code: z.number().int(), message: z.string(), target: z.string().optional(), - details: z.array(ZeroAllOf8$inboundSchema).optional(), + details: z.array(ZeroAllOf7$inboundSchema).optional(), }); export function attendeeAddBulkItemEventJsonErrorResponseFromJSON( diff --git a/packages/typescript/src/models/components/attendeeaddbulkitemjson.ts b/packages/typescript/src/models/components/attendeeaddbulkitemjson.ts index 2009b658b..86e7ab927 100644 --- a/packages/typescript/src/models/components/attendeeaddbulkitemjson.ts +++ b/packages/typescript/src/models/components/attendeeaddbulkitemjson.ts @@ -7,18 +7,18 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - ErrorResponse1, - ErrorResponse1$inboundSchema, -} from "./errorresponse1.js"; + ErrorResponse2, + ErrorResponse2$inboundSchema, +} from "./errorresponse2.js"; import { ZeroOneOf2, ZeroOneOf2$inboundSchema } from "./zerooneof2.js"; -export type AttendeeAddBulkItemJsonData = ErrorResponse1 | ZeroOneOf2; +export type AttendeeAddBulkItemJsonData = ErrorResponse2 | ZeroOneOf2; /** * This entity is used to represent a single item that is returned as part of a bulk request call. */ export type AttendeeAddBulkItemJson = { - data: ErrorResponse1 | ZeroOneOf2; + data: ErrorResponse2 | ZeroOneOf2; /** * http status code representing processing status of a single item */ @@ -38,7 +38,7 @@ export const AttendeeAddBulkItemJsonData$inboundSchema: z.ZodType< AttendeeAddBulkItemJsonData, z.ZodTypeDef, unknown -> = z.union([ErrorResponse1$inboundSchema, ZeroOneOf2$inboundSchema]); +> = z.union([ErrorResponse2$inboundSchema, ZeroOneOf2$inboundSchema]); export function attendeeAddBulkItemJsonDataFromJSON( jsonString: string, @@ -56,7 +56,7 @@ export const AttendeeAddBulkItemJson$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - data: z.union([ErrorResponse1$inboundSchema, ZeroOneOf2$inboundSchema]), + data: z.union([ErrorResponse2$inboundSchema, ZeroOneOf2$inboundSchema]), status: z.number().int(), message: z.string().optional(), request: z.record(z.any()).optional(), diff --git a/packages/typescript/src/models/components/attendeecontactinfo.ts b/packages/typescript/src/models/components/attendeecontactinfo.ts index 7e258d489..5f7e98a26 100644 --- a/packages/typescript/src/models/components/attendeecontactinfo.ts +++ b/packages/typescript/src/models/components/attendeecontactinfo.ts @@ -7,7 +7,7 @@ import { remap as remap$ } from "../../lib/primitives.js"; import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { Address11, Address11$inboundSchema } from "./address11.js"; +import { Address3, Address3$inboundSchema } from "./address3.js"; import { AddressType, AddressType$inboundSchema } from "./addresstype.js"; import { AttendeeContactMembership, @@ -124,7 +124,7 @@ export type AttendeeContactInfo = { /** * Address details */ - homeAddress?: Address11 | undefined; + homeAddress?: Address3 | undefined; /** * Home phone number */ @@ -136,7 +136,7 @@ export type AttendeeContactInfo = { /** * Address details */ - workAddress?: Address11 | undefined; + workAddress?: Address3 | undefined; /** * Work phone number */ @@ -248,10 +248,10 @@ export const AttendeeContactInfo$inboundSchema: z.ZodType< type: AttendeeContactType$inboundSchema.optional(), membership: AttendeeContactMembership$inboundSchema.optional(), primaryAddressType: AddressType$inboundSchema.optional(), - homeAddress: Address11$inboundSchema.optional(), + homeAddress: Address3$inboundSchema.optional(), homePhone: z.string().optional(), homeFax: z.string().optional(), - workAddress: Address11$inboundSchema.optional(), + workAddress: Address3$inboundSchema.optional(), workPhone: z.string().optional(), workFax: z.string().optional(), optOut: z.lazy(() => OptOut$inboundSchema).optional(), diff --git a/packages/typescript/src/models/components/attendeecontacttypeinput.ts b/packages/typescript/src/models/components/attendeecontacttypeinput.ts new file mode 100644 index 000000000..5670fbb54 --- /dev/null +++ b/packages/typescript/src/models/components/attendeecontacttypeinput.ts @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; + +/** + * Contains details related to the attendee's contact type. + */ +export type AttendeeContactTypeInput = { + /** + * The unique identifier of the contact type + */ + id?: string | undefined; +}; + +/** @internal */ +export type AttendeeContactTypeInput$Outbound = { + id?: string | undefined; +}; + +/** @internal */ +export const AttendeeContactTypeInput$outboundSchema: z.ZodType< + AttendeeContactTypeInput$Outbound, + z.ZodTypeDef, + AttendeeContactTypeInput +> = z.object({ + id: z.string().optional(), +}); + +export function attendeeContactTypeInputToJSON( + attendeeContactTypeInput: AttendeeContactTypeInput, +): string { + return JSON.stringify( + AttendeeContactTypeInput$outboundSchema.parse(attendeeContactTypeInput), + ); +} diff --git a/packages/typescript/src/models/components/attendeecontacttypejson.ts b/packages/typescript/src/models/components/attendeecontacttypejson.ts deleted file mode 100644 index b770c09d3..000000000 --- a/packages/typescript/src/models/components/attendeecontacttypejson.ts +++ /dev/null @@ -1,42 +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"; - -/** - * Contains details related to the attendee's contact type. - */ -export type AttendeeContactTypeJson = { - /** - * The unique identifier of the contact type - */ - id?: string | undefined; - /** - * A descriptive name for the contact type - */ - name?: string | undefined; -}; - -/** @internal */ -export const AttendeeContactTypeJson$inboundSchema: z.ZodType< - AttendeeContactTypeJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - name: z.string().optional(), -}); - -export function attendeeContactTypeJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AttendeeContactTypeJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AttendeeContactTypeJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/attendeecontacttypejsoninput.ts b/packages/typescript/src/models/components/attendeecontacttypejsoninput.ts deleted file mode 100644 index 6c46a3148..000000000 --- a/packages/typescript/src/models/components/attendeecontacttypejsoninput.ts +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; - -/** - * Contains details related to the attendee's contact type. - */ -export type AttendeeContactTypeJsonInput = { - /** - * The unique identifier of the contact type - */ - id?: string | undefined; -}; - -/** @internal */ -export type AttendeeContactTypeJsonInput$Outbound = { - id?: string | undefined; -}; - -/** @internal */ -export const AttendeeContactTypeJsonInput$outboundSchema: z.ZodType< - AttendeeContactTypeJsonInput$Outbound, - z.ZodTypeDef, - AttendeeContactTypeJsonInput -> = z.object({ - id: z.string().optional(), -}); - -export function attendeeContactTypeJsonInputToJSON( - attendeeContactTypeJsonInput: AttendeeContactTypeJsonInput, -): string { - return JSON.stringify( - AttendeeContactTypeJsonInput$outboundSchema.parse( - attendeeContactTypeJsonInput, - ), - ); -} diff --git a/packages/typescript/src/models/components/attendeeinsights.ts b/packages/typescript/src/models/components/attendeeinsights.ts index cb195d712..e0233a94c 100644 --- a/packages/typescript/src/models/components/attendeeinsights.ts +++ b/packages/typescript/src/models/components/attendeeinsights.ts @@ -6,7 +6,7 @@ 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 { EventJson6, EventJson6$inboundSchema } from "./eventjson6.js"; +import { EventJson5, EventJson5$inboundSchema } from "./eventjson5.js"; /** * Attendee insights. @@ -43,7 +43,7 @@ export type AttendeeInsights = { /** * An event reference used in attendee insights to identify the event context for engagement data */ - event: EventJson6; + event: EventJson5; /** * True indicates this is the default engagement score in the event. */ @@ -66,7 +66,7 @@ export const AttendeeInsights$inboundSchema: z.ZodType< id: z.string(), name: z.string(), description: z.string().optional(), - event: EventJson6$inboundSchema, + event: EventJson5$inboundSchema, default: z.boolean(), }); diff --git a/packages/typescript/src/models/components/attendeeinvitesbulkresponseitem.ts b/packages/typescript/src/models/components/attendeeinvitesbulkresponseitem.ts index 34171827f..6045682bc 100644 --- a/packages/typescript/src/models/components/attendeeinvitesbulkresponseitem.ts +++ b/packages/typescript/src/models/components/attendeeinvitesbulkresponseitem.ts @@ -11,17 +11,17 @@ import { AttendeeAddResponse$inboundSchema, } from "./attendeeaddresponse.js"; import { - ErrorResponse2, - ErrorResponse2$inboundSchema, -} from "./errorresponse2.js"; + ErrorResponse1, + ErrorResponse1$inboundSchema, +} from "./errorresponse1.js"; -export type Attendees = ErrorResponse2 | AttendeeAddResponse; +export type Attendees = ErrorResponse1 | AttendeeAddResponse; /** * This entity is used to represent a single item that is returned as part of a bulk request call. */ export type AttendeeInvitesBulkResponseItem = { - data: ErrorResponse2 | AttendeeAddResponse; + data: ErrorResponse1 | AttendeeAddResponse; /** * http status code representing processing status of a single item */ @@ -41,7 +41,7 @@ export const Attendees$inboundSchema: z.ZodType< Attendees, z.ZodTypeDef, unknown -> = z.union([ErrorResponse2$inboundSchema, AttendeeAddResponse$inboundSchema]); +> = z.union([ErrorResponse1$inboundSchema, AttendeeAddResponse$inboundSchema]); export function attendeesFromJSON( jsonString: string, @@ -60,7 +60,7 @@ export const AttendeeInvitesBulkResponseItem$inboundSchema: z.ZodType< unknown > = z.object({ data: z.union([ - ErrorResponse2$inboundSchema, + ErrorResponse1$inboundSchema, AttendeeAddResponse$inboundSchema, ]), status: z.number().int(), diff --git a/packages/typescript/src/models/components/attendeelinkbulkresponseitemjson.ts b/packages/typescript/src/models/components/attendeelinkbulkresponseitemjson.ts index 5d453dc9d..a2a8dc0e5 100644 --- a/packages/typescript/src/models/components/attendeelinkbulkresponseitemjson.ts +++ b/packages/typescript/src/models/components/attendeelinkbulkresponseitemjson.ts @@ -7,9 +7,9 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - ErrorResponse1, - ErrorResponse1$inboundSchema, -} from "./errorresponse1.js"; + ErrorResponse2, + ErrorResponse2$inboundSchema, +} from "./errorresponse2.js"; import { ExistingAttendeeLink, ExistingAttendeeLink$inboundSchema, @@ -17,13 +17,13 @@ import { export type AttendeeLinkBulkResponseItemJsonData = | ExistingAttendeeLink - | ErrorResponse1; + | ErrorResponse2; /** * This entity is used to represent a single item that is returned as part of a bulk request call. */ export type AttendeeLinkBulkResponseItemJson = { - data: ExistingAttendeeLink | ErrorResponse1; + data: ExistingAttendeeLink | ErrorResponse2; /** * http status code representing processing status of a single item */ @@ -43,7 +43,7 @@ export const AttendeeLinkBulkResponseItemJsonData$inboundSchema: z.ZodType< AttendeeLinkBulkResponseItemJsonData, z.ZodTypeDef, unknown -> = z.union([ExistingAttendeeLink$inboundSchema, ErrorResponse1$inboundSchema]); +> = z.union([ExistingAttendeeLink$inboundSchema, ErrorResponse2$inboundSchema]); export function attendeeLinkBulkResponseItemJsonDataFromJSON( jsonString: string, @@ -64,7 +64,7 @@ export const AttendeeLinkBulkResponseItemJson$inboundSchema: z.ZodType< > = z.object({ data: z.union([ ExistingAttendeeLink$inboundSchema, - ErrorResponse1$inboundSchema, + ErrorResponse2$inboundSchema, ]), status: z.number().int(), message: z.string().optional(), diff --git a/packages/typescript/src/models/components/attendeepaginatedresponse.ts b/packages/typescript/src/models/components/attendeepaginatedresponse.ts index 2621688d2..33f0eac4f 100644 --- a/packages/typescript/src/models/components/attendeepaginatedresponse.ts +++ b/packages/typescript/src/models/components/attendeepaginatedresponse.ts @@ -6,7 +6,7 @@ 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 { Attendee1, Attendee1$inboundSchema } from "./attendee1.js"; +import { Attendee11, Attendee11$inboundSchema } from "./attendee11.js"; import { Paging, Paging$inboundSchema } from "./paging.js"; /** @@ -20,7 +20,7 @@ export type AttendeePaginatedResponse = { /** * Collection of attendees. */ - data: Array; + data: Array; }; /** @internal */ @@ -30,7 +30,7 @@ export const AttendeePaginatedResponse$inboundSchema: z.ZodType< unknown > = z.object({ paging: Paging$inboundSchema, - data: z.array(Attendee1$inboundSchema), + data: z.array(Attendee11$inboundSchema), }); export function attendeePaginatedResponseFromJSON( diff --git a/packages/typescript/src/models/components/attendeespaginatedresponse.ts b/packages/typescript/src/models/components/attendeespaginatedresponse.ts new file mode 100644 index 000000000..3e15300f9 --- /dev/null +++ b/packages/typescript/src/models/components/attendeespaginatedresponse.ts @@ -0,0 +1,44 @@ +/* + * 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 { Attendee2, Attendee2$inboundSchema } from "./attendee2.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; + +/** + * A paginated response containing a list of attendees who have redeemed a voucher. + */ +export type AttendeesPaginatedResponse = { + /** + * Represents pagination information for a collection of resources. + */ + paging: Paging; + /** + * Collection of attendees who have redeemed the voucher. + */ + data: Array; +}; + +/** @internal */ +export const AttendeesPaginatedResponse$inboundSchema: z.ZodType< + AttendeesPaginatedResponse, + z.ZodTypeDef, + unknown +> = z.object({ + paging: Paging$inboundSchema, + data: z.array(Attendee2$inboundSchema), +}); + +export function attendeesPaginatedResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AttendeesPaginatedResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AttendeesPaginatedResponse' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/audiencesegment.ts b/packages/typescript/src/models/components/audiencesegment.ts index 70fea968d..92d965735 100644 --- a/packages/typescript/src/models/components/audiencesegment.ts +++ b/packages/typescript/src/models/components/audiencesegment.ts @@ -4,10 +4,10 @@ import * as z from "zod/v3"; import { - EventJson1, - EventJson1$Outbound, - EventJson1$outboundSchema, -} from "./eventjson1.js"; + EventJson, + EventJson$Outbound, + EventJson$outboundSchema, +} from "./eventjson.js"; /** * Represents an audience segment. Audience segments are assigned to events and provide the ability for planners to segment their attendees into groups and better manage the attendee experience based on their defined segments. @@ -16,7 +16,7 @@ export type AudienceSegment = { /** * ID of the event. */ - event: EventJson1; + event: EventJson; /** * Name of the audience segment. Must be unique in the event where the segment exists. */ @@ -29,7 +29,7 @@ export type AudienceSegment = { /** @internal */ export type AudienceSegment$Outbound = { - event: EventJson1$Outbound; + event: EventJson$Outbound; name: string; description?: string | undefined; }; @@ -40,7 +40,7 @@ export const AudienceSegment$outboundSchema: z.ZodType< z.ZodTypeDef, AudienceSegment > = z.object({ - event: EventJson1$outboundSchema, + event: EventJson$outboundSchema, name: z.string(), description: z.string().optional(), }); diff --git a/packages/typescript/src/models/components/audiencesegmentcreate.ts b/packages/typescript/src/models/components/audiencesegmentcreate.ts index 5a2b98798..11a5e4148 100644 --- a/packages/typescript/src/models/components/audiencesegmentcreate.ts +++ b/packages/typescript/src/models/components/audiencesegmentcreate.ts @@ -8,10 +8,10 @@ import { AudienceSegmentCreationTypeJson$outboundSchema, } from "./audiencesegmentcreationtypejson.js"; import { - EventJson1, - EventJson1$Outbound, - EventJson1$outboundSchema, -} from "./eventjson1.js"; + EventJson, + EventJson$Outbound, + EventJson$outboundSchema, +} from "./eventjson.js"; /** * Represents a request to create an audience segment. @@ -20,7 +20,7 @@ export type AudienceSegmentCreate = { /** * ID of the event. */ - event: EventJson1; + event: EventJson; /** * Name of the audience segment. Must be unique in the event where the segment exists. */ @@ -37,7 +37,7 @@ export type AudienceSegmentCreate = { /** @internal */ export type AudienceSegmentCreate$Outbound = { - event: EventJson1$Outbound; + event: EventJson$Outbound; name: string; description?: string | undefined; creationType: string; @@ -49,7 +49,7 @@ export const AudienceSegmentCreate$outboundSchema: z.ZodType< z.ZodTypeDef, AudienceSegmentCreate > = z.object({ - event: EventJson1$outboundSchema, + event: EventJson$outboundSchema, name: z.string(), description: z.string().optional(), creationType: AudienceSegmentCreationTypeJson$outboundSchema.default( diff --git a/packages/typescript/src/models/components/audiencesegmentresponse.ts b/packages/typescript/src/models/components/audiencesegmentresponse.ts index 44dfa6743..d7d86776f 100644 --- a/packages/typescript/src/models/components/audiencesegmentresponse.ts +++ b/packages/typescript/src/models/components/audiencesegmentresponse.ts @@ -6,7 +6,7 @@ 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 { EventJson1, EventJson1$inboundSchema } from "./eventjson1.js"; +import { EventJson, EventJson$inboundSchema } from "./eventjson.js"; import { ExistingAudienceSegmentCreationTypeJson, ExistingAudienceSegmentCreationTypeJson$inboundSchema, @@ -35,7 +35,7 @@ export type AudienceSegmentResponse = { /** * ID of the event. */ - event: EventJson1; + event: EventJson; /** * Name of the audience segment. Must be unique in the event where the segment exists. */ @@ -71,7 +71,7 @@ export const AudienceSegmentResponse$inboundSchema: z.ZodType< new Date(v) ).optional(), lastModifiedBy: z.string().optional(), - event: EventJson1$inboundSchema, + event: EventJson$inboundSchema, name: z.string(), description: z.string().optional(), id: z.string().optional(), diff --git a/packages/typescript/src/models/components/audiotrackstatus.ts b/packages/typescript/src/models/components/audiotrackstatus.ts new file mode 100644 index 000000000..7eed6f2b3 --- /dev/null +++ b/packages/typescript/src/models/components/audiotrackstatus.ts @@ -0,0 +1,29 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Denotes the status of an audio track. Started indicates the request to upload in the API was submitted, and the URL you'll upload an audio track to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the audio track. Available indicates the audio track is available for use. + */ +export const AudioTrackStatus = { + Started: "Started", + Uploaded: "Uploaded", + Scanning: "Scanning", + Scanned: "Scanned", + Syncing: "Syncing", + Rejected: "Rejected", + Error: "Error", + Available: "Available", +} as const; +/** + * Denotes the status of an audio track. Started indicates the request to upload in the API was submitted, and the URL you'll upload an audio track to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the audio track. Available indicates the audio track is available for use. + */ +export type AudioTrackStatus = ClosedEnum; + +/** @internal */ +export const AudioTrackStatus$inboundSchema: z.ZodNativeEnum< + typeof AudioTrackStatus +> = z.nativeEnum(AudioTrackStatus); diff --git a/packages/typescript/src/models/components/audiotrackstatusjson.ts b/packages/typescript/src/models/components/audiotrackstatusjson.ts deleted file mode 100644 index bd9e83761..000000000 --- a/packages/typescript/src/models/components/audiotrackstatusjson.ts +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Denotes the status of an audio track. Started indicates the request to upload in the API was submitted, and the URL you'll upload an audio track to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the audio track. Available indicates the audio track is available for use. - */ -export const AudioTrackStatusJson = { - Started: "Started", - Uploaded: "Uploaded", - Scanning: "Scanning", - Scanned: "Scanned", - Syncing: "Syncing", - Rejected: "Rejected", - Error: "Error", - Available: "Available", -} as const; -/** - * Denotes the status of an audio track. Started indicates the request to upload in the API was submitted, and the URL you'll upload an audio track to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the audio track. Available indicates the audio track is available for use. - */ -export type AudioTrackStatusJson = ClosedEnum; - -/** @internal */ -export const AudioTrackStatusJson$inboundSchema: z.ZodNativeEnum< - typeof AudioTrackStatusJson -> = z.nativeEnum(AudioTrackStatusJson); diff --git a/packages/typescript/src/models/components/audiotracktype.ts b/packages/typescript/src/models/components/audiotracktype.ts new file mode 100644 index 000000000..810b3bb1f --- /dev/null +++ b/packages/typescript/src/models/components/audiotracktype.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"; + +/** + * Denotes the file format of the audio track. + */ +export const AudioTrackType = { + Asf: "asf", + Wma: "wma", + Wmv: "wmv", + Mp3: "mp3", + Ts: "ts", + Mp4: "mp4", + Mka: "mka", + Oga: "oga", + Mov: "mov", + Wav: "wav", +} as const; +/** + * Denotes the file format of the audio track. + */ +export type AudioTrackType = ClosedEnum; + +/** @internal */ +export const AudioTrackType$inboundSchema: z.ZodNativeEnum< + typeof AudioTrackType +> = z.nativeEnum(AudioTrackType); diff --git a/packages/typescript/src/models/components/audiotracktypejson.ts b/packages/typescript/src/models/components/audiotracktypejson.ts deleted file mode 100644 index 98550afc2..000000000 --- a/packages/typescript/src/models/components/audiotracktypejson.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Denotes the file format of the audio track. - */ -export const AudioTrackTypeJson = { - Asf: "asf", - Wma: "wma", - Wmv: "wmv", - Mp3: "mp3", - Ts: "ts", - Mp4: "mp4", - Mka: "mka", - Oga: "oga", - Mov: "mov", - Wav: "wav", -} as const; -/** - * Denotes the file format of the audio track. - */ -export type AudioTrackTypeJson = ClosedEnum; - -/** @internal */ -export const AudioTrackTypeJson$inboundSchema: z.ZodNativeEnum< - typeof AudioTrackTypeJson -> = z.nativeEnum(AudioTrackTypeJson); diff --git a/packages/typescript/src/models/components/audiotrackvariant.ts b/packages/typescript/src/models/components/audiotrackvariant.ts new file mode 100644 index 000000000..82f90d4c2 --- /dev/null +++ b/packages/typescript/src/models/components/audiotrackvariant.ts @@ -0,0 +1,26 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Denotes the variant of an audio track. Main is the primary audio track for this video. Alternate is a possible alternative to the main track. Commentary is a commentary on the primary audio or video track, e.g. a director's commentary. Dub is a translated version of the main audio track. Descriptive is an audio description of a video track. + */ +export const AudioTrackVariant = { + Main: "Main", + Alternate: "Alternate", + Commentary: "Commentary", + Dub: "Dub", + Descriptive: "Descriptive", +} as const; +/** + * Denotes the variant of an audio track. Main is the primary audio track for this video. Alternate is a possible alternative to the main track. Commentary is a commentary on the primary audio or video track, e.g. a director's commentary. Dub is a translated version of the main audio track. Descriptive is an audio description of a video track. + */ +export type AudioTrackVariant = ClosedEnum; + +/** @internal */ +export const AudioTrackVariant$inboundSchema: z.ZodNativeEnum< + typeof AudioTrackVariant +> = z.nativeEnum(AudioTrackVariant); diff --git a/packages/typescript/src/models/components/audiotrackvariantjson.ts b/packages/typescript/src/models/components/audiotrackvariantjson.ts deleted file mode 100644 index 737ba7a40..000000000 --- a/packages/typescript/src/models/components/audiotrackvariantjson.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Denotes the variant of an audio track. Main is the primary audio track for this video. Alternate is a possible alternative to the main track. Commentary is a commentary on the primary audio or video track, e.g. a director's commentary. Dub is a translated version of the main audio track. Descriptive is an audio description of a video track. - */ -export const AudioTrackVariantJson = { - Main: "Main", - Alternate: "Alternate", - Commentary: "Commentary", - Dub: "Dub", - Descriptive: "Descriptive", -} as const; -/** - * Denotes the variant of an audio track. Main is the primary audio track for this video. Alternate is a possible alternative to the main track. Commentary is a commentary on the primary audio or video track, e.g. a director's commentary. Dub is a translated version of the main audio track. Descriptive is an audio description of a video track. - */ -export type AudioTrackVariantJson = ClosedEnum; - -/** @internal */ -export const AudioTrackVariantJson$inboundSchema: z.ZodNativeEnum< - typeof AudioTrackVariantJson -> = z.nativeEnum(AudioTrackVariantJson); diff --git a/packages/typescript/src/models/components/badge.ts b/packages/typescript/src/models/components/badge.ts index 3e7a2134a..8ba31657b 100644 --- a/packages/typescript/src/models/components/badge.ts +++ b/packages/typescript/src/models/components/badge.ts @@ -6,10 +6,10 @@ 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 { Attendee11, Attendee11$inboundSchema } from "./attendee11.js"; +import { Attendee12, Attendee12$inboundSchema } from "./attendee12.js"; import { BadgeStatus, BadgeStatus$inboundSchema } from "./badgestatus.js"; import { BadgeType, BadgeType$inboundSchema } from "./badgetype.js"; -import { Event21, Event21$inboundSchema } from "./event21.js"; +import { Event3, Event3$inboundSchema } from "./event3.js"; /** * A JSON Schema for Badge object. @@ -46,11 +46,11 @@ export type Badge = { /** * The associated Attendee. */ - attendee: Attendee11; + attendee: Attendee12; /** * The Associated Event. */ - event: Event21; + event: Event3; }; /** @internal */ @@ -66,8 +66,8 @@ export const Badge$inboundSchema: z.ZodType = z id: z.string(), status: BadgeStatus$inboundSchema, type: BadgeType$inboundSchema, - attendee: Attendee11$inboundSchema, - event: Event21$inboundSchema, + attendee: Attendee12$inboundSchema, + event: Event3$inboundSchema, }); export function badgeFromJSON( diff --git a/packages/typescript/src/models/components/badgeinput.ts b/packages/typescript/src/models/components/badgeinput.ts index f75bb5e45..55072f10a 100644 --- a/packages/typescript/src/models/components/badgeinput.ts +++ b/packages/typescript/src/models/components/badgeinput.ts @@ -4,17 +4,13 @@ import * as z from "zod/v3"; import { - Attendee11, - Attendee11$Outbound, - Attendee11$outboundSchema, -} from "./attendee11.js"; + Attendee12, + Attendee12$Outbound, + Attendee12$outboundSchema, +} from "./attendee12.js"; import { BadgeStatus, BadgeStatus$outboundSchema } from "./badgestatus.js"; import { BadgeType, BadgeType$outboundSchema } from "./badgetype.js"; -import { - Event21, - Event21$Outbound, - Event21$outboundSchema, -} from "./event21.js"; +import { Event3, Event3$Outbound, Event3$outboundSchema } from "./event3.js"; /** * A JSON Schema for Badge object. @@ -35,11 +31,11 @@ export type BadgeInput = { /** * The associated Attendee. */ - attendee: Attendee11; + attendee: Attendee12; /** * The Associated Event. */ - event: Event21; + event: Event3; }; /** @internal */ @@ -47,8 +43,8 @@ export type BadgeInput$Outbound = { id: string; status: string; type: string; - attendee: Attendee11$Outbound; - event: Event21$Outbound; + attendee: Attendee12$Outbound; + event: Event3$Outbound; }; /** @internal */ @@ -60,8 +56,8 @@ export const BadgeInput$outboundSchema: z.ZodType< id: z.string(), status: BadgeStatus$outboundSchema, type: BadgeType$outboundSchema, - attendee: Attendee11$outboundSchema, - event: Event21$outboundSchema, + attendee: Attendee12$outboundSchema, + event: Event3$outboundSchema, }); export function badgeInputToJSON(badgeInput: BadgeInput): string { diff --git a/packages/typescript/src/models/components/biditemstatustype.ts b/packages/typescript/src/models/components/biditemstatustype.ts new file mode 100644 index 000000000..9fd46ef7e --- /dev/null +++ b/packages/typescript/src/models/components/biditemstatustype.ts @@ -0,0 +1,25 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + */ +export const BidItemStatusType = { + Requested: "requested", + DeleteRequested: "delete_requested", + Deleted: "deleted", + NotAvailable: "not_available", +} as const; +/** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + */ +export type BidItemStatusType = ClosedEnum; + +/** @internal */ +export const BidItemStatusType$inboundSchema: z.ZodNativeEnum< + typeof BidItemStatusType +> = z.nativeEnum(BidItemStatusType); diff --git a/packages/typescript/src/models/components/biditemstatustypejson.ts b/packages/typescript/src/models/components/biditemstatustypejson.ts deleted file mode 100644 index 0b894fa4a..000000000 --- a/packages/typescript/src/models/components/biditemstatustypejson.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"; - -/** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. - */ -export const BidItemStatusTypeJson = { - Requested: "requested", - DeleteRequested: "delete_requested", - Deleted: "deleted", - NotAvailable: "not_available", -} as const; -/** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. - */ -export type BidItemStatusTypeJson = ClosedEnum; - -/** @internal */ -export const BidItemStatusTypeJson$inboundSchema: z.ZodNativeEnum< - typeof BidItemStatusTypeJson -> = z.nativeEnum(BidItemStatusTypeJson); diff --git a/packages/typescript/src/models/components/bidstatustype.ts b/packages/typescript/src/models/components/bidstatustype.ts new file mode 100644 index 000000000..3399062e0 --- /dev/null +++ b/packages/typescript/src/models/components/bidstatustype.ts @@ -0,0 +1,24 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Bid stay type. + */ +export const BidStatusType = { + InProgress: "in_progress", + Attached: "attached", + Deleted: "deleted", +} as const; +/** + * Bid stay type. + */ +export type BidStatusType = ClosedEnum; + +/** @internal */ +export const BidStatusType$inboundSchema: z.ZodNativeEnum< + typeof BidStatusType +> = z.nativeEnum(BidStatusType); diff --git a/packages/typescript/src/models/components/bidstatustypejson.ts b/packages/typescript/src/models/components/bidstatustypejson.ts deleted file mode 100644 index 26923b768..000000000 --- a/packages/typescript/src/models/components/bidstatustypejson.ts +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Bid stay type. - */ -export const BidStatusTypeJson = { - InProgress: "in_progress", - Attached: "attached", - Deleted: "deleted", -} as const; -/** - * Bid stay type. - */ -export type BidStatusTypeJson = ClosedEnum; - -/** @internal */ -export const BidStatusTypeJson$inboundSchema: z.ZodNativeEnum< - typeof BidStatusTypeJson -> = z.nativeEnum(BidStatusTypeJson); diff --git a/packages/typescript/src/models/components/bidstaytype.ts b/packages/typescript/src/models/components/bidstaytype.ts new file mode 100644 index 000000000..5709e00d0 --- /dev/null +++ b/packages/typescript/src/models/components/bidstaytype.ts @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Bid stay type. + */ +export const BidStayType = { + Daily: "daily", + Extended: "extended", +} as const; +/** + * Bid stay type. + */ +export type BidStayType = ClosedEnum; + +/** @internal */ +export const BidStayType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(BidStayType); diff --git a/packages/typescript/src/models/components/bidstaytypejson.ts b/packages/typescript/src/models/components/bidstaytypejson.ts deleted file mode 100644 index d23f60636..000000000 --- a/packages/typescript/src/models/components/bidstaytypejson.ts +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Bid stay type. - */ -export const BidStayTypeJson = { - Daily: "daily", - Extended: "extended", -} as const; -/** - * Bid stay type. - */ -export type BidStayTypeJson = ClosedEnum; - -/** @internal */ -export const BidStayTypeJson$inboundSchema: z.ZodNativeEnum< - typeof BidStayTypeJson -> = z.nativeEnum(BidStayTypeJson); diff --git a/packages/typescript/src/models/components/billingdetails1.ts b/packages/typescript/src/models/components/billingdetails1.ts new file mode 100644 index 000000000..f8c245c5e --- /dev/null +++ b/packages/typescript/src/models/components/billingdetails1.ts @@ -0,0 +1,58 @@ +/* + * 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 { RebateType, RebateType$inboundSchema } from "./rebatetype.js"; + +/** + * Billing details for RFP. + */ +export type BillingDetails1 = { + /** + * Information regarding billing. + */ + additionalInformation?: string | undefined; + /** + * Concessions and contractual information. + */ + concessionsContractualInfo?: string | undefined; + /** + * Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will represent a percentage. + */ + rebateType?: RebateType | undefined; + /** + * True indicates that rebates and incentives are accepted, applicable only for citywide RFPs. + */ + acceptingRebatesAndIncentives: boolean; + /** + * The value of the rebate. The impact of this value on the price is determined by `RebateType`. + */ + rebateValue?: number | undefined; +}; + +/** @internal */ +export const BillingDetails1$inboundSchema: z.ZodType< + BillingDetails1, + z.ZodTypeDef, + unknown +> = z.object({ + additionalInformation: z.string().optional(), + concessionsContractualInfo: z.string().optional(), + rebateType: RebateType$inboundSchema.optional(), + acceptingRebatesAndIncentives: z.boolean().default(true), + rebateValue: z.number().optional(), +}); + +export function billingDetails1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BillingDetails1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BillingDetails1' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/billingdetailsjson0.ts b/packages/typescript/src/models/components/billingdetailsjson0.ts deleted file mode 100644 index 5f9bbf056..000000000 --- a/packages/typescript/src/models/components/billingdetailsjson0.ts +++ /dev/null @@ -1,61 +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 { - RebateTypeJson, - RebateTypeJson$inboundSchema, -} from "./rebatetypejson.js"; - -/** - * Billing details for RFP. - */ -export type BillingDetailsJson0 = { - /** - * Information regarding billing. - */ - additionalInformation?: string | undefined; - /** - * Concessions and contractual information. - */ - concessionsContractualInfo?: string | undefined; - /** - * Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will represent a percentage. - */ - rebateType?: RebateTypeJson | undefined; - /** - * True indicates that rebates and incentives are accepted, applicable only for citywide RFPs. - */ - acceptingRebatesAndIncentives: boolean; - /** - * The value of the rebate. The impact of this value on the price is determined by `RebateType`. - */ - rebateValue?: number | undefined; -}; - -/** @internal */ -export const BillingDetailsJson0$inboundSchema: z.ZodType< - BillingDetailsJson0, - z.ZodTypeDef, - unknown -> = z.object({ - additionalInformation: z.string().optional(), - concessionsContractualInfo: z.string().optional(), - rebateType: RebateTypeJson$inboundSchema.optional(), - acceptingRebatesAndIncentives: z.boolean().default(true), - rebateValue: z.number().optional(), -}); - -export function billingDetailsJson0FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => BillingDetailsJson0$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'BillingDetailsJson0' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/boothstaffrequest.ts b/packages/typescript/src/models/components/boothstaffrequest.ts index b32deb13d..c33afc9fd 100644 --- a/packages/typescript/src/models/components/boothstaffrequest.ts +++ b/packages/typescript/src/models/components/boothstaffrequest.ts @@ -4,15 +4,11 @@ import * as z from "zod/v3"; import { - Attendee11, - Attendee11$Outbound, - Attendee11$outboundSchema, -} from "./attendee11.js"; -import { - Event21, - Event21$Outbound, - Event21$outboundSchema, -} from "./event21.js"; + Attendee12, + Attendee12$Outbound, + Attendee12$outboundSchema, +} from "./attendee12.js"; +import { Event3, Event3$Outbound, Event3$outboundSchema } from "./event3.js"; import { Exhibitor, Exhibitor$Outbound, @@ -26,11 +22,11 @@ export type BoothStaffRequest = { /** * The associated Attendee. */ - attendee: Attendee11; + attendee: Attendee12; /** * The Associated Event. */ - event: Event21; + event: Event3; /** * The Associated Exhibitor. */ @@ -39,8 +35,8 @@ export type BoothStaffRequest = { /** @internal */ export type BoothStaffRequest$Outbound = { - attendee: Attendee11$Outbound; - event: Event21$Outbound; + attendee: Attendee12$Outbound; + event: Event3$Outbound; exhibitor: Exhibitor$Outbound; }; @@ -50,8 +46,8 @@ export const BoothStaffRequest$outboundSchema: z.ZodType< z.ZodTypeDef, BoothStaffRequest > = z.object({ - attendee: Attendee11$outboundSchema, - event: Event21$outboundSchema, + attendee: Attendee12$outboundSchema, + event: Event3$outboundSchema, exhibitor: Exhibitor$outboundSchema, }); diff --git a/packages/typescript/src/models/components/boothstaffresponse.ts b/packages/typescript/src/models/components/boothstaffresponse.ts index 25d96ce7d..a1878a6ab 100644 --- a/packages/typescript/src/models/components/boothstaffresponse.ts +++ b/packages/typescript/src/models/components/boothstaffresponse.ts @@ -6,8 +6,8 @@ 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 { Attendee11, Attendee11$inboundSchema } from "./attendee11.js"; -import { Event21, Event21$inboundSchema } from "./event21.js"; +import { Attendee12, Attendee12$inboundSchema } from "./attendee12.js"; +import { Event3, Event3$inboundSchema } from "./event3.js"; import { Exhibitor, Exhibitor$inboundSchema } from "./exhibitor.js"; /** @@ -33,11 +33,11 @@ export type BoothStaffResponse = { /** * The associated Attendee. */ - attendee: Attendee11; + attendee: Attendee12; /** * The Associated Event. */ - event: Event21; + event: Event3; /** * The Associated Exhibitor. */ @@ -61,8 +61,8 @@ export const BoothStaffResponse$inboundSchema: z.ZodType< new Date(v) ).optional(), lastModifiedBy: z.string().optional(), - attendee: Attendee11$inboundSchema, - event: Event21$inboundSchema, + attendee: Attendee12$inboundSchema, + event: Event3$inboundSchema, exhibitor: Exhibitor$inboundSchema, id: z.string().optional(), }); diff --git a/packages/typescript/src/models/components/bouncedetailsjson.ts b/packages/typescript/src/models/components/bouncedetailsjson.ts index bd85f224d..c0417c594 100644 --- a/packages/typescript/src/models/components/bouncedetailsjson.ts +++ b/packages/typescript/src/models/components/bouncedetailsjson.ts @@ -7,9 +7,9 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - EmailTypeJson3, - EmailTypeJson3$inboundSchema, -} from "./emailtypejson3.js"; + EmailTypeJson1, + EmailTypeJson1$inboundSchema, +} from "./emailtypejson1.js"; import { ProductLineJson, ProductLineJson$inboundSchema, @@ -59,7 +59,7 @@ export type BounceDetailsJson = { /** * Denotes the type of the email. */ - emailType?: EmailTypeJson3 | undefined; + emailType?: EmailTypeJson1 | undefined; /** * Unique ID of the email. */ @@ -87,7 +87,7 @@ export const BounceDetailsJson$inboundSchema: z.ZodType< subject: z.string().optional(), productLine: ProductLineJson$inboundSchema.optional(), productId: z.string().optional(), - emailType: EmailTypeJson3$inboundSchema.optional(), + emailType: EmailTypeJson1$inboundSchema.optional(), emailId: z.string().optional(), created: z.string().datetime({ offset: true }).transform(v => new Date(v)) .optional(), diff --git a/packages/typescript/src/models/components/bouncedetailsresponse.ts b/packages/typescript/src/models/components/bouncedetailsresponse.ts index be41c12df..266b98a9b 100644 --- a/packages/typescript/src/models/components/bouncedetailsresponse.ts +++ b/packages/typescript/src/models/components/bouncedetailsresponse.ts @@ -11,9 +11,9 @@ import { BounceDetailsJson$inboundSchema, } from "./bouncedetailsjson.js"; import { - PagingNoTotalCountJson2, - PagingNoTotalCountJson2$inboundSchema, -} from "./pagingnototalcountjson2.js"; + PagingNoTotalCountJson, + PagingNoTotalCountJson$inboundSchema, +} from "./pagingnototalcountjson.js"; /** * The response from a request to get the bounce details of an email. This includes paging object @@ -22,7 +22,7 @@ export type BounceDetailsResponse = { /** * Represents pagination information for a collection of resources. */ - paging: PagingNoTotalCountJson2; + paging: PagingNoTotalCountJson; /** * Bounce details. */ @@ -35,7 +35,7 @@ export const BounceDetailsResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingNoTotalCountJson2$inboundSchema, + paging: PagingNoTotalCountJson$inboundSchema, data: z.array(BounceDetailsJson$inboundSchema), }); diff --git a/packages/typescript/src/models/components/brand.ts b/packages/typescript/src/models/components/brand.ts index 06ac6958c..88aff45d0 100644 --- a/packages/typescript/src/models/components/brand.ts +++ b/packages/typescript/src/models/components/brand.ts @@ -6,7 +6,7 @@ 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 { AddressJson3, AddressJson3$inboundSchema } from "./addressjson3.js"; +import { AddressJson1, AddressJson1$inboundSchema } from "./addressjson1.js"; /** * Brand details. @@ -39,7 +39,7 @@ export type Brand = { /** * A physical address. */ - address?: AddressJson3 | undefined; + address?: AddressJson1 | undefined; /** * True indicates the brand is deleted. */ @@ -58,7 +58,7 @@ export const Brand$inboundSchema: z.ZodType = z lastModifiedBy: z.string().optional(), id: z.string().optional(), name: z.string().optional(), - address: AddressJson3$inboundSchema.optional(), + address: AddressJson1$inboundSchema.optional(), deleted: z.boolean().default(false), }); diff --git a/packages/typescript/src/models/components/bridegroomtype.ts b/packages/typescript/src/models/components/bridegroomtype.ts new file mode 100644 index 000000000..3adabec50 --- /dev/null +++ b/packages/typescript/src/models/components/bridegroomtype.ts @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * BrideGroomType + */ +export const BrideGroomType = { + Bride: "BRIDE", + Groom: "GROOM", +} as const; +/** + * BrideGroomType + */ +export type BrideGroomType = ClosedEnum; + +/** @internal */ +export const BrideGroomType$inboundSchema: z.ZodNativeEnum< + typeof BrideGroomType +> = z.nativeEnum(BrideGroomType); diff --git a/packages/typescript/src/models/components/bridegroomtypejson0.ts b/packages/typescript/src/models/components/bridegroomtypejson0.ts deleted file mode 100644 index 41ad62763..000000000 --- a/packages/typescript/src/models/components/bridegroomtypejson0.ts +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Bride groom type. - */ -export const BrideGroomTypeJson0 = { - Bride: "BRIDE", - Groom: "GROOM", -} as const; -/** - * Bride groom type. - */ -export type BrideGroomTypeJson0 = ClosedEnum; - -/** @internal */ -export const BrideGroomTypeJson0$inboundSchema: z.ZodNativeEnum< - typeof BrideGroomTypeJson0 -> = z.nativeEnum(BrideGroomTypeJson0); diff --git a/packages/typescript/src/models/components/businesstype.ts b/packages/typescript/src/models/components/businesstype.ts new file mode 100644 index 000000000..d13efb702 --- /dev/null +++ b/packages/typescript/src/models/components/businesstype.ts @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Business type. + */ +export const BusinessType = { + Corporate: "corporate", + Leisure: "leisure", +} as const; +/** + * Business type. + */ +export type BusinessType = ClosedEnum; + +/** @internal */ +export const BusinessType$inboundSchema: z.ZodNativeEnum = + z.nativeEnum(BusinessType); diff --git a/packages/typescript/src/models/components/businesstypejson.ts b/packages/typescript/src/models/components/businesstypejson.ts deleted file mode 100644 index 401cd5d0f..000000000 --- a/packages/typescript/src/models/components/businesstypejson.ts +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Business type. - */ -export const BusinessTypeJson = { - Corporate: "corporate", - Leisure: "leisure", -} as const; -/** - * Business type. - */ -export type BusinessTypeJson = ClosedEnum; - -/** @internal */ -export const BusinessTypeJson$inboundSchema: z.ZodNativeEnum< - typeof BusinessTypeJson -> = z.nativeEnum(BusinessTypeJson); diff --git a/packages/typescript/src/models/components/cancellationdetails.ts b/packages/typescript/src/models/components/cancellationdetails.ts new file mode 100644 index 000000000..0eb624358 --- /dev/null +++ b/packages/typescript/src/models/components/cancellationdetails.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"; +import { + CancelledReason1, + CancelledReason1$inboundSchema, +} from "./cancelledreason1.js"; + +/** + * Information about cancellation of RFP. + */ +export type CancellationDetails = { + /** + * The ISO 8601 date time (in UTC) when RFP was cancelled. + */ + dateTime?: Date | undefined; + /** + * Reason for cancelling the RFP. + */ + reason?: CancelledReason1 | undefined; + /** + * Additional comments while cancelling the RFP. + */ + comments?: string | undefined; +}; + +/** @internal */ +export const CancellationDetails$inboundSchema: z.ZodType< + CancellationDetails, + z.ZodTypeDef, + unknown +> = z.object({ + dateTime: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + reason: CancelledReason1$inboundSchema.optional(), + comments: z.string().optional(), +}); + +export function cancellationDetailsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CancellationDetails$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CancellationDetails' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/cancellationdetailsjson.ts b/packages/typescript/src/models/components/cancellationdetailsjson.ts deleted file mode 100644 index 18468210f..000000000 --- a/packages/typescript/src/models/components/cancellationdetailsjson.ts +++ /dev/null @@ -1,52 +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 { - CancelledReasonJson0, - CancelledReasonJson0$inboundSchema, -} from "./cancelledreasonjson0.js"; - -/** - * Information about cancellation of RFP. - */ -export type CancellationDetailsJson = { - /** - * The ISO 8601 date time (in UTC) when RFP was cancelled. - */ - dateTime?: Date | undefined; - /** - * Reason for cancelling the RFP. - */ - reason?: CancelledReasonJson0 | undefined; - /** - * Additional comments while cancelling the RFP. - */ - comments?: string | undefined; -}; - -/** @internal */ -export const CancellationDetailsJson$inboundSchema: z.ZodType< - CancellationDetailsJson, - z.ZodTypeDef, - unknown -> = z.object({ - dateTime: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - reason: CancelledReasonJson0$inboundSchema.optional(), - comments: z.string().optional(), -}); - -export function cancellationDetailsJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CancellationDetailsJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CancellationDetailsJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/cancelledreason1.ts b/packages/typescript/src/models/components/cancelledreason1.ts new file mode 100644 index 000000000..e5e4ba6ee --- /dev/null +++ b/packages/typescript/src/models/components/cancelledreason1.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"; + +/** + * Reason for cancelling the RFP. + */ +export const CancelledReason1 = { + BookedAnotherVenueOrDestination: "BOOKED_ANOTHER_VENUE_OR_DESTINATION", + ClientBookedDirectly: "CLIENT_BOOKED_DIRECTLY", + EpidemicOrPandemic: "EPIDEMIC_OR_PANDEMIC", + EventCancelled: "EVENT_CANCELLED", + EventPostponed: "EVENT_POSTPONED", + MedicalEmergency: "MEDICAL_EMERGENCY", + NaturalDisaster: "NATURAL_DISASTER", + Other: "OTHER", + PoliticalOrCivilUnrest: "POLITICAL_OR_CIVIL_UNREST", + RequirementsChanged: "REQUIREMENTS_CHANGED", +} as const; +/** + * Reason for cancelling the RFP. + */ +export type CancelledReason1 = ClosedEnum; + +/** @internal */ +export const CancelledReason1$inboundSchema: z.ZodNativeEnum< + typeof CancelledReason1 +> = z.nativeEnum(CancelledReason1); diff --git a/packages/typescript/src/models/components/cancelledreasonjson0.ts b/packages/typescript/src/models/components/cancelledreasonjson0.ts deleted file mode 100644 index 36fc42d00..000000000 --- a/packages/typescript/src/models/components/cancelledreasonjson0.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Reason for cancelling the RFP. - */ -export const CancelledReasonJson0 = { - BookedAnotherVenueOrDestination: "BOOKED_ANOTHER_VENUE_OR_DESTINATION", - ClientBookedDirectly: "CLIENT_BOOKED_DIRECTLY", - EpidemicOrPandemic: "EPIDEMIC_OR_PANDEMIC", - EventCancelled: "EVENT_CANCELLED", - EventPostponed: "EVENT_POSTPONED", - MedicalEmergency: "MEDICAL_EMERGENCY", - NaturalDisaster: "NATURAL_DISASTER", - Other: "OTHER", - PoliticalOrCivilUnrest: "POLITICAL_OR_CIVIL_UNREST", - RequirementsChanged: "REQUIREMENTS_CHANGED", -} as const; -/** - * Reason for cancelling the RFP. - */ -export type CancelledReasonJson0 = ClosedEnum; - -/** @internal */ -export const CancelledReasonJson0$inboundSchema: z.ZodNativeEnum< - typeof CancelledReasonJson0 -> = z.nativeEnum(CancelledReasonJson0); diff --git a/packages/typescript/src/models/components/category.ts b/packages/typescript/src/models/components/category.ts new file mode 100644 index 000000000..3e57dd581 --- /dev/null +++ b/packages/typescript/src/models/components/category.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"; + +/** + * A question category. + */ +export type Category = { + /** + * Text field ID. + */ + id?: string | undefined; + /** + * Text value of the field. Displays to users in the UI. + */ + text?: string | undefined; + /** + * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. + */ + shortText?: string | undefined; + /** + * True indicates the category is mandatory for answer. + */ + required: boolean; +}; + +/** @internal */ +export const Category$inboundSchema: z.ZodType< + Category, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + text: z.string().optional(), + shortText: z.string().optional(), + required: z.boolean().default(false), +}); + +export function categoryFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Category$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Category' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/categoryidnamejson.ts b/packages/typescript/src/models/components/categoryidnamejson.ts deleted file mode 100644 index 41eb1ee50..000000000 --- a/packages/typescript/src/models/components/categoryidnamejson.ts +++ /dev/null @@ -1,64 +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"; - -/** - * A defined speaker category. - */ -export type CategoryIdNameJson = { - /** - * A string that has to be a format matching the industry standard uuid - */ - id: string; - /** - * The name of the speaker category - */ - name?: string | undefined; -}; - -/** @internal */ -export const CategoryIdNameJson$inboundSchema: z.ZodType< - CategoryIdNameJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - name: z.string().optional(), -}); -/** @internal */ -export type CategoryIdNameJson$Outbound = { - id: string; - name?: string | undefined; -}; - -/** @internal */ -export const CategoryIdNameJson$outboundSchema: z.ZodType< - CategoryIdNameJson$Outbound, - z.ZodTypeDef, - CategoryIdNameJson -> = z.object({ - id: z.string(), - name: z.string().optional(), -}); - -export function categoryIdNameJsonToJSON( - categoryIdNameJson: CategoryIdNameJson, -): string { - return JSON.stringify( - CategoryIdNameJson$outboundSchema.parse(categoryIdNameJson), - ); -} -export function categoryIdNameJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CategoryIdNameJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CategoryIdNameJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/categoryitemscostjson.ts b/packages/typescript/src/models/components/categoryitemscostjson.ts index 3824e1c7a..41b138165 100644 --- a/packages/typescript/src/models/components/categoryitemscostjson.ts +++ b/packages/typescript/src/models/components/categoryitemscostjson.ts @@ -7,11 +7,11 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - CategoryJson1, - CategoryJson1$inboundSchema, - CategoryJson1$Outbound, - CategoryJson1$outboundSchema, -} from "./categoryjson1.js"; + CategoryJson, + CategoryJson$inboundSchema, + CategoryJson$Outbound, + CategoryJson$outboundSchema, +} from "./categoryjson.js"; /** * Category items cost. DEPRECATED - This field is deprecated. Only applied to proposals made by vendors, and the vendor marketplace is sunset. @@ -30,7 +30,7 @@ export type CategoryItemsCostJson = { /** * List of categories. */ - categories?: Array | undefined; + categories?: Array | undefined; }; /** @internal */ @@ -41,13 +41,13 @@ export const CategoryItemsCostJson$inboundSchema: z.ZodType< > = z.object({ notes: z.string().optional(), totalCost: z.number().optional(), - categories: z.array(CategoryJson1$inboundSchema).optional(), + categories: z.array(CategoryJson$inboundSchema).optional(), }); /** @internal */ export type CategoryItemsCostJson$Outbound = { notes?: string | undefined; totalCost?: number | undefined; - categories?: Array | undefined; + categories?: Array | undefined; }; /** @internal */ @@ -58,7 +58,7 @@ export const CategoryItemsCostJson$outboundSchema: z.ZodType< > = z.object({ notes: z.string().optional(), totalCost: z.number().optional(), - categories: z.array(CategoryJson1$outboundSchema).optional(), + categories: z.array(CategoryJson$outboundSchema).optional(), }); export function categoryItemsCostJsonToJSON( diff --git a/packages/typescript/src/models/components/categoryjson.ts b/packages/typescript/src/models/components/categoryjson.ts index 261b80f4f..adca59813 100644 --- a/packages/typescript/src/models/components/categoryjson.ts +++ b/packages/typescript/src/models/components/categoryjson.ts @@ -6,27 +6,33 @@ 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 { + ItemJson, + ItemJson$inboundSchema, + ItemJson$Outbound, + ItemJson$outboundSchema, +} from "./itemjson.js"; /** - * A question category. + * A category of items. */ export type CategoryJson = { /** - * Text field ID. + * The category type. */ - id?: string | undefined; + type?: string | undefined; /** - * Text value of the field. Displays to users in the UI. + * The name of the category. */ - text?: string | undefined; + name?: string | undefined; /** - * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. + * Total cost for all items within this category. */ - shortText?: string | undefined; + totalCost?: number | undefined; /** - * True indicates the category is mandatory for answer. + * List of items in this category. */ - required: boolean; + items?: Array | undefined; }; /** @internal */ @@ -35,12 +41,34 @@ export const CategoryJson$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - id: z.string().optional(), - text: z.string().optional(), - shortText: z.string().optional(), - required: z.boolean().default(false), + type: z.string().optional(), + name: z.string().optional(), + totalCost: z.number().optional(), + items: z.array(ItemJson$inboundSchema).optional(), +}); +/** @internal */ +export type CategoryJson$Outbound = { + type?: string | undefined; + name?: string | undefined; + totalCost?: number | undefined; + items?: Array | undefined; +}; + +/** @internal */ +export const CategoryJson$outboundSchema: z.ZodType< + CategoryJson$Outbound, + z.ZodTypeDef, + CategoryJson +> = z.object({ + type: z.string().optional(), + name: z.string().optional(), + totalCost: z.number().optional(), + items: z.array(ItemJson$outboundSchema).optional(), }); +export function categoryJsonToJSON(categoryJson: CategoryJson): string { + return JSON.stringify(CategoryJson$outboundSchema.parse(categoryJson)); +} export function categoryJsonFromJSON( jsonString: string, ): SafeParseResult { diff --git a/packages/typescript/src/models/components/categoryjson1.ts b/packages/typescript/src/models/components/categoryjson1.ts index cafd5d652..830b071f0 100644 --- a/packages/typescript/src/models/components/categoryjson1.ts +++ b/packages/typescript/src/models/components/categoryjson1.ts @@ -6,33 +6,27 @@ 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 { - ItemJson, - ItemJson$inboundSchema, - ItemJson$Outbound, - ItemJson$outboundSchema, -} from "./itemjson.js"; /** - * A category of items. + * A survey category. */ export type CategoryJson1 = { /** - * The category type. + * Text field ID. */ - type?: string | undefined; + id?: string | undefined; /** - * The name of the category. + * text Value of the Field */ - name?: string | undefined; + text?: string | undefined; /** - * Total cost for all items within this category. + * Reporting value of the Category, Its like a custom abbreviation */ - totalCost?: number | undefined; + shortText?: string | undefined; /** - * List of items in this category. + * is the category mandatory for answer */ - items?: Array | undefined; + required: boolean; }; /** @internal */ @@ -41,34 +35,12 @@ export const CategoryJson1$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - type: z.string().optional(), - name: z.string().optional(), - totalCost: z.number().optional(), - items: z.array(ItemJson$inboundSchema).optional(), -}); -/** @internal */ -export type CategoryJson1$Outbound = { - type?: string | undefined; - name?: string | undefined; - totalCost?: number | undefined; - items?: Array | undefined; -}; - -/** @internal */ -export const CategoryJson1$outboundSchema: z.ZodType< - CategoryJson1$Outbound, - z.ZodTypeDef, - CategoryJson1 -> = z.object({ - type: z.string().optional(), - name: z.string().optional(), - totalCost: z.number().optional(), - items: z.array(ItemJson$outboundSchema).optional(), + id: z.string().optional(), + text: z.string().optional(), + shortText: z.string().optional(), + required: z.boolean().default(false), }); -export function categoryJson1ToJSON(categoryJson1: CategoryJson1): string { - return JSON.stringify(CategoryJson1$outboundSchema.parse(categoryJson1)); -} export function categoryJson1FromJSON( jsonString: string, ): SafeParseResult { diff --git a/packages/typescript/src/models/components/categoryjson2.ts b/packages/typescript/src/models/components/categoryjson2.ts deleted file mode 100644 index 682abd3db..000000000 --- a/packages/typescript/src/models/components/categoryjson2.ts +++ /dev/null @@ -1,52 +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"; - -/** - * A survey category. - */ -export type CategoryJson2 = { - /** - * Text field ID. - */ - id?: string | undefined; - /** - * text Value of the Field - */ - text?: string | undefined; - /** - * Reporting value of the Category, Its like a custom abbreviation - */ - shortText?: string | undefined; - /** - * is the category mandatory for answer - */ - required: boolean; -}; - -/** @internal */ -export const CategoryJson2$inboundSchema: z.ZodType< - CategoryJson2, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - text: z.string().optional(), - shortText: z.string().optional(), - required: z.boolean().default(false), -}); - -export function categoryJson2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CategoryJson2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CategoryJson2' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/chain.ts b/packages/typescript/src/models/components/chain.ts index 0020decca..fbc7f7757 100644 --- a/packages/typescript/src/models/components/chain.ts +++ b/packages/typescript/src/models/components/chain.ts @@ -6,7 +6,7 @@ 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 { AddressJson3, AddressJson3$inboundSchema } from "./addressjson3.js"; +import { AddressJson1, AddressJson1$inboundSchema } from "./addressjson1.js"; /** * The brand that the chain belongs to. @@ -57,7 +57,7 @@ export type Chain = { /** * A physical address. */ - address?: AddressJson3 | undefined; + address?: AddressJson1 | undefined; /** * True indicates the chain is deleted. */ @@ -97,7 +97,7 @@ export const Chain$inboundSchema: z.ZodType = z name: z.string().optional(), code: z.string().optional(), brand: z.lazy(() => ChainBrand$inboundSchema).optional(), - address: AddressJson3$inboundSchema.optional(), + address: AddressJson1$inboundSchema.optional(), deleted: z.boolean().default(false), }); diff --git a/packages/typescript/src/models/components/choice.ts b/packages/typescript/src/models/components/choice.ts index aaef4b288..1baeb89c7 100644 --- a/packages/typescript/src/models/components/choice.ts +++ b/packages/typescript/src/models/components/choice.ts @@ -8,19 +8,23 @@ import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** - * A schema representing a choice object + * A question choice. */ export type Choice = { /** - * Unique identifier for the choice + * Text field ID. */ id?: string | undefined; /** - * Text value of the field + * Text value of the field. Displays to users in the UI. */ text?: string | undefined; /** - * Label of choice + * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. + */ + shortText?: string | undefined; + /** + * Label of choice. */ label?: string | undefined; }; @@ -30,6 +34,7 @@ export const Choice$inboundSchema: z.ZodType = z .object({ id: z.string().optional(), text: z.string().optional(), + shortText: z.string().optional(), label: z.string().optional(), }); diff --git a/packages/typescript/src/models/components/choice1.ts b/packages/typescript/src/models/components/choice1.ts new file mode 100644 index 000000000..657fd2319 --- /dev/null +++ b/packages/typescript/src/models/components/choice1.ts @@ -0,0 +1,44 @@ +/* + * 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 schema representing a choice object + */ +export type Choice1 = { + /** + * Unique identifier for the choice + */ + id?: string | undefined; + /** + * Text value of the field + */ + text?: string | undefined; + /** + * Label of choice + */ + label?: string | undefined; +}; + +/** @internal */ +export const Choice1$inboundSchema: z.ZodType = + z.object({ + id: z.string().optional(), + text: z.string().optional(), + label: z.string().optional(), + }); + +export function choice1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Choice1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Choice1' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/choicejson.ts b/packages/typescript/src/models/components/choicejson.ts deleted file mode 100644 index d5c8bcd58..000000000 --- a/packages/typescript/src/models/components/choicejson.ts +++ /dev/null @@ -1,52 +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"; - -/** - * A question choice. - */ -export type ChoiceJson = { - /** - * Text field ID. - */ - id?: string | undefined; - /** - * Text value of the field. Displays to users in the UI. - */ - text?: string | undefined; - /** - * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. - */ - shortText?: string | undefined; - /** - * Label of choice. - */ - label?: string | undefined; -}; - -/** @internal */ -export const ChoiceJson$inboundSchema: z.ZodType< - ChoiceJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - text: z.string().optional(), - shortText: z.string().optional(), - label: z.string().optional(), -}); - -export function choiceJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ChoiceJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ChoiceJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/choicejson1.ts b/packages/typescript/src/models/components/choicejson1.ts new file mode 100644 index 000000000..7e8f64da9 --- /dev/null +++ b/packages/typescript/src/models/components/choicejson1.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"; + +/** + * A survey choice. + */ +export type ChoiceJson1 = { + /** + * Text field ID. + */ + id?: string | undefined; + /** + * text Value of the Field + */ + text?: string | undefined; + /** + * Reporting value of the Category, Its like a custom abbreviation + */ + shortText?: string | undefined; + /** + * Label of choice + */ + label?: string | undefined; +}; + +/** @internal */ +export const ChoiceJson1$inboundSchema: z.ZodType< + ChoiceJson1, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + text: z.string().optional(), + shortText: z.string().optional(), + label: z.string().optional(), +}); + +export function choiceJson1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ChoiceJson1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ChoiceJson1' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/choicejson2.ts b/packages/typescript/src/models/components/choicejson2.ts index f8199e5f5..e0117b543 100644 --- a/packages/typescript/src/models/components/choicejson2.ts +++ b/packages/typescript/src/models/components/choicejson2.ts @@ -8,25 +8,17 @@ import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** - * A survey choice. + * This is used to denote the choice of custom field. */ export type ChoiceJson2 = { /** - * Text field ID. + * The ID of the custom field choice. If you supply the choice's existing ID in a PUT call, the choice keeps its current ID and the choice text is updated. If this `id` field is left blank in a PUT call, this choice text will be replaced with the text supplied, and a new choice ID is created. */ id?: string | undefined; /** - * text Value of the Field + * The text for the custom field choice. */ - text?: string | undefined; - /** - * Reporting value of the Category, Its like a custom abbreviation - */ - shortText?: string | undefined; - /** - * Label of choice - */ - label?: string | undefined; + text: string; }; /** @internal */ @@ -36,9 +28,7 @@ export const ChoiceJson2$inboundSchema: z.ZodType< unknown > = z.object({ id: z.string().optional(), - text: z.string().optional(), - shortText: z.string().optional(), - label: z.string().optional(), + text: z.string(), }); export function choiceJson2FromJSON( diff --git a/packages/typescript/src/models/components/choicejson2input.ts b/packages/typescript/src/models/components/choicejson2input.ts new file mode 100644 index 000000000..b555d11b3 --- /dev/null +++ b/packages/typescript/src/models/components/choicejson2input.ts @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; + +/** + * This is used to denote the choice of custom field. + */ +export type ChoiceJson2Input = { + /** + * The text for the custom field choice. + */ + text: string; +}; + +/** @internal */ +export type ChoiceJson2Input$Outbound = { + text: string; +}; + +/** @internal */ +export const ChoiceJson2Input$outboundSchema: z.ZodType< + ChoiceJson2Input$Outbound, + z.ZodTypeDef, + ChoiceJson2Input +> = z.object({ + text: z.string(), +}); + +export function choiceJson2InputToJSON( + choiceJson2Input: ChoiceJson2Input, +): string { + return JSON.stringify( + ChoiceJson2Input$outboundSchema.parse(choiceJson2Input), + ); +} diff --git a/packages/typescript/src/models/components/choicejson3.ts b/packages/typescript/src/models/components/choicejson3.ts deleted file mode 100644 index 592a8e7dc..000000000 --- a/packages/typescript/src/models/components/choicejson3.ts +++ /dev/null @@ -1,42 +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"; - -/** - * This is used to denote the choice of custom field. - */ -export type ChoiceJson3 = { - /** - * The ID of the custom field choice. If you supply the choice's existing ID in a PUT call, the choice keeps its current ID and the choice text is updated. If this `id` field is left blank in a PUT call, this choice text will be replaced with the text supplied, and a new choice ID is created. - */ - id?: string | undefined; - /** - * The text for the custom field choice. - */ - text: string; -}; - -/** @internal */ -export const ChoiceJson3$inboundSchema: z.ZodType< - ChoiceJson3, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - text: z.string(), -}); - -export function choiceJson3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ChoiceJson3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ChoiceJson3' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/choicejson3input.ts b/packages/typescript/src/models/components/choicejson3input.ts deleted file mode 100644 index e10942092..000000000 --- a/packages/typescript/src/models/components/choicejson3input.ts +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; - -/** - * This is used to denote the choice of custom field. - */ -export type ChoiceJson3Input = { - /** - * The text for the custom field choice. - */ - text: string; -}; - -/** @internal */ -export type ChoiceJson3Input$Outbound = { - text: string; -}; - -/** @internal */ -export const ChoiceJson3Input$outboundSchema: z.ZodType< - ChoiceJson3Input$Outbound, - z.ZodTypeDef, - ChoiceJson3Input -> = z.object({ - text: z.string(), -}); - -export function choiceJson3InputToJSON( - choiceJson3Input: ChoiceJson3Input, -): string { - return JSON.stringify( - ChoiceJson3Input$outboundSchema.parse(choiceJson3Input), - ); -} diff --git a/packages/typescript/src/models/components/choicesortorder.ts b/packages/typescript/src/models/components/choicesortorder.ts new file mode 100644 index 000000000..58d57663b --- /dev/null +++ b/packages/typescript/src/models/components/choicesortorder.ts @@ -0,0 +1,24 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: Sorted in the order they were added, oldest choices first. `Random`: Random sort. + */ +export const ChoiceSortOrder = { + AToZ: "AToZ", + AsEntered: "AsEntered", + Random: "Random", +} as const; +/** + * The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: Sorted in the order they were added, oldest choices first. `Random`: Random sort. + */ +export type ChoiceSortOrder = ClosedEnum; + +/** @internal */ +export const ChoiceSortOrder$inboundSchema: z.ZodNativeEnum< + typeof ChoiceSortOrder +> = z.nativeEnum(ChoiceSortOrder); diff --git a/packages/typescript/src/models/components/choicesortorderjson.ts b/packages/typescript/src/models/components/choicesortorderjson.ts deleted file mode 100644 index df2774bd6..000000000 --- a/packages/typescript/src/models/components/choicesortorderjson.ts +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: Sorted in the order they were added, oldest choices first. `Random`: Random sort. - */ -export const ChoiceSortOrderJson = { - AToZ: "AToZ", - AsEntered: "AsEntered", - Random: "Random", -} as const; -/** - * The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: Sorted in the order they were added, oldest choices first. `Random`: Random sort. - */ -export type ChoiceSortOrderJson = ClosedEnum; - -/** @internal */ -export const ChoiceSortOrderJson$inboundSchema: z.ZodNativeEnum< - typeof ChoiceSortOrderJson -> = z.nativeEnum(ChoiceSortOrderJson); diff --git a/packages/typescript/src/models/components/commenttype.ts b/packages/typescript/src/models/components/commenttype.ts new file mode 100644 index 000000000..f3ce2eadf --- /dev/null +++ b/packages/typescript/src/models/components/commenttype.ts @@ -0,0 +1,25 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Bid comment type + */ +export const CommentType = { + Promotions: "promotions", + SpecialOffers: "special_offers", + ChildPolicies: "child_policies", + OtherInformation: "other_information", + InternalComments: "internal_comments", +} as const; +/** + * Bid comment type + */ +export type CommentType = ClosedEnum; + +/** @internal */ +export const CommentType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(CommentType); diff --git a/packages/typescript/src/models/components/commenttypejson.ts b/packages/typescript/src/models/components/commenttypejson.ts deleted file mode 100644 index 329ce6fa0..000000000 --- a/packages/typescript/src/models/components/commenttypejson.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Bid comment type - */ -export const CommentTypeJson = { - Promotions: "promotions", - SpecialOffers: "special_offers", - ChildPolicies: "child_policies", - OtherInformation: "other_information", - InternalComments: "internal_comments", -} as const; -/** - * Bid comment type - */ -export type CommentTypeJson = ClosedEnum; - -/** @internal */ -export const CommentTypeJson$inboundSchema: z.ZodNativeEnum< - typeof CommentTypeJson -> = z.nativeEnum(CommentTypeJson); diff --git a/packages/typescript/src/models/components/communicationlogmessagejson.ts b/packages/typescript/src/models/components/communicationlogmessagejson.ts index 0c5473a4c..9da5e9f6e 100644 --- a/packages/typescript/src/models/components/communicationlogmessagejson.ts +++ b/packages/typescript/src/models/components/communicationlogmessagejson.ts @@ -29,7 +29,7 @@ import { CommunicationLogMessageTypeJson, CommunicationLogMessageTypeJson$inboundSchema, } from "./communicationlogmessagetypejson.js"; -import { QuestionJson1, QuestionJson1$inboundSchema } from "./questionjson1.js"; +import { QuestionJson, QuestionJson$inboundSchema } from "./questionjson.js"; import { SessionQaActionTypeJson, SessionQaActionTypeJson$inboundSchema, @@ -57,7 +57,7 @@ export type SessionQaMessage = { /** * Question details */ - question: QuestionJson1; + question: QuestionJson; }; /** @@ -147,7 +147,7 @@ export const SessionQaMessage$inboundSchema: z.ZodType< > = z.object({ actionType: SessionQaActionTypeJson$inboundSchema, attendee: AttendeeJson$inboundSchema, - question: QuestionJson1$inboundSchema, + question: QuestionJson$inboundSchema, }); export function sessionQaMessageFromJSON( diff --git a/packages/typescript/src/models/components/compliance.ts b/packages/typescript/src/models/components/compliance.ts index a3a9e9b0d..f48bc4595 100644 --- a/packages/typescript/src/models/components/compliance.ts +++ b/packages/typescript/src/models/components/compliance.ts @@ -11,32 +11,30 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Scope of privacy compliance. */ -export const ComplianceComplianceScope = { +export const ComplianceScope = { Ccpa: "CCPA", } as const; /** * Scope of privacy compliance. */ -export type ComplianceComplianceScope = ClosedEnum< - typeof ComplianceComplianceScope ->; +export type ComplianceScope = ClosedEnum; /** * Action to take for a compliance request. */ -export const ComplianceAction = { +export const Action = { DoNotSell: "DO_NOT_SELL", OkToSell: "OK_TO_SELL", } as const; /** * Action to take for a compliance request. */ -export type ComplianceAction = ClosedEnum; +export type Action = ClosedEnum; /** * Denotes how the compliance request was created. */ -export const ComplianceCreatedBy = { +export const CreatedBy = { Attendee: "ATTENDEE", Planner: "PLANNER", Import: "IMPORT", @@ -51,7 +49,7 @@ export const ComplianceCreatedBy = { /** * Denotes how the compliance request was created. */ -export type ComplianceCreatedBy = ClosedEnum; +export type CreatedBy = ClosedEnum; /** * Privacy compliance fields for a contact. @@ -64,31 +62,29 @@ export type Compliance = { /** * Scope of privacy compliance. */ - complianceScope?: ComplianceComplianceScope | undefined; + complianceScope?: ComplianceScope | undefined; /** * Action to take for a compliance request. */ - action?: ComplianceAction | undefined; + action?: Action | undefined; /** * Denotes how the compliance request was created. */ - createdBy?: ComplianceCreatedBy | undefined; + createdBy?: CreatedBy | undefined; }; /** @internal */ -export const ComplianceComplianceScope$inboundSchema: z.ZodNativeEnum< - typeof ComplianceComplianceScope -> = z.nativeEnum(ComplianceComplianceScope); +export const ComplianceScope$inboundSchema: z.ZodNativeEnum< + typeof ComplianceScope +> = z.nativeEnum(ComplianceScope); /** @internal */ -export const ComplianceAction$inboundSchema: z.ZodNativeEnum< - typeof ComplianceAction -> = z.nativeEnum(ComplianceAction); +export const Action$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Action); /** @internal */ -export const ComplianceCreatedBy$inboundSchema: z.ZodNativeEnum< - typeof ComplianceCreatedBy -> = z.nativeEnum(ComplianceCreatedBy); +export const CreatedBy$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(CreatedBy); /** @internal */ export const Compliance$inboundSchema: z.ZodType< @@ -99,9 +95,9 @@ export const Compliance$inboundSchema: z.ZodType< creationTime: z.string().datetime({ offset: true }).transform(v => new Date(v) ).optional(), - complianceScope: ComplianceComplianceScope$inboundSchema.optional(), - action: ComplianceAction$inboundSchema.optional(), - createdBy: ComplianceCreatedBy$inboundSchema.optional(), + complianceScope: ComplianceScope$inboundSchema.optional(), + action: Action$inboundSchema.optional(), + createdBy: CreatedBy$inboundSchema.optional(), }); export function complianceFromJSON( diff --git a/packages/typescript/src/models/components/compliancejson.ts b/packages/typescript/src/models/components/compliancejson.ts deleted file mode 100644 index b3d190c55..000000000 --- a/packages/typescript/src/models/components/compliancejson.ts +++ /dev/null @@ -1,117 +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 { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * Scope of privacy compliance. - */ -export const ComplianceJsonComplianceScope = { - Ccpa: "CCPA", -} as const; -/** - * Scope of privacy compliance. - */ -export type ComplianceJsonComplianceScope = ClosedEnum< - typeof ComplianceJsonComplianceScope ->; - -/** - * Action to take for a compliance request. - */ -export const ComplianceJsonAction = { - DoNotSell: "DO_NOT_SELL", - OkToSell: "OK_TO_SELL", -} as const; -/** - * Action to take for a compliance request. - */ -export type ComplianceJsonAction = ClosedEnum; - -/** - * Denotes how the compliance request was created. - */ -export const ComplianceJsonCreatedBy = { - Attendee: "ATTENDEE", - Planner: "PLANNER", - Import: "IMPORT", - SoapApi: "SOAP_API", - RestApi: "REST_API", - Marketo: "MARKETO", - Saleforce: "SALEFORCE", - VideoCenterMember: "VIDEO_CENTER_MEMBER", - Respondent: "RESPONDENT", - NotSet: "NOT_SET", -} as const; -/** - * Denotes how the compliance request was created. - */ -export type ComplianceJsonCreatedBy = ClosedEnum< - typeof ComplianceJsonCreatedBy ->; - -/** - * Privacy compliance fields for a contact. - */ -export type ComplianceJson = { - /** - * Date-time (in GMT) when privacy compliance details were created for the contact. - */ - creationTime?: Date | undefined; - /** - * Scope of privacy compliance. - */ - complianceScope?: ComplianceJsonComplianceScope | undefined; - /** - * Action to take for a compliance request. - */ - action?: ComplianceJsonAction | undefined; - /** - * Denotes how the compliance request was created. - */ - createdBy?: ComplianceJsonCreatedBy | undefined; -}; - -/** @internal */ -export const ComplianceJsonComplianceScope$inboundSchema: z.ZodNativeEnum< - typeof ComplianceJsonComplianceScope -> = z.nativeEnum(ComplianceJsonComplianceScope); - -/** @internal */ -export const ComplianceJsonAction$inboundSchema: z.ZodNativeEnum< - typeof ComplianceJsonAction -> = z.nativeEnum(ComplianceJsonAction); - -/** @internal */ -export const ComplianceJsonCreatedBy$inboundSchema: z.ZodNativeEnum< - typeof ComplianceJsonCreatedBy -> = z.nativeEnum(ComplianceJsonCreatedBy); - -/** @internal */ -export const ComplianceJson$inboundSchema: z.ZodType< - ComplianceJson, - z.ZodTypeDef, - unknown -> = z.object({ - creationTime: z.string().datetime({ offset: true }).transform(v => - new Date(v) - ).optional(), - complianceScope: ComplianceJsonComplianceScope$inboundSchema.optional(), - action: ComplianceJsonAction$inboundSchema.optional(), - createdBy: ComplianceJsonCreatedBy$inboundSchema.optional(), -}); - -export function complianceJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ComplianceJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ComplianceJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/contact.ts b/packages/typescript/src/models/components/contact.ts index 76cb2c3f9..c5bfd8b69 100644 --- a/packages/typescript/src/models/components/contact.ts +++ b/packages/typescript/src/models/components/contact.ts @@ -8,31 +8,22 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { RFCDate } from "../../types/rfcdate.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { AddressJson, AddressJson$inboundSchema } from "./addressjson.js"; +import { Address, Address$inboundSchema } from "./address.js"; +import { AddressType, AddressType$inboundSchema } from "./addresstype.js"; import { - AddressTypeJson, - AddressTypeJson$inboundSchema, -} from "./addresstypejson.js"; + AttendeeContactType, + AttendeeContactType$inboundSchema, +} from "./attendeecontacttype.js"; +import { Compliance, Compliance$inboundSchema } from "./compliance.js"; +import { ContactLinks, ContactLinks$inboundSchema } from "./contactlinks.js"; import { - AttendeeContactTypeJson, - AttendeeContactTypeJson$inboundSchema, -} from "./attendeecontacttypejson.js"; -import { - ComplianceJson, - ComplianceJson$inboundSchema, -} from "./compliancejson.js"; -import { - ContactLinksJson, - ContactLinksJson$inboundSchema, -} from "./contactlinksjson.js"; + ContactMembership, + ContactMembership$inboundSchema, +} from "./contactmembership.js"; +import { ContactOptOut, ContactOptOut$inboundSchema } from "./contactoptout.js"; import { CustomField, CustomField$inboundSchema } from "./customfield.js"; -import { GenderJson, GenderJson$inboundSchema } from "./genderjson.js"; -import { - MembershipJson, - MembershipJson$inboundSchema, -} from "./membershipjson.js"; -import { OptOutJson, OptOutJson$inboundSchema } from "./optoutjson.js"; -import { PassportJson, PassportJson$inboundSchema } from "./passportjson.js"; +import { Gender, Gender$inboundSchema } from "./gender.js"; +import { Passport, Passport$inboundSchema } from "./passport.js"; /** * Event ID @@ -91,7 +82,7 @@ export type Contact = { /** * The gender of the contact. */ - gender?: GenderJson | undefined; + gender?: Gender | undefined; /** * The company/organization the contact belongs to. */ @@ -107,19 +98,19 @@ export type Contact = { /** * Contains details related to the attendee's contact type. */ - type?: AttendeeContactTypeJson | undefined; + type?: AttendeeContactType | undefined; /** * Contact Membership information */ - membership?: MembershipJson | undefined; + membership?: ContactMembership | undefined; /** * The type of address. */ - primaryAddressType?: AddressTypeJson | undefined; + primaryAddressType?: AddressType | undefined; /** * Contact address details. */ - homeAddress?: AddressJson | undefined; + homeAddress?: Address | undefined; /** * The phone number of the contact at their place of residence. */ @@ -131,7 +122,7 @@ export type Contact = { /** * Contact address details. */ - workAddress?: AddressJson | undefined; + workAddress?: Address | undefined; /** * The phone number of the contact at their place of work. */ @@ -155,7 +146,7 @@ export type Contact = { /** * Detail related to compliance with the contact's privacy rights under various legislation. */ - compliance?: Array | undefined; + compliance?: Array | undefined; /** * Denotes what is traditionally a title of an individual. */ @@ -175,7 +166,7 @@ export type Contact = { /** * Details of an opt-out for a Contact. */ - optOut?: OptOutJson | undefined; + optOut?: ContactOptOut | undefined; /** * Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. */ @@ -183,7 +174,7 @@ export type Contact = { /** * Collection of social media links for the contact. */ - links?: ContactLinksJson | undefined; + links?: ContactLinks | undefined; /** * The date of birth of the contact. * @@ -205,7 +196,7 @@ export type Contact = { /** * This entity represents a contact's passport information. */ - passport?: PassportJson | undefined; + passport?: Passport | undefined; /** * The social security number of the contact. * @@ -287,33 +278,33 @@ export const Contact$inboundSchema: z.ZodType = nickname: z.string().optional(), email: z.string().optional(), ccEmail: z.string().optional(), - gender: GenderJson$inboundSchema.optional(), + gender: Gender$inboundSchema.optional(), company: z.string().optional(), designation: z.string().optional(), title: z.string().optional(), - type: AttendeeContactTypeJson$inboundSchema.optional(), - membership: MembershipJson$inboundSchema.optional(), - primaryAddressType: AddressTypeJson$inboundSchema.optional(), - homeAddress: AddressJson$inboundSchema.optional(), + type: AttendeeContactType$inboundSchema.optional(), + membership: ContactMembership$inboundSchema.optional(), + primaryAddressType: AddressType$inboundSchema.optional(), + homeAddress: Address$inboundSchema.optional(), homePhone: z.string().optional(), homeFax: z.string().optional(), - workAddress: AddressJson$inboundSchema.optional(), + workAddress: Address$inboundSchema.optional(), workPhone: z.string().optional(), workFax: z.string().optional(), customFields: z.array(CustomField$inboundSchema).optional(), sourceId: z.string().optional(), mobilePhone: z.string().optional(), - compliance: z.array(ComplianceJson$inboundSchema).optional(), + compliance: z.array(Compliance$inboundSchema).optional(), prefix: z.string().optional(), pager: z.string().optional(), deleted: z.boolean().default(false), purged: z.boolean().default(false), - optOut: OptOutJson$inboundSchema.optional(), + optOut: ContactOptOut$inboundSchema.optional(), npi: z.string().optional(), - _links: ContactLinksJson$inboundSchema.optional(), + _links: ContactLinks$inboundSchema.optional(), dateOfBirth: z.string().transform(v => new RFCDate(v)).optional(), passportNumber: z.string().optional(), - passport: PassportJson$inboundSchema.optional(), + passport: Passport$inboundSchema.optional(), socialSecurityNumber: z.string().optional(), nationalIdentificationNumber: z.string().optional(), headline: z.string().optional(), diff --git a/packages/typescript/src/models/components/contact1.ts b/packages/typescript/src/models/components/contact1.ts new file mode 100644 index 000000000..6e441e3f6 --- /dev/null +++ b/packages/typescript/src/models/components/contact1.ts @@ -0,0 +1,87 @@ +/* + * 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 { Address1, Address1$inboundSchema } from "./address1.js"; +import { + ContactMethods, + ContactMethods$inboundSchema, +} from "./contactmethods.js"; + +/** + * Contact details of planner. + */ +export type Contact1 = { + /** + * The first name of the planner. + */ + firstName: string; + /** + * The last name of the planner. + */ + lastName: string; + /** + * Email address of the planner. + */ + email: string; + /** + * Address details. + */ + address?: Address1 | undefined; + /** + * Rate of commission chargeable by the planner. Precision up to 2 decimal places is accepted. + */ + commissionRate?: number | undefined; + /** + * True indicates commission is to be charged from supplier. + */ + commissionable?: boolean | undefined; + /** + * Phone number of the planner. + */ + phone: string; + /** + * Name of the organization. + */ + organizationName: string; + /** + * True indicates planner is a third party planner. + */ + thirdPartyPlanner?: boolean | undefined; + /** + * List of preferred contact methods for the planner. + */ + preferredContactMethods?: Array | undefined; +}; + +/** @internal */ +export const Contact1$inboundSchema: z.ZodType< + Contact1, + z.ZodTypeDef, + unknown +> = z.object({ + firstName: z.string(), + lastName: z.string(), + email: z.string(), + address: Address1$inboundSchema.optional(), + commissionRate: z.number().optional(), + commissionable: z.boolean().optional(), + phone: z.string(), + organizationName: z.string(), + thirdPartyPlanner: z.boolean().optional(), + preferredContactMethods: z.array(ContactMethods$inboundSchema).optional(), +}); + +export function contact1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Contact1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Contact1' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/contact2.ts b/packages/typescript/src/models/components/contact2.ts new file mode 100644 index 000000000..b22cfade8 --- /dev/null +++ b/packages/typescript/src/models/components/contact2.ts @@ -0,0 +1,37 @@ +/* + * 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"; + +/** + * The contact details who watched a video + */ +export type Contact2 = { + /** + * The unique ID of the contact who watched a video. + */ + id?: string | undefined; +}; + +/** @internal */ +export const Contact2$inboundSchema: z.ZodType< + Contact2, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function contact2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Contact2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Contact2' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/contactbulkitemjson.ts b/packages/typescript/src/models/components/contactbulkitemjson.ts deleted file mode 100644 index 68b232e1a..000000000 --- a/packages/typescript/src/models/components/contactbulkitemjson.ts +++ /dev/null @@ -1,73 +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 { - ErrorResponse1, - ErrorResponse1$inboundSchema, -} from "./errorresponse1.js"; -import { ZeroAllOf7, ZeroAllOf7$inboundSchema } from "./zeroallof7.js"; - -export type ContactBulkItemJsonData = ErrorResponse1 | ZeroAllOf7; - -/** - * This entity is used to represent a single item that is returned as part of a Bulk request call. - */ -export type ContactBulkItemJson = { - data: ErrorResponse1 | ZeroAllOf7; - /** - * http status code representing processing status of a single item - */ - status: number; - /** - * Quick description of what happened with processing - */ - message?: string | undefined; - /** - * The processed request tied to this response. This field is only sent when processing fails. - */ - request?: { [k: string]: any } | undefined; -}; - -/** @internal */ -export const ContactBulkItemJsonData$inboundSchema: z.ZodType< - ContactBulkItemJsonData, - z.ZodTypeDef, - unknown -> = z.union([ErrorResponse1$inboundSchema, ZeroAllOf7$inboundSchema]); - -export function contactBulkItemJsonDataFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ContactBulkItemJsonData$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ContactBulkItemJsonData' from JSON`, - ); -} - -/** @internal */ -export const ContactBulkItemJson$inboundSchema: z.ZodType< - ContactBulkItemJson, - z.ZodTypeDef, - unknown -> = z.object({ - data: z.union([ErrorResponse1$inboundSchema, ZeroAllOf7$inboundSchema]), - status: z.number().int(), - message: z.string().optional(), - request: z.record(z.any()).optional(), -}); - -export function contactBulkItemJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ContactBulkItemJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ContactBulkItemJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/contactbulkresponseitem.ts b/packages/typescript/src/models/components/contactbulkresponseitem.ts new file mode 100644 index 000000000..07756e5d6 --- /dev/null +++ b/packages/typescript/src/models/components/contactbulkresponseitem.ts @@ -0,0 +1,73 @@ +/* + * 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 { Contact, Contact$inboundSchema } from "./contact.js"; +import { + ErrorResponse1, + ErrorResponse1$inboundSchema, +} from "./errorresponse1.js"; + +export type ContactBulkResponseItemData = ErrorResponse1 | Contact; + +/** + * This entity is used to represent a single item that is returned as part of a Bulk request call. + */ +export type ContactBulkResponseItem = { + data: ErrorResponse1 | Contact; + /** + * http status code representing processing status of a single item + */ + status: number; + /** + * Quick description of what happened with processing + */ + message?: string | undefined; + /** + * The processed request tied to this response. This field is only sent when processing fails. + */ + request?: { [k: string]: any } | undefined; +}; + +/** @internal */ +export const ContactBulkResponseItemData$inboundSchema: z.ZodType< + ContactBulkResponseItemData, + z.ZodTypeDef, + unknown +> = z.union([ErrorResponse1$inboundSchema, Contact$inboundSchema]); + +export function contactBulkResponseItemDataFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ContactBulkResponseItemData$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ContactBulkResponseItemData' from JSON`, + ); +} + +/** @internal */ +export const ContactBulkResponseItem$inboundSchema: z.ZodType< + ContactBulkResponseItem, + z.ZodTypeDef, + unknown +> = z.object({ + data: z.union([ErrorResponse1$inboundSchema, Contact$inboundSchema]), + status: z.number().int(), + message: z.string().optional(), + request: z.record(z.any()).optional(), +}); + +export function contactBulkResponseItemFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ContactBulkResponseItem$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ContactBulkResponseItem' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/contactcreate.ts b/packages/typescript/src/models/components/contactcreate.ts new file mode 100644 index 000000000..50dd36892 --- /dev/null +++ b/packages/typescript/src/models/components/contactcreate.ts @@ -0,0 +1,334 @@ +/* + * 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 { RFCDate } from "../../types/rfcdate.js"; +import { + AddressInput, + AddressInput$Outbound, + AddressInput$outboundSchema, +} from "./addressinput.js"; +import { AddressType, AddressType$outboundSchema } from "./addresstype.js"; +import { + AttendeeContactTypeInput, + AttendeeContactTypeInput$Outbound, + AttendeeContactTypeInput$outboundSchema, +} from "./attendeecontacttypeinput.js"; +import { + ContactLinksInput, + ContactLinksInput$Outbound, + ContactLinksInput$outboundSchema, +} from "./contactlinksinput.js"; +import { + ContactOptOutInput, + ContactOptOutInput$Outbound, + ContactOptOutInput$outboundSchema, +} from "./contactoptoutinput.js"; +import { Gender, Gender$outboundSchema } from "./gender.js"; +import { + PassportInput, + PassportInput$Outbound, + PassportInput$outboundSchema, +} from "./passportinput.js"; + +/** + * Event ID + * + * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible. + */ +export type ContactCreateEvent = { + /** + * ID of the event where the contact was created, applicable when contact snapshot is enabled for an event. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be automatically created through the Add attendees API. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + id?: string | undefined; +}; + +/** + * This entity is used to represent a single item that is posted for a contact create + */ +export type ContactCreate = { + /** + * The first name of the contact. + */ + firstName?: string | undefined; + /** + * The last name of the contact. + */ + lastName?: string | undefined; + /** + * The middle name of the contact. + */ + middleName?: string | undefined; + /** + * The nickname of the contact. + */ + nickname?: string | undefined; + /** + * The email address of the contact. + */ + email?: string | undefined; + /** + * An alternate email address of the contact that can be cc'd on email communications. + */ + ccEmail?: string | undefined; + /** + * The gender of the contact. + */ + gender?: Gender | undefined; + /** + * The company/organization the contact belongs to. + */ + company?: string | undefined; + /** + * The designation of the contact, typically an award or credential. + */ + designation?: string | undefined; + /** + * The job title of the contact. + */ + title?: string | undefined; + /** + * Contains details related to the attendee's contact type. + */ + type?: AttendeeContactTypeInput | undefined; + /** + * The type of address. + */ + primaryAddressType?: AddressType | undefined; + /** + * Contact address details. + */ + homeAddress?: AddressInput | undefined; + /** + * The phone number of the contact at their place of residence. + */ + homePhone?: string | undefined; + /** + * The fax number of the contact at their place of residence. + */ + homeFax?: string | undefined; + /** + * Contact address details. + */ + workAddress?: AddressInput | undefined; + /** + * The phone number of the contact at their place of work. + */ + workPhone?: string | undefined; + /** + * The fax number of the contact at their place of work. + */ + workFax?: string | undefined; + /** + * This is a ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. + */ + sourceId?: string | undefined; + /** + * The contact's mobile phone number. + */ + mobilePhone?: string | undefined; + /** + * Denotes what is traditionally a title of an individual. + */ + prefix?: string | undefined; + /** + * The pager number of the contact. + */ + pager?: string | undefined; + /** + * Details of an opt-out for a Contact. + */ + optOut?: ContactOptOutInput | undefined; + /** + * Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. + */ + npi?: string | undefined; + /** + * Collection of social media links for the contact. + */ + links?: ContactLinksInput | undefined; + /** + * The date of birth of the contact. + * + * @remarks + * + * Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. + */ + dateOfBirth?: RFCDate | undefined; + /** + * The passport number of the contact. + * + * @remarks + * + * Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use the passport.number field. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + passportNumber?: string | undefined; + /** + * This entity represents a contact's passport information. + */ + passport?: PassportInput | undefined; + /** + * The social security number of the contact. + * + * @remarks + * + * Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. + */ + socialSecurityNumber?: string | undefined; + /** + * The national identification number of the contact. + * + * @remarks + * + * Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. + */ + nationalIdentificationNumber?: string | undefined; + /** + * The headline of the contact's profile, which summarizes their professional experience and qualities. + */ + headline?: string | undefined; + /** + * A contact's personal website URL. + */ + personalWebsite?: string | undefined; + /** + * A contact's biographical writeup. + */ + biography?: string | undefined; + /** + * Represents the preferred pronouns of a contact. + */ + pronouns?: string | undefined; + /** + * ID of the parent contact, applicable with contact snapshot. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be automatically created through the Add attendees API. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + parentId?: string | undefined; + /** + * Event ID + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + event?: ContactCreateEvent | undefined; +}; + +/** @internal */ +export type ContactCreateEvent$Outbound = { + id?: string | undefined; +}; + +/** @internal */ +export const ContactCreateEvent$outboundSchema: z.ZodType< + ContactCreateEvent$Outbound, + z.ZodTypeDef, + ContactCreateEvent +> = z.object({ + id: z.string().optional(), +}); + +export function contactCreateEventToJSON( + contactCreateEvent: ContactCreateEvent, +): string { + return JSON.stringify( + ContactCreateEvent$outboundSchema.parse(contactCreateEvent), + ); +} + +/** @internal */ +export type ContactCreate$Outbound = { + firstName?: string | undefined; + lastName?: string | undefined; + middleName?: string | undefined; + nickname?: string | undefined; + email?: string | undefined; + ccEmail?: string | undefined; + gender?: string | undefined; + company?: string | undefined; + designation?: string | undefined; + title?: string | undefined; + type?: AttendeeContactTypeInput$Outbound | undefined; + primaryAddressType?: string | undefined; + homeAddress?: AddressInput$Outbound | undefined; + homePhone?: string | undefined; + homeFax?: string | undefined; + workAddress?: AddressInput$Outbound | undefined; + workPhone?: string | undefined; + workFax?: string | undefined; + sourceId?: string | undefined; + mobilePhone?: string | undefined; + prefix?: string | undefined; + pager?: string | undefined; + optOut?: ContactOptOutInput$Outbound | undefined; + npi?: string | undefined; + _links?: ContactLinksInput$Outbound | undefined; + dateOfBirth?: string | undefined; + passportNumber?: string | undefined; + passport?: PassportInput$Outbound | undefined; + socialSecurityNumber?: string | undefined; + nationalIdentificationNumber?: string | undefined; + headline?: string | undefined; + personalWebsite?: string | undefined; + biography?: string | undefined; + pronouns?: string | undefined; + parentId?: string | undefined; + event?: ContactCreateEvent$Outbound | undefined; +}; + +/** @internal */ +export const ContactCreate$outboundSchema: z.ZodType< + ContactCreate$Outbound, + z.ZodTypeDef, + ContactCreate +> = z.object({ + firstName: z.string().optional(), + lastName: z.string().optional(), + middleName: z.string().optional(), + nickname: z.string().optional(), + email: z.string().optional(), + ccEmail: z.string().optional(), + gender: Gender$outboundSchema.optional(), + company: z.string().optional(), + designation: z.string().optional(), + title: z.string().optional(), + type: AttendeeContactTypeInput$outboundSchema.optional(), + primaryAddressType: AddressType$outboundSchema.optional(), + homeAddress: AddressInput$outboundSchema.optional(), + homePhone: z.string().optional(), + homeFax: z.string().optional(), + workAddress: AddressInput$outboundSchema.optional(), + workPhone: z.string().optional(), + workFax: z.string().optional(), + sourceId: z.string().optional(), + mobilePhone: z.string().optional(), + prefix: z.string().optional(), + pager: z.string().optional(), + optOut: ContactOptOutInput$outboundSchema.optional(), + npi: z.string().optional(), + links: ContactLinksInput$outboundSchema.optional(), + dateOfBirth: z.instanceof(RFCDate).transform(v => v.toString()).optional(), + passportNumber: z.string().optional(), + passport: PassportInput$outboundSchema.optional(), + socialSecurityNumber: z.string().optional(), + nationalIdentificationNumber: z.string().optional(), + headline: z.string().optional(), + personalWebsite: z.string().optional(), + biography: z.string().optional(), + pronouns: z.string().optional(), + parentId: z.string().optional(), + event: z.lazy(() => ContactCreateEvent$outboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + links: "_links", + }); +}); + +export function contactCreateToJSON(contactCreate: ContactCreate): string { + return JSON.stringify(ContactCreate$outboundSchema.parse(contactCreate)); +} diff --git a/packages/typescript/src/models/components/contactcreaterequestjson.ts b/packages/typescript/src/models/components/contactcreaterequestjson.ts deleted file mode 100644 index c96cf7d34..000000000 --- a/packages/typescript/src/models/components/contactcreaterequestjson.ts +++ /dev/null @@ -1,343 +0,0 @@ -/* - * 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 { RFCDate } from "../../types/rfcdate.js"; -import { - AddressJsonInput, - AddressJsonInput$Outbound, - AddressJsonInput$outboundSchema, -} from "./addressjsoninput.js"; -import { - AddressTypeJson, - AddressTypeJson$outboundSchema, -} from "./addresstypejson.js"; -import { - AttendeeContactTypeJsonInput, - AttendeeContactTypeJsonInput$Outbound, - AttendeeContactTypeJsonInput$outboundSchema, -} from "./attendeecontacttypejsoninput.js"; -import { - ContactLinksJsonInput, - ContactLinksJsonInput$Outbound, - ContactLinksJsonInput$outboundSchema, -} from "./contactlinksjsoninput.js"; -import { GenderJson, GenderJson$outboundSchema } from "./genderjson.js"; -import { - OptOutJsonInput, - OptOutJsonInput$Outbound, - OptOutJsonInput$outboundSchema, -} from "./optoutjsoninput.js"; -import { - PassportJsonInput, - PassportJsonInput$Outbound, - PassportJsonInput$outboundSchema, -} from "./passportjsoninput.js"; - -/** - * Event ID - * - * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible. - */ -export type ContactCreateRequestJsonEvent = { - /** - * ID of the event where the contact was created, applicable when contact snapshot is enabled for an event. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be automatically created through the Add attendees API. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - id?: string | undefined; -}; - -/** - * This entity is used to represent a single item that is posted for a contact create - */ -export type ContactCreateRequestJson = { - /** - * The first name of the contact. - */ - firstName?: string | undefined; - /** - * The last name of the contact. - */ - lastName?: string | undefined; - /** - * The middle name of the contact. - */ - middleName?: string | undefined; - /** - * The nickname of the contact. - */ - nickname?: string | undefined; - /** - * The email address of the contact. - */ - email?: string | undefined; - /** - * An alternate email address of the contact that can be cc'd on email communications. - */ - ccEmail?: string | undefined; - /** - * The gender of the contact. - */ - gender?: GenderJson | undefined; - /** - * The company/organization the contact belongs to. - */ - company?: string | undefined; - /** - * The designation of the contact, typically an award or credential. - */ - designation?: string | undefined; - /** - * The job title of the contact. - */ - title?: string | undefined; - /** - * Contains details related to the attendee's contact type. - */ - type?: AttendeeContactTypeJsonInput | undefined; - /** - * The type of address. - */ - primaryAddressType?: AddressTypeJson | undefined; - /** - * Contact address details. - */ - homeAddress?: AddressJsonInput | undefined; - /** - * The phone number of the contact at their place of residence. - */ - homePhone?: string | undefined; - /** - * The fax number of the contact at their place of residence. - */ - homeFax?: string | undefined; - /** - * Contact address details. - */ - workAddress?: AddressJsonInput | undefined; - /** - * The phone number of the contact at their place of work. - */ - workPhone?: string | undefined; - /** - * The fax number of the contact at their place of work. - */ - workFax?: string | undefined; - /** - * This is a ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. - */ - sourceId?: string | undefined; - /** - * The contact's mobile phone number. - */ - mobilePhone?: string | undefined; - /** - * Denotes what is traditionally a title of an individual. - */ - prefix?: string | undefined; - /** - * The pager number of the contact. - */ - pager?: string | undefined; - /** - * Details of an opt-out for a Contact. - */ - optOut?: OptOutJsonInput | undefined; - /** - * Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. - */ - npi?: string | undefined; - /** - * Collection of social media links for the contact. - */ - links?: ContactLinksJsonInput | undefined; - /** - * The date of birth of the contact. - * - * @remarks - * - * Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. - */ - dateOfBirth?: RFCDate | undefined; - /** - * The passport number of the contact. - * - * @remarks - * - * Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use the passport.number field. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - passportNumber?: string | undefined; - /** - * This entity represents a contact's passport information. - */ - passport?: PassportJsonInput | undefined; - /** - * The social security number of the contact. - * - * @remarks - * - * Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. - */ - socialSecurityNumber?: string | undefined; - /** - * The national identification number of the contact. - * - * @remarks - * - * Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. - */ - nationalIdentificationNumber?: string | undefined; - /** - * The headline of the contact's profile, which summarizes their professional experience and qualities. - */ - headline?: string | undefined; - /** - * A contact's personal website URL. - */ - personalWebsite?: string | undefined; - /** - * A contact's biographical writeup. - */ - biography?: string | undefined; - /** - * Represents the preferred pronouns of a contact. - */ - pronouns?: string | undefined; - /** - * ID of the parent contact, applicable with contact snapshot. This field has been deprecated. If the event has contact snapshot enabled, snapshot will be automatically created through the Add attendees API. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - parentId?: string | undefined; - /** - * Event ID - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - event?: ContactCreateRequestJsonEvent | undefined; -}; - -/** @internal */ -export type ContactCreateRequestJsonEvent$Outbound = { - id?: string | undefined; -}; - -/** @internal */ -export const ContactCreateRequestJsonEvent$outboundSchema: z.ZodType< - ContactCreateRequestJsonEvent$Outbound, - z.ZodTypeDef, - ContactCreateRequestJsonEvent -> = z.object({ - id: z.string().optional(), -}); - -export function contactCreateRequestJsonEventToJSON( - contactCreateRequestJsonEvent: ContactCreateRequestJsonEvent, -): string { - return JSON.stringify( - ContactCreateRequestJsonEvent$outboundSchema.parse( - contactCreateRequestJsonEvent, - ), - ); -} - -/** @internal */ -export type ContactCreateRequestJson$Outbound = { - firstName?: string | undefined; - lastName?: string | undefined; - middleName?: string | undefined; - nickname?: string | undefined; - email?: string | undefined; - ccEmail?: string | undefined; - gender?: string | undefined; - company?: string | undefined; - designation?: string | undefined; - title?: string | undefined; - type?: AttendeeContactTypeJsonInput$Outbound | undefined; - primaryAddressType?: string | undefined; - homeAddress?: AddressJsonInput$Outbound | undefined; - homePhone?: string | undefined; - homeFax?: string | undefined; - workAddress?: AddressJsonInput$Outbound | undefined; - workPhone?: string | undefined; - workFax?: string | undefined; - sourceId?: string | undefined; - mobilePhone?: string | undefined; - prefix?: string | undefined; - pager?: string | undefined; - optOut?: OptOutJsonInput$Outbound | undefined; - npi?: string | undefined; - _links?: ContactLinksJsonInput$Outbound | undefined; - dateOfBirth?: string | undefined; - passportNumber?: string | undefined; - passport?: PassportJsonInput$Outbound | undefined; - socialSecurityNumber?: string | undefined; - nationalIdentificationNumber?: string | undefined; - headline?: string | undefined; - personalWebsite?: string | undefined; - biography?: string | undefined; - pronouns?: string | undefined; - parentId?: string | undefined; - event?: ContactCreateRequestJsonEvent$Outbound | undefined; -}; - -/** @internal */ -export const ContactCreateRequestJson$outboundSchema: z.ZodType< - ContactCreateRequestJson$Outbound, - z.ZodTypeDef, - ContactCreateRequestJson -> = z.object({ - firstName: z.string().optional(), - lastName: z.string().optional(), - middleName: z.string().optional(), - nickname: z.string().optional(), - email: z.string().optional(), - ccEmail: z.string().optional(), - gender: GenderJson$outboundSchema.optional(), - company: z.string().optional(), - designation: z.string().optional(), - title: z.string().optional(), - type: AttendeeContactTypeJsonInput$outboundSchema.optional(), - primaryAddressType: AddressTypeJson$outboundSchema.optional(), - homeAddress: AddressJsonInput$outboundSchema.optional(), - homePhone: z.string().optional(), - homeFax: z.string().optional(), - workAddress: AddressJsonInput$outboundSchema.optional(), - workPhone: z.string().optional(), - workFax: z.string().optional(), - sourceId: z.string().optional(), - mobilePhone: z.string().optional(), - prefix: z.string().optional(), - pager: z.string().optional(), - optOut: OptOutJsonInput$outboundSchema.optional(), - npi: z.string().optional(), - links: ContactLinksJsonInput$outboundSchema.optional(), - dateOfBirth: z.instanceof(RFCDate).transform(v => v.toString()).optional(), - passportNumber: z.string().optional(), - passport: PassportJsonInput$outboundSchema.optional(), - socialSecurityNumber: z.string().optional(), - nationalIdentificationNumber: z.string().optional(), - headline: z.string().optional(), - personalWebsite: z.string().optional(), - biography: z.string().optional(), - pronouns: z.string().optional(), - parentId: z.string().optional(), - event: z.lazy(() => ContactCreateRequestJsonEvent$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - links: "_links", - }); -}); - -export function contactCreateRequestJsonToJSON( - contactCreateRequestJson: ContactCreateRequestJson, -): string { - return JSON.stringify( - ContactCreateRequestJson$outboundSchema.parse(contactCreateRequestJson), - ); -} diff --git a/packages/typescript/src/models/components/contactgroup.ts b/packages/typescript/src/models/components/contactgroup.ts index 4d4ca9814..da60634a9 100644 --- a/packages/typescript/src/models/components/contactgroup.ts +++ b/packages/typescript/src/models/components/contactgroup.ts @@ -7,13 +7,13 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - ContactGroupTypeJson, - ContactGroupTypeJson$inboundSchema, -} from "./contactgrouptypejson.js"; + ContactGroupType, + ContactGroupType$inboundSchema, +} from "./contactgrouptype.js"; import { - DistributionListInfoJson, - DistributionListInfoJson$inboundSchema, -} from "./distributionlistinfojson.js"; + DistributionListInfo, + DistributionListInfo$inboundSchema, +} from "./distributionlistinfo.js"; /** * A group of contacts. @@ -54,7 +54,7 @@ export type ContactGroup = { /** * Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. `STANDARD` is a multi-purpose group for organizing contacts. */ - type: ContactGroupTypeJson; + type: ContactGroupType; /** * Moved to internalNote in the DistributionListInfo object. The note field only applies to Distribution List. * @@ -64,7 +64,7 @@ export type ContactGroup = { /** * Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. */ - distributionListInfo?: DistributionListInfoJson | undefined; + distributionListInfo?: DistributionListInfo | undefined; }; /** @internal */ @@ -84,9 +84,9 @@ export const ContactGroup$inboundSchema: z.ZodType< name: z.string(), shortDescription: z.string().optional(), description: z.string().optional(), - type: ContactGroupTypeJson$inboundSchema.default("STANDARD"), + type: ContactGroupType$inboundSchema.default("STANDARD"), note: z.string().optional(), - distributionListInfo: DistributionListInfoJson$inboundSchema.optional(), + distributionListInfo: DistributionListInfo$inboundSchema.optional(), }); export function contactGroupFromJSON( diff --git a/packages/typescript/src/models/components/contactgroupinput.ts b/packages/typescript/src/models/components/contactgroupinput.ts index 41d770036..a4992730c 100644 --- a/packages/typescript/src/models/components/contactgroupinput.ts +++ b/packages/typescript/src/models/components/contactgroupinput.ts @@ -4,14 +4,14 @@ import * as z from "zod/v3"; import { - ContactGroupTypeJson, - ContactGroupTypeJson$outboundSchema, -} from "./contactgrouptypejson.js"; + ContactGroupType, + ContactGroupType$outboundSchema, +} from "./contactgrouptype.js"; import { - DistributionListInfoJsonInput, - DistributionListInfoJsonInput$Outbound, - DistributionListInfoJsonInput$outboundSchema, -} from "./distributionlistinfojsoninput.js"; + DistributionListInfoInput, + DistributionListInfoInput$Outbound, + DistributionListInfoInput$outboundSchema, +} from "./distributionlistinfoinput.js"; /** * A group of contacts. @@ -32,7 +32,7 @@ export type ContactGroupInput = { /** * Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. `STANDARD` is a multi-purpose group for organizing contacts. */ - type?: ContactGroupTypeJson | undefined; + type?: ContactGroupType | undefined; /** * Moved to internalNote in the DistributionListInfo object. The note field only applies to Distribution List. * @@ -42,7 +42,7 @@ export type ContactGroupInput = { /** * Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. */ - distributionListInfo?: DistributionListInfoJsonInput | undefined; + distributionListInfo?: DistributionListInfoInput | undefined; }; /** @internal */ @@ -52,7 +52,7 @@ export type ContactGroupInput$Outbound = { description?: string | undefined; type: string; note?: string | undefined; - distributionListInfo?: DistributionListInfoJsonInput$Outbound | undefined; + distributionListInfo?: DistributionListInfoInput$Outbound | undefined; }; /** @internal */ @@ -64,9 +64,9 @@ export const ContactGroupInput$outboundSchema: z.ZodType< name: z.string(), shortDescription: z.string().optional(), description: z.string().optional(), - type: ContactGroupTypeJson$outboundSchema.default("STANDARD"), + type: ContactGroupType$outboundSchema.default("STANDARD"), note: z.string().optional(), - distributionListInfo: DistributionListInfoJsonInput$outboundSchema.optional(), + distributionListInfo: DistributionListInfoInput$outboundSchema.optional(), }); export function contactGroupInputToJSON( diff --git a/packages/typescript/src/models/components/contactgrouppaginatedresponse.ts b/packages/typescript/src/models/components/contactgrouppaginatedresponse.ts index 8a5ab079a..6cfa4c1ac 100644 --- a/packages/typescript/src/models/components/contactgrouppaginatedresponse.ts +++ b/packages/typescript/src/models/components/contactgrouppaginatedresponse.ts @@ -7,7 +7,7 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ContactGroup, ContactGroup$inboundSchema } from "./contactgroup.js"; -import { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; /** * The response from a request to get the list of contact groups. This includes the paging object as well as the collection of contact-groups. @@ -16,7 +16,7 @@ export type ContactGroupPaginatedResponse = { /** * Represents pagination information for a collection of resources. */ - paging: PagingJson; + paging: Paging; /** * Collection of contact groups. */ @@ -29,7 +29,7 @@ export const ContactGroupPaginatedResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema, + paging: Paging$inboundSchema, data: z.array(ContactGroup$inboundSchema), }); diff --git a/packages/typescript/src/models/components/contactgrouptype.ts b/packages/typescript/src/models/components/contactgrouptype.ts new file mode 100644 index 000000000..f604f7a30 --- /dev/null +++ b/packages/typescript/src/models/components/contactgrouptype.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"; + +/** + * Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. `STANDARD` is a multi-purpose group for organizing contacts. + */ +export const ContactGroupType = { + Blacklist: "BLACKLIST", + DistributionList: "DISTRIBUTION_LIST", + Standard: "STANDARD", +} as const; +/** + * Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. `STANDARD` is a multi-purpose group for organizing contacts. + */ +export type ContactGroupType = ClosedEnum; + +/** @internal */ +export const ContactGroupType$inboundSchema: z.ZodNativeEnum< + typeof ContactGroupType +> = z.nativeEnum(ContactGroupType); +/** @internal */ +export const ContactGroupType$outboundSchema: z.ZodNativeEnum< + typeof ContactGroupType +> = ContactGroupType$inboundSchema; diff --git a/packages/typescript/src/models/components/contactgrouptypejson.ts b/packages/typescript/src/models/components/contactgrouptypejson.ts deleted file mode 100644 index 8e6f2eaf4..000000000 --- a/packages/typescript/src/models/components/contactgrouptypejson.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. `STANDARD` is a multi-purpose group for organizing contacts. - */ -export const ContactGroupTypeJson = { - Blacklist: "BLACKLIST", - DistributionList: "DISTRIBUTION_LIST", - Standard: "STANDARD", -} as const; -/** - * Type of contact group. `BLACKLIST` are contacts that are not allowed to register for your events. `DISTRIBUTION_LIST` is a group of contacts you plan to send eMarketing emails to. `STANDARD` is a multi-purpose group for organizing contacts. - */ -export type ContactGroupTypeJson = ClosedEnum; - -/** @internal */ -export const ContactGroupTypeJson$inboundSchema: z.ZodNativeEnum< - typeof ContactGroupTypeJson -> = z.nativeEnum(ContactGroupTypeJson); -/** @internal */ -export const ContactGroupTypeJson$outboundSchema: z.ZodNativeEnum< - typeof ContactGroupTypeJson -> = ContactGroupTypeJson$inboundSchema; diff --git a/packages/typescript/src/models/components/contacthistory.ts b/packages/typescript/src/models/components/contacthistory.ts new file mode 100644 index 000000000..b2a9e96bd --- /dev/null +++ b/packages/typescript/src/models/components/contacthistory.ts @@ -0,0 +1,67 @@ +/* + * 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 { + UpdatedThroughNameProperty, + UpdatedThroughNameProperty$inboundSchema, +} from "./updatedthroughnameproperty.js"; + +/** + * A single instance of change for a specific contact in the contact's change history. + */ +export type ContactHistory = { + /** + * The name of a field that was changed and tracked by this single instance of change in contact change history. + */ + updatedFieldName?: string | undefined; + /** + * The old value of a field that was changed. + */ + oldValue?: string | undefined; + /** + * The new value of a field that was changed. + */ + newValue?: string | undefined; + /** + * Name of the place where this change was updated through. + */ + updatedThroughName?: UpdatedThroughNameProperty | undefined; + /** + * The ISO 8601 formatted date-time when the associated contact, of this single instance of change in contact change history, was updated. + */ + updatedDate?: Date | undefined; + /** + * The name of a person who updated a contact that is associated with this single instance of change in contact change history. + */ + updatedBy?: string | undefined; +}; + +/** @internal */ +export const ContactHistory$inboundSchema: z.ZodType< + ContactHistory, + z.ZodTypeDef, + unknown +> = z.object({ + updatedFieldName: z.string().optional(), + oldValue: z.string().optional(), + newValue: z.string().optional(), + updatedThroughName: UpdatedThroughNameProperty$inboundSchema.optional(), + updatedDate: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + updatedBy: z.string().optional(), +}); + +export function contactHistoryFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ContactHistory$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ContactHistory' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/contacthistoryjson.ts b/packages/typescript/src/models/components/contacthistoryjson.ts deleted file mode 100644 index addec2918..000000000 --- a/packages/typescript/src/models/components/contacthistoryjson.ts +++ /dev/null @@ -1,67 +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 { - UpdatedThroughNamePropertyJson, - UpdatedThroughNamePropertyJson$inboundSchema, -} from "./updatedthroughnamepropertyjson.js"; - -/** - * A single instance of change for a specific contact in the contact's change history. - */ -export type ContactHistoryJson = { - /** - * The name of a field that was changed and tracked by this single instance of change in contact change history. - */ - updatedFieldName?: string | undefined; - /** - * The old value of a field that was changed. - */ - oldValue?: string | undefined; - /** - * The new value of a field that was changed. - */ - newValue?: string | undefined; - /** - * Name of the place where this change was updated through. - */ - updatedThroughName?: UpdatedThroughNamePropertyJson | undefined; - /** - * The ISO 8601 formatted date-time when the associated contact, of this single instance of change in contact change history, was updated. - */ - updatedDate?: Date | undefined; - /** - * The name of a person who updated a contact that is associated with this single instance of change in contact change history. - */ - updatedBy?: string | undefined; -}; - -/** @internal */ -export const ContactHistoryJson$inboundSchema: z.ZodType< - ContactHistoryJson, - z.ZodTypeDef, - unknown -> = z.object({ - updatedFieldName: z.string().optional(), - oldValue: z.string().optional(), - newValue: z.string().optional(), - updatedThroughName: UpdatedThroughNamePropertyJson$inboundSchema.optional(), - updatedDate: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - updatedBy: z.string().optional(), -}); - -export function contactHistoryJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ContactHistoryJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ContactHistoryJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/contacthistorypaginatedresponse.ts b/packages/typescript/src/models/components/contacthistorypaginatedresponse.ts index f86be5217..dfa86db38 100644 --- a/packages/typescript/src/models/components/contacthistorypaginatedresponse.ts +++ b/packages/typescript/src/models/components/contacthistorypaginatedresponse.ts @@ -7,10 +7,10 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - ContactHistoryJson, - ContactHistoryJson$inboundSchema, -} from "./contacthistoryjson.js"; -import { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; + ContactHistory, + ContactHistory$inboundSchema, +} from "./contacthistory.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; /** * The response of a request to get the change history for a specific contact. @@ -19,11 +19,11 @@ export type ContactHistoryPaginatedResponse = { /** * Represents pagination information for a collection of resources. */ - paging?: PagingJson | undefined; + paging?: Paging | undefined; /** * Collection of change histories for a specific contact. */ - data?: Array | undefined; + data?: Array | undefined; }; /** @internal */ @@ -32,8 +32,8 @@ export const ContactHistoryPaginatedResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema.optional(), - data: z.array(ContactHistoryJson$inboundSchema).optional(), + paging: Paging$inboundSchema.optional(), + data: z.array(ContactHistory$inboundSchema).optional(), }); export function contactHistoryPaginatedResponseFromJSON( diff --git a/packages/typescript/src/models/components/contactid.ts b/packages/typescript/src/models/components/contactid.ts new file mode 100644 index 000000000..8c009a6b5 --- /dev/null +++ b/packages/typescript/src/models/components/contactid.ts @@ -0,0 +1,37 @@ +/* + * 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 contact id. + */ +export type ContactId = { + /** + * The ID of the contact. + */ + id: string; +}; + +/** @internal */ +export const ContactId$inboundSchema: z.ZodType< + ContactId, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), +}); + +export function contactIdFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ContactId$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ContactId' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/contactidjson.ts b/packages/typescript/src/models/components/contactidjson.ts deleted file mode 100644 index d1900a0a0..000000000 --- a/packages/typescript/src/models/components/contactidjson.ts +++ /dev/null @@ -1,37 +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"; - -/** - * A contact id. - */ -export type ContactIdJson = { - /** - * The ID of the contact. - */ - id: string; -}; - -/** @internal */ -export const ContactIdJson$inboundSchema: z.ZodType< - ContactIdJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), -}); - -export function contactIdJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ContactIdJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ContactIdJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/contactidpaginatedresponse.ts b/packages/typescript/src/models/components/contactidpaginatedresponse.ts index 1078f6f35..1e9ff59a5 100644 --- a/packages/typescript/src/models/components/contactidpaginatedresponse.ts +++ b/packages/typescript/src/models/components/contactidpaginatedresponse.ts @@ -6,8 +6,8 @@ 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 { IdJson, IdJson$inboundSchema } from "./idjson.js"; -import { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; +import { IdOnlyEntity, IdOnlyEntity$inboundSchema } from "./idonlyentity.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; /** * The response from a request to get the ids of contacts in a contact group or relationship. This includes the paging object as well as the collection of contact ids. @@ -16,11 +16,11 @@ export type ContactIdPaginatedResponse = { /** * Represents pagination information for a collection of resources. */ - paging: PagingJson; + paging: Paging; /** * Collection of contact ids. */ - data: Array; + data: Array; }; /** @internal */ @@ -29,8 +29,8 @@ export const ContactIdPaginatedResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema, - data: z.array(IdJson$inboundSchema), + paging: Paging$inboundSchema, + data: z.array(IdOnlyEntity$inboundSchema), }); export function contactIdPaginatedResponseFromJSON( diff --git a/packages/typescript/src/models/components/contactjson.ts b/packages/typescript/src/models/components/contactjson.ts new file mode 100644 index 000000000..4753934f8 --- /dev/null +++ b/packages/typescript/src/models/components/contactjson.ts @@ -0,0 +1,194 @@ +/* + * 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 { + ContactTypeJson, + ContactTypeJson$inboundSchema, + ContactTypeJson$outboundSchema, +} from "./contacttypejson.js"; +import { + CountryJson, + CountryJson$inboundSchema, + CountryJson$outboundSchema, +} from "./countryjson.js"; +import { + StateProvinceJson, + StateProvinceJson$inboundSchema, + StateProvinceJson$outboundSchema, +} from "./stateprovincejson.js"; + +/** + * The contact details. + */ +export type ContactJson = { + /** + * The contact types used for the proposal. + */ + contactType?: ContactTypeJson | undefined; + /** + * The first name of the contact. + */ + firstName?: string | undefined; + /** + * The last name of the contact. + */ + lastName?: string | undefined; + /** + * The URL of the organization's website. + */ + organizationWebsite?: string | undefined; + /** + * The name of the organization. + */ + organization?: string | undefined; + /** + * Designation of the contact. + */ + title?: string | undefined; + /** + * The email address of the contact. + */ + email?: string | undefined; + /** + * The country code for the contact's phone number. + */ + countryCode?: string | undefined; + /** + * The phone number of the organization. + */ + phone?: string | undefined; + /** + * The organization's fax number. + */ + fax?: string | undefined; + /** + * The mobile number of the contact. + */ + mobile?: string | undefined; + /** + * Address line 1 of contact's street address. + */ + streetAddress1?: string | undefined; + /** + * Address line 2 of contact's street address. + */ + streetAddress2?: string | undefined; + /** + * Address line 3 of contact's street address. + */ + streetAddress3?: string | undefined; + /** + * The city of the contact. + */ + city?: string | undefined; + /** + * The state province code used for contact information. + */ + stateProvince?: StateProvinceJson | undefined; + /** + * The postal code of the contact. + */ + postalCode?: string | undefined; + /** + * ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. + */ + country?: CountryJson | undefined; + /** + * Additional notes of the contact. + */ + notes?: string | undefined; +}; + +/** @internal */ +export const ContactJson$inboundSchema: z.ZodType< + ContactJson, + z.ZodTypeDef, + unknown +> = z.object({ + contactType: ContactTypeJson$inboundSchema.default("PRIMARY"), + firstName: z.string().optional(), + lastName: z.string().optional(), + organizationWebsite: z.string().optional(), + organization: z.string().optional(), + title: z.string().optional(), + email: z.string().optional(), + countryCode: z.string().optional(), + phone: z.string().optional(), + fax: z.string().optional(), + mobile: z.string().optional(), + streetAddress1: z.string().optional(), + streetAddress2: z.string().optional(), + streetAddress3: z.string().optional(), + city: z.string().optional(), + stateProvince: StateProvinceJson$inboundSchema.optional(), + postalCode: z.string().optional(), + country: CountryJson$inboundSchema.optional(), + notes: z.string().optional(), +}); +/** @internal */ +export type ContactJson$Outbound = { + contactType: string; + firstName?: string | undefined; + lastName?: string | undefined; + organizationWebsite?: string | undefined; + organization?: string | undefined; + title?: string | undefined; + email?: string | undefined; + countryCode?: string | undefined; + phone?: string | undefined; + fax?: string | undefined; + mobile?: string | undefined; + streetAddress1?: string | undefined; + streetAddress2?: string | undefined; + streetAddress3?: string | undefined; + city?: string | undefined; + stateProvince?: string | undefined; + postalCode?: string | undefined; + country?: string | undefined; + notes?: string | undefined; +}; + +/** @internal */ +export const ContactJson$outboundSchema: z.ZodType< + ContactJson$Outbound, + z.ZodTypeDef, + ContactJson +> = z.object({ + contactType: ContactTypeJson$outboundSchema.default("PRIMARY"), + firstName: z.string().optional(), + lastName: z.string().optional(), + organizationWebsite: z.string().optional(), + organization: z.string().optional(), + title: z.string().optional(), + email: z.string().optional(), + countryCode: z.string().optional(), + phone: z.string().optional(), + fax: z.string().optional(), + mobile: z.string().optional(), + streetAddress1: z.string().optional(), + streetAddress2: z.string().optional(), + streetAddress3: z.string().optional(), + city: z.string().optional(), + stateProvince: StateProvinceJson$outboundSchema.optional(), + postalCode: z.string().optional(), + country: CountryJson$outboundSchema.optional(), + notes: z.string().optional(), +}); + +export function contactJsonToJSON(contactJson: ContactJson): string { + return JSON.stringify(ContactJson$outboundSchema.parse(contactJson)); +} +export function contactJsonFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ContactJson$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ContactJson' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/contactjson0.ts b/packages/typescript/src/models/components/contactjson0.ts deleted file mode 100644 index 690a4ea80..000000000 --- a/packages/typescript/src/models/components/contactjson0.ts +++ /dev/null @@ -1,87 +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 { AddressJson0, AddressJson0$inboundSchema } from "./addressjson0.js"; -import { - ContactMethodsJson, - ContactMethodsJson$inboundSchema, -} from "./contactmethodsjson.js"; - -/** - * Contact details of planner. - */ -export type ContactJson0 = { - /** - * The first name of the planner. - */ - firstName: string; - /** - * The last name of the planner. - */ - lastName: string; - /** - * Email address of the planner. - */ - email: string; - /** - * Address details. - */ - address?: AddressJson0 | undefined; - /** - * Rate of commission chargeable by the planner. Precision up to 2 decimal places is accepted. - */ - commissionRate?: number | undefined; - /** - * True indicates commission is to be charged from supplier. - */ - commissionable?: boolean | undefined; - /** - * Phone number of the planner. - */ - phone: string; - /** - * Name of the organization. - */ - organizationName: string; - /** - * True indicates planner is a third party planner. - */ - thirdPartyPlanner?: boolean | undefined; - /** - * List of preferred contact methods for the planner. - */ - preferredContactMethods?: Array | undefined; -}; - -/** @internal */ -export const ContactJson0$inboundSchema: z.ZodType< - ContactJson0, - z.ZodTypeDef, - unknown -> = z.object({ - firstName: z.string(), - lastName: z.string(), - email: z.string(), - address: AddressJson0$inboundSchema.optional(), - commissionRate: z.number().optional(), - commissionable: z.boolean().optional(), - phone: z.string(), - organizationName: z.string(), - thirdPartyPlanner: z.boolean().optional(), - preferredContactMethods: z.array(ContactMethodsJson$inboundSchema).optional(), -}); - -export function contactJson0FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ContactJson0$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ContactJson0' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/contactjson1.ts b/packages/typescript/src/models/components/contactjson1.ts deleted file mode 100644 index ac2dd74fd..000000000 --- a/packages/typescript/src/models/components/contactjson1.ts +++ /dev/null @@ -1,194 +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 { - ContactTypeJson1, - ContactTypeJson1$inboundSchema, - ContactTypeJson1$outboundSchema, -} from "./contacttypejson1.js"; -import { - CountryJson, - CountryJson$inboundSchema, - CountryJson$outboundSchema, -} from "./countryjson.js"; -import { - StateProvinceJson, - StateProvinceJson$inboundSchema, - StateProvinceJson$outboundSchema, -} from "./stateprovincejson.js"; - -/** - * The contact details. - */ -export type ContactJson1 = { - /** - * The contact types used for the proposal. - */ - contactType?: ContactTypeJson1 | undefined; - /** - * The first name of the contact. - */ - firstName?: string | undefined; - /** - * The last name of the contact. - */ - lastName?: string | undefined; - /** - * The URL of the organization's website. - */ - organizationWebsite?: string | undefined; - /** - * The name of the organization. - */ - organization?: string | undefined; - /** - * Designation of the contact. - */ - title?: string | undefined; - /** - * The email address of the contact. - */ - email?: string | undefined; - /** - * The country code for the contact's phone number. - */ - countryCode?: string | undefined; - /** - * The phone number of the organization. - */ - phone?: string | undefined; - /** - * The organization's fax number. - */ - fax?: string | undefined; - /** - * The mobile number of the contact. - */ - mobile?: string | undefined; - /** - * Address line 1 of contact's street address. - */ - streetAddress1?: string | undefined; - /** - * Address line 2 of contact's street address. - */ - streetAddress2?: string | undefined; - /** - * Address line 3 of contact's street address. - */ - streetAddress3?: string | undefined; - /** - * The city of the contact. - */ - city?: string | undefined; - /** - * The state province code used for contact information. - */ - stateProvince?: StateProvinceJson | undefined; - /** - * The postal code of the contact. - */ - postalCode?: string | undefined; - /** - * ISO 3166 two-letter (alpha-2) country codes with some additional non-standard cvent specific codes. - */ - country?: CountryJson | undefined; - /** - * Additional notes of the contact. - */ - notes?: string | undefined; -}; - -/** @internal */ -export const ContactJson1$inboundSchema: z.ZodType< - ContactJson1, - z.ZodTypeDef, - unknown -> = z.object({ - contactType: ContactTypeJson1$inboundSchema.default("PRIMARY"), - firstName: z.string().optional(), - lastName: z.string().optional(), - organizationWebsite: z.string().optional(), - organization: z.string().optional(), - title: z.string().optional(), - email: z.string().optional(), - countryCode: z.string().optional(), - phone: z.string().optional(), - fax: z.string().optional(), - mobile: z.string().optional(), - streetAddress1: z.string().optional(), - streetAddress2: z.string().optional(), - streetAddress3: z.string().optional(), - city: z.string().optional(), - stateProvince: StateProvinceJson$inboundSchema.optional(), - postalCode: z.string().optional(), - country: CountryJson$inboundSchema.optional(), - notes: z.string().optional(), -}); -/** @internal */ -export type ContactJson1$Outbound = { - contactType: string; - firstName?: string | undefined; - lastName?: string | undefined; - organizationWebsite?: string | undefined; - organization?: string | undefined; - title?: string | undefined; - email?: string | undefined; - countryCode?: string | undefined; - phone?: string | undefined; - fax?: string | undefined; - mobile?: string | undefined; - streetAddress1?: string | undefined; - streetAddress2?: string | undefined; - streetAddress3?: string | undefined; - city?: string | undefined; - stateProvince?: string | undefined; - postalCode?: string | undefined; - country?: string | undefined; - notes?: string | undefined; -}; - -/** @internal */ -export const ContactJson1$outboundSchema: z.ZodType< - ContactJson1$Outbound, - z.ZodTypeDef, - ContactJson1 -> = z.object({ - contactType: ContactTypeJson1$outboundSchema.default("PRIMARY"), - firstName: z.string().optional(), - lastName: z.string().optional(), - organizationWebsite: z.string().optional(), - organization: z.string().optional(), - title: z.string().optional(), - email: z.string().optional(), - countryCode: z.string().optional(), - phone: z.string().optional(), - fax: z.string().optional(), - mobile: z.string().optional(), - streetAddress1: z.string().optional(), - streetAddress2: z.string().optional(), - streetAddress3: z.string().optional(), - city: z.string().optional(), - stateProvince: StateProvinceJson$outboundSchema.optional(), - postalCode: z.string().optional(), - country: CountryJson$outboundSchema.optional(), - notes: z.string().optional(), -}); - -export function contactJson1ToJSON(contactJson1: ContactJson1): string { - return JSON.stringify(ContactJson1$outboundSchema.parse(contactJson1)); -} -export function contactJson1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ContactJson1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ContactJson1' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/contactjson2.ts b/packages/typescript/src/models/components/contactjson2.ts deleted file mode 100644 index 63a833b3e..000000000 --- a/packages/typescript/src/models/components/contactjson2.ts +++ /dev/null @@ -1,37 +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"; - -/** - * The contact details who watched a video - */ -export type ContactJson2 = { - /** - * The unique ID of the contact who watched a video. - */ - id?: string | undefined; -}; - -/** @internal */ -export const ContactJson2$inboundSchema: z.ZodType< - ContactJson2, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function contactJson2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ContactJson2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ContactJson2' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/contactlinksinput.ts b/packages/typescript/src/models/components/contactlinksinput.ts new file mode 100644 index 000000000..5f2d28d05 --- /dev/null +++ b/packages/typescript/src/models/components/contactlinksinput.ts @@ -0,0 +1,50 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { Link, Link$Outbound, Link$outboundSchema } from "./link.js"; + +/** + * Collection of social media links for the contact. + */ +export type ContactLinksInput = { + /** + * Represents a link to a related resource. + */ + twitterUrl?: Link | undefined; + /** + * Represents a link to a related resource. + */ + facebookUrl?: Link | undefined; + /** + * Represents a link to a related resource. + */ + linkedInUrl?: Link | undefined; +}; + +/** @internal */ +export type ContactLinksInput$Outbound = { + twitterUrl?: Link$Outbound | undefined; + facebookUrl?: Link$Outbound | undefined; + linkedInUrl?: Link$Outbound | undefined; +}; + +/** @internal */ +export const ContactLinksInput$outboundSchema: z.ZodType< + ContactLinksInput$Outbound, + z.ZodTypeDef, + ContactLinksInput +> = z.object({ + twitterUrl: Link$outboundSchema.optional(), + facebookUrl: Link$outboundSchema.optional(), + linkedInUrl: Link$outboundSchema.optional(), +}); + +export function contactLinksInputToJSON( + contactLinksInput: ContactLinksInput, +): string { + return JSON.stringify( + ContactLinksInput$outboundSchema.parse(contactLinksInput), + ); +} diff --git a/packages/typescript/src/models/components/contactlinksjson.ts b/packages/typescript/src/models/components/contactlinksjson.ts deleted file mode 100644 index 8387755f5..000000000 --- a/packages/typescript/src/models/components/contactlinksjson.ts +++ /dev/null @@ -1,82 +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 { LinkJson, LinkJson$inboundSchema } from "./linkjson.js"; - -/** - * Reference to a profile picture. - */ -export type ContactLinksJsonLink = { - /** - * The url of the contact's profile picture - */ - href: string; -}; - -/** - * Collection of social media links for the contact. - */ -export type ContactLinksJson = { - /** - * Represents a link to a related resource. - */ - twitterUrl?: LinkJson | undefined; - /** - * Represents a link to a related resource. - */ - facebookUrl?: LinkJson | undefined; - /** - * Represents a link to a related resource. - */ - linkedInUrl?: LinkJson | undefined; - /** - * Reference to a profile picture. - */ - profilePicture?: ContactLinksJsonLink | undefined; -}; - -/** @internal */ -export const ContactLinksJsonLink$inboundSchema: z.ZodType< - ContactLinksJsonLink, - z.ZodTypeDef, - unknown -> = z.object({ - href: z.string(), -}); - -export function contactLinksJsonLinkFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ContactLinksJsonLink$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ContactLinksJsonLink' from JSON`, - ); -} - -/** @internal */ -export const ContactLinksJson$inboundSchema: z.ZodType< - ContactLinksJson, - z.ZodTypeDef, - unknown -> = z.object({ - twitterUrl: LinkJson$inboundSchema.optional(), - facebookUrl: LinkJson$inboundSchema.optional(), - linkedInUrl: LinkJson$inboundSchema.optional(), - profilePicture: z.lazy(() => ContactLinksJsonLink$inboundSchema).optional(), -}); - -export function contactLinksJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ContactLinksJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ContactLinksJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/contactlinksjsoninput.ts b/packages/typescript/src/models/components/contactlinksjsoninput.ts deleted file mode 100644 index 3cb2e8b62..000000000 --- a/packages/typescript/src/models/components/contactlinksjsoninput.ts +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { - LinkJson, - LinkJson$Outbound, - LinkJson$outboundSchema, -} from "./linkjson.js"; - -/** - * Collection of social media links for the contact. - */ -export type ContactLinksJsonInput = { - /** - * Represents a link to a related resource. - */ - twitterUrl?: LinkJson | undefined; - /** - * Represents a link to a related resource. - */ - facebookUrl?: LinkJson | undefined; - /** - * Represents a link to a related resource. - */ - linkedInUrl?: LinkJson | undefined; -}; - -/** @internal */ -export type ContactLinksJsonInput$Outbound = { - twitterUrl?: LinkJson$Outbound | undefined; - facebookUrl?: LinkJson$Outbound | undefined; - linkedInUrl?: LinkJson$Outbound | undefined; -}; - -/** @internal */ -export const ContactLinksJsonInput$outboundSchema: z.ZodType< - ContactLinksJsonInput$Outbound, - z.ZodTypeDef, - ContactLinksJsonInput -> = z.object({ - twitterUrl: LinkJson$outboundSchema.optional(), - facebookUrl: LinkJson$outboundSchema.optional(), - linkedInUrl: LinkJson$outboundSchema.optional(), -}); - -export function contactLinksJsonInputToJSON( - contactLinksJsonInput: ContactLinksJsonInput, -): string { - return JSON.stringify( - ContactLinksJsonInput$outboundSchema.parse(contactLinksJsonInput), - ); -} diff --git a/packages/typescript/src/models/components/contactmembership.ts b/packages/typescript/src/models/components/contactmembership.ts new file mode 100644 index 000000000..8563e8800 --- /dev/null +++ b/packages/typescript/src/models/components/contactmembership.ts @@ -0,0 +1,68 @@ +/* + * 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 { RFCDate } from "../../types/rfcdate.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * Contact Membership information + */ +export type ContactMembership = { + /** + * The type of membership the contact has signed up for. + */ + type?: string | undefined; + /** + * Describes the specific plan the contact has signed up for. + */ + plan?: string | undefined; + /** + * The ISO-8601 formatted date the contact began their membership. + */ + joined?: RFCDate | undefined; + /** + * The ISO-8601 formatted date the contact's membership will expire. + */ + expiration?: RFCDate | undefined; + /** + * The ISO-8601 formatted date the contact last renewed their membership. + */ + lastRenewal?: RFCDate | undefined; + /** + * The amount currently due for this membership. + */ + amountDue?: number | undefined; + /** + * Indicates if the member details should be included in the member directory. + */ + listInDirectory?: boolean | undefined; +}; + +/** @internal */ +export const ContactMembership$inboundSchema: z.ZodType< + ContactMembership, + z.ZodTypeDef, + unknown +> = z.object({ + type: z.string().optional(), + plan: z.string().optional(), + joined: z.string().transform(v => new RFCDate(v)).optional(), + expiration: z.string().transform(v => new RFCDate(v)).optional(), + lastRenewal: z.string().transform(v => new RFCDate(v)).optional(), + amountDue: z.number().optional(), + listInDirectory: z.boolean().optional(), +}); + +export function contactMembershipFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ContactMembership$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ContactMembership' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/contactmerge.ts b/packages/typescript/src/models/components/contactmerge.ts index a57af2e6c..384a14d2e 100644 --- a/packages/typescript/src/models/components/contactmerge.ts +++ b/packages/typescript/src/models/components/contactmerge.ts @@ -4,20 +4,20 @@ import * as z from "zod/v3"; import { - ContactMergeFieldJson, - ContactMergeFieldJson$Outbound, - ContactMergeFieldJson$outboundSchema, -} from "./contactmergefieldjson.js"; + ContactMergeField, + ContactMergeField$Outbound, + ContactMergeField$outboundSchema, +} from "./contactmergefield.js"; import { - EventContactIdJson, - EventContactIdJson$Outbound, - EventContactIdJson$outboundSchema, -} from "./eventcontactidjson.js"; + EventContactId, + EventContactId$Outbound, + EventContactId$outboundSchema, +} from "./eventcontactid.js"; import { - SurveyContactIdJson, - SurveyContactIdJson$Outbound, - SurveyContactIdJson$outboundSchema, -} from "./surveycontactidjson.js"; + SurveyContactId, + SurveyContactId$Outbound, + SurveyContactId$outboundSchema, +} from "./surveycontactid.js"; /** * Represents choices in resolving conflicts in the contacts to be merged or to optionally select fields to keep from a secondary contact, overriding default behavior. @@ -26,11 +26,11 @@ export type ConflictResolution = { /** * For each event (designated by event id), choose a contact id whose linked attendee will be associated with the resulting merged contact. Use whenever at least two contacts exist as attendees in a single event. */ - events?: Array | undefined; + events?: Array | undefined; /** * For each survey (designated by survey id), choose a contact id whose linked respondent will be associated with the resulting merged contact. Use whenever at least two contacts exist as respondents in a single survey. */ - surveys?: Array | undefined; + surveys?: Array | undefined; /** * The id of the contact to keep the relationships of in the resulting merged contact. Only one contact can be chosen, and relationships of the other contact(s) will be discarded. */ @@ -38,7 +38,7 @@ export type ConflictResolution = { /** * Specify which contact to use values from for any contact field. */ - contactFields?: Array | undefined; + contactFields?: Array | undefined; }; /** @@ -57,10 +57,10 @@ export type ContactMerge = { /** @internal */ export type ConflictResolution$Outbound = { - events?: Array | undefined; - surveys?: Array | undefined; + events?: Array | undefined; + surveys?: Array | undefined; relatedContacts?: string | undefined; - contactFields?: Array | undefined; + contactFields?: Array | undefined; }; /** @internal */ @@ -69,10 +69,10 @@ export const ConflictResolution$outboundSchema: z.ZodType< z.ZodTypeDef, ConflictResolution > = z.object({ - events: z.array(EventContactIdJson$outboundSchema).optional(), - surveys: z.array(SurveyContactIdJson$outboundSchema).optional(), + events: z.array(EventContactId$outboundSchema).optional(), + surveys: z.array(SurveyContactId$outboundSchema).optional(), relatedContacts: z.string().optional(), - contactFields: z.array(ContactMergeFieldJson$outboundSchema).optional(), + contactFields: z.array(ContactMergeField$outboundSchema).optional(), }); export function conflictResolutionToJSON( diff --git a/packages/typescript/src/models/components/contactmergefield.ts b/packages/typescript/src/models/components/contactmergefield.ts new file mode 100644 index 000000000..ddbf12c50 --- /dev/null +++ b/packages/typescript/src/models/components/contactmergefield.ts @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; + +/** + * A pair of a contact field name and a contact id. + */ +export type ContactMergeField = { + /** + * The name of a contact field. + */ + fieldName: string; + /** + * ID of the contact. + */ + contactId: string; +}; + +/** @internal */ +export type ContactMergeField$Outbound = { + fieldName: string; + contactId: string; +}; + +/** @internal */ +export const ContactMergeField$outboundSchema: z.ZodType< + ContactMergeField$Outbound, + z.ZodTypeDef, + ContactMergeField +> = z.object({ + fieldName: z.string(), + contactId: z.string(), +}); + +export function contactMergeFieldToJSON( + contactMergeField: ContactMergeField, +): string { + return JSON.stringify( + ContactMergeField$outboundSchema.parse(contactMergeField), + ); +} diff --git a/packages/typescript/src/models/components/contactmergefieldjson.ts b/packages/typescript/src/models/components/contactmergefieldjson.ts deleted file mode 100644 index f5fe6edfe..000000000 --- a/packages/typescript/src/models/components/contactmergefieldjson.ts +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; - -/** - * A pair of a contact field name and a contact id. - */ -export type ContactMergeFieldJson = { - /** - * The name of a contact field. - */ - fieldName: string; - /** - * ID of the contact. - */ - contactId: string; -}; - -/** @internal */ -export type ContactMergeFieldJson$Outbound = { - fieldName: string; - contactId: string; -}; - -/** @internal */ -export const ContactMergeFieldJson$outboundSchema: z.ZodType< - ContactMergeFieldJson$Outbound, - z.ZodTypeDef, - ContactMergeFieldJson -> = z.object({ - fieldName: z.string(), - contactId: z.string(), -}); - -export function contactMergeFieldJsonToJSON( - contactMergeFieldJson: ContactMergeFieldJson, -): string { - return JSON.stringify( - ContactMergeFieldJson$outboundSchema.parse(contactMergeFieldJson), - ); -} diff --git a/packages/typescript/src/models/components/contactmethods.ts b/packages/typescript/src/models/components/contactmethods.ts new file mode 100644 index 000000000..7ba532092 --- /dev/null +++ b/packages/typescript/src/models/components/contactmethods.ts @@ -0,0 +1,26 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Medium for contacting the person. + */ +export const ContactMethods = { + Cvent: "CVENT", + Email: "EMAIL", + Fax: "FAX", + Mobile: "MOBILE", + Phone: "PHONE", +} as const; +/** + * Medium for contacting the person. + */ +export type ContactMethods = ClosedEnum; + +/** @internal */ +export const ContactMethods$inboundSchema: z.ZodNativeEnum< + typeof ContactMethods +> = z.nativeEnum(ContactMethods); diff --git a/packages/typescript/src/models/components/contactmethodsjson.ts b/packages/typescript/src/models/components/contactmethodsjson.ts deleted file mode 100644 index a5284b553..000000000 --- a/packages/typescript/src/models/components/contactmethodsjson.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Medium for contacting the person. - */ -export const ContactMethodsJson = { - Cvent: "CVENT", - Email: "EMAIL", - Fax: "FAX", - Mobile: "MOBILE", - Phone: "PHONE", -} as const; -/** - * Medium for contacting the person. - */ -export type ContactMethodsJson = ClosedEnum; - -/** @internal */ -export const ContactMethodsJson$inboundSchema: z.ZodNativeEnum< - typeof ContactMethodsJson -> = z.nativeEnum(ContactMethodsJson); diff --git a/packages/typescript/src/models/components/contactobfuscationstatus.ts b/packages/typescript/src/models/components/contactobfuscationstatus.ts index fcffbbe0d..720fd3936 100644 --- a/packages/typescript/src/models/components/contactobfuscationstatus.ts +++ b/packages/typescript/src/models/components/contactobfuscationstatus.ts @@ -6,11 +6,11 @@ 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 { ContactIdJson, ContactIdJson$inboundSchema } from "./contactidjson.js"; +import { ContactId, ContactId$inboundSchema } from "./contactid.js"; import { - ContactObfuscationStatusTypeJson, - ContactObfuscationStatusTypeJson$inboundSchema, -} from "./contactobfuscationstatustypejson.js"; + ContactObfuscationStatusType, + ContactObfuscationStatusType$inboundSchema, +} from "./contactobfuscationstatustype.js"; /** * Model representing an obfuscation status of a contact. @@ -31,7 +31,7 @@ export type ContactObfuscationStatus = { * * FAILED - The obfuscation request failed due to an error. */ - status?: ContactObfuscationStatusTypeJson | undefined; + status?: ContactObfuscationStatusType | undefined; /** * The obfuscation job identifier. */ @@ -39,7 +39,7 @@ export type ContactObfuscationStatus = { /** * A contact id. */ - contact?: ContactIdJson | undefined; + contact?: ContactId | undefined; }; /** @internal */ @@ -48,9 +48,9 @@ export const ContactObfuscationStatus$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - status: ContactObfuscationStatusTypeJson$inboundSchema.optional(), + status: ContactObfuscationStatusType$inboundSchema.optional(), obfuscateId: z.string().optional(), - contact: ContactIdJson$inboundSchema.optional(), + contact: ContactId$inboundSchema.optional(), }); export function contactObfuscationStatusFromJSON( diff --git a/packages/typescript/src/models/components/contactobfuscationstatustype.ts b/packages/typescript/src/models/components/contactobfuscationstatustype.ts new file mode 100644 index 000000000..5c6311e41 --- /dev/null +++ b/packages/typescript/src/models/components/contactobfuscationstatustype.ts @@ -0,0 +1,52 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Status of the request to obfuscate a contact. + * + * @remarks + * + * INITIATED - The obfuscation request has been received. + * + * QUEUED - The obfuscation request is currently waiting in the queue to be executed. + * + * PROCESSING - The obfuscation request is currently being processed. + * + * COMPLETED - The obfuscation request is complete. + * + * FAILED - The obfuscation request failed due to an error. + */ +export const ContactObfuscationStatusType = { + Initiated: "INITIATED", + Queued: "QUEUED", + Processing: "PROCESSING", + Completed: "COMPLETED", + Failed: "FAILED", +} as const; +/** + * Status of the request to obfuscate a contact. + * + * @remarks + * + * INITIATED - The obfuscation request has been received. + * + * QUEUED - The obfuscation request is currently waiting in the queue to be executed. + * + * PROCESSING - The obfuscation request is currently being processed. + * + * COMPLETED - The obfuscation request is complete. + * + * FAILED - The obfuscation request failed due to an error. + */ +export type ContactObfuscationStatusType = ClosedEnum< + typeof ContactObfuscationStatusType +>; + +/** @internal */ +export const ContactObfuscationStatusType$inboundSchema: z.ZodNativeEnum< + typeof ContactObfuscationStatusType +> = z.nativeEnum(ContactObfuscationStatusType); diff --git a/packages/typescript/src/models/components/contactobfuscationstatustypejson.ts b/packages/typescript/src/models/components/contactobfuscationstatustypejson.ts deleted file mode 100644 index 350e8a67f..000000000 --- a/packages/typescript/src/models/components/contactobfuscationstatustypejson.ts +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Status of the request to obfuscate a contact. - * - * @remarks - * - * INITIATED - The obfuscation request has been received. - * - * QUEUED - The obfuscation request is currently waiting in the queue to be executed. - * - * PROCESSING - The obfuscation request is currently being processed. - * - * COMPLETED - The obfuscation request is complete. - * - * FAILED - The obfuscation request failed due to an error. - */ -export const ContactObfuscationStatusTypeJson = { - Initiated: "INITIATED", - Queued: "QUEUED", - Processing: "PROCESSING", - Completed: "COMPLETED", - Failed: "FAILED", -} as const; -/** - * Status of the request to obfuscate a contact. - * - * @remarks - * - * INITIATED - The obfuscation request has been received. - * - * QUEUED - The obfuscation request is currently waiting in the queue to be executed. - * - * PROCESSING - The obfuscation request is currently being processed. - * - * COMPLETED - The obfuscation request is complete. - * - * FAILED - The obfuscation request failed due to an error. - */ -export type ContactObfuscationStatusTypeJson = ClosedEnum< - typeof ContactObfuscationStatusTypeJson ->; - -/** @internal */ -export const ContactObfuscationStatusTypeJson$inboundSchema: z.ZodNativeEnum< - typeof ContactObfuscationStatusTypeJson -> = z.nativeEnum(ContactObfuscationStatusTypeJson); diff --git a/packages/typescript/src/models/components/contactoptout.ts b/packages/typescript/src/models/components/contactoptout.ts new file mode 100644 index 000000000..a29f7bb50 --- /dev/null +++ b/packages/typescript/src/models/components/contactoptout.ts @@ -0,0 +1,49 @@ +/* + * 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 { OptoutBy, OptoutBy$inboundSchema } from "./optoutby.js"; + +/** + * Details of an opt-out for a Contact. + */ +export type ContactOptOut = { + /** + * Used to denote if a contact has opted-out of receiving system generated emails. + */ + optedOut: boolean; + /** + * The ISO 8601 zoned date time when this contact was opted-out. This value can change if the contact opts out multiple times. + */ + date?: Date | undefined; + /** + * This is used to denote how a contact is opt'd out of Cvent system. + */ + by?: OptoutBy | undefined; +}; + +/** @internal */ +export const ContactOptOut$inboundSchema: z.ZodType< + ContactOptOut, + z.ZodTypeDef, + unknown +> = z.object({ + optedOut: z.boolean().default(false), + date: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + by: OptoutBy$inboundSchema.optional(), +}); + +export function contactOptOutFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ContactOptOut$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ContactOptOut' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/contactoptoutinput.ts b/packages/typescript/src/models/components/contactoptoutinput.ts new file mode 100644 index 000000000..686ce76a8 --- /dev/null +++ b/packages/typescript/src/models/components/contactoptoutinput.ts @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; + +/** + * Details of an opt-out for a Contact. + */ +export type ContactOptOutInput = { + /** + * Used to denote if a contact has opted-out of receiving system generated emails. + */ + optedOut?: boolean | undefined; +}; + +/** @internal */ +export type ContactOptOutInput$Outbound = { + optedOut: boolean; +}; + +/** @internal */ +export const ContactOptOutInput$outboundSchema: z.ZodType< + ContactOptOutInput$Outbound, + z.ZodTypeDef, + ContactOptOutInput +> = z.object({ + optedOut: z.boolean().default(false), +}); + +export function contactOptOutInputToJSON( + contactOptOutInput: ContactOptOutInput, +): string { + return JSON.stringify( + ContactOptOutInput$outboundSchema.parse(contactOptOutInput), + ); +} diff --git a/packages/typescript/src/models/components/contactpaginatedresponse.ts b/packages/typescript/src/models/components/contactpaginatedresponse.ts index 9f2477620..34043a159 100644 --- a/packages/typescript/src/models/components/contactpaginatedresponse.ts +++ b/packages/typescript/src/models/components/contactpaginatedresponse.ts @@ -6,8 +6,8 @@ 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 { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; -import { ZeroAllOf7, ZeroAllOf7$inboundSchema } from "./zeroallof7.js"; +import { Contact, Contact$inboundSchema } from "./contact.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; /** * The response from a request to get the list of contacts. This includes the paging object as well as the collection of contacts. @@ -16,11 +16,11 @@ export type ContactPaginatedResponse = { /** * Represents pagination information for a collection of resources. */ - paging: PagingJson; + paging: Paging; /** * Collection of contacts. */ - data: Array; + data: Array; }; /** @internal */ @@ -29,8 +29,8 @@ export const ContactPaginatedResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema, - data: z.array(ZeroAllOf7$inboundSchema), + paging: Paging$inboundSchema, + data: z.array(Contact$inboundSchema), }); export function contactPaginatedResponseFromJSON( diff --git a/packages/typescript/src/models/components/contactpatch.ts b/packages/typescript/src/models/components/contactpatch.ts index 0fba4a60b..5db514b16 100644 --- a/packages/typescript/src/models/components/contactpatch.ts +++ b/packages/typescript/src/models/components/contactpatch.ts @@ -5,29 +5,26 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../../lib/primitives.js"; import { - AddressJsonInput, - AddressJsonInput$Outbound, - AddressJsonInput$outboundSchema, -} from "./addressjsoninput.js"; + AddressInput, + AddressInput$Outbound, + AddressInput$outboundSchema, +} from "./addressinput.js"; +import { AddressType, AddressType$outboundSchema } from "./addresstype.js"; import { - AddressTypeJson, - AddressTypeJson$outboundSchema, -} from "./addresstypejson.js"; + AttendeeContactTypeInput, + AttendeeContactTypeInput$Outbound, + AttendeeContactTypeInput$outboundSchema, +} from "./attendeecontacttypeinput.js"; import { - AttendeeContactTypeJsonInput, - AttendeeContactTypeJsonInput$Outbound, - AttendeeContactTypeJsonInput$outboundSchema, -} from "./attendeecontacttypejsoninput.js"; + ContactOptOutInput, + ContactOptOutInput$Outbound, + ContactOptOutInput$outboundSchema, +} from "./contactoptoutinput.js"; import { - OptOutJsonInput, - OptOutJsonInput$Outbound, - OptOutJsonInput$outboundSchema, -} from "./optoutjsoninput.js"; -import { - PassportJsonInput, - PassportJsonInput$Outbound, - PassportJsonInput$outboundSchema, -} from "./passportjsoninput.js"; + PassportInput, + PassportInput$Outbound, + PassportInput$outboundSchema, +} from "./passportinput.js"; export type HomeAddress = { address3?: any | undefined; @@ -80,11 +77,11 @@ export type ContactPatch = { /** * Contains details related to the attendee's contact type. */ - type?: AttendeeContactTypeJsonInput | undefined; + type?: AttendeeContactTypeInput | undefined; /** * The type of address. */ - primaryAddressType?: AddressTypeJson | undefined; + primaryAddressType?: AddressType | undefined; homeAddress?: HomeAddress | undefined; homePhone?: any | undefined; /** @@ -94,7 +91,7 @@ export type ContactPatch = { /** * Contact address details. */ - workAddress?: AddressJsonInput | undefined; + workAddress?: AddressInput | undefined; /** * The phone number of the contact at their place of work. */ @@ -122,7 +119,7 @@ export type ContactPatch = { /** * Details of an opt-out for a Contact. */ - optOut?: OptOutJsonInput | undefined; + optOut?: ContactOptOutInput | undefined; /** * Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. */ @@ -142,7 +139,7 @@ export type ContactPatch = { /** * This entity represents a contact's passport information. */ - passport?: PassportJsonInput | undefined; + passport?: PassportInput | undefined; socialSecurityNumber?: any | undefined; /** * The national identification number of the contact. @@ -246,24 +243,24 @@ export type ContactPatch$Outbound = { company?: any | undefined; designation?: string | undefined; title?: any | undefined; - type?: AttendeeContactTypeJsonInput$Outbound | undefined; + type?: AttendeeContactTypeInput$Outbound | undefined; primaryAddressType?: string | undefined; homeAddress?: HomeAddress$Outbound | undefined; homePhone?: any | undefined; homeFax?: string | undefined; - workAddress?: AddressJsonInput$Outbound | undefined; + workAddress?: AddressInput$Outbound | undefined; workPhone?: string | undefined; workFax?: string | undefined; sourceId?: string | undefined; mobilePhone?: string | undefined; prefix?: string | undefined; pager?: string | undefined; - optOut?: OptOutJsonInput$Outbound | undefined; + optOut?: ContactOptOutInput$Outbound | undefined; npi?: string | undefined; _links?: ContactPatchLinks$Outbound | undefined; dateOfBirth?: any | undefined; passportNumber?: string | undefined; - passport?: PassportJsonInput$Outbound | undefined; + passport?: PassportInput$Outbound | undefined; socialSecurityNumber?: any | undefined; nationalIdentificationNumber?: string | undefined; headline?: string | undefined; @@ -289,24 +286,24 @@ export const ContactPatch$outboundSchema: z.ZodType< company: z.any().optional(), designation: z.string().optional(), title: z.any().optional(), - type: AttendeeContactTypeJsonInput$outboundSchema.optional(), - primaryAddressType: AddressTypeJson$outboundSchema.optional(), + type: AttendeeContactTypeInput$outboundSchema.optional(), + primaryAddressType: AddressType$outboundSchema.optional(), homeAddress: z.lazy(() => HomeAddress$outboundSchema).optional(), homePhone: z.any().optional(), homeFax: z.string().optional(), - workAddress: AddressJsonInput$outboundSchema.optional(), + workAddress: AddressInput$outboundSchema.optional(), workPhone: z.string().optional(), workFax: z.string().optional(), sourceId: z.string().optional(), mobilePhone: z.string().optional(), prefix: z.string().optional(), pager: z.string().optional(), - optOut: OptOutJsonInput$outboundSchema.optional(), + optOut: ContactOptOutInput$outboundSchema.optional(), npi: z.string().optional(), links: z.lazy(() => ContactPatchLinks$outboundSchema).optional(), dateOfBirth: z.any().optional(), passportNumber: z.string().optional(), - passport: PassportJsonInput$outboundSchema.optional(), + passport: PassportInput$outboundSchema.optional(), socialSecurityNumber: z.any().optional(), nationalIdentificationNumber: z.string().optional(), headline: z.string().optional(), diff --git a/packages/typescript/src/models/components/contacttype.ts b/packages/typescript/src/models/components/contacttype.ts new file mode 100644 index 000000000..e08fea6a6 --- /dev/null +++ b/packages/typescript/src/models/components/contacttype.ts @@ -0,0 +1,57 @@ +/* + * 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"; + +/** + * This entity represents a contact type at contact level. + */ +export type ContactType = { + /** + * The ID of the contact type. + */ + id: string; + /** + * The contact type code. Must be unique in the account. + */ + code: string; + /** + * Name of the contact type. + */ + name: string; + /** + * Description of the contact type. + */ + description?: string | undefined; + /** + * Indicates whether the contact type is active. + */ + active?: boolean | undefined; +}; + +/** @internal */ +export const ContactType$inboundSchema: z.ZodType< + ContactType, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + code: z.string(), + name: z.string(), + description: z.string().optional(), + active: z.boolean().optional(), +}); + +export function contactTypeFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ContactType$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ContactType' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/contacttypejson.ts b/packages/typescript/src/models/components/contacttypejson.ts index 77e2f98e7..4ff4f3c53 100644 --- a/packages/typescript/src/models/components/contacttypejson.ts +++ b/packages/typescript/src/models/components/contacttypejson.ts @@ -3,55 +3,25 @@ */ 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 { ClosedEnum } from "../../types/enums.js"; /** - * This entity represents a contact type at contact level. + * The contact types used for the proposal. */ -export type ContactTypeJson = { - /** - * The ID of the contact type. - */ - id: string; - /** - * The contact type code. Must be unique in the account. - */ - code: string; - /** - * Name of the contact type. - */ - name: string; - /** - * Description of the contact type. - */ - description?: string | undefined; - /** - * Indicates whether the contact type is active. - */ - active?: boolean | undefined; -}; +export const ContactTypeJson = { + Primary: "PRIMARY", + Secondary: "SECONDARY", +} as const; +/** + * The contact types used for the proposal. + */ +export type ContactTypeJson = ClosedEnum; /** @internal */ -export const ContactTypeJson$inboundSchema: z.ZodType< - ContactTypeJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - code: z.string(), - name: z.string(), - description: z.string().optional(), - active: z.boolean().optional(), -}); - -export function contactTypeJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ContactTypeJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ContactTypeJson' from JSON`, - ); -} +export const ContactTypeJson$inboundSchema: z.ZodNativeEnum< + typeof ContactTypeJson +> = z.nativeEnum(ContactTypeJson); +/** @internal */ +export const ContactTypeJson$outboundSchema: z.ZodNativeEnum< + typeof ContactTypeJson +> = ContactTypeJson$inboundSchema; diff --git a/packages/typescript/src/models/components/contacttypejson1.ts b/packages/typescript/src/models/components/contacttypejson1.ts deleted file mode 100644 index adb0558d5..000000000 --- a/packages/typescript/src/models/components/contacttypejson1.ts +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * The contact types used for the proposal. - */ -export const ContactTypeJson1 = { - Primary: "PRIMARY", - Secondary: "SECONDARY", -} as const; -/** - * The contact types used for the proposal. - */ -export type ContactTypeJson1 = ClosedEnum; - -/** @internal */ -export const ContactTypeJson1$inboundSchema: z.ZodNativeEnum< - typeof ContactTypeJson1 -> = z.nativeEnum(ContactTypeJson1); -/** @internal */ -export const ContactTypeJson1$outboundSchema: z.ZodNativeEnum< - typeof ContactTypeJson1 -> = ContactTypeJson1$inboundSchema; diff --git a/packages/typescript/src/models/components/contacttypepaginatedresponse.ts b/packages/typescript/src/models/components/contacttypepaginatedresponse.ts index 1bbf063e5..d2f9ecb69 100644 --- a/packages/typescript/src/models/components/contacttypepaginatedresponse.ts +++ b/packages/typescript/src/models/components/contacttypepaginatedresponse.ts @@ -6,11 +6,8 @@ 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 { - ContactTypeJson, - ContactTypeJson$inboundSchema, -} from "./contacttypejson.js"; -import { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; +import { ContactType, ContactType$inboundSchema } from "./contacttype.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; /** * The response from a request to get the list of contact types. This includes the paging object as well as the collection of contact-types. @@ -19,11 +16,11 @@ export type ContactTypePaginatedResponse = { /** * Represents pagination information for a collection of resources. */ - paging: PagingJson; + paging: Paging; /** * Collection of contact types. */ - data: Array; + data: Array; }; /** @internal */ @@ -32,8 +29,8 @@ export const ContactTypePaginatedResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema, - data: z.array(ContactTypeJson$inboundSchema), + paging: Paging$inboundSchema, + data: z.array(ContactType$inboundSchema), }); export function contactTypePaginatedResponseFromJSON( diff --git a/packages/typescript/src/models/components/contactupdate.ts b/packages/typescript/src/models/components/contactupdate.ts index cf722f718..1738d1d2b 100644 --- a/packages/typescript/src/models/components/contactupdate.ts +++ b/packages/typescript/src/models/components/contactupdate.ts @@ -6,35 +6,32 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../../lib/primitives.js"; import { RFCDate } from "../../types/rfcdate.js"; import { - AddressJsonInput, - AddressJsonInput$Outbound, - AddressJsonInput$outboundSchema, -} from "./addressjsoninput.js"; + AddressInput, + AddressInput$Outbound, + AddressInput$outboundSchema, +} from "./addressinput.js"; +import { AddressType, AddressType$outboundSchema } from "./addresstype.js"; import { - AddressTypeJson, - AddressTypeJson$outboundSchema, -} from "./addresstypejson.js"; + AttendeeContactTypeInput, + AttendeeContactTypeInput$Outbound, + AttendeeContactTypeInput$outboundSchema, +} from "./attendeecontacttypeinput.js"; import { - AttendeeContactTypeJsonInput, - AttendeeContactTypeJsonInput$Outbound, - AttendeeContactTypeJsonInput$outboundSchema, -} from "./attendeecontacttypejsoninput.js"; + ContactLinksInput, + ContactLinksInput$Outbound, + ContactLinksInput$outboundSchema, +} from "./contactlinksinput.js"; import { - ContactLinksJsonInput, - ContactLinksJsonInput$Outbound, - ContactLinksJsonInput$outboundSchema, -} from "./contactlinksjsoninput.js"; -import { GenderJson, GenderJson$outboundSchema } from "./genderjson.js"; + ContactOptOutInput, + ContactOptOutInput$Outbound, + ContactOptOutInput$outboundSchema, +} from "./contactoptoutinput.js"; +import { Gender, Gender$outboundSchema } from "./gender.js"; import { - OptOutJsonInput, - OptOutJsonInput$Outbound, - OptOutJsonInput$outboundSchema, -} from "./optoutjsoninput.js"; -import { - PassportJsonInput, - PassportJsonInput$Outbound, - PassportJsonInput$outboundSchema, -} from "./passportjsoninput.js"; + PassportInput, + PassportInput$Outbound, + PassportInput$outboundSchema, +} from "./passportinput.js"; /** * This entity is used to represent a single item that is requested for a contact update @@ -67,7 +64,7 @@ export type ContactUpdate = { /** * The gender of the contact. */ - gender?: GenderJson | undefined; + gender?: Gender | undefined; /** * The company/organization the contact belongs to. */ @@ -83,15 +80,15 @@ export type ContactUpdate = { /** * Contains details related to the attendee's contact type. */ - type?: AttendeeContactTypeJsonInput | undefined; + type?: AttendeeContactTypeInput | undefined; /** * The type of address. */ - primaryAddressType?: AddressTypeJson | undefined; + primaryAddressType?: AddressType | undefined; /** * Contact address details. */ - homeAddress?: AddressJsonInput | undefined; + homeAddress?: AddressInput | undefined; /** * The phone number of the contact at their place of residence. */ @@ -103,7 +100,7 @@ export type ContactUpdate = { /** * Contact address details. */ - workAddress?: AddressJsonInput | undefined; + workAddress?: AddressInput | undefined; /** * The phone number of the contact at their place of work. */ @@ -131,7 +128,7 @@ export type ContactUpdate = { /** * Details of an opt-out for a Contact. */ - optOut?: OptOutJsonInput | undefined; + optOut?: ContactOptOutInput | undefined; /** * Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. */ @@ -139,7 +136,7 @@ export type ContactUpdate = { /** * Collection of social media links for the contact. */ - links?: ContactLinksJsonInput | undefined; + links?: ContactLinksInput | undefined; /** * The date of birth of the contact. * @@ -161,7 +158,7 @@ export type ContactUpdate = { /** * This entity represents a contact's passport information. */ - passport?: PassportJsonInput | undefined; + passport?: PassportInput | undefined; /** * The social security number of the contact. * @@ -212,24 +209,24 @@ export type ContactUpdate$Outbound = { company?: string | undefined; designation?: string | undefined; title?: string | undefined; - type?: AttendeeContactTypeJsonInput$Outbound | undefined; + type?: AttendeeContactTypeInput$Outbound | undefined; primaryAddressType?: string | undefined; - homeAddress?: AddressJsonInput$Outbound | undefined; + homeAddress?: AddressInput$Outbound | undefined; homePhone?: string | undefined; homeFax?: string | undefined; - workAddress?: AddressJsonInput$Outbound | undefined; + workAddress?: AddressInput$Outbound | undefined; workPhone?: string | undefined; workFax?: string | undefined; sourceId?: string | undefined; mobilePhone?: string | undefined; prefix?: string | undefined; pager?: string | undefined; - optOut?: OptOutJsonInput$Outbound | undefined; + optOut?: ContactOptOutInput$Outbound | undefined; npi?: string | undefined; - _links?: ContactLinksJsonInput$Outbound | undefined; + _links?: ContactLinksInput$Outbound | undefined; dateOfBirth?: string | undefined; passportNumber?: string | undefined; - passport?: PassportJsonInput$Outbound | undefined; + passport?: PassportInput$Outbound | undefined; socialSecurityNumber?: string | undefined; nationalIdentificationNumber?: string | undefined; headline?: string | undefined; @@ -251,28 +248,28 @@ export const ContactUpdate$outboundSchema: z.ZodType< nickname: z.string().optional(), email: z.string().optional(), ccEmail: z.string().optional(), - gender: GenderJson$outboundSchema.optional(), + gender: Gender$outboundSchema.optional(), company: z.string().optional(), designation: z.string().optional(), title: z.string().optional(), - type: AttendeeContactTypeJsonInput$outboundSchema.optional(), - primaryAddressType: AddressTypeJson$outboundSchema.optional(), - homeAddress: AddressJsonInput$outboundSchema.optional(), + type: AttendeeContactTypeInput$outboundSchema.optional(), + primaryAddressType: AddressType$outboundSchema.optional(), + homeAddress: AddressInput$outboundSchema.optional(), homePhone: z.string().optional(), homeFax: z.string().optional(), - workAddress: AddressJsonInput$outboundSchema.optional(), + workAddress: AddressInput$outboundSchema.optional(), workPhone: z.string().optional(), workFax: z.string().optional(), sourceId: z.string().optional(), mobilePhone: z.string().optional(), prefix: z.string().optional(), pager: z.string().optional(), - optOut: OptOutJsonInput$outboundSchema.optional(), + optOut: ContactOptOutInput$outboundSchema.optional(), npi: z.string().optional(), - links: ContactLinksJsonInput$outboundSchema.optional(), + links: ContactLinksInput$outboundSchema.optional(), dateOfBirth: z.instanceof(RFCDate).transform(v => v.toString()).optional(), passportNumber: z.string().optional(), - passport: PassportJsonInput$outboundSchema.optional(), + passport: PassportInput$outboundSchema.optional(), socialSecurityNumber: z.string().optional(), nationalIdentificationNumber: z.string().optional(), headline: z.string().optional(), diff --git a/packages/typescript/src/models/components/createtransactionresponse.ts b/packages/typescript/src/models/components/createtransactionresponse.ts index 482816fe0..dc0de6558 100644 --- a/packages/typescript/src/models/components/createtransactionresponse.ts +++ b/packages/typescript/src/models/components/createtransactionresponse.ts @@ -6,7 +6,7 @@ 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 { Attendee2, Attendee2$inboundSchema } from "./attendee2.js"; +import { Attendee, Attendee$inboundSchema } from "./attendee.js"; import { Event2, Event2$inboundSchema } from "./event2.js"; import { Order, Order$inboundSchema } from "./order.js"; import { PaymentMethod, PaymentMethod$inboundSchema } from "./paymentmethod.js"; @@ -47,7 +47,7 @@ export type CreateTransactionResponse = { /** * The reference to the attendee. Contains only the ID of the attendee. */ - attendee?: Attendee2 | undefined; + attendee?: Attendee | undefined; /** * This denotes the order IDs corresponding to this transaction. */ @@ -113,7 +113,7 @@ export const CreateTransactionResponse$inboundSchema: z.ZodType< lastModifiedBy: z.string().optional(), id: z.string().optional(), event: Event2$inboundSchema.optional(), - attendee: Attendee2$inboundSchema.optional(), + attendee: Attendee$inboundSchema.optional(), orders: z.array(Order$inboundSchema).optional(), journalNumber: z.string().optional(), paymentType: PaymentType$inboundSchema, diff --git a/packages/typescript/src/models/components/createtransactionresponseinput.ts b/packages/typescript/src/models/components/createtransactionresponseinput.ts index e0ce1ee14..e23361714 100644 --- a/packages/typescript/src/models/components/createtransactionresponseinput.ts +++ b/packages/typescript/src/models/components/createtransactionresponseinput.ts @@ -4,10 +4,10 @@ import * as z from "zod/v3"; import { - Attendee2, - Attendee2$Outbound, - Attendee2$outboundSchema, -} from "./attendee2.js"; + Attendee, + Attendee$Outbound, + Attendee$outboundSchema, +} from "./attendee.js"; import { Event2, Event2$Outbound, Event2$outboundSchema } from "./event2.js"; import { PaymentMethod, @@ -31,7 +31,7 @@ export type CreateTransactionResponseInput = { /** * The reference to the attendee. Contains only the ID of the attendee. */ - attendee?: Attendee2 | undefined; + attendee?: Attendee | undefined; /** * Denotes the type of transaction you're creating. Offline Charge: The transaction is a payment made to the attendee's order electronically in another system of record, or paid in physical currency. To create an offline charge, the attendee must have a balance owing. Offline Refund: The transaction is a refund issued to the attendee electronically in another system of record, or paid in physical currency. To create an offline refund, the attendee must have a balance due. */ @@ -69,7 +69,7 @@ export type CreateTransactionResponseInput = { /** @internal */ export type CreateTransactionResponseInput$Outbound = { event?: Event2$Outbound | undefined; - attendee?: Attendee2$Outbound | undefined; + attendee?: Attendee$Outbound | undefined; paymentType: string; paymentMethod: string; date: string; @@ -87,7 +87,7 @@ export const CreateTransactionResponseInput$outboundSchema: z.ZodType< CreateTransactionResponseInput > = z.object({ event: Event2$outboundSchema.optional(), - attendee: Attendee2$outboundSchema.optional(), + attendee: Attendee$outboundSchema.optional(), paymentType: PaymentType$outboundSchema, paymentMethod: PaymentMethod$outboundSchema, date: z.date().transform(v => v.toISOString()), diff --git a/packages/typescript/src/models/components/currencyjson1.ts b/packages/typescript/src/models/components/currencyjson1.ts deleted file mode 100644 index 108e84c7d..000000000 --- a/packages/typescript/src/models/components/currencyjson1.ts +++ /dev/null @@ -1,192 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * The ISO 4217 standard format currency code used for RFPs. - */ -export const CurrencyJson1 = { - Usd: "USD", - Cad: "CAD", - Aud: "AUD", - Eur: "EUR", - Gbp: "GBP", - Hkd: "HKD", - Nzd: "NZD", - Aed: "AED", - Nok: "NOK", - Inr: "INR", - Mxn: "MXN", - Sek: "SEK", - Dkk: "DKK", - Myr: "MYR", - Jpy: "JPY", - Sgd: "SGD", - Thb: "THB", - Idr: "IDR", - Krw: "KRW", - Cny: "CNY", - Twd: "TWD", - Rub: "RUB", - Chf: "CHF", - Czk: "CZK", - Huf: "HUF", - Qar: "QAR", - Zar: "ZAR", - Ron: "RON", - Hrk: "HRK", - Try: "TRY", - Brl: "BRL", - Php: "PHP", - Sar: "SAR", - Pln: "PLN", - Ars: "ARS", - Awg: "AWG", - Azn: "AZN", - Bsd: "BSD", - Bbd: "BBD", - Bmd: "BMD", - Clp: "CLP", - Cop: "COP", - Crc: "CRC", - Dop: "DOP", - Xcd: "XCD", - Ils: "ILS", - Jmd: "JMD", - Lvl: "LVL", - Ltl: "LTL", - Mdl: "MDL", - Ang: "ANG", - Omr: "OMR", - Ttd: "TTD", - Uah: "UAH", - Uyu: "UYU", - Rsd: "RSD", - Afn: "AFN", - Amd: "AMD", - Aoa: "AOA", - Bam: "BAM", - Bdt: "BDT", - Bgn: "BGN", - Bhd: "BHD", - Bob: "BOB", - Dzd: "DZD", - Eek: "EEK", - Egp: "EGP", - Fjd: "FJD", - Gtq: "GTQ", - Hnl: "HNL", - Isk: "ISK", - Jod: "JOD", - Kyd: "KYD", - Kzt: "KZT", - Lbp: "LBP", - Mad: "MAD", - Ngn: "NGN", - Nio: "NIO", - Esp: "ESP", - Frf: "FRF", - Pab: "PAB", - Pen: "PEN", - Pkr: "PKR", - Pyg: "PYG", - Svc: "SVC", - Syp: "SYP", - Vef: "VEF", - Vnd: "VND", - Xpf: "XPF", - Gyd: "GYD", - Mop: "MOP", - Pgk: "PGK", - Xof: "XOF", - Xaf: "XAF", - Bzd: "BZD", - Byr: "BYR", - Bwp: "BWP", - Bnd: "BND", - Bif: "BIF", - Khr: "KHR", - Cve: "CVE", - Kmf: "KMF", - Cdf: "CDF", - Djf: "DJF", - Ern: "ERN", - Fkp: "FKP", - Gmd: "GMD", - Gel: "GEL", - Ghs: "GHS", - Gip: "GIP", - Gnf: "GNF", - Htg: "HTG", - Kes: "KES", - Kwd: "KWD", - Kgs: "KGS", - Lak: "LAK", - Lrd: "LRD", - Mkd: "MKD", - Mga: "MGA", - Mwk: "MWK", - Mvr: "MVR", - Mro: "MRO", - Mur: "MUR", - Mnt: "MNT", - Mzn: "MZN", - Mmk: "MMK", - Nad: "NAD", - Npr: "NPR", - Rwf: "RWF", - Shp: "SHP", - Wst: "WST", - Std: "STD", - Sll: "SLL", - Sbd: "SBD", - Sos: "SOS", - Lkr: "LKR", - Srd: "SRD", - Szl: "SZL", - Top: "TOP", - Tnd: "TND", - Ugx: "UGX", - Uzs: "UZS", - Vuv: "VUV", - Yer: "YER", - Zmk: "ZMK", - Zwd: "ZWD", - Sr: "SR", - Etb: "ETB", - Gh: "GH", - Gwp: "GWP", - Iqd: "IQD", - Irr: "IRR", - Kpw: "KPW", - Lsl: "LSL", - Rol: "ROL", - Sdg: "SDG", - Skk: "SKK", - Tjs: "TJS", - Tmt: "TMT", - Tzs: "TZS", - All: "ALL", - Btn: "BTN", - Cup: "CUP", - Ld: "LD", - Scr: "SCR", - Zmw: "ZMW", - Zwl: "ZWL", -} as const; -/** - * The ISO 4217 standard format currency code used for RFPs. - */ -export type CurrencyJson1 = ClosedEnum; - -/** @internal */ -export const CurrencyJson1$inboundSchema: z.ZodNativeEnum< - typeof CurrencyJson1 -> = z.nativeEnum(CurrencyJson1); -/** @internal */ -export const CurrencyJson1$outboundSchema: z.ZodNativeEnum< - typeof CurrencyJson1 -> = CurrencyJson1$inboundSchema; diff --git a/packages/typescript/src/models/components/currencyjson2.ts b/packages/typescript/src/models/components/currencyjson2.ts new file mode 100644 index 000000000..07d796970 --- /dev/null +++ b/packages/typescript/src/models/components/currencyjson2.ts @@ -0,0 +1,192 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * The ISO 4217 standard format currency code used for RFPs. + */ +export const CurrencyJson2 = { + Usd: "USD", + Cad: "CAD", + Aud: "AUD", + Eur: "EUR", + Gbp: "GBP", + Hkd: "HKD", + Nzd: "NZD", + Aed: "AED", + Nok: "NOK", + Inr: "INR", + Mxn: "MXN", + Sek: "SEK", + Dkk: "DKK", + Myr: "MYR", + Jpy: "JPY", + Sgd: "SGD", + Thb: "THB", + Idr: "IDR", + Krw: "KRW", + Cny: "CNY", + Twd: "TWD", + Rub: "RUB", + Chf: "CHF", + Czk: "CZK", + Huf: "HUF", + Qar: "QAR", + Zar: "ZAR", + Ron: "RON", + Hrk: "HRK", + Try: "TRY", + Brl: "BRL", + Php: "PHP", + Sar: "SAR", + Pln: "PLN", + Ars: "ARS", + Awg: "AWG", + Azn: "AZN", + Bsd: "BSD", + Bbd: "BBD", + Bmd: "BMD", + Clp: "CLP", + Cop: "COP", + Crc: "CRC", + Dop: "DOP", + Xcd: "XCD", + Ils: "ILS", + Jmd: "JMD", + Lvl: "LVL", + Ltl: "LTL", + Mdl: "MDL", + Ang: "ANG", + Omr: "OMR", + Ttd: "TTD", + Uah: "UAH", + Uyu: "UYU", + Rsd: "RSD", + Afn: "AFN", + Amd: "AMD", + Aoa: "AOA", + Bam: "BAM", + Bdt: "BDT", + Bgn: "BGN", + Bhd: "BHD", + Bob: "BOB", + Dzd: "DZD", + Eek: "EEK", + Egp: "EGP", + Fjd: "FJD", + Gtq: "GTQ", + Hnl: "HNL", + Isk: "ISK", + Jod: "JOD", + Kyd: "KYD", + Kzt: "KZT", + Lbp: "LBP", + Mad: "MAD", + Ngn: "NGN", + Nio: "NIO", + Esp: "ESP", + Frf: "FRF", + Pab: "PAB", + Pen: "PEN", + Pkr: "PKR", + Pyg: "PYG", + Svc: "SVC", + Syp: "SYP", + Vef: "VEF", + Vnd: "VND", + Xpf: "XPF", + Gyd: "GYD", + Mop: "MOP", + Pgk: "PGK", + Xof: "XOF", + Xaf: "XAF", + Bzd: "BZD", + Byr: "BYR", + Bwp: "BWP", + Bnd: "BND", + Bif: "BIF", + Khr: "KHR", + Cve: "CVE", + Kmf: "KMF", + Cdf: "CDF", + Djf: "DJF", + Ern: "ERN", + Fkp: "FKP", + Gmd: "GMD", + Gel: "GEL", + Ghs: "GHS", + Gip: "GIP", + Gnf: "GNF", + Htg: "HTG", + Kes: "KES", + Kwd: "KWD", + Kgs: "KGS", + Lak: "LAK", + Lrd: "LRD", + Mkd: "MKD", + Mga: "MGA", + Mwk: "MWK", + Mvr: "MVR", + Mro: "MRO", + Mur: "MUR", + Mnt: "MNT", + Mzn: "MZN", + Mmk: "MMK", + Nad: "NAD", + Npr: "NPR", + Rwf: "RWF", + Shp: "SHP", + Wst: "WST", + Std: "STD", + Sll: "SLL", + Sbd: "SBD", + Sos: "SOS", + Lkr: "LKR", + Srd: "SRD", + Szl: "SZL", + Top: "TOP", + Tnd: "TND", + Ugx: "UGX", + Uzs: "UZS", + Vuv: "VUV", + Yer: "YER", + Zmk: "ZMK", + Zwd: "ZWD", + Sr: "SR", + Etb: "ETB", + Gh: "GH", + Gwp: "GWP", + Iqd: "IQD", + Irr: "IRR", + Kpw: "KPW", + Lsl: "LSL", + Rol: "ROL", + Sdg: "SDG", + Skk: "SKK", + Tjs: "TJS", + Tmt: "TMT", + Tzs: "TZS", + All: "ALL", + Btn: "BTN", + Cup: "CUP", + Ld: "LD", + Scr: "SCR", + Zmw: "ZMW", + Zwl: "ZWL", +} as const; +/** + * The ISO 4217 standard format currency code used for RFPs. + */ +export type CurrencyJson2 = ClosedEnum; + +/** @internal */ +export const CurrencyJson2$inboundSchema: z.ZodNativeEnum< + typeof CurrencyJson2 +> = z.nativeEnum(CurrencyJson2); +/** @internal */ +export const CurrencyJson2$outboundSchema: z.ZodNativeEnum< + typeof CurrencyJson2 +> = CurrencyJson2$inboundSchema; diff --git a/packages/typescript/src/models/components/customfield3.ts b/packages/typescript/src/models/components/customfield3.ts index aacb119a3..6ae0533d5 100644 --- a/packages/typescript/src/models/components/customfield3.ts +++ b/packages/typescript/src/models/components/customfield3.ts @@ -4,10 +4,10 @@ import * as z from "zod/v3"; import { - ChoiceJson3Input, - ChoiceJson3Input$Outbound, - ChoiceJson3Input$outboundSchema, -} from "./choicejson3input.js"; + ChoiceJson2Input, + ChoiceJson2Input$Outbound, + ChoiceJson2Input$outboundSchema, +} from "./choicejson2input.js"; import { ChoicesDisplayTypeJson, ChoicesDisplayTypeJson$outboundSchema, @@ -17,9 +17,9 @@ import { CustomFieldCategoryJson$outboundSchema, } from "./customfieldcategoryjson.js"; import { - CustomFieldTypeJson1, - CustomFieldTypeJson1$outboundSchema, -} from "./customfieldtypejson1.js"; + CustomFieldTypeJson, + CustomFieldTypeJson$outboundSchema, +} from "./customfieldtypejson.js"; import { DateTimeDisplayFormatJson, DateTimeDisplayFormatJson$outboundSchema, @@ -41,7 +41,7 @@ export type Choices = { /** * Choices of custom fields. */ - choices?: Array | undefined; + choices?: Array | undefined; /** * Display type indicating how to display the choices on UI. For 'Choice - Single Answer' custom field type, this defaults to Dropdown. For 'Choice - Multiple Answers' custom field type, this defaults to MultiSelectBox. */ @@ -138,7 +138,7 @@ export type CustomField3 = { /** * This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. */ - type: CustomFieldTypeJson1; + type: CustomFieldTypeJson; /** * Type-specific details of the custom-field. */ @@ -180,7 +180,7 @@ export type CustomField3 = { /** @internal */ export type Choices$Outbound = { - choices?: Array | undefined; + choices?: Array | undefined; displayType?: string | undefined; }; @@ -190,7 +190,7 @@ export const Choices$outboundSchema: z.ZodType< z.ZodTypeDef, Choices > = z.object({ - choices: z.array(ChoiceJson3Input$outboundSchema).optional(), + choices: z.array(ChoiceJson2Input$outboundSchema).optional(), displayType: ChoicesDisplayTypeJson$outboundSchema.optional(), }); @@ -337,7 +337,7 @@ export const CustomField3$outboundSchema: z.ZodType< name: z.string(), code: z.string(), required: z.boolean().default(true), - type: CustomFieldTypeJson1$outboundSchema, + type: CustomFieldTypeJson$outboundSchema, details: z.union([ z.lazy(() => OpenEndedOneLine$outboundSchema), z.lazy(() => OpenEndedDateTime$outboundSchema), diff --git a/packages/typescript/src/models/components/customfieldanswers.ts b/packages/typescript/src/models/components/customfieldanswers.ts new file mode 100644 index 000000000..46db62b52 --- /dev/null +++ b/packages/typescript/src/models/components/customfieldanswers.ts @@ -0,0 +1,83 @@ +/* + * 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"; + +/** + * An object containing custom field data. By default, contains only the field ID. + * + * @remarks + * + * This is an **expandable** object. When requested via the `expand` query parameter with value `customField`, this object expands to include all properties of a custom field definition. + * + * See the `expand` parameter documentation and refer to the [Get Custom Field](#tag/Custom-Fields/operation/getCustomField) API for the complete expanded schema. + */ +export type ExpandableCustomObject = { + /** + * Unique identifier for custom field. + */ + id?: string | undefined; +}; + +/** + * This object contains RFP custom fields attributes only. + */ +export type CustomFieldAnswers = { + /** + * An object containing custom field data. By default, contains only the field ID. + * + * @remarks + * + * This is an **expandable** object. When requested via the `expand` query parameter with value `customField`, this object expands to include all properties of a custom field definition. + * + * See the `expand` parameter documentation and refer to the [Get Custom Field](#tag/Custom-Fields/operation/getCustomField) API for the complete expanded schema. + */ + customField: ExpandableCustomObject; + /** + * List of answers for the RFP custom field. + */ + answers: Array; +}; + +/** @internal */ +export const ExpandableCustomObject$inboundSchema: z.ZodType< + ExpandableCustomObject, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function expandableCustomObjectFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ExpandableCustomObject$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ExpandableCustomObject' from JSON`, + ); +} + +/** @internal */ +export const CustomFieldAnswers$inboundSchema: z.ZodType< + CustomFieldAnswers, + z.ZodTypeDef, + unknown +> = z.object({ + customField: z.lazy(() => ExpandableCustomObject$inboundSchema), + answers: z.array(z.string()), +}); + +export function customFieldAnswersFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CustomFieldAnswers$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CustomFieldAnswers' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/customfieldjson.ts b/packages/typescript/src/models/components/customfieldjson.ts new file mode 100644 index 000000000..d59d23742 --- /dev/null +++ b/packages/typescript/src/models/components/customfieldjson.ts @@ -0,0 +1,94 @@ +/* + * 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 type of data collected by a custom field. + */ +export const CustomFieldJsonCustomFieldType = { + AutoIncrement: "AutoIncrement", + ConsentQuestion: "ConsentQuestion", + Currency: "Currency", + Decimal: "Decimal", + Date: "Date", + DateTime: "DateTime", + Email: "Email", + FileUpload: "FileUpload", + FreeText: "FreeText", + General: "General", + MultiChoice: "MultiChoice", + MultiSelect: "MultiSelect", + Number: "Number", + OpenEndedDateTime: "OpenEndedDateTime", + OpenEndedText: "OpenEndedText", + SingleChoice: "SingleChoice", + SingleSelect: "SingleSelect", + USPhoneNumber: "USPhoneNumber", + Unknown: "Unknown", +} as const; +/** + * The type of data collected by a custom field. + */ +export type CustomFieldJsonCustomFieldType = ClosedEnum< + typeof CustomFieldJsonCustomFieldType +>; + +/** + * A Custom Field + */ +export type CustomFieldJson = { + /** + * The unique ID representing this custom field. + */ + id: string; + /** + * The actual text of the custom field. + */ + name?: string | undefined; + /** + * The type of data collected by a custom field. + */ + type?: CustomFieldJsonCustomFieldType | undefined; + /** + * The set of answers or possible answers to a question. + */ + value: Array; + /** + * The order of this question in the bigger list of questions. + */ + order?: number | undefined; +}; + +/** @internal */ +export const CustomFieldJsonCustomFieldType$inboundSchema: z.ZodNativeEnum< + typeof CustomFieldJsonCustomFieldType +> = z.nativeEnum(CustomFieldJsonCustomFieldType); + +/** @internal */ +export const CustomFieldJson$inboundSchema: z.ZodType< + CustomFieldJson, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + name: z.string().optional(), + type: CustomFieldJsonCustomFieldType$inboundSchema.optional(), + value: z.array(z.string()), + order: z.number().int().optional(), +}); + +export function customFieldJsonFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CustomFieldJson$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CustomFieldJson' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/customfieldjson1.ts b/packages/typescript/src/models/components/customfieldjson1.ts index 1b9bcb33c..0ce855e18 100644 --- a/packages/typescript/src/models/components/customfieldjson1.ts +++ b/packages/typescript/src/models/components/customfieldjson1.ts @@ -9,42 +9,28 @@ import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** - * The type of data collected by a custom field. + * This is used to denote the type of data collected by a custom field. */ export const CustomFieldJson1CustomFieldType = { - AutoIncrement: "AutoIncrement", - ConsentQuestion: "ConsentQuestion", - Currency: "Currency", - Decimal: "Decimal", - Date: "Date", - DateTime: "DateTime", - Email: "Email", - FileUpload: "FileUpload", - FreeText: "FreeText", - General: "General", - MultiChoice: "MultiChoice", - MultiSelect: "MultiSelect", - Number: "Number", - OpenEndedDateTime: "OpenEndedDateTime", - OpenEndedText: "OpenEndedText", - SingleChoice: "SingleChoice", - SingleSelect: "SingleSelect", - USPhoneNumber: "USPhoneNumber", - Unknown: "Unknown", + OpenEndedTextDateTime: "Open Ended Text - Date/Time", + OpenEndedTextOneLine: "Open Ended Text - One Line", + OpenEndedTextCommentBox: "Open Ended Text - Comment Box", + ChoiceSingleAnswer: "Choice - Single Answer", + ChoiceMultipleAnswers: "Choice - Multiple Answers", } as const; /** - * The type of data collected by a custom field. + * This is used to denote the type of data collected by a custom field. */ export type CustomFieldJson1CustomFieldType = ClosedEnum< typeof CustomFieldJson1CustomFieldType >; /** - * A Custom Field + * A survey custom field. */ export type CustomFieldJson1 = { /** - * The unique ID representing this custom field. + * The unique id representing this custom field. */ id: string; /** @@ -52,17 +38,14 @@ export type CustomFieldJson1 = { */ name?: string | undefined; /** - * The type of data collected by a custom field. + * Code to uniquely identify custom field. */ + code?: string | undefined; type?: CustomFieldJson1CustomFieldType | undefined; /** - * The set of answers or possible answers to a question. + * The set of values or possible values to a custom field. */ - value: Array; - /** - * The order of this question in the bigger list of questions. - */ - order?: number | undefined; + values: Array; }; /** @internal */ @@ -78,9 +61,9 @@ export const CustomFieldJson1$inboundSchema: z.ZodType< > = z.object({ id: z.string(), name: z.string().optional(), + code: z.string().optional(), type: CustomFieldJson1CustomFieldType$inboundSchema.optional(), - value: z.array(z.string()), - order: z.number().int().optional(), + values: z.array(z.string()), }); export function customFieldJson1FromJSON( diff --git a/packages/typescript/src/models/components/customfieldjson2.ts b/packages/typescript/src/models/components/customfieldjson2.ts index fa9c89c00..d24b3ee14 100644 --- a/packages/typescript/src/models/components/customfieldjson2.ts +++ b/packages/typescript/src/models/components/customfieldjson2.ts @@ -9,28 +9,42 @@ import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** - * This is used to denote the type of data collected by a custom field. + * The type of data collected by a custom field. */ export const CustomFieldJson2CustomFieldType = { - OpenEndedTextDateTime: "Open Ended Text - Date/Time", - OpenEndedTextOneLine: "Open Ended Text - One Line", - OpenEndedTextCommentBox: "Open Ended Text - Comment Box", - ChoiceSingleAnswer: "Choice - Single Answer", - ChoiceMultipleAnswers: "Choice - Multiple Answers", + AutoIncrement: "AutoIncrement", + ConsentQuestion: "ConsentQuestion", + Currency: "Currency", + Decimal: "Decimal", + Date: "Date", + DateTime: "DateTime", + Email: "Email", + FileUpload: "FileUpload", + FreeText: "FreeText", + General: "General", + MultiChoice: "MultiChoice", + MultiSelect: "MultiSelect", + Number: "Number", + OpenEndedDateTime: "OpenEndedDateTime", + OpenEndedText: "OpenEndedText", + SingleChoice: "SingleChoice", + SingleSelect: "SingleSelect", + USPhoneNumber: "USPhoneNumber", + Unknown: "Unknown", } as const; /** - * This is used to denote the type of data collected by a custom field. + * The type of data collected by a custom field. */ export type CustomFieldJson2CustomFieldType = ClosedEnum< typeof CustomFieldJson2CustomFieldType >; /** - * A survey custom field. + * A Custom Field */ export type CustomFieldJson2 = { /** - * The unique id representing this custom field. + * The unique ID representing this custom field. */ id: string; /** @@ -38,14 +52,17 @@ export type CustomFieldJson2 = { */ name?: string | undefined; /** - * Code to uniquely identify custom field. + * The set of answers or possible answers to a question. */ - code?: string | undefined; - type?: CustomFieldJson2CustomFieldType | undefined; + value: Array; + /** + * The order of this question in the bigger list of questions. + */ + order?: number | undefined; /** - * The set of values or possible values to a custom field. + * The type of data collected by a custom field. */ - values: Array; + type?: CustomFieldJson2CustomFieldType | undefined; }; /** @internal */ @@ -61,9 +78,9 @@ export const CustomFieldJson2$inboundSchema: z.ZodType< > = z.object({ id: z.string(), name: z.string().optional(), - code: z.string().optional(), + value: z.array(z.string()), + order: z.number().int().optional(), type: CustomFieldJson2CustomFieldType$inboundSchema.optional(), - values: z.array(z.string()), }); export function customFieldJson2FromJSON( diff --git a/packages/typescript/src/models/components/customfieldjson3.ts b/packages/typescript/src/models/components/customfieldjson3.ts deleted file mode 100644 index 4b7641b81..000000000 --- a/packages/typescript/src/models/components/customfieldjson3.ts +++ /dev/null @@ -1,94 +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 { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * The type of data collected by a custom field. - */ -export const CustomFieldJson3CustomFieldType = { - AutoIncrement: "AutoIncrement", - ConsentQuestion: "ConsentQuestion", - Currency: "Currency", - Decimal: "Decimal", - Date: "Date", - DateTime: "DateTime", - Email: "Email", - FileUpload: "FileUpload", - FreeText: "FreeText", - General: "General", - MultiChoice: "MultiChoice", - MultiSelect: "MultiSelect", - Number: "Number", - OpenEndedDateTime: "OpenEndedDateTime", - OpenEndedText: "OpenEndedText", - SingleChoice: "SingleChoice", - SingleSelect: "SingleSelect", - USPhoneNumber: "USPhoneNumber", - Unknown: "Unknown", -} as const; -/** - * The type of data collected by a custom field. - */ -export type CustomFieldJson3CustomFieldType = ClosedEnum< - typeof CustomFieldJson3CustomFieldType ->; - -/** - * A Custom Field - */ -export type CustomFieldJson3 = { - /** - * The unique ID representing this custom field. - */ - id: string; - /** - * The actual text of the custom field. - */ - name?: string | undefined; - /** - * The set of answers or possible answers to a question. - */ - value: Array; - /** - * The order of this question in the bigger list of questions. - */ - order?: number | undefined; - /** - * The type of data collected by a custom field. - */ - type?: CustomFieldJson3CustomFieldType | undefined; -}; - -/** @internal */ -export const CustomFieldJson3CustomFieldType$inboundSchema: z.ZodNativeEnum< - typeof CustomFieldJson3CustomFieldType -> = z.nativeEnum(CustomFieldJson3CustomFieldType); - -/** @internal */ -export const CustomFieldJson3$inboundSchema: z.ZodType< - CustomFieldJson3, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - name: z.string().optional(), - value: z.array(z.string()), - order: z.number().int().optional(), - type: CustomFieldJson3CustomFieldType$inboundSchema.optional(), -}); - -export function customFieldJson3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CustomFieldJson3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CustomFieldJson3' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/customfieldtypejson.ts b/packages/typescript/src/models/components/customfieldtypejson.ts new file mode 100644 index 000000000..592b14c6e --- /dev/null +++ b/packages/typescript/src/models/components/customfieldtypejson.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"; + +/** + * This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. + */ +export const CustomFieldTypeJson = { + OpenEndedTextDateTime: "Open Ended Text - Date/Time", + OpenEndedTextOneLine: "Open Ended Text - One Line", + OpenEndedTextCommentBox: "Open Ended Text - Comment Box", + ChoiceSingleAnswer: "Choice - Single Answer", + ChoiceMultipleAnswers: "Choice - Multiple Answers", + AutoIncrement: "Auto-Increment", +} as const; +/** + * This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. + */ +export type CustomFieldTypeJson = ClosedEnum; + +/** @internal */ +export const CustomFieldTypeJson$inboundSchema: z.ZodNativeEnum< + typeof CustomFieldTypeJson +> = z.nativeEnum(CustomFieldTypeJson); +/** @internal */ +export const CustomFieldTypeJson$outboundSchema: z.ZodNativeEnum< + typeof CustomFieldTypeJson +> = CustomFieldTypeJson$inboundSchema; diff --git a/packages/typescript/src/models/components/customfieldtypejson1.ts b/packages/typescript/src/models/components/customfieldtypejson1.ts deleted file mode 100644 index f894a8bec..000000000 --- a/packages/typescript/src/models/components/customfieldtypejson1.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. - */ -export const CustomFieldTypeJson1 = { - OpenEndedTextDateTime: "Open Ended Text - Date/Time", - OpenEndedTextOneLine: "Open Ended Text - One Line", - OpenEndedTextCommentBox: "Open Ended Text - Comment Box", - ChoiceSingleAnswer: "Choice - Single Answer", - ChoiceMultipleAnswers: "Choice - Multiple Answers", - AutoIncrement: "Auto-Increment", -} as const; -/** - * This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. - */ -export type CustomFieldTypeJson1 = ClosedEnum; - -/** @internal */ -export const CustomFieldTypeJson1$inboundSchema: z.ZodNativeEnum< - typeof CustomFieldTypeJson1 -> = z.nativeEnum(CustomFieldTypeJson1); -/** @internal */ -export const CustomFieldTypeJson1$outboundSchema: z.ZodNativeEnum< - typeof CustomFieldTypeJson1 -> = CustomFieldTypeJson1$inboundSchema; diff --git a/packages/typescript/src/models/components/customquestionanswerjson0.ts b/packages/typescript/src/models/components/customquestionanswerjson0.ts deleted file mode 100644 index d9343adbe..000000000 --- a/packages/typescript/src/models/components/customquestionanswerjson0.ts +++ /dev/null @@ -1,72 +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"; - -/** - * Travel account that the proposal is responding to. - */ -export type CustomQuestionAnswerJson0Question = { - /** - * The unique ID of the question. - */ - id?: string | undefined; -}; - -/** - * Represents custom question associated with a travel proposal. - */ -export type CustomQuestionAnswerJson0 = { - /** - * Travel account that the proposal is responding to. - */ - question?: CustomQuestionAnswerJson0Question | undefined; - /** - * Hotel's answer to the program's custom question. - */ - answer?: string | undefined; -}; - -/** @internal */ -export const CustomQuestionAnswerJson0Question$inboundSchema: z.ZodType< - CustomQuestionAnswerJson0Question, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function customQuestionAnswerJson0QuestionFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CustomQuestionAnswerJson0Question$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CustomQuestionAnswerJson0Question' from JSON`, - ); -} - -/** @internal */ -export const CustomQuestionAnswerJson0$inboundSchema: z.ZodType< - CustomQuestionAnswerJson0, - z.ZodTypeDef, - unknown -> = z.object({ - question: z.lazy(() => CustomQuestionAnswerJson0Question$inboundSchema) - .optional(), - answer: z.string().optional(), -}); - -export function customQuestionAnswerJson0FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CustomQuestionAnswerJson0$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CustomQuestionAnswerJson0' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/dateanswerformat.ts b/packages/typescript/src/models/components/dateanswerformat.ts new file mode 100644 index 000000000..3b308ee5a --- /dev/null +++ b/packages/typescript/src/models/components/dateanswerformat.ts @@ -0,0 +1,24 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. `DateTime`: Answer format is stored in DateTime format. `Time`: Answer format is stored in Time format. + */ +export const DateAnswerFormat = { + Date: "Date", + DateTime: "DateTime", + Time: "Time", +} as const; +/** + * The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. `DateTime`: Answer format is stored in DateTime format. `Time`: Answer format is stored in Time format. + */ +export type DateAnswerFormat = ClosedEnum; + +/** @internal */ +export const DateAnswerFormat$inboundSchema: z.ZodNativeEnum< + typeof DateAnswerFormat +> = z.nativeEnum(DateAnswerFormat); diff --git a/packages/typescript/src/models/components/dateanswerformatjson.ts b/packages/typescript/src/models/components/dateanswerformatjson.ts deleted file mode 100644 index 0ffb461c0..000000000 --- a/packages/typescript/src/models/components/dateanswerformatjson.ts +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. `DateTime`: Answer format is stored in DateTime format. `Time`: Answer format is stored in Time format. - */ -export const DateAnswerFormatJson = { - Date: "Date", - DateTime: "DateTime", - Time: "Time", -} as const; -/** - * The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. `DateTime`: Answer format is stored in DateTime format. `Time`: Answer format is stored in Time format. - */ -export type DateAnswerFormatJson = ClosedEnum; - -/** @internal */ -export const DateAnswerFormatJson$inboundSchema: z.ZodNativeEnum< - typeof DateAnswerFormatJson -> = z.nativeEnum(DateAnswerFormatJson); diff --git a/packages/typescript/src/models/components/datepattern1.ts b/packages/typescript/src/models/components/datepattern1.ts new file mode 100644 index 000000000..1ce483f6b --- /dev/null +++ b/packages/typescript/src/models/components/datepattern1.ts @@ -0,0 +1,65 @@ +/* + * 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 { RFCDate } from "../../types/rfcdate.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { Dates1, Dates1$inboundSchema } from "./dates1.js"; +import { DayOfWeek, DayOfWeek$inboundSchema } from "./dayofweek.js"; + +/** + * Date pattern for days on which event can occur. Used when dateMode is DATE_PATTERN. + */ +export type DatePattern1 = { + /** + * Note along with date pattern requirements. + */ + note?: string | undefined; + /** + * The ISO 8601 end date of the event. + */ + endDate: RFCDate; + /** + * The ISO 8601 start date of the event. + */ + startDate: RFCDate; + /** + * Number of days the event will go on. + */ + durationDays: number; + /** + * Days of the week when event can start. + */ + startDays: Array; + /** + * List of dates generated based on the date pattern. + */ + generatedDates?: Array | undefined; +}; + +/** @internal */ +export const DatePattern1$inboundSchema: z.ZodType< + DatePattern1, + z.ZodTypeDef, + unknown +> = z.object({ + note: z.string().optional(), + endDate: z.string().transform(v => new RFCDate(v)), + startDate: z.string().transform(v => new RFCDate(v)), + durationDays: z.number().int(), + startDays: z.array(DayOfWeek$inboundSchema), + generatedDates: z.array(Dates1$inboundSchema).optional(), +}); + +export function datePattern1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DatePattern1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DatePattern1' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/datepatternjson0.ts b/packages/typescript/src/models/components/datepatternjson0.ts deleted file mode 100644 index 0edbf9b64..000000000 --- a/packages/typescript/src/models/components/datepatternjson0.ts +++ /dev/null @@ -1,68 +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 { RFCDate } from "../../types/rfcdate.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { DatesJson0, DatesJson0$inboundSchema } from "./datesjson0.js"; -import { - DayOfWeekJson0, - DayOfWeekJson0$inboundSchema, -} from "./dayofweekjson0.js"; - -/** - * Date pattern for days on which event can occur. Used when dateMode is DATE_PATTERN. - */ -export type DatePatternJson0 = { - /** - * Note along with date pattern requirements. - */ - note?: string | undefined; - /** - * The ISO 8601 end date of the event. - */ - endDate: RFCDate; - /** - * The ISO 8601 start date of the event. - */ - startDate: RFCDate; - /** - * Number of days the event will go on. - */ - durationDays: number; - /** - * Days of the week when event can start. - */ - startDays: Array; - /** - * List of dates generated based on the date pattern. - */ - generatedDates?: Array | undefined; -}; - -/** @internal */ -export const DatePatternJson0$inboundSchema: z.ZodType< - DatePatternJson0, - z.ZodTypeDef, - unknown -> = z.object({ - note: z.string().optional(), - endDate: z.string().transform(v => new RFCDate(v)), - startDate: z.string().transform(v => new RFCDate(v)), - durationDays: z.number().int(), - startDays: z.array(DayOfWeekJson0$inboundSchema), - generatedDates: z.array(DatesJson0$inboundSchema).optional(), -}); - -export function datePatternJson0FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DatePatternJson0$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DatePatternJson0' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/daterequirements1.ts b/packages/typescript/src/models/components/daterequirements1.ts new file mode 100644 index 000000000..9b63d263a --- /dev/null +++ b/packages/typescript/src/models/components/daterequirements1.ts @@ -0,0 +1,55 @@ +/* + * 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 { DatePattern1, DatePattern1$inboundSchema } from "./datepattern1.js"; +import { Dates1, Dates1$inboundSchema } from "./dates1.js"; +import { RfpDateMode, RfpDateMode$inboundSchema } from "./rfpdatemode.js"; + +/** + * Date requirements for the event. + */ +export type DateRequirements1 = { + /** + * RfpDateMode + */ + mode: RfpDateMode; + /** + * List of dates for the event. Can be used to provide set of alternate event dates when mode is ALTERNATE_DATE. + */ + alternateDates?: Array | undefined; + /** + * Date pattern for days on which event can occur. Used when dateMode is DATE_PATTERN. + */ + pattern?: DatePattern1 | undefined; + /** + * True indicates that the event requires a range of availability dates. + */ + availabilityRangeRequired: boolean; +}; + +/** @internal */ +export const DateRequirements1$inboundSchema: z.ZodType< + DateRequirements1, + z.ZodTypeDef, + unknown +> = z.object({ + mode: RfpDateMode$inboundSchema, + alternateDates: z.array(Dates1$inboundSchema).optional(), + pattern: DatePattern1$inboundSchema.optional(), + availabilityRangeRequired: z.boolean().default(false), +}); + +export function dateRequirements1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DateRequirements1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DateRequirements1' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/daterequirementsjson0.ts b/packages/typescript/src/models/components/daterequirementsjson0.ts deleted file mode 100644 index ccc28d6af..000000000 --- a/packages/typescript/src/models/components/daterequirementsjson0.ts +++ /dev/null @@ -1,61 +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 { - DatePatternJson0, - DatePatternJson0$inboundSchema, -} from "./datepatternjson0.js"; -import { DatesJson0, DatesJson0$inboundSchema } from "./datesjson0.js"; -import { - RfpDateModeJson0, - RfpDateModeJson0$inboundSchema, -} from "./rfpdatemodejson0.js"; - -/** - * Date requirements for the event. - */ -export type DateRequirementsJson0 = { - /** - * Way of specifying dates for the event. - */ - mode: RfpDateModeJson0; - /** - * List of dates for the event. Can be used to provide set of alternate event dates when mode is ALTERNATE_DATE. - */ - alternateDates?: Array | undefined; - /** - * Date pattern for days on which event can occur. Used when dateMode is DATE_PATTERN. - */ - pattern?: DatePatternJson0 | undefined; - /** - * True indicates that the event requires a range of availability dates. - */ - availabilityRangeRequired: boolean; -}; - -/** @internal */ -export const DateRequirementsJson0$inboundSchema: z.ZodType< - DateRequirementsJson0, - z.ZodTypeDef, - unknown -> = z.object({ - mode: RfpDateModeJson0$inboundSchema, - alternateDates: z.array(DatesJson0$inboundSchema).optional(), - pattern: DatePatternJson0$inboundSchema.optional(), - availabilityRangeRequired: z.boolean().default(false), -}); - -export function dateRequirementsJson0FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DateRequirementsJson0$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DateRequirementsJson0' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/dates1.ts b/packages/typescript/src/models/components/dates1.ts new file mode 100644 index 000000000..5173bd78a --- /dev/null +++ b/packages/typescript/src/models/components/dates1.ts @@ -0,0 +1,55 @@ +/* + * 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 { RFCDate } from "../../types/rfcdate.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * Dates on which event will occur. + */ +export type Dates1 = { + /** + * True indicates these are preferred dates. + */ + preferred?: boolean | undefined; + /** + * Unique identifier for dates. + */ + id?: string | undefined; + /** + * The ISO 8601 end date of the event. + */ + endDate?: RFCDate | undefined; + /** + * The ISO 8601 start date of the event. + */ + startDate?: RFCDate | undefined; + /** + * A note detailing the requirements for the dates. + */ + note?: string | undefined; +}; + +/** @internal */ +export const Dates1$inboundSchema: z.ZodType = z + .object({ + preferred: z.boolean().optional(), + id: z.string().optional(), + endDate: z.string().transform(v => new RFCDate(v)).optional(), + startDate: z.string().transform(v => new RFCDate(v)).optional(), + note: z.string().optional(), + }); + +export function dates1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Dates1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Dates1' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/datesjson0.ts b/packages/typescript/src/models/components/datesjson0.ts deleted file mode 100644 index 9e5a7e111..000000000 --- a/packages/typescript/src/models/components/datesjson0.ts +++ /dev/null @@ -1,58 +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 { RFCDate } from "../../types/rfcdate.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * Dates on which event will occur. - */ -export type DatesJson0 = { - /** - * True indicates these are preferred dates. - */ - preferred?: boolean | undefined; - /** - * Unique identifier for dates. - */ - id?: string | undefined; - /** - * The ISO 8601 end date of the event. - */ - endDate?: RFCDate | undefined; - /** - * The ISO 8601 start date of the event. - */ - startDate?: RFCDate | undefined; - /** - * A note detailing the requirements for the dates. - */ - note?: string | undefined; -}; - -/** @internal */ -export const DatesJson0$inboundSchema: z.ZodType< - DatesJson0, - z.ZodTypeDef, - unknown -> = z.object({ - preferred: z.boolean().optional(), - id: z.string().optional(), - endDate: z.string().transform(v => new RFCDate(v)).optional(), - startDate: z.string().transform(v => new RFCDate(v)).optional(), - note: z.string().optional(), -}); - -export function datesJson0FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DatesJson0$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DatesJson0' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/datetypejson.ts b/packages/typescript/src/models/components/datetypejson.ts new file mode 100644 index 000000000..f359d8e91 --- /dev/null +++ b/packages/typescript/src/models/components/datetypejson.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"; + +/** + * The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). + */ +export const DateTypeJson = { + Preferred: "PREFERRED", + Alternate1: "ALTERNATE_1", + Alternate2: "ALTERNATE_2", + Alternate3: "ALTERNATE_3", + Alternate4: "ALTERNATE_4", + Alternate5: "ALTERNATE_5", + Alternate6: "ALTERNATE_6", + Alternate7: "ALTERNATE_7", + Alternate8: "ALTERNATE_8", + Alternate9: "ALTERNATE_9", + Alternate10: "ALTERNATE_10", + Alternate11: "ALTERNATE_11", + Alternate12: "ALTERNATE_12", +} as const; +/** + * The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). + */ +export type DateTypeJson = ClosedEnum; + +/** @internal */ +export const DateTypeJson$inboundSchema: z.ZodNativeEnum = + z.nativeEnum(DateTypeJson); +/** @internal */ +export const DateTypeJson$outboundSchema: z.ZodNativeEnum = + DateTypeJson$inboundSchema; diff --git a/packages/typescript/src/models/components/datetypejson1.ts b/packages/typescript/src/models/components/datetypejson1.ts deleted file mode 100644 index d3c899a5b..000000000 --- a/packages/typescript/src/models/components/datetypejson1.ts +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). - */ -export const DateTypeJson1 = { - Preferred: "PREFERRED", - Alternate1: "ALTERNATE_1", - Alternate2: "ALTERNATE_2", - Alternate3: "ALTERNATE_3", - Alternate4: "ALTERNATE_4", - Alternate5: "ALTERNATE_5", - Alternate6: "ALTERNATE_6", - Alternate7: "ALTERNATE_7", - Alternate8: "ALTERNATE_8", - Alternate9: "ALTERNATE_9", - Alternate10: "ALTERNATE_10", - Alternate11: "ALTERNATE_11", - Alternate12: "ALTERNATE_12", -} as const; -/** - * The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). - */ -export type DateTypeJson1 = ClosedEnum; - -/** @internal */ -export const DateTypeJson1$inboundSchema: z.ZodNativeEnum< - typeof DateTypeJson1 -> = z.nativeEnum(DateTypeJson1); -/** @internal */ -export const DateTypeJson1$outboundSchema: z.ZodNativeEnum< - typeof DateTypeJson1 -> = DateTypeJson1$inboundSchema; diff --git a/packages/typescript/src/models/components/dayofweek.ts b/packages/typescript/src/models/components/dayofweek.ts new file mode 100644 index 000000000..262c9e1d1 --- /dev/null +++ b/packages/typescript/src/models/components/dayofweek.ts @@ -0,0 +1,27 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * DayOfWeek + */ +export const DayOfWeek = { + Sunday: "SUNDAY", + Monday: "MONDAY", + Tuesday: "TUESDAY", + Wednesday: "WEDNESDAY", + Thursday: "THURSDAY", + Friday: "FRIDAY", + Saturday: "SATURDAY", +} as const; +/** + * DayOfWeek + */ +export type DayOfWeek = ClosedEnum; + +/** @internal */ +export const DayOfWeek$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(DayOfWeek); diff --git a/packages/typescript/src/models/components/dayofweekjson0.ts b/packages/typescript/src/models/components/dayofweekjson0.ts deleted file mode 100644 index 5c86483ad..000000000 --- a/packages/typescript/src/models/components/dayofweekjson0.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Day of week. - */ -export const DayOfWeekJson0 = { - Sunday: "SUNDAY", - Monday: "MONDAY", - Tuesday: "TUESDAY", - Wednesday: "WEDNESDAY", - Thursday: "THURSDAY", - Friday: "FRIDAY", - Saturday: "SATURDAY", -} as const; -/** - * Day of week. - */ -export type DayOfWeekJson0 = ClosedEnum; - -/** @internal */ -export const DayOfWeekJson0$inboundSchema: z.ZodNativeEnum< - typeof DayOfWeekJson0 -> = z.nativeEnum(DayOfWeekJson0); diff --git a/packages/typescript/src/models/components/device1.ts b/packages/typescript/src/models/components/device1.ts new file mode 100644 index 000000000..d37783f8a --- /dev/null +++ b/packages/typescript/src/models/components/device1.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 { DeviceType, DeviceType$inboundSchema } from "./devicetype.js"; + +/** + * The device details used to watched a video. This field has been deprecated. + * + * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible. + */ +export type Device1 = { + /** + * The unique ID of the device the viewer used to watch the video. + */ + id?: string | undefined; + /** + * The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. + */ + type?: DeviceType | undefined; + /** + * The device's operating system. + */ + operatingSystem?: string | undefined; +}; + +/** @internal */ +export const Device1$inboundSchema: z.ZodType = + z.object({ + id: z.string().optional(), + type: DeviceType$inboundSchema.optional(), + operatingSystem: z.string().optional(), + }); + +export function device1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Device1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Device1' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/devicejson.ts b/packages/typescript/src/models/components/devicejson.ts deleted file mode 100644 index c49c8a6f9..000000000 --- a/packages/typescript/src/models/components/devicejson.ts +++ /dev/null @@ -1,53 +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 { - DeviceTypeJson, - DeviceTypeJson$inboundSchema, -} from "./devicetypejson.js"; - -/** - * The device details used to watched a video. This field has been deprecated. - * - * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible. - */ -export type DeviceJson = { - /** - * The unique ID of the device the viewer used to watch the video. - */ - id?: string | undefined; - /** - * The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. - */ - type?: DeviceTypeJson | undefined; - /** - * The device's operating system. - */ - operatingSystem?: string | undefined; -}; - -/** @internal */ -export const DeviceJson$inboundSchema: z.ZodType< - DeviceJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - type: DeviceTypeJson$inboundSchema.optional(), - operatingSystem: z.string().optional(), -}); - -export function deviceJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DeviceJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DeviceJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/devicetype.ts b/packages/typescript/src/models/components/devicetype.ts new file mode 100644 index 000000000..3a13efa94 --- /dev/null +++ b/packages/typescript/src/models/components/devicetype.ts @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. + */ +export const DeviceType = { + Desktop: "DESKTOP", + Mobile: "MOBILE", + Tablet: "TABLET", +} as const; +/** + * The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. + */ +export type DeviceType = ClosedEnum; + +/** @internal */ +export const DeviceType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(DeviceType); diff --git a/packages/typescript/src/models/components/devicetypejson.ts b/packages/typescript/src/models/components/devicetypejson.ts deleted file mode 100644 index 29f581fe0..000000000 --- a/packages/typescript/src/models/components/devicetypejson.ts +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. - */ -export const DeviceTypeJson = { - Desktop: "DESKTOP", - Mobile: "MOBILE", - Tablet: "TABLET", -} as const; -/** - * The device used to watch the video. Videos can be viewed on desktop, mobile or tablet. - */ -export type DeviceTypeJson = ClosedEnum; - -/** @internal */ -export const DeviceTypeJson$inboundSchema: z.ZodNativeEnum< - typeof DeviceTypeJson -> = z.nativeEnum(DeviceTypeJson); diff --git a/packages/typescript/src/models/components/displaytype.ts b/packages/typescript/src/models/components/displaytype.ts new file mode 100644 index 000000000..b7306ddd6 --- /dev/null +++ b/packages/typescript/src/models/components/displaytype.ts @@ -0,0 +1,26 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: It is associated with drop down type questions. `Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list type questions. `MultiSelectBox`: It is associated with multi select box type questions. `Vertical`: It is associated with vertical type questions. + */ +export const DisplayType = { + Bar: "Bar", + DropDown: "DropDown", + Horizontal: "Horizontal", + List: "List", + MultiSelectBox: "MultiSelectBox", + Vertical: "Vertical", +} as const; +/** + * The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: It is associated with drop down type questions. `Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list type questions. `MultiSelectBox`: It is associated with multi select box type questions. `Vertical`: It is associated with vertical type questions. + */ +export type DisplayType = ClosedEnum; + +/** @internal */ +export const DisplayType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(DisplayType); diff --git a/packages/typescript/src/models/components/displaytypejson.ts b/packages/typescript/src/models/components/displaytypejson.ts deleted file mode 100644 index ca6933f27..000000000 --- a/packages/typescript/src/models/components/displaytypejson.ts +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: It is associated with drop down type questions. `Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list type questions. `MultiSelectBox`: It is associated with multi select box type questions. `Vertical`: It is associated with vertical type questions. - */ -export const DisplayTypeJson = { - Bar: "Bar", - DropDown: "DropDown", - Horizontal: "Horizontal", - List: "List", - MultiSelectBox: "MultiSelectBox", - Vertical: "Vertical", -} as const; -/** - * The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: It is associated with drop down type questions. `Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list type questions. `MultiSelectBox`: It is associated with multi select box type questions. `Vertical`: It is associated with vertical type questions. - */ -export type DisplayTypeJson = ClosedEnum; - -/** @internal */ -export const DisplayTypeJson$inboundSchema: z.ZodNativeEnum< - typeof DisplayTypeJson -> = z.nativeEnum(DisplayTypeJson); diff --git a/packages/typescript/src/models/components/distancejson.ts b/packages/typescript/src/models/components/distancejson.ts new file mode 100644 index 000000000..d1d8570f3 --- /dev/null +++ b/packages/typescript/src/models/components/distancejson.ts @@ -0,0 +1,62 @@ +/* + * 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"; + +/** + * Unit of measurement for the distance. + */ +export const DistanceUnit = { + Kilometers: "Kilometers", + Meters: "Meters", + Miles: "Miles", + Yards: "Yards", + Blocks: "Blocks", +} as const; +/** + * Unit of measurement for the distance. + */ +export type DistanceUnit = ClosedEnum; + +/** + * Distance information. + */ +export type DistanceJson = { + /** + * Distance from the hotel to the venue. + */ + distance: number; + /** + * Unit of measurement for the distance. + */ + distanceUnit: DistanceUnit; +}; + +/** @internal */ +export const DistanceUnit$inboundSchema: z.ZodNativeEnum = + z.nativeEnum(DistanceUnit); + +/** @internal */ +export const DistanceJson$inboundSchema: z.ZodType< + DistanceJson, + z.ZodTypeDef, + unknown +> = z.object({ + distance: z.number(), + distanceUnit: DistanceUnit$inboundSchema, +}); + +export function distanceJsonFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DistanceJson$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DistanceJson' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/distancejson1.ts b/packages/typescript/src/models/components/distancejson1.ts deleted file mode 100644 index 87bce8073..000000000 --- a/packages/typescript/src/models/components/distancejson1.ts +++ /dev/null @@ -1,62 +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 { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * Unit of measurement for the distance. - */ -export const DistanceUnit = { - Kilometers: "Kilometers", - Meters: "Meters", - Miles: "Miles", - Yards: "Yards", - Blocks: "Blocks", -} as const; -/** - * Unit of measurement for the distance. - */ -export type DistanceUnit = ClosedEnum; - -/** - * Distance information. - */ -export type DistanceJson1 = { - /** - * Distance from the hotel to the venue. - */ - distance: number; - /** - * Unit of measurement for the distance. - */ - distanceUnit: DistanceUnit; -}; - -/** @internal */ -export const DistanceUnit$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(DistanceUnit); - -/** @internal */ -export const DistanceJson1$inboundSchema: z.ZodType< - DistanceJson1, - z.ZodTypeDef, - unknown -> = z.object({ - distance: z.number(), - distanceUnit: DistanceUnit$inboundSchema, -}); - -export function distanceJson1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DistanceJson1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DistanceJson1' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/distributionlistinfo.ts b/packages/typescript/src/models/components/distributionlistinfo.ts new file mode 100644 index 000000000..ecc11eded --- /dev/null +++ b/packages/typescript/src/models/components/distributionlistinfo.ts @@ -0,0 +1,55 @@ +/* + * 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 { + DistributionListSecurityType, + DistributionListSecurityType$inboundSchema, +} from "./distributionlistsecuritytype.js"; +import { + DistributionListStatus, + DistributionListStatus$inboundSchema, +} from "./distributionliststatus.js"; + +/** + * Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. + */ +export type DistributionListInfo = { + /** + * Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. + */ + securityType?: DistributionListSecurityType | undefined; + /** + * Internal note for Distribution Lists. + */ + internalNote?: string | undefined; + /** + * Type of distribution list status. + */ + status?: DistributionListStatus | undefined; +}; + +/** @internal */ +export const DistributionListInfo$inboundSchema: z.ZodType< + DistributionListInfo, + z.ZodTypeDef, + unknown +> = z.object({ + securityType: DistributionListSecurityType$inboundSchema.optional(), + internalNote: z.string().optional(), + status: DistributionListStatus$inboundSchema.optional(), +}); + +export function distributionListInfoFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DistributionListInfo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DistributionListInfo' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/distributionlistinfoinput.ts b/packages/typescript/src/models/components/distributionlistinfoinput.ts new file mode 100644 index 000000000..3150fd6ed --- /dev/null +++ b/packages/typescript/src/models/components/distributionlistinfoinput.ts @@ -0,0 +1,47 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { + DistributionListSecurityType, + DistributionListSecurityType$outboundSchema, +} from "./distributionlistsecuritytype.js"; + +/** + * Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. + */ +export type DistributionListInfoInput = { + /** + * Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. + */ + securityType?: DistributionListSecurityType | undefined; + /** + * Internal note for Distribution Lists. + */ + internalNote?: string | undefined; +}; + +/** @internal */ +export type DistributionListInfoInput$Outbound = { + securityType?: string | undefined; + internalNote?: string | undefined; +}; + +/** @internal */ +export const DistributionListInfoInput$outboundSchema: z.ZodType< + DistributionListInfoInput$Outbound, + z.ZodTypeDef, + DistributionListInfoInput +> = z.object({ + securityType: DistributionListSecurityType$outboundSchema.optional(), + internalNote: z.string().optional(), +}); + +export function distributionListInfoInputToJSON( + distributionListInfoInput: DistributionListInfoInput, +): string { + return JSON.stringify( + DistributionListInfoInput$outboundSchema.parse(distributionListInfoInput), + ); +} diff --git a/packages/typescript/src/models/components/distributionlistinfojson.ts b/packages/typescript/src/models/components/distributionlistinfojson.ts deleted file mode 100644 index c0d83858c..000000000 --- a/packages/typescript/src/models/components/distributionlistinfojson.ts +++ /dev/null @@ -1,55 +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 { - DistributionListSecurityTypeJson, - DistributionListSecurityTypeJson$inboundSchema, -} from "./distributionlistsecuritytypejson.js"; -import { - DistributionListStatusJson, - DistributionListStatusJson$inboundSchema, -} from "./distributionliststatusjson.js"; - -/** - * Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. - */ -export type DistributionListInfoJson = { - /** - * Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. - */ - securityType?: DistributionListSecurityTypeJson | undefined; - /** - * Internal note for Distribution Lists. - */ - internalNote?: string | undefined; - /** - * Type of distribution list status. - */ - status?: DistributionListStatusJson | undefined; -}; - -/** @internal */ -export const DistributionListInfoJson$inboundSchema: z.ZodType< - DistributionListInfoJson, - z.ZodTypeDef, - unknown -> = z.object({ - securityType: DistributionListSecurityTypeJson$inboundSchema.optional(), - internalNote: z.string().optional(), - status: DistributionListStatusJson$inboundSchema.optional(), -}); - -export function distributionListInfoJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DistributionListInfoJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DistributionListInfoJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/distributionlistinfojsoninput.ts b/packages/typescript/src/models/components/distributionlistinfojsoninput.ts deleted file mode 100644 index e41d03906..000000000 --- a/packages/typescript/src/models/components/distributionlistinfojsoninput.ts +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { - DistributionListSecurityTypeJson, - DistributionListSecurityTypeJson$outboundSchema, -} from "./distributionlistsecuritytypejson.js"; - -/** - * Model representing a distribution list info. Only required if the contact group type is DISTRIBUTION_LIST. - */ -export type DistributionListInfoJsonInput = { - /** - * Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. - */ - securityType?: DistributionListSecurityTypeJson | undefined; - /** - * Internal note for Distribution Lists. - */ - internalNote?: string | undefined; -}; - -/** @internal */ -export type DistributionListInfoJsonInput$Outbound = { - securityType?: string | undefined; - internalNote?: string | undefined; -}; - -/** @internal */ -export const DistributionListInfoJsonInput$outboundSchema: z.ZodType< - DistributionListInfoJsonInput$Outbound, - z.ZodTypeDef, - DistributionListInfoJsonInput -> = z.object({ - securityType: DistributionListSecurityTypeJson$outboundSchema.optional(), - internalNote: z.string().optional(), -}); - -export function distributionListInfoJsonInputToJSON( - distributionListInfoJsonInput: DistributionListInfoJsonInput, -): string { - return JSON.stringify( - DistributionListInfoJsonInput$outboundSchema.parse( - distributionListInfoJsonInput, - ), - ); -} diff --git a/packages/typescript/src/models/components/distributionlistsecuritytype.ts b/packages/typescript/src/models/components/distributionlistsecuritytype.ts new file mode 100644 index 000000000..9eabf1bde --- /dev/null +++ b/packages/typescript/src/models/components/distributionlistsecuritytype.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"; + +/** + * Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. + */ +export const DistributionListSecurityType = { + Private: "PRIVATE", + SemiPrivate: "SEMI_PRIVATE", + Public: "PUBLIC", +} as const; +/** + * Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. + */ +export type DistributionListSecurityType = ClosedEnum< + typeof DistributionListSecurityType +>; + +/** @internal */ +export const DistributionListSecurityType$inboundSchema: z.ZodNativeEnum< + typeof DistributionListSecurityType +> = z.nativeEnum(DistributionListSecurityType); +/** @internal */ +export const DistributionListSecurityType$outboundSchema: z.ZodNativeEnum< + typeof DistributionListSecurityType +> = DistributionListSecurityType$inboundSchema; diff --git a/packages/typescript/src/models/components/distributionlistsecuritytypejson.ts b/packages/typescript/src/models/components/distributionlistsecuritytypejson.ts deleted file mode 100644 index ee5800d1b..000000000 --- a/packages/typescript/src/models/components/distributionlistsecuritytypejson.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. - */ -export const DistributionListSecurityTypeJson = { - Private: "PRIVATE", - SemiPrivate: "SEMI_PRIVATE", - Public: "PUBLIC", -} as const; -/** - * Type of distribution list security. For a public list, contacts can sign up themselves. For a semi-private list, contacts can add themselves, but a planner must approve their membership before they can receive emails. For a private list, only planners can add contacts. Contacts can always remove themselves from lists on the Manage Profile page. - */ -export type DistributionListSecurityTypeJson = ClosedEnum< - typeof DistributionListSecurityTypeJson ->; - -/** @internal */ -export const DistributionListSecurityTypeJson$inboundSchema: z.ZodNativeEnum< - typeof DistributionListSecurityTypeJson -> = z.nativeEnum(DistributionListSecurityTypeJson); -/** @internal */ -export const DistributionListSecurityTypeJson$outboundSchema: z.ZodNativeEnum< - typeof DistributionListSecurityTypeJson -> = DistributionListSecurityTypeJson$inboundSchema; diff --git a/packages/typescript/src/models/components/distributionliststatus.ts b/packages/typescript/src/models/components/distributionliststatus.ts new file mode 100644 index 000000000..2a2baa739 --- /dev/null +++ b/packages/typescript/src/models/components/distributionliststatus.ts @@ -0,0 +1,24 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Type of distribution list status. + */ +export const DistributionListStatus = { + Pending: "PENDING", + Processing: "PROCESSING", + Complete: "COMPLETE", +} as const; +/** + * Type of distribution list status. + */ +export type DistributionListStatus = ClosedEnum; + +/** @internal */ +export const DistributionListStatus$inboundSchema: z.ZodNativeEnum< + typeof DistributionListStatus +> = z.nativeEnum(DistributionListStatus); diff --git a/packages/typescript/src/models/components/distributionliststatusjson.ts b/packages/typescript/src/models/components/distributionliststatusjson.ts deleted file mode 100644 index 1a93f1b61..000000000 --- a/packages/typescript/src/models/components/distributionliststatusjson.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Type of distribution list status. - */ -export const DistributionListStatusJson = { - Pending: "PENDING", - Processing: "PROCESSING", - Complete: "COMPLETE", -} as const; -/** - * Type of distribution list status. - */ -export type DistributionListStatusJson = ClosedEnum< - typeof DistributionListStatusJson ->; - -/** @internal */ -export const DistributionListStatusJson$inboundSchema: z.ZodNativeEnum< - typeof DistributionListStatusJson -> = z.nativeEnum(DistributionListStatusJson); diff --git a/packages/typescript/src/models/components/documenttype1.ts b/packages/typescript/src/models/components/documenttype1.ts new file mode 100644 index 000000000..ce642bf85 --- /dev/null +++ b/packages/typescript/src/models/components/documenttype1.ts @@ -0,0 +1,54 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * The document type. + */ +export const DocumentType1 = { + Ai: "AI", + Avi: "AVI", + Bmp: "BMP", + Doc: "DOC", + Docx: "DOCX", + Eml: "EML", + Eps: "EPS", + Flv: "FLV", + Gif: "GIF", + Htm: "HTM", + Html: "HTML", + Ics: "ICS", + Jfif: "JFIF", + Jpeg: "JPEG", + Jpg: "JPG", + Link: "LINK", + Mov: "MOV", + Mp4: "MP4", + Msg: "MSG", + One: "ONE", + Ost: "OST", + Pdf: "PDF", + Png: "PNG", + Ppt: "PPT", + Pptx: "PPTX", + Pst: "PST", + Svg: "SVG", + Tif: "TIF", + Tiff: "TIFF", + Txt: "TXT", + Wmv: "WMV", + Xls: "XLS", + Xlsx: "XLSX", +} as const; +/** + * The document type. + */ +export type DocumentType1 = ClosedEnum; + +/** @internal */ +export const DocumentType1$inboundSchema: z.ZodNativeEnum< + typeof DocumentType1 +> = z.nativeEnum(DocumentType1); diff --git a/packages/typescript/src/models/components/documenttypejson0.ts b/packages/typescript/src/models/components/documenttypejson0.ts deleted file mode 100644 index d4b2c0135..000000000 --- a/packages/typescript/src/models/components/documenttypejson0.ts +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * The document type. - */ -export const DocumentTypeJson0 = { - Ai: "AI", - Avi: "AVI", - Bmp: "BMP", - Doc: "DOC", - Docx: "DOCX", - Eml: "EML", - Eps: "EPS", - Flv: "FLV", - Gif: "GIF", - Htm: "HTM", - Html: "HTML", - Ics: "ICS", - Jfif: "JFIF", - Jpeg: "JPEG", - Jpg: "JPG", - Link: "LINK", - Mov: "MOV", - Mp4: "MP4", - Msg: "MSG", - One: "ONE", - Ost: "OST", - Pdf: "PDF", - Png: "PNG", - Ppt: "PPT", - Pptx: "PPTX", - Pst: "PST", - Svg: "SVG", - Tif: "TIF", - Tiff: "TIFF", - Txt: "TXT", - Wmv: "WMV", - Xls: "XLS", - Xlsx: "XLSX", -} as const; -/** - * The document type. - */ -export type DocumentTypeJson0 = ClosedEnum; - -/** @internal */ -export const DocumentTypeJson0$inboundSchema: z.ZodNativeEnum< - typeof DocumentTypeJson0 -> = z.nativeEnum(DocumentTypeJson0); diff --git a/packages/typescript/src/models/components/emailhistoryjson.ts b/packages/typescript/src/models/components/emailhistoryjson.ts index b627ce941..8e7ad4af9 100644 --- a/packages/typescript/src/models/components/emailhistoryjson.ts +++ b/packages/typescript/src/models/components/emailhistoryjson.ts @@ -11,9 +11,9 @@ import { EmailStatusJson$inboundSchema, } from "./emailstatusjson.js"; import { - EmailTypeJson3, - EmailTypeJson3$inboundSchema, -} from "./emailtypejson3.js"; + EmailTypeJson1, + EmailTypeJson1$inboundSchema, +} from "./emailtypejson1.js"; /** * Event Id for email history record. @@ -96,7 +96,7 @@ export type EmailHistoryJson = { /** * Denotes the type of the email. */ - type?: EmailTypeJson3 | undefined; + type?: EmailTypeJson1 | undefined; /** * The ISO 8601 zoned date time when this email was sent. */ @@ -208,7 +208,7 @@ export const EmailHistoryJson$inboundSchema: z.ZodType< subject: z.string().optional(), from: z.string().optional(), to: z.string().optional(), - type: EmailTypeJson3$inboundSchema.optional(), + type: EmailTypeJson1$inboundSchema.optional(), sent: z.string().datetime({ offset: true }).transform(v => new Date(v)) .optional(), status: EmailStatusJson$inboundSchema.optional(), diff --git a/packages/typescript/src/models/components/emailjson1.ts b/packages/typescript/src/models/components/emailjson1.ts index 7b49c27b9..2beeebbaa 100644 --- a/packages/typescript/src/models/components/emailjson1.ts +++ b/packages/typescript/src/models/components/emailjson1.ts @@ -7,10 +7,10 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - EmailTypeJson1, - EmailTypeJson1$inboundSchema, - EmailTypeJson1$outboundSchema, -} from "./emailtypejson1.js"; + EmailTypeJson, + EmailTypeJson$inboundSchema, + EmailTypeJson$outboundSchema, +} from "./emailtypejson.js"; /** * Email @@ -19,7 +19,7 @@ export type EmailJson1 = { /** * The type of the email. */ - type?: EmailTypeJson1 | undefined; + type?: EmailTypeJson | undefined; /** * The email of the user. */ @@ -36,7 +36,7 @@ export const EmailJson1$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - type: EmailTypeJson1$inboundSchema.default("work"), + type: EmailTypeJson$inboundSchema.default("work"), value: z.string(), primary: z.boolean().default(false), }); @@ -53,7 +53,7 @@ export const EmailJson1$outboundSchema: z.ZodType< z.ZodTypeDef, EmailJson1 > = z.object({ - type: EmailTypeJson1$outboundSchema.default("work"), + type: EmailTypeJson$outboundSchema.default("work"), value: z.string(), primary: z.boolean().default(false), }); diff --git a/packages/typescript/src/models/components/emailtypejson.ts b/packages/typescript/src/models/components/emailtypejson.ts new file mode 100644 index 000000000..d136c971f --- /dev/null +++ b/packages/typescript/src/models/components/emailtypejson.ts @@ -0,0 +1,27 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * The type of the email. + */ +export const EmailTypeJson = { + Work: "work", + Home: "home", +} as const; +/** + * The type of the email. + */ +export type EmailTypeJson = ClosedEnum; + +/** @internal */ +export const EmailTypeJson$inboundSchema: z.ZodNativeEnum< + typeof EmailTypeJson +> = z.nativeEnum(EmailTypeJson); +/** @internal */ +export const EmailTypeJson$outboundSchema: z.ZodNativeEnum< + typeof EmailTypeJson +> = EmailTypeJson$inboundSchema; diff --git a/packages/typescript/src/models/components/emailtypejson1.ts b/packages/typescript/src/models/components/emailtypejson1.ts index 2b44d46d8..8af33821e 100644 --- a/packages/typescript/src/models/components/emailtypejson1.ts +++ b/packages/typescript/src/models/components/emailtypejson1.ts @@ -6,14 +6,75 @@ import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; /** - * The type of the email. + * Denotes the type of the email. */ export const EmailTypeJson1 = { - Work: "work", - Home: "home", + Invitation: "Invitation", + InvitationReminder: "Invitation Reminder", + RegistrationConfirmation: "Registration Confirmation", + Regret: "Regret", + PostEventFeedback: "Post Event Feedback", + CustomInviteeMessage: "Custom Invitee Message", + CustomDeclineeMessage: "Custom Declinee Message", + EventReminder: "Event Reminder", + CustomAttendeeMessage: "Custom Attendee Message", + CustomOneTimeMessage: "Custom One-Time Message", + PlannerReport: "Planner Report", + EventUpdate: "Event Update", + CustomUndecidedMessage: "Custom Undecided Message", + CustomAttendedMessage: "Custom Attended Message", + ModificationConfirmation: "Modification Confirmation", + CancellationConfirmation: "Cancellation Confirmation", + GuestEventReminder: "Guest Event Reminder", + GuestRegistrationNotification: "Guest Registration Notification", + CustomGuestMessage: "Custom Guest Message", + GuestPostEventFeedback: "Guest Post Event Feedback", + InviteeSessionEmail: "Invitee Session Email", + GuestSessionEmail: "Guest Session Email", + ApprovalPendingNotification: "Approval Pending Notification", + ApprovalDeniedNotification: "Approval Denied Notification", + AdministratorRegistrationConfirmation: + "Administrator Registration Confirmation", + CrowdCompassEventGuideInvitation: "CrowdCompass Event Guide Invitation", + CrowdCompassAppDownload: "CrowdCompass App Download", + WaitlistNotification: "Waitlist Notification", + SessionWaitlistNotification: "Session Waitlist Notification", + ShoulderDateNotification: "Shoulder Date Notification", + SelectedRoommateNotification: "Selected Roommate Notification", + MatchedRoommateNotification: "Matched Roommate Notification", + DeclinedRoommateNotification: "Declined Roommate Notification", + OnArrivalPostEventFeedback: "OnArrival Post Event Feedback", + OnArrivalGuestPostEventFeedback: "OnArrival Guest Post Event Feedback", + TravelModificationConfirmation: "Travel Modification Confirmation", + Custom: "Custom", + NewAppointment: "New Appointment", + AppointmentAccepted: "Appointment Accepted", + AppointmentDeclined: "Appointment Declined", + AppointmentCancelled: "Appointment Cancelled", + AppointmentEdited: "Appointment Edited", + PendingAppointmentReminder: "Pending Appointment Reminder", + UpcomingAppointmentReminder: "Upcoming Appointment Reminder", + AttendeeRemoved: "Attendee Removed", + OptInEmail: "Opt In Email", + ResourceCenterInvitation: "Resource Center Invitation", + SingleTaskReminder: "Single Task Reminder", + MobileAppInvitation: "Mobile App Invitation", + LoginVerificationCode: "Login Verification Code", + SaveTheDate: "Save The Date", + AllTasksReminder: "All Tasks Reminder", + ExhibitorAdminInvitation: "Exhibitor Admin Invitation", + ExhibitorAdminReminder: "Exhibitor Admin Reminder", + ExhibitorDeviceRentalAccessCode: "Exhibitor Device Rental Access Code", + ExhibitorAppLicenseAccessCode: "Exhibitor App License Access Code", + ExhibitorLeadsExport: "Exhibitor Leads Export", + StakeholderFeedbackInvitation: "Stakeholder Feedback Invitation", + ExhibitorTaskReminder: "Exhibitor Task Reminder", + LeadCaptureRequestedMaterials: "LeadCapture Requested Materials", + IntegrationAlerts: "Integration Alerts", + Unknown: "Unknown", } as const; /** - * The type of the email. + * Denotes the type of the email. */ export type EmailTypeJson1 = ClosedEnum; @@ -21,7 +82,3 @@ export type EmailTypeJson1 = ClosedEnum; export const EmailTypeJson1$inboundSchema: z.ZodNativeEnum< typeof EmailTypeJson1 > = z.nativeEnum(EmailTypeJson1); -/** @internal */ -export const EmailTypeJson1$outboundSchema: z.ZodNativeEnum< - typeof EmailTypeJson1 -> = EmailTypeJson1$inboundSchema; diff --git a/packages/typescript/src/models/components/emailtypejson3.ts b/packages/typescript/src/models/components/emailtypejson3.ts deleted file mode 100644 index 7c2b65de1..000000000 --- a/packages/typescript/src/models/components/emailtypejson3.ts +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Denotes the type of the email. - */ -export const EmailTypeJson3 = { - Invitation: "Invitation", - InvitationReminder: "Invitation Reminder", - RegistrationConfirmation: "Registration Confirmation", - Regret: "Regret", - PostEventFeedback: "Post Event Feedback", - CustomInviteeMessage: "Custom Invitee Message", - CustomDeclineeMessage: "Custom Declinee Message", - EventReminder: "Event Reminder", - CustomAttendeeMessage: "Custom Attendee Message", - CustomOneTimeMessage: "Custom One-Time Message", - PlannerReport: "Planner Report", - EventUpdate: "Event Update", - CustomUndecidedMessage: "Custom Undecided Message", - CustomAttendedMessage: "Custom Attended Message", - ModificationConfirmation: "Modification Confirmation", - CancellationConfirmation: "Cancellation Confirmation", - GuestEventReminder: "Guest Event Reminder", - GuestRegistrationNotification: "Guest Registration Notification", - CustomGuestMessage: "Custom Guest Message", - GuestPostEventFeedback: "Guest Post Event Feedback", - InviteeSessionEmail: "Invitee Session Email", - GuestSessionEmail: "Guest Session Email", - ApprovalPendingNotification: "Approval Pending Notification", - ApprovalDeniedNotification: "Approval Denied Notification", - AdministratorRegistrationConfirmation: - "Administrator Registration Confirmation", - CrowdCompassEventGuideInvitation: "CrowdCompass Event Guide Invitation", - CrowdCompassAppDownload: "CrowdCompass App Download", - WaitlistNotification: "Waitlist Notification", - SessionWaitlistNotification: "Session Waitlist Notification", - ShoulderDateNotification: "Shoulder Date Notification", - SelectedRoommateNotification: "Selected Roommate Notification", - MatchedRoommateNotification: "Matched Roommate Notification", - DeclinedRoommateNotification: "Declined Roommate Notification", - OnArrivalPostEventFeedback: "OnArrival Post Event Feedback", - OnArrivalGuestPostEventFeedback: "OnArrival Guest Post Event Feedback", - TravelModificationConfirmation: "Travel Modification Confirmation", - Custom: "Custom", - NewAppointment: "New Appointment", - AppointmentAccepted: "Appointment Accepted", - AppointmentDeclined: "Appointment Declined", - AppointmentCancelled: "Appointment Cancelled", - AppointmentEdited: "Appointment Edited", - PendingAppointmentReminder: "Pending Appointment Reminder", - UpcomingAppointmentReminder: "Upcoming Appointment Reminder", - AttendeeRemoved: "Attendee Removed", - OptInEmail: "Opt In Email", - ResourceCenterInvitation: "Resource Center Invitation", - SingleTaskReminder: "Single Task Reminder", - MobileAppInvitation: "Mobile App Invitation", - LoginVerificationCode: "Login Verification Code", - SaveTheDate: "Save The Date", - AllTasksReminder: "All Tasks Reminder", - ExhibitorAdminInvitation: "Exhibitor Admin Invitation", - ExhibitorAdminReminder: "Exhibitor Admin Reminder", - ExhibitorDeviceRentalAccessCode: "Exhibitor Device Rental Access Code", - ExhibitorAppLicenseAccessCode: "Exhibitor App License Access Code", - ExhibitorLeadsExport: "Exhibitor Leads Export", - StakeholderFeedbackInvitation: "Stakeholder Feedback Invitation", - ExhibitorTaskReminder: "Exhibitor Task Reminder", - LeadCaptureRequestedMaterials: "LeadCapture Requested Materials", - IntegrationAlerts: "Integration Alerts", - Unknown: "Unknown", -} as const; -/** - * Denotes the type of the email. - */ -export type EmailTypeJson3 = ClosedEnum; - -/** @internal */ -export const EmailTypeJson3$inboundSchema: z.ZodNativeEnum< - typeof EmailTypeJson3 -> = z.nativeEnum(EmailTypeJson3); diff --git a/packages/typescript/src/models/components/encodingprofile.ts b/packages/typescript/src/models/components/encodingprofile.ts new file mode 100644 index 000000000..5934ad9b5 --- /dev/null +++ b/packages/typescript/src/models/components/encodingprofile.ts @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Denotes the profile to use when encoding the video. Planner profile is for encoding high-quality event content, like session videos. Attendee profile is for encoding lower-quality content intended to go on attendee profiles and social feeds in the event. + */ +export const EncodingProfile = { + Planner: "Planner", + Attendee: "Attendee", +} as const; +/** + * Denotes the profile to use when encoding the video. Planner profile is for encoding high-quality event content, like session videos. Attendee profile is for encoding lower-quality content intended to go on attendee profiles and social feeds in the event. + */ +export type EncodingProfile = ClosedEnum; + +/** @internal */ +export const EncodingProfile$inboundSchema: z.ZodNativeEnum< + typeof EncodingProfile +> = z.nativeEnum(EncodingProfile); diff --git a/packages/typescript/src/models/components/encodingprofilejson.ts b/packages/typescript/src/models/components/encodingprofilejson.ts deleted file mode 100644 index 7c63277d7..000000000 --- a/packages/typescript/src/models/components/encodingprofilejson.ts +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Denotes the profile to use when encoding the video. Planner profile is for encoding high-quality event content, like session videos. Attendee profile is for encoding lower-quality content intended to go on attendee profiles and social feeds in the event. - */ -export const EncodingProfileJson = { - Planner: "Planner", - Attendee: "Attendee", -} as const; -/** - * Denotes the profile to use when encoding the video. Planner profile is for encoding high-quality event content, like session videos. Attendee profile is for encoding lower-quality content intended to go on attendee profiles and social feeds in the event. - */ -export type EncodingProfileJson = ClosedEnum; - -/** @internal */ -export const EncodingProfileJson$inboundSchema: z.ZodNativeEnum< - typeof EncodingProfileJson -> = z.nativeEnum(EncodingProfileJson); diff --git a/packages/typescript/src/models/components/errorresponse1.ts b/packages/typescript/src/models/components/errorresponse1.ts index a3c789ecf..86281a6e6 100644 --- a/packages/typescript/src/models/components/errorresponse1.ts +++ b/packages/typescript/src/models/components/errorresponse1.ts @@ -6,7 +6,10 @@ 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 { ZeroAllOf1, ZeroAllOf1$inboundSchema } from "./zeroallof1.js"; +import { + ErrorResponseBase, + ErrorResponseBase$inboundSchema, +} from "./errorresponsebase.js"; /** * Represents an error response with additional details of cascading error messages. @@ -27,7 +30,7 @@ export type ErrorResponse1 = { /** * Additional details of cascading error messages. */ - details?: Array | undefined; + details?: Array | undefined; }; /** @internal */ @@ -39,7 +42,7 @@ export const ErrorResponse1$inboundSchema: z.ZodType< code: z.number().int(), message: z.string(), target: z.string().optional(), - details: z.array(ZeroAllOf1$inboundSchema).optional(), + details: z.array(ErrorResponseBase$inboundSchema).optional(), }); export function errorResponse1FromJSON( diff --git a/packages/typescript/src/models/components/errorresponse2.ts b/packages/typescript/src/models/components/errorresponse2.ts index a06a6f09b..8f1674c5d 100644 --- a/packages/typescript/src/models/components/errorresponse2.ts +++ b/packages/typescript/src/models/components/errorresponse2.ts @@ -6,10 +6,7 @@ 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 { - ErrorResponseBase, - ErrorResponseBase$inboundSchema, -} from "./errorresponsebase.js"; +import { ZeroAllOf1, ZeroAllOf1$inboundSchema } from "./zeroallof1.js"; /** * Represents an error response with additional details of cascading error messages. @@ -30,7 +27,7 @@ export type ErrorResponse2 = { /** * Additional details of cascading error messages. */ - details?: Array | undefined; + details?: Array | undefined; }; /** @internal */ @@ -42,7 +39,7 @@ export const ErrorResponse2$inboundSchema: z.ZodType< code: z.number().int(), message: z.string(), target: z.string().optional(), - details: z.array(ErrorResponseBase$inboundSchema).optional(), + details: z.array(ZeroAllOf1$inboundSchema).optional(), }); export function errorResponse2FromJSON( diff --git a/packages/typescript/src/models/components/event1.ts b/packages/typescript/src/models/components/event1.ts index 94aa9c7a7..77ff085f0 100644 --- a/packages/typescript/src/models/components/event1.ts +++ b/packages/typescript/src/models/components/event1.ts @@ -8,9 +8,9 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - CustomFieldJson3, - CustomFieldJson3$inboundSchema, -} from "./customfieldjson3.js"; + CustomFieldJson2, + CustomFieldJson2$inboundSchema, +} from "./customfieldjson2.js"; import { EventFormatJson, EventFormatJson$inboundSchema, @@ -27,10 +27,7 @@ import { EventStatusJson, EventStatusJson$inboundSchema, } from "./eventstatusjson.js"; -import { - EventTypeJson1, - EventTypeJson1$inboundSchema, -} from "./eventtypejson1.js"; +import { EventTypeJson, EventTypeJson$inboundSchema } from "./eventtypejson.js"; import { PlannerJson2, PlannerJson2$inboundSchema } from "./plannerjson2.js"; import { RegistrationStatusJson, @@ -183,7 +180,7 @@ export type Event1 = { /** * Collection of custom fields. */ - customFields?: Array | undefined; + customFields?: Array | undefined; /** * The category to which this event belongs (no longer supported). * @@ -193,7 +190,7 @@ export type Event1 = { /** * Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. */ - type: EventTypeJson1; + type: EventTypeJson; /** * Represents the links associated with an event. */ @@ -280,9 +277,9 @@ export const Event1$inboundSchema: z.ZodType = z capacity: z.number().int().optional(), planners: z.array(PlannerJson2$inboundSchema), stakeholders: z.array(StakeholderJson$inboundSchema).optional(), - customFields: z.array(CustomFieldJson3$inboundSchema).optional(), + customFields: z.array(CustomFieldJson2$inboundSchema).optional(), category: z.lazy(() => EventLookup$inboundSchema).optional(), - type: EventTypeJson1$inboundSchema, + type: EventTypeJson$inboundSchema, _links: EventLinksJson$inboundSchema.optional(), created: z.string().datetime({ offset: true }).transform(v => new Date(v)) .optional(), diff --git a/packages/typescript/src/models/components/event12.ts b/packages/typescript/src/models/components/event12.ts new file mode 100644 index 000000000..c5040b3c4 --- /dev/null +++ b/packages/typescript/src/models/components/event12.ts @@ -0,0 +1,34 @@ +/* + * 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"; + +/** + * Event details. + */ +export type Event12 = { + /** + * Unique identifier for the event linked with the RFP, if any. + */ + id?: string | undefined; +}; + +/** @internal */ +export const Event12$inboundSchema: z.ZodType = + z.object({ + id: z.string().optional(), + }); + +export function event12FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Event12$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Event12' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/event21.ts b/packages/typescript/src/models/components/event21.ts deleted file mode 100644 index 0f431e512..000000000 --- a/packages/typescript/src/models/components/event21.ts +++ /dev/null @@ -1,50 +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"; - -/** - * The Associated Event. - */ -export type Event21 = { - /** - * Event id - */ - id: string; -}; - -/** @internal */ -export const Event21$inboundSchema: z.ZodType = - z.object({ - id: z.string(), - }); -/** @internal */ -export type Event21$Outbound = { - id: string; -}; - -/** @internal */ -export const Event21$outboundSchema: z.ZodType< - Event21$Outbound, - z.ZodTypeDef, - Event21 -> = z.object({ - id: z.string(), -}); - -export function event21ToJSON(event21: Event21): string { - return JSON.stringify(Event21$outboundSchema.parse(event21)); -} -export function event21FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Event21$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Event21' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/event3.ts b/packages/typescript/src/models/components/event3.ts new file mode 100644 index 000000000..2c7a16f47 --- /dev/null +++ b/packages/typescript/src/models/components/event3.ts @@ -0,0 +1,50 @@ +/* + * 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"; + +/** + * The Associated Event. + */ +export type Event3 = { + /** + * Event id + */ + id: string; +}; + +/** @internal */ +export const Event3$inboundSchema: z.ZodType = z + .object({ + id: z.string(), + }); +/** @internal */ +export type Event3$Outbound = { + id: string; +}; + +/** @internal */ +export const Event3$outboundSchema: z.ZodType< + Event3$Outbound, + z.ZodTypeDef, + Event3 +> = z.object({ + id: z.string(), +}); + +export function event3ToJSON(event3: Event3): string { + return JSON.stringify(Event3$outboundSchema.parse(event3)); +} +export function event3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Event3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Event3' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/eventcontactid.ts b/packages/typescript/src/models/components/eventcontactid.ts new file mode 100644 index 000000000..985cc5b09 --- /dev/null +++ b/packages/typescript/src/models/components/eventcontactid.ts @@ -0,0 +1,39 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; + +/** + * A pair of event and contact id. + */ +export type EventContactId = { + /** + * ID of the event. + */ + eventId: string; + /** + * ID of the contact. + */ + contactId: string; +}; + +/** @internal */ +export type EventContactId$Outbound = { + eventId: string; + contactId: string; +}; + +/** @internal */ +export const EventContactId$outboundSchema: z.ZodType< + EventContactId$Outbound, + z.ZodTypeDef, + EventContactId +> = z.object({ + eventId: z.string(), + contactId: z.string(), +}); + +export function eventContactIdToJSON(eventContactId: EventContactId): string { + return JSON.stringify(EventContactId$outboundSchema.parse(eventContactId)); +} diff --git a/packages/typescript/src/models/components/eventcontactidjson.ts b/packages/typescript/src/models/components/eventcontactidjson.ts deleted file mode 100644 index 8a089f91e..000000000 --- a/packages/typescript/src/models/components/eventcontactidjson.ts +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; - -/** - * A pair of event and contact id. - */ -export type EventContactIdJson = { - /** - * ID of the event. - */ - eventId: string; - /** - * ID of the contact. - */ - contactId: string; -}; - -/** @internal */ -export type EventContactIdJson$Outbound = { - eventId: string; - contactId: string; -}; - -/** @internal */ -export const EventContactIdJson$outboundSchema: z.ZodType< - EventContactIdJson$Outbound, - z.ZodTypeDef, - EventContactIdJson -> = z.object({ - eventId: z.string(), - contactId: z.string(), -}); - -export function eventContactIdJsonToJSON( - eventContactIdJson: EventContactIdJson, -): string { - return JSON.stringify( - EventContactIdJson$outboundSchema.parse(eventContactIdJson), - ); -} diff --git a/packages/typescript/src/models/components/eventemailspaginatedresponse.ts b/packages/typescript/src/models/components/eventemailspaginatedresponse.ts index 285411491..18f7d89ec 100644 --- a/packages/typescript/src/models/components/eventemailspaginatedresponse.ts +++ b/packages/typescript/src/models/components/eventemailspaginatedresponse.ts @@ -10,7 +10,7 @@ import { EventEmailJson, EventEmailJson$inboundSchema, } from "./eventemailjson.js"; -import { PagingJson19, PagingJson19$inboundSchema } from "./pagingjson19.js"; +import { PagingJson2, PagingJson2$inboundSchema } from "./pagingjson2.js"; /** * Paginated response for the collection of emails for a specified event. @@ -19,7 +19,7 @@ export type EventEmailsPaginatedResponse = { /** * Represents pagination information for a collection of resources. */ - paging: PagingJson19; + paging: PagingJson2; /** * Collection of emails for a specific event. */ @@ -32,7 +32,7 @@ export const EventEmailsPaginatedResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson19$inboundSchema, + paging: PagingJson2$inboundSchema, data: z.array(EventEmailJson$inboundSchema), }); diff --git a/packages/typescript/src/models/components/eventformattype.ts b/packages/typescript/src/models/components/eventformattype.ts new file mode 100644 index 000000000..db15bbb98 --- /dev/null +++ b/packages/typescript/src/models/components/eventformattype.ts @@ -0,0 +1,24 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Event format type. + */ +export const EventFormatType = { + InPerson: "IN_PERSON", + Hybrid: "HYBRID", + Virtual: "VIRTUAL", +} as const; +/** + * Event format type. + */ +export type EventFormatType = ClosedEnum; + +/** @internal */ +export const EventFormatType$inboundSchema: z.ZodNativeEnum< + typeof EventFormatType +> = z.nativeEnum(EventFormatType); diff --git a/packages/typescript/src/models/components/eventformattypejson0.ts b/packages/typescript/src/models/components/eventformattypejson0.ts deleted file mode 100644 index 0f7cb73d0..000000000 --- a/packages/typescript/src/models/components/eventformattypejson0.ts +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Event format type. - */ -export const EventFormatTypeJson0 = { - InPerson: "IN_PERSON", - Hybrid: "HYBRID", - Virtual: "VIRTUAL", -} as const; -/** - * Event format type. - */ -export type EventFormatTypeJson0 = ClosedEnum; - -/** @internal */ -export const EventFormatTypeJson0$inboundSchema: z.ZodNativeEnum< - typeof EventFormatTypeJson0 -> = z.nativeEnum(EventFormatTypeJson0); diff --git a/packages/typescript/src/models/components/eventinput.ts b/packages/typescript/src/models/components/eventinput.ts index eb4e0d25a..574041f70 100644 --- a/packages/typescript/src/models/components/eventinput.ts +++ b/packages/typescript/src/models/components/eventinput.ts @@ -8,9 +8,9 @@ import { EventFormatJson$outboundSchema, } from "./eventformatjson.js"; import { - EventTypeJson1, - EventTypeJson1$outboundSchema, -} from "./eventtypejson1.js"; + EventTypeJson, + EventTypeJson$outboundSchema, +} from "./eventtypejson.js"; import { PlannerJson2Input, PlannerJson2Input$Outbound, @@ -77,7 +77,7 @@ export type EventInput = { /** * Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. */ - type: EventTypeJson1; + type: EventTypeJson; }; /** @internal */ @@ -115,7 +115,7 @@ export const EventInput$outboundSchema: z.ZodType< note: z.string().optional(), languages: z.array(z.string()), planners: z.array(PlannerJson2Input$outboundSchema), - type: EventTypeJson1$outboundSchema, + type: EventTypeJson$outboundSchema, }); export function eventInputToJSON(eventInput: EventInput): string { diff --git a/packages/typescript/src/models/components/eventjson.ts b/packages/typescript/src/models/components/eventjson.ts new file mode 100644 index 000000000..bb2261343 --- /dev/null +++ b/packages/typescript/src/models/components/eventjson.ts @@ -0,0 +1,53 @@ +/* + * 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"; + +/** + * ID of the event. + */ +export type EventJson = { + /** + * UUID of the event. + */ + id: string; +}; + +/** @internal */ +export const EventJson$inboundSchema: z.ZodType< + EventJson, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), +}); +/** @internal */ +export type EventJson$Outbound = { + id: string; +}; + +/** @internal */ +export const EventJson$outboundSchema: z.ZodType< + EventJson$Outbound, + z.ZodTypeDef, + EventJson +> = z.object({ + id: z.string(), +}); + +export function eventJsonToJSON(eventJson: EventJson): string { + return JSON.stringify(EventJson$outboundSchema.parse(eventJson)); +} +export function eventJsonFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EventJson$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EventJson' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/eventjson0.ts b/packages/typescript/src/models/components/eventjson0.ts deleted file mode 100644 index 44b94fdd6..000000000 --- a/packages/typescript/src/models/components/eventjson0.ts +++ /dev/null @@ -1,37 +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"; - -/** - * Event details. - */ -export type EventJson0 = { - /** - * Unique identifier for the event linked with the RFP, if any. - */ - id?: string | undefined; -}; - -/** @internal */ -export const EventJson0$inboundSchema: z.ZodType< - EventJson0, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function eventJson0FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EventJson0$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EventJson0' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/eventjson1.ts b/packages/typescript/src/models/components/eventjson1.ts index d0f2594a0..1581f39a7 100644 --- a/packages/typescript/src/models/components/eventjson1.ts +++ b/packages/typescript/src/models/components/eventjson1.ts @@ -8,13 +8,13 @@ import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** - * ID of the event. + * Event ID Information. */ export type EventJson1 = { /** - * UUID of the event. + * Identifier of a particular Event. */ - id: string; + id?: string | undefined; }; /** @internal */ @@ -23,25 +23,9 @@ export const EventJson1$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - id: z.string(), -}); -/** @internal */ -export type EventJson1$Outbound = { - id: string; -}; - -/** @internal */ -export const EventJson1$outboundSchema: z.ZodType< - EventJson1$Outbound, - z.ZodTypeDef, - EventJson1 -> = z.object({ - id: z.string(), + id: z.string().optional(), }); -export function eventJson1ToJSON(eventJson1: EventJson1): string { - return JSON.stringify(EventJson1$outboundSchema.parse(eventJson1)); -} export function eventJson1FromJSON( jsonString: string, ): SafeParseResult { diff --git a/packages/typescript/src/models/components/eventjson2.ts b/packages/typescript/src/models/components/eventjson2.ts deleted file mode 100644 index 662f4feed..000000000 --- a/packages/typescript/src/models/components/eventjson2.ts +++ /dev/null @@ -1,37 +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"; - -/** - * Event ID Information. - */ -export type EventJson2 = { - /** - * Identifier of a particular Event. - */ - id?: string | undefined; -}; - -/** @internal */ -export const EventJson2$inboundSchema: z.ZodType< - EventJson2, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function eventJson2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EventJson2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EventJson2' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/eventjson3.ts b/packages/typescript/src/models/components/eventjson3.ts new file mode 100644 index 000000000..23514cc39 --- /dev/null +++ b/packages/typescript/src/models/components/eventjson3.ts @@ -0,0 +1,37 @@ +/* + * 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"; + +/** + * Detail object of an event which is associated to a survey. + */ +export type EventJson3 = { + /** + * Id of the associated event + */ + id?: string | undefined; +}; + +/** @internal */ +export const EventJson3$inboundSchema: z.ZodType< + EventJson3, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function eventJson3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EventJson3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EventJson3' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/eventjson4.ts b/packages/typescript/src/models/components/eventjson4.ts deleted file mode 100644 index efbe4c16a..000000000 --- a/packages/typescript/src/models/components/eventjson4.ts +++ /dev/null @@ -1,37 +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"; - -/** - * Detail object of an event which is associated to a survey. - */ -export type EventJson4 = { - /** - * Id of the associated event - */ - id?: string | undefined; -}; - -/** @internal */ -export const EventJson4$inboundSchema: z.ZodType< - EventJson4, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function eventJson4FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EventJson4$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EventJson4' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/eventjson5.ts b/packages/typescript/src/models/components/eventjson5.ts new file mode 100644 index 000000000..2010ab8fc --- /dev/null +++ b/packages/typescript/src/models/components/eventjson5.ts @@ -0,0 +1,37 @@ +/* + * 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"; + +/** + * An event reference used in attendee insights to identify the event context for engagement data + */ +export type EventJson5 = { + /** + * A unique identifier (UUID) for the event where the engagement score applies + */ + id: string; +}; + +/** @internal */ +export const EventJson5$inboundSchema: z.ZodType< + EventJson5, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), +}); + +export function eventJson5FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EventJson5$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EventJson5' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/eventjson6.ts b/packages/typescript/src/models/components/eventjson6.ts index 8a4a0ff7a..1a8ad209b 100644 --- a/packages/typescript/src/models/components/eventjson6.ts +++ b/packages/typescript/src/models/components/eventjson6.ts @@ -8,11 +8,11 @@ import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** - * An event reference used in attendee insights to identify the event context for engagement data + * Details of the event. */ export type EventJson6 = { /** - * A unique identifier (UUID) for the event where the engagement score applies + * The unique ID of the event. */ id: string; }; @@ -25,7 +25,23 @@ export const EventJson6$inboundSchema: z.ZodType< > = z.object({ id: z.string(), }); +/** @internal */ +export type EventJson6$Outbound = { + id: string; +}; + +/** @internal */ +export const EventJson6$outboundSchema: z.ZodType< + EventJson6$Outbound, + z.ZodTypeDef, + EventJson6 +> = z.object({ + id: z.string(), +}); +export function eventJson6ToJSON(eventJson6: EventJson6): string { + return JSON.stringify(EventJson6$outboundSchema.parse(eventJson6)); +} export function eventJson6FromJSON( jsonString: string, ): SafeParseResult { diff --git a/packages/typescript/src/models/components/eventjson8.ts b/packages/typescript/src/models/components/eventjson8.ts deleted file mode 100644 index a0b71e15c..000000000 --- a/packages/typescript/src/models/components/eventjson8.ts +++ /dev/null @@ -1,53 +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"; - -/** - * Details of the event. - */ -export type EventJson8 = { - /** - * The unique ID of the event. - */ - id: string; -}; - -/** @internal */ -export const EventJson8$inboundSchema: z.ZodType< - EventJson8, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), -}); -/** @internal */ -export type EventJson8$Outbound = { - id: string; -}; - -/** @internal */ -export const EventJson8$outboundSchema: z.ZodType< - EventJson8$Outbound, - z.ZodTypeDef, - EventJson8 -> = z.object({ - id: z.string(), -}); - -export function eventJson8ToJSON(eventJson8: EventJson8): string { - return JSON.stringify(EventJson8$outboundSchema.parse(eventJson8)); -} -export function eventJson8FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EventJson8$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EventJson8' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/eventlite.ts b/packages/typescript/src/models/components/eventlite.ts new file mode 100644 index 000000000..91defcc75 --- /dev/null +++ b/packages/typescript/src/models/components/eventlite.ts @@ -0,0 +1,37 @@ +/* + * 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"; + +/** + * The unique identifier of an event. + */ +export type EventLite = { + /** + * The unique identifier for an event. + */ + id: string; +}; + +/** @internal */ +export const EventLite$inboundSchema: z.ZodType< + EventLite, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), +}); + +export function eventLiteFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EventLite$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EventLite' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/eventlitejson.ts b/packages/typescript/src/models/components/eventlitejson.ts deleted file mode 100644 index d562ac74f..000000000 --- a/packages/typescript/src/models/components/eventlitejson.ts +++ /dev/null @@ -1,37 +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"; - -/** - * The unique identifier of an event. - */ -export type EventLiteJson = { - /** - * The unique identifier for an event. - */ - id: string; -}; - -/** @internal */ -export const EventLiteJson$inboundSchema: z.ZodType< - EventLiteJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), -}); - -export function eventLiteJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EventLiteJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EventLiteJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/eventorganization1.ts b/packages/typescript/src/models/components/eventorganization1.ts new file mode 100644 index 000000000..ded7125da --- /dev/null +++ b/packages/typescript/src/models/components/eventorganization1.ts @@ -0,0 +1,74 @@ +/* + * 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 { Address1, Address1$inboundSchema } from "./address1.js"; +import { Industry1, Industry1$inboundSchema } from "./industry1.js"; +import { Organization, Organization$inboundSchema } from "./organization.js"; +import { + OrganizationType1, + OrganizationType1$inboundSchema, +} from "./organizationtype1.js"; + +/** + * Details of organization which is hosting the event. + */ +export type EventOrganization1 = { + /** + * Organization details. + */ + organization?: Organization | undefined; + /** + * True indicates organization profile has to be kept confidential. + */ + confidentialProfile?: boolean | undefined; + /** + * Industry + */ + industry?: Industry1 | undefined; + /** + * Name of the organization hosting the event. + */ + name: string; + /** + * Organization type. + */ + type: OrganizationType1; + /** + * Address details. + */ + address?: Address1 | undefined; + /** + * Number of events per year. + */ + eventsPerYear?: number | undefined; +}; + +/** @internal */ +export const EventOrganization1$inboundSchema: z.ZodType< + EventOrganization1, + z.ZodTypeDef, + unknown +> = z.object({ + organization: Organization$inboundSchema.optional(), + confidentialProfile: z.boolean().optional(), + industry: Industry1$inboundSchema.optional(), + name: z.string(), + type: OrganizationType1$inboundSchema, + address: Address1$inboundSchema.optional(), + eventsPerYear: z.number().int().optional(), +}); + +export function eventOrganization1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EventOrganization1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EventOrganization1' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/eventquestionjson.ts b/packages/typescript/src/models/components/eventquestionjson.ts index 2058ded1f..d5bfe1f56 100644 --- a/packages/typescript/src/models/components/eventquestionjson.ts +++ b/packages/typescript/src/models/components/eventquestionjson.ts @@ -7,9 +7,9 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - QuestionTypeJson3, - QuestionTypeJson3$inboundSchema, -} from "./questiontypejson3.js"; + QuestionTypeJson2, + QuestionTypeJson2$inboundSchema, +} from "./questiontypejson2.js"; import { UuidJson, UuidJson$inboundSchema } from "./uuidjson.js"; /** @@ -83,7 +83,7 @@ export type EventQuestionJson = { /** * This object represents the type of a question */ - type?: QuestionTypeJson3 | undefined; + type?: QuestionTypeJson2 | undefined; /** * Optional description to provide additional context of the question. */ @@ -149,7 +149,7 @@ export const EventQuestionJson$inboundSchema: z.ZodType< session: z.lazy(() => EventQuestionJsonSession$inboundSchema).optional(), admissionItem: z.lazy(() => EventQuestionJsonAdmissionItem$inboundSchema) .optional(), - type: QuestionTypeJson3$inboundSchema.optional(), + type: QuestionTypeJson2$inboundSchema.optional(), internalNote: z.string().optional(), }); diff --git a/packages/typescript/src/models/components/eventsurveyquestionjson.ts b/packages/typescript/src/models/components/eventsurveyquestionjson.ts index f2278da20..63d0f31ca 100644 --- a/packages/typescript/src/models/components/eventsurveyquestionjson.ts +++ b/packages/typescript/src/models/components/eventsurveyquestionjson.ts @@ -7,20 +7,17 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - AdditionalChoiceJson1, - AdditionalChoiceJson1$inboundSchema, -} from "./additionalchoicejson1.js"; -import { CategoryJson2, CategoryJson2$inboundSchema } from "./categoryjson2.js"; -import { ChoiceJson2, ChoiceJson2$inboundSchema } from "./choicejson2.js"; -import { FieldJson2, FieldJson2$inboundSchema } from "./fieldjson2.js"; + AdditionalChoiceJson, + AdditionalChoiceJson$inboundSchema, +} from "./additionalchoicejson.js"; +import { CategoryJson1, CategoryJson1$inboundSchema } from "./categoryjson1.js"; +import { ChoiceJson1, ChoiceJson1$inboundSchema } from "./choicejson1.js"; +import { FieldJson, FieldJson$inboundSchema } from "./fieldjson.js"; import { - QuestionTypeJson2, - QuestionTypeJson2$inboundSchema, -} from "./questiontypejson2.js"; -import { - TextFieldJson1, - TextFieldJson1$inboundSchema, -} from "./textfieldjson1.js"; + QuestionTypeJson1, + QuestionTypeJson1$inboundSchema, +} from "./questiontypejson1.js"; +import { TextFieldJson, TextFieldJson$inboundSchema } from "./textfieldjson.js"; import { UuidJson, UuidJson$inboundSchema } from "./uuidjson.js"; /** @@ -66,27 +63,27 @@ export type EventSurveyQuestionJson = { /** * Question Type. */ - type?: QuestionTypeJson2 | undefined; + type?: QuestionTypeJson1 | undefined; /** * List of choices for the question. */ - choices?: Array | undefined; + choices?: Array | undefined; /** * List of categories for the question. */ - categories?: Array | undefined; + categories?: Array | undefined; /** * List of sub categories for matrix side-by-side questions */ - subCategories?: Array | undefined; + subCategories?: Array | undefined; /** * Contains text of additional choice i.e N/A choice or otherAnswer choice */ - notApplicableAnswer?: AdditionalChoiceJson1 | undefined; + notApplicableAnswer?: AdditionalChoiceJson | undefined; /** * Contains text of additional choice i.e N/A choice or otherAnswer choice */ - otherAnswer?: AdditionalChoiceJson1 | undefined; + otherAnswer?: AdditionalChoiceJson | undefined; /** * Text Value of Comments Input box placeholder */ @@ -98,7 +95,7 @@ export type EventSurveyQuestionJson = { /** * List of fields for form/matrix questions */ - fields?: Array | undefined; + fields?: Array | undefined; /** * Max possible score */ @@ -135,15 +132,15 @@ export const EventSurveyQuestionJson$inboundSchema: z.ZodType< shortText: z.string().optional(), htmlText: z.string().optional(), code: z.string().optional(), - type: QuestionTypeJson2$inboundSchema.optional(), - choices: z.array(ChoiceJson2$inboundSchema).optional(), - categories: z.array(CategoryJson2$inboundSchema).optional(), - subCategories: z.array(TextFieldJson1$inboundSchema).optional(), - notApplicableAnswer: AdditionalChoiceJson1$inboundSchema.optional(), - otherAnswer: AdditionalChoiceJson1$inboundSchema.optional(), + type: QuestionTypeJson1$inboundSchema.optional(), + choices: z.array(ChoiceJson1$inboundSchema).optional(), + categories: z.array(CategoryJson1$inboundSchema).optional(), + subCategories: z.array(TextFieldJson$inboundSchema).optional(), + notApplicableAnswer: AdditionalChoiceJson$inboundSchema.optional(), + otherAnswer: AdditionalChoiceJson$inboundSchema.optional(), comments: z.string().optional(), required: z.boolean().default(false), - fields: z.array(FieldJson2$inboundSchema).optional(), + fields: z.array(FieldJson$inboundSchema).optional(), maxScore: z.number().optional(), totalSum: z.number().int().optional(), survey: UuidJson$inboundSchema.optional(), diff --git a/packages/typescript/src/models/components/eventsurveyrespondent.ts b/packages/typescript/src/models/components/eventsurveyrespondent.ts index 6b77a9239..f5e3783ba 100644 --- a/packages/typescript/src/models/components/eventsurveyrespondent.ts +++ b/packages/typescript/src/models/components/eventsurveyrespondent.ts @@ -7,7 +7,7 @@ import { remap as remap$ } from "../../lib/primitives.js"; import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { EventJson4, EventJson4$inboundSchema } from "./eventjson4.js"; +import { EventJson3, EventJson3$inboundSchema } from "./eventjson3.js"; import { LinkJson, LinkJson$inboundSchema } from "./linkjson.js"; import { RespondedThroughJson, @@ -128,7 +128,7 @@ export type EventSurveyRespondent = { /** * Detail object of an event which is associated to a survey. */ - event?: EventJson4 | undefined; + event?: EventJson3 | undefined; /** * Associated attendee. */ @@ -284,7 +284,7 @@ export const EventSurveyRespondent$inboundSchema: z.ZodType< percentageScore: z.number().optional(), _links: z.lazy(() => EventSurveyRespondentLinks$inboundSchema).optional(), sourceId: z.string().optional(), - event: EventJson4$inboundSchema.optional(), + event: EventJson3$inboundSchema.optional(), attendee: z.lazy(() => EventSurveyRespondentAttendee$inboundSchema) .optional(), contact: z.lazy(() => EventSurveyRespondentContact$inboundSchema).optional(), diff --git a/packages/typescript/src/models/components/eventsurveyresponse.ts b/packages/typescript/src/models/components/eventsurveyresponse.ts index a0bef423e..900a7618f 100644 --- a/packages/typescript/src/models/components/eventsurveyresponse.ts +++ b/packages/typescript/src/models/components/eventsurveyresponse.ts @@ -7,7 +7,7 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AnswerJson, AnswerJson$inboundSchema } from "./answerjson.js"; -import { EventJson4, EventJson4$inboundSchema } from "./eventjson4.js"; +import { EventJson3, EventJson3$inboundSchema } from "./eventjson3.js"; import { UuidJson, UuidJson$inboundSchema } from "./uuidjson.js"; /** @@ -62,7 +62,7 @@ export type EventSurveyResponse = { /** * Detail object of an event which is associated to a survey. */ - event?: EventJson4 | undefined; + event?: EventJson3 | undefined; /** * The reference to the related entity. Contains only the ID of the related entity. */ @@ -114,7 +114,7 @@ export const EventSurveyResponse$inboundSchema: z.ZodType< question: UuidJson$inboundSchema, answers: z.array(AnswerJson$inboundSchema), score: z.number().optional(), - event: EventJson4$inboundSchema.optional(), + event: EventJson3$inboundSchema.optional(), survey: UuidJson$inboundSchema.optional(), session: UuidJson$inboundSchema.optional(), speaker: UuidJson$inboundSchema.optional(), diff --git a/packages/typescript/src/models/components/eventtype1.ts b/packages/typescript/src/models/components/eventtype1.ts new file mode 100644 index 000000000..8c11ee924 --- /dev/null +++ b/packages/typescript/src/models/components/eventtype1.ts @@ -0,0 +1,42 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Event type. + */ +export const EventType1 = { + AnniversaryBirthday: "ANNIVERSARY_BIRTHDAY", + BachelorBacheloretteParty: "BACHELOR_BACHELORETTE_PARTY", + BarBatMitzvah: "BAR_BAT_MITZVAH", + BusinessMeeting: "BUSINESS_MEETING", + ConferenceConvention: "CONFERENCE_CONVENTION", + CorporateEvent: "CORPORATE_EVENT", + CustomerEvent: "CUSTOMER_EVENT", + EducationalSeminar: "EDUCATIONAL_SEMINAR", + FraternitySororityGroup: "FRATERNITY_SORORITY_GROUP", + FundraiserCharityEvent: "FUNDRAISER_CHARITY_EVENT", + ReceptionHolidayParty: "RECEPTION_HOLIDAY_PARTY", + IncentiveTravel: "INCENTIVE_TRAVEL", + Reunion: "REUNION", + ShareholdersMeeting: "SHAREHOLDERS_MEETING", + SpecialEvent: "SPECIAL_EVENT", + SportsEvent: "SPORTS_EVENT", + TeamBuildingEvent: "TEAM_BUILDING_EVENT", + TourGroupVacation: "TOUR_GROUP_VACATION", + TradeShowConsumerShow: "TRADE_SHOW_CONSUMER_SHOW", + Training: "TRAINING", + Wedding: "WEDDING", + Other: "OTHER", +} as const; +/** + * Event type. + */ +export type EventType1 = ClosedEnum; + +/** @internal */ +export const EventType1$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(EventType1); diff --git a/packages/typescript/src/models/components/eventtypejson.ts b/packages/typescript/src/models/components/eventtypejson.ts new file mode 100644 index 000000000..89fab4854 --- /dev/null +++ b/packages/typescript/src/models/components/eventtypejson.ts @@ -0,0 +1,45 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. + */ +export const EventTypeJson = { + Celebration: "Celebration", + Conference: "Conference", + CventEssentials: "CventEssentials", + CventWebinar: "CventWebinar", + Dinner: "Dinner", + Forum: "Forum", + FundraiserBenefit: "FundraiserBenefit", + Holiday: "Holiday", + IncentiveTrip: "IncentiveTrip", + Meeting: "Meeting", + OtherGeneral: "OtherGeneral", + PoliticalEvent: "PoliticalEvent", + Reunion: "Reunion", + SaveTheDate: "SaveTheDate", + Seminar: "Seminar", + SimpleEvent: "SimpleEvent", + SportsEvent: "SportsEvent", + TradeShow: "TradeShow", + TrainingSession: "TrainingSession", + Webinar: "Webinar", +} as const; +/** + * Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. + */ +export type EventTypeJson = ClosedEnum; + +/** @internal */ +export const EventTypeJson$inboundSchema: z.ZodNativeEnum< + typeof EventTypeJson +> = z.nativeEnum(EventTypeJson); +/** @internal */ +export const EventTypeJson$outboundSchema: z.ZodNativeEnum< + typeof EventTypeJson +> = EventTypeJson$inboundSchema; diff --git a/packages/typescript/src/models/components/eventtypejson0.ts b/packages/typescript/src/models/components/eventtypejson0.ts deleted file mode 100644 index 205dfbbcd..000000000 --- a/packages/typescript/src/models/components/eventtypejson0.ts +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Event type. - */ -export const EventTypeJson0 = { - AnniversaryBirthday: "ANNIVERSARY_BIRTHDAY", - BachelorBacheloretteParty: "BACHELOR_BACHELORETTE_PARTY", - BarBatMitzvah: "BAR_BAT_MITZVAH", - BusinessMeeting: "BUSINESS_MEETING", - ConferenceConvention: "CONFERENCE_CONVENTION", - CorporateEvent: "CORPORATE_EVENT", - CustomerEvent: "CUSTOMER_EVENT", - EducationalSeminar: "EDUCATIONAL_SEMINAR", - FraternitySororityGroup: "FRATERNITY_SORORITY_GROUP", - FundraiserCharityEvent: "FUNDRAISER_CHARITY_EVENT", - ReceptionHolidayParty: "RECEPTION_HOLIDAY_PARTY", - IncentiveTravel: "INCENTIVE_TRAVEL", - Reunion: "REUNION", - ShareholdersMeeting: "SHAREHOLDERS_MEETING", - SpecialEvent: "SPECIAL_EVENT", - SportsEvent: "SPORTS_EVENT", - TeamBuildingEvent: "TEAM_BUILDING_EVENT", - TourGroupVacation: "TOUR_GROUP_VACATION", - TradeShowConsumerShow: "TRADE_SHOW_CONSUMER_SHOW", - Training: "TRAINING", - Wedding: "WEDDING", - Other: "OTHER", -} as const; -/** - * Event type. - */ -export type EventTypeJson0 = ClosedEnum; - -/** @internal */ -export const EventTypeJson0$inboundSchema: z.ZodNativeEnum< - typeof EventTypeJson0 -> = z.nativeEnum(EventTypeJson0); diff --git a/packages/typescript/src/models/components/eventtypejson1.ts b/packages/typescript/src/models/components/eventtypejson1.ts deleted file mode 100644 index fd2c963b6..000000000 --- a/packages/typescript/src/models/components/eventtypejson1.ts +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. - */ -export const EventTypeJson1 = { - Celebration: "Celebration", - Conference: "Conference", - CventEssentials: "CventEssentials", - CventWebinar: "CventWebinar", - Dinner: "Dinner", - Forum: "Forum", - FundraiserBenefit: "FundraiserBenefit", - Holiday: "Holiday", - IncentiveTrip: "IncentiveTrip", - Meeting: "Meeting", - OtherGeneral: "OtherGeneral", - PoliticalEvent: "PoliticalEvent", - Reunion: "Reunion", - SaveTheDate: "SaveTheDate", - Seminar: "Seminar", - SimpleEvent: "SimpleEvent", - SportsEvent: "SportsEvent", - TradeShow: "TradeShow", - TrainingSession: "TrainingSession", - Webinar: "Webinar", -} as const; -/** - * Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. - */ -export type EventTypeJson1 = ClosedEnum; - -/** @internal */ -export const EventTypeJson1$inboundSchema: z.ZodNativeEnum< - typeof EventTypeJson1 -> = z.nativeEnum(EventTypeJson1); -/** @internal */ -export const EventTypeJson1$outboundSchema: z.ZodNativeEnum< - typeof EventTypeJson1 -> = EventTypeJson1$inboundSchema; diff --git a/packages/typescript/src/models/components/eventupdate.ts b/packages/typescript/src/models/components/eventupdate.ts index 66d028599..8c348a49d 100644 --- a/packages/typescript/src/models/components/eventupdate.ts +++ b/packages/typescript/src/models/components/eventupdate.ts @@ -8,9 +8,9 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - CustomFieldJson3, - CustomFieldJson3$inboundSchema, -} from "./customfieldjson3.js"; + CustomFieldJson2, + CustomFieldJson2$inboundSchema, +} from "./customfieldjson2.js"; import { EventFormatJson, EventFormatJson$inboundSchema, @@ -27,10 +27,7 @@ import { EventStatusJson, EventStatusJson$inboundSchema, } from "./eventstatusjson.js"; -import { - EventTypeJson1, - EventTypeJson1$inboundSchema, -} from "./eventtypejson1.js"; +import { EventTypeJson, EventTypeJson$inboundSchema } from "./eventtypejson.js"; import { PlannerJson2, PlannerJson2$inboundSchema } from "./plannerjson2.js"; import { RegistrationStatusJson, @@ -183,7 +180,7 @@ export type EventUpdate = { /** * Collection of custom fields. */ - customFields?: Array | undefined; + customFields?: Array | undefined; /** * The category to which this event belongs (no longer supported). * @@ -193,7 +190,7 @@ export type EventUpdate = { /** * Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. */ - type: EventTypeJson1; + type: EventTypeJson; /** * Represents the links associated with an event. */ @@ -281,9 +278,9 @@ export const EventUpdate$inboundSchema: z.ZodType< capacity: z.number().int().optional(), planners: z.array(PlannerJson2$inboundSchema), stakeholders: z.array(StakeholderJson$inboundSchema).optional(), - customFields: z.array(CustomFieldJson3$inboundSchema).optional(), + customFields: z.array(CustomFieldJson2$inboundSchema).optional(), category: z.lazy(() => EventUpdateLookup$inboundSchema).optional(), - type: EventTypeJson1$inboundSchema, + type: EventTypeJson$inboundSchema, _links: EventLinksJson$inboundSchema.optional(), created: z.string().datetime({ offset: true }).transform(v => new Date(v)) .optional(), diff --git a/packages/typescript/src/models/components/eventupdateinput.ts b/packages/typescript/src/models/components/eventupdateinput.ts index be5c9438c..0825cd3de 100644 --- a/packages/typescript/src/models/components/eventupdateinput.ts +++ b/packages/typescript/src/models/components/eventupdateinput.ts @@ -8,9 +8,9 @@ import { EventFormatJson$outboundSchema, } from "./eventformatjson.js"; import { - EventTypeJson1, - EventTypeJson1$outboundSchema, -} from "./eventtypejson1.js"; + EventTypeJson, + EventTypeJson$outboundSchema, +} from "./eventtypejson.js"; import { PlannerJson2Input, PlannerJson2Input$Outbound, @@ -89,7 +89,7 @@ export type EventUpdateInput = { /** * Type of event being created. The following event types are not supported: Cvent Webinar, Cvent Essentials. */ - type: EventTypeJson1; + type: EventTypeJson; }; /** @internal */ @@ -133,7 +133,7 @@ export const EventUpdateInput$outboundSchema: z.ZodType< languages: z.array(z.string()), capacity: z.number().int().optional(), planners: z.array(PlannerJson2Input$outboundSchema), - type: EventTypeJson1$outboundSchema, + type: EventTypeJson$outboundSchema, }); export function eventUpdateInputToJSON( diff --git a/packages/typescript/src/models/components/exhibitorcategoryrequest.ts b/packages/typescript/src/models/components/exhibitorcategoryrequest.ts index 6be513f7a..0d90b2057 100644 --- a/packages/typescript/src/models/components/exhibitorcategoryrequest.ts +++ b/packages/typescript/src/models/components/exhibitorcategoryrequest.ts @@ -4,11 +4,7 @@ import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; -import { - Event21, - Event21$Outbound, - Event21$outboundSchema, -} from "./event21.js"; +import { Event3, Event3$Outbound, Event3$outboundSchema } from "./event3.js"; /** * Type of exhibitor category @@ -31,7 +27,7 @@ export type ExhibitorCategoryRequest = { /** * The Associated Event. */ - event: Event21; + event: Event3; /** * Name of the exhibitor category */ @@ -57,7 +53,7 @@ export const ExhibitorCategoryRequestType$outboundSchema: z.ZodNativeEnum< /** @internal */ export type ExhibitorCategoryRequest$Outbound = { - event: Event21$Outbound; + event: Event3$Outbound; name: string; description?: string | undefined; order: number; @@ -70,7 +66,7 @@ export const ExhibitorCategoryRequest$outboundSchema: z.ZodType< z.ZodTypeDef, ExhibitorCategoryRequest > = z.object({ - event: Event21$outboundSchema, + event: Event3$outboundSchema, name: z.string(), description: z.string().optional(), order: z.number().int(), diff --git a/packages/typescript/src/models/components/exhibitorcategoryresponse.ts b/packages/typescript/src/models/components/exhibitorcategoryresponse.ts index db78b41a2..02a3cb868 100644 --- a/packages/typescript/src/models/components/exhibitorcategoryresponse.ts +++ b/packages/typescript/src/models/components/exhibitorcategoryresponse.ts @@ -7,7 +7,7 @@ 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"; -import { Event21, Event21$inboundSchema } from "./event21.js"; +import { Event3, Event3$inboundSchema } from "./event3.js"; /** * Type of exhibitor category @@ -46,7 +46,7 @@ export type ExhibitorCategoryResponse = { /** * The Associated Event. */ - event: Event21; + event: Event3; /** * Name of the exhibitor category */ @@ -95,7 +95,7 @@ export const ExhibitorCategoryResponse$inboundSchema: z.ZodType< new Date(v) ).optional(), lastModifiedBy: z.string().optional(), - event: Event21$inboundSchema, + event: Event3$inboundSchema, name: z.string(), description: z.string().optional(), order: z.number().int(), diff --git a/packages/typescript/src/models/components/exhibitorrequest.ts b/packages/typescript/src/models/components/exhibitorrequest.ts index acfbf38db..ec7ed0db5 100644 --- a/packages/typescript/src/models/components/exhibitorrequest.ts +++ b/packages/typescript/src/models/components/exhibitorrequest.ts @@ -4,20 +4,16 @@ import * as z from "zod/v3"; import { - Address2, - Address2$Outbound, - Address2$outboundSchema, -} from "./address2.js"; + Address4, + Address4$Outbound, + Address4$outboundSchema, +} from "./address4.js"; import { ContactLinks1, ContactLinks1$Outbound, ContactLinks1$outboundSchema, } from "./contactlinks1.js"; -import { - Event21, - Event21$Outbound, - Event21$outboundSchema, -} from "./event21.js"; +import { Event3, Event3$Outbound, Event3$outboundSchema } from "./event3.js"; import { SponsorshipLevel, SponsorshipLevel$Outbound, @@ -31,7 +27,7 @@ export type ExhibitorRequest = { /** * The Associated Event. */ - event: Event21; + event: Event3; /** * Name of the exhibitor. Cvent suggests limiting this to a maximum of 200 characters for optimal results. */ @@ -55,7 +51,7 @@ export type ExhibitorRequest = { /** * An object representing an address with various properties. */ - address?: Address2 | undefined; + address?: Address4 | undefined; /** * Email address of the exhibitor */ @@ -104,13 +100,13 @@ export type ExhibitorRequest = { /** @internal */ export type ExhibitorRequest$Outbound = { - event: Event21$Outbound; + event: Event3$Outbound; name: string; description?: string | undefined; code?: string | undefined; sourceId?: string | undefined; location?: string | undefined; - address?: Address2$Outbound | undefined; + address?: Address4$Outbound | undefined; email?: string | undefined; mobilePhone?: string | undefined; workPhone?: string | undefined; @@ -130,13 +126,13 @@ export const ExhibitorRequest$outboundSchema: z.ZodType< z.ZodTypeDef, ExhibitorRequest > = z.object({ - event: Event21$outboundSchema, + event: Event3$outboundSchema, name: z.string(), description: z.string().optional(), code: z.string().optional(), sourceId: z.string().optional(), location: z.string().optional(), - address: Address2$outboundSchema.optional(), + address: Address4$outboundSchema.optional(), email: z.string().optional(), mobilePhone: z.string().optional(), workPhone: z.string().optional(), diff --git a/packages/typescript/src/models/components/exhibitorresponse.ts b/packages/typescript/src/models/components/exhibitorresponse.ts index 6bdd8eb31..03d0bb169 100644 --- a/packages/typescript/src/models/components/exhibitorresponse.ts +++ b/packages/typescript/src/models/components/exhibitorresponse.ts @@ -6,9 +6,9 @@ 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 { Address2, Address2$inboundSchema } from "./address2.js"; +import { Address4, Address4$inboundSchema } from "./address4.js"; import { ContactLinks1, ContactLinks1$inboundSchema } from "./contactlinks1.js"; -import { Event21, Event21$inboundSchema } from "./event21.js"; +import { Event3, Event3$inboundSchema } from "./event3.js"; import { SponsorshipLevel, SponsorshipLevel$inboundSchema, @@ -37,7 +37,7 @@ export type ExhibitorResponse = { /** * The Associated Event. */ - event: Event21; + event: Event3; /** * Name of the exhibitor. Cvent suggests limiting this to a maximum of 200 characters for optimal results. */ @@ -61,7 +61,7 @@ export type ExhibitorResponse = { /** * An object representing an address with various properties. */ - address?: Address2 | undefined; + address?: Address4 | undefined; /** * Email address of the exhibitor */ @@ -141,13 +141,13 @@ export const ExhibitorResponse$inboundSchema: z.ZodType< new Date(v) ).optional(), lastModifiedBy: z.string().optional(), - event: Event21$inboundSchema, + event: Event3$inboundSchema, name: z.string(), description: z.string().optional(), code: z.string().optional(), sourceId: z.string().optional(), location: z.string().optional(), - address: Address2$inboundSchema.optional(), + address: Address4$inboundSchema.optional(), email: z.string().optional(), mobilePhone: z.string().optional(), workPhone: z.string().optional(), diff --git a/packages/typescript/src/models/components/existingaudiencesegment.ts b/packages/typescript/src/models/components/existingaudiencesegment.ts index 17af43abb..2c0de2583 100644 --- a/packages/typescript/src/models/components/existingaudiencesegment.ts +++ b/packages/typescript/src/models/components/existingaudiencesegment.ts @@ -10,7 +10,7 @@ import { AudienceSegmentCreationTypeJson, AudienceSegmentCreationTypeJson$inboundSchema, } from "./audiencesegmentcreationtypejson.js"; -import { EventJson1, EventJson1$inboundSchema } from "./eventjson1.js"; +import { EventJson, EventJson$inboundSchema } from "./eventjson.js"; /** * Details of an audience segment. @@ -35,7 +35,7 @@ export type ExistingAudienceSegment = { /** * ID of the event. */ - event: EventJson1; + event: EventJson; /** * Name of the audience segment. Must be unique in the event where the segment exists. */ @@ -71,7 +71,7 @@ export const ExistingAudienceSegment$inboundSchema: z.ZodType< new Date(v) ).optional(), lastModifiedBy: z.string().optional(), - event: EventJson1$inboundSchema, + event: EventJson$inboundSchema, name: z.string(), description: z.string().optional(), id: z.string().optional(), diff --git a/packages/typescript/src/models/components/existingaudiotrack.ts b/packages/typescript/src/models/components/existingaudiotrack.ts index 80d55610c..cdb258d13 100644 --- a/packages/typescript/src/models/components/existingaudiotrack.ts +++ b/packages/typescript/src/models/components/existingaudiotrack.ts @@ -6,26 +6,20 @@ 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 { AssetLocation, AssetLocation$inboundSchema } from "./assetlocation.js"; import { - AssetLocationJson, - AssetLocationJson$inboundSchema, -} from "./assetlocationjson.js"; + AudioTrackStatus, + AudioTrackStatus$inboundSchema, +} from "./audiotrackstatus.js"; import { - AudioTrackStatusJson, - AudioTrackStatusJson$inboundSchema, -} from "./audiotrackstatusjson.js"; + AudioTrackType, + AudioTrackType$inboundSchema, +} from "./audiotracktype.js"; import { - AudioTrackTypeJson, - AudioTrackTypeJson$inboundSchema, -} from "./audiotracktypejson.js"; -import { - AudioTrackVariantJson, - AudioTrackVariantJson$inboundSchema, -} from "./audiotrackvariantjson.js"; -import { - VideoAssetIdJson, - VideoAssetIdJson$inboundSchema, -} from "./videoassetidjson.js"; + AudioTrackVariant, + AudioTrackVariant$inboundSchema, +} from "./audiotrackvariant.js"; +import { VideoAssetID, VideoAssetID$inboundSchema } from "./videoassetid.js"; /** * Existing audio track. @@ -50,11 +44,11 @@ export type ExistingAudioTrack = { /** * Video that this asset was created with. */ - video: VideoAssetIdJson; + video: VideoAssetID; /** * Denotes the file format of the audio track. */ - type: AudioTrackTypeJson; + type: AudioTrackType; /** * IETF language tag for the audio track. */ @@ -62,7 +56,7 @@ export type ExistingAudioTrack = { /** * Denotes the variant of an audio track. Main is the primary audio track for this video. Alternate is a possible alternative to the main track. Commentary is a commentary on the primary audio or video track, e.g. a director's commentary. Dub is a translated version of the main audio track. Descriptive is an audio description of a video track. */ - variant: AudioTrackVariantJson; + variant: AudioTrackVariant; /** * True indicates this is the default audio track. */ @@ -74,7 +68,7 @@ export type ExistingAudioTrack = { /** * Denotes the status of an audio track. Started indicates the request to upload in the API was submitted, and the URL you'll upload an audio track to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the audio track. Available indicates the audio track is available for use. */ - status?: AudioTrackStatusJson | undefined; + status?: AudioTrackStatus | undefined; /** * The identifier of an audio track. */ @@ -82,7 +76,7 @@ export type ExistingAudioTrack = { /** * A URL associated with the asset. */ - url?: AssetLocationJson | undefined; + url?: AssetLocation | undefined; }; /** @internal */ @@ -98,15 +92,15 @@ export const ExistingAudioTrack$inboundSchema: z.ZodType< new Date(v) ).optional(), lastModifiedBy: z.string().optional(), - video: VideoAssetIdJson$inboundSchema, - type: AudioTrackTypeJson$inboundSchema, + video: VideoAssetID$inboundSchema, + type: AudioTrackType$inboundSchema, language: z.string(), - variant: AudioTrackVariantJson$inboundSchema.default("Alternate"), + variant: AudioTrackVariant$inboundSchema.default("Alternate"), default: z.boolean().default(false), duration: z.number().int().optional(), - status: AudioTrackStatusJson$inboundSchema.optional(), + status: AudioTrackStatus$inboundSchema.optional(), id: z.string(), - url: AssetLocationJson$inboundSchema.optional(), + url: AssetLocation$inboundSchema.optional(), }); export function existingAudioTrackFromJSON( diff --git a/packages/typescript/src/models/components/existingcustomfield.ts b/packages/typescript/src/models/components/existingcustomfield.ts index e7199f0c8..49e32e932 100644 --- a/packages/typescript/src/models/components/existingcustomfield.ts +++ b/packages/typescript/src/models/components/existingcustomfield.ts @@ -11,14 +11,14 @@ import { CustomFieldCategoryJson$inboundSchema, } from "./customfieldcategoryjson.js"; import { - CustomFieldTypeJson1, - CustomFieldTypeJson1$inboundSchema, -} from "./customfieldtypejson1.js"; + CustomFieldTypeJson, + CustomFieldTypeJson$inboundSchema, +} from "./customfieldtypejson.js"; import { DisplayInDataTagJson, DisplayInDataTagJson$inboundSchema, } from "./displayindatatagjson.js"; -import { OneOneOf, OneOneOf$inboundSchema } from "./oneoneof.js"; +import { One, One$inboundSchema } from "./one.js"; import { PageVisibilityJson, PageVisibilityJson$inboundSchema, @@ -30,7 +30,7 @@ import { ZeroOneOf1, ZeroOneOf1$inboundSchema } from "./zerooneof1.js"; /** * Type-specific details of the custom-field. */ -export type ExistingCustomFieldDetails = ZeroOneOf1 | OneOneOf | Two | Three; +export type ExistingCustomFieldDetails = ZeroOneOf1 | One | Two | Three; /** * This is used to denote an existing custom field. @@ -71,11 +71,11 @@ export type ExistingCustomField = { /** * This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. */ - type: CustomFieldTypeJson1; + type: CustomFieldTypeJson; /** * Type-specific details of the custom-field. */ - details?: ZeroOneOf1 | OneOneOf | Two | Three | undefined; + details?: ZeroOneOf1 | One | Two | Three | undefined; /** * The order of the custom field on the display page. */ @@ -121,7 +121,7 @@ export const ExistingCustomFieldDetails$inboundSchema: z.ZodType< unknown > = z.union([ ZeroOneOf1$inboundSchema, - OneOneOf$inboundSchema, + One$inboundSchema, Two$inboundSchema, Three$inboundSchema, ]); @@ -153,10 +153,10 @@ export const ExistingCustomField$inboundSchema: z.ZodType< name: z.string(), code: z.string(), required: z.boolean().default(true), - type: CustomFieldTypeJson1$inboundSchema, + type: CustomFieldTypeJson$inboundSchema, details: z.union([ ZeroOneOf1$inboundSchema, - OneOneOf$inboundSchema, + One$inboundSchema, Two$inboundSchema, Three$inboundSchema, ]).optional(), diff --git a/packages/typescript/src/models/components/existingcustomfieldinput.ts b/packages/typescript/src/models/components/existingcustomfieldinput.ts index 23db136aa..698ba565a 100644 --- a/packages/typescript/src/models/components/existingcustomfieldinput.ts +++ b/packages/typescript/src/models/components/existingcustomfieldinput.ts @@ -8,18 +8,14 @@ import { CustomFieldCategoryJson$outboundSchema, } from "./customfieldcategoryjson.js"; import { - CustomFieldTypeJson1, - CustomFieldTypeJson1$outboundSchema, -} from "./customfieldtypejson1.js"; + CustomFieldTypeJson, + CustomFieldTypeJson$outboundSchema, +} from "./customfieldtypejson.js"; import { DisplayInDataTagJson, DisplayInDataTagJson$outboundSchema, } from "./displayindatatagjson.js"; -import { - OneOneOf, - OneOneOf$Outbound, - OneOneOf$outboundSchema, -} from "./oneoneof.js"; +import { One, One$Outbound, One$outboundSchema } from "./one.js"; import { PageVisibilityJson, PageVisibilityJson$Outbound, @@ -42,7 +38,7 @@ import { */ export type ExistingCustomFieldDetailsInput = | ZeroOneOf1 - | OneOneOf + | One | Two | ThreeInput; @@ -69,11 +65,11 @@ export type ExistingCustomFieldInput = { /** * This is used to denote the type of data collected by a custom field. Auto-Increment custom fields are read only. */ - type: CustomFieldTypeJson1; + type: CustomFieldTypeJson; /** * Type-specific details of the custom-field. */ - details?: ZeroOneOf1 | OneOneOf | Two | ThreeInput | undefined; + details?: ZeroOneOf1 | One | Two | ThreeInput | undefined; /** * The help text of the custom field. */ @@ -111,7 +107,7 @@ export type ExistingCustomFieldInput = { /** @internal */ export type ExistingCustomFieldDetailsInput$Outbound = | ZeroOneOf1$Outbound - | OneOneOf$Outbound + | One$Outbound | Two$Outbound | ThreeInput$Outbound; @@ -122,7 +118,7 @@ export const ExistingCustomFieldDetailsInput$outboundSchema: z.ZodType< ExistingCustomFieldDetailsInput > = z.union([ ZeroOneOf1$outboundSchema, - OneOneOf$outboundSchema, + One$outboundSchema, Two$outboundSchema, ThreeInput$outboundSchema, ]); @@ -146,7 +142,7 @@ export type ExistingCustomFieldInput$Outbound = { type: string; details?: | ZeroOneOf1$Outbound - | OneOneOf$Outbound + | One$Outbound | Two$Outbound | ThreeInput$Outbound | undefined; @@ -170,10 +166,10 @@ export const ExistingCustomFieldInput$outboundSchema: z.ZodType< name: z.string(), code: z.string(), required: z.boolean().default(true), - type: CustomFieldTypeJson1$outboundSchema, + type: CustomFieldTypeJson$outboundSchema, details: z.union([ ZeroOneOf1$outboundSchema, - OneOneOf$outboundSchema, + One$outboundSchema, Two$outboundSchema, ThreeInput$outboundSchema, ]).optional(), diff --git a/packages/typescript/src/models/components/existingduration.ts b/packages/typescript/src/models/components/existingduration.ts index 0055a0319..8657e36f3 100644 --- a/packages/typescript/src/models/components/existingduration.ts +++ b/packages/typescript/src/models/components/existingduration.ts @@ -19,6 +19,9 @@ export const ExistingDurationType = { Live: "LIVE", OnDemand: "ON_DEMAND", Api: "API", + Manual: "MANUAL", + Import: "IMPORT", + Eventapp: "EVENTAPP", } as const; /** * Describes how the duration was obtained. diff --git a/packages/typescript/src/models/components/existingeliteraturerequestdataforlead.ts b/packages/typescript/src/models/components/existingeliteraturerequestdataforlead.ts index 29156b1bb..3b49147dd 100644 --- a/packages/typescript/src/models/components/existingeliteraturerequestdataforlead.ts +++ b/packages/typescript/src/models/components/existingeliteraturerequestdataforlead.ts @@ -10,7 +10,7 @@ import { ELiteratureDocument, ELiteratureDocument$inboundSchema, } from "./eliteraturedocument.js"; -import { Event21, Event21$inboundSchema } from "./event21.js"; +import { Event3, Event3$inboundSchema } from "./event3.js"; import { Exhibitor, Exhibitor$inboundSchema } from "./exhibitor.js"; import { Lead2, Lead2$inboundSchema } from "./lead2.js"; @@ -37,7 +37,7 @@ export type ExistingELiteratureRequestDataForLead = { /** * The Associated Event. */ - event: Event21; + event: Event3; /** * The Associated Exhibitor. */ @@ -69,7 +69,7 @@ export const ExistingELiteratureRequestDataForLead$inboundSchema: z.ZodType< new Date(v) ).optional(), lastModifiedBy: z.string().optional(), - event: Event21$inboundSchema, + event: Event3$inboundSchema, exhibitor: Exhibitor$inboundSchema, lead: Lead2$inboundSchema, documents: z.array(ELiteratureDocument$inboundSchema), diff --git a/packages/typescript/src/models/components/existingexhibitoranswer.ts b/packages/typescript/src/models/components/existingexhibitoranswer.ts index 696e7f39d..a1a182df9 100644 --- a/packages/typescript/src/models/components/existingexhibitoranswer.ts +++ b/packages/typescript/src/models/components/existingexhibitoranswer.ts @@ -7,7 +7,7 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Answer2, Answer2$inboundSchema } from "./answer2.js"; -import { Event21, Event21$inboundSchema } from "./event21.js"; +import { Event3, Event3$inboundSchema } from "./event3.js"; import { Exhibitor, Exhibitor$inboundSchema } from "./exhibitor.js"; import { Uuid, Uuid$inboundSchema } from "./uuid.js"; @@ -38,7 +38,7 @@ export type ExistingExhibitorAnswer = { /** * The Associated Event. */ - event: Event21; + event: Event3; /** * The Associated Exhibitor. */ @@ -67,7 +67,7 @@ export const ExistingExhibitorAnswer$inboundSchema: z.ZodType< ).optional(), lastModifiedBy: z.string().optional(), question: Uuid$inboundSchema, - event: Event21$inboundSchema, + event: Event3$inboundSchema, exhibitor: Exhibitor$inboundSchema, answers: z.array(Answer2$inboundSchema), id: z.string(), diff --git a/packages/typescript/src/models/components/existingexhibitoranswerinput.ts b/packages/typescript/src/models/components/existingexhibitoranswerinput.ts index 47f67c34c..aeead51fa 100644 --- a/packages/typescript/src/models/components/existingexhibitoranswerinput.ts +++ b/packages/typescript/src/models/components/existingexhibitoranswerinput.ts @@ -8,11 +8,7 @@ import { Answer2$Outbound, Answer2$outboundSchema, } from "./answer2.js"; -import { - Event21, - Event21$Outbound, - Event21$outboundSchema, -} from "./event21.js"; +import { Event3, Event3$Outbound, Event3$outboundSchema } from "./event3.js"; import { Exhibitor, Exhibitor$Outbound, @@ -31,7 +27,7 @@ export type ExistingExhibitorAnswerInput = { /** * The Associated Event. */ - event: Event21; + event: Event3; /** * The Associated Exhibitor. */ @@ -45,7 +41,7 @@ export type ExistingExhibitorAnswerInput = { /** @internal */ export type ExistingExhibitorAnswerInput$Outbound = { question: Uuid$Outbound; - event: Event21$Outbound; + event: Event3$Outbound; exhibitor: Exhibitor$Outbound; answers: Array; }; @@ -57,7 +53,7 @@ export const ExistingExhibitorAnswerInput$outboundSchema: z.ZodType< ExistingExhibitorAnswerInput > = z.object({ question: Uuid$outboundSchema, - event: Event21$outboundSchema, + event: Event3$outboundSchema, exhibitor: Exhibitor$outboundSchema, answers: z.array(Answer2$outboundSchema), }); diff --git a/packages/typescript/src/models/components/existingexhibitorquestion.ts b/packages/typescript/src/models/components/existingexhibitorquestion.ts index 05b792227..89d206460 100644 --- a/packages/typescript/src/models/components/existingexhibitorquestion.ts +++ b/packages/typescript/src/models/components/existingexhibitorquestion.ts @@ -7,11 +7,11 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - AdditionalChoice, - AdditionalChoice$inboundSchema, -} from "./additionalchoice.js"; + AdditionalChoice1, + AdditionalChoice1$inboundSchema, +} from "./additionalchoice1.js"; import { BaseChoice, BaseChoice$inboundSchema } from "./basechoice.js"; -import { Event21, Event21$inboundSchema } from "./event21.js"; +import { Event3, Event3$inboundSchema } from "./event3.js"; import { ExhibitorAnswerFormat, ExhibitorAnswerFormat$inboundSchema, @@ -48,7 +48,7 @@ export type ExistingExhibitorQuestion = { /** * The Associated Event. */ - event: Event21; + event: Event3; /** * The actual text of the exhibitor question. */ @@ -72,11 +72,11 @@ export type ExistingExhibitorQuestion = { /** * Contains text of additional choice */ - notApplicableAnswer?: AdditionalChoice | undefined; + notApplicableAnswer?: AdditionalChoice1 | undefined; /** * Contains text of additional choice */ - otherAnswer?: AdditionalChoice | undefined; + otherAnswer?: AdditionalChoice1 | undefined; /** * Specifies the format for displaying answers based on the question type. For SingleChoice questions, choose between 'Dropdown' or 'RadioButton'. For OpenEndedTextOneLine questions, select 'General', 'EmailAddress', or 'PhoneNumber'. For OpenEndedDateTime questions, use 'DateAndTime' or 'Date'. */ @@ -112,14 +112,14 @@ export const ExistingExhibitorQuestion$inboundSchema: z.ZodType< new Date(v) ).optional(), lastModifiedBy: z.string().optional(), - event: Event21$inboundSchema, + event: Event3$inboundSchema, text: z.string(), code: z.string().optional(), type: ExhibitorQuestionType$inboundSchema, required: z.boolean(), choices: z.array(BaseChoice$inboundSchema).optional(), - notApplicableAnswer: AdditionalChoice$inboundSchema.optional(), - otherAnswer: AdditionalChoice$inboundSchema.optional(), + notApplicableAnswer: AdditionalChoice1$inboundSchema.optional(), + otherAnswer: AdditionalChoice1$inboundSchema.optional(), answerFormat: ExhibitorAnswerFormat$inboundSchema.optional(), answerLimits: ExhibitorAnswerLimits$inboundSchema.optional(), defaultToCurrentDate: z.boolean().optional(), diff --git a/packages/typescript/src/models/components/existingfile.ts b/packages/typescript/src/models/components/existingfile.ts index 289be6b41..c7ea76021 100644 --- a/packages/typescript/src/models/components/existingfile.ts +++ b/packages/typescript/src/models/components/existingfile.ts @@ -6,7 +6,7 @@ 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 { Event21, Event21$inboundSchema } from "./event21.js"; +import { Event3, Event3$inboundSchema } from "./event3.js"; import { Exhibitor, Exhibitor$inboundSchema } from "./exhibitor.js"; /** @@ -32,7 +32,7 @@ export type ExistingFile = { /** * The Associated Event. */ - event: Event21; + event: Event3; /** * The Associated Exhibitor. */ @@ -68,7 +68,7 @@ export const ExistingFile$inboundSchema: z.ZodType< new Date(v) ).optional(), lastModifiedBy: z.string().optional(), - event: Event21$inboundSchema, + event: Event3$inboundSchema, exhibitor: Exhibitor$inboundSchema, displayName: z.string(), hidden: z.boolean().default(false), diff --git a/packages/typescript/src/models/components/existingspeaker.ts b/packages/typescript/src/models/components/existingspeaker.ts index 3f34958de..6c8c848c7 100644 --- a/packages/typescript/src/models/components/existingspeaker.ts +++ b/packages/typescript/src/models/components/existingspeaker.ts @@ -6,21 +6,18 @@ 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 { ContactLinks, ContactLinks$inboundSchema } from "./contactlinks.js"; import { - CategoryIdNameJson, - CategoryIdNameJson$inboundSchema, - CategoryIdNameJson$Outbound, - CategoryIdNameJson$outboundSchema, -} from "./categoryidnamejson.js"; + ContactLinksInput, + ContactLinksInput$Outbound, + ContactLinksInput$outboundSchema, +} from "./contactlinksinput.js"; import { - ContactLinksJson, - ContactLinksJson$inboundSchema, -} from "./contactlinksjson.js"; -import { - ContactLinksJsonInput, - ContactLinksJsonInput$Outbound, - ContactLinksJsonInput$outboundSchema, -} from "./contactlinksjsoninput.js"; + SpeakerCategory1, + SpeakerCategory1$inboundSchema, + SpeakerCategory1$Outbound, + SpeakerCategory1$outboundSchema, +} from "./speakercategory1.js"; /** * The event the speaker is linked to. @@ -101,11 +98,11 @@ export type ExistingSpeaker = { /** * A defined speaker category. */ - category?: CategoryIdNameJson | undefined; + category?: SpeakerCategory1 | undefined; /** * Collection of social media links for the contact. */ - links?: ContactLinksJson | undefined; + links?: ContactLinks | undefined; /** * Indicates if a given speaker should be displayed on Event Website */ @@ -183,11 +180,11 @@ export type ExistingSpeakerInput = { /** * A defined speaker category. */ - category?: CategoryIdNameJson | undefined; + category?: SpeakerCategory1 | undefined; /** * Collection of social media links for the contact. */ - links?: ContactLinksJsonInput | undefined; + links?: ContactLinksInput | undefined; /** * Indicates if a given speaker should be displayed on Event Website */ @@ -294,8 +291,8 @@ export const ExistingSpeaker$inboundSchema: z.ZodType< designation: z.string().optional(), company: z.string().optional(), title: z.string().optional(), - category: CategoryIdNameJson$inboundSchema.optional(), - links: ContactLinksJson$inboundSchema.optional(), + category: SpeakerCategory1$inboundSchema.optional(), + links: ContactLinks$inboundSchema.optional(), visibility: z.boolean().default(true), biography: z.string().optional(), internalNote: z.string().optional(), @@ -327,8 +324,8 @@ export type ExistingSpeakerInput$Outbound = { designation?: string | undefined; company?: string | undefined; title?: string | undefined; - category?: CategoryIdNameJson$Outbound | undefined; - links?: ContactLinksJsonInput$Outbound | undefined; + category?: SpeakerCategory1$Outbound | undefined; + links?: ContactLinksInput$Outbound | undefined; visibility: boolean; biography?: string | undefined; internalNote?: string | undefined; @@ -352,8 +349,8 @@ export const ExistingSpeakerInput$outboundSchema: z.ZodType< designation: z.string().optional(), company: z.string().optional(), title: z.string().optional(), - category: CategoryIdNameJson$outboundSchema.optional(), - links: ContactLinksJsonInput$outboundSchema.optional(), + category: SpeakerCategory1$outboundSchema.optional(), + links: ContactLinksInput$outboundSchema.optional(), visibility: z.boolean().default(true), biography: z.string().optional(), internalNote: z.string().optional(), diff --git a/packages/typescript/src/models/components/existingsponsorshiplevel.ts b/packages/typescript/src/models/components/existingsponsorshiplevel.ts index 846e1cf94..663e295dd 100644 --- a/packages/typescript/src/models/components/existingsponsorshiplevel.ts +++ b/packages/typescript/src/models/components/existingsponsorshiplevel.ts @@ -6,7 +6,7 @@ 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 { Event21, Event21$inboundSchema } from "./event21.js"; +import { Event3, Event3$inboundSchema } from "./event3.js"; /** * Existing sponsorship level model @@ -31,7 +31,7 @@ export type ExistingSponsorshipLevel = { /** * The Associated Event. */ - event: Event21; + event: Event3; /** * Name of the sponsorship level */ @@ -59,7 +59,7 @@ export const ExistingSponsorshipLevel$inboundSchema: z.ZodType< new Date(v) ).optional(), lastModifiedBy: z.string().optional(), - event: Event21$inboundSchema, + event: Event3$inboundSchema, name: z.string(), id: z.string().optional(), rank: z.number().int().optional(), diff --git a/packages/typescript/src/models/components/existingvideoresponse.ts b/packages/typescript/src/models/components/existingvideoresponse.ts index 3412755b4..65c6e3090 100644 --- a/packages/typescript/src/models/components/existingvideoresponse.ts +++ b/packages/typescript/src/models/components/existingvideoresponse.ts @@ -6,39 +6,24 @@ 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 { AssetLocation, AssetLocation$inboundSchema } from "./assetlocation.js"; import { - AssetLocationJson, - AssetLocationJson$inboundSchema, -} from "./assetlocationjson.js"; + EncodingProfile, + EncodingProfile$inboundSchema, +} from "./encodingprofile.js"; import { - EncodingProfileJson, - EncodingProfileJson$inboundSchema, -} from "./encodingprofilejson.js"; + HlsInputWithClips, + HlsInputWithClips$inboundSchema, +} from "./hlsinputwithclips.js"; +import { VideoError, VideoError$inboundSchema } from "./videoerror.js"; +import { VideoSource, VideoSource$inboundSchema } from "./videosource.js"; +import { VideoStatus, VideoStatus$inboundSchema } from "./videostatus.js"; import { - HlsInputWithClipsJson, - HlsInputWithClipsJson$inboundSchema, -} from "./hlsinputwithclipsjson.js"; -import { - VideoErrorJson, - VideoErrorJson$inboundSchema, -} from "./videoerrorjson.js"; -import { - VideoSourceJson, - VideoSourceJson$inboundSchema, -} from "./videosourcejson.js"; -import { - VideoStatusJson, - VideoStatusJson$inboundSchema, -} from "./videostatusjson.js"; -import { - VideoThumbnailJson, - VideoThumbnailJson$inboundSchema, -} from "./videothumbnailjson.js"; -import { VideoTypeJson, VideoTypeJson$inboundSchema } from "./videotypejson.js"; -import { - VideoWarningJson, - VideoWarningJson$inboundSchema, -} from "./videowarningjson.js"; + VideoThumbnail, + VideoThumbnail$inboundSchema, +} from "./videothumbnail.js"; +import { VideoType, VideoType$inboundSchema } from "./videotype.js"; +import { VideoWarning, VideoWarning$inboundSchema } from "./videowarning.js"; /** * Event video asset was created with. This field has been deprecated. Use events instead. @@ -105,19 +90,19 @@ export type ExistingVideoResponse = { /** * Video thumbnail */ - thumbnail?: VideoThumbnailJson | undefined; + thumbnail?: VideoThumbnail | undefined; /** * Video thumbnail */ - generatedThumbnail?: VideoThumbnailJson | undefined; + generatedThumbnail?: VideoThumbnail | undefined; /** * Denotes the status of a video. Started indicates the request to upload in the API was submitted, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the video. Available indicates the video is available for use. */ - status?: VideoStatusJson | undefined; + status?: VideoStatus | undefined; /** * Source of video. */ - source?: VideoSourceJson | undefined; + source?: VideoSource | undefined; /** * A list of tags associated with this video. This feature is a developer extensability framework to add data to videos. */ @@ -125,7 +110,7 @@ export type ExistingVideoResponse = { /** * This is used to denote type of a video */ - type?: VideoTypeJson | undefined; + type?: VideoType | undefined; /** * Event video asset was created with. This field has been deprecated. Use events instead. * @@ -141,7 +126,7 @@ export type ExistingVideoResponse = { /** * A list of input object locations & clip information for HTTP Live Streaming (HLS) recordings. Used to trim & stitch all inputs together to form a new video. */ - hlsInputsWithClips?: Array | undefined; + hlsInputsWithClips?: Array | undefined; /** * Recording details of video to be transcoded */ @@ -149,7 +134,7 @@ export type ExistingVideoResponse = { /** * Denotes the profile to use when encoding the video. Planner profile is for encoding high-quality event content, like session videos. Attendee profile is for encoding lower-quality content intended to go on attendee profiles and social feeds in the event. */ - encodingProfile: EncodingProfileJson; + encodingProfile: EncodingProfile; /** * The identifier of a video. */ @@ -157,7 +142,7 @@ export type ExistingVideoResponse = { /** * A URL associated with the asset. */ - url?: AssetLocationJson | undefined; + url?: AssetLocation | undefined; /** * File size in bytes for the video asset. */ @@ -189,11 +174,11 @@ export type ExistingVideoResponse = { /** * This is used to denote the errors for a video entity. */ - errors?: Array | undefined; + errors?: Array | undefined; /** * This is used to denote the warnings for a video entity. */ - warnings?: Array | undefined; + warnings?: Array | undefined; }; /** @internal */ @@ -252,19 +237,19 @@ export const ExistingVideoResponse$inboundSchema: z.ZodType< filename: z.string().optional(), events: z.array(z.string()).optional(), duration: z.number().int().optional(), - thumbnail: VideoThumbnailJson$inboundSchema.optional(), - generatedThumbnail: VideoThumbnailJson$inboundSchema.optional(), - status: VideoStatusJson$inboundSchema.optional(), - source: VideoSourceJson$inboundSchema.optional(), + thumbnail: VideoThumbnail$inboundSchema.optional(), + generatedThumbnail: VideoThumbnail$inboundSchema.optional(), + status: VideoStatus$inboundSchema.optional(), + source: VideoSource$inboundSchema.optional(), tags: z.array(z.string()).optional(), - type: VideoTypeJson$inboundSchema.optional(), + type: VideoType$inboundSchema.optional(), event: z.lazy(() => ExistingVideoResponseUUID$inboundSchema).optional(), hlsInputs: z.array(z.string()).optional(), - hlsInputsWithClips: z.array(HlsInputWithClipsJson$inboundSchema).optional(), + hlsInputsWithClips: z.array(HlsInputWithClips$inboundSchema).optional(), recording: z.lazy(() => RecordingDetails$inboundSchema).optional(), - encodingProfile: EncodingProfileJson$inboundSchema.default("Planner"), + encodingProfile: EncodingProfile$inboundSchema.default("Planner"), id: z.string(), - url: AssetLocationJson$inboundSchema.optional(), + url: AssetLocation$inboundSchema.optional(), size: z.number().int().optional(), sessions: z.array(z.string()).optional(), exhibitors: z.array(z.string()).optional(), @@ -276,8 +261,8 @@ export const ExistingVideoResponse$inboundSchema: z.ZodType< new Date(v) ).optional(), parent: z.string().optional(), - errors: z.array(VideoErrorJson$inboundSchema).optional(), - warnings: z.array(VideoWarningJson$inboundSchema).optional(), + errors: z.array(VideoError$inboundSchema).optional(), + warnings: z.array(VideoWarning$inboundSchema).optional(), }); export function existingVideoResponseFromJSON( diff --git a/packages/typescript/src/models/components/existingvideotexttrack.ts b/packages/typescript/src/models/components/existingvideotexttrack.ts index b7e806966..20b26a5d4 100644 --- a/packages/typescript/src/models/components/existingvideotexttrack.ts +++ b/packages/typescript/src/models/components/existingvideotexttrack.ts @@ -6,22 +6,16 @@ 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 { AssetLocation, AssetLocation$inboundSchema } from "./assetlocation.js"; +import { VideoAssetID, VideoAssetID$inboundSchema } from "./videoassetid.js"; import { - AssetLocationJson, - AssetLocationJson$inboundSchema, -} from "./assetlocationjson.js"; + VideoTextTrackKind, + VideoTextTrackKind$inboundSchema, +} from "./videotexttrackkind.js"; import { - VideoAssetIdJson, - VideoAssetIdJson$inboundSchema, -} from "./videoassetidjson.js"; -import { - VideoTextTrackKindJson, - VideoTextTrackKindJson$inboundSchema, -} from "./videotexttrackkindjson.js"; -import { - VideoTextTrackStatusJson, - VideoTextTrackStatusJson$inboundSchema, -} from "./videotexttrackstatusjson.js"; + VideoTextTrackStatus, + VideoTextTrackStatus$inboundSchema, +} from "./videotexttrackstatus.js"; /** * An existing video text track. @@ -46,7 +40,7 @@ export type ExistingVideoTextTrack = { /** * Video that this asset was created with. */ - video?: VideoAssetIdJson | undefined; + video?: VideoAssetID | undefined; /** * Name of the text track. */ @@ -58,7 +52,7 @@ export type ExistingVideoTextTrack = { /** * Denotes the kind of video text track. Only subtitles are supported. */ - kind: VideoTextTrackKindJson; + kind: VideoTextTrackKind; /** * True means that this text track has been published for your client. */ @@ -70,7 +64,7 @@ export type ExistingVideoTextTrack = { /** * Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. */ - status: VideoTextTrackStatusJson; + status: VideoTextTrackStatus; /** * True indicates this text track was generated via machine transcription of the audio. */ @@ -82,7 +76,7 @@ export type ExistingVideoTextTrack = { /** * A URL associated with the asset. */ - url?: AssetLocationJson | undefined; + url?: AssetLocation | undefined; /** * A message indicating the error processing the text track, if any. */ @@ -102,16 +96,16 @@ export const ExistingVideoTextTrack$inboundSchema: z.ZodType< new Date(v) ).optional(), lastModifiedBy: z.string().optional(), - video: VideoAssetIdJson$inboundSchema.optional(), + video: VideoAssetID$inboundSchema.optional(), label: z.string().optional(), language: z.string(), - kind: VideoTextTrackKindJson$inboundSchema, + kind: VideoTextTrackKind$inboundSchema, published: z.boolean().default(true), default: z.boolean().default(false), - status: VideoTextTrackStatusJson$inboundSchema, + status: VideoTextTrackStatus$inboundSchema, autoGenerated: z.boolean().default(false), id: z.string(), - url: AssetLocationJson$inboundSchema.optional(), + url: AssetLocation$inboundSchema.optional(), errorMessage: z.string().optional(), }); diff --git a/packages/typescript/src/models/components/existingvideotexttrackinput.ts b/packages/typescript/src/models/components/existingvideotexttrackinput.ts index 8abe39253..1c01a34df 100644 --- a/packages/typescript/src/models/components/existingvideotexttrackinput.ts +++ b/packages/typescript/src/models/components/existingvideotexttrackinput.ts @@ -4,23 +4,23 @@ import * as z from "zod/v3"; import { - AssetLocationJsonInput, - AssetLocationJsonInput$Outbound, - AssetLocationJsonInput$outboundSchema, -} from "./assetlocationjsoninput.js"; + AssetLocationInput, + AssetLocationInput$Outbound, + AssetLocationInput$outboundSchema, +} from "./assetlocationinput.js"; import { - VideoAssetIdJson, - VideoAssetIdJson$Outbound, - VideoAssetIdJson$outboundSchema, -} from "./videoassetidjson.js"; + VideoAssetID, + VideoAssetID$Outbound, + VideoAssetID$outboundSchema, +} from "./videoassetid.js"; import { - VideoTextTrackKindJson, - VideoTextTrackKindJson$outboundSchema, -} from "./videotexttrackkindjson.js"; + VideoTextTrackKind, + VideoTextTrackKind$outboundSchema, +} from "./videotexttrackkind.js"; import { - VideoTextTrackStatusJson, - VideoTextTrackStatusJson$outboundSchema, -} from "./videotexttrackstatusjson.js"; + VideoTextTrackStatus, + VideoTextTrackStatus$outboundSchema, +} from "./videotexttrackstatus.js"; /** * An existing video text track. @@ -29,7 +29,7 @@ export type ExistingVideoTextTrackInput = { /** * Video that this asset was created with. */ - video?: VideoAssetIdJson | undefined; + video?: VideoAssetID | undefined; /** * Name of the text track. */ @@ -41,7 +41,7 @@ export type ExistingVideoTextTrackInput = { /** * Denotes the kind of video text track. Only subtitles are supported. */ - kind: VideoTextTrackKindJson; + kind: VideoTextTrackKind; /** * True means that this text track has been published for your client. */ @@ -53,7 +53,7 @@ export type ExistingVideoTextTrackInput = { /** * Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. */ - status: VideoTextTrackStatusJson; + status: VideoTextTrackStatus; /** * True indicates this text track was generated via machine transcription of the audio. */ @@ -61,7 +61,7 @@ export type ExistingVideoTextTrackInput = { /** * A URL associated with the asset. */ - url?: AssetLocationJsonInput | undefined; + url?: AssetLocationInput | undefined; /** * A message indicating the error processing the text track, if any. */ @@ -70,7 +70,7 @@ export type ExistingVideoTextTrackInput = { /** @internal */ export type ExistingVideoTextTrackInput$Outbound = { - video?: VideoAssetIdJson$Outbound | undefined; + video?: VideoAssetID$Outbound | undefined; label?: string | undefined; language: string; kind: string; @@ -78,7 +78,7 @@ export type ExistingVideoTextTrackInput$Outbound = { default: boolean; status: string; autoGenerated: boolean; - url?: AssetLocationJsonInput$Outbound | undefined; + url?: AssetLocationInput$Outbound | undefined; errorMessage?: string | undefined; }; @@ -88,15 +88,15 @@ export const ExistingVideoTextTrackInput$outboundSchema: z.ZodType< z.ZodTypeDef, ExistingVideoTextTrackInput > = z.object({ - video: VideoAssetIdJson$outboundSchema.optional(), + video: VideoAssetID$outboundSchema.optional(), label: z.string().optional(), language: z.string(), - kind: VideoTextTrackKindJson$outboundSchema, + kind: VideoTextTrackKind$outboundSchema, published: z.boolean().default(true), default: z.boolean().default(false), - status: VideoTextTrackStatusJson$outboundSchema, + status: VideoTextTrackStatus$outboundSchema, autoGenerated: z.boolean().default(false), - url: AssetLocationJsonInput$outboundSchema.optional(), + url: AssetLocationInput$outboundSchema.optional(), errorMessage: z.string().optional(), }); diff --git a/packages/typescript/src/models/components/existingweblink.ts b/packages/typescript/src/models/components/existingweblink.ts index 073f2619d..a07bb0e13 100644 --- a/packages/typescript/src/models/components/existingweblink.ts +++ b/packages/typescript/src/models/components/existingweblink.ts @@ -6,7 +6,7 @@ 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 { Event21, Event21$inboundSchema } from "./event21.js"; +import { Event3, Event3$inboundSchema } from "./event3.js"; import { Exhibitor, Exhibitor$inboundSchema } from "./exhibitor.js"; /** @@ -32,7 +32,7 @@ export type ExistingWeblink = { /** * The Associated Event. */ - event: Event21; + event: Event3; /** * The Associated Exhibitor. */ @@ -72,7 +72,7 @@ export const ExistingWeblink$inboundSchema: z.ZodType< new Date(v) ).optional(), lastModifiedBy: z.string().optional(), - event: Event21$inboundSchema, + event: Event3$inboundSchema, exhibitor: Exhibitor$inboundSchema, name: z.string(), url: z.string(), diff --git a/packages/typescript/src/models/components/fairseasontype.ts b/packages/typescript/src/models/components/fairseasontype.ts new file mode 100644 index 000000000..4209283a9 --- /dev/null +++ b/packages/typescript/src/models/components/fairseasontype.ts @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Fair season type. Blackout means that no special rate is negotiated for that date and Best Available Rates will apply + */ +export const FairSeasonType = { + Negotiated: "negotiated", + Blackout: "blackout", +} as const; +/** + * Fair season type. Blackout means that no special rate is negotiated for that date and Best Available Rates will apply + */ +export type FairSeasonType = ClosedEnum; + +/** @internal */ +export const FairSeasonType$inboundSchema: z.ZodNativeEnum< + typeof FairSeasonType +> = z.nativeEnum(FairSeasonType); diff --git a/packages/typescript/src/models/components/fairseasontypejson.ts b/packages/typescript/src/models/components/fairseasontypejson.ts deleted file mode 100644 index 1ec29e176..000000000 --- a/packages/typescript/src/models/components/fairseasontypejson.ts +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Fair season type. Blackout means that no special rate is negotiated for that date and Best Available Rates will apply - */ -export const FairSeasonTypeJson = { - Negotiated: "negotiated", - Blackout: "blackout", -} as const; -/** - * Fair season type. Blackout means that no special rate is negotiated for that date and Best Available Rates will apply - */ -export type FairSeasonTypeJson = ClosedEnum; - -/** @internal */ -export const FairSeasonTypeJson$inboundSchema: z.ZodNativeEnum< - typeof FairSeasonTypeJson -> = z.nativeEnum(FairSeasonTypeJson); diff --git a/packages/typescript/src/models/components/field.ts b/packages/typescript/src/models/components/field.ts new file mode 100644 index 000000000..766b36533 --- /dev/null +++ b/packages/typescript/src/models/components/field.ts @@ -0,0 +1,75 @@ +/* + * 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 { + AdditionalChoice, + AdditionalChoice$inboundSchema, +} from "./additionalchoice.js"; +import { Choice, Choice$inboundSchema } from "./choice.js"; +import { FieldType, FieldType$inboundSchema } from "./fieldtype.js"; + +/** + * A question field. + */ +export type Field = { + /** + * Text field ID. + */ + id?: string | undefined; + /** + * Text value of the field. Displays to users in the UI. + */ + text?: string | undefined; + /** + * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. + */ + shortText?: string | undefined; + /** + * Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: Data is one or more options from a list. `Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is free-text input. + */ + type?: FieldType | undefined; + /** + * List of choices for this field. + */ + choices?: Array | undefined; + /** + * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + */ + notApplicableAnswer?: AdditionalChoice | undefined; + /** + * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + */ + otherAnswer?: AdditionalChoice | undefined; + /** + * True indicates this is a mandatory question field. + */ + required: boolean; +}; + +/** @internal */ +export const Field$inboundSchema: z.ZodType = z + .object({ + id: z.string().optional(), + text: z.string().optional(), + shortText: z.string().optional(), + type: FieldType$inboundSchema.optional(), + choices: z.array(Choice$inboundSchema).optional(), + notApplicableAnswer: AdditionalChoice$inboundSchema.optional(), + otherAnswer: AdditionalChoice$inboundSchema.optional(), + required: z.boolean().default(false), + }); + +export function fieldFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Field$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Field' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/fieldjson.ts b/packages/typescript/src/models/components/fieldjson.ts index e55739106..b10ef9e36 100644 --- a/packages/typescript/src/models/components/fieldjson.ts +++ b/packages/typescript/src/models/components/fieldjson.ts @@ -7,14 +7,14 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - AdditionalChoiceJson2, - AdditionalChoiceJson2$inboundSchema, -} from "./additionalchoicejson2.js"; -import { ChoiceJson, ChoiceJson$inboundSchema } from "./choicejson.js"; + AdditionalChoiceJson, + AdditionalChoiceJson$inboundSchema, +} from "./additionalchoicejson.js"; +import { ChoiceJson1, ChoiceJson1$inboundSchema } from "./choicejson1.js"; import { FieldTypeJson, FieldTypeJson$inboundSchema } from "./fieldtypejson.js"; /** - * A question field. + * A survey field. */ export type FieldJson = { /** @@ -22,31 +22,31 @@ export type FieldJson = { */ id?: string | undefined; /** - * Text value of the field. Displays to users in the UI. + * text Value of the Field */ text?: string | undefined; /** - * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. + * Reporting value of the Category, Its like a custom abbreviation */ shortText?: string | undefined; /** - * Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: Data is one or more options from a list. `Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is free-text input. + * Field Type */ type?: FieldTypeJson | undefined; /** * List of choices for this field. */ - choices?: Array | undefined; + choices?: Array | undefined; /** - * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + * Contains text of additional choice i.e N/A choice or otherAnswer choice */ - notApplicableAnswer?: AdditionalChoiceJson2 | undefined; + notApplicableAnswer?: AdditionalChoiceJson | undefined; /** - * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + * Contains text of additional choice i.e N/A choice or otherAnswer choice */ - otherAnswer?: AdditionalChoiceJson2 | undefined; + otherAnswer?: AdditionalChoiceJson | undefined; /** - * True indicates this is a mandatory question field. + * Is this a mandatory field */ required: boolean; }; @@ -61,9 +61,9 @@ export const FieldJson$inboundSchema: z.ZodType< text: z.string().optional(), shortText: z.string().optional(), type: FieldTypeJson$inboundSchema.optional(), - choices: z.array(ChoiceJson$inboundSchema).optional(), - notApplicableAnswer: AdditionalChoiceJson2$inboundSchema.optional(), - otherAnswer: AdditionalChoiceJson2$inboundSchema.optional(), + choices: z.array(ChoiceJson1$inboundSchema).optional(), + notApplicableAnswer: AdditionalChoiceJson$inboundSchema.optional(), + otherAnswer: AdditionalChoiceJson$inboundSchema.optional(), required: z.boolean().default(false), }); diff --git a/packages/typescript/src/models/components/fieldjson2.ts b/packages/typescript/src/models/components/fieldjson2.ts deleted file mode 100644 index 530bccb64..000000000 --- a/packages/typescript/src/models/components/fieldjson2.ts +++ /dev/null @@ -1,81 +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 { - AdditionalChoiceJson1, - AdditionalChoiceJson1$inboundSchema, -} from "./additionalchoicejson1.js"; -import { ChoiceJson2, ChoiceJson2$inboundSchema } from "./choicejson2.js"; -import { - FieldTypeJson2, - FieldTypeJson2$inboundSchema, -} from "./fieldtypejson2.js"; - -/** - * A survey field. - */ -export type FieldJson2 = { - /** - * Text field ID. - */ - id?: string | undefined; - /** - * text Value of the Field - */ - text?: string | undefined; - /** - * Reporting value of the Category, Its like a custom abbreviation - */ - shortText?: string | undefined; - /** - * Field Type - */ - type?: FieldTypeJson2 | undefined; - /** - * List of choices for this field. - */ - choices?: Array | undefined; - /** - * Contains text of additional choice i.e N/A choice or otherAnswer choice - */ - notApplicableAnswer?: AdditionalChoiceJson1 | undefined; - /** - * Contains text of additional choice i.e N/A choice or otherAnswer choice - */ - otherAnswer?: AdditionalChoiceJson1 | undefined; - /** - * Is this a mandatory field - */ - required: boolean; -}; - -/** @internal */ -export const FieldJson2$inboundSchema: z.ZodType< - FieldJson2, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - text: z.string().optional(), - shortText: z.string().optional(), - type: FieldTypeJson2$inboundSchema.optional(), - choices: z.array(ChoiceJson2$inboundSchema).optional(), - notApplicableAnswer: AdditionalChoiceJson1$inboundSchema.optional(), - otherAnswer: AdditionalChoiceJson1$inboundSchema.optional(), - required: z.boolean().default(false), -}); - -export function fieldJson2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FieldJson2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FieldJson2' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/fieldtype.ts b/packages/typescript/src/models/components/fieldtype.ts new file mode 100644 index 000000000..86b7de5f7 --- /dev/null +++ b/packages/typescript/src/models/components/fieldtype.ts @@ -0,0 +1,25 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: Data is one or more options from a list. `Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is free-text input. + */ +export const FieldType = { + DateTime: "DateTime", + MultiChoice: "MultiChoice", + Number: "Number", + SingleChoice: "SingleChoice", + Text: "Text", +} as const; +/** + * Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: Data is one or more options from a list. `Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is free-text input. + */ +export type FieldType = ClosedEnum; + +/** @internal */ +export const FieldType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(FieldType); diff --git a/packages/typescript/src/models/components/fieldtypejson.ts b/packages/typescript/src/models/components/fieldtypejson.ts index 77692f80f..ae1c8642a 100644 --- a/packages/typescript/src/models/components/fieldtypejson.ts +++ b/packages/typescript/src/models/components/fieldtypejson.ts @@ -6,17 +6,17 @@ import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; /** - * Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: Data is one or more options from a list. `Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is free-text input. + * Field Type */ export const FieldTypeJson = { - DateTime: "DateTime", + SingleChoice: "SingleChoice", MultiChoice: "MultiChoice", + DateTime: "DateTime", Number: "Number", - SingleChoice: "SingleChoice", Text: "Text", } as const; /** - * Determines the required format for a field. `DateTime`: Data is in date-time format. `MultiChoice`: Data is one or more options from a list. `Number`: Data is a number. `SingleChoice`: Data is a a single option from a list. `Text`: Data is free-text input. + * Field Type */ export type FieldTypeJson = ClosedEnum; diff --git a/packages/typescript/src/models/components/fieldtypejson2.ts b/packages/typescript/src/models/components/fieldtypejson2.ts deleted file mode 100644 index 3bcf0e121..000000000 --- a/packages/typescript/src/models/components/fieldtypejson2.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Field Type - */ -export const FieldTypeJson2 = { - SingleChoice: "SingleChoice", - MultiChoice: "MultiChoice", - DateTime: "DateTime", - Number: "Number", - Text: "Text", -} as const; -/** - * Field Type - */ -export type FieldTypeJson2 = ClosedEnum; - -/** @internal */ -export const FieldTypeJson2$inboundSchema: z.ZodNativeEnum< - typeof FieldTypeJson2 -> = z.nativeEnum(FieldTypeJson2); diff --git a/packages/typescript/src/models/components/fileinput.ts b/packages/typescript/src/models/components/fileinput.ts index 712701bce..fb7c95911 100644 --- a/packages/typescript/src/models/components/fileinput.ts +++ b/packages/typescript/src/models/components/fileinput.ts @@ -3,11 +3,7 @@ */ import * as z from "zod/v3"; -import { - Event21, - Event21$Outbound, - Event21$outboundSchema, -} from "./event21.js"; +import { Event3, Event3$Outbound, Event3$outboundSchema } from "./event3.js"; import { Exhibitor, Exhibitor$Outbound, @@ -21,7 +17,7 @@ export type FileInput = { /** * The Associated Event. */ - event: Event21; + event: Event3; /** * The Associated Exhibitor. */ @@ -42,7 +38,7 @@ export type FileInput = { /** @internal */ export type FileInput$Outbound = { - event: Event21$Outbound; + event: Event3$Outbound; exhibitor: Exhibitor$Outbound; displayName: string; hidden: boolean; @@ -55,7 +51,7 @@ export const FileInput$outboundSchema: z.ZodType< z.ZodTypeDef, FileInput > = z.object({ - event: Event21$outboundSchema, + event: Event3$outboundSchema, exhibitor: Exhibitor$outboundSchema, displayName: z.string(), hidden: z.boolean().default(false), diff --git a/packages/typescript/src/models/components/formattype.ts b/packages/typescript/src/models/components/formattype.ts new file mode 100644 index 000000000..cb5e01a8f --- /dev/null +++ b/packages/typescript/src/models/components/formattype.ts @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Proposal format. + */ +export const FormatType = { + Gbta2013: "gbta2013", + Universal: "universal", +} as const; +/** + * Proposal format. + */ +export type FormatType = ClosedEnum; + +/** @internal */ +export const FormatType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(FormatType); diff --git a/packages/typescript/src/models/components/formattypejson.ts b/packages/typescript/src/models/components/formattypejson.ts deleted file mode 100644 index cd760a5cb..000000000 --- a/packages/typescript/src/models/components/formattypejson.ts +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Proposal format. - */ -export const FormatTypeJson = { - Gbta2013: "gbta2013", - Universal: "universal", -} as const; -/** - * Proposal format. - */ -export type FormatTypeJson = ClosedEnum; - -/** @internal */ -export const FormatTypeJson$inboundSchema: z.ZodNativeEnum< - typeof FormatTypeJson -> = z.nativeEnum(FormatTypeJson); diff --git a/packages/typescript/src/models/components/gender.ts b/packages/typescript/src/models/components/gender.ts index 665820948..79b2c028b 100644 --- a/packages/typescript/src/models/components/gender.ts +++ b/packages/typescript/src/models/components/gender.ts @@ -22,3 +22,6 @@ export type Gender = ClosedEnum; /** @internal */ export const Gender$inboundSchema: z.ZodNativeEnum = z .nativeEnum(Gender); +/** @internal */ +export const Gender$outboundSchema: z.ZodNativeEnum = + Gender$inboundSchema; diff --git a/packages/typescript/src/models/components/genderjson.ts b/packages/typescript/src/models/components/genderjson.ts deleted file mode 100644 index b4ab4e2d3..000000000 --- a/packages/typescript/src/models/components/genderjson.ts +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * The gender of the contact. - */ -export const GenderJson = { - Male: "Male", - Female: "Female", - NonBinary: "Non-binary", - RatherNotSay: "Rather not say", -} as const; -/** - * The gender of the contact. - */ -export type GenderJson = ClosedEnum; - -/** @internal */ -export const GenderJson$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(GenderJson); -/** @internal */ -export const GenderJson$outboundSchema: z.ZodNativeEnum = - GenderJson$inboundSchema; diff --git a/packages/typescript/src/models/components/guestjson.ts b/packages/typescript/src/models/components/guestjson.ts index e886dd975..6a749ef78 100644 --- a/packages/typescript/src/models/components/guestjson.ts +++ b/packages/typescript/src/models/components/guestjson.ts @@ -8,11 +8,11 @@ import { Result as SafeParseResult } from "../../types/fp.js"; import { RFCDate } from "../../types/rfcdate.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - AddressJson2, - AddressJson2$inboundSchema, - AddressJson2$Outbound, - AddressJson2$outboundSchema, -} from "./addressjson2.js"; + AddressJson, + AddressJson$inboundSchema, + AddressJson$Outbound, + AddressJson$outboundSchema, +} from "./addressjson.js"; import { PaymentInfoJson, PaymentInfoJson$inboundSchema, @@ -75,7 +75,7 @@ export type GuestJson = { /** * Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. */ - homeAddress?: AddressJson2 | undefined; + homeAddress?: AddressJson | undefined; /** * Payment information. */ @@ -100,7 +100,7 @@ export const GuestJson$inboundSchema: z.ZodType< email: z.string().optional(), homePhone: z.string().optional(), workPhone: z.string().optional(), - homeAddress: AddressJson2$inboundSchema.optional(), + homeAddress: AddressJson$inboundSchema.optional(), paymentInfo: PaymentInfoJson$inboundSchema.optional(), }); /** @internal */ @@ -117,7 +117,7 @@ export type GuestJson$Outbound = { email?: string | undefined; homePhone?: string | undefined; workPhone?: string | undefined; - homeAddress?: AddressJson2$Outbound | undefined; + homeAddress?: AddressJson$Outbound | undefined; paymentInfo?: PaymentInfoJson$Outbound | undefined; }; @@ -139,7 +139,7 @@ export const GuestJson$outboundSchema: z.ZodType< email: z.string().optional(), homePhone: z.string().optional(), workPhone: z.string().optional(), - homeAddress: AddressJson2$outboundSchema.optional(), + homeAddress: AddressJson$outboundSchema.optional(), paymentInfo: PaymentInfoJson$outboundSchema.optional(), }); diff --git a/packages/typescript/src/models/components/guestroomoccupancy.ts b/packages/typescript/src/models/components/guestroomoccupancy.ts new file mode 100644 index 000000000..0228f29de --- /dev/null +++ b/packages/typescript/src/models/components/guestroomoccupancy.ts @@ -0,0 +1,25 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. `TRIPLE`: Three occupants. `QUAD`: Four occupants. + */ +export const GuestRoomOccupancy = { + Single: "SINGLE", + Double: "DOUBLE", + Triple: "TRIPLE", + Quad: "QUAD", +} as const; +/** + * Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. `TRIPLE`: Three occupants. `QUAD`: Four occupants. + */ +export type GuestRoomOccupancy = ClosedEnum; + +/** @internal */ +export const GuestRoomOccupancy$inboundSchema: z.ZodNativeEnum< + typeof GuestRoomOccupancy +> = z.nativeEnum(GuestRoomOccupancy); diff --git a/packages/typescript/src/models/components/guestroomoccupancyjson.ts b/packages/typescript/src/models/components/guestroomoccupancyjson.ts deleted file mode 100644 index 87e58d8be..000000000 --- a/packages/typescript/src/models/components/guestroomoccupancyjson.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"; - -/** - * Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. `TRIPLE`: Three occupants. `QUAD`: Four occupants. - */ -export const GuestRoomOccupancyJson = { - Single: "SINGLE", - Double: "DOUBLE", - Triple: "TRIPLE", - Quad: "QUAD", -} as const; -/** - * Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. `TRIPLE`: Three occupants. `QUAD`: Four occupants. - */ -export type GuestRoomOccupancyJson = ClosedEnum; - -/** @internal */ -export const GuestRoomOccupancyJson$inboundSchema: z.ZodNativeEnum< - typeof GuestRoomOccupancyJson -> = z.nativeEnum(GuestRoomOccupancyJson); diff --git a/packages/typescript/src/models/components/guestroomoccupancyperroomtype.ts b/packages/typescript/src/models/components/guestroomoccupancyperroomtype.ts new file mode 100644 index 000000000..03503f440 --- /dev/null +++ b/packages/typescript/src/models/components/guestroomoccupancyperroomtype.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 { + GuestRoomOccupancy, + GuestRoomOccupancy$inboundSchema, +} from "./guestroomoccupancy.js"; +import { GuestRoomType, GuestRoomType$inboundSchema } from "./guestroomtype.js"; + +/** + * Room occupancy for a room type. + */ +export type GuestRoomOccupancyPerRoomType = { + /** + * Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. `TRIPLE`: Three occupants. `QUAD`: Four occupants. + */ + occupancy?: GuestRoomOccupancy | undefined; + /** + * 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; +}; + +/** @internal */ +export const GuestRoomOccupancyPerRoomType$inboundSchema: z.ZodType< + GuestRoomOccupancyPerRoomType, + z.ZodTypeDef, + unknown +> = z.object({ + occupancy: GuestRoomOccupancy$inboundSchema.optional(), + type: GuestRoomType$inboundSchema.optional(), +}); + +export function guestRoomOccupancyPerRoomTypeFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GuestRoomOccupancyPerRoomType$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GuestRoomOccupancyPerRoomType' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/guestroomoccupancyperroomtypejson.ts b/packages/typescript/src/models/components/guestroomoccupancyperroomtypejson.ts deleted file mode 100644 index 61f63f262..000000000 --- a/packages/typescript/src/models/components/guestroomoccupancyperroomtypejson.ts +++ /dev/null @@ -1,50 +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 { - GuestRoomOccupancyJson, - GuestRoomOccupancyJson$inboundSchema, -} from "./guestroomoccupancyjson.js"; -import { - GuestRoomTypeJson, - GuestRoomTypeJson$inboundSchema, -} from "./guestroomtypejson.js"; - -/** - * Room occupancy for a room type. - */ -export type GuestRoomOccupancyPerRoomTypeJson = { - /** - * Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. `TRIPLE`: Three occupants. `QUAD`: Four occupants. - */ - occupancy?: GuestRoomOccupancyJson | undefined; - /** - * 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?: GuestRoomTypeJson | undefined; -}; - -/** @internal */ -export const GuestRoomOccupancyPerRoomTypeJson$inboundSchema: z.ZodType< - GuestRoomOccupancyPerRoomTypeJson, - z.ZodTypeDef, - unknown -> = z.object({ - occupancy: GuestRoomOccupancyJson$inboundSchema.optional(), - type: GuestRoomTypeJson$inboundSchema.optional(), -}); - -export function guestRoomOccupancyPerRoomTypeJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GuestRoomOccupancyPerRoomTypeJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GuestRoomOccupancyPerRoomTypeJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/guestroomtype.ts b/packages/typescript/src/models/components/guestroomtype.ts new file mode 100644 index 000000000..f77188ca5 --- /dev/null +++ b/packages/typescript/src/models/components/guestroomtype.ts @@ -0,0 +1,26 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * 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. + */ +export const GuestRoomType = { + Any: "ANY", + Single: "SINGLE", + Double: "DOUBLE", + Suite: "SUITE", + Staff: "STAFF", +} as const; +/** + * 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. + */ +export type GuestRoomType = ClosedEnum; + +/** @internal */ +export const GuestRoomType$inboundSchema: z.ZodNativeEnum< + typeof GuestRoomType +> = z.nativeEnum(GuestRoomType); diff --git a/packages/typescript/src/models/components/guestroomtypejson.ts b/packages/typescript/src/models/components/guestroomtypejson.ts deleted file mode 100644 index 943deffd7..000000000 --- a/packages/typescript/src/models/components/guestroomtypejson.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * 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. - */ -export const GuestRoomTypeJson = { - Any: "ANY", - Single: "SINGLE", - Double: "DOUBLE", - Suite: "SUITE", - Staff: "STAFF", -} as const; -/** - * 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. - */ -export type GuestRoomTypeJson = ClosedEnum; - -/** @internal */ -export const GuestRoomTypeJson$inboundSchema: z.ZodNativeEnum< - typeof GuestRoomTypeJson -> = z.nativeEnum(GuestRoomTypeJson); diff --git a/packages/typescript/src/models/components/hlsinputwithclips.ts b/packages/typescript/src/models/components/hlsinputwithclips.ts new file mode 100644 index 000000000..cb88e1c60 --- /dev/null +++ b/packages/typescript/src/models/components/hlsinputwithclips.ts @@ -0,0 +1,43 @@ +/* + * 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 { VideoClip, VideoClip$inboundSchema } from "./videoclip.js"; + +/** + * HTTP Live Streaming input and clips. + */ +export type HlsInputWithClips = { + /** + * Location for HTTP Live Streaming (HLS) recording. + */ + hlsInput?: string | undefined; + /** + * Clips for the HLS recording. + */ + clips?: Array | undefined; +}; + +/** @internal */ +export const HlsInputWithClips$inboundSchema: z.ZodType< + HlsInputWithClips, + z.ZodTypeDef, + unknown +> = z.object({ + hlsInput: z.string().optional(), + clips: z.array(VideoClip$inboundSchema).optional(), +}); + +export function hlsInputWithClipsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => HlsInputWithClips$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'HlsInputWithClips' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/hlsinputwithclipsjson.ts b/packages/typescript/src/models/components/hlsinputwithclipsjson.ts deleted file mode 100644 index 714828c85..000000000 --- a/packages/typescript/src/models/components/hlsinputwithclipsjson.ts +++ /dev/null @@ -1,43 +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 { VideoClipJson, VideoClipJson$inboundSchema } from "./videoclipjson.js"; - -/** - * HTTP Live Streaming input and clips. - */ -export type HlsInputWithClipsJson = { - /** - * Location for HTTP Live Streaming (HLS) recording. - */ - hlsInput?: string | undefined; - /** - * Clips for the HLS recording. - */ - clips?: Array | undefined; -}; - -/** @internal */ -export const HlsInputWithClipsJson$inboundSchema: z.ZodType< - HlsInputWithClipsJson, - z.ZodTypeDef, - unknown -> = z.object({ - hlsInput: z.string().optional(), - clips: z.array(VideoClipJson$inboundSchema).optional(), -}); - -export function hlsInputWithClipsJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => HlsInputWithClipsJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'HlsInputWithClipsJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/hotelrequest.ts b/packages/typescript/src/models/components/hotelrequest.ts index 9af420f49..1d5dac21f 100644 --- a/packages/typescript/src/models/components/hotelrequest.ts +++ b/packages/typescript/src/models/components/hotelrequest.ts @@ -7,7 +7,7 @@ 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"; -import { Address3, Address3$inboundSchema } from "./address3.js"; +import { Address5, Address5$inboundSchema } from "./address5.js"; import { AttendeeAnswer1, AttendeeAnswer1$inboundSchema, @@ -188,7 +188,7 @@ export type HotelRequest = { /** * Address of the hotel. */ - hotelAddress?: Address3 | undefined; + hotelAddress?: Address5 | undefined; /** * Collection of hotel room rates the requester has taken. */ @@ -257,7 +257,7 @@ export const HotelRequest$inboundSchema: z.ZodType< ).optional(), roomTaxBillingExceptions: z.string().optional(), incidentalBillingExceptions: z.string().optional(), - hotelAddress: Address3$inboundSchema.optional(), + hotelAddress: Address5$inboundSchema.optional(), hotelRoomRates: z.array(HotelRoomRate$inboundSchema).optional(), hotelRequestAnswers: z.array(AttendeeAnswer1$inboundSchema).optional(), }); diff --git a/packages/typescript/src/models/components/housingeventhotel.ts b/packages/typescript/src/models/components/housingeventhotel.ts index ae5cc7c6b..eccb15b3e 100644 --- a/packages/typescript/src/models/components/housingeventhotel.ts +++ b/packages/typescript/src/models/components/housingeventhotel.ts @@ -6,7 +6,7 @@ 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 { AddressJson2, AddressJson2$inboundSchema } from "./addressjson2.js"; +import { AddressJson, AddressJson$inboundSchema } from "./addressjson.js"; import { HotelRatingJson, HotelRatingJson$inboundSchema, @@ -61,7 +61,7 @@ export type HousingEventHotel = { /** * Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. */ - address?: AddressJson2 | undefined; + address?: AddressJson | undefined; }; /** @internal */ @@ -79,7 +79,7 @@ export const HousingEventHotel$inboundSchema: z.ZodType< proximity: ProximityJson$inboundSchema.optional(), amenities: z.array(z.string()).optional(), rating: HotelRatingJson$inboundSchema.optional(), - address: AddressJson2$inboundSchema.optional(), + address: AddressJson$inboundSchema.optional(), }); export function housingEventHotelFromJSON( diff --git a/packages/typescript/src/models/components/housingeventsummarylist.ts b/packages/typescript/src/models/components/housingeventsummarylist.ts index b3015a622..7fa1265eb 100644 --- a/packages/typescript/src/models/components/housingeventsummarylist.ts +++ b/packages/typescript/src/models/components/housingeventsummarylist.ts @@ -7,7 +7,7 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; -import { ZeroAllOf9, ZeroAllOf9$inboundSchema } from "./zeroallof9.js"; +import { ZeroAllOf8, ZeroAllOf8$inboundSchema } from "./zeroallof8.js"; /** * List of housing events with key information, providing a summarized view of each event. @@ -20,7 +20,7 @@ export type HousingEventSummaryList = { /** * List of housing events with key information, providing a summarized view of each event. */ - data: Array; + data: Array; }; /** @internal */ @@ -30,7 +30,7 @@ export const HousingEventSummaryList$inboundSchema: z.ZodType< unknown > = z.object({ paging: PagingJson$inboundSchema, - data: z.array(ZeroAllOf9$inboundSchema), + data: z.array(ZeroAllOf8$inboundSchema), }); export function housingEventSummaryListFromJSON( diff --git a/packages/typescript/src/models/components/idjson.ts b/packages/typescript/src/models/components/idjson.ts deleted file mode 100644 index 5c44c71ea..000000000 --- a/packages/typescript/src/models/components/idjson.ts +++ /dev/null @@ -1,34 +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"; - -/** - * An entity which only has an id. - */ -export type IdJson = { - /** - * The entity's id value. - */ - id: string; -}; - -/** @internal */ -export const IdJson$inboundSchema: z.ZodType = z - .object({ - id: z.string(), - }); - -export function idJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => IdJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'IdJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/idonlyentity.ts b/packages/typescript/src/models/components/idonlyentity.ts new file mode 100644 index 000000000..3753580b5 --- /dev/null +++ b/packages/typescript/src/models/components/idonlyentity.ts @@ -0,0 +1,37 @@ +/* + * 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"; + +/** + * An entity which only has an id. + */ +export type IdOnlyEntity = { + /** + * The entity's id value. + */ + id: string; +}; + +/** @internal */ +export const IdOnlyEntity$inboundSchema: z.ZodType< + IdOnlyEntity, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), +}); + +export function idOnlyEntityFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => IdOnlyEntity$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'IdOnlyEntity' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/index.ts b/packages/typescript/src/models/components/index.ts index b427dab55..96fbc70d2 100644 --- a/packages/typescript/src/models/components/index.ts +++ b/packages/typescript/src/models/components/index.ts @@ -18,31 +18,30 @@ export * from "./activityjson.js"; export * from "./activityleadjson.js"; export * from "./activitytypejson.js"; export * from "./additionalchoice.js"; -export * from "./additionalchoicejson1.js"; -export * from "./additionalchoicejson2.js"; +export * from "./additionalchoice1.js"; +export * from "./additionalchoicejson.js"; export * from "./additionalguestfeesjson.js"; export * from "./addonjson.js"; +export * from "./address.js"; +export * from "./address1.js"; export * from "./address11.js"; -export * from "./address12.js"; -export * from "./address2.js"; export * from "./address3.js"; +export * from "./address4.js"; +export * from "./address5.js"; +export * from "./address6.js"; +export * from "./addressinput.js"; export * from "./addressjson.js"; -export * from "./addressjson0.js"; +export * from "./addressjson1.js"; export * from "./addressjson2.js"; -export * from "./addressjson3.js"; -export * from "./addressjson4.js"; -export * from "./addressjson5.js"; -export * from "./addressjsoninput.js"; export * from "./addresstype.js"; export * from "./addresstypejson.js"; -export * from "./addresstypejson1.js"; export * from "./adlocationjson.js"; export * from "./admissionitemspaginatedresponse.js"; export * from "./advancedlogic.js"; export * from "./advancedlogicchoicesjson.js"; export * from "./agendaitem1.js"; -export * from "./agendaitemsetupjson.js"; -export * from "./agendaitemtypejson.js"; +export * from "./agendaitemsetup.js"; +export * from "./agendaitemtype.js"; export * from "./ageneralledgercodeusedtocategorizefinancialdatawhichhelpsbusinessesanalyzeandreportontheirfinancialactivity.js"; export * from "./aggregatedcostjson.js"; export * from "./airactual.js"; @@ -61,7 +60,7 @@ export * from "./alternateanswer.js"; export * from "./alternatequestion.js"; export * from "./alternatetraveldetail.js"; export * from "./alternatetravelpaginatedresponse.js"; -export * from "./amenitytypejson.js"; +export * from "./amenitytype.js"; export * from "./anniversary.js"; export * from "./answer1.js"; export * from "./answer2.js"; @@ -92,14 +91,15 @@ export * from "./appointmenttypecategoryjson.js"; export * from "./appointmenttypejson.js"; export * from "./appointmenttypespaginatedresponse.js"; export * from "./appointmentwithquestions.js"; -export * from "./assetlocationjson.js"; -export * from "./assetlocationjsoninput.js"; +export * from "./assetlocation.js"; +export * from "./assetlocationinput.js"; export * from "./associatedregistrationpathjson.js"; export * from "./attachmentjson1.js"; -export * from "./attachmentsourcejson.js"; -export * from "./attendee1.js"; +export * from "./attachmentsource.js"; +export * from "./attendee.js"; export * from "./attendee11.js"; export * from "./attendee12.js"; +export * from "./attendee13.js"; export * from "./attendee2.js"; export * from "./attendee3.js"; export * from "./attendeeactivitiespaginatedresponse.js"; @@ -117,8 +117,7 @@ export * from "./attendeeaudiencesegmentassociationspaginatedresponse.js"; export * from "./attendeecontactinfo.js"; export * from "./attendeecontactmembership.js"; export * from "./attendeecontacttype.js"; -export * from "./attendeecontacttypejson.js"; -export * from "./attendeecontacttypejsoninput.js"; +export * from "./attendeecontacttypeinput.js"; export * from "./attendeecreditjson.js"; export * from "./attendeecreditspaginatedresponse.js"; export * from "./attendeecredittypejson.js"; @@ -139,6 +138,7 @@ export * from "./attendeeresponsejson.js"; export * from "./attendeeresponsemethod.js"; export * from "./attendeeresponsemethod1.js"; export * from "./attendeesignatureresponsejson.js"; +export * from "./attendeespaginatedresponse.js"; export * from "./attendeestatus.js"; export * from "./attendeestatusjson.js"; export * from "./attendeesubscriptionrequest.js"; @@ -160,9 +160,9 @@ export * from "./audiencesegmentcreationtypejson.js"; export * from "./audiencesegmentresponse.js"; export * from "./audiencesegmentspaginatedresponse.js"; export * from "./audiotracksresponse.js"; -export * from "./audiotrackstatusjson.js"; -export * from "./audiotracktypejson.js"; -export * from "./audiotrackvariantjson.js"; +export * from "./audiotrackstatus.js"; +export * from "./audiotracktype.js"; +export * from "./audiotrackvariant.js"; export * from "./authenticationschemajson.js"; export * from "./availablenightjson.js"; export * from "./availablenights.js"; @@ -185,11 +185,11 @@ export * from "./baseaddressjson.js"; export * from "./baseanswerjson.js"; export * from "./basechoice.js"; export * from "./basequestionresponsejson.js"; -export * from "./biditemstatustypejson.js"; -export * from "./bidstatustypejson.js"; -export * from "./bidstaytypejson.js"; +export * from "./biditemstatustype.js"; +export * from "./bidstatustype.js"; +export * from "./bidstaytype.js"; export * from "./billingaddress.js"; -export * from "./billingdetailsjson0.js"; +export * from "./billingdetails1.js"; export * from "./bookingwebsitelinkjson.js"; export * from "./boothstaff.js"; export * from "./boothstafflistresponse.js"; @@ -199,7 +199,7 @@ export * from "./bouncedetailsjson.js"; export * from "./bouncedetailsresponse.js"; export * from "./brand.js"; export * from "./brandpaginatedresponse.js"; -export * from "./bridegroomtypejson0.js"; +export * from "./bridegroomtype.js"; export * from "./budgetallocatebyjson.js"; export * from "./budgetallocationjson.js"; export * from "./budgetallocationslist.js"; @@ -243,13 +243,13 @@ export * from "./bulkjob.js"; export * from "./bulkjobwithdata.js"; export * from "./bulkresultjson.js"; export * from "./bulkresultspaginatedresponse.js"; -export * from "./businesstypejson.js"; +export * from "./businesstype.js"; export * from "./calendar.js"; export * from "./callcenterlinkjson.js"; export * from "./campaigndatajson.js"; export * from "./campaignlistpaginatedresponse.js"; -export * from "./cancellationdetailsjson.js"; -export * from "./cancelledreasonjson0.js"; +export * from "./cancellationdetails.js"; +export * from "./cancelledreason1.js"; export * from "./capacity.js"; export * from "./capacityjson.js"; export * from "./capacityjsoninput.js"; @@ -264,12 +264,11 @@ export * from "./cardtransactionjson.js"; export * from "./cardtransactionpaginatedresponse.js"; export * from "./cardtransactionupdate.js"; export * from "./cardtypejson.js"; +export * from "./category.js"; export * from "./categoryid.js"; -export * from "./categoryidnamejson.js"; export * from "./categoryitemscostjson.js"; export * from "./categoryjson.js"; export * from "./categoryjson1.js"; -export * from "./categoryjson2.js"; export * from "./chain.js"; export * from "./chainpaginatedresponse.js"; export * from "./channeljson.js"; @@ -279,56 +278,57 @@ export * from "./chatreactionjson.js"; export * from "./chattypejson.js"; export * from "./checkinjson.js"; export * from "./choice.js"; -export * from "./choicejson.js"; +export * from "./choice1.js"; +export * from "./choicejson1.js"; export * from "./choicejson2.js"; -export * from "./choicejson3.js"; -export * from "./choicejson3input.js"; +export * from "./choicejson2input.js"; export * from "./choicesdisplaytypejson.js"; -export * from "./choicesortorderjson.js"; +export * from "./choicesortorder.js"; export * from "./choicetranslationjson.js"; export * from "./choicetypejson.js"; -export * from "./commenttypejson.js"; +export * from "./commenttype.js"; export * from "./communicationconfiguration.js"; export * from "./communicationlogmessagejson.js"; export * from "./communicationlogmessagepaginatedresponse.js"; export * from "./communicationlogmessagetypejson.js"; export * from "./compliance.js"; -export * from "./compliancejson.js"; export * from "./compositevaluejson.js"; export * from "./connectionresponse.js"; export * from "./contact.js"; -export * from "./contactbulkitemjson.js"; +export * from "./contact1.js"; +export * from "./contact2.js"; +export * from "./contactbulkresponseitem.js"; export * from "./contactcommonjson.js"; -export * from "./contactcreaterequestjson.js"; +export * from "./contactcreate.js"; export * from "./contactfieldjsoninput.js"; export * from "./contactfields.js"; export * from "./contactfile.js"; export * from "./contactgroup.js"; export * from "./contactgroupinput.js"; export * from "./contactgrouppaginatedresponse.js"; -export * from "./contactgrouptypejson.js"; -export * from "./contacthistoryjson.js"; +export * from "./contactgrouptype.js"; +export * from "./contacthistory.js"; export * from "./contacthistorypaginatedresponse.js"; -export * from "./contactidjson.js"; +export * from "./contactid.js"; export * from "./contactidpaginatedresponse.js"; export * from "./contactinformationjson.js"; -export * from "./contactjson0.js"; -export * from "./contactjson1.js"; -export * from "./contactjson2.js"; +export * from "./contactjson.js"; export * from "./contactlinks.js"; export * from "./contactlinks1.js"; -export * from "./contactlinksjson.js"; -export * from "./contactlinksjsoninput.js"; +export * from "./contactlinksinput.js"; +export * from "./contactmembership.js"; export * from "./contactmerge.js"; -export * from "./contactmergefieldjson.js"; -export * from "./contactmethodsjson.js"; +export * from "./contactmergefield.js"; +export * from "./contactmethods.js"; export * from "./contactobfuscationstatus.js"; -export * from "./contactobfuscationstatustypejson.js"; +export * from "./contactobfuscationstatustype.js"; +export * from "./contactoptout.js"; +export * from "./contactoptoutinput.js"; export * from "./contactpaginatedresponse.js"; export * from "./contactpatch.js"; export * from "./contacttransaction.js"; +export * from "./contacttype.js"; export * from "./contacttypejson.js"; -export * from "./contacttypejson1.js"; export * from "./contacttypepaginatedresponse.js"; export * from "./contactupdate.js"; export * from "./countryjson.js"; @@ -349,30 +349,30 @@ export * from "./currencyconversionratelistresponsejson.js"; export * from "./currencyconversionratepaginatedresponse.js"; export * from "./currencyconversionraterequest.js"; export * from "./currencyconversionrateresponse.js"; -export * from "./currencyjson1.js"; +export * from "./currencyjson2.js"; export * from "./customfield.js"; export * from "./customfield2.js"; export * from "./customfield3.js"; +export * from "./customfieldanswers.js"; export * from "./customfieldcategoryjson.js"; export * from "./customfieldexpand.js"; +export * from "./customfieldjson.js"; export * from "./customfieldjson1.js"; export * from "./customfieldjson2.js"; -export * from "./customfieldjson3.js"; export * from "./customfieldschema.js"; export * from "./customfieldsjson.js"; export * from "./customfieldspaginatedresponse.js"; -export * from "./customfieldtypejson1.js"; -export * from "./customquestionanswerjson0.js"; -export * from "./dateanswerformatjson.js"; -export * from "./datepatternjson0.js"; -export * from "./daterequirementsjson0.js"; -export * from "./datesjson0.js"; +export * from "./customfieldtypejson.js"; +export * from "./dateanswerformat.js"; +export * from "./datepattern1.js"; +export * from "./daterequirements1.js"; +export * from "./dates1.js"; export * from "./datetimedisplayformatjson.js"; -export * from "./datetypejson1.js"; -export * from "./dayofweekjson0.js"; +export * from "./datetypejson.js"; +export * from "./dayofweek.js"; export * from "./device.js"; -export * from "./devicejson.js"; -export * from "./devicetypejson.js"; +export * from "./device1.js"; +export * from "./devicetype.js"; export * from "./discountagendaitemspaginatedresponse.js"; export * from "./discountaudiencetype.js"; export * from "./discountcapacity.js"; @@ -382,13 +382,13 @@ export * from "./discountmethod.js"; export * from "./discountmethodtype.js"; export * from "./discounttype.js"; export * from "./displayindatatagjson.js"; -export * from "./displaytypejson.js"; -export * from "./distancejson1.js"; -export * from "./distributionlistinfojson.js"; -export * from "./distributionlistinfojsoninput.js"; -export * from "./distributionlistsecuritytypejson.js"; -export * from "./distributionliststatusjson.js"; -export * from "./documenttypejson0.js"; +export * from "./displaytype.js"; +export * from "./distancejson.js"; +export * from "./distributionlistinfo.js"; +export * from "./distributionlistinfoinput.js"; +export * from "./distributionlistsecuritytype.js"; +export * from "./distributionliststatus.js"; +export * from "./documenttype1.js"; export * from "./donationitem1.js"; export * from "./donationitemspaginatedresponse.js"; export * from "./durationpaginatedresponse.js"; @@ -403,9 +403,9 @@ export * from "./emailsendstatus.js"; export * from "./emailstatusjson.js"; export * from "./emailtemplatedatajson.js"; export * from "./emailtemplatepaginatedresponse.js"; +export * from "./emailtypejson.js"; export * from "./emailtypejson1.js"; -export * from "./emailtypejson3.js"; -export * from "./encodingprofilejson.js"; +export * from "./encodingprofile.js"; export * from "./entitytype1.js"; export * from "./errorresponse1.js"; export * from "./errorresponse2.js"; @@ -414,8 +414,9 @@ export * from "./errorscimtypejson.js"; export * from "./estimatedcostjson.js"; export * from "./evaluationresultjson.js"; export * from "./event1.js"; +export * from "./event12.js"; export * from "./event2.js"; -export * from "./event21.js"; +export * from "./event3.js"; export * from "./eventactivitydetailsjson.js"; export * from "./eventactivitydetailsjsoninput.js"; export * from "./eventasyncresponse.js"; @@ -423,7 +424,7 @@ export * from "./eventasyncstatus.js"; export * from "./eventbudgetcostdetailjson.js"; export * from "./eventbudgetpaginatedresponse.js"; export * from "./eventbudgettotalsjson.js"; -export * from "./eventcontactidjson.js"; +export * from "./eventcontactid.js"; export * from "./eventcopy.js"; export * from "./eventcopytargetjson.js"; export * from "./eventemailjson.js"; @@ -433,17 +434,17 @@ export * from "./eventfeaturelaunchrequest.js"; export * from "./eventfeaturespaginatedresponse.js"; export * from "./eventfeaturesresponse.js"; export * from "./eventformatjson.js"; -export * from "./eventformattypejson0.js"; +export * from "./eventformattype.js"; export * from "./eventid.js"; export * from "./eventinput.js"; -export * from "./eventjson0.js"; +export * from "./eventjson.js"; export * from "./eventjson1.js"; -export * from "./eventjson2.js"; -export * from "./eventjson4.js"; +export * from "./eventjson3.js"; +export * from "./eventjson5.js"; export * from "./eventjson6.js"; -export * from "./eventjson8.js"; export * from "./eventlinksjson.js"; -export * from "./eventlitejson.js"; +export * from "./eventlite.js"; +export * from "./eventorganization1.js"; export * from "./eventpaginatedresponse.js"; export * from "./eventquestionchoicejson.js"; export * from "./eventquestionchoicesresponse.js"; @@ -469,8 +470,8 @@ export * from "./eventsurveyresponsespaginatedresponse.js"; export * from "./eventsurveysessionmatchjson.js"; export * from "./eventsurveyspaginatedresponse.js"; export * from "./eventsurveytypejson.js"; -export * from "./eventtypejson0.js"; -export * from "./eventtypejson1.js"; +export * from "./eventtype1.js"; +export * from "./eventtypejson.js"; export * from "./eventupdate.js"; export * from "./eventupdateinput.js"; export * from "./eventweblinkjson.js"; @@ -558,17 +559,17 @@ export * from "./externalactivitytypejson.js"; export * from "./externalcodetypejson.js"; export * from "./externalreference.js"; export * from "./externalreferencetype.js"; -export * from "./fairseasontypejson.js"; +export * from "./fairseasontype.js"; export * from "./featuretierjson.js"; export * from "./featuretypejson.js"; export * from "./featureupdate.js"; export * from "./fee.js"; export * from "./feeitem.js"; export * from "./feeitemspaginatedresponse.js"; +export * from "./field.js"; export * from "./fieldjson.js"; -export * from "./fieldjson2.js"; +export * from "./fieldtype.js"; export * from "./fieldtypejson.js"; -export * from "./fieldtypejson2.js"; export * from "./fileinput.js"; export * from "./filelinkjson.js"; export * from "./filelistresponse.js"; @@ -577,10 +578,9 @@ export * from "./filewithaudit.js"; export * from "./filter.js"; export * from "./flightdetail.js"; export * from "./formatjson.js"; -export * from "./formattypejson.js"; +export * from "./formattype.js"; export * from "./gender.js"; export * from "./gender1.js"; -export * from "./genderjson.js"; export * from "./generalledger.js"; export * from "./generalledger1.js"; export * from "./generalledgerjson.js"; @@ -589,10 +589,10 @@ export * from "./groupjson.js"; export * from "./groupjson0.js"; export * from "./guest.js"; export * from "./guestjson.js"; -export * from "./guestroomoccupancyjson.js"; -export * from "./guestroomoccupancyperroomtypejson.js"; -export * from "./guestroomtypejson.js"; -export * from "./hlsinputwithclipsjson.js"; +export * from "./guestroomoccupancy.js"; +export * from "./guestroomoccupancyperroomtype.js"; +export * from "./guestroomtype.js"; +export * from "./hlsinputwithclips.js"; export * from "./hookinput.js"; export * from "./hookoutput.js"; export * from "./hooksecurityjsonoutput.js"; @@ -624,9 +624,9 @@ export * from "./hublogo.js"; export * from "./hubowner.js"; export * from "./hubspaginatedresponse.js"; export * from "./hubstatusproperty.js"; -export * from "./idjson.js"; +export * from "./idonlyentity.js"; export * from "./imagelinkjson.js"; -export * from "./industryjson0.js"; +export * from "./industry1.js"; export * from "./inventorydetailslist.js"; export * from "./invitationlistcommonjson.js"; export * from "./invitationlistidjson.js"; @@ -647,9 +647,9 @@ export * from "./leadqualificationquestion.js"; export * from "./leadqualificationquestionslistresponse.js"; export * from "./leadqualifiedanswerjson.js"; export * from "./leadqualifiedquestionresponsejson.js"; +export * from "./leadsource.js"; export * from "./leadsourceexpand.js"; -export * from "./leadsourcejson.js"; -export * from "./leadsourcesectionjson.js"; +export * from "./leadsourcesection.js"; export * from "./leadspaginatedresponse.js"; export * from "./legdetail.js"; export * from "./link.js"; @@ -665,8 +665,8 @@ export * from "./locationjson.js"; export * from "./locationspaginatedresponse.js"; export * from "./lookup.js"; export * from "./loopingchoicejson.js"; -export * from "./managementleveltypejson1.js"; -export * from "./measurementunitjson0.js"; +export * from "./managementleveltype1.js"; +export * from "./measurementunit.js"; export * from "./meetingrequest.js"; export * from "./meetingrequestbulkresponseitemjson.js"; export * from "./meetingrequestcreatejson.js"; @@ -684,22 +684,19 @@ export * from "./meetingroomjson.js"; export * from "./meetingroomrequirementjson.js"; export * from "./meetingroomsetuptypejson.js"; export * from "./membershipitemspaginatedresponse.js"; -export * from "./membershipjson.js"; +export * from "./messagerecipientresponse.js"; export * from "./messagerecipientspaginatedresponse.js"; -export * from "./messagerecipientsresponsejson.js"; export * from "./metajson.js"; export * from "./mutabilityjson.js"; export * from "./namedobject.js"; export * from "./namejson.js"; export * from "./newreservation.js"; export * from "./nightratejson.js"; -export * from "./numericanswerformatjson.js"; -export * from "./offeringcosttypejson0.js"; -export * from "./oneallof.js"; -export * from "./oneoneof.js"; +export * from "./numericanswerformat.js"; +export * from "./offeringcosttype1.js"; +export * from "./one.js"; +export * from "./optoutby.js"; export * from "./optoutbyjson.js"; -export * from "./optoutjson.js"; -export * from "./optoutjsoninput.js"; export * from "./order.js"; export * from "./orderdetail.js"; export * from "./orderdetailspaginatedresponse.js"; @@ -710,10 +707,10 @@ export * from "./orderitemresponse.js"; export * from "./orderitemspaginatedresponse.js"; export * from "./orderref.js"; export * from "./ordertype.js"; -export * from "./organizationjson.js"; -export * from "./organizationtypejson0.js"; +export * from "./organization.js"; +export * from "./organizationtype1.js"; export * from "./otherpaymentjson.js"; -export * from "./packagepricingpreferencejson.js"; +export * from "./packagepricingpreference.js"; export * from "./pagevisibilityjson.js"; export * from "./paginatedexistingmember.js"; export * from "./paginatedinternaldocuments.js"; @@ -728,13 +725,13 @@ export * from "./paginationlinks.js"; export * from "./paginationlinksjson.js"; export * from "./paging.js"; export * from "./pagingjson.js"; -export * from "./pagingjson19.js"; -export * from "./pagingnototalcountjson2.js"; +export * from "./pagingjson2.js"; +export * from "./pagingnototalcountjson.js"; export * from "./participantresponsejson.js"; export * from "./participantstatusjson.js"; export * from "./participanttypejson.js"; -export * from "./passportjson.js"; -export * from "./passportjsoninput.js"; +export * from "./passport.js"; +export * from "./passportinput.js"; export * from "./payment.js"; export * from "./paymentinfojson.js"; export * from "./paymentmethod.js"; @@ -759,7 +756,7 @@ export * from "./planningdocumentspaginatedresponse.js"; export * from "./playerpaginatedresponse.js"; export * from "./playertypejson.js"; export * from "./playertypeproviderjson.js"; -export * from "./policyvaluetypejson.js"; +export * from "./policyvaluetype.js"; export * from "./pollresponsejson.js"; export * from "./pricingconfigjson.js"; export * from "./processformexpand.js"; @@ -778,7 +775,7 @@ export * from "./programitem1.js"; export * from "./programitem2.js"; export * from "./programitemdocumentpaginatedresponse.js"; export * from "./programiteminput.js"; -export * from "./programitemlitejson.js"; +export * from "./programitemlite.js"; export * from "./programitempaginatedresponse.js"; export * from "./programitemsessiondocument.js"; export * from "./programitemsessiondocuments.js"; @@ -794,7 +791,7 @@ export * from "./proposaldatejson.js"; export * from "./proposalrequest.js"; export * from "./proposalresponse.js"; export * from "./proposalstatusjson.js"; -export * from "./proposalstatustypejson.js"; +export * from "./proposalstatustype.js"; export * from "./proposaltypejson.js"; export * from "./proximityjson.js"; export * from "./publicusageplan.js"; @@ -803,35 +800,34 @@ export * from "./quantityitemresponse.js"; export * from "./quantityitemspaginatedresponse.js"; export * from "./quantityitemupdate.js"; export * from "./question.js"; -export * from "./questionclassificationtypejson.js"; +export * from "./questionclassificationtype.js"; export * from "./questiondetailjson.js"; export * from "./questionidjson.js"; +export * from "./questionjson.js"; export * from "./questionjson1.js"; export * from "./questionjson2.js"; -export * from "./questionjson3.js"; export * from "./questionpaginatedresponse.js"; -export * from "./questionresponsedatatypejson.js"; -export * from "./questionresponseformatjson.js"; +export * from "./questionresponsedatatype.js"; +export * from "./questionresponseformat.js"; export * from "./questionresponsejson.js"; -export * from "./questionresponsetypejson.js"; -export * from "./questionsectionjson.js"; +export * from "./questionresponsetype.js"; +export * from "./questionsection.js"; export * from "./questionspaginatedresponse.js"; export * from "./questionspaginatedresponse1.js"; +export * from "./questiontype.js"; export * from "./questiontypejson.js"; export * from "./questiontypejson1.js"; export * from "./questiontypejson2.js"; -export * from "./questiontypejson3.js"; -export * from "./questionwithprogramidjson.js"; -export * from "./rateleveltypejson.js"; -export * from "./ratereviewstatustypejson.js"; -export * from "./ratetypejson.js"; -export * from "./rebatetypejson.js"; -export * from "./recipientinfojson0.js"; +export * from "./rateleveltype.js"; +export * from "./ratereviewstatustype.js"; +export * from "./ratetype.js"; +export * from "./rebatetype.js"; +export * from "./recipientinfo.js"; export * from "./recipientjson.js"; export * from "./recipientsdatajson.js"; export * from "./recipientsrequestjson.js"; export * from "./recipientsresponsejson.js"; -export * from "./recipienttypejson0.js"; +export * from "./recipienttype.js"; export * from "./reconciliationstatusjson.js"; export * from "./refundpolicy.js"; export * from "./refundtype.js"; @@ -869,33 +865,31 @@ export * from "./responsejson.js"; export * from "./responsespaginatedresponse.js"; export * from "./rewardprogramjson.js"; export * from "./rfp.js"; -export * from "./rfpagendaitemjson.js"; -export * from "./rfpagendaitemschedulejson.js"; -export * from "./rfpagendaitemschedulewithidjson.js"; -export * from "./rfpattachmentjson.js"; -export * from "./rfpcustomfieldjson.js"; -export * from "./rfpdatemodejson0.js"; -export * from "./rfpeventjson.js"; -export * from "./rfpeventorganizationjson.js"; +export * from "./rfpagendaitem.js"; +export * from "./rfpagendaitemschedule.js"; +export * from "./rfpagendaitemschedulewithid.js"; +export * from "./rfpattachment.js"; +export * from "./rfpdatemode.js"; +export * from "./rfpevent.js"; export * from "./rfpguestrooms.js"; -export * from "./rfpidjson1.js"; -export * from "./rfpinternaldocumentjson0.js"; +export * from "./rfpidjson.js"; +export * from "./rfpinternaldocument.js"; export * from "./rfpleadsource.js"; export * from "./rfpleadsourcesection.js"; -export * from "./rfpmealjson.js"; -export * from "./rfppasteventjson.js"; +export * from "./rfpmeal.js"; +export * from "./rfppastevent.js"; export * from "./rfppastevents.js"; -export * from "./rfpquestionjson.js"; -export * from "./rfprecipientlogentryjson.js"; -export * from "./rfpresponsereasonjson.js"; -export * from "./rfpstatusjson0.js"; +export * from "./rfpquestion.js"; +export * from "./rfprecipientlogentry.js"; +export * from "./rfpresponsereason.js"; +export * from "./rfpstatus1.js"; export * from "./rfpsummaryjson.js"; -export * from "./rfpsupplierjson.js"; -export * from "./rfptypejson0.js"; +export * from "./rfpsupplier.js"; +export * from "./rfptype1.js"; export * from "./roomattendeetypejson.js"; -export * from "./roombedtypejson1.js"; -export * from "./roomblockdetailsjson.js"; -export * from "./roomblockjson.js"; +export * from "./roombedtypejson.js"; +export * from "./roomblock.js"; +export * from "./roomblockdetails.js"; export * from "./roomidjson.js"; export * from "./roominfojson.js"; export * from "./roominfojsoninput.js"; @@ -936,7 +930,7 @@ export * from "./sessiondocumentlite.js"; export * from "./sessiondocumentpaginatedresponse.js"; export * from "./sessionenrollmentstatusjson.js"; export * from "./sessionfile.js"; -export * from "./sessionlitejson.js"; +export * from "./sessionlite.js"; export * from "./sessionlocation.js"; export * from "./sessionlocationinput.js"; export * from "./sessionlocationspaginatedresponse.js"; @@ -948,8 +942,8 @@ export * from "./sessionsegmentpaginatedresponse.js"; export * from "./sessionsenrollmentjson.js"; export * from "./sessionsenrollmentpaginatedresponse.js"; export * from "./sessionspaginatedresponse.js"; +export * from "./sessionspeaker.js"; export * from "./sessionspeakerassignment.js"; -export * from "./sessionspeakerjson.js"; export * from "./sessionspeakerpaginatedresponse.js"; export * from "./sessionstatus.js"; export * from "./sessionupdate.js"; @@ -959,17 +953,18 @@ export * from "./sleepingroomjson.js"; export * from "./sleepingroomrequirementjson.js"; export * from "./sleepingroomtypejson.js"; export * from "./socialmedialinks.js"; -export * from "./solutionjson.js"; +export * from "./solution.js"; export * from "./solutiontypejson.js"; -export * from "./spaceareajson0.js"; +export * from "./spacearea.js"; export * from "./speaker.js"; -export * from "./speakercategory.js"; +export * from "./speakercategory1.js"; +export * from "./speakercategory2.js"; export * from "./speakercategorypaginatedresponse.js"; export * from "./speakerdocumentpaginatedresponse.js"; export * from "./speakerfile.js"; export * from "./speakerjson.js"; export * from "./speakerlite.js"; -export * from "./speakerlitejson.js"; +export * from "./speakerlite1.js"; export * from "./speakerpaginatedresponse.js"; export * from "./speakerprogramitem.js"; export * from "./speakersession.js"; @@ -977,7 +972,7 @@ export * from "./speakersessionpaginatedresponse.js"; export * from "./sponsorshiplevel.js"; export * from "./sponsorshiplevellistresponse.js"; export * from "./stakeholderjson.js"; -export * from "./standardquestionjson.js"; +export * from "./standardquestion.js"; export * from "./standardsurveyemailtemplatejson.js"; export * from "./standardsurveyemailtemplatespaginatedresponse.js"; export * from "./standardsurveyjson.js"; @@ -994,9 +989,9 @@ export * from "./stateprovincejson.js"; export * from "./statusjson.js"; export * from "./statussummaryjson.js"; export * from "./suppliersummaryjson.js"; -export * from "./suppliertypejson.js"; +export * from "./suppliertype.js"; export * from "./surveyauthorjson.js"; -export * from "./surveycontactidjson.js"; +export * from "./surveycontactid.js"; export * from "./surveyjson.js"; export * from "./surveyresponsejson.js"; export * from "./surveyspaginatedresponse.js"; @@ -1007,20 +1002,20 @@ export * from "./tableassignmentjson.js"; export * from "./tableassignmentpaginatedresponse.js"; export * from "./tableexpand.js"; export * from "./tablespaginatedresponse.js"; -export * from "./targettypejson.js"; +export * from "./targettype.js"; export * from "./tax.js"; export * from "./taxandfeejson.js"; export * from "./taxespaginatedresponse.js"; export * from "./taxschedule.js"; export * from "./taxstructurejson.js"; -export * from "./taxtypejson.js"; -export * from "./textanswerformatjson.js"; +export * from "./taxtype.js"; +export * from "./textanswerformat.js"; +export * from "./textfield.js"; export * from "./textfieldjson.js"; -export * from "./textfieldjson1.js"; export * from "./three.js"; export * from "./threeinput.js"; -export * from "./thumbnailstatusjson.js"; -export * from "./thumbnailtypejson.js"; +export * from "./thumbnailstatus.js"; +export * from "./thumbnailtype.js"; export * from "./tierjson.js"; export * from "./timerangetypejson.js"; export * from "./tokenizedcreditcardjsoninput.js"; @@ -1040,48 +1035,50 @@ export * from "./travelaccount.js"; export * from "./travelaccountpaginatedresponse.js"; export * from "./travelaccountsupplieraccount.js"; export * from "./travelaccountsupplieraccountpaginatedresponse.js"; -export * from "./travelaccounttypejson.js"; -export * from "./travelamenityjson.js"; -export * from "./travelbidamenityjson.js"; -export * from "./travelbidcommentjson.js"; -export * from "./travelbiddiscountjson.js"; -export * from "./travelbiddispositionacceptedroomjson.js"; -export * from "./travelbiddispositionjson.js"; -export * from "./travelbidfairseasonjson.js"; -export * from "./travelbidfairseasonratejson.js"; -export * from "./travelbidpolicyjson.js"; -export * from "./travelbidratejson.js"; -export * from "./travelbidroomjson.js"; -export * from "./travelbidseasonjson.js"; -export * from "./travelbidseasonratejson.js"; -export * from "./travelbidtaxfeejson.js"; -export * from "./travelbidweekenddayjson.js"; -export * from "./travelbreakoutroomjson.js"; -export * from "./traveldaydelegateratejson.js"; +export * from "./travelaccounttype.js"; +export * from "./travelbidamenity.js"; +export * from "./travelbidcomment.js"; +export * from "./travelbiddiscount.js"; +export * from "./travelbiddisposition.js"; +export * from "./travelbiddispositionacceptedroom.js"; +export * from "./travelbidfairseason.js"; +export * from "./travelbidfairseasonrate.js"; +export * from "./travelbidpolicy.js"; +export * from "./travelbidroom.js"; +export * from "./travelbidseason.js"; +export * from "./travelbidseasonrate.js"; +export * from "./travelbidtaxandfee.js"; +export * from "./travelbidweekenddays.js"; export * from "./traveldeparturearrivaljson.js"; export * from "./traveldetailsjson.js"; -export * from "./travelgroupandmeetingjson.js"; -export * from "./travelmeetingroombasicinfojson.js"; export * from "./travelprogram.js"; -export * from "./travelprogramformattypejson.js"; +export * from "./travelprogramformattype.js"; export * from "./travelprogrampaginatedresponse.js"; -export * from "./travelprogramquestionjson.js"; -export * from "./travelprogramstatusjson.js"; -export * from "./travelprogramstaytypejson.js"; -export * from "./travelprogramtypejson.js"; +export * from "./travelprogramquestion.js"; +export * from "./travelprogramquestion1.js"; +export * from "./travelprogramstatus.js"; +export * from "./travelprogramstaytype.js"; +export * from "./travelprogramtype.js"; export * from "./travelproposal.js"; -export * from "./travelproposalbid.js"; -export * from "./travelproposalbididjson.js"; +export * from "./travelproposalbid1.js"; +export * from "./travelproposalbid2.js"; export * from "./travelproposalbidpaginatedresponse.js"; -export * from "./travelproposaldispositionjson.js"; +export * from "./travelproposalbidrate.js"; +export * from "./travelproposalcustomquestion.js"; +export * from "./travelproposaldisposition.js"; +export * from "./travelproposalgroupandmeeting.js"; +export * from "./travelproposalgroupandmeetingamenity.js"; +export * from "./travelproposalgroupandmeetingbreakoutroom.js"; +export * from "./travelproposalgroupandmeetingdaydelegaterate.js"; +export * from "./travelproposalgroupandmeetingmeetingroombasicinformation.js"; +export * from "./travelproposalgroupandmeetingrunofhouserate.js"; +export * from "./travelproposalgroupandmeetingtaxandservicecharge.js"; export * from "./travelproposalpaginatedresponse.js"; export * from "./travelrequeststatus.js"; -export * from "./travelrunofhouseratejson.js"; -export * from "./traveltaxandservicechargejson.js"; export * from "./two.js"; -export * from "./unitpositionjson.js"; +export * from "./unitposition.js"; export * from "./updateappointmentrequest.js"; -export * from "./updatedthroughnamepropertyjson.js"; +export * from "./updatedthroughnameproperty.js"; export * from "./usage.js"; export * from "./usagepaginatedresponse.js"; export * from "./user.js"; @@ -1109,29 +1106,32 @@ export * from "./venuejson.js"; export * from "./venuejson1.js"; export * from "./venuejsoninput.js"; export * from "./venuesummary.js"; -export * from "./videoassetidjson.js"; -export * from "./videoclipjson.js"; -export * from "./videoerrorcodejson.js"; -export * from "./videoerrorjson.js"; -export * from "./videojson.js"; -export * from "./videorenditionjson.js"; +export * from "./video1.js"; +export * from "./videoassetid.js"; +export * from "./videoclip.js"; +export * from "./videoerror.js"; +export * from "./videoerrorcode.js"; +export * from "./videorendition.js"; export * from "./videorenditionsresponse.js"; -export * from "./videorenditiontypejson.js"; -export * from "./videosourcejson.js"; +export * from "./videorenditiontype.js"; +export * from "./videosource.js"; export * from "./videospaginatedresponse.js"; -export * from "./videostatusjson.js"; +export * from "./videostatus.js"; export * from "./videotexttrack.js"; -export * from "./videotexttrackkindjson.js"; +export * from "./videotexttrackkind.js"; export * from "./videotexttracksresponse.js"; -export * from "./videotexttrackstatusjson.js"; -export * from "./videothumbnailjson.js"; -export * from "./videotypejson.js"; -export * from "./videoviewjson.js"; +export * from "./videotexttrackstatus.js"; +export * from "./videothumbnail.js"; +export * from "./videotype.js"; +export * from "./videoview.js"; export * from "./videoviewspaginatedresponse.js"; -export * from "./videowarningcodejson.js"; -export * from "./videowarningjson.js"; -export * from "./viewtypejson1.js"; +export * from "./videowarning.js"; +export * from "./videowarningcode.js"; +export * from "./viewtype1.js"; export * from "./volumediscountthresholdtype.js"; +export * from "./voucher.js"; +export * from "./vouchercapacity.js"; +export * from "./voucherspaginatedresponse.js"; export * from "./webcast.js"; export * from "./webcasthostlinkjson.js"; export * from "./webcastlinkjson.js"; @@ -1142,8 +1142,8 @@ export * from "./webcaststatusjson.js"; export * from "./webcasttypejson.js"; export * from "./weblink.js"; export * from "./weblinklistresponse.js"; -export * from "./weddingdetailsjson0.js"; -export * from "./weddingpartnerjson.js"; +export * from "./weddingdetails1.js"; +export * from "./weddingpartner.js"; export * from "./workaddress.js"; export * from "./zeroallof1.js"; export * from "./zeroallof2.js"; @@ -1153,7 +1153,6 @@ export * from "./zeroallof5.js"; export * from "./zeroallof6.js"; export * from "./zeroallof7.js"; export * from "./zeroallof8.js"; -export * from "./zeroallof9.js"; export * from "./zeroanyof.js"; export * from "./zeroinput.js"; export * from "./zerooneof1.js"; diff --git a/packages/typescript/src/models/components/industry1.ts b/packages/typescript/src/models/components/industry1.ts new file mode 100644 index 000000000..07353e4fd --- /dev/null +++ b/packages/typescript/src/models/components/industry1.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"; + +/** + * Industry + */ +export const Industry1 = { + AgricultureAndMining: "AGRICULTURE_AND_MINING", + BusinessServices: "BUSINESS_SERVICES", + ComputersAndElectronics: "COMPUTERS_AND_ELECTRONICS", + ConsumerServices: "CONSUMER_SERVICES", + Education: "EDUCATION", + EnergyAndUtilities: "ENERGY_AND_UTILITIES", + FinancialServices: "FINANCIAL_SERVICES", + Government: "GOVERNMENT", + HealthcarePharmaceuticalsAndBiotech: "HEALTHCARE_PHARMACEUTICALS_AND_BIOTECH", + Manufacturing: "MANUFACTURING", + MediaAndEntertainment: "MEDIA_AND_ENTERTAINMENT", + Other: "OTHER", + RealEstateAndConstruction: "REAL_ESTATE_AND_CONSTRUCTION", + Retail: "RETAIL", + SoftwareAndInternet: "SOFTWARE_AND_INTERNET", + Telecommunications: "TELECOMMUNICATIONS", + TransportationAndStorage: "TRANSPORTATION_AND_STORAGE", + TravelRecreationAndLeisure: "TRAVEL_RECREATION_AND_LEISURE", + WholesaleAndDistribution: "WHOLESALE_AND_DISTRIBUTION", +} as const; +/** + * Industry + */ +export type Industry1 = ClosedEnum; + +/** @internal */ +export const Industry1$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Industry1); diff --git a/packages/typescript/src/models/components/industryjson0.ts b/packages/typescript/src/models/components/industryjson0.ts deleted file mode 100644 index 38039efb2..000000000 --- a/packages/typescript/src/models/components/industryjson0.ts +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Industry - */ -export const IndustryJson0 = { - AgricultureAndMining: "AGRICULTURE_AND_MINING", - BusinessServices: "BUSINESS_SERVICES", - ComputersAndElectronics: "COMPUTERS_AND_ELECTRONICS", - ConsumerServices: "CONSUMER_SERVICES", - Education: "EDUCATION", - EnergyAndUtilities: "ENERGY_AND_UTILITIES", - FinancialServices: "FINANCIAL_SERVICES", - Government: "GOVERNMENT", - HealthcarePharmaceuticalsAndBiotech: "HEALTHCARE_PHARMACEUTICALS_AND_BIOTECH", - Manufacturing: "MANUFACTURING", - MediaAndEntertainment: "MEDIA_AND_ENTERTAINMENT", - Other: "OTHER", - RealEstateAndConstruction: "REAL_ESTATE_AND_CONSTRUCTION", - Retail: "RETAIL", - SoftwareAndInternet: "SOFTWARE_AND_INTERNET", - Telecommunications: "TELECOMMUNICATIONS", - TransportationAndStorage: "TRANSPORTATION_AND_STORAGE", - TravelRecreationAndLeisure: "TRAVEL_RECREATION_AND_LEISURE", - WholesaleAndDistribution: "WHOLESALE_AND_DISTRIBUTION", -} as const; -/** - * Industry - */ -export type IndustryJson0 = ClosedEnum; - -/** @internal */ -export const IndustryJson0$inboundSchema: z.ZodNativeEnum< - typeof IndustryJson0 -> = z.nativeEnum(IndustryJson0); diff --git a/packages/typescript/src/models/components/invitationlistpaginatedresponse.ts b/packages/typescript/src/models/components/invitationlistpaginatedresponse.ts index 5d189c211..bc351db4f 100644 --- a/packages/typescript/src/models/components/invitationlistpaginatedresponse.ts +++ b/packages/typescript/src/models/components/invitationlistpaginatedresponse.ts @@ -10,7 +10,7 @@ import { InvitationListJson, InvitationListJson$inboundSchema, } from "./invitationlistjson.js"; -import { PagingJson19, PagingJson19$inboundSchema } from "./pagingjson19.js"; +import { PagingJson2, PagingJson2$inboundSchema } from "./pagingjson2.js"; /** * Return a response object containing paginated data for the invitation list(s). @@ -19,7 +19,7 @@ export type InvitationListPaginatedResponse = { /** * Represents pagination information for a collection of resources. */ - paging: PagingJson19; + paging: PagingJson2; /** * Collection of invitation list objects. */ @@ -32,7 +32,7 @@ export const InvitationListPaginatedResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson19$inboundSchema, + paging: PagingJson2$inboundSchema, data: z.array(InvitationListJson$inboundSchema), }); diff --git a/packages/typescript/src/models/components/lead.ts b/packages/typescript/src/models/components/lead.ts index 3ac546e7f..bde140b1c 100644 --- a/packages/typescript/src/models/components/lead.ts +++ b/packages/typescript/src/models/components/lead.ts @@ -7,12 +7,12 @@ 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"; -import { Address12, Address12$inboundSchema } from "./address12.js"; +import { Address11, Address11$inboundSchema } from "./address11.js"; import { Appointment1, Appointment1$inboundSchema } from "./appointment1.js"; -import { Attendee12, Attendee12$inboundSchema } from "./attendee12.js"; +import { Attendee13, Attendee13$inboundSchema } from "./attendee13.js"; import { BoothStaff, BoothStaff$inboundSchema } from "./boothstaff.js"; import { Device, Device$inboundSchema } from "./device.js"; -import { Event21, Event21$inboundSchema } from "./event21.js"; +import { Event3, Event3$inboundSchema } from "./event3.js"; import { Exhibitor, Exhibitor$inboundSchema } from "./exhibitor.js"; /** @@ -100,7 +100,7 @@ export type Lead = { /** * The Associated Event. */ - event?: Event21 | undefined; + event?: Event3 | undefined; /** * The Associated Exhibitor. */ @@ -108,7 +108,7 @@ export type Lead = { /** * A JSON schema representing the Attendee object */ - attendee?: Attendee12 | undefined; + attendee?: Attendee13 | undefined; /** * A JSON schema representing Booth Staff entity */ @@ -148,7 +148,7 @@ export type Lead = { /** * Schema for address information */ - homeAddress?: Address12 | undefined; + homeAddress?: Address11 | undefined; /** * Home phone number of the lead */ @@ -156,7 +156,7 @@ export type Lead = { /** * Schema for address information */ - workAddress?: Address12 | undefined; + workAddress?: Address11 | undefined; /** * Work Phone number of the lead */ @@ -251,9 +251,9 @@ export const Lead$inboundSchema: z.ZodType = z new Date(v) ).optional(), lastModifiedBy: z.string().optional(), - event: Event21$inboundSchema.optional(), + event: Event3$inboundSchema.optional(), exhibitor: Exhibitor$inboundSchema.optional(), - attendee: Attendee12$inboundSchema.optional(), + attendee: Attendee13$inboundSchema.optional(), boothStaff: BoothStaff$inboundSchema.optional(), device: Device$inboundSchema.optional(), appointment: Appointment1$inboundSchema.optional(), @@ -263,9 +263,9 @@ export const Lead$inboundSchema: z.ZodType = z email: z.string().optional(), company: z.string().optional(), mobilePhone: z.string().optional(), - homeAddress: Address12$inboundSchema.optional(), + homeAddress: Address11$inboundSchema.optional(), homePhone: z.string().optional(), - workAddress: Address12$inboundSchema.optional(), + workAddress: Address11$inboundSchema.optional(), workPhone: z.string().optional(), type: LeadType$inboundSchema.default("leadcapture"), application: Application$inboundSchema.default("leadcapture"), diff --git a/packages/typescript/src/models/components/leadqualificationanswers.ts b/packages/typescript/src/models/components/leadqualificationanswers.ts index 7f423c624..5f5020244 100644 --- a/packages/typescript/src/models/components/leadqualificationanswers.ts +++ b/packages/typescript/src/models/components/leadqualificationanswers.ts @@ -7,7 +7,7 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Answer1, Answer1$inboundSchema } from "./answer1.js"; -import { Event21, Event21$inboundSchema } from "./event21.js"; +import { Event3, Event3$inboundSchema } from "./event3.js"; import { Exhibitor, Exhibitor$inboundSchema } from "./exhibitor.js"; import { Lead2, Lead2$inboundSchema } from "./lead2.js"; import { Uuid, Uuid$inboundSchema } from "./uuid.js"; @@ -43,7 +43,7 @@ export type LeadQualificationAnswers = { /** * The Associated Event. */ - event?: Event21 | undefined; + event?: Event3 | undefined; /** * The Associated Exhibitor. */ @@ -73,7 +73,7 @@ export const LeadQualificationAnswers$inboundSchema: z.ZodType< lastModifiedBy: z.string().optional(), id: z.string().optional(), question: Uuid$inboundSchema.optional(), - event: Event21$inboundSchema.optional(), + event: Event3$inboundSchema.optional(), exhibitor: Exhibitor$inboundSchema.optional(), lead: Lead2$inboundSchema.optional(), answers: z.array(Answer1$inboundSchema).optional(), diff --git a/packages/typescript/src/models/components/leadqualificationquestion.ts b/packages/typescript/src/models/components/leadqualificationquestion.ts index ecea33deb..92cd63daa 100644 --- a/packages/typescript/src/models/components/leadqualificationquestion.ts +++ b/packages/typescript/src/models/components/leadqualificationquestion.ts @@ -8,11 +8,11 @@ import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - AdditionalChoice, - AdditionalChoice$inboundSchema, -} from "./additionalchoice.js"; -import { Choice, Choice$inboundSchema } from "./choice.js"; -import { Event21, Event21$inboundSchema } from "./event21.js"; + AdditionalChoice1, + AdditionalChoice1$inboundSchema, +} from "./additionalchoice1.js"; +import { Choice1, Choice1$inboundSchema } from "./choice1.js"; +import { Event3, Event3$inboundSchema } from "./event3.js"; import { Exhibitor, Exhibitor$inboundSchema } from "./exhibitor.js"; /** @@ -60,7 +60,7 @@ export type LeadQualificationQuestion = { /** * The Associated Event. */ - event?: Event21 | undefined; + event?: Event3 | undefined; /** * The Associated Exhibitor. */ @@ -76,15 +76,15 @@ export type LeadQualificationQuestion = { /** * List of available choices for the question */ - choices?: Array | undefined; + choices?: Array | undefined; /** * Contains text of additional choice */ - notApplicableAnswer?: AdditionalChoice | undefined; + notApplicableAnswer?: AdditionalChoice1 | undefined; /** * Contains text of additional choice */ - otherAnswers?: AdditionalChoice | undefined; + otherAnswers?: AdditionalChoice1 | undefined; /** * A boolean indicating whether the question is mandatory or not */ @@ -114,13 +114,13 @@ export const LeadQualificationQuestion$inboundSchema: z.ZodType< ).optional(), lastModifiedBy: z.string().optional(), id: z.string().optional(), - event: Event21$inboundSchema.optional(), + event: Event3$inboundSchema.optional(), exhibitor: Exhibitor$inboundSchema.optional(), type: LeadQualificationQuestionType$inboundSchema.optional(), code: z.string().optional(), - choices: z.array(Choice$inboundSchema).optional(), - notApplicableAnswer: AdditionalChoice$inboundSchema.optional(), - otherAnswers: AdditionalChoice$inboundSchema.optional(), + choices: z.array(Choice1$inboundSchema).optional(), + notApplicableAnswer: AdditionalChoice1$inboundSchema.optional(), + otherAnswers: AdditionalChoice1$inboundSchema.optional(), required: z.boolean().optional(), text: z.string().optional(), }); diff --git a/packages/typescript/src/models/components/leadqualifiedquestionresponsejson.ts b/packages/typescript/src/models/components/leadqualifiedquestionresponsejson.ts index e0c95a1ca..e478baf65 100644 --- a/packages/typescript/src/models/components/leadqualifiedquestionresponsejson.ts +++ b/packages/typescript/src/models/components/leadqualifiedquestionresponsejson.ts @@ -10,7 +10,7 @@ import { LeadQualifiedAnswerJson, LeadQualifiedAnswerJson$inboundSchema, } from "./leadqualifiedanswerjson.js"; -import { QuestionJson3, QuestionJson3$inboundSchema } from "./questionjson3.js"; +import { QuestionJson2, QuestionJson2$inboundSchema } from "./questionjson2.js"; /** * A Question response. @@ -19,7 +19,7 @@ export type LeadQualifiedQuestionResponseJson = { /** * The question that was answered. */ - question?: QuestionJson3 | undefined; + question?: QuestionJson2 | undefined; /** * List of answers. */ @@ -32,7 +32,7 @@ export const LeadQualifiedQuestionResponseJson$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - question: QuestionJson3$inboundSchema.optional(), + question: QuestionJson2$inboundSchema.optional(), answers: z.array(LeadQualifiedAnswerJson$inboundSchema).optional(), }); diff --git a/packages/typescript/src/models/components/leadsource.ts b/packages/typescript/src/models/components/leadsource.ts new file mode 100644 index 000000000..6ffcb485c --- /dev/null +++ b/packages/typescript/src/models/components/leadsource.ts @@ -0,0 +1,46 @@ +/* + * 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 { + LeadSourceSection, + LeadSourceSection$inboundSchema, +} from "./leadsourcesection.js"; + +/** + * Lead source details. + */ +export type LeadSource = { + /** + * Unique identifier for source generating the RFP. Details about this lead source can be fetched using lead source API. + */ + id?: string | undefined; + /** + * Represents lead source section details, which is a sub area of source generating the RFP. + */ + section?: LeadSourceSection | undefined; +}; + +/** @internal */ +export const LeadSource$inboundSchema: z.ZodType< + LeadSource, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + section: LeadSourceSection$inboundSchema.optional(), +}); + +export function leadSourceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => LeadSource$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'LeadSource' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/leadsourcejson.ts b/packages/typescript/src/models/components/leadsourcejson.ts deleted file mode 100644 index 65b357587..000000000 --- a/packages/typescript/src/models/components/leadsourcejson.ts +++ /dev/null @@ -1,46 +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 { - LeadSourceSectionJson, - LeadSourceSectionJson$inboundSchema, -} from "./leadsourcesectionjson.js"; - -/** - * Lead source details. - */ -export type LeadSourceJson = { - /** - * Unique identifier for source generating the RFP. Details about this lead source can be fetched using lead source API. - */ - id?: string | undefined; - /** - * Represents lead source section details, which is a sub area of source generating the RFP. - */ - section?: LeadSourceSectionJson | undefined; -}; - -/** @internal */ -export const LeadSourceJson$inboundSchema: z.ZodType< - LeadSourceJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - section: LeadSourceSectionJson$inboundSchema.optional(), -}); - -export function leadSourceJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => LeadSourceJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'LeadSourceJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/leadsourcesection.ts b/packages/typescript/src/models/components/leadsourcesection.ts new file mode 100644 index 000000000..069181f8a --- /dev/null +++ b/packages/typescript/src/models/components/leadsourcesection.ts @@ -0,0 +1,37 @@ +/* + * 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"; + +/** + * Represents lead source section details, which is a sub area of source generating the RFP. + */ +export type LeadSourceSection = { + /** + * Unique identifier for sub area of source generating the RFP. Details about this lead source section can be fetched using lead source section API. + */ + id?: string | undefined; +}; + +/** @internal */ +export const LeadSourceSection$inboundSchema: z.ZodType< + LeadSourceSection, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function leadSourceSectionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => LeadSourceSection$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'LeadSourceSection' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/leadsourcesectionjson.ts b/packages/typescript/src/models/components/leadsourcesectionjson.ts deleted file mode 100644 index 3860da2e8..000000000 --- a/packages/typescript/src/models/components/leadsourcesectionjson.ts +++ /dev/null @@ -1,37 +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"; - -/** - * Represents lead source section details, which is a sub area of source generating the RFP. - */ -export type LeadSourceSectionJson = { - /** - * Unique identifier for sub area of source generating the RFP. Details about this lead source section can be fetched using lead source section API. - */ - id?: string | undefined; -}; - -/** @internal */ -export const LeadSourceSectionJson$inboundSchema: z.ZodType< - LeadSourceSectionJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function leadSourceSectionJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => LeadSourceSectionJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'LeadSourceSectionJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/linkjson.ts b/packages/typescript/src/models/components/linkjson.ts index eec6cc712..0b2163a24 100644 --- a/packages/typescript/src/models/components/linkjson.ts +++ b/packages/typescript/src/models/components/linkjson.ts @@ -25,23 +25,7 @@ export const LinkJson$inboundSchema: z.ZodType< > = z.object({ href: z.string(), }); -/** @internal */ -export type LinkJson$Outbound = { - href: string; -}; - -/** @internal */ -export const LinkJson$outboundSchema: z.ZodType< - LinkJson$Outbound, - z.ZodTypeDef, - LinkJson -> = z.object({ - href: z.string(), -}); -export function linkJsonToJSON(linkJson: LinkJson): string { - return JSON.stringify(LinkJson$outboundSchema.parse(linkJson)); -} export function linkJsonFromJSON( jsonString: string, ): SafeParseResult { diff --git a/packages/typescript/src/models/components/managementleveltype1.ts b/packages/typescript/src/models/components/managementleveltype1.ts new file mode 100644 index 000000000..4ee5896b4 --- /dev/null +++ b/packages/typescript/src/models/components/managementleveltype1.ts @@ -0,0 +1,25 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * The management level of the travel account. Defined by the supply-side. + */ +export const ManagementLevelType1 = { + Global: "global", + National: "national", + Regional: "regional", + Local: "local", +} as const; +/** + * The management level of the travel account. Defined by the supply-side. + */ +export type ManagementLevelType1 = ClosedEnum; + +/** @internal */ +export const ManagementLevelType1$inboundSchema: z.ZodNativeEnum< + typeof ManagementLevelType1 +> = z.nativeEnum(ManagementLevelType1); diff --git a/packages/typescript/src/models/components/managementleveltypejson1.ts b/packages/typescript/src/models/components/managementleveltypejson1.ts deleted file mode 100644 index 4c18c40d6..000000000 --- a/packages/typescript/src/models/components/managementleveltypejson1.ts +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * The management level of the travel account. Defined by the supply-side. - */ -export const ManagementLevelTypeJson1 = { - Global: "global", - National: "national", - Regional: "regional", - Local: "local", -} as const; -/** - * The management level of the travel account. Defined by the supply-side. - */ -export type ManagementLevelTypeJson1 = ClosedEnum< - typeof ManagementLevelTypeJson1 ->; - -/** @internal */ -export const ManagementLevelTypeJson1$inboundSchema: z.ZodNativeEnum< - typeof ManagementLevelTypeJson1 -> = z.nativeEnum(ManagementLevelTypeJson1); diff --git a/packages/typescript/src/models/components/measurementunit.ts b/packages/typescript/src/models/components/measurementunit.ts new file mode 100644 index 000000000..63940b75b --- /dev/null +++ b/packages/typescript/src/models/components/measurementunit.ts @@ -0,0 +1,35 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Unit of measurement for area or space. + * + * @remarks + * + * Values: + * - `SQUARE_FEET` — Square Feet + * - `SQUARE_METERS` — Square Meters + */ +export const MeasurementUnit = { + SquareFeet: "SQUARE_FEET", + SquareMeters: "SQUARE_METERS", +} as const; +/** + * Unit of measurement for area or space. + * + * @remarks + * + * Values: + * - `SQUARE_FEET` — Square Feet + * - `SQUARE_METERS` — Square Meters + */ +export type MeasurementUnit = ClosedEnum; + +/** @internal */ +export const MeasurementUnit$inboundSchema: z.ZodNativeEnum< + typeof MeasurementUnit +> = z.nativeEnum(MeasurementUnit); diff --git a/packages/typescript/src/models/components/measurementunitjson0.ts b/packages/typescript/src/models/components/measurementunitjson0.ts deleted file mode 100644 index 5c8179256..000000000 --- a/packages/typescript/src/models/components/measurementunitjson0.ts +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Measurement unit. - */ -export const MeasurementUnitJson0 = { - SquareFeet: "SQUARE_FEET", - SquareMeters: "SQUARE_METERS", -} as const; -/** - * Measurement unit. - */ -export type MeasurementUnitJson0 = ClosedEnum; - -/** @internal */ -export const MeasurementUnitJson0$inboundSchema: z.ZodNativeEnum< - typeof MeasurementUnitJson0 -> = z.nativeEnum(MeasurementUnitJson0); diff --git a/packages/typescript/src/models/components/meetingrequestquestionjson.ts b/packages/typescript/src/models/components/meetingrequestquestionjson.ts index c9c4194f8..b86d90437 100644 --- a/packages/typescript/src/models/components/meetingrequestquestionjson.ts +++ b/packages/typescript/src/models/components/meetingrequestquestionjson.ts @@ -15,9 +15,9 @@ import { CompositeValueJson$inboundSchema, } from "./compositevaluejson.js"; import { - QuestionTypeJson1, - QuestionTypeJson1$inboundSchema, -} from "./questiontypejson1.js"; + QuestionTypeJson, + QuestionTypeJson$inboundSchema, +} from "./questiontypejson.js"; /** * A question and its answer for a meeting request. Some questions have fixed, well-known IDs that are the same across all accounts. Use the `type` field or the question `id` to determine the format of the `value` array. @@ -42,7 +42,7 @@ export type MeetingRequestQuestionJson = { /** * Denotes the type of data collected by a question. */ - type?: QuestionTypeJson1 | undefined; + type?: QuestionTypeJson | undefined; /** * An array of non-null answers to the question. The format of each item depends on the question `type`. * @@ -89,7 +89,7 @@ export const MeetingRequestQuestionJson$inboundSchema: z.ZodType< > = z.object({ id: z.string(), name: z.string().optional(), - type: QuestionTypeJson1$inboundSchema.optional(), + type: QuestionTypeJson$inboundSchema.optional(), value: z.array(z.string()), answerType: AnswerTypeJson$inboundSchema.optional(), secondaryValue: z.string().optional(), diff --git a/packages/typescript/src/models/components/membershipjson.ts b/packages/typescript/src/models/components/membershipjson.ts deleted file mode 100644 index 8060710df..000000000 --- a/packages/typescript/src/models/components/membershipjson.ts +++ /dev/null @@ -1,68 +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 { RFCDate } from "../../types/rfcdate.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * Contact Membership information - */ -export type MembershipJson = { - /** - * The type of membership the contact has signed up for. - */ - type?: string | undefined; - /** - * Describes the specific plan the contact has signed up for. - */ - plan?: string | undefined; - /** - * The ISO-8601 formatted date the contact began their membership. - */ - joined?: RFCDate | undefined; - /** - * The ISO-8601 formatted date the contact's membership will expire. - */ - expiration?: RFCDate | undefined; - /** - * The ISO-8601 formatted date the contact last renewed their membership. - */ - lastRenewal?: RFCDate | undefined; - /** - * The amount currently due for this membership. - */ - amountDue?: number | undefined; - /** - * Indicates if the member details should be included in the member directory. - */ - listInDirectory?: boolean | undefined; -}; - -/** @internal */ -export const MembershipJson$inboundSchema: z.ZodType< - MembershipJson, - z.ZodTypeDef, - unknown -> = z.object({ - type: z.string().optional(), - plan: z.string().optional(), - joined: z.string().transform(v => new RFCDate(v)).optional(), - expiration: z.string().transform(v => new RFCDate(v)).optional(), - lastRenewal: z.string().transform(v => new RFCDate(v)).optional(), - amountDue: z.number().optional(), - listInDirectory: z.boolean().optional(), -}); - -export function membershipJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => MembershipJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'MembershipJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/messagerecipientresponse.ts b/packages/typescript/src/models/components/messagerecipientresponse.ts new file mode 100644 index 000000000..49a592406 --- /dev/null +++ b/packages/typescript/src/models/components/messagerecipientresponse.ts @@ -0,0 +1,109 @@ +/* + * 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"; + +/** + * The attendee object + */ +export type MessageRecipientResponseAttendee = { + /** + * Unique identifier for the attendee. + */ + id: string; + /** + * True indicates the recipient is active in the channel. + */ + active: boolean; + /** + * ISO 8601 formatted timestamp when the attendee left the channel, if applicable. + */ + leftChannelAt?: Date | null | undefined; +}; + +/** + * The channel object + */ +export type Channel = { + /** + * Identifier for the channel. + */ + id: string; +}; + +/** + * Members of the channel who received a message. + */ +export type MessageRecipientResponse = { + /** + * The attendee object + */ + attendee: MessageRecipientResponseAttendee; + /** + * The channel object + */ + channel: Channel; +}; + +/** @internal */ +export const MessageRecipientResponseAttendee$inboundSchema: z.ZodType< + MessageRecipientResponseAttendee, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + active: z.boolean(), + leftChannelAt: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), +}); + +export function messageRecipientResponseAttendeeFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => MessageRecipientResponseAttendee$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'MessageRecipientResponseAttendee' from JSON`, + ); +} + +/** @internal */ +export const Channel$inboundSchema: z.ZodType = + z.object({ + id: z.string(), + }); + +export function channelFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Channel$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Channel' from JSON`, + ); +} + +/** @internal */ +export const MessageRecipientResponse$inboundSchema: z.ZodType< + MessageRecipientResponse, + z.ZodTypeDef, + unknown +> = z.object({ + attendee: z.lazy(() => MessageRecipientResponseAttendee$inboundSchema), + channel: z.lazy(() => Channel$inboundSchema), +}); + +export function messageRecipientResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => MessageRecipientResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'MessageRecipientResponse' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/messagerecipientspaginatedresponse.ts b/packages/typescript/src/models/components/messagerecipientspaginatedresponse.ts index fad884259..8a23bc1b6 100644 --- a/packages/typescript/src/models/components/messagerecipientspaginatedresponse.ts +++ b/packages/typescript/src/models/components/messagerecipientspaginatedresponse.ts @@ -7,10 +7,10 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - MessageRecipientsResponseJson, - MessageRecipientsResponseJson$inboundSchema, -} from "./messagerecipientsresponsejson.js"; -import { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; + MessageRecipientResponse, + MessageRecipientResponse$inboundSchema, +} from "./messagerecipientresponse.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; /** * The response matching the filter criteria for the list of channel members. @@ -19,11 +19,11 @@ export type MessageRecipientsPaginatedResponse = { /** * Represents pagination information for a collection of resources. */ - paging: PagingJson; + paging: Paging; /** * Collection of channel members. */ - data: Array; + data: Array; }; /** @internal */ @@ -32,8 +32,8 @@ export const MessageRecipientsPaginatedResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema, - data: z.array(MessageRecipientsResponseJson$inboundSchema), + paging: Paging$inboundSchema, + data: z.array(MessageRecipientResponse$inboundSchema), }); export function messageRecipientsPaginatedResponseFromJSON( diff --git a/packages/typescript/src/models/components/messagerecipientsresponsejson.ts b/packages/typescript/src/models/components/messagerecipientsresponsejson.ts deleted file mode 100644 index e466fc4ec..000000000 --- a/packages/typescript/src/models/components/messagerecipientsresponsejson.ts +++ /dev/null @@ -1,110 +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"; - -/** - * The attendee object - */ -export type MessageRecipientsResponseJsonAttendee = { - /** - * Unique identifier for the attendee. - */ - id: string; - /** - * True indicates the recipient is active in the channel. - */ - active: boolean; - /** - * ISO 8601 formatted timestamp when the attendee left the channel, if applicable. - */ - leftChannelAt?: Date | null | undefined; -}; - -/** - * The channel object - */ -export type Channel = { - /** - * Identifier for the channel. - */ - id: string; -}; - -/** - * Members of the channel who received a message. - */ -export type MessageRecipientsResponseJson = { - /** - * The attendee object - */ - attendee: MessageRecipientsResponseJsonAttendee; - /** - * The channel object - */ - channel: Channel; -}; - -/** @internal */ -export const MessageRecipientsResponseJsonAttendee$inboundSchema: z.ZodType< - MessageRecipientsResponseJsonAttendee, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - active: z.boolean(), - leftChannelAt: z.nullable( - z.string().datetime({ offset: true }).transform(v => new Date(v)), - ).optional(), -}); - -export function messageRecipientsResponseJsonAttendeeFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - MessageRecipientsResponseJsonAttendee$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'MessageRecipientsResponseJsonAttendee' from JSON`, - ); -} - -/** @internal */ -export const Channel$inboundSchema: z.ZodType = - z.object({ - id: z.string(), - }); - -export function channelFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Channel$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Channel' from JSON`, - ); -} - -/** @internal */ -export const MessageRecipientsResponseJson$inboundSchema: z.ZodType< - MessageRecipientsResponseJson, - z.ZodTypeDef, - unknown -> = z.object({ - attendee: z.lazy(() => MessageRecipientsResponseJsonAttendee$inboundSchema), - channel: z.lazy(() => Channel$inboundSchema), -}); - -export function messageRecipientsResponseJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => MessageRecipientsResponseJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'MessageRecipientsResponseJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/numericanswerformat.ts b/packages/typescript/src/models/components/numericanswerformat.ts new file mode 100644 index 000000000..df41bfbf1 --- /dev/null +++ b/packages/typescript/src/models/components/numericanswerformat.ts @@ -0,0 +1,24 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * The answer format that a given number is stored in. + */ +export const NumericAnswerFormat = { + Currency: "Currency", + Decimal: "Decimal", + Number: "Number", +} as const; +/** + * The answer format that a given number is stored in. + */ +export type NumericAnswerFormat = ClosedEnum; + +/** @internal */ +export const NumericAnswerFormat$inboundSchema: z.ZodNativeEnum< + typeof NumericAnswerFormat +> = z.nativeEnum(NumericAnswerFormat); diff --git a/packages/typescript/src/models/components/numericanswerformatjson.ts b/packages/typescript/src/models/components/numericanswerformatjson.ts deleted file mode 100644 index 330796d12..000000000 --- a/packages/typescript/src/models/components/numericanswerformatjson.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * The answer format that a given number is stored in. - */ -export const NumericAnswerFormatJson = { - Currency: "Currency", - Decimal: "Decimal", - Number: "Number", -} as const; -/** - * The answer format that a given number is stored in. - */ -export type NumericAnswerFormatJson = ClosedEnum< - typeof NumericAnswerFormatJson ->; - -/** @internal */ -export const NumericAnswerFormatJson$inboundSchema: z.ZodNativeEnum< - typeof NumericAnswerFormatJson -> = z.nativeEnum(NumericAnswerFormatJson); diff --git a/packages/typescript/src/models/components/offeringcosttype1.ts b/packages/typescript/src/models/components/offeringcosttype1.ts new file mode 100644 index 000000000..006f3efed --- /dev/null +++ b/packages/typescript/src/models/components/offeringcosttype1.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Cost type associated with organizing and hosting events and meetings. + */ +export const OfferingCostType1 = { + AirportTransportation: "AIRPORT_TRANSPORTATION", + AirConditioningHeating: "AIR_CONDITIONING_HEATING", + AudioPatch: "AUDIO_PATCH", + AvEquipment: "AV_EQUIPMENT", + BellmanDelivery: "BELLMAN_DELIVERY", + BreakfastBuffet: "BREAKFAST_BUFFET", + BreakfastContinental: "BREAKFAST_CONTINENTAL", + BreakfastPlated: "BREAKFAST_PLATED", + BreakoutLarge: "BREAKOUT_LARGE", + BreakoutMedium: "BREAKOUT_MEDIUM", + BreakoutSmall: "BREAKOUT_SMALL", + BreakoutTotal: "BREAKOUT_TOTAL", + BreakAm: "BREAK_AM", + BreakDrinksOnly: "BREAK_DRINKS_ONLY", + BreakPm: "BREAK_PM", + BreakSnacksAndDrinks: "BREAK_SNACKS_AND_DRINKS", + BuildingOvertime: "BUILDING_OVERTIME", + BusinessCenter: "BUSINESS_CENTER", + Cmp: "CMP", + ConferenceConcierge: "CONFERENCE_CONCIERGE", + ConferencePlanningManager: "CONFERENCE_PLANNING_MANAGER", + DdrFullDay: "DDR_FULL_DAY", + DdrHalfDay: "DDR_HALF_DAY", + DinnerBuffet: "DINNER_BUFFET", + DinnerPlated: "DINNER_PLATED", + ExhibitSpace: "EXHIBIT_SPACE", + FacilityFee: "FACILITY_FEE", + FitnessCenter: "FITNESS_CENTER", + GallonCoffee: "GALLON_COFFEE", + GeneralSession: "GENERAL_SESSION", + Housekeeping: "HOUSEKEEPING", + InternetGuestRoom: "INTERNET_GUEST_ROOM", + InternetMeetingRoom: "INTERNET_MEETING_ROOM", + Labor: "LABOR", + Lighting: "LIGHTING", + LocalTransportation: "LOCAL_TRANSPORTATION", + LunchBoxed: "LUNCH_BOXED", + LunchBuffet: "LUNCH_BUFFET", + LunchPlated: "LUNCH_PLATED", + MeetingRoomsTotal: "MEETING_ROOMS_TOTAL", + None: "NONE", + Office: "OFFICE", + OtherFb: "OTHER_FB", + OtherMisc: "OTHER_MISC", + OtherRental: "OTHER_RENTAL", + OtherTransportation: "OTHER_TRANSPORTATION", + ParkingFeeSelf: "PARKING_FEE_SELF", + ParkingFeeValet: "PARKING_FEE_VALET", + PowerDrop: "POWER_DROP", + ReceptionBeverage: "RECEPTION_BEVERAGE", + ReceptionFood: "RECEPTION_FOOD", + ReceptionHeavyHorsDOeuvres: "RECEPTION_HEAVY_HORS_D_OEUVRES", + ReceptionLightAppetizers: "RECEPTION_LIGHT_APPETIZERS", + ResortFee: "RESORT_FEE", + RoomDrop: "ROOM_DROP", + ServiceCharges: "SERVICE_CHARGES", + Setup: "SETUP", + ShippingReceiving: "SHIPPING_RECEIVING", + GuestRooms: "GUEST_ROOMS", + Storage: "STORAGE", + Teardown: "TEARDOWN", + TotalFbMinimum: "TOTAL_FB_MINIMUM", +} as const; +/** + * Cost type associated with organizing and hosting events and meetings. + */ +export type OfferingCostType1 = ClosedEnum; + +/** @internal */ +export const OfferingCostType1$inboundSchema: z.ZodNativeEnum< + typeof OfferingCostType1 +> = z.nativeEnum(OfferingCostType1); diff --git a/packages/typescript/src/models/components/offeringcosttypejson0.ts b/packages/typescript/src/models/components/offeringcosttypejson0.ts deleted file mode 100644 index 64dfe5e60..000000000 --- a/packages/typescript/src/models/components/offeringcosttypejson0.ts +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Cost type associated with organizing and hosting events and meetings. - */ -export const OfferingCostTypeJson0 = { - AirportTransportation: "AIRPORT_TRANSPORTATION", - AirConditioningHeating: "AIR_CONDITIONING_HEATING", - AudioPatch: "AUDIO_PATCH", - AvEquipment: "AV_EQUIPMENT", - BellmanDelivery: "BELLMAN_DELIVERY", - BreakfastBuffet: "BREAKFAST_BUFFET", - BreakfastContinental: "BREAKFAST_CONTINENTAL", - BreakfastPlated: "BREAKFAST_PLATED", - BreakoutLarge: "BREAKOUT_LARGE", - BreakoutMedium: "BREAKOUT_MEDIUM", - BreakoutSmall: "BREAKOUT_SMALL", - BreakoutTotal: "BREAKOUT_TOTAL", - BreakAm: "BREAK_AM", - BreakDrinksOnly: "BREAK_DRINKS_ONLY", - BreakPm: "BREAK_PM", - BreakSnacksAndDrinks: "BREAK_SNACKS_AND_DRINKS", - BuildingOvertime: "BUILDING_OVERTIME", - BusinessCenter: "BUSINESS_CENTER", - Cmp: "CMP", - ConferenceConcierge: "CONFERENCE_CONCIERGE", - ConferencePlanningManager: "CONFERENCE_PLANNING_MANAGER", - DdrFullDay: "DDR_FULL_DAY", - DdrHalfDay: "DDR_HALF_DAY", - DinnerBuffet: "DINNER_BUFFET", - DinnerPlated: "DINNER_PLATED", - ExhibitSpace: "EXHIBIT_SPACE", - FacilityFee: "FACILITY_FEE", - FitnessCenter: "FITNESS_CENTER", - GallonCoffee: "GALLON_COFFEE", - GeneralSession: "GENERAL_SESSION", - Housekeeping: "HOUSEKEEPING", - InternetGuestRoom: "INTERNET_GUEST_ROOM", - InternetMeetingRoom: "INTERNET_MEETING_ROOM", - Labor: "LABOR", - Lighting: "LIGHTING", - LocalTransportation: "LOCAL_TRANSPORTATION", - LunchBoxed: "LUNCH_BOXED", - LunchBuffet: "LUNCH_BUFFET", - LunchPlated: "LUNCH_PLATED", - MeetingRoomsTotal: "MEETING_ROOMS_TOTAL", - None: "NONE", - Office: "OFFICE", - OtherFb: "OTHER_FB", - OtherMisc: "OTHER_MISC", - OtherRental: "OTHER_RENTAL", - OtherTransportation: "OTHER_TRANSPORTATION", - ParkingFeeSelf: "PARKING_FEE_SELF", - ParkingFeeValet: "PARKING_FEE_VALET", - PowerDrop: "POWER_DROP", - ReceptionBeverage: "RECEPTION_BEVERAGE", - ReceptionFood: "RECEPTION_FOOD", - ReceptionHeavyHorsDOeuvres: "RECEPTION_HEAVY_HORS_D_OEUVRES", - ReceptionLightAppetizers: "RECEPTION_LIGHT_APPETIZERS", - ResortFee: "RESORT_FEE", - RoomDrop: "ROOM_DROP", - ServiceCharges: "SERVICE_CHARGES", - Setup: "SETUP", - ShippingReceiving: "SHIPPING_RECEIVING", - GuestRooms: "GUEST_ROOMS", - Storage: "STORAGE", - Teardown: "TEARDOWN", - TotalFbMinimum: "TOTAL_FB_MINIMUM", -} as const; -/** - * Cost type associated with organizing and hosting events and meetings. - */ -export type OfferingCostTypeJson0 = ClosedEnum; - -/** @internal */ -export const OfferingCostTypeJson0$inboundSchema: z.ZodNativeEnum< - typeof OfferingCostTypeJson0 -> = z.nativeEnum(OfferingCostTypeJson0); diff --git a/packages/typescript/src/models/components/one.ts b/packages/typescript/src/models/components/one.ts new file mode 100644 index 000000000..1b72a4581 --- /dev/null +++ b/packages/typescript/src/models/components/one.ts @@ -0,0 +1,82 @@ +/* + * 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 { + DateTimeDisplayFormatJson, + DateTimeDisplayFormatJson$inboundSchema, + DateTimeDisplayFormatJson$outboundSchema, +} from "./datetimedisplayformatjson.js"; + +/** + * This is used to denote the open ended date time type of custom field. + */ +export type One = { + /** + * The ISO 8601 zoned minimum date time accepted. + */ + from?: Date | undefined; + /** + * The ISO 8601 zoned maximum date time accepted. + */ + to?: Date | undefined; + /** + * This is used to denote the display format type of date time type custom field. + */ + format?: DateTimeDisplayFormatJson | undefined; + /** + * Whether it needs to be pre populated with current date. + */ + defaultToCurrentDate?: boolean | undefined; + /** + * True means that a pop-up calendar will be displayed to assist date selection on UI. + */ + displayPopUpCalendar?: boolean | undefined; +}; + +/** @internal */ +export const One$inboundSchema: z.ZodType = z + .object({ + from: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + to: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + format: DateTimeDisplayFormatJson$inboundSchema.optional(), + defaultToCurrentDate: z.boolean().optional(), + displayPopUpCalendar: z.boolean().default(false), + }); +/** @internal */ +export type One$Outbound = { + from?: string | undefined; + to?: string | undefined; + format?: string | undefined; + defaultToCurrentDate?: boolean | undefined; + displayPopUpCalendar: boolean; +}; + +/** @internal */ +export const One$outboundSchema: z.ZodType = z + .object({ + from: z.date().transform(v => v.toISOString()).optional(), + to: z.date().transform(v => v.toISOString()).optional(), + format: DateTimeDisplayFormatJson$outboundSchema.optional(), + defaultToCurrentDate: z.boolean().optional(), + displayPopUpCalendar: z.boolean().default(false), + }); + +export function oneToJSON(one: One): string { + return JSON.stringify(One$outboundSchema.parse(one)); +} +export function oneFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => One$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'One' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/oneallof.ts b/packages/typescript/src/models/components/oneallof.ts deleted file mode 100644 index 9b723692a..000000000 --- a/packages/typescript/src/models/components/oneallof.ts +++ /dev/null @@ -1,37 +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"; - -/** - * Represents a link to a related resource. - */ -export type OneAllOf = { - /** - * A url provided that can be followed for linking - */ - href: string; -}; - -/** @internal */ -export const OneAllOf$inboundSchema: z.ZodType< - OneAllOf, - z.ZodTypeDef, - unknown -> = z.object({ - href: z.string(), -}); - -export function oneAllOfFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => OneAllOf$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneAllOf' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/oneoneof.ts b/packages/typescript/src/models/components/oneoneof.ts deleted file mode 100644 index f19651de3..000000000 --- a/packages/typescript/src/models/components/oneoneof.ts +++ /dev/null @@ -1,88 +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 { - DateTimeDisplayFormatJson, - DateTimeDisplayFormatJson$inboundSchema, - DateTimeDisplayFormatJson$outboundSchema, -} from "./datetimedisplayformatjson.js"; - -/** - * This is used to denote the open ended date time type of custom field. - */ -export type OneOneOf = { - /** - * The ISO 8601 zoned minimum date time accepted. - */ - from?: Date | undefined; - /** - * The ISO 8601 zoned maximum date time accepted. - */ - to?: Date | undefined; - /** - * This is used to denote the display format type of date time type custom field. - */ - format?: DateTimeDisplayFormatJson | undefined; - /** - * Whether it needs to be pre populated with current date. - */ - defaultToCurrentDate?: boolean | undefined; - /** - * True means that a pop-up calendar will be displayed to assist date selection on UI. - */ - displayPopUpCalendar?: boolean | undefined; -}; - -/** @internal */ -export const OneOneOf$inboundSchema: z.ZodType< - OneOneOf, - z.ZodTypeDef, - unknown -> = z.object({ - from: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - to: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - format: DateTimeDisplayFormatJson$inboundSchema.optional(), - defaultToCurrentDate: z.boolean().optional(), - displayPopUpCalendar: z.boolean().default(false), -}); -/** @internal */ -export type OneOneOf$Outbound = { - from?: string | undefined; - to?: string | undefined; - format?: string | undefined; - defaultToCurrentDate?: boolean | undefined; - displayPopUpCalendar: boolean; -}; - -/** @internal */ -export const OneOneOf$outboundSchema: z.ZodType< - OneOneOf$Outbound, - z.ZodTypeDef, - OneOneOf -> = z.object({ - from: z.date().transform(v => v.toISOString()).optional(), - to: z.date().transform(v => v.toISOString()).optional(), - format: DateTimeDisplayFormatJson$outboundSchema.optional(), - defaultToCurrentDate: z.boolean().optional(), - displayPopUpCalendar: z.boolean().default(false), -}); - -export function oneOneOfToJSON(oneOneOf: OneOneOf): string { - return JSON.stringify(OneOneOf$outboundSchema.parse(oneOneOf)); -} -export function oneOneOfFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => OneOneOf$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneOneOf' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/optoutby.ts b/packages/typescript/src/models/components/optoutby.ts new file mode 100644 index 000000000..ce848091b --- /dev/null +++ b/packages/typescript/src/models/components/optoutby.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"; + +/** + * This is used to denote how a contact is opt'd out of Cvent system. + */ +export const OptoutBy = { + AbuseComplaint: "Abuse Complaint", + AccountUser: "Account User", + Api: "API", + ContactSelfOptOut: "Contact Self Opt-Out", + CventSupport: "Cvent Support", + HardBounce: "Hard Bounce", + Import: "Import", + InviteeSelfUnsubscribe: "Invitee Self Unsubscribe", + MultipleBounce: "Multiple Bounce", + RespondentSelfUnsubscribe: "Respondent Self Unsubscribe", + TemporaryBlock: "Temporary Block", + CventSalesforceApp: "Cvent Salesforce App", +} as const; +/** + * This is used to denote how a contact is opt'd out of Cvent system. + */ +export type OptoutBy = ClosedEnum; + +/** @internal */ +export const OptoutBy$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(OptoutBy); diff --git a/packages/typescript/src/models/components/optoutjson.ts b/packages/typescript/src/models/components/optoutjson.ts deleted file mode 100644 index ba5e24b14..000000000 --- a/packages/typescript/src/models/components/optoutjson.ts +++ /dev/null @@ -1,49 +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 { OptoutByJson, OptoutByJson$inboundSchema } from "./optoutbyjson.js"; - -/** - * Details of an opt-out for a Contact. - */ -export type OptOutJson = { - /** - * Used to denote if a contact has opted-out of receiving system generated emails. - */ - optedOut: boolean; - /** - * The ISO 8601 zoned date time when this contact was opted-out. This value can change if the contact opts out multiple times. - */ - date?: Date | undefined; - /** - * This is used to denote how a contact is opt'd out of Cvent system. - */ - by?: OptoutByJson | undefined; -}; - -/** @internal */ -export const OptOutJson$inboundSchema: z.ZodType< - OptOutJson, - z.ZodTypeDef, - unknown -> = z.object({ - optedOut: z.boolean().default(false), - date: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - by: OptoutByJson$inboundSchema.optional(), -}); - -export function optOutJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => OptOutJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OptOutJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/optoutjsoninput.ts b/packages/typescript/src/models/components/optoutjsoninput.ts deleted file mode 100644 index 11d635924..000000000 --- a/packages/typescript/src/models/components/optoutjsoninput.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; - -/** - * Details of an opt-out for a Contact. - */ -export type OptOutJsonInput = { - /** - * Used to denote if a contact has opted-out of receiving system generated emails. - */ - optedOut?: boolean | undefined; -}; - -/** @internal */ -export type OptOutJsonInput$Outbound = { - optedOut: boolean; -}; - -/** @internal */ -export const OptOutJsonInput$outboundSchema: z.ZodType< - OptOutJsonInput$Outbound, - z.ZodTypeDef, - OptOutJsonInput -> = z.object({ - optedOut: z.boolean().default(false), -}); - -export function optOutJsonInputToJSON( - optOutJsonInput: OptOutJsonInput, -): string { - return JSON.stringify(OptOutJsonInput$outboundSchema.parse(optOutJsonInput)); -} diff --git a/packages/typescript/src/models/components/orderdetail.ts b/packages/typescript/src/models/components/orderdetail.ts index ad085c3fe..650718f80 100644 --- a/packages/typescript/src/models/components/orderdetail.ts +++ b/packages/typescript/src/models/components/orderdetail.ts @@ -6,7 +6,7 @@ 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 { Attendee2, Attendee2$inboundSchema } from "./attendee2.js"; +import { Attendee, Attendee$inboundSchema } from "./attendee.js"; import { DiscountDetail, DiscountDetail$inboundSchema, @@ -45,7 +45,7 @@ export type OrderDetail = { /** * The reference to the attendee. Contains only the ID of the attendee. */ - attendee?: Attendee2 | undefined; + attendee?: Attendee | undefined; /** * Order number for this order */ @@ -107,7 +107,7 @@ export const OrderDetail$inboundSchema: z.ZodType< lastModifiedBy: z.string().optional(), id: z.string().optional(), event: Event2$inboundSchema.optional(), - attendee: Attendee2$inboundSchema.optional(), + attendee: Attendee$inboundSchema.optional(), number: z.string().optional(), cancelled: z.boolean().optional(), type: OrderType$inboundSchema.optional(), diff --git a/packages/typescript/src/models/components/orderitemresponse.ts b/packages/typescript/src/models/components/orderitemresponse.ts index a0b412111..28b665e5f 100644 --- a/packages/typescript/src/models/components/orderitemresponse.ts +++ b/packages/typescript/src/models/components/orderitemresponse.ts @@ -6,7 +6,7 @@ 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 { Attendee2, Attendee2$inboundSchema } from "./attendee2.js"; +import { Attendee, Attendee$inboundSchema } from "./attendee.js"; import { DiscountDetail, DiscountDetail$inboundSchema, @@ -56,7 +56,7 @@ export type OrderItemResponse = { /** * The reference to the attendee. Contains only the ID of the attendee. */ - attendee?: Attendee2 | undefined; + attendee?: Attendee | undefined; /** * Indicates if an attendee is a guest */ @@ -139,7 +139,7 @@ export const OrderItemResponse$inboundSchema: z.ZodType< id: z.string().optional(), order: OrderRef$inboundSchema.optional(), event: Event2$inboundSchema.optional(), - attendee: Attendee2$inboundSchema.optional(), + attendee: Attendee$inboundSchema.optional(), guest: z.boolean().optional(), guestDetail: Guest$inboundSchema.optional(), product: ProductOrderItem$inboundSchema.optional(), diff --git a/packages/typescript/src/models/components/organization.ts b/packages/typescript/src/models/components/organization.ts new file mode 100644 index 000000000..d778bd060 --- /dev/null +++ b/packages/typescript/src/models/components/organization.ts @@ -0,0 +1,37 @@ +/* + * 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"; + +/** + * Organization details. + */ +export type Organization = { + /** + * Unique identifier for the organization. + */ + id?: string | undefined; +}; + +/** @internal */ +export const Organization$inboundSchema: z.ZodType< + Organization, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function organizationFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Organization$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Organization' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/organizationjson.ts b/packages/typescript/src/models/components/organizationjson.ts deleted file mode 100644 index aa0fdc000..000000000 --- a/packages/typescript/src/models/components/organizationjson.ts +++ /dev/null @@ -1,37 +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"; - -/** - * Organization details. - */ -export type OrganizationJson = { - /** - * Unique identifier for the organization. - */ - id?: string | undefined; -}; - -/** @internal */ -export const OrganizationJson$inboundSchema: z.ZodType< - OrganizationJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function organizationJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => OrganizationJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OrganizationJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/organizationtype1.ts b/packages/typescript/src/models/components/organizationtype1.ts new file mode 100644 index 000000000..8d8c1d51a --- /dev/null +++ b/packages/typescript/src/models/components/organizationtype1.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"; + +/** + * Organization type. + */ +export const OrganizationType1 = { + Corporate: "CORPORATE", + Association: "ASSOCIATION", + Education: "EDUCATION", + Government: "GOVERNMENT", + SocialLeisure: "SOCIAL_LEISURE", + Religious: "RELIGIOUS", + Military: "MILITARY", + Other: "OTHER", + NonProfit: "NON_PROFIT", +} as const; +/** + * Organization type. + */ +export type OrganizationType1 = ClosedEnum; + +/** @internal */ +export const OrganizationType1$inboundSchema: z.ZodNativeEnum< + typeof OrganizationType1 +> = z.nativeEnum(OrganizationType1); diff --git a/packages/typescript/src/models/components/organizationtypejson0.ts b/packages/typescript/src/models/components/organizationtypejson0.ts deleted file mode 100644 index 08b68d874..000000000 --- a/packages/typescript/src/models/components/organizationtypejson0.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Organization type. - */ -export const OrganizationTypeJson0 = { - Corporate: "CORPORATE", - Association: "ASSOCIATION", - Education: "EDUCATION", - Government: "GOVERNMENT", - SocialLeisure: "SOCIAL_LEISURE", - Religious: "RELIGIOUS", - Military: "MILITARY", - Other: "OTHER", - NonProfit: "NON_PROFIT", -} as const; -/** - * Organization type. - */ -export type OrganizationTypeJson0 = ClosedEnum; - -/** @internal */ -export const OrganizationTypeJson0$inboundSchema: z.ZodNativeEnum< - typeof OrganizationTypeJson0 -> = z.nativeEnum(OrganizationTypeJson0); diff --git a/packages/typescript/src/models/components/packagepricingpreference.ts b/packages/typescript/src/models/components/packagepricingpreference.ts new file mode 100644 index 000000000..c914c9657 --- /dev/null +++ b/packages/typescript/src/models/components/packagepricingpreference.ts @@ -0,0 +1,26 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * 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. + */ +export const PackagePricingPreference = { + NoPreference: "NO_PREFERENCE", + Optional: "OPTIONAL", + Required: "REQUIRED", +} as const; +/** + * 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. + */ +export type PackagePricingPreference = ClosedEnum< + typeof PackagePricingPreference +>; + +/** @internal */ +export const PackagePricingPreference$inboundSchema: z.ZodNativeEnum< + typeof PackagePricingPreference +> = z.nativeEnum(PackagePricingPreference); diff --git a/packages/typescript/src/models/components/packagepricingpreferencejson.ts b/packages/typescript/src/models/components/packagepricingpreferencejson.ts deleted file mode 100644 index 8c549f770..000000000 --- a/packages/typescript/src/models/components/packagepricingpreferencejson.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * 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. - */ -export const PackagePricingPreferenceJson = { - NoPreference: "NO_PREFERENCE", - Optional: "OPTIONAL", - Required: "REQUIRED", -} as const; -/** - * 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. - */ -export type PackagePricingPreferenceJson = ClosedEnum< - typeof PackagePricingPreferenceJson ->; - -/** @internal */ -export const PackagePricingPreferenceJson$inboundSchema: z.ZodNativeEnum< - typeof PackagePricingPreferenceJson -> = z.nativeEnum(PackagePricingPreferenceJson); diff --git a/packages/typescript/src/models/components/paginatedinternaldocuments.ts b/packages/typescript/src/models/components/paginatedinternaldocuments.ts index 56d3952d7..4c4d17b1b 100644 --- a/packages/typescript/src/models/components/paginatedinternaldocuments.ts +++ b/packages/typescript/src/models/components/paginatedinternaldocuments.ts @@ -6,11 +6,11 @@ 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 { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; import { - RfpInternalDocumentJson0, - RfpInternalDocumentJson0$inboundSchema, -} from "./rfpinternaldocumentjson0.js"; + RfpInternalDocument, + RfpInternalDocument$inboundSchema, +} from "./rfpinternaldocument.js"; /** * Paginated list of internal documents attached to an RFP. @@ -19,11 +19,11 @@ export type PaginatedInternalDocuments = { /** * Represents pagination information for a collection of resources. */ - paging?: PagingJson | undefined; + paging?: Paging | undefined; /** * List of internal documents linked to an RFP. */ - data?: Array | undefined; + data?: Array | undefined; }; /** @internal */ @@ -32,8 +32,8 @@ export const PaginatedInternalDocuments$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema.optional(), - data: z.array(RfpInternalDocumentJson0$inboundSchema).optional(), + paging: Paging$inboundSchema.optional(), + data: z.array(RfpInternalDocument$inboundSchema).optional(), }); export function paginatedInternalDocumentsFromJSON( diff --git a/packages/typescript/src/models/components/paginatedrfpagendaitems.ts b/packages/typescript/src/models/components/paginatedrfpagendaitems.ts index bd95a2e1a..1452c8451 100644 --- a/packages/typescript/src/models/components/paginatedrfpagendaitems.ts +++ b/packages/typescript/src/models/components/paginatedrfpagendaitems.ts @@ -6,11 +6,8 @@ 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 { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; -import { - RfpAgendaItemJson, - RfpAgendaItemJson$inboundSchema, -} from "./rfpagendaitemjson.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; +import { RfpAgendaItem, RfpAgendaItem$inboundSchema } from "./rfpagendaitem.js"; /** * Paginated list of agenda items associated with an RFP. @@ -19,11 +16,11 @@ export type PaginatedRfpAgendaItems = { /** * Represents pagination information for a collection of resources. */ - paging?: PagingJson | undefined; + paging?: Paging | undefined; /** * List of agenda items associated with an RFP. */ - data?: Array | undefined; + data?: Array | undefined; }; /** @internal */ @@ -32,8 +29,8 @@ export const PaginatedRfpAgendaItems$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema.optional(), - data: z.array(RfpAgendaItemJson$inboundSchema).optional(), + paging: Paging$inboundSchema.optional(), + data: z.array(RfpAgendaItem$inboundSchema).optional(), }); export function paginatedRfpAgendaItemsFromJSON( diff --git a/packages/typescript/src/models/components/paginatedrfpagendaitemsschedule.ts b/packages/typescript/src/models/components/paginatedrfpagendaitemsschedule.ts index 0dbaad1e7..f56f3a44b 100644 --- a/packages/typescript/src/models/components/paginatedrfpagendaitemsschedule.ts +++ b/packages/typescript/src/models/components/paginatedrfpagendaitemsschedule.ts @@ -6,11 +6,11 @@ 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 { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; import { - RfpAgendaItemScheduleWithIdJson, - RfpAgendaItemScheduleWithIdJson$inboundSchema, -} from "./rfpagendaitemschedulewithidjson.js"; + RfpAgendaItemScheduleWithId, + RfpAgendaItemScheduleWithId$inboundSchema, +} from "./rfpagendaitemschedulewithid.js"; /** * Paginated list of agenda items schedule attached to an RFP. @@ -19,11 +19,11 @@ export type PaginatedRfpAgendaItemsSchedule = { /** * Represents pagination information for a collection of resources. */ - paging?: PagingJson | undefined; + paging?: Paging | undefined; /** * List of agenda items schedule attached to an RFP. */ - data?: Array | undefined; + data?: Array | undefined; }; /** @internal */ @@ -32,8 +32,8 @@ export const PaginatedRfpAgendaItemsSchedule$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema.optional(), - data: z.array(RfpAgendaItemScheduleWithIdJson$inboundSchema).optional(), + paging: Paging$inboundSchema.optional(), + data: z.array(RfpAgendaItemScheduleWithId$inboundSchema).optional(), }); export function paginatedRfpAgendaItemsScheduleFromJSON( diff --git a/packages/typescript/src/models/components/paginatedrfpattachments.ts b/packages/typescript/src/models/components/paginatedrfpattachments.ts index 90dc3dda2..ceae2655e 100644 --- a/packages/typescript/src/models/components/paginatedrfpattachments.ts +++ b/packages/typescript/src/models/components/paginatedrfpattachments.ts @@ -6,11 +6,8 @@ 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 { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; -import { - RfpAttachmentJson, - RfpAttachmentJson$inboundSchema, -} from "./rfpattachmentjson.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; +import { RfpAttachment, RfpAttachment$inboundSchema } from "./rfpattachment.js"; /** * Paginated list of RFP attachments. @@ -19,11 +16,11 @@ export type PaginatedRfpAttachments = { /** * Represents pagination information for a collection of resources. */ - paging: PagingJson; + paging: Paging; /** * List of attachments added on an RFP. */ - data: Array; + data: Array; }; /** @internal */ @@ -32,8 +29,8 @@ export const PaginatedRfpAttachments$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema, - data: z.array(RfpAttachmentJson$inboundSchema), + paging: Paging$inboundSchema, + data: z.array(RfpAttachment$inboundSchema), }); export function paginatedRfpAttachmentsFromJSON( diff --git a/packages/typescript/src/models/components/paginatedrfpcustomfield.ts b/packages/typescript/src/models/components/paginatedrfpcustomfield.ts index d9fed55b4..cb5fd068a 100644 --- a/packages/typescript/src/models/components/paginatedrfpcustomfield.ts +++ b/packages/typescript/src/models/components/paginatedrfpcustomfield.ts @@ -6,11 +6,11 @@ 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 { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; import { - RfpCustomFieldJson, - RfpCustomFieldJson$inboundSchema, -} from "./rfpcustomfieldjson.js"; + CustomFieldAnswers, + CustomFieldAnswers$inboundSchema, +} from "./customfieldanswers.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; /** * Paginated list of RFP custom fields associated to a RFP. @@ -19,11 +19,11 @@ export type PaginatedRfpCustomField = { /** * Represents pagination information for a collection of resources. */ - paging?: PagingJson | undefined; + paging?: Paging | undefined; /** * List of RFP custom fields linked to an RFP. */ - data?: Array | undefined; + data?: Array | undefined; }; /** @internal */ @@ -32,8 +32,8 @@ export const PaginatedRfpCustomField$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema.optional(), - data: z.array(RfpCustomFieldJson$inboundSchema).optional(), + paging: Paging$inboundSchema.optional(), + data: z.array(CustomFieldAnswers$inboundSchema).optional(), }); export function paginatedRfpCustomFieldFromJSON( diff --git a/packages/typescript/src/models/components/paginatedrfpquestions.ts b/packages/typescript/src/models/components/paginatedrfpquestions.ts index 8a26a5afb..bb3d5cfb3 100644 --- a/packages/typescript/src/models/components/paginatedrfpquestions.ts +++ b/packages/typescript/src/models/components/paginatedrfpquestions.ts @@ -6,11 +6,8 @@ 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 { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; -import { - RfpQuestionJson, - RfpQuestionJson$inboundSchema, -} from "./rfpquestionjson.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; +import { RfpQuestion, RfpQuestion$inboundSchema } from "./rfpquestion.js"; /** * Paginated response containing questions associated to an RFP. @@ -19,11 +16,11 @@ export type PaginatedRfpQuestions = { /** * Represents pagination information for a collection of resources. */ - paging?: PagingJson | undefined; + paging?: Paging | undefined; /** * List of questions associated to an RFP. */ - data?: Array | undefined; + data?: Array | undefined; }; /** @internal */ @@ -32,8 +29,8 @@ export const PaginatedRfpQuestions$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema.optional(), - data: z.array(RfpQuestionJson$inboundSchema).optional(), + paging: Paging$inboundSchema.optional(), + data: z.array(RfpQuestion$inboundSchema).optional(), }); export function paginatedRfpQuestionsFromJSON( diff --git a/packages/typescript/src/models/components/paginatedrfprecipientshistory.ts b/packages/typescript/src/models/components/paginatedrfprecipientshistory.ts index 56ec156e4..99e1bc51c 100644 --- a/packages/typescript/src/models/components/paginatedrfprecipientshistory.ts +++ b/packages/typescript/src/models/components/paginatedrfprecipientshistory.ts @@ -6,11 +6,11 @@ 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 { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; import { - RfpRecipientLogEntryJson, - RfpRecipientLogEntryJson$inboundSchema, -} from "./rfprecipientlogentryjson.js"; + RfpRecipientLogEntry, + RfpRecipientLogEntry$inboundSchema, +} from "./rfprecipientlogentry.js"; /** * Paginated response containing logs of all the recipients that were copied on an RFP. @@ -19,11 +19,11 @@ export type PaginatedRfpRecipientsHistory = { /** * Represents pagination information for a collection of resources. */ - paging: PagingJson; + paging: Paging; /** * List of RFP recipient logs. */ - data: Array; + data: Array; }; /** @internal */ @@ -32,8 +32,8 @@ export const PaginatedRfpRecipientsHistory$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema, - data: z.array(RfpRecipientLogEntryJson$inboundSchema), + paging: Paging$inboundSchema, + data: z.array(RfpRecipientLogEntry$inboundSchema), }); export function paginatedRfpRecipientsHistoryFromJSON( diff --git a/packages/typescript/src/models/components/paginatedrfpsuppliers.ts b/packages/typescript/src/models/components/paginatedrfpsuppliers.ts index 10914f797..2b3306289 100644 --- a/packages/typescript/src/models/components/paginatedrfpsuppliers.ts +++ b/packages/typescript/src/models/components/paginatedrfpsuppliers.ts @@ -6,11 +6,8 @@ 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 { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; -import { - RfpSupplierJson, - RfpSupplierJson$inboundSchema, -} from "./rfpsupplierjson.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; +import { RfpSupplier, RfpSupplier$inboundSchema } from "./rfpsupplier.js"; /** * Paginated response containing suppliers associated with an RFP. @@ -19,11 +16,11 @@ export type PaginatedRfpSuppliers = { /** * Represents pagination information for a collection of resources. */ - paging: PagingJson; + paging: Paging; /** * List of RFP suppliers. */ - data: Array; + data: Array; }; /** @internal */ @@ -32,8 +29,8 @@ export const PaginatedRfpSuppliers$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema, - data: z.array(RfpSupplierJson$inboundSchema), + paging: Paging$inboundSchema, + data: z.array(RfpSupplier$inboundSchema), }); export function paginatedRfpSuppliersFromJSON( diff --git a/packages/typescript/src/models/components/pagingjson19.ts b/packages/typescript/src/models/components/pagingjson19.ts deleted file mode 100644 index 2fbae9aa8..000000000 --- a/packages/typescript/src/models/components/pagingjson19.ts +++ /dev/null @@ -1,66 +0,0 @@ -/* - * 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 { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { - PaginationLinksJson, - PaginationLinksJson$inboundSchema, -} from "./paginationlinksjson.js"; - -/** - * Represents pagination information for a collection of resources. - */ -export type PagingJson19 = { - /** - * The pagination token for the next page; if available. You can use this to determine if there is additional data to fetch - */ - nextToken?: string | undefined; - /** - * The pagination token for the current page - */ - currentToken?: string | undefined; - /** - * The number of records to return on the page not to exceed 200 - */ - limit?: number | undefined; - /** - * The total number of records available - */ - totalCount?: number | undefined; - /** - * Represents pagination links for navigating between pages of data. - */ - links: PaginationLinksJson; -}; - -/** @internal */ -export const PagingJson19$inboundSchema: z.ZodType< - PagingJson19, - z.ZodTypeDef, - unknown -> = z.object({ - nextToken: z.string().optional(), - currentToken: z.string().optional(), - limit: z.number().int().optional(), - totalCount: z.number().int().optional(), - _links: PaginationLinksJson$inboundSchema, -}).transform((v) => { - return remap$(v, { - "_links": "links", - }); -}); - -export function pagingJson19FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PagingJson19$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PagingJson19' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/pagingjson2.ts b/packages/typescript/src/models/components/pagingjson2.ts new file mode 100644 index 000000000..0f0f611ba --- /dev/null +++ b/packages/typescript/src/models/components/pagingjson2.ts @@ -0,0 +1,66 @@ +/* + * 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 { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + PaginationLinksJson, + PaginationLinksJson$inboundSchema, +} from "./paginationlinksjson.js"; + +/** + * Represents pagination information for a collection of resources. + */ +export type PagingJson2 = { + /** + * The pagination token for the next page; if available. You can use this to determine if there is additional data to fetch + */ + nextToken?: string | undefined; + /** + * The pagination token for the current page + */ + currentToken?: string | undefined; + /** + * The number of records to return on the page not to exceed 200 + */ + limit?: number | undefined; + /** + * The total number of records available + */ + totalCount?: number | undefined; + /** + * Represents pagination links for navigating between pages of data. + */ + links: PaginationLinksJson; +}; + +/** @internal */ +export const PagingJson2$inboundSchema: z.ZodType< + PagingJson2, + z.ZodTypeDef, + unknown +> = z.object({ + nextToken: z.string().optional(), + currentToken: z.string().optional(), + limit: z.number().int().optional(), + totalCount: z.number().int().optional(), + _links: PaginationLinksJson$inboundSchema, +}).transform((v) => { + return remap$(v, { + "_links": "links", + }); +}); + +export function pagingJson2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PagingJson2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PagingJson2' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/pagingnototalcountjson.ts b/packages/typescript/src/models/components/pagingnototalcountjson.ts new file mode 100644 index 000000000..68e381296 --- /dev/null +++ b/packages/typescript/src/models/components/pagingnototalcountjson.ts @@ -0,0 +1,66 @@ +/* + * 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 { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + PaginationLinksJson, + PaginationLinksJson$inboundSchema, +} from "./paginationlinksjson.js"; + +/** + * Represents pagination information for a collection of resources. + */ +export type PagingNoTotalCountJson = { + /** + * The pagination token for the previous page, if one exists. You can use this token to navigate to the previous page of data. + */ + previousToken?: string | undefined; + /** + * The pagination token for the next page. If this value is present in the response, there is another page of data you can fetch. + */ + nextToken?: string | undefined; + /** + * The pagination token for the current page. + */ + currentToken?: string | undefined; + /** + * The number of records to return on the page. Not to exceed 200. + */ + limit?: number | undefined; + /** + * Represents pagination links for navigating between pages of data. + */ + links: PaginationLinksJson; +}; + +/** @internal */ +export const PagingNoTotalCountJson$inboundSchema: z.ZodType< + PagingNoTotalCountJson, + z.ZodTypeDef, + unknown +> = z.object({ + previousToken: z.string().optional(), + nextToken: z.string().optional(), + currentToken: z.string().optional(), + limit: z.number().int().optional(), + _links: PaginationLinksJson$inboundSchema, +}).transform((v) => { + return remap$(v, { + "_links": "links", + }); +}); + +export function pagingNoTotalCountJsonFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PagingNoTotalCountJson$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PagingNoTotalCountJson' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/pagingnototalcountjson2.ts b/packages/typescript/src/models/components/pagingnototalcountjson2.ts deleted file mode 100644 index e7d121c1e..000000000 --- a/packages/typescript/src/models/components/pagingnototalcountjson2.ts +++ /dev/null @@ -1,66 +0,0 @@ -/* - * 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 { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { - PaginationLinksJson, - PaginationLinksJson$inboundSchema, -} from "./paginationlinksjson.js"; - -/** - * Represents pagination information for a collection of resources. - */ -export type PagingNoTotalCountJson2 = { - /** - * The pagination token for the previous page, if one exists. You can use this token to navigate to the previous page of data. - */ - previousToken?: string | undefined; - /** - * The pagination token for the next page. If this value is present in the response, there is another page of data you can fetch. - */ - nextToken?: string | undefined; - /** - * The pagination token for the current page. - */ - currentToken?: string | undefined; - /** - * The number of records to return on the page. Not to exceed 200. - */ - limit?: number | undefined; - /** - * Represents pagination links for navigating between pages of data. - */ - links: PaginationLinksJson; -}; - -/** @internal */ -export const PagingNoTotalCountJson2$inboundSchema: z.ZodType< - PagingNoTotalCountJson2, - z.ZodTypeDef, - unknown -> = z.object({ - previousToken: z.string().optional(), - nextToken: z.string().optional(), - currentToken: z.string().optional(), - limit: z.number().int().optional(), - _links: PaginationLinksJson$inboundSchema, -}).transform((v) => { - return remap$(v, { - "_links": "links", - }); -}); - -export function pagingNoTotalCountJson2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PagingNoTotalCountJson2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PagingNoTotalCountJson2' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/passport.ts b/packages/typescript/src/models/components/passport.ts new file mode 100644 index 000000000..d2f22bb54 --- /dev/null +++ b/packages/typescript/src/models/components/passport.ts @@ -0,0 +1,51 @@ +/* + * 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"; + +/** + * This entity represents a contact's passport information. + */ +export type Passport = { + /** + * The passport number of the contact. + * + * @remarks + * + * Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. + */ + number?: string | undefined; + /** + * The passport country of the contact. + */ + country?: string | undefined; + /** + * The passport country code of the contact. + */ + countryCode?: string | undefined; +}; + +/** @internal */ +export const Passport$inboundSchema: z.ZodType< + Passport, + z.ZodTypeDef, + unknown +> = z.object({ + number: z.string().optional(), + country: z.string().optional(), + countryCode: z.string().optional(), +}); + +export function passportFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Passport$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Passport' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/passportinput.ts b/packages/typescript/src/models/components/passportinput.ts new file mode 100644 index 000000000..e0ac5a7be --- /dev/null +++ b/packages/typescript/src/models/components/passportinput.ts @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; + +/** + * This entity represents a contact's passport information. + */ +export type PassportInput = { + /** + * The passport number of the contact. + * + * @remarks + * + * Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. + */ + number?: string | undefined; + /** + * The passport country code of the contact. + */ + countryCode?: string | undefined; +}; + +/** @internal */ +export type PassportInput$Outbound = { + number?: string | undefined; + countryCode?: string | undefined; +}; + +/** @internal */ +export const PassportInput$outboundSchema: z.ZodType< + PassportInput$Outbound, + z.ZodTypeDef, + PassportInput +> = z.object({ + number: z.string().optional(), + countryCode: z.string().optional(), +}); + +export function passportInputToJSON(passportInput: PassportInput): string { + return JSON.stringify(PassportInput$outboundSchema.parse(passportInput)); +} diff --git a/packages/typescript/src/models/components/passportjson.ts b/packages/typescript/src/models/components/passportjson.ts deleted file mode 100644 index 0252dd5ce..000000000 --- a/packages/typescript/src/models/components/passportjson.ts +++ /dev/null @@ -1,51 +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"; - -/** - * This entity represents a contact's passport information. - */ -export type PassportJson = { - /** - * The passport number of the contact. - * - * @remarks - * - * Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. - */ - number?: string | undefined; - /** - * The passport country of the contact. - */ - country?: string | undefined; - /** - * The passport country code of the contact. - */ - countryCode?: string | undefined; -}; - -/** @internal */ -export const PassportJson$inboundSchema: z.ZodType< - PassportJson, - z.ZodTypeDef, - unknown -> = z.object({ - number: z.string().optional(), - country: z.string().optional(), - countryCode: z.string().optional(), -}); - -export function passportJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PassportJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PassportJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/passportjsoninput.ts b/packages/typescript/src/models/components/passportjsoninput.ts deleted file mode 100644 index 081b0ec9f..000000000 --- a/packages/typescript/src/models/components/passportjsoninput.ts +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; - -/** - * This entity represents a contact's passport information. - */ -export type PassportJsonInput = { - /** - * The passport number of the contact. - * - * @remarks - * - * Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. - */ - number?: string | undefined; - /** - * The passport country code of the contact. - */ - countryCode?: string | undefined; -}; - -/** @internal */ -export type PassportJsonInput$Outbound = { - number?: string | undefined; - countryCode?: string | undefined; -}; - -/** @internal */ -export const PassportJsonInput$outboundSchema: z.ZodType< - PassportJsonInput$Outbound, - z.ZodTypeDef, - PassportJsonInput -> = z.object({ - number: z.string().optional(), - countryCode: z.string().optional(), -}); - -export function passportJsonInputToJSON( - passportJsonInput: PassportJsonInput, -): string { - return JSON.stringify( - PassportJsonInput$outboundSchema.parse(passportJsonInput), - ); -} diff --git a/packages/typescript/src/models/components/paymentinfojson.ts b/packages/typescript/src/models/components/paymentinfojson.ts index 5828aec13..5b364d53b 100644 --- a/packages/typescript/src/models/components/paymentinfojson.ts +++ b/packages/typescript/src/models/components/paymentinfojson.ts @@ -7,11 +7,11 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - AddressJson2, - AddressJson2$inboundSchema, - AddressJson2$Outbound, - AddressJson2$outboundSchema, -} from "./addressjson2.js"; + AddressJson, + AddressJson$inboundSchema, + AddressJson$Outbound, + AddressJson$outboundSchema, +} from "./addressjson.js"; import { OtherPaymentJson, OtherPaymentJson$inboundSchema, @@ -39,7 +39,7 @@ export type PaymentInfoJson = { /** * Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. */ - address?: AddressJson2 | undefined; + address?: AddressJson | undefined; /** * Phone number. */ @@ -58,7 +58,7 @@ export const PaymentInfoJson$inboundSchema: z.ZodType< > = z.object({ paymentType: PaymentTypesJson$inboundSchema.optional(), fullName: z.string().optional(), - address: AddressJson2$inboundSchema.optional(), + address: AddressJson$inboundSchema.optional(), phone: z.string().optional(), other: OtherPaymentJson$inboundSchema.optional(), }); @@ -66,7 +66,7 @@ export const PaymentInfoJson$inboundSchema: z.ZodType< export type PaymentInfoJson$Outbound = { paymentType?: string | undefined; fullName?: string | undefined; - address?: AddressJson2$Outbound | undefined; + address?: AddressJson$Outbound | undefined; phone?: string | undefined; other?: OtherPaymentJson$Outbound | undefined; }; @@ -79,7 +79,7 @@ export const PaymentInfoJson$outboundSchema: z.ZodType< > = z.object({ paymentType: PaymentTypesJson$outboundSchema.optional(), fullName: z.string().optional(), - address: AddressJson2$outboundSchema.optional(), + address: AddressJson$outboundSchema.optional(), phone: z.string().optional(), other: OtherPaymentJson$outboundSchema.optional(), }); diff --git a/packages/typescript/src/models/components/plannerjson2.ts b/packages/typescript/src/models/components/plannerjson2.ts index 28d8a8228..fc34df07c 100644 --- a/packages/typescript/src/models/components/plannerjson2.ts +++ b/packages/typescript/src/models/components/plannerjson2.ts @@ -10,9 +10,9 @@ import { Result as SafeParseResult } from "../../types/fp.js"; import { RFCDate } from "../../types/rfcdate.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - CustomFieldJson3, - CustomFieldJson3$inboundSchema, -} from "./customfieldjson3.js"; + CustomFieldJson2, + CustomFieldJson2$inboundSchema, +} from "./customfieldjson2.js"; import { LinkJson, LinkJson$inboundSchema } from "./linkjson.js"; import { OptoutByJson, OptoutByJson$inboundSchema } from "./optoutbyjson.js"; @@ -389,7 +389,7 @@ export type PlannerJson2 = { * * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ - customFields?: Array | undefined; + customFields?: Array | undefined; /** * This is an ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. * @@ -637,7 +637,7 @@ export const PlannerJson2$inboundSchema: z.ZodType< .optional(), workPhone: z.string().optional(), workFax: z.string().optional(), - customFields: z.array(CustomFieldJson3$inboundSchema).optional(), + customFields: z.array(CustomFieldJson2$inboundSchema).optional(), sourceId: z.string().optional(), mobilePhone: z.string().optional(), created: z.string().datetime({ offset: true }).transform(v => new Date(v)) diff --git a/packages/typescript/src/models/components/policyvaluetype.ts b/packages/typescript/src/models/components/policyvaluetype.ts new file mode 100644 index 000000000..5d53cb371 --- /dev/null +++ b/packages/typescript/src/models/components/policyvaluetype.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"; + +/** + * Value type of the policy + */ +export const PolicyValueType = { + SelectionList: "selection_list", + Integer: "integer", + Money: "money", + Percent: "percent", + MultiSelect: "multi_select", + TextMultiLine: "text_multi_line", + PercentOrMoney: "percent_or_money", +} as const; +/** + * Value type of the policy + */ +export type PolicyValueType = ClosedEnum; + +/** @internal */ +export const PolicyValueType$inboundSchema: z.ZodNativeEnum< + typeof PolicyValueType +> = z.nativeEnum(PolicyValueType); diff --git a/packages/typescript/src/models/components/policyvaluetypejson.ts b/packages/typescript/src/models/components/policyvaluetypejson.ts deleted file mode 100644 index 6b7b92d6d..000000000 --- a/packages/typescript/src/models/components/policyvaluetypejson.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Value type of the policy - */ -export const PolicyValueTypeJson = { - SelectionList: "selection_list", - Integer: "integer", - Money: "money", - Percent: "percent", - MultiSelect: "multi_select", - TextMultiLine: "text_multi_line", - PercentOrMoney: "percent_or_money", -} as const; -/** - * Value type of the policy - */ -export type PolicyValueTypeJson = ClosedEnum; - -/** @internal */ -export const PolicyValueTypeJson$inboundSchema: z.ZodNativeEnum< - typeof PolicyValueTypeJson -> = z.nativeEnum(PolicyValueTypeJson); diff --git a/packages/typescript/src/models/components/programitemlite.ts b/packages/typescript/src/models/components/programitemlite.ts new file mode 100644 index 000000000..604fd8325 --- /dev/null +++ b/packages/typescript/src/models/components/programitemlite.ts @@ -0,0 +1,37 @@ +/* + * 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"; + +/** + * The unique identifier of a program item. + */ +export type ProgramItemLite = { + /** + * The unique identifier for a program item. + */ + id: string; +}; + +/** @internal */ +export const ProgramItemLite$inboundSchema: z.ZodType< + ProgramItemLite, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), +}); + +export function programItemLiteFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ProgramItemLite$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ProgramItemLite' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/programitemlitejson.ts b/packages/typescript/src/models/components/programitemlitejson.ts deleted file mode 100644 index 7f0785d6a..000000000 --- a/packages/typescript/src/models/components/programitemlitejson.ts +++ /dev/null @@ -1,37 +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"; - -/** - * The unique identifier of a program item. - */ -export type ProgramItemLiteJson = { - /** - * The unique identifier for a program item. - */ - id: string; -}; - -/** @internal */ -export const ProgramItemLiteJson$inboundSchema: z.ZodType< - ProgramItemLiteJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), -}); - -export function programItemLiteJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ProgramItemLiteJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ProgramItemLiteJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/programitemspeakerpaginatedresponse.ts b/packages/typescript/src/models/components/programitemspeakerpaginatedresponse.ts index bcf6cb58a..d695d370b 100644 --- a/packages/typescript/src/models/components/programitemspeakerpaginatedresponse.ts +++ b/packages/typescript/src/models/components/programitemspeakerpaginatedresponse.ts @@ -6,7 +6,7 @@ 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 { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; import { SpeakerProgramItem, SpeakerProgramItem$inboundSchema, @@ -19,7 +19,7 @@ export type ProgramItemSpeakerPaginatedResponse = { /** * Represents pagination information for a collection of resources. */ - paging: PagingJson; + paging: Paging; /** * Collection of program item speakers. */ @@ -32,7 +32,7 @@ export const ProgramItemSpeakerPaginatedResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema, + paging: Paging$inboundSchema, data: z.array(SpeakerProgramItem$inboundSchema), }); diff --git a/packages/typescript/src/models/components/property.ts b/packages/typescript/src/models/components/property.ts index 332c4bb76..99d8345dc 100644 --- a/packages/typescript/src/models/components/property.ts +++ b/packages/typescript/src/models/components/property.ts @@ -6,7 +6,7 @@ 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 { AddressJson3, AddressJson3$inboundSchema } from "./addressjson3.js"; +import { AddressJson1, AddressJson1$inboundSchema } from "./addressjson1.js"; import { PropertyExternalCodeJson, PropertyExternalCodeJson$inboundSchema, @@ -83,7 +83,7 @@ export type Property = { /** * A physical address. */ - address?: AddressJson3 | undefined; + address?: AddressJson1 | undefined; /** * Collection of external codes for a property. This includes GDS nd other codes used to identify a property in external systems. */ @@ -148,7 +148,7 @@ export const Property$inboundSchema: z.ZodType< code: z.string().optional(), deleted: z.boolean().default(false), currencyCode: z.string().default("USD"), - address: AddressJson3$inboundSchema.optional(), + address: AddressJson1$inboundSchema.optional(), externalCodes: z.array(PropertyExternalCodeJson$inboundSchema).optional(), }); diff --git a/packages/typescript/src/models/components/propertyroom.ts b/packages/typescript/src/models/components/propertyroom.ts index 90213ff9b..9350b0e55 100644 --- a/packages/typescript/src/models/components/propertyroom.ts +++ b/packages/typescript/src/models/components/propertyroom.ts @@ -11,9 +11,9 @@ import { PropertyRoomExternalCodeJson$inboundSchema, } from "./propertyroomexternalcodejson.js"; import { - RoomBedTypeJson1, - RoomBedTypeJson1$inboundSchema, -} from "./roombedtypejson1.js"; + RoomBedTypeJson, + RoomBedTypeJson$inboundSchema, +} from "./roombedtypejson.js"; /** * The property that the room belongs to. @@ -68,7 +68,7 @@ export type PropertyRoom = { /** * Code representing the bed type. */ - bedTypeCode?: RoomBedTypeJson1 | undefined; + bedTypeCode?: RoomBedTypeJson | undefined; /** * The number of beds in the room. */ @@ -124,7 +124,7 @@ export const PropertyRoom$inboundSchema: z.ZodType< code: z.string().optional(), property: z.lazy(() => PropertyRoomProperty$inboundSchema).optional(), deleted: z.boolean().default(false), - bedTypeCode: RoomBedTypeJson1$inboundSchema.optional(), + bedTypeCode: RoomBedTypeJson$inboundSchema.optional(), numberOfBeds: z.number().int().optional(), capacity: z.number().int().optional(), description: z.string().optional(), diff --git a/packages/typescript/src/models/components/proposaldatejson.ts b/packages/typescript/src/models/components/proposaldatejson.ts index 520f9f1d5..375395498 100644 --- a/packages/typescript/src/models/components/proposaldatejson.ts +++ b/packages/typescript/src/models/components/proposaldatejson.ts @@ -8,10 +8,10 @@ import { Result as SafeParseResult } from "../../types/fp.js"; import { RFCDate } from "../../types/rfcdate.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - DateTypeJson1, - DateTypeJson1$inboundSchema, - DateTypeJson1$outboundSchema, -} from "./datetypejson1.js"; + DateTypeJson, + DateTypeJson$inboundSchema, + DateTypeJson$outboundSchema, +} from "./datetypejson.js"; /** * The proposal date. @@ -20,7 +20,7 @@ export type ProposalDateJson = { /** * The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). */ - dateType?: DateTypeJson1 | undefined; + dateType?: DateTypeJson | undefined; /** * The start date of the event. */ @@ -37,7 +37,7 @@ export const ProposalDateJson$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - dateType: DateTypeJson1$inboundSchema.default("PREFERRED"), + dateType: DateTypeJson$inboundSchema.default("PREFERRED"), startDate: z.string().transform(v => new RFCDate(v)).optional(), endDate: z.string().transform(v => new RFCDate(v)).optional(), }); @@ -54,7 +54,7 @@ export const ProposalDateJson$outboundSchema: z.ZodType< z.ZodTypeDef, ProposalDateJson > = z.object({ - dateType: DateTypeJson1$outboundSchema.default("PREFERRED"), + dateType: DateTypeJson$outboundSchema.default("PREFERRED"), startDate: z.instanceof(RFCDate).transform(v => v.toString()).optional(), endDate: z.instanceof(RFCDate).transform(v => v.toString()).optional(), }); diff --git a/packages/typescript/src/models/components/proposalrequest.ts b/packages/typescript/src/models/components/proposalrequest.ts index 6a059aceb..f1e2f1b04 100644 --- a/packages/typescript/src/models/components/proposalrequest.ts +++ b/packages/typescript/src/models/components/proposalrequest.ts @@ -14,14 +14,14 @@ import { CategoryItemsCostJson$outboundSchema, } from "./categoryitemscostjson.js"; import { - ContactJson1, - ContactJson1$Outbound, - ContactJson1$outboundSchema, -} from "./contactjson1.js"; + ContactJson, + ContactJson$Outbound, + ContactJson$outboundSchema, +} from "./contactjson.js"; import { - CurrencyJson1, - CurrencyJson1$outboundSchema, -} from "./currencyjson1.js"; + CurrencyJson2, + CurrencyJson2$outboundSchema, +} from "./currencyjson2.js"; import { EstimatedCostJson, EstimatedCostJson$Outbound, @@ -108,7 +108,7 @@ export type ProposalRequest = { /** * The ISO 4217 standard format currency code used for RFPs. */ - currencyCode?: CurrencyJson1 | undefined; + currencyCode?: CurrencyJson2 | undefined; /** * True indicates this is a commissionable bid. */ @@ -150,11 +150,11 @@ export type ProposalRequest = { /** * List of all contacts. */ - contacts?: Array | undefined; + contacts?: Array | undefined; /** * List of all planner contacts. */ - plannerContacts?: Array | undefined; + plannerContacts?: Array | undefined; /** * The meeting room. */ @@ -181,8 +181,8 @@ export type ProposalRequest$Outbound = { categoryItemsCost?: CategoryItemsCostJson$Outbound | undefined; aggregatedCost?: AggregatedCostJson$Outbound | undefined; estimatedCost?: EstimatedCostJson$Outbound | undefined; - contacts?: Array | undefined; - plannerContacts?: Array | undefined; + contacts?: Array | undefined; + plannerContacts?: Array | undefined; meetingRoom?: MeetingRoomJson$Outbound | undefined; }; @@ -200,7 +200,7 @@ export const ProposalRequest$outboundSchema: z.ZodType< statusSummary: StatusSummaryJson$outboundSchema.optional(), introduction: z.string().optional(), billingContractualResponse: z.string().optional(), - currencyCode: CurrencyJson1$outboundSchema.optional(), + currencyCode: CurrencyJson2$outboundSchema.optional(), commissionableBid: z.boolean().optional(), commissionRate: z.number().optional(), name: z.string().optional(), @@ -210,8 +210,8 @@ export const ProposalRequest$outboundSchema: z.ZodType< categoryItemsCost: CategoryItemsCostJson$outboundSchema.optional(), aggregatedCost: AggregatedCostJson$outboundSchema.optional(), estimatedCost: EstimatedCostJson$outboundSchema.optional(), - contacts: z.array(ContactJson1$outboundSchema).optional(), - plannerContacts: z.array(ContactJson1$outboundSchema).optional(), + contacts: z.array(ContactJson$outboundSchema).optional(), + plannerContacts: z.array(ContactJson$outboundSchema).optional(), meetingRoom: MeetingRoomJson$outboundSchema.optional(), }); diff --git a/packages/typescript/src/models/components/proposalresponse.ts b/packages/typescript/src/models/components/proposalresponse.ts index 741af51b7..df02450f7 100644 --- a/packages/typescript/src/models/components/proposalresponse.ts +++ b/packages/typescript/src/models/components/proposalresponse.ts @@ -15,8 +15,8 @@ import { CategoryItemsCostJson, CategoryItemsCostJson$inboundSchema, } from "./categoryitemscostjson.js"; -import { ContactJson1, ContactJson1$inboundSchema } from "./contactjson1.js"; -import { CurrencyJson1, CurrencyJson1$inboundSchema } from "./currencyjson1.js"; +import { ContactJson, ContactJson$inboundSchema } from "./contactjson.js"; +import { CurrencyJson2, CurrencyJson2$inboundSchema } from "./currencyjson2.js"; import { EstimatedCostJson, EstimatedCostJson$inboundSchema, @@ -172,7 +172,7 @@ export type ProposalResponse = { /** * The ISO 4217 standard format currency code used for RFPs. */ - currencyCode?: CurrencyJson1 | undefined; + currencyCode?: CurrencyJson2 | undefined; /** * True indicates this is a commissionable bid. */ @@ -214,11 +214,11 @@ export type ProposalResponse = { /** * List of all contacts. */ - contacts?: Array | undefined; + contacts?: Array | undefined; /** * List of all planner contacts. */ - plannerContacts?: Array | undefined; + plannerContacts?: Array | undefined; /** * The meeting room. */ @@ -305,7 +305,7 @@ export const ProposalResponse$inboundSchema: z.ZodType< statusSummary: StatusSummaryJson$inboundSchema.optional(), introduction: z.string().optional(), billingContractualResponse: z.string().optional(), - currencyCode: CurrencyJson1$inboundSchema.optional(), + currencyCode: CurrencyJson2$inboundSchema.optional(), commissionableBid: z.boolean().optional(), commissionRate: z.number().optional(), name: z.string().optional(), @@ -315,8 +315,8 @@ export const ProposalResponse$inboundSchema: z.ZodType< categoryItemsCost: CategoryItemsCostJson$inboundSchema.optional(), aggregatedCost: AggregatedCostJson$inboundSchema.optional(), estimatedCost: EstimatedCostJson$inboundSchema.optional(), - contacts: z.array(ContactJson1$inboundSchema).optional(), - plannerContacts: z.array(ContactJson1$inboundSchema).optional(), + contacts: z.array(ContactJson$inboundSchema).optional(), + plannerContacts: z.array(ContactJson$inboundSchema).optional(), meetingRoom: MeetingRoomJson$inboundSchema.optional(), transaction: TransactionJson$inboundSchema.optional(), id: z.string(), diff --git a/packages/typescript/src/models/components/proposalstatustype.ts b/packages/typescript/src/models/components/proposalstatustype.ts new file mode 100644 index 000000000..42d337fcd --- /dev/null +++ b/packages/typescript/src/models/components/proposalstatustype.ts @@ -0,0 +1,34 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * The status of the proposal + */ +export const ProposalStatusType = { + ParticipationRequested: "participation_requested", + New: "new", + Active: "active", + Submitted: "submitted", + DeclinedParticipation: "declined_participation", + Verified: "verified", + Approved: "approved", + AccountAccepted: "account_accepted", + AccountRejected: "account_rejected", + InternalRejected: "internal_rejected", + RequestRenegotiation: "request_renegotiation", + DeclineRenegotiation: "decline_renegotiation", + Deleted: "deleted", +} as const; +/** + * The status of the proposal + */ +export type ProposalStatusType = ClosedEnum; + +/** @internal */ +export const ProposalStatusType$inboundSchema: z.ZodNativeEnum< + typeof ProposalStatusType +> = z.nativeEnum(ProposalStatusType); diff --git a/packages/typescript/src/models/components/proposalstatustypejson.ts b/packages/typescript/src/models/components/proposalstatustypejson.ts deleted file mode 100644 index 35b9b4c6d..000000000 --- a/packages/typescript/src/models/components/proposalstatustypejson.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * The status of the proposal - */ -export const ProposalStatusTypeJson = { - ParticipationRequested: "participation_requested", - New: "new", - Active: "active", - Submitted: "submitted", - DeclinedParticipation: "declined_participation", - Verified: "verified", - Approved: "approved", - AccountAccepted: "account_accepted", - AccountRejected: "account_rejected", - InternalRejected: "internal_rejected", - RequestRenegotiation: "request_renegotiation", - DeclineRenegotiation: "decline_renegotiation", - Deleted: "deleted", -} as const; -/** - * The status of the proposal - */ -export type ProposalStatusTypeJson = ClosedEnum; - -/** @internal */ -export const ProposalStatusTypeJson$inboundSchema: z.ZodNativeEnum< - typeof ProposalStatusTypeJson -> = z.nativeEnum(ProposalStatusTypeJson); diff --git a/packages/typescript/src/models/components/proximityjson.ts b/packages/typescript/src/models/components/proximityjson.ts index b48c3e6d2..68e3e1d6b 100644 --- a/packages/typescript/src/models/components/proximityjson.ts +++ b/packages/typescript/src/models/components/proximityjson.ts @@ -6,7 +6,7 @@ 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 { DistanceJson1, DistanceJson1$inboundSchema } from "./distancejson1.js"; +import { DistanceJson, DistanceJson$inboundSchema } from "./distancejson.js"; /** * Proximity of the event venue to the hotel. @@ -15,7 +15,7 @@ export type ProximityJson = { /** * Distance information. */ - distance?: DistanceJson1 | undefined; + distance?: DistanceJson | undefined; /** * Message shown on map. */ @@ -28,7 +28,7 @@ export const ProximityJson$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - distance: DistanceJson1$inboundSchema.optional(), + distance: DistanceJson$inboundSchema.optional(), mapMessage: z.string().optional(), }); diff --git a/packages/typescript/src/models/components/question.ts b/packages/typescript/src/models/components/question.ts index 459e4df73..06dd58a9e 100644 --- a/packages/typescript/src/models/components/question.ts +++ b/packages/typescript/src/models/components/question.ts @@ -7,17 +7,17 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - QuestionResponseDataTypeJson, - QuestionResponseDataTypeJson$inboundSchema, -} from "./questionresponsedatatypejson.js"; + QuestionResponseDataType, + QuestionResponseDataType$inboundSchema, +} from "./questionresponsedatatype.js"; import { - QuestionResponseFormatJson, - QuestionResponseFormatJson$inboundSchema, -} from "./questionresponseformatjson.js"; + QuestionResponseFormat, + QuestionResponseFormat$inboundSchema, +} from "./questionresponseformat.js"; import { - QuestionResponseTypeJson, - QuestionResponseTypeJson$inboundSchema, -} from "./questionresponsetypejson.js"; + QuestionResponseType, + QuestionResponseType$inboundSchema, +} from "./questionresponsetype.js"; /** * A question, defined by the program, for the supplier to answer as part of their proposal. @@ -54,15 +54,15 @@ export type Question = { /** * 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?: QuestionResponseTypeJson | undefined; + responseType?: QuestionResponseType | undefined; /** * Code representing the expected data type of the question response. */ - responseDataType?: QuestionResponseDataTypeJson | undefined; + responseDataType?: QuestionResponseDataType | undefined; /** * Code representing the format the text of the response will be in. */ - responseFormat?: QuestionResponseFormatJson | undefined; + responseFormat?: QuestionResponseFormat | undefined; /** * A list of options for the question. This only applies when responseType is 'choice' */ @@ -85,9 +85,9 @@ export const Question$inboundSchema: z.ZodType< id: z.string().optional(), text: z.string().optional(), required: z.boolean().optional(), - responseType: QuestionResponseTypeJson$inboundSchema.optional(), - responseDataType: QuestionResponseDataTypeJson$inboundSchema.optional(), - responseFormat: QuestionResponseFormatJson$inboundSchema.optional(), + responseType: QuestionResponseType$inboundSchema.optional(), + responseDataType: QuestionResponseDataType$inboundSchema.optional(), + responseFormat: QuestionResponseFormat$inboundSchema.optional(), responseChoices: z.array(z.string()).optional(), }); diff --git a/packages/typescript/src/models/components/questionclassificationtype.ts b/packages/typescript/src/models/components/questionclassificationtype.ts new file mode 100644 index 000000000..decbe782e --- /dev/null +++ b/packages/typescript/src/models/components/questionclassificationtype.ts @@ -0,0 +1,26 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * 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. + */ +export const QuestionClassificationType = { + MeetingRoom: "MEETING_ROOM", + GuestRoom: "GUEST_ROOM", + AllRfps: "ALL_RFPS", +} as const; +/** + * 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. + */ +export type QuestionClassificationType = ClosedEnum< + typeof QuestionClassificationType +>; + +/** @internal */ +export const QuestionClassificationType$inboundSchema: z.ZodNativeEnum< + typeof QuestionClassificationType +> = z.nativeEnum(QuestionClassificationType); diff --git a/packages/typescript/src/models/components/questionclassificationtypejson.ts b/packages/typescript/src/models/components/questionclassificationtypejson.ts deleted file mode 100644 index e5087b7a7..000000000 --- a/packages/typescript/src/models/components/questionclassificationtypejson.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * 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. - */ -export const QuestionClassificationTypeJson = { - MeetingRoom: "MEETING_ROOM", - GuestRoom: "GUEST_ROOM", - AllRfps: "ALL_RFPS", -} as const; -/** - * 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. - */ -export type QuestionClassificationTypeJson = ClosedEnum< - typeof QuestionClassificationTypeJson ->; - -/** @internal */ -export const QuestionClassificationTypeJson$inboundSchema: z.ZodNativeEnum< - typeof QuestionClassificationTypeJson -> = z.nativeEnum(QuestionClassificationTypeJson); diff --git a/packages/typescript/src/models/components/questionjson.ts b/packages/typescript/src/models/components/questionjson.ts new file mode 100644 index 000000000..f3972a28b --- /dev/null +++ b/packages/typescript/src/models/components/questionjson.ts @@ -0,0 +1,57 @@ +/* + * 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"; + +/** + * Question details + */ +export type QuestionJson = { + /** + * The question ID. + */ + id: string; + /** + * The question text. + */ + text?: string | undefined; + /** + * The status of the question. + */ + status?: string | undefined; + /** + * Whether question is asked anonymously. + */ + anonymous?: boolean | undefined; + /** + * The answer text. + */ + answer?: string | undefined; +}; + +/** @internal */ +export const QuestionJson$inboundSchema: z.ZodType< + QuestionJson, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + text: z.string().optional(), + status: z.string().optional(), + anonymous: z.boolean().optional(), + answer: z.string().optional(), +}); + +export function questionJsonFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => QuestionJson$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'QuestionJson' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/questionjson1.ts b/packages/typescript/src/models/components/questionjson1.ts index 5c723da39..81d78365d 100644 --- a/packages/typescript/src/models/components/questionjson1.ts +++ b/packages/typescript/src/models/components/questionjson1.ts @@ -6,31 +6,112 @@ 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 { + AdditionalChoiceJson, + AdditionalChoiceJson$inboundSchema, +} from "./additionalchoicejson.js"; +import { CategoryJson1, CategoryJson1$inboundSchema } from "./categoryjson1.js"; +import { ChoiceJson1, ChoiceJson1$inboundSchema } from "./choicejson1.js"; +import { FieldJson, FieldJson$inboundSchema } from "./fieldjson.js"; +import { + QuestionTypeJson1, + QuestionTypeJson1$inboundSchema, +} from "./questiontypejson1.js"; +import { TextFieldJson, TextFieldJson$inboundSchema } from "./textfieldjson.js"; +import { UuidJson, UuidJson$inboundSchema } from "./uuidjson.js"; /** - * Question details + * A survey question. */ export type QuestionJson1 = { /** - * The question ID. + * The ISO 8601 zoned date time when this record was created. */ - id: string; + created?: Date | undefined; /** - * The question text. + * 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; + /** + * Text field ID. + */ + id?: string | undefined; + /** + * text Value of the Field */ text?: string | undefined; /** - * The status of the question. + * Reporting value of the Category, Its like a custom abbreviation + */ + shortText?: string | undefined; + /** + * Html of the question + */ + htmlText?: string | undefined; + /** + * Question Code + */ + code?: string | undefined; + /** + * Question Type. + */ + type?: QuestionTypeJson1 | undefined; + /** + * List of choices for the question. + */ + choices?: Array | undefined; + /** + * List of categories for the question. + */ + categories?: Array | undefined; + /** + * List of sub categories for matrix side-by-side questions + */ + subCategories?: Array | undefined; + /** + * Contains text of additional choice i.e N/A choice or otherAnswer choice + */ + notApplicableAnswer?: AdditionalChoiceJson | undefined; + /** + * Contains text of additional choice i.e N/A choice or otherAnswer choice + */ + otherAnswer?: AdditionalChoiceJson | undefined; + /** + * Text Value of Comments Input box placeholder + */ + comments?: string | undefined; + /** + * Is this a mandatory question + */ + required: boolean; + /** + * List of fields for form/matrix questions + */ + fields?: Array | undefined; + /** + * Max possible score + */ + maxScore?: number | undefined; + /** + * Total configured sum of all choices for number allocation question */ - status?: string | undefined; + totalSum?: number | undefined; /** - * Whether question is asked anonymously. + * The reference to the related entity. Contains only the ID of the related entity. */ - anonymous?: boolean | undefined; + survey?: UuidJson | undefined; /** - * The answer text. + * The reference to the related entity. Contains only the ID of the related entity. */ - answer?: string | undefined; + chapter?: UuidJson | undefined; }; /** @internal */ @@ -39,11 +120,31 @@ export const QuestionJson1$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - id: z.string(), + 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(), + id: z.string().optional(), text: z.string().optional(), - status: z.string().optional(), - anonymous: z.boolean().optional(), - answer: z.string().optional(), + shortText: z.string().optional(), + htmlText: z.string().optional(), + code: z.string().optional(), + type: QuestionTypeJson1$inboundSchema.optional(), + choices: z.array(ChoiceJson1$inboundSchema).optional(), + categories: z.array(CategoryJson1$inboundSchema).optional(), + subCategories: z.array(TextFieldJson$inboundSchema).optional(), + notApplicableAnswer: AdditionalChoiceJson$inboundSchema.optional(), + otherAnswer: AdditionalChoiceJson$inboundSchema.optional(), + comments: z.string().optional(), + required: z.boolean().default(false), + fields: z.array(FieldJson$inboundSchema).optional(), + maxScore: z.number().optional(), + totalSum: z.number().int().optional(), + survey: UuidJson$inboundSchema.optional(), + chapter: UuidJson$inboundSchema.optional(), }); export function questionJson1FromJSON( diff --git a/packages/typescript/src/models/components/questionjson2.ts b/packages/typescript/src/models/components/questionjson2.ts index 15e7ea790..4ef95fb50 100644 --- a/packages/typescript/src/models/components/questionjson2.ts +++ b/packages/typescript/src/models/components/questionjson2.ts @@ -6,115 +6,23 @@ 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 { - AdditionalChoiceJson1, - AdditionalChoiceJson1$inboundSchema, -} from "./additionalchoicejson1.js"; -import { CategoryJson2, CategoryJson2$inboundSchema } from "./categoryjson2.js"; -import { ChoiceJson2, ChoiceJson2$inboundSchema } from "./choicejson2.js"; -import { FieldJson2, FieldJson2$inboundSchema } from "./fieldjson2.js"; -import { - QuestionTypeJson2, - QuestionTypeJson2$inboundSchema, -} from "./questiontypejson2.js"; -import { - TextFieldJson1, - TextFieldJson1$inboundSchema, -} from "./textfieldjson1.js"; -import { UuidJson, UuidJson$inboundSchema } from "./uuidjson.js"; /** - * A survey question. + * The question that was answered. */ export type QuestionJson2 = { /** - * 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; - /** - * Text field ID. + * The unique identifier of the question. */ id?: string | undefined; /** - * text Value of the Field + * Question text. */ text?: string | undefined; /** - * Reporting value of the Category, Its like a custom abbreviation - */ - shortText?: string | undefined; - /** - * Html of the question - */ - htmlText?: string | undefined; - /** - * Question Code + * Question code. */ code?: string | undefined; - /** - * Question Type. - */ - type?: QuestionTypeJson2 | undefined; - /** - * List of choices for the question. - */ - choices?: Array | undefined; - /** - * List of categories for the question. - */ - categories?: Array | undefined; - /** - * List of sub categories for matrix side-by-side questions - */ - subCategories?: Array | undefined; - /** - * Contains text of additional choice i.e N/A choice or otherAnswer choice - */ - notApplicableAnswer?: AdditionalChoiceJson1 | undefined; - /** - * Contains text of additional choice i.e N/A choice or otherAnswer choice - */ - otherAnswer?: AdditionalChoiceJson1 | undefined; - /** - * Text Value of Comments Input box placeholder - */ - comments?: string | undefined; - /** - * Is this a mandatory question - */ - required: boolean; - /** - * List of fields for form/matrix questions - */ - fields?: Array | undefined; - /** - * Max possible score - */ - maxScore?: number | undefined; - /** - * Total configured sum of all choices for number allocation question - */ - totalSum?: number | undefined; - /** - * The reference to the related entity. Contains only the ID of the related entity. - */ - survey?: UuidJson | undefined; - /** - * The reference to the related entity. Contains only the ID of the related entity. - */ - chapter?: UuidJson | undefined; }; /** @internal */ @@ -123,31 +31,9 @@ export const QuestionJson2$inboundSchema: z.ZodType< 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(), id: z.string().optional(), text: z.string().optional(), - shortText: z.string().optional(), - htmlText: z.string().optional(), code: z.string().optional(), - type: QuestionTypeJson2$inboundSchema.optional(), - choices: z.array(ChoiceJson2$inboundSchema).optional(), - categories: z.array(CategoryJson2$inboundSchema).optional(), - subCategories: z.array(TextFieldJson1$inboundSchema).optional(), - notApplicableAnswer: AdditionalChoiceJson1$inboundSchema.optional(), - otherAnswer: AdditionalChoiceJson1$inboundSchema.optional(), - comments: z.string().optional(), - required: z.boolean().default(false), - fields: z.array(FieldJson2$inboundSchema).optional(), - maxScore: z.number().optional(), - totalSum: z.number().int().optional(), - survey: UuidJson$inboundSchema.optional(), - chapter: UuidJson$inboundSchema.optional(), }); export function questionJson2FromJSON( diff --git a/packages/typescript/src/models/components/questionjson3.ts b/packages/typescript/src/models/components/questionjson3.ts deleted file mode 100644 index 65c785cc7..000000000 --- a/packages/typescript/src/models/components/questionjson3.ts +++ /dev/null @@ -1,47 +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"; - -/** - * The question that was answered. - */ -export type QuestionJson3 = { - /** - * The unique identifier of the question. - */ - id?: string | undefined; - /** - * Question text. - */ - text?: string | undefined; - /** - * Question code. - */ - code?: string | undefined; -}; - -/** @internal */ -export const QuestionJson3$inboundSchema: z.ZodType< - QuestionJson3, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - text: z.string().optional(), - code: z.string().optional(), -}); - -export function questionJson3FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => QuestionJson3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'QuestionJson3' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/questionpaginatedresponse.ts b/packages/typescript/src/models/components/questionpaginatedresponse.ts index 9ee0e791c..c271ac48e 100644 --- a/packages/typescript/src/models/components/questionpaginatedresponse.ts +++ b/packages/typescript/src/models/components/questionpaginatedresponse.ts @@ -6,7 +6,7 @@ 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 { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; import { Question, Question$inboundSchema } from "./question.js"; /** @@ -16,7 +16,7 @@ export type QuestionPaginatedResponse = { /** * Represents pagination information for a collection of resources. */ - paging?: PagingJson | undefined; + paging?: Paging | undefined; /** * Collection of Questions. */ @@ -29,7 +29,7 @@ export const QuestionPaginatedResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema.optional(), + paging: Paging$inboundSchema.optional(), data: z.array(Question$inboundSchema).optional(), }); diff --git a/packages/typescript/src/models/components/questionresponsedatatype.ts b/packages/typescript/src/models/components/questionresponsedatatype.ts new file mode 100644 index 000000000..9cd17b289 --- /dev/null +++ b/packages/typescript/src/models/components/questionresponsedatatype.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"; + +/** + * Code representing the expected data type of the question response. + */ +export const QuestionResponseDataType = { + Text: "text", + Date: "date", + DateTime: "date_time", + Time: "time", + Number: "number", + Email: "email", + Boolean: "boolean", +} as const; +/** + * Code representing the expected data type of the question response. + */ +export type QuestionResponseDataType = ClosedEnum< + typeof QuestionResponseDataType +>; + +/** @internal */ +export const QuestionResponseDataType$inboundSchema: z.ZodNativeEnum< + typeof QuestionResponseDataType +> = z.nativeEnum(QuestionResponseDataType); diff --git a/packages/typescript/src/models/components/questionresponsedatatypejson.ts b/packages/typescript/src/models/components/questionresponsedatatypejson.ts deleted file mode 100644 index 42e8e4821..000000000 --- a/packages/typescript/src/models/components/questionresponsedatatypejson.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Code representing the expected data type of the question response. - */ -export const QuestionResponseDataTypeJson = { - Text: "text", - Date: "date", - DateTime: "date_time", - Time: "time", - Number: "number", - Email: "email", - Boolean: "boolean", -} as const; -/** - * Code representing the expected data type of the question response. - */ -export type QuestionResponseDataTypeJson = ClosedEnum< - typeof QuestionResponseDataTypeJson ->; - -/** @internal */ -export const QuestionResponseDataTypeJson$inboundSchema: z.ZodNativeEnum< - typeof QuestionResponseDataTypeJson -> = z.nativeEnum(QuestionResponseDataTypeJson); diff --git a/packages/typescript/src/models/components/questionresponseformat.ts b/packages/typescript/src/models/components/questionresponseformat.ts new file mode 100644 index 000000000..9f068cbdb --- /dev/null +++ b/packages/typescript/src/models/components/questionresponseformat.ts @@ -0,0 +1,24 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Code representing the format the text of the response will be in. + */ +export const QuestionResponseFormat = { + LowerCase: "lower_case", + ProperCase: "proper_case", + UpperCase: "upper_case", +} as const; +/** + * Code representing the format the text of the response will be in. + */ +export type QuestionResponseFormat = ClosedEnum; + +/** @internal */ +export const QuestionResponseFormat$inboundSchema: z.ZodNativeEnum< + typeof QuestionResponseFormat +> = z.nativeEnum(QuestionResponseFormat); diff --git a/packages/typescript/src/models/components/questionresponseformatjson.ts b/packages/typescript/src/models/components/questionresponseformatjson.ts deleted file mode 100644 index ccf96bbc5..000000000 --- a/packages/typescript/src/models/components/questionresponseformatjson.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Code representing the format the text of the response will be in. - */ -export const QuestionResponseFormatJson = { - LowerCase: "lower_case", - ProperCase: "proper_case", - UpperCase: "upper_case", -} as const; -/** - * Code representing the format the text of the response will be in. - */ -export type QuestionResponseFormatJson = ClosedEnum< - typeof QuestionResponseFormatJson ->; - -/** @internal */ -export const QuestionResponseFormatJson$inboundSchema: z.ZodNativeEnum< - typeof QuestionResponseFormatJson -> = z.nativeEnum(QuestionResponseFormatJson); diff --git a/packages/typescript/src/models/components/questionresponsejson.ts b/packages/typescript/src/models/components/questionresponsejson.ts index 4f838cf1b..bde7f0a06 100644 --- a/packages/typescript/src/models/components/questionresponsejson.ts +++ b/packages/typescript/src/models/components/questionresponsejson.ts @@ -7,7 +7,7 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AnswerJson1, AnswerJson1$inboundSchema } from "./answerjson1.js"; -import { QuestionJson3, QuestionJson3$inboundSchema } from "./questionjson3.js"; +import { QuestionJson2, QuestionJson2$inboundSchema } from "./questionjson2.js"; /** * A Question response. @@ -16,7 +16,7 @@ export type QuestionResponseJson = { /** * The question that was answered. */ - question?: QuestionJson3 | undefined; + question?: QuestionJson2 | undefined; /** * List of answers. */ @@ -29,7 +29,7 @@ export const QuestionResponseJson$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - question: QuestionJson3$inboundSchema.optional(), + question: QuestionJson2$inboundSchema.optional(), answers: z.array(AnswerJson1$inboundSchema).optional(), }); diff --git a/packages/typescript/src/models/components/questionresponsetype.ts b/packages/typescript/src/models/components/questionresponsetype.ts new file mode 100644 index 000000000..ca43c04a1 --- /dev/null +++ b/packages/typescript/src/models/components/questionresponsetype.ts @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * 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. + */ +export const QuestionResponseType = { + Single: "single", + Choice: "choice", +} as const; +/** + * 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. + */ +export type QuestionResponseType = ClosedEnum; + +/** @internal */ +export const QuestionResponseType$inboundSchema: z.ZodNativeEnum< + typeof QuestionResponseType +> = z.nativeEnum(QuestionResponseType); diff --git a/packages/typescript/src/models/components/questionresponsetypejson.ts b/packages/typescript/src/models/components/questionresponsetypejson.ts deleted file mode 100644 index b6284bda9..000000000 --- a/packages/typescript/src/models/components/questionresponsetypejson.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"; - -/** - * 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. - */ -export const QuestionResponseTypeJson = { - Single: "single", - Choice: "choice", -} as const; -/** - * 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. - */ -export type QuestionResponseTypeJson = ClosedEnum< - typeof QuestionResponseTypeJson ->; - -/** @internal */ -export const QuestionResponseTypeJson$inboundSchema: z.ZodNativeEnum< - typeof QuestionResponseTypeJson -> = z.nativeEnum(QuestionResponseTypeJson); diff --git a/packages/typescript/src/models/components/questionsection.ts b/packages/typescript/src/models/components/questionsection.ts new file mode 100644 index 000000000..7bf9baac4 --- /dev/null +++ b/packages/typescript/src/models/components/questionsection.ts @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Code representing the section where the question belongs. Currently, program_client (client specific) and program_g_and_m (group and meeting) are supported. + */ +export const QuestionSection = { + ProgramClient: "program_client", + ProgramGAndM: "program_g_and_m", +} as const; +/** + * Code representing the section where the question belongs. Currently, program_client (client specific) and program_g_and_m (group and meeting) are supported. + */ +export type QuestionSection = ClosedEnum; + +/** @internal */ +export const QuestionSection$inboundSchema: z.ZodNativeEnum< + typeof QuestionSection +> = z.nativeEnum(QuestionSection); diff --git a/packages/typescript/src/models/components/questionsectionjson.ts b/packages/typescript/src/models/components/questionsectionjson.ts deleted file mode 100644 index 9160e0c02..000000000 --- a/packages/typescript/src/models/components/questionsectionjson.ts +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Code representing the section where the question belongs. Currently, program_client (client specific) and program_g_and_m (group and meeting) are supported. - */ -export const QuestionSectionJson = { - ProgramClient: "program_client", - ProgramGAndM: "program_g_and_m", -} as const; -/** - * Code representing the section where the question belongs. Currently, program_client (client specific) and program_g_and_m (group and meeting) are supported. - */ -export type QuestionSectionJson = ClosedEnum; - -/** @internal */ -export const QuestionSectionJson$inboundSchema: z.ZodNativeEnum< - typeof QuestionSectionJson -> = z.nativeEnum(QuestionSectionJson); diff --git a/packages/typescript/src/models/components/questionspaginatedresponse.ts b/packages/typescript/src/models/components/questionspaginatedresponse.ts index c3546b896..f5a969871 100644 --- a/packages/typescript/src/models/components/questionspaginatedresponse.ts +++ b/packages/typescript/src/models/components/questionspaginatedresponse.ts @@ -7,7 +7,7 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; -import { QuestionJson2, QuestionJson2$inboundSchema } from "./questionjson2.js"; +import { QuestionJson1, QuestionJson1$inboundSchema } from "./questionjson1.js"; /** * Response include paging and collection of questions of surveys @@ -20,7 +20,7 @@ export type QuestionsPaginatedResponse = { /** * Collection of questions for surveys. */ - data: Array; + data: Array; }; /** @internal */ @@ -30,7 +30,7 @@ export const QuestionsPaginatedResponse$inboundSchema: z.ZodType< unknown > = z.object({ paging: PagingJson$inboundSchema, - data: z.array(QuestionJson2$inboundSchema), + data: z.array(QuestionJson1$inboundSchema), }); export function questionsPaginatedResponseFromJSON( diff --git a/packages/typescript/src/models/components/questionspaginatedresponse1.ts b/packages/typescript/src/models/components/questionspaginatedresponse1.ts index ad827286a..e81d064fa 100644 --- a/packages/typescript/src/models/components/questionspaginatedresponse1.ts +++ b/packages/typescript/src/models/components/questionspaginatedresponse1.ts @@ -6,11 +6,11 @@ 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 { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; import { - QuestionWithProgramIdJson, - QuestionWithProgramIdJson$inboundSchema, -} from "./questionwithprogramidjson.js"; + TravelProgramQuestion, + TravelProgramQuestion$inboundSchema, +} from "./travelprogramquestion.js"; /** * A paginated list of Questions. @@ -19,11 +19,11 @@ export type QuestionsPaginatedResponse1 = { /** * Represents pagination information for a collection of resources. */ - paging?: PagingJson | undefined; + paging?: Paging | undefined; /** * Collection of Questions. */ - data?: Array | undefined; + data?: Array | undefined; }; /** @internal */ @@ -32,8 +32,8 @@ export const QuestionsPaginatedResponse1$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema.optional(), - data: z.array(QuestionWithProgramIdJson$inboundSchema).optional(), + paging: Paging$inboundSchema.optional(), + data: z.array(TravelProgramQuestion$inboundSchema).optional(), }); export function questionsPaginatedResponse1FromJSON( diff --git a/packages/typescript/src/models/components/questiontype.ts b/packages/typescript/src/models/components/questiontype.ts new file mode 100644 index 000000000..7a0d557ad --- /dev/null +++ b/packages/typescript/src/models/components/questiontype.ts @@ -0,0 +1,42 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * The type of question. See [this article](https://support.cvent.com/s/communityarticle/Survey-Adding-Questions) for details on each enum. + */ +export const QuestionType = { + CommentBox: "CommentBox", + DateTime: "DateTime", + FileUpload: "FileUpload", + Form: "Form", + LargeChoices: "LargeChoices", + MatrixMultiChoice: "MatrixMultiChoice", + MatrixRating: "MatrixRating", + MatrixSideBySide: "MatrixSideBySide", + MatrixSingleChoice: "MatrixSingleChoice", + MatrixSpreadSheet: "MatrixSpreadSheet", + MultiChoice: "MultiChoice", + NetPromoter: "NetPromoter", + Number: "Number", + NumberAllocation: "NumberAllocation", + OpenEndedDateTime: "OpenEndedDateTime", + OpenEndedNumeric: "OpenEndedNumeric", + OpenEndedTextCommentBox: "OpenEndedTextCommentBox", + OpenEndedTextOneLine: "OpenEndedTextOneLine", + RankOrder: "RankOrder", + Rating: "Rating", + SingleChoice: "SingleChoice", + Text: "Text", +} as const; +/** + * The type of question. See [this article](https://support.cvent.com/s/communityarticle/Survey-Adding-Questions) for details on each enum. + */ +export type QuestionType = ClosedEnum; + +/** @internal */ +export const QuestionType$inboundSchema: z.ZodNativeEnum = + z.nativeEnum(QuestionType); diff --git a/packages/typescript/src/models/components/questiontypejson.ts b/packages/typescript/src/models/components/questiontypejson.ts index fd19f8dfd..851c3edba 100644 --- a/packages/typescript/src/models/components/questiontypejson.ts +++ b/packages/typescript/src/models/components/questiontypejson.ts @@ -6,34 +6,31 @@ import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; /** - * The type of question. See [this article](https://support.cvent.com/s/communityarticle/Survey-Adding-Questions) for details on each enum. + * Denotes the type of data collected by a question. */ export const QuestionTypeJson = { - CommentBox: "CommentBox", + AutoIncrement: "AutoIncrement", + BudgetEstimates: "BudgetEstimates", + ConsentQuestion: "ConsentQuestion", + Country: "Country", + Currency: "Currency", + Decimal: "Decimal", + Date: "Date", DateTime: "DateTime", + Email: "Email", FileUpload: "FileUpload", - Form: "Form", - LargeChoices: "LargeChoices", - MatrixMultiChoice: "MatrixMultiChoice", - MatrixRating: "MatrixRating", - MatrixSideBySide: "MatrixSideBySide", - MatrixSingleChoice: "MatrixSingleChoice", - MatrixSpreadSheet: "MatrixSpreadSheet", - MultiChoice: "MultiChoice", - NetPromoter: "NetPromoter", + FreeText: "FreeText", + General: "General", Number: "Number", - NumberAllocation: "NumberAllocation", - OpenEndedDateTime: "OpenEndedDateTime", - OpenEndedNumeric: "OpenEndedNumeric", - OpenEndedTextCommentBox: "OpenEndedTextCommentBox", - OpenEndedTextOneLine: "OpenEndedTextOneLine", - RankOrder: "RankOrder", - Rating: "Rating", - SingleChoice: "SingleChoice", - Text: "Text", + MeetingRoomRequirements: "MeetingRoomRequirements", + MultiSelect: "MultiSelect", + SingleSelect: "SingleSelect", + SleepingRoomRequirements: "SleepingRoomRequirements", + USPhoneNumber: "USPhoneNumber", + Unknown: "Unknown", } as const; /** - * The type of question. See [this article](https://support.cvent.com/s/communityarticle/Survey-Adding-Questions) for details on each enum. + * Denotes the type of data collected by a question. */ export type QuestionTypeJson = ClosedEnum; diff --git a/packages/typescript/src/models/components/questiontypejson1.ts b/packages/typescript/src/models/components/questiontypejson1.ts index e8a146f83..6b5933792 100644 --- a/packages/typescript/src/models/components/questiontypejson1.ts +++ b/packages/typescript/src/models/components/questiontypejson1.ts @@ -6,31 +6,30 @@ import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; /** - * Denotes the type of data collected by a question. + * Question Type. */ export const QuestionTypeJson1 = { - AutoIncrement: "AutoIncrement", - BudgetEstimates: "BudgetEstimates", - ConsentQuestion: "ConsentQuestion", - Country: "Country", - Currency: "Currency", - Decimal: "Decimal", - Date: "Date", + SingleChoice: "SingleChoice", + MultiChoice: "MultiChoice", + MatrixSingleChoice: "MatrixSingleChoice", + MatrixMultiChoice: "MatrixMultiChoice", + MatrixSideBySide: "MatrixSideBySide", + MatrixSpreadSheet: "MatrixSpreadSheet", DateTime: "DateTime", - Email: "Email", - FileUpload: "FileUpload", - FreeText: "FreeText", - General: "General", Number: "Number", - MeetingRoomRequirements: "MeetingRoomRequirements", - MultiSelect: "MultiSelect", - SingleSelect: "SingleSelect", - SleepingRoomRequirements: "SleepingRoomRequirements", - USPhoneNumber: "USPhoneNumber", - Unknown: "Unknown", + Text: "Text", + CommentBox: "CommentBox", + Form: "Form", + RankOrder: "RankOrder", + FileUpload: "FileUpload", + NetPromoter: "NetPromoter", + Rating: "Rating", + MatrixRating: "MatrixRating", + NumberAllocation: "NumberAllocation", + LargeChoices: "LargeChoices", } as const; /** - * Denotes the type of data collected by a question. + * Question Type. */ export type QuestionTypeJson1 = ClosedEnum; diff --git a/packages/typescript/src/models/components/questiontypejson2.ts b/packages/typescript/src/models/components/questiontypejson2.ts index c4b42eaf8..7142d115b 100644 --- a/packages/typescript/src/models/components/questiontypejson2.ts +++ b/packages/typescript/src/models/components/questiontypejson2.ts @@ -6,30 +6,21 @@ import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; /** - * Question Type. + * This object represents the type of a question */ export const QuestionTypeJson2 = { SingleChoice: "SingleChoice", MultiChoice: "MultiChoice", - MatrixSingleChoice: "MatrixSingleChoice", - MatrixMultiChoice: "MatrixMultiChoice", - MatrixSideBySide: "MatrixSideBySide", - MatrixSpreadSheet: "MatrixSpreadSheet", - DateTime: "DateTime", - Number: "Number", - Text: "Text", - CommentBox: "CommentBox", - Form: "Form", - RankOrder: "RankOrder", + OpenEndedDateTime: "OpenEndedDateTime", + OpenEndedTextOneLine: "OpenEndedTextOneLine", + OpenEndedTextCommentBox: "OpenEndedTextCommentBox", + OpenEndedNumeric: "OpenEndedNumeric", FileUpload: "FileUpload", - NetPromoter: "NetPromoter", - Rating: "Rating", - MatrixRating: "MatrixRating", - NumberAllocation: "NumberAllocation", - LargeChoices: "LargeChoices", + MatrixSinglePerRow: "MatrixSinglePerRow", + MatrixMultiPerRow: "MatrixMultiPerRow", } as const; /** - * Question Type. + * This object represents the type of a question */ export type QuestionTypeJson2 = ClosedEnum; diff --git a/packages/typescript/src/models/components/questiontypejson3.ts b/packages/typescript/src/models/components/questiontypejson3.ts deleted file mode 100644 index eb4acbd1b..000000000 --- a/packages/typescript/src/models/components/questiontypejson3.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * This object represents the type of a question - */ -export const QuestionTypeJson3 = { - SingleChoice: "SingleChoice", - MultiChoice: "MultiChoice", - OpenEndedDateTime: "OpenEndedDateTime", - OpenEndedTextOneLine: "OpenEndedTextOneLine", - OpenEndedTextCommentBox: "OpenEndedTextCommentBox", - OpenEndedNumeric: "OpenEndedNumeric", - FileUpload: "FileUpload", - MatrixSinglePerRow: "MatrixSinglePerRow", - MatrixMultiPerRow: "MatrixMultiPerRow", -} as const; -/** - * This object represents the type of a question - */ -export type QuestionTypeJson3 = ClosedEnum; - -/** @internal */ -export const QuestionTypeJson3$inboundSchema: z.ZodNativeEnum< - typeof QuestionTypeJson3 -> = z.nativeEnum(QuestionTypeJson3); diff --git a/packages/typescript/src/models/components/questionwithprogramidjson.ts b/packages/typescript/src/models/components/questionwithprogramidjson.ts deleted file mode 100644 index 62bdb2c04..000000000 --- a/packages/typescript/src/models/components/questionwithprogramidjson.ts +++ /dev/null @@ -1,139 +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 { - QuestionResponseDataTypeJson, - QuestionResponseDataTypeJson$inboundSchema, -} from "./questionresponsedatatypejson.js"; -import { - QuestionResponseFormatJson, - QuestionResponseFormatJson$inboundSchema, -} from "./questionresponseformatjson.js"; -import { - QuestionResponseTypeJson, - QuestionResponseTypeJson$inboundSchema, -} from "./questionresponsetypejson.js"; - -/** - * Travel program that the question belongs to. - */ -export type QuestionWithProgramIdJsonTravelProgram = { - /** - * 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 QuestionWithProgramIdJson = { - /** - * 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?: QuestionWithProgramIdJsonTravelProgram | 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?: QuestionResponseTypeJson | undefined; - /** - * Code representing the expected data type of the question response. - */ - responseDataType?: QuestionResponseDataTypeJson | undefined; - /** - * Code representing the format the text of the response will be in. - */ - responseFormat?: QuestionResponseFormatJson | undefined; - /** - * A list of options for the question. This only applies when responseType is 'choice' - */ - responseChoices?: Array | undefined; -}; - -/** @internal */ -export const QuestionWithProgramIdJsonTravelProgram$inboundSchema: z.ZodType< - QuestionWithProgramIdJsonTravelProgram, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function questionWithProgramIdJsonTravelProgramFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - QuestionWithProgramIdJsonTravelProgram$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'QuestionWithProgramIdJsonTravelProgram' from JSON`, - ); -} - -/** @internal */ -export const QuestionWithProgramIdJson$inboundSchema: z.ZodType< - QuestionWithProgramIdJson, - 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(() => - QuestionWithProgramIdJsonTravelProgram$inboundSchema - ).optional(), - id: z.string().optional(), - text: z.string().optional(), - required: z.boolean().optional(), - responseType: QuestionResponseTypeJson$inboundSchema.optional(), - responseDataType: QuestionResponseDataTypeJson$inboundSchema.optional(), - responseFormat: QuestionResponseFormatJson$inboundSchema.optional(), - responseChoices: z.array(z.string()).optional(), -}); - -export function questionWithProgramIdJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => QuestionWithProgramIdJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'QuestionWithProgramIdJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/rateleveltype.ts b/packages/typescript/src/models/components/rateleveltype.ts new file mode 100644 index 000000000..38cd43314 --- /dev/null +++ b/packages/typescript/src/models/components/rateleveltype.ts @@ -0,0 +1,24 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Rate level + */ +export const RateLevelType = { + Corporate: "corporate", + Leisure: "leisure", + Government: "government", +} as const; +/** + * Rate level + */ +export type RateLevelType = ClosedEnum; + +/** @internal */ +export const RateLevelType$inboundSchema: z.ZodNativeEnum< + typeof RateLevelType +> = z.nativeEnum(RateLevelType); diff --git a/packages/typescript/src/models/components/rateleveltypejson.ts b/packages/typescript/src/models/components/rateleveltypejson.ts deleted file mode 100644 index 1c2206906..000000000 --- a/packages/typescript/src/models/components/rateleveltypejson.ts +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Rate level - */ -export const RateLevelTypeJson = { - Corporate: "corporate", - Leisure: "leisure", - Government: "government", -} as const; -/** - * Rate level - */ -export type RateLevelTypeJson = ClosedEnum; - -/** @internal */ -export const RateLevelTypeJson$inboundSchema: z.ZodNativeEnum< - typeof RateLevelTypeJson -> = z.nativeEnum(RateLevelTypeJson); diff --git a/packages/typescript/src/models/components/ratereviewstatustype.ts b/packages/typescript/src/models/components/ratereviewstatustype.ts new file mode 100644 index 000000000..63d46e8a7 --- /dev/null +++ b/packages/typescript/src/models/components/ratereviewstatustype.ts @@ -0,0 +1,25 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * The rate review status of the proposal + */ +export const RateReviewStatusType = { + Requested: "requested", + NotRequired: "not_required", + Approved: "approved", + Rejected: "rejected", +} as const; +/** + * The rate review status of the proposal + */ +export type RateReviewStatusType = ClosedEnum; + +/** @internal */ +export const RateReviewStatusType$inboundSchema: z.ZodNativeEnum< + typeof RateReviewStatusType +> = z.nativeEnum(RateReviewStatusType); diff --git a/packages/typescript/src/models/components/ratereviewstatustypejson.ts b/packages/typescript/src/models/components/ratereviewstatustypejson.ts deleted file mode 100644 index 2398b3d75..000000000 --- a/packages/typescript/src/models/components/ratereviewstatustypejson.ts +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * The rate review status of the proposal - */ -export const RateReviewStatusTypeJson = { - Requested: "requested", - NotRequired: "not_required", - Approved: "approved", - Rejected: "rejected", -} as const; -/** - * The rate review status of the proposal - */ -export type RateReviewStatusTypeJson = ClosedEnum< - typeof RateReviewStatusTypeJson ->; - -/** @internal */ -export const RateReviewStatusTypeJson$inboundSchema: z.ZodNativeEnum< - typeof RateReviewStatusTypeJson -> = z.nativeEnum(RateReviewStatusTypeJson); diff --git a/packages/typescript/src/models/components/ratetype.ts b/packages/typescript/src/models/components/ratetype.ts new file mode 100644 index 000000000..506af6e65 --- /dev/null +++ b/packages/typescript/src/models/components/ratetype.ts @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Rate type. + */ +export const RateType = { + Fixed: "fixed", + Dynamic: "dynamic", + Dynamicwithceiling: "dynamicwithceiling", +} as const; +/** + * Rate type. + */ +export type RateType = ClosedEnum; + +/** @internal */ +export const RateType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(RateType); diff --git a/packages/typescript/src/models/components/ratetypejson.ts b/packages/typescript/src/models/components/ratetypejson.ts deleted file mode 100644 index d362f97ff..000000000 --- a/packages/typescript/src/models/components/ratetypejson.ts +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Rate type. - */ -export const RateTypeJson = { - Fixed: "fixed", - Dynamic: "dynamic", - Dynamicwithceiling: "dynamicwithceiling", -} as const; -/** - * Rate type. - */ -export type RateTypeJson = ClosedEnum; - -/** @internal */ -export const RateTypeJson$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(RateTypeJson); diff --git a/packages/typescript/src/models/components/rebatetype.ts b/packages/typescript/src/models/components/rebatetype.ts new file mode 100644 index 000000000..3c15cb099 --- /dev/null +++ b/packages/typescript/src/models/components/rebatetype.ts @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will represent a percentage. + */ +export const RebateType = { + ByAmount: "BY_AMOUNT", + ByPercentage: "BY_PERCENTAGE", +} as const; +/** + * Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will represent a percentage. + */ +export type RebateType = ClosedEnum; + +/** @internal */ +export const RebateType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(RebateType); diff --git a/packages/typescript/src/models/components/rebatetypejson.ts b/packages/typescript/src/models/components/rebatetypejson.ts deleted file mode 100644 index 1382625d5..000000000 --- a/packages/typescript/src/models/components/rebatetypejson.ts +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will represent a percentage. - */ -export const RebateTypeJson = { - ByAmount: "BY_AMOUNT", - ByPercentage: "BY_PERCENTAGE", -} as const; -/** - * Rebate type for specifying the rebate value on citywide RFPs. If rebateType is `BY_AMOUNT`, the rebate value will be in decimal format. If rebateType is `BY_PERCENTAGE`, the rebate value will represent a percentage. - */ -export type RebateTypeJson = ClosedEnum; - -/** @internal */ -export const RebateTypeJson$inboundSchema: z.ZodNativeEnum< - typeof RebateTypeJson -> = z.nativeEnum(RebateTypeJson); diff --git a/packages/typescript/src/models/components/recipientinfo.ts b/packages/typescript/src/models/components/recipientinfo.ts new file mode 100644 index 000000000..ad11c3201 --- /dev/null +++ b/packages/typescript/src/models/components/recipientinfo.ts @@ -0,0 +1,48 @@ +/* + * 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 { RecipientType, RecipientType$inboundSchema } from "./recipienttype.js"; + +/** + * Represents the details of the RFP recipient. + */ +export type RecipientInfo = { + /** + * The position at which this recipient will be displayed. + */ + order?: number | undefined; + /** + * Type of Recipient + */ + type?: RecipientType | undefined; + /** + * If the recipient is ACCOUNT_USER or ACCOUNT_USER_GROUP, this field holds their unique ID. If the recipient is EMAIL, this field holds the email provided by the user. + */ + value?: string | undefined; +}; + +/** @internal */ +export const RecipientInfo$inboundSchema: z.ZodType< + RecipientInfo, + z.ZodTypeDef, + unknown +> = z.object({ + order: z.number().int().optional(), + type: RecipientType$inboundSchema.optional(), + value: z.string().optional(), +}); + +export function recipientInfoFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RecipientInfo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RecipientInfo' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/recipientinfojson0.ts b/packages/typescript/src/models/components/recipientinfojson0.ts deleted file mode 100644 index a344ef3df..000000000 --- a/packages/typescript/src/models/components/recipientinfojson0.ts +++ /dev/null @@ -1,51 +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 { - RecipientTypeJson0, - RecipientTypeJson0$inboundSchema, -} from "./recipienttypejson0.js"; - -/** - * Represents the details of the RFP recipient. - */ -export type RecipientInfoJson0 = { - /** - * The position at which this recipient will be displayed. - */ - order?: number | undefined; - /** - * Type of Recipient - */ - type?: RecipientTypeJson0 | undefined; - /** - * If the recipient is ACCOUNT_USER or ACCOUNT_USER_GROUP, this field holds their unique ID. If the recipient is EMAIL, this field holds the email provided by the user. - */ - value?: string | undefined; -}; - -/** @internal */ -export const RecipientInfoJson0$inboundSchema: z.ZodType< - RecipientInfoJson0, - z.ZodTypeDef, - unknown -> = z.object({ - order: z.number().int().optional(), - type: RecipientTypeJson0$inboundSchema.optional(), - value: z.string().optional(), -}); - -export function recipientInfoJson0FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RecipientInfoJson0$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RecipientInfoJson0' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/recipienttype.ts b/packages/typescript/src/models/components/recipienttype.ts new file mode 100644 index 000000000..93bc233d3 --- /dev/null +++ b/packages/typescript/src/models/components/recipienttype.ts @@ -0,0 +1,24 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Type of Recipient + */ +export const RecipientType = { + Email: "EMAIL", + AccountUser: "ACCOUNT_USER", + AccountUserGroup: "ACCOUNT_USER_GROUP", +} as const; +/** + * Type of Recipient + */ +export type RecipientType = ClosedEnum; + +/** @internal */ +export const RecipientType$inboundSchema: z.ZodNativeEnum< + typeof RecipientType +> = z.nativeEnum(RecipientType); diff --git a/packages/typescript/src/models/components/recipienttypejson0.ts b/packages/typescript/src/models/components/recipienttypejson0.ts deleted file mode 100644 index d2916c5a7..000000000 --- a/packages/typescript/src/models/components/recipienttypejson0.ts +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Type of Recipient - */ -export const RecipientTypeJson0 = { - Email: "EMAIL", - AccountUser: "ACCOUNT_USER", - AccountUserGroup: "ACCOUNT_USER_GROUP", -} as const; -/** - * Type of Recipient - */ -export type RecipientTypeJson0 = ClosedEnum; - -/** @internal */ -export const RecipientTypeJson0$inboundSchema: z.ZodNativeEnum< - typeof RecipientTypeJson0 -> = z.nativeEnum(RecipientTypeJson0); diff --git a/packages/typescript/src/models/components/registrationpackrequest.ts b/packages/typescript/src/models/components/registrationpackrequest.ts index 9b13f967c..51ab42bcd 100644 --- a/packages/typescript/src/models/components/registrationpackrequest.ts +++ b/packages/typescript/src/models/components/registrationpackrequest.ts @@ -8,11 +8,7 @@ import { Capacity$Outbound, Capacity$outboundSchema, } from "./capacity.js"; -import { - Event21, - Event21$Outbound, - Event21$outboundSchema, -} from "./event21.js"; +import { Event3, Event3$Outbound, Event3$outboundSchema } from "./event3.js"; import { Exhibitor, Exhibitor$Outbound, @@ -26,7 +22,7 @@ export type RegistrationPackRequest = { /** * The Associated Event. */ - event: Event21; + event: Event3; /** * The Associated Exhibitor. */ @@ -39,7 +35,7 @@ export type RegistrationPackRequest = { /** @internal */ export type RegistrationPackRequest$Outbound = { - event: Event21$Outbound; + event: Event3$Outbound; exhibitor: Exhibitor$Outbound; capacities: Array; }; @@ -50,7 +46,7 @@ export const RegistrationPackRequest$outboundSchema: z.ZodType< z.ZodTypeDef, RegistrationPackRequest > = z.object({ - event: Event21$outboundSchema, + event: Event3$outboundSchema, exhibitor: Exhibitor$outboundSchema, capacities: z.array(Capacity$outboundSchema), }); diff --git a/packages/typescript/src/models/components/registrationpackresponse.ts b/packages/typescript/src/models/components/registrationpackresponse.ts index c7dffe2fd..a0841823e 100644 --- a/packages/typescript/src/models/components/registrationpackresponse.ts +++ b/packages/typescript/src/models/components/registrationpackresponse.ts @@ -6,7 +6,7 @@ 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 { Event21, Event21$inboundSchema } from "./event21.js"; +import { Event3, Event3$inboundSchema } from "./event3.js"; import { Exhibitor, Exhibitor$inboundSchema } from "./exhibitor.js"; import { ExistingCapacity, @@ -24,7 +24,7 @@ export type RegistrationPackResponse = { /** * The Associated Event. */ - event: Event21; + event: Event3; /** * The Associated Exhibitor. */ @@ -42,7 +42,7 @@ export const RegistrationPackResponse$inboundSchema: z.ZodType< unknown > = z.object({ id: z.string(), - event: Event21$inboundSchema, + event: Event3$inboundSchema, exhibitor: Exhibitor$inboundSchema, capacities: z.array(ExistingCapacity$inboundSchema), }); diff --git a/packages/typescript/src/models/components/reservationguestjsonoutput.ts b/packages/typescript/src/models/components/reservationguestjsonoutput.ts index 7aad4d439..84accb88b 100644 --- a/packages/typescript/src/models/components/reservationguestjsonoutput.ts +++ b/packages/typescript/src/models/components/reservationguestjsonoutput.ts @@ -9,11 +9,11 @@ import { Result as SafeParseResult } from "../../types/fp.js"; import { RFCDate } from "../../types/rfcdate.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - AddressJson2, - AddressJson2$inboundSchema, - AddressJson2$Outbound, - AddressJson2$outboundSchema, -} from "./addressjson2.js"; + AddressJson, + AddressJson$inboundSchema, + AddressJson$Outbound, + AddressJson$outboundSchema, +} from "./addressjson.js"; import { ReservationPaymentInfoJsonInput, ReservationPaymentInfoJsonInput$Outbound, @@ -91,7 +91,7 @@ export type ReservationGuestJsonOutput = { /** * Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. */ - homeAddress?: AddressJson2 | undefined; + homeAddress?: AddressJson | undefined; /** * Payment information. */ @@ -165,7 +165,7 @@ export type ReservationGuestJsonInput = { /** * Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. */ - homeAddress?: AddressJson2 | undefined; + homeAddress?: AddressJson | undefined; /** * Payment information. */ @@ -211,7 +211,7 @@ export const ReservationGuestJsonOutput$inboundSchema: z.ZodType< email: z.string(), homePhone: z.string().optional(), workPhone: z.string().optional(), - homeAddress: AddressJson2$inboundSchema.optional(), + homeAddress: AddressJson$inboundSchema.optional(), paymentInfo: ReservationPaymentInfoJsonOutput$inboundSchema.optional(), ageQualifyingCode: AgeQualifyingCode$inboundSchema.default(10), primary: z.boolean().default(false), @@ -242,7 +242,7 @@ export type ReservationGuestJsonInput$Outbound = { email: string; homePhone?: string | undefined; workPhone?: string | undefined; - homeAddress?: AddressJson2$Outbound | undefined; + homeAddress?: AddressJson$Outbound | undefined; paymentInfo?: ReservationPaymentInfoJsonInput$Outbound | undefined; ageQualifyingCode: number; primary: boolean; @@ -267,7 +267,7 @@ export const ReservationGuestJsonInput$outboundSchema: z.ZodType< email: z.string(), homePhone: z.string().optional(), workPhone: z.string().optional(), - homeAddress: AddressJson2$outboundSchema.optional(), + homeAddress: AddressJson$outboundSchema.optional(), paymentInfo: ReservationPaymentInfoJsonInput$outboundSchema.optional(), ageQualifyingCode: AgeQualifyingCode$outboundSchema.default(10), primary: z.boolean().default(false), diff --git a/packages/typescript/src/models/components/reservationpaymentinfojsoninput.ts b/packages/typescript/src/models/components/reservationpaymentinfojsoninput.ts index 903a715a7..f6746c110 100644 --- a/packages/typescript/src/models/components/reservationpaymentinfojsoninput.ts +++ b/packages/typescript/src/models/components/reservationpaymentinfojsoninput.ts @@ -4,10 +4,10 @@ import * as z from "zod/v3"; import { - AddressJson2, - AddressJson2$Outbound, - AddressJson2$outboundSchema, -} from "./addressjson2.js"; + AddressJson, + AddressJson$Outbound, + AddressJson$outboundSchema, +} from "./addressjson.js"; import { OtherPaymentJson, OtherPaymentJson$Outbound, @@ -38,7 +38,7 @@ export type ReservationPaymentInfoJsonInput = { /** * Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. */ - address?: AddressJson2 | undefined; + address?: AddressJson | undefined; /** * Phone number. */ @@ -57,7 +57,7 @@ export type ReservationPaymentInfoJsonInput = { export type ReservationPaymentInfoJsonInput$Outbound = { paymentType?: string | undefined; fullName?: string | undefined; - address?: AddressJson2$Outbound | undefined; + address?: AddressJson$Outbound | undefined; phone?: string | undefined; other?: OtherPaymentJson$Outbound | undefined; creditCard?: TokenizedCreditCardJsonInput$Outbound | undefined; @@ -71,7 +71,7 @@ export const ReservationPaymentInfoJsonInput$outboundSchema: z.ZodType< > = z.object({ paymentType: PaymentTypesJson$outboundSchema.optional(), fullName: z.string().optional(), - address: AddressJson2$outboundSchema.optional(), + address: AddressJson$outboundSchema.optional(), phone: z.string().optional(), other: OtherPaymentJson$outboundSchema.optional(), creditCard: TokenizedCreditCardJsonInput$outboundSchema.optional(), diff --git a/packages/typescript/src/models/components/reservationpaymentinfojsonoutput.ts b/packages/typescript/src/models/components/reservationpaymentinfojsonoutput.ts index 43c87a2e7..b0b8c1ef9 100644 --- a/packages/typescript/src/models/components/reservationpaymentinfojsonoutput.ts +++ b/packages/typescript/src/models/components/reservationpaymentinfojsonoutput.ts @@ -6,7 +6,7 @@ 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 { AddressJson2, AddressJson2$inboundSchema } from "./addressjson2.js"; +import { AddressJson, AddressJson$inboundSchema } from "./addressjson.js"; import { OtherPaymentJson, OtherPaymentJson$inboundSchema, @@ -35,7 +35,7 @@ export type ReservationPaymentInfoJsonOutput = { /** * Address details. Required to create/update a guest's reservation if the hotel/event requires an address in reservations. */ - address?: AddressJson2 | undefined; + address?: AddressJson | undefined; /** * Phone number. */ @@ -58,7 +58,7 @@ export const ReservationPaymentInfoJsonOutput$inboundSchema: z.ZodType< > = z.object({ paymentType: PaymentTypesJson$inboundSchema.optional(), fullName: z.string().optional(), - address: AddressJson2$inboundSchema.optional(), + address: AddressJson$inboundSchema.optional(), phone: z.string().optional(), other: OtherPaymentJson$inboundSchema.optional(), creditCard: TokenizedCreditCardJsonOutput$inboundSchema.optional(), diff --git a/packages/typescript/src/models/components/respondentjson.ts b/packages/typescript/src/models/components/respondentjson.ts index 51fc06f87..e873e12bd 100644 --- a/packages/typescript/src/models/components/respondentjson.ts +++ b/packages/typescript/src/models/components/respondentjson.ts @@ -7,7 +7,7 @@ import { remap as remap$ } from "../../lib/primitives.js"; import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { EventJson4, EventJson4$inboundSchema } from "./eventjson4.js"; +import { EventJson3, EventJson3$inboundSchema } from "./eventjson3.js"; import { InvitationListCommonJson, InvitationListCommonJson$inboundSchema, @@ -116,7 +116,7 @@ export type RespondentJson = { /** * Detail object of an event which is associated to a survey. */ - event?: EventJson4 | undefined; + event?: EventJson3 | undefined; /** * The reference to the related entity. Contains only the ID of the related entity. */ @@ -198,7 +198,7 @@ export const RespondentJson$inboundSchema: z.ZodType< percentageScore: z.number().optional(), _links: z.lazy(() => RespondentJsonLinks$inboundSchema).optional(), sourceId: z.string().optional(), - event: EventJson4$inboundSchema.optional(), + event: EventJson3$inboundSchema.optional(), contact: UuidJson$inboundSchema.optional(), attendee: UuidJson$inboundSchema.optional(), survey: UuidJson$inboundSchema.optional(), diff --git a/packages/typescript/src/models/components/rfp.ts b/packages/typescript/src/models/components/rfp.ts index d291f11b9..bb1ad7ef9 100644 --- a/packages/typescript/src/models/components/rfp.ts +++ b/packages/typescript/src/models/components/rfp.ts @@ -8,52 +8,43 @@ import { Result as SafeParseResult } from "../../types/fp.js"; import { RFCDate } from "../../types/rfcdate.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - BillingDetailsJson0, - BillingDetailsJson0$inboundSchema, -} from "./billingdetailsjson0.js"; + BillingDetails1, + BillingDetails1$inboundSchema, +} from "./billingdetails1.js"; import { - CancellationDetailsJson, - CancellationDetailsJson$inboundSchema, -} from "./cancellationdetailsjson.js"; -import { ContactJson0, ContactJson0$inboundSchema } from "./contactjson0.js"; + CancellationDetails, + CancellationDetails$inboundSchema, +} from "./cancellationdetails.js"; +import { Contact1, Contact1$inboundSchema } from "./contact1.js"; import { - DateRequirementsJson0, - DateRequirementsJson0$inboundSchema, -} from "./daterequirementsjson0.js"; + DateRequirements1, + DateRequirements1$inboundSchema, +} from "./daterequirements1.js"; import { - LeadSourceJson, - LeadSourceJson$inboundSchema, -} from "./leadsourcejson.js"; + EventOrganization1, + EventOrganization1$inboundSchema, +} from "./eventorganization1.js"; +import { LeadSource, LeadSource$inboundSchema } from "./leadsource.js"; import { - MeasurementUnitJson0, - MeasurementUnitJson0$inboundSchema, -} from "./measurementunitjson0.js"; + MeasurementUnit, + MeasurementUnit$inboundSchema, +} from "./measurementunit.js"; import { - OfferingCostTypeJson0, - OfferingCostTypeJson0$inboundSchema, -} from "./offeringcosttypejson0.js"; + OfferingCostType1, + OfferingCostType1$inboundSchema, +} from "./offeringcosttype1.js"; import { - PackagePricingPreferenceJson, - PackagePricingPreferenceJson$inboundSchema, -} from "./packagepricingpreferencejson.js"; + PackagePricingPreference, + PackagePricingPreference$inboundSchema, +} from "./packagepricingpreference.js"; +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 { - RecipientInfoJson0, - RecipientInfoJson0$inboundSchema, -} from "./recipientinfojson0.js"; -import { RfpEventJson, RfpEventJson$inboundSchema } from "./rfpeventjson.js"; -import { - RfpEventOrganizationJson, - RfpEventOrganizationJson$inboundSchema, -} from "./rfpeventorganizationjson.js"; -import { - RfpStatusJson0, - RfpStatusJson0$inboundSchema, -} from "./rfpstatusjson0.js"; -import { RfpTypeJson0, RfpTypeJson0$inboundSchema } from "./rfptypejson0.js"; -import { - WeddingDetailsJson0, - WeddingDetailsJson0$inboundSchema, -} from "./weddingdetailsjson0.js"; + WeddingDetails1, + WeddingDetails1$inboundSchema, +} from "./weddingdetails1.js"; /** * Basic RFP details @@ -90,11 +81,11 @@ export type Rfp = { /** * Date requirements for the event. */ - dateRequirements?: DateRequirementsJson0 | undefined; + dateRequirements?: DateRequirements1 | undefined; /** * RFP event details. */ - rfpEvent?: RfpEventJson | undefined; + rfpEvent?: RfpEvent | undefined; /** * The ISO 8601 date representing the start date of agenda. */ @@ -102,11 +93,11 @@ export type Rfp = { /** * Contact details of planner. */ - contact?: ContactJson0 | undefined; + contact?: Contact1 | undefined; /** * Details of organization which is hosting the event. */ - rfpEventOrganization?: RfpEventOrganizationJson | undefined; + rfpEventOrganization?: EventOrganization1 | undefined; /** * Decision factors based on which RFP will be awarded. These can be price, location, or quality of service. */ @@ -126,7 +117,7 @@ export type Rfp = { /** * Billing details for RFP. */ - billingDetails?: BillingDetailsJson0 | undefined; + billingDetails?: BillingDetails1 | undefined; /** * Internal note for planners. This note is not shared with suppliers. */ @@ -136,17 +127,23 @@ export type Rfp = { */ currencyCode?: string | undefined; /** - * Measurement unit. + * Unit of measurement for area or space. + * + * @remarks + * + * Values: + * - `SQUARE_FEET` — Square Feet + * - `SQUARE_METERS` — Square Meters */ - measurementUnit?: MeasurementUnitJson0 | undefined; + measurementUnit?: MeasurementUnit | undefined; /** * This contains cost items which are marked as required for suppliers in the RFP. */ - requiredCostItems?: Array | undefined; + requiredCostItems?: Array | undefined; /** * This contains cost items which are marked as not needed for suppliers in the RFP. */ - hiddenCostItems?: Array | undefined; + hiddenCostItems?: Array | undefined; /** * True indicates suppliers added on the RFP should be allowed to forward the RFP. */ @@ -162,7 +159,7 @@ export type Rfp = { /** * This contains recipients who would get notified every time a new response is received back from the suppliers */ - notificationRecipients?: Array | undefined; + notificationRecipients?: Array | undefined; /** * True indicates award details can be shared with other suppliers added in RFP. */ @@ -170,7 +167,7 @@ export type Rfp = { /** * Lead source details. */ - leadSource?: LeadSourceJson | undefined; + leadSource?: LeadSource | undefined; /** * Unique identifier for RFPs originating from outside Cvent network provided by source system where RFP was created. */ @@ -190,7 +187,7 @@ export type Rfp = { /** * Wedding details. */ - weddingDetails?: WeddingDetailsJson0 | undefined; + weddingDetails?: WeddingDetails1 | undefined; /** * True indicates catering is required. */ @@ -198,7 +195,7 @@ export type Rfp = { /** * 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. */ - packagePricingPreference: PackagePricingPreferenceJson; + packagePricingPreference: PackagePricingPreference; /** * True indicates RFP was created with fee transparency enabled. */ @@ -214,11 +211,11 @@ export type Rfp = { /** * Represents state of the RFP. */ - status?: RfpStatusJson0 | undefined; + status?: RfpStatus1 | undefined; /** * RFP types based on event requirements. */ - type?: RfpTypeJson0 | undefined; + type?: RfpType1 | undefined; /** * Details of the user who approved the RFP. */ @@ -234,7 +231,7 @@ export type Rfp = { /** * Information about cancellation of RFP. */ - cancellationDetails?: CancellationDetailsJson | undefined; + cancellationDetails?: CancellationDetails | undefined; /** * The ISO 8601 date time (in UTC) when RFP was last sent. */ @@ -282,47 +279,47 @@ export const Rfp$inboundSchema: z.ZodType = z needsMeetingSpace: z.boolean(), needsGuestRooms: z.boolean(), description: z.string().optional(), - dateRequirements: DateRequirementsJson0$inboundSchema.optional(), - rfpEvent: RfpEventJson$inboundSchema.optional(), + dateRequirements: DateRequirements1$inboundSchema.optional(), + rfpEvent: RfpEvent$inboundSchema.optional(), agendaStartDate: z.string().transform(v => new RFCDate(v)).optional(), - contact: ContactJson0$inboundSchema.optional(), - rfpEventOrganization: RfpEventOrganizationJson$inboundSchema.optional(), + contact: Contact1$inboundSchema.optional(), + rfpEventOrganization: EventOrganization1$inboundSchema.optional(), decisionFactors: z.string().optional(), citywideEvent: z.boolean().optional(), responseDueDate: z.string().transform(v => new RFCDate(v)).optional(), decisionDate: z.string().transform(v => new RFCDate(v)).optional(), - billingDetails: BillingDetailsJson0$inboundSchema.optional(), + billingDetails: BillingDetails1$inboundSchema.optional(), internalNote: z.string().optional(), currencyCode: z.string().optional(), - measurementUnit: MeasurementUnitJson0$inboundSchema.optional(), - requiredCostItems: z.array(OfferingCostTypeJson0$inboundSchema).optional(), - hiddenCostItems: z.array(OfferingCostTypeJson0$inboundSchema).optional(), + measurementUnit: MeasurementUnit$inboundSchema.optional(), + requiredCostItems: z.array(OfferingCostType1$inboundSchema).optional(), + hiddenCostItems: z.array(OfferingCostType1$inboundSchema).optional(), forwardable: z.boolean().optional(), cvbForwardLimit: z.number().int().optional(), allowEmailNotifications: z.boolean().optional(), - notificationRecipients: z.array(RecipientInfoJson0$inboundSchema) - .optional(), + notificationRecipients: z.array(RecipientInfo$inboundSchema).optional(), shareAwardDetails: z.boolean().optional(), - leadSource: LeadSourceJson$inboundSchema.optional(), + leadSource: LeadSource$inboundSchema.optional(), sourceId: z.string().optional(), showcaseEnabled: z.boolean().optional(), autoAddToShowcaseEnabled: z.boolean().optional(), destinationExpertsRequiredOnProposal: z.boolean().optional(), - weddingDetails: WeddingDetailsJson0$inboundSchema.optional(), + weddingDetails: WeddingDetails1$inboundSchema.optional(), needsCatering: z.boolean().default(false), - packagePricingPreference: PackagePricingPreferenceJson$inboundSchema - .default("NO_PREFERENCE"), + packagePricingPreference: PackagePricingPreference$inboundSchema.default( + "NO_PREFERENCE", + ), feeTransparencyEnabled: z.boolean().default(false), id: z.string(), code: z.string().optional(), - status: RfpStatusJson0$inboundSchema.optional(), - type: RfpTypeJson0$inboundSchema.optional(), + status: RfpStatus1$inboundSchema.optional(), + type: RfpType1$inboundSchema.optional(), approvedBy: z.string().optional(), approvedDateTime: z.string().datetime({ offset: true }).transform(v => new Date(v) ).optional(), approved: z.boolean().optional(), - cancellationDetails: CancellationDetailsJson$inboundSchema.optional(), + cancellationDetails: CancellationDetails$inboundSchema.optional(), lastSentDateTime: z.string().datetime({ offset: true }).transform(v => new Date(v) ).optional(), diff --git a/packages/typescript/src/models/components/rfpagendaitem.ts b/packages/typescript/src/models/components/rfpagendaitem.ts new file mode 100644 index 000000000..d9360f4cd --- /dev/null +++ b/packages/typescript/src/models/components/rfpagendaitem.ts @@ -0,0 +1,178 @@ +/* + * 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 { + AgendaItemSetup, + AgendaItemSetup$inboundSchema, +} from "./agendaitemsetup.js"; +import { + AgendaItemType, + AgendaItemType$inboundSchema, +} from "./agendaitemtype.js"; +import { + RfpAgendaItemSchedule, + RfpAgendaItemSchedule$inboundSchema, +} from "./rfpagendaitemschedule.js"; +import { RfpMeal, RfpMeal$inboundSchema } from "./rfpmeal.js"; + +/** + * Attachment whose data was used to create the agenda item. + */ +export type AgendaBuilderAttachment = { + /** + * Unique identifier for the attachment. + */ + id: string; +}; + +/** + * Agenda item associated with an RFP. + */ +export type RfpAgendaItem = { + /** + * 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; + /** + * The name of the agenda item. + */ + name?: string | undefined; + /** + * Type of the agenda. + */ + type?: AgendaItemType | undefined; + /** + * Setup type for the agenda. + */ + setup?: AgendaItemSetup | undefined; + /** + * The note sent along with agenda item. + */ + note?: string | undefined; + /** + * The start time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at event location. For RFPs spanning multiple time zones, this time applies uniformly in each location's respective timezone (e.g., 13:00:00 means 1 PM local time at every venue). + */ + startTime?: string | undefined; + /** + * The end time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at event location. For RFPs spanning multiple time zones, this time applies uniformly in each location's respective timezone (e.g., 14:00:00 means 2 PM local time at every venue). + */ + endTime?: string | undefined; + /** + * The required room size. It is specified in the default measurement unit of the RFP. Use GET RFP API to get the default measurement unit. + */ + roomSize?: number | undefined; + /** + * Expected number of people attending the agenda. + */ + attendeeCount?: number | undefined; + /** + * True indicates room information like type, description is required. + */ + roomInfoRequired?: boolean | undefined; + /** + * True indicates that twenty four hour hold is required. + */ + twentyFourHourHold?: boolean | undefined; + /** + * True indicates that agenda location is at primary event venue. + */ + locatedAtPrimaryEventVenue?: boolean | undefined; + /** + * Meal type offered during the agenda. + */ + rfpMeal?: RfpMeal | undefined; + /** + * The sequence number of the agenda item. + */ + number: number; + /** + * List of dates when this agenda item is scheduled. + */ + schedules: Array; + /** + * Unique ID of the agenda item. + */ + id: string; + /** + * Attachment whose data was used to create the agenda item. + */ + agendaBuilderAttachment?: AgendaBuilderAttachment | undefined; +}; + +/** @internal */ +export const AgendaBuilderAttachment$inboundSchema: z.ZodType< + AgendaBuilderAttachment, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), +}); + +export function agendaBuilderAttachmentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AgendaBuilderAttachment$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AgendaBuilderAttachment' from JSON`, + ); +} + +/** @internal */ +export const RfpAgendaItem$inboundSchema: z.ZodType< + RfpAgendaItem, + 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(), + name: z.string().optional(), + type: AgendaItemType$inboundSchema.optional(), + setup: AgendaItemSetup$inboundSchema.optional(), + note: z.string().optional(), + startTime: z.string().optional(), + endTime: z.string().optional(), + roomSize: z.number().int().optional(), + attendeeCount: z.number().int().optional(), + roomInfoRequired: z.boolean().optional(), + twentyFourHourHold: z.boolean().optional(), + locatedAtPrimaryEventVenue: z.boolean().optional(), + rfpMeal: RfpMeal$inboundSchema.optional(), + number: z.number().int(), + schedules: z.array(RfpAgendaItemSchedule$inboundSchema), + id: z.string(), + agendaBuilderAttachment: z.lazy(() => AgendaBuilderAttachment$inboundSchema) + .optional(), +}); + +export function rfpAgendaItemFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RfpAgendaItem$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RfpAgendaItem' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/rfpagendaitemjson.ts b/packages/typescript/src/models/components/rfpagendaitemjson.ts deleted file mode 100644 index 6ab8a9141..000000000 --- a/packages/typescript/src/models/components/rfpagendaitemjson.ts +++ /dev/null @@ -1,178 +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 { - AgendaItemSetupJson, - AgendaItemSetupJson$inboundSchema, -} from "./agendaitemsetupjson.js"; -import { - AgendaItemTypeJson, - AgendaItemTypeJson$inboundSchema, -} from "./agendaitemtypejson.js"; -import { - RfpAgendaItemScheduleJson, - RfpAgendaItemScheduleJson$inboundSchema, -} from "./rfpagendaitemschedulejson.js"; -import { RfpMealJson, RfpMealJson$inboundSchema } from "./rfpmealjson.js"; - -/** - * Attachment whose data was used to create the agenda item. - */ -export type AgendaBuilderAttachment = { - /** - * Unique identifier for the attachment. - */ - id: string; -}; - -/** - * Agenda item associated with an RFP. - */ -export type RfpAgendaItemJson = { - /** - * 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; - /** - * The name of the agenda item. - */ - name?: string | undefined; - /** - * Type of the agenda. - */ - type?: AgendaItemTypeJson | undefined; - /** - * Setup type for the agenda. - */ - setup?: AgendaItemSetupJson | undefined; - /** - * The note sent along with agenda item. - */ - note?: string | undefined; - /** - * The start time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at event location. For RFPs spanning multiple time zones, this time applies uniformly in each location's respective timezone (e.g., 13:00:00 means 1 PM local time at every venue). - */ - startTime?: string | undefined; - /** - * The end time of the agenda item in 24-hour format (HH:mm:ss). This represents the local time at event location. For RFPs spanning multiple time zones, this time applies uniformly in each location's respective timezone (e.g., 14:00:00 means 2 PM local time at every venue). - */ - endTime?: string | undefined; - /** - * The required room size. It is specified in the default measurement unit of the RFP. Use GET RFP API to get the default measurement unit. - */ - roomSize?: number | undefined; - /** - * Expected number of people attending the agenda. - */ - attendeeCount?: number | undefined; - /** - * True indicates room information like type, description is required. - */ - roomInfoRequired?: boolean | undefined; - /** - * True indicates that twenty four hour hold is required. - */ - twentyFourHourHold?: boolean | undefined; - /** - * True indicates that agenda location is at primary event venue. - */ - locatedAtPrimaryEventVenue?: boolean | undefined; - /** - * Meal type offered during the agenda. - */ - rfpMeal?: RfpMealJson | undefined; - /** - * The sequence number of the agenda item. - */ - number: number; - /** - * List of dates when this agenda item is scheduled. - */ - schedules: Array; - /** - * Unique ID of the agenda item. - */ - id: string; - /** - * Attachment whose data was used to create the agenda item. - */ - agendaBuilderAttachment?: AgendaBuilderAttachment | undefined; -}; - -/** @internal */ -export const AgendaBuilderAttachment$inboundSchema: z.ZodType< - AgendaBuilderAttachment, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), -}); - -export function agendaBuilderAttachmentFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => AgendaBuilderAttachment$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AgendaBuilderAttachment' from JSON`, - ); -} - -/** @internal */ -export const RfpAgendaItemJson$inboundSchema: z.ZodType< - RfpAgendaItemJson, - 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(), - name: z.string().optional(), - type: AgendaItemTypeJson$inboundSchema.optional(), - setup: AgendaItemSetupJson$inboundSchema.optional(), - note: z.string().optional(), - startTime: z.string().optional(), - endTime: z.string().optional(), - roomSize: z.number().int().optional(), - attendeeCount: z.number().int().optional(), - roomInfoRequired: z.boolean().optional(), - twentyFourHourHold: z.boolean().optional(), - locatedAtPrimaryEventVenue: z.boolean().optional(), - rfpMeal: RfpMealJson$inboundSchema.optional(), - number: z.number().int(), - schedules: z.array(RfpAgendaItemScheduleJson$inboundSchema), - id: z.string(), - agendaBuilderAttachment: z.lazy(() => AgendaBuilderAttachment$inboundSchema) - .optional(), -}); - -export function rfpAgendaItemJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RfpAgendaItemJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RfpAgendaItemJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/rfpagendaitemschedule.ts b/packages/typescript/src/models/components/rfpagendaitemschedule.ts new file mode 100644 index 000000000..2c40a881f --- /dev/null +++ b/packages/typescript/src/models/components/rfpagendaitemschedule.ts @@ -0,0 +1,43 @@ +/* + * 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 { RFCDate } from "../../types/rfcdate.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * Schedule information for an RFP agenda item. + */ +export type RfpAgendaItemSchedule = { + /** + * Day number relative to start of event on which the agenda item occurs. + */ + dayNumber: number; + /** + * The ISO 8601 date of the agenda item. + */ + date?: RFCDate | undefined; +}; + +/** @internal */ +export const RfpAgendaItemSchedule$inboundSchema: z.ZodType< + RfpAgendaItemSchedule, + z.ZodTypeDef, + unknown +> = z.object({ + dayNumber: z.number().int(), + date: z.string().transform(v => new RFCDate(v)).optional(), +}); + +export function rfpAgendaItemScheduleFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RfpAgendaItemSchedule$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RfpAgendaItemSchedule' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/rfpagendaitemschedulejson.ts b/packages/typescript/src/models/components/rfpagendaitemschedulejson.ts deleted file mode 100644 index 5f0dae146..000000000 --- a/packages/typescript/src/models/components/rfpagendaitemschedulejson.ts +++ /dev/null @@ -1,43 +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 { RFCDate } from "../../types/rfcdate.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * Schedule information for an RFP agenda item. - */ -export type RfpAgendaItemScheduleJson = { - /** - * Day number relative to start of event on which the agenda item occurs. - */ - dayNumber: number; - /** - * The ISO 8601 date of the agenda item. - */ - date?: RFCDate | undefined; -}; - -/** @internal */ -export const RfpAgendaItemScheduleJson$inboundSchema: z.ZodType< - RfpAgendaItemScheduleJson, - z.ZodTypeDef, - unknown -> = z.object({ - dayNumber: z.number().int(), - date: z.string().transform(v => new RFCDate(v)).optional(), -}); - -export function rfpAgendaItemScheduleJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RfpAgendaItemScheduleJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RfpAgendaItemScheduleJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/rfpagendaitemschedulewithid.ts b/packages/typescript/src/models/components/rfpagendaitemschedulewithid.ts new file mode 100644 index 000000000..b593f25a2 --- /dev/null +++ b/packages/typescript/src/models/components/rfpagendaitemschedulewithid.ts @@ -0,0 +1,48 @@ +/* + * 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 { RFCDate } from "../../types/rfcdate.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * Contains RFP specific agenda items schedule information with agenda item id. + */ +export type RfpAgendaItemScheduleWithId = { + /** + * Day number relative to start of event on which the agenda item occurs. + */ + dayNumber: number; + /** + * The ISO 8601 date of the agenda item. + */ + date?: RFCDate | undefined; + /** + * Unique ID of the agenda item. + */ + id?: string | undefined; +}; + +/** @internal */ +export const RfpAgendaItemScheduleWithId$inboundSchema: z.ZodType< + RfpAgendaItemScheduleWithId, + z.ZodTypeDef, + unknown +> = z.object({ + dayNumber: z.number().int(), + date: z.string().transform(v => new RFCDate(v)).optional(), + id: z.string().optional(), +}); + +export function rfpAgendaItemScheduleWithIdFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RfpAgendaItemScheduleWithId$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RfpAgendaItemScheduleWithId' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/rfpagendaitemschedulewithidjson.ts b/packages/typescript/src/models/components/rfpagendaitemschedulewithidjson.ts deleted file mode 100644 index 8713f431e..000000000 --- a/packages/typescript/src/models/components/rfpagendaitemschedulewithidjson.ts +++ /dev/null @@ -1,48 +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 { RFCDate } from "../../types/rfcdate.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * Contains RFP specific agenda items schedule information with agenda item id. - */ -export type RfpAgendaItemScheduleWithIdJson = { - /** - * Day number relative to start of event on which the agenda item occurs. - */ - dayNumber: number; - /** - * The ISO 8601 date of the agenda item. - */ - date?: RFCDate | undefined; - /** - * Unique ID of the agenda item. - */ - id?: string | undefined; -}; - -/** @internal */ -export const RfpAgendaItemScheduleWithIdJson$inboundSchema: z.ZodType< - RfpAgendaItemScheduleWithIdJson, - z.ZodTypeDef, - unknown -> = z.object({ - dayNumber: z.number().int(), - date: z.string().transform(v => new RFCDate(v)).optional(), - id: z.string().optional(), -}); - -export function rfpAgendaItemScheduleWithIdJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RfpAgendaItemScheduleWithIdJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RfpAgendaItemScheduleWithIdJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/rfpattachment.ts b/packages/typescript/src/models/components/rfpattachment.ts new file mode 100644 index 000000000..2cfafc6de --- /dev/null +++ b/packages/typescript/src/models/components/rfpattachment.ts @@ -0,0 +1,147 @@ +/* + * 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 { + AttachmentSource, + AttachmentSource$inboundSchema, +} from "./attachmentsource.js"; +import { DocumentType1, DocumentType1$inboundSchema } from "./documenttype1.js"; + +/** + * Supplier associated with the attachment. + */ +export type RfpAttachmentSupplier = { + /** + * ID of the supplier. + */ + id?: string | undefined; +}; + +/** + * This object contains Rfp specific attachments attributes. + */ +export type RfpAttachment = { + /** + * Unique identifier for this attachment record. + */ + id: string; + /** + * ISO 8601 date-time the attachment was uploaded. + */ + created?: Date | undefined; + /** + * The size of attachment in bytes. + */ + size?: number | undefined; + /** + * The document type. + */ + type?: DocumentType1 | undefined; + /** + * True indicates the attachment is uploaded behind a secured URL. + */ + secure?: boolean | undefined; + /** + * Display name of the attachment. + */ + name?: string | undefined; + /** + * Name of the attachment. Must be unique in the account. + */ + uniqueName?: string | undefined; + /** + * The content type of the attachment + */ + mimeType?: string | undefined; + /** + * The source from where the attachment was uploaded. + */ + source?: AttachmentSource | undefined; + /** + * The file path pointing to where the attachment is stored in Cvent. This path is relative to the base URL of the storage system and omits the root address. + */ + relativePath?: string | undefined; + /** + * True indicates the attachment should be sent in emails that notify suppliers about RFPs. + */ + sendInEmail?: boolean | undefined; + /** + * True indicates this attachment can be deleted. + */ + deletionAllowed?: boolean | undefined; + /** + * URL of the attachment if `secure` is false. This field is null if `secure` is true. + */ + url?: string | undefined; + /** + * Supplier associated with the attachment. + */ + supplier?: RfpAttachmentSupplier | undefined; + /** + * True indicates the attachment is only shown in the UI to the supplier whose ID is present in supplier.id field. + */ + supplierSpecific?: boolean | undefined; + /** + * True indicates the attachment is selected for the supplier whose ID is present in supplier.id field. + */ + selectedForSupplier?: boolean | undefined; +}; + +/** @internal */ +export const RfpAttachmentSupplier$inboundSchema: z.ZodType< + RfpAttachmentSupplier, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function rfpAttachmentSupplierFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RfpAttachmentSupplier$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RfpAttachmentSupplier' from JSON`, + ); +} + +/** @internal */ +export const RfpAttachment$inboundSchema: z.ZodType< + RfpAttachment, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + created: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + size: z.number().int().optional(), + type: DocumentType1$inboundSchema.optional(), + secure: z.boolean().optional(), + name: z.string().optional(), + uniqueName: z.string().optional(), + mimeType: z.string().optional(), + source: AttachmentSource$inboundSchema.optional(), + relativePath: z.string().optional(), + sendInEmail: z.boolean().optional(), + deletionAllowed: z.boolean().optional(), + url: z.string().optional(), + supplier: z.lazy(() => RfpAttachmentSupplier$inboundSchema).optional(), + supplierSpecific: z.boolean().optional(), + selectedForSupplier: z.boolean().optional(), +}); + +export function rfpAttachmentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RfpAttachment$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RfpAttachment' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/rfpattachmentjson.ts b/packages/typescript/src/models/components/rfpattachmentjson.ts deleted file mode 100644 index 378e6a424..000000000 --- a/packages/typescript/src/models/components/rfpattachmentjson.ts +++ /dev/null @@ -1,150 +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 { - AttachmentSourceJson, - AttachmentSourceJson$inboundSchema, -} from "./attachmentsourcejson.js"; -import { - DocumentTypeJson0, - DocumentTypeJson0$inboundSchema, -} from "./documenttypejson0.js"; - -/** - * Supplier associated with the attachment. - */ -export type RfpAttachmentJsonSupplier = { - /** - * ID of the supplier. - */ - id?: string | undefined; -}; - -/** - * This object contains Rfp specific attachments attributes. - */ -export type RfpAttachmentJson = { - /** - * Unique identifier for this attachment record. - */ - id: string; - /** - * ISO 8601 date-time the attachment was uploaded. - */ - created?: Date | undefined; - /** - * The size of attachment in bytes. - */ - size?: number | undefined; - /** - * The document type. - */ - type?: DocumentTypeJson0 | undefined; - /** - * True indicates the attachment is uploaded behind a secured URL. - */ - secure?: boolean | undefined; - /** - * Display name of the attachment. - */ - name?: string | undefined; - /** - * Name of the attachment. Must be unique in the account. - */ - uniqueName?: string | undefined; - /** - * The content type of the attachment - */ - mimeType?: string | undefined; - /** - * The source from where the attachment was uploaded. - */ - source?: AttachmentSourceJson | undefined; - /** - * The file path pointing to where the attachment is stored in Cvent. This path is relative to the base URL of the storage system and omits the root address. - */ - relativePath?: string | undefined; - /** - * True indicates the attachment should be sent in emails that notify suppliers about RFPs. - */ - sendInEmail?: boolean | undefined; - /** - * True indicates this attachment can be deleted. - */ - deletionAllowed?: boolean | undefined; - /** - * URL of the attachment if `secure` is false. This field is null if `secure` is true. - */ - url?: string | undefined; - /** - * Supplier associated with the attachment. - */ - supplier?: RfpAttachmentJsonSupplier | undefined; - /** - * True indicates the attachment is only shown in the UI to the supplier whose ID is present in supplier.id field. - */ - supplierSpecific?: boolean | undefined; - /** - * True indicates the attachment is selected for the supplier whose ID is present in supplier.id field. - */ - selectedForSupplier?: boolean | undefined; -}; - -/** @internal */ -export const RfpAttachmentJsonSupplier$inboundSchema: z.ZodType< - RfpAttachmentJsonSupplier, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function rfpAttachmentJsonSupplierFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RfpAttachmentJsonSupplier$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RfpAttachmentJsonSupplier' from JSON`, - ); -} - -/** @internal */ -export const RfpAttachmentJson$inboundSchema: z.ZodType< - RfpAttachmentJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - created: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - size: z.number().int().optional(), - type: DocumentTypeJson0$inboundSchema.optional(), - secure: z.boolean().optional(), - name: z.string().optional(), - uniqueName: z.string().optional(), - mimeType: z.string().optional(), - source: AttachmentSourceJson$inboundSchema.optional(), - relativePath: z.string().optional(), - sendInEmail: z.boolean().optional(), - deletionAllowed: z.boolean().optional(), - url: z.string().optional(), - supplier: z.lazy(() => RfpAttachmentJsonSupplier$inboundSchema).optional(), - supplierSpecific: z.boolean().optional(), - selectedForSupplier: z.boolean().optional(), -}); - -export function rfpAttachmentJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RfpAttachmentJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RfpAttachmentJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/rfpcustomfieldjson.ts b/packages/typescript/src/models/components/rfpcustomfieldjson.ts deleted file mode 100644 index e9ee48fc5..000000000 --- a/packages/typescript/src/models/components/rfpcustomfieldjson.ts +++ /dev/null @@ -1,83 +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"; - -/** - * An object containing custom field data. By default, contains only the field ID. - * - * @remarks - * - * This is an **expandable** object. When requested via the `expand` query parameter with value `customField`, this object expands to include all properties of a custom field definition. - * - * See the `expand` parameter documentation and refer to the [Get Custom Field](#tag/Custom-Fields/operation/getCustomField) API for the complete expanded schema. - */ -export type ExpandableCustomObject = { - /** - * Unique identifier for custom field. - */ - id?: string | undefined; -}; - -/** - * This object contains RFP custom fields attributes only. - */ -export type RfpCustomFieldJson = { - /** - * An object containing custom field data. By default, contains only the field ID. - * - * @remarks - * - * This is an **expandable** object. When requested via the `expand` query parameter with value `customField`, this object expands to include all properties of a custom field definition. - * - * See the `expand` parameter documentation and refer to the [Get Custom Field](#tag/Custom-Fields/operation/getCustomField) API for the complete expanded schema. - */ - customField: ExpandableCustomObject; - /** - * List of answers for the RFP custom field. - */ - answers: Array; -}; - -/** @internal */ -export const ExpandableCustomObject$inboundSchema: z.ZodType< - ExpandableCustomObject, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function expandableCustomObjectFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ExpandableCustomObject$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ExpandableCustomObject' from JSON`, - ); -} - -/** @internal */ -export const RfpCustomFieldJson$inboundSchema: z.ZodType< - RfpCustomFieldJson, - z.ZodTypeDef, - unknown -> = z.object({ - customField: z.lazy(() => ExpandableCustomObject$inboundSchema), - answers: z.array(z.string()), -}); - -export function rfpCustomFieldJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RfpCustomFieldJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RfpCustomFieldJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/rfpdatemode.ts b/packages/typescript/src/models/components/rfpdatemode.ts new file mode 100644 index 000000000..fd2e87d14 --- /dev/null +++ b/packages/typescript/src/models/components/rfpdatemode.ts @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * RfpDateMode + */ +export const RfpDateMode = { + AlternateDate: "ALTERNATE_DATE", + DatePattern: "DATE_PATTERN", +} as const; +/** + * RfpDateMode + */ +export type RfpDateMode = ClosedEnum; + +/** @internal */ +export const RfpDateMode$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(RfpDateMode); diff --git a/packages/typescript/src/models/components/rfpdatemodejson0.ts b/packages/typescript/src/models/components/rfpdatemodejson0.ts deleted file mode 100644 index 0dc6e4e5b..000000000 --- a/packages/typescript/src/models/components/rfpdatemodejson0.ts +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Way of specifying dates for the event. - */ -export const RfpDateModeJson0 = { - AlternateDate: "ALTERNATE_DATE", - DatePattern: "DATE_PATTERN", -} as const; -/** - * Way of specifying dates for the event. - */ -export type RfpDateModeJson0 = ClosedEnum; - -/** @internal */ -export const RfpDateModeJson0$inboundSchema: z.ZodNativeEnum< - typeof RfpDateModeJson0 -> = z.nativeEnum(RfpDateModeJson0); diff --git a/packages/typescript/src/models/components/rfpevent.ts b/packages/typescript/src/models/components/rfpevent.ts new file mode 100644 index 000000000..31deea711 --- /dev/null +++ b/packages/typescript/src/models/components/rfpevent.ts @@ -0,0 +1,139 @@ +/* + * 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 { Event12, Event12$inboundSchema } from "./event12.js"; +import { + EventFormatType, + EventFormatType$inboundSchema, +} from "./eventformattype.js"; +import { EventType1, EventType1$inboundSchema } from "./eventtype1.js"; +import { SpaceArea, SpaceArea$inboundSchema } from "./spacearea.js"; + +/** + * RFP event details. + */ +export type RfpEvent = { + /** + * Event details. + */ + event?: Event12 | undefined; + /** + * Name of the event linked with the RFP. + */ + name?: string | undefined; + /** + * Location where the contract will be signed. + */ + contractSignatureLocation?: string | undefined; + /** + * Destinations under consideration for the event. + */ + destinationsUnderConsideration?: string | undefined; + /** + * True indicates that the event is associated with an external meeting request. + */ + externalMeetingRequest?: boolean | undefined; + /** + * Event type. + */ + type?: EventType1 | undefined; + /** + * Space area divisons. + */ + totalMeetingSpaceRequired?: SpaceArea | undefined; + /** + * Audio visual requirements. + */ + audioVisualNeeds?: string | undefined; + /** + * Maximum number of meeting rooms required during the event. + */ + peakMeetingRooms?: number | undefined; + /** + * True indicates the event dates are flexible. + */ + flexibleDates?: boolean | undefined; + /** + * True indicates event is a repeat occurrence. + */ + repeat?: boolean | undefined; + /** + * Number of in-person attendees per day. + */ + attendeesPerDay?: number | undefined; + /** + * Reference number for the event. + */ + referenceNumber?: string | undefined; + /** + * Space area divisons. + */ + largestMeetingSpaceRequired?: SpaceArea | undefined; + /** + * Unique identifier for meeting request associated with the event. + */ + meetingRequestId?: string | undefined; + /** + * Event format type. + */ + formatType?: EventFormatType | undefined; + /** + * Number of virtual attendees per day. + */ + virtualAttendeesPerDay?: number | undefined; + /** + * Total budget amount. + */ + budget?: number | undefined; + /** + * Budget for rooms rates. + */ + roomRateBudget?: number | undefined; + /** + * Budget for food and beverage. + */ + foodBeverageBudget?: number | undefined; +}; + +/** @internal */ +export const RfpEvent$inboundSchema: z.ZodType< + RfpEvent, + z.ZodTypeDef, + unknown +> = z.object({ + event: Event12$inboundSchema.optional(), + name: z.string().optional(), + contractSignatureLocation: z.string().optional(), + destinationsUnderConsideration: z.string().optional(), + externalMeetingRequest: z.boolean().optional(), + type: EventType1$inboundSchema.optional(), + totalMeetingSpaceRequired: SpaceArea$inboundSchema.optional(), + audioVisualNeeds: z.string().optional(), + peakMeetingRooms: z.number().int().optional(), + flexibleDates: z.boolean().optional(), + repeat: z.boolean().optional(), + attendeesPerDay: z.number().int().optional(), + referenceNumber: z.string().optional(), + largestMeetingSpaceRequired: SpaceArea$inboundSchema.optional(), + meetingRequestId: z.string().optional(), + formatType: EventFormatType$inboundSchema.optional(), + virtualAttendeesPerDay: z.number().int().optional(), + budget: z.number().optional(), + roomRateBudget: z.number().optional(), + foodBeverageBudget: z.number().optional(), +}); + +export function rfpEventFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RfpEvent$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RfpEvent' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/rfpeventjson.ts b/packages/typescript/src/models/components/rfpeventjson.ts deleted file mode 100644 index 07fa0d66b..000000000 --- a/packages/typescript/src/models/components/rfpeventjson.ts +++ /dev/null @@ -1,145 +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 { - EventFormatTypeJson0, - EventFormatTypeJson0$inboundSchema, -} from "./eventformattypejson0.js"; -import { EventJson0, EventJson0$inboundSchema } from "./eventjson0.js"; -import { - EventTypeJson0, - EventTypeJson0$inboundSchema, -} from "./eventtypejson0.js"; -import { - SpaceAreaJson0, - SpaceAreaJson0$inboundSchema, -} from "./spaceareajson0.js"; - -/** - * RFP event details. - */ -export type RfpEventJson = { - /** - * Event details. - */ - event?: EventJson0 | undefined; - /** - * Name of the event linked with the RFP. - */ - name?: string | undefined; - /** - * Location where the contract will be signed. - */ - contractSignatureLocation?: string | undefined; - /** - * Destinations under consideration for the event. - */ - destinationsUnderConsideration?: string | undefined; - /** - * True indicates that the event is associated with an external meeting request. - */ - externalMeetingRequest?: boolean | undefined; - /** - * Event type. - */ - type?: EventTypeJson0 | undefined; - /** - * Space area divisons. - */ - totalMeetingSpaceRequired?: SpaceAreaJson0 | undefined; - /** - * Audio visual requirements. - */ - audioVisualNeeds?: string | undefined; - /** - * Maximum number of meeting rooms required during the event. - */ - peakMeetingRooms?: number | undefined; - /** - * True indicates the event dates are flexible. - */ - flexibleDates?: boolean | undefined; - /** - * True indicates event is a repeat occurrence. - */ - repeat?: boolean | undefined; - /** - * Number of in-person attendees per day. - */ - attendeesPerDay?: number | undefined; - /** - * Reference number for the event. - */ - referenceNumber?: string | undefined; - /** - * Space area divisons. - */ - largestMeetingSpaceRequired?: SpaceAreaJson0 | undefined; - /** - * Unique identifier for meeting request associated with the event. - */ - meetingRequestId?: string | undefined; - /** - * Event format type. - */ - formatType?: EventFormatTypeJson0 | undefined; - /** - * Number of virtual attendees per day. - */ - virtualAttendeesPerDay?: number | undefined; - /** - * Total budget amount. - */ - budget?: number | undefined; - /** - * Budget for rooms rates. - */ - roomRateBudget?: number | undefined; - /** - * Budget for food and beverage. - */ - foodBeverageBudget?: number | undefined; -}; - -/** @internal */ -export const RfpEventJson$inboundSchema: z.ZodType< - RfpEventJson, - z.ZodTypeDef, - unknown -> = z.object({ - event: EventJson0$inboundSchema.optional(), - name: z.string().optional(), - contractSignatureLocation: z.string().optional(), - destinationsUnderConsideration: z.string().optional(), - externalMeetingRequest: z.boolean().optional(), - type: EventTypeJson0$inboundSchema.optional(), - totalMeetingSpaceRequired: SpaceAreaJson0$inboundSchema.optional(), - audioVisualNeeds: z.string().optional(), - peakMeetingRooms: z.number().int().optional(), - flexibleDates: z.boolean().optional(), - repeat: z.boolean().optional(), - attendeesPerDay: z.number().int().optional(), - referenceNumber: z.string().optional(), - largestMeetingSpaceRequired: SpaceAreaJson0$inboundSchema.optional(), - meetingRequestId: z.string().optional(), - formatType: EventFormatTypeJson0$inboundSchema.optional(), - virtualAttendeesPerDay: z.number().int().optional(), - budget: z.number().optional(), - roomRateBudget: z.number().optional(), - foodBeverageBudget: z.number().optional(), -}); - -export function rfpEventJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RfpEventJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RfpEventJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/rfpeventorganizationjson.ts b/packages/typescript/src/models/components/rfpeventorganizationjson.ts deleted file mode 100644 index 65cc0664f..000000000 --- a/packages/typescript/src/models/components/rfpeventorganizationjson.ts +++ /dev/null @@ -1,77 +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 { AddressJson0, AddressJson0$inboundSchema } from "./addressjson0.js"; -import { IndustryJson0, IndustryJson0$inboundSchema } from "./industryjson0.js"; -import { - OrganizationJson, - OrganizationJson$inboundSchema, -} from "./organizationjson.js"; -import { - OrganizationTypeJson0, - OrganizationTypeJson0$inboundSchema, -} from "./organizationtypejson0.js"; - -/** - * Details of organization which is hosting the event. - */ -export type RfpEventOrganizationJson = { - /** - * Organization details. - */ - organization?: OrganizationJson | undefined; - /** - * True indicates organization profile has to be kept confidential. - */ - confidentialProfile?: boolean | undefined; - /** - * Industry - */ - industry?: IndustryJson0 | undefined; - /** - * Name of the organization hosting the event. - */ - name: string; - /** - * Organization type. - */ - type: OrganizationTypeJson0; - /** - * Address details. - */ - address?: AddressJson0 | undefined; - /** - * Number of events per year. - */ - eventsPerYear?: number | undefined; -}; - -/** @internal */ -export const RfpEventOrganizationJson$inboundSchema: z.ZodType< - RfpEventOrganizationJson, - z.ZodTypeDef, - unknown -> = z.object({ - organization: OrganizationJson$inboundSchema.optional(), - confidentialProfile: z.boolean().optional(), - industry: IndustryJson0$inboundSchema.optional(), - name: z.string(), - type: OrganizationTypeJson0$inboundSchema, - address: AddressJson0$inboundSchema.optional(), - eventsPerYear: z.number().int().optional(), -}); - -export function rfpEventOrganizationJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RfpEventOrganizationJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RfpEventOrganizationJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/rfpguestrooms.ts b/packages/typescript/src/models/components/rfpguestrooms.ts index 54794a6aa..a1a4f8d82 100644 --- a/packages/typescript/src/models/components/rfpguestrooms.ts +++ b/packages/typescript/src/models/components/rfpguestrooms.ts @@ -8,10 +8,10 @@ import { Result as SafeParseResult } from "../../types/fp.js"; import { RFCDate } from "../../types/rfcdate.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - GuestRoomOccupancyPerRoomTypeJson, - GuestRoomOccupancyPerRoomTypeJson$inboundSchema, -} from "./guestroomoccupancyperroomtypejson.js"; -import { RoomBlockJson, RoomBlockJson$inboundSchema } from "./roomblockjson.js"; + GuestRoomOccupancyPerRoomType, + GuestRoomOccupancyPerRoomType$inboundSchema, +} from "./guestroomoccupancyperroomtype.js"; +import { RoomBlock, RoomBlock$inboundSchema } from "./roomblock.js"; /** * Guest Room Requirements @@ -28,7 +28,7 @@ export type RfpGuestRooms = { /** * Occupancies for every room type. */ - occupancies?: Array | undefined; + occupancies?: Array | undefined; /** * The ISO 8601 check-in date. */ @@ -36,7 +36,7 @@ export type RfpGuestRooms = { /** * List of room blocks required. */ - roomBlocks?: Array | undefined; + roomBlocks?: Array | undefined; /** * Additional Info (if any). */ @@ -51,10 +51,9 @@ export const RfpGuestRooms$inboundSchema: z.ZodType< > = z.object({ totalRooms: z.number().int().optional(), peakRooms: z.number().int().optional(), - occupancies: z.array(GuestRoomOccupancyPerRoomTypeJson$inboundSchema) - .optional(), + occupancies: z.array(GuestRoomOccupancyPerRoomType$inboundSchema).optional(), checkInDate: z.string().transform(v => new RFCDate(v)).optional(), - roomBlocks: z.array(RoomBlockJson$inboundSchema).optional(), + roomBlocks: z.array(RoomBlock$inboundSchema).optional(), additionalInformation: z.string().optional(), }); diff --git a/packages/typescript/src/models/components/rfpidjson.ts b/packages/typescript/src/models/components/rfpidjson.ts new file mode 100644 index 000000000..4bcc6564d --- /dev/null +++ b/packages/typescript/src/models/components/rfpidjson.ts @@ -0,0 +1,37 @@ +/* + * 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"; + +/** + * RFP ID Information. + */ +export type RfpIdJson = { + /** + * Identifier of a particular RFP. + */ + id?: string | undefined; +}; + +/** @internal */ +export const RfpIdJson$inboundSchema: z.ZodType< + RfpIdJson, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function rfpIdJsonFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RfpIdJson$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RfpIdJson' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/rfpidjson1.ts b/packages/typescript/src/models/components/rfpidjson1.ts deleted file mode 100644 index 745ea227e..000000000 --- a/packages/typescript/src/models/components/rfpidjson1.ts +++ /dev/null @@ -1,37 +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"; - -/** - * RFP ID Information. - */ -export type RfpIdJson1 = { - /** - * Identifier of a particular RFP. - */ - id?: string | undefined; -}; - -/** @internal */ -export const RfpIdJson1$inboundSchema: z.ZodType< - RfpIdJson1, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function rfpIdJson1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RfpIdJson1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RfpIdJson1' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/rfpinternaldocument.ts b/packages/typescript/src/models/components/rfpinternaldocument.ts new file mode 100644 index 000000000..2bd920909 --- /dev/null +++ b/packages/typescript/src/models/components/rfpinternaldocument.ts @@ -0,0 +1,74 @@ +/* + * 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 { DocumentType1, DocumentType1$inboundSchema } from "./documenttype1.js"; + +/** + * This object contains RFP specific internal documents attributes only. + */ +export type RfpInternalDocument = { + /** + * Unique ID of the file. + */ + id: string; + /** + * ISO 8601 date-time the document was uploaded. + */ + created?: Date | undefined; + /** + * Display name of the document. + */ + name?: string | undefined; + /** + * Name of the document. Must be unique in the account. + */ + uniqueName?: string | undefined; + /** + * The size of document in bytes. + */ + size?: number | undefined; + /** + * URL of the document if `secure` is false. This field is null if `secure` is true. + */ + url?: string | undefined; + /** + * The document type. + */ + type?: DocumentType1 | undefined; + /** + * The content type of the document. + */ + mimeType?: string | undefined; +}; + +/** @internal */ +export const RfpInternalDocument$inboundSchema: z.ZodType< + RfpInternalDocument, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + created: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + name: z.string().optional(), + uniqueName: z.string().optional(), + size: z.number().int().optional(), + url: z.string().optional(), + type: DocumentType1$inboundSchema.optional(), + mimeType: z.string().optional(), +}); + +export function rfpInternalDocumentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RfpInternalDocument$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RfpInternalDocument' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/rfpinternaldocumentjson0.ts b/packages/typescript/src/models/components/rfpinternaldocumentjson0.ts deleted file mode 100644 index f4dc712a0..000000000 --- a/packages/typescript/src/models/components/rfpinternaldocumentjson0.ts +++ /dev/null @@ -1,77 +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 { - DocumentTypeJson0, - DocumentTypeJson0$inboundSchema, -} from "./documenttypejson0.js"; - -/** - * This object contains RFP specific internal documents attributes only. - */ -export type RfpInternalDocumentJson0 = { - /** - * Unique ID of the file. - */ - id: string; - /** - * ISO 8601 date-time the document was uploaded. - */ - created?: Date | undefined; - /** - * Display name of the document. - */ - name?: string | undefined; - /** - * Name of the document. Must be unique in the account. - */ - uniqueName?: string | undefined; - /** - * The size of document in bytes. - */ - size?: number | undefined; - /** - * URL of the document if `secure` is false. This field is null if `secure` is true. - */ - url?: string | undefined; - /** - * The document type. - */ - type?: DocumentTypeJson0 | undefined; - /** - * The content type of the document. - */ - mimeType?: string | undefined; -}; - -/** @internal */ -export const RfpInternalDocumentJson0$inboundSchema: z.ZodType< - RfpInternalDocumentJson0, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - created: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - name: z.string().optional(), - uniqueName: z.string().optional(), - size: z.number().int().optional(), - url: z.string().optional(), - type: DocumentTypeJson0$inboundSchema.optional(), - mimeType: z.string().optional(), -}); - -export function rfpInternalDocumentJson0FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RfpInternalDocumentJson0$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RfpInternalDocumentJson0' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/rfpmeal.ts b/packages/typescript/src/models/components/rfpmeal.ts new file mode 100644 index 000000000..dad9da622 --- /dev/null +++ b/packages/typescript/src/models/components/rfpmeal.ts @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Meal type offered during the agenda. + */ +export const RfpMeal = { + BreakfastBuffet: "BREAKFAST_BUFFET", + BreakfastContinental: "BREAKFAST_CONTINENTAL", + BreakfastPlated: "BREAKFAST_PLATED", + BreakDrinksOnly: "BREAK_DRINKS_ONLY", + BreakSnacksAndDrinks: "BREAK_SNACKS_AND_DRINKS", + ContactMeAboutFBRequirements: "CONTACT_ME_ABOUT_F_B_REQUIREMENTS", + DinnerBuffet: "DINNER_BUFFET", + DinnerPlated: "DINNER_PLATED", + LunchBoxed: "LUNCH_BOXED", + LunchBuffet: "LUNCH_BUFFET", + LunchPlated: "LUNCH_PLATED", + ReceptionHeavyHorsDOeuvres: "RECEPTION_HEAVY_HORS_D_OEUVRES", + ReceptionLightAppetizers: "RECEPTION_LIGHT_APPETIZERS", +} as const; +/** + * Meal type offered during the agenda. + */ +export type RfpMeal = ClosedEnum; + +/** @internal */ +export const RfpMeal$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(RfpMeal); diff --git a/packages/typescript/src/models/components/rfpmealjson.ts b/packages/typescript/src/models/components/rfpmealjson.ts deleted file mode 100644 index 9369d6909..000000000 --- a/packages/typescript/src/models/components/rfpmealjson.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Meal type offered during the agenda. - */ -export const RfpMealJson = { - BreakfastBuffet: "BREAKFAST_BUFFET", - BreakfastContinental: "BREAKFAST_CONTINENTAL", - BreakfastPlated: "BREAKFAST_PLATED", - BreakDrinksOnly: "BREAK_DRINKS_ONLY", - BreakSnacksAndDrinks: "BREAK_SNACKS_AND_DRINKS", - ContactMeAboutFBRequirements: "CONTACT_ME_ABOUT_F_B_REQUIREMENTS", - DinnerBuffet: "DINNER_BUFFET", - DinnerPlated: "DINNER_PLATED", - LunchBoxed: "LUNCH_BOXED", - LunchBuffet: "LUNCH_BUFFET", - LunchPlated: "LUNCH_PLATED", - ReceptionHeavyHorsDOeuvres: "RECEPTION_HEAVY_HORS_D_OEUVRES", - ReceptionLightAppetizers: "RECEPTION_LIGHT_APPETIZERS", -} as const; -/** - * Meal type offered during the agenda. - */ -export type RfpMealJson = ClosedEnum; - -/** @internal */ -export const RfpMealJson$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(RfpMealJson); diff --git a/packages/typescript/src/models/components/rfppastevent.ts b/packages/typescript/src/models/components/rfppastevent.ts new file mode 100644 index 000000000..7b157c9a7 --- /dev/null +++ b/packages/typescript/src/models/components/rfppastevent.ts @@ -0,0 +1,82 @@ +/* + * 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"; + +/** + * This object includes information about past events hosted by the planner. + */ +export type RfpPastEvent = { + /** + * Name of the venue where the event was hosted. + */ + venueName?: string | undefined; + /** + * Name of the city where the event was hosted. + */ + city?: string | undefined; + /** + * ISO 3166-2 code for name of the state or province where the event was hosted. + */ + stateProvince?: string | undefined; + /** + * Free form text field for the planner to provide details on the event date. + */ + date?: string | undefined; + /** + * Number of event attendees. + */ + attendeeCount?: number | undefined; + /** + * Count of rooms picked up by planners for use during the event. + */ + guestRoomsPickedUp?: number | undefined; + /** + * Count of rooms blocked by planner for the event. + */ + guestRoomsBlocked?: number | undefined; + /** + * Expenditure on food and beverage. + */ + foodBeverageSpend?: string | undefined; + /** + * Any other information about the event. + */ + notes?: string | undefined; + /** + * Unique ID for the event detail. + */ + id: string; +}; + +/** @internal */ +export const RfpPastEvent$inboundSchema: z.ZodType< + RfpPastEvent, + z.ZodTypeDef, + unknown +> = z.object({ + venueName: z.string().optional(), + city: z.string().optional(), + stateProvince: z.string().optional(), + date: z.string().optional(), + attendeeCount: z.number().int().optional(), + guestRoomsPickedUp: z.number().int().optional(), + guestRoomsBlocked: z.number().int().optional(), + foodBeverageSpend: z.string().optional(), + notes: z.string().optional(), + id: z.string(), +}); + +export function rfpPastEventFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RfpPastEvent$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RfpPastEvent' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/rfppasteventjson.ts b/packages/typescript/src/models/components/rfppasteventjson.ts deleted file mode 100644 index bafec4373..000000000 --- a/packages/typescript/src/models/components/rfppasteventjson.ts +++ /dev/null @@ -1,82 +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"; - -/** - * This object includes information about past events hosted by the planner. - */ -export type RfpPastEventJson = { - /** - * Name of the venue where the event was hosted. - */ - venueName?: string | undefined; - /** - * Name of the city where the event was hosted. - */ - city?: string | undefined; - /** - * ISO 3166-2 code for name of the state or province where the event was hosted. - */ - stateProvince?: string | undefined; - /** - * Free form text field for the planner to provide details on the event date. - */ - date?: string | undefined; - /** - * Number of event attendees. - */ - attendeeCount?: number | undefined; - /** - * Count of rooms picked up by planners for use during the event. - */ - guestRoomsPickedUp?: number | undefined; - /** - * Count of rooms blocked by planner for the event. - */ - guestRoomsBlocked?: number | undefined; - /** - * Expenditure on food and beverage. - */ - foodBeverageSpend?: string | undefined; - /** - * Any other information about the event. - */ - notes?: string | undefined; - /** - * Unique ID for the event detail. - */ - id: string; -}; - -/** @internal */ -export const RfpPastEventJson$inboundSchema: z.ZodType< - RfpPastEventJson, - z.ZodTypeDef, - unknown -> = z.object({ - venueName: z.string().optional(), - city: z.string().optional(), - stateProvince: z.string().optional(), - date: z.string().optional(), - attendeeCount: z.number().int().optional(), - guestRoomsPickedUp: z.number().int().optional(), - guestRoomsBlocked: z.number().int().optional(), - foodBeverageSpend: z.string().optional(), - notes: z.string().optional(), - id: z.string(), -}); - -export function rfpPastEventJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RfpPastEventJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RfpPastEventJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/rfppastevents.ts b/packages/typescript/src/models/components/rfppastevents.ts index 77ed761c0..1c7800bc2 100644 --- a/packages/typescript/src/models/components/rfppastevents.ts +++ b/packages/typescript/src/models/components/rfppastevents.ts @@ -6,10 +6,7 @@ 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 { - RfpPastEventJson, - RfpPastEventJson$inboundSchema, -} from "./rfppasteventjson.js"; +import { RfpPastEvent, RfpPastEvent$inboundSchema } from "./rfppastevent.js"; /** * List of past RFP events. @@ -18,7 +15,7 @@ export type RfpPastEvents = { /** * List of past events saved on RFP by planner. */ - data?: Array | undefined; + data?: Array | undefined; }; /** @internal */ @@ -27,7 +24,7 @@ export const RfpPastEvents$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - data: z.array(RfpPastEventJson$inboundSchema).optional(), + data: z.array(RfpPastEvent$inboundSchema).optional(), }); export function rfpPastEventsFromJSON( diff --git a/packages/typescript/src/models/components/rfpquestion.ts b/packages/typescript/src/models/components/rfpquestion.ts new file mode 100644 index 000000000..258e4c4a6 --- /dev/null +++ b/packages/typescript/src/models/components/rfpquestion.ts @@ -0,0 +1,306 @@ +/* + * 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 { RFCDate } from "../../types/rfcdate.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + AdditionalChoice, + AdditionalChoice$inboundSchema, +} from "./additionalchoice.js"; +import { Category, Category$inboundSchema } from "./category.js"; +import { Choice, Choice$inboundSchema } from "./choice.js"; +import { + ChoiceSortOrder, + ChoiceSortOrder$inboundSchema, +} from "./choicesortorder.js"; +import { + DateAnswerFormat, + DateAnswerFormat$inboundSchema, +} from "./dateanswerformat.js"; +import { DisplayType, DisplayType$inboundSchema } from "./displaytype.js"; +import { Field, Field$inboundSchema } from "./field.js"; +import { + NumericAnswerFormat, + NumericAnswerFormat$inboundSchema, +} from "./numericanswerformat.js"; +import { + QuestionClassificationType, + QuestionClassificationType$inboundSchema, +} from "./questionclassificationtype.js"; +import { QuestionType, QuestionType$inboundSchema } from "./questiontype.js"; +import { + StandardQuestion, + StandardQuestion$inboundSchema, +} from "./standardquestion.js"; +import { SupplierType, SupplierType$inboundSchema } from "./suppliertype.js"; +import { + TextAnswerFormat, + TextAnswerFormat$inboundSchema, +} from "./textanswerformat.js"; +import { TextField, TextField$inboundSchema } from "./textfield.js"; +import { UnitPosition, UnitPosition$inboundSchema } from "./unitposition.js"; + +/** + * An object that contains custom answer format data. + */ +export type CustomAnswerFormat = { + /** + * The unique identifier of the custom answer format for the account. + */ + id?: number | undefined; +}; + +/** + * Question associated with an RFP. + */ +export type RfpQuestion = { + /** + * 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; + /** + * Unique identifier of the question. + */ + id?: string | undefined; + /** + * Text value of the question field. Displays to users in the UI. + */ + text?: string | undefined; + /** + * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. + */ + shortText?: string | undefined; + /** + * Html of the question. + */ + htmlText?: string | undefined; + /** + * Question code is unique identifier for every questions within a survey (can be same across surveys). This code is used in reporting and in question and answer data tags for emails. With every new question a random question code is generated. + */ + code?: string | undefined; + /** + * The type of question. See [this article](https://support.cvent.com/s/communityarticle/Survey-Adding-Questions) for details on each enum. + */ + type?: QuestionType | undefined; + /** + * List of choices for the question. + */ + choices?: Array | undefined; + /** + * List of categories for the question. + */ + categories?: Array | undefined; + /** + * List of sub categories for matrix side-by-side questions. + */ + subCategories?: Array | undefined; + /** + * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + */ + notApplicableAnswer?: AdditionalChoice | undefined; + /** + * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. + */ + otherAnswer?: AdditionalChoice | undefined; + /** + * Text Value of Comments Input box placeholder. + */ + comments?: string | undefined; + /** + * True indicates this is a mandatory question field. + */ + required: boolean; + /** + * List of fields for form/matrix questions. + */ + fields?: Array | undefined; + /** + * Max possible score. + */ + maxScore?: number | undefined; + /** + * Total configured sum of all choices for number allocation question. + */ + totalSum?: number | undefined; + /** + * The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: Sorted in the order they were added, oldest choices first. `Random`: Random sort. + */ + choiceSortOrder?: ChoiceSortOrder | undefined; + /** + * The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: It is associated with drop down type questions. `Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list type questions. `MultiSelectBox`: It is associated with multi select box type questions. `Vertical`: It is associated with vertical type questions. + */ + displayType?: DisplayType | undefined; + /** + * Minimum number of choices that must be selected. + */ + minSelection: number; + /** + * Maximum number of choices that can be selected. + */ + maxSelection: number; + /** + * The earliest date that can be selected, starting from or after this date. + */ + minDate?: RFCDate | undefined; + /** + * The latest date that can be selected, up to or before this date. + */ + maxDate?: RFCDate | undefined; + /** + * Indicates if this is a date range question. + */ + showDateSelector?: boolean | undefined; + /** + * Indicates if the current date should be shown. + */ + showCurrentDate?: boolean | undefined; + /** + * The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. `DateTime`: Answer format is stored in DateTime format. `Time`: Answer format is stored in Time format. + */ + dateAnswerFormat: DateAnswerFormat; + /** + * The answer format that a given number is stored in. + */ + numericAnswerFormat?: NumericAnswerFormat | undefined; + /** + * Label to add before or after textbox. + */ + unitLabel?: string | undefined; + /** + * Unit position used for text box question type. + */ + unitPosition?: UnitPosition | undefined; + /** + * Minimum number of characters that must be entered. + */ + minLength: number; + /** + * Maximum number of characters that can be entered. + */ + maxLength: number; + /** + * 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. + */ + textAnswerFormat?: TextAnswerFormat | undefined; + /** + * An object that contains custom answer format data. + */ + customAnswerFormat?: CustomAnswerFormat | undefined; + /** + * List of supplier types that can view the question on the RFP. + */ + supplierTypes?: Array | undefined; + /** + * 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; + /** + * Determines the display order for questions on the RFP. Questions with smaller values appear first. + */ + order?: number | undefined; + /** + * Standard questions are selected from a predefined list of Cvent questions that can be used in an RFP. + */ + standardQuestion?: StandardQuestion | undefined; + /** + * Represents the AI generation source for the custom question on RFP. This field is set during question creation and cannot be modified afterwards. + */ + aiQuestionGenerationSource?: string | undefined; +}; + +/** @internal */ +export const CustomAnswerFormat$inboundSchema: z.ZodType< + CustomAnswerFormat, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.number().int().optional(), +}); + +export function customAnswerFormatFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CustomAnswerFormat$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CustomAnswerFormat' from JSON`, + ); +} + +/** @internal */ +export const RfpQuestion$inboundSchema: z.ZodType< + RfpQuestion, + 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(), + id: z.string().optional(), + text: z.string().optional(), + shortText: z.string().optional(), + htmlText: z.string().optional(), + code: z.string().optional(), + type: QuestionType$inboundSchema.optional(), + choices: z.array(Choice$inboundSchema).optional(), + categories: z.array(Category$inboundSchema).optional(), + subCategories: z.array(TextField$inboundSchema).optional(), + notApplicableAnswer: AdditionalChoice$inboundSchema.optional(), + otherAnswer: AdditionalChoice$inboundSchema.optional(), + comments: z.string().optional(), + required: z.boolean().default(false), + fields: z.array(Field$inboundSchema).optional(), + maxScore: z.number().optional(), + totalSum: z.number().int().optional(), + choiceSortOrder: ChoiceSortOrder$inboundSchema.optional(), + displayType: DisplayType$inboundSchema.optional(), + minSelection: z.number().int().default(0), + maxSelection: z.number().int().default(0), + minDate: z.string().transform(v => new RFCDate(v)).optional(), + maxDate: z.string().transform(v => new RFCDate(v)).optional(), + showDateSelector: z.boolean().optional(), + showCurrentDate: z.boolean().optional(), + dateAnswerFormat: DateAnswerFormat$inboundSchema.default("DateTime"), + numericAnswerFormat: NumericAnswerFormat$inboundSchema.optional(), + unitLabel: z.string().optional(), + unitPosition: UnitPosition$inboundSchema.optional(), + minLength: z.number().int().default(0), + 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(), + order: z.number().int().optional(), + standardQuestion: StandardQuestion$inboundSchema.optional(), + aiQuestionGenerationSource: z.string().optional(), +}); + +export function rfpQuestionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RfpQuestion$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RfpQuestion' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/rfpquestionjson.ts b/packages/typescript/src/models/components/rfpquestionjson.ts deleted file mode 100644 index 7dd03859e..000000000 --- a/packages/typescript/src/models/components/rfpquestionjson.ts +++ /dev/null @@ -1,318 +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 { RFCDate } from "../../types/rfcdate.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { - AdditionalChoiceJson2, - AdditionalChoiceJson2$inboundSchema, -} from "./additionalchoicejson2.js"; -import { CategoryJson, CategoryJson$inboundSchema } from "./categoryjson.js"; -import { ChoiceJson, ChoiceJson$inboundSchema } from "./choicejson.js"; -import { - ChoiceSortOrderJson, - ChoiceSortOrderJson$inboundSchema, -} from "./choicesortorderjson.js"; -import { - DateAnswerFormatJson, - DateAnswerFormatJson$inboundSchema, -} from "./dateanswerformatjson.js"; -import { - DisplayTypeJson, - DisplayTypeJson$inboundSchema, -} from "./displaytypejson.js"; -import { FieldJson, FieldJson$inboundSchema } from "./fieldjson.js"; -import { - NumericAnswerFormatJson, - NumericAnswerFormatJson$inboundSchema, -} from "./numericanswerformatjson.js"; -import { - QuestionClassificationTypeJson, - QuestionClassificationTypeJson$inboundSchema, -} from "./questionclassificationtypejson.js"; -import { - QuestionTypeJson, - QuestionTypeJson$inboundSchema, -} from "./questiontypejson.js"; -import { - StandardQuestionJson, - StandardQuestionJson$inboundSchema, -} from "./standardquestionjson.js"; -import { - SupplierTypeJson, - SupplierTypeJson$inboundSchema, -} from "./suppliertypejson.js"; -import { - TextAnswerFormatJson, - TextAnswerFormatJson$inboundSchema, -} from "./textanswerformatjson.js"; -import { TextFieldJson, TextFieldJson$inboundSchema } from "./textfieldjson.js"; -import { - UnitPositionJson, - UnitPositionJson$inboundSchema, -} from "./unitpositionjson.js"; - -/** - * An object that contains custom answer format data. - */ -export type CustomAnswerFormat = { - /** - * The unique identifier of the custom answer format for the account. - */ - id?: number | undefined; -}; - -/** - * Question associated with an RFP. - */ -export type RfpQuestionJson = { - /** - * 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; - /** - * Unique identifier of the question. - */ - id?: string | undefined; - /** - * Text value of the question field. Displays to users in the UI. - */ - text?: string | undefined; - /** - * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. - */ - shortText?: string | undefined; - /** - * Html of the question. - */ - htmlText?: string | undefined; - /** - * Question code is unique identifier for every questions within a survey (can be same across surveys). This code is used in reporting and in question and answer data tags for emails. With every new question a random question code is generated. - */ - code?: string | undefined; - /** - * The type of question. See [this article](https://support.cvent.com/s/communityarticle/Survey-Adding-Questions) for details on each enum. - */ - type?: QuestionTypeJson | undefined; - /** - * List of choices for the question. - */ - choices?: Array | undefined; - /** - * List of categories for the question. - */ - categories?: Array | undefined; - /** - * List of sub categories for matrix side-by-side questions. - */ - subCategories?: Array | undefined; - /** - * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. - */ - notApplicableAnswer?: AdditionalChoiceJson2 | undefined; - /** - * Contains text of additional choice i.e notApplicableAnswer choice or otherAnswer choice. - */ - otherAnswer?: AdditionalChoiceJson2 | undefined; - /** - * Text Value of Comments Input box placeholder. - */ - comments?: string | undefined; - /** - * True indicates this is a mandatory question field. - */ - required: boolean; - /** - * List of fields for form/matrix questions. - */ - fields?: Array | undefined; - /** - * Max possible score. - */ - maxScore?: number | undefined; - /** - * Total configured sum of all choices for number allocation question. - */ - totalSum?: number | undefined; - /** - * The sort order for the choices. `AToZ`: sorted alphabetically in ascending order. `AsEntered`: Sorted in the order they were added, oldest choices first. `Random`: Random sort. - */ - choiceSortOrder?: ChoiceSortOrderJson | undefined; - /** - * The type of display for the field. `Bar`: It is associated with choice questions type. `DropDown`: It is associated with drop down type questions. `Horizontal`: It is associated with horizontal type questions. `List`: It is associated with list type questions. `MultiSelectBox`: It is associated with multi select box type questions. `Vertical`: It is associated with vertical type questions. - */ - displayType?: DisplayTypeJson | undefined; - /** - * Minimum number of choices that must be selected. - */ - minSelection: number; - /** - * Maximum number of choices that can be selected. - */ - maxSelection: number; - /** - * The earliest date that can be selected, starting from or after this date. - */ - minDate?: RFCDate | undefined; - /** - * The latest date that can be selected, up to or before this date. - */ - maxDate?: RFCDate | undefined; - /** - * Indicates if this is a date range question. - */ - showDateSelector?: boolean | undefined; - /** - * Indicates if the current date should be shown. - */ - showCurrentDate?: boolean | undefined; - /** - * The answer format that a given date is stored in. `Date`: Answer format is stored in Date format. `DateTime`: Answer format is stored in DateTime format. `Time`: Answer format is stored in Time format. - */ - dateAnswerFormat: DateAnswerFormatJson; - /** - * The answer format that a given number is stored in. - */ - numericAnswerFormat?: NumericAnswerFormatJson | undefined; - /** - * Label to add before or after textbox. - */ - unitLabel?: string | undefined; - /** - * Unit position used for text box question type. - */ - unitPosition?: UnitPositionJson | undefined; - /** - * Minimum number of characters that must be entered. - */ - minLength: number; - /** - * Maximum number of characters that can be entered. - */ - maxLength: number; - /** - * 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. - */ - textAnswerFormat?: TextAnswerFormatJson | undefined; - /** - * An object that contains custom answer format data. - */ - customAnswerFormat?: CustomAnswerFormat | undefined; - /** - * List of supplier types that can view the question on the RFP. - */ - supplierTypes?: Array | undefined; - /** - * 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?: QuestionClassificationTypeJson | undefined; - /** - * Determines the display order for questions on the RFP. Questions with smaller values appear first. - */ - order?: number | undefined; - /** - * Standard questions are selected from a predefined list of Cvent questions that can be used in an RFP. - */ - standardQuestion?: StandardQuestionJson | undefined; - /** - * Represents the AI generation source for the custom question on RFP. This field is set during question creation and cannot be modified afterwards. - */ - aiQuestionGenerationSource?: string | undefined; -}; - -/** @internal */ -export const CustomAnswerFormat$inboundSchema: z.ZodType< - CustomAnswerFormat, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.number().int().optional(), -}); - -export function customAnswerFormatFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CustomAnswerFormat$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CustomAnswerFormat' from JSON`, - ); -} - -/** @internal */ -export const RfpQuestionJson$inboundSchema: z.ZodType< - RfpQuestionJson, - 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(), - id: z.string().optional(), - text: z.string().optional(), - shortText: z.string().optional(), - htmlText: z.string().optional(), - code: z.string().optional(), - type: QuestionTypeJson$inboundSchema.optional(), - choices: z.array(ChoiceJson$inboundSchema).optional(), - categories: z.array(CategoryJson$inboundSchema).optional(), - subCategories: z.array(TextFieldJson$inboundSchema).optional(), - notApplicableAnswer: AdditionalChoiceJson2$inboundSchema.optional(), - otherAnswer: AdditionalChoiceJson2$inboundSchema.optional(), - comments: z.string().optional(), - required: z.boolean().default(false), - fields: z.array(FieldJson$inboundSchema).optional(), - maxScore: z.number().optional(), - totalSum: z.number().int().optional(), - choiceSortOrder: ChoiceSortOrderJson$inboundSchema.optional(), - displayType: DisplayTypeJson$inboundSchema.optional(), - minSelection: z.number().int().default(0), - maxSelection: z.number().int().default(0), - minDate: z.string().transform(v => new RFCDate(v)).optional(), - maxDate: z.string().transform(v => new RFCDate(v)).optional(), - showDateSelector: z.boolean().optional(), - showCurrentDate: z.boolean().optional(), - dateAnswerFormat: DateAnswerFormatJson$inboundSchema.default("DateTime"), - numericAnswerFormat: NumericAnswerFormatJson$inboundSchema.optional(), - unitLabel: z.string().optional(), - unitPosition: UnitPositionJson$inboundSchema.optional(), - minLength: z.number().int().default(0), - maxLength: z.number().int().default(500), - textAnswerFormat: TextAnswerFormatJson$inboundSchema.optional(), - customAnswerFormat: z.lazy(() => CustomAnswerFormat$inboundSchema).optional(), - supplierTypes: z.array(SupplierTypeJson$inboundSchema).optional(), - classificationType: QuestionClassificationTypeJson$inboundSchema.optional(), - order: z.number().int().optional(), - standardQuestion: StandardQuestionJson$inboundSchema.optional(), - aiQuestionGenerationSource: z.string().optional(), -}); - -export function rfpQuestionJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RfpQuestionJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RfpQuestionJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/rfprecipientlogentry.ts b/packages/typescript/src/models/components/rfprecipientlogentry.ts new file mode 100644 index 000000000..3a8193e6b --- /dev/null +++ b/packages/typescript/src/models/components/rfprecipientlogentry.ts @@ -0,0 +1,128 @@ +/* + * 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 { TargetType, TargetType$inboundSchema } from "./targettype.js"; + +/** + * The supplier associated with the recipient. + */ +export type RfpRecipientLogEntrySupplier = { + /** + * The unique identifier of the supplier. + */ + id?: string | undefined; +}; + +/** + * Message for the recipient. + */ +export type RfpRecipientLogEntryMessage = { + /** + * The unique identifier of the message. + */ + id?: string | undefined; +}; + +/** + * Contains the log entry when the recipient was copied on an RFP. + */ +export type RfpRecipientLogEntry = { + /** + * The supplier associated with the recipient. + */ + supplier?: RfpRecipientLogEntrySupplier | undefined; + /** + * This can either be the email address or the code of the recipient. This will not be present if the target type is MEETING_BROKER + */ + recipientIdentifier?: string | undefined; + /** + * True indicates that the recipient is active for receiving emails. + */ + active?: boolean | undefined; + /** + * True indicates that the recipient was added by the National Sales Office. + */ + addedByNso?: boolean | undefined; + /** + * The target type can either refer to the type of recipient or the type of action that made the recipient a participant in the RFP process. + */ + targetType?: TargetType | undefined; + /** + * The ISO 8601 send date and time in UTC. + */ + sendDateTime?: Date | undefined; + /** + * Message for the recipient. + */ + message?: RfpRecipientLogEntryMessage | undefined; +}; + +/** @internal */ +export const RfpRecipientLogEntrySupplier$inboundSchema: z.ZodType< + RfpRecipientLogEntrySupplier, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function rfpRecipientLogEntrySupplierFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RfpRecipientLogEntrySupplier$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RfpRecipientLogEntrySupplier' from JSON`, + ); +} + +/** @internal */ +export const RfpRecipientLogEntryMessage$inboundSchema: z.ZodType< + RfpRecipientLogEntryMessage, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function rfpRecipientLogEntryMessageFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RfpRecipientLogEntryMessage$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RfpRecipientLogEntryMessage' from JSON`, + ); +} + +/** @internal */ +export const RfpRecipientLogEntry$inboundSchema: z.ZodType< + RfpRecipientLogEntry, + z.ZodTypeDef, + unknown +> = z.object({ + supplier: z.lazy(() => RfpRecipientLogEntrySupplier$inboundSchema).optional(), + recipientIdentifier: z.string().optional(), + active: z.boolean().optional(), + addedByNso: z.boolean().optional(), + targetType: TargetType$inboundSchema.optional(), + sendDateTime: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ).optional(), + message: z.lazy(() => RfpRecipientLogEntryMessage$inboundSchema).optional(), +}); + +export function rfpRecipientLogEntryFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RfpRecipientLogEntry$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RfpRecipientLogEntry' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/rfprecipientlogentryjson.ts b/packages/typescript/src/models/components/rfprecipientlogentryjson.ts deleted file mode 100644 index 0e1efd725..000000000 --- a/packages/typescript/src/models/components/rfprecipientlogentryjson.ts +++ /dev/null @@ -1,133 +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 { - TargetTypeJson, - TargetTypeJson$inboundSchema, -} from "./targettypejson.js"; - -/** - * The supplier associated with the recipient. - */ -export type RfpRecipientLogEntryJsonSupplier = { - /** - * The unique identifier of the supplier. - */ - id?: string | undefined; -}; - -/** - * Message for the recipient. - */ -export type RfpRecipientLogEntryJsonMessage = { - /** - * The unique identifier of the message. - */ - id?: string | undefined; -}; - -/** - * Contains the log entry when the recipient was copied on an RFP. - */ -export type RfpRecipientLogEntryJson = { - /** - * The supplier associated with the recipient. - */ - supplier?: RfpRecipientLogEntryJsonSupplier | undefined; - /** - * This can either be the email address or the code of the recipient. This will not be present if the target type is MEETING_BROKER - */ - recipientIdentifier?: string | undefined; - /** - * True indicates that the recipient is active for receiving emails. - */ - active?: boolean | undefined; - /** - * True indicates that the recipient was added by the National Sales Office. - */ - addedByNso?: boolean | undefined; - /** - * The target type can either refer to the type of recipient or the type of action that made the recipient a participant in the RFP process. - */ - targetType?: TargetTypeJson | undefined; - /** - * The ISO 8601 send date and time in UTC. - */ - sendDateTime?: Date | undefined; - /** - * Message for the recipient. - */ - message?: RfpRecipientLogEntryJsonMessage | undefined; -}; - -/** @internal */ -export const RfpRecipientLogEntryJsonSupplier$inboundSchema: z.ZodType< - RfpRecipientLogEntryJsonSupplier, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function rfpRecipientLogEntryJsonSupplierFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RfpRecipientLogEntryJsonSupplier$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RfpRecipientLogEntryJsonSupplier' from JSON`, - ); -} - -/** @internal */ -export const RfpRecipientLogEntryJsonMessage$inboundSchema: z.ZodType< - RfpRecipientLogEntryJsonMessage, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function rfpRecipientLogEntryJsonMessageFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RfpRecipientLogEntryJsonMessage$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RfpRecipientLogEntryJsonMessage' from JSON`, - ); -} - -/** @internal */ -export const RfpRecipientLogEntryJson$inboundSchema: z.ZodType< - RfpRecipientLogEntryJson, - z.ZodTypeDef, - unknown -> = z.object({ - supplier: z.lazy(() => RfpRecipientLogEntryJsonSupplier$inboundSchema) - .optional(), - recipientIdentifier: z.string().optional(), - active: z.boolean().optional(), - addedByNso: z.boolean().optional(), - targetType: TargetTypeJson$inboundSchema.optional(), - sendDateTime: z.string().datetime({ offset: true }).transform(v => - new Date(v) - ).optional(), - message: z.lazy(() => RfpRecipientLogEntryJsonMessage$inboundSchema) - .optional(), -}); - -export function rfpRecipientLogEntryJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RfpRecipientLogEntryJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RfpRecipientLogEntryJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/rfpresponsereason.ts b/packages/typescript/src/models/components/rfpresponsereason.ts new file mode 100644 index 000000000..d0db68a3d --- /dev/null +++ b/packages/typescript/src/models/components/rfpresponsereason.ts @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Reason given for a response to an RFP. + */ +export const RfpResponseReason = { + BookedAnotherVenueOrDestination: "BOOKED_ANOTHER_VENUE_OR_DESTINATION", + ClientBookedDirectly: "CLIENT_BOOKED_DIRECTLY", + CompetitorContractAgreement: "COMPETITOR_CONTRACT_AGREEMENT", + DatesOrPattern: "DATES_OR_PATTERN", + DecisionDatePassed: "DECISION_DATE_PASSED", + DidNotMeetRequirements: "DID_NOT_MEET_REQUIREMENTS", + EpidemicOrPandemic: "EPIDEMIC_OR_PANDEMIC", + EventCancelled: "EVENT_CANCELLED", + EventPostponed: "EVENT_POSTPONED", + FoodAndBeverageMinimumTooHigh: "FOOD_AND_BEVERAGE_MINIMUM_TOO_HIGH", + FoodAndBeverageTooLow: "FOOD_AND_BEVERAGE_TOO_LOW", + IncompleteRfp: "INCOMPLETE_RFP", + LateResponse: "LATE_RESPONSE", + LowBudget: "LOW_BUDGET", + MedicalEmergency: "MEDICAL_EMERGENCY", + MeetingRoomRentalTooHigh: "MEETING_ROOM_RENTAL_TOO_HIGH", + MeetingSpaceCeilingHeight: "MEETING_SPACE_CEILING_HEIGHT", + MeetingSpaceNoLongerAvailable: "MEETING_SPACE_NO_LONGER_AVAILABLE", + MeetingSpaceUnavailable: "MEETING_SPACE_UNAVAILABLE", + NaturalDisaster: "NATURAL_DISASTER", + NoFoodAndBeverage: "NO_FOOD_AND_BEVERAGE", + Other: "OTHER", + PoliticalOrCivilUnrest: "POLITICAL_OR_CIVIL_UNREST", + PreferredOrAlternateDatesUnavailable: + "PREFERRED_OR_ALTERNATE_DATES_UNAVAILABLE", + PropertyAmenitiesOrServices: "PROPERTY_AMENITIES_OR_SERVICES", + PropertyLocation: "PROPERTY_LOCATION", + Renovations: "RENOVATIONS", + RequestedRoomRateTooLow: "REQUESTED_ROOM_RATE_TOO_LOW", + RequirementsChanged: "REQUIREMENTS_CHANGED", + RoomsToSpaceRatio: "ROOMS_TO_SPACE_RATIO", + SelectedOtherCity: "SELECTED_OTHER_CITY", + SelectedOtherHotelOrVenue: "SELECTED_OTHER_HOTEL_OR_VENUE", + SizeOfMeetingSpace: "SIZE_OF_MEETING_SPACE", + GuestRoomRateTooHigh: "GUEST_ROOM_RATE_TOO_HIGH", + GuestRoomsNoLongerAvailable: "GUEST_ROOMS_NO_LONGER_AVAILABLE", + GuestRoomsUnavailable: "GUEST_ROOMS_UNAVAILABLE", + SuiteAvailability: "SUITE_AVAILABILITY", + TooSpaceIntensive: "TOO_SPACE_INTENSIVE", + VenuePermanentlyClosed: "VENUE_PERMANENTLY_CLOSED", + VenueTemporarilyClosed: "VENUE_TEMPORARILY_CLOSED", + VenueTooSmall: "VENUE_TOO_SMALL", +} as const; +/** + * Reason given for a response to an RFP. + */ +export type RfpResponseReason = ClosedEnum; + +/** @internal */ +export const RfpResponseReason$inboundSchema: z.ZodNativeEnum< + typeof RfpResponseReason +> = z.nativeEnum(RfpResponseReason); diff --git a/packages/typescript/src/models/components/rfpresponsereasonjson.ts b/packages/typescript/src/models/components/rfpresponsereasonjson.ts deleted file mode 100644 index 0f5a119cc..000000000 --- a/packages/typescript/src/models/components/rfpresponsereasonjson.ts +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Reason given for a response to an RFP. - */ -export const RfpResponseReasonJson = { - BookedAnotherVenueOrDestination: "BOOKED_ANOTHER_VENUE_OR_DESTINATION", - ClientBookedDirectly: "CLIENT_BOOKED_DIRECTLY", - CompetitorContractAgreement: "COMPETITOR_CONTRACT_AGREEMENT", - DatesOrPattern: "DATES_OR_PATTERN", - DecisionDatePassed: "DECISION_DATE_PASSED", - DidNotMeetRequirements: "DID_NOT_MEET_REQUIREMENTS", - EpidemicOrPandemic: "EPIDEMIC_OR_PANDEMIC", - EventCancelled: "EVENT_CANCELLED", - EventPostponed: "EVENT_POSTPONED", - FoodAndBeverageMinimumTooHigh: "FOOD_AND_BEVERAGE_MINIMUM_TOO_HIGH", - FoodAndBeverageTooLow: "FOOD_AND_BEVERAGE_TOO_LOW", - IncompleteRfp: "INCOMPLETE_RFP", - LateResponse: "LATE_RESPONSE", - LowBudget: "LOW_BUDGET", - MedicalEmergency: "MEDICAL_EMERGENCY", - MeetingRoomRentalTooHigh: "MEETING_ROOM_RENTAL_TOO_HIGH", - MeetingSpaceCeilingHeight: "MEETING_SPACE_CEILING_HEIGHT", - MeetingSpaceNoLongerAvailable: "MEETING_SPACE_NO_LONGER_AVAILABLE", - MeetingSpaceUnavailable: "MEETING_SPACE_UNAVAILABLE", - NaturalDisaster: "NATURAL_DISASTER", - NoFoodAndBeverage: "NO_FOOD_AND_BEVERAGE", - Other: "OTHER", - PoliticalOrCivilUnrest: "POLITICAL_OR_CIVIL_UNREST", - PreferredOrAlternateDatesUnavailable: - "PREFERRED_OR_ALTERNATE_DATES_UNAVAILABLE", - PropertyAmenitiesOrServices: "PROPERTY_AMENITIES_OR_SERVICES", - PropertyLocation: "PROPERTY_LOCATION", - Renovations: "RENOVATIONS", - RequestedRoomRateTooLow: "REQUESTED_ROOM_RATE_TOO_LOW", - RequirementsChanged: "REQUIREMENTS_CHANGED", - RoomsToSpaceRatio: "ROOMS_TO_SPACE_RATIO", - SelectedOtherCity: "SELECTED_OTHER_CITY", - SelectedOtherHotelOrVenue: "SELECTED_OTHER_HOTEL_OR_VENUE", - SizeOfMeetingSpace: "SIZE_OF_MEETING_SPACE", - GuestRoomRateTooHigh: "GUEST_ROOM_RATE_TOO_HIGH", - GuestRoomsNoLongerAvailable: "GUEST_ROOMS_NO_LONGER_AVAILABLE", - GuestRoomsUnavailable: "GUEST_ROOMS_UNAVAILABLE", - SuiteAvailability: "SUITE_AVAILABILITY", - TooSpaceIntensive: "TOO_SPACE_INTENSIVE", - VenuePermanentlyClosed: "VENUE_PERMANENTLY_CLOSED", - VenueTemporarilyClosed: "VENUE_TEMPORARILY_CLOSED", - VenueTooSmall: "VENUE_TOO_SMALL", -} as const; -/** - * Reason given for a response to an RFP. - */ -export type RfpResponseReasonJson = ClosedEnum; - -/** @internal */ -export const RfpResponseReasonJson$inboundSchema: z.ZodNativeEnum< - typeof RfpResponseReasonJson -> = z.nativeEnum(RfpResponseReasonJson); diff --git a/packages/typescript/src/models/components/rfpstatus1.ts b/packages/typescript/src/models/components/rfpstatus1.ts new file mode 100644 index 000000000..f8ff4adf5 --- /dev/null +++ b/packages/typescript/src/models/components/rfpstatus1.ts @@ -0,0 +1,27 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Represents state of the RFP. + */ +export const RfpStatus1 = { + Pending: "PENDING", + Active: "ACTIVE", + Awarded: "AWARDED", + Draft: "DRAFT", + Historic: "HISTORIC", + Cancelled: "CANCELLED", + Deleted: "DELETED", +} as const; +/** + * Represents state of the RFP. + */ +export type RfpStatus1 = ClosedEnum; + +/** @internal */ +export const RfpStatus1$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(RfpStatus1); diff --git a/packages/typescript/src/models/components/rfpstatusjson0.ts b/packages/typescript/src/models/components/rfpstatusjson0.ts deleted file mode 100644 index 1a5c470dd..000000000 --- a/packages/typescript/src/models/components/rfpstatusjson0.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Represents state of the RFP. - */ -export const RfpStatusJson0 = { - Pending: "PENDING", - Active: "ACTIVE", - Awarded: "AWARDED", - Draft: "DRAFT", - Historic: "HISTORIC", - Cancelled: "CANCELLED", - Deleted: "DELETED", -} as const; -/** - * Represents state of the RFP. - */ -export type RfpStatusJson0 = ClosedEnum; - -/** @internal */ -export const RfpStatusJson0$inboundSchema: z.ZodNativeEnum< - typeof RfpStatusJson0 -> = z.nativeEnum(RfpStatusJson0); diff --git a/packages/typescript/src/models/components/rfpsupplier.ts b/packages/typescript/src/models/components/rfpsupplier.ts new file mode 100644 index 000000000..7e47672d8 --- /dev/null +++ b/packages/typescript/src/models/components/rfpsupplier.ts @@ -0,0 +1,490 @@ +/* + * 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"; +import { + LeadSourceSection, + LeadSourceSection$inboundSchema, +} from "./leadsourcesection.js"; +import { + RfpResponseReason, + RfpResponseReason$inboundSchema, +} from "./rfpresponsereason.js"; + +/** + * The supplier associated with the RFP. + */ +export type ReferenceToSupplier = { + /** + * The unique identifier of a supplier. + */ + id: string; +}; + +/** + * Reference to an RFP (Request For Proposal) by its ID. + */ +export type ReferenceToRFP = { + /** + * A unique identifier for an RFP + */ + id: string; +}; + +/** + * External supplier associated with the RFP. If planners cannot find a supplier in Cvent, they can add the supplier by providing the name when awarding the RFP. + */ +export type ExternalSupplier = { + /** + * The name of the external supplier. + */ + name?: string | undefined; +}; + +/** + * Supplier Advertisement. + */ +export type FirstClickedSupplierAd = { + /** + * Unique code generated for the supplier advertisement. + */ + code?: string | undefined; +}; + +/** + * Supplier Advertisement. + */ +export type LastClickedSupplierAd = { + /** + * Unique code generated for the supplier advertisement. + */ + code?: string | undefined; +}; + +/** + * Ads clicked by planner while adding supplier on RFP. + */ +export type SupplierAssociatedAds = { + firstClicked?: FirstClickedSupplierAd | undefined; + lastClicked?: LastClickedSupplierAd | undefined; +}; + +/** + * Lead source details. + */ +export type RfpSupplierLeadSource = { + /** + * Unique identifier for source generating the RFP. Details about this lead source can be fetched using lead source API. + */ + id?: string | undefined; + /** + * Represents lead source section details, which is a sub area of source generating the RFP. + */ + section?: LeadSourceSection | undefined; +}; + +/** + * Promotion applied by planner while adding supplier on RFP. + */ +export type Promotion = { + /** + * The unique identifier of the promotion. + */ + id?: string | undefined; +}; + +/** + * The RFP's current status with respect to the supplier. + */ +export const RfpSupplierStatus = { + AwaitingProposal: "AWAITING_PROPOSAL", + Awarded: "AWARDED", + Cancelled: "CANCELLED", + Declined: "DECLINED", + Forwarded: "FORWARDED", + NoResponse: "NO_RESPONSE", + NotSent: "NOT_SENT", + ReceiptConfirmed: "RECEIPT_CONFIRMED", + SubmittedProposal: "SUBMITTED_PROPOSAL", + TurnedDown: "TURNED_DOWN", + Withdrawn: "WITHDRAWN", +} as const; +/** + * The RFP's current status with respect to the supplier. + */ +export type RfpSupplierStatus = ClosedEnum; + +/** + * Contains response from supplier on an RFP. + */ +export type SupplierResponse = { + /** + * The ISO 8601 date time (in UTC) when the response was sent by supplier. + */ + dateTime?: Date | undefined; + /** + * Reason given for a response to an RFP. + */ + reason?: RfpResponseReason | undefined; + /** + * Comment for the response reason. + */ + comment?: string | undefined; +}; + +/** + * Supplier data for an RFP. + */ +export type RfpSupplier = { + /** + * 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; + /** + * The supplier associated with the RFP. + */ + supplier?: ReferenceToSupplier | undefined; + rfp?: ReferenceToRFP | undefined; + /** + * External supplier associated with the RFP. If planners cannot find a supplier in Cvent, they can add the supplier by providing the name when awarding the RFP. + */ + externalSupplier?: ExternalSupplier | undefined; + associatedAdvertisements?: SupplierAssociatedAds | undefined; + /** + * True indicates that proposal creation is in progress by supplier. + */ + proposalInProgress?: boolean | undefined; + /** + * Internal note by planner for supplier. This is not visible to the supplier. + */ + internalNote?: string | undefined; + leadSource?: RfpSupplierLeadSource | undefined; + /** + * True indicates the largest meeting room criteria is met. + */ + largestMeetingRoomMet?: boolean | undefined; + /** + * True indicates the number of guest rooms criteria is met. + */ + numberOfGuestRoomsMet?: boolean | undefined; + /** + * True indicates the total meeting space criteria is met. + */ + totalMeetingSpaceMet?: boolean | undefined; + /** + * Promotion applied by planner while adding supplier on RFP. + */ + promotion?: Promotion | undefined; + /** + * Recommendations added by planner for supplier. + */ + recommendationNote?: string | undefined; + /** + * Shortlisted order for the supplier. + */ + shortlistOrder?: number | undefined; + /** + * True indicates the supplier was added by using RFP showcase feature. + */ + showcase?: boolean | undefined; + /** + * True indicates the RFP is starred by supplier. This is not visible to the planner. + */ + starred?: boolean | undefined; + status?: RfpSupplierStatus | undefined; + /** + * The ISO 8601 date time (in UTC) when the status was last changed. + */ + statusChangedDateTime?: Date | undefined; + /** + * Name of the recipient associated with supplier who responded to the RFP. + */ + responder?: string | undefined; + response?: SupplierResponse | undefined; + /** + * Unique identifier for proposal created by supplier in the external system where it originated. + */ + externalProposalId?: string | undefined; + /** + * Unique identifier for RFP in the external system where it originated. + */ + externalId?: string | undefined; + /** + * The unique identifier generated when supplier forwards the RFP to other suppliers. + */ + forwardId?: string | undefined; + /** + * The ISO 8601 date time (in UTC) when the RFP was last sent to the supplier. + */ + lastSentDateTime?: Date | undefined; + /** + * The ISO 8601 date time (in UTC) when the RFP was last viewed by the supplier. + */ + lastViewedDateTime?: Date | undefined; + /** + * The ISO 8601 date time (in UTC) when the RFP was originally sent to the supplier. + */ + sentDateTime?: Date | undefined; + /** + * True indicates the RFP was sent to NSO (National Sales Office) associated with supplier. + */ + sentToNso?: boolean | undefined; +}; + +/** @internal */ +export const ReferenceToSupplier$inboundSchema: z.ZodType< + ReferenceToSupplier, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), +}); + +export function referenceToSupplierFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ReferenceToSupplier$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ReferenceToSupplier' from JSON`, + ); +} + +/** @internal */ +export const ReferenceToRFP$inboundSchema: z.ZodType< + ReferenceToRFP, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), +}); + +export function referenceToRFPFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ReferenceToRFP$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ReferenceToRFP' from JSON`, + ); +} + +/** @internal */ +export const ExternalSupplier$inboundSchema: z.ZodType< + ExternalSupplier, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string().optional(), +}); + +export function externalSupplierFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ExternalSupplier$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ExternalSupplier' from JSON`, + ); +} + +/** @internal */ +export const FirstClickedSupplierAd$inboundSchema: z.ZodType< + FirstClickedSupplierAd, + z.ZodTypeDef, + unknown +> = z.object({ + code: z.string().optional(), +}); + +export function firstClickedSupplierAdFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FirstClickedSupplierAd$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FirstClickedSupplierAd' from JSON`, + ); +} + +/** @internal */ +export const LastClickedSupplierAd$inboundSchema: z.ZodType< + LastClickedSupplierAd, + z.ZodTypeDef, + unknown +> = z.object({ + code: z.string().optional(), +}); + +export function lastClickedSupplierAdFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => LastClickedSupplierAd$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'LastClickedSupplierAd' from JSON`, + ); +} + +/** @internal */ +export const SupplierAssociatedAds$inboundSchema: z.ZodType< + SupplierAssociatedAds, + z.ZodTypeDef, + unknown +> = z.object({ + firstClicked: z.lazy(() => FirstClickedSupplierAd$inboundSchema).optional(), + lastClicked: z.lazy(() => LastClickedSupplierAd$inboundSchema).optional(), +}); + +export function supplierAssociatedAdsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SupplierAssociatedAds$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SupplierAssociatedAds' from JSON`, + ); +} + +/** @internal */ +export const RfpSupplierLeadSource$inboundSchema: z.ZodType< + RfpSupplierLeadSource, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + section: LeadSourceSection$inboundSchema.optional(), +}); + +export function rfpSupplierLeadSourceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RfpSupplierLeadSource$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RfpSupplierLeadSource' from JSON`, + ); +} + +/** @internal */ +export const Promotion$inboundSchema: z.ZodType< + Promotion, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function promotionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Promotion$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Promotion' from JSON`, + ); +} + +/** @internal */ +export const RfpSupplierStatus$inboundSchema: z.ZodNativeEnum< + typeof RfpSupplierStatus +> = z.nativeEnum(RfpSupplierStatus); + +/** @internal */ +export const SupplierResponse$inboundSchema: z.ZodType< + SupplierResponse, + z.ZodTypeDef, + unknown +> = z.object({ + dateTime: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + reason: RfpResponseReason$inboundSchema.optional(), + comment: z.string().optional(), +}); + +export function supplierResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SupplierResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SupplierResponse' from JSON`, + ); +} + +/** @internal */ +export const RfpSupplier$inboundSchema: z.ZodType< + RfpSupplier, + 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(), + supplier: z.lazy(() => ReferenceToSupplier$inboundSchema).optional(), + rfp: z.lazy(() => ReferenceToRFP$inboundSchema).optional(), + externalSupplier: z.lazy(() => ExternalSupplier$inboundSchema).optional(), + associatedAdvertisements: z.lazy(() => SupplierAssociatedAds$inboundSchema) + .optional(), + proposalInProgress: z.boolean().optional(), + internalNote: z.string().optional(), + leadSource: z.lazy(() => RfpSupplierLeadSource$inboundSchema).optional(), + largestMeetingRoomMet: z.boolean().optional(), + numberOfGuestRoomsMet: z.boolean().optional(), + totalMeetingSpaceMet: z.boolean().optional(), + promotion: z.lazy(() => Promotion$inboundSchema).optional(), + recommendationNote: z.string().optional(), + shortlistOrder: z.number().int().optional(), + showcase: z.boolean().optional(), + starred: z.boolean().optional(), + status: RfpSupplierStatus$inboundSchema.optional(), + statusChangedDateTime: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ).optional(), + responder: z.string().optional(), + response: z.lazy(() => SupplierResponse$inboundSchema).optional(), + externalProposalId: z.string().optional(), + externalId: z.string().optional(), + forwardId: z.string().optional(), + lastSentDateTime: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ).optional(), + lastViewedDateTime: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ).optional(), + sentDateTime: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ).optional(), + sentToNso: z.boolean().optional(), +}); + +export function rfpSupplierFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RfpSupplier$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RfpSupplier' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/rfpsupplierjson.ts b/packages/typescript/src/models/components/rfpsupplierjson.ts deleted file mode 100644 index d8287fc48..000000000 --- a/packages/typescript/src/models/components/rfpsupplierjson.ts +++ /dev/null @@ -1,490 +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 { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { - LeadSourceSectionJson, - LeadSourceSectionJson$inboundSchema, -} from "./leadsourcesectionjson.js"; -import { - RfpResponseReasonJson, - RfpResponseReasonJson$inboundSchema, -} from "./rfpresponsereasonjson.js"; - -/** - * The supplier associated with the RFP. - */ -export type ReferenceToSupplier = { - /** - * The unique identifier of a supplier. - */ - id: string; -}; - -/** - * Reference to an RFP (Request For Proposal) by its ID. - */ -export type ReferenceToRFP = { - /** - * A unique identifier for an RFP - */ - id: string; -}; - -/** - * External supplier associated with the RFP. If planners cannot find a supplier in Cvent, they can add the supplier by providing the name when awarding the RFP. - */ -export type ExternalSupplier = { - /** - * The name of the external supplier. - */ - name?: string | undefined; -}; - -/** - * Supplier Advertisement. - */ -export type FirstClickedSupplierAd = { - /** - * Unique code generated for the supplier advertisement. - */ - code?: string | undefined; -}; - -/** - * Supplier Advertisement. - */ -export type LastClickedSupplierAd = { - /** - * Unique code generated for the supplier advertisement. - */ - code?: string | undefined; -}; - -/** - * Ads clicked by planner while adding supplier on RFP. - */ -export type SupplierAssociatedAds = { - firstClicked?: FirstClickedSupplierAd | undefined; - lastClicked?: LastClickedSupplierAd | undefined; -}; - -/** - * Lead source details. - */ -export type LeadSource = { - /** - * Unique identifier for source generating the RFP. Details about this lead source can be fetched using lead source API. - */ - id?: string | undefined; - /** - * Represents lead source section details, which is a sub area of source generating the RFP. - */ - section?: LeadSourceSectionJson | undefined; -}; - -/** - * Promotion applied by planner while adding supplier on RFP. - */ -export type Promotion = { - /** - * The unique identifier of the promotion. - */ - id?: string | undefined; -}; - -/** - * The RFP's current status with respect to the supplier. - */ -export const RfpSupplierStatus = { - AwaitingProposal: "AWAITING_PROPOSAL", - Awarded: "AWARDED", - Cancelled: "CANCELLED", - Declined: "DECLINED", - Forwarded: "FORWARDED", - NoResponse: "NO_RESPONSE", - NotSent: "NOT_SENT", - ReceiptConfirmed: "RECEIPT_CONFIRMED", - SubmittedProposal: "SUBMITTED_PROPOSAL", - TurnedDown: "TURNED_DOWN", - Withdrawn: "WITHDRAWN", -} as const; -/** - * The RFP's current status with respect to the supplier. - */ -export type RfpSupplierStatus = ClosedEnum; - -/** - * Contains response from supplier on an RFP. - */ -export type SupplierResponse = { - /** - * The ISO 8601 date time (in UTC) when the response was sent by supplier. - */ - dateTime?: Date | undefined; - /** - * Reason given for a response to an RFP. - */ - reason?: RfpResponseReasonJson | undefined; - /** - * Comment for the response reason. - */ - comment?: string | undefined; -}; - -/** - * Supplier data for an RFP. - */ -export type RfpSupplierJson = { - /** - * 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; - /** - * The supplier associated with the RFP. - */ - supplier: ReferenceToSupplier; - rfp?: ReferenceToRFP | undefined; - /** - * External supplier associated with the RFP. If planners cannot find a supplier in Cvent, they can add the supplier by providing the name when awarding the RFP. - */ - externalSupplier?: ExternalSupplier | undefined; - associatedAdvertisements?: SupplierAssociatedAds | undefined; - /** - * True indicates that proposal creation is in progress by supplier. - */ - proposalInProgress?: boolean | undefined; - /** - * Internal note by planner for supplier. This is not visible to the supplier. - */ - internalNote?: string | undefined; - leadSource?: LeadSource | undefined; - /** - * True indicates the largest meeting room criteria is met. - */ - largestMeetingRoomMet?: boolean | undefined; - /** - * True indicates the number of guest rooms criteria is met. - */ - numberOfGuestRoomsMet?: boolean | undefined; - /** - * True indicates the total meeting space criteria is met. - */ - totalMeetingSpaceMet?: boolean | undefined; - /** - * Promotion applied by planner while adding supplier on RFP. - */ - promotion?: Promotion | undefined; - /** - * Recommendations added by planner for supplier. - */ - recommendationNote?: string | undefined; - /** - * Shortlisted order for the supplier. - */ - shortlistOrder?: number | undefined; - /** - * True indicates the supplier was added by using RFP showcase feature. - */ - showcase?: boolean | undefined; - /** - * True indicates the RFP is starred by supplier. This is not visible to the planner. - */ - starred?: boolean | undefined; - status?: RfpSupplierStatus | undefined; - /** - * The ISO 8601 date time (in UTC) when the status was last changed. - */ - statusChangedDateTime?: Date | undefined; - /** - * Name of the recipient associated with supplier who responded to the RFP. - */ - responder?: string | undefined; - response?: SupplierResponse | undefined; - /** - * Unique identifier for proposal created by supplier in the external system where it originated. - */ - externalProposalId?: string | undefined; - /** - * Unique identifier for RFP in the external system where it originated. - */ - externalId?: string | undefined; - /** - * The unique identifier generated when supplier forwards the RFP to other suppliers. - */ - forwardId?: string | undefined; - /** - * The ISO 8601 date time (in UTC) when the RFP was last sent to the supplier. - */ - lastSentDateTime?: Date | undefined; - /** - * The ISO 8601 date time (in UTC) when the RFP was last viewed by the supplier. - */ - lastViewedDateTime?: Date | undefined; - /** - * The ISO 8601 date time (in UTC) when the RFP was originally sent to the supplier. - */ - sentDateTime?: Date | undefined; - /** - * True indicates the RFP was sent to NSO (National Sales Office) associated with supplier. - */ - sentToNso?: boolean | undefined; -}; - -/** @internal */ -export const ReferenceToSupplier$inboundSchema: z.ZodType< - ReferenceToSupplier, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), -}); - -export function referenceToSupplierFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ReferenceToSupplier$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ReferenceToSupplier' from JSON`, - ); -} - -/** @internal */ -export const ReferenceToRFP$inboundSchema: z.ZodType< - ReferenceToRFP, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), -}); - -export function referenceToRFPFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ReferenceToRFP$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ReferenceToRFP' from JSON`, - ); -} - -/** @internal */ -export const ExternalSupplier$inboundSchema: z.ZodType< - ExternalSupplier, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string().optional(), -}); - -export function externalSupplierFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ExternalSupplier$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ExternalSupplier' from JSON`, - ); -} - -/** @internal */ -export const FirstClickedSupplierAd$inboundSchema: z.ZodType< - FirstClickedSupplierAd, - z.ZodTypeDef, - unknown -> = z.object({ - code: z.string().optional(), -}); - -export function firstClickedSupplierAdFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FirstClickedSupplierAd$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FirstClickedSupplierAd' from JSON`, - ); -} - -/** @internal */ -export const LastClickedSupplierAd$inboundSchema: z.ZodType< - LastClickedSupplierAd, - z.ZodTypeDef, - unknown -> = z.object({ - code: z.string().optional(), -}); - -export function lastClickedSupplierAdFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => LastClickedSupplierAd$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'LastClickedSupplierAd' from JSON`, - ); -} - -/** @internal */ -export const SupplierAssociatedAds$inboundSchema: z.ZodType< - SupplierAssociatedAds, - z.ZodTypeDef, - unknown -> = z.object({ - firstClicked: z.lazy(() => FirstClickedSupplierAd$inboundSchema).optional(), - lastClicked: z.lazy(() => LastClickedSupplierAd$inboundSchema).optional(), -}); - -export function supplierAssociatedAdsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SupplierAssociatedAds$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SupplierAssociatedAds' from JSON`, - ); -} - -/** @internal */ -export const LeadSource$inboundSchema: z.ZodType< - LeadSource, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - section: LeadSourceSectionJson$inboundSchema.optional(), -}); - -export function leadSourceFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => LeadSource$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'LeadSource' from JSON`, - ); -} - -/** @internal */ -export const Promotion$inboundSchema: z.ZodType< - Promotion, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function promotionFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Promotion$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Promotion' from JSON`, - ); -} - -/** @internal */ -export const RfpSupplierStatus$inboundSchema: z.ZodNativeEnum< - typeof RfpSupplierStatus -> = z.nativeEnum(RfpSupplierStatus); - -/** @internal */ -export const SupplierResponse$inboundSchema: z.ZodType< - SupplierResponse, - z.ZodTypeDef, - unknown -> = z.object({ - dateTime: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - reason: RfpResponseReasonJson$inboundSchema.optional(), - comment: z.string().optional(), -}); - -export function supplierResponseFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SupplierResponse$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SupplierResponse' from JSON`, - ); -} - -/** @internal */ -export const RfpSupplierJson$inboundSchema: z.ZodType< - RfpSupplierJson, - 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(), - supplier: z.lazy(() => ReferenceToSupplier$inboundSchema), - rfp: z.lazy(() => ReferenceToRFP$inboundSchema).optional(), - externalSupplier: z.lazy(() => ExternalSupplier$inboundSchema).optional(), - associatedAdvertisements: z.lazy(() => SupplierAssociatedAds$inboundSchema) - .optional(), - proposalInProgress: z.boolean().optional(), - internalNote: z.string().optional(), - leadSource: z.lazy(() => LeadSource$inboundSchema).optional(), - largestMeetingRoomMet: z.boolean().optional(), - numberOfGuestRoomsMet: z.boolean().optional(), - totalMeetingSpaceMet: z.boolean().optional(), - promotion: z.lazy(() => Promotion$inboundSchema).optional(), - recommendationNote: z.string().optional(), - shortlistOrder: z.number().int().optional(), - showcase: z.boolean().optional(), - starred: z.boolean().optional(), - status: RfpSupplierStatus$inboundSchema.optional(), - statusChangedDateTime: z.string().datetime({ offset: true }).transform(v => - new Date(v) - ).optional(), - responder: z.string().optional(), - response: z.lazy(() => SupplierResponse$inboundSchema).optional(), - externalProposalId: z.string().optional(), - externalId: z.string().optional(), - forwardId: z.string().optional(), - lastSentDateTime: z.string().datetime({ offset: true }).transform(v => - new Date(v) - ).optional(), - lastViewedDateTime: z.string().datetime({ offset: true }).transform(v => - new Date(v) - ).optional(), - sentDateTime: z.string().datetime({ offset: true }).transform(v => - new Date(v) - ).optional(), - sentToNso: z.boolean().optional(), -}); - -export function rfpSupplierJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RfpSupplierJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RfpSupplierJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/rfptype1.ts b/packages/typescript/src/models/components/rfptype1.ts new file mode 100644 index 000000000..086be2843 --- /dev/null +++ b/packages/typescript/src/models/components/rfptype1.ts @@ -0,0 +1,25 @@ +/* + * 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/rfptypejson0.ts b/packages/typescript/src/models/components/rfptypejson0.ts deleted file mode 100644 index 1edf77c9d..000000000 --- a/packages/typescript/src/models/components/rfptypejson0.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 RfpTypeJson0 = { - 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 RfpTypeJson0 = ClosedEnum; - -/** @internal */ -export const RfpTypeJson0$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(RfpTypeJson0); diff --git a/packages/typescript/src/models/components/roombedtypejson.ts b/packages/typescript/src/models/components/roombedtypejson.ts new file mode 100644 index 000000000..426ce8895 --- /dev/null +++ b/packages/typescript/src/models/components/roombedtypejson.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"; + +/** + * Code representing the bed type. + */ +export const RoomBedTypeJson = { + SofaBed: "sofa_bed", + Double: "double", + Full: "full", + King: "king", + Murphy: "murphy", + Queen: "queen", + RunOfHouse: "run_of_house", + Single: "single", + Twin: "twin", +} as const; +/** + * Code representing the bed type. + */ +export type RoomBedTypeJson = ClosedEnum; + +/** @internal */ +export const RoomBedTypeJson$inboundSchema: z.ZodNativeEnum< + typeof RoomBedTypeJson +> = z.nativeEnum(RoomBedTypeJson); diff --git a/packages/typescript/src/models/components/roombedtypejson1.ts b/packages/typescript/src/models/components/roombedtypejson1.ts deleted file mode 100644 index 37c23d084..000000000 --- a/packages/typescript/src/models/components/roombedtypejson1.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Code representing the bed type. - */ -export const RoomBedTypeJson1 = { - SofaBed: "sofa_bed", - Double: "double", - Full: "full", - King: "king", - Murphy: "murphy", - Queen: "queen", - RunOfHouse: "run_of_house", - Single: "single", - Twin: "twin", -} as const; -/** - * Code representing the bed type. - */ -export type RoomBedTypeJson1 = ClosedEnum; - -/** @internal */ -export const RoomBedTypeJson1$inboundSchema: z.ZodNativeEnum< - typeof RoomBedTypeJson1 -> = z.nativeEnum(RoomBedTypeJson1); diff --git a/packages/typescript/src/models/components/roomblock.ts b/packages/typescript/src/models/components/roomblock.ts new file mode 100644 index 000000000..892b96e19 --- /dev/null +++ b/packages/typescript/src/models/components/roomblock.ts @@ -0,0 +1,62 @@ +/* + * 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 { RFCDate } from "../../types/rfcdate.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + RoomBlockDetails, + RoomBlockDetails$inboundSchema, +} from "./roomblockdetails.js"; + +/** + * Contains details related to room allotment for a day. + */ +export type RoomBlock = { + /** + * Unique identifier for the room block. + */ + id?: string | undefined; + /** + * The ISO 8601 date when the rooms are required. + */ + date?: RFCDate | undefined; + /** + * Counter for day number. + */ + dayNumber?: number | undefined; + /** + * Total number of rooms required for the day. + */ + totalRooms?: number | undefined; + /** + * Contains detail of quantity required for each room type. + */ + details?: Array | undefined; +}; + +/** @internal */ +export const RoomBlock$inboundSchema: z.ZodType< + RoomBlock, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + date: z.string().transform(v => new RFCDate(v)).optional(), + dayNumber: z.number().int().optional(), + totalRooms: z.number().int().optional(), + details: z.array(RoomBlockDetails$inboundSchema).optional(), +}); + +export function roomBlockFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RoomBlock$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RoomBlock' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/roomblockdetails.ts b/packages/typescript/src/models/components/roomblockdetails.ts new file mode 100644 index 000000000..9e7fc9c71 --- /dev/null +++ b/packages/typescript/src/models/components/roomblockdetails.ts @@ -0,0 +1,43 @@ +/* + * 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 { GuestRoomType, GuestRoomType$inboundSchema } from "./guestroomtype.js"; + +/** + * Contains details related to room allotment for a room type. + */ +export type RoomBlockDetails = { + /** + * Quantity of rooms required. + */ + quantity?: number | undefined; + /** + * 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; +}; + +/** @internal */ +export const RoomBlockDetails$inboundSchema: z.ZodType< + RoomBlockDetails, + z.ZodTypeDef, + unknown +> = z.object({ + quantity: z.number().int().optional(), + type: GuestRoomType$inboundSchema.optional(), +}); + +export function roomBlockDetailsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RoomBlockDetails$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RoomBlockDetails' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/roomblockdetailsjson.ts b/packages/typescript/src/models/components/roomblockdetailsjson.ts deleted file mode 100644 index b12ec39c9..000000000 --- a/packages/typescript/src/models/components/roomblockdetailsjson.ts +++ /dev/null @@ -1,46 +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 { - GuestRoomTypeJson, - GuestRoomTypeJson$inboundSchema, -} from "./guestroomtypejson.js"; - -/** - * Contains details related to room allotment for a room type. - */ -export type RoomBlockDetailsJson = { - /** - * Quantity of rooms required. - */ - quantity?: number | undefined; - /** - * 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?: GuestRoomTypeJson | undefined; -}; - -/** @internal */ -export const RoomBlockDetailsJson$inboundSchema: z.ZodType< - RoomBlockDetailsJson, - z.ZodTypeDef, - unknown -> = z.object({ - quantity: z.number().int().optional(), - type: GuestRoomTypeJson$inboundSchema.optional(), -}); - -export function roomBlockDetailsJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RoomBlockDetailsJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RoomBlockDetailsJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/roomblockjson.ts b/packages/typescript/src/models/components/roomblockjson.ts deleted file mode 100644 index c0f83724d..000000000 --- a/packages/typescript/src/models/components/roomblockjson.ts +++ /dev/null @@ -1,62 +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 { RFCDate } from "../../types/rfcdate.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { - RoomBlockDetailsJson, - RoomBlockDetailsJson$inboundSchema, -} from "./roomblockdetailsjson.js"; - -/** - * Contains details related to room allotment for a day. - */ -export type RoomBlockJson = { - /** - * Unique identifier for the room block. - */ - id?: string | undefined; - /** - * The ISO 8601 date when the rooms are required. - */ - date?: RFCDate | undefined; - /** - * Counter for day number. - */ - dayNumber?: number | undefined; - /** - * Total number of rooms required for the day. - */ - totalRooms?: number | undefined; - /** - * Contains detail of quantity required for each room type. - */ - details?: Array | undefined; -}; - -/** @internal */ -export const RoomBlockJson$inboundSchema: z.ZodType< - RoomBlockJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - date: z.string().transform(v => new RFCDate(v)).optional(), - dayNumber: z.number().int().optional(), - totalRooms: z.number().int().optional(), - details: z.array(RoomBlockDetailsJson$inboundSchema).optional(), -}); - -export function roomBlockJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => RoomBlockJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RoomBlockJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/scoresjson.ts b/packages/typescript/src/models/components/scoresjson.ts index b1d1a6346..b67db9643 100644 --- a/packages/typescript/src/models/components/scoresjson.ts +++ b/packages/typescript/src/models/components/scoresjson.ts @@ -6,7 +6,7 @@ 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 { EventJson6, EventJson6$inboundSchema } from "./eventjson6.js"; +import { EventJson5, EventJson5$inboundSchema } from "./eventjson5.js"; /** * The attendee with points in this engagement score. @@ -45,7 +45,7 @@ export type ScoresJson = { /** * An event reference used in attendee insights to identify the event context for engagement data */ - event: EventJson6; + event: EventJson5; /** * The number of points earned by an attendee in this engagement score. */ @@ -89,7 +89,7 @@ export const ScoresJson$inboundSchema: z.ZodType< ).optional(), lastModifiedBy: z.string().optional(), attendee: z.lazy(() => ScoresJsonAttendee$inboundSchema), - event: EventJson6$inboundSchema, + event: EventJson5$inboundSchema, points: z.number().int().default(0), rank: z.number().int().default(0), }); diff --git a/packages/typescript/src/models/components/sendemaileventrequest.ts b/packages/typescript/src/models/components/sendemaileventrequest.ts index e86000657..e9ff8a688 100644 --- a/packages/typescript/src/models/components/sendemaileventrequest.ts +++ b/packages/typescript/src/models/components/sendemaileventrequest.ts @@ -9,10 +9,10 @@ import { EmailJson2$outboundSchema, } from "./emailjson2.js"; import { - EventJson8, - EventJson8$Outbound, - EventJson8$outboundSchema, -} from "./eventjson8.js"; + EventJson6, + EventJson6$Outbound, + EventJson6$outboundSchema, +} from "./eventjson6.js"; /** * Request object to send an email to one or more event attendees. @@ -21,7 +21,7 @@ export type SendEmailEventRequest = { /** * Details of the event. */ - event: EventJson8; + event: EventJson6; /** * Details of an email to be send. */ @@ -38,7 +38,7 @@ export type SendEmailEventRequest = { /** @internal */ export type SendEmailEventRequest$Outbound = { - event: EventJson8$Outbound; + event: EventJson6$Outbound; email: EmailJson2$Outbound; resendToPreviousRecipients: boolean; attendees: Array; @@ -50,7 +50,7 @@ export const SendEmailEventRequest$outboundSchema: z.ZodType< z.ZodTypeDef, SendEmailEventRequest > = z.object({ - event: EventJson8$outboundSchema, + event: EventJson6$outboundSchema, email: EmailJson2$outboundSchema, resendToPreviousRecipients: z.boolean(), attendees: z.array(z.string()), diff --git a/packages/typescript/src/models/components/sendemaileventresponse.ts b/packages/typescript/src/models/components/sendemaileventresponse.ts index bc842d810..c6e3911ae 100644 --- a/packages/typescript/src/models/components/sendemaileventresponse.ts +++ b/packages/typescript/src/models/components/sendemaileventresponse.ts @@ -11,7 +11,7 @@ import { AttendeeResponseJson$inboundSchema, } from "./attendeeresponsejson.js"; import { EmailJson2, EmailJson2$inboundSchema } from "./emailjson2.js"; -import { EventJson8, EventJson8$inboundSchema } from "./eventjson8.js"; +import { EventJson6, EventJson6$inboundSchema } from "./eventjson6.js"; import { SendEmailRequestStatusJson, SendEmailRequestStatusJson$inboundSchema, @@ -52,7 +52,7 @@ export type SendEmailEventResponse = { /** * Details of the event. */ - event: EventJson8; + event: EventJson6; /** * Details of an email to be send. */ @@ -83,7 +83,7 @@ export const SendEmailEventResponse$inboundSchema: z.ZodType< requestId: z.string(), status: SendEmailRequestStatusJson$inboundSchema.optional(), description: z.string().optional(), - event: EventJson8$inboundSchema, + event: EventJson6$inboundSchema, email: EmailJson2$inboundSchema, resendToPreviousRecipients: z.boolean(), attendeeResponses: z.array(AttendeeResponseJson$inboundSchema).optional(), diff --git a/packages/typescript/src/models/components/sessionlite.ts b/packages/typescript/src/models/components/sessionlite.ts new file mode 100644 index 000000000..57bd2c2ac --- /dev/null +++ b/packages/typescript/src/models/components/sessionlite.ts @@ -0,0 +1,37 @@ +/* + * 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"; + +/** + * The unique identifier of a session. + */ +export type SessionLite = { + /** + * The unique identifier for a session. + */ + id: string; +}; + +/** @internal */ +export const SessionLite$inboundSchema: z.ZodType< + SessionLite, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), +}); + +export function sessionLiteFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SessionLite$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SessionLite' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/sessionlitejson.ts b/packages/typescript/src/models/components/sessionlitejson.ts deleted file mode 100644 index 42d98a67f..000000000 --- a/packages/typescript/src/models/components/sessionlitejson.ts +++ /dev/null @@ -1,37 +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"; - -/** - * The unique identifier of a session. - */ -export type SessionLiteJson = { - /** - * The unique identifier for a session. - */ - id: string; -}; - -/** @internal */ -export const SessionLiteJson$inboundSchema: z.ZodType< - SessionLiteJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), -}); - -export function sessionLiteJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SessionLiteJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SessionLiteJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/sessionspeaker.ts b/packages/typescript/src/models/components/sessionspeaker.ts new file mode 100644 index 000000000..347bdb21d --- /dev/null +++ b/packages/typescript/src/models/components/sessionspeaker.ts @@ -0,0 +1,57 @@ +/* + * 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 { SessionLite, SessionLite$inboundSchema } from "./sessionlite.js"; +import { + SpeakerCategory1, + SpeakerCategory1$inboundSchema, +} from "./speakercategory1.js"; + +/** + * A session speaker + */ +export type SessionSpeaker = { + /** + * A string that has to be a format matching the industry standard uuid + */ + id?: string | undefined; + /** + * The unique identifier of a session. + */ + session?: SessionLite | undefined; + /** + * A defined speaker category. + */ + category?: SpeakerCategory1 | undefined; + /** + * The order of the speaker in a session. + */ + order?: number | undefined; +}; + +/** @internal */ +export const SessionSpeaker$inboundSchema: z.ZodType< + SessionSpeaker, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + session: SessionLite$inboundSchema.optional(), + category: SpeakerCategory1$inboundSchema.optional(), + order: z.number().int().optional(), +}); + +export function sessionSpeakerFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SessionSpeaker$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SessionSpeaker' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/sessionspeakerjson.ts b/packages/typescript/src/models/components/sessionspeakerjson.ts deleted file mode 100644 index 7c3dc85b1..000000000 --- a/packages/typescript/src/models/components/sessionspeakerjson.ts +++ /dev/null @@ -1,60 +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 { - CategoryIdNameJson, - CategoryIdNameJson$inboundSchema, -} from "./categoryidnamejson.js"; -import { - SessionLiteJson, - SessionLiteJson$inboundSchema, -} from "./sessionlitejson.js"; - -/** - * A session speaker - */ -export type SessionSpeakerJson = { - /** - * A string that has to be a format matching the industry standard uuid - */ - id?: string | undefined; - /** - * The unique identifier of a session. - */ - session?: SessionLiteJson | undefined; - /** - * A defined speaker category. - */ - category?: CategoryIdNameJson | undefined; - /** - * The order of the speaker in a session. - */ - order?: number | undefined; -}; - -/** @internal */ -export const SessionSpeakerJson$inboundSchema: z.ZodType< - SessionSpeakerJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - session: SessionLiteJson$inboundSchema.optional(), - category: CategoryIdNameJson$inboundSchema.optional(), - order: z.number().int().optional(), -}); - -export function sessionSpeakerJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SessionSpeakerJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SessionSpeakerJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/sessionspeakerpaginatedresponse.ts b/packages/typescript/src/models/components/sessionspeakerpaginatedresponse.ts index 1818198e5..0e49f726f 100644 --- a/packages/typescript/src/models/components/sessionspeakerpaginatedresponse.ts +++ b/packages/typescript/src/models/components/sessionspeakerpaginatedresponse.ts @@ -6,11 +6,11 @@ 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 { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; import { - SessionSpeakerJson, - SessionSpeakerJson$inboundSchema, -} from "./sessionspeakerjson.js"; + SessionSpeaker, + SessionSpeaker$inboundSchema, +} from "./sessionspeaker.js"; /** * The response from a request to get the list of session speakers. This includes the paging object as well as the collection of session speakers. @@ -19,11 +19,11 @@ export type SessionSpeakerPaginatedResponse = { /** * Represents pagination information for a collection of resources. */ - paging: PagingJson; + paging: Paging; /** * Collection of a session's speakers. */ - data: Array; + data: Array; }; /** @internal */ @@ -32,8 +32,8 @@ export const SessionSpeakerPaginatedResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema, - data: z.array(SessionSpeakerJson$inboundSchema), + paging: Paging$inboundSchema, + data: z.array(SessionSpeaker$inboundSchema), }); export function sessionSpeakerPaginatedResponseFromJSON( diff --git a/packages/typescript/src/models/components/sleepingroomblockjson.ts b/packages/typescript/src/models/components/sleepingroomblockjson.ts index 1f5dc25d0..e35303a93 100644 --- a/packages/typescript/src/models/components/sleepingroomblockjson.ts +++ b/packages/typescript/src/models/components/sleepingroomblockjson.ts @@ -8,10 +8,10 @@ import { Result as SafeParseResult } from "../../types/fp.js"; import { RFCDate } from "../../types/rfcdate.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - DateTypeJson1, - DateTypeJson1$inboundSchema, - DateTypeJson1$outboundSchema, -} from "./datetypejson1.js"; + DateTypeJson, + DateTypeJson$inboundSchema, + DateTypeJson$outboundSchema, +} from "./datetypejson.js"; import { SleepingRoomTypeJson, SleepingRoomTypeJson$inboundSchema, @@ -25,7 +25,7 @@ export type SleepingRoomBlockJson = { /** * The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). */ - proposalDateType?: DateTypeJson1 | undefined; + proposalDateType?: DateTypeJson | undefined; /** * Sleeping room type */ @@ -50,7 +50,7 @@ export const SleepingRoomBlockJson$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - proposalDateType: DateTypeJson1$inboundSchema.default("PREFERRED"), + proposalDateType: DateTypeJson$inboundSchema.default("PREFERRED"), sleepingRoomType: SleepingRoomTypeJson$inboundSchema.optional(), date: z.string().transform(v => new RFCDate(v)).optional(), quantity: z.number().int().optional(), @@ -71,7 +71,7 @@ export const SleepingRoomBlockJson$outboundSchema: z.ZodType< z.ZodTypeDef, SleepingRoomBlockJson > = z.object({ - proposalDateType: DateTypeJson1$outboundSchema.default("PREFERRED"), + proposalDateType: DateTypeJson$outboundSchema.default("PREFERRED"), sleepingRoomType: SleepingRoomTypeJson$outboundSchema.optional(), date: z.instanceof(RFCDate).transform(v => v.toString()).optional(), quantity: z.number().int().optional(), diff --git a/packages/typescript/src/models/components/sleepingroomjson.ts b/packages/typescript/src/models/components/sleepingroomjson.ts index 4e9802fe6..ec9f26754 100644 --- a/packages/typescript/src/models/components/sleepingroomjson.ts +++ b/packages/typescript/src/models/components/sleepingroomjson.ts @@ -8,10 +8,10 @@ import { Result as SafeParseResult } from "../../types/fp.js"; import { RFCDate } from "../../types/rfcdate.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - DateTypeJson1, - DateTypeJson1$inboundSchema, - DateTypeJson1$outboundSchema, -} from "./datetypejson1.js"; + DateTypeJson, + DateTypeJson$inboundSchema, + DateTypeJson$outboundSchema, +} from "./datetypejson.js"; import { SleepingRoomBlockJson, SleepingRoomBlockJson$inboundSchema, @@ -26,7 +26,7 @@ export type SleepingRoomJson = { /** * The date types used for the proposal, 'PREFERRED' have the highest priority. Values prefixed with 'ALTERNATE_' are decreasing in priority (e.g., ALTERNATE_1 has higher priority than 'ALTERNATE_2 and so on). */ - proposalDateType?: DateTypeJson1 | undefined; + proposalDateType?: DateTypeJson | undefined; /** * The check in date for attendees. */ @@ -91,7 +91,7 @@ export const SleepingRoomJson$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - proposalDateType: DateTypeJson1$inboundSchema.default("PREFERRED"), + proposalDateType: DateTypeJson$inboundSchema.default("PREFERRED"), checkInDate: z.string().transform(v => new RFCDate(v)).optional(), checkOutDate: z.string().transform(v => new RFCDate(v)).optional(), peakRoomNights: z.number().int().optional(), @@ -132,7 +132,7 @@ export const SleepingRoomJson$outboundSchema: z.ZodType< z.ZodTypeDef, SleepingRoomJson > = z.object({ - proposalDateType: DateTypeJson1$outboundSchema.default("PREFERRED"), + proposalDateType: DateTypeJson$outboundSchema.default("PREFERRED"), checkInDate: z.instanceof(RFCDate).transform(v => v.toString()).optional(), checkOutDate: z.instanceof(RFCDate).transform(v => v.toString()).optional(), peakRoomNights: z.number().int().optional(), diff --git a/packages/typescript/src/models/components/solution.ts b/packages/typescript/src/models/components/solution.ts new file mode 100644 index 000000000..82a260cce --- /dev/null +++ b/packages/typescript/src/models/components/solution.ts @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * The solution where the video exists. Attendee Hub and Events+ represent two different solutions where the video can be found. + */ +export const Solution = { + AttendeeHub: "ATTENDEE_HUB", + EventsPlus: "EVENTS_PLUS", +} as const; +/** + * The solution where the video exists. Attendee Hub and Events+ represent two different solutions where the video can be found. + */ +export type Solution = ClosedEnum; + +/** @internal */ +export const Solution$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Solution); diff --git a/packages/typescript/src/models/components/solutionjson.ts b/packages/typescript/src/models/components/solutionjson.ts deleted file mode 100644 index eb8d70fae..000000000 --- a/packages/typescript/src/models/components/solutionjson.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * The solution where the video exists. Attendee Hub and Events+ represent two different solutions where the video can be found. - */ -export const SolutionJson = { - AttendeeHub: "ATTENDEE_HUB", - EventsPlus: "EVENTS_PLUS", -} as const; -/** - * The solution where the video exists. Attendee Hub and Events+ represent two different solutions where the video can be found. - */ -export type SolutionJson = ClosedEnum; - -/** @internal */ -export const SolutionJson$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(SolutionJson); diff --git a/packages/typescript/src/models/components/spacearea.ts b/packages/typescript/src/models/components/spacearea.ts new file mode 100644 index 000000000..73ede0eb0 --- /dev/null +++ b/packages/typescript/src/models/components/spacearea.ts @@ -0,0 +1,94 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Space area divisons. + */ +export const SpaceArea = { + LessThanOneThousandSqFt: "LESS_THAN_ONE_THOUSAND_SQ_FT", + OneThousandSqFt: "ONE_THOUSAND_SQ_FT", + TwoThousandSqFt: "TWO_THOUSAND_SQ_FT", + ThreeThousandSqFt: "THREE_THOUSAND_SQ_FT", + FourThousandSqFt: "FOUR_THOUSAND_SQ_FT", + FiveThousandSqFt: "FIVE_THOUSAND_SQ_FT", + SixThousandSqFt: "SIX_THOUSAND_SQ_FT", + SevenThousandSqFt: "SEVEN_THOUSAND_SQ_FT", + EightThousandSqFt: "EIGHT_THOUSAND_SQ_FT", + NineThousandSqFt: "NINE_THOUSAND_SQ_FT", + TenThousandSqFt: "TEN_THOUSAND_SQ_FT", + ElevenThousandSqFt: "ELEVEN_THOUSAND_SQ_FT", + TwelveThousandSqFt: "TWELVE_THOUSAND_SQ_FT", + ThirteenThousandSqFt: "THIRTEEN_THOUSAND_SQ_FT", + FourteenThousandSqFt: "FOURTEEN_THOUSAND_SQ_FT", + FifteenThousandSqFt: "FIFTEEN_THOUSAND_SQ_FT", + SixteenThousandSqFt: "SIXTEEN_THOUSAND_SQ_FT", + SeventeenThousandSqFt: "SEVENTEEN_THOUSAND_SQ_FT", + EighteenThousandSqFt: "EIGHTEEN_THOUSAND_SQ_FT", + NineteenThousandSqFt: "NINETEEN_THOUSAND_SQ_FT", + TwentyThousandSqFt: "TWENTY_THOUSAND_SQ_FT", + TwentyFiveThousandSqFt: "TWENTY_FIVE_THOUSAND_SQ_FT", + ThirtyThousandSqFt: "THIRTY_THOUSAND_SQ_FT", + ThirtyFiveThousandSqFt: "THIRTY_FIVE_THOUSAND_SQ_FT", + FortyThousandSqFt: "FORTY_THOUSAND_SQ_FT", + FortyFiveThousandSqFt: "FORTY_FIVE_THOUSAND_SQ_FT", + FiftyThousandSqFt: "FIFTY_THOUSAND_SQ_FT", + FiftyFiveThousandSqFt: "FIFTY_FIVE_THOUSAND_SQ_FT", + SixtyThousandSqFt: "SIXTY_THOUSAND_SQ_FT", + SixtyFiveThousandSqFt: "SIXTY_FIVE_THOUSAND_SQ_FT", + SeventyThousandSqFt: "SEVENTY_THOUSAND_SQ_FT", + SeventyFiveThousandSqFt: "SEVENTY_FIVE_THOUSAND_SQ_FT", + EightyThousandSqFt: "EIGHTY_THOUSAND_SQ_FT", + EightyFiveThousandSqFt: "EIGHTY_FIVE_THOUSAND_SQ_FT", + NinetyThousandSqFt: "NINETY_THOUSAND_SQ_FT", + OneHundredThousandSqFt: "ONE_HUNDRED_THOUSAND_SQ_FT", + GreaterThanOneHundredThousandSqFt: "GREATER_THAN_ONE_HUNDRED_THOUSAND_SQ_FT", + LessThanOneHundredSqMtr: "LESS_THAN_ONE_HUNDRED_SQ_MTR", + OneHundredSqMtr: "ONE_HUNDRED_SQ_MTR", + TwoHundredSqMtr: "TWO_HUNDRED_SQ_MTR", + ThreeHundredSqMtr: "THREE_HUNDRED_SQ_MTR", + FourHundredSqMtr: "FOUR_HUNDRED_SQ_MTR", + FiveHundredSqMtr: "FIVE_HUNDRED_SQ_MTR", + SixHundredSqMtr: "SIX_HUNDRED_SQ_MTR", + SevenHundredSqMtr: "SEVEN_HUNDRED_SQ_MTR", + EightHundredSqMtr: "EIGHT_HUNDRED_SQ_MTR", + NineHundredSqMtr: "NINE_HUNDRED_SQ_MTR", + OneThousandSqMtr: "ONE_THOUSAND_SQ_MTR", + ElevenHundredSqMtr: "ELEVEN_HUNDRED_SQ_MTR", + TwelveHundredSqMtr: "TWELVE_HUNDRED_SQ_MTR", + ThirteenHundredSqMtr: "THIRTEEN_HUNDRED_SQ_MTR", + FourteenHundredSqMtr: "FOURTEEN_HUNDRED_SQ_MTR", + FifteenHundredSqMtr: "FIFTEEN_HUNDRED_SQ_MTR", + SixteenHundredSqMtr: "SIXTEEN_HUNDRED_SQ_MTR", + SeventeenHundredSqMtr: "SEVENTEEN_HUNDRED_SQ_MTR", + EighteenHundredSqMtr: "EIGHTEEN_HUNDRED_SQ_MTR", + NineteenHundredSqMtr: "NINETEEN_HUNDRED_SQ_MTR", + TwoThousandSqMtr: "TWO_THOUSAND_SQ_MTR", + TwentyFiveHundredSqMtr: "TWENTY_FIVE_HUNDRED_SQ_MTR", + ThreeThousandSqMtr: "THREE_THOUSAND_SQ_MTR", + ThirtyFiveHundredSqMtr: "THIRTY_FIVE_HUNDRED_SQ_MTR", + FourThousandSqMtr: "FOUR_THOUSAND_SQ_MTR", + FortyFiveHundredSqMtr: "FORTY_FIVE_HUNDRED_SQ_MTR", + FiveThousandSqMtr: "FIVE_THOUSAND_SQ_MTR", + FiftyFiveHundredSqMtr: "FIFTY_FIVE_HUNDRED_SQ_MTR", + SixThousandSqMtr: "SIX_THOUSAND_SQ_MTR", + SixtyFiveHundredSqMtr: "SIXTY_FIVE_HUNDRED_SQ_MTR", + SevenThousandSqMtr: "SEVEN_THOUSAND_SQ_MTR", + SeventyFiveHundredSqMtr: "SEVENTY_FIVE_HUNDRED_SQ_MTR", + EightThousandSqMtr: "EIGHT_THOUSAND_SQ_MTR", + EightyFiveHundredSqMtr: "EIGHTY_FIVE_HUNDRED_SQ_MTR", + NineThousandSqMtr: "NINE_THOUSAND_SQ_MTR", + TenThousandSqMtr: "TEN_THOUSAND_SQ_MTR", + GreaterThanTenThousandSqMtr: "GREATER_THAN_TEN_THOUSAND_SQ_MTR", +} as const; +/** + * Space area divisons. + */ +export type SpaceArea = ClosedEnum; + +/** @internal */ +export const SpaceArea$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(SpaceArea); diff --git a/packages/typescript/src/models/components/spaceareajson0.ts b/packages/typescript/src/models/components/spaceareajson0.ts deleted file mode 100644 index 9107add41..000000000 --- a/packages/typescript/src/models/components/spaceareajson0.ts +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Space area divisons. - */ -export const SpaceAreaJson0 = { - LessThanOneThousandSqFt: "LESS_THAN_ONE_THOUSAND_SQ_FT", - OneThousandSqFt: "ONE_THOUSAND_SQ_FT", - TwoThousandSqFt: "TWO_THOUSAND_SQ_FT", - ThreeThousandSqFt: "THREE_THOUSAND_SQ_FT", - FourThousandSqFt: "FOUR_THOUSAND_SQ_FT", - FiveThousandSqFt: "FIVE_THOUSAND_SQ_FT", - SixThousandSqFt: "SIX_THOUSAND_SQ_FT", - SevenThousandSqFt: "SEVEN_THOUSAND_SQ_FT", - EightThousandSqFt: "EIGHT_THOUSAND_SQ_FT", - NineThousandSqFt: "NINE_THOUSAND_SQ_FT", - TenThousandSqFt: "TEN_THOUSAND_SQ_FT", - ElevenThousandSqFt: "ELEVEN_THOUSAND_SQ_FT", - TwelveThousandSqFt: "TWELVE_THOUSAND_SQ_FT", - ThirteenThousandSqFt: "THIRTEEN_THOUSAND_SQ_FT", - FourteenThousandSqFt: "FOURTEEN_THOUSAND_SQ_FT", - FifteenThousandSqFt: "FIFTEEN_THOUSAND_SQ_FT", - SixteenThousandSqFt: "SIXTEEN_THOUSAND_SQ_FT", - SeventeenThousandSqFt: "SEVENTEEN_THOUSAND_SQ_FT", - EighteenThousandSqFt: "EIGHTEEN_THOUSAND_SQ_FT", - NineteenThousandSqFt: "NINETEEN_THOUSAND_SQ_FT", - TwentyThousandSqFt: "TWENTY_THOUSAND_SQ_FT", - TwentyFiveThousandSqFt: "TWENTY_FIVE_THOUSAND_SQ_FT", - ThirtyThousandSqFt: "THIRTY_THOUSAND_SQ_FT", - ThirtyFiveThousandSqFt: "THIRTY_FIVE_THOUSAND_SQ_FT", - FortyThousandSqFt: "FORTY_THOUSAND_SQ_FT", - FortyFiveThousandSqFt: "FORTY_FIVE_THOUSAND_SQ_FT", - FiftyThousandSqFt: "FIFTY_THOUSAND_SQ_FT", - FiftyFiveThousandSqFt: "FIFTY_FIVE_THOUSAND_SQ_FT", - SixtyThousandSqFt: "SIXTY_THOUSAND_SQ_FT", - SixtyFiveThousandSqFt: "SIXTY_FIVE_THOUSAND_SQ_FT", - SeventyThousandSqFt: "SEVENTY_THOUSAND_SQ_FT", - SeventyFiveThousandSqFt: "SEVENTY_FIVE_THOUSAND_SQ_FT", - EightyThousandSqFt: "EIGHTY_THOUSAND_SQ_FT", - EightyFiveThousandSqFt: "EIGHTY_FIVE_THOUSAND_SQ_FT", - NinetyThousandSqFt: "NINETY_THOUSAND_SQ_FT", - OneHundredThousandSqFt: "ONE_HUNDRED_THOUSAND_SQ_FT", - GreaterThanOneHundredThousandSqFt: "GREATER_THAN_ONE_HUNDRED_THOUSAND_SQ_FT", - LessThanOneHundredSqMtr: "LESS_THAN_ONE_HUNDRED_SQ_MTR", - OneHundredSqMtr: "ONE_HUNDRED_SQ_MTR", - TwoHundredSqMtr: "TWO_HUNDRED_SQ_MTR", - ThreeHundredSqMtr: "THREE_HUNDRED_SQ_MTR", - FourHundredSqMtr: "FOUR_HUNDRED_SQ_MTR", - FiveHundredSqMtr: "FIVE_HUNDRED_SQ_MTR", - SixHundredSqMtr: "SIX_HUNDRED_SQ_MTR", - SevenHundredSqMtr: "SEVEN_HUNDRED_SQ_MTR", - EightHundredSqMtr: "EIGHT_HUNDRED_SQ_MTR", - NineHundredSqMtr: "NINE_HUNDRED_SQ_MTR", - OneThousandSqMtr: "ONE_THOUSAND_SQ_MTR", - ElevenHundredSqMtr: "ELEVEN_HUNDRED_SQ_MTR", - TwelveHundredSqMtr: "TWELVE_HUNDRED_SQ_MTR", - ThirteenHundredSqMtr: "THIRTEEN_HUNDRED_SQ_MTR", - FourteenHundredSqMtr: "FOURTEEN_HUNDRED_SQ_MTR", - FifteenHundredSqMtr: "FIFTEEN_HUNDRED_SQ_MTR", - SixteenHundredSqMtr: "SIXTEEN_HUNDRED_SQ_MTR", - SeventeenHundredSqMtr: "SEVENTEEN_HUNDRED_SQ_MTR", - EighteenHundredSqMtr: "EIGHTEEN_HUNDRED_SQ_MTR", - NineteenHundredSqMtr: "NINETEEN_HUNDRED_SQ_MTR", - TwoThousandSqMtr: "TWO_THOUSAND_SQ_MTR", - TwentyFiveHundredSqMtr: "TWENTY_FIVE_HUNDRED_SQ_MTR", - ThreeThousandSqMtr: "THREE_THOUSAND_SQ_MTR", - ThirtyFiveHundredSqMtr: "THIRTY_FIVE_HUNDRED_SQ_MTR", - FourThousandSqMtr: "FOUR_THOUSAND_SQ_MTR", - FortyFiveHundredSqMtr: "FORTY_FIVE_HUNDRED_SQ_MTR", - FiveThousandSqMtr: "FIVE_THOUSAND_SQ_MTR", - FiftyFiveHundredSqMtr: "FIFTY_FIVE_HUNDRED_SQ_MTR", - SixThousandSqMtr: "SIX_THOUSAND_SQ_MTR", - SixtyFiveHundredSqMtr: "SIXTY_FIVE_HUNDRED_SQ_MTR", - SevenThousandSqMtr: "SEVEN_THOUSAND_SQ_MTR", - SeventyFiveHundredSqMtr: "SEVENTY_FIVE_HUNDRED_SQ_MTR", - EightThousandSqMtr: "EIGHT_THOUSAND_SQ_MTR", - EightyFiveHundredSqMtr: "EIGHTY_FIVE_HUNDRED_SQ_MTR", - NineThousandSqMtr: "NINE_THOUSAND_SQ_MTR", - TenThousandSqMtr: "TEN_THOUSAND_SQ_MTR", - GreaterThanTenThousandSqMtr: "GREATER_THAN_TEN_THOUSAND_SQ_MTR", -} as const; -/** - * Space area divisons. - */ -export type SpaceAreaJson0 = ClosedEnum; - -/** @internal */ -export const SpaceAreaJson0$inboundSchema: z.ZodNativeEnum< - typeof SpaceAreaJson0 -> = z.nativeEnum(SpaceAreaJson0); diff --git a/packages/typescript/src/models/components/speaker.ts b/packages/typescript/src/models/components/speaker.ts index e77d5ffd2..6d5ed4c32 100644 --- a/packages/typescript/src/models/components/speaker.ts +++ b/packages/typescript/src/models/components/speaker.ts @@ -4,15 +4,15 @@ import * as z from "zod/v3"; import { - CategoryIdNameJson, - CategoryIdNameJson$Outbound, - CategoryIdNameJson$outboundSchema, -} from "./categoryidnamejson.js"; + ContactLinksInput, + ContactLinksInput$Outbound, + ContactLinksInput$outboundSchema, +} from "./contactlinksinput.js"; import { - ContactLinksJsonInput, - ContactLinksJsonInput$Outbound, - ContactLinksJsonInput$outboundSchema, -} from "./contactlinksjsoninput.js"; + SpeakerCategory1, + SpeakerCategory1$Outbound, + SpeakerCategory1$outboundSchema, +} from "./speakercategory1.js"; /** * The event the speaker is linked to. @@ -67,11 +67,11 @@ export type Speaker = { /** * A defined speaker category. */ - category?: CategoryIdNameJson | undefined; + category?: SpeakerCategory1 | undefined; /** * Collection of social media links for the contact. */ - links?: ContactLinksJsonInput | undefined; + links?: ContactLinksInput | undefined; /** * Indicates if a given speaker should be displayed on Event Website */ @@ -123,8 +123,8 @@ export type Speaker$Outbound = { designation?: string | undefined; company?: string | undefined; title?: string | undefined; - category?: CategoryIdNameJson$Outbound | undefined; - links?: ContactLinksJsonInput$Outbound | undefined; + category?: SpeakerCategory1$Outbound | undefined; + links?: ContactLinksInput$Outbound | undefined; visibility: boolean; biography?: string | undefined; internalNote?: string | undefined; @@ -147,8 +147,8 @@ export const Speaker$outboundSchema: z.ZodType< designation: z.string().optional(), company: z.string().optional(), title: z.string().optional(), - category: CategoryIdNameJson$outboundSchema.optional(), - links: ContactLinksJsonInput$outboundSchema.optional(), + category: SpeakerCategory1$outboundSchema.optional(), + links: ContactLinksInput$outboundSchema.optional(), visibility: z.boolean().default(true), biography: z.string().optional(), internalNote: z.string().optional(), diff --git a/packages/typescript/src/models/components/speakercategory.ts b/packages/typescript/src/models/components/speakercategory.ts deleted file mode 100644 index 93b594ab4..000000000 --- a/packages/typescript/src/models/components/speakercategory.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; - -/** - * A speaker category. - */ -export type SpeakerCategory = { - /** - * The name of the speaker category - */ - name?: string | undefined; -}; - -/** @internal */ -export type SpeakerCategory$Outbound = { - name?: string | undefined; -}; - -/** @internal */ -export const SpeakerCategory$outboundSchema: z.ZodType< - SpeakerCategory$Outbound, - z.ZodTypeDef, - SpeakerCategory -> = z.object({ - name: z.string().optional(), -}); - -export function speakerCategoryToJSON( - speakerCategory: SpeakerCategory, -): string { - return JSON.stringify(SpeakerCategory$outboundSchema.parse(speakerCategory)); -} diff --git a/packages/typescript/src/models/components/speakercategory1.ts b/packages/typescript/src/models/components/speakercategory1.ts new file mode 100644 index 000000000..ccf26794e --- /dev/null +++ b/packages/typescript/src/models/components/speakercategory1.ts @@ -0,0 +1,64 @@ +/* + * 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 defined speaker category. + */ +export type SpeakerCategory1 = { + /** + * A string that has to be a format matching the industry standard uuid + */ + id: string; + /** + * The name of the speaker category + */ + name?: string | undefined; +}; + +/** @internal */ +export const SpeakerCategory1$inboundSchema: z.ZodType< + SpeakerCategory1, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + name: z.string().optional(), +}); +/** @internal */ +export type SpeakerCategory1$Outbound = { + id: string; + name?: string | undefined; +}; + +/** @internal */ +export const SpeakerCategory1$outboundSchema: z.ZodType< + SpeakerCategory1$Outbound, + z.ZodTypeDef, + SpeakerCategory1 +> = z.object({ + id: z.string(), + name: z.string().optional(), +}); + +export function speakerCategory1ToJSON( + speakerCategory1: SpeakerCategory1, +): string { + return JSON.stringify( + SpeakerCategory1$outboundSchema.parse(speakerCategory1), + ); +} +export function speakerCategory1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SpeakerCategory1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SpeakerCategory1' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/speakercategory2.ts b/packages/typescript/src/models/components/speakercategory2.ts new file mode 100644 index 000000000..e3d46462f --- /dev/null +++ b/packages/typescript/src/models/components/speakercategory2.ts @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; + +/** + * A speaker category. + */ +export type SpeakerCategory2 = { + /** + * The name of the speaker category + */ + name?: string | undefined; +}; + +/** @internal */ +export type SpeakerCategory2$Outbound = { + name?: string | undefined; +}; + +/** @internal */ +export const SpeakerCategory2$outboundSchema: z.ZodType< + SpeakerCategory2$Outbound, + z.ZodTypeDef, + SpeakerCategory2 +> = z.object({ + name: z.string().optional(), +}); + +export function speakerCategory2ToJSON( + speakerCategory2: SpeakerCategory2, +): string { + return JSON.stringify( + SpeakerCategory2$outboundSchema.parse(speakerCategory2), + ); +} diff --git a/packages/typescript/src/models/components/speakercategorypaginatedresponse.ts b/packages/typescript/src/models/components/speakercategorypaginatedresponse.ts index 8170b60e6..7d77681e2 100644 --- a/packages/typescript/src/models/components/speakercategorypaginatedresponse.ts +++ b/packages/typescript/src/models/components/speakercategorypaginatedresponse.ts @@ -10,7 +10,7 @@ import { ExistingSpeakerCategory, ExistingSpeakerCategory$inboundSchema, } from "./existingspeakercategory.js"; -import { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; /** * The response from a request to get the list of speaker categories. This includes the paging object as well as the collection of speaker categories. @@ -19,7 +19,7 @@ export type SpeakerCategoryPaginatedResponse = { /** * Represents pagination information for a collection of resources. */ - paging: PagingJson; + paging: Paging; /** * Collection of speaker categories. */ @@ -32,7 +32,7 @@ export const SpeakerCategoryPaginatedResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema, + paging: Paging$inboundSchema, data: z.array(ExistingSpeakerCategory$inboundSchema), }); diff --git a/packages/typescript/src/models/components/speakerdocumentpaginatedresponse.ts b/packages/typescript/src/models/components/speakerdocumentpaginatedresponse.ts index 2b6f9f816..92c5115f0 100644 --- a/packages/typescript/src/models/components/speakerdocumentpaginatedresponse.ts +++ b/packages/typescript/src/models/components/speakerdocumentpaginatedresponse.ts @@ -6,7 +6,7 @@ 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 { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; import { SpeakerFile, SpeakerFile$inboundSchema } from "./speakerfile.js"; /** @@ -16,7 +16,7 @@ export type SpeakerDocumentPaginatedResponse = { /** * Represents pagination information for a collection of resources. */ - paging: PagingJson; + paging: Paging; /** * Collection of a speaker's documents. */ @@ -29,7 +29,7 @@ export const SpeakerDocumentPaginatedResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema, + paging: Paging$inboundSchema, data: z.array(SpeakerFile$inboundSchema), }); diff --git a/packages/typescript/src/models/components/speakerlite1.ts b/packages/typescript/src/models/components/speakerlite1.ts new file mode 100644 index 000000000..3e01a171f --- /dev/null +++ b/packages/typescript/src/models/components/speakerlite1.ts @@ -0,0 +1,37 @@ +/* + * 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"; + +/** + * The unique identifier of a speaker. + */ +export type SpeakerLite1 = { + /** + * The unique identifier for a speaker. + */ + id: string; +}; + +/** @internal */ +export const SpeakerLite1$inboundSchema: z.ZodType< + SpeakerLite1, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), +}); + +export function speakerLite1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SpeakerLite1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SpeakerLite1' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/speakerlitejson.ts b/packages/typescript/src/models/components/speakerlitejson.ts deleted file mode 100644 index aa6afee14..000000000 --- a/packages/typescript/src/models/components/speakerlitejson.ts +++ /dev/null @@ -1,37 +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"; - -/** - * The unique identifier of a speaker. - */ -export type SpeakerLiteJson = { - /** - * The unique identifier for a speaker. - */ - id: string; -}; - -/** @internal */ -export const SpeakerLiteJson$inboundSchema: z.ZodType< - SpeakerLiteJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), -}); - -export function speakerLiteJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SpeakerLiteJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SpeakerLiteJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/speakerpaginatedresponse.ts b/packages/typescript/src/models/components/speakerpaginatedresponse.ts index 9daa176a8..3cd7fee06 100644 --- a/packages/typescript/src/models/components/speakerpaginatedresponse.ts +++ b/packages/typescript/src/models/components/speakerpaginatedresponse.ts @@ -10,7 +10,7 @@ import { ExistingSpeaker, ExistingSpeaker$inboundSchema, } from "./existingspeaker.js"; -import { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; /** * The response from a request to get the list of speakers. This includes the paging object as well as the collection of speakers. @@ -19,7 +19,7 @@ export type SpeakerPaginatedResponse = { /** * Represents pagination information for a collection of resources. */ - paging: PagingJson; + paging: Paging; /** * Collection of speakers. */ @@ -32,7 +32,7 @@ export const SpeakerPaginatedResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema, + paging: Paging$inboundSchema, data: z.array(ExistingSpeaker$inboundSchema), }); diff --git a/packages/typescript/src/models/components/speakerprogramitem.ts b/packages/typescript/src/models/components/speakerprogramitem.ts index 2aab41091..796b88709 100644 --- a/packages/typescript/src/models/components/speakerprogramitem.ts +++ b/packages/typescript/src/models/components/speakerprogramitem.ts @@ -6,19 +6,13 @@ 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 { EventLiteJson, EventLiteJson$inboundSchema } from "./eventlitejson.js"; +import { EventLite, EventLite$inboundSchema } from "./eventlite.js"; import { - ProgramItemLiteJson, - ProgramItemLiteJson$inboundSchema, -} from "./programitemlitejson.js"; -import { - SessionLiteJson, - SessionLiteJson$inboundSchema, -} from "./sessionlitejson.js"; -import { - SpeakerLiteJson, - SpeakerLiteJson$inboundSchema, -} from "./speakerlitejson.js"; + ProgramItemLite, + ProgramItemLite$inboundSchema, +} from "./programitemlite.js"; +import { SessionLite, SessionLite$inboundSchema } from "./sessionlite.js"; +import { SpeakerLite, SpeakerLite$inboundSchema } from "./speakerlite.js"; /** * Represents a program item object that will be added to a speaker. @@ -47,19 +41,19 @@ export type SpeakerProgramItem = { /** * The unique identifier of an event. */ - event: EventLiteJson; + event: EventLite; /** * The unique identifier of a session. */ - session: SessionLiteJson; + session: SessionLite; /** * The unique identifier of a speaker. */ - speaker: SpeakerLiteJson; + speaker: SpeakerLite; /** * The unique identifier of a program item. */ - programItem: ProgramItemLiteJson; + programItem: ProgramItemLite; }; /** @internal */ @@ -76,10 +70,10 @@ export const SpeakerProgramItem$inboundSchema: z.ZodType< ).optional(), lastModifiedBy: z.string().optional(), id: z.string().optional(), - event: EventLiteJson$inboundSchema, - session: SessionLiteJson$inboundSchema, - speaker: SpeakerLiteJson$inboundSchema, - programItem: ProgramItemLiteJson$inboundSchema, + event: EventLite$inboundSchema, + session: SessionLite$inboundSchema, + speaker: SpeakerLite$inboundSchema, + programItem: ProgramItemLite$inboundSchema, }); export function speakerProgramItemFromJSON( diff --git a/packages/typescript/src/models/components/speakersession.ts b/packages/typescript/src/models/components/speakersession.ts index 081d42fcb..9ff0e363a 100644 --- a/packages/typescript/src/models/components/speakersession.ts +++ b/packages/typescript/src/models/components/speakersession.ts @@ -7,7 +7,7 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { NamedObject, NamedObject$inboundSchema } from "./namedobject.js"; -import { SpeakerLite, SpeakerLite$inboundSchema } from "./speakerlite.js"; +import { SpeakerLite1, SpeakerLite1$inboundSchema } from "./speakerlite1.js"; /** * A speaker to session relationship. @@ -20,7 +20,7 @@ export type SpeakerSession = { /** * The unique identifier of a speaker. */ - speaker?: SpeakerLite | undefined; + speaker?: SpeakerLite1 | undefined; /** * A Named object */ @@ -34,7 +34,7 @@ export const SpeakerSession$inboundSchema: z.ZodType< unknown > = z.object({ id: z.string().optional(), - speaker: SpeakerLite$inboundSchema.optional(), + speaker: SpeakerLite1$inboundSchema.optional(), category: NamedObject$inboundSchema.optional(), }); diff --git a/packages/typescript/src/models/components/stakeholderjson.ts b/packages/typescript/src/models/components/stakeholderjson.ts index e07418087..16b35719c 100644 --- a/packages/typescript/src/models/components/stakeholderjson.ts +++ b/packages/typescript/src/models/components/stakeholderjson.ts @@ -10,9 +10,9 @@ import { Result as SafeParseResult } from "../../types/fp.js"; import { RFCDate } from "../../types/rfcdate.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - CustomFieldJson3, - CustomFieldJson3$inboundSchema, -} from "./customfieldjson3.js"; + CustomFieldJson2, + CustomFieldJson2$inboundSchema, +} from "./customfieldjson2.js"; import { LinkJson, LinkJson$inboundSchema } from "./linkjson.js"; import { OptoutByJson, OptoutByJson$inboundSchema } from "./optoutbyjson.js"; @@ -387,7 +387,7 @@ export type StakeholderJson = { * * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ - customFields?: Array | undefined; + customFields?: Array | undefined; /** * This is an ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. * @@ -629,7 +629,7 @@ export const StakeholderJson$inboundSchema: z.ZodType< homeAddress: z.lazy(() => StakeholderJsonHomeAddressAddress$inboundSchema) .optional(), homeFax: z.string().optional(), - customFields: z.array(CustomFieldJson3$inboundSchema).optional(), + customFields: z.array(CustomFieldJson2$inboundSchema).optional(), sourceId: z.string().optional(), created: z.string().datetime({ offset: true }).transform(v => new Date(v)) .optional(), diff --git a/packages/typescript/src/models/components/standardquestion.ts b/packages/typescript/src/models/components/standardquestion.ts new file mode 100644 index 000000000..c023af434 --- /dev/null +++ b/packages/typescript/src/models/components/standardquestion.ts @@ -0,0 +1,37 @@ +/* + * 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"; + +/** + * Standard questions are selected from a predefined list of Cvent questions that can be used in an RFP. + */ +export type StandardQuestion = { + /** + * Unique identifier for standard question. + */ + id?: string | undefined; +}; + +/** @internal */ +export const StandardQuestion$inboundSchema: z.ZodType< + StandardQuestion, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function standardQuestionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => StandardQuestion$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'StandardQuestion' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/standardquestionjson.ts b/packages/typescript/src/models/components/standardquestionjson.ts deleted file mode 100644 index 92bb2a8a5..000000000 --- a/packages/typescript/src/models/components/standardquestionjson.ts +++ /dev/null @@ -1,37 +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"; - -/** - * Standard questions are selected from a predefined list of Cvent questions that can be used in an RFP. - */ -export type StandardQuestionJson = { - /** - * Unique identifier for standard question. - */ - id?: string | undefined; -}; - -/** @internal */ -export const StandardQuestionJson$inboundSchema: z.ZodType< - StandardQuestionJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function standardQuestionJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => StandardQuestionJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'StandardQuestionJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/standardsurveyjson.ts b/packages/typescript/src/models/components/standardsurveyjson.ts index 1e27648d1..c1541d593 100644 --- a/packages/typescript/src/models/components/standardsurveyjson.ts +++ b/packages/typescript/src/models/components/standardsurveyjson.ts @@ -7,9 +7,9 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - CustomFieldJson2, - CustomFieldJson2$inboundSchema, -} from "./customfieldjson2.js"; + CustomFieldJson1, + CustomFieldJson1$inboundSchema, +} from "./customfieldjson1.js"; import { SurveyAuthorJson, SurveyAuthorJson$inboundSchema, @@ -82,7 +82,7 @@ export type StandardSurveyJson = { /** * Collection of survey custom fields. */ - customFields?: Array | undefined; + customFields?: Array | undefined; }; /** @internal */ @@ -111,7 +111,7 @@ export const StandardSurveyJson$inboundSchema: z.ZodType< archiveAfter: z.string().datetime({ offset: true }).transform(v => new Date(v) ).optional(), - customFields: z.array(CustomFieldJson2$inboundSchema).optional(), + customFields: z.array(CustomFieldJson1$inboundSchema).optional(), }); export function standardSurveyJsonFromJSON( diff --git a/packages/typescript/src/models/components/standardsurveyquestionjson.ts b/packages/typescript/src/models/components/standardsurveyquestionjson.ts index a869b3f69..8a55ecc1f 100644 --- a/packages/typescript/src/models/components/standardsurveyquestionjson.ts +++ b/packages/typescript/src/models/components/standardsurveyquestionjson.ts @@ -7,20 +7,17 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - AdditionalChoiceJson1, - AdditionalChoiceJson1$inboundSchema, -} from "./additionalchoicejson1.js"; -import { CategoryJson2, CategoryJson2$inboundSchema } from "./categoryjson2.js"; -import { ChoiceJson2, ChoiceJson2$inboundSchema } from "./choicejson2.js"; -import { FieldJson2, FieldJson2$inboundSchema } from "./fieldjson2.js"; + AdditionalChoiceJson, + AdditionalChoiceJson$inboundSchema, +} from "./additionalchoicejson.js"; +import { CategoryJson1, CategoryJson1$inboundSchema } from "./categoryjson1.js"; +import { ChoiceJson1, ChoiceJson1$inboundSchema } from "./choicejson1.js"; +import { FieldJson, FieldJson$inboundSchema } from "./fieldjson.js"; import { - QuestionTypeJson2, - QuestionTypeJson2$inboundSchema, -} from "./questiontypejson2.js"; -import { - TextFieldJson1, - TextFieldJson1$inboundSchema, -} from "./textfieldjson1.js"; + QuestionTypeJson1, + QuestionTypeJson1$inboundSchema, +} from "./questiontypejson1.js"; +import { TextFieldJson, TextFieldJson$inboundSchema } from "./textfieldjson.js"; import { UuidJson, UuidJson$inboundSchema } from "./uuidjson.js"; /** @@ -66,27 +63,27 @@ export type StandardSurveyQuestionJson = { /** * Question Type. */ - type?: QuestionTypeJson2 | undefined; + type?: QuestionTypeJson1 | undefined; /** * List of choices for the question. */ - choices?: Array | undefined; + choices?: Array | undefined; /** * List of categories for the question. */ - categories?: Array | undefined; + categories?: Array | undefined; /** * List of sub categories for matrix side-by-side questions */ - subCategories?: Array | undefined; + subCategories?: Array | undefined; /** * Contains text of additional choice i.e N/A choice or otherAnswer choice */ - notApplicableAnswer?: AdditionalChoiceJson1 | undefined; + notApplicableAnswer?: AdditionalChoiceJson | undefined; /** * Contains text of additional choice i.e N/A choice or otherAnswer choice */ - otherAnswer?: AdditionalChoiceJson1 | undefined; + otherAnswer?: AdditionalChoiceJson | undefined; /** * Text Value of Comments Input box placeholder */ @@ -98,7 +95,7 @@ export type StandardSurveyQuestionJson = { /** * List of fields for form/matrix questions */ - fields?: Array | undefined; + fields?: Array | undefined; /** * Max possible score */ @@ -135,15 +132,15 @@ export const StandardSurveyQuestionJson$inboundSchema: z.ZodType< shortText: z.string().optional(), htmlText: z.string().optional(), code: z.string().optional(), - type: QuestionTypeJson2$inboundSchema.optional(), - choices: z.array(ChoiceJson2$inboundSchema).optional(), - categories: z.array(CategoryJson2$inboundSchema).optional(), - subCategories: z.array(TextFieldJson1$inboundSchema).optional(), - notApplicableAnswer: AdditionalChoiceJson1$inboundSchema.optional(), - otherAnswer: AdditionalChoiceJson1$inboundSchema.optional(), + type: QuestionTypeJson1$inboundSchema.optional(), + choices: z.array(ChoiceJson1$inboundSchema).optional(), + categories: z.array(CategoryJson1$inboundSchema).optional(), + subCategories: z.array(TextFieldJson$inboundSchema).optional(), + notApplicableAnswer: AdditionalChoiceJson$inboundSchema.optional(), + otherAnswer: AdditionalChoiceJson$inboundSchema.optional(), comments: z.string().optional(), required: z.boolean().default(false), - fields: z.array(FieldJson2$inboundSchema).optional(), + fields: z.array(FieldJson$inboundSchema).optional(), maxScore: z.number().optional(), totalSum: z.number().int().optional(), survey: UuidJson$inboundSchema.optional(), diff --git a/packages/typescript/src/models/components/suppliertype.ts b/packages/typescript/src/models/components/suppliertype.ts new file mode 100644 index 000000000..03087cb03 --- /dev/null +++ b/packages/typescript/src/models/components/suppliertype.ts @@ -0,0 +1,24 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Type of supplier. `CONVENTION_AND_CONFERENCE_CENTER`: Supplier of large event venues such as convention centers, conference centers, and exposition halls. `CVB`: CVBs (Convention and Visitors Bureau) are suppliers that assist in the promotion and facilitation of tourism, conventions, and events in their respective areas. `HOTEL`: Suppliers that are hotels or resorts. `OTHER`: Suppliers that do not fall under other categories. + */ +export const SupplierType = { + ConventionAndConferenceCenter: "CONVENTION_AND_CONFERENCE_CENTER", + Cvb: "CVB", + Hotel: "HOTEL", + Other: "OTHER", +} as const; +/** + * Type of supplier. `CONVENTION_AND_CONFERENCE_CENTER`: Supplier of large event venues such as convention centers, conference centers, and exposition halls. `CVB`: CVBs (Convention and Visitors Bureau) are suppliers that assist in the promotion and facilitation of tourism, conventions, and events in their respective areas. `HOTEL`: Suppliers that are hotels or resorts. `OTHER`: Suppliers that do not fall under other categories. + */ +export type SupplierType = ClosedEnum; + +/** @internal */ +export const SupplierType$inboundSchema: z.ZodNativeEnum = + z.nativeEnum(SupplierType); diff --git a/packages/typescript/src/models/components/suppliertypejson.ts b/packages/typescript/src/models/components/suppliertypejson.ts deleted file mode 100644 index e4e2cee35..000000000 --- a/packages/typescript/src/models/components/suppliertypejson.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"; - -/** - * Type of supplier. `CONVENTION_AND_CONFERENCE_CENTER`: Supplier of large event venues such as convention centers, conference centers, and exposition halls. `CVB`: CVBs (Convention and Visitors Bureau) are suppliers that assist in the promotion and facilitation of tourism, conventions, and events in their respective areas. `HOTEL`: Suppliers that are hotels or resorts. `OTHER`: Suppliers that do not fall under other categories. - */ -export const SupplierTypeJson = { - ConventionAndConferenceCenter: "CONVENTION_AND_CONFERENCE_CENTER", - Cvb: "CVB", - Hotel: "HOTEL", - Other: "OTHER", -} as const; -/** - * Type of supplier. `CONVENTION_AND_CONFERENCE_CENTER`: Supplier of large event venues such as convention centers, conference centers, and exposition halls. `CVB`: CVBs (Convention and Visitors Bureau) are suppliers that assist in the promotion and facilitation of tourism, conventions, and events in their respective areas. `HOTEL`: Suppliers that are hotels or resorts. `OTHER`: Suppliers that do not fall under other categories. - */ -export type SupplierTypeJson = ClosedEnum; - -/** @internal */ -export const SupplierTypeJson$inboundSchema: z.ZodNativeEnum< - typeof SupplierTypeJson -> = z.nativeEnum(SupplierTypeJson); diff --git a/packages/typescript/src/models/components/surveycontactid.ts b/packages/typescript/src/models/components/surveycontactid.ts new file mode 100644 index 000000000..ff6cf223b --- /dev/null +++ b/packages/typescript/src/models/components/surveycontactid.ts @@ -0,0 +1,41 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; + +/** + * A pair of survey and contact id. + */ +export type SurveyContactId = { + /** + * ID of the survey + */ + surveyId: string; + /** + * ID of the contact + */ + contactId: string; +}; + +/** @internal */ +export type SurveyContactId$Outbound = { + surveyId: string; + contactId: string; +}; + +/** @internal */ +export const SurveyContactId$outboundSchema: z.ZodType< + SurveyContactId$Outbound, + z.ZodTypeDef, + SurveyContactId +> = z.object({ + surveyId: z.string(), + contactId: z.string(), +}); + +export function surveyContactIdToJSON( + surveyContactId: SurveyContactId, +): string { + return JSON.stringify(SurveyContactId$outboundSchema.parse(surveyContactId)); +} diff --git a/packages/typescript/src/models/components/surveycontactidjson.ts b/packages/typescript/src/models/components/surveycontactidjson.ts deleted file mode 100644 index f8388b81a..000000000 --- a/packages/typescript/src/models/components/surveycontactidjson.ts +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; - -/** - * A pair of survey and contact id. - */ -export type SurveyContactIdJson = { - /** - * ID of the survey - */ - surveyId: string; - /** - * ID of the contact - */ - contactId: string; -}; - -/** @internal */ -export type SurveyContactIdJson$Outbound = { - surveyId: string; - contactId: string; -}; - -/** @internal */ -export const SurveyContactIdJson$outboundSchema: z.ZodType< - SurveyContactIdJson$Outbound, - z.ZodTypeDef, - SurveyContactIdJson -> = z.object({ - surveyId: z.string(), - contactId: z.string(), -}); - -export function surveyContactIdJsonToJSON( - surveyContactIdJson: SurveyContactIdJson, -): string { - return JSON.stringify( - SurveyContactIdJson$outboundSchema.parse(surveyContactIdJson), - ); -} diff --git a/packages/typescript/src/models/components/surveyjson.ts b/packages/typescript/src/models/components/surveyjson.ts index 5ba24ab66..edf0aebfa 100644 --- a/packages/typescript/src/models/components/surveyjson.ts +++ b/packages/typescript/src/models/components/surveyjson.ts @@ -6,7 +6,7 @@ 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 { EventJson4, EventJson4$inboundSchema } from "./eventjson4.js"; +import { EventJson3, EventJson3$inboundSchema } from "./eventjson3.js"; import { SurveyAuthorJson, SurveyAuthorJson$inboundSchema, @@ -87,7 +87,7 @@ export type SurveyJson = { /** * List of events with which this survey is linked. */ - events?: Array | undefined; + events?: Array | undefined; }; /** @internal */ @@ -117,7 +117,7 @@ export const SurveyJson$inboundSchema: z.ZodType< activateDate: z.string().datetime({ offset: true }).transform(v => new Date(v) ).optional(), - events: z.array(EventJson4$inboundSchema).optional(), + events: z.array(EventJson3$inboundSchema).optional(), }); export function surveyJsonFromJSON( diff --git a/packages/typescript/src/models/components/targettype.ts b/packages/typescript/src/models/components/targettype.ts new file mode 100644 index 000000000..3ae245177 --- /dev/null +++ b/packages/typescript/src/models/components/targettype.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * The target type can either refer to the type of recipient or the type of action that made the recipient a participant in the RFP process. + */ +export const TargetType = { + Assignee: "ASSIGNEE", + BillingContact: "BILLING_CONTACT", + ForwardingNso: "FORWARDING_NSO", + ForwardingSupplier: "FORWARDING_SUPPLIER", + HyattEnvision: "HYATT_ENVISION", + InProgress: "IN_PROGRESS", + MarriottSiebel: "MARRIOTT_SIEBEL", + MeetingBroker: "MEETING_BROKER", + Opera: "OPERA", + Planner: "PLANNER", + PrivateNso: "PRIVATE_NSO", + ProposalCc: "PROPOSAL_CC", + Proposal: "PROPOSAL", + PublicNso: "PUBLIC_NSO", + ReceiptConfirmed: "RECEIPT_CONFIRMED", + RfpCcRecipient: "RFP_CC_RECIPIENT", + Supplier: "SUPPLIER", + TurnDown: "TURN_DOWN", +} as const; +/** + * The target type can either refer to the type of recipient or the type of action that made the recipient a participant in the RFP process. + */ +export type TargetType = ClosedEnum; + +/** @internal */ +export const TargetType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(TargetType); diff --git a/packages/typescript/src/models/components/targettypejson.ts b/packages/typescript/src/models/components/targettypejson.ts deleted file mode 100644 index fc2b35b2c..000000000 --- a/packages/typescript/src/models/components/targettypejson.ts +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * The target type can either refer to the type of recipient or the type of action that made the recipient a participant in the RFP process. - */ -export const TargetTypeJson = { - Assignee: "ASSIGNEE", - BillingContact: "BILLING_CONTACT", - ForwardingNso: "FORWARDING_NSO", - ForwardingSupplier: "FORWARDING_SUPPLIER", - HyattEnvision: "HYATT_ENVISION", - InProgress: "IN_PROGRESS", - MarriottSiebel: "MARRIOTT_SIEBEL", - MeetingBroker: "MEETING_BROKER", - Opera: "OPERA", - Planner: "PLANNER", - PrivateNso: "PRIVATE_NSO", - ProposalCc: "PROPOSAL_CC", - Proposal: "PROPOSAL", - PublicNso: "PUBLIC_NSO", - ReceiptConfirmed: "RECEIPT_CONFIRMED", - RfpCcRecipient: "RFP_CC_RECIPIENT", - Supplier: "SUPPLIER", - TurnDown: "TURN_DOWN", -} as const; -/** - * The target type can either refer to the type of recipient or the type of action that made the recipient a participant in the RFP process. - */ -export type TargetTypeJson = ClosedEnum; - -/** @internal */ -export const TargetTypeJson$inboundSchema: z.ZodNativeEnum< - typeof TargetTypeJson -> = z.nativeEnum(TargetTypeJson); diff --git a/packages/typescript/src/models/components/taxtype.ts b/packages/typescript/src/models/components/taxtype.ts new file mode 100644 index 000000000..b8d156b49 --- /dev/null +++ b/packages/typescript/src/models/components/taxtype.ts @@ -0,0 +1,29 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Bid tax type. + */ +export const TaxType = { + CityTax: "city_tax", + LodgingTax: "lodging_tax", + OccupancyTax: "occupancy_tax", + ServiceFee: "service_fee", + StateTax: "state_tax", + VatTax: "vat_tax", + VatfbTax: "vatfb_tax", + OtherTax: "other_tax", + ResortFee: "resort_fee", +} as const; +/** + * Bid tax type. + */ +export type TaxType = ClosedEnum; + +/** @internal */ +export const TaxType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(TaxType); diff --git a/packages/typescript/src/models/components/taxtypejson.ts b/packages/typescript/src/models/components/taxtypejson.ts deleted file mode 100644 index 8cd914770..000000000 --- a/packages/typescript/src/models/components/taxtypejson.ts +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Bid tax type. - */ -export const TaxTypeJson = { - CityTax: "city_tax", - LodgingTax: "lodging_tax", - OccupancyTax: "occupancy_tax", - ServiceFee: "service_fee", - StateTax: "state_tax", - VatTax: "vat_tax", - VatfbTax: "vatfb_tax", - OtherTax: "other_tax", - ResortFee: "resort_fee", -} as const; -/** - * Bid tax type. - */ -export type TaxTypeJson = ClosedEnum; - -/** @internal */ -export const TaxTypeJson$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(TaxTypeJson); diff --git a/packages/typescript/src/models/components/textanswerformat.ts b/packages/typescript/src/models/components/textanswerformat.ts new file mode 100644 index 000000000..d0d0b1f08 --- /dev/null +++ b/packages/typescript/src/models/components/textanswerformat.ts @@ -0,0 +1,25 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * 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. + */ +export const TextAnswerFormat = { + CustomFormat: "CustomFormat", + EmailAddress: "EmailAddress", + General: "General", + USPhoneNumber: "USPhoneNumber", +} as const; +/** + * 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. + */ +export type TextAnswerFormat = ClosedEnum; + +/** @internal */ +export const TextAnswerFormat$inboundSchema: z.ZodNativeEnum< + typeof TextAnswerFormat +> = z.nativeEnum(TextAnswerFormat); diff --git a/packages/typescript/src/models/components/textanswerformatjson.ts b/packages/typescript/src/models/components/textanswerformatjson.ts deleted file mode 100644 index c8a14316e..000000000 --- a/packages/typescript/src/models/components/textanswerformatjson.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"; - -/** - * 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. - */ -export const TextAnswerFormatJson = { - CustomFormat: "CustomFormat", - EmailAddress: "EmailAddress", - General: "General", - USPhoneNumber: "USPhoneNumber", -} as const; -/** - * 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. - */ -export type TextAnswerFormatJson = ClosedEnum; - -/** @internal */ -export const TextAnswerFormatJson$inboundSchema: z.ZodNativeEnum< - typeof TextAnswerFormatJson -> = z.nativeEnum(TextAnswerFormatJson); diff --git a/packages/typescript/src/models/components/textfield.ts b/packages/typescript/src/models/components/textfield.ts new file mode 100644 index 000000000..30722b7da --- /dev/null +++ b/packages/typescript/src/models/components/textfield.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 survey text field. + */ +export type TextField = { + /** + * Text field ID. + */ + id?: string | undefined; + /** + * Text value of the field. Displays to users in the UI. + */ + text?: string | undefined; + /** + * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. + */ + shortText?: string | undefined; +}; + +/** @internal */ +export const TextField$inboundSchema: z.ZodType< + TextField, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + text: z.string().optional(), + shortText: z.string().optional(), +}); + +export function textFieldFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TextField$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TextField' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/textfieldjson.ts b/packages/typescript/src/models/components/textfieldjson.ts index 8f9638ceb..4369c72e0 100644 --- a/packages/typescript/src/models/components/textfieldjson.ts +++ b/packages/typescript/src/models/components/textfieldjson.ts @@ -16,11 +16,11 @@ export type TextFieldJson = { */ id?: string | undefined; /** - * Text value of the field. Displays to users in the UI. + * text Value of the Field */ text?: string | undefined; /** - * Concise version or abbreviation of the question text. Set by the planner to simplify presentation of the question in reports. + * Reporting value of the Category, Its like a custom abbreviation */ shortText?: string | undefined; }; diff --git a/packages/typescript/src/models/components/textfieldjson1.ts b/packages/typescript/src/models/components/textfieldjson1.ts deleted file mode 100644 index 3fd5689d8..000000000 --- a/packages/typescript/src/models/components/textfieldjson1.ts +++ /dev/null @@ -1,47 +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"; - -/** - * A survey text field. - */ -export type TextFieldJson1 = { - /** - * Text field ID. - */ - id?: string | undefined; - /** - * text Value of the Field - */ - text?: string | undefined; - /** - * Reporting value of the Category, Its like a custom abbreviation - */ - shortText?: string | undefined; -}; - -/** @internal */ -export const TextFieldJson1$inboundSchema: z.ZodType< - TextFieldJson1, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - text: z.string().optional(), - shortText: z.string().optional(), -}); - -export function textFieldJson1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TextFieldJson1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TextFieldJson1' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/three.ts b/packages/typescript/src/models/components/three.ts index a12b63619..20eb27b39 100644 --- a/packages/typescript/src/models/components/three.ts +++ b/packages/typescript/src/models/components/three.ts @@ -6,7 +6,7 @@ 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 { ChoiceJson3, ChoiceJson3$inboundSchema } from "./choicejson3.js"; +import { ChoiceJson2, ChoiceJson2$inboundSchema } from "./choicejson2.js"; import { ChoicesDisplayTypeJson, ChoicesDisplayTypeJson$inboundSchema, @@ -19,7 +19,7 @@ export type Three = { /** * Choices of custom fields. */ - choices?: Array | undefined; + choices?: Array | undefined; /** * Display type indicating how to display the choices on UI. For 'Choice - Single Answer' custom field type, this defaults to Dropdown. For 'Choice - Multiple Answers' custom field type, this defaults to MultiSelectBox. */ @@ -29,7 +29,7 @@ export type Three = { /** @internal */ export const Three$inboundSchema: z.ZodType = z .object({ - choices: z.array(ChoiceJson3$inboundSchema).optional(), + choices: z.array(ChoiceJson2$inboundSchema).optional(), displayType: ChoicesDisplayTypeJson$inboundSchema.optional(), }); diff --git a/packages/typescript/src/models/components/threeinput.ts b/packages/typescript/src/models/components/threeinput.ts index c55974828..cb3b394fd 100644 --- a/packages/typescript/src/models/components/threeinput.ts +++ b/packages/typescript/src/models/components/threeinput.ts @@ -4,10 +4,10 @@ import * as z from "zod/v3"; import { - ChoiceJson3Input, - ChoiceJson3Input$Outbound, - ChoiceJson3Input$outboundSchema, -} from "./choicejson3input.js"; + ChoiceJson2Input, + ChoiceJson2Input$Outbound, + ChoiceJson2Input$outboundSchema, +} from "./choicejson2input.js"; import { ChoicesDisplayTypeJson, ChoicesDisplayTypeJson$outboundSchema, @@ -20,7 +20,7 @@ export type ThreeInput = { /** * Choices of custom fields. */ - choices?: Array | undefined; + choices?: Array | undefined; /** * Display type indicating how to display the choices on UI. For 'Choice - Single Answer' custom field type, this defaults to Dropdown. For 'Choice - Multiple Answers' custom field type, this defaults to MultiSelectBox. */ @@ -29,7 +29,7 @@ export type ThreeInput = { /** @internal */ export type ThreeInput$Outbound = { - choices?: Array | undefined; + choices?: Array | undefined; displayType?: string | undefined; }; @@ -39,7 +39,7 @@ export const ThreeInput$outboundSchema: z.ZodType< z.ZodTypeDef, ThreeInput > = z.object({ - choices: z.array(ChoiceJson3Input$outboundSchema).optional(), + choices: z.array(ChoiceJson2Input$outboundSchema).optional(), displayType: ChoicesDisplayTypeJson$outboundSchema.optional(), }); diff --git a/packages/typescript/src/models/components/thumbnailstatus.ts b/packages/typescript/src/models/components/thumbnailstatus.ts new file mode 100644 index 000000000..5b72b49a6 --- /dev/null +++ b/packages/typescript/src/models/components/thumbnailstatus.ts @@ -0,0 +1,26 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was completed. Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. + */ +export const ThumbnailStatus = { + Started: "Started", + Uploaded: "Uploaded", + Processing: "Processing", + Available: "Available", + Rejected: "Rejected", +} as const; +/** + * Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was completed. Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. + */ +export type ThumbnailStatus = ClosedEnum; + +/** @internal */ +export const ThumbnailStatus$inboundSchema: z.ZodNativeEnum< + typeof ThumbnailStatus +> = z.nativeEnum(ThumbnailStatus); diff --git a/packages/typescript/src/models/components/thumbnailstatusjson.ts b/packages/typescript/src/models/components/thumbnailstatusjson.ts deleted file mode 100644 index b22902dd4..000000000 --- a/packages/typescript/src/models/components/thumbnailstatusjson.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was completed. Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. - */ -export const ThumbnailStatusJson = { - Started: "Started", - Uploaded: "Uploaded", - Processing: "Processing", - Available: "Available", - Rejected: "Rejected", -} as const; -/** - * Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was completed. Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. - */ -export type ThumbnailStatusJson = ClosedEnum; - -/** @internal */ -export const ThumbnailStatusJson$inboundSchema: z.ZodNativeEnum< - typeof ThumbnailStatusJson -> = z.nativeEnum(ThumbnailStatusJson); diff --git a/packages/typescript/src/models/components/thumbnailtype.ts b/packages/typescript/src/models/components/thumbnailtype.ts new file mode 100644 index 000000000..56cd17981 --- /dev/null +++ b/packages/typescript/src/models/components/thumbnailtype.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"; + +/** + * This is used to denote the file type of a thumbnail + */ +export const ThumbnailType = { + Bmp: "bmp", + Gif: "gif", + Jpe: "jpe", + Jpeg: "jpeg", + Jpg: "jpg", + Png: "png", + Svg: "svg", +} as const; +/** + * This is used to denote the file type of a thumbnail + */ +export type ThumbnailType = ClosedEnum; + +/** @internal */ +export const ThumbnailType$inboundSchema: z.ZodNativeEnum< + typeof ThumbnailType +> = z.nativeEnum(ThumbnailType); diff --git a/packages/typescript/src/models/components/thumbnailtypejson.ts b/packages/typescript/src/models/components/thumbnailtypejson.ts deleted file mode 100644 index 235993ccc..000000000 --- a/packages/typescript/src/models/components/thumbnailtypejson.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * This is used to denote the file type of a thumbnail - */ -export const ThumbnailTypeJson = { - Bmp: "bmp", - Gif: "gif", - Jpe: "jpe", - Jpeg: "jpeg", - Jpg: "jpg", - Png: "png", - Svg: "svg", -} as const; -/** - * This is used to denote the file type of a thumbnail - */ -export type ThumbnailTypeJson = ClosedEnum; - -/** @internal */ -export const ThumbnailTypeJson$inboundSchema: z.ZodNativeEnum< - typeof ThumbnailTypeJson -> = z.nativeEnum(ThumbnailTypeJson); diff --git a/packages/typescript/src/models/components/transactiondetailresponse.ts b/packages/typescript/src/models/components/transactiondetailresponse.ts index 2cfe56ad0..8ddb44b1a 100644 --- a/packages/typescript/src/models/components/transactiondetailresponse.ts +++ b/packages/typescript/src/models/components/transactiondetailresponse.ts @@ -6,7 +6,7 @@ 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 { Attendee2, Attendee2$inboundSchema } from "./attendee2.js"; +import { Attendee, Attendee$inboundSchema } from "./attendee.js"; import { BillingAddress, BillingAddress$inboundSchema, @@ -51,7 +51,7 @@ export type TransactionDetailResponse = { /** * The reference to the attendee. Contains only the ID of the attendee. */ - attendee?: Attendee2 | undefined; + attendee?: Attendee | undefined; /** * This denotes the order IDs corresponding to this transaction. */ @@ -126,7 +126,7 @@ export const TransactionDetailResponse$inboundSchema: z.ZodType< id: z.string().optional(), processorTransactionId: z.string().optional(), event: Event2$inboundSchema.optional(), - attendee: Attendee2$inboundSchema.optional(), + attendee: Attendee$inboundSchema.optional(), orders: z.array(Order$inboundSchema).optional(), journalNumber: z.string().optional(), paymentType: PaymentType1$inboundSchema.optional(), diff --git a/packages/typescript/src/models/components/transactionitemresponse.ts b/packages/typescript/src/models/components/transactionitemresponse.ts index 676db55b0..8739da596 100644 --- a/packages/typescript/src/models/components/transactionitemresponse.ts +++ b/packages/typescript/src/models/components/transactionitemresponse.ts @@ -6,7 +6,7 @@ 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 { Attendee2, Attendee2$inboundSchema } from "./attendee2.js"; +import { Attendee, Attendee$inboundSchema } from "./attendee.js"; import { Event2, Event2$inboundSchema } from "./event2.js"; import { OrderItemRef, OrderItemRef$inboundSchema } from "./orderitemref.js"; import { @@ -54,7 +54,7 @@ export type TransactionItemResponse = { /** * The reference to the attendee. Contains only the ID of the attendee. */ - attendee?: Attendee2 | undefined; + attendee?: Attendee | undefined; /** * This is used to denote the product details in an order item */ @@ -94,7 +94,7 @@ export const TransactionItemResponse$inboundSchema: z.ZodType< uniqueId: z.string().optional(), transaction: TransactionId$inboundSchema.optional(), event: Event2$inboundSchema.optional(), - attendee: Attendee2$inboundSchema.optional(), + attendee: Attendee$inboundSchema.optional(), product: ProductOrderItem$inboundSchema.optional(), orderItem: OrderItemRef$inboundSchema.optional(), name: z.string().optional(), diff --git a/packages/typescript/src/models/components/travelaccount.ts b/packages/typescript/src/models/components/travelaccount.ts index b38e13bc6..c49439bde 100644 --- a/packages/typescript/src/models/components/travelaccount.ts +++ b/packages/typescript/src/models/components/travelaccount.ts @@ -6,11 +6,11 @@ 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 { AddressJson5, AddressJson5$inboundSchema } from "./addressjson5.js"; +import { Address6, Address6$inboundSchema } from "./address6.js"; import { - TravelAccountTypeJson, - TravelAccountTypeJson$inboundSchema, -} from "./travelaccounttypejson.js"; + TravelAccountType, + TravelAccountType$inboundSchema, +} from "./travelaccounttype.js"; /** * Travel account details. @@ -43,7 +43,7 @@ export type TravelAccount = { /** * Code representing the travel account type. */ - type?: TravelAccountTypeJson | undefined; + type?: TravelAccountType | undefined; /** * Is this a certified travel account? */ @@ -51,7 +51,7 @@ export type TravelAccount = { /** * List of addresses associated with the travel account. */ - addresses?: Array | undefined; + addresses?: Array | undefined; }; /** @internal */ @@ -69,9 +69,9 @@ export const TravelAccount$inboundSchema: z.ZodType< lastModifiedBy: z.string().optional(), id: z.string().optional(), name: z.string().optional(), - type: TravelAccountTypeJson$inboundSchema.optional(), + type: TravelAccountType$inboundSchema.optional(), certified: z.boolean().optional(), - addresses: z.array(AddressJson5$inboundSchema).optional(), + addresses: z.array(Address6$inboundSchema).optional(), }); export function travelAccountFromJSON( diff --git a/packages/typescript/src/models/components/travelaccountpaginatedresponse.ts b/packages/typescript/src/models/components/travelaccountpaginatedresponse.ts index b426d2866..74e6f38fb 100644 --- a/packages/typescript/src/models/components/travelaccountpaginatedresponse.ts +++ b/packages/typescript/src/models/components/travelaccountpaginatedresponse.ts @@ -6,7 +6,7 @@ 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 { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; import { TravelAccount, TravelAccount$inboundSchema } from "./travelaccount.js"; /** @@ -16,7 +16,7 @@ export type TravelAccountPaginatedResponse = { /** * Represents pagination information for a collection of resources. */ - paging?: PagingJson | undefined; + paging?: Paging | undefined; /** * Collection of travel accounts and their related details. */ @@ -29,7 +29,7 @@ export const TravelAccountPaginatedResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema.optional(), + paging: Paging$inboundSchema.optional(), data: z.array(TravelAccount$inboundSchema).optional(), }); diff --git a/packages/typescript/src/models/components/travelaccountsupplieraccount.ts b/packages/typescript/src/models/components/travelaccountsupplieraccount.ts index 15bf27951..8e187bbd4 100644 --- a/packages/typescript/src/models/components/travelaccountsupplieraccount.ts +++ b/packages/typescript/src/models/components/travelaccountsupplieraccount.ts @@ -7,9 +7,9 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - ManagementLevelTypeJson1, - ManagementLevelTypeJson1$inboundSchema, -} from "./managementleveltypejson1.js"; + ManagementLevelType1, + ManagementLevelType1$inboundSchema, +} from "./managementleveltype1.js"; /** * The travel account that the supplier account is associated with. @@ -36,7 +36,7 @@ export type TravelAccountSupplierAccount = { /** * The management level of the travel account. Defined by the supply-side. */ - managementLevel?: ManagementLevelTypeJson1 | undefined; + managementLevel?: ManagementLevelType1 | undefined; /** * Is this account active for the supplier's hotels. */ @@ -90,7 +90,7 @@ export const TravelAccountSupplierAccount$inboundSchema: z.ZodType< TravelAccountSupplierAccountTravelAccount$inboundSchema ).optional(), name: z.string().optional(), - managementLevel: ManagementLevelTypeJson1$inboundSchema.optional(), + managementLevel: ManagementLevelType1$inboundSchema.optional(), active: z.boolean().optional(), crmId: z.string().optional(), chainDefinedId: z.string().optional(), diff --git a/packages/typescript/src/models/components/travelaccountsupplieraccountpaginatedresponse.ts b/packages/typescript/src/models/components/travelaccountsupplieraccountpaginatedresponse.ts index 522e6d603..d91be89f9 100644 --- a/packages/typescript/src/models/components/travelaccountsupplieraccountpaginatedresponse.ts +++ b/packages/typescript/src/models/components/travelaccountsupplieraccountpaginatedresponse.ts @@ -6,7 +6,7 @@ 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 { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; import { TravelAccountSupplierAccount, TravelAccountSupplierAccount$inboundSchema, @@ -19,7 +19,7 @@ export type TravelAccountSupplierAccountPaginatedResponse = { /** * Represents pagination information for a collection of resources. */ - paging?: PagingJson | undefined; + paging?: Paging | undefined; /** * Collection of suppliers travel accounts and their related details. */ @@ -33,7 +33,7 @@ export const TravelAccountSupplierAccountPaginatedResponse$inboundSchema: z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema.optional(), + paging: Paging$inboundSchema.optional(), data: z.array(TravelAccountSupplierAccount$inboundSchema).optional(), }); diff --git a/packages/typescript/src/models/components/travelaccounttype.ts b/packages/typescript/src/models/components/travelaccounttype.ts new file mode 100644 index 000000000..8597124e6 --- /dev/null +++ b/packages/typescript/src/models/components/travelaccounttype.ts @@ -0,0 +1,24 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Code representing the travel account type. + */ +export const TravelAccountType = { + Corporate: "corporate", + Leisure: "leisure", + Consortia: "consortia", +} as const; +/** + * Code representing the travel account type. + */ +export type TravelAccountType = ClosedEnum; + +/** @internal */ +export const TravelAccountType$inboundSchema: z.ZodNativeEnum< + typeof TravelAccountType +> = z.nativeEnum(TravelAccountType); diff --git a/packages/typescript/src/models/components/travelaccounttypejson.ts b/packages/typescript/src/models/components/travelaccounttypejson.ts deleted file mode 100644 index 492a7b8f2..000000000 --- a/packages/typescript/src/models/components/travelaccounttypejson.ts +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Code representing the travel account type. - */ -export const TravelAccountTypeJson = { - Corporate: "corporate", - Leisure: "leisure", - Consortia: "consortia", -} as const; -/** - * Code representing the travel account type. - */ -export type TravelAccountTypeJson = ClosedEnum; - -/** @internal */ -export const TravelAccountTypeJson$inboundSchema: z.ZodNativeEnum< - typeof TravelAccountTypeJson -> = z.nativeEnum(TravelAccountTypeJson); diff --git a/packages/typescript/src/models/components/travelamenityjson.ts b/packages/typescript/src/models/components/travelamenityjson.ts deleted file mode 100644 index f2dc32e95..000000000 --- a/packages/typescript/src/models/components/travelamenityjson.ts +++ /dev/null @@ -1,72 +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"; - -/** - * Group and meeting amenity info. - */ -export type TravelAmenityJson = { - /** - * True indicates a liquid crystal display (LCD) is included in the amenity. - */ - lcdIncluded?: boolean | undefined; - /** - * Price of the liquid crystal display (LCD). - */ - lcdPrice?: number | undefined; - /** - * True indicates a screen is included in the amenity. - */ - screenIncluded?: boolean | undefined; - /** - * Price of the screen. - */ - screenPrice?: number | undefined; - /** - * True indicates high speed internet access is included in the amenity. - */ - hsiaIncluded?: boolean | undefined; - /** - * Price of high speed internet access (HSIA). - */ - hsiaPrice?: number | undefined; - /** - * True indicates parking is included in the amenity. - */ - complementaryParkingIncluded?: boolean | undefined; - /** - * Name of company providing AV equipment. - */ - whatCompanyProvidesAVEquipment?: string | undefined; -}; - -/** @internal */ -export const TravelAmenityJson$inboundSchema: z.ZodType< - TravelAmenityJson, - z.ZodTypeDef, - unknown -> = z.object({ - lcdIncluded: z.boolean().optional(), - lcdPrice: z.number().optional(), - screenIncluded: z.boolean().optional(), - screenPrice: z.number().optional(), - hsiaIncluded: z.boolean().optional(), - hsiaPrice: z.number().optional(), - complementaryParkingIncluded: z.boolean().optional(), - whatCompanyProvidesAVEquipment: z.string().optional(), -}); - -export function travelAmenityJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TravelAmenityJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TravelAmenityJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/travelbidamenity.ts b/packages/typescript/src/models/components/travelbidamenity.ts new file mode 100644 index 000000000..6418709a5 --- /dev/null +++ b/packages/typescript/src/models/components/travelbidamenity.ts @@ -0,0 +1,82 @@ +/* + * 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 { AmenityType, AmenityType$inboundSchema } from "./amenitytype.js"; +import { + BidItemStatusType, + BidItemStatusType$inboundSchema, +} from "./biditemstatustype.js"; + +/** + * Amenity details for a travel bid. + */ +export type TravelBidAmenity = { + /** + * Amenity type + */ + type?: AmenityType | undefined; + /** + * The code representing the amenity. + */ + code?: string | undefined; + /** + * The category of the amenity. + */ + category?: string | undefined; + /** + * True indicates the amenity price is included in the rate. + */ + included: boolean; + /** + * The price of the amenity. + */ + price?: number | undefined; + /** + * The price of the amenity after discounts. + */ + discountAmount?: number | undefined; + /** + * Internal cost of the amenity. + */ + internalCost?: number | undefined; + /** + * Additional notes on the amenity. + */ + description?: string | undefined; + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + */ + status?: BidItemStatusType | undefined; +}; + +/** @internal */ +export const TravelBidAmenity$inboundSchema: z.ZodType< + TravelBidAmenity, + z.ZodTypeDef, + unknown +> = z.object({ + type: AmenityType$inboundSchema.optional(), + code: z.string().optional(), + category: z.string().optional(), + included: z.boolean().default(false), + price: z.number().optional(), + discountAmount: z.number().optional(), + internalCost: z.number().optional(), + description: z.string().optional(), + status: BidItemStatusType$inboundSchema.optional(), +}); + +export function travelBidAmenityFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TravelBidAmenity$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TravelBidAmenity' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/travelbidamenityjson.ts b/packages/typescript/src/models/components/travelbidamenityjson.ts deleted file mode 100644 index 95f8db4dc..000000000 --- a/packages/typescript/src/models/components/travelbidamenityjson.ts +++ /dev/null @@ -1,85 +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 { - AmenityTypeJson, - AmenityTypeJson$inboundSchema, -} from "./amenitytypejson.js"; -import { - BidItemStatusTypeJson, - BidItemStatusTypeJson$inboundSchema, -} from "./biditemstatustypejson.js"; - -/** - * Amenity details for a travel bid. - */ -export type TravelBidAmenityJson = { - /** - * Amenity type - */ - type?: AmenityTypeJson | undefined; - /** - * The code representing the amenity. - */ - code?: string | undefined; - /** - * The category of the amenity. - */ - category?: string | undefined; - /** - * True indicates the amenity price is included in the rate. - */ - included: boolean; - /** - * The price of the amenity. - */ - price?: number | undefined; - /** - * The price of the amenity after discounts. - */ - discountAmount?: number | undefined; - /** - * Internal cost of the amenity. - */ - internalCost?: number | undefined; - /** - * Additional notes on the amenity. - */ - description?: string | undefined; - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. - */ - status?: BidItemStatusTypeJson | undefined; -}; - -/** @internal */ -export const TravelBidAmenityJson$inboundSchema: z.ZodType< - TravelBidAmenityJson, - z.ZodTypeDef, - unknown -> = z.object({ - type: AmenityTypeJson$inboundSchema.optional(), - code: z.string().optional(), - category: z.string().optional(), - included: z.boolean().default(false), - price: z.number().optional(), - discountAmount: z.number().optional(), - internalCost: z.number().optional(), - description: z.string().optional(), - status: BidItemStatusTypeJson$inboundSchema.optional(), -}); - -export function travelBidAmenityJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TravelBidAmenityJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TravelBidAmenityJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/travelbidcomment.ts b/packages/typescript/src/models/components/travelbidcomment.ts new file mode 100644 index 000000000..698ae5dd6 --- /dev/null +++ b/packages/typescript/src/models/components/travelbidcomment.ts @@ -0,0 +1,43 @@ +/* + * 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 { CommentType, CommentType$inboundSchema } from "./commenttype.js"; + +/** + * A comment on a travel bid. + */ +export type TravelBidComment = { + /** + * Bid comment type + */ + commentType?: CommentType | undefined; + /** + * The text of the comment. + */ + comment?: string | undefined; +}; + +/** @internal */ +export const TravelBidComment$inboundSchema: z.ZodType< + TravelBidComment, + z.ZodTypeDef, + unknown +> = z.object({ + commentType: CommentType$inboundSchema.optional(), + comment: z.string().optional(), +}); + +export function travelBidCommentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TravelBidComment$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TravelBidComment' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/travelbidcommentjson.ts b/packages/typescript/src/models/components/travelbidcommentjson.ts deleted file mode 100644 index 59b5c21e9..000000000 --- a/packages/typescript/src/models/components/travelbidcommentjson.ts +++ /dev/null @@ -1,46 +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 { - CommentTypeJson, - CommentTypeJson$inboundSchema, -} from "./commenttypejson.js"; - -/** - * A comment on a travel bid. - */ -export type TravelBidCommentJson = { - /** - * Bid comment type - */ - commentType?: CommentTypeJson | undefined; - /** - * The text of the comment. - */ - comment?: string | undefined; -}; - -/** @internal */ -export const TravelBidCommentJson$inboundSchema: z.ZodType< - TravelBidCommentJson, - z.ZodTypeDef, - unknown -> = z.object({ - commentType: CommentTypeJson$inboundSchema.optional(), - comment: z.string().optional(), -}); - -export function travelBidCommentJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TravelBidCommentJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TravelBidCommentJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/travelbiddiscount.ts b/packages/typescript/src/models/components/travelbiddiscount.ts new file mode 100644 index 000000000..c75e19a72 --- /dev/null +++ b/packages/typescript/src/models/components/travelbiddiscount.ts @@ -0,0 +1,81 @@ +/* + * 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 { + BidItemStatusType, + BidItemStatusType$inboundSchema, +} from "./biditemstatustype.js"; + +/** + * ID of the property's room. + */ +export type TravelBidDiscountPropertyRoom = { + /** + * The unique ID of the property room. + */ + id?: string | undefined; +}; + +/** + * Discount for a travel bid. + */ +export type TravelBidDiscount = { + /** + * ID of the property's room. + */ + propertyRoom?: TravelBidDiscountPropertyRoom | undefined; + /** + * Discount percentage for the dynamic rate. + */ + discount?: number | undefined; + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + */ + status?: BidItemStatusType | undefined; +}; + +/** @internal */ +export const TravelBidDiscountPropertyRoom$inboundSchema: z.ZodType< + TravelBidDiscountPropertyRoom, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function travelBidDiscountPropertyRoomFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TravelBidDiscountPropertyRoom$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TravelBidDiscountPropertyRoom' from JSON`, + ); +} + +/** @internal */ +export const TravelBidDiscount$inboundSchema: z.ZodType< + TravelBidDiscount, + z.ZodTypeDef, + unknown +> = z.object({ + propertyRoom: z.lazy(() => TravelBidDiscountPropertyRoom$inboundSchema) + .optional(), + discount: z.number().int().optional(), + status: BidItemStatusType$inboundSchema.optional(), +}); + +export function travelBidDiscountFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TravelBidDiscount$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TravelBidDiscount' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/travelbiddiscountjson.ts b/packages/typescript/src/models/components/travelbiddiscountjson.ts deleted file mode 100644 index 086a0ce6e..000000000 --- a/packages/typescript/src/models/components/travelbiddiscountjson.ts +++ /dev/null @@ -1,81 +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 { - BidItemStatusTypeJson, - BidItemStatusTypeJson$inboundSchema, -} from "./biditemstatustypejson.js"; - -/** - * ID of the property's room. - */ -export type TravelBidDiscountJsonPropertyRoom = { - /** - * The unique ID of the property room. - */ - id?: string | undefined; -}; - -/** - * Discount for a travel bid. - */ -export type TravelBidDiscountJson = { - /** - * ID of the property's room. - */ - propertyRoom?: TravelBidDiscountJsonPropertyRoom | undefined; - /** - * Discount percentage for the dynamic rate. - */ - discount?: number | undefined; - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. - */ - status?: BidItemStatusTypeJson | undefined; -}; - -/** @internal */ -export const TravelBidDiscountJsonPropertyRoom$inboundSchema: z.ZodType< - TravelBidDiscountJsonPropertyRoom, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function travelBidDiscountJsonPropertyRoomFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TravelBidDiscountJsonPropertyRoom$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TravelBidDiscountJsonPropertyRoom' from JSON`, - ); -} - -/** @internal */ -export const TravelBidDiscountJson$inboundSchema: z.ZodType< - TravelBidDiscountJson, - z.ZodTypeDef, - unknown -> = z.object({ - propertyRoom: z.lazy(() => TravelBidDiscountJsonPropertyRoom$inboundSchema) - .optional(), - discount: z.number().int().optional(), - status: BidItemStatusTypeJson$inboundSchema.optional(), -}); - -export function travelBidDiscountJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TravelBidDiscountJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TravelBidDiscountJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/travelbiddisposition.ts b/packages/typescript/src/models/components/travelbiddisposition.ts new file mode 100644 index 000000000..1e2ca13da --- /dev/null +++ b/packages/typescript/src/models/components/travelbiddisposition.ts @@ -0,0 +1,57 @@ +/* + * 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 { RateType, RateType$inboundSchema } from "./ratetype.js"; +import { + TravelBidDispositionAcceptedRoom, + TravelBidDispositionAcceptedRoom$inboundSchema, +} from "./travelbiddispositionacceptedroom.js"; +import { + TravelProposalBid1, + TravelProposalBid1$inboundSchema, +} from "./travelproposalbid1.js"; + +/** + * Represents bid disposition details. + */ +export type TravelBidDisposition = { + /** + * A travel proposal bid. + */ + bid?: TravelProposalBid1 | undefined; + /** + * List of accepted bid rooms. + */ + acceptedBidRooms?: Array | undefined; + /** + * Rate type. + */ + rateType: RateType; +}; + +/** @internal */ +export const TravelBidDisposition$inboundSchema: z.ZodType< + TravelBidDisposition, + z.ZodTypeDef, + unknown +> = z.object({ + bid: TravelProposalBid1$inboundSchema.optional(), + acceptedBidRooms: z.array(TravelBidDispositionAcceptedRoom$inboundSchema) + .optional(), + rateType: RateType$inboundSchema.default("fixed"), +}); + +export function travelBidDispositionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TravelBidDisposition$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TravelBidDisposition' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/travelbiddispositionacceptedroom.ts b/packages/typescript/src/models/components/travelbiddispositionacceptedroom.ts new file mode 100644 index 000000000..49b026924 --- /dev/null +++ b/packages/typescript/src/models/components/travelbiddispositionacceptedroom.ts @@ -0,0 +1,85 @@ +/* + * 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"; + +/** + * ID of the property's room. + */ +export type TravelBidDispositionAcceptedRoomPropertyRoom = { + /** + * The unique ID of the property room. + */ + id?: string | undefined; +}; + +/** + * Represents bid disposition's accepted room. + */ +export type TravelBidDispositionAcceptedRoom = { + /** + * ID of the property's room. + */ + propertyRoom?: TravelBidDispositionAcceptedRoomPropertyRoom | undefined; + /** + * Indicates whether the LRA rates are accepted. + */ + lraRateAccepted?: boolean | undefined; + /** + * Indicates whether the NLRA rates are accepted. + */ + nlraRateAccepted?: boolean | undefined; +}; + +/** @internal */ +export const TravelBidDispositionAcceptedRoomPropertyRoom$inboundSchema: + z.ZodType< + TravelBidDispositionAcceptedRoomPropertyRoom, + z.ZodTypeDef, + unknown + > = z.object({ + id: z.string().optional(), + }); + +export function travelBidDispositionAcceptedRoomPropertyRoomFromJSON( + jsonString: string, +): SafeParseResult< + TravelBidDispositionAcceptedRoomPropertyRoom, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + TravelBidDispositionAcceptedRoomPropertyRoom$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'TravelBidDispositionAcceptedRoomPropertyRoom' from JSON`, + ); +} + +/** @internal */ +export const TravelBidDispositionAcceptedRoom$inboundSchema: z.ZodType< + TravelBidDispositionAcceptedRoom, + z.ZodTypeDef, + unknown +> = z.object({ + propertyRoom: z.lazy(() => + TravelBidDispositionAcceptedRoomPropertyRoom$inboundSchema + ).optional(), + lraRateAccepted: z.boolean().optional(), + nlraRateAccepted: z.boolean().optional(), +}); + +export function travelBidDispositionAcceptedRoomFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TravelBidDispositionAcceptedRoom$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TravelBidDispositionAcceptedRoom' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/travelbiddispositionacceptedroomjson.ts b/packages/typescript/src/models/components/travelbiddispositionacceptedroomjson.ts deleted file mode 100644 index f6a50e82a..000000000 --- a/packages/typescript/src/models/components/travelbiddispositionacceptedroomjson.ts +++ /dev/null @@ -1,86 +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"; - -/** - * ID of the property's room. - */ -export type TravelBidDispositionAcceptedRoomJsonPropertyRoom = { - /** - * The unique ID of the property room. - */ - id?: string | undefined; -}; - -/** - * Represents bid disposition's accepted room. - */ -export type TravelBidDispositionAcceptedRoomJson = { - /** - * ID of the property's room. - */ - propertyRoom?: TravelBidDispositionAcceptedRoomJsonPropertyRoom | undefined; - /** - * Indicates whether the LRA rates are accepted. - */ - lraRateAccepted?: boolean | undefined; - /** - * Indicates whether the NLRA rates are accepted. - */ - nlraRateAccepted?: boolean | undefined; -}; - -/** @internal */ -export const TravelBidDispositionAcceptedRoomJsonPropertyRoom$inboundSchema: - z.ZodType< - TravelBidDispositionAcceptedRoomJsonPropertyRoom, - z.ZodTypeDef, - unknown - > = z.object({ - id: z.string().optional(), - }); - -export function travelBidDispositionAcceptedRoomJsonPropertyRoomFromJSON( - jsonString: string, -): SafeParseResult< - TravelBidDispositionAcceptedRoomJsonPropertyRoom, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - TravelBidDispositionAcceptedRoomJsonPropertyRoom$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'TravelBidDispositionAcceptedRoomJsonPropertyRoom' from JSON`, - ); -} - -/** @internal */ -export const TravelBidDispositionAcceptedRoomJson$inboundSchema: z.ZodType< - TravelBidDispositionAcceptedRoomJson, - z.ZodTypeDef, - unknown -> = z.object({ - propertyRoom: z.lazy(() => - TravelBidDispositionAcceptedRoomJsonPropertyRoom$inboundSchema - ).optional(), - lraRateAccepted: z.boolean().optional(), - nlraRateAccepted: z.boolean().optional(), -}); - -export function travelBidDispositionAcceptedRoomJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - TravelBidDispositionAcceptedRoomJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TravelBidDispositionAcceptedRoomJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/travelbiddispositionjson.ts b/packages/typescript/src/models/components/travelbiddispositionjson.ts deleted file mode 100644 index 197a14116..000000000 --- a/packages/typescript/src/models/components/travelbiddispositionjson.ts +++ /dev/null @@ -1,57 +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 { RateTypeJson, RateTypeJson$inboundSchema } from "./ratetypejson.js"; -import { - TravelBidDispositionAcceptedRoomJson, - TravelBidDispositionAcceptedRoomJson$inboundSchema, -} from "./travelbiddispositionacceptedroomjson.js"; -import { - TravelProposalBidIdJson, - TravelProposalBidIdJson$inboundSchema, -} from "./travelproposalbididjson.js"; - -/** - * Represents bid disposition details. - */ -export type TravelBidDispositionJson = { - /** - * A travel proposal bid. - */ - bid?: TravelProposalBidIdJson | undefined; - /** - * List of accepted bid rooms. - */ - acceptedBidRooms?: Array | undefined; - /** - * Rate type. - */ - rateType: RateTypeJson; -}; - -/** @internal */ -export const TravelBidDispositionJson$inboundSchema: z.ZodType< - TravelBidDispositionJson, - z.ZodTypeDef, - unknown -> = z.object({ - bid: TravelProposalBidIdJson$inboundSchema.optional(), - acceptedBidRooms: z.array(TravelBidDispositionAcceptedRoomJson$inboundSchema) - .optional(), - rateType: RateTypeJson$inboundSchema.default("fixed"), -}); - -export function travelBidDispositionJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TravelBidDispositionJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TravelBidDispositionJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/travelbidfairseason.ts b/packages/typescript/src/models/components/travelbidfairseason.ts new file mode 100644 index 000000000..8d8e75bcc --- /dev/null +++ b/packages/typescript/src/models/components/travelbidfairseason.ts @@ -0,0 +1,85 @@ +/* + * 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 { RFCDate } from "../../types/rfcdate.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + BidItemStatusType, + BidItemStatusType$inboundSchema, +} from "./biditemstatustype.js"; +import { + FairSeasonType, + FairSeasonType$inboundSchema, +} from "./fairseasontype.js"; +import { + TravelBidFairSeasonRate, + TravelBidFairSeasonRate$inboundSchema, +} from "./travelbidfairseasonrate.js"; + +/** + * The fair season for a travel bid. + */ +export type TravelBidFairSeason = { + /** + * Fair season type. Blackout means that no special rate is negotiated for that date and Best Available Rates will apply + */ + type: FairSeasonType; + /** + * Fair season name. + */ + name?: string | undefined; + /** + * The ISO 8601 start date of the fair season. + */ + startDate?: RFCDate | undefined; + /** + * The ISO 8601 end date of the fair season. + */ + endDate?: RFCDate | undefined; + /** + * Minimum length of stay for the fair season. + */ + minLengthOfStay?: number | undefined; + /** + * Release period for the fair season. Release period is the minimum number of days between the booking being made and the earliest arrival date. + */ + releasePeriod?: number | undefined; + /** + * Collection of rates for the fair season. + */ + rates?: Array | undefined; + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + */ + status?: BidItemStatusType | undefined; +}; + +/** @internal */ +export const TravelBidFairSeason$inboundSchema: z.ZodType< + TravelBidFairSeason, + z.ZodTypeDef, + unknown +> = z.object({ + type: FairSeasonType$inboundSchema.default("negotiated"), + name: z.string().optional(), + startDate: z.string().transform(v => new RFCDate(v)).optional(), + endDate: z.string().transform(v => new RFCDate(v)).optional(), + minLengthOfStay: z.number().int().optional(), + releasePeriod: z.number().int().optional(), + rates: z.array(TravelBidFairSeasonRate$inboundSchema).optional(), + status: BidItemStatusType$inboundSchema.optional(), +}); + +export function travelBidFairSeasonFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TravelBidFairSeason$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TravelBidFairSeason' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/travelbidfairseasonjson.ts b/packages/typescript/src/models/components/travelbidfairseasonjson.ts deleted file mode 100644 index c2df33864..000000000 --- a/packages/typescript/src/models/components/travelbidfairseasonjson.ts +++ /dev/null @@ -1,85 +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 { RFCDate } from "../../types/rfcdate.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { - BidItemStatusTypeJson, - BidItemStatusTypeJson$inboundSchema, -} from "./biditemstatustypejson.js"; -import { - FairSeasonTypeJson, - FairSeasonTypeJson$inboundSchema, -} from "./fairseasontypejson.js"; -import { - TravelBidFairSeasonRateJson, - TravelBidFairSeasonRateJson$inboundSchema, -} from "./travelbidfairseasonratejson.js"; - -/** - * The fair season for a travel bid. - */ -export type TravelBidFairSeasonJson = { - /** - * Fair season type. Blackout means that no special rate is negotiated for that date and Best Available Rates will apply - */ - type: FairSeasonTypeJson; - /** - * Fair season name. - */ - name?: string | undefined; - /** - * The ISO 8601 start date of the fair season. - */ - startDate?: RFCDate | undefined; - /** - * The ISO 8601 end date of the fair season. - */ - endDate?: RFCDate | undefined; - /** - * Minimum length of stay for the fair season. - */ - minLengthOfStay?: number | undefined; - /** - * Release period for the fair season. Release period is the minimum number of days between the booking being made and the earliest arrival date. - */ - releasePeriod?: number | undefined; - /** - * Collection of rates for the fair season. - */ - rates?: Array | undefined; - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. - */ - status?: BidItemStatusTypeJson | undefined; -}; - -/** @internal */ -export const TravelBidFairSeasonJson$inboundSchema: z.ZodType< - TravelBidFairSeasonJson, - z.ZodTypeDef, - unknown -> = z.object({ - type: FairSeasonTypeJson$inboundSchema.default("negotiated"), - name: z.string().optional(), - startDate: z.string().transform(v => new RFCDate(v)).optional(), - endDate: z.string().transform(v => new RFCDate(v)).optional(), - minLengthOfStay: z.number().int().optional(), - releasePeriod: z.number().int().optional(), - rates: z.array(TravelBidFairSeasonRateJson$inboundSchema).optional(), - status: BidItemStatusTypeJson$inboundSchema.optional(), -}); - -export function travelBidFairSeasonJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TravelBidFairSeasonJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TravelBidFairSeasonJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/travelbidfairseasonrate.ts b/packages/typescript/src/models/components/travelbidfairseasonrate.ts new file mode 100644 index 000000000..b6e7626cf --- /dev/null +++ b/packages/typescript/src/models/components/travelbidfairseasonrate.ts @@ -0,0 +1,102 @@ +/* + * 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 { + BidItemStatusType, + BidItemStatusType$inboundSchema, +} from "./biditemstatustype.js"; + +/** + * ID of the property's room. + */ +export type TravelBidFairSeasonRatePropertyRoom = { + /** + * The unique ID of the property room. + */ + id?: string | undefined; +}; + +/** + * The negotiated rates for a property room during the fair season. + */ +export type TravelBidFairSeasonRate = { + /** + * ID of the property's room. + */ + propertyRoom?: TravelBidFairSeasonRatePropertyRoom | undefined; + /** + * The single room rate. + */ + singleRate?: number | undefined; + /** + * The double room rate. + */ + doubleRate?: number | undefined; + /** + * The triple room rate. + */ + tripleRate?: number | undefined; + /** + * The quadruple room rate. + */ + quadRate?: number | undefined; + /** + * The number of rooms allotted at the negotiated rate. + */ + allotment?: number | undefined; + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + */ + status?: BidItemStatusType | undefined; +}; + +/** @internal */ +export const TravelBidFairSeasonRatePropertyRoom$inboundSchema: z.ZodType< + TravelBidFairSeasonRatePropertyRoom, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function travelBidFairSeasonRatePropertyRoomFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + TravelBidFairSeasonRatePropertyRoom$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TravelBidFairSeasonRatePropertyRoom' from JSON`, + ); +} + +/** @internal */ +export const TravelBidFairSeasonRate$inboundSchema: z.ZodType< + TravelBidFairSeasonRate, + z.ZodTypeDef, + unknown +> = z.object({ + propertyRoom: z.lazy(() => TravelBidFairSeasonRatePropertyRoom$inboundSchema) + .optional(), + singleRate: z.number().optional(), + doubleRate: z.number().optional(), + tripleRate: z.number().optional(), + quadRate: z.number().optional(), + allotment: z.number().int().optional(), + status: BidItemStatusType$inboundSchema.optional(), +}); + +export function travelBidFairSeasonRateFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TravelBidFairSeasonRate$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TravelBidFairSeasonRate' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/travelbidfairseasonratejson.ts b/packages/typescript/src/models/components/travelbidfairseasonratejson.ts deleted file mode 100644 index f74116475..000000000 --- a/packages/typescript/src/models/components/travelbidfairseasonratejson.ts +++ /dev/null @@ -1,108 +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 { - BidItemStatusTypeJson, - BidItemStatusTypeJson$inboundSchema, -} from "./biditemstatustypejson.js"; - -/** - * ID of the property's room. - */ -export type TravelBidFairSeasonRateJsonPropertyRoom = { - /** - * The unique ID of the property room. - */ - id?: string | undefined; -}; - -/** - * The negotiated rates for a property room during the fair season. - */ -export type TravelBidFairSeasonRateJson = { - /** - * ID of the property's room. - */ - propertyRoom?: TravelBidFairSeasonRateJsonPropertyRoom | undefined; - /** - * The single room rate. - */ - singleRate?: number | undefined; - /** - * The double room rate. - */ - doubleRate?: number | undefined; - /** - * The triple room rate. - */ - tripleRate?: number | undefined; - /** - * The quadruple room rate. - */ - quadRate?: number | undefined; - /** - * The number of rooms allotted at the negotiated rate. - */ - allotment?: number | undefined; - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. - */ - status?: BidItemStatusTypeJson | undefined; -}; - -/** @internal */ -export const TravelBidFairSeasonRateJsonPropertyRoom$inboundSchema: z.ZodType< - TravelBidFairSeasonRateJsonPropertyRoom, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function travelBidFairSeasonRateJsonPropertyRoomFromJSON( - jsonString: string, -): SafeParseResult< - TravelBidFairSeasonRateJsonPropertyRoom, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - TravelBidFairSeasonRateJsonPropertyRoom$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'TravelBidFairSeasonRateJsonPropertyRoom' from JSON`, - ); -} - -/** @internal */ -export const TravelBidFairSeasonRateJson$inboundSchema: z.ZodType< - TravelBidFairSeasonRateJson, - z.ZodTypeDef, - unknown -> = z.object({ - propertyRoom: z.lazy(() => - TravelBidFairSeasonRateJsonPropertyRoom$inboundSchema - ).optional(), - singleRate: z.number().optional(), - doubleRate: z.number().optional(), - tripleRate: z.number().optional(), - quadRate: z.number().optional(), - allotment: z.number().int().optional(), - status: BidItemStatusTypeJson$inboundSchema.optional(), -}); - -export function travelBidFairSeasonRateJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TravelBidFairSeasonRateJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TravelBidFairSeasonRateJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/travelbidpolicy.ts b/packages/typescript/src/models/components/travelbidpolicy.ts new file mode 100644 index 000000000..abddb53ac --- /dev/null +++ b/packages/typescript/src/models/components/travelbidpolicy.ts @@ -0,0 +1,75 @@ +/* + * 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 { + BidItemStatusType, + BidItemStatusType$inboundSchema, +} from "./biditemstatustype.js"; +import { + PolicyValueType, + PolicyValueType$inboundSchema, +} from "./policyvaluetype.js"; + +/** + * A policy that is associated with a travel bid. + */ +export type TravelBidPolicy = { + /** + * The code representing the policy. + */ + code?: string | undefined; + /** + * The category the policy falls under. + */ + category?: string | undefined; + /** + * The value of the policy. + */ + value?: string | undefined; + /** + * Value type of the policy + */ + valueType?: PolicyValueType | undefined; + /** + * True indicates the policy fee included in the rate. Only applies to policies with a value type of money or percent. + */ + included: boolean; + /** + * Additional notes on the policy. + */ + description?: string | undefined; + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + */ + status?: BidItemStatusType | undefined; +}; + +/** @internal */ +export const TravelBidPolicy$inboundSchema: z.ZodType< + TravelBidPolicy, + z.ZodTypeDef, + unknown +> = z.object({ + code: z.string().optional(), + category: z.string().optional(), + value: z.string().optional(), + valueType: PolicyValueType$inboundSchema.optional(), + included: z.boolean().default(false), + description: z.string().optional(), + status: BidItemStatusType$inboundSchema.optional(), +}); + +export function travelBidPolicyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TravelBidPolicy$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TravelBidPolicy' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/travelbidpolicyjson.ts b/packages/typescript/src/models/components/travelbidpolicyjson.ts deleted file mode 100644 index 381357836..000000000 --- a/packages/typescript/src/models/components/travelbidpolicyjson.ts +++ /dev/null @@ -1,75 +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 { - BidItemStatusTypeJson, - BidItemStatusTypeJson$inboundSchema, -} from "./biditemstatustypejson.js"; -import { - PolicyValueTypeJson, - PolicyValueTypeJson$inboundSchema, -} from "./policyvaluetypejson.js"; - -/** - * A policy that is associated with a travel bid. - */ -export type TravelBidPolicyJson = { - /** - * The code representing the policy. - */ - code?: string | undefined; - /** - * The category the policy falls under. - */ - category?: string | undefined; - /** - * The value of the policy. - */ - value?: string | undefined; - /** - * Value type of the policy - */ - valueType?: PolicyValueTypeJson | undefined; - /** - * True indicates the policy fee included in the rate. Only applies to policies with a value type of money or percent. - */ - included: boolean; - /** - * Additional notes on the policy. - */ - description?: string | undefined; - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. - */ - status?: BidItemStatusTypeJson | undefined; -}; - -/** @internal */ -export const TravelBidPolicyJson$inboundSchema: z.ZodType< - TravelBidPolicyJson, - z.ZodTypeDef, - unknown -> = z.object({ - code: z.string().optional(), - category: z.string().optional(), - value: z.string().optional(), - valueType: PolicyValueTypeJson$inboundSchema.optional(), - included: z.boolean().default(false), - description: z.string().optional(), - status: BidItemStatusTypeJson$inboundSchema.optional(), -}); - -export function travelBidPolicyJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TravelBidPolicyJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TravelBidPolicyJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/travelbidratejson.ts b/packages/typescript/src/models/components/travelbidratejson.ts deleted file mode 100644 index c2633d8f6..000000000 --- a/packages/typescript/src/models/components/travelbidratejson.ts +++ /dev/null @@ -1,57 +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 { - RateLevelTypeJson, - RateLevelTypeJson$inboundSchema, -} from "./rateleveltypejson.js"; -import { RateTypeJson, RateTypeJson$inboundSchema } from "./ratetypejson.js"; - -/** - * The rate (cost) information for a travel bid. - */ -export type TravelBidRateJson = { - /** - * Rate level - */ - level?: RateLevelTypeJson | undefined; - /** - * Rate type. - */ - type: RateTypeJson; - /** - * The code given to the bid (also called rate plan) by the supplier. - */ - planCode?: string | undefined; - /** - * The rate tier given to the bid (also called rate plan) by the supplier. - */ - tier?: string | undefined; -}; - -/** @internal */ -export const TravelBidRateJson$inboundSchema: z.ZodType< - TravelBidRateJson, - z.ZodTypeDef, - unknown -> = z.object({ - level: RateLevelTypeJson$inboundSchema.optional(), - type: RateTypeJson$inboundSchema.default("fixed"), - planCode: z.string().optional(), - tier: z.string().optional(), -}); - -export function travelBidRateJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TravelBidRateJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TravelBidRateJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/travelbidroom.ts b/packages/typescript/src/models/components/travelbidroom.ts new file mode 100644 index 000000000..ef72b0fbd --- /dev/null +++ b/packages/typescript/src/models/components/travelbidroom.ts @@ -0,0 +1,86 @@ +/* + * 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 { + BidItemStatusType, + BidItemStatusType$inboundSchema, +} from "./biditemstatustype.js"; + +/** + * ID of the property's room. + */ +export type TravelBidRoomPropertyRoom = { + /** + * The unique ID of the property room. + */ + id?: string | undefined; +}; + +/** + * A room in a travel bid. + */ +export type TravelBidRoom = { + /** + * ID of the property's room. + */ + propertyRoom?: TravelBidRoomPropertyRoom | undefined; + /** + * The number of rooms allocated to the bid. + */ + allocation?: number | undefined; + /** + * The order of the room in the bid. + */ + order?: number | undefined; + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + */ + status?: BidItemStatusType | undefined; +}; + +/** @internal */ +export const TravelBidRoomPropertyRoom$inboundSchema: z.ZodType< + TravelBidRoomPropertyRoom, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function travelBidRoomPropertyRoomFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TravelBidRoomPropertyRoom$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TravelBidRoomPropertyRoom' from JSON`, + ); +} + +/** @internal */ +export const TravelBidRoom$inboundSchema: z.ZodType< + TravelBidRoom, + z.ZodTypeDef, + unknown +> = z.object({ + propertyRoom: z.lazy(() => TravelBidRoomPropertyRoom$inboundSchema) + .optional(), + allocation: z.number().int().optional(), + order: z.number().int().optional(), + status: BidItemStatusType$inboundSchema.optional(), +}); + +export function travelBidRoomFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TravelBidRoom$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TravelBidRoom' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/travelbidroomjson.ts b/packages/typescript/src/models/components/travelbidroomjson.ts deleted file mode 100644 index 6cf2f57e9..000000000 --- a/packages/typescript/src/models/components/travelbidroomjson.ts +++ /dev/null @@ -1,86 +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 { - BidItemStatusTypeJson, - BidItemStatusTypeJson$inboundSchema, -} from "./biditemstatustypejson.js"; - -/** - * ID of the property's room. - */ -export type TravelBidRoomJsonPropertyRoom = { - /** - * The unique ID of the property room. - */ - id?: string | undefined; -}; - -/** - * A room in a travel bid. - */ -export type TravelBidRoomJson = { - /** - * ID of the property's room. - */ - propertyRoom?: TravelBidRoomJsonPropertyRoom | undefined; - /** - * The number of rooms allocated to the bid. - */ - allocation?: number | undefined; - /** - * The order of the room in the bid. - */ - order?: number | undefined; - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. - */ - status?: BidItemStatusTypeJson | undefined; -}; - -/** @internal */ -export const TravelBidRoomJsonPropertyRoom$inboundSchema: z.ZodType< - TravelBidRoomJsonPropertyRoom, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function travelBidRoomJsonPropertyRoomFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TravelBidRoomJsonPropertyRoom$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TravelBidRoomJsonPropertyRoom' from JSON`, - ); -} - -/** @internal */ -export const TravelBidRoomJson$inboundSchema: z.ZodType< - TravelBidRoomJson, - z.ZodTypeDef, - unknown -> = z.object({ - propertyRoom: z.lazy(() => TravelBidRoomJsonPropertyRoom$inboundSchema) - .optional(), - allocation: z.number().int().optional(), - order: z.number().int().optional(), - status: BidItemStatusTypeJson$inboundSchema.optional(), -}); - -export function travelBidRoomJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TravelBidRoomJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TravelBidRoomJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/travelbidseason.ts b/packages/typescript/src/models/components/travelbidseason.ts new file mode 100644 index 000000000..4f141968a --- /dev/null +++ b/packages/typescript/src/models/components/travelbidseason.ts @@ -0,0 +1,81 @@ +/* + * 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 { RFCDate } from "../../types/rfcdate.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + BidItemStatusType, + BidItemStatusType$inboundSchema, +} from "./biditemstatustype.js"; +import { + TravelBidSeasonRate, + TravelBidSeasonRate$inboundSchema, +} from "./travelbidseasonrate.js"; + +/** + * Season details for a travel bid. + */ +export type TravelBidSeason = { + /** + * Season name. + */ + name?: string | undefined; + /** + * The ISO 8601 start date of the season. + */ + startDate?: RFCDate | undefined; + /** + * The ISO 8601 end date of the season. + */ + endDate?: RFCDate | undefined; + /** + * Number of release periods. + */ + releasePeriod?: number | undefined; + /** + * Number of weekend release periods. + */ + weekendReleasePeriod?: number | undefined; + /** + * Collection of rates for the season. + */ + rates?: Array | undefined; + /** + * Collection of weekend rates for the season. + */ + weekendRates?: Array | undefined; + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + */ + status?: BidItemStatusType | undefined; +}; + +/** @internal */ +export const TravelBidSeason$inboundSchema: z.ZodType< + TravelBidSeason, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string().optional(), + startDate: z.string().transform(v => new RFCDate(v)).optional(), + endDate: z.string().transform(v => new RFCDate(v)).optional(), + releasePeriod: z.number().int().optional(), + weekendReleasePeriod: z.number().int().optional(), + rates: z.array(TravelBidSeasonRate$inboundSchema).optional(), + weekendRates: z.array(TravelBidSeasonRate$inboundSchema).optional(), + status: BidItemStatusType$inboundSchema.optional(), +}); + +export function travelBidSeasonFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TravelBidSeason$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TravelBidSeason' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/travelbidseasonjson.ts b/packages/typescript/src/models/components/travelbidseasonjson.ts deleted file mode 100644 index bd80da80b..000000000 --- a/packages/typescript/src/models/components/travelbidseasonjson.ts +++ /dev/null @@ -1,81 +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 { RFCDate } from "../../types/rfcdate.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { - BidItemStatusTypeJson, - BidItemStatusTypeJson$inboundSchema, -} from "./biditemstatustypejson.js"; -import { - TravelBidSeasonRateJson, - TravelBidSeasonRateJson$inboundSchema, -} from "./travelbidseasonratejson.js"; - -/** - * Season details for a travel bid. - */ -export type TravelBidSeasonJson = { - /** - * Season name. - */ - name?: string | undefined; - /** - * The ISO 8601 start date of the season. - */ - startDate?: RFCDate | undefined; - /** - * The ISO 8601 end date of the season. - */ - endDate?: RFCDate | undefined; - /** - * Number of release periods. - */ - releasePeriod?: number | undefined; - /** - * Number of weekend release periods. - */ - weekendReleasePeriod?: number | undefined; - /** - * Collection of rates for the season. - */ - rates?: Array | undefined; - /** - * Collection of weekend rates for the season. - */ - weekendRates?: Array | undefined; - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. - */ - status?: BidItemStatusTypeJson | undefined; -}; - -/** @internal */ -export const TravelBidSeasonJson$inboundSchema: z.ZodType< - TravelBidSeasonJson, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string().optional(), - startDate: z.string().transform(v => new RFCDate(v)).optional(), - endDate: z.string().transform(v => new RFCDate(v)).optional(), - releasePeriod: z.number().int().optional(), - weekendReleasePeriod: z.number().int().optional(), - rates: z.array(TravelBidSeasonRateJson$inboundSchema).optional(), - weekendRates: z.array(TravelBidSeasonRateJson$inboundSchema).optional(), - status: BidItemStatusTypeJson$inboundSchema.optional(), -}); - -export function travelBidSeasonJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TravelBidSeasonJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TravelBidSeasonJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/travelbidseasonrate.ts b/packages/typescript/src/models/components/travelbidseasonrate.ts new file mode 100644 index 000000000..6294f815e --- /dev/null +++ b/packages/typescript/src/models/components/travelbidseasonrate.ts @@ -0,0 +1,111 @@ +/* + * 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 { + BidItemStatusType, + BidItemStatusType$inboundSchema, +} from "./biditemstatustype.js"; + +/** + * ID of the property's room. + */ +export type TravelBidSeasonRatePropertyRoom = { + /** + * The unique ID of the property room. + */ + id?: string | undefined; +}; + +/** + * The negotiated rates for a property room during a specific season. + */ +export type TravelBidSeasonRate = { + /** + * ID of the property's room. + */ + propertyRoom?: TravelBidSeasonRatePropertyRoom | undefined; + /** + * The last room available (LRA) single rate. + */ + singleRate?: number | undefined; + /** + * The last room available (LRA) double rate. + */ + doubleRate?: number | undefined; + /** + * The last room available (LRA) triple rate. + */ + tripleRate?: number | undefined; + /** + * The last room available (LRA) quad rate. + */ + quadRate?: number | undefined; + /** + * The non last room available (NLRA) single rate. + */ + nlraSingleRate?: number | undefined; + /** + * The non last room available (NLRA) double rate. + */ + nlraDoubleRate?: number | undefined; + /** + * The number of rooms allotted at the negotiated rate. + */ + allotment?: number | undefined; + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + */ + status?: BidItemStatusType | undefined; +}; + +/** @internal */ +export const TravelBidSeasonRatePropertyRoom$inboundSchema: z.ZodType< + TravelBidSeasonRatePropertyRoom, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function travelBidSeasonRatePropertyRoomFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TravelBidSeasonRatePropertyRoom$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TravelBidSeasonRatePropertyRoom' from JSON`, + ); +} + +/** @internal */ +export const TravelBidSeasonRate$inboundSchema: z.ZodType< + TravelBidSeasonRate, + z.ZodTypeDef, + unknown +> = z.object({ + propertyRoom: z.lazy(() => TravelBidSeasonRatePropertyRoom$inboundSchema) + .optional(), + singleRate: z.number().optional(), + doubleRate: z.number().optional(), + tripleRate: z.number().optional(), + quadRate: z.number().optional(), + nlraSingleRate: z.number().optional(), + nlraDoubleRate: z.number().optional(), + allotment: z.number().int().optional(), + status: BidItemStatusType$inboundSchema.optional(), +}); + +export function travelBidSeasonRateFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TravelBidSeasonRate$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TravelBidSeasonRate' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/travelbidseasonratejson.ts b/packages/typescript/src/models/components/travelbidseasonratejson.ts deleted file mode 100644 index a6685bdf1..000000000 --- a/packages/typescript/src/models/components/travelbidseasonratejson.ts +++ /dev/null @@ -1,112 +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 { - BidItemStatusTypeJson, - BidItemStatusTypeJson$inboundSchema, -} from "./biditemstatustypejson.js"; - -/** - * ID of the property's room. - */ -export type TravelBidSeasonRateJsonPropertyRoom = { - /** - * The unique ID of the property room. - */ - id?: string | undefined; -}; - -/** - * The negotiated rates for a property room during a specific season. - */ -export type TravelBidSeasonRateJson = { - /** - * ID of the property's room. - */ - propertyRoom?: TravelBidSeasonRateJsonPropertyRoom | undefined; - /** - * The last room available (LRA) single rate. - */ - singleRate?: number | undefined; - /** - * The last room available (LRA) double rate. - */ - doubleRate?: number | undefined; - /** - * The last room available (LRA) triple rate. - */ - tripleRate?: number | undefined; - /** - * The last room available (LRA) quad rate. - */ - quadRate?: number | undefined; - /** - * The non last room available (NLRA) single rate. - */ - nlraSingleRate?: number | undefined; - /** - * The non last room available (NLRA) double rate. - */ - nlraDoubleRate?: number | undefined; - /** - * The number of rooms allotted at the negotiated rate. - */ - allotment?: number | undefined; - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. - */ - status?: BidItemStatusTypeJson | undefined; -}; - -/** @internal */ -export const TravelBidSeasonRateJsonPropertyRoom$inboundSchema: z.ZodType< - TravelBidSeasonRateJsonPropertyRoom, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function travelBidSeasonRateJsonPropertyRoomFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - TravelBidSeasonRateJsonPropertyRoom$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TravelBidSeasonRateJsonPropertyRoom' from JSON`, - ); -} - -/** @internal */ -export const TravelBidSeasonRateJson$inboundSchema: z.ZodType< - TravelBidSeasonRateJson, - z.ZodTypeDef, - unknown -> = z.object({ - propertyRoom: z.lazy(() => TravelBidSeasonRateJsonPropertyRoom$inboundSchema) - .optional(), - singleRate: z.number().optional(), - doubleRate: z.number().optional(), - tripleRate: z.number().optional(), - quadRate: z.number().optional(), - nlraSingleRate: z.number().optional(), - nlraDoubleRate: z.number().optional(), - allotment: z.number().int().optional(), - status: BidItemStatusTypeJson$inboundSchema.optional(), -}); - -export function travelBidSeasonRateJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TravelBidSeasonRateJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TravelBidSeasonRateJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/travelbidtaxandfee.ts b/packages/typescript/src/models/components/travelbidtaxandfee.ts new file mode 100644 index 000000000..ce8bd5eb3 --- /dev/null +++ b/packages/typescript/src/models/components/travelbidtaxandfee.ts @@ -0,0 +1,67 @@ +/* + * 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 { + BidItemStatusType, + BidItemStatusType$inboundSchema, +} from "./biditemstatustype.js"; +import { TaxType, TaxType$inboundSchema } from "./taxtype.js"; + +/** + * A tax or fee associated with a travel bid. + */ +export type TravelBidTaxAndFee = { + /** + * Bid tax type. + */ + code?: TaxType | undefined; + /** + * The amount of the tax/fee. This may be a percent or monetary value depending on the value in `percent`. + */ + amount?: number | undefined; + /** + * True indicates the tax/fee amount represents a percentage, instead of a monetary value. + */ + percent: boolean; + /** + * True indicates the tax/fee included in the negotiated rate. + */ + included: boolean; + /** + * Additional notes on the tax/fee. + */ + notes?: string | undefined; + /** + * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. + */ + status?: BidItemStatusType | undefined; +}; + +/** @internal */ +export const TravelBidTaxAndFee$inboundSchema: z.ZodType< + TravelBidTaxAndFee, + z.ZodTypeDef, + unknown +> = z.object({ + code: TaxType$inboundSchema.optional(), + amount: z.number().optional(), + percent: z.boolean().default(false), + included: z.boolean().default(false), + notes: z.string().optional(), + status: BidItemStatusType$inboundSchema.optional(), +}); + +export function travelBidTaxAndFeeFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TravelBidTaxAndFee$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TravelBidTaxAndFee' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/travelbidtaxfeejson.ts b/packages/typescript/src/models/components/travelbidtaxfeejson.ts deleted file mode 100644 index 17922f3f3..000000000 --- a/packages/typescript/src/models/components/travelbidtaxfeejson.ts +++ /dev/null @@ -1,67 +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 { - BidItemStatusTypeJson, - BidItemStatusTypeJson$inboundSchema, -} from "./biditemstatustypejson.js"; -import { TaxTypeJson, TaxTypeJson$inboundSchema } from "./taxtypejson.js"; - -/** - * A tax or fee associated with a travel bid. - */ -export type TravelBidTaxFeeJson = { - /** - * Bid tax type. - */ - code?: TaxTypeJson | undefined; - /** - * The amount of the tax/fee. This may be a percent or monetary value depending on the value in `percent`. - */ - amount?: number | undefined; - /** - * True indicates the tax/fee amount represents a percentage, instead of a monetary value. - */ - percent: boolean; - /** - * True indicates the tax/fee included in the negotiated rate. - */ - included: boolean; - /** - * Additional notes on the tax/fee. - */ - notes?: string | undefined; - /** - * The status of the item in negotiation. e.g. The corporation might mark an item as delete_requested, and the hotel, if they agree, can update the item to deleted. - */ - status?: BidItemStatusTypeJson | undefined; -}; - -/** @internal */ -export const TravelBidTaxFeeJson$inboundSchema: z.ZodType< - TravelBidTaxFeeJson, - z.ZodTypeDef, - unknown -> = z.object({ - code: TaxTypeJson$inboundSchema.optional(), - amount: z.number().optional(), - percent: z.boolean().default(false), - included: z.boolean().default(false), - notes: z.string().optional(), - status: BidItemStatusTypeJson$inboundSchema.optional(), -}); - -export function travelBidTaxFeeJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TravelBidTaxFeeJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TravelBidTaxFeeJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/travelbidweekenddayjson.ts b/packages/typescript/src/models/components/travelbidweekenddayjson.ts deleted file mode 100644 index aa3cce016..000000000 --- a/packages/typescript/src/models/components/travelbidweekenddayjson.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Days considered weekend days for pricing purposes in the travel bid. - */ -export const TravelBidWeekendDayJson = { - Monday: "Monday", - Tuesday: "Tuesday", - Wednesday: "Wednesday", - Thursday: "Thursday", - Friday: "Friday", - Saturday: "Saturday", - Sunday: "Sunday", -} as const; -/** - * Days considered weekend days for pricing purposes in the travel bid. - */ -export type TravelBidWeekendDayJson = ClosedEnum< - typeof TravelBidWeekendDayJson ->; - -/** @internal */ -export const TravelBidWeekendDayJson$inboundSchema: z.ZodNativeEnum< - typeof TravelBidWeekendDayJson -> = z.nativeEnum(TravelBidWeekendDayJson); diff --git a/packages/typescript/src/models/components/travelbidweekenddays.ts b/packages/typescript/src/models/components/travelbidweekenddays.ts new file mode 100644 index 000000000..c30e2babd --- /dev/null +++ b/packages/typescript/src/models/components/travelbidweekenddays.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"; + +/** + * Days considered weekend days for pricing purposes in the travel bid. + */ +export const TravelBidWeekendDays = { + Monday: "Monday", + Tuesday: "Tuesday", + Wednesday: "Wednesday", + Thursday: "Thursday", + Friday: "Friday", + Saturday: "Saturday", + Sunday: "Sunday", +} as const; +/** + * Days considered weekend days for pricing purposes in the travel bid. + */ +export type TravelBidWeekendDays = ClosedEnum; + +/** @internal */ +export const TravelBidWeekendDays$inboundSchema: z.ZodNativeEnum< + typeof TravelBidWeekendDays +> = z.nativeEnum(TravelBidWeekendDays); diff --git a/packages/typescript/src/models/components/travelbreakoutroomjson.ts b/packages/typescript/src/models/components/travelbreakoutroomjson.ts deleted file mode 100644 index 5d48cafd2..000000000 --- a/packages/typescript/src/models/components/travelbreakoutroomjson.ts +++ /dev/null @@ -1,63 +0,0 @@ -/* - * 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 { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * Break-out room information. - */ -export type TravelBreakOutRoomJson = { - /** - * True indicates a 10 person room is included. - */ - tenPersonRoomIncluded?: boolean | undefined; - /** - * Price for 10 person room. - */ - price10PersonRoom?: number | undefined; - /** - * True indicates a 25 person room included. - */ - twentyFivePersonRoomIncluded?: boolean | undefined; - /** - * Price for 25 person room. - */ - price25PersonRoom?: number | undefined; - /** - * True indicates there is a permanent board room set up. - */ - permanentBoardRoomSetUp?: boolean | undefined; -}; - -/** @internal */ -export const TravelBreakOutRoomJson$inboundSchema: z.ZodType< - TravelBreakOutRoomJson, - z.ZodTypeDef, - unknown -> = z.object({ - "10PersonRoomIncluded": z.boolean().optional(), - price10PersonRoom: z.number().optional(), - "25PersonRoomIncluded": z.boolean().optional(), - price25PersonRoom: z.number().optional(), - permanentBoardRoomSetUp: z.boolean().optional(), -}).transform((v) => { - return remap$(v, { - "10PersonRoomIncluded": "tenPersonRoomIncluded", - "25PersonRoomIncluded": "twentyFivePersonRoomIncluded", - }); -}); - -export function travelBreakOutRoomJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TravelBreakOutRoomJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TravelBreakOutRoomJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/traveldaydelegateratejson.ts b/packages/typescript/src/models/components/traveldaydelegateratejson.ts deleted file mode 100644 index 5dbf4cf31..000000000 --- a/packages/typescript/src/models/components/traveldaydelegateratejson.ts +++ /dev/null @@ -1,52 +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"; - -/** - * Day delegate rate information. This represents the costs for hosting meeting at the venue for a half or full day. - */ -export type TravelDayDelegateRateJson = { - /** - * Full day delegate rate for 10 to 50 people. - */ - fullDay10To50People?: number | undefined; - /** - * Full day delegate rate for 51 to 100 people. - */ - fullDay51To100People?: number | undefined; - /** - * Half day delegate rate for 10 to 50 people. - */ - halfDay10To50People?: number | undefined; - /** - * Half day delegate rate for 51 to 100 people. - */ - halfDay51To100People?: number | undefined; -}; - -/** @internal */ -export const TravelDayDelegateRateJson$inboundSchema: z.ZodType< - TravelDayDelegateRateJson, - z.ZodTypeDef, - unknown -> = z.object({ - fullDay10To50People: z.number().optional(), - fullDay51To100People: z.number().optional(), - halfDay10To50People: z.number().optional(), - halfDay51To100People: z.number().optional(), -}); - -export function travelDayDelegateRateJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TravelDayDelegateRateJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TravelDayDelegateRateJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/travelgroupandmeetingjson.ts b/packages/typescript/src/models/components/travelgroupandmeetingjson.ts deleted file mode 100644 index 91984ea24..000000000 --- a/packages/typescript/src/models/components/travelgroupandmeetingjson.ts +++ /dev/null @@ -1,87 +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 { - TravelAmenityJson, - TravelAmenityJson$inboundSchema, -} from "./travelamenityjson.js"; -import { - TravelBreakOutRoomJson, - TravelBreakOutRoomJson$inboundSchema, -} from "./travelbreakoutroomjson.js"; -import { - TravelDayDelegateRateJson, - TravelDayDelegateRateJson$inboundSchema, -} from "./traveldaydelegateratejson.js"; -import { - TravelMeetingRoomBasicInfoJson, - TravelMeetingRoomBasicInfoJson$inboundSchema, -} from "./travelmeetingroombasicinfojson.js"; -import { - TravelRunOfHouseRateJson, - TravelRunOfHouseRateJson$inboundSchema, -} from "./travelrunofhouseratejson.js"; -import { - TravelTaxAndServiceChargeJson, - TravelTaxAndServiceChargeJson$inboundSchema, -} from "./traveltaxandservicechargejson.js"; - -/** - * Group and meeting information. - */ -export type TravelGroupAndMeetingJson = { - /** - * Run of house rate information. - */ - runOfHouseRate?: TravelRunOfHouseRateJson | undefined; - /** - * Day delegate rate information. This represents the costs for hosting meeting at the venue for a half or full day. - */ - dayDelegateRate?: TravelDayDelegateRateJson | undefined; - /** - * Tax and service charge information. - */ - taxAndServiceCharge?: TravelTaxAndServiceChargeJson | undefined; - /** - * Meeting room basic information. - */ - meetingRoomBasicInformation?: TravelMeetingRoomBasicInfoJson | undefined; - /** - * Group and meeting amenity info. - */ - amenity?: TravelAmenityJson | undefined; - /** - * Break-out room information. - */ - breakOutRoom?: TravelBreakOutRoomJson | undefined; -}; - -/** @internal */ -export const TravelGroupAndMeetingJson$inboundSchema: z.ZodType< - TravelGroupAndMeetingJson, - z.ZodTypeDef, - unknown -> = z.object({ - runOfHouseRate: TravelRunOfHouseRateJson$inboundSchema.optional(), - dayDelegateRate: TravelDayDelegateRateJson$inboundSchema.optional(), - taxAndServiceCharge: TravelTaxAndServiceChargeJson$inboundSchema.optional(), - meetingRoomBasicInformation: TravelMeetingRoomBasicInfoJson$inboundSchema - .optional(), - amenity: TravelAmenityJson$inboundSchema.optional(), - breakOutRoom: TravelBreakOutRoomJson$inboundSchema.optional(), -}); - -export function travelGroupAndMeetingJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TravelGroupAndMeetingJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TravelGroupAndMeetingJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/travelmeetingroombasicinfojson.ts b/packages/typescript/src/models/components/travelmeetingroombasicinfojson.ts deleted file mode 100644 index 3054603cc..000000000 --- a/packages/typescript/src/models/components/travelmeetingroombasicinfojson.ts +++ /dev/null @@ -1,47 +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"; - -/** - * Meeting room basic information. - */ -export type TravelMeetingRoomBasicInfoJson = { - /** - * Size of the largest meeting room. Units of measurement determined by `unitOfMeasurement` field. - */ - largestMeetingRoom?: number | undefined; - /** - * Unit of measurement of the `largestMeetingRoom`'s size. - */ - unitOfMeasurement?: string | undefined; - /** - * Total number of meeting rooms. - */ - meetingRooms?: number | undefined; -}; - -/** @internal */ -export const TravelMeetingRoomBasicInfoJson$inboundSchema: z.ZodType< - TravelMeetingRoomBasicInfoJson, - z.ZodTypeDef, - unknown -> = z.object({ - largestMeetingRoom: z.number().int().optional(), - unitOfMeasurement: z.string().optional(), - meetingRooms: z.number().int().optional(), -}); - -export function travelMeetingRoomBasicInfoJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TravelMeetingRoomBasicInfoJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TravelMeetingRoomBasicInfoJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/travelprogram.ts b/packages/typescript/src/models/components/travelprogram.ts index 20f4284d9..e4997ff13 100644 --- a/packages/typescript/src/models/components/travelprogram.ts +++ b/packages/typescript/src/models/components/travelprogram.ts @@ -8,25 +8,25 @@ import { Result as SafeParseResult } from "../../types/fp.js"; import { RFCDate } from "../../types/rfcdate.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - TravelProgramFormatTypeJson, - TravelProgramFormatTypeJson$inboundSchema, -} from "./travelprogramformattypejson.js"; + TravelProgramFormatType, + TravelProgramFormatType$inboundSchema, +} from "./travelprogramformattype.js"; import { - TravelProgramQuestionJson, - TravelProgramQuestionJson$inboundSchema, -} from "./travelprogramquestionjson.js"; + TravelProgramQuestion1, + TravelProgramQuestion1$inboundSchema, +} from "./travelprogramquestion1.js"; import { - TravelProgramStatusJson, - TravelProgramStatusJson$inboundSchema, -} from "./travelprogramstatusjson.js"; + TravelProgramStatus, + TravelProgramStatus$inboundSchema, +} from "./travelprogramstatus.js"; import { - TravelProgramStayTypeJson, - TravelProgramStayTypeJson$inboundSchema, -} from "./travelprogramstaytypejson.js"; + TravelProgramStayType, + TravelProgramStayType$inboundSchema, +} from "./travelprogramstaytype.js"; import { - TravelProgramTypeJson, - TravelProgramTypeJson$inboundSchema, -} from "./travelprogramtypejson.js"; + TravelProgramType, + TravelProgramType$inboundSchema, +} from "./travelprogramtype.js"; /** * Travel account that the program belongs to. @@ -73,15 +73,15 @@ export type TravelProgram = { /** * Code representing the travel program type. */ - type?: TravelProgramTypeJson | undefined; + type?: TravelProgramType | undefined; /** * Code representing the format of the travel program. */ - format?: TravelProgramFormatTypeJson | undefined; + format?: TravelProgramFormatType | undefined; /** * Code representing the status of the travel program. */ - status?: TravelProgramStatusJson | undefined; + status?: TravelProgramStatus | undefined; /** * Travel account that the program belongs to. */ @@ -89,7 +89,7 @@ export type TravelProgram = { /** * Code representing the stay types requested by the program. Programs can accept daily only, or daily and extended stay proposals. */ - stayType?: TravelProgramStayTypeJson | undefined; + stayType?: TravelProgramStayType | undefined; /** * The ISO 8601 formatted start date (in GMT) of the travel program. */ @@ -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 */ @@ -147,17 +147,17 @@ export const TravelProgram$inboundSchema: z.ZodType< id: z.string().optional(), name: z.string().optional(), contractPeriod: z.number().int().optional(), - type: TravelProgramTypeJson$inboundSchema.optional(), - format: TravelProgramFormatTypeJson$inboundSchema.optional(), - status: TravelProgramStatusJson$inboundSchema.optional(), + type: TravelProgramType$inboundSchema.optional(), + format: TravelProgramFormatType$inboundSchema.optional(), + status: TravelProgramStatus$inboundSchema.optional(), travelAccount: z.lazy(() => TravelProgramTravelAccount$inboundSchema) .optional(), - stayType: TravelProgramStayTypeJson$inboundSchema.optional(), + stayType: TravelProgramStayType$inboundSchema.optional(), startDate: z.string().transform(v => new RFCDate(v)).optional(), 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(TravelProgramQuestionJson$inboundSchema).optional(), + questions: z.array(TravelProgramQuestion1$inboundSchema).optional(), }); export function travelProgramFromJSON( diff --git a/packages/typescript/src/models/components/travelprogramformattype.ts b/packages/typescript/src/models/components/travelprogramformattype.ts new file mode 100644 index 000000000..2cf4b30be --- /dev/null +++ b/packages/typescript/src/models/components/travelprogramformattype.ts @@ -0,0 +1,25 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Code representing the format of the travel program. + */ +export const TravelProgramFormatType = { + Gbta2013: "gbta2013", + Universal: "universal", +} as const; +/** + * Code representing the format of the travel program. + */ +export type TravelProgramFormatType = ClosedEnum< + typeof TravelProgramFormatType +>; + +/** @internal */ +export const TravelProgramFormatType$inboundSchema: z.ZodNativeEnum< + typeof TravelProgramFormatType +> = z.nativeEnum(TravelProgramFormatType); diff --git a/packages/typescript/src/models/components/travelprogramformattypejson.ts b/packages/typescript/src/models/components/travelprogramformattypejson.ts deleted file mode 100644 index 8110dd9f3..000000000 --- a/packages/typescript/src/models/components/travelprogramformattypejson.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"; - -/** - * Code representing the format of the travel program. - */ -export const TravelProgramFormatTypeJson = { - Gbta2013: "gbta2013", - Universal: "universal", -} as const; -/** - * Code representing the format of the travel program. - */ -export type TravelProgramFormatTypeJson = ClosedEnum< - typeof TravelProgramFormatTypeJson ->; - -/** @internal */ -export const TravelProgramFormatTypeJson$inboundSchema: z.ZodNativeEnum< - typeof TravelProgramFormatTypeJson -> = z.nativeEnum(TravelProgramFormatTypeJson); diff --git a/packages/typescript/src/models/components/travelprogrampaginatedresponse.ts b/packages/typescript/src/models/components/travelprogrampaginatedresponse.ts index 54a83a800..5929f715d 100644 --- a/packages/typescript/src/models/components/travelprogrampaginatedresponse.ts +++ b/packages/typescript/src/models/components/travelprogrampaginatedresponse.ts @@ -6,7 +6,7 @@ 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 { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; import { TravelProgram, TravelProgram$inboundSchema } from "./travelprogram.js"; /** @@ -16,7 +16,7 @@ export type TravelProgramPaginatedResponse = { /** * Represents pagination information for a collection of resources. */ - paging?: PagingJson | undefined; + paging?: Paging | undefined; /** * Collection of travel programs and their related details. */ @@ -29,7 +29,7 @@ export const TravelProgramPaginatedResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema.optional(), + paging: Paging$inboundSchema.optional(), data: z.array(TravelProgram$inboundSchema).optional(), }); diff --git a/packages/typescript/src/models/components/travelprogramquestion.ts b/packages/typescript/src/models/components/travelprogramquestion.ts new file mode 100644 index 000000000..ab4a3b303 --- /dev/null +++ b/packages/typescript/src/models/components/travelprogramquestion.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 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. + */ +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. + */ + 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 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(), + required: z.boolean().optional(), + responseType: QuestionResponseType$inboundSchema.optional(), + responseDataType: QuestionResponseDataType$inboundSchema.optional(), + responseFormat: QuestionResponseFormat$inboundSchema.optional(), + responseChoices: z.array(z.string()).optional(), +}); + +export function travelProgramQuestionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TravelProgramQuestion$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TravelProgramQuestion' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/travelprogramquestion1.ts b/packages/typescript/src/models/components/travelprogramquestion1.ts new file mode 100644 index 000000000..d2b16d2fe --- /dev/null +++ b/packages/typescript/src/models/components/travelprogramquestion1.ts @@ -0,0 +1,56 @@ +/* + * 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/travelprogramquestionjson.ts b/packages/typescript/src/models/components/travelprogramquestionjson.ts deleted file mode 100644 index fef7e5d72..000000000 --- a/packages/typescript/src/models/components/travelprogramquestionjson.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 { - QuestionSectionJson, - QuestionSectionJson$inboundSchema, -} from "./questionsectionjson.js"; - -/** - * A question, defined by the account, for the supplier to answer as part of their proposal. - */ -export type TravelProgramQuestionJson = { - /** - * 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?: QuestionSectionJson | 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 TravelProgramQuestionJson$inboundSchema: z.ZodType< - TravelProgramQuestionJson, - z.ZodTypeDef, - unknown -> = z.object({ - questionId: z.string().optional(), - section: QuestionSectionJson$inboundSchema.optional(), - required: z.boolean().optional(), - sequence: z.number().int().optional(), -}); - -export function travelProgramQuestionJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TravelProgramQuestionJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TravelProgramQuestionJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/travelprogramstatus.ts b/packages/typescript/src/models/components/travelprogramstatus.ts new file mode 100644 index 000000000..62ac69a0c --- /dev/null +++ b/packages/typescript/src/models/components/travelprogramstatus.ts @@ -0,0 +1,24 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Code representing the status of the travel program. + */ +export const TravelProgramStatus = { + InProgress: "in_progress", + Complete: "complete", + Closed: "closed", +} as const; +/** + * Code representing the status of the travel program. + */ +export type TravelProgramStatus = ClosedEnum; + +/** @internal */ +export const TravelProgramStatus$inboundSchema: z.ZodNativeEnum< + typeof TravelProgramStatus +> = z.nativeEnum(TravelProgramStatus); diff --git a/packages/typescript/src/models/components/travelprogramstatusjson.ts b/packages/typescript/src/models/components/travelprogramstatusjson.ts deleted file mode 100644 index 566f413cf..000000000 --- a/packages/typescript/src/models/components/travelprogramstatusjson.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Code representing the status of the travel program. - */ -export const TravelProgramStatusJson = { - InProgress: "in_progress", - Complete: "complete", - Closed: "closed", -} as const; -/** - * Code representing the status of the travel program. - */ -export type TravelProgramStatusJson = ClosedEnum< - typeof TravelProgramStatusJson ->; - -/** @internal */ -export const TravelProgramStatusJson$inboundSchema: z.ZodNativeEnum< - typeof TravelProgramStatusJson -> = z.nativeEnum(TravelProgramStatusJson); diff --git a/packages/typescript/src/models/components/travelprogramstaytype.ts b/packages/typescript/src/models/components/travelprogramstaytype.ts new file mode 100644 index 000000000..e53bc043f --- /dev/null +++ b/packages/typescript/src/models/components/travelprogramstaytype.ts @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Code representing the stay types requested by the program. Programs can accept daily only, or daily and extended stay proposals. + */ +export const TravelProgramStayType = { + Daily: "daily", + DailyAndExtendedStay: "daily_and_extended_stay", +} as const; +/** + * Code representing the stay types requested by the program. Programs can accept daily only, or daily and extended stay proposals. + */ +export type TravelProgramStayType = ClosedEnum; + +/** @internal */ +export const TravelProgramStayType$inboundSchema: z.ZodNativeEnum< + typeof TravelProgramStayType +> = z.nativeEnum(TravelProgramStayType); diff --git a/packages/typescript/src/models/components/travelprogramstaytypejson.ts b/packages/typescript/src/models/components/travelprogramstaytypejson.ts deleted file mode 100644 index 3c232b88b..000000000 --- a/packages/typescript/src/models/components/travelprogramstaytypejson.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"; - -/** - * Code representing the stay types requested by the program. Programs can accept daily only, or daily and extended stay proposals. - */ -export const TravelProgramStayTypeJson = { - Daily: "daily", - DailyAndExtendedStay: "daily_and_extended_stay", -} as const; -/** - * Code representing the stay types requested by the program. Programs can accept daily only, or daily and extended stay proposals. - */ -export type TravelProgramStayTypeJson = ClosedEnum< - typeof TravelProgramStayTypeJson ->; - -/** @internal */ -export const TravelProgramStayTypeJson$inboundSchema: z.ZodNativeEnum< - typeof TravelProgramStayTypeJson -> = z.nativeEnum(TravelProgramStayTypeJson); diff --git a/packages/typescript/src/models/components/travelprogramtype.ts b/packages/typescript/src/models/components/travelprogramtype.ts new file mode 100644 index 000000000..18d9a63e7 --- /dev/null +++ b/packages/typescript/src/models/components/travelprogramtype.ts @@ -0,0 +1,24 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Code representing the travel program type. + */ +export const TravelProgramType = { + Corporate: "corporate", + Leisure: "leisure", + Consortia: "consortia", +} as const; +/** + * Code representing the travel program type. + */ +export type TravelProgramType = ClosedEnum; + +/** @internal */ +export const TravelProgramType$inboundSchema: z.ZodNativeEnum< + typeof TravelProgramType +> = z.nativeEnum(TravelProgramType); diff --git a/packages/typescript/src/models/components/travelprogramtypejson.ts b/packages/typescript/src/models/components/travelprogramtypejson.ts deleted file mode 100644 index bff6b4f38..000000000 --- a/packages/typescript/src/models/components/travelprogramtypejson.ts +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Code representing the travel program type. - */ -export const TravelProgramTypeJson = { - Corporate: "corporate", - Leisure: "leisure", - Consortia: "consortia", -} as const; -/** - * Code representing the travel program type. - */ -export type TravelProgramTypeJson = ClosedEnum; - -/** @internal */ -export const TravelProgramTypeJson$inboundSchema: z.ZodNativeEnum< - typeof TravelProgramTypeJson -> = z.nativeEnum(TravelProgramTypeJson); diff --git a/packages/typescript/src/models/components/travelproposal.ts b/packages/typescript/src/models/components/travelproposal.ts index 80ac63731..d101fe1e4 100644 --- a/packages/typescript/src/models/components/travelproposal.ts +++ b/packages/typescript/src/models/components/travelproposal.ts @@ -6,38 +6,32 @@ 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 { BusinessType, BusinessType$inboundSchema } from "./businesstype.js"; +import { FormatType, FormatType$inboundSchema } from "./formattype.js"; import { - BusinessTypeJson, - BusinessTypeJson$inboundSchema, -} from "./businesstypejson.js"; + ProposalStatusType, + ProposalStatusType$inboundSchema, +} from "./proposalstatustype.js"; import { - CustomQuestionAnswerJson0, - CustomQuestionAnswerJson0$inboundSchema, -} from "./customquestionanswerjson0.js"; + RateReviewStatusType, + RateReviewStatusType$inboundSchema, +} from "./ratereviewstatustype.js"; import { - FormatTypeJson, - FormatTypeJson$inboundSchema, -} from "./formattypejson.js"; + TravelProposalBid1, + TravelProposalBid1$inboundSchema, +} from "./travelproposalbid1.js"; import { - ProposalStatusTypeJson, - ProposalStatusTypeJson$inboundSchema, -} from "./proposalstatustypejson.js"; + TravelProposalCustomQuestion, + TravelProposalCustomQuestion$inboundSchema, +} from "./travelproposalcustomquestion.js"; import { - RateReviewStatusTypeJson, - RateReviewStatusTypeJson$inboundSchema, -} from "./ratereviewstatustypejson.js"; + TravelProposalDisposition, + TravelProposalDisposition$inboundSchema, +} from "./travelproposaldisposition.js"; import { - TravelGroupAndMeetingJson, - TravelGroupAndMeetingJson$inboundSchema, -} from "./travelgroupandmeetingjson.js"; -import { - TravelProposalBidIdJson, - TravelProposalBidIdJson$inboundSchema, -} from "./travelproposalbididjson.js"; -import { - TravelProposalDispositionJson, - TravelProposalDispositionJson$inboundSchema, -} from "./travelproposaldispositionjson.js"; + TravelProposalGroupAndMeeting, + TravelProposalGroupAndMeeting$inboundSchema, +} from "./travelproposalgroupandmeeting.js"; /** * Supplier property that the proposal is tied to. @@ -98,7 +92,7 @@ export type TravelProposal = { /** * The status of the proposal */ - status?: ProposalStatusTypeJson | undefined; + status?: ProposalStatusType | undefined; /** * True indicates the proposal is deleted. */ @@ -106,15 +100,15 @@ export type TravelProposal = { /** * The rate review status of the proposal */ - rateReviewStatus?: RateReviewStatusTypeJson | undefined; + rateReviewStatus?: RateReviewStatusType | undefined; /** * Business type. */ - businessType?: BusinessTypeJson | undefined; + businessType?: BusinessType | undefined; /** * Proposal format. */ - format?: FormatTypeJson | undefined; + format?: FormatType | undefined; /** * True indicates the documents been read by the supply-side. */ @@ -150,19 +144,19 @@ export type TravelProposal = { /** * Collection of bid IDs attached to the proposal. */ - bids?: Array | undefined; + bids?: Array | undefined; /** * Collection of custom questions. */ - customQuestionAnswers?: Array | undefined; + customQuestionAnswers?: Array | undefined; /** * Group and meeting information. */ - groupAndMeeting?: TravelGroupAndMeetingJson | undefined; + groupAndMeeting?: TravelProposalGroupAndMeeting | undefined; /** * Represent proposal disposition details. */ - proposalDisposition?: TravelProposalDispositionJson | undefined; + proposalDisposition?: TravelProposalDisposition | undefined; }; /** @internal */ @@ -221,11 +215,11 @@ export const TravelProposal$inboundSchema: z.ZodType< travelProgram: z.lazy(() => TravelProposalTravelProgram$inboundSchema) .optional(), contractPeriod: z.number().int().optional(), - status: ProposalStatusTypeJson$inboundSchema.optional(), + status: ProposalStatusType$inboundSchema.optional(), deleted: z.boolean().default(false), - rateReviewStatus: RateReviewStatusTypeJson$inboundSchema.optional(), - businessType: BusinessTypeJson$inboundSchema.optional(), - format: FormatTypeJson$inboundSchema.optional(), + rateReviewStatus: RateReviewStatusType$inboundSchema.optional(), + businessType: BusinessType$inboundSchema.optional(), + format: FormatType$inboundSchema.optional(), documentRead: z.boolean().default(false), rejectReasonCode: z.string().optional(), rejectComment: z.string().optional(), @@ -237,11 +231,11 @@ export const TravelProposal$inboundSchema: z.ZodType< ).optional(), roomNightConsumption: z.number().int().optional(), draft: z.boolean().optional(), - bids: z.array(TravelProposalBidIdJson$inboundSchema).optional(), - customQuestionAnswers: z.array(CustomQuestionAnswerJson0$inboundSchema) + bids: z.array(TravelProposalBid1$inboundSchema).optional(), + customQuestionAnswers: z.array(TravelProposalCustomQuestion$inboundSchema) .optional(), - groupAndMeeting: TravelGroupAndMeetingJson$inboundSchema.optional(), - proposalDisposition: TravelProposalDispositionJson$inboundSchema.optional(), + groupAndMeeting: TravelProposalGroupAndMeeting$inboundSchema.optional(), + proposalDisposition: TravelProposalDisposition$inboundSchema.optional(), }); export function travelProposalFromJSON( diff --git a/packages/typescript/src/models/components/travelproposalbid.ts b/packages/typescript/src/models/components/travelproposalbid.ts deleted file mode 100644 index 645ecd136..000000000 --- a/packages/typescript/src/models/components/travelproposalbid.ts +++ /dev/null @@ -1,220 +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 { - BidStatusTypeJson, - BidStatusTypeJson$inboundSchema, -} from "./bidstatustypejson.js"; -import { - BidStayTypeJson, - BidStayTypeJson$inboundSchema, -} from "./bidstaytypejson.js"; -import { - TravelBidAmenityJson, - TravelBidAmenityJson$inboundSchema, -} from "./travelbidamenityjson.js"; -import { - TravelBidCommentJson, - TravelBidCommentJson$inboundSchema, -} from "./travelbidcommentjson.js"; -import { - TravelBidDiscountJson, - TravelBidDiscountJson$inboundSchema, -} from "./travelbiddiscountjson.js"; -import { - TravelBidFairSeasonJson, - TravelBidFairSeasonJson$inboundSchema, -} from "./travelbidfairseasonjson.js"; -import { - TravelBidPolicyJson, - TravelBidPolicyJson$inboundSchema, -} from "./travelbidpolicyjson.js"; -import { - TravelBidRateJson, - TravelBidRateJson$inboundSchema, -} from "./travelbidratejson.js"; -import { - TravelBidRoomJson, - TravelBidRoomJson$inboundSchema, -} from "./travelbidroomjson.js"; -import { - TravelBidSeasonJson, - TravelBidSeasonJson$inboundSchema, -} from "./travelbidseasonjson.js"; -import { - TravelBidTaxFeeJson, - TravelBidTaxFeeJson$inboundSchema, -} from "./travelbidtaxfeejson.js"; -import { - TravelBidWeekendDayJson, - TravelBidWeekendDayJson$inboundSchema, -} from "./travelbidweekenddayjson.js"; - -/** - * The travel proposal that the bid belongs to. - */ -export type TravelProposalBidTravelProposal = { - /** - * The ID of the travel proposal. - */ - id?: string | undefined; -}; - -/** - * A travel proposal bid rate plan that is being proposed to a customer. - */ -export type TravelProposalBid = { - /** - * The travel proposal that the bid belongs to. - */ - travelProposal?: TravelProposalBidTravelProposal | undefined; - /** - * The unique ID of the bid. - */ - id?: string | undefined; - /** - * Bid stay type. - */ - stayType: BidStayTypeJson; - /** - * The order of the bid compared to other bids of the same stay type. This is used to distinguish between extended stay 1 vs extended stay 2. - */ - order: number; - /** - * Bid stay type. - */ - status: BidStatusTypeJson; - /** - * Name given to the bid. - */ - name?: string | undefined; - /** - * The rate (cost) information for a travel bid. - */ - rate?: TravelBidRateJson | undefined; - /** - * The market code given to the rate plan / bid by the supplier. - */ - marketCode?: string | undefined; - /** - * The ISO 4217 currency code used for the rates and other monetary values in the bid. - */ - currencyCode?: string | undefined; - /** - * Days of the week that are considered weekend days, to apply weekend rates. Does not apply when format is GBTA2013. - */ - weekendDays?: Array | undefined; - /** - * Does the bid include LRA (Last Room Availability) rates? - */ - lra: boolean; - /** - * Does the bid include non-LRA rates? - */ - nlra: boolean; - /** - * Are the fair date rates LRA (Last Room Availability)? - */ - fairDateLra: boolean; - /** - * Additional comments passed from the domain-level rate plan. - */ - internalNote?: string | undefined; - /** - * Additional Info - */ - comments?: Array | undefined; - /** - * Room Types associated with the bid - */ - roomTypes?: Array | undefined; - /** - * Seasons associated with the bid - */ - seasons?: Array | undefined; - /** - * Dynamic discounts associated with the bid - */ - discounts?: Array | undefined; - /** - * Fair seasons associated with the bid - */ - fairSeasons?: Array | undefined; - /** - * Amenities associated with the bid - */ - amenities?: Array | undefined; - /** - * Policies associated with the bid - */ - policies?: Array | undefined; - /** - * Taxes & fees associated with the bid - */ - taxesAndFees?: Array | undefined; -}; - -/** @internal */ -export const TravelProposalBidTravelProposal$inboundSchema: z.ZodType< - TravelProposalBidTravelProposal, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function travelProposalBidTravelProposalFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TravelProposalBidTravelProposal$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TravelProposalBidTravelProposal' from JSON`, - ); -} - -/** @internal */ -export const TravelProposalBid$inboundSchema: z.ZodType< - TravelProposalBid, - z.ZodTypeDef, - unknown -> = z.object({ - travelProposal: z.lazy(() => TravelProposalBidTravelProposal$inboundSchema) - .optional(), - id: z.string().optional(), - stayType: BidStayTypeJson$inboundSchema.default("daily"), - order: z.number().int().default(1), - status: BidStatusTypeJson$inboundSchema.default("in_progress"), - name: z.string().optional(), - rate: TravelBidRateJson$inboundSchema.optional(), - marketCode: z.string().optional(), - currencyCode: z.string().optional(), - weekendDays: z.array(TravelBidWeekendDayJson$inboundSchema).optional(), - lra: z.boolean().default(true), - nlra: z.boolean().default(true), - fairDateLra: z.boolean().default(true), - internalNote: z.string().optional(), - comments: z.array(TravelBidCommentJson$inboundSchema).optional(), - roomTypes: z.array(TravelBidRoomJson$inboundSchema).optional(), - seasons: z.array(TravelBidSeasonJson$inboundSchema).optional(), - discounts: z.array(TravelBidDiscountJson$inboundSchema).optional(), - fairSeasons: z.array(TravelBidFairSeasonJson$inboundSchema).optional(), - amenities: z.array(TravelBidAmenityJson$inboundSchema).optional(), - policies: z.array(TravelBidPolicyJson$inboundSchema).optional(), - taxesAndFees: z.array(TravelBidTaxFeeJson$inboundSchema).optional(), -}); - -export function travelProposalBidFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TravelProposalBid$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TravelProposalBid' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/travelproposalbid1.ts b/packages/typescript/src/models/components/travelproposalbid1.ts new file mode 100644 index 000000000..3f58810b4 --- /dev/null +++ b/packages/typescript/src/models/components/travelproposalbid1.ts @@ -0,0 +1,37 @@ +/* + * 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 travel proposal bid. + */ +export type TravelProposalBid1 = { + /** + * The ID of the bid. + */ + id?: string | undefined; +}; + +/** @internal */ +export const TravelProposalBid1$inboundSchema: z.ZodType< + TravelProposalBid1, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function travelProposalBid1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TravelProposalBid1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TravelProposalBid1' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/travelproposalbid2.ts b/packages/typescript/src/models/components/travelproposalbid2.ts new file mode 100644 index 000000000..010410610 --- /dev/null +++ b/packages/typescript/src/models/components/travelproposalbid2.ts @@ -0,0 +1,211 @@ +/* + * 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 { BidStatusType, BidStatusType$inboundSchema } from "./bidstatustype.js"; +import { BidStayType, BidStayType$inboundSchema } from "./bidstaytype.js"; +import { + TravelBidAmenity, + TravelBidAmenity$inboundSchema, +} from "./travelbidamenity.js"; +import { + TravelBidComment, + TravelBidComment$inboundSchema, +} from "./travelbidcomment.js"; +import { + TravelBidDiscount, + TravelBidDiscount$inboundSchema, +} from "./travelbiddiscount.js"; +import { + TravelBidFairSeason, + TravelBidFairSeason$inboundSchema, +} from "./travelbidfairseason.js"; +import { + TravelBidPolicy, + TravelBidPolicy$inboundSchema, +} from "./travelbidpolicy.js"; +import { TravelBidRoom, TravelBidRoom$inboundSchema } from "./travelbidroom.js"; +import { + TravelBidSeason, + TravelBidSeason$inboundSchema, +} from "./travelbidseason.js"; +import { + TravelBidTaxAndFee, + TravelBidTaxAndFee$inboundSchema, +} from "./travelbidtaxandfee.js"; +import { + TravelBidWeekendDays, + TravelBidWeekendDays$inboundSchema, +} from "./travelbidweekenddays.js"; +import { + TravelProposalBidRate, + TravelProposalBidRate$inboundSchema, +} from "./travelproposalbidrate.js"; + +/** + * The travel proposal that the bid belongs to. + */ +export type TravelProposalBidTravelProposal = { + /** + * The ID of the travel proposal. + */ + id?: string | undefined; +}; + +/** + * A travel proposal bid rate plan that is being proposed to a customer. + */ +export type TravelProposalBid2 = { + /** + * The travel proposal that the bid belongs to. + */ + travelProposal?: TravelProposalBidTravelProposal | undefined; + /** + * The unique ID of the bid. + */ + id?: string | undefined; + /** + * Bid stay type. + */ + stayType: BidStayType; + /** + * The order of the bid compared to other bids of the same stay type. This is used to distinguish between extended stay 1 vs extended stay 2. + */ + order: number; + /** + * Bid stay type. + */ + status: BidStatusType; + /** + * Name given to the bid. + */ + name?: string | undefined; + /** + * The rate (cost) information for a travel bid. + */ + rate?: TravelProposalBidRate | undefined; + /** + * The market code given to the rate plan / bid by the supplier. + */ + marketCode?: string | undefined; + /** + * The ISO 4217 currency code used for the rates and other monetary values in the bid. + */ + currencyCode?: string | undefined; + /** + * Days of the week that are considered weekend days, to apply weekend rates. Does not apply when format is GBTA2013. + */ + weekendDays?: Array | undefined; + /** + * Does the bid include LRA (Last Room Availability) rates? + */ + lra: boolean; + /** + * Does the bid include non-LRA rates? + */ + nlra: boolean; + /** + * Are the fair date rates LRA (Last Room Availability)? + */ + fairDateLra: boolean; + /** + * Additional comments passed from the domain-level rate plan. + */ + internalNote?: string | undefined; + /** + * Additional Info + */ + comments?: Array | undefined; + /** + * Room Types associated with the bid + */ + roomTypes?: Array | undefined; + /** + * Seasons associated with the bid + */ + seasons?: Array | undefined; + /** + * Dynamic discounts associated with the bid + */ + discounts?: Array | undefined; + /** + * Fair seasons associated with the bid + */ + fairSeasons?: Array | undefined; + /** + * Amenities associated with the bid + */ + amenities?: Array | undefined; + /** + * Policies associated with the bid + */ + policies?: Array | undefined; + /** + * Taxes & fees associated with the bid + */ + taxesAndFees?: Array | undefined; +}; + +/** @internal */ +export const TravelProposalBidTravelProposal$inboundSchema: z.ZodType< + TravelProposalBidTravelProposal, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function travelProposalBidTravelProposalFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TravelProposalBidTravelProposal$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TravelProposalBidTravelProposal' from JSON`, + ); +} + +/** @internal */ +export const TravelProposalBid2$inboundSchema: z.ZodType< + TravelProposalBid2, + z.ZodTypeDef, + unknown +> = z.object({ + travelProposal: z.lazy(() => TravelProposalBidTravelProposal$inboundSchema) + .optional(), + id: z.string().optional(), + stayType: BidStayType$inboundSchema.default("daily"), + order: z.number().int().default(1), + status: BidStatusType$inboundSchema.default("in_progress"), + name: z.string().optional(), + rate: TravelProposalBidRate$inboundSchema.optional(), + marketCode: z.string().optional(), + currencyCode: z.string().optional(), + weekendDays: z.array(TravelBidWeekendDays$inboundSchema).optional(), + lra: z.boolean().default(true), + nlra: z.boolean().default(true), + fairDateLra: z.boolean().default(true), + internalNote: z.string().optional(), + comments: z.array(TravelBidComment$inboundSchema).optional(), + roomTypes: z.array(TravelBidRoom$inboundSchema).optional(), + seasons: z.array(TravelBidSeason$inboundSchema).optional(), + discounts: z.array(TravelBidDiscount$inboundSchema).optional(), + fairSeasons: z.array(TravelBidFairSeason$inboundSchema).optional(), + amenities: z.array(TravelBidAmenity$inboundSchema).optional(), + policies: z.array(TravelBidPolicy$inboundSchema).optional(), + taxesAndFees: z.array(TravelBidTaxAndFee$inboundSchema).optional(), +}); + +export function travelProposalBid2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TravelProposalBid2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TravelProposalBid2' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/travelproposalbididjson.ts b/packages/typescript/src/models/components/travelproposalbididjson.ts deleted file mode 100644 index ade11f644..000000000 --- a/packages/typescript/src/models/components/travelproposalbididjson.ts +++ /dev/null @@ -1,37 +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"; - -/** - * A travel proposal bid. - */ -export type TravelProposalBidIdJson = { - /** - * The ID of the bid. - */ - id?: string | undefined; -}; - -/** @internal */ -export const TravelProposalBidIdJson$inboundSchema: z.ZodType< - TravelProposalBidIdJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function travelProposalBidIdJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TravelProposalBidIdJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TravelProposalBidIdJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/travelproposalbidpaginatedresponse.ts b/packages/typescript/src/models/components/travelproposalbidpaginatedresponse.ts index 92c9aa898..808b76f38 100644 --- a/packages/typescript/src/models/components/travelproposalbidpaginatedresponse.ts +++ b/packages/typescript/src/models/components/travelproposalbidpaginatedresponse.ts @@ -6,11 +6,11 @@ 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 { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; import { - TravelProposalBid, - TravelProposalBid$inboundSchema, -} from "./travelproposalbid.js"; + TravelProposalBid2, + TravelProposalBid2$inboundSchema, +} from "./travelproposalbid2.js"; /** * A paginated list of travel proposals. @@ -19,11 +19,11 @@ export type TravelProposalBidPaginatedResponse = { /** * Represents pagination information for a collection of resources. */ - paging?: PagingJson | undefined; + paging?: Paging | undefined; /** * Paginated list of business transient proposal bids. */ - data?: Array | undefined; + data?: Array | undefined; }; /** @internal */ @@ -32,8 +32,8 @@ export const TravelProposalBidPaginatedResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema.optional(), - data: z.array(TravelProposalBid$inboundSchema).optional(), + paging: Paging$inboundSchema.optional(), + data: z.array(TravelProposalBid2$inboundSchema).optional(), }); export function travelProposalBidPaginatedResponseFromJSON( diff --git a/packages/typescript/src/models/components/travelproposalbidrate.ts b/packages/typescript/src/models/components/travelproposalbidrate.ts new file mode 100644 index 000000000..59ab8dbe2 --- /dev/null +++ b/packages/typescript/src/models/components/travelproposalbidrate.ts @@ -0,0 +1,54 @@ +/* + * 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 { RateLevelType, RateLevelType$inboundSchema } from "./rateleveltype.js"; +import { RateType, RateType$inboundSchema } from "./ratetype.js"; + +/** + * The rate (cost) information for a travel bid. + */ +export type TravelProposalBidRate = { + /** + * Rate level + */ + level?: RateLevelType | undefined; + /** + * Rate type. + */ + type: RateType; + /** + * The code given to the bid (also called rate plan) by the supplier. + */ + planCode?: string | undefined; + /** + * The rate tier given to the bid (also called rate plan) by the supplier. + */ + tier?: string | undefined; +}; + +/** @internal */ +export const TravelProposalBidRate$inboundSchema: z.ZodType< + TravelProposalBidRate, + z.ZodTypeDef, + unknown +> = z.object({ + level: RateLevelType$inboundSchema.optional(), + type: RateType$inboundSchema.default("fixed"), + planCode: z.string().optional(), + tier: z.string().optional(), +}); + +export function travelProposalBidRateFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TravelProposalBidRate$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TravelProposalBidRate' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/travelproposalcustomquestion.ts b/packages/typescript/src/models/components/travelproposalcustomquestion.ts new file mode 100644 index 000000000..8d9e4ec1d --- /dev/null +++ b/packages/typescript/src/models/components/travelproposalcustomquestion.ts @@ -0,0 +1,73 @@ +/* + * 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"; + +/** + * Travel account that the proposal is responding to. + */ +export type TravelProposalCustomQuestionQuestion = { + /** + * The unique ID of the question. + */ + id?: string | undefined; +}; + +/** + * Represents custom question associated with a travel proposal. + */ +export type TravelProposalCustomQuestion = { + /** + * Travel account that the proposal is responding to. + */ + question?: TravelProposalCustomQuestionQuestion | undefined; + /** + * Hotel's answer to the program's custom question. + */ + answer?: string | undefined; +}; + +/** @internal */ +export const TravelProposalCustomQuestionQuestion$inboundSchema: z.ZodType< + TravelProposalCustomQuestionQuestion, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function travelProposalCustomQuestionQuestionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + TravelProposalCustomQuestionQuestion$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TravelProposalCustomQuestionQuestion' from JSON`, + ); +} + +/** @internal */ +export const TravelProposalCustomQuestion$inboundSchema: z.ZodType< + TravelProposalCustomQuestion, + z.ZodTypeDef, + unknown +> = z.object({ + question: z.lazy(() => TravelProposalCustomQuestionQuestion$inboundSchema) + .optional(), + answer: z.string().optional(), +}); + +export function travelProposalCustomQuestionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TravelProposalCustomQuestion$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TravelProposalCustomQuestion' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/travelproposaldisposition.ts b/packages/typescript/src/models/components/travelproposaldisposition.ts new file mode 100644 index 000000000..9fceef5b8 --- /dev/null +++ b/packages/typescript/src/models/components/travelproposaldisposition.ts @@ -0,0 +1,46 @@ +/* + * 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 { + TravelBidDisposition, + TravelBidDisposition$inboundSchema, +} from "./travelbiddisposition.js"; + +/** + * Represent proposal disposition details. + */ +export type TravelProposalDisposition = { + /** + * List of bid dispositions. + */ + bidDispositions?: Array | undefined; + /** + * Indicates if the group and meeting is accepted. + */ + groupAndMeetingAccepted?: boolean | undefined; +}; + +/** @internal */ +export const TravelProposalDisposition$inboundSchema: z.ZodType< + TravelProposalDisposition, + z.ZodTypeDef, + unknown +> = z.object({ + bidDispositions: z.array(TravelBidDisposition$inboundSchema).optional(), + groupAndMeetingAccepted: z.boolean().optional(), +}); + +export function travelProposalDispositionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TravelProposalDisposition$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TravelProposalDisposition' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/travelproposaldispositionjson.ts b/packages/typescript/src/models/components/travelproposaldispositionjson.ts deleted file mode 100644 index e05a082a8..000000000 --- a/packages/typescript/src/models/components/travelproposaldispositionjson.ts +++ /dev/null @@ -1,46 +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 { - TravelBidDispositionJson, - TravelBidDispositionJson$inboundSchema, -} from "./travelbiddispositionjson.js"; - -/** - * Represent proposal disposition details. - */ -export type TravelProposalDispositionJson = { - /** - * List of bid dispositions. - */ - bidDispositions?: Array | undefined; - /** - * Indicates if the group and meeting is accepted. - */ - groupAndMeetingAccepted?: boolean | undefined; -}; - -/** @internal */ -export const TravelProposalDispositionJson$inboundSchema: z.ZodType< - TravelProposalDispositionJson, - z.ZodTypeDef, - unknown -> = z.object({ - bidDispositions: z.array(TravelBidDispositionJson$inboundSchema).optional(), - groupAndMeetingAccepted: z.boolean().optional(), -}); - -export function travelProposalDispositionJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TravelProposalDispositionJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TravelProposalDispositionJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/travelproposalgroupandmeeting.ts b/packages/typescript/src/models/components/travelproposalgroupandmeeting.ts new file mode 100644 index 000000000..e732995c7 --- /dev/null +++ b/packages/typescript/src/models/components/travelproposalgroupandmeeting.ts @@ -0,0 +1,96 @@ +/* + * 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 { + TravelProposalGroupAndMeetingAmenity, + TravelProposalGroupAndMeetingAmenity$inboundSchema, +} from "./travelproposalgroupandmeetingamenity.js"; +import { + TravelProposalGroupAndMeetingBreakOutRoom, + TravelProposalGroupAndMeetingBreakOutRoom$inboundSchema, +} from "./travelproposalgroupandmeetingbreakoutroom.js"; +import { + TravelProposalGroupAndMeetingDayDelegateRate, + TravelProposalGroupAndMeetingDayDelegateRate$inboundSchema, +} from "./travelproposalgroupandmeetingdaydelegaterate.js"; +import { + TravelProposalGroupAndMeetingMeetingRoomBasicInformation, + TravelProposalGroupAndMeetingMeetingRoomBasicInformation$inboundSchema, +} from "./travelproposalgroupandmeetingmeetingroombasicinformation.js"; +import { + TravelProposalGroupAndMeetingRunOfHouseRate, + TravelProposalGroupAndMeetingRunOfHouseRate$inboundSchema, +} from "./travelproposalgroupandmeetingrunofhouserate.js"; +import { + TravelProposalGroupAndMeetingTaxAndServiceCharge, + TravelProposalGroupAndMeetingTaxAndServiceCharge$inboundSchema, +} from "./travelproposalgroupandmeetingtaxandservicecharge.js"; + +/** + * Group and meeting information. + */ +export type TravelProposalGroupAndMeeting = { + /** + * Run of house rate information. + */ + runOfHouseRate?: TravelProposalGroupAndMeetingRunOfHouseRate | undefined; + /** + * Day delegate rate information. This represents the costs for hosting meeting at the venue for a half or full day. + */ + dayDelegateRate?: TravelProposalGroupAndMeetingDayDelegateRate | undefined; + /** + * Tax and service charge information. + */ + taxAndServiceCharge?: + | TravelProposalGroupAndMeetingTaxAndServiceCharge + | undefined; + /** + * Meeting room basic information. + */ + meetingRoomBasicInformation?: + | TravelProposalGroupAndMeetingMeetingRoomBasicInformation + | undefined; + /** + * Group and meeting amenity info. + */ + amenity?: TravelProposalGroupAndMeetingAmenity | undefined; + /** + * Break-out room information. + */ + breakOutRoom?: TravelProposalGroupAndMeetingBreakOutRoom | undefined; +}; + +/** @internal */ +export const TravelProposalGroupAndMeeting$inboundSchema: z.ZodType< + TravelProposalGroupAndMeeting, + z.ZodTypeDef, + unknown +> = z.object({ + runOfHouseRate: TravelProposalGroupAndMeetingRunOfHouseRate$inboundSchema + .optional(), + dayDelegateRate: TravelProposalGroupAndMeetingDayDelegateRate$inboundSchema + .optional(), + taxAndServiceCharge: + TravelProposalGroupAndMeetingTaxAndServiceCharge$inboundSchema.optional(), + meetingRoomBasicInformation: + TravelProposalGroupAndMeetingMeetingRoomBasicInformation$inboundSchema + .optional(), + amenity: TravelProposalGroupAndMeetingAmenity$inboundSchema.optional(), + breakOutRoom: TravelProposalGroupAndMeetingBreakOutRoom$inboundSchema + .optional(), +}); + +export function travelProposalGroupAndMeetingFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TravelProposalGroupAndMeeting$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TravelProposalGroupAndMeeting' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/travelproposalgroupandmeetingamenity.ts b/packages/typescript/src/models/components/travelproposalgroupandmeetingamenity.ts new file mode 100644 index 000000000..067827b6e --- /dev/null +++ b/packages/typescript/src/models/components/travelproposalgroupandmeetingamenity.ts @@ -0,0 +1,73 @@ +/* + * 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"; + +/** + * Group and meeting amenity info. + */ +export type TravelProposalGroupAndMeetingAmenity = { + /** + * True indicates a liquid crystal display (LCD) is included in the amenity. + */ + lcdIncluded?: boolean | undefined; + /** + * Price of the liquid crystal display (LCD). + */ + lcdPrice?: number | undefined; + /** + * True indicates a screen is included in the amenity. + */ + screenIncluded?: boolean | undefined; + /** + * Price of the screen. + */ + screenPrice?: number | undefined; + /** + * True indicates high speed internet access is included in the amenity. + */ + hsiaIncluded?: boolean | undefined; + /** + * Price of high speed internet access (HSIA). + */ + hsiaPrice?: number | undefined; + /** + * True indicates parking is included in the amenity. + */ + complementaryParkingIncluded?: boolean | undefined; + /** + * Name of company providing AV equipment. + */ + whatCompanyProvidesAVEquipment?: string | undefined; +}; + +/** @internal */ +export const TravelProposalGroupAndMeetingAmenity$inboundSchema: z.ZodType< + TravelProposalGroupAndMeetingAmenity, + z.ZodTypeDef, + unknown +> = z.object({ + lcdIncluded: z.boolean().optional(), + lcdPrice: z.number().optional(), + screenIncluded: z.boolean().optional(), + screenPrice: z.number().optional(), + hsiaIncluded: z.boolean().optional(), + hsiaPrice: z.number().optional(), + complementaryParkingIncluded: z.boolean().optional(), + whatCompanyProvidesAVEquipment: z.string().optional(), +}); + +export function travelProposalGroupAndMeetingAmenityFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + TravelProposalGroupAndMeetingAmenity$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TravelProposalGroupAndMeetingAmenity' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/travelproposalgroupandmeetingbreakoutroom.ts b/packages/typescript/src/models/components/travelproposalgroupandmeetingbreakoutroom.ts new file mode 100644 index 000000000..89e315936 --- /dev/null +++ b/packages/typescript/src/models/components/travelproposalgroupandmeetingbreakoutroom.ts @@ -0,0 +1,69 @@ +/* + * 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 { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * Break-out room information. + */ +export type TravelProposalGroupAndMeetingBreakOutRoom = { + /** + * True indicates a 10 person room is included. + */ + tenPersonRoomIncluded?: boolean | undefined; + /** + * Price for 10 person room. + */ + price10PersonRoom?: number | undefined; + /** + * True indicates a 25 person room included. + */ + twentyFivePersonRoomIncluded?: boolean | undefined; + /** + * Price for 25 person room. + */ + price25PersonRoom?: number | undefined; + /** + * True indicates there is a permanent board room set up. + */ + permanentBoardRoomSetUp?: boolean | undefined; +}; + +/** @internal */ +export const TravelProposalGroupAndMeetingBreakOutRoom$inboundSchema: z.ZodType< + TravelProposalGroupAndMeetingBreakOutRoom, + z.ZodTypeDef, + unknown +> = z.object({ + "10PersonRoomIncluded": z.boolean().optional(), + price10PersonRoom: z.number().optional(), + "25PersonRoomIncluded": z.boolean().optional(), + price25PersonRoom: z.number().optional(), + permanentBoardRoomSetUp: z.boolean().optional(), +}).transform((v) => { + return remap$(v, { + "10PersonRoomIncluded": "tenPersonRoomIncluded", + "25PersonRoomIncluded": "twentyFivePersonRoomIncluded", + }); +}); + +export function travelProposalGroupAndMeetingBreakOutRoomFromJSON( + jsonString: string, +): SafeParseResult< + TravelProposalGroupAndMeetingBreakOutRoom, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + TravelProposalGroupAndMeetingBreakOutRoom$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'TravelProposalGroupAndMeetingBreakOutRoom' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/travelproposalgroupandmeetingdaydelegaterate.ts b/packages/typescript/src/models/components/travelproposalgroupandmeetingdaydelegaterate.ts new file mode 100644 index 000000000..7b16b028f --- /dev/null +++ b/packages/typescript/src/models/components/travelproposalgroupandmeetingdaydelegaterate.ts @@ -0,0 +1,59 @@ +/* + * 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"; + +/** + * Day delegate rate information. This represents the costs for hosting meeting at the venue for a half or full day. + */ +export type TravelProposalGroupAndMeetingDayDelegateRate = { + /** + * Full day delegate rate for 10 to 50 people. + */ + fullDay10To50People?: number | undefined; + /** + * Full day delegate rate for 51 to 100 people. + */ + fullDay51To100People?: number | undefined; + /** + * Half day delegate rate for 10 to 50 people. + */ + halfDay10To50People?: number | undefined; + /** + * Half day delegate rate for 51 to 100 people. + */ + halfDay51To100People?: number | undefined; +}; + +/** @internal */ +export const TravelProposalGroupAndMeetingDayDelegateRate$inboundSchema: + z.ZodType< + TravelProposalGroupAndMeetingDayDelegateRate, + z.ZodTypeDef, + unknown + > = z.object({ + fullDay10To50People: z.number().optional(), + fullDay51To100People: z.number().optional(), + halfDay10To50People: z.number().optional(), + halfDay51To100People: z.number().optional(), + }); + +export function travelProposalGroupAndMeetingDayDelegateRateFromJSON( + jsonString: string, +): SafeParseResult< + TravelProposalGroupAndMeetingDayDelegateRate, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + TravelProposalGroupAndMeetingDayDelegateRate$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'TravelProposalGroupAndMeetingDayDelegateRate' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/travelproposalgroupandmeetingmeetingroombasicinformation.ts b/packages/typescript/src/models/components/travelproposalgroupandmeetingmeetingroombasicinformation.ts new file mode 100644 index 000000000..95f80dd7f --- /dev/null +++ b/packages/typescript/src/models/components/travelproposalgroupandmeetingmeetingroombasicinformation.ts @@ -0,0 +1,53 @@ +/* + * 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"; + +/** + * Meeting room basic information. + */ +export type TravelProposalGroupAndMeetingMeetingRoomBasicInformation = { + /** + * Size of the largest meeting room. Units of measurement determined by `unitOfMeasurement` field. + */ + largestMeetingRoom?: number | undefined; + /** + * Unit of measurement of the `largestMeetingRoom`'s size. + */ + unitOfMeasurement?: string | undefined; + /** + * Total number of meeting rooms. + */ + meetingRooms?: number | undefined; +}; + +/** @internal */ +export const TravelProposalGroupAndMeetingMeetingRoomBasicInformation$inboundSchema: + z.ZodType< + TravelProposalGroupAndMeetingMeetingRoomBasicInformation, + z.ZodTypeDef, + unknown + > = z.object({ + largestMeetingRoom: z.number().int().optional(), + unitOfMeasurement: z.string().optional(), + meetingRooms: z.number().int().optional(), + }); + +export function travelProposalGroupAndMeetingMeetingRoomBasicInformationFromJSON( + jsonString: string, +): SafeParseResult< + TravelProposalGroupAndMeetingMeetingRoomBasicInformation, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + TravelProposalGroupAndMeetingMeetingRoomBasicInformation$inboundSchema + .parse(JSON.parse(x)), + `Failed to parse 'TravelProposalGroupAndMeetingMeetingRoomBasicInformation' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/travelproposalgroupandmeetingrunofhouserate.ts b/packages/typescript/src/models/components/travelproposalgroupandmeetingrunofhouserate.ts new file mode 100644 index 000000000..29be5bcd5 --- /dev/null +++ b/packages/typescript/src/models/components/travelproposalgroupandmeetingrunofhouserate.ts @@ -0,0 +1,89 @@ +/* + * 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"; + +/** + * Run of house rate information. + */ +export type TravelProposalGroupAndMeetingRunOfHouseRate = { + /** + * Season one run of house rate for 10-50 people. + */ + seasonOne10To50People?: number | undefined; + /** + * Season one run of house rate for 51-100 people. + */ + seasonOne51To100People?: number | undefined; + /** + * Season two run of house rate for 10-50 people. + */ + seasonTwo10To50People?: number | undefined; + /** + * Season two run of house rate for 51-100 people. + */ + seasonTwo51To100People?: number | undefined; + /** + * Season three run of house rate for 10-50 people. + */ + seasonThree10To50People?: number | undefined; + /** + * Season three run of house rate for 51-100 people. + */ + seasonThree51To100People?: number | undefined; + /** + * Season four run of house rate for 10-50 people. + */ + seasonFour10To50People?: number | undefined; + /** + * Season four run of house rate for 51-100 people. + */ + seasonFour51To100People?: number | undefined; + /** + * Season five run of house rate for 10-50 people. + */ + seasonFive10To50People?: number | undefined; + /** + * Season five run of house rate for 51-100 people. + */ + seasonFive51To100People?: number | undefined; +}; + +/** @internal */ +export const TravelProposalGroupAndMeetingRunOfHouseRate$inboundSchema: + z.ZodType< + TravelProposalGroupAndMeetingRunOfHouseRate, + z.ZodTypeDef, + unknown + > = z.object({ + seasonOne10To50People: z.number().optional(), + seasonOne51To100People: z.number().optional(), + seasonTwo10To50People: z.number().optional(), + seasonTwo51To100People: z.number().optional(), + seasonThree10To50People: z.number().optional(), + seasonThree51To100People: z.number().optional(), + seasonFour10To50People: z.number().optional(), + seasonFour51To100People: z.number().optional(), + seasonFive10To50People: z.number().optional(), + seasonFive51To100People: z.number().optional(), + }); + +export function travelProposalGroupAndMeetingRunOfHouseRateFromJSON( + jsonString: string, +): SafeParseResult< + TravelProposalGroupAndMeetingRunOfHouseRate, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + TravelProposalGroupAndMeetingRunOfHouseRate$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'TravelProposalGroupAndMeetingRunOfHouseRate' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/travelproposalgroupandmeetingtaxandservicecharge.ts b/packages/typescript/src/models/components/travelproposalgroupandmeetingtaxandservicecharge.ts new file mode 100644 index 000000000..c25d3ecab --- /dev/null +++ b/packages/typescript/src/models/components/travelproposalgroupandmeetingtaxandservicecharge.ts @@ -0,0 +1,69 @@ +/* + * 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"; + +/** + * Tax and service charge information. + */ +export type TravelProposalGroupAndMeetingTaxAndServiceCharge = { + /** + * Tax amount. + */ + taxAmount?: number | undefined; + /** + * True indicates the tax amount represents a percentage, instead of a monetary value. + */ + taxPercent?: boolean | undefined; + /** + * True indicates the tax included. + */ + taxIncluded?: boolean | undefined; + /** + * Service charge amount. + */ + serviceChargeAmount?: number | undefined; + /** + * True indicates the service charge amount represents a percentage, instead of a monetary value + */ + serviceChargePercent?: boolean | undefined; + /** + * True indicates the service charge is included. + */ + serviceChargeIncluded?: boolean | undefined; +}; + +/** @internal */ +export const TravelProposalGroupAndMeetingTaxAndServiceCharge$inboundSchema: + z.ZodType< + TravelProposalGroupAndMeetingTaxAndServiceCharge, + z.ZodTypeDef, + unknown + > = z.object({ + taxAmount: z.number().optional(), + taxPercent: z.boolean().optional(), + taxIncluded: z.boolean().optional(), + serviceChargeAmount: z.number().optional(), + serviceChargePercent: z.boolean().optional(), + serviceChargeIncluded: z.boolean().optional(), + }); + +export function travelProposalGroupAndMeetingTaxAndServiceChargeFromJSON( + jsonString: string, +): SafeParseResult< + TravelProposalGroupAndMeetingTaxAndServiceCharge, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + TravelProposalGroupAndMeetingTaxAndServiceCharge$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'TravelProposalGroupAndMeetingTaxAndServiceCharge' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/travelproposalpaginatedresponse.ts b/packages/typescript/src/models/components/travelproposalpaginatedresponse.ts index 4d162efb0..ab3d86014 100644 --- a/packages/typescript/src/models/components/travelproposalpaginatedresponse.ts +++ b/packages/typescript/src/models/components/travelproposalpaginatedresponse.ts @@ -6,7 +6,7 @@ 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 { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; import { TravelProposal, TravelProposal$inboundSchema, @@ -19,7 +19,7 @@ export type TravelProposalPaginatedResponse = { /** * Represents pagination information for a collection of resources. */ - paging?: PagingJson | undefined; + paging?: Paging | undefined; /** * Paginated list of business transient proposals. */ @@ -32,7 +32,7 @@ export const TravelProposalPaginatedResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema.optional(), + paging: Paging$inboundSchema.optional(), data: z.array(TravelProposal$inboundSchema).optional(), }); diff --git a/packages/typescript/src/models/components/travelrunofhouseratejson.ts b/packages/typescript/src/models/components/travelrunofhouseratejson.ts deleted file mode 100644 index c1b3ac455..000000000 --- a/packages/typescript/src/models/components/travelrunofhouseratejson.ts +++ /dev/null @@ -1,82 +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"; - -/** - * Run of house rate information. - */ -export type TravelRunOfHouseRateJson = { - /** - * Season one run of house rate for 10-50 people. - */ - seasonOne10To50People?: number | undefined; - /** - * Season one run of house rate for 51-100 people. - */ - seasonOne51To100People?: number | undefined; - /** - * Season two run of house rate for 10-50 people. - */ - seasonTwo10To50People?: number | undefined; - /** - * Season two run of house rate for 51-100 people. - */ - seasonTwo51To100People?: number | undefined; - /** - * Season three run of house rate for 10-50 people. - */ - seasonThree10To50People?: number | undefined; - /** - * Season three run of house rate for 51-100 people. - */ - seasonThree51To100People?: number | undefined; - /** - * Season four run of house rate for 10-50 people. - */ - seasonFour10To50People?: number | undefined; - /** - * Season four run of house rate for 51-100 people. - */ - seasonFour51To100People?: number | undefined; - /** - * Season five run of house rate for 10-50 people. - */ - seasonFive10To50People?: number | undefined; - /** - * Season five run of house rate for 51-100 people. - */ - seasonFive51To100People?: number | undefined; -}; - -/** @internal */ -export const TravelRunOfHouseRateJson$inboundSchema: z.ZodType< - TravelRunOfHouseRateJson, - z.ZodTypeDef, - unknown -> = z.object({ - seasonOne10To50People: z.number().optional(), - seasonOne51To100People: z.number().optional(), - seasonTwo10To50People: z.number().optional(), - seasonTwo51To100People: z.number().optional(), - seasonThree10To50People: z.number().optional(), - seasonThree51To100People: z.number().optional(), - seasonFour10To50People: z.number().optional(), - seasonFour51To100People: z.number().optional(), - seasonFive10To50People: z.number().optional(), - seasonFive51To100People: z.number().optional(), -}); - -export function travelRunOfHouseRateJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TravelRunOfHouseRateJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TravelRunOfHouseRateJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/traveltaxandservicechargejson.ts b/packages/typescript/src/models/components/traveltaxandservicechargejson.ts deleted file mode 100644 index b096b388f..000000000 --- a/packages/typescript/src/models/components/traveltaxandservicechargejson.ts +++ /dev/null @@ -1,62 +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"; - -/** - * Tax and service charge information. - */ -export type TravelTaxAndServiceChargeJson = { - /** - * Tax amount. - */ - taxAmount?: number | undefined; - /** - * True indicates the tax amount represents a percentage, instead of a monetary value. - */ - taxPercent?: boolean | undefined; - /** - * True indicates the tax included. - */ - taxIncluded?: boolean | undefined; - /** - * Service charge amount. - */ - serviceChargeAmount?: number | undefined; - /** - * True indicates the service charge amount represents a percentage, instead of a monetary value - */ - serviceChargePercent?: boolean | undefined; - /** - * True indicates the service charge is included. - */ - serviceChargeIncluded?: boolean | undefined; -}; - -/** @internal */ -export const TravelTaxAndServiceChargeJson$inboundSchema: z.ZodType< - TravelTaxAndServiceChargeJson, - z.ZodTypeDef, - unknown -> = z.object({ - taxAmount: z.number().optional(), - taxPercent: z.boolean().optional(), - taxIncluded: z.boolean().optional(), - serviceChargeAmount: z.number().optional(), - serviceChargePercent: z.boolean().optional(), - serviceChargeIncluded: z.boolean().optional(), -}); - -export function travelTaxAndServiceChargeJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TravelTaxAndServiceChargeJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TravelTaxAndServiceChargeJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/unitposition.ts b/packages/typescript/src/models/components/unitposition.ts new file mode 100644 index 000000000..0f6df0f3d --- /dev/null +++ b/packages/typescript/src/models/components/unitposition.ts @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Unit position used for text box question type. + */ +export const UnitPosition = { + Left: "Left", + Right: "Right", +} as const; +/** + * Unit position used for text box question type. + */ +export type UnitPosition = ClosedEnum; + +/** @internal */ +export const UnitPosition$inboundSchema: z.ZodNativeEnum = + z.nativeEnum(UnitPosition); diff --git a/packages/typescript/src/models/components/unitpositionjson.ts b/packages/typescript/src/models/components/unitpositionjson.ts deleted file mode 100644 index 3cb40b6bb..000000000 --- a/packages/typescript/src/models/components/unitpositionjson.ts +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Unit position used for text box question type. - */ -export const UnitPositionJson = { - Left: "Left", - Right: "Right", -} as const; -/** - * Unit position used for text box question type. - */ -export type UnitPositionJson = ClosedEnum; - -/** @internal */ -export const UnitPositionJson$inboundSchema: z.ZodNativeEnum< - typeof UnitPositionJson -> = z.nativeEnum(UnitPositionJson); diff --git a/packages/typescript/src/models/components/updatedthroughnameproperty.ts b/packages/typescript/src/models/components/updatedthroughnameproperty.ts new file mode 100644 index 000000000..65b053ef5 --- /dev/null +++ b/packages/typescript/src/models/components/updatedthroughnameproperty.ts @@ -0,0 +1,122 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Name of the place where this change was updated through. + */ +export const UpdatedThroughNameProperty = { + AbstractGuestSideAuthorUpdate: "Abstract Guest Side Author Update", + AbstractGuestSideReviewerUpdate: "Abstract Guest Side Reviewer Update", + AbstractGuestSideUser: "Abstract Guest Side User", + AbstractPlannerSide: "Abstract Planner side", + AddressBookProfile: "Address Book Profile", + AmexCardDelete: "Amex Card Delete", + AmexCardInsert: "Amex Card Insert", + AmexCardUpdate: "Amex Card Update", + AnswersReplacedFromAdministration: "Answers Replaced from Administration", + AppointmentGuestSide: "Appointment Guest Side", + AttendeeHub: "Attendee Hub", + BudgetAllocationUpdate: "Budget Allocation Update", + BudgetAttendeeUpdate: "Budget Attendee Update", + BudgetItemCustomFieldAnswersReplacedFromAdministration: + "Budget Item Custom Field Answers Replaced from Administration", + BudgetItemDelete: "Budget Item Delete", + BudgetItemDuplicate: "Budget Item Duplicate", + BudgetItemImport: "Budget Item Import", + BudgetItemInsertViaRESTAPI: "Budget Item Insert via REST API", + BudgetItemInsert: "Budget Item Insert", + BudgetItemSingleUpdate: "Budget Item Single Update", + BudgetItemTemplateImport: "Budget Item Template Import", + BudgetItemUpdateViaRESTAPI: "Budget Item Update via REST API", + BudgetItemsBulkAssignVendor: "Budget Items Bulk Assign Vendor", + BudgetItemsBulkCopyCostLabel: "Budget Items Bulk Copy Cost label", + BudgetItemsBulkCopy: "Budget Items Bulk Copy", + BudgetItemsBulkDelete: "Budget Items Bulk Delete", + BudgetItemsBulkUpdate: "Budget Items Bulk Update", + BudgetVersionUpdate: "Budget Version Update", + BulkUpdateContactFieldAnswer: "Bulk Update Contact Field Answer", + ConcurReconciliationCreateNewBudgetItemForEachExpense: + "Concur Reconciliation - Create New Budget Item For Each Expense", + ConcurReconciliationMapToExistingBudgetItem: + "Concur Reconciliation - Map to Existing Budget Item", + ConfirmOptInEmail: "Confirm Opt In Email", + ContactImport: "Contact Import", + ContactNewMembership: "Contact New Membership", + ContactPendingObfuscation: "Contact Pending Obfuscation", + ContactWebsiteProfileUpdate: "Contact Website Profile Update", + CreatedWithinMeetingRequest: "Created Within Meeting Request", + CreatedFromAPI: "Created from API", + CreatedFromRequestWebsite: "Created from Request Website", + CrowdCompassProfileUpdate: "Crowd Compass Profile Update", + CustomFieldAddedFromAdmin: "Custom Field Added From Admin", + CustomFieldAddedViaRESTAPI: "Custom Field Added via REST API", + CustomFieldDeletedFromAdmin: "Custom Field Deleted From Admin", + CustomFieldModifiedFromAdmin: "Custom Field Modified From Admin", + CustomFieldModifiedViaRESTAPI: "Custom Field Modified via REST API", + DeletedWithinAdministration: "Deleted Within Administration", + DeletedFromMeetingRequestForm: "Deleted from Meeting Request Form", + DeletedFromRequestWebsite: "Deleted from Request Website", + DeletedWithinMeetingRequest: "Deleted within Meeting Request", + EventAutomaticallyCreatedFromMeetingRequest: + "Event Automatically Created from Meeting Request", + EventCreatedFromAPI: "Event Created from API", + EventCreatedFromEventWizard: "Event Created from Event Wizard", + EventGuestSideModification: "Event Guest Side Modification", + EventGuestSideRegistration: "Event Guest Side Registration", + EventImport: "Event Import", + EventModifiedFromMeetingRequestViaAPI: + "Event Modified from Meeting Request via API", + EventModifiedFromMeetingRequest: "Event Modified from Meeting Request", + EventOnsiteRegistration: "Event Onsite Registration", + EventPOST: "Event POST", + EventPlannerContactInformationUpdate: + "Event Planner Contact Information Update", + EventPlannerSideModification: "Event Planner Side Modification", + EventPlannerSideRegistration: "Event Planner Side Registration", + HotelRequestImport: "Hotel Request Import", + MarketoContactImport: "Marketo Contact Import", + ModifiedWithinEvent: "Modified Within Event", + ModifiedWithinMeetingRequest: "Modified Within Meeting Request", + ModifiedFromAPI: "Modified from API", + ModifiedFromEventDocuments: "Modified from Event Documents", + ModifiedFromMeetingRequestViaNotification: + "Modified from Meeting Request via Notification", + ModifiedFromRequestWebsite: "Modified from Request Website", + RegistrationImport: "Registration Import", + RestApi: "REST API", + SalesforceIntegration: "Salesforce Integration", + SurveyAuthorModification: "Survey Author Modification", + SurveyAuthorResponse: "Survey Author Response", + SurveyGuestSideModification: "Survey Guest Side Modification", + SurveyGuestSideResponse: "Survey Guest Side Response", + SurveyPOST: "Survey POST", + TravelCostImportMapToExistingBudgetItem: + "Travel Cost Import - Map to Existing Budget item", + TravelCostImportMapToNewBudgetItem: + "Travel Cost Import - Map to New Budget Item", + VCNTransactionCreateNewBudgetItemForEachTransaction: + "VCN Transaction - Create New Budget Item For Each Transaction", + VCNTransactionMapToMultipleBudgetItem: + "VCN Transaction - Map to Multiple Budget Item", + VCNTransactionMapToSingleBudgetItem: + "VCN Transaction - Map to Single Budget Item", + VCNTransactionRemovedFromBudgetItem: + "VCN Transaction - Removed from Budget Item", + WebServices: "Web Services", + EMarketingProfileUpdate: "eMarketing Profile Update", +} as const; +/** + * Name of the place where this change was updated through. + */ +export type UpdatedThroughNameProperty = ClosedEnum< + typeof UpdatedThroughNameProperty +>; + +/** @internal */ +export const UpdatedThroughNameProperty$inboundSchema: z.ZodNativeEnum< + typeof UpdatedThroughNameProperty +> = z.nativeEnum(UpdatedThroughNameProperty); diff --git a/packages/typescript/src/models/components/updatedthroughnamepropertyjson.ts b/packages/typescript/src/models/components/updatedthroughnamepropertyjson.ts deleted file mode 100644 index 3bdf0dbd5..000000000 --- a/packages/typescript/src/models/components/updatedthroughnamepropertyjson.ts +++ /dev/null @@ -1,122 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Name of the place where this change was updated through. - */ -export const UpdatedThroughNamePropertyJson = { - AbstractGuestSideAuthorUpdate: "Abstract Guest Side Author Update", - AbstractGuestSideReviewerUpdate: "Abstract Guest Side Reviewer Update", - AbstractGuestSideUser: "Abstract Guest Side User", - AbstractPlannerSide: "Abstract Planner side", - AddressBookProfile: "Address Book Profile", - AmexCardDelete: "Amex Card Delete", - AmexCardInsert: "Amex Card Insert", - AmexCardUpdate: "Amex Card Update", - AnswersReplacedFromAdministration: "Answers Replaced from Administration", - AppointmentGuestSide: "Appointment Guest Side", - AttendeeHub: "Attendee Hub", - BudgetAllocationUpdate: "Budget Allocation Update", - BudgetAttendeeUpdate: "Budget Attendee Update", - BudgetItemCustomFieldAnswersReplacedFromAdministration: - "Budget Item Custom Field Answers Replaced from Administration", - BudgetItemDelete: "Budget Item Delete", - BudgetItemDuplicate: "Budget Item Duplicate", - BudgetItemImport: "Budget Item Import", - BudgetItemInsertViaRESTAPI: "Budget Item Insert via REST API", - BudgetItemInsert: "Budget Item Insert", - BudgetItemSingleUpdate: "Budget Item Single Update", - BudgetItemTemplateImport: "Budget Item Template Import", - BudgetItemUpdateViaRESTAPI: "Budget Item Update via REST API", - BudgetItemsBulkAssignVendor: "Budget Items Bulk Assign Vendor", - BudgetItemsBulkCopyCostLabel: "Budget Items Bulk Copy Cost label", - BudgetItemsBulkCopy: "Budget Items Bulk Copy", - BudgetItemsBulkDelete: "Budget Items Bulk Delete", - BudgetItemsBulkUpdate: "Budget Items Bulk Update", - BudgetVersionUpdate: "Budget Version Update", - BulkUpdateContactFieldAnswer: "Bulk Update Contact Field Answer", - ConcurReconciliationCreateNewBudgetItemForEachExpense: - "Concur Reconciliation - Create New Budget Item For Each Expense", - ConcurReconciliationMapToExistingBudgetItem: - "Concur Reconciliation - Map to Existing Budget Item", - ConfirmOptInEmail: "Confirm Opt In Email", - ContactImport: "Contact Import", - ContactNewMembership: "Contact New Membership", - ContactPendingObfuscation: "Contact Pending Obfuscation", - ContactWebsiteProfileUpdate: "Contact Website Profile Update", - CreatedWithinMeetingRequest: "Created Within Meeting Request", - CreatedFromAPI: "Created from API", - CreatedFromRequestWebsite: "Created from Request Website", - CrowdCompassProfileUpdate: "Crowd Compass Profile Update", - CustomFieldAddedFromAdmin: "Custom Field Added From Admin", - CustomFieldAddedViaRESTAPI: "Custom Field Added via REST API", - CustomFieldDeletedFromAdmin: "Custom Field Deleted From Admin", - CustomFieldModifiedFromAdmin: "Custom Field Modified From Admin", - CustomFieldModifiedViaRESTAPI: "Custom Field Modified via REST API", - DeletedWithinAdministration: "Deleted Within Administration", - DeletedFromMeetingRequestForm: "Deleted from Meeting Request Form", - DeletedFromRequestWebsite: "Deleted from Request Website", - DeletedWithinMeetingRequest: "Deleted within Meeting Request", - EventAutomaticallyCreatedFromMeetingRequest: - "Event Automatically Created from Meeting Request", - EventCreatedFromAPI: "Event Created from API", - EventCreatedFromEventWizard: "Event Created from Event Wizard", - EventGuestSideModification: "Event Guest Side Modification", - EventGuestSideRegistration: "Event Guest Side Registration", - EventImport: "Event Import", - EventModifiedFromMeetingRequestViaAPI: - "Event Modified from Meeting Request via API", - EventModifiedFromMeetingRequest: "Event Modified from Meeting Request", - EventOnsiteRegistration: "Event Onsite Registration", - EventPOST: "Event POST", - EventPlannerContactInformationUpdate: - "Event Planner Contact Information Update", - EventPlannerSideModification: "Event Planner Side Modification", - EventPlannerSideRegistration: "Event Planner Side Registration", - HotelRequestImport: "Hotel Request Import", - MarketoContactImport: "Marketo Contact Import", - ModifiedWithinEvent: "Modified Within Event", - ModifiedWithinMeetingRequest: "Modified Within Meeting Request", - ModifiedFromAPI: "Modified from API", - ModifiedFromEventDocuments: "Modified from Event Documents", - ModifiedFromMeetingRequestViaNotification: - "Modified from Meeting Request via Notification", - ModifiedFromRequestWebsite: "Modified from Request Website", - RegistrationImport: "Registration Import", - RestApi: "REST API", - SalesforceIntegration: "Salesforce Integration", - SurveyAuthorModification: "Survey Author Modification", - SurveyAuthorResponse: "Survey Author Response", - SurveyGuestSideModification: "Survey Guest Side Modification", - SurveyGuestSideResponse: "Survey Guest Side Response", - SurveyPOST: "Survey POST", - TravelCostImportMapToExistingBudgetItem: - "Travel Cost Import - Map to Existing Budget item", - TravelCostImportMapToNewBudgetItem: - "Travel Cost Import - Map to New Budget Item", - VCNTransactionCreateNewBudgetItemForEachTransaction: - "VCN Transaction - Create New Budget Item For Each Transaction", - VCNTransactionMapToMultipleBudgetItem: - "VCN Transaction - Map to Multiple Budget Item", - VCNTransactionMapToSingleBudgetItem: - "VCN Transaction - Map to Single Budget Item", - VCNTransactionRemovedFromBudgetItem: - "VCN Transaction - Removed from Budget Item", - WebServices: "Web Services", - EMarketingProfileUpdate: "eMarketing Profile Update", -} as const; -/** - * Name of the place where this change was updated through. - */ -export type UpdatedThroughNamePropertyJson = ClosedEnum< - typeof UpdatedThroughNamePropertyJson ->; - -/** @internal */ -export const UpdatedThroughNamePropertyJson$inboundSchema: z.ZodNativeEnum< - typeof UpdatedThroughNamePropertyJson -> = z.nativeEnum(UpdatedThroughNamePropertyJson); diff --git a/packages/typescript/src/models/components/user.ts b/packages/typescript/src/models/components/user.ts index e435316d9..bab5242b0 100644 --- a/packages/typescript/src/models/components/user.ts +++ b/packages/typescript/src/models/components/user.ts @@ -7,7 +7,7 @@ import { remap as remap$ } from "../../lib/primitives.js"; import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { AddressJson4, AddressJson4$inboundSchema } from "./addressjson4.js"; +import { AddressJson2, AddressJson2$inboundSchema } from "./addressjson2.js"; import { EmailJson1, EmailJson1$inboundSchema } from "./emailjson1.js"; import { GroupJson, GroupJson$inboundSchema } from "./groupjson.js"; import { MetaJson, MetaJson$inboundSchema } from "./metajson.js"; @@ -61,7 +61,7 @@ export type User = { /** * The address of the user. The user can have only one address.
If multiple addresses are provided, only one is accepted and rest are ignored. One address is selected based on the following sequence of criteria: primary, work type, first in the sequence */ - addresses?: Array | undefined; + addresses?: Array | undefined; /** * The type of the user. */ @@ -100,7 +100,7 @@ export const User$inboundSchema: z.ZodType = z emails: z.array(EmailJson1$inboundSchema), title: z.string().optional(), phoneNumbers: z.array(PhoneNumberJson1$inboundSchema).optional(), - addresses: z.array(AddressJson4$inboundSchema).optional(), + addresses: z.array(AddressJson2$inboundSchema).optional(), userType: UserTypeJson$inboundSchema, timezone: z.string().default("America/New_York"), locale: z.string(), diff --git a/packages/typescript/src/models/components/userinput.ts b/packages/typescript/src/models/components/userinput.ts index 4cc9b2142..70e602634 100644 --- a/packages/typescript/src/models/components/userinput.ts +++ b/packages/typescript/src/models/components/userinput.ts @@ -5,10 +5,10 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../../lib/primitives.js"; import { - AddressJson4, - AddressJson4$Outbound, - AddressJson4$outboundSchema, -} from "./addressjson4.js"; + AddressJson2, + AddressJson2$Outbound, + AddressJson2$outboundSchema, +} from "./addressjson2.js"; import { EmailJson1, EmailJson1$Outbound, @@ -67,7 +67,7 @@ export type UserInput = { /** * The address of the user. The user can have only one address.
If multiple addresses are provided, only one is accepted and rest are ignored. One address is selected based on the following sequence of criteria: primary, work type, first in the sequence */ - addresses?: Array | undefined; + addresses?: Array | undefined; /** * The type of the user. */ @@ -99,7 +99,7 @@ export type UserInput$Outbound = { emails: Array; title?: string | undefined; phoneNumbers?: Array | undefined; - addresses?: Array | undefined; + addresses?: Array | undefined; userType: string; timezone: string; locale: string; @@ -120,7 +120,7 @@ export const UserInput$outboundSchema: z.ZodType< emails: z.array(EmailJson1$outboundSchema), title: z.string().optional(), phoneNumbers: z.array(PhoneNumberJson1$outboundSchema).optional(), - addresses: z.array(AddressJson4$outboundSchema).optional(), + addresses: z.array(AddressJson2$outboundSchema).optional(), userType: UserTypeJson$outboundSchema, timezone: z.string().default("America/New_York"), locale: z.string(), diff --git a/packages/typescript/src/models/components/userjson.ts b/packages/typescript/src/models/components/userjson.ts index a010e765c..45880ecad 100644 --- a/packages/typescript/src/models/components/userjson.ts +++ b/packages/typescript/src/models/components/userjson.ts @@ -7,7 +7,7 @@ import { remap as remap$ } from "../../lib/primitives.js"; import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { AddressJson4, AddressJson4$inboundSchema } from "./addressjson4.js"; +import { AddressJson2, AddressJson2$inboundSchema } from "./addressjson2.js"; import { EmailJson1, EmailJson1$inboundSchema } from "./emailjson1.js"; import { GroupJson, GroupJson$inboundSchema } from "./groupjson.js"; import { MetaJson, MetaJson$inboundSchema } from "./metajson.js"; @@ -61,7 +61,7 @@ export type UserJson = { /** * The address of the user. The user can have only one address.
If multiple addresses are provided, only one is accepted and rest are ignored. One address is selected based on the following sequence of criteria: primary, work type, first in the sequence */ - addresses?: Array | undefined; + addresses?: Array | undefined; /** * The type of the user. */ @@ -103,7 +103,7 @@ export const UserJson$inboundSchema: z.ZodType< emails: z.array(EmailJson1$inboundSchema), title: z.string().optional(), phoneNumbers: z.array(PhoneNumberJson1$inboundSchema).optional(), - addresses: z.array(AddressJson4$inboundSchema).optional(), + addresses: z.array(AddressJson2$inboundSchema).optional(), userType: UserTypeJson$inboundSchema, timezone: z.string().default("America/New_York"), locale: z.string(), diff --git a/packages/typescript/src/models/components/video1.ts b/packages/typescript/src/models/components/video1.ts new file mode 100644 index 000000000..717b297f3 --- /dev/null +++ b/packages/typescript/src/models/components/video1.ts @@ -0,0 +1,34 @@ +/* + * 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"; + +/** + * The details of a video + */ +export type Video1 = { + /** + * The unique ID of the video. + */ + id?: string | undefined; +}; + +/** @internal */ +export const Video1$inboundSchema: z.ZodType = z + .object({ + id: z.string().optional(), + }); + +export function video1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Video1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Video1' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/videoassetid.ts b/packages/typescript/src/models/components/videoassetid.ts new file mode 100644 index 000000000..8b683aa8c --- /dev/null +++ b/packages/typescript/src/models/components/videoassetid.ts @@ -0,0 +1,53 @@ +/* + * 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"; + +/** + * Video that this asset was created with. + */ +export type VideoAssetID = { + /** + * The identifier of a video. + */ + id: string; +}; + +/** @internal */ +export const VideoAssetID$inboundSchema: z.ZodType< + VideoAssetID, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), +}); +/** @internal */ +export type VideoAssetID$Outbound = { + id: string; +}; + +/** @internal */ +export const VideoAssetID$outboundSchema: z.ZodType< + VideoAssetID$Outbound, + z.ZodTypeDef, + VideoAssetID +> = z.object({ + id: z.string(), +}); + +export function videoAssetIDToJSON(videoAssetID: VideoAssetID): string { + return JSON.stringify(VideoAssetID$outboundSchema.parse(videoAssetID)); +} +export function videoAssetIDFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => VideoAssetID$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VideoAssetID' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/videoassetidjson.ts b/packages/typescript/src/models/components/videoassetidjson.ts deleted file mode 100644 index b93b90c38..000000000 --- a/packages/typescript/src/models/components/videoassetidjson.ts +++ /dev/null @@ -1,57 +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"; - -/** - * Video that this asset was created with. - */ -export type VideoAssetIdJson = { - /** - * The identifier of a video. - */ - id: string; -}; - -/** @internal */ -export const VideoAssetIdJson$inboundSchema: z.ZodType< - VideoAssetIdJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), -}); -/** @internal */ -export type VideoAssetIdJson$Outbound = { - id: string; -}; - -/** @internal */ -export const VideoAssetIdJson$outboundSchema: z.ZodType< - VideoAssetIdJson$Outbound, - z.ZodTypeDef, - VideoAssetIdJson -> = z.object({ - id: z.string(), -}); - -export function videoAssetIdJsonToJSON( - videoAssetIdJson: VideoAssetIdJson, -): string { - return JSON.stringify( - VideoAssetIdJson$outboundSchema.parse(videoAssetIdJson), - ); -} -export function videoAssetIdJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => VideoAssetIdJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'VideoAssetIdJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/videoclip.ts b/packages/typescript/src/models/components/videoclip.ts new file mode 100644 index 000000000..5c98cf9ce --- /dev/null +++ b/packages/typescript/src/models/components/videoclip.ts @@ -0,0 +1,42 @@ +/* + * 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"; + +/** + * Video clip details. + */ +export type VideoClip = { + /** + * The timecode to start the clip in HH:MM:SS:FF format + */ + start?: string | undefined; + /** + * The timecode to end the clip in HH:MM:SS:FF format. + */ + end?: string | undefined; +}; + +/** @internal */ +export const VideoClip$inboundSchema: z.ZodType< + VideoClip, + z.ZodTypeDef, + unknown +> = z.object({ + start: z.string().optional(), + end: z.string().optional(), +}); + +export function videoClipFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => VideoClip$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VideoClip' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/videoclipjson.ts b/packages/typescript/src/models/components/videoclipjson.ts deleted file mode 100644 index 3fefb537c..000000000 --- a/packages/typescript/src/models/components/videoclipjson.ts +++ /dev/null @@ -1,42 +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"; - -/** - * Video clip details. - */ -export type VideoClipJson = { - /** - * The timecode to start the clip in HH:MM:SS:FF format - */ - start?: string | undefined; - /** - * The timecode to end the clip in HH:MM:SS:FF format. - */ - end?: string | undefined; -}; - -/** @internal */ -export const VideoClipJson$inboundSchema: z.ZodType< - VideoClipJson, - z.ZodTypeDef, - unknown -> = z.object({ - start: z.string().optional(), - end: z.string().optional(), -}); - -export function videoClipJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => VideoClipJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'VideoClipJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/videoerror.ts b/packages/typescript/src/models/components/videoerror.ts new file mode 100644 index 000000000..8645aef6b --- /dev/null +++ b/packages/typescript/src/models/components/videoerror.ts @@ -0,0 +1,46 @@ +/* + * 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 { + VideoErrorCode, + VideoErrorCode$inboundSchema, +} from "./videoerrorcode.js"; + +/** + * This is used to denote the errors for a video entity. + */ +export type VideoError = { + /** + * This is used to denote the error codes for a video entity. + */ + code: VideoErrorCode; + /** + * Error message for the video. Message is a developer convenience never to be used in any context that needs localisation, subject to change at any time. + */ + message: string; +}; + +/** @internal */ +export const VideoError$inboundSchema: z.ZodType< + VideoError, + z.ZodTypeDef, + unknown +> = z.object({ + code: VideoErrorCode$inboundSchema, + message: z.string(), +}); + +export function videoErrorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => VideoError$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VideoError' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/videoerrorcode.ts b/packages/typescript/src/models/components/videoerrorcode.ts new file mode 100644 index 000000000..6c94ae1f9 --- /dev/null +++ b/packages/typescript/src/models/components/videoerrorcode.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"; + +/** + * This is used to denote the error codes for a video entity. + */ +export const VideoErrorCode = { + SixHundred: 600, + SixHundredAndOne: 601, + SixHundredAndTwo: 602, + SixHundredAndThree: 603, + SixHundredAndFour: 604, + SixHundredAndFive: 605, + SixHundredAndSix: 606, + SixHundredAndSeven: 607, + SixHundredAndEight: 608, +} as const; +/** + * This is used to denote the error codes for a video entity. + */ +export type VideoErrorCode = ClosedEnum; + +/** @internal */ +export const VideoErrorCode$inboundSchema: z.ZodNativeEnum< + typeof VideoErrorCode +> = z.nativeEnum(VideoErrorCode); diff --git a/packages/typescript/src/models/components/videoerrorcodejson.ts b/packages/typescript/src/models/components/videoerrorcodejson.ts deleted file mode 100644 index b662e2c88..000000000 --- a/packages/typescript/src/models/components/videoerrorcodejson.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * This is used to denote the error codes for a video entity. - */ -export const VideoErrorCodeJson = { - SixHundred: 600, - SixHundredAndOne: 601, - SixHundredAndTwo: 602, - SixHundredAndThree: 603, - SixHundredAndFour: 604, - SixHundredAndFive: 605, - SixHundredAndSix: 606, - SixHundredAndSeven: 607, - SixHundredAndEight: 608, -} as const; -/** - * This is used to denote the error codes for a video entity. - */ -export type VideoErrorCodeJson = ClosedEnum; - -/** @internal */ -export const VideoErrorCodeJson$inboundSchema: z.ZodNativeEnum< - typeof VideoErrorCodeJson -> = z.nativeEnum(VideoErrorCodeJson); diff --git a/packages/typescript/src/models/components/videoerrorjson.ts b/packages/typescript/src/models/components/videoerrorjson.ts deleted file mode 100644 index b3ff34a10..000000000 --- a/packages/typescript/src/models/components/videoerrorjson.ts +++ /dev/null @@ -1,46 +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 { - VideoErrorCodeJson, - VideoErrorCodeJson$inboundSchema, -} from "./videoerrorcodejson.js"; - -/** - * This is used to denote the errors for a video entity. - */ -export type VideoErrorJson = { - /** - * This is used to denote the error codes for a video entity. - */ - code: VideoErrorCodeJson; - /** - * Error message for the video. Message is a developer convenience never to be used in any context that needs localisation, subject to change at any time. - */ - message: string; -}; - -/** @internal */ -export const VideoErrorJson$inboundSchema: z.ZodType< - VideoErrorJson, - z.ZodTypeDef, - unknown -> = z.object({ - code: VideoErrorCodeJson$inboundSchema, - message: z.string(), -}); - -export function videoErrorJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => VideoErrorJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'VideoErrorJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/videojson.ts b/packages/typescript/src/models/components/videojson.ts deleted file mode 100644 index 5b1173517..000000000 --- a/packages/typescript/src/models/components/videojson.ts +++ /dev/null @@ -1,37 +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"; - -/** - * The details of a video - */ -export type VideoJson = { - /** - * The unique ID of the video. - */ - id?: string | undefined; -}; - -/** @internal */ -export const VideoJson$inboundSchema: z.ZodType< - VideoJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function videoJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => VideoJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'VideoJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/videorendition.ts b/packages/typescript/src/models/components/videorendition.ts new file mode 100644 index 000000000..c8e35fd0c --- /dev/null +++ b/packages/typescript/src/models/components/videorendition.ts @@ -0,0 +1,114 @@ +/* + * 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 { VideoAssetID, VideoAssetID$inboundSchema } from "./videoassetid.js"; +import { + VideoRenditionType, + VideoRenditionType$inboundSchema, +} from "./videorenditiontype.js"; + +/** + * Location where the rendition is stored. + */ +export type VideoRenditionLink = { + /** + * A pre-signed URL with an expiration of 2 hours that provides the location. + */ + href: string; +}; + +/** + * Video rendition + */ +export type VideoRendition = { + /** + * 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; + /** + * Video that this asset was created with. + */ + video?: VideoAssetID | undefined; + /** + * Denotes the type of rendition. + */ + type?: VideoRenditionType | undefined; + /** + * Location where the rendition is stored. + */ + location?: VideoRenditionLink | undefined; + /** + * The video's frame width in pixels. + */ + width?: number | undefined; + /** + * The video's frame height in pixels. + */ + height?: number | undefined; +}; + +/** @internal */ +export const VideoRenditionLink$inboundSchema: z.ZodType< + VideoRenditionLink, + z.ZodTypeDef, + unknown +> = z.object({ + href: z.string(), +}); + +export function videoRenditionLinkFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => VideoRenditionLink$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VideoRenditionLink' from JSON`, + ); +} + +/** @internal */ +export const VideoRendition$inboundSchema: z.ZodType< + VideoRendition, + 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(), + video: VideoAssetID$inboundSchema.optional(), + type: VideoRenditionType$inboundSchema.optional(), + location: z.lazy(() => VideoRenditionLink$inboundSchema).optional(), + width: z.number().int().optional(), + height: z.number().int().optional(), +}); + +export function videoRenditionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => VideoRendition$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VideoRendition' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/videorenditionjson.ts b/packages/typescript/src/models/components/videorenditionjson.ts deleted file mode 100644 index 6e467e7c8..000000000 --- a/packages/typescript/src/models/components/videorenditionjson.ts +++ /dev/null @@ -1,117 +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 { - VideoAssetIdJson, - VideoAssetIdJson$inboundSchema, -} from "./videoassetidjson.js"; -import { - VideoRenditionTypeJson, - VideoRenditionTypeJson$inboundSchema, -} from "./videorenditiontypejson.js"; - -/** - * Location where the rendition is stored. - */ -export type VideoRenditionJsonLink = { - /** - * A pre-signed URL with an expiration of 2 hours that provides the location. - */ - href: string; -}; - -/** - * Video rendition - */ -export type VideoRenditionJson = { - /** - * 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; - /** - * Video that this asset was created with. - */ - video?: VideoAssetIdJson | undefined; - /** - * Denotes the type of rendition. - */ - type?: VideoRenditionTypeJson | undefined; - /** - * Location where the rendition is stored. - */ - location?: VideoRenditionJsonLink | undefined; - /** - * The video's frame width in pixels. - */ - width?: number | undefined; - /** - * The video's frame height in pixels. - */ - height?: number | undefined; -}; - -/** @internal */ -export const VideoRenditionJsonLink$inboundSchema: z.ZodType< - VideoRenditionJsonLink, - z.ZodTypeDef, - unknown -> = z.object({ - href: z.string(), -}); - -export function videoRenditionJsonLinkFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => VideoRenditionJsonLink$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'VideoRenditionJsonLink' from JSON`, - ); -} - -/** @internal */ -export const VideoRenditionJson$inboundSchema: z.ZodType< - VideoRenditionJson, - 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(), - video: VideoAssetIdJson$inboundSchema.optional(), - type: VideoRenditionTypeJson$inboundSchema.optional(), - location: z.lazy(() => VideoRenditionJsonLink$inboundSchema).optional(), - width: z.number().int().optional(), - height: z.number().int().optional(), -}); - -export function videoRenditionJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => VideoRenditionJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'VideoRenditionJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/videorenditionsresponse.ts b/packages/typescript/src/models/components/videorenditionsresponse.ts index 29b44609b..2e6c045b0 100644 --- a/packages/typescript/src/models/components/videorenditionsresponse.ts +++ b/packages/typescript/src/models/components/videorenditionsresponse.ts @@ -7,9 +7,9 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - VideoRenditionJson, - VideoRenditionJson$inboundSchema, -} from "./videorenditionjson.js"; + VideoRendition, + VideoRendition$inboundSchema, +} from "./videorendition.js"; /** * The response from a request to get the list of video renditions. @@ -18,7 +18,7 @@ export type VideoRenditionsResponse = { /** * Collection of video renditions. */ - data?: Array | undefined; + data?: Array | undefined; }; /** @internal */ @@ -27,7 +27,7 @@ export const VideoRenditionsResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - data: z.array(VideoRenditionJson$inboundSchema).optional(), + data: z.array(VideoRendition$inboundSchema).optional(), }); export function videoRenditionsResponseFromJSON( diff --git a/packages/typescript/src/models/components/videorenditiontype.ts b/packages/typescript/src/models/components/videorenditiontype.ts new file mode 100644 index 000000000..1763f10dd --- /dev/null +++ b/packages/typescript/src/models/components/videorenditiontype.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"; + +/** + * Denotes the type of rendition. + */ +export const VideoRenditionType = { + Hls: "Hls", + HlsMaster: "HlsMaster", + Mp4: "Mp4", + Poster: "Poster", + Mp4Preview: "Mp4Preview", + Mp3: "Mp3", + Audio: "Audio", +} as const; +/** + * Denotes the type of rendition. + */ +export type VideoRenditionType = ClosedEnum; + +/** @internal */ +export const VideoRenditionType$inboundSchema: z.ZodNativeEnum< + typeof VideoRenditionType +> = z.nativeEnum(VideoRenditionType); diff --git a/packages/typescript/src/models/components/videorenditiontypejson.ts b/packages/typescript/src/models/components/videorenditiontypejson.ts deleted file mode 100644 index 5e0072495..000000000 --- a/packages/typescript/src/models/components/videorenditiontypejson.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Denotes the type of rendition. - */ -export const VideoRenditionTypeJson = { - Hls: "Hls", - HlsMaster: "HlsMaster", - Mp4: "Mp4", - Poster: "Poster", - Mp4Preview: "Mp4Preview", - Mp3: "Mp3", - Audio: "Audio", -} as const; -/** - * Denotes the type of rendition. - */ -export type VideoRenditionTypeJson = ClosedEnum; - -/** @internal */ -export const VideoRenditionTypeJson$inboundSchema: z.ZodNativeEnum< - typeof VideoRenditionTypeJson -> = z.nativeEnum(VideoRenditionTypeJson); diff --git a/packages/typescript/src/models/components/videosource.ts b/packages/typescript/src/models/components/videosource.ts new file mode 100644 index 000000000..b048856d9 --- /dev/null +++ b/packages/typescript/src/models/components/videosource.ts @@ -0,0 +1,62 @@ +/* + * 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"; + +/** + * Denotes the status of the video in the third-party system. + */ +export const VideoSourceStatus = { + Active: "Active", + Inactive: "Inactive", + Pending: "Pending", + Deleted: "Deleted", +} as const; +/** + * Denotes the status of the video in the third-party system. + */ +export type VideoSourceStatus = ClosedEnum; + +/** + * Source of video. + */ +export type VideoSource = { + /** + * The id of a video in the external system + */ + id?: string | undefined; + /** + * Denotes the status of the video in the third-party system. + */ + status?: VideoSourceStatus | undefined; +}; + +/** @internal */ +export const VideoSourceStatus$inboundSchema: z.ZodNativeEnum< + typeof VideoSourceStatus +> = z.nativeEnum(VideoSourceStatus); + +/** @internal */ +export const VideoSource$inboundSchema: z.ZodType< + VideoSource, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + status: VideoSourceStatus$inboundSchema.optional(), +}); + +export function videoSourceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => VideoSource$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VideoSource' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/videosourcejson.ts b/packages/typescript/src/models/components/videosourcejson.ts deleted file mode 100644 index 3f916e147..000000000 --- a/packages/typescript/src/models/components/videosourcejson.ts +++ /dev/null @@ -1,62 +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 { ClosedEnum } from "../../types/enums.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -/** - * Denotes the status of the video in the third-party system. - */ -export const VideoSourceJsonStatus = { - Active: "Active", - Inactive: "Inactive", - Pending: "Pending", - Deleted: "Deleted", -} as const; -/** - * Denotes the status of the video in the third-party system. - */ -export type VideoSourceJsonStatus = ClosedEnum; - -/** - * Source of video. - */ -export type VideoSourceJson = { - /** - * The id of a video in the external system - */ - id?: string | undefined; - /** - * Denotes the status of the video in the third-party system. - */ - status?: VideoSourceJsonStatus | undefined; -}; - -/** @internal */ -export const VideoSourceJsonStatus$inboundSchema: z.ZodNativeEnum< - typeof VideoSourceJsonStatus -> = z.nativeEnum(VideoSourceJsonStatus); - -/** @internal */ -export const VideoSourceJson$inboundSchema: z.ZodType< - VideoSourceJson, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), - status: VideoSourceJsonStatus$inboundSchema.optional(), -}); - -export function videoSourceJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => VideoSourceJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'VideoSourceJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/videospaginatedresponse.ts b/packages/typescript/src/models/components/videospaginatedresponse.ts index 6f80617d5..a79ceaaea 100644 --- a/packages/typescript/src/models/components/videospaginatedresponse.ts +++ b/packages/typescript/src/models/components/videospaginatedresponse.ts @@ -10,7 +10,7 @@ import { ExistingVideoResponse, ExistingVideoResponse$inboundSchema, } from "./existingvideoresponse.js"; -import { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; /** * The response from a request to get the list of videos. This includes the paging object as well as the collection of videos. @@ -19,7 +19,7 @@ export type VideosPaginatedResponse = { /** * Represents pagination information for a collection of resources. */ - paging: PagingJson; + paging: Paging; /** * Collection of videos. */ @@ -32,7 +32,7 @@ export const VideosPaginatedResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema, + paging: Paging$inboundSchema, data: z.array(ExistingVideoResponse$inboundSchema), }); diff --git a/packages/typescript/src/models/components/videostatus.ts b/packages/typescript/src/models/components/videostatus.ts new file mode 100644 index 000000000..56ac63cdb --- /dev/null +++ b/packages/typescript/src/models/components/videostatus.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"; + +/** + * Denotes the status of a video. Started indicates the request to upload in the API was submitted, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the video. Available indicates the video is available for use. + */ +export const VideoStatus = { + Started: "Started", + Uploaded: "Uploaded", + Scanning: "Scanning", + Scanned: "Scanned", + Syncing: "Syncing", + Rejected: "Rejected", + Error: "Error", + Available: "Available", + Upcoming: "Upcoming", + ReSyncing: "ReSyncing", +} as const; +/** + * Denotes the status of a video. Started indicates the request to upload in the API was submitted, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the video. Available indicates the video is available for use. + */ +export type VideoStatus = ClosedEnum; + +/** @internal */ +export const VideoStatus$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(VideoStatus); diff --git a/packages/typescript/src/models/components/videostatusjson.ts b/packages/typescript/src/models/components/videostatusjson.ts deleted file mode 100644 index 0b4c135be..000000000 --- a/packages/typescript/src/models/components/videostatusjson.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Denotes the status of a video. Started indicates the request to upload in the API was submitted, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the video. Available indicates the video is available for use. - */ -export const VideoStatusJson = { - Started: "Started", - Uploaded: "Uploaded", - Scanning: "Scanning", - Scanned: "Scanned", - Syncing: "Syncing", - Rejected: "Rejected", - Error: "Error", - Available: "Available", - Upcoming: "Upcoming", - ReSyncing: "ReSyncing", -} as const; -/** - * Denotes the status of a video. Started indicates the request to upload in the API was submitted, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Scanning indicates a virus scan is happening in a quarantine location; Scanned indicates a successful virus scan. Syncing indicates a complete virus scan, and now transcoding has begun. Rejected indicates a failed virus scan. Error indicates there was a problem processing the video. Available indicates the video is available for use. - */ -export type VideoStatusJson = ClosedEnum; - -/** @internal */ -export const VideoStatusJson$inboundSchema: z.ZodNativeEnum< - typeof VideoStatusJson -> = z.nativeEnum(VideoStatusJson); diff --git a/packages/typescript/src/models/components/videotexttrack.ts b/packages/typescript/src/models/components/videotexttrack.ts index 8755ab80b..cfa04140f 100644 --- a/packages/typescript/src/models/components/videotexttrack.ts +++ b/packages/typescript/src/models/components/videotexttrack.ts @@ -4,18 +4,18 @@ import * as z from "zod/v3"; import { - VideoAssetIdJson, - VideoAssetIdJson$Outbound, - VideoAssetIdJson$outboundSchema, -} from "./videoassetidjson.js"; + VideoAssetID, + VideoAssetID$Outbound, + VideoAssetID$outboundSchema, +} from "./videoassetid.js"; import { - VideoTextTrackKindJson, - VideoTextTrackKindJson$outboundSchema, -} from "./videotexttrackkindjson.js"; + VideoTextTrackKind, + VideoTextTrackKind$outboundSchema, +} from "./videotexttrackkind.js"; import { - VideoTextTrackStatusJson, - VideoTextTrackStatusJson$outboundSchema, -} from "./videotexttrackstatusjson.js"; + VideoTextTrackStatus, + VideoTextTrackStatus$outboundSchema, +} from "./videotexttrackstatus.js"; /** * Video text track @@ -24,7 +24,7 @@ export type VideoTextTrack = { /** * Video that this asset was created with. */ - video?: VideoAssetIdJson | undefined; + video?: VideoAssetID | undefined; /** * Name of the text track. */ @@ -36,7 +36,7 @@ export type VideoTextTrack = { /** * Denotes the kind of video text track. Only subtitles are supported. */ - kind: VideoTextTrackKindJson; + kind: VideoTextTrackKind; /** * True means that this text track has been published for your client. */ @@ -48,7 +48,7 @@ export type VideoTextTrack = { /** * Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. */ - status?: VideoTextTrackStatusJson | undefined; + status?: VideoTextTrackStatus | undefined; /** * True indicates this text track was generated via machine transcription of the audio. */ @@ -57,7 +57,7 @@ export type VideoTextTrack = { /** @internal */ export type VideoTextTrack$Outbound = { - video?: VideoAssetIdJson$Outbound | undefined; + video?: VideoAssetID$Outbound | undefined; label?: string | undefined; language: string; kind: string; @@ -73,13 +73,13 @@ export const VideoTextTrack$outboundSchema: z.ZodType< z.ZodTypeDef, VideoTextTrack > = z.object({ - video: VideoAssetIdJson$outboundSchema.optional(), + video: VideoAssetID$outboundSchema.optional(), label: z.string().optional(), language: z.string(), - kind: VideoTextTrackKindJson$outboundSchema, + kind: VideoTextTrackKind$outboundSchema, published: z.boolean().default(true), default: z.boolean().default(false), - status: VideoTextTrackStatusJson$outboundSchema.optional(), + status: VideoTextTrackStatus$outboundSchema.optional(), autoGenerated: z.boolean().default(false), }); diff --git a/packages/typescript/src/models/components/videotexttrackkind.ts b/packages/typescript/src/models/components/videotexttrackkind.ts new file mode 100644 index 000000000..e6c281342 --- /dev/null +++ b/packages/typescript/src/models/components/videotexttrackkind.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"; + +/** + * Denotes the kind of video text track. Only subtitles are supported. + */ +export const VideoTextTrackKind = { + Subtitles: "subtitles", + Captions: "captions", + Descriptions: "descriptions", + Chapters: "chapters", + Metadata: "metadata", +} as const; +/** + * Denotes the kind of video text track. Only subtitles are supported. + */ +export type VideoTextTrackKind = ClosedEnum; + +/** @internal */ +export const VideoTextTrackKind$inboundSchema: z.ZodNativeEnum< + typeof VideoTextTrackKind +> = z.nativeEnum(VideoTextTrackKind); +/** @internal */ +export const VideoTextTrackKind$outboundSchema: z.ZodNativeEnum< + typeof VideoTextTrackKind +> = VideoTextTrackKind$inboundSchema; diff --git a/packages/typescript/src/models/components/videotexttrackkindjson.ts b/packages/typescript/src/models/components/videotexttrackkindjson.ts deleted file mode 100644 index 9d5eb7dc4..000000000 --- a/packages/typescript/src/models/components/videotexttrackkindjson.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Denotes the kind of video text track. Only subtitles are supported. - */ -export const VideoTextTrackKindJson = { - Subtitles: "subtitles", - Captions: "captions", - Descriptions: "descriptions", - Chapters: "chapters", - Metadata: "metadata", -} as const; -/** - * Denotes the kind of video text track. Only subtitles are supported. - */ -export type VideoTextTrackKindJson = ClosedEnum; - -/** @internal */ -export const VideoTextTrackKindJson$inboundSchema: z.ZodNativeEnum< - typeof VideoTextTrackKindJson -> = z.nativeEnum(VideoTextTrackKindJson); -/** @internal */ -export const VideoTextTrackKindJson$outboundSchema: z.ZodNativeEnum< - typeof VideoTextTrackKindJson -> = VideoTextTrackKindJson$inboundSchema; diff --git a/packages/typescript/src/models/components/videotexttrackstatus.ts b/packages/typescript/src/models/components/videotexttrackstatus.ts new file mode 100644 index 000000000..e676f398f --- /dev/null +++ b/packages/typescript/src/models/components/videotexttrackstatus.ts @@ -0,0 +1,34 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. + */ +export const VideoTextTrackStatus = { + Started: "Started", + Uploaded: "Uploaded", + Processing: "Processing", + Available: "Available", + Rejected: "Rejected", + Updating: "Updating", + Translating: "Translating", + Transcribing: "Transcribing", + Error: "Error", +} as const; +/** + * Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. + */ +export type VideoTextTrackStatus = ClosedEnum; + +/** @internal */ +export const VideoTextTrackStatus$inboundSchema: z.ZodNativeEnum< + typeof VideoTextTrackStatus +> = z.nativeEnum(VideoTextTrackStatus); +/** @internal */ +export const VideoTextTrackStatus$outboundSchema: z.ZodNativeEnum< + typeof VideoTextTrackStatus +> = VideoTextTrackStatus$inboundSchema; diff --git a/packages/typescript/src/models/components/videotexttrackstatusjson.ts b/packages/typescript/src/models/components/videotexttrackstatusjson.ts deleted file mode 100644 index 0807c5246..000000000 --- a/packages/typescript/src/models/components/videotexttrackstatusjson.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. - */ -export const VideoTextTrackStatusJson = { - Started: "Started", - Uploaded: "Uploaded", - Processing: "Processing", - Available: "Available", - Rejected: "Rejected", - Updating: "Updating", - Translating: "Translating", - Transcribing: "Transcribing", - Error: "Error", -} as const; -/** - * Denotes the status of a video text track (VTT). Started indicates a request to upload in the API, and the URL to upload to was returned. Uploaded indicates that the upload was completed. Available indicates the VTT is available for use. Rejected indicates a failed virus scan. Error indicates there was a problem processing the VTT. - */ -export type VideoTextTrackStatusJson = ClosedEnum< - typeof VideoTextTrackStatusJson ->; - -/** @internal */ -export const VideoTextTrackStatusJson$inboundSchema: z.ZodNativeEnum< - typeof VideoTextTrackStatusJson -> = z.nativeEnum(VideoTextTrackStatusJson); -/** @internal */ -export const VideoTextTrackStatusJson$outboundSchema: z.ZodNativeEnum< - typeof VideoTextTrackStatusJson -> = VideoTextTrackStatusJson$inboundSchema; diff --git a/packages/typescript/src/models/components/videothumbnail.ts b/packages/typescript/src/models/components/videothumbnail.ts new file mode 100644 index 000000000..7fb3c5a75 --- /dev/null +++ b/packages/typescript/src/models/components/videothumbnail.ts @@ -0,0 +1,68 @@ +/* + * 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 { Link, Link$inboundSchema } from "./link.js"; +import { + ThumbnailStatus, + ThumbnailStatus$inboundSchema, +} from "./thumbnailstatus.js"; +import { ThumbnailType, ThumbnailType$inboundSchema } from "./thumbnailtype.js"; + +/** + * Video thumbnail + */ +export type VideoThumbnail = { + /** + * Represents a link to a related resource. + */ + url?: Link | undefined; + /** + * File size in bytes for the thumbnail + */ + size?: number | undefined; + /** + * frame height in pixels + */ + height?: number | undefined; + /** + * frame width in pixels + */ + width?: number | undefined; + /** + * This is used to denote the file type of a thumbnail + */ + type?: ThumbnailType | undefined; + /** + * Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was completed. Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. + */ + status?: ThumbnailStatus | undefined; +}; + +/** @internal */ +export const VideoThumbnail$inboundSchema: z.ZodType< + VideoThumbnail, + z.ZodTypeDef, + unknown +> = z.object({ + url: Link$inboundSchema.optional(), + size: z.number().int().optional(), + height: z.number().int().optional(), + width: z.number().int().optional(), + type: ThumbnailType$inboundSchema.optional(), + status: ThumbnailStatus$inboundSchema.optional(), +}); + +export function videoThumbnailFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => VideoThumbnail$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VideoThumbnail' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/videothumbnailjson.ts b/packages/typescript/src/models/components/videothumbnailjson.ts deleted file mode 100644 index 6d62a8e2b..000000000 --- a/packages/typescript/src/models/components/videothumbnailjson.ts +++ /dev/null @@ -1,71 +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 { OneAllOf, OneAllOf$inboundSchema } from "./oneallof.js"; -import { - ThumbnailStatusJson, - ThumbnailStatusJson$inboundSchema, -} from "./thumbnailstatusjson.js"; -import { - ThumbnailTypeJson, - ThumbnailTypeJson$inboundSchema, -} from "./thumbnailtypejson.js"; - -/** - * Video thumbnail - */ -export type VideoThumbnailJson = { - /** - * Represents a link to a related resource. - */ - url?: OneAllOf | undefined; - /** - * File size in bytes for the thumbnail - */ - size?: number | undefined; - /** - * frame height in pixels - */ - height?: number | undefined; - /** - * frame width in pixels - */ - width?: number | undefined; - /** - * This is used to denote the file type of a thumbnail - */ - type?: ThumbnailTypeJson | undefined; - /** - * Denotes the status of a thumbnail. Started indicates the request to upload in the API was submitted, and the URL you'll upload a thumbnail to was returned. Uploaded indicates that the upload was completed. Processing indicates that a virus scan is in progress. Available indicates the thumbnail passed the scan and is ready for use. Rejected indicates there was a problem processing the thumbnail. - */ - status?: ThumbnailStatusJson | undefined; -}; - -/** @internal */ -export const VideoThumbnailJson$inboundSchema: z.ZodType< - VideoThumbnailJson, - z.ZodTypeDef, - unknown -> = z.object({ - url: OneAllOf$inboundSchema.optional(), - size: z.number().int().optional(), - height: z.number().int().optional(), - width: z.number().int().optional(), - type: ThumbnailTypeJson$inboundSchema.optional(), - status: ThumbnailStatusJson$inboundSchema.optional(), -}); - -export function videoThumbnailJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => VideoThumbnailJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'VideoThumbnailJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/videotype.ts b/packages/typescript/src/models/components/videotype.ts new file mode 100644 index 000000000..f93139882 --- /dev/null +++ b/packages/typescript/src/models/components/videotype.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"; + +/** + * This is used to denote type of a video + */ +export const VideoType = { + Mpg2: "mpg2", + Mov: "mov", + Mp2: "mp2", + Mp4: "mp4", + Mpe: "mpe", + Mpeg: "mpeg", + Mpg: "mpg", + Mpv: "mpv", + Qt: "qt", + Webm: "webm", + Hls: "hls", +} as const; +/** + * This is used to denote type of a video + */ +export type VideoType = ClosedEnum; + +/** @internal */ +export const VideoType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(VideoType); diff --git a/packages/typescript/src/models/components/videotypejson.ts b/packages/typescript/src/models/components/videotypejson.ts deleted file mode 100644 index b4599c22f..000000000 --- a/packages/typescript/src/models/components/videotypejson.ts +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * This is used to denote type of a video - */ -export const VideoTypeJson = { - Mpg2: "mpg2", - Mov: "mov", - Mp2: "mp2", - Mp4: "mp4", - Mpe: "mpe", - Mpeg: "mpeg", - Mpg: "mpg", - Mpv: "mpv", - Qt: "qt", - Webm: "webm", - Hls: "hls", -} as const; -/** - * This is used to denote type of a video - */ -export type VideoTypeJson = ClosedEnum; - -/** @internal */ -export const VideoTypeJson$inboundSchema: z.ZodNativeEnum< - typeof VideoTypeJson -> = z.nativeEnum(VideoTypeJson); diff --git a/packages/typescript/src/models/components/videoview.ts b/packages/typescript/src/models/components/videoview.ts new file mode 100644 index 000000000..fdcded4c2 --- /dev/null +++ b/packages/typescript/src/models/components/videoview.ts @@ -0,0 +1,79 @@ +/* + * 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 { Contact2, Contact2$inboundSchema } from "./contact2.js"; +import { Device1, Device1$inboundSchema } from "./device1.js"; +import { Solution, Solution$inboundSchema } from "./solution.js"; +import { Video1, Video1$inboundSchema } from "./video1.js"; +import { ViewType1, ViewType1$inboundSchema } from "./viewtype1.js"; + +/** + * Details of a single video view + */ +export type VideoView = { + /** + * The contact details who watched a video + */ + contact?: Contact2 | undefined; + /** + * The solution where the video exists. Attendee Hub and Events+ represent two different solutions where the video can be found. + */ + solution?: Solution | undefined; + /** + * The device details used to watched a video. This field has been deprecated. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + device?: Device1 | undefined; + /** + * The details of a video + */ + video?: Video1 | undefined; + /** + * The view type of the video. Videos can be viewed live or as a recording. + */ + type?: ViewType1 | undefined; + /** + * The total duration of the video (in milliseconds). + */ + totalDuration?: number | undefined; + /** + * The total duration of the video watched by the viewer (in milliseconds). + */ + watchDuration?: number | undefined; + /** + * The percentage of the video watched by the viewer. + */ + watchPercentage?: number | undefined; +}; + +/** @internal */ +export const VideoView$inboundSchema: z.ZodType< + VideoView, + z.ZodTypeDef, + unknown +> = z.object({ + contact: Contact2$inboundSchema.optional(), + solution: Solution$inboundSchema.optional(), + device: Device1$inboundSchema.optional(), + video: Video1$inboundSchema.optional(), + type: ViewType1$inboundSchema.optional(), + totalDuration: z.number().int().optional(), + watchDuration: z.number().int().optional(), + watchPercentage: z.number().optional(), +}); + +export function videoViewFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => VideoView$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VideoView' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/videoviewjson.ts b/packages/typescript/src/models/components/videoviewjson.ts deleted file mode 100644 index 2e11a5ac8..000000000 --- a/packages/typescript/src/models/components/videoviewjson.ts +++ /dev/null @@ -1,79 +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 { ContactJson2, ContactJson2$inboundSchema } from "./contactjson2.js"; -import { DeviceJson, DeviceJson$inboundSchema } from "./devicejson.js"; -import { SolutionJson, SolutionJson$inboundSchema } from "./solutionjson.js"; -import { VideoJson, VideoJson$inboundSchema } from "./videojson.js"; -import { ViewTypeJson1, ViewTypeJson1$inboundSchema } from "./viewtypejson1.js"; - -/** - * Details of a single video view - */ -export type VideoViewJson = { - /** - * The contact details who watched a video - */ - contact?: ContactJson2 | undefined; - /** - * The solution where the video exists. Attendee Hub and Events+ represent two different solutions where the video can be found. - */ - solution?: SolutionJson | undefined; - /** - * The device details used to watched a video. This field has been deprecated. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - device?: DeviceJson | undefined; - /** - * The details of a video - */ - video?: VideoJson | undefined; - /** - * The view type of the video. Videos can be viewed live or as a recording. - */ - type?: ViewTypeJson1 | undefined; - /** - * The total duration of the video (in milliseconds). - */ - totalDuration?: number | undefined; - /** - * The total duration of the video watched by the viewer (in milliseconds). - */ - watchDuration?: number | undefined; - /** - * The percentage of the video watched by the viewer. - */ - watchPercentage?: number | undefined; -}; - -/** @internal */ -export const VideoViewJson$inboundSchema: z.ZodType< - VideoViewJson, - z.ZodTypeDef, - unknown -> = z.object({ - contact: ContactJson2$inboundSchema.optional(), - solution: SolutionJson$inboundSchema.optional(), - device: DeviceJson$inboundSchema.optional(), - video: VideoJson$inboundSchema.optional(), - type: ViewTypeJson1$inboundSchema.optional(), - totalDuration: z.number().int().optional(), - watchDuration: z.number().int().optional(), - watchPercentage: z.number().optional(), -}); - -export function videoViewJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => VideoViewJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'VideoViewJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/videoviewspaginatedresponse.ts b/packages/typescript/src/models/components/videoviewspaginatedresponse.ts index 0e7c41f03..c7234b7f1 100644 --- a/packages/typescript/src/models/components/videoviewspaginatedresponse.ts +++ b/packages/typescript/src/models/components/videoviewspaginatedresponse.ts @@ -6,8 +6,8 @@ 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 { PagingJson, PagingJson$inboundSchema } from "./pagingjson.js"; -import { VideoViewJson, VideoViewJson$inboundSchema } from "./videoviewjson.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; +import { VideoView, VideoView$inboundSchema } from "./videoview.js"; /** * Paginated list of video views. @@ -16,11 +16,11 @@ export type VideoViewsPaginatedResponse = { /** * Represents pagination information for a collection of resources. */ - paging?: PagingJson | undefined; + paging?: Paging | undefined; /** * List of unique video views. */ - data?: Array | undefined; + data?: Array | undefined; }; /** @internal */ @@ -29,8 +29,8 @@ export const VideoViewsPaginatedResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - paging: PagingJson$inboundSchema.optional(), - data: z.array(VideoViewJson$inboundSchema).optional(), + paging: Paging$inboundSchema.optional(), + data: z.array(VideoView$inboundSchema).optional(), }); export function videoViewsPaginatedResponseFromJSON( diff --git a/packages/typescript/src/models/components/videowarning.ts b/packages/typescript/src/models/components/videowarning.ts new file mode 100644 index 000000000..a09d1f1a2 --- /dev/null +++ b/packages/typescript/src/models/components/videowarning.ts @@ -0,0 +1,46 @@ +/* + * 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 { + VideoWarningCode, + VideoWarningCode$inboundSchema, +} from "./videowarningcode.js"; + +/** + * This is used to denote the warnings for a video entity. + */ +export type VideoWarning = { + /** + * This is used to denote the warning codes for a video entity. + */ + code: VideoWarningCode; + /** + * Warning message for the video. Message is a developer convenience never to be used in any context that needs localisation, subject to change at any time. + */ + message: string; +}; + +/** @internal */ +export const VideoWarning$inboundSchema: z.ZodType< + VideoWarning, + z.ZodTypeDef, + unknown +> = z.object({ + code: VideoWarningCode$inboundSchema, + message: z.string(), +}); + +export function videoWarningFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => VideoWarning$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VideoWarning' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/videowarningcode.ts b/packages/typescript/src/models/components/videowarningcode.ts new file mode 100644 index 000000000..3fd95e242 --- /dev/null +++ b/packages/typescript/src/models/components/videowarningcode.ts @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * This is used to denote the warning codes for a video entity. + */ +export const VideoWarningCode = { + SevenHundred: 700, +} as const; +/** + * This is used to denote the warning codes for a video entity. + */ +export type VideoWarningCode = ClosedEnum; + +/** @internal */ +export const VideoWarningCode$inboundSchema: z.ZodNativeEnum< + typeof VideoWarningCode +> = z.nativeEnum(VideoWarningCode); diff --git a/packages/typescript/src/models/components/videowarningcodejson.ts b/packages/typescript/src/models/components/videowarningcodejson.ts deleted file mode 100644 index 7db0ed126..000000000 --- a/packages/typescript/src/models/components/videowarningcodejson.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * This is used to denote the warning codes for a video entity. - */ -export const VideoWarningCodeJson = { - SevenHundred: 700, -} as const; -/** - * This is used to denote the warning codes for a video entity. - */ -export type VideoWarningCodeJson = ClosedEnum; - -/** @internal */ -export const VideoWarningCodeJson$inboundSchema: z.ZodNativeEnum< - typeof VideoWarningCodeJson -> = z.nativeEnum(VideoWarningCodeJson); diff --git a/packages/typescript/src/models/components/videowarningjson.ts b/packages/typescript/src/models/components/videowarningjson.ts deleted file mode 100644 index 07de29d6d..000000000 --- a/packages/typescript/src/models/components/videowarningjson.ts +++ /dev/null @@ -1,46 +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 { - VideoWarningCodeJson, - VideoWarningCodeJson$inboundSchema, -} from "./videowarningcodejson.js"; - -/** - * This is used to denote the warnings for a video entity. - */ -export type VideoWarningJson = { - /** - * This is used to denote the warning codes for a video entity. - */ - code: VideoWarningCodeJson; - /** - * Warning message for the video. Message is a developer convenience never to be used in any context that needs localisation, subject to change at any time. - */ - message: string; -}; - -/** @internal */ -export const VideoWarningJson$inboundSchema: z.ZodType< - VideoWarningJson, - z.ZodTypeDef, - unknown -> = z.object({ - code: VideoWarningCodeJson$inboundSchema, - message: z.string(), -}); - -export function videoWarningJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => VideoWarningJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'VideoWarningJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/viewtype1.ts b/packages/typescript/src/models/components/viewtype1.ts new file mode 100644 index 000000000..9fa6dbb8b --- /dev/null +++ b/packages/typescript/src/models/components/viewtype1.ts @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * The view type of the video. Videos can be viewed live or as a recording. + */ +export const ViewType1 = { + Live: "LIVE", + Recording: "RECORDING", +} as const; +/** + * The view type of the video. Videos can be viewed live or as a recording. + */ +export type ViewType1 = ClosedEnum; + +/** @internal */ +export const ViewType1$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(ViewType1); diff --git a/packages/typescript/src/models/components/viewtypejson1.ts b/packages/typescript/src/models/components/viewtypejson1.ts deleted file mode 100644 index 95ba07873..000000000 --- a/packages/typescript/src/models/components/viewtypejson1.ts +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * The view type of the video. Videos can be viewed live or as a recording. - */ -export const ViewTypeJson1 = { - Live: "LIVE", - Recording: "RECORDING", -} as const; -/** - * The view type of the video. Videos can be viewed live or as a recording. - */ -export type ViewTypeJson1 = ClosedEnum; - -/** @internal */ -export const ViewTypeJson1$inboundSchema: z.ZodNativeEnum< - typeof ViewTypeJson1 -> = z.nativeEnum(ViewTypeJson1); diff --git a/packages/typescript/src/models/components/voucher.ts b/packages/typescript/src/models/components/voucher.ts new file mode 100644 index 000000000..f8902fe1e --- /dev/null +++ b/packages/typescript/src/models/components/voucher.ts @@ -0,0 +1,70 @@ +/* + * 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 { + VoucherCapacity, + VoucherCapacity$inboundSchema, +} from "./vouchercapacity.js"; + +/** + * Represents a voucher configured for an event. Event-level vouchers are special codes that can be assigned to invitees or attendees, enabling benefits such as free registration, discounted pricing, or other promotional entitlements during the registration process. + */ +export type Voucher = { + /** + * Voucher ID. + */ + id: string; + /** + * The unique planner-defined code that invitees enter during registration to redeem the voucher. + */ + code: string; + /** + * A description of the voucher and its intended use. + */ + description?: string | undefined; + /** + * The email address that receives a notification whenever the voucher is redeemed. + */ + alertEmailAddress?: string | undefined; + /** + * Represents the capacity details for a voucher, including the total allowed redemptions and the number already redeemed. + */ + capacity?: VoucherCapacity | undefined; + /** + * The identity of the user or system that last modified the voucher. + */ + lastModifiedBy?: string | undefined; + /** + * The ISO 8601 formatted date and time when the voucher was last modified, expressed in UTC. + */ + lastModifiedDate?: Date | undefined; +}; + +/** @internal */ +export const Voucher$inboundSchema: z.ZodType = + z.object({ + id: z.string(), + code: z.string(), + description: z.string().optional(), + alertEmailAddress: z.string().optional(), + capacity: VoucherCapacity$inboundSchema.optional(), + lastModifiedBy: z.string().optional(), + lastModifiedDate: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ).optional(), + }); + +export function voucherFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Voucher$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Voucher' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/vouchercapacity.ts b/packages/typescript/src/models/components/vouchercapacity.ts new file mode 100644 index 000000000..eb35dd829 --- /dev/null +++ b/packages/typescript/src/models/components/vouchercapacity.ts @@ -0,0 +1,42 @@ +/* + * 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"; + +/** + * Represents the capacity details for a voucher, including the total allowed redemptions and the number already redeemed. + */ +export type VoucherCapacity = { + /** + * The maximum number of times the voucher can be redeemed. Default value of -1 indicates unlimited capacity. + */ + total: number; + /** + * The number of times the voucher has already been redeemed. + */ + redeemedCount: number; +}; + +/** @internal */ +export const VoucherCapacity$inboundSchema: z.ZodType< + VoucherCapacity, + z.ZodTypeDef, + unknown +> = z.object({ + total: z.number().int(), + redeemedCount: z.number().int(), +}); + +export function voucherCapacityFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => VoucherCapacity$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VoucherCapacity' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/voucherspaginatedresponse.ts b/packages/typescript/src/models/components/voucherspaginatedresponse.ts new file mode 100644 index 000000000..08e8e8e3a --- /dev/null +++ b/packages/typescript/src/models/components/voucherspaginatedresponse.ts @@ -0,0 +1,44 @@ +/* + * 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 { Paging, Paging$inboundSchema } from "./paging.js"; +import { Voucher, Voucher$inboundSchema } from "./voucher.js"; + +/** + * A paginated response of vouchers. + */ +export type VouchersPaginatedResponse = { + /** + * Represents pagination information for a collection of resources. + */ + paging: Paging; + /** + * Collection of vouchers. + */ + data: Array; +}; + +/** @internal */ +export const VouchersPaginatedResponse$inboundSchema: z.ZodType< + VouchersPaginatedResponse, + z.ZodTypeDef, + unknown +> = z.object({ + paging: Paging$inboundSchema, + data: z.array(Voucher$inboundSchema), +}); + +export function vouchersPaginatedResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => VouchersPaginatedResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VouchersPaginatedResponse' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/weblink.ts b/packages/typescript/src/models/components/weblink.ts index 33a2301ba..c296e59ca 100644 --- a/packages/typescript/src/models/components/weblink.ts +++ b/packages/typescript/src/models/components/weblink.ts @@ -3,11 +3,7 @@ */ import * as z from "zod/v3"; -import { - Event21, - Event21$Outbound, - Event21$outboundSchema, -} from "./event21.js"; +import { Event3, Event3$Outbound, Event3$outboundSchema } from "./event3.js"; import { Exhibitor, Exhibitor$Outbound, @@ -21,7 +17,7 @@ export type Weblink = { /** * The Associated Event. */ - event: Event21; + event: Event3; /** * The Associated Exhibitor. */ @@ -46,7 +42,7 @@ export type Weblink = { /** @internal */ export type Weblink$Outbound = { - event: Event21$Outbound; + event: Event3$Outbound; exhibitor: Exhibitor$Outbound; name: string; url: string; @@ -60,7 +56,7 @@ export const Weblink$outboundSchema: z.ZodType< z.ZodTypeDef, Weblink > = z.object({ - event: Event21$outboundSchema, + event: Event3$outboundSchema, exhibitor: Exhibitor$outboundSchema, name: z.string(), url: z.string(), diff --git a/packages/typescript/src/models/components/weddingdetails1.ts b/packages/typescript/src/models/components/weddingdetails1.ts new file mode 100644 index 000000000..b31e1a9b2 --- /dev/null +++ b/packages/typescript/src/models/components/weddingdetails1.ts @@ -0,0 +1,66 @@ +/* + * 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 { + WeddingPartner, + WeddingPartner$inboundSchema, +} from "./weddingpartner.js"; + +/** + * Wedding details. + */ +export type WeddingDetails1 = { + /** + * Represents wedding partner. + */ + firstPartner?: WeddingPartner | undefined; + /** + * Represents wedding partner. + */ + secondPartner?: WeddingPartner | undefined; + /** + * True indicates ceremony is planned. + */ + ceremony?: boolean | undefined; + /** + * True indicates reception is planned. + */ + reception?: boolean | undefined; + /** + * True indicates farewell brunch is planned. + */ + farewellBrunch?: boolean | undefined; + /** + * True indicates rehearsal dinner is planned. + */ + rehearsalDinner?: boolean | undefined; +}; + +/** @internal */ +export const WeddingDetails1$inboundSchema: z.ZodType< + WeddingDetails1, + z.ZodTypeDef, + unknown +> = z.object({ + firstPartner: WeddingPartner$inboundSchema.optional(), + secondPartner: WeddingPartner$inboundSchema.optional(), + ceremony: z.boolean().optional(), + reception: z.boolean().optional(), + farewellBrunch: z.boolean().optional(), + rehearsalDinner: z.boolean().optional(), +}); + +export function weddingDetails1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => WeddingDetails1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'WeddingDetails1' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/weddingdetailsjson0.ts b/packages/typescript/src/models/components/weddingdetailsjson0.ts deleted file mode 100644 index 0834085ae..000000000 --- a/packages/typescript/src/models/components/weddingdetailsjson0.ts +++ /dev/null @@ -1,66 +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 { - WeddingPartnerJson, - WeddingPartnerJson$inboundSchema, -} from "./weddingpartnerjson.js"; - -/** - * Wedding details. - */ -export type WeddingDetailsJson0 = { - /** - * Represents wedding partner. - */ - firstPartner?: WeddingPartnerJson | undefined; - /** - * Represents wedding partner. - */ - secondPartner?: WeddingPartnerJson | undefined; - /** - * True indicates ceremony is planned. - */ - ceremony?: boolean | undefined; - /** - * True indicates reception is planned. - */ - reception?: boolean | undefined; - /** - * True indicates farewell brunch is planned. - */ - farewellBrunch?: boolean | undefined; - /** - * True indicates rehearsal dinner is planned. - */ - rehearsalDinner?: boolean | undefined; -}; - -/** @internal */ -export const WeddingDetailsJson0$inboundSchema: z.ZodType< - WeddingDetailsJson0, - z.ZodTypeDef, - unknown -> = z.object({ - firstPartner: WeddingPartnerJson$inboundSchema.optional(), - secondPartner: WeddingPartnerJson$inboundSchema.optional(), - ceremony: z.boolean().optional(), - reception: z.boolean().optional(), - farewellBrunch: z.boolean().optional(), - rehearsalDinner: z.boolean().optional(), -}); - -export function weddingDetailsJson0FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => WeddingDetailsJson0$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'WeddingDetailsJson0' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/weddingpartner.ts b/packages/typescript/src/models/components/weddingpartner.ts new file mode 100644 index 000000000..95a2f0183 --- /dev/null +++ b/packages/typescript/src/models/components/weddingpartner.ts @@ -0,0 +1,46 @@ +/* + * 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 { + BrideGroomType, + BrideGroomType$inboundSchema, +} from "./bridegroomtype.js"; + +/** + * Represents wedding partner. + */ +export type WeddingPartner = { + /** + * BrideGroomType + */ + type?: BrideGroomType | undefined; + /** + * Name of the partner of the wedding couple. + */ + name?: string | undefined; +}; + +/** @internal */ +export const WeddingPartner$inboundSchema: z.ZodType< + WeddingPartner, + z.ZodTypeDef, + unknown +> = z.object({ + type: BrideGroomType$inboundSchema.optional(), + name: z.string().optional(), +}); + +export function weddingPartnerFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => WeddingPartner$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'WeddingPartner' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/weddingpartnerjson.ts b/packages/typescript/src/models/components/weddingpartnerjson.ts deleted file mode 100644 index b63f6d9e6..000000000 --- a/packages/typescript/src/models/components/weddingpartnerjson.ts +++ /dev/null @@ -1,46 +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 { - BrideGroomTypeJson0, - BrideGroomTypeJson0$inboundSchema, -} from "./bridegroomtypejson0.js"; - -/** - * Represents wedding partner. - */ -export type WeddingPartnerJson = { - /** - * Bride groom type. - */ - type?: BrideGroomTypeJson0 | undefined; - /** - * Name of the partner of the wedding couple. - */ - name?: string | undefined; -}; - -/** @internal */ -export const WeddingPartnerJson$inboundSchema: z.ZodType< - WeddingPartnerJson, - z.ZodTypeDef, - unknown -> = z.object({ - type: BrideGroomTypeJson0$inboundSchema.optional(), - name: z.string().optional(), -}); - -export function weddingPartnerJsonFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => WeddingPartnerJson$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'WeddingPartnerJson' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/zeroallof7.ts b/packages/typescript/src/models/components/zeroallof7.ts index 7cc95bc74..9aecbfa2f 100644 --- a/packages/typescript/src/models/components/zeroallof7.ts +++ b/packages/typescript/src/models/components/zeroallof7.ts @@ -3,333 +3,42 @@ */ 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 { RFCDate } from "../../types/rfcdate.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { AddressJson, AddressJson$inboundSchema } from "./addressjson.js"; -import { - AddressTypeJson, - AddressTypeJson$inboundSchema, -} from "./addresstypejson.js"; -import { - AttendeeContactTypeJson, - AttendeeContactTypeJson$inboundSchema, -} from "./attendeecontacttypejson.js"; -import { - ComplianceJson, - ComplianceJson$inboundSchema, -} from "./compliancejson.js"; -import { - ContactLinksJson, - ContactLinksJson$inboundSchema, -} from "./contactlinksjson.js"; -import { CustomField, CustomField$inboundSchema } from "./customfield.js"; -import { GenderJson, GenderJson$inboundSchema } from "./genderjson.js"; -import { - MembershipJson, - MembershipJson$inboundSchema, -} from "./membershipjson.js"; -import { OptOutJson, OptOutJson$inboundSchema } from "./optoutjson.js"; -import { PassportJson, PassportJson$inboundSchema } from "./passportjson.js"; /** - * Event ID - */ -export type EventAllOf = { - /** - * ID of the event where the contact was created, applicable when contact snapshot is enabled for an event. - */ - id?: string | undefined; -}; - -/** - * Represents a contact that has been created and has an id. + * Represents an error response for the checkin APIs that includes a unique id. */ export type ZeroAllOf7 = { /** - * 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; - /** - * The first name of the contact. - */ - firstName?: string | undefined; - /** - * The last name of the contact. - */ - lastName?: string | undefined; - /** - * The middle name of the contact. - */ - middleName?: string | undefined; - /** - * The nickname of the contact. - */ - nickname?: string | undefined; - /** - * The email address of the contact. - */ - email?: string | undefined; - /** - * An alternate email address of the contact that can be cc'd on email communications. - */ - ccEmail?: string | undefined; - /** - * The gender of the contact. - */ - gender?: GenderJson | undefined; - /** - * The company/organization the contact belongs to. - */ - company?: string | undefined; - /** - * The designation of the contact, typically an award or credential. - */ - designation?: string | undefined; - /** - * The job title of the contact. - */ - title?: string | undefined; - /** - * Contains details related to the attendee's contact type. - */ - type?: AttendeeContactTypeJson | undefined; - /** - * Contact Membership information - */ - membership?: MembershipJson | undefined; - /** - * The type of address. - */ - primaryAddressType?: AddressTypeJson | undefined; - /** - * Contact address details. - */ - homeAddress?: AddressJson | undefined; - /** - * The phone number of the contact at their place of residence. - */ - homePhone?: string | undefined; - /** - * The fax number of the contact at their place of residence. - */ - homeFax?: string | undefined; - /** - * Contact address details. - */ - workAddress?: AddressJson | undefined; - /** - * The phone number of the contact at their place of work. - */ - workPhone?: string | undefined; - /** - * The fax number of the contact at their place of work. - */ - workFax?: string | undefined; - /** - * Collection of custom fields. + * The unique identifier for the error response. */ - customFields?: Array | undefined; - /** - * This is a ID for the contact in an external system. NOTE: This value is expected to be unique for each contact within an account. Consider adding the external system name as part of the ID. - */ - sourceId?: string | undefined; - /** - * The contact's mobile phone number. - */ - mobilePhone?: string | undefined; - /** - * Detail related to compliance with the contact's privacy rights under various legislation. - */ - compliance?: Array | undefined; - /** - * Denotes what is traditionally a title of an individual. - */ - prefix?: string | undefined; - /** - * The pager number of the contact. - */ - pager?: string | undefined; - /** - * True indicates a contact is deleted. Deleted contacts still have their data retained, but the contact is inactive. - */ - deleted: boolean; - /** - * True indicates a contact is purged. Purged contacts have only partial data retained, and will be permanently deleted in 30 days. - */ - purged: boolean; - /** - * Details of an opt-out for a Contact. - */ - optOut?: OptOutJson | undefined; - /** - * Unique 10-digit identification number issued by the Centers for Medicare and Medicaid Services for health care providers in the United States. - */ - npi?: string | undefined; - /** - * Collection of social media links for the contact. - */ - links?: ContactLinksJson | undefined; - /** - * The date of birth of the contact. - * - * @remarks - * - * Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. - */ - dateOfBirth?: RFCDate | undefined; - /** - * The passport number of the contact. - * - * @remarks - * - * Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. This field has been deprecated. Instead, use the passport.number field. - * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. - */ - passportNumber?: string | undefined; - /** - * This entity represents a contact's passport information. - */ - passport?: PassportJson | undefined; - /** - * The social security number of the contact. - * - * @remarks - * - * Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. - */ - socialSecurityNumber?: string | undefined; - /** - * The national identification number of the contact. - * - * @remarks - * - * Reading and writing of this field require the `event/contacts:read-sensitive` and `event/contacts:write-sensitive` scopes respectively. - */ - nationalIdentificationNumber?: string | undefined; - /** - * The headline of the contact's profile, which summarizes their professional experience and qualities. - */ - headline?: string | undefined; - /** - * A contact's personal website URL. - */ - personalWebsite?: string | undefined; - /** - * A contact's biographical writeup. - */ - biography?: string | undefined; - /** - * Represents the preferred pronouns of a contact. - */ - pronouns?: string | undefined; + id?: string | undefined; /** - * The ID of the contact. + * The HTTP status code representing the error. */ - id?: string | undefined; + code: number; /** - * ID of the parent contact, applicable with contact snapshot. + * A brief description of the error. */ - parentId?: string | undefined; + message: string; /** - * Event ID + * The target resource of the error. */ - event?: EventAllOf | undefined; + target?: string | undefined; }; -/** @internal */ -export const EventAllOf$inboundSchema: z.ZodType< - EventAllOf, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function eventAllOfFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EventAllOf$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EventAllOf' from JSON`, - ); -} - /** @internal */ export const ZeroAllOf7$inboundSchema: z.ZodType< ZeroAllOf7, 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().optional(), - lastName: z.string().optional(), - middleName: z.string().optional(), - nickname: z.string().optional(), - email: z.string().optional(), - ccEmail: z.string().optional(), - gender: GenderJson$inboundSchema.optional(), - company: z.string().optional(), - designation: z.string().optional(), - title: z.string().optional(), - type: AttendeeContactTypeJson$inboundSchema.optional(), - membership: MembershipJson$inboundSchema.optional(), - primaryAddressType: AddressTypeJson$inboundSchema.optional(), - homeAddress: AddressJson$inboundSchema.optional(), - homePhone: z.string().optional(), - homeFax: z.string().optional(), - workAddress: AddressJson$inboundSchema.optional(), - workPhone: z.string().optional(), - workFax: z.string().optional(), - customFields: z.array(CustomField$inboundSchema).optional(), - sourceId: z.string().optional(), - mobilePhone: z.string().optional(), - compliance: z.array(ComplianceJson$inboundSchema).optional(), - prefix: z.string().optional(), - pager: z.string().optional(), - deleted: z.boolean().default(false), - purged: z.boolean().default(false), - optOut: OptOutJson$inboundSchema.optional(), - npi: z.string().optional(), - _links: ContactLinksJson$inboundSchema.optional(), - dateOfBirth: z.string().transform(v => new RFCDate(v)).optional(), - passportNumber: z.string().optional(), - passport: PassportJson$inboundSchema.optional(), - socialSecurityNumber: z.string().optional(), - nationalIdentificationNumber: z.string().optional(), - headline: z.string().optional(), - personalWebsite: z.string().optional(), - biography: z.string().optional(), - pronouns: z.string().optional(), id: z.string().optional(), - parentId: z.string().optional(), - event: z.lazy(() => EventAllOf$inboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - "_links": "links", - }); + code: z.number().int(), + message: z.string(), + target: z.string().optional(), }); export function zeroAllOf7FromJSON( diff --git a/packages/typescript/src/models/components/zeroallof8.ts b/packages/typescript/src/models/components/zeroallof8.ts index 57d8b6f8a..23164b25c 100644 --- a/packages/typescript/src/models/components/zeroallof8.ts +++ b/packages/typescript/src/models/components/zeroallof8.ts @@ -6,27 +6,48 @@ 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 { + HousingEventStatusesJson, + HousingEventStatusesJson$inboundSchema, +} from "./housingeventstatusesjson.js"; +import { VenueJson1, VenueJson1$inboundSchema } from "./venuejson1.js"; /** - * Represents an error response for the checkin APIs that includes a unique id. + * Information about housing event with key information, providing a summarized view. */ export type ZeroAllOf8 = { /** - * The unique identifier for the error response. + * The unique ID of the housing event. */ - id?: string | undefined; + id: number; /** - * The HTTP status code representing the error. + * Event name. */ - code: number; + name: string; /** - * A brief description of the error. + * The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder days. */ - message: string; + start: Date; /** - * The target resource of the error. + * The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. */ - target?: string | undefined; + end: Date; + /** + * The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable business rules, like releasing reserved room blocks back to general availability. + */ + cutOff: Date; + /** + * The event timezone from the Olson specification. + */ + timeZone: string; + /** + * Event venue details. + */ + venue: VenueJson1; + /** + * Housing event status. + */ + status: HousingEventStatusesJson; }; /** @internal */ @@ -35,10 +56,14 @@ export const ZeroAllOf8$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - id: z.string().optional(), - code: z.number().int(), - message: z.string(), - target: z.string().optional(), + id: z.number().int(), + name: z.string(), + start: z.string().datetime({ offset: true }).transform(v => new Date(v)), + end: z.string().datetime({ offset: true }).transform(v => new Date(v)), + cutOff: z.string().datetime({ offset: true }).transform(v => new Date(v)), + timeZone: z.string(), + venue: VenueJson1$inboundSchema, + status: HousingEventStatusesJson$inboundSchema, }); export function zeroAllOf8FromJSON( diff --git a/packages/typescript/src/models/components/zeroallof9.ts b/packages/typescript/src/models/components/zeroallof9.ts deleted file mode 100644 index 9e9a6db92..000000000 --- a/packages/typescript/src/models/components/zeroallof9.ts +++ /dev/null @@ -1,77 +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 { - HousingEventStatusesJson, - HousingEventStatusesJson$inboundSchema, -} from "./housingeventstatusesjson.js"; -import { VenueJson1, VenueJson1$inboundSchema } from "./venuejson1.js"; - -/** - * Information about housing event with key information, providing a summarized view. - */ -export type ZeroAllOf9 = { - /** - * The unique ID of the housing event. - */ - id: number; - /** - * Event name. - */ - name: string; - /** - * The ISO 8601 formatted date and time of the first attended day of the event, excluding shoulder days. - */ - start: Date; - /** - * The ISO 8601 date and time of the last attended day of the event, excluding shoulder days. - */ - end: Date; - /** - * The ISO 8601 formatted date and time of a contractually agreed date which triggers configurable business rules, like releasing reserved room blocks back to general availability. - */ - cutOff: Date; - /** - * The event timezone from the Olson specification. - */ - timeZone: string; - /** - * Event venue details. - */ - venue: VenueJson1; - /** - * Housing event status. - */ - status: HousingEventStatusesJson; -}; - -/** @internal */ -export const ZeroAllOf9$inboundSchema: z.ZodType< - ZeroAllOf9, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.number().int(), - name: z.string(), - start: z.string().datetime({ offset: true }).transform(v => new Date(v)), - end: z.string().datetime({ offset: true }).transform(v => new Date(v)), - cutOff: z.string().datetime({ offset: true }).transform(v => new Date(v)), - timeZone: z.string(), - venue: VenueJson1$inboundSchema, - status: HousingEventStatusesJson$inboundSchema, -}); - -export function zeroAllOf9FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ZeroAllOf9$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ZeroAllOf9' from JSON`, - ); -} diff --git a/packages/typescript/src/models/errors/errorresponse1.ts b/packages/typescript/src/models/errors/errorresponse1.ts index 977b51582..b9f6c654f 100644 --- a/packages/typescript/src/models/errors/errorresponse1.ts +++ b/packages/typescript/src/models/errors/errorresponse1.ts @@ -25,7 +25,7 @@ export type ErrorResponse1Data = { /** * Additional details of cascading error messages. */ - details?: Array | undefined; + details?: Array | undefined; }; /** @@ -43,7 +43,7 @@ export class ErrorResponse1 extends CventSDKError { /** * Additional details of cascading error messages. */ - details?: Array | undefined; + details?: Array | undefined; /** The original data that was passed to this error instance. */ data$: ErrorResponse1Data; @@ -72,7 +72,7 @@ export const ErrorResponse1$inboundSchema: z.ZodType< code: z.number().int(), message: z.string(), target: z.string().optional(), - details: z.array(components.ZeroAllOf1$inboundSchema).optional(), + details: z.array(components.ErrorResponseBase$inboundSchema).optional(), request$: z.instanceof(Request), response$: z.instanceof(Response), body$: z.string(), diff --git a/packages/typescript/src/models/errors/errorresponse2.ts b/packages/typescript/src/models/errors/errorresponse2.ts index c3860e90e..33421a4e3 100644 --- a/packages/typescript/src/models/errors/errorresponse2.ts +++ b/packages/typescript/src/models/errors/errorresponse2.ts @@ -25,7 +25,7 @@ export type ErrorResponse2Data = { /** * Additional details of cascading error messages. */ - details?: Array | undefined; + details?: Array | undefined; }; /** @@ -43,7 +43,7 @@ export class ErrorResponse2 extends CventSDKError { /** * Additional details of cascading error messages. */ - details?: Array | undefined; + details?: Array | undefined; /** The original data that was passed to this error instance. */ data$: ErrorResponse2Data; @@ -72,7 +72,7 @@ export const ErrorResponse2$inboundSchema: z.ZodType< code: z.number().int(), message: z.string(), target: z.string().optional(), - details: z.array(components.ErrorResponseBase$inboundSchema).optional(), + details: z.array(components.ZeroAllOf1$inboundSchema).optional(), request$: z.instanceof(Request), response$: z.instanceof(Response), body$: z.string(), diff --git a/packages/typescript/src/models/errors/errorresponsejson12.ts b/packages/typescript/src/models/errors/errorresponsejson12.ts new file mode 100644 index 000000000..890333235 --- /dev/null +++ b/packages/typescript/src/models/errors/errorresponsejson12.ts @@ -0,0 +1,93 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import * as components from "../components/index.js"; +import { CventSDKError } from "./cventsdkerror.js"; + +/** + * The error response. + */ +export type ErrorResponseJson12Data = { + /** + * The collection of error schemas. + */ + schemas?: Array | undefined; + /** + * Status code for error. + */ + status: number; + /** + * Details of the error. + */ + detail: string; + /** + * This is used to denote the scim type of the error. + */ + scimType?: components.ErrorScimTypeJson | undefined; +}; + +/** + * The error response. + */ +export class ErrorResponseJson12 extends CventSDKError { + /** + * The collection of error schemas. + */ + schemas?: Array | undefined; + /** + * Status code for error. + */ + status: number; + /** + * Details of the error. + */ + detail: string; + /** + * This is used to denote the scim type of the error. + */ + scimType?: components.ErrorScimTypeJson | undefined; + + /** The original data that was passed to this error instance. */ + data$: ErrorResponseJson12Data; + + constructor( + err: ErrorResponseJson12Data, + httpMeta: { response: Response; request: Request; body: string }, + ) { + const message = "message" in err && typeof err.message === "string" + ? err.message + : `API error occurred: ${JSON.stringify(err)}`; + super(message, httpMeta); + this.data$ = err; + if (err.schemas != null) this.schemas = err.schemas; + this.status = err.status; + this.detail = err.detail; + if (err.scimType != null) this.scimType = err.scimType; + + this.name = "ErrorResponseJson12"; + } +} + +/** @internal */ +export const ErrorResponseJson12$inboundSchema: z.ZodType< + ErrorResponseJson12, + z.ZodTypeDef, + unknown +> = z.object({ + schemas: z.array(z.string()).optional(), + status: z.number().int(), + detail: z.string(), + scimType: components.ErrorScimTypeJson$inboundSchema.optional(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), +}) + .transform((v) => { + return new ErrorResponseJson12(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }); diff --git a/packages/typescript/src/models/errors/errorresponsejson17.ts b/packages/typescript/src/models/errors/errorresponsejson17.ts deleted file mode 100644 index b6177f5a1..000000000 --- a/packages/typescript/src/models/errors/errorresponsejson17.ts +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import * as components from "../components/index.js"; -import { CventSDKError } from "./cventsdkerror.js"; - -/** - * The error response. - */ -export type ErrorResponseJson17Data = { - /** - * The collection of error schemas. - */ - schemas?: Array | undefined; - /** - * Status code for error. - */ - status: number; - /** - * Details of the error. - */ - detail: string; - /** - * This is used to denote the scim type of the error. - */ - scimType?: components.ErrorScimTypeJson | undefined; -}; - -/** - * The error response. - */ -export class ErrorResponseJson17 extends CventSDKError { - /** - * The collection of error schemas. - */ - schemas?: Array | undefined; - /** - * Status code for error. - */ - status: number; - /** - * Details of the error. - */ - detail: string; - /** - * This is used to denote the scim type of the error. - */ - scimType?: components.ErrorScimTypeJson | undefined; - - /** The original data that was passed to this error instance. */ - data$: ErrorResponseJson17Data; - - constructor( - err: ErrorResponseJson17Data, - httpMeta: { response: Response; request: Request; body: string }, - ) { - const message = "message" in err && typeof err.message === "string" - ? err.message - : `API error occurred: ${JSON.stringify(err)}`; - super(message, httpMeta); - this.data$ = err; - if (err.schemas != null) this.schemas = err.schemas; - this.status = err.status; - this.detail = err.detail; - if (err.scimType != null) this.scimType = err.scimType; - - this.name = "ErrorResponseJson17"; - } -} - -/** @internal */ -export const ErrorResponseJson17$inboundSchema: z.ZodType< - ErrorResponseJson17, - z.ZodTypeDef, - unknown -> = z.object({ - schemas: z.array(z.string()).optional(), - status: z.number().int(), - detail: z.string(), - scimType: components.ErrorScimTypeJson$inboundSchema.optional(), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new ErrorResponseJson17(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); diff --git a/packages/typescript/src/models/errors/index.ts b/packages/typescript/src/models/errors/index.ts index df0b2018b..e59d9fddd 100644 --- a/packages/typescript/src/models/errors/index.ts +++ b/packages/typescript/src/models/errors/index.ts @@ -6,7 +6,7 @@ export * from "./apierror.js"; export * from "./cventsdkerror.js"; export * from "./errorresponse1.js"; export * from "./errorresponse2.js"; -export * from "./errorresponsejson17.js"; +export * from "./errorresponsejson12.js"; export * from "./httpclienterrors.js"; export * from "./oauth2token.js"; export * from "./responsevalidationerror.js"; diff --git a/packages/typescript/src/models/operations/createcontacts.ts b/packages/typescript/src/models/operations/createcontacts.ts index 1a9deb66b..ab583f679 100644 --- a/packages/typescript/src/models/operations/createcontacts.ts +++ b/packages/typescript/src/models/operations/createcontacts.ts @@ -20,13 +20,13 @@ export type CreateContactsRequest = { /** * List of contacts to be created. Up to **10 contacts** can be created per call. */ - requestBody: Array; + requestBody: Array; }; /** @internal */ export type CreateContactsRequest$Outbound = { upsert: boolean; - RequestBody: Array; + RequestBody: Array; }; /** @internal */ @@ -36,7 +36,7 @@ export const CreateContactsRequest$outboundSchema: z.ZodType< CreateContactsRequest > = z.object({ upsert: z.boolean().default(false), - requestBody: z.array(components.ContactCreateRequestJson$outboundSchema), + requestBody: z.array(components.ContactCreate$outboundSchema), }).transform((v) => { return remap$(v, { requestBody: "RequestBody", diff --git a/packages/typescript/src/models/operations/getattendeemessagesmembers.ts b/packages/typescript/src/models/operations/getattendeemessagesmembers.ts index c2c8a45cf..3900a8da3 100644 --- a/packages/typescript/src/models/operations/getattendeemessagesmembers.ts +++ b/packages/typescript/src/models/operations/getattendeemessagesmembers.ts @@ -26,27 +26,30 @@ export type GetAttendeeMessagesMembersRequest = { */ token?: string | undefined; /** - * Filters are used to narrow the results returned and support a combination of logical and comparison + * Filters narrow results returned based on the criteria you supply. * * @remarks - * operators. * - * The filter adheres to the pattern `filter='field' comparisonType 'value'`. + * Filters follow the pattern `filter='field' operator 'value'`. * - * These are the comparison types that can be used in filter expressions: - * - equals to: eq - * - match any of the values in the list: in + * The following comparison operators are supported: + * - `eq`: equals to + * - `in`: match any of the values in the list * - * The following operators can be used: - * - or + * The following fields are supported: * - * The following fields are filterable: - * * `channel.id` (eq/in) + * | Field | Operators | + * |------------------|------------------------------------| + * | channel.id | `eq`, `in` | * - * Examples: - * - Filter channel IDs: - * * `filter=channel.id in ('production_group_0cb93bab-32d2-4f82-b430-e1911f2348ac', 'production_group_f6dfb98a-c734-487c-97e1-7c7a09a9125f')` - * * `filter=channel.id eq 'production_attendee_616241fd-e97d-48c5-8c4b-4b926f50e8c3' or channel.id eq 'production_group_616241fd-e97d-48c5-8c4b-4b926f50e8c3'` + * The following logical operators are supported for combining filters: + * - `or` + * + * **Examples:** + * + * Filter channel IDs: + * * `filter=channel.id in ('production_group_0cb93bab-32d2-4f82-b430-e1911f2348ac', 'production_group_f6dfb98a-c734-487c-97e1-7c7a09a9125f')` + * * `filter=channel.id eq 'production_attendee_616241fd-e97d-48c5-8c4b-4b926f50e8c3' or channel.id eq 'production_group_616241fd-e97d-48c5-8c4b-4b926f50e8c3'` */ filter: string; }; diff --git a/packages/typescript/src/models/operations/getvideoviews.ts b/packages/typescript/src/models/operations/getvideoviews.ts index d734b1eaa..16fc95796 100644 --- a/packages/typescript/src/models/operations/getvideoviews.ts +++ b/packages/typescript/src/models/operations/getvideoviews.ts @@ -30,24 +30,26 @@ export type GetVideoViewsRequest = { */ token?: string | undefined; /** - * A filter query string narrows search results and supports the combination of logical and comparison operators. + * Use filter query parameters to limit results * * @remarks - * The filter adheres to the pattern filter='field' comparisonType 'value'. - * The filter query supports maximum three fields in filter expression. + * to data that matches your criteria. See + * [Filters](/docs/rest-api/reference/filters) for details. * - * There is one comparison type that can be used in filter expressions: - * * equal: eq + * Supported fields and operators are listed below: * - * The following fields are filterable: - * * contact.id (eq) - * * solution (eq) - * * device.type (eq) [deprecated] - * * device.operatingSystem (eq) [deprecated] - * * video.id (eq) - * * type (eq) + * | Field | Operators | Notes | + * |------------------------|-----------|------------| + * | contact.id | `eq` | | + * | solution | `eq` | | + * | device.type | `eq` | deprecated | + * | device.operatingSystem | `eq` | deprecated | + * | video.id | `eq` | | + * | type | `eq` | | * - * The following operators are available: + * The filter query supports maximum three fields in a filter expression. + * + * The following logical operators are supported for combining filters: * * and */ filter?: string | undefined; diff --git a/packages/typescript/src/models/operations/index.ts b/packages/typescript/src/models/operations/index.ts index 33a8789b7..da95f8ef1 100644 --- a/packages/typescript/src/models/operations/index.ts +++ b/packages/typescript/src/models/operations/index.ts @@ -275,6 +275,9 @@ export * from "./listeventdiscounts.js"; export * from "./listeventemails.js"; export * from "./listeventroleassignment.js"; export * from "./listeventusergroups.js"; +export * from "./listeventvoucherattendees.js"; +export * from "./listeventvouchers.js"; +export * from "./listeventvoucherspostfilter.js"; export * from "./listeventweblinks.js"; export * from "./listexhibitoradmins.js"; export * from "./listexhibitorcategories.js"; diff --git a/packages/typescript/src/models/operations/listdurations.ts b/packages/typescript/src/models/operations/listdurations.ts index ae6bf0534..8aaa9cff2 100644 --- a/packages/typescript/src/models/operations/listdurations.ts +++ b/packages/typescript/src/models/operations/listdurations.ts @@ -50,37 +50,30 @@ export type ListDurationsRequest = { */ sort?: string | undefined; /** - * A filter string passed in the body of the request, narrows search results and supports the combination of logical and comparison operators. + * Use filter query parameters to limit results * * @remarks - * The filter adheres to the pattern filter='field' comparisonType 'value'. + * to data that matches your criteria. See + * [Filters](/docs/rest-api/reference/filters) for details. * - * There are eight comparison types that can be used in filter expressions: - * * equal: eq - * * not equal: ne - * * greater than: gt - * * greater or equal: ge - * * less than: lt - * * less than or equal: le - * * starts with: sw - * * contains a value: contains - * * includes value(s): in + * Supported fields and operators are listed below: * - * The following fields are filterable: - * * id (eq|ne) - * * event.id (eq|ne|in) - * * session.id (eq|ne|in) - * * attendee.id (eq|ne|in) - * * type (contains|eq|ne|in) - * * deleted (eq|ne) - * * firstSeen (eq|ne|lt|le|gt|ge) - * * lastSeen (eq|ne|lt|le|gt|ge) - * * duration (eq|ne|lt|le|gt|ge) - * * created (eq|ne|lt|le|gt|ge) + * | Field | Operators | + * |-------------|------------------------------------| + * | id | `eq`, `ne` | + * | event.id | `eq`, `ne`, `in` | + * | session.id | `eq`, `ne`, `in` | + * | attendee.id | `eq`, `ne`, `in` | + * | type | `contains`, `eq`, `ne`, `in` | + * | deleted | `eq`, `ne` | + * | firstSeen | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | + * | lastSeen | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | + * | duration | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | + * | created | `eq`, `ne`, `lt`, `le`, `gt`, `ge` | * - * The following operators are available: - * * and - * * or + * The following logical operators are supported for combining filters: + * * and + * * or */ filter?: string | undefined; }; diff --git a/packages/typescript/src/models/operations/listeventvoucherattendees.ts b/packages/typescript/src/models/operations/listeventvoucherattendees.ts new file mode 100644 index 000000000..2822fdcb2 --- /dev/null +++ b/packages/typescript/src/models/operations/listeventvoucherattendees.ts @@ -0,0 +1,89 @@ +/* + * 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 ListEventVoucherAttendeesRequest = { + /** + * Unique ID of an event. + */ + id: string; + /** + * Unique ID of a voucher. + */ + voucherId: 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 ListEventVoucherAttendeesResponse = { + result: components.AttendeesPaginatedResponse; +}; + +/** @internal */ +export type ListEventVoucherAttendeesRequest$Outbound = { + id: string; + voucherId: string; + limit: number; + token?: string | undefined; +}; + +/** @internal */ +export const ListEventVoucherAttendeesRequest$outboundSchema: z.ZodType< + ListEventVoucherAttendeesRequest$Outbound, + z.ZodTypeDef, + ListEventVoucherAttendeesRequest +> = z.object({ + id: z.string(), + voucherId: z.string(), + limit: z.number().int().default(100), + token: z.string().optional(), +}); + +export function listEventVoucherAttendeesRequestToJSON( + listEventVoucherAttendeesRequest: ListEventVoucherAttendeesRequest, +): string { + return JSON.stringify( + ListEventVoucherAttendeesRequest$outboundSchema.parse( + listEventVoucherAttendeesRequest, + ), + ); +} + +/** @internal */ +export const ListEventVoucherAttendeesResponse$inboundSchema: z.ZodType< + ListEventVoucherAttendeesResponse, + z.ZodTypeDef, + unknown +> = z.object({ + Result: components.AttendeesPaginatedResponse$inboundSchema, +}).transform((v) => { + return remap$(v, { + "Result": "result", + }); +}); + +export function listEventVoucherAttendeesResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListEventVoucherAttendeesResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListEventVoucherAttendeesResponse' from JSON`, + ); +} diff --git a/packages/typescript/src/models/operations/listeventvouchers.ts b/packages/typescript/src/models/operations/listeventvouchers.ts new file mode 100644 index 000000000..458fe8999 --- /dev/null +++ b/packages/typescript/src/models/operations/listeventvouchers.ts @@ -0,0 +1,128 @@ +/* + * 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 ListEventVouchersRequest = { + /** + * Unique ID of an event. + */ + id: 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; + /** + * Used to query records that have been added or updated before this time point. + */ + before?: Date | undefined; + /** + * Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. + */ + after?: Date | undefined; + /** + * The sort order for the results, expressed as a priority-ordered list of field and direction pairs. + * + * @remarks + * + * There are two sort directions: + * * ascending: ASC + * * descending: DESC + * + * The following fields are sortable: + * * code + * + * When not provided, results are sorted by `code` ascending. + */ + sort?: string | undefined; + /** + * Use filter query parameters to limit results + * + * @remarks + * to data that matches your criteria. See + * [Filters](/docs/rest-api/reference/filters) for details. + * + * Supported fields and operators are listed below: + * + * | Field | Operators | + * |-------|-----------| + * | id | `in` | + * + * No logical operators are available. + */ + filter?: string | undefined; +}; + +export type ListEventVouchersResponse = { + result: components.VouchersPaginatedResponse; +}; + +/** @internal */ +export type ListEventVouchersRequest$Outbound = { + id: string; + limit: number; + token?: string | undefined; + before?: string | undefined; + after?: string | undefined; + sort?: string | undefined; + filter?: string | undefined; +}; + +/** @internal */ +export const ListEventVouchersRequest$outboundSchema: z.ZodType< + ListEventVouchersRequest$Outbound, + z.ZodTypeDef, + ListEventVouchersRequest +> = z.object({ + id: z.string(), + limit: z.number().int().default(100), + token: z.string().optional(), + before: z.date().transform(v => v.toISOString()).optional(), + after: z.date().transform(v => v.toISOString()).optional(), + sort: z.string().optional(), + filter: z.string().optional(), +}); + +export function listEventVouchersRequestToJSON( + listEventVouchersRequest: ListEventVouchersRequest, +): string { + return JSON.stringify( + ListEventVouchersRequest$outboundSchema.parse(listEventVouchersRequest), + ); +} + +/** @internal */ +export const ListEventVouchersResponse$inboundSchema: z.ZodType< + ListEventVouchersResponse, + z.ZodTypeDef, + unknown +> = z.object({ + Result: components.VouchersPaginatedResponse$inboundSchema, +}).transform((v) => { + return remap$(v, { + "Result": "result", + }); +}); + +export function listEventVouchersResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListEventVouchersResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListEventVouchersResponse' from JSON`, + ); +} diff --git a/packages/typescript/src/models/operations/listeventvoucherspostfilter.ts b/packages/typescript/src/models/operations/listeventvoucherspostfilter.ts new file mode 100644 index 000000000..0b45a5544 --- /dev/null +++ b/packages/typescript/src/models/operations/listeventvoucherspostfilter.ts @@ -0,0 +1,121 @@ +/* + * 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 ListEventVouchersPostFilterRequest = { + /** + * Unique ID of an event. + */ + id: 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; + /** + * Used to query records that have been added or updated before this time point. + */ + before?: Date | undefined; + /** + * Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store. + */ + after?: Date | undefined; + /** + * The sort order for the results, expressed as a priority-ordered list of field and direction pairs. + * + * @remarks + * + * There are two sort directions: + * * ascending: ASC + * * descending: DESC + * + * The following fields are sortable: + * * code + * + * When not provided, results are sorted by `code` ascending. + */ + sort?: string | undefined; + /** + * See the `filter` parameter in [List Event Vouchers](#operation/listEventVouchers) for full filtering information. + * + * @remarks + */ + filter?: components.Filter | undefined; +}; + +export type ListEventVouchersPostFilterResponse = { + result: components.VouchersPaginatedResponse; +}; + +/** @internal */ +export type ListEventVouchersPostFilterRequest$Outbound = { + id: string; + limit: number; + token?: string | undefined; + before?: string | undefined; + after?: string | undefined; + sort?: string | undefined; + filter?: components.Filter$Outbound | undefined; +}; + +/** @internal */ +export const ListEventVouchersPostFilterRequest$outboundSchema: z.ZodType< + ListEventVouchersPostFilterRequest$Outbound, + z.ZodTypeDef, + ListEventVouchersPostFilterRequest +> = z.object({ + id: z.string(), + limit: z.number().int().default(100), + token: z.string().optional(), + before: z.date().transform(v => v.toISOString()).optional(), + after: z.date().transform(v => v.toISOString()).optional(), + sort: z.string().optional(), + filter: components.Filter$outboundSchema.optional(), +}); + +export function listEventVouchersPostFilterRequestToJSON( + listEventVouchersPostFilterRequest: ListEventVouchersPostFilterRequest, +): string { + return JSON.stringify( + ListEventVouchersPostFilterRequest$outboundSchema.parse( + listEventVouchersPostFilterRequest, + ), + ); +} + +/** @internal */ +export const ListEventVouchersPostFilterResponse$inboundSchema: z.ZodType< + ListEventVouchersPostFilterResponse, + z.ZodTypeDef, + unknown +> = z.object({ + Result: components.VouchersPaginatedResponse$inboundSchema, +}).transform((v) => { + return remap$(v, { + "Result": "result", + }); +}); + +export function listEventVouchersPostFilterResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + ListEventVouchersPostFilterResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListEventVouchersPostFilterResponse' from JSON`, + ); +} diff --git a/packages/typescript/src/models/operations/listvideos.ts b/packages/typescript/src/models/operations/listvideos.ts index ffb6bf7af..c498d79cc 100644 --- a/packages/typescript/src/models/operations/listvideos.ts +++ b/packages/typescript/src/models/operations/listvideos.ts @@ -30,32 +30,30 @@ export type ListVideosRequest = { */ token?: string | undefined; /** - * A filter query string narrows search results and supports the combination of logical and comparison operators. + * Use filter query parameters to limit results * * @remarks - * The filter adheres to the pattern filter='field' comparisonType 'value'. + * to data that matches your criteria. See + * [Filters](/docs/rest-api/reference/filters) for details. * - * There are six comparison types that can be used in filter expressions: - * * equal: eq - * * not equal: ne - * * greater than: gt - * * greater or equal: ge - * * less than: lt - * * less than or equal: le + * Supported fields and operators are listed below: * - * The following fields are filterable: - * * id (eq|ne) - * * events (eq|ne) - * * sessions (eq|ne) - * * exhibitors (eq|ne) - * * speakers (eq|ne) - * * source.id (eq|ne) - * * status (eq|ne) - * * tags (eq|ne) - * * recording.id (eq|ne) + * | Field | Operators | Notes | + * |--------------|------------|----------------------------------| + * | id | `eq`, `ne` | | + * | events | `eq`, `ne` | | + * | sessions | `eq`, `ne` | | + * | exhibitors | `eq`, `ne` | | + * | speakers | `eq`, `ne` | | + * | source.id | `eq`, `ne` | | + * | status | `eq`, `ne` | | + * | tags | `eq`, `ne` | | + * | recording.id | `eq`, `ne` | | + * | event.id | `eq`, `ne` | deprecated, use `events` instead | * - * The following filterable fields have been deprecated, use the plural form above: - * * event.id (eq|ne) + * The following logical operators are supported for combining filters: + * * and + * * or */ filter?: string | undefined; /** diff --git a/packages/typescript/src/sdk/attendees.ts b/packages/typescript/src/sdk/attendees.ts index 8a2ba64f9..e1f2cdf60 100644 --- a/packages/typescript/src/sdk/attendees.ts +++ b/packages/typescript/src/sdk/attendees.ts @@ -114,7 +114,7 @@ export class Attendees extends ClientSDK { async getAttendeeById( request: operations.GetAttendeeByIdRequest, options?: RequestOptions, - ): Promise { + ): Promise { return unwrapAsync(attendeesGetAttendeeById( this, request, @@ -133,7 +133,7 @@ export class Attendees extends ClientSDK { async updateAttendee( request: operations.UpdateAttendeeRequest, options?: RequestOptions, - ): Promise { + ): Promise { return unwrapAsync(attendeesUpdateAttendee( this, request, diff --git a/packages/typescript/src/sdk/contacts.ts b/packages/typescript/src/sdk/contacts.ts index e22f94b07..62a15c3fc 100644 --- a/packages/typescript/src/sdk/contacts.ts +++ b/packages/typescript/src/sdk/contacts.ts @@ -253,7 +253,7 @@ export class Contacts extends ClientSDK { async updateContacts( request: Array, options?: RequestOptions, - ): Promise> { + ): Promise> { return unwrapAsync(contactsUpdateContacts( this, request, @@ -278,7 +278,7 @@ export class Contacts extends ClientSDK { async patchContacts( request: Array, options?: RequestOptions, - ): Promise> { + ): Promise> { return unwrapAsync(contactsPatchContacts( this, request, @@ -298,7 +298,7 @@ export class Contacts extends ClientSDK { async createContacts( request: operations.CreateContactsRequest, options?: RequestOptions, - ): Promise> { + ): Promise> { return unwrapAsync(contactsCreateContacts( this, request, diff --git a/packages/typescript/src/sdk/events.ts b/packages/typescript/src/sdk/events.ts index 00ab773a1..271ba02b9 100644 --- a/packages/typescript/src/sdk/events.ts +++ b/packages/typescript/src/sdk/events.ts @@ -33,6 +33,9 @@ import { eventsListDonationItems } from "../funcs/eventsListDonationItems.js"; import { eventsListDonationItemsPostFilter } from "../funcs/eventsListDonationItemsPostFilter.js"; import { eventsListEventEmails } from "../funcs/eventsListEventEmails.js"; import { eventsListEventUserGroups } from "../funcs/eventsListEventUserGroups.js"; +import { eventsListEventVoucherAttendees } from "../funcs/eventsListEventVoucherAttendees.js"; +import { eventsListEventVouchers } from "../funcs/eventsListEventVouchers.js"; +import { eventsListEventVouchersPostFilter } from "../funcs/eventsListEventVouchersPostFilter.js"; import { eventsListFeeItems } from "../funcs/eventsListFeeItems.js"; import { eventsListMembershipItems } from "../funcs/eventsListMembershipItems.js"; import { eventsListMembershipItemsPostFilter } from "../funcs/eventsListMembershipItemsPostFilter.js"; @@ -861,6 +864,69 @@ export class Events extends ClientSDK { )); } + /** + * List Event Vouchers + * + * @remarks + * Retrieves a paginated list of vouchers set up for a specific event. + */ + async listEventVouchers( + request: operations.ListEventVouchersRequest, + options?: RequestOptions, + ): Promise< + PageIterator + > { + return unwrapResultIterator(eventsListEventVouchers( + this, + request, + options, + )); + } + + /** + * List Event Vouchers (Filter) + * + * @remarks + * Retrieves a paginated list of vouchers configured for an event using a filter provided in the body of the request. + */ + async listEventVouchersPostFilter( + request: operations.ListEventVouchersPostFilterRequest, + options?: RequestOptions, + ): Promise< + PageIterator< + operations.ListEventVouchersPostFilterResponse, + { cursor: string } + > + > { + return unwrapResultIterator(eventsListEventVouchersPostFilter( + this, + request, + options, + )); + } + + /** + * List Voucher Attendees + * + * @remarks + * Retrieves a paginated list of attendees who have redeemed a specific voucher for the given event. + */ + async listEventVoucherAttendees( + request: operations.ListEventVoucherAttendeesRequest, + options?: RequestOptions, + ): Promise< + PageIterator< + operations.ListEventVoucherAttendeesResponse, + { cursor: string } + > + > { + return unwrapResultIterator(eventsListEventVoucherAttendees( + this, + request, + options, + )); + } + /** * Update Quantity Item * diff --git a/packages/typescript/src/sdk/speakers.ts b/packages/typescript/src/sdk/speakers.ts index f4bccee13..acc9646fe 100644 --- a/packages/typescript/src/sdk/speakers.ts +++ b/packages/typescript/src/sdk/speakers.ts @@ -153,7 +153,7 @@ export class Speakers extends ClientSDK { * @see {@link #oauth2-auth-code-planner-admin} - More about OAuth2 authorization code support for administrators */ async addSpeakerCategory( - request: components.SpeakerCategory, + request: components.SpeakerCategory2, options?: RequestOptions, ): Promise { return unwrapAsync(speakersAddSpeakerCategory( diff --git a/packages/typescript/src/sdk/travelrfps.ts b/packages/typescript/src/sdk/travelrfps.ts index 400c7fbf5..2dbb9487b 100644 --- a/packages/typescript/src/sdk/travelrfps.ts +++ b/packages/typescript/src/sdk/travelrfps.ts @@ -162,7 +162,7 @@ export class TravelRFPs extends ClientSDK { async getTravelProposalBid( request: operations.GetTravelProposalBidRequest, options?: RequestOptions, - ): Promise { + ): Promise { return unwrapAsync(travelRFPsGetTravelProposalBid( this, request,